From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 00:14:18 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 32B6416A400 for ; Sun, 4 Mar 2007 00:14:18 +0000 (UTC) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (mail.freestylefund.com [166.70.252.250]) by mx1.freebsd.org (Postfix) with ESMTP id 19AFD13C441 for ; Sun, 4 Mar 2007 00:14:18 +0000 (UTC) (envelope-from chad@shire.net) Received: from [67.171.127.191] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.51) id 1HNdoD-0003HZ-Ox; Sat, 03 Mar 2007 16:38:37 -0700 In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <9BDC76ED-A186-40CA-850D-09BF77A395DF@shire.net> Content-Transfer-Encoding: 7bit From: "Chad Leigh -- Shire.Net LLC" Date: Sat, 3 Mar 2007 16:38:36 -0700 To: freebsd-java@freebsd.org, User Questions X-Mailer: Apple Mail (2.752.2) X-SA-Exim-Connect-IP: 67.171.127.191 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false Cc: "Chad Leigh -- Shire.Net LLC" Subject: Re: building jdk15 in a jail -- __mb_cur_max Undefined Symbol X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 00:14:18 -0000 On Mar 3, 2007, at 4:01 PM, Chad Leigh -- Shire.Net LLC wrote: > Hi > > I am trying to build jdk15 inside my jail with PREFIX set to /usr/ > public (At one time I successfully got jdk 1.4 to build after much > hacking) > > I have the option for builing inside a jail set. We get to the > point where the linux java is installed and it is actually building > the jdk > > # Start of jdk build > /libexec/ld-elf.so.1: /usr/local/lib/libiconv.so.3: Undefined > symbol "__mb_cur_max" > *** Error code 1 > > Stop in /usr/ports/java/jdk15. > # > > I am not exactly sure what it is doing at this point in order to > hack round it. libiconv a fresh install from ports > Turns out that the issue is that gmake cannot run. I have not figured out why yet, having removed and reinstalled libiconv and gmake and getting the same error. But it is not java related. I'll redirect this to -questions If anyone has an idea on why gmake would fail as above on a fresh install, 6.2-RELEASE from a day or two ago, I would appreciate it. Please CC me as I am not currently subscribed to -questions, though I am on -java Sorry Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 00:18:21 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BBEFF16A404 for ; Sun, 4 Mar 2007 00:18:21 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 847A313C428 for ; Sun, 4 Mar 2007 00:18:21 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (localhost [127.0.0.1]) by mail.potentialtech.com (Postfix) with ESMTP id 9A4DBEBC5C; Sat, 3 Mar 2007 19:18:20 -0500 (EST) Received: from www.potentialtech.com (localhost [127.0.0.1]) by mail.potentialtech.com (Postfix) with ESMTP; Sat, 3 Mar 2007 19:18:20 -0500 (EST) Received: from 198.144.43.23 (SquirrelMail authenticated user wmoran) by www.potentialtech.com with HTTP; Sun, 4 Mar 2007 00:18:20 -0000 (UTC) Message-ID: <4634.198.144.43.23.1172967500.squirrel@www.potentialtech.com> In-Reply-To: <9BDC76ED-A186-40CA-850D-09BF77A395DF@shire.net> References: <9BDC76ED-A186-40CA-850D-09BF77A395DF@shire.net> Date: Sun, 4 Mar 2007 00:18:20 -0000 (UTC) From: "Bill Moran" To: "Chad Leigh -- Shire.Net LLC" User-Agent: SquirrelMail/1.4.9a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: ClamAV using ClamSMTP Cc: User Questions , "Chad Leigh -- Shire.Net LLC" , freebsd-java@freebsd.org Subject: Re: building jdk15 in a jail -- __mb_cur_max Undefined Symbol X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 00:18:21 -0000 > On Mar 3, 2007, at 4:01 PM, Chad Leigh -- Shire.Net LLC wrote: > >> Hi >> >> I am trying to build jdk15 inside my jail with PREFIX set to /usr/ >> public (At one time I successfully got jdk 1.4 to build after much >> hacking) >> >> I have the option for builing inside a jail set. We get to the >> point where the linux java is installed and it is actually building >> the jdk >> >> # Start of jdk build >> /libexec/ld-elf.so.1: /usr/local/lib/libiconv.so.3: Undefined >> symbol "__mb_cur_max" >> *** Error code 1 >> >> Stop in /usr/ports/java/jdk15. >> # >> >> I am not exactly sure what it is doing at this point in order to >> hack round it. libiconv a fresh install from ports >> > > Turns out that the issue is that gmake cannot run. I have not > figured out why yet, having removed and reinstalled libiconv and > gmake and getting the same error. But it is not java related. > > I'll redirect this to -questions > > If anyone has an idea on why gmake would fail as above on a fresh > install, 6.2-RELEASE from a day or two ago, I would appreciate it. > Please CC me as I am not currently subscribed to -questions, though I > am on -java Not a direct answer to your question, but when I needed to do this a few months ago, I just did a "make package" on my workstation, then shipped the package up to the jail system and installed it with pkg_add. Doesn't solve the problem, but if you're in a pinch, it's a handy workaround. -- Bill Moran http://www.potentialtech.com From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 00:57:58 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2203D16A400 for ; Sun, 4 Mar 2007 00:57:58 +0000 (UTC) (envelope-from patfbsds+questions@davenulle.org) Received: from smtp.lamaiziere.net (lamaiziere.net [213.41.172.177]) by mx1.freebsd.org (Postfix) with ESMTP id CCDB713C494 for ; Sun, 4 Mar 2007 00:57:57 +0000 (UTC) (envelope-from patfbsds+questions@davenulle.org) Received: from [192.168.0.59] (unknown [192.168.0.59]) by smtp.lamaiziere.net (Postfix) with ESMTP id 92925A6C76 for ; Sun, 4 Mar 2007 01:57:56 +0100 (CET) From: Patrick =?iso-8859-1?q?Lamaizi=E8re?= Organization: >/dave/nulle To: freebsd-questions@freebsd.org Date: Sun, 4 Mar 2007 01:57:54 +0100 User-Agent: KMail/1.9.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703040157.55118.patfbsds+questions@davenulle.org> Subject: [portupgrade] pkgdb -L X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 00:57:58 -0000 Hello, I'm asking about the goal of the new option -L of pkgdb : -L --fix-lost Check and restore lost dependencies against the ports tree. What is a lost dependency ? # pkgdb -L Look for lost dependencies: ImageMagick-6.3.2.0: found print/ghostscript-afpl -> Fixed. ORBit2-2.14.6: ok [...] But i use ghostscript-gnu-7.07_15 So : # pkgdb -F ---> Checking the package registry database Stale dependency: ImageMagick-6.3.2.0 -> ghostscript-afpl-8.54,1 (print/ghostscript-afpl): ghostscript-gnu-7.07_15 (score:70%) ? ([y]es/[n]o/[a]ll) [a] And then i've got the same lost dependency again. I do not understand the goal and the utility of this option -L, a sample ? Thanks, regards. From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 01:45:13 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 039F616A400 for ; Sun, 4 Mar 2007 01:45:13 +0000 (UTC) (envelope-from bsd-unix@earthlink.net) Received: from pop-satin.atl.sa.earthlink.net (pop-satin.atl.sa.earthlink.net [207.69.195.63]) by mx1.freebsd.org (Postfix) with ESMTP id D484313C491 for ; Sun, 4 Mar 2007 01:45:12 +0000 (UTC) (envelope-from bsd-unix@earthlink.net) Received: from fl-71-54-28-212.dhcp.embarqhsd.net ([71.54.28.212] helo=kt.weeeble.com) by pop-satin.atl.sa.earthlink.net with smtp (Exim 3.36 #1) id 1HNfmc-0007KW-00; Sat, 03 Mar 2007 20:45:06 -0500 Date: Sat, 3 Mar 2007 20:45:03 -0500 From: Randy Pratt To: Patrick =?ISO-8859-1?Q?Lamaizi=E8re?= Message-Id: <20070303204503.08692af8.bsd-unix@earthlink.net> In-Reply-To: <200703040157.55118.patfbsds+questions@davenulle.org> References: <200703040157.55118.patfbsds+questions@davenulle.org> X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.9; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: [portupgrade] pkgdb -L X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 01:45:13 -0000 On Sun, 4 Mar 2007 01:57:54 +0100 Patrick Lamaizi=E8re wrote: > Hello, >=20 > I'm asking about the goal of the new option -L of pkgdb : > -L --fix-lost Check and restore lost dependencies against the ports tree. >=20 > What is a lost dependency ? I hope I can explain this right. Its a situation where a dependency was marked as "DELETED" in /var/db/pkg/*/+CONTENTS for some versions of portupgrade (a bug). Using the -L forces a recheck of each ports dependencies and updates /var/db/pkg/*/+CONTENTS in accordance with the port skeleton(s). See this thread for more information: http://docs.freebsd.org/cgi/mid.cgi?20070205001114.b4f77f86.bsd-unix > # pkgdb -L > Look for lost dependencies: > ImageMagick-6.3.2.0: found > print/ghostscript-afpl > -> Fixed. > ORBit2-2.14.6: ok > [...] >=20 > But i use ghostscript-gnu-7.07_15 >=20 > So : > # pkgdb -F > ---> Checking the package registry database > Stale dependency: ImageMagick-6.3.2.0 -> ghostscript-afpl-8.54,1=20 > (print/ghostscript-afpl): > ghostscript-gnu-7.07_15 (score:70%) ? ([y]es/[n]o/[a]ll) [a] >=20 > And then i've got the same lost dependency again. >=20 > I do not understand the goal and the utility of this option -L, a sample ? I had the same issue where different ports wanted different versions of ghostscript but both versions will work (for me) in the applications I have installed. It was an easy matter using pkgtools.conf to specify that portupgrade use a particular version with the ALT_PKGDEP variable. This is the case mentioned in /usr/ports/UPDATING: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 20070301: AFFECTS: users of ports-mgmt/portupgrade* AUTHOR: sem@FreeBSD.org Because of a bug in previous version, it's recomended you fill ALT_PKGDEP section in pkgtools.conf file for portupgrade be aware of alternative dependencies you use, and run pkgdb -L to restore dependencies that was lost. Example of ALT_PKGDEP section: ALT_PKGDEP =3D { 'www/apache13' =3D> 'www/apache13-modssl', 'print/ghostscript-afpl' =3D> 'print/ghostscript-gnu', } Note also, portupgrade knows nothing how to handle ports with different suffixes (E.g. -nox11). So you should define explicitly variables (E.g. WITHOUT_X11=3Dyes) for the ports in /etc/make.conf or pkgtools.conf (MAKE_ARGS section) files. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+ Depending on how long it has been since your ports were updated, the 20070102 entry regarding portupgrade may also be of interest. HTH, Randy --=20 From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 01:48:58 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 72B1516A401 for ; Sun, 4 Mar 2007 01:48:58 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 26B4613C48D for ; Sun, 4 Mar 2007 01:48:57 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 19481 invoked from network); 4 Mar 2007 12:48:56 +1100 Received: from 203-217-48-136.dyn.iinet.net.au (HELO localhost) (203.217.48.136) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 4 Mar 2007 12:48:56 +1100 Date: Sun, 4 Mar 2007 12:48:52 +1100 From: Norberto Meijome To: Erik Osterholm , freebsd-questions@freebsd.org Message-ID: <20070304124852.0946ef57@localhost> In-Reply-To: <20070302045718.GA59913@idoru.cepheid.org> References: <20070301143621.36433.qmail@web35204.mail.mud.yahoo.com> <45E726B6.4050507@schrodinger.com> <20070302085541.602eb85f@localhost> <20070302045718.GA59913@idoru.cepheid.org> X-Mailer: Claws Mail 2.8.0 (GTK+ 2.10.9; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: Re: Linux "equivalent" to 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, 04 Mar 2007 01:48:58 -0000 On Thu, 1 Mar 2007 22:57:18 -0600 Erik Osterholm wrote: > No binary packages? Could have fooled me. > > From: http://www.gentoo.org/doc/en/faq.xml#ebuilds > > "For full ISO releases, we create a full suite of binary packages in > an enhanced .tbz2 format, which is .tar.bz2 compatible with > meta-information attached to the end of the file. These can be used to > install a working (though not fully optimized) version of the package > quickly and efficiently." Ah, what do you know :) thanks for making me a little bit less ignorant :) cheers! _________________________ {Beto|Norberto|Numard} Meijome "Build a system that even a fool can use, and only a fool will want to use it." George Bernard Shaw I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 02:29:53 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 465AC16A405 for ; Sun, 4 Mar 2007 02:29:53 +0000 (UTC) (envelope-from excalibur@accesswave.ca) Received: from smtpout.eastlink.ca (smtpout.eastlink.ca [24.222.0.30]) by mx1.freebsd.org (Postfix) with ESMTP id 151D213C467 for ; Sun, 4 Mar 2007 02:29:52 +0000 (UTC) (envelope-from excalibur@accesswave.ca) Received: from ip04.eastlink.ca ([24.222.10.20]) by mta01.eastlink.ca (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTP id <0JEC00KBHW7WBNE0@mta01.eastlink.ca> for freebsd-questions@freebsd.org; Sat, 03 Mar 2007 21:59:56 -0400 (AST) Received: from blk-137-104-55.eastlink.ca (HELO mail.dreadnet.org) ([24.137.104.55]) by ip04.eastlink.ca with ESMTP; Sat, 03 Mar 2007 21:59:51 -0400 Received: from [192.168.1.109] (unknown [192.168.1.109]) by mail.dreadnet.org (Postfix) with ESMTP id 813113F6F2 for ; Sat, 03 Mar 2007 22:00:00 -0400 (AST) Date: Sat, 03 Mar 2007 21:59:51 -0400 From: Chris Bowlby To: freebsd-questions@freebsd.org Message-id: <45EA2817.8060501@accesswave.ca> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CALK26UUYiWg3/2dsb2JhbACoDA X-IronPort-AV: i="4.14,245,1170648000"; d="scan'208"; a="140067545:sNHT121698990" User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) Subject: FreeBSD Native JDK/JRE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 02:29:53 -0000 Hi, I've been attempting to install java/jdk15 into a jail under FreeBSD 6.2 and have been running into some issues. I have appended a trimmed out version of the output I get during an installation to the end of the message. From what I can tell, it's attempting to install some Linux emulation components and this is where I get stuck. I've not been able to find any information that would help me either manually mount the partitions so they are visible inside a jail (I am not sure if this is even possible anymore), or to work around this particular issue and just do a native installation. Can anyone offer up any help? mail# portinstall java/jdk15 ---> Installing 'jdk-1.5.0p4' from a port (java/jdk15) ---> Building '/usr/ports/java/jdk15' ===> Cleaning for unzip-5.52_2 ===> Cleaning for m4-1.4.8_1 ===> Cleaning for zip-2.32 ===> Cleaning for open-motif-2.2.3_2 ===> Cleaning for linux-sun-jdk-1.4.2.13 ===> Cleaning for gmake-3.81_1 ===> Cleaning for libiconv-1.9.2_2 ===> Cleaning for javavmwrapper-2.3 ===> Cleaning for libtool-1.5.22_3 ===> Cleaning for xorg-libraries-6.9.0_1 ===> Cleaning for imake-6.9.0_1 ===> Cleaning for linux_base-fc-4_9 ===> Cleaning for linux-xorg-libs-6.8.2_5 ===> Cleaning for gettext-0.14.5_2 ===> Cleaning for libdrm-2.0.2 ===> Cleaning for freetype2-2.2.1_1 ===> Cleaning for fontconfig-2.3.2_6,1 ===> Cleaning for perl-5.8.8 ===> Cleaning for rpm-3.0.6_13 ===> Cleaning for linux-fontconfig-2.2.3_5 ===> Cleaning for pkg-config-0.21 ===> Cleaning for expat-2.0.0_1 ===> Cleaning for automake-1.4.6_2 ===> Cleaning for autoconf-2.13.000227_5 ===> Cleaning for popt-1.7_2 ===> Cleaning for linux-expat-1.95.8 ===> Cleaning for jdk-1.5.0p4 ===> Vulnerability check disabled, database not found ===> Found saved configuration for jdk-1.5.0p4 IMPORTANT: To build JDK 1.5.0 port, you should have at least 2.5Gb of free disk space in build area! IMPORTANT: To build JDK 1.5.0 port, you should have linux emulation enabled in the kernel and linux procfs (linprocfs) filesystem mounted. ===> Extracting for jdk-1.5.0p4 => MD5 Checksum OK for jdk-1_5_0-src-scsl.zip. => SHA256 Checksum OK for jdk-1_5_0-src-scsl.zip. => MD5 Checksum OK for jdk-1_5_0-bin-scsl.zip. => SHA256 Checksum OK for jdk-1_5_0-bin-scsl.zip. => MD5 Checksum OK for bsd-jdk15-patches-4.tar.bz2. => SHA256 Checksum OK for bsd-jdk15-patches-4.tar.bz2. ===> jdk-1.5.0p4 depends on executable in : unzip - found ===> Patching for jdk-1.5.0p4 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: control/make/Makefile |=================================================================== |RCS file: /var/jcvs/javasrc_1_5_scsl/control/make/Makefile,v |retrieving revision 1.1.1.1 |retrieving revision 1.3 |diff -u -r1.1.1.1 -r1.3 |--- control/make/Makefile 8 Nov 2004 22:26:52 -0000 1.1.1.1 |+++ control/make/Makefile 23 Dec 2004 19:28:25 -0000 1.3 -------------------------- Patching file control/make/Makefile using Plan A... Hunk #1 succeeded at 12. Hunk #2 succeeded at 69. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: <... SNIP ...> done ===> Applying FreeBSD patches for jdk-1.5.0p4 /usr/bin/sed -i.bak -e "s:%%PREFIX%%:/usr/local:g" -e "s:%%JDK_VERSION%%:1.5.0:g" /usr/ports/java/jdk15/work/control/make/../../deploy/src/plugin/solaris/controlpanel/sun_java.desktop ===> jdk-1.5.0p4 depends on executable in : gm4 - found ===> jdk-1.5.0p4 depends on executable in : zip - found ===> jdk-1.5.0p4 depends on file: /usr/X11R6/lib/libXm.so - found ===> jdk-1.5.0p4 depends on file: /usr/local/linux-sun-jdk1.4.2/bin/javac - found ===> jdk-1.5.0p4 depends on executable in : gmake - found ===> jdk-1.5.0p4 depends on shared library: iconv.3 - found ===> Configuring for jdk-1.5.0p4 ===> Building for jdk-1.5.0p4 ERROR: You must have LINPROCFS mounted before starting to build the native JDK 1.5.0. You may do it with the following commands: # kldload linprocfs and # mount -t linprocfs linprocfs /compat/linux/proc *** Error code 1 Stop in /usr/ports/java/jdk15. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.7259.0 env make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! java/jdk15 (unknown build error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 02:37:27 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E5DA016A401 for ; Sun, 4 Mar 2007 02:37:27 +0000 (UTC) (envelope-from excalibur@accesswave.ca) Received: from smtpout.eastlink.ca (smtpout.eastlink.ca [24.222.0.30]) by mx1.freebsd.org (Postfix) with ESMTP id B23D213C481 for ; Sun, 4 Mar 2007 02:37:27 +0000 (UTC) (envelope-from excalibur@accesswave.ca) Received: from ip01.eastlink.ca ([24.222.10.5]) by mta01.eastlink.ca (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTP id <0JEC00KSFXYJBIF0@mta01.eastlink.ca> for freebsd-questions@freebsd.org; Sat, 03 Mar 2007 22:37:31 -0400 (AST) Received: from blk-137-104-55.eastlink.ca (HELO mail.dreadnet.org) ([24.137.104.55]) by ip01.eastlink.ca with ESMTP; Sat, 03 Mar 2007 22:37:26 -0400 Received: from [192.168.1.109] (unknown [192.168.1.109]) by mail.dreadnet.org (Postfix) with ESMTP id E4EE93F477; Sat, 03 Mar 2007 22:37:35 -0400 (AST) Date: Sat, 03 Mar 2007 22:37:26 -0400 From: Chris Bowlby In-reply-to: <45EA2817.8060501@accesswave.ca> To: Chris Bowlby Message-id: <45EA30E6.9030005@accesswave.ca> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAJq/6UUYiWg3/2dsb2JhbACoCA X-IronPort-AV: i="4.14,245,1170648000"; d="scan'208"; a="138352564:sNHT71913978" References: <45EA2817.8060501@accesswave.ca> User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD Native JDK/JRE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 02:37:28 -0000 Hi, As luck would have it, 2 minutes after posting this message, I managed to find this URL: http://lists.freebsd.org/pipermail/freebsd-questions/2006-August/129252.html Which addresses most of my issues, now I just have to work past a compiler error (I think due to sun-jdk-1.4 having been installed).. Thanks. Chris Bowlby wrote: > Hi, > > I've been attempting to install java/jdk15 into a jail under FreeBSD > 6.2 and have been running into some issues. I have appended a trimmed > out version of the output I get during an installation to the end of > the message. > > From what I can tell, it's attempting to install some Linux emulation > components and this is where I get stuck. I've not been able to find > any information that would help me either manually mount the > partitions so they are visible inside a jail (I am not sure if this is > even possible anymore), or to work around this particular issue and > just do a native installation. > > Can anyone offer up any help? > > > mail# portinstall java/jdk15 > ---> Installing 'jdk-1.5.0p4' from a port (java/jdk15) > ---> Building '/usr/ports/java/jdk15' > ===> Cleaning for unzip-5.52_2 > ===> Cleaning for m4-1.4.8_1 > ===> Cleaning for zip-2.32 > ===> Cleaning for open-motif-2.2.3_2 > ===> Cleaning for linux-sun-jdk-1.4.2.13 > ===> Cleaning for gmake-3.81_1 > ===> Cleaning for libiconv-1.9.2_2 > ===> Cleaning for javavmwrapper-2.3 > ===> Cleaning for libtool-1.5.22_3 > ===> Cleaning for xorg-libraries-6.9.0_1 > ===> Cleaning for imake-6.9.0_1 > ===> Cleaning for linux_base-fc-4_9 > ===> Cleaning for linux-xorg-libs-6.8.2_5 > ===> Cleaning for gettext-0.14.5_2 > ===> Cleaning for libdrm-2.0.2 > ===> Cleaning for freetype2-2.2.1_1 > ===> Cleaning for fontconfig-2.3.2_6,1 > ===> Cleaning for perl-5.8.8 > ===> Cleaning for rpm-3.0.6_13 > ===> Cleaning for linux-fontconfig-2.2.3_5 > ===> Cleaning for pkg-config-0.21 > ===> Cleaning for expat-2.0.0_1 > ===> Cleaning for automake-1.4.6_2 > ===> Cleaning for autoconf-2.13.000227_5 > ===> Cleaning for popt-1.7_2 > ===> Cleaning for linux-expat-1.95.8 > ===> Cleaning for jdk-1.5.0p4 > ===> Vulnerability check disabled, database not found > ===> Found saved configuration for jdk-1.5.0p4 > > IMPORTANT: To build JDK 1.5.0 port, you should have at least > 2.5Gb of free disk space in build area! > > IMPORTANT: To build JDK 1.5.0 port, you should have linux emulation > enabled in the kernel and linux procfs (linprocfs) filesystem > mounted. > > ===> Extracting for jdk-1.5.0p4 > => MD5 Checksum OK for jdk-1_5_0-src-scsl.zip. > => SHA256 Checksum OK for jdk-1_5_0-src-scsl.zip. > => MD5 Checksum OK for jdk-1_5_0-bin-scsl.zip. > => SHA256 Checksum OK for jdk-1_5_0-bin-scsl.zip. > => MD5 Checksum OK for bsd-jdk15-patches-4.tar.bz2. > => SHA256 Checksum OK for bsd-jdk15-patches-4.tar.bz2. > ===> jdk-1.5.0p4 depends on executable in : unzip - found > ===> Patching for jdk-1.5.0p4 > Hmm... Looks like a unified diff to me... > The text leading up to this was: > -------------------------- > |Index: control/make/Makefile > |=================================================================== > |RCS file: /var/jcvs/javasrc_1_5_scsl/control/make/Makefile,v > |retrieving revision 1.1.1.1 > |retrieving revision 1.3 > |diff -u -r1.1.1.1 -r1.3 > |--- control/make/Makefile 8 Nov 2004 22:26:52 -0000 1.1.1.1 > |+++ control/make/Makefile 23 Dec 2004 19:28:25 -0000 1.3 > -------------------------- > Patching file control/make/Makefile using Plan A... > Hunk #1 succeeded at 12. > Hunk #2 succeeded at 69. > Hmm... The next patch looks like a unified diff to me... > The text leading up to this was: > <... SNIP ...> > done > ===> Applying FreeBSD patches for jdk-1.5.0p4 > /usr/bin/sed -i.bak -e "s:%%PREFIX%%:/usr/local:g" -e > "s:%%JDK_VERSION%%:1.5.0:g" > /usr/ports/java/jdk15/work/control/make/../../deploy/src/plugin/solaris/controlpanel/sun_java.desktop > > ===> jdk-1.5.0p4 depends on executable in : gm4 - found > ===> jdk-1.5.0p4 depends on executable in : zip - found > ===> jdk-1.5.0p4 depends on file: /usr/X11R6/lib/libXm.so - found > ===> jdk-1.5.0p4 depends on file: > /usr/local/linux-sun-jdk1.4.2/bin/javac - found > ===> jdk-1.5.0p4 depends on executable in : gmake - found > ===> jdk-1.5.0p4 depends on shared library: iconv.3 - found > ===> Configuring for jdk-1.5.0p4 > ===> Building for jdk-1.5.0p4 > ERROR: You must have LINPROCFS mounted before > starting to build the native JDK 1.5.0. > > You may do it with the following commands: > > # kldload linprocfs > > and > > # mount -t linprocfs linprocfs /compat/linux/proc > > *** Error code 1 > > Stop in /usr/ports/java/jdk15. > ** Command failed [exit code 1]: /usr/bin/script -qa > /tmp/portinstall.7259.0 env make > ** Fix the problem and try again. > ** Listing the failed packages (*:skipped / !:failed) > ! java/jdk15 (unknown build error) > ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 03:09:44 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2801116A401 for ; Sun, 4 Mar 2007 03:09:44 +0000 (UTC) (envelope-from freebsd@dfwlp.com) Received: from pollux.dfwlp.com (rrcs-64-183-212-242.sw.biz.rr.com [64.183.212.242]) by mx1.freebsd.org (Postfix) with ESMTP id EC0CC13C467 for ; Sun, 4 Mar 2007 03:09:43 +0000 (UTC) (envelope-from freebsd@dfwlp.com) Received: from athena.dfwlp.com (athena.dfwlp.com [192.168.125.83]) (authenticated bits=0) by pollux.dfwlp.com (8.13.8/8.13.8) with ESMTP id l23EjGaY016151 for ; Sat, 3 Mar 2007 08:45:16 -0600 (CST) (envelope-from freebsd@dfwlp.com) From: Jonathan Horne To: freebsd-questions@freebsd.org Date: Sat, 3 Mar 2007 08:45:15 -0600 User-Agent: KMail/1.9.5 References: <200703022116.l22LGXhS001075@cheyenne.sixcompanies.com> In-Reply-To: <200703022116.l22LGXhS001075@cheyenne.sixcompanies.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703030845.15832.freebsd@dfwlp.com> X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pollux.dfwlp.com Subject: Re: dhclient.conf + resolv.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 03:09:44 -0000 On Friday 02 March 2007 15:16, J.D. Bronson wrote: > I am trying to have dhclient setup my resolv.conf perfect. > I am very close. > > I have this in dhclient.conf: > > ------------------------- > interface "bge1" { > supersede domain-name "wixb.com"; > prepend domain-name-servers 192.l68.1.1; > request subnet-mask, broadcast-address, routers, domain-name-servers; > } > --------------------- > What this is giving me is this: > > search wixb.com > nameserver 192.168.1.1 > nameserver 24.94.163.100 > nameserver 24.94.163.101 > > What I would like to do is change the 'search' to 'domain' and cant > figure out what I am missing? > > -JD IMO, i think your setup is fine. my opinion, is that 'search' is more useful than 'domain'. they have the same basic functionality, until you need to search more than one domain by default. but with just a single name, they seem to be functionally the same. cheers, jonathan From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 03:24:57 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2266816A407 for ; Sun, 4 Mar 2007 03:24:57 +0000 (UTC) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (mail.shire.net [166.70.252.250]) by mx1.freebsd.org (Postfix) with ESMTP id 0819213C428 for ; Sun, 4 Mar 2007 03:24:56 +0000 (UTC) (envelope-from chad@shire.net) Received: from [67.171.127.191] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.51) id 1HNhLE-000Jl1-8h; Sat, 03 Mar 2007 20:24:56 -0700 In-Reply-To: <4634.198.144.43.23.1172967500.squirrel@www.potentialtech.com> References: <9BDC76ED-A186-40CA-850D-09BF77A395DF@shire.net> <4634.198.144.43.23.1172967500.squirrel@www.potentialtech.com> Mime-Version: 1.0 (Apple Message framework v752.2) X-Priority: 3 (Normal) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: "Chad Leigh -- Shire.Net LLC" Date: Sat, 3 Mar 2007 20:24:55 -0700 To: User Questions X-Mailer: Apple Mail (2.752.2) X-SA-Exim-Connect-IP: 67.171.127.191 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false Cc: Bill Moran , Chad Leigh Subject: gmake in jail from ports linking to ld-linux.so.2 ??? Re: building jdk15 in a jail -- __mb_cur_max Undefined Symbol X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 03:24:57 -0000 On Mar 3, 2007, at 5:18 PM, Bill Moran wrote: > >> On Mar 3, 2007, at 4:01 PM, Chad Leigh -- Shire.Net LLC wrote: >> >>> Hi >>> >>> I am trying to build jdk15 inside my jail with PREFIX set to /usr/ >>> public (At one time I successfully got jdk 1.4 to build after much >>> hacking) >>> >>> I have the option for builing inside a jail set. We get to the >>> point where the linux java is installed and it is actually building >>> the jdk >>> >>> # Start of jdk build >>> /libexec/ld-elf.so.1: /usr/local/lib/libiconv.so.3: Undefined >>> symbol "__mb_cur_max" >>> *** Error code 1 >>> >>> Stop in /usr/ports/java/jdk15. >>> # >>> >>> I am not exactly sure what it is doing at this point in order to >>> hack round it. libiconv a fresh install from ports >>> >> >> Turns out that the issue is that gmake cannot run. I have not >> figured out why yet, having removed and reinstalled libiconv and >> gmake and getting the same error. But it is not java related. >> >> I'll redirect this to -questions >> >> If anyone has an idea on why gmake would fail as above on a fresh >> install, 6.2-RELEASE from a day or two ago, I would appreciate it. >> Please CC me as I am not currently subscribed to -questions, though I >> am on -java > > Not a direct answer to your question, but when I needed to do this > a few months ago, I just did a "make package" on my workstation, then > shipped the package up to the jail system and installed it with > pkg_add. > > Doesn't solve the problem, but if you're in a pinch, it's a handy > workaround. Bill -- Thanks! That is an idea too. Maybe I will do that. ----- However, I want to figure why gmake is not working in the jail when I install from ports. Using the same directory tree on the base machine it works, but not in the jail doing an "ldd" on the base machine shows # ldd /usr/local/bin/gmake /usr/local/bin/gmake: libintl.so.6 => /usr/local/lib/libintl.so.6 (0x8809b000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x880a4000) libc.so.6 => /lib/libc.so.6 (0x88191000) # but in the jail it shows # ldd /usr/public/bin/gmake /usr/public/bin/gmake: libintl.so.6 => /usr/local/lib/libintl.so.6 (0x8809b000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x880a4000) libc.so.6 => /usr/local/lib/libc.so.6 (0x88191000) ld-linux.so.2 (0x882ae000) # and I can't see why this would be the case. Both are building from the same port, same os, everything (indeed same machine) Any ideas appreciated! I am trying things and googling as well etc but I appreciate insight others may have on this. Has been stumping me for several hours today already :-( Please CC on any responses for now. I am resubscribing to -questions but don't know how long it will take to come back at me thanks Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 03:41:57 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 13A5716A400 for ; Sun, 4 Mar 2007 03:41:57 +0000 (UTC) (envelope-from deexenigma@hotmail.com) Received: from bay0-omc1-s23.bay0.hotmail.com (bay0-omc1-s23.bay0.hotmail.com [65.54.246.95]) by mx1.freebsd.org (Postfix) with ESMTP id 01EEC13C467 for ; Sun, 4 Mar 2007 03:41:56 +0000 (UTC) (envelope-from deexenigma@hotmail.com) Received: from hotmail.com ([65.55.136.94]) by bay0-omc1-s23.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Sat, 3 Mar 2007 19:29:57 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 3 Mar 2007 19:29:57 -0800 Message-ID: Received: from 65.55.136.123 by by131fd.bay131.hotmail.msn.com with HTTP; Sun, 04 Mar 2007 03:29:53 GMT X-Originating-IP: [58.169.154.174] X-Originating-Email: [deexenigma@hotmail.com] X-Sender: deexenigma@hotmail.com From: "Warwick Sweetnam" To: freebsd-questions@freebsd.org Date: Sun, 04 Mar 2007 14:29:53 +1100 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 04 Mar 2007 03:29:57.0347 (UTC) FILETIME=[61E71B30:01C75E0D] Subject: Running X window system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 03:41:57 -0000 Hi, I am having trouble getting X window system to boot on a 2196 24A IBM Aptiva. The specs of the on-board graphics card are as follows: 64meg Ram SiS540 or SiS630 The monitor is a dell lcd model no. 1504FP specs are as follows: Resolution Horizontal scan range 31 kHz to 60 kHz (automatic) Vertical scan range 60 Hz to 75 Hz (automatic) Optimal preset resolution 1024 x 768 at 60 Hz Highest preset resolution 1024 x 768 at 75 Hz * Highest addressable resolution 1024 x 768 at 75 Hz Most resolutions run primarily on VESA of which I have tried as generic driver. Ive tried running the system with all different options and resolutions, including running with the generic SiS drivers, when I try to select specific chipsets there is never an exact match, the closest match in the options to the SiS540 is the SiS530, and closet to SiS630 is SiS620, im unsure of the exact chipset on my board as i cant seem to locate the model anywhere, I just know from a maintenence manual that these are the 2 possible chipsets. I have tried entering the horizontal and vertical refresh rates manually and running with both types of SiS chipset drivers at different low resolutions and different bit depths (24 and 16) but still no luck. If it helps I am trying to run fluxbox with on this particular install and are following a step-by-step guide but not a lot of troubleshooting advice is given unfortunatly. Any help would be greatly appreciated, I hope to have provided the needed information. _________________________________________________________________ Advertisement: Meet Sexy Singles Today @ Lavalife - Click here http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Flavalife9%2Eninemsn%2Ecom%2Eau%2Fclickthru%2Fclickthru%2Eact%3Fid%3Dninemsn%26context%3Dan99%26locale%3Den%5FAU%26a%3D23769&_t=754951090&_r=endtext_lavalife_dec_meet&_m=EXT From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 03:50:59 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A68FF16A400 for ; Sun, 4 Mar 2007 03:50:58 +0000 (UTC) (envelope-from deexenigma@hotmail.com) Received: from bay0-omc2-s5.bay0.hotmail.com (bay0-omc2-s5.bay0.hotmail.com [65.54.246.141]) by mx1.freebsd.org (Postfix) with ESMTP id 951F113C442 for ; Sun, 4 Mar 2007 03:50:58 +0000 (UTC) (envelope-from deexenigma@hotmail.com) Received: from hotmail.com ([65.55.136.116]) by bay0-omc2-s5.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Sat, 3 Mar 2007 19:50:58 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 3 Mar 2007 19:50:58 -0800 Message-ID: Received: from 65.55.136.123 by by131fd.bay131.hotmail.msn.com with HTTP; Sun, 04 Mar 2007 03:50:55 GMT X-Originating-IP: [58.169.154.174] X-Originating-Email: [deexenigma@hotmail.com] X-Sender: deexenigma@hotmail.com From: "Warwick Sweetnam" To: freebsd-questions@freebsd.org Date: Sun, 04 Mar 2007 14:50:55 +1100 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 04 Mar 2007 03:50:58.0374 (UTC) FILETIME=[51888E60:01C75E10] Subject: Running X window system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 03:50:59 -0000 Hi, I am having trouble getting X window system to boot on a 2196 24A IBM Aptiva. The specs of the on-board graphics card are as follows: 64meg Ram SiS540 or SiS630 The monitor is a dell lcd model no. 1504FP specs are as follows: Resolution Horizontal scan range 31 kHz to 60 kHz (automatic) Vertical scan range 60 Hz to 75 Hz (automatic) Optimal preset resolution 1024 x 768 at 60 Hz Highest preset resolution 1024 x 768 at 75 Hz * Highest addressable resolution 1024 x 768 at 75 Hz Most resolutions run primarily on VESA of which I have tried as generic driver. Ive tried running the system with all different options and resolutions, including running with the generic SiS drivers, when I try to select specific chipsets there is never an exact match, the closest match in the options to the SiS540 is the SiS530, and closet to SiS630 is SiS620, im unsure of the exact chipset on my board as i cant seem to locate the model anywhere, I just know from a maintenence manual that these are the 2 possible chipsets. I have tried entering the horizontal and vertical refresh rates manually and running with both types of SiS chipset drivers at different low resolutions and different bit depths (24 and 16) but still no luck. If it helps I am trying to run fluxbox with on this particular install and are following a step-by-step guide but not a lot of troubleshooting advice is given unfortunatly. Any help would be greatly appreciated, I hope to have provided the needed information. _________________________________________________________________ Join the millions of Australians using Live Search. Try live.com.au http://ninemsn.com.au/share/redir/adTrack.asp?mode=click&clientID=740&referral=million&URL=http://live.com.au From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 03:58:39 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 01C4916A401 for ; Sun, 4 Mar 2007 03:58:37 +0000 (UTC) (envelope-from dmw@unete.cl) Received: from qmail2.ifxnetworks.com (qmail2.ifxnetworks.com [200.110.128.9]) by mx1.freebsd.org (Postfix) with ESMTP id 973A513C4B3 for ; Sun, 4 Mar 2007 03:58:36 +0000 (UTC) (envelope-from dmw@unete.cl) Received: (qmail 17005 invoked from network); 4 Mar 2007 03:58:35 -0000 X-Spam-DCC: : qmail2.ifxnetworks.com 1113; Body=1 Fuz1=1 Fuz2=1 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on qmail2.ifxnetworks.com X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.8 Received: from unknown (HELO daemon) (dmw@unete.cl@[200.73.29.103]) (envelope-sender ) by qmail2.ifxnetworks.com (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 4 Mar 2007 03:58:34 -0000 From: Daniel Molina Wegener Organization: DMW To: freebsd-questions@freebsd.org Date: Sun, 4 Mar 2007 00:59:33 -0300 User-Agent: KMail/1.9.1 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703040059.33713.dmw@unete.cl> Cc: Warwick Sweetnam Subject: Re: Running X window system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dmw@unete.cl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 03:58:39 -0000 On Sunday 04 March 2007 00:50, Warwick Sweetnam wrote: > Hi, I am having trouble getting X window system to > boot on a 2196 24A IBM Aptiva. The specs of the on-board > graphics card are as follows: > 64meg Ram > SiS540 or SiS630 > > The monitor is a dell lcd model no. 1504FP > specs are as follows: > Resolution > > Horizontal scan range 31 kHz to 60 kHz (automatic) > Vertical scan range 60 Hz to 75 Hz (automatic) > Optimal preset resolution 1024 x 768 at 60 Hz > Highest preset resolution 1024 x 768 at 75 Hz > * Highest addressable resolution 1024 x 768 at 75 Hz > Most resolutions run primarily on VESA of which I > have tried as generic driver. > > Ive tried running the system with all different options > and resolutions, including running with the generic SiS > drivers, when I try to select specific chipsets there is > never an exact match, the closest match in the options > to the SiS540 is the SiS530, and closet to SiS630 is SiS620, > im unsure of the exact chipset on my board as i cant seem > to locate the model anywhere, I just know from a maintenence > manual that these are the 2 possible chipsets. > > I have tried entering the horizontal and vertical refresh > rates manually and running with both types of SiS chipset > drivers at different low resolutions and different bit depths > (24 and 16) but still no luck. > If it helps I am trying to run fluxbox with on this > particular install and are following a step-by-step guide but > not a lot of troubleshooting advice is given unfortunatly. > Any help would be greatly appreciated, I hope to have > provided the needed information. > > [SNIP] Have you tried "Xorg -configure"? Regards, -- .O. | Daniel Molina Wegener | C/C++ Developer ..O | dmw [at] unete [dot] cl | FOSS Coding Adict OOO | BSD & Linux User | Standards Rocks! From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 05:10:04 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A55A116A400 for ; Sun, 4 Mar 2007 05:10:04 +0000 (UTC) (envelope-from dan@nyi.unixathome.org) Received: from nyi.unixathome.org (nyi.unixathome.org [64.147.113.42]) by mx1.freebsd.org (Postfix) with ESMTP id 88B3513C467 for ; Sun, 4 Mar 2007 05:10:04 +0000 (UTC) (envelope-from dan@nyi.unixathome.org) Received: by nyi.unixathome.org (Postfix, from userid 1001) id 3F74B50884; Sun, 4 Mar 2007 00:10:02 -0500 (EST) From: Dan Langille To: freebsd-questions@freebsd.org Message-Id: <20070304051003.3F74B50884@nyi.unixathome.org> Date: Sun, 4 Mar 2007 00:10:02 -0500 (EST) Subject: The FreeBSD Diary: 2007-02-11 - 2007-03-03 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 05:10:04 -0000 The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives and/or The FreeBSD Diary . -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 06:16:27 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 240BE16A404 for ; Sun, 4 Mar 2007 06:16:27 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id DD60F13C4B4 for ; Sun, 4 Mar 2007 06:16:26 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from localhost (unknown [200.46.204.182]) by hub.org (Postfix) with ESMTP id 0911085C8C2; Sun, 4 Mar 2007 02:16:25 -0400 (AST) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 70231-09; Sun, 4 Mar 2007 02:16:24 -0400 (AST) Received: from ganymede.hub.org (blk-89-241-126.eastlink.ca [24.89.241.126]) by hub.org (Postfix) with ESMTP id 7A75C85BC20; Sun, 4 Mar 2007 02:16:24 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id BE3B83C82C; Sun, 4 Mar 2007 02:16:25 -0400 (AST) Date: Sun, 04 Mar 2007 02:16:25 -0400 From: "Marc G. Fournier" To: Sergio Lenzi , freebsd-questions@freebsd.org Message-ID: <16A3A48CBAF0090736E57844@ganymede.hub.org> In-Reply-To: <1172930249.27131.6.camel@localhost> References: <1172909930.68100.4.camel@localhost> <45E9318A.3090609@gmx.de> <1172930249.27131.6.camel@localhost> X-Mailer: Mulberry/4.0.7 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: Subject: Re: bsdstats X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 06:16:27 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On Saturday, March 03, 2007 10:57:29 -0300 Sergio Lenzi =20 wrote: > Em S?, 2007-03-03 =C3=A0s 09:27 +0100, [LoN]Kamikaze escreveu: > >> Sergio Lenzi wrote: >> > Question: Does the thin clients count as Freebsd servers in bsdstats??? >> >> If each client runs the bsdstats script and has its own hostname, yes. >> > > > Yes. that is the case... the thin clients have hostnames like: > cob.propagar, julia.propagar, comercial5.propagar.... > > that is: there is an internal NIS domain with DNS for email routing.. > and we expect to have several by the end of this year... where will be > freebsd "by the dozen"... > when the thin clients boots, it executes the script > "daemon /usr/local/etc/periodic ...." > is that right??? or should execute the script only once a month??? Good question here ... 'thin client' ... how does that handle the /var/db=20 directory? bsdstats creates a 'state file' in /var/db that contains unique identifies for=20 the client connecting, so that a) its anonymous and b) it reports as the same=20 host regardless of IP changes ... so, if /var/db is maintained across reboots, then running the stats script on=20 reboot will make sure the host is always reported, and /var/db/bsdstats will=20 make sure it doesn't report it as a new host each time its rebooted .. - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFF6mQ54QvfyHIvDvMRAoxCAJ9v/rkZEDpNZH4hO03h+olw/iDZ9QCcDeT2 ARuCswXxB3kIuv4RtJ5Nazc=3D =3DljkA -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 07:43:37 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3047616A4C7 for ; Sun, 4 Mar 2007 07:43:37 +0000 (UTC) (envelope-from teklimbu@wlink.com.np) Received: from smtp5.wlink.com.np (smtp5.wlink.com.np [202.79.32.52]) by mx1.freebsd.org (Postfix) with SMTP id 3DD8513C491 for ; Sun, 4 Mar 2007 07:43:34 +0000 (UTC) (envelope-from teklimbu@wlink.com.np) Received: (qmail 14609 invoked from network); 4 Mar 2007 07:43:31 -0000 Received: from unknown (HELO smtp1.wlink.com.np) (202.79.32.76) by 0 with SMTP; 4 Mar 2007 07:43:31 -0000 Received: (qmail 11468 invoked by uid 98); 4 Mar 2007 07:43:31 -0000 Received: from 202.79.36.216 by smtp1.wlink.com.np (envelope-from , uid 1009) with qmail-scanner-1.25 (clamdscan: 0.88.4/2205. Clear:RC:1(202.79.36.216):. Processed in 0.078968 secs); 04 Mar 2007 07:43:31 -0000 X-Qmail-Scanner-Mail-From: teklimbu@wlink.com.np via smtp1.wlink.com.np X-Qmail-Scanner: 1.25 (Clear:RC:1(202.79.36.216):. Processed in 0.078968 secs) Received: from [202.79.36.216] (HELO teklimbu.wlink.com.np) by smtp1.wlink.com.np (qmail-smtpd) with SMTP; 04 Mar 2007 07:43:28 -0000 (Sun, 04 Mar 2007 13:28:28 +0545) Received: from teklimbu.wlink.com.np ([202.79.36.216]) by teklimbu.wlink.com.np with smtp (Exim 4.66) (envelope-from ) id 1HNlNI-000MFy-0A; Sun, 04 Mar 2007 13:28:20 +0545 Date: Sun, 4 Mar 2007 13:28:14 +0545 From: Tek Bahadur Limbu To: Grant Peel Message-Id: <20070304132814.e959303e.teklimbu@wlink.com.np> In-Reply-To: <004801c75d91$f809ee70$6501a8c0@GRANT> References: <00aa01c758c6$f8dadb90$6501a8c0@GRANT> <20070225193804.19bc9280.teklimbu@wlink.com.np> <00d501c759b8$b7dc4870$6501a8c0@GRANT> <20070303172857.2561b918.teklimbu@wlink.com.np> <004801c75d91$f809ee70$6501a8c0@GRANT> Organization: Worldlink Communications Pvt. Ltd. X-Mailer: Sylpheed version 2.2.0 (GTK+ 2.8.12; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Check-By: smtp1.wlink.com.np Spam: No ; 0.3 / 7.0 X-Spam-Status-WL: No, hits=0.3 required=7.0 Cc: freebsd-questions@freebsd.org Subject: Re: Fw: FIN_WAIT_2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 07:43:37 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, 3 Mar 2007 07:46:31 -0500 "Grant Peel" wrote: > Do you have ipfw or other firewall running? > > Did you restart the network? > > -Grant Hi Grant, Yes I do have IPFW running. Well I did not restart the network interface of my NIC card. > > ----- Original Message ----- > From: "Tek Bahadur Limbu" > To: "Grant Peel" > Cc: > Sent: Saturday, March 03, 2007 6:43 AM > Subject: Re: Fw: FIN_WAIT_2 > > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > On Mon, 26 Feb 2007 10:13:49 -0500 > > "Grant Peel" wrote: > > > >> Hi All, > >> > >> I have done some research ... > >> > >> It appears that inn certain conditions, when the > >> net.inet.ip.fw.dyn_keepalive=1 (sysctl), remote clients or other > >> servers may not respond, and a new rule or dynamic rule is setup. > >> turning this to 0 seemed to help. > >> > >> The effect (of having net.inet.ip.fw.dyn_keepalive=1) is that over > >> time, hundreds of FIN_WAIT_2 tcp states occure. With some software, > >> (vm-pop3d), it runs out of sockets, and I suspect the daemon does > >> not know how to hadle this. > >> > >> So do a: > >> > >> sysctl net.inet.ip.fw.dyn_keepalive=0 > >> > >> and in about 10 minutes all FIN_WAIT_2 's dissappear. (well almost > >> all). > >> > >> I expect it virtually shut down dynamic rules too in ipfw, but I > >> have been reading more and more that people are saying don't use > >> dynamics on a busy site. Anyone care to comment. > >> > >> -Grant > > > > Hi Grant, > > > > I have set sysctl net.inet.ip.fw.dyn_keepalive=0. But both > > FIN_WAIT_1 and FIN_WAIT_2 does not seem to disappear. Even now, my > > squid proxy box shows: > > > > 15 CLOSE_WAIT > > 5 CLOSING > > 2260 ESTABLISHED > > 2083 FIN_WAIT_1 > > 829 FIN_WAIT_2 > > 132 LAST_ACK > > 5 LISTEN > > 28 SYN_SENT > > 177 TIME_WAIT > > 1 been > > > > Can you shed some light on this ? > > > > Thanking you.. > > > > - -- > > > > > > With best regards and good wishes, > > > > Yours sincerely, > > > > Tek Bahadur Limbu > > > > (TAG/TDG Group) > > Jwl Systems Department > > > > Worldlink Communications Pvt. Ltd. > > > > Jawalakhel, Nepal > > > > http://www.wlink.com.np > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.2.2 (FreeBSD) > > > > iD8DBQFF6V99VrOl+eVhOvYRAsf6AJ4tttOBTDoMcx/Cp1R/G9iAjUc/cQCfSnfQ > > NXly6YRmPzjKbbppIroPtzs= > > =2Z/B > > -----END PGP SIGNATURE----- > > > > > _______________________________________________ > 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" > - -- With best regards and good wishes, Yours sincerely, Tek Bahadur Limbu (TAG/TDG Group) Jwl Systems Department Worldlink Communications Pvt. Ltd. Jawalakhel, Nepal http://www.wlink.com.np -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFF6niSVrOl+eVhOvYRAseoAJ9sES87uREtTLQ9jSOs34H71o0edwCdGhwu jx0zuHI9iuLkKuiBlSRvJ1k= =nZ6y -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 08:45:02 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 182AE16A402 for ; Sun, 4 Mar 2007 08:45:02 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [199.26.172.34]) by mx1.freebsd.org (Postfix) with ESMTP id EB90D13C442 for ; Sun, 4 Mar 2007 08:45:01 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id l248iPbT069925 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 4 Mar 2007 00:45:00 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id l248iPGj069924; Sun, 4 Mar 2007 00:44:25 -0800 (PST) Received: from fbsd61 ([192.168.200.61]) by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA03405; Sun, 4 Mar 07 00:16:59 PST Date: Sun, 04 Mar 2007 00:18:00 -0800 From: perryh@pluto.rain.com To: scrappy@hub.org, doug@polands.org Message-Id: <45ea80b8.Qe+uQ8PBhjzYK3/T%perryh@pluto.rain.com> References: <57114.69.48.112.156.1172869231.squirrel@email.polands.org> In-Reply-To: User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: RESEND: Re: BSDstats report for Mar 1st, 2006 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 08:45:02 -0000 > suggested adding a prompt to sysinstall asking if ppl wanted to > participate, and the response I heard was that someone basically > needed to submit a patch ... anyone here know enough about > sysinstall to do so? If considering work on sysinstall to improve the stats, how about fixing some of the pitfalls that drive away prospective new users? (IOW increase the actual number of installations rather than just the fraction that get reported.) Surely it should be possible to avoid lethal messes like a newly- installed system that has no kernel, or a partitioning that will not accommodate the set of components selected for installation (resulting in failure when /usr fills up). And no, I am not suggesting any substantial change to the overall look and feel of the UI. That would be too much work for, at best, a cosmetic improvement. From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 08:45:02 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 38E3516A403 for ; Sun, 4 Mar 2007 08:45:02 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [199.26.172.34]) by mx1.freebsd.org (Postfix) with ESMTP id 1B87513C461 for ; Sun, 4 Mar 2007 08:45:02 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id l248j1bE070008 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 4 Mar 2007 00:45:01 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id l248j1u5070006 for freebsd-questions@freebsd.org; Sun, 4 Mar 2007 00:45:01 -0800 (PST) Received: from fbsd61 ([192.168.200.61]) by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA03419; Sun, 4 Mar 07 00:24:13 PST Date: Sun, 04 Mar 2007 00:25:14 -0800 From: perryh@pluto.rain.com To: freebsd-questions@freebsd.org Message-Id: <45ea826a.nhh75OV5pzwbA0VX%perryh@pluto.rain.com> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: What is an "implicit destination" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 08:45:02 -0000 I go this auto-response after replying to a message on questions@ a few hours ago: > From: owner-freebsd-questions@freebsd.org > Subject: Your message to freebsd-questions awaits moderator approval > Date: Sun, 04 Mar 2007 05:43:56 +0000 > > Your mail to 'freebsd-questions' with the subject > > Re: BSDstats report for Mar 1st, 2006 > > Is being held until the list moderator can review it for approval. > > The reason it is being held: > > Message has implicit destination > > 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: > PLEASE NOTE! If you would like to post freely to the list, please > subscribe first. If you post from multiple addresses, you can > subscribe each address and go into the options page and select 'no > mail' for all but one address. This will allow you to post without > delay in the future. but I *am* subscribed! From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 10:01:28 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ECC5416A402 for ; Sun, 4 Mar 2007 10:01:28 +0000 (UTC) (envelope-from gpeel@thenetnow.com) Received: from thenetnow.com (thenetnow.com [69.90.69.141]) by mx1.freebsd.org (Postfix) with ESMTP id C424D13C4A6 for ; Sun, 4 Mar 2007 10:01:28 +0000 (UTC) (envelope-from gpeel@thenetnow.com) Received: from hpeel.ody.ca ([216.240.12.2] helo=GRANT) by constellation.thenetnow.com with esmtpa (Exim 4.54) id 1HNnWs-00047I-4H for freebsd-questions@freebsd.org; Sun, 04 Mar 2007 05:01:22 -0500 Message-ID: <005501c75e44$1107f630$6501a8c0@GRANT> From: "Grant Peel" To: Date: Sun, 4 Mar 2007 05:01:21 -0500 Organization: The Net Now MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Cloning a disk -large to small X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Grant Peel List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 10:01:29 -0000 Hi all, I have been researching the use of 'dd' quite a bit lately as I have had = to clone a newly setup server. The clones are done, and everything seems to be working fine.=20 I was wondering though, if one had a newly setup disk on a 74 GB SCSI = dirve, is there some know turning that can be done to clone it to a = smaller drive? Say 36 GB? Of course I ask the questing with the caveat that one of the file = systems final size (on the 36 GB disk) would of course have to suffer. So lets say we had a brand new freebsd setup on a 74 G disk swap 2GB / ufs 2 GB /usr ufs 5 GB /var ufs 5 GB /home ufs 60 GB and wanted to copy it using 'dd' to a 36 GIG drive, even though there = obviously would not be enough room for /home to be the original size? = Can 'dd' be set to truncate a fs? Can the (/home) filesystem geometry be = corrected after a regular 'dd' to the new drive? -Grant From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 10:14:50 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E588016A400 for ; Sun, 4 Mar 2007 10:14:50 +0000 (UTC) (envelope-from wojtek@tensor.3miasto.net) Received: from chylonia.3miasto.net (chylonia.3miasto.net [83.12.228.78]) by mx1.freebsd.org (Postfix) with ESMTP id 607CA13C4A3 for ; Sun, 4 Mar 2007 10:14:49 +0000 (UTC) (envelope-from wojtek@tensor.3miasto.net) Received: from chylonia.3miasto.net (localhost [127.0.0.1]) by chylonia.3miasto.net (8.13.8/8.13.4) with ESMTP id l24AEjc4037783; Sun, 4 Mar 2007 11:14:45 +0100 (CET) (envelope-from wojtek@tensor.3miasto.net) Received: from localhost (wojtek@localhost) by chylonia.3miasto.net (8.13.8/8.13.4/Submit) with ESMTP id l24AEjMl037777; Sun, 4 Mar 2007 11:14:45 +0100 (CET) (envelope-from wojtek@tensor.3miasto.net) X-Authentication-Warning: chylonia.3miasto.net: wojtek owned process doing -bs Date: Sun, 4 Mar 2007 11:14:45 +0100 (CET) From: Wojciech Puchar X-X-Sender: wojtek@chylonia.3miasto.net To: Christian Baer In-Reply-To: Message-ID: <20070304111432.H37563@chylonia.3miasto.net> References: <539c60b90703010849x33dd4bbbt8f6ca6aa0c8e83a0@mail.gmail.com> <20070301165055.638b0a06.wmoran@collaborativefusion.com> <44r6s8y4o5.fsf@be-well.ilk.org> <2dac75d59286fc9c0481d6dc7ca29e16@prodigy.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: defrag X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 10:14:51 -0000 >> As you said, HFS(+) is not a native unix file system, but maybe someone >> will know about it. All I know about is that HFS+ is a journaling file >> system and that it defragments (in the Windows sense) files smaller than >> certain size (20MB?) on the fly. > > This may be completely OT here, but I gotta ask: Is Reiser a native Unix > FS? fortunately not! From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 10:52:46 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3989B16A401 for ; Sun, 4 Mar 2007 10:52:46 +0000 (UTC) (envelope-from lists.gms@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.226]) by mx1.freebsd.org (Postfix) with ESMTP id ED8C013C471 for ; Sun, 4 Mar 2007 10:52:45 +0000 (UTC) (envelope-from lists.gms@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so1179331wxc for ; Sun, 04 Mar 2007 02:52:45 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=kHlpISF5fv7R49DejZFuO/QFCKun9KHu4NElOenY4oYj1rax6gqEYPpnvzKEbZv9k7NYYHUPMwVmffvewqYBeMydxZwZWOPi90Q8pUYivOpuKxyNN8viHZD6d+z4VGbL/mduSnHExyqg7omscebYTbsLqHw/N4rN2HzCLiBnCBc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=UsBSPNfCHz/nayjC+z4bUZx0Pme4lsrcdoEyf+cHMA9fgHKFonJLwgKAE95wgxzjyHIAt+VWixvcfOq2eROLKLSbp6MZyyG67XyNhltwRbsRPT+h/HFsuG3942n6fY67dtjuTI8eD4o3FCu8LcV0WYoSC4P7mG6WmEtZJmEYlow= Received: by 10.90.55.19 with SMTP id d19mr3983129aga.1173003864676; Sun, 04 Mar 2007 02:24:24 -0800 (PST) Received: by 10.90.114.15 with HTTP; Sun, 4 Mar 2007 02:24:24 -0800 (PST) Message-ID: Date: Sun, 4 Mar 2007 11:24:24 +0100 From: "Guill. Moreno-Socias" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: problem with locale X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 10:52:46 -0000 Hello. I would like to know how to reset everything around the locale in the system. Background: I had FreeBSD 5.4, everything was working fine. Then I upgraded to FreeBSD 6.2 and the locale became corrupt. I have since downgraded to FreeBSD 5.5 (because of a horrible problem of "em0: watchdog timeout -- resetting"), and the locale is still corrupt. Examples: any "man" command gives ctype locale: Invalid argument and "perl -e ''" gives perl: warning: Please check that your locale settings: LC_ALL =3D (unset), LC_CTYPE =3D "fr_FR.ISO8859-1", LANG =3D (unset) are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). (please note that this is NOT a perl question; the preceding example is only to show the problem). Thanks in adavnce for any help. --=20 Guillermo Moreno-Soc=EDas From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 11:04:11 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5C34016A400 for ; Sun, 4 Mar 2007 11:04:11 +0000 (UTC) (envelope-from gpeel@thenetnow.com) Received: from thenetnow.com (thenetnow.com [69.90.69.141]) by mx1.freebsd.org (Postfix) with ESMTP id 3240F13C4A6 for ; Sun, 4 Mar 2007 11:04:11 +0000 (UTC) (envelope-from gpeel@thenetnow.com) Received: from hpeel.ody.ca ([216.240.12.2] helo=GRANT) by constellation.thenetnow.com with esmtpa (Exim 4.54) id 1HNoVP-0005fM-MV; Sun, 04 Mar 2007 06:03:56 -0500 Message-ID: <00de01c75e4c$ce64dab0$6501a8c0@GRANT> From: "Grant Peel" To: Date: Sun, 4 Mar 2007 06:03:57 -0500 Organization: The Net Now MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 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: SCSI Error reported in Daily Run. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Grant Peel List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 11:04:11 -0000 Hi Brian, Here is the output. Care to decipher for me? :-) defiant# camcontrol defects da0 -f block -G camcontrol: requested defect format not available camcontrol: Device returned physical sector format Got 1 defect: 70740:1:634 defiant# -Grant Crazy no one replied. Yea the disk is going bad. Try: # sudo camcontrol defects da0 -f block -G ~~BAS On Fri, 16 Feb 2007, Grant Peel wrote: > Hi all, > > Can anyone simplify this error message? > > Only seen once, system seems to be running OK. > > Fix? Replace? > > +++ /tmp/security.hjdAMgoP Fri Feb 16 03:02:47 2007 > +(da0:ahc0:0:0:0): WRITE(10). CDB: 2a 0 0 f3 a 3f 0 0 20 0 > +(da0:ahc0:0:0:0): CAM Status: SCSI Status Error > +(da0:ahc0:0:0:0): SCSI Status: Check Condition > +(da0:ahc0:0:0:0): Deferred Error: HARDWARE FAILURE info:341b461 = asc:44,0 > +(da0:ahc0:0:0:0): Internal target failure field replaceable unit: bc > +(da0:ahc0:0:0:0): Retrying Command (per Sense Data) > > _______________________________________________ > 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" > l8* -lava (Brian A. Seklecki - Pittsburgh, PA, USA) http://www.spiritual-machines.org/ "...from back in the heady days when "helpdesk" meant nothing, = "diskquota" meant everything, and lives could be bought and sold for a couple of = pages of laser printout - and frequently were." From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 11:55:46 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 61EBA16A400 for ; Sun, 4 Mar 2007 11:55:46 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 3A25413C48E for ; Sun, 4 Mar 2007 11:55:46 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 1214546EA6; Sun, 4 Mar 2007 06:22:30 -0500 (EST) Date: Sun, 4 Mar 2007 11:22:29 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: "O. Hartmann" In-Reply-To: <45E7F09B.7070005@zedat.fu-berlin.de> Message-ID: <20070304111317.A60688@fledge.watson.org> References: <45E7F09B.7070005@zedat.fu-berlin.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-performance@freebsd.org, freebsd-questions@freebsd.org Subject: Re: (S)ATA performance in FBSD 6.2/7.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 11:55:46 -0000 On Fri, 2 Mar 2007, O. Hartmann wrote: > On my lab's FreeBSD 6.2/i386 box (ASUS P4P800, ICH5 with two SATA 150 ports, > two SATA 300 drives attached) I copied big files (~ 5GB) from one drive to > another while the box didn't do anything else than copying. I watched the > copy process via 'systat -vmstat 1' and realized, that the value of 'KB/t' > never go byond 128 (128kb buffer limit?). But more frustrating, I never got > beyond 33 MB/s transfer rate although bonni/bonni++ told me both drives are > capable doing much more (~75 MB/s each). At home, I use a FreeBSD > 7.0-CURRENT box on an ASUS A8N32-SLI/nForce4-SLI based box, amd64 (no 32Bit > compatibility). Two Hitachi T7K250 250 GB/SATA II drives build up a RAID 0 > (nVidia MediaShield), and additionally there is a SAMSUNG Spinpoitn SP2004C > attached to the controller. bonni results in 55 MB/s for the SP2004C alone > and gives ~ 65 - 70 MB/s for the Hitachis, each and roughly 115 MB/s for the > RAID 0. But copying from the single drive to the RAID 0 or from the RAID 0 > to the single drive also reaches this oscure 33 MB/s boundary! It would be helpful if you could provide the dmesg output for the ATA controllers and devices. Sometimes, issues such as this come down to negotiated speed and bus topology. For example, if you have two devices on the same bus, then each byte of data copied has to pass over the bus twice, which may run into performance limits on the bus where moving the data over the bus once won't. Another area to investigate is the difference between raw device performance and file system performance. Does it make a difference if you copy using dd to a file that is already allocated? What performance does dd get when just reading from the file, or using dd to copy the file? What if the file already exists and you are simply overwriting it (avoiding the overhead of allocating)? Is your disk fragmented, leading to more seeks in placing new files, or is it relatively empty, which should lead to more contiguous storage? Finally, disk performance varies enourmously by location where the I/O is taking place on the disk. Try running diskinfo -t on your various disk devices, and see if there's a correlation between the maximum I/O rate you're experiencing and the location on the source or target drive? On the ATA disk on my workstation, I see 53M/s on the outside of the disk platter, but only 31M/s on the inside of the disk platter. Especially if your drive is relatively full, files may be ending up in less preferred locations on the disk resulting in reduced performance. Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 11:58:20 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 93DA116A404 for ; Sun, 4 Mar 2007 11:58:20 +0000 (UTC) (envelope-from chrcoluk@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.freebsd.org (Postfix) with ESMTP id 2C90913C4A5 for ; Sun, 4 Mar 2007 11:58:19 +0000 (UTC) (envelope-from chrcoluk@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so1695570nfc for ; Sun, 04 Mar 2007 03:58:19 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=C+7521g0USWsR/hLL6OjuuYXn62PJnTz+Z4+xwZM6IZ3771izwniLL5ozw7ZCJs3RZYnLMD1JK6NbSD16q+nc91QcWbFQF+3pJbR5Av8OwMZ66ZuVMa5rFAHGePWFh7KtfIk34xOs7nNt3uW51Wb43roRnrH4gm4c0aSx1xNrkw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=at+IAYLugiSrlW50paRdDIF19692dgccOw+Wxk/SB0OAeWlR81bxS/droNXYpoYJVBAfNYusjGsyhbFgUu5AlNQtTEle3awsXsNqF9C41QhtMUJTzMy5NeH/lr2Dx/fPHRmqCTeOM3O8lEpyY4le5vVfykbLWqJFD5XoBHQdB/I= Received: by 10.82.187.16 with SMTP id k16mr3337814buf.1173009498856; Sun, 04 Mar 2007 03:58:18 -0800 (PST) Received: by 10.82.134.15 with HTTP; Sun, 4 Mar 2007 03:58:18 -0800 (PST) Message-ID: <3aaaa3a0703040358v7002e5c7pbd0c8d5b960e1f5f@mail.gmail.com> Date: Sun, 4 Mar 2007 11:58:18 +0000 From: Chris To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: loader wont boot on cd 6.2 and 5.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: Sun, 04 Mar 2007 11:58:20 -0000 Hi. An associate of mine is unable to install freebsd, we hitting the old poor hardware compatiblity problem. Its not cost effective to use a normal ide cdrom for installations so a usb cdrom is used and this has no problems with linux and windows. When trying to install freebsd after the loader pronpt it either gives a load of random numbers flooding the screen or if we toggle acpi in the bios it says btx halted. Googling btx halted indicates dma problems but we have no dma stuff been its a usb drive. any ideas other then changing hardware? The motherboard is Supermicro PDSMi+ with core duo chip also same problem with Supermicro P8SCi and celeron. Thanks Chris From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 12:56:07 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E6F9D16A401 for ; Sun, 4 Mar 2007 12:56:07 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id 7D56513C428 for ; Sun, 4 Mar 2007 12:56:07 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so1703426nfc for ; Sun, 04 Mar 2007 04:56:06 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fyY4+akDYiSHTYsZOdjb2QXmPY5Pn7fy6gp/fVNkCWtqMymSpOOeeVtfL+5UDgW6eXabMjxuzC98KAkbGaFzuAdJzQSbr3QE5nmkmAe+YPOFGRGTxDDxHlei/hwT/ZXB7GmW5KWZJn0ZDSNXFsDmsp4eefEWTygXan+lTdNE7GA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=eUq/rTnUdPIIk3WCyk0Ny7ObWkgTWeUdRgkMwK6edmQDswCZNvherbljqU6yAOCgUsxu5FZFPL+GdSad1AV4COl1+BwvXHptYgjf4V7CDPaOHjpMxzGWdhhwoARi7QyH5NpFlgr0JbTvj7eL3ibduS7Rxe1vID/lhzJlu+9bUPQ= Received: by 10.82.163.13 with SMTP id l13mr3414884bue.1173012965956; Sun, 04 Mar 2007 04:56:05 -0800 (PST) Received: by 10.82.191.16 with HTTP; Sun, 4 Mar 2007 04:56:05 -0800 (PST) Message-ID: <80f4f2b20703040456pbbc5be5nb094e6b612198214@mail.gmail.com> Date: Sun, 4 Mar 2007 12:56:05 +0000 From: "Jim Stapleton" To: "Josh Paetzel" , freebsd-questions@freebsd.org In-Reply-To: <200703032317.16140.josh@tcbug.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <80f4f2b20703021833kfa8d0dxaa838b2bfc72f400@mail.gmail.com> <80f4f2b20703021834u131ae0e8i6f73e29d013e04d4@mail.gmail.com> <200703032317.16140.josh@tcbug.org> Cc: Subject: Re: hauppauge PVR 150 problem loading modules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 12:56:08 -0000 Thank you, I'll call hauppauge tomorrow, they seem to be quite friendly about it. I was trying to find the file that spat out the error message but was lost. Thanks again, -Jim Stapleton On 3/4/07, Josh Paetzel wrote: > On Friday 02 March 2007 20:34, Jim Stapleton wrote: > > I appologize -questions, disregard this, it was supposed to go to > > multimedia. > > > > On 3/3/07, Jim Stapleton wrote: > > > After being unable to get the WinTV-Radio work, I replaced it > > > with a PVR-150. I followed the instructions here: > > > http://lists.freebsd.org/pipermail/freebsd-multimedia/2006-Novemb > > >er/005351.html > > > > > > attempting to get the PVR 150 I just picked up working. However, > > > after loading the modules as described in the output of the > > > pvrxxx port, and the message listed, no new devices showed up. I > > > checked > > > /var/log/messages and go this: > > > > > > sjss@elrond 21:28:36 (0) ~ > cat /var/log/messages | grep cxm > > > Mar 2 20:47:11 elrond sudo: sjss : TTY=ttyp1 ; > > > PWD=/usr/ports/multimedia/pvrxxx ; USER=root ; > > > COMMAND=/usr/local/bin/emacs work/modules/cxm/cxm/fbsd-compat.c > > > Mar 2 20:49:05 elrond sudo: sjss : TTY=ttyp1 ; > > > PWD=/usr/ports/multimedia/pvrxxx ; USER=root ; > > > COMMAND=/usr/local/bin/emacs work/modules/cxm/cxm/fbsd-compat.c > > > Mar 2 21:27:50 elrond sudo: sjss : TTY=ttyp1 ; > > > PWD=/home/sjss ; USER=root ; COMMAND=/sbin/kldload cxm_iic > > > Mar 2 21:27:53 elrond sudo: sjss : TTY=ttyp1 ; > > > PWD=/home/sjss ; USER=root ; COMMAND=/sbin/kldload cxm > > > Mar 2 21:27:53 elrond kernel: cxm0: > > > mem 0xc0000000-0xc3ffffff irq 16 at device 6.0 on pci5 > > > Mar 2 21:27:53 elrond kernel: cxm_iic0: > > iTVC16 I2C controller> on cxm0 > > > Mar 2 21:27:53 elrond kernel: iicbb0: > > > on cxm_iic0 Mar 2 21:27:53 elrond kernel: cxm0: unknown tuner > > > code 0x67 Mar 2 21:27:53 elrond kernel: cxm0: could not > > > initialize tuner Mar 2 21:27:53 elrond kernel: cxm_iic0: > > > detached > > > Mar 2 21:27:53 elrond kernel: device_attach: cxm0 attach > > > returned 6 > > > > > > > > > So it's safe to say I have an unknown tuner on this card, what > > > would my next step from here be? > > > > > > Thank you, > > > -Jim Stapleton > > > > In /usr/ports/multimedia/pvrxxx/work/dev/cxm/cxm_eeprom.c there's a > big switch of tuner codes starting on line 213....either figure out > what tuner you have and add the appropriate entry for the tuner code > it's showing or start guessing. > > -- > Thanks, > > Josh Paetzel > From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 12:58:12 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3D5EC16A402 for ; Sun, 4 Mar 2007 12:58:12 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 123C213C474 for ; Sun, 4 Mar 2007 12:58:12 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from working (c-71-60-174-60.hsd1.pa.comcast.net [71.60.174.60]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTP id 73E8DEBC62; Sun, 4 Mar 2007 07:58:11 -0500 (EST) Date: Sun, 4 Mar 2007 07:58:10 -0500 From: Bill Moran To: perryh@pluto.rain.com Message-Id: <20070304075810.edf89beb.wmoran@potentialtech.com> In-Reply-To: <45ea826a.nhh75OV5pzwbA0VX%perryh@pluto.rain.com> References: <45ea826a.nhh75OV5pzwbA0VX%perryh@pluto.rain.com> X-Mailer: Sylpheed version 2.2.10 (GTK+ 2.10.9; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: What is an "implicit destination" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 12:58:12 -0000 perryh@pluto.rain.com wrote: > > I go this auto-response after replying to a message on questions@ > a few hours ago: > > > From: owner-freebsd-questions@freebsd.org > > Subject: Your message to freebsd-questions awaits moderator approval > > Date: Sun, 04 Mar 2007 05:43:56 +0000 > > > > Your mail to 'freebsd-questions' with the subject > > > > Re: BSDstats report for Mar 1st, 2006 > > > > Is being held until the list moderator can review it for approval. > > > > The reason it is being held: > > > > Message has implicit destination > > > > 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: > > > PLEASE NOTE! If you would like to post freely to the list, please > > subscribe first. If you post from multiple addresses, you can > > subscribe each address and go into the options page and select 'no > > mail' for all but one address. This will allow you to post without > > delay in the future. > > but I *am* subscribed! I believe that means that your envelope-from contains freebsd-questions@, but your To: and/or CC: lines do not. The way spammers use the "unspecified-recipients" crap ... -- Bill Moran http://www.potentialtech.com From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 13:16:48 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0FAC116A403 for ; Sun, 4 Mar 2007 13:16:48 +0000 (UTC) (envelope-from cemasko@fibermail.hu) Received: from smtp.opticon.hu (smtp.bacs-net.hu [195.56.234.123]) by mx1.freebsd.org (Postfix) with SMTP id 3E2A513C481 for ; Sun, 4 Mar 2007 13:16:47 +0000 (UTC) (envelope-from cemasko@fibermail.hu) Received: (qmail 1263 invoked from network); 4 Mar 2007 08:13:17 -0000 Received: from unknown (HELO bio-dron.bogyotech.hu) (85.66.29.75) by smtp.opticon.hu with SMTP; 4 Mar 2007 08:13:17 -0000 Date: Sun, 4 Mar 2007 09:13:13 +0100 From: Viktor Cemasko To: freebsd-questions@freebsd.org Message-ID: <20070304091313.14797244@bio-dron.bogyotech.hu> In-Reply-To: <770699.33265.qm@web53414.mail.yahoo.com> References: <770699.33265.qm@web53414.mail.yahoo.com> Organization: Plomo =?UTF-8?B?w7M=?= Plomo X-Mailer: Claws Mail 2.8.0 (GTK+ 2.10.9; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BitDefender-Scanner: Clean, Agent: BitDefender qmail 2.0.0 on smtp X-BitDefender-Spam: No (0) X-BitDefender-SpamStamp: v1, bayes score: 500, neunet score: 500, flags: [BODY_R_SOFT_0206_7; ], total: 0 Subject: Re: Firefox only runs as root--help! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 13:16:48 -0000 On Fri, 2 Mar 2007 19:04:33 -0800 (PST) Dr. Jennifer Nussbaum wrote: > What do i need to be doing? 1. Backup /home/$user/.mozilla/ directory. 2. Remove /home/$user/.mozilla/ directory. 3. Start "firefox" on the command line as a normal user. -- Best regards, Smith & Wesson: Cemasko Viktor. the original point-and-click interface. From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 15:08:35 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 84DDA16A402 for ; Sun, 4 Mar 2007 15:08:35 +0000 (UTC) (envelope-from knizek@volny.cz) Received: from smtp-out4.iol.cz (smtp-out4.iol.cz [194.228.2.92]) by mx1.freebsd.org (Postfix) with ESMTP id 43A0813C491 for ; Sun, 4 Mar 2007 15:08:35 +0000 (UTC) (envelope-from knizek@volny.cz) Received: from antivir6.iol.cz (unknown [192.168.30.215]) by smtp-out4.iol.cz (Postfix) with ESMTP id DDB4616433C for ; Sun, 4 Mar 2007 14:49:04 +0000 (UTC) Received: from localhost (antivir6.iol.cz [127.0.0.1]) by antivir6.iol.cz (Postfix) with ESMTP id 9661426003B for ; Sun, 4 Mar 2007 15:49:04 +0100 (CET) X-Virus-Scanned: amavisd-new at iol.cz Received: from antivir6.iol.cz ([127.0.0.1]) by localhost (antivir6.iol.cz [127.0.0.1]) (amavisd-new, port 10224) with LMTP id 8wz23I1379XX for ; Sun, 4 Mar 2007 15:49:04 +0100 (CET) Received: from smtp-out4.iol.cz (mta-out4 [192.168.30.31]) by antivir6.iol.cz (Postfix) with ESMTP id 72863260039 for ; Sun, 4 Mar 2007 15:49:04 +0100 (CET) Received: from [192.168.1.23] (unknown [88.103.7.126]) by smtp-out4.iol.cz (Postfix) with ESMTP id 3738147E3D for ; Sun, 4 Mar 2007 15:49:04 +0100 (CET) From: Milan Knizek To: freebsd-questions@freebsd.org Date: Sun, 4 Mar 2007 15:48:37 +0100 User-Agent: KMail/1.9.5 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200703041548.37064.knizek@volny.cz> Subject: How to remove stale files if make install fails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 15:08:35 -0000 Hello, is there an automated way, other then manually going through pkg-plist, how= to=20 delete already installed files of a port, if the "make install" fails befor= e=20 completion? "make deinstall" and "pkg_delete" refuses to delete the port's files, since= =20 the port was not recorded in package database. Best regards, =2D-=20 Milan Kn=ED=BEek http://milan-knizek.net/ e-mail knizek {na} volny {v} cz From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 15:17:14 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ED94016A400 for ; Sun, 4 Mar 2007 15:17:14 +0000 (UTC) (envelope-from vizion@vizion.occoxmail.com) Received: from dukecmmtao03.coxmail.com (dukecmmtao03.coxmail.com [68.99.120.70]) by mx1.freebsd.org (Postfix) with ESMTP id 81C8A13C428 for ; Sun, 4 Mar 2007 15:17:14 +0000 (UTC) (envelope-from vizion@vizion.occoxmail.com) Received: from dukecmmtao03 ([172.18.22.61]) by dukecmmtao03.coxmail.com (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with SMTP id <20070304151714.FMIX2045.dukecmmtao03.coxmail.com@dukecmmtao03> for ; Sun, 4 Mar 2007 10:17:14 -0500 X-Mailer: Openwave WebEngine, version 2.8.16 (webedge20-101-1106-20040809) From: Vizion Organization: vizion Communications To: Date: Sun, 4 Mar 2007 7:17:13 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20070304151714.FMIX2045.dukecmmtao03.coxmail.com@dukecmmtao03> Subject: ImageMagick - build failure - lgvc X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 15:17:15 -0000 Does anyone help solve this one? ------------------------------------------------- mv -f coders/.deps/coders_dib_la-dib.Tpo coders/.deps/coders_dib_la-dib.Plo /bin/sh /usr/local/bin/libtool --silent --tag=CC --mode=link cc -O2 -fno-strict-aliasing -pipe -no-undefined -module -avoid-version -L/usr/local/lib -L/usr/X11R6/lib -R/usr/X11R6/lib -L/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -lfreetype -lz -L/usr/local/lib -o coders/dib.la -rpath /usr/local/lib/ImageMagick/modules-Q16/coders coders/coders_dib_la-dib.lo magick/libMagick.la /bin/sh /usr/local/bin/libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I./magick -I./wand -I/usr/local/include/graphviz -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include/libxml2 -O2 -fno-strict-aliasing -pipe -MT coders/coders_dot_la-dot.lo -MD -MP -MF coders/.deps/coders_dot_la-dot.Tpo -c -o coders/coders_dot_la-dot.lo `test -f 'coders/dot.c' || echo './'`coders/dot.c mv -f coders/.deps/coders_dot_la-dot.Tpo coders/.deps/coders_dot_la-dot.Plo /bin/sh /usr/local/bin/libtool --silent --tag=CC --mode=link cc -O2 -fno-strict-aliasing -pipe -no-undefined -module -avoid-version -L/usr/local/lib -L/usr/X11R6/lib -R/usr/X11R6/lib -L/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -lfreetype -lz -L/usr/local/lib -o coders/dot.la -rpath /usr/local/lib/ImageMagick/modules-Q16/coders coders/coders_dot_la-dot.lo magick/libMagick.la -L/usr/local/lib -lgvc /usr/bin/ld: cannot find -lgvc gmake: *** [coders/dot.la] Error 1 *** Error code 2 Stop in /usr/ports/graphics/ImageMagick. I thought this might be due to graphviz that was installed but with limted options.-- I deinstalled made clean and reinstalled a config with all options checked. I also deinstalled ImageMagick, made clean and removed that port entirely from the ports tree and then, after a cvsup tried and got this build failure. Thanks in advance for help david From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 15:38:30 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 62C6516A401 for ; Sun, 4 Mar 2007 15:38:30 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from pizzabox.cyberleo.net (alpha.cyberleo.net [198.145.45.10]) by mx1.freebsd.org (Postfix) with ESMTP id 2CA2E13C441 for ; Sun, 4 Mar 2007 15:38:30 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: (qmail 34113 invoked from network); 4 Mar 2007 15:11:48 -0000 Received: from adsl-75-3-93-223.dsl.chcgil.sbcglobal.net (HELO ?172.16.44.14?) (cyberleo@cyberleo.net@75.3.93.223) by alpha.cyberleo.net with ESMTPA; 4 Mar 2007 15:11:48 -0000 Message-ID: <45EAE1AD.10706@cyberleo.net> Date: Sun, 04 Mar 2007 09:11:41 -0600 From: CyberLeo Kitsana User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Router with multiple DSL uplinks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 15:38:30 -0000 Hi! I'm trying to configure a NAT router with multiple DSL uplinks from the same provider. Everything seems to work properly, except when connecting via PPPoE--the second link to come up receives an error while attempting to configure the second tun interface, as both links assign addresses in the same subnet and to the same peer. Is there some configuration or trick I can use to coerce the router to bring up both links properly? PPp ON router1> Warning: iface add: ioctl(SIOCAIFADDR, xx.xx.xx.230/24 -> 192.0.2.100): File exists Error: ipcp_InterfaceUp: unable to set ip address Thanks lots! -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://www.fur.com/peace/ From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 15:56:25 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 65ED616A402 for ; Sun, 4 Mar 2007 15:56:25 +0000 (UTC) (envelope-from vizion@vizion.occoxmail.com) Received: from dukecmmtao03.coxmail.com (dukecmmtao03.coxmail.com [68.99.120.70]) by mx1.freebsd.org (Postfix) with ESMTP id F10CF13C442 for ; Sun, 4 Mar 2007 15:56:24 +0000 (UTC) (envelope-from vizion@vizion.occoxmail.com) Received: from dukecmmtao03 ([172.18.22.62]) by dukecmmtao03.coxmail.com (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with SMTP id <20070304155625.HJEL2045.dukecmmtao03.coxmail.com@dukecmmtao03> for ; Sun, 4 Mar 2007 10:56:25 -0500 X-Mailer: Openwave WebEngine, version 2.8.16 (webedge20-101-1106-20040809) From: Vizion Organization: vizion Communications To: Date: Sun, 4 Mar 2007 7:56:24 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20070304155625.HJEL2045.dukecmmtao03.coxmail.com@dukecmmtao03> Subject: Re: ImageMagick - build failure - lgvc -SOLVED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 15:56:25 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Vizion > Sent: Sunday, March 04, 2007 7:17 AM > To: freebsd-questions@freebsd.org > Subject: ImageMagick - build failure - lgvc > > Does anyone help solve this one? > ------------------------------------------------- > mv -f coders/.deps/coders_dib_la-dib.Tpo > coders/.deps/coders_dib_la-dib.Plo > /bin/sh /usr/local/bin/libtool --silent --tag=CC --mode=link > cc -O2 -fno-strict-aliasing -pipe -no-undefined -module > -avoid-version -L/usr/local/lib -L/usr/X11R6/lib > -R/usr/X11R6/lib -L/usr/local/lib -Wl,--rpath > -Wl,/usr/local/lib -lfreetype -lz -L/usr/local/lib -o > coders/dib.la -rpath /usr/local/lib/ImageMagick/modules-Q16/coders > coders/coders_dib_la-dib.lo magick/libMagick.la > /bin/sh /usr/local/bin/libtool --silent --tag=CC --mode=compile > cc -DHAVE_CONFIG_H -I. -I./magick -I./wand > -I/usr/local/include/graphviz > -I/usr/local/include/freetype2 -I/usr/local/include > -I/usr/local/include -I/usr/X11R6/include > -I/usr/local/include/libxml2 -O2 -fno-strict-aliasing -pipe -MT > coders/coders_dot_la-dot.lo -MD -MP -MF > coders/.deps/coders_dot_la-dot.Tpo -c -o coders/coders_dot_la-dot.lo > `test -f 'coders/dot.c' || echo './'`coders/dot.c > mv -f coders/.deps/coders_dot_la-dot.Tpo > coders/.deps/coders_dot_la-dot.Plo > /bin/sh /usr/local/bin/libtool --silent --tag=CC --mode=link > cc -O2 -fno-strict-aliasing -pipe -no-undefined -module > -avoid-version -L/usr/local/lib -L/usr/X11R6/lib > -R/usr/X11R6/lib -L/usr/local/lib -Wl,--rpath > -Wl,/usr/local/lib -lfreetype -lz -L/usr/local/lib -o > coders/dot.la -rpath /usr/local/lib/ImageMagick/modules-Q16/coders > coders/coders_dot_la-dot.lo magick/libMagick.la -L/usr/local/lib -lgvc > /usr/bin/ld: cannot find -lgvc > gmake: *** [coders/dot.la] Error 1 > *** Error code 2 > > Stop in /usr/ports/graphics/ImageMagick. > > I thought this might be due to graphviz that was installed > but with limted options.-- I deinstalled made clean and > reinstalled a config with all options checked. > I also deinstalled ImageMagick, made clean and removed that > port entirely from the ports tree and then, after a cvsup > tried and got this build failure. > > Thanks in advance for help > david OK it will compile if the 16BIT option is turned off - i.e no gvc From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 16:32:41 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0B16E16A40A for ; Sun, 4 Mar 2007 16:32:41 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 1F68613C471 for ; Sun, 4 Mar 2007 16:32:40 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.66) with esmtp (envelope-from ) id <1HNtdW-0006Bc-RO>; Sun, 04 Mar 2007 17:32:38 +0100 Received: from e178015054.adsl.alicedsl.de ([85.178.15.54] helo=[192.168.1.128]) by inpost2.zedat.fu-berlin.de (Exim 4.66) with esmtpsa (envelope-from ) id <1HNtdW-0004sL-DE>; Sun, 04 Mar 2007 17:32:38 +0100 Message-ID: <45EAF4E7.6040708@mail.zedat.fu-berlin.de> Date: Sun, 04 Mar 2007 17:33:43 +0100 From: "O. Hartmann" User-Agent: Thunderbird 1.5.0.9 (X11/20070211) MIME-Version: 1.0 References: <45E7F09B.7070005@zedat.fu-berlin.de> <200703021929.l22JTdrU091774@lava.sentex.ca> In-Reply-To: <200703021929.l22JTdrU091774@lava.sentex.ca> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.15.54 Cc: freebsd-performance@freebsd.org, freebsd-questions@freebsd.org Subject: Re: (S)ATA performance in FBSD 6.2/7.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 16:32:41 -0000 Mike Tancsa wrote: > At 04:38 AM 3/2/2007, O. Hartmann wrote: >> The last days I tried to figure out why some of my lab's FreeBSD >> boxes and also mine at home seem to be outperformed by some Linux >> setups around here and I saw something interesting. >> >> On my lab's FreeBSD 6.2/i386 box (ASUS P4P800, ICH5 with two SATA 150 >> ports, two SATA 300 drives attached) I copied big files (~ 5GB) from >> one drive to > > > Something strange about your setup I would say. I just tried on a > Segate SATA drive off an ICH5 chipset (plain old P IV 2.4Ghz). Do you > have an option in your BIOS for "native mode" or compatibility mode > for the SATA controller ? If so, try toggling that to native SATA mode > > [ns4]% iostat -c 1000 > tty ad4 twed0 cpu > tin tout KB/t tps MB/s KB/t tps MB/s us ni sy in id > 2 447 4.91 0 0.00 23.77 40 0.92 20 0 6 0 74 > 4 307 0.00 0 0.00 12.61 14 0.17 0 0 0 0 100 > 1 183 0.00 0 0.00 14.50 4 0.06 0 0 0 0 100 > 1 63 128.00 47 5.82 0.00 0 0.00 7 0 7 0 86 > 0 182 128.00 534 66.70 15.25 8 0.12 0 0 15 8 77 > 0 60 128.00 553 69.13 2.00 2 0.00 0 0 8 8 85 > 0 182 128.00 537 67.14 14.50 4 0.06 15 0 31 15 38 > 0 60 128.00 553 69.06 0.00 0 0.00 54 0 0 8 38 > 0 60 128.00 538 67.21 0.00 0 0.00 23 0 0 8 69 > 1 301 128.00 495 61.88 12.18 22 0.26 0 0 8 0 92 > > > [ns4]# dd if=/dev/ad4 of=/dev/null bs=1024k > ^C410+0 records in > 410+0 records out > 429916160 bytes transferred in 6.089321 secs (70601659 bytes/sec) > [ns4]# > > > [ns4]# atacontrol cap ad4 > > Protocol Serial ATA II > device model ST3400833NS > serial number 5NF25DTG > firmware revision 3.AEH > cylinders 16383 > heads 16 > sectors/track 63 > lba supported 268435455 sectors > lba48 supported 781422768 sectors > dma supported > overlap not supported > > Feature Support Enable Value Vendor > write cache yes yes > read ahead yes yes > Native Command Queuing (NCQ) yes - 31/0x1F > Tagged Command Queuing (TCQ) no no 31/0x1F > SMART yes yes > microcode download yes yes > security yes no > power management yes yes > advanced power management no no 65278/0xFEFE > automatic acoustic management no no 0/0x00 254/0xFE > [ns4]# > Sorry for waiting so long, but weekend and a lot of work prevented me from answering earlier. All right, I checked on three boxes the BIOS settings and ensured no legacy settings on any SATA device. In general, I realized using 'dd' results in much better drive-to-drive bandwith than doing just a 'cp'. As many times recommended herein, I used bs=128k, but look for yourself on the results. Box A, FreeBSD 7.0-CURRENT/AMD64: FreeBSD foo.org 7.0-CURRENT FreeBSD 7.0-CURRENT #38: Sun Mar 4 12:45:42 CET 2007 root@foor.org:/usr/obj/usr/src/sys/FOO amd64 Relevant harware: Copyright (c) 1992-2007 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 7.0-CURRENT #38: Sun Mar 4 12:45:42 CET 2007 root@thor.walstatt.dyndns.org:/usr/obj/usr/src/sys/THOR ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 Processor 3500+ (2210.07-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x10ff0 Stepping = 0 Features=0x78bfbff AMD Features=0xe2500800 AMD Features2=0x1 usable memory = 2136956928 (2037 MB) avail memory = 2062622720 (1967 MB) ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0 cpu0: on acpi0 [...] atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 15.0 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] atapci1: port 0xb480-0xb487,0xb400-0xb403,0xb080-0xb087,0xb000-0xb003,0xac00-0xac0f mem 0xddcf9000-0xddcf9fff irq 23 at device 16.0 on pci0 atapci1: [ITHREAD] ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] atapci2: port 0xa880-0xa887,0xa800-0xa803,0xa480-0xa487,0xa400-0xa403,0xa080-0xa08f mem 0xddcf8000-0xddcf8fff irq 20 at device 17.0 on pci0 atapci2: [ITHREAD] ata4: on atapci2 ata4: [ITHREAD] ata5: on atapci2 ata5: [ITHREAD] [...] thor# atacontrol cap ad4 Protocol Serial ATA II device model HDT722525DLA380 serial number VDK41BT4EJJW3K firmware revision V44OA96A cylinders 16383 heads 16 sectors/track 63 lba supported 268435455 sectors lba48 supported 488397168 sectors dma supported overlap not supported Feature Support Enable Value Vendor write cache yes yes read ahead yes yes Native Command Queuing (NCQ) yes - 31/0x1F Tagged Command Queuing (TCQ) no no 31/0x1F SMART yes yes microcode download yes yes security yes no power management yes yes advanced power management yes no 0/0x00 automatic acoustic management yes no 254/0xFE 128/0x80 thor# atacontrol cap ad6 Protocol Serial ATA II device model HDT722525DLA380 serial number VDK41BT4EJ58WK firmware revision V44OA96A cylinders 16383 heads 16 sectors/track 63 lba supported 268435455 sectors lba48 supported 488397168 sectors dma supported overlap not supported Feature Support Enable Value Vendor write cache yes yes read ahead yes yes Native Command Queuing (NCQ) yes - 31/0x1F Tagged Command Queuing (TCQ) no no 31/0x1F SMART yes yes microcode download yes yes security yes no power management yes yes advanced power management yes no 0/0x00 automatic acoustic management yes no 254/0xFE 128/0x80 thor# atacontrol cap ad8 Protocol Serial ATA II device model SAMSUNG SP2004C serial number S07GJ10Y304470 firmware revision VM100-31 cylinders 16383 heads 16 sectors/track 63 lba supported 268435455 sectors lba48 supported 390721968 sectors dma supported overlap not supported Feature Support Enable Value Vendor write cache yes yes read ahead yes yes Native Command Queuing (NCQ) yes - 31/0x1F Tagged Command Queuing (TCQ) no no 31/0x1F SMART yes yes microcode download yes yes security yes no power management yes yes advanced power management no no 0/0x00 automatic acoustic management yes no 0/0x00 254/0xFE The dmesg portion reflecting the drive configuration on the above mentioned box: acd0: DVDR at ata0-master UDMA33 ad4: 238475MB at ata2-master SATA300 ad6: 238475MB at ata3-master SATA300 ad8: 190782MB at ata4-master SATA300 ar0: 476950MB status: READY ar0: disk0 READY using ad6 at ata3-master ar0: disk1 READY using ad4 at ata2-master Below some test results using dd: 1) dd if=/dev/ad8 of=/dev/null (/dev/null is on ar0) thor# iostat -c 25 tty ad4 ad6 ad8 cpu tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id 71 35 2.57 0 0.00 2.61 0 0.00 22.55 249 5.47 3 0 1 0 96 1 231 0.00 0 0.00 0.00 0 0.00 0.50 7535 3.68 2 0 30 6 62 287 78 0.00 0 0.00 0.00 0 0.00 0.50 7474 3.65 0 0 30 4 65 351 78 0.00 0 0.00 0.00 0 0.00 0.50 7475 3.65 0 0 20 6 74 519 78 0.00 0 0.00 0.00 0 0.00 0.50 7484 3.65 2 0 20 6 72 671 78 0.00 0 0.00 0.00 0 0.00 0.50 7535 3.68 0 0 17 4 79 559 78 0.00 0 0.00 0.00 0 0.00 0.50 7470 3.65 0 0 24 2 74 495 78 0.00 0 0.00 0.00 0 0.00 0.50 7469 3.65 2 0 25 2 72 511 78 0.00 0 0.00 0.00 0 0.00 0.50 7504 3.66 0 0 20 3 77 144 78 0.00 0 0.00 0.00 0 0.00 0.50 7521 3.67 0 0 27 4 69 0 78 0.00 0 0.00 0.00 0 0.00 0.50 7474 3.65 0 0 26 6 68 0 78 0.00 0 0.00 0.00 0 0.00 0.50 7476 3.65 0 0 24 8 68 136 78 0.00 0 0.00 0.00 0 0.00 0.50 7506 3.66 0 0 27 5 68 40 78 0.00 0 0.00 0.00 0 0.00 0.50 7513 3.67 0 0 24 4 71 567 78 0.00 0 0.00 0.00 0 0.00 0.50 7465 3.64 2 0 27 4 68 455 78 0.00 0 0.00 0.00 0 0.00 0.50 7482 3.65 1 0 28 5 65 655 78 0.00 0 0.00 0.00 0 0.00 0.50 7543 3.68 2 0 28 8 61 208 78 0.00 0 0.00 0.00 0 0.00 0.50 7484 3.65 1 0 27 4 68 152 78 0.00 0 0.00 0.00 0 0.00 0.50 7471 3.65 0 0 29 6 64 287 78 0.00 0 0.00 0.00 0 0.00 0.50 7476 3.65 0 0 28 4 68 2) dd if=/dev/ad8 of=/dev/null bs=128k (/dev/null is on ar0) thor# iostat -c 25 tty ad4 ad6 ad8 cpu tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id 75 35 2.57 0 0.00 2.61 0 0.00 13.20 424 5.46 3 0 2 0 95 1 231 0.00 0 0.00 0.00 0 0.00 64.00 913 57.09 1 0 3 0 95 415 77 0.00 0 0.00 0.00 0 0.00 64.00 912 57.01 0 0 2 0 98 64 77 0.00 0 0.00 0.00 0 0.00 64.00 914 57.14 0 0 2 0 98 16 77 0.00 0 0.00 0.00 0 0.00 64.00 914 57.14 0 0 4 0 96 0 77 0.00 0 0.00 0.00 0 0.00 64.00 912 57.01 0 0 2 0 97 0 77 0.00 0 0.00 0.00 0 0.00 64.00 914 57.14 0 0 3 0 97 96 77 0.00 0 0.00 0.00 0 0.00 64.00 906 56.64 0 0 2 2 96 8 77 0.00 0 0.00 0.00 0 0.00 64.00 905 56.57 0 0 3 0 96 48 77 0.00 0 0.00 0.00 0 0.00 64.00 914 57.14 0 0 2 0 98 431 77 0.00 0 0.00 0.00 0 0.00 64.00 913 57.07 0 0 4 0 96 144 77 0.00 0 0.00 0.00 0 0.00 64.00 914 57.14 0 0 2 0 98 104 77 0.00 0 0.00 0.00 0 0.00 64.00 913 57.07 0 0 2 1 96 16 77 0.00 0 0.00 0.00 0 0.00 64.00 913 57.07 0 0 2 1 97 0 77 0.00 0 0.00 0.00 0 0.00 64.00 914 57.14 0 0 2 0 97 0 77 0.00 0 0.00 0.00 0 0.00 64.00 913 57.07 0 0 3 1 96 1 77 0.00 0 0.00 0.00 0 0.00 64.00 913 57.07 0 0 2 0 98 15 77 0.00 0 0.00 0.00 0 0.00 64.00 914 57.14 0 0 2 2 96 As we can see in this case, bandwith hits the maximum what could be delivered by the SAMSUNG SP2004C drive. 3) dd if=/dev/ad4 of=/dev/null thor# iostat -c 25 tty ad4 ad6 ad8 cpu tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id 79 34 32.72 31 1.00 2.61 0 0.00 15.83 425 6.57 3 0 2 0 95 1 230 0.50 14370 7.02 0.00 0 0.00 0.00 0 0.00 1 0 42 8 50 0 79 0.50 14371 7.02 0.00 0 0.00 0.00 0 0.00 2 0 44 8 46 0 79 0.50 14277 6.97 0.00 0 0.00 0.00 0 0.00 2 0 45 8 45 0 79 0.50 14263 6.96 0.00 0 0.00 0.00 0 0.00 1 0 36 8 55 0 79 0.50 14387 7.03 0.00 0 0.00 0.00 0 0.00 2 0 43 10 44 0 79 0.50 14383 7.02 0.00 0 0.00 0.00 0 0.00 1 0 38 9 52 0 79 0.50 14395 7.03 0.00 0 0.00 0.00 0 0.00 0 0 36 11 53 431 79 0.50 14358 7.01 0.00 0 0.00 0.00 0 0.00 2 0 48 8 42 399 79 0.50 14330 7.00 0.00 0 0.00 0.00 0 0.00 1 0 44 6 50 0 79 0.50 14380 7.02 0.00 0 0.00 0.00 0 0.00 1 0 40 6 52 33 79 0.50 14363 7.01 0.00 0 0.00 0.00 0 0.00 0 0 44 6 50 17 79 0.50 14378 7.02 0.00 0 0.00 0.00 0 0.00 0 0 39 12 49 4) dd if=/dev/ad4 of=/dev/null bs=128k thor# iostat -c 25 tty ad4 ad6 ad8 cpu tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id 78 35 63.44 1 0.05 2.61 0 0.00 15.83 432 6.67 3 0 2 0 95 1 231 64.00 1074 67.14 0.00 0 0.00 0.00 0 0.00 0 0 3 1 95 0 78 64.00 1076 67.24 0.00 0 0.00 0.00 0 0.00 0 0 1 1 98 0 78 64.00 1076 67.24 0.00 0 0.00 0.00 0 0.00 0 0 2 0 97 0 78 64.00 1076 67.24 0.00 0 0.00 0.00 0 0.00 0 0 4 0 95 0 78 64.00 1076 67.24 0.00 0 0.00 0.00 0 0.00 0 0 0 0 99 0 78 64.00 1075 67.18 0.00 0 0.00 0.00 0 0.00 0 0 4 0 95 0 78 64.00 1076 67.24 0.00 0 0.00 0.00 0 0.00 0 0 6 1 93 0 78 64.00 1076 67.24 0.00 0 0.00 0.00 0 0.00 0 0 0 1 99 0 78 64.00 1075 67.18 0.00 0 0.00 0.00 0 0.00 1 0 5 0 93 0 78 64.00 1068 66.74 0.00 0 0.00 0.00 0 0.00 0 0 2 0 98 0 78 64.00 1074 67.12 0.00 0 0.00 0.00 0 0.00 0 0 4 1 94 0 78 64.00 1076 67.24 0.00 0 0.00 0.00 0 0.00 0 0 4 0 96 0 78 64.00 1076 67.24 0.00 0 0.00 0.00 0 0.00 0 0 1 0 99 407 78 64.00 1076 67.24 0.00 0 0.00 0.00 0 0.00 0 0 4 0 96 260 78 64.00 1077 67.30 0.00 0 0.00 0.00 0 0.00 0 0 2 2 96 ==> for /dev/ad6 it is exactly the same! 5) dd if=/dev/ar0 of=/dev/null bs=128k 4 users Load 0.06 0.11 0.06 Mar 4 16:50 Mem:KB REAL VIRTUAL VN PAGER SWAP PAGER Tot Share Tot Share Free in out in out Act 153036 46624 424148 57400 1731088 count All 196176 47268 4685068 69708 pages Proc: Interrupts r p d s w Csw Trp Sys Int Sof Flt cow 5176 total 2 57 10k 27 2307 2166 2330 zfod 5 atkbd0 1 ozfod fdc0 irq6 5.0%Sys 1.5%Intr 0.0%User 0.0%Nice 93.5%Idle %ozfod ata0 irq14 | | | | | | | | | | | daefr atapci2 20 === prcfr 1 nfe0 ohci0 5 dtbuf totfr ehci0 22 Namei Name-cache Dir-cache 100000 desvn react 2160 atapci1 23 Calls hits % hits % 2523 numvn pdwak 3010 cpu0: time 49 49 100 187 frevn pdpgs intrn Disks ad4 ad6 ad8 ar0 cd0 pass0 119912 wire KB/t 0.00 0.00 0.00 64.00 0.00 0.00 109532 act tps 0 0 0 2152 0 0 51188 inact MB/s 0.00 0.00 0.00 135 0.00 0.00 4660 cache <<<<=========!!! %busy 0 0 0 97 0 0 1726428 free 93360 buf Sorry for the messed up cut-and-paste tty output, but as you can see, pretty fast 135 MB/s with 'dd'. This is the systat-output copying an 1G in size QEMU disk image via 'cp' from /dev/ad8 (/dev/ufs/BACKUP) to my home, located on /dev/ar0s3d: 4 users Load 0.11 0.08 0.06 Mar 4 16:57 Mem:KB REAL VIRTUAL VN PAGER SWAP PAGER Tot Share Tot Share Free in out in out Act 130784 28360 413124 57056 90404 count 6 All 173300 29004 4674044 69364 pages 22 Proc: Interrupts r p d s w Csw Trp Sys Int Sof Flt 37 cow 4549 total 2 55 6637 607 2004 1539 1244 110 50 zfod atkbd0 1 50 ozfod fdc0 irq6 14.0%Sys 3.0%Intr 0.0%User 0.0%Nice 83.0%Idle 100%ozfod ata0 irq14 | | | | | | | | | | | daefr 495 atapci2 20 =======++ 57 prcfr 2 nfe0 ohci0 42 dtbuf 16105 totfr ehci0 22 Namei Name-cache Dir-cache 100000 desvn react 1042 atapci1 23 Calls hits % hits % 2626 numvn 1 pdwak 3010 cpu0: time 64 64 100 1804 frevn 12961 pdpgs intrn Disks ad4 ad6 ad8 ar0 cd0 pass0 264168 wire KB/t 0.00 0.00 63.74 58.47 0.00 0.00 134896 act tps 0 0 492 551 0 0 1514576 inact MB/s 0.00 0.00 30.65 31.48 0.00 0.00 87564 cache %busy 0 0 70 53 0 0 2840 free 218608 buf The transfer rate is jumping between 28 MB/s and sometimes it reaches 38 MB/s, but most time it is around 32/33 MB/s. The next tests were taken on the mentioned FreeBSD 6.2/i386 box at my lab. FreeBSD iota.fu-berlin.de 6.2-STABLE FreeBSD 6.2-STABLE #5: Fri Mar 2 10:09:06 CET 2007 root@iota.fu-berlin.de:/usr/obj/usr/src/sys/IOTA i386 Portions of interest taken from dmesg: Copyright (c) 1992-2007 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 6.2-STABLE #5: Fri Mar 2 10:09:06 CET 2007 root@telesto.geoinf.fu-berlin.de:/usr/obj/usr/src/sys/TELESTO Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2998.57-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff Features2=0x4400> Logical CPUs per core: 2 real memory = 2146631680 (2047 MB) avail memory = 2095501312 (1998 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 netsmb_dev: loaded acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 cpu1: on acpi0 [...] atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 atapci1: port 0xefe0-0xefe7,0xefac-0xefaf,0xefa0-0xefa7,0xefa8-0xefab,0xef90-0xef9f irq 18 at device 31.2 on pci0 ata2: on atapci1 ata3: on atapci1 [...] acd0: CDRW at ata1-master UDMA33 ad4: 238475MB at ata2-master SATA150 ad6: 381554MB at ata3-master SATA150 [...] atacontrol cap ad4 Protocol Serial ATA II device model Hitachi HDT725025VLA380 serial number VFA100R1CD9VBA firmware revision V5DOA52A cylinders 16383 heads 16 sectors/track 63 lba supported 268435455 sectors lba48 supported 488397168 sectors dma supported overlap not supported Feature Support Enable Value Vendor write cache yes yes read ahead yes yes Native Command Queuing (NCQ) yes - 31/0x1F Tagged Command Queuing (TCQ) no no 31/0x1F SMART yes yes microcode download yes yes security yes no power management yes yes advanced power management yes no 0/0x00 automatic acoustic management yes no 254/0xFE 128/0x80 atacontrol cap ad6 Protocol Serial ATA II device model SAMSUNG HD401LJ serial number S0HVJ1CLB07119 firmware revision ZZ100-15 cylinders 16383 heads 16 sectors/track 63 lba supported 268435455 sectors lba48 supported 781422768 sectors dma supported overlap not supported Feature Support Enable Value Vendor write cache yes yes read ahead yes yes Native Command Queuing (NCQ) yes - 31/0x1F Tagged Command Queuing (TCQ) no no 31/0x1F SMART yes yes microcode download yes yes security yes no power management yes yes advanced power management no no 0/0x00 automatic acoustic management yes no 0/0x00 254/0xFE 'dd' test, shotened, because they reflect the same situation as shown above for the AMD64 box: dd if=/dev/ad4 of=/dev/null bs=128k hartmann: iostat -c 10 tty ad4 ad6 cd0 cpu tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id 0 2 31.12 2 0.06 124.95 1 0.13 0.00 0 0.00 2 0 0 0 98 0 232 128.00 489 61.08 0.00 0 0.00 0.00 0 0.00 0 0 3 1 96 0 78 128.00 505 63.19 0.00 0 0.00 0.00 0 0.00 0 0 5 0 95 0 78 128.00 505 63.19 0.00 0 0.00 0.00 0 0.00 0 0 1 4 95 0 78 128.00 505 63.19 0.00 0 0.00 0.00 0 0.00 0 0 2 1 97 0 78 128.00 499 62.44 0.00 0 0.00 0.00 0 0.00 0 0 2 1 97 0 78 128.00 502 62.81 0.00 0 0.00 0.00 0 0.00 0 0 0 3 97 0 78 128.00 505 63.19 0.00 0 0.00 0.00 0 0.00 0 0 0 3 97 0 78 128.00 505 63.18 0.00 0 0.00 0.00 0 0.00 0 0 2 1 97 0 78 127.78 501 62.45 0.00 0 0.00 0.00 0 0.00 0 0 3 1 97 and dd if=/dev/ad6 of=/dev/null bs=128 hartmann: iostat -c 10 tty ad4 ad6 cd0 cpu tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id 0 2 37.21 2 0.08 124.97 1 0.13 0.00 0 0.00 2 0 0 0 98 0 232 0.00 0 0.00 128.00 551 68.94 0.00 0 0.00 0 0 2 0 98 0 78 0.00 0 0.00 128.00 549 68.68 0.00 0 0.00 0 0 1 1 98 0 78 0.00 0 0.00 128.00 563 70.43 0.00 0 0.00 0 0 3 1 96 0 78 0.00 0 0.00 128.00 559 69.93 0.00 0 0.00 0 0 2 2 96 0 78 0.00 0 0.00 128.00 558 69.81 0.00 0 0.00 0 0 2 2 97 0 78 0.00 0 0.00 128.00 574 71.80 0.00 0 0.00 0 0 5 1 94 0 78 0.00 0 0.00 128.00 547 68.43 0.00 0 0.00 0 0 3 1 96 0 78 0.00 0 0.00 128.00 564 70.55 0.00 0 0.00 0 0 2 2 97 0 78 0.00 0 0.00 128.00 574 71.80 0.00 0 0.00 0 0 3 2 95 And this is the result copying copying a 6.1 G in size qemu drive image from ad4 to ad6: cp qemu/c.img /mnt/ext/s1/qemu/c.img.test hartmann: iostat -c 10 tty ad4 ad6 cd0 cpu tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id 0 2 37.49 2 0.08 126.30 2 0.24 0.00 0 0.00 2 0 0 0 98 0 232 127.66 329 40.99 127.66 329 40.99 0.00 0 0.00 0 0 12 2 86 0 79 126.93 322 39.87 127.30 320 39.74 0.00 0 0.00 0 0 14 2 83 0 79 127.66 329 40.97 127.66 329 40.97 0.00 0 0.00 0 0 12 1 87 0 79 127.66 326 40.60 127.66 326 40.60 0.00 0 0.00 0 0 13 2 85 0 79 127.66 327 40.71 127.66 327 40.71 0.00 0 0.00 0 0 13 3 84 0 79 127.30 320 39.75 126.53 322 39.76 0.00 0 0.00 0 0 11 1 88 0 79 124.90 289 35.21 109.45 337 35.99 0.00 0 0.00 0 0 12 3 85 0 79 127.66 327 40.73 127.66 326 40.60 0.00 0 0.00 0 0 15 1 84 0 79 127.64 312 38.85 127.64 312 38.85 0.00 0 0.00 0 0 11 1 88 It is very interesting to see that FreeBSD 6.2-STABLE/i386 (SMP by HTT) shows up the wrong KB/t size of 128 KB, while FreeBSD 7.0-CURRENT/AMD64 (UP) shows the correct KB/t size of 64 KB/t as mentioned before in this thread. I'm a little bit suprised by the 'good' results of 'cp', because when I did these tests with 'cp' and copying the big files (5 and 6 G qemu drive images) systat hits consequently the 33 MB/s boundary - but I must confess that I had loaded the "aio.ko" kernel module and ran before qemu, kldunloaded kqemu.ko but left aio.ko kldloaded. I will do the tests tomorrow when I'm back at my lab. Nevertheless, on the RAID 0 box I would expect a much better result than on the single-drive boxes. 'dd' seems to do a well job, but it runs as 'root' and I guess a lot of us doing a lot of file copying via 'cp', so there is still a big gap left I can not explain. Sorry for the huge output ... Regards, Oliver From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 16:37:58 2007 Return-Path: X-Original-To: freebsd-questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5D8DF16A400 for ; Sun, 4 Mar 2007 16:37:58 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from smtp810.mail.ird.yahoo.com (smtp810.mail.ird.yahoo.com [217.146.188.70]) by mx1.freebsd.org (Postfix) with SMTP id B683613C4A5 for ; Sun, 4 Mar 2007 16:37:57 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: (qmail 64319 invoked from network); 4 Mar 2007 16:37:56 -0000 Received: from unknown (HELO ?192.168.1.2?) (thomasjudge@btinternet.com@81.157.42.3 with plain) by smtp810.mail.ird.yahoo.com with SMTP; 4 Mar 2007 16:37:56 -0000 X-YMail-OSG: V_CNTBEVM1nlK.W02u1zS2vgufYn5xBOe0TGt3xOg4uh5hXf9_nRuf_.sKVH3oUXXxsPYfWkHWwqvq8eVkIu89sdKguI7uKc5aH3bzkSGz_KPcQR3uY- Message-ID: <45EAF641.2020603@tomjudge.com> Date: Sun, 04 Mar 2007 16:39:29 +0000 From: Tom Judge User-Agent: Thunderbird 1.5.0.9 (X11/20070104) MIME-Version: 1.0 To: =?ISO-8859-1?Q?C=E9dric_Jonas?= References: <20070303211438.4c759c33@ganymed> In-Reply-To: <20070303211438.4c759c33@ganymed> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@FreeBSD.org Subject: Re: sshd: PAM + key authentication X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 16:37:58 -0000 Cédric Jonas wrote: > Hi all, > > I set up a some sshd servers which authenticates their users through a > LDAP DB. To realize this, I used PAM. > Everything ok until now. > > Then, via PAM (pam_filter) and the host attribute in the LDAP DB, I only > allowed logon on specifical hosts for some users. > After that, I tested this last functionality: I tried to login on a > disallowed host, and it fails - so it works as expected. For this test, > I used password authentication. Later, I tried the same test with key > authentication, and could log in... > After some more investigations, it seems sshd ignores PAM when someone > tries to log in with a key... is there some way to force sshd to > consider PAM in case of key authentication? > > Thanks you, > There are some patches available for sshd that allow you to control both the SSH keys using an LDAP database and which users can log on to the ssh server (using both password/key based authentication i believe [I have never personally tested with password auth as our servers are set to key based auth only]). I can send patches against 6.1/6.2 if required. Tom From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 16:41:45 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B4DEC16A403 for ; Sun, 4 Mar 2007 16:41:45 +0000 (UTC) (envelope-from lavalamp@spiritual-machines.org) Received: from mail.digitalfreaks.org (arbitor.digitalfreaks.org [216.151.95.158]) by mx1.freebsd.org (Postfix) with ESMTP id 8CC4A13C4A7 for ; Sun, 4 Mar 2007 16:41:45 +0000 (UTC) (envelope-from lavalamp@spiritual-machines.org) Received: from localhost (localhost [127.0.0.1]) by mail.digitalfreaks.org (Postfix) with ESMTP id 9146A18098; Sun, 4 Mar 2007 11:41:44 -0500 (EST) Received: from mail.digitalfreaks.org ([127.0.0.1]) by localhost (mail.digitalfreaks.org [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 94128-13; Sun, 4 Mar 2007 11:41:43 -0500 (EST) Received: from mail.digitalfreaks.org (mail.digitalfreaks.org [216.151.95.156]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.digitalfreaks.org (Postfix) with ESMTP id 2BEE718095; Sun, 4 Mar 2007 11:41:43 -0500 (EST) Date: Sun, 4 Mar 2007 11:41:41 -0500 (EST) From: "Brian A. Seklecki" X-X-Sender: lavalamp@arbitor.digitalfreaks.org To: Grant Peel In-Reply-To: <00de01c75e4c$ce64dab0$6501a8c0@GRANT> Message-ID: <20070304114016.Y85886@arbitor.digitalfreaks.org> References: <00de01c75e4c$ce64dab0$6501a8c0@GRANT> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.2 Cc: freebsd-questions@freebsd.org Subject: Re: SCSI Error reported in Daily Run. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 16:41:45 -0000 The drive knows about one bad sector that has developed since the drive left the factory. Where I'm at, that's sufficient to have the vendor replace the drive (because by the time that is a bad sector where live data lives). ~BAS On Sun, 4 Mar 2007, Grant Peel wrote: > Hi Brian, > > Here is the output. Care to decipher for me? :-) > > defiant# camcontrol defects da0 -f block -G > camcontrol: requested defect format not available > camcontrol: Device returned physical sector format > Got 1 defect: > 70740:1:634 > defiant# > > -Grant > > > Crazy no one replied. > > Yea the disk is going bad. > > Try: > > # sudo camcontrol defects da0 -f block -G > > ~~BAS > > On Fri, 16 Feb 2007, Grant Peel wrote: > >> Hi all, >> >> Can anyone simplify this error message? >> >> Only seen once, system seems to be running OK. >> >> Fix? Replace? >> >> +++ /tmp/security.hjdAMgoP Fri Feb 16 03:02:47 2007 >> +(da0:ahc0:0:0:0): WRITE(10). CDB: 2a 0 0 f3 a 3f 0 0 20 0 >> +(da0:ahc0:0:0:0): CAM Status: SCSI Status Error >> +(da0:ahc0:0:0:0): SCSI Status: Check Condition >> +(da0:ahc0:0:0:0): Deferred Error: HARDWARE FAILURE info:341b461 asc:44,0 >> +(da0:ahc0:0:0:0): Internal target failure field replaceable unit: bc >> +(da0:ahc0:0:0:0): Retrying Command (per Sense Data) >> >> _______________________________________________ >> 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" >> > > l8* > -lava (Brian A. Seklecki - Pittsburgh, PA, USA) > http://www.spiritual-machines.org/ > > "...from back in the heady days when "helpdesk" meant nothing, "diskquota" > meant everything, and lives could be bought and sold for a couple of pages > of laser printout - and frequently were." > l8* -lava (Brian A. Seklecki - Pittsburgh, PA, USA) http://www.spiritual-machines.org/ "...from back in the heady days when "helpdesk" meant nothing, "diskquota" meant everything, and lives could be bought and sold for a couple of pages of laser printout - and frequently were." From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 17:14:20 2007 Return-Path: X-Original-To: freebsd-questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AB59F16A401 for ; Sun, 4 Mar 2007 17:14:20 +0000 (UTC) (envelope-from cedric@decemplex.net) Received: from mail.decemplex.net (mail.decemplex.net [80.237.247.202]) by mx1.freebsd.org (Postfix) with ESMTP id 3D2E213C428 for ; Sun, 4 Mar 2007 17:14:20 +0000 (UTC) (envelope-from cedric@decemplex.net) Received: from localhost (mail.decemplex.net [80.237.247.202]) by mail.decemplex.net (Postfix) with ESMTP id 628C77D1F40; Sun, 4 Mar 2007 18:14:19 +0100 (CET) X-Virus-Scanned: amavisd-new at decemplex.net Received: from mail.decemplex.net ([80.237.247.202]) by localhost (mail.decemplex.net [80.237.247.202]) (amavisd-new, port 10024) with LMTP id DztCPRU6+l43; Sun, 4 Mar 2007 18:14:19 +0100 (CET) Received: from decemplex.loc (170-177-112-217.dyn.adsl.belcenter.be [217.112.177.170]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.decemplex.net (Postfix) with ESMTP id A84C67D1F3E; Sun, 4 Mar 2007 18:14:18 +0100 (CET) Date: Sun, 4 Mar 2007 18:14:06 +0100 From: =?ISO-8859-1?Q?C=E9dric?= Jonas To: Tom Judge Message-ID: <20070304181406.66e584b0@ganymed> In-Reply-To: <45EAF641.2020603@tomjudge.com> References: <20070303211438.4c759c33@ganymed> <45EAF641.2020603@tomjudge.com> X-Mailer: Claws Mail 2.8.0 (GTK+ 2.10.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_5ar1TYxBb/J/hns0=N3BK2L"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: freebsd-questions@FreeBSD.org Subject: Re: sshd: PAM + key authentication X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 17:14:20 -0000 --Sig_5ar1TYxBb/J/hns0=N3BK2L Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Sun, 04 Mar 2007 16:39:29 +0000 Tom Judge wrote: > C=E9dric Jonas wrote: > > Hi all, > >=20 > > I set up a some sshd servers which authenticates their users > > through a LDAP DB. To realize this, I used PAM.=20 > > Everything ok until now.=20 > >=20 > > Then, via PAM (pam_filter) and the host attribute in the LDAP DB, I > > only allowed logon on specifical hosts for some users. > > After that, I tested this last functionality: I tried to login on a > > disallowed host, and it fails - so it works as expected. For this > > test, I used password authentication. Later, I tried the same test > > with key authentication, and could log in... > > After some more investigations, it seems sshd ignores PAM when > > someone tries to log in with a key... is there some way to force > > sshd to consider PAM in case of key authentication? > >=20 > > Thanks you, > >=20 >=20 > There are some patches available for sshd that allow you to control > both the SSH keys using an LDAP database and which users can log on > to the ssh server (using both password/key based authentication i > believe [I have never personally tested with password auth as our > servers are set to key based auth only]). I can send patches against > 6.1/6.2 if required. >=20 > Tom Thanks you, but I just found the problem: I used pam_filter to exclude some user from specifics hosts, but this option is only verified in the auth chain - which isn't used with key auth (seems to be clear, since there isn't some password to be valided). So I try pam_check_host_attr, which is verified in the account chain - which is also used when I try to login with a key :-) BTW: I saw that pam_unix doesn't implement something for pam_sm_acct_mgmt except a return PAM_SUCCESS.=20 Or, the manpage (pam_unix(8)) says: "The function verifies that the authenticated user is allowed to login to the local user account by checking the password expiry date." I think it would be better to correct the entire manpage, since the only function which implements something is pam_sm_authenticate. If there are users whose rely on the manpage without testing their configuration, they could get some surprises :-) --=20 C=E9dric Jonas cedric@decemplex.net GPG ID: 30CCFE8D GPG Key: http://box.decemplex.net/~cedric/cedric.key.asc GPG Fingerprint: CF03 E1FD 9428 1B6B E971 B107 9044 AA99 30CC FE8D Jabber-ID: cedric@decemplex.net --Sig_5ar1TYxBb/J/hns0=N3BK2L Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF6v5okESqmTDM/o0RAkQyAKClogPXwDIe+0EdHDLc+e713I+ppQCfRCi8 dPbw6x4ltpyQRB+boUUyVBE= =0M2/ -----END PGP SIGNATURE----- --Sig_5ar1TYxBb/J/hns0=N3BK2L-- From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 17:23:53 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C327E16A402 for ; Sun, 4 Mar 2007 17:23:53 +0000 (UTC) (envelope-from bulk_mail@siegel-tech.net) Received: from sccrmhc15.comcast.net (sccrmhc15.comcast.net [63.240.77.85]) by mx1.freebsd.org (Postfix) with ESMTP id 8F73613C491 for ; Sun, 4 Mar 2007 17:23:51 +0000 (UTC) (envelope-from bulk_mail@siegel-tech.net) Received: from [192.168.245.10] (c-67-190-106-50.hsd1.co.comcast.net[67.190.106.50]) by comcast.net (sccrmhc15) with ESMTP id <20070304171346015006eupbe>; Sun, 4 Mar 2007 17:13:46 +0000 From: Aaron Siegel To: freebsd-questions@freebsd.org Date: Sun, 4 Mar 2007 10:13:37 -0700 User-Agent: KMail/1.9.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703041013.38470.bulk_mail@siegel-tech.net> Subject: Sony DRU-820A DVD-RW RAM Drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 17:23:53 -0000 Hello Cannot read or play audio cdrom disks. run the Windows install for Win4BSD the install worked worked with a standard cdrom drive Can burn CD-R (with cdrecord dev=1,0,0) burn DVD-RW (with mkisofs) play Movie dvds. read dvd disks read data cdrom disks I am using 6.1 Release. /boot/loader.conf atapicam_load="YES" hw.ata.ata_dma="1" hw.ata.atapi_dma="1" I have set the mode for the device to UDMA33 from UDMA66. How can I set this up so the drive boots as UDMA33? Do I add the following line into the device.hints: hint.cd.0.mode="UDMA33"? acd0: DVDR at ata1-master UDMA66 cd0 at ata1 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 66.000MB/s transfers I am receiving a following errors while booting cd0: cd present [309837 x 2048 byte records] (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 2 0 (cd0:ata1:0:0:0): CAM Status: SCSI Status Error (cd0:ata1:0:0:0): SCSI Status: Check Condition (cd0:ata1:0:0:0): ILLEGAL REQUEST csi:0,0,21,0 asc:64,0 (cd0:ata1:0:0:0): Illegal mode for this track (cd0:ata1:0:0:0): Unretryable error (cd0:ata1:0:0:0): cddone: got error 0x6 back The errors when playing a DVD (cd0:ata1:0:0:0): Vendor Specific Command. CDB: a4 0 0 31 12 fb 0 0 0 c c4 0 (cd0:ata1:0:0:0): CAM Status: SCSI Status Error (cd0:ata1:0:0:0): SCSI Status: Check Condition (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:6f,4 (cd0:ata1:0:0:0): Reserved ASC/ASCQ pair (cd0:ata1:0:0:0): Unretryable error (cd0:ata1:0:0:0): Vendor Specific Command. CDB: a4 0 0 31 13 4e 0 0 0 c c4 0 (cd0:ata1:0:0:0): CAM Status: SCSI Status Error (cd0:ata1:0:0:0): SCSI Status: Check Condition (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:6f,4 (cd0:ata1:0:0:0): Reserved ASC/ASCQ pair (cd0:ata1:0:0:0): Unretryable error (cd0:ata1:0:0:0): Vendor Specific Command. CDB: a4 0 0 31 45 f0 0 0 0 c c4 0 (cd0:ata1:0:0:0): CAM Status: SCSI Status Error (cd0:ata1:0:0:0): SCSI Status: Check Condition (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:6f,4 (cd0:ata1:0:0:0): Reserved ASC/ASCQ pair (cd0:ata1:0:0:0): Unretryable error (cd0:ata1:0:0:0): Vendor Specific Command. CDB: a4 0 0 31 9e 34 0 0 0 c c4 0 (cd0:ata1:0:0:0): CAM Status: SCSI Status Error (cd0:ata1:0:0:0): SCSI Status: Check Condition (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:6f,4 (cd0:ata1:0:0:0): Reserved ASC/ASCQ pair (cd0:ata1:0:0:0): Unretryable error Thank you Aaron From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 17:28:02 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AE83C16A401 for ; Sun, 4 Mar 2007 17:28:02 +0000 (UTC) (envelope-from drdeath@bsdmail.org) Received: from fallback.us4.outblaze.com (fallback.us4.outblaze.com [205.158.62.120]) by mx1.freebsd.org (Postfix) with ESMTP id 625CC13C47E for ; Sun, 4 Mar 2007 17:28:02 +0000 (UTC) (envelope-from drdeath@bsdmail.org) Received: from webmail-outgoing.us4.outblaze.com (webmail-outgoing.us4.outblaze.com [205.158.62.67]) by fallback.us4.outblaze.com (Postfix) with ESMTP id 6F3B41C1137A for ; Sun, 4 Mar 2007 16:55:10 +0000 (GMT) Received: from unknown (unknown [192.168.9.180]) by webmail-outgoing.us4.outblaze.com (Postfix) with QMQP id DF69D18001A8 for ; Sun, 4 Mar 2007 16:55:09 +0000 (GMT) X-OB-Received: from unknown (205.158.62.16) by wfilter.us4.outblaze.com; 4 Mar 2007 16:54:58 -0000 Received: by ws5-10.us4.outblaze.com (Postfix, from userid 1001) id B94F27AEA0; Sun, 4 Mar 2007 16:55:09 +0000 (GMT) Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 From: "Dr. Death" To: freebsd-questions@FreeBSD.org Date: Sun, 04 Mar 2007 20:55:09 +0400 Received: from [217.164.210.30] by ws5-10.us4.outblaze.com with http for drdeath@bsdmail.org; Sun, 04 Mar 2007 20:55:09 +0400 X-Originating-Ip: 217.164.210.30 X-Originating-Server: ws5-10.us4.outblaze.com Message-Id: <20070304165509.B94F27AEA0@ws5-10.us4.outblaze.com> Cc: Subject: gnome X server error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 17:28:02 -0000 Hi, I got this error message with startx and gnome-session, after i upgrade= gnome2 and all my FreeBSD 5.4 ports: [root@h4x0r root]$ startx xauth: creating new authority file /root/.serverauth.15016 X Window System Version 6.9.0 Release Date: 21 December 2005 X Protocol Version 11, Revision 0, Release 6.9 Build Operating System: FreeBSD 5.4 i386 [ELF] Current Operating System: FreeBSD h4x0r.Dr_Death 5.4-RELEASE FreeBSD 5.4-RE= LEASE #0: Sun May 8 10:21:06 UTC 2005 root@harlow.cse.buffalo.edu:/usr/obj/= usr/src/sys/GENERIC i386 Build Date: 03 February 2007 Before reporting problems, check http://wiki.X.Org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (=3D=3D) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (=3D=3D) Log file: "/var/log/Xorg.0.log", Time: Fri Feb 16 17:25:58 2007 (=3D=3D) Using config file: "/etc/X11/xorg.conf" _FontTransOpen: Unable to Parse address X11BASE/lib/X11/fonts/PORTNAME/AAHS Could not init font path element X11BASE/lib/X11/fonts/PORTNAME/AAHS, remov= ing from list! _FontTransOpen: Unable to Parse address X11BASE/lib/X11/fonts/PORTNAME/AGA Could not init font path element X11BASE/lib/X11/fonts/PORTNAME/AGA, removi= ng from list! _FontTransOpen: Unable to Parse address X11BASE/lib/X11/fonts/PORTNAME/FS Could not init font path element X11BASE/lib/X11/fonts/PORTNAME/FS, removin= g from list! _FontTransOpen: Unable to Parse address X11BASE/lib/X11/fonts/PORTNAME/Kasr Could not init font path element X11BASE/lib/X11/fonts/PORTNAME/Kasr, remov= ing from list! _FontTransOpen: Unable to Parse address X11BASE/lib/X11/fonts/PORTNAME/MCS Could not init font path element X11BASE/lib/X11/fonts/PORTNAME/MCS, removi= ng from list! _FontTransOpen: Unable to Parse address X11BASE/lib/X11/fonts/PORTNAME/Shmo= okh Could not init font path element X11BASE/lib/X11/fonts/PORTNAME/Shmookh, re= moving from list! (gnome-session:15039): GLib-GObject-WARNING **: IA__g_object_get_valist: ob= ject class `GnomeProgram' has no property named `goption-context' Bonobo-ERROR **: file bonobo-ui-init-gtk.c: line 87 (add_gtk_arg_callback):= assertion failed: (init_info !=3D NULL) aborting... (process:15043): Gnome-CRITICAL (recursed) **: gnome_program_get_app_versio= n: assertion `program->_priv->state >=3D APP_PREINIT_DONE' failed aborting... Multiple segmentation faults occurred; can't display error dialog waiting for X server to shut down FreeFontPath: FPE "/usr/X11R6/lib/X11/fon= ts/misc/" refcount is 2, should be 1; fixing. [root@h4x0r root]$ gnome-session (gnome-session:15045): Gtk-WARNING **: cannot open display: [root@h4x0r root]$ nothing clear in google. Best Regards, Dr.Death =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D The Best Security Is Knowledge --=20 _______________________________________________ Get your free email from http://bsdmail.com From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 17:31:02 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8B19916A400 for ; Sun, 4 Mar 2007 17:31:02 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by mx1.freebsd.org (Postfix) with ESMTP id 680AE13C491 for ; Sun, 4 Mar 2007 17:31:02 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9] (may be forged)) by mxout3.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l24HV1Ue012140 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 4 Mar 2007 09:31:02 -0800 X-Auth-Received: from [192.168.10.41] (c-67-187-172-183.hsd1.ca.comcast.net [67.187.172.183]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l24HV14T014028 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 4 Mar 2007 09:31:01 -0800 Message-ID: <45EB023B.2030104@u.washington.edu> Date: Sun, 04 Mar 2007 09:30:35 -0800 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.9 (X11/20070122) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <200703041013.38470.bulk_mail@siegel-tech.net> In-Reply-To: <200703041013.38470.bulk_mail@siegel-tech.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.0.289146, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.3.4.91934 X-Uwash-Spam: Gauge=XI, Probability=11%, Report='URI_HOSTNAME_CONTAINS_EQUALS 1, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __STOCK_PHRASE_25 0, __USER_AGENT 0' Subject: Re: Sony DRU-820A DVD-RW RAM Drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 17:31:02 -0000 Aaron Siegel wrote: > Hello > > Cannot > read or play audio cdrom disks. > run the Windows install for Win4BSD the install worked worked with a standard > cdrom drive > > Can > burn CD-R (with cdrecord dev=1,0,0) > burn DVD-RW (with mkisofs) > play Movie dvds. > read dvd disks > read data cdrom disks > > I am using 6.1 Release. > > /boot/loader.conf > atapicam_load="YES" > hw.ata.ata_dma="1" > hw.ata.atapi_dma="1" > > I have set the mode for the device to UDMA33 from UDMA66. > How can I set this up so the drive boots as UDMA33? Do I add the following > line into the device.hints: > hint.cd.0.mode="UDMA33"? > > acd0: DVDR at ata1-master UDMA66 > cd0 at ata1 bus 0 target 0 lun 0 > cd0: Removable CD-ROM SCSI-0 device > cd0: 66.000MB/s transfers > > > I am receiving a following errors while booting > cd0: cd present [309837 x 2048 byte records] > (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 2 0 > (cd0:ata1:0:0:0): CAM Status: SCSI Status Error > (cd0:ata1:0:0:0): SCSI Status: Check Condition > (cd0:ata1:0:0:0): ILLEGAL REQUEST csi:0,0,21,0 asc:64,0 > (cd0:ata1:0:0:0): Illegal mode for this track > (cd0:ata1:0:0:0): Unretryable error > (cd0:ata1:0:0:0): cddone: got error 0x6 back > > The errors when playing a DVD > (cd0:ata1:0:0:0): Vendor Specific Command. CDB: a4 0 0 31 12 fb 0 0 0 c c4 0 > (cd0:ata1:0:0:0): CAM Status: SCSI Status Error > (cd0:ata1:0:0:0): SCSI Status: Check Condition > (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:6f,4 > (cd0:ata1:0:0:0): Reserved ASC/ASCQ pair > (cd0:ata1:0:0:0): Unretryable error > (cd0:ata1:0:0:0): Vendor Specific Command. CDB: a4 0 0 31 13 4e 0 0 0 c c4 0 > (cd0:ata1:0:0:0): CAM Status: SCSI Status Error > (cd0:ata1:0:0:0): SCSI Status: Check Condition > (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:6f,4 > (cd0:ata1:0:0:0): Reserved ASC/ASCQ pair > (cd0:ata1:0:0:0): Unretryable error > (cd0:ata1:0:0:0): Vendor Specific Command. CDB: a4 0 0 31 45 f0 0 0 0 c c4 0 > (cd0:ata1:0:0:0): CAM Status: SCSI Status Error > (cd0:ata1:0:0:0): SCSI Status: Check Condition > (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:6f,4 > (cd0:ata1:0:0:0): Reserved ASC/ASCQ pair > (cd0:ata1:0:0:0): Unretryable error > (cd0:ata1:0:0:0): Vendor Specific Command. CDB: a4 0 0 31 9e 34 0 0 0 c c4 0 > (cd0:ata1:0:0:0): CAM Status: SCSI Status Error > (cd0:ata1:0:0:0): SCSI Status: Check Condition > (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:6f,4 > (cd0:ata1:0:0:0): Reserved ASC/ASCQ pair > (cd0:ata1:0:0:0): Unretryable error > > Thank you > Aaron The question is, how are you trying to read the audio information on the disk(s). -Garrett From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 17:41:00 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 455C916A401 for ; Sun, 4 Mar 2007 17:41:00 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by mx1.freebsd.org (Postfix) with ESMTP id 21A2C13C474 for ; Sun, 4 Mar 2007 17:41:00 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9] (may be forged)) by mxout4.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l24HexTx017141 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 4 Mar 2007 09:40:59 -0800 X-Auth-Received: from [192.168.10.41] (c-67-187-172-183.hsd1.ca.comcast.net [67.187.172.183]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l24HewDp014534 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 4 Mar 2007 09:40:59 -0800 Message-ID: <45EB0490.8040703@u.washington.edu> Date: Sun, 04 Mar 2007 09:40:32 -0800 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.9 (X11/20070122) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <200703041013.38470.bulk_mail@siegel-tech.net> <45EB023B.2030104@u.washington.edu> In-Reply-To: <45EB023B.2030104@u.washington.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.0.289146, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.3.4.92933 X-Uwash-Spam: Gauge=XI, Probability=11%, Report='URI_HOSTNAME_CONTAINS_EQUALS 1, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __STOCK_PHRASE_25 0, __USER_AGENT 0' Subject: Re: Sony DRU-820A DVD-RW RAM Drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 17:41:00 -0000 Garrett Cooper wrote: > Aaron Siegel wrote: >> Hello >> >> Cannot >> read or play audio cdrom disks. run the Windows install for Win4BSD >> the install worked worked with a standard cdrom drive >> >> Can >> burn CD-R (with cdrecord dev=1,0,0) >> burn DVD-RW (with mkisofs) >> play Movie dvds. >> read dvd disks >> read data cdrom disks >> >> I am using 6.1 Release. >> >> /boot/loader.conf >> atapicam_load="YES" >> hw.ata.ata_dma="1" >> hw.ata.atapi_dma="1" >> >> I have set the mode for the device to UDMA33 from UDMA66. >> How can I set this up so the drive boots as UDMA33? Do I add the >> following line into the device.hints: >> hint.cd.0.mode="UDMA33"? >> >> acd0: DVDR at ata1-master UDMA66 >> cd0 at ata1 bus 0 target 0 lun 0 >> cd0: Removable CD-ROM SCSI-0 device cd0: >> 66.000MB/s transfers >> >> >> I am receiving a following errors while booting >> cd0: cd present [309837 x 2048 byte records] >> (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 2 0 >> (cd0:ata1:0:0:0): CAM Status: SCSI Status Error >> (cd0:ata1:0:0:0): SCSI Status: Check Condition >> (cd0:ata1:0:0:0): ILLEGAL REQUEST csi:0,0,21,0 asc:64,0 >> (cd0:ata1:0:0:0): Illegal mode for this track >> (cd0:ata1:0:0:0): Unretryable error >> (cd0:ata1:0:0:0): cddone: got error 0x6 back >> >> The errors when playing a DVD >> (cd0:ata1:0:0:0): Vendor Specific Command. CDB: a4 0 0 31 12 fb 0 0 0 >> c c4 0 (cd0:ata1:0:0:0): CAM Status: SCSI Status Error >> (cd0:ata1:0:0:0): SCSI Status: Check Condition >> (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:6f,4 >> (cd0:ata1:0:0:0): Reserved ASC/ASCQ pair >> (cd0:ata1:0:0:0): Unretryable error >> (cd0:ata1:0:0:0): Vendor Specific Command. CDB: a4 0 0 31 13 4e 0 0 0 >> c c4 0 (cd0:ata1:0:0:0): CAM Status: SCSI Status Error >> (cd0:ata1:0:0:0): SCSI Status: Check Condition >> (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:6f,4 >> (cd0:ata1:0:0:0): Reserved ASC/ASCQ pair >> (cd0:ata1:0:0:0): Unretryable error >> (cd0:ata1:0:0:0): Vendor Specific Command. CDB: a4 0 0 31 45 f0 0 0 0 >> c c4 0 (cd0:ata1:0:0:0): CAM Status: SCSI Status Error >> (cd0:ata1:0:0:0): SCSI Status: Check Condition >> (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:6f,4 >> (cd0:ata1:0:0:0): Reserved ASC/ASCQ pair >> (cd0:ata1:0:0:0): Unretryable error >> (cd0:ata1:0:0:0): Vendor Specific Command. CDB: a4 0 0 31 9e 34 0 0 0 >> c c4 0 (cd0:ata1:0:0:0): CAM Status: SCSI Status Error >> (cd0:ata1:0:0:0): SCSI Status: Check Condition >> (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:6f,4 >> (cd0:ata1:0:0:0): Reserved ASC/ASCQ pair >> (cd0:ata1:0:0:0): Unretryable error >> >> Thank you >> Aaron > > The question is, how are you trying to read the audio information on the > disk(s). > -Garrett PS You can't mount audio CDs, if that's what you're trying to do... you have to play them directly from a media player of some kind (xmms, audacious, etc). -Garrett From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 17:50:52 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A3C1416A402 for ; Sun, 4 Mar 2007 17:50:52 +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 7151013C48E for ; Sun, 4 Mar 2007 17:50:52 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.13.8/8.13.8) with ESMTP id l24Hopu2077395; Sun, 4 Mar 2007 10:50:51 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.13.8/8.13.8/Submit) with ESMTP id l24Hop4Y077392; Sun, 4 Mar 2007 10:50:51 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sun, 4 Mar 2007 10:50:51 -0700 (MST) From: Warren Block To: Grant Peel In-Reply-To: <005501c75e44$1107f630$6501a8c0@GRANT> Message-ID: <20070304104410.V77306@wonkity.com> References: <005501c75e44$1107f630$6501a8c0@GRANT> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (wonkity.com [127.0.0.1]); Sun, 04 Mar 2007 10:50:51 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: Cloning a disk -large to small X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 17:50:52 -0000 On Sun, 4 Mar 2007, Grant Peel wrote: > I have been researching the use of 'dd' quite a bit lately as I have > had to clone a newly setup server. dump/restore is generally a better solution for cloning drives. On large drives, dd wastes a lot of time copying empty sectors. > I was wondering though, if one had a newly setup disk on a 74 GB SCSI > dirve, is there some know turning that can be done to clone it to a > smaller drive? Say 36 GB? http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-HUGE-DISK Using dump works for going from large to small partitions, too, as long as the small partition is big enough to hold all the data. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 18:12:45 2007 Return-Path: X-Original-To: freebsd-questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3B51216A400 for ; Sun, 4 Mar 2007 18:12:45 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from smtp805.mail.ird.yahoo.com (smtp805.mail.ird.yahoo.com [217.146.188.65]) by mx1.freebsd.org (Postfix) with SMTP id ABFFB13C442 for ; Sun, 4 Mar 2007 18:12:44 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: (qmail 25238 invoked from network); 4 Mar 2007 18:12:43 -0000 Received: from unknown (HELO ?192.168.1.2?) (thomasjudge@btinternet.com@81.157.42.3 with plain) by smtp805.mail.ird.yahoo.com with SMTP; 4 Mar 2007 18:12:43 -0000 X-YMail-OSG: GPjGUAMVM1lFGksaSO9NikeC2vYRx4LtU7sgWLhloGxpObQt3QbWqvNze9mrHG5tI6eg9BSGnZVJicC53guE5p6Xb2aS3h3N3pSuH1UBJ43F5Ltd2jU- Message-ID: <45EB0C79.7000300@tomjudge.com> Date: Sun, 04 Mar 2007 18:14:17 +0000 From: Tom Judge User-Agent: Thunderbird 1.5.0.9 (X11/20070104) MIME-Version: 1.0 To: Dan D Niles References: <1172784439.14922.47.camel@jane.spg.more.net> In-Reply-To: <1172784439.14922.47.camel@jane.spg.more.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@FreeBSD.org Subject: Re: Serial Port 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: Sun, 04 Mar 2007 18:12:45 -0000 Dan D Niles wrote: > More Dell 2950 woes. > > I use serial ports to manage my FreeBSD machines remotely. I've never > had any problems until now. I've installed FreeBSD 6.2 on a Dell 2950. > > The install goes without problems over the serial port. After the > reboot, I get the typical: > > FreeBSD/i386 (test.host.net) (ttyd0) > > login: > > and I can log in just fine. If I disconnect and come back later > (sometimes), or if I hit return without entering a login name (always) > it starts spitting out junk like: > > nooo~:Woo{;>6(|uww~now~nou})|t}}t9- > > I can log in blind, but everything is scrambled. Here is what I see > after logging in: > > nooo~:ro}Zqsswv~?Nmswtloooo~:t|}}msr 1115?;5>:3ontt}}t=Koy{{oo| > t(kk)19;??2077t|mefvwgSWdproogw~/Koy{{oo| > t(kk)17?=,1998<,199;?=99>>,1998<,199<,1999=,199;>,19;?,199==* t| > merwggo~wsoot|meuowws{}}ofccmmoo~oio.lllr{oo| > wsrwwwwwen/NvwegSWd.>?WMMESWe({_]p#3::fv{ijkon1331;:5?;30uUWc227?_wmooometovwegSWe-Jggvwesweokoogtugkikcmlswupv|,puesweuwwet|mefooooogrwwwsg?oo swgww{}taev{{mwsaonuuteuuedewrsuuannomu}oonforlllrwmmeswwsaswo* auth|ttz?/wnvwegSWnowo~mesww/--amwyycoow}|tt|meeWSUUaswgw}ooo* forywrrwmmessfo{swtassi}wwspteuuedfvwuuuo~}/oo t|mehiefoookaondfGQqdgw}mo~wsasweauttttz?/wwnvwegFnowo/aonl-* amooogw}|ht|meaimmooglm{ww,conbgeswesskmedbbgoooogto* h|tz?/wwnvwegSowowessko/. fft|medoocdm{wvrwu}oonhis* eeoniowumlmel,hm}wweamoawwmmcnmefomutuemon/ws{iswoogo/Kofyusw|llhiwweaaquuwwonorpronmmm,lmeswetukoet|meuutuutooojuomm-mg/,amooogw}taoyrwmmwwo~tewrmmwssggw,aedemmimli}}kss quuww}oontot|hquuww}oosFvwewWnowgmmimmoogi{w~. iofyuasngmmmmisrwihfvwegSWgwsdm{sw{ylmyu|,pueswerwggwrtotuehimwz??-omo}lpqggo. iofyuswenotfgmmmmiaw}|hmmoumlpqew,t}yue`mmonmoo//[ummyylouwwes{{{ow|ll89)torwmmo~vrt|meiowumlmuonaonmkoonoowuu}oonuu}mm}}.eem}t/ouwoootdoockiooget|i{slooonaonoogmmon/~uwww# > > If I exit things go back to normal until I disconnect for a while or hit > return without a login name. > > I tried loading an older FreeBSD to see if it was a hardware issue or a > FreeBSD issue, but my disks (mfi) aren't supported. > > It seems like the speed of the tty is getting out of sync. > > HELP! Any ideas? > > Thanks, > > Dan We have some PE2950's setup with serial consoles using IPMI over LAN. If you set the port in the BIOS to com2 and 57600 bps then you should be able to use ipmitool to access the console. If you set the device hints correctly you will be able to have FreeBSD use this port as a serial console. Tom Tom From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 18:15:43 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 932EB16A402 for ; Sun, 4 Mar 2007 18:15:43 +0000 (UTC) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (mail.shire.net [166.70.252.250]) by mx1.freebsd.org (Postfix) with ESMTP id 7714B13C494 for ; Sun, 4 Mar 2007 18:15:43 +0000 (UTC) (envelope-from chad@shire.net) Received: from [67.171.127.191] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.51) id 1HNvFG-000L79-T6 for freebsd-questions@freebsd.org; Sun, 04 Mar 2007 11:15:43 -0700 To: User Questions Mime-Version: 1.0 (Apple Message framework v752.2) X-Priority: 3 (Normal) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Resent-Date: Sun, 4 Mar 2007 11:15:42 -0700 Message-Id: <538FF61D-1775-4D27-A023-AC5D0E37B7CA@shire.net> Content-Transfer-Encoding: 7bit Resent-To: User Questions From: "Chad Leigh -- Shire.Net LLC" Resent-From: "Chad Leigh -- Shire.Net LLC" Resent-Message-Id: Date: Sat, 3 Mar 2007 20:24:55 -0700 X-Mailer: Apple Mail (2.752.2) X-SA-Exim-Connect-IP: 67.171.127.191 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false Cc: Bill Moran , Chad Leigh Subject: gmake in jail from ports linking to ld-linux.so.2 ??? Re: building jdk15 in a jail -- __mb_cur_max Undefined Symbol X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 18:15:43 -0000 On Mar 3, 2007, at 5:18 PM, Bill Moran wrote: > >> On Mar 3, 2007, at 4:01 PM, Chad Leigh -- Shire.Net LLC wrote: >> >>> Hi >>> >>> I am trying to build jdk15 inside my jail with PREFIX set to /usr/ >>> public (At one time I successfully got jdk 1.4 to build after much >>> hacking) >>> >>> I have the option for builing inside a jail set. We get to the >>> point where the linux java is installed and it is actually building >>> the jdk >>> >>> # Start of jdk build >>> /libexec/ld-elf.so.1: /usr/local/lib/libiconv.so.3: Undefined >>> symbol "__mb_cur_max" >>> *** Error code 1 >>> >>> Stop in /usr/ports/java/jdk15. >>> # >>> >>> I am not exactly sure what it is doing at this point in order to >>> hack round it. libiconv a fresh install from ports >>> >> >> Turns out that the issue is that gmake cannot run. I have not >> figured out why yet, having removed and reinstalled libiconv and >> gmake and getting the same error. But it is not java related. >> >> I'll redirect this to -questions >> >> If anyone has an idea on why gmake would fail as above on a fresh >> install, 6.2-RELEASE from a day or two ago, I would appreciate it. >> Please CC me as I am not currently subscribed to -questions, though I >> am on -java > > Not a direct answer to your question, but when I needed to do this > a few months ago, I just did a "make package" on my workstation, then > shipped the package up to the jail system and installed it with > pkg_add. > > Doesn't solve the problem, but if you're in a pinch, it's a handy > workaround. Bill -- Thanks! That is an idea too. Maybe I will do that. ----- However, I want to figure why gmake is not working in the jail when I install from ports. Using the same directory tree on the base machine it works, but not in the jail. gmake gives the error /libexec/ld-elf.so.1: /usr/local/lib/libiconv.so.3: Undefined symbol "__mb_cur_max" when built and run inside the jail but not when built and run pn the base machine. doing an "ldd" on the base machine shows # ldd /usr/local/bin/gmake /usr/local/bin/gmake: libintl.so.6 => /usr/local/lib/libintl.so.6 (0x8809b000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x880a4000) libc.so.6 => /lib/libc.so.6 (0x88191000) # but in the jail it shows # ldd /usr/public/bin/gmake /usr/public/bin/gmake: libintl.so.6 => /usr/local/lib/libintl.so.6 (0x8809b000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x880a4000) libc.so.6 => /usr/local/lib/libc.so.6 (0x88191000) ld-linux.so.2 (0x882ae000) # and I can't see why this would be the case. Both are building from the same port, same os, everything (indeed same machine) Any ideas appreciated! I am trying things and googling as well etc but I appreciate insight others may have on this. Has been stumping me for several hours today already :-( Please CC on any responses for now. I am resubscribing to -questions but don't know how long it will take to come back at me thanks Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 18:53:10 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1BE9C16A400 for ; Sun, 4 Mar 2007 18:53:10 +0000 (UTC) (envelope-from bulk_mail@siegel-tech.net) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [63.240.77.83]) by mx1.freebsd.org (Postfix) with ESMTP id DB53D13C441 for ; Sun, 4 Mar 2007 18:53:09 +0000 (UTC) (envelope-from bulk_mail@siegel-tech.net) Received: from [192.168.245.10] (c-67-190-106-50.hsd1.co.comcast.net[67.190.106.50]) by comcast.net (sccrmhc13) with ESMTP id <200703041853090130010q53e>; Sun, 4 Mar 2007 18:53:09 +0000 From: Aaron Siegel To: freebsd-questions@freebsd.org Date: Sun, 4 Mar 2007 11:52:32 -0700 User-Agent: KMail/1.9.5 References: <200703041013.38470.bulk_mail@siegel-tech.net> <45EB023B.2030104@u.washington.edu> <45EB0490.8040703@u.washington.edu> In-Reply-To: <45EB0490.8040703@u.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703041152.35860.bulk_mail@siegel-tech.net> Subject: Re: Sony DRU-820A DVD-RW RAM Drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 18:53:10 -0000 Hello I am using various kde applications, Amarok, kaudiocreator, kaffeine... KDE appears to be the problem. I used cdda2wav and even kaudiocreator is ripping audio cds, that was not working earlier. So the problem my be with the kde applications not freebsd. K3b does not work. I am installing xmms to see if that works and also try a commandline application to play a cd. Thank you Aaron On Sunday 04 March 2007 10:40 am, Garrett Cooper wrote: > Garrett Cooper wrote: > > Aaron Siegel wrote: > >> Hello > >> > >> Cannot > >> read or play audio cdrom disks. run the Windows install for Win4BSD > >> the install worked worked with a standard cdrom drive > >> > >> Can > >> burn CD-R (with cdrecord dev=1,0,0) > >> burn DVD-RW (with mkisofs) > >> play Movie dvds. > >> read dvd disks > >> read data cdrom disks > >> > >> I am using 6.1 Release. > >> > >> /boot/loader.conf > >> atapicam_load="YES" > >> hw.ata.ata_dma="1" > >> hw.ata.atapi_dma="1" > >> > >> I have set the mode for the device to UDMA33 from UDMA66. > >> How can I set this up so the drive boots as UDMA33? Do I add the > >> following line into the device.hints: > >> hint.cd.0.mode="UDMA33"? > >> > >> acd0: DVDR at ata1-master UDMA66 > >> cd0 at ata1 bus 0 target 0 lun 0 > >> cd0: Removable CD-ROM SCSI-0 device cd0: > >> 66.000MB/s transfers > >> > >> > >> I am receiving a following errors while booting > >> cd0: cd present [309837 x 2048 byte records] > >> (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 2 0 > >> (cd0:ata1:0:0:0): CAM Status: SCSI Status Error > >> (cd0:ata1:0:0:0): SCSI Status: Check Condition > >> (cd0:ata1:0:0:0): ILLEGAL REQUEST csi:0,0,21,0 asc:64,0 > >> (cd0:ata1:0:0:0): Illegal mode for this track > >> (cd0:ata1:0:0:0): Unretryable error > >> (cd0:ata1:0:0:0): cddone: got error 0x6 back > >> > >> The errors when playing a DVD > >> (cd0:ata1:0:0:0): Vendor Specific Command. CDB: a4 0 0 31 12 fb 0 0 0 > >> c c4 0 (cd0:ata1:0:0:0): CAM Status: SCSI Status Error > >> (cd0:ata1:0:0:0): SCSI Status: Check Condition > >> (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:6f,4 > >> (cd0:ata1:0:0:0): Reserved ASC/ASCQ pair > >> (cd0:ata1:0:0:0): Unretryable error > >> (cd0:ata1:0:0:0): Vendor Specific Command. CDB: a4 0 0 31 13 4e 0 0 0 > >> c c4 0 (cd0:ata1:0:0:0): CAM Status: SCSI Status Error > >> (cd0:ata1:0:0:0): SCSI Status: Check Condition > >> (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:6f,4 > >> (cd0:ata1:0:0:0): Reserved ASC/ASCQ pair > >> (cd0:ata1:0:0:0): Unretryable error > >> (cd0:ata1:0:0:0): Vendor Specific Command. CDB: a4 0 0 31 45 f0 0 0 0 > >> c c4 0 (cd0:ata1:0:0:0): CAM Status: SCSI Status Error > >> (cd0:ata1:0:0:0): SCSI Status: Check Condition > >> (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:6f,4 > >> (cd0:ata1:0:0:0): Reserved ASC/ASCQ pair > >> (cd0:ata1:0:0:0): Unretryable error > >> (cd0:ata1:0:0:0): Vendor Specific Command. CDB: a4 0 0 31 9e 34 0 0 0 > >> c c4 0 (cd0:ata1:0:0:0): CAM Status: SCSI Status Error > >> (cd0:ata1:0:0:0): SCSI Status: Check Condition > >> (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:6f,4 > >> (cd0:ata1:0:0:0): Reserved ASC/ASCQ pair > >> (cd0:ata1:0:0:0): Unretryable error > >> > >> Thank you > >> Aaron > > > > The question is, how are you trying to read the audio information on the > > disk(s). > > -Garrett > > PS You can't mount audio CDs, if that's what you're trying to do... you > have to play them directly from a media player of some kind (xmms, > audacious, etc). > -Garrett > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 19:28:26 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1877616A402 for ; Sun, 4 Mar 2007 19:28:26 +0000 (UTC) (envelope-from bulk_mail@siegel-tech.net) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [63.240.77.82]) by mx1.freebsd.org (Postfix) with ESMTP id D836513C428 for ; Sun, 4 Mar 2007 19:28:25 +0000 (UTC) (envelope-from bulk_mail@siegel-tech.net) Received: from [192.168.245.10] (c-67-190-106-50.hsd1.co.comcast.net[67.190.106.50]) by comcast.net (sccrmhc12) with ESMTP id <2007030419282401200abv08e>; Sun, 4 Mar 2007 19:28:25 +0000 From: Aaron Siegel To: freebsd-questions@freebsd.org Date: Sun, 4 Mar 2007 12:28:11 -0700 User-Agent: KMail/1.9.5 References: <200703041013.38470.bulk_mail@siegel-tech.net> <45EB0490.8040703@u.washington.edu> <200703041152.35860.bulk_mail@siegel-tech.net> In-Reply-To: <200703041152.35860.bulk_mail@siegel-tech.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703041228.12227.bulk_mail@siegel-tech.net> Subject: Re: Sony DRU-820A DVD-RW RAM Drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 19:28:26 -0000 Hello I figured my problem with playing back audio cd's. Amarok need to use /dev/acd0 not /dev/cd0 thank you aaron On Sunday 04 March 2007 11:52 am, Aaron Siegel wrote: > Hello > > I am using various kde applications, Amarok, kaudiocreator, kaffeine... KDE > appears to be the problem. I used cdda2wav and even kaudiocreator is > ripping audio cds, that was not working earlier. So the problem my be with > the kde applications not freebsd. K3b does not work. I am installing xmms > to see if that works and also try a commandline application to play a cd. > > Thank you > Aaron > > On Sunday 04 March 2007 10:40 am, Garrett Cooper wrote: > > Garrett Cooper wrote: > > > Aaron Siegel wrote: > > >> Hello > > >> > > >> Cannot > > >> read or play audio cdrom disks. run the Windows install for Win4BSD > > >> the install worked worked with a standard cdrom drive > > >> > > >> Can > > >> burn CD-R (with cdrecord dev=1,0,0) > > >> burn DVD-RW (with mkisofs) > > >> play Movie dvds. > > >> read dvd disks > > >> read data cdrom disks > > >> > > >> I am using 6.1 Release. > > >> > > >> /boot/loader.conf > > >> atapicam_load="YES" > > >> hw.ata.ata_dma="1" > > >> hw.ata.atapi_dma="1" > > >> > > >> I have set the mode for the device to UDMA33 from UDMA66. > > >> How can I set this up so the drive boots as UDMA33? Do I add the > > >> following line into the device.hints: > > >> hint.cd.0.mode="UDMA33"? > > >> > > >> acd0: DVDR at ata1-master UDMA66 > > >> cd0 at ata1 bus 0 target 0 lun 0 > > >> cd0: Removable CD-ROM SCSI-0 device cd0: > > >> 66.000MB/s transfers > > >> > > >> > > >> I am receiving a following errors while booting > > >> cd0: cd present [309837 x 2048 byte records] > > >> (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 2 0 > > >> (cd0:ata1:0:0:0): CAM Status: SCSI Status Error > > >> (cd0:ata1:0:0:0): SCSI Status: Check Condition > > >> (cd0:ata1:0:0:0): ILLEGAL REQUEST csi:0,0,21,0 asc:64,0 > > >> (cd0:ata1:0:0:0): Illegal mode for this track > > >> (cd0:ata1:0:0:0): Unretryable error > > >> (cd0:ata1:0:0:0): cddone: got error 0x6 back > > >> > > >> The errors when playing a DVD > > >> (cd0:ata1:0:0:0): Vendor Specific Command. CDB: a4 0 0 31 12 fb 0 0 0 > > >> c c4 0 (cd0:ata1:0:0:0): CAM Status: SCSI Status Error > > >> (cd0:ata1:0:0:0): SCSI Status: Check Condition > > >> (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:6f,4 > > >> (cd0:ata1:0:0:0): Reserved ASC/ASCQ pair > > >> (cd0:ata1:0:0:0): Unretryable error > > >> (cd0:ata1:0:0:0): Vendor Specific Command. CDB: a4 0 0 31 13 4e 0 0 0 > > >> c c4 0 (cd0:ata1:0:0:0): CAM Status: SCSI Status Error > > >> (cd0:ata1:0:0:0): SCSI Status: Check Condition > > >> (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:6f,4 > > >> (cd0:ata1:0:0:0): Reserved ASC/ASCQ pair > > >> (cd0:ata1:0:0:0): Unretryable error > > >> (cd0:ata1:0:0:0): Vendor Specific Command. CDB: a4 0 0 31 45 f0 0 0 0 > > >> c c4 0 (cd0:ata1:0:0:0): CAM Status: SCSI Status Error > > >> (cd0:ata1:0:0:0): SCSI Status: Check Condition > > >> (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:6f,4 > > >> (cd0:ata1:0:0:0): Reserved ASC/ASCQ pair > > >> (cd0:ata1:0:0:0): Unretryable error > > >> (cd0:ata1:0:0:0): Vendor Specific Command. CDB: a4 0 0 31 9e 34 0 0 0 > > >> c c4 0 (cd0:ata1:0:0:0): CAM Status: SCSI Status Error > > >> (cd0:ata1:0:0:0): SCSI Status: Check Condition > > >> (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:6f,4 > > >> (cd0:ata1:0:0:0): Reserved ASC/ASCQ pair > > >> (cd0:ata1:0:0:0): Unretryable error > > >> > > >> Thank you > > >> Aaron > > > > > > The question is, how are you trying to read the audio information on > > > the disk(s). > > > -Garrett > > > > PS You can't mount audio CDs, if that's what you're trying to do... you > > have to play them directly from a media player of some kind (xmms, > > audacious, etc). > > -Garrett > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 19:47:37 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5D83E16A401 for ; Sun, 4 Mar 2007 19:47:37 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.freebsd.org (Postfix) with ESMTP id E95E813C471 for ; Sun, 4 Mar 2007 19:47:36 +0000 (UTC) (envelope-from illoai@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so1776490nfc for ; Sun, 04 Mar 2007 11:47:35 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OOr0hCUPJO/q1kSba3lQ/5LeZTfpWcLTWwp4zQ1sDdbNojJYphmK/qygahJJXsoxnci8uW/H4uYJSLu68CRUj5VWw7cuB79XdjEC6PQ8E5w0S4q2cqmSns9FQyvpnIznOy1UbXIwee4MHOLblclxy+/ypaKsGrsNEvQArxIC8BM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=L3DY5c3K+lgQdzK49qLlycN6sWBkuScJuV82hHhmNWYJ117uOCmkYPoHq039NxnHpJAPbKgdNIxgg01pg3MSj/GtT3OLJBITMS4xRaXCYhD1tkxJnWjT99U8cuqD7n+LWF90ex0ZplTlFjWFIfcMLq07HZnnV2l//TqMi8nbBUw= Received: by 10.82.177.3 with SMTP id z3mr4093031bue.1173037655652; Sun, 04 Mar 2007 11:47:35 -0800 (PST) Received: by 10.82.175.1 with HTTP; Sun, 4 Mar 2007 11:47:35 -0800 (PST) Message-ID: Date: Sun, 4 Mar 2007 13:47:35 -0600 From: "illoai@gmail.com" To: freebsd-questions@freebsd.org In-Reply-To: <20070304104410.V77306@wonkity.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <005501c75e44$1107f630$6501a8c0@GRANT> <20070304104410.V77306@wonkity.com> Cc: Grant Peel Subject: Re: Cloning a disk -large to small X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 19:47:37 -0000 On 04/03/07, Warren Block wrote: > On Sun, 4 Mar 2007, Grant Peel wrote: > > > I have been researching the use of 'dd' quite a bit lately as I have > > had to clone a newly setup server. > > dump/restore is generally a better solution for cloning drives. On > large drives, dd wastes a lot of time copying empty sectors. > Also, your disk label would be wrong, albeit correctable, though by that time, you may as well have just manually redone it. -- -- From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 20:57:03 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 85D0D16A402; Sun, 4 Mar 2007 20:57:03 +0000 (UTC) (envelope-from odilist@sonic.net) Received: from b.mail.sonic.net (b.mail.sonic.net [64.142.19.5]) by mx1.freebsd.org (Postfix) with ESMTP id 7050813C4A3; Sun, 4 Mar 2007 20:57:03 +0000 (UTC) (envelope-from odilist@sonic.net) Received: from [192.168.1.2] (69-12-157-6.dsl.dynamic.sonic.net [69.12.157.6]) by b.mail.sonic.net (8.13.8.Beta0-Sonic/8.13.7) with ESMTP id l24Kv3mb008166; Sun, 4 Mar 2007 12:57:03 -0800 From: Oliver Iberien To: freebsd-questions@freebsd.org Date: Sun, 4 Mar 2007 12:57:02 -0800 User-Agent: KMail/1.9.5 References: <200702192345.15730.odilist@sonic.net> <200702200844.15186.odilist@sonic.net> <20070221010529.0c7a9106.ariff@FreeBSD.org> In-Reply-To: <20070221010529.0c7a9106.ariff@FreeBSD.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200703041257.02852.odilist@sonic.net> Cc: Ariff Abdullah Subject: snd_envy24 driver -- sound vanishes after first use X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 20:57:03 -0000 On Tuesday 20 February 2007 09:05, you wrote: > On Tue, 20 Feb 2007 08:44:15 -0800 > Oliver Iberien wrote: > [...] I'm finding that sound seems to vanish after having been used by one application once. For instance, if I try to play a RealAudio stream, it works, but if I try to change streams, it fails and will not produce sound again for this or another application. This is FreeBSD 6.0. using KDE 3.5.5, and drivers downloaded from ~ariff today. This error appears occasionally: Mar 3 23:17:03 bsd kernel: pcm0:play:1:dsp0.p1: play interrupt timeout, channel dead The driver loads with this: Mar 3 23:29:59 bsd kernel: pcm0: port 0x8000-0x801f,0x8400-0x840f,0x8800-0x880f,0x8c00-0x8c3f irq 16 at device 6.0 on pci5 Mar 3 23:29:59 bsd kernel: pcm0: system configuration Mar 3 23:29:59 bsd kernel: SubVendorID: 0x1412, SubDeviceID: 0xd634 Mar 3 23:29:59 bsd kernel: XIN2 Clock Source: 22.5792MHz(44.1kHz*512) Mar 3 23:29:59 bsd kernel: MPU-401 UART(s) #: 1 Mar 3 23:29:59 bsd kernel: AC'97 codec: not exist Mar 3 23:29:59 bsd kernel: ADC #: 1 Mar 3 23:29:59 bsd kernel: DAC #: 1 Mar 3 23:29:59 bsd kernel: Multi-track converter type: I2S(96KHz support, 24bit resolution, ID#0x2) And this always appears, repeated several times: mixer: WRITE_MIXER: Device not configured Mixer can only change a few settings: bsd# mixer line +100 Setting the mixer line from 0:0 to 100:100. bsd# mixer speaker +100 Setting the mixer speaker from 0:0 to 100:100. mixer: WRITE_MIXER: Device not configured bsd# mixer bass +50 Setting the mixer bass from 0:0 to 50:50. mixer: WRITE_MIXER: Device not configured Some related discussion here: http://lists.freebsd.org/pipermail/freebsd-current/2007-February/069273.html .) Thanks for any advice you can provide. Oliver From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 21:52:29 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5643216A402 for ; Sun, 4 Mar 2007 21:52:29 +0000 (UTC) (envelope-from gustavodn@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.225]) by mx1.freebsd.org (Postfix) with ESMTP id 178AA13C461 for ; Sun, 4 Mar 2007 21:52:28 +0000 (UTC) (envelope-from gustavodn@gmail.com) Received: by wr-out-0506.google.com with SMTP id 55so2021339wri for ; Sun, 04 Mar 2007 13:52:28 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=XDGW7zk+zKOKccfux1PehPZR6K9ei21QTkTkvHEXBlKza0wsnS3uHqykzddVtIrWTyFI/z0W8bOlierCIu9m81dshp/1LeemJxtHH0Oo+tgrxkBIAgCJsFAp5dEvb2kgNnA57TwoiJs+juFzYgB5m24ZcmbKvhekIEf3z9PgSvM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=C3wzepEAb68MHiXvllJWjfsPUIFzL5qdZDfLmIz1DNmQhYwmDFipldUJcXSFWRnr4H8/1HfyKhqVVvvorSK4FAd1JpiMXNiEo6bylFqEz3uGEc2XERLn/xTzK9Z/GNi8Ep43e6lK7cy0L4NceLHyzdeO2kWD7tNwqCalNx8lyPw= Received: by 10.114.170.1 with SMTP id s1mr1024345wae.1173043586194; Sun, 04 Mar 2007 13:26:26 -0800 (PST) Received: by 10.114.190.14 with HTTP; Sun, 4 Mar 2007 13:26:26 -0800 (PST) Message-ID: <50af0a260703041326s5a887c3dhcd0816e7c59a5297@mail.gmail.com> Date: Sun, 4 Mar 2007 18:26:26 -0300 From: "Gustavo De Nardin" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: gconcat on existing filesystem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 21:52:29 -0000 Hello. Is it expected that 'gconcat create ...' on an existing device with populated filesystem keeps all existing data? That is, is it expected behavior that something like 'umount /dev/ad0s3', 'gconcat create data /dev/ad0s3', 'mount /dev/concat/data /mnt' works, or is it just luck? -- (nil) From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 22:17:02 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9F82216A401 for ; Sun, 4 Mar 2007 22:17:02 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by mx1.freebsd.org (Postfix) with ESMTP id 361EF13C461 for ; Sun, 4 Mar 2007 22:17:01 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so1804598nfc for ; Sun, 04 Mar 2007 14:17:01 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SQ9vPYdWqwVMD0rh9dqzUM0mfIii/Ga2ZBv9q8fiEZ9Flret0/RzuWdOI4cyXFUim/XjZM1UHfaArEIdqrhZyKS/TbDm5+SUPenJPP8KZbd2QySA5c0q6wyzrorC7rE15tnAIHgKulo2N2fInw9dFyei2G5CpMp1AJcfn2goR/A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uCLX5DUMWDGL524o/NFv3Uu+z/V9h9Y+msWuXjKbxYYXpecQtKH2ri52w7U0eoik2j2TrlCxItAJgRI+46/pR/rCZySiBO8Hg2sjLcW2fMeVHHpK4fdxSFqkf474BcJqA75faYpFx+Jwjmnkgs1Gpwrw6d4XqSLgaXQ12sHPN1Y= Received: by 10.82.163.13 with SMTP id l13mr4209324bue.1173046620852; Sun, 04 Mar 2007 14:17:00 -0800 (PST) Received: by 10.82.191.16 with HTTP; Sun, 4 Mar 2007 14:17:00 -0800 (PST) Message-ID: <80f4f2b20703041417m548502f2yfb2de1383780b6c0@mail.gmail.com> Date: Sun, 4 Mar 2007 22:17:00 +0000 From: "Jim Stapleton" To: "Josh Paetzel" , freebsd-questions@freebsd.org In-Reply-To: <80f4f2b20703040456pbbc5be5nb094e6b612198214@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <80f4f2b20703021833kfa8d0dxaa838b2bfc72f400@mail.gmail.com> <80f4f2b20703021834u131ae0e8i6f73e29d013e04d4@mail.gmail.com> <200703032317.16140.josh@tcbug.org> <80f4f2b20703040456pbbc5be5nb094e6b612198214@mail.gmail.com> Cc: Subject: Re: hauppauge PVR 150 problem loading modules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 22:17:02 -0000 OK, I'm working on that, what's the most trivial method of finding out if the tuner is working? I saw a cat /dev/cxm0 > test.mpg comment, do I have to set channel before I do that, should I use the pvr250_setchannel application? Thanks, -Jim Stapleton From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 22:28:56 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3D9E016A401 for ; Sun, 4 Mar 2007 22:28:56 +0000 (UTC) (envelope-from kdgrills@the-grills.com) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [63.240.77.81]) by mx1.freebsd.org (Postfix) with ESMTP id 0272213C48D for ; Sun, 4 Mar 2007 22:28:55 +0000 (UTC) (envelope-from kdgrills@the-grills.com) Received: from srv2.the-grills.com (c-68-60-243-64.hsd1.il.comcast.net[68.60.243.64]) by comcast.net (sccrmhc11) with SMTP id <2007030422285501100d7ppoe>; Sun, 4 Mar 2007 22:28:55 +0000 Received: (qmail 77390 invoked by uid 1001); 4 Mar 2007 22:28:54 -0000 Date: Sun, 4 Mar 2007 16:28:54 -0600 From: "Kelly D. Grills" To: freebsd-questions@freebsd.org Message-ID: <20070304222854.GA77263@the-grills.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <6207f7d90703010553t745460aap9cdc3f8a03ffaf69@mail.gmail.com> <45E6DBB0.9050603@hier7.com> <6207f7d90703011310m2ffe7740i25c01aa748a79ae9@mail.gmail.com> <20070302014921.GA48654@the-grills.com> <6207f7d90703020612p76f381d6nd37801d7d687ebd2@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sdtB3X0nJg68CQEu" Content-Disposition: inline In-Reply-To: <6207f7d90703020612p76f381d6nd37801d7d687ebd2@mail.gmail.com> X-Operating-System: FreeBSD/6.2-RELEASE (i386) X-PGP-Key: mailto:kdgrills-pgpkey@the-grills.com User-Agent: Mutt/1.5.13 (2006-08-11) Subject: Re: Fwd: IPF (ftp - pkg_add) help requested X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 22:28:56 -0000 --sdtB3X0nJg68CQEu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 02, 2007 at 09:12:31AM -0500, Don Munyak wrote: >=20 > How do I set|view env for root?..., specifically FTP_PASSIVE_MODE=3DYES See su(1), specifically the -l option. See the man page for whatever shell you run as root. > OT... Kelley, btw...Baxter is cool :) I had a Pekingese once. For > Halloween, I shaved off all her hair except for a 2" mohawk > head-2-tail. I'll have to find the picture to send you some day. Yeah, he's a good pup, my daughter dressed him up for the superbowl. I bet your peek wasn't real happy with you. --=20 Kelly D. Grills kdgrills@the-grills.com --sdtB3X0nJg68CQEu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) Comment: PGP key: mailto:kdgrills-pgpkey@the-grills.com iD8DBQFF60gm7inS5LzF7HMRAl9gAJ9Ivqk0vrnkXCTEGY6nbT/tLKFQPgCcCdY5 Gp2HeP6czOmh9DUUvCC8fyY= =S2vh -----END PGP SIGNATURE----- --sdtB3X0nJg68CQEu-- From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 22:41:41 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2C9ED16A407 for ; Sun, 4 Mar 2007 22:41:41 +0000 (UTC) (envelope-from mfitzgerald@pacific.net.au) Received: from pecan.exetel.com.au (pecan.exetel.com.au [220.233.0.17]) by mx1.freebsd.org (Postfix) with ESMTP id 7AE7413C4B2 for ; Sun, 4 Mar 2007 22:41:40 +0000 (UTC) (envelope-from mfitzgerald@pacific.net.au) Received: from 28.101.233.220.exetel.com.au ([220.233.101.28] helo=[192.168.1.3]) by pecan.exetel.com.au with esmtp (Exim 4.63) (envelope-from ) id 1HNzOc-0003IK-JS for freebsd-questions@freebsd.org; Mon, 05 Mar 2007 09:41:38 +1100 Mime-Version: 1.0 (Apple Message framework v623) In-Reply-To: <45E930BE.6080508@hier7.com> References: <0fa18d202fd5dfa13608dc9e2c627941@catholic.org> <200703011058.28791.lists@jnielsen.net> <4f48d953253acaed08dfd775cea2cb3b@catholic.org> <45E7757C.4050305@hier7.com> <45E7D850.6000603@hier7.com> <45E930BE.6080508@hier7.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <1dfa5289a4480a7f58827fbf2546744e@pacific.net.au> Content-Transfer-Encoding: 7bit From: Malcolm Fitzgerald Date: Mon, 5 Mar 2007 09:41:41 +1100 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.623) Subject: Re: Mounting an FTP space ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 22:41:41 -0000 On 03/03/2007, at 7:24 PM, Chris Slothouber wrote: > ftp/curl is where you're having issues, right? > > do a make config there first. Thanks Chris, that did the trick. malcolm > > Malcolm Fitzgerald wrote: >> On 02/03/2007, at 6:54 PM, Chris Slothouber wrote: >>> make config will load the variables stored in /var/db/ports/* >> Oh. I'll look into that. >> From /usr/ports/sysutils/fusefs-curlftpfs/ I typed make config and >> it said that it wanted me to pass options to it. >>> >>> Malcolm Fitzgerald wrote: >>>>>> What do I need to do to wipe the slate clean? >>>> On 02/03/2007, at 11:53 AM, Chris Slothouber wrote: >>>>> make config >>>> Yes. I don't know what arguments to pass to it. Where are the >>>> current arguments being stored, surely I can edit that file? >>>>> >>>>> Never you mind wrote: >>>>>> On 02/03/2007, at 2:58 AM, John Nielsen wrote: >>>>>>> On Thursday 01 March 2007 01:37, Never you mind wrote: >>>>>>>> On my Mac from the Finder I can select "Connect to server", >>>>>>>> give it the >>>>>>>> details of an ftp location and it will connect and display the >>>>>>>> ftp >>>>>>>> space as a drive on the desktop. >>>>>>>> >>>>>>>> Can I obtain the same sort of functionality using freeBSD and >>>>>>>> xfce >>>>>>>> desktop manager? >>>>>>> >>>>>>> I haven't used it, but the sysutils/fusefs-curlftpfs should >>>>>>> allow you to mount >>>>>>> an ftp location as a virtual filesystem. The desktop icon thing >>>>>>> you'll have >>>>>>> to work out on your own, but it shouldn't be too difficult (a >>>>>>> shortcut to >>>>>>> your chosen mountpoint should suffice). >>>>>> I've just made an error during installation. At the dialog I >>>>>> selected BOTH c-ares and IPV6. >>>>>> That caused an error: >>>>>> curl-7.16.0_1 does not support both c-ares and IPv6 - disable >>>>>> one of them. >>>>>> OK. I thought I'd simply run "make install clean" again and at >>>>>> the dialog I would make my selection. However, I do not get to >>>>>> the dialog. My choices have been saved somewhere and are being >>>>>> re-used. I need to clean up from my first effort. What do I need >>>>>> to do to wipe the slate clean? >>>>>> malcolm >>>>>> _______________________________________________ >>>>>> 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" >>>>> >>>>> >>>> Malcolm Fitzgerald >>>> T: 0403 972 660 E: thats@notyourhomework.net >>>> FOR YOUR COMPUTER Customised software built to your specifications. >>>> Using Macs? Automate your workflow with AppleScript. FOR YOU >>>> Computer training, software installation + upgrades, computer >>>> setups. IN TIMES OF NEED Troubleshooting, maintenance + repairs. >>>> That's Not Your Homework >>>> ABN 91 398 224 929 >>>> _______________________________________________ >>>> 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" >>> >>> >> Malcolm Fitzgerald >> T: 0403 972 660 E: thats@notyourhomework.net >> FOR YOUR COMPUTER Customised software built to your specifications. >> Using Macs? Automate your workflow with AppleScript. FOR YOU Computer >> training, software installation + upgrades, computer setups. IN TIMES >> OF NEED Troubleshooting, maintenance + repairs. >> That's Not Your Homework >> ABN 91 398 224 929 >> _______________________________________________ >> 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" > > Malcolm Fitzgerald T: 0403 972 660 E: thats@notyourhomework.net FOR YOUR COMPUTER Customised software built to your specifications. Using Macs? Automate your workflow with AppleScript. FOR YOU Computer training, software installation + upgrades, computer setups. IN TIMES OF NEED Troubleshooting, maintenance + repairs. That's Not Your Homework ABN 91 398 224 929 From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 22:52:24 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9AB6916A403 for ; Sun, 4 Mar 2007 22:52:24 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail6.sea5.speakeasy.net (mail6.sea5.speakeasy.net [69.17.117.8]) by mx1.freebsd.org (Postfix) with ESMTP id 696D813C478 for ; Sun, 4 Mar 2007 22:52:24 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 24249 invoked from network); 4 Mar 2007 22:52:23 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 4 Mar 2007 22:52:23 -0000 Received: from Lowell-Desk.localdomain (Lowell-Desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id 443F528430; Sun, 4 Mar 2007 17:52:21 -0500 (EST) Received: by Lowell-Desk.localdomain (Postfix, from userid 1147) id D03171CFC2; Sun, 4 Mar 2007 17:52:20 -0500 (EST) To: Stephen Liu References: <274680.61590.qm@web35209.mail.mud.yahoo.com> From: Lowell Gilbert Date: Sun, 04 Mar 2007 17:52:20 -0500 In-Reply-To: <274680.61590.qm@web35209.mail.mud.yahoo.com> (Stephen Liu's message of "Sat\, 3 Mar 2007 15\:28\:02 +0800 \(CST\)") Message-ID: <44abysr597.fsf@Lowell-Desk.lan> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Where can I get a nVidia driver for FBSD amd64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 22:52:24 -0000 Stephen Liu writes: > Hi folks, > > FreeBSD 6.2-amd64 > > I have been searching around for nVidia drvier without result. X > window can't work properly on this box. However I'm not alone. Please > visit following sites > > http://www.nvnews.net/vbulletin/showthread.php?t=41545&page=15 > > and > > http://www.nvnews.net/vbulletin/showthread.php?t=82203 > > The problem existed since 11-28-04, needing a nVidia driver for amd64 > FreeBSD. > > If you want to run amd64 FreeBSD please stay away with components > running nVidia chipsets. Otherwise you will run into my situation as > well as other folks on above sites. >From those links, it looks like nVidia doesn't support their proprietary accelerated driver on 64-bit FreeBSD systems, but there is no indication that the regular open-source driver won't work. Is that a problem, or are you only worried about the lack of accelerated support? From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 23:46:02 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6E91C16A408 for ; Sun, 4 Mar 2007 23:46:02 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.191]) by mx1.freebsd.org (Postfix) with ESMTP id EB1B313C442 for ; Sun, 4 Mar 2007 23:46:01 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: by mu-out-0910.google.com with SMTP id g7so1441456muf for ; Sun, 04 Mar 2007 15:46:00 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dGCcZAEzNrTnjpGFXKyr12zTXXpl5FwCYUI3xHR+gqMVeEoNyv3FG6JNzNUa9a/M5E0cVZ7AykEvFmxf/tWk7weLkP5Xn0F49HfXhy/rRubYKSTTe410MdospTYsApOPN7HH4ewNLPbfXEt7PnWlybLDe+Cjjxicn892TjvUaJ8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XTl+PnKwI80KmBlHCBrqYOn2sb0JmYIJXjLFHgc9sO2VftZ15XndGMM1cF6rrg/5M4tv5/Pb5ha8hT4ZE9gS6Gk+Q/R1gVTyWDBFGoluNQ8h5lfCqRGlIfMSUiph3sRPbXLp2zVw8H7QyfmdgqpFEF/QFUIHTYGC3Ow+0dQOor0= Received: by 10.82.154.2 with SMTP id b2mr4299294bue.1173051960621; Sun, 04 Mar 2007 15:46:00 -0800 (PST) Received: by 10.82.191.16 with HTTP; Sun, 4 Mar 2007 15:46:00 -0800 (PST) Message-ID: <80f4f2b20703041546h7a0e071ay7ec18d5d9e44ea55@mail.gmail.com> Date: Sun, 4 Mar 2007 23:46:00 +0000 From: "Jim Stapleton" To: "Josh Paetzel" , freebsd-questions@freebsd.org In-Reply-To: <80f4f2b20703041417m548502f2yfb2de1383780b6c0@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <80f4f2b20703021833kfa8d0dxaa838b2bfc72f400@mail.gmail.com> <80f4f2b20703021834u131ae0e8i6f73e29d013e04d4@mail.gmail.com> <200703032317.16140.josh@tcbug.org> <80f4f2b20703040456pbbc5be5nb094e6b612198214@mail.gmail.com> <80f4f2b20703041417m548502f2yfb2de1383780b6c0@mail.gmail.com> Cc: Subject: Re: hauppauge PVR 150 problem loading modules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 23:46:02 -0000 OK, this little script seemed to get the job done, but... it's not horribly fast/efficient (I found a tuner the same as 0x55 that works with 0x67 also). For testing purposes, is there an mpeg player that will gake input from stdin? I.E. I would replace cat /dev/cxm0 > test_$START.mpg & with cat /dev/cxm0 | some_app & Thanks, -Jim Stapleton #!/bin/sh INC=0.10 START=740.00 STOP=750.00 P=$START cat /dev/cxm0 > test_$START.mpg & TEST=$(echo "$P <= $STOP" | bc) while [ "$TEST" -eq "1" ] do echo $P pvr250-setchannel -m 2 $P P=$(echo "$P + $INC" | bc) TEST=$(echo "$P <= $STOP" | bc) sleep 2 done kill $(ps -A | grep cat | grep cxm0 | cut -f 2 -d ' ') noatun test_$START.mpg On 3/4/07, Jim Stapleton wrote: > OK, I'm working on that, what's the most trivial method of finding out > if the tuner is working? > > I saw a cat /dev/cxm0 > test.mpg comment, do I have to set channel > before I do that, should I use the pvr250_setchannel application? > > > Thanks, > -Jim Stapleton > From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 00:47:35 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F225116A402 for ; Mon, 5 Mar 2007 00:47:35 +0000 (UTC) (envelope-from fred1z@hotmail.com) Received: from bay0-omc2-s36.bay0.hotmail.com (bay0-omc2-s36.bay0.hotmail.com [65.54.246.172]) by mx1.freebsd.org (Postfix) with ESMTP id E067E13C442 for ; Mon, 5 Mar 2007 00:47:35 +0000 (UTC) (envelope-from fred1z@hotmail.com) Received: from hotmail.com ([64.4.51.33]) by bay0-omc2-s36.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Sun, 4 Mar 2007 16:35:36 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 4 Mar 2007 16:35:36 -0800 Message-ID: Received: from 64.4.51.220 by by107fd.bay107.hotmail.msn.com with HTTP; Mon, 05 Mar 2007 00:35:34 GMT X-Originating-IP: [82.238.146.19] X-Originating-Email: [fred1z@hotmail.com] X-Sender: fred1z@hotmail.com From: "ff b" To: freebsd-questions@freebsd.org Date: Mon, 05 Mar 2007 00:35:34 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 05 Mar 2007 00:35:36.0655 (UTC) FILETIME=[3141EDF0:01C75EBE] Subject: Undefined symbol "csin" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 00:47:36 -0000 Hi, I've compiled sources of a C library which is then used by a python library. Everything's ok at compile time but at runtime (of a python script using the python lib and thus the shared lib compiled from the C source), it tries to load the library I've compiled and failed with : Traceback (most recent call last): File "lp", line 1, in ? from cvxopt.base import matrix ImportError: /my/local/path/lib/python/cvxopt/base.so: Undefined symbol "csin" >ldd /my/local/path/lib/python/cvxopt/base.so /my/local/path/lib/python/cvxopt/base.so: libm.so.4 => /lib/libm.so.4 (0x28172000) liblapack.so.4 => /usr/local/lib/liblapack.so.4 (0x28188000) libblas.so.2 => /usr/local/lib/libblas.so.2 (0x28573000) libg2c.so.2 => /usr/lib/libg2c.so.2 (0x285c1000) libgcc_s.so.1 => /usr/local/lib/gcc-4.2.0/libgcc_s.so.1 (0x285dd000) libc.so.6 => /lib/libc.so.6 (0x28077000) Looking at headers in /usr/include and /usr/local/include, I didn't find any (math) header with csin. What am I missing ? Are trigonometric functions on complex, implemented on freebsd ? Thanks! F. _________________________________________________________________ Win a Zune™—make MSN® your homepage for your chance to win! http://homepage.msn.com/zune?icid=hmetagline From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 02:18:59 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from misaki (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with SMTP id 5C97F16A400; Mon, 5 Mar 2007 02:18:58 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Date: Mon, 5 Mar 2007 10:17:30 +0800 From: Ariff Abdullah To: Oliver Iberien Message-Id: <20070305101730.347755dc.ariff@FreeBSD.org> In-Reply-To: <200703041257.02852.odilist@sonic.net> References: <200702192345.15730.odilist@sonic.net> <200702200844.15186.odilist@sonic.net> <20070221010529.0c7a9106.ariff@FreeBSD.org> <200703041257.02852.odilist@sonic.net> Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Mon__5_Mar_2007_10_17_30_+0800_5JKdqa9c3VXtKrpz" Cc: freebsd-questions@freebsd.org Subject: Re: snd_envy24 driver -- sound vanishes after first use X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 02:18:59 -0000 --Signature=_Mon__5_Mar_2007_10_17_30_+0800_5JKdqa9c3VXtKrpz Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, 4 Mar 2007 12:57:02 -0800 Oliver Iberien wrote: > On Tuesday 20 February 2007 09:05, you wrote: > > On Tue, 20 Feb 2007 08:44:15 -0800 > > Oliver Iberien wrote: > > [...] >=20 > I'm finding that sound seems to vanish after having been used by one >=20 > application once. For instance, if I try to play a RealAudio stream, > it works, but if I try to change streams, it fails and will not > produce sound again for this or another application. This is > FreeBSD 6.0. using KDE 3.5.5, and drivers downloaded from ~ariff > today.=20 >=20 > This error appears occasionally: >=20 > Mar 3 23:17:03 bsd kernel: pcm0:play:1:dsp0.p1: play interrupt > timeout, channel dead >=20 Try these (get _both_): http://people.freebsd.org/~ariff/test/sound.ko http://people.freebsd.org/~ariff/test/snd_envy24.ko > The driver loads with this: >=20 > Mar 3 23:29:59 bsd kernel: pcm0: 2496)> port 0x8000-0x801f,0x8400-0x840f,0x8800-0x880f,0x8c00-0x8c3f > irq 16 at device 6.0 on pci5 > Mar 3 23:29:59 bsd kernel: pcm0: system configuration > Mar 3 23:29:59 bsd kernel: SubVendorID: 0x1412, SubDeviceID: 0xd634 > Mar 3 23:29:59 bsd kernel: XIN2 Clock Source: > 22.5792MHz(44.1kHz*512) Mar 3 23:29:59 bsd kernel: MPU-401 UART(s) > #: 1 > Mar 3 23:29:59 bsd kernel: AC'97 codec: not exist > Mar 3 23:29:59 bsd kernel: ADC #: 1 > Mar 3 23:29:59 bsd kernel: DAC #: 1 > Mar 3 23:29:59 bsd kernel: Multi-track converter type: I2S(96KHz > support, 24bit resolution, ID#0x2) >=20 > And this always appears, repeated several times: >=20 > mixer: WRITE_MIXER: Device not configured >=20 > Mixer can only change a few settings: >=20 > bsd# mixer line +100 > Setting the mixer line from 0:0 to 100:100. > bsd# mixer speaker +100 > Setting the mixer speaker from 0:0 to 100:100. > mixer: WRITE_MIXER: Device not configured > bsd# mixer bass +50 > Setting the mixer bass from 0:0 to 50:50. > mixer: WRITE_MIXER: Device not configured >=20 > Some related discussion here:=20 > http://lists.freebsd.org/pipermail/freebsd-current/2007-February/069273.h= tml > .) >=20 > Thanks for any advice you can provide. >=20 > Oliver >=20 -- Ariff Abdullah FreeBSD ... Recording in stereo is obviously too advanced and confusing for us idiot ***** users :P ........ --Signature=_Mon__5_Mar_2007_10_17_30_+0800_5JKdqa9c3VXtKrpz Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF6329lr+deMUwTNoRArP1AKDS0psfD6eVj21aU5LzvqtUaH5qYACeLu7v 2b19C2sI79uGUgpO5xPO/5Q= =unul -----END PGP SIGNATURE----- --Signature=_Mon__5_Mar_2007_10_17_30_+0800_5JKdqa9c3VXtKrpz-- From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 02:38:35 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3F1B716A402; Mon, 5 Mar 2007 02:38:35 +0000 (UTC) (envelope-from odilist@sonic.net) Received: from a.mail.sonic.net (a.mail.sonic.net [64.142.16.245]) by mx1.freebsd.org (Postfix) with ESMTP id 28B7D13C48D; Mon, 5 Mar 2007 02:38:35 +0000 (UTC) (envelope-from odilist@sonic.net) Received: from [192.168.1.2] (69-12-157-6.dsl.dynamic.sonic.net [69.12.157.6]) by a.mail.sonic.net (8.13.8.Beta0-Sonic/8.13.7) with ESMTP id l252cYDa009321; Sun, 4 Mar 2007 18:38:34 -0800 From: Oliver Iberien To: Ariff Abdullah Date: Sun, 4 Mar 2007 18:38:33 -0800 User-Agent: KMail/1.9.5 References: <200702192345.15730.odilist@sonic.net> <200703041257.02852.odilist@sonic.net> <20070305101730.347755dc.ariff@FreeBSD.org> In-Reply-To: <20070305101730.347755dc.ariff@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703041838.34269.odilist@sonic.net> Cc: freebsd-questions@freebsd.org Subject: Re: snd_envy24 driver -- sound vanishes after first use X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 02:38:35 -0000 On Sunday 04 March 2007 18:17, you wrote: > On Sun, 4 Mar 2007 12:57:02 -0800 > > Oliver Iberien wrote: > > On Tuesday 20 February 2007 09:05, you wrote: > > > On Tue, 20 Feb 2007 08:44:15 -0800 > > > Oliver Iberien wrote: > > > [...] > > > > I'm finding that sound seems to vanish after having been used by one > > > > application once. For instance, if I try to play a RealAudio stream, > > it works, but if I try to change streams, it fails and will not > > produce sound again for this or another application. This is > > FreeBSD 6.0. using KDE 3.5.5, and drivers downloaded from ~ariff > > today. > > > > This error appears occasionally: > > > > Mar 3 23:17:03 bsd kernel: pcm0:play:1:dsp0.p1: play interrupt > > timeout, channel dead > > Try these (get _both_): > > http://people.freebsd.org/~ariff/test/sound.ko > http://people.freebsd.org/~ariff/test/snd_envy24.ko Unfortunately, it fails with: pcm0: chn_init(pcm0:record:0) failed: err = 19 pcm0: pcm_chn_create(envy24chan, -1, 0xc3a07400) failed Thanks, Oliver From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 02:55:57 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from misaki (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with SMTP id 4B06D16A403; Mon, 5 Mar 2007 02:55:56 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Date: Mon, 5 Mar 2007 10:54:27 +0800 From: Ariff Abdullah To: Oliver Iberien Message-Id: <20070305105427.28a494be.ariff@FreeBSD.org> In-Reply-To: <200703041838.34269.odilist@sonic.net> References: <200702192345.15730.odilist@sonic.net> <200703041257.02852.odilist@sonic.net> <20070305101730.347755dc.ariff@FreeBSD.org> <200703041838.34269.odilist@sonic.net> Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Mon__5_Mar_2007_10_54_27_+0800_bcRIrCFcj5E/j/RL" Cc: freebsd-questions@freebsd.org Subject: Re: snd_envy24 driver -- sound vanishes after first use X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 02:55:57 -0000 --Signature=_Mon__5_Mar_2007_10_54_27_+0800_bcRIrCFcj5E/j/RL Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, 4 Mar 2007 18:38:33 -0800 Oliver Iberien wrote: >=20 > Unfortunately, it fails with: >=20 > pcm0: chn_init(pcm0:record:0) failed: err =3D 19 > pcm0: pcm_chn_create(envy24chan, -1, 0xc3a07400) failed >=20 Fetch snd_envy24.ko and try again. -- Ariff Abdullah FreeBSD ... Recording in stereo is obviously too advanced and confusing for us idiot ***** users :P ........ --Signature=_Mon__5_Mar_2007_10_54_27_+0800_bcRIrCFcj5E/j/RL Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF64Znlr+deMUwTNoRAjDQAJkB/j+PRJ8jeXefCdfqQwld7OmK6gCghgZ3 cepTrphCdc7cOBhaM9aOEL4= =65Wa -----END PGP SIGNATURE----- --Signature=_Mon__5_Mar_2007_10_54_27_+0800_bcRIrCFcj5E/j/RL-- From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 03:29:25 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0C33E16A400 for ; Mon, 5 Mar 2007 03:29:25 +0000 (UTC) (envelope-from bulk_mail@siegel-tech.net) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.200.81]) by mx1.freebsd.org (Postfix) with ESMTP id CC96913C461 for ; Mon, 5 Mar 2007 03:29:24 +0000 (UTC) (envelope-from bulk_mail@siegel-tech.net) Received: from [192.168.245.10] (c-67-190-106-50.hsd1.co.comcast.net[67.190.106.50]) by comcast.net (sccrmhc11) with ESMTP id <2007030503292301100da4bse>; Mon, 5 Mar 2007 03:29:24 +0000 From: Aaron Siegel To: freebsd-questions@freebsd.org Date: Sun, 4 Mar 2007 20:29:13 -0700 User-Agent: KMail/1.9.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703042029.14205.bulk_mail@siegel-tech.net> Subject: Re: Running X window system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 03:29:25 -0000 What is not working? Are you receiving an error? If you are receiving an error post that error. Are booting to console and start X with startx? Is your LCD monitor giving you an out of range error? On Saturday 03 March 2007 8:50 pm, Warwick Sweetnam wrote: > Hi, I am having trouble getting X window system to > boot on a 2196 24A IBM Aptiva. The specs of the on-board > graphics card are as follows: > 64meg Ram > SiS540 or SiS630 > > The monitor is a dell lcd model no. 1504FP > specs are as follows: > Resolution > > Horizontal scan range 31 kHz to 60 kHz (automatic) > Vertical scan range 60 Hz to 75 Hz (automatic) > Optimal preset resolution 1024 x 768 at 60 Hz > Highest preset resolution 1024 x 768 at 75 Hz > * Highest addressable resolution 1024 x 768 at 75 Hz > Most resolutions run primarily on VESA of which I > have tried as generic driver. > > Ive tried running the system with all different options > and resolutions, including running with the generic SiS > drivers, when I try to select specific chipsets there is > never an exact match, the closest match in the options > to the SiS540 is the SiS530, and closet to SiS630 is SiS620, > im unsure of the exact chipset on my board as i cant seem > to locate the model anywhere, I just know from a maintenence > manual that these are the 2 possible chipsets. > > I have tried entering the horizontal and vertical refresh rates > manually and running with both types of SiS chipset drivers > at different low resolutions and different bit depths (24 and 16) > but still no luck. > If it helps I am trying to run fluxbox with on this particular install > and are following a step-by-step guide but not a lot of > troubleshooting advice is given unfortunatly. > Any help would be greatly appreciated, I hope to have provided > the needed information. > > _________________________________________________________________ > Join the millions of Australians using Live Search. Try live.com.au > http://ninemsn.com.au/share/redir/adTrack.asp?mode=click&clientID=740&refer >ral=million&URL=http://live.com.au > > _______________________________________________ > 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 Mar 5 03:32:18 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2280316A406 for ; Mon, 5 Mar 2007 03:32:18 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.236]) by mx1.freebsd.org (Postfix) with ESMTP id D793B13C47E for ; Mon, 5 Mar 2007 03:32:17 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: by wr-out-0506.google.com with SMTP id 55so2110758wri for ; Sun, 04 Mar 2007 19:32:17 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=QToUb17S46AfifPNssacrxf1epR4NykDfx+5dS63UQUJUALjWw+H0o2Il7S3a4zTGFLz0pcZYf165h27edBTqsrGjbil6yVRsS+AZfX6Lz3qcv0sHgAWlfZglmh8GQ6hXfaNUIngf2SlS/OV2xY8cfQXr70kSOaJuWL99etF13g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ajhPIkgS0QMt5SR+Mgk+ZxvFYrXmt15npgyPF25tYhB4nMbs4DQSS2mj/FBY51odvapfq0gHM5LV9qitPcBg8fSb1Cm54KM2jB0aFzkrhvI5bfgK10317t7IrbIdNJe4Brao07+wTrE3e+L89SUBaGaqr7JlmXrhG7QM/cVppwM= Received: by 10.114.159.1 with SMTP id h1mr1085315wae.1173065536844; Sun, 04 Mar 2007 19:32:16 -0800 (PST) Received: by 10.115.91.7 with HTTP; Sun, 4 Mar 2007 19:32:16 -0800 (PST) Message-ID: <499c70c0703041932i6f5d58d3m833f38258fd14f2b@mail.gmail.com> Date: Mon, 5 Mar 2007 06:32:16 +0300 From: "Abdullah Ibn Hamad Al-Marri" To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: odule php5_module is already loaded, skipping ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 03:32:18 -0000 Hello Guys, I have apache 2.2.4 and PHP 5.2.1 installed this what I get when I restart the apache. # apachectl restart [Mon Mar 05 03:29:45 2007] [warn] module php5_module is already loaded, skipping Any hints? -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 04:10:34 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8C80C16A401 for ; Mon, 5 Mar 2007 04:10:34 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.freebsd.org (Postfix) with ESMTP id 63EDE13C442 for ; Mon, 5 Mar 2007 04:10:34 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from [172.23.10.40] (nat-service4.juniper.net [66.129.225.151]) (authenticated bits=0) by typhoon.enabled.com (8.14.0/8.14.0) with ESMTP id l254Af9U002126 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 4 Mar 2007 20:10:42 -0800 (PST) (envelope-from admin2@enabled.com) Message-ID: <45EB982D.1010708@enabled.com> Date: Sun, 04 Mar 2007 20:10:21 -0800 From: Noah User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: User Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: single mode console does not display on VGA X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 04:10:34 -0000 Hi there, so I boot freeBSD 6.2 in single user mode and I no longer have output on the VGA after the "Trying to mount root from ufs:/dev/ad0s1a" boot line. the console is fine and can interact with the machine. my boot options are ---- snip --- # cat /boot/loader.conf accf_http_load="YES" boot_multicons="YES" boot_serial="YES" console="comconsole,vidconsole" ---- snip --- How can I keep the interaction visible on the monitor plugged in VGA when booted in single user mode? Cheers, Noah From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 04:27:26 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2329516A402 for ; Mon, 5 Mar 2007 04:27:26 +0000 (UTC) (envelope-from rambiusparkisanius@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.238]) by mx1.freebsd.org (Postfix) with ESMTP id D64BD13C48E for ; Mon, 5 Mar 2007 04:27:25 +0000 (UTC) (envelope-from rambiusparkisanius@gmail.com) Received: by wr-out-0506.google.com with SMTP id 55so2124936wri for ; Sun, 04 Mar 2007 20:27:25 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lq0MQROSIDSjFXWZZJ42eIngcT3Zjp2E6xHg/iHaUPKfyW4e9YCtQgFFT9K1jICboOykdjV+emNqt5+2UrqDEmaFP6arhZHuCTb4YnrK/vyivaxbNX8g5qypVOCjFspKRQKJFpoLREwcy+HCFKU4x8Pk93jvWeRdVFVbIyScZh0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fSZlL9EVsfhP6VwvUVVAaG4sTzdYYpJjhTpB+zFf1uqc2nNzlSrzXWFka6McTROIx9UJpT/hoLcE3P4dYZAjEJ9cp6S3/PSBl8++PF8Obqy1wqn/Zg3MOO6rwHZlhQt1s6hKf9hiIPOsZMsY4fyiCkhJfr3YKNCp9fNy2Ow9Hcg= Received: by 10.114.208.8 with SMTP id f8mr1102039wag.1173067134420; Sun, 04 Mar 2007 19:58:54 -0800 (PST) Received: by 10.114.37.15 with HTTP; Sun, 4 Mar 2007 19:58:54 -0800 (PST) Message-ID: <89ce7f740703041958h578d082aw85d291eb105045e4@mail.gmail.com> Date: Mon, 5 Mar 2007 05:58:54 +0200 From: "Ivan \"Rambius\" Ivanov" To: "FreeBSD Questions" In-Reply-To: <499c70c0703041932i6f5d58d3m833f38258fd14f2b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <499c70c0703041932i6f5d58d3m833f38258fd14f2b@mail.gmail.com> Subject: Re: odule php5_module is already loaded, skipping ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 04:27:26 -0000 Hello, On 3/5/07, Abdullah Ibn Hamad Al-Marri wrote: > Hello Guys, > > I have apache 2.2.4 and PHP 5.2.1 installed this what I get when I > restart the apache. > > # apachectl restart > [Mon Mar 05 03:29:45 2007] [warn] module php5_module is already loaded, skipping Obviously there are two LoadModule directives for php5_module in your httpd.conf file. Remove one of them and the message will disappear. Regards Rambius -- Tangra Mega Rock: http://www.radiotangra.com From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 04:42:08 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AFAD116A402 for ; Mon, 5 Mar 2007 04:42:08 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.freebsd.org (Postfix) with ESMTP id 8762713C46B for ; Mon, 5 Mar 2007 04:42:08 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from [172.23.10.40] (nat-service4.juniper.net [66.129.225.151]) (authenticated bits=0) by typhoon.enabled.com (8.14.0/8.14.0) with ESMTP id l254gF87013737 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 4 Mar 2007 20:42:16 -0800 (PST) (envelope-from admin2@enabled.com) Message-ID: <45EB9F93.908@enabled.com> Date: Sun, 04 Mar 2007 20:41:55 -0800 From: Noah User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: User Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: portmanager and use.perl port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 04:42:08 -0000 Hi, So at times I run portmanager on many of my servers but I want to make sure that the perl installed is the port and not the system version. The only option I new about was to IGNORE building it. # grep perl /usr/local/etc/portmanager/pm-020.conf IGNORE|lang/perl*| But I am wondering if there are proper settings that I can put in placed to make sure that if perl is reinstalled that the port version is the chosen version. Cheers, Noah From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 05:17:54 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0BC2516A401 for ; Mon, 5 Mar 2007 05:17:54 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.232]) by mx1.freebsd.org (Postfix) with ESMTP id AC69713C428 for ; Mon, 5 Mar 2007 05:17:53 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: by wr-out-0506.google.com with SMTP id 55so2138040wri for ; Sun, 04 Mar 2007 21:17:52 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=aNYkGCwS+h35ctCJm4DULsLXIPmKWuCA5m5NZa6iMxO1BN5Q6Q/tS/i7SBklfkNEBIPprhyytHhSRXts6CeZkqA6VnhWzp2YQfs7wSQedgP1Igc1Jz11kAWegoA+vbJy+SX4moODm+Mv4+rXsY2yxGXxWw1iyUuCHFVQ7ROQ2bQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=ISGOR4CC2ETc/dOk9iM7TggV1GeCzAZNILBywPXPFFj5Mk9PC71QCK+hitHWX9Dn3GAI8aT0qXwxfEgr9WN0dBCowazQY6orpbTDSlz+2/ZHMy2Et7V/3qOUopWyYestNGu9KibG2i4HLsj0yRr+yPO/Po8rhTAnCwjrP8wvfQU= Received: by 10.115.106.7 with SMTP id i7mr1109422wam.1173071872442; Sun, 04 Mar 2007 21:17:52 -0800 (PST) Received: by 10.115.91.7 with HTTP; Sun, 4 Mar 2007 21:17:52 -0800 (PST) Message-ID: <499c70c0703042117g5030c181l8c1585644ef2910e@mail.gmail.com> Date: Mon, 5 Mar 2007 08:17:52 +0300 From: "Abdullah Ibn Hamad Al-Marri" To: "Ivan Rambius Ivanov" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: FreeBSD Questions Subject: Re: module php5_module is already loaded, skipping ? SOLVED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 05:17:54 -0000 On 3/5/07, Ivan Rambius Ivanov wrote: > Hello, > > > On 3/5/07, Abdullah Ibn Hamad Al-Marri wrote: > > Hello Guys, > > > > I have apache 2.2.4 and PHP 5.2.1 installed this what I get when I > > restart the apache. > > > > # apachectl restart > > [Mon Mar 05 03:29:45 2007] [warn] module php5_module is already loaded, skipping > Obviously there are two LoadModule directives for php5_module in your > httpd.conf file. Remove one of them and the message will disappear. > > Regards > Rambius > > -- > Tangra Mega Rock: http://www.radiotangra.com That did it, I appreciate your great help. :) -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 05:20:26 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7FE5316A402 for ; Mon, 5 Mar 2007 05:20:26 +0000 (UTC) (envelope-from noc@hdk5.net) Received: from guam10.hdk5.net (guam10.hdk5.net [66.180.132.235]) by mx1.freebsd.org (Postfix) with ESMTP id 5A02C13C4AA for ; Mon, 5 Mar 2007 05:20:26 +0000 (UTC) (envelope-from noc@hdk5.net) Received: from [66.180.132.238] (unknown [66.180.132.238]) by guam10.hdk5.net (Postfix) with ESMTP id D4FA85C1F; Sun, 4 Mar 2007 18:51:20 -1000 (HST) Message-ID: <45EBA1CB.70702@hdk5.net> Date: Sun, 04 Mar 2007 18:51:23 -1000 From: NetOpsCenter User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060417 FreeBSD/i386 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Abdullah Ibn Hamad Al-Marri , freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: odule php5_module is already loaded, skipping ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 05:20:26 -0000 <> Obviously there are two LoadModule directives for php5_module in your httpd.conf file. Remove one of them and the message will disappear. Regards Rambius Also to be sure.... Check your /etc/rc.conf and make sure there is only one instance of apache started. ~Al Plant - Honolulu, Hawaii 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + noc@hdk5.net + + http://internetohana.org - Supporting - FreeBSD 6.* - 7.* + "All that's really worth doing is what we do for others."- Lewis Carrol From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 05:52:45 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8555516A401; Mon, 5 Mar 2007 05:52:45 +0000 (UTC) (envelope-from odilist@sonic.net) Received: from b.mail.sonic.net (b.mail.sonic.net [64.142.19.5]) by mx1.freebsd.org (Postfix) with ESMTP id 4B30313C442; Mon, 5 Mar 2007 05:52:45 +0000 (UTC) (envelope-from odilist@sonic.net) Received: from [192.168.1.2] (69-12-157-6.dsl.dynamic.sonic.net [69.12.157.6]) by b.mail.sonic.net (8.13.8.Beta0-Sonic/8.13.7) with ESMTP id l255qhYE009180; Sun, 4 Mar 2007 21:52:44 -0800 From: Oliver Iberien To: Ariff Abdullah Date: Sun, 4 Mar 2007 21:52:43 -0800 User-Agent: KMail/1.9.5 References: <200702192345.15730.odilist@sonic.net> <200703041838.34269.odilist@sonic.net> <20070305105427.28a494be.ariff@FreeBSD.org> In-Reply-To: <20070305105427.28a494be.ariff@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703042152.43646.odilist@sonic.net> Cc: freebsd-questions@freebsd.org Subject: Re: snd_envy24 driver -- sound vanishes after first use X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 05:52:45 -0000 On Sunday 04 March 2007 18:54, you wrote: > On Sun, 4 Mar 2007 18:38:33 -0800 > > Oliver Iberien wrote: > > Unfortunately, it fails with: > > > > pcm0: chn_init(pcm0:record:0) failed: err = 19 > > pcm0: pcm_chn_create(envy24chan, -1, 0xc3a07400) failed > > Fetch snd_envy24.ko and try again. Now it has been working for several hours with several different inputs, which is great. Thanks very much! From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 06:17:54 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CFDE116A404 for ; Mon, 5 Mar 2007 06:17:54 +0000 (UTC) (envelope-from jrock2004@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.freebsd.org (Postfix) with ESMTP id 691D513C442 for ; Mon, 5 Mar 2007 06:17:54 +0000 (UTC) (envelope-from jrock2004@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so1882630nfc for ; Sun, 04 Mar 2007 22:17:53 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=siMOKP/kvGkakka9NgVuOloDuoBJtwDKUn4Amt8PaZxR2snY41RvIpD5StNjCmCPNmihtabo2hqumTXcnv2gw1TvWdml9RX06nxOPhjm5F+dzu5JvG1pjLLEZCZ+zf4L29PzNMhKjlkEYqG7WQ6yntFVamJKu75/eh8ec99UdY0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=RN8HJhyNVSTBuF8WHstStfyl3UjZ/nNcuzi5L+89FwjFhplpL3xlCVmHRZ/5fPO4RzsH+Y2efjw7rR5zrdzMarwV9ckBK+ejUsZaXoMiIAZTdOfWKeujgoGcfgnbOVkzLaAxcX1DcGh88fMSZ7qUN1mCRd+4ieW8GSb4gUmzOsU= Received: by 10.78.204.7 with SMTP id b7mr582617hug.1173074010947; Sun, 04 Mar 2007 21:53:30 -0800 (PST) Received: by 10.78.46.4 with HTTP; Sun, 4 Mar 2007 21:53:30 -0800 (PST) Message-ID: Date: Mon, 5 Mar 2007 00:53:30 -0500 From: "John Costanzo" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Install with USB keyboard X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 06:17:54 -0000 Hi I have a Dell Dimension E520 and I am trying to install FreeBSD 6.2. I am running into a problem that it gets to sysinstaller and keyboard does not work. The keyboard is a USB one. I have windows installed and it works in there so I know it is not keyboard. I booted and hit option 6 and typed following message: set hint.atkbd.0.disabled="1" That did not work. Please I would really like to use FreeBSD and I do not have a PS/2 port to help. Thanks From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 06:40:11 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 330F616A400 for ; Mon, 5 Mar 2007 06:40:11 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id EBA1913C467 for ; Mon, 5 Mar 2007 06:40:10 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 05 Mar 2007 01:40:11 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.7.5a-GA) with ESMTP id MZM94248; Mon, 5 Mar 2007 01:40:09 -0500 (EST) Received: from 65-78-26-179.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([65.78.26.179]) by smtp01.lnh.mail.rcn.net with ESMTP; 05 Mar 2007 01:40:09 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17899.47771.288449.800531@jerusalem.litteratus.org> Date: Mon, 5 Mar 2007 01:37:15 -0500 To: freebsd-questions@freebsd.org In-Reply-To: References: X-Mailer: VM 7.17 under 21.5 (beta27) "fiddleheads" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr02.lnh.mail.rcn.net) Subject: Install with USB keyboard X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 06:40:11 -0000 John Costanzo writes: > Hi I have a Dell Dimension E520 and I am trying to install > FreeBSD 6.2. I am running into a problem that it gets to > sysinstaller and keyboard does not work. The keyboard is a USB > one. I have windows installed and it works in there so I know it > is not keyboard. I booted and hit option 6 and typed following > message: > > set hint.atkbd.0.disabled="1" > > That did not work. Please I would really like to use FreeBSD and > I do not have a PS/2 port to help. Thanks It was at one point the case USB devices (or at least keyborad and mouse) were not recognized (on some or all hardware) after a cold boot - i.e. one needed to cold boot, then hit reset at an appropriate point for things to be seen. This has been fixed (at least for my hardware) for -Current; I do not if this has come to 5.*/6.*. Robert Huff From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 11:03:51 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5D83016A400 for ; Mon, 5 Mar 2007 11:03:51 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.224]) by mx1.freebsd.org (Postfix) with ESMTP id 20F4D13C471 for ; Mon, 5 Mar 2007 11:03:51 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: by wx-out-0506.google.com with SMTP id s18so1426231wxc for ; Mon, 05 Mar 2007 03:03:50 -0800 (PST) Received: by 10.70.125.2 with SMTP id x2mr5576145wxc.1173092630512; Mon, 05 Mar 2007 03:03:50 -0800 (PST) Received: from localhost ( [67.189.184.224]) by mx.google.com with ESMTP id h11sm4981019wxd.2007.03.05.03.03.49; Mon, 05 Mar 2007 03:03:49 -0800 (PST) Date: Mon, 5 Mar 2007 06:03:46 -0500 From: Gerard Seibert To: freebsd-questions@freebsd.org Message-ID: <20070305060346.64482d6c@localhost> In-Reply-To: <45EB9F93.908@enabled.com> References: <45EB9F93.908@enabled.com> Organization: Seibercom.net X-Mailer: Claws Mail 2.8.0 (GTK+ 2.10.9; i386-portbld-freebsd6.2) X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_gL7T8Cb.RfJ9/iRG/FsXB8j"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Re: portmanager and use.perl port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 11:03:51 -0000 --Sig_gL7T8Cb.RfJ9/iRG/FsXB8j Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 04 Mar 2007 20:41:55 -0800 Noah wrote: > So at times I run portmanager on many of my servers but I want to > make sure that the perl installed is the port and not the system > version. >=20 > The only option I new about was to IGNORE building it. >=20 > # grep perl /usr/local/etc/portmanager/pm-020.conf > IGNORE|lang/perl*| >=20 > But I am wondering if there are proper settings that I can put in > placed to make sure that if perl is reinstalled that the port version > is the chosen version. I am not sure if this is what you are looking for. Syntax is: Usage: ./use.perl port -> /usr/bin/perl is the perl5 port ./use.perl system -> /usr/bin/perl is the system perl --=20 Gerard Isn't it nice that people who prefer Los Angeles to San Francisco live there? Herb Caen --Sig_gL7T8Cb.RfJ9/iRG/FsXB8j Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.2 (FreeBSD) iD8DBQFF6/kTFCqdq4D1ybYRAo74AJ0aThumg3azm75Df5TMfDdDsaqgjgCgunV5 Z+kHsSf38F0FQTBVlZ4t6vY= =CtPV -----END PGP SIGNATURE----- --Sig_gL7T8Cb.RfJ9/iRG/FsXB8j-- From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 11:50:10 2007 Return-Path: X-Original-To: freebsd-questions@FreeBSD.ORG Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6F42916A401 for ; Mon, 5 Mar 2007 11:50:10 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.freebsd.org (Postfix) with ESMTP id CAD1913C481 for ; Mon, 5 Mar 2007 11:50:09 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (nwluzy@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id l25Bo1OW030725; Mon, 5 Mar 2007 12:50:07 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id l25Bo00p030724; Mon, 5 Mar 2007 12:50:00 +0100 (CET) (envelope-from olli) Date: Mon, 5 Mar 2007 12:50:00 +0100 (CET) Message-Id: <200703051150.l25Bo00p030724@lurza.secnetix.de> From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG, tedm@toybox.placo.com, gldisater@gmail.com, hildebeb@mts.net In-Reply-To: <013801c74601$2bbd0cf0$3c01a8c0@coolf89ea26645> X-Newsgroups: list.freebsd-questions User-Agent: tin/1.8.2-20060425 ("Shillay") (UNIX) (FreeBSD/4.11-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Mon, 05 Mar 2007 12:50:07 +0100 (CET) Cc: Subject: Re: FreeBSD Torrent Server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 11:50:10 -0000 Sorry for the late reply, but I think this one needs a correction, so others don't find wrong information in the archives ... Ted Mittelstaedt wrote: > [...] > The FreeBSD Beastie was struck from his position as logo for FreeBSD > for some EXTREMELY minor controversy surrounding religions icons. > Well, using a Devil image didn't pirate anyone software or break a law. > Yet Beastie was axed for exactly the same "guilt by association" reasons. I'm afraid that paragraph is completely wrong. The BSD daemon (sometimes called "Beastie", but that's not its official name) was not "struck from his position as a logo", and it was not "axed". The BSD daemon never was a logo of the FreeBSD project. It was rather a mascot (and it still is!). However, it was sometimes used in a context where a logo would be used normally, simply for the fact that FreeBSD didn't have a real logo. Now, after the result of the logo contest last year, FreeBSD has a real, official logo, in addition to the BSD daemon mascot. Just look at www.freebsd.org. It doesn't look axed to me. ;-) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart Any opinions expressed in this message are personal to the author and may not necessarily reflect the opinions of secnetix GmbH & Co KG in any way. FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd $ dd if=/dev/urandom of=test.pl count=1 $ file test.pl test.pl: perl script text executable From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 11:53:52 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7DA2A16A400 for ; Mon, 5 Mar 2007 11:53:52 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.freebsd.org (Postfix) with ESMTP id 6CB2E13C442 for ; Mon, 5 Mar 2007 11:53:52 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from [172.23.10.40] (nat-service4.juniper.net [66.129.225.151]) (authenticated bits=0) by typhoon.enabled.com (8.14.0/8.14.0) with ESMTP id l25Brn29036768 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 5 Mar 2007 03:53:50 -0800 (PST) (envelope-from admin2@enabled.com) Message-ID: <45EC04B8.7070907@enabled.com> Date: Mon, 05 Mar 2007 03:53:28 -0800 From: Noah User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: Gerard Seibert References: <45EB9F93.908@enabled.com> <20070305060346.64482d6c@localhost> In-Reply-To: <20070305060346.64482d6c@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: portmanager and use.perl port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 11:53:52 -0000 Gerard Seibert wrote: > On Sun, 04 Mar 2007 20:41:55 -0800 > Noah wrote: > >> So at times I run portmanager on many of my servers but I want to >> make sure that the perl installed is the port and not the system >> version. >> >> The only option I new about was to IGNORE building it. >> >> # grep perl /usr/local/etc/portmanager/pm-020.conf >> IGNORE|lang/perl*| >> >> But I am wondering if there are proper settings that I can put in >> placed to make sure that if perl is reinstalled that the port version >> is the chosen version. > > I am not sure if this is what you are looking for. > > Syntax is: > > Usage: > ./use.perl port -> /usr/bin/perl is the perl5 port > ./use.perl system -> /usr/bin/perl is the system perl > > > not exactly what i am looking for. I am trying to get portmanager to auto-invoke the ./use.perl port after it reinstalls perl. cheers, Noah From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 12:24:58 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E6D6616A402 for ; Mon, 5 Mar 2007 12:24:58 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.freebsd.org (Postfix) with ESMTP id BEFAD13C461 for ; Mon, 5 Mar 2007 12:24:58 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from [172.23.10.40] (nat-service4.juniper.net [66.129.225.151]) (authenticated bits=0) by typhoon.enabled.com (8.14.0/8.14.0) with ESMTP id l25CP6I0087372 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 5 Mar 2007 04:25:07 -0800 (PST) (envelope-from admin2@enabled.com) Message-ID: <45EC0C0D.7040302@enabled.com> Date: Mon, 05 Mar 2007 04:24:45 -0800 From: Noah User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: User Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: rsync and trailing '/' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 12:24:59 -0000 rsync version 2.6.9 protocol version 29 I am running rsync, and I wonder if having the trailing '/' at the end of the directory is proper configuration? --- snip --- /usr/local/bin/rsync -avz -e ssh globs@globs.com:/var/cron/ /var/cron/ --- snip --- Cheers, Noah From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 12:34:28 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 763A416A401 for ; Mon, 5 Mar 2007 12:34:28 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.freebsd.org (Postfix) with ESMTP id 665CC13C471 for ; Mon, 5 Mar 2007 12:34:28 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from [172.23.10.40] (nat-service4.juniper.net [66.129.225.151]) (authenticated bits=0) by typhoon.enabled.com (8.14.0/8.14.0) with ESMTP id l25CYaiY093842 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 5 Mar 2007 04:34:36 -0800 (PST) (envelope-from admin2@enabled.com) Message-ID: <45EC0E47.2000106@enabled.com> Date: Mon, 05 Mar 2007 04:34:15 -0800 From: Noah User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: User Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: portdowngrade and cvsroot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 12:34:28 -0000 Hi there, I am attempting to run portdowngrade and it is timing out when I attempt to connect to anoncvs@anoncvs.jp.freebsd.org why is that happening? Is there another suggested CVS server I could connect to? I live in the San francisco area. setenv CVSROOT :pserver:anoncvs@anoncvs.jp.freebsd.org:/home/ncvs also after reading the relevant FreeBSD pages I am unclear how to configure an ssh hostkey for purdue's cvsroot "setenv CVSROOT SSH HostKey: 1024 a1:e7:46:de:fb:56:ef:05:bc:73:aa:91:09:da:f7:f4 r oot@sanmateo.ecn.purdue.edu" # portdowngrade openwebmail portdowngrade 0.6 by Heiner Eichmann Please note, that nothing is changed in the ports tree unless it is explicitly permitted in step 6! Seeking port openwebmail ... found: mail/openwebmail Step 1: Checking out port from CVS repository CVS root directory (from CVSROOT environment variable): :pserver:anoncvs@anoncvs.jp.freebsd.org:/home/ncvs cvs [checkout aborted]: connect to anoncvs.jp.freebsd.org(211.14.6.246):2401 failed: Operation timed out portdowngrade error: Can not check out port mail/openwebmail An error had occured. If this was an cvs error, try another cvs server. If this was an cvs login error, try the -o option. See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/anoncvs.html for details. thanks in advance, Noah From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 12:48:18 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9D61416A401 for ; Mon, 5 Mar 2007 12:48:18 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.187.76.162]) by mx1.freebsd.org (Postfix) with ESMTP id F268D13C4B5 for ; Mon, 5 Mar 2007 12:48:17 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from [172.16.3.238] (gateway.ash.thebunker.net [213.129.64.4]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.13.8/8.13.8) with ESMTP id l25ClbXf040065 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 5 Mar 2007 12:47:46 GMT (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <45EC1163.3090405@infracaninophile.co.uk> Date: Mon, 05 Mar 2007 12:47:31 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 1.5.0.9 (X11/20070123) MIME-Version: 1.0 To: Noah References: <45EC0C0D.7040302@enabled.com> In-Reply-To: <45EC0C0D.7040302@enabled.com> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enig96BDD455DC8E7635753D6ED0" X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (smtp.infracaninophile.co.uk [81.187.76.162]); Mon, 05 Mar 2007 12:48:01 +0000 (GMT) X-Virus-Scanned: ClamAV 0.90/2724/Mon Mar 5 10:43:30 2007 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00, DKIM_POLICY_TESTING,DK_POLICY_SIGNSOME autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on happy-idiot-talk.infracaninophile.co.uk Cc: User Questions Subject: Re: rsync and trailing '/' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 12:48:18 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig96BDD455DC8E7635753D6ED0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Noah wrote: > rsync version 2.6.9 protocol version 29 >=20 > I am running rsync, and I wonder if having the trailing '/' at the end > of the directory is proper configuration? >=20 > --- snip --- >=20 > /usr/local/bin/rsync -avz -e ssh globs@globs.com:/var/cron/ /var/cron/ >=20 Presence of absence of the final '/' on the rsync *source* directory means different things. If you say: rsync -a foo/ bar/ directory bar will end up with a copy of the contents of foo. So a=20 file foo/wibble.txt will end up as bar/wibble.txt. If on the other hand you say: rsync -a foo bar/ then you end up with a directory structure 'bar/foo/...', and wibble.txt ends up as bar/foo/wibble.txt Other than that, the presence or absence of the trailing slash on the *target* directory doesn't make a great deal of difference. I usually try and work things so that the rsync command line always has trailing slashes on both the source and the destination directories simply for consistencies' sake. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. Flat 3 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW, UK --------------enig96BDD455DC8E7635753D6ED0 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.2 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF7BFo3jDkPpsZ+VYRAy0SAKCq7tqNsZvlz/EMTA2GzqrV+F3vvQCfY1O3 vZ44b+oePbyLBvsqTEIdLuU= =gmWv -----END PGP SIGNATURE----- --------------enig96BDD455DC8E7635753D6ED0-- From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 13:19:41 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B6D1416A402 for ; Mon, 5 Mar 2007 13:19:41 +0000 (UTC) (envelope-from jwb@homer.att.com) Received: from mail146.messagelabs.com (mail146.messagelabs.com [216.82.245.131]) by mx1.freebsd.org (Postfix) with SMTP id 5DCB313C481 for ; Mon, 5 Mar 2007 13:19:36 +0000 (UTC) (envelope-from jwb@homer.att.com) X-VirusChecked: Checked X-Env-Sender: jwb@homer.att.com X-Msg-Ref: server-14.tower-146.messagelabs.com!1173100774!4122065!1 X-StarScan-Version: 5.5.10.7.1; banners=-,-,- X-Originating-IP: [134.24.146.4] Received: (qmail 6285 invoked from network); 5 Mar 2007 13:19:34 -0000 Received: from unknown (HELO attrh3i.attrh.att.com) (134.24.146.4) by server-14.tower-146.messagelabs.com with SMTP; 5 Mar 2007 13:19:34 -0000 Received: from attrh.att.com (localhost [127.0.0.1]) by attrh3i.attrh.att.com (8.13.8/8.13.8) with ESMTP id l25DJUV7007546; Mon, 5 Mar 2007 08:19:30 -0500 (EST) Received: from ulysses.homer.att.com (ulysses.homer.att.com [135.205.193.8]) by attrh3i.attrh.att.com (8.13.8/8.13.8) with ESMTP id l25DJNxZ007497; Mon, 5 Mar 2007 08:19:24 -0500 (EST) Received: from akiva.homer.att.com (akiva.homer.att.com [135.205.212.39]) by ulysses.homer.att.com (8.9.3/8.9.3) with ESMTP id IAA06736; Mon, 5 Mar 2007 08:19:13 -0500 (EST) Received: from akiva.homer.att.com (localhost [127.0.0.1]) by akiva.homer.att.com (8.11.7+Sun/8.9.3) with ESMTP id l25DJCp01728; Mon, 5 Mar 2007 08:19:13 -0500 (EST) Message-Id: <200703051319.l25DJCp01728@akiva.homer.att.com> X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.0.4 To: Jerry McAllister In-reply-to: Your message of "Fri, 02 Mar 2007 16:45:51 EST." <20070302214551.GA91738@gizmo.acns.msu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 05 Mar 2007 08:19:12 -0500 From: "J. W. Ballantine" Cc: freebsd-questions@freebsd.org Subject: Re: slice/booting problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 13:19:41 -0000 The third party boot manager does play nice, I've had this setup working before (with the same BM [smartboot]), and everything worked fine. Thanks ---------- In Response to your message ------------- > Date: Fri, 2 Mar 2007 16:45:51 -0500 > To: "J. W. Ballantine" > From: Jerry McAllister > Subject: Re: slice/booting problem > > On Fri, Mar 02, 2007 at 03:12:55PM -0500, J. W. Ballantine wrote: > > > > > I have a two disk system, and I'm trying to install FBSD6.2 on slice 2 > > of the second disk, a configuration that I've had working in the past. > > > > I'm using the Standard installation, select the second disk (ad1) > > and create a slice (ad1s2) and then create the partitions within > > that slice. On that disk, I install the FreeBSD Boot Manager (I have > > a third party boot manager installed on ad0 that boots FreeBSD). > > > > During the install, I ls /dev and find the ad1s2 partitions created. > > > > After the install, when I try to re-boot, it fails when it trys to > > mountroot. When I enter ?, I get a listr of GEOM managed disks, but > > the partitions are not listed, while the slice is. > > > > Any ideas on what I'm missing??? > > Just a wild guess: That either the first or second disk didn't > really get an MBR written to it - or the third party boot manager > on the first disk might not play nicely with the one on the second > disk. > Try using fdisk (from the install CD fixit if necessary) to write > the FreeBSD MBR to both disks. You can put the other third party > booter back afterward if desired/needed. > > ////jerry > > > > > Thanks > > > > Jim Ballantine > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.or g" > From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 14:00:21 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2F25716A402 for ; Mon, 5 Mar 2007 14:00:21 +0000 (UTC) (envelope-from huyslogic@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id BDFB913C442 for ; Mon, 5 Mar 2007 14:00:20 +0000 (UTC) (envelope-from huyslogic@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so1150676ugh for ; Mon, 05 Mar 2007 06:00:19 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=gxNH4vGSGuJmnhND01JmSSpN/gPhbbsH1PjY2WiUNUaXJwskAg/mu2Bn20YxP7K48o4rBh0nFqTfi7PqhHWiL9g7UeqM90f8FIqWTxs9cAeHKxojzIllo4Lkd+GwkVTaT0GwlX0z464DdmrU1qugp/bYSnBOI8DcDVcrN8sSne0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=H4QqcYLZshJ+XlnZYFdhW1DJ+cZB4RVWwtk7vm/ljvtWcqQ1l6x4LKAfTpE1J6lljpXRVZafdtv9Pl9ckyRzSRje1tjB66klM6d7P4m1NYQHpWwC28bwV/gF1H7G6BjY4isP5Zk380yUfaHRAVZ06U/qq5R+wjZfMV2V+iGnHac= Received: by 10.114.60.19 with SMTP id i19mr1250317waa.1173101614004; Mon, 05 Mar 2007 05:33:34 -0800 (PST) Received: by 10.114.197.11 with HTTP; Mon, 5 Mar 2007 05:33:33 -0800 (PST) Message-ID: <1cac28080703050533o5438f1eai2d55f94898dc37e8@mail.gmail.com> Date: Mon, 5 Mar 2007 08:33:33 -0500 From: "Huy Ton That" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Restore /libexec/ld-elf.so.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 14:00:21 -0000 I renamed this file and now I cannot boot up anymore... How can I restore this file? Help From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 14:49:21 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C1D4516A400 for ; Mon, 5 Mar 2007 14:49:21 +0000 (UTC) (envelope-from jean.daigle@SolaceSystems.com) Received: from mail.allstreamits.com (mail.allstreamits.com [66.46.107.253]) by mx1.freebsd.org (Postfix) with ESMTP id 7385F13C4E1 for ; Mon, 5 Mar 2007 14:49:21 +0000 (UTC) (envelope-from jean.daigle@SolaceSystems.com) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 5 Mar 2007 09:37:54 -0500 Message-ID: <6B865826E860EF42B3A387A03F39539616917F69@EX0004.AllstreamITS.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Starting a service on boot Thread-Index: AcdfM9xYQ/QE2JtOTGCan9QH9fWMxA== From: "Jean-Philippe Daigle" To: Subject: Starting a service on boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 14:49:21 -0000 Hello, I'm attempting to add a new program to the list of services starting at boot time on FreeBSD 6.1. Unfortunately, although running the script directly as root starts it up just fine, it's not starting at boot time. I've found documentation that says there are two basic steps to follow: 1) Create a script named, say, 'foo' starting the program, place it in /etc/rc.d/, and make sure it satisfies a few minimal requirements (see script below). 2) Edit rc.conf to add "foo_enable=3DYES" so the init system knows to start the new program. I've done (2), and here's the script for (1) (anything between <> is me redacting a username, it's obviously not that way in the script): (/etc/rc.d)$ cat cc #!/bin/sh # # PROVIDE: cc # REQUIRE: DAEMON . /etc/rc.subr name=3D"cc" rcvar=3D`set_rcvar` command=3D"/home//cruisecontrol.sh" command_args=3D"&" cc_user=3D"" load_rc_config $name run_rc_command "$1" I can also check if it's enabled: (/etc/rc.d)$ ./cc rcvar=20 # cc $cc_enable=3DYES I haven't found anything interesting in the system logs from the last boot - any ideas why it's not starting up? Thanks -Jean-Philippe Daigle From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 14:53:15 2007 Return-Path: X-Original-To: FreeBSD-questions@FreeBSD.org Delivered-To: FreeBSD-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 551D416A403 for ; Mon, 5 Mar 2007 14:53:15 +0000 (UTC) (envelope-from chris@hier7.com) Received: from smtp101.rog.mail.re2.yahoo.com (smtp101.rog.mail.re2.yahoo.com [206.190.36.79]) by mx1.freebsd.org (Postfix) with SMTP id 0A57113C505 for ; Mon, 5 Mar 2007 14:53:14 +0000 (UTC) (envelope-from chris@hier7.com) Received: (qmail 65102 invoked from network); 5 Mar 2007 14:53:14 -0000 Received: from unknown (HELO ?74.109.56.185?) (cms.kw@rogers.com@74.109.56.185 with plain) by smtp101.rog.mail.re2.yahoo.com with SMTP; 5 Mar 2007 14:53:14 -0000 X-YMail-OSG: sFtjO50VM1nz8864mNwaRR5S1p4TWsNpuB9Jv7.qI1ez0xAizQtf1NhULH7KNtj9tg-- Message-ID: <45EC2EDE.9090201@hier7.com> Date: Mon, 05 Mar 2007 09:53:18 -0500 From: Chris Slothouber Organization: hier7 User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: FreeBSD-questions@FreeBSD.org References: <6B865826E860EF42B3A387A03F39539616917F69@EX0004.AllstreamITS.local> In-Reply-To: <6B865826E860EF42B3A387A03F39539616917F69@EX0004.AllstreamITS.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Starting a service on boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 14:53:15 -0000 I think you need to call it cc.sh And make sure it's +x Jean-Philippe Daigle wrote: > Hello, > > I'm attempting to add a new program to the list of services starting at > boot time on FreeBSD 6.1. Unfortunately, although running the script > directly as root starts it up just fine, it's not starting at boot time. > I've found documentation that says there are two basic steps to follow: > > 1) Create a script named, say, 'foo' starting the program, place it in > /etc/rc.d/, and make sure it satisfies a few minimal requirements (see > script below). > > 2) Edit rc.conf to add "foo_enable=YES" so the init system knows to > start the new program. > > I've done (2), and here's the script for (1) (anything between <> is me > redacting a username, it's obviously not that way in the script): > > (/etc/rc.d)$ cat cc > #!/bin/sh > # > # PROVIDE: cc > # REQUIRE: DAEMON > > . /etc/rc.subr > > name="cc" > rcvar=`set_rcvar` > command="/home//cruisecontrol.sh" > command_args="&" > cc_user="" > > load_rc_config $name > run_rc_command "$1" > > > I can also check if it's enabled: > (/etc/rc.d)$ ./cc rcvar > # cc > $cc_enable=YES > > I haven't found anything interesting in the system logs from the last > boot - any ideas why it's not starting up? > > Thanks > -Jean-Philippe Daigle > > _______________________________________________ > 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 Mar 5 15:01:12 2007 Return-Path: X-Original-To: FreeBSD-questions@FreeBSD.org Delivered-To: FreeBSD-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 543F616A400 for ; Mon, 5 Mar 2007 15:01:12 +0000 (UTC) (envelope-from jean.daigle@SolaceSystems.com) Received: from mail.allstreamits.com (mail.allstreamits.com [66.46.107.253]) by mx1.freebsd.org (Postfix) with ESMTP id 03BC713C428 for ; Mon, 5 Mar 2007 15:01:11 +0000 (UTC) (envelope-from jean.daigle@SolaceSystems.com) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 5 Mar 2007 10:01:48 -0500 Message-ID: <6B865826E860EF42B3A387A03F3953961691808C@EX0004.AllstreamITS.local> In-reply-to: <45EC2EDE.9090201@hier7.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Starting a service on boot Thread-Index: AcdfNpDmCUpPFiQoTnamsLXt9Qy6PgAAFFCQ References: <6B865826E860EF42B3A387A03F39539616917F69@EX0004.AllstreamITS.local> <45EC2EDE.9090201@hier7.com> From: "Jean-Philippe Daigle" To: "Chris Slothouber" , Cc: Subject: RE: Starting a service on boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 15:01:12 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of Chris Slothouber > Sent: Monday, March 05, 2007 9:53 AM > To: FreeBSD-questions@FreeBSD.org > Subject: Re: Starting a service on boot >=20 > I think you need to call it cc.sh > And make sure it's +x >=20 Thanks, the script is definitely executable. I tried renaming it to "cc.sh" and rebooting, to no effect. Still nothing interesting in the logs from this boot... Jean-Philippe Daigle From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 15:03:48 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5AE1C16A400 for ; Mon, 5 Mar 2007 15:03:48 +0000 (UTC) (envelope-from enigma@k1.com.br) Received: from sipserver.k1.com.br (customer-200195195217.idc.onda.com.br [200.195.195.217]) by mx1.freebsd.org (Postfix) with ESMTP id B777F13C4A7 for ; Mon, 5 Mar 2007 15:03:47 +0000 (UTC) (envelope-from enigma@k1.com.br) Received: from k1.com.br (localhost [127.0.0.1]) by sipserver.k1.com.br (8.13.6/8.13.6) with ESMTP id l25AHMrf078041 for ; Mon, 5 Mar 2007 11:53:21 -0300 (BRT) (envelope-from enigma@k1.com.br) X-MessageWall-Score: 0 (k1.com.br) Received: from [201.86.25.122] (authenticated as k1) by k1.com.br (MessageWall 1.0.8) with SMTP; 5 Mar 2007 14:53:21 -0000 From: Sergio Lenzi To: freebsd-questions@freebsd.org In-Reply-To: <1cac28080703050533o5438f1eai2d55f94898dc37e8@mail.gmail.com> References: <1cac28080703050533o5438f1eai2d55f94898dc37e8@mail.gmail.com> Date: Mon, 05 Mar 2007 11:53:19 -0300 Message-Id: <1173106399.1234.6.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 FreeBSD GNOME Team Port Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Restore /libexec/ld-elf.so.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 15:03:48 -0000 Em Seg, 2007-03-05 às 08:33 -0500, Huy Ton That escreveu: > I renamed this file and now I cannot boot up anymore... How can I restore > this file? Help The easy way: 1) Boot from the FreeBSD 1 boot cd (that one with 680Mb...) 2) choose repair 3) fsck the /dev/adXs1a (X is 0,1.... depending of your machine setup...) 4) mount the /dev/adXs1a on /mnt 5) restore the libexec ..... if you have removed them.. copy from the CD that is mounted on /dist Hope it can help From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 15:04:58 2007 Return-Path: X-Original-To: FreeBSD-questions@FreeBSD.org Delivered-To: FreeBSD-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6945916A400 for ; Mon, 5 Mar 2007 15:04:58 +0000 (UTC) (envelope-from chris@hier7.com) Received: from smtp103.rog.mail.re2.yahoo.com (smtp103.rog.mail.re2.yahoo.com [206.190.36.81]) by mx1.freebsd.org (Postfix) with SMTP id 0721B13C491 for ; Mon, 5 Mar 2007 15:04:57 +0000 (UTC) (envelope-from chris@hier7.com) Received: (qmail 40360 invoked from network); 5 Mar 2007 15:04:56 -0000 Received: from unknown (HELO ?74.109.56.185?) (cms.kw@rogers.com@74.109.56.185 with plain) by smtp103.rog.mail.re2.yahoo.com with SMTP; 5 Mar 2007 15:04:56 -0000 X-YMail-OSG: 3M4s80MVM1kMb2kd93PIqmi1k9Eu65abTBHNf.OK4J1FHqUKNerKu8wRPtDFMAlctw-- Message-ID: <45EC319C.3010202@hier7.com> Date: Mon, 05 Mar 2007 10:05:00 -0500 From: Chris Slothouber Organization: hier7 User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: FreeBSD-questions@FreeBSD.org References: <6B865826E860EF42B3A387A03F39539616917F69@EX0004.AllstreamITS.local> <45EC2EDE.9090201@hier7.com> <6B865826E860EF42B3A387A03F3953961691808C@EX0004.AllstreamITS.local> In-Reply-To: <6B865826E860EF42B3A387A03F3953961691808C@EX0004.AllstreamITS.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Starting a service on boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 15:04:58 -0000 Perhaps you could put a debug point in the script to ensure it is being started (e.g. touch a file or echo something to the terminal), and if it is indeed being run by rc, move the point until you find out where it's breaking? Jean-Philippe Daigle wrote: >> -----Original Message----- >> From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- >> questions@freebsd.org] On Behalf Of Chris Slothouber >> Sent: Monday, March 05, 2007 9:53 AM >> To: FreeBSD-questions@FreeBSD.org >> Subject: Re: Starting a service on boot >> >> I think you need to call it cc.sh >> And make sure it's +x >> > > Thanks, the script is definitely executable. I tried renaming it to > "cc.sh" and rebooting, to no effect. Still nothing interesting in the > logs from this boot... > > Jean-Philippe Daigle > From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 15:05:34 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8611316A402 for ; Mon, 5 Mar 2007 15:05:34 +0000 (UTC) (envelope-from bg271828@yahoo.com) Received: from web53410.mail.yahoo.com (web53410.mail.yahoo.com [206.190.37.57]) by mx1.freebsd.org (Postfix) with SMTP id 4315713C4A7 for ; Mon, 5 Mar 2007 15:05:34 +0000 (UTC) (envelope-from bg271828@yahoo.com) Received: (qmail 80787 invoked by uid 60001); 5 Mar 2007 15:05:33 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=44t/bw88ViosEazHAqV0tScwnd8SvQGftpwrGL6sW0I9M7Xg94G1aG+9ZPryVT56wPPc3iKb6ZMnB6up82ASmSWuvfT18rAdnlfVFFPzi7yX8GMJIKj/DTqnZlk20bES363jhZDiDOWMi52VlUN+TnVM/HtWLVhY65s+qbe/Z6o=; X-YMail-OSG: bBZFgQUVM1llzsf0qRDwIRz.wNCnhkoiiLr.xxNZ Received: from [12.182.77.130] by web53410.mail.yahoo.com via HTTP; Mon, 05 Mar 2007 07:05:30 PST Date: Mon, 5 Mar 2007 07:05:30 -0800 (PST) From: "Dr. Jennifer Nussbaum" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <31636.77056.qm@web53410.mail.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Starting MySQL with different database directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 15:05:34 -0000 I hope this is the right place--i looked over the MySQL docs but they talk about a different startup practice than what FreeBSD uses. I have a new install of MySQL 5.1 on a FreeBSD 6.2 system. I want to have my MySQL data directory in a place other than /var/db/mysql. I thought i do this by copying the appropriate my.cnf into /etc/my.conf and adding a line like "datadir = /usr/local/mysql/var/" and making it readable to mysql user. But this doesnt work; when i restart MySQL its still using /var/db/mysql. So i looked at the mysql-server startup script in /usr/local/etc/rc.d and added to rc.conf "mysql_dbdir="/usr/local/mysql/var"". (I DON'T want to do it this way, because i really want my MySQL related configuration things in my MySQL configuration file, not split between there and my FreeBSD startup file. What if i need to start mysql in some other way? But for now im just trying to see what i can get to work.) This seemed to change something--mysqld had been running when i made this change and when I ran "mysql-server stop" it couldnt stop, because it was looking in /usr/local/mysql/var/foo.pid--i think this means it did register the change to the new directory. But i couldnt then start it, because when I run "mysql-server start" i get a "Can't connect to local MySQL server through socket '/tmp/mysql.sock'" error. What's the right way to do this? Again id really prefer to do this all through the my.cnf file, but this seems not to be getting read, at least for this reason. Thank you. Jen --------------------------------- Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 15:09:30 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CD2B816A400 for ; Mon, 5 Mar 2007 15:09:30 +0000 (UTC) (envelope-from questions@totaldiver.net) Received: from mail.totaldiver.net (fl-209-26-20-205.sta.embarqhsd.net [209.26.20.205]) by mx1.freebsd.org (Postfix) with ESMTP id 8C98013C441 for ; Mon, 5 Mar 2007 15:09:30 +0000 (UTC) (envelope-from questions@totaldiver.net) Received: from WRKSTN210.totaldiver.net (router.tegogroup.com [71.122.228.226]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.totaldiver.net (Postfix) with ESMTP id 97443B852 for ; Mon, 5 Mar 2007 10:09:28 -0500 (EST) Message-Id: <7.0.1.0.0.20070305100724.01a34dc8@totaldiver.net> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Mon, 05 Mar 2007 10:09:28 -0500 To: freebsd-questions@freebsd.org From: Jeff Palmer In-Reply-To: <755cb9fc0703021131s197d4f4bpd0a1decbf3b7dc76@mail.gmail.co m> References: <755cb9fc0703021022x11e32010pa50107bf5787139c@mail.gmail.com> <755cb9fc0703021131s197d4f4bpd0a1decbf3b7dc76@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: Question about a specific ISP: Amen/Amenworld X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 15:09:30 -0000 At 02:31 PM 3/2/2007, Alexandre Vieira wrote: >Hello folks, > >I'm interested in a dedicated server plan from a somewhat big company called >Amenworld (www.amenworld.com) but the sales technician is telling me that >amen technicians can't install freebsd on the machines. After some googling >I found that they are hosting some freebsd machines (if this counts for >anything). > >Is there anyone here that by any change is a client on this company and runs >freebsd? > >Thanks in advance >Regards >-- >Alexandre Vieira - nullpt@gmail.com Alexandre, I know nothing about this company.. but just because a few boxes have FreeBSD doesn't mean they necessarily support it. It's possible to change from linux to FreeBSD on remote machine using utilities like: http://www.daemonology.net/depenguinator/ Hope that helps, Jeff P.S. Be warned, that utility re-images the disk, and can leave the machine in non-bootable state. Possibly forcing you to incur support fees from the ISP/Datacenter. From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 15:12:07 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BA85316A402 for ; Mon, 5 Mar 2007 15:12:07 +0000 (UTC) (envelope-from bsilver@chrononomicon.com) Received: from trans-warp.net (hyperion.trans-warp.net [216.37.208.37]) by mx1.freebsd.org (Postfix) with ESMTP id 427F313C49D for ; Mon, 5 Mar 2007 15:12:07 +0000 (UTC) (envelope-from bsilver@chrononomicon.com) Received: from [127.0.0.1] (unverified [65.193.73.208]) by trans-warp.net (SurgeMail 3.8f2) with ESMTP id 107443915-1860479 for ; Mon, 05 Mar 2007 09:56:56 -0500 Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: <52B6695D-7CA1-4B3F-8101-A167D57C52A2@chrononomicon.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: FreeBSD Mailing Lists From: Bart Silverstrim Date: Mon, 5 Mar 2007 09:56:56 -0500 X-Mailer: Apple Mail (2.752.3) X-Authenticated-User: bsilver@chrononomicon.com Subject: Proxy 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: Mon, 05 Mar 2007 15:12:07 -0000 We are currently running Squid and SquidGuard on FreeBSD for monitoring/proxying web browsing activity at our workplace. The problem is that some users figured out how to use a specific type of proxy to bypass protections...specifically, they're going through an https site. Is it possible to run a proxy that can monitor https connections and block them if necessary? -Bart From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 15:13:41 2007 Return-Path: X-Original-To: FreeBSD-questions@FreeBSD.org Delivered-To: FreeBSD-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9889116A401 for ; Mon, 5 Mar 2007 15:13:41 +0000 (UTC) (envelope-from jean.daigle@SolaceSystems.com) Received: from mail.allstreamits.com (mail.allstreamits.com [66.46.107.253]) by mx1.freebsd.org (Postfix) with ESMTP id 4742913C4AA for ; Mon, 5 Mar 2007 15:13:41 +0000 (UTC) (envelope-from jean.daigle@SolaceSystems.com) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 5 Mar 2007 10:14:17 -0500 Message-ID: <6B865826E860EF42B3A387A03F39539616918113@EX0004.AllstreamITS.local> In-reply-to: <45EC319C.3010202@hier7.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Starting a service on boot Thread-Index: AcdfOD/eyHvZOvLgTguRKqF7UlnXSwAAEWjQ References: <6B865826E860EF42B3A387A03F39539616917F69@EX0004.AllstreamITS.local><45EC2EDE.9090201@hier7.com><6B865826E860EF42B3A387A03F3953961691808C@EX0004.AllstreamITS.local> <45EC319C.3010202@hier7.com> From: "Jean-Philippe Daigle" To: "Chris Slothouber" , Cc: Subject: RE: Starting a service on boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 15:13:41 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of Chris Slothouber > Sent: Monday, March 05, 2007 10:05 AM > To: FreeBSD-questions@FreeBSD.org > Subject: Re: Starting a service on boot >=20 > Perhaps you could put a debug point in the script to ensure it is being > started (e.g. touch a file or echo something to the terminal), and if it > is indeed being run by rc, move the point until you find out where it's > breaking? Thanks for the suggestion! I did, and it really looks like the script never gets started. Permissions: (/etc/rc.d)$ ls -l cc.sh=20 -rwxr-xr-x 1 root wheel 246 Mar 5 10:11 cc.sh Script contents: (/etc/rc.d)$ cat cc.sh=20 #!/bin/sh # # PROVIDE: cc # REQUIRE: DAEMON . /etc/rc.subr touch /tmp/quuuuuuux name=3D"cc" rcvar=3D`set_rcvar` command=3D"/home//cruisecontrol/cruisecontrol.sh" command_args=3D"&" cc_user=3D"" load_rc_config $name run_rc_command "$1" Of course, the file /tmp/quuuuuuux never gets created, so the script isn't running. -JP From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 15:20:59 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E472116A400 for ; Mon, 5 Mar 2007 15:20:59 +0000 (UTC) (envelope-from chris@hier7.com) Received: from smtp109.rog.mail.re2.yahoo.com (smtp109.rog.mail.re2.yahoo.com [68.142.225.207]) by mx1.freebsd.org (Postfix) with SMTP id 9CD8113C49D for ; Mon, 5 Mar 2007 15:20:59 +0000 (UTC) (envelope-from chris@hier7.com) Received: (qmail 4260 invoked from network); 5 Mar 2007 15:20:58 -0000 Received: from unknown (HELO ?74.109.56.185?) (cms.kw@rogers.com@74.109.56.185 with plain) by smtp109.rog.mail.re2.yahoo.com with SMTP; 5 Mar 2007 15:20:58 -0000 X-YMail-OSG: n4D4p2YVM1kS83QKgxnnyLcBsiFunH7532oWQHactGgttb4Puq.osykyssWfva2lNw-- Message-ID: <45EC355F.1080008@hier7.com> Date: Mon, 05 Mar 2007 10:21:03 -0500 From: Chris Slothouber Organization: hier7 User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <755cb9fc0703021022x11e32010pa50107bf5787139c@mail.gmail.com> <755cb9fc0703021131s197d4f4bpd0a1decbf3b7dc76@mail.gmail.com> <7.0.1.0.0.20070305100724.01a34dc8@totaldiver.net> In-Reply-To: <7.0.1.0.0.20070305100724.01a34dc8@totaldiver.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Question about a specific ISP: Amen/Amenworld X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 15:21:00 -0000 Personally, I would never consider a vendor that does not at least have a cursory knowledge of the platform I was using on a leased server. If they are miles away, I want someone with a clue to be my eyes an ears in the event of an emergency. I'd recommend going with a host who supports FreeBSD. Jeff Palmer wrote: > At 02:31 PM 3/2/2007, Alexandre Vieira wrote: >> Hello folks, >> >> I'm interested in a dedicated server plan from a somewhat big company >> called >> Amenworld (www.amenworld.com) but the sales technician is telling me that >> amen technicians can't install freebsd on the machines. After some >> googling >> I found that they are hosting some freebsd machines (if this counts for >> anything). >> >> Is there anyone here that by any change is a client on this company >> and runs >> freebsd? >> >> Thanks in advance >> Regards >> -- >> Alexandre Vieira - nullpt@gmail.com > > Alexandre, > > I know nothing about this company.. but just because a few boxes have > FreeBSD doesn't mean they necessarily support it. It's possible to > change from linux to FreeBSD on remote machine using utilities like: > http://www.daemonology.net/depenguinator/ > > Hope that helps, > > Jeff > > P.S. Be warned, that utility re-images the disk, and can leave the > machine in non-bootable state. Possibly forcing you to incur support > fees from the ISP/Datacenter. > > _______________________________________________ > 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 Mar 5 15:29:03 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8D32116A403 for ; Mon, 5 Mar 2007 15:29:03 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr9.xs4all.nl (smtp-vbr9.xs4all.nl [194.109.24.29]) by mx1.freebsd.org (Postfix) with ESMTP id 0DFFD13C4A5 for ; Mon, 5 Mar 2007 15:29:02 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr9.xs4all.nl (8.13.8/8.13.8) with ESMTP id l25FT09V033715; Mon, 5 Mar 2007 16:29:01 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id C2E3CB829; Mon, 5 Mar 2007 16:29:00 +0100 (CET) Date: Mon, 5 Mar 2007 16:29:00 +0100 From: Roland Smith To: Jean-Philippe Daigle Message-ID: <20070305152900.GA6326@slackbox.xs4all.nl> Mail-Followup-To: Jean-Philippe Daigle , freebsd-questions@freebsd.org References: <6B865826E860EF42B3A387A03F39539616917F69@EX0004.AllstreamITS.local> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DocE+STaALJfprDB" Content-Disposition: inline In-Reply-To: <6B865826E860EF42B3A387A03F39539616917F69@EX0004.AllstreamITS.local> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.14 (2007-02-12) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Starting a service on boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 15:29:03 -0000 --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 05, 2007 at 09:37:54AM -0500, Jean-Philippe Daigle wrote: > Hello, >=20 > I'm attempting to add a new program to the list of services starting at > boot time on FreeBSD 6.1. Unfortunately, although running the script > directly as root starts it up just fine, it's not starting at boot time. > I've found documentation that says there are two basic steps to follow: >=20 > 1) Create a script named, say, 'foo' starting the program, place it in > /etc/rc.d/, and make sure it satisfies a few minimal requirements (see > script below). The proper place is /usr/local/etc/rc.d. =20 > 2) Edit rc.conf to add "foo_enable=3DYES" so the init system knows to > start the new program. >=20 > I've done (2), and here's the script for (1) (anything between <> is me > redacting a username, it's obviously not that way in the script): >=20 > (/etc/rc.d)$ cat cc Better to name the script and the service "cruisecontrol" instead of using the name of the system C compiler. It avoids confusion. > #!/bin/sh > # > # PROVIDE: cc > # REQUIRE: DAEMON I'd make that "REQUIRE: mountlate" if /home is not on the / partition. =20 > . /etc/rc.subr >=20 > name=3D"cc" > rcvar=3D`set_rcvar` > command=3D"/home//cruisecontrol.sh" > command_args=3D"&" > cc_user=3D"" Does /home//cruisecontrol.sh needs cc_user? This environment variable is only available in this subshell. It is not exported, so /home//cruisecontrol.sh doesn't see it. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --DocE+STaALJfprDB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.2 (FreeBSD) iD8DBQFF7Dc8EnfvsMMhpyURAprWAJ464QNOzvK45AYNgqiNhFbYbCJGGwCgjkqt Ji86wEsGbQs6h4ZuENQoODI= =tA2I -----END PGP SIGNATURE----- --DocE+STaALJfprDB-- From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 15:31:49 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 201F616A401 for ; Mon, 5 Mar 2007 15:31:49 +0000 (UTC) (envelope-from raggen@passagen.se) Received: from av6-1-sn3.vrr.skanova.net (av6-1-sn3.vrr.skanova.net [81.228.9.179]) by mx1.freebsd.org (Postfix) with ESMTP id AE56B13C48E for ; Mon, 5 Mar 2007 15:31:48 +0000 (UTC) (envelope-from raggen@passagen.se) Received: by av6-1-sn3.vrr.skanova.net (Postfix, from userid 502) id 59E0538587; Mon, 5 Mar 2007 16:31:47 +0100 (CET) Received: from smtp3-2-sn3.vrr.skanova.net (smtp3-2-sn3.vrr.skanova.net [81.228.9.102]) by av6-1-sn3.vrr.skanova.net (Postfix) with ESMTP id 2A7CE38584; Mon, 5 Mar 2007 16:31:47 +0100 (CET) Received: from [192.168.1.6] (81-231-90-251-no41.tbcn.telia.com [81.231.90.251]) by smtp3-2-sn3.vrr.skanova.net (Postfix) with ESMTP id EBD3D37E53; Mon, 5 Mar 2007 16:31:46 +0100 (CET) Message-ID: <45EC3859.2010306@passagen.se> Date: Mon, 05 Mar 2007 16:33:45 +0100 From: Roger Olofsson User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: "Dr. Jennifer Nussbaum" References: <31636.77056.qm@web53410.mail.yahoo.com> In-Reply-To: <31636.77056.qm@web53410.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Starting MySQL with different database directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 15:31:49 -0000 Hello Dr. Nussbaum, I do this quite alot but I prefer to do it like this: 1. stop mysqld. 2. copy the /var/db/mysql to 3. rename /var/db/mysql to keep the original (just in case) 4. create a symlink in /var/db that points to You create a symlink by issuing the following command (in /var/db) ln -s mysql replace with the correct path to where you want your database files. Good luck! Dr. Jennifer Nussbaum skrev: > I hope this is the right place--i looked over the MySQL docs but they talk about a different startup practice than what FreeBSD uses. > > I have a new install of MySQL 5.1 on a FreeBSD 6.2 system. I want to have my > MySQL data directory in a place other than /var/db/mysql. I thought i do this by > copying the appropriate my.cnf into /etc/my.conf and adding a line like "datadir = > /usr/local/mysql/var/" and making it readable to mysql user. But this doesnt work; > when i restart MySQL its still using /var/db/mysql. > > So i looked at the mysql-server startup script in /usr/local/etc/rc.d and added to > rc.conf "mysql_dbdir="/usr/local/mysql/var"". (I DON'T want to do it this way, > because i really want my MySQL related configuration things in my MySQL > configuration file, not split between there and my FreeBSD startup file. What if > i need to start mysql in some other way? But for now im just trying to see what > i can get to work.) This seemed to change something--mysqld had been running > when i made this change and when I ran "mysql-server stop" it couldnt stop, > because it was looking in /usr/local/mysql/var/foo.pid--i think this means it did > register the change to the new directory. But i couldnt then start it, because when > I run "mysql-server start" i get a "Can't connect to local MySQL server through > socket '/tmp/mysql.sock'" error. > > What's the right way to do this? Again id really prefer to do this all through the > my.cnf file, but this seems not to be getting read, at least for this reason. > > Thank you. > > Jen > > > --------------------------------- > Food fight? Enjoy some healthy debate > in the Yahoo! Answers Food & Drink Q&A. > _______________________________________________ > 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 Mar 5 15:33:35 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 17E0916A401 for ; Mon, 5 Mar 2007 15:33:35 +0000 (UTC) (envelope-from chris@hier7.com) Received: from smtp108.rog.mail.re2.yahoo.com (smtp108.rog.mail.re2.yahoo.com [68.142.225.206]) by mx1.freebsd.org (Postfix) with SMTP id C0C3313C428 for ; Mon, 5 Mar 2007 15:33:34 +0000 (UTC) (envelope-from chris@hier7.com) Received: (qmail 22533 invoked from network); 5 Mar 2007 15:33:34 -0000 Received: from unknown (HELO ?74.109.56.185?) (cms.kw@rogers.com@74.109.56.185 with plain) by smtp108.rog.mail.re2.yahoo.com with SMTP; 5 Mar 2007 15:33:34 -0000 X-YMail-OSG: dAcyQPkVM1nfMuJ8DGjmv6q0xwNI.lryL44bYmwNKw4HGpQdwSTCmEHhixKkfGMG6g-- Message-ID: <45EC3852.8080105@hier7.com> Date: Mon, 05 Mar 2007 10:33:38 -0500 From: Chris Slothouber Organization: hier7 User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: User Questions References: <755cb9fc0703021022x11e32010pa50107bf5787139c@mail.gmail.com> <755cb9fc0703021131s197d4f4bpd0a1decbf3b7dc76@mail.gmail.com><7.0.1.0.0.20070305100724.01a34dc8@totaldiver.net> <45EC355F.1080008@hier7.com> <000d01c75f3a$de580200$0202fea9@jarasoft.net> In-Reply-To: <000d01c75f3a$de580200$0202fea9@jarasoft.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Question about a specific ISP: Amen/Amenworld X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 15:33:35 -0000 Hi Jack, I think it was Alexandre who was interested in a particular host in the UK and was debating bringing his business to a company who let him know outright that they do not support FreeBSD. Thanks though! Jack Raats wrote: > Chris, > > You can try www.layeredtech.com . > At theair facili tiesI 've two machines running FreeBSD and the service > they offer is really great!!! > > Jack > > > ----- Original Message ----- From: "Chris Slothouber" > To: > Sent: Monday, March 05, 2007 4:21 PM > Subject: Re: Question about a specific ISP: Amen/Amenworld > > >> Personally, I would never consider a vendor that does not at least >> have a cursory knowledge of the platform I was using on a leased >> server. If they are miles away, I want someone with a clue to be my >> eyes an ears in the event of an emergency. >> >> I'd recommend going with a host who supports FreeBSD. >> >> Jeff Palmer wrote: >>> At 02:31 PM 3/2/2007, Alexandre Vieira wrote: >>>> Hello folks, >>>> >>>> I'm interested in a dedicated server plan from a somewhat big >>>> company called >>>> Amenworld (www.amenworld.com) but the sales technician is telling me >>>> that >>>> amen technicians can't install freebsd on the machines. After some >>>> googling >>>> I found that they are hosting some freebsd machines (if this counts for >>>> anything). >>>> >>>> Is there anyone here that by any change is a client on this company >>>> and runs >>>> freebsd? >>>> >>>> Thanks in advance >>>> Regards >>>> -- >>>> Alexandre Vieira - nullpt@gmail.com >>> >>> Alexandre, >>> >>> I know nothing about this company.. but just because a few boxes >>> have FreeBSD doesn't mean they necessarily support it. It's >>> possible to change from linux to FreeBSD on remote machine using >>> utilities like: http://www.daemonology.net/depenguinator/ >>> >>> Hope that helps, >>> >>> Jeff >>> >>> P.S. Be warned, that utility re-images the disk, and can leave the >>> machine in non-bootable state. Possibly forcing you to incur support >>> fees from the ISP/Datacenter. >>> >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to >>> "freebsd-questions-unsubscribe@freebsd.org" >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 15:43:31 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 97EAC16A401 for ; Mon, 5 Mar 2007 15:43:31 +0000 (UTC) (envelope-from jack@jarasoft.net) Received: from raats.xs4all.nl (raats.xs4all.nl [80.126.151.47]) by mx1.freebsd.org (Postfix) with ESMTP id 3D66F13C48D for ; Mon, 5 Mar 2007 15:43:30 +0000 (UTC) (envelope-from jack@jarasoft.net) Received: from raats.xs4all.nl (localhost.jarasoft.net [127.0.0.1]) by raats.xs4all.nl (Postfix) with ESMTP id AA91A16A548; Mon, 5 Mar 2007 16:28:06 +0100 (CET) Received: from jara3 (raats.xs4all.nl [80.126.151.47]) by raats.xs4all.nl (Postfix) with ESMTP id 53D4A16A43D; Mon, 5 Mar 2007 16:28:06 +0100 (CET) Message-ID: <000d01c75f3a$de580200$0202fea9@jarasoft.net> From: "Jack Raats" To: "Chris Slothouber" , References: <755cb9fc0703021022x11e32010pa50107bf5787139c@mail.gmail.com> <755cb9fc0703021131s197d4f4bpd0a1decbf3b7dc76@mail.gmail.com><7.0.1.0.0.20070305100724.01a34dc8@totaldiver.net> <45EC355F.1080008@hier7.com> Date: Mon, 5 Mar 2007 16:28:04 +0100 Organization: JaRaSoft, Steenbergen, Nederland MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 1 X-MSMail-Priority: High X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Virus-Scanned: ClamAV using ClamSMTP Cc: Subject: Re: Question about a specific ISP: Amen/Amenworld X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jack Raats List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 15:43:31 -0000 Chris, You can try www.layeredtech.com . At theair facili tiesI 've two machines running FreeBSD and the service they offer is really great!!! Jack ----- Original Message ----- From: "Chris Slothouber" To: Sent: Monday, March 05, 2007 4:21 PM Subject: Re: Question about a specific ISP: Amen/Amenworld > Personally, I would never consider a vendor that does not at least have a > cursory knowledge of the platform I was using on a leased server. If they > are miles away, I want someone with a clue to be my eyes an ears in the > event of an emergency. > > I'd recommend going with a host who supports FreeBSD. > > Jeff Palmer wrote: >> At 02:31 PM 3/2/2007, Alexandre Vieira wrote: >>> Hello folks, >>> >>> I'm interested in a dedicated server plan from a somewhat big company >>> called >>> Amenworld (www.amenworld.com) but the sales technician is telling me >>> that >>> amen technicians can't install freebsd on the machines. After some >>> googling >>> I found that they are hosting some freebsd machines (if this counts for >>> anything). >>> >>> Is there anyone here that by any change is a client on this company and >>> runs >>> freebsd? >>> >>> Thanks in advance >>> Regards >>> -- >>> Alexandre Vieira - nullpt@gmail.com >> >> Alexandre, >> >> I know nothing about this company.. but just because a few boxes have >> FreeBSD doesn't mean they necessarily support it. It's possible to >> change from linux to FreeBSD on remote machine using utilities like: >> http://www.daemonology.net/depenguinator/ >> >> Hope that helps, >> >> Jeff >> >> P.S. Be warned, that utility re-images the disk, and can leave the >> machine in non-bootable state. Possibly forcing you to incur support fees >> from the ISP/Datacenter. >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 15:45:54 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6056816A401 for ; Mon, 5 Mar 2007 15:45:54 +0000 (UTC) (envelope-from Dietmar_Michel@bmc.com) Received: from flicker.bmc.com (guzzi.bmc.com [198.175.229.1]) by mx1.freebsd.org (Postfix) with ESMTP id 4678C13C441 for ; Mon, 5 Mar 2007 15:45:54 +0000 (UTC) (envelope-from Dietmar_Michel@bmc.com) Received: by flicker.bmc.com (Postfix, from userid 13749) id 288B354C1A0; Mon, 5 Mar 2007 10:01:44 -0600 (CST) Received: from hou-ec-02.adprod.bmc.com (hou-ec-02.adprod.bmc.com [172.17.1.111]) by flicker.bmc.com (Postfix) with ESMTP id 00F5954C1A0 for ; Mon, 5 Mar 2007 10:01:43 -0600 (CST) Received: from fra-ex-01.adprod.bmc.com ([137.72.8.5]) by hou-ec-02.adprod.bmc.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 5 Mar 2007 09:22:28 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Mon, 5 Mar 2007 16:22:22 +0100 Message-ID: <0C398216960631429151B4A4B6B1FC03038CCAB0@fra-ex-01.adprod.bmc.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: RAID5 degraded - system hangs Thread-Index: AcdfOhDd9qFU4HMCR56Hs0/1kp8Ssg== From: "Michel, Dietmar" To: X-OriginalArrivalTime: 05 Mar 2007 15:22:28.0377 (UTC) FILETIME=[15EA5890:01C75F3A] Subject: RAID5 degraded - system hangs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 15:45:54 -0000 Hi Guys, =20 I=B4m using an older Server with FreeBSD 6.2 als Fileserver in my home = office. Now I made an upgrade using 4 SATA II disks connected to a promise = TX4310 Raid controller. Defining a RAID5 a bios level, starting the server and building up the = Raid at OS level: # atacontrol create RAID5 32 ad4 ad6 ad8 ad10 # bsdlable ... # newfs ... =20 And now I have a functional Raid named ar0. =20 At boot time the bios told me that even at this level the raid in = initializing - world seemed to be ok. =20 Now I tried to prove Raid function and disconnect one disk. Theoretical data is covered by the rest of 3 ... but after I get the = system message that one disk has been disconnected the maschine stopps = working. Told me: ar0 raid 5 degarded after a fw minutes no input is possibble.=20 =20 =20 Even after reboot=20 .... ar0: disk0 Ready ar0: disk1 Ready ar0: disk2 Ready ar0: disk3 down no device found ... end of work =20 No single user mode or other starting option seemed to work. I have no chance to rebuild the raid via atacontrol. =20 Any hints? Raid without reliability doesn=B4t make sense! Regards =20 Dietmar=20 From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 15:46:54 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 69FF216A406 for ; Mon, 5 Mar 2007 15:46:54 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 21BE713C4AA for ; Mon, 5 Mar 2007 15:46:53 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l25Fi59W004234; Mon, 5 Mar 2007 10:44:05 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l25Fi5Pb004233; Mon, 5 Mar 2007 10:44:05 -0500 (EST) (envelope-from jerrymc) Date: Mon, 5 Mar 2007 10:44:04 -0500 From: Jerry McAllister To: Jean-Philippe Daigle Message-ID: <20070305154404.GD3926@gizmo.acns.msu.edu> References: <6B865826E860EF42B3A387A03F39539616917F69@EX0004.AllstreamITS.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6B865826E860EF42B3A387A03F39539616917F69@EX0004.AllstreamITS.local> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Starting a service on boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 15:46:54 -0000 On Mon, Mar 05, 2007 at 09:37:54AM -0500, Jean-Philippe Daigle wrote: > Hello, > > I'm attempting to add a new program to the list of services starting at > boot time on FreeBSD 6.1. Unfortunately, although running the script > directly as root starts it up just fine, it's not starting at boot time. > I've found documentation that says there are two basic steps to follow: > > 1) Create a script named, say, 'foo' starting the program, place it in > /etc/rc.d/, and make sure it satisfies a few minimal requirements (see > script below). > > 2) Edit rc.conf to add "foo_enable=YES" so the init system knows to > start the new program. > > I've done (2), and here's the script for (1) (anything between <> is me > redacting a username, it's obviously not that way in the script): A couple of comments before attemting to look at the script: First, it should go in to '/usr/local/etc/rc.d', not just plain /etc/rc.d The /etc/rc.d location is reserved for system stuff and may be nuked (overwritten) in an upgrade. /usr/local/etc/rc.d is reserved for user installed third party and locally written scripts and will generally be preserved over upgrades. Second, it needs to have execute permission set. Third, the name used to have to end in '.sh'. I don't know if that is still true. Mine all do. Finally, the only value of putting something like 'foo_enable="YES"' in your rc.conf is if the script itself checks for the value on a 'foo_enable' environmental variable. The system doesn't care about it. I don't see this in your script. Also, if you want messages to show in the logs, then you will have to put writing them in to your script. Once those things are dealt with, then see what that script does. ////jerry > > (/etc/rc.d)$ cat cc > #!/bin/sh > # > # PROVIDE: cc > # REQUIRE: DAEMON > > . /etc/rc.subr > > name="cc" > rcvar=`set_rcvar` > command="/home//cruisecontrol.sh" > command_args="&" > cc_user="" > > load_rc_config $name > run_rc_command "$1" > > > I can also check if it's enabled: > (/etc/rc.d)$ ./cc rcvar > # cc > $cc_enable=YES > > I haven't found anything interesting in the system logs from the last > boot - any ideas why it's not starting up? > > Thanks > -Jean-Philippe Daigle > > _______________________________________________ > 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 Mar 5 15:51:10 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 49CA616A40D for ; Mon, 5 Mar 2007 15:51:10 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay07.ispgateway.de (smtprelay07.ispgateway.de [80.67.29.7]) by mx1.freebsd.org (Postfix) with ESMTP id A066A13C4B2 for ; Mon, 5 Mar 2007 15:51:09 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: (qmail 23554 invoked from network); 5 Mar 2007 15:51:07 -0000 Received: from unknown (HELO localhost) (775067@[217.50.146.58]) (envelope-sender ) by smtprelay07.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 5 Mar 2007 15:51:07 -0000 Date: Mon, 5 Mar 2007 16:50:19 +0100 From: Fabian Keil To: Bart Silverstrim Message-ID: <20070305165019.5195d1f8@localhost> In-Reply-To: <52B6695D-7CA1-4B3F-8101-A167D57C52A2@chrononomicon.com> References: <52B6695D-7CA1-4B3F-8101-A167D57C52A2@chrononomicon.com> X-Mailer: Claws Mail 2.6.1 (GTK+ 2.10.9; i386-portbld-freebsd6.2) X-PGP-KEY-URL: http://www.fabiankeil.de/gpg-keys/freebsd-listen-2008-08-18.asc Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_G=hQEJ0XjglPvr2F=B_LO=t"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: FreeBSD Mailing Lists Subject: Re: Proxy 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: Mon, 05 Mar 2007 15:51:10 -0000 --Sig_G=hQEJ0XjglPvr2F=B_LO=t Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Bart Silverstrim wrote: > We are currently running Squid and SquidGuard on FreeBSD for =20 > monitoring/proxying web browsing activity at our workplace. The =20 > problem is that some users figured out how to use a specific type of =20 > proxy to bypass protections...specifically, they're going through an =20 > https site. >=20 > Is it possible to run a proxy that can monitor https connections and =20 > block them if necessary? To monitor https connections the proxy has to run a man in the middle attack and unless you change the certificates on the clients, this will cause browser warnings and confuse users. Depending on your country it may also be illegal if you don't inform the users about it, but of course that's true for monitoring in general. If you're only talking about blocking SSL connections to hosts that aren't white-listed, you can simply block CONNECT requests on the proxy and use a packet filter to make sure the clients can't just bypass the proxy. I assume that Squid itself can block CONNECT requests based on the hostname, but if it can't, you could add Privoxy to your proxy chain to do that. Fabian --Sig_G=hQEJ0XjglPvr2F=B_LO=t Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF7DxoBYqIVf93VJ0RAqwUAKCpxUIO+qw8DFfFRtEuoSp/slQZoQCdEBHT GZ+b6uR9PB58eaKYw/bAPq8= =qiTA -----END PGP SIGNATURE----- --Sig_G=hQEJ0XjglPvr2F=B_LO=t-- From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 15:54:15 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6029216A400 for ; Mon, 5 Mar 2007 15:54:15 +0000 (UTC) (envelope-from jean.daigle@SolaceSystems.com) Received: from mail.allstreamits.com (mail.allstreamits.com [66.46.107.253]) by mx1.freebsd.org (Postfix) with ESMTP id 0E62C13C48E for ; Mon, 5 Mar 2007 15:54:14 +0000 (UTC) (envelope-from jean.daigle@SolaceSystems.com) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 5 Mar 2007 10:54:49 -0500 Message-ID: <6B865826E860EF42B3A387A03F39539616A0E26F@EX0004.AllstreamITS.local> In-reply-to: <20070305154404.GD3926@gizmo.acns.msu.edu> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Starting a service on boot Thread-Index: AcdfPgt3+C9dGccgSPeCUSj/ooq0hQAABOew References: <6B865826E860EF42B3A387A03F39539616917F69@EX0004.AllstreamITS.local> <20070305154404.GD3926@gizmo.acns.msu.edu> From: "Jean-Philippe Daigle" To: "Jerry McAllister" Cc: freebsd-questions@freebsd.org Subject: RE: Starting a service on boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 15:54:15 -0000 > -----Original Message----- > From: Jerry McAllister [mailto:jerrymc@msu.edu] > Sent: Monday, March 05, 2007 10:44 AM > To: Jean-Philippe Daigle > Cc: freebsd-questions@freebsd.org > Subject: Re: Starting a service on boot >=20 > On Mon, Mar 05, 2007 at 09:37:54AM -0500, Jean-Philippe Daigle wrote: >=20 > > Hello, > > > > I'm attempting to add a new program to the list of services starting at > > boot time on FreeBSD 6.1. Unfortunately, although running the script > > directly as root starts it up just fine, it's not starting at boot time. > > I've found documentation that says there are two basic steps to follow: > > > > 1) Create a script named, say, 'foo' starting the program, place it in > > /etc/rc.d/, and make sure it satisfies a few minimal requirements (see > > script below). > > > > 2) Edit rc.conf to add "foo_enable=3DYES" so the init system knows = to > > start the new program. > > > > I've done (2), and here's the script for (1) (anything between <> is me > > redacting a username, it's obviously not that way in the script): >=20 > A couple of comments before attemting to look at the script: >=20 > First, it should go in to '/usr/local/etc/rc.d', not just plain /etc/rc.d > The /etc/rc.d location is reserved for system stuff and may be nuked > (overwritten) in an upgrade. /usr/local/etc/rc.d is reserved for user > installed third party and locally written scripts and will generally be > preserved over upgrades. > Second, it needs to have execute permission set. > Third, the name used to have to end in '.sh'. I don't know if that > is still true. Mine all do. > Finally, the only value of putting something like 'foo_enable=3D"YES"' in > your rc.conf is if the script itself checks for the value on > a 'foo_enable' environmental variable. The system doesn't care > about it. I don't see this in your script. > Also, if you want messages to show in the logs, then you will have to > put writing them in to your script. >=20 > Once those things are dealt with, then see what that script does. >=20 > ////jerry >=20 Jerry M. and Roland S., Many thanks for your comments, that was it! Looks like renaming it to "cruisecontrol.sh" and moving it to /usr/local instead of the reserved /etc/rc.d got the script to run on boot. I still had a problem with which environment variables were set in the shell that starts up cruisecontrol, but that was rapidly fixed. Everything is working now. > Finally, the only value of putting something like 'foo_enable=3D"YES"' in > your rc.conf is if the script itself checks for the value on > a 'foo_enable' environmental variable. The system doesn't care > about it. I don't see this in your script. Oh, that's interesting. I thought that would control the script's startup. In any case, I'll add a check for it if it's ever needed. Thanks! Jean-Philippe Daigle =20 From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 16:38:43 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6F3A716A400 for ; Mon, 5 Mar 2007 16:38:43 +0000 (UTC) (envelope-from bg271828@yahoo.com) Received: from web53414.mail.yahoo.com (web53414.mail.yahoo.com [206.190.39.74]) by mx1.freebsd.org (Postfix) with SMTP id 30CF013C4AA for ; Mon, 5 Mar 2007 16:38:43 +0000 (UTC) (envelope-from bg271828@yahoo.com) Received: (qmail 25778 invoked by uid 60001); 5 Mar 2007 16:38:42 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=UdNTJyVinKCtKYbtNB73q/G+9LbtEOwxKzkqyGqhedtbr9PR/8XGMApepIr2dbmo4jZV2fN8lfBzJLaHQL66iMUUBirW0zF5w3CWUXvvhkTYx2AUOKXsQf2GWB74KZ/CL5ZZ6ZcmS8cnw1GErtFhKgTD5GJLBg3IwA/mwJFeJ5I=; X-YMail-OSG: BuhJabgVM1k7aVOB08M3WoxryeO4mzGsEtXqi4Lu.spz_TMfPRtWmMNLINzOvVIvYg-- Received: from [12.182.77.130] by web53414.mail.yahoo.com via HTTP; Mon, 05 Mar 2007 08:38:42 PST Date: Mon, 5 Mar 2007 08:38:42 -0800 (PST) From: "Dr. Jennifer Nussbaum" To: Kalashnikov Ilya In-Reply-To: <1173111798.16006.5.camel@n-ss.nighterra> MIME-Version: 1.0 Message-ID: <538532.25461.qm@web53414.mail.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Starting MySQL with different database directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 16:38:43 -0000 Kalashnikov Ilya wrote: On Mon, 2007-03-05 at 07:05 -0800, Dr. Jennifer Nussbaum wrote: I hope this is the right place--i looked over the MySQL docs but they talk about a different startup practice than what FreeBSD uses. I have a new install of MySQL 5.1 on a FreeBSD 6.2 system. I want to have my MySQL data directory in a place other than /var/db/mysql. I thought i do this by copying the appropriate my.cnf into /etc/my.conf and adding a line like "datadir = /usr/local/mysql/var/" and making it readable to mysql user. But this doesnt work; when i restart MySQL its still using /var/db/mysql. So i looked at the mysql-server startup script in /usr/local/etc/rc.d and added to rc.conf "mysql_dbdir="/usr/local/mysql/var"". (I DON'T want to do it this way, because i really want my MySQL related configuration things in my MySQL configuration file, not split between there and my FreeBSD startup file. What if i need to start mysql in some other way? But for now im just trying to see what i can get to work.) This seemed to change something--mysqld had been running when i made this change and when I ran "mysql-server stop" it couldnt stop, because it was looking in /usr/local/mysql/var/foo.pid--i think this means it did register the change to the new directory. But i couldnt then start it, because when I run "mysql-server start" i get a "Can't connect to local MySQL server through socket '/tmp/mysql.sock'" error. What's the right way to do this? Again id really prefer to do this all through the my.cnf file, but this seems not to be getting read, at least for this reason. Thank you. Jen --------------------------------- Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. _______________________________________________ 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 Dr. Jennifer Nussbaum. Need append to /etc/rc.conf follow line: mysql_dbdir="/mysql/db/location" See please /usr/local/etc/rc.d/mysql-server.sh Thats exactly what i did, if you look at what i wrote above. But when i do that i cant start the server. (And as i said i also would like to have this in my MySQL configuration file, not in a FreeBSD configuration file.) Also, replying to a separate email from Roger Olofsson about just symlinking /var/db/mysql to somewhere else: sure, i can do that, and i once had to do that quickly when i accidently filled up my /var partition :-(. But here i have a new install and i KNOW i want the data directory to go somwhere else, so id like to do it by specifying it in the conf file and not by symlinking which has always felt like a kluge to me. Jen --------------------------------- Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games. From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 16:59:14 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 78F9716A400 for ; Mon, 5 Mar 2007 16:59:14 +0000 (UTC) (envelope-from kalashnikovi@mail.ru) Received: from mx4.mail.ru (fallback.mail.ru [194.67.57.14]) by mx1.freebsd.org (Postfix) with ESMTP id E092513C4A8 for ; Mon, 5 Mar 2007 16:59:07 +0000 (UTC) (envelope-from kalashnikovi@mail.ru) Received: from mx3.mail.ru (mx3.mail.ru [194.67.23.149]) by mx4.mail.ru (mPOP.Fallback_MX) with ESMTP id 8851934724A for ; Mon, 5 Mar 2007 19:23:34 +0300 (MSK) Received: from [194.44.21.158] (port=4547 helo=[192.168.0.105]) by mx3.mail.ru with asmtp id 1HOFyA-0003TE-00; Mon, 05 Mar 2007 19:23:26 +0300 From: Kalashnikov Ilya To: "Dr. Jennifer Nussbaum" In-Reply-To: <31636.77056.qm@web53410.mail.yahoo.com> References: <31636.77056.qm@web53410.mail.yahoo.com> Date: Mon, 05 Mar 2007 18:23:18 +0200 Message-Id: <1173111798.16006.5.camel@n-ss.nighterra> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 FreeBSD GNOME Team Port Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Starting MySQL with different database directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 16:59:14 -0000 On Mon, 2007-03-05 at 07:05 -0800, Dr. Jennifer Nussbaum wrote: > I hope this is the right place--i looked over the MySQL docs but they talk about a different startup practice than what FreeBSD uses. > > I have a new install of MySQL 5.1 on a FreeBSD 6.2 system. I want to have my > MySQL data directory in a place other than /var/db/mysql. I thought i do this by > copying the appropriate my.cnf into /etc/my.conf and adding a line like "datadir = > /usr/local/mysql/var/" and making it readable to mysql user. But this doesnt work; > when i restart MySQL its still using /var/db/mysql. > > So i looked at the mysql-server startup script in /usr/local/etc/rc.d and added to > rc.conf "mysql_dbdir="/usr/local/mysql/var"". (I DON'T want to do it this way, > because i really want my MySQL related configuration things in my MySQL > configuration file, not split between there and my FreeBSD startup file. What if > i need to start mysql in some other way? But for now im just trying to see what > i can get to work.) This seemed to change something--mysqld had been running > when i made this change and when I ran "mysql-server stop" it couldnt stop, > because it was looking in /usr/local/mysql/var/foo.pid--i think this means it did > register the change to the new directory. But i couldnt then start it, because when > I run "mysql-server start" i get a "Can't connect to local MySQL server through > socket '/tmp/mysql.sock'" error. > > What's the right way to do this? Again id really prefer to do this all through the > my.cnf file, but this seems not to be getting read, at least for this reason. > > Thank you. > > Jen > > > --------------------------------- > Food fight? Enjoy some healthy debate > in the Yahoo! Answers Food & Drink Q&A. > _______________________________________________ > 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 Dr. Jennifer Nussbaum. Need append to /etc/rc.conf follow line: mysql_dbdir="/mysql/db/location" See please /usr/local/etc/rc.d/mysql-server.sh -- Kalashnikov Ilya From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 17:11:40 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4086E16A402 for ; Mon, 5 Mar 2007 17:11:40 +0000 (UTC) (envelope-from kalashnikovi@mail.ru) Received: from mx3.mail.ru (mx3.mail.ru [194.67.23.149]) by mx1.freebsd.org (Postfix) with ESMTP id 9C6A013C461 for ; Mon, 5 Mar 2007 17:11:39 +0000 (UTC) (envelope-from kalashnikovi@mail.ru) Received: from [194.44.21.158] (port=18718 helo=[192.168.0.105]) by mx3.mail.ru with asmtp id 1HOGim-000JpP-00; Mon, 05 Mar 2007 20:11:36 +0300 From: Kalashnikov Ilya To: "Dr. Jennifer Nussbaum" In-Reply-To: <31636.77056.qm@web53410.mail.yahoo.com> References: <31636.77056.qm@web53410.mail.yahoo.com> Date: Mon, 05 Mar 2007 19:11:33 +0200 Message-Id: <1173114693.16006.18.camel@n-ss.nighterra> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 FreeBSD GNOME Team Port Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Starting MySQL with different database directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 17:11:40 -0000 On Mon, 2007-03-05 at 07:05 -0800, Dr. Jennifer Nussbaum wrote: > I hope this is the right place--i looked over the MySQL docs but they talk about a different startup practice than what FreeBSD uses. > > I have a new install of MySQL 5.1 on a FreeBSD 6.2 system. I want to have my > MySQL data directory in a place other than /var/db/mysql. I thought i do this by > copying the appropriate my.cnf into /etc/my.conf and adding a line like "datadir = > /usr/local/mysql/var/" and making it readable to mysql user. But this doesnt work; > when i restart MySQL its still using /var/db/mysql. > > So i looked at the mysql-server startup script in /usr/local/etc/rc.d and added to > rc.conf "mysql_dbdir="/usr/local/mysql/var"". (I DON'T want to do it this way, > because i really want my MySQL related configuration things in my MySQL > configuration file, not split between there and my FreeBSD startup file. What if > i need to start mysql in some other way? But for now im just trying to see what > i can get to work.) This seemed to change something--mysqld had been running > when i made this change and when I ran "mysql-server stop" it couldnt stop, > because it was looking in /usr/local/mysql/var/foo.pid--i think this means it did > register the change to the new directory. But i couldnt then start it, because when > I run "mysql-server start" i get a "Can't connect to local MySQL server through > socket '/tmp/mysql.sock'" error. > > What's the right way to do this? Again id really prefer to do this all through the > my.cnf file, but this seems not to be getting read, at least for this reason. > > Thank you. > > Jen > > > --------------------------------- > Food fight? Enjoy some healthy debate > in the Yahoo! Answers Food & Drink Q&A. > _______________________________________________ > 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" > By default MySQL daemon run as user "mysql". If you want start/stop mysqld then in /usr/local/etc/rc.d /mysql-server.sh replace line mysql_user="mysql" to mysql_user="" and change in /etc/rc.conf mysql_dbdir="/xxx/xxx/xx" or chahge owner for /xxx/xxx/xx to Needed directory structure will created. Before all changes stop mysqld. -- Kalashnikov Ilya From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 17:29:10 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9BDD416A406 for ; Mon, 5 Mar 2007 17:29:10 +0000 (UTC) (envelope-from raggen@passagen.se) Received: from av9-2-sn3.vrr.skanova.net (av9-2-sn3.vrr.skanova.net [81.228.9.186]) by mx1.freebsd.org (Postfix) with ESMTP id 2FA4E13C4B7 for ; Mon, 5 Mar 2007 17:29:10 +0000 (UTC) (envelope-from raggen@passagen.se) Received: by av9-2-sn3.vrr.skanova.net (Postfix, from userid 502) id D216537F77; Mon, 5 Mar 2007 18:29:08 +0100 (CET) Received: from smtp3-2-sn3.vrr.skanova.net (smtp3-2-sn3.vrr.skanova.net [81.228.9.102]) by av9-2-sn3.vrr.skanova.net (Postfix) with ESMTP id ABF1C37F65; Mon, 5 Mar 2007 18:29:08 +0100 (CET) Received: from [192.168.1.6] (81-231-90-251-no41.tbcn.telia.com [81.231.90.251]) by smtp3-2-sn3.vrr.skanova.net (Postfix) with ESMTP id 5968737E48; Mon, 5 Mar 2007 18:29:08 +0100 (CET) Message-ID: <45EC53DA.1040105@passagen.se> Date: Mon, 05 Mar 2007 18:31:06 +0100 From: Roger Olofsson User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: "Dr. Jennifer Nussbaum" References: <538532.25461.qm@web53414.mail.yahoo.com> In-Reply-To: <538532.25461.qm@web53414.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Starting MySQL with different database directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 17:29:10 -0000 Dear Dr. Nussbaum, On behalf of all the symlinks in the world I hereby state that symlinking is a highly underrated art .... blah blah.. Just kidding ;^) You should of course do whatever you feel best. Good luck! /Roger Dr. Jennifer Nussbaum skrev: > Kalashnikov Ilya wrote: On Mon, 2007-03-05 at 07:05 -0800, Dr. Jennifer Nussbaum wrote: > I hope this is the right place--i looked over the MySQL docs but they talk about a different startup practice than what FreeBSD uses. I have a new install of MySQL 5.1 on a FreeBSD 6.2 system. I want to have my MySQL data directory in a place other than /var/db/mysql. I thought i do this by copying the appropriate my.cnf into /etc/my.conf and adding a line like "datadir = /usr/local/mysql/var/" and making it readable to mysql user. But this doesnt work; when i restart MySQL its still using /var/db/mysql. So i looked at the mysql-server startup script in /usr/local/etc/rc.d and added to rc.conf "mysql_dbdir="/usr/local/mysql/var"". (I DON'T want to do it this way, because i really want my MySQL related configuration things in my MySQL configuration file, not split between there and my FreeBSD startup file. What if i need to start mysql in some other way? But for now im just trying to see what i can get to work.) This seemed to change something--mysqld had been running > when i made this change and when I ran "mysql-server stop" it couldnt stop, because it was looking in /usr/local/mysql/var/foo.pid--i think this means it did register the change to the new directory. But i couldnt then start it, because when I run "mysql-server start" i get a "Can't connect to local MySQL server through socket '/tmp/mysql.sock'" error. What's the right way to do this? Again id really prefer to do this all through the my.cnf file, but this seems not to be getting read, at least for this reason. Thank you. Jen --------------------------------- Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. _______________________________________________ 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 Dr. Jennifer Nussbaum. > Need append to /etc/rc.conf follow line: > mysql_dbdir="/mysql/db/location" > > See please /usr/local/etc/rc.d/mysql-server.sh > Thats exactly what i did, if you look at what i wrote above. But when i do that i > cant start the server. (And as i said i also would like to have this in my MySQL > configuration file, not in a FreeBSD configuration file.) > > Also, replying to a separate email from Roger Olofsson about just symlinking > /var/db/mysql to somewhere else: sure, i can do that, and i once had to do > that quickly when i accidently filled up my /var partition :-(. But here i have a > new install and i KNOW i want the data directory to go somwhere else, so id > like to do it by specifying it in the conf file and not by symlinking which has > always felt like a kluge to me. > > Jen > > > --------------------------------- > Bored stiff? Loosen up... > Download and play hundreds of games for free on Yahoo! Games. > _______________________________________________ > 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 Mar 5 17:31:16 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3402016A401 for ; Mon, 5 Mar 2007 17:31:16 +0000 (UTC) (envelope-from d.hill@yournetplus.com) Received: from duane.dbq.yournetplus.com (duane.dbq.yournetplus.com [65.124.230.214]) by mx1.freebsd.org (Postfix) with ESMTP id 0E22013C4A7 for ; Mon, 5 Mar 2007 17:31:16 +0000 (UTC) (envelope-from d.hill@yournetplus.com) Received: from duane.dbq.yournetplus.com (duane.dbq.yournetplus.com [192.168.1.10]) by duane.dbq.yournetplus.com (Postfix) with ESMTP id DD89928F851; Mon, 5 Mar 2007 17:31:34 +0000 (UTC) Date: Mon, 5 Mar 2007 17:31:34 +0000 (UTC) From: Duane Hill X-X-Sender: d.hill@duane.dbq.yournetplus.com To: Kalashnikov Ilya In-Reply-To: <1173114693.16006.18.camel@n-ss.nighterra> Message-ID: <20070305172506.B41435@duane.dbq.yournetplus.com> References: <31636.77056.qm@web53410.mail.yahoo.com> <1173114693.16006.18.camel@n-ss.nighterra> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org, "Dr. Jennifer Nussbaum" Subject: Re: Starting MySQL with different database directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 17:31:16 -0000 On Mon, 5 Mar 2007, Kalashnikov Ilya wrote: > On Mon, 2007-03-05 at 07:05 -0800, Dr. Jennifer Nussbaum wrote: > >> I hope this is the right place--i looked over the MySQL docs but they talk about a different startup practice than what FreeBSD uses. >> >> I have a new install of MySQL 5.1 on a FreeBSD 6.2 system. I want to have my >> MySQL data directory in a place other than /var/db/mysql. I thought i do this by >> copying the appropriate my.cnf into /etc/my.conf and adding a line like "datadir = >> /usr/local/mysql/var/" and making it readable to mysql user. But this doesnt work; >> when i restart MySQL its still using /var/db/mysql. >> >> So i looked at the mysql-server startup script in /usr/local/etc/rc.d and added to >> rc.conf "mysql_dbdir="/usr/local/mysql/var"". (I DON'T want to do it this way, >> because i really want my MySQL related configuration things in my MySQL >> configuration file, not split between there and my FreeBSD startup file. What if >> i need to start mysql in some other way? But for now im just trying to see what >> i can get to work.) This seemed to change something--mysqld had been running >> when i made this change and when I ran "mysql-server stop" it couldnt stop, >> because it was looking in /usr/local/mysql/var/foo.pid--i think this means it did >> register the change to the new directory. But i couldnt then start it, because when >> I run "mysql-server start" i get a "Can't connect to local MySQL server through >> socket '/tmp/mysql.sock'" error. >> >> What's the right way to do this? Again id really prefer to do this all through the >> my.cnf file, but this seems not to be getting read, at least for this reason. >> >> Thank you. >> >> Jen >> >> >> --------------------------------- >> Food fight? Enjoy some healthy debate >> in the Yahoo! Answers Food & Drink Q&A. >> _______________________________________________ >> 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" >> > > > By default MySQL daemon run as user "mysql". If you want start/stop > mysqld then in /usr/local/etc/rc.d /mysql-server.sh replace line > mysql_user="mysql" to mysql_user="" > and change in /etc/rc.conf mysql_dbdir="/xxx/xxx/xx" or chahge owner > for /xxx/xxx/xx to > Needed directory structure will created. > > Before all changes stop mysqld. > Or, you could just add underneath the mysql_enable line in /etc/rc.conf: mysql_flags="--user=user-to-run-as --datadir=/path/to/the/base/dir" to /etc/rc.conf. That way you won't have to worry about possible overwriting of the startup script do to upgrades. From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 17:52:05 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C664916A401 for ; Mon, 5 Mar 2007 17:52:05 +0000 (UTC) (envelope-from vizion@vizion.occoxmail.com) Received: from dukecmmtao03.coxmail.com (dukecmmtao03.coxmail.com [68.99.120.70]) by mx1.freebsd.org (Postfix) with ESMTP id 5EA5413C428 for ; Mon, 5 Mar 2007 17:52:05 +0000 (UTC) (envelope-from vizion@vizion.occoxmail.com) Received: from dukecmmtao03 ([172.18.22.60]) by dukecmmtao03.coxmail.com (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with SMTP id <20070305175204.NQOY2045.dukecmmtao03.coxmail.com@dukecmmtao03> for ; Mon, 5 Mar 2007 12:52:04 -0500 X-Mailer: Openwave WebEngine, version 2.8.16 (webedge20-101-1106-20040809) From: Vizion Organization: vizion Communications To: Date: Mon, 5 Mar 2007 9:52:04 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20070305175204.NQOY2045.dukecmmtao03.coxmail.com@dukecmmtao03> Subject: apache2.2.4 - ssl module error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 17:52:05 -0000 Gi Extract from error.log httpd: Syntax error on line 85 after upgrade /usr/local/etc/apache22/httpd.conf: Cannot load /usr/local/libexec/apache22/mod_ssl.so into server: /usr /local/libexec/apache22/mod_ssl.so: Undefined symbol "ap_get_server_banner" Does anyone know how to fix this? Thanks in advance David From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 18:13:02 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 575C916A402 for ; Mon, 5 Mar 2007 18:13:02 +0000 (UTC) (envelope-from frzburn@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.freebsd.org (Postfix) with ESMTP id DD97513C478 for ; Mon, 5 Mar 2007 18:13:01 +0000 (UTC) (envelope-from frzburn@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so2067445nfc for ; Mon, 05 Mar 2007 10:13:00 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=bOS5nNN/skItn6pHAhqxrh4D8Dq05ap5V4SmXKSnhYYE/rSFHDNj+wAVFjl2YPZji99F47gdBMdw84ybRRUMH78p9vKes/5LUX4FsvysN+CctMzTQeUIFhIV9KX52qGANadDeM+WzFD3N3TtCyUgJHVP1WGJB5eFhbKp6mWWQ58= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=A8q2wxkrwI+EmCM/uBb1AZqovWoeSEM3Ob6Rp73OxHWUGG1Zgj5fmMTT/yDWta6yqkSz+y7+ezsVzlIFR8DnTVc+NkMSOjMj0tl1pmBBJvVQcXYiGotPTdKDShMN2Lf+5TXBGeyrukr6L3aZs7Hh4Yz8TxkebN3T4sHyDGIQyKQ= Received: by 10.82.172.15 with SMTP id u15mr5487744bue.1173116755940; Mon, 05 Mar 2007 09:45:55 -0800 (PST) Received: by 10.82.139.19 with HTTP; Mon, 5 Mar 2007 09:45:55 -0800 (PST) Message-ID: <2942dae0703050945o430fcb8cp8c27b7fc98e2552f@mail.gmail.com> Date: Mon, 5 Mar 2007 12:45:55 -0500 From: frzburn To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Fetching sources from Windows? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 18:13:02 -0000 Hi! I have a slow Internet connection at home, and I would like to know if it is possible to fetch the STABLE sources from somewhere else (ex.: at work). What I want is to get the latest sources, like described in the handbook ( http://www.ca.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html), even if it means downloading all of it, since there no way to diff with my current source... Thanks! =) frzburn From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 18:29:38 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9625116A402 for ; Mon, 5 Mar 2007 18:29:38 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 6A26C13C494 for ; Mon, 5 Mar 2007 18:29:38 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.pgh.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTP id 584A4EBC62; Mon, 5 Mar 2007 13:29:37 -0500 (EST) Date: Mon, 5 Mar 2007 13:29:36 -0500 From: Bill Moran To: frzburn Message-Id: <20070305132936.61bbd340.wmoran@potentialtech.com> In-Reply-To: <2942dae0703050945o430fcb8cp8c27b7fc98e2552f@mail.gmail.com> References: <2942dae0703050945o430fcb8cp8c27b7fc98e2552f@mail.gmail.com> X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.9; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Fetching sources from Windows? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 18:29:38 -0000 In response to frzburn : > Hi! > I have a slow Internet connection at home, and I would like to know if it is > possible to fetch the STABLE sources from somewhere else (ex.: at work). > What I want is to get the latest sources, like described in the handbook ( > http://www.ca.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html), > even if it means downloading all of it, since there no way to diff with my > current source... Sure. It's just a big directory tree full of files. You can fetch them all by whatever means you desire and copy them on to the new system. Just be careful of a few thing, especially with Windows. Windows is case- insensitive, and has a tendency to rename files in all lower case, which will cause "file not found" errors when you try to build. Also, make sure Windows and ftp don't do any line ending translations, which will (effectively) corrupt the files. If you can find somewhere that has a big tarball of the source tree and just grab that, it should work fine. -- Bill Moran http://www.potentialtech.com From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 18:39:28 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A11EA16A401 for ; Mon, 5 Mar 2007 18:39:28 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by mx1.freebsd.org (Postfix) with ESMTP id 2E0FA13C4B3 for ; Mon, 5 Mar 2007 18:39:27 +0000 (UTC) (envelope-from illoai@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so2075828nfc for ; Mon, 05 Mar 2007 10:39:26 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=meEUlpijyQnr1OhW+IneHTM/B59eR0c48Lir64/KIWlTrVJC1hvJb2UujLui3V/q3WsnJA+4YJFL9hiaaAEVcAY1x9LQLw0iLjE73fJ/w9bz8/vCFEBgGSesebAXguyTApDxpS9aVIszck/duJ7SFxylRQ/P9OhJYxP0m8zWQd4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tGGm+rVcohUcQZBhauAU8HohBxRBX3iA5qGtnmJhcemF505h7GFbtkdGNyUT5A/hdaN48xrHqYf1RuRn0Ef5Y85DrjPG58tEMOOy+AIK3ExBzpb1g4q6Te4TgLV5lgBq3wXc3wlglUG6AE+wA1aI1r/xbEeZDf1BeI9J8dlSFjo= Received: by 10.82.111.8 with SMTP id j8mr5578803buc.1173119965824; Mon, 05 Mar 2007 10:39:25 -0800 (PST) Received: by 10.82.175.1 with HTTP; Mon, 5 Mar 2007 10:39:25 -0800 (PST) Message-ID: Date: Mon, 5 Mar 2007 12:39:25 -0600 From: "illoai@gmail.com" To: frzburn In-Reply-To: <2942dae0703050945o430fcb8cp8c27b7fc98e2552f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2942dae0703050945o430fcb8cp8c27b7fc98e2552f@mail.gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Fetching sources from Windows? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 18:39:28 -0000 On 05/03/07, frzburn wrote: > Hi! > I have a slow Internet connection at home, and I would like to know if it is > possible to fetch the STABLE sources from somewhere else (ex.: at work). > What I want is to get the latest sources, like described in the handbook ( > http://www.ca.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html), > even if it means downloading all of it, since there no way to diff with my > current source... Assuming you have fairly recent sources (6.2 or so), csup, with compress in your supfile (or the -z flag), will be faster than downloading and transferring*, even with a 28.8 modem**. * I know of no pre-packaged STABLE source archives, short of downloading a snapshot .iso (which I am not certain even exists for STABLE). ** Might not actually be true. -- -- From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 18:57:00 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DB2CF16A401 for ; Mon, 5 Mar 2007 18:57:00 +0000 (UTC) (envelope-from david.robillard@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.231]) by mx1.freebsd.org (Postfix) with ESMTP id 9C6FB13C4A5 for ; Mon, 5 Mar 2007 18:57:00 +0000 (UTC) (envelope-from david.robillard@gmail.com) Received: by nz-out-0506.google.com with SMTP id r28so1914487nza for ; Mon, 05 Mar 2007 10:56:59 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=QogtiftVmgCLgdd/O3A0FT5znAKMwJ4qF6Duy2U1hL8NtBsAbzAsSovapTSPALv/eIwerJyOUcLhdF/ehPFM+2ofhGx62ForZ2/3OMyrNWW1fXJ0MgYdeF3E9JZD7hMS7G8C9kOn4WAdCzGPBxA78Kt9VlCKUqZSx4P/mjzW4Fk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=DHUunYCJonbiYtQiBUcbyf3wFvRdiZlluXLGJ8X68XYgbqgqEoFABS0Ab/44pee9ukSCqY2623nYLGoQlRfogjpy7OgL67szlayTWcUs54cmwmCVebx0OsRLcSceZqNgxTZ94qe0ojS0eY0GnyToczwmXCya5P6i5FCpOs+5TvI= Received: by 10.65.242.10 with SMTP id u10mr10401024qbr.1173121019605; Mon, 05 Mar 2007 10:56:59 -0800 (PST) Received: by 10.64.210.7 with HTTP; Mon, 5 Mar 2007 10:56:59 -0800 (PST) Message-ID: <226ae0c60703051056ofb18dffu1ea0b9d48297b0bf@mail.gmail.com> Date: Mon, 5 Mar 2007 13:56:59 -0500 From: "David Robillard" To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Peter Pluta Subject: Re: Apache Rotate Logs and Log Rotate. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 18:57:00 -0000 On 3/3/07, Peter Pluta wrote: >> I see, thanks. Does the shell script you use automatically delete the >> original logs after verbalizer or awstats makes it's own? I imagine the >> ones those programs use are smaller in size? > > No, the shell script does not delete any logs. Log rotation and > compression is the job of newsyslog. Alright, after some more RTFM on Apache logs, here's what your newsyslog.conf(5) configuration should look like. /var/log/httpd/access.log 640 5 1048576 * B /var/run/httpd.pid 30 /var/log/httpd/error.log 640 5 1048576 * B /var/run/httpd.pid 30 Of course, you should taylor this to suit your own needs (like the size, ownership and number logs kept on disk, etc.) But keep the "B" flag for Binary which will prevent newsyslog from adding a line in your logs which says it was rotated. It _may_ confuse some log analyser (depends on your log analyser software). Also make sure to add the "30" at the end of each line. This is the kill(1) number for signal -USR1 which gracefully restarts Apache. Now the reason I removed the "Z" flags, which eliminates compression, is to make sure all of your children httpd processes have enough time to write their logs into the log file. If a request on your site is rather long, them this is the best way to go. Of couse, that means you will need a little bit more disk space. But not that much depending on how much logs you keep (i.e. 5 in the example above). HTH, David -- David Robillard UNIX systems administrator & Oracle DBA CISSP, RHCE & Sun Certified Security Administrator Montreal: +1 514 966 0122 From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 19:13:59 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AE21016A402 for ; Mon, 5 Mar 2007 19:13:59 +0000 (UTC) (envelope-from peter@placidpublishing.net) Received: from mail.placidpublishing.net (placidpublishing.net [72.232.50.130]) by mx1.freebsd.org (Postfix) with ESMTP id 8BD4213C481 for ; Mon, 5 Mar 2007 19:13:59 +0000 (UTC) (envelope-from peter@placidpublishing.net) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.placidpublishing.net (Postfix) with ESMTP id 2A5495082D; Mon, 5 Mar 2007 13:19:57 -0600 (CST) Received: from mail.placidpublishing.net ([127.0.0.1]) by localhost (mail.placidpublishing.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 49620-01; Mon, 5 Mar 2007 13:19:51 -0600 (CST) Received: from [192.168.1.20] (c-67-175-92-171.hsd1.il.comcast.net [67.175.92.171]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.placidpublishing.net (Postfix) with ESMTP id 7E8C75082B; Mon, 5 Mar 2007 13:19:51 -0600 (CST) Message-ID: <45EC6BF3.9090606@placidpublishing.net> Date: Mon, 05 Mar 2007 13:13:55 -0600 From: Peter Pluta Organization: Placid Publishing, LLC User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: David Robillard References: <226ae0c60703051056ofb18dffu1ea0b9d48297b0bf@mail.gmail.com> In-Reply-To: <226ae0c60703051056ofb18dffu1ea0b9d48297b0bf@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard Cc: freebsd-questions@freebsd.org Subject: Re: Apache Rotate Logs and Log Rotate. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: peter@placidpublishing.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 19:13:59 -0000 Thanks, David. I had already configured it like that the first time around after reading up on it a bit. Most articles/tips I have read say to wait 10 minutes or so and then compress the logs with a shell script in order to be sure Apache finished logging to the files. Another thing, just to be sure. If I had 30 vhosts on my server and each had logs in their home directory, I would still use newsyslog to rotate and delete them, correct? I assume one needs tons of disk space to do that if the sites are rather large. David Robillard wrote: > On 3/3/07, Peter Pluta wrote: >>> I see, thanks. Does the shell script you use automatically delete the >>> original logs after verbalizer or awstats makes it's own? I imagine the >>> ones those programs use are smaller in size? >> >> No, the shell script does not delete any logs. Log rotation and >> compression is the job of newsyslog. > > Alright, after some more RTFM on Apache logs, here's what your > newsyslog.conf(5) configuration should look like. > > /var/log/httpd/access.log 640 5 1048576 * B > /var/run/httpd.pid 30 > /var/log/httpd/error.log 640 5 1048576 > * B /var/run/httpd.pid 30 > > Of course, you should taylor this to suit your own needs (like the > size, ownership and number logs kept on disk, etc.) > > But keep the "B" flag for Binary which will prevent newsyslog from > adding a line in your logs which says it was rotated. It _may_ confuse > some log analyser (depends on your log analyser software). Also make > sure to add the "30" at the end of each line. This is the kill(1) > number for signal -USR1 which gracefully restarts Apache. > > Now the reason I removed the "Z" flags, which eliminates compression, > is to make sure all of your children httpd processes have enough time > to write their logs into the log file. If a request on your site is > rather long, them this is the best way to go. Of couse, that means you > will need a little bit more disk space. But not that much depending on > how much logs you keep (i.e. 5 in the example above). > > HTH, > > David From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 19:26:53 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6295816A404 for ; Mon, 5 Mar 2007 19:26:53 +0000 (UTC) (envelope-from nullpt@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id 6E30B13C46B for ; Mon, 5 Mar 2007 19:26:51 +0000 (UTC) (envelope-from nullpt@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so1246307ugh for ; Mon, 05 Mar 2007 11:26:47 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=RiVMtrQJmv3NiL8cK9xPBKmzAgl73ymKDS9/T3r899xywk7XyLGnaprJV5PwYnHEmNs7PZHkF3ObHNdFJ8s7kEvODBmgLKcOC3/20x/G06MyVqM0q5mJ1flju6pfc/PYX9usCL2nTRnduLjkhgHGvup0RTjk4VBOyji5mi+yq3Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=SfOhx6Ew7v1Az/hNUWi8Hmth11pneEDFxQcsJatbVM4hy9DmIF6tEnjRuAAve9dnG59JBXY433eBpM16ZhopFnhvwyeSi0y+lgknBSHUvKpmLcP0LD0L6QKGDWkSwueO8kM0qrruS9tUPJ6qu3KuJYoc7W9dCV+4uC5y104+Y+s= Received: by 10.67.22.2 with SMTP id z2mr11292246ugi.1173122806902; Mon, 05 Mar 2007 11:26:46 -0800 (PST) Received: by 10.66.237.17 with HTTP; Mon, 5 Mar 2007 11:26:46 -0800 (PST) Message-ID: <755cb9fc0703051126l9fac8e3v72f0c1a7d6942e37@mail.gmail.com> Date: Mon, 5 Mar 2007 19:26:46 +0000 From: "Alexandre Vieira" To: "Chris Slothouber" , freebsd-questions@freebsd.org In-Reply-To: <45EC3852.8080105@hier7.com> MIME-Version: 1.0 References: <755cb9fc0703021022x11e32010pa50107bf5787139c@mail.gmail.com> <755cb9fc0703021131s197d4f4bpd0a1decbf3b7dc76@mail.gmail.com> <7.0.1.0.0.20070305100724.01a34dc8@totaldiver.net> <45EC355F.1080008@hier7.com> <000d01c75f3a$de580200$0202fea9@jarasoft.net> <45EC3852.8080105@hier7.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Question about a specific ISP: Amen/Amenworld X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 19:26:53 -0000 On 3/5/07, Chris Slothouber wrote: > > Hi Jack, > > I think it was Alexandre who was interested in a particular host in the > UK and was debating bringing his business to a company who let him know > outright that they do not support FreeBSD. > > Thanks though! > > Jack Raats wrote: > > Chris, > > > > You can try www.layeredtech.com . > > At theair facili tiesI 've two machines running FreeBSD and the service > > they offer is really great!!! > > > > Jack > > > > > > ----- Original Message ----- From: "Chris Slothouber" > > To: > > Sent: Monday, March 05, 2007 4:21 PM > > Subject: Re: Question about a specific ISP: Amen/Amenworld > > > > > >> Personally, I would never consider a vendor that does not at least > >> have a cursory knowledge of the platform I was using on a leased > >> server. If they are miles away, I want someone with a clue to be my > >> eyes an ears in the event of an emergency. > >> > >> I'd recommend going with a host who supports FreeBSD. > >> > >> Jeff Palmer wrote: > >>> At 02:31 PM 3/2/2007, Alexandre Vieira wrote: > >>>> Hello folks, > >>>> > >>>> I'm interested in a dedicated server plan from a somewhat big > >>>> company called > >>>> Amenworld (www.amenworld.com) but the sales technician is telling me > >>>> that > >>>> amen technicians can't install freebsd on the machines. After some > >>>> googling > >>>> I found that they are hosting some freebsd machines (if this counts > for > >>>> anything). > >>>> > >>>> Is there anyone here that by any change is a client on this company > >>>> and runs > >>>> freebsd? > >>>> > >>>> Thanks in advance > >>>> Regards > >>>> -- > >>>> Alexandre Vieira - nullpt@gmail.com > >>> > >>> Alexandre, > >>> > >>> I know nothing about this company.. but just because a few boxes > >>> have FreeBSD doesn't mean they necessarily support it. It's > >>> possible to change from linux to FreeBSD on remote machine using > >>> utilities like: http://www.daemonology.net/depenguinator/ > >>> > >>> Hope that helps, > >>> > >>> Jeff > >>> > >>> P.S. Be warned, that utility re-images the disk, and can leave the > >>> machine in non-bootable state. Possibly forcing you to incur support > >>> fees from the ISP/Datacenter. > >>> > >>> _______________________________________________ > >>> freebsd-questions@freebsd.org mailing list > >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >>> To unsubscribe, send any mail to > >>> "freebsd-questions-unsubscribe@freebsd.org" > >> > >> _______________________________________________ > >> freebsd-questions@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >> To unsubscribe, send any mail to > >> "freebsd-questions-unsubscribe@freebsd.org" > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > I'm interested in this specific company because the boxes are hosted in France and cprm.net (A big telco in Portugal) is an excelent carrier for France and UK. I have less than 50ms roundtrip time for this network. Also for 99eur/month you get a dual opteron w/ 2x160GB SATA2 disks, 1GB DDRII, linked to a 100mbps network (shared but burstable) with no traffic limit. But the guy who called me to help me with my questions doesn't understand much of anything and he tought Freebsd was a linux distro plus he refuses to either install freebsd on the machine or put a CD on the server tray and plug in a serial cable to the machine so I can install it. I don't even know how would I install freebsd without using depenguinator or going on site myself. I've tested depenguinator back in the 5.4 days with some friends, just for the kicks, but as someone said before.. I can't rely on a company that knows nothing about the technology i'll be using. If anyone know a good UK or Franch dedicated server provider, let me know :) Cheers -- Alexandre Vieira - nullpt@gmail.com From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 19:33:00 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1DDFD16A401 for ; Mon, 5 Mar 2007 19:33:00 +0000 (UTC) (envelope-from chris@hier7.com) Received: from smtp100.rog.mail.re2.yahoo.com (smtp100.rog.mail.re2.yahoo.com [206.190.36.78]) by mx1.freebsd.org (Postfix) with SMTP id C5F3813C491 for ; Mon, 5 Mar 2007 19:32:59 +0000 (UTC) (envelope-from chris@hier7.com) Received: (qmail 25872 invoked from network); 5 Mar 2007 19:32:59 -0000 Received: from unknown (HELO ?74.109.56.185?) (cms.kw@rogers.com@74.109.56.185 with plain) by smtp100.rog.mail.re2.yahoo.com with SMTP; 5 Mar 2007 19:32:59 -0000 X-YMail-OSG: 6YLzutQVM1lANFU7ohmb.q6rkaHM261Hiq13wsZqeov8KIJ6sPJefhiCXh9NN4QCCg-- Message-ID: <45EC706F.4080906@hier7.com> Date: Mon, 05 Mar 2007 14:33:03 -0500 From: Chris Slothouber Organization: hier7 User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <755cb9fc0703021022x11e32010pa50107bf5787139c@mail.gmail.com> <755cb9fc0703021131s197d4f4bpd0a1decbf3b7dc76@mail.gmail.com> <7.0.1.0.0.20070305100724.01a34dc8@totaldiver.net> <45EC355F.1080008@hier7.com> <000d01c75f3a$de580200$0202fea9@jarasoft.net> <45EC3852.8080105@hier7.com> <755cb9fc0703051126l9fac8e3v72f0c1a7d6942e37@mail.gmail.com> In-Reply-To: <755cb9fc0703051126l9fac8e3v72f0c1a7d6942e37@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Question about a specific ISP: Amen/Amenworld X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 19:33:00 -0000 I'd recommend Leaseweb in Amsterdam. Their network has great connectivity to Europe and their prices are competitive for unmetered plans. http://www.leaseweb.com/index.php?p=dedicatedflatfee http://noc.leaseweb.com/cgi-bin/peers.pl Alexandre Vieira wrote: >> > >> >> Personally, I would never consider a vendor that does not at least >> >> have a cursory knowledge of the platform I was using on a leased >> >> server. If they are miles away, I want someone with a clue to be my >> >> eyes an ears in the event of an emergency. >> >> >> >> I'd recommend going with a host who supports FreeBSD. > I'm interested in this specific company because the boxes are hosted in > France and cprm.net (A big telco in Portugal) is an excelent carrier for > France and UK. I have less than 50ms roundtrip time for this network. > > Also for 99eur/month you get a dual opteron w/ 2x160GB SATA2 disks, 1GB > DDRII, linked to a 100mbps network (shared but burstable) with no traffic > limit. > > But the guy who called me to help me with my questions doesn't understand > much of anything and he tought Freebsd was a linux distro plus he > refuses to > either install freebsd on the machine or put a CD on the server tray and > plug in a serial cable to the machine so I can install it. I don't even > know > how would I install freebsd without using depenguinator or going on site > myself. > > I've tested depenguinator back in the 5.4 days with some friends, just for > the kicks, but as someone said before.. I can't rely on a company that > knows > nothing about the technology i'll be using. > > If anyone know a good UK or Franch dedicated server provider, let me > know :) > > Cheers From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 19:37:10 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A05F916A402 for ; Mon, 5 Mar 2007 19:37:10 +0000 (UTC) (envelope-from nagylzs@freemail.hu) Received: from smtp.enternet.hu (smtp.enternet.hu [62.112.192.21]) by mx1.freebsd.org (Postfix) with ESMTP id 5BBE713C442 for ; Mon, 5 Mar 2007 19:37:10 +0000 (UTC) (envelope-from nagylzs@freemail.hu) Received: from [62.68.185.68] (helo=[172.16.0.43]) by smtp.enternet.hu with esmtpa (Exim 4) id 1HOIzb-0009Be-V1; Mon, 05 Mar 2007 20:37:08 +0100 Message-ID: <45EC7164.5020406@freemail.hu> Date: Mon, 05 Mar 2007 20:37:08 +0100 From: =?ISO-8859-1?Q?Nagy_L=E1szl=F3_Zsolt?= User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: frzburn , freebsd-questions@freebsd.org References: <2942dae0703050945o430fcb8cp8c27b7fc98e2552f@mail.gmail.com> In-Reply-To: <2942dae0703050945o430fcb8cp8c27b7fc98e2552f@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: Re: Fetching sources from Windows? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 19:37:10 -0000 frzburn írta: > Hi! > I have a slow Internet connection at home, and I would like to know if > it is > possible to fetch the STABLE sources from somewhere else (ex.: at work). > What I want is to get the latest sources, like described in the > handbook ( > http://www.ca.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html), > > even if it means downloading all of it, since there no way to diff > with my > current source... You can also try to install a vmware player on windows, install FreeBSD on it, fetch the sources and make a tarball. (It is just an idea, may not work for you.) Laszlo From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 19:40:52 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8900116A401 for ; Mon, 5 Mar 2007 19:40:52 +0000 (UTC) (envelope-from frzburn@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.freebsd.org (Postfix) with ESMTP id 1393D13C46B for ; Mon, 5 Mar 2007 19:40:51 +0000 (UTC) (envelope-from frzburn@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so2095685nfc for ; Mon, 05 Mar 2007 11:40:50 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=ZTar+A+HbxG3TBEcnrxG+wrNBtZQ3cZzr4vZF2XqVrCuPTjClQAGoyNOGsa3HHi3dRrAcb4clT62KkVoDo76SOwnIgx/DXLdK57s2VgoRM94XzbtKUM3T/DGQcY9jujBzc75IyBWGdBjdsUv7bwRNVTP9dm2/MI1o+alpTMJ5mY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=F22qasR2N8/2fc8+zsmE66g4PFBJviLKDMRG7B/TubpWpujyXaw++s5DYgsMnivPvkkpkoLc2CVseke9HXlnwplofV6LCZ6B9pCXeUKdDikf/WQQwLZd6Z3QJdoDO0r1mtOyTBB1sTe2rApr1siwbYiazrP81sf0bD5JsQqRq1k= Received: by 10.82.114.3 with SMTP id m3mr5697717buc.1173123650135; Mon, 05 Mar 2007 11:40:50 -0800 (PST) Received: by 10.82.139.19 with HTTP; Mon, 5 Mar 2007 11:40:50 -0800 (PST) Message-ID: <2942dae0703051140p3d466b87w8fff53d5ab528aa6@mail.gmail.com> Date: Mon, 5 Mar 2007 14:40:50 -0500 From: frzburn To: "=?ISO-8859-1?Q?Nagy_L=E1szl=F3_Zsolt?=" In-Reply-To: <45EC7164.5020406@freemail.hu> MIME-Version: 1.0 References: <2942dae0703050945o430fcb8cp8c27b7fc98e2552f@mail.gmail.com> <45EC7164.5020406@freemail.hu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Fetching sources from Windows? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 19:40:52 -0000 OK, thank to all of you for your replies! I'll see what I can do... Thanks! frzburn On 3/5/07, Nagy L=E1szl=F3 Zsolt wrote: > > frzburn =EDrta: > > Hi! > > I have a slow Internet connection at home, and I would like to know if > > it is > > possible to fetch the STABLE sources from somewhere else (ex.: at work)= . > > What I want is to get the latest sources, like described in the > > handbook ( > > > http://www.ca.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.htm= l > ), > > > > even if it means downloading all of it, since there no way to diff > > with my > > current source... > You can also try to install a vmware player on windows, install FreeBSD > on it, fetch the sources and make a tarball. (It is just an idea, may > not work for you.) > > Laszlo > > From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 19:52:28 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D367F16A402 for ; Mon, 5 Mar 2007 19:52:28 +0000 (UTC) (envelope-from david.robillard@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.226]) by mx1.freebsd.org (Postfix) with ESMTP id 83EED13C441 for ; Mon, 5 Mar 2007 19:52:28 +0000 (UTC) (envelope-from david.robillard@gmail.com) Received: by nz-out-0506.google.com with SMTP id r28so1931406nza for ; Mon, 05 Mar 2007 11:52:27 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bgyCdi058DEqoRuOf51yVGpXa5hFghAm7aYXrdozMuME/9jWh73IsrIdOUwji+Zh0/WoO4W8ck1mdpQj/aWrhifqGTnjI3JwTMR0Napk8QfA//OjVCBv0Hv4BVLzQ+OZ9RLtc0HoNwaP/JMbGavgDLeXHoWozs4mEt1DAaPvN+g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pJ7qDbqWEP3WWS6+VX7IhBqFphsND9ZUCP+SJZxktn1PD/RbJcG/Qmhih6LliYjy+DqCD6nrnF7QdoyRff2I90wSG7GyO9sC3UU4DbnDukoOU84vTkLf0GLo+raQXD4mMGvUYMyUCO2DsCbTTtbOgnAasIu7uo0wTIFJT8Bk1ME= Received: by 10.65.219.1 with SMTP id w1mr10485597qbq.1173124347509; Mon, 05 Mar 2007 11:52:27 -0800 (PST) Received: by 10.64.210.7 with HTTP; Mon, 5 Mar 2007 11:52:27 -0800 (PST) Message-ID: <226ae0c60703051152h183fca79k470d2b064d871ccf@mail.gmail.com> Date: Mon, 5 Mar 2007 14:52:27 -0500 From: "David Robillard" To: peter@placidpublishing.net In-Reply-To: <45EC6BF3.9090606@placidpublishing.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <226ae0c60703051056ofb18dffu1ea0b9d48297b0bf@mail.gmail.com> <45EC6BF3.9090606@placidpublishing.net> Cc: FreeBSD Questions Subject: Re: Apache Rotate Logs and Log Rotate. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 19:52:28 -0000 On 3/5/07, Peter Pluta wrote: > Thanks, David. I had already configured it like that the first time > around after reading up on it a bit. Most articles/tips I have read say > to wait 10 minutes or so and then compress the logs with a shell script > in order to be sure Apache finished logging to the files. Another thing, > just to be sure. If I had 30 vhosts on my server and each had logs in > their home directory, I would still use newsyslog to rotate and delete > them, correct? I assume one needs tons of disk space to do that if the > sites are rather large. Well, if you do use newsyslog to rotate Apache log files, then it's just a matter of setting the number of files you whish to keep. From newsyslog.conf(5) count Specify the maximum number of archive files which may exist. This does not consider the current log file. Let's say you rotate your files once they reach 2Mb for example and that you've configured 10 in your newsyslog,conf field. Then that means a maximum of 10 x 2Mb = 20Mb will be kept for one VirtualHost. Now if you have 100 virtual hosts all configured this way, then you will need 100 x 20Mb = 2000Mb or 2Gb for all your Apache logs. Considering today's disk drive sizes are well beyond the 300Gb, I don't think this is a problem at all. Of course, YMMV so check your own needs and do the math. Cheers, David -- David Robillard UNIX systems administrator & Oracle DBA CISSP, RHCE & Sun Certified Security Administrator Montreal: +1 514 966 0122 From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 19:54:35 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C35D916A401 for ; Mon, 5 Mar 2007 19:54:35 +0000 (UTC) (envelope-from nullpt@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.freebsd.org (Postfix) with ESMTP id EE83D13C481 for ; Mon, 5 Mar 2007 19:54:34 +0000 (UTC) (envelope-from nullpt@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so1253735ugh for ; Mon, 05 Mar 2007 11:54:33 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=S4KnLMjHZtxK/Al3VHX5TCeWgXaHyygenqT4VLcGUKYxmhuRlgfIr9zpK8Qb2UuESNrm/Kp9T+UgdDPGFZS5c8zPF7hTXoyVJ+DusbSAv+01dc1FmwTUJI9cxhbyc+8odOwFszVPxTzPFzRNlZHzeqYNmgF421NCcnfd152/CwE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=RDcF+A0uYsfF+6IHBrhbz35MB0TYLNLWGj5cMpm0LXckcIwcQNvcqY6h6vqdK/+stA8ISOz2mKtU1SQjconp11vG0xMub8gdTntmm+tqIKrwHSbZbEwAZ8iHshB0IXjcZtKUveDbXo3kxLdigrNbN4+y6kdSp72OOZGOtCXcqvQ= Received: by 10.67.19.20 with SMTP id w20mr11353039ugi.1173124472745; Mon, 05 Mar 2007 11:54:32 -0800 (PST) Received: by 10.66.237.17 with HTTP; Mon, 5 Mar 2007 11:54:32 -0800 (PST) Message-ID: <755cb9fc0703051154q36da9832rac487decaeecd21c@mail.gmail.com> Date: Mon, 5 Mar 2007 19:54:32 +0000 From: "Alexandre Vieira" To: "Chris Slothouber" , freebsd-questions@freebsd.org In-Reply-To: <45EC706F.4080906@hier7.com> MIME-Version: 1.0 References: <755cb9fc0703021022x11e32010pa50107bf5787139c@mail.gmail.com> <755cb9fc0703021131s197d4f4bpd0a1decbf3b7dc76@mail.gmail.com> <7.0.1.0.0.20070305100724.01a34dc8@totaldiver.net> <45EC355F.1080008@hier7.com> <000d01c75f3a$de580200$0202fea9@jarasoft.net> <45EC3852.8080105@hier7.com> <755cb9fc0703051126l9fac8e3v72f0c1a7d6942e37@mail.gmail.com> <45EC706F.4080906@hier7.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Question about a specific ISP: Amen/Amenworld X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 19:54:35 -0000 On 3/5/07, Chris Slothouber wrote: > > I'd recommend Leaseweb in Amsterdam. Their network has great > connectivity to Europe and their prices are competitive for unmetered > plans. > > http://www.leaseweb.com/index.php?p=dedicatedflatfee > > http://noc.leaseweb.com/cgi-bin/peers.pl > > Alexandre Vieira wrote: > >> > > >> >> Personally, I would never consider a vendor that does not at least > >> >> have a cursory knowledge of the platform I was using on a leased > >> >> server. If they are miles away, I want someone with a clue to be my > >> >> eyes an ears in the event of an emergency. > >> >> > >> >> I'd recommend going with a host who supports FreeBSD. > > I'm interested in this specific company because the boxes are hosted in > > France and cprm.net (A big telco in Portugal) is an excelent carrier for > > France and UK. I have less than 50ms roundtrip time for this network. > > > > Also for 99eur/month you get a dual opteron w/ 2x160GB SATA2 disks, 1GB > > DDRII, linked to a 100mbps network (shared but burstable) with no > traffic > > limit. > > > > But the guy who called me to help me with my questions doesn't > understand > > much of anything and he tought Freebsd was a linux distro plus he > > refuses to > > either install freebsd on the machine or put a CD on the server tray and > > plug in a serial cable to the machine so I can install it. I don't even > > know > > how would I install freebsd without using depenguinator or going on site > > myself. > > > > I've tested depenguinator back in the 5.4 days with some friends, just > for > > the kicks, but as someone said before.. I can't rely on a company that > > knows > > nothing about the technology i'll be using. > > > > If anyone know a good UK or Franch dedicated server provider, let me > > know :) > > > > Cheers > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > Thanks for the feebback Chris. I've took a look and the prices are very reasonable as well, but still.. it's more expensive (equivalent hardware) and the latency for Portugal is higher. If I can't get my way around the folks at amenworld this is my second best solution. 64 bytes from www.amen.pt (62.193.207.153): icmp_seq=3 ttl=52 time=46.443msec 64 bytes from www.leaseweb.com (83.149.80.111): icmp_seq=1 ttl=57 time= 57.091 msec Cheers -- Alexandre Vieira - nullpt@gmail.com From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 20:19:01 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 869F316A400 for ; Mon, 5 Mar 2007 20:19:01 +0000 (UTC) (envelope-from dmehler26@woh.rr.com) Received: from ms-smtp-03.ohiordc.rr.com (ms-smtp-03.ohiordc.rr.com [65.24.5.137]) by mx1.freebsd.org (Postfix) with ESMTP id 4E4C313C442 for ; Mon, 5 Mar 2007 20:19:01 +0000 (UTC) (envelope-from dmehler26@woh.rr.com) Received: from satellite (cpe-65-31-40-34.woh.res.rr.com [65.31.40.34]) by ms-smtp-03.ohiordc.rr.com (8.13.6/8.13.6) with SMTP id l25JZ8pI009742 for ; Mon, 5 Mar 2007 14:35:09 -0500 (EST) Message-ID: <004d01c75f5d$8e3d2e80$0200a8c0@satellite> From: "Dave" To: Date: Mon, 5 Mar 2007 14:36:06 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: postfix and greylisting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dave List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 20:19:01 -0000 Hello, I've set up greylisting with postgrey on postfix 2.3, on a 6.1 machine. All seems to be working well, except my bank can't get through, and i'm wondering how to let them through, what file to edit the user or the recipient file? Here's the output, confidential information x-d out. Mar 5 11:56:18 zeus postgrey[630]: cleaning up old logs... Mar 5 11:56:18 zeus postfix/smtpd[95256]: NOQUEUE: reject: RCPT from xxx[xx.xxx.xx.xxx]: 450 4.7.1 : Recipient address rejected: Greylisted, from= to= proto=ESMTP helo= Mar 5 11:56:18 zeus postfix/smtpd[95256]: lost connection after DATA from xxx[xx.xxx.xx.xxx] Mar 5 11:56:18 zeus postfix/smtpd[95256]: disconnect from xxx[xx.xxx.xx.xxx] Mar 5 13:17:00 zeus postgrey[630]: cleaning up old logs... Mar 5 13:17:00 zeus postgrey[630]: delayed 4842 seconds: client=xxx, from=xxx@example.com, to=xxx@example.com Mar 5 13:17:00 zeus postfix/smtpd[95905]: C1A008: client=xxx[xx.xxx.xx.xxx] Mar 5 13:17:00 zeus postfix/smtpd[95905]: lost connection after DATA from xxx[xx.xxx.xx.xxx] Mar 5 13:17:00 zeus postfix/smtpd[95905]: disconnect from xxx[xx.xxx.xx.xxx] Mar 5 13:20:21 zeus postfix/anvil[95907]: statistics: max connection rate 1/60s for (smtp:xx.xxx.xx.xxx) at Mar 5 13:15:44 Mar 5 13:20:21 zeus postfix/anvil[95907]: statistics: max connection count 1 for (smtp:xx.xxx.xx.xxx) at Mar 5 13:15:44 Mar 5 13:20:21 zeus postfix/anvil[95907]: statistics: max cache size 1 at Mar 5 13:15:44 My concern is the sending email server is going to time out this email, and it is rather important. I'd rather not turn off greylisting as i think it is useful and would rather like a solution. Googling has showed me how to configure greylisting, but not to add custom clients. Any help appreciated. Thanks. Dave. From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 20:28:22 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3DFE416A400 for ; Mon, 5 Mar 2007 20:28:22 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 0DA5213C428 for ; Mon, 5 Mar 2007 20:28:21 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l25KPWPe005331; Mon, 5 Mar 2007 15:25:32 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l25KPWYL005330; Mon, 5 Mar 2007 15:25:32 -0500 (EST) (envelope-from jerrymc) Date: Mon, 5 Mar 2007 15:25:32 -0500 From: Jerry McAllister To: frzburn Message-ID: <20070305202532.GC5252@gizmo.acns.msu.edu> References: <2942dae0703050945o430fcb8cp8c27b7fc98e2552f@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2942dae0703050945o430fcb8cp8c27b7fc98e2552f@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Fetching sources from Windows? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 20:28:22 -0000 On Mon, Mar 05, 2007 at 12:45:55PM -0500, frzburn wrote: > Hi! > I have a slow Internet connection at home, and I would like to know if it is > possible to fetch the STABLE sources from somewhere else (ex.: at work). > What I want is to get the latest sources, like described in the handbook ( > http://www.ca.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html), > even if it means downloading all of it, since there no way to diff with my > current source... Basically, that is what I do. I only have a regular old phone modem at home. I take my home machine in to the office where I have a reliable 100 Mb/s and do my installs there. The only problem is fixing up IPs and host names. If I ever get rich and get a laptop with significant disk, I can just carry that and pull everything down to it and take it home to work on the desktop machine - or I could get one of those nice big USB drives and download everything to that. ////jerry > > Thanks! =) > > frzburn > _______________________________________________ > 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 Mar 5 20:36:18 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3A56A16A400 for ; Mon, 5 Mar 2007 20:36:18 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out4.apple.com (mail-out4.apple.com [17.254.13.23]) by mx1.freebsd.org (Postfix) with ESMTP id 2347B13C4A3 for ; Mon, 5 Mar 2007 20:36:18 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay6.apple.com (a17-128-113-36.apple.com [17.128.113.36]) by mail-out4.apple.com (8.13.8/8.13.8) with ESMTP id l25KaIlS016883; Mon, 5 Mar 2007 12:36:18 -0800 (PST) Received: from relay6.apple.com (unknown [127.0.0.1]) by relay6.apple.com (Symantec Mail Security) with ESMTP id E63E810BBD; Mon, 5 Mar 2007 12:36:17 -0800 (PST) X-AuditID: 11807124-9c41ebb0000007df-cf-45ec7f4161ea Received: from [17.214.13.96] (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay6.apple.com (Apple SCV relay) with ESMTP id DB75B10B57; Mon, 5 Mar 2007 12:36:17 -0800 (PST) In-Reply-To: <004d01c75f5d$8e3d2e80$0200a8c0@satellite> References: <004d01c75f5d$8e3d2e80$0200a8c0@satellite> Mime-Version: 1.0 (Apple Message framework v752.2) X-Priority: 3 Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Chuck Swiger Date: Mon, 5 Mar 2007 12:36:14 -0800 To: Dave X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== Cc: freebsd-questions@freebsd.org Subject: Re: postfix and greylisting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 20:36:18 -0000 On Mar 5, 2007, at 11:36 AM, Dave wrote: > I've set up greylisting with postgrey on postfix 2.3, on a 6.1 > machine. All seems to be working well, except my bank can't get > through, and i'm wondering how to let them through, what file to > edit the user or the recipient file? Here's the output, > confidential information x-d out. You want to whitelist the bank's mailserver by name and/or IP. The file you'd change is: /usr/local/etc/postfix/postgrey_whitelist_clients.local ...I believe. -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 20:48:22 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AB24716A402 for ; Mon, 5 Mar 2007 20:48:22 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 64B6213C441 for ; Mon, 5 Mar 2007 20:48:22 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 05 Mar 2007 15:48:23 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.7.5a-GA) with ESMTP id MZP03253; Mon, 5 Mar 2007 15:48:13 -0500 (EST) Received: from 65-78-26-179.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([65.78.26.179]) by smtp01.lnh.mail.rcn.net with ESMTP; 05 Mar 2007 15:48:11 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17900.33096.692004.508607@jerusalem.litteratus.org> Date: Mon, 5 Mar 2007 15:44:56 -0500 To: freebsd-questions@freebsd.org In-Reply-To: <20070305202532.GC5252@gizmo.acns.msu.edu> References: <2942dae0703050945o430fcb8cp8c27b7fc98e2552f@mail.gmail.com> <20070305202532.GC5252@gizmo.acns.msu.edu> X-Mailer: VM 7.17 under 21.5 (beta27) "fiddleheads" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr02.lnh.mail.rcn.net) Subject: Re: Fetching sources from Windows? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 20:48:22 -0000 Jerry McAllister writes: > Basically, that is what I do. I only have a regular old phone > modem at home. I take my home machine in to the office where I > have a reliable 100 Mb/s and do my installs there. The only > problem is fixing up IPs and host names. Before I got cable, I had a cron job which would dial my ISP in the wee hours of the morning, download the evening's updates, and disconnect. Only rarely did this take more than a couple of hours, even at 28.8 kbits/sec. Robert Huff From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 20:56:00 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9855816A401 for ; Mon, 5 Mar 2007 20:56:00 +0000 (UTC) (envelope-from vdemart1@tin.it) Received: from smtp3.aruba.it (smtpd2.aruba.it [62.149.128.207]) by mx1.freebsd.org (Postfix) with SMTP id EA83413C494 for ; Mon, 5 Mar 2007 20:55:59 +0000 (UTC) (envelope-from vdemart1@tin.it) Received: (qmail 23414 invoked by uid 89); 5 Mar 2007 20:55:56 -0000 Received: by simscan 1.1.0 ppid: 23401, pid: 23405, t: 0.2582s scanners: clamav: 0.88.4/m:40/d:1722 Received: from unknown (HELO ?10.155.100.8?) (87.6.220.138) by smtp3.aruba.it with SMTP; 5 Mar 2007 20:55:56 -0000 From: vittorio To: freebsd-questions@freebsd.org Date: Mon, 5 Mar 2007 21:55:48 +0000 User-Agent: KMail/1.9.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703052155.48413.vdemart1@tin.it> X-Spam-Rating: smtp3.aruba.it 1.6.2 0/1000/N Subject: Bluetooth 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: Mon, 05 Mar 2007 20:56:00 -0000 I'm unable to use a bluetooth connection between my fbsd 6.2 laptop and my Nokia cell . As you can see below I can l2ping the cell but not other connection are possible. Also the Nokia cell fails to connect to the new device, the laptop, even though it perceives the device. Could you please give a helpful hand to this absolute bluetooth beginner? Ciao Vittorio #/etc/bluetooth/hosts # BD_ADDR Name [ alias0 alias1 ... ] # 00:11:22:33:44:55 phone 00:12:d2:65:c2:03 NokiaVic % kldstat Id Refs Address Size Name 1 32 0xc0400000 48fd20 kernel 2 1 0xc0890000 3224 splash_bmp.ko 3 1 0xc0894000 5528 vesa.ko 4 1 0xc095a000 435c acpi_video.ko 5 3 0xc095f000 61bc0 acpi.ko 6 1 0xc09c1000 aed4 cpufreq.ko 7 1 0xc09cc000 4a2c acpi_ibm.ko 8 1 0xc09d1000 7ea4 ng_ubt.ko 9 6 0xc09d9000 d6dc netgraph.ko 10 1 0xc35ac000 7000 linprocfs.ko 11 1 0xc35b3000 6000 procfs.ko 12 2 0xc35b9000 6000 pseudofs.ko 13 2 0xc35c0000 19000 linux.ko 14 1 0xc35d9000 4000 sysvshm.ko 15 1 0xc35e2000 5000 sysvsem.ko 16 1 0xc35f5000 4000 sysvmsg.ko 17 1 0xc36db000 2000 rtc.ko 18 1 0xc4064000 3000 wlan_wep.ko 19 1 0xc4068000 e000 if_iwi.ko 20 2 0xc4076000 3000 firmware.ko 21 1 0xc4082000 30000 iwi_bss.ko 22 4 0xc40ce000 2000 ng_bluetooth.ko 23 1 0xc40d0000 d000 ng_hci.ko 24 1 0xc40dd000 f000 ng_l2cap.ko 25 1 0xc40fc000 19000 ng_btsocket.ko 26 1 0xc411d000 4000 ng_socket.ko % mc % hccontrol -n ubt0hci remote_name_request NokiaVic BD_ADDR: NokiaVic Name: NokiaVic % hccontrol -n ubt0hci remote_name_request 00:12:d2:65:c2:03 Status: Page timeout [0x4] % hccontrol -n ubt0hci remote_name_request NokiaVic BD_ADDR: NokiaVic Name: NokiaVic % hccontrol -n ubt0hci read_connection_list Remote BD_ADDR Handle Type Mode Role Encrypt Pending Queue State % /etc/rc.d/rc.bluetooth start ubt0 BD_ADDR: 00:11:f6:07:cb:b8 Features: 0xff 0xff 0x8f 0xfe 0x9b 0xf9 00 0x80 <3-Slot> <5-Slot> Max. ACL packet size: 384 bytes Number of ACL packets: 8 Max. SCO packet size: 64 bytes Number of SCO packets: 8 % hccontrol -n ubt0hci read_connection_list Remote BD_ADDR Handle Type Mode Role Encrypt Pending Queue State % hccontrol -n ubt0hci remote_name_request NokiaVic Status: Page timeout [0x4] % hccontrol -n ubt0hci inquiry Inquiry result, num_responses=1 Inquiry result #0 BD_ADDR: NokiaVic Page Scan Rep. Mode: 0x1 Page Scan Period Mode: 0x2 Page Scan Mode: 00 Class: 50:02:0c Clock offset: 0x3d19 Inquiry complete. Status: No error [00] % hccontrol -n ubt0hci remote_name_request 00:12:d2:65:c2:03 BD_ADDR: NokiaVic Name: NokiaVic % hccontrol -n ubt0hci read_connection_list Remote BD_ADDR Handle Type Mode Role Encrypt Pending Queue State % l2ping -a NokiaVic 0 bytes from NokiaVic seq_no=0 time=2264.361 ms result=0 0 bytes from NokiaVic seq_no=1 time=94.771 ms result=0 0 bytes from NokiaVic seq_no=2 time=52.969 ms result=0 0 bytes from NokiaVic seq_no=3 time=59.167 ms result=0 0 bytes from NokiaVic seq_no=4 time=49.362 ms result=0 % l2control -a 00:12:d2:65:c2:03 read_channel_list l2control: Could not bind socket, bdaddr=00:12:d2:65:c2:03: Network is down % l2control -a NokiaVic read_channel_list l2control: Could not bind socket, bdaddr=00:12:d2:65:c2:03: Network is down % btsockstat % /etc/rc.d/rc.bluetooth stop ubt0 % /etc/rc.d/rc.bluetooth start ubt0 BD_ADDR: 00:11:f6:07:cb:b8 Features: 0xff 0xff 0x8f 0xfe 0x9b 0xf9 00 0x80 <3-Slot> <5-Slot> Max. ACL packet size: 384 bytes Number of ACL packets: 8 Max. SCO packet size: 64 bytes Number of SCO packets: 8 % btsockstat % l2control -a 00:12:d2:65:c2:03 read_channel_list l2control: Could not bind socket, bdaddr=00:12:d2:65:c2:03: Network is down % /etc/rc.d/rc.bluetooth start ubt0 BD_ADDR: 00:11:f6:07:cb:b8 Features: 0xff 0xff 0x8f 0xfe 0x9b 0xf9 00 0x80 <3-Slot> <5-Slot> Max. ACL packet size: 384 bytes Number of ACL packets: 8 Max. SCO packet size: 64 bytes Number of SCO packets: 8 % l2control -a NokiaVic read_channel_list l2control: Could not bind socket, bdaddr=00:12:d2:65:c2:03: Network is down % hccontrol -n ubt0hci remote_name_request 00:12:d2:65:c2:03 Status: Page timeout [0x4] % hccontrol -n ubt0hci remote_name_request NokiaVic Status: Page timeout [0x4] % l2control -a NokiaVic read_channel_list From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 20:57:08 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 817CC16A403 for ; Mon, 5 Mar 2007 20:57:08 +0000 (UTC) (envelope-from marcel@de.reuver.org) Received: from mail.helpman.com (Mail.helpman.com [194.151.157.5]) by mx1.freebsd.org (Postfix) with ESMTP id 3BFE913C4B5 for ; Mon, 5 Mar 2007 20:57:08 +0000 (UTC) (envelope-from marcel@de.reuver.org) Received: from localhost (localhost.helpman.local [127.0.0.1]) by mail.helpman.com (Postfix) with ESMTP id 10810164DE0 for ; Mon, 5 Mar 2007 21:36:46 +0100 (CET) X-Virus-Scanned: by ClamAV at mail.helpman.local Received: from mailhost.jaltadaheerd.nl (unknown [193.192.248.157]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.helpman.com (Postfix) with ESMTP id 9CF30164D95 for ; Mon, 5 Mar 2007 21:36:36 +0100 (CET) Received: from mailhost.jaltadaheerd.nl (jaltadaheerd.nl [127.0.0.1]) by mailhost.jaltadaheerd.nl (Postfix) with ESMTP id 98CCBDCAC004 for ; Mon, 5 Mar 2007 21:37:47 +0100 (CET) Received: from [192.168.2.3] (ip5650cd1d.direct-adsl.nl [86.80.205.29]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailhost.jaltadaheerd.nl (Postfix) with ESMTP id 92408DCAC003 for ; Mon, 5 Mar 2007 21:37:44 +0100 (CET) Message-ID: <45EC7F15.50300@de.reuver.org> Date: Mon, 05 Mar 2007 21:35:33 +0100 From: Marcel de Reuver User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <004d01c75f5d$8e3d2e80$0200a8c0@satellite> In-Reply-To: <004d01c75f5d$8e3d2e80$0200a8c0@satellite> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: postfix and greylisting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 20:57:08 -0000 Dave wrote: > I've set up greylisting with postgrey on postfix 2.3, on a 6.1 > machine. All seems to be working well, except my bank can't get > through, and i'm wondering how to let them through, what file to edit > the user or the recipient file? perldoc postgrey Whitelists Whitelists allow you to specify client addresses or recipient address, for which no greylisting should be done. Per default postgrey will read the following files: /usr/local/etc/postfix/postgrey_whitelist_clients /usr/local/etc/postfix/postgrey_whitelist_clients.local /usr/local/etc/postfix/postgrey_whitelist_recipients You can specify alternative paths with the --whitelist-x options. Postgrey whitelists follow similar syntax rules as Postfix access tables. The following can be specified for recipient addresses: domain.addr "domain.addr" domain and subdomains. name@ "name@.*" and extended addresses "name+blabla@.*". name@domain.addr "name@domain.addr" and extended addresses. /regexp/ anything that matches "regexp" (the full address is matched). The following can be specified for client addresses: domain.addr "domain.addr" domain and subdomains. IP1.IP2.IP3.IP4 IP address IP1.IP2.IP3.IP4. You can also leave off one num- ber, in which case only the first specified numbers will be checked. /regexp/ anything that matches "regexp" (the full address is matched). From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 21:04:07 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C969E16A406 for ; Mon, 5 Mar 2007 21:04:07 +0000 (UTC) (envelope-from phbrown@charter.net) Received: from mtai03.charter.net (mtai03.charter.net [209.225.8.183]) by mx1.freebsd.org (Postfix) with ESMTP id 630F213C441 for ; Mon, 5 Mar 2007 21:04:07 +0000 (UTC) (envelope-from phbrown@charter.net) Received: from aa08.charter.net ([10.20.200.160]) by mtai03.charter.net (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20070305210402.ODZN21785.mtai03.charter.net@aa08.charter.net> for ; Mon, 5 Mar 2007 16:04:02 -0500 Received: from brownhouse ([66.215.116.90]) by aa08.charter.net with SMTP id <20070305210402.BGUS1421.aa08.charter.net@brownhouse> for ; Mon, 5 Mar 2007 16:04:02 -0500 Message-ID: <000d01c75f69$d01f1050$5a74d742@brownhouse> From: "Parker Brown" To: "FreeBSD" Date: Mon, 5 Mar 2007 13:04:06 -0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Chzlrs: 0 Cc: Subject: INTERFACING WITH NTFS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 21:04:07 -0000 Using the FreeBSD booter to manage both Windoz XP and FreeBSD 6.1 on the same SCSI drive. Under FreeBSD I've got XP mounted, and I've been able to examine the XP directories, but when I try to copy data or the contents of directories from FreeBSD to XP (using cp -R ), nothing copies, and I get error messages that say the TARGET files don't exist. Is FreeBSD not capable of copying into NTFS? Has anyone else had the same problem? Parker Brown From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 21:07:53 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E159616A401 for ; Mon, 5 Mar 2007 21:07:53 +0000 (UTC) (envelope-from ysidhu@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.249]) by mx1.freebsd.org (Postfix) with ESMTP id 3CFFE13C4F4 for ; Mon, 5 Mar 2007 21:07:48 +0000 (UTC) (envelope-from ysidhu@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so1453747ana for ; Mon, 05 Mar 2007 13:07:40 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=JoibPU4obGaeU8Mt7esk8QiE4X9mXpqwDwXdTWIxqOiQa+ntsTgUtuYF3Sx+YqXTux3TU+KfJIK8h353tcfYsjreM7A1dM1H1Ix+12Ve1eV4umBuLSStEKYoN1aArwCykt8IqsiVE5ugSIH2i1LQd+fy58GJDKN5UGs6UOhrkG4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=cYNoITRnx4FQpexxTj2T5EsrIWI+PEDjJehTKgxQZY0p7Y6/ZcmJYrjvh8DaduABhPe8S0u0AKgjPzapyXnao3aaYShIihUj/EswyQ1NRUSzU1/Mp893P9692/+5joEbgwMGCRsomhVlm3pFnEXtvS51uImnqkffVhpwDVCNOnk= Received: by 10.100.121.12 with SMTP id t12mr4774920anc.1173128860811; Mon, 05 Mar 2007 13:07:40 -0800 (PST) Received: by 10.100.143.14 with HTTP; Mon, 5 Mar 2007 13:07:40 -0800 (PST) Message-ID: Date: Mon, 5 Mar 2007 13:07:40 -0800 From: "Y Sidhu" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: rsync and trailing '/' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 21:07:54 -0000 >From: Noah >Subject: rsync and trailing '/' >To: User Questions >Message-ID: <45EC0C0D.7040302@enabled.com> >Content-Type: text/plain; charset=ISO-8859-1; format=flowed > >rsync version 2.6.9 protocol version 29 > >I am running rsync, and I wonder if having the trailing '/' at the end >of the directory is proper configuration? > >--- snip --- > >/usr/local/bin/rsync -avz -e ssh globs@globs.com:/var/cron/ /var/cron/ > >--- snip --- > >Cheers, > >Noah Whoa, Noah duuude! That trailing slash makes mondo difference. Use with caution FBSD dudes! -- Yudhvir Singh Sidhu Mars or Bust From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 21:10:27 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8DCB516A403 for ; Mon, 5 Mar 2007 21:10:27 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id EC0E413C46B for ; Mon, 5 Mar 2007 21:10:26 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l25L7aQp005570; Mon, 5 Mar 2007 16:07:36 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l25L7a4o005569; Mon, 5 Mar 2007 16:07:36 -0500 (EST) (envelope-from jerrymc) Date: Mon, 5 Mar 2007 16:07:36 -0500 From: Jerry McAllister To: Parker Brown Message-ID: <20070305210736.GA5466@gizmo.acns.msu.edu> References: <000d01c75f69$d01f1050$5a74d742@brownhouse> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000d01c75f69$d01f1050$5a74d742@brownhouse> User-Agent: Mutt/1.4.2.2i Cc: FreeBSD Subject: Re: INTERFACING WITH NTFS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 21:10:27 -0000 On Mon, Mar 05, 2007 at 01:04:06PM -0800, Parker Brown wrote: > > Using the FreeBSD booter to manage both Windoz XP and FreeBSD 6.1 on the > same SCSI drive. Under FreeBSD I've got XP mounted, and I've been able to > examine the XP directories, but when I try to copy data or the contents of > directories from FreeBSD to XP (using cp -R ), nothing copies, and I > get error messages that say the TARGET files don't exist. > > Is FreeBSD not capable of copying into NTFS? Has anyone else had the same > problem? This was just discussed on the list late last week. Yes, FreeBSD can read, but (for the most part) does not write to NTFS at this point in time. There are a couple of ports that claim to write to NTFS. I haven't tried them. When I dual boot with MS-NTFS, I actually squeeze the NTFS slice down just a little further and make a couple or so GB slice in FAT32 that I can read and write from both FreeBSD and Microsloth. That means I am using up 3 rather than 2 slices when dual booting that combination; NTFS, FAT32, FreeBSD. I don't know if work is being done to make standard FreeBSD write NTFS. Search the recent questions archive for the recent exchanges. ////jerry > > > > Parker Brown > > _______________________________________________ > 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 Mar 5 21:12:50 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5BDBA16A401 for ; Mon, 5 Mar 2007 21:12:50 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.freebsd.org (Postfix) with ESMTP id 1F8E613C428 for ; Mon, 5 Mar 2007 21:12:50 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from localhost (localhost [127.0.0.1]) by kanga.honeypot.net (Postfix) with ESMTP id 6934F206699 for ; Mon, 5 Mar 2007 15:12:49 -0600 (CST) X-Virus-Scanned: amavisd-new at honeypot.net Received: from kanga.honeypot.net ([127.0.0.1]) by localhost (kanga.honeypot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MfAeloyr5N6E for ; Mon, 5 Mar 2007 15:12:46 -0600 (CST) Received: from kanga.honeypot.net (kanga.honeypot.net [IPv6:2001:470:1f01:224:1::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by kanga.honeypot.net (Postfix) with ESMTP id 00DA9208334 for ; Mon, 5 Mar 2007 15:12:45 -0600 (CST) From: Kirk Strauser To: freebsd-questions@freebsd.org Date: Mon, 5 Mar 2007 15:12:36 -0600 User-Agent: KMail/1.9.5 References: In-Reply-To: X-Face: &'; cS03F?rr_w2Qce.d2f7xmwXfcJWDs>}CkpDw.c]ZJJ_)i0Nx Subject: Re: Install with USB keyboard X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 21:12:50 -0000 --nextPart1811476.lqE0yDeNKG Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 04 March 2007 23:53, John Costanzo wrote: > That did not work. Please I would really like to use FreeBSD and I do not > have a PS/2 port to help. Thanks =46or the record, I just installed 6.2 onto a USB-only server using a USB=20 keyboard. I can't give any advice for your exact situation, but wanted to= =20 say that it really is possible, at least on certain hardware. Oh, is there any way to ask your BIOS to make USB keyboards and mice show u= p=20 as PS2? =2D-=20 Kirk Strauser --nextPart1811476.lqE0yDeNKG Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQBF7IfL5sRg+Y0CpvERAqXvAKCGmh6QeGnyt3jgXIBHHE6ruID7MgCff5EA XFgz1QNyo7+PrsdUg/ef0MU= =/+dx -----END PGP SIGNATURE----- --nextPart1811476.lqE0yDeNKG-- From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 21:21:26 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C13DF16A401 for ; Mon, 5 Mar 2007 21:21:26 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id 929B013C4BB for ; Mon, 5 Mar 2007 21:21:26 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from gumby.homeunix.com (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 118E0519B7 for ; Mon, 5 Mar 2007 16:21:24 -0500 (EST) Date: Mon, 5 Mar 2007 21:21:22 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20070305212122.672136df@gumby.homeunix.com> In-Reply-To: References: <20070228183733.4f6ddfe7@gumby.homeunix.com> X-Mailer: Claws Mail 2.8.0 (GTK+ 2.10.9; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: compiling ports with more than one job X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 21:21:26 -0000 On Sat, 3 Mar 2007 13:55:53 +0100 (CET) Christian Baer wrote: > On Wed, 28 Feb 2007 18:37:33 +0000 RW wrote: > > > There are two problems here. The first is that not all of the > > underlying builds support this. The second is that we are using > > Make as our ports scripting language - I'm guessing that in Gentoo > > no-one expects portage itself to be parallel. > > I don't actually *expect* anything. :-) I'm not sure why you think > that Gentoo should be an exeption here, but that won't hold up > forever - on any OS. I don't, it was an analogy. Gentoo has a portage system based on Python that mostly builds software using Gnu make, FreeBSD has a ports system based on BSD make that also mostly builds software using Gnu make. Gentoo can make use of parallel processes by passing -j to gnu make,and IMO this is how it should be done in FreeBSD. The fact that FreeBSD uses Make as its ports scripting language confuses the issue, people expect to be able to type make -j in a ports directory, but when they do that they are applying the -j to the wrong make - it's analogous the python part of Gentoo portage. I don't see any good reason why the ports system *itself* should ever support -j, there's nothing to be gained by it. All that's needed is a better mechanism to tell the underlying build to use multiple processes. > So you mean a MAKE_ARGS= -j 4 would help? Worth a try, a few ports already do this > > Probably you would want to set it conditionally in make.conf, so you > > can exclude any problematical ports. > > What do you mean with that? You wouldn't want to use it on ports that are known to fail would you? From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 21:28:07 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EFA2A16A400 for ; Mon, 5 Mar 2007 21:28:07 +0000 (UTC) (envelope-from frzburn@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by mx1.freebsd.org (Postfix) with ESMTP id 8199513C48D for ; Mon, 5 Mar 2007 21:28:07 +0000 (UTC) (envelope-from frzburn@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so2128551nfc for ; Mon, 05 Mar 2007 13:28:06 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=o731mHI9XB6pW7l/die6ESDb83Ke2nfAUHOUJIwb7F1OKuDFcJVdyER2l8VSpMV3Q3F15irhHiWssbSSWngTr/w7DOl6eD85hTJNRvcVDvKpVfY4V19pOfu8g3zHqnIQYFYwhrbDhTqoMWDviNZtqYALDwQXn7HrwkS7gs8mcVI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=TCun29X273cTvJFaVM8ENd2rBm79gQ6qmIDuh21+2u72knbyMLhozV+SySqqgDrKFo6lZ0HJIn+G1r+LPggwVTZ0zecHy+kCedQ/HheyZy9vs+ACY5UBDMYsRtAtkX18x2lqe/tb5cvwE8r/g0HHiRmYnG5KdlN2Emaer09Cclo= Received: by 10.82.135.13 with SMTP id i13mr5905280bud.1173130086192; Mon, 05 Mar 2007 13:28:06 -0800 (PST) Received: by 10.82.139.19 with HTTP; Mon, 5 Mar 2007 13:28:06 -0800 (PST) Message-ID: <2942dae0703051328l6e0a26b4v4a41a2812b18dc9e@mail.gmail.com> Date: Mon, 5 Mar 2007 16:28:06 -0500 From: frzburn To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Laptop lid switch and ACPI X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 21:28:08 -0000 Hi folks! I need a hint on how to get my screen turn off (backlight too) on my Dell Laptop. I have an Inspiron 6400 (e1505), and FreeBSD 6 - amd64. That's all! Thanks! =) frzburn From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 21:28:32 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AC42F16A404 for ; Mon, 5 Mar 2007 21:28:32 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (www.unsane.co.uk [85.233.185.162]) by mx1.freebsd.org (Postfix) with ESMTP id F38A213C47E for ; Mon, 5 Mar 2007 21:28:31 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from [10.0.0.178] ([10.0.0.178]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.13.8) with ESMTP id l25LH59G073594 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 5 Mar 2007 21:17:06 GMT (envelope-from jhary@unsane.co.uk) Message-ID: <45EC88DF.6080704@unsane.co.uk> Date: Mon, 05 Mar 2007 21:17:19 +0000 From: Vince User-Agent: Thunderbird 1.5.0.7 (X11/20061027) MIME-Version: 1.0 To: Parker Brown References: <000d01c75f69$d01f1050$5a74d742@brownhouse> In-Reply-To: <000d01c75f69$d01f1050$5a74d742@brownhouse> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Subject: Re: INTERFACING WITH NTFS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 21:28:32 -0000 Parker Brown wrote: > > Using the FreeBSD booter to manage both Windoz XP and FreeBSD 6.1 on > the same SCSI drive. Under FreeBSD I've got XP mounted, and I've been > able to examine the XP directories, but when I try to copy data or the > contents of directories from FreeBSD to XP (using cp -R ), nothing > copies, and I get error messages that say the TARGET files don't exist. > > Is FreeBSD not capable of copying into NTFS? Has anyone else had the > same problem? > Write access from mount_ntfs is still somewhat experimental read the man page for more info. If you need write access to NTFS i'd recommend using the fusefs-ntfs port. This needs to install fusefs-kmod which requires the kernel sources which you can install via sysinstall if you havent. regards, Vince > > > Parker Brown > _______________________________________________ > 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 Mar 5 22:24:28 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 435CB16A402 for ; Mon, 5 Mar 2007 22:24:28 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id 0DC7213C4B5 for ; Mon, 5 Mar 2007 22:24:28 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from gumby.homeunix.com (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 7DCEC5193C for ; Mon, 5 Mar 2007 17:24:26 -0500 (EST) Date: Mon, 5 Mar 2007 22:24:22 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20070305222422.0203e811@gumby.homeunix.com> In-Reply-To: <45EB9F93.908@enabled.com> References: <45EB9F93.908@enabled.com> X-Mailer: Claws Mail 2.8.0 (GTK+ 2.10.9; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: portmanager and use.perl port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 22:24:28 -0000 On Sun, 04 Mar 2007 20:41:55 -0800 Noah wrote: > So at times I run portmanager on many of my servers but I want to > make sure that the perl installed is the port and not the system > version. Are you aware that 5.x and 6.x releases don't have perl in the base system, and that 4-stable is no longer officially supported. From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 22:27:33 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 940E416A403 for ; Mon, 5 Mar 2007 22:27:33 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (dsl081-227-250.chi1.dsl.speakeasy.net [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 0375513C4A3 for ; Mon, 5 Mar 2007 22:27:30 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.12.11) with ESMTP id l25MR450030768; Mon, 5 Mar 2007 16:27:04 -0600 (CST) Message-Id: <6.0.0.22.2.20070305162342.024b6f58@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Mon, 05 Mar 2007 16:26:50 -0600 To: "Jean-Philippe Daigle" , From: Derek Ragona In-Reply-To: <6B865826E860EF42B3A387A03F39539616917F69@EX0004.AllstreamI TS.local> References: <6B865826E860EF42B3A387A03F39539616917F69@EX0004.AllstreamITS.local> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Starting a service on boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 22:27:33 -0000 rc scripts should accept a few arguments: start stop restart You can usually find one in /usr/local/etc/rc.d to copy from. In most cases you want the service to write the PID to a file in /var/log so only one instance is started. Also be sure you use full pathnames in your scripts, don't assume an environment exists. -Derek At 08:37 AM 3/5/2007, Jean-Philippe Daigle wrote: >Hello, > >I'm attempting to add a new program to the list of services starting at >boot time on FreeBSD 6.1. Unfortunately, although running the script >directly as root starts it up just fine, it's not starting at boot time. >I've found documentation that says there are two basic steps to follow: > >1) Create a script named, say, 'foo' starting the program, place it in >/etc/rc.d/, and make sure it satisfies a few minimal requirements (see >script below). > >2) Edit rc.conf to add "foo_enable=YES" so the init system knows to >start the new program. > >I've done (2), and here's the script for (1) (anything between <> is me >redacting a username, it's obviously not that way in the script): > >(/etc/rc.d)$ cat cc >#!/bin/sh ># ># PROVIDE: cc ># REQUIRE: DAEMON > >. /etc/rc.subr > >name="cc" >rcvar=`set_rcvar` >command="/home//cruisecontrol.sh" >command_args="&" >cc_user="" > >load_rc_config $name >run_rc_command "$1" > > >I can also check if it's enabled: >(/etc/rc.d)$ ./cc rcvar ># cc >$cc_enable=YES > >I haven't found anything interesting in the system logs from the last >boot - any ideas why it's not starting up? > >Thanks >-Jean-Philippe Daigle > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. >MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 22:44:55 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 65CDB16A402 for ; Mon, 5 Mar 2007 22:44:55 +0000 (UTC) (envelope-from M0rchand@comcast.net) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [63.240.77.82]) by mx1.freebsd.org (Postfix) with ESMTP id F298613C471 for ; Mon, 5 Mar 2007 22:44:54 +0000 (UTC) (envelope-from M0rchand@comcast.net) Received: from [192.168.2.4] (c-71-203-129-72.hsd1.fl.comcast.net[71.203.129.72]) by comcast.net (sccrmhc12) with SMTP id <2007030522445301200acrioe>; Mon, 5 Mar 2007 22:44:53 +0000 Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: <67B7751E-B7C9-4414-924F-2BD3CDD0FE97@comcast.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-questions@freebsd.org From: Tom Marchand Date: Mon, 5 Mar 2007 17:44:52 -0500 X-Mailer: Apple Mail (2.752.2) Subject: Changing Boot Loader X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 22:44:55 -0000 Is there anyway to install a new boot loader without having to perform a complete reinstall? From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 22:45:55 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 66B3216A402 for ; Mon, 5 Mar 2007 22:45:55 +0000 (UTC) (envelope-from Thomas.Sparrevohn@btinternet.com) Received: from smtp803.mail.ird.yahoo.com (smtp803.mail.ird.yahoo.com [217.146.188.63]) by mx1.freebsd.org (Postfix) with SMTP id E4AA113C4B5 for ; Mon, 5 Mar 2007 22:45:54 +0000 (UTC) (envelope-from Thomas.Sparrevohn@btinternet.com) Received: (qmail 59484 invoked from network); 5 Mar 2007 22:45:53 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=btinternet.com; h=Received:X-YMail-OSG:Reply-To:From:To:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:Thread-Index:Content-Language; b=l4WCODyARC+q9qMJqa8JYLyGe8buU1d2hHz/H+oujdlbnMAgHvUL/T+t0LMQlMTbDMDAcclgDMWz48CsSMjPsdAauTo23Z8ZCSzpchOZSq98XQDxTEH7azX4epXg7cYBIrEPtVYuAlty2Oc2Mt+vkR63GN0dPhmmHPmCyoU56tE= ; Received: from unknown (HELO w2fzz0vc03) (thomas.sparrevohn@btinternet.com@86.143.68.236 with login) by smtp803.mail.ird.yahoo.com with SMTP; 5 Mar 2007 22:45:53 -0000 X-YMail-OSG: ZzXSK.sVM1nQS2gmPFPqtITknRppbceJZtSTm8kPAfGlVRmFZ22qN60Y4z6yrIJIw2JAMJj3tqbw8xP7KOkVZ3hV0m.ONGY7BWDXJCewvEK3BanQOWc- From: "Thomas Sparrevohn" To: "'RW'" , References: <20070228183733.4f6ddfe7@gumby.homeunix.com> <20070305212122.672136df@gumby.homeunix.com> In-Reply-To: <20070305212122.672136df@gumby.homeunix.com> Date: Mon, 5 Mar 2007 22:45:53 -0000 Message-ID: <006c01c75f78$08097420$181c5c60$@Sparrevohn@btinternet.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcdfbIeiLUeRCcHnQ9+E3O5i/2A7gQACfbbw Content-Language: en-gb Cc: Subject: RE: compiling ports with more than one job X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Thomas.Sparrevohn@btinternet.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 22:45:55 -0000 There really two answers possible here - 1) Let's call it one depth e.g. make -j - Which works with some not all ports - Nice when it works and I guess ports/Mk could hold a flag 2) Let's call it width - e.g. the ability to compile packages at the same time given that all dependencies has been resolved 3) combination of 1 and 2 In practical terms option 2 is much more attractive as it is possible to determine that just from the INDEX file and the installed ports. However due to the way compilation options are treated e.g. I am not sure that it is completely safe - I will require some locking during the make (de/re)install phase but possible to handle - It would still cut portupgrade significantly With 15-16000+ ports I think that 1 and 3 are unpractical - however it could make sense to have some packages (kde/gnome) handled with make -j and it seems to work with at least some of the kde packages - but only I think if make extract/patch/configure are run without -j -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of RW Sent: 05 March 2007 21:21 To: freebsd-questions@freebsd.org Subject: Re: compiling ports with more than one job On Sat, 3 Mar 2007 13:55:53 +0100 (CET) Christian Baer wrote: > On Wed, 28 Feb 2007 18:37:33 +0000 RW wrote: > > > There are two problems here. The first is that not all of the > > underlying builds support this. The second is that we are using > > Make as our ports scripting language - I'm guessing that in Gentoo > > no-one expects portage itself to be parallel. > > I don't actually *expect* anything. :-) I'm not sure why you think > that Gentoo should be an exeption here, but that won't hold up > forever - on any OS. I don't, it was an analogy. Gentoo has a portage system based on Python that mostly builds software using Gnu make, FreeBSD has a ports system based on BSD make that also mostly builds software using Gnu make. Gentoo can make use of parallel processes by passing -j to gnu make,and IMO this is how it should be done in FreeBSD. The fact that FreeBSD uses Make as its ports scripting language confuses the issue, people expect to be able to type make -j in a ports directory, but when they do that they are applying the -j to the wrong make - it's analogous the python part of Gentoo portage. I don't see any good reason why the ports system *itself* should ever support -j, there's nothing to be gained by it. All that's needed is a better mechanism to tell the underlying build to use multiple processes. > So you mean a MAKE_ARGS= -j 4 would help? Worth a try, a few ports already do this > > Probably you would want to set it conditionally in make.conf, so you > > can exclude any problematical ports. > > What do you mean with that? You wouldn't want to use it on ports that are known to fail would you? _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 22:50:46 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DCB7816A403 for ; Mon, 5 Mar 2007 22:50:46 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (dsl081-227-250.chi1.dsl.speakeasy.net [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 7497C13C4BB for ; Mon, 5 Mar 2007 22:50:46 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.12.11) with ESMTP id l25MoG29031114; Mon, 5 Mar 2007 16:50:17 -0600 (CST) Message-Id: <6.0.0.22.2.20070305164542.025808f8@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Mon, 05 Mar 2007 16:50:02 -0600 To: "Michel, Dietmar" , From: Derek Ragona In-Reply-To: <0C398216960631429151B4A4B6B1FC03038CCAB0@fra-ex-01.adprod. bmc.com> References: <0C398216960631429151B4A4B6B1FC03038CCAB0@fra-ex-01.adprod.bmc.com> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: RAID5 degraded - system hangs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 22:50:46 -0000 I'm no expert, but have experienced a few RAID issues. First, RAID 5 will= =20 become degraded and will try to rebuild upon a drive failure, once the=20 failed drive is replaces. In Mirrored RAID, RAID 1, or RAID 10, the system= =20 will continue to function on the good drive but will alert the=20 administrator of the drive failure. One last thing, SATA RAID drives, while they are often said to be=20 hot-swapable, most manufacturer's recommend power-off then swap=20 drives. With SCSI hot swapable drives they can be swapped with power still= on. -Derek At 09:22 AM 3/5/2007, Michel, Dietmar wrote: >Hi Guys, > > > >I=B4m using an older Server with FreeBSD 6.2 als Fileserver in my home off= ice. > >Now I made an upgrade using 4 SATA II disks connected to a promise TX4310= =20 >Raid controller. > >Defining a RAID5 a bios level, starting the server and building up the=20 >Raid at OS level: > ># atacontrol create RAID5 32 ad4 ad6 ad8 ad10 > ># bsdlable ... > ># newfs ... > > > >And now I have a functional Raid named ar0. > > > >At boot time the bios told me that even at this level the raid in=20 >initializing - world seemed to be ok. > > > >Now I tried to prove Raid function and disconnect one disk. > >Theoretical data is covered by the rest of 3 ... but after I get the=20 >system message that one disk has been disconnected the maschine stopps wor= king. > >Told me: ar0 raid 5 degarded after a fw minutes no input is possibble. > > > > > >Even after reboot > >.... > >ar0: disk0 Ready >ar0: disk1 Ready >ar0: disk2 Ready >ar0: disk3 down no device found > >... end of work > > > >No single user mode or other starting option seemed to work. > >I have no chance to rebuild the raid via atacontrol. > > > >Any hints? > >Raid without reliability doesn=B4t make sense! > > > >Regards > > > > Dietmar > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.or= g" > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. >MailScanner thanks transtec Computers for their support. --=20 This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 22:50:57 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 41E6316A400 for ; Mon, 5 Mar 2007 22:50:57 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (www.unsane.co.uk [85.233.185.162]) by mx1.freebsd.org (Postfix) with ESMTP id AF1D313C4B2 for ; Mon, 5 Mar 2007 22:50:56 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from [10.0.0.178] ([10.0.0.178]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.13.8) with ESMTP id l25MoPZg074677 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 5 Mar 2007 22:50:26 GMT (envelope-from jhary@unsane.co.uk) Message-ID: <45EC9EBF.2040708@unsane.co.uk> Date: Mon, 05 Mar 2007 22:50:39 +0000 From: Vince User-Agent: Thunderbird 1.5.0.7 (X11/20061027) MIME-Version: 1.0 To: Tom Marchand References: <67B7751E-B7C9-4414-924F-2BD3CDD0FE97@comcast.net> In-Reply-To: <67B7751E-B7C9-4414-924F-2BD3CDD0FE97@comcast.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Changing Boot Loader X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 22:50:57 -0000 Tom Marchand wrote: > Is there anyway to install a new boot loader without having to perform > a complete reinstall? > _ Have a read though the man page for boot0cfg if you want to reinstall the freebsd bootloader, otherwise you can install grub from ports. Vince > ______________________________________________ > 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 Mar 5 22:57:58 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1ABEF16A400 for ; Mon, 5 Mar 2007 22:57:58 +0000 (UTC) (envelope-from Thomas.Sparrevohn@btinternet.com) Received: from smtp809.mail.ird.yahoo.com (smtp809.mail.ird.yahoo.com [217.146.188.69]) by mx1.freebsd.org (Postfix) with SMTP id 842DA13C428 for ; Mon, 5 Mar 2007 22:57:57 +0000 (UTC) (envelope-from Thomas.Sparrevohn@btinternet.com) Received: (qmail 76874 invoked from network); 5 Mar 2007 22:57:56 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=btinternet.com; h=Received:X-YMail-OSG:Reply-To:From:To:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:Thread-Index:Content-Language; b=cE9gtI6hE1i+y+pNhwkLHAiJXZdS+qrXnLLDGpuO7YHMdlxY8hXfbW9JUqKBahxIt8SHuDpsomMJ16TUF2tv40DuZR52/Uj8WWEL/Z3qJ5TBPSf7XEogBTSiB1CT0ED0lLrHKi+AYIU6pPkuczSbk/WQTMckFdKPNxlzMtXuhSo= ; Received: from unknown (HELO w2fzz0vc03) (thomas.sparrevohn@btinternet.com@86.143.68.236 with login) by smtp809.mail.ird.yahoo.com with SMTP; 5 Mar 2007 22:57:56 -0000 X-YMail-OSG: Yr9QaCAVM1ms5vkD.LfB4w9L1IHjdx9cjzHcna44zyxO9Ir56r6DUU0ha9yG8fgvT_i_lg09xacSroMVJqee0nkzRM3RkFAzxLnrOpe5T3zhUNYA746zwtO2Zs_lou8uAxkvWX8VxWwmnGLRF8mdOIU- From: "Thomas Sparrevohn" To: "'Tom Marchand'" , References: <67B7751E-B7C9-4414-924F-2BD3CDD0FE97@comcast.net> In-Reply-To: <67B7751E-B7C9-4414-924F-2BD3CDD0FE97@comcast.net> Date: Mon, 5 Mar 2007 22:57:55 -0000 Message-ID: <006d01c75f79$b6c14730$2443d590$@Sparrevohn@btinternet.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acdfd/wup/g6U7NgT+Kxbdlq9K8GqQAAV7zQ Content-Language: en-gb Cc: Subject: RE: Changing Boot Loader X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Thomas.Sparrevohn@btinternet.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 22:57:58 -0000 Take a look at boot0cfg - it can install a new master boot record - If you by accident have nuked /boot You can normally get away with a make install from /sys/i386/boot - sometimes you have to copy a file or two by hand -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Tom Marchand Sent: 05 March 2007 22:45 To: freebsd-questions@freebsd.org Subject: Changing Boot Loader Is there anyway to install a new boot loader without having to perform a complete reinstall? _______________________________________________ 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 Mar 5 23:09:27 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1D9FB16A402 for ; Mon, 5 Mar 2007 23:09:27 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id BFD9913C442 for ; Mon, 5 Mar 2007 23:09:26 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from archangel.daleco.biz ([69.27.149.254]) by ezekiel.daleco.biz (8.13.4/8.13.1) with ESMTP id l25N7jqC008976; Mon, 5 Mar 2007 17:07:59 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <45ECA2B9.1030007@daleco.biz> Date: Mon, 05 Mar 2007 17:07:37 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2pre) Gecko/20070221 SeaMonkey/1.1 MIME-Version: 1.0 To: Tom Marchand References: <67B7751E-B7C9-4414-924F-2BD3CDD0FE97@comcast.net> <45EC9EBF.2040708@unsane.co.uk> In-Reply-To: <45EC9EBF.2040708@unsane.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Changing Boot Loader X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 23:09:27 -0000 Vince wrote: > Tom Marchand wrote: >> Is there anyway to install a new boot loader without having to perform >> a complete reinstall? >> _ > Have a read though the man page for boot0cfg if you want to reinstall > the freebsd bootloader, otherwise you can install grub from ports. > > Vince or GAG (ports/sysutils/gag). possibly extipl (ports/sysutils/extipl). Have used gag, worked fine here on 6.1 and older PII based system (from the 750 MHz era) with typical IDE/pATA disk. No experience with the latter. Kevin Kinsey From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 23:10:17 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 45B2C16A402 for ; Mon, 5 Mar 2007 23:10:17 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id 96A1213C46B for ; Mon, 5 Mar 2007 23:10:16 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from archangel.daleco.biz ([69.27.149.254]) by ezekiel.daleco.biz (8.13.4/8.13.1) with ESMTP id l25NA1JR008981; Mon, 5 Mar 2007 17:10:04 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <45ECA344.6010600@daleco.biz> Date: Mon, 05 Mar 2007 17:09:56 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2pre) Gecko/20070221 SeaMonkey/1.1 MIME-Version: 1.0 To: Tom Marchand References: <67B7751E-B7C9-4414-924F-2BD3CDD0FE97@comcast.net> <45EC9EBF.2040708@unsane.co.uk> In-Reply-To: <45EC9EBF.2040708@unsane.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Changing Boot Loader X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 23:10:17 -0000 Vince wrote: > Tom Marchand wrote: >> Is there anyway to install a new boot loader without having to perform >> a complete reinstall? >> _ > Have a read though the man page for boot0cfg if you want to reinstall > the freebsd bootloader, otherwise you can install grub from ports. > > Vince or GAG (ports/sysutils/gag). possibly extipl (ports/sysutils/extipl). Have used gag, worked fine here on 6.1 and older PII based system (from the 750 MHz era) with typical IDE/pATA disk. No experience with the latter. Kevin Kinsey From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 23:26:18 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 897BE16A403 for ; Mon, 5 Mar 2007 23:26:18 +0000 (UTC) (envelope-from peter@placidpublishing.net) Received: from mail.placidpublishing.net (placidpublishing.net [72.232.50.130]) by mx1.freebsd.org (Postfix) with ESMTP id 6733E13C46B for ; Mon, 5 Mar 2007 23:26:18 +0000 (UTC) (envelope-from peter@placidpublishing.net) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.placidpublishing.net (Postfix) with ESMTP id B40845082D; Mon, 5 Mar 2007 17:32:15 -0600 (CST) Received: from mail.placidpublishing.net ([127.0.0.1]) by localhost (mail.placidpublishing.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 49620-05; Mon, 5 Mar 2007 17:32:13 -0600 (CST) Received: from [192.168.1.20] (c-67-175-92-171.hsd1.il.comcast.net [67.175.92.171]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.placidpublishing.net (Postfix) with ESMTP id 2B9D85082B; Mon, 5 Mar 2007 17:32:13 -0600 (CST) Message-ID: <45ECA718.5090908@placidpublishing.net> Date: Mon, 05 Mar 2007 17:26:16 -0600 From: Peter Pluta Organization: Placid Publishing, LLC User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: David Robillard References: <226ae0c60703051056ofb18dffu1ea0b9d48297b0bf@mail.gmail.com> <45EC6BF3.9090606@placidpublishing.net> <226ae0c60703051152h183fca79k470d2b064d871ccf@mail.gmail.com> In-Reply-To: <226ae0c60703051152h183fca79k470d2b064d871ccf@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard Cc: freebsd-questions@freebsd.org Subject: Re: Apache Rotate Logs and Log Rotate. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: peter@placidpublishing.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 23:26:18 -0000 Gotcha, do you use a script to compress the logs after the SIGUSR1 and after waiting for a bit for apache to clear it's logging buffer (to not have missing logs)? David Robillard wrote: > On 3/5/07, Peter Pluta wrote: >> Thanks, David. I had already configured it like that the first time >> around after reading up on it a bit. Most articles/tips I have read say >> to wait 10 minutes or so and then compress the logs with a shell script >> in order to be sure Apache finished logging to the files. Another thing, >> just to be sure. If I had 30 vhosts on my server and each had logs in >> their home directory, I would still use newsyslog to rotate and delete >> them, correct? I assume one needs tons of disk space to do that if the >> sites are rather large. > > Well, if you do use newsyslog to rotate Apache log files, then it's > just a matter of setting the number of files you whish to keep. From > newsyslog.conf(5) > > count Specify the maximum number of archive files which may exist. > This does not consider the current log file. > > Let's say you rotate your files once they reach 2Mb for example and > that you've configured 10 in your newsyslog,conf field. Then > that means a maximum of 10 x 2Mb = 20Mb will be kept for one > VirtualHost. Now if you have 100 virtual hosts all configured this > way, then you will need 100 x 20Mb = 2000Mb or 2Gb for all your Apache > logs. > > Considering today's disk drive sizes are well beyond the 300Gb, I > don't think this is a problem at all. > > Of course, YMMV so check your own needs and do the math. > > Cheers, > > David From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 23:29:21 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BC54316A403 for ; Mon, 5 Mar 2007 23:29:21 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 7558413C4AC for ; Mon, 5 Mar 2007 23:29:21 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr08.lnh.mail.rcn.net ([207.172.157.28]) by smtp02.lnh.mail.rcn.net with ESMTP; 05 Mar 2007 18:29:23 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr08.lnh.mail.rcn.net (MOS 3.7.5a-GA) with ESMTP id IIO25895; Mon, 5 Mar 2007 18:29:20 -0500 (EST) Received: from 65-78-26-179.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([65.78.26.179]) by smtp01.lnh.mail.rcn.net with ESMTP; 05 Mar 2007 18:29:20 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17900.42763.53765.452644@jerusalem.litteratus.org> Date: Mon, 5 Mar 2007 18:26:03 -0500 To: In-Reply-To: <6.0.0.22.2.20070305162342.024b6f58@mail.computinginnovations.com> References: <6B865826E860EF42B3A387A03F39539616917F69@EX0004.AllstreamITS.local> <6.0.0.22.2.20070305162342.024b6f58@mail.computinginnovations.com> X-Mailer: VM 7.17 under 21.5 (beta27) "fiddleheads" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr08.lnh.mail.rcn.net) Subject: Re: Starting a service on boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 23:29:21 -0000 Derek Ragona writes: > In most cases you want the service to write the PID to a file in > /var/log so only one instance is started. Ins't the canonical location for this "/var/run"? Robert Huff From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 23:42:36 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7287E16A403 for ; Mon, 5 Mar 2007 23:42:36 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.freebsd.org (Postfix) with ESMTP id 4A18713C4AA for ; Mon, 5 Mar 2007 23:42:36 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from [216.218.220.25] (216-218-220-25.argonblue.net [216.218.220.25] (may be forged)) (authenticated bits=0) by typhoon.enabled.com (8.14.0/8.14.0) with ESMTP id l25Ngj23039084 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 5 Mar 2007 15:42:45 -0800 (PST) (envelope-from admin2@enabled.com) Message-ID: <45ECAAE3.5030002@enabled.com> Date: Mon, 05 Mar 2007 15:42:27 -0800 From: Noah User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: User Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: /libexec/ld-elf.so.1: ssh: Undefined symbol "ssh_get_progname" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 23:42:36 -0000 Hi there, any clues on how to recover from this? I am attempting to backup to this machine and now I cannot ssh from it to other machines. /libexec/ld-elf.so.1: ssh: Undefined symbol "ssh_get_progname" Cheers, Noah From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 00:28:00 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4151816A402 for ; Tue, 6 Mar 2007 00:28:00 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from mail.monochrome.org (b4.ebbed1.client.atlantech.net [209.190.235.180]) by mx1.freebsd.org (Postfix) with ESMTP id 0243D13C461 for ; Tue, 6 Mar 2007 00:27:59 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from tripel (tripel [192.168.1.11]) by mail.monochrome.org (8.13.6/8.13.6) with ESMTP id l260Rv5q029593; Mon, 5 Mar 2007 19:27:58 -0500 (EST) (envelope-from chris@monochrome.org) Date: Mon, 5 Mar 2007 19:27:49 -0500 (EST) From: Chris Hill To: Kirk Strauser In-Reply-To: <200703051512.43979.kirk@strauser.com> Message-ID: <20070305192451.Q30645@tripel.monochrome.org> References: <200703051512.43979.kirk@strauser.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Install with USB keyboard X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 00:28:00 -0000 On Mon, 5 Mar 2007, Kirk Strauser wrote: > On Sunday 04 March 2007 23:53, John Costanzo wrote: > >> That did not work. Please I would really like to use FreeBSD and I do >> not have a PS/2 port to help. Thanks > > For the record, I just installed 6.2 onto a USB-only server using a > USB keyboard. I can't give any advice for your exact situation, but > wanted to say that it really is possible, at least on certain > hardware. A resounding "me too" here. I recently installed 6.2 using a USB keyboard. It worked just fine during install, as well as afterwards during normal operation. This was on a Dell Dementia 150. > Oh, is there any way to ask your BIOS to make USB keyboards and mice > show up as PS2? Sorry, don't know. -- Chris Hill chris@monochrome.org ** [ Busy Expunging <|> ] From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 00:35:08 2007 Return-Path: X-Original-To: freebsd-questions@FreeBSD.ORG Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8BA6616A401 for ; Tue, 6 Mar 2007 00:35:08 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id 2667813C467 for ; Tue, 6 Mar 2007 00:35:08 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id l260Z6YT012593 for ; Mon, 5 Mar 2007 16:35:07 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id l260Z6X0012592 for freebsd-questions@FreeBSD.ORG; Mon, 5 Mar 2007 16:35:06 -0800 (PST) (envelope-from kline) Date: Mon, 5 Mar 2007 16:35:06 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20070306003506.GA12553@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing twenty years of service to the Unix community Cc: Subject: awk 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: Tue, 06 Mar 2007 00:35:08 -0000 Guys, Having found $9 , how do I /bin/rm it (using system()--yes??) in an awk one-liner? I'm trying to remove from packages from long ago and find and print them with ls -lt | awk '{if ($8 == 2006) print $9}'; but what I want to remove the file pointed at by $9. I've tried FILE=ARGV[9]; and using FILE within my system() call, but no-joy. What's the magic here? thanks in advance, gary -- Gary Kline kline@thought.org www.thought.org Public Service Unix From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 00:42:11 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 47CBA16A401 for ; Tue, 6 Mar 2007 00:42:11 +0000 (UTC) (envelope-from bill@ayn.mi.celestial.com) Received: from ayn.mi.celestial.com (hayek.celestial.com [192.136.111.12]) by mx1.freebsd.org (Postfix) with ESMTP id 2A5D713C491 for ; Tue, 6 Mar 2007 00:42:11 +0000 (UTC) (envelope-from bill@ayn.mi.celestial.com) Received: from localhost (localhost [127.0.0.1]) by ayn.mi.celestial.com (Postfix) with ESMTP id 871E968942EA7; Mon, 5 Mar 2007 16:42:34 -0800 (PST) X-Virus-Scanned: amavisd-new at mi.celestial.com Received: from ayn.mi.celestial.com ([127.0.0.1]) by localhost (ayn.mi.celestial.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ILzXWwKBVsbQ; Mon, 5 Mar 2007 16:42:34 -0800 (PST) Received: by ayn.mi.celestial.com (Postfix, from userid 203) id 62F24685FFE9F; Mon, 5 Mar 2007 16:42:34 -0800 (PST) Date: Mon, 5 Mar 2007 16:42:34 -0800 From: Bill Campbell To: freebsd-questions@freebsd.org Message-ID: <20070306004234.GA15353@ayn.mi.celestial.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <20070306003506.GA12553@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070306003506.GA12553@thought.org> User-Agent: Mutt/1.5.11 OpenPKG/2.5 Subject: Re: awk question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@celestial.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 00:42:11 -0000 On Mon, Mar 05, 2007, Gary Kline wrote: > > Guys, > > Having found $9 , how do I /bin/rm it (using system()--yes??) > in an awk one-liner? > > I'm trying to remove from packages from long ago and find and > print them with > > ls -lt | awk '{if ($8 == 2006) print $9}'; > > but what I want to remove the file pointed at by $9. I've tried > FILE=ARGV[9]; and using FILE within my system() call, but no-joy. > What's the magic here? A better way to do this might be to use find and xargs. The command below would remove all files under the current directory that haven't been modified in the 360 days. find . -type f -mtime +360 -print0 | xargs -0 rm If you don't want it to go into subdirectories: find . -maxdepth 1 -type f -mtime +360 -print0 | xargs -0 rm Bill -- INTERNET: bill@Celestial.COM Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 ``Anyone who thinks Microsoft never does anything truly innovative isn't paying attention to the part of the company that pushes the state of its art: Microsoft's legal department.'' --Ed Foster, InfoWorld Gripe Line columnist From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 00:46:36 2007 Return-Path: X-Original-To: freebsd-questions@FreeBSD.ORG Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 182F716A401 for ; Tue, 6 Mar 2007 00:46:36 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out4.apple.com (mail-out4.apple.com [17.254.13.23]) by mx1.freebsd.org (Postfix) with ESMTP id 01B3513C461 for ; Tue, 6 Mar 2007 00:46:35 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay7.apple.com (a17-128-113-37.apple.com [17.128.113.37]) by mail-out4.apple.com (8.13.8/8.13.8) with ESMTP id l260kZPM022836; Mon, 5 Mar 2007 16:46:35 -0800 (PST) Received: from relay7.apple.com (unknown [127.0.0.1]) by relay7.apple.com (Symantec Mail Security) with ESMTP id BF41530081; Mon, 5 Mar 2007 16:46:35 -0800 (PST) X-AuditID: 11807125-a247bbb0000007df-c2-45ecb9eb8921 Received: from [17.214.13.96] (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay7.apple.com (Apple SCV relay) with ESMTP id A4CC63000D; Mon, 5 Mar 2007 16:46:35 -0800 (PST) In-Reply-To: <20070306003506.GA12553@thought.org> References: <20070306003506.GA12553@thought.org> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <880C4678-6B40-44C7-A643-4F2FD9F35DBC@mac.com> Content-Transfer-Encoding: 7bit From: Chuck Swiger Date: Mon, 5 Mar 2007 16:46:35 -0800 To: Gary Kline X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== Cc: FreeBSD Mailing List Subject: Re: awk 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: Tue, 06 Mar 2007 00:46:36 -0000 On Mar 5, 2007, at 4:35 PM, Gary Kline wrote: > Having found $9 , how do I /bin/rm it (using system()--yes??) > in an awk one-liner? I gather that you are looking under /var/db/pkg...? > I'm trying to remove from packages from long ago and find and > print them with > > ls -lt | awk '{if ($8 == 2006) print $9}'; > > but what I want to remove the file pointed at by $9. I've tried > FILE=ARGV[9]; and using FILE within my system() call, but no-joy. > What's the magic here? You could pipe the output of awk through "| xargs rm -rf"...but be careful. Putting it through "pkg_delete (-f)" might be safer. -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 00:55:18 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2D73216A400 for ; Tue, 6 Mar 2007 00:55:18 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 1E02D13C4AA for ; Tue, 6 Mar 2007 00:55:18 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 060B41A4D83; Mon, 5 Mar 2007 16:55:18 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 31BC851894; Mon, 5 Mar 2007 19:55:17 -0500 (EST) Date: Mon, 5 Mar 2007 19:55:16 -0500 From: Kris Kennaway To: Huy Ton That Message-ID: <20070306005516.GA22286@xor.obsecurity.org> References: <1cac28080703050533o5438f1eai2d55f94898dc37e8@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1cac28080703050533o5438f1eai2d55f94898dc37e8@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Restore /libexec/ld-elf.so.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 00:55:18 -0000 On Mon, Mar 05, 2007 at 08:33:33AM -0500, Huy Ton That wrote: > I renamed this file and now I cannot boot up anymore... How can I restore > this file? Help See the archives, I answered this question a few days ago > _______________________________________________ > 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 Mar 6 00:58:22 2007 Return-Path: X-Original-To: freebsd-questions@FreeBSD.ORG Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3828916A401 for ; Tue, 6 Mar 2007 00:58:22 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id D209313C441 for ; Tue, 6 Mar 2007 00:58:21 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id l260wKvG012746; Mon, 5 Mar 2007 16:58:21 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id l260wKiH012738; Mon, 5 Mar 2007 16:58:20 -0800 (PST) (envelope-from kline) Date: Mon, 5 Mar 2007 16:58:20 -0800 From: Gary Kline To: Chuck Swiger Message-ID: <20070306005820.GC12600@thought.org> References: <20070306003506.GA12553@thought.org> <880C4678-6B40-44C7-A643-4F2FD9F35DBC@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <880C4678-6B40-44C7-A643-4F2FD9F35DBC@mac.com> User-Agent: Mutt/1.4.2.2i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing twenty years of service to the Unix community Cc: Gary Kline , FreeBSD Mailing List Subject: Re: awk 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: Tue, 06 Mar 2007 00:58:22 -0000 On Mon, Mar 05, 2007 at 04:46:35PM -0800, Chuck Swiger wrote: > On Mar 5, 2007, at 4:35 PM, Gary Kline wrote: > > Having found $9 , how do I /bin/rm it (using system()--yes??) > > in an awk one-liner? > > I gather that you are looking under /var/db/pkg...? > > >I'm trying to remove from packages from long ago and find and > > print them with > > > > ls -lt | awk '{if ($8 == 2006) print $9}'; > > > > but what I want to remove the file pointed at by $9. I've tried > > FILE=ARGV[9]; and using FILE within my system() call, but no-joy. > > What's the magic here? > > You could pipe the output of awk through "| xargs rm -rf"...but be > careful. > Putting it through "pkg_delete (-f)" might be safer. > Bill and Chuck: These are a slew of packages from 2006. (Obv'ly in /usr/ports/packages. I plumb fergot about xargs (again); just rarely use it. ls -lt | awk Foo catches those that are almost certainly invalid, from '06) but the find -mtime [days] is another way. Like they say about perl, there's always more than one way... When you've got Unix, you've got power at your fingertips. thanks, gents, gary > -- > -Chuck > -- Gary Kline kline@thought.org www.thought.org Public Service Unix From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 01:40:55 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 55CBB16A400 for ; Tue, 6 Mar 2007 01:40:55 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id 2ED5013C428 for ; Tue, 6 Mar 2007 01:40:55 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from gumby.homeunix.com (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id CD3AF51937; Mon, 5 Mar 2007 20:40:53 -0500 (EST) Date: Tue, 6 Mar 2007 01:40:51 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20070306014051.0261645d@gumby.homeunix.com> In-Reply-To: <006c01c75f78$08097420$181c5c60$@Sparrevohn@btinternet.com> References: <20070228183733.4f6ddfe7@gumby.homeunix.com> <20070305212122.672136df@gumby.homeunix.com> <006c01c75f78$08097420$181c5c60$@Sparrevohn@btinternet.com> X-Mailer: Claws Mail 2.8.0 (GTK+ 2.10.9; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Thomas.Sparrevohn@btinternet.com Subject: Re: compiling ports with more than one job X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 01:40:55 -0000 On Mon, 5 Mar 2007 22:45:53 -0000 "Thomas Sparrevohn" wrote: > There really two answers possible here - > > 1) Let's call it one depth e.g. make -j - Which works with some not > all ports - Nice when it works and I guess ports/Mk could hold a flag > 2) Let's call it width - e.g. the ability to compile packages at the > same time given that all dependencies has been resolved > 3) combination of 1 and 2 > > In practical terms option 2 is much more attractive as it is possible > to determine that just from the INDEX file and the installed ports. You would probably have to do it like portmanger does, the INDEX file isn't accurate. > However due to the way compilation options are treated e.g. I am not > sure that it is completely safe - I will require some locking > during the make (de/re)install phase but possible to handle - It > would still cut portupgrade significantly It couldn't be done easily in the ports system itself, a new tool would be needed. However I think it can be done without any locking at all. The way I would do it is have a single master process that works through the packages in dependency order. For each package it does a "make configure"and then spawns off the build in a separate process. Once N builds are in progress, the master process sits there waiting for processes to complete, serializes the installs and kicks off new build processes. The beauty of this is that anything in the least bit critical is done in the single master process, but most of the work is done in the build processes, so the master wont be a bottleneck. There's a bit more to it, for example there would have to be special handling for packages that appear to have missing dependencies, consequently a different logic would be needed for new installs. > With 15-16000+ ports I think that 1 and 3 are unpractical - however I don't think it is, it could be handled the way amd64 ports are/were handled, by asking people to try them and report back. From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 02:14:53 2007 Return-Path: X-Original-To: freebsd-questions@FreeBSD.ORG Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7471A16A400 for ; Tue, 6 Mar 2007 02:14:53 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id 25B5B13C46B for ; Tue, 6 Mar 2007 02:14:53 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id l262Epbk013509 for ; Mon, 5 Mar 2007 18:14:52 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id l262Ep05013508 for freebsd-questions@FreeBSD.ORG; Mon, 5 Mar 2007 18:14:51 -0800 (PST) (envelope-from kline) Date: Mon, 5 Mar 2007 18:14:51 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20070306021451.GA13455@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing twenty years of service to the Unix community Cc: Subject: Sun, Java stuff... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 02:14:53 -0000 Unless I was dreaming, I seem to recall that Sun Micro was dropping its claims to things-Java a few weeks ago. If true, why it it still so difficult to find the ports/packages/binaries for the Java suites we've got? I had to google around to find the tzupdate zip file; what was in the diablojdk15 port didn't jibe with reality. wget failed, &c. I haven't seen anything on this list if it's been discussed. Anybody clue me in? or is this some sort of thing that has to be "**lawyered**" ...? gary -- Gary Kline kline@thought.org www.thought.org Public Service Unix From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 03:39:33 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9719316A401 for ; Tue, 6 Mar 2007 03:39:33 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id 39E3013C481 for ; Tue, 6 Mar 2007 03:39:33 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from localhost (unknown [200.46.204.182]) by hub.org (Postfix) with ESMTP id 169A585C8C2; Mon, 5 Mar 2007 23:39:27 -0400 (AST) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 70700-09; Mon, 5 Mar 2007 23:39:26 -0400 (AST) Received: from ganymede.hub.org (blk-89-241-126.eastlink.ca [24.89.241.126]) by hub.org (Postfix) with ESMTP id 8D5B185BC20; Mon, 5 Mar 2007 23:39:26 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 3E1CC5F5EA; Mon, 5 Mar 2007 23:39:38 -0400 (AST) Date: Mon, 05 Mar 2007 23:39:37 -0400 From: "Marc G. Fournier" To: Chris Slothouber , freebsd-questions@freebsd.org Message-ID: In-Reply-To: <45EC355F.1080008@hier7.com> References: <755cb9fc0703021022x11e32010pa50107bf5787139c@mail.gmail.com> <755cb9fc0703021131s197d4f4bpd0a1decbf3b7dc76@mail.gmail.com> <7.0.1.0.0.20070305100724.01a34dc8@totaldiver.net> <45EC355F.1080008@hier7.com> X-Mailer: Mulberry/4.0.7 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: Question about a specific ISP: Amen/Amenworld X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 03:39:33 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Depends on the host ... I've gone with two so far in Panama (Central America) where they are Windows/Linux shops, and the support I've had from both places were exemplary ... some of the staff picks it up very quickly, others you have to walk through a bit more, but in all cases, I've been most happy with the support I've received from a "non-FreeBS host" ... Our newer servers now have built in remote consoles, so my need for someone to play with the OS itself has significantly drop'd, except for the older servers ... for the newer ones, its mostly 'hardware related' ... - --On Monday, March 05, 2007 10:21:03 -0500 Chris Slothouber wrote: > Personally, I would never consider a vendor that does not at least have a > cursory knowledge of the platform I was using on a leased server. If they > are miles away, I want someone with a clue to be my eyes an ears in the event > of an emergency. > > I'd recommend going with a host who supports FreeBSD. > > Jeff Palmer wrote: >> At 02:31 PM 3/2/2007, Alexandre Vieira wrote: >>> Hello folks, >>> >>> I'm interested in a dedicated server plan from a somewhat big company >>> called >>> Amenworld (www.amenworld.com) but the sales technician is telling me that >>> amen technicians can't install freebsd on the machines. After some >>> googling >>> I found that they are hosting some freebsd machines (if this counts for >>> anything). >>> >>> Is there anyone here that by any change is a client on this company >>> and runs >>> freebsd? >>> >>> Thanks in advance >>> Regards >>> -- >>> Alexandre Vieira - nullpt@gmail.com >> >> Alexandre, >> >> I know nothing about this company.. but just because a few boxes have >> FreeBSD doesn't mean they necessarily support it. It's possible to >> change from linux to FreeBSD on remote machine using utilities like: >> http://www.daemonology.net/depenguinator/ >> >> Hope that helps, >> >> Jeff >> >> P.S. Be warned, that utility re-images the disk, and can leave the >> machine in non-bootable state. Possibly forcing you to incur support >> fees from the ISP/Datacenter. >> >> _______________________________________________ >> 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" > > - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFF7OJ54QvfyHIvDvMRAnWgAKCZVnYnrnsOGzVn2CAOWA+mEZhv/ACgzUPG q+DrRJKQBt5LtTj6RvJkEkI= =MfJk -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 04:24:59 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A6A3D16A401 for ; Tue, 6 Mar 2007 04:24:59 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id 36D8613C481 for ; Tue, 6 Mar 2007 04:24:59 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from archangel.daleco.biz ([69.27.149.254]) by ezekiel.daleco.biz (8.13.4/8.13.1) with ESMTP id l263oXmV010773; Mon, 5 Mar 2007 21:50:37 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <45ECE4FD.4060902@daleco.biz> Date: Mon, 05 Mar 2007 21:50:21 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2pre) Gecko/20070221 SeaMonkey/1.1 MIME-Version: 1.0 To: Giorgos Keramidas References: <539c60b90703010849x33dd4bbbt8f6ca6aa0c8e83a0@mail.gmail.com> <45E70B8C.8010602@daleco.biz> <200703021127.42170.mario.lobo@ipad.com.br> <20070302162855.GA7250@kobe.laptop> In-Reply-To: <20070302162855.GA7250@kobe.laptop> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Mario Lobo , FreeBSD Subject: Re: defrag X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 04:24:59 -0000 Giorgos Keramidas wrote: > On 2007-03-02 11:27, Mario Lobo wrote: >> On Thursday 01 March 2007 17:27, Pietro Cerutti wrote: >>> On 3/1/07, Kevin Kinsey wrote: >>>> Kevin Kinsey wrote: >>>> >>>> groff /usr/share/doc/smm/05.fastfs/* > ~/ffs.ps >> This is what worked for me: >> >> [~]>gunzip -c /usr/share/doc/smm/05.fastfs/paper.ascii.gz > paper.ascii >> [~]>groff paper.ascii > ffs.ps >> [~]>ps2pdf ffs.ps >> [~]>acroread ffs.pdf > > Actually 'paper.ascii' is a plain ASCII file with some 'escape > sequences' -- like literal backspace and repeated characters, to denote > *bold* text. It's not valid groff input AFAIK, but you can strip off > the special characters with: > > gunzip -c /usr/share/doc/smm/05.fastfs/paper.ascii.gz > 05.fastfs.ascii > col -b < 05.fastfs.ascii > 05.fastfs.txt && rm 05.fastfs.ascii > > Then you have a plain text version of 05.fastfs.txt, which can be > converted to PS and/or PDF with tools like a2ps or enscript :) > As *you* know, but maybe some others don't, I'm a (relative) newb and was clueless about these "old papers"; I believe I came across my hackage by, err, hacking? It worked, but not nearly so prettily ;-) Oh, and I tried *piping* to `col -bx`, but no joy. Thanks for the __real__ magic! KDK -- There is one difference between a tax collector and a taxidermist -- the taxidermist leaves the hide. -- Mortimer Caplan From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 04:52:50 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7C24916A402 for ; Tue, 6 Mar 2007 04:52:50 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id 1962F13C474 for ; Tue, 6 Mar 2007 04:52:39 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan@localhost [127.0.0.1]) by dan.emsphone.com (8.14.0/8.13.8) with ESMTP id l264qMxe051772 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 5 Mar 2007 22:52:22 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.0/8.14.0/Submit) id l264qLMd051769; Mon, 5 Mar 2007 22:52:21 -0600 (CST) (envelope-from dan) Date: Mon, 5 Mar 2007 22:52:21 -0600 From: Dan Nelson To: Gary Kline Message-ID: <20070306045221.GD86959@dan.emsphone.com> References: <20070306021451.GA13455@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070306021451.GA13455@thought.org> X-OS: FreeBSD 6.2-STABLE User-Agent: Mutt/1.5.14 (2007-02-12) Cc: FreeBSD Mailing List Subject: Re: Sun, Java stuff... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 04:52:50 -0000 In the last episode (Mar 05), Gary Kline said: > Unless I was dreaming, I seem to recall that Sun Micro was dropping > its claims to things-Java a few weeks ago. If true, why it it still > so difficult to find the ports/packages/binaries for the Java suites > we've got? I had to google around to find the tzupdate zip file; > what was in the diablojdk15 port didn't jibe with reality. wget > failed, &c. You were probably dreaming about Sun "dropping its claims" to Java; there's no reason they would do that. They did announce in November that they "will release all unencumbered source-code modules of JDK 6 and JDK 7, along with full build scripts; a few encumbered modules will be released as binary plugins." ( http://www.sun.com/software/opensource/java/project_overview.jsp ) " Q: When will you finish open sourcing the JDK? What is the timeline? A: We expect to release a fully buildable JDK based almost completely on open-sourced code in the first half of 2007. " ( http://www.sun.com/software/opensource/java/faq.jsp ) As far at the timezone updates in the Diablo port, I had no problems downloading the tzupdater-1_0_1.zip file with /usr/bin/fetch. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 05:45:14 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BD34C16A400 for ; Tue, 6 Mar 2007 05:45:14 +0000 (UTC) (envelope-from coolzone@io.dk) Received: from dansknet.dk (smtp1.dansknet.dk [85.233.229.242]) by mx1.freebsd.org (Postfix) with SMTP id 1D18C13C491 for ; Tue, 6 Mar 2007 05:45:13 +0000 (UTC) (envelope-from coolzone@io.dk) Received: (qmail 12048 invoked from network); 6 Mar 2007 05:50:48 -0000 Received: from 85233228239.switch.dansknet.dk (HELO dansknet.dk) (85.233.228.239) by dansknet.dk with SMTP; 6 Mar 2007 05:50:48 -0000 Date: Tue, 6 Mar 2007 06:49:55 +0100 From: Rico Secada To: freebsd-questions@freebsd.org Message-Id: <20070306064955.27050077.coolzone@io.dk> X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.9; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Problems with arabic in Docbook X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 05:45:14 -0000 Hi I am currently working on a docbook project using FreeBSD and I need to incorporate some arabic words. When I convert using xmlto into a xhtml document the words show up together with the other languages perfectly, but when I convert into PDF using xsltproc, the arabic letters gets converted into hashes ###. To convert the document into PDF I do the following: xsltproc --output foo.fo --stringparam section.autolabel 1 --stringparam section.label.includes.component.label 1 --stringparam generate.toc "book toc" --stringparam fop.extensions 1 /usr/local/share/xsl/docbook/fo/docbook.xsl foo.xml Afterwards I do: fop foo.fo foo.pdf xmlto isn't working with PDF on FreeBSD and I get this error: /usr/local/share/xmlto/format/docbook/../fo/pdf: Can't open /usr/local/share/xmlto/format/docbook/../fo/pdf: No such file or directory Any sugestions? Best regards, Rico From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 05:59:23 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0137116A400 for ; Tue, 6 Mar 2007 05:59:23 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id 7379B13C481 for ; Tue, 6 Mar 2007 05:59:22 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id l265x4Dx051797; Mon, 5 Mar 2007 21:59:05 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id l265wvvT051753; Mon, 5 Mar 2007 21:58:57 -0800 (PST) (envelope-from kline) Date: Mon, 5 Mar 2007 21:58:51 -0800 From: Gary Kline To: Dan Nelson Message-ID: <20070306055851.GA42078@thought.org> References: <20070306021451.GA13455@thought.org> <20070306045221.GD86959@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070306045221.GD86959@dan.emsphone.com> User-Agent: Mutt/1.4.2.2i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing twenty years of service to the Unix community Cc: Gary Kline , FreeBSD Mailing List Subject: Re: Sun, Java stuff... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 05:59:23 -0000 On Mon, Mar 05, 2007 at 10:52:21PM -0600, Dan Nelson wrote: > In the last episode (Mar 05), Gary Kline said: > > Unless I was dreaming, I seem to recall that Sun Micro was dropping > > its claims to things-Java a few weeks ago. If true, why it it still > > so difficult to find the ports/packages/binaries for the Java suites > > we've got? I had to google around to find the tzupdate zip file; > > what was in the diablojdk15 port didn't jibe with reality. wget > > failed, &c. > > You were probably dreaming about Sun "dropping its claims" to Java; > there's no reason they would do that. They did announce in November > that they "will release all unencumbered source-code modules of JDK 6 > and JDK 7, along with full build scripts; a few encumbered modules will > be released as binary plugins." Okay, I should said that I understood that Java was going to be made "more open." I'd like to see things-Java wipe out the flash and shockwave plugins. > > ( http://www.sun.com/software/opensource/java/project_overview.jsp ) > > " Q: When will you finish open sourcing the JDK? What is the timeline? > A: We expect to release a fully buildable JDK based almost completely > on open-sourced code in the first half of 2007. " > > ( http://www.sun.com/software/opensource/java/faq.jsp ) Thanks for the URL; I'll check it out. Four months to go. > > > As far at the timezone updates in the Diablo port, I had no problems > downloading the tzupdater-1_0_1.zip file with /usr/bin/fetch. > It wasn't on the ftp site listed in the port; I finally found the latest zip on my Sun acct. --At least it'll be useful on all four of my sites. > -- > Dan Nelson > dnelson@allantgroup.com > _______________________________________________ > 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 www.thought.org Public Service Unix From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 06:02:24 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 69A4C16A403 for ; Tue, 6 Mar 2007 06:02:24 +0000 (UTC) (envelope-from david.robillard@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.228]) by mx1.freebsd.org (Postfix) with ESMTP id 14A8A13C47E for ; Tue, 6 Mar 2007 06:02:23 +0000 (UTC) (envelope-from david.robillard@gmail.com) Received: by nz-out-0506.google.com with SMTP id r28so2096475nza for ; Mon, 05 Mar 2007 22:02:23 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CO20K6uXlVhwHqTHURrGxt64S/GEZXcbqcMVd8K0JE6UIhNozSge049JzWz1evPuMoNi67wvxMdSP4nLIXfLuKak7C7EjJCoX3eZmMOGqK4IpeS1tfWzzwVtiEXxVB3+qaMZVK7ibx3WlaX4SmFHJhvkhOXdBO9TaWTatW9B4G0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=V0EwBmNqGfmUGaB1ImYQGL1TAtxIdoIcuLSSHZjG2SZEpsM6Gozv3hGx0zQTZnoTVxIHwBgP8cmL1PPTi58ebtIg15smHd2Lj/95BH3PsgycZ5rUtHjMW3oXUfDVVyXEaJI8CBtwWMZfzhv02qn2+thYOqOuxObFPQrdj1gHuwQ= Received: by 10.65.224.11 with SMTP id b11mr1882288qbr.1173160943193; Mon, 05 Mar 2007 22:02:23 -0800 (PST) Received: by 10.64.210.7 with HTTP; Mon, 5 Mar 2007 22:02:23 -0800 (PST) Message-ID: <226ae0c60703052202i6853d9a5t263021bc07231d84@mail.gmail.com> Date: Tue, 6 Mar 2007 01:02:23 -0500 From: "David Robillard" To: peter@placidpublishing.net In-Reply-To: <45ECA718.5090908@placidpublishing.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <226ae0c60703051056ofb18dffu1ea0b9d48297b0bf@mail.gmail.com> <45EC6BF3.9090606@placidpublishing.net> <226ae0c60703051152h183fca79k470d2b064d871ccf@mail.gmail.com> <45ECA718.5090908@placidpublishing.net> Cc: freebsd-questions@freebsd.org Subject: Re: Apache Rotate Logs and Log Rotate. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 06:02:24 -0000 On 3/5/07, Peter Pluta wrote: > Gotcha, do you use a script to compress the logs after the SIGUSR1 and > after waiting for a bit for apache to clear it's logging buffer (to not > have missing logs)? No I don't. I don't even see why one would want to do this? Newsyslog deletes extra logs. So if our disk space is enough to hold the amount of logs we require (see math below), then there's no need to compress any Apache logs at all. Right!?!! If we come back to my example of 100 VirtualHost with log files of 2Mb each and we keep only 10 of them. Using USR1 as the kill signal, For an httpd children to miss any log entry would mean that this children writes more than 10 times 2Mb of logs in a very short period of time. Check your VirtualHost load and determine the average response time for each httpd children. If it's 2min (which is HUGE for an httpd children) That would mean that you'd need to have more than 20Mb of logs generated in less than 2min. In ASCII, that's a whole lot of logs. I'd say your best bet would be to switch your LogLevel from "debug" to "info" in your httpd.conf and restart Apache... ;) Or you run a really busy website. Or your web application code/architecture may need a revision. Have fun! David > > Well, if you do use newsyslog to rotate Apache log files, then it's > > just a matter of setting the number of files you whish to keep. From > > newsyslog.conf(5) > > > > count Specify the maximum number of archive files which may exist. > > This does not consider the current log file. > > > > Let's say you rotate your files once they reach 2Mb for example and > > that you've configured 10 in your newsyslog,conf field. Then > > that means a maximum of 10 x 2Mb = 20Mb will be kept for one > > VirtualHost. Now if you have 100 virtual hosts all configured this > > way, then you will need 100 x 20Mb = 2000Mb or 2Gb for all your Apache > > logs. > > > > Considering today's disk drive sizes are well beyond the 300Gb, I > > don't think this is a problem at all. > > > > Of course, YMMV so check your own needs and do the math. > > > > Cheers, > > > > David -- David Robillard UNIX systems administrator & Oracle DBA CISSP, RHCE & Sun Certified Security Administrator Montreal: +1 514 966 0122 From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 06:34:40 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8269916A402 for ; Tue, 6 Mar 2007 06:34:40 +0000 (UTC) (envelope-from peter@placidpublishing.net) Received: from mail.placidpublishing.net (placidpublishing.net [72.232.50.130]) by mx1.freebsd.org (Postfix) with ESMTP id 438C613C494 for ; Tue, 6 Mar 2007 06:34:39 +0000 (UTC) (envelope-from peter@placidpublishing.net) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.placidpublishing.net (Postfix) with ESMTP id D3BCA5082D; Tue, 6 Mar 2007 00:40:36 -0600 (CST) Received: from mail.placidpublishing.net ([127.0.0.1]) by localhost (mail.placidpublishing.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 50931-07; Tue, 6 Mar 2007 00:40:32 -0600 (CST) Received: from [192.168.1.20] (c-67-175-92-171.hsd1.il.comcast.net [67.175.92.171]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.placidpublishing.net (Postfix) with ESMTP id 40EDD5082B; Tue, 6 Mar 2007 00:40:32 -0600 (CST) Message-ID: <45ED0B7E.6050205@placidpublishing.net> Date: Tue, 06 Mar 2007 00:34:38 -0600 From: Peter Pluta Organization: Placid Publishing, LLC User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: David Robillard References: <226ae0c60703051056ofb18dffu1ea0b9d48297b0bf@mail.gmail.com> <45EC6BF3.9090606@placidpublishing.net> <226ae0c60703051152h183fca79k470d2b064d871ccf@mail.gmail.com> <45ECA718.5090908@placidpublishing.net> <226ae0c60703052202i6853d9a5t263021bc07231d84@mail.gmail.com> In-Reply-To: <226ae0c60703052202i6853d9a5t263021bc07231d84@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard Cc: freebsd-questions@freebsd.org Subject: Re: Apache Rotate Logs and Log Rotate. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: peter@placidpublishing.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 06:34:40 -0000 I made a cron entry to compress the logs. We keep them for 10 days. Each log on this server is 940mb for the access and 430mb for the error. This site is very busy and I like having logs for various reasons (dump users uploading illegal content is one reason). The memory buffer clears out in around 10 minutes because the new log started 10 minutes after the old ended. I added 30 6 * * bzip2 -1q /var/log/http-*.log.* to cron. I think this is a pretty good setup. Our log error level is set to info as well. The web application (php driven) is not spitting up that many errors. Most of them are missing images that were deleted and just broken old links. Thanks for all you're replies David. I really learned a lot and i know understand much more. I started carbon copying the emails to the mailing list in case anyone is interested in this as well. David Robillard wrote: > On 3/5/07, Peter Pluta wrote: >> Gotcha, do you use a script to compress the logs after the SIGUSR1 and >> after waiting for a bit for apache to clear it's logging buffer (to not >> have missing logs)? > > No I don't. I don't even see why one would want to do this? > > Newsyslog deletes extra logs. So if our disk space is enough to hold > the amount of logs we require (see math below), then there's no need > to compress any Apache logs at all. Right!?!! > > If we come back to my example of 100 VirtualHost with log files of 2Mb > each and we keep only 10 of them. Using USR1 as the kill signal, For > an httpd children to miss any log entry would mean that this children > writes more than 10 times 2Mb of logs in a very short period of time. > Check your VirtualHost load and determine the average response time > for each httpd children. If it's 2min (which is HUGE for an httpd > children) That would mean that you'd need to have more than 20Mb of > logs generated in less than 2min. In ASCII, that's a whole lot of > logs. I'd say your best bet would be to switch your LogLevel from > "debug" to "info" in your httpd.conf and restart Apache... ;) > > Or you run a really busy website. > Or your web application code/architecture may need a revision. > > Have fun! > > David > >> > Well, if you do use newsyslog to rotate Apache log files, then it's >> > just a matter of setting the number of files you whish to keep. From >> > newsyslog.conf(5) >> > >> > count Specify the maximum number of archive files which may exist. >> > This does not consider the current log file. >> > >> > Let's say you rotate your files once they reach 2Mb for example and >> > that you've configured 10 in your newsyslog,conf field. Then >> > that means a maximum of 10 x 2Mb = 20Mb will be kept for one >> > VirtualHost. Now if you have 100 virtual hosts all configured this >> > way, then you will need 100 x 20Mb = 2000Mb or 2Gb for all your Apache >> > logs. >> > >> > Considering today's disk drive sizes are well beyond the 300Gb, I >> > don't think this is a problem at all. >> > >> > Of course, YMMV so check your own needs and do the math. >> > >> > Cheers, >> > >> > David > From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 06:49:22 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 47A7616A401 for ; Tue, 6 Mar 2007 06:49:22 +0000 (UTC) (envelope-from lveax.m@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.226]) by mx1.freebsd.org (Postfix) with ESMTP id 0A30213C49D for ; Tue, 6 Mar 2007 06:49:21 +0000 (UTC) (envelope-from lveax.m@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so1707752wxc for ; Mon, 05 Mar 2007 22:49:21 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=hdT/DIDjduY0zTlLayl90uDgiwiTHkPocmYKG+k1hiU6Ut8ayteIjUWxtdmmi5Uddxo9hzGtEhaq3Zv66OHfRhz5tlUgfFAfW4VOynQa/E7JdiSjHlr/ldEXeZYgVkgpRHZgIYLDdYMn29lJvvBb/27OBQR7oULcE24qommZ0uc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=rDZ+WEoaxAOOdmomtPAHgr3XVMXYkT69CvnWYXeU9UesFeI9A+CgBofsQFhh/PaIqFrTnRdPtqHySBC7gKlsxebNhdtMdZWbCneCs4Zr+3PZJ+RBA0f9gacHq+CKVQ7+5mjwnJKbHa9udA3mi9CXzcQ00j/bxkiwStHch27O7Yw= Received: by 10.90.119.15 with SMTP id r15mr5507534agc.1173163761504; Mon, 05 Mar 2007 22:49:21 -0800 (PST) Received: by 10.90.90.5 with HTTP; Mon, 5 Mar 2007 22:49:21 -0800 (PST) Message-ID: <576dcbc20703052249s322a593dlcaddd226d3b33816@mail.gmail.com> Date: Tue, 6 Mar 2007 14:49:21 +0800 From: lveax To: freebsd-questions MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: can i set different moused_flags for tow mice? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 06:49:22 -0000 hi all i have tow usb mouse,one is in left,another is in right. i added moused_flags="-m 1=3 -m 3=1" to my /etc/rc.conf then i can use the left hand mouse. but it effected the tow mice. 391 ?? Ss 0:02.07 /usr/sbin/moused -m 1=3 -m 3=1 -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid 423 ?? Is 0:00.00 /usr/sbin/moused -m 1=3 -m 3=1 -p /dev/ums1 -t auto -I /var/run/moused.ums1.pid how can i set the moused_flags that only effect the left mouse? thank you From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 07:31:57 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C8B0F16A567 for ; Tue, 6 Mar 2007 07:31:57 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id 7D60D13C441 for ; Tue, 6 Mar 2007 07:31:47 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan@localhost [127.0.0.1]) by dan.emsphone.com (8.14.0/8.13.8) with ESMTP id l267VfKT091121 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 6 Mar 2007 01:31:41 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.0/8.14.0/Submit) id l267Vfau091120; Tue, 6 Mar 2007 01:31:41 -0600 (CST) (envelope-from dan) Date: Tue, 6 Mar 2007 01:31:41 -0600 From: Dan Nelson To: lveax Message-ID: <20070306073141.GF86959@dan.emsphone.com> References: <576dcbc20703052249s322a593dlcaddd226d3b33816@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <576dcbc20703052249s322a593dlcaddd226d3b33816@mail.gmail.com> X-OS: FreeBSD 6.2-STABLE User-Agent: Mutt/1.5.14 (2007-02-12) Cc: freebsd-questions Subject: Re: can i set different moused_flags for tow mice? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 07:31:58 -0000 In the last episode (Mar 06), lveax said: > hi all > > i have tow usb mouse,one is in left,another is in right. > > i added > moused_flags="-m 1=3 -m 3=1" > > to my /etc/rc.conf then i can use the left hand mouse. > but it effected the tow mice. > > 391 ?? Ss 0:02.07 /usr/sbin/moused -m 1=3 -m 3=1 -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid > 423 ?? Is 0:00.00 /usr/sbin/moused -m 1=3 -m 3=1 -p /dev/ums1 -t auto -I /var/run/moused.ums1.pid > > how can i set the moused_flags that only effect the left mouse? I'm guessing here since it's not clearly documented, but it looks like you can do this: moused_ums0_flags="-m 1=3 -m 3=1" moused_ums1_flags="" to give moused different flags depending on which device it's controlling ( for usb mice, moused is launched via devd, and you can see in /etc/devd.conf it passes the devicename to /etc/rc.d/moused , which then reads the appropriate rc.conf entries ). -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 07:47:25 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DF1BB16A401 for ; Tue, 6 Mar 2007 07:47:25 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from wmail.teledomenet.gr (wmail.teledomenet.gr [213.142.128.16]) by mx1.freebsd.org (Postfix) with ESMTP id 99F1813C491 for ; Tue, 6 Mar 2007 07:47:25 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from iris (unknown [192.168.1.71]) by wmail.teledomenet.gr (Postfix) with ESMTP id 09A121C88C4; Tue, 6 Mar 2007 09:25:22 +0200 (EET) From: Nikos Vassiliadis To: freebsd-questions@freebsd.org Date: Tue, 6 Mar 2007 09:48:53 +0200 User-Agent: KMail/1.9.1 References: <0C398216960631429151B4A4B6B1FC03038CCAB0@fra-ex-01.adprod.bmc.com> In-Reply-To: <0C398216960631429151B4A4B6B1FC03038CCAB0@fra-ex-01.adprod.bmc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703060948.53818.nvass@teledomenet.gr> Cc: "Michel, Dietmar" Subject: Re: RAID5 degraded - system hangs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 07:47:26 -0000 On Monday 05 March 2007 17:22, Michel, Dietmar wrote: [snip] > Now I made an upgrade using 4 SATA II disks connected to a promise TX4310 Raid controller. This must be a software RAID controller. It uses software in your OS to do the several RAID levels. The controller simply "acts" as a RAID controller and then passes the real job to the OS. > > Defining a RAID5 a bios level, starting the server and building up the Raid at OS level: > And now I have a functional Raid named ar0. No you probably don't have a functional RAID5 setup. Please read the ataraid manual page. It says that RAID5 is not supported. [snip] > Any hints? You can use other RAID levels that are supported for your controller. You can also use gmirror or graid3. HTH, Nikos From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 07:49:51 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5359A16A401 for ; Tue, 6 Mar 2007 07:49:51 +0000 (UTC) (envelope-from Dietmar_Michel@bmc.com) Received: from creeper.bmc.com (sky.bmc.com [198.207.223.240]) by mx1.freebsd.org (Postfix) with ESMTP id 21C8C13C4A8 for ; Tue, 6 Mar 2007 07:49:50 +0000 (UTC) (envelope-from Dietmar_Michel@bmc.com) Received: from svl-ec-01.adprod.bmc.com (svl-ec-01.adprod.bmc.com [172.20.5.28]) by creeper.bmc.com (Postfix) with ESMTP id 4CC1B1300EE; Tue, 6 Mar 2007 01:49:50 -0600 (CST) Received: from fra-ex-01.adprod.bmc.com ([137.72.8.5]) by svl-ec-01.adprod.bmc.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 5 Mar 2007 23:49:50 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Tue, 6 Mar 2007 08:49:47 +0100 Message-ID: <0C398216960631429151B4A4B6B1FC03038CCAB4@fra-ex-01.adprod.bmc.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: RAID5 degraded - system hangs Thread-Index: AcdfeLet6z5LrejRRrOKvzMZsoBNpQASpLah References: <0C398216960631429151B4A4B6B1FC03038CCAB0@fra-ex-01.adprod.bmc.com> <6.0.0.22.2.20070305164542.025808f8@mail.computinginnovations.com> From: "Michel, Dietmar" To: "Derek Ragona" , X-OriginalArrivalTime: 06 Mar 2007 07:49:50.0183 (UTC) FILETIME=[04C88F70:01C75FC4] Cc: Subject: RE: RAID5 degraded - system hangs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 07:49:51 -0000 Hi Derek, =20 at least your comment to SATA hot swap is right. But disk failure are during work anyway. So at least after rebooting and = replacing the disk (I reconnected the disk offline and powered on again) = I had to had a chance to rebuild the array. But as described I get no prompt in any boot option. =20 Dietmar ________________________________ From: Derek Ragona [mailto:derek@computinginnovations.com] Sent: Mon 3/5/2007 11:50 PM To: Michel, Dietmar; freebsd-questions@freebsd.org Subject: Re: RAID5 degraded - system hangs I'm no expert, but have experienced a few RAID issues. First, RAID 5 = will become degraded and will try to rebuild upon a drive failure, once = the failed drive is replaces. In Mirrored RAID, RAID 1, or RAID 10, the = system will continue to function on the good drive but will alert the = administrator of the drive failure. One last thing, SATA RAID drives, while they are often said to be = hot-swapable, most manufacturer's recommend power-off then swap drives. = With SCSI hot swapable drives they can be swapped with power still on. -Derek At 09:22 AM 3/5/2007, Michel, Dietmar wrote: Hi Guys, =09 =20 =09 I=B4m using an older Server with FreeBSD 6.2 als Fileserver in my home = office. =09 Now I made an upgrade using 4 SATA II disks connected to a promise = TX4310 Raid controller. =09 Defining a RAID5 a bios level, starting the server and building up the = Raid at OS level: =09 # atacontrol create RAID5 32 ad4 ad6 ad8 ad10 =09 # bsdlable ... =09 # newfs ... =09 =20 =09 And now I have a functional Raid named ar0. =09 =20 =09 At boot time the bios told me that even at this level the raid in = initializing - world seemed to be ok. =09 =20 =09 Now I tried to prove Raid function and disconnect one disk. =09 Theoretical data is covered by the rest of 3 ... but after I get the = system message that one disk has been disconnected the maschine stopps = working. =09 Told me: ar0 raid 5 degarded after a fw minutes no input is possibble.=20 =09 =20 =09 =20 =09 Even after reboot=20 =09 .... =09 ar0: disk0 Ready ar0: disk1 Ready ar0: disk2 Ready ar0: disk3 down no device found =09 ... end of work =09 =20 =09 No single user mode or other starting option seemed to work. =09 I have no chance to rebuild the raid via atacontrol. =09 =20 =09 Any hints? =09 Raid without reliability doesn=B4t make sense! =09 =09 =09 Regards =09 =20 =09 Dietmar=20 =09 _______________________________________________ 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" =09 --=20 This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. --=20 This message has been scanned for viruses and=20 dangerous content by MailScanner , and is = believed to be clean.=20 MailScanner thanks transtec Computers for = their support.=20 From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 07:54:41 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4DA1216A400 for ; Tue, 6 Mar 2007 07:54:41 +0000 (UTC) (envelope-from grog@lemis.com) Received: from ext-gw.lemis.com (ext-gw.lemis.com [150.101.14.10]) by mx1.freebsd.org (Postfix) with ESMTP id E4E4913C474 for ; Tue, 6 Mar 2007 07:54:40 +0000 (UTC) (envelope-from grog@lemis.com) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.135]) by ext-gw.lemis.com (Postfix) with ESMTP id CDE2E133CC1; Tue, 6 Mar 2007 18:24:39 +1030 (CST) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id BB4281A9C91; Tue, 6 Mar 2007 18:24:39 +1030 (CST) Date: Tue, 6 Mar 2007 18:24:39 +1030 From: Greg 'groggy' Lehey To: Drew Jenkins Message-ID: <20070306075439.GB68567@wantadilla.lemis.com> References: <982642.10343.qm@web62209.mail.re1.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JYK4vJDZwFMowpUq" Content-Disposition: inline In-Reply-To: <982642.10343.qm@web62209.mail.re1.yahoo.com> User-Agent: Mutt/1.4.2.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 VoIP: sip:0871270137@sip.internode.on.net WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Cc: freebsd-questions@freebsd.org Subject: Re: MySQL Startup Script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 07:54:41 -0000 --JYK4vJDZwFMowpUq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline [Format recovered--see http://www.lemis.com/email/email-format.html] Single line message. [Moving to -questions; this isn't really a ports issue] On Monday, 5 March 2007 at 23:28:53 -0800, Drew Jenkins wrote: > I built MySQL 5.1 from port on FBSD 6.2. But it doesn't start up on > boot. There's a mysql-server script in /usr/local/etc/rc.d/ but if I > try and fire that up from the command line it doesn't start. What do > I need to do? You could start by saying how you invoked the script and what happened when you tried. You should see: # /usr/local/etc/rc.d/mysql-server start Starting mysql. Greg -- When replying to this message, please take care not to mutilate the original text. For more information, see http://www.lemis.com/email.html See complete headers for address and phone numbers. --JYK4vJDZwFMowpUq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFF7R4/IubykFB6QiMRAseaAJ44xk8kbfSBKsvIuvb+kcRqb2s0SACfVepM 5nsnNMLh3y2rA7kwtjGtvCI= =aJ0z -----END PGP SIGNATURE----- --JYK4vJDZwFMowpUq-- From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 08:16:48 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6D38F16A402 for ; Tue, 6 Mar 2007 08:16:48 +0000 (UTC) (envelope-from Dietmar_Michel@bmc.com) Received: from babbler.bmc.com (sky.bmc.com [198.207.223.240]) by mx1.freebsd.org (Postfix) with ESMTP id 49A1913C4A3 for ; Tue, 6 Mar 2007 08:16:48 +0000 (UTC) (envelope-from Dietmar_Michel@bmc.com) Received: from hou-ec-02.adprod.bmc.com (hou-ec-02.adprod.bmc.com [172.17.1.111]) by babbler.bmc.com (Postfix) with ESMTP id CD2C9130020; Tue, 6 Mar 2007 02:16:47 -0600 (CST) Received: from fra-ex-01.adprod.bmc.com ([137.72.8.5]) by hou-ec-02.adprod.bmc.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 6 Mar 2007 02:16:47 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Tue, 6 Mar 2007 09:16:45 +0100 Message-ID: <0C398216960631429151B4A4B6B1FC03038CCAB5@fra-ex-01.adprod.bmc.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: RAID5 degraded - system hangs Thread-Index: Acdfw7CgY1s4j/ArShiSKPVJ5RrOhQAAvSTj References: <0C398216960631429151B4A4B6B1FC03038CCAB0@fra-ex-01.adprod.bmc.com> <200703060948.53818.nvass@teledomenet.gr> From: "Michel, Dietmar" To: "Nikos Vassiliadis" , X-OriginalArrivalTime: 06 Mar 2007 08:16:47.0775 (UTC) FILETIME=[C8F182F0:01C75FC7] Cc: Subject: RE: RAID5 degraded - system hangs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 08:16:48 -0000 The Promise Tx4310 has to be a HW raid controller - hopefully ;-)) But to get full access you have to have drivers to support this = hardware. =20 In the ata man pages the controller (chip is PDC40719) is mentioned to = be supported. But not in the RAID5 mode - that=B4s my mistake. =20 I just was realy irritated for after buliding up and even after = rebooting without errors the device ar0 named itself RAID5 ... =20 Maybe I used parts of new code which isn=B4t finished at all .... =20 Thanxs=20 =20 Dietmar =20 ________________________________ From: Nikos Vassiliadis [mailto:nvass@teledomenet.gr] Sent: Tue 3/6/2007 8:48 AM To: freebsd-questions@freebsd.org Cc: Michel, Dietmar Subject: Re: RAID5 degraded - system hangs On Monday 05 March 2007 17:22, Michel, Dietmar wrote: [snip] > Now I made an upgrade using 4 SATA II disks connected to a promise = TX4310 Raid controller. This must be a software RAID controller. It uses software in your OS to do the several RAID levels. The controller simply "acts" as a RAID controller and then passes the real job to the OS. > > Defining a RAID5 a bios level, starting the server and building up the = Raid at OS level: > And now I have a functional Raid named ar0. No you probably don't have a functional RAID5 setup. Please read the ataraid manual page. It says that RAID5 is not supported. [snip] > Any hints? You can use other RAID levels that are supported for your controller. You can also use gmirror or graid3. HTH, Nikos From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 08:47:02 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1FC2016A402 for ; Tue, 6 Mar 2007 08:47:02 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id D9B1713C494 for ; Tue, 6 Mar 2007 08:46:51 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan@localhost [127.0.0.1]) by dan.emsphone.com (8.14.0/8.13.8) with ESMTP id l268kkD8045590 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 6 Mar 2007 02:46:46 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.0/8.14.0/Submit) id l268kjsP045589; Tue, 6 Mar 2007 02:46:45 -0600 (CST) (envelope-from dan) Date: Tue, 6 Mar 2007 02:46:45 -0600 From: Dan Nelson To: "Greg 'groggy' Lehey" Message-ID: <20070306084645.GG86959@dan.emsphone.com> References: <982642.10343.qm@web62209.mail.re1.yahoo.com> <20070306075439.GB68567@wantadilla.lemis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070306075439.GB68567@wantadilla.lemis.com> X-OS: FreeBSD 6.2-STABLE User-Agent: Mutt/1.5.14 (2007-02-12) Cc: Drew Jenkins , freebsd-questions@freebsd.org Subject: Re: MySQL Startup Script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 08:47:02 -0000 In the last episode (Mar 06), Greg 'groggy' Lehey said: > [Moving to -questions; this isn't really a ports issue] > > On Monday, 5 March 2007 at 23:28:53 -0800, Drew Jenkins wrote: > > I built MySQL 5.1 from port on FBSD 6.2. But it doesn't start up on > > boot. There's a mysql-server script in /usr/local/etc/rc.d/ but if > > I try and fire that up from the command line it doesn't start. What > > do I need to do? > > You could start by saying how you invoked the script and what happened > when you tried. You should see: > > # /usr/local/etc/rc.d/mysql-server start > Starting mysql. Also make sure you have mysql_enable="YES" in your rc.conf file, since it's an rc.subr-style startup script. See the mysql-server script itself for more options. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 09:04:51 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A106A16A402 for ; Tue, 6 Mar 2007 09:04:51 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from wmail.teledomenet.gr (wmail.teledomenet.gr [213.142.128.16]) by mx1.freebsd.org (Postfix) with ESMTP id 5948313C4A7 for ; Tue, 6 Mar 2007 09:04:51 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from iris (unknown [192.168.1.71]) by wmail.teledomenet.gr (Postfix) with ESMTP id A764B1C885A; Tue, 6 Mar 2007 10:42:47 +0200 (EET) From: Nikos Vassiliadis To: freebsd-questions@freebsd.org Date: Tue, 6 Mar 2007 11:06:20 +0200 User-Agent: KMail/1.9.1 References: <0C398216960631429151B4A4B6B1FC03038CCAB0@fra-ex-01.adprod.bmc.com> <200703060948.53818.nvass@teledomenet.gr> <0C398216960631429151B4A4B6B1FC03038CCAB5@fra-ex-01.adprod.bmc.com> In-Reply-To: <0C398216960631429151B4A4B6B1FC03038CCAB5@fra-ex-01.adprod.bmc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703061106.20427.nvass@teledomenet.gr> Cc: "Michel, Dietmar" Subject: Re: RAID5 degraded - system hangs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 09:04:51 -0000 On Tuesday 06 March 2007 10:16, Michel, Dietmar wrote: > The Promise Tx4310 has to be a HW raid controller - hopefully ;-)) Sorry, but it seems that's not the case... Supporting RAID levels 0, 1, 5 and 10, the FastTrak TX4310 incorporates Promise's innovative new software RAID 5 solution ... from here: http://www.promise.com/company/press/press_news1_eng.asp?press_id=130 From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 09:46:31 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C7A6716A400 for ; Tue, 6 Mar 2007 09:46:31 +0000 (UTC) (envelope-from vizion@vizion.occoxmail.com) Received: from dukecmmtao03.coxmail.com (dukecmmtao03.coxmail.com [68.99.120.70]) by mx1.freebsd.org (Postfix) with ESMTP id 5BC5E13C481 for ; Tue, 6 Mar 2007 09:46:31 +0000 (UTC) (envelope-from vizion@vizion.occoxmail.com) Received: from dukecmmtao03 ([172.18.22.60]) by dukecmmtao03.coxmail.com (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with SMTP id <20070306094631.WDWQ2045.dukecmmtao03.coxmail.com@dukecmmtao03> for ; Tue, 6 Mar 2007 04:46:31 -0500 X-Mailer: Openwave WebEngine, version 2.8.16 (webedge20-101-1106-20040809) From: Vizion Organization: vizion Communications To: Date: Tue, 6 Mar 2007 1:46:30 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20070306094631.WDWQ2045.dukecmmtao03.coxmail.com@dukecmmtao03> Subject: Re: apache2.2.4 - ssl module error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 09:46:31 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Vizion > Sent: Monday, March 05, 2007 9:52 AM > To: freebsd-questions@freebsd.org > Subject: apache2.2.4 - ssl module error > > Gi > > Extract from error.log > > httpd: Syntax error on line 85 after upgrade > > /usr/local/etc/apache22/httpd.conf: Cannot > load /usr/local/libexec/apache22/mod_ssl.so into server: /usr > /local/libexec/apache22/mod_ssl.so: Undefined symbol > "ap_get_server_banner" > Does anyone know how to fix this? > > Thanks in advance > > David > The problem was resolved by deinstall & clean plus a removal of the ports from the ports tree then a cvsup and a new build from scratch. It works fine now - so it appears the error occured during the upgrade as the older version was working fine before the upgrade. David From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 10:11:23 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D6C8516A406 for ; Tue, 6 Mar 2007 10:11:23 +0000 (UTC) (envelope-from jonathan@hst.org.za) Received: from sirian.hst.org.za (sirian.hst.org.za [209.203.2.130]) by mx1.freebsd.org (Postfix) with ESMTP id 5518D13C4A8 for ; Tue, 6 Mar 2007 10:11:22 +0000 (UTC) (envelope-from jonathan@hst.org.za) Received: from localhost (localhost.hst.org.za [127.0.0.1]) by sirian.hst.org.za (Postfix) with ESMTP id 0623131D915 for ; Tue, 6 Mar 2007 12:07:06 +0200 (SAST) Received: from sirian.hst.org.za ([127.0.0.1]) by localhost (sirian.hst.org.za [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 47201-09 for ; Tue, 6 Mar 2007 12:07:05 +0200 (SAST) Received: from sysadmin.int.dbn.hst.org.za (sysadmin.int.dbn.hst.org.za [10.1.1.20]) by sirian.hst.org.za (Postfix) with ESMTP id 64D9931D907 for ; Tue, 6 Mar 2007 12:07:05 +0200 (SAST) From: Jonathan McKeown Organization: Health Systems Trust To: freebsd-questions@freebsd.org Date: Tue, 6 Mar 2007 12:12:26 +0200 User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703061212.26382.jonathan@hst.org.za> X-Virus-Scanned: by amavisd-new at hst.org.za Subject: Portupgrade moved: use --origin to upgrade it? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 10:11:23 -0000 I remember seeing some weeks ago that people had run into difficulties when portupgrade moved from sysutils into ports-mgmt, and one recommendation was to deinstall portupgrade and then cd /usr/ports/ports-mgmt/portupgrade make install Possibly silly question: will I be able to avoid problems while still using portupgrade by simply setting the origin, ie portupgrade -NR --origin ports-mgmt/portupgrade portupgrade ? Jonathan From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 10:48:00 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C006616A405 for ; Tue, 6 Mar 2007 10:48:00 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.239]) by mx1.freebsd.org (Postfix) with ESMTP id 81D7A13C46B for ; Tue, 6 Mar 2007 10:48:00 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: by wx-out-0506.google.com with SMTP id s18so6589wxc for ; Tue, 06 Mar 2007 02:48:00 -0800 (PST) Received: by 10.70.113.13 with SMTP id l13mr9965784wxc.1173178080128; Tue, 06 Mar 2007 02:48:00 -0800 (PST) Received: from localhost ( [67.189.184.224]) by mx.google.com with ESMTP id 43sm10833766wri.2007.03.06.02.47.59; Tue, 06 Mar 2007 02:47:59 -0800 (PST) Date: Tue, 6 Mar 2007 05:47:53 -0500 From: Gerard Seibert To: freebsd-questions@freebsd.org Message-ID: <20070306054753.225999f8@localhost> In-Reply-To: <20070306075439.GB68567@wantadilla.lemis.com> References: <982642.10343.qm@web62209.mail.re1.yahoo.com> <20070306075439.GB68567@wantadilla.lemis.com> Organization: Seibercom.net X-Mailer: Claws Mail 2.8.0 (GTK+ 2.10.9; i386-portbld-freebsd6.2) X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_AFknD4IYJ463CGq2iarqq9f; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Re: MySQL Startup Script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 10:48:00 -0000 --Sig_AFknD4IYJ463CGq2iarqq9f Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 6 Mar 2007 18:24:39 +1030 Greg 'groggy' Lehey wrote: > On Monday, 5 March 2007 at 23:28:53 -0800, Drew Jenkins wrote: > > I built MySQL 5.1 from port on FBSD 6.2. But it doesn't start up on > > boot. There's a mysql-server script in /usr/local/etc/rc.d/ but if I > > try and fire that up from the command line it doesn't start. What do > > I need to do? =20 >=20 > You could start by saying how you invoked the script and what happened > when you tried. You should see: >=20 > # /usr/local/etc/rc.d/mysql-server start > Starting mysql. Have you bothered to place the proper directive in the '/etc/rc,conf' file; i.e.,=20 MYSQL_ENABLE=3Dyes Otherwise, if you want to start it from the command line sans that statement, you will have to use: /usr/local/etc/rc.d/mysql-server force Check out the mysql script in /usr/local/etc/rc.d for further details. --=20 Gerard My mother loved children -- she would have given anything if I had been one. Groucho Marx --Sig_AFknD4IYJ463CGq2iarqq9f Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.2 (FreeBSD) iD8DBQFF7UbaFCqdq4D1ybYRAqJsAJ4360xec0LtyODdsr3Pks2Wxj6XCwCglQaC 9Wz6mHTN+QPrHrhmGD5sF58= =/wt2 -----END PGP SIGNATURE----- --Sig_AFknD4IYJ463CGq2iarqq9f-- From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 11:27:57 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 68C1616A421 for ; Tue, 6 Mar 2007 11:27:57 +0000 (UTC) (envelope-from Dietmar_Michel@bmc.com) Received: from creeper.bmc.com (sky.bmc.com [198.207.223.240]) by mx1.freebsd.org (Postfix) with ESMTP id 4500213C467 for ; Tue, 6 Mar 2007 11:27:56 +0000 (UTC) (envelope-from Dietmar_Michel@bmc.com) Received: from svl-ec-01.adprod.bmc.com (svl-ec-01.adprod.bmc.com [172.20.5.28]) by creeper.bmc.com (Postfix) with ESMTP id 76BB9130037; Tue, 6 Mar 2007 05:27:56 -0600 (CST) Received: from fra-ex-01.adprod.bmc.com ([137.72.8.5]) by svl-ec-01.adprod.bmc.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 6 Mar 2007 03:27:56 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Tue, 6 Mar 2007 12:27:54 +0100 Message-ID: <0C398216960631429151B4A4B6B1FC0303F382E5@fra-ex-01.adprod.bmc.com> In-Reply-To: <200703061106.20427.nvass@teledomenet.gr> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: RAID5 degraded - system hangs Thread-Index: AcdfzoI1r0rz1dekREexowvYf9Q16wADyzgw References: <0C398216960631429151B4A4B6B1FC03038CCAB0@fra-ex-01.adprod.bmc.com> <200703060948.53818.nvass@teledomenet.gr> <0C398216960631429151B4A4B6B1FC03038CCAB5@fra-ex-01.adprod.bmc.com> <200703061106.20427.nvass@teledomenet.gr> From: "Michel, Dietmar" To: "Nikos Vassiliadis" , X-OriginalArrivalTime: 06 Mar 2007 11:27:56.0180 (UTC) FILETIME=[7CA53D40:01C75FE2] Cc: Subject: RE: RAID5 degraded - system hangs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 11:27:57 -0000 You are right again ... I just have a short discussion about the controller with promise = support: It is a software Raid Controller and WebPAM (The Promise Raid software) = is the interface for building/resync etc. This interface has some advanced feature but at least you can use a = Linux SW-Raid ... (the xor calculation for RAID5 is done by the server = anyway). Over all with the technical background I have to redesign my personal = goals. Dietmar -----Original Message----- From: Nikos Vassiliadis [mailto:nvass@teledomenet.gr]=20 Sent: Dienstag, 6. M=E4rz 2007 10:06 To: freebsd-questions@freebsd.org Cc: Michel, Dietmar Subject: Re: RAID5 degraded - system hangs On Tuesday 06 March 2007 10:16, Michel, Dietmar wrote: > The Promise Tx4310 has to be a HW raid controller - hopefully ;-)) Sorry, but it seems that's not the case... Supporting RAID levels 0, 1, 5 and 10, the FastTrak TX4310 incorporates Promise's innovative new software RAID 5 solution ... from here: http://www.promise.com/company/press/press_news1_eng.asp?press_id=3D130 From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 12:16:37 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7584916A403 for ; Tue, 6 Mar 2007 12:16:37 +0000 (UTC) (envelope-from daniel_k_eriksson@telia.com) Received: from pne-smtpout1-sn2.hy.skanova.net (pne-smtpout1-sn2.hy.skanova.net [81.228.8.83]) by mx1.freebsd.org (Postfix) with ESMTP id 3A8F313C494 for ; Tue, 6 Mar 2007 12:16:37 +0000 (UTC) (envelope-from daniel_k_eriksson@telia.com) Received: from royal64.emp.zapto.org (195.198.193.104) by pne-smtpout1-sn2.hy.skanova.net (7.2.075) id 45B61FED00AD0BE1; Tue, 6 Mar 2007 12:07:31 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-class: urn:content-classes:message Date: Tue, 6 Mar 2007 12:07:30 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Message-ID: <4F9C9299A10AE74E89EA580D14AA10A6028719@royal64.emp.zapto.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: gjournal and zfs, questions Thread-Index: Acdf37C7AQ6XRWviSpqR41FiHSUtPw== From: "Daniel Eriksson" To: Cc: pjd@FreeBSD.org Subject: gjournal and zfs, questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 12:16:37 -0000 Is gjournal and/or zfs stable enough for production-like usage yet? I've got a 3.5TB filesystem that I'd rather not have to fsck in case of a crash or power outage. I can live with running CURRENT on this box as long as I know the filesystem is stable. (I'd rather run RELENG_6, but zfs is only for current afaik.) When will gjournal and zfs be committed to the CVS tree? Will either of them be merged to STABLE? /Daniel Eriksson From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 12:48:26 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B1C9016A403 for ; Tue, 6 Mar 2007 12:48:26 +0000 (UTC) (envelope-from vizion@vizion.occoxmail.com) Received: from dukecmmtao03.coxmail.com (dukecmmtao03.coxmail.com [68.99.120.70]) by mx1.freebsd.org (Postfix) with ESMTP id 4B4FD13C494 for ; Tue, 6 Mar 2007 12:48:26 +0000 (UTC) (envelope-from vizion@vizion.occoxmail.com) Received: from dukecmmtao03 ([172.18.22.60]) by dukecmmtao03.coxmail.com (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with SMTP id <20070306124823.FBPY2045.dukecmmtao03.coxmail.com@dukecmmtao03> for ; Tue, 6 Mar 2007 07:48:23 -0500 X-Mailer: Openwave WebEngine, version 2.8.16 (webedge20-101-1106-20040809) From: Vizion Organization: vizion Communications To: Date: Tue, 6 Mar 2007 4:48:25 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20070306124823.FBPY2045.dukecmmtao03.coxmail.com@dukecmmtao03> Subject: ftp set 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: Tue, 06 Mar 2007 12:48:26 -0000 Hi I wonder if someone could point me to a reliable detailed resource for configuring an ftp server on freebsd 6.1 for both incoming and outgoing files (including anonymous ftp). I do not want anonymous uploaders to view existing file names in ftp/incoming or be able to download from incoming. I want the server as secure as is reasonably practicable. The notes in the freebsd handbook are not really comprehensive enough for me. Thanks in advance david From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 13:10:26 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F056916A407 for ; Tue, 6 Mar 2007 13:10:26 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.237]) by mx1.freebsd.org (Postfix) with ESMTP id 9D4A813C4AC for ; Tue, 6 Mar 2007 13:10:26 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: by wx-out-0506.google.com with SMTP id s18so40846wxc for ; Tue, 06 Mar 2007 05:10:26 -0800 (PST) Received: by 10.70.118.4 with SMTP id q4mr11631493wxc.1173186625640; Tue, 06 Mar 2007 05:10:25 -0800 (PST) Received: from localhost ( [67.189.184.224]) by mx.google.com with ESMTP id i11sm6201014wxd.2007.03.06.05.10.24; Tue, 06 Mar 2007 05:10:24 -0800 (PST) Date: Tue, 6 Mar 2007 08:10:22 -0500 From: Gerard Seibert To: freebsd-questions@freebsd.org Message-ID: <20070306081022.74e10b52@localhost> In-Reply-To: <20070306124823.FBPY2045.dukecmmtao03.coxmail.com@dukecmmtao03> References: <20070306124823.FBPY2045.dukecmmtao03.coxmail.com@dukecmmtao03> Organization: Seibercom.net X-Mailer: Claws Mail 2.8.0 (GTK+ 2.10.9; i386-portbld-freebsd6.2) X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_wGKStiO0aHm9ZTOXz+8=uHD"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Re: ftp set 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: Tue, 06 Mar 2007 13:10:27 -0000 --Sig_wGKStiO0aHm9ZTOXz+8=uHD Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 6 Mar 2007 4:48:25 -0800 Vizion wrote: > I wonder if someone could point me to a reliable detailed resource > for configuring an ftp server on freebsd 6.1 for both incoming and > outgoing files (including anonymous ftp). >=20 > I do not want anonymous uploaders to view existing file names in > ftp/incoming or be able to download from incoming. I want the server > as secure as is reasonably practicable. The notes in the freebsd > handbook are not really comprehensive enough for me. You might want to read up on some of the FTP servers that are available in the ports system. Find one that meets your needs and then if you are still having problems or questions, either check on the FTP server's mailing list, if one is available, or post your question here. --=20 Gerard Friends, n: People who borrow your books and set wet glasses on them. People who know you well, but like you anyway. --Sig_wGKStiO0aHm9ZTOXz+8=uHD Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.2 (FreeBSD) iD8DBQFF7Wg+FCqdq4D1ybYRAmlIAKCdCJQqIDn+UHORKK1Sc2tt+vsgqACgldLS LWj3HvVGF1UNbJvrgX50Rxs= =5hFI -----END PGP SIGNATURE----- --Sig_wGKStiO0aHm9ZTOXz+8=uHD-- From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 13:24:18 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 13D1B16A401 for ; Tue, 6 Mar 2007 13:24:18 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id D8CB113C461 for ; Tue, 6 Mar 2007 13:24:17 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.pgh.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTP id 0A2F6EBC62; Tue, 6 Mar 2007 08:24:14 -0500 (EST) Date: Tue, 6 Mar 2007 08:24:14 -0500 From: Bill Moran To: Vizion Message-Id: <20070306082414.dc4ccb09.wmoran@potentialtech.com> In-Reply-To: <20070306124823.FBPY2045.dukecmmtao03.coxmail.com@dukecmmtao03> References: <20070306124823.FBPY2045.dukecmmtao03.coxmail.com@dukecmmtao03> X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.9; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: ftp set 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: Tue, 06 Mar 2007 13:24:18 -0000 Please wrap your lines around 72 characters. In response to Vizion : > > I wonder if someone could point me to a reliable detailed resource for > configuring an ftp server on freebsd 6.1 for both incoming and outgoing > files (including anonymous ftp). > > I do not want anonymous uploaders to view existing file names in > ftp/incoming or be able to download from incoming. I want the server as > secure as is reasonably practicable. The notes in the freebsd handbook are > not really comprehensive enough for me. Please don't do this. Please don't even try. Never try to use the word "secure" in the same sentence as "ftp". They don't fit in the same sentence. Set up ssh, then have Windows users use WinSCP. Let me tell a little story. A few years back I was asked to set up "secure ftp" for a client. I argued, but he insisted, and "the customer is always right", so I set it up for him. The plan, to keep it secure, was to enable the FTP server when it was needed, and disable it when the transfer was complete. Well, one day he forgot to turn it off. A few weeks later he went to enable it for another transfer and noticed a bunch of files on the server he didn't recognize. Someone had guessed the password and was using his FTP server to transfer files of a most unsavory nature. After we destroyed the files, changed the passwords, etc -- he decided to keep using the FTP (in spite of the incident). The only problem, he argued, was that we'd forgot to turn it off. But the crook now had our address. The next time he enabled that server, it wasn't more than a few hours before the crook was using it to move around his files again. The guy must have set up some monitoring to alert him when the FTP site came up, then he either had a sniffer to get the password or he was able to brute-force it really fast. I tell that story when people tell me that the data their transferring isn't sensitive, and therefore using FTP isn't a security risk. It still is. The only time it's OK to use FTP is when it's download only and the files are publicly available. Any other time, FTP is a liability. -- Bill Moran http://www.potentialtech.com From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 13:27:54 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4497416A402 for ; Tue, 6 Mar 2007 13:27:54 +0000 (UTC) (envelope-from jbousseau@ifa.gr) Received: from ionio.ifa.gr (ionio.ifa.gr [212.251.85.3]) by mx1.freebsd.org (Postfix) with ESMTP id CAA6513C4BA for ; Tue, 6 Mar 2007 13:27:53 +0000 (UTC) (envelope-from jbousseau@ifa.gr) Received: from ionio.ifa.gr (localhost [127.0.0.1]) by nod32.ifa.gr (Postfix) with ESMTP id 4442E6284 for ; Tue, 6 Mar 2007 15:11:06 +0200 (EET) X-Virus-Scanner: This message was checked by NOD32 Antivirus system NOD32 for Linux Mail Server. For more information on NOD32 Antivirus System, please, visit our website: http://www.nod32.com/. Received: from [192.168.203.62] (ophelia.ifa.gr [212.251.85.6]) by ionio.ifa.gr (Postfix) with ESMTP id 0CE4B627F for ; Tue, 6 Mar 2007 15:11:06 +0200 (EET) From: jbousseau To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Tue, 06 Mar 2007 15:07:12 +0200 Message-Id: <1173186432.20605.10.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Content-Transfer-Encoding: 7bit Subject: upgrade, portupgrade or not ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 13:27:54 -0000 Hi everyone, I actually got a FreeBSD 5.4 for Mail server ( postfix+imp+horde) , and DNS server with bind. I really hesitate to upgrade my ports and my BSD because the configuration of IMP+horde+php is a real mess. What are your advices about it ? Pls notice i'm not a Bsd specialist. Thanx From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 13:28:54 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 565E116A402 for ; Tue, 6 Mar 2007 13:28:54 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (dsl081-227-250.chi1.dsl.speakeasy.net [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id C761313C441 for ; Tue, 6 Mar 2007 13:28:51 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.12.11) with ESMTP id l26DSBwJ040438; Tue, 6 Mar 2007 07:28:13 -0600 (CST) Message-Id: <6.0.0.22.2.20070306072709.02577448@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Tue, 06 Mar 2007 07:27:56 -0600 To: Gary Kline , FreeBSD Mailing List From: Derek Ragona In-Reply-To: <20070306003506.GA12553@thought.org> References: <20070306003506.GA12553@thought.org> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: awk 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: Tue, 06 Mar 2007 13:28:54 -0000 You can loop through them using a shell script: for i in `ls -lt | awk '{if ($8 == 2006) print $9}'`;do rm $i;done -Derek At 06:35 PM 3/5/2007, Gary Kline wrote: > Guys, > > Having found $9 , how do I /bin/rm it (using system()--yes??) > in an awk one-liner? > > I'm trying to remove from packages from long ago and find and > print them with > > ls -lt | awk '{if ($8 == 2006) print $9}'; > > but what I want to remove the file pointed at by $9. I've tried > FILE=ARGV[9]; and using FILE within my system() call, but no-joy. > What's the magic here? > > thanks in advance, > > gary > > > >-- > Gary Kline kline@thought.org www.thought.org Public Service Unix > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. >MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 13:32:14 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5226A16A401 for ; Tue, 6 Mar 2007 13:32:14 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id F3FBC13C4A5 for ; Tue, 6 Mar 2007 13:32:13 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from archangel.daleco.biz ([69.27.149.254]) by ezekiel.daleco.biz (8.13.4/8.13.1) with ESMTP id l26DW6lh014820; Tue, 6 Mar 2007 07:32:08 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <45ED6D51.3030903@daleco.biz> Date: Tue, 06 Mar 2007 07:32:01 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2pre) Gecko/20070221 SeaMonkey/1.1 MIME-Version: 1.0 To: Jonathan McKeown References: <200703061212.26382.jonathan@hst.org.za> In-Reply-To: <200703061212.26382.jonathan@hst.org.za> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Portupgrade moved: use --origin to upgrade it? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 13:32:14 -0000 Jonathan McKeown wrote: > I remember seeing some weeks ago that people had run into difficulties when > portupgrade moved from sysutils into ports-mgmt, and one recommendation was > to deinstall portupgrade and then > > cd /usr/ports/ports-mgmt/portupgrade > make install > > Possibly silly question: will I be able to avoid problems while still using > portupgrade by simply setting the origin, ie > > portupgrade -NR --origin ports-mgmt/portupgrade portupgrade > > ? > > Jonathan I'm fairly certain that /usr/ports/UPGRADING said what to do. Kevin Kinsey -- Is death legally binding? From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 13:40:51 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1A60016A401 for ; Tue, 6 Mar 2007 13:40:51 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id CAC1E13C491 for ; Tue, 6 Mar 2007 13:40:50 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HOZuD-0002gu-Fn for freebsd-questions@freebsd.org; Tue, 06 Mar 2007 14:40:41 +0100 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 ; Tue, 06 Mar 2007 14:40:41 +0100 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 Mar 2007 14:40:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Tue, 06 Mar 2007 14:40:22 +0100 Lines: 34 Message-ID: References: <4F9C9299A10AE74E89EA580D14AA10A6028719@royal64.emp.zapto.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5CB0282BE57A89AC5B76290C" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 1.5.0.9 (X11/20070110) In-Reply-To: <4F9C9299A10AE74E89EA580D14AA10A6028719@royal64.emp.zapto.org> X-Enigmail-Version: 0.94.0.0 Sender: news Subject: Re: gjournal and zfs, questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 13:40:51 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5CB0282BE57A89AC5B76290C Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Daniel Eriksson wrote: > When will gjournal and zfs be committed to the CVS tree? Will either of= > them be merged to STABLE? GJournal aready is: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/geom/journal/g_journal.c?re= v=3D1.9&content-type=3Dtext/x-cvsweb-markup It's unlikely they will be merged to 6-STABLE because they introduce lots of changes. --------------enig5CB0282BE57A89AC5B76290C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) Comment: Using GnuPG with Thunderbird/FreeBSD - http://enigmail.mozdev.org iD8DBQFF7W9MldnAQVacBcgRAstYAKD2Kctk+e/Q+WqiBEEjlEbMT8CzuACg6yEx LRM6vV9rpExw7L/C9g+L5DM= =tpUJ -----END PGP SIGNATURE----- --------------enig5CB0282BE57A89AC5B76290C-- From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 13:50:11 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4D26016A402 for ; Tue, 6 Mar 2007 13:50:11 +0000 (UTC) (envelope-from eoghanj@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id D14F513C441 for ; Tue, 6 Mar 2007 13:50:10 +0000 (UTC) (envelope-from eoghanj@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so180415ugh for ; Tue, 06 Mar 2007 05:50:10 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:subject:message-id:x-mailer:mime-version:content-type:content-transfer-encoding; b=n5h/aAKddaMh7u4psB64TO9ZsHauanmiSmPTuq0HJLRzPYUbUsqEZVU4jpnx7GULH6A+/I/8RhlCrfUo+czxskcUwv/tF4f2iHIrbV+Qvh4x7h1mGMMEr6Pp+hQRHvsgFI+Oq1YcCIhutzso6MdZeoOQ7MnlMWzQNqcayLKKiPA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:subject:message-id:x-mailer:mime-version:content-type:content-transfer-encoding; b=ScFcwBJn5Jx/s+LNMezzBbFCNzWcDnodeqGELsYGTPB82BuLdkANK7e012QbdeDfwk0rGDfQog97M+EKNrGYGYGe3dxDvd3U/7IKW9pBPUBeazcsWr9Mr7w8grEro4CNey3GXa986+DUsR1ExOh99F2NgfNB3YvuTaqgoXEJpKA= Received: by 10.66.244.11 with SMTP id r11mr1736016ugh.1173189009634; Tue, 06 Mar 2007 05:50:09 -0800 (PST) Received: from ejennings-pc ( [137.43.111.170]) by mx.google.com with ESMTP id 54sm736078ugp.2007.03.06.05.50.08; Tue, 06 Mar 2007 05:50:08 -0800 (PST) Date: Tue, 6 Mar 2007 13:50:05 +0000 From: eoghan To: freebsd Message-Id: <20070306135005.eb45cc85.eoghanj@gmail.com> X-Mailer: Sylpheed 2.4.0beta4 (GTK+ 2.10.9; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: apache problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 13:50:11 -0000 Hi I am running apache 2.2.4 on FreeBSD 6.1. This is a recent upgrade from ports (in the past few days or so). Since then I cant browse to localhost. Just get an unable to connect message. The server seems to start with: $sudo apachectl start If I try it again I see its already running. My error log shows: [Mon Mar 05 11:20:00 2007] [notice] Apache/2.2.4 (FreeBSD) mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.1 with Suhosin-Patch configured -- resuming normal operations [Mon Mar 05 11:20:22 2007] [notice] caught SIGTERM, shutting down I have tried the apache list but no real answers, and apache was working fine for me before I upgraded. Has anyone else noticed this since an upgrade to the 2.2.4 version from ports? Thanks Eoghan From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 13:50:31 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D67F516A410 for ; Tue, 6 Mar 2007 13:50:31 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 8B1BD13C4A6 for ; Tue, 6 Mar 2007 13:50:31 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 6415 invoked from network); 7 Mar 2007 00:50:30 +1100 Received: from 203-217-48-136.dyn.iinet.net.au (HELO localhost) (203.217.48.136) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 7 Mar 2007 00:50:30 +1100 Date: Wed, 7 Mar 2007 00:50:22 +1100 From: Norberto Meijome To: frzburn Message-ID: <20070307005022.4a09c30f@localhost> In-Reply-To: <2942dae0703051328l6e0a26b4v4a41a2812b18dc9e@mail.gmail.com> References: <2942dae0703051328l6e0a26b4v4a41a2812b18dc9e@mail.gmail.com> X-Mailer: Claws Mail 2.8.0 (GTK+ 2.10.9; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Laptop lid switch and ACPI X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 13:50:31 -0000 On Mon, 5 Mar 2007 16:28:06 -0500 frzburn wrote: > I need a hint on how to get my screen turn off (backlight too) on my Dell > Laptop. > I have an Inspiron 6400 (e1505), and FreeBSD 6 - amd64. Hi there, I am not sure how to switch off the screen on the dell (independent of ACPI)... in all laptops I've seen, it's fully controlled by the hardware (bios?). Have you got acpi working ? If you *do* have ACPI working, and you want to see whether it is firing acpi at all when you close the lid, you can restart devd in debugging mode: /etc/rc.d/devd stop devd -dD and then try your ACPI events. Also, you should be able to tell your ACPI module to let you handle the events manually. For example, with the acpi_ibm.ko, the knob dev.acpi_ibm.0.events = 1 tells acpi to pass all acpi messages to devd for handling. Search the logs (in mobile@ , i believe) - i've posted my config for some sample actions on different ACPI events. BTW, you may be able to switch off the display using a user mode application that is related to your video card. For example, if you have a Radeon card, the radeontool allows you to switch off the panel and external monitor outputs (although the ext monitor gets switched on when you switch to X's VT) HIH, Beto _________________________ {Beto|Norberto|Numard} Meijome "Against logic there is no armor like ignorance." Laurence J. Peter I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 13:53:24 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5286A16A406 for ; Tue, 6 Mar 2007 13:53:24 +0000 (UTC) (envelope-from jonathan@hst.org.za) Received: from sirian.hst.org.za (sirian.hst.org.za [209.203.2.130]) by mx1.freebsd.org (Postfix) with ESMTP id 5EAFF13C4B4 for ; Tue, 6 Mar 2007 13:53:22 +0000 (UTC) (envelope-from jonathan@hst.org.za) Received: from localhost (localhost.hst.org.za [127.0.0.1]) by sirian.hst.org.za (Postfix) with ESMTP id D2B6A31D83A for ; Tue, 6 Mar 2007 15:49:11 +0200 (SAST) Received: from sirian.hst.org.za ([127.0.0.1]) by localhost (sirian.hst.org.za [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 65290-03 for ; Tue, 6 Mar 2007 15:49:11 +0200 (SAST) Received: from sysadmin.int.dbn.hst.org.za (sysadmin.int.dbn.hst.org.za [10.1.1.20]) by sirian.hst.org.za (Postfix) with ESMTP id 5FA8831D7DA for ; Tue, 6 Mar 2007 15:49:11 +0200 (SAST) From: Jonathan McKeown Organization: Health Systems Trust To: freebsd-questions@freebsd.org Date: Tue, 6 Mar 2007 15:54:31 +0200 User-Agent: KMail/1.7.2 References: <200703061212.26382.jonathan@hst.org.za> <45ED6D51.3030903@daleco.biz> In-Reply-To: <45ED6D51.3030903@daleco.biz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703061554.31750.jonathan@hst.org.za> X-Virus-Scanned: by amavisd-new at hst.org.za Subject: Re: Portupgrade moved: use --origin to upgrade it? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 13:53:24 -0000 On Tuesday 06 March 2007 15:32, Kevin Kinsey wrote: > Jonathan McKeown wrote: > > > [can I upgrade portupgrade by] > > portupgrade -NR --origin ports-mgmt/portupgrade portupgrade > > ? > > I'm fairly certain that /usr/ports/UPGRADING said what to do. I checked UPDATING before I posted: it doesn't, just notes the change (20070205). I've (now) got a spare box I can try it on without turning a drama into a crisis if things go wrong. Jonathan From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 13:48:19 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 48A9016A402 for ; Tue, 6 Mar 2007 13:48:19 +0000 (UTC) (envelope-from elayaraj.k@bhasin.in) Received: from mail.bhasin.in (mail.bhasin.in [66.111.52.110]) by mx1.freebsd.org (Postfix) with ESMTP id D89C613C481 for ; Tue, 6 Mar 2007 13:48:18 +0000 (UTC) (envelope-from elayaraj.k@bhasin.in) Received: (qmail 11149 invoked by uid 89); 6 Mar 2007 13:23:58 -0000 Received: by simscan 1.2.0 ppid: 11142, pid: 11145, t: 0.7073s scanners: attach: 1.2.0 clamav: 0.88.7/m:42/d:2614 Received: from unknown (HELO netman) (elayaraj.k@bhasin.in@61.95.195.235) by mail.bhasin.in with SMTP; 6 Mar 2007 13:23:58 -0000 Message-ID: <000201c75ff2$5a67b9a0$0a01a8c0@netman> From: "elaya raj" To: Date: Tue, 6 Mar 2007 18:49:07 +0530 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Mailman-Approved-At: Tue, 06 Mar 2007 14:30:08 +0000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: network card setup? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 13:48:19 -0000 Hi, i new to freebsd i want to configure my network card. But i dont know = how to configure it. after configure the nic card i want to configur ftp = also.. so plz guid me how to configure the nic card and ftp... From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 14:37:34 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E615D16A400 for ; Tue, 6 Mar 2007 14:37:34 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (www.unsane.co.uk [85.233.185.162]) by mx1.freebsd.org (Postfix) with ESMTP id 76DF013C4A8 for ; Tue, 6 Mar 2007 14:37:34 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from [192.168.10.217] ([192.168.10.217]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.13.8) with ESMTP id l26EbOVU088870 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 6 Mar 2007 14:37:24 GMT (envelope-from jhary@unsane.co.uk) Message-ID: <45ED7CAB.3010608@unsane.co.uk> Date: Tue, 06 Mar 2007 14:37:31 +0000 From: Vince User-Agent: Thunderbird 1.5.0.9 (X11/20070129) MIME-Version: 1.0 To: Ivan Voras References: <4F9C9299A10AE74E89EA580D14AA10A6028719@royal64.emp.zapto.org> In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: gjournal and zfs, questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 14:37:35 -0000 Ivan Voras wrote: > Daniel Eriksson wrote: > >> When will gjournal and zfs be committed to the CVS tree? Will either of >> them be merged to STABLE? > > GJournal aready is: > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/geom/journal/g_journal.c?rev=1.9&content-type=text/x-cvsweb-markup > > It's unlikely they will be merged to 6-STABLE because they introduce > lots of changes. > That said there are patches for -STABLE although they are a little stale now, as changes have been made to stable, however last time i tried only cosmetic changes were needed (the patches wouldnt apply cleanly because the file(s) had changed but applying the rejected patches by hand worked fine, just look for rejects and see why its been rejected. Usually its because a line has been added to the file or removed and so the line number in the patch is wrong.) See Pawels patches at http://people.freebsd.org/~pjd/patches/ in particular http://people.freebsd.org/~pjd/patches/gjournal6_20061024.patch however also search the freebsd-geom and freebsd-current mailing lists for how to apply them and build with gjournal support (for a start Before applying the patch, create the following directories in your source directory: sbin/geom/class/journal sys/geom/journal sys/modules/geom/geom_journal ) That said I've a 6.2-RELEASE box thats got /var and /usr journaled and its been running happily for a month and a half. Give a scary sounding message in dmesg about GEOM_JOURNAL: Cannot suspend file system /usr (error=35). but this post http://lists.freebsd.org/pipermail/freebsd-hackers/2006-August/017894.html indicates its harmless and i havent seen any problems. zfs looks cool and i'm intending to try it once I get a spare machine to run -CURRENT on so i can apply the latest patchset Vince From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 14:54:53 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A119F16A47B for ; Tue, 6 Mar 2007 14:54:53 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 792F313C471 for ; Tue, 6 Mar 2007 14:54:53 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.pgh.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTP id B8BACEBC62 for ; Tue, 6 Mar 2007 09:54:51 -0500 (EST) Date: Tue, 6 Mar 2007 09:54:50 -0500 From: Bill Moran To: questions@freebsd.org Message-Id: <20070306095450.06b9c352.wmoran@potentialtech.com> X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.9; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: Point of interest: PAIR networks finally moving to 6.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 14:54:53 -0000 They held on to FreeBSD 4 for a looooong time ... http://www.pair.com/support/notices/62-upgrade.html -- Bill Moran http://www.potentialtech.com From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 15:59:33 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 41A4F16A400 for ; Tue, 6 Mar 2007 15:59:33 +0000 (UTC) (envelope-from freebsd@scottevil.com) Received: from pro28.abac.com (pro28.abac.com [66.226.64.29]) by mx1.freebsd.org (Postfix) with ESMTP id 1751D13C461 for ; Tue, 6 Mar 2007 15:59:33 +0000 (UTC) (envelope-from freebsd@scottevil.com) Received: from [10.34.1.89] ([64.126.14.3]) (authenticated bits=0) by pro28.abac.com (8.13.6/8.13.6) with ESMTP id l26FTt2v052720; Tue, 6 Mar 2007 07:29:57 -0800 (PST) (envelope-from freebsd@scottevil.com) Message-ID: <45ED88F3.8040200@scottevil.com> Date: Tue, 06 Mar 2007 09:29:55 -0600 From: Scott Oertel User-Agent: Thunderbird 2.0b1 (X11/20061211) MIME-Version: 1.0 To: Gary Kline References: <20070306003506.GA12553@thought.org> In-Reply-To: <20070306003506.GA12553@thought.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 4.446 (RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_XBL) X-Spam-Level: !!!! Cc: FreeBSD Mailing List Subject: Re: awk 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: Tue, 06 Mar 2007 15:59:33 -0000 Gary Kline wrote: > Guys, > > Having found $9 , how do I /bin/rm it (using system()--yes??) > in an awk one-liner? > > I'm trying to remove from packages from long ago and find and > print them with > > ls -lt | awk '{if ($8 == 2006) print $9}'; > > but what I want to remove the file pointed at by $9. I've tried > FILE=ARGV[9]; and using FILE within my system() call, but no-joy. > What's the magic here? > > thanks in advance, > > gary > > > > Another way is: ls -lt | awk '{if ($8 == 2006) print "rm -rf "$9}' | sh but I agree, using pkg_delete would be safer: ls -lt | awk '{if ($8 == 2006) print "pkg_delete "$9}' | sh -SO From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 16:19:35 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A464E16A404 for ; Tue, 6 Mar 2007 16:19:35 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.freebsd.org (Postfix) with ESMTP id 6E75913C478 for ; Tue, 6 Mar 2007 16:19:35 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from localhost (jn@ns1 [69.55.238.237]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id l26GJWXl009600 for ; Tue, 6 Mar 2007 11:19:33 -0500 (EST) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-questions@freebsd.org Date: Tue, 6 Mar 2007 11:18:34 -0500 User-Agent: KMail/1.9.5 References: <4F9C9299A10AE74E89EA580D14AA10A6028719@royal64.emp.zapto.org> <45ED7CAB.3010608@unsane.co.uk> In-Reply-To: <45ED7CAB.3010608@unsane.co.uk> X-Face: #X5#Y*q>F:]zT!DegL3z5Xo'^MN[$8k\[4^3rN~wm=s=Uw(sW}R?3b^*f1Wu*.<=?utf-8?q?of=5F4NrS=0A=09P*M/9CpxDo!D6?=)IY1w<9B1jB; tBQf[RU-R<,I)e"$q7N7 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_aRZ7FUS0QLmc3St" Message-Id: <200703061118.34321.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on ns1.jnielsen.net X-Virus-Status: Clean Subject: Re: gjournal and zfs, questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 16:19:35 -0000 --Boundary-00=_aRZ7FUS0QLmc3St Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Tuesday 06 March 2007 09:37, Vince wrote: > Ivan Voras wrote: > > Daniel Eriksson wrote: > >> When will gjournal and zfs be committed to the CVS tree? Will either of > >> them be merged to STABLE? > > > > GJournal aready is: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/geom/journal/g_journal.c?re > >v=1.9&content-type=text/x-cvsweb-markup > > > > It's unlikely they will be merged to 6-STABLE because they introduce > > lots of changes. > > That said there are patches for -STABLE although they are a little stale > now, as changes have been made to stable, however last time i tried only > cosmetic changes were needed (the patches wouldnt apply cleanly because > the file(s) had changed but applying the rejected patches by hand worked > fine, just look for rejects and see why its been rejected. Usually its > because a line has been added to the file or removed and so the line > number in the patch is wrong.) > See Pawels patches at > http://people.freebsd.org/~pjd/patches/ > in particular > http://people.freebsd.org/~pjd/patches/gjournal6_20061024.patch > however also search the freebsd-geom and freebsd-current mailing lists > for how to apply them and build with gjournal support (for a start > Before applying the patch, create the following directories in your > source directory: > > sbin/geom/class/journal > sys/geom/journal > sys/modules/geom/geom_journal ) > > That said I've a 6.2-RELEASE box thats got /var and /usr journaled and > its been running happily for a month and a half. Give a scary sounding > message in dmesg about > GEOM_JOURNAL: Cannot suspend file system /usr (error=35). > but this post > http://lists.freebsd.org/pipermail/freebsd-hackers/2006-August/017894.html > indicates its harmless and i havent seen any problems. I'm running gjournal with -STABLE here as well. The box is my work desktop and pseudo-server with a 450GB gmirror'ed /usr. The one problem I have is a consistent crash at shutdown. I suspect it's a result of poor interaction between gjournal and gmirror. Fortunately, it only happens after the filesystems are unmounted so the only real downside is being unable to reboot remotely (manual power cycle required). I haven't taken the time to document/report this yet but hopefully I'll get around to it sooner or later. I'm attaching the patch I use. It applied cleanly last time I updated a couple weeks ago. It's the same as the other one available from the mailing lists with one change so it doesn't choke on sys/sys/vnode.h. If you plan to use it refer to the original instructions here: http://lists.freebsd.org/pipermail/freebsd-fs/2006-June/001962.html and also look at the manpage (from -CURRENT): http://www.freebsd.org/cgi/man.cgi?query=gjournal&apropos=0&sektion=0&manpath=FreeBSD+7-current&format=html In brief, you need to make the new directories in the source tree, apply the patch, add the gjournal option to your kernel, rebuild kernel and world and reinstall, create a journalled volume, remember to use the -J flag with newfs (or with tunefs if you forgot), mount it async, and if you're using gmirror do a "gmirror configure -n". JN --Boundary-00=_aRZ7FUS0QLmc3St Content-Type: text/x-diff; charset="utf-8"; name="gjournal6_20061030_1.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="gjournal6_20061030_1.patch" --- etc/mtree/BSD.include.dist.orig +++ etc/mtree/BSD.include.dist @@ -102,6 +102,8 @@ .. gate .. + journal + .. label .. mirror --- include/Makefile.orig +++ include/Makefile @@ -42,8 +42,8 @@ fs/devfs fs/fdescfs fs/fifofs fs/msdosfs fs/ntfs fs/nullfs \ fs/nwfs fs/portalfs fs/procfs fs/smbfs fs/udf fs/umapfs \ fs/unionfs \ - geom/concat geom/eli geom/gate geom/label geom/mirror geom/nop \ - geom/raid3 geom/shsec geom/stripe \ + geom/concat geom/eli geom/gate geom/journal geom/label geom/mirror \ + geom/nop geom/raid3 geom/shsec geom/stripe \ isofs/cd9660 \ netatm/ipatm netatm/sigpvc netatm/spans netatm/uni \ netgraph/atm netgraph/netflow \ --- lib/libufs/Makefile.orig +++ lib/libufs/Makefile @@ -7,6 +7,7 @@ MAN= bread.3 cgread.3 libufs.3 sbread.3 ufs_disk_close.3 MLINKS+= bread.3 bwrite.3 MLINKS+= cgread.3 cgread1.3 +MLINKS+= cgread.3 cgwrite1.3 MLINKS+= sbread.3 sbwrite.3 MLINKS+= ufs_disk_close.3 ufs_disk_fillout.3 MLINKS+= ufs_disk_close.3 ufs_disk_fillout_blank.3 --- lib/libufs/cgread.3.orig +++ lib/libufs/cgread.3 @@ -4,6 +4,7 @@ .\" Manual page for libufs functions: .\" cgread(3) .\" cgread1(3) +.\" cgwrite1(3) .\" .\" This file is in the public domain. .\" @@ -13,8 +14,8 @@ .Dt CGREAD 3 .Os .Sh NAME -.Nm cgread , cgread1 -.Nd read cylinder groups of UFS disks +.Nm cgread , cgread1, cgwrite1 +.Nd read/write cylinder groups of UFS disks .Sh LIBRARY .Lb libufs .Sh SYNOPSIS @@ -28,6 +29,8 @@ .Fn cgread "struct uufsd *disk" .Ft int .Fn cgread1 "struct uufsd *disk" "int c" +.Ft int +.Fn cgwrite1 "struct uufsd *disk" "int c" .Sh DESCRIPTION The .Fn cgread @@ -60,6 +63,14 @@ field, and then incrementing the .Va d_ccg field. +.Pp +The +.Fn cgwrite1 +function stores cylinder group specified by +.Fa c +from +.Va d_cg +field of a userland UFS disk structure on disk. .Sh RETURN VALUES Both functions return 0 if there are no more cylinder groups to read, 1 if there are more cylinder groups, and \-1 on error. @@ -75,8 +86,16 @@ .Fn cgread1 has semantically identical failure conditions to those of .Fn cgread . +.Pp +The function +.Fn cgwrite1 +may fail and set +.Va errno +for any of the errors specified for the library function +.Xr bwrite 3 . .Sh SEE ALSO .Xr bread 3 , +.Xr bwrite 3 , .Xr libufs 3 .Sh HISTORY These functions first appeared as part of --- lib/libufs/cgroup.c.orig +++ lib/libufs/cgroup.c @@ -71,3 +71,17 @@ disk->d_lcg = c; return (1); } + +int +cgwrite1(struct uufsd *disk, int c) +{ + struct fs *fs; + + fs = &disk->d_fs; + if (bwrite(disk, fsbtodb(fs, cgtod(fs, c)), + disk->d_cgunion.d_buf, fs->fs_bsize) == -1) { + ERROR(disk, "unable to write cylinder group"); + return (-1); + } + return (0); +} --- lib/libufs/libufs.3.orig +++ lib/libufs/libufs.3 @@ -57,6 +57,7 @@ .Xr bwrite 3 , .Xr cgread 3 , .Xr cgread1 3 , +.Xr cgwrite1 3 , .Xr sbread 3 , .Xr sbwrite 3 , .Xr ufs_disk_close 3 , --- lib/libufs/libufs.h.orig +++ lib/libufs/libufs.h @@ -110,6 +110,7 @@ */ int cgread(struct uufsd *); int cgread1(struct uufsd *, int); +int cgwrite1(struct uufsd *, int); /* * inode.c --- sbin/dumpfs/dumpfs.c.orig +++ sbin/dumpfs/dumpfs.c @@ -168,8 +168,9 @@ (intmax_t)afs.fs_cstotal.cs_ndir, (intmax_t)afs.fs_cstotal.cs_nifree, (intmax_t)afs.fs_cstotal.cs_nffree); - printf("bpg\t%d\tfpg\t%d\tipg\t%d\n", - afs.fs_fpg / afs.fs_frag, afs.fs_fpg, afs.fs_ipg); + printf("bpg\t%d\tfpg\t%d\tipg\t%d\tunrefs\t%jd\n", + afs.fs_fpg / afs.fs_frag, afs.fs_fpg, afs.fs_ipg, + (intmax_t)afs.fs_unrefs); printf("nindir\t%d\tinopb\t%d\tmaxfilesize\t%ju\n", afs.fs_nindir, afs.fs_inopb, (uintmax_t)afs.fs_maxfilesize); @@ -228,10 +229,12 @@ printf("acls "); if (fsflags & FS_MULTILABEL) printf("multilabel "); + if (fsflags & FS_GJOURNAL) + printf("gjournal "); if (fsflags & FS_FLAGS_UPDATED) printf("fs_flags expanded "); fsflags &= ~(FS_UNCLEAN | FS_DOSOFTDEP | FS_NEEDSFSCK | FS_INDEXDIRS | - FS_ACLS | FS_MULTILABEL | FS_FLAGS_UPDATED); + FS_ACLS | FS_MULTILABEL | FS_GJOURNAL | FS_FLAGS_UPDATED); if (fsflags != 0) printf("unknown flags (%#x)", fsflags); putchar('\n'); @@ -282,8 +285,9 @@ cgtime = acg.cg_time; printf("magic\t%x\ttell\t%jx\ttime\t%s", acg.cg_magic, (intmax_t)cur, ctime(&cgtime)); - printf("cgx\t%d\tndblk\t%d\tniblk\t%d\tinitiblk %d\n", - acg.cg_cgx, acg.cg_ndblk, acg.cg_niblk, acg.cg_initediblk); + printf("cgx\t%d\tndblk\t%d\tniblk\t%d\tinitiblk %d\tunrefs %d\n", + acg.cg_cgx, acg.cg_ndblk, acg.cg_niblk, acg.cg_initediblk, + acg.cg_unrefs); break; case 1: cgtime = acg.cg_old_time; --- sbin/fsck_ffs/Makefile.orig +++ sbin/fsck_ffs/Makefile @@ -7,7 +7,9 @@ MAN= fsck_ffs.8 MLINKS= fsck_ffs.8 fsck_ufs.8 fsck_ffs.8 fsck_4.2bsd.8 SRCS= dir.c ea.c fsutil.c inode.c main.c pass1.c pass1b.c pass2.c pass3.c \ - pass4.c pass5.c setup.c utilities.c ffs_subr.c ffs_tables.c + pass4.c pass5.c setup.c utilities.c ffs_subr.c ffs_tables.c gjournal.c +DPADD= ${LIBUFS} +LDADD= -lufs WARNS?= 2 CFLAGS+= -I${.CURDIR} --- sbin/fsck_ffs/fsck.h.orig +++ sbin/fsck_ffs/fsck.h @@ -328,9 +328,9 @@ ino_t allocino(ino_t request, int type); void blkerror(ino_t ino, const char *type, ufs2_daddr_t blk); char *blockcheck(char *name); -int bread(int fd, char *buf, ufs2_daddr_t blk, long size); +int blread(int fd, char *buf, ufs2_daddr_t blk, long size); void bufinit(void); -void bwrite(int fd, char *buf, ufs2_daddr_t blk, long size); +void blwrite(int fd, char *buf, ufs2_daddr_t blk, long size); void cacheino(union dinode *dp, ino_t inumber); void catch(int); void catchquit(int); @@ -388,3 +388,4 @@ void sblock_init(void); void setinodebuf(ino_t); int setup(char *dev); +void gjournal_check(const char *filesys); --- sbin/fsck_ffs/fsutil.c.orig +++ sbin/fsck_ffs/fsutil.c @@ -221,7 +221,7 @@ if (bp->b_bno != dblk) { flush(fswritefd, bp); diskreads++; - bp->b_errs = bread(fsreadfd, bp->b_un.b_buf, dblk, size); + bp->b_errs = blread(fsreadfd, bp->b_un.b_buf, dblk, size); bp->b_bno = dblk; bp->b_size = size; } @@ -244,11 +244,11 @@ (bp->b_errs == bp->b_size / dev_bsize) ? "" : "PARTIALLY ", (long long)bp->b_bno); bp->b_errs = 0; - bwrite(fd, bp->b_un.b_buf, bp->b_bno, (long)bp->b_size); + blwrite(fd, bp->b_un.b_buf, bp->b_bno, (long)bp->b_size); if (bp != &sblk) return; for (i = 0, j = 0; i < sblock.fs_cssize; i += sblock.fs_bsize, j++) { - bwrite(fswritefd, (char *)sblock.fs_csp + i, + blwrite(fswritefd, (char *)sblock.fs_csp + i, fsbtodb(&sblock, sblock.fs_csaddr + j * sblock.fs_frag), sblock.fs_cssize - i < sblock.fs_bsize ? sblock.fs_cssize - i : sblock.fs_bsize); @@ -345,7 +345,7 @@ } int -bread(int fd, char *buf, ufs2_daddr_t blk, long size) +blread(int fd, char *buf, ufs2_daddr_t blk, long size) { char *cp; int i, errs; @@ -387,7 +387,7 @@ } void -bwrite(int fd, char *buf, ufs2_daddr_t blk, long size) +blwrite(int fd, char *buf, ufs2_daddr_t blk, long size) { int i; char *cp; --- /dev/null Tue Oct 24 16:33:50 2006 +++ sbin/fsck_ffs/gjournal.c Tue Oct 24 16:33:58 2006 @@ -0,0 +1,774 @@ +/*- + * Copyright (c) 2006 Pawel Jakub Dawidek + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * Copyright (c) 1982, 1986, 1989, 1993 + * The Regents of the University of California. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 4. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + +#include +__FBSDID("$FreeBSD$"); + +#include +#include +#include +#include + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include + +#include "fsck.h" + +struct cgchain { + union { + struct cg cgcu_cg; + char cgcu_buf[MAXBSIZE]; + } cgc_union; + int cgc_busy; + int cgc_dirty; + LIST_ENTRY(cgchain) cgc_next; +}; +#define cgc_cg cgc_union.cgcu_cg + +#define MAX_CACHED_CGS 1024 +static unsigned ncgs = 0; +static LIST_HEAD(, cgchain) cglist = LIST_HEAD_INITIALIZER(&cglist); + +static const char *devnam; +static struct uufsd *disk = NULL; +static struct fs *fs = NULL; +struct ufs2_dinode ufs2_zino; + +static void putcgs(void); + +/* + * Write current block of inodes. + */ +static int +putino(struct uufsd *disk, ino_t inode) +{ + caddr_t inoblock; + struct fs *fs; + ssize_t ret; + + fs = &disk->d_fs; + inoblock = disk->d_inoblock; + + assert(inoblock != NULL); + assert(inode >= disk->d_inomin && inode <= disk->d_inomax); + ret = bwrite(disk, fsbtodb(fs, ino_to_fsba(fs, inode)), inoblock, + fs->fs_bsize); + + return (ret == -1 ? -1 : 0); +} + +/* + * Return cylinder group from the cache or load it if it is not in the + * cache yet. + * Don't cache more than MAX_CACHED_CGS cylinder groups. + */ +static struct cgchain * +getcg(int cg) +{ + struct cgchain *cgc; + + assert(disk != NULL && fs != NULL); + LIST_FOREACH(cgc, &cglist, cgc_next) { + if (cgc->cgc_cg.cg_cgx == cg) { + //printf("%s: Found cg=%d\n", __func__, cg); + return (cgc); + } + } + /* + * Our cache is full? Let's clean it up. + */ + if (ncgs >= MAX_CACHED_CGS) { + //printf("%s: Flushing CGs.\n", __func__); + putcgs(); + } + cgc = malloc(sizeof(*cgc)); + if (cgc == NULL) { + /* + * Cannot allocate memory? + * Let's put all currently loaded and not busy cylinder groups + * on disk and try again. + */ + //printf("%s: No memory, flushing CGs.\n", __func__); + putcgs(); + cgc = malloc(sizeof(*cgc)); + if (cgc == NULL) + err(1, "malloc(%zu)", sizeof(*cgc)); + } + if (cgread1(disk, cg) == -1) + err(1, "cgread1(%d)", cg); + bcopy(&disk->d_cg, &cgc->cgc_cg, sizeof(cgc->cgc_union)); + cgc->cgc_busy = 0; + cgc->cgc_dirty = 0; + LIST_INSERT_HEAD(&cglist, cgc, cgc_next); + ncgs++; + //printf("%s: Read cg=%d\n", __func__, cg); + return (cgc); +} + +/* + * Mark cylinder group as dirty - it will be written back on putcgs(). + */ +static void +dirtycg(struct cgchain *cgc) +{ + + cgc->cgc_dirty = 1; +} + +/* + * Mark cylinder group as busy - it will not be freed on putcgs(). + */ +static void +busycg(struct cgchain *cgc) +{ + + cgc->cgc_busy = 1; +} + +/* + * Unmark the given cylinder group as busy. + */ +static void +unbusycg(struct cgchain *cgc) +{ + + cgc->cgc_busy = 0; +} + +/* + * Write back all dirty cylinder groups. + * Free all non-busy cylinder groups. + */ +static void +putcgs(void) +{ + struct cgchain *cgc, *cgc2; + + assert(disk != NULL && fs != NULL); + LIST_FOREACH_SAFE(cgc, &cglist, cgc_next, cgc2) { + if (cgc->cgc_busy) + continue; + LIST_REMOVE(cgc, cgc_next); + ncgs--; + if (cgc->cgc_dirty) { + bcopy(&cgc->cgc_cg, &disk->d_cg, + sizeof(cgc->cgc_union)); + if (cgwrite1(disk, cgc->cgc_cg.cg_cgx) == -1) + err(1, "cgwrite1(%d)", cgc->cgc_cg.cg_cgx); + //printf("%s: Wrote cg=%d\n", __func__, + // cgc->cgc_cg.cg_cgx); + } + free(cgc); + } +} + +#if 0 +/* + * Free all non-busy cylinder groups without storing the dirty ones. + */ +static void +cancelcgs(void) +{ + struct cgchain *cgc; + + assert(disk != NULL && fs != NULL); + while ((cgc = LIST_FIRST(&cglist)) != NULL) { + if (cgc->cgc_busy) + continue; + LIST_REMOVE(cgc, cgc_next); + //printf("%s: Canceled cg=%d\n", __func__, cgc->cgc_cg.cg_cgx); + free(cgc); + } +} +#endif + +/* + * Open the given provider, load statistics. + */ +static void +getdisk(void) +{ + int i; + + if (disk != NULL) + return; + disk = malloc(sizeof(*disk)); + if (disk == NULL) + err(1, "malloc(%zu)", sizeof(*disk)); + if (ufs_disk_fillout(disk, devnam) == -1) { + err(1, "ufs_disk_fillout(%s) failed: %s", devnam, + disk->d_error); + } + fs = &disk->d_fs; + fs->fs_csp = malloc((size_t)fs->fs_cssize); + if (fs->fs_csp == NULL) + err(1, "malloc(%zu)", (size_t)fs->fs_cssize); + bzero(fs->fs_csp, (size_t)fs->fs_cssize); + for (i = 0; i < fs->fs_cssize; i += fs->fs_bsize) { + if (bread(disk, fsbtodb(fs, fs->fs_csaddr + numfrags(fs, i)), + (void *)(((char *)fs->fs_csp) + i), + (size_t)(fs->fs_cssize - i < fs->fs_bsize ? fs->fs_cssize - i : fs->fs_bsize)) == -1) { + err(1, "bread: %s", disk->d_error); + } + } + if (fs->fs_contigsumsize > 0) { + fs->fs_maxcluster = malloc(fs->fs_ncg * sizeof(int32_t)); + if (fs->fs_maxcluster == NULL) + err(1, "malloc(%zu)", fs->fs_ncg * sizeof(int32_t)); + for (i = 0; i < fs->fs_ncg; i++) + fs->fs_maxcluster[i] = fs->fs_contigsumsize; + } +} + +/* + * Mark file system as clean, write the super-block back, close the disk. + */ +static void +closedisk(void) +{ + + free(fs->fs_csp); + if (fs->fs_contigsumsize > 0) { + free(fs->fs_maxcluster); + fs->fs_maxcluster = NULL; + } + fs->fs_clean = 1; + if (sbwrite(disk, 0) == -1) + err(1, "sbwrite(%s)", devnam); + if (ufs_disk_close(disk) == -1) + err(1, "ufs_disk_close(%s)", devnam); + free(disk); + disk = NULL; + fs = NULL; +} + +/* + * Write the statistics back, call closedisk(). + */ +static void +putdisk(void) +{ + int i; + + assert(disk != NULL && fs != NULL); + for (i = 0; i < fs->fs_cssize; i += fs->fs_bsize) { + if (bwrite(disk, fsbtodb(fs, fs->fs_csaddr + numfrags(fs, i)), + (void *)(((char *)fs->fs_csp) + i), + (size_t)(fs->fs_cssize - i < fs->fs_bsize ? fs->fs_cssize - i : fs->fs_bsize)) == -1) { + err(1, "bwrite: %s", disk->d_error); + } + } + closedisk(); +} + +#if 0 +/* + * Free memory, close the disk, but don't write anything back. + */ +static void +canceldisk(void) +{ + int i; + + assert(disk != NULL && fs != NULL); + free(fs->fs_csp); + if (fs->fs_contigsumsize > 0) + free(fs->fs_maxcluster); + if (ufs_disk_close(disk) == -1) + err(1, "ufs_disk_close(%s)", devnam); + free(disk); + disk = NULL; + fs = NULL; +} +#endif + +static int +isblock(unsigned char *cp, ufs1_daddr_t h) +{ + unsigned char mask; + + switch ((int)fs->fs_frag) { + case 8: + return (cp[h] == 0xff); + case 4: + mask = 0x0f << ((h & 0x1) << 2); + return ((cp[h >> 1] & mask) == mask); + case 2: + mask = 0x03 << ((h & 0x3) << 1); + return ((cp[h >> 2] & mask) == mask); + case 1: + mask = 0x01 << (h & 0x7); + return ((cp[h >> 3] & mask) == mask); + default: + assert(!"isblock: invalid number of fragments"); + } + return (0); +} + +/* + * put a block into the map + */ +static void +setblock(unsigned char *cp, ufs1_daddr_t h) +{ + + switch ((int)fs->fs_frag) { + case 8: + cp[h] = 0xff; + return; + case 4: + cp[h >> 1] |= (0x0f << ((h & 0x1) << 2)); + return; + case 2: + cp[h >> 2] |= (0x03 << ((h & 0x3) << 1)); + return; + case 1: + cp[h >> 3] |= (0x01 << (h & 0x7)); + return; + default: + assert(!"setblock: invalid number of fragments"); + } +} + +/* + * check if a block is free + */ +static int +isfreeblock(u_char *cp, ufs1_daddr_t h) +{ + + switch ((int)fs->fs_frag) { + case 8: + return (cp[h] == 0); + case 4: + return ((cp[h >> 1] & (0x0f << ((h & 0x1) << 2))) == 0); + case 2: + return ((cp[h >> 2] & (0x03 << ((h & 0x3) << 1))) == 0); + case 1: + return ((cp[h >> 3] & (0x01 << (h & 0x7))) == 0); + default: + assert(!"isfreeblock: invalid number of fragments"); + } + return (0); +} + +/* + * Update the frsum fields to reflect addition or deletion + * of some frags. + */ +void +fragacct(int fragmap, int32_t fraglist[], int cnt) +{ + int inblk; + int field, subfield; + int siz, pos; + + inblk = (int)(fragtbl[fs->fs_frag][fragmap]) << 1; + fragmap <<= 1; + for (siz = 1; siz < fs->fs_frag; siz++) { + if ((inblk & (1 << (siz + (fs->fs_frag % NBBY)))) == 0) + continue; + field = around[siz]; + subfield = inside[siz]; + for (pos = siz; pos <= fs->fs_frag; pos++) { + if ((fragmap & field) == subfield) { + fraglist[siz] += cnt; + pos += siz; + field <<= siz; + subfield <<= siz; + } + field <<= 1; + subfield <<= 1; + } + } +} + +static void +clusteracct(struct cg *cgp, ufs1_daddr_t blkno) +{ + int32_t *sump; + int32_t *lp; + u_char *freemapp, *mapp; + int i, start, end, forw, back, map, bit; + + if (fs->fs_contigsumsize <= 0) + return; + freemapp = cg_clustersfree(cgp); + sump = cg_clustersum(cgp); + /* + * Clear the actual block. + */ + setbit(freemapp, blkno); + /* + * Find the size of the cluster going forward. + */ + start = blkno + 1; + end = start + fs->fs_contigsumsize; + if (end >= cgp->cg_nclusterblks) + end = cgp->cg_nclusterblks; + mapp = &freemapp[start / NBBY]; + map = *mapp++; + bit = 1 << (start % NBBY); + for (i = start; i < end; i++) { + if ((map & bit) == 0) + break; + if ((i & (NBBY - 1)) != (NBBY - 1)) { + bit <<= 1; + } else { + map = *mapp++; + bit = 1; + } + } + forw = i - start; + /* + * Find the size of the cluster going backward. + */ + start = blkno - 1; + end = start - fs->fs_contigsumsize; + if (end < 0) + end = -1; + mapp = &freemapp[start / NBBY]; + map = *mapp--; + bit = 1 << (start % NBBY); + for (i = start; i > end; i--) { + if ((map & bit) == 0) + break; + if ((i & (NBBY - 1)) != 0) { + bit >>= 1; + } else { + map = *mapp--; + bit = 1 << (NBBY - 1); + } + } + back = start - i; + /* + * Account for old cluster and the possibly new forward and + * back clusters. + */ + i = back + forw + 1; + if (i > fs->fs_contigsumsize) + i = fs->fs_contigsumsize; + sump[i]++; + if (back > 0) + sump[back]--; + if (forw > 0) + sump[forw]--; + /* + * Update cluster summary information. + */ + lp = &sump[fs->fs_contigsumsize]; + for (i = fs->fs_contigsumsize; i > 0; i--) + if (*lp-- > 0) + break; + fs->fs_maxcluster[cgp->cg_cgx] = i; +} + +static void +blkfree(ufs2_daddr_t bno, long size) +{ + struct cgchain *cgc; + struct cg *cgp; + ufs1_daddr_t fragno, cgbno; + int i, cg, blk, frags, bbase; + u_int8_t *blksfree; + + cg = dtog(fs, bno); + cgc = getcg(cg); + dirtycg(cgc); + cgp = &cgc->cgc_cg; + cgbno = dtogd(fs, bno); + blksfree = cg_blksfree(cgp); + if (size == fs->fs_bsize) { + fragno = fragstoblks(fs, cgbno); + if (!isfreeblock(blksfree, fragno)) + assert(!"blkfree: freeing free block"); + setblock(blksfree, fragno); + clusteracct(cgp, fragno); + cgp->cg_cs.cs_nbfree++; + fs->fs_cstotal.cs_nbfree++; + fs->fs_cs(fs, cg).cs_nbfree++; + } else { + bbase = cgbno - fragnum(fs, cgbno); + /* + * decrement the counts associated with the old frags + */ + blk = blkmap(fs, blksfree, bbase); + fragacct(blk, cgp->cg_frsum, -1); + /* + * deallocate the fragment + */ + frags = numfrags(fs, size); + for (i = 0; i < frags; i++) { + if (isset(blksfree, cgbno + i)) + assert(!"blkfree: freeing free frag"); + setbit(blksfree, cgbno + i); + } + cgp->cg_cs.cs_nffree += i; + fs->fs_cstotal.cs_nffree += i; + fs->fs_cs(fs, cg).cs_nffree += i; + /* + * add back in counts associated with the new frags + */ + blk = blkmap(fs, blksfree, bbase); + fragacct(blk, cgp->cg_frsum, 1); + /* + * if a complete block has been reassembled, account for it + */ + fragno = fragstoblks(fs, bbase); + if (isblock(blksfree, fragno)) { + cgp->cg_cs.cs_nffree -= fs->fs_frag; + fs->fs_cstotal.cs_nffree -= fs->fs_frag; + fs->fs_cs(fs, cg).cs_nffree -= fs->fs_frag; + clusteracct(cgp, fragno); + cgp->cg_cs.cs_nbfree++; + fs->fs_cstotal.cs_nbfree++; + fs->fs_cs(fs, cg).cs_nbfree++; + } + } +} + +/* + * Recursively free all indirect blocks. + */ +static void +freeindir(ufs2_daddr_t blk, int level) +{ + char sblks[MAXBSIZE]; + ufs2_daddr_t *blks; + int i; + + if (bread(disk, fsbtodb(fs, blk), (void *)&sblks, (size_t)fs->fs_bsize) == -1) + err(1, "bread: %s", disk->d_error); + blks = (ufs2_daddr_t *)&sblks; + for (i = 0; i < howmany(fs->fs_bsize, sizeof(ufs2_daddr_t)); i++) { + if (blks[i] == 0) + break; + if (level == 0) + blkfree(blks[i], fs->fs_bsize); + else + freeindir(blks[i], level - 1); + } + blkfree(blk, fs->fs_bsize); +} + +#define dblksize(fs, dino, lbn) \ + ((dino)->di_size >= smalllblktosize(fs, (lbn) + 1) \ + ? (fs)->fs_bsize \ + : fragroundup(fs, blkoff(fs, (dino)->di_size))) + +/* + * Free all blocks associated with the given inode. + */ +static void +clear_inode(struct ufs2_dinode *dino) +{ + ufs2_daddr_t bn; + int extblocks, i, level; + off_t osize; + long bsize; + + extblocks = 0; + if (fs->fs_magic == FS_UFS2_MAGIC && dino->di_extsize > 0) + extblocks = btodb(fragroundup(fs, dino->di_extsize)); + /* deallocate external attributes blocks */ + if (extblocks > 0) { + osize = dino->di_extsize; + dino->di_blocks -= extblocks; + dino->di_extsize = 0; + for (i = 0; i < NXADDR; i++) { + if (dino->di_extb[i] == 0) + continue; + blkfree(dino->di_extb[i], sblksize(fs, osize, i)); + } + } +#define SINGLE 0 /* index of single indirect block */ +#define DOUBLE 1 /* index of double indirect block */ +#define TRIPLE 2 /* index of triple indirect block */ + /* deallocate indirect blocks */ + for (level = SINGLE; level <= TRIPLE; level++) { + if (dino->di_ib[level] == 0) + break; + freeindir(dino->di_ib[level], level); + } + /* deallocate direct blocks and fragments */ + for (i = 0; i < NDADDR; i++) { + bn = dino->di_db[i]; + if (bn == 0) + continue; + bsize = dblksize(fs, dino, i); + blkfree(bn, bsize); + } +} + +void +gjournal_check(const char *filesys) +{ + struct ufs2_dinode *dino; + struct cgchain *cgc; + struct cg *cgp; + uint8_t *inosused, *blksfree; + ino_t cino, ino; + int cg, mode; + + devnam = filesys; + getdisk(); + /* Are there any unreferenced inodes in this cylinder group? */ + if (fs->fs_unrefs == 0) { + //printf("No unreferenced inodes.\n"); + closedisk(); + return; + } + + for (cg = 0; cg < fs->fs_ncg; cg++) { + /* Show progress if requested. */ + if (got_siginfo) { + printf("%s: phase j: cyl group %d of %d (%d%%)\n", + cdevname, cg, fs->fs_ncg, cg * 100 / fs->fs_ncg); + got_siginfo = 0; + } + if (got_sigalarm) { + setproctitle("%s pj %d%%", cdevname, + cg * 100 / fs->fs_ncg); + got_sigalarm = 0; + } + cgc = getcg(cg); + cgp = &cgc->cgc_cg; + /* Are there any unreferenced inodes in this cylinder group? */ + if (cgp->cg_unrefs == 0) + continue; + //printf("Analizing cylinder group %d (count=%d)\n", cg, cgp->cg_unrefs); + /* + * We are going to modify this cylinder group, so we want it to + * be written back. + */ + dirtycg(cgc); + /* We don't want it to be freed in the meantime. */ + busycg(cgc); + inosused = cg_inosused(cgp); + blksfree = cg_blksfree(cgp); + /* + * Now go through the list of all inodes in this cylinder group + * to find unreferenced ones. + */ + for (cino = 0; cino < fs->fs_ipg; cino++) { + ino = fs->fs_ipg * cg + cino; + /* Unallocated? Skip it. */ + if (isclr(inosused, cino)) + continue; + if (getino(disk, (void **)&dino, ino, &mode) == -1) + err(1, "getino(cg=%d ino=%d)", cg, ino); + /* Not a regular file nor directory? Skip it. */ + if (!S_ISREG(dino->di_mode) && !S_ISDIR(dino->di_mode)) + continue; + /* Has reference(s)? Skip it. */ + if (dino->di_nlink > 0) + continue; + //printf("Clearing inode=%d (size=%jd)\n", ino, (intmax_t)dino->di_size); + /* Free inode's blocks. */ + clear_inode(dino); + /* Deallocate it. */ + clrbit(inosused, cino); + /* Update position of last used inode. */ + if (ino < cgp->cg_irotor) + cgp->cg_irotor = ino; + /* Update statistics. */ + cgp->cg_cs.cs_nifree++; + fs->fs_cs(fs, cg).cs_nifree++; + fs->fs_cstotal.cs_nifree++; + cgp->cg_unrefs--; + fs->fs_unrefs--; + /* If this is directory, update related statistics. */ + if (S_ISDIR(dino->di_mode)) { + cgp->cg_cs.cs_ndir--; + fs->fs_cs(fs, cg).cs_ndir--; + fs->fs_cstotal.cs_ndir--; + } + /* Zero-fill the inode. */ + *dino = ufs2_zino; + /* Write the inode back. */ + if (putino(disk, ino) == -1) + err(1, "putino(cg=%d ino=%d)", cg, ino); + if (cgp->cg_unrefs == 0) { + //printf("No more unreferenced inodes in cg=%d.\n", cg); + break; + } + } + /* + * We don't need this cylinder group anymore, so feel free to + * free it if needed. + */ + unbusycg(cgc); + /* + * If there are no more unreferenced inodes, there is no need to + * check other cylinder groups. + */ + if (fs->fs_unrefs == 0) { + //printf("No more unreferenced inodes (cg=%d/%d).\n", cg, + // fs->fs_ncg); + break; + } + } + /* Write back modified cylinder groups. */ + putcgs(); + /* Write back updated statistics and super-block. */ + putdisk(); +} --- sbin/fsck_ffs/inode.c.orig +++ sbin/fsck_ffs/inode.c @@ -329,10 +329,10 @@ lastinum += fullcnt; } /* - * If bread returns an error, it will already have zeroed + * If blread returns an error, it will already have zeroed * out the buffer, so we do not need to do so here. */ - (void)bread(fsreadfd, inodebuf, dblk, size); + (void)blread(fsreadfd, inodebuf, dblk, size); nextinop = inodebuf; } dp = (union dinode *)nextinop; --- sbin/fsck_ffs/main.c.orig +++ sbin/fsck_ffs/main.c @@ -237,6 +237,29 @@ exit(7); /* Filesystem clean, report it now */ exit(0); } + if (preen && skipclean) { + /* + * If file system is gjournaled, check it here. + */ + if ((fsreadfd = open(filesys, O_RDONLY)) < 0 || readsb(0) == 0) + exit(3); /* Cannot read superblock */ + close(fsreadfd); + if ((sblock.fs_flags & FS_GJOURNAL) != 0) { + //printf("GJournaled file system detected on %s.\n", + // filesys); + if (sblock.fs_clean == 1) { + pwarn("FILE SYSTEM CLEAN; SKIPPING CHECKS\n"); + exit(0); + } + if ((sblock.fs_flags & (FS_UNCLEAN | FS_NEEDSFSCK)) == 0) { + gjournal_check(filesys); + exit(0); + } else { + pfatal("UNEXPECTED INCONSISTENCY, %s\n", + "CANNOT RUN FAST FSCK\n"); + } + } + } /* * If we are to do a background check: * Get the mount point information of the file system @@ -437,7 +460,7 @@ * Write out the duplicate super blocks */ for (cylno = 0; cylno < sblock.fs_ncg; cylno++) - bwrite(fswritefd, (char *)&sblock, + blwrite(fswritefd, (char *)&sblock, fsbtodb(&sblock, cgsblock(&sblock, cylno)), SBLOCKSIZE); } --- sbin/fsck_ffs/pass5.c.orig +++ sbin/fsck_ffs/pass5.c @@ -164,6 +164,7 @@ pfatal("CG %d: BAD MAGIC NUMBER\n", c); newcg->cg_time = cg->cg_time; newcg->cg_old_time = cg->cg_old_time; + newcg->cg_unrefs = cg->cg_unrefs; newcg->cg_cgx = c; dbase = cgbase(fs, c); dmax = dbase + fs->fs_fpg; --- sbin/fsck_ffs/setup.c.orig +++ sbin/fsck_ffs/setup.c @@ -249,7 +249,7 @@ for (i = 0, j = 0; i < sblock.fs_cssize; i += sblock.fs_bsize, j++) { size = sblock.fs_cssize - i < sblock.fs_bsize ? sblock.fs_cssize - i : sblock.fs_bsize; - if (bread(fsreadfd, (char *)sblock.fs_csp + i, + if (blread(fsreadfd, (char *)sblock.fs_csp + i, fsbtodb(&sblock, sblock.fs_csaddr + j * sblock.fs_frag), size) != 0 && !asked) { pfatal("BAD SUMMARY INFORMATION"); @@ -322,7 +322,7 @@ if (bflag) { super = bflag; - if ((bread(fsreadfd, (char *)&sblock, super, (long)SBLOCKSIZE))) + if ((blread(fsreadfd, (char *)&sblock, super, (long)SBLOCKSIZE))) return (0); if (sblock.fs_magic == FS_BAD_MAGIC) { fprintf(stderr, BAD_MAGIC_MSG); @@ -337,7 +337,7 @@ } else { for (i = 0; sblock_try[i] != -1; i++) { super = sblock_try[i] / dev_bsize; - if ((bread(fsreadfd, (char *)&sblock, super, + if ((blread(fsreadfd, (char *)&sblock, super, (long)SBLOCKSIZE))) return (0); if (sblock.fs_magic == FS_BAD_MAGIC) { --- sbin/fsdb/fsdb.c.orig +++ sbin/fsdb/fsdb.c @@ -620,7 +620,7 @@ uint32_t idblk[MAXNINDIR]; int i; - bread(fsreadfd, (char *)idblk, fsbtodb(&sblock, blk), (int)sblock.fs_bsize); + blread(fsreadfd, (char *)idblk, fsbtodb(&sblock, blk), (int)sblock.fs_bsize); if (ind_level <= 0) { if (find_blks32(idblk, sblock.fs_bsize / sizeof(uint32_t), wantedblk)) return 1; @@ -662,7 +662,7 @@ uint64_t idblk[MAXNINDIR]; int i; - bread(fsreadfd, (char *)idblk, fsbtodb(&sblock, blk), (int)sblock.fs_bsize); + blread(fsreadfd, (char *)idblk, fsbtodb(&sblock, blk), (int)sblock.fs_bsize); if (ind_level <= 0) { if (find_blks64(idblk, sblock.fs_bsize / sizeof(uint64_t), wantedblk)) return 1; --- sbin/fsdb/fsdb.h.orig +++ sbin/fsdb/fsdb.h @@ -30,8 +30,7 @@ * $FreeBSD: src/sbin/fsdb/fsdb.h,v 1.10.14.1 2006/05/21 09:04:31 maxim Exp $ */ -extern int bread(int fd, char *buf, ufs2_daddr_t blk, long size); -extern void bwrite(int fd, char *buf, ufs2_daddr_t blk, long size); +extern int blread(int fd, char *buf, ufs2_daddr_t blk, long size); extern void rwerror(const char *mesg, ufs2_daddr_t blk); extern int reply(const char *question); --- sbin/geom/class/Makefile.orig +++ sbin/geom/class/Makefile @@ -4,6 +4,7 @@ .if !defined(NO_CRYPT) && !defined(NO_OPENSSL) SUBDIR+=eli .endif +SUBDIR+=journal SUBDIR+=label SUBDIR+=mirror SUBDIR+=nop --- /dev/null Tue Oct 24 16:33:50 2006 +++ sbin/geom/class/journal/Makefile Tue Oct 24 16:34:01 2006 @@ -0,0 +1,14 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../misc + +CLASS= journal +SRCS+= geom_journal_ufs.c + +DPADD= ${LIBMD} ${LIBUFS} +LDADD= -lmd -lufs + +NO_MAN= +CFLAGS+=-I${.CURDIR}/../../../../sys + +.include --- /dev/null Tue Oct 24 16:33:50 2006 +++ sbin/geom/class/journal/geom_journal.c Tue Oct 24 16:34:04 2006 @@ -0,0 +1,340 @@ +/*- + * Copyright (c) 2005-2006 Pawel Jakub Dawidek + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + +#include +__FBSDID("$FreeBSD"); + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "geom_journal.h" + + +uint32_t lib_version = G_LIB_VERSION; +uint32_t version = G_JOURNAL_VERSION; + +static intmax_t default_jsize = -1; + +static void journal_main(struct gctl_req *req, unsigned flags); +static void journal_clear(struct gctl_req *req); +static void journal_dump(struct gctl_req *req); +static void journal_label(struct gctl_req *req); + +struct g_command class_commands[] = { + { "clear", G_FLAG_VERBOSE, journal_main, G_NULL_OPTS, + "[-v] prov ..." + }, + { "dump", 0, journal_main, G_NULL_OPTS, + "prov ..." + }, + { "label", G_FLAG_VERBOSE, journal_main, + { + { 'c', "checksum", NULL, G_TYPE_NONE }, + { 'f', "force", NULL, G_TYPE_NONE }, + { 'h', "hardcode", NULL, G_TYPE_NONE }, + { 's', "jsize", &default_jsize, G_TYPE_NUMBER }, + G_OPT_SENTINEL + }, + "[-cfhv] [-s jsize] dataprov [jprov]" + }, + { "stop", G_FLAG_VERBOSE, NULL, + { + { 'f', "force", NULL, G_TYPE_NONE }, + G_OPT_SENTINEL + }, + "[-fv] name ..." + }, + { "sync", G_FLAG_VERBOSE, NULL, G_NULL_OPTS, + "[-v]" + }, + G_CMD_SENTINEL +}; + +static int verbose = 0; + +static void +journal_main(struct gctl_req *req, unsigned flags) +{ + const char *name; + + if ((flags & G_FLAG_VERBOSE) != 0) + verbose = 1; + + name = gctl_get_ascii(req, "verb"); + if (name == NULL) { + gctl_error(req, "No '%s' argument.", "verb"); + return; + } + if (strcmp(name, "label") == 0) + journal_label(req); + else if (strcmp(name, "clear") == 0) + journal_clear(req); + else if (strcmp(name, "dump") == 0) + journal_dump(req); + else + gctl_error(req, "Unknown command: %s.", name); +} + +static int +g_journal_fs_exists(const char *prov) +{ + + if (g_journal_ufs_exists(prov)) + return (1); +#if 0 + if (g_journal_otherfs_exists(prov)) + return (1); +#endif + return (0); +} + +static int +g_journal_fs_using_last_sector(const char *prov) +{ + + if (g_journal_ufs_using_last_sector(prov)) + return (1); +#if 0 + if (g_journal_otherfs_using_last_sector(prov)) + return (1); +#endif + return (0); +} + +static void +journal_label(struct gctl_req *req) +{ + struct g_journal_metadata md; + const char *data, *journal, *str; + u_char sector[512]; + intmax_t jsize, msize, ssize; + int error, force, i, nargs, checksum, hardcode; + + nargs = gctl_get_int(req, "nargs"); + + strlcpy(md.md_magic, G_JOURNAL_MAGIC, sizeof(md.md_magic)); + md.md_version = G_JOURNAL_VERSION; + md.md_id = arc4random(); + md.md_joffset = 0; + md.md_jid = 0; + md.md_flags = GJ_FLAG_CLEAN; + checksum = gctl_get_int(req, "checksum"); + if (checksum) + md.md_flags |= GJ_FLAG_CHECKSUM; + force = gctl_get_int(req, "force"); + hardcode = gctl_get_int(req, "hardcode"); + + if (nargs != 1 && nargs != 2) { + gctl_error(req, "Invalid number of arguments."); + return; + } + + /* Verify the given providers. */ + for (i = 0; i < nargs; i++) { + str = gctl_get_ascii(req, "arg%d", i); + if (g_get_mediasize(str) == 0) { + gctl_error(req, "Invalid provider %s.", str); + return; + } + } + + data = gctl_get_ascii(req, "arg0"); + jsize = gctl_get_intmax(req, "jsize"); + journal = NULL; + switch (nargs) { + case 1: + if (!force && g_journal_fs_exists(data)) { + gctl_error(req, "File system exists on %s and this " + "operation is going to destroy it. Use -f if you " + "really want to do it.", data); + return; + } + journal = data; + if (jsize == -1) { + /* + * No journal size specified. 1GB should be safe + * default. + */ + jsize = 1073741824ULL; + } + msize = g_get_mediasize(data); + ssize = g_get_sectorsize(data); + if (jsize + ssize >= msize) { + gctl_error(req, "Provider too small for journalling. " + "You can try smaller jsize (default is %jd).", + jsize); + return; + } + md.md_jstart = msize - ssize - jsize; + md.md_jend = msize - ssize; + break; + case 2: + if (!force && g_journal_fs_using_last_sector(data)) { + gctl_error(req, "File system on %s is using the last " + "sector and this operation is going to overwrite " + "it. Use -f if you really want to do it.", data); + return; + } + journal = gctl_get_ascii(req, "arg1"); + if (jsize != -1) { + gctl_error(req, "jsize argument is valid only for " + "all-in-one configuration."); + return; + } + msize = g_get_mediasize(journal); + ssize = g_get_sectorsize(journal); + md.md_jstart = 0; + md.md_jend = msize - ssize; + break; + } + + if (g_get_sectorsize(data) != g_get_sectorsize(journal)) { + gctl_error(req, "Not equal sector sizes."); + return; + } + + /* + * Clear last sector first, to spoil all components if device exists. + */ + for (i = 0; i < nargs; i++) { + str = gctl_get_ascii(req, "arg%d", i); + error = g_metadata_clear(str, NULL); + if (error != 0) { + gctl_error(req, "Cannot clear metadata on %s: %s.", str, + strerror(error)); + return; + } + } + + /* + * Ok, store metadata. + */ + for (i = 0; i < nargs; i++) { + switch (i) { + case 0: + str = data; + md.md_type = GJ_TYPE_DATA; + if (nargs == 1) + md.md_type |= GJ_TYPE_JOURNAL; + break; + case 1: + str = journal; + md.md_type = GJ_TYPE_JOURNAL; + break; + } + md.md_provsize = g_get_mediasize(str); + assert(md.md_provsize != 0); + if (!hardcode) + bzero(md.md_provider, sizeof(md.md_provider)); + else { + if (strncmp(str, _PATH_DEV, strlen(_PATH_DEV)) == 0) + str += strlen(_PATH_DEV); + strlcpy(md.md_provider, str, sizeof(md.md_provider)); + } + journal_metadata_encode(&md, sector); + error = g_metadata_store(str, sector, sizeof(sector)); + if (error != 0) { + fprintf(stderr, "Cannot store metadata on %s: %s.\n", + str, strerror(error)); + gctl_error(req, "Not fully done."); + continue; + } + if (verbose) + printf("Metadata value stored on %s.\n", str); + } +} + +static void +journal_clear(struct gctl_req *req) +{ + const char *name; + int error, i, nargs; + + nargs = gctl_get_int(req, "nargs"); + if (nargs < 1) { + gctl_error(req, "Too few arguments."); + return; + } + + for (i = 0; i < nargs; i++) { + name = gctl_get_ascii(req, "arg%d", i); + error = g_metadata_clear(name, G_JOURNAL_MAGIC); + if (error != 0) { + fprintf(stderr, "Cannot clear metadata on %s: %s.\n", + name, strerror(error)); + gctl_error(req, "Not fully done."); + continue; + } + if (verbose) + printf("Metadata cleared on %s.\n", name); + } +} + +static void +journal_dump(struct gctl_req *req) +{ + struct g_journal_metadata md, tmpmd; + const char *name; + int error, i, nargs; + + nargs = gctl_get_int(req, "nargs"); + if (nargs < 1) { + gctl_error(req, "Too few arguments."); + return; + } + + for (i = 0; i < nargs; i++) { + name = gctl_get_ascii(req, "arg%d", i); + error = g_metadata_read(name, (u_char *)&tmpmd, sizeof(tmpmd), + G_JOURNAL_MAGIC); + if (error != 0) { + fprintf(stderr, "Cannot read metadata from %s: %s.\n", + name, strerror(error)); + gctl_error(req, "Not fully done."); + continue; + } + if (journal_metadata_decode((u_char *)&tmpmd, &md) != 0) { + fprintf(stderr, "MD5 hash mismatch for %s, skipping.\n", + name); + gctl_error(req, "Not fully done."); + continue; + } + printf("Metadata on %s:\n", name); + journal_metadata_dump(&md); + printf("\n"); + } +} --- /dev/null Tue Oct 24 16:33:50 2006 +++ sbin/geom/class/journal/geom_journal.h Tue Oct 24 16:34:07 2006 @@ -0,0 +1,33 @@ +/*- + * Copyright (c) 2006 Pawel Jakub Dawidek + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * $FreeBSD$ + */ + +#ifndef _GEOM_JOURNAL_H_ +#define _GEOM_JOURNAL_H_ +int g_journal_ufs_exists(const char *prov); +int g_journal_ufs_using_last_sector(const char *prov); +#endif /* !_GEOM_JOURNAL_H_ */ --- /dev/null Tue Oct 24 16:33:50 2006 +++ sbin/geom/class/journal/geom_journal_ufs.c Tue Oct 24 16:34:09 2006 @@ -0,0 +1,78 @@ +/*- + * Copyright (c) 2006 Pawel Jakub Dawidek + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + +#include +__FBSDID("$FreeBSD"); + +#include +#include +#include + +#include +#include + +#include +#include +#include +#include + +#include "geom_journal.h" + +static struct fs * +read_superblock(const char *prov) +{ + static struct uufsd disk; + struct fs *fs; + + if (ufs_disk_fillout(&disk, prov) == -1) + return (NULL); + fs = &disk.d_fs; + ufs_disk_close(&disk); + return (fs); +} + +int +g_journal_ufs_exists(const char *prov) +{ + + return (read_superblock(prov) != NULL); +} + +int +g_journal_ufs_using_last_sector(const char *prov) +{ + struct fs *fs; + off_t psize, fssize; + + fs = read_superblock(prov); + if (fs == NULL) + return (0); + /* Provider size in 512 bytes blocks. */ + psize = g_get_mediasize(prov) / DEV_BSIZE; + /* File system size in 512 bytes blocks. */ + fssize = fsbtodb(fs, dbtofsb(fs, psize)); + return (psize == fssize); +} --- sbin/growfs/debug.c.orig +++ sbin/growfs/debug.c @@ -281,6 +281,8 @@ */ fprintf(dbg_log, "maxbsize int32_t 0x%08x\n", sb->fs_maxbsize); + fprintf(dbg_log, "unrefs int64_t 0x%08x\n", + sb->fs_unrefs); fprintf(dbg_log, "sblockloc int64_t 0x%08x%08x\n", ((unsigned int *)&(sb->fs_sblockloc))[1], ((unsigned int *)&(sb->fs_sblockloc))[0]); @@ -399,6 +401,7 @@ cgr->cg_nclusterblks); fprintf(dbg_log, "niblk int32_t 0x%08x\n", cgr->cg_niblk); fprintf(dbg_log, "initediblk int32_t 0x%08x\n", cgr->cg_initediblk); + fprintf(dbg_log, "unrefs int32_t 0x%08x\n", cgr->cg_unrefs); fprintf(dbg_log, "time ufs_time_t %10u\n", (unsigned int)cgr->cg_initediblk); --- sbin/mount/mount.c.orig +++ sbin/mount/mount.c @@ -106,6 +106,7 @@ { MNT_SOFTDEP, "soft-updates" }, { MNT_MULTILABEL, "multilabel" }, { MNT_ACLS, "acls" }, + { MNT_GJOURNAL, "gjournal" }, { 0, NULL } }; @@ -773,6 +774,7 @@ if (flags & MNT_SUIDDIR) res = catopt(res, "suiddir"); if (flags & MNT_MULTILABEL) res = catopt(res, "multilabel"); if (flags & MNT_ACLS) res = catopt(res, "acls"); + if (flags & MNT_GJOURNAL) res = catopt(res, "gjournal"); return res; } --- sbin/newfs/mkfs.c.orig +++ sbin/newfs/mkfs.c @@ -135,6 +135,8 @@ sblock.fs_flags |= FS_DOSOFTDEP; if (Lflag) strlcpy(sblock.fs_volname, volumelabel, MAXVOLLEN); + if (Jflag) + sblock.fs_flags |= FS_GJOURNAL; if (lflag) sblock.fs_flags |= FS_MULTILABEL; /* --- sbin/newfs/newfs.8.orig +++ sbin/newfs/newfs.8 @@ -36,7 +36,7 @@ .Nd construct a new UFS1/UFS2 file system .Sh SYNOPSIS .Nm -.Op Fl NUln +.Op Fl JNUln .Op Fl L Ar volname .Op Fl O Ar filesystem-type .Op Fl S Ar sector-size @@ -77,6 +77,8 @@ .Pp The following options define the general layout policies: .Bl -tag -width indent +.It Fl J +Enable journaling on the new file system via gjournal. .It Fl L Ar volname Add a volume label to the new file system. .It Fl N --- sbin/newfs/newfs.c.orig +++ sbin/newfs/newfs.c @@ -117,6 +117,7 @@ int Rflag; /* regression test */ int Uflag; /* enable soft updates for file system */ int Eflag = 0; /* exit in middle of newfs for testing */ +int Jflag; /* enable gjournal for file system */ int lflag; /* enable multilabel for file system */ int nflag; /* do not create .snap directory */ quad_t fssize; /* file system size */ @@ -156,11 +157,14 @@ off_t mediasize; while ((ch = getopt(argc, argv, - "EL:NO:RS:T:Ua:b:c:d:e:f:g:h:i:lm:no:s:")) != -1) + "EJL:NO:RS:T:Ua:b:c:d:e:f:g:h:i:lm:no:s:")) != -1) switch (ch) { case 'E': Eflag++; break; + case 'J': + Jflag = 1; + break; case 'L': volumelabel = optarg; i = -1; --- sbin/newfs/newfs.h.orig +++ sbin/newfs/newfs.h @@ -49,6 +49,7 @@ extern int Rflag; /* regression test */ extern int Uflag; /* enable soft updates for file system */ extern int Eflag; /* exit as if error, for testing */ +extern int Jflag; /* enable gjournal for file system */ extern int lflag; /* enable multilabel MAC for file system */ extern int nflag; /* do not create .snap directory */ extern quad_t fssize; /* file system size */ --- sbin/tunefs/tunefs.8.orig +++ sbin/tunefs/tunefs.8 @@ -40,6 +40,7 @@ .Op Fl a Cm enable | disable .Op Fl e Ar maxbpg .Op Fl f Ar avgfilesize +.Op Fl J Cm enable | disable .Op Fl L Ar volname .Op Fl l Cm enable | disable .Op Fl m Ar minfree @@ -87,6 +88,8 @@ this parameter should be set higher. .It Fl f Ar avgfilesize Specify the expected average file size. +.It Fl J Cm enable | disable +Turn on/off GJournal flag. .It Fl L Ar volname Add/modify an optional file system volume label. .It Fl l Cm enable | disable --- sbin/tunefs/tunefs.c.orig +++ sbin/tunefs/tunefs.c @@ -76,11 +76,11 @@ int main(int argc, char *argv[]) { - char *avalue, *Lvalue, *lvalue, *nvalue; + char *avalue, *Jvalue, *Lvalue, *lvalue, *nvalue; const char *special, *on; const char *name; int active; - int Aflag, aflag, eflag, evalue, fflag, fvalue, Lflag, lflag; + int Aflag, aflag, eflag, evalue, fflag, fvalue, Jflag, Lflag, lflag; int mflag, mvalue, nflag, oflag, ovalue, pflag, sflag, svalue; int ch, found_arg, i; const char *chg[2]; @@ -89,13 +89,13 @@ if (argc < 3) usage(); - Aflag = aflag = eflag = fflag = Lflag = lflag = mflag = 0; + Aflag = aflag = eflag = fflag = Jflag = Lflag = lflag = mflag = 0; nflag = oflag = pflag = sflag = 0; - avalue = Lvalue = lvalue = nvalue = NULL; + avalue = Jvalue = Lvalue = lvalue = nvalue = NULL; evalue = fvalue = mvalue = ovalue = svalue = 0; active = 0; found_arg = 0; /* At least one arg is required. */ - while ((ch = getopt(argc, argv, "Aa:e:f:L:l:m:n:o:ps:")) != -1) + while ((ch = getopt(argc, argv, "Aa:e:f:J:L:l:m:n:o:ps:")) != -1) switch (ch) { case 'A': @@ -135,6 +135,19 @@ fflag = 1; break; + case 'J': + found_arg = 1; + name = "gjournaled file system"; + Jvalue = optarg; + if (strcmp(Jvalue, "enable") && + strcmp(Jvalue, "disable")) { + errx(10, "bad %s (options are %s)", + name, "`enable' or `disable'"); + } + Jflag = 1; + break; + + case 'L': found_arg = 1; name = "volume label"; @@ -282,6 +295,26 @@ sblock.fs_avgfilesize = fvalue; } } + if (Jflag) { + name = "gjournal"; + if (strcmp(Jvalue, "enable") == 0) { + if (sblock.fs_flags & FS_GJOURNAL) { + warnx("%s remains unchanged as enabled", name); + } else { + sblock.fs_flags |= FS_GJOURNAL; + warnx("%s set", name); + } + } else if (strcmp(Jvalue, "disable") == 0) { + if ((~sblock.fs_flags & FS_GJOURNAL) == + FS_GJOURNAL) { + warnx("%s remains unchanged as disabled", + name); + } else { + sblock.fs_flags &= ~FS_GJOURNAL; + warnx("%s cleared", name); + } + } + } if (lflag) { name = "multilabel"; if (strcmp(lvalue, "enable") == 0) { @@ -389,8 +422,8 @@ { fprintf(stderr, "%s\n%s\n%s\n%s\n", "usage: tunefs [-A] [-a enable | disable] [-e maxbpg] [-f avgfilesize]", -" [-L volname] [-l enable | disable] [-m minfree]", -" [-n enable | disable] [-o space | time] [-p]", +" [-J enable | disable ] [-L volname] [-l enable | disable]", +" [-m minfree] [-n enable | disable] [-o space | time] [-p]", " [-s avgfpdir] special | filesystem"); exit(2); } @@ -404,6 +437,8 @@ (sblock.fs_flags & FS_MULTILABEL)? "enabled" : "disabled"); warnx("soft updates: (-n) %s", (sblock.fs_flags & FS_DOSOFTDEP)? "enabled" : "disabled"); + warnx("gjournal: (-J) %s", + (sblock.fs_flags & FS_GJOURNAL)? "enabled" : "disabled"); warnx("maximum blocks per file in a cylinder group: (-e) %d", sblock.fs_maxbpg); warnx("average file size: (-f) %d", --- share/man/man5/fs.5.orig +++ share/man/man5/fs.5 @@ -153,7 +153,8 @@ u_int *fs_active; /* used by snapshots to track fs */ int32_t fs_old_cpc; /* cyl per cycle in postbl */ int32_t fs_maxbsize; /* maximum blocking factor permitted */ - int64_t fs_sparecon64[17]; /* old rotation block list head */ + int64_t fs_unrefs; /* number of unreferenced inodes */ + int64_t fs_sparecon64[16]; /* old rotation block list head */ int64_t fs_sblockloc; /* byte offset of standard superblock */ struct csum_total fs_cstotal; /* cylinder summary information */ ufs_time_t fs_time; /* last time written */ --- sys/cam/scsi/scsi_da.c.orig +++ sys/cam/scsi/scsi_da.c @@ -1163,6 +1163,8 @@ softc->disk->d_maxsize = DFLTPHYS; /* XXX: probably not arbitrary */ softc->disk->d_unit = periph->unit_number; softc->disk->d_flags = DISKFLAG_NEEDSGIANT; + if ((softc->quirks & DA_Q_NO_SYNC_CACHE) == 0) + softc->disk->d_flags |= DISKFLAG_CANFLUSHCACHE; disk_create(softc->disk, DISK_VERSION); /* @@ -1234,20 +1236,35 @@ } else { tag_code = MSG_SIMPLE_Q_TAG; } - scsi_read_write(&start_ccb->csio, - /*retries*/da_retry_count, - /*cbfcnp*/dadone, - /*tag_action*/tag_code, - /*read_op*/bp->bio_cmd == BIO_READ, - /*byte2*/0, - softc->minimum_cmd_size, - /*lba*/bp->bio_pblkno, - /*block_count*/bp->bio_bcount / - softc->params.secsize, - /*data_ptr*/ bp->bio_data, - /*dxfer_len*/ bp->bio_bcount, - /*sense_len*/SSD_FULL_SIZE, - /*timeout*/da_default_timeout*1000); + switch (bp->bio_cmd) { + case BIO_READ: + case BIO_WRITE: + scsi_read_write(&start_ccb->csio, + /*retries*/da_retry_count, + /*cbfcnp*/dadone, + /*tag_action*/tag_code, + /*read_op*/bp->bio_cmd == BIO_READ, + /*byte2*/0, + softc->minimum_cmd_size, + /*lba*/bp->bio_pblkno, + /*block_count*/bp->bio_bcount / + softc->params.secsize, + /*data_ptr*/ bp->bio_data, + /*dxfer_len*/ bp->bio_bcount, + /*sense_len*/SSD_FULL_SIZE, + /*timeout*/da_default_timeout*1000); + break; + case BIO_FLUSH: + scsi_synchronize_cache(&start_ccb->csio, + /*retries*/1, + /*cbfcnp*/dadone, + MSG_SIMPLE_Q_TAG, + /*begin_lba*/0,/* Cover the whole disk */ + /*lb_count*/0, + SSD_FULL_SIZE, + /*timeout*/da_default_timeout*1000); + break; + } start_ccb->ccb_h.ccb_state = DA_CCB_BUFFER_IO; /* --- sys/conf/NOTES.orig +++ sys/conf/NOTES @@ -135,6 +135,7 @@ options GEOM_FOX # Redundant path mitigation options GEOM_GATE # Userland services. options GEOM_GPT # GPT partitioning +options GEOM_JOURNAL # Journaling. options GEOM_LABEL # Providers labelization. options GEOM_MBR # DOS/MBR partitioning options GEOM_MIRROR # Disk mirroring. @@ -877,6 +878,9 @@ # directories at the expense of some memory. options UFS_DIRHASH +# Gjournal-based UFS journaling support. +options UFS_GJOURNAL + # Make space in the kernel for a root filesystem on a md device. # Define to the number of kilobytes to reserve for the filesystem. options MD_ROOT_SIZE=10 --- sys/conf/files.orig +++ sys/conf/files @@ -1125,6 +1125,8 @@ geom/geom_sunlabel_enc.c optional geom_sunlabel geom/geom_vfs.c standard geom/geom_vol_ffs.c optional geom_vol +geom/journal/g_journal.c optional geom_journal +geom/journal/g_journal_ufs.c optional geom_journal geom/label/g_label.c optional geom_label geom/label/g_label_ext2fs.c optional geom_label geom/label/g_label_iso9660.c optional geom_label @@ -1890,6 +1892,7 @@ ufs/ufs/ufs_bmap.c optional ffs ufs/ufs/ufs_dirhash.c optional ffs ufs/ufs/ufs_extattr.c optional ffs +ufs/ufs/ufs_gjournal.c optional ffs ufs/ufs/ufs_inode.c optional ffs ufs/ufs/ufs_lookup.c optional ffs ufs/ufs/ufs_quota.c optional ffs --- sys/conf/options.orig +++ sys/conf/options @@ -83,6 +83,7 @@ GEOM_FOX opt_geom.h GEOM_GATE opt_geom.h GEOM_GPT opt_geom.h +GEOM_JOURNAL opt_geom.h GEOM_LABEL opt_geom.h GEOM_MBR opt_geom.h GEOM_MIRROR opt_geom.h @@ -235,6 +236,9 @@ # Enable fast hash lookups for large directories on UFS-based filesystems. UFS_DIRHASH opt_ufs.h +# Enable gjournal-based UFS journal. +UFS_GJOURNAL opt_ufs.h + # The below sentence is not in English, and neither is this one. # We plan to remove the static dependences above, with a # _ROOT option to control if it usable as root. This list --- sys/dev/amr/amr.c.orig +++ sys/dev/amr/amr.c @@ -1287,7 +1287,7 @@ int driveno; int cmd; - ac = NULL; + *acp = NULL; error = 0; /* get a command */ @@ -1305,39 +1305,50 @@ ac->ac_bio = bio; ac->ac_data = bio->bio_data; ac->ac_length = bio->bio_bcount; - if (bio->bio_cmd == BIO_READ) { + cmd = 0; + switch (bio->bio_cmd) { + case BIO_READ: ac->ac_flags |= AMR_CMD_DATAIN; if (AMR_IS_SG64(sc)) { cmd = AMR_CMD_LREAD64; ac->ac_flags |= AMR_CMD_SG64; } else cmd = AMR_CMD_LREAD; - } else { + break; + case BIO_WRITE: ac->ac_flags |= AMR_CMD_DATAOUT; if (AMR_IS_SG64(sc)) { cmd = AMR_CMD_LWRITE64; ac->ac_flags |= AMR_CMD_SG64; } else cmd = AMR_CMD_LWRITE; + break; + case BIO_FLUSH: + ac->ac_flags |= AMR_CMD_PRIORITY | AMR_CMD_DATAOUT; + cmd = AMR_CMD_FLUSH; + break; } amrd = (struct amrd_softc *)bio->bio_disk->d_drv1; driveno = amrd->amrd_drive - sc->amr_drive; blkcount = (bio->bio_bcount + AMR_BLKSIZE - 1) / AMR_BLKSIZE; ac->ac_mailbox.mb_command = cmd; - ac->ac_mailbox.mb_blkcount = blkcount; - ac->ac_mailbox.mb_lba = bio->bio_pblkno; + if (bio->bio_cmd & (BIO_READ|BIO_WRITE)) { + ac->ac_mailbox.mb_blkcount = blkcount; + ac->ac_mailbox.mb_lba = bio->bio_pblkno; + if ((bio->bio_pblkno + blkcount) > sc->amr_drive[driveno].al_size) { + device_printf(sc->amr_dev, + "I/O beyond end of unit (%lld,%d > %lu)\n", + (long long)bio->bio_pblkno, blkcount, + (u_long)sc->amr_drive[driveno].al_size); + } + } ac->ac_mailbox.mb_drive = driveno; if (sc->amr_state & AMR_STATE_REMAP_LD) ac->ac_mailbox.mb_drive |= 0x80; /* we fill in the s/g related data when the command is mapped */ - if ((bio->bio_pblkno + blkcount) > sc->amr_drive[driveno].al_size) - device_printf(sc->amr_dev, "I/O beyond end of unit (%lld,%d > %lu)\n", - (long long)bio->bio_pblkno, blkcount, - (u_long)sc->amr_drive[driveno].al_size); - *acp = ac; return(error); } --- sys/dev/amr/amr_disk.c.orig +++ sys/dev/amr/amr_disk.c @@ -236,7 +236,7 @@ sc->amrd_disk->d_name = "amrd"; sc->amrd_disk->d_dump = (dumper_t *)amrd_dump; sc->amrd_disk->d_unit = sc->amrd_unit; - sc->amrd_disk->d_flags = 0; + sc->amrd_disk->d_flags = DISKFLAG_CANFLUSHCACHE; sc->amrd_disk->d_sectorsize = AMR_BLKSIZE; sc->amrd_disk->d_mediasize = (off_t)sc->amrd_drive->al_size * AMR_BLKSIZE; sc->amrd_disk->d_fwsectors = sc->amrd_drive->al_sectors; --- sys/dev/ata/ata-disk.c.orig +++ sys/dev/ata/ata-disk.c @@ -151,6 +151,8 @@ adp->disk->d_fwsectors = adp->sectors; adp->disk->d_fwheads = adp->heads; adp->disk->d_unit = device_get_unit(dev); + if (atadev->param.support.command2 & ATA_SUPPORT_FLUSHCACHE) + adp->disk->d_flags = DISKFLAG_CANFLUSHCACHE; disk_create(adp->disk, DISK_VERSION); device_add_child(dev, "subdisk", device_get_unit(dev)); bus_generic_attach(dev); @@ -260,6 +262,17 @@ else request->u.ata.command = ATA_WRITE; break; + case BIO_FLUSH: + request->u.ata.lba = 0; + request->u.ata.count = 0; + request->u.ata.feature = 0; + request->bytecount = 0; + request->transfersize = 0; + request->timeout = 1; + request->retries = 0; + request->flags = ATA_R_CONTROL; + request->u.ata.command = ATA_FLUSHCACHE; + break; default: device_printf(dev, "FAILURE - unknown BIO operation\n"); ata_free_request(request); --- sys/dev/ata/ata-raid.c.orig +++ sys/dev/ata/ata-raid.c @@ -146,6 +146,21 @@ rdp->disk->d_maxsize = 128 * DEV_BSIZE; rdp->disk->d_drv1 = rdp; rdp->disk->d_unit = rdp->lun; + /* we support flushing cache if all components support it */ + /* XXX: not all components can be connected at this point */ + rdp->disk->d_flags = DISKFLAG_CANFLUSHCACHE; + for (disk = 0; disk < rdp->total_disks; disk++) { + struct ata_device *atadev; + + if (rdp->disks[disk].dev == NULL) + continue; + if ((atadev = device_get_softc(rdp->disks[disk].dev)) == NULL) + continue; + if (atadev->param.support.command2 & ATA_SUPPORT_FLUSHCACHE) + continue; + rdp->disk->d_flags = 0; + break; + } disk_create(rdp->disk, DISK_VERSION); printf("ar%d: %juMB <%s %s%s> status: %s\n", rdp->lun, @@ -229,6 +244,39 @@ return error; } +static int +ata_raid_flush(struct bio *bp) +{ + struct ar_softc *rdp = bp->bio_disk->d_drv1; + struct ata_request *request; + device_t dev; + int disk, error; + + error = 0; + bp->bio_pflags = 0; + + for (disk = 0; disk < rdp->total_disks; disk++) { + if ((dev = rdp->disks[disk].dev) != NULL) + bp->bio_pflags++; + } + for (disk = 0; disk < rdp->total_disks; disk++) { + if ((dev = rdp->disks[disk].dev) == NULL) + continue; + if (!(request = ata_raid_init_request(rdp, bp))) + return ENOMEM; + request->dev = dev; + request->u.ata.command = ATA_FLUSHCACHE; + request->u.ata.lba = 0; + request->u.ata.count = 0; + request->u.ata.feature = 0; + request->timeout = 1; + request->retries = 0; + request->flags |= ATA_R_ORDERED | ATA_R_DIRECT; + ata_queue_request(request); + } + return 0; +} + static void ata_raid_strategy(struct bio *bp) { @@ -238,6 +286,15 @@ u_int64_t blkno, lba, blk = 0; int count, chunk, drv, par = 0, change = 0; + if (bp->bio_cmd == BIO_FLUSH) { + int error; + + error = ata_raid_flush(bp); + if (error != 0) + biofinish(bp, NULL, error); + return; + } + if (!(rdp->status & AR_S_READY) || (bp->bio_cmd != BIO_READ && bp->bio_cmd != BIO_WRITE)) { biofinish(bp, NULL, EIO); @@ -554,6 +611,15 @@ struct bio *bp = request->bio; int i, mirror, finished = 0; + if (bp->bio_cmd == BIO_FLUSH) { + if (bp->bio_error == 0) + bp->bio_error = request->result; + ata_free_request(request); + if (--bp->bio_pflags == 0) + biodone(bp); + return; + } + switch (rdp->type) { case AR_T_JBOD: case AR_T_SPAN: @@ -3957,6 +4023,9 @@ case BIO_WRITE: request->flags = ATA_R_WRITE; break; + case BIO_FLUSH: + request->flags = ATA_R_CONTROL; + break; } return request; } --- sys/geom/concat/g_concat.c.orig +++ sys/geom/concat/g_concat.c @@ -212,6 +212,42 @@ } static void +g_concat_flush(struct g_concat_softc *sc, struct bio *bp) +{ + struct bio_queue_head queue; + struct g_consumer *cp; + struct bio *cbp; + u_int no; + + bioq_init(&queue); + for (no = 0; no < sc->sc_ndisks; no++) { + cbp = g_clone_bio(bp); + if (cbp == NULL) { + for (cbp = bioq_first(&queue); cbp != NULL; + cbp = bioq_first(&queue)) { + bioq_remove(&queue, cbp); + g_destroy_bio(cbp); + } + if (bp->bio_error == 0) + bp->bio_error = ENOMEM; + g_io_deliver(bp, bp->bio_error); + return; + } + bioq_insert_tail(&queue, cbp); + cbp->bio_done = g_std_done; + cbp->bio_caller1 = sc->sc_disks[no].d_consumer; + cbp->bio_to = sc->sc_disks[no].d_consumer->provider; + } + for (cbp = bioq_first(&queue); cbp != NULL; cbp = bioq_first(&queue)) { + bioq_remove(&queue, cbp); + G_CONCAT_LOGREQ(cbp, "Sending request."); + cp = cbp->bio_caller1; + cbp->bio_caller1 = NULL; + g_io_request(cbp, cp); + } +} + +static void g_concat_start(struct bio *bp) { struct bio_queue_head queue; @@ -240,6 +276,9 @@ case BIO_WRITE: case BIO_DELETE: break; + case BIO_FLUSH: + g_concat_flush(sc, bp); + return; case BIO_GETATTR: /* To which provider it should be delivered? */ default: --- sys/geom/eli/g_eli.c.orig +++ sys/geom/eli/g_eli.c @@ -258,6 +258,7 @@ case BIO_READ: case BIO_WRITE: case BIO_GETATTR: + case BIO_FLUSH: break; case BIO_DELETE: /* @@ -298,6 +299,7 @@ wakeup(sc); break; case BIO_GETATTR: + case BIO_FLUSH: cbp->bio_done = g_std_done; cp = LIST_FIRST(&sc->sc_geom->consumer); cbp->bio_to = cp->provider; --- sys/geom/geom.h.orig +++ sys/geom/geom.h @@ -265,6 +265,7 @@ void g_destroy_bio(struct bio *); void g_io_deliver(struct bio *bp, int error); int g_io_getattr(const char *attr, struct g_consumer *cp, int *len, void *ptr); +int g_io_flush(struct g_consumer *cp); void g_io_request(struct bio *bp, struct g_consumer *cp); struct bio *g_new_bio(void); struct bio *g_alloc_bio(void); --- sys/geom/geom_disk.c.orig +++ sys/geom/geom_disk.c @@ -206,8 +206,10 @@ bp2->bio_inbed++; if (bp2->bio_children == bp2->bio_inbed) { bp2->bio_resid = bp2->bio_bcount - bp2->bio_completed; - if ((dp = bp2->bio_to->geom->softc)) + if ((bp2->bio_cmd & (BIO_READ|BIO_WRITE|BIO_DELETE)) && + (dp = bp2->bio_to->geom->softc)) { devstat_end_transaction_bio(dp->d_devstat, bp2); + } g_io_deliver(bp2, bp2->bio_error); } mtx_unlock(&g_disk_done_mtx); @@ -304,6 +306,24 @@ else error = ENOIOCTL; break; + case BIO_FLUSH: + g_trace(G_T_TOPOLOGY, "g_disk_flushcache(%s)", + bp->bio_to->name); + if (!(dp->d_flags & DISKFLAG_CANFLUSHCACHE)) { + g_io_deliver(bp, ENODEV); + return; + } + bp2 = g_clone_bio(bp); + if (bp2 == NULL) { + g_io_deliver(bp, ENOMEM); + return; + } + bp2->bio_done = g_disk_done; + bp2->bio_disk = dp; + g_disk_lock_giant(dp); + dp->d_strategy(bp2); + g_disk_unlock_giant(dp); + break; default: error = EOPNOTSUPP; break; --- sys/geom/geom_disk.h.orig +++ sys/geom/geom_disk.h @@ -91,6 +91,7 @@ #define DISKFLAG_NEEDSGIANT 0x1 #define DISKFLAG_OPEN 0x2 #define DISKFLAG_CANDELETE 0x4 +#define DISKFLAG_CANFLUSHCACHE 0x8 struct disk *disk_alloc(void); void disk_create(struct disk *disk, int version); --- sys/geom/geom_io.c.orig +++ sys/geom/geom_io.c @@ -199,6 +199,26 @@ return (error); } +int +g_io_flush(struct g_consumer *cp) +{ + struct bio *bp; + int error; + + g_trace(G_T_BIO, "bio_flush(%s)", cp->provider->name); + bp = g_alloc_bio(); + bp->bio_cmd = BIO_FLUSH; + bp->bio_done = NULL; + bp->bio_attribute = NULL; + bp->bio_offset = cp->provider->mediasize; + bp->bio_length = 0; + bp->bio_data = NULL; + g_io_request(bp, cp); + error = biowait(bp, "gflush"); + g_destroy_bio(bp); + return (error); +} + static int g_io_check(struct bio *bp) { @@ -217,6 +237,7 @@ break; case BIO_WRITE: case BIO_DELETE: + case BIO_FLUSH: if (cp->acw == 0) return (EPERM); break; @@ -259,10 +280,13 @@ KASSERT(cp != NULL, ("NULL cp in g_io_request")); KASSERT(bp != NULL, ("NULL bp in g_io_request")); - KASSERT(bp->bio_data != NULL, ("NULL bp->data in g_io_request")); pp = cp->provider; KASSERT(pp != NULL, ("consumer not attached in g_io_request")); + if (bp->bio_cmd & (BIO_READ|BIO_WRITE|BIO_DELETE|BIO_GETATTR)) { + KASSERT(bp->bio_data != NULL, + ("NULL bp->data in g_io_request")); + } if (bp->bio_cmd & (BIO_READ|BIO_WRITE|BIO_DELETE)) { KASSERT(bp->bio_offset % cp->provider->sectorsize == 0, ("wrong offset %jd for sectorsize %u", @@ -564,6 +588,10 @@ cmd = "GETATTR"; printf("%s[%s(attr=%s)]", pname, cmd, bp->bio_attribute); return; + case BIO_FLUSH: + cmd = "FLUSH"; + printf("%s[%s]", pname, cmd); + return; case BIO_READ: cmd = "READ"; case BIO_WRITE: --- sys/geom/geom_slice.c.orig +++ sys/geom/geom_slice.c @@ -260,6 +260,8 @@ gkd->length = gsp->slices[idx].length; /* now, pass it on downwards... */ } + /* FALLTHROUGH */ + case BIO_FLUSH: bp2 = g_clone_bio(bp); if (bp2 == NULL) { g_io_deliver(bp, ENOMEM); --- /dev/null Tue Oct 24 16:34:10 2006 +++ sys/geom/journal/g_journal.c Tue Oct 24 16:34:13 2006 @@ -0,0 +1,3024 @@ +/*- + * Copyright (c) 2005-2006 Pawel Jakub Dawidek + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + +#include +__FBSDID("$FreeBSD$"); + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#ifdef GJ_MEMDEBUG +#include +#include +#endif +#include +#include +#include + +#include + + +/* + * On-disk journal format: + * + * JH - Journal header + * RH - Record header + * + * %%%%%% ****** +------+ +------+ ****** +------+ %%%%%% + * % JH % * RH * | Data | | Data | ... * RH * | Data | ... % JH % ... + * %%%%%% ****** +------+ +------+ ****** +------+ %%%%%% + * + */ + +CTASSERT(sizeof(struct g_journal_header) <= 512); +CTASSERT(sizeof(struct g_journal_record_header) <= 512); + +static MALLOC_DEFINE(M_JOURNAL, "journal_data", "GEOM_JOURNAL Data"); +static struct mtx g_journal_cache_mtx; +MTX_SYSINIT(g_journal_cache, &g_journal_cache_mtx, "cache usage", MTX_DEF); + +const struct g_journal_desc *g_journal_filesystems[] = { + &g_journal_ufs, + NULL +}; + +SYSCTL_DECL(_kern_geom); + +int g_journal_debug = 0; +TUNABLE_INT("kern.geom.journal.debug", &g_journal_debug); +static u_int g_journal_switch_time = 10; +static u_int g_journal_force_switch = 70; +static u_int g_journal_parallel_flushes = 16; +static u_int g_journal_parallel_copies = 16; +static u_int g_journal_accept_immediately = 64; +static u_int g_journal_record_entries = GJ_RECORD_HEADER_NENTRIES; +static u_int g_journal_do_optimize = 1; + +SYSCTL_NODE(_kern_geom, OID_AUTO, journal, CTLFLAG_RW, 0, "GEOM_JOURNAL stuff"); +SYSCTL_INT(_kern_geom_journal, OID_AUTO, debug, CTLFLAG_RW, &g_journal_debug, 0, + "Debug level"); +SYSCTL_UINT(_kern_geom_journal, OID_AUTO, switch_time, CTLFLAG_RW, + &g_journal_switch_time, 0, "Switch journals every N seconds"); +SYSCTL_UINT(_kern_geom_journal, OID_AUTO, force_switch, CTLFLAG_RW, + &g_journal_force_switch, 0, "Force switch when journal is N%% full"); +SYSCTL_UINT(_kern_geom_journal, OID_AUTO, parallel_flushes, CTLFLAG_RW, + &g_journal_parallel_flushes, 0, + "Number of flush I/O requests send in parallel"); +SYSCTL_UINT(_kern_geom_journal, OID_AUTO, accept_immediately, CTLFLAG_RW, + &g_journal_accept_immediately, 0, + "Number of I/O requests accepted immediatelly"); +SYSCTL_UINT(_kern_geom_journal, OID_AUTO, parallel_copies, CTLFLAG_RW, + &g_journal_parallel_copies, 0, + "Number of copy I/O requests send in parallel"); +static int +g_journal_record_entries_sysctl(SYSCTL_HANDLER_ARGS) +{ + u_int entries; + int error; + + entries = g_journal_record_entries; + error = sysctl_handle_int(oidp, &entries, sizeof(entries), req); + if (error != 0 || req->newptr == NULL) + return (error); + if (entries < 1 || entries > GJ_RECORD_HEADER_NENTRIES) + return (EINVAL); + g_journal_record_entries = entries; + return (0); +} +SYSCTL_PROC(_kern_geom_journal, OID_AUTO, record_entries, + CTLTYPE_UINT | CTLFLAG_RW, NULL, 0, g_journal_record_entries_sysctl, "I", + "Maximum number of entires in one journal record"); +SYSCTL_UINT(_kern_geom_journal, OID_AUTO, optimize, CTLFLAG_RW, + &g_journal_do_optimize, 0, "Try to combine bios on flush and copy"); + +static u_int g_journal_cache_used = 0; +static u_int g_journal_cache_limit = 64 * 1024 * 1024; +TUNABLE_INT("kern.geom.journal.cache.limit", &g_journal_cache_limit); +static u_int g_journal_cache_divisor = 2; +TUNABLE_INT("kern.geom.journal.cache.divisor", &g_journal_cache_divisor); +static u_int g_journal_cache_switch = 90; +static u_int g_journal_cache_misses = 0; +static u_int g_journal_cache_alloc_failures = 0; +static u_int g_journal_cache_low = 0; + +SYSCTL_NODE(_kern_geom_journal, OID_AUTO, cache, CTLFLAG_RW, 0, + "GEOM_JOURNAL cache"); +SYSCTL_UINT(_kern_geom_journal_cache, OID_AUTO, used, CTLFLAG_RD, + &g_journal_cache_used, 0, "Number of allocated bytes"); +static int +g_journal_cache_limit_sysctl(SYSCTL_HANDLER_ARGS) +{ + u_int limit; + int error; + + limit = g_journal_cache_limit; + error = sysctl_handle_int(oidp, &limit, sizeof(limit), req); + if (error != 0 || req->newptr == NULL) + return (error); + g_journal_cache_limit = limit; + g_journal_cache_low = (limit / 100) * g_journal_cache_switch; + return (0); +} +SYSCTL_PROC(_kern_geom_journal_cache, OID_AUTO, limit, + CTLTYPE_UINT | CTLFLAG_RW, NULL, 0, g_journal_cache_limit_sysctl, "I", + "Maximum number of allocated bytes"); +SYSCTL_UINT(_kern_geom_journal_cache, OID_AUTO, divisor, CTLFLAG_RDTUN, + &g_journal_cache_divisor, 0, + "(kmem_size / kern.geom.journal.cache.divisor) == cache size"); +static int +g_journal_cache_switch_sysctl(SYSCTL_HANDLER_ARGS) +{ + u_int cswitch; + int error; + + cswitch = g_journal_cache_switch; + error = sysctl_handle_int(oidp, &cswitch, sizeof(cswitch), req); + if (error != 0 || req->newptr == NULL) + return (error); + if (cswitch < 0 || cswitch > 100) + return (EINVAL); + g_journal_cache_switch = cswitch; + g_journal_cache_low = (g_journal_cache_limit / 100) * cswitch; + return (0); +} +SYSCTL_PROC(_kern_geom_journal_cache, OID_AUTO, switch, + CTLTYPE_UINT | CTLFLAG_RW, NULL, 0, g_journal_cache_switch_sysctl, "I", + "Force switch when we hit this percent of cache use"); +SYSCTL_UINT(_kern_geom_journal_cache, OID_AUTO, misses, CTLFLAG_RW, + &g_journal_cache_misses, 0, "Number of cache misses"); +SYSCTL_UINT(_kern_geom_journal_cache, OID_AUTO, alloc_failures, CTLFLAG_RW, + &g_journal_cache_alloc_failures, 0, "Memory allocation failures"); + +static u_long g_journal_stats_bytes_skipped = 0; +static u_long g_journal_stats_combined_ios = 0; +static u_long g_journal_stats_switches = 0; +static u_long g_journal_stats_wait_for_copy = 0; +static u_long g_journal_stats_journal_full = 0; +static u_long g_journal_stats_low_mem = 0; + +SYSCTL_NODE(_kern_geom_journal, OID_AUTO, stats, CTLFLAG_RW, 0, + "GEOM_JOURNAL statistics"); +SYSCTL_ULONG(_kern_geom_journal_stats, OID_AUTO, skipped_bytes, CTLFLAG_RW, + &g_journal_stats_bytes_skipped, 0, "Number of skipped bytes"); +SYSCTL_ULONG(_kern_geom_journal_stats, OID_AUTO, combined_ios, CTLFLAG_RW, + &g_journal_stats_combined_ios, 0, "Number of combined I/O requests"); +SYSCTL_ULONG(_kern_geom_journal_stats, OID_AUTO, switches, CTLFLAG_RW, + &g_journal_stats_switches, 0, "Number of journal switches"); +SYSCTL_ULONG(_kern_geom_journal_stats, OID_AUTO, wait_for_copy, CTLFLAG_RW, + &g_journal_stats_wait_for_copy, 0, "Wait for journal copy on switch"); +SYSCTL_ULONG(_kern_geom_journal_stats, OID_AUTO, journal_full, CTLFLAG_RW, + &g_journal_stats_journal_full, 0, + "Number of times journal was almost full."); +SYSCTL_ULONG(_kern_geom_journal_stats, OID_AUTO, low_mem, CTLFLAG_RW, + &g_journal_stats_low_mem, 0, "Number of times low_mem hook was called."); + +static g_taste_t g_journal_taste; +static g_ctl_req_t g_journal_config; +static g_dumpconf_t g_journal_dumpconf; +static g_init_t g_journal_init; +static g_fini_t g_journal_fini; + +struct g_class g_journal_class = { + .name = G_JOURNAL_CLASS_NAME, + .version = G_VERSION, + .taste = g_journal_taste, + .ctlreq = g_journal_config, + .dumpconf = g_journal_dumpconf, + .init = g_journal_init, + .fini = g_journal_fini +}; + +static int g_journal_destroy(struct g_journal_softc *sc); +static void g_journal_metadata_update(struct g_journal_softc *sc); +static void g_journal_switch_wait(struct g_journal_softc *sc); + +#define GJ_SWITCHER_WORKING 0 +#define GJ_SWITCHER_DIE 1 +#define GJ_SWITCHER_DIED 2 +static int g_journal_switcher_state = GJ_SWITCHER_WORKING; +static int g_journal_switcher_wokenup = 0; +static int g_journal_sync_requested = 0; + +#ifdef GJ_MEMDEBUG +struct meminfo { + size_t mi_size; + struct stack mi_stack; +}; +#endif + +/* + * We use our own malloc/realloc/free funtions, so we can collect statistics + * and force journal switch when we're running out of cache. + */ +static void * +gj_malloc(size_t size, int flags) +{ + void *p; +#ifdef GJ_MEMDEBUG + struct meminfo *mi; +#endif + + mtx_lock(&g_journal_cache_mtx); + if (g_journal_cache_limit > 0 && !g_journal_switcher_wokenup && + g_journal_cache_used + size > g_journal_cache_low) { + GJ_DEBUG(1, "No cache, waking up the switcher."); + g_journal_switcher_wokenup = 1; + wakeup(&g_journal_switcher_state); + } + if ((flags & M_NOWAIT) && g_journal_cache_limit > 0 && + g_journal_cache_used + size > g_journal_cache_limit) { + mtx_unlock(&g_journal_cache_mtx); + g_journal_cache_alloc_failures++; + return (NULL); + } + g_journal_cache_used += size; + mtx_unlock(&g_journal_cache_mtx); + flags &= ~M_NOWAIT; +#ifndef GJ_MEMDEBUG + p = malloc(size, M_JOURNAL, flags | M_WAITOK); +#else + mi = malloc(sizeof(*mi) + size, M_JOURNAL, flags | M_WAITOK); + p = (u_char *)mi + sizeof(*mi); + mi->mi_size = size; + stack_save(&mi->mi_stack); +#endif + return (p); +} + +static void +gj_free(void *p, size_t size) +{ +#ifdef GJ_MEMDEBUG + struct meminfo *mi; +#endif + + KASSERT(p != NULL, ("p=NULL")); + KASSERT(size > 0, ("size=0")); + mtx_lock(&g_journal_cache_mtx); + KASSERT(g_journal_cache_used >= size, ("Freeing too much?")); + g_journal_cache_used -= size; + mtx_unlock(&g_journal_cache_mtx); +#ifdef GJ_MEMDEBUG + mi = p = (void *)((u_char *)p - sizeof(*mi)); + if (mi->mi_size != size) { + printf("GJOURNAL: Size mismatch! %zu != %zu\n", size, + mi->mi_size); + printf("GJOURNAL: Alloc backtrace:\n"); + stack_print(&mi->mi_stack); + printf("GJOURNAL: Free backtrace:\n"); + kdb_backtrace(); + } +#endif + free(p, M_JOURNAL); +} + +static void * +gj_realloc(void *p, size_t size, size_t oldsize) +{ + void *np; + +#ifndef GJ_MEMDEBUG + mtx_lock(&g_journal_cache_mtx); + g_journal_cache_used -= oldsize; + g_journal_cache_used += size; + mtx_unlock(&g_journal_cache_mtx); + np = realloc(p, size, M_JOURNAL, M_WAITOK); +#else + np = gj_malloc(size, M_WAITOK); + bcopy(p, np, MIN(oldsize, size)); + gj_free(p, oldsize); +#endif + return (np); +} + +static void +g_journal_check_overflow(struct g_journal_softc *sc) +{ + off_t length, used; + + if ((sc->sc_active.jj_offset < sc->sc_inactive.jj_offset && + sc->sc_journal_offset >= sc->sc_inactive.jj_offset) || + (sc->sc_active.jj_offset > sc->sc_inactive.jj_offset && + sc->sc_journal_offset >= sc->sc_inactive.jj_offset && + sc->sc_journal_offset < sc->sc_active.jj_offset)) { + panic("Journal overflow (joffset=%jd active=%jd inactive=%jd)", + (intmax_t)sc->sc_journal_offset, + (intmax_t)sc->sc_active.jj_offset, + (intmax_t)sc->sc_inactive.jj_offset); + } + if (sc->sc_active.jj_offset < sc->sc_inactive.jj_offset) { + length = sc->sc_inactive.jj_offset - sc->sc_active.jj_offset; + used = sc->sc_journal_offset - sc->sc_active.jj_offset; + } else { + length = sc->sc_jend - sc->sc_active.jj_offset; + length += sc->sc_inactive.jj_offset - sc->sc_jstart; + if (sc->sc_journal_offset >= sc->sc_active.jj_offset) + used = sc->sc_journal_offset - sc->sc_active.jj_offset; + else { + used = sc->sc_jend - sc->sc_active.jj_offset; + used += sc->sc_journal_offset - sc->sc_jstart; + } + } + /* Already woken up? */ + if (g_journal_switcher_wokenup) + return; + /* + * If the active journal takes more than g_journal_force_switch precent + * of free journal space, we force journal switch. + */ + KASSERT(length > 0, + ("length=%jd used=%jd active=%jd inactive=%jd joffset=%jd", + (intmax_t)length, (intmax_t)used, + (intmax_t)sc->sc_active.jj_offset, + (intmax_t)sc->sc_inactive.jj_offset, + (intmax_t)sc->sc_journal_offset)); + if ((used * 100) / length > g_journal_force_switch) { + g_journal_stats_journal_full++; + GJ_DEBUG(1, "Journal %s %jd%% full, forcing journal switch.", + sc->sc_name, (used * 100) / length); + mtx_lock(&g_journal_cache_mtx); + g_journal_switcher_wokenup = 1; + wakeup(&g_journal_switcher_state); + mtx_unlock(&g_journal_cache_mtx); + } +} + +static void +g_journal_orphan(struct g_consumer *cp) +{ + struct g_journal_softc *sc; + char name[256]; + int error; + + g_topology_assert(); + sc = cp->geom->softc; + GJ_DEBUG(0, "Lost provider %s (journal=%s).", cp->provider->name, + sc->sc_name); + strlcpy(name, sc->sc_name, sizeof(name)); + error = g_journal_destroy(sc); + if (error == 0) + GJ_DEBUG(0, "Journal %s destroyed.", name); + else { + GJ_DEBUG(0, "Cannot destroy journal %s (error=%d). " + "Destroy it manually after last close.", sc->sc_name, + error); + } +} + +static int +g_journal_access(struct g_provider *pp, int acr, int acw, int ace) +{ + struct g_journal_softc *sc; + int dcr, dcw, dce; + + g_topology_assert(); + GJ_DEBUG(2, "Access request for %s: r%dw%de%d.", pp->name, + acr, acw, ace); + + dcr = pp->acr + acr; + dcw = pp->acw + acw; + dce = pp->ace + ace; + + sc = pp->geom->softc; + if (sc == NULL || (sc->sc_flags & GJF_DEVICE_DESTROY)) { + if (acr <= 0 && acw <= 0 && ace <= 0) + return (0); + else + return (ENXIO); + } + if (pp->acw == 0 && dcw > 0) { + GJ_DEBUG(1, "Marking %s as dirty.", sc->sc_name); + sc->sc_flags &= ~GJF_DEVICE_CLEAN; + g_topology_unlock(); + g_journal_metadata_update(sc); + g_topology_lock(); + } /* else if (pp->acw == 0 && dcw > 0 && JEMPTY(sc)) { + GJ_DEBUG(1, "Marking %s as clean.", sc->sc_name); + sc->sc_flags |= GJF_DEVICE_CLEAN; + g_topology_unlock(); + g_journal_metadata_update(sc); + g_topology_lock(); + } */ + return (0); +} + +static void +g_journal_header_encode(struct g_journal_header *hdr, u_char *data) +{ + + bcopy(GJ_HEADER_MAGIC, data, sizeof(GJ_HEADER_MAGIC)); + data += sizeof(GJ_HEADER_MAGIC); + le32enc(data, hdr->jh_journal_id); + data += 4; + le32enc(data, hdr->jh_journal_next_id); +} + +static int +g_journal_header_decode(const u_char *data, struct g_journal_header *hdr) +{ + + bcopy(data, hdr->jh_magic, sizeof(hdr->jh_magic)); + data += sizeof(hdr->jh_magic); + if (bcmp(hdr->jh_magic, GJ_HEADER_MAGIC, sizeof(GJ_HEADER_MAGIC)) != 0) + return (EINVAL); + hdr->jh_journal_id = le32dec(data); + data += 4; + hdr->jh_journal_next_id = le32dec(data); + return (0); +} + +static void +g_journal_flush_cache(struct g_journal_softc *sc) +{ + struct bintime bt; + int error; + + if (sc->sc_bio_flush == 0) + return; + GJ_TIMER_START(1, &bt); + if (sc->sc_bio_flush & GJ_FLUSH_JOURNAL) { + error = g_io_flush(sc->sc_jconsumer); + GJ_DEBUG(error == 0 ? 2 : 0, "Flush cache of %s: error=%d.", + sc->sc_jconsumer->provider->name, error); + } + if (sc->sc_bio_flush & GJ_FLUSH_DATA) { + /* + * TODO: This could be called in parallel with the + * previous call. + */ + error = g_io_flush(sc->sc_dconsumer); + GJ_DEBUG(error == 0 ? 2 : 0, "Flush cache of %s: error=%d.", + sc->sc_dconsumer->provider->name, error); + } + GJ_TIMER_STOP(1, &bt, "Cache flush time"); +} + +static int +g_journal_write_header(struct g_journal_softc *sc) +{ + struct g_journal_header hdr; + struct g_consumer *cp; + u_char *buf; + int error; + + cp = sc->sc_jconsumer; + buf = gj_malloc(cp->provider->sectorsize, M_WAITOK); + + strlcpy(hdr.jh_magic, GJ_HEADER_MAGIC, sizeof(hdr.jh_magic)); + hdr.jh_journal_id = sc->sc_journal_id; + hdr.jh_journal_next_id = sc->sc_journal_next_id; + g_journal_header_encode(&hdr, buf); + error = g_write_data(cp, sc->sc_journal_offset, buf, + cp->provider->sectorsize); + /* if (error == 0) */ + sc->sc_journal_offset += cp->provider->sectorsize; + + gj_free(buf, cp->provider->sectorsize); + return (error); +} + +/* + * Every journal record has a header and data following it. + * Functions below are used to decode the header before storing it to + * little endian and to encode it after reading to system endianess. + */ +static void +g_journal_record_header_encode(struct g_journal_record_header *hdr, + u_char *data) +{ + struct g_journal_entry *ent; + u_int i; + + bcopy(GJ_RECORD_HEADER_MAGIC, data, sizeof(GJ_RECORD_HEADER_MAGIC)); + data += sizeof(GJ_RECORD_HEADER_MAGIC); + le32enc(data, hdr->jrh_journal_id); + data += 8; + le16enc(data, hdr->jrh_nentries); + data += 2; + bcopy(hdr->jrh_sum, data, sizeof(hdr->jrh_sum)); + data += 8; + for (i = 0; i < hdr->jrh_nentries; i++) { + ent = &hdr->jrh_entries[i]; + le64enc(data, ent->je_joffset); + data += 8; + le64enc(data, ent->je_offset); + data += 8; + le64enc(data, ent->je_length); + data += 8; + } +} + +static int +g_journal_record_header_decode(const u_char *data, + struct g_journal_record_header *hdr) +{ + struct g_journal_entry *ent; + u_int i; + + bcopy(data, hdr->jrh_magic, sizeof(hdr->jrh_magic)); + data += sizeof(hdr->jrh_magic); + if (strcmp(hdr->jrh_magic, GJ_RECORD_HEADER_MAGIC) != 0) + return (EINVAL); + hdr->jrh_journal_id = le32dec(data); + data += 8; + hdr->jrh_nentries = le16dec(data); + data += 2; + if (hdr->jrh_nentries > GJ_RECORD_HEADER_NENTRIES) + return (EINVAL); + bcopy(data, hdr->jrh_sum, sizeof(hdr->jrh_sum)); + data += 8; + for (i = 0; i < hdr->jrh_nentries; i++) { + ent = &hdr->jrh_entries[i]; + ent->je_joffset = le64dec(data); + data += 8; + ent->je_offset = le64dec(data); + data += 8; + ent->je_length = le64dec(data); + data += 8; + } + return (0); +} + +/* + * Function reads metadata from a provider (via the given consumer), decodes + * it to system endianess and verifies its correctness. + */ +static int +g_journal_metadata_read(struct g_consumer *cp, struct g_journal_metadata *md) +{ + struct g_provider *pp; + u_char *buf; + int error; + + g_topology_assert(); + + error = g_access(cp, 1, 0, 0); + if (error != 0) + return (error); + pp = cp->provider; + g_topology_unlock(); + /* Metadata is stored in last sector. */ + buf = g_read_data(cp, pp->mediasize - pp->sectorsize, pp->sectorsize, + &error); + g_topology_lock(); + g_access(cp, -1, 0, 0); + if (error != 0) { + GJ_DEBUG(1, "Cannot read metadata from %s (error=%d).", + cp->provider->name, error); + if (buf != NULL) + g_free(buf); + return (error); + } + + /* Decode metadata. */ + error = journal_metadata_decode(buf, md); + g_free(buf); + /* Is this is gjournal provider at all? */ + if (strcmp(md->md_magic, G_JOURNAL_MAGIC) != 0) + return (EINVAL); + /* + * Are we able to handle this version of metadata? + * We only maintain backward compatibility. + */ + if (md->md_version > G_JOURNAL_VERSION) { + GJ_DEBUG(0, + "Kernel module is too old to handle metadata from %s.", + cp->provider->name); + return (EINVAL); + } + /* Is checksum correct? */ + if (error != 0) { + GJ_DEBUG(0, "MD5 metadata hash mismatch for provider %s.", + cp->provider->name); + return (error); + } + return (0); +} + +/* + * Two functions below are responsible for updating metadata. + * Only metadata on the data provider is updated (we need to update + * information about active journal in there). + */ +static void +g_journal_metadata_done(struct bio *bp) +{ + + /* + * There is not much we can do on error except informing about it. + */ + if (bp->bio_error != 0) { + GJ_LOGREQ(0, bp, "Cannot update metadata (error=%d).", + bp->bio_error); + } else { + GJ_LOGREQ(2, bp, "Metadata updated."); + } + gj_free(bp->bio_data, bp->bio_length); + g_destroy_bio(bp); +} + +static void +g_journal_metadata_update(struct g_journal_softc *sc) +{ + struct g_journal_metadata md; + struct g_consumer *cp; + struct bio *bp; + u_char *sector; + + cp = sc->sc_dconsumer; + sector = gj_malloc(cp->provider->sectorsize, M_WAITOK); + strlcpy(md.md_magic, G_JOURNAL_MAGIC, sizeof(md.md_magic)); + md.md_version = G_JOURNAL_VERSION; + md.md_id = sc->sc_id; + md.md_type = sc->sc_orig_type; + md.md_jstart = sc->sc_jstart; + md.md_jend = sc->sc_jend; + md.md_joffset = sc->sc_inactive.jj_offset; + md.md_jid = sc->sc_journal_previous_id; + md.md_flags = 0; + if (sc->sc_flags & GJF_DEVICE_CLEAN) + md.md_flags |= GJ_FLAG_CLEAN; + + if (sc->sc_flags & GJF_DEVICE_HARDCODED) + strlcpy(md.md_provider, sc->sc_name, sizeof(md.md_provider)); + else + bzero(md.md_provider, sizeof(md.md_provider)); + md.md_provsize = cp->provider->mediasize; + journal_metadata_encode(&md, sector); + + /* + * Flush the cache, so we know all data are on disk. + * We write here informations like "journal is consistent", so we need + * to be sure it is. Without BIO_FLUSH here, we can end up in situation + * where metadata is stored on disk, but not all data. + */ + g_journal_flush_cache(sc); + + bp = g_alloc_bio(); + bp->bio_offset = cp->provider->mediasize - cp->provider->sectorsize; + bp->bio_length = cp->provider->sectorsize; + bp->bio_data = sector; + bp->bio_cmd = BIO_WRITE; + if (!(sc->sc_flags & GJF_DEVICE_DESTROY)) { + bp->bio_done = g_journal_metadata_done; + g_io_request(bp, cp); + } else { + bp->bio_done = NULL; + g_io_request(bp, cp); + biowait(bp, "gjmdu"); + g_journal_metadata_done(bp); + } + + /* + * Be sure metadata reached the disk. + */ + g_journal_flush_cache(sc); +} + +/* + * This is where the I/O request comes from the GEOM. + */ +static void +g_journal_start(struct bio *bp) +{ + struct g_journal_softc *sc; + + sc = bp->bio_to->geom->softc; + GJ_LOGREQ(3, bp, "Request received."); + + switch (bp->bio_cmd) { + case BIO_READ: + case BIO_WRITE: + mtx_lock(&sc->sc_mtx); + bioq_insert_tail(&sc->sc_regular_queue, bp); + wakeup(sc); + mtx_unlock(&sc->sc_mtx); + return; + case BIO_GETATTR: + if (strcmp(bp->bio_attribute, "GJOURNAL::provider") == 0) { + strlcpy(bp->bio_data, bp->bio_to->name, bp->bio_length); + bp->bio_completed = strlen(bp->bio_to->name) + 1; + g_io_deliver(bp, 0); + return; + } + /* FALLTHROUGH */ + case BIO_DELETE: + default: + g_io_deliver(bp, EOPNOTSUPP); + return; + } +} + +static void +g_journal_std_done(struct bio *bp) +{ + struct g_journal_softc *sc; + + sc = bp->bio_from->geom->softc; + mtx_lock(&sc->sc_mtx); + bioq_insert_tail(&sc->sc_back_queue, bp); + wakeup(sc); + mtx_unlock(&sc->sc_mtx); +} + +static struct bio * +g_journal_new_bio(off_t start, off_t end, off_t joffset, u_char *data, + int flags) +{ + struct bio *bp; + + bp = g_alloc_bio(); + bp->bio_offset = start; + bp->bio_joffset = joffset; + bp->bio_length = end - start; + bp->bio_cmd = BIO_WRITE; + bp->bio_done = g_journal_std_done; + if (data == NULL) + bp->bio_data = NULL; + else { + bp->bio_data = gj_malloc(bp->bio_length, flags); + if (bp->bio_data != NULL) + bcopy(data, bp->bio_data, bp->bio_length); + } + return (bp); +} + +#define g_journal_insert_bio(head, bp, flags) \ + g_journal_insert((head), (bp)->bio_offset, \ + (bp)->bio_offset + (bp)->bio_length, (bp)->bio_joffset, \ + (bp)->bio_data, flags) +/* + * The function below does a lot more than just inserting bio to the queue. + * It keeps the queue sorted by offset and ensures that there are no doubled + * data (it combines bios where ranges overlap). + * + * The function returns the number of bios inserted (as bio can be splitted). + */ +static int +g_journal_insert(struct bio **head, off_t nstart, off_t nend, off_t joffset, + u_char *data, int flags) +{ + struct bio *nbp, *cbp, *pbp; + off_t cstart, cend; + u_char *tmpdata; + int n; + + GJ_DEBUG(3, "INSERT(%p): (%jd, %jd, %jd)", *head, nstart, nend, + joffset); + n = 0; + pbp = NULL; + GJQ_FOREACH(*head, cbp) { + cstart = cbp->bio_offset; + cend = cbp->bio_offset + cbp->bio_length; + + if (nstart >= cend) { + /* + * +-------------+ + * | | + * | current | +-------------+ + * | bio | | | + * | | | new | + * +-------------+ | bio | + * | | + * +-------------+ + */ + GJ_DEBUG(3, "INSERT(%p): 1", *head); + } else if (nend <= cstart) { + /* + * +-------------+ + * | | + * +-------------+ | current | + * | | | bio | + * | new | | | + * | bio | +-------------+ + * | | + * +-------------+ + */ + nbp = g_journal_new_bio(nstart, nend, joffset, data, + flags); + if (pbp == NULL) + *head = nbp; + else + pbp->bio_next = nbp; + nbp->bio_next = cbp; + n++; + GJ_DEBUG(3, "INSERT(%p): 2 (nbp=%p pbp=%p)", *head, nbp, + pbp); + goto end; + } else if (nstart <= cstart && nend >= cend) { + /* + * +-------------+ +-------------+ + * | current bio | | current bio | + * +---+-------------+---+ +-------------+---+ + * | | | | | | | + * | | | | | | | + * | +-------------+ | +-------------+ | + * | new bio | | new bio | + * +---------------------+ +-----------------+ + * + * +-------------+ +-------------+ + * | current bio | | current bio | + * +---+-------------+ +-------------+ + * | | | | | + * | | | | | + * | +-------------+ +-------------+ + * | new bio | | new bio | + * +-----------------+ +-------------+ + */ + g_journal_stats_bytes_skipped += cbp->bio_length; + cbp->bio_offset = nstart; + cbp->bio_joffset = joffset; + cbp->bio_length = cend - nstart; + if (cbp->bio_data != NULL) { + gj_free(cbp->bio_data, cend - cstart); + cbp->bio_data = NULL; + } + if (data != NULL) { + cbp->bio_data = gj_malloc(cbp->bio_length, + flags); + if (cbp->bio_data != NULL) { + bcopy(data, cbp->bio_data, + cbp->bio_length); + } + data += cend - nstart; + } + joffset += cend - nstart; + nstart = cend; + GJ_DEBUG(3, "INSERT(%p): 3 (cbp=%p)", *head, cbp); + } else if (nstart > cstart && nend >= cend) { + /* + * +-----------------+ +-------------+ + * | current bio | | current bio | + * | +-------------+ | +---------+---+ + * | | | | | | | + * | | | | | | | + * +---+-------------+ +---+---------+ | + * | new bio | | new bio | + * +-------------+ +-------------+ + */ + g_journal_stats_bytes_skipped += cend - nstart; + nbp = g_journal_new_bio(nstart, cend, joffset, data, + flags); + nbp->bio_next = cbp->bio_next; + cbp->bio_next = nbp; + cbp->bio_length = nstart - cstart; + if (cbp->bio_data != NULL) { + cbp->bio_data = gj_realloc(cbp->bio_data, + cbp->bio_length, cend - cstart); + } + if (data != NULL) + data += cend - nstart; + joffset += cend - nstart; + nstart = cend; + n++; + GJ_DEBUG(3, "INSERT(%p): 4 (cbp=%p)", *head, cbp); + } else if (nstart > cstart && nend < cend) { + /* + * +---------------------+ + * | current bio | + * | +-------------+ | + * | | | | + * | | | | + * +---+-------------+---+ + * | new bio | + * +-------------+ + */ + g_journal_stats_bytes_skipped += nend - nstart; + nbp = g_journal_new_bio(nstart, nend, joffset, data, + flags); + nbp->bio_next = cbp->bio_next; + cbp->bio_next = nbp; + if (cbp->bio_data == NULL) + tmpdata = NULL; + else + tmpdata = cbp->bio_data + nend - cstart; + nbp = g_journal_new_bio(nend, cend, + cbp->bio_joffset + nend - cstart, tmpdata, flags); + nbp->bio_next = ((struct bio *)cbp->bio_next)->bio_next; + ((struct bio *)cbp->bio_next)->bio_next = nbp; + cbp->bio_length = nstart - cstart; + if (cbp->bio_data != NULL) { + cbp->bio_data = gj_realloc(cbp->bio_data, + cbp->bio_length, cend - cstart); + } + n += 2; + GJ_DEBUG(3, "INSERT(%p): 5 (cbp=%p)", *head, cbp); + goto end; + } else if (nstart <= cstart && nend < cend) { + /* + * +-----------------+ +-------------+ + * | current bio | | current bio | + * +-------------+ | +---+---------+ | + * | | | | | | | + * | | | | | | | + * +-------------+---+ | +---------+---+ + * | new bio | | new bio | + * +-------------+ +-------------+ + */ + g_journal_stats_bytes_skipped += nend - nstart; + nbp = g_journal_new_bio(nstart, nend, joffset, data, + flags); + if (pbp == NULL) + *head = nbp; + else + pbp->bio_next = nbp; + nbp->bio_next = cbp; + cbp->bio_offset = nend; + cbp->bio_length = cend - nend; + cbp->bio_joffset += nend - cstart; + tmpdata = cbp->bio_data; + if (tmpdata != NULL) { + cbp->bio_data = gj_malloc(cbp->bio_length, + flags); + if (cbp->bio_data != NULL) { + bcopy(tmpdata + nend - cstart, + cbp->bio_data, cbp->bio_length); + } + gj_free(tmpdata, cend - cstart); + } + n++; + GJ_DEBUG(3, "INSERT(%p): 6 (cbp=%p)", *head, cbp); + goto end; + } + if (nstart == nend) + goto end; + pbp = cbp; + } + nbp = g_journal_new_bio(nstart, nend, joffset, data, flags); + if (pbp == NULL) + *head = nbp; + else + pbp->bio_next = nbp; + nbp->bio_next = NULL; + n++; + GJ_DEBUG(3, "INSERT(%p): 8 (nbp=%p pbp=%p)", *head, nbp, pbp); +end: + if (g_journal_debug >= 3) { + GJQ_FOREACH(*head, cbp) { + GJ_DEBUG(3, "ELEMENT: %p (%jd, %jd, %jd, %p)", cbp, + (intmax_t)cbp->bio_offset, + (intmax_t)cbp->bio_length, + (intmax_t)cbp->bio_joffset, cbp->bio_data); + } + GJ_DEBUG(3, "INSERT(%p): DONE %d", *head, n); + } + return (n); +} + +/* + * The function combines neighbour bios trying to squeeze as much data as + * possible into one bio. + * + * The function returns the number of bios combined (negative value). + */ +static int +g_journal_optimize(struct bio *head) +{ + struct bio *cbp, *pbp; + int n; + + n = 0; + pbp = NULL; + GJQ_FOREACH(head, cbp) { + /* Skip bios which has to be read first. */ + if (cbp->bio_data == NULL) { + pbp = NULL; + continue; + } + /* There is no previous bio yet. */ + if (pbp == NULL) { + pbp = cbp; + continue; + } + /* Is this a neighbour bio? */ + if (pbp->bio_offset + pbp->bio_length != cbp->bio_offset) { + /* Be sure that bios queue is sorted. */ + KASSERT(pbp->bio_offset + pbp->bio_length < cbp->bio_offset, + ("poffset=%jd plength=%jd coffset=%jd", + (intmax_t)pbp->bio_offset, + (intmax_t)pbp->bio_length, + (intmax_t)cbp->bio_offset)); + pbp = cbp; + continue; + } + /* Be sure we don't end up with too big bio. */ + if (pbp->bio_length + cbp->bio_length > MAXPHYS) { + pbp = cbp; + continue; + } + /* Ok, we can join bios. */ + GJ_LOGREQ(4, pbp, "Join: "); + GJ_LOGREQ(4, cbp, "and: "); + pbp->bio_data = gj_realloc(pbp->bio_data, + pbp->bio_length + cbp->bio_length, pbp->bio_length); + bcopy(cbp->bio_data, pbp->bio_data + pbp->bio_length, + cbp->bio_length); + gj_free(cbp->bio_data, cbp->bio_length); + pbp->bio_length += cbp->bio_length; + pbp->bio_next = cbp->bio_next; + g_destroy_bio(cbp); + cbp = pbp; + g_journal_stats_combined_ios++; + n--; + GJ_LOGREQ(4, pbp, "Got: "); + } + return (n); +} + +/* + * TODO: Update comment. + * These are functions responsible for copying one portion of data from journal + * to the destination provider. + * The order goes like this: + * 1. Read the header, which contains informations about data blocks + * following it. + * 2. Read the data blocks from the journal. + * 3. Write the data blocks on the data provider. + * + * g_journal_copy_start() + * g_journal_copy_done() - got finished write request, logs potential errors. + */ + +/* + * When there is no data in cache, this function is used to read it. + */ +static void +g_journal_read_first(struct g_journal_softc *sc, struct bio *bp) +{ + struct bio *cbp; + + /* + * We were short in memory, so data was freed. + * In that case we need to read it back from journal. + */ + cbp = g_alloc_bio(); + cbp->bio_cflags = bp->bio_cflags; + cbp->bio_parent = bp; + cbp->bio_offset = bp->bio_joffset; + cbp->bio_length = bp->bio_length; + cbp->bio_data = gj_malloc(bp->bio_length, M_WAITOK); + cbp->bio_cmd = BIO_READ; + cbp->bio_done = g_journal_std_done; + GJ_LOGREQ(4, cbp, "READ FIRST"); + g_io_request(cbp, sc->sc_jconsumer); + g_journal_cache_misses++; +} + +static void +g_journal_copy_send(struct g_journal_softc *sc) +{ + struct bio *bioq, *bp, *lbp; + + bioq = lbp = NULL; + mtx_lock(&sc->sc_mtx); + for (; sc->sc_copy_in_progress < g_journal_parallel_copies;) { + bp = GJQ_FIRST(sc->sc_inactive.jj_queue); + if (bp == NULL) + break; + GJQ_REMOVE(sc->sc_inactive.jj_queue, bp); + sc->sc_copy_in_progress++; + GJQ_INSERT_AFTER(bioq, bp, lbp); + lbp = bp; + } + mtx_unlock(&sc->sc_mtx); + if (g_journal_do_optimize) + sc->sc_copy_in_progress += g_journal_optimize(bioq); + while ((bp = GJQ_FIRST(bioq)) != NULL) { + GJQ_REMOVE(bioq, bp); + GJQ_INSERT_HEAD(sc->sc_copy_queue, bp); + bp->bio_cflags = GJ_BIO_COPY; + if (bp->bio_data == NULL) + g_journal_read_first(sc, bp); + else { + bp->bio_joffset = 0; + GJ_LOGREQ(4, bp, "SEND"); + g_io_request(bp, sc->sc_dconsumer); + } + } +} + +static void +g_journal_copy_start(struct g_journal_softc *sc) +{ + + /* + * Remember in metadata that we're starting to copy journaled data + * to the data provider. + * In case of power failure, we will copy these data once again on boot. + */ + if (!sc->sc_journal_copying) { + sc->sc_journal_copying = 1; + GJ_DEBUG(1, "Starting copy of journal."); + g_journal_metadata_update(sc); + } + g_journal_copy_send(sc); +} + +/* + * Data block has been read from the journal provider. + */ +static int +g_journal_copy_read_done(struct bio *bp) +{ + struct g_journal_softc *sc; + struct g_consumer *cp; + struct bio *pbp; + + KASSERT(bp->bio_cflags == GJ_BIO_COPY, + ("Invalid bio (%d != %d).", bp->bio_cflags, GJ_BIO_COPY)); + + sc = bp->bio_from->geom->softc; + pbp = bp->bio_parent; + + if (bp->bio_error != 0) { + GJ_DEBUG(0, "Error while reading data from %s (error=%d).", + bp->bio_to->name, bp->bio_error); + /* + * We will not be able to deliver WRITE request as well. + */ + gj_free(bp->bio_data, bp->bio_length); + g_destroy_bio(pbp); + g_destroy_bio(bp); + sc->sc_copy_in_progress--; + return (1); + } + pbp->bio_data = bp->bio_data; + cp = sc->sc_dconsumer; + g_io_request(pbp, cp); + GJ_LOGREQ(4, bp, "READ DONE"); + g_destroy_bio(bp); + return (0); +} + +/* + * Data block has been written to the data provider. + */ +static void +g_journal_copy_write_done(struct bio *bp) +{ + struct g_journal_softc *sc; + + KASSERT(bp->bio_cflags == GJ_BIO_COPY, + ("Invalid bio (%d != %d).", bp->bio_cflags, GJ_BIO_COPY)); + + sc = bp->bio_from->geom->softc; + sc->sc_copy_in_progress--; + + if (bp->bio_error != 0) { + GJ_LOGREQ(0, bp, "[copy] Error while writting data (error=%d)", + bp->bio_error); + } + GJQ_REMOVE(sc->sc_copy_queue, bp); + gj_free(bp->bio_data, bp->bio_length); + GJ_LOGREQ(4, bp, "DONE"); + g_destroy_bio(bp); + + if (sc->sc_copy_in_progress == 0) { + /* + * This was the last write request for this journal. + */ + GJ_DEBUG(1, "Data has been copied."); + sc->sc_journal_copying = 0; + } +} + +static void g_journal_flush_done(struct bio *bp); + +/* + * Flush one record onto active journal provider. + */ +static void +g_journal_flush(struct g_journal_softc *sc) +{ + struct g_journal_record_header hdr; + struct g_journal_entry *ent; + struct g_provider *pp; + struct bio **bioq; + struct bio *bp, *fbp, *pbp; + off_t joffset, size; + u_char *data, hash[16]; + MD5_CTX ctx; + u_int i; + + if (sc->sc_current_count == 0) + return; + + size = 0; + pp = sc->sc_jprovider; + GJ_VALIDATE_OFFSET(sc->sc_journal_offset, sc); + joffset = sc->sc_journal_offset; + + GJ_DEBUG(2, "Storing %d journal entries on %s at %jd.", + sc->sc_current_count, pp->name, (intmax_t)joffset); + + /* + * Store 'journal id', so we know to which journal this record belongs. + */ + hdr.jrh_journal_id = sc->sc_journal_id; + /* Could be less than g_journal_record_entries if called due timeout. */ + hdr.jrh_nentries = MIN(sc->sc_current_count, g_journal_record_entries); + strlcpy(hdr.jrh_magic, GJ_RECORD_HEADER_MAGIC, sizeof(hdr.jrh_magic)); + + bioq = &sc->sc_active.jj_queue; + pbp = sc->sc_flush_queue; + + fbp = g_alloc_bio(); + fbp->bio_parent = NULL; + fbp->bio_cflags = GJ_BIO_JOURNAL; + fbp->bio_offset = -1; + fbp->bio_joffset = joffset; + fbp->bio_length = pp->sectorsize; + fbp->bio_cmd = BIO_WRITE; + fbp->bio_done = g_journal_std_done; + GJQ_INSERT_AFTER(sc->sc_flush_queue, fbp, pbp); + pbp = fbp; + fbp->bio_to = pp; + GJ_LOGREQ(4, fbp, "FLUSH_OUT"); + joffset += pp->sectorsize; + sc->sc_flush_count++; + if (sc->sc_flags & GJF_DEVICE_CHECKSUM) + MD5Init(&ctx); + + for (i = 0; i < hdr.jrh_nentries; i++) { + bp = sc->sc_current_queue; + KASSERT(bp != NULL, ("NULL bp")); + bp->bio_to = pp; + GJ_LOGREQ(4, bp, "FLUSHED"); + sc->sc_current_queue = bp->bio_next; + bp->bio_next = NULL; + sc->sc_current_count--; + + /* Add to the header. */ + ent = &hdr.jrh_entries[i]; + ent->je_offset = bp->bio_offset; + ent->je_joffset = joffset; + ent->je_length = bp->bio_length; + size += ent->je_length; + + data = bp->bio_data; + if (sc->sc_flags & GJF_DEVICE_CHECKSUM) + MD5Update(&ctx, data, ent->je_length); + bzero(bp, sizeof(*bp)); + bp->bio_cflags = GJ_BIO_JOURNAL; + bp->bio_offset = ent->je_offset; + bp->bio_joffset = ent->je_joffset; + bp->bio_length = ent->je_length; + bp->bio_data = data; + bp->bio_cmd = BIO_WRITE; + bp->bio_done = g_journal_std_done; + GJQ_INSERT_AFTER(sc->sc_flush_queue, bp, pbp); + pbp = bp; + bp->bio_to = pp; + GJ_LOGREQ(4, bp, "FLUSH_OUT"); + joffset += bp->bio_length; + sc->sc_flush_count++; + + /* + * Add request to the active sc_journal_queue queue. + * This is our cache. After journal switch we don't have to + * read the data from the inactive journal, because we keep + * it in memory. + */ + g_journal_insert(bioq, ent->je_offset, + ent->je_offset + ent->je_length, ent->je_joffset, data, + M_NOWAIT); + } + + /* + * After all requests, store valid header. + */ + data = gj_malloc(pp->sectorsize, M_WAITOK); + if (sc->sc_flags & GJF_DEVICE_CHECKSUM) { + MD5Final(hash, &ctx); + bcopy(hash, hdr.jrh_sum, sizeof(hdr.jrh_sum)); + } + g_journal_record_header_encode(&hdr, data); + fbp->bio_data = data; + + sc->sc_journal_offset = joffset; + + g_journal_check_overflow(sc); +} + +/* + * Flush request finished. + */ +static void +g_journal_flush_done(struct bio *bp) +{ + struct g_journal_softc *sc; + struct g_consumer *cp; + + KASSERT((bp->bio_cflags & GJ_BIO_MASK) == GJ_BIO_JOURNAL, + ("Invalid bio (%d != %d).", bp->bio_cflags, GJ_BIO_JOURNAL)); + + cp = bp->bio_from; + sc = cp->geom->softc; + sc->sc_flush_in_progress--; + + if (bp->bio_error != 0) { + GJ_LOGREQ(0, bp, "[flush] Error while writting data (error=%d)", + bp->bio_error); + } + gj_free(bp->bio_data, bp->bio_length); + GJ_LOGREQ(4, bp, "DONE"); + g_destroy_bio(bp); +} + +static void g_journal_release_delayed(struct g_journal_softc *sc); + +static void +g_journal_flush_send(struct g_journal_softc *sc) +{ + struct g_consumer *cp; + struct bio *bioq, *bp, *lbp; + + cp = sc->sc_jconsumer; + bioq = lbp = NULL; + while (sc->sc_flush_in_progress < g_journal_parallel_flushes) { + /* Send one flush requests to the active journal. */ + bp = GJQ_FIRST(sc->sc_flush_queue); + if (bp != NULL) { + GJQ_REMOVE(sc->sc_flush_queue, bp); + sc->sc_flush_count--; + bp->bio_offset = bp->bio_joffset; + bp->bio_joffset = 0; + sc->sc_flush_in_progress++; + GJQ_INSERT_AFTER(bioq, bp, lbp); + lbp = bp; + } + /* Try to release delayed requests. */ + g_journal_release_delayed(sc); + /* If there are no requests to flush, leave. */ + if (GJQ_FIRST(sc->sc_flush_queue) == NULL) + break; + } + if (g_journal_do_optimize) + sc->sc_flush_in_progress += g_journal_optimize(bioq); + while ((bp = GJQ_FIRST(bioq)) != NULL) { + GJQ_REMOVE(bioq, bp); + GJ_LOGREQ(3, bp, "Flush request send"); + g_io_request(bp, cp); + } +} + +static void +g_journal_add_current(struct g_journal_softc *sc, struct bio *bp) +{ + int n; + + GJ_LOGREQ(4, bp, "CURRENT %d", sc->sc_current_count); + n = g_journal_insert_bio(&sc->sc_current_queue, bp, M_WAITOK); + sc->sc_current_count += n; + n = g_journal_optimize(sc->sc_current_queue); + sc->sc_current_count += n; + /* + * For requests which are added to the current queue we deliver + * response immediately. + */ + bp->bio_completed = bp->bio_length; + g_io_deliver(bp, 0); + if (sc->sc_current_count >= g_journal_record_entries) { + /* + * Let's flush one record onto active journal provider. + */ + g_journal_flush(sc); + } +} + +static void +g_journal_release_delayed(struct g_journal_softc *sc) +{ + struct bio *bp; + + for (;;) { + /* The flush queue is full, exit. */ + if (sc->sc_flush_count >= g_journal_accept_immediately) + return; + bp = bioq_takefirst(&sc->sc_delayed_queue); + if (bp == NULL) + return; + sc->sc_delayed_count--; + g_journal_add_current(sc, bp); + } +} + +/* + * Add I/O request to the current queue. If we have enough requests for one + * journal record we flush them onto active journal provider. + */ +static void +g_journal_add_request(struct g_journal_softc *sc, struct bio *bp) +{ + + /* + * The flush queue is full, we need to delay the request. + */ + if (sc->sc_delayed_count > 0 || + sc->sc_flush_count >= g_journal_accept_immediately) { + GJ_LOGREQ(4, bp, "DELAYED"); + bioq_insert_tail(&sc->sc_delayed_queue, bp); + sc->sc_delayed_count++; + return; + } + + KASSERT(TAILQ_EMPTY(&sc->sc_delayed_queue.queue), + ("DELAYED queue not empty.")); + g_journal_add_current(sc, bp); +} + +static void g_journal_read_done(struct bio *bp); + +/* + * Try to find requested data in cache. + */ +static struct bio * +g_journal_read_find(struct bio *head, int sorted, struct bio *pbp, off_t ostart, + off_t oend) +{ + off_t cstart, cend; + struct bio *bp; + + GJQ_FOREACH(head, bp) { + if (bp->bio_offset == -1) + continue; + cstart = MAX(ostart, bp->bio_offset); + cend = MIN(oend, bp->bio_offset + bp->bio_length); + if (cend <= ostart) + continue; + else if (cstart >= oend) { + if (!sorted) + continue; + else { + bp = NULL; + break; + } + } + if (bp->bio_data == NULL) + break; + GJ_DEBUG(3, "READ(%p): (%jd, %jd) (bp=%p)", head, cstart, cend, + bp); + bcopy(bp->bio_data + cstart - bp->bio_offset, + pbp->bio_data + cstart - pbp->bio_offset, cend - cstart); + pbp->bio_completed += cend - cstart; + if (pbp->bio_completed == pbp->bio_length) { + /* + * Cool, the whole request was in cache, deliver happy + * message. + */ + g_io_deliver(pbp, 0); + return (pbp); + } + break; + } + return (bp); +} + +/* + * Try to find requested data in cache. + */ +static struct bio * +g_journal_read_queue_find(struct bio_queue *head, struct bio *pbp, off_t ostart, + off_t oend) +{ + off_t cstart, cend; + struct bio *bp; + + TAILQ_FOREACH(bp, head, bio_queue) { + cstart = MAX(ostart, bp->bio_offset); + cend = MIN(oend, bp->bio_offset + bp->bio_length); + if (cend <= ostart) + continue; + else if (cstart >= oend) + continue; + KASSERT(bp->bio_data != NULL, + ("%s: bio_data == NULL", __func__)); + GJ_DEBUG(3, "READ(%p): (%jd, %jd) (bp=%p)", head, cstart, cend, + bp); + bcopy(bp->bio_data + cstart - bp->bio_offset, + pbp->bio_data + cstart - pbp->bio_offset, cend - cstart); + pbp->bio_completed += cend - cstart; + if (pbp->bio_completed == pbp->bio_length) { + /* + * Cool, the whole request was in cache, deliver happy + * message. + */ + g_io_deliver(pbp, 0); + return (pbp); + } + break; + } + return (bp); +} + +/* + * This function is used for colecting data on read. + * The complexity is because parts of the data can be stored in four different + * places: + * - in delayed requests + * - in memory - the data not yet send to the active journal provider + * - in requests which are going to be sent to the active journal + * - in the active journal + * - in the inactive journal + * - in the data provider + */ +static void +g_journal_read(struct g_journal_softc *sc, struct bio *pbp, off_t ostart, + off_t oend) +{ + struct bio *bp, *nbp, *head; + off_t cstart, cend; + u_int i, sorted = 0; + + GJ_DEBUG(3, "READ: (%jd, %jd)", ostart, oend); + + cstart = cend = -1; + bp = NULL; + head = NULL; + for (i = 0; i <= 5; i++) { + switch (i) { + case 0: /* Delayed requests. */ + head = NULL; + sorted = 0; + break; + case 1: /* Not-yet-send data. */ + head = sc->sc_current_queue; + sorted = 1; + break; + case 2: /* In-flight to the active journal. */ + head = sc->sc_flush_queue; + sorted = 0; + break; + case 3: /* Active journal. */ + head = sc->sc_active.jj_queue; + sorted = 1; + break; + case 4: /* Inactive journal. */ + /* + * XXX: Here could be a race with g_journal_lowmem(). + */ + head = sc->sc_inactive.jj_queue; + sorted = 1; + break; + case 5: /* In-flight to the data provider. */ + head = sc->sc_copy_queue; + sorted = 0; + break; + default: + panic("gjournal %s: i=%d", __func__, i); + } + if (i == 0) + bp = g_journal_read_queue_find(&sc->sc_delayed_queue.queue, pbp, ostart, oend); + else + bp = g_journal_read_find(head, sorted, pbp, ostart, oend); + if (bp == pbp) { /* Got the whole request. */ + GJ_DEBUG(2, "Got the whole request from %u.", i); + return; + } else if (bp != NULL) { + cstart = MAX(ostart, bp->bio_offset); + cend = MIN(oend, bp->bio_offset + bp->bio_length); + GJ_DEBUG(2, "Got part of the request from %u (%jd-%jd).", + i, (intmax_t)cstart, (intmax_t)cend); + break; + } + } + if (bp != NULL) { + if (bp->bio_data == NULL) { + nbp = g_clone_bio(pbp); + nbp->bio_cflags = GJ_BIO_READ; + nbp->bio_data = + pbp->bio_data + cstart - pbp->bio_offset; + nbp->bio_offset = + bp->bio_joffset + cstart - bp->bio_offset; + nbp->bio_length = cend - cstart; + nbp->bio_done = g_journal_read_done; + g_io_request(nbp, sc->sc_jconsumer); + } + /* + * If we don't have the whole request yet, call g_journal_read() + * recursively. + */ + if (ostart < cstart) + g_journal_read(sc, pbp, ostart, cstart); + if (oend > cend) + g_journal_read(sc, pbp, cend, oend); + } else { + /* + * No data in memory, no data in journal. + * Its time for asking data provider. + */ + GJ_DEBUG(3, "READ(data): (%jd, %jd)", ostart, oend); + nbp = g_clone_bio(pbp); + nbp->bio_cflags = GJ_BIO_READ; + nbp->bio_data = pbp->bio_data + ostart - pbp->bio_offset; + nbp->bio_offset = ostart; + nbp->bio_length = oend - ostart; + nbp->bio_done = g_journal_read_done; + g_io_request(nbp, sc->sc_dconsumer); + /* We have the whole request, return here. */ + return; + } +} + +/* + * Function responsible for handling finished READ requests. + * Actually, g_std_done() could be used here, the only difference is that we + * log error. + */ +static void +g_journal_read_done(struct bio *bp) +{ + struct bio *pbp; + + KASSERT(bp->bio_cflags == GJ_BIO_READ, + ("Invalid bio (%d != %d).", bp->bio_cflags, GJ_BIO_READ)); + + pbp = bp->bio_parent; + pbp->bio_inbed++; + pbp->bio_completed += bp->bio_length; + + if (bp->bio_error != 0) { + if (pbp->bio_error == 0) + pbp->bio_error = bp->bio_error; + GJ_DEBUG(0, "Error while reading data from %s (error=%d).", + bp->bio_to->name, bp->bio_error); + } + g_destroy_bio(bp); + if (pbp->bio_children == pbp->bio_inbed && + pbp->bio_completed == pbp->bio_length) { + /* We're done. */ + g_io_deliver(pbp, 0); + } +} + +/* + * Deactive current journal and active next one. + */ +static void +g_journal_switch(struct g_journal_softc *sc) +{ + struct g_provider *pp; + + if (JEMPTY(sc)) { + GJ_DEBUG(3, "No need for %s switch.", sc->sc_name); + pp = LIST_FIRST(&sc->sc_geom->provider); + if (!(sc->sc_flags & GJF_DEVICE_CLEAN) && pp->acw == 0) { + sc->sc_flags |= GJF_DEVICE_CLEAN; + GJ_DEBUG(1, "Marking %s as clean.", sc->sc_name); + g_journal_metadata_update(sc); + } + } else { + GJ_DEBUG(3, "Switching journal %s.", sc->sc_geom->name); + + pp = sc->sc_jprovider; + + sc->sc_journal_previous_id = sc->sc_journal_id; + + sc->sc_journal_id = sc->sc_journal_next_id; + sc->sc_journal_next_id = arc4random(); + + GJ_VALIDATE_OFFSET(sc->sc_journal_offset, sc); + + g_journal_write_header(sc); + + sc->sc_inactive.jj_offset = sc->sc_active.jj_offset; + sc->sc_inactive.jj_queue = sc->sc_active.jj_queue; + + sc->sc_active.jj_offset = + sc->sc_journal_offset - pp->sectorsize; + sc->sc_active.jj_queue = NULL; + + /* + * Switch is done, start copying data from the (now) inactive + * journal to the data provider. + */ + g_journal_copy_start(sc); + } + mtx_lock(&sc->sc_mtx); + sc->sc_flags &= ~GJF_DEVICE_SWITCH; + mtx_unlock(&sc->sc_mtx); +} + +static void +g_journal_initialize(struct g_journal_softc *sc) +{ + + sc->sc_journal_id = arc4random(); + sc->sc_journal_next_id = arc4random(); + sc->sc_journal_previous_id = sc->sc_journal_id; + sc->sc_journal_offset = sc->sc_jstart; + sc->sc_inactive.jj_offset = sc->sc_jstart; + g_journal_write_header(sc); + sc->sc_active.jj_offset = sc->sc_jstart; +} + +static void +g_journal_mark_as_dirty(struct g_journal_softc *sc) +{ + const struct g_journal_desc *desc; + int i; + + GJ_DEBUG(1, "Marking file system %s as dirty.", sc->sc_name); + for (i = 0; (desc = g_journal_filesystems[i]) != NULL; i++) + desc->jd_dirty(sc->sc_dconsumer); +} + +/* + * Function read record header from the given journal. + * It is very simlar to g_read_data(9), but it doesn't allocate memory for bio + * and data on every call. + */ +static int +g_journal_sync_read(struct g_consumer *cp, struct bio *bp, off_t offset, + void *data) +{ + int error; + + bzero(bp, sizeof(*bp)); + bp->bio_cmd = BIO_READ; + bp->bio_done = NULL; + bp->bio_offset = offset; + bp->bio_length = cp->provider->sectorsize; + bp->bio_data = data; + g_io_request(bp, cp); + error = biowait(bp, "gjs_read"); + return (error); +} + +#if 0 +/* + * Function is called when we start the journal device and we detect that + * one of the journals was not fully copied. + * The purpose of this function is to read all records headers from journal + * and placed them in the inactive queue, so we can start journal + * synchronization process and the journal provider itself. + * Design decision was taken to not synchronize the whole journal here as it + * can take too much time. Reading headers only and delaying synchronization + * process until after journal provider is started should be the best choice. + */ +#endif + +static void +g_journal_sync(struct g_journal_softc *sc) +{ + struct g_journal_record_header rhdr; + struct g_journal_entry *ent; + struct g_journal_header jhdr; + struct g_consumer *cp; + struct bio *bp, *fbp, *tbp; + off_t joffset, offset; + u_char *buf, sum[16]; + uint64_t id; + MD5_CTX ctx; + int error, found, i; + + found = 0; + fbp = NULL; + cp = sc->sc_jconsumer; + bp = g_alloc_bio(); + buf = gj_malloc(cp->provider->sectorsize, M_WAITOK); + offset = joffset = sc->sc_inactive.jj_offset = sc->sc_journal_offset; + + GJ_DEBUG(2, "Looking for termination at %jd.", (intmax_t)joffset); + + /* + * Read and decode first journal header. + */ + error = g_journal_sync_read(cp, bp, offset, buf); + if (error != 0) { + GJ_DEBUG(0, "Error while reading journal header from %s.", + cp->provider->name); + goto end; + } + error = g_journal_header_decode(buf, &jhdr); + if (error != 0) { + GJ_DEBUG(0, "Cannot decode journal header from %s.", + cp->provider->name); + goto end; + } + id = sc->sc_journal_id; + if (jhdr.jh_journal_id != sc->sc_journal_id) { + GJ_DEBUG(1, "Journal ID mismatch at %jd (0x%08x != 0x%08x).", + (intmax_t)offset, (u_int)jhdr.jh_journal_id, (u_int)id); + goto end; + } + offset += cp->provider->sectorsize; + id = sc->sc_journal_next_id = jhdr.jh_journal_next_id; + + for (;;) { + /* + * If the biggest record won't fit, look for a record header or + * journal header from the begining. + */ + GJ_VALIDATE_OFFSET(offset, sc); + error = g_journal_sync_read(cp, bp, offset, buf); + if (error != 0) { + /* + * Not good. Having an error while reading header + * means, that we cannot read next headers and in + * consequence we cannot find termination. + */ + GJ_DEBUG(0, + "Error while reading record header from %s.", + cp->provider->name); + break; + } + + error = g_journal_record_header_decode(buf, &rhdr); + if (error != 0) { + GJ_DEBUG(2, "Not a record header at %jd (error=%d).", + (intmax_t)offset, error); + /* + * This is not a record header. + * If we are lucky, this is next journal header. + */ + error = g_journal_header_decode(buf, &jhdr); + if (error != 0) { + GJ_DEBUG(1, "Not a journal header at %jd (error=%d).", + (intmax_t)offset, error); + /* + * Nope, this is not journal header, which + * bascially means that journal is not + * terminated properly. + */ + error = ENOENT; + break; + } + /* + * Ok. This is header of _some_ journal. Now we need to + * verify if this is header of the _next_ journal. + */ + if (jhdr.jh_journal_id != id) { + GJ_DEBUG(1, "Journal ID mismatch at %jd " + "(0x%08x != 0x%08x).", (intmax_t)offset, + (u_int)jhdr.jh_journal_id, (u_int)id); + error = ENOENT; + break; + } + + /* Found termination. */ + found++; + GJ_DEBUG(1, "Found termination at %jd (id=0x%08x).", + (intmax_t)offset, (u_int)id); + sc->sc_active.jj_offset = offset; + sc->sc_journal_offset = + offset + cp->provider->sectorsize; + sc->sc_journal_id = id; + id = sc->sc_journal_next_id = jhdr.jh_journal_next_id; + + while ((tbp = fbp) != NULL) { + fbp = tbp->bio_next; + GJ_LOGREQ(3, tbp, "Adding request."); + g_journal_insert_bio(&sc->sc_inactive.jj_queue, + tbp, M_WAITOK); + } + + /* Skip journal's header. */ + offset += cp->provider->sectorsize; + continue; + } + + /* Skip record's header. */ + offset += cp->provider->sectorsize; + + /* + * Add information about every record entry to the inactive + * queue. + */ + if (sc->sc_flags & GJF_DEVICE_CHECKSUM) + MD5Init(&ctx); + for (i = 0; i < rhdr.jrh_nentries; i++) { + ent = &rhdr.jrh_entries[i]; + GJ_DEBUG(3, "Insert entry: %jd %jd.", + (intmax_t)ent->je_offset, (intmax_t)ent->je_length); + g_journal_insert(&fbp, ent->je_offset, + ent->je_offset + ent->je_length, ent->je_joffset, + NULL, M_WAITOK); + if (sc->sc_flags & GJF_DEVICE_CHECKSUM) { + u_char *buf2; + + /* + * TODO: Should use faster function (like + * g_journal_sync_read()). + */ + buf2 = g_read_data(cp, offset, ent->je_length, + NULL); + if (buf2 == NULL) + GJ_DEBUG(0, "Cannot read data at %jd.", + (intmax_t)offset); + else { + MD5Update(&ctx, buf2, ent->je_length); + g_free(buf2); + } + } + /* Skip entry's data. */ + offset += ent->je_length; + } + if (sc->sc_flags & GJF_DEVICE_CHECKSUM) { + MD5Final(sum, &ctx); + if (bcmp(sum, rhdr.jrh_sum, sizeof(rhdr.jrh_sum)) != 0) { + GJ_DEBUG(0, "MD5 hash mismatch at %jd!", + (intmax_t)offset); + } + } + } +end: + gj_free(bp->bio_data, cp->provider->sectorsize); + g_destroy_bio(bp); + + /* Remove bios from unterminated journal. */ + while ((tbp = fbp) != NULL) { + fbp = tbp->bio_next; + g_destroy_bio(tbp); + } + + if (found < 1 && joffset > 0) { + GJ_DEBUG(0, "Journal on %s is broken/corrupted. Initializing.", + sc->sc_name); + while ((tbp = sc->sc_inactive.jj_queue) != NULL) { + sc->sc_inactive.jj_queue = tbp->bio_next; + g_destroy_bio(tbp); + } + g_journal_initialize(sc); + g_journal_mark_as_dirty(sc); + } else { + GJ_DEBUG(0, "Journal %s consistent.", sc->sc_name); + g_journal_copy_start(sc); + } +} + +/* + * Wait for requests. + * If we have requests in the current queue, flush them after 3 seconds from the + * last flush. In this way we don't wait forever (or for journal switch) with + * storing not full records on journal. + */ +static void +g_journal_wait(struct g_journal_softc *sc, time_t last_write) +{ + int error, timeout; + + GJ_DEBUG(3, "%s: enter", __func__); + if (sc->sc_current_count == 0) { + if (g_journal_debug < 2) + msleep(sc, &sc->sc_mtx, PRIBIO | PDROP, "gj:work", 0); + else { + /* + * If we have debug turned on, show number of elements + * in various queues. + */ + for (;;) { + error = msleep(sc, &sc->sc_mtx, PRIBIO, + "gj:work", hz * 3); + if (error == 0) { + mtx_unlock(&sc->sc_mtx); + break; + } + GJ_DEBUG(3, "Report: current count=%d", + sc->sc_current_count); + GJ_DEBUG(3, "Report: flush count=%d", + sc->sc_flush_count); + GJ_DEBUG(3, "Report: flush in progress=%d", + sc->sc_flush_in_progress); + GJ_DEBUG(3, "Report: copy in progress=%d", + sc->sc_copy_in_progress); + GJ_DEBUG(3, "Report: delayed=%d", + sc->sc_delayed_count); + } + } + GJ_DEBUG(3, "%s: exit 1", __func__); + return; + } + + /* + * Flush even not full records every 3 seconds. + */ + timeout = (last_write + 3 - time_second) * hz; + if (timeout <= 0) { + mtx_unlock(&sc->sc_mtx); + g_journal_flush(sc); + g_journal_flush_send(sc); + GJ_DEBUG(3, "%s: exit 2", __func__); + return; + } + error = msleep(sc, &sc->sc_mtx, PRIBIO | PDROP, "gj:work", timeout); + if (error == EWOULDBLOCK) + g_journal_flush_send(sc); + GJ_DEBUG(3, "%s: exit 3", __func__); +} + +/* + * Worker thread. + */ +static void +g_journal_worker(void *arg) +{ + struct g_journal_softc *sc; + struct g_geom *gp; + struct g_provider *pp; + struct bio *bp; + time_t last_write; + int type; + + mtx_lock_spin(&sched_lock); + sched_prio(curthread, PRIBIO); + mtx_unlock_spin(&sched_lock); + + sc = arg; + + if (sc->sc_flags & GJF_DEVICE_CLEAN) { + GJ_DEBUG(0, "Journal %s clean.", sc->sc_name); + g_journal_initialize(sc); + } else { + g_journal_sync(sc); + } + /* + * Check if we can use BIO_FLUSH. + */ + sc->sc_bio_flush = 0; + if (g_io_flush(sc->sc_jconsumer) == 0) { + sc->sc_bio_flush |= GJ_FLUSH_JOURNAL; + GJ_DEBUG(1, "BIO_FLUSH supported by %s.", + sc->sc_jconsumer->provider->name); + } else { + GJ_DEBUG(0, "BIO_FLUSH not supported by %s.", + sc->sc_jconsumer->provider->name); + } + if (sc->sc_jconsumer != sc->sc_dconsumer) { + if (g_io_flush(sc->sc_dconsumer) == 0) { + sc->sc_bio_flush |= GJ_FLUSH_DATA; + GJ_DEBUG(1, "BIO_FLUSH supported by %s.", + sc->sc_dconsumer->provider->name); + } else { + GJ_DEBUG(0, "BIO_FLUSH not supported by %s.", + sc->sc_dconsumer->provider->name); + } + } + + gp = sc->sc_geom; + g_topology_lock(); + pp = g_new_providerf(gp, "%s.journal", sc->sc_name); + KASSERT(pp != NULL, ("Cannot create %s.journal.", sc->sc_name)); + pp->mediasize = sc->sc_mediasize; + /* + * There could be a problem when data provider and journal providers + * have different sectorsize, but such scenario is prevented on journal + * creation. + */ + pp->sectorsize = sc->sc_sectorsize; + g_error_provider(pp, 0); + g_topology_unlock(); + last_write = time_second; + + for (;;) { + /* Get first request from the queue. */ + mtx_lock(&sc->sc_mtx); + bp = bioq_first(&sc->sc_back_queue); + if (bp != NULL) + type = (bp->bio_cflags & GJ_BIO_MASK); + if (bp == NULL) { + bp = bioq_first(&sc->sc_regular_queue); + if (bp != NULL) + type = GJ_BIO_REGULAR; + } + if (bp == NULL) { +try_switch: + if ((sc->sc_flags & GJF_DEVICE_SWITCH) || + (sc->sc_flags & GJF_DEVICE_DESTROY)) { + if (sc->sc_current_count > 0) { + mtx_unlock(&sc->sc_mtx); + g_journal_flush(sc); + g_journal_flush_send(sc); + continue; + } + if (sc->sc_flush_in_progress > 0) + goto sleep; + if (sc->sc_copy_in_progress > 0) + goto sleep; + } + if (sc->sc_flags & GJF_DEVICE_SWITCH) { + mtx_unlock(&sc->sc_mtx); + g_journal_switch(sc); + wakeup(&sc->sc_journal_copying); + continue; + } + if (sc->sc_flags & GJF_DEVICE_DESTROY) { + GJ_DEBUG(1, "Shutting down worker " + "thread for %s.", gp->name); + sc->sc_worker = NULL; + wakeup(&sc->sc_worker); + mtx_unlock(&sc->sc_mtx); + kthread_exit(0); + } +sleep: + g_journal_wait(sc, last_write); + continue; + } + /* + * If we're in switch process, we need to delay all new + * write requests until its done. + */ + if ((sc->sc_flags & GJF_DEVICE_SWITCH) && + type == GJ_BIO_REGULAR && bp->bio_cmd == BIO_WRITE) { + GJ_LOGREQ(2, bp, "WRITE on SWITCH"); + goto try_switch; + } + if (type == GJ_BIO_REGULAR) + bioq_remove(&sc->sc_regular_queue, bp); + else + bioq_remove(&sc->sc_back_queue, bp); + mtx_unlock(&sc->sc_mtx); + switch (type) { + case GJ_BIO_REGULAR: + /* Regular request. */ + switch (bp->bio_cmd) { + case BIO_READ: + g_journal_read(sc, bp, bp->bio_offset, + bp->bio_offset + bp->bio_length); + break; + case BIO_WRITE: + last_write = time_second; + g_journal_add_request(sc, bp); + g_journal_flush_send(sc); + break; + default: + panic("Invalid bio_cmd (%d).", bp->bio_cmd); + } + break; + case GJ_BIO_COPY: + switch (bp->bio_cmd) { + case BIO_READ: + if (g_journal_copy_read_done(bp)) + g_journal_copy_send(sc); + break; + case BIO_WRITE: + g_journal_copy_write_done(bp); + g_journal_copy_send(sc); + break; + default: + panic("Invalid bio_cmd (%d).", bp->bio_cmd); + } + break; + case GJ_BIO_JOURNAL: + g_journal_flush_done(bp); + g_journal_flush_send(sc); + break; + case GJ_BIO_READ: + default: + panic("Invalid bio (%d).", type); + } + } +} + +static void +g_journal_destroy_event(void *arg, int flags __unused) +{ + struct g_journal_softc *sc; + + g_topology_assert(); + sc = arg; + g_journal_destroy(sc); +} + +static void +g_journal_timeout(void *arg) +{ + struct g_journal_softc *sc; + + sc = arg; + GJ_DEBUG(0, "Timeout. Journal %s cannot be completed.", + sc->sc_geom->name); + g_post_event(g_journal_destroy_event, sc, M_NOWAIT, NULL); +} + +static struct g_geom * +g_journal_create(struct g_class *mp, struct g_provider *pp, + const struct g_journal_metadata *md) +{ + struct g_journal_softc *sc; + struct g_geom *gp; + struct g_consumer *cp; + int error; + + g_topology_assert(); + /* + * There are two possibilities: + * 1. Data and both journals are on the same provider. + * 2. Data and journals are all on separated providers. + */ + /* Look for journal device with the same ID. */ + LIST_FOREACH(gp, &mp->geom, geom) { + sc = gp->softc; + if (sc == NULL) + continue; + if (sc->sc_id == md->md_id) + break; + } + if (gp == NULL) + sc = NULL; + else if (sc != NULL && (sc->sc_type & md->md_type) != 0) { + GJ_DEBUG(1, "Journal device %u already configured.", sc->sc_id); + return (NULL); + } + if (md->md_type == 0 || (md->md_type & ~GJ_TYPE_COMPLETE) != 0) { + GJ_DEBUG(0, "Invalid type on %s.", pp->name); + return (NULL); + } + if (md->md_type & GJ_TYPE_DATA) { + GJ_DEBUG(0, "Journal %u: %s contains data.", md->md_id, + pp->name); + } + if (md->md_type & GJ_TYPE_JOURNAL) { + GJ_DEBUG(0, "Journal %u: %s contains journal.", md->md_id, + pp->name); + } + + if (sc == NULL) { + /* Action geom. */ + sc = malloc(sizeof(*sc), M_JOURNAL, M_WAITOK | M_ZERO); + sc->sc_id = md->md_id; + sc->sc_type = 0; + sc->sc_flags = 0; + sc->sc_worker = NULL; + + gp = g_new_geomf(mp, "gjournal %u", sc->sc_id); + gp->start = g_journal_start; + gp->orphan = g_journal_orphan; + gp->access = g_journal_access; + gp->softc = sc; + sc->sc_geom = gp; + + mtx_init(&sc->sc_mtx, "gjournal", NULL, MTX_DEF); + + bioq_init(&sc->sc_back_queue); + bioq_init(&sc->sc_regular_queue); + bioq_init(&sc->sc_delayed_queue); + sc->sc_delayed_count = 0; + sc->sc_current_queue = NULL; + sc->sc_current_count = 0; + sc->sc_flush_queue = NULL; + sc->sc_flush_count = 0; + sc->sc_flush_in_progress = 0; + sc->sc_copy_queue = NULL; + sc->sc_copy_in_progress = 0; + sc->sc_inactive.jj_queue = NULL; + sc->sc_active.jj_queue = NULL; + + callout_init(&sc->sc_callout, CALLOUT_MPSAFE); + if (md->md_type != GJ_TYPE_COMPLETE) { + /* + * Journal and data are on separate providers. + * At this point we have only one of them. + * We setup a timeout in case the other part will not + * appear, so we won't wait forever. + */ + callout_reset(&sc->sc_callout, 5 * hz, + g_journal_timeout, sc); + } + } + + /* Remember type of the data provider. */ + if (md->md_type & GJ_TYPE_DATA) + sc->sc_orig_type = md->md_type; + sc->sc_type |= md->md_type; + cp = NULL; + + if (md->md_type & GJ_TYPE_DATA) { + if (md->md_flags & GJ_FLAG_CLEAN) + sc->sc_flags |= GJF_DEVICE_CLEAN; + if (md->md_flags & GJ_FLAG_CHECKSUM) + sc->sc_flags |= GJF_DEVICE_CHECKSUM; + cp = g_new_consumer(gp); + error = g_attach(cp, pp); + KASSERT(error == 0, ("Cannot attach to %s (error=%d).", + pp->name, error)); + error = g_access(cp, 1, 1, 1); + if (error != 0) { + GJ_DEBUG(0, "Cannot access %s (error=%d).", pp->name, + error); + g_journal_destroy(sc); + return (NULL); + } + sc->sc_dconsumer = cp; + sc->sc_mediasize = pp->mediasize - pp->sectorsize; + sc->sc_sectorsize = pp->sectorsize; + sc->sc_jstart = md->md_jstart; + sc->sc_jend = md->md_jend; + if (md->md_provider[0] != '\0') + sc->sc_flags |= GJF_DEVICE_HARDCODED; + sc->sc_journal_offset = md->md_joffset; + sc->sc_journal_id = md->md_jid; + sc->sc_journal_previous_id = md->md_jid; + } + if (md->md_type & GJ_TYPE_JOURNAL) { + if (cp == NULL) { + cp = g_new_consumer(gp); + error = g_attach(cp, pp); + KASSERT(error == 0, ("Cannot attach to %s (error=%d).", + pp->name, error)); + error = g_access(cp, 1, 1, 1); + if (error != 0) { + GJ_DEBUG(0, "Cannot access %s (error=%d).", + pp->name, error); + g_journal_destroy(sc); + return (NULL); + } + } else { + /* + * Journal is on the same provider as data, which means + * that data provider ends where journal starts. + */ + sc->sc_mediasize = md->md_jstart; + } + sc->sc_jconsumer = cp; + } + + if ((sc->sc_type & GJ_TYPE_COMPLETE) != GJ_TYPE_COMPLETE) { + /* Journal is not complete yet. */ + return (gp); + } else { + /* Journal complete, cancel timeout. */ + callout_drain(&sc->sc_callout); + } + + error = kthread_create(g_journal_worker, sc, &sc->sc_worker, 0, 0, + "g_journal %s", sc->sc_name); + if (error != 0) { + GJ_DEBUG(0, "Cannot create worker thread for %s.journal.", + sc->sc_name); + g_journal_destroy(sc); + return (NULL); + } + + return (gp); +} + +static void +g_journal_destroy_consumer(void *arg, int flags __unused) +{ + struct g_consumer *cp; + + g_topology_assert(); + cp = arg; + g_detach(cp); + g_destroy_consumer(cp); +} + +static int +g_journal_destroy(struct g_journal_softc *sc) +{ + struct g_geom *gp; + struct g_provider *pp; + struct g_consumer *cp; + + g_topology_assert(); + + if (sc == NULL) + return (ENXIO); + + gp = sc->sc_geom; + pp = LIST_FIRST(&gp->provider); + if (pp != NULL) { + if (pp->acr != 0 || pp->acw != 0 || pp->ace != 0) { + GJ_DEBUG(1, "Device %s is still open (r%dw%de%d).", + pp->name, pp->acr, pp->acw, pp->ace); + return (EBUSY); + } + g_error_provider(pp, ENXIO); + + g_journal_flush(sc); + g_journal_flush_send(sc); + g_journal_switch(sc); + } + + sc->sc_flags |= (GJF_DEVICE_DESTROY | GJF_DEVICE_CLEAN); + + g_topology_unlock(); + callout_drain(&sc->sc_callout); + mtx_lock(&sc->sc_mtx); + wakeup(sc); + while (sc->sc_worker != NULL) + msleep(&sc->sc_worker, &sc->sc_mtx, PRIBIO, "gj:destroy", 0); + mtx_unlock(&sc->sc_mtx); + + if (pp != NULL) { + GJ_DEBUG(1, "Marking %s as clean.", sc->sc_name); + g_journal_metadata_update(sc); + g_topology_lock(); + pp->flags |= G_PF_WITHER; + g_orphan_provider(pp, ENXIO); + } else { + g_topology_lock(); + } + mtx_destroy(&sc->sc_mtx); + + if (sc->sc_current_count != 0) { + GJ_DEBUG(0, "Warning! Number of current requests %d.", + sc->sc_current_count); + } + + LIST_FOREACH(cp, &gp->consumer, consumer) { + if (cp->acr + cp->acw + cp->ace > 0) + g_access(cp, -1, -1, -1); + /* + * We keep all consumers open for writting, so if I'll detach + * and destroy consumer here, I'll get providers for taste, so + * journal will be started again. + * Sending an event here, prevents this from happening. + */ + g_post_event(g_journal_destroy_consumer, cp, M_WAITOK, NULL); + } + gp->softc = NULL; + g_wither_geom(gp, ENXIO); + free(sc, M_JOURNAL); + return (0); +} + +static void +g_journal_taste_orphan(struct g_consumer *cp) +{ + + KASSERT(1 == 0, ("%s called while tasting %s.", __func__, + cp->provider->name)); +} + +static struct g_geom * +g_journal_taste(struct g_class *mp, struct g_provider *pp, int flags __unused) +{ + struct g_journal_metadata md; + struct g_consumer *cp; + struct g_geom *gp; + int error; + + g_topology_assert(); + g_trace(G_T_TOPOLOGY, "%s(%s, %s)", __func__, mp->name, pp->name); + GJ_DEBUG(2, "Tasting %s.", pp->name); + if (pp->geom->class == mp) + return (NULL); + + gp = g_new_geomf(mp, "journal:taste"); + /* This orphan function should be never called. */ + gp->orphan = g_journal_taste_orphan; + cp = g_new_consumer(gp); + g_attach(cp, pp); + error = g_journal_metadata_read(cp, &md); + g_detach(cp); + g_destroy_consumer(cp); + g_destroy_geom(gp); + if (error != 0) + return (NULL); + gp = NULL; + + if (md.md_provider[0] != '\0' && strcmp(md.md_provider, pp->name) != 0) + return (NULL); + if (md.md_provsize != 0 && md.md_provsize != pp->mediasize) + return (NULL); + if (g_journal_debug >= 2) + journal_metadata_dump(&md); + + gp = g_journal_create(mp, pp, &md); + return (gp); +} + +static struct g_journal_softc * +g_journal_find_device(struct g_class *mp, const char *name) +{ + struct g_journal_softc *sc; + struct g_geom *gp; + struct g_provider *pp; + + if (strncmp(name, "/dev/", 5) == 0) + name += 5; + LIST_FOREACH(gp, &mp->geom, geom) { + sc = gp->softc; + if (sc == NULL) + continue; + if (sc->sc_flags & GJF_DEVICE_DESTROY) + continue; + if ((sc->sc_type & GJ_TYPE_COMPLETE) != GJ_TYPE_COMPLETE) + continue; + pp = LIST_FIRST(&gp->provider); + if (strcmp(sc->sc_name, name) == 0) + return (sc); + if (pp != NULL && strcmp(pp->name, name) == 0) + return (sc); + } + return (NULL); +} + +static void +g_journal_ctl_destroy(struct gctl_req *req, struct g_class *mp) +{ + struct g_journal_softc *sc; + const char *name; + char param[16]; + int *nargs; + int error, i; + + g_topology_assert(); + + nargs = gctl_get_paraml(req, "nargs", sizeof(*nargs)); + if (nargs == NULL) { + gctl_error(req, "No '%s' argument.", "nargs"); + return; + } + if (*nargs <= 0) { + gctl_error(req, "Missing device(s)."); + return; + } + + for (i = 0; i < *nargs; i++) { + snprintf(param, sizeof(param), "arg%d", i); + name = gctl_get_asciiparam(req, param); + if (name == NULL) { + gctl_error(req, "No 'arg%d' argument.", i); + return; + } + sc = g_journal_find_device(mp, name); + if (sc == NULL) { + gctl_error(req, "No such device: %s.", name); + return; + } + error = g_journal_destroy(sc); + if (error != 0) { + gctl_error(req, "Cannot destroy device %s (error=%d).", + LIST_FIRST(&sc->sc_geom->provider)->name, error); + return; + } + } +} + +static void +g_journal_ctl_sync(struct gctl_req *req __unused, struct g_class *mp __unused) +{ + + g_topology_assert(); + g_topology_unlock(); + g_journal_sync_requested++; + wakeup(&g_journal_switcher_state); + while (g_journal_sync_requested > 0) + tsleep(&g_journal_sync_requested, PRIBIO, "j:sreq", hz / 2); + g_topology_lock(); +} + +static void +g_journal_config(struct gctl_req *req, struct g_class *mp, const char *verb) +{ + uint32_t *version; + + g_topology_assert(); + + version = gctl_get_paraml(req, "version", sizeof(*version)); + if (version == NULL) { + gctl_error(req, "No '%s' argument.", "version"); + return; + } + if (*version != G_JOURNAL_VERSION) { + gctl_error(req, "Userland and kernel parts are out of sync."); + return; + } + + if (strcmp(verb, "destroy") == 0 || strcmp(verb, "stop") == 0) { + g_journal_ctl_destroy(req, mp); + return; + } else if (strcmp(verb, "sync") == 0) { + g_journal_ctl_sync(req, mp); + return; + } + + gctl_error(req, "Unknown verb."); +} + +static void +g_journal_dumpconf(struct sbuf *sb, const char *indent, struct g_geom *gp, + struct g_consumer *cp, struct g_provider *pp) +{ + struct g_journal_softc *sc; + + g_topology_assert(); + + sc = gp->softc; + if (sc == NULL) + return; + if (pp != NULL) { + /* Nothing here. */ + } else if (cp != NULL) { + int first = 1; + + sbuf_printf(sb, "%s", indent); + if (cp == sc->sc_dconsumer) { + sbuf_printf(sb, "Data"); + first = 0; + } + if (cp == sc->sc_jconsumer) { + if (!first) + sbuf_printf(sb, ","); + sbuf_printf(sb, "Journal"); + } + sbuf_printf(sb, "\n"); + if (cp == sc->sc_jconsumer) { + sbuf_printf(sb, "%jd", + (intmax_t)sc->sc_jstart); + sbuf_printf(sb, "%jd", + (intmax_t)sc->sc_jend); + } + } else { + sbuf_printf(sb, "%s%u\n", indent, (u_int)sc->sc_id); + } +} + +static eventhandler_tag g_journal_event_shutdown = NULL; +static eventhandler_tag g_journal_event_lowmem = NULL; + +static void +g_journal_shutdown(void *arg, int howto __unused) +{ + struct g_class *mp; + struct g_geom *gp, *gp2; + + if (panicstr != NULL) + return; + mp = arg; + DROP_GIANT(); + g_topology_lock(); + LIST_FOREACH_SAFE(gp, &mp->geom, geom, gp2) { + if (gp->softc == NULL) + continue; + GJ_DEBUG(0, "Shutting down geom %s.", gp->name); + g_journal_destroy(gp->softc); + } + g_topology_unlock(); + PICKUP_GIANT(); +} + +/* + * Free cached requests from inactive queue in case of low memory. + * We free GJ_FREE_AT_ONCE elements at once. + */ +#define GJ_FREE_AT_ONCE 4 +static void +g_journal_lowmem(void *arg, int howto __unused) +{ + struct g_journal_softc *sc; + struct g_class *mp; + struct g_geom *gp; + struct bio *bp; + u_int nfree = GJ_FREE_AT_ONCE; + + g_journal_stats_low_mem++; + mp = arg; + DROP_GIANT(); + g_topology_lock(); + LIST_FOREACH(gp, &mp->geom, geom) { + sc = gp->softc; + if (sc == NULL || (sc->sc_flags & GJF_DEVICE_DESTROY)) + continue; + mtx_lock(&sc->sc_mtx); + for (bp = sc->sc_inactive.jj_queue; nfree > 0 && bp != NULL; + nfree--, bp = bp->bio_next) { + /* + * This is safe to free the bio_data, because: + * 1. If bio_data is NULL it will be read from the + * inactive journal. + * 2. If bp is sent down, it is first removed from the + * inactive queue, so it's impossible to free the + * data from under in-flight bio. + * On the other hand, freeing elements from the active + * queue, is not safe. + */ + if (bp->bio_data != NULL) { + GJ_DEBUG(2, "Freeing data from %s.", + sc->sc_name); + gj_free(bp->bio_data, bp->bio_length); + bp->bio_data = NULL; + } + } + mtx_unlock(&sc->sc_mtx); + if (nfree == 0) + break; + } + g_topology_unlock(); + PICKUP_GIANT(); +} + +static void g_journal_switcher(void *arg); + +static void +g_journal_init(struct g_class *mp) +{ + int error; + + /* Pick a conservative value if provided value sucks. */ + if (g_journal_cache_divisor <= 0 || + (vm_kmem_size / g_journal_cache_divisor == 0)) { + g_journal_cache_divisor = 5; + } + if (g_journal_cache_limit > 0) { + g_journal_cache_limit = vm_kmem_size / g_journal_cache_divisor; + g_journal_cache_low = + (g_journal_cache_limit / 100) * g_journal_cache_switch; + } + g_journal_event_shutdown = EVENTHANDLER_REGISTER(shutdown_post_sync, + g_journal_shutdown, mp, EVENTHANDLER_PRI_FIRST); + if (g_journal_event_shutdown == NULL) + GJ_DEBUG(0, "Warning! Cannot register shutdown event."); + g_journal_event_lowmem = EVENTHANDLER_REGISTER(vm_lowmem, + g_journal_lowmem, mp, EVENTHANDLER_PRI_FIRST); + if (g_journal_event_lowmem == NULL) + GJ_DEBUG(0, "Warning! Cannot register lowmem event."); + error = kthread_create(g_journal_switcher, mp, NULL, 0, 0, + "g_journal switcher"); + KASSERT(error == 0, ("Cannot create switcher thread.")); +} + +static void +g_journal_fini(struct g_class *mp) +{ + + if (g_journal_event_shutdown != NULL) { + EVENTHANDLER_DEREGISTER(shutdown_post_sync, + g_journal_event_shutdown); + } + if (g_journal_event_lowmem != NULL) + EVENTHANDLER_DEREGISTER(vm_lowmem, g_journal_event_lowmem); + g_journal_switcher_state = GJ_SWITCHER_DIE; + wakeup(&g_journal_switcher_state); + while (g_journal_switcher_state != GJ_SWITCHER_DIED) + tsleep(&g_journal_switcher_state, PRIBIO, "jfini:wait", hz / 5); + GJ_DEBUG(1, "Switcher died."); +} + +DECLARE_GEOM_CLASS(g_journal_class, g_journal); + +static const struct g_journal_desc * +g_journal_find_desc(const char *fstype) +{ + const struct g_journal_desc *desc; + int i; + + for (desc = g_journal_filesystems[i = 0]; desc != NULL; + desc = g_journal_filesystems[++i]) { + if (strcmp(desc->jd_fstype, fstype) == 0) + break; + } + return (desc); +} + +static void +g_journal_switch_wait(struct g_journal_softc *sc) +{ + struct bintime bt; + + mtx_assert(&sc->sc_mtx, MA_OWNED); + if (g_journal_debug >= 2) { + if (sc->sc_flush_in_progress > 0) { + GJ_DEBUG(2, "%d requests flushing.", + sc->sc_flush_in_progress); + } + if (sc->sc_copy_in_progress > 0) { + GJ_DEBUG(2, "%d requests copying.", + sc->sc_copy_in_progress); + } + if (sc->sc_flush_count > 0) { + GJ_DEBUG(2, "%d requests to flush.", + sc->sc_flush_count); + } + if (sc->sc_delayed_count > 0) { + GJ_DEBUG(2, "%d requests delayed.", + sc->sc_delayed_count); + } + } + g_journal_stats_switches++; + if (sc->sc_copy_in_progress > 0) + g_journal_stats_wait_for_copy++; + GJ_TIMER_START(1, &bt); + sc->sc_flags &= ~GJF_DEVICE_BEFORE_SWITCH; + sc->sc_flags |= GJF_DEVICE_SWITCH; + wakeup(sc); + while (sc->sc_flags & GJF_DEVICE_SWITCH) { + msleep(&sc->sc_journal_copying, &sc->sc_mtx, PRIBIO, + "gj:switch", 0); + } + GJ_TIMER_STOP(1, &bt, "Switch time of %s", sc->sc_name); +} + +static void +g_journal_do_switch(struct g_class *classp, struct thread *td) +{ + struct g_journal_softc *sc; + const struct g_journal_desc *desc; + struct g_geom *gp; + struct mount *mp; + struct bintime bt; + char *mountpoint; + int asyncflag, error, vfslocked; + + DROP_GIANT(); + g_topology_lock(); + LIST_FOREACH(gp, &classp->geom, geom) { + sc = gp->softc; + if (sc == NULL) + continue; + if (sc->sc_flags & GJF_DEVICE_DESTROY) + continue; + if ((sc->sc_type & GJ_TYPE_COMPLETE) != GJ_TYPE_COMPLETE) + continue; + mtx_lock(&sc->sc_mtx); + sc->sc_flags |= GJF_DEVICE_BEFORE_SWITCH; + mtx_unlock(&sc->sc_mtx); + } + g_topology_unlock(); + PICKUP_GIANT(); + + mtx_lock(&mountlist_mtx); + TAILQ_FOREACH(mp, &mountlist, mnt_list) { + if (mp->mnt_gjprovider == NULL) + continue; + if (mp->mnt_flag & MNT_RDONLY) + continue; + desc = g_journal_find_desc(mp->mnt_stat.f_fstypename); + if (desc == NULL) + continue; + if (vfs_busy(mp, LK_NOWAIT, &mountlist_mtx, td)) + continue; + /* mtx_unlock(&mountlist_mtx) was done inside vfs_busy() */ + + DROP_GIANT(); + g_topology_lock(); + sc = g_journal_find_device(classp, mp->mnt_gjprovider); + g_topology_unlock(); + PICKUP_GIANT(); + + if (sc == NULL) { + GJ_DEBUG(0, "Cannot find journal geom for %s.", + mp->mnt_gjprovider); + goto next; + } else if (JEMPTY(sc)) { + mtx_lock(&sc->sc_mtx); + sc->sc_flags &= ~GJF_DEVICE_BEFORE_SWITCH; + mtx_unlock(&sc->sc_mtx); + GJ_DEBUG(3, "No need for %s switch.", sc->sc_name); + goto next; + } + + mountpoint = mp->mnt_stat.f_mntonname; + + vfslocked = VFS_LOCK_GIANT(mp); + + error = vn_start_write(NULL, &mp, V_WAIT); + if (error != 0) { + VFS_UNLOCK_GIANT(vfslocked); + GJ_DEBUG(0, "vn_start_write(%s) failed (error=%d).", + mountpoint, error); + goto next; + } + asyncflag = mp->mnt_flag & MNT_ASYNC; + mp->mnt_flag &= ~MNT_ASYNC; + + GJ_TIMER_START(1, &bt); + vfs_msync(mp, MNT_NOWAIT); + GJ_TIMER_STOP(1, &bt, "Msync time of %s", mountpoint); + + GJ_TIMER_START(1, &bt); + error = VFS_SYNC(mp, MNT_NOWAIT, curthread); + if (error == 0) + GJ_TIMER_STOP(1, &bt, "Sync time of %s", mountpoint); + else { + GJ_DEBUG(0, "Cannot sync file system %s (error=%d).", + mountpoint, error); + } + mp->mnt_flag |= asyncflag; + + vn_finished_write(mp); + + if (error != 0) { + VFS_UNLOCK_GIANT(vfslocked); + goto next; + } + + GJ_TIMER_START(1, &bt); + error = vfs_write_suspend(mp); + VFS_UNLOCK_GIANT(vfslocked); + GJ_TIMER_STOP(1, &bt, "Suspend time of %s", mountpoint); + if (error != 0) { + GJ_DEBUG(0, "Cannot suspend file system %s (error=%d).", + mountpoint, error); + goto next; + } + + error = desc->jd_clean(mp); + if (error != 0) + goto next; + + mtx_lock(&sc->sc_mtx); + g_journal_switch_wait(sc); + mtx_unlock(&sc->sc_mtx); + + vfs_write_resume(mp); +next: + mtx_lock(&mountlist_mtx); + vfs_unbusy(mp, td); + } + mtx_unlock(&mountlist_mtx); + + sc = NULL; + for (;;) { + DROP_GIANT(); + g_topology_lock(); + LIST_FOREACH(gp, &g_journal_class.geom, geom) { + sc = gp->softc; + if (sc == NULL) + continue; + mtx_lock(&sc->sc_mtx); + if ((sc->sc_type & GJ_TYPE_COMPLETE) == GJ_TYPE_COMPLETE && + !(sc->sc_flags & GJF_DEVICE_DESTROY) && + (sc->sc_flags & GJF_DEVICE_BEFORE_SWITCH)) { + break; + } + mtx_unlock(&sc->sc_mtx); + sc = NULL; + } + g_topology_unlock(); + PICKUP_GIANT(); + if (sc == NULL) + break; + mtx_assert(&sc->sc_mtx, MA_OWNED); + g_journal_switch_wait(sc); + mtx_unlock(&sc->sc_mtx); + } +} + +/* + * TODO: Switcher thread should be started on first geom creation and killed on + * last geom destruction. + */ +static void +g_journal_switcher(void *arg) +{ + struct thread *td = curthread; + struct g_class *mp; + struct bintime bt; + int error; + + mp = arg; + for (;;) { + g_journal_switcher_wokenup = 0; + error = tsleep(&g_journal_switcher_state, PRIBIO, "jsw:wait", + g_journal_switch_time * hz); + if (g_journal_switcher_state == GJ_SWITCHER_DIE) { + g_journal_switcher_state = GJ_SWITCHER_DIED; + GJ_DEBUG(1, "Switcher exiting."); + wakeup(&g_journal_switcher_state); + kthread_exit(0); + } + if (error == 0 && g_journal_sync_requested == 0) { + GJ_DEBUG(1, "Out of cache, force switch (used=%u " + "limit=%u).", g_journal_cache_used, + g_journal_cache_limit); + } + GJ_TIMER_START(1, &bt); + g_journal_do_switch(mp, td); + GJ_TIMER_STOP(1, &bt, "Entire switch time"); + if (g_journal_sync_requested > 0) { + g_journal_sync_requested = 0; + wakeup(&g_journal_sync_requested); + } + } +} --- /dev/null Tue Oct 24 16:34:10 2006 +++ sys/geom/journal/g_journal.h Tue Oct 24 16:34:16 2006 @@ -0,0 +1,379 @@ +/*- + * Copyright (c) 2005-2006 Pawel Jakub Dawidek + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * $FreeBSD$ + */ + +#ifndef _G_JOURNAL_H_ +#define _G_JOURNAL_H_ + +#include +#include +#ifdef _KERNEL +#include +#endif + +#define G_JOURNAL_CLASS_NAME "JOURNAL" + +#define G_JOURNAL_MAGIC "GEOM::JOURNAL" +/* + * Version history: + * 0 - Initial version number. + */ +#define G_JOURNAL_VERSION 0 + +#ifdef _KERNEL +extern int g_journal_debug; + +#define GJ_DEBUG(lvl, ...) do { \ + if (g_journal_debug >= (lvl)) { \ + printf("GEOM_JOURNAL"); \ + if (g_journal_debug > 0) \ + printf("[%u]", lvl); \ + printf(": "); \ + printf(__VA_ARGS__); \ + printf("\n"); \ + } \ +} while (0) +#define GJ_LOGREQ(lvl, bp, ...) do { \ + if (g_journal_debug >= (lvl)) { \ + printf("GEOM_JOURNAL"); \ + if (g_journal_debug > 0) \ + printf("[%u]", lvl); \ + printf(": "); \ + printf(__VA_ARGS__); \ + printf(" "); \ + g_print_bio(bp); \ + printf("\n"); \ + } \ +} while (0) + +#define JEMPTY(sc) ((sc)->sc_journal_offset - \ + (sc)->sc_jprovider->sectorsize == \ + (sc)->sc_active.jj_offset && \ + (sc)->sc_current_count == 0) + +#define GJ_BIO_REGULAR 0x00 +#define GJ_BIO_READ 0x01 +#define GJ_BIO_JOURNAL 0x02 +#define GJ_BIO_COPY 0x03 +#define GJ_BIO_MASK 0x0f + +#if 0 +#define GJF_BIO_DONT_FREE 0x10 +#define GJF_BIO_MASK 0xf0 +#endif + +#define GJF_DEVICE_HARDCODED 0x0001 +#define GJF_DEVICE_DESTROY 0x0010 +#define GJF_DEVICE_SWITCH 0x0020 +#define GJF_DEVICE_BEFORE_SWITCH 0x0040 +#define GJF_DEVICE_CLEAN 0x0080 +#define GJF_DEVICE_CHECKSUM 0x0100 + +#define GJ_HARD_LIMIT 64 + +/* + * We keep pointers to journaled data in bio structure and because we + * need to store two off_t values (offset in data provider and offset in + * journal), we have to borrow bio_completed field for this. + */ +#define bio_joffset bio_completed +/* + * Use bio_caller1 field as a pointer in queue. + */ +#define bio_next bio_caller1 + +/* + * There are two such structures maintained inside each journaled device. + * One describes active part of the journal, were recent requests are stored. + * The second describes the last consistent part of the journal with requests + * that are copied to the destination provider. + */ +struct g_journal_journal { + struct bio *jj_queue; /* Cached journal entries. */ + off_t jj_offset; /* Journal's start offset. */ +}; + +struct g_journal_softc { + uint32_t sc_id; + uint8_t sc_type; + uint8_t sc_orig_type; + struct g_geom *sc_geom; + u_int sc_flags; + struct mtx sc_mtx; + off_t sc_mediasize; + u_int sc_sectorsize; +#define GJ_FLUSH_DATA 0x01 +#define GJ_FLUSH_JOURNAL 0x02 + u_int sc_bio_flush; + + uint32_t sc_journal_id; + uint32_t sc_journal_next_id; + int sc_journal_copying; + off_t sc_journal_offset; + off_t sc_journal_previous_id; + + struct bio_queue_head sc_back_queue; + struct bio_queue_head sc_regular_queue; + + struct bio_queue_head sc_delayed_queue; + int sc_delayed_count; + + struct bio *sc_current_queue; + int sc_current_count; + + struct bio *sc_flush_queue; + int sc_flush_count; + int sc_flush_in_progress; + + struct bio *sc_copy_queue; + int sc_copy_in_progress; + + struct g_consumer *sc_dconsumer; + struct g_consumer *sc_jconsumer; + + struct g_journal_journal sc_inactive; + struct g_journal_journal sc_active; + + off_t sc_jstart; /* Journal space start offset. */ + off_t sc_jend; /* Journal space end offset. */ + + struct callout sc_callout; + struct proc *sc_worker; +}; +#define sc_dprovider sc_dconsumer->provider +#define sc_jprovider sc_jconsumer->provider +#define sc_name sc_dprovider->name + +#define GJQ_INSERT_HEAD(head, bp) do { \ + (bp)->bio_next = (head); \ + (head) = (bp); \ +} while (0) +#define GJQ_INSERT_AFTER(head, bp, pbp) do { \ + if ((pbp) == NULL) \ + GJQ_INSERT_HEAD(head, bp); \ + else { \ + (bp)->bio_next = (pbp)->bio_next; \ + (pbp)->bio_next = (bp); \ + } \ +} while (0) +#define GJQ_FIRST(head) (head) +#define GJQ_REMOVE(head, bp) do { \ + struct bio *_bp; \ + \ + if ((head) == (bp)) { \ + (head) = (bp)->bio_next; \ + (bp)->bio_next = NULL; \ + break; \ + } \ + for (_bp = (head); _bp->bio_next != NULL; _bp = _bp->bio_next) {\ + if (_bp->bio_next == (bp)) \ + break; \ + } \ + KASSERT(_bp->bio_next != NULL, ("NULL bio_next")); \ + KASSERT(_bp->bio_next == (bp), ("bio_next != bp")); \ + _bp->bio_next = (bp)->bio_next; \ + (bp)->bio_next = NULL; \ +} while (0) +#define GJQ_FOREACH(head, bp) \ + for ((bp) = (head); (bp) != NULL; (bp) = (bp)->bio_next) + +#define GJ_HEADER_MAGIC "GJHDR" + +struct g_journal_header { + char jh_magic[sizeof(GJ_HEADER_MAGIC)]; + uint32_t jh_journal_id; + uint32_t jh_journal_next_id; +} __packed; + +struct g_journal_entry { + uint64_t je_joffset; + uint64_t je_offset; + uint64_t je_length; +} __packed; + +#define GJ_RECORD_HEADER_MAGIC "GJRHDR" +#define GJ_RECORD_HEADER_NENTRIES (20) +#define GJ_RECORD_MAX_SIZE(sc) \ + ((sc)->sc_jprovider->sectorsize + GJ_RECORD_HEADER_NENTRIES * MAXPHYS) +#define GJ_VALIDATE_OFFSET(offset, sc) do { \ + if ((offset) + GJ_RECORD_MAX_SIZE(sc) >= (sc)->sc_jend) { \ + (offset) = (sc)->sc_jstart; \ + GJ_DEBUG(2, "Starting from the begining (%s).", \ + (sc)->sc_name); \ + } \ +} while (0) + +struct g_journal_record_header { + char jrh_magic[sizeof(GJ_RECORD_HEADER_MAGIC)]; + uint32_t jrh_journal_id; + uint16_t jrh_nentries; + u_char jrh_sum[8]; + struct g_journal_entry jrh_entries[GJ_RECORD_HEADER_NENTRIES]; +} __packed; + +typedef int (g_journal_clean_t)(struct mount *mp); +typedef void (g_journal_dirty_t)(struct g_consumer *cp); + +struct g_journal_desc { + const char *jd_fstype; + g_journal_clean_t *jd_clean; + g_journal_dirty_t *jd_dirty; +}; + +/* Supported file systems. */ +extern const struct g_journal_desc g_journal_ufs; + +#define GJ_TIMER_START(lvl, bt) do { \ + if (g_journal_debug >= (lvl)) \ + binuptime(bt); \ +} while (0) +#define GJ_TIMER_STOP(lvl, bt, ...) do { \ + if (g_journal_debug >= (lvl)) { \ + struct bintime _bt2; \ + struct timeval _tv; \ + \ + binuptime(&_bt2); \ + bintime_sub(&_bt2, bt); \ + bintime2timeval(&_bt2, &_tv); \ + printf("GEOM_JOURNAL"); \ + if (g_journal_debug > 0) \ + printf("[%u]", lvl); \ + printf(": "); \ + printf(__VA_ARGS__); \ + printf(": %jd.%06jds\n", (intmax_t)_tv.tv_sec, \ + (intmax_t)_tv.tv_usec); \ + } \ +} while (0) +#endif /* _KERNEL */ + +#define GJ_TYPE_DATA 0x01 +#define GJ_TYPE_JOURNAL 0x02 +#define GJ_TYPE_COMPLETE (GJ_TYPE_DATA|GJ_TYPE_JOURNAL) + +#define GJ_FLAG_CLEAN 0x01 +#define GJ_FLAG_CHECKSUM 0x02 + +struct g_journal_metadata { + char md_magic[16]; /* Magic value. */ + uint32_t md_version; /* Version number. */ + uint32_t md_id; /* Journal unique ID. */ + uint8_t md_type; /* Provider type. */ + uint64_t md_jstart; /* Journal space start offset. */ + uint64_t md_jend; /* Journal space end offset. */ + uint64_t md_joffset; /* Last known consistent journal offset. */ + uint32_t md_jid; /* Last known consistent journal ID. */ + uint64_t md_flags; /* Journal flags. */ + char md_provider[16]; /* Hardcoded provider. */ + uint64_t md_provsize; /* Provider's size. */ + u_char md_hash[16]; /* MD5 hash. */ +}; +static __inline void +journal_metadata_encode(struct g_journal_metadata *md, u_char *data) +{ + MD5_CTX ctx; + + bcopy(md->md_magic, data, 16); + le32enc(data + 16, md->md_version); + le32enc(data + 20, md->md_id); + *(data + 24) = md->md_type; + le64enc(data + 25, md->md_jstart); + le64enc(data + 33, md->md_jend); + le64enc(data + 41, md->md_joffset); + le32enc(data + 49, md->md_jid); + le64enc(data + 53, md->md_flags); + bcopy(md->md_provider, data + 61, 16); + le64enc(data + 77, md->md_provsize); + MD5Init(&ctx); + MD5Update(&ctx, data, 85); + MD5Final(md->md_hash, &ctx); + bcopy(md->md_hash, data + 85, 16); +} +static __inline int +journal_metadata_decode_v0(const u_char *data, struct g_journal_metadata *md) +{ + MD5_CTX ctx; + + md->md_id = le32dec(data + 20); + md->md_type = *(data + 24); + md->md_jstart = le64dec(data + 25); + md->md_jend = le64dec(data + 33); + md->md_joffset = le64dec(data + 41); + md->md_jid = le32dec(data + 49); + md->md_flags = le64dec(data + 53); + bcopy(data + 61, md->md_provider, 16); + md->md_provsize = le64dec(data + 77); + MD5Init(&ctx); + MD5Update(&ctx, data, 85); + MD5Final(md->md_hash, &ctx); + if (bcmp(md->md_hash, data + 85, 16) != 0) + return (EINVAL); + return (0); +} +static __inline int +journal_metadata_decode(const u_char *data, struct g_journal_metadata *md) +{ + int error; + + bcopy(data, md->md_magic, 16); + md->md_version = le32dec(data + 16); + switch (md->md_version) { + case 0: + error = journal_metadata_decode_v0(data, md); + break; + default: + error = EINVAL; + break; + } + return (error); +} + +static __inline void +journal_metadata_dump(const struct g_journal_metadata *md) +{ + static const char hex[] = "0123456789abcdef"; + char hash[16 * 2 + 1]; + u_int i; + + printf(" magic: %s\n", md->md_magic); + printf(" version: %u\n", (u_int)md->md_version); + printf(" id: %u\n", (u_int)md->md_id); + printf(" type: %u\n", (u_int)md->md_type); + printf(" start: %ju\n", (uintmax_t)md->md_jstart); + printf(" end: %ju\n", (uintmax_t)md->md_jend); + printf(" joffset: %ju\n", (uintmax_t)md->md_joffset); + printf(" jid: %u\n", (u_int)md->md_jid); + printf(" flags: %u\n", (u_int)md->md_flags); + printf("hcprovider: %s\n", md->md_provider); + printf(" provsize: %ju\n", (uintmax_t)md->md_provsize); + bzero(hash, sizeof(hash)); + for (i = 0; i < 16; i++) { + hash[i * 2] = hex[md->md_hash[i] >> 4]; + hash[i * 2 + 1] = hex[md->md_hash[i] & 0x0f]; + } + printf(" MD5 hash: %s\n", hash); +} +#endif /* !_G_JOURNAL_H_ */ --- /dev/null Tue Oct 24 16:34:10 2006 +++ sys/geom/journal/g_journal_ufs.c Tue Oct 24 16:34:19 2006 @@ -0,0 +1,107 @@ +/*- + * Copyright (c) 2005-2006 Pawel Jakub Dawidek + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + +#include +__FBSDID("$FreeBSD$"); + +#include +#include +#include +#include + +#include +#include +#include +#include +#include + +#include +#include + +#include +#include + +static const int superblocks[] = SBLOCKSEARCH; + +static int +g_journal_ufs_clean(struct mount *mp) +{ + struct ufsmount *ump; + struct fs *fs; + int flags; + + ump = VFSTOUFS(mp); + fs = ump->um_fs; + + flags = fs->fs_flags; + fs->fs_flags &= ~(FS_UNCLEAN | FS_NEEDSFSCK); + ffs_sbupdate(ump, MNT_WAIT, 1); + fs->fs_flags = flags; + + return (0); +} + +static void +g_journal_ufs_dirty(struct g_consumer *cp) +{ + struct fs *fs; + int error, i, sb; + + if (SBLOCKSIZE % cp->provider->sectorsize != 0) + return; + for (i = 0; (sb = superblocks[i]) != -1; i++) { + if (sb % cp->provider->sectorsize != 0) + continue; + fs = g_read_data(cp, sb, SBLOCKSIZE, NULL); + if (fs == NULL) + continue; + if (fs->fs_magic != FS_UFS1_MAGIC && + fs->fs_magic != FS_UFS2_MAGIC) { + g_free(fs); + continue; + } + GJ_DEBUG(0, "clean=%d flags=0x%x", fs->fs_clean, fs->fs_flags); + fs->fs_clean = 0; + fs->fs_flags |= FS_NEEDSFSCK | FS_UNCLEAN; + error = g_write_data(cp, sb, fs, SBLOCKSIZE); + g_free(fs); + if (error != 0) { + GJ_DEBUG(0, "Cannot mark file system %s as dirty " + "(error=%d).", cp->provider->name, error); + } else { + GJ_DEBUG(0, "File system %s marked as dirty.", + cp->provider->name); + } + } +} + +const struct g_journal_desc g_journal_ufs = { + .jd_fstype = "ufs", + .jd_clean = g_journal_ufs_clean, + .jd_dirty = g_journal_ufs_dirty +}; + +MODULE_DEPEND(g_journal, ufs, 1, 1, 1); --- sys/geom/mirror/g_mirror.c.orig +++ sys/geom/mirror/g_mirror.c @@ -1042,6 +1042,48 @@ } static void +g_mirror_flush(struct g_mirror_softc *sc, struct bio *bp) +{ + struct bio_queue_head queue; + struct g_mirror_disk *disk; + struct g_consumer *cp; + struct bio *cbp; + + bioq_init(&queue); + LIST_FOREACH(disk, &sc->sc_disks, d_next) { + if (disk->d_state != G_MIRROR_DISK_STATE_ACTIVE) + continue; + cbp = g_clone_bio(bp); + if (cbp == NULL) { + for (cbp = bioq_first(&queue); cbp != NULL; + cbp = bioq_first(&queue)) { + bioq_remove(&queue, cbp); + g_destroy_bio(cbp); + } + if (bp->bio_error == 0) + bp->bio_error = ENOMEM; + g_io_deliver(bp, bp->bio_error); + return; + } + bioq_insert_tail(&queue, cbp); + cbp->bio_done = g_std_done; + cbp->bio_caller1 = disk; + cbp->bio_to = disk->d_consumer->provider; + } + for (cbp = bioq_first(&queue); cbp != NULL; cbp = bioq_first(&queue)) { + bioq_remove(&queue, cbp); + G_MIRROR_LOGREQ(3, cbp, "Sending request."); + disk = cbp->bio_caller1; + cbp->bio_caller1 = NULL; + cp = disk->d_consumer; + KASSERT(cp->acr >= 1 && cp->acw >= 1 && cp->ace >= 1, + ("Consumer %s not opened (r%dw%de%d).", cp->provider->name, + cp->acr, cp->acw, cp->ace)); + g_io_request(cbp, disk->d_consumer); + } +} + +static void g_mirror_start(struct bio *bp) { struct g_mirror_softc *sc; @@ -1061,6 +1103,9 @@ case BIO_WRITE: case BIO_DELETE: break; + case BIO_FLUSH: + g_mirror_flush(sc, bp); + return; case BIO_GETATTR: if (strcmp("GEOM::kerneldump", bp->bio_attribute) == 0) { g_mirror_kernel_dump(bp); --- sys/geom/raid3/g_raid3.c.orig +++ sys/geom/raid3/g_raid3.c @@ -25,7 +25,7 @@ */ #include -__FBSDID("$FreeBSD: src/sys/geom/raid3/g_raid3.c,v 1.40.2.16 2006/10/21 07:16:41 pjd Exp $"); +__FBSDID("$FreeBSD: src/sys/geom/raid3/g_raid3.c,v 1.40.2.15 2006/09/19 11:16:14 pjd Exp $"); #include #include @@ -1370,6 +1370,50 @@ } static void +g_raid3_flush(struct g_raid3_softc *sc, struct bio *bp) +{ + struct bio_queue_head queue; + struct g_raid3_disk *disk; + struct g_consumer *cp; + struct bio *cbp; + u_int i; + + bioq_init(&queue); + for (i = 0; i < sc->sc_ndisks; i++) { + disk = &sc->sc_disks[i]; + if (disk->d_state != G_RAID3_DISK_STATE_ACTIVE) + continue; + cbp = g_clone_bio(bp); + if (cbp == NULL) { + for (cbp = bioq_first(&queue); cbp != NULL; + cbp = bioq_first(&queue)) { + bioq_remove(&queue, cbp); + g_destroy_bio(cbp); + } + if (bp->bio_error == 0) + bp->bio_error = ENOMEM; + g_io_deliver(bp, bp->bio_error); + return; + } + bioq_insert_tail(&queue, cbp); + cbp->bio_done = g_std_done; + cbp->bio_caller1 = disk; + cbp->bio_to = disk->d_consumer->provider; + } + for (cbp = bioq_first(&queue); cbp != NULL; cbp = bioq_first(&queue)) { + bioq_remove(&queue, cbp); + G_RAID3_LOGREQ(3, cbp, "Sending request."); + disk = cbp->bio_caller1; + cbp->bio_caller1 = NULL; + cp = disk->d_consumer; + KASSERT(cp->acr >= 1 && cp->acw >= 1 && cp->ace >= 1, + ("Consumer %s not opened (r%dw%de%d).", cp->provider->name, + cp->acr, cp->acw, cp->ace)); + g_io_request(cbp, disk->d_consumer); + } +} + +static void g_raid3_start(struct bio *bp) { struct g_raid3_softc *sc; @@ -1390,6 +1434,9 @@ case BIO_WRITE: case BIO_DELETE: break; + case BIO_FLUSH: + g_raid3_flush(sc, bp); + return; case BIO_GETATTR: default: g_io_deliver(bp, EOPNOTSUPP); --- sys/geom/stripe/g_stripe.c.orig +++ sys/geom/stripe/g_stripe.c @@ -520,6 +520,42 @@ } static void +g_stripe_flush(struct g_stripe_softc *sc, struct bio *bp) +{ + struct bio_queue_head queue; + struct g_consumer *cp; + struct bio *cbp; + u_int no; + + bioq_init(&queue); + for (no = 0; no < sc->sc_ndisks; no++) { + cbp = g_clone_bio(bp); + if (cbp == NULL) { + for (cbp = bioq_first(&queue); cbp != NULL; + cbp = bioq_first(&queue)) { + bioq_remove(&queue, cbp); + g_destroy_bio(cbp); + } + if (bp->bio_error == 0) + bp->bio_error = ENOMEM; + g_io_deliver(bp, bp->bio_error); + return; + } + bioq_insert_tail(&queue, cbp); + cbp->bio_done = g_std_done; + cbp->bio_caller1 = sc->sc_disks[no]; + cbp->bio_to = sc->sc_disks[no]->provider; + } + for (cbp = bioq_first(&queue); cbp != NULL; cbp = bioq_first(&queue)) { + bioq_remove(&queue, cbp); + G_STRIPE_LOGREQ(cbp, "Sending request."); + cp = cbp->bio_caller1; + cbp->bio_caller1 = NULL; + g_io_request(cbp, cp); + } +} + +static void g_stripe_start(struct bio *bp) { off_t offset, start, length, nstripe; @@ -542,10 +578,10 @@ case BIO_READ: case BIO_WRITE: case BIO_DELETE: - /* - * Only those requests are supported. - */ break; + case BIO_FLUSH: + g_stripe_flush(sc, bp); + return; case BIO_GETATTR: /* To which provider it should be delivered? */ default: --- sys/kern/subr_disk.c.orig +++ sys/kern/subr_disk.c @@ -43,6 +43,7 @@ case BIO_WRITE: printf("cmd=write "); break; case BIO_DELETE: printf("cmd=delete "); break; case BIO_GETATTR: printf("cmd=getattr "); break; + case BIO_FLUSH: printf("cmd=flush "); break; default: printf("cmd=%x ", bp->bio_cmd); break; } sn = bp->bio_pblkno; --- sys/kern/vfs_subr.c.orig +++ sys/kern/vfs_subr.c @@ -2545,6 +2545,8 @@ strcat(buf, "|VV_TEXT"); if (vp->v_vflag & VV_SYSTEM) strcat(buf, "|VV_SYSTEM"); + if (vp->v_vflag & VV_DELETED) + strcat(buf, "|VV_DELETED"); if (vp->v_iflag & VI_DOOMED) strcat(buf, "|VI_DOOMED"); if (vp->v_iflag & VI_FREE) --- sys/modules/geom/Makefile.orig +++ sys/modules/geom/Makefile @@ -9,6 +9,7 @@ geom_fox \ geom_gate \ geom_gpt \ + geom_journal \ geom_label \ geom_mbr \ geom_mirror \ --- /dev/null Tue Oct 24 16:34:10 2006 +++ sys/modules/geom/geom_journal/Makefile Tue Oct 24 16:34:22 2006 @@ -0,0 +1,10 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../geom/journal + +KMOD= geom_journal +SRCS= g_journal.c +SRCS+= g_journal_ufs.c +SRCS+= vnode_if.h + +.include --- sys/modules/ufs/Makefile.orig +++ sys/modules/ufs/Makefile @@ -6,7 +6,7 @@ SRCS= opt_ddb.h opt_directio.h opt_ffs.h opt_ffs_broken_fixme.h opt_mac.h \ opt_quota.h opt_suiddir.h opt_ufs.h \ vnode_if.h ufs_acl.c ufs_bmap.c ufs_dirhash.c ufs_extattr.c \ - ufs_inode.c ufs_lookup.c ufs_quota.c ufs_vfsops.c \ + ufs_gjournal.c ufs_inode.c ufs_lookup.c ufs_quota.c ufs_vfsops.c \ ufs_vnops.c ffs_alloc.c ffs_balloc.c ffs_inode.c ffs_snapshot.c \ ffs_softdep.c ffs_subr.c ffs_tables.c ffs_vfsops.c ffs_vnops.c --- sys/sys/bio.h.orig +++ sys/sys/bio.h @@ -88,6 +88,7 @@ #define BIO_WRITE 0x02 #define BIO_DELETE 0x04 #define BIO_GETATTR 0x08 +#define BIO_FLUSH 0x10 #define BIO_CMD0 0x20 /* Available for local hacks */ #define BIO_CMD1 0x40 /* Available for local hacks */ #define BIO_CMD2 0x80 /* Available for local hacks */ --- sys/sys/mount.h.orig +++ sys/sys/mount.h @@ -178,6 +178,7 @@ int mnt_secondary_accwrites;/* (i) secondary wr. starts */ int mnt_ref; /* (i) Reference count */ int mnt_gen; /* struct mount generation */ + char *mnt_gjprovider; /* gjournal provider name */ }; struct vnode *__mnt_vnode_next(struct vnode **mvp, struct mount *mp); @@ -224,7 +225,7 @@ #define MNT_SUIDDIR 0x00100000 /* special handling of SUID on dirs */ #define MNT_SOFTDEP 0x00200000 /* soft updates being done */ #define MNT_NOSYMFOLLOW 0x00400000 /* do not follow symlinks */ -#define MNT_JAILDEVFS 0x02000000 /* jail-friendly DEVFS behaviour */ +#define MNT_GJOURNAL 0x02000000 /* GEOM journal support enabled */ #define MNT_MULTILABEL 0x04000000 /* MAC support for individual objects */ #define MNT_ACLS 0x08000000 /* ACL support enabled */ #define MNT_NOATIME 0x10000000 /* disable update of file access time */ @@ -265,13 +266,13 @@ MNT_ROOTFS | MNT_NOATIME | MNT_NOCLUSTERR| \ MNT_NOCLUSTERW | MNT_SUIDDIR | MNT_SOFTDEP | \ MNT_IGNORE | MNT_EXPUBLIC | MNT_NOSYMFOLLOW | \ - MNT_JAILDEVFS | MNT_MULTILABEL | MNT_ACLS) + MNT_GJOURNAL | MNT_MULTILABEL | MNT_ACLS) /* Mask of flags that can be updated. */ #define MNT_UPDATEMASK (MNT_NOSUID | MNT_NOEXEC | \ MNT_SYNCHRONOUS | MNT_UNION | MNT_ASYNC | \ MNT_NOATIME | \ - MNT_NOSYMFOLLOW | MNT_IGNORE | MNT_JAILDEVFS | \ + MNT_NOSYMFOLLOW | MNT_IGNORE | \ MNT_NOCLUSTERR | MNT_NOCLUSTERW | MNT_SUIDDIR | \ MNT_ACLS | MNT_USER) --- sys/ufs/ffs/ffs_extern.h.orig +++ sys/ufs/ffs/ffs_extern.h @@ -72,6 +72,7 @@ int ffs_reallocblks(struct vop_reallocblks_args *); int ffs_realloccg(struct inode *, ufs2_daddr_t, ufs2_daddr_t, ufs2_daddr_t, int, int, struct ucred *, struct buf **); +int ffs_sbupdate(struct ufsmount *, int, int); void ffs_setblock(struct fs *, u_char *, ufs1_daddr_t); int ffs_snapblkfree(struct fs *, struct vnode *, ufs2_daddr_t, long, ino_t); void ffs_snapremove(struct vnode *vp); --- sys/ufs/ffs/ffs_vfsops.c.orig +++ sys/ufs/ffs/ffs_vfsops.c @@ -53,6 +53,7 @@ #include #include +#include #include #include #include @@ -70,7 +71,6 @@ static uma_zone_t uma_inode, uma_ufs1, uma_ufs2; -static int ffs_sbupdate(struct ufsmount *, int, int); static int ffs_reload(struct mount *, struct thread *); static int ffs_mountfs(struct vnode *, struct mount *, struct thread *); static void ffs_oldfscompat_read(struct fs *, struct ufsmount *, @@ -661,6 +661,35 @@ fs->fs_pendingblocks = 0; fs->fs_pendinginodes = 0; } + if ((fs->fs_flags & FS_GJOURNAL) != 0) { +#ifdef UFS_GJOURNAL + /* + * Get journal provider name. + */ + size = 1024; + mp->mnt_gjprovider = malloc(size, M_UFSMNT, M_WAITOK); + if (g_io_getattr("GJOURNAL::provider", cp, &size, + mp->mnt_gjprovider) == 0) { + mp->mnt_gjprovider = realloc(mp->mnt_gjprovider, size, + M_UFSMNT, M_WAITOK); + MNT_ILOCK(mp); + mp->mnt_flag |= MNT_GJOURNAL; + MNT_IUNLOCK(mp); + } else { + printf( +"WARNING: %s: GJOURNAL flag on fs but no gjournal provider below\n", + mp->mnt_stat.f_mntonname); + free(mp->mnt_gjprovider, M_UFSMNT); + mp->mnt_gjprovider = NULL; + } +#else + printf( +"WARNING: %s: GJOURNAL flag on fs but no UFS_GJOURNAL support\n", + mp->mnt_stat.f_mntonname); +#endif + } else { + mp->mnt_gjprovider = NULL; + } ump = malloc(sizeof *ump, M_UFSMNT, M_WAITOK | M_ZERO); ump->um_cp = cp; ump->um_bo = &devvp->v_bufobj; @@ -828,6 +857,10 @@ } if (ump) { mtx_destroy(UFS_MTX(ump)); + if (mp->mnt_gjprovider != NULL) { + free(mp->mnt_gjprovider, M_UFSMNT); + mp->mnt_gjprovider = NULL; + } free(ump->um_fs, M_UFSMNT); free(ump, M_UFSMNT); mp->mnt_data = (qaddr_t)0; @@ -987,6 +1020,10 @@ PICKUP_GIANT(); vrele(ump->um_devvp); mtx_destroy(UFS_MTX(ump)); + if (mp->mnt_gjprovider != NULL) { + free(mp->mnt_gjprovider, M_UFSMNT); + mp->mnt_gjprovider = NULL; + } free(fs->fs_csp, M_UFSMNT); free(fs, M_UFSMNT); free(ump, M_UFSMNT); @@ -1471,7 +1508,7 @@ /* * Write a superblock and associated information back to disk. */ -static int +int ffs_sbupdate(mp, waitfor, suspended) struct ufsmount *mp; int waitfor; --- sys/ufs/ffs/fs.h.orig +++ sys/ufs/ffs/fs.h @@ -323,7 +323,8 @@ u_int *fs_active; /* (u) used by snapshots to track fs */ int32_t fs_old_cpc; /* cyl per cycle in postbl */ int32_t fs_maxbsize; /* maximum blocking factor permitted */ - int64_t fs_sparecon64[17]; /* old rotation block list head */ + int64_t fs_unrefs; /* number of unreferenced inodes */ + int64_t fs_sparecon64[16]; /* old rotation block list head */ int64_t fs_sblockloc; /* byte offset of standard superblock */ struct csum_total fs_cstotal; /* (u) cylinder summary information */ ufs_time_t fs_time; /* last time written */ @@ -406,6 +407,7 @@ #define FS_INDEXDIRS 0x08 /* kernel supports indexed directories */ #define FS_ACLS 0x10 /* file system has ACLs enabled */ #define FS_MULTILABEL 0x20 /* file system is MAC multi-label */ +#define FS_GJOURNAL 0x40 /* gjournaled file system */ #define FS_FLAGS_UPDATED 0x80 /* flags have been moved to new location */ /* @@ -475,7 +477,8 @@ int32_t cg_nclusterblks; /* number of clusters this cg */ int32_t cg_niblk; /* number of inode blocks this cg */ int32_t cg_initediblk; /* last initialized inode */ - int32_t cg_sparecon32[3]; /* reserved for future use */ + int32_t cg_unrefs; /* number of unreferenced inodes */ + int32_t cg_sparecon32[2]; /* reserved for future use */ ufs_time_t cg_time; /* time last written */ int64_t cg_sparecon64[3]; /* reserved for future use */ u_int8_t cg_space[1]; /* space for cylinder group maps */ --- /dev/null Tue Oct 24 16:34:10 2006 +++ sys/ufs/ufs/gjournal.h Tue Oct 24 16:34:25 2006 @@ -0,0 +1,37 @@ +/*- + * Copyright (c) 2005-2006 Pawel Jakub Dawidek + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * $FreeBSD$ + */ + +#ifndef _UFS_UFS_GJOURNAL_H_ +#define _UFS_UFS_GJOURNAL_H_ + +/* + * GEOM journal function prototypes. + */ +void ufs_gjournal_orphan(struct vnode *fvp); +void ufs_gjournal_close(struct vnode *vp); +#endif /* !_UFS_UFS_GJOURNAL_H_ */ --- /dev/null Tue Oct 24 16:34:10 2006 +++ sys/ufs/ufs/ufs_gjournal.c Tue Oct 24 16:34:27 2006 @@ -0,0 +1,150 @@ +/*- + * Copyright (c) 2005-2006 Pawel Jakub Dawidek + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + +#include +__FBSDID("$FreeBSD$"); + +#include "opt_ufs.h" + +#ifdef UFS_GJOURNAL + +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include + +#include +#include + +/* + * Change the number of unreferenced inodes. + */ +static int +ufs_gjournal_modref(struct vnode *vp, int count) +{ + struct cg *cgp; + struct buf *bp; + ufs2_daddr_t cgbno; + int error, cg; + struct cdev *dev; + struct inode *ip; + struct ufsmount *ump; + struct fs *fs; + struct vnode *devvp; + ino_t ino; + + ip = VTOI(vp); + ump = ip->i_ump; + fs = ip->i_fs; + devvp = ip->i_devvp; + ino = ip->i_number; + + cg = ino_to_cg(fs, ino); + if (devvp->v_type != VCHR) { + /* devvp is a snapshot */ + dev = VTOI(devvp)->i_devvp->v_rdev; + cgbno = fragstoblks(fs, cgtod(fs, cg)); + } else { + /* devvp is a normal disk device */ + dev = devvp->v_rdev; + cgbno = fsbtodb(fs, cgtod(fs, cg)); + } + if ((u_int)ino >= fs->fs_ipg * fs->fs_ncg) + panic("ffs_freefile: range: dev = %s, ino = %lu, fs = %s", + devtoname(dev), (u_long)ino, fs->fs_fsmnt); + if ((error = bread(devvp, cgbno, (int)fs->fs_cgsize, NOCRED, &bp))) { + brelse(bp); + return (error); + } + cgp = (struct cg *)bp->b_data; + if (!cg_chkmagic(cgp)) { + brelse(bp); + return (0); + } + bp->b_xflags |= BX_BKGRDWRITE; + cgp->cg_unrefs += count; + UFS_LOCK(ump); + fs->fs_unrefs += count; + fs->fs_fmod = 1; + ACTIVECLEAR(fs, cg); + UFS_UNLOCK(ump); + bdwrite(bp); + return (0); +} + +void +ufs_gjournal_orphan(struct vnode *fvp) +{ + struct mount *mp; + struct inode *ip; + + mp = fvp->v_mount; + if (mp->mnt_gjprovider == NULL) + return; + VI_LOCK(fvp); + if (fvp->v_usecount < 2 || (fvp->v_vflag & VV_DELETED)) { + VI_UNLOCK(fvp); + return; + } + ip = VTOI(fvp); + if ((fvp->v_type == VDIR && ip->i_nlink > 2) || + (fvp->v_type != VDIR && ip->i_nlink > 1)) { + VI_UNLOCK(fvp); + return; + } + fvp->v_vflag |= VV_DELETED; + VI_UNLOCK(fvp); + + ufs_gjournal_modref(fvp, 1); +} + +void +ufs_gjournal_close(struct vnode *vp) +{ + struct mount *mp; + struct inode *ip; + + mp = vp->v_mount; + if (mp->mnt_gjprovider == NULL) + return; + if (!(vp->v_vflag & VV_DELETED)) + return; + ip = VTOI(vp); + if (ip->i_nlink > 0) + return; + ufs_gjournal_modref(vp, -1); +} + +#endif /* UFS_GJOURNAL */ --- sys/ufs/ufs/ufs_inode.c.orig +++ sys/ufs/ufs/ufs_inode.c @@ -57,6 +57,9 @@ #include #include #endif +#ifdef UFS_GJOURNAL +#include +#endif /* * Last reference to an inode. If necessary, write or delete it. @@ -83,6 +86,9 @@ */ if (ip->i_mode == 0) goto out; +#ifdef UFS_GJOURNAL + ufs_gjournal_close(vp); +#endif if ((ip->i_effnlink == 0 && DOINGSOFTDEP(vp)) || (ip->i_nlink <= 0 && (vp->v_mount->mnt_flag & MNT_RDONLY) == 0)) { --- sys/ufs/ufs/ufs_vnops.c.orig +++ sys/ufs/ufs/ufs_vnops.c @@ -81,6 +81,9 @@ #ifdef UFS_DIRHASH #include #endif +#ifdef UFS_GJOURNAL +#include +#endif #include @@ -777,6 +780,9 @@ error = EPERM; goto out; } +#ifdef UFS_GJOURNAL + ufs_gjournal_orphan(vp); +#endif error = ufs_dirremove(dvp, ip, ap->a_cnp->cn_flags, 0); if (ip->i_nlink <= 0) vp->v_vflag |= VV_NOSYNC; @@ -1683,6 +1689,9 @@ error = EINVAL; goto out; } +#ifdef UFS_GJOURNAL + ufs_gjournal_orphan(vp); +#endif /* * Delete reference to directory before purging * inode. If we crash in between, the directory --- sys/sys/vnode.h.orig Fri Jan 5 04:51:14 2007 +++ sys/sys/vnode.h Tue Jan 23 12:41:12 2007 @@ -253,6 +253,7 @@ #define VV_SYSTEM 0x0080 /* vnode being used by kernel */ #define VV_PROCDEP 0x0100 /* vnode is process dependent */ #define VV_NOKNOTE 0x0200 /* don't activate knotes on this vnode */ +#define VV_DELETED 0x0400 /* should be removed */ #define VV_MD 0x0800 /* vnode backs the md device */ /* --Boundary-00=_aRZ7FUS0QLmc3St-- From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 16:20:50 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C222916A406 for ; Tue, 6 Mar 2007 16:20:50 +0000 (UTC) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (mail.shire.net [166.70.252.250]) by mx1.freebsd.org (Postfix) with ESMTP id AA8DC13C4AA for ; Tue, 6 Mar 2007 16:20:50 +0000 (UTC) (envelope-from chad@shire.net) Received: from [67.171.127.191] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.51) id 1HOcPC-0008Ye-1I for freebsd-questions@freebsd.org; Tue, 06 Mar 2007 09:20:50 -0700 Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: User Questions From: "Chad Leigh -- Shire.Net LLC" Date: Tue, 6 Mar 2007 09:20:49 -0700 X-Mailer: Apple Mail (2.752.2) X-SA-Exim-Connect-IP: 67.171.127.191 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false Subject: started getting repeated "bge0: PHY read timed out" messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 16:20:50 -0000 Hi After running fine for a while, my new server running 6.2-RELEASE with latest security patches as of last Thursday or Friday started giving the message bge0: PHY read timed out and I found the following in the system log Mar 6 02:59:33 server kernel: bge0: link state changed to DOWN Mar 6 02:59:36 server kernel: bge0: link state changed to UP Mar 6 03:00:27 server kernel: bge0: link state changed to DOWN Mar 6 03:00:29 server kernel: bge0: link state changed to UP Mar 6 05:09:27 server kernel: bge0: PHY read timed out Mar 6 05:09:27 server last message repeated 3 times Mar 6 05:09:27 server kernel: bge0: link state changed to DOWN Mar 6 05:09:29 server kernel: bge0: PHY read timed out Mar 6 05:09:50 server last message repeated 79 times Mar 6 05:09:50 server kernel: bge0: watchdog timeout -- resetting Mar 6 05:09:50 server kernel: bge0: PHY read timed out Mar 6 05:09:50 server last message repeated 4 times Mar 6 05:09:50 server kernel: bge0: RX CPU self-diagnostics failed! Mar 6 05:09:50 server kernel: bge0: flow-through queue init failed Mar 6 05:09:50 server kernel: bge0: initialization failure Mar 6 05:09:52 server kernel: bge0: PHY read timed out Mar 6 05:10:23 server last message repeated 140 times Mar 6 05:12:24 server last message repeated 616 times Mar 6 05:22:26 server last message repeated 2580 times Mar 6 05:32:28 server last message repeated 2460 times Mar 6 05:42:30 server last message repeated 2540 times Mar 6 05:52:32 server last message repeated 2572 times Mar 6 06:02:33 server last message repeated 2652 times Mar 6 06:12:34 server last message repeated 2532 times Mar 6 06:22:35 server last message repeated 2516 times Mar 6 06:32:37 server last message repeated 2452 times Mar 6 06:42:38 server last message repeated 2520 times Mar 6 06:52:39 server last message repeated 2544 times Mar 6 07:02:39 server last message repeated 2919 times Mar 6 07:12:41 server last message repeated 2521 times Mar 6 07:22:43 server last message repeated 2524 times Mar 6 07:32:44 server last message repeated 2440 times Mar 6 07:42:45 server last message repeated 2524 times Mar 6 07:52:48 server last message repeated 2528 times Mar 6 08:02:50 server last message repeated 2656 times Mar 6 08:12:51 server last message repeated 2552 times Mar 6 08:22:53 server last message repeated 2528 times Mar 6 08:32:55 server last message repeated 2436 times Mar 6 08:42:57 server last message repeated 2536 times Mar 6 08:52:58 server last message repeated 2544 times Mar 6 08:58:55 server last message repeated 1631 times This appears to be a HW problem at first look. But when the server boots, it works fine for a while (hours, days??) Here is the id in the boot message Mar 6 09:01:21 server kernel: bge0: mem 0xfeab0000-0xfeabffff irq 16 at device 14.0 on pci1 Mar 6 09:01:21 server kernel: miibus0: on bge0 Mar 6 09:01:21 server kernel: brgphy0: on miibus0 Mar 6 09:01:21 server kernel: brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto Mar 6 09:01:21 server kernel: bge0: Ethernet address: 00:e0:81:61:e9:a0 Is this some sort of SW driver issue or is it a HW issue at first glance? I remember kind of reading about some BGE issues a while back. Thanks Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 16:21:21 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D2C4616A400 for ; Tue, 6 Mar 2007 16:21:21 +0000 (UTC) (envelope-from mj001@rogers.com) Received: from smtp106.rog.mail.re2.yahoo.com (smtp106.rog.mail.re2.yahoo.com [68.142.225.204]) by mx1.freebsd.org (Postfix) with SMTP id 6E10F13C4AA for ; Tue, 6 Mar 2007 16:21:21 +0000 (UTC) (envelope-from mj001@rogers.com) Received: (qmail 23009 invoked from network); 6 Mar 2007 15:54:41 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:X-YMail-OSG:Subject:From:To:Cc:In-Reply-To:References:Content-Type:Date:Message-Id:Mime-Version:X-Mailer:Content-Transfer-Encoding; b=DDdgN15zR93/J36x87AJRmdkGzPO2Mi50nQXACTDhjYcUy/yBdGmMpnP1gb4KUBvXEes0Nb+Lnars4ZoipR0PVdjVdUu76vcUi9SaRbUSQu5k97+qVtsMhmCIMl+GQ8K+dVr2ymx/B6cUuNXLO2f3+Id48xt3qcy9iiZVIoHwDo= ; Received: from unknown (HELO ?192.168.2.100?) (mj001@rogers.com@74.104.218.93 with plain) by smtp106.rog.mail.re2.yahoo.com with SMTP; 6 Mar 2007 15:54:40 -0000 X-YMail-OSG: hccf.0gVM1kgboSjnvvbfS7WcBpU1oOj6eZ.eOWZP6e9GBqylOdfbMb__sVwNpmmbA-- From: Mike Jeays To: elaya raj In-Reply-To: <000201c75ff2$5a67b9a0$0a01a8c0@netman> References: <000201c75ff2$5a67b9a0$0a01a8c0@netman> Content-Type: text/plain Date: Tue, 06 Mar 2007 10:54:39 -0500 Message-Id: <1173196479.10245.1.camel@jansen> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: network card setup? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 16:21:21 -0000 On Tue, 2007-03-06 at 18:49 +0530, elaya raj wrote: > Hi, > i new to freebsd i want to configure my network card. But i dont know how to configure it. after configure the nic card i want to configur ftp also.. so plz guid me how to configure the nic card and ftp... > _______________________________________________ > 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" Lots of information in the FreeBSD Handbook. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-communication.html From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 16:23:37 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B4F1116A402 for ; Tue, 6 Mar 2007 16:23:37 +0000 (UTC) (envelope-from koch@rz.tu-clausthal.de) Received: from poseidon.rz.tu-clausthal.de (poseidon.rz.tu-clausthal.de [139.174.2.21]) by mx1.freebsd.org (Postfix) with ESMTP id 711FD13C4A7 for ; Tue, 6 Mar 2007 16:23:37 +0000 (UTC) (envelope-from koch@rz.tu-clausthal.de) Received: from poseidon.rz.tu-clausthal.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id A0C3F207886; Tue, 6 Mar 2007 17:23:35 +0100 (CET) Received: from tu-clausthal.de (poseidon [139.174.2.21]) by poseidon.rz.tu-clausthal.de (Postfix) with ESMTP id 83F2C207884; Tue, 6 Mar 2007 17:23:35 +0100 (CET) Received: from [139.174.5.17] (account ok [139.174.5.17] verified) by tu-clausthal.de (CommuniGate Pro SMTP 5.1.7) with ESMTPSA id 21149719; Tue, 06 Mar 2007 17:23:35 +0100 Message-ID: <45ED95C0.8020602@rz.tu-clausthal.de> Date: Tue, 06 Mar 2007 17:24:32 +0100 From: Oliver Koch User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: elaya raj References: <000201c75ff2$5a67b9a0$0a01a8c0@netman> In-Reply-To: <000201c75ff2$5a67b9a0$0a01a8c0@netman> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig62DCCB9A4C05D912368CB762" X-Virus-Scanned: by PureMessage V4.7 at tu-clausthal.de Cc: freebsd-questions@freebsd.org Subject: Re: network card setup? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 16:23:37 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig62DCCB9A4C05D912368CB762 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, elaya raj wrote: > i new to freebsd i want to configure my network card. But i dont know h= ow to configure it. after configure the nic card i want to configur ftp a= lso.. so plz guid me how to configure the nic card and ftp... I think the FreeBSD handbook should help you to do that: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-= setup.html Kind regards, Oliver --=20 Oliver Koch Phone: +49-(0)5323-72-2626 Computer Center Fax: +49-(0)5323-72-3536 Clausthal University of Technology E-Mail: koch@rz.tu-clausthal.de Erzstra=DFe 51 Web: http://www.rz.tu-clausthal.d= e 38678 Clausthal-Zellerfeld, Germany --------------enig62DCCB9A4C05D912368CB762 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF7ZXFF9sAGRi389URAjbRAKCLzZg7bP8VvC3oxa1Gv2lL1KC2lwCeOsis SW8xx4qxdje/KRFzKvxecHw= =HRjb -----END PGP SIGNATURE----- --------------enig62DCCB9A4C05D912368CB762-- From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 16:25:11 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F0F5716A406 for ; Tue, 6 Mar 2007 16:25:11 +0000 (UTC) (envelope-from vizion@vizion.occoxmail.com) Received: from dukecmmtao03.coxmail.com (dukecmmtao03.coxmail.com [68.99.120.70]) by mx1.freebsd.org (Postfix) with ESMTP id 6781813C49D for ; Tue, 6 Mar 2007 16:25:11 +0000 (UTC) (envelope-from vizion@vizion.occoxmail.com) Received: from dukecmmtao03 ([172.18.22.62]) by dukecmmtao03.coxmail.com (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with SMTP id <20070306162509.VNPZ2045.dukecmmtao03.coxmail.com@dukecmmtao03>; Tue, 6 Mar 2007 11:25:09 -0500 X-Mailer: Openwave WebEngine, version 2.8.16 (webedge20-101-1106-20040809) From: Vizion Organization: vizion Communications To: Date: Tue, 6 Mar 2007 8:25:09 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20070306162509.VNPZ2045.dukecmmtao03.coxmail.com@dukecmmtao03> Cc: eoghanj@gmail.com Subject: Re: apache problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 16:25:12 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of eoghan > Sent: Tuesday, March 06, 2007 5:50 AM > To: freebsd > Subject: apache problem > > Hi > I am running apache 2.2.4 on FreeBSD 6.1. This is a recent > upgrade from ports (in the past few days or so). Since then I > cant browse to localhost. Just get an unable to connect > message. The server seems to start with: > $sudo apachectl start > If I try it again I see its already running. > My error log shows: > [Mon Mar 05 11:20:00 2007] [notice] Apache/2.2.4 (FreeBSD) > mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.1 with Suhosin-Patch > configured -- resuming normal operations > [Mon Mar 05 11:20:22 2007] [notice] caught SIGTERM, shutting down > > I have tried the apache list but no real answers, and apache > was working fine for me before I upgraded. Has anyone else > noticed this since an upgrade to the 2.2.4 version from ports? > > Thanks > Eoghan I had the same problem. Here is how I fixed it: #apachectl stop # cd /usr/ports/www/apache22 #make clean # make deinstall # rm ./* Then do a cvsup ports all now once more #cd /usr/ports/www/apache22 # make (it will use your stored config) #make install #make clean #apachectl start From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 16:28:01 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BFFD216A400 for ; Tue, 6 Mar 2007 16:28:01 +0000 (UTC) (envelope-from eoghanj@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id 2463F13C441 for ; Tue, 6 Mar 2007 16:28:00 +0000 (UTC) (envelope-from eoghanj@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so228631ugh for ; Tue, 06 Mar 2007 08:27:57 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding; b=Kbvc6s4C+NDAt3Ay9dtt8o9QIi9F0AQwr9tjizX4PcSqYtT5d3hk2oASKuZcnx/9uPSZiMsHc4WamyI58cKrDk4+9l4oysuzPEfXd1ia3yDAyWO+3kd2SzTyCfAiUcLg5Chm+WVemzpfKmxtwF9bFg70c59zkf3oPKQCbm3gYY0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding; b=gyq0TJ7oayM+uANCK7ImVPmSUf1BUfRdTpyo++0NvVCuq9OuYJlXwnygnLnDp9SG0bovdm8NGPREQRYRomNsecJnPuthGHX5McFC4HBxJb/xlhpzXAjDKOzBn7dAZJ6VL/MOHZPYiNLJumZ5GY626ajkaPRCsijIS9x6hwOk2BI= Received: by 10.67.22.7 with SMTP id z7mr1993128ugi.1173198477061; Tue, 06 Mar 2007 08:27:57 -0800 (PST) Received: from ejennings-pc ( [137.43.111.170]) by mx.google.com with ESMTP id w40sm682268ugc.2007.03.06.08.27.55; Tue, 06 Mar 2007 08:27:55 -0800 (PST) Date: Tue, 6 Mar 2007 16:27:52 +0000 From: eoghan To: Vizion Message-Id: <20070306162752.87193649.eoghanj@gmail.com> In-Reply-To: <20070306162509.VNPZ2045.dukecmmtao03.coxmail.com@dukecmmtao03> References: <20070306162509.VNPZ2045.dukecmmtao03.coxmail.com@dukecmmtao03> X-Mailer: Sylpheed 2.4.0beta4 (GTK+ 2.10.9; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: eoghanj@gmail.com, freebsd-questions@freebsd.org Subject: Re: apache problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 16:28:01 -0000 On Tue, 6 Mar 2007 8:25:09 -0800 Vizion wrote: > > -----Original Message----- > > From: owner-freebsd-questions@freebsd.org > > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of eoghan > > Sent: Tuesday, March 06, 2007 5:50 AM > > To: freebsd > > Subject: apache problem > > > > Hi > > I am running apache 2.2.4 on FreeBSD 6.1. This is a recent > > upgrade from ports (in the past few days or so). Since then I > > cant browse to localhost. Just get an unable to connect > > message. The server seems to start with: > > $sudo apachectl start > > If I try it again I see its already running. > > My error log shows: > > [Mon Mar 05 11:20:00 2007] [notice] Apache/2.2.4 (FreeBSD) > > mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.1 with Suhosin-Patch > > configured -- resuming normal operations > > [Mon Mar 05 11:20:22 2007] [notice] caught SIGTERM, shutting down > > > > I have tried the apache list but no real answers, and apache > > was working fine for me before I upgraded. Has anyone else > > noticed this since an upgrade to the 2.2.4 version from ports? > > > > Thanks > > Eoghan > > I had the same problem. Here is how I fixed it: > #apachectl stop > # cd /usr/ports/www/apache22 > #make clean > # make deinstall > # rm ./* > Then do a cvsup ports all > now once more > #cd /usr/ports/www/apache22 > # make (it will use your stored config) > #make install > #make clean > #apachectl start Hi Gret, thanks for that, I will give this a go. Regards Eoghan From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 16:32:56 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D0ED816A401 for ; Tue, 6 Mar 2007 16:32:56 +0000 (UTC) (envelope-from vizion@vizion.occoxmail.com) Received: from dukecmmtao03.coxmail.com (dukecmmtao03.coxmail.com [68.99.120.70]) by mx1.freebsd.org (Postfix) with ESMTP id 660EF13C46B for ; Tue, 6 Mar 2007 16:32:56 +0000 (UTC) (envelope-from vizion@vizion.occoxmail.com) Received: from dukecmmtao03 ([172.18.22.62]) by dukecmmtao03.coxmail.com (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with SMTP id <20070306163254.WETL2045.dukecmmtao03.coxmail.com@dukecmmtao03>; Tue, 6 Mar 2007 11:32:54 -0500 X-Mailer: Openwave WebEngine, version 2.8.16 (webedge20-101-1106-20040809) From: Vizion Organization: vizion Communications To: Date: Tue, 6 Mar 2007 8:32:55 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20070306163254.WETL2045.dukecmmtao03.coxmail.com@dukecmmtao03> Cc: eoghanj@gmail.com Subject: Re: apache problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 16:32:56 -0000 > -----Original Message----- > From: eoghan [mailto:eoghanj@gmail.com] > Sent: Tuesday, March 06, 2007 8:28 AM > To: Vizion > Cc: freebsd-questions@freebsd.org; eoghanj@gmail.com > Subject: Re: apache problem > > On Tue, 6 Mar 2007 8:25:09 -0800 > Vizion wrote: > > > > -----Original Message----- > > > From: owner-freebsd-questions@freebsd.org > > > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of eoghan > > > Sent: Tuesday, March 06, 2007 5:50 AM > > > To: freebsd > > > Subject: apache problem > > > > > > Hi > > > I am running apache 2.2.4 on FreeBSD 6.1. This is a recent > > > upgrade from ports (in the past few days or so). Since then I > > > cant browse to localhost. Just get an unable to connect > > > message. The server seems to start with: > > > $sudo apachectl start > > > If I try it again I see its already running. > > > My error log shows: > > > [Mon Mar 05 11:20:00 2007] [notice] Apache/2.2.4 (FreeBSD) > > > mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.1 with Suhosin-Patch > > > configured -- resuming normal operations > > > [Mon Mar 05 11:20:22 2007] [notice] caught SIGTERM, shutting down > > > > > > I have tried the apache list but no real answers, and apache > > > was working fine for me before I upgraded. Has anyone else > > > noticed this since an upgrade to the 2.2.4 version from ports? > > > > > > Thanks > > > Eoghan > > > > I had the same problem. Here is how I fixed it: > > #apachectl stop > > # cd /usr/ports/www/apache22 > > #make clean > > # make deinstall > > # rm ./* > > Then do a cvsup ports all > > now once more > > #cd /usr/ports/www/apache22 > > # make (it will use your stored config) > > #make install > > #make clean > > #apachectl start > > Hi > Gret, thanks for that, I will give this a go. > Regards > Eoghan > all the best please let me know if it works 4U -- I have made a posting on ports@freebsd.org -- so the maintainer knows aboutthe problem. If this also works for you it should not be too difficult for someone to fix the port. David From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 16:44:06 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BA5EA16A403 for ; Tue, 6 Mar 2007 16:44:06 +0000 (UTC) (envelope-from joshua.kordani@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id 783E713C4B4 for ; Tue, 6 Mar 2007 16:44:06 +0000 (UTC) (envelope-from joshua.kordani@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so1694808ana for ; Tue, 06 Mar 2007 08:44:05 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=AaTdrUc0sTQIvwFrgGeGgi+yARfoyfzv4JshTOK2qw3yXQkmQM4TEhlihxyNcetzevn6cnY4SPcA9cRv8TwYkdKOYo6FERzAU9QBVt3elFasd8kDK9Zr2JAgUJ/EC9KpabC/wZF94GJP5BqvHwR4N0xIS9MeUn/7+1JWGZf4PIo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=lmZqnUPRQAv+IoYw+LzcQgFus5rjhCtDBWzvtXn9H3smvtnFfGwVRl8/d8gzrnLb8wt+R0ey8zlzoT7DtWOf1665wGOo5UoHKKq3dkNt96Cj8DqJ+mpFO8PFenBnXDqiwA7IpZfvFZ2VOO+7KzHpMbc4zffzoCKcGJw7dTq8uKU= Received: by 10.100.174.16 with SMTP id w16mr5441835ane.1173197962769; Tue, 06 Mar 2007 08:19:22 -0800 (PST) Received: by 10.100.3.17 with HTTP; Tue, 6 Mar 2007 08:19:22 -0800 (PST) Message-ID: <69af686f0703060819r557fea9cj22cd8c560f17e9a4@mail.gmail.com> Date: Tue, 6 Mar 2007 11:19:22 -0500 From: "Joshua Kordani" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: using sysinstall upgrade as a repair solution X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 16:44:06 -0000 Hello all! I was running 5.1 release till pretty much last week when I believe the machine experienced an unplanned powercycle. since then i get an error about libedit.so.4 being missing, and being required by sh, please input path to sh or hit enter. ok, so i know about /rescue/sh, and the fixit option on sysinstall, but i don't know if libraries are anywhere to be found on the live cd fixit toolkit (i doubt it, i looked in all the places that made sense to me). So i figure I might as well reinstall the OS, as that is why i made separate partitions for user data and system files (so i think, this is my first unix based system built by me) to apparently facilitate os reinstallation. So here is my understanding of how a reinsall is supposed to go, with the aim of preserving my user stuff. I set the system up with a 150 meg partition (more than reccomended in the handbook at the time, and still to my knowledge) on which I put a, a b swap part, 256 meg d /tmp, 256 meg e /var, and 200odd gig f /usr. the system was oringinally intended to be an anonymous ftp repository for me and my friends, but due to school req's i had to change it to the sftp backengine(?) of sshd, and it was in /usr/share/public that i put pretty much everything. when my friends added tons of crap I eventually added another 160 gig drive, put a swap part on that too for kicks, and moved the /home dir to it too. as of last week i only have 10 gigs remaining on that drive, and oddly enough i am at 106% capcity for the 250 gig drive according to df, go figure. So now I figure id open up sysinstall off a cd and use the upgrade feature first, for either 5.1 or 6.2. I set / to mount to a, /tmp to d, /var to e. and i leave f alone, since i dont want that modified at all. well, eventually the tool tells me that the filesystem is full and quits. Then I try doing a custom install and choose only the required base files, or a minimal install, and the same thing happens. Then I figured that in the worst case i could choose to mount /usr on the 2nd harddrive on the partition where there are 10 gigs free in the fdisk-like utility step that the upgrade feature brings one too, and then i get kernel panics. So i figure im not doing something right, or im not understanding something, but it was my intent to separate the / from /usr(or wherever id put stuff) in order to make the upgrading(or repairing) of the os easier. If this topic has already been discussed on the list then please tell me so I can go look in this lists archives wherever they may be stored. I am also not adverse to reading and note that I've looked through the handbooks for 5.1 and 6.2 as well as their install.txts. 5.5 disks are burning now, and im going to give those a try and see what happens. Thanks! Josh From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 16:50:09 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B2A2816A402 for ; Tue, 6 Mar 2007 16:50:09 +0000 (UTC) (envelope-from vizion@vizion.occoxmail.com) Received: from dukecmmtao03.coxmail.com (dukecmmtao03.coxmail.com [68.99.120.70]) by mx1.freebsd.org (Postfix) with ESMTP id 4B7A013C4A8 for ; Tue, 6 Mar 2007 16:50:09 +0000 (UTC) (envelope-from vizion@vizion.occoxmail.com) Received: from dukecmmtao03 ([172.18.22.62]) by dukecmmtao03.coxmail.com (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with SMTP id <20070306165007.XUGP2045.dukecmmtao03.coxmail.com@dukecmmtao03>; Tue, 6 Mar 2007 11:50:07 -0500 X-Mailer: Openwave WebEngine, version 2.8.16 (webedge20-101-1106-20040809) From: Vizion Organization: vizion Communications To: Date: Tue, 6 Mar 2007 8:50:07 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20070306165007.XUGP2045.dukecmmtao03.coxmail.com@dukecmmtao03> Cc: wmoran@potentialtech.com Subject: Re: ftp set 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: Tue, 06 Mar 2007 16:50:09 -0000 > -----Original Message----- > From: Bill Moran [mailto:wmoran@potentialtech.com] > Sent: Tuesday, March 06, 2007 5:24 AM > To: Vizion > Cc: freebsd-questions@freebsd.org > Subject: Re: ftp set up > > > Please wrap your lines around 72 characters. > > In response to Vizion : > > > > I wonder if someone could point me to a reliable detailed > resource for > > configuring an ftp server on freebsd 6.1 for both incoming > and outgoing > > files (including anonymous ftp). > > > > I do not want anonymous uploaders to view existing file names in > > ftp/incoming or be able to download from incoming. I want > the server as > > secure as is reasonably practicable. The notes in the > freebsd handbook are > > not really comprehensive enough for me. > > Please don't do this. Please don't even try. > > -- Got yr point -- my guess is you did not use a process to shift files out of the the upload directory as soon as they arrived. That way they can be monitored and never downloaded. I think it is up to each administrator to solve the problems. If you happen to have an answer to my original question -- a reliable source of info about ftp configuration it would be useful. It is a long time since I ran an ftp server and I am rusty. I ran a large number of ftp servers for a long time and suffered many hacking attempts but none succeeded on my watch. I agree it is not easy - but necessary david From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 16:54:18 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8D43D16A401 for ; Tue, 6 Mar 2007 16:54:18 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id 0B90713C4B5 for ; Tue, 6 Mar 2007 16:54:17 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id l26GroPE067944; Tue, 6 Mar 2007 08:53:50 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id l26GroNc067943; Tue, 6 Mar 2007 08:53:50 -0800 (PST) (envelope-from kline) Date: Tue, 6 Mar 2007 08:53:49 -0800 From: Gary Kline To: Derek Ragona Message-ID: <20070306165349.GA67829@thought.org> References: <20070306003506.GA12553@thought.org> <6.0.0.22.2.20070306072709.02577448@mail.computinginnovations.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6.0.0.22.2.20070306072709.02577448@mail.computinginnovations.com> User-Agent: Mutt/1.4.2.2i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing twenty years of service to the Unix community Cc: Gary Kline , FreeBSD Mailing List Subject: Re: awk 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: Tue, 06 Mar 2007 16:54:18 -0000 On Tue, Mar 06, 2007 at 07:27:56AM -0600, Derek Ragona wrote: > You can loop through them using a shell script: > for i in `ls -lt | awk '{if ($8 == 2006) print $9}'`;do rm $i;done This is the safest way to rm or rm -i each file ($i); the ls -ls | [awkstuff] spits out the entire list in one chunk. But since packages from 2006 were OLD, I just /bin/rm'd them wholesale. Thanks, gary > > -Derek > > > At 06:35 PM 3/5/2007, Gary Kline wrote: > > > Guys, > > > > Having found $9 , how do I /bin/rm it (using system()--yes??) > > in an awk one-liner? > > > > I'm trying to remove from packages from long ago and find and > > print them with > > > > ls -lt | awk '{if ($8 == 2006) print $9}'; > > > > but what I want to remove the file pointed at by $9. I've tried > > FILE=ARGV[9]; and using FILE within my system() call, but no-joy. > > What's the magic here? > > > > thanks in advance, > > > > gary > > > > > > > >-- > > Gary Kline kline@thought.org www.thought.org Public Service Unix > > > >_______________________________________________ > >freebsd-questions@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to > >"freebsd-questions-unsubscribe@freebsd.org" > > > >-- > >This message has been scanned for viruses and > >dangerous content by MailScanner, and is > >believed to be clean. > >MailScanner thanks transtec Computers for their support. > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > MailScanner thanks transtec Computers for their support. > > _______________________________________________ > 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 www.thought.org Public Service Unix From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 17:11:20 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2D0AC16A400 for ; Tue, 6 Mar 2007 17:11:20 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id D93F913C4AC for ; Tue, 6 Mar 2007 17:11:19 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from archangel.daleco.biz ([69.27.149.254]) by ezekiel.daleco.biz (8.13.4/8.13.1) with ESMTP id l26HAxjn016320; Tue, 6 Mar 2007 11:11:09 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <45EDA09E.7090601@daleco.biz> Date: Tue, 06 Mar 2007 11:10:54 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2pre) Gecko/20070221 SeaMonkey/1.1 MIME-Version: 1.0 To: Jonathan McKeown References: <200703061212.26382.jonathan@hst.org.za> <45ED6D51.3030903@daleco.biz> <200703061554.31750.jonathan@hst.org.za> In-Reply-To: <200703061554.31750.jonathan@hst.org.za> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Portupgrade moved: use --origin to upgrade it? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 17:11:20 -0000 Jonathan McKeown wrote: > On Tuesday 06 March 2007 15:32, Kevin Kinsey wrote: >> Jonathan McKeown wrote: >> >>> [can I upgrade portupgrade by] >>> portupgrade -NR --origin ports-mgmt/portupgrade portupgrade >>> ? >> I'm fairly certain that /usr/ports/UPGRADING said what to do. > > I checked UPDATING before I posted: it doesn't, just notes the change > (20070205). > > I've (now) got a spare box I can try it on without turning a drama into a > crisis if things go wrong. > I apologize --- I guess I was remembering 20070102 instead, which was probably the (sigh) last time I rebuilt portupgrade. KDK -- Beware of Programmers who carry screwdrivers. -- Leonard Brandwein From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 17:21:57 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AFD2316A402 for ; Tue, 6 Mar 2007 17:21:57 +0000 (UTC) (envelope-from tequnix@frogmi.net) Received: from mail.callooh.com (chello062178170039.13.14.vie.surfer.at [62.178.170.39]) by mx1.freebsd.org (Postfix) with ESMTP id 2341D13C494 for ; Tue, 6 Mar 2007 17:21:56 +0000 (UTC) (envelope-from tequnix@frogmi.net) Received: from jadzia.intern.creative.co.at (fw2.creative.co.at [193.81.98.66]) (authenticated bits=0) by mail.callooh.com (8.14.0/8.14.0) with ESMTP id l26H2pOQ012944 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 6 Mar 2007 18:02:51 +0100 (CET) (envelope-from tequnix@frogmi.net) Date: Tue, 6 Mar 2007 18:02:50 +0100 From: tequnix@frogmi.net To: "Chad Leigh -- Shire.Net LLC" Message-ID: <20070306180250.569ba975@jadzia.intern.creative.co.at> In-Reply-To: References: X-Mailer: Claws Mail 2.8.0 (GTK+ 2.10.9; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.90/2746/Tue Mar 6 16:24:22 2007 on lyekka.home.callooh.com X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (mail.callooh.com [62.178.170.39]); Tue, 06 Mar 2007 18:02:51 +0100 (CET) Cc: User Questions Subject: Re: started getting repeated "bge0: PHY read timed out" messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 17:21:57 -0000 > > After running fine for a while, my new server running 6.2-RELEASE > with latest security patches as of last Thursday or Friday started > giving the message > > bge0: PHY read timed out > > and I found the following in the system log > > Mar 6 02:59:33 server kernel: bge0: link state changed to DOWN > Mar 6 02:59:36 server kernel: bge0: link state changed to UP > Mar 6 03:00:27 server kernel: bge0: link state changed to DOWN > Mar 6 03:00:29 server kernel: bge0: link state changed to UP > Mar 6 05:09:27 server kernel: bge0: PHY read timed out > Mar 6 05:09:27 server last message repeated 3 times > Mar 6 05:09:27 server kernel: bge0: link state changed to DOWN > Mar 6 05:09:29 server kernel: bge0: PHY read timed out > Mar 6 05:09:50 server last message repeated 79 times > Mar 6 05:09:50 server kernel: bge0: watchdog timeout -- resetting > Mar 6 05:09:50 server kernel: bge0: PHY read timed out > Mar 6 05:09:50 server last message repeated 4 times > Mar 6 05:09:50 server kernel: bge0: RX CPU self-diagnostics failed! > Mar 6 05:09:50 server kernel: bge0: flow-through queue init failed > Mar 6 05:09:50 server kernel: bge0: initialization failure > Mar 6 05:09:52 server kernel: bge0: PHY read timed out > Mar 6 05:10:23 server last message repeated 140 times > Mar 6 05:12:24 server last message repeated 616 times > Mar 6 05:22:26 server last message repeated 2580 times > Mar 6 05:32:28 server last message repeated 2460 times > Mar 6 05:42:30 server last message repeated 2540 times > Mar 6 05:52:32 server last message repeated 2572 times > Mar 6 06:02:33 server last message repeated 2652 times > Mar 6 06:12:34 server last message repeated 2532 times > Mar 6 06:22:35 server last message repeated 2516 times > Mar 6 06:32:37 server last message repeated 2452 times > Mar 6 06:42:38 server last message repeated 2520 times > Mar 6 06:52:39 server last message repeated 2544 times > Mar 6 07:02:39 server last message repeated 2919 times > Mar 6 07:12:41 server last message repeated 2521 times > Mar 6 07:22:43 server last message repeated 2524 times > Mar 6 07:32:44 server last message repeated 2440 times > Mar 6 07:42:45 server last message repeated 2524 times > Mar 6 07:52:48 server last message repeated 2528 times > Mar 6 08:02:50 server last message repeated 2656 times > Mar 6 08:12:51 server last message repeated 2552 times > Mar 6 08:22:53 server last message repeated 2528 times > Mar 6 08:32:55 server last message repeated 2436 times > Mar 6 08:42:57 server last message repeated 2536 times > Mar 6 08:52:58 server last message repeated 2544 times > Mar 6 08:58:55 server last message repeated 1631 times > > This appears to be a HW problem at first look. But when the server > boots, it works fine for a while (hours, days??) > > Here is the id in the boot message > > Mar 6 09:01:21 server kernel: bge0: 0x3003> mem 0xfeab0000-0xfeabffff irq 16 at device 14.0 on pci1 > Mar 6 09:01:21 server kernel: miibus0: on bge0 > Mar 6 09:01:21 server kernel: brgphy0: PHY> on miibus0 > Mar 6 09:01:21 server kernel: brgphy0: 10baseT, 10baseT-FDX, > 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto > Mar 6 09:01:21 server kernel: bge0: Ethernet address: 00:e0:81:61:e9:a0 > > Is this some sort of SW driver issue or is it a HW issue at first > glance? I remember kind of reading about some BGE issues a while back. > > Thanks > Chad sorry, no solution here, just a `me too`: FreeBSD 6.2-RELEASE #0 i386 (in my case, it started right after upgrading from 6.1-RELEASE to 6.2-RELEASE) [..] Mar 4 20:01:39 lyekka kernel: sk0: link state changed to DOWN Mar 4 20:01:45 lyekka kernel: sk0: link state changed to UP Mar 4 20:02:18 lyekka kernel: sk0: link state changed to DOWN Mar 4 20:02:20 lyekka kernel: sk0: link state changed to UP Mar 4 20:02:35 lyekka kernel: sk0: link state changed to DOWN Mar 4 20:02:39 lyekka kernel: sk0: link state changed to UP Mar 4 21:50:35 lyekka kernel: sk0: link state changed to DOWN Mar 4 21:50:38 lyekka kernel: sk0: link state changed to UP Mar 4 21:50:52 lyekka kernel: sk0: link state changed to DOWN Mar 4 21:50:54 lyekka kernel: sk0: link state changed to UP Mar 5 00:45:00 lyekka kernel: sk0: link state changed to DOWN Mar 5 05:28:56 lyekka kernel: sk0: phy write timeout [..] card is: [..] skc0: port 0xa800-0xa8ff mem 0xef004000-0xef007fff irq 12 at device 7.0 on pci0 skc0: SK-9521 10/100/1000Base-T Adapter rev. (0x1) sk0: on skc0 [..] after some time (it differs, normally after a few days) it is not possible to send/receive data via this interface. `ifconfig sk0 down ; ifconfig sk0 up` helps i notice this UP/DOWN flap when i start/shutdown another machine with direct connection to that one (nve card on the other side, connected with kat7 crossover patch cable) if replaced the (sk) nic, no difference, so i guess this is not a hardware problem ? regards, reinhard -- Canada Bill Jones's Motto: It's morally wrong to allow suckers to keep their money. Canada Bill Jones's Supplement: A Smith and Wesson beats four aces. From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 17:28:23 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A25D516A402 for ; Tue, 6 Mar 2007 17:28:23 +0000 (UTC) (envelope-from rj45@slacknet.com) Received: from slacknet.com (slacknet.com [166.70.153.62]) by mx1.freebsd.org (Postfix) with ESMTP id 8DFF013C442 for ; Tue, 6 Mar 2007 17:28:23 +0000 (UTC) (envelope-from rj45@slacknet.com) Received: from rj45 (helo=localhost) by slacknet.com with local-esmtp (Exim 4.50 #1 (Debian)) id 1HOd8n-0001cB-Vn for ; Tue, 06 Mar 2007 10:07:57 -0700 Date: Tue, 6 Mar 2007 10:07:57 -0700 (MST) From: RJ45 To: freebsd-questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: rj45@slacknet.com X-SA-Exim-Scanned: No (on slacknet.com); SAEximRunCond expanded to false Subject: Kerberos authenticatino and ldap authorization X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 17:28:23 -0000 Hello, I would liek to use FreeBSD as a login ox using krb5 authentication and ldap authorization. The KDC kerberos server is another machine as well hte LDAP server, this freebsd box is a kerberos and ldap client. Anyone could give me some good hint on hoe to configure hte FreeBSD box in this way ? I tryed to search for infoes but could only get partial informations. for example I would like to installa MIT krb5 implementation from ports instead of using heidmal default this because the kerberos server on my network is a MIT server and I can't use kadmin on FreeBSD to administrer the kerberos server remotely using heidmal implementation. Anyone has experience of MIT krb5 implementation on FreeBSD ? as well hoe to enable LDAP authorization for logins on FreeBSD ? thanks Rick From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 17:36:20 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7D69516A400 for ; Tue, 6 Mar 2007 17:36:20 +0000 (UTC) (envelope-from daniel_k_eriksson@telia.com) Received: from pne-smtpout1-sn1.fre.skanova.net (pne-smtpout1-sn1.fre.skanova.net [81.228.11.98]) by mx1.freebsd.org (Postfix) with ESMTP id 4007513C49D for ; Tue, 6 Mar 2007 17:36:20 +0000 (UTC) (envelope-from daniel_k_eriksson@telia.com) Received: from royal64.emp.zapto.org (195.198.193.104) by pne-smtpout1-sn1.fre.skanova.net (7.2.076.2) id 45AE5BE800C796DA; Tue, 6 Mar 2007 17:26:34 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-class: urn:content-classes:message Date: Tue, 6 Mar 2007 17:26:32 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Message-ID: <4F9C9299A10AE74E89EA580D14AA10A602871A@royal64.emp.zapto.org> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: gjournal and zfs, questions Thread-Index: Acdf9UyYzTWU5Fl9SEiOVv/jqni4pQAFNF8g References: <4F9C9299A10AE74E89EA580D14AA10A6028719@royal64.emp.zapto.org> From: "Daniel Eriksson" To: Cc: Ivan Voras Subject: RE: gjournal and zfs, questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 17:36:20 -0000 Ivan Voras wrote: > GJournal aready is: > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/geom/journal/g_j > ournal.c?rev=3D1.9&content-type=3Dtext/x-cvsweb-markup Thank you for the info! zfs looks more interesting, but having gjournal in the tree makes it more convenient. Any guess on when zfs will hit the regular CVS tree? /Daniel Eriksson From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 17:48:31 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C792116A401 for ; Tue, 6 Mar 2007 17:48:31 +0000 (UTC) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (mail.shire.net [166.70.252.250]) by mx1.freebsd.org (Postfix) with ESMTP id AEA7013C441 for ; Tue, 6 Mar 2007 17:48:31 +0000 (UTC) (envelope-from chad@shire.net) Received: from [67.171.127.191] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.51) id 1HOdm3-000EI8-7r for freebsd-questions@freebsd.org; Tue, 06 Mar 2007 10:48:31 -0700 Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: "Chad Leigh -- Shire.Net LLC" Date: Tue, 6 Mar 2007 10:48:30 -0700 To: User Questions X-Mailer: Apple Mail (2.752.2) X-SA-Exim-Connect-IP: 67.171.127.191 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false Subject: Re: started getting repeated "bge0: PHY read timed out" messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 17:48:32 -0000 On Mar 6, 2007, at 9:20 AM, Chad Leigh -- Shire.Net LLC wrote: > Hi > > After running fine for a while, my new server running 6.2-RELEASE > with latest security patches as of last Thursday or Friday started > giving the message Probably should have said i386 version # uname -a FreeBSD server.shire.net 6.2-RELEASE-p2 FreeBSD 6.2-RELEASE-p2 #1: Sat Mar 3 13:11:00 UTC 2007 chad@server.shire.net:/usr/obj/usr/ src/sys/server i386 # Tyan S2850 single opteron 2gb ecc new install from ISO then cvsup'ed to latest Chad > > bge0: PHY read timed out > > and I found the following in the system log > > Mar 6 02:59:33 server kernel: bge0: link state changed to DOWN > Mar 6 02:59:36 server kernel: bge0: link state changed to UP > Mar 6 03:00:27 server kernel: bge0: link state changed to DOWN > Mar 6 03:00:29 server kernel: bge0: link state changed to UP > Mar 6 05:09:27 server kernel: bge0: PHY read timed out > Mar 6 05:09:27 server last message repeated 3 times > Mar 6 05:09:27 server kernel: bge0: link state changed to DOWN > Mar 6 05:09:29 server kernel: bge0: PHY read timed out > Mar 6 05:09:50 server last message repeated 79 times > Mar 6 05:09:50 server kernel: bge0: watchdog timeout -- resetting > Mar 6 05:09:50 server kernel: bge0: PHY read timed out > Mar 6 05:09:50 server last message repeated 4 times > Mar 6 05:09:50 server kernel: bge0: RX CPU self-diagnostics failed! > Mar 6 05:09:50 server kernel: bge0: flow-through queue init failed > Mar 6 05:09:50 server kernel: bge0: initialization failure > Mar 6 05:09:52 server kernel: bge0: PHY read timed out > Mar 6 05:10:23 server last message repeated 140 times > Mar 6 05:12:24 server last message repeated 616 times > Mar 6 05:22:26 server last message repeated 2580 times > Mar 6 05:32:28 server last message repeated 2460 times > Mar 6 05:42:30 server last message repeated 2540 times > Mar 6 05:52:32 server last message repeated 2572 times > Mar 6 06:02:33 server last message repeated 2652 times > Mar 6 06:12:34 server last message repeated 2532 times > Mar 6 06:22:35 server last message repeated 2516 times > Mar 6 06:32:37 server last message repeated 2452 times > Mar 6 06:42:38 server last message repeated 2520 times > Mar 6 06:52:39 server last message repeated 2544 times > Mar 6 07:02:39 server last message repeated 2919 times > Mar 6 07:12:41 server last message repeated 2521 times > Mar 6 07:22:43 server last message repeated 2524 times > Mar 6 07:32:44 server last message repeated 2440 times > Mar 6 07:42:45 server last message repeated 2524 times > Mar 6 07:52:48 server last message repeated 2528 times > Mar 6 08:02:50 server last message repeated 2656 times > Mar 6 08:12:51 server last message repeated 2552 times > Mar 6 08:22:53 server last message repeated 2528 times > Mar 6 08:32:55 server last message repeated 2436 times > Mar 6 08:42:57 server last message repeated 2536 times > Mar 6 08:52:58 server last message repeated 2544 times > Mar 6 08:58:55 server last message repeated 1631 times > > This appears to be a HW problem at first look. But when the server > boots, it works fine for a while (hours, days??) > > Here is the id in the boot message > > Mar 6 09:01:21 server kernel: bge0: rev. 0x3003> mem 0xfeab0000-0xfeabffff irq 16 at device 14.0 on pci1 > Mar 6 09:01:21 server kernel: miibus0: on bge0 > Mar 6 09:01:21 server kernel: brgphy0: PHY> on miibus0 > Mar 6 09:01:21 server kernel: brgphy0: 10baseT, 10baseT-FDX, > 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto > Mar 6 09:01:21 server kernel: bge0: Ethernet address: > 00:e0:81:61:e9:a0 > > Is this some sort of SW driver issue or is it a HW issue at first > glance? I remember kind of reading about some BGE issues a while > back. > > Thanks > Chad > > --- > Chad Leigh -- Shire.Net LLC > Your Web App and Email hosting provider > chad at shire.net > > > > _______________________________________________ > 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" --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 17:51:01 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5A95516A408 for ; Tue, 6 Mar 2007 17:51:01 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 13ED813C4AA for ; Tue, 6 Mar 2007 17:51:00 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HOdoO-0006Zo-7W for freebsd-questions@freebsd.org; Tue, 06 Mar 2007 18:50:56 +0100 Received: from 83-131-110-81.adsl.net.t-com.hr ([83.131.110.81]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 Mar 2007 18:50:56 +0100 Received: from ivoras by 83-131-110-81.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 Mar 2007 18:50:56 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Tue, 06 Mar 2007 18:50:48 +0100 Lines: 39 Message-ID: References: <4F9C9299A10AE74E89EA580D14AA10A6028719@royal64.emp.zapto.org> <4F9C9299A10AE74E89EA580D14AA10A602871A@royal64.emp.zapto.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD198139EB53B7DA510175900" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 83-131-110-81.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) In-Reply-To: <4F9C9299A10AE74E89EA580D14AA10A602871A@royal64.emp.zapto.org> X-Enigmail-Version: 0.94.1.2 Sender: news Subject: Re: gjournal and zfs, questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 17:51:01 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD198139EB53B7DA510175900 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Daniel Eriksson wrote: > Ivan Voras wrote: >=20 >> GJournal aready is: >> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/geom/journal/g_j >> ournal.c?rev=3D1.9&content-type=3Dtext/x-cvsweb-markup >=20 > Thank you for the info! >=20 > zfs looks more interesting, but having gjournal in the tree makes it > more convenient. >=20 > Any guess on when zfs will hit the regular CVS tree? I don't know for sure, but I think the intention is for it to be ready for 7.0. Judging from the recent announcement message, it looks like most problems are solved so it might be soon. --------------enigD198139EB53B7DA510175900 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF7an4ldnAQVacBcgRAgXYAJ0QYCEaB0VQZibgA25CC8EUAj/qegCg8+36 c35WdNNDr0N9TZJ0xctF/GA= =XTB5 -----END PGP SIGNATURE----- --------------enigD198139EB53B7DA510175900-- From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 17:54:13 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3B8E616A400 for ; Tue, 6 Mar 2007 17:54:13 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 0DBF313C4B3 for ; Tue, 6 Mar 2007 17:54:12 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.pgh.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTP id 5AAB5EBC62; Tue, 6 Mar 2007 12:54:12 -0500 (EST) Date: Tue, 6 Mar 2007 12:54:11 -0500 From: Bill Moran To: Vizion Message-Id: <20070306125411.051f315d.wmoran@potentialtech.com> In-Reply-To: <20070306165007.XUGP2045.dukecmmtao03.coxmail.com@dukecmmtao03> References: <20070306165007.XUGP2045.dukecmmtao03.coxmail.com@dukecmmtao03> X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.9; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: ftp set 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: Tue, 06 Mar 2007 17:54:13 -0000 In response to Vizion : > > > -----Original Message----- > > From: Bill Moran [mailto:wmoran@potentialtech.com] > > Sent: Tuesday, March 06, 2007 5:24 AM > > To: Vizion > > Cc: freebsd-questions@freebsd.org > > Subject: Re: ftp set up > > > > > > Please wrap your lines around 72 characters. > > > > In response to Vizion : > > > > > > I wonder if someone could point me to a reliable detailed > > resource for > > > configuring an ftp server on freebsd 6.1 for both incoming > > and outgoing > > > files (including anonymous ftp). > > > > > > I do not want anonymous uploaders to view existing file names in > > > ftp/incoming or be able to download from incoming. I want > > the server as > > > secure as is reasonably practicable. The notes in the > > freebsd handbook are > > > not really comprehensive enough for me. > > > > Please don't do this. Please don't even try. > > > > -- > Got yr point -- my guess is you did not use a process to shift files out > of the the upload directory as soon as they arrived. That way they can be > monitored and never downloaded. You're still sending out _very_ long lines. ... and no, I didn't use a process to prevent files from being subsequently downloaded, it would have defeated the purpose of "file transfer". > I think it is up to each administrator to solve the problems. If you > happen to have an answer to my original question -- a reliable source of > info about ftp configuration it would be useful. It is a long time since I > ran an ftp server and I am rusty. Sorry, I don't. I haven't set up an FTP server in a long time. scp has replaced ftp -- which was my point. I've done my due-diligence in warning of the dangers ... -- Bill Moran http://www.potentialtech.com From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 17:57:44 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 64DA816A408 for ; Tue, 6 Mar 2007 17:57:44 +0000 (UTC) (envelope-from rapopp@eastcentral.edu) Received: from ecmail.eastcentral.edu (ecmail.eastcentral.edu [198.209.216.1]) by mx1.freebsd.org (Postfix) with ESMTP id EFB4F13C4B8 for ; Tue, 6 Mar 2007 17:57:43 +0000 (UTC) (envelope-from rapopp@eastcentral.edu) Received: from barbados.eastcentral.edu ([10.15.0.132]) by ecmail.eastcentral.edu (8.13.1/8.12.11) with ESMTP id l26Hvfbc032314 for ; Tue, 6 Mar 2007 11:57:42 -0600 From: "Reuben A. Popp" To: freebsd-questions@freebsd.org Date: Tue, 6 Mar 2007 11:59:38 -0600 User-Agent: KMail/1.9.4 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1335506.QMlemxO2la"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200703061200.05557.rapopp@eastcentral.edu> Subject: login.conf questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rapopp@eastcentral.edu List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 17:57:44 -0000 --nextPart1335506.QMlemxO2la Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello everyone, I have set up a few parameters in a few classes in login.conf and reran=20 cap_mkdb /etc/login.conf, but some things don't seem to work. =46or example, I have the default class configured with idletime=3D20, but = I have=20 users able to login and stay in the system for much longer than the defined= =20 limit. Usually, it's students here who were working on a project in vi and= =20 then closed their putty session or something. =20 Am I doing something incorrectly or is there other parameters I need to=20 specify? Thanks in advance (again) Reuben A. Popp =2D-=20 Reuben A. Popp Systems Administrator Information Technology Department East Central College 1+ 636 583 5195 x2480 --nextPart1335506.QMlemxO2la Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBF7awlf+ihZq7YgSMRAm8pAJ9icNQ3yjn0PTPAghT67hXVFaboHACggkDe cB0D6pCFKJGsDjBsB/cGuFw= =5NDt -----END PGP SIGNATURE----- --nextPart1335506.QMlemxO2la-- From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 17:58:32 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7F23316A400 for ; Tue, 6 Mar 2007 17:58:32 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id 32B3413C478 for ; Tue, 6 Mar 2007 17:58:32 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from archangel.daleco.biz ([69.27.149.254]) by ezekiel.daleco.biz (8.13.4/8.13.1) with ESMTP id l26HwTKj016763; Tue, 6 Mar 2007 11:58:30 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <45EDABC0.2060306@daleco.biz> Date: Tue, 06 Mar 2007 11:58:24 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2pre) Gecko/20070221 SeaMonkey/1.1 MIME-Version: 1.0 To: Joshua Kordani References: <69af686f0703060819r557fea9cj22cd8c560f17e9a4@mail.gmail.com> In-Reply-To: <69af686f0703060819r557fea9cj22cd8c560f17e9a4@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: using sysinstall upgrade as a repair solution X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 17:58:32 -0000 Disclaimer: IANAE. Joshua Kordani wrote: > Hello all! > I was running 5.1 release till pretty much last week when I believe the > machine experienced an unplanned powercycle. since then i get an error > about libedit.so.4 being missing, and being required by sh, please input > path to sh or hit enter. ok, so i know about /rescue/sh, and the fixit > option on sysinstall, but i don't know if libraries are anywhere to be > found on the live cd fixit toolkit (i doubt it, i looked in all the places that > made sense to me). It should live in /lib. Did you look there? It might get by (barely) with libedit.so.3 or libedit.so5, also, if they are there. Of course, the executables in /rescue are statically linked, so you > So i figure I might as well reinstall the OS, as > that is why i made separate partitions for user data and system files (so i think, > this is my first unix based system built by me) to apparently facilitate os > reinstallation. It's traditional in BSD unix to have separate partitions; the logic is lost to me (being shrouded in the mists of time), but it's proved sane here a few times. For example, when one partition gets full, there's still some room to move stuff and salvage things without a reinstall ;-) > So here is my understanding of how a reinsall is supposed > to go, with the aim of preserving my user stuff. > I set the system up with a 150 meg partition (more than reccomended in the > handbook at the time, and still to my knowledge) on which I put a, a b swap > part, 256 meg d /tmp, 256 meg e /var, and 200odd gig f /usr. the system > was > oringinally intended to be an anonymous ftp repository for me and my > friends, but due to school req's i had to change it to the sftp > backengine(?) of sshd, and it was in /usr/share/public that i put pretty > much everything. when my friends added tons of crap I eventually added > another 160 gig drive, put a swap part on that too for kicks, and moved the > /home dir to it too. as of last week i only have 10 gigs remaining on that > drive, and oddly enough i am at 106% capcity for the 250 gig drive > according > to df, go figure. Not hard to figure. The disk is full, including the space reserved for accidental overflow. Take some stuff off --- log files, disk hogging sound or video files, etc. Incidentally, 150MB doesn't seem very large for a root partition IMHO. I've not read the handbook recently, but I generally use a gig for /. Had a situation similar to what you describe recently with a system that had been running Desktop BSD. The default setup there is apparently 128M or so for / with a separate /tmp of approximately equal size. Figuring that /rescue would save me in the event of problems, I moved /stand to another partition (one that had *space* though, mind you) and linked it to /. Then my upgrade succeeded, although I was using the standard cvsup/make buildworld cycle. > So now I figure id open up sysinstall off a cd and use > the upgrade feature first, for either 5.1 or 6.2. I set / to mount to a, > /tmp to d, /var to e. and i leave f alone, since i dont want that modified > at all. well, eventually the tool tells me that the filesystem is full and > quits. Then I try doing a custom install and choose only the required base > files, or a minimal install, and the same thing happens. Then I figured > that in the worst case i could choose to mount /usr on the 2nd harddrive on > the partition where there are 10 gigs free in the fdisk-like utility step > that the upgrade feature brings one too, and then i get kernel panics. Any indication as to why? I'd assume that it wasn't finding things as it expected, filesystem wise. Of course, a lot has changed since 5.1, so it could be anything. Most recent panic I've seen that bears any resemblance was on a 5.3 system with a devfs statement in /etc/rc.conf that was no longer valid, so when it was upgraded to 6.2 (quite a bit more recent), devfs panicked on boot. Removing the config statement from said file fixed that. YMMV, of course. > So i figure im not doing something right, or im not understanding something, but > it was my intent to separate the / from /usr(or wherever id put stuff) in > order to make the upgrading(or repairing) of the os easier. > If this topic has already been discussed on the list then please tell me so > I can go look in this lists archives wherever they may be stored. > I am also not adverse to reading and note that I've looked through the > handbooks for 5.1 and 6.2 as well as their install.txts. 5.5 disks are > burning now, and im going to give those a try and see what happens. > Thanks! > Josh You need space on the disk. Read up on "find" and "du" and see what's taking the space. Then use rm and get rid of it. After that you should be able to do an upgrade. Although if you do like to read docs, I'd recommend the standard procedure instead of the sysinstall binary upgrade; however, that could be just a user pref, I guess. KDK -- Envy, n: Wishing you'd been born with an unfair advantage, instead of having to try and acquire one. From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 18:07:49 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BE70E16A402 for ; Tue, 6 Mar 2007 18:07:49 +0000 (UTC) (envelope-from vizion@vizion.occoxmail.com) Received: from dukecmmtao03.coxmail.com (dukecmmtao03.coxmail.com [68.99.120.70]) by mx1.freebsd.org (Postfix) with ESMTP id 573BD13C4B3 for ; Tue, 6 Mar 2007 18:07:49 +0000 (UTC) (envelope-from vizion@vizion.occoxmail.com) Received: from dukecmmtao03 ([172.18.22.59]) by dukecmmtao03.coxmail.com (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with SMTP id <20070306180746.ESLL2045.dukecmmtao03.coxmail.com@dukecmmtao03>; Tue, 6 Mar 2007 13:07:46 -0500 X-Mailer: Openwave WebEngine, version 2.8.16 (webedge20-101-1106-20040809) From: Vizion Organization: vizion Communications To: Date: Tue, 6 Mar 2007 10:07:46 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20070306180746.ESLL2045.dukecmmtao03.coxmail.com@dukecmmtao03> Cc: wmoran@potentialtech.com Subject: Re: ftp set 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: Tue, 06 Mar 2007 18:07:49 -0000 In response to Vizion : > > > -----Original Message----- > > From: Bill Moran [mailto:wmoran@potentialtech.com] > > Sent: Tuesday, March 06, 2007 5:24 AM > > To: Vizion > > Cc: freebsd-questions@freebsd.org > > Subject: Re: ftp set up > > > > > > Please wrap your lines around 72 characters. > > > > In response to Vizion : > > > > > > I wonder if someone could point me to a reliable detailed > > resource for > > > configuring an ftp server on freebsd 6.1 for both incoming > > and outgoing > > > files (including anonymous ftp). > > > > > > I do not want anonymous uploaders to view existing file names in > > > ftp/incoming or be able to download from incoming. I want > > the server as > > > secure as is reasonably practicable. The notes in the > > freebsd handbook are > > > not really comprehensive enough for me. > > > > Please don't do this. Please don't even try. > > > > -- > Got yr point -- my guess is you did not use a process to shift files out > of the the upload directory as soon as they arrived. That way they can be > monitored and never downloaded. >You're still sending out _very_ long lines. BTW my standard line length is 80 chars.. I have reduced them for you. Dont you have a wrap option on your mail reader to set the lines to your desired width???? ... and no, I didn't use a process to prevent files from being subsequently downloaded, it would have defeated the purpose of "file transfer". Here we differ .. if you did not do that you asked for trouble!! David > I think it is up to each administrator to solve the problems. If you > happen to have an answer to my original question -- a reliable source of > info about ftp configuration it would be useful. It is a long time since I > ran an ftp server and I am rusty. Sorry, I don't. I haven't set up an FTP server in a long time. scp has replaced ftp -- which was my point. I've done my due-diligence in warning of the dangers ... Uploading to an ftp server has to be treated as a process by which the sender offers files to the administrator who may or may not choose to transfer them to the download directory. IF you let an end user determine what may be made available and subsequently have trouble well do not blame ftp blame the administrator!! IMHO To do otherwise is not exercising due diligence!! On web sites I follow the same principle -- users cannot add links -- only offer them.. same principle! david -- Bill Moran http://www.potentialtech.com From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 18:11:29 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6445F16A402 for ; Tue, 6 Mar 2007 18:11:29 +0000 (UTC) (envelope-from hugo@barafranca.com) Received: from mail.barafranca.com (mail.barafranca.com [67.19.101.164]) by mx1.freebsd.org (Postfix) with ESMTP id 42D1A13C48D for ; Tue, 6 Mar 2007 18:11:29 +0000 (UTC) (envelope-from hugo@barafranca.com) Received: from localhost (localhost [127.0.0.1]) by mail.barafranca.com (Postfix) with ESMTP id 3A10FC4D9F; Tue, 6 Mar 2007 18:34:21 +0000 (UTC) Received: from mail.barafranca.com ([67.19.101.164]) by localhost (mail.barafranca.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03186-03; Tue, 6 Mar 2007 18:33:33 +0000 (UTC) Received: from [192.168.0.1] (a213-22-26-111.cpe.netcabo.pt [213.22.26.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.barafranca.com (Postfix) with ESMTP id E9344C57DF; Tue, 6 Mar 2007 18:33:32 +0000 (UTC) Message-ID: <45EDAEB5.3080706@barafranca.com> Date: Tue, 06 Mar 2007 18:11:01 +0000 From: Hugo Silva User-Agent: Thunderbird 1.5.0.7 (X11/20061007) MIME-Version: 1.0 To: rapopp@eastcentral.edu, freebsd-questions@freebsd.org References: <200703061200.05557.rapopp@eastcentral.edu> In-Reply-To: <200703061200.05557.rapopp@eastcentral.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at barafranca.com X-Spam-Status: No, score=0 tagged_above=-1 required=4 tests=[none] X-Spam-Score: 0 X-Spam-Level: Cc: Subject: Re: login.conf questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 18:11:29 -0000 Hellom Reuben A. Popp wrote: > Hello everyone, > > I have set up a few parameters in a few classes in login.conf and reran > cap_mkdb /etc/login.conf, but some things don't seem to work. > > For example, I have the default class configured with idletime=20, but I have > users able to login and stay in the system for much longer than the defined > limit. Usually, it's students here who were working on a project in vi and > then closed their putty session or something. > You can "fix" that problem by using ClientAliveInterval 60 ClientAliveCountMax 2 on /etc/ssh/sshd_config This means clients will be disconnected after 2 tries, spaced by 60 seconds each. > Am I doing something incorrectly or is there other parameters I need to > specify? > > I have tested this and many other login.conf options, such as idletime and maximum session times, it seems that these values do nothing, and as far back as I can remember (4.4-RELEASE), they never did. Either I've been doing something wrong all this time, or they really don't work :) A more direct answer to your problem (depending on what you're trying to solve, if it's just hung users on the 'w' output, the above suggestion will fix that) might be sysutils/idled, which is a daemon that does just what you want. > Thanks in advance (again) > Reuben A. Popp > > > Regards, Hugo From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 18:28:27 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 11BAC16A400 for ; Tue, 6 Mar 2007 18:28:27 +0000 (UTC) (envelope-from mksmith@adhost.com) Received: from mail-in04.adhost.com (mail-in04.adhost.com [216.211.128.131]) by mx1.freebsd.org (Postfix) with ESMTP id E7B9913C4B3 for ; Tue, 6 Mar 2007 18:28:26 +0000 (UTC) (envelope-from mksmith@adhost.com) Received: from ad-exh01.adhost.lan (unknown [216.211.143.69]) by mail-in04.adhost.com (Postfix) with ESMTP id 839F0B8091; Tue, 6 Mar 2007 10:28:26 -0800 (PST) (envelope-from mksmith@adhost.com) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 x-cr-puzzleid: {7C569325-F827-4475-B3BC-06DCF55B83E1} Content-class: urn:content-classes:message Date: Tue, 6 Mar 2007 10:28:17 -0800 Message-ID: <17838240D9A5544AAA5FF95F8D52031601C59C9A@ad-exh01.adhost.lan> x-cr-hashedpuzzle: Aoq7 A1e+ B3UQ CCCM DZ9F Dq9v GhPC Ht5U I0M/ I8yk J2C2 LyiM Qe7/ Q3ob VmV3 WzdP; 2; ZgByAGUAZQBiAHMAZAAtAHEAdQBlAHMAdABpAG8AbgBzAEAAZgByAGUAZQBiAHMAZAAuAG8AcgBnADsAcgBqADQANQBAAHMAbABhAGMAawBuAGUAdAAuAGMAbwBtAA==; Sosha1_v1; 7; {7C569325-F827-4475-B3BC-06DCF55B83E1}; bQBrAHMAbQBpAHQAaABAAGEAZABoAG8AcwB0AC4AYwBvAG0A; Tue, 06 Mar 2007 18:28:17 GMT; UgBFADoAIABLAGUAcgBiAGUAcgBvAHMAIABhAHUAdABoAGUAbgB0AGkAYwBhAHQAaQBuAG8AIABhAG4AZAAgAGwAZABhAHAAIABhAHUAdABoAG8AcgBpAHoAYQB0AGkAbwBuAA== In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Kerberos authenticatino and ldap authorization thread-index: AcdgFQJbS4i8hzr4StqIsBDiWOvJBAAB/WVQ References: From: "Michael K. Smith - Adhost" To: "RJ45" , Cc: Subject: RE: Kerberos authenticatino and ldap authorization X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 18:28:27 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of RJ45 > Sent: Tuesday, March 06, 2007 9:08 AM > To: freebsd-questions@freebsd.org > Subject: Kerberos authenticatino and ldap authorization >=20 >=20 > Hello, > I would liek to use FreeBSD as a login ox using krb5 authentication > and ldap authorization. > The KDC kerberos server is another machine as well hte LDAP server, > this freebsd box is a kerberos and ldap client. >=20 > Anyone could give me some good hint on hoe to configure hte FreeBSD box > in > this way ? > I tryed to search for infoes but could only get partial informations. >=20 > for example I would like to installa MIT krb5 implementation from ports > instead of using heidmal default this because the kerberos server > on my network is a MIT server and I can't use kadmin on FreeBSD > to administrer the kerberos server remotely using heidmal > implementation. > Anyone has experience of MIT krb5 implementation on FreeBSD ? >=20 > as well hoe to enable LDAP authorization for logins on FreeBSD ? >=20 > thanks >=20 > Rick Hello Rick: Check out http://joseph.randomnetworks.com/archives/2004/06/21/active-directory-wi th-nss_ldap-and-pam_ldap/. It doesn't address your question regarding MIT Kerberos specifically, but it does give a good overview of using LDAP for authentication. Granted, you won't be using it to access an Active Directory, but the other configuration parameters will apply (nsswitch.conf, ldap.conf, PAM modules, etc.). Regards, Mike From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 18:36:30 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 16EF816A40B for ; Tue, 6 Mar 2007 18:36:30 +0000 (UTC) (envelope-from phbrown@charter.net) Received: from mtao01.charter.net (mtao01.charter.net [209.225.8.186]) by mx1.freebsd.org (Postfix) with ESMTP id A409D13C4AA for ; Tue, 6 Mar 2007 18:36:29 +0000 (UTC) (envelope-from phbrown@charter.net) Received: from aa03.charter.net ([10.20.200.155]) by mtao01.charter.net (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20070306183624.NXFB19399.mtao01.charter.net@aa03.charter.net>; Tue, 6 Mar 2007 13:36:24 -0500 Received: from brownhouse ([66.215.116.90]) by aa03.charter.net with SMTP id <20070306183624.QQJV6401.aa03.charter.net@brownhouse>; Tue, 6 Mar 2007 13:36:24 -0500 Message-ID: <002601c7601e$58686330$5a74d742@brownhouse> From: "Parker Brown" To: "Jerry McAllister" References: <000d01c75f69$d01f1050$5a74d742@brownhouse> <20070305210736.GA5466@gizmo.acns.msu.edu> Date: Tue, 6 Mar 2007 10:36:24 -0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Chzlrs: 0 Cc: FreeBSD Subject: Re: INTERFACING WITH NTFS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 18:36:30 -0000 Thanks, Jerry. I've got plenty of disk space and this is probably what I'll end up doing. At the moment I'm following up on fusefs-ntfs port, and hoping that will work first. Parker ----- Original Message ----- From: "Jerry McAllister" To: "Parker Brown" Cc: "FreeBSD" Sent: Monday, March 05, 2007 1:07 PM Subject: Re: INTERFACING WITH NTFS > On Mon, Mar 05, 2007 at 01:04:06PM -0800, Parker Brown wrote: > >> >> Using the FreeBSD booter to manage both Windoz XP and FreeBSD 6.1 on the >> same SCSI drive. Under FreeBSD I've got XP mounted, and I've been able >> to >> examine the XP directories, but when I try to copy data or the contents >> of >> directories from FreeBSD to XP (using cp -R ), nothing copies, and I >> get error messages that say the TARGET files don't exist. >> >> Is FreeBSD not capable of copying into NTFS? Has anyone else had the >> same >> problem? > > This was just discussed on the list late last week. > Yes, FreeBSD can read, but (for the most part) does not write > to NTFS at this point in time. There are a couple of ports that > claim to write to NTFS. I haven't tried them. > > When I dual boot with MS-NTFS, I actually squeeze the NTFS slice down > just a little further and make a couple or so GB slice in FAT32 that > I can read and write from both FreeBSD and Microsloth. That means I > am using up 3 rather than 2 slices when dual booting that combination; > NTFS, FAT32, FreeBSD. > > I don't know if work is being done to make standard FreeBSD write NTFS. > Search the recent questions archive for the recent exchanges. > > ////jerry >> >> >> >> Parker Brown >> >> _______________________________________________ >> 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 Mar 6 18:42:48 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 567B416A405 for ; Tue, 6 Mar 2007 18:42:48 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 1A3BB13C4AA for ; Tue, 6 Mar 2007 18:42:47 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l26IdpT4010109; Tue, 6 Mar 2007 13:39:51 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l26IdpGH010108; Tue, 6 Mar 2007 13:39:51 -0500 (EST) (envelope-from jerrymc) Date: Tue, 6 Mar 2007 13:39:51 -0500 From: Jerry McAllister To: Kevin Kinsey Message-ID: <20070306183951.GA9940@gizmo.acns.msu.edu> References: <69af686f0703060819r557fea9cj22cd8c560f17e9a4@mail.gmail.com> <45EDABC0.2060306@daleco.biz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45EDABC0.2060306@daleco.biz> User-Agent: Mutt/1.4.2.2i Cc: Joshua Kordani , freebsd-questions@freebsd.org Subject: Re: using sysinstall upgrade as a repair solution X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 18:42:48 -0000 On Tue, Mar 06, 2007 at 11:58:24AM -0600, Kevin Kinsey wrote: > Disclaimer: IANAE. > > Joshua Kordani wrote: > >Hello all! > > .... > > > So i figure I might as well reinstall the OS, as > >that is why i made separate partitions for user data and system files (so > >i think, > >this is my first unix based system built by me) to apparently facilitate os > >reinstallation. > > It's traditional in BSD unix to have separate partitions; the logic is > lost to me (being shrouded in the mists of time), but it's proved sane > here a few times. For example, when one partition gets full, there's > still some room to move stuff and salvage things without a reinstall ;-) The long ago origins of making things in many partitions was when disks were much much smaller. So were backup media. It was common to have each piece on a separate disk. Then disks got big enough to put more than one part on and so on. Now, there are a couple of good reasons to still divide a disk in to partitions. One is mentioned, sort of, above. You want to isolate areas that may grow unexpectedly from critical disk space. So, /var which contains logs and database stuff and spools gets its own partition to keep it from over-filling root. /tmp and user home directory space are also such disk areas whose growth might not be predictable. Another reason is for convenience with backups. You may want to reduce the size of partitions that are being backed up, either to fit media or to be more convenient. If only stuff in the partition with users' home directories changes, then you only have to make regular backups of that. The other parts you only backup when you make a new install or whatever. Some things like /tmp you don't bother to ever back up. It also can be less to have to restore if one partition goes belly up, though that is less true nowdays when the users' space (not necessarily /usr - that is an old convention. Now it is common to use /home for users' home directories, since /usr really contains installed software) may be by far the largest space on a system, depending on how the system is used. Another reason to break things up is to have to load the least amount possible when there are problems. You have to have / to boot in to single user mode to work on things. But you don't have to have the rest of the stuff. The smaller you make root the less likely some disk problem will show up in the root partition, making it more likely you can get at least some of the system up to work on the problem. The fourth reason to have separate partitions is to make it easier to isolate things. You may want to make a certain amount of space available for users to write in, but want to keep them out of other space. There are various ways to do it. Having things grouped conveniently in some defined area makes it a little easier. > > >So here is my understanding of how a reinsall is supposed > >to go, with the aim of preserving my user stuff. > >I set the system up with a 150 meg partition (more than reccomended in the > >handbook at the time, and still to my knowledge) on which I put a, a b swap > >part, 256 meg d /tmp, 256 meg e /var, and 200odd gig f /usr. the system > >was > >oringinally intended to be an anonymous ftp repository for me and my > >friends, but due to school req's i had to change it to the sftp > >backengine(?) of sshd, and it was in /usr/share/public that i put pretty > >much everything. when my friends added tons of crap I eventually added > >another 160 gig drive, put a swap part on that too for kicks, and moved the > >/home dir to it too. as of last week i only have 10 gigs remaining on that > >drive, and oddly enough i am at 106% capcity for the 250 gig drive > >according > >to df, go figure. > > Not hard to figure. The disk is full, including the space reserved for > accidental overflow. Take some stuff off --- log files, disk hogging > sound or video files, etc. > > Incidentally, 150MB doesn't seem very large for a root partition IMHO. > I've not read the handbook recently, but I generally use a gig for /. If you divide out /var and /usr and /tmp and /home, then 150 MB is plenty for root. I am currently using about 120 MB on this machine which is due a good cleanup. Use du(1) to track down where disk is being used unexpectedly. CD to a directory and do du -sk * and look at the list. Go in to whichever directory that shows up in the list as surprisingly large and do another du, etc, etc until you isolate where the junk is. rm the stuff and find out how it is getting there and close that hole off. You can use other flags such as -h or -m on the du command. I like the -k because it makes a consistent display down the list that makes it easy to visually scan and see differences in those cases where I don't care so much about the actual size as about seeing those that stick out. Note, by the way, that upgrading can use up a chunk of space on a temporary basis. ////jerry > .... > recommend the standard procedure instead of the sysinstall binary > upgrade; however, that could be just a user pref, I guess. > > KDK > -- > Envy, n: > Wishing you'd been born with an unfair advantage, > instead of having to try and acquire one. > _______________________________________________ > 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 Mar 6 18:51:32 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 11A5C16A412 for ; Tue, 6 Mar 2007 18:51:32 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.freebsd.org (Postfix) with ESMTP id DD8C613C47E for ; Tue, 6 Mar 2007 18:51:31 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from [172.23.10.40] (nat-service4.juniper.net [66.129.225.151]) (authenticated bits=0) by typhoon.enabled.com (8.14.0/8.14.0) with ESMTP id l26IpOAp043792 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 6 Mar 2007 10:51:24 -0800 (PST) (envelope-from admin2@enabled.com) Message-ID: <45EDB82D.2040300@enabled.com> Date: Tue, 06 Mar 2007 10:51:25 -0800 From: Noah User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: User Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: upgraded 6.2 and mysql lost all privileges X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 18:51:32 -0000 Hi there, I just upgraded to 6.2 and now I do not see my mysql privileges. is there an easy way to get them back in place. I thought they would magically appear in the /var/db/mysql directory and stuff. Is there an easy way to recover these accounts or do I need to readd them manually?? Cheers, Noah From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 19:00:35 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C1FED16A402 for ; Tue, 6 Mar 2007 19:00:35 +0000 (UTC) (envelope-from tillman@seekingfire.com) Received: from mail.seekingfire.com (thoth.seekingfire.com [24.89.83.9]) by mx1.freebsd.org (Postfix) with ESMTP id 93EA513C442 for ; Tue, 6 Mar 2007 19:00:35 +0000 (UTC) (envelope-from tillman@seekingfire.com) Received: by mail.seekingfire.com (Postfix, from userid 500) id CD74539830; Tue, 6 Mar 2007 13:00:34 -0600 (CST) Date: Tue, 6 Mar 2007 13:00:34 -0600 From: Tillman Hodgson To: freebsd-questions@freebsd.org Message-ID: <20070306190034.GA21811@seekingfire.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Habeas-SWE-1: winter into spring X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-9: mark in spam to . X-GPG-Key-ID: 828AFC7B X-GPG-Fingerprint: 5584 14BA C9EB 1524 0E68 F543 0F0A 7FBC 828A FC7B X-GPG-Key: http://www.seekingfire.com/personal/gpg_key.asc X-Urban-Legend: There is lots of hidden information in headers X-Tillman-rules: yes he does User-Agent: Mutt/1.5.14 (2007-02-12) Subject: Re: Kerberos authenticatino and ldap authorization X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 19:00:35 -0000 On Tue, Mar 06, 2007 at 10:07:57AM -0700, RJ45 wrote: > for example I would like to installa MIT krb5 implementation from ports > instead of using heidmal default this because the kerberos server > on my network is a MIT server and I can't use kadmin on FreeBSD > to administrer the kerberos server remotely using heidmal implementation. > Anyone has experience of MIT krb5 implementation on FreeBSD ? The handbook has a chapter on setting up Kerberos, albeit focused on Heimdal. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kerberos5.html In section 14.8.6 it notes that the kadmin protocol differs between Kerberos implementations -- you have to use the MIT kadmin to administer a remote MIT KDC. Other than the kadmin bits (which are fairly different between the two but isn't used by end-users anyway), it's pretty much transparent to a Kerberos-enabled workstation which implementation it's using. I typically install both (to different paths to avoid file conflicts) because I like using the newest Heimdal rather than the one in base and also because the included client applications differ. For example, MIT has Kerberos rsh whereas the base Heimdal doesn't for some of the platforms that I use. If you run into any specific issues when setting it up, please post back to the list and cc me and I'll give you a hand. -T -- "I once bought a cellphone that had a little sticker on the box that said 'DO NOT EAT PACKAGING MATERIAL'. There went another freebie snack at the office." - A.S.R. quote (Andreas "Buzh" Skau) From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 19:06:31 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3E76A16A402 for ; Tue, 6 Mar 2007 19:06:31 +0000 (UTC) (envelope-from bjoern.koenig@alpha-tierchen.de) Received: from mail.liberty-hosting.de (mail.smartterra.de [195.225.132.203]) by mx1.freebsd.org (Postfix) with ESMTP id EE30813C4B4 for ; Tue, 6 Mar 2007 19:06:30 +0000 (UTC) (envelope-from bjoern.koenig@alpha-tierchen.de) Received: from mail.liberty-hosting.de ([195.225.132.203]) by localhost (liberty-mail [195.225.132.203]) (amavisd-new, port 10024) with ESMTP id 33536-01; Tue, 6 Mar 2007 20:06:27 +0100 (CET) Received: from alpha-tierchen.de (port-212-202-170-218.dynamic.qsc.de [212.202.170.218]) by mail.liberty-hosting.de (Postfix) with ESMTP id DE56F15E556; Tue, 6 Mar 2007 20:06:26 +0100 (CET) Received: from [192.168.1.2] (muhkuh.lan [192.168.1.2]) by alpha-tierchen.de (Postfix) with ESMTP id 3BDDB508A7; Tue, 6 Mar 2007 20:06:24 +0100 (CET) Message-ID: <45EDBBB5.7090600@alpha-tierchen.de> Date: Tue, 06 Mar 2007 20:06:29 +0100 From: =?ISO-8859-1?Q?Bj=F6rn_K=F6nig?= User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Noah References: <45EDB82D.2040300@enabled.com> In-Reply-To: <45EDB82D.2040300@enabled.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at mail.smartterra.de Cc: User Questions Subject: Re: upgraded 6.2 and mysql lost all privileges X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 19:06:31 -0000 Noah schrieb: > Hi there, > > I just upgraded to 6.2 and now I do not see my mysql privileges. is > there an easy way to get them back in place. I thought they would > magically appear in the /var/db/mysql directory and stuff. > > Is there an easy way to recover these accounts or do I need to readd > them manually?? What privileges do you mean? Privileges for accessing the database or /var/db/mysql? What do you expect? What happens? More input (and output) please. Björn From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 19:21:20 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0235116A401 for ; Tue, 6 Mar 2007 19:21:20 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: from web62202.mail.re1.yahoo.com (web62202.mail.re1.yahoo.com [69.147.75.1]) by mx1.freebsd.org (Postfix) with SMTP id A992713C4A8 for ; Tue, 6 Mar 2007 19:21:19 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: (qmail 6020 invoked by uid 60001); 6 Mar 2007 19:21:19 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=TF0b3+rgGblWYj2HLFZl0ReRzxQo3mMl/BECzNq6OA9mlE7J7AIuv4WDCtNsaaq5PeNeB0yMnvQ6IpFCqv9V9tK4zZAjzXrkjlb/c40J+Z/qY3ZAE/zZBTaud/Tjpa44TI7z3cFs8urEDsSXW/umZ83AvgliMNPnF+kOtYJ/Ltc=; X-YMail-OSG: nMOXr9oVM1lFnkcQegO6tDV80OEqwcSUSZWsGtxobKDaraXSPvUGiveT.Y5Lc4NI2AhL2dJxCbuq.MzxT3etQBa8xnU2.uqWKbah1COtwj.kcY9rfWFU7Wm264jR1Y5R Received: from [67.46.93.3] by web62202.mail.re1.yahoo.com via HTTP; Tue, 06 Mar 2007 11:21:19 PST X-Mailer: YahooMailRC/468 YahooMailWebService/0.6.132.8 Date: Tue, 6 Mar 2007 11:21:19 -0800 (PST) From: Drew Jenkins To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <86221.5189.qm@web62202.mail.re1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 19:21:20 -0000 20Hi;=0AFor some reason, I need to run this:=0A=0Asetenv LD_LIBRARY_PATH /u= sr/local/lib/mysql/=0A=0Ato get my Zope instances up and running. I'm tryin= g to figure out how to automate that. I wrote a little script:=0A=0A#!/bin/= csh=0Asetenv LD_LIBRARY_PATH /usr/local/lib/mysql/=0A=0Aand put it here:=0A= =0A/usr/local/etc/rc.d/mysql_setenv=0Achmod +x /usr/local/etc/rc.d/mysql_se= tenv=0A=0AI can run that little script with no errors. However, it *doesn't= * set the environment!=0A=0A# echo $shell=0A# csh=0A=0AWhat gives?=0ATIA,= =0ADrew=0A=0A=0A=0A=0A =0A_________________________________________________= ___________________________________=0ALooking for earth-friendly autos? =0A= Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.=0Ahttp://a= utos.yahoo.com/green_center/ From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 19:24:47 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0EFF616A400 for ; Tue, 6 Mar 2007 19:24:47 +0000 (UTC) (envelope-from bill@ayn.mi.celestial.com) Received: from ayn.mi.celestial.com (hayek.celestial.com [192.136.111.12]) by mx1.freebsd.org (Postfix) with ESMTP id B236D13C474 for ; Tue, 6 Mar 2007 19:24:46 +0000 (UTC) (envelope-from bill@ayn.mi.celestial.com) Received: from localhost (localhost [127.0.0.1]) by ayn.mi.celestial.com (Postfix) with ESMTP id CD06A68942EA7; Tue, 6 Mar 2007 11:25:12 -0800 (PST) X-Virus-Scanned: amavisd-new at mi.celestial.com Received: from ayn.mi.celestial.com ([127.0.0.1]) by localhost (ayn.mi.celestial.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id hyVQ67FTFE8h; Tue, 6 Mar 2007 11:25:12 -0800 (PST) Received: by ayn.mi.celestial.com (Postfix, from userid 203) id B0EF9685FFE9F; Tue, 6 Mar 2007 11:25:12 -0800 (PST) Date: Tue, 6 Mar 2007 11:25:12 -0800 From: Bill Campbell To: freebsd-questions@freebsd.org Message-ID: <20070306192512.GA16296@ayn.mi.celestial.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <86221.5189.qm@web62202.mail.re1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86221.5189.qm@web62202.mail.re1.yahoo.com> User-Agent: Mutt/1.5.11 OpenPKG/2.5 Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@celestial.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 19:24:47 -0000 On Tue, Mar 06, 2007, Drew Jenkins wrote: >20Hi; >For some reason, I need to run this: > >setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ You can probably get around this by adding /usr/local/lib/mysql to the end of /etc/ld.so.conf then running ldconfig. Bill -- INTERNET: bill@Celestial.COM Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 Instead of giving money to found colleges to promote learning, why don't they pass a constitutional amendment prohibiting anybody from learning anything? If it works as good as the Prohibition one did, why, in five years we would have the smartest race of people on earth. -- The Best of Will Rogers From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 19:35:54 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 185C616A401 for ; Tue, 6 Mar 2007 19:35:54 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id DE18113C47E for ; Tue, 6 Mar 2007 19:35:53 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l26JX1nZ010553; Tue, 6 Mar 2007 14:33:01 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l26JX1Ee010552; Tue, 6 Mar 2007 14:33:01 -0500 (EST) (envelope-from jerrymc) Date: Tue, 6 Mar 2007 14:33:01 -0500 From: Jerry McAllister To: Drew Jenkins Message-ID: <20070306193301.GA10514@gizmo.acns.msu.edu> References: <86221.5189.qm@web62202.mail.re1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86221.5189.qm@web62202.mail.re1.yahoo.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 19:35:54 -0000 On Tue, Mar 06, 2007 at 11:21:19AM -0800, Drew Jenkins wrote: > 20Hi; > For some reason, I need to run this: > > setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ > > to get my Zope instances up and running. I'm trying to figure out how to > automate that. I wrote a little script: > > #!/bin/csh > setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ > > and put it here: > > /usr/local/etc/rc.d/mysql_setenv > chmod +x /usr/local/etc/rc.d/mysql_setenv > > I can run that little script with no errors. However, it *doesn't* set > the environment! > > # echo $shell > # csh > > What gives? I think does the setenv for the shell started for that script only. Once the script is finished, that goes away. You either need to put it in the script where you want to use the value or in your .cshrc file so it is in your main environment. ////jerry > TIA, > Drew > > > > > > ____________________________________________________________________________________ > Looking for earth-friendly autos? > Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center. > http://autos.yahoo.com/green_center/ > _______________________________________________ > 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 Mar 6 20:02:08 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C193016A400 for ; Tue, 6 Mar 2007 20:02:08 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id 7973C13C4A3 for ; Tue, 6 Mar 2007 20:02:07 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from archangel.daleco.biz ([69.27.149.254]) by ezekiel.daleco.biz (8.13.4/8.13.1) with ESMTP id l26K25Y7017609; Tue, 6 Mar 2007 14:02:06 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <45EDC8B7.1050909@daleco.biz> Date: Tue, 06 Mar 2007 14:01:59 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2pre) Gecko/20070221 SeaMonkey/1.1 MIME-Version: 1.0 To: Jerry McAllister References: <69af686f0703060819r557fea9cj22cd8c560f17e9a4@mail.gmail.com> <45EDABC0.2060306@daleco.biz> <20070306183951.GA9940@gizmo.acns.msu.edu> In-Reply-To: <20070306183951.GA9940@gizmo.acns.msu.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Joshua Kordani , freebsd-questions@freebsd.org Subject: Re: using sysinstall upgrade as a repair solution X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 20:02:08 -0000 Jerry McAllister wrote: > > The long ago origins of making things in many partitions was when > disks were much much smaller. So were backup media. It was common > to have each piece on a separate disk. Then disks got big enough > to put more than one part on and so on. > > Now, there are a couple of good reasons to still divide a disk in to > partitions. One is mentioned, sort of, above. You want to isolate > areas that may grow unexpectedly from critical disk space. So, /var > which contains logs and database stuff and spools gets its own partition > to keep it from over-filling root. /tmp and user home directory space > are also such disk areas whose growth might not be predictable. > > Another reason is for convenience with backups. You may want to > reduce the size of partitions that are being backed up, either to > fit media or to be more convenient. If only stuff in the partition > with users' home directories changes, then you only have to make > regular backups of that. The other parts you only backup when you > make a new install or whatever. Some things like /tmp you don't bother > to ever back up. It also can be less to have to restore if one > partition goes belly up, though that is less true nowdays when the users' > space (not necessarily /usr - that is an old convention. Now it is > common to use /home for users' home directories, since /usr really contains > installed software) may be by far the largest space on a system, depending > on how the system is used. > > Another reason to break things up is to have to load the least amount > possible when there are problems. You have to have / to boot in to > single user mode to work on things. But you don't have to have the > rest of the stuff. The smaller you make root the less likely some > disk problem will show up in the root partition, making it more likely > you can get at least some of the system up to work on the problem. > > The fourth reason to have separate partitions is to make it easier > to isolate things. You may want to make a certain amount of space > available for users to write in, but want to keep them out of other > space. There are various ways to do it. Having things grouped > conveniently in some defined area makes it a little easier. > What Jerry said ;-). Thanks for expressing what I couldn't OTTOMH. >> Incidentally, 150MB doesn't seem very large for a root partition IMHO. >> I've not read the handbook recently, but I generally use a gig for /. > > If you divide out /var and /usr and /tmp and /home, then 150 MB is > plenty for root. I am currently using about 120 MB on this machine > which is due a good cleanup. I only partition /, /var/, and /usr/, so /tmp stays in the root slice; I make mention of this fact (150M being small) because of the previously-mentioned case in which installworld puked because / was full (this *was* with a separate /tmp) and there was nothing really there except default stuff (had been a DesktopBSD system, maybe someone with more experience there could comment). The box was going from 5.3 under an (older) DesktopBSD test install to FBSD 6.2; I worked 'round the issue by moving /stand, but ended up re-installing 6.2 from CD to give a slightly more junior guy more experience with sysinstall (AAMOF I've made him do it on two boxen today, heh heh heh).... Kevin Kinsey -- Life is what happens to you while you're busy making other plans. -- John Lennon, Beautiful Boy From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 20:05:13 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2DCA016A4A1 for ; Tue, 6 Mar 2007 20:05:13 +0000 (UTC) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (mail.shire.net [166.70.252.250]) by mx1.freebsd.org (Postfix) with ESMTP id 15FA613C4B2 for ; Tue, 6 Mar 2007 20:05:13 +0000 (UTC) (envelope-from chad@shire.net) Received: from [67.171.127.191] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.51) id 1HOfuK-000Nci-F0 for freebsd-questions@freebsd.org; Tue, 06 Mar 2007 13:05:12 -0700 Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: "Chad Leigh -- Shire.Net LLC" Date: Tue, 6 Mar 2007 13:05:11 -0700 To: User Questions X-Mailer: Apple Mail (2.752.2) X-SA-Exim-Connect-IP: 67.171.127.191 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false Subject: Re: started getting repeated "bge0: PHY read timed out" messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 20:05:13 -0000 On Mar 6, 2007, at 9:20 AM, Chad Leigh -- Shire.Net LLC wrote: > Hi > > After running fine for a while, my new server running 6.2-RELEASE > with latest security patches as of last Thursday or Friday started > giving the message > > bge0: PHY read timed out > > and I found the following in the system log ok, it started happening again after about 1.5 hours after the last reboot. bge0 started going down and up a few times over about an hour, and then the read timedout messages started up again. Previous to the very first time that this started, the server had run for about 4 days since it was newly installed. Mar 6 09:09:23 server su: chad to root on /dev/ttyp0 Mar 6 10:26:29 server kernel: bge0: link state changed to DOWN Mar 6 10:26:31 server kernel: bge0: link state changed to UP Mar 6 10:42:33 server kernel: bge0: link state changed to DOWN Mar 6 10:42:35 server kernel: bge0: link state changed to UP Mar 6 11:31:19 server kernel: bge0: PHY read timed out Mar 6 11:31:19 server last message repeated 3 times Mar 6 11:31:19 server kernel: bge0: link state changed to DOWN Mar 6 11:31:21 server kernel: bge0: PHY read timed out Mar 6 11:31:52 server last message repeated 116 times Mar 6 11:33:53 server last message repeated 488 times Mar 6 11:43:54 server last message repeated 2356 times Mar 6 11:53:56 server last message repeated 2372 times Mar 6 12:03:57 server last message repeated 2368 times Mar 6 12:09:53 server last message repeated 1399 times Mar 6 12:09:53 server kernel: bge0: watchdog timeout -- resetting Mar 6 12:09:53 server kernel: bge0: PHY read timed out Mar 6 12:09:53 server last message repeated 4 times Mar 6 12:09:53 server kernel: bge0: RX CPU self-diagnostics failed! Mar 6 12:09:53 server kernel: bge0: flow-through queue init failed Mar 6 12:09:53 server kernel: bge0: initialization failure Mar 6 12:09:54 server kernel: bge0: PHY read timed out Mar 6 12:10:25 server last message repeated 152 times Mar 6 12:12:27 server last message repeated 616 times Mar 6 12:22:29 server last message repeated 2540 times Mar 6 12:32:30 server last message repeated 2452 times Mar 6 12:42:31 server last message repeated 2524 times Mar 6 12:46:27 server last message repeated 1127 times Mar 6 12:46:27 server login: ROOT LOGIN (root) ON ttyv0 Mar 6 12:46:29 server kernel: bge0: PHY read timed out Mar 6 12:46:41 server last message repeated 107 times Mar 6 12:46:40 server reboot: rebooted by root here is an ifconfig bge0: flags=8843 mtu 1500 options=1b inet 166.70.252.128 netmask 0xffffff00 broadcast 166.70.252.255 inet 166.70.252.120 netmask 0xffffffff broadcast 166.70.252.120 inet 166.70.252.199 netmask 0xffffffff broadcast 166.70.252.199 ether 00:e0:81:61:e9:a0 media: Ethernet autoselect (1000baseTX ) status: active and uname # uname -a FreeBSD server.shire.net 6.2-RELEASE-p2 FreeBSD 6.2-RELEASE-p2 #1: Sat Mar 3 13:11:00 UTC 2007 chad@server.shire.net:/usr/obj/usr/ src/sys/server i386 # It is a TYAN S2850 single opteron system with 2.4ghz single core opteron. Its dmesg ID is seen below in the quoted section. I had another machine with this same MB that ran for a long time fine until I upgraded it to 6.0 or 6.1 last Fall and then I started to have the same problem (a post about it is in the archives). I assumed it was a HW issue and turned off the port in the BIOS and used the other port until I took the machine offline as the customer using it no longer needed it. Now this machine is having the same symptoms and I remember reading in the lists something about PHY and bge and some driver problems a while back but cannot fnd it now in the archives. Could this be a SW problem or is it a HW issue? Could it be related to the port it is connected to or the cable or something? The other machine that had this problem was on a different switch brand. Thanks Chad > > > This appears to be a HW problem at first look. But when the server > boots, it works fine for a while (hours, days??) > > Here is the id in the boot message > > Mar 6 09:01:21 server kernel: bge0: rev. 0x3003> mem 0xfeab0000-0xfeabffff irq 16 at device 14.0 on pci1 > Mar 6 09:01:21 server kernel: miibus0: on bge0 > Mar 6 09:01:21 server kernel: brgphy0: PHY> on miibus0 > Mar 6 09:01:21 server kernel: brgphy0: 10baseT, 10baseT-FDX, > 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto > Mar 6 09:01:21 server kernel: bge0: Ethernet address: > 00:e0:81:61:e9:a0 > > Is this some sort of SW driver issue or is it a HW issue at first > glance? I remember kind of reading about some BGE issues a while > back. > > Thanks > Chad > --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 20:16:51 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 89CA816A407 for ; Tue, 6 Mar 2007 20:16:51 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.freebsd.org (Postfix) with ESMTP id 775B813C4AC for ; Tue, 6 Mar 2007 20:16:51 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from [172.23.10.40] (nat-service4.juniper.net [66.129.225.151]) (authenticated bits=0) by typhoon.enabled.com (8.14.0/8.14.0) with ESMTP id l26KFncT048189 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 6 Mar 2007 12:15:50 -0800 (PST) (envelope-from admin2@enabled.com) Message-ID: <45EDCBF6.6040704@enabled.com> Date: Tue, 06 Mar 2007 12:15:50 -0800 From: Noah User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Bj=F6rn_K=F6nig?= References: <45EDB82D.2040300@enabled.com> <45EDBBB5.7090600@alpha-tierchen.de> In-Reply-To: <45EDBBB5.7090600@alpha-tierchen.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Cc: User Questions Subject: Re: upgraded 6.2 and mysql lost all privileges X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 20:16:51 -0000 the user accounts are gone. where does that information reside? I dont = know how else to say or ask that question. Cheers, Noah Bj=F6rn K=F6nig wrote: > Noah schrieb: >> Hi there, >> >> I just upgraded to 6.2 and now I do not see my mysql privileges. is=20 >> there an easy way to get them back in place. I thought they would=20 >> magically appear in the /var/db/mysql directory and stuff. >> >> Is there an easy way to recover these accounts or do I need to readd=20 >> them manually?? >=20 > What privileges do you mean? Privileges for accessing the database or=20 > /var/db/mysql? What do you expect? What happens? More input (and output= )=20 > please. >=20 > Bj=F6rn From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 20:48:14 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 73F4016A401 for ; Tue, 6 Mar 2007 20:48:14 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 2AB0E13C4A5 for ; Tue, 6 Mar 2007 20:48:14 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l26KjKu1011060; Tue, 6 Mar 2007 15:45:20 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l26KjKwm011059; Tue, 6 Mar 2007 15:45:20 -0500 (EST) (envelope-from jerrymc) Date: Tue, 6 Mar 2007 15:45:20 -0500 From: Jerry McAllister To: Kevin Kinsey Message-ID: <20070306204520.GA11027@gizmo.acns.msu.edu> References: <69af686f0703060819r557fea9cj22cd8c560f17e9a4@mail.gmail.com> <45EDABC0.2060306@daleco.biz> <20070306183951.GA9940@gizmo.acns.msu.edu> <45EDC8B7.1050909@daleco.biz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45EDC8B7.1050909@daleco.biz> User-Agent: Mutt/1.4.2.2i Cc: Joshua Kordani , freebsd-questions@freebsd.org Subject: Re: using sysinstall upgrade as a repair solution X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 20:48:14 -0000 > >The fourth reason to have separate partitions is to make it easier > >to isolate things. You may want to make a certain amount of space > >available for users to write in, but want to keep them out of other > >space. There are various ways to do it. Having things grouped > >conveniently in some defined area makes it a little easier. > > > > What Jerry said ;-). Thanks for expressing what I couldn't OTTOMH. > > >>Incidentally, 150MB doesn't seem very large for a root partition IMHO. > >>I've not read the handbook recently, but I generally use a gig for /. > > > >If you divide out /var and /usr and /tmp and /home, then 150 MB is > >plenty for root. I am currently using about 120 MB on this machine > >which is due a good cleanup. > > I only partition /, /var/, and /usr/, so /tmp stays in the root slice; I > make mention of this fact (150M being small) because of the > previously-mentioned case in which installworld puked because / was full > (this *was* with a separate /tmp) and there was nothing really there > except default stuff (had been a DesktopBSD system, maybe someone with > more experience there could comment). The box was going from 5.3 under > an (older) DesktopBSD test install to FBSD 6.2; I worked 'round the > issue by moving /stand, but ended up re-installing 6.2 from CD to give a > slightly more junior guy more experience with sysinstall (AAMOF I've > made him do it on two boxen today, heh heh heh).... Hmmm. /tmp is definitely one thing I would take out of / and put in its own partition - or at least in some other big scratch space. It can easily get filled with stuff which then goes away. But if it overfills /, it can bring the system to its knees. If it overfills its own system, it can make things slow to a standstill, but usually you can still get in with root and nuke enough to continue and at least shut things down gracefully. ////jerry > > Kevin Kinsey > -- > Life is what happens to you while you're busy making other plans. > -- John Lennon, Beautiful Boy From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 21:00:10 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 32BAB16A403 for ; Tue, 6 Mar 2007 21:00:10 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (www.unsane.co.uk [85.233.185.162]) by mx1.freebsd.org (Postfix) with ESMTP id 9ADE013C428 for ; Tue, 6 Mar 2007 21:00:09 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from [10.0.0.173] ([10.0.0.173]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.13.8) with ESMTP id l26Kwmig093593 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 6 Mar 2007 20:58:48 GMT (envelope-from jhary@unsane.co.uk) Message-ID: <45EDD60B.2020006@unsane.co.uk> Date: Tue, 06 Mar 2007 20:58:51 +0000 From: Vince Hoffman User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Noah References: <45EDB82D.2040300@enabled.com> <45EDBBB5.7090600@alpha-tierchen.de> <45EDCBF6.6040704@enabled.com> In-Reply-To: <45EDCBF6.6040704@enabled.com> X-Enigmail-Version: 0.94.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: =?ISO-8859-1?Q?Bj=F6rn_K=F6nig?= , User Questions Subject: Re: upgraded 6.2 and mysql lost all privileges X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 21:00:10 -0000 user accounts are held in /etc/passwd the default UIDs created by ports are listed in /usr/ports/UIDs including mysql mysql:*:88:88:MySQL Daemon:/var/db/mysql:/sbin/nologin you can either re-add it using pw or just paste the line in using vipw Vince Noah wrote: > the user accounts are gone. where does that information reside? I dont > know how else to say or ask that question. > > Cheers, > > Noah > > > Björn König wrote: >> Noah schrieb: >>> Hi there, >>> >>> I just upgraded to 6.2 and now I do not see my mysql privileges. is >>> there an easy way to get them back in place. I thought they would >>> magically appear in the /var/db/mysql directory and stuff. >>> >>> Is there an easy way to recover these accounts or do I need to readd >>> them manually?? >> >> What privileges do you mean? Privileges for accessing the database or >> /var/db/mysql? What do you expect? What happens? More input (and >> output) please. >> >> Björn > > _______________________________________________ > 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 Mar 6 21:11:38 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 550A016A403 for ; Tue, 6 Mar 2007 21:11:38 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: from web62201.mail.re1.yahoo.com (web62201.mail.re1.yahoo.com [69.147.74.254]) by mx1.freebsd.org (Postfix) with SMTP id 02C6113C4A6 for ; Tue, 6 Mar 2007 21:11:37 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: (qmail 4589 invoked by uid 60001); 6 Mar 2007 21:11:37 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=M5Po6/ujtEHOn0tiuxQAxhJBjgMvFMQPmEmiOhQyMlPPoNUD0Z92U2634EaRVb8+jkn75roa/ZUuH1ccnGpEQJ4P+hGAdK5GmrLW3NmG5cOnOrGi88UlNmAJwCS5xps/OcwbyI7AZMIF4i93cbhNYLQxhhdlJghkMeX0mOa6LEw=; X-YMail-OSG: gStEYhIVM1lA.bGhZF_73E5eHgOW26qc_dt8A8lt35HARqnF9aHZrxETUXK0kEBi052HqveXDTkB_jLL2u5J3b_9rwfX6CrE8f0q_0R.ZEIVji.oTBnk3QDf9qIKKqId Received: from [67.46.93.3] by web62201.mail.re1.yahoo.com via HTTP; Tue, 06 Mar 2007 13:11:37 PST X-Mailer: YahooMailRC/468 YahooMailWebService/0.6.132.8 Date: Tue, 6 Mar 2007 13:11:37 -0800 (PST) From: Drew Jenkins To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <333952.4302.qm@web62201.mail.re1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 21:11:38 -0000 Bill Campbell wrote:=0A=0A<< that I should edit said line into /etc/ld.so.c= onf >>=0A=0AUnfortunately there is no such file on my system.=0A=0A----- Or= iginal Message ----=0AFrom: Jerry McAllister =0ATo: Drew J= enkins =0ACc: freebsd-questions@freebsd.org=0ASent= : Tuesday, March 6, 2007 3:33:01 PM=0ASubject: Re: Setting Env=0A=0A>I thin= k does the setenv for the shell started for that script only.=0A>Once the s= cript is finished, that goes away. You either need to =0A>put it in the s= cript where you want to use the value or in your .cshrc =0A>file so it is i= n your main environment.=0A=0AI tried adding its bash variant to /usr/local= /etc/rc.d/mysql-server but that didn't work. As far as adding it to my shel= l, that won't run the script when the server reboots, only when I log in, r= ight? That's not an option. =0A=0AAny other ideas?=0ATIA,=0ADrew=0A////jerr= y=0A=0A> TIA,=0A> Drew=0A> =0A> =0A> =0A> =0A> =0A> ______________________= ______________________________________________________________=0A> Looking = for earth-friendly autos? =0A> Browse Top Cars by "Green Rating" at Yahoo! = Autos' Green Center.=0A> http://autos.yahoo.com/green_center/=0A> _________= ______________________________________=0A> freebsd-questions@freebsd.org ma= iling list=0A> http://lists.freebsd.org/mailman/listinfo/freebsd-questions= =0A> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebs= d.org"=0A> =0A_______________________________________________=0Afreebsd-que= stions@freebsd.org mailing list=0Ahttp://lists.freebsd.org/mailman/listinfo= /freebsd-questions=0ATo unsubscribe, send any mail to "freebsd-questions-un= subscribe@freebsd.org"=0A=0A=0A=0A=0A=0A=0A=0A =0A_________________________= ___________________________________________________________=0ADon't get soa= ked. Take a quick peek at the forecast=0Awith the Yahoo! Search weather sh= ortcut.=0Ahttp://tools.search.yahoo.com/shortcuts/#loc_weather From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 21:44:45 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2019C16A404 for ; Tue, 6 Mar 2007 21:44:45 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.freebsd.org (Postfix) with ESMTP id 0D34B13C47E for ; Tue, 6 Mar 2007 21:44:44 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from [172.23.10.40] (nat-service4.juniper.net [66.129.225.151]) (authenticated bits=0) by typhoon.enabled.com (8.14.0/8.14.0) with ESMTP id l26LhfTA060755 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 6 Mar 2007 13:43:41 -0800 (PST) (envelope-from admin2@enabled.com) Message-ID: <45EDE08F.3080707@enabled.com> Date: Tue, 06 Mar 2007 13:43:43 -0800 From: Noah User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: Vince Hoffman References: <45EDB82D.2040300@enabled.com> <45EDBBB5.7090600@alpha-tierchen.de> <45EDCBF6.6040704@enabled.com> <45EDD60B.2020006@unsane.co.uk> In-Reply-To: <45EDD60B.2020006@unsane.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Cc: =?ISO-8859-1?Q?Bj=F6rn_K=F6nig?= , User Questions Subject: Re: upgraded 6.2 and mysql lost all privileges X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 21:44:45 -0000 thanks Vince, yeah - I have about 15 other user accounts specific to my mysql=20 installation that were not in the /etc/passwd file. where were those=20 stored? Cheers, Noah Vince Hoffman wrote: > user accounts are held in /etc/passwd >=20 > the default UIDs created by ports are listed in > /usr/ports/UIDs > including mysql > mysql:*:88:88:MySQL Daemon:/var/db/mysql:/sbin/nologin > you can either re-add it using pw or just paste the line in using vipw >=20 > Vince >=20 > Noah wrote: >> the user accounts are gone. where does that information reside? I do= nt >> know how else to say or ask that question. >> >> Cheers, >> >> Noah >> >> >> Bj=F6rn K=F6nig wrote: >>> Noah schrieb: >>>> Hi there, >>>> >>>> I just upgraded to 6.2 and now I do not see my mysql privileges. is= >>>> there an easy way to get them back in place. I thought they would >>>> magically appear in the /var/db/mysql directory and stuff. >>>> >>>> Is there an easy way to recover these accounts or do I need to readd= >>>> them manually?? >>> What privileges do you mean? Privileges for accessing the database or= >>> /var/db/mysql? What do you expect? What happens? More input (and >>> output) please. >>> >>> Bj=F6rn >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd= =2Eorg" From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 21:45:23 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1818B16A403 for ; Tue, 6 Mar 2007 21:45:22 +0000 (UTC) (envelope-from eoghanj@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.240]) by mx1.freebsd.org (Postfix) with ESMTP id 8F36F13C4A7 for ; Tue, 6 Mar 2007 21:45:22 +0000 (UTC) (envelope-from eoghanj@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so1777630ana for ; Tue, 06 Mar 2007 13:45:21 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=puEV8vSopwK2L/7Rkt6fWc9ZGB5auqodW63+xtQeI8tfnsA6jJxWW+0PHO6dqhqsKRU//EdDa5+XZ1F46QxIKFXHcfgmzXkJ3PBK5iKyvHEw0UMK4+CYeCUlzrNHFNdJ86CdSHgR09OQoMFNuhHR+umAeZoSwbUQLm1nQ++CLkk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=s3038qKOb+9E6927uIfVUVp3GL6/8TFrIQSEzA/1ycV1D9BMyRSv9Gh5CyYpxv6FlHGt93twnQi31JoHgG56+RuWl2VUSNPMhBzMDXb9EANMx9vALmNx5Oq47eSH7r5LS0iZfTdqRCatyrRbzIavIxq2u1xPnq+z9dmm9ygIJQY= Received: by 10.114.89.1 with SMTP id m1mr1891082wab.1173217521413; Tue, 06 Mar 2007 13:45:21 -0800 (PST) Received: by 10.115.47.19 with HTTP; Tue, 6 Mar 2007 13:45:21 -0800 (PST) Message-ID: <9888aa630703061345n2994c964m85b2148f170ffc3e@mail.gmail.com> Date: Tue, 6 Mar 2007 21:45:21 +0000 From: eoghan To: Vizion In-Reply-To: <20070306163254.WETL2045.dukecmmtao03.coxmail.com@dukecmmtao03> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070306163254.WETL2045.dukecmmtao03.coxmail.com@dukecmmtao03> Cc: freebsd-questions@freebsd.org Subject: Re: apache problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 21:45:23 -0000 On 3/6/07, Vizion wrote: > > > > -----Original Message----- > > From: eoghan [mailto:eoghanj@gmail.com] > > Sent: Tuesday, March 06, 2007 8:28 AM > > To: Vizion > > Cc: freebsd-questions@freebsd.org; eoghanj@gmail.com > > Subject: Re: apache problem > > > > On Tue, 6 Mar 2007 8:25:09 -0800 > > Vizion wrote: > > > > > > -----Original Message----- > > > > From: owner-freebsd-questions@freebsd.org > > > > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of eoghan > > > > Sent: Tuesday, March 06, 2007 5:50 AM > > > > To: freebsd > > > > Subject: apache problem > > > > > > > > Hi > > > > I am running apache 2.2.4 on FreeBSD 6.1. This is a recent > > > > upgrade from ports (in the past few days or so). Since then I > > > > cant browse to localhost. Just get an unable to connect > > > > message. The server seems to start with: > > > > $sudo apachectl start > > > > If I try it again I see its already running. > > > > My error log shows: > > > > [Mon Mar 05 11:20:00 2007] [notice] Apache/2.2.4 (FreeBSD) > > > > mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.1 with Suhosin-Patch > > > > configured -- resuming normal operations > > > > [Mon Mar 05 11:20:22 2007] [notice] caught SIGTERM, shutting down > > > > > > > > I have tried the apache list but no real answers, and apache > > > > was working fine for me before I upgraded. Has anyone else > > > > noticed this since an upgrade to the 2.2.4 version from ports? > > > > > > > > Thanks > > > > Eoghan > > > > > > I had the same problem. Here is how I fixed it: > > > #apachectl stop > > > # cd /usr/ports/www/apache22 > > > #make clean > > > # make deinstall > > > # rm ./* > > > Then do a cvsup ports all > > > now once more > > > #cd /usr/ports/www/apache22 > > > # make (it will use your stored config) > > > #make install > > > #make clean > > > #apachectl start > > > > Hi > > Gret, thanks for that, I will give this a go. > > Regards > > Eoghan > > > all the best > please let me know if it works 4U > -- I have made a posting on ports@freebsd.org -- so the maintainer knows aboutthe problem. If this also works for you it should not be too difficult for someone to fix the port. > David Hi I have tried this and i still cant get it working. Also tried syntax check and its checks out OK, as someone else suggested to do... any further suggestions? Thanks Eoghan From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 21:50:55 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D5F7E16A402 for ; Tue, 6 Mar 2007 21:50:55 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id 9556D13C4B5 for ; Tue, 6 Mar 2007 21:50:45 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan@localhost [127.0.0.1]) by dan.emsphone.com (8.14.0/8.13.8) with ESMTP id l26Lodx4096003 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 6 Mar 2007 15:50:39 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.0/8.14.0/Submit) id l26LodGP096001; Tue, 6 Mar 2007 15:50:39 -0600 (CST) (envelope-from dan) Date: Tue, 6 Mar 2007 15:50:39 -0600 From: Dan Nelson To: Noah Message-ID: <20070306215038.GH86959@dan.emsphone.com> References: <45EDB82D.2040300@enabled.com> <45EDBBB5.7090600@alpha-tierchen.de> <45EDCBF6.6040704@enabled.com> <45EDD60B.2020006@unsane.co.uk> <45EDE08F.3080707@enabled.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45EDE08F.3080707@enabled.com> X-OS: FreeBSD 6.2-STABLE User-Agent: Mutt/1.5.14 (2007-02-12) Cc: Vince Hoffman , =?utf-8?B?QmrDtnJuIEvDtm5pZw==?= , User Questions Subject: Re: upgraded 6.2 and mysql lost all privileges X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 21:50:56 -0000 In the last episode (Mar 06), Noah said: > yeah - I have about 15 other user accounts specific to my mysql > installation that were not in the /etc/passwd file. where were those > stored? If you're just talking about mysql users, those are in /var/db/mysql/mysql/user.* . An OS upgrade shouldn't have touched them at all. Unless you reformatted /var or something :) -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 21:51:58 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1A57016A404 for ; Tue, 6 Mar 2007 21:51:58 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: from web62209.mail.re1.yahoo.com (web62209.mail.re1.yahoo.com [69.147.75.8]) by mx1.freebsd.org (Postfix) with SMTP id B5D4513C4BE for ; Tue, 6 Mar 2007 21:51:57 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: (qmail 80808 invoked by uid 60001); 6 Mar 2007 21:51:57 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=Trr88gxQEV8Vws1/9pH4u+8AYrf3YEj02L2fj+M7AeuuahuPseRgPJlvWQCT9f/RzXVzKojG+Z6MCXhhsyMK/UsOfzVMzZPx+aL9swGU1+vwyhOmAcnKbT/EqP0BB5Ujt+DDXw1utx27hLMxdLJk97f0cIX+ZGgD0xYwpFzaGmo=; X-YMail-OSG: oUUk3O0VM1k3BF2POb_nhe7_AP2qXdAGuHnyUsJaUOXbXw.ENBwd57leW6Iy0DxBem2C0JpKeQ.7pDA9fvfb1l3x3r4O9BjGTp4Chmm9gi4pE5EuPxtZ6iLCDqzs9NdelfCv Received: from [67.46.93.3] by web62209.mail.re1.yahoo.com via HTTP; Tue, 06 Mar 2007 13:51:57 PST X-Mailer: YahooMailRC/468 YahooMailWebService/0.6.132.8 Date: Tue, 6 Mar 2007 13:51:57 -0800 (PST) From: Drew Jenkins To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <232207.80668.qm@web62209.mail.re1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: MySQL Startup Script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 21:51:58 -0000 ----- Original Message ----=0AFrom: Jeremy Chadwick =0A= To: Drew Jenkins =0ACc: freebsd-ports@freebsd.org= =0ASent: Tuesday, March 6, 2007 5:33:11 PM=0ASubject: Re: MySQL Startup Scr= ipt=0A=0A>This isn't a good idea. ldconfig is supposed to take care of thi= s for you.=0A>Can you provide the output from "ldconfig -r"?=0A=0A# ldconfi= g -r=0A/var/run/ld-elf.so.hints:=0A search directories: /lib:/usr/li= b:/usr/lib/compat:/usr/X11R6/lib:/usr/local/lib=0A 0:-lcrypt.3 =3D> = /lib/libcrypt.so.3=0A 1:-lkvm.3 =3D> /lib/libkvm.so.3=0A 2:-l= m.4 =3D> /lib/libm.so.4=0A 3:-lmd.3 =3D> /lib/libmd.so.3=0A 4= :-lncurses.6 =3D> /lib/libncurses.so.6=0A 5:-lsbuf.3 =3D> /lib/libsb= uf.so.3=0A 6:-lutil.5 =3D> /lib/libutil.so.5=0A 7:-lalias.5 = =3D> /lib/libalias.so.5=0A 8:-latm.3 =3D> /lib/libatm.so.3=0A = 9:-lbegemot.2 =3D> /lib/libbegemot.so.2=0A 10:-lbsnmp.3 =3D> /lib/l= ibbsnmp.so.3=0A 11:-lc.6 =3D> /lib/libc.so.6=0A 12:-lcam.3 = =3D> /lib/libcam.so.3=0A 13:-ldevstat.5 =3D> /lib/libdevstat.so.5=0A= 14:-ledit.5 =3D> /lib/libedit.so.5=0A 15:-lbsdxml.2 =3D> /li= b/libbsdxml.so.2=0A 16:-lgeom.3 =3D> /lib/libgeom.so.3=0A 17:= -lgpib.1 =3D> /lib/libgpib.so.1=0A 18:-lipsec.2 =3D> /lib/libipsec.s= o.2=0A 19:-lipx.3 =3D> /lib/libipx.so.3=0A 20:-lufs.3 =3D> /l= ib/libufs.so.3=0A 21:-lkiconv.2 =3D> /lib/libkiconv.so.2=0A 2= 2:-lpcap.4 =3D> /lib/libpcap.so.4=0A 23:-lpthread.2 =3D> /lib/libpth= read.so.2=0A 24:-lz.3 =3D> /lib/libz.so.3=0A 25:-lreadline.6 = =3D> /lib/libreadline.so.6=0A 26:-lcrypto.4 =3D> /lib/libcrypto.so.4= =0A 27:-lbsm.1 =3D> /usr/lib/libbsm.so.1=0A 28:-lcom_err.3 = =3D> /usr/lib/libcom_err.so.3=0A 29:-lnetgraph.2 =3D> /usr/lib/libne= tgraph.so.2=0A 30:-lradius.2 =3D> /usr/lib/libradius.so.2=0A = 31:-lrpcsvc.3 =3D> /usr/lib/librpcsvc.so.3=0A 32:-ltacplus.2 =3D> /u= sr/lib/libtacplus.so.2=0A 33:-lypclnt.2 =3D> /usr/lib/libypclnt.so.2= =0A 34:-larchive.2 =3D> /usr/lib/libarchive.so.2=0A 35:-lblue= tooth.2 =3D> /usr/lib/libbluetooth.so.2=0A 36:-lbz2.2 =3D> /usr/lib/= libbz2.so.2=0A 37:-lc_r.6 =3D> /usr/lib/libc_r.so.6=0A 38:-lc= alendar.3 =3D> /usr/lib/libcalendar.so.3=0A 39:-ldevinfo.3 =3D> /usr= /lib/libdevinfo.so.3=0A 40:-lfetch.4 =3D> /usr/lib/libfetch.so.4=0A = 41:-lform.3 =3D> /usr/lib/libform.so.3=0A 42:-lftpio.6 =3D> /= usr/lib/libftpio.so.6=0A 43:-lmagic.2 =3D> /usr/lib/libmagic.so.2=0A= 44:-lmemstat.1 =3D> /usr/lib/libmemstat.so.1=0A 45:-lmenu.3 = =3D> /usr/lib/libmenu.so.3=0A 46:-lmilter.3 =3D> /usr/lib/libmilter.= so.3=0A 47:-lmp.5 =3D> /usr/lib/libmp.so.5=0A 48:-lncp.2 =3D>= /usr/lib/libncp.so.2=0A 49:-lngatm.2 =3D> /usr/lib/libngatm.so.2=0A= 50:-lopie.4 =3D> /usr/lib/libopie.so.4=0A 51:-lpam.3 =3D> /u= sr/lib/libpam.so.3=0A 52:-lpanel.3 =3D> /usr/lib/libpanel.so.3=0A = 53:-lpmc.3 =3D> /usr/lib/libpmc.so.3=0A 54:-lsdp.2 =3D> /usr/li= b/libsdp.so.2=0A 55:-lsmb.2 =3D> /usr/lib/libsmb.so.2=0A 56:-= lthr.2 =3D> /usr/lib/libthr.so.2=0A 57:-lthread_db.2 =3D> /usr/lib/l= ibthread_db.so.2=0A 58:-lugidfw.2 =3D> /usr/lib/libugidfw.so.2=0A = 59:-lusbhid.2 =3D> /usr/lib/libusbhid.so.2=0A 60:-lvgl.4 =3D> /= usr/lib/libvgl.so.4=0A 61:-lwrap.4 =3D> /usr/lib/libwrap.so.4=0A = 62:-llwres.10 =3D> /usr/lib/liblwres.so.10=0A 63:-ldialog.5 =3D>= /usr/lib/libdialog.so.5=0A 64:-lgnuregex.3 =3D> /usr/lib/libgnurege= x.so.3=0A 65:-lhistory.6 =3D> /usr/lib/libhistory.so.6=0A 66:= -lstdc++.5 =3D> /usr/lib/libstdc++.so.5=0A 67:-lobjc.2 =3D> /usr/lib= /libobjc.so.2=0A 68:-lg2c.2 =3D> /usr/lib/libg2c.so.2=0A 69:-= lasn1.8 =3D> /usr/lib/libasn1.so.8=0A 70:-lgssapi.8 =3D> /usr/lib/li= bgssapi.so.8=0A 71:-lhdb.8 =3D> /usr/lib/libhdb.so.8=0A 72:-l= kadm5clnt.8 =3D> /usr/lib/libkadm5clnt.so.8=0A 73:-lkadm5srv.8 =3D> = /usr/lib/libkadm5srv.so.8=0A 74:-lkafs5.8 =3D> /usr/lib/libkafs5.so.= 8=0A 75:-lkrb5.8 =3D> /usr/lib/libkrb5.so.8=0A 76:-lroken.8 = =3D> /usr/lib/libroken.so.8=0A 77:-lssl.4 =3D> /usr/lib/libssl.so.4= =0A 78:-lssh.3 =3D> /usr/lib/libssh.so.3=0A 79:-lfontconfig.1= =3D> /usr/X11R6/lib/libfontconfig.so.1=0A 80:-lXau.0 =3D> /usr/X11R= 6/lib/libXau.so.0=0A 81:-lXdmcp.0 =3D> /usr/X11R6/lib/libXdmcp.so.0= =0A 82:-lX11.6 =3D> /usr/X11R6/lib/libX11.so.6=0A 83:-loldX.6= =3D> /usr/X11R6/lib/liboldX.so.6=0A 84:-lICE.6 =3D> /usr/X11R6/lib/= libICE.so.6=0A 85:-lSM.6 =3D> /usr/X11R6/lib/libSM.so.6=0A 86= :-lXext.6 =3D> /usr/X11R6/lib/libXext.so.6=0A 87:-lXt.6 =3D> /usr/X1= 1R6/lib/libXt.so.6=0A 88:-lXss.1 =3D> /usr/X11R6/lib/libXss.so.1=0A = 89:-lXxf86misc.1 =3D> /usr/X11R6/lib/libXxf86misc.so.1=0A 90:= -lXxf86vm.1 =3D> /usr/X11R6/lib/libXxf86vm.so.1=0A 91:-lXxf86dga.1 = =3D> /usr/X11R6/lib/libXxf86dga.so.1=0A 92:-lXmu.6 =3D> /usr/X11R6/l= ib/libXmu.so.6=0A 93:-lXmuu.1 =3D> /usr/X11R6/lib/libXmuu.so.1=0A = 94:-lXpm.4 =3D> /usr/X11R6/lib/libXpm.so.4=0A 95:-lXp.6 =3D> /u= sr/X11R6/lib/libXp.so.6=0A 96:-lXaw.6 =3D> /usr/X11R6/lib/libXaw.so.= 6=0A 97:-lXaw.7 =3D> /usr/X11R6/lib/libXaw.so.7=0A 98:-lXaw.8= =3D> /usr/X11R6/lib/libXaw.so.8=0A 99:-lXi.6 =3D> /usr/X11R6/lib/li= bXi.so.6=0A 100:-lXtst.6 =3D> /usr/X11R6/lib/libXtst.so.6=0A = 101:-lFS.6 =3D> /usr/X11R6/lib/libFS.so.6=0A 102:-lxkbfile.1 =3D> /u= sr/X11R6/lib/libxkbfile.so.1=0A 103:-lxkbui.1 =3D> /usr/X11R6/lib/li= bxkbui.so.1=0A 104:-lXv.1 =3D> /usr/X11R6/lib/libXv.so.1=0A 1= 05:-lGL.1 =3D> /usr/X11R6/lib/libGL.so.1=0A 106:-lOSMesa.4 =3D> /usr= /X11R6/lib/libOSMesa.so.4=0A 107:-lGLU.1 =3D> /usr/X11R6/lib/libGLU.= so.1=0A 108:-lGLw.1 =3D> /usr/X11R6/lib/libGLw.so.1=0A 109:-l= dps.1 =3D> /usr/X11R6/lib/libdps.so.1=0A 110:-lXinerama.1 =3D> /usr/= X11R6/lib/libXinerama.so.1=0A 111:-lXrender.1 =3D> /usr/X11R6/lib/li= bXrender.so.1=0A 112:-lXvMC.1 =3D> /usr/X11R6/lib/libXvMC.so.1=0A = 113:-lXrandr.2 =3D> /usr/X11R6/lib/libXrandr.so.2=0A 114:-lXTra= p.6 =3D> /usr/X11R6/lib/libXTrap.so.6=0A 115:-lXRes.1 =3D> /usr/X11R= 6/lib/libXRes.so.1=0A 116:-lXevie.1 =3D> /usr/X11R6/lib/libXevie.so.= 1=0A 117:-lXfixes.3 =3D> /usr/X11R6/lib/libXfixes.so.3=0A 118= :-lXdamage.1 =3D> /usr/X11R6/lib/libXdamage.so.1=0A 119:-lXcursor.1 = =3D> /usr/X11R6/lib/libXcursor.so.1=0A 120:-lXcomposite.1 =3D> /usr/= X11R6/lib/libXcomposite.so.1=0A 121:-lXfont.1 =3D> /usr/X11R6/lib/li= bXfont.so.1=0A 122:-lfontenc.1 =3D> /usr/X11R6/lib/libfontenc.so.1= =0A 123:-lpython2.4.1 =3D> /usr/local/lib/libpython2.4.so.1=0A = 124:-lpython2.3.1 =3D> /usr/local/lib/libpython2.3.so.1=0A 125:-lt= k84.1 =3D> /usr/local/lib/libtk84.so.1=0A 126:-ljpeg.9 =3D> /usr/loc= al/lib/libjpeg.so.9=0A 127:-lcharset.1 =3D> /usr/local/lib/libcharse= t.so.1=0A 128:-liconv.3 =3D> /usr/local/lib/libiconv.so.3=0A = 129:-lintl.6 =3D> /usr/local/lib/libintl.so.6=0A 130:-lasprintf.0 = =3D> /usr/local/lib/libasprintf.so.0=0A 131:-lgettextpo.1 =3D> /usr/= local/lib/libgettextpo.so.1=0A 132:-lpcre.0 =3D> /usr/local/lib/libp= cre.so.0=0A 133:-lpcreposix.0 =3D> /usr/local/lib/libpcreposix.so.0= =0A 134:-lpcrecpp.0 =3D> /usr/local/lib/libpcrecpp.so.0=0A 13= 5:-ldb-4.2.2 =3D> /usr/local/lib/libdb-4.2.so.2=0A 136:-ldb_cxx-4.2.= 2 =3D> /usr/local/lib/libdb_cxx-4.2.so.2=0A 137:-lsasl2.2 =3D> /usr/= local/lib/libsasl2.so.2=0A 138:-llber-2.4.1 =3D> /usr/local/lib/libl= ber-2.4.so.1=0A 139:-lldap-2.4.1 =3D> /usr/local/lib/libldap-2.4.so.= 1=0A 140:-lldap_r-2.4.1 =3D> /usr/local/lib/libldap_r-2.4.so.1=0A = 141:-lltdl.4 =3D> /usr/local/lib/libltdl.so.4=0A 142:-ldrm.2 = =3D> /usr/local/lib/libdrm.so.2=0A 143:-lfreetype.9 =3D> /usr/local/= lib/libfreetype.so.9=0A 144:-lexpat.6 =3D> /usr/local/lib/libexpat.s= o.6=0A 145:-lsqlite3.8 =3D> /usr/local/lib/libsqlite3.so.8=0A = 146:-ltcl84.1 =3D> /usr/local/lib/libtcl84.so.1=0A 147:-lcrypto.5 = =3D> /usr/local/lib/libcrypto.so.5=0A 148:-lssl.5 =3D> /usr/local/li= b/libssl.so.5=0A#=0A=0ATIA,=0ADrew=0A=0A=0A=0A=0A=0A=0A =0A________________= ____________________________________________________________________=0ASuck= er-punch spam with award-winning protection. =0ATry the free Yahoo! Mail Be= ta.=0Ahttp://advision.webevents.yahoo.com/mailbeta/features_spam.html From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 21:53:56 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DE26116A404 for ; Tue, 6 Mar 2007 21:53:56 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.freebsd.org (Postfix) with ESMTP id C8FEC13C467 for ; Tue, 6 Mar 2007 21:53:56 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from [172.23.10.40] (nat-service4.juniper.net [66.129.225.151]) (authenticated bits=0) by typhoon.enabled.com (8.14.0/8.14.0) with ESMTP id l26Lqrad068469 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 6 Mar 2007 13:52:54 -0800 (PST) (envelope-from admin2@enabled.com) Message-ID: <45EDE2B7.2050705@enabled.com> Date: Tue, 06 Mar 2007 13:52:55 -0800 From: Noah User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: Dan Nelson References: <45EDB82D.2040300@enabled.com> <45EDBBB5.7090600@alpha-tierchen.de> <45EDCBF6.6040704@enabled.com> <45EDD60B.2020006@unsane.co.uk> <45EDE08F.3080707@enabled.com> <20070306215038.GH86959@dan.emsphone.com> In-Reply-To: <20070306215038.GH86959@dan.emsphone.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Vince Hoffman , =?ISO-8859-1?Q?Bj=F6rn_K=F6nig?= , User Questions Subject: Re: upgraded 6.2 and mysql lost all privileges X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 21:53:57 -0000 binary install. okay I backed up teh dir let me look for them now cheers, Noah Dan Nelson wrote: > In the last episode (Mar 06), Noah said: >> yeah - I have about 15 other user accounts specific to my mysql >> installation that were not in the /etc/passwd file. where were those >> stored? > > If you're just talking about mysql users, those are in > /var/db/mysql/mysql/user.* . An OS upgrade shouldn't have touched > them at all. Unless you reformatted /var or something :) > From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 21:54:29 2007 Return-Path: X-Original-To: freebsd-questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B516A16A405 for ; Tue, 6 Mar 2007 21:54:29 +0000 (UTC) (envelope-from dan@more.net) Received: from jane.spg.more.net (jane.spg.more.net [207.160.133.140]) by mx1.freebsd.org (Postfix) with ESMTP id 3BD5C13C491 for ; Tue, 6 Mar 2007 21:54:28 +0000 (UTC) (envelope-from dan@more.net) Received: from [127.0.0.1] (localhost [127.0.0.1]) by jane.spg.more.net (Postfix) with ESMTP id 8DD489C10F for ; Tue, 6 Mar 2007 15:54:32 -0600 (CST) From: Dan D Niles To: freebsd-questions@FreeBSD.org In-Reply-To: <1172784439.14922.47.camel@jane.spg.more.net> References: <1172784439.14922.47.camel@jane.spg.more.net> Content-Type: text/plain Date: Tue, 06 Mar 2007 15:54:32 -0600 Message-Id: <1173218072.5629.3.camel@jane.spg.more.net> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: Serial Port Problems (Solved) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 21:54:29 -0000 On Thu, 2007-03-01 at 15:27 -0600, Dan D Niles wrote: > If I disconnect and come back later > (sometimes), or if I hit return without entering a login name (always) > it starts spitting out junk like: > > nooo~:Woo{;>6(|uww~now~nou})|t}}t9- I found a solution, although I'm not sure why it works. When you just hit enter getty goes back to the beginning of its loop. This also happens if you enter a name starting with "-" or consisting of just spaces. These also causes the output to become garbled. At the beginning of the loop it calls setttymode(0). If I insert a sleep(1) before this call, everything works correctly. If I insert the sleep after that, the output still gets garbled. Like I said, I don't know why it works, but it does. I don't think a short delay is unreasonable after entering invalid or no information. I am going to submit a PR with a patch. Dan From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 21:56:33 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 036B516A406 for ; Tue, 6 Mar 2007 21:56:33 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.freebsd.org (Postfix) with ESMTP id DC58813C4A6 for ; Tue, 6 Mar 2007 21:56:32 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from [172.23.10.40] (nat-service4.juniper.net [66.129.225.151]) (authenticated bits=0) by typhoon.enabled.com (8.14.0/8.14.0) with ESMTP id l26LtUWx068616 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 6 Mar 2007 13:55:31 -0800 (PST) (envelope-from admin2@enabled.com) Message-ID: <45EDE354.8040508@enabled.com> Date: Tue, 06 Mar 2007 13:55:32 -0800 From: Noah User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: Dan Nelson References: <45EDB82D.2040300@enabled.com> <45EDBBB5.7090600@alpha-tierchen.de> <45EDCBF6.6040704@enabled.com> <45EDD60B.2020006@unsane.co.uk> <45EDE08F.3080707@enabled.com> <20070306215038.GH86959@dan.emsphone.com> In-Reply-To: <20070306215038.GH86959@dan.emsphone.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Vince Hoffman , =?ISO-8859-1?Q?Bj=F6rn_K=F6nig?= , User Questions Subject: Re: upgraded 6.2 and mysql lost all privileges X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 21:56:33 -0000 Dan, okay you got me on the right track. I can see mysql files in that directory. but mysql is not aware of the users in the "user files" is there something that I need to tell to mysql to use those files to reincorporate the mysql related users? # ls -l /var/db/mysql/mysql total 648 -rw-rw---- 1 mysql mysql 0 Mar 6 06:49 columns_priv.MYD -rw-rw---- 1 mysql mysql 1024 Mar 6 06:49 columns_priv.MYI -rw-rw---- 1 mysql mysql 8820 Mar 6 06:49 columns_priv.frm -rw-rw---- 1 mysql mysql 876 Mar 6 06:49 db.MYD -rw-rw---- 1 mysql mysql 4096 Mar 6 06:49 db.MYI -rw-rw---- 1 mysql mysql 9494 Mar 6 06:49 db.frm -rw-rw---- 1 mysql mysql 0 Mar 6 06:49 func.MYD -rw-rw---- 1 mysql mysql 1024 Mar 6 06:49 func.MYI -rw-rw---- 1 mysql mysql 8665 Mar 6 06:49 func.frm -rw-rw---- 1 mysql mysql 20916 Mar 6 06:49 help_category.MYD -rw-rw---- 1 mysql mysql 3072 Mar 6 06:49 help_category.MYI -rw-rw---- 1 mysql mysql 8700 Mar 6 06:49 help_category.frm -rw-rw---- 1 mysql mysql 75254 Mar 6 06:49 help_keyword.MYD -rw-rw---- 1 mysql mysql 15360 Mar 6 06:49 help_keyword.MYI -rw-rw---- 1 mysql mysql 8612 Mar 6 06:49 help_keyword.frm -rw-rw---- 1 mysql mysql 6624 Mar 6 06:49 help_relation.MYD -rw-rw---- 1 mysql mysql 13312 Mar 6 06:49 help_relation.MYI -rw-rw---- 1 mysql mysql 8630 Mar 6 06:49 help_relation.frm -rw-rw---- 1 mysql mysql 269424 Mar 6 06:49 help_topic.MYD -rw-rw---- 1 mysql mysql 17408 Mar 6 06:49 help_topic.MYI -rw-rw---- 1 mysql mysql 8770 Mar 6 06:49 help_topic.frm -rw-rw---- 1 mysql mysql 0 Mar 6 06:49 host.MYD -rw-rw---- 1 mysql mysql 1024 Mar 6 06:49 host.MYI -rw-rw---- 1 mysql mysql 9416 Mar 6 06:49 host.frm -rw-rw---- 1 mysql mysql 0 Mar 6 06:49 proc.MYD -rw-rw---- 1 mysql mysql 1024 Mar 6 06:49 proc.MYI -rw-rw---- 1 mysql mysql 9691 Mar 6 06:49 proc.frm -rw-rw---- 1 mysql mysql 0 Mar 6 06:49 procs_priv.MYD -rw-rw---- 1 mysql mysql 1024 Mar 6 06:49 procs_priv.MYI -rw-rw---- 1 mysql mysql 8875 Mar 6 06:49 procs_priv.frm -rw-rw---- 1 mysql mysql 0 Mar 6 06:49 tables_priv.MYD -rw-rw---- 1 mysql mysql 1024 Mar 6 06:49 tables_priv.MYI -rw-rw---- 1 mysql mysql 8947 Mar 6 06:49 tables_priv.frm -rw-rw---- 1 mysql mysql 0 Mar 6 06:49 time_zone.MYD -rw-rw---- 1 mysql mysql 1024 Mar 6 06:49 time_zone.MYI -rw-rw---- 1 mysql mysql 8636 Mar 6 06:49 time_zone.frm -rw-rw---- 1 mysql mysql 0 Mar 6 06:49 time_zone_leap_second.MYD -rw-rw---- 1 mysql mysql 1024 Mar 6 06:49 time_zone_leap_second.MYI -rw-rw---- 1 mysql mysql 8624 Mar 6 06:49 time_zone_leap_second.frm -rw-rw---- 1 mysql mysql 0 Mar 6 06:49 time_zone_name.MYD -rw-rw---- 1 mysql mysql 1024 Mar 6 06:49 time_zone_name.MYI -rw-rw---- 1 mysql mysql 8606 Mar 6 06:49 time_zone_name.frm -rw-rw---- 1 mysql mysql 0 Mar 6 06:49 time_zone_transition.MYD -rw-rw---- 1 mysql mysql 1024 Mar 6 06:49 time_zone_transition.MYI -rw-rw---- 1 mysql mysql 8686 Mar 6 06:49 time_zone_transition.frm -rw-rw---- 1 mysql mysql 0 Mar 6 06:49 time_zone_transition_type.MYD -rw-rw---- 1 mysql mysql 1024 Mar 6 06:49 time_zone_transition_type.MYI -rw-rw---- 1 mysql mysql 8748 Mar 6 06:49 time_zone_transition_type.frm -rw-rw---- 1 mysql mysql 208 Mar 6 06:49 user.MYD -rw-rw---- 1 mysql mysql 2048 Mar 6 06:49 user.MYI -rw-rw---- 1 mysql mysql 10330 Mar 6 06:49 user.frm Dan Nelson wrote: > In the last episode (Mar 06), Noah said: >> yeah - I have about 15 other user accounts specific to my mysql >> installation that were not in the /etc/passwd file. where were those >> stored? > > If you're just talking about mysql users, those are in > /var/db/mysql/mysql/user.* . An OS upgrade shouldn't have touched > them at all. Unless you reformatted /var or something :) > From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 22:03:44 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6DFD116A402 for ; Tue, 6 Mar 2007 22:03:44 +0000 (UTC) (envelope-from iaccounts@ibctech.ca) Received: from pearl.ibctech.ca (pearl.ibctech.ca [208.70.104.210]) by mx1.freebsd.org (Postfix) with ESMTP id 11B7613C46B for ; Tue, 6 Mar 2007 22:03:43 +0000 (UTC) (envelope-from iaccounts@ibctech.ca) Received: (qmail 12055 invoked by uid 1002); 6 Mar 2007 22:03:43 -0000 Received: from iaccounts@ibctech.ca by pearl.ibctech.ca by uid 89 with qmail-scanner-1.22 (spamassassin: 2.64. Clear:RC:1(208.113.63.132):. Processed in 9.938061 secs); 06 Mar 2007 22:03:43 -0000 Received: from unknown (HELO ?192.168.1.22?) (steve@ibctech.ca@208.113.63.132) by pearl.ibctech.ca with SMTP; 6 Mar 2007 22:03:32 -0000 Message-ID: <45EDE4BF.3050406@ibctech.ca> Date: Tue, 06 Mar 2007 17:01:35 -0500 From: Steve Bertrand User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <45EDB82D.2040300@enabled.com> <45EDBBB5.7090600@alpha-tierchen.de> <45EDCBF6.6040704@enabled.com> <45EDD60B.2020006@unsane.co.uk> <45EDE08F.3080707@enabled.com> <20070306215038.GH86959@dan.emsphone.com> <45EDE2B7.2050705@enabled.com> In-Reply-To: <45EDE2B7.2050705@enabled.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: upgraded 6.2 and mysql lost all privileges X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 22:03:44 -0000 >> In the last episode (Mar 06), Noah said: >>> yeah - I have about 15 other user accounts specific to my mysql >>> installation that were not in the /etc/passwd file. where were those >>> stored? >> >> If you're just talking about mysql users, those are in >> /var/db/mysql/mysql/user.* . An OS upgrade shouldn't have touched >> them at all. Unless you reformatted /var or something :) It may be possible that mergemaster was used incorrectly. If so, there should be a copy of the updated /etc/master.passwd file in: # /var/tmp/temproot/etc You can compare that against the new file in /etc. If they are the same, mergemaster hosed the original. I don't know if mergemaster makes a backup of the original, but it may be easier to pull master.passwd from a backup (you did backup /etc right?) and try re-merging if there were any differences. Then again, I may be totally wrong with this assessment. Steve From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 22:06:10 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 734BF16A401 for ; Tue, 6 Mar 2007 22:06:10 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.freebsd.org (Postfix) with ESMTP id 5FD4313C478 for ; Tue, 6 Mar 2007 22:06:10 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from [172.23.10.40] (nat-service4.juniper.net [66.129.225.151]) (authenticated bits=0) by typhoon.enabled.com (8.14.0/8.14.0) with ESMTP id l26M6167070680 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 6 Mar 2007 14:06:02 -0800 (PST) (envelope-from admin2@enabled.com) Message-ID: <45EDE5CB.5020502@enabled.com> Date: Tue, 06 Mar 2007 14:06:03 -0800 From: Noah User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: Steve Bertrand References: <45EDB82D.2040300@enabled.com> <45EDBBB5.7090600@alpha-tierchen.de> <45EDCBF6.6040704@enabled.com> <45EDD60B.2020006@unsane.co.uk> <45EDE08F.3080707@enabled.com> <20070306215038.GH86959@dan.emsphone.com> <45EDE2B7.2050705@enabled.com> <45EDE4BF.3050406@ibctech.ca> In-Reply-To: <45EDE4BF.3050406@ibctech.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: upgraded 6.2 and mysql lost all privileges X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 22:06:10 -0000 I dont think that is the issue. the problem is with the mysql virtual users they do not appear in the /etc/passwd or /etc/master.passwd files. so that is the wrong direction. cheers, Noah Steve Bertrand wrote: >>> In the last episode (Mar 06), Noah said: >>>> yeah - I have about 15 other user accounts specific to my mysql >>>> installation that were not in the /etc/passwd file. where were those >>>> stored? >>> >>> If you're just talking about mysql users, those are in >>> /var/db/mysql/mysql/user.* . An OS upgrade shouldn't have touched >>> them at all. Unless you reformatted /var or something :) > > It may be possible that mergemaster was used incorrectly. > > If so, there should be a copy of the updated /etc/master.passwd file in: > > # /var/tmp/temproot/etc > > You can compare that against the new file in /etc. If they are the same, > mergemaster hosed the original. I don't know if mergemaster makes a > backup of the original, but it may be easier to pull master.passwd from > a backup (you did backup /etc right?) and try re-merging if there were > any differences. > > Then again, I may be totally wrong with this assessment. > > Steve > _______________________________________________ > 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 Mar 6 22:11:29 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C839016A404 for ; Tue, 6 Mar 2007 22:11:29 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id 8124913C48D for ; Tue, 6 Mar 2007 22:11:19 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan@localhost [127.0.0.1]) by dan.emsphone.com (8.14.0/8.13.8) with ESMTP id l26MBDIU050184 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 6 Mar 2007 16:11:13 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.0/8.14.0/Submit) id l26MBDq2050183; Tue, 6 Mar 2007 16:11:13 -0600 (CST) (envelope-from dan) Date: Tue, 6 Mar 2007 16:11:13 -0600 From: Dan Nelson To: Noah Message-ID: <20070306221113.GI86959@dan.emsphone.com> References: <45EDB82D.2040300@enabled.com> <45EDBBB5.7090600@alpha-tierchen.de> <45EDCBF6.6040704@enabled.com> <45EDD60B.2020006@unsane.co.uk> <45EDE08F.3080707@enabled.com> <20070306215038.GH86959@dan.emsphone.com> <45EDE354.8040508@enabled.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45EDE354.8040508@enabled.com> X-OS: FreeBSD 6.2-STABLE User-Agent: Mutt/1.5.14 (2007-02-12) Cc: Vince Hoffman , =?utf-8?B?QmrDtnJuIEvDtm5pZw==?= , User Questions Subject: Re: upgraded 6.2 and mysql lost all privileges X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 22:11:29 -0000 In the last episode (Mar 06), Noah said: > okay you got me on the right track. > I can see mysql files in that directory. but mysql is not aware of the > users in the "user files" > > is there something that I need to tell to mysql to use those files to > reincorporate the mysql related users? > > # ls -l /var/db/mysql/mysql > total 648 > -rw-rw---- 1 mysql mysql 208 Mar 6 06:49 user.MYD > -rw-rw---- 1 mysql mysql 2048 Mar 6 06:49 user.MYI > -rw-rw---- 1 mysql mysql 10330 Mar 6 06:49 user.frm If you can log into mysql, does "select * from user" print anything? A 208-byte MYD file is only large enough for about four user records. If you had 15 in there before, they're gone. You'll probably want to restore your entire /var/db/mysql/mysql/ directory from a backup, then run mysql_fix_privilege_tables to bring the tables up to whatever version of mysql you're now running. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 22:18:19 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E1D1516A401 for ; Tue, 6 Mar 2007 22:18:19 +0000 (UTC) (envelope-from ccowart@hal.rescomp.berkeley.edu) Received: from rescomp.berkeley.edu (keyserver.Rescomp.Berkeley.EDU [169.229.70.167]) by mx1.freebsd.org (Postfix) with ESMTP id D035513C494 for ; Tue, 6 Mar 2007 22:18:19 +0000 (UTC) (envelope-from ccowart@hal.rescomp.berkeley.edu) Received: by rescomp.berkeley.edu (Postfix, from userid 1225) id 62B535B777; Tue, 6 Mar 2007 13:55:19 -0800 (PST) Date: Tue, 6 Mar 2007 13:55:19 -0800 From: Christopher Cowart To: freebsd-questions@freebsd.org Message-ID: <20070306215519.GM21423@rescomp.berkeley.edu> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tuifNR376H9qoyoc" Content-Disposition: inline Organization: RSSP-IT, UC Berkeley User-Agent: Mutt/1.5.9i Subject: isc-dhcpd logging breaks when syslog-ng HUP'd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 22:18:20 -0000 --tuifNR376H9qoyoc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, I have 2 servers running isc-dhcp3-server and syslog-ng. I have configured dhcpd to run in a chroot. The following (reproducible) sequence of events cause dhcpd logging to break: 1) Start syslog-ng 2) Start isc-dhcpd (At this point, logging is working fine) 3) `pkill -HUP syslog-ng` (This happens on the hour whenever logfiles need rotating, but can also be effected manually) 4) dhcpd logging is now broken 5) Restart isc-dhcpd (logging works again) My theory is that when isc-dhcpd starts, it gets an fd to the syslog socket. When syslog-ng receives a HUP, that socket is reopened and isc-dhcpd's fd is now broken. Relevant options from rc.conf: | syslogd_enable=3D"NO" | newsyslog_enable=3D"NO" | syslog_ng_enable=3D"YES" | dhcpd_enable=3D"YES" | dhcpd_flags=3D"-q" | dhcpd_conf=3D"/usr/local/etc/dhcpd.conf" | dhcpd_includedir=3D"/usr/local/etc/dhcpd.d" | dhcpd_withumask=3D"022" | dhcpd_chuser_enable=3D"YES" | dhcpd_withuser=3D"dhcpd" | dhcpd_withgroup=3D"dhcpd" | dhcpd_devfs_enable=3D"YES" | dhcpd_rootdir=3D"/var/jails/dhcpd" | dhcpd_chroot_enable=3D"YES" | dhcpd_ifaces=3D"bge0" My workaround: For the hosts in question, I've added to the logrotate postrotate script: `/usr/local/etc/rc.d/isc-dhcpd restart > /dev/null` This workaround makes me a little uncomfortable, because these instances of dhcpd are critical for thousands of end users. Is this a bug? Is there a better workaround? Logging from all other applications on the system is unaffected by the HUP to syslog-ng, including two jailed instances of bind9 (syslog-ng on the host opens up the socket /var/run/log inside those jails).=20 Any insight would be greatly appreciated. Thanks, --=20 Chris Cowart Lead Systems Administrator Network Infrastructure, RSSP-IT UC Berkeley --tuifNR376H9qoyoc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFF7eNHV3SOqjnqPh0RAuZEAJ9Jn/bEcLZMFgRuSdegBYbDXyf07gCfbfqD U6Uj47j+5YNZH50WWjmsSuQ= =pshw -----END PGP SIGNATURE----- --tuifNR376H9qoyoc-- From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 22:34:27 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 49BBB16A401 for ; Tue, 6 Mar 2007 22:34:27 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 02A7B13C4A3 for ; Tue, 6 Mar 2007 22:34:26 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l26MVYxQ011578; Tue, 6 Mar 2007 17:31:34 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l26MVY5C011577; Tue, 6 Mar 2007 17:31:34 -0500 (EST) (envelope-from jerrymc) Date: Tue, 6 Mar 2007 17:31:34 -0500 From: Jerry McAllister To: Drew Jenkins Message-ID: <20070306223133.GA11555@gizmo.acns.msu.edu> References: <333952.4302.qm@web62201.mail.re1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <333952.4302.qm@web62201.mail.re1.yahoo.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 22:34:27 -0000 On Tue, Mar 06, 2007 at 01:11:37PM -0800, Drew Jenkins wrote: > Bill Campbell wrote: > > << that I should edit said line into /etc/ld.so.conf >> > > Unfortunately there is no such file on my system. > > ----- Original Message ---- > From: Jerry McAllister > To: Drew Jenkins > Cc: freebsd-questions@freebsd.org > Sent: Tuesday, March 6, 2007 3:33:01 PM > Subject: Re: Setting Env > > >I think does the setenv for the shell started for that script only. > >Once the script is finished, that goes away. You either need to > >put it in the script where you want to use the value or in your .cshrc > >file so it is in your main environment. > > I tried adding its bash variant to /usr/local/etc/rc.d/mysql-server but > that didn't work. As far as adding it to my shell, that won't run the > script when the server reboots, only when I log in, right? That's not > an option. I don't know for sure what you mean That's not an option. Is this running from cron or at system bootup or something so there is no login involved? In those cases, it is well documented that your scripts have to be completely responsible for their environments and paths, etc. So, set everything within the scipt. Or, if it is something systemwide, then put setting the variable it in /etc/rc.conf or /etc/rc.conf.local if you let your system have one. ////jerry > > Any other ideas? > TIA, > Drew > ////jerry > > > TIA, > > Drew > > > > > > > > > > > > ____________________________________________________________________________________ > > Looking for earth-friendly autos? > > Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center. > > http://autos.yahoo.com/green_center/ > > _______________________________________________ > > 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" > > > > > > > > > ____________________________________________________________________________________ > Don't get soaked. Take a quick peek at the forecast > with the Yahoo! Search weather shortcut. > http://tools.search.yahoo.com/shortcuts/#loc_weather > _______________________________________________ > 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 Mar 6 22:35:51 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A515516A401 for ; Tue, 6 Mar 2007 22:35:51 +0000 (UTC) (envelope-from don.hinton@vanderbilt.edu) Received: from mailgate04.smtp.vanderbilt.edu (mailgate04.smtp.Vanderbilt.Edu [129.59.1.75]) by mx1.freebsd.org (Postfix) with ESMTP id 5F99F13C4A6 for ; Tue, 6 Mar 2007 22:35:51 +0000 (UTC) (envelope-from don.hinton@vanderbilt.edu) Received: from smtp10.smtp.vanderbilt.edu (smtp10.smtp.Vanderbilt.Edu [129.59.1.11]) by mailgate04.smtp.vanderbilt.edu (8.13.7/8.13.7) with ESMTP id l26MZo0P023371 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 6 Mar 2007 16:35:50 -0600 Received: from smtp10.smtp.vanderbilt.edu (localhost [127.0.0.1]) by smtp10.smtp.vanderbilt.edu (8.12.11/8.12.11/VU-3.7.9C+d3.7.9) with ESMTP id l26MZoFp029635; Tue, 6 Mar 2007 16:35:50 -0600 (CST) Received: from a129103.n1.vanderbilt.edu (A129103.N1.Vanderbilt.Edu [129.59.129.103]) by smtp10.smtp.vanderbilt.edu (8.12.11/8.12.11/VU-3.7.9.3B+d3.7.9) with ESMTP id l26MZnfW029632 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 6 Mar 2007 16:35:50 -0600 (CST) From: Don Hinton Organization: ISIS To: freebsd-questions@freebsd.org Date: Tue, 6 Mar 2007 16:35:38 -0600 User-Agent: KMail/1.9.4 References: <333952.4302.qm@web62201.mail.re1.yahoo.com> In-Reply-To: <333952.4302.qm@web62201.mail.re1.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart10475996.BWxzuPZxen"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200703061635.49352.don.hinton@vanderbilt.edu> X-Proofpoint-Virus-Version: vendor=fsecure engine=4.65.5502:2.3.11, 1.2.37, 4.0.164 definitions=2007-03-06_06:2007-03-06, 2007-03-06, 2007-03-06 signatures=0 X-PPS: No, score=0 Cc: Drew Jenkins Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 22:35:51 -0000 --nextPart10475996.BWxzuPZxen Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Drew: On Tuesday 06 March 2007 15:11, Drew Jenkins wrote: > Bill Campbell wrote: > > << that I should edit said line into /etc/ld.so.conf >> > > Unfortunately there is no such file on my system. # ldconfig -aout -f /etc/ld.so.conf /usr/local/lib/mysql/ will create it for you. man ldconfig for more info... hth... don > > ----- Original Message ---- > From: Jerry McAllister > To: Drew Jenkins > Cc: freebsd-questions@freebsd.org > Sent: Tuesday, March 6, 2007 3:33:01 PM > Subject: Re: Setting Env > > >I think does the setenv for the shell started for that script only. > >Once the script is finished, that goes away. You either need to > >put it in the script where you want to use the value or in your .cshrc > >file so it is in your main environment. > > I tried adding its bash variant to /usr/local/etc/rc.d/mysql-server but > that didn't work. As far as adding it to my shell, that won't run the > script when the server reboots, only when I log in, right? That's not an > option. > > Any other ideas? > TIA, > Drew > ////jerry > > > TIA, > > Drew > > > > > > > > > > > > _______________________________________________________________________= __ > >___________ Looking for earth-friendly autos? > > Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center. > > http://autos.yahoo.com/green_center/ > > _______________________________________________ > > 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" > > > > > > > > > _________________________________________________________________________= __ >_________ Don't get soaked. Take a quick peek at the forecast > with the Yahoo! Search weather shortcut. > http://tools.search.yahoo.com/shortcuts/#loc_weather > _______________________________________________ > 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" =2D-=20 Don Hinton or Institute for Software Integrated Systems (ISIS), Vanderbilt University tel: 615.480.5667 or 615.870.9728 --nextPart10475996.BWxzuPZxen Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBF7ezF0U0xbM5cLs0RApigAKDNA27YgJqS+6iIJsHW6g0YR8Vm4QCgj8CE w9vQsWTYe+n9c9yQjHrD6g8= =11fp -----END PGP SIGNATURE----- --nextPart10475996.BWxzuPZxen-- From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 22:57:33 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3FE7E16A402 for ; Tue, 6 Mar 2007 22:57:33 +0000 (UTC) (envelope-from frzburn@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.185]) by mx1.freebsd.org (Postfix) with ESMTP id B644713C47E for ; Tue, 6 Mar 2007 22:57:32 +0000 (UTC) (envelope-from frzburn@gmail.com) Received: by mu-out-0910.google.com with SMTP id g7so2136282muf for ; Tue, 06 Mar 2007 14:57:31 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=jxxzUZ+ALkRrCXFNb6L8rzi8J5OkZlS7noR2J2xXRRUh+rhacNVbV2QPh0QCLrVkEkQke8pMfLGe8+e8f5LPW2kPQHB9kWflv3v//5xTNXmRWm+m+95sPw32tI53pXHGmwa/xlzuw8JiXZhBZpZq8M6VaXqlmguB1bHLEAujK5k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=kU6d37LEPxrotHM6PeZT2Rj28nf09ZISxo2sZ/n74Mjp4qcCQk1f5DttOIywyySbkXItrtlz7VnsdhshDIRNqfoe5CJlP/at2oemEj55DUcB0E1yhkLHH6MR6xqXRhn4OoUBXVGf1F/C/+ABXvo5/Ha0QrQIQpmH4Ewwlwy6VuU= Received: by 10.82.148.7 with SMTP id v7mr7952192bud.1173221851421; Tue, 06 Mar 2007 14:57:31 -0800 (PST) Received: by 10.82.139.19 with HTTP; Tue, 6 Mar 2007 14:57:31 -0800 (PST) Message-ID: <2942dae0703061457ycb0900difb0818183e56d240@mail.gmail.com> Date: Tue, 6 Mar 2007 17:57:31 -0500 From: frzburn To: "Norberto Meijome" In-Reply-To: <20070307005022.4a09c30f@localhost> MIME-Version: 1.0 References: <2942dae0703051328l6e0a26b4v4a41a2812b18dc9e@mail.gmail.com> <20070307005022.4a09c30f@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Laptop lid switch and ACPI X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 22:57:33 -0000 Well, I thought about it, and you're right... What I really need is to be able to do something upon an acpi event, like running a script when I close my lid... But I didn't find these info anywhere =( Please help me! =) acpi is working, it has control on my fan and monitors my CPU temperature. I tried devd -dD, and it reacts when I close my lid, but I don't know how to use this output... Thanks! frzburn On 3/6/07, Norberto Meijome wrote: > > On Mon, 5 Mar 2007 16:28:06 -0500 > frzburn wrote: > > > I need a hint on how to get my screen turn off (backlight too) on my > Dell > > Laptop. > > I have an Inspiron 6400 (e1505), and FreeBSD 6 - amd64. > > Hi there, > I am not sure how to switch off the screen on the dell (independent of > ACPI)... in all laptops I've seen, it's fully controlled by the hardware > (bios?). > Have you got acpi working ? > > If you *do* have ACPI working, and you want to see whether it is firing > acpi at > all when you close the lid, you can restart devd in debugging mode: > > /etc/rc.d/devd stop > devd -dD > > and then try your ACPI events. > > Also, you should be able to tell your ACPI module to let you handle the > events > manually. For example, with the acpi_ibm.ko, the knob > > dev.acpi_ibm.0.events = 1 > > tells acpi to pass all acpi messages to devd for handling. Search the logs > (in > mobile@ , i believe) - i've posted my config for some sample actions on > different ACPI events. > > BTW, you may be able to switch off the display using a user mode > application > that is related to your video card. For example, if you have a Radeon > card, the > radeontool allows you to switch off the panel and external monitor outputs > (although the ext monitor gets switched on when you switch to X's VT) > > HIH, > Beto > _________________________ > {Beto|Norberto|Numard} Meijome > > "Against logic there is no armor like ignorance." > Laurence J. Peter > > I speak for myself, not my employer. Contents may be hot. Slippery when > wet. > Reading disclaimers makes you go blind. Writing them is worse. You have > been > Warned. > From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 23:03:35 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B68F316A403 for ; Tue, 6 Mar 2007 23:03:35 +0000 (UTC) (envelope-from eoghanj@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.224]) by mx1.freebsd.org (Postfix) with ESMTP id 62F5113C442 for ; Tue, 6 Mar 2007 23:03:35 +0000 (UTC) (envelope-from eoghanj@gmail.com) Received: by wr-out-0506.google.com with SMTP id 71so2757057wri for ; Tue, 06 Mar 2007 15:03:34 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=geOnla8W2mkiK3SP9B4d675N0WfR0uKNajLhqrxV9Qb+iMkhu1aID5YquPEb3FHsvumABjGy/UuV7B1UDYuBtA+e5c2/OfWCCNSmwAgR/hU9YnOuYAh8ESZko4rdB5xRA3OEgKH/+RkW5mopRGa2N18EKYZroigVDCbcfMymiJE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JjonkjaVqXu06ItuQT7uaAKQuQkI9F8evYIqyqiYwR/LjqpOcxkFGv5s/6vNAZu5YQlm/weH3+eqcplh1bvzrrbrACh6518gwxtVzZvu2zU+aZsrXenSIH9vfREmeKKbVWrX7TowkFqfCw+AExIVccWOeHegr38xeegCeAyqDWU= Received: by 10.114.202.15 with SMTP id z15mr1931683waf.1173222214080; Tue, 06 Mar 2007 15:03:34 -0800 (PST) Received: by 10.115.47.19 with HTTP; Tue, 6 Mar 2007 15:03:34 -0800 (PST) Message-ID: <9888aa630703061503i327d6076w3220f58997475eb1@mail.gmail.com> Date: Tue, 6 Mar 2007 23:03:34 +0000 From: eoghan To: "Mike Galvez" In-Reply-To: <20070306225147.GJ246@virginia.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070306163254.WETL2045.dukecmmtao03.coxmail.com@dukecmmtao03> <9888aa630703061345n2994c964m85b2148f170ffc3e@mail.gmail.com> <20070306225147.GJ246@virginia.edu> Cc: freebsd-questions@freebsd.org Subject: Re: apache problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 23:03:35 -0000 On 3/6/07, Mike Galvez wrote: > > >> > > -----Original Message----- > > >> > > From: owner-freebsd-questions@freebsd.org > > >> > > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of eoghan > > >> > > Sent: Tuesday, March 06, 2007 5:50 AM > > >> > > To: freebsd > > >> > > Subject: apache problem > > >> > > > > >> > > Hi > > >> > > I am running apache 2.2.4 on FreeBSD 6.1. This is a recent > > >> > > upgrade from ports (in the past few days or so). Since then I > > >> > > cant browse to localhost. Just get an unable to connect > > >> > > message. The server seems to start with: > > >> > > $sudo apachectl start > > >> > > If I try it again I see its already running. > > >> > > My error log shows: > > >> > > [Mon Mar 05 11:20:00 2007] [notice] Apache/2.2.4 (FreeBSD) > > >> > > mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.1 with Suhosin-Patch > > >> > > configured -- resuming normal operations > > >> > > [Mon Mar 05 11:20:22 2007] [notice] caught SIGTERM, shutting down > > >> > > > > >> > > I have tried the apache list but no real answers, and apache > > >> > > was working fine for me before I upgraded. Has anyone else > > >> > > noticed this since an upgrade to the 2.2.4 version from ports? > > >> > > > > >> > > Thanks > > >> > > Eoghan > > >> > > > >> > I had the same problem. Here is how I fixed it: > > >> > #apachectl stop > > >> > # cd /usr/ports/www/apache22 > > >> > #make clean > > >> > # make deinstall > > >> > # rm ./* > > >> > Then do a cvsup ports all > > >> > now once more > > >> > #cd /usr/ports/www/apache22 > > >> > # make (it will use your stored config) > > >> > #make install > > >> > #make clean > > >> > #apachectl start > > >> > > >> Hi > > >> Gret, thanks for that, I will give this a go. > > >> Regards > > >> Eoghan > > >> > > >all the best > > >please let me know if it works 4U > > >-- I have made a posting on ports@freebsd.org -- so the maintainer knows > > >aboutthe problem. If this also works for you it should not be too > > >difficult for someone to fix the port. > > >David > > > > Hi > > I have tried this and i still cant get it working. Also tried syntax > > check and its checks out OK, as someone else suggested to do... any > > further suggestions? > > Thanks > > Eoghan > > _______________________________________________ > > 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, > > I was rebuilding one of my servers yesterday. I was having trouble getting ldap > support to build, but I was also seeing the same issue you describe. The > configtest reported no errors and Apache appeared to start and I could see it in > the process list, but could not contact the server. Out of frustration i bounced > the box and when it came back up Apache started as expected (minus ldap of > course). > > > -- > Michael Galvez http://www.people.virginia.edu/~mrg8n > Information Technology Specialist University of Virginia Hi By bounced the box, do you mean restarted it? Thanks Eoghan From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 23:04:10 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0A78C16A407 for ; Tue, 6 Mar 2007 23:04:10 +0000 (UTC) (envelope-from redchin@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.freebsd.org (Postfix) with ESMTP id 940C713C481 for ; Tue, 6 Mar 2007 23:04:09 +0000 (UTC) (envelope-from redchin@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so2528541nfc for ; Tue, 06 Mar 2007 15:04:08 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rhtnetOLqbkH67C938iE53Ma+1bCCTY2uL958xoi0fKjlI5oIkHo2W/kdsrCd2Vs3qVv1T81FS6/NVboDo3zScJXdckLRLbFrusrPDAXX6GiBzTQOD1n/kpAZt9NKtsyPY4RMV5A4VZHREKSsofeHpCGHNDNd+H2oblj2ngy2YM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZYbpOqhuXiiE+xAvDfSSaLSbtLa7mbyrP2U4upwtbEu22K9JeMjQaYchbl4k5G5LqG1fUS3DfuhQhsUcAApJJdunCcezI32wUIEMukDuplJJrhuhfzE/510nxo/vBkhIuG3QuFNW7ScTZDaBxhHCqyktu600depZ1FOIkMHne5Y= Received: by 10.82.136.4 with SMTP id j4mr8022439bud.1173222247997; Tue, 06 Mar 2007 15:04:07 -0800 (PST) Received: by 10.82.118.14 with HTTP; Tue, 6 Mar 2007 15:04:07 -0800 (PST) Message-ID: <1d3ed48c0703061504j209ad057u60d93ddf828636bb@mail.gmail.com> Date: Tue, 6 Mar 2007 15:04:07 -0800 From: "Kevin Downey" To: frzburn In-Reply-To: <2942dae0703061457ycb0900difb0818183e56d240@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2942dae0703051328l6e0a26b4v4a41a2812b18dc9e@mail.gmail.com> <20070307005022.4a09c30f@localhost> <2942dae0703061457ycb0900difb0818183e56d240@mail.gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Laptop lid switch and ACPI X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 23:04:10 -0000 On 3/6/07, frzburn wrote: > Well, I thought about it, and you're right... What I really need is to be > able to do something upon an acpi event, like running a script when I close > my lid... > > But I didn't find these info anywhere =( > Please help me! =) > > acpi is working, it has control on my fan and monitors my CPU temperature. > I tried devd -dD, and it reacts when I close my lid, but I don't know how to > use this output... > > Thanks! > > frzburn > > > > On 3/6/07, Norberto Meijome wrote: > > > > On Mon, 5 Mar 2007 16:28:06 -0500 > > frzburn wrote: > > > > > I need a hint on how to get my screen turn off (backlight too) on my > > Dell > > > Laptop. > > > I have an Inspiron 6400 (e1505), and FreeBSD 6 - amd64. > > > > Hi there, > > I am not sure how to switch off the screen on the dell (independent of > > ACPI)... in all laptops I've seen, it's fully controlled by the hardware > > (bios?). > > Have you got acpi working ? > > > > If you *do* have ACPI working, and you want to see whether it is firing > > acpi at > > all when you close the lid, you can restart devd in debugging mode: > > > > /etc/rc.d/devd stop > > devd -dD > > > > and then try your ACPI events. > > > > Also, you should be able to tell your ACPI module to let you handle the > > events > > manually. For example, with the acpi_ibm.ko, the knob > > > > dev.acpi_ibm.0.events = 1 > > > > tells acpi to pass all acpi messages to devd for handling. Search the logs > > (in > > mobile@ , i believe) - i've posted my config for some sample actions on > > different ACPI events. > > > > BTW, you may be able to switch off the display using a user mode > > application > > that is related to your video card. For example, if you have a Radeon > > card, the > > radeontool allows you to switch off the panel and external monitor outputs > > (although the ext monitor gets switched on when you switch to X's VT) > > > > HIH, > > Beto > > _________________________ > > {Beto|Norberto|Numard} Meijome > > > > "Against logic there is no armor like ignorance." > > Laurence J. Peter I have a Inspiron 8200, and I have the following in /etc/devd.conf to turn off the screen when the lid is closed: notify 10 { match "system" "ACPI"; match "subsystem" "Lid"; match "notify" "0x00"; action "/usr/local/bin/xset -display :0 dpms force off > /tmp/xset.log"; }; -- The biggest problem with communication is the illusion that it has occurred. From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 23:13:05 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C76F816A400 for ; Tue, 6 Mar 2007 23:13:05 +0000 (UTC) (envelope-from paulette_mcgee@yahoo.com) Received: from web62315.mail.re1.yahoo.com (web62315.mail.re1.yahoo.com [69.147.75.29]) by mx1.freebsd.org (Postfix) with SMTP id 8D69C13C47E for ; Tue, 6 Mar 2007 23:13:05 +0000 (UTC) (envelope-from paulette_mcgee@yahoo.com) Received: (qmail 85141 invoked by uid 60001); 6 Mar 2007 23:13:04 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=pUg29vOWWPgWyUzYD/1dmOOlL7zt48G2O7uc+qqPX7lkvFVttX2/jJduZVLm8/mmq9R3nyNQNioCqvnEyFQ3vndp60seYMDFSOtTjDyzf0tyJQSdVG0zPCP9ns65o/my62gUc1Ny2Mz7Z/KYVzRPXYjJ4QwHYGh40X1ZetFdIUg=; X-YMail-OSG: 6Gl_XA0VM1m3s8Y2i0tTN67mqKI699ZTOKD.Kfoy334Ddw0763XS71usFyYq5WpAhc31P1Ag5AaF534pdPsVWKscNlhk3qGAvBQg_ClRJoiLb97YSf24hg-- Received: from [68.164.15.239] by web62315.mail.re1.yahoo.com via HTTP; Tue, 06 Mar 2007 15:13:04 PST Date: Tue, 6 Mar 2007 15:13:04 -0800 (PST) From: Paulette McGee To: Bill Moran , Vizion In-Reply-To: <20070306082414.dc4ccb09.wmoran@potentialtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <904298.74508.qm@web62315.mail.re1.yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: ftp set 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: Tue, 06 Mar 2007 23:13:06 -0000 --- Bill Moran wrote: > > Please wrap your lines around 72 characters. > > In response to Vizion : > > > > I wonder if someone could point me to a reliable > detailed resource for > > configuring an ftp server on freebsd 6.1 for both > incoming and outgoing > > files (including anonymous ftp). > > > > I do not want anonymous uploaders to view existing > file names in > > ftp/incoming or be able to download from incoming. > I want the server as > > secure as is reasonably practicable. The notes in > the freebsd handbook are > > not really comprehensive enough for me. > > Please don't do this. Please don't even try. > > Never try to use the word "secure" in the same > sentence as "ftp". They don't > fit in the same sentence. > > Set up ssh, then have Windows users use WinSCP. > > Let me tell a little story. A few years back I was > asked to set up "secure > ftp" for a client. I argued, but he insisted, and > "the customer is always > right", so I set it up for him. > > The plan, to keep it secure, was to enable the FTP > server when it was needed, > and disable it when the transfer was complete. > > Well, one day he forgot to turn it off. A few weeks > later he went to enable > it for another transfer and noticed a bunch of files > on the server he didn't > recognize. > > Someone had guessed the password and was using his > FTP server to transfer files > of a most unsavory nature. > > After we destroyed the files, changed the passwords, > etc -- he decided to keep > using the FTP (in spite of the incident). The only > problem, he argued, was > that we'd forgot to turn it off. > > But the crook now had our address. The next time he > enabled that server, it > wasn't more than a few hours before the crook was > using it to move around > his files again. The guy must have set up some > monitoring to alert him when > the FTP site came up, then he either had a sniffer > to get the password or > he was able to brute-force it really fast. > > I tell that story when people tell me that the data > their transferring isn't > sensitive, and therefore using FTP isn't a security > risk. It still is. The > only time it's OK to use FTP is when it's download > only and the files are > publicly available. Any other time, FTP is a > liability. > > -- > Bill Moran > http://www.potentialtech.com > _______________________________________________ > 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" > Just an informational bit for the windows users that will transfer files: WinSCP http://winscp.net/eng/index.php Filezilla http://filezilla.sourceforge.net/ Portable FileZilla http://portableapps.com/ PS: The portable version of FileZilla doesn't require an install on Windows. ____________________________________________________________________________________ TV dinner still cooling? Check out "Tonight's Picks" on Yahoo! TV. http://tv.yahoo.com/ From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 23:26:31 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6303B16A401 for ; Tue, 6 Mar 2007 23:26:31 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 17F6913C442 for ; Tue, 6 Mar 2007 23:26:30 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 17649 invoked from network); 7 Mar 2007 10:26:30 +1100 Received: from 203-217-48-136.dyn.iinet.net.au (HELO localhost) (203.217.48.136) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 7 Mar 2007 10:26:30 +1100 Date: Wed, 7 Mar 2007 10:26:26 +1100 From: Norberto Meijome To: frzburn Message-ID: <20070307102626.1e41e82e@localhost> In-Reply-To: <2942dae0703061457ycb0900difb0818183e56d240@mail.gmail.com> References: <2942dae0703051328l6e0a26b4v4a41a2812b18dc9e@mail.gmail.com> <20070307005022.4a09c30f@localhost> <2942dae0703061457ycb0900difb0818183e56d240@mail.gmail.com> X-Mailer: Claws Mail 2.8.0 (GTK+ 2.10.9; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Laptop lid switch and ACPI X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 23:26:31 -0000 On Tue, 6 Mar 2007 17:57:31 -0500 frzburn wrote: > But I didn't find these info anywhere =( > Please help me! =) Kevin's email may have the answer for you. > > acpi is working, it has control on my fan and monitors my CPU temperature. > I tried devd -dD, and it reacts when I close my lid, but I don't know how to > use this output... http://lists.freebsd.org/pipermail/freebsd-mobile/2006-August/008948.html and http://lists.freebsd.org/pipermail/freebsd-mobile/2006-August/008959.html They refer specifically to the config for a Thinkpad Z60m - i'm sure you can extrapolate from there:) _________________________ {Beto|Norberto|Numard} Meijome "So limp of brain that for them to conceive an idea is to risk a haemorrhage. So limp of body that their purple dresses appear no more a dixative of housing nerves and sinews than when they hang suspended from their hooks" Mervin Peake, "Gormenghast", chap. 2, on the Earl's twin sisters I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 23:36:49 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E731316A408 for ; Tue, 6 Mar 2007 23:36:49 +0000 (UTC) (envelope-from frzburn@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.freebsd.org (Postfix) with ESMTP id 45D8613C4A5 for ; Tue, 6 Mar 2007 23:36:44 +0000 (UTC) (envelope-from frzburn@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so2536437nfc for ; Tue, 06 Mar 2007 15:36:43 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=rmxSFnS+psZvI7sm/QWWDUmA5E8NJQ1Yu36+CzaKwV6/lsCrSdSqOg8QNuizvNmsciFGuEDN9BdSRYGozIeRHkanpdYlAjAtzgilLuhxrJ0dHDC3qScJDo4HeOm3yWDJlfpAiL61/lECE39tO6Iel2wMtskawSgw5FX43SQRZdQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=jqfEYAtRTZUaAOkNK8Evabiev1h/cv0xYwM151jRHbK0/7h5bT1DLuVFu1x7c3ad7azl7udKXdSGM+evcT94hIljUoN+WmJXYAq6s3PQ40ZhO/3unHUTdiPncJBv0Se6NVD6dg2y+op7zX5JKAbbgTBFvx1xsa0DI8vbnB9kink= Received: by 10.82.167.5 with SMTP id p5mr8085855bue.1173224202999; Tue, 06 Mar 2007 15:36:42 -0800 (PST) Received: by 10.82.139.19 with HTTP; Tue, 6 Mar 2007 15:36:42 -0800 (PST) Message-ID: <2942dae0703061536p58e271dckea82e5a78d1e4e90@mail.gmail.com> Date: Tue, 6 Mar 2007 18:36:42 -0500 From: frzburn To: "Kevin Downey" In-Reply-To: <1d3ed48c0703061504j209ad057u60d93ddf828636bb@mail.gmail.com> MIME-Version: 1.0 References: <2942dae0703051328l6e0a26b4v4a41a2812b18dc9e@mail.gmail.com> <20070307005022.4a09c30f@localhost> <2942dae0703061457ycb0900difb0818183e56d240@mail.gmail.com> <1d3ed48c0703061504j209ad057u60d93ddf828636bb@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Laptop lid switch and ACPI X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 23:36:50 -0000 THAT is exactly what I needed! A lot of thanks to both of you! =D frzburn On 3/6/07, Kevin Downey wrote: > > On 3/6/07, frzburn wrote: > > Well, I thought about it, and you're right... What I really need is to > be > > able to do something upon an acpi event, like running a script when I > close > > my lid... > > > > But I didn't find these info anywhere =( > > Please help me! =) > > > > acpi is working, it has control on my fan and monitors my CPU > temperature. > > I tried devd -dD, and it reacts when I close my lid, but I don't know > how to > > use this output... > > > > Thanks! > > > > frzburn > > > > > > > > On 3/6/07, Norberto Meijome wrote: > > > > > > On Mon, 5 Mar 2007 16:28:06 -0500 > > > frzburn wrote: > > > > > > > I need a hint on how to get my screen turn off (backlight too) on my > > > Dell > > > > Laptop. > > > > I have an Inspiron 6400 (e1505), and FreeBSD 6 - amd64. > > > > > > Hi there, > > > I am not sure how to switch off the screen on the dell (independent of > > > ACPI)... in all laptops I've seen, it's fully controlled by the > hardware > > > (bios?). > > > Have you got acpi working ? > > > > > > If you *do* have ACPI working, and you want to see whether it is > firing > > > acpi at > > > all when you close the lid, you can restart devd in debugging mode: > > > > > > /etc/rc.d/devd stop > > > devd -dD > > > > > > and then try your ACPI events. > > > > > > Also, you should be able to tell your ACPI module to let you handle > the > > > events > > > manually. For example, with the acpi_ibm.ko, the knob > > > > > > dev.acpi_ibm.0.events = 1 > > > > > > tells acpi to pass all acpi messages to devd for handling. Search the > logs > > > (in > > > mobile@ , i believe) - i've posted my config for some sample actions > on > > > different ACPI events. > > > > > > BTW, you may be able to switch off the display using a user mode > > > application > > > that is related to your video card. For example, if you have a Radeon > > > card, the > > > radeontool allows you to switch off the panel and external monitor > outputs > > > (although the ext monitor gets switched on when you switch to X's VT) > > > > > > HIH, > > > Beto > > > _________________________ > > > {Beto|Norberto|Numard} Meijome > > > > > > "Against logic there is no armor like ignorance." > > > Laurence J. Peter > I have a Inspiron 8200, and I have the following in /etc/devd.conf to > turn off the screen when the lid is closed: > > notify 10 { > match "system" "ACPI"; > match "subsystem" "Lid"; > match "notify" "0x00"; > action "/usr/local/bin/xset -display :0 dpms force off > > /tmp/xset.log"; > }; > > > > > -- > The biggest problem with communication is the illusion that it has > occurred. > From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 23:37:24 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7AC2F16A407 for ; Tue, 6 Mar 2007 23:37:24 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: from web62204.mail.re1.yahoo.com (web62204.mail.re1.yahoo.com [69.147.75.3]) by mx1.freebsd.org (Postfix) with SMTP id 2F5E513C478 for ; Tue, 6 Mar 2007 23:37:24 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: (qmail 4839 invoked by uid 60001); 6 Mar 2007 23:37:23 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=Rpm1mdpcQM1nuPU3y71LVAeAzzqsvXJHXCTXmSuwiPiE3WNj2sWQkjvbe87ACtpGHtt7quQFVF1xfCeLG+pNav96M4UVTwjfRu6t4bsSpAR/fSZkyvr6PNL0KOPuQlZt+bpi5tggnaEelsZsaWOj0kBb1wBRJzLhFROWlKz5eac=; X-YMail-OSG: bjmOOAwVM1kiQK.ujNPAUbNt7uyb9jYnZpheE1I_LDAu6iMhsmk.zwsaySgdZfLZkBi3h.2MEuALRZXwGXxru98AHqV.zDUpC2HyXAoCc3LrGfhtgauq0jxa_h_j5GzxEJSp Received: from [67.46.93.3] by web62204.mail.re1.yahoo.com via HTTP; Tue, 06 Mar 2007 15:37:23 PST X-Mailer: YahooMailRC/468 YahooMailWebService/0.6.132.8 Date: Tue, 6 Mar 2007 15:37:23 -0800 (PST) From: Drew Jenkins To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <490012.3649.qm@web62204.mail.re1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 23:37:24 -0000 Don Hinton wrote:=0A=0A># ldconfig -aout -f /etc/ld.so.conf /usr/local/lib/= mysql/=0A>=0A>will create it for you. man ldconfig for more info...=0A=0AW= ell, that created a binary, but when I rebooted...nothing. Same problem :(= =0A=0A----- Original Message ----=0AFrom: Jerry McAllister =0ATo: Drew Jenkins =0ACc: freebsd-questions@free= bsd.org=0ASent: Tuesday, March 6, 2007 6:31:34 PM=0ASubject: Re: Setting En= v=0A=0A>I don't know for sure what you mean That's not an option. Is this= =0A>running from cron or at system bootup or something so there is no login= =0A>involved?=0A=0ACorrect=0A=0A>In those cases, it is well documented that= your scripts have to be=0A>completely responsible for their environments a= nd paths, etc. So,=0A>set everything within the scipt. Or, if it is some= thing systemwide,=0A>then put setting the variable it in /etc/rc.conf or /e= tc/rc.conf.local if=0A>you let your system have one.=0A=0AExactly. But how?= I could write a script like I did before:=0A=0A#!/bin/csh=0Asetenv LD_LIBR= ARY_PATH /usr/local/lib/mysql/=0A=0A(chmod +x) but that didn't execute, dun= no why. But then how do I call that script? What shell does /etc/rc.conf us= e?=0ATIA,=0ADrew=0A=0A=0A=0A=0A=0A=0A =0A__________________________________= __________________________________________________=0AWe won't tell. Get mor= e on shows you hate to love =0A(and love to hate): Yahoo! TV's Guilty Pleas= ures list.=0Ahttp://tv.yahoo.com/collections/265 From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 23:45:49 2007 Return-Path: X-Original-To: freebsd-questions@FreeBSD.ORG Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 276A216A402 for ; Tue, 6 Mar 2007 23:45:49 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id CC04B13C461 for ; Tue, 6 Mar 2007 23:45:48 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id l26NjHUs080930 for ; Tue, 6 Mar 2007 15:45:17 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id l26NjHxS080929 for freebsd-questions@FreeBSD.ORG; Tue, 6 Mar 2007 15:45:17 -0800 (PST) (envelope-from kline) Date: Tue, 6 Mar 2007 15:45:16 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20070306234516.GA80858@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing twenty years of service to the Unix community Cc: Subject: kplayer patch snafu... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 23:45:49 -0000 Here's what happened with the path applied to kplayer. Feedback welcome because I'd like to have a new, improved mplayer working!! kplayer-0.6.1.tar.bz2 100% of 4113 kB 13 kBps 00m00s ===> Extracting for kplayer-0.6.1 => MD5 Checksum OK for kplayer-0.6.1.tar.bz2. => SHA256 Checksum OK for kplayer-0.6.1.tar.bz2. ===> Patching for kplayer-0.6.1 ===> Applying FreeBSD patches for kplayer-0.6.1 1 out of 1 hunks failed--saving rejects to kplayer/kplayerproperties.h.rej => Patch patch-kplayerproperties.h failed to apply cleanly. *** Error code 1 Stop in /usr/ports/multimedia/kplayer. -- Gary Kline kline@thought.org www.thought.org Public Service Unix From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 23:49:19 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 547DE16A405 for ; Tue, 6 Mar 2007 23:49:19 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 0E60F13C48D for ; Tue, 6 Mar 2007 23:49:18 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l26NkQuw012034; Tue, 6 Mar 2007 18:46:26 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l26NkQX5012033; Tue, 6 Mar 2007 18:46:26 -0500 (EST) (envelope-from jerrymc) Date: Tue, 6 Mar 2007 18:46:26 -0500 From: Jerry McAllister To: Drew Jenkins Message-ID: <20070306234626.GA11995@gizmo.acns.msu.edu> References: <490012.3649.qm@web62204.mail.re1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <490012.3649.qm@web62204.mail.re1.yahoo.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 23:49:19 -0000 On Tue, Mar 06, 2007 at 03:37:23PM -0800, Drew Jenkins wrote: > Don Hinton wrote: > > ># ldconfig -aout -f /etc/ld.so.conf /usr/local/lib/mysql/ > > > >will create it for you. man ldconfig for more info... > > Well, that created a binary, but when I rebooted...nothing. Same problem :( > > ----- Original Message ---- > From: Jerry McAllister > To: Drew Jenkins > Cc: freebsd-questions@freebsd.org > Sent: Tuesday, March 6, 2007 6:31:34 PM > Subject: Re: Setting Env > > >I don't know for sure what you mean That's not an option. Is this > >running from cron or at system bootup or something so there is no login > >involved? > > Correct > > >In those cases, it is well documented that your scripts have to be > >completely responsible for their environments and paths, etc. So, > >set everything within the scipt. Or, if it is something systemwide, > >then put setting the variable it in /etc/rc.conf or /etc/rc.conf.local if > >you let your system have one. > > Exactly. But how? I could write a script like I did before: Well, either put setting the environment variable in rc.conf - then it will be readable by everyone or put it is the script that needs the variable to be set. > > #!/bin/csh > setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ > > (chmod +x) but that didn't execute, dunno why. But then how do I call > that script? What shell does /etc/rc.conf use? What failed in the script? are those two lines the only ones that were in the script? If so, the script does nothing. It sets the variable only for things from within the script. The script is a shell. I suppose you could source it, but that stil takes a command. If you want the environment variable to be set for something that is taking place in the script, then that variable must either be set in a durable way in the parent environment or be set right there in the script that is using it. The rc.conf method will make it available from the parent. That is the whole point of rc.conf. ////jerry > TIA, > Drew > > > > > > > > ____________________________________________________________________________________ > We won't tell. Get more on shows you hate to love > (and love to hate): Yahoo! TV's Guilty Pleasures list. > http://tv.yahoo.com/collections/265 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 00:02:54 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3135016A402 for ; Wed, 7 Mar 2007 00:02:54 +0000 (UTC) (envelope-from frzburn@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.freebsd.org (Postfix) with ESMTP id AF46713C441 for ; Wed, 7 Mar 2007 00:02:53 +0000 (UTC) (envelope-from frzburn@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so2542769nfc for ; Tue, 06 Mar 2007 16:02:52 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Fx9OBRTAka3SJuh+/3L5SR5zaxw/Ik39U13i8NXeZk/WPg7RLzNZoBREpCQn3g+8ysIlprIcm6661kBQHTs/esOlpZyVUkmhwt22A3s6a8I7xx8XTPId7W9WBhlG3mwJTfG5f95lIUo2QVTWUU5GLWddBFcHJMMRECSqf8vH2uI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=V81SLp3SdxJn42BSvg/PW98hqu6wBpEPoPs35M/HTiXOzWJqMRcluYb0ncWknjKRbWKDvnZDryB2Yayu4NhlvJYndbUsXDKz5hExyaJioQT8HJzEgxs16mgKdOI7gD1jvdz1y1/86g1Nc+UUOq9p84fm/YhmmHDzKf/PsRv0BmU= Received: by 10.82.135.13 with SMTP id i13mr8161024bud.1173225772139; Tue, 06 Mar 2007 16:02:52 -0800 (PST) Received: by 10.82.139.19 with HTTP; Tue, 6 Mar 2007 16:02:52 -0800 (PST) Message-ID: <2942dae0703061602p38ea962eqc65f81153397cd27@mail.gmail.com> Date: Tue, 6 Mar 2007 19:02:52 -0500 From: frzburn To: "Kevin Downey" In-Reply-To: <2942dae0703061536p58e271dckea82e5a78d1e4e90@mail.gmail.com> MIME-Version: 1.0 References: <2942dae0703051328l6e0a26b4v4a41a2812b18dc9e@mail.gmail.com> <20070307005022.4a09c30f@localhost> <2942dae0703061457ycb0900difb0818183e56d240@mail.gmail.com> <1d3ed48c0703061504j209ad057u60d93ddf828636bb@mail.gmail.com> <2942dae0703061536p58e271dckea82e5a78d1e4e90@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Laptop lid switch and ACPI X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 00:02:54 -0000 OK, so I'm half the way to what I want =/ All these things with acpi work well, but as I got a NVidia card _and_ FreeBSD in amd64, I can't install the NVidia drivers... So I can turn my screen blank with dpms, but the backlight stays on =( and this dpms stuff doesn't work in command-line... Do you know if there's some way to control the video card/turn the backlight off without NVidia's drivers? And if I can get this to work in command-line? I remember that with Gentoo all that stuff worked, even in command-line. But of course, I had NVidia drivers... frzburn On 3/6/07, frzburn wrote: > > THAT is exactly what I needed! > > A lot of thanks to both of you! =D > > frzburn > > > On 3/6/07, Kevin Downey < redchin@gmail.com> wrote: > > > > On 3/6/07, frzburn < frzburn@gmail.com> wrote: > > > Well, I thought about it, and you're right... What I really need is to > > be > > > able to do something upon an acpi event, like running a script when I > > close > > > my lid... > > > > > > But I didn't find these info anywhere =( > > > Please help me! =) > > > > > > acpi is working, it has control on my fan and monitors my CPU > > temperature. > > > I tried devd -dD, and it reacts when I close my lid, but I don't know > > how to > > > use this output... > > > > > > Thanks! > > > > > > frzburn > > > > > > > > > > > > On 3/6/07, Norberto Meijome wrote: > > > > > > > > On Mon, 5 Mar 2007 16:28:06 -0500 > > > > frzburn wrote: > > > > > > > > > I need a hint on how to get my screen turn off (backlight too) on > > my > > > > Dell > > > > > Laptop. > > > > > I have an Inspiron 6400 (e1505), and FreeBSD 6 - amd64. > > > > > > > > Hi there, > > > > I am not sure how to switch off the screen on the dell (independent > > of > > > > ACPI)... in all laptops I've seen, it's fully controlled by the > > hardware > > > > (bios?). > > > > Have you got acpi working ? > > > > > > > > If you *do* have ACPI working, and you want to see whether it is > > firing > > > > acpi at > > > > all when you close the lid, you can restart devd in debugging mode: > > > > > > > > /etc/rc.d/devd stop > > > > devd -dD > > > > > > > > and then try your ACPI events. > > > > > > > > Also, you should be able to tell your ACPI module to let you handle > > the > > > > events > > > > manually. For example, with the acpi_ibm.ko, the knob > > > > > > > > dev.acpi_ibm.0.events = 1 > > > > > > > > tells acpi to pass all acpi messages to devd for handling. Search > > the logs > > > > (in > > > > mobile@ , i believe) - i've posted my config for some sample actions > > on > > > > different ACPI events. > > > > > > > > BTW, you may be able to switch off the display using a user mode > > > > application > > > > that is related to your video card. For example, if you have a > > Radeon > > > > card, the > > > > radeontool allows you to switch off the panel and external monitor > > outputs > > > > (although the ext monitor gets switched on when you switch to X's > > VT) > > > > > > > > HIH, > > > > Beto > > > > _________________________ > > > > {Beto|Norberto|Numard} Meijome > > > > > > > > "Against logic there is no armor like ignorance." > > > > Laurence J. Peter > > I have a Inspiron 8200, and I have the following in /etc/devd.conf to > > turn off the screen when the lid is closed: > > > > notify 10 { > > match "system" "ACPI"; > > match "subsystem" "Lid"; > > match "notify" "0x00"; > > action "/usr/local/bin/xset -display :0 dpms force off > > > /tmp/xset.log"; > > }; > > > > > > > > > > -- > > The biggest problem with communication is the illusion that it has > > occurred. > > > > From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 00:05:17 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0FDFD16A409 for ; Wed, 7 Mar 2007 00:05:17 +0000 (UTC) (envelope-from dakfreebsd@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.freebsd.org (Postfix) with ESMTP id 9840413C481 for ; Wed, 7 Mar 2007 00:05:16 +0000 (UTC) (envelope-from dakfreebsd@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so345897ugh for ; Tue, 06 Mar 2007 16:05:11 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=EmC5hg92TPu4Qin3O8eiZpOpluwZvAV6pGDiKnj1tELDy8D2AAdLQPhT1sLX/eFi0hFNiny4LIBmcfER5nUS+zzBakbPC73u4JkGkRdYv3SvWqgIFFv+luMv99LJAzTkENcug82RvTXUfR4val9Xwc2DHxbw1O28Q3AU5ys2d8w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=JI0pKwGhkAdA73Sv1tVt6N6ejpiHS46ZE9IeRytioQqa5/P/8TUoA67EdtZUzDohwKMGD1gqMrqZ42GJZeFqD80rGgA9e9nV2XklHuj7oTIYQA6Fdm6SF5NaZhdtFu6tLJZUAY+mhnHYhZj1+0u8HrJ1+HeePPIRq5sGgCyg/L4= Received: by 10.115.23.12 with SMTP id a12mr1958140waj.1173225909870; Tue, 06 Mar 2007 16:05:09 -0800 (PST) Received: by 10.114.179.15 with HTTP; Tue, 6 Mar 2007 16:05:09 -0800 (PST) Message-ID: <5df74baa0703061605of9f660o87430e208b574fac@mail.gmail.com> Date: Tue, 6 Mar 2007 19:05:09 -0500 From: "DAK GHATIKACHALAM" To: "Dr. Jennifer Nussbaum" In-Reply-To: <770699.33265.qm@web53414.mail.yahoo.com> MIME-Version: 1.0 References: <770699.33265.qm@web53414.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Firefox only runs as root--help! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 00:05:17 -0000 On 3/2/07, Dr. Jennifer Nussbaum wrote: > > This is a resend of something i sent to the freebsd-gnome list a few days > ago, but there wer no answers and i think its a real problem, so i hope > no one minds. > > I have a new install of FreeBSD 6.2, and installed Gnome 2.16 and other > things, including Firefox 2.0, from Ports. > > Firefox only runs as root. Every time. I Googled and saw that in an early > version there was a problem that it had to be run the _first_ time as root > but after that it was OK, but thats not the problem here--it ONLY runs as > root all the time. If I type "firefox" on the command line it > just immediately returns to the command line, no error messages > of any sort, nothing in /var/log/messages. I had the same issue when I first made firefox, probability is the your $HOME/.mozilla directory is owned by root with only or no read permissions to other users. firefox read. creates all of its data in that directory by default, so you may want to login as root and do find / -name ".mozilla" -type d -exec ls -ld {} \; That will show all the directories that are .mozilla once you figured which your $HOME's .mozilla you can issue chown user:group .mozilla directory and then your firefox may start normally Best regards DAK When run as root it seems to be fine. The binary has execute > permissions for everyone. > > What do i need to be doing? > > Thanks! > > Jen > > > --------------------------------- > Finding fabulous fares is fun. > Let Yahoo! FareChase search your favorite travel sites to find flight and > hotel bargains. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 00:08:19 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E46D116A400 for ; Wed, 7 Mar 2007 00:08:19 +0000 (UTC) (envelope-from mksmith@adhost.com) Received: from mail-in05.adhost.com (mail-in05.adhost.com [216.211.128.133]) by mx1.freebsd.org (Postfix) with ESMTP id C5D7D13C4B5 for ; Wed, 7 Mar 2007 00:08:19 +0000 (UTC) (envelope-from mksmith@adhost.com) Received: from ad-exh01.adhost.lan (unknown [216.211.143.69]) by mail-in05.adhost.com (Postfix) with ESMTP id 8D3FB164841; Tue, 6 Mar 2007 16:08:19 -0800 (PST) (envelope-from mksmith@adhost.com) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 x-cr-puzzleid: {DECB3204-2440-4628-8748-27FEE140D0BE} Content-class: urn:content-classes:message Date: Tue, 6 Mar 2007 16:08:12 -0800 Message-ID: <17838240D9A5544AAA5FF95F8D52031601C59D59@ad-exh01.adhost.lan> x-cr-hashedpuzzle: BaM= BfB2 CG9q FErf FgOI I2ot OI5T PnjQ Qefc RULc SyB5 VDLC WJyR WnUD YXRI ZRo5; 2; YwBoAGEAZABAAHMAaABpAHIAZQAuAG4AZQB0ADsAZgByAGUAZQBiAHMAZAAtAHEAdQBlAHMAdABpAG8AbgBzAEAAZgByAGUAZQBiAHMAZAAuAG8AcgBnAA==; Sosha1_v1; 7; {DECB3204-2440-4628-8748-27FEE140D0BE}; bQBrAHMAbQBpAHQAaABAAGEAZABoAG8AcwB0AC4AYwBvAG0A; Wed, 07 Mar 2007 00:08:12 GMT; UgBFADoAIABzAHQAYQByAHQAZQBkACAAZwBlAHQAdABpAG4AZwAgAHIAZQBwAGUAYQB0AGUAZAAgACIAYgBnAGUAMAA6ACAAUABIAFkAIAByAGUAYQBkACAAdABpAG0AZQBkACAAbwB1AHQAIgAgAG0AZQBzAHMAYQBnAGUAcwA= In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: started getting repeated "bge0: PHY read timed out" messages thread-index: AcdgKv0trvTgvgNbSW23H4wbpd5BQQAIMrmA References: From: "Michael K. Smith - Adhost" To: "Chad Leigh -- Shire.Net LLC" , "User Questions" Cc: Subject: RE: started getting repeated "bge0: PHY read timed out" messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 00:08:20 -0000 Hello: > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of Chad Leigh -- Shire.Net LLC > Sent: Tuesday, March 06, 2007 12:05 PM > To: User Questions > Subject: Re: started getting repeated "bge0: PHY read timed out" > messages >=20 >=20 > On Mar 6, 2007, at 9:20 AM, Chad Leigh -- Shire.Net LLC wrote: >=20 > > Hi > > > > After running fine for a while, my new server running 6.2-RELEASE > > with latest security patches as of last Thursday or Friday started > > giving the message > > > > bge0: PHY read timed out > > > > and I found the following in the system log >=20 > ok, it started happening again after about 1.5 hours after the last > reboot. bge0 started going down and up a few times over about an > hour, and then the read timedout messages started up again. Previous > to the very first time that this started, the server had run for > about 4 days since it was newly installed. >=20 > Mar 6 09:09:23 server su: chad to root on /dev/ttyp0 > Mar 6 10:26:29 server kernel: bge0: link state changed to DOWN > Mar 6 10:26:31 server kernel: bge0: link state changed to UP > Mar 6 10:42:33 server kernel: bge0: link state changed to DOWN > Mar 6 10:42:35 server kernel: bge0: link state changed to UP > Mar 6 11:31:19 server kernel: bge0: PHY read timed out > Mar 6 11:31:19 server last message repeated 3 times > Mar 6 11:31:19 server kernel: bge0: link state changed to DOWN > Mar 6 11:31:21 server kernel: bge0: PHY read timed out > Mar 6 11:31:52 server last message repeated 116 times > Mar 6 11:33:53 server last message repeated 488 times > Mar 6 11:43:54 server last message repeated 2356 times > Mar 6 11:53:56 server last message repeated 2372 times > Mar 6 12:03:57 server last message repeated 2368 times > Mar 6 12:09:53 server last message repeated 1399 times > Mar 6 12:09:53 server kernel: bge0: watchdog timeout -- resetting > Mar 6 12:09:53 server kernel: bge0: PHY read timed out > Mar 6 12:09:53 server last message repeated 4 times > Mar 6 12:09:53 server kernel: bge0: RX CPU self-diagnostics failed! > Mar 6 12:09:53 server kernel: bge0: flow-through queue init failed > Mar 6 12:09:53 server kernel: bge0: initialization failure > Mar 6 12:09:54 server kernel: bge0: PHY read timed out > Mar 6 12:10:25 server last message repeated 152 times > Mar 6 12:12:27 server last message repeated 616 times > Mar 6 12:22:29 server last message repeated 2540 times > Mar 6 12:32:30 server last message repeated 2452 times > Mar 6 12:42:31 server last message repeated 2524 times > Mar 6 12:46:27 server last message repeated 1127 times > Mar 6 12:46:27 server login: ROOT LOGIN (root) ON ttyv0 > Mar 6 12:46:29 server kernel: bge0: PHY read timed out > Mar 6 12:46:41 server last message repeated 107 times > Mar 6 12:46:40 server reboot: rebooted by root >=20 > here is an ifconfig >=20 > bge0: flags=3D8843 mtu 1500 > options=3D1b > inet 166.70.252.128 netmask 0xffffff00 broadcast > 166.70.252.255 > inet 166.70.252.120 netmask 0xffffffff broadcast > 166.70.252.120 > inet 166.70.252.199 netmask 0xffffffff broadcast > 166.70.252.199 > ether 00:e0:81:61:e9:a0 > media: Ethernet autoselect (1000baseTX ) > status: active >=20 > and uname >=20 > # uname -a > FreeBSD server.shire.net 6.2-RELEASE-p2 FreeBSD 6.2-RELEASE-p2 #1: > Sat Mar 3 13:11:00 UTC 2007 chad@server.shire.net:/usr/obj/usr/ > src/sys/server i386 > # >=20 > It is a TYAN S2850 single opteron system with 2.4ghz single core > opteron. >=20 > Its dmesg ID is seen below in the quoted section. >=20 > I had another machine with this same MB that ran for a long time fine > until I upgraded it to 6.0 or 6.1 last Fall and then I started to > have the same problem (a post about it is in the archives). I > assumed it was a HW issue and turned off the port in the BIOS and > used the other port until I took the machine offline as the customer > using it no longer needed it. >=20 > Now this machine is having the same symptoms and I remember reading > in the lists something about PHY and bge and some driver problems a > while back but cannot fnd it now in the archives. >=20 > Could this be a SW problem or is it a HW issue? Could it be related > to the port it is connected to or the cable or something? The other > machine that had this problem was on a different switch brand. >=20 > Thanks > Chad >=20 > > > > > > This appears to be a HW problem at first look. But when the server > > boots, it works fine for a while (hours, days??) > > > > Here is the id in the boot message > > > > Mar 6 09:01:21 server kernel: bge0: > rev. 0x3003> mem 0xfeab0000-0xfeabffff irq 16 at device 14.0 on pci1 > > Mar 6 09:01:21 server kernel: miibus0: on bge0 > > Mar 6 09:01:21 server kernel: brgphy0: > PHY> on miibus0 > > Mar 6 09:01:21 server kernel: brgphy0: 10baseT, 10baseT-FDX, > > 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto > > Mar 6 09:01:21 server kernel: bge0: Ethernet address: > > 00:e0:81:61:e9:a0 > > > > Is this some sort of SW driver issue or is it a HW issue at first > > glance? I remember kind of reading about some BGE issues a while > > back. > > > > Thanks > > Chad > > >=20 Have you looked at the output of 'netstat -i' to see if there are interface errors? Also, have you looked at the switch-side interface for errors, buffer problems, etc. (if that's possible)? Finally, have you swapped ports/cables on the switch? Regards, Mike From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 00:28:40 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AF49A16A403 for ; Wed, 7 Mar 2007 00:28:40 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: from web62205.mail.re1.yahoo.com (web62205.mail.re1.yahoo.com [69.147.75.4]) by mx1.freebsd.org (Postfix) with SMTP id 7541913C441 for ; Wed, 7 Mar 2007 00:28:40 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: (qmail 39435 invoked by uid 60001); 7 Mar 2007 00:28:39 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=wEaGj0UkHmSYANFSywxtt09wIOHC4Zk9YoZ0A6CQLJ7J3ZOjBpXR5A/DBKk51pswYwo7mlXNJNE9zwVHt3Ob98Lz0nifPGzOHdmOHK/M9QkP1eJtq5mDJA71i9/x5tueCudMnvWh9Ag7vkq48Eq3gl4uAoSxCTWtbnKBIRUgEa4=; X-YMail-OSG: qjXzK.MVM1ls.XtLy.XMvYFTaxEazSTNlkIy756MhY2Ca4jDZ0mYjD_vmH2Mbkxx.zIfCagwdQz9vLfHmpXBYfwMfLv9gealSz9kQZbJIDjz_N00s7aLFYhE.68LgmZp.7Za Received: from [67.46.93.3] by web62205.mail.re1.yahoo.com via HTTP; Tue, 06 Mar 2007 16:28:39 PST X-Mailer: YahooMailRC/468 YahooMailWebService/0.6.132.8 Date: Tue, 6 Mar 2007 16:28:39 -0800 (PST) From: Drew Jenkins To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <812894.39097.qm@web62205.mail.re1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 00:28:40 -0000 ----- Original Message ----=0AFrom: Jerry McAllister =0ATo= : Drew Jenkins =0ACc: freebsd-questions@freebsd.or= g=0ASent: Tuesday, March 6, 2007 7:46:26 PM=0ASubject: Re: Setting Env=0A= =0A>If you want the environment variable to=0A>be set for something that is= taking place in the script, then=0A>that variable must either be set in a = durable way in the parent=0A>environment or be set right there in the scrip= t that is using it.=0A>The rc.conf method will make it available from the p= arent.=0A>That is the whole point of rc.conf.=0A=0ARight. I figured that mu= ch. So, what do I actually put in that file? I tried these two options:=0A= =0Asetenv LD_LIBRARY_PATH /usr/local/lib/mysql/=0A=0Aexport LD_LIBRARY_PATH= =3D"/usr/local/lib/mysql/"=0A=0A=0AIt didn't like either, presumably becaus= e it's not calling a bash or c-shell. So, what should I put in /etc/rc.conf= that will achieve my objective?=0ATIA,=0ADrew=0A=0A=0A=0A=0A=0A=0A =0A____= ___________________________________________________________________________= _____=0AGet your own web address. =0AHave a HUGE year through Yahoo! Small= Business.=0Ahttp://smallbusiness.yahoo.com/domains/?p=3DBESTDEAL From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 01:03:36 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CFDC616A401 for ; Wed, 7 Mar 2007 01:03:36 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.100.219]) by mx1.freebsd.org (Postfix) with ESMTP id A5B3313C4AA for ; Wed, 7 Mar 2007 01:03:36 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (localhost.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.13.3/8.13.3) with ESMTP id l2713Zq1069879 for ; Tue, 6 Mar 2007 19:03:35 -0600 (CST) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <200703070103.l2713Zq1069879@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <69877.1173229415.1@dc.cis.okstate.edu> Date: Tue, 06 Mar 2007 19:03:35 -0600 From: Martin McCormick Subject: DHCP Server V3.0.5 No BPF under chroot. Works normally otherwise. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 01:03:36 -0000 I found some cook-book instructions for running dhcpd in a chroot environment. The article is 4 years old and appears to be set up for FreeBSD5x, but it isn't far off for FreeBSD6.2 which is what I need dhcpd to run on. Dhcpd runs fine when started normally as in /usr/local/sbin/dhcpd. I haven't yet gotten it to launch as the chroot'ed version. When one starts it, here is what happens: chroot /usr/local/chroot/dhcpd /usr/local/sbin/dhcpd Internet Systems Consortium DHCP Server V3.0.5 Copyright 2004-2006 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ WARNING: Host declarations are global. They are not limited to the scope you declared them in. Wrote 0 deleted host decls to leases file. Wrote 0 new dynamic host decls to leases file. Wrote 0 leases to leases file. No bpf devices. Please read the README section for your operating system. If I do a ls, everything looks identical: cd /usr/local/chroot/dhcpd/dev ls -l bpf* crw------- 1 root wheel 0, 96 Mar 6 11:44 bpf0 crw------- 1 root wheel 1, 97 Mar 6 11:44 bpf1 cd /dev ls -l bpf* crw------- 1 root wheel 0, 96 Mar 5 21:00 bpf0 crw------- 1 root wheel 0, 97 Mar 5 21:00 bpf1 The part of the script that makes those devices is as follows: BPF="`ls -l /dev/bpf0 | awk '{ print $6; }' | sed -e 's/,//g'`" export BPF BPF1="`ls -l /dev/bpf1 | awk '{ print $6; }' | sed -e 's/,//g'`" export BPF1 cd /usr/local/chroot/dhcpd/dev mknod bpf0 c 0 $BPF mknod bpf1 c 1 $BPF1 chmod 0600 bpf* I will post the script when it works since it appears to be about 90% good. It needs a little touch-up to make it work for FreeBSD6. My guess is that there is something else I need in the chroot environment since the bpf appears to work normally when dhcpd is run from root in the traditional way. My thanks and a lot of credit to the person who originally wrote this script which can be found at Linkname: Screaming Electron Forums - How to chroot your existing isc-dhcpd server on freebsd Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Network Operations Group URL: http://screamingelectron.org/forum/archive/index.php/t-837.html From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 02:28:18 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 79E8016A400 for ; Wed, 7 Mar 2007 02:28:18 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id 1CBFA13C481 for ; Wed, 7 Mar 2007 02:28:18 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id l272RgMg090596; Tue, 6 Mar 2007 18:27:42 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id l272Rfqg090595; Tue, 6 Mar 2007 18:27:41 -0800 (PST) (envelope-from kline) Date: Tue, 6 Mar 2007 18:27:41 -0800 From: Gary Kline To: Gary Kline Message-ID: <20070307022741.GA89675@thought.org> References: <20070306234516.GA80858@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070306234516.GA80858@thought.org> User-Agent: Mutt/1.4.2.2i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing twenty years of service to the Unix community Cc: FreeBSD Mailing List Subject: Re: kplayer patch snafu... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 02:28:18 -0000 On Tue, Mar 06, 2007 at 03:45:16PM -0800, Gary Kline wrote: > > Here's what happened with the path applied to kplayer. > Feedback welcome because I'd like to have a new, improved mplayer > working!! > > > kplayer-0.6.1.tar.bz2 100% of 4113 kB 13 kBps > 00m00s > ===> Extracting for kplayer-0.6.1 > => MD5 Checksum OK for kplayer-0.6.1.tar.bz2. > => SHA256 Checksum OK for kplayer-0.6.1.tar.bz2. > ===> Patching for kplayer-0.6.1 > ===> Applying FreeBSD patches for kplayer-0.6.1 > 1 out of 1 hunks failed--saving rejects to > kplayer/kplayerproperties.h.rej > => Patch patch-kplayerproperties.h failed to apply cleanly. > *** Error code 1 > > Stop in /usr/ports/multimedia/kplayer. > Well, I loooked at the code and figured it out. The original header is a very great deal different from the patch. There are new function named and more. --No, I didn't check the other patches. -g > > -- > Gary Kline kline@thought.org www.thought.org Public Service Unix > > _______________________________________________ > 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 www.thought.org Public Service Unix From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 02:35:03 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 69A0416A402 for ; Wed, 7 Mar 2007 02:35:03 +0000 (UTC) (envelope-from kdgrills@the-grills.com) Received: from sccrmhc14.comcast.net (sccrmhc14.comcast.net [204.127.200.84]) by mx1.freebsd.org (Postfix) with ESMTP id 3088E13C461 for ; Wed, 7 Mar 2007 02:35:03 +0000 (UTC) (envelope-from kdgrills@the-grills.com) Received: from srv2.the-grills.com (c-68-60-243-64.hsd1.il.comcast.net[68.60.243.64]) by comcast.net (sccrmhc14) with SMTP id <2007030702350201400rrj0ne>; Wed, 7 Mar 2007 02:35:02 +0000 Received: (qmail 45122 invoked by uid 1001); 7 Mar 2007 02:35:01 -0000 Date: Tue, 6 Mar 2007 20:35:01 -0600 From: "Kelly D. Grills" To: freebsd-questions@freebsd.org Message-ID: <20070307023501.GA44021@the-grills.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <200703070103.l2713Zq1069879@dc.cis.okstate.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ew6BAiZeqk4r7MaW" Content-Disposition: inline In-Reply-To: <200703070103.l2713Zq1069879@dc.cis.okstate.edu> X-Operating-System: FreeBSD/6.2-RELEASE (i386) X-PGP-Key: mailto:kdgrills-pgpkey@the-grills.com User-Agent: Mutt/1.5.13 (2006-08-11) Subject: Re: DHCP Server V3.0.5 No BPF under chroot. Works normally otherwise. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 02:35:03 -0000 --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 06, 2007 at 07:03:35PM -0600, Martin McCormick wrote: >=20 > I found some cook-book instructions for running dhcpd in > a chroot environment. The article is 4 years old and appears to > be set up for FreeBSD5x, but it isn't far off for FreeBSD6.2 > which is what I need dhcpd to run on. >=20 I run isc-dhcp3-server-3.0.5 from ports, started from /etc/rc.conf with the following options: dhcpd_enable=3D"YES" # dhcpd enabled? dhcpd_flags=3D"-q" # command option(s) dhcpd_conf=3D"/usr/local/etc/dhcpd.conf" # configuration file dhcpd_ifaces=3D"" # ethernet interface(s) dhcpd_withumask=3D"022" # file creation mask dhcpd_chuser_enable=3D"YES" # runs w/o privileges? dhcpd_withuser=3D"dhcpd" # user name to run as dhcpd_withgroup=3D"dhcpd" # group name to run as dhcpd_chroot_enable=3D"YES" # runs chrooted? dhcpd_devfs_enable=3D"YES" # use devfs if available? dhcpd_rootdir=3D"/var/db/dhcpd" # directory to run in dhcpd_includedir=3D"" # directory with config- Here's the full pkg-message: [root@srv2]/usr/ports/net/isc-dhcp3-server $ make display-message **** To setup dhcpd, you may have to copy /usr/local/etc/dhcpd.conf.sample to /usr/local/etc/dhcpd.conf for editing. **** This port installs dhcp daemon, but don't invokes dhcpd by default. If you want to invoke dhcpd at startup, put these lines into /etc/rc.con= f. dhcpd_enable=3D"YES" # dhcpd enabled? dhcpd_flags=3D"-q" # command option(= s) dhcpd_conf=3D"/usr/local/etc/dhcpd.conf" # configuration f= ile dhcpd_ifaces=3D"" # ethernet interf= ace(s) dhcpd_withumask=3D"022" # file creation m= ask **** If compiled with paranoia support (the default), the following lines are also supported: dhcpd_chuser_enable=3D"YES" # runs w/o privil= eges? dhcpd_withuser=3D"dhcpd" # user name to ru= n as dhcpd_withgroup=3D"dhcpd" # group name to r= un as dhcpd_chroot_enable=3D"YES" # runs chrooted? dhcpd_devfs_enable=3D"YES" # use devfs if avai= lable? dhcpd_makedev_enable=3D"YES" # use MAKEDEV inste= ad? dhcpd_rootdir=3D"/var/db/dhcpd" # directory to ru= n in dhcpd_includedir=3D"" # directory with = config- files to include dhcpd_flags=3D"-early_chroot" # needs full root WARNING: -early_chroot requires a jail(8) like environment to work. WARNING: dhcpd_devfs_enable and dhcpd_makedev_enable are mutually exclusive dhcpd_makedev_enable make NO sense on FreeBSD 5.x and up! **** If compiled with jail support (the default), the following lines are also supported (-early_chroot and dhcpd_chroot_enable=3DYES are impli= ed): dhcpd_jail_enable=3D"YES" # runs imprisoned? dhcpd_hostname=3D"" # jail hostname dhcpd_ipaddress=3D"" # jail ip address WARNING: dhcpd_rootdir needs to point to a full jail(8) environment. **** WARNING: never edit the chrooted or jailed dhcpd.conf file but /usr/local/etc/dhcpd.conf instead which is always copied where needed upon startup. **** WARNING: /usr/local/etc/rc.isc-dhcpd.conf is obsolete. rc.conf like variables are still read there but should be moved /etc/rc.conf or /etc/rc.conf.d/dhcpd instead. Also, the dhcpd_options variable must be renamed dhcpd_flags if any. --=20 Kelly D. Grills kdgrills@the-grills.com --ew6BAiZeqk4r7MaW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) Comment: PGP key: mailto:kdgrills-pgpkey@the-grills.com iD8DBQFF7iTV7inS5LzF7HMRAmIlAJ0flkJCa+cmxPkXbBGFZhGGAHWUPACfdPy2 bRT7tc1BxodwSeVxeShVO9o= =ATjD -----END PGP SIGNATURE----- --ew6BAiZeqk4r7MaW-- From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 03:00:13 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8299C16A405 for ; Wed, 7 Mar 2007 03:00:13 +0000 (UTC) (envelope-from j.ambrose@uq.edu.au) Received: from mailhub1.uq.edu.au (mailhub1.uq.edu.au [130.102.148.128]) by mx1.freebsd.org (Postfix) with ESMTP id 2A51F13C49D for ; Wed, 7 Mar 2007 03:00:12 +0000 (UTC) (envelope-from j.ambrose@uq.edu.au) Received: from smtp2a.uq.edu.au (smtp2a.uq.edu.au [130.102.128.17]) by mailhub1.uq.edu.au (8.13.7/8.13.7) with ESMTP id l272nCKE000870 for ; Wed, 7 Mar 2007 12:49:12 +1000 (EST) Received: from uqexav02.soe.uq.edu.au (uqexav02.soe.uq.edu.au [130.102.4.249]) by smtp2a.uq.edu.au (8.13.7/8.13.7) with ESMTP id l272nCWu039387 for ; Wed, 7 Mar 2007 12:49:12 +1000 (EST) Received: from UQEXMB1.soe.uq.edu.au ([130.102.4.217]) by uqexav02.soe.uq.edu.au with Microsoft SMTPSVC(6.0.3790.1830); Wed, 7 Mar 2007 12:49:12 +1000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Wed, 7 Mar 2007 12:49:11 +1000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: lsmod Thread-Index: AcdgYy8pvPwni112SF+rFdABKxEVoQ== From: "Johannes Ambrose" To: X-OriginalArrivalTime: 07 Mar 2007 02:49:12.0431 (UTC) FILETIME=[2FDBC7F0:01C76063] X-UQ-FilterTime: 1173235752 X-Scanned-By: MIMEDefang 2.51 on UQ Mailhub on 130.102.148.128 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: lsmod X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 03:00:13 -0000 Hi, I'm trying to install an application (vmware tools) and I get as far as: =20 Setup is unable to find the "lsmod" program on your machine. Please make sure=20 it is installed. Do you want to specify the location of this program by hand? =20 It seems there is no lsmod, modprobe, or any other related tools. How can I install these?=20 =20 Regards, Johannes From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 04:43:35 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 252BA16A404 for ; Wed, 7 Mar 2007 04:43:35 +0000 (UTC) (envelope-from ulrich@pukruppa.net) Received: from pukruppa.net (pukruppa.net [213.146.114.24]) by mx1.freebsd.org (Postfix) with ESMTP id 4BE4113C478 for ; Wed, 7 Mar 2007 04:43:34 +0000 (UTC) (envelope-from ulrich@pukruppa.net) Received: from pukruppa.net (pukruppa.net [213.146.114.24]) by pukruppa.net (8.13.8/8.13.8) with ESMTP id l274Fsgo055473; Wed, 7 Mar 2007 05:15:58 +0100 (CET) (envelope-from ulrich@pukruppa.net) Date: Wed, 7 Mar 2007 05:15:53 +0100 (CET) From: "P.U.Kruppa" To: jbousseau In-Reply-To: <1173186432.20605.10.camel@localhost> Message-ID: <20070307050719.M2006@pukruppa.net> References: <1173186432.20605.10.camel@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: upgrade, portupgrade or not ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 04:43:35 -0000 On Tue, 6 Mar 2007, jbousseau wrote: > Hi everyone, > > I actually got a FreeBSD 5.4 for Mail server ( postfix+imp+horde) , and > DNS server with bind. > I really hesitate to upgrade my ports and my BSD because the > configuration of IMP+horde+php is a real mess. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > What are your advices about it ? > > Pls notice i'm not a Bsd specialist. Thanx ^^^^^^^^^^^^^^^^^^^^ Under these special circumstances: Don't mess around with your running system. Do a completely fresh install on an extra machine and exchange the old one, when the new is up and running. Regards, Uli. Peter Ulrich Kruppa Wuppertal Germany From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 04:55:56 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 33C4516A401 for ; Wed, 7 Mar 2007 04:55:56 +0000 (UTC) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (mail.shire.net [166.70.252.250]) by mx1.freebsd.org (Postfix) with ESMTP id 1B6DC13C481 for ; Wed, 7 Mar 2007 04:55:56 +0000 (UTC) (envelope-from chad@shire.net) Received: from [67.171.127.191] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.51) id 1HOoBv-000CgM-LJ for freebsd-questions@freebsd.org; Tue, 06 Mar 2007 21:55:55 -0700 Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <17838240D9A5544AAA5FF95F8D52031601C59D59@ad-exh01.adhost.lan> References: <17838240D9A5544AAA5FF95F8D52031601C59D59@ad-exh01.adhost.lan> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <4A2E499D-27D6-4676-B7A0-CA56B1CF6699@shire.net> Content-Transfer-Encoding: 7bit From: "Chad Leigh -- Shire.Net LLC" Date: Tue, 6 Mar 2007 21:55:54 -0700 To: User Questions X-Mailer: Apple Mail (2.752.2) X-SA-Exim-Connect-IP: 67.171.127.191 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false Subject: Re: started getting repeated "bge0: PHY read timed out" messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 04:55:56 -0000 On Mar 6, 2007, at 5:08 PM, Michael K. Smith - Adhost wrote: > > Have you looked at the output of 'netstat -i' to see if there are > interface errors? Also, have you looked at the switch-side interface > for errors, buffer problems, etc. (if that's possible)? Finally, have > you swapped ports/cables on the switch? > > Regards, > > Mike Hi Mike Right now it seems to be behaving. netstat -i shows no issues and I have not had the problem recur again once I forced it from auto negotiation which ended up at 1000tx full duplex to now be 100tx at full duplex. I don't know if it is related to the problem or not or is a coincidence that once I did that the problem has not arisen. It happened about 3 times today before forcing the connection to be 100tx. If it starts to happen again I will try and log in to the console and do the netstat -i then... In the morning I will break out my powerbook and get the switch port assignments off a chart I have there so I can log in to the switch and check the port for errors. I have not swapped ports/cables on the switch this time around but have had the exact same symptoms on a server with the same HW that was using different cables and a different switch... I may swap cables but the machine is downtown and I am not so unless I cannot make progress I want to avoid going downtown :-) I may swap the mainboard if it happens again to see if it is HW. I have one or two spare mainboards of the same sort. Thanks! Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 05:02:05 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 26AED16A401 for ; Wed, 7 Mar 2007 05:02:05 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135]) by mx1.freebsd.org (Postfix) with ESMTP id 0556C13C428 for ; Wed, 7 Mar 2007 05:02:05 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout5.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l27524X4016317 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 6 Mar 2007 21:02:04 -0800 X-Auth-Received: from [192.168.10.41] (c-67-187-172-183.hsd1.ca.comcast.net [67.187.172.183]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l27523Qh025148 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 6 Mar 2007 21:02:04 -0800 Message-ID: <45EE4749.8080808@u.washington.edu> Date: Tue, 06 Mar 2007 21:02:01 -0800 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.9 (X11/20070122) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <812894.39097.qm@web62205.mail.re1.yahoo.com> In-Reply-To: <812894.39097.qm@web62205.mail.re1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.0.289146, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.3.6.205433 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='LEO_OBFU_SUBJ_RE 0.1, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 05:02:05 -0000 Drew Jenkins wrote: > ----- Original Message ---- > From: Jerry McAllister > To: Drew Jenkins > Cc: freebsd-questions@freebsd.org > Sent: Tuesday, March 6, 2007 7:46:26 PM > Subject: Re: Setting Env > >> If you want the environment variable to >> be set for something that is taking place in the script, then >> that variable must either be set in a durable way in the parent >> environment or be set right there in the script that is using it. >> The rc.conf method will make it available from the parent. >> That is the whole point of rc.conf. > > Right. I figured that much. So, what do I actually put in that file? I tried these two options: > > setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ > > export LD_LIBRARY_PATH="/usr/local/lib/mysql/" > > > It didn't like either, presumably because it's not calling a bash or c-shell. So, what should I put in /etc/rc.conf that will achieve my objective? > TIA, > Drew LD_LIBRARY_PATH=/usr/local/lib/mysql/ not work for you? Why not source environment variables from an outside script / rc-file? It's better / smarter in the long run, IMHO. -Garrett From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 05:05:30 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6595416A404 for ; Wed, 7 Mar 2007 05:05:30 +0000 (UTC) (envelope-from paulette_mcgee@yahoo.com) Received: from web62309.mail.re1.yahoo.com (web62309.mail.re1.yahoo.com [69.147.75.23]) by mx1.freebsd.org (Postfix) with SMTP id 064E713C46B for ; Wed, 7 Mar 2007 05:05:29 +0000 (UTC) (envelope-from paulette_mcgee@yahoo.com) Received: (qmail 5733 invoked by uid 60001); 7 Mar 2007 05:05:29 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=CSS3ECrGvIgvWWOO2ze5o9g1UEYEyq7MdnvyKiy6EuoJeC7UM2D4iNcmetbupAKjNzTgDlid9ohzz4CrQLygWfTYBsfSz8kvPTyWWPAET4vDUjas9AbzIXtcO7OGvLRxTi3UcVaINusNck0wcbikgCGaJxHEa0KWgOuAmMW0S/Y=; X-YMail-OSG: UV04nhMVM1kmXWAU2TKlkNhGyQsLUEuAE7MnE86DKhlCq_fgJzT9uhruHbzqr19AcTiLsUSJc132.UE7nRXQivtEGAaLHzA9We280mQch9hUWfOPPNrJorb9YdjEy.wS Received: from [68.164.15.239] by web62309.mail.re1.yahoo.com via HTTP; Tue, 06 Mar 2007 21:05:29 PST Date: Tue, 6 Mar 2007 21:05:29 -0800 (PST) From: Paulette McGee To: Johannes Ambrose , freebsd-questions@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <454182.3245.qm@web62309.mail.re1.yahoo.com> Cc: Subject: Re: lsmod X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 05:05:30 -0000 --- Johannes Ambrose wrote: > Hi, > > I'm trying to install an application (vmware tools) > and I get as far as: > > > > Setup is unable to find the "lsmod" program on your > machine. Please make > sure > > it is installed. Do you want to specify the location > of this program by > hand? > > > > It seems there is no lsmod, modprobe, or any other > related tools. How > can I install these? > > > > Regards, > > Johannes > > _______________________________________________ > 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" > Hello Johannes, There is no lsmod, modprobe et al; however there are similar tools like: kldstat, kldload, etc. Here is some additional information that might prove useful. http://www.onlamp.com/pub/a/bsd/2005/01/13/FreeBSD_Basics.html Regards, Paulette McGee ____________________________________________________________________________________ 8:00? 8:25? 8:40? Find a flick in no time with the Yahoo! Search movie showtime shortcut. http://tools.search.yahoo.com/shortcuts/#news From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 05:52:54 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EF3EE16A400 for ; Wed, 7 Mar 2007 05:52:54 +0000 (UTC) (envelope-from nv.kiran.kumar@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id 554D013C4A5 for ; Wed, 7 Mar 2007 05:52:54 +0000 (UTC) (envelope-from nv.kiran.kumar@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so411832ugh for ; Tue, 06 Mar 2007 21:52:53 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=A9mWtPiMF4xpDeT2kfpL7Z5fJi1vZFf4Kga6JyUg3NJjVPZICMSpwczQfH02WJh/dFfgWB8TYpSVxUPdVm9oDd9/pf6uLus93z16ryPsrz3JrdKIVDmeWBKEDSwdARKTucHZeeEGBxoWbt3I0whw+EtUALPu+/4gP4dVqyWkf64= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=cXBBGNFpiJjx3PLDAk2keBZHgdH2UjTVbNSWNNyPkH1RwMqrmG0V+pCDUl4Pp/c78GZ80xBkpT33hAkmChHk31J/fgmyXTw9f3lmhOh2BqZMbNx+JFTnifiSh6QtbAmKVXPDiLFZ5Uhro/QN4JMgYyoXSi1BLdAtZrhURDC8PBY= Received: by 10.66.252.4 with SMTP id z4mr3397701ugh.1173245287037; Tue, 06 Mar 2007 21:28:07 -0800 (PST) Received: by 10.67.100.6 with HTTP; Tue, 6 Mar 2007 21:28:07 -0800 (PST) Message-ID: <7772d7120703062128v5e9e546auec83e300f741154d@mail.gmail.com> Date: Wed, 7 Mar 2007 10:58:07 +0530 From: "kk kumar" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: reprocess mails in sendmail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 05:52:55 -0000 Hi all, Do you need to include specific commands to periodically process the queue with sendmail? With sendmail I would explicitly (via cron) rerun queue processing every 30 minutes or so. Is there any better method to do this in sendmail itself. The reason for this question is that some of the mails which needs to be delivered to another mail server was not reachable and this mail was not processed for 4 days. but when i manually flush the queue i am able to send the mail to the RCPT mail server. Any fields i need to change in Sendmail for solving this problem. Regards Kiran Kumar From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 08:07:07 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 007E616A401 for ; Wed, 7 Mar 2007 08:07:07 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: from web62214.mail.re1.yahoo.com (web62214.mail.re1.yahoo.com [69.147.75.13]) by mx1.freebsd.org (Postfix) with SMTP id B949913C461 for ; Wed, 7 Mar 2007 08:07:06 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: (qmail 55673 invoked by uid 60001); 7 Mar 2007 08:07:06 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=fM5N7svCMlxVVvJpfx/oaxJI/srmL++F0Mwm5sqG1b4q0+Kfbc7YYiLbyrostmKPDkeIZJN0hqXHmPVOKwhVjPqaNNSv59MSxbcCXmZ2dQsoqZ38SxPCFsW8jws2nUB1V8923vBctrOLvtkmhBTOhJV7pPB6W1Oqyax/2I/kFQ4=; X-YMail-OSG: YkMV2KoVM1knt5sbUthGbxjqMCShBEqkymZ8ea1ZMFSV66fv4oU_LdauibWGOIJcJxWl73fRFobcAIoFyIG_oHpOSLLdzWTDlhLKl1PAYsCjsKral7r6opMv7_dc7_NhY8c- Received: from [67.46.93.3] by web62214.mail.re1.yahoo.com via HTTP; Wed, 07 Mar 2007 00:07:05 PST X-Mailer: YahooMailRC/468 YahooMailWebService/0.6.132.8 Date: Wed, 7 Mar 2007 00:07:05 -0800 (PST) From: Drew Jenkins To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <959079.54670.qm@web62214.mail.re1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 08:07:07 -0000 ----- Original Message ----=0AFrom: Garrett Cooper =0ATo: freebsd-questions@freebsd.org=0ASent: Wednesday, March 7, 2007 1:= 02:01 AM=0ASubject: Re: Setting Env=0A=0ADrew Jenkins wrote:=0A=0A>LD_LIBRA= RY_PATH=3D/usr/local/lib/mysql/ not work for you?=0A=0A>Why not source envi= ronment variables from an outside script / rc-file? =0A>It's better / smart= er in the long run, IMHO.=0A=0ASounds great. Again, as I wrote in my last p= ost, I don't know *exactly* what command needs to be entered!! I have tried= this in the /etc/rc.conf file:=0A=0Asetenv LD_LIBRARY_PATH /usr/local/lib/= mysql/=0A--or--=0Aexport LD_LIBRARY_PATH=3D"/usr/local/lib/mysql/"=0A--or--= =0ALD_LIBRARY_PATH=3D/usr/local/lib/mysql/=0A=0Anone of which work. I have = tried creating a script and chmod +x in the /usr/local/etc/rc.d folder:=0A= =0A#!/bin/csh=0Asetenv LD_LIBRARY_PATH /usr/local/lib/mysql/=0A=0Aand that = doesn't work, either. Would it be okay if I asked anyone out there to tell = me *exactly* what I need to do to get this to be set on startup??=0ATIA.=0A= Drew=0A=0A=0A=0A=0A=0A=0A=0A =0A___________________________________________= _________________________________________=0ABe a PS3 game guru.=0AGet your = game face on with the latest PS3 news and previews at Yahoo! Games.=0Ahttp:= //videogames.yahoo.com/platform?platform=3D120121 From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 08:07:10 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CC7A616A402 for ; Wed, 7 Mar 2007 08:07:10 +0000 (UTC) (envelope-from benfell@earth.parts-unknown.org) Received: from earth.parts-unknown.org (earth.parts-unknown.org [66.93.170.243]) by mx1.freebsd.org (Postfix) with SMTP id AA34113C467 for ; Wed, 7 Mar 2007 08:07:10 +0000 (UTC) (envelope-from benfell@earth.parts-unknown.org) Received: (qmail 14566 invoked by uid 501); 7 Mar 2007 08:07:09 -0000 Date: Wed, 7 Mar 2007 00:07:09 -0800 From: David Benfell To: freebsd-questions@freebsd.org Message-ID: <20070307080709.GA12501@parts-unknown.org> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZGiS0Q5IWpPtfppv" Content-Disposition: inline X-gnupg-public-key: http://www.parts-unknown.org/gnupg/export-0DD1D1E3 X-stardate: [-29]7246.66 X-moon: The Moon is Waning Gibbous (91% of Full) User-Agent: Mutt/1.5.13 (2006-08-11) Subject: .wavs play but not .mp3s X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 08:07:10 -0000 --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello all, I'm not having any trouble playing .wav files; lame -h seems to happily convert them, and mpg123 and madplay don't complain when I ask them to play .mp3s, but I'm also not hearing any sound. xmms does nothing. I'm not getting any visible errors in any of this. I tried using the sample command from the FreeBSD manual, which specifies a device; I don't have dsp1.0 so I tried dsp0.0 . I have: crw-rw-rw- 1 root wheel 0, 45 Mar 2 13:49 /dev/dsp0.0 crw-rw-rw- 1 root wheel 0, 48 Mar 6 22:28 /dev/dsp0.1 crw-rw-rw- 1 root wheel 0, 51 Mar 2 13:49 /dev/dsp0.2 crw-rw-rw- 1 root wheel 0, 54 Mar 2 13:49 /dev/dsp0.3 crw-rw-rw- 1 root wheel 0, 57 Mar 2 13:49 /dev/dsp0.4 crw-rw-rw- 1 root wheel 0, 61 Mar 2 13:49 /dev/dsp0.5 crw-rw-rw- 1 root wheel 0, 46 Mar 2 13:49 /dev/dspW0.0 crw-rw-rw- 1 root wheel 0, 49 Mar 2 13:49 /dev/dspW0.1 crw-rw-rw- 1 root wheel 0, 52 Mar 2 13:49 /dev/dspW0.2 crw-rw-rw- 1 root wheel 0, 55 Mar 2 13:49 /dev/dspW0.3 crw-rw-rw- 1 root wheel 0, 58 Mar 2 13:49 /dev/dspW0.4 crw-rw-rw- 1 root wheel 0, 62 Mar 2 13:49 /dev/dspW0.5 crw-rw-rw- 1 root wheel 0, 60 Mar 2 13:49 /dev/dspr0.4 crw-rw-rw- 1 root wheel 0, 64 Mar 2 13:49 /dev/dspr0.5 So, why is this such a problem? --=20 David Benfell, LCP benfell@parts-unknown.org --- Resume available at http://www.parts-unknown.org/ NOTE: I sign all messages with GnuPG (0DD1D1E3). --ZGiS0Q5IWpPtfppv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF7nKtUd+dMw3R0eMRAmsaAKChb2C7vAvpYE2cI4LDmJ3G3kPsJgCcDXL/ sxExtAnWluFvhs7z6iE1wDc= =1fsm -----END PGP SIGNATURE----- --ZGiS0Q5IWpPtfppv-- From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 08:24:16 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8D45B16A401 for ; Wed, 7 Mar 2007 08:24:16 +0000 (UTC) (envelope-from coolzone@io.dk) Received: from dansknet.dk (smtp1.dansknet.dk [85.233.229.242]) by mx1.freebsd.org (Postfix) with SMTP id E173313C46B for ; Wed, 7 Mar 2007 08:24:15 +0000 (UTC) (envelope-from coolzone@io.dk) Received: (qmail 2848 invoked from network); 7 Mar 2007 08:30:23 -0000 Received: from 85233228239.switch.dansknet.dk (HELO dansknet.dk) (85.233.228.239) by dansknet.dk with SMTP; 7 Mar 2007 08:30:23 -0000 Date: Wed, 7 Mar 2007 09:29:00 +0100 From: Rico Secada To: freebsd-questions@freebsd.org Message-Id: <20070307092900.5c02f901.coolzone@io.dk> X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.9; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: An alternative to FOP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 08:24:16 -0000 Hi all I am working on a documentation project using docbook in which I need to incorporate some arabic text. I am using xsltproc to convert to xhtml and fo, and it works perfectly. Normally I use FOP to convert from fo to pdf, but FOP can't render the arabic text. And the result is hashes (###). I have checket the fo file and it has been converted perfectly as well. I need an alternative to FOP, which can handle utf8, any recommendations would be appreciated. Best and kind regards, Rico From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 08:55:23 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 432B716A403 for ; Wed, 7 Mar 2007 08:55:23 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by mx1.freebsd.org (Postfix) with ESMTP id 210F813C47E for ; Wed, 7 Mar 2007 08:55:23 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7] (may be forged)) by mxout1.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l278tMkp018198 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 7 Mar 2007 00:55:22 -0800 X-Auth-Received: from [192.168.10.41] (c-67-187-172-183.hsd1.ca.comcast.net [67.187.172.183]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l278tLCP023334 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 7 Mar 2007 00:55:22 -0800 Message-ID: <45EE7DF7.5010506@u.washington.edu> Date: Wed, 07 Mar 2007 00:55:19 -0800 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.9 (X11/20070122) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <959079.54670.qm@web62214.mail.re1.yahoo.com> In-Reply-To: <959079.54670.qm@web62214.mail.re1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.0.289146, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.3.7.4433 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='LEO_OBFU_SUBJ_RE 0.1, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 08:55:23 -0000 Drew Jenkins wrote: > ----- Original Message ---- > From: Garrett Cooper > To: freebsd-questions@freebsd.org > Sent: Wednesday, March 7, 2007 1:02:01 AM > Subject: Re: Setting Env > > Drew Jenkins wrote: > >> LD_LIBRARY_PATH=/usr/local/lib/mysql/ not work for you? > >> Why not source environment variables from an outside script / rc-file? >> It's better / smarter in the long run, IMHO. > > Sounds great. Again, as I wrote in my last post, I don't know *exactly* what command needs to be entered!! I have tried this in the /etc/rc.conf file: > > setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ > --or-- > export LD_LIBRARY_PATH="/usr/local/lib/mysql/" > --or-- > LD_LIBRARY_PATH=/usr/local/lib/mysql/ > > none of which work. I have tried creating a script and chmod +x in the /usr/local/etc/rc.d folder: > > #!/bin/csh > setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ > > and that doesn't work, either. Would it be okay if I asked anyone out there to tell me *exactly* what I need to do to get this to be set on startup?? > TIA. > Drew The question is, what's failing (or not behaving as expected)? -Garrett From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 08:58:10 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ADB2B16A403 for ; Wed, 7 Mar 2007 08:58:10 +0000 (UTC) (envelope-from racerx@makeworld.com) Received: from omr6.networksolutionsemail.com (omr6.networksolutionsemail.com [205.178.146.56]) by mx1.freebsd.org (Postfix) with ESMTP id 7277413C481 for ; Wed, 7 Mar 2007 08:58:10 +0000 (UTC) (envelope-from racerx@makeworld.com) Received: from mail.networksolutionsemail.com (ns-omr6.mgt.netsol.com [10.49.6.69]) by omr6.networksolutionsemail.com (8.13.6/8.13.6) with SMTP id l278w9LL019087 for ; Wed, 7 Mar 2007 03:58:09 -0500 Received: (qmail 23818 invoked by uid 78); 7 Mar 2007 08:58:09 -0000 Received: from unknown (HELO ?192.168.15.200?) (racerx@makeworld.com@71.113.184.254) by ns-omr6.lb.hosting.dc2.netsol.com with SMTP; 7 Mar 2007 08:58:09 -0000 Message-ID: <45EE7E9B.9070609@makeworld.com> Date: Wed, 07 Mar 2007 02:58:03 -0600 From: Chris User-Agent: Thunderbird 1.5.0.9 (X11/20070103) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20070307080709.GA12501@parts-unknown.org> In-Reply-To: <20070307080709.GA12501@parts-unknown.org> X-Enigmail-Version: 0.94.2.0 OpenPGP: id=C01BC363 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: .wavs play but not .mp3s X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: racerx@makeworld.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 08:58:10 -0000 David Benfell wrote: > Hello all, > > I'm not having any trouble playing .wav files; lame -h > seems to happily convert them, and mpg123 and madplay > don't complain when I ask them to play .mp3s, but I'm > also not hearing any sound. > > xmms does nothing. I'm not getting any visible errors > in any of this. > > I tried using the sample command from the FreeBSD manual, > which specifies a device; I don't have dsp1.0 so I tried > dsp0.0 . > > I have: > > crw-rw-rw- 1 root wheel 0, 45 Mar 2 13:49 /dev/dsp0.0 > crw-rw-rw- 1 root wheel 0, 48 Mar 6 22:28 /dev/dsp0.1 > crw-rw-rw- 1 root wheel 0, 51 Mar 2 13:49 /dev/dsp0.2 > crw-rw-rw- 1 root wheel 0, 54 Mar 2 13:49 /dev/dsp0.3 > crw-rw-rw- 1 root wheel 0, 57 Mar 2 13:49 /dev/dsp0.4 > crw-rw-rw- 1 root wheel 0, 61 Mar 2 13:49 /dev/dsp0.5 > crw-rw-rw- 1 root wheel 0, 46 Mar 2 13:49 /dev/dspW0.0 > crw-rw-rw- 1 root wheel 0, 49 Mar 2 13:49 /dev/dspW0.1 > crw-rw-rw- 1 root wheel 0, 52 Mar 2 13:49 /dev/dspW0.2 > crw-rw-rw- 1 root wheel 0, 55 Mar 2 13:49 /dev/dspW0.3 > crw-rw-rw- 1 root wheel 0, 58 Mar 2 13:49 /dev/dspW0.4 > crw-rw-rw- 1 root wheel 0, 62 Mar 2 13:49 /dev/dspW0.5 > crw-rw-rw- 1 root wheel 0, 60 Mar 2 13:49 /dev/dspr0.4 > crw-rw-rw- 1 root wheel 0, 64 Mar 2 13:49 /dev/dspr0.5 > > So, why is this such a problem? > This looks like it might be a Sony device (or perhaps an HDA Intel sound device). If this is the case, try the OSS sound drivers. I had to use them from 6.0 till current. Not sure if 6.2 supports the above natively (only because I went with what I knew worked). Here's the link: http://www.opensound.com/download.cgi It's really easy to install. -- Best regards, Chris Nothing is ever so bad that it can't get worse. From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 09:13:36 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EDC0C16A407 for ; Wed, 7 Mar 2007 09:13:36 +0000 (UTC) (envelope-from mayday@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 4625413C48D for ; Wed, 7 Mar 2007 09:13:36 +0000 (UTC) (envelope-from mayday@gmx.net) Received: (qmail 19196 invoked by uid 0); 7 Mar 2007 09:13:35 -0000 Received: from 134.2.188.3 by www019.gmx.net with HTTP; Wed, 07 Mar 2007 10:13:34 +0100 (CET) Content-Type: text/plain; charset="us-ascii" Date: Wed, 07 Mar 2007 10:13:35 +0100 From: "Benjamin Sobotta" In-Reply-To: <20070307080709.GA12501@parts-unknown.org> Message-ID: <20070307091335.274890@gmx.net> MIME-Version: 1.0 References: <20070307080709.GA12501@parts-unknown.org> To: David Benfell , freebsd-questions@freebsd.org X-Authenticated: #431110 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX1+REAFDtcWR2N0Cnj2PotAn/TH+rYf81xVA5Dq5Bw 3soI5eHYdLEdW35IsS9z8xgNoYoQGhoOQAAA== Content-Transfer-Encoding: 7bit Cc: Subject: Re: .wavs play but not .mp3s X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 09:13:37 -0000 -------- Original-Nachricht -------- Datum: Wed, 7 Mar 2007 00:07:09 -0800 Von: David Benfell An: freebsd-questions@freebsd.org CC: Betreff: .wavs play but not .mp3s > Hello all, > > I'm not having any trouble playing .wav files; lame -h > seems to happily convert them, and mpg123 and madplay > don't complain when I ask them to play .mp3s, but I'm > also not hearing any sound. > > xmms does nothing. I'm not getting any visible errors > in any of this. > > I tried using the sample command from the FreeBSD manual, > which specifies a device; I don't have dsp1.0 so I tried > dsp0.0 . > > I have: > > crw-rw-rw- 1 root wheel 0, 45 Mar 2 13:49 /dev/dsp0.0 > crw-rw-rw- 1 root wheel 0, 48 Mar 6 22:28 /dev/dsp0.1 > crw-rw-rw- 1 root wheel 0, 51 Mar 2 13:49 /dev/dsp0.2 > crw-rw-rw- 1 root wheel 0, 54 Mar 2 13:49 /dev/dsp0.3 > crw-rw-rw- 1 root wheel 0, 57 Mar 2 13:49 /dev/dsp0.4 > crw-rw-rw- 1 root wheel 0, 61 Mar 2 13:49 /dev/dsp0.5 > crw-rw-rw- 1 root wheel 0, 46 Mar 2 13:49 /dev/dspW0.0 > crw-rw-rw- 1 root wheel 0, 49 Mar 2 13:49 /dev/dspW0.1 > crw-rw-rw- 1 root wheel 0, 52 Mar 2 13:49 /dev/dspW0.2 > crw-rw-rw- 1 root wheel 0, 55 Mar 2 13:49 /dev/dspW0.3 > crw-rw-rw- 1 root wheel 0, 58 Mar 2 13:49 /dev/dspW0.4 > crw-rw-rw- 1 root wheel 0, 62 Mar 2 13:49 /dev/dspW0.5 > crw-rw-rw- 1 root wheel 0, 60 Mar 2 13:49 /dev/dspr0.4 > crw-rw-rw- 1 root wheel 0, 64 Mar 2 13:49 /dev/dspr0.5 > > So, why is this such a problem? > > -- > David Benfell, LCP > benfell@parts-unknown.org > --- > Resume available at http://www.parts-unknown.org/ > NOTE: I sign all messages with GnuPG (0DD1D1E3). Hi! I'm not sure about this, but sometimes the volume of the different output devices is just maladjusted. You may want to check the output of "mixer" to see if any relevant devices are zero. Maybe this helps, Benjamin From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 09:43:16 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 38EF916A404 for ; Wed, 7 Mar 2007 09:43:16 +0000 (UTC) (envelope-from rj45@slacknet.com) Received: from slacknet.com (slacknet.com [166.70.153.62]) by mx1.freebsd.org (Postfix) with ESMTP id 1CACD13C48E for ; Wed, 7 Mar 2007 09:43:16 +0000 (UTC) (envelope-from rj45@slacknet.com) Received: from rj45 (helo=localhost) by slacknet.com with local-esmtp (Exim 4.50 #1 (Debian)) id 1HOsfz-0004xz-BR; Wed, 07 Mar 2007 02:43:15 -0700 Date: Wed, 7 Mar 2007 02:43:15 -0700 (MST) From: RJ45 To: freebsd-questions@freebsd.org In-Reply-To: <20070306190034.GA21811@seekingfire.com> Message-ID: References: <20070306190034.GA21811@seekingfire.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: rj45@slacknet.com X-SA-Exim-Scanned: No (on slacknet.com); SAEximRunCond expanded to false Cc: Subject: Re: Kerberos authenticatino and ldap authorization X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 09:43:16 -0000 there are many difficulties and YES there is the documentation on FreeBSD handbook but it does not helped me so much I Still ahve difficulties. I isntalled MIT krb5 also and I Am using kadmin from MIT to manage krb5 server. First problem kadmin: ktadd -k /etc/krb5.keytab host/host.domain kadmin: Unsupported key table format version number while adding key to keytab I can't undertand this message i touched /etc/krb5.keytab but via kadmin it is unable to export the krb5 key I added before with addprinc -randkey host/host.domain i also chmod 777 krb5.keytab nothing to do at the end I exported it from the kdc and copied it by hand in /etc/krb5.keytab on my client FreeBSD box, but I do not know if in this way it will work. anyway now I have another problem. I am not able to configure ssh to login via kerberos. I tryed everything KerberosAuthentication yes KerberosOrLocalPasswd yes KerberosTicketCleanup yes Then I changed /etc/pam.d/sshd # auth auth required pam_nologin.so no_warn auth sufficient pam_opie.so no_warn no_fake_prompts auth requisite pam_opieaccess.so no_warn allow_local auth sufficient pam_krb5.so no_warn try_first_pass #auth sufficient pam_ssh.so no_warn try_first_pass auth required pam_unix.so no_warn try_first_pass # account account required pam_krb5.so account required pam_login_access.so account required pam_unix.so # session #session optional pam_ssh.so session required pam_permit.so # password password sufficient pam_krb5.so no_warn try_first_pass password required pam_unix.so no_warn try_first_pass and ssh won't authenticate via kerberos: Mar 7 10:27:24 bastionbox1 sshd[1019]: Invalid user myself from 131.x.y.z Mar 7 10:27:33 bastionbox1 sshd[1019]: error: PAM: authentication error for illegal user myself from mylapdop.domain I must miss something I do not know what... Actually I do not think this scenario on BSD users is commonly used, and I Cannot find documentation to help myself, anyway I need this scenario that was implemented on Linux before. I do not want to use Linux anyway for this porpouse (bastion SSH box for public login via krb5/ldap) At the end anyway the scenario needs to be krb5 for authentication and LDAP for authorization For now I am not able to authenticate via krb5 any hints ? thanks Rick On Tue, 6 Mar 2007, Tillman Hodgson wrote: > On Tue, Mar 06, 2007 at 10:07:57AM -0700, RJ45 wrote: >> for example I would like to installa MIT krb5 implementation from ports >> instead of using heidmal default this because the kerberos server >> on my network is a MIT server and I can't use kadmin on FreeBSD >> to administrer the kerberos server remotely using heidmal implementation. >> Anyone has experience of MIT krb5 implementation on FreeBSD ? > > The handbook has a chapter on setting up Kerberos, albeit focused on Heimdal. > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kerberos5.html > > In section 14.8.6 it notes that the kadmin protocol differs between > Kerberos implementations -- you have to use the MIT kadmin to administer > a remote MIT KDC. > > Other than the kadmin bits (which are fairly different between the two > but isn't used by end-users anyway), it's pretty much transparent to a > Kerberos-enabled workstation which implementation it's using. I > typically install both (to different paths to avoid file conflicts) > because I like using the newest Heimdal rather than the one in base and > also because the included client applications differ. For example, MIT > has Kerberos rsh whereas the base Heimdal doesn't for some of the > platforms that I use. > > If you run into any specific issues when setting it up, please post back > to the list and cc me and I'll give you a hand. > > -T > > > -- > "I once bought a cellphone that had a little sticker on the box that said > 'DO NOT EAT PACKAGING MATERIAL'. There went another freebie snack at the > office." > - A.S.R. quote (Andreas "Buzh" Skau) > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 09:58:51 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2929116A402 for ; Wed, 7 Mar 2007 09:58:51 +0000 (UTC) (envelope-from jonathan@hst.org.za) Received: from sirian.hst.org.za (sirian.hst.org.za [209.203.2.130]) by mx1.freebsd.org (Postfix) with ESMTP id 87EC613C4A6 for ; Wed, 7 Mar 2007 09:58:49 +0000 (UTC) (envelope-from jonathan@hst.org.za) Received: from localhost (localhost.hst.org.za [127.0.0.1]) by sirian.hst.org.za (Postfix) with ESMTP id 71E2031D546; Wed, 7 Mar 2007 11:54:43 +0200 (SAST) Received: from sirian.hst.org.za ([127.0.0.1]) by localhost (sirian.hst.org.za [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21617-05; Wed, 7 Mar 2007 11:54:43 +0200 (SAST) Received: from sysadmin.int.dbn.hst.org.za (sysadmin.int.dbn.hst.org.za [10.1.1.20]) by sirian.hst.org.za (Postfix) with ESMTP id 3A43731D483; Wed, 7 Mar 2007 11:54:40 +0200 (SAST) From: Jonathan McKeown Organization: Health Systems Trust To: freebsd-questions@freebsd.org Date: Wed, 7 Mar 2007 11:59:56 +0200 User-Agent: KMail/1.7.2 References: <7772d7120703062128v5e9e546auec83e300f741154d@mail.gmail.com> In-Reply-To: <7772d7120703062128v5e9e546auec83e300f741154d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703071159.57075.jonathan@hst.org.za> X-Virus-Scanned: by amavisd-new at hst.org.za Cc: kk kumar Subject: Re: reprocess mails in sendmail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 09:58:51 -0000 On Wednesday 07 March 2007 07:28, kk kumar wrote: > Hi all, > > Do you need to include specific commands to periodically process the queue > with sendmail? With sendmail I would explicitly (via cron) rerun queue > processing every 30 minutes or so. Is there any better method to do this in > sendmail itself. The reason for this question is that some of the mails > which needs to be delivered to another mail server was not reachable and > this mail was not processed for 4 days. but when i manually flush the queue > i am able to send the mail to the RCPT mail server. Any fields i need to > change in Sendmail for solving this problem. This should be happening automatically unless you've changed the startup flags from the defaults in /etc/defaults/rc.conf. Read the manpage for rc.sendmail(8). It lists the various options available for starting sendmail. The default values for these settings are in /etc/defaults/rc.conf. Unless you've changed them in /etc/rc.conf, every set of flags contains -q30m which runs the queue every 30 minutes. Jonathan From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 10:16:24 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5462D16A408 for ; Wed, 7 Mar 2007 10:16:24 +0000 (UTC) (envelope-from vizion@vizion.occoxmail.com) Received: from dukecmmtao03.coxmail.com (dukecmmtao03.coxmail.com [68.99.120.70]) by mx1.freebsd.org (Postfix) with ESMTP id EDDE813C48D for ; Wed, 7 Mar 2007 10:16:23 +0000 (UTC) (envelope-from vizion@vizion.occoxmail.com) Received: from dukecmmtao03 ([172.18.22.60]) by dukecmmtao03.coxmail.com (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with SMTP id <20070307101621.MGLE2045.dukecmmtao03.coxmail.com@dukecmmtao03>; Wed, 7 Mar 2007 05:16:21 -0500 X-Mailer: Openwave WebEngine, version 2.8.16 (webedge20-101-1106-20040809) From: Vizion Organization: vizion Communications To: Date: Wed, 7 Mar 2007 2:16:22 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20070307101621.MGLE2045.dukecmmtao03.coxmail.com@dukecmmtao03> Cc: eoghanj@gmail.com, galvez@virginia.edu Subject: Re: apache problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 10:16:24 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of eoghan > Sent: Tuesday, March 06, 2007 3:04 PM > To: Mike Galvez > Cc: freebsd-questions@freebsd.org > Subject: Re: apache problem > > On 3/6/07, Mike Galvez wrote: > > > > >> > > -----Original Message----- > > > >> > > From: owner-freebsd-questions@freebsd.org > > > >> > > [mailto:owner-freebsd-questions@freebsd.org] On > Behalf Of eoghan > > > >> > > Sent: Tuesday, March 06, 2007 5:50 AM > > > >> > > To: freebsd > > > >> > > Subject: apache problem > > > >> > > > > > >> > > Hi > > > >> > > I am running apache 2.2.4 on FreeBSD 6.1. This is a recent > > > >> > > upgrade from ports (in the past few days or so). > Since then I > > > >> > > cant browse to localhost. Just get an unable to connect > > > >> > > message. The server seems to start with: > > > >> > > $sudo apachectl start > > > >> > > If I try it again I see its already running. > > > >> > > My error log shows: > > > >> > > [Mon Mar 05 11:20:00 2007] [notice] Apache/2.2.4 (FreeBSD) > > > >> > > mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.1 > with Suhosin-Patch > > > >> > > configured -- resuming normal operations > > > >> > > [Mon Mar 05 11:20:22 2007] [notice] caught > SIGTERM, shutting down > > > >> > > > > > >> > > I have tried the apache list but no real answers, > and apache > > > >> > > was working fine for me before I upgraded. Has anyone else > > > >> > > noticed this since an upgrade to the 2.2.4 version > from ports? > > > >> > > > > > >> > > Thanks > > > >> > > Eoghan > > > >> > > > > >> > I had the same problem. Here is how I fixed it: > > > >> > #apachectl stop > > > >> > # cd /usr/ports/www/apache22 > > > >> > #make clean > > > >> > # make deinstall > > > >> > # rm ./* > > > >> > Then do a cvsup ports all > > > >> > now once more > > > >> > #cd /usr/ports/www/apache22 > > > >> > # make (it will use your stored config) > > > >> > #make install > > > >> > #make clean > > > >> > #apachectl start > > > >> > > > >> Hi > > > >> Gret, thanks for that, I will give this a go. > > > >> Regards > > > >> Eoghan > > > >> > > > >all the best > > > >please let me know if it works 4U > > > >-- I have made a posting on ports@freebsd.org -- so the > maintainer knows > > > >aboutthe problem. If this also works for you it should not be too > > > >difficult for someone to fix the port. > > > >David > > > > > > Hi > > > I have tried this and i still cant get it working. Also > tried syntax > > > check and its checks out OK, as someone else suggested to > do... any > > > further suggestions? > > > Thanks > > > Eoghan > > > _______________________________________________ > > > 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, > > > > I was rebuilding one of my servers yesterday. I was having > trouble getting ldap > > support to build, but I was also seeing the same issue you > describe. The > > configtest reported no errors and Apache appeared to start > and I could see it in > > the process list, but could not contact the server. Out of > frustration i bounced > > the box and when it came back up Apache started as expected > (minus ldap of > > course). > > > > > > -- > > Michael Galvez http://www.people.virginia.edu/~mrg8n > > Information Technology Specialist University of Virginia > > Hi > By bounced the box, do you mean restarted it? > Thanks > Eoghan You might get more informed help by post a detailed report on apache@freebsd.org (you eill need to subscribe to post there) - you might get a more specialised response. There certainly seems to be something odd happening with the latest upgrade. David From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 10:49:43 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4029716A401 for ; Wed, 7 Mar 2007 10:49:43 +0000 (UTC) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (mail.shire.net [166.70.252.250]) by mx1.freebsd.org (Postfix) with ESMTP id 2A37A13C47E for ; Wed, 7 Mar 2007 10:49:43 +0000 (UTC) (envelope-from chad@shire.net) Received: from [67.171.127.191] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.51) id 1HOtiI-000Pn1-SP for freebsd-questions@freebsd.org; Wed, 07 Mar 2007 03:49:42 -0700 Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: <5A82D35B-AF37-4D57-B4DF-D90CFA9C84E6@shire.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: User Questions From: "Chad Leigh -- Shire.Net LLC" Date: Wed, 7 Mar 2007 03:49:41 -0700 X-Mailer: Apple Mail (2.752.2) X-SA-Exim-Connect-IP: 67.171.127.191 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false Subject: ps showing [appname] for some things -- how to get whole thing? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 10:49:43 -0000 On my 6.1 system I have a script that launches some java programs [jdk142] and when I do a "ps -auxwww" I get the whole java command line that was used in launching. On my 6.2 system with jdk15 teh scame scripts launch the same java programs but I just get [java] in the ps output. Nothing in the ps manpage jumped out at me. I would like to be able to get the whole commandline when I do the ps Thanks Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 11:12:06 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5618F16A400 for ; Wed, 7 Mar 2007 11:12:06 +0000 (UTC) (envelope-from alhabsi@squ.edu.om) Received: from squ.edu.om (mail.squ.edu.om [62.231.244.3]) by mx1.freebsd.org (Postfix) with ESMTP id 6E11413C478 for ; Wed, 7 Mar 2007 11:11:38 +0000 (UTC) (envelope-from alhabsi@squ.edu.om) Received: from [127.0.0.1] [172.22.11.225] by squ.edu.om with ESMTP (SMTPD-9.10) id ADD009CC; Wed, 07 Mar 2007 15:11:12 +0400 Message-ID: <45EE9DC4.9010004@squ.edu.om> Date: Wed, 07 Mar 2007 15:11:00 +0400 From: "Amer H. Alhabsi" User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20070306233735.33B1816A479@hub.freebsd.org> In-Reply-To: <20070306233735.33B1816A479@hub.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: can't install PHP5: missing pkg-descr X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 11:12:06 -0000 I'm trying to install PHP5 but keep getting the missing pkg-desc for php5-5.1.6_3. It complies all right with make. But when I try make install, I get the error. The make -V DESCR gives /home/alhabsi/packages/pkg-descr. This directory is where I keep my downloaded packages. Amer, From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 12:07:33 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 97DED16A400 for ; Wed, 7 Mar 2007 12:07:33 +0000 (UTC) (envelope-from exiaf_radar_guy38@yahoo.co.in) Received: from web8915.mail.in.yahoo.com (web8915.mail.in.yahoo.com [203.84.221.147]) by mx1.freebsd.org (Postfix) with SMTP id 93B7513C48D for ; Wed, 7 Mar 2007 12:07:32 +0000 (UTC) (envelope-from exiaf_radar_guy38@yahoo.co.in) Received: (qmail 4103 invoked by uid 60001); 7 Mar 2007 12:07:30 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=s2uqNLFXKu04La7sSdZZxlOLRfmuge5WO1hbSnW+16RYvAdsQAh/9zolS4RpUJr7loQqKEYPhUYuS4J9ZfAb52Lgb/wuK4DdZK9tymqSNE5vKqPee+SkmG8ZStxq62KEKAdRy0C1k/nB9nFDERtX8YNDIpJj5pqOLGFHv8NK1Ao= ; Message-ID: <20070307120730.4101.qmail@web8915.mail.in.yahoo.com> X-YMail-OSG: N7HXMqAVM1nEAkcx4.ufh5R4pAJCLO6idsZJem3IDqCoIgAcS_.Jq2inXBPblApZJ5nCmUnuFFkN7YxQRE5tSdqn13K9hE2ZMrVVAeMJS9qcad9hMw6bXKEBlLJAoIn0LibEaVsBRR_cUjcaFnl7a9AD Received: from [59.94.177.68] by web8915.mail.in.yahoo.com via HTTP; Wed, 07 Mar 2007 17:37:30 IST X-Mailer: YahooMailRC/468 YahooMailWebService/0.6.132.8 Date: Wed, 7 Mar 2007 17:37:30 +0530 (IST) From: dharam paul To: freebsd MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Bind9 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: Wed, 07 Mar 2007 12:07:33 -0000 Hi,=0AI have installed Bind9 before I could know that Bind is included in B= ase System in FreBSD 6.2.=0AMy NOOB understanding tells me that the Bind th= at has been installed by me is not jailed whereas the Base Bind was jailed = one. =0AIs there any go back possible for me to Base Bind without reinstall= ing complete system.=0A=0ARegards=0A=0A=0A=09=09=0A________________________= __________________________________=0AYahoo! India Answers: Share what you k= now. Learn something new=0Ahttp://in.answers.yahoo.com/ From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 12:28:24 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 39AB616A41F for ; Wed, 7 Mar 2007 12:28:24 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id EFBB113C4A3 for ; Wed, 7 Mar 2007 12:28:23 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from archangel.daleco.biz ([69.27.149.254]) by ezekiel.daleco.biz (8.13.4/8.13.1) with ESMTP id l27CSIEk024244; Wed, 7 Mar 2007 06:28:21 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <45EEAFDD.1070904@daleco.biz> Date: Wed, 07 Mar 2007 06:28:13 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2pre) Gecko/20070221 SeaMonkey/1.1 MIME-Version: 1.0 To: Johannes Ambrose References: <454182.3245.qm@web62309.mail.re1.yahoo.com> In-Reply-To: <454182.3245.qm@web62309.mail.re1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Paulette McGee , freebsd-questions@freebsd.org Subject: Re: lsmod X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 12:28:24 -0000 Paulette McGee wrote: > --- Johannes Ambrose wrote: > >> Hi, >> >> I'm trying to install an application (vmware tools) >> and I get as far as: >> >> Setup is unable to find the "lsmod" program on your >> machine. Please make >> sure >> >> it is installed. Do you want to specify the location >> of this program by >> hand? >> >> It seems there is no lsmod, modprobe, or any other >> related tools. How >> can I install these? >> >> Regards, >> >> Johannes >> > > Hello Johannes, > There is no lsmod, modprobe et al; however there are > similar tools like: kldstat, kldload, etc. Here is > some additional information that might prove useful. > > http://www.onlamp.com/pub/a/bsd/2005/01/13/FreeBSD_Basics.html > > Regards, > Paulette McGee Which begs the question *why* he's having this problem ... Johannes, are you installing via the ports tree, or trying to install "from scratch"? Kevin Kinsey -- If I knew what brand [of whiskey] he drinks, I would send a barrel or so to my other generals. -- Abraham Lincoln, on General Grant From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 12:44:48 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C8FAA16A404 for ; Wed, 7 Mar 2007 12:44:48 +0000 (UTC) (envelope-from pietro.cerutti@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.250]) by mx1.freebsd.org (Postfix) with ESMTP id 89E0713C494 for ; Wed, 7 Mar 2007 12:44:48 +0000 (UTC) (envelope-from pietro.cerutti@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so117752ana for ; Wed, 07 Mar 2007 04:44:48 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Qbsg7hZx8NEoqMpj5IQnhwIRwvipLq2XW0/pCpFBOj69PqJ1zLVnCfaC4HAsWV6qSDF3ZKoffgOi8Hd08E/pgChICSGGZJxIhChiCGiQz01hWXOfiYIj1WHQpdWy/3UvXMhLADFc8waif8vpN/pQb4cyn8i0T7YIL9L9mgmF7L0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ihlgpo8C/0AcU0YSqNqXt9jTvIH+y8i78T7Bjg+8WeT8B8I9RbkhPB/Vy/7sGDe8wAETNtKgJPeBD7vZgkumdQYGoBdbohQzpzZ6uFIjFsHH6DsZZkGc270AYNeW+PLEV0XOkJA+jGgLn1lrGWSB7nm7qwNeY5SbuSpJYI2sw40= Received: by 10.100.124.5 with SMTP id w5mr4334931anc.1173271487875; Wed, 07 Mar 2007 04:44:47 -0800 (PST) Received: by 10.100.33.5 with HTTP; Wed, 7 Mar 2007 04:44:47 -0800 (PST) Message-ID: Date: Wed, 7 Mar 2007 13:44:47 +0100 From: "Pietro Cerutti" To: "Johannes Ambrose" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-questions@freebsd.org Subject: Re: lsmod X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 12:44:48 -0000 On 3/7/07, Johannes Ambrose wrote: > Hi, > > I'm trying to install an application (vmware tools) and I get as far as: > Setup is unable to find the "lsmod" program on your machine. Please make > sure it is installed. Do you want to specify the location of this program by > hand? That application (vmware tools) is supposed to be installed on a Linux system, and depends on Linux specific stuff (such as lsmod). Be sure to follow the right instructions (available on VMWare's website) to install vmware-tools on FreeBSD. > Regards, Regards, > Johannes -- Pietro Cerutti - ASCII Ribbon Campaign - against HTML e-mail and proprietary attachments www.asciiribbon.org From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 12:45:36 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6BE8916A404 for ; Wed, 7 Mar 2007 12:45:36 +0000 (UTC) (envelope-from juancr@dsa.es) Received: from llca513-a.servidoresdns.net (llca513-a.servidoresdns.net [217.76.128.120]) by mx1.freebsd.org (Postfix) with ESMTP id 2E02713C4B3 for ; Wed, 7 Mar 2007 12:45:36 +0000 (UTC) (envelope-from juancr@dsa.es) Received: from mail.dsa.es (localhost.localdomain [127.0.0.1]) by llca513-a.servidoresdns.net (Postfix) with SMTP id 72FB7F1A55C for ; Wed, 7 Mar 2007 13:45:34 +0100 (CET) Received: from 217.114.136.133 (SquirrelMail authenticated user faf352c) by llca513-a.servidoresdns.net with HTTP; Wed, 7 Mar 2007 12:45:34 -0000 (GMT) Message-ID: <1055.217.114.136.133.1173271534.squirrel@llca513-a.servidoresdns.net> Date: Wed, 7 Mar 2007 12:45:34 -0000 (GMT) From: "DSA - JCR" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.2-0.1.7.x MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal Subject: Firebird 2 Server Port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 12:45:36 -0000 Hi all FreeBSD 6.2 i386 I am trying to make from ports the Firebird2-server and I have a problem when doing it. First, I was under "root" and when it going to make a message says that " you must not be under root in order not conflict with SYSV semaphores" and then stop. So I created a user and try to make the ports, but says that I have no permissions. I created a user in the gorup "wheel", because I thougth that is with more priviliges. How can I make this port? I need it. Thanks in advance Juan Coruña Desarrollo de Software Atlantico From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 13:36:03 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 74F5316A401 for ; Wed, 7 Mar 2007 13:36:03 +0000 (UTC) (envelope-from pigskin_referee@yahoo.com) Received: from web34412.mail.mud.yahoo.com (web34412.mail.mud.yahoo.com [66.163.178.161]) by mx1.freebsd.org (Postfix) with SMTP id 27FCB13C4B6 for ; Wed, 7 Mar 2007 13:36:02 +0000 (UTC) (envelope-from pigskin_referee@yahoo.com) Received: (qmail 56009 invoked by uid 60001); 7 Mar 2007 13:36:02 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=SccJ1u0zlseYemzhH2MLZX6wnRdi/g89J1eK/1sB+bJh8NnTIi2XoE+h1mVO+P0RGD+GWZIb6h33kOsdBLivYQ+qsDCejBD3z0XxOhQOVnjWKTYV9nylxjEwA+yCCwYspcCKqU7JB9mkqq0R7BEYbEMnVhKSB2V+bM7jt/DC8OM=; X-YMail-OSG: fp3p98cVM1ldUrYC9jIazW.4ZBwDx1_fl04jlepUz_qVKC_YQpiXDP7EKXy6.BxY9204_ccxWSZjeSvMM96y8btEs1Z7aCH0VySv8g7Xx.3L6XyNqYCDK3fLAIJB79Itp.8zTA5DJHJisoHT998LBrRhTw-- Received: from [67.189.184.224] by web34412.mail.mud.yahoo.com via HTTP; Wed, 07 Mar 2007 05:36:01 PST X-Mailer: YahooMailRC/468 YahooMailWebService/0.6.132.8 Date: Wed, 7 Mar 2007 05:36:00 -0800 (PST) From: White Hat To: FreeBSD Users Questions MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <31207.53325.qm@web34412.mail.mud.yahoo.com> Subject: mplayer (gmplayer) with xfce4.4.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 13:36:03 -0000 FreeBSD-6.2=0Axfce-4.4.0=0A=0AI posted this on the xfce4 list; however, the= y thought it might be a FreeBSD problem.=0A=0AScenario:=0A=0ARight click on= desktop=0AClick =0AClick =0A=0AThis error message is = displayed:=0A=0A[ws] Shared Memory Extensions Error=0A=0AI can start mplaye= r from a terminal window, but not directly on the xfce4 desktop, now will g= mplayer work either. The same error message is displayed.=0A=0AI am hoping = someone has a useful suggestion.=0A =0A=0A=0AWhite Hat =0Apigskin_referee@y= ahoo.com=0A=0A=0A=0A =0A___________________________________________________= _________________________________=0A8:00? 8:25? 8:40? Find a flick in no ti= me =0Awith the Yahoo! Search movie showtime shortcut.=0Ahttp://tools.search= .yahoo.com/shortcuts/#news From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 13:51:56 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2515716A401 for ; Wed, 7 Mar 2007 13:51:56 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id DDEA613C4B2 for ; Wed, 7 Mar 2007 13:51:55 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from archangel.daleco.biz ([69.27.149.254]) by ezekiel.daleco.biz (8.13.4/8.13.1) with ESMTP id l27DprOq024809; Wed, 7 Mar 2007 07:51:54 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <45EEC373.8030303@daleco.biz> Date: Wed, 07 Mar 2007 07:51:47 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2pre) Gecko/20070221 SeaMonkey/1.1 MIME-Version: 1.0 To: White Hat References: <31207.53325.qm@web34412.mail.mud.yahoo.com> In-Reply-To: <31207.53325.qm@web34412.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Users Questions Subject: Re: mplayer (gmplayer) with xfce4.4.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 13:51:56 -0000 White Hat wrote: > FreeBSD-6.2 > xfce-4.4.0 > > I posted this on the xfce4 list; however, they thought it might be a FreeBSD problem. > > Scenario: > > Right click on desktop > Click > Click > > This error message is displayed: > > [ws] Shared Memory Extensions Error > > I can start mplayer from a terminal window, but not directly on the xfce4 desktop, > now will gmplayer work either. The same error message is displayed. > > I am hoping someone has a useful suggestion. What is your mplayer/gmplayer version? `pkg_info | grep mplayer` will probably tell you. Is the underlying menu entry the same command that you run in the terminal? Kevin Kinsey -- SPAGMUMPS: Any of the millions of Styrofoam wads that accompany mail-order items. -- Sniglets, Rich Hall & Friends From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 13:57:01 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 43C4016A400 for ; Wed, 7 Mar 2007 13:57:01 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id 05FA413C428 for ; Wed, 7 Mar 2007 13:57:00 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from archangel.daleco.biz ([69.27.149.254]) by ezekiel.daleco.biz (8.13.4/8.13.1) with ESMTP id l27Duxpn024861; Wed, 7 Mar 2007 07:56:59 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <45EEC4A5.5060706@daleco.biz> Date: Wed, 07 Mar 2007 07:56:53 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2pre) Gecko/20070221 SeaMonkey/1.1 MIME-Version: 1.0 To: "Amer H. Alhabsi" References: <20070306233735.33B1816A479@hub.freebsd.org> <45EE9DC4.9010004@squ.edu.om> In-Reply-To: <45EE9DC4.9010004@squ.edu.om> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: can't install PHP5: missing pkg-descr X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 13:57:01 -0000 Amer H. Alhabsi wrote: > I'm trying to install PHP5 but keep getting the missing pkg-desc for > php5-5.1.6_3. It complies all right with make. But when I try make > install, I get the error. The make -V DESCR gives > /home/alhabsi/packages/pkg-descr. This directory is where I keep my > downloaded packages. Are you running make from the port directory, or somewhere else? We need more information on *exactly* what you are doing (cwd, what commands are being typed, etc) to have any real idea what might be happening. I'm guessing that it should say /usr/ports/lang/php5/pkg-descr instead, since there is such a file there. You might try something like: $ cd /usr/ports/lang/php5 $ make DESCR=/usr/ports/lang/php5/pkg-descr install clean Kevin Kinsey -- They call them squares because it's the most complicated shape they can deal with. From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 14:27:08 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2221316A404 for ; Wed, 7 Mar 2007 14:27:08 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: from web62205.mail.re1.yahoo.com (web62205.mail.re1.yahoo.com [69.147.75.4]) by mx1.freebsd.org (Postfix) with SMTP id D6E7C13C4A6 for ; Wed, 7 Mar 2007 14:27:07 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: (qmail 67019 invoked by uid 60001); 7 Mar 2007 14:27:07 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=y689D11sXyPZs9UbG9K1pljQ3ElxdPhrK3wJTmrER+oclTdJh52ZA+aYJF4JMM8rUS6ykFALg9p9MoMneYjeQufNLtIKStHcobvJAv7EDAp22I/nruVPEIpjEjP0QlYf1FJ8mgmYz83No1EDmnZpxFVyy+MJYLcJ6RUThedMNK0=; X-YMail-OSG: 4WkzEoAVM1lZKzIE9yFKo1lmp3d3ciJa6UIGIrZUrfwa7w4I5XhuY1Ta62QUJ.xR8g-- Received: from [67.46.93.3] by web62205.mail.re1.yahoo.com via HTTP; Wed, 07 Mar 2007 06:27:06 PST X-Mailer: YahooMailRC/468 YahooMailWebService/0.6.132.8 Date: Wed, 7 Mar 2007 06:27:06 -0800 (PST) From: Drew Jenkins To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <984676.62893.qm@web62205.mail.re1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 14:27:08 -0000 20----- Original Message ----=0AFrom: Garrett Cooper =0ATo: freebsd-questions@freebsd.org=0ASent: Wednesday, March 7, 2007 = 4:55:19 AM=0ASubject: Re: Setting Env=0A=0A>Drew Jenkins wrote:=0A>> ----- = Original Message ----=0A>> From: Garrett Cooper >=0A>> To: freebsd-questions@freebsd.org=0A>> Sent: Wednesday, March 7, 200= 7 1:02:01 AM=0A>> Subject: Re: Setting Env=0A>> =0A>> Drew Jenkins wrote:= =0A>> =0A>>> LD_LIBRARY_PATH=3D/usr/local/lib/mysql/ not work for you?=0A>>= =0A>>> Why not source environment variables from an outside script / rc-fi= le? =0A>>> It's better / smarter in the long run, IMHO.=0A>> =0A>> Sounds g= reat. Again, as I wrote in my last post, I don't know *exactly* what comman= d needs to be entered!! I have tried this in the /etc/rc.conf file:=0A>> = =0A>> setenv LD_LIBRARY_PATH /usr/local/lib/mysql/=0A>> --or--=0A>> export = LD_LIBRARY_PATH=3D"/usr/local/lib/mysql/"=0A>> --or--=0A>> LD_LIBRARY_PATH= =3D/usr/local/lib/mysql/=0A>> =0A>> none of which work. I have tried creati= ng a script and chmod +x in the /usr/local/etc/rc.d folder:=0A>> =0A>> #!/b= in/csh=0A>> setenv LD_LIBRARY_PATH /usr/local/lib/mysql/=0A>> =0A>> and tha= t doesn't work, either. Would it be okay if I asked anyone out there to tel= l me *exactly* what I need to do to get this to be set on startup??=0A>> TI= A.=0A>> Drew=0A>=0A>>The question is, what's failing (or not behaving as >>= expected)?=0A=0A=0A=0AI would like that line to execute upon startup. Right= now, every time I boot the machine, I have to remember to enter that seten= v command, and that's a nuisance. I would like it to be automatic.=0ATIA,= =0ADrew=0A=0A=0A=0A=0A=0A =0A______________________________________________= ______________________________________=0ANeed Mail bonding?=0AGo to the Yah= oo! Mail Q&A for great tips from Yahoo! Answers users.=0Ahttp://answers.yah= oo.com/dir/?link=3Dlist&sid=3D396546091 From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 15:15:05 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0FA1116A400 for ; Wed, 7 Mar 2007 15:15:05 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.freebsd.org (Postfix) with ESMTP id C59F213C461 for ; Wed, 7 Mar 2007 15:15:04 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from localhost (localhost [127.0.0.1]) by kanga.honeypot.net (Postfix) with ESMTP id E377F209C0C for ; Wed, 7 Mar 2007 09:15:03 -0600 (CST) X-Virus-Scanned: amavisd-new at honeypot.net Received: from kanga.honeypot.net ([127.0.0.1]) by localhost (kanga.honeypot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3TLG+fYb6r9f for ; Wed, 7 Mar 2007 09:15:00 -0600 (CST) Received: from janus.daycos.com (janus.daycos.com [10.45.12.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by kanga.honeypot.net (Postfix) with ESMTP id 627AF209968 for ; Wed, 7 Mar 2007 09:15:00 -0600 (CST) From: Kirk Strauser To: freebsd-questions@freebsd.org Date: Wed, 7 Mar 2007 09:14:51 -0600 User-Agent: KMail/1.9.6 References: <86221.5189.qm@web62202.mail.re1.yahoo.com> In-Reply-To: <86221.5189.qm@web62202.mail.re1.yahoo.com> X-Face: T+/_{qmjgbosI0J/e83I~w[&VF'w)!((xEpj///^bA/6?jHHS?nq+T8_+`nh"WnEWCWG, \}]Y2$)) =?utf-8?q?vLVz4ACChrEcb=7DCO=5EtYmMG=5C=0A=09ts=2Em=3F=5B7=5B6OwE*dAJ*9f+m?= =?utf-8?q?X=2E7R32qeN=5EDJ=5C?=(k@evW?IRQCy.^ MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1259693.ui3yKSfESn"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200703070914.57086.kirk@strauser.com> Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 15:15:05 -0000 --nextPart1259693.ui3yKSfESn Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 06 March 2007, Drew Jenkins wrote: > 20Hi; > For some reason, I need to run this: > > setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ > > to get my Zope instances up and running. I'm trying to figure out how to > automate that. I wrote a little script: What makes you think that? How did you install MySQL and Zope? =2D-=20 Kirk Strauser --nextPart1259693.ui3yKSfESn Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iD8DBQBF7tbw5sRg+Y0CpvERAshCAKCEuPD8kGRHsxC51WTpa9SE9zoKPQCfU689 KFPlmZ/iJc7u22V6yA3gako= =EiZa -----END PGP SIGNATURE----- --nextPart1259693.ui3yKSfESn-- From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 15:36:14 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 747AB16A402 for ; Wed, 7 Mar 2007 15:36:14 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: from web62211.mail.re1.yahoo.com (web62211.mail.re1.yahoo.com [69.147.75.10]) by mx1.freebsd.org (Postfix) with SMTP id 27C2613C4BE for ; Wed, 7 Mar 2007 15:36:14 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: (qmail 57146 invoked by uid 60001); 7 Mar 2007 15:36:13 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=brf6YIYXUO5koWdyvpFSeQUqfH/vsOeZp1CmT4bRZh9gzidxAGy72GVpz+/AjcMsBQ+ypOoaki3LN4V1K3YBSiWIZAOer9kKtBiDZIuS6rx2UC32NNXY0FnNgLbhE0kNvRLRuqLHRAu+9g/Z8t9vF36+An/P0szZr4B4pA1sT90=; X-YMail-OSG: l2YhvJkVM1l1SoCro3GWFxHxHBf8rp6ieBITVxSWKvauKa7.Meub6DEMEDa6q.yKX5J6X0cvHADsnDK_Gu_aSrKAQtR7bBPAU0XFBFjtxqTbf4O7YlxBGg-- Received: from [67.46.93.3] by web62211.mail.re1.yahoo.com via HTTP; Wed, 07 Mar 2007 07:36:13 PST X-Mailer: YahooMailRC/468 YahooMailWebService/0.6.132.8 Date: Wed, 7 Mar 2007 07:36:13 -0800 (PST) From: Drew Jenkins To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <469921.56927.qm@web62211.mail.re1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 15:36:14 -0000 ----- Original Message ----=0AFrom: Kirk Strauser =0ATo:= freebsd-questions@freebsd.org=0ASent: Wednesday, March 7, 2007 11:14:51 AM= =0ASubject: Re: Setting Env=0A=0A>On Tuesday 06 March 2007, Drew Jenkins wr= ote:=0A>> 20Hi;=0A>> For some reason, I need to run this:=0A>>=0A>> setenv = LD_LIBRARY_PATH /usr/local/lib/mysql/=0A>>=0A>> to get my Zope instances up= and running. I'm trying to figure out how to=0A>> automate that. I wrote a= little script:=0A>=0A>What makes you think that? How did you install MySQ= L and Zope?=0A=0AMySQL from the port and Zope (since it's an older version)= from source.=0A=0A=0A=0A=0A=0A=0A =0A_____________________________________= _______________________________________________=0AFood fight? Enjoy some he= althy debate =0Ain the Yahoo! Answers Food & Drink Q&A.=0Ahttp://answers.ya= hoo.com/dir/?link=3Dlist&sid=3D396545367 From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 15:36:42 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 64ECB16A40B for ; Wed, 7 Mar 2007 15:36:42 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from mail.freebsd-corp-net-guide.com (mail.web-strider.com [65.75.192.90]) by mx1.freebsd.org (Postfix) with ESMTP id 19C0F13C49D for ; Wed, 7 Mar 2007 15:36:42 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from coolf89ea26645 (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) by mail.freebsd-corp-net-guide.com (8.13.8/8.13.8) with SMTP id l27Fadso031014; Wed, 7 Mar 2007 07:36:40 -0800 (PST) (envelope-from tedm@toybox.placo.com) Message-ID: <014301c760ce$3fb08150$3c01a8c0@coolf89ea26645> From: "Ted Mittelstaedt" To: "Oliver Fromme" , , , References: <200703051150.l25Bo00p030724@lurza.secnetix.de> Date: Wed, 7 Mar 2007 07:35:33 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (mail.freebsd-corp-net-guide.com [65.75.192.90]); Wed, 07 Mar 2007 07:36:41 -0800 (PST) Cc: Subject: Re: FreeBSD Torrent Server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 15:36:42 -0000 ----- Original Message ----- From: "Oliver Fromme" To: ; ; ; Sent: Monday, March 05, 2007 3:50 AM Subject: Re: FreeBSD Torrent Server > Sorry for the late reply, but I think this one needs a > correction, so others don't find wrong information in > the archives ... > > Ted Mittelstaedt wrote: > > [...] > > The FreeBSD Beastie was struck from his position as logo for FreeBSD > > for some EXTREMELY minor controversy surrounding religions icons. > > Well, using a Devil image didn't pirate anyone software or break a law. > > Yet Beastie was axed for exactly the same "guilt by association" reasons. > > I'm afraid that paragraph is completely wrong. The BSD > daemon (sometimes called "Beastie", but that's not its > official name) was not "struck from his position as a > logo", and it was not "axed". > > The BSD daemon never was a logo of the FreeBSD project. > It was rather a mascot (and it still is!). Not this again. Before the "devil" controversy flared up, there was no usage of "mascot" in relation to Beastie. The term "mascot" began to be used by the anti-Beastie people as a way of appeasement of the pro-Beastie people. > However, it > was sometimes used in a context where a logo would be > used normally, simply for the fact that FreeBSD didn't > have a real logo. > It was always used in a context where a logo would be used normally simply for the fact that it WAS the FreeBSD logo. The many years of Walnut Creek selling FreeBSD cd's firmly established Beastie as the logo. > Now, after the result of the logo contest last year, > FreeBSD has a real, official logo, in addition to the > BSD daemon mascot. There is no law or requirement that says that anyone cannot still continue to use the Beastie image as a logo if they want. What we got from the contest is simply a second image that can be used as a logo. Nobody is arguing that Beastie was the best logo image that could of been used. This is something that the anti-Beastie people have never understood. One of it's drawbacks is that the image is copyrighted by McKusick and permission must be sought by him when using it. Another is that it does not reporduce well at all as a thumbnail. A third is that so many different forms of Beastie have been drawn that it has diluted the it's value as a logo. And last and most importantly, it has religious connotations that can cause trouble for it being used as an image with certain groups. If the anti-Beastie people had approached Beastie with reverence and brought up these issues there would never have been a controversy. However the fact was that the anti-Beastie people were so hell-bent on getting a new logo design that they took the tack that "oh we aren't going to replace Beastie" to try to pacify the pro-Beastie people. It didn't work, people saw through it. That is why the logo contest dragged on easily 6 months longer than the organizers originally hoped. It is also why the logo contest was not a public one - nobody but the contest organizers saw all of the submissions, the userbase was no given any kind of voting choice. The entire issue was dynamite and caused an uproar whenever it was brought up in any online discussion. The very fact that you feel compelled even now, a year after your site has successfully bulldozed the new FreeBSD sex-toy logo design through, to still try to rewrite history shows the emotion that is still there in the controversy. > Just look at www.freebsd.org. > It doesn't look axed to me. ;-) > If the pro-Beastie people had rolled over without complaining then Beastie would not be on the website anymore. What happened is that in order to calm the controversy, the website designers continued to use Beastie on the website. For now, that is. But there is a long term plan to gradually convince the userbase that Beastie is obsolete, and one of the techniques is rewriting history on the public forums, like you are attempting to do here with your post. This discussion is exactly the same issue as why the US Department of Defense still does not allow the Pentagram (wiccan symbol) to be drawn on military tombstones. They allow every other major religious symbol including the stupid "universal swirl" that some Athiests use. Ted From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 15:43:54 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E839D16A402 for ; Wed, 7 Mar 2007 15:43:54 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id A1A3313C4A8 for ; Wed, 7 Mar 2007 15:43:54 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l27Fext7014872; Wed, 7 Mar 2007 10:40:59 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l27Fexct014871; Wed, 7 Mar 2007 10:40:59 -0500 (EST) (envelope-from jerrymc) Date: Wed, 7 Mar 2007 10:40:59 -0500 From: Jerry McAllister To: Drew Jenkins Message-ID: <20070307154059.GA14814@gizmo.acns.msu.edu> References: <812894.39097.qm@web62205.mail.re1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <812894.39097.qm@web62205.mail.re1.yahoo.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 15:43:55 -0000 On Tue, Mar 06, 2007 at 04:28:39PM -0800, Drew Jenkins wrote: > ----- Original Message ---- > From: Jerry McAllister > To: Drew Jenkins > Cc: freebsd-questions@freebsd.org > Sent: Tuesday, March 6, 2007 7:46:26 PM > Subject: Re: Setting Env > > >If you want the environment variable to > >be set for something that is taking place in the script, then > >that variable must either be set in a durable way in the parent > >environment or be set right there in the script that is using it. > >The rc.conf method will make it available from the parent. > >That is the whole point of rc.conf. > > Right. I figured that much. So, what do I actually put in that file? I > tried these two options: > > setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ > > export LD_LIBRARY_PATH="/usr/local/lib/mysql/" > Well, setenv is a csh or tcsh command and isn't in sh and probably not in bash either (I haven't used bash). The export command is an sh and probably bash command and it doesn't exist in csh or tcsh. > > It didn't like either, presumably because it's not calling a bash or c-shell. > So, what should I put in /etc/rc.conf that will achieve my objective? Look at other variable setting in rc.conf. That should give you a good clue. For example, in my rc.conf I have several. One is: moused_enable="YES" That makes the moused_enable variable have a value of YES. So, if you want LD_LIBRARY_PATH to have the value of /usr/local/lib/mysql/ might that not be: LD_LIBRARY_PATH="/usr/local/lib/mysql/" If you put it in the script that starts things - there needs to be one - then it depends on the script language, csh/tcsh sh/bash. csh/tcsh use setenv and set sh [and bash] use set and variable_name=value and needs an export to make it available to other entities besides the shell itself. You should look up the man pages on these things and take a look at some other scripts such as those in /usr/local/etc/rc.d for examples. ////jerry > TIA, > Drew > > > > > > > > ____________________________________________________________________________________ > Get your own web address. > Have a HUGE year through Yahoo! Small Business. > http://smallbusiness.yahoo.com/domains/?p=BESTDEAL > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 15:53:48 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 33A7F16A406 for ; Wed, 7 Mar 2007 15:53:48 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.248]) by mx1.freebsd.org (Postfix) with ESMTP id E9F4B13C4A7 for ; Wed, 7 Mar 2007 15:53:47 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: by an-out-0708.google.com with SMTP id c24so170285ana for ; Wed, 07 Mar 2007 07:53:47 -0800 (PST) Received: by 10.100.164.14 with SMTP id m14mr5312936ane.1173282827096; Wed, 07 Mar 2007 07:53:47 -0800 (PST) Received: from localhost ( [67.189.184.224]) by mx.google.com with ESMTP id 24sm1428839wrl.2007.03.07.07.53.31; Wed, 07 Mar 2007 07:53:40 -0800 (PST) Date: Wed, 7 Mar 2007 10:53:11 -0500 From: Gerard Seibert To: freebsd-questions@freebsd.org Message-ID: <20070307105311.05b2ff84@localhost> In-Reply-To: <45EEC373.8030303@daleco.biz> References: <31207.53325.qm@web34412.mail.mud.yahoo.com> <45EEC373.8030303@daleco.biz> Organization: Seibercom.net X-Mailer: Claws Mail 2.8.0 (GTK+ 2.10.9; i386-portbld-freebsd6.2) X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_8APVHxTq1XbZUNV/gbZfbo4"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Re: mplayer (gmplayer) with xfce4.4.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 15:53:48 -0000 --Sig_8APVHxTq1XbZUNV/gbZfbo4 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 07 Mar 2007 07:51:47 -0600 Kevin Kinsey wrote: [snip] > What is your mplayer/gmplayer version? `pkg_info | grep mplayer` will=20 > probably tell you. >=20 > Is the underlying menu entry the same command that you run in the > terminal? mplayer-0.99.10_5 I have tried running mplayer and gmplayer via the 'run' command, but that fails also with the same error message. --=20 Gerard Youth is when you blame all your troubles on your parents; maturity is when you learn that everything is the fault of the younger generation. --Sig_8APVHxTq1XbZUNV/gbZfbo4 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.2 (FreeBSD) iD8DBQFF7t/nFCqdq4D1ybYRAmqzAJ4xcj8+2S96/o1mi8YwjLQzw1iGjwCfSb3U U5eE6CTTNJw1zeAwuqS501A= =FfII -----END PGP SIGNATURE----- --Sig_8APVHxTq1XbZUNV/gbZfbo4-- From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 15:56:16 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3CA9616A400 for ; Wed, 7 Mar 2007 15:56:16 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 0C20113C428 for ; Wed, 7 Mar 2007 15:56:15 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l27FrL9e014962; Wed, 7 Mar 2007 10:53:21 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l27FrLRh014961; Wed, 7 Mar 2007 10:53:21 -0500 (EST) (envelope-from jerrymc) Date: Wed, 7 Mar 2007 10:53:21 -0500 From: Jerry McAllister To: Ted Mittelstaedt Message-ID: <20070307155321.GB14814@gizmo.acns.msu.edu> References: <200703051150.l25Bo00p030724@lurza.secnetix.de> <014301c760ce$3fb08150$3c01a8c0@coolf89ea26645> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <014301c760ce$3fb08150$3c01a8c0@coolf89ea26645> User-Agent: Mutt/1.4.2.2i Cc: hildebeb@mts.net, Oliver Fromme , freebsd-questions@freebsd.org, gldisater@gmail.com Subject: Re: FreeBSD Torrent Server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 15:56:16 -0000 On Wed, Mar 07, 2007 at 07:35:33AM -0800, Ted Mittelstaedt wrote: > > ----- Original Message ----- > From: "Oliver Fromme" > To: ; ; > ; > Sent: Monday, March 05, 2007 3:50 AM > Subject: Re: FreeBSD Torrent Server > > > > Sorry for the late reply, but I think this one needs a > > correction, so others don't find wrong information in > > the archives ... > > > > Ted Mittelstaedt wrote: > > > [...] > > > The FreeBSD Beastie was struck from his position as logo for FreeBSD > > > for some EXTREMELY minor controversy surrounding religions icons. > > > Well, using a Devil image didn't pirate anyone software or break a > law. > > > Yet Beastie was axed for exactly the same "guilt by association" > reasons. > > > > I'm afraid that paragraph is completely wrong. The BSD > > daemon (sometimes called "Beastie", but that's not its > > official name) was not "struck from his position as a > > logo", and it was not "axed". > > > > The BSD daemon never was a logo of the FreeBSD project. > > It was rather a mascot (and it still is!). > > Not this again. > > Before the "devil" controversy flared up, there was no usage of > "mascot" in relation to Beastie. Who cares!! From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 16:08:36 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E5E5516A400 for ; Wed, 7 Mar 2007 16:08:36 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: from web62215.mail.re1.yahoo.com (web62215.mail.re1.yahoo.com [69.147.75.14]) by mx1.freebsd.org (Postfix) with SMTP id AA0B213C478 for ; Wed, 7 Mar 2007 16:08:36 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: (qmail 81610 invoked by uid 60001); 7 Mar 2007 16:08:35 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=Hy9f5owlia/t3a1ubT1pQJ0/4+8ePzZo95rnUFBIO3PuCbdxH8Ely/iQKg8z5QmJXxBXQRWZTZNn8F3azohmPgpks46UBWzTHrI3M6dz41fmFmGH6R70Nm+hd93OFP3wJ5ml8Gs0NsfKaXNCyZA5IoVhylvxkpASa2BQ6/nmfCM=; Received: from [67.46.93.3] by web62215.mail.re1.yahoo.com via HTTP; Wed, 07 Mar 2007 08:08:35 PST X-Mailer: YahooMailRC/468 YahooMailWebService/0.6.132.8 Date: Wed, 7 Mar 2007 08:08:35 -0800 (PST) From: Drew Jenkins To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <821143.79253.qm@web62215.mail.re1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 16:08:37 -0000 >> ----- Original Message ----=0A>> From: Jerry McAllister =0A>> To: Drew Jenkins =0A>> Cc: freebsd-question= s@freebsd.org=0A>> Sent: Tuesday, March 6, 2007 7:46:26 PM=0A>> Subject: Re= : Setting Env=0A>>=0A>> >If you want the environment variable to=0A>> >be s= et for something that is taking place in the script, then=0A>> >that variab= le must either be set in a durable way in the parent=0A>> >environment or b= e set right there in the script that is using it.=0A>> >The rc.conf method = will make it available from the parent.=0A>> >That is the whole point of rc= .conf.=0A>>=0A>> Right. I figured that much. So, what do I actually put in = that file? I=0A>> tried these two options:=0A>>=0A>> setenv LD_LIBRARY_PATH= /usr/local/lib/mysql/=0A>>=0A>> export LD_LIBRARY_PATH=3D"/usr/local/lib/m= ysql/"=0A>>=0A>=0A>Well, setenv is a csh or tcsh command and isn't in sh an= d probably=0A>not in bash either (I haven't used bash).=0A>=0A=0AI am aware= of that. I was trying to explain how I used every_possible_combination of = things I could think of!=0A=0A>The export command is an sh and probably bas= h command and it=0A>doesn't exist in csh or tcsh.=0A>=0A=0AYes, yes. I know= .=0A=0A>=0A>>=0A>> It didn't like either, presumably because it's not calli= ng a bash or c-shell.=0A>> So, what should I put in /etc/rc.conf that will = achieve my objective?=0A>=0A>Look at other variable setting in rc.conf. Th= at should give you=0A>a good clue. For example, in my rc.conf I have seve= ral. One is:=0A> moused_enable=3D"YES"=0A>That makes the moused_enable va= riable have a value of YES.=0A>So, if you want LD_LIBRARY_PATH to have the = value of /usr/local/lib/mysql/=0A>might that not be:=0A> LD_LIBRARY_PATH= =3D"/usr/local/lib/mysql/"=0A>=0A=0AI tried that and posted yesterday that = that failed.=0A=0A>If you put it in the script that starts things - there n= eeds to be one -=0A>then it depends on the script language, csh/tcsh sh/bas= h.=0A>csh/tcsh use setenv and set=0A>sh [and bash] use set and variable_na= me=3Dvalue and needs an export to=0A>make it available to other entities be= sides the shell itself.=0A>You should look up the man pages on these things= and take a look=0A>at some other scripts such as those in /usr/local/etc/r= c.d for=0A>examples.=0A=0AWhat *things*? As far as scripts, this *should* b= e easy...=0A=0A#!/bin/csh=0Asetenv LD_LIBRARY_PATH /usr/local/lib/mysql/=0A= =0A...right? It doesn't work. Any other ideas?=0ADrew=0A=0A=0A=0A =0A______= ___________________________________________________________________________= ___=0ANever miss an email again!=0AYahoo! Toolbar alerts you the instant ne= w Mail arrives.=0Ahttp://tools.search.yahoo.com/toolbar/features/mail/ From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 16:10:33 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4F7DC16A401 for ; Wed, 7 Mar 2007 16:10:33 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by mx1.freebsd.org (Postfix) with ESMTP id 2DC3513C48E for ; Wed, 7 Mar 2007 16:10:33 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7] (may be forged)) by mxout4.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l27GAWI7022163 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 7 Mar 2007 08:10:32 -0800 X-Auth-Received: from [192.168.10.41] (c-67-187-172-183.hsd1.ca.comcast.net [67.187.172.183]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l27GAVhD011697 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 7 Mar 2007 08:10:32 -0800 Message-ID: <45EEE3F4.8070408@u.washington.edu> Date: Wed, 07 Mar 2007 08:10:28 -0800 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.9 (X11/20070122) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <812894.39097.qm@web62205.mail.re1.yahoo.com> <20070307154059.GA14814@gizmo.acns.msu.edu> In-Reply-To: <20070307154059.GA14814@gizmo.acns.msu.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.0.289146, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.3.7.75433 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='LEO_OBFU_SUBJ_RE 0.1, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 16:10:33 -0000 Jerry McAllister wrote: > On Tue, Mar 06, 2007 at 04:28:39PM -0800, Drew Jenkins wrote: > >> ----- Original Message ---- >> From: Jerry McAllister >> To: Drew Jenkins >> Cc: freebsd-questions@freebsd.org >> Sent: Tuesday, March 6, 2007 7:46:26 PM >> Subject: Re: Setting Env >> >>> If you want the environment variable to >>> be set for something that is taking place in the script, then >>> that variable must either be set in a durable way in the parent >>> environment or be set right there in the script that is using it. >>> The rc.conf method will make it available from the parent. >>> That is the whole point of rc.conf. >> Right. I figured that much. So, what do I actually put in that file? I >> tried these two options: >> >> setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ >> >> export LD_LIBRARY_PATH="/usr/local/lib/mysql/" >> > > Well, setenv is a csh or tcsh command and isn't in sh and probably > not in bash either (I haven't used bash). > > The export command is an sh and probably bash command and it > doesn't exist in csh or tcsh. > > >> It didn't like either, presumably because it's not calling a bash or c-shell. >> So, what should I put in /etc/rc.conf that will achieve my objective? > > Look at other variable setting in rc.conf. That should give you > a good clue. For example, in my rc.conf I have several. One is: > moused_enable="YES" > That makes the moused_enable variable have a value of YES. > So, if you want LD_LIBRARY_PATH to have the value of /usr/local/lib/mysql/ > might that not be: > LD_LIBRARY_PATH="/usr/local/lib/mysql/" > > If you put it in the script that starts things - there needs to be one - > then it depends on the script language, csh/tcsh sh/bash. > csh/tcsh use setenv and set > sh [and bash] use set and variable_name=value and needs an export to > make it available to other entities besides the shell itself. > You should look up the man pages on these things and take a look > at some other scripts such as those in /usr/local/etc/rc.d for > examples. > > ////jerry >> TIA, >> Drew Ok. Simplest way to solve this is to make your own run script and invoke it at boot. It's not that bad to do from what I understand.. -Garrett From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 16:20:35 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1D52816A404 for ; Wed, 7 Mar 2007 16:20:35 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout2.cac.washington.edu (mxout2.cac.washington.edu [140.142.33.4]) by mx1.freebsd.org (Postfix) with ESMTP id EF57713C47E for ; Wed, 7 Mar 2007 16:20:34 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout2.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l27GKY4E018233 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 7 Mar 2007 08:20:34 -0800 X-Auth-Received: from [192.168.10.41] (c-67-187-172-183.hsd1.ca.comcast.net [67.187.172.183]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l27GKXje030361 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 7 Mar 2007 08:20:34 -0800 Message-ID: <45EEE64E.7040305@u.washington.edu> Date: Wed, 07 Mar 2007 08:20:30 -0800 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.9 (X11/20070122) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <821143.79253.qm@web62215.mail.re1.yahoo.com> In-Reply-To: <821143.79253.qm@web62215.mail.re1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.0.289146, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.3.7.80933 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='LEO_OBFU_SUBJ_RE 0.1, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 16:20:35 -0000 Drew Jenkins wrote: >>> ----- Original Message ---- >>> From: Jerry McAllister >>> To: Drew Jenkins >>> Cc: freebsd-questions@freebsd.org >>> Sent: Tuesday, March 6, 2007 7:46:26 PM >>> Subject: Re: Setting Env >>> >>>> If you want the environment variable to >>>> be set for something that is taking place in the script, then >>>> that variable must either be set in a durable way in the parent >>>> environment or be set right there in the script that is using it. >>>> The rc.conf method will make it available from the parent. >>>> That is the whole point of rc.conf. >>> Right. I figured that much. So, what do I actually put in that file? I >>> tried these two options: >>> >>> setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ >>> >>> export LD_LIBRARY_PATH="/usr/local/lib/mysql/" >>> >> Well, setenv is a csh or tcsh command and isn't in sh and probably >> not in bash either (I haven't used bash). >> > > I am aware of that. I was trying to explain how I used every_possible_combination of things I could think of! > >> The export command is an sh and probably bash command and it >> doesn't exist in csh or tcsh. >> > > Yes, yes. I know. > >>> It didn't like either, presumably because it's not calling a bash or c-shell. >>> So, what should I put in /etc/rc.conf that will achieve my objective? >> Look at other variable setting in rc.conf. That should give you >> a good clue. For example, in my rc.conf I have several. One is: >> moused_enable="YES" >> That makes the moused_enable variable have a value of YES. >> So, if you want LD_LIBRARY_PATH to have the value of /usr/local/lib/mysql/ >> might that not be: >> LD_LIBRARY_PATH="/usr/local/lib/mysql/" >> > > I tried that and posted yesterday that that failed. > >> If you put it in the script that starts things - there needs to be one - >> then it depends on the script language, csh/tcsh sh/bash. >> csh/tcsh use setenv and set >> sh [and bash] use set and variable_name=value and needs an export to >> make it available to other entities besides the shell itself. >> You should look up the man pages on these things and take a look >> at some other scripts such as those in /usr/local/etc/rc.d for >> examples. > > What *things*? As far as scripts, this *should* be easy... > > #!/bin/csh > setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ > > ...right? It doesn't work. Any other ideas? > Drew It probably gets overwritten somewhere later on down the line. Also, something to the effect like the following is better for portability reasons: #!/bin/sh if [ -n "$LD_LIBRARY_PATH" ] ; then export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/lib/mysql" else export LD_LIBRARY_PATH="/usr/local/lib/mysql" fi # run mysql junk here.. From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 16:20:58 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5E24F16A400 for ; Wed, 7 Mar 2007 16:20:58 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.freebsd.org (Postfix) with ESMTP id C0D3613C4AA for ; Wed, 7 Mar 2007 16:20:57 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (ufwdix@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id l27GKo0j043457; Wed, 7 Mar 2007 17:20:56 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id l27GKoDb043456; Wed, 7 Mar 2007 17:20:50 +0100 (CET) (envelope-from olli) From: Oliver Fromme Message-Id: <200703071620.l27GKoDb043456@lurza.secnetix.de> To: tedm@toybox.placo.com (Ted Mittelstaedt) Date: Wed, 7 Mar 2007 17:20:50 +0100 (CET) In-Reply-To: <014301c760ce$3fb08150$3c01a8c0@coolf89ea26645> X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Wed, 07 Mar 2007 17:20:56 +0100 (CET) Cc: hildebeb@mts.net, freebsd-questions@freebsd.org, gldisater@gmail.com Subject: Re: FreeBSD Torrent Server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 16:20:58 -0000 Ted Mittelstaedt wrote: > > Before the "devil" controversy flared up, there was no usage of > "mascot" in relation to Beastie. Historically, the daemon image was always used as a mascot for BSD (not just FreeBSD). I've always perceived it that way. FreeBSD in particular adopted the daemon rendering by Tatsumi Hosokawa and used it both as a mascot and a logo (because of lack of a real logo). > There is no law or requirement that says that anyone cannot still > continue to use the Beastie image as a logo if they want. Sure, you can use it whatever way you want, subject to the copyright restrictions. > What we got from the contest is simply a second image that can be > used as a logo. What we got from the contest is simply an _official_ logo. The daemon image is not an officiel logo of the FreeBSD project. > > Just look at www.freebsd.org. > > It doesn't look axed to me. ;-) > > If the pro-Beastie people had rolled over without complaining then > Beastie would not be on the website anymore. What happened is that > in order to calm the controversy, the website designers continued to use > Beastie on the website. For now, that is. But there is a long term > plan to gradually convince the userbase that Beastie is obsolete, and > one of the techniques is rewriting history on the public forums, like > you are attempting to do here with your post. That's pure speculation (and quite paranoid). The daemon image is still visible on many FreeBSD.org web pages. In fact, no less pages than before the contest, and there is no indication that it might change. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd With Perl you can manipulate text, interact with programs, talk over networks, drive Web pages, perform arbitrary precision arithmetic, and write programs that look like Snoopy swearing. From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 16:24:06 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DFE5416A404 for ; Wed, 7 Mar 2007 16:24:06 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: from web62204.mail.re1.yahoo.com (web62204.mail.re1.yahoo.com [69.147.75.3]) by mx1.freebsd.org (Postfix) with SMTP id 9283213C4B2 for ; Wed, 7 Mar 2007 16:24:06 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: (qmail 22398 invoked by uid 60001); 7 Mar 2007 16:24:06 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=L8Gs09InoA8tPMF12qMNiwB45U6FP2AYbAcZ0UWgv2ky10+1JkCOjCbIVcRkJ0kq5IMKBsRK2jafuAW2O23kswFdz4xZPwBJEXDXjFEnzuMQyaJ1z6gVyJs1ZGL1lozOaICDQAyx+uvLbAkPHV31BhCf+IXpLm9zouZfCVNpFio=; X-YMail-OSG: PXgEwpgVM1mZw_JOY4Io9UfMnaoFgjfP15CSJtm4guTh4n1zO2SXtdh0NaGVfMmuUmKrCd8OG4Ohty4Wz8JW0FZ2NbQ8SysivLhsJBfiutnfA1HKKqBQ1G1iT.1aF4jV Received: from [67.46.93.3] by web62204.mail.re1.yahoo.com via HTTP; Wed, 07 Mar 2007 08:24:05 PST X-Mailer: YahooMailRC/468 YahooMailWebService/0.6.132.8 Date: Wed, 7 Mar 2007 08:24:05 -0800 (PST) From: Drew Jenkins To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <995442.41074.qm@web62204.mail.re1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 16:24:07 -0000 Jerry McAllister wrote:=0A=0A>Ok. Simplest way to solve this is to make you= r own run script and invoke=0A>it at boot. It's not that bad to do from wha= t I understand..=0A=0AWill this do?=0A=0A#!/bin/csh=0Asetenv LD_LIBRARY_PAT= H /usr/local/lib/mysql/=0A=0ABecause I've already tried it (in /usr/local/e= tc/rc.d with chown +x). It didn't work. Other ideas?=0ADrew=0A=0A=0A=0A=0A = =0A________________________________________________________________________= ____________=0AGet your own web address. =0AHave a HUGE year through Yahoo= ! Small Business.=0Ahttp://smallbusiness.yahoo.com/domains/?p=3DBESTDEAL From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 16:38:33 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7399616A403 for ; Wed, 7 Mar 2007 16:38:33 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 52AC513C48E for ; Wed, 7 Mar 2007 16:38:33 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l27GZcpN015170; Wed, 7 Mar 2007 11:35:38 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l27GZcfx015169; Wed, 7 Mar 2007 11:35:38 -0500 (EST) (envelope-from jerrymc) Date: Wed, 7 Mar 2007 11:35:38 -0500 From: Jerry McAllister To: Drew Jenkins Message-ID: <20070307163538.GB15061@gizmo.acns.msu.edu> References: <821143.79253.qm@web62215.mail.re1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <821143.79253.qm@web62215.mail.re1.yahoo.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 16:38:33 -0000 On Wed, Mar 07, 2007 at 08:08:35AM -0800, Drew Jenkins wrote: > >> ----- Original Message ---- > >> From: Jerry McAllister > >> To: Drew Jenkins > >> Cc: freebsd-questions@freebsd.org > >> Sent: Tuesday, March 6, 2007 7:46:26 PM > >> Subject: Re: Setting Env > >> > >> >If you want the environment variable to > >> >be set for something that is taking place in the script, then > >> >that variable must either be set in a durable way in the parent > >> >environment or be set right there in the script that is using it. > >> >The rc.conf method will make it available from the parent. > >> >That is the whole point of rc.conf. > >> > >> Right. I figured that much. So, what do I actually put in that file? I > >> tried these two options: > >> > >> setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ > >> > >> export LD_LIBRARY_PATH="/usr/local/lib/mysql/" > >> > > > >Well, setenv is a csh or tcsh command and isn't in sh and probably > >not in bash either (I haven't used bash). > > > > I am aware of that. I was trying to explain how I used every_possible_combination of things I could think of! > > >The export command is an sh and probably bash command and it > >doesn't exist in csh or tcsh. > > > > Yes, yes. I know. > > > > >> > >> It didn't like either, presumably because it's not calling a bash or c-shell. > >> So, what should I put in /etc/rc.conf that will achieve my objective? > > > >Look at other variable setting in rc.conf. That should give you > >a good clue. For example, in my rc.conf I have several. One is: > > moused_enable="YES" > >That makes the moused_enable variable have a value of YES. > >So, if you want LD_LIBRARY_PATH to have the value of /usr/local/lib/mysql/ > >might that not be: > > LD_LIBRARY_PATH="/usr/local/lib/mysql/" > > > > I tried that and posted yesterday that that failed. Did you source the rc.conf files? I am used to using csh/tcsh which uses the source command. I am not sure I remember it for sh, but it might be just '.' followed by the file name. Sourcing the file sucks it in and makes all the variable settings available to the current shell. You need to do some handbook and shell documentation reading and example studying. There are lots of things on the system that do this and that make good examples to emulate. I am not a shell programmer per se, but I manage to get by through grabbing chunks of things that already work on the system ad modifying they for my current use. I think many people learn that way. > > >If you put it in the script that starts things - there needs to be one - > >then it depends on the script language, csh/tcsh sh/bash. > >csh/tcsh use setenv and set > >sh [and bash] use set and variable_name=value and needs an export to > >make it available to other entities besides the shell itself. > >You should look up the man pages on these things and take a look > >at some other scripts such as those in /usr/local/etc/rc.d for > >examples. > > What *things*? As far as scripts, this *should* be easy... Things like setenv, set, source and such. rc.d startup scripts, rc.conf. What does your rc.conf look like? Boot up with it and then take a look at the values. make a startup script for whatever it is - probably the install already put one in /usr/local/etc/rc.d/ and in that startup script, source the /etc/rc.conf file. > > #!/bin/csh > setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ > > ...right? It doesn't work. Any other ideas? > Drew > > > > > ____________________________________________________________________________________ > Never miss an email again! > Yahoo! Toolbar alerts you the instant new Mail arrives. > http://tools.search.yahoo.com/toolbar/features/mail/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 16:40:33 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C41EE16A403 for ; Wed, 7 Mar 2007 16:40:33 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 95A4113C46B for ; Wed, 7 Mar 2007 16:40:33 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l27GbcLg015194; Wed, 7 Mar 2007 11:37:38 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l27GbcQm015193; Wed, 7 Mar 2007 11:37:38 -0500 (EST) (envelope-from jerrymc) Date: Wed, 7 Mar 2007 11:37:38 -0500 From: Jerry McAllister To: Drew Jenkins Message-ID: <20070307163738.GC15061@gizmo.acns.msu.edu> References: <995442.41074.qm@web62204.mail.re1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <995442.41074.qm@web62204.mail.re1.yahoo.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 16:40:33 -0000 On Wed, Mar 07, 2007 at 08:24:05AM -0800, Drew Jenkins wrote: > Jerry McAllister wrote: > > >Ok. Simplest way to solve this is to make your own run script and invoke > >it at boot. It's not that bad to do from what I understand.. > > Will this do? > > #!/bin/csh > setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ > > Because I've already tried it (in /usr/local/etc/rc.d with chown +x). It didn't work. Other ideas? > Drew Check out what Garret Cooper just posted. It is a cleaner solution. ////jerry > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 16:47:38 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0F07216A404 for ; Wed, 7 Mar 2007 16:47:38 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from kermit.lizardhill.com (kermit.lizardhill.com [64.69.41.217]) by mx1.freebsd.org (Postfix) with ESMTP id F112D13C442 for ; Wed, 7 Mar 2007 16:47:37 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from ip72-193-85-114.lv.lv.cox.net ([72.193.85.114] helo=mickey) by kermit.lizardhill.com with esmtpa (Exim 4.63) (envelope-from ) id 1HOzIk-000Egl-Rk for freebsd-questions@freebsd.org; Wed, 07 Mar 2007 08:47:43 -0800 From: "Don O'Neil" To: "'FreeBSD Questions'" Date: Wed, 7 Mar 2007 08:47:33 -0800 Message-ID: <002d01c760d8$4eed1070$0700020a@mickey> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Thread-Index: Acdg2E1J1Aue4xZgTxSipzAevt07yw== Subject: 3dm-2.04.00.035 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 16:47:38 -0000 Does anyone have any working experiecne with the 3dm-2.04.00.035, 3ware RAID controller monitoring daemon and web server? I installed the port on my machine, edited the config file (changed passwords) and the daemon is running, but I cannot connect to it on port 888 as per the config. I'm running FreeBSD 6.1 and have a 3ware 7500 series card. I'm not even sure if that one is supported or not, as there is no reference to v 2.04.00.035 (or anything 2.X) on 3wares web site. Thanks! From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 16:52:24 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CCAA516A401 for ; Wed, 7 Mar 2007 16:52:24 +0000 (UTC) (envelope-from feenberg@nber.org) Received: from mail1.nber.org (mail1.nber.org [66.251.72.7]) by mx1.freebsd.org (Postfix) with ESMTP id 6FEAD13C491 for ; Wed, 7 Mar 2007 16:52:23 +0000 (UTC) (envelope-from feenberg@nber.org) Received: from mail1 (root@localhost) by mail1.nber.org (8.12.11.20060308/8.12.11) with SMTP id l27GZibs013454 for ; Wed, 7 Mar 2007 11:35:44 -0500 Received: from nber1.nber.org (nber1.nber.org [66.251.72.71]) by mail1.nber.org (8.12.11.20060308/8.12.11) with ESMTP id l27GZfvh013417; Wed, 7 Mar 2007 11:35:42 -0500 Received: from nber1.nber.org (localhost [127.0.0.1]) by nber1.nber.org (8.12.10+Sun/8.12.10) with ESMTP id l27GZfnE014635; Wed, 7 Mar 2007 11:35:41 -0500 (EST) Received: from localhost (feenberg@localhost) by nber1.nber.org (8.12.10+Sun/8.12.9/Submit) with ESMTP id l27GZfmv014632; Wed, 7 Mar 2007 11:35:41 -0500 (EST) X-Authentication-Warning: nber1.nber.org: feenberg owned process doing -bs Date: Wed, 7 Mar 2007 11:35:41 -0500 (EST) From: Daniel Feenberg To: freebsd-questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: mount_smb shows no files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 16:52:24 -0000 We are starting to use mount_smbfs to mount backup shares on our Windows XP systems. Formerly we were using Linux successfully, but now many of our mounts succeed, but don't show any files. We can't tell what might be different among the XP systems to explain the difference, or why FreeBSD and Linux should be different in this regard. Demonstration (note that "ls /mnt" shows no files, but there are files): backup2# mount_smbfs //backup@rm316/backup /mnt Password: backup2# ls /mnt backup2# df /mnt Filesystem 1K-blocks Used Avail Capacity Mounted on //BACKUP@RM316/BACKUP 36659328 13238176 23421152 36% /mnt backup2# mount_smbfs -v mount_smbfs: version 1.1.0 backup2# uname -a FreeBSD backup2 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Thanks Daniel Feenberg feenberg isat nber dotte org From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 17:16:54 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 53C2616A401 for ; Wed, 7 Mar 2007 17:16:54 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (dsl081-227-250.chi1.dsl.speakeasy.net [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id CE8E213C4BA for ; Wed, 7 Mar 2007 17:16:51 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.12.11) with ESMTP id l27HG4VF062407; Wed, 7 Mar 2007 11:16:05 -0600 (CST) Message-Id: <6.0.0.22.2.20070307111304.02601280@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Wed, 07 Mar 2007 11:15:57 -0600 To: dharam paul , freebsd From: Derek Ragona In-Reply-To: <20070307120730.4101.qmail@web8915.mail.in.yahoo.com> References: <20070307120730.4101.qmail@web8915.mail.in.yahoo.com> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Bind9 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: Wed, 07 Mar 2007 17:16:54 -0000 The base bind is in /usr/sbin, if you installed your own it is in /usr/local/sbin You set the path to bind in /etc/rc.conf named_program="/usr/sbin/named" for the base one. There are other variables you can set for the jail, etc if you want to change those. -Derek At 06:07 AM 3/7/2007, dharam paul wrote: >Hi, >I have installed Bind9 before I could know that Bind is included in Base >System in FreBSD 6.2. >My NOOB understanding tells me that the Bind that has been installed by me >is not jailed whereas the Base Bind was jailed one. >Is there any go back possible for me to Base Bind without reinstalling >complete system. > >Regards > > > >__________________________________________________________ >Yahoo! India Answers: Share what you know. Learn something new >http://in.answers.yahoo.com/ >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. >MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 17:20:23 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AD64316A401 for ; Wed, 7 Mar 2007 17:20:23 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (dsl081-227-250.chi1.dsl.speakeasy.net [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 436AB13C467 for ; Wed, 7 Mar 2007 17:20:23 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.12.11) with ESMTP id l27HJjNY062525; Wed, 7 Mar 2007 11:19:45 -0600 (CST) Message-Id: <6.0.0.22.2.20070307111604.025f4520@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Wed, 07 Mar 2007 11:19:37 -0600 To: "kk kumar" , freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: <7772d7120703062128v5e9e546auec83e300f741154d@mail.gmail.co m> References: <7772d7120703062128v5e9e546auec83e300f741154d@mail.gmail.com> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: reprocess mails in sendmail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 17:20:23 -0000 Depending on the version of FreeBSD and the version of sendmail in that version will determine how sendmail is started by default. Look in /etc/rc.conf and /etc/defaults/rc.conf for specific settings. Typically sendmail will process queues on its own on a regular interval. No cron job required. -Derek At 11:28 PM 3/6/2007, kk kumar wrote: >Hi all, > >Do you need to include specific commands to periodically process the queue >with sendmail? With sendmail I would explicitly (via cron) rerun queue >processing every 30 minutes or so. Is there any better method to do this in >sendmail itself. The reason for this question is that some of the mails >which needs to be delivered to another mail server was not reachable and >this mail was not processed for 4 days. but when i manually flush the queue >i am able to send the mail to the RCPT mail server. Any fields i need to >change in Sendmail for solving this problem. > >Regards >Kiran Kumar >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. >MailScanner thanks transtec Computers for their support. > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 17:24:47 2007 Return-Path: X-Original-To: freebsd-questions@FreeBSD.ORG Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 44EFA16A401 for ; Wed, 7 Mar 2007 17:24:47 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id E51DB13C47E for ; Wed, 7 Mar 2007 17:24:46 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id l27HNiTw028021 for ; Wed, 7 Mar 2007 09:23:44 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id l27HNh8X028020 for freebsd-questions@FreeBSD.ORG; Wed, 7 Mar 2007 09:23:44 -0800 (PST) (envelope-from kline) Date: Wed, 7 Mar 2007 09:23:43 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20070307172343.GA27959@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing twenty years of service to the Unix community Cc: Subject: is there any flashcard application, game or edu? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 17:24:47 -0000 Maybe somebody knows this one: is there a game or educational app that will popup a small frame with a question and space for answer? Say: "What is the capitol of Kansas? or What is the cube root of 8? The questions and answers could be in a textfile: #Q #A What is the capitol of Kansas? Topeka What is the cube root of 8? 2 I'm thinking of something very simple that could be expanded over time. Linux has something that's pretty near what I'm aiming for, but it breaks--I'm obviously missing some libraries. After looking for four days I thought I'd ask here. thanks for any clues, gary PS: I could probably knock something out in a half hour using /bin/sh but I'd rather have something more graphic and flexible. -- Gary Kline kline@thought.org www.thought.org Public Service Unix From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 17:25:45 2007 Return-Path: X-Original-To: questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 015CD16A400 for ; Wed, 7 Mar 2007 17:25:45 +0000 (UTC) (envelope-from s.moyzis@sbcglobal.net) Received: from smtp101.sbc.mail.re2.yahoo.com (smtp101.sbc.mail.re2.yahoo.com [68.142.229.104]) by mx1.freebsd.org (Postfix) with SMTP id A1BE913C4BC for ; Wed, 7 Mar 2007 17:25:44 +0000 (UTC) (envelope-from s.moyzis@sbcglobal.net) Received: (qmail 44935 invoked from network); 7 Mar 2007 16:59:04 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Received:X-YMail-OSG:Message-ID:From:To:Subject:Date:Organization:MIME-Version:Content-Type:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE; b=CHoXeVN1w7fkSG7CEw9pmWvOM2JTzDE6bwrtLTieLCfGT+k+YJCpq5QYeSsmxRNrU5ASkgkQ8ZZ9NWf/vHaWls6YhvaPyy7U0TqKSCbbSB2CvJYS45xBWNrMRpNeZP79ONn8zJtpuxcqRUGCMX5gJqaT5kcoypcVOM9gAyNVN7Y= ; Received: from unknown (HELO DJ2KXR91) (s.moyzis@sbcglobal.net@68.253.130.44 with login) by smtp101.sbc.mail.re2.yahoo.com with SMTP; 7 Mar 2007 16:59:04 -0000 X-YMail-OSG: .IN2bz0VM1k5XhfrnJPgZMgaZcUjXEpwlA.KopWKXZRI2T.ls5Qf6FmHpdId9_pUWjartZ4z2iI5p96nECiwGrhzlpcsIbpGNUWjmcnZUCHJA92or_PcwkiV.EpSbHTwx81Uu88E5qeowFTWhJZafalngQ-- Message-ID: <000801c760d9$e8a95650$2c82fd44@DJ2KXR91> From: "s.moyzis" To: Date: Wed, 7 Mar 2007 10:59:02 -0600 Organization: BPW Consulting MIME-Version: 1.0 X-Priority: 1 X-MSMail-Priority: High X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Mailman-Approved-At: Wed, 07 Mar 2007 17:33:18 +0000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: System freezes on install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 17:25:45 -0000 I have a copy of FreeBSD 4.4, when I try to install from the boot CD, or = the 2 floppies, the keyboard/system freezes on Kernal Configuration = Menu. I also have 2 HD's, an internal 80 Gb for Windows XP, and a 250 = Gb external HD for C; backup and a partition for FreeBSD. It's a one = year old 'puter. Any ideas? Thank you, Steve Moyzis s.moyzis@sbcglobal.net "The only secure computer is one that's unplugged, locked in a safe, and buried 20 feet under the ground in a secret location... and I'm not even too sure about that one" From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 17:41:37 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6E3F716A403 for ; Wed, 7 Mar 2007 17:41:37 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 3E6D213C4A8 for ; Wed, 7 Mar 2007 17:41:37 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l27HcgwP015398; Wed, 7 Mar 2007 12:38:42 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l27Hcgwd015397; Wed, 7 Mar 2007 12:38:42 -0500 (EST) (envelope-from jerrymc) Date: Wed, 7 Mar 2007 12:38:42 -0500 From: Jerry McAllister To: Gary Kline Message-ID: <20070307173841.GA15360@gizmo.acns.msu.edu> References: <20070307172343.GA27959@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070307172343.GA27959@thought.org> User-Agent: Mutt/1.4.2.2i Cc: FreeBSD Mailing List Subject: Re: is there any flashcard application, game or edu? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 17:41:37 -0000 On Wed, Mar 07, 2007 at 09:23:43AM -0800, Gary Kline wrote: > > Maybe somebody knows this one: is there a game or educational > app that will popup a small frame with a question and space for > answer? Say: "What is the capitol of Kansas? or What is the cube > root of 8? > > The questions and answers could be in a textfile: > > #Q #A > What is the capitol of Kansas? Topeka > What is the cube root of 8? 2 > > I'm thinking of something very simple that could be expanded > over time. Linux has something that's pretty near what I'm > aiming for, but it breaks--I'm obviously missing some libraries. > After looking for four days I thought I'd ask here. > > thanks for any clues, > > gary > > PS: I could probably knock something out in a half hour using > /bin/sh but I'd rather have something more graphic and flexible. You could check out curses/ncurses. There is a man page. It might be overkill for what you want, but you can look. It takes some effort to get started, but is not too bad to keep adding to. I actually just do this sort of thing in a quickie web page and run it through a browser. It only takes some simple tables. If you want to read in the answers, a Perl or PHP script will take care of it nicely. ////jerry > > > > -- > Gary Kline kline@thought.org www.thought.org Public Service Unix > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 17:43:26 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3CA1816A402 for ; Wed, 7 Mar 2007 17:43:26 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: from web62204.mail.re1.yahoo.com (web62204.mail.re1.yahoo.com [69.147.75.3]) by mx1.freebsd.org (Postfix) with SMTP id E0C5913C4AA for ; Wed, 7 Mar 2007 17:43:25 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: (qmail 51879 invoked by uid 60001); 7 Mar 2007 17:43:25 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=NFntzLXxdNJPAxRsDni1H6+zpBsWg6lYPDky1N9g5uDEK0RzXrdrCUL/HMGibvTHJGucdaljiRrBs9FCul/KyYOVehlN+NEZwcjylwtpqJsFG7SDQTfPVcQzrGQTOClTl7vYnlGzyy9LaPdxlQu1vOpOTcdgaQXGUHtK5skAdzc=; X-YMail-OSG: i9gvtQUVM1kxbGVLfn2SnqFYMwbvHE97dhzBv4kGG_9fViD1otx3pA1Hg.EYztuXfg-- Received: from [67.46.93.3] by web62204.mail.re1.yahoo.com via HTTP; Wed, 07 Mar 2007 09:43:25 PST X-Mailer: YahooMailRC/468 YahooMailWebService/0.6.132.8 Date: Wed, 7 Mar 2007 09:43:24 -0800 (PST) From: Drew Jenkins To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <141754.45363.qm@web62204.mail.re1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 17:43:26 -0000 Garret Cooper wrote:=0A=0A>Also, something to the effect like the following= is better for=0A>portability reasons:=0A>=0A>#!/bin/sh=0A>=0A>if [ -n "$LD= _LIBRARY_PATH" ] ; then=0A> export LD_LIBRARY_PATH=3D"${LD_LIBRARY_PATH}= :/usr/local/lib/mysql"=0A>else=0A> export LD_LIBRARY_PATH=3D"/usr/local/= lib/mysql"=0A>fi=0A=0AI put that in the /usr/local/etc/rc.d/mysql-server sc= ript (which is #!/bin/sh) but it didn't work :(=0A=0A=0A=0AJerry McAllister= wrote:=0A=0A>What does your rc.conf look like?=0A=0A# -- sysinstall genera= ted deltas -- # Sat Feb 24 04:38:22 2007=0A# Created: Sat Feb 24 04:38:22 2= 007=0A# Enable network daemons for user convenience.=0A# Please make all ch= anges to this file, not to /etc/defaults/rc.conf.=0A# This file now contain= s just the overrides from /etc/defaults/rc.conf.=0Adefaultrouter=3D"203.223= .150.1"=0Ahostname=3D"server312.web.vi"=0Aifconfig_fxp0=3D"inet 203.223.150= .58 netmask 255.255.255.192"=0Alinux_enable=3D"YES"=0Asshd_enable=3D"YES"= =0Ausbd_enable=3D"YES"=0Apound_enable=3D"YES"=0Asendmail_enable=3D"NO"=0Ase= ndmail_submit_enable=3D"NO"=0Asendmail_outbound_enable=3D"NO"=0Asendmail_ms= p_queue_enable=3D"NO"=0Aslapd_enable=3D"YES"=0Aslapd_flags=3D'-h "ldapi://%= 2fvar%2frun%2fopenldap%2fldapi/ ldap://0.0.0.0/"'=0Aslapd_sockets=3D"/var/r= un/openldap/ldapi"=0Amysql_enable=3D"YES"=0ALD_LIBRARY_PATH=3D/usr/local/li= b/mysql/=0A=0AThat last line, of course, is useless.=0A=0A>Boot up with it = and then take a look at the values.=0A=0AWhat values and how do I look for = them?=0A=0A>make a startup script for whatever it is - probably the install= =0A>already put one in /usr/local/etc/rc.d/ =0A>and in that startup script= , source the /etc/rc.conf file.=0A=0AI did. Then I used Garrett's (see abov= e). No luck.=0ATIA,=0ADrew=0A=0A=0A=0A=0A =0A______________________________= ______________________________________________________=0AFood fight? Enjoy = some healthy debate =0Ain the Yahoo! Answers Food & Drink Q&A.=0Ahttp://ans= wers.yahoo.com/dir/?link=3Dlist&sid=3D396545367 From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 17:44:52 2007 Return-Path: X-Original-To: questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6879916A400 for ; Wed, 7 Mar 2007 17:44:52 +0000 (UTC) (envelope-from joe@joeholden.co.uk) Received: from gabriella.ber.rewt.org.uk (gabriella.ber.rewt.org.uk [87.106.72.109]) by mx1.freebsd.org (Postfix) with ESMTP id 1FFFD13C4B6 for ; Wed, 7 Mar 2007 17:44:52 +0000 (UTC) (envelope-from joe@joeholden.co.uk) Received: from localhost (localhost [127.0.0.1]) by gabriella.ber.rewt.org.uk (Postfix) with ESMTP id 257DE2DE2A; Wed, 7 Mar 2007 17:44:52 +0000 (GMT) X-Virus-Scanned: amavisd-new at gabriella.ber.rewt.org.uk Received: from gabriella.ber.rewt.org.uk ([127.0.0.1]) by localhost (gabriella.ber.rewt.org.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZFAibG6hydhd; Wed, 7 Mar 2007 17:44:47 +0000 (GMT) Received: from [192.168.10.147] (dsl172-67.as6911.net [62.84.172.67]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gabriella.ber.rewt.org.uk (Postfix) with ESMTP id 480F52DE3A; Wed, 7 Mar 2007 17:44:47 +0000 (GMT) Message-ID: <45EEFA11.70506@joeholden.co.uk> Date: Wed, 07 Mar 2007 17:44:49 +0000 From: Joe Holden User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: "s.moyzis" References: <000801c760d9$e8a95650$2c82fd44@DJ2KXR91> In-Reply-To: <000801c760d9$e8a95650$2c82fd44@DJ2KXR91> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@FreeBSD.org Subject: Re: System freezes on install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 17:44:52 -0000 s.moyzis wrote: > I have a copy of FreeBSD 4.4, when I try to install from the boot CD, or the 2 floppies, the keyboard/system freezes on Kernal Configuration Menu. I also have 2 HD's, an internal 80 Gb for Windows XP, and a 250 Gb external HD for C; backup and a partition for FreeBSD. It's a one year old 'puter. Any ideas? Thank you, > > Steve Moyzis > s.moyzis@sbcglobal.net > > > > "The only secure computer is one that's unplugged, > locked in a safe, and buried 20 feet under the ground > in a secret location... and I'm not even too sure about > that one" Have you tried a non-ancient copy of FreeBSD? Ta, Joe From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 17:45:37 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8215016A40B for ; Wed, 7 Mar 2007 17:45:37 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from kermit.lizardhill.com (kermit.lizardhill.com [64.69.41.217]) by mx1.freebsd.org (Postfix) with ESMTP id 6F0A113C4A5 for ; Wed, 7 Mar 2007 17:45:37 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from ip72-193-85-114.lv.lv.cox.net ([72.193.85.114] helo=mickey) by kermit.lizardhill.com with esmtpa (Exim 4.63) (envelope-from ) id 1HP0Cr-000NeR-WA for freebsd-questions@freebsd.org; Wed, 07 Mar 2007 09:45:42 -0800 From: "Don O'Neil" To: "'FreeBSD Questions'" Date: Wed, 7 Mar 2007 09:45:34 -0800 Message-ID: <007001c760e0$68eaaf20$0700020a@mickey> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Thread-Index: Acdg4Giv/xxNE18QTwirq4OoaU9ndQ== Subject: Smartctl - Smartmontools X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 17:45:37 -0000 Anyone know why this wouldn't work: smartctl -a /dev/ad0 I get: Smartctl: Device Read Identity Failed (not an ATA/ATAPI device) It works fine on my 3ware raid drives: smartctl -a -d 3ware,0 /dev/twed0 Thanks! From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 17:57:48 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E014616A403 for ; Wed, 7 Mar 2007 17:57:48 +0000 (UTC) (envelope-from bj@cold.dk) Received: from frontend1.kadnet.dk (frontend1.kadnet.dk [83.221.137.240]) by mx1.freebsd.org (Postfix) with SMTP id 2F48C13C428 for ; Wed, 7 Mar 2007 17:57:47 +0000 (UTC) (envelope-from bj@cold.dk) Received: (qmail 74822 invoked by uid 89); 7 Mar 2007 17:06:07 -0000 Received: from unknown (HELO ?192.168.0.151?) (83.221.137.38) by frontend1.kadnet.dk with SMTP; 7 Mar 2007 17:06:07 -0000 Message-ID: <45EEF71A.2060800@cold.dk> Date: Wed, 07 Mar 2007 18:32:10 +0100 From: Brian Josefsen User-Agent: Thunderbird 1.5.0.7 (X11/20061101) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <1173186432.20605.10.camel@localhost> <20070307050719.M2006@pukruppa.net> In-Reply-To: <20070307050719.M2006@pukruppa.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: upgrade, portupgrade or not ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 17:57:49 -0000 P.U.Kruppa wrote: > On Tue, 6 Mar 2007, jbousseau wrote: > >> Hi everyone, >> >> I actually got a FreeBSD 5.4 for Mail server ( postfix+imp+horde) , and >> DNS server with bind. >> I really hesitate to upgrade my ports and my BSD because the >> configuration of IMP+horde+php is a real mess. > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> What are your advices about it ? >> >> Pls notice i'm not a Bsd specialist. Thanx > ^^^^^^^^^^^^^^^^^^^^ > Under these special circumstances: > Don't mess around with your running system. > Do a completely fresh install on an extra machine > and exchange the old one, when the new is up and > running. Or upgrade base to 5.5 so you wont fall to much behind the supported releases, it shouldn't affect your ports or installed application, and then setup a jail and slowly migrate while you do continously testing, it always works for me. In general it's always getting very suddenly messy when your fall way behind releases. -- Best regards Brian Josefsen From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 18:00:50 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 853EB16A400 for ; Wed, 7 Mar 2007 18:00:50 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id F353913C48E for ; Wed, 7 Mar 2007 18:00:49 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id l27Hxg20047447; Wed, 7 Mar 2007 09:59:43 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id l27HxgnH047442; Wed, 7 Mar 2007 09:59:42 -0800 (PST) (envelope-from kline) Date: Wed, 7 Mar 2007 09:59:37 -0800 From: Gary Kline To: Jerry McAllister Message-ID: <20070307175936.GA46276@thought.org> References: <20070307172343.GA27959@thought.org> <20070307173841.GA15360@gizmo.acns.msu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070307173841.GA15360@gizmo.acns.msu.edu> User-Agent: Mutt/1.4.2.2i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing twenty years of service to the Unix community Cc: Gary Kline , FreeBSD Mailing List Subject: Re: is there any flashcard application, game or edu? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 18:00:50 -0000 On Wed, Mar 07, 2007 at 12:38:42PM -0500, Jerry McAllister wrote: > On Wed, Mar 07, 2007 at 09:23:43AM -0800, Gary Kline wrote: > > > > > Maybe somebody knows this one: is there a game or educational > > app that will popup a small frame with a question and space for > > answer? Say: "What is the capitol of Kansas? or What is the cube > > root of 8? > > > > The questions and answers could be in a textfile: > > > > #Q #A > > What is the capitol of Kansas? Topeka > > What is the cube root of 8? 2 > > > > I'm thinking of something very simple that could be expanded > > over time. Linux has something that's pretty near what I'm > > aiming for, but it breaks--I'm obviously missing some libraries. > > After looking for four days I thought I'd ask here. > > > > thanks for any clues, > > > > gary > > > > PS: I could probably knock something out in a half hour using > > /bin/sh but I'd rather have something more graphic and flexible. > > You could check out curses/ncurses. There is a man page. > It might be overkill for what you want, but you can look. > It takes some effort to get started, but is not too bad to > keep adding to. > > I actually just do this sort of thing in a quickie web page and > run it through a browser. It only takes some simple tables. > If you want to read in the answers, a Perl or PHP script will > take care of it nicely. > Yeah, I was thinking of exactly that; usring a random function and php4 and some web pages:: quick and dirty//(half-clean?:-) since I've already got that implemented. Is there a tk/tcl app to create popups on-the-fly? Anyway, thanks for your insights, gary > ////jerry > > > > > > > > > -- > > Gary Kline kline@thought.org www.thought.org Public Service Unix > > > > _______________________________________________ > > 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" -- Gary Kline kline@thought.org www.thought.org Public Service Unix From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 18:12:24 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E652D16A403 for ; Wed, 7 Mar 2007 18:12:24 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 9E11513C48D for ; Wed, 7 Mar 2007 18:12:24 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l27I9T1H015513; Wed, 7 Mar 2007 13:09:29 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l27I9TUP015512; Wed, 7 Mar 2007 13:09:29 -0500 (EST) (envelope-from jerrymc) Date: Wed, 7 Mar 2007 13:09:29 -0500 From: Jerry McAllister To: Drew Jenkins Message-ID: <20070307180929.GA15492@gizmo.acns.msu.edu> References: <141754.45363.qm@web62204.mail.re1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <141754.45363.qm@web62204.mail.re1.yahoo.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 18:12:25 -0000 On Wed, Mar 07, 2007 at 09:43:24AM -0800, Drew Jenkins wrote: > Garret Cooper wrote: > > >Also, something to the effect like the following is better for > >portability reasons: > > > >#!/bin/sh > > > >if [ -n "$LD_LIBRARY_PATH" ] ; then > > export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/lib/mysql" > >else > > export LD_LIBRARY_PATH="/usr/local/lib/mysql" > >fi > > I put that in the /usr/local/etc/rc.d/mysql-server script > (which is #!/bin/sh) but it didn't work :( Does the script even run? Try putting some echo-s in their and see if anything happens. What are the permissions and ownership of the /usr/local/etc/rc.d/mysql-server script file? ////jerry > > Jerry McAllister wrote: > > >What does your rc.conf look like? > > # -- sysinstall generated deltas -- # Sat Feb 24 04:38:22 2007 > # Created: Sat Feb 24 04:38:22 2007 > # 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. > defaultrouter="203.223.150.1" > hostname="server312.web.vi" > ifconfig_fxp0="inet 203.223.150.58 netmask 255.255.255.192" > linux_enable="YES" > sshd_enable="YES" > usbd_enable="YES" > pound_enable="YES" > sendmail_enable="NO" > sendmail_submit_enable="NO" > sendmail_outbound_enable="NO" > sendmail_msp_queue_enable="NO" > slapd_enable="YES" > slapd_flags='-h "ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldap://0.0.0.0/"' > slapd_sockets="/var/run/openldap/ldapi" > mysql_enable="YES" > LD_LIBRARY_PATH=/usr/local/lib/mysql/ > > That last line, of course, is useless. > > >Boot up with it and then take a look at the values. > > What values and how do I look for them? > > >make a startup script for whatever it is - probably the install > >already put one in /usr/local/etc/rc.d/ > >and in that startup script, source the /etc/rc.conf file. > > I did. Then I used Garrett's (see above). No luck. > TIA, > Drew > > > > > > ____________________________________________________________________________________ > Food fight? Enjoy some healthy debate > in the Yahoo! Answers Food & Drink Q&A. > http://answers.yahoo.com/dir/?link=list&sid=396545367 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 18:26:40 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 47BFF16A414 for ; Wed, 7 Mar 2007 18:26:40 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: from web62209.mail.re1.yahoo.com (web62209.mail.re1.yahoo.com [69.147.75.8]) by mx1.freebsd.org (Postfix) with SMTP id 0EB2213C4C7 for ; Wed, 7 Mar 2007 18:26:39 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: (qmail 3373 invoked by uid 60001); 7 Mar 2007 18:26:39 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=dhTTsoZ8epcGnEx7YXjyYOR27emC4mvncDLUOm1KnFYagA1NsMzRAM46sN2wfAYh1uBfGDSFeueQMU4jKHkK6MviIMh1wWHPswslUIbxwTEnKLq00bCk17NAk/ObJPOoHjb5/UgAyeqg9LHdRSr7o148XVdS4MHFaV/Kyq+Rcmk=; X-YMail-OSG: TSMGDtgVM1knIT64hSuf1ohwSBmtejFiZJBCC33L_57ocKjK5zWKG5Yqi01Mh9iDdg0R44LbCl8gFBfSPOEHvkQJUqPqFPdc5.naLo5Ehf17XmqpoF23D.j9iJ3o.pMB96o- Received: from [67.46.93.3] by web62209.mail.re1.yahoo.com via HTTP; Wed, 07 Mar 2007 10:26:39 PST X-Mailer: YahooMailRC/468 YahooMailWebService/0.6.132.8 Date: Wed, 7 Mar 2007 10:26:38 -0800 (PST) From: Drew Jenkins To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <44583.977.qm@web62209.mail.re1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 18:26:40 -0000 ----- Original Message ----=0AFrom: Jerry McAllister =0A= =0A> > >#!/bin/sh=0A> > >=0A> > >if [ -n "$LD_LIBRARY_PATH" ] ; then=0A> > = > export LD_LIBRARY_PATH=3D"${LD_LIBRARY_PATH}:/usr/local/lib/mysql"=0A>= > >else=0A> > > export LD_LIBRARY_PATH=3D"/usr/local/lib/mysql"=0A> > >= fi=0A> >=0A> > I put that in the /usr/local/etc/rc.d/mysql-server script=0A= > > (which is #!/bin/sh) but it didn't work :(=0A> =0A> Does the script eve= n run?=0A=0AYes. It was only when I put this script in that mysql came up o= n boot.=0A=0A> Try putting some echo-s in their and see if anything happens= .=0A=0AI did that. I found out BTW that it executes the "if" part of the ab= ove, not the "else" part.=0A=0A> What are the permissions and ownership of = the /usr/local/etc/rc.d/mysql-server=0A> script file?=0A=0A# ls -al /usr/lo= cal/etc/rc.d/mysql-server=0A-r-xr-xr-x 1 root wheel 1824 Mar 7 11:29 /u= sr/local/etc/rc.d/mysql-server=0A=0ATIA,=0ADrew=0A=0A=0A=0A=0A=0A =0A______= ___________________________________________________________________________= ___=0ATV dinner still cooling? =0ACheck out "Tonight's Picks" on Yahoo! TV.= =0Ahttp://tv.yahoo.com/ From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 18:27:35 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D642116A404 for ; Wed, 7 Mar 2007 18:27:35 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from kermit.lizardhill.com (kermit.lizardhill.com [64.69.41.217]) by mx1.freebsd.org (Postfix) with ESMTP id BCBB013C4AA for ; Wed, 7 Mar 2007 18:27:35 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from ip72-193-85-114.lv.lv.cox.net ([72.193.85.114] helo=mickey) by kermit.lizardhill.com with esmtpa (Exim 4.63) (envelope-from ) id 1HP0rU-0003dD-2L for freebsd-questions@freebsd.org; Wed, 07 Mar 2007 10:27:40 -0800 From: "Don O'Neil" To: "'FreeBSD Questions'" Date: Wed, 7 Mar 2007 10:27:33 -0800 Message-ID: <00d901c760e6$45eddeb0$0700020a@mickey> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Thread-Index: Acdg5kW5tRe1lyd4Toi63SHN2MIw8g== Subject: Temperature Montoring on ServerWorks chipset X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 18:27:35 -0000 Anyone know of a temperature monitoring app that works with the Intel ServerWorks chipset? I've tried heald and mbmon, but neither work with that chipset. Thanks! From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 18:30:33 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5B0BF16A404 for ; Wed, 7 Mar 2007 18:30:33 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: from web62205.mail.re1.yahoo.com (web62205.mail.re1.yahoo.com [69.147.75.4]) by mx1.freebsd.org (Postfix) with SMTP id 98A6213C481 for ; Wed, 7 Mar 2007 18:30:32 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: (qmail 84174 invoked by uid 60001); 7 Mar 2007 18:30:28 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=qzb4TI0yfXdY/abvSxE6mUZz/i8MpI4WfTLVdgPCInI7H1t7O/1ismUwA9IvIWXpmMeWTcmY8MyROlneoAuibYdbEX0G+aj3pSahaRVSfxu4oTZjTz8TNk9dkpmqbYyc6bjYAItKUKOgFM3M7tcZGJxwa2aO1w/xJCMN/XNP25s=; X-YMail-OSG: EJg8XusVM1nfiq2abyNRLooeMsLN4NwCT15iiLSrZr74Z5AZqfkiDatxpIuZiHH4p.Q.4JVd5QMvr3nK.7.FzM9ISYx7yBuNs0cqQz_uAj65A37e9Kv5BzC4SZuRVUpy Received: from [67.46.93.3] by web62205.mail.re1.yahoo.com via HTTP; Wed, 07 Mar 2007 10:30:28 PST X-Mailer: YahooMailRC/468 YahooMailWebService/0.6.132.8 Date: Wed, 7 Mar 2007 10:30:28 -0800 (PST) From: Drew Jenkins To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <678279.82084.qm@web62205.mail.re1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 18:30:33 -0000 20BTW, here is how I test to see if it works after reboot.=0A=0A1) Try to p= ull up a page served by Zope. Get an error. =0A2) Shut Zope down.=0A3) Rest= art Zope with runzope to read the error. It is concerning the MySQL environ= ment.=0A4) Enter the command:=0Asetenv LD_LIBRARY_PATH /usr/local/lib/mysql= =0A5) Restart Zope. Everything fine.=0ADrew=0A=0A=0A=0A=0A=0A =0A__________= __________________________________________________________________________= =0AFinding fabulous fares is fun. =0ALet Yahoo! FareChase search your favo= rite travel sites to find flight and hotel bargains.=0Ahttp://farechase.yah= oo.com/promo-generic-14795097 From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 18:34:15 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C7C9816A400 for ; Wed, 7 Mar 2007 18:34:15 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out4.apple.com (mail-out4.apple.com [17.254.13.23]) by mx1.freebsd.org (Postfix) with ESMTP id 9410E13C442 for ; Wed, 7 Mar 2007 18:34:15 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay6.apple.com (a17-128-113-36.apple.com [17.128.113.36]) by mail-out4.apple.com (8.13.8/8.13.8) with ESMTP id l27IYFGc009244; Wed, 7 Mar 2007 10:34:15 -0800 (PST) Received: from relay6.apple.com (unknown [127.0.0.1]) by relay6.apple.com (Symantec Mail Security) with ESMTP id 5F013100FA; Wed, 7 Mar 2007 10:34:15 -0800 (PST) X-AuditID: 11807124-9c41ebb0000007df-32-45ef05a7b532 Received: from [17.214.13.96] (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay6.apple.com (Apple SCV relay) with ESMTP id 458BB1009A; Wed, 7 Mar 2007 10:34:15 -0800 (PST) In-Reply-To: <5A82D35B-AF37-4D57-B4DF-D90CFA9C84E6@shire.net> References: <5A82D35B-AF37-4D57-B4DF-D90CFA9C84E6@shire.net> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Chuck Swiger Date: Wed, 7 Mar 2007 10:34:14 -0800 To: "Chad Leigh -- Shire.Net LLC" X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== Cc: User Questions Subject: Re: ps showing [appname] for some things -- how to get whole thing? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 18:34:15 -0000 On Mar 7, 2007, at 2:49 AM, Chad Leigh -- Shire.Net LLC wrote: > On my 6.1 system I have a script that launches some java programs > [jdk142] and when I do a "ps -auxwww" I get the whole java command > line that was used in launching. > > On my 6.2 system with jdk15 teh scame scripts launch the same java > programs but I just get [java] in the ps output. Nothing in the ps > manpage jumped out at me. I would like to be able to get the whole > commandline when I do the ps From the manpage: When printing using the command keyword, a process that has exited and has a parent that has not yet waited for the process (in other words, a zombie) is listed as ``'', and a process which is blocked while trying to exit is listed as ``''. If the command vector cannot be located (usually because it has not been set, as is the case of system processes and/or kernel threads) the command name is printed within square brackets. The ps utility makes an educated guess as to the file name and arguments given when the process was created by examining memory or the swap area. The method is inherently somewhat unreliable and in any event a process is entitled to destroy this information, so the names cannot be depended on too much. The ucomm (accounting) keyword can, how- ever, be depended on. In other words, the process is allowed to over-write the environment (aka, the command line args & exported env variables) and that will prevent ps from reliably returning that info. All you can be sure of it getting argv[0], which is used for accounting in the ucomm variable.... -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 18:45:27 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4724C16A40A for ; Wed, 7 Mar 2007 18:45:27 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id 08A1213C46B for ; Wed, 7 Mar 2007 18:45:26 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from archangel.daleco.biz ([69.27.149.254]) by ezekiel.daleco.biz (8.13.4/8.13.1) with ESMTP id l27IjOOL026937; Wed, 7 Mar 2007 12:45:25 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <45EF083E.8060507@daleco.biz> Date: Wed, 07 Mar 2007 12:45:18 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2pre) Gecko/20070221 SeaMonkey/1.1 MIME-Version: 1.0 To: Gerard Seibert References: <31207.53325.qm@web34412.mail.mud.yahoo.com> <45EEC373.8030303@daleco.biz> <20070307105311.05b2ff84@localhost> In-Reply-To: <20070307105311.05b2ff84@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: mplayer (gmplayer) with xfce4.4.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 18:45:27 -0000 Gerard Seibert wrote: FreeBSD-6.2 xfce-4.4.0 > Kevin Kinsey wrote: > >> What is your mplayer/gmplayer version? `pkg_info | grep mplayer` will >> probably tell you. >> >> Is the underlying menu entry the same command that you run in the >> terminal? > > mplayer-0.99.10_5 > > I have tried running mplayer and gmplayer via the 'run' command, but > that fails also with the same error message. > Well, 0.99.8_5 here, although portupgrade -arR is running on ttyv0, so I may be installing a broken player also. I assume you have tried under another WM such as good old TWM? Same result? What about on the console (no X)? Are you playing video files or audio (probably video)? The "[ws] Shared Memory Extensions Error" sounds pretty application-specific to me. It's possible the xfce people should have referred you to mplayer as well as FBSD. I'm guessing somewhere between mplayer and X11 and FreeBSD. What about recompiling whilst passing --disable-shm to configure? Also, I assume you're on X.org, correct? Grasping at straws, KDK -- Insomnia isn't anything to lose sleep over. From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 18:49:17 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5170C16A403 for ; Wed, 7 Mar 2007 18:49:17 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: from web62204.mail.re1.yahoo.com (web62204.mail.re1.yahoo.com [69.147.75.3]) by mx1.freebsd.org (Postfix) with SMTP id 0516913C474 for ; Wed, 7 Mar 2007 18:49:16 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: (qmail 34425 invoked by uid 60001); 7 Mar 2007 18:49:16 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=5931o+yH1CDE4XRvSCvIMNt8nNQOocx6ulvYiva8G7th67P+9u3ngBu91RnN/C5L7mFO3r0tX3BfOOZoyGwnzZjU7u1w/ChsrDJxPUKB3rP+WgRx/ihjIkhEI/659jPIH4mUKKYUc2RX/yQ01TTxP1b+FbncrWVDiiARa29iyxQ=; X-YMail-OSG: RkHpgvgVM1lnUySiNbdJ5.199rWmX3PV0nXS.jRGpVhyzi9W1TrRVaT7Vx1c5WbhyQ-- Received: from [67.46.93.3] by web62204.mail.re1.yahoo.com via HTTP; Wed, 07 Mar 2007 10:49:16 PST X-Mailer: YahooMailRC/468 YahooMailWebService/0.6.132.8 Date: Wed, 7 Mar 2007 10:49:16 -0800 (PST) From: Drew Jenkins To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <71277.32291.qm@web62204.mail.re1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 18:49:17 -0000 I just tried another thing: =0A=0A1) Reboot server=0A2) Run the mysql-serve= r script that has the aforementioned mini-script in it (that produced the e= cho)=0A3) Restart Zope.=0A=0ANope...didn't work.=0A=0AThen I ran:=0Asetenv = LD_LIBRARY_PATH /usr/local/lib/mysql=0Aand restarted Zope and no problem! G= o figure!=0ADrew=0A=0A=0A=0A=0A =0A________________________________________= ____________________________________________=0ADon't get soaked. Take a qu= ick peek at the forecast=0Awith the Yahoo! Search weather shortcut.=0Ahttp:= //tools.search.yahoo.com/shortcuts/#loc_weather From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 18:58:25 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7663316A407 for ; Wed, 7 Mar 2007 18:58:25 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from kermit.lizardhill.com (kermit.lizardhill.com [64.69.41.217]) by mx1.freebsd.org (Postfix) with ESMTP id 636A713C48E for ; Wed, 7 Mar 2007 18:58:25 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from ip72-193-85-114.lv.lv.cox.net ([72.193.85.114] helo=mickey) by kermit.lizardhill.com with esmtpa (Exim 4.63) (envelope-from ) id 1HP1LJ-0007W4-F3 for freebsd-questions@freebsd.org; Wed, 07 Mar 2007 10:58:29 -0800 From: "Don O'Neil" To: "'FreeBSD Questions'" Date: Wed, 7 Mar 2007 10:58:22 -0800 Message-ID: <00f901c760ea$9461ce40$0700020a@mickey> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Thread-Index: Acdg6pQtWhYomjN2TWOjmC7t9tmBvg== Subject: /usr/local/etc/rc.d startup scripts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 18:58:25 -0000 Are there any special naming requirements for scripts in /usr/local/etc/rc.d for 6.1? Someone is telling me they need to have a .sh suffix to startup correctly, but in past versions of FreeBSD anything you put in there would run as long as it was executable. Just trying to confirm the correct info. Thanks! From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 19:01:00 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4C30416A401 for ; Wed, 7 Mar 2007 19:01:00 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (dsl081-227-250.chi1.dsl.speakeasy.net [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id E465B13C4B9 for ; Wed, 7 Mar 2007 19:00:57 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.12.11) with ESMTP id l27J0JqG063926; Wed, 7 Mar 2007 13:00:21 -0600 (CST) Message-Id: <6.0.0.22.2.20070307125850.02552208@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Wed, 07 Mar 2007 13:00:12 -0600 To: Daniel Feenberg , freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: References: Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: mount_smb shows no files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 19:01:00 -0000 It is not clear what you are trying to do. Are you mounting Windows shares on a FreeBSD server? Or mounting FreeBSD samba shares onto a Windows XP client? -Derek At 10:35 AM 3/7/2007, Daniel Feenberg wrote: >We are starting to use mount_smbfs to mount backup shares on our Windows >XP systems. Formerly we were using Linux successfully, but now many of our >mounts succeed, but don't show any files. We can't tell what might be >different among the XP systems to explain the difference, or why FreeBSD >and Linux should be different in this regard. > >Demonstration (note that "ls /mnt" shows no files, but there are files): > >backup2# mount_smbfs //backup@rm316/backup /mnt >Password: >backup2# ls /mnt >backup2# df /mnt >Filesystem 1K-blocks Used Avail Capacity Mounted on >//BACKUP@RM316/BACKUP 36659328 13238176 23421152 36% /mnt >backup2# mount_smbfs -v >mount_smbfs: version 1.1.0 >backup2# uname -a >FreeBSD backup2 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 >UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > >Thanks > >Daniel Feenberg >feenberg isat nber dotte 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" > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. >MailScanner thanks transtec Computers for their support. > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 19:11:12 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6704416A401 for ; Wed, 7 Mar 2007 19:11:12 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by mx1.freebsd.org (Postfix) with ESMTP id E6CCA13C46B for ; Wed, 7 Mar 2007 19:11:11 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so281809nfc for ; Wed, 07 Mar 2007 11:11:09 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=REDAnZ3c30g59OZ/EoX6SMhhSSZOxe9q3C+Pd7G8Wa4GHQwuZ1KMBhGe1FVgLXQv9mOVTTR8KTVJbRdwzht0txCfYSyp9BA2pPWd0uvol0JveeAwyy8KDCcxOSg6TFVUdBnbbRi7S26MR6VVIWTQUAwzWeMzguu98GaIWiclg0I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=P+gyOo4m5kzszEBwQtIkYxppVlhJDMrYN2ebe+XKBVu7sw2O/LqqTDLxMP7hn6Zq1Bsy6xXYupDyxhw13qpl4rNgwtFcB2u5ZyyC8uZuaTImOYuOGJyEWxW5dHaIx/syE1qtT7BdJOncQO4J++bK8dW8NyRQk1wATey7XV8EDpY= Received: by 10.82.134.12 with SMTP id h12mr9901520bud.1173294669432; Wed, 07 Mar 2007 11:11:09 -0800 (PST) Received: by 10.82.163.14 with HTTP; Wed, 7 Mar 2007 11:11:09 -0800 (PST) Message-ID: <8cb6106e0703071111p7f748910ve9f14d92c11e3a86@mail.gmail.com> Date: Wed, 7 Mar 2007 11:11:09 -0800 From: "Josh Carroll" To: "Don O'Neil" In-Reply-To: <00f901c760ea$9461ce40$0700020a@mickey> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <00f901c760ea$9461ce40$0700020a@mickey> Cc: FreeBSD Questions Subject: Re: /usr/local/etc/rc.d startup scripts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: josh.carroll@psualum.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 19:11:12 -0000 > Someone is telling me they need to have a .sh suffix to startup correctly, > but in past versions of FreeBSD anything you put in there would run as long > as it was executable. It need not have an sh extension. The MySQL port, for example, installs /usr/local/etc/rc.d/mysql-server, which works fine. Thanks, Josh From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 19:27:33 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 021B216A401 for ; Wed, 7 Mar 2007 19:27:33 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.189]) by mx1.freebsd.org (Postfix) with ESMTP id 744DD13C4CE for ; Wed, 7 Mar 2007 19:27:32 +0000 (UTC) (envelope-from illoai@gmail.com) Received: by mu-out-0910.google.com with SMTP id g7so293694muf for ; Wed, 07 Mar 2007 11:27:31 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=f+uI0EnI6KBb7L3XWnu5fjvolN1Dmc8Uvnn29x4PToaPNZY7YX2RgGuyFG0Kdpl55JxcF7E9eD6SYnYnmlPEJrvXyH7d9+Psvkel9E7chgeE9w8RZb3kGq8ABmmvuCFV6Jz6qi8iNyUcSq7emBdPQmAsXzOPHn5ywkrXPKJCiGU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TNL47rFh+tLWn4/qyLRH1UmbZzqU+wViqCloGnX2nqdRVW9B2HIggaSJ36aC6S7gODbTSEYmzjXiB3UvfJdQU0bSb92siyUDGEqNy+5c6wPO4Rofy3LrElACYe1Lv9VVQLLEdnySQNIa61QZKTtk73GRnfg6sXAcEAzHjqdmepk= Received: by 10.82.135.13 with SMTP id i13mr9938038bud.1173295649815; Wed, 07 Mar 2007 11:27:29 -0800 (PST) Received: by 10.82.175.1 with HTTP; Wed, 7 Mar 2007 11:27:29 -0800 (PST) Message-ID: Date: Wed, 7 Mar 2007 13:27:29 -0600 From: "illoai@gmail.com" To: "Drew Jenkins" In-Reply-To: <490012.3649.qm@web62204.mail.re1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <490012.3649.qm@web62204.mail.re1.yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 19:27:33 -0000 On 06/03/07, Drew Jenkins wrote: > Don Hinton wrote: > > ># ldconfig -aout -f /etc/ld.so.conf /usr/local/lib/mysql/ > > > >will create it for you. man ldconfig for more info... > > Well, that created a binary, but when I rebooted...nothing. Same problem :( The command should be # ldconfig -m /usr/local/lib/mysql The file is not /etc/ld.so.conf, nor does this file exist on the default install of freebsd, but rather /var/run/ld.so.hints. Also, the -aout flag would likely confuse things even further, unless we were running a very old version of freebsd. -- -- From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 19:35:53 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1457916A408 for ; Wed, 7 Mar 2007 19:35:53 +0000 (UTC) (envelope-from don.hinton@vanderbilt.edu) Received: from mailgate03.smtp.vanderbilt.edu (mailgate03.smtp.Vanderbilt.Edu [129.59.1.73]) by mx1.freebsd.org (Postfix) with ESMTP id BEBCB13C4B3 for ; Wed, 7 Mar 2007 19:35:52 +0000 (UTC) (envelope-from don.hinton@vanderbilt.edu) Received: from smtp10.smtp.vanderbilt.edu (smtp10.smtp.Vanderbilt.Edu [129.59.1.11]) by mailgate03.smtp.vanderbilt.edu (8.13.7/8.13.7) with ESMTP id l27JZpct027611 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 7 Mar 2007 13:35:51 -0600 Received: from smtp10.smtp.vanderbilt.edu (localhost [127.0.0.1]) by smtp10.smtp.vanderbilt.edu (8.12.11/8.12.11/VU-3.7.9C+d3.7.9) with ESMTP id l27JZpXN014687; Wed, 7 Mar 2007 13:35:51 -0600 (CST) Received: from a129103.n1.vanderbilt.edu (A129103.N1.Vanderbilt.Edu [129.59.129.103]) by smtp10.smtp.vanderbilt.edu (8.12.11/8.12.11/VU-3.7.9.3B+d3.7.9) with ESMTP id l27JZpXu014684 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 7 Mar 2007 13:35:51 -0600 (CST) From: Don Hinton Organization: ISIS To: freebsd-questions@freebsd.org Date: Wed, 7 Mar 2007 13:35:46 -0600 User-Agent: KMail/1.9.4 References: <490012.3649.qm@web62204.mail.re1.yahoo.com> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2876527.MqF5D5gIGJ"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200703071335.50996.don.hinton@vanderbilt.edu> X-Proofpoint-Virus-Version: vendor=fsecure engine=4.65.5502:2.3.11, 1.2.37, 4.0.164 definitions=2007-03-07_08:2007-03-07, 2007-03-07, 2007-03-07 signatures=0 X-PPS: No, score=0 Cc: Drew Jenkins , "illoai@gmail.com" Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 19:35:53 -0000 --nextPart2876527.MqF5D5gIGJ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 07 March 2007 13:27, illoai@gmail.com wrote: > On 06/03/07, Drew Jenkins wrote: > > Don Hinton wrote: > > ># ldconfig -aout -f /etc/ld.so.conf /usr/local/lib/mysql/ > > > > > >will create it for you. man ldconfig for more info... > > > > Well, that created a binary, but when I rebooted...nothing. Same problem > > :( > > The command should be > # ldconfig -m /usr/local/lib/mysql Thanks for the correction. This is actually what gets run when mysql is=20 installed via ports. > > The file is not /etc/ld.so.conf, nor does this file exist on > the default install of freebsd, but rather /var/run/ld.so.hints. > > Also, the -aout flag would likely confuse things even further, unless > we were running a very old version of freebsd. =2D-=20 Don Hinton or Institute for Software Integrated Systems (ISIS), Vanderbilt University tel: 615.480.5667 or 615.870.9728 --nextPart2876527.MqF5D5gIGJ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBF7xQW0U0xbM5cLs0RAgAtAJ9A3PCOMnyQ1Ui+MyAljWoASElpDQCfR5Vt n89LtoGU7dqYC8497CBQW/E= =M7T1 -----END PGP SIGNATURE----- --nextPart2876527.MqF5D5gIGJ-- From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 19:39:46 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 19EED16A402 for ; Wed, 7 Mar 2007 19:39:46 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: from web62203.mail.re1.yahoo.com (web62203.mail.re1.yahoo.com [69.147.75.2]) by mx1.freebsd.org (Postfix) with SMTP id D17F513C471 for ; Wed, 7 Mar 2007 19:39:45 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: (qmail 27134 invoked by uid 60001); 7 Mar 2007 19:39:45 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=0p3LRl2vFrcuyrAsz6gxtSdj0pr7ERvm7KLc3h0MoSsZWT+UBPndn6UxcJVzX14zsPFwtRS7CIB6IyMFNeQDzq/+E9YQKInOuNgylEJ0NnhdEYv8M5OhXHR8GZBJ8hmEVF/XzbAogB8wTXZ1qBmvG0f0dXBSnn/QAwYALqjyvD0=; X-YMail-OSG: K2Ejw9gVM1m7hLZsDXMmIkNdlVQD7cRQAharIz3x2TYLFzJhSjQvSvMke40XJW1dmiUfajkxFl4zWP92kX7T4zfv3htIFyoGFW19AISIugmAPE_6PVCU874H9o8p9AI- Received: from [67.46.93.3] by web62203.mail.re1.yahoo.com via HTTP; Wed, 07 Mar 2007 11:39:45 PST X-Mailer: YahooMailRC/468 YahooMailWebService/0.6.132.8 Date: Wed, 7 Mar 2007 11:39:45 -0800 (PST) From: Drew Jenkins To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <187983.26761.qm@web62203.mail.re1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 19:39:46 -0000 On 06/03/07, Drew Jenkins wrote:=0A> > Don Hinton= wrote:=0A> >=0A> > ># ldconfig -aout -f /etc/ld.so.conf /usr/local/lib/mys= ql/=0A> > >=0A> > >will create it for you. man ldconfig for more info...= =0A> >=0A> > Well, that created a binary, but when I rebooted...nothing. Sa= me problem :(=0A> =0A> The command should be=0A> # ldconfig -m /usr/local/l= ib/mysql=0A> =0A> The file is not /etc/ld.so.conf, nor does this file exist= on=0A> the default install of freebsd, but rather /var/run/ld.so.hints.=0A= =0A# ldconfig -m /usr/local/lib/mysql=0Aldconfig: /usr/local/lib/mysql: ign= oring directory not owned by root=0A=0AI had some permissions problems earl= ier with this installation and ended up chowning everything to mysql. But I= think that dir needs to be owned by mysql. Comment?=0ATIA,=0ADrew=0A=0A=0A= =0A =0A____________________________________________________________________= ________________=0ABored stiff? Loosen up... =0ADownload and play hundreds = of games for free on Yahoo! Games.=0Ahttp://games.yahoo.com/games/front From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 19:40:25 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EB6FA16A405 for ; Wed, 7 Mar 2007 19:40:25 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id ABDBC13C474 for ; Wed, 7 Mar 2007 19:40:15 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan@localhost [127.0.0.1]) by dan.emsphone.com (8.14.0/8.13.8) with ESMTP id l27Je9R2046755 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 7 Mar 2007 13:40:10 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.0/8.14.0/Submit) id l27Je9lU046754; Wed, 7 Mar 2007 13:40:09 -0600 (CST) (envelope-from dan) Date: Wed, 7 Mar 2007 13:40:09 -0600 From: Dan Nelson To: "Don O'Neil" Message-ID: <20070307194009.GL86959@dan.emsphone.com> References: <00f901c760ea$9461ce40$0700020a@mickey> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00f901c760ea$9461ce40$0700020a@mickey> X-OS: FreeBSD 6.2-STABLE User-Agent: Mutt/1.5.14 (2007-02-12) Cc: 'FreeBSD Questions' Subject: Re: /usr/local/etc/rc.d startup scripts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 19:40:26 -0000 In the last episode (Mar 07), Don O'Neil said: > Are there any special naming requirements for scripts in > /usr/local/etc/rc.d for 6.1? > > Someone is telling me they need to have a .sh suffix to startup > correctly, but in past versions of FreeBSD anything you put in there > would run as long as it was executable. Scripts in /usr/local/etc/rc.d are processed using a two-pass method. New rc.subr-style scripts are detected by the presence of a "# PROVIDE:" line, and are ordered based on dependencies listed in REQUIRE and BEFORE lines. Old-style scripts have to end in *.sh, and are run in alphabetical order after new scripts. Files not ending in .sh without a PROVIDE: line are ignored. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 19:49:45 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3B8E816A40A for ; Wed, 7 Mar 2007 19:49:45 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from smtp807.mail.ird.yahoo.com (smtp807.mail.ird.yahoo.com [217.146.188.67]) by mx1.freebsd.org (Postfix) with SMTP id 933FB13C4B7 for ; Wed, 7 Mar 2007 19:49:44 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: (qmail 58210 invoked from network); 7 Mar 2007 19:49:42 -0000 Received: from unknown (HELO ?192.168.1.2?) (thomasjudge@btinternet.com@81.157.42.3 with plain) by smtp807.mail.ird.yahoo.com with SMTP; 7 Mar 2007 19:49:42 -0000 X-YMail-OSG: hSDqVq8VM1lipy7GGEUJQ5gNsEizwqoaTHJ_Vum107asNTHvIdY6_iIw9BNoCzlURWFJBuCUiBVA0wrOZhtMmFCx9Pf9PB2t71JiXAPGNZr7Mm0_kko- Message-ID: <45EF17C9.7040804@tomjudge.com> Date: Wed, 07 Mar 2007 19:51:37 +0000 From: Tom Judge User-Agent: Thunderbird 1.5.0.9 (X11/20070104) MIME-Version: 1.0 To: Don O'Neil References: <002d01c760d8$4eed1070$0700020a@mickey> In-Reply-To: <002d01c760d8$4eed1070$0700020a@mickey> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: 'FreeBSD Questions' Subject: Re: 3dm-2.04.00.035 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 19:49:45 -0000 Don O'Neil wrote: > Does anyone have any working experiecne with the 3dm-2.04.00.035, 3ware RAID > controller monitoring daemon and web server? I installed the port on my > machine, edited the config file (changed passwords) and the daemon is > running, but I cannot connect to it on port 888 as per the config. > > I'm running FreeBSD 6.1 and have a 3ware 7500 series card. I'm not even sure > if that one is supported or not, as there is no reference to v 2.04.00.035 > (or anything 2.X) on 3wares web site. > > Thanks! You can't change the passwords in the config file, they are encrypted. The default passwords for both administrator and user are 3ware. You need to set them back to the default values. Also on i386 it is https://xxx.xxx.xxx.xxx:888/ on amd64 it is http://xxx.xxx.xxx.xxx:888/ Hope this helps Tom From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 19:57:23 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1A4D316A400 for ; Wed, 7 Mar 2007 19:57:23 +0000 (UTC) (envelope-from don.hinton@vanderbilt.edu) Received: from mailgate04.smtp.vanderbilt.edu (mailgate04.smtp.Vanderbilt.Edu [129.59.1.75]) by mx1.freebsd.org (Postfix) with ESMTP id C868413C461 for ; Wed, 7 Mar 2007 19:57:22 +0000 (UTC) (envelope-from don.hinton@vanderbilt.edu) Received: from smtp10.smtp.vanderbilt.edu (smtp10.smtp.Vanderbilt.Edu [129.59.1.11]) by mailgate04.smtp.vanderbilt.edu (8.13.7/8.13.7) with ESMTP id l27JvJj8021752 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 7 Mar 2007 13:57:19 -0600 Received: from smtp10.smtp.vanderbilt.edu (localhost [127.0.0.1]) by smtp10.smtp.vanderbilt.edu (8.12.11/8.12.11/VU-3.7.9C+d3.7.9) with ESMTP id l27JvJug016839; Wed, 7 Mar 2007 13:57:19 -0600 (CST) Received: from a129103.n1.vanderbilt.edu (A129103.N1.Vanderbilt.Edu [129.59.129.103]) by smtp10.smtp.vanderbilt.edu (8.12.11/8.12.11/VU-3.7.9.3B+d3.7.9) with ESMTP id l27JvJCm016832 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 7 Mar 2007 13:57:19 -0600 (CST) From: Don Hinton Organization: ISIS To: freebsd-questions@freebsd.org Date: Wed, 7 Mar 2007 13:57:18 -0600 User-Agent: KMail/1.9.4 References: <187983.26761.qm@web62203.mail.re1.yahoo.com> In-Reply-To: <187983.26761.qm@web62203.mail.re1.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2834853.Alfu9fqGfD"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200703071357.18810.don.hinton@vanderbilt.edu> X-Proofpoint-Virus-Version: vendor=fsecure engine=4.65.5502:2.3.11, 1.2.37, 4.0.164 definitions=2007-03-07_09:2007-03-07, 2007-03-07, 2007-03-07 signatures=0 X-PPS: No, score=0 Cc: Drew Jenkins Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 19:57:23 -0000 --nextPart2834853.Alfu9fqGfD Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 07 March 2007 13:39, Drew Jenkins wrote: > On 06/03/07, Drew Jenkins wrote: > > > Don Hinton wrote: > > > ># ldconfig -aout -f /etc/ld.so.conf /usr/local/lib/mysql/ > > > > > > > >will create it for you. man ldconfig for more info... > > > > > > Well, that created a binary, but when I rebooted...nothing. Same > > > problem :( > > > > The command should be > > # ldconfig -m /usr/local/lib/mysql > > > > The file is not /etc/ld.so.conf, nor does this file exist on > > the default install of freebsd, but rather /var/run/ld.so.hints. > > # ldconfig -m /usr/local/lib/mysql > ldconfig: /usr/local/lib/mysql: ignoring directory not owned by root > > I had some permissions problems earlier with this installation and ended = up > chowning everything to mysql. But I think that dir needs to be owned by > mysql. Comment?=20 Here's what the man page says about it: For security reasons, directories which are world or group-writable or which are not owned by root produce warning messages and are skipped, unless the -i option is present. So pass -i or fix the ownership/permissions. Take a look at man ldconfig f= or=20 more info... Also, sorry for my initial erroneous post.. hth... don > TIA,=20 > Drew > > > > > _________________________________________________________________________= __ >_________ Bored stiff? Loosen up... > Download and play hundreds of games for free on Yahoo! Games. > http://games.yahoo.com/games/front > _______________________________________________ > 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" =2D-=20 Don Hinton or Institute for Software Integrated Systems (ISIS), Vanderbilt University tel: 615.480.5667 or 615.870.9728 --nextPart2834853.Alfu9fqGfD Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBF7xke0U0xbM5cLs0RAsh0AKDNpFhbpd7xDZee6cKr3b3wNjJNUQCg2Us/ dqiqh9JXW17rmmsrcWD8+88= =LkRz -----END PGP SIGNATURE----- --nextPart2834853.Alfu9fqGfD-- From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 20:07:45 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6595516A401 for ; Wed, 7 Mar 2007 20:07:45 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: from web62201.mail.re1.yahoo.com (web62201.mail.re1.yahoo.com [69.147.74.254]) by mx1.freebsd.org (Postfix) with SMTP id 1642913C471 for ; Wed, 7 Mar 2007 20:07:44 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: (qmail 12892 invoked by uid 60001); 7 Mar 2007 20:07:44 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=cwVER3YSEl2c/PQKg6xvQ5S8l1jXUBtS0QGb++VDLSc2/lHUbEN14K2DYR85xojY9PW1Fw2aWSrDfj2rCXJSDtz2GQNFZuSo96jCjsO2KnqtdQRRibrAqnc8zywyIyah46M/YjThpYxs3QgSeR4fYheCRddOVSHuqML5jn33s9U=; X-YMail-OSG: yVXnObUVM1mhVEnqJw4i13cq_.vT5qMG96UgO3z8db3Ty6R2i8srxhW8IIWXot3QIZwvEItR85EanyzlkCgqzCyC6MlM._X43HPubP86vU1unhWUUMwU3rBLRZSUKnlM Received: from [67.46.93.3] by web62201.mail.re1.yahoo.com via HTTP; Wed, 07 Mar 2007 12:07:44 PST X-Mailer: YahooMailRC/468 YahooMailWebService/0.6.132.8 Date: Wed, 7 Mar 2007 12:07:44 -0800 (PST) From: Drew Jenkins To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <515112.12746.qm@web62201.mail.re1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 20:07:45 -0000 > > The command should be=0A> > # ldconfig -m /usr/local/lib/mysql=0A>=0A> = Thanks for the correction. This is actually what gets run when mysql is=0A= > installed via ports.=0A=0AWith that, I went ahead and chowned the dir bac= k to mysql, ran the command successfully, but it still didn't work. Now I'm= wondering if maybe it's a permissions problem. As I mentioned earlier, I c= howned everything to mysql:mysql because of an earlier permissions problem.= Should I chown that whole dir ( /usr/local/lib/mysql )? Or something else?= =0ATIA,=0ADrew=0A=0A=0A=0A=0A =0A__________________________________________= __________________________________________=0AFinding fabulous fares is fun.= =0ALet Yahoo! FareChase search your favorite travel sites to find flight = and hotel bargains.=0Ahttp://farechase.yahoo.com/promo-generic-14795097 From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 20:15:49 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EFD1116A403 for ; Wed, 7 Mar 2007 20:15:49 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: from web62212.mail.re1.yahoo.com (web62212.mail.re1.yahoo.com [69.147.75.11]) by mx1.freebsd.org (Postfix) with SMTP id 8705013C4AC for ; Wed, 7 Mar 2007 20:15:49 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: (qmail 1818 invoked by uid 60001); 7 Mar 2007 20:15:49 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=jwNmf6MNWMyHZ0fzLlxgH/g39jOleScQDyhICg1tPuc95oYDjCr8q+Y25EY8PUfzSKoe6IDBRLYxWxz59tE+qzGO5UtYpzTsXWRrF1mMoFdmZPTHW/aFcFx0Kw05sdQ8w9yHgr5zUwUdMx5OQTOjYgfKT3UmXcoyjFBztD/CZ7E=; X-YMail-OSG: eFjYAfIVM1mMds000NZLYYV4edbDUbVuEZOPqCs_oN0OMYJiW4n3e1CnsnKwkqsn81hw1MNo3PjHDvlZodHAhLW3FRqSyGb3brVw9vsAegnvyWH1g.RRdmiiFmh4.gmjTsQ- Received: from [67.46.93.3] by web62212.mail.re1.yahoo.com via HTTP; Wed, 07 Mar 2007 12:15:49 PST X-Mailer: YahooMailRC/468 YahooMailWebService/0.6.132.8 Date: Wed, 7 Mar 2007 12:15:48 -0800 (PST) From: Drew Jenkins To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <15914.962.qm@web62212.mail.re1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 20:15:50 -0000 > So pass -i or fix the ownership/permissions. =0A=0AWell, I've tried both= now with no luck!=0ADrew=0A=0A=0A=0A =0A__________________________________= __________________________________________________=0AFinding fabulous fares= is fun. =0ALet Yahoo! FareChase search your favorite travel sites to find= flight and hotel bargains.=0Ahttp://farechase.yahoo.com/promo-generic-1479= 5097 From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 20:16:56 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 471CB16A407 for ; Wed, 7 Mar 2007 20:16:56 +0000 (UTC) (envelope-from benfell@earth.parts-unknown.org) Received: from earth.parts-unknown.org (earth.parts-unknown.org [66.93.170.243]) by mx1.freebsd.org (Postfix) with SMTP id 14BFD13C4A8 for ; Wed, 7 Mar 2007 20:16:56 +0000 (UTC) (envelope-from benfell@earth.parts-unknown.org) Received: (qmail 1484 invoked by uid 501); 7 Mar 2007 20:16:55 -0000 Date: Wed, 7 Mar 2007 12:16:55 -0800 From: David Benfell To: Benjamin Sobotta Message-ID: <20070307201655.GA90190@parts-unknown.org> Mail-Followup-To: Benjamin Sobotta , freebsd-questions@freebsd.org References: <20070307080709.GA12501@parts-unknown.org> <20070307091335.274890@gmx.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="r5Pyd7+fXNt84Ff3" Content-Disposition: inline In-Reply-To: <20070307091335.274890@gmx.net> X-gnupg-public-key: http://www.parts-unknown.org/gnupg/export-0DD1D1E3 X-stardate: [-29]7249.20 X-moon: The Moon is Waning Gibbous (87% of Full) User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-questions@freebsd.org Subject: Re: .wavs play but not .mp3s X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 20:16:56 -0000 --r5Pyd7+fXNt84Ff3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, 07 Mar 2007 10:13:35 +0100, Benjamin Sobotta wrote: > -------- Original-Nachricht -------- > Datum: Wed, 7 Mar 2007 00:07:09 -0800 > Von: David Benfell > An: freebsd-questions@freebsd.org > CC:=20 > Betreff: .wavs play but not .mp3s >=20 > > I'm not having any trouble playing .wav files; lame -h > > seems to happily convert them, and mpg123 and madplay > > don't complain when I ask them to play .mp3s, but I'm > > also not hearing any sound. > >=20 > > So, why is this such a problem? > >=20 >=20 > I'm not sure about this, but sometimes the volume of the different output= devices is just maladjusted. You may want to check the output of "mixer" t= o see if any relevant devices are zero. >=20 Hi Benjamin, earth% mixer Mixer vol is currently set to 75:75 Mixer pcm is currently set to 75:75 Mixer speaker is currently set to 75:75 Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer cd is currently set to 75:75 Mixer rec is currently set to 0:0 Mixer igain is currently set to 0:0 Mixer ogain is currently set to 50:50 Mixer line1 is currently set to 75:75 Mixer phin is currently set to 0:0 Mixer phout is currently set to 0:0 Mixer video is currently set to 75:75 Recording source: mic And like I say, .wav files play fine. Why would these settings affect mp3s and not wavs? Thanks! --=20 David Benfell, LCP benfell@parts-unknown.org --- Resume available at http://www.parts-unknown.org/ NOTE: I sign all messages with GnuPG (0DD1D1E3). --r5Pyd7+fXNt84Ff3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF7x23Ud+dMw3R0eMRArRmAJ4yZjNYLniqEsFTS16b+En4j6h91wCfX1gT vf3t821tDCaPUoKQDv2tiFI= =gZzY -----END PGP SIGNATURE----- --r5Pyd7+fXNt84Ff3-- From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 21:02:14 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4E93716A402 for ; Wed, 7 Mar 2007 21:02:14 +0000 (UTC) (envelope-from peter@placidpublishing.net) Received: from mail.placidpublishing.net (placidpublishing.net [72.232.50.130]) by mx1.freebsd.org (Postfix) with ESMTP id 2CBE613C471 for ; Wed, 7 Mar 2007 21:02:14 +0000 (UTC) (envelope-from peter@placidpublishing.net) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.placidpublishing.net (Postfix) with ESMTP id 03EA85082D for ; Wed, 7 Mar 2007 15:08:08 -0600 (CST) Received: from mail.placidpublishing.net ([127.0.0.1]) by localhost (mail.placidpublishing.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 39321-06 for ; Wed, 7 Mar 2007 15:08:05 -0600 (CST) Received: from [192.168.1.20] (c-67-175-92-171.hsd1.il.comcast.net [67.175.92.171]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.placidpublishing.net (Postfix) with ESMTP id 905AD5080A for ; Wed, 7 Mar 2007 15:08:05 -0600 (CST) Message-ID: <45EF2856.2090202@placidpublishing.net> Date: Wed, 07 Mar 2007 15:02:14 -0600 From: Peter Pluta Organization: Placid Publishing, LLC User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard Subject: Dependencys and confusion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: peter@placidpublishing.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 21:02:14 -0000 I'm a bit confused with dependency's. When you have a stale dependency's what does this usually mean? Does that mean that the dependency was already updated and not noted in the pkgdb? Or does it mean the version in the pkgdb is wrong and that I have a newer or older version installed? Also, how do I correct it when running pkgdb -F I tried to enter the newer version of the dependency and it told me I need to pick from a list it gave me. :( Any feedback would be greatly appreciated. From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 21:02:38 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EBE3D16A403 for ; Wed, 7 Mar 2007 21:02:38 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr10.xs4all.nl (smtp-vbr10.xs4all.nl [194.109.24.30]) by mx1.freebsd.org (Postfix) with ESMTP id 84AB213C494 for ; Wed, 7 Mar 2007 21:02:36 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr10.xs4all.nl (8.13.8/8.13.8) with ESMTP id l27L2YYp018358; Wed, 7 Mar 2007 22:02:35 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 4D769B82B; Wed, 7 Mar 2007 22:02:34 +0100 (CET) Date: Wed, 7 Mar 2007 22:02:34 +0100 From: Roland Smith To: "Don O'Neil" Message-ID: <20070307210234.GA6253@slackbox.xs4all.nl> Mail-Followup-To: Don O'Neil , 'FreeBSD Questions' References: <00f901c760ea$9461ce40$0700020a@mickey> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5mCyUwZo2JvN/JJP" Content-Disposition: inline In-Reply-To: <00f901c760ea$9461ce40$0700020a@mickey> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.14 (2007-02-12) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: 'FreeBSD Questions' Subject: Re: /usr/local/etc/rc.d startup scripts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 21:02:39 -0000 --5mCyUwZo2JvN/JJP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 07, 2007 at 10:58:22AM -0800, Don O'Neil wrote: > Are there any special naming requirements for scripts in /usr/local/etc/r= c.d > for 6.1? >=20 > Someone is telling me they need to have a .sh suffix to startup correctly, > but in past versions of FreeBSD anything you put in there would run as lo= ng > as it was executable. You can do both, see rc(8). If you use the .sh extension, the script will be executed by the current shell, while those without will be run in a subshell (which is probably what you want). Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --5mCyUwZo2JvN/JJP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.2 (FreeBSD) iD8DBQFF7yhqEnfvsMMhpyURAn46AJwJT/N7IYIEgfNRfKTGCwimwBmKrwCfWkzu clXHGiQ84gxfBSk1H8ipwq4= =/53J -----END PGP SIGNATURE----- --5mCyUwZo2JvN/JJP-- From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 21:07:31 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 737EE16A40B for ; Wed, 7 Mar 2007 21:07:31 +0000 (UTC) (envelope-from vivek.prasannan@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.freebsd.org (Postfix) with ESMTP id D236F13C481 for ; Wed, 7 Mar 2007 21:07:30 +0000 (UTC) (envelope-from vivek.prasannan@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so320913nfc for ; Wed, 07 Mar 2007 13:07:29 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=RMZCxTRFkIcs1J/2d3dergnvUvXSmKcwr3G6XgKQLS2mktCjhA2GfemxeabvZqiDL5WBzo31eBs52hkPa3dKPbgIsDmHw2gBHrzNbkvPCxR7cRF3Am0VC94VWMtgKTVnoZExZicwxC3Te+t+/Puzc7+Opaf5mpiwZ0hYYzVty/c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=tLWAuKVirifzgEU3VAlbDGNZP/WhYqyMJutJtgGes5m2r/EJa7OIudshCPqcO41ttHH+jO0sgaoDWbQlr2n7MQMIUPrDdCB0Pr1E26lB84bPmOKPskO1a6ucWMm139k4sE2a70P5JvyxmGP21Yz6VrwHAfyX7/1bE/9JOLAc+N4= Received: by 10.82.111.8 with SMTP id j8mr10048563buc.1173300063677; Wed, 07 Mar 2007 12:41:03 -0800 (PST) Received: by 10.82.179.19 with HTTP; Wed, 7 Mar 2007 12:41:03 -0800 (PST) Message-ID: Date: Thu, 8 Mar 2007 02:11:03 +0530 From: "Vivek Prasannan" To: freebsd-performance@freebsd.org, freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: w hangs before loading X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vivek.prasannan@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 21:07:31 -0000 Hi, When I type the command 'w' it holds for a while before printing the output. There is no firewall in the system, load average is below 0.8 and I suspect it is something else. Any thoughts on this. -Vivek From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 21:08:03 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 46E0216A405 for ; Wed, 7 Mar 2007 21:08:03 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id 1F26113C47E for ; Wed, 7 Mar 2007 21:08:03 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from gumby.homeunix.com (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id C2452519A3 for ; Wed, 7 Mar 2007 16:08:00 -0500 (EST) Date: Wed, 7 Mar 2007 21:07:52 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20070307210752.60a1db77@gumby.homeunix.com> In-Reply-To: <20070307194009.GL86959@dan.emsphone.com> References: <00f901c760ea$9461ce40$0700020a@mickey> <20070307194009.GL86959@dan.emsphone.com> X-Mailer: Claws Mail 2.8.0 (GTK+ 2.10.9; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: /usr/local/etc/rc.d startup scripts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 21:08:03 -0000 On Wed, 7 Mar 2007 13:40:09 -0600 Dan Nelson wrote: > In the last episode (Mar 07), Don O'Neil said: > > Are there any special naming requirements for scripts in > > /usr/local/etc/rc.d for 6.1? > > > > Someone is telling me they need to have a .sh suffix to startup > > correctly, but in past versions of FreeBSD anything you put in there > > would run as long as it was executable. > > Scripts in /usr/local/etc/rc.d are processed using a two-pass method. > New rc.subr-style scripts are detected by the presence of a > "# PROVIDE:" line, and are ordered based on dependencies listed in > REQUIRE and BEFORE lines. Old-style scripts have to end in *.sh, and > are run in alphabetical order after new scripts. Files not ending in > .sh without a PROVIDE: line are ignored. > An RcNG script that ends in .sh is sourced into the current shell rather than executed in a new one. This allows you to bring down the entire boot process. Assuming this behaviour applies to local RcNG scripts too, it's best to avoid the .sh suffix. From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 21:09:31 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7080E16A405 for ; Wed, 7 Mar 2007 21:09:31 +0000 (UTC) (envelope-from maslak@ihlas.net.tr) Received: from pop3.ihlas.net.tr (smtp.ihlas.net.tr [213.238.128.249]) by mx1.freebsd.org (Postfix) with SMTP id B4C7413C4B3 for ; Wed, 7 Mar 2007 21:09:30 +0000 (UTC) (envelope-from maslak@ihlas.net.tr) Received: (qmail 41853 invoked by uid 89); 7 Mar 2007 20:42:06 -0000 X-Mail-Scanner: Scanned by qSheff-II-2.1 (http://www.enderunix.org/qsheff/) Received: from unknown (HELO ihlasnetym) (213.238.150.220) by 0 with SMTP; 7 Mar 2007 20:42:05 -0000 Message-ID: <001401c760f9$2c48f310$dc96eed5@ihlasnetym> From: "Halid Faith" To: Date: Wed, 7 Mar 2007 22:42:50 +0200 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: About root user rights X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 21:09:31 -0000 I use Freebsd6.0.stable. =20 Let me explain my scene. I am an admin for my bsdserver. That is, I can be root user. But There = are 3 people who can be root user in the same server. I have a directory. I want them not to enter that directory. if it be = possible the server should ask one more password for that directory when = anyone reaches there. Or let another user can reache there but let "Root user" not able to = read there. Does it possible ?=20 Thanks=20 From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 21:16:34 2007 Return-Path: X-Original-To: FreeBSD-questions@FreeBSD.org Delivered-To: FreeBSD-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1465716A403 for ; Wed, 7 Mar 2007 21:16:34 +0000 (UTC) (envelope-from chris@hier7.com) Received: from smtp108.rog.mail.re2.yahoo.com (smtp108.rog.mail.re2.yahoo.com [68.142.225.206]) by mx1.freebsd.org (Postfix) with SMTP id A637113C4E9 for ; Wed, 7 Mar 2007 21:16:33 +0000 (UTC) (envelope-from chris@hier7.com) Received: (qmail 18880 invoked from network); 7 Mar 2007 21:16:31 -0000 Received: from unknown (HELO ?74.109.56.185?) (cms.kw@rogers.com@74.109.56.185 with plain) by smtp108.rog.mail.re2.yahoo.com with SMTP; 7 Mar 2007 21:16:31 -0000 X-YMail-OSG: UpbRm1AVM1lZZpyGZsxfbe64cSu5VGAe93gkZBz3hhYge5EiWa28NRQvqtHGPfqE.A-- Message-ID: <45EF2BB0.9000609@hier7.com> Date: Wed, 07 Mar 2007 16:16:32 -0500 From: Chris Slothouber Organization: hier7 User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) 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 Cc: Subject: Re: w hangs before loading X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 21:16:34 -0000 Check to make sure your /etc/resolv.conf is configured correctly. It sounds like it could be taking a while to resolve the remote addresses connected. Vivek Prasannan wrote: > Hi, > > When I type the command 'w' it holds for a while before printing the > output. > There is no firewall in the system, load average is below 0.8 and I suspect > it is something else. Any thoughts on this. > > -Vivek > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 21:20:37 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1DBCE16A404 for ; Wed, 7 Mar 2007 21:20:37 +0000 (UTC) (envelope-from galvez@virginia.edu) Received: from d-137-145-155.bootp.virginia.edu (d-137-145-155.bootp.Virginia.EDU [137.54.145.155]) by mx1.freebsd.org (Postfix) with ESMTP id 5DA6F13C4B5 for ; Wed, 7 Mar 2007 21:20:34 +0000 (UTC) (envelope-from galvez@virginia.edu) Received: by d-137-145-155.bootp.virginia.edu (Postfix, from userid 501) id A74491A6CAB; Wed, 7 Mar 2007 09:02:59 -0500 (EST) Date: Wed, 7 Mar 2007 09:02:59 -0500 From: Mike Galvez To: eoghan Message-ID: <20070307140259.GA242@virginia.edu> References: <20070306163254.WETL2045.dukecmmtao03.coxmail.com@dukecmmtao03> <9888aa630703061345n2994c964m85b2148f170ffc3e@mail.gmail.com> <20070306225147.GJ246@virginia.edu> <9888aa630703061503i327d6076w3220f58997475eb1@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9888aa630703061503i327d6076w3220f58997475eb1@mail.gmail.com> User-Agent: Mutt/1.4.2.1i X-Operating-System: Darwin Cc: freebsd-questions@freebsd.org Subject: Re: apache problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 21:20:37 -0000 On Tue, Mar 06, 2007 at 11:03:34PM +0000, eoghan wrote: > On 3/6/07, Mike Galvez wrote: > > >> >> > > -----Original Message----- > >> >> > > From: owner-freebsd-questions@freebsd.org > >> >> > > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of eoghan > >> >> > > Sent: Tuesday, March 06, 2007 5:50 AM > >> >> > > To: freebsd > >> >> > > Subject: apache problem > >> >> > > > >> >> > > Hi > >> >> > > I am running apache 2.2.4 on FreeBSD 6.1. This is a recent > >> >> > > upgrade from ports (in the past few days or so). Since then I > >> >> > > cant browse to localhost. Just get an unable to connect > >> >> > > message. The server seems to start with: > >> >> > > $sudo apachectl start > >> >> > > If I try it again I see its already running. > >> >> > > My error log shows: > >> >> > > [Mon Mar 05 11:20:00 2007] [notice] Apache/2.2.4 (FreeBSD) > >> >> > > mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.1 with Suhosin-Patch > >> >> > > configured -- resuming normal operations > >> >> > > [Mon Mar 05 11:20:22 2007] [notice] caught SIGTERM, shutting down > >> >> > > > >> >> > > I have tried the apache list but no real answers, and apache > >> >> > > was working fine for me before I upgraded. Has anyone else > >> >> > > noticed this since an upgrade to the 2.2.4 version from ports? > >> >> > > > >> >> > > Thanks > >> >> > > Eoghan > >> >> > > >> >> > I had the same problem. Here is how I fixed it: > >> >> > #apachectl stop > >> >> > # cd /usr/ports/www/apache22 > >> >> > #make clean > >> >> > # make deinstall > >> >> > # rm ./* > >> >> > Then do a cvsup ports all > >> >> > now once more > >> >> > #cd /usr/ports/www/apache22 > >> >> > # make (it will use your stored config) > >> >> > #make install > >> >> > #make clean > >> >> > #apachectl start > >> >> > >> >> Hi > >> >> Gret, thanks for that, I will give this a go. > >> >> Regards > >> >> Eoghan > >> >> > >> >all the best > >> >please let me know if it works 4U > >> >-- I have made a posting on ports@freebsd.org -- so the maintainer knows > >> >aboutthe problem. If this also works for you it should not be too > >> >difficult for someone to fix the port. > >> >David > >> > >> Hi > >> I have tried this and i still cant get it working. Also tried syntax > >> check and its checks out OK, as someone else suggested to do... any > >> further suggestions? > >> Thanks > >> Eoghan > >> _______________________________________________ > >> 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, > > > >I was rebuilding one of my servers yesterday. I was having trouble getting > >ldap > >support to build, but I was also seeing the same issue you describe. The > >configtest reported no errors and Apache appeared to start and I could see > >it in > >the process list, but could not contact the server. Out of frustration i > >bounced > >the box and when it came back up Apache started as expected (minus ldap of > >course). > > > > > >-- > >Michael Galvez http://www.people.virginia.edu/~mrg8n > >Information Technology Specialist University of Virginia > > Hi > By bounced the box, do you mean restarted it? > Thanks > Eoghan Yes. Restart the OS. Even though I had killed all http processes, Apache 2.2.4 server would not restart correctly without restarting the OS. -Mike > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Michael Galvez http://www.people.virginia.edu/~mrg8n Information Technology Specialist University of Virginia From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 21:24:18 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E2DAA16A400 for ; Wed, 7 Mar 2007 21:24:18 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out4.apple.com (mail-out4.apple.com [17.254.13.23]) by mx1.freebsd.org (Postfix) with ESMTP id C689313C4A6 for ; Wed, 7 Mar 2007 21:24:18 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay8.apple.com (relay8.apple.com [17.128.113.38]) by mail-out4.apple.com (8.13.8/8.13.8) with ESMTP id l27LOIao006602; Wed, 7 Mar 2007 13:24:18 -0800 (PST) Received: from relay8.apple.com (unknown [127.0.0.1]) by relay8.apple.com (Symantec Mail Security) with ESMTP id 943C4404EE; Wed, 7 Mar 2007 13:24:18 -0800 (PST) X-AuditID: 11807126-9f797bb0000007dd-5d-45ef2d824546 Received: from [17.214.13.96] (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay8.apple.com (Apple SCV relay) with ESMTP id 828FF40024; Wed, 7 Mar 2007 13:24:18 -0800 (PST) In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Chuck Swiger Date: Wed, 7 Mar 2007 13:24:17 -0800 To: vivek.prasannan@gmail.com X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== Cc: freebsd-performance@freebsd.org, User Questions Subject: Re: w hangs before loading X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: User Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 21:24:19 -0000 On Mar 7, 2007, at 12:41 PM, Vivek Prasannan wrote: [ ...cross-posting between freebsd-questions and other FreeBSD lists is generally not encouraged; Reply-To: set... ] > When I type the command 'w' it holds for a while before printing > the output. > There is no firewall in the system, load average is below 0.8 and I > suspect > it is something else. Any thoughts on this. The 'w' command attempts to look up the hostnames for any users which are remotely logged in. If you encounter a significant delay, that suggests that reverse DNS (aka PTR record lookups) is not properly configured or is performing slowly in your situation. -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 21:27:42 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1F0E216A405 for ; Wed, 7 Mar 2007 21:27:42 +0000 (UTC) (envelope-from andy@kendallnet.wanadoo.co.uk) Received: from smtp1.freeserve.com (smtp1.wanadoo.co.uk [193.252.22.158]) by mx1.freebsd.org (Postfix) with ESMTP id 9353013C4B3 for ; Wed, 7 Mar 2007 21:27:41 +0000 (UTC) (envelope-from andy@kendallnet.wanadoo.co.uk) Received: from smtp1.freeserve.com (mwinf3001 [172.22.159.23]) by mwinf3010.me.freeserve.com (SMTP Server) with ESMTP id A96755C00F69 for ; Wed, 7 Mar 2007 21:57:38 +0100 (CET) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3001.me.freeserve.com (SMTP Server) with ESMTP id 7D5A51C000ED for ; Wed, 7 Mar 2007 21:57:36 +0100 (CET) Received: from andypc2 (user-54471877.wfd83a.dsl.pol.co.uk [84.71.24.119]) by mwinf3001.me.freeserve.com (SMTP Server) with ESMTP id DDE401C000E8 for ; Wed, 7 Mar 2007 21:57:35 +0100 (CET) X-ME-UUID: 20070307205735908.DDE401C000E8@mwinf3001.me.freeserve.com From: "Andy Kendall" To: Date: Wed, 7 Mar 2007 20:57:39 -0000 Message-ID: <000a01c760fb$3e76a850$4a074c0a@andypc2> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 Thread-Index: Acdg+z4qSlEc3HxqStaAM5tDyWRK8A== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Error message: inetd[667]: ssh/tcp: bind: Address already in use X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: andy@kendallnet.wanadoo.co.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 21:27:42 -0000 Hi All, Can anyone please help me with this error message which pops up at regular intervals on the console and in the log? It's been happening since I built the box a few days ago and extensive Googling and BSD list searches haven't resulted in any clues. Unfortunately I'm a FreeBSD newb but I'm not a technology newb. So far I have: 1) Downloaded and burned the 6v2 CD's 2) Used them to build the box. 3) Set up a few Host Table entries 4) Put the box on my LAN. 5) Created my user account with root priviliges 6) Turned on SSH. 7) Allowed remote root log in over SSH. (I know bad security practice). Next I want to: 1) Sort/understand the above error message 2) Set up two network HP printers (any recommendations) 3) Get CVS configured and working. (I'm surprised I can't find a "recommended basic build" anywhere.) Thanks Andy From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 21:30:12 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E90F216A400 for ; Wed, 7 Mar 2007 21:30:12 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id 8F8BB13C461 for ; Wed, 7 Mar 2007 21:30:02 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan@localhost [127.0.0.1]) by dan.emsphone.com (8.14.0/8.13.8) with ESMTP id l27LTur3073485 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 7 Mar 2007 15:29:56 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.0/8.14.0/Submit) id l27LTu6b073483; Wed, 7 Mar 2007 15:29:56 -0600 (CST) (envelope-from dan) Date: Wed, 7 Mar 2007 15:29:56 -0600 From: Dan Nelson To: Andy Kendall Message-ID: <20070307212956.GO86959@dan.emsphone.com> References: <000a01c760fb$3e76a850$4a074c0a@andypc2> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000a01c760fb$3e76a850$4a074c0a@andypc2> X-OS: FreeBSD 6.2-STABLE User-Agent: Mutt/1.5.14 (2007-02-12) Cc: freebsd-questions@freebsd.org Subject: Re: Error message: inetd[667]: ssh/tcp: bind: Address already in use X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 21:30:13 -0000 In the last episode (Mar 07), Andy Kendall said: > Hi All, > > Can anyone please help me with this error message which pops up at regular > intervals on the console and in the log? ssh is usually started as a daemon via /etc/rc.d/sshd, so it shouldn't be enabled via /etc/inetd.conf. Just comment out the ssh line in inetd.conf and bounce inetd. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 21:30:35 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A2CD416A404 for ; Wed, 7 Mar 2007 21:30:35 +0000 (UTC) (envelope-from lehmann@ans-netz.de) Received: from avocado.salatschuessel.net (avocado.salatschuessel.net [83.136.81.184]) by mx1.freebsd.org (Postfix) with ESMTP id 02DD613C4A5 for ; Wed, 7 Mar 2007 21:30:34 +0000 (UTC) (envelope-from lehmann@ans-netz.de) Received: (qmail 38430 invoked by uid 89); 7 Mar 2007 21:03:53 -0000 Received: from unknown (HELO kartoffel.salatschuessel.net) (83.136.81.185) by avocado.salatschuessel.net with SMTP; 7 Mar 2007 21:03:53 -0000 Date: Wed, 7 Mar 2007 22:03:51 +0100 From: Oliver Lehmann To: questions@freebsd.org Message-Id: <20070307220351.b5411250.lehmann@ans-netz.de> X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.9; amd64-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: bsnmpd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 21:30:35 -0000 Hi, please keep me CCed - I'm not subscribed to questions@ Is there a way to have bsnmpd execute a script when questioning a specific oid and returning it's output? Like it can be done with the following config directive in net-snmp exec .1.1.5.0 hdte /usr/local/snmp-scripts/get_hdd_temp.sh ata /dev/ad0 olivleh1@fiori olivleh1> snmpwalk -v2c -c * kartoffel 1.1.5 iso.1.5.0.1.1 = INTEGER: 1 iso.1.5.0.2.1 = STRING: "hdte" iso.1.5.0.3.1 = STRING: "/usr/local/snmp-scripts/get_hdd_temp.sh ata /dev/ad0" iso.1.5.0.100.1 = INTEGER: 0 iso.1.5.0.101.1 = STRING: "31" iso.1.5.0.101.2 = STRING: "0" iso.1.5.0.102.1 = INTEGER: 0 iso.1.5.0.103.1 = "" root@kartoffel /root> /usr/local/snmp-scripts/get_hdd_temp.sh ata /dev/ad0 31 0 -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/ From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 21:30:51 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B44D116A401 for ; Wed, 7 Mar 2007 21:30:51 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out3.apple.com (mail-out3.apple.com [17.254.13.22]) by mx1.freebsd.org (Postfix) with ESMTP id 9BA7713C47E for ; Wed, 7 Mar 2007 21:30:51 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay5.apple.com (a17-128-113-35.apple.com [17.128.113.35]) by mail-out3.apple.com (8.13.8/8.13.8) with ESMTP id l27LUpHr015956; Wed, 7 Mar 2007 13:30:51 -0800 (PST) Received: from relay5.apple.com (unknown [127.0.0.1]) by relay5.apple.com (Symantec Mail Security) with ESMTP id 50F0B29C005; Wed, 7 Mar 2007 13:30:51 -0800 (PST) X-AuditID: 11807123-9d91cbb000004462-a2-45ef2f0b89b5 Received: from [17.214.13.96] (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay5.apple.com (Apple SCV relay) with ESMTP id 3C76F30400B; Wed, 7 Mar 2007 13:30:51 -0800 (PST) In-Reply-To: <001401c760f9$2c48f310$dc96eed5@ihlasnetym> References: <001401c760f9$2c48f310$dc96eed5@ihlasnetym> Mime-Version: 1.0 (Apple Message framework v752.2) X-Priority: 3 Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Chuck Swiger Date: Wed, 7 Mar 2007 13:30:50 -0800 To: Halid Faith X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== Cc: freebsd-questions@freebsd.org Subject: Re: About root user rights X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 21:30:51 -0000 On Mar 7, 2007, at 12:42 PM, Halid Faith wrote: > I am an admin for my bsdserver. That is, I can be root user. But > There are 3 people who can be root user in the same server. I have > a directory. I want them not to enter that directory. if it be > possible the server should ask one more password for that directory > when anyone reaches there. > Or let another user can reache there but let "Root user" not able > to read there. Does it possible ? Not easily, no-- by design, root has complete access to the system. If you don't trust the other users, then they simply should not have root access to the machine. It's perhaps possible to create an encrypted file which you'd mount via "mdconfig -t vnode -f _file_" once you've supplied another password... -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 21:37:16 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5711016A401 for ; Wed, 7 Mar 2007 21:37:16 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id 2D84D13C467 for ; Wed, 7 Mar 2007 21:37:16 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from gumby.homeunix.com (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 506EB51930 for ; Wed, 7 Mar 2007 16:37:14 -0500 (EST) Date: Wed, 7 Mar 2007 21:37:10 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20070307213710.73bc0a5d@gumby.homeunix.com> In-Reply-To: References: <539c60b90703010849x33dd4bbbt8f6ca6aa0c8e83a0@mail.gmail.com> <20070301192109.A24369@chylonia.3miasto.net> <20070302085100.125cf488@localhost> <20070301221738.GA86154@gizmo.acns.msu.edu> <20070302161225.GB90036@gizmo.acns.msu.edu> X-Mailer: Claws Mail 2.8.0 (GTK+ 2.10.9; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: defrag X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 21:37:16 -0000 On Sat, 3 Mar 2007 15:01:12 +0100 (CET) Christian Baer wrote: > You do know that you can use 'tunefs -m 0'? This will in fact cause > fragmentation to happen - even on UFS2! UFS2 has methods of avoiding > fragmentation that work quite well but it is not a 'magical' file > system, which only means that every gain comes with a price. In this > case the price is 10-15% of the HD's space. What happens if you use tunefs -m 0, but don't use the released space? Or if you only occasionally use it? From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 22:06:27 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3BE6516A406 for ; Wed, 7 Mar 2007 22:06:27 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: from web62214.mail.re1.yahoo.com (web62214.mail.re1.yahoo.com [69.147.75.13]) by mx1.freebsd.org (Postfix) with SMTP id F3C8913C4A3 for ; Wed, 7 Mar 2007 22:06:26 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: (qmail 83291 invoked by uid 60001); 7 Mar 2007 22:06:06 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=2KqTl9sKAYOoKhT+Jm4wqWTheEocwLmYsMolCtNgoXQztKQ843eTd0prFYDBHXKm/FU3utGht8Ax0271xi+Q0av6cxQNrENUus/j9m2oBLrUJUoDVzDrSkpbA3ZOpEzmCcKeSJ/2KYNqSs5XN6I3HzYDrsssvLXRSCc6vgVHlhc=; X-YMail-OSG: yGnE1zMVM1nX1nvuNlmoCTcKFZzP_RHzYmtN.WVDHrdfEpwiau8gOorUukgcEgIAMA-- Received: from [67.46.93.3] by web62214.mail.re1.yahoo.com via HTTP; Wed, 07 Mar 2007 14:06:03 PST X-Mailer: YahooMailRC/468 YahooMailWebService/0.6.132.8 Date: Wed, 7 Mar 2007 14:06:03 -0800 (PST) From: Drew Jenkins To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <878837.80919.qm@web62214.mail.re1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 22:06:27 -0000 ----- Original Message ----=0AFrom: DAve =0ATo: = Drew Jenkins =0ASent: Wednesday, March 7, 2007 4:2= 5:12 PM=0ASubject: Re: Setting Env=0A=0A>/usr/local/lib/mysql should be own= ed by root:wheel, at least it is all=0A>my servers.=0A=0AI chown'd it back.= =0A=0A>Do that and run ldconfig -r | grep mysql=0A>=0A>I get the following,= =0A>=0A>bash-2.05b# ldconfig -r | grep mysql=0A> search directories= :=0A>/lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/mysql:/usr= /local/lib/compat/pkg=0A> 82:-lmysqlclient_r.14 =3D>=0A>/usr/local/= lib/mysql/libmysqlclient_r.so.14=0A> 83:-lmysqlclient.14 =3D> /usr/= local/lib/mysql/libmysqlclient.so.14=0A=0ASame here.=0ATIA,=0ADrew=0A=0A=0A= =0A=0A =0A_________________________________________________________________= ___________________=0AFood fight? Enjoy some healthy debate =0Ain the Yahoo= ! Answers Food & Drink Q&A.=0Ahttp://answers.yahoo.com/dir/?link=3Dlist&sid= =3D396545367 From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 22:20:53 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5D69016A400 for ; Wed, 7 Mar 2007 22:20:53 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: from web62208.mail.re1.yahoo.com (web62208.mail.re1.yahoo.com [69.147.75.7]) by mx1.freebsd.org (Postfix) with SMTP id 2010B13C4A3 for ; Wed, 7 Mar 2007 22:20:53 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: (qmail 27127 invoked by uid 60001); 7 Mar 2007 22:20:40 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=JdedpMtTRfQYQmojkjJBLaH8y9IyNoz0kogDbcwmoSkdALTgoiN6DoIe9yy/wn5PPsL2Qd0gcptTesqPz4h3hNiEYSu+HO0vW1ZASj2SPHBD051SrnN+ZYc/v5vgzq7PZdAg95B41uKePbylBe7RO9wj1al5s8Aa9+BDih06RwA=; X-YMail-OSG: 6AeQ6R8VM1m9pthGggynNT7L1LMtkX7C3otNsu2PZXl0e8czyXV1WQ2GO6XJsO.7.P0oA0Vdd3phgoRpSi8dN6BMc30Fo3.qKvk3gcMqbmUE5Jz3iAcJgr8oHD58taE- Received: from [67.46.93.3] by web62208.mail.re1.yahoo.com via HTTP; Wed, 07 Mar 2007 14:20:40 PST X-Mailer: YahooMailRC/468 YahooMailWebService/0.6.132.8 Date: Wed, 7 Mar 2007 14:20:39 -0800 (PST) From: Drew Jenkins To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <230282.17850.qm@web62208.mail.re1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 22:20:53 -0000 Thanks. I'm downloading a big file right now, so can't reboot, but did chow= n :)=0ADrew=0A=0A----- Original Message ----=0AFrom: Kevin Kinsey =0ATo: Drew Jenkins =0ASent: Wednesday, Mar= ch 7, 2007 6:14:50 PM=0ASubject: Re: Setting Env=0A=0ADrew Jenkins wrote:= =0A>>> The command should be=0A>>> # ldconfig -m /usr/local/lib/mysql=0A>> = Thanks for the correction. This is actually what gets run when mysql is=0A= >> installed via ports.=0A> =0A> With that, I went ahead and chowned the di= r back to mysql, ran the =0A > command successfully, but it still didn't wo= rk. Now I'm wondering > =0Awondering if maybe it's a permissions problem. = As I mentioned=0A > earlier, I chowned everything to mysql:mysql because o= f an=0A > earlier permissions problem. Should I chown that whole dir=0A > (= /usr/local/lib/mysql )? Or something else?=0A> TIA,=0A> Drew=0A> =0A> =0A= =0AUpgraded last night:=0A=0A[502] Wed 07.Mar.2007 16:09:00 =0A [ka= dmin@archangel][~] =0A ls -l /usr/local/lib | grep mysql= =0Adrwxr-xr-x 2 root wheel 1024 Mar 6 21:19 mysql/=0A =0A = [503] Wed 07.Mar.2007 16:09:07 =0A [kadmin@archangel][~] = =0A ls -l /usr/local/lib/mysql=0Atotal 4=0A-rwxr-= xr-x 1 root wheel 840 Mar 6 21:19 ha_example.la*=0Alrwxr-xr-x 1 roo= t wheel 15 Mar 6 21:19 ha_example.so@ -> =0Aha_example.so.0=0A-rwxr-= xr-x 1 root wheel 29443 Mar 6 21:19 ha_example.so.0*=0A-r--r--r-- 1 r= oot wheel 1402 Mar 6 21:19 libdbug.a=0A-r--r--r-- 1 root wheel 771= 36 Mar 6 21:19 libheap.a=0A-r--r--r-- 1 root wheel 373300 Mar 6 21:19 = libmyisam.a=0A-r--r--r-- 1 root wheel 60970 Mar 6 21:19 libmyisammrg.a= =0A-rw-r--r-- 1 root wheel 513856 Mar 6 20:47 libmysqlclient.a=0A-rwxr-= xr-x 1 root wheel 860 Mar 6 20:47 libmysqlclient.la*=0Alrwxr-xr-x 1= root wheel 20 Mar 6 20:47 libmysqlclient.so@ -> =0Alibmysqlclient.s= o.15=0A-rwxr-xr-x 1 root wheel 443684 Mar 6 20:47 libmysqlclient.so.15*= =0A-rw-r--r-- 1 root wheel 523008 Mar 6 20:47 libmysqlclient_r.a=0A-rwx= r-xr-x 1 root wheel 892 Mar 6 20:47 libmysqlclient_r.la*=0Alrwxr-xr-= x 1 root wheel 22 Mar 6 20:47 libmysqlclient_r.so@ -> =0Alibmysqlcl= ient_r.so.15=0A-rwxr-xr-x 1 root wheel 451915 Mar 6 20:47 libmysqlclien= t_r.so.15*=0A-r--r--r-- 1 root wheel 302608 Mar 6 21:19 libmystrings.a= =0A-r--r--r-- 1 root wheel 272920 Mar 6 21:19 libmysys.a=0A-r--r--r-- = 1 root wheel 6670 Mar 6 21:19 libvio.a=0A=0A=0AHTH,=0A=0AKDK=0A-- =0AI= have a map of the United States. It's actual size.=0AI spent last summer = folding it.=0APeople ask me where I live, and I say, E6.=0A -- Steve= n Wright=0A=0A=0A=0A=0A=0A=0A=0A =0A_______________________________________= _____________________________________________=0ADon't pick lemons.=0ASee al= l the new 2007 cars at Yahoo! Autos.=0Ahttp://autos.yahoo.com/new_cars.html= From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 22:34:58 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5602016A400 for ; Wed, 7 Mar 2007 22:34:58 +0000 (UTC) (envelope-from djp@polands.org) Received: from corinth.polands.org (CPE-75-87-219-217.new.res.rr.com [75.87.219.217]) by mx1.freebsd.org (Postfix) with ESMTP id 1A9ED13C4A5 for ; Wed, 7 Mar 2007 22:34:58 +0000 (UTC) (envelope-from djp@polands.org) Received: from ammon.polands.org (ammon.polands.org [172.16.1.7]) by corinth.polands.org (8.13.8/8.13.8) with ESMTP id l27M8tsx064970 for ; Wed, 7 Mar 2007 16:08:55 -0600 (CST) (envelope-from djp@polands.org) Received: from ammon.polands.org (localhost [127.0.0.1]) by ammon.polands.org (8.13.8/8.13.8) with ESMTP id l27M2bHX045493 for ; Wed, 7 Mar 2007 16:02:37 -0600 (CST) (envelope-from djp@ammon.polands.org) Received: (from djp@localhost) by ammon.polands.org (8.13.8/8.13.8/Submit) id l27M2bkq045492 for questions@freebsd.org; Wed, 7 Mar 2007 16:02:37 -0600 (CST) (envelope-from djp) Date: Wed, 7 Mar 2007 16:02:37 -0600 From: Doug Poland To: questions@freebsd.org Message-ID: <20070307220223.GA45436@polands.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 X-Virus-Scanned: ClamAV 0.88.4/2772/Wed Mar 7 14:41:03 2007 on corinth.polands.org X-Virus-Status: Clean Cc: Subject: PRISM3(PCMCIA) and/or wi(4) driver unable to do WPA? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 22:34:58 -0000 Hello, I just acquired a Linksys "Instant Wireless Network PC Card" 802.11b wireless NIC. When plugged into a 6.2 i386 laptop, dmesg reports: wi0: at port 0x100-0x13f irq 11 function 0 config 1 on pccard1 wi0: using RF:PRISM3(PCMCIA) wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.2) wi0: Ethernet address: 00:06:25:18:6e:1d When I attempted to connect to my WPA-PSK WAP, wpa_supplicant(8) just hangs. When I turned off encryption on the WAP, and enter: # dhclient wi0 Then the NIC connects just fine. So the question is, is it the NIC, the wi(4) driver, or what? -- Regards, Doug From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 22:51:56 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C280116A407 for ; Wed, 7 Mar 2007 22:51:56 +0000 (UTC) (envelope-from nikolas.britton@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by mx1.freebsd.org (Postfix) with ESMTP id 7EC7813C4B7 for ; Wed, 7 Mar 2007 22:51:56 +0000 (UTC) (envelope-from nikolas.britton@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so282709ana for ; Wed, 07 Mar 2007 14:51:55 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NLwgs7XjPe/eh+CU2e8A6wWf/Db/4+voXKPFq8X7ZKhPlel/ia1dDQb+XU6TbNgTK78wfSWQNLxtX6mS5lNUOy2BhpAx1tNu2zMjHS3uHsR0vrGM/JKgkNPkX9BlaqbUhx/6OIlHjOyeihzS5EGEvltnoTkrjuSzkkkMVlU7Ulg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EOP9UPDdkn05K6kN+iNC3a6CiBSJaEW5jPJhZh4JpQVDHARbWZeghYkzPHt8XRgktHrfIzDxnVTYC3a+cMWGsH08LBf7vbBl/D9LXsqsN/+wbjO7P8pYBNoTE3TgTYDEKYNFJRaO50JlGfeNhjRSqdt38c0iqFMchhncNn93E0Y= Received: by 10.100.57.14 with SMTP id f14mr4947414ana.1173306469537; Wed, 07 Mar 2007 14:27:49 -0800 (PST) Received: by 10.100.109.12 with HTTP; Wed, 7 Mar 2007 14:27:49 -0800 (PST) Message-ID: Date: Wed, 7 Mar 2007 16:27:49 -0600 From: "Nikolas Britton" To: "perryh@pluto.rain.com" In-Reply-To: <45ea80b8.Qe+uQ8PBhjzYK3/T%perryh@pluto.rain.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <57114.69.48.112.156.1172869231.squirrel@email.polands.org> <45ea80b8.Qe+uQ8PBhjzYK3/T%perryh@pluto.rain.com> Cc: FreeBSD Subject: Re: RESEND: Re: BSDstats report for Mar 1st, 2006 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 22:51:56 -0000 On 3/4/07, perryh@pluto.rain.com wrote: > > suggested adding a prompt to sysinstall asking if ppl wanted to > > participate, and the response I heard was that someone basically > > needed to submit a patch ... anyone here know enough about > > sysinstall to do so? > > If considering work on sysinstall to improve the stats, how about > fixing some of the pitfalls that drive away prospective new users? > (IOW increase the actual number of installations rather than just > the fraction that get reported.) Do we enough samples to accurately estimate the population using statistics, and do we have any numbers for the total BSD user-base and system-base? From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 23:04:58 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1CE9416A401 for ; Wed, 7 Mar 2007 23:04:58 +0000 (UTC) (envelope-from doug@polands.org) Received: from corinth.polands.org (CPE-75-87-219-217.new.res.rr.com [75.87.219.217]) by mx1.freebsd.org (Postfix) with ESMTP id D675F13C48E for ; Wed, 7 Mar 2007 23:04:57 +0000 (UTC) (envelope-from doug@polands.org) Received: from email.polands.org (ammon.polands.org [172.16.1.7]) by corinth.polands.org (8.13.8/8.13.8) with ESMTP id l27MYC6O065073 for ; Wed, 7 Mar 2007 16:34:12 -0600 (CST) (envelope-from doug@polands.org) Received: from 172.16.1.37 (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Wed, 7 Mar 2007 16:27:54 -0600 (CST) Message-ID: <55223.172.16.1.37.1173306474.squirrel@email.polands.org> Date: Wed, 7 Mar 2007 16:27:54 -0600 (CST) From: "Doug Poland" To: questions@freebsd.org User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: ClamAV 0.88.4/2772/Wed Mar 7 14:41:03 2007 on corinth.polands.org X-Virus-Status: Clean Cc: Subject: PRISM3(PCMCIA) and/or wi(4) driver unable to do WPA? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 23:04:58 -0000 Hello, I have just acquired a Linksys "Instant Wireless Network PC Card" 802.11b wireless NIC. When plugged into a 6.2 i386 laptop, dmesg reports: wi0: at port 0x100-0x13f irq 11 function 0 config 1 on pccard1 wi0: using RF:PRISM3(PCMCIA) wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.2) wi0: Ethernet address: 00:06:25:18:6e:1d When I attempted to connect to my WPA-PSK WAP, wpa_supplicant(8) just hangs. When I turned off encryption on the WAP, and enter: # dhclient wi0 Then the NIC connects just fine. So the question is, is the NIC or the wi(4) driver incapable of WPA encryption? Thanks for the help. -- Regards, Doug From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 23:41:20 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 20B5316A400 for ; Wed, 7 Mar 2007 23:41:20 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from pizzabox.cyberleo.net (alpha.cyberleo.net [198.145.45.10]) by mx1.freebsd.org (Postfix) with ESMTP id DC20813C4A7 for ; Wed, 7 Mar 2007 23:41:19 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: (qmail 69028 invoked from network); 7 Mar 2007 23:41:19 -0000 Received: from adsl-75-3-93-223.dsl.chcgil.sbcglobal.net (HELO ?172.16.44.14?) (cyberleo@cyberleo.net@75.3.93.223) by alpha.cyberleo.net with ESMTPA; 7 Mar 2007 23:41:19 -0000 Message-ID: <45EF4D99.6070406@cyberleo.net> Date: Wed, 07 Mar 2007 17:41:13 -0600 From: CyberLeo Kitsana User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: FreeBSD Questions References: <45EAE1AD.10706@cyberleo.net> In-Reply-To: <45EAE1AD.10706@cyberleo.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Solved: Router with multiple DSL uplinks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 23:41:20 -0000 CyberLeo Kitsana wrote: > Hi! > > I'm trying to configure a NAT router with multiple DSL uplinks from > the same provider. Everything seems to work properly, except when > connecting via PPPoE--the second link to come up receives an error > while attempting to configure the second tun interface, as both links > assign addresses in the same subnet and to the same peer. > > Is there some configuration or trick I can use to coerce the router to > bring up both links properly? > > PPp ON router1> Warning: iface add: ioctl(SIOCAIFADDR, xx.xx.xx.230/24 > -> 192.0.2.100): File exists > Error: ipcp_InterfaceUp: unable to set ip address This is caused by multiple ptp interfaces with the same peer address (192.0.2.100 in the above example). At least with SBC (AT&T), the actual IP there doesn't really matter, as it's just a way for the kernel to determine which interface to send the packet out on, and the other side will route the packet regardless. A simple iface up-script in mpd to change the peer IP to something else on each instance fixes the error nicely. This was for a multi-homed router project (2-4 DSL links, without ISP cooperation) that turns out to be quite functional. Details are at the following URL, for anyone interested (only notes for now): http://wiki.cyberleo.net/index.php/MultiHomedRouter Thanks! -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://www.fur.com/peace/ From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 23:58:27 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 45A4216A400 for ; Wed, 7 Mar 2007 23:58:27 +0000 (UTC) (envelope-from pbowen@fastmail.fm) Received: from out5.smtp.messagingengine.com (out5.smtp.messagingengine.com [66.111.4.29]) by mx1.freebsd.org (Postfix) with ESMTP id 1D1DE13C441 for ; Wed, 7 Mar 2007 23:58:27 +0000 (UTC) (envelope-from pbowen@fastmail.fm) Received: from out1.internal (unknown [10.202.2.149]) by out1.messagingengine.com (Postfix) with ESMTP id AAB1C1F5DFE for ; Wed, 7 Mar 2007 18:58:26 -0500 (EST) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by out1.internal (MEProxy); Wed, 07 Mar 2007 18:58:26 -0500 X-Sasl-enc: 2ahHRQ4o7KjZEyooXCoN6N8oq1zyKolQijNGVGLfWl86 1173311906 Received: from [10.51.27.181] (unknown [204.110.228.254]) by mail.messagingengine.com (Postfix) with ESMTP id 94F52166E7 for ; Wed, 7 Mar 2007 18:58:25 -0500 (EST) Message-ID: <45EF5181.1020504@fastmail.fm> Date: Wed, 07 Mar 2007 17:57:53 -0600 From: Patrick Bowen User-Agent: Thunderbird 1.5.0.9 (X11/20070213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <55223.172.16.1.37.1173306474.squirrel@email.polands.org> In-Reply-To: <55223.172.16.1.37.1173306474.squirrel@email.polands.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: PRISM3(PCMCIA) and/or wi(4) driver unable to do WPA? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 23:58:27 -0000 Doug Poland wrote: > Hello, > > I have just acquired a Linksys "Instant Wireless Network PC Card" > 802.11b wireless NIC. When plugged into a 6.2 i386 laptop, dmesg > reports: > > wi0: at > port 0x100-0x13f irq 11 function 0 config 1 on pccard1 > wi0: using RF:PRISM3(PCMCIA) > wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.2) > wi0: Ethernet address: 00:06:25:18:6e:1d > > When I attempted to connect to my WPA-PSK WAP, wpa_supplicant(8) just > hangs. When I turned off encryption on the WAP, and enter: > > # dhclient wi0 > > Then the NIC connects just fine. So the question is, is the NIC or the > wi(4) driver incapable of WPA encryption? > > Thanks for the help. > > Try adding; ifconfig_wi0="DHCP" to /etc/rc.conf. That way it will run dhclient automatically whenever you plug the card in. Patrick From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 00:39:12 2007 Return-Path: X-Original-To: questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7CA4516A403 for ; Thu, 8 Mar 2007 00:39:12 +0000 (UTC) (envelope-from paulette_mcgee@yahoo.com) Received: from web62309.mail.re1.yahoo.com (web62309.mail.re1.yahoo.com [69.147.75.23]) by mx1.freebsd.org (Postfix) with SMTP id 2E82213C428 for ; Thu, 8 Mar 2007 00:39:12 +0000 (UTC) (envelope-from paulette_mcgee@yahoo.com) Received: (qmail 22587 invoked by uid 60001); 8 Mar 2007 00:12:31 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=17w5iwsl6HGjSq/X2tzkEcSv73E/+D+xfCOKJovf90bdSWvyCAxRzzNaPvswW4vjT263WV3681EJGQXrIjpc+bmVSB1ATyxGbw8Nq0uvJdJ1BR0nUwpLOta5ZmAPfXSYuZENZMHY/K+YH44LAd9uPDjwdocnzr2cUNEJRO1jad0=; X-YMail-OSG: Nj2RWOMVM1kLWVD9cdeox7OKF4e7Rc60YCWN2_3DTyqhjCmK19Pu3gM2lqag6NAM6SJo2D6UJApW4DhoJkxKiE4pm7ohPbqGDlC4nrzEAshJ610q6CjCZfqxtGvhd5r3 Received: from [68.164.15.239] by web62309.mail.re1.yahoo.com via HTTP; Wed, 07 Mar 2007 16:12:30 PST Date: Wed, 7 Mar 2007 16:12:30 -0800 (PST) From: Paulette McGee To: "s.moyzis" , questions@FreeBSD.org In-Reply-To: <000801c760d9$e8a95650$2c82fd44@DJ2KXR91> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <990624.22426.qm@web62309.mail.re1.yahoo.com> Cc: Subject: Re: System freezes on install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 00:39:12 -0000 --- "s.moyzis" wrote: > I have a copy of FreeBSD 4.4, when I try to install > from the boot CD, or the 2 floppies, the > keyboard/system freezes on Kernal Configuration > Menu. I also have 2 HD's, an internal 80 Gb for > Windows XP, and a 250 Gb external HD for C; backup > and a partition for FreeBSD. It's a one year old > 'puter. Any ideas? Thank you, > > Steve Moyzis > s.moyzis@sbcglobal.net > > > > "The only secure computer is one that's unplugged, > locked in a safe, and buried 20 feet under the > ground > in a secret location... and I'm not even too sure > about > that one" > _______________________________________________ > 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" > Hello Steve, The version of FreeBSD 4.4 was release in ~2001. Your hardware is a little newer. You may want to use a more updated version of FreeBSD (IE: FreeBSD 6.2). Here is a link to the download page: http://www.freebsd.org/where.html Regards, Paulette McGee ____________________________________________________________________________________ The fish are biting. Get more visitors on your site using Yahoo! Search Marketing. http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 01:15:44 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B537B16A403 for ; Thu, 8 Mar 2007 01:15:44 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.freebsd.org (Postfix) with ESMTP id 4239F13C478 for ; Thu, 8 Mar 2007 01:15:44 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so719839ugh for ; Wed, 07 Mar 2007 17:15:43 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=W8gvlISDSjmTGhGYB+gEQ7ZKtBqTH00ESCsU2o/NGGLBPcVSvepeHF4kEGs19YSyOjg9jLFIuaL2cFc/YpUnThmk1e4Cd3JNEo/KbEI28VYyZCLltapjUv884afLL7I9mNSP94gQ3bLuletGHj/WmEyGBU7UvqY9XXPsqzaiZB8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=gy24nvyTqP/U2A3VQfiaOAcMOaQbKLPrwnpTYvGAnVTDWCuBPOZVxtjU+jTTQeas1NxYzW765i9rqJ/V5o8LKvmkMOnV3Nd1dDlXwIsFBBK6tkBzF+Rp38Rdy/MW/wbYfScCBnuKwgg6JusB6P8nG+fr1HOB6/JB8CgN3/aZy2E= Received: by 10.114.145.1 with SMTP id s1mr2410794wad.1173316542204; Wed, 07 Mar 2007 17:15:42 -0800 (PST) Received: by 10.114.201.2 with HTTP; Wed, 7 Mar 2007 17:15:42 -0800 (PST) Message-ID: Date: Thu, 8 Mar 2007 04:15:42 +0300 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: "Oliver Lehmann" In-Reply-To: <20070307220351.b5411250.lehmann@ans-netz.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070307220351.b5411250.lehmann@ans-netz.de> X-Google-Sender-Auth: 0981e51685407584 Cc: questions@freebsd.org Subject: Re: bsnmpd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 01:15:44 -0000 Try this: http://www.freshports.org/net-mgmt/bsnmp-regex/ From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 01:31:20 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 41D6316A402 for ; Thu, 8 Mar 2007 01:31:20 +0000 (UTC) (envelope-from tillman@seekingfire.com) Received: from mail.seekingfire.com (thoth.seekingfire.com [24.89.83.9]) by mx1.freebsd.org (Postfix) with ESMTP id 0F87913C442 for ; Thu, 8 Mar 2007 01:31:19 +0000 (UTC) (envelope-from tillman@seekingfire.com) Received: by mail.seekingfire.com (Postfix, from userid 500) id 429BA39830; Wed, 7 Mar 2007 19:31:19 -0600 (CST) Date: Wed, 7 Mar 2007 19:31:19 -0600 From: Tillman Hodgson To: freebsd-questions@freebsd.org Message-ID: <20070308013119.GD21811@seekingfire.com> References: <20070306190034.GA21811@seekingfire.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Habeas-SWE-1: winter into spring X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-9: mark in spam to . X-GPG-Key-ID: 828AFC7B X-GPG-Fingerprint: 5584 14BA C9EB 1524 0E68 F543 0F0A 7FBC 828A FC7B X-GPG-Key: http://www.seekingfire.com/personal/gpg_key.asc X-Urban-Legend: There is lots of hidden information in headers X-Tillman-rules: yes he does User-Agent: Mutt/1.5.14 (2007-02-12) Subject: Re: Kerberos authenticatino and ldap authorization X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 01:31:20 -0000 On Wed, Mar 07, 2007 at 02:43:15AM -0700, RJ45 wrote: > there are many difficulties and YES there is the documentation > on FreeBSD handbook but it does not helped me so much I Still ahve > difficulties. > > I isntalled MIT krb5 also and I Am using kadmin from MIT > to manage krb5 server. So no possibility of $PATH problems? > First problem > > kadmin: ktadd -k /etc/krb5.keytab host/host.domain > kadmin: Unsupported key table format version number while adding key to > keytab > > I can't undertand this message i touched /etc/krb5.keytab > but via kadmin it is unable to export the krb5 key I added before > with Touching it ahead of time shouldn't be necessary. Your syntax might be off, I'm not sure because it looks like you've made it "generic" for purposes of posting it to the list. Here's a cut'n'paste of "live" data of me doing it (the host has been decommissioned recently, and I haven't yet deleted the host key from the KDC, which I'll do shortly): [root@surya ~]# ls -l /etc/test.keytab ls: /etc/test.keytab: No such file or directory [root@surya ~]# kadmin.local Authenticating as principal toor/admin@SEEKINGFIRE.PRV with password. kadmin.local: getprinc -terse host/blues.seekingfire.prv@SEEKINGFIRE.PRV "host/blues.seekingfire.prv@SEEKINGFIRE.PRV" 0 1037304860 0 2419200 "toor/admin@SEEKINGFIRE.PRV" 1037300 kadmin.local: ktadd -k /etc/test.keytab host/blues.seekingfire.prv@SEEKINGFIRE.PRV Entry for principal host/blues.seekingfire.prv@SEEKINGFIRE.PRV with kvno 6, encryption type Triple DES cbc mode with HMAC/sha1 Entry for principal host/blues.seekingfire.prv@SEEKINGFIRE.PRV with kvno 6, encryption type DES cbc mode with CRC-32 added to keytab kadmin.local: exit [root@surya ~]# ls -l /etc/test.keytab -rw------- 1 root wheel 164 Mar 7 19:15 /etc/test.keytab [root@surya ~]# ktutil ktutil: read_kt /etc/test.keytab ktutil: list slot KVNO Principal ---- ---- --------------------------------------------------------------------- 1 6 host/blues.seekingfire.prv@SEEKINGFIRE.PRV 2 6 host/blues.seekingfire.prv@SEEKINGFIRE.PRV ktutil: exit So it does indeed work. > addprinc -randkey host/host.domain > > i also chmod 777 krb5.keytab nothing to do chmod 777 on a keytab is a very very bad thing to do :-) If someone can read your keytab, it opens the door to impersonating that principal. > at the end I exported it from the kdc and copied it by hand in > /etc/krb5.keytab on my client FreeBSD box, but I do not know > if in this way it will work. I'm never tried it -- it definitely doesn't sound like it'd be fun to type in, however :-) I tend to extract my keytabs right on the KDC and then scp them to the appropriate host. I don't use kadmin for remote admin -- if I need to admin the KDC, I log in via the serial console and use kadmin.local to keep everything off the network. > anyway now I have another problem. > I am not able to configure ssh to login via kerberos. > > I tryed everything > > KerberosAuthentication yes > KerberosOrLocalPasswd yes > KerberosTicketCleanup yes Kerberos* is, counterintuitively, not what you want. Google for "sshd_config GSSAPI". > At the end anyway the scenario needs to be krb5 for authentication > and LDAP for authorization I use Kerberos for authentication and NIS-over-IPsec (transport mode), which is very similar. I have a cross-realm trust to another Realm that uses Kerberos and flat files, also on BSD. It's definitely doable. > For now I am not able to authenticate via krb5 > any hints ? Get some basic troubleshooting information in place by trying the following tests and posting the results to the list: * Have a running KDC computer, a workstation computer, and a server computer that can run a Kerberos service (let's say it's the kerberos telnetd for this example). Ensure that all their clocks are in sync. Ensure that all computers have full naem resolution correctly working. * Confirm the KDC is running and that you ave at least one valid user principal and one valid host principal created. The user principal should also exist in /etc/passwd and the other flat files on both the workstation and the server computer. * Confirm that your /etc/krb5.conf on the KDC sets your default realm and gives the hostname of the KDC * From the KDC, confirm that you can kinit and obtain a TGT (test with klist) * From a workstation with the krb5.conf installed, confirm that you can kinit and obtain a TGT (test with klist) * From a workstation with the krb5.conf, attempt to use a kerberos service on the host that has the valid host principal. Confirm with klist that you're able to obtain the host service ticket. * On the KDC, extract (ktadd) the server principal to a keytab file. Securely copy it (scp is fine) to the server host and ensure it's named /etc/krb5.keytab. Permissions should be 600 and owned by root. * Attempt to use the kerberos telnet client to connect to the kerberos host with the valid host principal (i.e., `telnet -x server_host`). You should be able to connect and login passwordless. If any of those steps don't work, please post back to the list with details on what worked, what didn't work, and what the resulting error messages were. -T -- "What is Zen?" "Not always so." - Shunryu Suzuki From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 01:48:54 2007 Return-Path: X-Original-To: freebsd-questions@FreeBSD.ORG Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EE63416A400 for ; Thu, 8 Mar 2007 01:48:54 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id 6BE3313C428 for ; Thu, 8 Mar 2007 01:48:54 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id l281ldmF052785 for ; Wed, 7 Mar 2007 17:47:40 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id l281lcsk052783 for freebsd-questions@FreeBSD.ORG; Wed, 7 Mar 2007 17:47:38 -0800 (PST) (envelope-from kline) Date: Wed, 7 Mar 2007 17:47:33 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20070308014733.GA52736@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing twenty years of service to the Unix community Cc: Subject: gcc43 build snafu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 01:48:55 -0000 Why, oh why, is this gcc-4.3 build bombing ("jc1: out of memory") when I've got .75G of RAM and a huge disk? If the gcc43 port is experimental, would somebodt kindly clue me in? I'm building every portinto a package since ftp.freebsd.org doesn't have that many v6- packages and these I can share with my other platforms. So far I've been able to figure out every other build. At least those not totally fouled up. Here, I need help. gary Makefile:11912: warning: ignoring old commands for target `multi-clean' /bin/sh ./libtool --mode=compile /usr/ports/lang/gcc43/work/build/gcc/gcj -B/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava/ -B/usr/ports/lang/gcc43/work/build/gcc/ -ffloat-store -fomit-frame-pointer -fclasspath= -fbootclasspath=../.././..//gcc-4.3-20070302/libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -O2 -c -o gnu/javax/swing/text/html/parser/HTML_401F.lo -fsource-filename=/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava/classpath/lib/classes -MT gnu/javax/swing/text/html/parser/HTML_401F.lo -MD -MP -MF gnu/javax/swing/text/html/parser/HTML_401F.deps @gnu/javax/swing/text/html/parser/HTML_401F.list /usr/ports/lang/gcc43/work/build/gcc/gcj -B/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava/ -B/usr/ports/lang/gcc43/work/build/gcc/ -ffloat-store -fomit-frame-pointer -fclasspath= -fbootclasspath=../.././..//gcc-4.3-20070302/libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -O2 -c -fsource-filename=/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava/classpath/lib/classes -MT gnu/javax/swing/text/html/parser/HTML_401F.lo -MD -MP -MF gnu/javax/swing/text/html/parser/HTML_401F.deps @gnu/javax/swing/text/html/parser/HTML_401F.list -fPIC -o gnu/javax/swing/text/html/parser/.libs/HTML_401F.o jc1: out of memory allocating 4072 bytes after a total of 536277936 bytes gmake[3]: *** [gnu/javax/swing/text/html/parser/HTML_401F.lo] Error 1 gmake[3]: Leaving directory `/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava' gmake[1]: *** [all-target-libjava] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc43/work/build' gmake: *** [bootstrap-lean] Error 2 *** Error code 2 Stop in /usr/ports/lang/gcc43. -- Gary Kline kline@thought.org www.thought.org Public Service Unix From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 02:20:59 2007 Return-Path: X-Original-To: freebsd-questions@FreeBSD.ORG Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C8C9016A401 for ; Thu, 8 Mar 2007 02:20:59 +0000 (UTC) (envelope-from sean@cyberwang.net) Received: from sumo.dreamhost.com (sumo.dreamhost.com [66.33.216.29]) by mx1.freebsd.org (Postfix) with ESMTP id B2D1C13C441 for ; Thu, 8 Mar 2007 02:20:59 +0000 (UTC) (envelope-from sean@cyberwang.net) Received: from spunkymail-a16.dreamhost.com (sd-green-bigip-207.dreamhost.com [208.97.132.207]) by sumo.dreamhost.com (Postfix) with ESMTP id A503E184A27 for ; Wed, 7 Mar 2007 18:00:45 -0800 (PST) Received: from [10.0.1.2] (68-184-120-224.dhcp.smyr.ga.charter.com [68.184.120.224]) by spunkymail-a16.dreamhost.com (Postfix) with ESMTP id 13F567BD52; Wed, 7 Mar 2007 18:00:43 -0800 (PST) Message-ID: <45EF6E2A.6040706@cyberwang.net> Date: Wed, 07 Mar 2007 21:00:10 -0500 From: Sean Bryant User-Agent: Thunderbird 1.5.0.9 (X11/20070224) MIME-Version: 1.0 To: Gary Kline References: <20070308014733.GA52736@thought.org> In-Reply-To: <20070308014733.GA52736@thought.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: gcc43 build snafu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 02:20:59 -0000 Gary Kline wrote: > Why, oh why, is this gcc-4.3 build bombing ("jc1: out of memory") > when I've got .75G of RAM and a huge disk? If the gcc43 port is > experimental, would somebodt kindly clue me in? > > I'm building every portinto a package since ftp.freebsd.org > doesn't have that many v6- packages and these I can share with > my other platforms. So far I've been able to figure out every > other build. At least those not totally fouled up. Here, I > need help. > > gary > > > Makefile:11912: warning: ignoring old commands for target `multi-clean' > /bin/sh ./libtool --mode=compile /usr/ports/lang/gcc43/work/build/gcc/gcj -B/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava/ > -B/usr/ports/lang/gcc43/work/build/gcc/ -ffloat-store -fomit-frame-pointer -fclasspath= -fbootclasspath=../.././..//gcc-4.3-20070302/libjava/classpath/lib --encoding=UTF-8 > -Wno-deprecated -fbootstrap-classes -g -O2 -c -o gnu/javax/swing/text/html/parser/HTML_401F.lo > -fsource-filename=/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava/classpath/lib/classes -MT gnu/javax/swing/text/html/parser/HTML_401F.lo -MD -MP -MF > gnu/javax/swing/text/html/parser/HTML_401F.deps @gnu/javax/swing/text/html/parser/HTML_401F.list > /usr/ports/lang/gcc43/work/build/gcc/gcj -B/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava/ -B/usr/ports/lang/gcc43/work/build/gcc/ -ffloat-store > -fomit-frame-pointer -fclasspath= -fbootclasspath=../.././..//gcc-4.3-20070302/libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -O2 -c > -fsource-filename=/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava/classpath/lib/classes -MT gnu/javax/swing/text/html/parser/HTML_401F.lo -MD -MP -MF > gnu/javax/swing/text/html/parser/HTML_401F.deps @gnu/javax/swing/text/html/parser/HTML_401F.list -fPIC -o gnu/javax/swing/text/html/parser/.libs/HTML_401F.o > > jc1: out of memory allocating 4072 bytes after a total of 536277936 bytes > gmake[3]: *** [gnu/javax/swing/text/html/parser/HTML_401F.lo] Error 1 > gmake[3]: Leaving directory `/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava' > gmake[2]: *** [all-recursive] Error 1 > gmake[2]: Leaving directory `/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava' > gmake[1]: *** [all-target-libjava] Error 2 > gmake[1]: Leaving directory `/usr/ports/lang/gcc43/work/build' > gmake: *** [bootstrap-lean] Error 2 > *** Error code 2 > > Stop in /usr/ports/lang/gcc43. > > > > http://gcc.gnu.org/ It's right there on the front page. So yes I'd call it experimental. From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 02:48:43 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C8D8616A407 for ; Thu, 8 Mar 2007 02:48:43 +0000 (UTC) (envelope-from frzburn@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by mx1.freebsd.org (Postfix) with ESMTP id 610E913C441 for ; Thu, 8 Mar 2007 02:48:43 +0000 (UTC) (envelope-from frzburn@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so425992nfc for ; Wed, 07 Mar 2007 18:48:42 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=DKjuEKXmTTmlPuFIRpGEiC6Rj2S7bxKaltsE2Vd3ANUHP/8fzOQ7EcRZ7Kna1d2ls5gCryKT5TxKqjAuHQzbnEB10RiTJ3fQ2Fh/23myhRUCZtuRtdv3lEVXaK6iW2XKzsYjbks8tOuSMvLkIU43f0+MnWiKtkdOH2GMPfI90Pc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=ECQ5W32/9RnOdP9lTcO5E0N2qVa+xTpxPIJUGQk0r1Fb+eOqHgdpw4EAn9IZ1t0rKNzKsZRvv6LBDmnE3RaPNo5K7pFmLj80rfU/WQa+mWyXpZmWEikklx+nB9m9uHQ9URDOu0cKXn7bYNRv6ArK3EHkyu1agold5ktKCzC2FHM= Received: by 10.82.175.2 with SMTP id x2mr10636042bue.1173322121989; Wed, 07 Mar 2007 18:48:41 -0800 (PST) Received: by 10.82.139.19 with HTTP; Wed, 7 Mar 2007 18:48:41 -0800 (PST) Message-ID: <2942dae0703071848w482d3b03t94e1e64f6322e0bd@mail.gmail.com> Date: Wed, 7 Mar 2007 21:48:41 -0500 From: frzburn To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Changing command-line resolution X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 02:48:43 -0000 Hi! I was wondering if there is a way to change the command-line resolution... Back then with Linux, I could adjust the resolution in grub or lilo by passing some parameters to the kernel. Is there any way to do the same thing in FreeBSD? I wouldn't want to waste that big wide screen =P I got a Dell Inspiron 6400 (e1505) with an NVidia video card running FreeBSD 6.2-STABLE amd64. Thanks! frzburn From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 02:58:58 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5C4D816A401 for ; Thu, 8 Mar 2007 02:58:58 +0000 (UTC) (envelope-from jahilliya@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.236]) by mx1.freebsd.org (Postfix) with ESMTP id 0A37E13C461 for ; Thu, 8 Mar 2007 02:58:57 +0000 (UTC) (envelope-from jahilliya@gmail.com) Received: by wr-out-0506.google.com with SMTP id 71so591833wri for ; Wed, 07 Mar 2007 18:58:57 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=H38F4xu16LEs9YJcJADTl2r2BuUsbWaRfaRMURZUa9huejR4C4kEih2fndQT7YQiyzJWJ0dIqfn9O6obcvRBVqbCP/EzxGpRxFC6zKitbm1XWBdqNMFg5Qc4GJXCFCmzWkpC/XoOXoWpvl/p9BXD1WIK52Q9MH/O5Oil5fgiAbI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Ybn2RatFaiRLHUPfGmaFk5A2Aray3St7kxLbYJkvFrZ8RmP9ghbQ0SxoP1Fffu7GgFIpxqXu345hAucvawQiyWJqmZU4kdZVMUOvGs98aCb8zfqRFJ0BAnTGL/1QqSzcDJefKQRgHio4pmWgMQ3A4cngKoqokYsxvFmxdj5Yd7I= Received: by 10.65.254.5 with SMTP id g5mr15622209qbs.1173322737236; Wed, 07 Mar 2007 18:58:57 -0800 (PST) Received: by 10.65.230.10 with HTTP; Wed, 7 Mar 2007 18:58:57 -0800 (PST) Message-ID: Date: Thu, 8 Mar 2007 11:58:57 +0900 From: "Daniel Marsh" To: frzburn In-Reply-To: <2942dae0703071848w482d3b03t94e1e64f6322e0bd@mail.gmail.com> MIME-Version: 1.0 References: <2942dae0703071848w482d3b03t94e1e64f6322e0bd@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Changing command-line resolution X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 02:58:58 -0000 On 3/8/07, frzburn wrote: > > Hi! > I was wondering if there is a way to change the command-line resolution... > Back then with Linux, I could adjust the resolution in grub or lilo by > passing some parameters to the kernel. Is there any way to do the same > thing > in FreeBSD? > I wouldn't want to waste that big wide screen =P > > I got a Dell Inspiron 6400 (e1505) with an NVidia video card running > FreeBSD > 6.2-STABLE amd64. > man vidcontrol Vidcontrol is your friend. From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 03:23:18 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3C25516A403 for ; Thu, 8 Mar 2007 03:23:18 +0000 (UTC) (envelope-from ruggeri@uchicago.edu) Received: from relay00.uchicago.edu (relay00.uchicago.edu [128.135.12.75]) by mx1.freebsd.org (Postfix) with ESMTP id 082C013C428 for ; Thu, 8 Mar 2007 03:23:17 +0000 (UTC) (envelope-from ruggeri@uchicago.edu) Received: from m4500-02.uchicago.edu (m4500-02.uchicago.edu [128.135.249.217]) by relay00.uchicago.edu (8.13.8/8.12.9) with ESMTP id l282vQwx009799 for ; Wed, 7 Mar 2007 20:57:27 -0600 (CST) Received: (from m4500-02.uchicago.edu [128.135.249.215]) by m4500-02.uchicago.edu (MOS 3.8.3-GA) with HTTP/1.1 id AKZ27933 (AUTH ruggeri@uchicago.edu); Wed, 7 Mar 2007 20:57:26 -0600 (CST) From: To: freebsd-questions@freebsd.org X-Mailer: Mirapoint Webmail Direct 3.8.3-GA MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20070307205726.AKZ27933@m4500-02.uchicago.edu> Date: Wed, 7 Mar 2007 20:57:26 -0600 (CST) Subject: Problem Launching Applications in Gnome X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 03:23:18 -0000 Hi, I haven't been able to figure this out, and am hoping someone has some ideas. I can't seem to find any previous mention of a similar problem, so I hope I'm not missing something obvious. I run FreeBSD 6.2-STABLE. I also have installed GNOME 2.16.3. I use Gnome-Terminal 2.16.1. The main application I run is Vim, which I run through Gnome- Terminal. I frequently have several copies running simultaneously. In general response to Gnome-Terminal commands is very fast, but sometimes when I try to open a file with Vim it takes up to 20-30 seconds to load. The files are not particularly large (max 300 lines). During this time, if I try to launch another application in Gnome (e.g., Opera or another Gnome-Terminal), it will not come up. It is as if everything is frozen until finally Vi loads and opens the file, at which point anything else I have tried to open works fine. While this loading takes place, I can work in any other open application normally. Oftentimes I have another Vim session which I am editing in. I have of course looked at top when this problem occurs. CPU usage is about 2%, and there is no significant memory usage either. I never experience this problem outside Gnome, whether I'm using screen or several virtual terminals. It's really strange. Anyway, I hope someone out there has some ideas. Thanks very much in advance. -- Ned Ruggeri PS I'll include my ~/.vimrc file: autocmd! set nocompatible syntax on set showmatch set number set backspace=2 autocmd BufRead *.c set cindent From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 03:30:38 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7198D16A400 for ; Thu, 8 Mar 2007 03:30:38 +0000 (UTC) (envelope-from frzburn@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.190]) by mx1.freebsd.org (Postfix) with ESMTP id F08C813C48E for ; Thu, 8 Mar 2007 03:30:37 +0000 (UTC) (envelope-from frzburn@gmail.com) Received: by mu-out-0910.google.com with SMTP id g7so446950muf for ; Wed, 07 Mar 2007 19:30:36 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=bnQBcLNRokCKIbhEcp31CFuFbKN5VTN0c7iCXn6KgJABaTGn9IP7IXKKknuQ/C/HMGR8QC1tksyXyEYm6qLauE72g71Cyri7FEv4aMoWumr+AazLKhYoz6f110MYTsu7BnxS/8dNcjyUslXtu+xSF/6wLpA90y7Bx/Qq/7YAThc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=M66iI5m4r/E8ncabjoYFy5VHxqmFMaT5wnSJgOXR4+6QFT64m0T+Doq3hnzpdTjr4fG4+8OmPj6dsoJeHTjhi0AALeZD0cCzP5jDh9486MdJFuNEaFvlRlwRmDKlUMMJ+des0Vw0/edsnb2rXOJc+2y18ln5rQfherRETpKu3P0= Received: by 10.82.163.13 with SMTP id l13mr10632346bue.1173324636802; Wed, 07 Mar 2007 19:30:36 -0800 (PST) Received: by 10.82.139.19 with HTTP; Wed, 7 Mar 2007 19:30:36 -0800 (PST) Message-ID: <2942dae0703071930r6e4a168rb2e2d2fb42f5a8f0@mail.gmail.com> Date: Wed, 7 Mar 2007 22:30:36 -0500 From: frzburn To: "Daniel Marsh" In-Reply-To: MIME-Version: 1.0 References: <2942dae0703071848w482d3b03t94e1e64f6322e0bd@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Changing command-line resolution X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 03:30:38 -0000 Good! =D Thanks! =) frzburn On 3/7/07, Daniel Marsh wrote: > > > On 3/8/07, frzburn wrote: > > > > Hi! > > I was wondering if there is a way to change the command-line > > resolution... > > Back then with Linux, I could adjust the resolution in grub or lilo by > > passing some parameters to the kernel. Is there any way to do the same > > thing > > in FreeBSD? > > I wouldn't want to waste that big wide screen =P > > > > I got a Dell Inspiron 6400 (e1505) with an NVidia video card running > > FreeBSD > > 6.2-STABLE amd64. > > > > man vidcontrol > > Vidcontrol is your friend. > From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 04:04:58 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 62ECD16A401 for ; Thu, 8 Mar 2007 04:04:58 +0000 (UTC) (envelope-from doug@polands.org) Received: from corinth.polands.org (CPE-75-87-219-217.new.res.rr.com [75.87.219.217]) by mx1.freebsd.org (Postfix) with ESMTP id 0895913C474 for ; Thu, 8 Mar 2007 04:04:57 +0000 (UTC) (envelope-from doug@polands.org) Received: from email.polands.org (ammon.polands.org [172.16.1.7]) by corinth.polands.org (8.13.8/8.13.8) with ESMTP id l283qNXD065981; Wed, 7 Mar 2007 21:52:25 -0600 (CST) (envelope-from doug@polands.org) Received: from 172.16.1.7 (proxying for 172.16.1.37) (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Wed, 7 Mar 2007 21:46:07 -0600 (CST) Message-ID: <63315.172.16.1.7.1173325567.squirrel@email.polands.org> In-Reply-To: <45EF5181.1020504@fastmail.fm> References: <55223.172.16.1.37.1173306474.squirrel@email.polands.org> <45EF5181.1020504@fastmail.fm> Date: Wed, 7 Mar 2007 21:46:07 -0600 (CST) From: "Doug Poland" To: "Patrick Bowen" User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: ClamAV 0.88.4/2774/Wed Mar 7 18:57:23 2007 on corinth.polands.org X-Virus-Status: Clean Cc: freebsd-questions@freebsd.org Subject: Re: PRISM3(PCMCIA) and/or wi(4) driver unable to do WPA? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 04:04:58 -0000 On Wed, March 7, 2007 17:57, Patrick Bowen wrote: > Doug Poland wrote: >> Hello, >> >> I have just acquired a Linksys "Instant Wireless Network PC Card" >> 802.11b wireless NIC. When plugged into a 6.2 i386 laptop, dmesg >> reports: >> >> wi0: at >> port 0x100-0x13f irq 11 function 0 config 1 on pccard1 >> wi0: using RF:PRISM3(PCMCIA) >> wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.2) >> wi0: Ethernet address: 00:06:25:18:6e:1d >> >> When I attempted to connect to my WPA-PSK WAP, wpa_supplicant(8) >> just hangs. When I turned off encryption on the WAP, and enter: >> >> # dhclient wi0 >> >> Then the NIC connects just fine. So the question is, is the NIC or >> the wi(4) driver incapable of WPA encryption? >> > > Try adding; > > ifconfig_wi0="DHCP" > > to /etc/rc.conf. > > That way it will run dhclient automatically whenever you plug the card > in. > I don't have a problem running dhclient, I have a problem with WPA. Initially, my rc.conf said: ifconfig_wi0="WPA DHCP" and I had the correct entry in my /etc/wpa_supplicant.conf. I could not connect to my WAP until I turned off WPA, as I stated in my OP. -- Regards, Doug From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 04:08:36 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 504F316A406 for ; Thu, 8 Mar 2007 04:08:36 +0000 (UTC) (envelope-from pbowen@fastmail.fm) Received: from out5.smtp.messagingengine.com (out5.smtp.messagingengine.com [66.111.4.29]) by mx1.freebsd.org (Postfix) with ESMTP id 292BB13C474 for ; Thu, 8 Mar 2007 04:08:36 +0000 (UTC) (envelope-from pbowen@fastmail.fm) Received: from out1.internal (unknown [10.202.2.149]) by out1.messagingengine.com (Postfix) with ESMTP id B01F91F64FB for ; Wed, 7 Mar 2007 23:08:35 -0500 (EST) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by out1.internal (MEProxy); Wed, 07 Mar 2007 23:08:35 -0500 X-Sasl-enc: sNsBc5w32pFuAqlazGA9DJdhEpCu4VbgiJCtACd+4jMy 1173326914 Received: from [10.51.27.181] (unknown [204.110.228.254]) by mail.messagingengine.com (Postfix) with ESMTP id 36740293D6 for ; Wed, 7 Mar 2007 23:08:33 -0500 (EST) Message-ID: <45EF8C20.3030702@fastmail.fm> Date: Wed, 07 Mar 2007 22:08:00 -0600 From: Patrick Bowen User-Agent: Thunderbird 1.5.0.9 (X11/20070213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <55223.172.16.1.37.1173306474.squirrel@email.polands.org> <45EF5181.1020504@fastmail.fm> <63315.172.16.1.7.1173325567.squirrel@email.polands.org> In-Reply-To: <63315.172.16.1.7.1173325567.squirrel@email.polands.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: PRISM3(PCMCIA) and/or wi(4) driver unable to do WPA? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 04:08:36 -0000 Doug Poland wrote: > On Wed, March 7, 2007 17:57, Patrick Bowen wrote: > >> Doug Poland wrote: >> >>> Hello, >>> >>> I have just acquired a Linksys "Instant Wireless Network PC Card" >>> 802.11b wireless NIC. When plugged into a 6.2 i386 laptop, dmesg >>> reports: >>> >>> wi0: at >>> port 0x100-0x13f irq 11 function 0 config 1 on pccard1 >>> wi0: using RF:PRISM3(PCMCIA) >>> wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.2) >>> wi0: Ethernet address: 00:06:25:18:6e:1d >>> >>> When I attempted to connect to my WPA-PSK WAP, wpa_supplicant(8) >>> just hangs. When I turned off encryption on the WAP, and enter: >>> >>> # dhclient wi0 >>> >>> Then the NIC connects just fine. So the question is, is the NIC or >>> the wi(4) driver incapable of WPA encryption? >>> >>> >> Try adding; >> >> ifconfig_wi0="DHCP" >> >> to /etc/rc.conf. >> >> That way it will run dhclient automatically whenever you plug the card >> in. >> >> > I don't have a problem running dhclient, I have a problem with WPA. > Initially, my rc.conf said: > > ifconfig_wi0="WPA DHCP" > > and I had the correct entry in my /etc/wpa_supplicant.conf. I could > not connect to my WAP until I turned off WPA, as I stated in my OP. > > Doug: Sorry, I misunderstood. Please excuse the noise... Patrick From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 04:29:41 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 11D9516A405 for ; Thu, 8 Mar 2007 04:29:41 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.freebsd.org (Postfix) with ESMTP id EA5F213C481 for ; Thu, 8 Mar 2007 04:29:40 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from insp.local (jn@c-76-23-109-98.hsd1.sc.comcast.net [76.23.109.98]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id l284TdXl024472; Wed, 7 Mar 2007 23:29:40 -0500 (EST) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-questions@freebsd.org Date: Wed, 7 Mar 2007 23:29:18 -0500 User-Agent: KMail/1.9.5 References: <2942dae0703071848w482d3b03t94e1e64f6322e0bd@mail.gmail.com> In-Reply-To: <2942dae0703071848w482d3b03t94e1e64f6322e0bd@mail.gmail.com> X-Face: #X5#Y*q>F:]zT!DegL3z5Xo'^MN[$8k\[4^3rN~wm=s=Uw(sW}R?3b^*f1Wu*.<=?utf-8?q?of=5F4NrS=0A=09P*M/9CpxDo!D6?=)IY1w<9B1jB; tBQf[RU-R<,I)e"$q7N7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703072329.19212.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on ns1.jnielsen.net X-Virus-Status: Clean Cc: frzburn Subject: Re: Changing command-line resolution X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 04:29:41 -0000 On Wednesday 07 March 2007 21:48, frzburn wrote: > Hi! > I was wondering if there is a way to change the command-line > resolution... Back then with Linux, I could adjust the resolution in grub > or lilo by passing some parameters to the kernel. Is there any way to do > the same thing in FreeBSD? > I wouldn't want to waste that big wide screen =P > > I got a Dell Inspiron 6400 (e1505) with an NVidia video card running > FreeBSD 6.2-STABLE amd64. Build and install a kernel with options VESA and SC_PIXEL_MODE. Reboot. Run "vidcontrol -i mode". Pick one you like and make a note of its number. Then do something similar to "vidcontrol -f 8x14 cp437-8x14.fnt MODE_NNN", replacing NNN with the mode you noted previously and 8x14 with one of 8x8, 8x14 or 8x16. The font file should match the font size and codepage you want your terminal to be in. Repeat until you find the settings you want, then add a line like this to /etc/rc.conf: allscreens_flags="-f 8x14 cp437-8x14.fnt MODE_NNN" using the same substitutions. See also man vidcontrol, man sc, and the FreeBSD handbook. JN From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 05:07:52 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D701616A403 for ; Thu, 8 Mar 2007 05:07:52 +0000 (UTC) (envelope-from lehmann@ans-netz.de) Received: from avocado.salatschuessel.net (avocado.salatschuessel.net [83.136.81.184]) by mx1.freebsd.org (Postfix) with ESMTP id 376FA13C428 for ; Thu, 8 Mar 2007 05:07:52 +0000 (UTC) (envelope-from lehmann@ans-netz.de) Received: (qmail 57772 invoked by uid 89); 8 Mar 2007 05:07:50 -0000 Received: from unknown (HELO kartoffel.salatschuessel.net) (83.136.81.185) by avocado.salatschuessel.net with SMTP; 8 Mar 2007 05:07:50 -0000 Date: Thu, 8 Mar 2007 06:07:48 +0100 From: Oliver Lehmann To: "Andrew Pantyukhin" Message-Id: <20070308060748.1263b0ab.lehmann@ans-netz.de> In-Reply-To: References: <20070307220351.b5411250.lehmann@ans-netz.de> X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.9; amd64-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: bsnmpd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 05:07:52 -0000 Andrew Pantyukhin wrote: > Try this: > http://www.freshports.org/net-mgmt/bsnmp-regex/ with this i would need a cronjob, executing my scrips from time to time and passing their output to the regexSocket, or? -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/ From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 06:09:10 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5B43F16A409 for ; Thu, 8 Mar 2007 06:09:10 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout7.cac.washington.edu (mxout7.cac.washington.edu [140.142.32.178]) by mx1.freebsd.org (Postfix) with ESMTP id 393C413C4AC for ; Thu, 8 Mar 2007 06:09:10 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7] (may be forged)) by mxout7.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l28699VY013134 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 7 Mar 2007 22:09:09 -0800 X-Auth-Received: from [192.168.10.41] (c-67-187-172-183.hsd1.ca.comcast.net [67.187.172.183]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l28698cH009858 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 7 Mar 2007 22:09:09 -0800 Message-ID: <45EFA87E.7010000@u.washington.edu> Date: Wed, 07 Mar 2007 22:09:02 -0800 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.9 (X11/20070122) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20070308014733.GA52736@thought.org> <45EF6E2A.6040706@cyberwang.net> In-Reply-To: <45EF6E2A.6040706@cyberwang.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.0.289146, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.3.7.215933 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: gcc43 build snafu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 06:09:10 -0000 Sean Bryant wrote: > Gary Kline wrote: >> Why, oh why, is this gcc-4.3 build bombing ("jc1: out of memory") >> when I've got .75G of RAM and a huge disk? If the gcc43 port is >> experimental, would somebodt kindly clue me in? >> >> I'm building every portinto a package since ftp.freebsd.org >> doesn't have that many v6- packages and these I can share with >> my other platforms. So far I've been able to figure out every >> other build. At least those not totally fouled up. Here, I >> need help. >> >> gary >> >> >> Makefile:11912: warning: ignoring old commands for target `multi-clean' >> /bin/sh ./libtool --mode=compile >> /usr/ports/lang/gcc43/work/build/gcc/gcj >> -B/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava/ >> -B/usr/ports/lang/gcc43/work/build/gcc/ -ffloat-store >> -fomit-frame-pointer -fclasspath= >> -fbootclasspath=../.././..//gcc-4.3-20070302/libjava/classpath/lib >> --encoding=UTF-8 >> -Wno-deprecated -fbootstrap-classes -g -O2 -c -o >> gnu/javax/swing/text/html/parser/HTML_401F.lo >> -fsource-filename=/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava/classpath/lib/classes >> -MT gnu/javax/swing/text/html/parser/HTML_401F.lo -MD -MP -MF >> gnu/javax/swing/text/html/parser/HTML_401F.deps >> @gnu/javax/swing/text/html/parser/HTML_401F.list >> /usr/ports/lang/gcc43/work/build/gcc/gcj >> -B/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava/ >> -B/usr/ports/lang/gcc43/work/build/gcc/ -ffloat-store >> -fomit-frame-pointer -fclasspath= >> -fbootclasspath=../.././..//gcc-4.3-20070302/libjava/classpath/lib >> --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -O2 -c >> -fsource-filename=/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava/classpath/lib/classes >> -MT gnu/javax/swing/text/html/parser/HTML_401F.lo -MD -MP -MF >> gnu/javax/swing/text/html/parser/HTML_401F.deps >> @gnu/javax/swing/text/html/parser/HTML_401F.list -fPIC -o >> gnu/javax/swing/text/html/parser/.libs/HTML_401F.o >> >> jc1: out of memory allocating 4072 bytes after a total of 536277936 bytes >> gmake[3]: *** [gnu/javax/swing/text/html/parser/HTML_401F.lo] Error 1 >> gmake[3]: Leaving directory >> `/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava' >> gmake[2]: *** [all-recursive] Error 1 >> gmake[2]: Leaving directory >> `/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava' >> gmake[1]: *** [all-target-libjava] Error 2 >> gmake[1]: Leaving directory `/usr/ports/lang/gcc43/work/build' >> gmake: *** [bootstrap-lean] Error 2 >> *** Error code 2 >> >> Stop in /usr/ports/lang/gcc43. >> >> >> >> > http://gcc.gnu.org/ > > It's right there on the front page. So yes I'd call it experimental. 4.3's very experimental, so yes.. be wary and be prepared to post a lot of bug reports (esp when building ports with gcc-4.3). Cheers, -Garrett From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 06:09:21 2007 Return-Path: X-Original-To: freebsd-questions@FreeBSD.ORG Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 167C116A401 for ; Thu, 8 Mar 2007 06:09:21 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id B7BF213C4B5 for ; Thu, 8 Mar 2007 06:09:20 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id l2867tmJ030858; Wed, 7 Mar 2007 22:07:55 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id l2867teu030857; Wed, 7 Mar 2007 22:07:55 -0800 (PST) (envelope-from kline) Date: Wed, 7 Mar 2007 22:07:55 -0800 From: Gary Kline To: Sean Bryant Message-ID: <20070308060755.GB84395@thought.org> References: <20070308014733.GA52736@thought.org> <45EF6E2A.6040706@cyberwang.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45EF6E2A.6040706@cyberwang.net> User-Agent: Mutt/1.4.2.2i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing twenty years of service to the Unix community Cc: Gary Kline , FreeBSD Mailing List Subject: Re: gcc43 build snafu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 06:09:21 -0000 On Wed, Mar 07, 2007 at 09:00:10PM -0500, Sean Bryant wrote: > Gary Kline wrote: > > Why, oh why, is this gcc-4.3 build bombing ("jc1: out of memory") > > when I've got .75G of RAM and a huge disk? If the gcc43 port is > > experimental, would somebodt kindly clue me in? > > [[ ... ]] > > > > > http://gcc.gnu.org/ > > It's right there on the front page. So yes I'd call it experimental. Right. I should've checked ggc.gnu.org. Be glad when they got their new compiler working. Looks soild for increased optimization, too. -- Gary Kline kline@thought.org www.thought.org Public Service Unix From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 06:16:15 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A16C616A402 for ; Thu, 8 Mar 2007 06:16:15 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by mx1.freebsd.org (Postfix) with ESMTP id 7FCB813C461 for ; Thu, 8 Mar 2007 06:16:15 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.141] (may be forged)) by mxout3.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l286GFmj032455 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 7 Mar 2007 22:16:15 -0800 X-Auth-Received: from [192.168.10.41] (c-67-187-172-183.hsd1.ca.comcast.net [67.187.172.183]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l286GErd007292 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 7 Mar 2007 22:16:14 -0800 Message-ID: <45EFAA2A.8090407@u.washington.edu> Date: Wed, 07 Mar 2007 22:16:10 -0800 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.9 (X11/20070122) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20070308014733.GA52736@thought.org> <45EF6E2A.6040706@cyberwang.net> <20070308060755.GB84395@thought.org> In-Reply-To: <20070308060755.GB84395@thought.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.0.289146, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.3.7.220433 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: gcc43 build snafu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 06:16:15 -0000 Gary Kline wrote: > On Wed, Mar 07, 2007 at 09:00:10PM -0500, Sean Bryant wrote: >> Gary Kline wrote: >>> Why, oh why, is this gcc-4.3 build bombing ("jc1: out of memory") >>> when I've got .75G of RAM and a huge disk? If the gcc43 port is >>> experimental, would somebodt kindly clue me in? >>> > [[ ... ]] > >>> >> http://gcc.gnu.org/ >> >> It's right there on the front page. So yes I'd call it experimental. > > Right. I should've checked ggc.gnu.org. Be glad when they got > their new compiler working. Looks soild for increased > optimization, too. You could try building without java support--that should cut down on your build resources use a ton. Oh, I'm not sure how fast your PC is, but it'll probably take 2-3 hours to compile that alone :).. -Garrett From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 06:30:41 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 28FBD16A404 for ; Thu, 8 Mar 2007 06:30:41 +0000 (UTC) (envelope-from zbyszek@szalbot.homedns.org) Received: from lists.lc-words.com (lists.lc-words.com [83.19.156.210]) by mx1.freebsd.org (Postfix) with ESMTP id CEDB913C494 for ; Thu, 8 Mar 2007 06:30:40 +0000 (UTC) (envelope-from zbyszek@szalbot.homedns.org) Received: from localhost.168.11.51 ([::1] helo=lists.lc-words.com) by lists.lc-words.com with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1HPCAK-000Kdh-5q for freebsd-questions@freebsd.org; Thu, 08 Mar 2007 07:31:52 +0100 Received: from 192.168.11.11 (SquirrelMail authenticated user zbyszek@szalbot.homedns.org) by lists.lc-words.com with HTTP; Thu, 8 Mar 2007 07:31:52 +0100 (CET) Message-ID: <3601.192.168.11.11.1173335512.squirrel@lists.lc-words.com> Date: Thu, 8 Mar 2007 07:31:52 +0100 (CET) From: "Zbigniew Szalbot" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.5.1 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit Subject: cleaning old files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 06:30:41 -0000 Hello, Somehow in the process of upgrading PHP from 5.16 to 5.2.1 I got a few 5.1.6 extenstions which were not deleted. When I issue pkg_info -Ix php5, I get: php5-ctype-5.1.6 The ctype shared extension for php php5-ctype-5.1.6_2 The ctype shared extension for php php5-dom-5.1.6 The dom shared extension for php php5-dom-5.1.6_2 The dom shared extension for php and so on. I tried checking /usr/local/etc/php/extensions.ini but there are no double entries in there. My question is how do I get rid of these old extensions? Vulnerability test port alerts me I still have them. Thanks! -- Zbigniew Szalbot From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 06:35:02 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 90FEA16A403 for ; Thu, 8 Mar 2007 06:35:02 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by mx1.freebsd.org (Postfix) with ESMTP id 6BE7A13C478 for ; Thu, 8 Mar 2007 06:35:02 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.141] (may be forged)) by mxout3.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l286Z1MP003620 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 7 Mar 2007 22:35:02 -0800 X-Auth-Received: from [192.168.10.41] (c-67-187-172-183.hsd1.ca.comcast.net [67.187.172.183]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l286Z1a2008300 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 7 Mar 2007 22:35:01 -0800 Message-ID: <45EFAE91.8020306@u.washington.edu> Date: Wed, 07 Mar 2007 22:34:57 -0800 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.9 (X11/20070122) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.0.289146, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.3.7.222433 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Xorg 7.2 with Radeon x1650 card X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 06:35:02 -0000 Just curious what the support's like for this under modular Xorg in FreeBSD. I heard that ATI's drivers (all except the GLX capable ones) work pretty well with Xorg under Linux, but I was curious what support's like in FreeBSD since Radeon has its own kernel driver, etc. Thanks! -Garrett From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 07:21:33 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 530A016A409 for ; Thu, 8 Mar 2007 07:21:33 +0000 (UTC) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (mail.shire.net [166.70.252.250]) by mx1.freebsd.org (Postfix) with ESMTP id 3A39013C48E for ; Thu, 8 Mar 2007 07:21:33 +0000 (UTC) (envelope-from chad@shire.net) Received: from [67.171.127.191] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.51) id 1HPCwO-000BnI-G5 for freebsd-questions@freebsd.org; Thu, 08 Mar 2007 00:21:32 -0700 Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: References: <5A82D35B-AF37-4D57-B4DF-D90CFA9C84E6@shire.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: "Chad Leigh -- Shire.Net LLC" Date: Thu, 8 Mar 2007 00:21:31 -0700 To: User Questions X-Mailer: Apple Mail (2.752.2) X-SA-Exim-Connect-IP: 67.171.127.191 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false Subject: Re: ps showing [appname] for some things -- how to get whole thing? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 07:21:33 -0000 On Mar 7, 2007, at 11:34 AM, Chuck Swiger wrote: > On Mar 7, 2007, at 2:49 AM, Chad Leigh -- Shire.Net LLC wrote: >> On my 6.1 system I have a script that launches some java programs >> [jdk142] and when I do a "ps -auxwww" I get the whole java command >> line that was used in launching. >> >> On my 6.2 system with jdk15 teh scame scripts launch the same java >> programs but I just get [java] in the ps output. Nothing in the >> ps manpage jumped out at me. I would like to be able to get the >> whole commandline when I do the ps > > From the manpage: > > When printing using the command keyword, a process that has > exited and > has a parent that has not yet waited for the process (in other > words, a > zombie) is listed as ``'', and a process which is > blocked while > trying to exit is listed as ``''. If the command > vector cannot > be located (usually because it has not been set, as is the > case of system > processes and/or kernel threads) the command name is printed > within > square brackets. The ps utility makes an educated guess as to > the file > name and arguments given when the process was created by > examining memory > or the swap area. The method is inherently somewhat > unreliable and in > any event a process is entitled to destroy this information, > so the names > cannot be depended on too much. The ucomm (accounting) > keyword can, how- > ever, be depended on. > > In other words, the process is allowed to over-write the > environment (aka, the command line args & exported env variables) > and that will prevent ps from reliably returning that info. All > you can be sure of it getting argv[0], which is used for accounting > in the ucomm variable.... It turns out the difference between my two installations is that with the jdk142 procfs is also mounted and ps shows the complete command. On the server with jdk15 procfs is not mounted and does not. jdk15 also has an issue if procfs is mounted such that the java command does not work. But I am running inside a jail so I could mount procfs on the base server outside the jail and do ps there and test this. These tests show that the procfs makes the difference. Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 07:32:27 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 47A1A16A402 for ; Thu, 8 Mar 2007 07:32:27 +0000 (UTC) (envelope-from efinleywork@efinley.com) Received: from postmaster.etv.net (postmaster.etv.net [66.111.113.15]) by mx1.freebsd.org (Postfix) with ESMTP id 3369B13C471 for ; Thu, 8 Mar 2007 07:32:27 +0000 (UTC) (envelope-from efinleywork@efinley.com) Received: from efinley04.etv.net ([74.214.237.51] helo=science3.efinley.com) by postmaster.etv.net with smtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1HPCb2-0000LS-JN for freebsd-questions@freebsd.org; Wed, 07 Mar 2007 23:59:28 -0700 From: Elliot Finley To: freebsd-questions@freebsd.org Date: Wed, 07 Mar 2007 23:59:28 -0700 Organization: Emery Telcom Message-ID: X-Mailer: Forte Agent 4.1/32.1088 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: CARP and FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: efinleywork@efinley.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 07:32:27 -0000 Hello, Is CARP functional in FreeBSD 6.x? =20 I'm not able to find any docs on it in the Handbook or by doing a site restricted search on google. TIA for any pointers. Elliot Finley From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 07:35:40 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E739116A401 for ; Thu, 8 Mar 2007 07:35:40 +0000 (UTC) (envelope-from peter@placidpublishing.net) Received: from mail.placidpublishing.net (placidpublishing.net [72.232.50.130]) by mx1.freebsd.org (Postfix) with ESMTP id B2DA413C4B2 for ; Thu, 8 Mar 2007 07:35:40 +0000 (UTC) (envelope-from peter@placidpublishing.net) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.placidpublishing.net (Postfix) with ESMTP id 079F75082D for ; Thu, 8 Mar 2007 01:41:34 -0600 (CST) Received: from mail.placidpublishing.net ([127.0.0.1]) by localhost (mail.placidpublishing.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 71596-07 for ; Thu, 8 Mar 2007 01:41:30 -0600 (CST) Received: from [192.168.1.20] (c-67-175-92-171.hsd1.il.comcast.net [67.175.92.171]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.placidpublishing.net (Postfix) with ESMTP id C28DC5080A for ; Thu, 8 Mar 2007 01:41:30 -0600 (CST) Message-ID: <45EFBCD3.3020904@placidpublishing.net> Date: Thu, 08 Mar 2007 01:35:47 -0600 From: Peter Pluta Organization: Placid Publishing, LLC User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard Subject: Dependency Confusion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: peter@placidpublishing.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 07:35:41 -0000 I'm a bit confused with dependency's. When you have a stale dependency's what does this usually mean? Does that mean that the dependency was already updated and not noted in the pkgdb? Or does it mean the version in the pkgdb is wrong and that I have a newer or older version installed? Also, how do I correct it when running pkgdb -F I tried to enter the newer version of the dependency and it told me I need to pick from a list it gave me. :( Any feedback would be greatly appreciated. From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 07:52:24 2007 Return-Path: X-Original-To: FreeBSD-questions@freebsd.org Delivered-To: FreeBSD-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8283716A402 for ; Thu, 8 Mar 2007 07:52:24 +0000 (UTC) (envelope-from mm@exsomnis.de) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.13]) by mx1.freebsd.org (Postfix) with ESMTP id D154A13C442 for ; Thu, 8 Mar 2007 07:52:23 +0000 (UTC) (envelope-from mm@exsomnis.de) Received: (qmail 17722 invoked from network); 8 Mar 2007 07:25:42 -0000 Received: from unknown (HELO medea.exsomnis.de) (034932@[84.58.216.30]) (envelope-sender ) by smtprelay01.ispgateway.de (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 8 Mar 2007 07:25:42 -0000 Received: from medea.exsomnis.de (localhost [127.0.0.1]) by medea.exsomnis.de (8.13.8/8.13.8) with ESMTP id l287Pen9013405; Thu, 8 Mar 2007 08:25:40 +0100 (CET) (envelope-from mm@exsomnis.de) Received: (from mm@localhost) by medea.exsomnis.de (8.13.8/8.13.8/Submit) id l287Pdhf013345; Thu, 8 Mar 2007 08:25:39 +0100 (CET) (envelope-from mm@exsomnis.de) X-Authentication-Warning: medea.exsomnis.de: mm set sender to mm@exsomnis.de using -f Date: Thu, 8 Mar 2007 08:25:39 +0100 From: Martin Moeller To: electrics_de@web.de Message-ID: <20070308072539.GA65853@medea.exsomnis.de> References: <1655194515@web.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v" Content-Disposition: inline In-Reply-To: <1655194515@web.de> X-URL: http://www.exsomnis.de/ X-IM: Jabber: mmoeller@jabber.org - ICQ: 82221572 X-PGP-Info: I prefer encrypted mail. Please use PGP/GnuPG! X-PGP-Key-ID: 52F114F4 X-PGP-FP: 53FE 273A EB8D CF9F D4B1 DAFC 8690 F844 52F1 14F4 X-Location: EU - Deutschland / Allemagne / Germany X-Accept-Language: de fr en X-Uptime: 57 mins User-Agent: Mutt/1.5.14 (2007-02-12) Cc: FreeBSD-questions@freebsd.org Subject: Re: Question for FreeBSD (PPPoE) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 07:52:24 -0000 --Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * electrics_de@web.de [28-02-2007 18:11:35 +0100]: > How do I have to install this? Which ways exist to install a DSL-Connecti= on on a FreeBSD system? There's a really excellent guide by Udo Erdelhoff which can be found here: http://www.ruhr.de/home/nathan/FreeBSD/tdsl-freebsd.html It's in German and concentrating on the connection to T-Online but can be adapted to any provider quite easily. Considering your e-mail address, German shouldn't be a problem either. So long, m. --=20 Mit freundlichen Gr=FC=DFen Martin M=F6ller --Dxnq1zWXvFF0Q93v Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFF77pzhpD4RFLxFPQRAhwqAJ9PYtN4FBu9AOhAgmTQrErzVYZStwCdElOA kxEB7ggBcmZ3SbULVlmZ054= =dAyj -----END PGP SIGNATURE----- --Dxnq1zWXvFF0Q93v-- From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 08:12:18 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5030616A400 for ; Thu, 8 Mar 2007 08:12:18 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from wmail.teledomenet.gr (wmail.teledomenet.gr [213.142.128.16]) by mx1.freebsd.org (Postfix) with ESMTP id 0EB9813C47E for ; Thu, 8 Mar 2007 08:12:18 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from iris (unknown [192.168.1.71]) by wmail.teledomenet.gr (Postfix) with ESMTP id 899501C89DC; Thu, 8 Mar 2007 09:49:35 +0200 (EET) From: Nikos Vassiliadis To: freebsd-questions@freebsd.org Date: Thu, 8 Mar 2007 10:13:36 +0200 User-Agent: KMail/1.9.1 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703081013.37335.nvass@teledomenet.gr> Cc: Daniel Feenberg Subject: Re: mount_smb shows no files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 08:12:18 -0000 On Wednesday 07 March 2007 18:35, Daniel Feenberg wrote: > > We are starting to use mount_smbfs to mount backup shares on our Windows > XP systems. Formerly we were using Linux successfully, but now many of our > mounts succeed, but don't show any files. We can't tell what might be > different among the XP systems to explain the difference, or why FreeBSD > and Linux should be different in this regard. They should not be different, but keep in mind that there is no code sharing between FreeBSD kernel and Linux kernel, so the implementations are different and will behave differently. > > Demonstration (note that "ls /mnt" shows no files, but there are files): Never had such problems, though I can not comment about the windows OS involved, since I am just a client to them. FreeBSD from 4.x to 6.2-STABLE work for me. I recall one problem with file sizes over 4GB, which was corrected circa 4.8 - 4.9. Did you try creating a file? Did you check dmesg for warnings? From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 08:35:34 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6125E16A403 for ; Thu, 8 Mar 2007 08:35:34 +0000 (UTC) (envelope-from bsd@todoo.biz) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) by mx1.freebsd.org (Postfix) with ESMTP id EC4EE13C471 for ; Thu, 8 Mar 2007 08:35:33 +0000 (UTC) (envelope-from bsd@todoo.biz) Received: from localhost (localhost [127.0.0.1]) by newmail.rmm.fr (Postfix) with ESMTP id AF8D22A32C; Thu, 8 Mar 2007 09:35:32 +0100 (CET) X-Virus-Scanned: amavisd-new 2.4.5 (20070130) at rmm.fr Received: from newmail.rmm.fr ([127.0.0.1]) by localhost (newmail.rmm.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id O0ntMMBPer1G; Thu, 8 Mar 2007 09:35:32 +0100 (CET) Received: from [192.168.0.201] (me.todoo.biz [82.66.93.242]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by newmail.rmm.fr (Postfix) with ESMTP id 4CCBE2A32B; Thu, 8 Mar 2007 09:35:32 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: quoted-printable From: bsd Date: Thu, 8 Mar 2007 09:35:30 +0100 To: Liste FreeBSD X-Mailer: Apple Mail (2.752.3) Cc: vinc@freebsd-fr.org Subject: Problem updating cacti X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 08:35:34 -0000 Hello, I am facing a problem when I try to update cacti : > =3D=3D=3D> Extracting for cacti-0.8.6j.3_1 > =3D> MD5 Checksum OK for cacti-0.8.6j.tar.gz. > =3D> SHA256 Checksum OK for cacti-0.8.6j.tar.gz. > =3D> MD5 Checksum OK for ping_php_version4_snmpgetnext.patch. > =3D> SHA256 Checksum OK for ping_php_version4_snmpgetnext.patch. > =3D> MD5 Checksum OK for tree_console_missing_hosts.patch. > =3D> SHA256 Checksum OK for tree_console_missing_hosts.patch. > =3D> MD5 Checksum mismatch for thumbnail_graphs_not_working.patch. > =3D> SHA256 Checksum mismatch for thumbnail_graphs_not_working.patch. > =3D=3D=3D> Refetch for 1 more times files: =20 > thumbnail_graphs_not_working.patch thumbnail_graphs_not_working.patch > =3D=3D=3D> Vulnerability check disabled, database not found > =3D> thumbnail_graphs_not_working.patch doesn't seem to exist in /usr/=20= > ports/distfiles/. > =3D> Attempting to fetch from http://www.cacti.net/downloads/patches/=20= > 0.8.6j/. > fetch: http://www.cacti.net/downloads/patches/0.8.6j/=20 > thumbnail_graphs_not_working.patch: Requested Range Not Satisfiable > =3D> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/=20= > distfiles/. > =3D=3D=3D> Vulnerability check disabled, database not found > =3D> MD5 Checksum OK for cacti-0.8.6j.tar.gz. > =3D> SHA256 Checksum OK for cacti-0.8.6j.tar.gz. > =3D> MD5 Checksum OK for ping_php_version4_snmpgetnext.patch. > =3D> SHA256 Checksum OK for ping_php_version4_snmpgetnext.patch. > =3D> MD5 Checksum OK for tree_console_missing_hosts.patch. > =3D> SHA256 Checksum OK for tree_console_missing_hosts.patch. > =3D> MD5 Checksum mismatch for thumbnail_graphs_not_working.patch. > =3D> SHA256 Checksum mismatch for thumbnail_graphs_not_working.patch. > =3D=3D=3D> Giving up on fetching files: =20 > thumbnail_graphs_not_working.patch thumbnail_graphs_not_working.patch > Make sure the Makefile and distinfo file (/usr/ports/net/cacti/=20 > distinfo) > are up to date. If you are absolutely sure you want to override this > check, type "make NO_CHECKSUM=3Dyes [other args]". > *** Error code 1 > > Stop in /usr/ports/net/cacti. > *** Error code 1 > > Stop in /usr/ports/net/cacti. > ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/=20 > portupgrade.71066.23 env UPGRADE_TOOL=3Dportupgrade =20 > UPGRADE_PORT=3Dcacti-0.8.6j.3 UPGRADE_PORT_VER=3D0.8.6j.3 make > ** Fix the problem and try again. > ** Listing the failed packages (*:skipped / !:failed) > ! net/cacti (cacti-0.8.6j.3) (checksum mismatch) > ---> Packages processed: 1 done, 66 ignored, 0 skipped and 1 failed As I don't know if this patch is important, I can't decide to simply =20 bypass It=85 Any help will be welcome. ________________________________________________ =AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?= =BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7 =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz ________________________________________________ =AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?= =BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7 =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF P "Please consider your environmental responsibility before printing =20 this e-mail" From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 08:50:45 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7971716A401 for ; Thu, 8 Mar 2007 08:50:45 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.freebsd.org (Postfix) with ESMTP id 1B4AE13C467 for ; Thu, 8 Mar 2007 08:50:45 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from epia-2.farid-hajji.net (epia-2 [192.168.254.11]) by fw.farid-hajji.net (Postfix) with ESMTP id 1179EDF18B; Thu, 8 Mar 2007 09:49:25 +0100 (CET) Date: Thu, 8 Mar 2007 09:52:22 +0100 From: cpghost To: Oliver Fromme Message-ID: <20070308085221.GA19569@epia-2.farid-hajji.net> References: <014301c760ce$3fb08150$3c01a8c0@coolf89ea26645> <200703071620.l27GKoDb043456@lurza.secnetix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200703071620.l27GKoDb043456@lurza.secnetix.de> User-Agent: Mutt/1.5.14 (2007-02-12) Cc: hildebeb@mts.net, freebsd-questions@freebsd.org, Ted Mittelstaedt , gldisater@gmail.com Subject: Re: FreeBSD Torrent Server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 08:50:45 -0000 On Wed, Mar 07, 2007 at 05:20:50PM +0100, Oliver Fromme wrote: > That's pure speculation (and quite paranoid). The daemon > image is still visible on many FreeBSD.org web pages. > In fact, no less pages than before the contest, and there > is no indication that it might change. However, you've dropped it in favor of the "sextoy" on the FreeBSD 6.2 DVD case cover (Lehmanns/GUUG, Jan. 2007). So Ted's speculation is not entirely without merit. Sure, it's not an "official" DVD, but it does appear in bookstores and is often the first encounter by newbies to FreeBSD :-(. > Best regards > Oliver -cpghost. -- Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 08:50:46 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D7E5516A400 for ; Thu, 8 Mar 2007 08:50:46 +0000 (UTC) (envelope-from jordi@cdmon.com) Received: from smtp01.cdmon.com (smtp01.cdmon.com [86.109.99.230]) by mx1.freebsd.org (Postfix) with ESMTP id 9C59C13C474 for ; Thu, 8 Mar 2007 08:50:46 +0000 (UTC) (envelope-from jordi@cdmon.com) Received: from [192.168.0.174] (62.Red-217-126-43.staticIP.rima-tde.net [217.126.43.62]) by smtp01.cdmon.com (Postfix) with ESMTP id 379C4F8D0E for ; Thu, 8 Mar 2007 09:23:39 +0100 (CET) Message-ID: <45EFC822.8050900@cdmon.com> Date: Thu, 08 Mar 2007 09:24:02 +0100 From: Jordi Moles User-Agent: Mozilla Thunderbird 1.5.0.10 (X11/20070221) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: as for f-prot daemon X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 08:50:46 -0000 hi. I've been using f-prot for some time. I installed it from the ports tree. I would now like to use it as a daemon service but i just don't get it working. I've found in google many links which talk about f-protd, but there's no such thing as that in my system. I haven't found any site where i could download a version of a f-prot for FreeBSD, bearing in mind that i want it runing as a daemon. Could you just tell me if there is a daemon version of f-prot for freebsd? Thank you. From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 09:20:49 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 689F216A406 for ; Thu, 8 Mar 2007 09:20:49 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from wmail.teledomenet.gr (wmail.teledomenet.gr [213.142.128.16]) by mx1.freebsd.org (Postfix) with ESMTP id 2759613C4B6 for ; Thu, 8 Mar 2007 09:20:49 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from iris (unknown [192.168.1.71]) by wmail.teledomenet.gr (Postfix) with ESMTP id 17D781C8D10; Thu, 8 Mar 2007 10:58:07 +0200 (EET) From: Nikos Vassiliadis To: freebsd-questions@freebsd.org, efinleywork@efinley.com Date: Thu, 8 Mar 2007 11:22:08 +0200 User-Agent: KMail/1.9.1 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703081122.09592.nvass@teledomenet.gr> Cc: Subject: Re: CARP and FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 09:20:49 -0000 On Thursday 08 March 2007 08:59, Elliot Finley wrote: > Hello, > > Is CARP functional in FreeBSD 6.x? > > I'm not able to find any docs on it in the Handbook or by doing a site > restricted search on google. there you go then. http://www.freebsd.org/cgi/man.cgi?query=carp Nikos From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 09:28:39 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 32AD316A400 for ; Thu, 8 Mar 2007 09:28:39 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id E94D013C428 for ; Thu, 8 Mar 2007 09:28:28 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.0/8.13.8) with ESMTP id l289SL26067633 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 8 Mar 2007 03:28:23 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.0/8.14.0/Submit) id l27LSQSv072035; Wed, 7 Mar 2007 15:28:26 -0600 (CST) (envelope-from dan) Date: Wed, 7 Mar 2007 15:28:26 -0600 From: Dan Nelson To: Chris Slothouber , User Questions Message-ID: <20070307212826.GN86959@dan.emsphone.com> References: <45EF2BB0.9000609@hier7.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45EF2BB0.9000609@hier7.com> X-OS: FreeBSD 6.2-STABLE User-Agent: Mutt/1.5.14 (2007-02-12) Cc: vivek.prasannan@gmail.com Subject: Re: w hangs before loading X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 09:28:39 -0000 Chuck Swiger wrote: > On Mar 7, 2007, at 12:41 PM, Vivek Prasannan wrote: > >When I type the command 'w' it holds for a while before printing the > >output. There is no firewall in the system, load average is below > >0.8 and I suspect it is something else. Any thoughts on this. > > The 'w' command attempts to look up the hostnames for any users which > are remotely logged in. > > If you encounter a significant delay, that suggests that reverse DNS > (aka PTR record lookups) is not properly configured or is performing > slowly in your situation. Chris Slothouber wrote: > Check to make sure your /etc/resolv.conf is configured correctly. It > sounds like it could be taking a while to resolve the remote > addresses connected. A good way to verify that this is the problem is to run "w -n", which won't do DNS lookups. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 09:43:13 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5EE1016A405 for ; Thu, 8 Mar 2007 09:43:13 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.freebsd.org (Postfix) with ESMTP id C330513C46B for ; Thu, 8 Mar 2007 09:43:12 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (idqfmh@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id l289h2q8033665; Thu, 8 Mar 2007 10:43:07 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id l289h1Qd033664; Thu, 8 Mar 2007 10:43:02 +0100 (CET) (envelope-from olli) From: Oliver Fromme Message-Id: <200703080943.l289h1Qd033664@lurza.secnetix.de> To: cpghost@cordula.ws (cpghost) Date: Thu, 8 Mar 2007 10:43:01 +0100 (CET) In-Reply-To: <20070308085221.GA19569@epia-2.farid-hajji.net> X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Thu, 08 Mar 2007 10:43:08 +0100 (CET) Cc: hildebeb@mts.net, freebsd-questions@freebsd.org, Ted Mittelstaedt , gldisater@gmail.com Subject: Re: FreeBSD Torrent Server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 09:43:13 -0000 cpghost wrote: > On Wed, Mar 07, 2007 at 05:20:50PM +0100, Oliver Fromme wrote: > > That's pure speculation (and quite paranoid). The daemon > > image is still visible on many FreeBSD.org web pages. > > In fact, no less pages than before the contest, and there > > is no indication that it might change. > > However, you've dropped it in favor of the "sextoy" on the > FreeBSD 6.2 DVD case cover (Lehmanns/GUUG, Jan. 2007). That was the decision of the designers at the marketing department of Lehmanns (I'm only responsible for the text on the back of the box, not for the overall design). Those people have near zero technical nor historical knowledge about FreeBSD. > Sure, it's not an > "official" DVD, but it does appear in bookstores and is often > the first encounter by newbies to FreeBSD :-(. I wish it was. :-( In fact, the past issues of the Lehmanns edition of FreeBSD (including the ones where there still was a large Beastie on the front of the box) had rapidly decreasing sales numbers. It's probably because many people now have fast internet access (cable, DSL, whatever) and prefer to down- load the ISOs and packages instead of buying a DVD-ROM. We were lucky that the GUUG agreed to sponsor the 6.2 issue, otherwise Lehmanns would have been forced to stop its support of FreeBSD, and the DVD for 6.2-Release would not exist today. I have no idea what will happen with 6.3 ... If nobody buys 6.2, then it's probably the last one. Best regards Oliver PS: For people who don't know at all what we're talking about, here's a link: http://www.lob.de/cgi-bin/out?isbn=3865411886 The page text is in German, I'm afraid, but at least you can see the picture of the DVD box (front side only, though). -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "Documentation is like sex; when it's good, it's very, very good, and when it's bad, it's better than nothing." -- Dick Brandon From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 10:30:55 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 223AA16A401 for ; Thu, 8 Mar 2007 10:30:55 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out3.blueyonder.co.uk (smtp-out3.blueyonder.co.uk [195.188.213.6]) by mx1.freebsd.org (Postfix) with ESMTP id DB8FD13C49D for ; Thu, 8 Mar 2007 10:30:54 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from [172.23.170.140] (helo=anti-virus02-07) by smtp-out3.blueyonder.co.uk with smtp (Exim 4.52) id 1HPFtb-0008P1-HJ; Thu, 08 Mar 2007 10:30:51 +0000 Received: from [62.31.10.181] (helo=[192.168.0.2]) by asmtp-out3.blueyonder.co.uk with esmtp (Exim 4.52) id 1HPFta-0002zj-Tf; Thu, 08 Mar 2007 10:30:50 +0000 Message-ID: <45EFE5D9.2080107@dial.pipex.com> Date: Thu, 08 Mar 2007 10:30:49 +0000 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.13) Gecko/20061205 X-Accept-Language: en MIME-Version: 1.0 To: peter@placidpublishing.net References: <45EFBCD3.3020904@placidpublishing.net> In-Reply-To: <45EFBCD3.3020904@placidpublishing.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Dependency 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, 08 Mar 2007 10:30:55 -0000 Peter Pluta wrote: > I'm a bit confused with dependency's. When you have a stale > dependency's what does this usually mean? Does that mean that the > dependency was already updated and not noted in the pkgdb? Or does it > mean the version in the pkgdb is wrong and that I have a newer or > older version installed? Also, how do I correct it when running pkgdb > -F I tried to enter the newer version of the dependency and it told me > I need to pick from a list it gave me. :( A stale dependency is when package A says that it depends on package B but package B is not installed. You *might* have a newer version and this is what you have to tell pkgdb -F since it has got into a state where it cannot know. Please show the actual details since without them no-one will be able to tell you the right answer. --Alex From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 10:51:55 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B184516A400 for ; Thu, 8 Mar 2007 10:51:55 +0000 (UTC) (envelope-from finsbury5000@yahoo.co.uk) Received: from web25502.mail.ukl.yahoo.com (web25502.mail.ukl.yahoo.com [217.12.10.148]) by mx1.freebsd.org (Postfix) with SMTP id 2C8D613C441 for ; Thu, 8 Mar 2007 10:51:49 +0000 (UTC) (envelope-from finsbury5000@yahoo.co.uk) Received: (qmail 33496 invoked by uid 60001); 8 Mar 2007 10:25:08 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=W7AM5gJHchWakQdPavlpTls64pZHCu924HKXupf8CeGneD9Rk04LyjPgfuye+w8q/k5HcoqZGShZBsbiPT9IzcVjiKvXtbwdEUjO28Mc5j3igN6TuXfZGRsVzJiOuZj1vEF/iYdHkWSfFDMMJOSqryt6FEt8mbz+s0neuAE8f2U=; X-YMail-OSG: Swx7Oj8VM1k0xYbY5Q_EIvibjMXckCI2NKI4zaG.3dnybygJTqK19dudrQZIm_Psi3ScB5Hu9Fd376p6P7ovKDCIT_If4QLGTSM0rKKFvcei4rSfgIm7qwsrZwEJyw4l8A8tFqJCyoql4J0a1rQ_AbI- Received: from [87.194.70.116] by web25502.mail.ukl.yahoo.com via HTTP; Thu, 08 Mar 2007 10:25:08 GMT Date: Thu, 8 Mar 2007 10:25:08 +0000 (GMT) From: Ken Williams To: freebsd-questions@freebsd.org, feenberg@nber.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <756027.33168.qm@web25502.mail.ukl.yahoo.com> Cc: Subject: Re: mount_smb shows no files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 10:51:55 -0000 Derek Ragona wrote: > It is not clear what you are trying to do. Are you mounting Windows > shares on a FreeBSD server? Or mounting FreeBSD samba shares onto a > Windows XP client? > > -Derek > > > At 10:35 AM 3/7/2007, Daniel Feenberg wrote: > >> We are starting to use mount_smbfs to mount backup shares on our >> Windows XP systems. Formerly we were using Linux successfully, but now >> many of our mounts succeed, but don't show any files. We can't tell >> what might be different among the XP systems to explain the >> difference, or why FreeBSD and Linux should be different in this regard. >> >> Demonstration (note that "ls /mnt" shows no files, but there are files): >> >> backup2# mount_smbfs //backup@rm316/backup /mnt >> Password: >> backup2# ls /mnt >> backup2# df /mnt >> Filesystem 1K-blocks Used Avail Capacity Mounted on >> //BACKUP@RM316/BACKUP 36659328 13238176 23421152 36% /mnt >> backup2# mount_smbfs -v >> mount_smbfs: version 1.1.0 >> backup2# uname -a >> FreeBSD backup2 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 >> 10:40:27 UTC 2007 >> root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >> >> Thanks >> >> Daniel Feenberg >> feenberg isat nber dotte 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" >> >> -- >> This message has been scanned for viruses and >> dangerous content by MailScanner, and is >> believed to be clean. >> MailScanner thanks transtec Computers for their support. >> > Hi Daniel, If you look at 'man mount_smbfs' you'll see in the examples they recommend using the '-I' option to specify the name (or IP address) of the host machine. This method works for me, mounting Windows XP shared-directories onto my FreeBSD 6.1-STABLE machine. So you would try a command like.... mount_smbfs -I rm316.DOMAINNAME.TLD //backup@rm316/backup /mnt You can also mount the filesystem automatically by adding a line to your /etc/fstab file, //backup@rm316.DOMAINNAME.TLD/backup /mnt smbfs rw,noauto 0 0 Hope this helps. Ken ___________________________________________________________ New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes. http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 10:57:25 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8FF2E16A401 for ; Thu, 8 Mar 2007 10:57:25 +0000 (UTC) (envelope-from s.moyzis@sbcglobal.net) Received: from smtp102.sbc.mail.mud.yahoo.com (smtp102.sbc.mail.mud.yahoo.com [68.142.198.201]) by mx1.freebsd.org (Postfix) with SMTP id 4E7C013C442 for ; Thu, 8 Mar 2007 10:57:25 +0000 (UTC) (envelope-from s.moyzis@sbcglobal.net) Received: (qmail 49851 invoked from network); 8 Mar 2007 10:30:45 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Received:X-YMail-OSG:Message-ID:From:To:Subject:Date:Organization:MIME-Version:Content-Type:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE; b=SfJuIIcBOJMH5P2jB6U4OIEfQIAR+OwilFm24ZHYtD0VbGQVgyBeR5vzxwe8FCTMLfSPG3CmY9zWPtrvAEc0cRegc1r/OqWL45BjCrmdGiF8zBftTQ0Wpga8+vosy2lgeiQNrTEJeC7njcRSjQFXv0cN9Lgvc3WS9+epqF1pG44= ; Received: from unknown (HELO DJ2KXR91) (s.moyzis@sbcglobal.net@68.253.141.63 with login) by smtp102.sbc.mail.mud.yahoo.com with SMTP; 8 Mar 2007 10:30:45 -0000 X-YMail-OSG: Kfv_B8EVM1lwCtiNJzcsiPkRFz62IQCd7al72Mc1hsfNP8O5kcqY8x8ib8oLwrhe9GDWVn5JIAWa0Nz8vPm7visR_K_MyRmJ9WSSGkqKHHkblqRUv_LUGsA3fQC4aXk9hhXEH8LMQjAFcpKtuNN94yVMjA-- Message-ID: <001b01c7616c$d3b93100$3f8dfd44@DJ2KXR91> From: "s.moyzis" To: "Questions@FreeBSD" Date: Thu, 8 Mar 2007 04:30:43 -0600 Organization: BPW Consulting MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Problems installing FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 10:57:25 -0000 Hi, I'm trying to install FreeBSD from ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/6.2 I downloaded all the files to a folder on my 2nd HD (Primary is C: 80 Gb = Windows XP SP2, 2nd external 250 Gb HD has 2 partitons, G: which = contains the entire C:drive for backup, and a partition H: for FreeBSD. = Anyway, The Boot CD doesn't boot (yes, I changed the BIOS sequence), and = the Disk1 and Disk2 won't fit on a CD. I'm new at this, but I do know = Windows and DOS inside and out. Question is, what do I do next? everytime I try to 'open' the file(s) Roxio CD Creator opens up. Help! = Thanks, Steve "The only secure computer is one that's unplugged, locked in a safe, and buried 20 feet under the ground in a secret location... and I'm not even too sure about that one" From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 11:16:29 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EDC3816A400 for ; Thu, 8 Mar 2007 11:16:29 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out2.blueyonder.co.uk (smtp-out2.blueyonder.co.uk [195.188.213.5]) by mx1.freebsd.org (Postfix) with ESMTP id B192B13C481 for ; Thu, 8 Mar 2007 11:16:29 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from [172.23.170.140] (helo=anti-virus02-07) by smtp-out2.blueyonder.co.uk with smtp (Exim 4.52) id 1HPGbk-000130-JJ; Thu, 08 Mar 2007 11:16:28 +0000 Received: from [62.31.10.181] (helo=[192.168.0.2]) by asmtp-out6.blueyonder.co.uk with esmtp (Exim 4.52) id 1HPGbg-0006PG-UM; Thu, 08 Mar 2007 11:16:24 +0000 Message-ID: <45EFF088.3090901@dial.pipex.com> Date: Thu, 08 Mar 2007 11:16:24 +0000 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.13) Gecko/20061205 X-Accept-Language: en MIME-Version: 1.0 To: "s.moyzis" References: <001b01c7616c$d3b93100$3f8dfd44@DJ2KXR91> In-Reply-To: <001b01c7616c$d3b93100$3f8dfd44@DJ2KXR91> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "Questions@FreeBSD" Subject: Re: Problems installing FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 11:16:30 -0000 s.moyzis wrote: >Hi, I'm trying to install FreeBSD from > ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/6.2 >I downloaded all the files to a folder on my 2nd HD (Primary is C: 80 Gb Windows XP SP2, 2nd external 250 Gb HD has 2 partitons, G: which contains the entire C:drive for backup, and a partition H: for FreeBSD. Anyway, The Boot CD doesn't boot (yes, I changed the BIOS sequence), and the Disk1 and Disk2 won't fit on a CD. I'm new at this, but I do know Windows and DOS inside and out. Question is, what do I do next? >everytime I try to 'open' the file(s) Roxio CD Creator opens up. Help! Thanks, > > It sounds very much like you just haven't written stuff correctly to CD. 1) You only *need* disk 1 and it boots. Disk 2 contains pre-built packages which you might want. I expect the handbook covers this. (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-diff-media.html section on FreeBSD 5.X and above). 2) You need to write disk1 using Roxio or Nero or whatever *as an ISO*, *not* copy it as a file to the CD. The option might say something like image file instead of ISO. Same for disk2, to a different CD of course. Roxio opens up when you click on the ISO because an ISO is a special file format that is basically a "dump" of a CD. Nothing other than a CD writing program is likely to make much use of it. Forget the boot CD you don't need it. It is, I believe, used for network-only installs and using CD1 is easier for a beginner. --Alex From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 11:32:44 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E7A5916A401 for ; Thu, 8 Mar 2007 11:32:44 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id 7158A13C441 for ; Thu, 8 Mar 2007 11:32:44 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so856571ugh for ; Thu, 08 Mar 2007 03:32:43 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=cQ5S7hnKtYlAWUzrvSOIomfiOytWVd38y11agsAyqBX3wX3AwPjtlh3dLXn5v9fzV8xAg156uFgY3m4Km+E+9fEtql/HUTvSJI9j2M2SIKxP91HI5FL1MVk51QsfVbiQYIfZyhw2/SMrQ2l5A0+hOABTmMTJ4RRJTIJYag6fDRw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=kInWGN/RmdUH+mV5s1dZnleODMhAE+NcH1+eQ51O0LD4MnZ9JXM8xbsGWxVvGLeokmf8K6LUvIri6IPZpCjcB7UGoidwAYFCgkZN9HHBovBVD0Ew+PMY/CXCpO1m7l7mrlSVLV/t7WFbbT+N8YLleFNSDg7vNj+W39E7dEekGQY= Received: by 10.115.111.1 with SMTP id o1mr101690wam.1173353562241; Thu, 08 Mar 2007 03:32:42 -0800 (PST) Received: by 10.114.201.2 with HTTP; Thu, 8 Mar 2007 03:32:42 -0800 (PST) Message-ID: Date: Thu, 8 Mar 2007 14:32:42 +0300 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com In-Reply-To: <20070308060748.1263b0ab.lehmann@ans-netz.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070307220351.b5411250.lehmann@ans-netz.de> <20070308060748.1263b0ab.lehmann@ans-netz.de> X-Google-Sender-Auth: 9dceaf9e0b95d9b0 Cc: questions@freebsd.org Subject: Re: bsnmpd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 11:32:45 -0000 On 3/8/07, Oliver Lehmann wrote: > Andrew Pantyukhin wrote: > > > Try this: > > http://www.freshports.org/net-mgmt/bsnmp-regex/ Not sure, never used it myself. We've also got smux in development, so you can run bsnmpd side by side with net-snmp or any other server, if that makes any sense at all: http://wiki.freebsd.org/SnmpSmux From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 11:49:26 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0F19316A400 for ; Thu, 8 Mar 2007 11:49:26 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.240]) by mx1.freebsd.org (Postfix) with ESMTP id C346413C48E for ; Thu, 8 Mar 2007 11:49:25 +0000 (UTC) (envelope-from modulok@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so405391ana for ; Thu, 08 Mar 2007 03:49:25 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=k8oVHqUqSm1+1JsudKKcx6Nyw2sj6r1Lqouu6WHIkmH77ys17W/WqRl4Zlm0lzG6eQZu2/9mn2Xp51dIAaWBPbc40mQKzkFS1WLygkN1qXBRGqeiSdzSPbLau333JR0LtigYDWTq1jGr52CgrAB0VeilzlDDT45v/EvH1a51hXs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=RwuhBWHND9NiV+1Q0gpgioAbo4yl0eavp+Co0SOMhbvOLkQeJGqBYoIl3oYi5+EocRMsyBlar8aPITT5Fli+wafrfXslqwOB6rFQ7ekwqgF/RyFQmzsDhtrraYPK9Cw02ZNsEumeML9i5UBxJJLuhv74rxrJ2zhMod2r5Mc/zpw= Received: by 10.100.141.13 with SMTP id o13mr144212and.1173354564914; Thu, 08 Mar 2007 03:49:24 -0800 (PST) Received: by 10.100.198.6 with HTTP; Thu, 8 Mar 2007 03:49:24 -0800 (PST) Message-ID: <64c038660703080349t3311fa22lf8e6ba736db330ed@mail.gmail.com> Date: Thu, 8 Mar 2007 04:49:24 -0700 From: Modulok To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Kill a hanged disk i/o process... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 11:49:26 -0000 To the best of my knowledge, most processes can be killed explicitly by "kill -s KILL;" There are a few which cannot, such as disk i/o processes. The idea here is data integrity. On the rare occasion however, (when attempting to recover data from corrupt disks for example), I've had a process invoked by the "cp" command, hang. This poses a significant problem as these processes are disk i/o processes, and as such cannot be terminated (even by root). So, other than physically hitting the reset button on the case, is there a more eloquent method of forcefully halting a hanged disk i/o process? The idea of "you don't want to terminate a disk i/o process, it could corrupt the data" isn't really a good argument, because if the process hangs and I have to punch the reset button anyway what's the difference? Ideas? -Modulok- From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 12:03:50 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2ECC116A403; Thu, 8 Mar 2007 12:03:50 +0000 (UTC) (envelope-from f.bonnet@esiee.fr) Received: from mail.esiee.fr (mail.esiee.fr [147.215.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id E54B013C4B9; Thu, 8 Mar 2007 12:03:49 +0000 (UTC) (envelope-from f.bonnet@esiee.fr) Received: from mail.esiee.fr (localhost.esiee.fr [127.0.0.1]) by mail.esiee.fr (Postfix) with SMTP id BC07A3658B2; Thu, 8 Mar 2007 13:03:46 +0100 (CET) Received: from secure.esiee.fr (secure.esiee.fr [147.215.1.19]) by mail.esiee.fr (Postfix) with ESMTP id 5867B3658A3; Thu, 8 Mar 2007 13:03:36 +0100 (CET) Received: from [147.215.1.21] (lisa.esiee.fr [147.215.1.21]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: bonnetf) by secure.esiee.fr (Postfix) with ESMTP id 4A1F43991B; Thu, 8 Mar 2007 12:54:27 +0100 (CET) Message-ID: <45EFFB97.30602@esiee.fr> Date: Thu, 08 Mar 2007 13:03:35 +0100 From: Frank Bonnet User-Agent: Thunderbird 1.5.0.8 (X11/20061213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-amd64@freebsd.org Subject: Two ethernet one IP load balancing ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 12:03:50 -0000 Hello Is there a IP load balancing system (like NetApp VIF) at FreeBSD 6.2 (AMD64) ? ( I have Cisco switches ) I tried to use ng_fec but it does not work on my IBM X3650, it compiles well but cannot be loaded into the kernel ( exec format error ) ... My server (mailhub) has two gigaethernet interfaces and I would like to use both of them with ONE IP Address to speed up LAN accesses. Any infos welcome. Thanks Frank From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 12:20:41 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 71B5716A402 for ; Thu, 8 Mar 2007 12:20:41 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (www.unsane.co.uk [85.233.185.162]) by mx1.freebsd.org (Postfix) with ESMTP id 04F3313C48D for ; Thu, 8 Mar 2007 12:20:40 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from [192.168.10.217] ([192.168.10.217]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.13.8) with ESMTP id l28CKR7o051279 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 8 Mar 2007 12:20:28 GMT (envelope-from jhary@unsane.co.uk) Message-ID: <45EFFF96.2040100@unsane.co.uk> Date: Thu, 08 Mar 2007 12:20:38 +0000 From: Vince User-Agent: Thunderbird 1.5.0.9 (X11/20070129) MIME-Version: 1.0 To: Doug Poland References: <20070307220223.GA45436@polands.org> In-Reply-To: <20070307220223.GA45436@polands.org> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: PRISM3(PCMCIA) and/or wi(4) driver unable to do WPA? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 12:20:41 -0000 Doug Poland wrote: > Hello, > > I just acquired a Linksys "Instant Wireless Network PC Card" 802.11b > wireless NIC. When plugged into a 6.2 i386 laptop, dmesg reports: > > wi0: at port 0x100-0x13f irq 11 function 0 config 1 on pccard1 > wi0: using RF:PRISM3(PCMCIA) > wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.2) > wi0: Ethernet address: 00:06:25:18:6e:1d > > When I attempted to connect to my WPA-PSK WAP, wpa_supplicant(8) just > hangs. When I turned off encryption on the WAP, and enter: > > # dhclient wi0 > > Then the NIC connects just fine. So the question is, is it the NIC, the > wi(4) driver, or what? > > The driver sadly, see http://www.freebsd.org/projects/ideas/#p-wi Its possible someones working on it but not that i know of. Vince From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 12:20:46 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0F6F016A41A for ; Thu, 8 Mar 2007 12:20:46 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from wmail.teledomenet.gr (wmail.teledomenet.gr [213.142.128.16]) by mx1.freebsd.org (Postfix) with ESMTP id B16A913C4AA for ; Thu, 8 Mar 2007 12:20:45 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from iris (unknown [192.168.1.71]) by wmail.teledomenet.gr (Postfix) with ESMTP id 3B4531C865B; Thu, 8 Mar 2007 13:58:01 +0200 (EET) From: Nikos Vassiliadis To: freebsd-questions@freebsd.org Date: Thu, 8 Mar 2007 14:22:04 +0200 User-Agent: KMail/1.9.1 References: <45EFFB97.30602@esiee.fr> In-Reply-To: <45EFFB97.30602@esiee.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703081422.05419.nvass@teledomenet.gr> Cc: Frank Bonnet , freebsd-amd64@freebsd.org Subject: Re: Two ethernet one IP load balancing ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 12:20:46 -0000 On Thursday 08 March 2007 14:03, Frank Bonnet wrote: > My server (mailhub) has two gigaethernet interfaces and I would like to use both > of them with ONE IP Address to speed up LAN accesses. Why do you think that the network is the bottleneck in your setup? Do you have a system that can process - in some way - 1Gb of email per second? Nikos From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 12:21:28 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8B17916A402 for ; Thu, 8 Mar 2007 12:21:28 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: from web62205.mail.re1.yahoo.com (web62205.mail.re1.yahoo.com [69.147.75.4]) by mx1.freebsd.org (Postfix) with SMTP id 4D22C13C441 for ; Thu, 8 Mar 2007 12:21:28 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: (qmail 28961 invoked by uid 60001); 8 Mar 2007 12:20:40 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=Qs/R4br7nqBUTEWk2qMtEMGr7YyePAWXmwcDBtn83GgTblzMdV/+gBgE3pBXlXIYGEz66duuaHvtHmEI81Y0Tq2ioHpB7IcE1mpZWPahf60g4GvomPx3F1CAgN2Z+DOssUoenOL0PPvb3gtaqm24CTtHs1tlW1Bw+KtRpVWzoLY=; X-YMail-OSG: oJSr2rQVM1kmqFTZ3gIBMTdbDkIcBYe69Pd6ERPAac_pRUeyivf9xL_9n2Mo8r71xsBfKd9_ar3AKmTShtl.HS0Y4fEF8ysGYf3vUW4YJW33_ZX_euDiUb.PRk5k2uH1oEl6 Received: from [67.46.93.3] by web62205.mail.re1.yahoo.com via HTTP; Thu, 08 Mar 2007 04:20:40 PST X-Mailer: YahooMailRC/468 YahooMailWebService/0.6.132.8 Date: Thu, 8 Mar 2007 04:20:40 -0800 (PST) From: Drew Jenkins To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <263543.26969.qm@web62205.mail.re1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 12:21:28 -0000 20I wrote the following script (with your help) to solve the problem I'm ha= ving with setting the MySQL environment and getting Zope up after the fact.= I have saved this in /usr/local/etc/rc.d/ If I run this after the machine = reboots, all is well. If I simply let it run in the reboot sequence, it doe= sn't do it's job! The sleep command is to give the server a chance to finis= h all its other bootup sequences, since that appears to be the factor messi= ng things up. But it doesn't work!! What can I do to tweak this to do what = I need it to do?=0ATIA,=0ADrew=0A=0A#!/bin/sh=0A=0Asleep 60=0Aif [ -n "$LD_= LIBRARY_PATH" ] ; then=0A export LD_LIBRARY_PATH=3D"${LD_LIBRARY_PATH}:/= usr/local/lib/mysql"=0Aelse=0A export LD_LIBRARY_PATH=3D"/usr/local/lib/= mysql"=0Afi=0A=0Acd /usr/local/zope/=0A./instance1/bin/zopectl stop=0A./ins= tance1/bin/zopectl start=0A./instance2/bin/zopectl stop=0A./instance2/bin/z= opectl start=0A=0A=0A=0A=0A=0A =0A_________________________________________= ___________________________________________=0AFood fight? Enjoy some health= y debate =0Ain the Yahoo! Answers Food & Drink Q&A.=0Ahttp://answers.yahoo.= com/dir/?link=3Dlist&sid=3D396545367 From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 12:32:37 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7C3ED16A400; Thu, 8 Mar 2007 12:32:37 +0000 (UTC) (envelope-from f.bonnet@esiee.fr) Received: from mail.esiee.fr (mail.esiee.fr [147.215.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 9230313C491; Thu, 8 Mar 2007 12:32:33 +0000 (UTC) (envelope-from f.bonnet@esiee.fr) Received: from mail.esiee.fr (localhost.esiee.fr [127.0.0.1]) by mail.esiee.fr (Postfix) with SMTP id D7AAE365901; Thu, 8 Mar 2007 13:32:32 +0100 (CET) Received: from secure.esiee.fr (secure.esiee.fr [147.215.1.19]) by mail.esiee.fr (Postfix) with ESMTP id 6C52F3658B2; Thu, 8 Mar 2007 13:32:32 +0100 (CET) Received: from [147.215.1.21] (lisa.esiee.fr [147.215.1.21]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: bonnetf) by secure.esiee.fr (Postfix) with ESMTP id 9C72F3991B; Thu, 8 Mar 2007 13:23:23 +0100 (CET) Message-ID: <45F0025F.7090803@esiee.fr> Date: Thu, 08 Mar 2007 13:32:31 +0100 From: Frank Bonnet User-Agent: Thunderbird 1.5.0.8 (X11/20061213) MIME-Version: 1.0 To: Nikos Vassiliadis References: <45EFFB97.30602@esiee.fr> <200703081422.05419.nvass@teledomenet.gr> In-Reply-To: <200703081422.05419.nvass@teledomenet.gr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions , freebsd-amd64@freebsd.org Subject: Re: Two ethernet one IP load balancing ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 12:32:37 -0000 Nikos Vassiliadis wrote: > > Why do you think that the network is the bottleneck > in your setup? Do you have a system that can process > - in some way - 1Gb of email per second? That is not ONLY smtp traffic we extensively use IMAP and there are currently 400/500 IMAP processes on the machine , this protocol is a pretty bandwidth cruncher the machine support also POP3 + WEBMAIL traffic so ... the more it will have bandwidth, better will be the email service given to my users. From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 12:43:32 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E6AD416A404 for ; Thu, 8 Mar 2007 12:43:32 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id 8C57413C4A6 for ; Thu, 8 Mar 2007 12:43:32 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from archangel.daleco.biz ([69.27.149.254]) by ezekiel.daleco.biz (8.13.4/8.13.1) with ESMTP id l28ChS4B034449; Thu, 8 Mar 2007 06:43:30 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <45F004EB.80303@daleco.biz> Date: Thu, 08 Mar 2007 06:43:23 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2pre) Gecko/20070221 SeaMonkey/1.1 MIME-Version: 1.0 To: Dean Hollister References: <20061201185732.Y6055@odyssey.apana.org.au> In-Reply-To: <20061201185732.Y6055@odyssey.apana.org.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: Western Australian Daylight Savings changes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 12:43:33 -0000 Dean Hollister wrote: > > Dear All, > > To confuse things even more, Western Australia is starting daylight > saving for a 3 year trial. The start/stop dates are not uniform, just to > make life harder. The dates are as follows: > > First on: 2:00am Dec 3 > 2007-2008: 2:00am Oct lastSun (ON) > 2007-2009: 2:00am Mar lastSun (OFF) > > If I've got the zoneinfo rules right, they go something like (sorry if > field formatting doesn't come out properly): > > > # Western Australia > Zone Australia/Perth 7:43:24 - LMT 1895 Dec > 8:00 Aus WST 1943 Jul > 8:00 - WST 1974 Oct lastSun 2:00s > 8:00 1:00 WST 1975 Mar Sun>=1 2:00s > 8:00 - WST 1983 Oct lastSun 2:00s > 8:00 1:00 WST 1984 Mar Sun>=1 2:00s > 8:00 - WST 1991 Nov 17 2:00s > 8:00 1:00 WST 1992 Mar Sun>=1 2:00s > 8:00 - WST 2006 Dec 2 > 8:00 AW WST 2009 Mar lastSun 2:00s > 8:00 - WST > > # Rule NAME FROM TO TYPE IN ON AT SAVE > LETTER/S > Rule AW 2006 only - Dec 3 2:00s 1:00 - > Rule AW 2007 2008 - Oct lastSun 2:00s 1:00 - > Rule AW 2007 2009 - Mar lastSun 2:00s 0 - > > Has anything at this stage been committed to the -STABLE branches for > these changes, or will most need to do them manually? > There has been a lot of discussion on the list lately about this, as a great portion of the world is going to DST this weekend, much earlier than the previous "norm". You might glean some insight from the mail archives. Here are some other (my non-authoritative) thoughts. 1. If your system is >=6.2, it's possible that the updated zone files are already installed. Most of the rest of the world's changes were, anyhow. 2. One way to test is to run `date -v +Nd`, where N is the number of days until the change. If date returns the wrong zone indicator (in my case it was CST instead of CDT), then run `tzsetup` as root and try again. 3. If it still returns the wrong indicator, install /usr/ports/misc/zoneinfo from an up-to-date ports tree, run tzsetup, and try again. > The gazetted changes/references are at: > > http://wa.gov.au/daylightsaving/ > It might be worth mentioning that just having 6.2 installed may not be enough; if the system was upgraded from a lower version, you may still need to run tzsetup to get ready for DST. This took me by surprise yesterday; fortunately, no biggie as I have only a few servers/workstations running FreeBSD. HTH, Kevin Kinsey From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 13:04:58 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0F9B716A402 for ; Thu, 8 Mar 2007 13:04:58 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (dsl081-227-250.chi1.dsl.speakeasy.net [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 9738313C48D for ; Thu, 8 Mar 2007 13:04:55 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.12.11) with ESMTP id l28D4I0Z008357; Thu, 8 Mar 2007 07:04:24 -0600 (CST) Message-Id: <6.0.0.22.2.20070308070323.024c8428@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Thu, 08 Mar 2007 07:04:09 -0600 To: , freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: <20070307205726.AKZ27933@m4500-02.uchicago.edu> References: <20070307205726.AKZ27933@m4500-02.uchicago.edu> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Problem Launching Applications in Gnome X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 13:04:58 -0000 You might want to try rebuilding vim and all dependencies. -Derek At 08:57 PM 3/7/2007, ruggeri@uchicago.edu wrote: >Hi, > >I haven't been able to figure this out, and am hoping someone >has some ideas. I can't seem to find any previous mention of >a similar problem, so I hope I'm not missing something >obvious. > >I run FreeBSD 6.2-STABLE. I also have installed GNOME >2.16.3. I use Gnome-Terminal 2.16.1. > >The main application I run is Vim, which I run through Gnome- >Terminal. I frequently have several copies running >simultaneously. In general response to Gnome-Terminal >commands is very fast, but sometimes when I try to open a >file with Vim it takes up to 20-30 seconds to load. The >files are not particularly large (max 300 lines). > >During this time, if I try to launch another application in >Gnome (e.g., Opera or another Gnome-Terminal), it will not >come up. It is as if everything is frozen until finally Vi >loads and opens the file, at which point anything else I have >tried to open works fine. > >While this loading takes place, I can work in any other open >application normally. Oftentimes I have another Vim session >which I am editing in. > >I have of course looked at top when this problem occurs. CPU >usage is about 2%, and there is no significant memory usage >either. > >I never experience this problem outside Gnome, whether I'm >using screen or several virtual terminals. It's really >strange. > >Anyway, I hope someone out there has some ideas. Thanks very >much in advance. > >-- Ned Ruggeri > >PS I'll include my ~/.vimrc file: > >autocmd! >set nocompatible >syntax on >set showmatch >set number >set backspace=2 >autocmd BufRead *.c set cindent >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. >MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 13:09:24 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 614F516A400; Thu, 8 Mar 2007 13:09:24 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from wmail.teledomenet.gr (wmail.teledomenet.gr [213.142.128.16]) by mx1.freebsd.org (Postfix) with ESMTP id 1BF0D13C428; Thu, 8 Mar 2007 13:09:23 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from iris (unknown [192.168.1.71]) by wmail.teledomenet.gr (Postfix) with ESMTP id 7EA341C81F5; Thu, 8 Mar 2007 14:46:21 +0200 (EET) From: Nikos Vassiliadis To: freebsd-questions@freebsd.org Date: Thu, 8 Mar 2007 15:10:25 +0200 User-Agent: KMail/1.9.1 References: <45EFFB97.30602@esiee.fr> <200703081422.05419.nvass@teledomenet.gr> <45F0025F.7090803@esiee.fr> In-Reply-To: <45F0025F.7090803@esiee.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703081510.26432.nvass@teledomenet.gr> Cc: Frank Bonnet , freebsd-amd64@freebsd.org Subject: Re: Two ethernet one IP load balancing ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 13:09:24 -0000 On Thursday 08 March 2007 14:32, Frank Bonnet wrote: > Nikos Vassiliadis wrote: > > > > > Why do you think that the network is the bottleneck > > in your setup? Do you have a system that can process > > - in some way - 1Gb of email per second? > > That is not ONLY smtp traffic we extensively use IMAP > and there are currently 400/500 IMAP processes on the > machine , this protocol is a pretty bandwidth cruncher > > the machine support also POP3 + WEBMAIL traffic so ... > the more it will have bandwidth, better will be the > email service given to my users. You say that your servers (whatever that is IMAP, SMTP, POP3, web) running on an one and only computer are pushing down the wire over 1Gbps? What's your current bandwidth utilization? From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 13:38:23 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7BF8916A405 for ; Thu, 8 Mar 2007 13:38:23 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 4B74F13C4AC for ; Thu, 8 Mar 2007 13:38:23 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.pgh.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTP id F0F6FEBC62; Thu, 8 Mar 2007 08:38:21 -0500 (EST) Date: Thu, 8 Mar 2007 08:38:16 -0500 From: Bill Moran To: "Zbigniew Szalbot" Message-Id: <20070308083816.2dca9464.wmoran@potentialtech.com> In-Reply-To: <3601.192.168.11.11.1173335512.squirrel@lists.lc-words.com> References: <3601.192.168.11.11.1173335512.squirrel@lists.lc-words.com> X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.9; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: cleaning old files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 13:38:23 -0000 In response to "Zbigniew Szalbot" : > Hello, > > Somehow in the process of upgrading PHP from 5.16 to 5.2.1 I got a few > 5.1.6 extenstions which were not deleted. When I issue pkg_info -Ix php5, > I get: > > php5-ctype-5.1.6 The ctype shared extension for php > php5-ctype-5.1.6_2 The ctype shared extension for php > php5-dom-5.1.6 The dom shared extension for php > php5-dom-5.1.6_2 The dom shared extension for php > > and so on. I tried checking /usr/local/etc/php/extensions.ini but there > are no double entries in there. My question is how do I get rid of these > old extensions? Vulnerability test port alerts me I still have them. > Thanks! Looks like your ports database got corrupted at some point. I would just pkg_delete -f them, then reinstall the correct version if needed. -- Bill Moran http://www.potentialtech.com From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 14:24:35 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5B93616A403 for ; Thu, 8 Mar 2007 14:24:35 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.232]) by mx1.freebsd.org (Postfix) with ESMTP id 2014913C48D for ; Thu, 8 Mar 2007 14:24:34 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: by wx-out-0506.google.com with SMTP id s18so465100wxc for ; Thu, 08 Mar 2007 06:24:34 -0800 (PST) Received: by 10.70.67.10 with SMTP id p10mr798424wxa.1173363874528; Thu, 08 Mar 2007 06:24:34 -0800 (PST) Received: from ?192.168.0.4? ( [67.189.184.224]) by mx.google.com with ESMTP id h14sm1809476wxd.2007.03.08.06.24.33; Thu, 08 Mar 2007 06:24:33 -0800 (PST) Date: Thu, 08 Mar 2007 09:24:47 -0500 From: Gerard Seibert To: freebsd-questions@freebsd.org Organization: Seibercom.NET X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Message-Id: <20070308085511.1ECA.GERARD@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Becky! ver. 2.30.03 [en] Subject: Running script from rc.d as local user X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 14:24:35 -0000 I am trying to get gpg-agent to start at boot time. If I place this in the ~/.bash_profile file, the program starts correctly. GPG_TTY=3D`tty` export GPG_TTY # ## Start Agent ##=20 if test -f $HOME/.gpg-agent-info \ && kill -0 `cut -d: -f 2 $HOME/.gpg-agent-info` 2>/dev/null; then GPG_AGENT_INFO=3D`cat $HOME/.gpg-agent-info` export GPG_AGENT_INFO else eval `gpg-agent --daemon` echo $GPG_AGENT_INFO >$HOME/.gpg-agent-info fi The problem is, if I log in again from a remote location, the =2Ebash_login is read again and another copy of gpg-agent is started. Obviously, I do not want that behavior. I tried starting it from CRON; however, the variables: GPG_AGENT_INFO GPG_TTY are not set.. I then tried to create a script and run it from /usr/local/etc/rc.d; however, that forces the script to run as root, which I do not want. --=20 Gerard From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 14:53:03 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 87BA416A402 for ; Thu, 8 Mar 2007 14:53:03 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (dsl081-227-250.chi1.dsl.speakeasy.net [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 0BA2813C4B2 for ; Thu, 8 Mar 2007 14:53:02 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.12.11) with ESMTP id l28EqSrx009579; Thu, 8 Mar 2007 08:52:28 -0600 (CST) Message-Id: <6.0.0.22.2.20070308084942.0247a948@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Thu, 08 Mar 2007 08:52:20 -0600 To: freebsd-questions@freebsd.org, freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: <20070308085511.1ECA.GERARD@seibercom.net> References: <20070308085511.1ECA.GERARD@seibercom.net> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Running script from rc.d as local user X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 14:53:03 -0000 You need a first line in your script to choose what shell to run it: #!/usr/local/bin/bash You should add a line: /usr/bin/su [to your username] Then try it at bootup as an rc script. -Derek At 08:24 AM 3/8/2007, Gerard Seibert wrote: >I am trying to get gpg-agent to start at boot time. If I place this in >the ~/.bash_profile file, the program starts correctly. > > >GPG_TTY=`tty` >export GPG_TTY > ># >## Start Agent >## >if test -f $HOME/.gpg-agent-info \ >&& kill -0 `cut -d: -f 2 $HOME/.gpg-agent-info` 2>/dev/null; then > GPG_AGENT_INFO=`cat $HOME/.gpg-agent-info` > export GPG_AGENT_INFO > else > eval `gpg-agent --daemon` > echo $GPG_AGENT_INFO >$HOME/.gpg-agent-info >fi > > >The problem is, if I log in again from a remote location, the >.bash_login is read again and another copy of gpg-agent is started. >Obviously, I do not want that behavior. > >I tried starting it from CRON; however, the variables: > > GPG_AGENT_INFO > GPG_TTY > > are not set.. > >I then tried to create a script and run it from /usr/local/etc/rc.d; >however, that forces the script to run as root, which I do not want. > >-- >Gerard > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. >MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 14:56:09 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 77CF216A401 for ; Thu, 8 Mar 2007 14:56:09 +0000 (UTC) (envelope-from nullpt@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.freebsd.org (Postfix) with ESMTP id 13BC013C471 for ; Thu, 8 Mar 2007 14:56:07 +0000 (UTC) (envelope-from nullpt@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so913480ugh for ; Thu, 08 Mar 2007 06:56:06 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=O4vLKoBv3blyL91KpJVq9R7J7uh3vsJAk+pDMDAlV43z7+USylIbntbm7miPZf1xTe0rDdCjcRo+vzHSH5OO5hhUWCCTFFP9D5TlNo/Ycz/jZRNy8/Suji0rs6JXYyRE9yf4ZxgoA1URJPK1hBUg6ea72w6KKxCjww/hHHkUJMk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=YT6pD+lS6IfRQgt/DG/7P0V8hFH+vv49jHqxOMUfxorfk4j5wgwmkgHdEJXGHrq3WDwA+SbMLgb7VZUqucD9NZ2y7zX1Qyrg3kebgXHy8oc2Xh+Qmfp+kkGuxyNpauiNu25NAFAcns3dZ8lNnArwfowYqW2TdbLg7hIcyrPYgLc= Received: by 10.67.100.17 with SMTP id c17mr7108828ugm.1173365766138; Thu, 08 Mar 2007 06:56:06 -0800 (PST) Received: by 10.66.237.17 with HTTP; Thu, 8 Mar 2007 06:56:06 -0800 (PST) Message-ID: <755cb9fc0703080656o707bb9agc5c20f1bdd294419@mail.gmail.com> Date: Thu, 8 Mar 2007 14:56:06 +0000 From: "Alexandre Vieira" To: "Nikos Vassiliadis" , freebsd-questions@freebsd.org, freebsd-amd64@freebsd.org In-Reply-To: <200703081510.26432.nvass@teledomenet.gr> MIME-Version: 1.0 References: <45EFFB97.30602@esiee.fr> <200703081422.05419.nvass@teledomenet.gr> <45F0025F.7090803@esiee.fr> <200703081510.26432.nvass@teledomenet.gr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Two ethernet one IP load balancing ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 14:56:09 -0000 On 3/8/07, Nikos Vassiliadis wrote: > > On Thursday 08 March 2007 14:32, Frank Bonnet wrote: > > Nikos Vassiliadis wrote: > > > > > > > > Why do you think that the network is the bottleneck > > > in your setup? Do you have a system that can process > > > - in some way - 1Gb of email per second? > > > > That is not ONLY smtp traffic we extensively use IMAP > > and there are currently 400/500 IMAP processes on the > > machine , this protocol is a pretty bandwidth cruncher > > > > the machine support also POP3 + WEBMAIL traffic so ... > > the more it will have bandwidth, better will be the > > email service given to my users. > > You say that your servers (whatever that is IMAP, SMTP, > POP3, web) running on an one and only computer are pushing > down the wire over 1Gbps? > > What's your current bandwidth utilization? > _______________________________________________ > 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" > The freebsd port channeling support (I think it's called trunk in openbsd) is very limited. You have ng_one2many which let you aggregate two interfaces using round robin loadbalancing and ng_fec with uses fast ethernet channel. There isn't any LACP support yet :| What hardware do you use to push 1gbps on a mail server? Cheers -- Alexandre Vieira - nullpt@gmail.com From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 15:07:56 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EB40A16A402 for ; Thu, 8 Mar 2007 15:07:56 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.226]) by mx1.freebsd.org (Postfix) with ESMTP id A98B613C481 for ; Thu, 8 Mar 2007 15:07:56 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: by wr-out-0506.google.com with SMTP id 71so845598wri for ; Thu, 08 Mar 2007 07:07:56 -0800 (PST) Received: by 10.100.125.5 with SMTP id x5mr317650anc.1173366475989; Thu, 08 Mar 2007 07:07:55 -0800 (PST) Received: from localhost ( [67.189.184.224]) by mx.google.com with ESMTP id 44sm2833407wri.2007.03.08.07.07.54; Thu, 08 Mar 2007 07:07:54 -0800 (PST) Date: Thu, 8 Mar 2007 10:07:52 -0500 From: Gerard Seibert To: freebsd-questions@freebsd.org Message-ID: <20070308100752.3884e0a6@localhost> In-Reply-To: <6.0.0.22.2.20070308084942.0247a948@mail.computinginnovations.com> References: <20070308085511.1ECA.GERARD@seibercom.net> <6.0.0.22.2.20070308084942.0247a948@mail.computinginnovations.com> Organization: Seibercom.net X-Mailer: Claws Mail 2.8.0 (GTK+ 2.10.9; i386-portbld-freebsd6.2) X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_ga+W3=.BU2p0Cs9zKmZtF.."; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Re: Running script from rc.d as local user X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 15:07:57 -0000 --Sig_ga+W3=.BU2p0Cs9zKmZtF.. Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 08 Mar 2007 08:52:20 -0600 Derek Ragona wrote: > You need a first line in your script to choose what shell to run it: > #!/usr/local/bin/bash That is all ready in the script. Sorry, I inadvertently failed to disclose that. >=20 > You should add a line: > /usr/bin/su [to your username] OK, I'll try that. > Then try it at bootup as an rc script. --=20 Gerard "I think he said 'Blessed are the cheesemakers.'" "Nonsense, he was obviously referring to all manufacturers of dairy products." The Life of Brian --Sig_ga+W3=.BU2p0Cs9zKmZtF.. Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.2 (FreeBSD) iD8DBQFF8CbIFCqdq4D1ybYRAvp4AKC3RByiTtG8s3sK+TJgtZ4qg144iwCeO4Pn Z1yU7WltJxD38NDTWfYDh7w= =sNmO -----END PGP SIGNATURE----- --Sig_ga+W3=.BU2p0Cs9zKmZtF..-- From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 15:09:18 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C6D5916A402 for ; Thu, 8 Mar 2007 15:09:18 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135]) by mx1.freebsd.org (Postfix) with ESMTP id A186613C4A7 for ; Thu, 8 Mar 2007 15:09:18 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9] (may be forged)) by mxout5.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l28F9I2J031114 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 8 Mar 2007 07:09:18 -0800 X-Auth-Received: from [192.168.10.41] (c-67-187-172-183.hsd1.ca.comcast.net [67.187.172.183]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l28F9H9x008982 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 8 Mar 2007 07:09:17 -0800 Message-ID: <45F02719.2060604@u.washington.edu> Date: Thu, 08 Mar 2007 07:09:13 -0800 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.9 (X11/20070122) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <263543.26969.qm@web62205.mail.re1.yahoo.com> In-Reply-To: <263543.26969.qm@web62205.mail.re1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.0.289146, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.3.8.65434 X-Uwash-Spam: Gauge=IIIIIIII, Probability=8%, Report='LEO_OBFU_SUBJ_RE 0.1, SUPERLONG_LINE 0.05, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 15:09:18 -0000 Drew Jenkins wrote: > 20I wrote the following script (with your help) to solve the problem I'm having with setting the MySQL environment and getting Zope up after the fact. I have saved this in /usr/local/etc/rc.d/ If I run this after the machine reboots, all is well. If I simply let it run in the reboot sequence, it doesn't do it's job! The sleep command is to give the server a chance to finish all its other bootup sequences, since that appears to be the factor messing things up. But it doesn't work!! What can I do to tweak this to do what I need it to do? > TIA, > Drew > > #!/bin/sh > > sleep 60 > if [ -n "$LD_LIBRARY_PATH" ] ; then > export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/lib/mysql" > else > export LD_LIBRARY_PATH="/usr/local/lib/mysql" > fi > > cd /usr/local/zope/ > ./instance1/bin/zopectl stop > ./instance1/bin/zopectl start > ./instance2/bin/zopectl stop > ./instance2/bin/zopectl start Well, it's going to involve a bit more than that to get an rc script up and running I'm afraid.. the script needs a start, stop, status functions, as well as a few others. Some examples are in the /etc/rc.d and /usr/local/etc/rc.d directories, as you've discovered. Given your output above, maybe you want to add the LD_LIBRARY_PATH lines to the zopectl file? Cheers! -Garrett From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 15:24:10 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D504916A407 for ; Thu, 8 Mar 2007 15:24:10 +0000 (UTC) (envelope-from paulette_mcgee@yahoo.com) Received: from web62309.mail.re1.yahoo.com (web62309.mail.re1.yahoo.com [69.147.75.23]) by mx1.freebsd.org (Postfix) with SMTP id 84F3D13C4A5 for ; Thu, 8 Mar 2007 15:24:10 +0000 (UTC) (envelope-from paulette_mcgee@yahoo.com) Received: (qmail 27229 invoked by uid 60001); 8 Mar 2007 15:24:09 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=mYV4i63GnjHWzxZ/Li0cJFBbE9oY5+KE/lbTDIGMcLl+y+4WUcmicAzDR7f3KEsYe87ev3HfKNiB79abNoA2QCArREhmy8ywgjOtynNG2w302y6sUemgJW2U6KsDxLadKVrus5ctABVLNzNRzotO0lWtB/l3QQihPm0OfpCT2K8=; X-YMail-OSG: hP_wcrEVM1lCKZ1nH7J9JdvQbBZcxDj6VDk8hen8TaiDJ9aysw8zBrzgxenlDGWkezfdH9CIRbiTkWnBSB3JKS94ebS9xnY.rmIvzngijml8PTjQtNPE6kjvbgYvFrrJ Received: from [68.164.15.239] by web62309.mail.re1.yahoo.com via HTTP; Thu, 08 Mar 2007 07:24:09 PST Date: Thu, 8 Mar 2007 07:24:09 -0800 (PST) From: Paulette McGee To: Alex Zbyslaw , "s.moyzis" In-Reply-To: <45EFF088.3090901@dial.pipex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <839034.26911.qm@web62309.mail.re1.yahoo.com> Cc: "Questions@FreeBSD" Subject: Re: Problems installing FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 15:24:10 -0000 --- Alex Zbyslaw wrote: > s.moyzis wrote: > > >Hi, I'm trying to install FreeBSD from > > > ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/6.2 > >I downloaded all the files to a folder on my 2nd HD > (Primary is C: 80 Gb Windows XP SP2, 2nd external > 250 Gb HD has 2 partitons, G: which contains the > entire C:drive for backup, and a partition H: for > FreeBSD. Anyway, The Boot CD doesn't boot (yes, I > changed the BIOS sequence), and the Disk1 and Disk2 > won't fit on a CD. I'm new at this, but I do know > Windows and DOS inside and out. Question is, what > do I do next? > >everytime I try to 'open' the file(s) Roxio CD > Creator opens up. Help! Thanks, > > > > > It sounds very much like you just haven't written > stuff correctly to CD. > > 1) You only *need* disk 1 and it boots. Disk 2 > contains pre-built > packages which you might want. I expect the > handbook covers this. > (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-diff-media.html > > section on FreeBSD 5.X and above). > > 2) You need to write disk1 using Roxio or Nero or > whatever *as an ISO*, > *not* copy it as a file to the CD. The option might > say something like > image file instead of ISO. Same for disk2, to a > different CD of > course. Roxio opens up when you click on the ISO > because an ISO is a > special file format that is basically a "dump" of a > CD. Nothing other > than a CD writing program is likely to make much use > of it. > > Forget the boot CD you don't need it. It is, I > believe, used for > network-only installs and using CD1 is easier for a > beginner. > > --Alex > > > _______________________________________________ > 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" > Hello, Just like Alex has pointed out; you have to burn from an ISO / Image. If you are using Roxio 7 it is called: "Burn from Disc Image File..." Otherwise you may wind up burning the ISO as a single file. Regards, Paulette McGee ____________________________________________________________________________________ Don't get soaked. Take a quick peek at the forecast with the Yahoo! Search weather shortcut. http://tools.search.yahoo.com/shortcuts/#loc_weather From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 15:48:35 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1E25B16A400 for ; Thu, 8 Mar 2007 15:48:35 +0000 (UTC) (envelope-from bernt@bah.homeip.net) Received: from usenet.ath.cx (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) by mx1.freebsd.org (Postfix) with ESMTP id 8301913C481 for ; Thu, 8 Mar 2007 15:48:34 +0000 (UTC) (envelope-from bernt@bah.homeip.net) Received: from [213.200.137.21] (c213-200-137-21.bredband.comhem.se [213.200.137.21]) by usenet.ath.cx (8.13.1/8.13.1) with ESMTP id l28FNE6w037307 for ; Thu, 8 Mar 2007 16:23:19 +0100 (CET) (envelope-from bernt@bah.homeip.net) Message-ID: <45F02A61.4030708@bah.homeip.net> Date: Thu, 08 Mar 2007 16:23:13 +0100 From: B H User-Agent: Mozilla/5.0 (X11; U; FreeBSD-6.2-STABLE; sv-SE) X-Accept-Language: sv, en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Whois borked. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 15:48:35 -0000 Hello. I´ve upgraded from 6.1-stable to 6.2-STABLE and now whois don't like me any more. $ whois ipnumber whois: whois.arin.net: servname not supported for ai_socktype $ whois domain whois: whois.arin.net: servname not supported for ai_socktype $ whois usage: whois [-aAbdfgiIklmQrR6] [-c country-code | -h hostname] [-p port] name ... What gives? /BH From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 16:09:55 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CB16116A401 for ; Thu, 8 Mar 2007 16:09:55 +0000 (UTC) (envelope-from wisco.disco@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by mx1.freebsd.org (Postfix) with ESMTP id 5B68413C48E for ; Thu, 8 Mar 2007 16:09:55 +0000 (UTC) (envelope-from wisco.disco@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so631744nfc for ; Thu, 08 Mar 2007 08:09:54 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Ug/QV3jYMS/V3UmNryUQpBZ/UpF37L7tmOsvWEMmqna+nvALbywyTjpTIue+nDQweKoIGcvjkaoG73WySovx8vplzJqLODZEPrvEV0yvol2MHrQ9Xbjvvo8DQvTSj/y2ioyYlq4sJ6VAog3fSPJuDJMm/0sevpPw3ESQNnAPmpE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hxjD3F4555EkwfZraPo//rKltgBMjZOanXg6KndmNBZid5Xu26cmUW64Vuo71sZuOZRZ9UnIPNlxD2gV4bGZn1l/iYnkqZmb4maypV47yrWAPAn4lpeTMdvFhLSsZdRKD313ItHboQenlfx1Kiw/1tnKrNBo7KSpvMKCf3TQ/Iw= Received: by 10.82.116.15 with SMTP id o15mr946222buc.1173368717065; Thu, 08 Mar 2007 07:45:17 -0800 (PST) Received: by 10.82.115.8 with HTTP; Thu, 8 Mar 2007 07:45:17 -0800 (PST) Message-ID: Date: Thu, 8 Mar 2007 09:45:17 -0600 From: "Doug Poland" To: Vince In-Reply-To: <45EFFF96.2040100@unsane.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070307220223.GA45436@polands.org> <45EFFF96.2040100@unsane.co.uk> Cc: questions@freebsd.org Subject: Re: PRISM3(PCMCIA) and/or wi(4) driver unable to do WPA? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: doug@polands.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 16:09:55 -0000 > > The driver sadly, see http://www.freebsd.org/projects/ideas/#p-wi > Its possible someones working on it but not that i know of. > Thanks for the info. -- Regards, Doug From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 16:13:26 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5C68816A401 for ; Thu, 8 Mar 2007 16:13:26 +0000 (UTC) (envelope-from free.bsd@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id EC5C713C461 for ; Thu, 8 Mar 2007 16:13:25 +0000 (UTC) (envelope-from free.bsd@gmx.net) Received: (qmail invoked by alias); 08 Mar 2007 15:46:43 -0000 Received: from BAA1585.baa.pppool.de (EHLO [192.168.1.117]) [77.128.21.133] by mail.gmx.net (mp042) with SMTP; 08 Mar 2007 16:46:43 +0100 X-Authenticated: #20105305 X-Provags-ID: V01U2FsdGVkX1/XUt8mXrfXXji96KMm/2TgT1Z7jd4mGIg1Lu3HDo F8rodqBKIa3e/o Message-ID: <45F0300E.5070800@gmx.net> Date: Thu, 08 Mar 2007 16:47:26 +0100 From: FreeBSD Daemon User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: ext3 support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: free.bsd@gmx.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 16:13:26 -0000 dear list, does freebsd 6.x support the ext3 filesystem? TIA zheyu From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 16:14:22 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1F7E216A401 for ; Thu, 8 Mar 2007 16:14:22 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id D7DDB13C4B4 for ; Thu, 8 Mar 2007 16:14:21 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l28GBNu9026502; Thu, 8 Mar 2007 11:11:23 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l28GBNwv026501; Thu, 8 Mar 2007 11:11:23 -0500 (EST) (envelope-from jerrymc) Date: Thu, 8 Mar 2007 11:11:23 -0500 From: Jerry McAllister To: "s.moyzis" Message-ID: <20070308161123.GA26328@gizmo.acns.msu.edu> References: <001b01c7616c$d3b93100$3f8dfd44@DJ2KXR91> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001b01c7616c$d3b93100$3f8dfd44@DJ2KXR91> User-Agent: Mutt/1.4.2.2i Cc: "Questions@FreeBSD" Subject: Re: Problems installing FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 16:14:22 -0000 On Thu, Mar 08, 2007 at 04:30:43AM -0600, s.moyzis wrote: > Hi, I'm trying to install FreeBSD from > ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/6.2 > I downloaded all the files to a folder on my 2nd HD (Primary is C: 80 Gb Windows XP SP2, 2nd external 250 Gb HD has 2 partitons, G: which contains the entire C:drive for backup, and a partition H: for FreeBSD. Anyway, The Boot CD doesn't boot (yes, I changed the BIOS sequence), and the Disk1 and Disk2 won't fit on a CD. I'm new at this, but I do know Windows and DOS inside and out. Question is, what do I do next? > everytime I try to 'open' the file(s) Roxio CD Creator opens up. Help! Thanks, > Steve The first thought is: did you burn the bood CD correctly. It is already an ISO and should be burned as a plain data file with no reforming or conversion to be bootable or etc. That is the first thing I would verify. If you can get your hands on a different machine, then try booting that with the CD. It won't hurt anything to just boot as long as you don't commit to modifying the disk - for which there are lots of warnings and 'are you really sure you want to do this' messages. You only need the disk1 for booting and installing or running a fixit. The disk2 has additional things you might want to install - ports, if you can't install them over the net. As for where to put the FreeBSD installation, you cannot put it in an MS drive such as h:. It has to go in to its own primary slice. MS does not know how to recognize, read or write a FreeBSD slice. So if it is something MS can see, then it is not a FreeBSD primary slice. If MS uses the whole drive, you will need to either wipe out the MS stuff or shrink those slices to make room for a FreeBSD slice. You can look at it with the FreeBSD fdisk routine in the fixit shell. - But, of course, you have to get it to boot to the CD first. Then, since the existing slices are probably NTFS, you may need a special utility to shrink them. There are freeware utilities that can handle FAT slices, but not NTFS. I have been quite successful using Partition Magic to manipulate disk slicing including NTFS. It is generally available for about $70 the last I checked. With that you create a "Primary Partition" of 'unknown' type in empty space obtained by either shrinking or deleting currently existing partitions. NOTE here that the MS world calls these primary partitions, but the BSD UNIX world calls them slices and uses the term partition for a different kind of disk division - those that further subdivide slices. So, do some more studying and check out that CD burn. ////jerry > > > "The only secure computer is one that's unplugged, > locked in a safe, and buried 20 feet under the ground > in a secret location... and I'm not even too sure about > that one" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 16:16:00 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 659C416A403 for ; Thu, 8 Mar 2007 16:16:00 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from wmail.teledomenet.gr (wmail.teledomenet.gr [213.142.128.16]) by mx1.freebsd.org (Postfix) with ESMTP id 22A2913C4B6 for ; Thu, 8 Mar 2007 16:15:58 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from iris (unknown [192.168.1.71]) by wmail.teledomenet.gr (Postfix) with ESMTP id E7FE11C8648; Thu, 8 Mar 2007 17:53:06 +0200 (EET) From: Nikos Vassiliadis To: freebsd-questions@freebsd.org Date: Thu, 8 Mar 2007 18:17:13 +0200 User-Agent: KMail/1.9.1 References: <45F02A61.4030708@bah.homeip.net> In-Reply-To: <45F02A61.4030708@bah.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200703081817.13781.nvass@teledomenet.gr> Cc: B H Subject: Re: Whois borked. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 16:16:00 -0000 On Thursday 08 March 2007 17:23, B H wrote: > Hello. > > I´ve upgraded from 6.1-stable to 6.2-STABLE and now whois don't like me > any more. > > > > $ whois ipnumber > whois: whois.arin.net: servname not supported for ai_socktype Is it configured to the services DB? Do a "grep whois /etc/services". You should see there - among aothers - a line like this: nicname 43/tcp whois If not, add it. HTH, Nikos From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 16:31:24 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 36EA416A403 for ; Thu, 8 Mar 2007 16:31:24 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: from web62214.mail.re1.yahoo.com (web62214.mail.re1.yahoo.com [69.147.75.13]) by mx1.freebsd.org (Postfix) with SMTP id F18C013C494 for ; Thu, 8 Mar 2007 16:31:23 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: (qmail 34932 invoked by uid 60001); 8 Mar 2007 16:31:23 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=UJ5W/GPbElfY72bViZmCpdaFlyz5WTwJKCBBzLjTchSDOjYrkFJmMP4zXcEBk+d+gPsqzksd5rgxZrABJMefZZehKQfnZ+xd6QEvcecuiG2rJOcf9LBjgj8ZmhfxpvqF+V6FA+xpOvlp3wamGEHH2EFdqplHyeFYu05GFUHu7E0=; X-YMail-OSG: Nq8IpAwVM1k1cjWHcV_.ReSjEd0eF3cikiO0mXQpc3_86GeVH8WAYkCd4J.9HY.eXw-- Received: from [66.82.9.43] by web62214.mail.re1.yahoo.com via HTTP; Thu, 08 Mar 2007 08:31:23 PST X-Mailer: YahooMailRC/468 YahooMailWebService/0.6.132.8 Date: Thu, 8 Mar 2007 08:31:23 -0800 (PST) From: Drew Jenkins To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <343573.33221.qm@web62214.mail.re1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 16:31:24 -0000 ----- Original Message ----=0AFrom: Garrett Cooper =0ATo: freebsd-questions@freebsd.org=0ASent: Thursday, March 8, 2007 11:= 09:13 AM=0ASubject: Re: Setting Env=0A=0A> Well, it's going to involve a bi= t more than that to get an rc script up =0A> and running I'm afraid.. the s= cript needs a start, stop, status =0A> functions, as well as a few others. = Some examples are in the /etc/rc.d =0A> and /usr/local/etc/rc.d directories= , as you've discovered.=0A>=0A> Given your output above, maybe you want to = add the LD_LIBRARY_PATH lines =0A> to the zopectl file?=0A=0ABrilliant! Why= doesn't *that* work?! This is crazy! I even added your little script and, = after it booted, tried running that directly (after stopping Zope) and it _= still_ didn't work! That makes no sense to me at all! I put together a litt= le script, as I stated earlier, that set the env, stopped and started my Zo= pe instances (calling on zopectl), and *that* worked, so why doesn't this w= ork?? That whole bin dir in Zope is owned by root, so how is running that s= cript different than, as root, setting the env? Insane!=0ADrew=0A=0A=0A=0A= =0A=0A=0A =0A______________________________________________________________= ______________________=0ANo need to miss a message. Get email on-the-go =0A= with Yahoo! Mail for Mobile. Get started.=0Ahttp://mobile.yahoo.com/mail From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 16:49:01 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9100F16A400 for ; Thu, 8 Mar 2007 16:49:01 +0000 (UTC) (envelope-from bernt@bah.homeip.net) Received: from usenet.ath.cx (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) by mx1.freebsd.org (Postfix) with ESMTP id 0247213C442 for ; Thu, 8 Mar 2007 16:49:00 +0000 (UTC) (envelope-from bernt@bah.homeip.net) Received: from [213.200.137.21] (c213-200-137-21.bredband.comhem.se [213.200.137.21]) by usenet.ath.cx (8.13.1/8.13.1) with ESMTP id l28GmmDN038434 for ; Thu, 8 Mar 2007 17:48:59 +0100 (CET) (envelope-from bernt@bah.homeip.net) Message-ID: <45F03E6F.3050509@bah.homeip.net> Date: Thu, 08 Mar 2007 17:48:47 +0100 From: B H User-Agent: Mozilla/5.0 (X11; U; FreeBSD-6.2-STABLE; sv-SE) X-Accept-Language: sv, en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <45F02A61.4030708@bah.homeip.net> <200703081817.13781.nvass@teledomenet.gr> In-Reply-To: <200703081817.13781.nvass@teledomenet.gr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: Whois borked. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 16:49:01 -0000 Nikos Vassiliadis skrev: > On Thursday 08 March 2007 17:23, B H wrote: > >>Hello. >> >>I´ve upgraded from 6.1-stable to 6.2-STABLE and now whois don't like me >>any more. >> >> >> >>$ whois ipnumber >>whois: whois.arin.net: servname not supported for ai_socktype > > > Is it configured to the services DB? Silly me. It was not. Is that change to the services DB dokumented in UPDATING? Or somewhere else? > Do a "grep whois /etc/services". You > should see there - among aothers - a > line like this: > nicname 43/tcp whois I added it and now it works! Thank you Nikos Vassiliadis From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 16:50:44 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E22A916A404; Thu, 8 Mar 2007 16:50:44 +0000 (UTC) (envelope-from daldworth@teliax.com) Received: from rockynet.com (rockynet.com [206.168.222.161]) by mx1.freebsd.org (Postfix) with ESMTP id 9E0CE13C467; Thu, 8 Mar 2007 16:50:44 +0000 (UTC) (envelope-from daldworth@teliax.com) Received: from dcalaptop [208.139.193.162] by rockynet.com with ESMTP (SMTPD32-8.15) id ABEB6BE00B2; Thu, 08 Mar 2007 09:38:03 -0700 From: "David Aldworth" To: "'Alexandre Vieira'" , "'Nikos Vassiliadis'" , , Date: Thu, 8 Mar 2007 09:37:58 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <755cb9fc0703080656o707bb9agc5c20f1bdd294419@mail.gmail.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Thread-Index: AcdhlaiZMg/aw9Y9Tqyc015fmaM8EQAClBqw Message-Id: <20070308093846.SM01760@dcalaptop> Cc: Subject: RE: Two ethernet one IP load balancing ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 16:50:45 -0000 If you want to put a freebsd/openbsd router in front of multiple machines we've seen some success in the past using pf + carp. David -----Original Message----- From: owner-freebsd-amd64@freebsd.org [mailto:owner-freebsd-amd64@freebsd.org] On Behalf Of Alexandre Vieira Sent: Thursday, March 08, 2007 7:56 AM To: Nikos Vassiliadis; freebsd-questions@freebsd.org; freebsd-amd64@freebsd.org Subject: Re: Two ethernet one IP load balancing ? On 3/8/07, Nikos Vassiliadis wrote: > > On Thursday 08 March 2007 14:32, Frank Bonnet wrote: > > Nikos Vassiliadis wrote: > > > > > > > > Why do you think that the network is the bottleneck > > > in your setup? Do you have a system that can process > > > - in some way - 1Gb of email per second? > > > > That is not ONLY smtp traffic we extensively use IMAP > > and there are currently 400/500 IMAP processes on the > > machine , this protocol is a pretty bandwidth cruncher > > > > the machine support also POP3 + WEBMAIL traffic so ... > > the more it will have bandwidth, better will be the > > email service given to my users. > > You say that your servers (whatever that is IMAP, SMTP, > POP3, web) running on an one and only computer are pushing > down the wire over 1Gbps? > > What's your current bandwidth utilization? > _______________________________________________ > 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" > The freebsd port channeling support (I think it's called trunk in openbsd) is very limited. You have ng_one2many which let you aggregate two interfaces using round robin loadbalancing and ng_fec with uses fast ethernet channel. There isn't any LACP support yet :| What hardware do you use to push 1gbps on a mail server? Cheers -- Alexandre Vieira - nullpt@gmail.com _______________________________________________ freebsd-amd64@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 16:58:55 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C53EB16A400 for ; Thu, 8 Mar 2007 16:58:55 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 89DA913C491 for ; Thu, 8 Mar 2007 16:58:55 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l28Gtvt6026706; Thu, 8 Mar 2007 11:55:57 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l28Gtvoc026705; Thu, 8 Mar 2007 11:55:57 -0500 (EST) (envelope-from jerrymc) Date: Thu, 8 Mar 2007 11:55:57 -0500 From: Jerry McAllister To: Drew Jenkins Message-ID: <20070308165557.GA26642@gizmo.acns.msu.edu> References: <343573.33221.qm@web62214.mail.re1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <343573.33221.qm@web62214.mail.re1.yahoo.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 16:58:56 -0000 On Thu, Mar 08, 2007 at 08:31:23AM -0800, Drew Jenkins wrote: > ----- Original Message ---- > From: Garrett Cooper > To: freebsd-questions@freebsd.org > Sent: Thursday, March 8, 2007 11:09:13 AM > Subject: Re: Setting Env > > > Well, it's going to involve a bit more than that to get an rc script up > > and running I'm afraid.. the script needs a start, stop, status > > functions, as well as a few others. Some examples are in the /etc/rc.d > > and /usr/local/etc/rc.d directories, as you've discovered. > > > > Given your output above, maybe you want to add the LD_LIBRARY_PATH lines > > to the zopectl file? > > Brilliant! Why doesn't *that* work?! This is crazy! I even added your little script and, after it booted, tried running that directly (after stopping Zope) and it _still_ didn't work! That makes no sense to me at all! I put together a little script, as I stated earlier, that set the env, stopped and started my Zope instances (calling on zopectl), and *that* worked, so why doesn't this work?? That whole bin dir in Zope is owned by root, so how is running that script different than, as root, setting the env? Insane! > Drew I think this is really changing to getting a script to run at boot time from its previous 'setting env'. Anyway, I suggest first just working on getting any script to run at boot time - or rather at the time the system comes up for multi- user, but that stuff does not run when it comes up to single-user. So, my next suggestion is to make any little ole script with a couple of echo-s in it to demonstration that it runs and put that it the /usr/local/etc/rc.d directory with the correct permissions and name, etc. NOTE, someone in an earlier post clarified the .sh issue with information that was new to me about the system looking for certain flags inside the file if the file name does not have the .sh ending. Go back and check that out, but the this, assume you have to have .sh and execute permission. You do not have to have a start/stop/restart check in the script if the script will always just run regardless of parameter. But, what the system does is call the script with a parameter of 'start' at boot time and a parameter of 'stop' at shutdown time. But for the sake of the primative test, those can be omitted. Let's say you call the scriptfile: 'rctest.sh' Put something like: #!/bin/sh echo "running rctest.sh, got this far" # Add any any other stuff you want to test echo "running rctest.sh, finished" Now, if the bare skeleton works, then start adding more parts to it until you get to where everything works. Add more echo-s if they are useful. You could also look up how to get your messages written to a log file. ////jerry > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 17:04:53 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D12A616A400 for ; Thu, 8 Mar 2007 17:04:53 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 87F9813C494 for ; Thu, 8 Mar 2007 17:04:53 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HPM2k-00070W-Vl for freebsd-questions@freebsd.org; Thu, 08 Mar 2007 18:04:42 +0100 Received: from 89-172-38-112.adsl.net.t-com.hr ([89.172.38.112]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 Mar 2007 18:04:42 +0100 Received: from ivoras by 89-172-38-112.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 Mar 2007 18:04:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Thu, 08 Mar 2007 18:04:27 +0100 Lines: 28 Message-ID: References: <45F0300E.5070800@gmx.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig9F63FD2C9C839D8DF44C0A2E" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 89-172-38-112.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) In-Reply-To: <45F0300E.5070800@gmx.net> X-Enigmail-Version: 0.94.1.2 Sender: news Subject: Re: ext3 support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 17:04:53 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9F63FD2C9C839D8DF44C0A2E Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable FreeBSD Daemon wrote: > dear list, >=20 > does freebsd 6.x support the ext3 filesystem? Only in "ext2" mode (i.e. no journaling). --------------enig9F63FD2C9C839D8DF44C0A2E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF8EIbldnAQVacBcgRAn72AKDBqmQlQike90Yh2thQWdDc7m/N0QCbBc50 vsHN7Zp7U2AylWSsMFtKcxA= =zzC6 -----END PGP SIGNATURE----- --------------enig9F63FD2C9C839D8DF44C0A2E-- From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 17:06:31 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4E71616A405 for ; Thu, 8 Mar 2007 17:06:31 +0000 (UTC) (envelope-from mayday@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 9BC2513C4A8 for ; Thu, 8 Mar 2007 17:06:30 +0000 (UTC) (envelope-from mayday@gmx.net) Received: (qmail 28001 invoked by uid 0); 8 Mar 2007 17:06:29 -0000 Received: from 134.2.188.3 by www015.gmx.net with HTTP; Thu, 08 Mar 2007 18:06:29 +0100 (CET) Content-Type: text/plain; charset="us-ascii" Date: Thu, 08 Mar 2007 18:06:29 +0100 From: "Benjamin Sobotta" In-Reply-To: <45F0300E.5070800@gmx.net> Message-ID: <20070308170629.269230@gmx.net> MIME-Version: 1.0 References: <45F0300E.5070800@gmx.net> To: free.bsd@gmx.net, freebsd-questions@freebsd.org X-Authenticated: #431110 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX1+J/T59OKeJjQirWrb2DlKX/H0LmbspeWJetSAxM1 EQmu2czNzb+hxxCa81GAqjZ2GPxit/+cFYUQ== Content-Transfer-Encoding: 7bit Cc: Subject: Re: ext3 support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 17:06:31 -0000 > dear list, > > does freebsd 6.x support the ext3 filesystem? > > TIA > > zheyu > _______________________________________________ > 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! AFAIK it doesn't support ext3. However, it supports ext2, which is structurally the same as ext2 except that it doesn't do any journaling. Hence, you should be able to mount and use ext3 except that the journal will not be used. HTH, Benjamin From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 17:55:51 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8269016A401 for ; Thu, 8 Mar 2007 17:55:51 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: from web62207.mail.re1.yahoo.com (web62207.mail.re1.yahoo.com [69.147.75.6]) by mx1.freebsd.org (Postfix) with SMTP id 2432013C4B2 for ; Thu, 8 Mar 2007 17:55:50 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: (qmail 65245 invoked by uid 60001); 8 Mar 2007 17:55:50 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=0GK0J72zrBiT1opQt9QnMQTBX3RbX3CiPdK7Ald/REA+cVN9i+CoWRXXbEOy87KFx/HfUSBkLmrUKqbZxKh5zbhsgtWBq02zcWTluoR46hx+v/XJ3XtLJQlmZO2Ym5wTTtQ/3Ao94sT8ys4vC7PVMjhkgJTJRoyxz8pTdcVyRac=; X-YMail-OSG: bfk5zRcVM1kyvQiRJ.hpBzmwbA9h8iyeSlSSPbOJHe6WKyewCgUVY3QzqUuFdLHmU3Hl0ywjGhR064SqxIqkB.fV4QV7.r4IOmWiWDsmmdI4XSwhza0NfovW267QjdQJ4Fdb Received: from [66.82.9.43] by web62207.mail.re1.yahoo.com via HTTP; Thu, 08 Mar 2007 09:55:50 PST X-Mailer: YahooMailRC/468 YahooMailWebService/0.6.132.8 Date: Thu, 8 Mar 2007 09:55:50 -0800 (PST) From: Drew Jenkins To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <390266.64333.qm@web62207.mail.re1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 17:55:51 -0000 On Thu, Mar 08, 2007 at 08:31:23AM -0800, Drew Jenkins wrote:=0A=0A> Anyway= , I suggest first just working on getting any script to run=0A> at boot tim= e - or rather at the time the system comes up for multi-=0A> user, but that= stuff does not run when it comes up to single-user.=0A> =0A> So, my next s= uggestion is to make any little ole script with a couple=0A> of echo-s in i= t to demonstration that it runs and put that it=0A> the /usr/local/etc/rc.d= directory with the correct permissions=0A> and name, etc. NOTE, someone = in an earlier post clarified the .sh=0A> issue with information that was ne= w to me about the system looking=0A> for certain flags inside the file if t= he file name does not have=0A> the .sh ending. Go back and check that out= , but the this, assume=0A> you have to have .sh and execute permission.=0A>= =0A> You do not have to have a start/stop/restart check in the script if= =0A> the script will always just run regardless of parameter. But,=0A> wh= at the system does is call the script with a parameter of 'start'=0A> at bo= ot time and a parameter of 'stop' at shutdown time.=0A> =0A> But for the sa= ke of the primative test, those can be omitted.=0A> =0A> Let's say you call= the scriptfile: 'rctest.sh'=0A> Put something like:=0A> =0A> #!/bin/sh=0A>= echo "running rctest.sh, got this far"=0A> =0A> # Add any any other stuff = you want to test=0A> =0A> echo "running rctest.sh, finished"=0A> =0A> =0A> = Now, if the bare skeleton works, then start adding more parts=0A> to it unt= il you get to where everything works. Add more echo-s=0A> if they are use= ful.=0A=0ABut I've done that (except name it *.sh, which I just did). And I= 'm not at the server. It's on the other side of the globe. So I can't watch= echo's pop up as it boots. Here's my script:=0A=0A#!/bin/sh=0A=0Asleep 60= =0Aif [ -n "$LD_LIBRARY_PATH" ] ; then=0A export LD_LIBRARY_PATH=3D"${LD= _LIBRARY_PATH}:/usr/local/lib/mysql"=0Aelse=0A export LD_LIBRARY_PATH=3D= "/usr/local/lib/mysql"=0Afi=0A=0Acd /usr/local/zope/=0A./instance1/bin/zope= ctl stop=0A./instance1/bin/zopectl start=0A./instance2/bin/zopectl stop=0A.= /instance2/bin/zopectl start=0A=0AThe sleep is in there to try to get it to= run after everything else has come up, but it doesn't help. If I run that = script after boot, everything works out fine.=0A=0A> You could also look up= how to get your messages written to a log=0A=0AHey, now there's an idea! H= ow do I do that? Or where do I go to study how to do that?=0ATIA,=0ADrew=0A= =0A=0A=0A=0A=0A =0A________________________________________________________= ____________________________=0ABored stiff? Loosen up... =0ADownload and pl= ay hundreds of games for free on Yahoo! Games.=0Ahttp://games.yahoo.com/gam= es/front From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 18:54:35 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 97C6916A405 for ; Thu, 8 Mar 2007 18:54:35 +0000 (UTC) (envelope-from dahansen@losningsorientert.com) Received: from csmtp1.b-one.net (csmtp.b-one.net [195.47.247.21]) by mx1.freebsd.org (Postfix) with ESMTP id 172B813C4A6 for ; Thu, 8 Mar 2007 18:54:34 +0000 (UTC) (envelope-from dahansen@losningsorientert.com) Received: from DELL820 (213.84-48-127.nextgentel.com [84.48.127.213]) by csmtp1.b-one.net (Postfix) with ESMTP id AA21C19120776 for ; Thu, 8 Mar 2007 19:26:56 +0100 (CET) From: "Dag Sondre Hansen" To: Date: Thu, 8 Mar 2007 19:26:54 +0100 Message-ID: <000901c761af$5afa4270$9701010a@DELL820> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 thread-index: Acdhr1jFvNUnOfCsReebhCPcW4JlTw== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: D-Link 528(T) problems in 6.0-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: Thu, 08 Mar 2007 18:54:35 -0000 My 6.0 stable server does not identify my D-Link 528T gigabit ethernet card. I've been searching the net for related information with no luck. The release notes for 6.0-STABLE states support for this card and I've browsed the driver code which clearly is written to probe for (and find?) this card. I've booted the GENERIC kernel which includes support for the 528, and I've compiled a new kernel without re-driver support and loaded the if_re-module. The result is the same (as it is supposed to be I guess). Can anyone help me out here? I am unable to upgrade to a newer version of freebsd because of the lack of HighPoint 454 card-drivers for versions above 6.0. >From dmesg: re0: Reserved 0x100 bytes for rid 0x10 type 4 at 0xd000 pci2: at device 13.0 (no driver attached) >From pciconf -lv: none3@pci2:13:0: class=0x020000 card=0x43001186 chip=0x43001186 rev=0x10 hdr=0x00 vendor = 'D-Link System Inc' class = network subclass = Ethernet kldload if_re gives the following messages when booted with verbal logging: found-> vendor=0x1186, dev=0x4300, revid=0x10 bus=2, slot=13, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0117, statreg=0x02b0, cachelnsz=4 (dwords) lattimer=0x20 (960 ns), mingnt=0x20 (8000 ns), maxlat=0x40 (16000 ns) intpin=a, irq=9 powerspec 2 supports D0 D1 D2 D3 current D0 pci2:13:0: reprobing on driver added pcib2: re0 requested I/O range 0xd000-0xd0ff: in range From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 18:54:57 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1F68916A402 for ; Thu, 8 Mar 2007 18:54:57 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out4.apple.com (mail-out4.apple.com [17.254.13.23]) by mx1.freebsd.org (Postfix) with ESMTP id 060E013C481 for ; Thu, 8 Mar 2007 18:54:56 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay8.apple.com (relay8.apple.com [17.128.113.38]) by mail-out4.apple.com (8.13.8/8.13.8) with ESMTP id l28IsuOv003183; Thu, 8 Mar 2007 10:54:56 -0800 (PST) Received: from relay8.apple.com (unknown [127.0.0.1]) by relay8.apple.com (Symantec Mail Security) with ESMTP id 4F12540514; Thu, 8 Mar 2007 10:54:56 -0800 (PST) X-AuditID: 11807126-a2f9ebb0000007dd-8e-45f05c00eb9e Received: from [17.214.13.96] (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay8.apple.com (Apple SCV relay) with ESMTP id 37918404F5; Thu, 8 Mar 2007 10:54:56 -0800 (PST) In-Reply-To: <20070307205726.AKZ27933@m4500-02.uchicago.edu> References: <20070307205726.AKZ27933@m4500-02.uchicago.edu> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Chuck Swiger Date: Thu, 8 Mar 2007 10:54:55 -0800 To: ruggeri@uchicago.edu X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== Cc: freebsd-questions@freebsd.org Subject: Re: Problem Launching Applications in Gnome X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 18:54:57 -0000 On Mar 7, 2007, at 6:57 PM, ruggeri@uchicago.edu wrote: > The main application I run is Vim, which I run through Gnome- > Terminal. I frequently have several copies running > simultaneously. In general response to Gnome-Terminal > commands is very fast, but sometimes when I try to open a > file with Vim it takes up to 20-30 seconds to load. The > files are not particularly large (max 300 lines). > > During this time, if I try to launch another application in > Gnome (e.g., Opera or another Gnome-Terminal), it will not > come up. It is as if everything is frozen until finally Vi > loads and opens the file, at which point anything else I have > tried to open works fine. Is it possible that you're low on RAM, and the system has to swap in a bunch of stuff to let you task-switch to Opera or GT? Is it only the combination of GT & Vim, or do you sometimes encounter this long delay when switching between applications doing other things? > I have of course looked at top when this problem occurs. CPU > usage is about 2%, and there is no significant memory usage > either. It would be helpful to know what state the GT & vim processes were in, too. -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 19:00:06 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 039BE16A402 for ; Thu, 8 Mar 2007 19:00:05 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id 92ABB13C467 for ; Thu, 8 Mar 2007 19:00:05 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id l28IwGnh089720; Thu, 8 Mar 2007 10:58:22 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id l28IwG2R089660; Thu, 8 Mar 2007 10:58:16 -0800 (PST) (envelope-from kline) Date: Thu, 8 Mar 2007 10:58:15 -0800 From: Gary Kline To: Garrett Cooper Message-ID: <20070308185815.GA74748@thought.org> References: <20070308014733.GA52736@thought.org> <45EF6E2A.6040706@cyberwang.net> <20070308060755.GB84395@thought.org> <45EFAA2A.8090407@u.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45EFAA2A.8090407@u.washington.edu> User-Agent: Mutt/1.4.2.2i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing twenty years of service to the Unix community Cc: freebsd-questions@freebsd.org Subject: Re: gcc43 build snafu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 19:00:06 -0000 On Wed, Mar 07, 2007 at 10:16:10PM -0800, Garrett Cooper wrote: > Gary Kline wrote: > >On Wed, Mar 07, 2007 at 09:00:10PM -0500, Sean Bryant wrote: > >>Gary Kline wrote: > >>> Why, oh why, is this gcc-4.3 build bombing ("jc1: out of memory") > >>> when I've got .75G of RAM and a huge disk? If the gcc43 port is > >>> experimental, would somebodt kindly clue me in? > >>> > > [[ ... ]] > > > >>> > >>http://gcc.gnu.org/ > >> > >>It's right there on the front page. So yes I'd call it experimental. > > > > Right. I should've checked ggc.gnu.org. Be glad when they got > > their new compiler working. Looks soild for increased > > optimization, too. > > You could try building without java support--that should cut down on > your build resources use a ton. > > Oh, I'm not sure how fast your PC is, but it'll probably take 2-3 hours > to compile that alone :).. Thanks for the tip! I want the java support ... when the compiler *works*. My FBSD servers are mostly slow: from 400 to 700+. I'm building packages on _this_ server, 700MHz, lotsa RAM. gary > > -Garrett > _______________________________________________ > 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 www.thought.org Public Service Unix From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 19:04:52 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B9E0416A401 for ; Thu, 8 Mar 2007 19:04:52 +0000 (UTC) (envelope-from ruggeri@uchicago.edu) Received: from relay03.uchicago.edu (relay03.uchicago.edu [128.135.12.77]) by mx1.freebsd.org (Postfix) with ESMTP id 80D8913C428 for ; Thu, 8 Mar 2007 19:04:52 +0000 (UTC) (envelope-from ruggeri@uchicago.edu) Received: from james-rfz25yf2.hsd1.il.comcast.net (boardwalk-flyer.cs.uchicago.edu [128.135.24.243]) by relay03.uchicago.edu (8.13.6.20060614/8.12.9) with ESMTP id l28J4pJh021883; Thu, 8 Mar 2007 13:04:51 -0600 (CST) Date: Thu, 08 Mar 2007 13:04:48 -0600 To: "Chuck Swiger" From: "Edward Ruggeri" Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 References: <20070307205726.AKZ27933@m4500-02.uchicago.edu> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: User-Agent: Opera Mail/9.10 (Win32) Cc: free-bsd-questions Subject: Re: Problem Launching Applications in Gnome X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 19:04:52 -0000 On Thu, 08 Mar 2007 12:54:55 -0600, Chuck Swiger wrote: > On Mar 7, 2007, at 6:57 PM, ruggeri@uchicago.edu wrote: >> The main application I run is Vim, which I run through Gnome- >> Terminal. I frequently have several copies running >> simultaneously. In general response to Gnome-Terminal >> commands is very fast, but sometimes when I try to open a >> file with Vim it takes up to 20-30 seconds to load. The >> files are not particularly large (max 300 lines). >> >> During this time, if I try to launch another application in >> Gnome (e.g., Opera or another Gnome-Terminal), it will not >> come up. It is as if everything is frozen until finally Vi >> loads and opens the file, at which point anything else I have >> tried to open works fine. > > Is it possible that you're low on RAM, and the system has to swap in a > bunch of stuff to let you task-switch to Opera or GT? Is it only the > combination of GT & Vim, or do you sometimes encounter this long delay > when switching between applications doing other things? > >> I have of course looked at top when this problem occurs. CPU >> usage is about 2%, and there is no significant memory usage >> either. > > It would be helpful to know what state the GT & vim processes were in, > too. RAM usage remains very low throughout. In addition, I have 2GB of RAM on this system, so while that was also my first suspicion, I don't think that's it. When vim exhibits this behavior (which it doesn't always do), it will sit in sbwait and will finally load as it comes out of sbwait. If I try to open another GT during vim's stalling, it will also be stuck in sbwait, generally coming out of it at the same time as vim. Thanks very much for your thoughts! -- Ned Ruggeri From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 19:08:49 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B18B416A403 for ; Thu, 8 Mar 2007 19:08:49 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 7201A13C442 for ; Thu, 8 Mar 2007 19:08:49 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l28J5pPa027263; Thu, 8 Mar 2007 14:05:51 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l28J5ppc027262; Thu, 8 Mar 2007 14:05:51 -0500 (EST) (envelope-from jerrymc) Date: Thu, 8 Mar 2007 14:05:51 -0500 From: Jerry McAllister To: Drew Jenkins Message-ID: <20070308190551.GA27233@gizmo.acns.msu.edu> References: <263543.26969.qm@web62205.mail.re1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <263543.26969.qm@web62205.mail.re1.yahoo.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 19:08:49 -0000 On Thu, Mar 08, 2007 at 04:20:40AM -0800, Drew Jenkins wrote: > 20I wrote the following script (with your help) to solve the problem I'm having with setting the MySQL environment and getting Zope up after the fact. I have saved this in /usr/local/etc/rc.d/ If I run this after the machine reboots, all is well. If I simply let it run in the reboot sequence, it doesn't do it's job! The sleep command is to give the server a chance to finish all its other bootup sequences, since that appears to be the factor messing things up. But it doesn't work!! What can I do to tweak this to do what I need it to do? > TIA, > Drew > > #!/bin/sh > > sleep 60 > if [ -n "$LD_LIBRARY_PATH" ] ; then > export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/lib/mysql" > else > export LD_LIBRARY_PATH="/usr/local/lib/mysql" > fi > > cd /usr/local/zope/ > ./instance1/bin/zopectl stop > ./instance1/bin/zopectl start > ./instance2/bin/zopectl stop > ./instance2/bin/zopectl start > You don't suppose, if you made a file named 'rctest.sh' and put it in your /usr/local/etc/rc.d directory owned by root:wheel with execute permissions contain the following, that you might learn something? Then, take a look at /rctest.log after you reboot. ////jerry - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #!/bin/sh # test writing a file echo "Starting rctest.sh at: `date`" >> /rctest.log case "$1" in start) echo "running rctest.sh with a start at: `date`" >> /rctest.log ;; stop) echo "Running rctest.sh with a stop at: `date`" >> /rctest.log ;; *) echo "Calling args for rctest.sh are start and stop" >> /rctest.log ;; esac sleep 3 echo "ending rctest.sh at: `date`" >> /rctest.log echo " " >> /rctest.log From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 19:10:18 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 79B6D16A400 for ; Thu, 8 Mar 2007 19:10:18 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by mx1.freebsd.org (Postfix) with ESMTP id 0566713C474 for ; Thu, 8 Mar 2007 19:10:17 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so697273nfc for ; Thu, 08 Mar 2007 11:10:16 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Brtdj8xgnRSV4mPk3x7p4K53cXTgHZxg/usG4UdQ6RtcA2bvkJqjeJYPWJUxrWGvCqdxa+EPwR8t22bbegELFB8/ThSJQHabQZeLv32KOS/SxN3w1bU2kmNiX1s4a+uaBzDoKgkhp9arUx1FlJXYNZ7+87qhP3xnxWPJJijpjJg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=PINP7QUMTNZjiYxgnpFVgciMtDuuh5I5Ke8rbqh15MifI/azi1C+k+NH4KoZzJhAzzog6DyuJIyv7fNRzehgj2JXaZQR5Eie7Q593oLJQoAIURudV8SkjE1BvnRn2/K06thNRYDuO1zeCuJ/J+dG/0HITj/MSn3dben3rJWIA5M= Received: by 10.114.161.11 with SMTP id j11mr242738wae.1173381015671; Thu, 08 Mar 2007 11:10:15 -0800 (PST) Received: by 10.114.201.2 with HTTP; Thu, 8 Mar 2007 11:10:15 -0800 (PST) Message-ID: Date: Thu, 8 Mar 2007 22:10:15 +0300 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: "Thiago Lacerda Zago" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Google-Sender-Auth: 2e5e803b15970948 Cc: FreeBSD Questions Subject: Re: RANCID: End of run not found X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 19:10:18 -0000 On 3/8/07, Thiago Lacerda Zago wrote: > I new to rancid and I've been trying to config it to run Cisco > Network devices. The problem is that I'm facing the problem with > a Switch as described below. Please repost your question here on questions@ using a decent MUA. Sorry for not being any more helpful. Thanks! From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 20:14:45 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4318A16A400 for ; Thu, 8 Mar 2007 20:14:45 +0000 (UTC) (envelope-from tzago@timbrasil.com.br) Received: from smtp2.timbrasil.com.br (rjocpdne02.timbrasil.com.br [200.179.42.37]) by mx1.freebsd.org (Postfix) with ESMTP id 8FD6B13C441 for ; Thu, 8 Mar 2007 20:14:43 +0000 (UTC) (envelope-from tzago@timbrasil.com.br) Received: from RJOCPDMS01.internal.timbrasil.com.br ([10.112.35.39]) by smtp2.timbrasil.com.br with Microsoft SMTPSVC(6.0.3790.1830); Thu, 8 Mar 2007 16:44:37 -0300 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Date: Thu, 8 Mar 2007 16:55:29 -0300 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: RANCID: End of run not found thread-index: AcdhszpW8w27YMZXSyCrygr9uMdOogACGWJw From: "Thiago Lacerda Zago" To: X-OriginalArrivalTime: 08 Mar 2007 19:44:37.0531 (UTC) FILETIME=[347606B0:01C761BA] Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: RANCID: End of run not found X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 20:14:45 -0000 =20 Hi! =20 I=92m new to rancid and I=92ve been trying to config it to run Cisco = Network devices. =20 The problem is that I=92m facing the problem with a Switch as described = below. =20 Cisco Switch Hardware Model: WS-C6506 =20 My .cloginrc file is set correctly. At least I surmise this because I = can run clogin switch001 without problem and log to my device enable = prompt. =20 When I execute the command ./clogin switch001 it works fine. =20 My router.db file is set with the line: switch001:cisco:up =20 When I run rancid-run, and check the log file, I have the following = error: =20 ---------------------------------------------------------- starting: Thu Mar 8 15:00:00 BRT 2007 =20 Trying to get all of the configs. switch001: missed cmd(s): dir /all slavedisk2:,show rsp chassis-info,dir = /all sec-slot2:,show diag,dir /all disk1:,show gsr chassis,dir /all = sec-nvram:,dir /all disk2:,dir /all sec-bootflash:,show spe version,dir = /all slaveslot2:,dir /all disk0:,show install active,show bootvar,dir = /all slaveslot0:,dir /all sec-slot1:,dir /all harddiska:,dir /all = slavenvram:,show flash,dir /all sec-disk2:,dir /all = slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,show = variables boot,show boot,dir /all slavedisk1:,show env all,show = module,show controllers,show diagbus,dir /all slavedisk0:,show idprom = backplane,dir /all bootflash:,dir /all sec-slot0:,dir /all = sec-disk1:,write term,show vtp status,dir /all sup-bootflash:,dir /all = slot2:,dir /all harddisk:,dir /all slot0:,dir /all sup-microcode:,show = vlan,dir /all slavebootflash:,show controllers cbus,dir /all = slaveslot1:,dir /all nvram:,show version,show redundancy secondary,show = running-config,show c7200,dir /all slot1: switch001: End of run not found ! =20 What could it be the cause of this problem End of run not found =20 I suspect that there might be something with the enable prompt that is = of the form [ sw0001> (enable) ]=20 =20 Please, does anyone have some idea of how I=92ll be able to solve this = problem? =20 Thanks in advance. =20 =20 BR=92s =20 Thiago Zago * HYPERLINK "mailto:tzago@timbrasil.com.br"tzago@timbrasil.com.br=20 =20 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.8/714 - Release Date: 8/3/2007 = 10:58 --=20 No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.8/714 - Release Date: 8/3/2007 = 10:58 =20 From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 21:07:10 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E302B16A400 for ; Thu, 8 Mar 2007 21:07:10 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: from web62202.mail.re1.yahoo.com (web62202.mail.re1.yahoo.com [69.147.75.1]) by mx1.freebsd.org (Postfix) with SMTP id A82F213C474 for ; Thu, 8 Mar 2007 21:07:10 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: (qmail 47732 invoked by uid 60001); 8 Mar 2007 21:07:10 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=bEfDRytfyWxJZR5xBL0lCQ4YticIR7R8NBGmMAVe+I7o6nIx9f9K5/KYQm/zG4qEAAdYkdRT7L0rkgZm4hxhZVgeZA4VREUrhURL6jK6xDuTR7yVpZ883CXWLCfr2cIJ/AzToEqKjNYUvnA9L6ka6LCg7dFZDZ9cJIMQFBkbPzY=; Received: from [66.82.9.67] by web62202.mail.re1.yahoo.com via HTTP; Thu, 08 Mar 2007 13:07:10 PST Date: Thu, 8 Mar 2007 13:07:10 -0800 (PST) From: Drew Jenkins To: freebsd-questions@freebsd.org In-Reply-To: <20070308190551.GA27233@gizmo.acns.msu.edu> MIME-Version: 1.0 Message-ID: <39179.43061.qm@web62202.mail.re1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 21:07:11 -0000 #!/bin/sh if [ -n "$LD_LIBRARY_PATH" ] ; then export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/lib/mysql" echo "Exporting LD_LIBRARY_PATH to /usr/local/lib/mysql because -n '$LD_LIBRARY_PATH' held true." >> /var/log/zz_mysql_start.log else export LD_LIBRARY_PATH="/usr/local/lib/mysql" echo "Exporting LD_LIBRARY_PATH to /usr/local/lib/mysql, -n '$LD_LIBRARY_PATH' did not hold true." >> /var/log/zz_mysql_start.log fi cd /usr/local/zope/ if ./instance1/bin/zopectl stop ; then echo "Stopping zopectl instance 1." >> /var/log/zz_mysql_start.log fi if ./instance1/bin/zopectl start ; then echo "Restarting zopectl instance 1." >> /var/log/zz_mysql_start.log fi if ./instance2/bin/zopectl stop ; then echo "Stopping zopectl instance 2." >> /var/log/zz_mysql_start.log fi if ./instance2/bin/zopectl start ; then echo "Restarting zopectl instance 2." >> /var/log/zz_mysql_start.log fi sleep 3 echo "ending zz_mysql_start.sh at: `date`" >> /var/log/zz_mysql_start.log echo " " >> /var/log/zz_mysql_start.log Exporting LD_LIBRARY_PATH to /usr/local/lib/mysql, -n '/usr/local/lib/mysql' did not hold true. Stopping zopectl instance 1. Restarting zopectl instance 1. Stopping zopectl instance 2. Restarting zopectl instance 2. ending zz_mysql_start.sh at: Thu Mar 8 14:57:47 UTC 2007 It kicked out that output when I tested it and also when I rebooted the server. However, Zope was still not up. I should qualify that. Zope "appears" to be up, but when I try to access it TTW (the ZMI) I can't reach the site. TIA, Drew --------------------------------- TV dinner still cooling? Check out "Tonight's Picks" on Yahoo! TV. From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 21:15:18 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AF4E916A402 for ; Thu, 8 Mar 2007 21:15:18 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 8019413C46B for ; Thu, 8 Mar 2007 21:15:18 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l28LCKQX027780; Thu, 8 Mar 2007 16:12:20 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l28LCJ1W027779; Thu, 8 Mar 2007 16:12:19 -0500 (EST) (envelope-from jerrymc) Date: Thu, 8 Mar 2007 16:12:19 -0500 From: Jerry McAllister To: Drew Jenkins Message-ID: <20070308211219.GA27725@gizmo.acns.msu.edu> References: <20070308190551.GA27233@gizmo.acns.msu.edu> <39179.43061.qm@web62202.mail.re1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <39179.43061.qm@web62202.mail.re1.yahoo.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 21:15:18 -0000 On Thu, Mar 08, 2007 at 01:07:10PM -0800, Drew Jenkins wrote: > #!/bin/sh > > if [ -n "$LD_LIBRARY_PATH" ] ; then > export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/lib/mysql" > echo "Exporting LD_LIBRARY_PATH to /usr/local/lib/mysql because -n '$LD_LIBRARY_PATH' held true." >> /var/log/zz_mysql_start.log > else > export LD_LIBRARY_PATH="/usr/local/lib/mysql" > echo "Exporting LD_LIBRARY_PATH to /usr/local/lib/mysql, -n '$LD_LIBRARY_PATH' did not hold true." >> /var/log/zz_mysql_start.log > fi > > cd /usr/local/zope/ > > if ./instance1/bin/zopectl stop ; then > echo "Stopping zopectl instance 1." >> /var/log/zz_mysql_start.log > fi > > if ./instance1/bin/zopectl start ; then > echo "Restarting zopectl instance 1." >> /var/log/zz_mysql_start.log > fi > > if ./instance2/bin/zopectl stop ; then > echo "Stopping zopectl instance 2." >> /var/log/zz_mysql_start.log > fi > > if ./instance2/bin/zopectl start ; then > echo "Restarting zopectl instance 2." >> /var/log/zz_mysql_start.log > fi > > > sleep 3 > echo "ending zz_mysql_start.sh at: `date`" >> /var/log/zz_mysql_start.log > echo " " >> /var/log/zz_mysql_start.log > > Exporting LD_LIBRARY_PATH to /usr/local/lib/mysql, -n '/usr/local/lib/mysql' did not hold true. > Stopping zopectl instance 1. > Restarting zopectl instance 1. > Stopping zopectl instance 2. > Restarting zopectl instance 2. > ending zz_mysql_start.sh at: Thu Mar 8 14:57:47 UTC 2007 > > It kicked out that output when I tested it and also when I rebooted the server. However, Zope was still not up. I should qualify that. Zope "appears" to be up, but when I try to access it TTW (the ZMI) I can't reach the site. > TIA, > Drew Sounds like your problem is with Zope somewhere and not the startup script per se - though it could be something missing in the startup. I have never used Zope. ////jerry > > --------------------------------- > TV dinner still cooling? > Check out "Tonight's Picks" on Yahoo! TV. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 21:19:20 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 300A116A404 for ; Thu, 8 Mar 2007 21:19:20 +0000 (UTC) (envelope-from stevan-tiefert@t-online.de) Received: from mailout04.sul.t-online.com (mailout04.sul.t-online.com [194.25.134.18]) by mx1.freebsd.org (Postfix) with ESMTP id EB50613C442 for ; Thu, 8 Mar 2007 21:19:19 +0000 (UTC) (envelope-from stevan-tiefert@t-online.de) Received: from fwd33.aul.t-online.de by mailout04.sul.t-online.com with smtp id 1HPPio-00017H-02; Thu, 08 Mar 2007 22:00:22 +0100 Received: from [192.168.2.100] (XRmC4yZF8e1yU-7tQS4xfMOXUhljaGTEIHCbTw9AHzxByww8wG-VgT@[84.165.107.165]) by fwd33.sul.t-online.de with esmtp id 1HPPie-2GSPqa0; Thu, 8 Mar 2007 22:00:12 +0100 From: Stevan Tiefert To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Thu, 08 Mar 2007 22:00:06 +0100 Message-Id: <1173387614.52807.10.camel@vagabund.w33> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-ID: XRmC4yZF8e1yU-7tQS4xfMOXUhljaGTEIHCbTw9AHzxByww8wG-VgT X-TOI-MSGID: f2acc3cd-6b66-4304-8d68-7e4239f26a10 Subject: What does it mean: "BBB reset failed"? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 21:19:20 -0000 Hello list, I have connected my MP3-Player "Mustek E-102" on my "SiS 5571 USB controller" named as ohci0. The Kernel reports immediately after connection: umass1: vendor 0x10d6 USB 2.0(HS) Flash Disk, rev 2.00/1.00, addr 2 da0 at umass-sim1 bus 1 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 242MB (497377 512 byte sectors: 64H 32S/T 242C) But in /dev the device da0 never appears! During the next minutes these errors appears: umass1: BBB reset failed, TIMEOUT umass1: BBB bulk-in clear stall failed, TIMEOUT umass1: BBB bulk-out clear stall failed, TIMEOUT (da0:umass-sim1:1:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 and it seems that the system freezes randomly afterwards for a few milliseconds... Any ideas? With regards Stevan Tiefert From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 21:27:17 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0D09B16A402 for ; Thu, 8 Mar 2007 21:27:17 +0000 (UTC) (envelope-from admin@kendallnet.co.uk) Received: from smtp1.freeserve.com (smtp1.wanadoo.co.uk [193.252.22.158]) by mx1.freebsd.org (Postfix) with ESMTP id 9B4E413C442 for ; Thu, 8 Mar 2007 21:27:16 +0000 (UTC) (envelope-from admin@kendallnet.co.uk) Received: from smtp1.freeserve.com (mwinf3009 [172.22.159.39]) by mwinf3010.me.freeserve.com (SMTP Server) with ESMTP id 45DF15C01443 for ; Thu, 8 Mar 2007 22:02:52 +0100 (CET) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3009.me.freeserve.com (SMTP Server) with ESMTP id 34B261C00082 for ; Thu, 8 Mar 2007 22:02:51 +0100 (CET) Received: from andypc2 (user-54471877.wfd83a.dsl.pol.co.uk [84.71.24.119]) by mwinf3009.me.freeserve.com (SMTP Server) with ESMTP id CE5E71C0008A for ; Thu, 8 Mar 2007 22:02:50 +0100 (CET) X-ME-UUID: 20070308210250845.CE5E71C0008A@mwinf3009.me.freeserve.com From: "Andy Kendall" To: Date: Thu, 8 Mar 2007 21:02:54 -0000 Message-ID: <001201c761c5$24b96590$4a074c0a@andypc2> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcdhxSRSyI+pM1L9Qe2ZVF8GYUDpAA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Network Printing recommendations please X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 21:27:17 -0000 I've just built my 6v2 box and all is going well so far. I've read the manual and understand LPD and directly attached printers. The manual however is pretty minimal when it comes to network-based printers, (netprint), and only mentions LPRng and CUPS on a single page briefly. I understand this; it's probably because they're not direct FreeBSD products but this doesn't help a newb-to-FreeBSD like me. I only want to build the foundation system once, so, any recommendations please on what to install/configure? (Hope this doesn't start a bikeshed). It's a single user system, for my own education (and enjoyment?) so it'll almost certainly never print any graphics or host complicated databases, etc. It's only got 512Mb RAM and a 10Gb HD so I don't have a huge resource available. The printers I have are a bullet-proof classic/HPLJ4 with internal JetDirect card, and a new HPDeskjet 6980 (colour inkjet). Unless someone can come up with a good reason to use X-Windows I don't know if I want to install it so that counts out LPRng? Apologies if this is the wrong forum or invalid posting, please advise. Many thanks Andy. (newbness embodied) From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 21:35:36 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9095D16A408 for ; Thu, 8 Mar 2007 21:35:36 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.freebsd.org (Postfix) with ESMTP id 6919B13C47E for ; Thu, 8 Mar 2007 21:35:36 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from [172.24.24.168] (natint3.juniper.net [66.129.224.36]) (authenticated bits=0) by typhoon.enabled.com (8.14.0/8.14.0) with ESMTP id l28LZYAl074752 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 8 Mar 2007 13:35:34 -0800 (PST) (envelope-from admin2@enabled.com) Message-ID: <45F081A0.4090000@enabled.com> Date: Thu, 08 Mar 2007 13:35:28 -0800 From: Noah User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: User Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Stopping named: rndc failed, trying killall: . X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 21:35:36 -0000 HI there, So I Have 6.2 install on my machine and restarting named gets the following error. any clues what is creating this? # /etc/rc.d/named restart Stopping named: rndc failed, trying killall: . Starting named. bind is starting just fine Mar 8 13:34:47 named[52886]: starting BIND 9.3.4 -t /var/named -u bind -c /etc/namedb/named.conf Mar 8 13:34:47 named[52886]: command channel listening on 127.0.0.1#953 cheers, Noah From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 21:46:59 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DC87D16A411 for ; Thu, 8 Mar 2007 21:46:59 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out4.apple.com (mail-out4.apple.com [17.254.13.23]) by mx1.freebsd.org (Postfix) with ESMTP id C5BD213C48E for ; Thu, 8 Mar 2007 21:46:59 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay6.apple.com (a17-128-113-36.apple.com [17.128.113.36]) by mail-out4.apple.com (8.13.8/8.13.8) with ESMTP id l28Lkss0001216; Thu, 8 Mar 2007 13:46:54 -0800 (PST) Received: from relay6.apple.com (unknown [127.0.0.1]) by relay6.apple.com (Symantec Mail Security) with ESMTP id F3BC510B3D; Thu, 8 Mar 2007 13:46:53 -0800 (PST) X-AuditID: 11807124-9e422bb0000007df-84-45f0844dc989 Received: from [17.214.13.96] (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay6.apple.com (Apple SCV relay) with ESMTP id D85271012D; Thu, 8 Mar 2007 13:46:53 -0800 (PST) In-Reply-To: <45F081A0.4090000@enabled.com> References: <45F081A0.4090000@enabled.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <8A6FA495-EB92-4059-A972-0599669225D1@mac.com> Content-Transfer-Encoding: 7bit From: Chuck Swiger Date: Thu, 8 Mar 2007 13:46:53 -0800 To: Noah X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== Cc: User Questions Subject: Re: Stopping named: rndc failed, trying killall: . X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 21:46:59 -0000 On Mar 8, 2007, at 1:35 PM, Noah wrote: > So I Have 6.2 install on my machine and restarting named gets the > following error. > > any clues what is creating this? > > # /etc/rc.d/named restart > Stopping named: rndc failed, trying killall: . By default, named runs in a chroot()ed environment under /var/named, and thus the path to the PID file which rndc expects to find under / var/run/named.pid actually gets put under /var/named/var/run/named.pid. It would be nifty to make ndc/rndc smart enough to understand how to find the pidfile under the chroot location. -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 21:50:40 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AB74016A400 for ; Thu, 8 Mar 2007 21:50:40 +0000 (UTC) (envelope-from andy@kendallnet.co.uk) Received: from smtp1.freeserve.com (smtp1.wanadoo.co.uk [193.252.22.158]) by mx1.freebsd.org (Postfix) with ESMTP id 45CAA13C467 for ; Thu, 8 Mar 2007 21:50:40 +0000 (UTC) (envelope-from andy@kendallnet.co.uk) Received: from smtp1.freeserve.com (mwinf3008 [172.22.159.38]) by mwinf3005.me.freeserve.com (SMTP Server) with ESMTP id 9E36D100122D for ; Thu, 8 Mar 2007 22:27:54 +0100 (CET) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3008.me.freeserve.com (SMTP Server) with ESMTP id 884861C00090 for ; Thu, 8 Mar 2007 22:27:53 +0100 (CET) Received: from andypc2 (user-54471877.wfd83a.dsl.pol.co.uk [84.71.24.119]) by mwinf3008.me.freeserve.com (SMTP Server) with ESMTP id 311B91C00087 for ; Thu, 8 Mar 2007 22:27:53 +0100 (CET) X-ME-UUID: 20070308212753201.311B91C00087@mwinf3008.me.freeserve.com From: "Andy Kendall" To: Date: Thu, 8 Mar 2007 21:27:57 -0000 Message-ID: <001701c761c8$a448b3d0$4a074c0a@andypc2> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcdhyKQDx12dQ5WEQzCrKLIK+Mm+WA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Network Printing recommendations please X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 21:50:40 -0000 I've just built my 6v2 box and all is going well so far. I've read the manual and understand LPD and directly attached printers. The manual however is pretty minimal when it comes to network-based printers, (netprint), and only mentions LPRng and CUPS on a single page briefly. I understand this; it's probably because they're not direct FreeBSD products but this doesn't help a newb-to-FreeBSD like me. I only want to build the foundation system once, so, any recommendations please on what to install/configure? (Hope this doesn't start a bikeshed). It's a single user system, for my own education (and enjoyment?) so it'll almost certainly never print any graphics or host complicated databases, etc. It's only got 512Mb RAM and a 10Gb HD so I don't have a huge resource available. The printers I have are a bullet-proof classic/HPLJ4 with internal JetDirect card, and a new HPDeskjet 6980 (colour inkjet). Unless someone can come up with a good reason to use X-Windows I don't know if I want to install it so that counts out LPRng? Apologies if this is the wrong forum or invalid posting, please advise. Many thanks Andy. (newbness embodied) From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 22:03:42 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A96E716A402 for ; Thu, 8 Mar 2007 22:03:42 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: from web62205.mail.re1.yahoo.com (web62205.mail.re1.yahoo.com [69.147.75.4]) by mx1.freebsd.org (Postfix) with SMTP id 6D93713C4A7 for ; Thu, 8 Mar 2007 22:03:42 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: (qmail 70886 invoked by uid 60001); 8 Mar 2007 22:03:41 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=OdUh0kzWh7sFB+oUe2119uZ5YYZakLn5mZMWY/gDr1/GNWiTLmFH6KLOXTEWoLILgxxHcwTaZ5GhJkQ9zpFx6/K5pqqwZsGv48NZAJNgqQ4rlXZrIdgYqvvjxzdtnTA/joq6Y4O5lwd08/AVAxeJVzwnzd7zpu9REMY9S3wiM/s=; X-YMail-OSG: oR2Vg3sVM1l.JDvmbH6.s7EKNoifQT.E9kHUViLP7sOJiL_B63LBS3e_Bk8Js6lyAQ-- Received: from [66.82.9.67] by web62205.mail.re1.yahoo.com via HTTP; Thu, 08 Mar 2007 14:03:41 PST Date: Thu, 8 Mar 2007 14:03:41 -0800 (PST) From: Drew Jenkins To: freebsd-questions@freebsd.org In-Reply-To: <20070308211219.GA27725@gizmo.acns.msu.edu> MIME-Version: 1.0 Message-ID: <863353.70409.qm@web62205.mail.re1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 22:03:42 -0000 Well, if the problem is with Zope, then why is the env variable not set after reboot? The problem, therefore, is not with Zope, but rather with setting the variable. Drew2 Jerry McAllister wrote: On Thu, Mar 08, 2007 at 01:07:10PM -0800, Drew Jenkins wrote: > #!/bin/sh > > if [ -n "$LD_LIBRARY_PATH" ] ; then > export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/lib/mysql" > echo "Exporting LD_LIBRARY_PATH to /usr/local/lib/mysql because -n '$LD_LIBRARY_PATH' held true." >> /var/log/zz_mysql_start.log > else > export LD_LIBRARY_PATH="/usr/local/lib/mysql" > echo "Exporting LD_LIBRARY_PATH to /usr/local/lib/mysql, -n '$LD_LIBRARY_PATH' did not hold true." >> /var/log/zz_mysql_start.log > fi > > cd /usr/local/zope/ > > if ./instance1/bin/zopectl stop ; then > echo "Stopping zopectl instance 1." >> /var/log/zz_mysql_start.log > fi > > if ./instance1/bin/zopectl start ; then > echo "Restarting zopectl instance 1." >> /var/log/zz_mysql_start.log > fi > > if ./instance2/bin/zopectl stop ; then > echo "Stopping zopectl instance 2." >> /var/log/zz_mysql_start.log > fi > > if ./instance2/bin/zopectl start ; then > echo "Restarting zopectl instance 2." >> /var/log/zz_mysql_start.log > fi > > > sleep 3 > echo "ending zz_mysql_start.sh at: `date`" >> /var/log/zz_mysql_start.log > echo " " >> /var/log/zz_mysql_start.log > > Exporting LD_LIBRARY_PATH to /usr/local/lib/mysql, -n '/usr/local/lib/mysql' did not hold true. > Stopping zopectl instance 1. > Restarting zopectl instance 1. > Stopping zopectl instance 2. > Restarting zopectl instance 2. > ending zz_mysql_start.sh at: Thu Mar 8 14:57:47 UTC 2007 > > It kicked out that output when I tested it and also when I rebooted the server. However, Zope was still not up. I should qualify that. Zope "appears" to be up, but when I try to access it TTW (the ZMI) I can't reach the site. > TIA, > Drew Sounds like your problem is with Zope somewhere and not the startup script per se - though it could be something missing in the startup. I have never used Zope. ////jerry > > --------------------------------- > TV dinner still cooling? > Check out "Tonight's Picks" on Yahoo! TV. > _______________________________________________ > 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" --------------------------------- Get your own web address. Have a HUGE year through Yahoo! Small Business. From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 22:03:59 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ED63D16A404 for ; Thu, 8 Mar 2007 22:03:59 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id A4A3713C4BF for ; Thu, 8 Mar 2007 22:03:49 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan@localhost [127.0.0.1]) by dan.emsphone.com (8.14.0/8.13.8) with ESMTP id l28M3gKO066067 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 8 Mar 2007 16:03:43 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.0/8.14.0/Submit) id l28M3ga1066066; Thu, 8 Mar 2007 16:03:42 -0600 (CST) (envelope-from dan) Date: Thu, 8 Mar 2007 16:03:42 -0600 From: Dan Nelson To: Chuck Swiger Message-ID: <20070308220342.GR86959@dan.emsphone.com> References: <45F081A0.4090000@enabled.com> <8A6FA495-EB92-4059-A972-0599669225D1@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8A6FA495-EB92-4059-A972-0599669225D1@mac.com> X-OS: FreeBSD 6.2-STABLE User-Agent: Mutt/1.5.14 (2007-02-12) Cc: Noah , User Questions Subject: Re: Stopping named: rndc failed, trying killall: . X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 22:04:00 -0000 In the last episode (Mar 08), Chuck Swiger said: > On Mar 8, 2007, at 1:35 PM, Noah wrote: > >So I Have 6.2 install on my machine and restarting named gets the > >following error. > > > >any clues what is creating this? > > > ># /etc/rc.d/named restart > >Stopping named: rndc failed, trying killall: . > > By default, named runs in a chroot()ed environment under /var/named, > and thus the path to the PID file which rndc expects to find under > /var/run/named.pid actually gets put under > /var/named/var/run/named.pid. > > It would be nifty to make ndc/rndc smart enough to understand how to > find the pidfile under the chroot location. rndc doesn't need to know where the pid is; it connects directly to named over the control port (953) to do its magic. Try running "rndc status" while named is running; if you get an error message complaining about midding rndc.conf or rndc.key files, you may need to configure that before rndc will work. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 22:04:57 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C08FD16A400 for ; Thu, 8 Mar 2007 22:04:57 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out3.apple.com (mail-out3.apple.com [17.254.13.22]) by mx1.freebsd.org (Postfix) with ESMTP id A90FD13C4AA for ; Thu, 8 Mar 2007 22:04:57 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay6.apple.com (relay6.apple.com [17.128.113.36]) by mail-out3.apple.com (8.13.8/8.13.8) with ESMTP id l28M4vZL008259; Thu, 8 Mar 2007 14:04:57 -0800 (PST) Received: from relay6.apple.com (unknown [127.0.0.1]) by relay6.apple.com (Symantec Mail Security) with ESMTP id 4025A100E6; Thu, 8 Mar 2007 14:04:57 -0800 (PST) X-AuditID: 11807124-9c41ebb0000007df-99-45f08889bfb0 Received: from [17.214.13.96] (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay6.apple.com (Apple SCV relay) with ESMTP id 294FD100E4; Thu, 8 Mar 2007 14:04:57 -0800 (PST) In-Reply-To: <001701c761c8$a448b3d0$4a074c0a@andypc2> References: <001701c761c8$a448b3d0$4a074c0a@andypc2> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Chuck Swiger Date: Thu, 8 Mar 2007 14:04:56 -0800 To: Andy Kendall X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== Cc: freebsd-questions@freebsd.org Subject: Re: Network Printing recommendations please X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 22:04:57 -0000 On Mar 8, 2007, at 1:02 PM, Andy Kendall wrote: [ ...and... ] On Mar 8, 2007, at 1:27 PM, Andy Kendall wrote: > I've just built my 6v2 box and all is going well so far. I've read the > manual and understand LPD and directly attached printers. The > manual however > is pretty minimal when it comes to network-based printers, > (netprint), and > only mentions LPRng and CUPS on a single page briefly. I understand > this; > it's probably because they're not direct FreeBSD products but this > doesn't > help a newb-to-FreeBSD like me. I only want to build the foundation > system > once, so, any recommendations please on what to install/configure? > (Hope > this doesn't start a bikeshed). You can use the stock lpd to print to remote/network-attached printers just fine-- use the rm and rp arguments in printcap to specify the remote printer's hostname (or IP address, possibly [1]) and spoolname...for JetDirect printers, use "lp" as the spool name, IIRC. See: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing- advanced.html#PRINTING-ADVANCED-NETWORK-RM Some other people seem to be happy with CUPS, and I believe MacOS X adopted CUPS as well rather than the classic lpd. I've never been a big fan of turning electronic documents into dead trees myself, so I don't have strong recommendations for one versus the other. > Apologies if this is the wrong forum or invalid posting, please > advise. This is the right forum, and welcome. One might wish to be a bit more patient about receiving replies, however, at least if you intended to repost so quickly.... -- -Chuck [1]: Some flavors of Unix insist upon having printer hostnames being well-defined in DNS or /etc/hosts, and do not support IP addresses in printcap. I don't recall whether than limitation is present in FreeBSD, or just a legacy from platforms like AIX or SCO.... From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 22:08:13 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C73E316A402 for ; Thu, 8 Mar 2007 22:08:13 +0000 (UTC) (envelope-from mark@messier.com) Received: from mainstreet.net (noc.mainstreet.net [207.5.0.45]) by mx1.freebsd.org (Postfix) with ESMTP id B3BC113C48D for ; Thu, 8 Mar 2007 22:08:13 +0000 (UTC) (envelope-from mark@messier.com) Received: from [199.245.73.254] (cache.mainstreet.net [199.245.73.254]) (authenticated bits=0) by mainstreet.net (8.13.8/8.13.8) with ESMTP id l28LoW6Y079305 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Thu, 8 Mar 2007 13:50:33 -0800 (PST) (envelope-from mark@messier.com) Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: <0E290C75-2066-4E59-A2D4-7FBF3A66981B@messier.com> Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-questions@freebsd.org From: Mark Messier Date: Thu, 8 Mar 2007 13:50:27 -0800 X-Mailer: Apple Mail (2.752.2) Subject: remote install of 6.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 22:08:13 -0000 I have a remote machine running 4.8-p21. The system has two disks in it, but only one is used on a daily basis (the other is filled via dd every now and then). I want to get this remote machine running 6.2, so I figured I'ld install the new OS on the second disk, then boot off the second disk, leaving the original first disk with all the user data on it (plus as a way to back out). When I try to use /stand/sysinstall for this it seg-faults early in the installation, but after the "Commit" step. I figure this is because the install process has changed a bit since 4.8. Is there a way to fix this and/or what is the best way to achieve my goal... which is: install 6.2 on a remote system without hammering the current system disk? Thanks, -mark From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 22:13:13 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 06B0A16A404 for ; Thu, 8 Mar 2007 22:13:13 +0000 (UTC) (envelope-from pigskin_referee@yahoo.com) Received: from web34411.mail.mud.yahoo.com (web34411.mail.mud.yahoo.com [66.163.178.160]) by mx1.freebsd.org (Postfix) with SMTP id AF91113C441 for ; Thu, 8 Mar 2007 22:13:12 +0000 (UTC) (envelope-from pigskin_referee@yahoo.com) Received: (qmail 46510 invoked by uid 60001); 8 Mar 2007 22:13:12 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=JapNbdp70eiyUChuqr0uxdogxsBzFmY00NzL7QehOjEprs/JnMPMcAkmJrqn0vtJajt7VHLC0dxoZFdwYvowWfOHBagFf5EcdozLPSKuhcI5iwHA8NMyWzexmTB365RySAqPOjieUH/ervKAWuxNadyLdkE/Xa4QpGIY+D0c/Yg=; X-YMail-OSG: jx5KnvIVM1koHC8JrdNgqutA4o7PsuHQlvG7uWrvWQ6WjtNi8ojWxd.otkj7yHdSnQ-- Received: from [67.189.184.224] by web34411.mail.mud.yahoo.com via HTTP; Thu, 08 Mar 2007 14:13:11 PST X-Mailer: YahooMailRC/468 YahooMailWebService/0.6.132.8 Date: Thu, 8 Mar 2007 14:13:11 -0800 (PST) From: White Hat To: FreeBSD Users Questions MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <989294.46444.qm@web34411.mail.mud.yahoo.com> Subject: DEFAULT CFLAGS SETTING X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 22:13:13 -0000 What is the default CFLAGS setting in FBSD-6.2 and would it improve perform= ance any to set=0A=0ACFLAGS=3DOs=0A=0Aas opposed to the default setting?=0A= =0A-- =0AWhite Hat =0Apigskin_referee@yahoo.com=0A=0A "Not only is li= fe a bItch, it has puppies."=0A=0A Adrienne E. Gusoff=0A=0A=0A = =0A________________________________________________________________________= ____________=0AWe won't tell. Get more on shows you hate to love =0A(and lo= ve to hate): Yahoo! TV's Guilty Pleasures list.=0Ahttp://tv.yahoo.com/colle= ctions/265 From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 22:20:52 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B11E216A406 for ; Thu, 8 Mar 2007 22:20:52 +0000 (UTC) (envelope-from rodperson@comcast.net) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.192.81]) by mx1.freebsd.org (Postfix) with ESMTP id 9D2B813C47E for ; Thu, 8 Mar 2007 22:20:52 +0000 (UTC) (envelope-from rodperson@comcast.net) Received: from atomizer.opensourcebeef.net (unknown[71.61.11.4]) by comcast.net (rwcrmhc11) with ESMTP id <20070308222051m11009oe2ee>; Thu, 8 Mar 2007 22:20:52 +0000 Date: Thu, 8 Mar 2007 17:15:51 -0500 From: Rod Person To: "Andy Kendall" Message-ID: <20070308171551.53bdbabc@atomizer.opensourcebeef.net> In-Reply-To: <001701c761c8$a448b3d0$4a074c0a@andypc2> References: <001701c761c8$a448b3d0$4a074c0a@andypc2> Organization: Open Source Beef Computing X-Mailer: Claws Mail 2.8.0 (GTK+ 2.10.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_TTV3P3BH2agxJcdURKnqhg6; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: freebsd-questions@freebsd.org Subject: Re: Network Printing recommendations please X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 22:20:52 -0000 --Sig_TTV3P3BH2agxJcdURKnqhg6 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 8 Mar 2007 21:27:57 -0000 "Andy Kendall" wrote: > The printers I have are a bullet-proof classic/HPLJ4 with internal > JetDirect card, and a new HPDeskjet 6980 (colour inkjet). >=20 > Unless someone can come up with a good reason to use X-Windows I > don't know if I want to install it so that counts out LPRng? >=20 I would go with cups because you could use the HP JetDirect socket notation to connect to the printer. I believe you can do that with the standard lp commands but I've not done that. It should be easy to set up wth cups. --=20 Rod ----- Empty your mind, be formless, shapeless like water. Now you put water into a cup and it becomes the cup. You put water in a bottle it becomes the bottle. You put it into a teapot it becomes the teapot. Now water can flow or it can crash. Be water, my friend. -- Bruce Lee --Sig_TTV3P3BH2agxJcdURKnqhg6 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF8IsX3rDijyy3LEcRAg5JAKCreHxDa/Wdy+22FtmMi9fBOtoNQQCfWpaV DSJb/HJ7+4Nukj5jnnIWj5k= =dSYn -----END PGP SIGNATURE----- --Sig_TTV3P3BH2agxJcdURKnqhg6-- From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 22:22:56 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 69D0316A402 for ; Thu, 8 Mar 2007 22:22:56 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 3BAFC13C442 for ; Thu, 8 Mar 2007 22:22:56 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l28MJvgW028095; Thu, 8 Mar 2007 17:19:57 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l28MJvAH028094; Thu, 8 Mar 2007 17:19:57 -0500 (EST) (envelope-from jerrymc) Date: Thu, 8 Mar 2007 17:19:57 -0500 From: Jerry McAllister To: Mark Messier Message-ID: <20070308221957.GA28031@gizmo.acns.msu.edu> References: <0E290C75-2066-4E59-A2D4-7FBF3A66981B@messier.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0E290C75-2066-4E59-A2D4-7FBF3A66981B@messier.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: remote install of 6.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 22:22:56 -0000 On Thu, Mar 08, 2007 at 01:50:27PM -0800, Mark Messier wrote: > I have a remote machine running 4.8-p21. The system has two disks in > it, but only one is used on a daily basis (the other is filled via dd > every now and then). > > I want to get this remote machine running 6.2, so I figured I'ld > install the new OS on the second disk, then boot off the second disk, > leaving the original first disk with all the user data on it (plus as > a way to back out). > > When I try to use /stand/sysinstall for this it seg-faults > early in the installation, but after the "Commit" step. > > I figure this is because the install process has changed a bit > since 4.8. > > Is there a way to fix this and/or what is the best way to achieve > my goal... which is: install 6.2 on a remote system without hammering > the current system disk? Are you using an install CD? Use that to boot the machine - download the ISO and burn it if needed or buy one. Boot it up and do the install to the second disk. I know you can make it work from another disk if you unmount the second one and do things just right. But, it is easier to just make the CD and do the install on the second disk. ////jerry > > Thanks, > -mark > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 22:31:48 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0671716A401 for ; Thu, 8 Mar 2007 22:31:48 +0000 (UTC) (envelope-from pgiessel@mac.com) Received: from maru.leela.ws (209-193-28-35-cdsl-rb1.jnu.acsalaska.net [209.193.28.35]) by mx1.freebsd.org (Postfix) with ESMTP id 8E00013C4A5 for ; Thu, 8 Mar 2007 22:31:47 +0000 (UTC) (envelope-from pgiessel@mac.com) Received: from [192.168.0.249] ([158.145.111.132]) (authenticated bits=0) by maru.leela.ws (8.13.8/8.13.6) with ESMTP id l28M6ITQ044756 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 8 Mar 2007 22:06:20 GMT (envelope-from pgiessel@mac.com) Message-ID: <45F088D8.402@mac.com> Date: Thu, 08 Mar 2007 13:06:16 -0900 From: "Peter A. Giessel" User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.4.0 MIME-Version: 1.0 To: Andy Kendall References: <001201c761c5$24b96590$4a074c0a@andypc2> In-Reply-To: <001201c761c5$24b96590$4a074c0a@andypc2> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Network Printing recommendations please X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 22:31:48 -0000 On 2007/03/08 12:02, Andy Kendall seems to have typed: > The printers I have are a bullet-proof classic/HPLJ4 with internal JetDirect > card, and a new HPDeskjet 6980 (colour inkjet). > > Unless someone can come up with a good reason to use X-Windows I don't know > if I want to install it so that counts out LPRng? I would suggest trying out CUPS and reading the manual on how to use the CUPS LPR instead of the standard LPR, especially for the inkjet. http://www.cups.org/documentation.php/man-lpr.html You should be able to use LPR directly for the HPLJ4 if you don't want CUPS: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing-intro-setup.html From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 22:37:51 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EAE1F16A402 for ; Thu, 8 Mar 2007 22:37:51 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id A462313C428 for ; Thu, 8 Mar 2007 22:37:51 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l28MYr2M028338; Thu, 8 Mar 2007 17:34:53 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l28MYrS8028337; Thu, 8 Mar 2007 17:34:53 -0500 (EST) (envelope-from jerrymc) Date: Thu, 8 Mar 2007 17:34:52 -0500 From: Jerry McAllister To: Mark Messier Message-ID: <20070308223452.GB28274@gizmo.acns.msu.edu> References: <0E290C75-2066-4E59-A2D4-7FBF3A66981B@messier.com> <20070308221957.GA28031@gizmo.acns.msu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070308221957.GA28031@gizmo.acns.msu.edu> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: remote install of 6.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 22:37:52 -0000 On Thu, Mar 08, 2007 at 05:19:57PM -0500, Jerry McAllister wrote: > On Thu, Mar 08, 2007 at 01:50:27PM -0800, Mark Messier wrote: > > > I have a remote machine running 4.8-p21. The system has two disks in > > it, but only one is used on a daily basis (the other is filled via dd > > every now and then). > > > > I want to get this remote machine running 6.2, so I figured I'ld > > install the new OS on the second disk, then boot off the second disk, > > leaving the original first disk with all the user data on it (plus as > > a way to back out). > > > > When I try to use /stand/sysinstall for this it seg-faults > > early in the installation, but after the "Commit" step. > > > > I figure this is because the install process has changed a bit > > since 4.8. > > > > Is there a way to fix this and/or what is the best way to achieve > > my goal... which is: install 6.2 on a remote system without hammering > > the current system disk? > > Are you using an install CD? > Use that to boot the machine - download the ISO and burn it if needed > or buy one. > > Boot it up and do the install to the second disk. > I know you can make it work from another disk if you unmount > the second one and do things just right. But, it is easier > to just make the CD and do the install on the second disk. Ahhh, I overlooked the part about being a remote install. Well, if you can get someone to stick in a CD and then take it out when it comes time for reboot, that would still be the easier way. Otherwise someone is going to have to take some time and think about what the problem is. It is true that /stand/sysinstall has changed since 4.x. I am not sure just how much it would mangle things to use the old one. ////jerry > > ////jerry > > > > > Thanks, > > -mark > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 22:50:14 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7C16A16A403 for ; Thu, 8 Mar 2007 22:50:14 +0000 (UTC) (envelope-from cryx-freebsd@h3q.com) Received: from mail.h3q.com (mail.h3q.com [217.13.206.148]) by mx1.freebsd.org (Postfix) with ESMTP id C563513C471 for ; Thu, 8 Mar 2007 22:50:13 +0000 (UTC) (envelope-from cryx-freebsd@h3q.com) Received: (qmail 69649 invoked from network); 8 Mar 2007 22:50:12 -0000 Received: from unknown (HELO ?192.168.23.150?) (smtpsend@85.179.43.128) by mail.h3q.com with AES256-SHA encrypted SMTP; 8 Mar 2007 22:50:12 -0000 Message-ID: <45F09322.5010703@h3q.com> Date: Thu, 08 Mar 2007 23:50:10 +0100 From: Philipp Wuensche User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: Mark Messier References: <0E290C75-2066-4E59-A2D4-7FBF3A66981B@messier.com> In-Reply-To: <0E290C75-2066-4E59-A2D4-7FBF3A66981B@messier.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: remote install of 6.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 22:50:14 -0000 Mark Messier wrote: > I have a remote machine running 4.8-p21. The system has two disks in > it, but only one is used on a daily basis (the other is filled via dd > every now and then). > > I want to get this remote machine running 6.2, so I figured I'ld > install the new OS on the second disk, then boot off the second disk, > leaving the original first disk with all the user data on it (plus as > a way to back out). > > When I try to use /stand/sysinstall for this it seg-faults > early in the installation, but after the "Commit" step. You could try to mount a 6.2 iso-file and use the sysinstall from there, if that does not work due to library dependencies you could partition the disk by hand using fdisk and disklabel (or do that with the 4.8 sysinstall). After mounting the new disk to /mnt etc. you can extract the kernel and userland using the install.sh script you will find at the set directories in ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/6.2-RELEASE/. I think you only need base and a kernel. Only drawback is you will not be able to use UFS2 I guess, because the 4.8 newfs doesn't know about that. But maybe someone has a solution to that. You could also use qemu to prepare a freebsd6 system and use dd to write it onto the second disk. greetings, philipp From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 22:53:15 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D6FA616A401 for ; Thu, 8 Mar 2007 22:53:15 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id 818AF13C461 for ; Thu, 8 Mar 2007 22:53:15 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from archangel.daleco.biz ([69.27.149.254]) by ezekiel.daleco.biz (8.13.4/8.13.1) with ESMTP id l28MrDqB038715; Thu, 8 Mar 2007 16:53:13 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <45F093D3.80506@daleco.biz> Date: Thu, 08 Mar 2007 16:53:07 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2pre) Gecko/20070221 SeaMonkey/1.1 MIME-Version: 1.0 To: Andy Kendall References: <001201c761c5$24b96590$4a074c0a@andypc2> In-Reply-To: <001201c761c5$24b96590$4a074c0a@andypc2> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Network Printing recommendations please X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 22:53:15 -0000 Andy Kendall wrote: > I've just built my 6v2 box and all is going well so far. I've read the > manual and understand LPD and directly attached printers. The manual however > is pretty minimal when it comes to network-based printers, (netprint), and > only mentions LPRng and CUPS on a single page briefly. I understand this; > it's probably because they're not direct FreeBSD products but this doesn't > help a newb-to-FreeBSD like me. I only want to build the foundation system > once, so, any recommendations please on what to install/configure? (Hope > this doesn't start a bikeshed). > > It's a single user system, for my own education (and enjoyment?) so it'll > almost certainly never print any graphics or host complicated databases, > etc. It's only got 512Mb RAM and a 10Gb HD so I don't have a huge resource > available. > > The printers I have are a bullet-proof classic/HPLJ4 with internal JetDirect > card, and a new HPDeskjet 6980 (colour inkjet). > I'll counter the "so far" flow by suggesting you take a look at apsfilter. I thought CUPS was a bit daunting looking for me as a "newb", and picked apsfilter instead. Can't say I've never had printing issues, but usually it was a matter of PEBKAC rather than the software's fault. It's in ports (/usr/ports/print/apsfilter), and the project site is apsfilter.org --- which sings a number of praises, including MP3, Ogg Vorbis and .WAV support (heh, yes, you're reading that correctly). I imagine the drivers will have no problem with the old HP, but I'd check on the new one before committing. Chances are it can be tweaked, but I've found that some of the "really cheapo" HP's don't have support in hpijs/gs ... if you can find that CUPS will support the printer and apsfilter won't, don't use it. But Linuxprinting.org seems to indicate that the 6980 is supposed by the hpijs driver (at least for basic color printing of average documents). > Unless someone can come up with a good reason to use X-Windows I don't know > if I want to install it so that counts out LPRng? > > Apologies if this is the wrong forum or invalid posting, please advise. > > Many thanks > > Andy. (newbness embodied) Kevin Kinsey -- All my life I wanted to be someone; I guess I should have been more specific. -- Jane Wagner From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 22:54:05 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5815E16A481 for ; Thu, 8 Mar 2007 22:54:05 +0000 (UTC) (envelope-from s.moyzis@sbcglobal.net) Received: from smtp106.sbc.mail.mud.yahoo.com (smtp106.sbc.mail.mud.yahoo.com [68.142.198.205]) by mx1.freebsd.org (Postfix) with SMTP id 1B09213C467 for ; Thu, 8 Mar 2007 22:54:05 +0000 (UTC) (envelope-from s.moyzis@sbcglobal.net) Received: (qmail 85139 invoked from network); 8 Mar 2007 22:54:04 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Received:X-YMail-OSG:Message-ID:From:To:Subject:Date:Organization:MIME-Version:Content-Type:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE; b=eNcuI8SZ78VVwuKWzfWLVtDK/VziJbefp5r3Y/PykyXMnbOVabzOCYORKe1b9EX/x7G9jKJceoXg/d5ZU1fWyHMVvDkRsSPtIkAI81ntdURBjS61FZ0gAbX/z3rXX0HQY2FJ1b7hz4ixIsB4BoIkGiqnFn29wmzC5ADwWMzj9mY= ; Received: from unknown (HELO DJ2KXR91) (s.moyzis@sbcglobal.net@68.253.129.201 with login) by smtp106.sbc.mail.mud.yahoo.com with SMTP; 8 Mar 2007 22:54:04 -0000 X-YMail-OSG: nZ46zt4VM1kpp8RXUXe2Y8HwCDqnZ6oJngMaavQuCmoJ22Rv0SW.75ynFN5f5nrup6nXIkbh0.DSUzw9oQU0mp2N9TRVR3kbKIsnV7pCHjTZuNPT5rL2iaG3BWrDHpQXVWIl1EdNAp4UtCk- Message-ID: <001301c761d4$aa555ab0$c981fd44@DJ2KXR91> From: "s.moyzis" To: "Questions@FreeBSD" Date: Thu, 8 Mar 2007 16:54:01 -0600 Organization: BPW Consulting MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Probs installing FreeBSD 6.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 22:54:05 -0000 Well, everyone, I've decided to put FreeBSD on the back burner = indefinetly, until I can get a dedicated box. No matter what I try, it won't boot from the Disk1 ISO image (BIOS IS = configured). Won't boot from the boot disk either. Maybe I'll go back = and try a re-install of Windows NT 4.0, at least THAT worked, 'up to a = point'.... My thanks to everyone for their help and support, I really = appreciate it. Thanks, Steve "The only secure computer is one that's unplugged, locked in a safe, and buried 20 feet under the ground in a secret location... and I'm not even too sure about that one" From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 22:54:57 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9F52116A400 for ; Thu, 8 Mar 2007 22:54:57 +0000 (UTC) (envelope-from njt@ayvali.org) Received: from starfish.geekisp.com (mail.geekisp.com [216.168.135.169]) by mx1.freebsd.org (Postfix) with ESMTP id 362F113C4B3 for ; Thu, 8 Mar 2007 22:54:57 +0000 (UTC) (envelope-from njt@ayvali.org) Received: (qmail 29698 invoked by uid 1003); 8 Mar 2007 22:28:15 -0000 Received: from clam.int.geekisp.com (HELO clam.geekisp.com) (192.168.4.38) by mail.geekisp.com with (DHE-RSA-AES256-SHA encrypted) SMTP; 8 Mar 2007 22:28:15 -0000 Received: from clam.geekisp.com (njt@localhost.geekisp.com [127.0.0.1]) by clam.geekisp.com (8.13.8/8.12.11) with ESMTP id l28MSF3v010961 for ; Thu, 8 Mar 2007 17:28:15 -0500 (EST) Received: (from njt@localhost) by clam.geekisp.com (8.13.8/8.13.3/Submit) id l28MSELZ011299 for freebsd-questions@freebsd.org; Thu, 8 Mar 2007 17:28:14 -0500 (EST) X-Authentication-Warning: clam.geekisp.com: njt set sender to njt@ayvali.org using -f Date: Thu, 8 Mar 2007 17:28:14 -0500 From: "N.J. Thomas" To: freebsd-questions@freebsd.org Message-ID: <20070308222813.GF1642@ayvali.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Subject: "ifconfig up" hanging on 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 22:54:57 -0000 We have some Dell PowerEdge 1950 1u rack servers with GigE NICs on them running FreeBSD 6.1. The NICs are connected to a Cisco 24 port 10/100 switch. The interfaces are down when the programs that are running on them are dormant, and whenever they receive a job, they bring the interface up. (The other NIC is always up, which is how the servers receive new job notifications.) A couple of times per day (about every hour or so on average), the server receives a job, brings up the interface, and starts processing. The thing is that occasionally, about 10% of the time, bringing up the interface doesn't seem to do anything. It's as if the network is still down. So we have to go any manually bring it up again for it to work. We assumed that it was an auto-negotiation problem with the GigE card and the switch, so we forced everything to 100Mbit, but it still occurs. What could be the problem? thanks, Thomas From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 22:59:52 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BC88A16A400 for ; Thu, 8 Mar 2007 22:59:52 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id 62D2113C494 for ; Thu, 8 Mar 2007 22:59:52 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from archangel.daleco.biz ([69.27.149.254]) by ezekiel.daleco.biz (8.13.4/8.13.1) with ESMTP id l28Mxmes038767; Thu, 8 Mar 2007 16:59:49 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <45F0955E.9040209@daleco.biz> Date: Thu, 08 Mar 2007 16:59:42 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2pre) Gecko/20070221 SeaMonkey/1.1 MIME-Version: 1.0 To: Andy Kendall References: <001201c761c5$24b96590$4a074c0a@andypc2> In-Reply-To: <001201c761c5$24b96590$4a074c0a@andypc2> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Network Printing recommendations please X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 22:59:52 -0000 Andy Kendall wrote: > I've just built my 6v2 box and all is going well so far. I've read the > manual and understand LPD and directly attached printers. The manual however > is pretty minimal when it comes to network-based printers, (netprint), and > only mentions LPRng and CUPS on a single page briefly. I understand this; > it's probably because they're not direct FreeBSD products but this doesn't > help a newb-to-FreeBSD like me. I only want to build the foundation system > once, so, any recommendations please on what to install/configure? (Hope > this doesn't start a bikeshed). > > It's a single user system, for my own education (and enjoyment?) so it'll > almost certainly never print any graphics or host complicated databases, > etc. It's only got 512Mb RAM and a 10Gb HD so I don't have a huge resource > available. > > The printers I have are a bullet-proof classic/HPLJ4 with internal JetDirect > card, and a new HPDeskjet 6980 (colour inkjet). > I'll counter the "so far" flow by suggesting you take a look at apsfilter. I thought CUPS looked a tad daunting as a "newb", and picked apsfilter instead. Can't say I've never had printing issues, but usually it was a matter of PEBKAC rather than the software's fault. It's in ports (/usr/ports/print/apsfilter), and the project site is apsfilter.org --- which sings a number of praises, including MP3, Ogg Vorbis and .WAV support (heh, yes, you're reading that correctly). I imagine the drivers will have no problem with the old HP, but I've found that some of the "really cheapo" HP's don't have support in hpijs/gs ... if you can find that CUPS will support the printer and apsfilter won't, use CUPS instead. But Linuxprinting.org seems to indicate that the 6980 is supposed by the hpijs driver (at least for basic color printing of average documents). > Unless someone can come up with a good reason to use X-Windows I don't know > if I want to install it so that counts out LPRng? > Well, many games and all of that, err, so-called important *content* doesn't look as good in Lynx. Apart from that, you can live and do many kinds of Actual Work quite happily without X :-D Come to think of it, maybe X isn't such a great idea, heh .... > Apologies if this is the wrong forum or invalid posting, please advise. > > Many thanks > > Andy. (newbness embodied) Err, can't I have my body back, then? Kevin Kinsey -- All my life I wanted to be someone; I guess I should have been more specific. -- Jane Wagner From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 00:45:07 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4C10B16A401 for ; Fri, 9 Mar 2007 00:45:07 +0000 (UTC) (envelope-from cptsalek@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.236]) by mx1.freebsd.org (Postfix) with ESMTP id 0E4BB13C47E for ; Fri, 9 Mar 2007 00:45:06 +0000 (UTC) (envelope-from cptsalek@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so635812wxc for ; Thu, 08 Mar 2007 16:45:06 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=am3j8pA7puEQcSSKwMY1XHTn2tpx1T2uBoSMIThrMQqQ4mpUVy7g3IkrP0vBDANgMNp3Wj2H10EV+6LLKrymK29s+tOfkFLHU9TRMze2ztjMxOSqxu29Z/7LEXykrsJU6OIWJT9BK+8wnz5BQVFW/DhjR6v8W32PRbDJl9uhq04= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=UNd5wSBBg7TaNsHbn98Yk9RzE/DDgQPeU0kADksSdyYhrqx4HRXYjn1ZOdnDaICZEDVVDAofR7UJjWP4Q5PaTW9vFmlf6Ybob9UB+6QC0ZZ94fgpsDzJhCWHtrRocXAK37TQQ4mYMl2CwM1LQZmLOknk3uF0rHmgb5yXpZp86jE= Received: by 10.70.40.1 with SMTP id n1mr1919951wxn.1173401106501; Thu, 08 Mar 2007 16:45:06 -0800 (PST) Received: by 10.70.39.18 with HTTP; Thu, 8 Mar 2007 16:45:06 -0800 (PST) Message-ID: <14989d6e0703081645q9b555b5i26cca0557590e9cd@mail.gmail.com> Date: Fri, 9 Mar 2007 00:45:06 +0000 From: "Christian Walther" To: "White Hat" In-Reply-To: <989294.46444.qm@web34411.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <989294.46444.qm@web34411.mail.mud.yahoo.com> Cc: FreeBSD Users Questions Subject: Re: DEFAULT CFLAGS SETTING X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 00:45:07 -0000 On 08/03/07, White Hat wrote: > What is the default CFLAGS setting in FBSD-6.2 and would it improve performance any to set > > CFLAGS=Os > > as opposed to the default setting? > CFLAGS can be defined in /etc/make.conf My CFLAGS is set to -O2 -pipe. You might want to take a look at CPUTYPE, too. This can be set to match your CPU type, which means you'll get the most of it. You can find some examples in /usr/share/examples/etc/make.conf HTH Christian From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 02:05:29 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DF76F16A402 for ; Fri, 9 Mar 2007 02:05:29 +0000 (UTC) (envelope-from paulette_mcgee@yahoo.com) Received: from web62301.mail.re1.yahoo.com (web62301.mail.re1.yahoo.com [69.147.75.15]) by mx1.freebsd.org (Postfix) with SMTP id 959E213C46B for ; Fri, 9 Mar 2007 02:05:29 +0000 (UTC) (envelope-from paulette_mcgee@yahoo.com) Received: (qmail 28224 invoked by uid 60001); 9 Mar 2007 02:05:25 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=r0Tbh6+RRdfSa5ii4ADh0qFmvy+tn8Ml4CpEkG9PIfv7L/IQ87kAUFy0q5/pGdPHPYwGsvJZsT7TDbTWpsCho9teZpqARZYAc50lRVgTHg4wzF8kYwyNE5Ux/6gUftHJ64BjnTM99oAAHLaMF7+1RajIiJ0lKDT6+Eia+ktmJII=; X-YMail-OSG: pmtg1U8VM1ndzuZYQMWBoivwA9FqKmRRKh9ymQK5fLLLBDpMtzrsbxRWU.Zo2jcq.fdFdwwgulUvsG03iMqi5LO0WSMPvSXtgUlarCP4hoGFS8pOSywOxdq__L38GbE- Received: from [68.164.15.239] by web62301.mail.re1.yahoo.com via HTTP; Thu, 08 Mar 2007 18:05:25 PST Date: Thu, 8 Mar 2007 18:05:25 -0800 (PST) From: Paulette McGee To: "s.moyzis" , "Questions@FreeBSD" In-Reply-To: <001301c761d4$aa555ab0$c981fd44@DJ2KXR91> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <35065.26545.qm@web62301.mail.re1.yahoo.com> Cc: Subject: Re: Probs installing FreeBSD 6.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 02:05:30 -0000 --- "s.moyzis" wrote: > Well, everyone, I've decided to put FreeBSD on the > back burner indefinetly, until I can get a dedicated > box. > No matter what I try, it won't boot from the Disk1 > ISO image (BIOS IS configured). Won't boot from the > boot disk either. Maybe I'll go back and try a > re-install of Windows NT 4.0, at least THAT worked, > 'up to a point'.... My thanks to everyone for their > help and support, I really appreciate it. Thanks, > > Steve > > > "The only secure computer is one that's unplugged, > locked in a safe, and buried 20 feet under the > ground > in a secret location... and I'm not even too sure > about > that one" > _______________________________________________ > 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" > Got one final question Steve. What kind of motherboard is being used in your machine? Well, how about one more question: can you provide the make / model number of the board? Just curious. Regards, Paulette McGee ____________________________________________________________________________________ 8:00? 8:25? 8:40? Find a flick in no time with the Yahoo! Search movie showtime shortcut. http://tools.search.yahoo.com/shortcuts/#news From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 02:19:31 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1A0B916A400 for ; Fri, 9 Mar 2007 02:19:31 +0000 (UTC) (envelope-from t.bellus@inode.at) Received: from mailbackup.inode.at (mailbackup.inode.at [213.229.60.24]) by mx1.freebsd.org (Postfix) with ESMTP id 97D4213C481 for ; Fri, 9 Mar 2007 02:19:30 +0000 (UTC) (envelope-from t.bellus@inode.at) Received: from [62.99.145.8] (port=35309 helo=mx.inode.at) by mailbackup.inode.at with esmtp (Exim 4.62) (envelope-from ) id 1HPKqb-0002wA-UB for freebsd-questions@freebsd.org; Thu, 08 Mar 2007 16:48:05 +0100 Received: from [85.127.190.207] (port=11714 helo=TomLaptop) by smartmx-08.inode.at with esmtp (Exim 4.50) id 1HPKpT-0004aj-Uw for freebsd-questions@freebsd.org; Thu, 08 Mar 2007 16:46:56 +0100 From: "Thomas H. Bellus" To: Date: Thu, 8 Mar 2007 16:46:49 +0100 MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 thread-index: AcdhmPdQx2B2pczRQdiXukF5LimtcA== Message-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Install Freebsd 5.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, 09 Mar 2007 02:19:31 -0000 I have not been able to see the screens for configuring X for my monitor or video card. I have ver 5.4, I have used both the standard install and the custom install. I have used the most recent install documents on the internet and I have a copy of Complete BSD by Greg Lehey. I am new to BSD but I want to get this install to work. I can not get anytype of graphical interface. Thanks, Thomas H Bellus From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 02:20:27 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F30AF16A403 for ; Fri, 9 Mar 2007 02:20:27 +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 C042613C4A3 for ; Fri, 9 Mar 2007 02:20:27 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.13.8/8.13.8) with ESMTP id l292KQlk023101; Thu, 8 Mar 2007 19:20:26 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.13.8/8.13.8/Submit) with ESMTP id l292KQZe023098; Thu, 8 Mar 2007 19:20:26 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Thu, 8 Mar 2007 19:20:26 -0700 (MST) From: Warren Block To: Andy Kendall In-Reply-To: <001701c761c8$a448b3d0$4a074c0a@andypc2> Message-ID: <20070308190435.F23024@wonkity.com> References: <001701c761c8$a448b3d0$4a074c0a@andypc2> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (wonkity.com [127.0.0.1]); Thu, 08 Mar 2007 19:20:27 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: Network Printing recommendations please X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 02:20:28 -0000 On Thu, 8 Mar 2007, Andy Kendall wrote: > I've just built my 6v2 box and all is going well so far. I've read the > manual and understand LPD and directly attached printers. The manual however > is pretty minimal when it comes to network-based printers, (netprint), and > only mentions LPRng and CUPS on a single page briefly. I understand this; > it's probably because they're not direct FreeBSD products but this doesn't > help a newb-to-FreeBSD like me. I only want to build the foundation system > once, so, any recommendations please on what to install/configure? (Hope > this doesn't start a bikeshed). lpd is in the base system and works fine. There are numerous filter packages that can be used with it, although setting up Ghostscript directly isn't too bad either. > It's a single user system, for my own education (and enjoyment?) so it'll > almost certainly never print any graphics or host complicated databases, > etc. It's only got 512Mb RAM and a 10Gb HD so I don't have a huge resource > available. The hard drive might be a little tight, but 512M of RAM is plenty. > The printers I have are a bullet-proof classic/HPLJ4 with internal JetDirect > card, This will work fine. The Handbook shows how to set up Ghostscript so you can treat the printer as if it understood PostScript directly. Many Unix applications produce PS output, so this is generally nice. > and a new HPDeskjet 6980 (colour inkjet). linuxprinting.org says that should work also. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 03:21:01 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0CC6B16A402 for ; Fri, 9 Mar 2007 03:21:01 +0000 (UTC) (envelope-from jvender@owensboro.net) Received: from zoot.cinergycom.net (zoot.cinergycom.net [216.135.3.11]) by mx1.freebsd.org (Postfix) with ESMTP id DFA7B13C481 for ; Fri, 9 Mar 2007 03:21:00 +0000 (UTC) (envelope-from jvender@owensboro.net) Received: from kntpin04-nas-03-s453.cinergycom.net ([216.135.27.199]) by zoot.cinergycom.net with esmtpa (Exim 4.52) id 1HPVf9-0000VI-E8 for freebsd-questions@freebsd.org; Thu, 08 Mar 2007 21:21:00 -0600 From: Joe Vender To: freebsd-questions@freebsd.org Date: Thu, 8 Mar 2007 21:19:27 -0600 User-Agent: KMail/1.9.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703082119.28781.jvender@owensboro.net> X-CCC-Authenticated: jvender@owensboro.net zoot.cinergycom.net 216.135.27.199 20070309032100Z 379a725c0d9b4e9ae8c6ba32f3967a11 X-CCC-Cleanmail-Virus-Signature: 823c0b45f82badd57bc0bae75a2fd195 Subject: Using gpg-agent on freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 03:21:01 -0000 I'm using FreeBSD 6.2 I've been tinkering with using gpg-agent for GnuPG passphrase caching when using Kmail. I have been able to get it working as per the instructions at http://freebsd.kde.org/howtos/gnupg-kmail.php for starting the daemon when entering KDE. But, I want to start gpg-agent when the sytem starts and I login to console mode (not just when I enter KDE), and I want Kmail to use the agent for GnuPG usage. Could someone please describe to me the details of the steps that I need to take and the file modifications that I need to make for this to work. Again, I want the gpg-agent to be up and running when I login to the console, also when I log into KDE, I want Kmail to use the agent. The way I log into KDE is to first login to the console via a limited user account, then do sudo kdm and log into KDE using the same limited user account. I have root login disabled for both console and KDE. I've read the instructions for using a ~/.xinitrc or ~/.xsession to start the gpg-agent daemon when logging into kde, but I have neither file in my home directory, and anyway want the daemon running upon entering console mode login, i.e., running always and only one gpg-agent process running at any given time. Please CC my email address with any responses. Thanks very much for suggestions. FreeBSD rocks! Joe Vender From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 03:51:10 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 453C916A401 for ; Fri, 9 Mar 2007 03:51:10 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.freebsd.org (Postfix) with ESMTP id 1C2C313C428 for ; Fri, 9 Mar 2007 03:51:10 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from [172.23.10.40] (nat-service4.juniper.net [66.129.225.151]) (authenticated bits=0) by typhoon.enabled.com (8.14.0/8.14.0) with ESMTP id l293p7Lg092435 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 8 Mar 2007 19:51:07 -0800 (PST) (envelope-from admin2@enabled.com) Message-ID: <45F0D9A7.8000201@enabled.com> Date: Thu, 08 Mar 2007 19:51:03 -0800 From: Noah User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: User Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: syncing user passwd information between servers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 03:51:10 -0000 Hi, I am trying to figure out the Best admininstrative way to do the following: We have two FreeBSD 6.2 servers and want to keep the passwd files in sync so all the same users can log into each machine, their UID's match, and when the update the password on one machine the other machine gets the password. When we add the user to one machine then the other machine has an additional user too. What is the best scheme that we can devise to get this working technically well? Cheers, Noah From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 04:13:32 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D774716A402 for ; Fri, 9 Mar 2007 04:13:32 +0000 (UTC) (envelope-from jahilliya@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.225]) by mx1.freebsd.org (Postfix) with ESMTP id 805E413C46B for ; Fri, 9 Mar 2007 04:13:32 +0000 (UTC) (envelope-from jahilliya@gmail.com) Received: by wr-out-0506.google.com with SMTP id 71so1151807wri for ; Thu, 08 Mar 2007 20:13:32 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=RNBLPgkft4CVfpXR0nev7nA5gY5qMgPmkGFdNisopMkNPDNATTT+xacU+/3V23eTO3NiFXa2qLFn258p1GA8yalj+JGqN7KQ0cNTUe7BHrLY+OpO0nGERJrL1yuGMnPmyMFRvhEv5FZFF8jdrnxWjjSZX9XCx2YWyFHSjs4JS3g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=D6NpFfgFemhZq3LUIhGScren0Uj5Lh+0CDoyxATAd7581otRghGM/YIk2rRArknVNPr5X3OJBzt+7Nq2ZAptzYjhJBwifVGBfYjMJGDZZZMiFhmCKht+lM6BDd+VFX+MKgakCivCs7/HxGSUkgh6EPaEeJUQZapVUzrSAVXHSBE= Received: by 10.65.213.4 with SMTP id p4mr1925592qbq.1173413611716; Thu, 08 Mar 2007 20:13:31 -0800 (PST) Received: by 10.65.230.10 with HTTP; Thu, 8 Mar 2007 20:13:31 -0800 (PST) Message-ID: Date: Fri, 9 Mar 2007 13:13:31 +0900 From: "Daniel Marsh" To: Noah In-Reply-To: <45F0D9A7.8000201@enabled.com> MIME-Version: 1.0 References: <45F0D9A7.8000201@enabled.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: User Questions Subject: Re: syncing user passwd information between servers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 04:13:32 -0000 On 3/9/07, Noah wrote: > > Hi, > > I am trying to figure out the Best admininstrative way to do the > following: > > We have two FreeBSD 6.2 servers and want to keep the passwd files in > sync so all the same users can log into each machine, their UID's match, > and when the update the password on one machine the other machine gets > the password. When we add the user to one machine then the other > machine has an additional user too. > > What is the best scheme that we can devise to get this working > technically well? > > Cheers, > A couple of things can be done... The first, and longest existing method would be to use NIS between the two machines where one machine acts as a server, the other as a client to that server, if the server goes down, no-one can login. (I havn't investigated in backup NIS servers as I don't like NIS) The other option would be using LDAP (OpenLDAP), you'll install OpenLDAP on both servers, one will act as a master, the other as a slave, each machine will login against the ldap database running locally. The master ldap will replicate to the slave to keep any user changes in tact and up to date. You'll need to install the pam_ldap and nss_ldap ports and may want to use LDAP Account Manager (runs via PHP on Apache) to manage the user accounts. Another option may be to use a versioning system, one machine has a versioning repository, you import /etc/ into the versioning system (CVS or Subversion), when you make a change on a server to passwd's etc... you commit the change and check it out on the other machine, maybe even making use of merging changes so if two people, one on each machine, change their passwords and they both commit you don't lose one of the password changes. From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 04:25:57 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0BE0416A401 for ; Fri, 9 Mar 2007 04:25:57 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.freebsd.org (Postfix) with ESMTP id D348113C48D for ; Fri, 9 Mar 2007 04:25:56 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from [172.23.10.40] (nat-service4.juniper.net [66.129.225.151]) (authenticated bits=0) by typhoon.enabled.com (8.14.0/8.14.0) with ESMTP id l294Ps1G094675 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 8 Mar 2007 20:25:54 -0800 (PST) (envelope-from admin2@enabled.com) Message-ID: <45F0E1CD.1060608@enabled.com> Date: Thu, 08 Mar 2007 20:25:49 -0800 From: Noah User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: Daniel Marsh References: <45F0D9A7.8000201@enabled.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: User Questions Subject: Re: syncing user passwd information between servers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 04:25:57 -0000 see more questions below? Daniel Marsh wrote: > On 3/9/07, Noah wrote: >> >> Hi, >> >> I am trying to figure out the Best admininstrative way to do the >> following: >> >> We have two FreeBSD 6.2 servers and want to keep the passwd files in >> sync so all the same users can log into each machine, their UID's match, >> and when the update the password on one machine the other machine gets >> the password. When we add the user to one machine then the other >> machine has an additional user too. >> >> What is the best scheme that we can devise to get this working >> technically well? >> >> Cheers, >> > > A couple of things can be done... > The first, and longest existing method would be to use NIS between the two > machines where one machine acts as a server, the other as a client to that > server, if the server goes down, no-one can login. (I havn't > investigated in > backup NIS servers as I don't like NIS) > yeah NIS does not feel like the right direction > The other option would be using LDAP (OpenLDAP), you'll install OpenLDAP on > both servers, one will act as a master, the other as a slave, each machine > will login against the ldap database running locally. > The master ldap will replicate to the slave to keep any user changes in > tact > and up to date. > You'll need to install the pam_ldap and nss_ldap ports and may want to use > LDAP Account Manager (runs via PHP on Apache) to manage the user accounts. so the users would not be locked out of the second server if the master LDAP server goes down, right? cheers, Noah > > Another option may be to use a versioning system, one machine has a > versioning repository, you import /etc/ into the versioning system (CVS or > Subversion), when you make a change on a server to passwd's etc... you > commit the change and check it out on the other machine, maybe even making > use of merging changes so if two people, one on each machine, change their > passwords and they both commit you don't lose one of the password changes. > _______________________________________________ > 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 Mar 9 04:43:40 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7BBDE16A401 for ; Fri, 9 Mar 2007 04:43:40 +0000 (UTC) (envelope-from mailinglists@tca-cable-connector.com) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by mx1.freebsd.org (Postfix) with ESMTP id EB1EF13C467 for ; Fri, 9 Mar 2007 04:43:39 +0000 (UTC) (envelope-from mailinglists@tca-cable-connector.com) Received: from [218.16.58.208] (helo=munin.tcaportal.com) by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis), id 0ML2xA-1HPWx71NAF-0000wU; Fri, 09 Mar 2007 05:43:38 +0100 Received: from [10.0.1.102] (bofh.tcaportal.com [10.0.1.102]) by munin.tcaportal.com (Postfix) with ESMTP id 5406CA6C64 for ; Fri, 9 Mar 2007 12:40:58 +0800 (HKT) Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: <9252DE43-AF5C-4E0A-AFB7-B04965C3BC34@tca-cable-connector.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: FreeBSD Questions From: David Schulz Date: Fri, 9 Mar 2007 12:43:31 +0800 X-Mailer: Apple Mail (2.752.3) X-Provags-ID: kundenserver.de abuse@kundenserver.de login:1405312fe15d228f5bad0d2fcbb6dc17 X-Provags-ID2: V01U2FsdGVkX19UQ1s5fHYzW1cSGfpWvtXg8OTE6zQ6BWAErqI Id2jT1ML7rrTfuQEX+h/pbVYoxugNnPME+kGHF/uY3LO40OUiI nhuVipAjKIeJavi9wsLtw== Cc: Subject: How to make php5 with prcre7 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 04:43:40 -0000 Hello all, Just `make install clean` on php5 port makes php5 use the pcre library 6.7 . On my System, i also have 7.0. How can i make php use pcre7.0 instead of 6.7? Thanks a lot, David From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 04:52:04 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1386F16A402 for ; Fri, 9 Mar 2007 04:52:04 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by mx1.freebsd.org (Postfix) with ESMTP id E46C913C4A6 for ; Fri, 9 Mar 2007 04:52:03 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout4.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l294q3Jt001286 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 8 Mar 2007 20:52:03 -0800 X-Auth-Received: from [192.168.10.41] (c-67-187-172-183.hsd1.ca.comcast.net [67.187.172.183]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l294q2ee002466 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 8 Mar 2007 20:52:02 -0800 Message-ID: <45F0E7EC.1040309@u.washington.edu> Date: Thu, 08 Mar 2007 20:51:56 -0800 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.9 (X11/20070122) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.0.289146, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.3.8.203934 X-Uwash-Spam: Gauge=IIIIIIII, Probability=8%, Report='LEO_OBFU_SUBJ_RE 0.1, SUPERLONG_LINE 0.05, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 04:52:04 -0000 Well, if the problem is with Zope, then why is the env variable not set after reboot? The problem, therefore, is not with Zope, but rather with setting the variable. Drew2 Jerry McAllister wrote: On Thu, Mar 08, 2007 at 01:07:10PM -0800, Drew Jenkins wrote: > #!/bin/sh > > if [ -n "$LD_LIBRARY_PATH" ] ; then > export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/lib/mysql" > echo "Exporting LD_LIBRARY_PATH to /usr/local/lib/mysql because -n '$LD_LIBRARY_PATH' held true." >> /var/log/zz_mysql_start.log > else > export LD_LIBRARY_PATH="/usr/local/lib/mysql" > echo "Exporting LD_LIBRARY_PATH to /usr/local/lib/mysql, -n '$LD_LIBRARY_PATH' did not hold true." >> /var/log/zz_mysql_start.log > fi > > cd /usr/local/zope/ > > if ./instance1/bin/zopectl stop ; then > echo "Stopping zopectl instance 1." >> /var/log/zz_mysql_start.log > fi > > if ./instance1/bin/zopectl start ; then > echo "Restarting zopectl instance 1." >> /var/log/zz_mysql_start.log > fi > > if ./instance2/bin/zopectl stop ; then > echo "Stopping zopectl instance 2." >> /var/log/zz_mysql_start.log > fi > > if ./instance2/bin/zopectl start ; then > echo "Restarting zopectl instance 2." >> /var/log/zz_mysql_start.log > fi > > > sleep 3 > echo "ending zz_mysql_start.sh at: `date`" >> /var/log/zz_mysql_start.log > echo " " >> /var/log/zz_mysql_start.log > > Exporting LD_LIBRARY_PATH to /usr/local/lib/mysql, -n '/usr/local/lib/mysql' did not hold true. > Stopping zopectl instance 1. > Restarting zopectl instance 1. > Stopping zopectl instance 2. > Restarting zopectl instance 2. > ending zz_mysql_start.sh at: Thu Mar 8 14:57:47 UTC 2007 > > It kicked out that output when I tested it and also when I rebooted the server. However, Zope was still not up. I should qualify that. Zope "appears" to be up, but when I try to access it TTW (the ZMI) I can't reach the site. > TIA, > Drew Sounds like your problem is with Zope somewhere and not the startup script per se - though it could be something missing in the startup. I have never used Zope. ////jerry If the user has a home, why not add it to /etc/profile, or ~/.profile? It's only a problem if it's a daemon user without a home.. that's when stuff gets a bit tricky with the profile setup. -Garrett From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 05:04:53 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 274A416A404 for ; Fri, 9 Mar 2007 05:04:53 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by mx1.freebsd.org (Postfix) with ESMTP id 01A0713C48D for ; Fri, 9 Mar 2007 05:04:52 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.141] (may be forged)) by mxout1.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l2954qDo017555 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 8 Mar 2007 21:04:52 -0800 X-Auth-Received: from [192.168.10.41] (c-67-187-172-183.hsd1.ca.comcast.net [67.187.172.183]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l2954pIP008799 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 8 Mar 2007 21:04:52 -0800 Message-ID: <45F0EAF2.2010303@u.washington.edu> Date: Thu, 08 Mar 2007 21:04:50 -0800 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.9 (X11/20070122) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <989294.46444.qm@web34411.mail.mud.yahoo.com> <14989d6e0703081645q9b555b5i26cca0557590e9cd@mail.gmail.com> In-Reply-To: <14989d6e0703081645q9b555b5i26cca0557590e9cd@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.0.289146, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.3.8.204933 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __RUS_SUBJ_ALL_UCASE_1251 0, __RUS_SUBJ_ALL_UCASE_KOI8R 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: DEFAULT CFLAGS SETTING X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 05:04:53 -0000 Christian Walther wrote: > On 08/03/07, White Hat wrote: >> What is the default CFLAGS setting in FBSD-6.2 and would it improve >> performance any to set >> >> CFLAGS=Os >> >> as opposed to the default setting? >> > CFLAGS can be defined in /etc/make.conf > My CFLAGS is set to -O2 -pipe. You might want to take a look at > CPUTYPE, too. This can be set to match your CPU type, which means > you'll get the most of it. > You can find some examples in /usr/share/examples/etc/make.conf > > HTH > Christian As mentioned when I asked the question a while back, be careful about how you "optimize" freebsd. Adding additional options beyond "-O2 -pipe -fno-strict-aliasing" isn't really supported so much and is discouraged by many on this list (AFAIK) and a lot of people on the hackers@ list (that I do know). Unlike some linux distributions where using CFLAGS and CXXFLAGS are encouraged, it's discouraged here because it generates a lot more variation in having to check through errors, and many times the levels of optimization used my system users is counterproductive to the purpose of optimizing. I was told to add -fno-strict-aliasing, because it's an option to allow some programs and code compile that are improperly developed or use deprecated code / features. From gcc(1): -fstrict-aliasing Allows the compiler to assume the strictest aliasing rules applicable to the language being compiled. For C (and C++), this activates optimizations based on the type of expressions. In particular, an object of one type is assumed never to reside at the same address as an object of a different type, unless the types are almost the same. For example, an "unsigned int" can alias an "int", but not a "void*" or a "double". A character type may alias any other type. Pay special attention to code like this: union a_union { int i; double d; }; int f() { a_union t; t.d = 3.0; return t.i; } The practice of reading from a different union member than the one most recently written to (called ``type-punning'') is common. Even with -fstrict-aliasing, type-punning is allowed, provided the memory is accessed through the union type. So, the code above will work as expected. However, this code might not: int f() { a_union t; int* ip; t.d = 3.0; ip = &t.i; return *ip; } Every language that wishes to perform language-specific alias analysis should define a function that computes, given an "tree" node, an alias set for the node. Nodes in different alias sets are not allowed to alias. For an example, see the C front-end function "c_get_alias_set". Enabled at levels -O2, -O3, -Os. Just provide inverse logic of the above set of statements. Definitely set CPUTYPE though--this will help since it gets passed to gcc as -march=$CPUTYPE. However, since the version of gcc the base system works with isn't bleeding edge it won't support all processor types / optimizations available in later versions of gcc. There is an examples of a make.conf file in /usr/share/etc/make.conf.example. -Garrett From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 05:08:01 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8083716A400 for ; Fri, 9 Mar 2007 05:08:01 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by mx1.freebsd.org (Postfix) with ESMTP id 5B5BC13C4A7 for ; Fri, 9 Mar 2007 05:08:01 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9] (may be forged)) by mxout4.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l295808Z004389 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 8 Mar 2007 21:08:01 -0800 X-Auth-Received: from [192.168.10.41] (c-67-187-172-183.hsd1.ca.comcast.net [67.187.172.183]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l29580Qo005906 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 8 Mar 2007 21:08:00 -0800 Message-ID: <45F0EBAF.2070409@u.washington.edu> Date: Thu, 08 Mar 2007 21:07:59 -0800 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.9 (X11/20070122) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <45F0D9A7.8000201@enabled.com> <45F0E1CD.1060608@enabled.com> In-Reply-To: <45F0E1CD.1060608@enabled.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.0.289146, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.3.8.205934 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: syncing user passwd information between servers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 05:08:01 -0000 Noah wrote: > see more questions below? > > Daniel Marsh wrote: >> On 3/9/07, Noah wrote: >>> >>> Hi, >>> >>> I am trying to figure out the Best admininstrative way to do the >>> following: >>> >>> We have two FreeBSD 6.2 servers and want to keep the passwd files in >>> sync so all the same users can log into each machine, their UID's match, >>> and when the update the password on one machine the other machine gets >>> the password. When we add the user to one machine then the other >>> machine has an additional user too. >>> >>> What is the best scheme that we can devise to get this working >>> technically well? >>> >>> Cheers, >>> >> >> A couple of things can be done... >> The first, and longest existing method would be to use NIS between the >> two >> machines where one machine acts as a server, the other as a client to >> that >> server, if the server goes down, no-one can login. (I havn't >> investigated in >> backup NIS servers as I don't like NIS) >> > > yeah NIS does not feel like the right direction > > >> The other option would be using LDAP (OpenLDAP), you'll install >> OpenLDAP on >> both servers, one will act as a master, the other as a slave, each >> machine >> will login against the ldap database running locally. >> The master ldap will replicate to the slave to keep any user changes >> in tact >> and up to date. >> You'll need to install the pam_ldap and nss_ldap ports and may want to >> use >> LDAP Account Manager (runs via PHP on Apache) to manage the user >> accounts. > > > so the users would not be locked out of the second server if the master > LDAP server goes down, right? > > cheers, > > Noah > > > >> >> Another option may be to use a versioning system, one machine has a >> versioning repository, you import /etc/ into the versioning system >> (CVS or >> Subversion), when you make a change on a server to passwd's etc... you >> commit the change and check it out on the other machine, maybe even >> making >> use of merging changes so if two people, one on each machine, change >> their >> passwords and they both commit you don't lose one of the password >> changes. As was suggested to me about 4-5 months ago (may want to look in the archives), the best means to ensure user account info is synced is to use NIS (for credentials, like users, groups, NIS domain info, etc) and LDAP/Kerberos (authentication, passwords, etc). -Garrett From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 05:10:04 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4144F16A403 for ; Fri, 9 Mar 2007 05:10:04 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by mx1.freebsd.org (Postfix) with ESMTP id 1C61E13C442 for ; Fri, 9 Mar 2007 05:10:04 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.141] (may be forged)) by mxout4.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l295A3Bp004783 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 8 Mar 2007 21:10:03 -0800 X-Auth-Received: from [192.168.10.41] (c-67-187-172-183.hsd1.ca.comcast.net [67.187.172.183]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l295A2QE009093 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 8 Mar 2007 21:10:03 -0800 Message-ID: <45F0EC29.5090604@u.washington.edu> Date: Thu, 08 Mar 2007 21:10:01 -0800 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.9 (X11/20070122) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <35065.26545.qm@web62301.mail.re1.yahoo.com> In-Reply-To: <35065.26545.qm@web62301.mail.re1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.0.289146, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.3.8.205934 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_MEDIA_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: Probs installing FreeBSD 6.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 05:10:04 -0000 Paulette McGee wrote: > --- "s.moyzis" wrote: > >> Well, everyone, I've decided to put FreeBSD on the >> back burner indefinetly, until I can get a dedicated >> box. >> No matter what I try, it won't boot from the Disk1 >> ISO image (BIOS IS configured). Won't boot from the >> boot disk either. Maybe I'll go back and try a >> re-install of Windows NT 4.0, at least THAT worked, >> 'up to a point'.... My thanks to everyone for their >> help and support, I really appreciate it. Thanks, >> >> Steve >> >> >> "The only secure computer is one that's unplugged, >> locked in a safe, and buried 20 feet under the >> ground >> in a secret location... and I'm not even too sure >> about >> that one" > > Got one final question Steve. What kind of motherboard > is being used in your machine? Well, how about one > more question: can you provide the make / model number > of the board? Just curious. > > Regards, > Paulette McGee When's the last time you've updated your BIOS? Your board may not support Unices properly without an update, or at all. My assumption's based on what you said about NT 4.0.. that hasn't really been in use since like '96~'98, has it =\? -Garrett From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 05:22:02 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D250F16A402 for ; Fri, 9 Mar 2007 05:22:02 +0000 (UTC) (envelope-from jvender@owensboro.net) Received: from zoot.cinergycom.net (zoot.cinergycom.net [216.135.3.11]) by mx1.freebsd.org (Postfix) with ESMTP id ADE1713C461 for ; Fri, 9 Mar 2007 05:22:02 +0000 (UTC) (envelope-from jvender@owensboro.net) Received: from kntpin04-nas-03-s156.cinergycom.net ([216.135.25.156]) by zoot.cinergycom.net with esmtpa (Exim 4.52) id 1HPXYH-0005T8-N5 for freebsd-questions@freebsd.org; Thu, 08 Mar 2007 23:22:02 -0600 From: Joe Vender To: freebsd-questions@freebsd.org Date: Thu, 8 Mar 2007 23:20:20 -0600 User-Agent: KMail/1.9.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703082320.21976.jvender@owensboro.net> X-CCC-Authenticated: jvender@owensboro.net zoot.cinergycom.net 216.135.25.156 20070309052202Z 03a3b474b9d763b3faf4ef1a7696087d X-CCC-Cleanmail-Virus-Signature: 7bfff2d8c033942a2ce9b5c8dd43cab2 Subject: Re: Using gpg-agent on freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 05:22:02 -0000 Disregard my previous request for instructions. I've figured out how to get it to work. I simply added the gpg-agent initiation command to the system-wide /etc/profile file. It works as expected. Joe From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 06:51:06 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0C27816A400 for ; Fri, 9 Mar 2007 06:51:06 +0000 (UTC) (envelope-from zbyszek@szalbot.homedns.org) Received: from lists.lc-words.com (lists.lc-words.com [83.19.156.210]) by mx1.freebsd.org (Postfix) with ESMTP id A9C8D13C478 for ; Fri, 9 Mar 2007 06:51:05 +0000 (UTC) (envelope-from zbyszek@szalbot.homedns.org) Received: from localhost.168.11.51 ([::1] helo=lists.lc-words.com) by lists.lc-words.com with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1HPYxc-000BCH-7z; Fri, 09 Mar 2007 07:52:16 +0100 Received: from 192.168.11.11 (SquirrelMail authenticated user zbyszek@szalbot.homedns.org) by lists.lc-words.com with HTTP; Fri, 9 Mar 2007 07:52:16 +0100 (CET) Message-ID: <4175.192.168.11.11.1173423136.squirrel@lists.lc-words.com> Date: Fri, 9 Mar 2007 07:52:16 +0100 (CET) From: "Zbigniew Szalbot" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.5.1 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit Subject: java process logs wrong 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: Fri, 09 Mar 2007 06:51:06 -0000 Hello, I am using 6.2 version with a custom kernel config. Another machine uses 6.1 also with custom kernel. On both of the machines there is java installed. java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0-b01) Java HotSpot(TM) Client VM (build diablo-1.5.0_07-b01, mixed mode) We have a program written in java and this program logs its operation to a log file. It alwasy logs the correct hour when it does its work. Yesterday I had to restart the program on 6.1 machine and noticed that the entries in log file are now one hour behind. So I restarted the same java api on the 6.2 machine and it did the same thing - it put the log entries as 7 a.m. when it actually was 8 a.m. (so java is one our behind the system time but the program uses system date and time). On both of the machines the system time is CET: $ date Fri Mar 9 07:46:22 CET 2007 And on both of them we use 161 ?? IWs 0:00.00 adjkerntz -i Up to when I had to restart java processes, the logging was always consistent with the system time on both machines. Now it is not. Can you give me any advice how to troubleshoot it? A thing to mention is that there were no changes to the java api in the meantime. As for the systems, 6.1 has been patched but otherwise nothing changed. The 6.2 was upgraded from 6.1. Otherwise no other (system) changes. Can it have something to do with time zones? In our region (time zone) the clocks have not been ajdusted yet for spring (but they will be shortly). Thank you in advance! -- Zbigniew Szalbot From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 07:24:43 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3C3B816A400 for ; Fri, 9 Mar 2007 07:24:43 +0000 (UTC) (envelope-from mailing_list@planet.nl) Received: from smtp18.wxs.nl (smtp18.wxs.nl [195.121.247.9]) by mx1.freebsd.org (Postfix) with ESMTP id F099313C494 for ; Fri, 9 Mar 2007 07:24:42 +0000 (UTC) (envelope-from mailing_list@planet.nl) Received: from [192.168.0.141] ([80.60.30.253]) by smtp18.wxs.nl (iPlanet Messaging Server 5.2 HotFix 2.15 (built Nov 14 2006)) with ESMTP id <0JEM00GW3HT4NZ@smtp18.wxs.nl> for freebsd-questions@freebsd.org; Fri, 09 Mar 2007 07:24:40 +0100 (CET) Date: Fri, 09 Mar 2007 07:24:40 +0100 From: Aniruddha To: freebsd-questions@freebsd.org Message-id: <45F0FDA8.6000407@planet.nl> MIME-version: 1.0 User-Agent: Thunderbird 1.5.0.10 (X11/20070303) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Help needed syncing Palm Treo 650 with FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 07:24:43 -0000 I am trying to get my Palm Treo sync with Jpilot. Unfortunately so far without results :-( . Who can help me with this? Here's what I tried so far: Added this line to etc/usbd.conf just above the fallthrough entry: / device "Palm" devname "ucom[0-9]*" attach "chmod 0666 /dev/ucom* /dev/ttyU* /dev/cuaU*"/ /kldload ucom kldload uvisor / Filled in this 'adress' in jpilot: //dev/ttyU0/ From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 08:40:54 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2292216A401 for ; Fri, 9 Mar 2007 08:40:54 +0000 (UTC) (envelope-from "cyb."@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 6B67513C442 for ; Fri, 9 Mar 2007 08:40:53 +0000 (UTC) (envelope-from "cyb."@gmx.net) Received: (qmail invoked by alias); 09 Mar 2007 08:40:52 -0000 Received: from pD952F9CE.dip0.t-ipconnect.de (EHLO core2duo) [217.82.249.206] by mail.gmx.net (mp001) with SMTP; 09 Mar 2007 09:40:52 +0100 X-Authenticated: #4870692 X-Provags-ID: V01U2FsdGVkX1960Uwyg8F6nSviDjZgkvCV3T3T26bkN5dOjYlWbp k2x8bYh7CizM0f Date: Fri, 09 Mar 2007 09:41:00 +0100 To: "Thomas H. Bellus" , freebsd-questions@freebsd.org From: "Andreas Rudisch" Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 References: Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: User-Agent: Opera Mail/9.10 (Win32) X-Y-GMX-Trusted: 0 Cc: Subject: Re: Install Freebsd 5.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, 09 Mar 2007 08:40:54 -0000 On Thu, 08 Mar 2007 16:46:49 +0100, Thomas H. Bellus wrote: > I have not been able to see the screens for configuring X for my monitor > or > video card. I have ver 5.4, I have used both the standard install and the > custom install. I have used the most recent install documents on the > internet and I have a copy of Complete BSD by Greg Lehey. > > > I am new to BSD but I want to get this install to work. I can not get > anytype of graphical interface. 1.) Why do you not install FreeBSD 6.2 if you are new? 2.) read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html Andreas From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 09:08:39 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8A5F116A401 for ; Fri, 9 Mar 2007 09:08:39 +0000 (UTC) (envelope-from anujhere@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id 43B7C13C471 for ; Fri, 9 Mar 2007 09:08:39 +0000 (UTC) (envelope-from anujhere@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so645989ana for ; Fri, 09 Mar 2007 01:08:36 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=MqkVDEwS6uAIW8FfnT8kcjVACl3+vtT8mH3BeZ2rDzASmG4OhjZwo5XI7GE0QrPnemAw8nbNNqzJc8+5rBIp9SntNGR5NDwE5nRCnQ0UJ9HlqPiqz8zBR7jN0QhoSG5VDbzv7LHNVEog667o0la4rm/iIlYCZKGhrr+/G6koVK0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=O0eJAJt9S4/i0LxZzbPoAtLukSyJT4D/DNYBbkp6ZZxVOstNBsioBnN9XFDRXNAouDG/vh/hTMWO+KrSBpOea5vgeWD/IB2ZtWEhk5Cwur2obgje4bT5M1wOh6sVoChmGe5vGWcjHN6a+phGU4Kk//dS7NjZvCZ6wHCnpmkqj/w= Received: by 10.100.31.2 with SMTP id e2mr1016920ane.1173429755200; Fri, 09 Mar 2007 00:42:35 -0800 (PST) Received: by 10.100.12.2 with HTTP; Fri, 9 Mar 2007 00:42:35 -0800 (PST) Message-ID: <3120c9e30703090042n3dbfe850ta6d0b1dcac160f1d@mail.gmail.com> Date: Fri, 9 Mar 2007 14:12:35 +0530 From: "Anuj Singh" To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: logout from gnome panel stops responding. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 09:08:39 -0000 Hello, I am using 6.2-RELEASE FreeBSD 6.2-RELEASE root@anugunj:/usr/src/sys/i386/compile/GENERIC i386 while using gnome when i click on logout it (logout panel only) stops responding, and i need to Force quit, same thing is happening with my gaim. It crashes. Is anyone facing the same problem? How to trace/fix it? This problem causing me to use linux more. I want to use FreeBSD as main. But with Gnome crashing few utilities I am unable to use it all the time. With FreeBSD 6.1 I faced no such problem. thanks and regards anugunj "anuj" From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 09:38:36 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9F86016A400 for ; Fri, 9 Mar 2007 09:38:36 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from wmail.teledomenet.gr (wmail.teledomenet.gr [213.142.128.16]) by mx1.freebsd.org (Postfix) with ESMTP id 23FA713C442 for ; Fri, 9 Mar 2007 09:38:36 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from iris (unknown [192.168.1.71]) by wmail.teledomenet.gr (Postfix) with ESMTP id AA5161C8813; Fri, 9 Mar 2007 11:15:33 +0200 (EET) From: Nikos Vassiliadis To: freebsd-questions@freebsd.org Date: Fri, 9 Mar 2007 11:39:50 +0200 User-Agent: KMail/1.9.1 References: <64c038660703080349t3311fa22lf8e6ba736db330ed@mail.gmail.com> In-Reply-To: <64c038660703080349t3311fa22lf8e6ba736db330ed@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703091139.51272.nvass@teledomenet.gr> Cc: Modulok Subject: Re: Kill a hanged disk i/o process... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 09:38:36 -0000 On Thursday 08 March 2007 13:49, Modulok wrote: > To the best of my knowledge, most processes can be killed explicitly > by "kill -s KILL;" There are a few which cannot, such as disk i/o > processes. The idea here is data integrity. A process might be in cannot-be-killed condition while in kernel e.g. during a system call. That has to do with the completion of the system call, not with data integrity. The kernel tries to complete what was asked for. Also, Killing a process with SIGKILL is far from safe. To put it in another way "data integrity" can be guaranteed only by the program itself. For example it could have a defined behavior when it is signaled by e.g. SIGTERM, for example clean up data and exit. Or not. It's up to the programmer. Sending a SIGKILL will not give that chance. SIGKILL can not be handled. It will be terminated as soon as possible. Also, separate the meanings "data integrity" and "filesystem data integrity". The filesystem will be in fine condition when a process gets killed by SIGKILL during file I/O, the data in the file most probably not. > > On the rare occasion however, (when attempting to recover data from > corrupt disks for example), I've had a process invoked by the "cp" > command, hang. This poses a significant problem as these processes are > disk i/o processes, and as such cannot be terminated (even by root). > So, other than physically hitting the reset button on the case, is > there a more eloquent method of forcefully halting a hanged disk i/o > process? The idea of "you don't want to terminate a disk i/o process, > it could corrupt the data" isn't really a good argument, because if > the process hangs and I have to punch the reset button anyway what's > the difference? "Pressing the button" will leave your filesystem in a undefined state, you are risking filesystem integrity. Keep in mind that while in use (open files etc) a filesystem cannot be unmounted. Anyway, try to shut the computer down, it's far more gentle than pressing the button. At least the rest of the filesystems will be cleanly unmounted. Is there something in particular you want to achieve? Nikos From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 10:06:15 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C486B16A402 for ; Fri, 9 Mar 2007 10:06:15 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.freebsd.org (Postfix) with ESMTP id 461C213C49D for ; Fri, 9 Mar 2007 10:06:15 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from epia-2.farid-hajji.net (epia-2 [192.168.254.11]) by fw.farid-hajji.net (Postfix) with ESMTP id 151CEDF3E2; Fri, 9 Mar 2007 11:04:55 +0100 (CET) Date: Fri, 9 Mar 2007 11:07:52 +0100 From: cpghost To: Oliver Fromme Message-ID: <20070309100752.GA34224@epia-2.farid-hajji.net> References: <20070308085221.GA19569@epia-2.farid-hajji.net> <200703080943.l289h1Qd033664@lurza.secnetix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200703080943.l289h1Qd033664@lurza.secnetix.de> User-Agent: Mutt/1.5.14 (2007-02-12) Cc: hildebeb@mts.net, freebsd-questions@freebsd.org, Ted Mittelstaedt , gldisater@gmail.com Subject: Re: FreeBSD Torrent Server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 10:06:15 -0000 On Thu, Mar 08, 2007 at 10:43:01AM +0100, Oliver Fromme wrote: > cpghost wrote: > > On Wed, Mar 07, 2007 at 05:20:50PM +0100, Oliver Fromme wrote: > > > That's pure speculation (and quite paranoid). The daemon > > > image is still visible on many FreeBSD.org web pages. > > > In fact, no less pages than before the contest, and there > > > is no indication that it might change. > > > > However, you've dropped it in favor of the "sextoy" on the > > FreeBSD 6.2 DVD case cover (Lehmanns/GUUG, Jan. 2007). > > That was the decision of the designers at the marketing > department of Lehmanns (I'm only responsible for the text > on the back of the box, not for the overall design). > Those people have near zero technical nor historical > knowledge about FreeBSD. > > > Sure, it's not an > > "official" DVD, but it does appear in bookstores and is often > > the first encounter by newbies to FreeBSD :-(. > > I wish it was. :-( > > In fact, the past issues of the Lehmanns edition of FreeBSD > (including the ones where there still was a large Beastie > on the front of the box) had rapidly decreasing sales > numbers. It's probably because many people now have fast > internet access (cable, DSL, whatever) and prefer to down- > load the ISOs and packages instead of buying a DVD-ROM. > > We were lucky that the GUUG agreed to sponsor the 6.2 > issue, otherwise Lehmanns would have been forced to stop its > support of FreeBSD, and the DVD for 6.2-Release would not > exist today. I have no idea what will happen with 6.3 ... > If nobody buys 6.2, then it's probably the last one. It's obviously the same problem that Walnut Creek faced back then, when bandwidth was large enough for CD ISOs. That's very unfortunate, because having FreeBSD CD/DVDs in bookstores definitely helps getting more exposure. 1 out of 3 FreeBSD users I know first learned about FreeBSD in a bookstore as they bought one of the earlier Walnut Creek CD cases. Good luck with the 6.2 DVD! :) > Best regards > Oliver > > PS: For people who don't know at all what we're talking > about, here's a link: > > http://www.lob.de/cgi-bin/out?isbn=3865411886 > > The page text is in German, I'm afraid, but at least you > can see the picture of the DVD box (front side only, > though). Regards, -cpghost. -- Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 10:39:07 2007 Return-Path: X-Original-To: freebsd-questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AA69E16A401 for ; Fri, 9 Mar 2007 10:39:07 +0000 (UTC) (envelope-from vimont.olivier@free.fr) Received: from macao.armandthiery.fr (macao.armandthiery.fr [82.196.52.42]) by mx1.freebsd.org (Postfix) with ESMTP id 65F9C13C4AA for ; Fri, 9 Mar 2007 10:39:07 +0000 (UTC) (envelope-from vimont.olivier@free.fr) Received: from macao.armandthiery.fr (macao.armandthiery.fr [127.0.0.1]) by localhost.armandthiery.fr (Postfix) with ESMTP id 71FFA2808C for ; Fri, 9 Mar 2007 11:08:14 +0100 (CET) Message-ID: <45F13240.5020407@free.fr> Date: Fri, 09 Mar 2007 11:09:04 +0100 From: Olivier Vimont User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org X-MIMETrack: Itemize by SMTP Server on NTP-LOTUS/A-T(Release 6.5.5|November 30, 2005) at 09/03/2007 11:08:13,Serialize by Router on NTP-LOTUS/A-T(Release 6.5.5|November 30, 2005) at 09/03/2007 11:08:15,Serialize complete at 09/03/2007 11:08:15 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-imss-version: 2.5 X-imss-result: Passed X-imss-scores: Clean:34.03007 C:22 M:2 S:5 R:5 X-imss-settings: Baseline:1 C:1 M:1 S:1 R:1 (0.0000 0.0000) Cc: Subject: Package missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 10:39:07 -0000 The pdflib binary package which is needed by gnuplot-4.0 is missing on the AMD64 port of the 6.2 release in th ftp site Thanks if you can restore it Regards From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 11:22:30 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4490116A401 for ; Fri, 9 Mar 2007 11:22:30 +0000 (UTC) (envelope-from niklaus@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id 098BD13C49D for ; Fri, 9 Mar 2007 11:22:28 +0000 (UTC) (envelope-from niklaus@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so1216208ugh for ; Fri, 09 Mar 2007 03:22:28 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=H9jfWT+7iwXewmpYn36dQsXyLW1i4df3iwC2rK7Lzi2++VM6l41Akv1HeHO/zNaJExwXfGmhWZTb2elXRT16RHWNKPyMoqdUmhCOPI0icPwd+9yrJXOY4dobLchrGK59gTsjSHRYwKXWXx5QdNEUU7fCb5KCl7xICAF4ZOLcvSo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=FzMkw5qCkGPM9UfqKhZmy05Xt3BvBArcs453+22wp83Blk0BcQGgoKmAXywkAx2n8HTzZiLmomY5hJsxfphSKEPawHHs/fJJo53OMfhhG6JesRDk7xIgQOqv9Ic+2n8ha8vpJSCyUBElcT4tTDtXcK03UWbVVZ/o42wanz+kq2c= Received: by 10.114.151.13 with SMTP id y13mr507609wad.1173437594963; Fri, 09 Mar 2007 02:53:14 -0800 (PST) Received: by 10.114.203.7 with HTTP; Fri, 9 Mar 2007 02:53:14 -0800 (PST) Message-ID: <85e0e3140703090253y262681aoca14fb522d18a076@mail.gmail.com> Date: Fri, 9 Mar 2007 16:23:14 +0530 From: Niklaus To: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: debian-user@lists.debian.org Subject: 65535 outbound connections X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 11:22:30 -0000 Hi I could be wrong in the below description or might have misunderstood many of the concepts , please correct appropriately. 65535 ports can allowed . So on a machine namely C you can have max 65535 outbound connections What i was thinking was to send to another machines A and B from the same port [X] and then when we get data from it to [X] we can the send it to the correct application using stateful mapping or storing some information . The machines A and B are unaware of this mapping from the C machine. Can we increase it by anymeans in the kernel. Does we have patches for the above i read on the web that terry lambert has got 1.6 million simultaneous connection ? how is the way it is done. http://kerneltrap.org/node/277 yes now lets take 2 dest machines , source ip is fixed , source port (2^16 - 1) destip is fixed (a.a.a.a and b.b.b.b) ,dest port(2^16 -1) each , for a connection we have one port used , say connection 1 is source ip,port 1 , a.a.a.a port 1 source ip,port 2 , a.a.a.a port 2 . . . source ip,port 65535 , a.a.a.a port 65535 so total of 65535 connections (assume traffic is still going on, a movie on a slow line dialup or 1kbps ) now if i try to open another connection (assume lots of file descriptors are present) to a.a.a.a what happens to b.b.b.b what happens i think both will not get established as the OS doesn't have any free source ports or am i wrong From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 11:45:35 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 91FC516A401 for ; Fri, 9 Mar 2007 11:45:35 +0000 (UTC) (envelope-from mailinglists@tca-cable-connector.com) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by mx1.freebsd.org (Postfix) with ESMTP id 9810E13C494 for ; Fri, 9 Mar 2007 11:45:34 +0000 (UTC) (envelope-from mailinglists@tca-cable-connector.com) Received: from [218.16.58.208] (helo=munin.tcaportal.com) by mrelayeu.kundenserver.de (node=mrelayeu1) with ESMTP (Nemesis), id 0MKwpI-1HPdXB2vaJ-0004D4; Fri, 09 Mar 2007 12:45:33 +0100 Received: from [10.0.1.41] (unknown [219.132.232.201]) by munin.tcaportal.com (Postfix) with ESMTP id 942AFA6C60 for ; Fri, 9 Mar 2007 19:42:38 +0800 (HKT) Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: <8CD9F248-5C11-4E38-8C4B-0F0A09F685E6@tca-cable-connector.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: FreeBSD Questions From: David Schulz Date: Fri, 9 Mar 2007 19:45:10 +0800 X-Mailer: Apple Mail (2.752.3) X-Provags-ID: kundenserver.de abuse@kundenserver.de login:1405312fe15d228f5bad0d2fcbb6dc17 X-Provags-ID2: V01U2FsdGVkX1/7i7/YVZ7oJWrFLQVWnCXCP0BCgBGkIv6rntU YpmjCCRTtGIN793kRXjR/18Nm7/+aruGWyOPZc93VG002fxcAW tn8dsAufBcP3NBzIeIU+Q== Cc: Subject: fetch - size of remote file is not known X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 11:45:35 -0000 Hello all, Viewing a certain Url results in a dynamically generated .png graph being displayed in my Browser. I would like to fetch this Graph.png via Command-line, but a simple "fetch https://www.domain.com/grapher/chart.php? graphid=1&stime=yyyymmddhhmm&period=7200&from=0&width=-108" wont do, and results in an Error as below: "fetch https://www.domain.com/grapher/chart.php? graphid=1&stime=yyyymmddhhmm&period=7200&from=0&width=-108: size of remote file is not known" Is there a way i can force fetch to get that Graph, even when it doesnt know the size beforehand, or do you have another simple idea (no extra ports if at all possible) to get that Graph from Command-line? Thanks a lot and best regards, David From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 12:11:34 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7BDA716A401 for ; Fri, 9 Mar 2007 12:11:34 +0000 (UTC) (envelope-from atisss@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0C76213C48D for ; Fri, 9 Mar 2007 12:11:33 +0000 (UTC) (envelope-from atisss@gmail.com) Received: by ik-out-1112.google.com with SMTP id c21so841517ika for ; Fri, 09 Mar 2007 04:11:32 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=k7KODW0r7pBMLJ5LvlGgWhJWbcAnNdL6COOa7X3QleeVoy4FXBJCSNcU3WRQ8OVB6az8e61oBNCORkC5lic1qAIo1kX4h3FP/d3CqmfFbuU3Ifri078EuRMZDjNJtxR71Kb6P6jiSsX+k19X76RD3/1RGoSgheH1Og5AFRfBWy0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RwWRD8qiof458CDKJOx5TDr46PrfNhhbBxytc7poIvvCM6H35YRzVDdPhhJEutrnf9/RHutRQ+8FPSD8qnipZlI7B+VxmWZjeqqcep+x/qC0i6w7OAvYgZ1f+f0zLEzE/Dsln3e9+U6DMX+oLErgK9lXOdM2skeaCFe4gE7przQ= Received: by 10.114.200.2 with SMTP id x2mr511763waf.1173440600684; Fri, 09 Mar 2007 03:43:20 -0800 (PST) Received: by 10.114.152.4 with HTTP; Fri, 9 Mar 2007 03:43:20 -0800 (PST) Message-ID: <945196e0703090343r347e31d1i4b1d85c65eb8033@mail.gmail.com> Date: Fri, 9 Mar 2007 13:43:20 +0200 From: Atis To: debian-user@lists.debian.org, questions@freebsd.org In-Reply-To: <85e0e3140703090253y262681aoca14fb522d18a076@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <85e0e3140703090253y262681aoca14fb522d18a076@mail.gmail.com> Cc: Subject: Re: 65535 outbound connections X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 12:11:34 -0000 On 3/9/07, Niklaus wrote: > Hi > > I could be wrong in the below description or might have misunderstood > many of the concepts , please correct appropriately. > > 65535 ports can allowed . So on a machine namely C you can have max > 65535 outbound connections There can be simultaneous connections to one port. For example apache's httpd - it listens port 80, does that mean, it can serve only one connection? nope. Once connection is established, it's forwarded to another thread, that have connection id, and processes it. Don't know about outgoing connections, but i think, they also can be simultaneous. Regards, Atis From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 12:24:16 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 38B4C16A400 for ; Fri, 9 Mar 2007 12:24:16 +0000 (UTC) (envelope-from djdexter@gmail.com) Received: from smtp05.bis.na.blackberry.com (smtp05.bis.na.blackberry.com [216.9.248.52]) by mx1.freebsd.org (Postfix) with ESMTP id EACE213C47E for ; Fri, 9 Mar 2007 12:24:15 +0000 (UTC) (envelope-from djdexter@gmail.com) Message-ID: <941904779-1173441314-cardhu_blackberry.rim.net-273786737-@bxe041-cell01.bisx.prod.on.blackberry> Content-Transfer-Encoding: base64 References: <45F0D9A7.8000201@enabled.com> <45F0E1CD.1060608@enabled.com> <45F0EBAF.2070409@u.washington.edu> In-Reply-To: <45F0EBAF.2070409@u.washington.edu> Sensitivity: Normal Importance: Normal To: freebsd-questions@freebsd.org From: "=?UTF-8?B?ZGV4?=" Date: Fri, 9 Mar 2007 11:55:07 +0000 Content-type: text/plain MIME-Version: 1.0 Subject: Re: syncing user passwd information between servers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: djdexter@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 12:24:16 -0000 RG9lc24ndCBOSVMgaGF2ZSBhbiA4IGNoYXJhY3RlciBsaW1pdCBvbiB1c2VybmFtZXM/DQogIA0K DQotLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTogR2FycmV0dCBDb29wZXIgPHlvdXNo aTEwQHUud2FzaGluZ3Rvbi5lZHU+DQpEYXRlOiBUaHUsIDA4IE1hciAyMDA3IDIxOjA3OjU5IA0K VG86ZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmcNClN1YmplY3Q6IFJlOiBzeW5jaW5nIHVz ZXIgcGFzc3dkIGluZm9ybWF0aW9uIGJldHdlZW4gc2VydmVycw0KDQpOb2FoIHdyb3RlOg0KPiBz ZWUgbW9yZSBxdWVzdGlvbnMgYmVsb3c/DQo+IA0KPiBEYW5pZWwgTWFyc2ggd3JvdGU6DQo+PiBP biAzLzkvMDcsIE5vYWggPGFkbWluMkBlbmFibGVkLmNvbT4gd3JvdGU6DQo+Pj4NCj4+PiBIaSwN Cj4+Pg0KPj4+IEkgYW0gdHJ5aW5nIHRvIGZpZ3VyZSBvdXQgdGhlIEJlc3QgYWRtaW5pbnN0cmF0 aXZlIHdheSB0byBkbyB0aGUNCj4+PiBmb2xsb3dpbmc6DQo+Pj4NCj4+PiBXZSBoYXZlIHR3byBG cmVlQlNEIDYuMiBzZXJ2ZXJzIGFuZCB3YW50IHRvIGtlZXAgdGhlIHBhc3N3ZCBmaWxlcyBpbg0K Pj4+IHN5bmMgc28gYWxsIHRoZSBzYW1lIHVzZXJzIGNhbiBsb2cgaW50byBlYWNoIG1hY2hpbmUs IHRoZWlyIFVJRCdzIG1hdGNoLA0KPj4+IGFuZCB3aGVuIHRoZSB1cGRhdGUgdGhlIHBhc3N3b3Jk IG9uIG9uZSBtYWNoaW5lIHRoZSBvdGhlciBtYWNoaW5lIGdldHMNCj4+PiB0aGUgcGFzc3dvcmQu ICBXaGVuIHdlIGFkZCB0aGUgdXNlciB0byBvbmUgbWFjaGluZSB0aGVuIHRoZSBvdGhlcg0KPj4+ IG1hY2hpbmUgaGFzIGFuIGFkZGl0aW9uYWwgdXNlciB0b28uDQo+Pj4NCj4+PiBXaGF0IGlzIHRo ZSBiZXN0IHNjaGVtZSB0aGF0IHdlIGNhbiBkZXZpc2UgdG8gZ2V0IHRoaXMgd29ya2luZw0KPj4+ IHRlY2huaWNhbGx5IHdlbGw/DQo+Pj4NCj4+PiBDaGVlcnMsDQo+Pj4NCj4+DQo+PiBBIGNvdXBs ZSBvZiB0aGluZ3MgY2FuIGJlIGRvbmUuLi4NCj4+IFRoZSBmaXJzdCwgYW5kIGxvbmdlc3QgZXhp c3RpbmcgbWV0aG9kIHdvdWxkIGJlIHRvIHVzZSBOSVMgYmV0d2VlbiB0aGUgDQo+PiB0d28NCj4+ IG1hY2hpbmVzIHdoZXJlIG9uZSBtYWNoaW5lIGFjdHMgYXMgYSBzZXJ2ZXIsIHRoZSBvdGhlciBh cyBhIGNsaWVudCB0byANCj4+IHRoYXQNCj4+IHNlcnZlciwgaWYgdGhlIHNlcnZlciBnb2VzIGRv d24sIG5vLW9uZSBjYW4gbG9naW4uIChJIGhhdm4ndCANCj4+IGludmVzdGlnYXRlZCBpbg0KPj4g YmFja3VwIE5JUyBzZXJ2ZXJzIGFzIEkgZG9uJ3QgbGlrZSBOSVMpDQo+Pg0KPiANCj4geWVhaCBO SVMgZG9lcyBub3QgZmVlbCBsaWtlIHRoZSByaWdodCBkaXJlY3Rpb24NCj4gDQo+IA0KPj4gVGhl IG90aGVyIG9wdGlvbiB3b3VsZCBiZSB1c2luZyBMREFQIChPcGVuTERBUCksIHlvdSdsbCBpbnN0 YWxsIA0KPj4gT3BlbkxEQVAgb24NCj4+IGJvdGggc2VydmVycywgb25lIHdpbGwgYWN0IGFzIGEg bWFzdGVyLCB0aGUgb3RoZXIgYXMgYSBzbGF2ZSwgZWFjaCANCj4+IG1hY2hpbmUNCj4+IHdpbGwg bG9naW4gYWdhaW5zdCB0aGUgbGRhcCBkYXRhYmFzZSBydW5uaW5nIGxvY2FsbHkuDQo+PiBUaGUg bWFzdGVyIGxkYXAgd2lsbCByZXBsaWNhdGUgdG8gdGhlIHNsYXZlIHRvIGtlZXAgYW55IHVzZXIg Y2hhbmdlcyANCj4+IGluIHRhY3QNCj4+IGFuZCB1cCB0byBkYXRlLg0KPj4gWW91J2xsIG5lZWQg dG8gaW5zdGFsbCB0aGUgcGFtX2xkYXAgYW5kIG5zc19sZGFwIHBvcnRzIGFuZCBtYXkgd2FudCB0 byANCj4+IHVzZQ0KPj4gTERBUCBBY2NvdW50IE1hbmFnZXIgKHJ1bnMgdmlhIFBIUCBvbiBBcGFj aGUpIHRvIG1hbmFnZSB0aGUgdXNlciANCj4+IGFjY291bnRzLg0KPiANCj4gDQo+IHNvIHRoZSB1 c2VycyB3b3VsZCBub3QgYmUgbG9ja2VkIG91dCBvZiB0aGUgc2Vjb25kIHNlcnZlciBpZiB0aGUg bWFzdGVyIA0KPiBMREFQIHNlcnZlciBnb2VzIGRvd24sIHJpZ2h0Pw0KPiANCj4gY2hlZXJzLA0K PiANCj4gTm9haA0KPiANCj4gDQo+IA0KPj4NCj4+IEFub3RoZXIgb3B0aW9uIG1heSBiZSB0byB1 c2UgYSB2ZXJzaW9uaW5nIHN5c3RlbSwgb25lIG1hY2hpbmUgaGFzIGENCj4+IHZlcnNpb25pbmcg cmVwb3NpdG9yeSwgeW91IGltcG9ydCAvZXRjLyBpbnRvIHRoZSB2ZXJzaW9uaW5nIHN5c3RlbSAN Cj4+IChDVlMgb3INCj4+IFN1YnZlcnNpb24pLCB3aGVuIHlvdSBtYWtlIGEgY2hhbmdlIG9uIGEg c2VydmVyIHRvIHBhc3N3ZCdzIGV0Yy4uLiB5b3UNCj4+IGNvbW1pdCB0aGUgY2hhbmdlIGFuZCBj aGVjayBpdCBvdXQgb24gdGhlIG90aGVyIG1hY2hpbmUsIG1heWJlIGV2ZW4gDQo+PiBtYWtpbmcN Cj4+IHVzZSBvZiBtZXJnaW5nIGNoYW5nZXMgc28gaWYgdHdvIHBlb3BsZSwgb25lIG9uIGVhY2gg bWFjaGluZSwgY2hhbmdlIA0KPj4gdGhlaXINCj4+IHBhc3N3b3JkcyBhbmQgdGhleSBib3RoIGNv bW1pdCB5b3UgZG9uJ3QgbG9zZSBvbmUgb2YgdGhlIHBhc3N3b3JkIA0KPj4gY2hhbmdlcy4NCg0K QXMgd2FzIHN1Z2dlc3RlZCB0byBtZSBhYm91dCA0LTUgbW9udGhzIGFnbyAobWF5IHdhbnQgdG8g bG9vayBpbiB0aGUgDQphcmNoaXZlcyksIHRoZSBiZXN0IG1lYW5zIHRvIGVuc3VyZSB1c2VyIGFj Y291bnQgaW5mbyBpcyBzeW5jZWQgaXMgdG8gDQp1c2UgTklTIChmb3IgY3JlZGVudGlhbHMsIGxp a2UgdXNlcnMsIGdyb3VwcywgTklTIGRvbWFpbiBpbmZvLCBldGMpIGFuZCANCkxEQVAvS2VyYmVy b3MgKGF1dGhlbnRpY2F0aW9uLCBwYXNzd29yZHMsIGV0YykuDQoNCi1HYXJyZXR0DQpfX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXw0KZnJlZWJzZC1xdWVzdGlv bnNAZnJlZWJzZC5vcmcgbWFpbGluZyBsaXN0DQpodHRwOi8vbGlzdHMuZnJlZWJzZC5vcmcvbWFp bG1hbi9saXN0aW5mby9mcmVlYnNkLXF1ZXN0aW9ucw0KVG8gdW5zdWJzY3JpYmUsIHNlbmQgYW55 IG1haWwgdG8gImZyZWVic2QtcXVlc3Rpb25zLXVuc3Vic2NyaWJlQGZyZWVic2Qub3JnIg0K From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 12:25:35 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BC30A16A400 for ; Fri, 9 Mar 2007 12:25:35 +0000 (UTC) (envelope-from PETER.HARRISON@dwp.gsi.gov.uk) Received: from mail67.messagelabs.com (mail67.messagelabs.com [193.109.254.83]) by mx1.freebsd.org (Postfix) with SMTP id 30DD813C46B for ; Fri, 9 Mar 2007 12:25:35 +0000 (UTC) (envelope-from PETER.HARRISON@dwp.gsi.gov.uk) X-VirusChecked: Checked X-Env-Sender: PETER.HARRISON@dwp.gsi.gov.uk X-Msg-Ref: server-9.tower-67.messagelabs.com!1173443133!17510314!1 X-StarScan-Version: 5.5.10.7.1; banners=dwp.gsi.gov.uk,-,- X-Originating-IP: [62.25.106.208] Received: (qmail 19737 invoked from network); 9 Mar 2007 12:25:33 -0000 Received: from gateway-102.energis.gsi.gov.uk (HELO mx.hosting-w.gsi.gov.uk) (62.25.106.208) by server-9.tower-67.messagelabs.com with SMTP; 9 Mar 2007 12:25:33 -0000 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Date: Fri, 9 Mar 2007 12:24:12 -0000 Message-ID: <0740B9A6C3639441850D84E94767945C01E58F09@DMM00038.link2.gpn.gov.uk> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: RE: Help needed syncing Palm Treo 650 with FreeBSD CHKD Thread-Index: AcdiRdf+NcSWW3yORdqz6FE7EPrDsg== From: "Harrison Peter CSA BIRKENHEAD" To: X-OriginalArrivalTime: 09 Mar 2007 12:24:13.0564 (UTC) FILETIME=[D8F663C0:01C76245] Cc: freebsd-questions@freebsd.org Subject: RE: Help needed syncing Palm Treo 650 with FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 12:25:35 -0000 >Date:=20Fri,=2009=20Mar=202007=2007:24:40=20+0100 >From:=20Aniruddha=20 >Subject:=20Help=20needed=20syncing=20Palm=20Treo=20650=20with=20FreeBSD >To:=20freebsd-questions@freebsd.org >Message-ID:=20<45F0FDA8.6000407@planet.nl> >Content-Type:=20text/plain;=20charset=3DISO-8859-1;=20format=3Dflowed > >I=20am=20trying=20to=20get=20my=20Palm=20Treo=20sync=20with=20Jpilot.=20U= nfortunately=20so=20far=20 >without=20results=20:-(=20.=20Who=20can=20help=20me=20with=20this?=20Here= 's=20what=20I=20tried=20so=20far: > >Added=20this=20line=20to=20etc/usbd.conf=20just=20above=20the=20fallthrou= gh=20entry: >/ >device=20"Palm" >=20=20=20=20=20=20=20devname=20=20"ucom[0-9]*" >=20=20=20=20=20=20=20attach=20"chmod=200666=20/dev/ucom*=20/dev/ttyU*=20/= dev/cuaU*"/ > >/kldload=20ucom >kldload=20uvisor >/ >Filled=20in=20this=20'adress'=20in=20jpilot: > >//dev/ttyU0/ You=20may=20want=20to=20check=20out=20devfs.rules(5)=20for=20changing=20pe= rmissions=20on=20hotplug=20devices. That=20said,=20I=20do=20use=20a=20similar=20entry=20in=20usbd.conf=20to=20= spawn=20pppd=20when=20I=20connect=20my=20Tungsten=20E.=20With=20that=20I=20= find=20I=20need=20to=20add=20a=20"sleep=202;"=20to=20the=20beginning=20of=20= the=20'attach'=20line=20or=20the=20following=20command=20fails=20because=20= the=20device=20nodes=20aren't=20set=20up=20quickly=20enough. HTH. Peter=20Harrison=20 ********************************************************************** This=20document=20is=20strictly=20confidential=20and=20is=20intended=20onl= y=20for=20use=20by=20the=20addressee.=20 If=20you=20are=20not=20the=20intended=20recipient,=20any=20disclosure,=20c= opying,=20distribution=20or=20other=20 action=20taken=20in=20reliance=20of=20the=20information=20contained=20in=20= this=20e-mail=20is=20strictly=20prohibited. Any=20views=20expressed=20by=20the=20sender=20of=20this=20message=20are=20= not=20necessarily=20those=20of=20the=20Department=20 for=20Work=20and=20Pensions. If=20you=20have=20received=20this=20transmission=20in=20error,=20please=20= use=20the=20reply=20function=20to=20tell=20us=20 and=20then=20permanently=20delete=20what=20you=20have=20received. Please=20note:=20Incoming=20and=20outgoing=20e-mail=20messages=20are=20rou= tinely=20monitored=20for=20compliance=20 with=20our=20policy=20on=20the=20use=20of=20electronic=20communications. ********************************************************************** The=20original=20of=20this=20email=20was=20scanned=20for=20viruses=20by=20= Government=20Secure=20Intranet=20(GSi)=20=20virus=20scanning=20service=20s= upplied=20exclusively=20by=20Cable=20&=20Wireless=20in=20partnership=20wit= h=20MessageLabs. On=20leaving=20the=20GSI=20this=20email=20was=20certified=20virus=20free. The=20MessageLabs=20Anti=20Virus=20Service=20is=20the=20first=20managed=20= service=20to=20achieve=20the=20CSIA=20Claims=20Tested=20Mark=20(CCTM=20Cer= tificate=20Number=202006/04/0007),=20the=20UK=20Government=20quality=20mar= k=20initiative=20for=20information=20security=20products=20and=20services.= =20=20For=20more=20information=20about=20this=20please=20visit=20www.cctma= rk.gov.uk From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 12:30:42 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1A70A16A401 for ; Fri, 9 Mar 2007 12:30:42 +0000 (UTC) (envelope-from mailinglists@tca-cable-connector.com) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by mx1.freebsd.org (Postfix) with ESMTP id 994E413C4A8 for ; Fri, 9 Mar 2007 12:30:41 +0000 (UTC) (envelope-from mailinglists@tca-cable-connector.com) Received: from [218.16.58.208] (helo=munin.tcaportal.com) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis), id 0ML25U-1HPeEp3xyH-0002pv; Fri, 09 Mar 2007 13:30:29 +0100 Received: from [10.0.1.41] (unknown [219.132.232.201]) by munin.tcaportal.com (Postfix) with ESMTP id 73CD6A6C60 for ; Fri, 9 Mar 2007 20:27:44 +0800 (HKT) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <8CD9F248-5C11-4E38-8C4B-0F0A09F685E6@tca-cable-connector.com> References: <8CD9F248-5C11-4E38-8C4B-0F0A09F685E6@tca-cable-connector.com> Message-Id: <2D3FCDCE-CD3D-435E-8E88-9FF86F252CFA@tca-cable-connector.com> From: David Schulz Date: Fri, 9 Mar 2007 20:30:17 +0800 To: FreeBSD Questions X-Mailer: Apple Mail (2.752.3) X-Provags-ID: kundenserver.de abuse@kundenserver.de login:1405312fe15d228f5bad0d2fcbb6dc17 X-Provags-ID2: V01U2FsdGVkX19PAlvtYdqMnD/gk38BlEupk3e5+S/WeYL3bcb JlBeceCsetJmN1/e+8unvQYDaBlcn+r99jy27drE8Bo+KPQUWF vjxvQUtiIXZ6/xjBo0ZCg== Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: fetch - size of remote file is not known X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 12:30:42 -0000 ok this is fixed. It actually was a permission problem. sorry On Mar 9, 2007, at 7:45 PM, David Schulz wrote: > "fetch https://www.domain.com/grapher/chart.php? > graphid=1&stime=yyyymmddhhmm&period=7200&from=0&width=-108: size of > remote file is not known" From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 12:33:58 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 84ED816A407 for ; Fri, 9 Mar 2007 12:33:58 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 5134D13C4B8 for ; Fri, 9 Mar 2007 12:33:58 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.pgh.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTP id ABB7FEBC62; Fri, 9 Mar 2007 07:33:57 -0500 (EST) Date: Fri, 9 Mar 2007 07:33:50 -0500 From: Bill Moran To: Noah Message-Id: <20070309073350.4cf9c338.wmoran@potentialtech.com> In-Reply-To: <45F0D9A7.8000201@enabled.com> References: <45F0D9A7.8000201@enabled.com> X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.9; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: User Questions Subject: Re: syncing user passwd information between servers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 12:33:58 -0000 In response to Noah : > Hi, > > I am trying to figure out the Best admininstrative way to do the following: > > We have two FreeBSD 6.2 servers and want to keep the passwd files in > sync so all the same users can log into each machine, their UID's match, > and when the update the password on one machine the other machine gets > the password. When we add the user to one machine then the other > machine has an additional user too. > > What is the best scheme that we can devise to get this working > technically well? In addition to the other options that have been presented, you may want to consider Kerberos. -- Bill Moran http://www.potentialtech.com From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 12:49:30 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A924F16A400 for ; Fri, 9 Mar 2007 12:49:30 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 737AB13C491 for ; Fri, 9 Mar 2007 12:49:30 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.pgh.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTP id C8B37EBC62; Fri, 9 Mar 2007 07:49:29 -0500 (EST) Date: Fri, 9 Mar 2007 07:49:22 -0500 From: Bill Moran To: Atis Message-Id: <20070309074922.48f3909c.wmoran@potentialtech.com> In-Reply-To: <945196e0703090343r347e31d1i4b1d85c65eb8033@mail.gmail.com> References: <85e0e3140703090253y262681aoca14fb522d18a076@mail.gmail.com> <945196e0703090343r347e31d1i4b1d85c65eb8033@mail.gmail.com> X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.9; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: 65535 outbound connections X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 12:49:30 -0000 In response to Atis : > On 3/9/07, Niklaus wrote: > > Hi > > > > I could be wrong in the below description or might have misunderstood > > many of the concepts , please correct appropriately. > > > > 65535 ports can allowed . So on a machine namely C you can have max > > 65535 outbound connections > > There can be simultaneous connections to one port. For example > apache's httpd - it listens port 80, does that mean, it can serve only > one connection? nope. Once connection is established, it's forwarded > to another thread, that have connection id, and processes it. > > Don't know about outgoing connections, but i think, they also can be > simultaneous. No. Outgoing connections must always grab a unique port. The upshot is that the "socket pair", which is the IP:port of one end of the connection, plus the IP:port of the other end, must always be unique. Since a listening socket (server) will frequently have many connections to the same port, client side apps _must_ pick a unique port each time, to protect from network failure. This is enforce by the operating system. So, the total number of (theoretical) connections is limited by the product of IP space * port range. But the total number of available outgoing connections is limited by the port range, and that's where that 65536 comes from. -- Bill Moran http://www.potentialtech.com From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 12:52:44 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ADE0116A406 for ; Fri, 9 Mar 2007 12:52:44 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.236]) by mx1.freebsd.org (Postfix) with ESMTP id 657B313C4AA for ; Fri, 9 Mar 2007 12:52:44 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: by wx-out-0506.google.com with SMTP id s18so766781wxc for ; Fri, 09 Mar 2007 04:52:43 -0800 (PST) Received: by 10.70.39.11 with SMTP id m11mr2871302wxm.1173444763925; Fri, 09 Mar 2007 04:52:43 -0800 (PST) Received: from ?192.168.0.4? ( [67.189.184.224]) by mx.google.com with ESMTP id h20sm4554869wxd.2007.03.09.04.52.43; Fri, 09 Mar 2007 04:52:43 -0800 (PST) Date: Fri, 09 Mar 2007 07:53:00 -0500 To: User Questions Organization: Seibercom.net In-Reply-To: <14989d6e0703081645q9b555b5i26cca0557590e9cd@mail.gmail.com> References: <989294.46444.qm@web34411.mail.mud.yahoo.com> <14989d6e0703081645q9b555b5i26cca0557590e9cd@mail.gmail.com> X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Message-Id: <20070309075120.9879.GERARD-SEIBERT@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Mailer: Becky! ver. 2.30.03 [en] From: Gerard Subject: Re: DEFAULT CFLAGS SETTING X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: User Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 12:52:44 -0000 On Thursday March 08, 2007 at 07:45:06 (PM) Christian Walther wrote: > CFLAGS can be defined in /etc/make.conf > My CFLAGS is set to -O2 -pipe. You might want to take a look at > CPUTYPE, too. This can be set to match your CPU type, which means > you'll get the most of it. > You can find some examples in /usr/share/examples/etc/make.conf Thanks, but that is not exactly what I was looking for. I was attempting to find out what the default setting is in FreeBSD-6.2. I heard it was '02' but I have not been able to confirm that. -- Gerard From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 12:57:20 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7CC2216A400 for ; Fri, 9 Mar 2007 12:57:20 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.238]) by mx1.freebsd.org (Postfix) with ESMTP id 3955A13C494 for ; Fri, 9 Mar 2007 12:57:20 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: by wx-out-0506.google.com with SMTP id s18so767912wxc for ; Fri, 09 Mar 2007 04:57:19 -0800 (PST) Received: by 10.70.39.11 with SMTP id m11mr2879418wxm.1173445039752; Fri, 09 Mar 2007 04:57:19 -0800 (PST) Received: from ?192.168.0.4? ( [67.189.184.224]) by mx.google.com with ESMTP id h37sm4571219wxd.2007.03.09.04.57.19; Fri, 09 Mar 2007 04:57:19 -0800 (PST) Date: Fri, 09 Mar 2007 07:57:36 -0500 To: FreeBSD Question Organization: Seibercom.net In-Reply-To: <200703082119.28781.jvender@owensboro.net> References: <200703082119.28781.jvender@owensboro.net> X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Message-Id: <20070309075522.987C.GERARD-SEIBERT@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Mailer: Becky! ver. 2.30.03 [en] From: Gerard Cc: Joe Vender Subject: Re: Using gpg-agent on freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: User Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 12:57:20 -0000 On Thursday March 08, 2007 at 10:19:27 (PM) Joe Vender wrote: > I'm using FreeBSD 6.2 > > I've been tinkering with using gpg-agent for GnuPG passphrase caching when > using Kmail. I have been able to get it working as per the instructions at > http://freebsd.kde.org/howtos/gnupg-kmail.php > for starting the daemon when entering KDE. But, I want to start gpg-agent when > the sytem starts and I login to console mode (not just when I enter KDE), and > I want Kmail to use the agent for GnuPG usage. Could someone please describe > to me the details of the steps that I need to take and the file modifications > that I need to make for this to work. > > Again, I want the gpg-agent to be up and running when I login to the console, > also when I log into KDE, I want Kmail to use the agent. The way I log into > KDE is to first login to the console via a limited user account, then do sudo > kdm and log into KDE using the same limited user account. I have root login > disabled for both console and KDE. I've read the instructions for using a > ~/.xinitrc or ~/.xsession to start the gpg-agent daemon when logging into > kde, but I have neither file in my home directory, and anyway want the daemon > running upon entering console mode login, i.e., running always and only one > gpg-agent process running at any given time. Please CC my email address with > any responses. Thanks very much for suggestions. FreeBSD rocks! Read 'man gpg-agent'. It has a script that may very well be exactly what you want. -- Gerard From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 13:11:29 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E81AB16A400 for ; Fri, 9 Mar 2007 13:11:29 +0000 (UTC) (envelope-from gpeel@thenetnow.com) Received: from thenetnow.com (thenetnow.com [69.90.69.141]) by mx1.freebsd.org (Postfix) with ESMTP id BA1D913C4A5 for ; Fri, 9 Mar 2007 13:11:29 +0000 (UTC) (envelope-from gpeel@thenetnow.com) Received: from hpeel.ody.ca ([216.240.12.2] helo=GRANT) by constellation.thenetnow.com with esmtpa (Exim 4.54) id 1HPesV-000PVF-Ty for freebsd-questions@freebsd.org; Fri, 09 Mar 2007 08:11:24 -0500 Message-ID: <010801c7624c$709ecb80$6501a8c0@GRANT> From: "Grant Peel" To: Date: Fri, 9 Mar 2007 08:11:24 -0500 Organization: The Net Now MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: zoneinfo FreeBSD 4.4 - 4.11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Grant Peel List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 13:11:30 -0000 Hi all, I got all my servers playiung nice with the new port for zoneinfo, all = but one which is a simple slave nameserver ruynning FreeBSD 4.4. When I installed the port on it, and try to run make, I get this: voyager ROOT /usr/gpeel/zoneinfo > make zoneinfo-: You need to define PORTNAME and PORTVERSION instead of = PKGNAME. (This port is too old for your bsd.port.mk, please update it to match your bsd.port.mk.) *** Error code 1 Stop. I have been reading lots about simply updateing the zone file itself, = but have not been undersztanding what I am seeing. If anyone could = simplify, I would appreciate it. -Grant From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 13:16:05 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9536916A401 for ; Fri, 9 Mar 2007 13:16:05 +0000 (UTC) (envelope-from sjhypb@yahoo.com.mx) Received: from n5-041.mcsplus.cz (n5-041.mcsplus.cz [85.207.5.41]) by mx1.freebsd.org (Postfix) with SMTP id D343C13C4AC for ; Fri, 9 Mar 2007 13:16:04 +0000 (UTC) (envelope-from sjhypb@yahoo.com.mx) Received: from ajs ([204.163.78.182]) by n5-041.mcsplus.cz (8.13.4/8.13.4) with SMTP id l29DHvnd024638; Fri, 9 Mar 2007 14:17:57 +0100 Message-ID: <45F15E13.2030600@caropack.at> Date: Fri, 9 Mar 2007 14:16:03 +0100 From: Christensen User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: multipart/related; boundary="------------030000000103070803060500" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: respect sophomoric X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 13:16:05 -0000 --------------030000000103070803060500 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" bulbous Note: There will be formatting problems in this HTML rendering which, for now, painful though it is, I am not going to try to fix by hacking around in the WordPress editor. For most people, the telephone is still the most comfortable thing. If you have received any of these medications from an Internet seller, click here to check photographs of the questionable tablets and their shipping packages. The same profiling is easy to expose to utilizers of native OS GUI apps as well. Webjay remains a boutique offering. When it comes to telephone recording, I am a disciple of Doug Kaye and I use the gadget he recommends, the Telos One, to split the caller and callee onto left and right stereo channels. Nmap cannot even tell that a server is running whenprotected in this way, and it does not matter even if the attacker has a zero-day exploit. 1995 M reg FORD ESCORT 126 miles Manual Petrol still for sale se. The Blog delivers Ken's insights into e-commerce and life, all that he has learned from hundreds of thousands of customers over the years. at enterprise scale but with the Web in the picture at some point in the dataflows. Having a limited ability to transmit data introduces another limitation in port knocking schemes. --------------030000000103070803060500-- From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 13:28:05 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8B42F16A400 for ; Fri, 9 Mar 2007 13:28:05 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by mx1.freebsd.org (Postfix) with ESMTP id 3CFD813C442 for ; Fri, 9 Mar 2007 13:28:05 +0000 (UTC) (envelope-from modulok@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so687898ana for ; Fri, 09 Mar 2007 05:28:04 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=leZ0hflXAgP7q8LRSlM7dF8U8pLLRMMbjlzGg2alzxXAdWOj2jiP7Ceif0N3OCt0AuV/kdEsXRWZ+y/QTvOv9fQgGVK5tWrLIVYn9yi+Bno4Wwbv6Bjn5Hi8+TJ4o+2DfaLBDrS32A2Z6GzGVC+kvWSD8FUQH/nQPj+fFdsGbU4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=s8Pm/kvkSfGnRFc/ajMmFBIw1AdUy9uF9yBgcpMqpJ4ShTnMXGeJ7uXLtwSAExTVSCTI7qdESQ3ZwoaRR8jYGkS1w1C9e0JH7QWMV62DJ0eCaj2wLmZeaWlOO3DMSG6I8DUVr4Cijx3iQTDlFm+96mezfmaqU8gnmliX+vxSw9k= Received: by 10.100.164.14 with SMTP id m14mr1181347ane.1173446884550; Fri, 09 Mar 2007 05:28:04 -0800 (PST) Received: by 10.100.198.6 with HTTP; Fri, 9 Mar 2007 05:28:04 -0800 (PST) Message-ID: <64c038660703090528k6974a8c3odf87e4d8a3b368c9@mail.gmail.com> Date: Fri, 9 Mar 2007 06:28:04 -0700 From: Modulok To: "Nikos Vassiliadis" In-Reply-To: <200703091139.51272.nvass@teledomenet.gr> MIME-Version: 1.0 References: <64c038660703080349t3311fa22lf8e6ba736db330ed@mail.gmail.com> <200703091139.51272.nvass@teledomenet.gr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Kill a hanged disk i/o process... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 13:28:05 -0000 Thank you for your reply, it was quite informative and very much appreciated, but the underlying question remains un-answered: How do you kill a hanged process that (seemingly) cannot be killed because of the two conditions below? -It's hanged, so it's not ever going to self terminate. -It's a disk i/o process so not even root can kill it. The gentle shutdown solution doesn't work: Even during shutdown the process cannot be killed: it's hanged, it's disk i/o. How do you kill an un-killable process? -Modulok- On 3/9/07, Nikos Vassiliadis wrote: > > On Thursday 08 March 2007 13:49, Modulok wrote: > > To the best of my knowledge, most processes can be killed explicitly > > by "kill -s KILL;" There are a few which cannot, such as disk i/o > > processes. The idea here is data integrity. > > A process might be in cannot-be-killed condition while > in kernel e.g. during a system call. That has to do with > the completion of the system call, not with data integrity. > The kernel tries to complete what was asked for. > > Also, Killing a process with SIGKILL is far from safe. To put > it in another way "data integrity" can be guaranteed only > by the program itself. For example it could have a defined > behavior when it is signaled by e.g. SIGTERM, for example > clean up data and exit. Or not. It's up to the programmer. > Sending a SIGKILL will not give that chance. SIGKILL can > not be handled. It will be terminated as soon as possible. > > Also, separate the meanings "data integrity" and "filesystem > data integrity". The filesystem will be in fine condition when > a process gets killed by SIGKILL during file I/O, the data in > the file most probably not. > > > > > On the rare occasion however, (when attempting to recover data from > > corrupt disks for example), I've had a process invoked by the "cp" > > command, hang. This poses a significant problem as these processes are > > disk i/o processes, and as such cannot be terminated (even by root). > > So, other than physically hitting the reset button on the case, is > > there a more eloquent method of forcefully halting a hanged disk i/o > > process? The idea of "you don't want to terminate a disk i/o process, > > it could corrupt the data" isn't really a good argument, because if > > the process hangs and I have to punch the reset button anyway what's > > the difference? > > "Pressing the button" will leave your filesystem in a undefined state, > you are risking filesystem integrity. Keep in mind that while in use > (open files etc) a filesystem cannot be unmounted. Anyway, try to shut > the computer down, it's far more gentle than pressing the button. At > least the rest of the filesystems will be cleanly unmounted. > > Is there something in particular you want to achieve? > > Nikos > From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 14:00:27 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BFC5416A400 for ; Fri, 9 Mar 2007 14:00:27 +0000 (UTC) (envelope-from bds@waywood.co.uk) Received: from lon-mail-1.gradwell.net (lon-mail-1.gradwell.net [193.111.201.125]) by mx1.freebsd.org (Postfix) with ESMTP id 1A9D513C441 for ; Fri, 9 Mar 2007 14:00:26 +0000 (UTC) (envelope-from bds@waywood.co.uk) Received: from 84-12-176-97.dyn.gotadsl.co.uk ([84.12.176.97] helo=[192.168.1.4] country=GB ident=bds^pop3*waywood&co#uk) by lon-mail-1.gradwell.net with esmtpa (Gradwell gwh-smtpd 1.243) id 45f1661a.12a71.221 for freebsd-questions@freebsd.org; Fri, 9 Mar 2007 13:50:18 +0000 (envelope-sender ) Message-ID: <45F165CA.3090401@waywood.co.uk> Date: Fri, 09 Mar 2007 13:48:58 +0000 From: Barnaby Scott User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: PERC 3/DC RAID controller X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 14:00:27 -0000 I have recently aquired a server which is a Dell PowerEdge 4600 with a PERC 3/DC RAID controller. I was just about to start intalling FreeBSD 6.2, but noticed the hardware notes mentions practically every other Dell RAID controller except this one! Does anyone know if it will work? I have a horrible suspicion I will be back with plenty of questions in the coming weeks as I wrestle with this, my first ever server, and my first 'for real' use of FreeBSD! However I am reading all I can, especially the FreeBSD handbook. Thanks Barnaby Scott From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 14:07:32 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ECCEA16A404 for ; Fri, 9 Mar 2007 14:07:32 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from wmail.teledomenet.gr (wmail.teledomenet.gr [213.142.128.16]) by mx1.freebsd.org (Postfix) with ESMTP id 6CA9813C49D for ; Fri, 9 Mar 2007 14:07:32 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from iris (unknown [192.168.1.71]) by wmail.teledomenet.gr (Postfix) with ESMTP id 3D7021C8807; Fri, 9 Mar 2007 15:44:27 +0200 (EET) From: Nikos Vassiliadis To: Modulok Date: Fri, 9 Mar 2007 16:08:46 +0200 User-Agent: KMail/1.9.1 References: <64c038660703080349t3311fa22lf8e6ba736db330ed@mail.gmail.com> <200703091139.51272.nvass@teledomenet.gr> <64c038660703090528k6974a8c3odf87e4d8a3b368c9@mail.gmail.com> In-Reply-To: <64c038660703090528k6974a8c3odf87e4d8a3b368c9@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703091608.47529.nvass@teledomenet.gr> Cc: freebsd-questions@freebsd.org Subject: Re: Kill a hanged disk i/o process... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 14:07:33 -0000 On Friday 09 March 2007 15:28, Modulok wrote: > Thank you for your reply, it was quite informative and very much > appreciated, but the underlying question remains un-answered: > > How do you kill a hanged process that (seemingly) cannot be killed because > of the two conditions below? > > -It's hanged, so it's not ever going to self terminate. > -It's a disk i/o process so not even root can kill it. > As I said before disk I/O is irrelevant. > The gentle shutdown solution doesn't work: Even during shutdown the process > cannot be killed: it's hanged, it's disk i/o. > > How do you kill an un-killable process? What makes you believe there is another official way to kill a process? Perhaps you should ask "How do I work-around a situation where my rm, cp, whatever hang forever?", if that's what you are looking for. > -Modulok- > > > On 3/9/07, Nikos Vassiliadis wrote: > > > > On Thursday 08 March 2007 13:49, Modulok wrote: > > > To the best of my knowledge, most processes can be killed explicitly > > > by "kill -s KILL;" There are a few which cannot, such as disk i/o > > > processes. The idea here is data integrity. > > > > A process might be in cannot-be-killed condition while > > in kernel e.g. during a system call. That has to do with > > the completion of the system call, not with data integrity. > > The kernel tries to complete what was asked for. > > > > Also, Killing a process with SIGKILL is far from safe. To put > > it in another way "data integrity" can be guaranteed only > > by the program itself. For example it could have a defined > > behavior when it is signaled by e.g. SIGTERM, for example > > clean up data and exit. Or not. It's up to the programmer. > > Sending a SIGKILL will not give that chance. SIGKILL can > > not be handled. It will be terminated as soon as possible. > > > > Also, separate the meanings "data integrity" and "filesystem > > data integrity". The filesystem will be in fine condition when > > a process gets killed by SIGKILL during file I/O, the data in > > the file most probably not. > > > > > > > > On the rare occasion however, (when attempting to recover data from > > > corrupt disks for example), I've had a process invoked by the "cp" > > > command, hang. This poses a significant problem as these processes are > > > disk i/o processes, and as such cannot be terminated (even by root). > > > So, other than physically hitting the reset button on the case, is > > > there a more eloquent method of forcefully halting a hanged disk i/o > > > process? The idea of "you don't want to terminate a disk i/o process, > > > it could corrupt the data" isn't really a good argument, because if > > > the process hangs and I have to punch the reset button anyway what's > > > the difference? > > > > "Pressing the button" will leave your filesystem in a undefined state, > > you are risking filesystem integrity. Keep in mind that while in use > > (open files etc) a filesystem cannot be unmounted. Anyway, try to shut > > the computer down, it's far more gentle than pressing the button. At > > least the rest of the filesystems will be cleanly unmounted. > > > > Is there something in particular you want to achieve? > > > > Nikos > > > From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 14:20:45 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 638E616A402 for ; Fri, 9 Mar 2007 14:20:45 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id CA42413C4B3 for ; Fri, 9 Mar 2007 14:20:43 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from gumby.homeunix.com (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id A67FA51947 for ; Fri, 9 Mar 2007 09:20:42 -0500 (EST) Date: Fri, 9 Mar 2007 14:20:39 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20070309142039.51a3470b@gumby.homeunix.com> In-Reply-To: <20070309075120.9879.GERARD-SEIBERT@seibercom.net> References: <989294.46444.qm@web34411.mail.mud.yahoo.com> <14989d6e0703081645q9b555b5i26cca0557590e9cd@mail.gmail.com> <20070309075120.9879.GERARD-SEIBERT@seibercom.net> X-Mailer: Claws Mail 2.8.0 (GTK+ 2.10.9; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: DEFAULT CFLAGS SETTING X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 14:20:45 -0000 On Fri, 09 Mar 2007 07:53:00 -0500 Gerard wrote: > On Thursday March 08, 2007 at 07:45:06 (PM) Christian Walther wrote: > > > > CFLAGS can be defined in /etc/make.conf > > My CFLAGS is set to -O2 -pipe. You might want to take a look at > > CPUTYPE, too. This can be set to match your CPU type, which means > > you'll get the most of it. > > You can find some examples in /usr/share/examples/etc/make.conf > > Thanks, but that is not exactly what I was looking for. I was > attempting to find out what the default setting is in FreeBSD-6.2. I > heard it was '02' but I have not been able to confirm that. > In my case: $ make -V CFLAGS -O2 -fno-strict-aliasing -pipe -march=athlon-mp but run it on your own machine as it depends on what you set as CPUTYPE in make.conf From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 14:43:41 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 89C5916A400 for ; Fri, 9 Mar 2007 14:43:41 +0000 (UTC) (envelope-from djdexter@gmail.com) Received: from smtp03.bis.na.blackberry.com (smtp03.bis.na.blackberry.com [216.9.248.50]) by mx1.freebsd.org (Postfix) with ESMTP id 4A4A513C47E for ; Fri, 9 Mar 2007 14:43:41 +0000 (UTC) (envelope-from djdexter@gmail.com) Message-ID: <672088590-1173451417-cardhu_blackberry.rim.net-718110825-@bxe029-cell01.bisx.prod.on.blackberry> Content-Transfer-Encoding: base64 References: <45F165CA.3090401@waywood.co.uk> In-Reply-To: <45F165CA.3090401@waywood.co.uk> Sensitivity: Normal Importance: Normal To: freebsd-questions@freebsd.org From: "=?UTF-8?B?ZGV4?=" Date: Fri, 9 Mar 2007 14:43:30 +0000 Content-type: text/plain MIME-Version: 1.0 Subject: Re: PERC 3/DC RAID controller X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: djdexter@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 14:43:41 -0000 SSdtIG5vdCBzdXJlIGlmIHRoaXMgaGVscHMsIGJ1dCBJJ3ZlIGJlZW4gd29ya2luZyB3aXRoIEZy ZWVCU0Qgb24gZGVsbCBoYXJkd2FyZSBvZiBhbGwga2luZHMgZm9yIG1hbnkgeWVhcnMgYW5kIGhh dmUgbm90IGhhZCBhIHByb2JsZW0gd2l0aCBhIFBFUkMgY29udHJvbGxlci4gVGhlIGVhc2llc3Qg d2F5IHRvIHNlZSBpcyBib290IGZyb20gdGhlIGluc3RhbGwgQ0QgYW5kIHN0YXJ0IGEgc3RhbmRh cmQgaW5zdGFsbC4gIEl0IHdpbGwgZXJyb3IgaWYgaXQgZG9lc24ndCByZWNvZ25pemUgYW55IGRy aXZlcy4gDQogIA0KDQotLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTogQmFybmFieSBT Y290dCA8YmRzQHdheXdvb2QuY28udWs+DQpEYXRlOiBGcmksIDA5IE1hciAyMDA3IDEzOjQ4OjU4 IA0KVG86ZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmcNClN1YmplY3Q6IFBFUkMgMy9EQyBS QUlEIGNvbnRyb2xsZXINCg0KSSBoYXZlIHJlY2VudGx5IGFxdWlyZWQgYSBzZXJ2ZXIgd2hpY2gg aXMgYSBEZWxsIFBvd2VyRWRnZSA0NjAwIHdpdGggYQ0KUEVSQyAzL0RDIFJBSUQgY29udHJvbGxl ci4gSSB3YXMganVzdCBhYm91dCB0byBzdGFydCBpbnRhbGxpbmcgRnJlZUJTRA0KNi4yLCBidXQg bm90aWNlZCB0aGUgaGFyZHdhcmUgbm90ZXMgbWVudGlvbnMgcHJhY3RpY2FsbHkgZXZlcnkgb3Ro ZXINCkRlbGwgUkFJRCBjb250cm9sbGVyIGV4Y2VwdCB0aGlzIG9uZSEgRG9lcyBhbnlvbmUga25v dyBpZiBpdCB3aWxsIHdvcms/DQoNCkkgaGF2ZSBhIGhvcnJpYmxlIHN1c3BpY2lvbiBJIHdpbGwg YmUgYmFjayB3aXRoIHBsZW50eSBvZiBxdWVzdGlvbnMgaW4gDQp0aGUgY29taW5nIHdlZWtzIGFz IEkgd3Jlc3RsZSB3aXRoIHRoaXMsIG15IGZpcnN0IGV2ZXIgc2VydmVyLCBhbmQgbXkgDQpmaXJz dCAnZm9yIHJlYWwnIHVzZSBvZiBGcmVlQlNEISBIb3dldmVyIEkgYW0gcmVhZGluZyBhbGwgSSBj YW4sIA0KZXNwZWNpYWxseSB0aGUgRnJlZUJTRCBoYW5kYm9vay4NCg0KVGhhbmtzDQoNCkJhcm5h YnkgU2NvdHQNCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f DQpmcmVlYnNkLXF1ZXN0aW9uc0BmcmVlYnNkLm9yZyBtYWlsaW5nIGxpc3QNCmh0dHA6Ly9saXN0 cy5mcmVlYnNkLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2ZyZWVic2QtcXVlc3Rpb25zDQpUbyB1bnN1 YnNjcmliZSwgc2VuZCBhbnkgbWFpbCB0byAiZnJlZWJzZC1xdWVzdGlvbnMtdW5zdWJzY3JpYmVA ZnJlZWJzZC5vcmciDQo= From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 14:47:34 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 471D716A407 for ; Fri, 9 Mar 2007 14:47:34 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id 17C5A13C4B2 for ; Fri, 9 Mar 2007 14:47:33 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from gumby.homeunix.com (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 37F3B5197F for ; Fri, 9 Mar 2007 09:47:32 -0500 (EST) Date: Fri, 9 Mar 2007 14:47:30 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20070309144730.30ac6aba@gumby.homeunix.com> In-Reply-To: <45F0EAF2.2010303@u.washington.edu> References: <989294.46444.qm@web34411.mail.mud.yahoo.com> <14989d6e0703081645q9b555b5i26cca0557590e9cd@mail.gmail.com> <45F0EAF2.2010303@u.washington.edu> X-Mailer: Claws Mail 2.8.0 (GTK+ 2.10.9; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: DEFAULT CFLAGS SETTING X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 14:47:34 -0000 On Thu, 08 Mar 2007 21:04:50 -0800 Garrett Cooper wrote: > Christian Walther wrote: > > On 08/03/07, White Hat wrote: > >> What is the default CFLAGS setting in FBSD-6.2 and would it > >> improve performance any to set > >> > >> CFLAGS=Os > >> > >> as opposed to the default setting? > >> > > CFLAGS can be defined in /etc/make.conf > > My CFLAGS is set to -O2 -pipe. Note that by explicitly defining CFLAGS, you override the -fno-strict-aliasing that's set by default. FreeBSD provides sensible defaults for all of these things, based on CPUTYPE. > As mentioned when I asked the question a while back, be careful about > how you "optimize" freebsd. >... > I was told to add -fno-strict-aliasing, From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 15:00:57 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0A09416A401 for ; Fri, 9 Mar 2007 15:00:57 +0000 (UTC) (envelope-from dima.sorkin@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.231]) by mx1.freebsd.org (Postfix) with ESMTP id B5F8B13C442 for ; Fri, 9 Mar 2007 15:00:56 +0000 (UTC) (envelope-from dima.sorkin@gmail.com) Received: by wr-out-0506.google.com with SMTP id i30so1308227wra for ; Fri, 09 Mar 2007 07:00:56 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=f2fJGHgZxKdTicXRubAN/o5pHE81S5pCTSHh5QjuzctD6gmiXwsvVligdV7DABOBQqk37DPQUZrdFcuEtrjPw3OzrHdcpetiAlVW1JJkQF+Ih/BcImDRYNPInjPcj3T7FaQyBHQsaMie1XfjEAkBR0VF7lijPJb1b+yNy5cEejs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=cAL021bMy2yAWgAmdfDURsq1JeUfV6VJIK6Wr3hJLuIh7OgbevBGsU6XJYll1TLwniuCuDMGD8OEfwnFm38kJmkETgx5UKjCIJ1SSqYpUqXCCbIua22CinPEF44t914gfNB4Mcfh+ZsHvwG8PDosgCT3wAS8cwmuYJYz1BQgO2M= Received: by 10.114.25.3 with SMTP id 3mr574778way.1173450767489; Fri, 09 Mar 2007 06:32:47 -0800 (PST) Received: by 10.114.184.11 with HTTP; Fri, 9 Mar 2007 06:32:47 -0800 (PST) Message-ID: Date: Fri, 9 Mar 2007 16:32:47 +0200 From: "Dima Sorkin" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: limitiation on memory allocation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 15:00:57 -0000 Hi. On FreeBSD 6.2 i386 with 2GB of physical memory I can't allocate more than 500Mb for my program. I'm a new to FreeBSD. Is this limitatin is something known, how do I overcome it ? (On linuxes I can allocate arrays of size close to sum of physical and swap memory, on similar machines) Thank you and regards, Dima. $ top ... Mem: 65M Active, 357M Inact, 142M Wired, 404K Cache, 112M Buf, 1437M Free Swap: 4070M Total, 4070M Free ... test code: ------------------------------------------------------- #include #include const unsigned M = 1024*1024; const unsigned X = 510; // will fail with X > 510 int main() { std::vector huge_v1(X*M); // fails in both ways // boost::shared_array huge( new char[X*M] ); } ------------------------------------------------------- From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 15:30:45 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9E25016A40A for ; Fri, 9 Mar 2007 15:30:45 +0000 (UTC) (envelope-from david.robillard@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.227]) by mx1.freebsd.org (Postfix) with ESMTP id 4BC0513C4C4 for ; Fri, 9 Mar 2007 15:30:45 +0000 (UTC) (envelope-from david.robillard@gmail.com) Received: by nz-out-0506.google.com with SMTP id r28so716653nza for ; Fri, 09 Mar 2007 07:30:44 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=aRV5bGIus9/Y99M+QlDD+ICuBL6oXazQ+XZcuQSpMOgYyoeOI0cebqy50rK8c9ny3J2uML0gLwPLVF3gDdkLtiDU3c40ZIqp9NTHJYXH3BbaqYA4O3Dwxlq6ldTTIER//RHGCjtI3DjfR3gjMGOISrTQzIs667HcAjgn1s13ojk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=QdJzEol1aqUB8cE+0rJgZ3BJq7zaE/6X/mMxnyRsI7B/zSwOLj4t4wOkLgVp4HiVhPD05tGaafn+lIYui+VHTktOjF5r55LkRJEZ1010C90NN6+BBi/eojJbFqJCHe+EJv+i5NjZDejfNmRcqt7MBRItVDojQ47QtlKI+leIMaE= Received: by 10.65.213.4 with SMTP id p4mr2916600qbq.1173454244575; Fri, 09 Mar 2007 07:30:44 -0800 (PST) Received: by 10.64.210.7 with HTTP; Fri, 9 Mar 2007 07:30:44 -0800 (PST) Message-ID: <226ae0c60703090730n12678b0cwfb5cf4e80f2dbeb3@mail.gmail.com> Date: Fri, 9 Mar 2007 10:30:44 -0500 From: "David Robillard" To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Jerry McAllister Subject: Re: remote install of 6.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 15:30:45 -0000 > I have a remote machine running 4.8-p21. The system has two disks in > it, but only one is used on a daily basis (the other is filled via dd > every now and then). > > I want to get this remote machine running 6.2, so I figured I'ld > install the new OS on the second disk, then boot off the second disk, > leaving the original first disk with all the user data on it (plus as > a way to back out). > > When I try to use /stand/sysinstall for this it seg-faults > early in the installation, but after the "Commit" step. Hi Jerry, If you have a 6.2 machine handy, you can create dump files of each filesystem using dump(8), cpio(1) or pax(1) or whatever you're used to. Ship those dump files to your 4.8 machine via scp(1). Then use bsdlabel(8) to partition your second hard disk (the one you whish to install 6.2 on). Create filesystems on those new partitions. Mount those new filesystems into a chroot, for example /mnt/root, /mnt/usr, /mnt/var, etc. Then extract your dump files onto those new partitions. Don't forget to install a boot block on your disk with `bsdlabel -B` or with boot0cfg(8). That should do it. If you need more detailed step-by-step instructions, just say so, I'll send something on the list. Have fun, David -- David Robillard UNIX systems administrator & Oracle DBA CISSP, RHCE & Sun Certified Security Administrator Montreal: +1 514 966 0122 From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 15:31:36 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2428016A402 for ; Fri, 9 Mar 2007 15:31:36 +0000 (UTC) (envelope-from mailing_list@planet.nl) Received: from psmtp04.wxs.nl (psmtp04.wxs.nl [195.121.247.13]) by mx1.freebsd.org (Postfix) with ESMTP id DAC2313C481 for ; Fri, 9 Mar 2007 15:31:35 +0000 (UTC) (envelope-from mailing_list@planet.nl) Received: from [192.168.0.141] ([80.60.30.253]) by psmtp04.wxs.nl (iPlanet Messaging Server 5.2 HotFix 2.15 (built Nov 14 2006)) with ESMTP id <0JEN0002B74MPO@psmtp04.wxs.nl> for freebsd-questions@freebsd.org; Fri, 09 Mar 2007 16:31:34 +0100 (MET) Date: Fri, 09 Mar 2007 16:31:32 +0100 From: Aniruddha In-reply-to: <0740B9A6C3639441850D84E94767945C01E58F09@DMM00038.link2.gpn.gov.uk> To: Harrison Peter CSA BIRKENHEAD Message-id: <45F17DD4.7090401@planet.nl> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT User-Agent: Thunderbird 1.5.0.10 (X11/20070303) References: <0740B9A6C3639441850D84E94767945C01E58F09@DMM00038.link2.gpn.gov.uk> Cc: freebsd-questions@freebsd.org Subject: Re: Help needed syncing Palm Treo 650 with FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 15:31:36 -0000 Harrison Peter CSA BIRKENHEAD wrote: > You may want to check out devfs.rules(5) for changing permissions on > hotplug devices. > That said, I do use a similar entry in usbd.conf to spawn pppd when I connect my Tungsten E. With that I find I need to add a "sleep 2;" to the beginning of the 'attach' line or the following command fails because the device nodes aren't set up quickly enough. > > HTH. > > Peter Harrison > > > > Thanks for your help :-) . You mean like this? device "Palm" devname "ucom[0-9]*" sleep 2; attach "chmod 0666 /dev/ucom* /dev/ttyU* /dev/cuaU*"/ From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 15:36:30 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7319916A406 for ; Fri, 9 Mar 2007 15:36:30 +0000 (UTC) (envelope-from PETER.HARRISON@dwp.gsi.gov.uk) Received: from mail67.messagelabs.com (mail67.messagelabs.com [193.109.254.83]) by mx1.freebsd.org (Postfix) with SMTP id D831713C441 for ; Fri, 9 Mar 2007 15:36:29 +0000 (UTC) (envelope-from PETER.HARRISON@dwp.gsi.gov.uk) X-VirusChecked: Checked X-Env-Sender: PETER.HARRISON@dwp.gsi.gov.uk X-Msg-Ref: server-4.tower-67.messagelabs.com!1173454588!14842672!1 X-StarScan-Version: 5.5.10.7.1; banners=dwp.gsi.gov.uk,-,- X-Originating-IP: [62.25.106.208] Received: (qmail 28244 invoked from network); 9 Mar 2007 15:36:28 -0000 Received: from gateway-102.energis.gsi.gov.uk (HELO mx.hosting-w.gsi.gov.uk) (62.25.106.208) by server-4.tower-67.messagelabs.com with SMTP; 9 Mar 2007 15:36:28 -0000 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Date: Fri, 9 Mar 2007 15:35:07 -0000 Message-ID: <0740B9A6C3639441850D84E94767945C01E58F0B@DMM00038.link2.gpn.gov.uk> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Help needed syncing Palm Treo 650 with FreeBSD Thread-Index: AcdiX9q5Dw8uUfoBSkOONoPNb9E3KwAABiXw From: "Harrison Peter CSA BIRKENHEAD" To: "Aniruddha" X-OriginalArrivalTime: 09 Mar 2007 15:35:06.0426 (UTC) FILETIME=[836671A0:01C76260] Cc: freebsd-questions@freebsd.org Subject: RE: Help needed syncing Palm Treo 650 with FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 15:36:30 -0000 >-----Original=20Message----- >From:=20Aniruddha=20[mailto:mailing_list@planet.nl] >Sent:=2009=20March=202007=2015:32 >To:=20Harrison=20Peter=20CSA=20BIRKENHEAD >Cc:=20freebsd-questions@freebsd.org >Subject:=20Re:=20Help=20needed=20syncing=20Palm=20Treo=20650=20with=20Fre= eBSD > > >Harrison=20Peter=20CSA=20BIRKENHEAD=20wrote: >>=20You=20may=20want=20to=20check=20out=20devfs.rules(5)=20for=20changing= =20permissions=20on=20 >>=20hotplug=20devices. >>=20That=20said,=20I=20do=20use=20a=20similar=20entry=20in=20usbd.conf=20= to=20spawn=20 >pppd=20when=20I=20connect=20my=20Tungsten=20E.=20With=20that=20I=20find=20= I=20need=20to=20 >add=20a=20"sleep=202;"=20to=20the=20beginning=20of=20the=20'attach'=20lin= e=20or=20the=20 >following=20command=20fails=20because=20the=20device=20nodes=20aren't=20s= et=20up=20 >quickly=20enough. >> >>=20HTH. >> >>=20Peter=20Harrison=20 >> >> >> >>=20=20=20 > >Thanks=20for=20your=20help=20:-)=20.=20You=20mean=20like=20this? > >device=20"Palm" >=20=20=20=20=20=20=20devname=20=20"ucom[0-9]*" >=20=20=20=20=20=20=20sleep=202;=20attach=20"chmod=200666=20/dev/ucom*=20/= dev/ttyU*=20/dev/cuaU*"/ > > Sorry,=20that's=20me=20not=20making=20myself=20clear. I=20mean=20like=20this: device=20"Palm" =09devname=20"ucom[0-9]*" =09attach=20"sleep=202;=20chmod=200666=20/dev/ttyU*" But=20like=20I=20said,=20devfs.rules=20is=20really=20designed=20for=20this= =20kind=20of=20thing. HTH. Peter=20Harrison. > >PLEASE=20NOTE:=20THE=20ABOVE=20MESSAGE=20WAS=20RECEIVED=20FROM=20THE=20IN= TERNET. >On=20entering=20the=20GSI,=20this=20email=20was=20scanned=20for=20viruses= =20by=20the=20 >Government=20Secure=20Intranet=20(GSi)=20virus=20scanning=20service=20 >supplied=20exclusively=20by=20Cable=20&=20Wireless=20in=20partnership=20w= ith=20 >MessageLabs. >In=20case=20of=20problems,=20please=20call=20your=20organisational=20IT=20= Helpdesk. >The=20MessageLabs=20Anti=20Virus=20Service=20is=20the=20first=20managed=20= >service=20to=20achieve=20the=20CSIA=20Claims=20Tested=20Mark=20(CCTM=20 >Certificate=20Number=202006/04/0007),=20the=20UK=20Government=20quality=20= >mark=20initiative=20for=20information=20security=20products=20and=20 >services.=20=20For=20more=20information=20about=20this=20please=20visit=20= www.cctmark.gov.uk ********************************************************************** This=20document=20is=20strictly=20confidential=20and=20is=20intended=20onl= y=20for=20use=20by=20the=20addressee.=20 If=20you=20are=20not=20the=20intended=20recipient,=20any=20disclosure,=20c= opying,=20distribution=20or=20other=20 action=20taken=20in=20reliance=20of=20the=20information=20contained=20in=20= this=20e-mail=20is=20strictly=20prohibited. Any=20views=20expressed=20by=20the=20sender=20of=20this=20message=20are=20= not=20necessarily=20those=20of=20the=20Department=20 for=20Work=20and=20Pensions. If=20you=20have=20received=20this=20transmission=20in=20error,=20please=20= use=20the=20reply=20function=20to=20tell=20us=20 and=20then=20permanently=20delete=20what=20you=20have=20received. Please=20note:=20Incoming=20and=20outgoing=20e-mail=20messages=20are=20rou= tinely=20monitored=20for=20compliance=20 with=20our=20policy=20on=20the=20use=20of=20electronic=20communications. ********************************************************************** The=20original=20of=20this=20email=20was=20scanned=20for=20viruses=20by=20= Government=20Secure=20Intranet=20(GSi)=20=20virus=20scanning=20service=20s= upplied=20exclusively=20by=20Cable=20&=20Wireless=20in=20partnership=20wit= h=20MessageLabs. On=20leaving=20the=20GSI=20this=20email=20was=20certified=20virus=20free. The=20MessageLabs=20Anti=20Virus=20Service=20is=20the=20first=20managed=20= service=20to=20achieve=20the=20CSIA=20Claims=20Tested=20Mark=20(CCTM=20Cer= tificate=20Number=202006/04/0007),=20the=20UK=20Government=20quality=20mar= k=20initiative=20for=20information=20security=20products=20and=20services.= =20=20For=20more=20information=20about=20this=20please=20visit=20www.cctma= rk.gov.uk From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 15:39:39 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3797716A40B for ; Fri, 9 Mar 2007 15:39:39 +0000 (UTC) (envelope-from anonymous@vps.swebloo.com) Received: from vps.swebloo.com (vps.swebloo.com [64.131.65.50]) by mx1.freebsd.org (Postfix) with ESMTP id DE87313C4B5 for ; Fri, 9 Mar 2007 15:39:38 +0000 (UTC) (envelope-from anonymous@vps.swebloo.com) Received: (qmail 20022 invoked by uid 48); 9 Mar 2007 16:12:53 +0100 Date: 9 Mar 2007 16:12:53 +0100 Message-ID: <20070309151253.20021.qmail@vps.swebloo.com> To: questions@freebsd.org From: Arizona State Credit Union MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Last Reminder: Your account is suspended for security reasons! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 15:39:39 -0000 Dear Customer, You have a new inbox message on Arizona State Credit Union. To read the message, click the message's subject to access your account. Warning: Ignoring this message will get your account erased from our database. Note: New security alert! Date-Time Subject Category 3/09/2007 [1][message_alert.gif] Your account is suspended for security reasons! Alert _________________________________________________________________ 1998-2007 Arizona State Credit Union. All Rights Reserved. [2]Privacy Statement [3]Service Agreement Arizona State Credit Union, Member FDIC, Equal Housing Lender. Serving DuPage, Kane, Kendall and Will Counties, Phoenix, AZ 85005-6637 Arizona State Credit Union Email ID AZSTCU91429. References 1. http://www.arizonastatecu.nanimo.org/signin/onlineserv/HB/index.html 2. https://www.azstcu.org/privacy-legal/index.shtml 3. https://www.azstcu.org/privacy-legal/index.shtml From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 15:51:19 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 17A5516A401 for ; Fri, 9 Mar 2007 15:51:19 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (dsl081-227-250.chi1.dsl.speakeasy.net [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id AD37713C441 for ; Fri, 9 Mar 2007 15:51:16 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.12.11) with ESMTP id l29FopCW026494; Fri, 9 Mar 2007 09:50:52 -0600 (CST) Message-Id: <6.0.0.22.2.20070309094909.024c9dd0@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Fri, 09 Mar 2007 09:50:42 -0600 To: "Dima Sorkin" , freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: References: Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: limitiation on memory allocation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 15:51:19 -0000 check out your sysctl values. man sysctl for more information. -Derek At 08:32 AM 3/9/2007, Dima Sorkin wrote: >Hi. > >On FreeBSD 6.2 i386 with 2GB of physical memory I can't allocate >more than 500Mb for my program. > >I'm a new to FreeBSD. Is this limitatin is something known, >how do I overcome it ? > >(On linuxes I can allocate arrays of size close to sum >of physical and swap memory, on similar machines) > >Thank you and regards, >Dima. > >$ top >... >Mem: 65M Active, 357M Inact, 142M Wired, 404K Cache, 112M Buf, 1437M Free >Swap: 4070M Total, 4070M Free >... > >test code: >------------------------------------------------------- >#include >#include > >const unsigned M = 1024*1024; >const unsigned X = 510; // will fail with X > 510 > >int main() { > std::vector huge_v1(X*M); // fails in both ways > // boost::shared_array huge( new char[X*M] ); >} >------------------------------------------------------- >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. >MailScanner thanks transtec Computers for their support. > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 16:00:44 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AAF8A16A400 for ; Fri, 9 Mar 2007 16:00:44 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.10]) by mx1.freebsd.org (Postfix) with ESMTP id 838DD13C467 for ; Fri, 9 Mar 2007 16:00:44 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 26005 invoked from network); 9 Mar 2007 16:00:43 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 9 Mar 2007 16:00:43 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 5451128431; Fri, 9 Mar 2007 11:00:42 -0500 (EST) To: Gerard Seibert References: <20070308085511.1ECA.GERARD@seibercom.net> <6.0.0.22.2.20070308084942.0247a948@mail.computinginnovations.com> <20070308100752.3884e0a6@localhost> From: Lowell Gilbert Date: Fri, 09 Mar 2007 11:00:42 -0500 In-Reply-To: <20070308100752.3884e0a6@localhost> (Gerard Seibert's message of "Thu\, 8 Mar 2007 10\:07\:52 -0500") Message-ID: <44649aflud.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Running script from rc.d as local user X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 16:00:44 -0000 Gerard Seibert writes: > On Thu, 08 Mar 2007 08:52:20 -0600 > Derek Ragona wrote: >> You should add a line: >> /usr/bin/su [to your username] > > OK, I'll try that. A way to do this without needing special permissions to touch system files is to use cron; it has an "@reboot" time specification for this purpose. From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 16:11:35 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9AF5916A400 for ; Fri, 9 Mar 2007 16:11:35 +0000 (UTC) (envelope-from mailing_list@planet.nl) Received: from smtp16.wxs.nl (smtp16.wxs.nl [195.121.247.7]) by mx1.freebsd.org (Postfix) with ESMTP id 6156B13C467 for ; Fri, 9 Mar 2007 16:11:35 +0000 (UTC) (envelope-from mailing_list@planet.nl) Received: from [192.168.0.141] ([80.60.30.253]) by smtp16.wxs.nl (iPlanet Messaging Server 5.2 HotFix 2.15 (built Nov 14 2006)) with ESMTP id <0JEN008WT8ZAB3@smtp16.wxs.nl> for freebsd-questions@freebsd.org; Fri, 09 Mar 2007 17:11:34 +0100 (CET) Date: Fri, 09 Mar 2007 17:11:32 +0100 From: Aniruddha In-reply-to: <0740B9A6C3639441850D84E94767945C01E58F0B@DMM00038.link2.gpn.gov.uk> To: Harrison Peter CSA BIRKENHEAD Message-id: <45F18734.5000302@planet.nl> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT User-Agent: Thunderbird 1.5.0.10 (X11/20070303) References: <0740B9A6C3639441850D84E94767945C01E58F0B@DMM00038.link2.gpn.gov.uk> Cc: freebsd-questions@freebsd.org Subject: Re: Help needed syncing Palm Treo 650 with FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 16:11:35 -0000 Harrison Peter CSA BIRKENHEAD wrote: > Sorry, that's me not making myself clear. > I mean like this: > > device "Palm" > devname "ucom[0-9]*" > attach "sleep 2; chmod 0666 /dev/ttyU*" > > But like I said, devfs.rules is really designed for this kind of thing. > > > HTH. > > > Peter Harrison. > > > Sorry, but I must ask you again :-[ . You mean adding this to devfs.rules? device "Palm" devname "ucom[0-9]*" attach "sleep 2; chmod 0666 /dev/ttyU*" From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 16:18:59 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9876016A405 for ; Fri, 9 Mar 2007 16:18:59 +0000 (UTC) (envelope-from PETER.HARRISON@dwp.gsi.gov.uk) Received: from mail39.messagelabs.com (mail39.messagelabs.com [193.109.254.243]) by mx1.freebsd.org (Postfix) with SMTP id 0F71513C4B9 for ; Fri, 9 Mar 2007 16:18:58 +0000 (UTC) (envelope-from PETER.HARRISON@dwp.gsi.gov.uk) X-VirusChecked: Checked X-Env-Sender: PETER.HARRISON@dwp.gsi.gov.uk X-Msg-Ref: server-6.tower-39.messagelabs.com!1173457137!18418035!1 X-StarScan-Version: 5.5.10.7.1; banners=dwp.gsi.gov.uk,-,- X-Originating-IP: [62.25.106.208] Received: (qmail 2482 invoked from network); 9 Mar 2007 16:18:57 -0000 Received: from gateway-102.energis.gsi.gov.uk (HELO mx.hosting-w.gsi.gov.uk) (62.25.106.208) by server-6.tower-39.messagelabs.com with SMTP; 9 Mar 2007 16:18:57 -0000 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Date: Fri, 9 Mar 2007 16:17:35 -0000 Message-ID: <0740B9A6C3639441850D84E94767945C02EAAC23@DMM00038.link2.gpn.gov.uk> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Help needed syncing Palm Treo 650 with FreeBSD Thread-Index: AcdiZXIzHw2OZ1EhQaSSJVetYIeOWQAAKATQ From: "Harrison Peter CSA BIRKENHEAD" To: "Aniruddha" X-OriginalArrivalTime: 09 Mar 2007 16:17:35.0974 (UTC) FILETIME=[730C9860:01C76266] Cc: freebsd-questions@freebsd.org Subject: RE: Help needed syncing Palm Treo 650 with FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 16:18:59 -0000 >-----Original=20Message----- >From:=20Aniruddha=20[mailto:mailing_list@planet.nl] >Sent:=2009=20March=202007=2016:12 >To:=20Harrison=20Peter=20CSA=20BIRKENHEAD >Cc:=20freebsd-questions@freebsd.org >Subject:=20Re:=20Help=20needed=20syncing=20Palm=20Treo=20650=20with=20Fre= eBSD > > >Harrison=20Peter=20CSA=20BIRKENHEAD=20wrote: >>=20Sorry,=20that's=20me=20not=20making=20myself=20clear. >>=20I=20mean=20like=20this: >> >>=20device=20"Palm" >>=20=09devname=20"ucom[0-9]*" >>=20=09attach=20"sleep=202;=20chmod=200666=20/dev/ttyU*" >> >>=20But=20like=20I=20said,=20devfs.rules=20is=20really=20designed=20for=20= this=20 >kind=20of=20thing. >> >> >>=20HTH. >> >> >>=20Peter=20Harrison. >> >> >>=20=20=20 >Sorry,=20but=20I=20must=20ask=20you=20again=20:-[=20.=20You=20mean=20addi= ng=20this=20to=20 >devfs.rules? > >device=20"Palm" >=09devname=20"ucom[0-9]*" >=09attach=20"sleep=202;=20chmod=200666=20/dev/ttyU*" > No,=20that's=20the=20syntax=20for=20usbd.conf=20-=20which=20should=20work=20= but=20is=20not=20the=20'preferred'=20way=20of=20doing=20it. I'll=20check=20my=20devfs.rules=20file=20over=20the=20weekend=20and=20emai= l=20you=20again=20with=20the=20syntax=20for=20that. Peter=20Harrison. ********************************************************************** This=20document=20is=20strictly=20confidential=20and=20is=20intended=20onl= y=20for=20use=20by=20the=20addressee.=20 If=20you=20are=20not=20the=20intended=20recipient,=20any=20disclosure,=20c= opying,=20distribution=20or=20other=20 action=20taken=20in=20reliance=20of=20the=20information=20contained=20in=20= this=20e-mail=20is=20strictly=20prohibited. Any=20views=20expressed=20by=20the=20sender=20of=20this=20message=20are=20= not=20necessarily=20those=20of=20the=20Department=20 for=20Work=20and=20Pensions. If=20you=20have=20received=20this=20transmission=20in=20error,=20please=20= use=20the=20reply=20function=20to=20tell=20us=20 and=20then=20permanently=20delete=20what=20you=20have=20received. Please=20note:=20Incoming=20and=20outgoing=20e-mail=20messages=20are=20rou= tinely=20monitored=20for=20compliance=20 with=20our=20policy=20on=20the=20use=20of=20electronic=20communications. ********************************************************************** The=20original=20of=20this=20email=20was=20scanned=20for=20viruses=20by=20= Government=20Secure=20Intranet=20(GSi)=20=20virus=20scanning=20service=20s= upplied=20exclusively=20by=20Cable=20&=20Wireless=20in=20partnership=20wit= h=20MessageLabs. On=20leaving=20the=20GSI=20this=20email=20was=20certified=20virus=20free. The=20MessageLabs=20Anti=20Virus=20Service=20is=20the=20first=20managed=20= service=20to=20achieve=20the=20CSIA=20Claims=20Tested=20Mark=20(CCTM=20Cer= tificate=20Number=202006/04/0007),=20the=20UK=20Government=20quality=20mar= k=20initiative=20for=20information=20security=20products=20and=20services.= =20=20For=20more=20information=20about=20this=20please=20visit=20www.cctma= rk.gov.uk From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 16:22:52 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9D3D816A404 for ; Fri, 9 Mar 2007 16:22:52 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 6235213C491 for ; Fri, 9 Mar 2007 16:22:52 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l29GJpcR031542; Fri, 9 Mar 2007 11:19:51 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l29GJpvw031541; Fri, 9 Mar 2007 11:19:51 -0500 (EST) (envelope-from jerrymc) Date: Fri, 9 Mar 2007 11:19:51 -0500 From: Jerry McAllister To: David Robillard Message-ID: <20070309161951.GD31408@gizmo.acns.msu.edu> References: <226ae0c60703090730n12678b0cwfb5cf4e80f2dbeb3@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <226ae0c60703090730n12678b0cwfb5cf4e80f2dbeb3@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: FreeBSD Questions Subject: Re: remote install of 6.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 16:22:52 -0000 On Fri, Mar 09, 2007 at 10:30:44AM -0500, David Robillard wrote: > >I have a remote machine running 4.8-p21. The system has two disks in > >it, but only one is used on a daily basis (the other is filled via dd > >every now and then). > > > >I want to get this remote machine running 6.2, so I figured I'ld > >install the new OS on the second disk, then boot off the second disk, > >leaving the original first disk with all the user data on it (plus as > >a way to back out). > > > >When I try to use /stand/sysinstall for this it seg-faults > >early in the installation, but after the "Commit" step. > > Hi Jerry, > > If you have a 6.2 machine handy, you can create dump files of each > filesystem using dump(8), cpio(1) or pax(1) or whatever you're used > to. > > Ship those dump files to your 4.8 machine via scp(1). Then use > bsdlabel(8) to partition your second hard disk (the one you whish to > install 6.2 on). Create filesystems on those new partitions. Mount > those new filesystems into a chroot, for example /mnt/root, /mnt/usr, > /mnt/var, etc. Then extract your dump files onto those new partitions. > Don't forget to install a boot block on your disk with `bsdlabel -B` > or with boot0cfg(8). That should do it. > > If you need more detailed step-by-step instructions, just say so, I'll > send something on the list. OK. First, it was someone else who posted. I was one of the responders. That can be a good way of doing it. I have posted a list of steps for doing essentially that (slightly different circumstances) a couple of times in the past. But there is one disadvantage in this particular case. Since the OP is running 4.xx and wants to move to 6.xx, he would probably also want to take advantage of the new UFS2 filesystem improvements. But, if he builds the file system using the 4.xx fdisk and disklabel (before bsdlabel replaced it) then it will use the older file system missing some performance and feature improvements. So, he will want to find a way to fdisk and bsdlabel using a 6.xx system if at all possible. Of course, it is not the end of the world to be stuck with the older file system, but is less than optimal. It would be possible for the person to sort of double up on your suggestion and do a first build with the existing fdisk and bsdlabel and then restore 6.2 dumps. Then build a 6.2 system that can run from memory that includes the essentials such as fdisk, bsdlabel and newfs and tink with booting to boot to that memory system, which would then allow that second disk to remain unmounted or accessed anywhere -- essential for building the file systems. Then use that memory mounted system to build the file systems and finally do the restores from dumps. It should work, but will take some figuring out. The last time I built anything resembling that was back in about FreeBSD 4.9 and I made a file of it and burned it to CD and did the boots from CD. But it should be possible to get it to run from a memory file system. ////jerry > > Have fun, > > David > -- > David Robillard > UNIX systems administrator & Oracle DBA > CISSP, RHCE & Sun Certified Security Administrator > Montreal: +1 514 966 0122 From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 16:31:44 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CF9DB16A402 for ; Fri, 9 Mar 2007 16:31:44 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (www.unsane.co.uk [85.233.185.162]) by mx1.freebsd.org (Postfix) with ESMTP id 40E5213C48D for ; Fri, 9 Mar 2007 16:31:43 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from [192.168.10.217] (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.13.8) with ESMTP id l29GVQw7011506 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 9 Mar 2007 16:31:28 GMT (envelope-from jhary@unsane.co.uk) Message-ID: <45F18BE6.5050206@unsane.co.uk> Date: Fri, 09 Mar 2007 16:31:34 +0000 From: Vince User-Agent: Thunderbird 1.5.0.9 (X11/20070129) MIME-Version: 1.0 To: Harrison Peter CSA BIRKENHEAD References: <0740B9A6C3639441850D84E94767945C02EAAC23@DMM00038.link2.gpn.gov.uk> In-Reply-To: <0740B9A6C3639441850D84E94767945C02EAAC23@DMM00038.link2.gpn.gov.uk> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, Aniruddha Subject: Re: Help needed syncing Palm Treo 650 with FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 16:31:44 -0000 Harrison Peter CSA BIRKENHEAD wrote: >> -----Original Message----- >> From: Aniruddha [mailto:mailing_list@planet.nl] >> Sent: 09 March 2007 16:12 >> To: Harrison Peter CSA BIRKENHEAD >> Cc: freebsd-questions@freebsd.org >> Subject: Re: Help needed syncing Palm Treo 650 with FreeBSD >> >> >> Sorry, but I must ask you again :-[ . You mean adding this to >> devfs.rules? >> >> device "Palm" >> devname "ucom[0-9]*" >> attach "sleep 2; chmod 0666 /dev/ttyU*" >> > > No, that's the syntax for usbd.conf - which should work but is not the 'preferred' way of doing it. > > I'll check my devfs.rules file over the weekend and email you again with the syntax for that. > for devfs.rules add something like [system=10] add path 'ttyU*' mode 0666 to /etc/devfs.rules you also need to add devfs_system_ruleset="system" to rc.conf Vince > > Peter Harrison. > > ********************************************************************** > This document is strictly confidential and is intended only for use by the addressee. > If you are not the intended recipient, any disclosure, copying, distribution or other > action taken in reliance of the information contained in this e-mail is strictly prohibited. > Any views expressed by the sender of this message are not necessarily those of the Department > for Work and Pensions. > If you have received this transmission in error, please use the reply function to tell us > and then permanently delete what you have received. > Please note: Incoming and outgoing e-mail messages are routinely monitored for compliance > with our policy on the use of electronic communications. > ********************************************************************** > > > The original of this email was scanned for viruses by Government Secure Intranet (GSi) virus scanning service supplied exclusively by Cable & Wireless in partnership with MessageLabs. > On leaving the GSI this email was certified virus free. > The MessageLabs Anti Virus Service is the first managed service to achieve the CSIA Claims Tested Mark (CCTM Certificate Number 2006/04/0007), the UK Government quality mark initiative for information security products and services. For more information about this please visit www.cctmark.gov.uk > _______________________________________________ > 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 Mar 9 16:34:20 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6515516A400 for ; Fri, 9 Mar 2007 16:34:20 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 3323A13C47E for ; Fri, 9 Mar 2007 16:34:20 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l29GVJSG031656; Fri, 9 Mar 2007 11:31:19 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l29GVIdu031655; Fri, 9 Mar 2007 11:31:18 -0500 (EST) (envelope-from jerrymc) Date: Fri, 9 Mar 2007 11:31:18 -0500 From: Jerry McAllister To: "Thomas H. Bellus" Message-ID: <20070309163118.GF31408@gizmo.acns.msu.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Install Freebsd 5.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, 09 Mar 2007 16:34:20 -0000 On Thu, Mar 08, 2007 at 04:46:49PM +0100, Thomas H. Bellus wrote: > I have not been able to see the screens for configuring X for my monitor or > video card. I have ver 5.4, I have used both the standard install and the > custom install. I have used the most recent install documents on the > internet and I have a copy of Complete BSD by Greg Lehey. > > I am new to BSD but I want to get this install to work. I can not get > anytype of graphical interface. Well, it is hard to answer for as far back s 5.4. I would suggest, if at all possible, to first download and burn an install CD with 6.2 and then cvsup (csup) that to the latest world and ports, build and install world and kernel and then try again. It is possible that the version of X you are getting is out of sync with the OS you are using. That is only one possibility among others, but is one of the easiest to eliminate by bringing everything up to date. It then makes other possibilities easier to examine also. ////jerry > > Thanks, Thomas H Bellus > > _______________________________________________ > 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 Mar 9 16:39:32 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6506D16A400 for ; Fri, 9 Mar 2007 16:39:32 +0000 (UTC) (envelope-from david.robillard@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.239]) by mx1.freebsd.org (Postfix) with ESMTP id 0EE2D13C441 for ; Fri, 9 Mar 2007 16:39:31 +0000 (UTC) (envelope-from david.robillard@gmail.com) Received: by wr-out-0506.google.com with SMTP id i30so1344441wra for ; Fri, 09 Mar 2007 08:39:31 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HNW0LEhgkJ5ClxwHdFQ4VsaHGrZx/O7jDetIkUrFfNRHcNxoba+xDZ+8laDG4A1IhParcVc+nQCkHM9mnmq9k2afEZ7inTdn2siBQN0RVrZRfIMEx/peCvfVut6VpCcVq1yc9c2FzXyAJ7hugLX+4E2dNh5X0XoOP5Klg8p5G7w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Pll8/L62u/ROcKfR2MExj5Ud/Mm04IkxNufXf76QHuhcJnz55EEZaXrGRXFFD+tNOAXps8B6ZRkALOdM0aPFReWPEnFckR9rmj8gY7n9ZaxFdE3Q0mLWNA2VEYiw/teGG+KuZovXE0nKQXWzQ3CN8VvOSKwHejuq3ym7Sksl2y4= Received: by 10.65.219.1 with SMTP id w1mr3068389qbq.1173458371347; Fri, 09 Mar 2007 08:39:31 -0800 (PST) Received: by 10.64.210.7 with HTTP; Fri, 9 Mar 2007 08:39:31 -0800 (PST) Message-ID: <226ae0c60703090839v60895fa2q4e3787e061d6ada5@mail.gmail.com> Date: Fri, 9 Mar 2007 11:39:31 -0500 From: "David Robillard" To: "Jerry McAllister" In-Reply-To: <20070309161951.GD31408@gizmo.acns.msu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <226ae0c60703090730n12678b0cwfb5cf4e80f2dbeb3@mail.gmail.com> <20070309161951.GD31408@gizmo.acns.msu.edu> Cc: FreeBSD Questions Subject: Re: remote install of 6.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 16:39:32 -0000 > OK. First, it was someone else who posted. I was one of the responders. My mistake! Sorry about this. > That can be a good way of doing it. I have posted a list of steps > for doing essentially that (slightly different circumstances) a > couple of times in the past. > > But there is one disadvantage in this particular case. Since the OP > is running 4.xx and wants to move to 6.xx, he would probably also want > to take advantage of the new UFS2 filesystem improvements. But, if > he builds the file system using the 4.xx fdisk and disklabel (before > bsdlabel replaced it) then it will use the older file system missing > some performance and feature improvements. So, he will want to find > a way to fdisk and bsdlabel using a 6.xx system if at all possible. > > Of course, it is not the end of the world to be stuck with the older > file system, but is less than optimal. > > It would be possible for the person to sort of double up on your > suggestion and do a first build with the existing fdisk and bsdlabel > and then restore 6.2 dumps. Then build a 6.2 system that can run from > memory that includes the essentials such as fdisk, bsdlabel and newfs > and tink with booting to boot to that memory system, which would > then allow that second disk to remain unmounted or accessed anywhere > -- essential for building the file systems. Then use that memory > mounted system to build the file systems and finally do the restores > from dumps. It should work, but will take some figuring out. > > The last time I built anything resembling that was back in > about FreeBSD 4.9 and I made a file of it and burned it to CD and > did the boots from CD. But it should be possible to get it to > run from a memory file system. Indeed, you're absolutely right. An easy way to circumvent this filesystem issue would be to mount the ISO image of a 6.2 install CD as a virtual filesystem and use the binaries from there. This shows you how to proceed: http://www.freebsddiary.org/iso-mount.php Of course, you'll need a fair bit of RAM to do this. There's also this from Colin Percival that can be usefull: http://www.daemonology.net/depenguinator/ HTH, David -- David Robillard UNIX systems administrator & Oracle DBA CISSP, RHCE & Sun Certified Security Administrator Montreal: +1 514 966 0122 From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 16:45:51 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E32CF16A405 for ; Fri, 9 Mar 2007 16:45:51 +0000 (UTC) (envelope-from mailing_list@planet.nl) Received: from smtp19.wxs.nl (smtp19.wxs.nl [195.121.247.10]) by mx1.freebsd.org (Postfix) with ESMTP id AB71E13C441 for ; Fri, 9 Mar 2007 16:45:51 +0000 (UTC) (envelope-from mailing_list@planet.nl) Received: from [192.168.0.141] ([80.60.30.253]) by smtp19.wxs.nl (iPlanet Messaging Server 5.2 HotFix 2.15 (built Nov 14 2006)) with ESMTP id <0JEN00L7SAKDOD@smtp19.wxs.nl> for freebsd-questions@freebsd.org; Fri, 09 Mar 2007 17:45:50 +0100 (CET) Date: Fri, 09 Mar 2007 17:45:49 +0100 From: Aniruddha In-reply-to: <0740B9A6C3639441850D84E94767945C02EAAC23@DMM00038.link2.gpn.gov.uk> To: Harrison Peter CSA BIRKENHEAD Message-id: <45F18F3D.9000609@planet.nl> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT User-Agent: Thunderbird 1.5.0.10 (X11/20070303) References: <0740B9A6C3639441850D84E94767945C02EAAC23@DMM00038.link2.gpn.gov.uk> Cc: freebsd-questions@freebsd.org Subject: Re: Help needed syncing Palm Treo 650 with FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 16:45:52 -0000 Harrison Peter CSA BIRKENHEAD wrote: > > No, that's the syntax for usbd.conf - which should work but is not the 'preferred' way of doing it. > > I'll check my devfs.rules file over the weekend and email you again with the syntax for that. > > > Peter Harrison. > Thank for the effort! Btw I tried adding sleep 2; but this didn't help :-( From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 16:46:53 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0714716A404 for ; Fri, 9 Mar 2007 16:46:53 +0000 (UTC) (envelope-from v.cristescu@lamit.ro) Received: from us1.webdevhost.net (us1.webdevhost.net [69.9.184.234]) by mx1.freebsd.org (Postfix) with ESMTP id 8F8F013C4A3 for ; Fri, 9 Mar 2007 16:46:52 +0000 (UTC) (envelope-from v.cristescu@lamit.ro) Received: from [89.120.201.11] (helo=euclid) by us1.webdevhost.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.52) id 1HPgGp-0002zl-DH for freebsd-questions@freebsd.org; Fri, 09 Mar 2007 16:40:36 +0200 From: Vasile Cristescu Organization: Lamit Company To: freebsd-questions@freebsd.org Date: Fri, 9 Mar 2007 16:40:15 +0200 User-Agent: KMail/1.9.5 References: <010801c7624c$709ecb80$6501a8c0@GRANT> In-Reply-To: <010801c7624c$709ecb80$6501a8c0@GRANT> X-Face: lXpv]'g-TFu,L9@qL3gxsv.; /cs#e.1$s57Hr%_$*kS3a)kk8Rx$>>YCmzcR>=?utf-8?q?=2E-6TJwyOo=0A=09rmTh*d=7D18k?=(d|n21<$a,JXHZJIqjf0{+sIPdi(O_g"m61a7J\UX&Uqw=EM~}|9rS+\y; MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart6784962.X6UvA06RjG"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200703091640.18154.v.cristescu@lamit.ro> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - us1.webdevhost.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - lamit.ro X-Source: X-Source-Args: X-Source-Dir: Subject: Re: zoneinfo FreeBSD 4.4 - 4.11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 16:46:53 -0000 --nextPart6784962.X6UvA06RjG Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 09 March 2007 15:11, Grant Peel wrote: > Hi all, > > I got all my servers playiung nice with the new port for zoneinfo, all but > one which is a simple slave nameserver ruynning FreeBSD 4.4. > > When I installed the port on it, and try to run make, I get this: > > voyager ROOT /usr/gpeel/zoneinfo > make > zoneinfo-: You need to define PORTNAME and PORTVERSION instead of PKGNAME. > (This port is too old for your bsd.port.mk, please update it to match > your bsd.port.mk.) > *** Error code 1 > > Stop. > > I have been reading lots about simply updateing the zone file itself, but > have not been undersztanding what I am seeing. If anyone could simplify, I > would appreciate it. > > -Grant > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Hello, Check /usr/ports/UPDATING : 20070205: AFFECTS: all users of FreeBSD 4.X AUTHOR: portmgr@FreeBSD.org The remnants of FreeBSD 4.X support have been removed from bsd.port.mk. Any remaining users should _not_ get this or any subsequent updates. =2D-=20 Best regards, Vasile Cristescu=09 Server Department Lamit Datacenter www.lamit.ro tel: +40213352206 mob: +40788755463 PGP: http://hosting.lamit.ro/public.key --nextPart6784962.X6UvA06RjG Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBF8XHPfhNtY2GlR8YRAlpzAKCK6L90fI+aXXiz1i5jUSjWg0ZZFACcCuwG Ntj5SOSZqbLTrFFbe8RpQ1o= =8PKk -----END PGP SIGNATURE----- --nextPart6784962.X6UvA06RjG-- From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 16:49:42 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5E8A416A400 for ; Fri, 9 Mar 2007 16:49:42 +0000 (UTC) (envelope-from mailing_list@planet.nl) Received: from smtp15.wxs.nl (smtp15.wxs.nl [195.121.247.6]) by mx1.freebsd.org (Postfix) with ESMTP id 0DCEF13C4B4 for ; Fri, 9 Mar 2007 16:49:41 +0000 (UTC) (envelope-from mailing_list@planet.nl) Received: from [192.168.0.141] ([80.60.30.253]) by smtp15.wxs.nl (iPlanet Messaging Server 5.2 HotFix 2.15 (built Nov 14 2006)) with ESMTP id <0JEN00MFBAQS79@smtp15.wxs.nl> for freebsd-questions@freebsd.org; Fri, 09 Mar 2007 17:49:40 +0100 (CET) Date: Fri, 09 Mar 2007 17:49:39 +0100 From: Aniruddha In-reply-to: <45F0FDA8.6000407@planet.nl> To: Aniruddha Message-id: <45F19023.1040800@planet.nl> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT User-Agent: Thunderbird 1.5.0.10 (X11/20070303) References: <45F0FDA8.6000407@planet.nl> Cc: freebsd-questions@freebsd.org Subject: Re: Help needed syncing Palm Treo 650 with FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 16:49:42 -0000 Aniruddha wrote: > I am trying to get my Palm Treo sync with Jpilot. Unfortunately so far > without results :-( . Who can help me with this? Here's what I tried > so far: > > Added this line to etc/usbd.conf just above the fallthrough entry: > / > device "Palm" > devname "ucom[0-9]*" > attach "chmod 0666 /dev/ucom* /dev/ttyU* /dev/cuaU*"/ > > /kldload ucom > kldload uvisor > / > Filled in this 'adress' in jpilot: > > //dev/ttyU0/ > _______________________________________________ > Here's my dmesg (with my Treo plugged in at boot). Maybe that will help: Copyright (c) 1992-2007 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 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 Processor 4000+ (2403.09-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x20f71 Stepping = 1 Features=0x78bfbff Features2=0x1 AMD Features=0xe2500800 AMD Features2=0x1 real memory = 1073414144 (1023 MB) avail memory = 1033031680 (985 MB) ACPI APIC Table: MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xdc000000-0xdfffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 nvidia0: mem 0xfb000000-0xfbffffff,0xe0000000-0xefffffff,0xfa0 00000-0xfaffffff irq 16 at device 0.0 on pci1 nvidia0: [GIANT-LOCKED] fwohci0: port 0x9400-0x947f mem 0xf9600000-0xf96007ff irq 16 at device 7.0 on pci0 fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:11:d8:00:00:58:84:0d fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:11:d8:58:84:0d fwe0: Ethernet address: 02:11:d8:58:84:0d fwe0: if_start running deferred for Giant sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) atapci0: port 0xa400-0xa43f,0xa000-0xa00f, 0x9800-0x987f mem 0xf9800000-0xf9800fff,0xf9700000-0xf971ffff irq 18 at device 8 .0 on pci0 ata2: on atapci0 ata3: on atapci0 ata4: on atapci0 skc0: port 0xa800-0xa8ff mem 0xf9a00000-0xf9a03fff ir q 17 at device 10.0 on pci0 skc0: Marvell Yukon Lite Gigabit Ethernet rev. (0x9) sk0: on skc0 sk0: Ethernet address: 00:13:d4:9b:6b:c8 miibus0: on sk0 e1000phy0: on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto pci0: at device 14.0 (no driver attached) pci0: at device 14.1 (no driver attached) fwohci1: <1394 Open Host Controller Interface> mem 0xf9c00000-0xf9c007ff,0xf9b00 000-0xf9b03fff irq 16 at device 14.2 on pci0 fwohci1: OHCI version 1.10 (ROM=0) fwohci1: No. of Isochronous channels is 4. fwohci1: EUI64 00:02:3c:01:01:00:e8:de fwohci1: Phy 1394a available S400, 2 ports. fwohci1: Link S400, max_rec 2048 bytes. firewire1: on fwohci1 fwe1: on firewire1 if_fwe1: Fake Ethernet address: 02:02:3c:00:e8:de fwe1: Ethernet address: 02:02:3c:00:e8:de fwe1: if_start running deferred for Giant sbp1: on firewire1 fwohci1: Initiate bus reset fwohci1: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode firewire1: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire1: bus manager 0 (me) atapci1: port 0xd400-0xd407,0xd000-0xd003,0xc800-0 xc807,0xc400-0xc403,0xc000-0xc00f,0xb800-0xb8ff irq 20 at device 15.0 on pci0 ata5: on atapci1 ata6: on atapci1 atapci2: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376, 0xfc00-0xfc0f at device 15.1 on pci0 ata0: on atapci2 ata1: on atapci2 uhci0: port 0xd800-0xd81f irq 21 at device 16.0 on p ci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xe000-0xe01f irq 21 at device 16.1 on p ci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xe400-0xe41f irq 21 at device 16.2 on p ci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xe800-0xe81f irq 21 at device 16.3 on p ci0 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xf9e00000-0xf9e000ff irq 21 at devic e 16.4 on pci0 ehci0: [GIANT-LOCKED] usb4: waiting for BIOS to give up control usb4: timed out waiting for BIOS usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered umass0: Generic USB TO IDE Bridge, rev 2.00/1.00, addr 2 isab0: at device 17.0 on pci0 isa0: on isab0 acpi_button0: on acpi0 acpi_button1: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse Explorer, device ID 4 ppc0: port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 ppbus0: IEEE1284 device found /NIBBLE/ECP/ECP_RLE Probing for PnP devices on ppbus0: ppbus0: PJL,MLC,PCL,PCLXL plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio0: configured irq 3 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on acpi0 sio0: type 16550A sio1: configured irq 4 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 on acpi0 sio1: type 16550A pmtimer0 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 ums0: Microsoft Microsoft 5-Button Mouse with IntelliEye(TM), rev 1.10/3.00, add r 2, iclass 3/1 ums0: 5 buttons and Z dir. uhub5: vendor 0x03eb Standard USB Hub, class 9/0, rev 1.10/3.00, addr 3 uhub5: 4 ports with 4 removable, bus powered ukbd0: Ideazon Zboard, rev 1.10/10.98, addr 4, iclass 3/1 kbd2 at ukbd0 uhid0: Ideazon Zboard, rev 1.10/10.98, addr 4, iclass 3/1 uhid1: vendor 0x046d product 0xc214, rev 1.10/2.05, addr 2, iclass 3/0 uhid1: no report descriptor device_attach: uhid1 attach returned 6 Timecounter "TSC" frequency 2403088786 Hz quality 800 Timecounters tick every 1.000 msec ad0: 305245MB at ata0-master UDMA100 ad1: 239372MB at ata0-slave UDMA133 acd0: FAILURE - SETFEATURES SET TRANSFER MODE timed out acd0: DVDROM at ata1-master BIOSPIO acd1: DVDR at ata1-slave UDMA33 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: 76345MB (156355584 512 byte sectors: 255H 63S/T 9732C) Trying to mount root from ufs:/dev/ad0s2a NVRM: detected agp.ko, aborting NVIDIA AGP setup! From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 16:50:55 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 476C416A402 for ; Fri, 9 Mar 2007 16:50:55 +0000 (UTC) (envelope-from mailing_list@planet.nl) Received: from smtp13.wxs.nl (smtp13.wxs.nl [195.121.247.4]) by mx1.freebsd.org (Postfix) with ESMTP id 100FF13C4A6 for ; Fri, 9 Mar 2007 16:50:55 +0000 (UTC) (envelope-from mailing_list@planet.nl) Received: from [192.168.0.141] ([80.60.30.253]) by smtp13.wxs.nl (iPlanet Messaging Server 5.2 HotFix 2.15 (built Nov 14 2006)) with ESMTP id <0JEN007PQASTET@smtp13.wxs.nl> for freebsd-questions@freebsd.org; Fri, 09 Mar 2007 17:50:54 +0100 (CET) Date: Fri, 09 Mar 2007 17:50:53 +0100 From: Aniruddha In-reply-to: <45F18BE6.5050206@unsane.co.uk> To: Vince Message-id: <45F1906D.3030301@planet.nl> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT User-Agent: Thunderbird 1.5.0.10 (X11/20070303) References: <0740B9A6C3639441850D84E94767945C02EAAC23@DMM00038.link2.gpn.gov.uk> <45F18BE6.5050206@unsane.co.uk> Cc: Harrison Peter CSA BIRKENHEAD , freebsd-questions@freebsd.org Subject: Re: Help needed syncing Palm Treo 650 with FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 16:50:55 -0000 Vince wrote: > for devfs.rules add something like > [system=10] > add path 'ttyU*' mode 0666 > > to /etc/devfs.rules > > you also need to add > devfs_system_ruleset="system" > > to rc.conf > > > Vince > > Ok I will try that :-) From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 16:54:45 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D662016A406 for ; Fri, 9 Mar 2007 16:54:45 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (www.unsane.co.uk [85.233.185.162]) by mx1.freebsd.org (Postfix) with ESMTP id 543F213C4AA for ; Fri, 9 Mar 2007 16:54:45 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from [192.168.10.217] (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.13.8) with ESMTP id l29GsPD6011763 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 9 Mar 2007 16:54:25 GMT (envelope-from jhary@unsane.co.uk) Message-ID: <45F19149.80205@unsane.co.uk> Date: Fri, 09 Mar 2007 16:54:33 +0000 From: Vince User-Agent: Thunderbird 1.5.0.9 (X11/20070129) MIME-Version: 1.0 To: Aniruddha References: <0740B9A6C3639441850D84E94767945C02EAAC23@DMM00038.link2.gpn.gov.uk> <45F18BE6.5050206@unsane.co.uk> <45F1906D.3030301@planet.nl> In-Reply-To: <45F1906D.3030301@planet.nl> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Harrison Peter CSA BIRKENHEAD , freebsd-questions@freebsd.org Subject: Re: Help needed syncing Palm Treo 650 with FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 16:54:45 -0000 Aniruddha wrote: > Vince wrote: >> for devfs.rules add something like >> [system=10] >> add path 'ttyU*' mode 0666 >> >> to /etc/devfs.rules >> >> you also need to add >> devfs_system_ruleset="system" >> >> to rc.conf >> >> >> Vince >> >> > Ok I will try that :-) Oh i forgot to mention you will have to restart devfs afterwards, /etc/rc.d/devfs restart Vince From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 16:56:49 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6074516A403 for ; Fri, 9 Mar 2007 16:56:49 +0000 (UTC) (envelope-from dan@dpcsys.com) Received: from ns.beach.net (ns.beach.net [12.130.64.129]) by mx1.freebsd.org (Postfix) with ESMTP id 4829113C4A5 for ; Fri, 9 Mar 2007 16:56:49 +0000 (UTC) (envelope-from dan@dpcsys.com) Received: from [192.168.1.228] (busarow.beach.net [69.51.81.91] (may be forged)) by ns.beach.net (8.13.7/8.13.7) with ESMTP id l29GumI0081397 for ; Fri, 9 Mar 2007 08:56:48 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <200703091640.18154.v.cristescu@lamit.ro> References: <010801c7624c$709ecb80$6501a8c0@GRANT> <200703091640.18154.v.cristescu@lamit.ro> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <3CA73050-6661-47A5-976F-07DEB390E133@dpcsys.com> Content-Transfer-Encoding: 7bit From: Dan Busarow Date: Fri, 9 Mar 2007 09:56:47 -0700 To: "freebsd-questions@freebsd.org Questions -" X-Mailer: Apple Mail (2.752.2) Subject: Re: zoneinfo FreeBSD 4.4 - 4.11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 16:56:49 -0000 On Mar 9, 2007, at 7:40 AM, Vasile Cristescu wrote: > On Friday 09 March 2007 15:11, Grant Peel wrote: >> Hi all, >> >> I got all my servers playiung nice with the new port for zoneinfo, >> all but >> one which is a simple slave nameserver ruynning FreeBSD 4.4. >> >> When I installed the port on it, and try to run make, I get this: >> >> voyager ROOT /usr/gpeel/zoneinfo > make >> zoneinfo-: You need to define PORTNAME and PORTVERSION instead of >> PKGNAME. >> (This port is too old for your bsd.port.mk, please update it to match >> your bsd.port.mk.) >> *** Error code 1 >> >> Stop. >> >> I have been reading lots about simply updateing the zone file >> itself, but >> have not been undersztanding what I am seeing. If anyone could >> simplify, I >> would appreciate it. >> Grant, Search for an email I sent to the list on 2/22 with Subject Determining daylight savings changes on BSD It has the steps needed to update manually from source. Here's the steps If you can't use the ports to update your time zone files here is the manual procedure. 1. create a new directory and cd into it e.g. # mkdir myzoneinfo; cd myzoneinfo 2. # fetch ftp://elsie.nci.nih.gov/pub/tzdata2007b.tar.gz 3. # tar -zxvf tzdata2007b.tar.gz 4. you will now have a bunch of files in the directory extracted from tzdata2007b. you need to edit zone.tab and comment out these lines #AX +6006+01957 Europe/Mariehamn #GG +4927-00232 Europe/Guernsey #IM +5409-00428 Europe/Isle_of_Man #JE +4912-00207 Europe/Jersey #ME +4226+01916 Europe/Podgorica #RS +4450+02030 Europe/Belgrade #TL -0833+12535 Asia/Dili 5. run this command # zic -d ./zoneinfo -p America/Los_Angeles -m 0644 -y ./yearistype \ africa antarctica asia australasia etcetera europe \ factory northamerica southamerica systemv that's all one long line the zic command will create a new directory named zoneinfo and fill it with the new zoneinfo files. You can compare it to /usr/share/zoneinfo 6. install the new files by running # cp -R -p ./zoneinfo/ /usr/share/zoneinfo # cp ./zone.tab /usr/share/zoneinfo # tzsetup 7. to verify that all went well run # zdump -v /etc/localtime | grep 2007 your should get /etc/localtime Sun Mar 11 09:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 PST isdst=0 gmtoff=-28800 /etc/localtime Sun Mar 11 10:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 PDT isdst=1 gmtoff=-25200 /etc/localtime Sun Nov 4 08:59:59 2007 UTC = Sun Nov 4 01:59:59 2007 PDT isdst=1 gmtoff=-25200 /etc/localtime Sun Nov 4 09:00:00 2007 UTC = Sun Nov 4 01:00:00 2007 PST isdst=0 gmtoff=-28800 I've done this on 1/2 dozen older 4.x and 5.x servers and it works fine. Dan From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 17:02:00 2007 Return-Path: X-Original-To: FreeBSD-questions@FreeBSD.org Delivered-To: FreeBSD-questions@FreeBSD.org Received: by hub.freebsd.org (Postfix, from userid 645) id 84A3D16A405; Fri, 9 Mar 2007 17:02:00 +0000 (UTC) To: FreeBSD-questions@FreeBSD.org Message-Id: <20070309170200.84A3D16A405@hub.freebsd.org> Date: Fri, 9 Mar 2007 17:02:00 +0000 (UTC) From: grog@FreeBSD.ORG (Greg Lehey) Cc: Subject: How to get best results from FreeBSD-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 17:02:00 -0000 How to get the best results from FreeBSD questions. =================================================== Last update $Date: 2005/08/10 02:21:44 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. ===================================================================== Contents: I: Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions or -hackers? IV: How to submit a question to FreeBSD-questions V: How to answer a question to FreeBSD-questions I: Introduction =============== This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the "newcomers"), and also those who answer the questions (the "hackers"). Note that the term "hacker" has nothing to do with breaking into other people's computers. The correct term for the latter activity is "cracker", but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions ============================================== When you subscribed to FreeBSD-questions, you got a welcome message from freebsd-questions-request@FreeBSD.ORG. In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions@freebsd.org mailing list! If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at: http://lists.freebsd.org/mailman/options/freebsd-questions/me@me.org (obviously, substitute your mail address for "me@me.org"). You can also make such adjustments via email by sending a message to: freebsd-questions-request@freebsd.org with the word 'help' in the subject or body (don't include the quotes), and you will get back a message with instructions. You must know your password to change your options (including changing the password, itself) or to unsubscribe. Normally, Mailman will remind you of your freebsd.org mailing list passwords once every month, although you can disable this if you prefer. This reminder will also include instructions on how to unsubscribe or change your account options. There is also a button on your options page that will email your current password to you. Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send "how to" questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as grog@lemis.de. Since then, I have changed it to grog@lemis.com. If I were to try to remove grog@lemis.com from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed to FreeBSD-questions. If that's the case, you'll have to figure out which one it is and get your name taken off that one. If you're not sure which one it might be, check the headers of the messages you receive from freebsd-questions: maybe there's a clue there. If you've done all this, and you still can't figure out what's going on, send a message to Postmaster@FreeBSD.org, and he will sort things out for you. Don't send a message to FreeBSD-questions: they can't help you. III: Should I ask -questions or -hackers? ========================================= Two mailing lists handle general questions about FreeBSD, FreeBSD-questions and FreeBSD-hackers. In some cases, it's not really clear which group you should ask. The following criteria should help for 99% of all questions, however: If the question is of a general nature, first check whether this isn't a Frequently Asked Question (FAQ). There's a list of these questions at http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/index.html, and also on your own system (once you've installed it) at /usr/share/doc/en/books/faq/index.html. Check there, and if you don't find an answer, ask FreeBSD-questions. Examples might be questions about installing FreeBSD or the use of a particular UNIX utility. If you think the question relates to a bug, but you're not sure, or you don't know how to look for it, send the message to FreeBSD-questions. If the question relates to a bug, and you're almost sure that it's a bug (for example, you can pinpoint the place in the code where it happens, and you maybe have a fix), then send the message to FreeBSD-hackers. You should also enter a problem report with the send-pr utility. If the question relates to enhancements to FreeBSD, and you can make suggestions about how to implement them, then send the message to FreeBSD-hackers. If the question is of particularly technical nature, such as implementation details or suggestions for improvements, then send the message to FreeBSD-hackers. There are also a number of other specialized mailing lists, for example FreeBSD-isp, which caters to the interests of ISPs (Internet Service Providers) who run FreeBSD. If you happen to be an ISP, this doesn't mean you should automatically send your questions to FreeBSD-isp. The criteria above still apply, and it's in your interest to stick to them, since you're more likely to get good results that way. IV: How to submit a question ============================= When submitting a question to FreeBSD-questions, consider the following points: 1. Remember that nobody gets paid for answering a FreeBSD question. They do it of their own free will. You can influence this free will positively by submitting a well-formulated question supplying as much relevant information as possible. You can influence this free will negatively by submitting an incomplete, illegible, or rude question. It's perfectly possible to send a message to FreeBSD-questions and not get an answer even if you follow these rules. It's much more possible to not get an answer if you don't. In the rest of this document, we'll look at how to get the most out of your question to FreeBSD-questions. 2. Not everybody who answers FreeBSD questions reads every message: they look at the subject line and decide whether it interests them. Clearly, it's in your interest to specify a subject. ``FreeBSD problem'' or ``Help'' aren't enough. If you provide no subject at all, many people won't bother reading it. If your subject isn't specific enough, the people who can answer it may not read it. 3. When sending a new message, well, send a new message. Don't reply to some other message, erase the old content and change the subject line. That leaves an In-reply-to: header which many mail readers use to thread messages, so your message shows up as a reply to some other message. People often delete messages a whole thread at a time, so apart from irritating people, you also run a chance of having the message deleted unread. 4. Format your message so that it is legible, and PLEASE DON'T SHOUT!!!!!. We appreciate that a lot of people don't speak English as their first language, and we try to make allowances for that, but it's really painful to try to read a message written full of typos or without any line breaks. A lot of badly formatted messages come from bad mailers or badly configured mailers. The following mailers are known to send out badly formatted messages without you finding out about them: Eudora exmh Microsoft Exchange Microsoft Internet Mail Microsoft Outlook Netscape As you can see, the mailers in the Microsoft world are frequent offenders. If at all possible, use a UNIX mailer. If you must use a mailer under Microsoft environments, make sure it is set up correctly. Try not to use MIME: a lot of people use mailers which don't get on very well with MIME. For further information on this subject, check out http://www.lemis.com/email.html. 5. Make sure your time and time zone are set correctly. This may seem a little silly, since your message still gets there, but many of the people you are trying to reach get several hundred messages a day. They frequently sort the incoming messages by subject and by date, and if your message doesn't come before the first answer, they may assume they missed it and not bother to look. 6. Don't include unrelated questions in the same message. Firstly, a long message tends to scare people off, and secondly, it's more difficult to get all the people who can answer all the questions to read the message. 7. Specify as much information as possible. This is a difficult area, and we need to expand on what information you need to submit, but here's a start: If you get error messages, don't say ``I get error messages'', say (for example) ``I get the error message 'No route to host'''. If your system panics, don't say ``My system panicked'', say (for example) ``my system panicked with the message 'free vnode isn't'''. If you have difficulty installing FreeBSD, please tell us what hardware you have. In particular, it's important to know the IRQs and I/O addresses of the boards installed in your machine. If you have difficulty getting PPP to run, describe the configuration. Which version of PPP do you use? What kind of authentication do you have? Do you have a static or dynamic IP address? What kind of messages do you get in the log file? 8. If you don't get an answer immediately, or if you don't even see your own message appear on the list immediately, don't resend the message. Wait at least 24 hours. The FreeBSD mailer offloads messages to a number of subordinate mailers around the world, and sometimes it can take several hours for the mail to get through. And once it gets through, the one person who might know the answer will probably just have gone to bed in his part of the world. 9. If you do all this, and you still don't get an answer, there could be other reasons. For example, the problem is so complicated that nobody knows the answer, or the person who does know the answer was offline. If you don't get an answer after, say, a week, it might help to re-send the message. If you don't get an answer to your second message, though, you're probably not going to get one from this forum. Resending the same message again and again will only make you unpopular. To summarize, let's assume you know the answer to the following question (yes, it's the same one in each case :-). You choose which of these two questions you would be more prepared to answer: Message 1: Subject: (none) I just can't get hits damn silly FereBSD system to workd, and Im really good at this tsuff, but I have never seen anythign sho difficult to install, it jst wont work whatever I try so why don't y9ou guys tell me what I doing wrong. ---------------------------------------------------------------------- Message 2: Subject: Problems installing FreeBSD I've just got the FreeBSD 2.1.5 CD-ROM from Walnut Creek, and I'm having a lot of difficulty installing it. I have a 66 MHz 486 with 16 MB of memory and an Adaptec 1540A SCSI board, a 1.2GB Quantum Fireball disk and a Toshiba 3501XA CD-ROM drive. The installation works just fine, but when I try to reboot the system, I get the message "Missing Operating System". ---------------------------------------------------------------------- V: How to follow up to a question ================================= Often you will want to send in additional information to a question you have already sent. The best way to do this is to reply to your original message. This has three advantages: 1. You include the original message text, so people will know what you're talking about. Don't forget to trim unnecessary text out, though. 2. The text in the subject line stays the same (you did remember to put one in, didn't you?). Many mailers will sort messages by subject. This helps group messages together. 3. The message reference numbers in the header will refer to the previous message. Some mailers, such as mutt, can thread messages, showing the exact relationships between the messages. VI: How to answer a question ============================ Before you answer a question to FreeBSD-questions, consider: 1. A lot of the points on submitting questions also apply to answering questions. Read them. 2. Has somebody already answered the question? The easiest way to check this is to sort your incoming mail by subject: then (hopefully) you'll see the question followed by any answers, all together. If somebody has already answered it, it doesn't automatically mean that you shouldn't send another answer. But it makes sense to read all the other answers first. 3. Do you have something to contribute beyond what has already been said? In general, "Yeah, me too" answers don't help much, although there are exceptions, like when somebody is describing a problem he's having, and he doesn't know whether it's his fault or whether there's something wrong with the hardware or software. If you do send a "me too" answer, you should also include any further relevant information. 4. Are you sure you understand the question? Very frequently, the person who asks the question is confused or doesn't express himself very well. Even with the best understanding of the system, it's easy to send a reply which doesn't answer the question. This doesn't help: you'll leave the person who submitted the question more frustrated or confused than ever. If nobody else answers, and you're not too sure either, you can always ask for more information. 5. Are you sure your answer is correct? If not, wait a day or so. If nobody else comes up with a better answer, you can still reply and say, for example, "I don't know if this is correct, but since nobody else has replied, why don't you try replacing your ATAPI CD-ROM with a frog?". 6. Unless there's a good reason to do otherwise, reply to the sender and to FreeBSD-questions. Many people on the FreeBSD-questions are "lurkers": they learn by reading messages sent and replied to by others. If you take a message which is of general interest off the list, you're depriving these people of their information. Be careful with group replies; lots of people send messages with hundreds of CCs. If this is the case, be sure to trim the Cc: lines appropriately. 7. Include relevant text from the original message. Trim it to the minimum, but don't overdo it. It should still be possible for somebody who didn't read the original message to understand what you're talking about. 8. Use some technique to identify which text came from the original message, and which text you add. I personally find that prepending ``> '' to the original message works best. Leaving white space after the ``> '' and leave empty lines between your text and the original text both make the result more readable. 9. Put your response in the correct place (after the text to which it replies). It's very difficult to read a thread of responses where each reply comes before the text to which it replies. 10. Most mailers change the subject line on a reply by prepending a text such as ``Re: ''. If your mailer doesn't do it automatically, you should do it manually. 11. If the submitter didn't abide by format conventions (lines too long, inappropriate subject line), please fix it. In the case of an incorrect subject line (such as ``HELP!!??''), change the subject line to (say) ``Re: Difficulties with sync PPP (was: HELP!!??)''. That way other people trying to follow the thread will have less difficulty following it. In such cases, it's appropriate to say what you did and why you did it, but try not to be rude. If you find you can't answer without being rude, don't answer. If you just want to reply to a message because of its bad format, just reply to the submitter, not to the list. You can just send him this message in reply, if you like. $Id: Howto-ask-questions,v 1.6 2005/08/10 02:21:44 grog Exp $ _______________________________________________ Thanks to Josh Paetzel for updating this document to describe mailman. From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 17:02:00 2007 Return-Path: X-Original-To: FreeBSD-questions@FreeBSD.org Delivered-To: FreeBSD-questions@FreeBSD.org Received: by hub.freebsd.org (Postfix, from userid 645) id 9070816A408; Fri, 9 Mar 2007 17:02:00 +0000 (UTC) To: FreeBSD-questions@FreeBSD.org Message-Id: <20070309170200.9070816A408@hub.freebsd.org> Date: Fri, 9 Mar 2007 17:02:00 +0000 (UTC) From: grog@FreeBSD.ORG (Greg Lehey) Cc: Subject: "The Complete FreeBSD": errata and addenda X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 17:02:00 -0000 The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, The Complete FreeBSD, published by O'Reilly, is no exception. Inevitably, a number of bugs and changes have surfaced. "The Complete FreeBSD" has been through a total of five editions, including its predecessor "Installing and Running FreeBSD". Two of these have been reprinted with corrections. I maintain a series of errata pages. Start at http://www.lemis.com/errata-4.html to find out how to get the errata information. Note also that the book has now been released for free download in PDF form. Instead of downloading the changed pages, you may prefer to download the entire book. See http://www.lemis.com/grog/Documentation/CFBSD/ for more information. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm no longer constantly updating it, but I may be able to help Greg From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 17:06:08 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 149C416A406 for ; Fri, 9 Mar 2007 17:06:08 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id E521B13C4B6 for ; Fri, 9 Mar 2007 17:06:07 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l29H37Hq031880; Fri, 9 Mar 2007 12:03:07 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l29H36sE031879; Fri, 9 Mar 2007 12:03:06 -0500 (EST) (envelope-from jerrymc) Date: Fri, 9 Mar 2007 12:03:06 -0500 From: Jerry McAllister To: David Robillard Message-ID: <20070309170306.GH31408@gizmo.acns.msu.edu> References: <226ae0c60703090730n12678b0cwfb5cf4e80f2dbeb3@mail.gmail.com> <20070309161951.GD31408@gizmo.acns.msu.edu> <226ae0c60703090839v60895fa2q4e3787e061d6ada5@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <226ae0c60703090839v60895fa2q4e3787e061d6ada5@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: FreeBSD Questions Subject: Re: remote install of 6.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 17:06:08 -0000 On Fri, Mar 09, 2007 at 11:39:31AM -0500, David Robillard wrote: > >OK. First, it was someone else who posted. I was one of the responders. > > My mistake! Sorry about this. > > > >That can be a good way of doing it. I have posted a list of steps > >for doing essentially that (slightly different circumstances) a > >couple of times in the past. > > > >But there is one disadvantage in this particular case. Since the OP > >is running 4.xx and wants to move to 6.xx, he would probably also want > >to take advantage of the new UFS2 filesystem improvements. But, if > >he builds the file system using the 4.xx fdisk and disklabel (before > >bsdlabel replaced it) then it will use the older file system missing > >some performance and feature improvements. So, he will want to find > >a way to fdisk and bsdlabel using a 6.xx system if at all possible. > > > >Of course, it is not the end of the world to be stuck with the older > >file system, but is less than optimal. > > > >It would be possible for the person to sort of double up on your > >suggestion and do a first build with the existing fdisk and bsdlabel > >and then restore 6.2 dumps. Then build a 6.2 system that can run from > >memory that includes the essentials such as fdisk, bsdlabel and newfs > >and tink with booting to boot to that memory system, which would > >then allow that second disk to remain unmounted or accessed anywhere > > -- essential for building the file systems. Then use that memory > >mounted system to build the file systems and finally do the restores > >from dumps. It should work, but will take some figuring out. > > > >The last time I built anything resembling that was back in > >about FreeBSD 4.9 and I made a file of it and burned it to CD and > >did the boots from CD. But it should be possible to get it to > >run from a memory file system. > > Indeed, you're absolutely right. > > An easy way to circumvent this filesystem issue would be to mount the > ISO image of a 6.2 install CD as a virtual filesystem and use the > binaries from there. This shows you how to proceed: > http://www.freebsddiary.org/iso-mount.php > > Of course, you'll need a fair bit of RAM to do this. That can work. Make sure you check the added comments as well, although those refer to FreeBSD 5.xxx and you are still on 4.xxx. You will want to know it will be different once you start running the new one. Make sure that the ISO image is not stored on the drive to be fdisk-ed, bsdlabel-ed and newfs-ed. In this person's case, the system is already running on another disk, and he wants to put the 6.xx system on a second disk, so he just has to make sure to write the ISO to that first disk somewhere there is room and unmount anything on that second disk. > > There's also this from Colin Percival that can be usefull: > http://www.daemonology.net/depenguinator/ This reference is really a different subject. ////jerry > > HTH, > > David > -- > David Robillard > UNIX systems administrator & Oracle DBA > CISSP, RHCE & Sun Certified Security Administrator > Montreal: +1 514 966 0122 From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 17:06:25 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 206DE16A401 for ; Fri, 9 Mar 2007 17:06:25 +0000 (UTC) (envelope-from free.bsd@gmx.net) Received: from suncom4.cms.hu-berlin.de (suncom4.cms.hu-berlin.de [141.20.1.74]) by mx1.freebsd.org (Postfix) with ESMTP id 6563A13C4B8 for ; Fri, 9 Mar 2007 17:06:24 +0000 (UTC) (envelope-from free.bsd@gmx.net) Received: from localhost (localhost [127.0.0.1]) by suncom4.cms.hu-berlin.de (8.13.8/8.13.7) with ESMTP id l29GAPkO012943 for ; Fri, 9 Mar 2007 17:10:25 +0100 (CET) X-Virus-Scanned: by amavis at cms.hu-berlin.de Received: from [141.20.9.159] (sandring.cms.hu-berlin.de [141.20.9.159]) by suncom4.cms.hu-berlin.de (8.13.8/8.13.7) with ESMTP id l29GAMtY012912 for ; Fri, 9 Mar 2007 17:10:23 +0100 (CET) Message-ID: <45F186F0.4040909@gmx.net> Date: Fri, 09 Mar 2007 17:10:24 +0100 From: FreeBSD Daemon User-Agent: Thunderbird 1.5.0.10 (X11/20070306) MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.94.0.0 OpenPGP: id=49C69D0D; url=pgp.mit.edu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Perforce access X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 17:06:25 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 dear list, is it prossible (for a normal mortal, aka non-committer ) to access the the perforce repository to get code? i'd be interested in the mips code TIA Zheyu Shen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFF8YbvTqd8JUnGnQ0RAp8sAJ4u8xm5fSKrHIezyYoU6KEOByjlwQCgnYBv 4tSuEI/F0IlLrEdgYqC6xqc= =+CvU -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 17:06:26 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E8B6F16A405 for ; Fri, 9 Mar 2007 17:06:26 +0000 (UTC) (envelope-from dima.sorkin@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.freebsd.org (Postfix) with ESMTP id 859E713C4B3 for ; Fri, 9 Mar 2007 17:06:25 +0000 (UTC) (envelope-from dima.sorkin@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so1324854ugh for ; Fri, 09 Mar 2007 09:06:24 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=SQgoGBX4FndqFUWphs31a62LzV0Aegr2TNwf4AY8C8lGteFvjlpZJdOD7xC2GfnLoOviTvzYgjnjwehXE5mxXJmrz2IBtxkgVurPn/35qySiYxfFevews0NNHuu/MLoieKtvICdXvgVxzqn5PChOuor384boVtpqPY5K8L0aAbg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=sGezhGfyMFcLtdCcf3QmbCN8gE2yqFaKv2O/282ixiNCBjw+xT0y5YY7S/y4zS0FkSYpEXsNbWbfM1WGlLzI39bJ7kBtfYipebO3qtY6H0v6f3fbD+xqn3zi/ByQ5vc40PaekglGZx6CSuo5iC+qF4/lqMX/+RbAmBn4UzM/sJM= Received: by 10.115.111.1 with SMTP id o1mr616369wam.1173459982497; Fri, 09 Mar 2007 09:06:22 -0800 (PST) Received: by 10.114.184.11 with HTTP; Fri, 9 Mar 2007 09:06:22 -0800 (PST) Message-ID: Date: Fri, 9 Mar 2007 19:06:22 +0200 From: "Dima Sorkin" To: freebsd-questions@freebsd.org In-Reply-To: <6.0.0.22.2.20070309094909.024c9dd0@mail.computinginnovations.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_6281_8408752.1173459982412" References: <6.0.0.22.2.20070309094909.024c9dd0@mail.computinginnovations.com> Subject: Re: limitiation on memory allocation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 17:06:27 -0000 ------=_Part_6281_8408752.1173459982412 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi. I've passed over the man page and even over the "man 3" page. What exactly should I look for ? Thank you. Dima. output of 'sysctl -a' is attached. On 3/9/07, Derek Ragona wrote: > > check out your sysctl values. > man sysctl > for more information. > > -Derek > > > > At 08:32 AM 3/9/2007, Dima Sorkin wrote: > > Hi. > > On FreeBSD 6.2 i386 with 2GB of physical memory I can't allocate > more than 500Mb for my program. ------=_Part_6281_8408752.1173459982412 Content-Type: application/octet-stream; name="sysctl-a.output" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="sysctl-a.output" X-Attachment-Id: f_ez1pyii1 a2Vybi5vc3R5cGU6IEZyZWVCU0QKa2Vybi5vc3JlbGVhc2U6IDYuMi1SRUxFQVNFCmtlcm4ub3Ny ZXZpc2lvbjogMTk5NTA2Cmtlcm4udmVyc2lvbjogRnJlZUJTRCA2LjItUkVMRUFTRSAjMDogRnJp IEphbiAxMiAxMTowNTozMCBVVEMgMjAwNwogICAgcm9vdEBkZXNzbGVyLmNzZS5idWZmYWxvLmVk dTovdXNyL29iai91c3Ivc3JjL3N5cy9TTVAKCmtlcm4ubWF4dm5vZGVzOiAxMDAwMDAKa2Vybi5t YXhwcm9jOiA2MTY0Cmtlcm4ubWF4ZmlsZXM6IDEyMzI4Cmtlcm4uYXJnbWF4OiAyNjIxNDQKa2Vy bi5zZWN1cmVsZXZlbDogLTEKa2Vybi5ob3N0bmFtZTogZW1sNS5lZi50ZWNobmlvbi5hYy5pbApr ZXJuLmhvc3RpZDogMAprZXJuLmNsb2NrcmF0ZTogeyBoeiA9IDEwMDAsIHRpY2sgPSAxMDAwLCBw cm9maHogPSA2NjYsIHN0YXRoeiA9IDEzMyB9Cmtlcm4ucG9zaXgxdmVyc2lvbjogMjAwMTEyCmtl cm4ubmdyb3VwczogMTYKa2Vybi5qb2JfY29udHJvbDogMQprZXJuLnNhdmVkX2lkczogMAprZXJu LmJvb3R0aW1lOiB7IHNlYyA9IDExNzMzNDA1NTcsIHVzZWMgPSA4NTA3ODAgfSBUaHUgTWFyICA4 IDA5OjU1OjU3IDIwMDcKa2Vybi5kb21haW5uYW1lOiAKa2Vybi5vc3JlbGRhdGU6IDYwMjAwMApr ZXJuLmJvb3RmaWxlOiAvYm9vdC9rZXJuZWwva2VybmVsCmtlcm4ubWF4ZmlsZXNwZXJwcm9jOiAx MTA5NQprZXJuLm1heHByb2NwZXJ1aWQ6IDU1NDcKa2Vybi5pcGMubWF4c29ja2J1ZjogMjYyMTQ0 Cmtlcm4uaXBjLnNvY2tidWZfd2FzdGVfZmFjdG9yOiA4Cmtlcm4uaXBjLnNvbWF4Y29ubjogMTI4 Cmtlcm4uaXBjLm1heF9saW5raGRyOiAxNgprZXJuLmlwYy5tYXhfcHJvdG9oZHI6IDYwCmtlcm4u aXBjLm1heF9oZHI6IDc2Cmtlcm4uaXBjLm1heF9kYXRhbGVuOiAxMzIKa2Vybi5pcGMubm1iY2x1 c3RlcnM6IDI1NjAwCmtlcm4uaXBjLm5tYmp1bWJvcDogMAprZXJuLmlwYy5ubWJqdW1ibzk6IDAK a2Vybi5pcGMubm1ianVtYm8xNjogMAprZXJuLmlwYy5tYXhwaXBla3ZhOiAxNjc3NzIxNgprZXJu LmlwYy5waXBlczogMTA2Cmtlcm4uaXBjLnBpcGVrdmE6IDg3MjQ0OAprZXJuLmlwYy5waXBlZnJh Z3JldHJ5OiAwCmtlcm4uaXBjLnBpcGVhbGxvY2ZhaWw6IDAKa2Vybi5pcGMucGlwZXJlc2l6ZWZh aWw6IDAKa2Vybi5pcGMucGlwZXJlc2l6ZWFsbG93ZWQ6IDEKa2Vybi5pcGMubXNnbWF4OiAxNjM4 NAprZXJuLmlwYy5tc2dtbmk6IDQwCmtlcm4uaXBjLm1zZ21uYjogMjA0OAprZXJuLmlwYy5tc2d0 cWw6IDQwCmtlcm4uaXBjLm1zZ3NzejogOAprZXJuLmlwYy5tc2dzZWc6IDIwNDgKa2Vybi5pcGMu c2VtbWFwOiAzMAprZXJuLmlwYy5zZW1tbmk6IDEwCmtlcm4uaXBjLnNlbW1uczogNjAKa2Vybi5p cGMuc2VtbW51OiAzMAprZXJuLmlwYy5zZW1tc2w6IDYwCmtlcm4uaXBjLnNlbW9wbTogMTAwCmtl cm4uaXBjLnNlbXVtZTogMTAKa2Vybi5pcGMuc2VtdXN6OiA5MgprZXJuLmlwYy5zZW12bXg6IDMy NzY3Cmtlcm4uaXBjLnNlbWFlbTogMTYzODQKa2Vybi5pcGMuc2htbWF4OiAzMzU1NDQzMgprZXJu LmlwYy5zaG1taW46IDEKa2Vybi5pcGMuc2htbW5pOiAxOTIKa2Vybi5pcGMuc2htc2VnOiAxMjgK a2Vybi5pcGMuc2htYWxsOiA4MTkyCmtlcm4uaXBjLnNobV91c2VfcGh5czogMAprZXJuLmlwYy5z aG1fYWxsb3dfcmVtb3ZlZDogMAprZXJuLmlwYy5udW1vcGVuc29ja2V0czogMTk2Cmtlcm4uaXBj Lm1heHNvY2tldHM6IDI1NjAwCmtlcm4uaXBjLm5zZmJ1ZnM6IDY2NTYKa2Vybi5pcGMubnNmYnVm c3BlYWs6IDYKa2Vybi5pcGMubnNmYnVmc3VzZWQ6IDAKa2Vybi5kdW1teTogMAprZXJuLnBzX3N0 cmluZ3M6IDMyMTcwMzExNTIKa2Vybi51c3JzdGFjazogMzIxNzAzMTE2OAprZXJuLmxvZ3NpZ2V4 aXQ6IDEKa2Vybi5pb3ZfbWF4OiAxMDI0Cmtlcm4uY2FtLmNhbV9zcmNoX2hpOiAwCmtlcm4uY2Ft LnNjc2lfZGVsYXk6IDUwMDAKa2Vybi5jYW0uY2QuY2hhbmdlci5taW5fYnVzeV9zZWNvbmRzOiA1 Cmtlcm4uY2FtLmNkLmNoYW5nZXIubWF4X2J1c3lfc2Vjb25kczogMTUKa2Vybi5jYW0uZGEucmV0 cnlfY291bnQ6IDQKa2Vybi5jYW0uZGEuZGVmYXVsdF90aW1lb3V0OiA2MAprZXJuLmRpc2tzOiBh ZDAKa2Vybi5nZW9tLmRlYnVnZmxhZ3M6IDAKa2Vybi5nZW9tLmNvbGxlY3RzdGF0czogMQprZXJu LmVsZjMyLmZhbGxiYWNrX2JyYW5kOiAtMQprZXJuLmluaXRfcGF0aDogL3NiaW4vaW5pdDovc2Jp bi9vaW5pdDovc2Jpbi9pbml0LmJhazovcmVzY3VlL2luaXQ6L3N0YW5kL3N5c2luc3RhbGwKa2Vy bi5pbml0X3NodXRkb3duX3RpbWVvdXQ6IDEyMAprZXJuLmFjY3Rfc3VzcGVuZDogMgprZXJuLmFj Y3RfcmVzdW1lOiA0Cmtlcm4uYWNjdF9jaGtmcmVxOiAxNQprZXJuLmFjY3Rfc3VzcGVuZGVkOiAw Cmtlcm4uY3BfdGltZTogMTEyODE0IDIgNDYzNTcgOTU1IDE1NTkzNzc1Cmtlcm4ub3BlbmZpbGVz OiAxMzczCmtlcm4ua3FfY2FsbG91dG1heDogNDA5NgprZXJuLnN0YWNrcHJvdDogNwprZXJuLnBz X2FyZ19jYWNoZV9saW1pdDogMjU2Cmtlcm4ubGFzdHBpZDogMTM3OTUKa2Vybi5yYW5kb21waWQ6 IDAKa2Vybi5rdHJhY2UuZ2VuaW9fc2l6ZTogNDA5NgprZXJuLmt0cmFjZS5yZXF1ZXN0X3Bvb2w6 IDEwMAprZXJuLm1vZHVsZV9wYXRoOiAvYm9vdC9rZXJuZWw7L2Jvb3QvbW9kdWxlcwprZXJuLm1h bGxvYzogCiAgICAgICAgVHlwZSAgSW5Vc2UgTWVtVXNlIEhpZ2hVc2UgUmVxdWVzdHMgIFNpemUo cykKICAgICAgICBsaW51eCAgICAxMSAgICAgMUsgICAgICAgLSAgICAgICAxMSAgMzIsNjQKICAg ICAgYWNwaWRldiAgICA0OCAgICAgMksgICAgICAgLSAgICAgICA0OCAgMzIKICAgICAgYWNwaXNl bSAgICAyMCAgICAgMksgICAgICAgLSAgICAgICAyMCAgNjQKICAgICBQQ0kgTGluayAgICAxNiAg ICAgMksgICAgICAgLSAgICAgICAxNiAgNjQsMTI4CiAgICAgYWNwaXRhc2sgICAgIDAgICAgIDBL ICAgICAgIC0gICAgICAgIDEgIDMyCiAgICAgICBhY3BpY2EgIDE2MjggICAgODlLICAgICAgIC0g ICAgMjg5MjYgIDE2LDMyLDY0LDEyOCwyNTYsNTEyLDEwMjQKICAgICAgIERFVkZTMSAgICA5NiAg ICAyNEsgICAgICAgLSAgICAgICA5NiAgMjU2CiAgICAgICBERVZGUzMgICAxMDYgICAgMTRLICAg ICAgIC0gICAgICAxMDcgIDEyOAogICAgIG5leHVzZGV2ICAgICAzICAgICAxSyAgICAgICAtICAg ICAgICAzICAxNgogICAgICBtZW1kZXNjICAgICAxICAgICA0SyAgICAgICAtICAgICAgIDQ3ICAz Miw0MDk2CiAgICAgICAgVVNCSEMgICAgIDEgICAgIDFLICAgICAgIC0gICAgICAgIDEgIDE2CiAg ICAgSS9PIEFQSUMgICAgIDEgICAgIDFLICAgICAgIC0gICAgICAgIDEgIDEwMjQKICAgICAgIFVT QmRldiAgICAgMyAgICAgMUsgICAgICAgLSAgICAgICAxMSAgMTI4LDUxMgogICAgICAgICAgVVNC ICAgIDQwICAgICA0SyAgICAgICAtICAgICAgIDQwICAxNiwzMiw2NCwxMjgsMjU2CiAgICAgYXRr YmRkZXYgICAgIDIgICAgIDFLICAgICAgIC0gICAgICAgIDIgIDMyCiAgICAgIGVudHJvcHkgIDEw MjQgICAgNjRLICAgICAgIC0gICAgIDEwMjQgIDY0CiAgICBWTSBwZ2RhdGEgICAgIDIgICAgNjVL ICAgICAgIC0gICAgICAgIDIgIDY0CiAgICAgcHBidXNkZXYgICAgIDMgICAgIDFLICAgICAgIC0g ICAgICAgIDMgIDEyOAogICAgICBDQU0gWFBUICAgIDEwICAgICAxSyAgICAgICAtICAgICAgIDE3 ICAxNiw2NCw1MTIKICAgICAgVU1BSGFzaCAgICAgMiAgICAgM0sgICAgICAgLSAgICAgICAgNiAg MjU2LDUxMiwxMDI0LDIwNDgKICAgIFVGUyBtb3VudCAgICAxMiAgICAyOUsgICAgICAgLSAgICAg ICAxMiAgMjU2LDIwNDgsNDA5NgogIFVGUyBkaXJoYXNoICAxMzcxICAgMjUzSyAgICAgICAtICAg ICAxNDAxICAxNiwzMiw2NCwxMjgsMjU2LDUxMgogICAgIHNhdmVkaW5vICAgICAwICAgICAwSyAg ICAgICAtICAgICA2NzI4ICAyNTYKICAgIG5ld2RpcmJsayAgICAgMCAgICAgMEsgICAgICAgLSAg ICAgICAxNCAgMzIKICAgICAgIGRpcnJlbSAgICAgMCAgICAgMEsgICAgICAgLSAgICAgNTYwOSAg MzIKICAgICAgICBta2RpciAgICAgMCAgICAgMEsgICAgICAgLSAgICAgIDkzMiAgMzIKICAgICAg IGRpcmFkZCAgICAgMSAgICAgMUsgICAgICAgLSAgICAgOTY5NyAgNjQKICAgICBmcmVlZmlsZSAg ICAgMCAgICAgMEsgICAgICAgLSAgICAgNDEwNiAgMzIKICAgICBmcmVlYmxrcyAgICAgMCAgICAg MEsgICAgICAgLSAgICAgMzY3MCAgMjU2CiAgICAgZnJlZWZyYWcgICAgIDAgICAgIDBLICAgICAg IC0gICAgMTUwODEgIDMyCiAgIGFsbG9jaW5kaXIgICAgIDAgICAgIDBLICAgICAgIC0gICAxMDkx MzEgIDY0CiAgICAgaW5kaXJkZXAgICAgIDAgICAgIDBLICAgICAgIC0gICAgICA0OTAgIDMyCiAg YWxsb2NkaXJlY3QgICAgIDEgICAgIDFLICAgICAgIC0gICAgMzUxMTkgIDEyOAogICAgYm1zYWZl bWFwICAgICAxICAgICAxSyAgICAgICAtICAgICAgNjcwICA2NAogICAgICAgbmV3YmxrICAgICAx ICAgICAxSyAgICAgICAtICAgMTQ0MjUxICA2NCwyNTYKICAgICBpbm9kZWRlcCAgICAgMiAgIDI1 N0sgICAgICAgLSAgICAxMjM5OSAgMTI4CiAgICAgIHBhZ2VkZXAgICAgIDIgICAgNjVLICAgICAg IC0gICAgIDEwNjEgIDY0CiAgICAgcDEwMDMuMWIgICAgIDEgICAgIDFLICAgICAgIC0gICAgICAg IDEgIDE2CiAgICAgICAgICBhZ3AgICAgIDIgICAgNjVLICAgICAgIC0gICAgICAgIDIgIDE2CiAg IE5GUyBkYWVtb24gICAgIDUgICAgMTBLICAgICAgIC0gICAgICAgIDUgIDUxMgogIE5GUyBzcnZz b2NrICAgICAyICAgICAxSyAgICAgICAtICAgICAgICAyICAxMjgKIGlwNl9tb3B0aW9ucyAgICAg MSAgICAgMUsgICAgICAgLSAgICAgICAgMSAgMTYKICAgIGluNl9tdWx0aSAgICAzNCAgICAgMksg ICAgICAgLSAgICAgICAzNCAgMTYsMzIsNjQKICAgICBzeW5jYWNoZSAgICAgMSAgICAgOEsgICAg ICAgLSAgICAgICAgMQogICBhY2RfZHJpdmVyICAgICAyICAgICA0SyAgICAgICAtICAgICAgICAy ICAyMDQ4CiAgICBob3N0Y2FjaGUgICAgIDEgICAgMjRLICAgICAgIC0gICAgICAgIDEKICAgICBp bl9tdWx0aSAgICAgMiAgICAgMUsgICAgICAgLSAgICAgICAgMiAgMzIKICAgICByb3V0ZXRibCAg ICA0MCAgICAgNEsgICAgICAgLSAgICAgIDExNyAgMTYsMzIsNjQsMTI4LDI1NgogICAgYXJfZHJp dmVyICAgICAwICAgICAwSyAgICAgICAtICAgICAgICA1ICA1MTIsMjA0OAogICAgICBhdGFfZG1h ICAgICAyICAgICAxSyAgICAgICAtICAgICAgICAyICAxMjgKICAgICAgICAgICBsbyAgICAgMSAg ICAgMUsgICAgICAgLSAgICAgICAgMSAgMTYKICAgICAgIGFycGNvbSAgICAgMSAgICAgMUsgICAg ICAgLSAgICAgICAgMSAgMTYKICAgICAgICBjbG9uZSAgICAgNCAgICAxNksgICAgICAgLSAgICAg ICAgNCAgNDA5NgogIGV0aGVyX211bHRpICAgIDQwICAgICAySyAgICAgICAtICAgICAgIDQ2ICAx NiwzMiw2NAogICAgICAgaWZhZGRyICAgIDI5ICAgICA5SyAgICAgICAtICAgICAgIDMxICAxNiwz Miw2NCwyNTYsNTEyLDIwNDgKICAgICAgICBpZm5ldCAgICAgNCAgICAgNEsgICAgICAgLSAgICAg ICAgNCAgMjU2LDEwMjQKICAgICAgICAgIEJQRiAgICAgOCAgICAgOUsgICAgICAgLSAgICAgICAg OCAgNjQsMTI4LDI1Niw0MDk2CiAgICBhZF9kcml2ZXIgICAgIDEgICAgIDFLICAgICAgIC0gICAg ICAgIDEgIDMyCiAgdm5vZGVtYXJrZXIgICAgIDAgICAgIDBLICAgICAgIC0gICAgMzQ0OTYgIDUx MgogICAgICAgIG1vdW50ICAgIDkyICAgICAzSyAgICAgICAtICAgICAgMjc4ICAxNiwzMiw2NCwx MjgsMjA0OAogICAgICAgdm5vZGVzICAgICAyICAgICAxSyAgICAgICAtICAgICAgICAyICAxNiwx MjgKICAgICBWRlMgaGFzaCAgICAgMSAgIDI1NksgICAgICAgLSAgICAgICAgMQpjbHVzdGVyX3Nh dmUgYnVmZmVyICAgICAwICAgICAwSyAgICAgICAtICAgICAyNTQ4ICAzMiw2NAogICAgIHZmc2Nh Y2hlICAgICAxICAgNTEySyAgICAgICAtICAgICAgICAxCiAgIEJJTyBidWZmZXIgICAgNTEgICAx MDJLICAgICAgIC0gICAgICA3OTEgIDIwNDgKICAgICAgQ0FNIFNJTSAgICAgMSAgICAgMUsgICAg ICAgLSAgICAgICAgMSAgNjQKICAgICAgICAgIHBjYiAgICAyMCAgICAgNUsgICAgICAgLSAgICAg IDUzOSAgMTYsMzIsNjQsMjA0OAogICAgICAgc29uYW1lICAgIDkzICAgIDExSyAgICAgICAtICAg ICA1MjU0ICAxNiwzMiw2NCwxMjgKICAgICBtYnVmX3RhZyAgICAgMCAgICAgMEsgICAgICAgLSAg ICAgICAyMyAgMzIKICAgICAgICAgcHR5cyAgICAgMyAgICAgMUsgICAgICAgLSAgICAgICAgMyAg MTI4CiAgICAgICAgIHR0eXMgIDE0NDIgICAyMDFLICAgICAgIC0gICAgMTE0MTcgIDEyOCwxMDI0 CiAgICAgICAgICBzaG0gICAgIDggICAgMTlLICAgICAgIC0gICAgICAgMzUgIDEwMjQKICAgICAg ICAgIHNlbSAgICAgNCAgICAgN0sgICAgICAgLSAgICAgICAgNCAgNTEyLDEwMjQsNDA5NgogICAg ICAgICAgbXNnICAgICA0ICAgIDI1SyAgICAgICAtICAgICAgICA0ICAxMDI0LDQwOTYKICAgICAg ICAgIGlvdiAgICAgMCAgICAgMEsgICAgICAgLSAgICA1NzA4MyAgMTYsNjQsMTI4LDI1NgogICAg IGlvY3Rsb3BzICAgICAwICAgICAwSyAgICAgICAtICAgNDQ2MDQ0ICAxNiwzMiw2NCwyNTYsNTEy LDEwMjQsNDA5NgogICAgICAgVW5pdG5vICAgICA3ICAgICAxSyAgICAgICAtICAgIDIyOTAzICAx Niw2NAogICB0dXJuc3RpbGVzICAgMTUxICAgIDEwSyAgICAgICAtICAgICAgMTUxICA2NAogICAg dGFza3F1ZXVlICAgICA5ICAgICAxSyAgICAgICAtICAgICAgICA5ICAxNiwxMjgKIHNsZWVwIHF1 ZXVlcyAgIDE1MSAgICAgNUsgICAgICAgLSAgICAgIDE1MSAgMzIKICAgICAgICAgc2J1ZiAgICAg MCAgICAgMEsgICAgICAgLSAgICAgIDc3MiAgMTYsMzIsNjQsMTI4LDI1Niw1MTIsMTAyNCwyMDQ4 LDQwOTYKICAgICAgICAgcm1hbiAgICA5OCAgICAgN0sgICAgICAgLSAgICAgIDU2MiAgMTYsNjQK Q0FNIGRldiBxdWV1ZSAgICAgMSAgICAgMUsgICAgICAgLSAgICAgICAgMSAgNjQKICAgICAgICAg a29iaiAgIDI1NiAgIDUxMksgICAgICAgLSAgICAgIDMxMCAgMjA0OAogZXZlbnRoYW5kbGVyICAg IDQzICAgICAzSyAgICAgICAtICAgICAgIDQzICAzMiwxMjgKICAgICAgZGV2c3RhdCAgICAgOCAg ICAxN0sgICAgICAgLSAgICAgICAgOCAgMTYsNDA5NgogICAgICAga2JkbXV4ICAgICA2ICAgICA5 SyAgICAgICAtICAgICAgICA2ICAxNiwxMjgsMjU2LDIwNDgsNDA5NgogICAgICAgYnVzLXNjICAg IDUxICAgIDIzSyAgICAgICAtICAgICAxODAzICAxNiwzMiw2NCwxMjgsMjU2LDUxMiwxMDI0LDIw NDgsNDA5NgogICAgICAgICAgYnVzICAgOTcwICAgIDM4SyAgICAgICAtICAgICA1ODQwICAxNiwz Miw2NCwxMjgsMTAyNAogICAgICAgICBTV0FQICAgICAyICAgNTQ5SyAgICAgICAtICAgICAgICAy ICA2NAogICAgICAgICB1bXR4ICAgMTUwICAgIDEwSyAgICAgICAtICAgICAgMTUwICA2NAogICAg c3lzY3RsdG1wICAgICAwICAgICAwSyAgICAgICAtICAgICAyMTQ0ICAxNiwzMiw2NCwxMjgKICAg IHN5c2N0bG9pZCAgMjIzNCAgICA2N0sgICAgICAgLSAgICAgMjIzNCAgMTYsMzIsNjQKICAgICAg IHN5c2N0bCAgICAgMCAgICAgMEsgICAgICAgLSAgICAgNDA1NCAgMTYsMzIsNjQKICAgICAgdWlk aW5mbyAgICAgNiAgICAgMksgICAgICAgLSAgICAgIDYxOCAgMzIsMTAyNAogICAgICAgcGxpbWl0 ICAgIDE4ICAgICA1SyAgICAgICAtICAgICA3Mzc4ICAyNTYKICAgICAgICAgY3JlZCAgICAzOSAg ICAgNUsgICAgICAgLSAgICA5NDM2MCAgMTI4CiAgICAgIHN1YnByb2MgICAyMjYgICA0MjhLICAg ICAgIC0gICAgMTM5MjMgIDI1Niw0MDk2CiAgICAgICAgIHByb2MgICAgIDIgICAgIDhLICAgICAg IC0gICAgICAgIDIgIDQwOTYKICAgICAgc2Vzc2lvbiAgICAzOCAgICAgNUsgICAgICAgLSAgICAg IDc1NSAgMTI4CiAgICAgICAgIHBncnAgICAgNDQgICAgIDNLICAgICAgIC0gICAgIDE2MTAgIDY0 CiAgICAgbXR4X3Bvb2wgICAgIDEgICAgIDhLICAgICAgIC0gICAgICAgIDEKICAgICAgIG1vZHVs ZSAgIDM4OCAgICAyNUsgICAgICAgLSAgICAgIDM4OCAgNjQsMTI4CiAgYXRhX2dlbmVyaWMgICAg IDMgICAgIDNLICAgICAgIC0gICAgICAgIDMgIDEwMjQKICAgICAgIGlwNm5kcCAgICAgNSAgICAg MUsgICAgICAgLSAgICAgICAgNiAgNjQsMTI4CiAgICAgICBpcDZvcHQgICAgIDAgICAgIDBLICAg ICAgIC0gICAgICAgIDMgIDMyCiAgICAgICAgIHRlbXAgICAgMTIgICAyNjRLICAgICAgIC0gICAg MjgwNjUgIDE2LDMyLDY0LDEyOCwyNTYsNTEyLDEwMjQsMjA0OCw0MDk2CiAgICAgICBkZXZidWYg IDE0NTggIDM5ODRLICAgICAgIC0gICAgIDE0NTkgIDE2LDMyLDY0LDEyOCwyNTYsNTEyLDEwMjQs MjA0OCw0MDk2CiAgICAgICAgbG9ja2YgICAgIDkgICAgIDFLICAgICAgIC0gICAgICAyMTggIDY0 CiAgICAgICBsaW5rZXIgICAgNzcgICAxMTVLICAgICAgIC0gICAgICAxMTQgIDE2LDMyLDI1Niwx MDI0LDQwOTYKICAgIENBTSBxdWV1ZSAgICAgMyAgICAgMUsgICAgICAgLSAgICAgICAgMyAgMTYK ICAgQ0FNIHBlcmlwaCAgICAgMSAgICAgMUsgICAgICAgLSAgICAgICAgMSAgMTI4CiAgICAgICBL VFJBQ0UgICAxMDAgICAgMTNLICAgICAgIC0gICAgICAxMDAgIDEyOAogICAgICBpdGhyZWFkICAg IDY5ICAgICA2SyAgICAgICAtICAgICAgIDY5ICAxNiw2NCwxMjgKICAgICAgIHpvbWJpZSAgICAg MCAgICAgMEsgICAgICAgLSAgICAxMzY5NyAgMTI4CiAgICBwcm9jLWFyZ3MgICAgNTggICAgIDRL ICAgICAgIC0gICAgMzQ4NTkgIDE2LDMyLDY0LDEyOCwyNTYKICAgICAgIGtxdWV1ZSAgICAgMiAg ICAgNUsgICAgICAgLSAgICAgIDg0MyAgMjU2LDEwMjQsMjA0OCw0MDk2CiAgICAgICAgIGtlbnYg ICAxMTMgICAgIDhLICAgICAgIC0gICAgICAxMTQgIDE2LDMyLDY0LDQwOTYKICAgICAgICBzaWdp byAgICAgMiAgICAgMUsgICAgICAgLSAgICAgICAgNCAgMzIKICAgIGZpbGUgZGVzYyAgIDEzMSAg ICA0NksgICAgICAgLSAgICAxNzY5NiAgMTYsMzIsNjQsMTI4LDI1Niw1MTIsMTAyNCwyMDQ4LDQw OTYKICAgICAgICAgY2RldiAgICAyNyAgICAgNEsgICAgICAgLSAgICAgICAyNyAgMTI4CiAgICAg ICBpc2FkZXYgICAgMTcgICAgIDJLICAgICAgIC0gICAgICAgMTcgIDY0CiAgICAgICAgIEdFT00g ICAgOTAgICAgMTZLICAgICAgIC0gICAgICA1MjUgIDE2LDMyLDY0LDEyOCwyNTYsNTEyLDEwMjQs MjA0OCw0MDk2CiAgICBwZnNfbm9kZXMgICAgMjAgICAgIDNLICAgICAgIC0gICAgICAgMjAgIDEy OAogICAgICAgIERFVkZTICAgIDExICAgICAxSyAgICAgICAtICAgICAgIDEyICAxNiwxMjgKCmtl cm4ubWFsbG9jX2NvdW50OiAyMDAKa2Vybi5pZGVudDogU01QLUdFTkVSSUMKa2Vybi5tYXh1c2Vy czogMzg0Cmtlcm4uZmFsbGJhY2tfZWxmX2JyYW5kOiAtMQprZXJuLmtzdGFja19wYWdlczogMgpr ZXJuLnN5bmNfb25fcGFuaWM6IDAKa2Vybi5zaHV0ZG93bi5wb3dlcm9mZl9kZWxheTogNTAwMApr ZXJuLnNodXRkb3duLmtwcm9jX3NodXRkb3duX3dhaXQ6IDYwCmtlcm4uc3VnaWRfY29yZWR1bXA6 IDAKa2Vybi5jb3JlZHVtcDogMQprZXJuLm5vZHVtcF9jb3JlZHVtcDogMAprZXJuLmNvcmVmaWxl OiAlTi5jb3JlCmtlcm4uZnNjYWxlOiAyMDQ4Cmtlcm4udGltZWNvdW50ZXIuc3RlcHdhcm5pbmdz OiAwCmtlcm4udGltZWNvdW50ZXIubmJpbnVwdGltZTogNTA2NTEyMTYKa2Vybi50aW1lY291bnRl ci5ubmFub3VwdGltZTogNgprZXJuLnRpbWVjb3VudGVyLm5taWNyb3VwdGltZTogMTM4MjgKa2Vy bi50aW1lY291bnRlci5uYmludGltZTogNDQ2NTc4MAprZXJuLnRpbWVjb3VudGVyLm5uYW5vdGlt ZTogMTMzMjkxCmtlcm4udGltZWNvdW50ZXIubm1pY3JvdGltZTogNDMzMjQ2NgprZXJuLnRpbWVj b3VudGVyLm5nZXRiaW51cHRpbWU6IDMzODkxMwprZXJuLnRpbWVjb3VudGVyLm5nZXRuYW5vdXB0 aW1lOiA1NTMxCmtlcm4udGltZWNvdW50ZXIubmdldG1pY3JvdXB0aW1lOiA4MjE2OTg2Cmtlcm4u dGltZWNvdW50ZXIubmdldGJpbnRpbWU6IDAKa2Vybi50aW1lY291bnRlci5uZ2V0bmFub3RpbWU6 IDAKa2Vybi50aW1lY291bnRlci5uZ2V0bWljcm90aW1lOiAxMTk0OTkzNwprZXJuLnRpbWVjb3Vu dGVyLm5zZXRjbG9jazogMwprZXJuLnRpbWVjb3VudGVyLmhhcmR3YXJlOiBBQ1BJLWZhc3QKa2Vy bi50aW1lY291bnRlci5jaG9pY2U6IFRTQyg4MDApIEFDUEktZmFzdCgxMDAwKSBpODI1NCgwKSBk dW1teSgtMTAwMDAwMCkKa2Vybi50aW1lY291bnRlci50aWNrOiAxCmtlcm4udGltZWNvdW50ZXIu c21wX3RzYzogMAprZXJuLnRocmVhZHMudGhyX3Njb3BlOiAwCmtlcm4udGhyZWFkcy50aHJfY29u Y3VycmVuY3k6IDAKa2Vybi50aHJlYWRzLmRlYnVnOiAwCmtlcm4udGhyZWFkcy5tYXhfdGhyZWFk c19wZXJfcHJvYzogMTUwMAprZXJuLnRocmVhZHMubWF4X2dyb3Vwc19wZXJfcHJvYzogMTUwMApr ZXJuLnRocmVhZHMubWF4X3RocmVhZHNfaGl0czogMAprZXJuLnRocmVhZHMudmlydHVhbF9jcHU6 IDEKa2Vybi5zY2hlZC5uYW1lOiA0QlNECmtlcm4uc2NoZWQucXVhbnR1bTogMTAwMDAwCmtlcm4u c2NoZWQuaXBpd2FrZXVwLmVuYWJsZWQ6IDEKa2Vybi5zY2hlZC5pcGl3YWtldXAucmVxdWVzdGVk OiAwCmtlcm4uc2NoZWQuaXBpd2FrZXVwLmRlbGl2ZXJlZDogMAprZXJuLnNjaGVkLmlwaXdha2V1 cC51c2VtYXNrOiAxCmtlcm4uc2NoZWQuaXBpd2FrZXVwLnVzZWxvb3A6IDAKa2Vybi5zY2hlZC5p cGl3YWtldXAub25lY3B1OiAwCmtlcm4uc2NoZWQuaXBpd2FrZXVwLmh0dDI6IDAKa2Vybi5zY2hl ZC5mb2xsb3dvbjogMAprZXJuLnNjaGVkLnBmb2xsb3dvbnM6IDAKa2Vybi5zY2hlZC5rZ2ZvbGxv d29uczogMAprZXJuLnNjaGVkLnByZWVtcHRpb246IDEKa2Vybi5zY2hlZC5ydW5xX2Z1eno6IDEK a2Vybi5jY3B1OiAxOTQ4Cmtlcm4uZGV2c3RhdC5udW1kZXZzOiAxCmtlcm4uZGV2c3RhdC5nZW5l cmF0aW9uOiAxMTcKa2Vybi5kZXZzdGF0LnZlcnNpb246IDYKa2Vybi5rb2JqX21ldGhvZGNvdW50 OiAxMTUKa2Vybi5sb2dfd2FrZXVwc19wZXJfc2Vjb25kOiA1Cmtlcm4ubG9nX2NvbnNvbGVfb3V0 cHV0OiAxCmtlcm4uYWx3YXlzX2NvbnNvbGVfb3V0cHV0OiAwCmtlcm4ubXNnYnVmOiAKa2Vybi5t c2didWZfY2xlYXI6IDAKa2Vybi5zbXAubWF4Y3B1czogMTYKa2Vybi5zbXAuYWN0aXZlOiAwCmtl cm4uc21wLmRpc2FibGVkOiAwCmtlcm4uc21wLmNwdXM6IDEKa2Vybi5zbXAuZm9yd2FyZF9zaWdu YWxfZW5hYmxlZDogMQprZXJuLnNtcC5mb3J3YXJkX3JvdW5kcm9iaW5fZW5hYmxlZDogMQprZXJu Lm5zZWxjb2xsOiAwCmtlcm4uZHJhaW53YWl0OiAzMDAKa2Vybi50dHlfbmluOiAxMjgzNDQKa2Vy bi50dHlfbm91dDogNjE4NDA1MQprZXJuLmNvbnNvbGU6IGNvbnNvbGVjdGwsL3R0eWQwLGNvbnNv bGVjdGwsCmtlcm4uY29uc211dGU6IDAKa2Vybi5jb25zbXNnYnVmX3NpemU6IDgxOTIKa2Vybi5j b25zdHR5X3dha2V1cHNfcGVyX3NlY29uZDogNQprZXJuLmZpbGVkZWxheTogMzAKa2Vybi5kaXJk ZWxheTogMjkKa2Vybi5tZXRhZGVsYXk6IDI4Cmtlcm4ubWludm5vZGVzOiAyNTAwMAprZXJuLmNo cm9vdF9hbGxvd19vcGVuX2RpcmVjdG9yaWVzOiAxCmtlcm4ucnBjLnJldHJpZXM6IDAKa2Vybi5y cGMucmVxdWVzdDogMAprZXJuLnJwYy50aW1lb3V0czogMAprZXJuLnJwYy51bmV4cGVjdGVkOiAw Cmtlcm4ucnBjLmludmFsaWQ6IDAKa2Vybi5yYW5kb20ueWFycm93LmdlbmdhdGVpbnRlcnZhbDog MTAKa2Vybi5yYW5kb20ueWFycm93LmJpbnM6IDEwCmtlcm4ucmFuZG9tLnlhcnJvdy5mYXN0dGhy ZXNoOiAxOTIKa2Vybi5yYW5kb20ueWFycm93LnNsb3d0aHJlc2g6IDI1NgprZXJuLnJhbmRvbS55 YXJyb3cuc2xvd292ZXJ0aHJlc2g6IDIKa2Vybi5yYW5kb20uc3lzLnNlZWRlZDogMQprZXJuLnJh bmRvbS5zeXMuaGFydmVzdC5ldGhlcm5ldDogMQprZXJuLnJhbmRvbS5zeXMuaGFydmVzdC5wb2lu dF90b19wb2ludDogMQprZXJuLnJhbmRvbS5zeXMuaGFydmVzdC5pbnRlcnJ1cHQ6IDEKa2Vybi5y YW5kb20uc3lzLmhhcnZlc3Quc3dpOiAwCnZtLnZtdG90YWw6IApTeXN0ZW0gd2lkZSB0b3RhbHMg Y29tcHV0ZWQgZXZlcnkgZml2ZSBzZWNvbmRzOiAodmFsdWVzIGluIGtpbG9ieXRlcykKPT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KUHJvY2Vzc2VzOgkJKFJV TlE6IDIgRGlzayBXYWl0OiAxIFBhZ2UgV2FpdDogMCBTbGVlcDogNjMpClZpcnR1YWwgTWVtb3J5 OgkJKFRvdGFsOiA5MTg3SywgQWN0aXZlIDE0Nzg3NkspClJlYWwgTWVtb3J5OgkJKFRvdGFsOiA2 MjU5OTZLIEFjdGl2ZSA5NTAwOEspClNoYXJlZCBWaXJ0dWFsIE1lbW9yeToJKFRvdGFsOiAzOTAw NEsgQWN0aXZlOiAzNTY5MkspClNoYXJlZCBSZWFsIE1lbW9yeToJKFRvdGFsOiAyODYyNEsgQWN0 aXZlOiAyNjQwNEspCkZyZWUgTWVtb3J5IFBhZ2VzOgkxNDIzNDcySwoKdm0ubG9hZGF2ZzogeyAw LjA3IDAuMzkgMC4zMSB9CnZtLnZfZnJlZV9taW46IDMzMTEKdm0udl9mcmVlX3RhcmdldDogMTM5 OTMKdm0udl9mcmVlX3Jlc2VydmVkOiA3NDkKdm0udl9pbmFjdGl2ZV90YXJnZXQ6IDIwOTg5CnZt LnZfY2FjaGVfbWluOiAxMzk5Mwp2bS52X2NhY2hlX21heDogMjc5ODYKdm0udl9wYWdlb3V0X2Zy ZWVfbWluOiAzNAp2bS5wYWdlb3V0X2FsZ29yaXRobTogMAp2bS5zd2FwX2VuYWJsZWQ6IDEKdm0u a21lbV9zaXplOiAzMzU1NDQzMjAKdm0ua21lbV9zaXplX21heDogMzM1NTQ0MzIwCnZtLmttZW1f c2l6ZV9zY2FsZTogMwp2bS5zd2FwX2FzeW5jX21heDogNAp2bS5kbW1heDogMzIKdm0ubnN3YXBk ZXY6IDEKdm0uem9uZTogCklURU0gICAgICAgICAgICBTSVpFICAgICBMSU1JVCAgICAgVVNFRCAg ICBGUkVFICBSRVFVRVNUUwoKRkZTMiBkaW5vZGU6ICAgICAyNTYsICAgICAgICAwLCAgNzE4MDIs ICAgMTAwOCwgICAzMzg5MTMKRkZTMSBkaW5vZGU6ICAgICAxMjgsICAgICAgICAwLCAgICAgIDAs ICAgICAgMCwgICAgICAgIDAKRkZTIGlub2RlOiAgICAgICAxMzIsICAgICAgICAwLCAgNzE4MDIs ICAgMTAxNywgICAzMzg5MTMKTW91bnRwb2ludHM6ICAgICA2NjQsICAgICAgICAwLCAgICAgIDUs ICAgICAgNywgICAgICAgIDUKU1dBUE1FVEE6ICAgICAgICAyNzYsICAgMTIxNTc2LCAgICAgIDAs ICAgICAgMCwgICAgICAgIDAKcnRlbnRyeTogICAgICAgICAxMzIsICAgICAgICAwLCAgICAgMTgs ICAgICA0MCwgICAgICAgMjIKcmlwY2I6ICAgICAgICAgICAxODAsICAgIDI1NjA4LCAgICAgIDAs ICAgICA0NCwgICAgICAgIDYKc2Fja2hvbGU6ICAgICAgICAgMjAsICAgICAgICAwLCAgICAgIDAs ICAgIDE2OSwgICAgICAgMTYKdGNwcmVhc3M6ICAgICAgICAgMjAsICAgICAxNjkwLCAgICAgIDAs ICAgIDE2OSwgICAgICAgNTcKaG9zdGNhY2hlOiAgICAgICAgNzYsICAgIDE1NDAwLCAgICAgIDAs ICAgIDEwMCwgICAgICAgIDgKc3luY2FjaGU6ICAgICAgICAxMDAsICAgIDE1MzY2LCAgICAgIDAs ICAgICA3OCwgICAgICAgMTUKdGNwdHc6ICAgICAgICAgICAgNDgsICAgICA1MTQ4LCAgICAgIDAs ICAgIDE1NiwgICAgICAgMTcKdGNwY2I6ICAgICAgICAgICA0NjQsICAgIDI1NjAwLCAgICAgMTEs ICAgICAxMywgICAgICAxMTMKaW5wY2I6ICAgICAgICAgICAxODAsICAgIDI1NjA4LCAgICAgMTEs ICAgICAzMywgICAgICAxMTMKdWRwY2I6ICAgICAgICAgICAxODAsICAgIDI1NjA4LCAgICAgMTEs ICAgICAzMywgICAgICA2NDcKaXBxOiAgICAgICAgICAgICAgMzIsICAgICAgOTA0LCAgICAgIDAs ICAgICAgMCwgICAgICAgIDAKdW5wY2I6ICAgICAgICAgICAxNDAsICAgIDI1NjIwLCAgICAxNzMs ICAgICAyMywgICAgIDEzODAKc29ja2V0OiAgICAgICAgICAzNTYsICAgIDI1NjA4LCAgICAxOTYs ICAgICAyNCwgICAgIDIxNTUKS05PVEU6ICAgICAgICAgICAgNjgsICAgICAgICAwLCAgICA5ODAs ICAgICAyOCwgICAgIDE4NzcKUElQRTogICAgICAgICAgICA0MDgsICAgICAgICAwLCAgICAgNTMs ICAgICAyOCwgICAgIDQ3NTkKRElSSEFTSDogICAgICAgIDEwMjQsICAgICAgICAwLCAgIDE3NDAs ICAgICAgOCwgICAgIDE3NjIKTkZTTk9ERTogICAgICAgICA0NjAsICAgICAgICAwLCAgICAgIDAs ICAgICAgMCwgICAgICAgIDAKTkZTTU9VTlQ6ICAgICAgICA0ODAsICAgICAgICAwLCAgICAgIDAs ICAgICAgMCwgICAgICAgIDAKTCBWRlMgQ2FjaGU6ICAgICAyOTEsICAgICAgICAwLCAgICAzODQs ICAgIDY1NiwgICAgIDUyNjAKUyBWRlMgQ2FjaGU6ICAgICAgNjgsICAgICAgICAwLCAgNzQ1NDgs ICAgIDM4MCwgICAzNjI2MjcKTkFNRUk6ICAgICAgICAgIDEwMjQsICAgICAgICAwLCAgICAgIDAs ICAgICAxMiwgIDcxNzAyNzQKVk5PREVQT0xMOiAgICAgICAgNzYsICAgICAgICAwLCAgICA5MDgs ICAgICA0MiwgICAgICA5MDgKVk5PREU6ICAgICAgICAgICAyNzIsICAgICAgICAwLCAgNzE4NTAs ICAgMTAwNiwgICAzMzg5ODkKYXRhX2NvbXBvc2l0OiAgICAxOTYsICAgICAgICAwLCAgICAgIDAs ICAgICAgMCwgICAgICAgIDAKYXRhX3JlcXVlc3Q6ICAgICAyMDQsICAgICAgICAwLCAgICAgIDAs ICAgMTUwMSwgICAxNDkzMDMKZ19iaW86ICAgICAgICAgICAxMzIsICAgICAgICAwLCAgICAgIDAs ICAgNjAzMiwgICA1NTYyOTkKQUNMIFVNQSB6b25lOiAgICAzODgsICAgICAgICAwLCAgICAgIDAs ICAgICAgMCwgICAgICAgIDAKbWJ1Zl9qdW1ib18xOiAgMTYzODQsICAgICAgICAwLCAgICAgIDAs ICAgICAgMCwgICAgICAgIDAKbWJ1Zl9qdW1ib185OiAgIDkyMTYsICAgICAgICAwLCAgICAgIDAs ICAgICAgMCwgICAgICAgIDAKbWJ1Zl9qdW1ib19wOiAgIDQwOTYsICAgICAgICAwLCAgICAgIDAs ICAgICAgMCwgICAgICAgIDAKbWJ1Zl9jbHVzdGVyOiAgIDIwNDgsICAgIDI1NjAwLCAgICAxMjgs ICAgICAgNiwgICAgICAxMjgKbWJ1ZjogICAgICAgICAgICAyNTYsICAgICAgICAwLCAgICAxMzIs ICAgIDI1OCwgICAyMTA2MjcKbWJ1Zl9wYWNrZXQ6ICAgICAyNTYsICAgICAgICAwLCAgICAzMjAs ICAgICA3MCwgICAgODIzMTMKVk1TUEFDRTogICAgICAgICAyOTYsICAgICAgICAwLCAgICAgNTks ICAgICAxOSwgICAgMTM3NTYKVVBDQUxMOiAgICAgICAgICAgNDQsICAgICAgICAwLCAgICAgIDYs ICAgIDE1MCwgICAgICAgMTAKS1NFR1JQOiAgICAgICAgICAgODgsICAgICAgICAwLCAgICAxMjks ICAgICA3MSwgICAgICAxMzEKVEhSRUFEOiAgICAgICAgICAzNzYsICAgICAgICAwLCAgICAxMzcs ICAgICAxMywgICAgMTE1ODQKUFJPQzogICAgICAgICAgICA1MzYsICAgICAgICAwLCAgICAgOTgs ICAgICAyOCwgICAgMTM3OTUKRmlsZXM6ICAgICAgICAgICAgNzIsICAgICAgICAwLCAgIDEzNzMs ICAgICA1OCwgIDEyODUxOTQKNDA5NjogICAgICAgICAgIDQwOTYsICAgICAgICAwLCAgICAxNTMs ICAgICAyNCwgICAgMTgyMzAKMjA0ODogICAgICAgICAgIDIwNDgsICAgICAgICAwLCAgICAzMjYs ICAgIDMzMCwgICAgIDMxODkKMTAyNDogICAgICAgICAgIDEwMjQsICAgICAgICAwLCAgICAgNTYs ICAgICA4OCwgICAgIDY0MTgKNTEyOiAgICAgICAgICAgICA1MTIsICAgICAgICAwLCAgICA1MDEs ICAgICAxOSwgICAgMzUyOTYKMjU2OiAgICAgICAgICAgICAyNTYsICAgICAgICAwLCAgICA0MTUs ICAgMTk4NSwgICAgNDM1NTQKMTI4OiAgICAgICAgICAgICAxMjgsICAgICAgICAwLCAgIDIxNDcs ICAgNDY5MywgICAxNzgxMzQKNjQ6ICAgICAgICAgICAgICAgNjQsICAgICAgICAwLCAgIDQxNDIs ICAgMzcwNSwgICAzOTEyMzUKMzI6ICAgICAgICAgICAgICAgMzIsICAgICAgICAwLCAgIDIxNDIs ICAgMTI0OCwgICAgNTIxMjMKMTY6ICAgICAgICAgICAgICAgMTYsICAgICAgICAwLCAgIDI5NDUs ICAgIDEwMCwgICA0Njg0ODYKbXRfem9uZTogICAgICAgIDEwMjQsICAgICAgICAwLCAgICAyMDAs ICAgIDEyOCwgICAgICAyMDAKRFAgZmFrZXBnOiAgICAgICAgNzIsICAgICAgICAwLCAgIDIxOTEs ICAgICA4OCwgICAgIDI4NTUKUFYgRU5UUlk6ICAgICAgICAgMjQsICAxNzQ1NjU1LCAgNjIwOTUs IDEzMzIyMCwgMTA3ODUwMDkKTUFQIEVOVFJZOiAgICAgICAgNjgsICAgICAgICAwLCAgIDQwMTYs ICAgIDQ2NCwgICA1MDA0MzkKS01BUCBFTlRSWTogICAgICAgNjgsICAgIDU3MzQ0LCAgICAgMTcs ICAgIDIwNywgICAgMTk0NTcKTUFQOiAgICAgICAgICAgICAxOTIsICAgICAgICAwLCAgICAgIDcs ICAgICAxMywgICAgICAgIDcKVk0gT0JKRUNUOiAgICAgICAxMzIsICAgICAgICAwLCAgNDk3MTMs ICAgIDY2MCwgICAzMDU4MDkKMTI4IEJ1Y2tldDogICAgICA1MjQsICAgICAgICAwLCAgICAzNjQs ICAgICAgMCwgICAgIDExMzQKNjQgQnVja2V0OiAgICAgICAyNjgsICAgICAgICAwLCAgICAgNjEs ICAgICAgOSwgICAgICAxMDEKMzIgQnVja2V0OiAgICAgICAxNDAsICAgICAgICAwLCAgICAgMjks ICAgICAyNywgICAgICAgNTQKMTYgQnVja2V0OiAgICAgICAgNzYsICAgICAgICAwLCAgICAgMjks ICAgICAyMSwgICAgICAgNDcKVU1BIEhhc2g6ICAgICAgICAxMjgsICAgICAgICAwLCAgICAgIDQs ICAgICAyNiwgICAgICAgIDYKVU1BIFJDbnRTbGFiOiAgICAxMDQsICAgICAgICAwLCAgICAgNjcs ICAgICAgNywgICAgICAgNjcKVU1BIFNsYWJzOiAgICAgICAgNjQsICAgICAgICAwLCAgIDExNjQs ICAgICAxNiwgICAgIDE1MTUKVU1BIFpvbmVzOiAgICAgICA0ODAsICAgICAgICAwLCAgICAgNjcs ICAgICAgNSwgICAgICAgNjcKVU1BIEtlZ3M6ICAgICAgICAxNDAsICAgICAgICAwLCAgICAgNjcs ICAgICAgNSwgICAgICAgNjcKCnZtLnpvbmVfY291bnQ6IDY5CnZtLm9sZF9jb250aWdtYWxsb2M6 IDAKdm0uc3dhcF9pZGxlX3RocmVzaG9sZDE6IDIKdm0uc3dhcF9pZGxlX3RocmVzaG9sZDI6IDEw CnZtLmV4ZWNfbWFwX2VudHJpZXM6IDE2CnZtLnZfZnJlZV9zZXZlcmU6IDIwMzAKdm0uc3RhdHMu c3lzLnZfc3d0Y2g6IDQ1MDg1MTk1CnZtLnN0YXRzLnN5cy52X3RyYXA6IDQxNDIxOTAKdm0uc3Rh dHMuc3lzLnZfc3lzY2FsbDogMjM3MDcxNTYKdm0uc3RhdHMuc3lzLnZfaW50cjogMTg3MTA3NjkK dm0uc3RhdHMuc3lzLnZfc29mdDogMTU5NzI0CnZtLnN0YXRzLnZtLnZfdm1fZmF1bHRzOiAzOTU0 ODgyCnZtLnN0YXRzLnZtLnZfY293X2ZhdWx0czogNDA0MjM0CnZtLnN0YXRzLnZtLnZfY293X29w dGltOiA0NzIKdm0uc3RhdHMudm0udl96Zm9kOiAzMjU4NTAxCnZtLnN0YXRzLnZtLnZfb3pmb2Q6 IDMyNDM5OTcKdm0uc3RhdHMudm0udl9zd2FwaW46IDAKdm0uc3RhdHMudm0udl9zd2Fwb3V0OiAw CnZtLnN0YXRzLnZtLnZfc3dhcHBnc2luOiAwCnZtLnN0YXRzLnZtLnZfc3dhcHBnc291dDogMAp2 bS5zdGF0cy52bS52X3Zub2RlaW46IDIzNjAKdm0uc3RhdHMudm0udl92bm9kZW91dDogMAp2bS5z dGF0cy52bS52X3Zub2RlcGdzaW46IDE5NzQ4CnZtLnN0YXRzLnZtLnZfdm5vZGVwZ3NvdXQ6IDAK dm0uc3RhdHMudm0udl9pbnRyYW5zOiAxNTEKdm0uc3RhdHMudm0udl9yZWFjdGl2YXRlZDogNjIy CnZtLnN0YXRzLnZtLnZfcGR3YWtldXBzOiAwCnZtLnN0YXRzLnZtLnZfcGRwYWdlczogMAp2bS5z dGF0cy52bS52X2RmcmVlOiAwCnZtLnN0YXRzLnZtLnZfcGZyZWU6IDIxMDEzMjkKdm0uc3RhdHMu dm0udl90ZnJlZTogNDE2ODc1Ngp2bS5zdGF0cy52bS52X3BhZ2Vfc2l6ZTogNDA5Ngp2bS5zdGF0 cy52bS52X3BhZ2VfY291bnQ6IDUxMjc0Mwp2bS5zdGF0cy52bS52X2ZyZWVfcmVzZXJ2ZWQ6IDc0 OQp2bS5zdGF0cy52bS52X2ZyZWVfdGFyZ2V0OiAxMzk5Mwp2bS5zdGF0cy52bS52X2ZyZWVfbWlu OiAzMzExCnZtLnN0YXRzLnZtLnZfZnJlZV9jb3VudDogMzU1NzY1CnZtLnN0YXRzLnZtLnZfd2ly ZV9jb3VudDogMzkxNTkKdm0uc3RhdHMudm0udl9hY3RpdmVfY291bnQ6IDE1NDkzCnZtLnN0YXRz LnZtLnZfaW5hY3RpdmVfdGFyZ2V0OiAyMDk4OQp2bS5zdGF0cy52bS52X2luYWN0aXZlX2NvdW50 OiAxMDE5NzIKdm0uc3RhdHMudm0udl9jYWNoZV9jb3VudDogMTAxCnZtLnN0YXRzLnZtLnZfY2Fj aGVfbWluOiAxMzk5Mwp2bS5zdGF0cy52bS52X2NhY2hlX21heDogMjc5ODYKdm0uc3RhdHMudm0u dl9wYWdlb3V0X2ZyZWVfbWluOiAzNAp2bS5zdGF0cy52bS52X2ludGVycnVwdF9mcmVlX21pbjog Mgp2bS5zdGF0cy52bS52X2ZvcmtzOiAxMTU1Mwp2bS5zdGF0cy52bS52X3Zmb3JrczogMjIwMgp2 bS5zdGF0cy52bS52X3Jmb3JrczogMAp2bS5zdGF0cy52bS52X2t0aHJlYWRzOiA0MAp2bS5zdGF0 cy52bS52X2ZvcmtwYWdlczogNzE2MDcwCnZtLnN0YXRzLnZtLnZfdmZvcmtwYWdlczogMTgzNDQ0 CnZtLnN0YXRzLnZtLnZfcmZvcmtwYWdlczogMAp2bS5zdGF0cy52bS52X2t0aHJlYWRwYWdlczog MAp2bS5zdGF0cy5taXNjLnplcm9fcGFnZV9jb3VudDogMjc4MjM2CnZtLnN0YXRzLm1pc2MuY250 X3ByZXplcm86IDM1NDM3MDYKdm0ubWF4X3Byb2NfbW1hcDogNDkzNDQKdm0ubXN5bmNfZmx1c2hf ZmxhZ3M6IDMKdm0ub2xkX21zeW5jOiAwCnZtLmJvb3RfcGFnZXM6IDQ4CnZtLm1heF9sYXVuZGVy OiAzMgp2bS5wYWdlb3V0X3N0YXRzX21heDogMTM5OTMKdm0ucGFnZW91dF9mdWxsX3N0YXRzX2lu dGVydmFsOiAyMAp2bS5wYWdlb3V0X3N0YXRzX2ludGVydmFsOiA1CnZtLnN3YXBfaWRsZV9lbmFi bGVkOiAwCnZtLmRlZmVyX3N3YXBzcGFjZV9wYWdlb3V0czogMAp2bS5kaXNhYmxlX3N3YXBzcGFj ZV9wYWdlb3V0czogMAp2bS5wYWdlb3V0X2xvY2tfbWlzczogMAp2bS5pZGxlemVyb19lbmFibGU6 IDEKdm0uaWRsZXplcm9fbWF4cnVuOiAxNgp2bS5rdm1fc2l6ZTogMTA2OTU0MzQyNAp2bS5rdm1f ZnJlZTogMzE0NTY4NzA0CnZmcy5uZnM0LmFjY2Vzc19jYWNoZV90aW1lb3V0OiA2MAp2ZnMubmZz NC5uZnN2M19jb21taXRfb25fY2xvc2U6IDAKdmZzLm5mcy5kb3duZGVsYXlpbml0aWFsOiAxMgp2 ZnMubmZzLmRvd25kZWxheWludGVydmFsOiAzMAp2ZnMubmZzLnJlYWxpZ25fdGVzdDogMAp2ZnMu bmZzLnJlYWxpZ25fY291bnQ6IDAKdmZzLm5mcy5idWZwYWNrZXRzOiA0CnZmcy5uZnMucmVjb25u ZWN0czogMAp2ZnMubmZzLm5mczNfanVrZWJveF9kZWxheTogMTAKdmZzLm5mcy5pb2RtYXhpZGxl OiAxMjAKdmZzLm5mcy5pb2RtaW46IDAKdmZzLm5mcy5pb2RtYXg6IDIwCnZmcy5uZnMuZGVmZWN0 OiAwCnZmcy5uZnMubmZzX2lwX3BhcmFub2lhOiAxCnZmcy5uZnMuZGlza2xlc3NfdmFsaWQ6IDAK dmZzLm5mcy5kaXNrbGVzc19yb290cGF0aDogCnZmcy5uZnMuYWNjZXNzX2NhY2hlX3RpbWVvdXQ6 IDYwCnZmcy5uZnMubmZzdjNfY29tbWl0X29uX2Nsb3NlOiAwCnZmcy5uZnMuY2xlYW5fcGFnZXNf b25fY2xvc2U6IDEKdmZzLm5mcy5uZnNfZGlyZWN0aW9fZW5hYmxlOiAwCnZmcy5uZnMubmZzX2Rp cmVjdGlvX2FsbG93X21tYXA6IDEKdmZzLmRldmZzLmdlbmVyYXRpb246IDk2CnZmcy5kZXZmcy5y dWxlX2RlcHRoOiAxCnZmcy51ZnMuZGlyaGFzaF9taW5zaXplOiAyNTYwCnZmcy51ZnMuZGlyaGFz aF9tYXhtZW06IDIwOTcxNTIKdmZzLnVmcy5kaXJoYXNoX21lbTogMTk2MjQ3OQp2ZnMudWZzLmRp cmhhc2hfZG9jaGVjazogMAp2ZnMucGZzLnZuY2FjaGUuZW50cmllczogMAp2ZnMucGZzLnZuY2Fj aGUubWF4ZW50cmllczogMAp2ZnMucGZzLnZuY2FjaGUuaGl0czogMAp2ZnMucGZzLnZuY2FjaGUu bWlzc2VzOiAwCnZmcy52bWlvZGlyZW5hYmxlOiAxCnZmcy5ydW5uaW5nYnVmc3BhY2U6IDAKdmZz LmJ1ZnNwYWNlOiAxMTcyMTExMzYKdmZzLm1heGJ1ZnNwYWNlOiAxMTc5MzIwMzIKdmZzLmJ1Zm1h bGxvY3NwYWNlOiAxMDQ0NDgKdmZzLm1heG1hbGxvY2J1ZnNwYWNlOiA1ODYzODMzCnZmcy5sb2J1 ZnNwYWNlOiAxMTcyMTExMzYKdmZzLmhpYnVmc3BhY2U6IDExNzI3NjY3Mgp2ZnMuYnVmcmV1c2Vj bnQ6IDcxNTQKdmZzLmJ1ZmZyZWVrdmFjbnQ6IDAKdmZzLmJ1ZmRlZnJhZ2NudDogMAp2ZnMubG9y dW5uaW5nc3BhY2U6IDUyNDI4OAp2ZnMuaGlydW5uaW5nc3BhY2U6IDEwNDg1NzYKdmZzLmRpcnR5 YnVmZmVyZmx1c2hlczogMjQ1Mgp2ZnMuYWx0YnVmZmVyZmx1c2hlczogMAp2ZnMucmVjdXJzaXZl Zmx1c2hlczogMAp2ZnMubnVtZGlydHlidWZmZXJzOiAyMAp2ZnMubG9kaXJ0eWJ1ZmZlcnM6IDkw OQp2ZnMuaGlkaXJ0eWJ1ZmZlcnM6IDE4MTkKdmZzLmRpcnR5YnVmdGhyZXNoOiAxNjM3CnZmcy5u dW1mcmVlYnVmZmVyczogNzE3OAp2ZnMubG9mcmVlYnVmZmVyczogNDA0CnZmcy5oaWZyZWVidWZm ZXJzOiA4MDgKdmZzLmdldG5ld2J1ZmNhbGxzOiA2NjI5ODIKdmZzLmdldG5ld2J1ZnJlc3RhcnRz OiAwCnZmcy5mbHVzaHdpdGhkZXBzOiA2CnZmcy5jYWNoZS5udW1uZWc6IDI4ODEKdmZzLmNhY2hl Lm51bWNhY2hlOiA3NDkzMgp2ZnMuY2FjaGUubnVtY2FsbHM6IDE5MjkwMjk2CnZmcy5jYWNoZS5k b3RoaXRzOiAxMDc1NQp2ZnMuY2FjaGUuZG90ZG90aGl0czogODA2ODY0CnZmcy5jYWNoZS5udW1j aGVja3M6IDI0NTQ4MjM3CnZmcy5jYWNoZS5udW1taXNzOiAzNjkzNzAKdmZzLmNhY2hlLm51bW1p c3N6YXA6IDE3OTIKdmZzLmNhY2hlLm51bXBvc3phcHM6IDY4NTYKdmZzLmNhY2hlLm51bXBvc2hp dHM6IDE0ODI2OTY5CnZmcy5jYWNoZS5udW1uZWd6YXBzOiA2NzY2CnZmcy5jYWNoZS5udW1uZWdo aXRzOiAzMjYwOTI0CnZmcy5jYWNoZS5uY2hzdGF0czogMTQ4MjY5NjkgMzI2MDkyNCAxMzYyMiAw IDM3MTE2MiAwIDMxNDQ4IDMzNjIwCnZmcy5jYWNoZS5udW1mdWxscGF0aGNhbGxzOiAyMjYxCnZm cy5jYWNoZS5udW1mdWxscGF0aGZhaWwxOiAwCnZmcy5jYWNoZS5udW1mdWxscGF0aGZhaWwyOiAw CnZmcy5jYWNoZS5udW1mdWxscGF0aGZhaWw0OiAwCnZmcy5jYWNoZS5udW1mdWxscGF0aGZvdW5k OiAyMjYxCnZmcy53cml0ZV9iZWhpbmQ6IDEKdmZzLnJlYWRfbWF4OiA4CnZmcy5sb29rdXBfc2hh cmVkOiAwCnZmcy51c2VybW91bnQ6IDAKdmZzLm51bXZub2RlczogNzE4NTAKdmZzLndhbnRmcmVl dm5vZGVzOiAyNTAwMAp2ZnMuZnJlZXZub2RlczogMjQ4NTMKdmZzLnJlYXNzaWduYnVmY2FsbHM6 IDQ2NDAyOAp2ZnMudGltZXN0YW1wX3ByZWNpc2lvbjogMAp2ZnMud29ya2xpc3RfbGVuOiA2CnZm cy5uZnNydi5uZnNfcHJpdnBvcnQ6IDAKdmZzLm5mc3J2LmFzeW5jOiAwCnZmcy5uZnNydi5jb21t aXRfYmxrczogMAp2ZnMubmZzcnYuY29tbWl0X21pc3M6IDAKdmZzLm5mc3J2LnJlYWxpZ25fdGVz dDogMAp2ZnMubmZzcnYucmVhbGlnbl9jb3VudDogMAp2ZnMubmZzcnYuZ2F0aGVyZGVsYXk6IDEw MDAwCnZmcy5uZnNydi5nYXRoZXJkZWxheV92MzogMAp2ZnMuZmZzLmRvYXN5bmNmcmVlOiAxCnZm cy5mZnMuZG9yZWFsbG9jYmxrczogMQp2ZnMuZmZzLmNvbXB1dGVfc3VtbWFyeV9hdF9tb3VudDog MApuZXQubG9jYWwuc3RyZWFtLnNlbmRzcGFjZTogODE5MgpuZXQubG9jYWwuc3RyZWFtLnJlY3Zz cGFjZTogODE5MgpuZXQubG9jYWwuZGdyYW0ubWF4ZGdyYW06IDIwNDgKbmV0LmxvY2FsLmRncmFt LnJlY3ZzcGFjZTogNDA5NgpuZXQubG9jYWwuaW5mbGlnaHQ6IDAKbmV0LmxvY2FsLnRhc2tjb3Vu dDogMApuZXQubG9jYWwucmVjeWNsZWQ6IDAKbmV0LmluZXQuaXAucG9ydHJhbmdlLmxvd2ZpcnN0 OiAxMDIzCm5ldC5pbmV0LmlwLnBvcnRyYW5nZS5sb3dsYXN0OiA2MDAKbmV0LmluZXQuaXAucG9y dHJhbmdlLmZpcnN0OiA0OTE1MgpuZXQuaW5ldC5pcC5wb3J0cmFuZ2UubGFzdDogNjU1MzUKbmV0 LmluZXQuaXAucG9ydHJhbmdlLmhpZmlyc3Q6IDQ5MTUyCm5ldC5pbmV0LmlwLnBvcnRyYW5nZS5o aWxhc3Q6IDY1NTM1Cm5ldC5pbmV0LmlwLnBvcnRyYW5nZS5yZXNlcnZlZGhpZ2g6IDEwMjMKbmV0 LmluZXQuaXAucG9ydHJhbmdlLnJlc2VydmVkbG93OiAwCm5ldC5pbmV0LmlwLnBvcnRyYW5nZS5y YW5kb21pemVkOiAxCm5ldC5pbmV0LmlwLnBvcnRyYW5nZS5yYW5kb21jcHM6IDEwCm5ldC5pbmV0 LmlwLnBvcnRyYW5nZS5yYW5kb210aW1lOiA0NQpuZXQuaW5ldC5pcC5mb3J3YXJkaW5nOiAwCm5l dC5pbmV0LmlwLnJlZGlyZWN0OiAxCm5ldC5pbmV0LmlwLnR0bDogNjQKbmV0LmluZXQuaXAucnRl eHBpcmU6IDM2MDAKbmV0LmluZXQuaXAucnRtaW5leHBpcmU6IDEwCm5ldC5pbmV0LmlwLnJ0bWF4 Y2FjaGU6IDEyOApuZXQuaW5ldC5pcC5zb3VyY2Vyb3V0ZTogMApuZXQuaW5ldC5pcC5pbnRyX3F1 ZXVlX21heGxlbjogNTAKbmV0LmluZXQuaXAuaW50cl9xdWV1ZV9kcm9wczogMApuZXQuaW5ldC5p cC5hY2NlcHRfc291cmNlcm91dGU6IDAKbmV0LmluZXQuaXAua2VlcGZhaXRoOiAwCm5ldC5pbmV0 LmlwLmdpZnR0bDogMzAKbmV0LmluZXQuaXAuc3VibmV0c19hcmVfbG9jYWw6IDAKbmV0LmluZXQu aXAuc2FtZV9wcmVmaXhfY2FycF9vbmx5OiAwCm5ldC5pbmV0LmlwLmZhc3Rmb3J3YXJkaW5nOiAw Cm5ldC5pbmV0LmlwLnByb2Nlc3Nfb3B0aW9uczogMQpuZXQuaW5ldC5pcC5zZW5kc291cmNlcXVl bmNoOiAwCm5ldC5pbmV0LmlwLnJhbmRvbV9pZDogMApuZXQuaW5ldC5pcC5jaGVja19pbnRlcmZh Y2U6IDAKbmV0LmluZXQuaXAuZnJhZ3BhY2tldHM6IDAKbmV0LmluZXQuaXAubWF4ZnJhZ3NwZXJw YWNrZXQ6IDE2Cm5ldC5pbmV0LmlwLm1heGZyYWdwYWNrZXRzOiA4MDAKbmV0LmluZXQuaWNtcC5t YXNrcmVwbDogMApuZXQuaW5ldC5pY21wLmljbXBsaW06IDIwMApuZXQuaW5ldC5pY21wLm1hc2tm YWtlOiAwCm5ldC5pbmV0LmljbXAuZHJvcF9yZWRpcmVjdDogMApuZXQuaW5ldC5pY21wLmxvZ19y ZWRpcmVjdDogMApuZXQuaW5ldC5pY21wLmljbXBsaW1fb3V0cHV0OiAxCm5ldC5pbmV0LmljbXAu cmVwbHlfc3JjOiAKbmV0LmluZXQuaWNtcC5yZXBseV9mcm9tX2ludGVyZmFjZTogMApuZXQuaW5l dC5pY21wLnF1b3RlbGVuOiA4Cm5ldC5pbmV0LmljbXAuYm1jYXN0ZWNobzogMApuZXQuaW5ldC50 Y3AucmZjMTMyMzogMQpuZXQuaW5ldC50Y3AubXNzZGZsdDogNTEyCm5ldC5pbmV0LnRjcC5rZWVw aWRsZTogNzIwMDAwMApuZXQuaW5ldC50Y3Aua2VlcGludHZsOiA3NTAwMApuZXQuaW5ldC50Y3Au c2VuZHNwYWNlOiAzMjc2OApuZXQuaW5ldC50Y3AucmVjdnNwYWNlOiA2NTUzNgpuZXQuaW5ldC50 Y3Aua2VlcGluaXQ6IDc1MDAwCm5ldC5pbmV0LnRjcC5kZWxhY2t0aW1lOiAxMDAKbmV0LmluZXQu dGNwLnY2bXNzZGZsdDogMTAyNApuZXQuaW5ldC50Y3AuaG9zdGNhY2hlLmNhY2hlbGltaXQ6IDE1 MzYwCm5ldC5pbmV0LnRjcC5ob3N0Y2FjaGUuaGFzaHNpemU6IDUxMgpuZXQuaW5ldC50Y3AuaG9z dGNhY2hlLmJ1Y2tldGxpbWl0OiAzMApuZXQuaW5ldC50Y3AuaG9zdGNhY2hlLmNvdW50OiAwCm5l dC5pbmV0LnRjcC5ob3N0Y2FjaGUuZXhwaXJlOiAzNjAwCm5ldC5pbmV0LnRjcC5ob3N0Y2FjaGUu cHVyZ2U6IDAKbmV0LmluZXQudGNwLmxvZ19pbl92YWluOiAwCm5ldC5pbmV0LnRjcC5ibGFja2hv bGU6IDAKbmV0LmluZXQudGNwLmRlbGF5ZWRfYWNrOiAxCm5ldC5pbmV0LnRjcC5yZmMzMDQyOiAx Cm5ldC5pbmV0LnRjcC5yZmMzMzkwOiAxCm5ldC5pbmV0LnRjcC5pbnNlY3VyZV9yc3Q6IDAKbmV0 LmluZXQudGNwLnJlYXNzLm1heHNlZ21lbnRzOiAxNjAwCm5ldC5pbmV0LnRjcC5yZWFzcy5jdXJz ZWdtZW50czogMApuZXQuaW5ldC50Y3AucmVhc3MubWF4cWxlbjogNDgKbmV0LmluZXQudGNwLnJl YXNzLm92ZXJmbG93czogMApuZXQuaW5ldC50Y3AucGF0aF9tdHVfZGlzY292ZXJ5OiAxCm5ldC5p bmV0LnRjcC5zbG93c3RhcnRfZmxpZ2h0c2l6ZTogMQpuZXQuaW5ldC50Y3AubG9jYWxfc2xvd3N0 YXJ0X2ZsaWdodHNpemU6IDQKbmV0LmluZXQudGNwLm5ld3Jlbm86IDEKbmV0LmluZXQudGNwLnNh Y2suZW5hYmxlOiAxCm5ldC5pbmV0LnRjcC5zYWNrLm1heGhvbGVzOiAxMjgKbmV0LmluZXQudGNw LnNhY2suZ2xvYmFsbWF4aG9sZXM6IDY1NTM2Cm5ldC5pbmV0LnRjcC5zYWNrLmdsb2JhbGhvbGVz OiAwCm5ldC5pbmV0LnRjcC5taW5tc3M6IDIxNgpuZXQuaW5ldC50Y3AubWlubXNzb3ZlcmxvYWQ6 IDAKbmV0LmluZXQudGNwLnRjYmhhc2hzaXplOiA1MTIKbmV0LmluZXQudGNwLmRvX3RjcGRyYWlu OiAxCm5ldC5pbmV0LnRjcC5wY2Jjb3VudDogMTEKbmV0LmluZXQudGNwLmljbXBfbWF5X3JzdDog MQpuZXQuaW5ldC50Y3AuaXNuX3Jlc2VlZF9pbnRlcnZhbDogMApuZXQuaW5ldC50Y3AubWF4dGNw dHc6IDUxMjAKbmV0LmluZXQudGNwLm5vbG9jYWx0aW1ld2FpdDogMApuZXQuaW5ldC50Y3AuaW5m bGlnaHQuZW5hYmxlOiAxCm5ldC5pbmV0LnRjcC5pbmZsaWdodC5kZWJ1ZzogMApuZXQuaW5ldC50 Y3AuaW5mbGlnaHQucnR0dGhyZXNoOiAxMApuZXQuaW5ldC50Y3AuaW5mbGlnaHQubWluOiA2MTQ0 Cm5ldC5pbmV0LnRjcC5pbmZsaWdodC5tYXg6IDEwNzM3MjU0NDAKbmV0LmluZXQudGNwLmluZmxp Z2h0LnN0YWI6IDIwCm5ldC5pbmV0LnRjcC5zeW5jb29raWVzOiAxCm5ldC5pbmV0LnRjcC5zeW5j YWNoZS5idWNrZXRsaW1pdDogMzAKbmV0LmluZXQudGNwLnN5bmNhY2hlLmNhY2hlbGltaXQ6IDE1 MzU5Cm5ldC5pbmV0LnRjcC5zeW5jYWNoZS5jb3VudDogMApuZXQuaW5ldC50Y3Auc3luY2FjaGUu aGFzaHNpemU6IDUxMgpuZXQuaW5ldC50Y3Auc3luY2FjaGUucmV4bXRsaW1pdDogMwpuZXQuaW5l dC50Y3AubXNsOiAzMDAwMApuZXQuaW5ldC50Y3AucmV4bWl0X21pbjogMwpuZXQuaW5ldC50Y3Au cmV4bWl0X3Nsb3A6IDIwMApuZXQuaW5ldC50Y3AuYWx3YXlzX2tlZXBhbGl2ZTogMQpuZXQuaW5l dC51ZHAuY2hlY2tzdW06IDEKbmV0LmluZXQudWRwLm1heGRncmFtOiA5MjE2Cm5ldC5pbmV0LnVk cC5yZWN2c3BhY2U6IDQyMDgwCm5ldC5pbmV0LnVkcC5sb2dfaW5fdmFpbjogMApuZXQuaW5ldC51 ZHAuYmxhY2tob2xlOiAwCm5ldC5pbmV0LnVkcC5zdHJpY3RfbWNhc3RfbXNoaXA6IDAKbmV0Lmlu ZXQucmF3Lm1heGRncmFtOiA4MTkyCm5ldC5pbmV0LnJhdy5yZWN2c3BhY2U6IDgxOTIKbmV0Lmlu ZXQuYWNjZi51bmxvYWRhYmxlOiAwCm5ldC5saW5rLmdlbmVyaWMuc3lzdGVtLmlmY291bnQ6IDMK bmV0LmxpbmsuZXRoZXIuaW5ldC5wcnVuZV9pbnR2bDogMzAwCm5ldC5saW5rLmV0aGVyLmluZXQu bWF4X2FnZTogMTIwMApuZXQubGluay5ldGhlci5pbmV0Lm1heHRyaWVzOiA1Cm5ldC5saW5rLmV0 aGVyLmluZXQudXNlbG9vcGJhY2s6IDEKbmV0LmxpbmsuZXRoZXIuaW5ldC5wcm94eWFsbDogMApu ZXQubGluay5ldGhlci5pbmV0LmxvZ19hcnBfd3JvbmdfaWZhY2U6IDEKbmV0LmxpbmsuZXRoZXIu aW5ldC5sb2dfYXJwX21vdmVtZW50czogMQpuZXQubGluay5ldGhlci5pbmV0LmxvZ19hcnBfcGVy bWFuZW50X21vZGlmeTogMQpuZXQubGluay5ldGhlci5pcGZ3OiAwCm5ldC5saW5rLmdpZi5tYXhf bmVzdGluZzogMQpuZXQubGluay5naWYucGFyYWxsZWxfdHVubmVsczogMApuZXQubGluay5sb2df bGlua19zdGF0ZV9jaGFuZ2U6IDEKbmV0LmluZXQ2LmlwNi5mb3J3YXJkaW5nOiAwCm5ldC5pbmV0 Ni5pcDYucmVkaXJlY3Q6IDEKbmV0LmluZXQ2LmlwNi5obGltOiA2NApuZXQuaW5ldDYuaXA2Lm1h eGZyYWdwYWNrZXRzOiA2NDAwCm5ldC5pbmV0Ni5pcDYuYWNjZXB0X3J0YWR2OiAxCm5ldC5pbmV0 Ni5pcDYua2VlcGZhaXRoOiAwCm5ldC5pbmV0Ni5pcDYubG9nX2ludGVydmFsOiA1Cm5ldC5pbmV0 Ni5pcDYuaGRybmVzdGxpbWl0OiA1MApuZXQuaW5ldDYuaXA2LmRhZF9jb3VudDogMQpuZXQuaW5l dDYuaXA2LmF1dG9fZmxvd2xhYmVsOiAxCm5ldC5pbmV0Ni5pcDYuZGVmbWNhc3RobGltOiAxCm5l dC5pbmV0Ni5pcDYuZ2lmaGxpbTogMzAKbmV0LmluZXQ2LmlwNi5rYW1lX3ZlcnNpb246IEZyZWVC U0QKbmV0LmluZXQ2LmlwNi51c2VfZGVwcmVjYXRlZDogMQpuZXQuaW5ldDYuaXA2LnJyX3BydW5l OiA1Cm5ldC5pbmV0Ni5pcDYudjZvbmx5OiAxCm5ldC5pbmV0Ni5pcDYucnRleHBpcmU6IDM2MDAK bmV0LmluZXQ2LmlwNi5ydG1pbmV4cGlyZTogMTAKbmV0LmluZXQ2LmlwNi5ydG1heGNhY2hlOiAx MjgKbmV0LmluZXQ2LmlwNi51c2VfdGVtcGFkZHI6IDAKbmV0LmluZXQ2LmlwNi50ZW1wcGx0aW1l OiA4NjQwMApuZXQuaW5ldDYuaXA2LnRlbXB2bHRpbWU6IDYwNDgwMApuZXQuaW5ldDYuaXA2LmF1 dG9fbGlua2xvY2FsOiAxCm5ldC5pbmV0Ni5pcDYucHJlZmVyX3RlbXBhZGRyOiAwCm5ldC5pbmV0 Ni5pcDYudXNlX2RlZmF1bHR6b25lOiAwCm5ldC5pbmV0Ni5pcDYubWF4ZnJhZ3M6IDY0MDAKbmV0 LmluZXQ2LmlwNi5tY2FzdF9wbXR1OiAwCm5ldC5pbmV0Ni5pY21wNi5yZWRpcmFjY2VwdDogMQpu ZXQuaW5ldDYuaWNtcDYucmVkaXJ0aW1lb3V0OiA2MDAKbmV0LmluZXQ2LmljbXA2Lm5kNl9wcnVu ZTogMQpuZXQuaW5ldDYuaWNtcDYubmQ2X2RlbGF5OiA1Cm5ldC5pbmV0Ni5pY21wNi5uZDZfdW1h eHRyaWVzOiAzCm5ldC5pbmV0Ni5pY21wNi5uZDZfbW1heHRyaWVzOiAzCm5ldC5pbmV0Ni5pY21w Ni5uZDZfdXNlbG9vcGJhY2s6IDEKbmV0LmluZXQ2LmljbXA2Lm5vZGVpbmZvOiAzCm5ldC5pbmV0 Ni5pY21wNi5lcnJwcHNsaW1pdDogMTAwCm5ldC5pbmV0Ni5pY21wNi5uZDZfbWF4bnVkaGludDog MApuZXQuaW5ldDYuaWNtcDYubmQ2X2RlYnVnOiAwCm5ldC5pbmV0Ni5pY21wNi5uZDZfbWF4cXVl dWVsZW46IDEKbmV0LmJwZi5idWZzaXplOiA0MDk2Cm5ldC5icGYubWF4YnVmc2l6ZTogNTI0Mjg4 Cm5ldC5icGYubWF4aW5zbnM6IDUxMgpuZXQuaXNyLmRpcmVjdDogMApuZXQuaXNyLmNvdW50OiA2 MjM4OApuZXQuaXNyLmRpcmVjdGVkOiAwCm5ldC5pc3IuZGVmZXJyZWQ6IDYyMzg4Cm5ldC5pc3Iu cXVldWVkOiAxMzkKbmV0Lmlzci5kcm9wOiAwCm5ldC5pc3Iuc3dpX2NvdW50OiA2MDk3NQpuZXQu cm91dGUubmV0aXNyX21heHFsZW46IDI1NgpuZXQud2xhbi5kZWJ1ZzogMApkZWJ1Zy5maXJld2ly ZV9kZWJ1ZzogMApkZWJ1Zy5md21lbV9kZWJ1ZzogMApkZWJ1Zy5pZl9md2VfZGVidWc6IDAKZGVi dWcuc2JwX2RlYnVnOiAwCmRlYnVnLm1kZGVidWc6IDAKZGVidWcuZWxmMzJfdHJhY2U6IDAKZGVi dWcuZWxmMzJfbGVnYWN5X2NvcmVkdW1wOiAwCmRlYnVnLmJvb3Rob3d0bzogLTIxNDc0ODM2NDgK ZGVidWcuYm9vdHZlcmJvc2U6IDAKZGVidWcuY3B1ZnJlcS5sb3dlc3Q6IDAKZGVidWcuY3B1ZnJl cS52ZXJib3NlOiAwCmRlYnVnLnNpemVvZi5jZGV2OiAxODQKZGVidWcuc2l6ZW9mLmNkZXZfcHJp djogMjE2CmRlYnVnLnNpemVvZi5nX2NsYXNzOiA2OApkZWJ1Zy5zaXplb2YuZ19nZW9tOiA2OApk ZWJ1Zy5zaXplb2YuZ19wcm92aWRlcjogODgKZGVidWcuc2l6ZW9mLmdfY29uc3VtZXI6IDYwCmRl YnVnLnNpemVvZi5nX2Jpb3E6IDQ4CmRlYnVnLnNpemVvZi52bm9kZTogMjcyCmRlYnVnLnNpemVv Zi5wcm9jOiA1MzYKZGVidWcuc2l6ZW9mLmJpbzogMTMyCmRlYnVnLnNpemVvZi5idWY6IDMyOApk ZWJ1Zy5zaXplb2Yua2luZm9fcHJvYzogNzY4CmRlYnVnLnNpemVvZi5kZXZzdGF0OiAyNDAKZGVi dWcudG9fYXZnX2RlcHRoOiAxOTk0CmRlYnVnLnRvX2F2Z19nY2FsbHM6IDI0NgpkZWJ1Zy50b19h dmdfbXR4Y2FsbHM6IDAKZGVidWcudG9fYXZnX21wY2FsbHM6IDE3MDIKZGVidWcua2RiLmF2YWls YWJsZTogCmRlYnVnLmtkYi5jdXJyZW50OiAKZGVidWcua2RiLmVudGVyOiAwCmRlYnVnLmtkYi5z dG9wX2NwdXM6IDEKZGVidWcucm1hbl9kZWJ1ZzogMApkZWJ1Zy50dHlkZWJ1ZzogMApkZWJ1Zy5u Y2hhc2g6IDEzMTA3MQpkZWJ1Zy5uY25lZ2ZhY3RvcjogMTYKZGVidWcubnVtbmVnOiAyODgxCmRl YnVnLm51bWNhY2hlOiA3NDkzMgpkZWJ1Zy5udW1jYWNoZWh2OiAxMzUwOQpkZWJ1Zy52ZnNjYWNo ZTogMQpkZWJ1Zy52bnNpemU6IDI3MgpkZWJ1Zy5uY3NpemU6IDM2CmRlYnVnLmhhc2hzdGF0Lm5j aGFzaDogMTMxMDcyIDU3MDgwIDYgNDM1NApkZWJ1Zy5kaXNhYmxlY3dkOiAwCmRlYnVnLmRpc2Fi bGVmdWxscGF0aDogMApkZWJ1Zy5tcHNhZmV2ZnM6IDEKZGVidWcucnVzaF9yZXF1ZXN0czogMApk ZWJ1Zy52bmxydV9ub3doZXJlOiAwCmRlYnVnLmlmX3R1bl9kZWJ1ZzogMApkZWJ1Zy5tcHNhZmVu ZXQ6IDEKZGVidWcuZG9wZXJzaXN0ZW5jZTogMApkZWJ1Zy5zbmFwZGVidWc6IDAKZGVidWcuY29s bGVjdHNuYXBzdGF0czogMApkZWJ1Zy5tYXhfc29mdGRlcHM6IDQwMDAwMApkZWJ1Zy50aWNrZGVs YXk6IDIKZGVidWcubWF4aW5kaXJkZXBzOiA1MApkZWJ1Zy53b3JrbGlzdF9wdXNoOiAwCmRlYnVn LmJsa19saW1pdF9wdXNoOiAwCmRlYnVnLmlub19saW1pdF9wdXNoOiAwCmRlYnVnLmJsa19saW1p dF9oaXQ6IDAKZGVidWcuaW5vX2xpbWl0X2hpdDogMApkZWJ1Zy5zeW5jX2xpbWl0X2hpdDogMApk ZWJ1Zy5pbmRpcl9ibGtfcHRyczogMgpkZWJ1Zy5pbm9kZV9iaXRtYXA6IDQ4NQpkZWJ1Zy5kaXJl Y3RfYmxrX3B0cnM6IDE1OQpkZWJ1Zy5kaXJfZW50cnk6IDgwNApkZWJ1Zy5iaWdjZ3M6IDAKZGVi dWcuZG9ia2dyZHdyaXRlOiAxCmRlYnVnLmRpcmNoZWNrOiAwCmRlYnVnLm5vc2xlZXB3aXRobG9j a3M6IDAKZGVidWcubXBzYWZldm06IDEKZGVidWcucHNtLmxvZ2xldmVsOiAwCmRlYnVnLnBzbS5o ejogMjAKZGVidWcucHNtLmVycnNlY3M6IDIKZGVidWcucHNtLmVycnVzZWNzOiAwCmRlYnVnLnBz bS5zZWNzOiAwCmRlYnVnLnBzbS51c2VjczogNTAwMDAwCmRlYnVnLnBzbS5wa3RlcnJ0aHJlc2g6 IDIKZGVidWcuZmRjLmZpZm86IDgKZGVidWcuZmRjLmRlYnVnZmxhZ3M6IDAKZGVidWcuZmRjLnJl dHJpZXM6IDEwCmRlYnVnLmZkYy5zcGVjMTogMTc1CmRlYnVnLmZkYy5zcGVjMjogMTYKZGVidWcu ZmRjLnNldHRsZTogMTI1CmRlYnVnLm1pbmlkdW1wOiAwCmRlYnVnLlBNQVAxY2hhbmdlZGNwdTog MApkZWJ1Zy5QTUFQMWNoYW5nZWQ6IDM1MTIzCmRlYnVnLlBNQVAxdW5jaGFuZ2VkOiA0Mjg1NDA0 CmRlYnVnLmFjcGkuZG9fcG93ZXJzdGF0ZTogMQpkZWJ1Zy5hY3BpLmFjcGlfY2FfdmVyc2lvbjog MHgyMDA0MTExOQpkZWJ1Zy5hY3BpLnNlbWFwaG9yZV9kZWJ1ZzogMApkZWJ1Zy5hY3BpLnJlc3Vt ZV9iZWVwOiAwCmh3Lm1hY2hpbmU6IGkzODYKaHcubW9kZWw6IEludGVsKFIpIFBlbnRpdW0oUikg NCBDUFUgMS44MEdIegpody5uY3B1OiAxCmh3LmJ5dGVvcmRlcjogMTIzNApody5waHlzbWVtOiAy MTM4MjY3NjQ4Cmh3LnVzZXJtZW06IDE5Nzc4NjAwOTYKaHcucGFnZXNpemU6IDQwOTYKaHcuZmxv YXRpbmdwb2ludDogMQpody5tYWNoaW5lX2FyY2g6IGkzODYKaHcucmVhbG1lbTogMjE0NzIyMTUw NApody5hYWMuaW9zaXplX21heDogNjU1MzYKaHcuYW1yLmZvcmNlX3NnMzI6IDAKaHcuYW4uYW5f ZHVtcDogb2ZmCmh3LmFuLmFuX2NhY2hlX21vZGU6IGRibQpody5hbi5hbl9jYWNoZV9tY2FzdG9u bHk6IDAKaHcuYW4uYW5fY2FjaGVfaXBvbmx5OiAxCmh3LmF0YS5hdGFfZG1hOiAxCmh3LmF0YS5h dGFwaV9kbWE6IDEKaHcuYXRhLndjOiAxCmh3LmF0aC5oYWwudmVyc2lvbjogMC45LjE3LjIKaHcu YXRoLmhhbC5kbWFfYnJ0OiAyCmh3LmF0aC5oYWwuc3dfYnJ0OiAxMApody5hdGguaGFsLnN3YmFf YmFja29mZjogMApody5hdGguZHdlbGw6IDIwMApody5hdGguY2FsaWJyYXRlOiAzMApody5hdGgu b3V0ZG9vcjogMQpody5hdGgueGNoYW5tb2RlOiAxCmh3LmF0aC5jb3VudHJ5Y29kZTogMApody5h dGgucmVnZG9tYWluOiAwCmh3LmF0aC5yeGJ1ZjogNDAKaHcuYXRoLnR4YnVmOiAxMDAKaHcuY2Fy ZGJ1cy5kZWJ1ZzogMApody5jYXJkYnVzLmNpc19kZWJ1ZzogMApody5jcy5kZWJ1ZzogMApody5j cy5pZ25vcmVfY2hlY2tzdW1fZmFpbHVyZTogMApody5jcy5yZWN2X2RlbGF5OiA1NzAKaHcuZmly ZXdpcmUudHJ5X2JtcjogMQpody5maXJld2lyZS5ob2xkX2NvdW50OiAzCmh3LmZpcmV3aXJlLmZ3 bWVtLmV1aTY0X2hpOiAwCmh3LmZpcmV3aXJlLmZ3bWVtLmV1aTY0X2xvOiAwCmh3LmZpcmV3aXJl LmZ3bWVtLnNwZWVkOiAyCmh3LmZpcmV3aXJlLmZ3ZS5zdHJlYW1fY2g6IDEKaHcuZmlyZXdpcmUu ZndlLnR4X3NwZWVkOiAyCmh3LmZpcmV3aXJlLmZ3ZS5yeF9xdWV1ZV9sZW46IDEyOApody5maXJl d2lyZS5zYnAuYXV0b19sb2dpbjogMQpody5maXJld2lyZS5zYnAubWF4X3NwZWVkOiAtMQpody5m aXJld2lyZS5zYnAuZXhjbHVzaXZlX2xvZ2luOiAxCmh3LmZpcmV3aXJlLnNicC5sb2dpbl9kZWxh eTogMTAwMApody5maXJld2lyZS5zYnAuc2Nhbl9kZWxheTogNTAwCmh3LmZpcmV3aXJlLnNicC51 c2VfZG9vcmJlbGw6IDAKaHcuZmlyZXdpcmUuc2JwLnRhZ3M6IDAKaHcubWZpLmV2ZW50X2xvY2Fs ZTogNjU1MzUKaHcubWZpLmV2ZW50X2NsYXNzOiAtMgpody5wY2NhcmQuZGVidWc6IDAKaHcucGNj YXJkLmNpc19kZWJ1ZzogMApody5jYmIuc3RhcnRfbWVtb3J5OiAyMjgxNzAxMzc2Cmh3LmNiYi5z dGFydF8xNl9pbzogMjU2Cmh3LmNiYi5zdGFydF8zMl9pbzogNDA5Ngpody5jYmIuZGVidWc6IDAK aHcucGNpYy5pbnRyX21hc2s6IDU3MDE2Cmh3LnBjaS5lbmFibGVfaW9fbW9kZXM6IDEKaHcucGNp LmRvX3Bvd2VyX25vZHJpdmVyOiAwCmh3LnBjaS5kb19wb3dlcl9yZXN1bWU6IDEKaHcucGNpLmhv c3RfbWVtX3N0YXJ0OiAyMTQ3NDgzNjQ4Cmh3LnBjaS5pcnFfb3ZlcnJpZGVfbWFzazogNTcwODAK aHcud2kudHhlcmF0ZTogMApody53aS5kZWJ1ZzogMApody54ZS5kZWJ1ZzogMApody5pbnRyX3N0 b3JtX3RocmVzaG9sZDogNTAwCmh3LmF2YWlscGFnZXM6IDUyMjAzOApody5idXMuZGV2Y3RsX2Rp c2FibGU6IDAKaHcuZGNfcXVpY2s6IDEKaHcuc3RlLnJ4c3luY3M6IDAKaHcucHNtLnRhcF90aHJl c2hvbGQ6IDI1Cmh3LnBzbS50YXBfdGltZW91dDogMTI1MDAwCmh3LmtiZC5rZXltYXBfcmVzdHJp Y3RfY2hhbmdlOiAwCmh3Lm52ZV9wb2xsaW50ZXJ2YWw6IDAKaHcuc3lzY29ucy5zYXZlci5rZXli b25seTogMQpody5zeXNjb25zLmJlbGw6IDEKaHcuc3lzY29ucy5rYmRfcmVib290OiAxCmh3LnN5 c2NvbnMua2JkX2RlYnVnOiAxCmh3LnN5c2NvbnMuc2Nfbm9fc3VzcGVuZF92dHN3aXRjaDogMApo dy5idXNkbWEudG90YWxfYnBhZ2VzOiA1NDUKaHcuYnVzZG1hLnpvbmUwLnRvdGFsX2JwYWdlczog NTEyCmh3LmJ1c2RtYS56b25lMC5mcmVlX2JwYWdlczogNTEyCmh3LmJ1c2RtYS56b25lMC5yZXNl cnZlZF9icGFnZXM6IDAKaHcuYnVzZG1hLnpvbmUwLmFjdGl2ZV9icGFnZXM6IDAKaHcuYnVzZG1h LnpvbmUwLnRvdGFsX2JvdW5jZWQ6IDAKaHcuYnVzZG1hLnpvbmUwLnRvdGFsX2RlZmVycmVkOiAw Cmh3LmJ1c2RtYS56b25lMC5sb3dhZGRyOiAweGZmZmZmZmZmCmh3LmJ1c2RtYS56b25lMC5hbGln bm1lbnQ6IDIKaHcuYnVzZG1hLnpvbmUwLmJvdW5kYXJ5OiAwCmh3LmJ1c2RtYS56b25lMS50b3Rh bF9icGFnZXM6IDMyCmh3LmJ1c2RtYS56b25lMS5mcmVlX2JwYWdlczogMzIKaHcuYnVzZG1hLnpv bmUxLnJlc2VydmVkX2JwYWdlczogMApody5idXNkbWEuem9uZTEuYWN0aXZlX2JwYWdlczogMApo dy5idXNkbWEuem9uZTEudG90YWxfYm91bmNlZDogMApody5idXNkbWEuem9uZTEudG90YWxfZGVm ZXJyZWQ6IDAKaHcuYnVzZG1hLnpvbmUxLmxvd2FkZHI6IDB4ZmZmZmZmZmYKaHcuYnVzZG1hLnpv bmUxLmFsaWdubWVudDogMgpody5idXNkbWEuem9uZTEuYm91bmRhcnk6IDY1NTM2Cmh3LmJ1c2Rt YS56b25lMi50b3RhbF9icGFnZXM6IDEKaHcuYnVzZG1hLnpvbmUyLmZyZWVfYnBhZ2VzOiAxCmh3 LmJ1c2RtYS56b25lMi5yZXNlcnZlZF9icGFnZXM6IDAKaHcuYnVzZG1hLnpvbmUyLmFjdGl2ZV9i cGFnZXM6IDAKaHcuYnVzZG1hLnpvbmUyLnRvdGFsX2JvdW5jZWQ6IDAKaHcuYnVzZG1hLnpvbmUy LnRvdGFsX2RlZmVycmVkOiAwCmh3LmJ1c2RtYS56b25lMi5sb3dhZGRyOiAweGZmZmZmZmZmCmh3 LmJ1c2RtYS56b25lMi5hbGlnbm1lbnQ6IDQwOTYKaHcuYnVzZG1hLnpvbmUyLmJvdW5kYXJ5OiAw Cmh3LmNsb2NrcmF0ZTogMTc5NApody5pbnN0cnVjdGlvbl9zc2U6IDEKaHcudmlhX2ZlYXR1cmVf cm5nOiAwCmh3LnZpYV9mZWF0dXJlX3hjcnlwdDogMApody5hcGljLmVuYWJsZV9leHRpbnQ6IDAK aHcuYWNwaS5zdXBwb3J0ZWRfc2xlZXBfc3RhdGU6IFMxIFM0IFM1Cmh3LmFjcGkucG93ZXJfYnV0 dG9uX3N0YXRlOiBTNQpody5hY3BpLnNsZWVwX2J1dHRvbl9zdGF0ZTogUzEKaHcuYWNwaS5saWRf c3dpdGNoX3N0YXRlOiBOT05FCmh3LmFjcGkuc3RhbmRieV9zdGF0ZTogUzEKaHcuYWNwaS5zdXNw ZW5kX3N0YXRlOiBTMwpody5hY3BpLnNsZWVwX2RlbGF5OiAxCmh3LmFjcGkuczRiaW9zOiAwCmh3 LmFjcGkudmVyYm9zZTogMApody5hY3BpLmRpc2FibGVfb25fcmVib290OiAwCmh3LmFjcGkuaGFu ZGxlX3JlYm9vdDogMApody5hY3BpLnJlc2V0X3ZpZGVvOiAwCmh3LmFjcGkuY3B1LmN4X3N1cHBv cnRlZDogQzEvMApody5hY3BpLmNwdS5jeF9sb3dlc3Q6IEMxCmh3LmFjcGkuY3B1LmN4X3VzYWdl OiAxMDAuMDAlCm1hY2hkZXAuYWRqa2VybnR6OiAtNzIwMAptYWNoZGVwLmRpc2FibGVfcnRjX3Nl dDogMAptYWNoZGVwLndhbGxfY21vc19jbG9jazogMQptYWNoZGVwLmNvbnJjbGs6IDE4NDMyMDAK bWFjaGRlcC5nZGJzcGVlZDogOTYwMAptYWNoZGVwLmNvbnNwZWVkOiA5NjAwCm1hY2hkZXAuZW5h YmxlX3BhbmljX2tleTogMAptYWNoZGVwLmRpc2FibGVfbXRycnM6IDAKbWFjaGRlcC5jcHVfaWRs ZV9obHQ6IDEKbWFjaGRlcC5ndWVzc2VkX2Jvb3RkZXY6IDI2ODY0NTE3MTIKbWFjaGRlcC5obHRf Y3B1czogMAptYWNoZGVwLnBhbmljX29uX25taTogMQptYWNoZGVwLnRzY19mcmVxOiAxNzk0NTU1 Mzc2Cm1hY2hkZXAuaTgyNTRfZnJlcTogMTE5MzE4MgptYWNoZGVwLmFjcGlfdGltZXJfZnJlcTog MzU3OTU0NQptYWNoZGVwLmFjcGlfcm9vdDogMTA0NjkxMgp1c2VyLmNzX3BhdGg6IC91c3IvYmlu Oi9iaW46L3Vzci9zYmluOi9zYmluOgp1c2VyLmJjX2Jhc2VfbWF4OiA5OQp1c2VyLmJjX2RpbV9t YXg6IDIwNDgKdXNlci5iY19zY2FsZV9tYXg6IDk5CnVzZXIuYmNfc3RyaW5nX21heDogMTAwMAp1 c2VyLmNvbGxfd2VpZ2h0c19tYXg6IDAKdXNlci5leHByX25lc3RfbWF4OiAzMgp1c2VyLmxpbmVf bWF4OiAyMDQ4CnVzZXIucmVfZHVwX21heDogMjU1CnVzZXIucG9zaXgyX3ZlcnNpb246IDE5OTIx Mgp1c2VyLnBvc2l4Ml9jX2JpbmQ6IDAKdXNlci5wb3NpeDJfY19kZXY6IDAKdXNlci5wb3NpeDJf Y2hhcl90ZXJtOiAwCnVzZXIucG9zaXgyX2ZvcnRfZGV2OiAwCnVzZXIucG9zaXgyX2ZvcnRfcnVu OiAwCnVzZXIucG9zaXgyX2xvY2FsZWRlZjogMAp1c2VyLnBvc2l4Ml9zd19kZXY6IDAKdXNlci5w b3NpeDJfdXBlOiAwCnVzZXIuc3RyZWFtX21heDogMjAKdXNlci50em5hbWVfbWF4OiAyNTUKcDEw MDNfMWIuYXN5bmNocm9ub3VzX2lvOiAwCnAxMDAzXzFiLm1hcHBlZF9maWxlczogMQpwMTAwM18x Yi5tZW1sb2NrOiAwCnAxMDAzXzFiLm1lbWxvY2tfcmFuZ2U6IDAKcDEwMDNfMWIubWVtb3J5X3By b3RlY3Rpb246IDAKcDEwMDNfMWIubWVzc2FnZV9wYXNzaW5nOiAwCnAxMDAzXzFiLnByaW9yaXRp emVkX2lvOiAwCnAxMDAzXzFiLnByaW9yaXR5X3NjaGVkdWxpbmc6IDEKcDEwMDNfMWIucmVhbHRp bWVfc2lnbmFsczogMApwMTAwM18xYi5zZW1hcGhvcmVzOiAwCnAxMDAzXzFiLmZzeW5jOiAwCnAx MDAzXzFiLnNoYXJlZF9tZW1vcnlfb2JqZWN0czogMQpwMTAwM18xYi5zeW5jaHJvbml6ZWRfaW86 IDAKcDEwMDNfMWIudGltZXJzOiAwCnAxMDAzXzFiLmFpb19saXN0aW9fbWF4OiAtMQpwMTAwM18x Yi5haW9fbWF4OiAtMQpwMTAwM18xYi5haW9fcHJpb19kZWx0YV9tYXg6IC0xCnAxMDAzXzFiLmRl bGF5dGltZXJfbWF4OiAwCnAxMDAzXzFiLm1xX29wZW5fbWF4OiAwCnAxMDAzXzFiLnBhZ2VzaXpl OiA0MDk2CnAxMDAzXzFiLnJ0c2lnX21heDogMApwMTAwM18xYi5zZW1fbnNlbXNfbWF4OiAwCnAx MDAzXzFiLnNlbV92YWx1ZV9tYXg6IDAKcDEwMDNfMWIuc2lncXVldWVfbWF4OiAwCnAxMDAzXzFi LnRpbWVyX21heDogMApjb21wYXQubGludXgub3NzX3ZlcnNpb246IDE5ODE0NApjb21wYXQubGlu dXgub3NyZWxlYXNlOiAyLjQuMgpjb21wYXQubGludXgub3NuYW1lOiBMaW51eApzZWN1cml0eS5q YWlsLnNldF9ob3N0bmFtZV9hbGxvd2VkOiAxCnNlY3VyaXR5LmphaWwuc29ja2V0X3VuaXhpcHJv dXRlX29ubHk6IDEKc2VjdXJpdHkuamFpbC5zeXN2aXBjX2FsbG93ZWQ6IDAKc2VjdXJpdHkuamFp bC5lbmZvcmNlX3N0YXRmczogMgpzZWN1cml0eS5qYWlsLmFsbG93X3Jhd19zb2NrZXRzOiAwCnNl Y3VyaXR5LmphaWwuY2hmbGFnc19hbGxvd2VkOiAwCnNlY3VyaXR5LmphaWwuamFpbGVkOiAwCnNl Y3VyaXR5LmJzZC5zdXNlcl9lbmFibGVkOiAxCnNlY3VyaXR5LmJzZC5zZWVfb3RoZXJfdWlkczog MQpzZWN1cml0eS5ic2Quc2VlX290aGVyX2dpZHM6IDEKc2VjdXJpdHkuYnNkLmNvbnNlcnZhdGl2 ZV9zaWduYWxzOiAxCnNlY3VyaXR5LmJzZC51bnByaXZpbGVnZWRfcHJvY19kZWJ1ZzogMQpzZWN1 cml0eS5ic2QudW5wcml2aWxlZ2VkX3JlYWRfbXNnYnVmOiAxCnNlY3VyaXR5LmJzZC5oYXJkbGlu a19jaGVja191aWQ6IDAKc2VjdXJpdHkuYnNkLmhhcmRsaW5rX2NoZWNrX2dpZDogMApzZWN1cml0 eS5ic2QudW5wcml2aWxlZ2VkX2dldF9xdW90YTogMApkZXYubmV4dXMuMC4lZHJpdmVyOiBuZXh1 cwpkZXYubmV4dXMuMC4lcGFyZW50OiByb290MApkZXYubnB4LjAuJWRlc2M6IG1hdGggcHJvY2Vz c29yCmRldi5ucHguMC4lZHJpdmVyOiBucHgKZGV2Lm5weC4wLiVwYXJlbnQ6IG5leHVzMApkZXYu YWNwaS4wLiVkZXNjOiBEODUwTVYgTVY4NTAxMEEKZGV2LmFjcGkuMC4lZHJpdmVyOiBhY3BpCmRl di5hY3BpLjAuJXBhcmVudDogbmV4dXMwCmRldi5hY3BpX3N5c3Jlc291cmNlLjAuJWRlc2M6IFN5 c3RlbSBSZXNvdXJjZQpkZXYuYWNwaV9zeXNyZXNvdXJjZS4wLiVkcml2ZXI6IGFjcGlfc3lzcmVz b3VyY2UKZGV2LmFjcGlfc3lzcmVzb3VyY2UuMC4lbG9jYXRpb246IGhhbmRsZT1cX1NCXy5NRU1f CmRldi5hY3BpX3N5c3Jlc291cmNlLjAuJXBucGluZm86IF9ISUQ9UE5QMEMwMSBfVUlEPTEKZGV2 LmFjcGlfc3lzcmVzb3VyY2UuMC4lcGFyZW50OiBhY3BpMApkZXYuYWNwaV90aW1lci4wLiVkZXNj OiAyNC1iaXQgdGltZXIgYXQgMy41Nzk1NDVNSHoKZGV2LmFjcGlfdGltZXIuMC4lZHJpdmVyOiBh Y3BpX3RpbWVyCmRldi5hY3BpX3RpbWVyLjAuJWxvY2F0aW9uOiB1bmtub3duCmRldi5hY3BpX3Rp bWVyLjAuJXBucGluZm86IHVua25vd24KZGV2LmFjcGlfdGltZXIuMC4lcGFyZW50OiBhY3BpMApk ZXYucGNpX2xpbmsuMC4lZGVzYzogQUNQSSBQQ0kgTGluayBMTktBCmRldi5wY2lfbGluay4wLiVk cml2ZXI6IHBjaV9saW5rCmRldi5wY2lfbGluay4wLiVsb2NhdGlvbjogaGFuZGxlPVxfU0JfLkxO S0EKZGV2LnBjaV9saW5rLjAuJXBucGluZm86IF9ISUQ9UE5QMEMwRiBfVUlEPTEKZGV2LnBjaV9s aW5rLjAuJXBhcmVudDogYWNwaTAKZGV2LnBjaV9saW5rLjEuJWRlc2M6IEFDUEkgUENJIExpbmsg TE5LQgpkZXYucGNpX2xpbmsuMS4lZHJpdmVyOiBwY2lfbGluawpkZXYucGNpX2xpbmsuMS4lbG9j YXRpb246IGhhbmRsZT1cX1NCXy5MTktCCmRldi5wY2lfbGluay4xLiVwbnBpbmZvOiBfSElEPVBO UDBDMEYgX1VJRD0yCmRldi5wY2lfbGluay4xLiVwYXJlbnQ6IGFjcGkwCmRldi5wY2lfbGluay4y LiVkZXNjOiBBQ1BJIFBDSSBMaW5rIExOS0MKZGV2LnBjaV9saW5rLjIuJWRyaXZlcjogcGNpX2xp bmsKZGV2LnBjaV9saW5rLjIuJWxvY2F0aW9uOiBoYW5kbGU9XF9TQl8uTE5LQwpkZXYucGNpX2xp bmsuMi4lcG5waW5mbzogX0hJRD1QTlAwQzBGIF9VSUQ9MwpkZXYucGNpX2xpbmsuMi4lcGFyZW50 OiBhY3BpMApkZXYucGNpX2xpbmsuMy4lZGVzYzogQUNQSSBQQ0kgTGluayBMTktECmRldi5wY2lf bGluay4zLiVkcml2ZXI6IHBjaV9saW5rCmRldi5wY2lfbGluay4zLiVsb2NhdGlvbjogaGFuZGxl PVxfU0JfLkxOS0QKZGV2LnBjaV9saW5rLjMuJXBucGluZm86IF9ISUQ9UE5QMEMwRiBfVUlEPTQK ZGV2LnBjaV9saW5rLjMuJXBhcmVudDogYWNwaTAKZGV2LnBjaV9saW5rLjQuJWRlc2M6IEFDUEkg UENJIExpbmsgTE5LRQpkZXYucGNpX2xpbmsuNC4lZHJpdmVyOiBwY2lfbGluawpkZXYucGNpX2xp bmsuNC4lbG9jYXRpb246IGhhbmRsZT1cX1NCXy5MTktFCmRldi5wY2lfbGluay40LiVwbnBpbmZv OiBfSElEPVBOUDBDMEYgX1VJRD01CmRldi5wY2lfbGluay40LiVwYXJlbnQ6IGFjcGkwCmRldi5w Y2lfbGluay41LiVkZXNjOiBBQ1BJIFBDSSBMaW5rIExOS0YKZGV2LnBjaV9saW5rLjUuJWRyaXZl cjogcGNpX2xpbmsKZGV2LnBjaV9saW5rLjUuJWxvY2F0aW9uOiBoYW5kbGU9XF9TQl8uTE5LRgpk ZXYucGNpX2xpbmsuNS4lcG5waW5mbzogX0hJRD1QTlAwQzBGIF9VSUQ9NgpkZXYucGNpX2xpbmsu NS4lcGFyZW50OiBhY3BpMApkZXYucGNpX2xpbmsuNi4lZGVzYzogQUNQSSBQQ0kgTGluayBMTktH CmRldi5wY2lfbGluay42LiVkcml2ZXI6IHBjaV9saW5rCmRldi5wY2lfbGluay42LiVsb2NhdGlv bjogaGFuZGxlPVxfU0JfLkxOS0cKZGV2LnBjaV9saW5rLjYuJXBucGluZm86IF9ISUQ9UE5QMEMw RiBfVUlEPTcKZGV2LnBjaV9saW5rLjYuJXBhcmVudDogYWNwaTAKZGV2LnBjaV9saW5rLjcuJWRl c2M6IEFDUEkgUENJIExpbmsgTE5LSApkZXYucGNpX2xpbmsuNy4lZHJpdmVyOiBwY2lfbGluawpk ZXYucGNpX2xpbmsuNy4lbG9jYXRpb246IGhhbmRsZT1cX1NCXy5MTktICmRldi5wY2lfbGluay43 LiVwbnBpbmZvOiBfSElEPVBOUDBDMEYgX1VJRD04CmRldi5wY2lfbGluay43LiVwYXJlbnQ6IGFj cGkwCmRldi5jcHUuMC4lZGVzYzogQUNQSSBDUFUKZGV2LmNwdS4wLiVkcml2ZXI6IGNwdQpkZXYu Y3B1LjAuJWxvY2F0aW9uOiBoYW5kbGU9XF9QUl8uQ1BVMQpkZXYuY3B1LjAuJXBucGluZm86IF9I SUQ9bm9uZSBfVUlEPTAKZGV2LmNwdS4wLiVwYXJlbnQ6IGFjcGkwCmRldi5hY3BpX2J1dHRvbi4w LiVkZXNjOiBQb3dlciBCdXR0b24KZGV2LmFjcGlfYnV0dG9uLjAuJWRyaXZlcjogYWNwaV9idXR0 b24KZGV2LmFjcGlfYnV0dG9uLjAuJWxvY2F0aW9uOiBoYW5kbGU9XF9TQl8uUEJUTgpkZXYuYWNw aV9idXR0b24uMC4lcG5waW5mbzogX0hJRD1QTlAwQzBDIF9VSUQ9MApkZXYuYWNwaV9idXR0b24u MC4lcGFyZW50OiBhY3BpMApkZXYuYWNwaV9idXR0b24uMC53YWtlOiAxCmRldi5wY2liLjAuJWRl c2M6IEFDUEkgSG9zdC1QQ0kgYnJpZGdlCmRldi5wY2liLjAuJWRyaXZlcjogcGNpYgpkZXYucGNp Yi4wLiVsb2NhdGlvbjogaGFuZGxlPVxfU0JfLlBDSTAKZGV2LnBjaWIuMC4lcG5waW5mbzogX0hJ RD1QTlAwQTAzIF9VSUQ9MApkZXYucGNpYi4wLiVwYXJlbnQ6IGFjcGkwCmRldi5wY2liLjEuJWRl c2M6IFBDSS1QQ0kgYnJpZGdlCmRldi5wY2liLjEuJWRyaXZlcjogcGNpYgpkZXYucGNpYi4xLiVs b2NhdGlvbjogc2xvdD0xIGZ1bmN0aW9uPTAKZGV2LnBjaWIuMS4lcG5waW5mbzogdmVuZG9yPTB4 ODA4NiBkZXZpY2U9MHgyNTMyIHN1YnZlbmRvcj0weDAwMDAgc3ViZGV2aWNlPTB4MDAwMCBjbGFz cz0weDA2MDQwMApkZXYucGNpYi4xLiVwYXJlbnQ6IHBjaTAKZGV2LnBjaWIuMi4lZGVzYzogQUNQ SSBQQ0ktUENJIGJyaWRnZQpkZXYucGNpYi4yLiVkcml2ZXI6IHBjaWIKZGV2LnBjaWIuMi4lbG9j YXRpb246IHNsb3Q9MzAgZnVuY3Rpb249MCBoYW5kbGU9XF9TQl8uUENJMC5QQ0kxCmRldi5wY2li LjIuJXBucGluZm86IHZlbmRvcj0weDgwODYgZGV2aWNlPTB4MjQ0ZSBzdWJ2ZW5kb3I9MHgwMDAw IHN1YmRldmljZT0weDAwMDAgY2xhc3M9MHgwNjA0MDAKZGV2LnBjaWIuMi4lcGFyZW50OiBwY2kw CmRldi5wY2liLjIud2FrZTogMApkZXYucGNpLjAuJWRlc2M6IEFDUEkgUENJIGJ1cwpkZXYucGNp LjAuJWRyaXZlcjogcGNpCmRldi5wY2kuMC4lcGFyZW50OiBwY2liMApkZXYucGNpLjEuJWRlc2M6 IFBDSSBidXMKZGV2LnBjaS4xLiVkcml2ZXI6IHBjaQpkZXYucGNpLjEuJXBhcmVudDogcGNpYjEK ZGV2LnBjaS4yLiVkZXNjOiBBQ1BJIFBDSSBidXMKZGV2LnBjaS4yLiVkcml2ZXI6IHBjaQpkZXYu cGNpLjIuJXBhcmVudDogcGNpYjIKZGV2LnBjaS4yLndha2U6IDAKZGV2LmFncC4wLiVkZXNjOiBJ bnRlbCA4Mjg1MCBob3N0IHRvIEFHUCBicmlkZ2UKZGV2LmFncC4wLiVkcml2ZXI6IGFncApkZXYu YWdwLjAuJWxvY2F0aW9uOiBzbG90PTAgZnVuY3Rpb249MApkZXYuYWdwLjAuJXBucGluZm86IHZl bmRvcj0weDgwODYgZGV2aWNlPTB4MjUzMCBzdWJ2ZW5kb3I9MHgwMDAwIHN1YmRldmljZT0weDAw MDAgY2xhc3M9MHgwNjAwMDAKZGV2LmFncC4wLiVwYXJlbnQ6IHBjaTAKZGV2LmZ4cC4wLiVkZXNj OiBJbnRlbCA4MjgwMUJBL0NBTSAoSUNIMi8zKSBQcm8vMTAwIEV0aGVybmV0CmRldi5meHAuMC4l ZHJpdmVyOiBmeHAKZGV2LmZ4cC4wLiVsb2NhdGlvbjogc2xvdD04IGZ1bmN0aW9uPTAKZGV2LmZ4 cC4wLiVwbnBpbmZvOiB2ZW5kb3I9MHg4MDg2IGRldmljZT0weDI0NDkgc3VidmVuZG9yPTB4ODA4 NiBzdWJkZXZpY2U9MHgzMDEzIGNsYXNzPTB4MDIwMDAwCmRldi5meHAuMC4lcGFyZW50OiBwY2ky CmRldi5meHAuMC5pbnRfZGVsYXk6IDEwMDAKZGV2LmZ4cC4wLmJ1bmRsZV9tYXg6IDYKZGV2LmZ4 cC4wLnJucjogMApkZXYuZnhwLjAubm9mbG93OiAxCmRldi5taWlidXMuMC4lZGVzYzogTUlJIGJ1 cwpkZXYubWlpYnVzLjAuJWRyaXZlcjogbWlpYnVzCmRldi5taWlidXMuMC4lcGFyZW50OiBmeHAw CmRldi5pbnBoeS4wLiVkZXNjOiBpODI1NjJFVCAxMC8xMDAgbWVkaWEgaW50ZXJmYWNlCmRldi5p bnBoeS4wLiVkcml2ZXI6IGlucGh5CmRldi5pbnBoeS4wLiVsb2NhdGlvbjogcGh5bm89MQpkZXYu aW5waHkuMC4lcG5waW5mbzogb3VpPTB4YWEwMCBtb2RlbD0weDMzIHJldj0weDAKZGV2LmlucGh5 LjAuJXBhcmVudDogbWlpYnVzMApkZXYuaXNhYi4wLiVkZXNjOiBQQ0ktSVNBIGJyaWRnZQpkZXYu aXNhYi4wLiVkcml2ZXI6IGlzYWIKZGV2LmlzYWIuMC4lbG9jYXRpb246IHNsb3Q9MzEgZnVuY3Rp b249MCBoYW5kbGU9XF9TQl8uUENJMC5TQlJHCmRldi5pc2FiLjAuJXBucGluZm86IHZlbmRvcj0w eDgwODYgZGV2aWNlPTB4MjQ0MCBzdWJ2ZW5kb3I9MHgwMDAwIHN1YmRldmljZT0weDAwMDAgY2xh c3M9MHgwNjAxMDAKZGV2LmlzYWIuMC4lcGFyZW50OiBwY2kwCmRldi5pc2EuMC4lZGVzYzogSVNB IGJ1cwpkZXYuaXNhLjAuJWRyaXZlcjogaXNhCmRldi5pc2EuMC4lcGFyZW50OiBpc2FiMApkZXYu YXRhcGNpLjAuJWRlc2M6IEludGVsIElDSDIgVURNQTEwMCBjb250cm9sbGVyCmRldi5hdGFwY2ku MC4lZHJpdmVyOiBhdGFwY2kKZGV2LmF0YXBjaS4wLiVsb2NhdGlvbjogc2xvdD0zMSBmdW5jdGlv bj0xIGhhbmRsZT1cX1NCXy5QQ0kwLklERTAKZGV2LmF0YXBjaS4wLiVwbnBpbmZvOiB2ZW5kb3I9 MHg4MDg2IGRldmljZT0weDI0NGIgc3VidmVuZG9yPTB4ODA4NiBzdWJkZXZpY2U9MHg0ZDQ0IGNs YXNzPTB4MDEwMTgwCmRldi5hdGFwY2kuMC4lcGFyZW50OiBwY2kwCmRldi5hdGEuMC4lZGVzYzog QVRBIGNoYW5uZWwgMApkZXYuYXRhLjAuJWRyaXZlcjogYXRhCmRldi5hdGEuMC4lcGFyZW50OiBh dGFwY2kwCmRldi5hdGEuMS4lZGVzYzogQVRBIGNoYW5uZWwgMQpkZXYuYXRhLjEuJWRyaXZlcjog YXRhCmRldi5hdGEuMS4lcGFyZW50OiBhdGFwY2kwCmRldi51aGNpLjAuJWRlc2M6IEludGVsIDgy ODAxQkEvQkFNIChJQ0gyKSBVU0IgY29udHJvbGxlciBVU0ItQQpkZXYudWhjaS4wLiVkcml2ZXI6 IHVoY2kKZGV2LnVoY2kuMC4lbG9jYXRpb246IHNsb3Q9MzEgZnVuY3Rpb249MiBoYW5kbGU9XF9T Ql8uUENJMC5VU0JfCmRldi51aGNpLjAuJXBucGluZm86IHZlbmRvcj0weDgwODYgZGV2aWNlPTB4 MjQ0MiBzdWJ2ZW5kb3I9MHg4MDg2IHN1YmRldmljZT0weDRkNDQgY2xhc3M9MHgwYzAzMDAKZGV2 LnVoY2kuMC4lcGFyZW50OiBwY2kwCmRldi51aGNpLjAud2FrZTogMApkZXYudWhjaS4xLiVkZXNj OiBJbnRlbCA4MjgwMUJBL0JBTSAoSUNIMikgVVNCIGNvbnRyb2xsZXIgVVNCLUIKZGV2LnVoY2ku MS4lZHJpdmVyOiB1aGNpCmRldi51aGNpLjEuJWxvY2F0aW9uOiBzbG90PTMxIGZ1bmN0aW9uPTQg aGFuZGxlPVxfU0JfLlBDSTAuVVNCMgpkZXYudWhjaS4xLiVwbnBpbmZvOiB2ZW5kb3I9MHg4MDg2 IGRldmljZT0weDI0NDQgc3VidmVuZG9yPTB4ODA4NiBzdWJkZXZpY2U9MHg0ZDQ0IGNsYXNzPTB4 MGMwMzAwCmRldi51aGNpLjEuJXBhcmVudDogcGNpMApkZXYudWhjaS4xLndha2U6IDAKZGV2LnVz Yi4wLiVkZXNjOiBJbnRlbCA4MjgwMUJBL0JBTSAoSUNIMikgVVNCIGNvbnRyb2xsZXIgVVNCLUEK ZGV2LnVzYi4wLiVkcml2ZXI6IHVzYgpkZXYudXNiLjAuJXBhcmVudDogdWhjaTAKZGV2LnVzYi4x LiVkZXNjOiBJbnRlbCA4MjgwMUJBL0JBTSAoSUNIMikgVVNCIGNvbnRyb2xsZXIgVVNCLUIKZGV2 LnVzYi4xLiVkcml2ZXI6IHVzYgpkZXYudXNiLjEuJXBhcmVudDogdWhjaTEKZGV2LnVodWIuMC4l ZGVzYzogSW50ZWwgVUhDSSByb290IGh1YiwgY2xhc3MgOS8wLCByZXYgMS4wMC8xLjAwLCBhZGRy IDEKZGV2LnVodWIuMC4lZHJpdmVyOiB1aHViCmRldi51aHViLjAuJXBhcmVudDogdXNiMApkZXYu dWh1Yi4xLiVkZXNjOiBJbnRlbCBVSENJIHJvb3QgaHViLCBjbGFzcyA5LzAsIHJldiAxLjAwLzEu MDAsIGFkZHIgMQpkZXYudWh1Yi4xLiVkcml2ZXI6IHVodWIKZGV2LnVodWIuMS4lcGFyZW50OiB1 c2IxCmRldi51aHViLjIuJWRlc2M6IHZlbmRvciAweDA0MjQgcHJvZHVjdCAweDAxNDAsIGNsYXNz IDkvMCwgcmV2IDEuMTAvMC4wMCwgYWRkciAyCmRldi51aHViLjIuJWRyaXZlcjogdWh1YgpkZXYu dWh1Yi4yLiVsb2NhdGlvbjogcG9ydD0xCmRldi51aHViLjIuJXBucGluZm86IHZlbmRvcj0weDA0 MjQgcHJvZHVjdD0weDAxNDAgZGV2Y2xhc3M9MHgwOSBkZXZzdWJjbGFzcz0weDAwIHJlbGVhc2U9 MHgwMDAwIHNlcm51bT0iIgpkZXYudWh1Yi4yLiVwYXJlbnQ6IHVodWIxCmRldi5hdGRtYS4wLiVk ZXNjOiBBVCBETUEgY29udHJvbGxlcgpkZXYuYXRkbWEuMC4lZHJpdmVyOiBhdGRtYQpkZXYuYXRk bWEuMC4lbG9jYXRpb246IGhhbmRsZT1cX1NCXy5QQ0kwLlNCUkcuRE1BRApkZXYuYXRkbWEuMC4l cG5waW5mbzogX0hJRD1QTlAwMjAwIF9VSUQ9MApkZXYuYXRkbWEuMC4lcGFyZW50OiBhY3BpMApk ZXYuYXR0aW1lci4wLiVkZXNjOiBBVCB0aW1lcgpkZXYuYXR0aW1lci4wLiVkcml2ZXI6IGF0dGlt ZXIKZGV2LmF0dGltZXIuMC4lbG9jYXRpb246IGhhbmRsZT1cX1NCXy5QQ0kwLlNCUkcuVE1SXwpk ZXYuYXR0aW1lci4wLiVwbnBpbmZvOiBfSElEPVBOUDAxMDAgX1VJRD0wCmRldi5hdHRpbWVyLjAu JXBhcmVudDogYWNwaTAKZGV2LmF0dGltZXIuMS4lZGVzYzogQVQgcmVhbHRpbWUgY2xvY2sKZGV2 LmF0dGltZXIuMS4lZHJpdmVyOiBhdHRpbWVyCmRldi5hdHRpbWVyLjEuJWxvY2F0aW9uOiBoYW5k bGU9XF9TQl8uUENJMC5TQlJHLlJUQ18KZGV2LmF0dGltZXIuMS4lcG5waW5mbzogX0hJRD1QTlAw QjAwIF9VSUQ9MApkZXYuYXR0aW1lci4xLiVwYXJlbnQ6IGFjcGkwCmRldi5ucHhpc2EuMC4lZGVz YzogTGVnYWN5IElTQSBjb3Byb2Nlc3NvciBzdXBwb3J0CmRldi5ucHhpc2EuMC4lZHJpdmVyOiBu cHhpc2EKZGV2Lm5weGlzYS4wLiVsb2NhdGlvbjogaGFuZGxlPVxfU0JfLlBDSTAuU0JSRy5DT1BS CmRldi5ucHhpc2EuMC4lcG5waW5mbzogX0hJRD1QTlAwQzA0IF9VSUQ9MApkZXYubnB4aXNhLjAu JXBhcmVudDogYWNwaTAKZGV2LnBzbWNwbnAuMC4lZGVzYzogUFMvMiBtb3VzZSBwb3J0CmRldi5w c21jcG5wLjAuJWRyaXZlcjogcHNtY3BucApkZXYucHNtY3BucC4wLiVsb2NhdGlvbjogaGFuZGxl PVxfU0JfLlBDSTAuU0JSRy5QUzJNCmRldi5wc21jcG5wLjAuJXBucGluZm86IF9ISUQ9UE5QMEYw MyBfVUlEPTAKZGV2LnBzbWNwbnAuMC4lcGFyZW50OiBhY3BpMApkZXYuYXRrYmRjLjAuJWRlc2M6 IEtleWJvYXJkIGNvbnRyb2xsZXIgKGk4MDQyKQpkZXYuYXRrYmRjLjAuJWRyaXZlcjogYXRrYmRj CmRldi5hdGtiZGMuMC4lbG9jYXRpb246IGhhbmRsZT1cX1NCXy5QQ0kwLlNCUkcuUFMySwpkZXYu YXRrYmRjLjAuJXBucGluZm86IF9ISUQ9UE5QMDMwMyBfVUlEPTAKZGV2LmF0a2JkYy4wLiVwYXJl bnQ6IGFjcGkwCmRldi5hdGtiZC4wLiVkZXNjOiBBVCBLZXlib2FyZApkZXYuYXRrYmQuMC4lZHJp dmVyOiBhdGtiZApkZXYuYXRrYmQuMC4lcGFyZW50OiBhdGtiZGMwCmRldi5wc20uMC4lZGVzYzog UFMvMiBNb3VzZQpkZXYucHNtLjAuJWRyaXZlcjogcHNtCmRldi5wc20uMC4lcGFyZW50OiBhdGti ZGMwCmRldi5mZGMuMC4lZGVzYzogRW5oYW5jZWQgZmxvcHB5IGNvbnRyb2xsZXIKZGV2LmZkYy4w LiVkcml2ZXI6IGZkYwpkZXYuZmRjLjAuJWxvY2F0aW9uOiBoYW5kbGU9XF9TQl8uUENJMC5TQlJH LkZEQzAKZGV2LmZkYy4wLiVwbnBpbmZvOiBfSElEPVBOUDA3MDAgX1VJRD0wCmRldi5mZGMuMC4l cGFyZW50OiBhY3BpMApkZXYuZmQuMC4lZGVzYzogMTQ0MC1LQiAzLjUiIGRyaXZlCmRldi5mZC4w LiVkcml2ZXI6IGZkCmRldi5mZC4wLiVwYXJlbnQ6IGZkYzAKZGV2LnNpby4wLiVkZXNjOiAxNjU1 MEEtY29tcGF0aWJsZSBDT00gcG9ydApkZXYuc2lvLjAuJWRyaXZlcjogc2lvCmRldi5zaW8uMC4l bG9jYXRpb246IGhhbmRsZT1cX1NCXy5QQ0kwLlNCUkcuVUFSMQpkZXYuc2lvLjAuJXBucGluZm86 IF9ISUQ9UE5QMDUwMSBfVUlEPTEKZGV2LnNpby4wLiVwYXJlbnQ6IGFjcGkwCmRldi5zaW8uMC53 YWtlOiAwCmRldi5zaW8uMS4lZGVzYzogMTY1NTBBLWNvbXBhdGlibGUgQ09NIHBvcnQKZGV2LnNp by4xLiVkcml2ZXI6IHNpbwpkZXYuc2lvLjEuJWxvY2F0aW9uOiBoYW5kbGU9XF9TQl8uUENJMC5T QlJHLlVBUjIKZGV2LnNpby4xLiVwbnBpbmZvOiBfSElEPVBOUDA1MDEgX1VJRD0yCmRldi5zaW8u MS4lcGFyZW50OiBhY3BpMApkZXYuc2lvLjEud2FrZTogMApkZXYucHBjLjAuJWRlc2M6IFN0YW5k YXJkIHBhcmFsbGVsIHByaW50ZXIgcG9ydApkZXYucHBjLjAuJWRyaXZlcjogcHBjCmRldi5wcGMu MC4lbG9jYXRpb246IGhhbmRsZT1cX1NCXy5QQ0kwLlNCUkcuTFBUXwpkZXYucHBjLjAuJXBucGlu Zm86IF9ISUQ9UE5QMDQwMCBfVUlEPTAKZGV2LnBwYy4wLiVwYXJlbnQ6IGFjcGkwCmRldi5wcGJ1 cy4wLiVkZXNjOiBQYXJhbGxlbCBwb3J0IGJ1cwpkZXYucHBidXMuMC4lZHJpdmVyOiBwcGJ1cwpk ZXYucHBidXMuMC4lcGFyZW50OiBwcGMwCmRldi5wbGlwLjAuJWRlc2M6IFBMSVAgbmV0d29yayBp bnRlcmZhY2UKZGV2LnBsaXAuMC4lZHJpdmVyOiBwbGlwCmRldi5wbGlwLjAuJXBhcmVudDogcHBi dXMwCmRldi5scHQuMC4lZGVzYzogUHJpbnRlcgpkZXYubHB0LjAuJWRyaXZlcjogbHB0CmRldi5s cHQuMC4lcGFyZW50OiBwcGJ1czAKZGV2LnBwaS4wLiVkZXNjOiBQYXJhbGxlbCBJL08KZGV2LnBw aS4wLiVkcml2ZXI6IHBwaQpkZXYucHBpLjAuJXBhcmVudDogcHBidXMwCmRldi5wbXRpbWVyLjAu JWRyaXZlcjogcG10aW1lcgpkZXYucG10aW1lci4wLiVwYXJlbnQ6IGlzYTAKZGV2Lm9ybS4wLiVk ZXNjOiBJU0EgT3B0aW9uIFJPTXMKZGV2Lm9ybS4wLiVkcml2ZXI6IG9ybQpkZXYub3JtLjAuJXBh cmVudDogaXNhMApkZXYuc2MuMC4lZGVzYzogU3lzdGVtIGNvbnNvbGUKZGV2LnNjLjAuJWRyaXZl cjogc2MKZGV2LnNjLjAuJXBhcmVudDogaXNhMApkZXYudmdhLjAuJWRlc2M6IEdlbmVyaWMgSVNB IFZHQQpkZXYudmdhLjAuJWRyaXZlcjogdmdhCmRldi52Z2EuMC4lcGFyZW50OiBpc2EwCmRldi5h ZC4wLiVkZXNjOiBNQVhUT1IgNkwwNDBKMi9BUjEuMDQwMApkZXYuYWQuMC4lZHJpdmVyOiBhZApk ZXYuYWQuMC4lcGFyZW50OiBhdGEwCmRldi5zdWJkaXNrLjAuJWRyaXZlcjogc3ViZGlzawpkZXYu c3ViZGlzay4wLiVwYXJlbnQ6IGFkMApkZXYuYWNkLjAuJWRlc2M6IExHIENELVJPTSBDUkQtODUy MkIvMi4wMQpkZXYuYWNkLjAuJWRyaXZlcjogYWNkCmRldi5hY2QuMC4lcGFyZW50OiBhdGExCmRl di5hY2QuMS4lZGVzYzogUExFWFRPUiBDRC1SIFBYLVcyNDEwQS8xLjAyCmRldi5hY2QuMS4lZHJp dmVyOiBhY2QKZGV2LmFjZC4xLiVwYXJlbnQ6IGF0YTEKaHB0bXYuc3RhdHVzOiBSb2NrZXRSQUlE IDE4MnggU0FUQSBDb250cm9sbGVyIGRyaXZlciBWZXJzaW9uIHYxLjEyIChKYW4gMTIgMjAwNyAx MTowNDo1NykKCg== ------=_Part_6281_8408752.1173459982412-- From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 17:08:37 2007 Return-Path: X-Original-To: freebsd-questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3606416A400 for ; Fri, 9 Mar 2007 17:08:37 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 2733B13C442 for ; Fri, 9 Mar 2007 17:08:37 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 01F0B1A3C19; Fri, 9 Mar 2007 09:08:37 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 4C4B9515A5; Fri, 9 Mar 2007 12:08:36 -0500 (EST) Date: Fri, 9 Mar 2007 12:08:36 -0500 From: Kris Kennaway To: Olivier Vimont Message-ID: <20070309170835.GA88628@xor.obsecurity.org> References: <45F13240.5020407@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45F13240.5020407@free.fr> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@FreeBSD.org Subject: Re: Package missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 17:08:37 -0000 On Fri, Mar 09, 2007 at 11:09:04AM +0100, Olivier Vimont wrote: > The pdflib binary package which is needed by gnuplot-4.0 is missing on > the AMD64 port of the 6.2 release in th ftp site > Thanks if you can restore it This software may not be freely redestributed according to the license imposed by the software authors. Please talk to them about your concerns. Kris From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 17:16:51 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 91E2C16A407 for ; Fri, 9 Mar 2007 17:16:51 +0000 (UTC) (envelope-from iaccounts@ibctech.ca) Received: from pearl.ibctech.ca (pearl.ibctech.ca [208.70.104.210]) by mx1.freebsd.org (Postfix) with ESMTP id 3590A13C46B for ; Fri, 9 Mar 2007 17:16:51 +0000 (UTC) (envelope-from iaccounts@ibctech.ca) Received: (qmail 32802 invoked by uid 1002); 9 Mar 2007 17:16:50 -0000 Received: from iaccounts@ibctech.ca by pearl.ibctech.ca by uid 89 with qmail-scanner-1.22 (spamassassin: 2.64. Clear:RC:1(208.113.63.132):. Processed in 9.890088 secs); 09 Mar 2007 17:16:50 -0000 Received: from unknown (HELO ?192.168.1.242?) (steve@ibctech.ca@208.113.63.132) by pearl.ibctech.ca with SMTP; 9 Mar 2007 17:16:40 -0000 Message-ID: <45F19674.50403@ibctech.ca> Date: Fri, 09 Mar 2007 12:16:36 -0500 From: Steve Bertrand User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Dan Busarow References: <010801c7624c$709ecb80$6501a8c0@GRANT> <200703091640.18154.v.cristescu@lamit.ro> <3CA73050-6661-47A5-976F-07DEB390E133@dpcsys.com> In-Reply-To: <3CA73050-6661-47A5-976F-07DEB390E133@dpcsys.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org Questions -" Subject: Re: zoneinfo FreeBSD 4.4 - 4.11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 17:16:51 -0000 >>> I have been reading lots about simply updateing the zone file itself, >>> but >>> have not been undersztanding what I am seeing. If anyone could >>> simplify, I >>> would appreciate it. You can simply take the /etc/localtime file from one of the completed servers, copy it to the server that is failing, and put it into /etc, overwriting the original. Steve From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 17:27:36 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8721E16A410 for ; Fri, 9 Mar 2007 17:27:36 +0000 (UTC) (envelope-from djdexter@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.184]) by mx1.freebsd.org (Postfix) with ESMTP id 88FA513C4C4 for ; Fri, 9 Mar 2007 17:27:35 +0000 (UTC) (envelope-from djdexter@gmail.com) Received: by mu-out-0910.google.com with SMTP id g7so1106191muf for ; Fri, 09 Mar 2007 09:27:29 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GaxyChPYQUWRf8OvGvQIp0E1gHiiFMC0kZfA4lC3cL8LecRTlA6M9QxZLL5A2gvp4vJUlzDT37uZEcE0Z0xZrMQhZXghZRH11PTwF9caZbodp3Rvco43LFnj31+uspM/uDHv2xD9pCJ6nzPp8UWy7CTtMku6K3l/K4rQYA4Ht88= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Ro8/HpEW/iT/Hhn7vSUQ0HUSvAXd0Fb1xUbn+YKAhrvuvD08yTfS/uMNDaCHZGR12x92U4n+7dmPwzJ2XOHx+ZoXEfRfn/RgrHHrmeikO23d0/MVG95S12pc5On0vvJpsG1XNQ1x0RsuswOQej2ehe/QJoIQ+tj8flq7E+PC5N0= Received: by 10.82.175.2 with SMTP id x2mr3125111bue.1173459636393; Fri, 09 Mar 2007 09:00:36 -0800 (PST) Received: by 10.82.114.14 with HTTP; Fri, 9 Mar 2007 09:00:36 -0800 (PST) Message-ID: Date: Fri, 9 Mar 2007 12:00:36 -0500 From: dex To: "FreeBSD Questions" In-Reply-To: <226ae0c60703090839v60895fa2q4e3787e061d6ada5@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <226ae0c60703090730n12678b0cwfb5cf4e80f2dbeb3@mail.gmail.com> <20070309161951.GD31408@gizmo.acns.msu.edu> <226ae0c60703090839v60895fa2q4e3787e061d6ada5@mail.gmail.com> Subject: Re: remote install of 6.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 17:27:36 -0000 Also see my post to doc about restoring dump files over an http connection, in case your existing systems' partitions don't have enough room to temporarily store them. http://lists.freebsd.org/pipermail/freebsd-doc/2007-February/012190.html From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 18:06:44 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9265F16A509 for ; Fri, 9 Mar 2007 18:06:44 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id 6CEEB13C471 for ; Fri, 9 Mar 2007 18:06:44 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from gumby.homeunix.com (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id E66A85197F for ; Fri, 9 Mar 2007 13:06:42 -0500 (EST) Date: Fri, 9 Mar 2007 18:06:39 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20070309180639.476ece43@gumby.homeunix.com> In-Reply-To: <20070308085511.1ECA.GERARD@seibercom.net> References: <20070308085511.1ECA.GERARD@seibercom.net> X-Mailer: Claws Mail 2.8.0 (GTK+ 2.10.9; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Running script from rc.d as local user X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 18:06:44 -0000 On Thu, 08 Mar 2007 09:24:47 -0500 Gerard Seibert wrote: > I tried starting it from CRON; however, the variables: > > GPG_AGENT_INFO > GPG_TTY > > are not set.. > See crontab(5) From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 18:12:10 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 09F2C16A400 for ; Fri, 9 Mar 2007 18:12:10 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id D8ED613C4BD for ; Fri, 9 Mar 2007 18:12:09 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from gumby.homeunix.com (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id DA38151930 for ; Fri, 9 Mar 2007 13:12:08 -0500 (EST) Date: Fri, 9 Mar 2007 18:12:06 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20070309181206.4760765e@gumby.homeunix.com> In-Reply-To: <20070308170629.269230@gmx.net> References: <45F0300E.5070800@gmx.net> <20070308170629.269230@gmx.net> X-Mailer: Claws Mail 2.8.0 (GTK+ 2.10.9; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: ext3 support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 18:12:10 -0000 On Thu, 08 Mar 2007 18:06:29 +0100 "Benjamin Sobotta" wrote: > > dear list, > > > > does freebsd 6.x support the ext3 filesystem? > > > > TIA > > > > zheyu > > _______________________________________________ > > 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! > > AFAIK it doesn't support ext3. However, it supports ext2, which is > structurally the same as ext2 except that it doesn't do any > journaling. Hence, you should be able to mount and use ext3 except > that the journal will not be used. There's fsck support for syncing the ext3 journal. I think it's in a port, but I can't remember which. From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 18:14:19 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5348016A400 for ; Fri, 9 Mar 2007 18:14:19 +0000 (UTC) (envelope-from frankstaals@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id B812213C4A6 for ; Fri, 9 Mar 2007 18:14:18 +0000 (UTC) (envelope-from frankstaals@gmx.net) Received: (qmail invoked by alias); 09 Mar 2007 18:14:16 -0000 Received: from ip176-173-59-62.adsl.versatel.nl (EHLO [192.168.2.5]) [62.59.173.176] by mail.gmx.net (mp018) with SMTP; 09 Mar 2007 19:14:16 +0100 X-Authenticated: #25365336 X-Provags-ID: V01U2FsdGVkX19fL44aNzZfn+1SjBFsY7/YzSn1sqtQMzrA2/Y9ct stU2ViqR32yuRx Message-ID: <45F1A402.1080709@gmx.net> Date: Fri, 09 Mar 2007 19:14:26 +0100 From: Frank Staals User-Agent: Thunderbird 1.5.0.9 (X11/20070125) MIME-Version: 1.0 To: John Nielsen References: <2942dae0703071848w482d3b03t94e1e64f6322e0bd@mail.gmail.com> <200703072329.19212.lists@jnielsen.net> In-Reply-To: <200703072329.19212.lists@jnielsen.net> X-Y-GMX-Trusted: 0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org, frzburn Subject: Re: Changing command-line resolution X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 18:14:19 -0000 John Nielsen wrote: > On Wednesday 07 March 2007 21:48, frzburn wrote: > >> Hi! >> I was wondering if there is a way to change the command-line >> FreeBSD 6.2-STABLE amd64. >> > > Build and install a kernel with options VESA and SC_PIXEL_MODE. Reboot. > Run "vidcontrol -i mode". Pick one you like and make a note of its number. > Then do something similar to "vidcontrol -f 8x14 cp437-8x14.fnt MODE_NNN", > replacing NNN with the mode you noted previously and 8x14 with one of 8x8, > 8x14 or 8x16. The font file should match the font size and codepage you > want your terminal to be in. Repeat until you find the settings you want, > then add a line like this to /etc/rc.conf: > allscreens_flags="-f 8x14 cp437-8x14.fnt MODE_NNN" > using the same substitutions. > > See also man vidcontrol, man sc, and the FreeBSD handbook. > > JN > _______________________________________________ > If I'm correct that's not going to work since VESA module doesn't work on an amd64 system, or at least that's what I thought I read some time ago. Not sure what your goal is with your machine but if it's not meant as a server you can always install Xorg with some lightweight WM. Good luck, -- -Frank Staals From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 18:30:46 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AD83E16A406 for ; Fri, 9 Mar 2007 18:30:46 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 6921413C48E for ; Fri, 9 Mar 2007 18:30:46 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1HPjqs-0005rB-DX for freebsd-questions@freebsd.org; Fri, 09 Mar 2007 19:30:02 +0100 Received: from 83-131-163-54.adsl.net.t-com.hr ([83.131.163.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Mar 2007 19:30:02 +0100 Received: from ivoras by 83-131-163-54.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Mar 2007 19:30:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Fri, 09 Mar 2007 19:28:16 +0100 Lines: 35 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig097307025C2143B64691AD8E" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 83-131-163-54.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) In-Reply-To: X-Enigmail-Version: 0.94.1.2 Sender: news Subject: Re: limitiation on memory allocation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 18:30:46 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig097307025C2143B64691AD8E Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Dima Sorkin wrote: > Hi. >=20 > On FreeBSD 6.2 i386 with 2GB of physical memory I can't allocate > more than 500Mb for my program. >=20 > I'm a new to FreeBSD. Is this limitatin is something known, > how do I overcome it ? Google for MAXDSIZ and relevent discussions. See here for example: http://lists.danga.com/pipermail/memcached/2005-April/001349.html --------------enig097307025C2143B64691AD8E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF8adAldnAQVacBcgRAs3HAJ4jRGatRaGRO4wDp7hq2+RCdOHqWACg2Nks 7cgW1kj9nTdxUqO8erBAYZU= =iMrO -----END PGP SIGNATURE----- --------------enig097307025C2143B64691AD8E-- From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 18:47:32 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1200916A403 for ; Fri, 9 Mar 2007 18:47:32 +0000 (UTC) (envelope-from gs_stoller@juno.com) Received: from outbound-mail.nyc.untd.com (outbound-mail.nyc.untd.com [64.136.20.164]) by mx1.freebsd.org (Postfix) with SMTP id 9B6EF13C4A3 for ; Fri, 9 Mar 2007 18:47:31 +0000 (UTC) (envelope-from gs_stoller@juno.com) Received: from webmail22.nyc.untd.com (webmail22.nyc.untd.com [10.141.27.162]) by smtpout02.nyc.untd.com with SMTP id AABC9DL7YAHSWKF2 for (sender ); Fri, 9 Mar 2007 10:47:18 -0800 (PST) X-UNTD-OriginStamp: /s5f1SIGSI3+WdnoYQ8yRCfFQXXcOGooa0nodOD1XqlFmO/bZuKjUA== Received: (from gs_stoller@juno.com) by webmail22.nyc.untd.com (jqueuemail) id MGEPF2ER; Fri, 09 Mar 2007 10:46:50 PST Received: from [71.251.0.101] by webmail22.nyc.untd.com with HTTP: Fri, 9 Mar 2007 18:46:22 GMT X-Originating-IP: [71.251.0.101] Mime-Version: 1.0 From: "gs_stoller@juno.com" Date: Fri, 9 Mar 2007 18:46:22 GMT To: derek@computinginnovations.com, kline@tao.thought.org X-Mailer: Webmail Version 4.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Content-Type: text/plain Message-Id: <20070309.104650.775.601090@webmail22.nyc.untd.com> X-ContentStamp: 2:2:4231369790 X-UNTD-Peer-Info: 10.141.27.162|webmail22.nyc.untd.com|webmail22.nyc.untd.com|gs_stoller@juno.com Cc: freebsd-questions@freebsd.org Subject: Re: awk 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: Fri, 09 Mar 2007 18:47:32 -0000 You are trying to remove the files whose names are given by ls -lt | awk '{if ($8 =3D=3D 2006) print $9}'; If you are in the same directory, or you have full pathnames, you can do just (and avoid the 'for do done' loop) rm $( ls -lt | awk '{if ($8 =3D=3D 2006) print $9}' ) If this exceeds the maximum length of a line, just use xargs also. From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 19:24:16 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 89C9016A403 for ; Fri, 9 Mar 2007 19:24:16 +0000 (UTC) (envelope-from crstn_fuchs@yahoo.de) Received: from smtp006.mail.ukl.yahoo.com (smtp006.mail.ukl.yahoo.com [217.12.11.95]) by mx1.freebsd.org (Postfix) with SMTP id E48E113C428 for ; Fri, 9 Mar 2007 19:24:15 +0000 (UTC) (envelope-from crstn_fuchs@yahoo.de) Received: (qmail 55349 invoked from network); 9 Mar 2007 18:57:35 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.de; h=Received:X-YMail-OSG:Date:From:To:Subject:Message-Id:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; b=Gja8dYAMul5SQGZ2ou2zw3Kh4TjRRdhfDq5xgnG+qUezxWrd8J+tb+zyB5XJuXrNbA57bGkFMrTohMHKosxskUVHcwL9pFrb6154rHeX4j+Z5PPQ3Ie+IXc2ryTXFxyt7Ux8Af8k2RxP4RHXlk7LYniW2TNH8uX/Sgou6/03wsU= ; Received: from unknown (HELO nostromo.homeunix.org) (crstn_fuchs@89.57.52.205 with plain) by smtp006.mail.ukl.yahoo.com with SMTP; 9 Mar 2007 18:57:34 -0000 X-YMail-OSG: 1VrgrhgVM1kfBIe4Otrg5xjffZtGSwimfuLA3DM4yrpoS2DuvuLYGmAtiZYFKM0dSOKz7K2LKB9MtoPJH1jzrVnVJbCOkBhWNLYouoWAaP2odqmIvF5jdec5tyqzX2_h_V1CFHX8xb5_ Date: Fri, 9 Mar 2007 19:57:31 +0100 From: Carsten Fuchs To: freebsd-questions@freebsd.org Message-Id: <20070309195731.73579140.crstn_fuchs@yahoo.de> In-Reply-To: <20070309181206.4760765e@gumby.homeunix.com> References: <45F0300E.5070800@gmx.net> <20070308170629.269230@gmx.net> <20070309181206.4760765e@gumby.homeunix.com> X-Mailer: Sylpheed version 2.2.9 (GTK+ 2.10.6; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: ext3 support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 19:24:16 -0000 On Fri, 9 Mar 2007 18:12:06 +0000 RW wrote: > There's fsck support for syncing the ext3 journal. I think it's in a > port, but I can't remember which. sysutils/e2fsprogs ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 19:25:59 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2C4CF16A401 for ; Fri, 9 Mar 2007 19:25:59 +0000 (UTC) (envelope-from knizek@volny.cz) Received: from smtp-out3.iol.cz (smtp-out3.iol.cz [194.228.2.91]) by mx1.freebsd.org (Postfix) with ESMTP id A7C0313C4AC for ; Fri, 9 Mar 2007 19:25:58 +0000 (UTC) (envelope-from knizek@volny.cz) Received: from antivir5.iol.cz (unknown [192.168.30.212]) by smtp-out3.iol.cz (Postfix) with ESMTP id 718CE64CB6 for ; Fri, 9 Mar 2007 20:25:53 +0100 (CET) Received: from localhost (antivir5.iol.cz [127.0.0.1]) by antivir5.iol.cz (Postfix) with ESMTP id 5EBD066C005 for ; Fri, 9 Mar 2007 20:25:53 +0100 (CET) X-Virus-Scanned: amavisd-new at iol.cz Received: from antivir5.iol.cz ([127.0.0.1]) by localhost (antivir5.iol.cz [127.0.0.1]) (amavisd-new, port 10224) with LMTP id J6ynA42h5fw8 for ; Fri, 9 Mar 2007 20:25:53 +0100 (CET) Received: from smtp-out3.iol.cz (mta-out3 [192.168.30.28]) by antivir5.iol.cz (Postfix) with ESMTP id 3EA7A66C006 for ; Fri, 9 Mar 2007 20:25:53 +0100 (CET) Received: from [192.168.1.23] (unknown [88.103.7.126]) by smtp-out3.iol.cz (Postfix) with ESMTP id 0FAE557EFE for ; Fri, 9 Mar 2007 20:25:48 +0100 (CET) From: Milan Knizek To: freebsd-questions@freebsd.org Date: Fri, 9 Mar 2007 20:25:34 +0100 User-Agent: KMail/1.9.5 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200703092025.34406.knizek@volny.cz> Subject: Epson P2100 parallel port mode X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 19:25:59 -0000 Hello list! I have spent some time installing Epson P2100 (aka P2200 in the U.S.) - the= =20 USB connection did not work (printer was recognised, but any access to it=20 caused only a quick double-tick of the printing head and nothing more). The= =20 good thing was that it supports also the parallel connection. Once connected via /dev/lpt0, the printer worked, but printed _very_ slowly= =20 (and /var/log/messages announced irq storm on irq7). A search on google revealed that it is possible to switch the port mode=20 to "extended polling" by command "lptcontrol -e -d /dev/lpt0". Then, the=20 printer worked normally. "ltpcontrol" supports only connected (and powered on) printers, which is=20 usually not the case during boot, and it must be run with root privileges. My question: how do I set the default port mode to "extended polling" inste= ad=20 of "iterrupt driven" during the boot process? Thanks for ideas, Milan P.S. 6.2-STABLE FreeBSD 6.2-STABLE i386 on ASUS P5LD2 Deluxe with Pentium D. dmesg: ppc0: port 0x378-0x37f,0x778-0x77f irq 7 drq 3 = on=20 acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: on ppc0 =2E.. lpt0: on ppbus0 lpt0: Interrupt-driven port =2D-=20 Milan Kn=C3=AD=C5=BEek http://milan-knizek.net/ e-mail knizek {na} volny {v} cz From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 19:44:48 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 18A6016A401 for ; Fri, 9 Mar 2007 19:44:48 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail4.sea5.speakeasy.net (mail4.sea5.speakeasy.net [69.17.117.6]) by mx1.freebsd.org (Postfix) with ESMTP id E804D13C4A6 for ; Fri, 9 Mar 2007 19:44:47 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 10330 invoked from network); 9 Mar 2007 19:44:47 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 9 Mar 2007 19:44:47 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 958AA28431; Fri, 9 Mar 2007 14:44:46 -0500 (EST) To: freebsd-questions@freebsd.org References: <20070308085511.1ECA.GERARD@seibercom.net> <6.0.0.22.2.20070308084942.0247a948@mail.computinginnovations.com> <20070308100752.3884e0a6@localhost> <44649aflud.fsf@be-well.ilk.org> From: Lowell Gilbert Date: Fri, 09 Mar 2007 14:44:46 -0500 In-Reply-To: <44649aflud.fsf@be-well.ilk.org> (Lowell Gilbert's message of "Fri\, 09 Mar 2007 11\:00\:42 -0500") Message-ID: <44vehaw6a9.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: Re: Running script from rc.d as local user X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 19:44:48 -0000 Lowell Gilbert writes: > Gerard Seibert writes: > >> On Thu, 08 Mar 2007 08:52:20 -0600 >> Derek Ragona wrote: > >>> You should add a line: >>> /usr/bin/su [to your username] >> >> OK, I'll try that. > > A way to do this without needing special permissions to > touch system files is to use cron; it has an "@reboot" > time specification for this purpose. The original message finally arrived in my mailbox, so I see that you've already tried cron and didn't know how to set environmental variables that way. The answers are simple; set them in the crontab (usually on the command line you're executing), or write a wrapper script and call that from your crontab. From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 19:44:51 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 436ED16A404 for ; Fri, 9 Mar 2007 19:44:51 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (dsl081-227-250.chi1.dsl.speakeasy.net [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id C315413C441 for ; Fri, 9 Mar 2007 19:44:48 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.12.11) with ESMTP id l29JiMLu029319; Fri, 9 Mar 2007 13:44:22 -0600 (CST) Message-Id: <6.0.0.22.2.20070309133935.024b8fd0@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Fri, 09 Mar 2007 13:44:11 -0600 To: "Dima Sorkin" , freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: References: <6.0.0.22.2.20070309094909.024c9dd0@mail.computinginnovations.com> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: limitiation on memory allocation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 19:44:51 -0000 Dima, Not all the settings there are tuneable. In 6.X the allowable memory is somewhat automatic based on the max users. Your kernel is set to 384. You can try changing that. You can also make some kernel settings in: /boot/loader.conf You can see the possible variables to set in: /boot/defaults/loader.conf I think the one variable you may want to change is: kern.maxdsiz="to your actual real memory size" Don't make this larger than the real memory, in my experience that will cause the system to not boot properly into multi-user. -Derek At 11:06 AM 3/9/2007, Dima Sorkin wrote: >Hi. >I've passed over the man page and even over the "man 3" page. >What exactly should I look for ? > >Thank you. >Dima. > >output of 'sysctl -a' is attached. > > >On 3/9/07, Derek Ragona wrote: >> >> check out your sysctl values. >> man sysctl >> for more information. >> >> -Derek >> >> >> >> At 08:32 AM 3/9/2007, Dima Sorkin wrote: >> >>Hi. >> >> On FreeBSD 6.2 i386 with 2GB of physical memory I can't allocate >> more than 500Mb for my program. > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. >MailScanner thanks transtec Computers for their support. > > > >Content-Type: application/octet-stream; name="sysctl-a.output" >Content-Disposition: attachment; filename="sysctl-a.output" >X-Attachment-Id: f_ez1pyii1 > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 19:46:39 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DC95B16A401 for ; Fri, 9 Mar 2007 19:46:38 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (dsl081-227-250.chi1.dsl.speakeasy.net [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 6AE5413C474 for ; Fri, 9 Mar 2007 19:46:38 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.12.11) with ESMTP id l29Jk5I6029356; Fri, 9 Mar 2007 13:46:06 -0600 (CST) Message-Id: <6.0.0.22.2.20070309134522.024c3250@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Fri, 09 Mar 2007 13:45:55 -0600 To: Milan Knizek , freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: <200703092025.34406.knizek@volny.cz> References: <200703092025.34406.knizek@volny.cz> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Epson P2100 parallel port mode X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 19:46:39 -0000 You may be able to change the port setting in your BIOS, most newer BIOS=20 allow this. -Derek At 01:25 PM 3/9/2007, Milan Knizek wrote: >Hello list! > >I have spent some time installing Epson P2100 (aka P2200 in the U.S.) - the >USB connection did not work (printer was recognised, but any access to it >caused only a quick double-tick of the printing head and nothing more). The >good thing was that it supports also the parallel connection. > >Once connected via /dev/lpt0, the printer worked, but printed _very_ slowly >(and /var/log/messages announced irq storm on irq7). > >A search on google revealed that it is possible to switch the port mode >to "extended polling" by command "lptcontrol -e -d /dev/lpt0". Then, the >printer worked normally. > >"ltpcontrol" supports only connected (and powered on) printers, which is >usually not the case during boot, and it must be run with root privileges. > >My question: how do I set the default port mode to "extended polling" inst= ead >of "iterrupt driven" during the boot process? > >Thanks for ideas, >Milan > >P.S. >6.2-STABLE FreeBSD 6.2-STABLE i386 on ASUS P5LD2 Deluxe with Pentium D. > >dmesg: >ppc0: port 0x378-0x37f,0x778-0x77f irq 7 drq 3= on >acpi0 >ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode >ppc0: FIFO with 16/16/9 bytes threshold >ppbus0: on ppc0 >... >lpt0: on ppbus0 >lpt0: Interrupt-driven port > > >-- >Milan Kn=C3=AD=9Eek >http://milan-knizek.net/ >e-mail knizek {na} volny {v} cz >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.or= g" > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. >MailScanner thanks transtec Computers for their support. --=20 This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 20:04:34 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DACAA16A404 for ; Fri, 9 Mar 2007 20:04:34 +0000 (UTC) (envelope-from cptsalek@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.231]) by mx1.freebsd.org (Postfix) with ESMTP id 98D6613C494 for ; Fri, 9 Mar 2007 20:04:34 +0000 (UTC) (envelope-from cptsalek@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so897208wxc for ; Fri, 09 Mar 2007 12:04:33 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XjRTxCZIFjBTIP0avqo8594Lg5+mmwJOj6MDq/5EERhmm3wD3u2UZRlaaNRMa8hJGJVcoAcs0wZji3XqzPEnRzb4jCtk2ns6LkQbvvb3HdrIdyPf27Pz3/VcBvSiwIeShuWaTdcdTVx+CeTORElV2frc+RwH8xR+UP899ZsgnoA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TZVhndS3zvRAXOb1CTIIRYr8n24JwOXGZB1ANpsQMe13B5lCZ6EqsycvbFjdignI8QdsJMIuZC7zIKKsmvSTXlAIa2uK94QgR/foaSZG/q5bOR0F0lKi/MZ82b30CItyJY4pU9Ob1weA58QH4BOqils96WnkTvezkmaEEsLSsL4= Received: by 10.70.96.3 with SMTP id t3mr3622175wxb.1173470673645; Fri, 09 Mar 2007 12:04:33 -0800 (PST) Received: by 10.70.14.15 with HTTP; Fri, 9 Mar 2007 12:04:33 -0800 (PST) Message-ID: <14989d6e0703091204iedbc712ibab204a85b528c0f@mail.gmail.com> Date: Fri, 9 Mar 2007 20:04:33 +0000 From: "Christian Walther" To: RW In-Reply-To: <20070309144730.30ac6aba@gumby.homeunix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <989294.46444.qm@web34411.mail.mud.yahoo.com> <14989d6e0703081645q9b555b5i26cca0557590e9cd@mail.gmail.com> <45F0EAF2.2010303@u.washington.edu> <20070309144730.30ac6aba@gumby.homeunix.com> Cc: freebsd-questions@freebsd.org Subject: Re: DEFAULT CFLAGS SETTING X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 20:04:34 -0000 On 09/03/07, RW wrote: > On Thu, 08 Mar 2007 21:04:50 -0800 > Garrett Cooper wrote: > > > Christian Walther wrote: > > > On 08/03/07, White Hat wrote: [...] > > > CFLAGS can be defined in /etc/make.conf > > > My CFLAGS is set to -O2 -pipe. > > Note that by explicitly defining CFLAGS, you override the > -fno-strict-aliasing that's set by default. > > FreeBSD provides sensible defaults for all of these things, based on > CPUTYPE. Thanks for pointing this out. I did read /usr/share/examples/etc/make.conf to get some sensible settings, which is why I've chosen it to set CFLAGS like I did. Since -fno-strict-aliasing is that important, it should probably be mentioned in /usr/share/examples/etc/make.conf Just my 2 cents Christian From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 20:04:48 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5FB5016A401 for ; Fri, 9 Mar 2007 20:04:48 +0000 (UTC) (envelope-from dave.list@pixelhammer.com) Received: from smtp1.tls.net (smtp1.tls.net [65.196.224.82]) by mx1.freebsd.org (Postfix) with SMTP id 0F21713C481 for ; Fri, 9 Mar 2007 20:04:47 +0000 (UTC) (envelope-from dave.list@pixelhammer.com) Received: (qmail 77416 invoked by uid 89); 9 Mar 2007 20:05:23 -0000 Received: by simscan 1.2.3 ppid: 77404, pid: 77413, t: 0.1546s scanners: attach: 1.2.3 clamav: 0.88.5/m:42/d:2702 Received: from 64-184-10-26.bb.hrtc.net (HELO ?192.168.0.105?) (ldg%tls.net@64.184.10.26) by auth-smtp1.tls.net with SMTP; 9 Mar 2007 20:05:23 -0000 Message-ID: <45F1BDC2.8030507@pixelhammer.com> Date: Fri, 09 Mar 2007 15:04:18 -0500 From: DAve User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Dan Busarow References: <010801c7624c$709ecb80$6501a8c0@GRANT> <200703091640.18154.v.cristescu@lamit.ro> <3CA73050-6661-47A5-976F-07DEB390E133@dpcsys.com> In-Reply-To: <3CA73050-6661-47A5-976F-07DEB390E133@dpcsys.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org Questions -" Subject: Re: zoneinfo FreeBSD 4.4 - 4.11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 20:04:48 -0000 Dan Busarow wrote: > > On Mar 9, 2007, at 7:40 AM, Vasile Cristescu wrote: > >> On Friday 09 March 2007 15:11, Grant Peel wrote: >>> Hi all, >>> >>> I got all my servers playiung nice with the new port for zoneinfo, >>> all but >>> one which is a simple slave nameserver ruynning FreeBSD 4.4. >>> >>> When I installed the port on it, and try to run make, I get this: >>> >>> voyager ROOT /usr/gpeel/zoneinfo > make >>> zoneinfo-: You need to define PORTNAME and PORTVERSION instead of >>> PKGNAME. >>> (This port is too old for your bsd.port.mk, please update it to match >>> your bsd.port.mk.) >>> *** Error code 1 >>> >>> Stop. >>> >>> I have been reading lots about simply updateing the zone file itself, >>> but >>> have not been undersztanding what I am seeing. If anyone could >>> simplify, I >>> would appreciate it. >>> > > Grant, > > Search for an email I sent to the list on 2/22 with Subject > > Determining daylight savings changes on BSD > > It has the steps needed to update manually from source. > > Here's the steps > > If you can't use the ports to update your time zone files here is the > manual procedure. > > 1. create a new directory and cd into it > e.g. # mkdir myzoneinfo; cd myzoneinfo > > 2. # fetch ftp://elsie.nci.nih.gov/pub/tzdata2007b.tar.gz > > 3. # tar -zxvf tzdata2007b.tar.gz > > 4. you will now have a bunch of files in the directory extracted from > tzdata2007b. > you need to edit zone.tab and comment out these lines > > #AX +6006+01957 Europe/Mariehamn > #GG +4927-00232 Europe/Guernsey > #IM +5409-00428 Europe/Isle_of_Man > #JE +4912-00207 Europe/Jersey > #ME +4226+01916 Europe/Podgorica > #RS +4450+02030 Europe/Belgrade > #TL -0833+12535 Asia/Dili > > 5. run this command > # zic -d ./zoneinfo -p America/Los_Angeles -m 0644 -y ./yearistype \ > africa antarctica asia australasia etcetera europe \ > factory northamerica southamerica systemv > > that's all one long line > the zic command will create a new directory named zoneinfo and > fill it with the new zoneinfo files. You can compare it to > /usr/share/zoneinfo > > 6. install the new files by running > # cp -R -p ./zoneinfo/ /usr/share/zoneinfo > # cp ./zone.tab /usr/share/zoneinfo > # tzsetup > > 7. to verify that all went well run > # zdump -v /etc/localtime | grep 2007 > your should get > > /etc/localtime Sun Mar 11 09:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 > PST isdst=0 gmtoff=-28800 > /etc/localtime Sun Mar 11 10:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 > PDT isdst=1 gmtoff=-25200 > /etc/localtime Sun Nov 4 08:59:59 2007 UTC = Sun Nov 4 01:59:59 2007 > PDT isdst=1 gmtoff=-25200 > /etc/localtime Sun Nov 4 09:00:00 2007 UTC = Sun Nov 4 01:00:00 2007 > PST isdst=0 gmtoff=-28800 > > > I've done this on 1/2 dozen older 4.x and 5.x servers and it works fine. Just a heads up, that file is now tzdata2007c.tar.gz, created on Feb 26th. At least I couldn't grab tzdata2007b.tar.gz anymore. DAve -- Three years now I've asked Google why they don't have a logo change for Memorial Day. Why do they choose to do logos for other non-international holidays, but nothing for Veterans? Maybe they forgot who made that choice possible. From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 20:10:01 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BF08416A402 for ; Fri, 9 Mar 2007 20:10:01 +0000 (UTC) (envelope-from nejc@skoberne.net) Received: from illusion.skoberne.net (illusion.skoberne.net [84.255.205.135]) by mx1.freebsd.org (Postfix) with ESMTP id 76D2313C441 for ; Fri, 9 Mar 2007 20:10:01 +0000 (UTC) (envelope-from nejc@skoberne.net) Received: from localhost (unknown [127.0.0.1]) by illusion.skoberne.net (Postfix) with ESMTP id 8EB13B830 for ; Fri, 9 Mar 2007 21:10:01 +0100 (CET) Received: from illusion.skoberne.net ([127.0.0.1]) by localhost (illusion.skoberne.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 35409-07 for ; Fri, 9 Mar 2007 21:10:01 +0100 (CET) Received: from [192.168.10.2] (unknown [192.168.10.2]) by illusion.skoberne.net (Postfix) with ESMTP id 2476FB82A for ; Fri, 9 Mar 2007 21:10:01 +0100 (CET) Message-ID: <45F1BF10.7040109@skoberne.net> Date: Fri, 09 Mar 2007 21:09:52 +0100 From: =?ISO-8859-2?Q?Nejc_=A9koberne?= User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: User Questions Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Subject: FreeBSD on IDE Flash disk drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 20:10:01 -0000 Hello, I plan to install a FreeBSD 6.2 router/gateway/DHCP server on a EPIA box with 1GB Transcend IDE Flash drive. Since Transcend says that this device is capable of "10,000 insertion/removal cycles" I assume that I must minimize the number of writes to the drive. It is okay with me if I have to configure syslog to log to another machine. Any suggestions/instructions how to achieve this? Any experienced users regarding this matter? Thanks for ideas and help. Nejc From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 20:26:46 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3107E16A402 for ; Fri, 9 Mar 2007 20:26:46 +0000 (UTC) (envelope-from nejc@skoberne.net) Received: from illusion.skoberne.net (illusion.skoberne.net [84.255.205.135]) by mx1.freebsd.org (Postfix) with ESMTP id DF0C213C428 for ; Fri, 9 Mar 2007 20:26:45 +0000 (UTC) (envelope-from nejc@skoberne.net) Received: from localhost (unknown [127.0.0.1]) by illusion.skoberne.net (Postfix) with ESMTP id 38E7DB833 for ; Fri, 9 Mar 2007 21:26:46 +0100 (CET) Received: from illusion.skoberne.net ([127.0.0.1]) by localhost (illusion.skoberne.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 37171-02 for ; Fri, 9 Mar 2007 21:26:45 +0100 (CET) Received: from [192.168.10.2] (unknown [192.168.10.2]) by illusion.skoberne.net (Postfix) with ESMTP id 74A28B830 for ; Fri, 9 Mar 2007 21:26:45 +0100 (CET) Message-ID: <45F1C2FC.4080201@skoberne.net> Date: Fri, 09 Mar 2007 21:26:36 +0100 From: =?ISO-8859-2?Q?Nejc_=A9koberne?= User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: User Questions References: <45F1BF10.7040109@skoberne.net> In-Reply-To: <45F1BF10.7040109@skoberne.net> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD on IDE Flash disk drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 20:26:46 -0000 Hey, > this device is capable of "10,000 insertion/removal cycles" I assume Sorry for replying my own post, but now I fould out that this actually means how many times can I insert/remove the module into/from the motherboard. Actually the number I am interested in is much higher: "2,000,000 Program/Erase cycles". However I have no idea how to measure how many writes are performed during a normal operation of a FreeBSD server running DHCP and pf firewall. Thanks, Nejc From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 20:47:53 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 80C1916A405 for ; Fri, 9 Mar 2007 20:47:53 +0000 (UTC) (envelope-from jvender@owensboro.net) Received: from zoot.cinergycom.net (zoot.cinergycom.net [216.135.3.11]) by mx1.freebsd.org (Postfix) with ESMTP id 5DD0913C4B3 for ; Fri, 9 Mar 2007 20:47:48 +0000 (UTC) (envelope-from jvender@owensboro.net) Received: from kntpin04-nas-03-s73.cinergycom.net ([216.135.25.73]) by zoot.cinergycom.net with esmtpa (Exim 4.52) id 1HPm0A-0000cP-LA for freebsd-questions@freebsd.org; Fri, 09 Mar 2007 14:47:47 -0600 From: Joe Vender To: freebsd-questions@freebsd.org Date: Fri, 9 Mar 2007 14:47:14 -0600 User-Agent: KMail/1.9.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703091447.16922.jvender@owensboro.net> X-CCC-Authenticated: jvender@owensboro.net zoot.cinergycom.net 216.135.25.73 20070309204747Z ec0a74f01884726a0f0fd161cbbb9fab X-CCC-Cleanmail-Virus-Signature: 6f5ad13d8801846f52e0c55d7a65d25d Subject: pgp-mime on kmail without gpg-agent X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 20:47:53 -0000 Is it possible to use pgp-mime on kmail without using gpg-agent? When I try it, decryption fails with an error message about a bad passphrase, even though kmail never even prompts for a passphrase when opening an pgp-mime encrypted mail if I don't have gnupg set to use an agent and no agent is running. Joe From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 20:55:09 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B4AA716A49A for ; Fri, 9 Mar 2007 20:55:09 +0000 (UTC) (envelope-from andy@kendallnet.co.uk) Received: from smtp2.freeserve.com (smtp2.wanadoo.co.uk [193.252.22.157]) by mx1.freebsd.org (Postfix) with ESMTP id 3CFED13C48E for ; Fri, 9 Mar 2007 20:55:08 +0000 (UTC) (envelope-from andy@kendallnet.co.uk) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3101.me.freeserve.com (SMTP Server) with ESMTP id 451C62C0008A for ; Fri, 9 Mar 2007 21:55:07 +0100 (CET) Received: from andypc2 (user-54471877.wfd83a.dsl.pol.co.uk [84.71.24.119]) by mwinf3101.me.freeserve.com (SMTP Server) with ESMTP id 07B5D2C00087 for ; Fri, 9 Mar 2007 21:55:06 +0100 (CET) X-ME-UUID: 20070309205507316.07B5D2C00087@mwinf3101.me.freeserve.com From: "Andy Kendall" To: Date: Fri, 9 Mar 2007 20:55:12 -0000 Message-ID: <003301c7628d$3bae2dd0$4a074c0a@andypc2> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Thread-Index: AcdijTtYwtEm/H04Qd6E8BSyoQT+Bg== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Custom scripts files locations? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 20:55:09 -0000 Where should I put any scripts I write or use for the use of all system users please? For example in the FreeBSD Manual in section 9.4.3.2 there's a script for Network Printing; where should this reside please? Thanks Andy From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 20:57:46 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8D12416A407 for ; Fri, 9 Mar 2007 20:57:46 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 4730B13C4BA for ; Fri, 9 Mar 2007 20:57:46 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HPm9T-0000hq-RX for freebsd-questions@freebsd.org; Fri, 09 Mar 2007 21:57:23 +0100 Received: from 89-172-59-228.adsl.net.t-com.hr ([89.172.59.228]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Mar 2007 21:57:23 +0100 Received: from ivoras by 89-172-59-228.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Mar 2007 21:57:23 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Fri, 09 Mar 2007 21:56:55 +0100 Lines: 29 Message-ID: References: <45F1BF10.7040109@skoberne.net> <45F1C2FC.4080201@skoberne.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig48B7A7925088BA0721BD5D98" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 89-172-59-228.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) In-Reply-To: <45F1C2FC.4080201@skoberne.net> X-Enigmail-Version: 0.94.1.2 Sender: news Subject: Re: FreeBSD on IDE Flash disk drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 20:57:46 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig48B7A7925088BA0721BD5D98 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Nejc =C5=A0koberne wrote: > However I have no idea how to measure > how many writes are performed during a normal operation of a FreeBSD > server running DHCP and pf firewall. You could get an upper bound by running a perpetual "iostat"... --------------enig48B7A7925088BA0721BD5D98 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF8coXldnAQVacBcgRAqmrAKC8xMmxA9J4+9I+AaNMgGDkZKFiZgCfc8Mg 7NwcobcL7j/F7ov0Ig7ytH0= =oxGe -----END PGP SIGNATURE----- --------------enig48B7A7925088BA0721BD5D98-- From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 21:12:05 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0CC2516A400 for ; Fri, 9 Mar 2007 21:12:05 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id D1CE213C4A8 for ; Fri, 9 Mar 2007 21:12:04 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l29L93Zv033066; Fri, 9 Mar 2007 16:09:03 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l29L93Re033065; Fri, 9 Mar 2007 16:09:03 -0500 (EST) (envelope-from jerrymc) Date: Fri, 9 Mar 2007 16:09:03 -0500 From: Jerry McAllister To: Andy Kendall Message-ID: <20070309210903.GA33041@gizmo.acns.msu.edu> References: <003301c7628d$3bae2dd0$4a074c0a@andypc2> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <003301c7628d$3bae2dd0$4a074c0a@andypc2> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Custom scripts files locations? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 21:12:05 -0000 On Fri, Mar 09, 2007 at 08:55:12PM -0000, Andy Kendall wrote: > Where should I put any scripts I write or use for the use of all system > users please? For example in the FreeBSD Manual in section 9.4.3.2 there's a > script for Network Printing; where should this reside please? Do you mean that you want some script available for any user to run at their discretion? Or that you want the system to run before any users get on so something is done for them? In the first case, probably /usr/local/bin is the most common place. In the second, /usr/local/etc/rc.d is the place to put them to have them run at boot to multi-user time. If those script in /usr/local/bin can do any thing serious, like write to people's files then you might want to make a little shell written in c to run them so the users do no run them directly, but only the binary. Then stash the actual scripts somewhere else. ////jerry > > Thanks > > Andy > > _______________________________________________ > 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 Mar 9 21:12:34 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0AC0C16A402 for ; Fri, 9 Mar 2007 21:12:34 +0000 (UTC) (envelope-from bob@tamara-b.org) Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by mx1.freebsd.org (Postfix) with ESMTP id A33EF13C494 for ; Fri, 9 Mar 2007 21:12:33 +0000 (UTC) (envelope-from bob@tamara-b.org) Received: from mailspool3.panix.com (mailspool3.panix.com [166.84.1.78]) by mail1.panix.com (Postfix) with ESMTP id 166DD58896 for ; Fri, 9 Mar 2007 16:12:33 -0500 (EST) Received: from tania.servebbs.org (pool-71-247-35-75.nycmny.east.verizon.net [71.247.35.75]) by mailspool3.panix.com (Postfix) with ESMTP id 08D65BC9021 for ; Fri, 9 Mar 2007 16:12:32 -0500 (EST) Received: from tania.servebbs.org (localhost [127.0.0.1]) by tania.servebbs.org (8.14.0/8.13.6) with ESMTP id l29LCcom057726 for ; Fri, 9 Mar 2007 16:12:38 -0500 (EST) (envelope-from bob@tamara-b.org) Date: Fri, 9 Mar 2007 16:11:31 -0500 From: Bob To: freebsd-questions@freebsd.org Message-ID: <20070309161131.7c0bd0e9@tania.servebbs.org> In-Reply-To: <003301c7628d$3bae2dd0$4a074c0a@andypc2> References: <003301c7628d$3bae2dd0$4a074c0a@andypc2> Organization: Tamara B X-Mailer: Claws Mail 2.8.0 (GTK+ 2.10.9; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_BZ=ejdZp8l4=t7prRp2REzH"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (tania.servebbs.org [0.0.0.0]); Fri, 09 Mar 2007 16:12:38 -0500 (EST) X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tania.servebbs.org Subject: Re: Custom scripts files locations? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 21:12:34 -0000 --Sig_BZ=ejdZp8l4=t7prRp2REzH Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 9 Mar 2007 20:55:12 -0000 "Andy Kendall" wrote: > Where should I put any scripts I write or use for the use of all > system users please? public executables go in /usr/local/bin Bob --=20 /"\ \ / ASCII Ribbon Campaign - Motor Vessel Tamara B X against HTML email & vCards - http://www.tamara-b.org / \ Tania Our Cat http://www.tamara-b.org/t1.jpg . . http://www.tamara-b.org/t2.jpg --Sig_BZ=ejdZp8l4=t7prRp2REzH Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF8c3FqEJbgtZS/7MRAsf0AJ45te3fgyaeiFa84WEQ22RnKYcPBACeM7HV 52A1HW+U4INaWRpLqvyM5OI= =IX7P -----END PGP SIGNATURE----- --Sig_BZ=ejdZp8l4=t7prRp2REzH-- From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 21:24:09 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 039F716A403 for ; Fri, 9 Mar 2007 21:24:09 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (dsl081-227-250.chi1.dsl.speakeasy.net [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 9136113C47E for ; Fri, 9 Mar 2007 21:24:08 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.12.11) with ESMTP id l29LNgcu030549; Fri, 9 Mar 2007 15:23:43 -0600 (CST) Message-Id: <6.0.0.22.2.20070309152230.024d46d0@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Fri, 09 Mar 2007 15:23:32 -0600 To: =?ISO-8859-2?Q?Nejc_=A9koberne?= , User Questions From: Derek Ragona In-Reply-To: <45F1BF10.7040109@skoberne.net> References: <45F1BF10.7040109@skoberne.net> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: FreeBSD on IDE Flash disk drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 21:24:09 -0000 You will want the swap to some other device such a a regular hard drive. A flash drive can get worn out cells and fail. -Derek At 02:09 PM 3/9/2007, =?ISO-8859-2?Q?Nejc_=A9koberne?= wrote: >Hello, > >I plan to install a FreeBSD 6.2 router/gateway/DHCP server on a EPIA >box with 1GB Transcend IDE Flash drive. Since Transcend says that >this device is capable of "10,000 insertion/removal cycles" I assume >that I must minimize the number of writes to the drive. It is okay >with me if I have to configure syslog to log to another machine. > >Any suggestions/instructions how to achieve this? Any experienced >users regarding this matter? > >Thanks for ideas and help. >Nejc >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. >MailScanner thanks transtec Computers for their support. > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 21:31:58 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 57C7216A402 for ; Fri, 9 Mar 2007 21:31:58 +0000 (UTC) (envelope-from nejc@skoberne.net) Received: from illusion.skoberne.net (illusion.skoberne.net [84.255.205.135]) by mx1.freebsd.org (Postfix) with ESMTP id 10E2813C4A6 for ; Fri, 9 Mar 2007 21:31:57 +0000 (UTC) (envelope-from nejc@skoberne.net) Received: from localhost (unknown [127.0.0.1]) by illusion.skoberne.net (Postfix) with ESMTP id 6F31AB833 for ; Fri, 9 Mar 2007 22:31:58 +0100 (CET) Received: from illusion.skoberne.net ([127.0.0.1]) by localhost (illusion.skoberne.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 39943-06 for ; Fri, 9 Mar 2007 22:31:58 +0100 (CET) Received: from [192.168.10.2] (unknown [192.168.10.2]) by illusion.skoberne.net (Postfix) with ESMTP id 30B3EB82A for ; Fri, 9 Mar 2007 22:31:58 +0100 (CET) Message-ID: <45F1D245.50003@skoberne.net> Date: Fri, 09 Mar 2007 22:31:49 +0100 From: =?windows-1252?Q?Nejc_=8Akoberne?= User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: User Questions References: <45F1BF10.7040109@skoberne.net> <6.0.0.22.2.20070309152230.024d46d0@mail.computinginnovations.com> In-Reply-To: <6.0.0.22.2.20070309152230.024d46d0@mail.computinginnovations.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD on IDE Flash disk drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 21:31:58 -0000 Hello Derek, > You will want the swap to some other device such a a regular hard > drive. A flash drive can get worn out cells and fail. Also when just reading the flash drive? I would like to write to it only when it is absolutely necessary (configuration change). I think 2 million configuration changes should be enough? If it lasts only year, no problem I can exchange it every now and then. I just hope it is more damage-proof than ordinary hard drives (for example at power outages). Bye, Nejc From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 21:48:43 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1E5D116A400 for ; Fri, 9 Mar 2007 21:48:43 +0000 (UTC) (envelope-from dan@dpcsys.com) Received: from ns.beach.net (ns.beach.net [12.130.64.129]) by mx1.freebsd.org (Postfix) with ESMTP id 06D4613C461 for ; Fri, 9 Mar 2007 21:48:41 +0000 (UTC) (envelope-from dan@dpcsys.com) Received: from [192.168.1.228] (busarow.beach.net [69.51.81.91] (may be forged)) by ns.beach.net (8.13.7/8.13.7) with ESMTP id l29Lmf3R028365; Fri, 9 Mar 2007 13:48:41 -0800 (PST) In-Reply-To: <45F1BDC2.8030507@pixelhammer.com> References: <010801c7624c$709ecb80$6501a8c0@GRANT> <200703091640.18154.v.cristescu@lamit.ro> <3CA73050-6661-47A5-976F-07DEB390E133@dpcsys.com> <45F1BDC2.8030507@pixelhammer.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <36B16658-0629-43AC-8871-8544F041108C@dpcsys.com> Content-Transfer-Encoding: 7bit From: Dan Busarow Date: Fri, 9 Mar 2007 14:48:36 -0700 To: DAve X-Mailer: Apple Mail (2.752.2) Cc: "freebsd-questions@freebsd.org Questions -" Subject: Re: zoneinfo FreeBSD 4.4 - 4.11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 21:48:43 -0000 On Mar 9, 2007, at 1:04 PM, DAve wrote: > Dan Busarow wrote: >> On Mar 9, 2007, at 7:40 AM, Vasile Cristescu wrote: >>> On Friday 09 March 2007 15:11, Grant Peel wrote: >>>> Hi all, >>>> >>>> I got all my servers playiung nice with the new port for >>>> zoneinfo, all but >>>> one which is a simple slave nameserver ruynning FreeBSD 4.4. >>>> >>>> When I installed the port on it, and try to run make, I get this: >>>> >>>> voyager ROOT /usr/gpeel/zoneinfo > make >>>> zoneinfo-: You need to define PORTNAME and PORTVERSION instead >>>> of PKGNAME. >>>> (This port is too old for your bsd.port.mk, please update it to >>>> match >>>> your bsd.port.mk.) >>>> *** Error code 1 >>>> >>>> Stop. >>>> >>>> I have been reading lots about simply updateing the zone file >>>> itself, but >>>> have not been undersztanding what I am seeing. If anyone could >>>> simplify, I >>>> would appreciate it. >>>> >> Grant, >> Search for an email I sent to the list on 2/22 with Subject >> Determining daylight savings changes on BSD >> It has the steps needed to update manually from source. >> Here's the steps >> If you can't use the ports to update your time zone files here is >> the manual procedure. >> 1. create a new directory and cd into it >> e.g. # mkdir myzoneinfo; cd myzoneinfo >> 2. # fetch ftp://elsie.nci.nih.gov/pub/tzdata2007b.tar.gz >> 3. # tar -zxvf tzdata2007b.tar.gz >> 4. you will now have a bunch of files in the directory extracted >> from tzdata2007b. >> you need to edit zone.tab and comment out these lines >> #AX +6006+01957 Europe/Mariehamn >> #GG +4927-00232 Europe/Guernsey >> #IM +5409-00428 Europe/Isle_of_Man >> #JE +4912-00207 Europe/Jersey >> #ME +4226+01916 Europe/Podgorica >> #RS +4450+02030 Europe/Belgrade >> #TL -0833+12535 Asia/Dili >> 5. run this command >> # zic -d ./zoneinfo -p America/Los_Angeles -m 0644 -y ./ >> yearistype \ >> africa antarctica asia australasia etcetera europe \ >> factory northamerica southamerica systemv >> that's all one long line >> the zic command will create a new directory named zoneinfo and >> fill it with the new zoneinfo files. You can compare it to >> /usr/share/zoneinfo >> 6. install the new files by running >> # cp -R -p ./zoneinfo/ /usr/share/zoneinfo >> # cp ./zone.tab /usr/share/zoneinfo >> # tzsetup >> 7. to verify that all went well run >> # zdump -v /etc/localtime | grep 2007 >> your should get >> /etc/localtime Sun Mar 11 09:59:59 2007 UTC = Sun Mar 11 01:59:59 >> 2007 PST isdst=0 gmtoff=-28800 >> /etc/localtime Sun Mar 11 10:00:00 2007 UTC = Sun Mar 11 03:00:00 >> 2007 PDT isdst=1 gmtoff=-25200 >> /etc/localtime Sun Nov 4 08:59:59 2007 UTC = Sun Nov 4 01:59:59 >> 2007 PDT isdst=1 gmtoff=-25200 >> /etc/localtime Sun Nov 4 09:00:00 2007 UTC = Sun Nov 4 01:00:00 >> 2007 PST isdst=0 gmtoff=-28800 >> I've done this on 1/2 dozen older 4.x and 5.x servers and it works >> fine. > > Just a heads up, that file is now tzdata2007c.tar.gz, created on > Feb 26th. At least I couldn't grab tzdata2007b.tar.gz anymore. Thanks for cathing and posting that Dave. It is indeed supposed to be tzdata2007c.tar.gz Dan From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 21:52:59 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 357A216A401 for ; Fri, 9 Mar 2007 21:52:59 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.232]) by mx1.freebsd.org (Postfix) with ESMTP id E59AC13C428 for ; Fri, 9 Mar 2007 21:52:58 +0000 (UTC) (envelope-from modulok@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so922727wxc for ; Fri, 09 Mar 2007 13:52:58 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jpFoE7tN1IR0se+xzm8C4FADhB78mWWIma2gTG8m5rBZgitQh4eU4lSgPwgf+Ojbpxcg7+Oqjg/UvzWfHmm/KSUisoXUya7U/Oq0ZNKiViDedqOu04dIowJS3Sl14V28GQMTHn6ovZJitY8wfTucAyOiEofDwlc0DyNitx1IkhM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gazUiQ3vqsEqqnZetLGlcjEE/p6Ns3H5egq/sP9TLAMGr+IRxPP1NhKSa509RT10jTbf4okUU+jIXAOodB+syEV+p1mVZes4AEFAdIVK3WMhBdQVaLe4V/15nhwTRvZYmFFHZxveZ7zJaGqWWTCXxmbkw5t5ZYXg9vj95AyltSo= Received: by 10.70.77.2 with SMTP id z2mr3796676wxa.1173477177909; Fri, 09 Mar 2007 13:52:57 -0800 (PST) Received: by 10.100.198.6 with HTTP; Fri, 9 Mar 2007 13:52:57 -0800 (PST) Message-ID: <64c038660703091352u7d8e498eq8049b78a34933555@mail.gmail.com> Date: Fri, 9 Mar 2007 14:52:57 -0700 From: Modulok To: "Nikos Vassiliadis" In-Reply-To: <200703091608.47529.nvass@teledomenet.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <64c038660703080349t3311fa22lf8e6ba736db330ed@mail.gmail.com> <200703091139.51272.nvass@teledomenet.gr> <64c038660703090528k6974a8c3odf87e4d8a3b368c9@mail.gmail.com> <200703091608.47529.nvass@teledomenet.gr> Cc: freebsd-questions@freebsd.org Subject: Re: Kill a hanged disk i/o process... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 21:52:59 -0000 ...alright then... "How do I work-around a situation where cp, hangs forever?" -Modulok- On 3/9/07, Nikos Vassiliadis wrote: > On Friday 09 March 2007 15:28, Modulok wrote: > > Thank you for your reply, it was quite informative and very much > > appreciated, but the underlying question remains un-answered: > > > > How do you kill a hanged process that (seemingly) cannot be killed because > > of the two conditions below? > > > > -It's hanged, so it's not ever going to self terminate. > > -It's a disk i/o process so not even root can kill it. > > > > As I said before disk I/O is irrelevant. > > > The gentle shutdown solution doesn't work: Even during shutdown the > process > > cannot be killed: it's hanged, it's disk i/o. > > > > How do you kill an un-killable process? > > What makes you believe there is another official way > to kill a process? > > Perhaps you should ask "How do I work-around a situation > where my rm, cp, whatever hang forever?", if that's what > you are looking for. > > > -Modulok- > > > > > > On 3/9/07, Nikos Vassiliadis wrote: > > > > > > On Thursday 08 March 2007 13:49, Modulok wrote: > > > > To the best of my knowledge, most processes can be killed explicitly > > > > by "kill -s KILL;" There are a few which cannot, such as disk i/o > > > > processes. The idea here is data integrity. > > > > > > A process might be in cannot-be-killed condition while > > > in kernel e.g. during a system call. That has to do with > > > the completion of the system call, not with data integrity. > > > The kernel tries to complete what was asked for. > > > > > > Also, Killing a process with SIGKILL is far from safe. To put > > > it in another way "data integrity" can be guaranteed only > > > by the program itself. For example it could have a defined > > > behavior when it is signaled by e.g. SIGTERM, for example > > > clean up data and exit. Or not. It's up to the programmer. > > > Sending a SIGKILL will not give that chance. SIGKILL can > > > not be handled. It will be terminated as soon as possible. > > > > > > Also, separate the meanings "data integrity" and "filesystem > > > data integrity". The filesystem will be in fine condition when > > > a process gets killed by SIGKILL during file I/O, the data in > > > the file most probably not. > > > > > > > > > > > On the rare occasion however, (when attempting to recover data from > > > > corrupt disks for example), I've had a process invoked by the "cp" > > > > command, hang. This poses a significant problem as these processes are > > > > disk i/o processes, and as such cannot be terminated (even by root). > > > > So, other than physically hitting the reset button on the case, is > > > > there a more eloquent method of forcefully halting a hanged disk i/o > > > > process? The idea of "you don't want to terminate a disk i/o process, > > > > it could corrupt the data" isn't really a good argument, because if > > > > the process hangs and I have to punch the reset button anyway what's > > > > the difference? > > > > > > "Pressing the button" will leave your filesystem in a undefined state, > > > you are risking filesystem integrity. Keep in mind that while in use > > > (open files etc) a filesystem cannot be unmounted. Anyway, try to shut > > > the computer down, it's far more gentle than pressing the button. At > > > least the rest of the filesystems will be cleanly unmounted. > > > > > > Is there something in particular you want to achieve? > > > > > > Nikos > > > > > > From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 21:56:12 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0E7D216A402 for ; Fri, 9 Mar 2007 21:56:12 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr10.xs4all.nl (smtp-vbr10.xs4all.nl [194.109.24.30]) by mx1.freebsd.org (Postfix) with ESMTP id 8536213C47E for ; Fri, 9 Mar 2007 21:56:11 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr10.xs4all.nl (8.13.8/8.13.8) with ESMTP id l29Lu9BQ065320; Fri, 9 Mar 2007 22:56:10 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 2182BB82D; Fri, 9 Mar 2007 22:56:09 +0100 (CET) Date: Fri, 9 Mar 2007 22:56:09 +0100 From: Roland Smith To: Milan Knizek Message-ID: <20070309215608.GA6874@slackbox.xs4all.nl> Mail-Followup-To: Milan Knizek , freebsd-questions@freebsd.org References: <200703092025.34406.knizek@volny.cz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline In-Reply-To: <200703092025.34406.knizek@volny.cz> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.14 (2007-02-12) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Epson P2100 parallel port mode X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 21:56:12 -0000 --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 09, 2007 at 08:25:34PM +0100, Milan Knizek wrote: > A search on google revealed that it is possible to switch the port mode= =20 > to "extended polling" by command "lptcontrol -e -d /dev/lpt0". Then, the= =20 > printer worked normally. >=20 > "ltpcontrol" supports only connected (and powered on) printers, which is= =20 > usually not the case during boot, and it must be run with root privileges. >=20 > My question: how do I set the default port mode to "extended polling" ins= tead=20 > of "iterrupt driven" during the boot process? You have to add the setting to /boot/device.hints. See=20 http://www.xs4all.nl/~rsmith/freebsd/#parport Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --lrZ03NoBR/3+SXJZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFF8df4EnfvsMMhpyURAkgMAJ0drYz4piPCpQj4a60gqeH9WLEwngCfV/1A lrufs7j0cL+cliJjnNKTX+Q= =nEso -----END PGP SIGNATURE----- --lrZ03NoBR/3+SXJZ-- From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 22:10:55 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3759A16A401 for ; Fri, 9 Mar 2007 22:10:55 +0000 (UTC) (envelope-from freebsd@untoldfaith.com) Received: from mail.redinsight.com (h-68-165-100-2.dnvtco56.covad.net [68.165.100.2]) by mx1.freebsd.org (Postfix) with ESMTP id CF8E613C442 for ; Fri, 9 Mar 2007 22:10:54 +0000 (UTC) (envelope-from freebsd@untoldfaith.com) Received: from [192.168.31.19] by mail.redinsight.com (Merak 8.9.1) with ASMTP (SSL) id OZT68754 for ; Fri, 09 Mar 2007 15:10:54 -0700 Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: <193E69CC-98DA-49B1-B89F-3DC47EE92FFF@untoldfaith.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-questions@freebsd.org From: Troy Schultz Date: Fri, 9 Mar 2007 15:11:03 -0700 X-Mailer: Apple Mail (2.752.3) X-Spam: Bypass=TO Subject: Mounting into a jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 22:10:55 -0000 Hello, I am running FreeBSD 6.2. I am currently mounting a smb share and then remounting the smb mount into a jail with nullfs. /etc/fstab # smbfs mount //@/ /path/to/smb/mount smbfs rw 0 0 # local mount /path/to/smb/mount /path/to/jail/directory nullfs rw,late 0 0 The main reason I am using this jail is for a webserver and I need to have the web developer be able to write to this samba share I originally tried mounting in fstab the smb share like this //@/ /path/to/smb/mount smbfs rw,uid=www 0 0 however, this did not work so I ended up making the share point owned by the user and group www this took care of it but I was wondering if there was a better way to do this as far as passing through to a jail and maybe getting the uid to actually work from within the fstab file. Any suggestions would be welcomed. Thanks, Troy From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 22:19:35 2007 Return-Path: X-Original-To: FreeBSD-questions@FreeBSD.org Delivered-To: FreeBSD-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 446B016A405 for ; Fri, 9 Mar 2007 22:19:35 +0000 (UTC) (envelope-from chris@hier7.com) Received: from smtp106.rog.mail.re2.yahoo.com (smtp106.rog.mail.re2.yahoo.com [68.142.225.204]) by mx1.freebsd.org (Postfix) with SMTP id D6E0013C4AA for ; Fri, 9 Mar 2007 22:19:34 +0000 (UTC) (envelope-from chris@hier7.com) Received: (qmail 64934 invoked from network); 9 Mar 2007 22:19:34 -0000 Received: from unknown (HELO ?74.109.57.209?) (cms.kw@rogers.com@74.109.57.209 with plain) by smtp106.rog.mail.re2.yahoo.com with SMTP; 9 Mar 2007 22:19:34 -0000 X-YMail-OSG: ltjKGugVM1klhke8zCGqoDIzPk59d8iJMDUdT8gWPp5f6pybvPtOI_YGpVDMi2wLHw-- Message-ID: <45F1DD77.6070706@hier7.com> Date: Fri, 09 Mar 2007 17:19:35 -0500 From: Chris Slothouber Organization: hier7 User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: FreeBSD-questions@FreeBSD.org References: <003301c7628d$3bae2dd0$4a074c0a@andypc2> In-Reply-To: <003301c7628d$3bae2dd0$4a074c0a@andypc2> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Custom scripts files locations? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 22:19:35 -0000 Dependent on the type of script, I would usually use /usr/local/bin See hier(7) in the man pages. Andy Kendall wrote: > Where should I put any scripts I write or use for the use of all system > users please? For example in the FreeBSD Manual in section 9.4.3.2 there's a > script for Network Printing; where should this reside please? > > > > Thanks > > > > Andy > > _______________________________________________ > 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 Mar 9 22:35:07 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E50B516A400 for ; Fri, 9 Mar 2007 22:35:07 +0000 (UTC) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (mail.shire.net [166.70.252.250]) by mx1.freebsd.org (Postfix) with ESMTP id CE3FD13C461 for ; Fri, 9 Mar 2007 22:35:07 +0000 (UTC) (envelope-from chad@shire.net) Received: from [67.171.127.191] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.51) id 1HPng3-000LNP-2m; Fri, 09 Mar 2007 15:35:07 -0700 In-Reply-To: <193E69CC-98DA-49B1-B89F-3DC47EE92FFF@untoldfaith.com> References: <193E69CC-98DA-49B1-B89F-3DC47EE92FFF@untoldfaith.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <8A5C195A-78C4-4BBA-91EA-35E03F8E8DC4@shire.net> Content-Transfer-Encoding: 7bit From: "Chad Leigh -- Shire.Net LLC" Date: Fri, 9 Mar 2007 15:35:05 -0700 To: Troy Schultz X-Mailer: Apple Mail (2.752.2) X-SA-Exim-Connect-IP: 67.171.127.191 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false Cc: freebsd-questions@freebsd.org Subject: Re: Mounting into a jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 22:35:08 -0000 On Mar 9, 2007, at 3:11 PM, Troy Schultz wrote: > Hello, > > I am running FreeBSD 6.2. > > I am currently mounting a smb share and then remounting the smb mount > into a jail with nullfs. > > /etc/fstab > # smbfs mount > //@/ /path/to/smb/mount smbfs rw 0 0 > # local mount > /path/to/smb/mount /path/to/jail/directory nullfs rw,late 0 0 > > The main reason I am using this jail is for a webserver and I need > to have > the web developer be able to write to this samba share > > I originally tried mounting in fstab the smb share like this > //@/ /path/to/smb/mount smbfs rw,uid=www 0 0 > however, this did not work so I ended up making the share point > owned by the > user and group www this took care of it but I was wondering if > there was a > better way to do this as far as passing through to a jail and maybe > getting > the uid to actually work from within the fstab file. > > Any suggestions would be welcomed. I don't do this with smb but do do it with nfs. I don't know about uid with smb but I just mount it on the base server inside the jails path. Add the UID with no login capability to the base machine password file and then you can probably set uid in the base server as well. Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 22:35:38 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8424416A401 for ; Fri, 9 Mar 2007 22:35:38 +0000 (UTC) (envelope-from mailing_list@planet.nl) Received: from smtp14.wxs.nl (smtp14.wxs.nl [195.121.247.5]) by mx1.freebsd.org (Postfix) with ESMTP id 4BC0D13C471 for ; Fri, 9 Mar 2007 22:35:38 +0000 (UTC) (envelope-from mailing_list@planet.nl) Received: from [192.168.0.141] ([80.60.30.253]) by smtp14.wxs.nl (iPlanet Messaging Server 5.2 HotFix 2.15 (built Nov 14 2006)) with ESMTP id <0JEN00244QRCN4@smtp14.wxs.nl> for freebsd-questions@freebsd.org; Fri, 09 Mar 2007 23:35:37 +0100 (CET) Date: Fri, 09 Mar 2007 23:35:36 +0100 From: Aniruddha In-reply-to: <45F19149.80205@unsane.co.uk> To: Vince Message-id: <45F1E138.5030601@planet.nl> MIME-version: 1.0 User-Agent: Thunderbird 1.5.0.10 (X11/20070303) References: <0740B9A6C3639441850D84E94767945C02EAAC23@DMM00038.link2.gpn.gov.uk> <45F18BE6.5050206@unsane.co.uk> <45F1906D.3030301@planet.nl> <45F19149.80205@unsane.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Harrison Peter CSA BIRKENHEAD , freebsd-questions@freebsd.org Subject: Re: Help needed syncing Palm Treo 650 with FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 22:35:38 -0000 Vince wrote: > Aniruddha wrote: > >> Vince wrote: >> >>> for devfs.rules add something like >>> [system=10] >>> add path 'ttyU*' mode 0666 >>> >>> to /etc/devfs.rules >>> >>> you also need to add >>> devfs_system_ruleset="system" >>> >>> to rc.conf >>> >>> >>> Vince >>> >>> >>> >> Ok I will try that :-) >> > Oh i forgot to mention you will have to restart devfs afterwards, > /etc/rc.d/devfs restart > > Vince > > Ehm I can't find /etc/devfs.rules: ls /etc/ | grep dev devd.conf devfs.conf From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 22:53:59 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9A7BB16A401 for ; Fri, 9 Mar 2007 22:53:59 +0000 (UTC) (envelope-from chris@hier7.com) Received: from smtp104.rog.mail.re2.yahoo.com (smtp104.rog.mail.re2.yahoo.com [206.190.36.82]) by mx1.freebsd.org (Postfix) with SMTP id 3BC7C13C428 for ; Fri, 9 Mar 2007 22:53:59 +0000 (UTC) (envelope-from chris@hier7.com) Received: (qmail 21698 invoked from network); 9 Mar 2007 22:53:58 -0000 Received: from unknown (HELO ?74.109.57.209?) (cms.kw@rogers.com@74.109.57.209 with plain) by smtp104.rog.mail.re2.yahoo.com with SMTP; 9 Mar 2007 22:53:58 -0000 X-YMail-OSG: AbvzTWkVM1kcncoYp3T3HWWh4DQ_RcgqWrZs3U1rXIjd7vBp.5kFDsnfbVbSvrKtSg-- Message-ID: <45F1E583.9050909@hier7.com> Date: Fri, 09 Mar 2007 17:53:55 -0500 From: Chris Slothouber Organization: hier7 User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: User Questions References: <0740B9A6C3639441850D84E94767945C02EAAC23@DMM00038.link2.gpn.gov.uk> <45F18BE6.5050206@unsane.co.uk> <45F1906D.3030301@planet.nl> <45F19149.80205@unsane.co.uk> <45F1E138.5030601@planet.nl> In-Reply-To: <45F1E138.5030601@planet.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Help needed syncing Palm Treo 650 with FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 22:53:59 -0000 Check out /etc/defaults/devfs.rules Aniruddha wrote: > Vince wrote: >> Aniruddha wrote: >> >>> Vince wrote: >>> >>>> for devfs.rules add something like >>>> [system=10] >>>> add path 'ttyU*' mode 0666 >>>> >>>> to /etc/devfs.rules >>>> >>>> you also need to add >>>> devfs_system_ruleset="system" >>>> >>>> to rc.conf >>>> >>>> >>>> Vince >>>> >>>> >>> Ok I will try that :-) >>> >> Oh i forgot to mention you will have to restart devfs afterwards, >> /etc/rc.d/devfs restart >> >> Vince >> >> > Ehm I can't find /etc/devfs.rules: > > ls /etc/ | grep dev > devd.conf > devfs.conf > > > > > _______________________________________________ > 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 Mar 9 23:55:51 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D07E116A401 for ; Fri, 9 Mar 2007 23:55:51 +0000 (UTC) (envelope-from mailing_list@planet.nl) Received: from psmtp09.wxs.nl (psmtp09.wxs.nl [195.121.247.23]) by mx1.freebsd.org (Postfix) with ESMTP id 721C513C474 for ; Fri, 9 Mar 2007 23:55:51 +0000 (UTC) (envelope-from mailing_list@planet.nl) Received: from [192.168.0.141] ([80.60.30.253]) by psmtp09.wxs.nl (iPlanet Messaging Server 5.2 HotFix 2.15 (built Nov 14 2006)) with ESMTP id <0JEN00BGJUGXKR@psmtp09.wxs.nl> for freebsd-questions@freebsd.org; Sat, 10 Mar 2007 00:55:46 +0100 (MET) Date: Sat, 10 Mar 2007 00:55:45 +0100 From: Aniruddha In-reply-to: <45F1E583.9050909@hier7.com> To: Chris Slothouber Message-id: <45F1F401.3030705@planet.nl> MIME-version: 1.0 User-Agent: Thunderbird 1.5.0.10 (X11/20070303) References: <0740B9A6C3639441850D84E94767945C02EAAC23@DMM00038.link2.gpn.gov.uk> <45F18BE6.5050206@unsane.co.uk> <45F1906D.3030301@planet.nl> <45F19149.80205@unsane.co.uk> <45F1E138.5030601@planet.nl> <45F1E583.9050909@hier7.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: User Questions Subject: Re: Help needed syncing Palm Treo 650 with FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 23:55:51 -0000 Chris Slothouber wrote: > Check out /etc/defaults/devfs.rules > > Thanks at least now I found devfs.rules :-) . I adjusted it accordingly (and /etc/rc.conf) but still my Palm refuses to sync. Maybe this error message reveals something: # /etc/rc.d/devfs restart /etc/rc.d/devfs: WARNING: devfs_set_ruleset: you must specify a ruleset number /etc/rc.d/devfs: WARNING: devfs_apply_ruleset: you must specify a ruleset *Part of devfs.rules which I edited:* # Devices typically needed to support logged-in users. # Requires: devfsrules_hide_all # [devfsrules_unhide_login=3] add path 'ptyp*' unhide add path 'ptyq*' unhide add path 'ptyr*' unhide add path 'ptys*' unhide add path 'ptyP*' unhide add path 'ptyQ*' unhide add path 'ptyR*' unhide add path 'ptyS*' unhide add path 'ttyp*' unhide add path 'ttyq*' unhide add path 'ttyr*' unhide add path 'ttys*' unhide add path 'ttyP*' unhide add path 'ttyQ*' unhide add path 'ttyR*' unhide add path 'ttyS*' unhide add path fd unhide add path 'fd/*' unhide add path stdin unhide add path stdout unhide add path stderr unhide add path 'ttyU*' mode 0666 * My changes to /etc/rc.conf* # -- sysinstall generated deltas -- # Thu Mar 8 17:55:42 2007 # Created: Thu Mar 8 17:55:42 2007 # 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. hostname="freebsd.lan" ifconfig_sk0="DHCP" inetd_enable="NO" ipv6_enable="YES" keymap="us.iso" linux_enable="YES" sshd_enable="YES" usbd_enable="YES" devfs_system_ruleset="system" From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 00:49:02 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2BD0C16A404 for ; Sat, 10 Mar 2007 00:49:02 +0000 (UTC) (envelope-from ml@t-b-o-h.net) Received: from vjofn.tucs-beachin-obx-house.com (vjofn.tucs-beachin-obx-house.com [204.107.90.128]) by mx1.freebsd.org (Postfix) with ESMTP id E286213C461 for ; Sat, 10 Mar 2007 00:49:01 +0000 (UTC) (envelope-from ml@t-b-o-h.net) Received: from himinbjorg.tucs-beachin-obx-house.com (cpe-68-175-10-8.hvc.res.rr.com [68.175.10.8]) (authenticated bits=0) by vjofn.tucs-beachin-obx-house.com (8.12.9/8.12.9) with ESMTP id l2A0n0bR099234; Fri, 9 Mar 2007 19:49:00 -0500 (EST) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1]) by himinbjorg.tucs-beachin-obx-house.com (8.13.8/8.13.6) with ESMTP id l2A0mtvR037366; Fri, 9 Mar 2007 19:48:55 -0500 (EST) (envelope-from ml@t-b-o-h.net) Received: (from tbohml@localhost) by himinbjorg.tucs-beachin-obx-house.com (8.13.8/8.13.6/Submit) id l2A0mspw037365; Fri, 9 Mar 2007 19:48:54 -0500 (EST) (envelope-from tbohml) From: "Tuc at T-B-O-H.NET" Message-Id: <200703100048.l2A0mspw037365@himinbjorg.tucs-beachin-obx-house.com> To: nejc@skoberne.net (=?windows-1252?Q?Nejc_=8Akoberne?=) Date: Fri, 9 Mar 2007 19:48:54 -0500 (EST) In-Reply-To: <45F1D245.50003@skoberne.net> X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: User Questions Subject: Re: FreeBSD on IDE Flash disk drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 00:49:02 -0000 > > Hello Derek, > > > You will want the swap to some other device such a a regular hard > > drive. A flash drive can get worn out cells and fail. > > Also when just reading the flash drive? I would like to write to it > only when it is absolutely necessary (configuration change). I think > 2 million configuration changes should be enough? If it lasts only year, > no problem I can exchange it every now and then. I just hope it is more > damage-proof than ordinary hard drives (for example at power outages). > > Bye, > Nejc > The answer is.... NO... (IMNSHO) I have a few Soekris servers running FreeBSD 5.5 at a *REMOTE* location (When I say remote, I don't mean the next city, or next state, or even a few states away... I mean a few states away *AND* you need a 4WD to drive 9 miles to get to it. Its ~500 feet from the Atlantic Ocean in an area without any paved roads). I have CF cards in them for the primary, the more durable/rugged of the SanDisk line and USB for swap/ports/squid data. It is *STILL* only rated for about 10K R/W operations. I also find when the facility DOES lose power (We are still building it out) that the CF and USB seem MUCH MORE prone to having issues coming back. I had thought to use CF/USB because they wouldn't crash and be more tolerant of "bad" conditions (heat and salt air humidity). I'm pretty much giving up and switching to notebook IDE drives the next time I am there. Tuc From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 01:32:18 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E83F516A408 for ; Sat, 10 Mar 2007 01:32:18 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 9DE9913C4C6 for ; Sat, 10 Mar 2007 01:32:17 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.13.8/8.13.8) with ESMTP id l2A1WGwn027741; Fri, 9 Mar 2007 18:32:16 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.13.8/8.13.8/Submit) with ESMTP id l2A1WGoL027738; Fri, 9 Mar 2007 18:32:16 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Fri, 9 Mar 2007 18:32:16 -0700 (MST) From: Warren Block To: =?ISO-8859-2?Q?Nejc_=A9koberne?= In-Reply-To: <45F1C2FC.4080201@skoberne.net> Message-ID: <20070309182513.V27680@wonkity.com> References: <45F1BF10.7040109@skoberne.net> <45F1C2FC.4080201@skoberne.net> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-189327284-1173490336=:27680" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (wonkity.com [127.0.0.1]); Fri, 09 Mar 2007 18:32:16 -0700 (MST) Cc: User Questions Subject: Re: FreeBSD on IDE Flash disk drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 01:32:19 -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-189327284-1173490336=:27680 Content-Type: TEXT/PLAIN; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Fri, 9 Mar 2007, Nejc =A9koberne wrote: > Sorry for replying my own post, but now I fould out that this actually > means how many times can I insert/remove the module into/from the > motherboard. Actually the number I am interested in is much higher: > "2,000,000 Program/Erase cycles". However I have no idea how to measure > how many writes are performed during a normal operation of a FreeBSD > server running DHCP and pf firewall. m0n0wall gets around this by running out of RAM after booting from=20 flash (or CD, or hard disk): http://m0n0.ch/wall/ pfSense is a variation of m0n0wall that uses pf for the firewall: http://www.pfsense.org Both of these provide DHCP and firewalls. m0n0wall uses IPFW, while=20 pfSense uses pf. -Warren Block * Rapid City, South Dakota USA --0-189327284-1173490336=:27680-- From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 01:42:56 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 96AE116A402 for ; Sat, 10 Mar 2007 01:42:56 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 6511C13C481 for ; Sat, 10 Mar 2007 01:42:56 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.13.8/8.13.8) with ESMTP id l2A1gtqc027818; Fri, 9 Mar 2007 18:42:55 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.13.8/8.13.8/Submit) with ESMTP id l2A1gtLc027815; Fri, 9 Mar 2007 18:42:55 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Fri, 9 Mar 2007 18:42:55 -0700 (MST) From: Warren Block To: Andy Kendall In-Reply-To: <003301c7628d$3bae2dd0$4a074c0a@andypc2> Message-ID: <20070309183638.G27680@wonkity.com> References: <003301c7628d$3bae2dd0$4a074c0a@andypc2> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (wonkity.com [127.0.0.1]); Fri, 09 Mar 2007 18:42:55 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: Custom scripts files locations? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 01:42:56 -0000 On Fri, 9 Mar 2007, Andy Kendall wrote: > Where should I put any scripts I write or use for the use of all system > users please? Depends on what they're for; 'man hier' describes the general rules. > For example in the FreeBSD Manual in section 9.4.3.2 there's a script > for Network Printing; where should this reside please? The print filter scripts shown there are placed in /usr/local/libexec. They're not really general-purpose scripts, but for the use of lpd. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 01:56:42 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6235816A403 for ; Sat, 10 Mar 2007 01:56:42 +0000 (UTC) (envelope-from nejc@skoberne.net) Received: from illusion.skoberne.net (illusion.skoberne.net [84.255.205.135]) by mx1.freebsd.org (Postfix) with ESMTP id 1AF1013C491 for ; Sat, 10 Mar 2007 01:56:42 +0000 (UTC) (envelope-from nejc@skoberne.net) Received: from localhost (unknown [127.0.0.1]) by illusion.skoberne.net (Postfix) with ESMTP id 3E167B830 for ; Sat, 10 Mar 2007 02:56:43 +0100 (CET) Received: from illusion.skoberne.net ([127.0.0.1]) by localhost (illusion.skoberne.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 53677-01 for ; Sat, 10 Mar 2007 02:56:42 +0100 (CET) Received: from [192.168.10.2] (unknown [192.168.10.2]) by illusion.skoberne.net (Postfix) with ESMTP id 9E956B82A for ; Sat, 10 Mar 2007 02:56:42 +0100 (CET) Message-ID: <45F2104F.7090304@skoberne.net> Date: Sat, 10 Mar 2007 02:56:31 +0100 From: =?ISO-8859-2?Q?Nejc_=A9koberne?= User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: User Questions References: <45F1BF10.7040109@skoberne.net> <45F1C2FC.4080201@skoberne.net> <20070309182513.V27680@wonkity.com> In-Reply-To: <20070309182513.V27680@wonkity.com> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD on IDE Flash disk drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 01:56:42 -0000 Hi, > m0n0wall gets around this by running out of RAM after booting from flash > (or CD, or hard disk): Yes, I know both m0n0wall and pfSense, but I prefer a custom FreeBSD installation since I have developed some custom scripts which I would like to use. This is what I am trying to do now - booting the system from flash IDE drive, creating mfs filesystems for /tmp and /var (just enabling them in rc.conf) and mounting all the partitions read-only. And of course I configured syslog to log to some remote host. So when I need to make a configuration change (rc.conf, dhcpd.conf), I just remount / or /usr read-write temporariliy, make the change and then remount back to read-only. This way, I guess, there will be minimal writes to the drive. Now I plan to do some power outage testing. Will let you know. Thanks to all of you, Nejc From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 01:56:51 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 329B616A402 for ; Sat, 10 Mar 2007 01:56:51 +0000 (UTC) (envelope-from bconway@clue4all.net) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.192.81]) by mx1.freebsd.org (Postfix) with ESMTP id 211BB13C46B for ; Sat, 10 Mar 2007 01:56:51 +0000 (UTC) (envelope-from bconway@clue4all.net) Received: from ladyluck.clue4all.net (failure[24.63.37.229]) by comcast.net (rwcrmhc11) with ESMTP id <20070310014533m11009p1vre>; Sat, 10 Mar 2007 01:45:34 +0000 Received: from ladyluck.clue4all.net (localhost.localdomain [127.0.0.1]) by ladyluck.clue4all.net (Postfix) with SMTP id 2EEA92D4118 for ; Fri, 9 Mar 2007 20:45:23 -0500 (EST) Date: Fri, 9 Mar 2007 20:45:23 -0500 From: "Brian J. Conway" To: freebsd-questions@freebsd.org Message-Id: <20070309204523.4f5aef8b.bconway@clue4all.net> Organization: Clue 4 All, Inc. X-Mailer: Sylpheed version 1.0.5 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Periodic xl watchdog timeouts on 6.2-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 01:56:51 -0000 I'm trying to track down a watchdog timeout that shows on average once a day, usually at a random time when idle. The system has two 3c905C NICs and does ipfw+natd duty with a couple services, and spends most of its time idle, both CPU and bandwidth-wise. Nothing out of the ordinary happens when saturating my cable connection at ~8 Mbps, be it with HTTP or 100+ BitTorrent connections. However, I'll randomly see in the logs during quieter times: Mar 10 00:04:46 imogen kernel: xl0: watchdog timeout Mar 10 00:04:46 imogen kernel: xl0: link state changed to DOWN Mar 10 00:04:48 imogen kernel: xl0: link state changed to UP It happens on either interface and doesn't cause any problems (so far), the interface always comes back up. I tried swapping a 3rd 3c905C of a slightly older revision for one of them, and the messages still showed up periodically on either. The same hardware ran without any issues or timeouts on 4.11, and is currently running 6.2-RELEASE plus security updates. Kernel is GENERIC with a few unneeded items taken out. Onboard EEPro and sound are disabled in the BIOS. I've also swapped out the ethernet cables for kicks, no change. Pciconf (cards at the end) and dmesg are below. Any ideas would be great, thanks. $ pciconf -lv hostb0@pci0:0:0: class=0x060000 card=0x25608086 chip=0x25608086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82845G/GL/GV/GE/PE DRAM Controller / Host-Hub I/F Bridge' class = bridge subclass = HOST-PCI none0@pci0:2:0: class=0x030000 card=0x56418086 chip=0x25628086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82845G/GL/GV/GE/PE Integrated Graphics Device' class = display subclass = VGA none1@pci0:29:0: class=0x0c0300 card=0x56418086 chip=0x24c28086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller' class = serial bus subclass = USB none2@pci0:29:1: class=0x0c0300 card=0x56418086 chip=0x24c48086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller' class = serial bus subclass = USB none3@pci0:29:2: class=0x0c0300 card=0x56418086 chip=0x24c78086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller' class = serial bus subclass = USB none4@pci0:29:7: class=0x0c0320 card=0x56418086 chip=0x24cd8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB 2.0 EHCI Controller' class = serial bus subclass = USB pcib1@pci0:30:0: class=0x060400 card=0x00000000 chip=0x244e8086 rev=0x81 hdr=0x01 vendor = 'Intel Corporation' device = '82801BA/CA/DB/DBL/EB/ER/FB (ICH2/3/4/4/5/5/6), 6300ESB Hub Interface to PCI Bridge' class = bridge subclass = PCI-PCI isab0@pci0:31:0: class=0x060100 card=0x00000000 chip=0x24c08086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge' class = bridge subclass = PCI-ISA atapci0@pci0:31:1: class=0x01018a card=0x56418086 chip=0x24cb8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL (ICH4/ICH4-L) UltraATA/100 EIDE Controller' class = mass storage subclass = ATA none5@pci0:31:3: class=0x0c0500 card=0x56418086 chip=0x24c38086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller' class = serial bus subclass = SMBus xl0@pci1:0:0: class=0x020000 card=0x100010b7 chip=0x920010b7 rev=0x78 hdr=0x00 vendor = '3COM Corp, Networking Division' device = '3C905C-TX Fast EtherLink for PC Management NIC' class = network subclass = ethernet xl1@pci1:1:0: class=0x020000 card=0x100010b7 chip=0x920010b7 rev=0x74 hdr=0x00 vendor = '3COM Corp, Networking Division' device = '3C905C-TX Fast EtherLink for PC Management NIC' class = network subclass = ethernet Copyright (c) 1992-2007 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 6.2-RELEASE-p2 #0: Sun Mar 4 20:49:27 UTC 2007 root@imogen.mydomain.net:/usr/obj/usr/src/sys/IMOGEN-1 ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz (1999.78-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 Features=0x3febfbff real memory = 535035904 (510 MB) avail memory = 518361088 (494 MB) ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 2.0 (no driver attached) pci0: at device 29.0 (no driver attached) pci0: at device 29.1 (no driver attached) pci0: at device 29.2 (no driver attached) pci0: at device 29.7 (no driver attached) pcib1: at device 30.0 on pci0 pci1: on pcib1 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xdc00-0xdc7f mem 0xff8ffc00-0xff8ffc7f irq 21 at device 0.0 on pci1 miibus0: on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:01:03:20:f1:b0 xl1: <3Com 3c905C-TX Fast Etherlink XL> port 0xd880-0xd8ff mem 0xff8ff800-0xff8ff87f irq 22 at device 1.0 on pci1 miibus1: on xl1 xlphy1: <3c905C 10/100 internal PHY> on miibus1 xlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl1: Ethernet address: 00:04:76:8f:e6:4f isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 pci0: at device 31.3 (no driver attached) acpi_button0: on acpi0 fdc0: port 0x3f0-0x3f1,0x3f2-0x3f3,0x3f4-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] orm0: at iomem 0xcb800-0xcbfff,0xcc000-0xcc7ff,0xcc800-0xcd7ff 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 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled Timecounter "TSC" frequency 1999781040 Hz quality 800 Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding enabled, default to deny, logging limited to 500 packets/entry by default ad0: 38146MB at ata0-master UDMA100 acd0: CDROM at ata1-master UDMA33 Trying to mount root from ufs:/dev/ad0s1a Brian J. Conway From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 02:46:27 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2F0ED16A404 for ; Sat, 10 Mar 2007 02:46:27 +0000 (UTC) (envelope-from Roofscum614@aol.com) Received: from imo-d23.mx.aol.com (imo-d23.mx.aol.com [205.188.139.137]) by mx1.freebsd.org (Postfix) with ESMTP id D2A2613C48E for ; Sat, 10 Mar 2007 02:46:26 +0000 (UTC) (envelope-from Roofscum614@aol.com) Received: from Roofscum614@aol.com by imo-d23.mx.aol.com (mail_out_v38_r7.6.) id n.ca7.b43d30c (29679) for ; Fri, 9 Mar 2007 21:36:14 -0500 (EST) From: Roofscum614@aol.com Message-ID: Date: Fri, 9 Mar 2007 21:36:14 EST To: freebsd-questions@FreeBSD.org MIME-Version: 1.0 X-Mailer: 9.0 SE for Windows sub 5036 X-Spam-Flag: NO X-Mailman-Approved-At: Sat, 10 Mar 2007 02:50:05 +0000 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: 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, 10 Mar 2007 02:46:27 -0000 hi i am doing a project for school: find an alternative operating system - one that will run my computer without Windows being installed. The cheaper the better (Hint start your search with the word "free"). Find out what the software does, what applications it supports (e.g., will it run Microsoft Office), how much it costs. does your OS relate to this project? any help would be appreciated. thank you tom gunderman


**************************************
AOL now offers free email to everyone. Find out more about what's free from AOL at http://www.aol.com. From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 04:42:56 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8E81B16A402 for ; Sat, 10 Mar 2007 04:42:56 +0000 (UTC) (envelope-from jon-bsd@comcast.net) Received: from alnrmhc13.comcast.net (alnrmhc13.comcast.net [206.18.177.53]) by mx1.freebsd.org (Postfix) with ESMTP id 6C68013C47E for ; Sat, 10 Mar 2007 04:42:56 +0000 (UTC) (envelope-from jon-bsd@comcast.net) Received: from [24.3.82.205] (c-24-3-82-205.hsd1.pa.comcast.net[24.3.82.205]) by comcast.net (alnrmhc13) with ESMTP id <20070310043204b1300rqt8re>; Sat, 10 Mar 2007 04:32:04 +0000 Message-ID: <45F234B8.7050006@comcast.net> Date: Fri, 09 Mar 2007 23:31:52 -0500 From: Jon Wolfgang User-Agent: Thunderbird 1.5.0.10 (X11/20070306) MIME-Version: 1.0 To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: mounting usb flash drive as user X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 04:42:56 -0000 I am trying to mount a usb flash drive as a user under FreeBSD 6.2-RELEASE. I have followed the steps in the handbook, but it is not quite working. My user account is jon and is a member of the operator group. I have set the vfs.usermount variable to 1. I am trying to mount the drive at /usbdrv. Here is a terminal output. Script started on Fri Mar 9 23:26:53 2007 [jon@charon ~]$ sysctl vfs.usermount vfs.usermount: 1 [jon@charon ~]$ ls -l /dev | grep da0 crw-r----- 1 root operator 0, 163 Mar 9 22:38 da0 crw-rw---- 1 root operator 0, 164 Mar 9 22:38 da0s1 [jon@charon ~]$ ls -l / | grep usbdrv drwxr-xr-x 2 jon jon 512 Mar 7 18:25 usbdrv/ [jon@charon ~]$ mount -t msdos /dev/da0s1 /usbdrv mount_msdosfs: /dev/da0s1: Operation not permitted [jon@charon ~]$ exit Script done on Fri Mar 9 23:27:37 2007 However, if I su to root, and mount and unmount the drive, then the user is able to mount it. This is kind of annoying though. Did I miss a step somewhere? Any suggestions are appreciated. Thanks, Jon From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 04:57:26 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4632216A403 for ; Sat, 10 Mar 2007 04:57:26 +0000 (UTC) (envelope-from jon-bsd@comcast.net) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [63.240.77.82]) by mx1.freebsd.org (Postfix) with ESMTP id 14C4613C46B for ; Sat, 10 Mar 2007 04:57:25 +0000 (UTC) (envelope-from jon-bsd@comcast.net) Received: from [24.3.82.205] (c-24-3-82-205.hsd1.pa.comcast.net[24.3.82.205]) by comcast.net (sccrmhc12) with ESMTP id <2007031004572501200adktle>; Sat, 10 Mar 2007 04:57:25 +0000 Message-ID: <45F23AB3.2030700@comcast.net> Date: Fri, 09 Mar 2007 23:57:23 -0500 From: Jon Wolfgang User-Agent: Thunderbird 1.5.0.10 (X11/20070306) MIME-Version: 1.0 CC: freebsd-questions References: <45F234B8.7050006@comcast.net> In-Reply-To: <45F234B8.7050006@comcast.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: mounting usb flash drive as user [SOLVED] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 04:57:26 -0000 Jon Wolfgang wrote: > Did I miss a step somewhere? Any suggestions are appreciated. As soon as I sent the message I had a moment of clarity! I don't have the msdosfs compiled into the kernel and I don't load it at bootup. The user account couldn't load the module dynamically. By adding the line: msdosfs_load="YES" in /boot/loader.conf, everything works fine. Anyway, thanks for reading! Jon From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 05:17:24 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6F1AF16A404 for ; Sat, 10 Mar 2007 05:17:24 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.187]) by mx1.freebsd.org (Postfix) with ESMTP id 034D313C471 for ; Sat, 10 Mar 2007 05:17:23 +0000 (UTC) (envelope-from illoai@gmail.com) Received: by mu-out-0910.google.com with SMTP id g7so1294499muf for ; Fri, 09 Mar 2007 21:17:23 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MAzPeE7ERXFUakuU/V4TPbaRIz/es0s1WV4KzFRIsiMK23EsjssqK/S/ZoWm18JOvXmeooA3TFqswg9DURMSQDOCo0VWbZohNErVLxm0Lc3ZhVRH1B1RbZYRuInUrg0UJMJA+hWu3NuyyIS/7qcG66PraqRao+UpL6wZqkJvDuc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qfTf7FHuROKDPrDqW6nbCLGFuawa1QyPBucsG16f8evxpmBYToq1lTpJ0GeyqwAL3VaAHyZlY6Gk+FEndUROGFfOGtxM9QkMMqrTUlmqI27UWAXxVvFTp0cWpsk1LNuR5thG4bsGH2P6/zqYvXdusnG5hjPrUa3IPOZOOOOQtns= Received: by 10.82.155.10 with SMTP id c10mr4174832bue.1173503842962; Fri, 09 Mar 2007 21:17:22 -0800 (PST) Received: by 10.82.176.4 with HTTP; Fri, 9 Mar 2007 21:17:22 -0800 (PST) Message-ID: Date: Fri, 9 Mar 2007 23:17:22 -0600 From: "illoai@gmail.com" To: "Roofscum614@aol.com" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-questions@freebsd.org Subject: Re: 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, 10 Mar 2007 05:17:24 -0000 On 09/03/07, Roofscum614@aol.com wrote: > hi i am doing a project for school: > > find an alternative operating system - one that will run my computer > without Windows being installed. The cheaper the better (Hint start your > search with the word "free"). Find out what the software does, what > applications it supports (e.g., will it run Microsoft Office), how much it > costs. > > > does your OS relate to this project? any help would be appreciated. > FreeBSD probably does relate to your project. It costs time and effort. It supports a few applications. ( http://www.freebsd.org/ports/categories-alpha.html ) In essence, "the software" allows a human (bark recognition software might be in the works somewhere, I do not know) to use the machine within the constraints of a certain set of the universe of possibilities. In other words, it can help you process text. It probably is of no use if you wish to drive nails into sheet- rock with the machine. -- -- From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 05:36:50 2007 Return-Path: X-Original-To: freebsd-questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9A58F16A400 for ; Sat, 10 Mar 2007 05:36:50 +0000 (UTC) (envelope-from paulette_mcgee@yahoo.com) Received: from web62303.mail.re1.yahoo.com (web62303.mail.re1.yahoo.com [69.147.75.17]) by mx1.freebsd.org (Postfix) with SMTP id 5F83E13C428 for ; Sat, 10 Mar 2007 05:36:50 +0000 (UTC) (envelope-from paulette_mcgee@yahoo.com) Received: (qmail 27845 invoked by uid 60001); 10 Mar 2007 05:36:49 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=dLUyiFawvaX8/N+TJtNryIFqT9m10u7FmfEDIxN/U91AD+g1zcWUQi/LB/HbTpReijNY0tI+M/LIxA746cj7jA3r20Uu/MGOuExFx6Ey4+9lIi9HDKf5Vo+GnxEw5RtZj+nO+LRl0ffWsgsVPVrSJBxN9Gpa7o/PX0g20QkTd1o=; X-YMail-OSG: v7EyC4gVM1kpixmXUFmvEN4idaUvwuBSgOPLHczoQYe4.hYIFbSjp8UsUVwKL3Lemlltpk7dGTTqvpopzby3bHMwnxzWzbqhn4Gnr6_FLcF0UkkEPGf9dfifxMjCacYH Received: from [68.164.15.239] by web62303.mail.re1.yahoo.com via HTTP; Fri, 09 Mar 2007 21:36:49 PST Date: Fri, 9 Mar 2007 21:36:49 -0800 (PST) From: Paulette McGee To: Roofscum614@aol.com, freebsd-questions@FreeBSD.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <760140.21163.qm@web62303.mail.re1.yahoo.com> Cc: Subject: Re: 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, 10 Mar 2007 05:36:50 -0000 --- Roofscum614@aol.com wrote: > hi i am doing a project for school: > > find an alternative operating system - one that will > run my computer > without Windows being installed. The cheaper the > better (Hint start your > search with the word "free"). Find out what the > software does, what > applications it supports (e.g., will it run > Microsoft Office), how much it > costs. > > > does your OS relate to this project? any help would > be appreciated. > > thank you > tom gunderman >


**************************************
> AOL now offers free > email to everyone. Find out more about what's free > from AOL at > http://www.aol.com. > _______________________________________________ > 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" > Hello Tom, With respect to your home work assignment: "does your OS relate to this project? any help would be appreciated." The answer is yes. Now keep in mind that this is a users mailing list. This translates into support gets done via volunteers; just an information tid bit. "find an alternative operating system - one that will run my computer without Windows being installed." Here is the home page to FreeBSD: www.freebsd.org . It has a good description of the Operating System. The answer is yes, this is an operating system that does not require the use of Microsoft Windows. "Find out what the software does, what applications it supports (e.g., will it run Microsoft Office), how much it costs. " FreeBSD by itself doesn't support Microsoft Applications; however there is a program called WINE that allows Microsoft applications to be run via a compatibility layer via a Windows API (Application Program Interface). More information can be found here: www.winehq.com What other applications does FreeBSD support? http://www.freebsd.org/ports/ The above is a link to a database that has over 16414 ports. What is a port? Well, I cannot do all your home work. :-) Keep in mind that there are several applications out there that have similar functionality to the Microsoft world. Here is a quick list of equivalents: Open Office similar to MS Office http://www.openoffice.org/ Web browser Firefox similar to IE http://www.mozilla.org There are several more that exist; but this is just to illustrate a point. Browse the ports collection; change the list to "listed by logical group" located on the left hand side of the screen. Ports will be grouped by functionality. PS: Additional information can be found here: http://www.freebsd.org/docs.html Hope this helps. ____________________________________________________________________________________ Looking for earth-friendly autos? Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center. http://autos.yahoo.com/green_center/ From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 08:11:54 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8274D16A401 for ; Sat, 10 Mar 2007 08:11:54 +0000 (UTC) (envelope-from jjuanino@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id 11D2713C4AC for ; Sat, 10 Mar 2007 08:11:53 +0000 (UTC) (envelope-from jjuanino@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so1523044ugh for ; Sat, 10 Mar 2007 00:11:50 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:date:from:to:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:x-operating-system:user-agent; b=pJP6sJg0vF1F8Vpq1YqCPzJIzttbNZlEshVYO5igUe/DE2mnpe7i233SWitmdXWIZnDIV+Wczo3A2ZDjWgLulmrpEV0OCElMXhigh4C6dZuh7WReTm9UB1ui9hsfJpva7Mb+1aH3vFjkVg77DBVkkibbtcFAbbwjA7PdMdSFB5E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:x-operating-system:user-agent; b=KFQnLLgf5DxReim4q67jXeUUSlbbxb6r7PNu44Mw/x9gW4WoNOO+Ch7JO0FTRosOnGylGLeRyIOkYK1NJTdVz8kkIkHBtDWO1PrATjVruNnLUu5Tx2dF3NmYqkfmQRdf3XmPg4eP4/76o1D1+tJGBueciHk3VkUoultFSNKLQzk= Received: by 10.66.225.1 with SMTP id x1mr11668050ugg.1173514309786; Sat, 10 Mar 2007 00:11:49 -0800 (PST) Received: from gauss.sanabria.es ( [83.40.95.235]) by mx.google.com with ESMTP id b30sm9104499ika.2007.03.10.00.11.49; Sat, 10 Mar 2007 00:11:49 -0800 (PST) Received: by gauss.sanabria.es (Postfix, from userid 1001) id 87CE2C9EB; Sat, 10 Mar 2007 09:11:47 +0100 (CET) Date: Sat, 10 Mar 2007 09:11:47 +0100 From: =?iso-8859-1?Q?Jos=E9_Garc=EDa?= Juanino To: freebsd-questions@freebsd.org Message-ID: <20070310081147.GA66877@gauss.sanabria.es> Mail-Followup-To: freebsd-questions@freebsd.org References: <20070309204523.4f5aef8b.bconway@clue4all.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UugvWAfsgieZRqgk" Content-Disposition: inline In-Reply-To: <20070309204523.4f5aef8b.bconway@clue4all.net> X-Operating-System: FreeBSD 6.2-RELEASE-p2 User-Agent: Mutt/1.5.14 (2007-02-12) Subject: Re: Periodic xl watchdog timeouts on 6.2-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 08:11:54 -0000 --UugvWAfsgieZRqgk Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable El s=E1bado 10 de marzo a las 02:45:23 CET, Brian J. Conway escribi=F3: > I'm trying to track down a watchdog timeout that shows on average once a > day, usually at a random time when idle. The system has two 3c905C NICs > and does ipfw+natd duty with a couple services, and spends most of its > time idle, both CPU and bandwidth-wise. Nothing out of the ordinary > happens when saturating my cable connection at ~8 Mbps, be it with HTTP or > 100+ BitTorrent connections. However, I'll randomly see in the logs > during quieter times: >=20 > Mar 10 00:04:46 imogen kernel: xl0: watchdog timeout > Mar 10 00:04:46 imogen kernel: xl0: link state changed to DOWN > Mar 10 00:04:48 imogen kernel: xl0: link state changed to UP >=20 > ( ................ ) I had exactly the same problem in my acpi-blacklisted motherboard. I disabled acpi and the errors vanished. In my case, this error was not related with NICs, but exclusively with the motherboard. Regards --UugvWAfsgieZRqgk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFF8mhDFOo0zaS9RnIRAlWNAJ4jU/0xCvn/mgQI8fcW7iB3lJFbqwCeN1bZ TXe0zQblWsuXrpva2pDSEV4= =ATHB -----END PGP SIGNATURE----- --UugvWAfsgieZRqgk-- From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 10:55:48 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1AB4F16A400 for ; Sat, 10 Mar 2007 10:55:48 +0000 (UTC) (envelope-from knizek@volny.cz) Received: from smtp-out3.iol.cz (smtp-out3.iol.cz [194.228.2.91]) by mx1.freebsd.org (Postfix) with ESMTP id CBB2013C428 for ; Sat, 10 Mar 2007 10:55:47 +0000 (UTC) (envelope-from knizek@volny.cz) Received: from antivir5.iol.cz (unknown [192.168.30.212]) by smtp-out3.iol.cz (Postfix) with ESMTP id 95AF064291; Sat, 10 Mar 2007 11:55:46 +0100 (CET) Received: from localhost (antivir5.iol.cz [127.0.0.1]) by antivir5.iol.cz (Postfix) with ESMTP id 76C3F66C006; Sat, 10 Mar 2007 11:55:46 +0100 (CET) X-Virus-Scanned: amavisd-new at iol.cz Received: from antivir5.iol.cz ([127.0.0.1]) by localhost (antivir5.iol.cz [127.0.0.1]) (amavisd-new, port 10224) with LMTP id J+2Iq0NYQkeR; Sat, 10 Mar 2007 11:55:46 +0100 (CET) Received: from smtp-out3.iol.cz (mta-out3 [192.168.30.28]) by antivir5.iol.cz (Postfix) with ESMTP id 50E2D66C005; Sat, 10 Mar 2007 11:55:46 +0100 (CET) Received: from [192.168.1.23] (unknown [88.103.7.126]) by smtp-out3.iol.cz (Postfix) with ESMTP id 10AA557EAF; Sat, 10 Mar 2007 11:55:43 +0100 (CET) From: Milan Knizek To: freebsd-questions@freebsd.org Date: Sat, 10 Mar 2007 11:55:22 +0100 User-Agent: KMail/1.9.5 References: <200703092025.34406.knizek@volny.cz> <20070309215608.GA6874@slackbox.xs4all.nl> In-Reply-To: <20070309215608.GA6874@slackbox.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200703101155.22838.knizek@volny.cz> Cc: Roland Smith Subject: Re: Epson P2100 parallel port mode X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 10:55:48 -0000 On Friday 09 March 2007 22:56, Roland Smith wrote: > On Fri, Mar 09, 2007 at 08:25:34PM +0100, Milan Knizek wrote: > > A search on google revealed that it is possible to switch the port mode > > to "extended polling" by command "lptcontrol -e -d /dev/lpt0". Then, the > > printer worked normally. > > > > "ltpcontrol" supports only connected (and powered on) printers, which is > > usually not the case during boot, and it must be run with root > > privileges. > > > > My question: how do I set the default port mode to "extended polling" > > instead of "iterrupt driven" during the boot process? > > You have to add the setting to /boot/device.hints. See > http://www.xs4all.nl/~rsmith/freebsd/#parport Thank you, this helped. Actually, I have also found a note in gutenprint FAQ that while using USB=20 connection, it may help to print to /dev/unlpt0 instead of /dev/ulpt0. I ma= y=20 try later to confirm. Regards, =2D-=20 Milan Kn=ED=BEek http://milan-knizek.net/ e-mail knizek {na} volny {v} cz From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 11:22:51 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D93FC16A403 for ; Sat, 10 Mar 2007 11:22:51 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (www.unsane.co.uk [85.233.185.162]) by mx1.freebsd.org (Postfix) with ESMTP id 4B95313C478 for ; Sat, 10 Mar 2007 11:22:51 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from [10.0.0.178] ([10.0.0.178]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.13.8) with ESMTP id l2ABMXqF028021 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 10 Mar 2007 11:22:34 GMT (envelope-from jhary@unsane.co.uk) Message-ID: <45F29513.4000108@unsane.co.uk> Date: Sat, 10 Mar 2007 11:22:59 +0000 From: Vince User-Agent: Thunderbird 1.5.0.7 (X11/20061027) MIME-Version: 1.0 To: Aniruddha References: <0740B9A6C3639441850D84E94767945C02EAAC23@DMM00038.link2.gpn.gov.uk> <45F18BE6.5050206@unsane.co.uk> <45F1906D.3030301@planet.nl> <45F19149.80205@unsane.co.uk> <45F1E138.5030601@planet.nl> <45F1E583.9050909@hier7.com> <45F1F401.3030705@planet.nl> In-Reply-To: <45F1F401.3030705@planet.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Chris Slothouber , User Questions Subject: Re: Help needed syncing Palm Treo 650 with FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 11:22:51 -0000 Aniruddha wrote: > Chris Slothouber wrote: >> Check out /etc/defaults/devfs.rules >> >> > Thanks at least now I found devfs.rules :-) . I adjusted it > accordingly (and /etc/rc.conf) but still my Palm refuses to sync. > Maybe this error message reveals something: > > # /etc/rc.d/devfs restart > /etc/rc.d/devfs: WARNING: devfs_set_ruleset: you must specify a ruleset > number > /etc/rc.d/devfs: WARNING: devfs_apply_ruleset: you must specify a ruleset > > > *Part of devfs.rules which I edited:* > # Devices typically needed to support logged-in users. > # Requires: devfsrules_hide_all > # > [devfsrules_unhide_login=3] > add path 'ptyp*' unhide > add path 'ptyq*' unhide > add path 'ptyr*' unhide > add path 'ptys*' unhide > add path 'ptyP*' unhide > add path 'ptyQ*' unhide > add path 'ptyR*' unhide > add path 'ptyS*' unhide > add path 'ttyp*' unhide > add path 'ttyq*' unhide > add path 'ttyr*' unhide > add path 'ttys*' unhide > add path 'ttyP*' unhide > add path 'ttyQ*' unhide > add path 'ttyR*' unhide > add path 'ttyS*' unhide > add path fd unhide > add path 'fd/*' unhide > add path stdin unhide > add path stdout unhide > add path stderr unhide > add path 'ttyU*' mode 0666 > * > My changes to /etc/rc.conf* > # -- sysinstall generated deltas -- # Thu Mar 8 17:55:42 2007 > # Created: Thu Mar 8 17:55:42 2007 > # 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. > hostname="freebsd.lan" > ifconfig_sk0="DHCP" > inetd_enable="NO" > ipv6_enable="YES" > keymap="us.iso" > linux_enable="YES" > sshd_enable="YES" > usbd_enable="YES" > devfs_system_ruleset="system" > I think you misunderstood. /etc/defaults/devfs contains the defaults. you should remove the changes you made from there and create a new /etc/devfs.rules with the contents i specified. > _______________________________________________ > 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 Mar 10 12:09:41 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AD75816A400 for ; Sat, 10 Mar 2007 12:09:41 +0000 (UTC) (envelope-from cptsalek@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.freebsd.org (Postfix) with ESMTP id 4424813C48D for ; Sat, 10 Mar 2007 12:09:38 +0000 (UTC) (envelope-from cptsalek@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so1559589ugh for ; Sat, 10 Mar 2007 04:09:38 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bmuaF/pM2RP+ezyPg4/yfAyMbfXbtzswSXrlJZLjEW5vDOzs2C72DzcXh0neuoWeQ1fOc3+5N3LPTY5EDO/Yobfu4n/sVhws+Kp/juXNrUF/pCB05cOAuByZZpTIPQ4upJE8kqJ7qVA1ef0gaTu8apSN+8yOZHkGsLs6bLhQpWQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rxox79+4FpU9QQfFOx3OL5h6FidztUNggjtYdQcL7Z2h2WLcxNSmI+0wKdlF7yA1mBUl4f+nQS63SL4+CcSTE7bZl7SYB/l3KrxGQXDgqLo9lxegRbY8s7/iUSZHevw8pvI2vttAZX34Y8JaYt+0CnUAYe1NdcE9b4vbKv5ZVZ4= Received: by 10.70.80.14 with SMTP id d14mr5347197wxb.1173528577613; Sat, 10 Mar 2007 04:09:37 -0800 (PST) Received: by 10.70.14.15 with HTTP; Sat, 10 Mar 2007 04:09:37 -0800 (PST) Message-ID: <14989d6e0703100409n17237b3t3653a4a44511f224@mail.gmail.com> Date: Sat, 10 Mar 2007 12:09:37 +0000 From: "Christian Walther" To: "Roofscum614@aol.com" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-questions@freebsd.org Subject: Re: 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, 10 Mar 2007 12:09:41 -0000 On 10/03/07, Roofscum614@aol.com wrote: > hi i am doing a project for school: > > find an alternative operating system - one that will run my computer > without Windows being installed. The cheaper the better (Hint start your > search with the word "free"). Find out what the software does, what > applications it supports (e.g., will it run Microsoft Office), how much it > costs. > > > does your OS relate to this project? any help would be appreciated. > FreeBSD is great, just take some time to explore it and its possibilities. You might want to take a look at DesktopBSD, too. DesktopBSD is based on FreeBSD, but is geared towards Desktop users. The installer is different and you'll find many applications needed for everydays work preinstalled. You'll find information about DesktopBSD on http://www.desktopbsd.org > thank you > tom gunderman HTH Christian From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 12:24:46 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DF02516A402 for ; Sat, 10 Mar 2007 12:24:46 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmmtao105.cox.net (eastrmmtao105.cox.net [68.230.240.47]) by mx1.freebsd.org (Postfix) with ESMTP id 6F39B13C442 for ; Sat, 10 Mar 2007 12:24:45 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao102.cox.net (InterMail vM.7.05.02.00 201-2174-114-20060621) with ESMTP id <20070310114545.RNKL1310.eastrmmtao102.cox.net@eastrmimpo01.cox.net>; Sat, 10 Mar 2007 06:45:45 -0500 Received: from serene.no-ip.org ([72.200.36.10]) by eastrmimpo01.cox.net with bizsmtp id Yzlk1W00C0D7syo0000000; Sat, 10 Mar 2007 06:45:44 -0500 Received: from serene.no-ip.org (localhost [127.0.0.1]) by serene.no-ip.org (8.13.8/8.13.8) with ESMTP id l2ABji0I020612; Sat, 10 Mar 2007 05:45:44 -0600 (CST) (envelope-from conrads@cox.net) Message-Id: <200703101145.l2ABji0I020612@serene.no-ip.org> Date: Sat, 10 Mar 2007 05:45:43 -0600 From: "Conrad J. Sabatier" To: "Anuj Singh" In-Reply-To: <3120c9e30703090042n3dbfe850ta6d0b1dcac160f1d@mail.gmail.com> References: <3120c9e30703090042n3dbfe850ta6d0b1dcac160f1d@mail.gmail.com> X-Mailer: Claws Mail 2.8.0 (GTK+ 2.10.9; amd64-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: logout from gnome panel stops responding. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 12:24:47 -0000 On Fri, 9 Mar 2007 14:12:35 +0530 "Anuj Singh" wrote: > Hello, > I am using > 6.2-RELEASE FreeBSD 6.2-RELEASE > root@anugunj:/usr/src/sys/i386/compile/GENERIC > i386 > while using gnome when i click on logout it (logout panel only) stops > responding, and i need to Force quit, same thing is happening with my > gaim. It crashes. Is anyone facing the same problem? How to trace/fix > it? This problem causing me to use linux more. I want to use FreeBSD > as main. But with Gnome crashing few utilities I am unable to use it > all the time. With FreeBSD 6.1 I faced no such problem. > thanks and regards > anugunj "anuj" It's been my experience that GNOME, in general, works better and exhibits fewer quirks of the type you describe, if you enable rpcbind in /etc/rc.conf. This may or may not solve your particular problem, but it's worth a try, at least. HTH -- Conrad J. Sabatier From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 12:48:05 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0057A16A400 for ; Sat, 10 Mar 2007 12:48:04 +0000 (UTC) (envelope-from crstn_fuchs@yahoo.de) Received: from smtp001.mail.ukl.yahoo.com (smtp001.mail.ukl.yahoo.com [217.12.11.32]) by mx1.freebsd.org (Postfix) with SMTP id 5B8AF13C48D for ; Sat, 10 Mar 2007 12:48:04 +0000 (UTC) (envelope-from crstn_fuchs@yahoo.de) Received: (qmail 27339 invoked from network); 10 Mar 2007 12:48:03 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.de; h=Received:X-YMail-OSG:Date:From:To:Subject:Message-Id:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; b=qXFlYsAxzseB9rbc7xtMCpTURUjzqXjbRashcyKGnYrnYYl/46Ycg+EUWcGThQOaOVt6wn3MBgQAgP0lKdPax6kkyqDyIlVZ1DFmZfUIR6LtuHDXNMxu/SizhAHfNPLcslw+hfpjEnCA8waRnhPPXzXpzCilExjoJzG3z8f1+Bo= ; Received: from unknown (HELO nostromo.homeunix.org) (crstn_fuchs@89.57.41.254 with plain) by smtp001.mail.ukl.yahoo.com with SMTP; 10 Mar 2007 12:48:02 -0000 X-YMail-OSG: UVKQ.G0VM1kaosFUJshxh.iYrxyXnas9ZGMVxOTxF3sFnUZ_7kA4A94Xx5VClx3emhqLJXFkHxcAXJwULkRsJGmCNxt.bdO.9T2BMPlIa3iqh3IQhfC0hpax1k_YHfsg98cOi9JOBf3l Date: Sat, 10 Mar 2007 13:48:00 +0100 From: Carsten Fuchs To: freebsd-questions@freebsd.org Message-Id: <20070310134800.a1eb88f1.crstn_fuchs@yahoo.de> X-Mailer: Sylpheed version 2.2.9 (GTK+ 2.10.6; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Gnome-Terminal - odd behaviour while typing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 12:48:05 -0000 Hi everyone! My gnome-terminal has this annoying habit of jumping at the beginning of the same line when i'm entering a command and the cursor reaches a certain column (not the last column possible, there's always a quarter or so of the line left blank); it doesn't put the cursor on a new line but at the beginning of the same line, thus overwriting that line. and it gets worse when I try to edit a command line by going back with left cursor or Alt+b, then it jumps one line up overwriting that previous line and messing everything up. I have seen this on FreeBSD only, not on any GNOME installation on Linux before. Is this normal and/or can I change it? Thanks, Carsten. ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 12:58:53 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1F6BB16A404 for ; Sat, 10 Mar 2007 12:58:53 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (saltmine.radix.net [207.192.128.40]) by mx1.freebsd.org (Postfix) with ESMTP id DA73013C491 for ; Sat, 10 Mar 2007 12:58:52 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (localhost [127.0.0.1]) by saltmine.radix.net (8.12.2/8.12.2) with ESMTP id l2ACwplj003218; Sat, 10 Mar 2007 07:58:51 -0500 (EST) Received: (from dickey@localhost) by saltmine.radix.net (8.12.2/8.12.2/Submit) id l2ACwpKS003202; Sat, 10 Mar 2007 07:58:51 -0500 (EST) Date: Sat, 10 Mar 2007 07:58:51 -0500 From: Thomas Dickey To: Carsten Fuchs Message-ID: <20070310125851.GB1752@saltmine.radix.net> References: <20070310134800.a1eb88f1.crstn_fuchs@yahoo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070310134800.a1eb88f1.crstn_fuchs@yahoo.de> User-Agent: Mutt/1.3.27i Cc: freebsd-questions@freebsd.org Subject: Re: Gnome-Terminal - odd behaviour while typing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 12:58:53 -0000 On Sat, Mar 10, 2007 at 01:48:00PM +0100, Carsten Fuchs wrote: > Hi everyone! > > My gnome-terminal has this annoying habit of jumping at the beginning > of the same line when i'm entering a command and the cursor reaches a > certain column (not the last column possible, there's always a quarter > or so of the line left blank); it doesn't put the cursor on a new line > but at the beginning of the same line, thus overwriting that line. Sounds like a problem with the prompt string (iirc for bash users, that's remedied by escaping the chunk of text that doesn't print using \[ and \]). -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 13:03:00 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9D31716A401 for ; Sat, 10 Mar 2007 13:03:00 +0000 (UTC) (envelope-from mailing_list@planet.nl) Received: from psmtp04.wxs.nl (psmtp04.wxs.nl [195.121.247.13]) by mx1.freebsd.org (Postfix) with ESMTP id 6221013C48E for ; Sat, 10 Mar 2007 13:03:00 +0000 (UTC) (envelope-from mailing_list@planet.nl) Received: from [192.168.0.141] ([80.60.30.253]) by psmtp04.wxs.nl (iPlanet Messaging Server 5.2 HotFix 2.15 (built Nov 14 2006)) with ESMTP id <0JEO00B2OUWZ47@psmtp04.wxs.nl> for freebsd-questions@freebsd.org; Sat, 10 Mar 2007 14:02:59 +0100 (MET) Date: Sat, 10 Mar 2007 14:02:58 +0100 From: Aniruddha In-reply-to: <45F29513.4000108@unsane.co.uk> To: Vince Message-id: <45F2AC82.4070404@planet.nl> MIME-version: 1.0 User-Agent: Thunderbird 1.5.0.10 (X11/20070303) References: <0740B9A6C3639441850D84E94767945C02EAAC23@DMM00038.link2.gpn.gov.uk> <45F18BE6.5050206@unsane.co.uk> <45F1906D.3030301@planet.nl> <45F19149.80205@unsane.co.uk> <45F1E138.5030601@planet.nl> <45F1E583.9050909@hier7.com> <45F1F401.3030705@planet.nl> <45F29513.4000108@unsane.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Chris Slothouber , User Questions Subject: Re: Help needed syncing Palm Treo 650 with FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 13:03:00 -0000 Vince wrote: > I think you misunderstood. /etc/defaults/devfs contains the defaults. > you should remove the changes you made from there and create a new > /etc/devfs.rules > with the contents i specified. Hey be gentle, I am new to FreeBSD :-P . This solved the error message but still my Palm doesn't sync. Here's my new devfs.rules: / [system=10] add path 'ttyU*' mode 0666 /No matter which port I try I can't get my Palm to sync, any help would be appreciated!: /$ pilot-xfer --port /dev/ttyU0 --list/ / Unable to bind to port: /dev/ttyU0 Please use --help for more information $ pilot-xfer --port /dev/ttyU1 --list Unable to bind to port: /dev/ttyU1 Please use --help for more information $ pilot-xfer --port /dev/ttyU2 --list Unable to bind to port: /dev/ttyU2 Please use --help for more information $ pilot-xfer --port /dev/ttyU3 --list Unable to bind to port: /dev/ttyU3 Please use --help for more information $ pilot-xfer --port /dev/ttyU4 --list Unable to bind to port: /dev/ttyU4 Please use --help for more information $ pilot-xfer --port /dev/ttyU5 --list Unable to bind to port: /dev/ttyU5 Please use --help for more information $ pilot-xfer --port /dev/ttyU --list Unable to bind to port: /dev/ttyU Please use --help for more information $ pilot-xfer --port /dev/ttyU* --list Unable to bind to port: /dev/ttyU* Please use --help for more information / From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 13:18:37 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A478516A401 for ; Sat, 10 Mar 2007 13:18:37 +0000 (UTC) (envelope-from seba.group@sinux.net) Received: from smtp2.infomaniak.ch (smtp2.infomaniak.ch [84.16.68.90]) by mx1.freebsd.org (Postfix) with ESMTP id 217D513C47E for ; Sat, 10 Mar 2007 13:18:36 +0000 (UTC) (envelope-from seba.group@sinux.net) Received: from [172.16.2.104] (84-74-168-200.dclient.hispeed.ch [84.74.168.200]) (authenticated bits=0) by smtp2.infomaniak.ch (8.13.6/8.13.6) with ESMTP id l2AD8TLN021788 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Sat, 10 Mar 2007 14:08:30 +0100 From: Sebastien To: FreeBSD questions Content-Type: text/plain Date: Sat, 10 Mar 2007 14:10:21 +0100 Message-Id: <1173532221.46449.37.camel@dell.sinux.seb> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Antivirus: Dr.Web (R) for Mail Servers on smtp2 host X-Antivirus-Code: 100000 Subject: Xorg color depth problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 13:18:37 -0000 Hi all, I use to solve difficulties by myself but I'm a bit lost with this one. Without any special event appened, I noticed that pictures was strangly displayed. It's a bit difficult to explain but it's certainly due to a low color depth. I've same color problem with pictures and vids.and different WM (kde wmaker). Obviousli I've tested my hardware first. I don't now how to investigate (I'm not a newbee but not so far ;-) could someone lead me ? ========= grep -i depth /var/log/Xorg.0.log (**) RADEON(0): Depth 24, (--) framebuffer bpp 32 (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps) (--) Depth 24 pixmap format is 32 bpp (II) RADEON(0): Depth moves disabled by default ========= FreeBSD 6.0-RELEASE-p5 xorg 6.9.0_6 From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 13:22:12 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CD67416A400 for ; Sat, 10 Mar 2007 13:22:12 +0000 (UTC) (envelope-from anujhere@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.237]) by mx1.freebsd.org (Postfix) with ESMTP id 87B5C13C48E for ; Sat, 10 Mar 2007 13:22:12 +0000 (UTC) (envelope-from anujhere@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so1066213wxc for ; Sat, 10 Mar 2007 05:22:12 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=TGBX9kj3zisujI6TgLKOhz4PFzvCqzCOXY5Wky4z7/AaHFuLR3r6Do9J3CtjL86qKnYUTKUk5KJq6NDlfyHxETElNcY+bzg43mWW9qv8j1+wNd7okoHTNicM8b7kzfxMV19Gn5/n7pnhUz91gAzALZ3s+I65Z+kySh8aG2TKh5Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=i+DzWRZR3PrXoFB1uok+NSPXx1BJNBJvs4N4g8SxcIjLz0wvJ1QLtQB9+3Lld92tXp42cTCxbLdc7mSoNJTPxhuTokUbLUZnq3guMQHPBEeRAIIXib9qZe9GkR0TNjn2hsyx8a0rz/gN2vUm1k0YWv5BKAl5k4u5vTnMjikYQ8w= Received: by 10.70.116.14 with SMTP id o14mr5465932wxc.1173532931698; Sat, 10 Mar 2007 05:22:11 -0800 (PST) Received: by 10.100.12.2 with HTTP; Sat, 10 Mar 2007 05:22:11 -0800 (PST) Message-ID: <3120c9e30703100522p17b52173k3501c0a20523d9f5@mail.gmail.com> Date: Sat, 10 Mar 2007 18:52:11 +0530 From: "Anuj Singh" To: "Conrad J. Sabatier" In-Reply-To: <200703101145.l2ABji0I020612@serene.no-ip.org> MIME-Version: 1.0 References: <3120c9e30703090042n3dbfe850ta6d0b1dcac160f1d@mail.gmail.com> <200703101145.l2ABji0I020612@serene.no-ip.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: logout from gnome panel stops responding. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 13:22:12 -0000 hello, Thanks Conrad. I tried it but didn't worked. Your suggestion gave me an idea of few more settings, this problem was related to my firewall pfctl rules. when i flush all my firewall rules this problem disappears., (pfctl -Fa), I have to check my pfctl firewall rules. When I start my firewall I have same problem , it means I need to refine my /etc/pf.conf There was no loopback interface defined in my /etc/pf.conf , defined it lbk_if="lo0" pass in quick from $lbk_if to any keep state Thanks and regards anugunj "anuj" On 3/10/07, Conrad J. Sabatier wrote: > > On Fri, 9 Mar 2007 14:12:35 +0530 > "Anuj Singh" wrote: > > > Hello, > > I am using > > 6.2-RELEASE FreeBSD 6.2-RELEASE > > root@anugunj:/usr/src/sys/i386/compile/GENERIC > > i386 > > while using gnome when i click on logout it (logout panel only) stops > > responding, and i need to Force quit, same thing is happening with my > > gaim. It crashes. Is anyone facing the same problem? How to trace/fix > > it? This problem causing me to use linux more. I want to use FreeBSD > > as main. But with Gnome crashing few utilities I am unable to use it > > all the time. With FreeBSD 6.1 I faced no such problem. > > thanks and regards > > anugunj "anuj" > > It's been my experience that GNOME, in general, works better and > exhibits fewer quirks of the type you describe, if you enable rpcbind > in /etc/rc.conf. > > This may or may not solve your particular problem, but it's worth a > try, at least. > > HTH > > -- > Conrad J. Sabatier > > From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 13:36:02 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C495516A405 for ; Sat, 10 Mar 2007 13:36:02 +0000 (UTC) (envelope-from crstn_fuchs@yahoo.de) Received: from smtp002.mail.ukl.yahoo.com (smtp002.mail.ukl.yahoo.com [217.12.11.33]) by mx1.freebsd.org (Postfix) with SMTP id 28A4513C48D for ; Sat, 10 Mar 2007 13:36:02 +0000 (UTC) (envelope-from crstn_fuchs@yahoo.de) Received: (qmail 37303 invoked from network); 10 Mar 2007 13:36:00 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.de; h=Received:X-YMail-OSG:Date:From:To:Subject:Message-Id:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; b=lNsnQBhSpxGu74UJPHiaPbbXmo+B3woEC5bF6x426UUx2smntCgsQs4GjOi9EZYapS1/dfNcaljbGA/VPhFYJY0kuKltmV8H88uyS6o8JJfYX0s5E1vYvv8Q3lN3OkPbk0v3WhQgAibW0szlIRRKii94Dkq70r7tzSNktkhf3UI= ; Received: from unknown (HELO nostromo.homeunix.org) (crstn_fuchs@89.57.41.254 with plain) by smtp002.mail.ukl.yahoo.com with SMTP; 10 Mar 2007 13:36:00 -0000 X-YMail-OSG: lXg1bI4VM1kJQ39Qn4yrBJ__Zo_MH2j1nModreUDJDH.VPMan7PBW6KYMN3iuPrDFs9MVuUn7JbNmcF0UodBBf5xz2T8rev7Dvq_VgPkHXsK9EZ7WxXm2MiKVEdCEIAL6fMoKwNR95g- Date: Sat, 10 Mar 2007 14:35:58 +0100 From: Carsten Fuchs To: freebsd-questions@freebsd.org Message-Id: <20070310143558.a8e8472e.crstn_fuchs@yahoo.de> In-Reply-To: <20070310125851.GB1752@saltmine.radix.net> References: <20070310134800.a1eb88f1.crstn_fuchs@yahoo.de> <20070310125851.GB1752@saltmine.radix.net> X-Mailer: Sylpheed version 2.2.9 (GTK+ 2.10.6; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Gnome-Terminal - odd behaviour while typing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 13:36:02 -0000 On Sat, 10 Mar 2007 07:58:51 -0500 Thomas Dickey wrote: > Sounds like a problem with the prompt string (iirc for bash users, that's > remedied by escaping the chunk of text that doesn't print using \[ and \]). That's it. I had escape sequences in the prompt for different colors... Thank you Thomas! ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 14:04:33 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ACEC516A401 for ; Sat, 10 Mar 2007 14:04:33 +0000 (UTC) (envelope-from mailinglists@tca-cable-connector.com) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by mx1.freebsd.org (Postfix) with ESMTP id 46D6513C441 for ; Sat, 10 Mar 2007 14:04:33 +0000 (UTC) (envelope-from mailinglists@tca-cable-connector.com) Received: from [218.16.58.208] (helo=munin.tcaportal.com) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis), id 0ML25U-1HQ2BT07b9-0003Ch; Sat, 10 Mar 2007 15:04:32 +0100 Received: from [10.0.1.41] (unknown [219.132.231.14]) by munin.tcaportal.com (Postfix) with ESMTP id 2489CA6C62 for ; Sat, 10 Mar 2007 22:01:48 +0800 (HKT) Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: FreeBSD Questions From: David Schulz Date: Sat, 10 Mar 2007 22:04:20 +0800 X-Mailer: Apple Mail (2.752.3) X-Provags-ID: kundenserver.de abuse@kundenserver.de login:1405312fe15d228f5bad0d2fcbb6dc17 X-Provags-ID2: V01U2FsdGVkX1+EwBLdbTZz4bUbA131nzK4MmpwwEhtseqwW/9 0u9P2oxnZWIiFFDhrFZBL+sN2pjaxvnkD2ukO53iMioh6dqW9L tvTQs3qZ3mezeg5cmO1Lg== Cc: Subject: Advice on IDS & co. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 14:04:33 -0000 Hello all, I would like to know what you guys think about chkrootkit, rkhunter and tripwire. I am considering adding them on my Server for some added Security. I am aware, the holy grail would be to really dive into Jails, and the macframework, but still i would like to have some opinions on those mentioned Tools. Also, if you have other neat tricks to add some security to a Server, do tell. Thank you very much and best regards, David From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 14:08:43 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3D73116A406 for ; Sat, 10 Mar 2007 14:08:43 +0000 (UTC) (envelope-from michael.grant@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.freebsd.org (Postfix) with ESMTP id C920813C428 for ; Sat, 10 Mar 2007 14:08:42 +0000 (UTC) (envelope-from michael.grant@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so1323002nfc for ; Sat, 10 Mar 2007 06:08:42 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=omFNu38xKK703OwUXkautE6YZWXQcFD/+pQH5U48eGacHpZrvs0Eu3kq5o3MLnvoZuHbGCmo5qIi7bysc3Z6GGA1j8EhUEpXVDVGIW/akQot4EvxOuf0Of4/a+j+uSYOJMhEpu9/Bn7hAusMRHZLsy9rPqCy8Eulre15sEkCqFA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=MmeGJcZAy2rV+O51L28EatBwfVjPBlBclmIyTyG3T0vi7uigJGZAOqE9d3KLniTflxo4cSP+cVqcSMC61XlrPR2+hEkzOHwYgdxCUTeKARYu2in+JG237qgwA2OaS9AmFhMGudzF4ztasfJGs3rrUSnDTcfHBO736AlHy0PAJCc= Received: by 10.82.120.14 with SMTP id s14mr4871073buc.1173534249456; Sat, 10 Mar 2007 05:44:09 -0800 (PST) Received: by 10.82.134.11 with HTTP; Sat, 10 Mar 2007 05:44:09 -0800 (PST) Message-ID: <62b856460703100544j1bdc52jf872547ef281931b@mail.gmail.com> Date: Sat, 10 Mar 2007 14:44:09 +0100 From: "Michael Grant" Sender: michael.grant@gmail.com To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 37f394a027ac1e67 Subject: where to get GENERIC 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: Sat, 10 Mar 2007 14:08:43 -0000 I'm upgrading from 4.x to 5.5. I am at the step where I need to make a generic 5.x kernel, but my GENERIC file is for 4.x. When I did a 'make update' in /usr/src (which updated my source tree from cvspu), it didn't suck over /usr/src/sys/i386/conf/GENERIC for 5.5. Where is this or how do I generate it? I was surprised this didn't come over when I sucked over 5.5 via cvsup. It raises question in my mind as to what else it didn't suck over. Michael Grant From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 14:36:28 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9462416A400 for ; Sat, 10 Mar 2007 14:36:28 +0000 (UTC) (envelope-from carpetsmoker@xs4all.nl) Received: from smtp-vbr8.xs4all.nl (smtp-vbr8.xs4all.nl [194.109.24.28]) by mx1.freebsd.org (Postfix) with ESMTP id D19F013C467 for ; Sat, 10 Mar 2007 14:36:27 +0000 (UTC) (envelope-from carpetsmoker@xs4all.nl) Received: from webmail.xs4all.nl (dovemail6.xs4all.nl [194.109.26.8]) by smtp-vbr8.xs4all.nl (8.13.8/8.13.8) with ESMTP id l2AEaM0L089226; Sat, 10 Mar 2007 15:36:26 +0100 (CET) (envelope-from carpetsmoker@xs4all.nl) Received: from 82.93.23.199 (SquirrelMail authenticated user tournoij) by webmail.xs4all.nl with HTTP; Sat, 10 Mar 2007 15:36:26 +0100 (CET) Message-ID: <18767.82.93.23.199.1173537386.squirrel@webmail.xs4all.nl> In-Reply-To: <62b856460703100544j1bdc52jf872547ef281931b@mail.gmail.com> References: <62b856460703100544j1bdc52jf872547ef281931b@mail.gmail.com> Date: Sat, 10 Mar 2007 15:36:26 +0100 (CET) From: "Martin Tournoij" To: "Michael Grant" User-Agent: SquirrelMail/1.4.8 MIME-Version: 1.0 Content-Type: multipart/mixed;boundary="----=_20070310153626_85883" X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD Questions Subject: Re: where to get GENERIC file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: carpetsmoker@xs4all.nl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 14:36:28 -0000 ------=_20070310153626_85883 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit On Sat, March 10, 2007 14:44, Michael Grant wrote: > I'm upgrading from 4.x to 5.5. I am at the step where I need to make > a generic 5.x kernel, but my GENERIC file is for 4.x. When I did a > 'make update' in /usr/src (which updated my source tree from cvspu), > it didn't suck over /usr/src/sys/i386/conf/GENERIC for 5.5. Where is > this or how do I generate it? I was surprised this didn't come over > when I sucked over 5.5 via cvsup. It raises question in my mind as to > what else it didn't suck over. > > Michael Grant > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" 5.5 GERNERIC config attached. Are you sure your GENERIC isn't updated? (compare it to my file) If it isn't, then I would suggest removing your entire source tree and fetching it again. Regards, Martin ------=_20070310153626_85883 Content-Type: application/octet-stream; name="GENERIC" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="GENERIC" IwojIEdFTkVSSUMgLS0gR2VuZXJpYyBrZXJuZWwgY29uZmlndXJhdGlvbiBmaWxlIGZvciBGcmVl QlNEL2kzODYKIwojIEZvciBtb3JlIGluZm9ybWF0aW9uIG9uIHRoaXMgZmlsZSwgcGxlYXNlIHJl YWQgdGhlIGhhbmRib29rIHNlY3Rpb24gb24KIyBLZXJuZWwgQ29uZmlndXJhdGlvbiBGaWxlczoK IwojICAgIGh0dHA6Ly93d3cuRnJlZUJTRC5vcmcvZG9jL2VuX1VTLklTTzg4NTktMS9ib29rcy9o YW5kYm9vay9rZXJuZWxjb25maWctY29uZmlnLmh0bWwKIwojIFRoZSBoYW5kYm9vayBpcyBhbHNv IGF2YWlsYWJsZSBsb2NhbGx5IGluIC91c3Ivc2hhcmUvZG9jL2hhbmRib29rCiMgaWYgeW91J3Zl IGluc3RhbGxlZCB0aGUgZG9jIGRpc3RyaWJ1dGlvbiwgb3RoZXJ3aXNlIGFsd2F5cyBzZWUgdGhl CiMgRnJlZUJTRCBXb3JsZCBXaWRlIFdlYiBzZXJ2ZXIgKGh0dHA6Ly93d3cuRnJlZUJTRC5vcmcv KSBmb3IgdGhlCiMgbGF0ZXN0IGluZm9ybWF0aW9uLgojCiMgQW4gZXhoYXVzdGl2ZSBsaXN0IG9m IG9wdGlvbnMgYW5kIG1vcmUgZGV0YWlsZWQgZXhwbGFuYXRpb25zIG9mIHRoZQojIGRldmljZSBs aW5lcyBpcyBhbHNvIHByZXNlbnQgaW4gdGhlIC4uLy4uL2NvbmYvTk9URVMgYW5kIE5PVEVTIGZp bGVzLgojIElmIHlvdSBhcmUgaW4gZG91YnQgYXMgdG8gdGhlIHB1cnBvc2Ugb3IgbmVjZXNzaXR5 IG9mIGEgbGluZSwgY2hlY2sgZmlyc3QKIyBpbiBOT1RFUy4KIwojICRGcmVlQlNEOiBzcmMvc3lz L2kzODYvY29uZi9HRU5FUklDLHYgMS40MTMuMi4xMyAyMDA1LzA0LzAyIDE2OjM3OjU4IHNjb3R0 bCBFeHAgJAoKbWFjaGluZQkJaTM4NgpjcHUJCUk0ODZfQ1BVCmNwdQkJSTU4Nl9DUFUKY3B1CQlJ Njg2X0NQVQppZGVudAkJR0VORVJJQwoKIyBUbyBzdGF0aWNhbGx5IGNvbXBpbGUgaW4gZGV2aWNl IHdpcmluZyBpbnN0ZWFkIG9mIC9ib290L2RldmljZS5oaW50cwojaGludHMJCSJHRU5FUklDLmhp bnRzIgkJIyBEZWZhdWx0IHBsYWNlcyB0byBsb29rIGZvciBkZXZpY2VzLgoKb3B0aW9ucyAJU0NI RURfNEJTRAkJIyA0QlNEIHNjaGVkdWxlcgpvcHRpb25zIAlJTkVUCQkJIyBJbnRlck5FVHdvcmtp bmcKb3B0aW9ucyAJSU5FVDYJCQkjIElQdjYgY29tbXVuaWNhdGlvbnMgcHJvdG9jb2xzCm9wdGlv bnMgCUZGUwkJCSMgQmVya2VsZXkgRmFzdCBGaWxlc3lzdGVtCm9wdGlvbnMgCVNPRlRVUERBVEVT CQkjIEVuYWJsZSBGRlMgc29mdCB1cGRhdGVzIHN1cHBvcnQKb3B0aW9ucyAJVUZTX0FDTAkJCSMg U3VwcG9ydCBmb3IgYWNjZXNzIGNvbnRyb2wgbGlzdHMKb3B0aW9ucyAJVUZTX0RJUkhBU0gJCSMg SW1wcm92ZSBwZXJmb3JtYW5jZSBvbiBiaWcgZGlyZWN0b3JpZXMKb3B0aW9ucyAJTURfUk9PVAkJ CSMgTUQgaXMgYSBwb3RlbnRpYWwgcm9vdCBkZXZpY2UKb3B0aW9ucyAJTkZTQ0xJRU5UCQkjIE5l dHdvcmsgRmlsZXN5c3RlbSBDbGllbnQKb3B0aW9ucyAJTkZTU0VSVkVSCQkjIE5ldHdvcmsgRmls ZXN5c3RlbSBTZXJ2ZXIKb3B0aW9ucyAJTkZTX1JPT1QJCSMgTkZTIHVzYWJsZSBhcyAvLCByZXF1 aXJlcyBORlNDTElFTlQKb3B0aW9ucyAJTVNET1NGUwkJCSMgTVNET1MgRmlsZXN5c3RlbQpvcHRp b25zIAlDRDk2NjAJCQkjIElTTyA5NjYwIEZpbGVzeXN0ZW0Kb3B0aW9ucyAJUFJPQ0ZTCQkJIyBQ cm9jZXNzIGZpbGVzeXN0ZW0gKHJlcXVpcmVzIFBTRVVET0ZTKQpvcHRpb25zIAlQU0VVRE9GUwkJ IyBQc2V1ZG8tZmlsZXN5c3RlbSBmcmFtZXdvcmsKb3B0aW9ucyAJR0VPTV9HUFQJCSMgR1VJRCBQ YXJ0aXRpb24gVGFibGVzLgpvcHRpb25zIAlDT01QQVRfNDMJCSMgQ29tcGF0aWJsZSB3aXRoIEJT RCA0LjMgW0tFRVAgVEhJUyFdCm9wdGlvbnMgCUNPTVBBVF9GUkVFQlNENAkJIyBDb21wYXRpYmxl IHdpdGggRnJlZUJTRDQKb3B0aW9ucyAJU0NTSV9ERUxBWT0xNTAwMAkjIERlbGF5IChpbiBtcykg YmVmb3JlIHByb2JpbmcgU0NTSQpvcHRpb25zIAlLVFJBQ0UJCQkjIGt0cmFjZSgxKSBzdXBwb3J0 Cm9wdGlvbnMgCVNZU1ZTSE0JCQkjIFNZU1Ytc3R5bGUgc2hhcmVkIG1lbW9yeQpvcHRpb25zIAlT WVNWTVNHCQkJIyBTWVNWLXN0eWxlIG1lc3NhZ2UgcXVldWVzCm9wdGlvbnMgCVNZU1ZTRU0JCQkj IFNZU1Ytc3R5bGUgc2VtYXBob3JlcwpvcHRpb25zIAlfS1BPU0lYX1BSSU9SSVRZX1NDSEVEVUxJ TkcgIyBQT1NJWCBQMTAwM18xQiByZWFsLXRpbWUgZXh0ZW5zaW9ucwpvcHRpb25zIAlLQkRfSU5T VEFMTF9DREVWCSMgaW5zdGFsbCBhIENERVYgZW50cnkgaW4gL2RldgpvcHRpb25zIAlBSENfUkVH X1BSRVRUWV9QUklOVAkjIFByaW50IHJlZ2lzdGVyIGJpdGZpZWxkcyBpbiBkZWJ1ZwoJCQkJCSMg b3V0cHV0LiAgQWRkcyB+MTI4ayB0byBkcml2ZXIuCm9wdGlvbnMgCUFIRF9SRUdfUFJFVFRZX1BS SU5UCSMgUHJpbnQgcmVnaXN0ZXIgYml0ZmllbGRzIGluIGRlYnVnCgkJCQkJIyBvdXRwdXQuICBB ZGRzIH4yMTVrIHRvIGRyaXZlci4Kb3B0aW9ucyAJQURBUFRJVkVfR0lBTlQJCSMgR2lhbnQgbXV0 ZXggaXMgYWRhcHRpdmUuCgpkZXZpY2UJCWFwaWMJCQkjIEkvTyBBUElDCgojIEJ1cyBzdXBwb3J0 LiAgRG8gbm90IHJlbW92ZSBpc2EsIGV2ZW4gaWYgeW91IGhhdmUgbm8gaXNhIHNsb3RzCmRldmlj ZQkJaXNhCmRldmljZQkJZWlzYQpkZXZpY2UJCXBjaQoKIyBGbG9wcHkgZHJpdmVzCmRldmljZQkJ ZmRjCgojIEFUQSBhbmQgQVRBUEkgZGV2aWNlcwpkZXZpY2UJCWF0YQpkZXZpY2UJCWF0YWRpc2sJ CSMgQVRBIGRpc2sgZHJpdmVzCmRldmljZQkJYXRhcmFpZAkJIyBBVEEgUkFJRCBkcml2ZXMKZGV2 aWNlCQlhdGFwaWNkCQkjIEFUQVBJIENEUk9NIGRyaXZlcwpkZXZpY2UJCWF0YXBpZmQJCSMgQVRB UEkgZmxvcHB5IGRyaXZlcwpkZXZpY2UJCWF0YXBpc3QJCSMgQVRBUEkgdGFwZSBkcml2ZXMKb3B0 aW9ucyAJQVRBX1NUQVRJQ19JRAkjIFN0YXRpYyBkZXZpY2UgbnVtYmVyaW5nCgojIFNDU0kgQ29u dHJvbGxlcnMKZGV2aWNlCQlhaGIJCSMgRUlTQSBBSEExNzQyIGZhbWlseQpkZXZpY2UJCWFoYwkJ IyBBSEEyOTQwIGFuZCBvbmJvYXJkIEFJQzd4eHggZGV2aWNlcwpkZXZpY2UJCWFoZAkJIyBBSEEz OTMyMC8yOTMyMCBhbmQgb25ib2FyZCBBSUM3OXh4IGRldmljZXMKZGV2aWNlCQlhbWQJCSMgQU1E IDUzQzk3NCAoVGVrcmFtIERDLTM5MChUKSkKZGV2aWNlCQlpc3AJCSMgUWxvZ2ljIGZhbWlseQpk ZXZpY2UJCW1wdAkJIyBMU0ktTG9naWMgTVBULUZ1c2lvbgojZGV2aWNlCQluY3IJCSMgTkNSL1N5 bWJpb3MgTG9naWMKZGV2aWNlCQlzeW0JCSMgTkNSL1N5bWJpb3MgTG9naWMgKG5ld2VyIGNoaXBz ZXRzICsgdGhvc2Ugb2YgYG5jcicpCmRldmljZQkJdHJtCQkjIFRla3JhbSBEQzM5NVUvVVcvRiBE QzMxNVUgYWRhcHRlcnMKCmRldmljZQkJYWR2CQkjIEFkdmFuc3lzIFNDU0kgYWRhcHRlcnMKZGV2 aWNlCQlhZHcJCSMgQWR2YW5zeXMgd2lkZSBTQ1NJIGFkYXB0ZXJzCmRldmljZQkJYWhhCQkjIEFk YXB0ZWMgMTU0eCBTQ1NJIGFkYXB0ZXJzCmRldmljZQkJYWljCQkjIEFkYXB0ZWMgMTVbMDEyXXgg U0NTSSBhZGFwdGVycywgQUlDLTZbMjNdNjAuCmRldmljZQkJYnQJCSMgQnVzbG9naWMvTXlsZXgg TXVsdGlNYXN0ZXIgU0NTSSBhZGFwdGVycwoKZGV2aWNlCQluY3YJCSMgTkNSIDUzQzUwMApkZXZp Y2UJCW5zcAkJIyBXb3JrYml0IE5pbmphIFNDU0ktMwpkZXZpY2UJCXN0ZwkJIyBUTUMgMThDMzAv MThDNTAKCiMgU0NTSSBwZXJpcGhlcmFscwpkZXZpY2UJCXNjYnVzCQkjIFNDU0kgYnVzIChyZXF1 aXJlZCBmb3IgU0NTSSkKZGV2aWNlCQljaAkJIyBTQ1NJIG1lZGlhIGNoYW5nZXJzCmRldmljZQkJ ZGEJCSMgRGlyZWN0IEFjY2VzcyAoZGlza3MpCmRldmljZQkJc2EJCSMgU2VxdWVudGlhbCBBY2Nl c3MgKHRhcGUgZXRjKQpkZXZpY2UJCWNkCQkjIENECmRldmljZQkJcGFzcwkJIyBQYXNzdGhyb3Vn aCBkZXZpY2UgKGRpcmVjdCBTQ1NJIGFjY2VzcykKZGV2aWNlCQlzZXMJCSMgU0NTSSBFbnZpcm9u bWVudGFsIFNlcnZpY2VzIChhbmQgU0FGLVRFKQoKIyBSQUlEIGNvbnRyb2xsZXJzIGludGVyZmFj ZWQgdG8gdGhlIFNDU0kgc3Vic3lzdGVtCmRldmljZQkJYW1yCQkjIEFNSSBNZWdhUkFJRApkZXZp Y2UJCWFyY21zcgkJIyBBcmVjYSBTQVRBIElJIFJBSUQKZGV2aWNlCQlhc3IJCSMgRFBUIFNtYXJ0 UkFJRCBWLCBWSSBhbmQgQWRhcHRlYyBTQ1NJIFJBSUQKZGV2aWNlCQljaXNzCQkjIENvbXBhcSBT bWFydCBSQUlEIDUqCmRldmljZQkJZHB0CQkjIERQVCBTbWFydGNhY2hlIElJSSwgSVYgLSBTZWUg Tk9URVMgZm9yIG9wdGlvbnMKZGV2aWNlCQlocHRtdgkJIyBIaWdocG9pbnQgUm9ja2V0UkFJRCAx ODJ4CmRldmljZQkJaWlyCQkjIEludGVsIEludGVncmF0ZWQgUkFJRApkZXZpY2UJCWlwcwkJIyBJ Qk0gKEFkYXB0ZWMpIFNlcnZlUkFJRApkZXZpY2UJCW1seQkJIyBNeWxleCBBY2NlbGVSQUlEL2VY dHJlbWVSQUlECmRldmljZQkJdHdhCQkjIDN3YXJlIDkwMDAgc2VyaWVzIFBBVEEvU0FUQSBSQUlE CgojIFJBSUQgY29udHJvbGxlcnMKZGV2aWNlCQlhYWMJCSMgQWRhcHRlYyBGU0EgUkFJRApkZXZp Y2UJCWFhY3AJCSMgU0NTSSBwYXNzdGhyb3VnaCBmb3IgYWFjIChyZXF1aXJlcyBDQU0pCmRldmlj ZQkJaWRhCQkjIENvbXBhcSBTbWFydCBSQUlECmRldmljZQkJbWx4CQkjIE15bGV4IERBQzk2MCBm YW1pbHkKZGV2aWNlCQlwc3QJCSMgUHJvbWlzZSBTdXBlcnRyYWsgU1g2MDAwCmRldmljZQkJdHdl CQkjIDN3YXJlIEFUQSBSQUlECgojIGF0a2JkYzAgY29udHJvbHMgYm90aCB0aGUga2V5Ym9hcmQg YW5kIHRoZSBQUy8yIG1vdXNlCmRldmljZQkJYXRrYmRjCQkjIEFUIGtleWJvYXJkIGNvbnRyb2xs ZXIKZGV2aWNlCQlhdGtiZAkJIyBBVCBrZXlib2FyZApkZXZpY2UJCXBzbQkJIyBQUy8yIG1vdXNl CgpkZXZpY2UJCXZnYQkJIyBWR0EgdmlkZW8gY2FyZCBkcml2ZXIKCmRldmljZQkJc3BsYXNoCQkj IFNwbGFzaCBzY3JlZW4gYW5kIHNjcmVlbiBzYXZlciBzdXBwb3J0CgojIHN5c2NvbnMgaXMgdGhl IGRlZmF1bHQgY29uc29sZSBkcml2ZXIsIHJlc2VtYmxpbmcgYW4gU0NPIGNvbnNvbGUKZGV2aWNl CQlzYwoKIyBFbmFibGUgdGhpcyBmb3IgdGhlIHBjdnQgKFZUMjIwIGNvbXBhdGlibGUpIGNvbnNv bGUgZHJpdmVyCiNkZXZpY2UJCXZ0CiNvcHRpb25zIAlYU0VSVkVSCQkjIHN1cHBvcnQgZm9yIFgg c2VydmVyIG9uIGEgdnQgY29uc29sZQojb3B0aW9ucyAJRkFUX0NVUlNPUgkjIHN0YXJ0IHdpdGgg YmxvY2sgY3Vyc29yCgpkZXZpY2UJCWFncAkJIyBzdXBwb3J0IHNldmVyYWwgQUdQIGNoaXBzZXRz CgojIEZsb2F0aW5nIHBvaW50IHN1cHBvcnQgLSBkbyBub3QgZGlzYWJsZS4KZGV2aWNlCQlucHgK CiMgUG93ZXIgbWFuYWdlbWVudCBzdXBwb3J0IChzZWUgTk9URVMgZm9yIG1vcmUgb3B0aW9ucykK I2RldmljZQkJYXBtCiMgQWRkIHN1c3BlbmQvcmVzdW1lIHN1cHBvcnQgZm9yIHRoZSBpODI1NC4K ZGV2aWNlCQlwbXRpbWVyCgojIFBDQ0FSRCAoUENNQ0lBKSBzdXBwb3J0CiMgUENNQ0lBIGFuZCBj YXJkYnVzIGJyaWRnZSBzdXBwb3J0CmRldmljZQkJY2JiCQkjIGNhcmRidXMgKHllbnRhKSBicmlk Z2UKZGV2aWNlCQlwY2NhcmQJCSMgUEMgQ2FyZCAoMTYtYml0KSBidXMKZGV2aWNlCQljYXJkYnVz CQkjIENhcmRCdXMgKDMyLWJpdCkgYnVzCgojIFNlcmlhbCAoQ09NKSBwb3J0cwpkZXZpY2UJCXNp bwkJIyA4MjUwLCAxNls0NV01MCBiYXNlZCBzZXJpYWwgcG9ydHMKCiMgUGFyYWxsZWwgcG9ydApk ZXZpY2UJCXBwYwpkZXZpY2UJCXBwYnVzCQkjIFBhcmFsbGVsIHBvcnQgYnVzIChyZXF1aXJlZCkK ZGV2aWNlCQlscHQJCSMgUHJpbnRlcgpkZXZpY2UJCXBsaXAJCSMgVENQL0lQIG92ZXIgcGFyYWxs ZWwKZGV2aWNlCQlwcGkJCSMgUGFyYWxsZWwgcG9ydCBpbnRlcmZhY2UgZGV2aWNlCiNkZXZpY2UJ CXZwbwkJIyBSZXF1aXJlcyBzY2J1cyBhbmQgZGEKCiMgSWYgeW91J3ZlIGdvdCBhICJkdW1iIiBz ZXJpYWwgb3IgcGFyYWxsZWwgUENJIGNhcmQgdGhhdCBpcwojIHN1cHBvcnRlZCBieSB0aGUgcHVj KDQpIGdsdWUgZHJpdmVyLCB1bmNvbW1lbnQgdGhlIGZvbGxvd2luZwojIGxpbmUgdG8gZW5hYmxl IGl0IChjb25uZWN0cyB0byB0aGUgc2lvIGFuZC9vciBwcGMgZHJpdmVycyk6CiNkZXZpY2UgICAg ICAgICBwdWMKCiMgUENJIEV0aGVybmV0IE5JQ3MuCmRldmljZQkJZGUJCSMgREVDL0ludGVsIERD MjF4NHggKGBgVHVsaXAnJykKZGV2aWNlCQllbQkJIyBJbnRlbCBQUk8vMTAwMCBhZGFwdGVyIEdp Z2FiaXQgRXRoZXJuZXQgQ2FyZApkZXZpY2UJCWl4Z2IJCSMgSW50ZWwgUFJPLzEwR2JFIEV0aGVy bmV0IENhcmQKZGV2aWNlCQl0eHAJCSMgM0NvbSAzY1I5OTAgKGBgVHlwaG9vbicnKQpkZXZpY2UJ CXZ4CQkjIDNDb20gM2M1OTAsIDNjNTk1IChgYFZvcnRleCcnKQoKIyBQQ0kgRXRoZXJuZXQgTklD cyB0aGF0IHVzZSB0aGUgY29tbW9uIE1JSSBidXMgY29udHJvbGxlciBjb2RlLgojIE5PVEU6IEJl IHN1cmUgdG8ga2VlcCB0aGUgJ2RldmljZSBtaWlidXMnIGxpbmUgaW4gb3JkZXIgdG8gdXNlIHRo ZXNlIE5JQ3MhCmRldmljZQkJbWlpYnVzCQkjIE1JSSBidXMgc3VwcG9ydApkZXZpY2UJCWJmZQkJ IyBCcm9hZGNvbSBCQ000NDB4IDEwLzEwMCBFdGhlcm5ldApkZXZpY2UJCWJnZQkJIyBCcm9hZGNv bSBCQ001NzB4eCBHaWdhYml0IEV0aGVybmV0CmRldmljZQkJZGMJCSMgREVDL0ludGVsIDIxMTQz IGFuZCB2YXJpb3VzIHdvcmthbGlrZXMKZGV2aWNlCQlmeHAJCSMgSW50ZWwgRXRoZXJFeHByZXNz IFBSTy8xMDBCICg4MjU1NywgODI1NTgpCmRldmljZQkJbGdlCQkjIExldmVsIDEgTFhUMTAwMSBn aWdhYml0IGV0aGVybmV0CmRldmljZQkJbmdlCQkjIE5hdFNlbWkgRFA4MzgyMCBnaWdhYml0IGV0 aGVybmV0CmRldmljZQkJcGNuCQkjIEFNRCBBbTc5Qzk3eCBQQ0kgMTAvMTAwIChwcmVjZWRlbmNl IG92ZXIgJ2xuYycpCmRldmljZQkJcmUJCSMgUmVhbFRlayA4MTM5QysvODE2OS84MTY5Uy84MTEw UwpkZXZpY2UJCXJsCQkjIFJlYWxUZWsgODEyOS84MTM5CmRldmljZQkJc2YJCSMgQWRhcHRlYyBB SUMtNjkxNSAoYGBTdGFyZmlyZScnKQpkZXZpY2UJCXNpcwkJIyBTaWxpY29uIEludGVncmF0ZWQg U3lzdGVtcyBTaVMgOTAwL1NpUyA3MDE2CmRldmljZQkJc2sJCSMgU3lzS29ubmVjdCBTSy05ODR4 ICYgU0stOTgyeCBnaWdhYml0IEV0aGVybmV0CmRldmljZQkJc3RlCQkjIFN1bmRhbmNlIFNUMjAx IChELUxpbmsgREZFLTU1MFRYKQpkZXZpY2UJCXRpCQkjIEFsdGVvbiBOZXR3b3JrcyBUaWdvbiBJ L0lJIGdpZ2FiaXQgRXRoZXJuZXQKZGV2aWNlCQl0bAkJIyBUZXhhcyBJbnN0cnVtZW50cyBUaHVu ZGVyTEFOCmRldmljZQkJdHgJCSMgU01DIEV0aGVyUG93ZXIgSUkgKDgzYzE3MCBgYEVQSUMnJykK ZGV2aWNlCQl2Z2UJCSMgVklBIFZUNjEyeCBnaWdhYml0IGV0aGVybmV0CmRldmljZQkJdnIJCSMg VklBIFJoaW5lLCBSaGluZSBJSQpkZXZpY2UJCXdiCQkjIFdpbmJvbmQgVzg5Qzg0MEYKZGV2aWNl CQl4bAkJIyAzQ29tIDNjOTB4IChgYEJvb21lcmFuZycnLCBgYEN5Y2xvbmUnJykKCiMgSVNBIEV0 aGVybmV0IE5JQ3MuICBwY2NhcmQgTklDcyBpbmNsdWRlZC4KZGV2aWNlCQljcwkJIyBDcnlzdGFs IFNlbWljb25kdWN0b3IgQ1M4OXgwIE5JQwojICdkZXZpY2UgZWQnIHJlcXVpcmVzICdkZXZpY2Ug bWlpYnVzJwpkZXZpY2UJCWVkCQkjIE5FWzEyXTAwMCwgU01DIFVsdHJhLCAzYzUwMywgRFM4Mzkw IGNhcmRzCmRldmljZQkJZXgJCSMgSW50ZWwgRXRoZXJFeHByZXNzIFByby8xMCBhbmQgUHJvLzEw KwpkZXZpY2UJCWVwCQkjIEV0aGVybGluayBJSUkgYmFzZWQgY2FyZHMKZGV2aWNlCQlmZQkJIyBG dWppdHN1IE1CODY5NnggYmFzZWQgY2FyZHMKZGV2aWNlCQlpZQkJIyBFdGhlckV4cHJlc3MgOC8x NiwgM0M1MDcsIFN0YXJMQU4gMTAgZXRjLgpkZXZpY2UJCWxuYwkJIyBORTIxMDAsIE5FMzItVkwg TGFuY2UgRXRoZXJuZXQgY2FyZHMKZGV2aWNlCQlzbgkJIyBTTUMncyA5MDAwIHNlcmllcyBvZiBF dGhlcm5ldCBjaGlwcwpkZXZpY2UJCXhlCQkjIFhpcmNvbSBwY2NhcmQgRXRoZXJuZXQKCiMgSVNB IGRldmljZXMgdGhhdCB1c2UgdGhlIG9sZCBJU0Egc2hpbXMKI2RldmljZQkJbGUKCiMgV2lyZWxl c3MgTklDIGNhcmRzCmRldmljZQkJd2xhbgkJIyA4MDIuMTEgc3VwcG9ydApkZXZpY2UJCWFuCQkj IEFpcm9uZXQgNDUwMC80ODAwIDgwMi4xMSB3aXJlbGVzcyBOSUNzLgpkZXZpY2UJCWF3aQkJIyBC YXlTdGFjayA2NjAgYW5kIG90aGVycwpkZXZpY2UJCXdpCQkjIFdhdmVMQU4vSW50ZXJzaWwvU3lt Ym9sIDgwMi4xMSB3aXJlbGVzcyBOSUNzLgojZGV2aWNlCQl3bAkJIyBPbGRlciBub24gODAyLjEx IFdhdmVsYW4gd2lyZWxlc3MgTklDLgoKIyBQc2V1ZG8gZGV2aWNlcy4KZGV2aWNlCQlsb29wCQkj IE5ldHdvcmsgbG9vcGJhY2sKZGV2aWNlCQltZW0JCSMgTWVtb3J5IGFuZCBrZXJuZWwgbWVtb3J5 IGRldmljZXMKZGV2aWNlCQlpbwkJIyBJL08gZGV2aWNlCmRldmljZQkJcmFuZG9tCQkjIEVudHJv cHkgZGV2aWNlCmRldmljZQkJZXRoZXIJCSMgRXRoZXJuZXQgc3VwcG9ydApkZXZpY2UJCXNsCQkj IEtlcm5lbCBTTElQCmRldmljZQkJcHBwCQkjIEtlcm5lbCBQUFAKZGV2aWNlCQl0dW4JCSMgUGFj a2V0IHR1bm5lbC4KZGV2aWNlCQlwdHkJCSMgUHNldWRvLXR0eXMgKHRlbG5ldCBldGMpCmRldmlj ZQkJbWQJCSMgTWVtb3J5ICJkaXNrcyIKZGV2aWNlCQlnaWYJCSMgSVB2NiBhbmQgSVB2NCB0dW5u ZWxpbmcKZGV2aWNlCQlmYWl0aAkJIyBJUHY2LXRvLUlQdjQgcmVsYXlpbmcgKHRyYW5zbGF0aW9u KQoKIyBUaGUgYGJwZicgZGV2aWNlIGVuYWJsZXMgdGhlIEJlcmtlbGV5IFBhY2tldCBGaWx0ZXIu CiMgQmUgYXdhcmUgb2YgdGhlIGFkbWluaXN0cmF0aXZlIGNvbnNlcXVlbmNlcyBvZiBlbmFibGlu ZyB0aGlzIQojIE5vdGUgdGhhdCAnYnBmJyBpcyByZXF1aXJlZCBmb3IgREhDUC4KZGV2aWNlCQli cGYJCSMgQmVya2VsZXkgcGFja2V0IGZpbHRlcgoKIyBVU0Igc3VwcG9ydApkZXZpY2UJCXVoY2kJ CSMgVUhDSSBQQ0ktPlVTQiBpbnRlcmZhY2UKZGV2aWNlCQlvaGNpCQkjIE9IQ0kgUENJLT5VU0Ig aW50ZXJmYWNlCiNkZXZpY2UJCWVoY2kJCSMgRUhDSSBQQ0ktPlVTQiBpbnRlcmZhY2UgKFVTQiAy LjApCmRldmljZQkJdXNiCQkjIFVTQiBCdXMgKHJlcXVpcmVkKQojZGV2aWNlCQl1ZGJwCQkjIFVT QiBEb3VibGUgQnVsayBQaXBlIGRldmljZXMKZGV2aWNlCQl1Z2VuCQkjIEdlbmVyaWMKZGV2aWNl CQl1aGlkCQkjICJIdW1hbiBJbnRlcmZhY2UgRGV2aWNlcyIKZGV2aWNlCQl1a2JkCQkjIEtleWJv YXJkCmRldmljZQkJdWxwdAkJIyBQcmludGVyCmRldmljZQkJdW1hc3MJCSMgRGlza3MvTWFzcyBz dG9yYWdlIC0gUmVxdWlyZXMgc2NidXMgYW5kIGRhCmRldmljZQkJdW1zCQkjIE1vdXNlCmRldmlj ZQkJdXJpbwkJIyBEaWFtb25kIFJpbyA1MDAgTVAzIHBsYXllcgpkZXZpY2UJCXVzY2FubmVyCSMg U2Nhbm5lcnMKIyBVU0IgRXRoZXJuZXQsIHJlcXVpcmVzIG1paQpkZXZpY2UJCWF1ZQkJIyBBRE10 ZWsgVVNCIEV0aGVybmV0CmRldmljZQkJYXhlCQkjIEFTSVggRWxlY3Ryb25pY3MgVVNCIEV0aGVy bmV0CmRldmljZQkJY2RjZQkJIyBHZW5lcmljIFVTQiBvdmVyIEV0aGVybmV0CmRldmljZQkJY3Vl CQkjIENBVEMgVVNCIEV0aGVybmV0CmRldmljZQkJa3VlCQkjIEthd2FzYWtpIExTSSBVU0IgRXRo ZXJuZXQKZGV2aWNlCQlydWUJCSMgUmVhbFRlayBSVEw4MTUwIFVTQiBFdGhlcm5ldAoKIyBGaXJl V2lyZSBzdXBwb3J0CmRldmljZQkJZmlyZXdpcmUJIyBGaXJlV2lyZSBidXMgY29kZQpkZXZpY2UJ CXNicAkJIyBTQ1NJIG92ZXIgRmlyZVdpcmUgKFJlcXVpcmVzIHNjYnVzIGFuZCBkYSkKZGV2aWNl CQlmd2UJCSMgRXRoZXJuZXQgb3ZlciBGaXJlV2lyZSAobm9uLXN0YW5kYXJkISkK ------=_20070310153626_85883-- From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 14:48:08 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 18D0116A406 for ; Sat, 10 Mar 2007 14:48:08 +0000 (UTC) (envelope-from raggen@passagen.se) Received: from av6-1-sn3.vrr.skanova.net (av6-1-sn3.vrr.skanova.net [81.228.9.179]) by mx1.freebsd.org (Postfix) with ESMTP id C859B13C467 for ; Sat, 10 Mar 2007 14:48:07 +0000 (UTC) (envelope-from raggen@passagen.se) Received: by av6-1-sn3.vrr.skanova.net (Postfix, from userid 502) id A9B2B37F62; Sat, 10 Mar 2007 15:26:39 +0100 (CET) Received: from smtp3-2-sn3.vrr.skanova.net (smtp3-2-sn3.vrr.skanova.net [81.228.9.102]) by av6-1-sn3.vrr.skanova.net (Postfix) with ESMTP id 7ADFF37EB4; Sat, 10 Mar 2007 15:26:39 +0100 (CET) Received: from [192.168.1.6] (81-231-90-251-no41.tbcn.telia.com [81.231.90.251]) by smtp3-2-sn3.vrr.skanova.net (Postfix) with ESMTP id 2970537E47; Sat, 10 Mar 2007 15:26:39 +0100 (CET) Message-ID: <45F2BFA2.9030705@passagen.se> Date: Sat, 10 Mar 2007 15:24:34 +0100 From: Roger Olofsson User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: David Schulz References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: Advice on IDS & co. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 14:48:08 -0000 Hello David, I've been using chkrootkit and it's fairly simple. Aide is a more free version of Tripwire and you might want to look at Snort. Both are in the ports tree. I suppose you have a firewall like IPFilter or PF already? I've been keeping an eye out for a really slick syslogfile analyzer, I'd be grateful for any tips on something in that direction. Good luck! David Schulz skrev: > Hello all, > > I would like to know what you guys think about chkrootkit, rkhunter and > tripwire. > > I am considering adding them on my Server for some added Security. I am > aware, the holy grail would be to really dive into Jails, and the > macframework, but still i would like to have some opinions on those > mentioned Tools. Also, if you have other neat tricks to add some > security to a Server, do tell. > > Thank you very much and best regards, > David > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > > --No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.446 / Virus Database: 268.18.8/716 - Release Date: > 2007-03-09 18:53 > > From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 15:35:56 2007 Return-Path: X-Original-To: FreeBSD-questions@FreeBSD.org Delivered-To: FreeBSD-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E3ED16A400 for ; Sat, 10 Mar 2007 15:35:56 +0000 (UTC) (envelope-from chris@hier7.com) Received: from smtp101.rog.mail.re2.yahoo.com (smtp101.rog.mail.re2.yahoo.com [206.190.36.79]) by mx1.freebsd.org (Postfix) with SMTP id 1B65113C48D for ; Sat, 10 Mar 2007 15:35:55 +0000 (UTC) (envelope-from chris@hier7.com) Received: (qmail 50710 invoked from network); 10 Mar 2007 15:35:55 -0000 Received: from unknown (HELO ?192.168.0.165?) (cms.kw@rogers.com@74.109.56.68 with plain) by smtp101.rog.mail.re2.yahoo.com with SMTP; 10 Mar 2007 15:35:55 -0000 X-YMail-OSG: KWhC704VM1kjf6v6.BTgg2HqtTfAciHHWzKbe_6yqq3.7s.YaCZoQN5fTZuGOfozFw-- Message-ID: <45F2D05D.5060503@hier7.com> Date: Sat, 10 Mar 2007 10:35:57 -0500 From: Chris Slothouber Organization: hier7 User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: FreeBSD-questions@FreeBSD.org References: <45F2C73C.1090500@rogers.com> In-Reply-To: <45F2C73C.1090500@rogers.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Some questions from a newcomer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 15:35:56 -0000 Mike Jakubik wrote: > Daniel Mouritsen wrote: > You don't need the developer packages to compile or use the ports. I > would recommend you choose the basic user option instead. > >> Also, i was wondering, i tried playing around with portsnap, but dear >> lord >> it was slow :D I tried googling for European mirrors close to me, but i >> haven't had much success, any help with finding a faster portsnap server >> would be much appreciated > > You may want to try cvsup instead. net/cvsup-without-gui is probably the port you'd want to use. Check out /usr/share/examples/cvsup/ports-supfile for some useful examples. Copy this file to another location and edit it to include your list of cvs mirrors (see below) and other options. You can also look in the above directory for other supfile examples, dealing with src tree, docs, etc. Also, check out the following URL from the FreeBSD Handbook (a very valuable resource) for a list of worldwide mirrors: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html#CVSUP-MIRRORS For a means of finding the 'fastest' cvs mirror, try installing sysutils/fastest_cvsup Depending on your Internet connection, you can control the amount of connections cvsup uses. For example, if you have a fast (e.g. broadband) connection, you can do: cvsup -P m /path/to/supfile This will multiplex the connections and usually afford better performance. From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 15:55:56 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CF3EA16A404 for ; Sat, 10 Mar 2007 15:55:56 +0000 (UTC) (envelope-from dima.sorkin@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.freebsd.org (Postfix) with ESMTP id 69C7713C48D for ; Sat, 10 Mar 2007 15:55:56 +0000 (UTC) (envelope-from dima.sorkin@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so1602185ugh for ; Sat, 10 Mar 2007 07:55:55 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=s/3oaNtjilCicp/LtZylhD0QLKJZndKzn5Bm0TpkYC7XVWmEWZmrw2Pe2QvQXsUwD7omAFX5iXS6Be83ip7nPXZZVShqLQvsJH/mVVD3W+vSwhM2oLJHb4lc68Rwu6bq9jwFi7o12eboalPoi3XVMqqH9+F9An9ouakTT04e1sw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=uTxreNChqoNOVQPKvaDJJVAjTePq/ueYWxYCODO0agqxu133+fAdiMrE8nSHEbVcFldSarfOE+fRKVTriHT03yUIxjGU8kO5oXEhFgkv7RnkMJCCzyiU4Iyq3WBlYGch4uMYXpVuz8cgSiyRlNhswBgayPmthg/IVMVTdMrGmFQ= Received: by 10.115.106.7 with SMTP id i7mr319608wam.1173542154303; Sat, 10 Mar 2007 07:55:54 -0800 (PST) Received: by 10.114.184.11 with HTTP; Sat, 10 Mar 2007 07:55:54 -0800 (PST) Message-ID: Date: Sat, 10 Mar 2007 17:55:54 +0200 From: "Dima Sorkin" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: ssh login as 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: Sat, 10 Mar 2007 15:55:56 -0000 Hi. It _seems_ that FreeBSD does not allow root to login remotely via ssh. I can miss something, but if I right, how do I allow it ? Thanks and regards, Dima. From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 15:58:01 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6E84716A408 for ; Sat, 10 Mar 2007 15:58:01 +0000 (UTC) (envelope-from bconway@clue4all.net) Received: from sccrmhc14.comcast.net (sccrmhc14.comcast.net [204.127.200.84]) by mx1.freebsd.org (Postfix) with ESMTP id 2DA0913C4B2 for ; Sat, 10 Mar 2007 15:58:00 +0000 (UTC) (envelope-from bconway@clue4all.net) Received: from ladyluck.clue4all.net (c-24-63-37-229.hsd1.nh.comcast.net[24.63.37.229]) by comcast.net (sccrmhc14) with ESMTP id <2007031015580001400rrnv7e>; Sat, 10 Mar 2007 15:58:00 +0000 Received: from ladyluck.clue4all.net (localhost.localdomain [127.0.0.1]) by ladyluck.clue4all.net (Postfix) with SMTP id D67432D4118 for ; Sat, 10 Mar 2007 10:57:59 -0500 (EST) Date: Sat, 10 Mar 2007 10:57:59 -0500 From: "Brian J. Conway" To: freebsd-questions@freebsd.org Message-Id: <20070310105759.6980f90e.bconway@clue4all.net> Organization: Clue 4 All, Inc. X-Mailer: Sylpheed version 1.0.5 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Periodic xl watchdog timeouts on 6.2-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 15:58:01 -0000 > I had exactly the same problem in my acpi-blacklisted motherboard. I > disabled acpi and the errors vanished. In my case, this error was not > related with NICs, but exclusively with the motherboard. Interesting. I hadn't thought of that, but I am using ACPI now where I was not on 4.x. I'll give that a try next time it happens. I would have hoped the motherboard would be up to par (Intel D845GVSR with the latest BIOS - http://www.intel.com/products/motherboard/D845GVSR/index.htm), but maybe not. Thanks. (Sorry for the bad threading, I'm off list and copying off the web archive.) Brian J. Conway From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 16:02:29 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B14C916A41B for ; Sat, 10 Mar 2007 16:02:29 +0000 (UTC) (envelope-from mailinglists@tca-cable-connector.com) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by mx1.freebsd.org (Postfix) with ESMTP id 476A813C48E for ; Sat, 10 Mar 2007 16:02:29 +0000 (UTC) (envelope-from mailinglists@tca-cable-connector.com) Received: from [218.16.58.208] (helo=munin.tcaportal.com) by mrelayeu.kundenserver.de (node=mrelayeu8) with ESMTP (Nemesis), id 0ML31I-1HQ41a2i4v-0005Cx; Sat, 10 Mar 2007 17:02:27 +0100 Received: from [10.0.1.41] (unknown [219.132.231.14]) by munin.tcaportal.com (Postfix) with ESMTP id 01809A6C60 for ; Sat, 10 Mar 2007 23:59:44 +0800 (HKT) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: David Schulz Date: Sun, 11 Mar 2007 00:02:17 +0800 To: FreeBSD Questions X-Mailer: Apple Mail (2.752.3) X-Provags-ID: kundenserver.de abuse@kundenserver.de login:1405312fe15d228f5bad0d2fcbb6dc17 X-Provags-ID2: V01U2FsdGVkX18nCejct48FzptME4nh9aJOCAyVQd+5vLnML+y 6hmE6cqx09lG1FDIcy9r26sxX0Bfnsspg88t8ljMsggI0/mup2 yzSAQYULT7L3NDQJ/QyqQ== Cc: Subject: Re: ssh login as 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: Sat, 10 Mar 2007 16:02:29 -0000 You must specify to allow root in your sshd_config. noone will ever recommend that you do that though. On Mar 10, 2007, at 11:55 PM, Dima Sorkin wrote: > Hi. > It _seems_ that FreeBSD does not allow root to login remotely via ssh. > I can miss something, but if I right, how > do I allow it ? > > Thanks and regards, > Dima. > _______________________________________________ > 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 Mar 10 16:04:23 2007 Return-Path: X-Original-To: FreeBSD-questions@freebsd.org Delivered-To: FreeBSD-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A6AEC16A401 for ; Sat, 10 Mar 2007 16:04:23 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr11.xs4all.nl (smtp-vbr11.xs4all.nl [194.109.24.31]) by mx1.freebsd.org (Postfix) with ESMTP id 4041B13C4A6 for ; Sat, 10 Mar 2007 16:04:23 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr11.xs4all.nl (8.13.8/8.13.8) with ESMTP id l2AG4GJ6081631; Sat, 10 Mar 2007 17:04:16 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 1D8F5B845; Sat, 10 Mar 2007 17:04:16 +0100 (CET) Date: Sat, 10 Mar 2007 17:04:16 +0100 From: Roland Smith To: Chris Slothouber Message-ID: <20070310160416.GA42869@slackbox.xs4all.nl> Mail-Followup-To: Chris Slothouber , FreeBSD-questions@freebsd.org References: <45F2C73C.1090500@rogers.com> <45F2D05D.5060503@hier7.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ew6BAiZeqk4r7MaW" Content-Disposition: inline In-Reply-To: <45F2D05D.5060503@hier7.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.14 (2007-02-12) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD-questions@freebsd.org Subject: Re: Some questions from a newcomer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 16:04:23 -0000 --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 10, 2007 at 10:35:57AM -0500, Chris Slothouber wrote: >=20 > Mike Jakubik wrote: > >Daniel Mouritsen wrote: > >You don't need the developer packages to compile or use the ports. I=20 > >would recommend you choose the basic user option instead. > > > >>Also, i was wondering, i tried playing around with portsnap, but dear= =20 > >>lord > >>it was slow :D I tried googling for European mirrors close to me, but i > >>haven't had much success, any help with finding a faster portsnap server > >>would be much appreciated > > > >You may want to try cvsup instead. >=20 > net/cvsup-without-gui is probably the port you'd want to use. Check out= =20 A rewrite in C of the cvsup program, called 'csup' is in the base system in 6.2, so you don't really need this port. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --ew6BAiZeqk4r7MaW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFF8tcAEnfvsMMhpyURArm8AJwIniS9bc3OJpVxyNLoQ5caEAt5ZgCfQh2J bhdEBxFkbceL5s+NjR6qdN4= =zhUM -----END PGP SIGNATURE----- --ew6BAiZeqk4r7MaW-- From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 16:08:57 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8FD7116A400 for ; Sat, 10 Mar 2007 16:08:57 +0000 (UTC) (envelope-from jeremy.gransden@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.231]) by mx1.freebsd.org (Postfix) with ESMTP id 4A92E13C47E for ; Sat, 10 Mar 2007 16:08:56 +0000 (UTC) (envelope-from jeremy.gransden@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so1097368wxc for ; Sat, 10 Mar 2007 08:08:56 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=dWwFNJwdLtrDCvJZfHtchs7ZDjyY/xzcElrzelSCEGaOE1fsBXRMQj/1mibE2r36dAjrz8RTERc3Y3iD527iBSnIaUtrWgKcugT2lLB9yvHxyLUsKA+1v2bvDjMFjBjo5fq8vQHvRIgOa9E+nouxD19I7qag82e8rp67d2Q1oh8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=t7gLCaSxgNojJj43lwu/8ixxnK/7dL+3X3kVTxJh2iDiwh45TZEtlGjcxC9/5xJLrhqRPu1H9poACYgdvQWsUCua5IFep0XRn58Z0FGGXj9fcp8aLaxCBxKu5I2O0L3F6wmnZSTLIN1L5bZV46f33BrfHer/ULtnGBnb8+jevTM= Received: by 10.70.131.19 with SMTP id e19mr5740126wxd.1173542936388; Sat, 10 Mar 2007 08:08:56 -0800 (PST) Received: by 10.100.142.13 with HTTP; Sat, 10 Mar 2007 08:08:56 -0800 (PST) Message-ID: <87f7f4170703100808v6f17ff54v5fd1a5ae03713352@mail.gmail.com> Date: Sat, 10 Mar 2007 11:08:56 -0500 From: "Jeremy Gransden" To: "Dima Sorkin" In-Reply-To: MIME-Version: 1.0 References: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: ssh login as 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: Sat, 10 Mar 2007 16:08:57 -0000 On 3/10/07, Dima Sorkin wrote: > > Hi. > It _seems_ that FreeBSD does not allow root to login remotely via ssh. > I can miss something, but if I right, how > do I allow it ? > > Thanks and regards, > Dima. > _______________________________________________ > 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" Its generally not a good idea (hence, why it is turned off by default). You can login as a user and su to root. see sshd_config for how to turn it on. jeremy From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 16:21:16 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2E27416A401 for ; Sat, 10 Mar 2007 16:21:16 +0000 (UTC) (envelope-from ulrich@pukruppa.net) Received: from pukruppa.net (pukruppa.net [213.146.114.24]) by mx1.freebsd.org (Postfix) with ESMTP id 883C313C494 for ; Sat, 10 Mar 2007 16:21:15 +0000 (UTC) (envelope-from ulrich@pukruppa.net) Received: from pukruppa.net (pukruppa.net [213.146.114.24]) by pukruppa.net (8.13.8/8.13.8) with ESMTP id l2AGPUJL060560; Sat, 10 Mar 2007 17:25:30 +0100 (CET) (envelope-from ulrich@pukruppa.net) Date: Sat, 10 Mar 2007 17:25:30 +0100 (CET) From: "P.U.Kruppa" To: Sebastien In-Reply-To: <1173532221.46449.37.camel@dell.sinux.seb> Message-ID: <20070310172230.W2869@pukruppa.net> References: <1173532221.46449.37.camel@dell.sinux.seb> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD questions Subject: Re: Xorg color depth problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 16:21:16 -0000 On Sat, 10 Mar 2007, Sebastien wrote: > > Hi all, > > I use to solve difficulties by myself but I'm a bit lost with this one. > > Without any special event appened, I noticed that pictures was strangly > displayed. It's a bit difficult to explain but it's certainly due to a > low color depth. > > I've same color problem with pictures and vids.and different WM (kde > wmaker). Obviousli I've tested my hardware first. > > I don't now how to investigate (I'm not a newbee but not so far ;-) > could someone lead me ? A first step could be to send your xorg.conf and let us know what kind of graphics card you use. Greetings, Uli. > > > > > > > > ========= > grep -i depth /var/log/Xorg.0.log > > (**) RADEON(0): Depth 24, (--) framebuffer bpp 32 > (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps) > (--) Depth 24 pixmap format is 32 bpp > (II) RADEON(0): Depth moves disabled by default > ========= > > > > FreeBSD 6.0-RELEASE-p5 > xorg 6.9.0_6 > > _______________________________________________ > 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" > Peter Ulrich Kruppa Wuppertal Germany From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 16:32:37 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3992D16A400 for ; Sat, 10 Mar 2007 16:32:37 +0000 (UTC) (envelope-from seba.group@sinux.net) Received: from smtp1.infomaniak.ch (smtp1.infomaniak.ch [84.16.68.89]) by mx1.freebsd.org (Postfix) with ESMTP id A42FC13C441 for ; Sat, 10 Mar 2007 16:32:36 +0000 (UTC) (envelope-from seba.group@sinux.net) Received: from [172.16.2.104] (84-74-168-200.dclient.hispeed.ch [84.74.168.200]) (authenticated bits=0) by smtp1.infomaniak.ch (8.13.6/8.13.6) with ESMTP id l2AGWY3A026148 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Sat, 10 Mar 2007 17:32:34 +0100 From: Sebastien To: FreeBSD questions In-Reply-To: <20070310172230.W2869@pukruppa.net> References: <1173532221.46449.37.camel@dell.sinux.seb> <20070310172230.W2869@pukruppa.net> Content-Type: text/plain; charset=ISO-8859-1 Date: Sat, 10 Mar 2007 17:34:24 +0100 Message-Id: <1173544464.901.4.camel@dell.sinux.seb> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit X-Antivirus: Dr.Web (R) for Mail Servers on smtp1 host X-Antivirus-Code: 100000 Subject: Re: Xorg color depth problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 16:32:37 -0000 Le Samedi 10 mars 2007 à 17:25 +0100, P.U.Kruppa a écrit : > > I don't now how to investigate (I'm not a newbee but not so far ;-) > > could someone lead me ? > A first step could be to send your xorg.conf and let us know what > kind of graphics card you use. *********************** /etc/X11/xorg.conf *********************** Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" ModulePath "/usr/X11R6/lib/modules" # FontPath "/usr/X11R6/lib/X11/fonts/CID/" FontPath "/usr/X11R6/lib/X11/fonts/misc" FontPath "/usr/X11R6/lib/X11/fonts/TTF" FontPath "/usr/X11R6/lib/X11/fonts/75dpi" FontPath "/usr/X11R6/lib/X11/fonts/100dpi" FontPath "/usr/local/share/fonts" EndSection Section "Module" Load "dbe" Load "dri" Load "extmod" Load "glx" Load "record" Load "xtrap" Load "freetype" Load "type1" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbLayout" "ch(fr)" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5" EndSection Section "Monitor" #DisplaySize 370 230 # mm Identifier "Monitor0" VendorName "LPL" ModelName "0" EndSection Section "Monitor" Identifier "Philips_43100" VendorName "Philips" ModelName "26PF4310" # VertRefresh 47-85 # HorizSync "31-80" # TV fullscreen mode or DVD fullscreen output. # 1200x1024 @ 75 Hz, 50 kHz hsync # ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630 # # 768x576 @ 100 Hz, 61.6 kHz hsync # ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616 EndSection Section "Device" Identifier "Card0" Driver "radeon" VendorName "ATI Technologies Inc" BoardName "Unknown Board" BusID "PCI:1:0:0" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz" ### [arg]: arg optional # Option "NoAccel" # [] # Option "SWcursor" # [] # Option "Dac6Bit" # [] # Option "Dac8Bit" # [] # Option "BusType" # [] # Option "CPPIOMode" # [] # Option "CPusecTimeout" # Option "AGPMode" "8" # Option "AGPFastWrite" "True" # [] # Option "AGPSize" # # Option "GARTSize" # # Option "RingSize" # # Option "BufferSize" # # Option "EnableDepthMoves" # [] # Option "EnablePageFlip" # [] # Option "NoBackBuffer" # [] # Option "PanelOff" # [] # Option "DDCMode" "True" # [] # Option "MonitorLayout" "LVDS, LVDS " # [] # Option "IgnoreEDID" # [] # Option "UseFBDev" # [] # Option "VideoKey" # # Option "MergedFB" "True" # [] # Option "CRT2HSync" "31-80" # [] # Option "CRT2VRefresh" "47-85" # [] # Option "CRT2Position" "Clone" # [] # Option "MetaModes" "1024x768" # [] # Option "MergedDPI" # [] # Option "NoMergedXinerama" # [] # Option "MergedXineramaCRT2IsScreen0" # [] # Option "DisplayPriority" # [] # Option "PanelSize" # [] # Option "ForceMinDotClock" # Option "RenderAccel" "True" # [] Option "SubPixelOrder" "RGB" # [] # Option "ShowCache" # [] # Option "DynamicClocks" # [] Option "ReverseDDC" "True" # [] Option "OverlayOnCRTC2" "True" # [] EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 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 From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 16:43:45 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2BCE116A401 for ; Sat, 10 Mar 2007 16:43:45 +0000 (UTC) (envelope-from dima.sorkin@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id D9B0E13C4BA for ; Sat, 10 Mar 2007 16:43:44 +0000 (UTC) (envelope-from dima.sorkin@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so939136ana for ; Sat, 10 Mar 2007 08:43:44 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hcg0Jed+SCUCvzuEaQeeedwc2tuWVtEzUqMvCm/a9O88gqRJr+zsLt4sDT2+jjGgTkvHQAcQd4tq9Gh6DQCRh12Jyt5KrUn5P0wvd+heMsHwM4nz1uHIwa4sLcME1MqbleJVAor2GDh4P3dsay62EliXX0ObOOXxSGZSG4CNcXk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NgrGG6kMQSTyjlpSbd0pvxCD79fawaOXOQUjBNMWWcPq/bJYznkcn3pAQ9TVk3nbe8MELhMRIDEzIQfXkQmN4buubp+q3996CeuVQZk5JVQ9Vg3Yq6ONa3UTlmbFpd3x1MRxI6Rh/lmMSJQNXmhBCXM45uj0vXQNE5KI+m+LJU8= Received: by 10.114.151.13 with SMTP id y13mr379106wad.1173545023663; Sat, 10 Mar 2007 08:43:43 -0800 (PST) Received: by 10.114.184.11 with HTTP; Sat, 10 Mar 2007 08:43:43 -0800 (PST) Message-ID: Date: Sat, 10 Mar 2007 18:43:43 +0200 From: "Dima Sorkin" To: freebsd-questions@freebsd.org In-Reply-To: <3FCB18F9-CBF6-4D14-AD0F-92658914454E@rottnic.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3FCB18F9-CBF6-4D14-AD0F-92658914454E@rottnic.nl> Subject: Re: ssh login as 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: Sat, 10 Mar 2007 16:43:45 -0000 Hi. Actually I would prefer to do it via "su". Here a really newbie question: 1) How do I join regular user to 'wheel' group ? 2) How do I join a user to some group 'some_group' ?. Which manpage to read ? Thanks, Dima. On 3/10/07, Guido Demmenie wrote: > Default setting is that root can not login via ssh (and that's how > you want it). > You can use su(1) to gain root privileges when loged in on your box > with a normal > user if needed (if you are in the group wheel). From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 16:44:08 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B65EA16A403 for ; Sat, 10 Mar 2007 16:44:08 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [80.253.10.82]) by mx1.freebsd.org (Postfix) with ESMTP id 6F6B013C442 for ; Sat, 10 Mar 2007 16:44:08 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from admin.sem.ipt.ru ([192.168.12.1] helo=ipt.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1HQ4fu-000BHl-IO; Sat, 10 Mar 2007 19:44:06 +0300 Received: from bsam by ipt.ru with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1HQ4k1-000B2V-8q; Sat, 10 Mar 2007 19:48:21 +0300 To: "Dima Sorkin" References: From: Boris Samorodov Date: Sat, 10 Mar 2007 19:48:21 +0300 In-Reply-To: (Dima Sorkin's message of "Sat, 10 Mar 2007 17:55:54 +0200") Message-ID: <65578026@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: ssh login as 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: Sat, 10 Mar 2007 16:44:08 -0000 On Sat, 10 Mar 2007 17:55:54 +0200 Dima Sorkin wrote: > It _seems_ that FreeBSD does not allow root to login remotely via ssh. > I can miss something, but if I right, how > do I allow it ? One should never login (local or remote) as root. Use an ordinary login and then su/sudo only at a short period when you really need it. Anyway, you may do "man sshd_config" and "/RootLogin" to _read_ how to allow root login via ssh. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 16:49:01 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 83B2A16A401 for ; Sat, 10 Mar 2007 16:49:01 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 576C213C441 for ; Sat, 10 Mar 2007 16:49:01 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from localhost (unknown [128.237.230.33]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTP id 3870CEBC62; Sat, 10 Mar 2007 11:49:00 -0500 (EST) Date: Sat, 10 Mar 2007 11:49:10 -0500 From: Bill Moran To: "Dima Sorkin" Message-Id: <20070310114910.dea4a23d.wmoran@potentialtech.com> In-Reply-To: References: <3FCB18F9-CBF6-4D14-AD0F-92658914454E@rottnic.nl> Organization: Potential Technologies X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.9; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: ssh login as 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: Sat, 10 Mar 2007 16:49:01 -0000 On Sat, 10 Mar 2007 18:43:43 +0200 "Dima Sorkin" wrote: > Hi. > Actually I would prefer to do it via "su". > Here a really newbie question: > 1) How do I join regular user to 'wheel' group ? > 2) How do I join a user to some group 'some_group' ?. > Which manpage to read ? man pw (but this one is quite a read) You can also edit /etc/group directly, see man 5 group -- Bill Moran Potential Technologies http://www.potentialtech.com From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 16:58:56 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A4C5116A402 for ; Sat, 10 Mar 2007 16:58:56 +0000 (UTC) (envelope-from mailinglists@tca-cable-connector.com) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by mx1.freebsd.org (Postfix) with ESMTP id 36AAC13C47E for ; Sat, 10 Mar 2007 16:58:56 +0000 (UTC) (envelope-from mailinglists@tca-cable-connector.com) Received: from [218.16.58.208] (helo=munin.tcaportal.com) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis), id 0ML25U-1HQ4i33lmi-0003B4; Sat, 10 Mar 2007 17:46:20 +0100 Received: from [10.0.1.41] (unknown [219.132.231.14]) by munin.tcaportal.com (Postfix) with ESMTP id 523ECA6C60 for ; Sun, 11 Mar 2007 00:43:35 +0800 (HKT) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: References: <3FCB18F9-CBF6-4D14-AD0F-92658914454E@rottnic.nl> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <6633473D-147D-4CED-97FF-5C186781D4E9@tca-cable-connector.com> Content-Transfer-Encoding: 7bit From: David Schulz Date: Sun, 11 Mar 2007 00:45:52 +0800 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.752.3) X-Provags-ID: kundenserver.de abuse@kundenserver.de login:1405312fe15d228f5bad0d2fcbb6dc17 X-Provags-ID2: V01U2FsdGVkX19ZLA/qrz4Cns+ZziA4uhunPH9SnE2EPZzctz1 XErN0MEWeqQEcqpCOBSzQUZCxDNqSEzJ7hgpF9Fd2PiYwXEeq4 blwkjLHh0yA2d9o5m7d9A== Subject: Re: ssh login as 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: Sat, 10 Mar 2007 16:58:56 -0000 Hi, man pw here is a nice tutorial -> http://www.bsdguides.org/guides/freebsd/ beginners/manage_users_pw.php Bye, David On Mar 11, 2007, at 12:43 AM, Dima Sorkin wrote: > Hi. > Actually I would prefer to do it via "su". > Here a really newbie question: > 1) How do I join regular user to 'wheel' group ? > 2) How do I join a user to some group 'some_group' ?. > Which manpage to read ? > > Thanks, > Dima. > > On 3/10/07, Guido Demmenie wrote: > >> Default setting is that root can not login via ssh (and that's how >> you want it). >> You can use su(1) to gain root privileges when loged in on your box >> with a normal >> user if needed (if you are in the group wheel). > _______________________________________________ > 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 Mar 10 16:59:30 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6102516A400 for ; Sat, 10 Mar 2007 16:59:30 +0000 (UTC) (envelope-from dima.sorkin@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id 1995513C46B for ; Sat, 10 Mar 2007 16:59:29 +0000 (UTC) (envelope-from dima.sorkin@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so941513ana for ; Sat, 10 Mar 2007 08:59:29 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hCUG1Jo22HqoDqT42XSff5aMAFPCiUbzzd2TGCuJ/l4NFmRmbM8VgVmkWIMFmRLnPEISQL3FB6EmdlWDRN/kNdg5qe8mb+nOu/au21ypsdBm0Ar6NqUZ9vvWD8d4IHmO3AiMIVIlTucjJv85rjgDXPTQW/k/cjhMhhUYE1xXbNA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rHOUQNW9qMj2n13BpK0hYtpfOGxC76CiAwOUqvCpu1l9jPv3l/+KSyKXeuDsEQGdEJyeaWU0XIq380+fNq+rl0Wg85Wjo9mt/PHJQhDEvM7nqHnZoo3dHfIVXNK6Lbxa0Lwpjc6gDUzKclh5E0Oo+frMfEXBw/0BHj82Gv415os= Received: by 10.115.14.1 with SMTP id r1mr405319wai.1173545969035; Sat, 10 Mar 2007 08:59:29 -0800 (PST) Received: by 10.114.184.11 with HTTP; Sat, 10 Mar 2007 08:59:28 -0800 (PST) Message-ID: Date: Sat, 10 Mar 2007 18:59:29 +0200 From: "Dima Sorkin" To: freebsd-questions@freebsd.org In-Reply-To: <6.0.0.22.2.20070309133935.024b8fd0@mail.computinginnovations.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6.0.0.22.2.20070309094909.024c9dd0@mail.computinginnovations.com> <6.0.0.22.2.20070309133935.024b8fd0@mail.computinginnovations.com> Subject: Re: limitiation on memory allocation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 16:59:30 -0000 Hi. I've read some pages about 'kern.maxusers', 'kern.maxdsize'. I have questions: 1) After I reduce 'maxusers' to some reasonable amount for that computer (say 10), and enlarge 'maxdsize', will a user process be able to allocate arrays that are considerably bigger than the physical memory size ? This is what I really need. I run processes in which it can come to 1.5x-2x ratio. 2) Following the http://www.opennet.ru/openforum/vsluhforumID1/40543.html#1 Should I put maxdsize == phys mem size, or should I put it lower (by how much) ? 3) On Intel pentium 4 machine with 2GB phys memory, during installation where almost all options were taken as defaults, should I worry that kernel is not configured to use PAE ? Installation program by default allocated 4GB swap, so totally it is 6GB. How do I check this ? Thanks, Dima. On 3/9/07, Derek Ragona wrote: > > Dima, > > Not all the settings there are tuneable. In 6.X the allowable memory is > somewhat automatic based on the max users. Your kernel is set to 384. You > can try changing that. > > You can also make some kernel settings in: > /boot/loader.conf > > You can see the possible variables to set in: > /boot/defaults/loader.conf > > I think the one variable you may want to change is: > kern.maxdsiz="to your actual real memory size" > Don't make this larger than the real memory, in my experience that will > cause the system to not boot properly into multi-user. > > -Derek ... > > On FreeBSD 6.2 i386 with 2GB of physical memory I can't allocate > more than 500Mb for my program. From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 17:00:09 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5357E16A401 for ; Sat, 10 Mar 2007 17:00:09 +0000 (UTC) (envelope-from ulrich@pukruppa.net) Received: from pukruppa.net (pukruppa.net [213.146.114.24]) by mx1.freebsd.org (Postfix) with ESMTP id 397BE13C428 for ; Sat, 10 Mar 2007 17:00:07 +0000 (UTC) (envelope-from ulrich@pukruppa.net) Received: from pukruppa.net (pukruppa.net [213.146.114.24]) by pukruppa.net (8.13.8/8.13.8) with ESMTP id l2AH1jXu086444; Sat, 10 Mar 2007 18:01:46 +0100 (CET) (envelope-from ulrich@pukruppa.net) Date: Sat, 10 Mar 2007 18:01:45 +0100 (CET) From: "P.U.Kruppa" To: Sebastien In-Reply-To: <1173544464.901.4.camel@dell.sinux.seb> Message-ID: <20070310175711.X2869@pukruppa.net> References: <1173532221.46449.37.camel@dell.sinux.seb> <20070310172230.W2869@pukruppa.net> <1173544464.901.4.camel@dell.sinux.seb> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-351942345-1173546105=:2869" Cc: FreeBSD questions Subject: Re: Xorg color depth problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 17:00:09 -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-351942345-1173546105=:2869 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Sat, 10 Mar 2007, Sebastien wrote: > Le Samedi 10 mars 2007 =E0 17:25 +0100, P.U.Kruppa a =E9crit : > >>> I don't now how to investigate (I'm not a newbee but not so far ;-) >>> could someone lead me ? >> A first step could be to send your xorg.conf and let us know what >> kind of graphics card you use. Your xorg.conf looks unsuspicious to me. There are some graphic=20 chips that need additional kernel modules loaded (For example=20 mine needs an entry agp_load=3D"YES" in /boot/loader.conf) . Did you google for something like that? Regards, Uli. > > *********************** > /etc/X11/xorg.conf > *********************** > > > Section "ServerLayout" > Identifier "X.org Configured" > Screen 0 "Screen0" 0 0 > InputDevice "Mouse0" "CorePointer" > InputDevice "Keyboard0" "CoreKeyboard" > EndSection > > Section "Files" > RgbPath "/usr/X11R6/lib/X11/rgb" > ModulePath "/usr/X11R6/lib/modules" > # FontPath "/usr/X11R6/lib/X11/fonts/CID/" > FontPath "/usr/X11R6/lib/X11/fonts/misc" > FontPath "/usr/X11R6/lib/X11/fonts/TTF" > FontPath "/usr/X11R6/lib/X11/fonts/75dpi" > FontPath "/usr/X11R6/lib/X11/fonts/100dpi" > FontPath "/usr/local/share/fonts" > EndSection > > Section "Module" > Load "dbe" > Load "dri" > Load "extmod" > Load "glx" > Load "record" > Load "xtrap" > Load "freetype" > Load "type1" > EndSection > > Section "InputDevice" > Identifier "Keyboard0" > Driver "kbd" > Option "XkbLayout" "ch(fr)" > EndSection > > Section "InputDevice" > Identifier "Mouse0" > Driver "mouse" > Option "Protocol" "auto" > Option "Device" "/dev/sysmouse" > Option "ZAxisMapping" "4 5" > EndSection > > Section "Monitor" > #DisplaySize 370 230 # mm > Identifier "Monitor0" > VendorName "LPL" > ModelName "0" > EndSection > > Section "Monitor" > Identifier "Philips_43100" > VendorName "Philips" > ModelName "26PF4310" > # VertRefresh 47-85 > # HorizSync "31-80" > > > # TV fullscreen mode or DVD fullscreen output. > # 1200x1024 @ 75 Hz, 50 kHz hsync > # ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 > 630 > # > # 768x576 @ 100 Hz, 61.6 kHz hsync > # ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 > 616 > EndSection > > > Section "Device" > Identifier "Card0" > Driver "radeon" > VendorName "ATI Technologies Inc" > BoardName "Unknown Board" > BusID "PCI:1:0:0" > > ### Available Driver options are:- > ### Values: : integer, : float, : "True"/"False", > ### : "String", : " Hz/kHz/MHz" > ### [arg]: arg optional > # Option "NoAccel" # [] > # Option "SWcursor" # [] > # Option "Dac6Bit" # [] > # Option "Dac8Bit" # [] > # Option "BusType" # [] > # Option "CPPIOMode" # [] > # Option "CPusecTimeout" # > Option "AGPMode" "8" # > Option "AGPFastWrite" "True" # [] > # Option "AGPSize" # > # Option "GARTSize" # > # Option "RingSize" # > # Option "BufferSize" # > # Option "EnableDepthMoves" # [] > # Option "EnablePageFlip" # [] > # Option "NoBackBuffer" # [] > # Option "PanelOff" # [] > # Option "DDCMode" "True" # [] > # Option "MonitorLayout" "LVDS, LVDS " # > [] > # Option "IgnoreEDID" # [] > # Option "UseFBDev" # [] > # Option "VideoKey" # > # Option "MergedFB" "True" # > [] > # Option "CRT2HSync" "31-80" # [] > # Option "CRT2VRefresh" "47-85" # [] > # Option "CRT2Position" "Clone" # [] > # Option "MetaModes" "1024x768" # [] > # Option "MergedDPI" # [] > # Option "NoMergedXinerama" # [] > # Option "MergedXineramaCRT2IsScreen0" # [] > # Option "DisplayPriority" # [] > # Option "PanelSize" # [] > # Option "ForceMinDotClock" # > Option "RenderAccel" "True" # [] > Option "SubPixelOrder" "RGB" # [] > # Option "ShowCache" # [] > # Option "DynamicClocks" # [] > Option "ReverseDDC" "True" # [] > Option "OverlayOnCRTC2" "True" # [] > EndSection > > Section "Screen" > Identifier "Screen0" > Device "Card0" > Monitor "Monitor0" > DefaultDepth 24 > 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 > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > Peter Ulrich Kruppa Wuppertal Germany --0-351942345-1173546105=:2869-- From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 17:11:29 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1005816A403 for ; Sat, 10 Mar 2007 17:11:29 +0000 (UTC) (envelope-from susanthoffline@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.239]) by mx1.freebsd.org (Postfix) with ESMTP id C52AE13C4A3 for ; Sat, 10 Mar 2007 17:11:28 +0000 (UTC) (envelope-from susanthoffline@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so1109236wxc for ; Sat, 10 Mar 2007 09:11:28 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=FhlfnjUEscxD1GRt63jdTu275RScGWJhM6JL/JxY2XnA++6iKtuQXYVT8GWka1rAHjw87zlS07pwfimGhwW5ckepFeeIGnPh809s8d6qj0VzRLt1PBLvX+5hsDpUgqVzVyEU6Q9XlEVs/xBDffarOl4Qbo+IaGjBGnBCC+6JV0w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=m7zir3md4ezbw1+Ptu1RZtOA9O3kPNIOddi9ivkLG/np3lM+fHzzGbcgTMp1niYu5AEJwYOk4rubz/5wOpuZOmOA0n6SPDieKLhxTnGpNxIaEjI53ck7eu7HD/Fbugf+Nnuvst2j31iJAEYOEcIIBc1Dv1VYxfpkHoSuxnubmyk= Received: by 10.90.113.18 with SMTP id l18mr1058882agc.1173545150248; Sat, 10 Mar 2007 08:45:50 -0800 (PST) Received: by 10.90.97.17 with HTTP; Sat, 10 Mar 2007 08:45:50 -0800 (PST) Message-ID: <6faf55220703100845u62eab431y3a16ae0d8cb3bba7@mail.gmail.com> Date: Sat, 10 Mar 2007 22:15:50 +0530 From: "Susanth K" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Howmany CPU Does FreeBSD Support ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 17:11:29 -0000 Dear Friends, Howmany CPU Does The FreeBSD 6.2 Support ? and what will be the support in 7 THANKS IN ADVANCE Your's Truly SUSANTH K From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 17:11:35 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B4C4D16A4CD for ; Sat, 10 Mar 2007 17:11:35 +0000 (UTC) (envelope-from seba.group@sinux.net) Received: from smtp1.infomaniak.ch (smtp1.infomaniak.ch [84.16.68.89]) by mx1.freebsd.org (Postfix) with ESMTP id 30CEA13C4A6 for ; Sat, 10 Mar 2007 17:11:34 +0000 (UTC) (envelope-from seba.group@sinux.net) Received: from [172.16.2.104] (84-74-168-200.dclient.hispeed.ch [84.74.168.200]) (authenticated bits=0) by smtp1.infomaniak.ch (8.13.6/8.13.6) with ESMTP id l2AHBX3v022218 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sat, 10 Mar 2007 18:11:34 +0100 From: Sebastien To: "P.U.Kruppa" In-Reply-To: <20070310175711.X2869@pukruppa.net> References: <1173532221.46449.37.camel@dell.sinux.seb> <20070310172230.W2869@pukruppa.net> <1173544464.901.4.camel@dell.sinux.seb> <20070310175711.X2869@pukruppa.net> Content-Type: text/plain; charset=ISO-8859-1 Date: Sat, 10 Mar 2007 18:13:24 +0100 Message-Id: <1173546804.901.20.camel@dell.sinux.seb> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit X-Antivirus: Dr.Web (R) for Mail Servers on smtp1 host X-Antivirus-Code: 100000 Cc: FreeBSD questions Subject: Re: Xorg color depth problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 17:11:35 -0000 Le Samedi 10 mars 2007 à 18:01 +0100, P.U.Kruppa a écrit : > On Sat, 10 Mar 2007, Sebastien wrote: > > > Le Samedi 10 mars 2007 à 17:25 +0100, P.U.Kruppa a écrit : > > > >>> I don't now how to investigate (I'm not a newbee but not so far ;-) > >>> could someone lead me ? > >> A first step could be to send your xorg.conf and let us know what > >> kind of graphics card you use. > > > Your xorg.conf looks unsuspicious to me. There are some graphic > chips that need additional kernel modules loaded (For example > mine needs an entry agp_load="YES" in /boot/loader.conf) . > Did you google for something like that? You're right I've added the same line in /boot/loader.conf (Can't remember why but I did)... From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 17:18:22 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CDA5516A403 for ; Sat, 10 Mar 2007 17:18:22 +0000 (UTC) (envelope-from mailinglists@tca-cable-connector.com) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by mx1.freebsd.org (Postfix) with ESMTP id 64D3213C478 for ; Sat, 10 Mar 2007 17:18:22 +0000 (UTC) (envelope-from mailinglists@tca-cable-connector.com) Received: from [218.16.58.208] (helo=munin.tcaportal.com) by mrelayeu.kundenserver.de (node=mrelayeu3) with ESMTP (Nemesis), id 0MKxQS-1HQ5D21xjt-0000Q7; Sat, 10 Mar 2007 18:18:21 +0100 Received: from [10.0.1.41] (unknown [219.132.231.14]) by munin.tcaportal.com (Postfix) with ESMTP id 2CC3DA6C60 for ; Sun, 11 Mar 2007 01:15:39 +0800 (HKT) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <6faf55220703100845u62eab431y3a16ae0d8cb3bba7@mail.gmail.com> References: <6faf55220703100845u62eab431y3a16ae0d8cb3bba7@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <55D533EB-26F9-40B7-838B-8BCB9D0A9463@tca-cable-connector.com> Content-Transfer-Encoding: 7bit From: David Schulz Date: Sun, 11 Mar 2007 01:18:12 +0800 To: FreeBSD Questions X-Mailer: Apple Mail (2.752.3) X-Provags-ID: kundenserver.de abuse@kundenserver.de login:1405312fe15d228f5bad0d2fcbb6dc17 X-Provags-ID2: V01U2FsdGVkX18YX+9tCwmvJsEINRG3w+PAy2S2wwmAsKBmp7j 6QUyS/yXo7/tHM+ZA1moFGR+4AUlLqjbP4OPYvX04EbA81Ni/h fVXLo6TwtYFTPELDeEmaQ== Cc: Subject: Re: Howmany CPU Does FreeBSD Support ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 17:18:22 -0000 I have heard it does not scale well above 4 On Mar 11, 2007, at 12:45 AM, Susanth K wrote: > Dear Friends, > > Howmany CPU Does The FreeBSD 6.2 Support ? and what will be the > support in 7 > > THANKS IN ADVANCE > > Your's Truly > > SUSANTH K > _______________________________________________ > 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 Mar 10 17:40:42 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 09E6816A402 for ; Sat, 10 Mar 2007 17:40:42 +0000 (UTC) (envelope-from jbronson@wixb.com) Received: from ms-smtp-02.rdc-kc.rr.com (ms-smtp-02.rdc-kc.rr.com [24.94.166.122]) by mx1.freebsd.org (Postfix) with ESMTP id CA1AE13C4A7 for ; Sat, 10 Mar 2007 17:40:41 +0000 (UTC) (envelope-from jbronson@wixb.com) Received: from cheyenne.sixcompanies.com (CPE-72-128-117-138.wi.res.rr.com [72.128.117.138]) by ms-smtp-02.rdc-kc.rr.com (8.13.6/8.13.6) with ESMTP id l2AGlmtL029734; Sat, 10 Mar 2007 10:47:48 -0600 (CST) Received: from coors.sixcompanies.com (coors.sixcompanies.com [10.43.82.5]) by cheyenne.sixcompanies.com (8.14.0/8.14.0) with ESMTP id l2AGlmiW001798; Sat, 10 Mar 2007 10:47:48 -0600 (CST) Message-Id: <200703101647.l2AGlmiW001798@cheyenne.sixcompanies.com> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Sat, 10 Mar 2007 10:47:47 -0600 To: "Dima Sorkin" From: "J.D. Bronson" In-Reply-To: References: <3FCB18F9-CBF6-4D14-AD0F-92658914454E@rottnic.nl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: Symantec AntiVirus Scan Engine Cc: freebsd-questions@freebsd.org Subject: Re: ssh login as 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: Sat, 10 Mar 2007 17:40:42 -0000 At 06:43 PM 3/10/2007 +0200, you wrote: >Hi. >Actually I would prefer to do it via "su". >Here a really newbie question: >1) How do I join regular user to 'wheel' group ? >2) How do I join a user to some group 'some_group' ?. >Which manpage to read ? > >Thanks, >Dima. Easiest way? vi /etc/group man group -JD From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 18:06:41 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2269516A401 for ; Sat, 10 Mar 2007 18:06:41 +0000 (UTC) (envelope-from susanthoffline@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.227]) by mx1.freebsd.org (Postfix) with ESMTP id D6C5313C481 for ; Sat, 10 Mar 2007 18:06:40 +0000 (UTC) (envelope-from susanthoffline@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so1119415wxc for ; Sat, 10 Mar 2007 10:06:40 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=dFAMVBG1fwh7coQlKJEPwXrJvhvTDjRC9TOGYsTr8yJnI6TxtoPC2/n9rl4Nb8uJLkxGfwlR/sYF4YtcbWU/4gOH+ZizNrzd8NC0o+Tm3D6/+G4/HJkcrKORtthjyhNZ4CRUwm1oWf0KctofwyLjjBWNCZOF4kDExVg3BZQqCgo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=izzRrYXw/lZKy9pAXjFgOO3bo4+HaioFZl49uCcM2tPFQBlNngqdDAbX5LvCClmEFC64oDzkcmeKnGb5n943skXJkeYVxhK29D6dtCBWMcQ9DCE+klUxvWrwabGY4rWHd7CfeQmjQGg8iOpDPD/cHy6jEuv1pHnRAZNpPy2M9AI= Received: by 10.90.115.4 with SMTP id n4mr1230777agc.1173550000266; Sat, 10 Mar 2007 10:06:40 -0800 (PST) Received: by 10.90.97.17 with HTTP; Sat, 10 Mar 2007 10:06:40 -0800 (PST) Message-ID: <6faf55220703101006k78f29333s168cf93d9451d465@mail.gmail.com> Date: Sat, 10 Mar 2007 23:36:40 +0530 From: "Susanth K" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: The MySQL Low Performance in FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 18:06:41 -0000 Hai Every One, Do The Low Performance of MySQL on FreeBSD Still Exists ? ( in FreeBSD6.2 ) Please HELP SUSANTH K From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 18:43:46 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CD1BF16A401 for ; Sat, 10 Mar 2007 18:43:46 +0000 (UTC) (envelope-from chriskot@quietwind.net) Received: from creto.quietwind.net (creto.quietwind.net [71.39.149.34]) by mx1.freebsd.org (Postfix) with ESMTP id 8F9AF13C442 for ; Sat, 10 Mar 2007 18:43:46 +0000 (UTC) (envelope-from chriskot@quietwind.net) Received: from creto.quietwind.net (localhost.quietwind.net [127.0.0.1]) by creto.quietwind.net (8.13.1/8.13.1) with ESMTP id l2AI9dnW020004 for ; Sat, 10 Mar 2007 11:09:39 -0700 (MST) (envelope-from chriskot@quietwind.net) Received: (from chrisk@localhost) by creto.quietwind.net (8.13.1/8.13.1/Submit) id l2AI9dJT020003 for freebsd-questions@freebsd.org; Sat, 10 Mar 2007 11:09:39 -0700 (MST) (envelope-from chriskot@quietwind.net) X-Authentication-Warning: creto.quietwind.net: chrisk set sender to chriskot@quietwind.net using -f From: Chris Kottaridis To: freebsd-questions@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Sat, 10 Mar 2007 11:09:39 -0700 Message-Id: <1173550179.792.23.camel@creto.quietwind.net> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port Subject: Using MFC-3820CN network printing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: chriskot@quietwind.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 18:43:46 -0000 I am trying to get access to a MFC-3820CN multifunction scanner/fax/printer. I have a FreeBSD 5.3 system with cups setup. When I try and send to the device , cups claimed it printed out fine, but nothing ever actually comes out. It works fine from a Linux box where I copied down the drivers from Brother's web site. But, I'd like to get access from my FreeBSD machines, got more of those. Apparently Brother doesn't support FreeBSD. So, there are no FreeBSD specific drivers. I only found executable Linux RPM's on their site. If I can use those executables that'd be great, but I am not sure where the files would be put to recognize them and such. Any pointers on how to access the Brother MFC-3820CN network printing facility from a FreeBSD 5.3 machine would be helpful. Thanks Chris Kottaridis (chriskot@quietwind.net) From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 18:55:58 2007 Return-Path: X-Original-To: FreeBSD-questions@FreeBSD.org Delivered-To: FreeBSD-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1768E16A403 for ; Sat, 10 Mar 2007 18:55:58 +0000 (UTC) (envelope-from chris@hier7.com) Received: from smtp105.rog.mail.re2.yahoo.com (smtp105.rog.mail.re2.yahoo.com [206.190.36.83]) by mx1.freebsd.org (Postfix) with SMTP id 923AB13C48D for ; Sat, 10 Mar 2007 18:55:57 +0000 (UTC) (envelope-from chris@hier7.com) Received: (qmail 29013 invoked from network); 10 Mar 2007 18:55:56 -0000 Received: from unknown (HELO ?192.168.0.192?) (cms.kw@rogers.com@74.109.56.68 with plain) by smtp105.rog.mail.re2.yahoo.com with SMTP; 10 Mar 2007 18:55:56 -0000 X-YMail-OSG: _Rnw9QoVM1l8OuMf2vC0O7isuCVVHPph._pDrripC5skpn4VnYjroa0heMkSoHioZA-- Message-ID: <45F2FF3C.2070209@hier7.com> Date: Sat, 10 Mar 2007 13:55:56 -0500 From: Chris Slothouber Organization: hier7 User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: FreeBSD-questions@FreeBSD.org References: <1173550179.792.23.camel@creto.quietwind.net> In-Reply-To: <1173550179.792.23.camel@creto.quietwind.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Using MFC-3820CN network printing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 18:55:58 -0000 I think you may need to change your printer's emulation. There is a step-by-step process at the following URL, it deals with another network-enabled Brother printer, perhaps it will be of assistance: http://www.daemonology.net/blog/2006-03-17-brother-hl-2070n.html Chris Kottaridis wrote: > I am trying to get access to a MFC-3820CN multifunction > scanner/fax/printer. I have a FreeBSD 5.3 system with cups setup. When I > try and send to the device , cups claimed it printed out fine, but > nothing ever actually comes out. It works fine from a Linux box where I > copied down the drivers from Brother's web site. > > But, I'd like to get access from my FreeBSD machines, got more of those. > Apparently Brother doesn't support FreeBSD. So, there are no FreeBSD > specific drivers. I only found executable Linux RPM's on their site. If > I can use those executables that'd be great, but I am not sure where the > files would be put to recognize them and such. > > Any pointers on how to access the Brother MFC-3820CN network printing > facility from a FreeBSD 5.3 machine would be helpful. > > Thanks > Chris Kottaridis (chriskot@quietwind.net) > _______________________________________________ > 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 Mar 10 19:04:43 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8DD8B16A401 for ; Sat, 10 Mar 2007 19:04:43 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 7DF6B13C442 for ; Sat, 10 Mar 2007 19:04:43 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 599731A3C1C; Sat, 10 Mar 2007 11:04:43 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 85E2C517C8; Sat, 10 Mar 2007 14:04:42 -0500 (EST) Date: Sat, 10 Mar 2007 14:04:42 -0500 From: Kris Kennaway To: David Schulz Message-ID: <20070310190441.GA25569@xor.obsecurity.org> References: <6faf55220703100845u62eab431y3a16ae0d8cb3bba7@mail.gmail.com> <55D533EB-26F9-40B7-838B-8BCB9D0A9463@tca-cable-connector.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55D533EB-26F9-40B7-838B-8BCB9D0A9463@tca-cable-connector.com> User-Agent: Mutt/1.4.2.2i Cc: FreeBSD Questions Subject: Re: Howmany CPU Does FreeBSD Support ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 19:04:43 -0000 On Sun, Mar 11, 2007 at 01:18:12AM +0800, David Schulz wrote: > I have heard it does not scale well above 4 It all depends on your workload. FreeBSD 7.0 will have good scaling on 8 or more CPUs on common workloads, see e.g.: http://people.freebsd.org/~kris/scaling/mysql.html Kris From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 19:25:15 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9EF8916A401 for ; Sat, 10 Mar 2007 19:25:15 +0000 (UTC) (envelope-from jon-bsd@comcast.net) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [216.148.227.153]) by mx1.freebsd.org (Postfix) with ESMTP id 902A113C48E for ; Sat, 10 Mar 2007 19:25:15 +0000 (UTC) (envelope-from jon-bsd@comcast.net) Received: from [24.3.82.205] (c-24-3-82-205.hsd1.pa.comcast.net[24.3.82.205]) by comcast.net (rwcrmhc13) with ESMTP id <20070310192514m13007fs98e>; Sat, 10 Mar 2007 19:25:15 +0000 Message-ID: <45F3061A.409@comcast.net> Date: Sat, 10 Mar 2007 14:25:14 -0500 From: Jon Wolfgang User-Agent: Thunderbird 1.5.0.10 (X11/20070306) MIME-Version: 1.0 To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: mouse wheel sends incorrect buttons X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 19:25:15 -0000 I am using a Microsoft Intellimouse Explorer in xwindows on FreeBSD 6.2-RELEASE. The mouse works correctly (except for the side buttons - I'll worry about those later), but the mouse wheel has some odd behaviour in apps like firefox and thunderbird. Scrolling down works correctly, but scrolling up seems to send a button click as well as a scroll event. I played around with xev and found that when scrolling up, a button4 event is (correctly) sent, but then any other action sends a button9 and button8 event as well. Scrolling down only sends a button5 event which is correct. Here is the relevant section in xorg.conf: Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" #Option "Buttons" "7" Option "Buttons" "5" Option "Device" "/dev/psm0" Option "ZAxisMapping" "4 5" EndSection I added the `Option "Buttons" "5"' line hoping to remove the possibility of button 8 and 9 existing, but it didn't seem to work: [jon@charon ~]$ xmodmap -pp There are 9 pointer buttons defined. Physical Button Button Code 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 Then I tried mapping the button 8 and 9 keys to other buttons, but xmodmap didn't allow it. Also, I'm not running moused if that is significant. Does anyone have any suggestions? I have seen some similar questions on forums and the mailing list archives, but no definitive solutions. Any help would be great. Thanks, Jon From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 19:26:10 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A89BA16A402 for ; Sat, 10 Mar 2007 19:26:10 +0000 (UTC) (envelope-from kelly.terry.jones@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.freebsd.org (Postfix) with ESMTP id 450BF13C4A8 for ; Sat, 10 Mar 2007 19:26:10 +0000 (UTC) (envelope-from kelly.terry.jones@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so1389964nfc for ; Sat, 10 Mar 2007 11:26:09 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Y6AraezALTgpWL1p0xwUkycTod4G7sorDhmaIKe78mrgOKW7xT7iWOWdGpfatPpJN+icJijxio9cBnekdIH0X/L4Vt9yqQwBzNbLY18fdNEpGSQh0tWFwh0tU7c2behVLvaBj2UMMMq/pFXdHRvhg9ZkrN9eWVpeGHpUDv3h2RI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Ffqt2cnfn5t0N075wzmnzN4C67Y62Nthc9X2N9cPSkFWsblMX7iRn2QkvzseUQVDfwIqcqGO2M8fOWFPFBDYgfZ9qYc0vCzx7ffQrfnWqrohDTFqps2y0ck6foPCFsCI2pfEbFJ426wLvo1r1DT4sCLti5uCWZz49VKgEiKozwk= Received: by 10.78.180.16 with SMTP id c16mr423142huf.1173554768879; Sat, 10 Mar 2007 11:26:08 -0800 (PST) Received: by 10.78.16.9 with HTTP; Sat, 10 Mar 2007 11:26:08 -0800 (PST) Message-ID: <26face530703101126td84a6foa8d6bea2d5a13fd2@mail.gmail.com> Date: Sat, 10 Mar 2007 12:26:08 -0700 From: "Kelly Jones" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: FreeBSD equivalents of hwclock and adjtimex? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 19:26:10 -0000 What are the FreeBSD equivalents of hwclock (view/set the BIOS hardware clock) and adjtimex (adjust clock speed)? I couldn't find these two well-known Linux commands in ports? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 19:27:58 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5073816A409 for ; Sat, 10 Mar 2007 19:27:58 +0000 (UTC) (envelope-from kelly.terry.jones@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.freebsd.org (Postfix) with ESMTP id B111913C4BB for ; Sat, 10 Mar 2007 19:27:57 +0000 (UTC) (envelope-from kelly.terry.jones@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so1390319nfc for ; Sat, 10 Mar 2007 11:27:56 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=l5CEZBynmmjp2Na9vhSGZmX7vyxfGWWUB7xhgJoDAS6NAedImHd3PDq1/T6JZ3/4aFose/qH42YpZoCdAMsxV8zjbgE1cNVi8SgUe5/cKLZU8mTUUgAr8/jyxbWxu0/M+ijc8x5rw811BW5IQYZ1973vdwb7xMz6IPlM1+z3BE8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=k9HKKViJK9NuAOwul4z63sowgVmahDQZ40GFaBAtmcNjSNwC1F58w8+rdpzvmmBCaLuYRfK4dBhpXWYJ8KzNUWp+W20m0JRVG62MZ/qurO02q+PgeY7CO6Ui+xCcq5SAZYBLCh5mBSaCUVpjmjdBgmnJCAeglmTWTEIyxpkPqXY= Received: by 10.78.176.20 with SMTP id y20mr422407hue.1173554875573; Sat, 10 Mar 2007 11:27:55 -0800 (PST) Received: by 10.78.16.9 with HTTP; Sat, 10 Mar 2007 11:27:55 -0800 (PST) Message-ID: <26face530703101127l558d2db7y54ddb6674d663383@mail.gmail.com> Date: Sat, 10 Mar 2007 12:27:55 -0700 From: "Kelly Jones" To: freebsd-questions@freebsd.org, users@spamassassin.apache.org, linuxusersgroup@googlegroups.com, nmlug@nmlug.org, nmosug-l@mailman.swcp.com MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Tool for validating sender address as spam-fighting technique? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 19:27:58 -0000 To fight spam, I want to validate the address (not necessarily in real-time) of the a given email sender. Is there a Unix tool that does this? The basics are simple: to validate "kmnyqi@wnonline.net", I connect to the MX record of wnonline.net and go as far as "RCPT TO" as follows: > host -t mx wnonline.net wnonline.net mail is handled by 5 wnspf.bayou.com. > telnet wnspf.bayou.com. 25 Trying 209.209.192.75... Connected to wnspf.bayou.com.. Escape character is '^]'. 220 Welcome to Bayou mxfilter HELO domaintester.com 250 mxfilter.bayou.com MAIL FROM: 250 Ok RCPT TO: 550 : Recipient address rejected: 5.1.1 ... User unknown QUIT 221 Bye Connection closed by foreign host. This tells me kmnyqi@wnonline.net is an invalid address and that mail from that address is probably bogus. A more sophisticated tool would cache results, handle temporary failures (eg, inability to connect to the MX server), handle multiple MX records, perhaps even publish results [carefully, to avoid giving spammers a source of legit email addresses!], etc. Plus, I'd prefer to use a tested tool vs hacking something up myself. I realize this technique is far from perfect: Spammers spoof legit addresses Bounces/Mailing lists/etc legitimately use "do not reply" addresses It could be considered unfriendly to the target MX servers Some mail servers incorrectly say "user unknown" when they see spam, figuring it's more of a deterrent than saying "you're a spammer" Some mail servers inefficiently accept mail for "foo@xxx.com" (where xxx.com is one of their domains), figure out if foo exists later, and send a bounce back to the envelope sender, instead of rejecting email at the SMTP level (a really good tool would create throwaway addresses to catch these cases too) ... but I still think it might help. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 19:28:12 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0103316A403 for ; Sat, 10 Mar 2007 19:28:12 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id B06AC13C4A7 for ; Sat, 10 Mar 2007 19:28:11 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HQ7ET-0001aX-KY for freebsd-questions@freebsd.org; Sat, 10 Mar 2007 20:27:57 +0100 Received: from 83-131-99-238.adsl.net.t-com.hr ([83.131.99.238]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 10 Mar 2007 20:27:57 +0100 Received: from ivoras by 83-131-99-238.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 10 Mar 2007 20:27:57 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Sat, 10 Mar 2007 20:27:49 +0100 Lines: 36 Message-ID: References: <6faf55220703100845u62eab431y3a16ae0d8cb3bba7@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigCE34D5A876E9EEF413D22D8A" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 83-131-99-238.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) In-Reply-To: <6faf55220703100845u62eab431y3a16ae0d8cb3bba7@mail.gmail.com> X-Enigmail-Version: 0.94.1.2 Sender: news Subject: Re: Howmany CPU Does FreeBSD Support ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 19:28:12 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigCE34D5A876E9EEF413D22D8A Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Susanth K wrote: > Dear Friends, >=20 > Howmany CPU Does The FreeBSD 6.2 Support ? and what will be the support= > in 7 The maximum number of CPUs that 6.2 will make use of is 16 (kern.smp.maxcpus: 16). I don't know if it will be raised in 7.0, but since 7.x should support UltraSPARC T1, it might. How efficient are multiple CPUs supported depends on what you want to do with them. For example, if you plan using the machine for numerically intensive tasks, efficiency is almost perfect :) --------------enigCE34D5A876E9EEF413D22D8A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF8wa1ldnAQVacBcgRAotEAJ99Q39S6xRtVKHn2naot+8aoJ+O6gCeJSTl 8Zw/YX0WZ5HboOpB57lkVwQ= =GpdD -----END PGP SIGNATURE----- --------------enigCE34D5A876E9EEF413D22D8A-- From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 19:43:58 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3148416A405 for ; Sat, 10 Mar 2007 19:43:58 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id B278013C47E for ; Sat, 10 Mar 2007 19:43:57 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HQ7Tm-0003zd-Ra for freebsd-questions@freebsd.org; Sat, 10 Mar 2007 20:43:46 +0100 Received: from 83-131-99-238.adsl.net.t-com.hr ([83.131.99.238]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 10 Mar 2007 20:43:46 +0100 Received: from ivoras by 83-131-99-238.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 10 Mar 2007 20:43:46 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Sat, 10 Mar 2007 20:43:32 +0100 Lines: 83 Message-ID: References: <6.0.0.22.2.20070309094909.024c9dd0@mail.computinginnovations.com> <6.0.0.22.2.20070309133935.024b8fd0@mail.computinginnovations.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig97AEA442511DC2E5B3573084" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 83-131-99-238.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) In-Reply-To: X-Enigmail-Version: 0.94.1.2 Sender: news Subject: Re: limitiation on memory allocation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 19:43:58 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig97AEA442511DC2E5B3573084 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Dima Sorkin wrote: > Hi. > I've read some pages about 'kern.maxusers', 'kern.maxdsize'. > I have questions: > 1) > After I reduce 'maxusers' to some reasonable amount for that computer > (say 10), maxusers is somewhat badly named because of historical reasons. Today it means something like "how many big processes will the machine probably run", where a "big process" is something like an apache or postgresql instance, or any of the big desktop applications. It doesn't matter much if you set it (or it automatically gets set) too high. > and enlarge 'maxdsize', will a user process be able to allocate > arrays that are considerably bigger than the physical memory size ? > This is what I really need. I run processes in which it can come to > 1.5x-2x ratio. Yes, upto kernel limits... >=20 > 2) Following the > http://www.opennet.ru/openforum/vsluhforumID1/40543.html#1 > Should I put maxdsize =3D=3D phys mem size, or should I put it lower > (by how much) ? Put is as large as you want. It's taken from combined virtual+physical memory. > 3) On Intel pentium 4 machine with 2GB phys memory, > during installation where almost all options were taken as defaults, > should I worry that kernel is not configured to use PAE ? > Installation program by default allocated 4GB swap, > so totally it is 6GB. How do I check this ? No, swap space is completely separate from the rest of the equation. Put as much swap space as you like, it's not limited to 4GB total. You should only consider PAE if you want to use more than about 3.5 GB of physical memory (why not 4GB? because some address space is dedicated to PCI and other hardware) AND you want to keep the kernel 32-bit. You can think of PAE as something like an in-memory "swap" space (but so fast you can't distinguish it from "normal" memory). If the kernel is 32-bit, any single process cannot allocate more than 4 GB of memory total (for obvious reasons). This means that the kernel memory (which is shared between processes, but takes the same amount of address space in each process individually) + the process' own memory cannot exceed 4 GB. Kernel address space is mostly 1 GB (there's a knob for this somewhere), so that leaves you maximum 3 GB (virtual or physical, doesn't matter) that your program can allocate if maxdsiz allows it. If you expand available virtual memory through swap or PAE, you can have multiple processes which allocate 4 GB each (upto available virtual space), but still each process individually cannot exceed 4 GB. If you switch to a 64-bit kernel, than all of this complexity vanishes because of expanded address space and your program is only limited by maxdsiz and available virtual (e.g. physical+swap) memory. --------------enig97AEA442511DC2E5B3573084 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF8wpkldnAQVacBcgRAo/WAJ9xtpcCblwvmO2lu2Yob2Ez3fuk3gCdHN4R WJVDN/c10LQJCoAnZcKLMAM= =8NxA -----END PGP SIGNATURE----- --------------enig97AEA442511DC2E5B3573084-- From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 20:28:12 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2B51916A405 for ; Sat, 10 Mar 2007 20:28:12 +0000 (UTC) (envelope-from brett@lariat.net) Received: from lariat.net (lariat.net [66.119.58.2]) by mx1.freebsd.org (Postfix) with ESMTP id 853EC13C4A7 for ; Sat, 10 Mar 2007 20:28:11 +0000 (UTC) (envelope-from brett@lariat.net) Received: (from brett@localhost) by lariat.net (8.9.3/8.9.3) id MAA18447 for questions@freebsd.org; Sat, 10 Mar 2007 12:57:05 -0700 (MST) Date: Sat, 10 Mar 2007 12:57:05 -0700 (MST) From: Brett Glass Message-Id: <200703101957.MAA18447@lariat.net> To: questions@freebsd.org Cc: Subject: DST on very old FreeBSD system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 20:28:12 -0000 I've been asked to update a very old FreeBSD system -- an embedded system that's chugging along happily on FreeBSD 2.2.8 -- to handle the new start and stop dates for Daylight Savings Time. There's no need to update the OS on the system, because it is firewalled from the Internet and runs the embedded hardware it has to run just fine. But it does need the clock to be right to perform scheduled tasks. If I simply copy /etc/localtime from a FreeBSD 6.1 system to that one, will it work? Or has the time zone file format changed at all? (I seem to recall that it was fixed by POSIX, but I don't know if versions of FreeBSD that old are POSIX-compliant.) --Brett Glass From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 21:16:52 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EFC2916A403 for ; Sat, 10 Mar 2007 21:16:52 +0000 (UTC) (envelope-from zflyer@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.230]) by mx1.freebsd.org (Postfix) with ESMTP id B3B6113C48D for ; Sat, 10 Mar 2007 21:16:50 +0000 (UTC) (envelope-from zflyer@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so1149511wxc for ; Sat, 10 Mar 2007 13:16:50 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=XoQfXaldiMNW/rdxdre7O5Gy7qx37P8/oUqlrFmwzLMcqFIgq1AB2FlMfgcJfzrHs/z5aVOPi82374R/mfm7jynVPxrH5zZffzyHIIOFAUMu2uvN0w57KrEdLgZhFjgbaJSn1U2AXmqLumF4OUzPXOj75HltoZgsNeWjEEG8rrM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=WB4XLnTeOX42QnFlF18w37u5wjMtEv1p2b8ISMSnQm8+Lzj2dC2cuMY2WsJZIEvbJmyMlSTWkJKdG28A8gb6gdoQcuazVK0BteP8DLJAWRgALgq/xu3f4LEE1QOGoaW5PZsk0ZTSCojKmzCd8TJp4/XxOY+ML9SvSETVu0ghhMc= Received: by 10.70.57.8 with SMTP id f8mr6198995wxa.1173559952467; Sat, 10 Mar 2007 12:52:32 -0800 (PST) Received: by 10.100.12.12 with HTTP; Sat, 10 Mar 2007 12:52:32 -0800 (PST) Message-ID: <6293ba970703101252r702a7175of04429a2cb8cf33@mail.gmail.com> Date: Sat, 10 Mar 2007 15:52:32 -0500 From: Steve To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Odd ACPI shutdown and power off 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: Sat, 10 Mar 2007 21:16:53 -0000 I'm using 6.2-R on a Dell PE400SC. I recently enabled "Remote Wake Up" (Wake on LAN) in BIOS. Sending a magic packet to the powered down PC will power it up and it boots normally. However, now if I attempt a shutdown and power off using "halt -p" or "shutdown -p now" I get a reboot. Disabling Remote Wake Up reverts back to the expected behavior. I've searched and found the sysctl knob "hw.acpi.disable_on_poweroff" as a possible solution, but sysctl gives me "unknown oid". Any ideas? From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 21:17:34 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B5AA516A401 for ; Sat, 10 Mar 2007 21:17:34 +0000 (UTC) (envelope-from ed.zwart@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.freebsd.org (Postfix) with ESMTP id 52B0613C474 for ; Sat, 10 Mar 2007 21:17:34 +0000 (UTC) (envelope-from ed.zwart@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so1410388nfc for ; Sat, 10 Mar 2007 13:17:33 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=o5wMNPjjoVQx2LNF+hHQOXH80aX1Ugn/jE6pEFfofbvqs7eDGoYJqnwjq/OLsyXZnny51JYuzUFpAKfKrgeaMGo2+JsVLLKdoWfp14zmyZBs3cuK/pIzJyv1q/IGHN/jA3PN7T8udFWNN2AgmpUmUn6LuAu4mJowvj3CcilJbdY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=dNp5YSBm46L2Ri7m2s4IJhRAqYeSeGCk+fQeVmfBUapGZwgtEqX05Mxxje/lB6pN+tU0F9gXqNnM7bW52wevb4+ADPReH+s+LPyfyuE7f35yz38atVRk7MouM+X8YmKP786Bq9wQxHcmwpveG3JsSGpYhB40AfZ0hUxW331b0Cc= Received: by 10.82.155.10 with SMTP id c10mr5639414bue.1173559864017; Sat, 10 Mar 2007 12:51:04 -0800 (PST) Received: by 10.82.185.13 with HTTP; Sat, 10 Mar 2007 12:51:03 -0800 (PST) Message-ID: <6660f1280703101251w1fac7df7xc1d0eb23b22dafc9@mail.gmail.com> Date: Sat, 10 Mar 2007 12:51:03 -0800 From: "Ed Zwart" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: searching archives broken? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 21:17:34 -0000 Hi there, I'm new to the list, and have been trying to search the archives at http://lists.freebsd.org/pipermail/freebsd-questions/. No matter what I search for, I get no results (even one-word searches that should definitely have hits; eg, 'mail', 'hostname', etc). I want to search the archives before asking the group, but the archive is way too large to make browsing feasible. Is search broken, or am I missing something? e. From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 20:57:20 2007 Return-Path: X-Original-To: questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1EE3316A402 for ; Sat, 10 Mar 2007 20:57:20 +0000 (UTC) (envelope-from nattawutn@hotmail.com) Received: from bay0-omc2-s24.bay0.hotmail.com (bay0-omc2-s24.bay0.hotmail.com [65.54.246.160]) by mx1.freebsd.org (Postfix) with ESMTP id 09D2A13C467 for ; Sat, 10 Mar 2007 20:57:20 +0000 (UTC) (envelope-from nattawutn@hotmail.com) Received: from hotmail.com ([65.55.155.11]) by bay0-omc2-s24.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Sat, 10 Mar 2007 12:45:20 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 10 Mar 2007 12:45:20 -0800 Message-ID: Received: from 207.38.246.29 by BAY144-DAV1.phx.gbl with DAV; Sat, 10 Mar 2007 20:45:14 +0000 X-Originating-IP: [207.38.246.29] X-Originating-Email: [nattawutn@hotmail.com] X-Sender: nattawutn@hotmail.com From: "Nattawut" To: Date: Sat, 10 Mar 2007 15:45:13 -0500 Message-ID: <000501c76355$00f08080$02d18180$@com> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcdjVQCwp96vD42YTt+jT7yhsuAhyQ== Content-Language: en-us X-OriginalArrivalTime: 10 Mar 2007 20:45:20.0335 (UTC) FILETIME=[04914DF0:01C76355] X-Mailman-Approved-At: Sat, 10 Mar 2007 21:25:24 +0000 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: FreeBSD/i386 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 20:57:20 -0000 Dear Sir/Madam, I'm a Windows Platform user, I just got the machine that contain FreeBSD/i386 already install. I try to use it but I can't get through the the login password screen. This machine was left over from the place that I used to work but it had been closed my boss gave to me. It the Travla mini-ITX case brand new and it small when I turn it on it just ask for loin name and password , I just have no idea who should I ask for help because I don't know how they get this machine from. Thank you for your time. Regards, Leo. (New York) From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 21:52:10 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AF4B616A403 for ; Sat, 10 Mar 2007 21:52:10 +0000 (UTC) (envelope-from wojtek@tensor.gdynia.pl) Received: from chylonia.3miasto.net (chylonia.3miasto.net [83.12.228.78]) by mx1.freebsd.org (Postfix) with ESMTP id 1D70A13C442 for ; Sat, 10 Mar 2007 21:52:09 +0000 (UTC) (envelope-from wojtek@tensor.gdynia.pl) Received: from chylonia.3miasto.net (localhost [127.0.0.1]) by chylonia.3miasto.net (8.13.8/8.13.4) with ESMTP id l2ALqBDp010629 for ; Sat, 10 Mar 2007 22:52:11 +0100 (CET) (envelope-from wojtek@tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by chylonia.3miasto.net (8.13.8/8.13.4/Submit) with ESMTP id l2ALqBWD010626 for ; Sat, 10 Mar 2007 22:52:11 +0100 (CET) (envelope-from wojtek@tensor.gdynia.pl) X-Authentication-Warning: chylonia.3miasto.net: wojtek owned process doing -bs Date: Sat, 10 Mar 2007 22:52:11 +0100 (CET) From: Wojciech Puchar X-X-Sender: wojtek@chylonia.3miasto.net To: questions@freebsd.org Message-ID: <20070310224946.K10353@chylonia.3miasto.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: root login with telnetd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 21:52:10 -0000 can it be set to make possible to login root to machine through telnet and without telneting to some user and then su - ? with sshd and rshd it can be set, with telnetd - no success. thank you From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 21:54:34 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1FE8C16A400 for ; Sat, 10 Mar 2007 21:54:34 +0000 (UTC) (envelope-from prvs=johnl=05822b7d05@iecc.com) Received: from tom.iecc.com (tom.iecc.com [208.31.42.38]) by mx1.freebsd.org (Postfix) with SMTP id 8D32F13C467 for ; Sat, 10 Mar 2007 21:54:33 +0000 (UTC) (envelope-from prvs=johnl=05822b7d05@iecc.com) Received: (qmail 28638 invoked from network); 10 Mar 2007 21:27:51 -0000 Received: from mail.iecc.com (208.31.42.99) by mail.iecc.com with QMQP; 10 Mar 2007 21:27:51 -0000 Date: 10 Mar 2007 21:27:51 -0000 Message-ID: <20070310212751.2637.qmail@simone.iecc.com> From: John Levine To: freebsd-questions@freebsd.org In-Reply-To: <200703101957.MAA18447@lariat.net> Organization: Mime-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Cc: brett@lariat.net Subject: Re: DST on very old FreeBSD system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 21:54:34 -0000 In article <200703101957.MAA18447@lariat.net> you write: >I've been asked to update a very old FreeBSD system -- an embedded >system that's chugging along happily on FreeBSD 2.2.8 -- to handle >the new start and stop dates for Daylight Savings Time. I just updated my antique BSDI 4.3 systems, and it turned out to take about five minutes. See if your system has the zic time zone compiler installed, probably in /usr/sbin or some place like that. If so, pick up the new source file /usr/src/share/zoneinfo/northamerica from a current fbsd system, become superuser, and run it through zic. It should automatically install all of the updated files in the right place. If you can't find a copy of zic, you'll need to figure out whether that version of fbsd uses the old or new timezone format. The old format starts with a bunch of binary zeros, the new format with the string TZif. If it uses the new format, just copy the timezone files from any other fbsd system. If it uses the old format, drop me a line privately and I'll send you the files from a bsdi box. R's, John From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 22:05:36 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0D6FA16A400 for ; Sat, 10 Mar 2007 22:05:36 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id A3FD213C441 for ; Sat, 10 Mar 2007 22:05:35 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from archangel.daleco.biz ([69.27.149.254]) by ezekiel.daleco.biz (8.13.4/8.13.1) with ESMTP id l2AM5WaU057305; Sat, 10 Mar 2007 16:05:33 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <45F32BA7.1000704@daleco.biz> Date: Sat, 10 Mar 2007 16:05:27 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2pre) Gecko/20070221 SeaMonkey/1.1 MIME-Version: 1.0 To: Wojciech Puchar References: <20070310224946.K10353@chylonia.3miasto.net> In-Reply-To: <20070310224946.K10353@chylonia.3miasto.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: root login with telnetd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 22:05:36 -0000 Wojciech Puchar wrote: > can it be set to make possible to login root to machine through telnet > and without telneting to some user and then su - > ? > > with sshd and rshd it can be set, with telnetd - no success. > Err, sure; and for completeness, be sure and send the IP back to this list, and publish it on the front page of your website/blog/whatnot. OK, cynicism aside, why on earth would you want to do this? That's a fool's errand in today's world. Or, are you on a 2-machine network via crossover cable in a lockdown facility? Kevin Kinsey -- For those who like this sort of thing, this is the sort of thing they like. -- Abraham Lincoln From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 22:16:03 2007 Return-Path: X-Original-To: questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CBCC816A400 for ; Sat, 10 Mar 2007 22:16:03 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from drone2.qsi.net.nz (drone2-svc-skyt.qsi.net.nz [202.89.128.2]) by mx1.freebsd.org (Postfix) with ESMTP id 4AFE113C442 for ; Sat, 10 Mar 2007 22:16:03 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: (qmail 12953 invoked by uid 0); 10 Mar 2007 21:49:22 -0000 Received: from unknown (HELO chen.org.nz) ([202.89.146.5]) (envelope-sender ) by 0 (qmail-ldap-1.03) with SMTP for ; 10 Mar 2007 21:49:22 -0000 Received: by chen.org.nz (Postfix, from userid 1000) id 0363B7E861; Sun, 11 Mar 2007 10:49:22 +1300 (NZDT) Date: Sun, 11 Mar 2007 10:49:21 +1300 From: Jonathan Chen To: Nattawut Message-ID: <20070310214921.GA12451@osiris.chen.org.nz> References: <000501c76355$00f08080$02d18180$@com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000501c76355$00f08080$02d18180$@com> User-Agent: Mutt/1.4.2.2i Cc: questions@FreeBSD.org Subject: Re: FreeBSD/i386 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 22:16:03 -0000 On Sat, Mar 10, 2007 at 03:45:13PM -0500, Nattawut wrote: > Dear Sir/Madam, > > I'm a Windows Platform user, I just got the machine that contain > FreeBSD/i386 already install. I try to use it but I can't get through the > the login password screen. This machine was left over from the place that I > used to work but it had been closed my boss gave to me. It the Travla > mini-ITX case brand new and it small when I turn it on it just ask for loin > name and password , I just have no idea who should I ask for help because I > don't know how they get this machine from. Thank you for your time. Depends on what you want to do with the machine. If you want to use it with Windows, I would suggest that you trash the FreeBSD installation and install Windows over it. Otherwise you will have to put in the time to learn the O/S; there are quite a few resources on the 'Net including the FreeBSD Handbook, as well as Greg Lehey's (free) book "The Complete FreeBSD". -- Jonathan Chen ---------------------------------------------------------------------- If you're right 90% of the time, why quibble about the remaining 3%? From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 22:19:11 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 84A2116A402 for ; Sat, 10 Mar 2007 22:19:11 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id 2135A13C442 for ; Sat, 10 Mar 2007 22:19:11 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from archangel.daleco.biz ([69.27.149.254]) by ezekiel.daleco.biz (8.13.4/8.13.1) with ESMTP id l2AMJ8lO057395; Sat, 10 Mar 2007 16:19:09 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <45F32ED6.3000108@daleco.biz> Date: Sat, 10 Mar 2007 16:19:02 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2pre) Gecko/20070221 SeaMonkey/1.1 MIME-Version: 1.0 To: Nattawut References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: FreeBSD/i386 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 22:19:11 -0000 Nattawut wrote: > Dear Sir/Madam, > > I'm a Windows Platform user, I just got the machine that contain > FreeBSD/i386 already install. I try to use it but I can't get through the > the login password screen. This machine was left over from the place that I > used to work but it had been closed my boss gave to me. It the Travla > mini-ITX case brand new and it small when I turn it on it just ask for loin > name and password , I just have no idea who should I ask for help because I > don't know how they get this machine from. Thank you for your time. > > Regards, Hello, Leo/Nattawut! There are a bunch of Sirs and some Madams here (we are all FreeBSD users -- this is a volunteer help mailing list). Before I make any other suggestions, let me suggest that you take a look at the FreeBSD Handbook (where many questions like this are answered already). You can find it online at: http://www.freebsd.org/handbook Next, try logging in with username "root" and nothing else (i.e., simply press ENTER when prompted for a password). If that doesn't work, look for "escape to loader prompt" on the 3rd stage boot menu, and press the appropriate key on your system's keyboard. You will receive a simple "command prompt"; type "boot -s" at this prompt. If you are prompted "enter name of default shell or press RETURN for /bin/sh", then press RETURN and then do as follows ("$" is the computer's prompt; type the commands as shown following the "$"). $ mount -a $ passwd Changing local password for root. Enter new password: mypasswordhere Retype new password: mypasswordhere $ shutdown -r now This will mount all filesystems so that the password file can be changed, change the "root" password to a password of your choosing, and reboot the system to "normal" mode. If this procedure doesn't work, don't be alarmed---there are a few possibilities that might keep this from working; check the handbook, and, if needed, write again to the "questions@" list with a new subject line describing your new problem. HTH, Kevin Kinsey -- Personifiers of the world, unite! You have nothing to lose but Mr. Dignity! -- Bernadette Bosky From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 22:20:48 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6523616A402 for ; Sat, 10 Mar 2007 22:20:48 +0000 (UTC) (envelope-from bsd-unix@earthlink.net) Received: from pop-scotia.atl.sa.earthlink.net (pop-scotia.atl.sa.earthlink.net [207.69.195.65]) by mx1.freebsd.org (Postfix) with ESMTP id 42EA013C4A8 for ; Sat, 10 Mar 2007 22:20:48 +0000 (UTC) (envelope-from bsd-unix@earthlink.net) Received: from fl-76-3-168-71.dhcp.embarqhsd.net ([76.3.168.71] helo=kt.weeeble.com) by pop-scotia.atl.sa.earthlink.net with smtp (Exim 3.36 #1) id 1HQ9vj-00043F-00; Sat, 10 Mar 2007 17:20:47 -0500 Date: Sat, 10 Mar 2007 17:20:47 -0500 From: Randy Pratt To: "Ed Zwart" Message-Id: <20070310172047.09bb2f41.bsd-unix@earthlink.net> In-Reply-To: <6660f1280703101251w1fac7df7xc1d0eb23b22dafc9@mail.gmail.com> References: <6660f1280703101251w1fac7df7xc1d0eb23b22dafc9@mail.gmail.com> X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.9; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: searching archives broken? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 22:20:48 -0000 On Sat, 10 Mar 2007 12:51:03 -0800 "Ed Zwart" wrote: > Hi there, I'm new to the list, and have been trying to search the > archives at http://lists.freebsd.org/pipermail/freebsd-questions/. No > matter what I search for, I get no results (even one-word searches > that should definitely have hits; eg, 'mail', 'hostname', etc). > > I want to search the archives before asking the group, but the archive > is way too large to make browsing feasible. Is search broken, or am I > missing something? I use google to search the FreeBSD site. Do your google search as usual but add "site:freebsd.org" at the end and it limits the searches to freebsd.org. Other operators can be used for google also: http://www.google.com/intl/en/help/operators.html HTH some, Randy -- From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 22:28:17 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C087716A400 for ; Sat, 10 Mar 2007 22:28:17 +0000 (UTC) (envelope-from brett@lariat.net) Received: from lariat.net (lariat.net [66.119.58.2]) by mx1.freebsd.org (Postfix) with ESMTP id 37AB613C428 for ; Sat, 10 Mar 2007 22:28:11 +0000 (UTC) (envelope-from brett@lariat.net) Received: from anne-o1dpaayth1.lariat.org (IDENT:ppp1000.lariat.net@lariat.net [65.122.236.2] (may be forged)) by lariat.net (8.9.3/8.9.3) with ESMTP id PAA19555; Sat, 10 Mar 2007 15:01:33 -0700 (MST) Message-Id: <200703102201.PAA19555@lariat.net> X-message-flag: Warning! Use of Microsoft Outlook renders your system susceptible to Internet worms. X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Sat, 10 Mar 2007 15:01:31 -0700 To: John Levine , freebsd-questions@freebsd.org From: Brett Glass In-Reply-To: <20070310212751.2637.qmail@simone.iecc.com> References: <200703101957.MAA18447@lariat.net> <20070310212751.2637.qmail@simone.iecc.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: Subject: Re: DST on very old FreeBSD system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 22:28:17 -0000 John: /etc/localtime on the 2.2.8 system begins with a series of nulls, not the string "TZif". However, some of our other clients have 4.x systems whose /etc/localtime files do begin with "TZif". If you could send or post the files for the MST7MDT zone in both formats, it'd be a great help. It'd be nice if administrators could just download the relevant files and drop them into /etc/localtime. Perhaps someone with the power to do so could upload the zones in both formats to directories on ftp.freebsd.org, so folks could bring in the zone(s) they needed via the "fetch" program. --Brett Glass At 02:27 PM 3/10/2007, John Levine wrote: >In article <200703101957.MAA18447@lariat.net> you write: >>I've been asked to update a very old FreeBSD system -- an embedded >>system that's chugging along happily on FreeBSD 2.2.8 -- to handle >>the new start and stop dates for Daylight Savings Time. > >I just updated my antique BSDI 4.3 systems, and it turned out to take >about five minutes. > >See if your system has the zic time zone compiler installed, probably >in /usr/sbin or some place like that. If so, pick up the new source >file /usr/src/share/zoneinfo/northamerica from a current fbsd system, >become superuser, and run it through zic. It should automatically >install all of the updated files in the right place. > >If you can't find a copy of zic, you'll need to figure out whether >that version of fbsd uses the old or new timezone format. The old >format starts with a bunch of binary zeros, the new format with >the string TZif. > >If it uses the new format, just copy the timezone files from any other >fbsd system. If it uses the old format, drop me a line privately and >I'll send you the files from a bsdi box. > >R's, >John From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 22:38:28 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 669CD16A400 for ; Sat, 10 Mar 2007 22:38:28 +0000 (UTC) (envelope-from beech@alaskaparadise.com) Received: from stargate.alaskaparadise.com (7-137-58-66.gci.net [66.58.137.7]) by mx1.freebsd.org (Postfix) with ESMTP id E669013C474 for ; Sat, 10 Mar 2007 22:38:27 +0000 (UTC) (envelope-from beech@alaskaparadise.com) Received: from localhost (localhost [127.0.0.1]) by stargate.alaskaparadise.com (Postfix) with ESMTP id DD4887DF7; Sat, 10 Mar 2007 13:38:26 -0900 (AKST) From: Beech Rintoul Organization: FreeBSD Port Maintainer To: freebsd-questions@freebsd.org Date: Sat, 10 Mar 2007 13:38:07 -0900 User-Agent: KMail/1.9.5 References: <20070310224946.K10353@chylonia.3miasto.net> In-Reply-To: <20070310224946.K10353@chylonia.3miasto.net> X-Face: jC2w\k*Q1\0DA2Q0Eh&BrP/Rt2M,^2O#R07VoT98m*>miQF9%Bi9vy`F6cPjwEe?m,)=?utf-8?q?2=0A=09X=3FM=5C=3AOE9QgZ?="xT3/n3,3MJ7N=Cfkmi%f(w^~X"SUxn>; 27NO; C+)g[7J`$G*SN>{<=?utf-8?q?O=3Bg7=7C=0A=09o=7D=265A=5D4?=@7D`=Eb@Zs1Ln814?]|k@'bG=.Ca"[|8+_.OsNAo8!#?4u MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart48937473.tvq242eusg"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200703101338.22384.beech@alaskaparadise.com> Cc: Wojciech Puchar Subject: Re: root login with telnetd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: beech@alaskaparadise.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 22:38:28 -0000 --nextPart48937473.tvq242eusg Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 10 March 2007 12:52, Wojciech Puchar said: > can it be set to make possible to login root to machine through > telnet and without telneting to some user and then su - > ? > > with sshd and rshd it can be set, with telnetd - no success. That is a REALLY BAD idea. Why don't you just publish your address and=20 set the root password to nothing. It's only going to take a cracker a=20 couple of minutes or less to own your server once they find you (and=20 they will). Beech =2D-=20 =2D------------------------------------------------------------------------= =2D------------- Beech Rintoul - Port Maintainer - beech@alaskaparadise.com /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://www.freebsd.org X - NO Word docs in e-mail | Latest Release: / \ - http://www.freebsd.org/releases/6.2R/announce.html =2D------------------------------------------------------------------------= =2D------------- --nextPart48937473.tvq242eusg Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBF8zNTp5D0B1NlT4URAoP0AJ9TJUczGuaiShp01QQt1+RfBSxODACfcQsL m7+jes/XooLu7wzlaUJvapo= =qYnq -----END PGP SIGNATURE----- --nextPart48937473.tvq242eusg-- From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 22:41:25 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0C58816A402 for ; Sat, 10 Mar 2007 22:41:25 +0000 (UTC) (envelope-from wojtek@tensor.gdynia.pl) Received: from chylonia.3miasto.net (chylonia.3miasto.net [83.12.228.78]) by mx1.freebsd.org (Postfix) with ESMTP id 6853913C474 for ; Sat, 10 Mar 2007 22:41:24 +0000 (UTC) (envelope-from wojtek@tensor.gdynia.pl) Received: from chylonia.3miasto.net (localhost [127.0.0.1]) by chylonia.3miasto.net (8.13.8/8.13.4) with ESMTP id l2ALkuSn010051; Sat, 10 Mar 2007 22:46:56 +0100 (CET) (envelope-from wojtek@tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by chylonia.3miasto.net (8.13.8/8.13.4/Submit) with ESMTP id l2ALku5E010048; Sat, 10 Mar 2007 22:46:56 +0100 (CET) (envelope-from wojtek@tensor.gdynia.pl) X-Authentication-Warning: chylonia.3miasto.net: wojtek owned process doing -bs Date: Sat, 10 Mar 2007 22:46:56 +0100 (CET) From: Wojciech Puchar X-X-Sender: wojtek@chylonia.3miasto.net To: Nattawut In-Reply-To: Message-ID: <20070310224600.F8914@chylonia.3miasto.net> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: questions@freebsd.org Subject: Re: FreeBSD/i386 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 22:41:25 -0000 > mini-ITX case brand new and it small when I turn it on it just ask for loin > name and password , I just have no idea who should I ask for help because I > don't know how they get this machine from. Thank you for your time. > see www.freebsd.org and look at handbook. From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 22:41:26 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4281716A405 for ; Sat, 10 Mar 2007 22:41:26 +0000 (UTC) (envelope-from wojtek@tensor.gdynia.pl) Received: from chylonia.3miasto.net (chylonia.3miasto.net [83.12.228.78]) by mx1.freebsd.org (Postfix) with ESMTP id A490D13C4A7 for ; Sat, 10 Mar 2007 22:41:25 +0000 (UTC) (envelope-from wojtek@tensor.gdynia.pl) Received: from chylonia.3miasto.net (localhost [127.0.0.1]) by chylonia.3miasto.net (8.13.8/8.13.4) with ESMTP id l2ALhmw9009690; Sat, 10 Mar 2007 22:43:48 +0100 (CET) (envelope-from wojtek@tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by chylonia.3miasto.net (8.13.8/8.13.4/Submit) with ESMTP id l2ALhmib009687; Sat, 10 Mar 2007 22:43:48 +0100 (CET) (envelope-from wojtek@tensor.gdynia.pl) X-Authentication-Warning: chylonia.3miasto.net: wojtek owned process doing -bs Date: Sat, 10 Mar 2007 22:43:48 +0100 (CET) From: Wojciech Puchar X-X-Sender: wojtek@chylonia.3miasto.net To: Kris Kennaway In-Reply-To: <20070310190441.GA25569@xor.obsecurity.org> Message-ID: <20070310224236.E8914@chylonia.3miasto.net> References: <6faf55220703100845u62eab431y3a16ae0d8cb3bba7@mail.gmail.com> <55D533EB-26F9-40B7-838B-8BCB9D0A9463@tca-cable-connector.com> <20070310190441.GA25569@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: David Schulz , FreeBSD Questions Subject: Re: Howmany CPU Does FreeBSD Support ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 22:41:26 -0000 > It all depends on your workload. FreeBSD 7.0 will have good scaling > on 8 or more CPUs on common workloads, see e.g.: > > http://people.freebsd.org/~kris/scaling/mysql.html > > Kris anyway it's worth to actually test machine before buying. even for 1 cpu systems lots of crappy motherboards/BIOSES make problems with these all "inventions" like interrupt routing etc. ending with 100Mbit/s network adapter taking 10-20% of fast CPU From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 22:41:27 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6812F16A400 for ; Sat, 10 Mar 2007 22:41:27 +0000 (UTC) (envelope-from wojtek@tensor.gdynia.pl) Received: from chylonia.3miasto.net (chylonia.3miasto.net [83.12.228.78]) by mx1.freebsd.org (Postfix) with ESMTP id DA9E313C48D for ; Sat, 10 Mar 2007 22:41:26 +0000 (UTC) (envelope-from wojtek@tensor.gdynia.pl) Received: from chylonia.3miasto.net (localhost [127.0.0.1]) by chylonia.3miasto.net (8.13.8/8.13.4) with ESMTP id l2ALelgr009357; Sat, 10 Mar 2007 22:40:47 +0100 (CET) (envelope-from wojtek@tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by chylonia.3miasto.net (8.13.8/8.13.4/Submit) with ESMTP id l2ALelPc009354; Sat, 10 Mar 2007 22:40:47 +0100 (CET) (envelope-from wojtek@tensor.gdynia.pl) X-Authentication-Warning: chylonia.3miasto.net: wojtek owned process doing -bs Date: Sat, 10 Mar 2007 22:40:47 +0100 (CET) From: Wojciech Puchar X-X-Sender: wojtek@chylonia.3miasto.net To: David Schulz In-Reply-To: <55D533EB-26F9-40B7-838B-8BCB9D0A9463@tca-cable-connector.com> Message-ID: <20070310223906.E8914@chylonia.3miasto.net> References: <6faf55220703100845u62eab431y3a16ae0d8cb3bba7@mail.gmail.com> <55D533EB-26F9-40B7-838B-8BCB9D0A9463@tca-cable-connector.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Questions Subject: Re: Howmany CPU Does FreeBSD Support ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 22:41:27 -0000 > I have heard it does not scale well above 4 to be clear. kernel task (disk I/O, network etc.) is always on first processor, everything else on any CPU. so as long as disk I/O network and other kernel tasks are able to fit on one processor that's OK. for machines doing mostly pure computing 8-16 CPU may work fine, for machines doing mostly fileserving and routing even 2 CPUs may be not well utilized From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 22:41:28 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9037916A403 for ; Sat, 10 Mar 2007 22:41:28 +0000 (UTC) (envelope-from wojtek@tensor.gdynia.pl) Received: from chylonia.3miasto.net (chylonia.3miasto.net [83.12.228.78]) by mx1.freebsd.org (Postfix) with ESMTP id 0C21913C441 for ; Sat, 10 Mar 2007 22:41:27 +0000 (UTC) (envelope-from wojtek@tensor.gdynia.pl) Received: from chylonia.3miasto.net (localhost [127.0.0.1]) by chylonia.3miasto.net (8.13.8/8.13.4) with ESMTP id l2ALcNWD009088; Sat, 10 Mar 2007 22:38:23 +0100 (CET) (envelope-from wojtek@tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by chylonia.3miasto.net (8.13.8/8.13.4/Submit) with ESMTP id l2ALcMhh009085; Sat, 10 Mar 2007 22:38:22 +0100 (CET) (envelope-from wojtek@tensor.gdynia.pl) X-Authentication-Warning: chylonia.3miasto.net: wojtek owned process doing -bs Date: Sat, 10 Mar 2007 22:38:22 +0100 (CET) From: Wojciech Puchar X-X-Sender: wojtek@chylonia.3miasto.net To: Brett Glass In-Reply-To: <200703101957.MAA18447@lariat.net> Message-ID: <20070310223739.E8914@chylonia.3miasto.net> References: <200703101957.MAA18447@lariat.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: questions@freebsd.org Subject: Re: DST on very old FreeBSD system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 22:41:28 -0000 > system that's chugging along happily on FreeBSD 2.2.8 -- to handle > the new start and stop dates for Daylight Savings Time. There's no > need to update the OS on the system, because it is firewalled from > the Internet and runs the embedded hardware it has to run just fine. > But it does need the clock to be right to perform scheduled tasks. > > If I simply copy /etc/localtime from a FreeBSD 6.1 system to that > one, will it work? Or has the time zone file format changed at all? > (I seem to recall that it was fixed by POSIX, but I don't know if > versions of FreeBSD that old are POSIX-compliant.) > there is 2.2.9 release on FTP. get base distribution and extract needed files - and be sure it will fit From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 22:55:38 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6675416A406 for ; Sat, 10 Mar 2007 22:55:38 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 53D1113C442 for ; Sat, 10 Mar 2007 22:55:38 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 31BDE1A3C1C; Sat, 10 Mar 2007 14:55:38 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 4AF52517E2; Sat, 10 Mar 2007 17:55:37 -0500 (EST) Date: Sat, 10 Mar 2007 17:55:37 -0500 From: Kris Kennaway To: Wojciech Puchar Message-ID: <20070310225536.GA47985@xor.obsecurity.org> References: <6faf55220703100845u62eab431y3a16ae0d8cb3bba7@mail.gmail.com> <55D533EB-26F9-40B7-838B-8BCB9D0A9463@tca-cable-connector.com> <20070310223906.E8914@chylonia.3miasto.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AhhlLboLdkugWU4S" Content-Disposition: inline In-Reply-To: <20070310223906.E8914@chylonia.3miasto.net> User-Agent: Mutt/1.4.2.2i Cc: David Schulz , FreeBSD Questions Subject: Re: Howmany CPU Does FreeBSD Support ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 22:55:38 -0000 --AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 10, 2007 at 10:40:47PM +0100, Wojciech Puchar wrote: > >I have heard it does not scale well above 4 >=20 > to be clear. >=20 > kernel task (disk I/O, network etc.) is always on first processor,=20 > everything else on any CPU. This is incorrect for approximately the last 7 years (it is only true for FreeBSD 4.x and below). Kris --AhhlLboLdkugWU4S Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF8zdoWry0BWjoQKURAsnqAJ9pAtXJvrjWicGYoUmU68O7fyiDAgCeO7lD raYoZjll3Df0jW/8bE0R50M= =mffy -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S-- From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 23:20:31 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6C91216A401 for ; Sat, 10 Mar 2007 23:20:31 +0000 (UTC) (envelope-from ed.zwart@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.freebsd.org (Postfix) with ESMTP id 05E4D13C478 for ; Sat, 10 Mar 2007 23:20:30 +0000 (UTC) (envelope-from ed.zwart@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so1679710ugh for ; Sat, 10 Mar 2007 15:20:29 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lay3lI4H1myE7ry/eVJu/Vs5dIpr4rN6ORgWjwaGEAbdmE4tPwo7sqbnWXrCytSv9DQHoDUjEi4kEeuWMOyit4IjzW4EtrkQNgeKa8rPB7Y/OwjVCB97WQR+oYybFjzA00iXbl9MYRyK3N5MNilowpThEZBHzyhy0fT1Oj34RLA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=UuKjpiLMo4qiEqAsstfqrQOTJPjPOeS3XpEHEQsGrnd4XH2E/Ajm+Dr6xl6mTvJ72MuCpe+BUg+cHPuwCtMXgx/NcINPf8bIGHYuiv5gAiBLC+UUQ2U5lphnA7xC+JBg00H4XOH41l2273PUTx9oa/90fTpsI41RLPj3biayGi4= Received: by 10.67.117.18 with SMTP id u18mr13299432ugm.1173568829908; Sat, 10 Mar 2007 15:20:29 -0800 (PST) Received: by 10.82.185.13 with HTTP; Sat, 10 Mar 2007 15:20:29 -0800 (PST) Message-ID: <6660f1280703101520x38d7d971gb80771598a2f84d3@mail.gmail.com> Date: Sat, 10 Mar 2007 15:20:29 -0800 From: "Ed Zwart" To: "Randy Pratt" In-Reply-To: <20070310172047.09bb2f41.bsd-unix@earthlink.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6660f1280703101251w1fac7df7xc1d0eb23b22dafc9@mail.gmail.com> <20070310172047.09bb2f41.bsd-unix@earthlink.net> Cc: freebsd-questions@freebsd.org Subject: Re: searching archives broken? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 23:20:31 -0000 Thanks Randy, I use google's advanced search all the time! The trouble with limiting to freebsd.org is that it's a bigger search space than just this list's archive. I've been reading the freebsd handbook for quite some time, and have learned a lot there. But I've got a few dots left that need connecting that I think you all will be able to set me straight on very quickly. So, I'm off to start another thread on what I really came here for... (but making the archive search work would be great still!) e. On 3/10/07, Randy Pratt wrote: > On Sat, 10 Mar 2007 12:51:03 -0800 > "Ed Zwart" wrote: > > > Hi there, I'm new to the list, and have been trying to search the > > archives at http://lists.freebsd.org/pipermail/freebsd-questions/. No > > matter what I search for, I get no results (even one-word searches > > that should definitely have hits; eg, 'mail', 'hostname', etc). > > > > I want to search the archives before asking the group, but the archive > > is way too large to make browsing feasible. Is search broken, or am I > > missing something? > > I use google to search the FreeBSD site. Do your google search > as usual but add "site:freebsd.org" at the end and it limits the > searches to freebsd.org. > > Other operators can be used for google also: > > http://www.google.com/intl/en/help/operators.html > > HTH some, > > Randy > > -- > From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 23:41:50 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1610C16A401 for ; Sat, 10 Mar 2007 23:41:50 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.freebsd.org (Postfix) with ESMTP id E3BF313C471 for ; Sat, 10 Mar 2007 23:41:49 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from [216.218.220.25] (216-218-220-25.argonblue.net [216.218.220.25] (may be forged)) (authenticated bits=0) by typhoon.enabled.com (8.14.0/8.14.0) with ESMTP id l2ANfd9Q075004 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 10 Mar 2007 15:41:41 -0800 (PST) (envelope-from admin2@enabled.com) Message-ID: <45F3422D.4030005@enabled.com> Date: Sat, 10 Mar 2007 15:41:33 -0800 From: Noah User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: User Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: installing 6.2 from external USB DVD-ROM drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 23:41:50 -0000 Hi there, is there a way to install FreeBSD from an external USB DVD-ROM drive? I am at a loss of how to do it. Cheers, Noah From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 23:46:24 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EC2BC16A402 for ; Sat, 10 Mar 2007 23:46:24 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.freebsd.org (Postfix) with ESMTP id DD22F13C467 for ; Sat, 10 Mar 2007 23:46:24 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from [216.218.220.25] (216-218-220-25.argonblue.net [216.218.220.25] (may be forged)) (authenticated bits=0) by typhoon.enabled.com (8.14.0/8.14.0) with ESMTP id l2ANk1rq075140 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 10 Mar 2007 15:46:01 -0800 (PST) (envelope-from admin2@enabled.com) Message-ID: <45F34336.1040400@enabled.com> Date: Sat, 10 Mar 2007 15:45:58 -0800 From: Noah User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: Noah References: <45F3422D.4030005@enabled.com> In-Reply-To: <45F3422D.4030005@enabled.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: User Questions Subject: Re: installing 6.2 from external USB DVD-ROM drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 23:46:25 -0000 More details: I am able to boot and get to the installation utility but when I go to "choose installation media" and choose "CD/DVD" the response is "No CD/DVD devices found!" what can I do about this? Cheers, Noah Noah wrote: > Hi there, > > is there a way to install FreeBSD from an external USB DVD-ROM drive? > I am at a loss of how to do it. > > Cheers, > > Noah > > _______________________________________________ > 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 Mar 10 23:48:50 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4EFCC16A400 for ; Sat, 10 Mar 2007 23:48:50 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (dsl081-227-250.chi1.dsl.speakeasy.net [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id C9DF213C442 for ; Sat, 10 Mar 2007 23:48:47 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.12.11) with ESMTP id l2ANmA7Z047284; Sat, 10 Mar 2007 17:48:10 -0600 (CST) Message-Id: <6.0.0.22.2.20070310174723.0253a860@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Sat, 10 Mar 2007 17:47:58 -0600 To: Noah , User Questions From: Derek Ragona In-Reply-To: <45F3422D.4030005@enabled.com> References: <45F3422D.4030005@enabled.com> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: installing 6.2 from external USB DVD-ROM drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 23:48:50 -0000 If your system's BIOS will support booting from that drive, select it as the first boot device. -Derek At 05:41 PM 3/10/2007, Noah wrote: >Hi there, > >is there a way to install FreeBSD from an external USB DVD-ROM drive? >I am at a loss of how to do it. > >Cheers, > >Noah > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. >MailScanner thanks transtec Computers for their support. > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 23:54:33 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 367A016A401 for ; Sat, 10 Mar 2007 23:54:33 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 9542F13C428 for ; Sat, 10 Mar 2007 23:54:32 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from kobe.laptop (dialup98.ach.sch.gr [81.186.70.98]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l2ANrcb6008379 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 11 Mar 2007 01:53:47 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.13.8/8.13.8) with ESMTP id l2ANrVo8003489; Sun, 11 Mar 2007 01:53:32 +0200 (EET) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by kobe.laptop (8.13.8/8.13.8/Submit) id l2ANrVvX003488; Sun, 11 Mar 2007 01:53:31 +0200 (EET) (envelope-from keramida@freebsd.org) Date: Sun, 11 Mar 2007 01:53:31 +0200 From: Giorgos Keramidas To: FreeBSD Daemon Message-ID: <20070310235331.GC3356@kobe.laptop> References: <45F186F0.4040909@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45F186F0.4040909@gmx.net> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.077, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.32, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@freebsd.org X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: Perforce access X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 23:54:33 -0000 On 2007-03-09 17:10, FreeBSD Daemon wrote: > dear list, > is it prossible (for a normal mortal, aka non-committer ) to access > the the perforce repository to get code? There is always read-only access available through the Perforce web interface at: http://perforce.freebsd.org/ To really work with a Perforce client, though, you would have to get an account. Perforce accounts are managed by the project itself, but you don't _have_ to be a committer to work in Perforce. For example, those who are working on Google Summer of Code projects related to FreeBSD usually get a Perforce account, to help them integrate their work with the source trees/branches which are already available through Perforce. HTH, Giorgos From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 23:55:33 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0BCBE16A401 for ; Sat, 10 Mar 2007 23:55:33 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (dsl081-227-250.chi1.dsl.speakeasy.net [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id A494113C441 for ; Sat, 10 Mar 2007 23:55:32 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.12.11) with ESMTP id l2ANt3Vm047401; Sat, 10 Mar 2007 17:55:03 -0600 (CST) Message-Id: <6.0.0.22.2.20070310175332.0254ecc8@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Sat, 10 Mar 2007 17:54:53 -0600 To: Noah , Noah From: Derek Ragona In-Reply-To: <45F34336.1040400@enabled.com> References: <45F3422D.4030005@enabled.com> <45F34336.1040400@enabled.com> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: User Questions Subject: Re: installing 6.2 from external USB DVD-ROM drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 23:55:33 -0000 If you boot then exit sysinstall to a prompt, try to mount the external drive. If you can mount it, then rerun sysinstall and choose to install from a mounted file system instead. -Derek At 05:45 PM 3/10/2007, Noah wrote: >More details: > >I am able to boot and get to the installation utility but when I go to >"choose installation media" and choose "CD/DVD" the response is "No CD/DVD >devices found!" > >what can I do about this? > >Cheers, > >Noah > > >Noah wrote: >>Hi there, >>is there a way to install FreeBSD from an external USB DVD-ROM drive? >>I am at a loss of how to do it. >>Cheers, >>Noah >>_______________________________________________ >>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" > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. >MailScanner thanks transtec Computers for their support. > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support.