From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 00:50:28 2010 Return-Path: Delivered-To: questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C978D106566C for ; Sun, 10 Jan 2010 00:50:26 +0000 (UTC) (envelope-from libyan.ldn@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 6058E8FC1B for ; Sun, 10 Jan 2010 00:50:26 +0000 (UTC) Received: by bwz5 with SMTP id 5so13063309bwz.3 for ; Sat, 09 Jan 2010 16:50:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=57s27v5hBfsKjFt2x8yOG7eK4hx5mweJ/yYVcwUdeI8=; b=CtQp+AYthMsKtRNHO7Begf5+NK6e11xoDdPfxJUYXe2nrFZXwDEl9tb6P5ejBAvcE3 qVeHHP+3AGlcvyaYJYi5NQnWd/rVPfScX/lDR9K8CKULHvHkI1/WfUJRuqUhGlpngxPn dTlX5+nin6uu9CJNDRqhz1234a0QGelpl5nQ8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=b4RUfQaqnQkL1PuRam1JSE+qL53YBE0Bd8MtBhQWrboeJS0fGxbUBdDZHi6Jw13nfO I5P9XZI6D+a3UbPGkoELtiVWlEUxLojzQpYe0TwDkaoIuu+auZiCNB4wFVFcpnUobTpt jA9dwTbk+c7o6zlKvXz63adCLBBTV8LZe3Zb8= MIME-Version: 1.0 Received: by 10.204.6.17 with SMTP id 17mr1540990bkx.114.1263083304561; Sat, 09 Jan 2010 16:28:24 -0800 (PST) Date: Sun, 10 Jan 2010 02:28:24 +0200 Message-ID: <71d8cefa1001091628g4ec8d8bbr19d3ff5ec91c8b93@mail.gmail.com> From: libyan linux To: questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: i've questions sure this e-mail for 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: Sun, 10 Jan 2010 00:50:28 -0000 hello sir i am wanyce ashoura from Libya i notice in Libya and Africa there is no community for BSD and i start manged some small group of bsd group so if that not bothering you cause my language english not so good ok and i am new in bsd world and i wasn't use windows xp sure i start with slackware and i notice there are bsd so i say let me test it and i like so much i want understanding this freebsd and openbsd and pcbsd not is distributor as gnu linux yes or not cause there just few os named bsd i know bsd is open source but not free software here i am not talk about free of charging . so my questions is bsd is not free software mean i cant make distributor on bsd is what i do now on my pc not distributor for business just for my own small work like manged my network with me friend's and play costuming every thing as i want so thank you for your time From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 00:52:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD96F10657CB for ; Sun, 10 Jan 2010 00:52:55 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from kermit7.lizardhill.com (kermit7.lizardhill.com [64.69.41.223]) by mx1.freebsd.org (Postfix) with ESMTP id C686A8FC18 for ; Sun, 10 Jan 2010 00:52:55 +0000 (UTC) Received: from ip68-104-23-65.lv.lv.cox.net ([68.104.23.65] helo=mickey) by kermit.lizardhill.com with esmtpa (Exim 4.62) (envelope-from ) id 1NTm2n-0004y0-K0; Sat, 09 Jan 2010 16:52:37 -0800 From: "Don O'Neil" To: "'Polytropon'" References: <157701ca90c1$3a62ecd0$af28c670$@com> <20100109073442.c86fe9e4.freebsd@edvax.de> In-Reply-To: <20100109073442.c86fe9e4.freebsd@edvax.de> Date: Sat, 9 Jan 2010 16:52:57 -0800 Message-ID: <188101ca918f$40141810$c03c4830$@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: AcqQ9c+6wjKBr7XaQMqCV8To+jTGoQAmMHtA Content-Language: en-us Cc: php-general@lists.php.net, freebsd-questions@freebsd.org Subject: RE: Clean PHP 5.2.12 Build Core Dumping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Jan 2010 00:52:55 -0000 Ok... well, your idea is a good one, but it seems that the port is broken. I did a port update, which brought in the latest php build info from December, but when I run 'make' (without even editing the Makefile to add my own other modules I need) I get this: X11BASE is now deprecated. Unset X11BASE in make.conf and try again. *** Error code 1 Not even sure where it's getting that error message from, since I can't find any reference to X11BASE in any of the files in the package, or in my env. Any ideas? > -----Original Message----- > From: Polytropon [mailto:freebsd@edvax.de] > Sent: Friday, January 08, 2010 10:35 PM > To: Don O'Neil > Cc: php-general@lists.php.net; freebsd-questions@freebsd.org > Subject: Re: Clean PHP 5.2.12 Build Core Dumping > > On Fri, 8 Jan 2010 16:18:11 -0800, "Don O'Neil" > wrote: > > Ok... more info on the problem... > > > > I started with a clean untarred archive, ad just ran ./configure, > make, make > > test.... I get a core dump. > > Maybe this is not a FreeBSD source? > > I'd suggest using the FreeBSD ports system for installation from > source (i. e. tar archives). PHP 5.2.12 seems to be availabe. > You can use > > # cd /usr/ports/lang/php5 > # make > # make install > > Make sure - not "make sure" :-) - that your ports tree is up to > date in order to recieve the latest version. > > > > > After running gdb on the core dump I noticed it was the sqlite stuff > that > > was dumping, so I re-ran configure with --without-sqlite > > --without-pdo-sqlite --with-mysql=/usr/local/mysql > > Check the available options that can be set for the php5 port > at compile time, either via "make config", or enter them > manually (e. g. in Makefile.local - I'm not sure if this > mechanism is still supported). > > > > > Now the gdb shows this: > > > > Core was generated by `php'. > > Program terminated with signal 11, Segmentation fault. > > #0 0x081d50a7 in sqlite3Select (pParse=0xbbc00080, p=0x0, > eDest=164102200, > > iParm=0, pParent=0x24, parentTab=139141440, pParentAgg=0x84c10d8, > > aff=0x0) > > at > > /usr/local/directadmin/customapache/php- > 5.2.11/ext/pdo_sqlite/sqlite/src/sel > > ect.c:3172 > > 3172 for(j=0; jnExpr; j++){ > > > > > > First off, the compile directory listed is wrong, don't know where it > got > > php-5.2.11 from, that's the last version I built and is installed on > this > > system. Maybe it's pulling that from the system php? > > Yes, correct. > > > > > Secondly, even though I've told it not to use sqlite, it still seems > to be. > > It is - by 5.2.11 (or by directadmin). Seems that you've not > installed 5.2.12 with your custom options yet. > > > > > Any help here would be appreciated in moving forward. My whole reason > for > > needing to rebuild php is I need the pdo_mysql module instead of the > > pdo_sqlite version. > > As I said, I would suggest to try to achieve this through > the ports system. It's easier than fighting ./configure. :-) > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 01:29:31 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8947106566B for ; Sun, 10 Jan 2010 01:29:31 +0000 (UTC) (envelope-from mike.jeays@rogers.com) Received: from smtp129.rog.mail.re2.yahoo.com (smtp129.rog.mail.re2.yahoo.com [206.190.53.34]) by mx1.freebsd.org (Postfix) with SMTP id 6426C8FC13 for ; Sun, 10 Jan 2010 01:29:31 +0000 (UTC) Received: (qmail 30220 invoked from network); 10 Jan 2010 01:29:25 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:From:To:Subject:Date:User-Agent:References:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Disposition:Message-Id; b=TGmVvcYwT3+C+kTJgDtMgKsvPs8SC8WlOS/dmjvZaDZFrI6hsCNB5NoCtz+Yf4Us/bC46Z1q71d68H6ITDKoYg6K5olEyiuH44xZqDKqDUpn85HdHaBUjr6V6L1bLfBuRev7BFY2cteKFlc7vh1WjK7IgfGDh0MwSWHdTfExDVE= ; Received: from CPE0018027b43e0-CM0014e88f61fe.cpe.net.cable.rogers.com (mike.jeays@99.224.61.141 with plain) by smtp129.rog.mail.re2.yahoo.com with SMTP; 09 Jan 2010 17:29:25 -0800 PST X-Yahoo-SMTP: N82WFx6swBBjwcHWPFR2CGt6udzA8RPrA.xm0enFFXaK2g-- X-YMail-OSG: C6GXjUEVM1koXTSPIT8ROSRmHnI1jqj0b0MrgkpD9Am.48sxKhEYISQBoDykb8IxeQ-- X-Yahoo-Newman-Property: ymail-3 From: Mike Jeays To: freebsd-questions@freebsd.org Date: Sat, 9 Jan 2010 20:29:23 -0500 User-Agent: KMail/1.11.2 (Linux/2.6.28-15-generic; KDE/4.2.2; i686; ; ) References: <71d8cefa1001091628g4ec8d8bbr19d3ff5ec91c8b93@mail.gmail.com> In-Reply-To: <71d8cefa1001091628g4ec8d8bbr19d3ff5ec91c8b93@mail.gmail.com> MIME-Version: 1.0 Message-Id: <201001092029.23642.mike.jeays@rogers.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: i've questions sure this e-mail for 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: Sun, 10 Jan 2010 01:29:31 -0000 On January 9, 2010 07:28:24 pm libyan linux wrote: > hello sir > i am wanyce ashoura > from Libya i notice in Libya and Africa there is no community for BSD > and i start manged some small group of bsd group > so if that not bothering you cause my language english not so good > ok and i am new in bsd world and i wasn't use windows xp sure > i start with slackware and i notice there are bsd so i say let me > test it and i like so much > i want understanding this > freebsd and openbsd and pcbsd > not is distributor as gnu linux yes or not > cause there just few os named bsd i know bsd is open source but not > free software > here i am not talk about free of charging . > so my questions is bsd is not free software mean i cant make distributor on > bsd is what i do now on my pc not distributor for business just for my own > small work like manged my network with me friend's and play costuming every > thing as i want so > thank you for your time > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" FreeBSD, OpenBSD and PC-BSD are all free software, and there is nothing I know of to stop you distributing and using them locally. You can find out more from http://en.wikipedia.org/wiki/BSD_licenses and from http://63.249.85.132/fbsd_intro.html Good luck - the software is of very high quality and very reliable. From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 01:34:40 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24C7E106566C for ; Sun, 10 Jan 2010 01:34:40 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ew0-f213.google.com (mail-ew0-f213.google.com [209.85.219.213]) by mx1.freebsd.org (Postfix) with ESMTP id A64658FC1C for ; Sun, 10 Jan 2010 01:34:39 +0000 (UTC) Received: by ewy5 with SMTP id 5so9370535ewy.14 for ; Sat, 09 Jan 2010 17:34:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=6qEZUfddluSMY86s8JCfp9j1tIXlVuJk83w0Agf+u2o=; b=bAOlRhR/GuXI9kjx7/GsqgfRrJnP2Y0qxmcDhL/lvVmeiQunuNJtne5zWyDpldjsm4 cEjJyYM0F1yfRN4hfXZsAYijV3zs1UgssXp7vVEvHHATsX0X9hevBzyZZF5rtViNZBeA RrXP/rc8Z0sB8Ntf+tKtJ77PWeHajBjb4o7xg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=eFVqhFyVG3FHc5i6xuXb2w2bupRCFWxDsYB2xOUFmo/zD+11Ixfj+2qimJTTDIbZ7I MhEXPqRNoY7hSelVQFl7ueiBgpepB83NO2uzKavZ0pRbczKnICT+YjFCqPBAow08DT+V xnoj3CvjUYGvYJ1V7t07UzI/yaVSPoeUxD/HQ= Received: by 10.213.50.9 with SMTP id x9mr1317122ebf.38.1263087270358; Sat, 09 Jan 2010 17:34:30 -0800 (PST) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id 16sm17338633ewy.10.2010.01.09.17.34.29 (version=SSLv3 cipher=RC4-MD5); Sat, 09 Jan 2010 17:34:29 -0800 (PST) Date: Sun, 10 Jan 2010 01:34:27 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100110013427.1f2d8868@gumby.homeunix.com> In-Reply-To: <71d8cefa1001091628g4ec8d8bbr19d3ff5ec91c8b93@mail.gmail.com> References: <71d8cefa1001091628g4ec8d8bbr19d3ff5ec91c8b93@mail.gmail.com> X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.5; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: i've questions sure this e-mail for 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: Sun, 10 Jan 2010 01:34:40 -0000 On Sun, 10 Jan 2010 02:28:24 +0200 libyan linux wrote: > so my questions is bsd is not free software mean i cant make > distributor on bsd is what i do now on my pc not distributor for > business just for my own small work like manged my network with me > friend's and play costuming every thing as i want so > thank you for your time You can do what you like with it - including using it in commercial software. The GPL licence used by Linux is much more restrictive than the BSD licence. From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 02:42:04 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0154A106566B for ; Sun, 10 Jan 2010 02:42:04 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id DA2B58FC0A for ; Sun, 10 Jan 2010 02:42:03 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NTnkh-0004Si-E6 for freebsd-questions@freebsd.org; Sat, 09 Jan 2010 18:42:03 -0800 Message-ID: <27095130.post@talk.nabble.com> Date: Sat, 9 Jan 2010 18:42:03 -0800 (PST) From: jaymax To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jaymax36@gmail.com Subject: Setting root password on mysql 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, 10 Jan 2010 02:42:04 -0000 Does anyone know how to set root password on a new mysql installation from the post? Can it be performed after starting the server with /usr/local/bin/mysqld_safe & Or for that matter with /usr/local/bin/mysql_secure_installation Thanks! -- View this message in context: http://old.nabble.com/Setting-root-password-on-mysql-5.4-tp27095130p27095130.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 02:58:04 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5311106566B for ; Sun, 10 Jan 2010 02:58:04 +0000 (UTC) (envelope-from tam.sergio@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id 4C9FA8FC0A for ; Sun, 10 Jan 2010 02:58:04 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 22so1665828eye.9 for ; Sat, 09 Jan 2010 18:57:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=5OM30qQu09NpgXSU/a/q1l/y/qGTRLf0jxUzA+8xp64=; b=jQQ5vfAu4io9DlxKrCSt6OtiD+LXjsUWt7GzfqlaGndiR5YtyNfEzhIPAZX7H/zGbm /NI09rkzfDEEgRsZY29TzDW0ylHdsP9Y331oDz0akneyls15GG5mlhR7drDigS4JlkQj gLppQGMGTjIU2hrzY4o49V2NRkwcRCVMoW22Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=p692St2Xc8YnS3nlyT8i4Hav+v9aCH6y+cLo1JZNb4FEdbw76W1bDJBE/9eZk2vaXh 99WcBGAHoesy5UAYpq3vHhELrcd3xDW/u8R300805DH74H/ZUqL76f7YY8MzWHBXPNYR G9a29+ysaQjBplpOHXypezBex+V6x21YK6mjc= MIME-Version: 1.0 Received: by 10.216.85.14 with SMTP id t14mr2510666wee.222.1263092277982; Sat, 09 Jan 2010 18:57:57 -0800 (PST) In-Reply-To: <27095130.post@talk.nabble.com> References: <27095130.post@talk.nabble.com> Date: Sat, 9 Jan 2010 20:57:57 -0600 Message-ID: From: Sergio Tam To: jaymax Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Setting root password on mysql 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, 10 Jan 2010 02:58:04 -0000 2010/1/9 jaymax : > > Does anyone know how to set root password on a new mysql installation from > the post? > > Can it be performed after starting the server with > /usr/local/bin/mysqld_safe & > > Or for that matter with > /usr/local/bin/mysql_secure_installation > Hi http://www.freebsddiary.org/mysql.php Regards From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 03:41:43 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CB85106566C for ; Sun, 10 Jan 2010 03:41:43 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id BE85A8FC13 for ; Sun, 10 Jan 2010 03:41:42 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NTogN-0004X3-FJ for freebsd-questions@freebsd.org; Sun, 10 Jan 2010 04:41:39 +0100 Received: from pool-70-21-26-190.res.east.verizon.net ([70.21.26.190]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Jan 2010 04:41:39 +0100 Received: from nightrecon by pool-70-21-26-190.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Jan 2010 04:41:39 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Sat, 09 Jan 2010 22:41:12 -0500 Lines: 68 Message-ID: References: <27095130.post@talk.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-70-21-26-190.res.east.verizon.net User-Agent: KNode/4.3.4 Sender: news Subject: Re: Setting root password on mysql 5.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nightrecon@hotmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2010 03:41:43 -0000 jaymax wrote: > > Does anyone know how to set root password on a new mysql installation from > the post? This is the very first thing performed on a brand new fresh install. The canonical procedure (and I haven't had to do it in a while so it is possible it may have changed) looks something like this: As root at a '#' prompt do: mysql --user=root mysql This brings up the mysql prompt: mysql>GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' [press return or enter] at the -> prompt type in the following command: IDENTIFIED BY '' WITH GRANT OPTION; [press return or enter] The above should exit back the mysql> prompt if all went well. This will allow root to login with no password, but only on localhost. If you wish to expand this for the same from any host execute the steps again with the below differences. Otherwise type quit at the mysql> prompt to exit. The main reason the second step may be desirable is to admin from a different box using the MySQLAdminGUI for example. Be warned however!: If this box is accessible by anyone from anywhere it is a security hole as root has NOT yet been assigned a password! And this procedure does NOT assign any password, it only sets the access so you can. mysql>GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' [press return or enter] at the -> prompt type in the following command: IDENTIFIED BY '' WITH GRANT OPTION; [press return or enter] Next at mysql> prompt just type quit to exit. Restart mysql and now root can login with no password. Either use the command line to set the password, or the MySQLAdminGUI in the USERS section. The GUI is simple but I'll leave as an exercise for you to look up the CLI procedure in the MySQL docs should you get this far. You need to follow the above procedure first before you can log in as root in order to change the password. To reiterate: the above does NOT assign a password, it only allows root initial access so he can then set a password. Check out: http://dev.mysql.com/doc/refman/5.1/en/default-privileges.html http://dev.mysql.com/doc/refman/5.1/en/user-account-management.html > Can it be performed after starting the server with > /usr/local/bin/mysqld_safe & > > Or for that matter with > /usr/local/bin/mysql_secure_installation > Sorry but these two are not something I'm really familiar with. If the canonical approach doesn't work, maybe you can try to temporarily start it with neither of these in the mix, set the password, then restart it with these two active again. -Mike From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 03:48:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C23E106568B for ; Sun, 10 Jan 2010 03:48:18 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 548CE8FC08 for ; Sun, 10 Jan 2010 03:48:18 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NTomm-0005pg-9M for freebsd-questions@freebsd.org; Sun, 10 Jan 2010 04:48:16 +0100 Received: from pool-70-21-26-190.res.east.verizon.net ([70.21.26.190]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Jan 2010 04:48:16 +0100 Received: from nightrecon by pool-70-21-26-190.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Jan 2010 04:48:16 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.comp.php.general Date: Sat, 09 Jan 2010 22:47:45 -0500 Lines: 32 Message-ID: References: <157701ca90c1$3a62ecd0$af28c670$@com> <20100109073442.c86fe9e4.freebsd@edvax.de> <188101ca918f$40141810$c03c4830$@com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-70-21-26-190.res.east.verizon.net User-Agent: KNode/4.3.4 Sender: news Cc: php-general@lists.php.net Subject: RE: Clean PHP 5.2.12 Build Core Dumping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nightrecon@hotmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2010 03:48:18 -0000 Don O'Neil wrote: > Ok... well, your idea is a good one, but it seems that the port is broken. > > I did a port update, which brought in the latest php build info from > December, but when I run 'make' (without even editing the Makefile to add > my own other modules I need) I get this: If installing with the ports system you shouldn't need to be editing any Makefiles. make config will give you list of options you may select from. Note there is an initial build/install of PHP itself and a second port called php5-extensions which you then install for all the modules. Again, a make config will list all options. No need to mess with Makefiles. > X11BASE is now deprecated. Unset X11BASE in make.conf and try again. > *** Error code 1 > > Not even sure where it's getting that error message from, since I can't > find any reference to X11BASE in any of the files in the package, or in my > env. > > Any ideas? > Try putting WITHOUT_X11=yes into /etc/make.conf. Some PHP modules such as GD try and pull in X dependencies; this will short circuit that. >> -----Original Message----- [snip] -Mike From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 03:50:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5F821065672 for ; Sun, 10 Jan 2010 03:50:49 +0000 (UTC) (envelope-from hsmtkk@gmail.com) Received: from mail-qy0-f174.google.com (mail-qy0-f174.google.com [209.85.221.174]) by mx1.freebsd.org (Postfix) with ESMTP id 6F7898FC1B for ; Sun, 10 Jan 2010 03:50:49 +0000 (UTC) Received: by qyk4 with SMTP id 4so8942454qyk.7 for ; Sat, 09 Jan 2010 19:50:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=WsCTuLz1xWwYo2D9T7I1KONy5VgSQQT2vv50u3Q6CEU=; b=FdfWYN10zbbBQwJTtbbilO1pmMT2Qv4fKdss7K96kzt3Q1y+9pAF5Tuq89WIWt4Sru MraMvet6wF8VgicBLexBb2b7Hi6RZDxCBeqcXTGrPtjUYVuS6NHYfR/N/sXluaECQnM9 /EncK3djBzsSjHE9f7h+nPeVMj/gk8sPGfWo8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=F8kIBBDJNm2d2UvJFmQW+59mrR8Is2eBivLXlSp2AQ9FPUt4AwQnStx6a+4OUQHyw+ CiQhxQP5TCr/NQ/HNx28wm6CTBO7UQT1vA/PxVB/EZK0uR0GETN+u66XRo+Q085HHTN7 SktmTDy3LA+rSRJ7Lpji5B/5MmeGzave1xbug= MIME-Version: 1.0 Received: by 10.229.112.80 with SMTP id v16mr1931541qcp.19.1263095437837; Sat, 09 Jan 2010 19:50:37 -0800 (PST) In-Reply-To: <3a142e751001090606g36bb4e4aqa0f36a979eb06e12@mail.gmail.com> References: <6bae2c431001090443h40bb2f65md7a2d531db9c9a48@mail.gmail.com> <3a142e751001090606g36bb4e4aqa0f36a979eb06e12@mail.gmail.com> Date: Sun, 10 Jan 2010 12:50:37 +0900 Message-ID: <6bae2c431001091950p175472aan3a0f2adcf02eabb9@mail.gmail.com> From: Hashimoto To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: Inserting PC card NIC, system stops X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Jan 2010 03:50:49 -0000 Thanks for your reply, Paul. >> $ uname -a >> FreeBSD musca.localdomain 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0 >> r201741: Fri Jan 8 01:01:18 JST 2010 >> root@aries.localdomain:/usr/obj/usr/src/sys/GENERIC i386 >> >> >> $ tail /var/log/messages >> Jan 9 21:29:12 musca kernel: cbb1: ready never happened, status =3D 00 >> Jan 9 21:29:12 musca kernel: ed0: at port > ed(4) appears to be driver for that card Sure. I'm using GENERIC kernel, and it includes cbb(4), ed(4) device driver. But the system does not work fine with this PC card. --=20 =E6=A9=8B=E6=9C=AC=E7=B4=98=E5=B8=8C hsmtkk@gmail.com From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 03:55:01 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8D571065670 for ; Sun, 10 Jan 2010 03:55:01 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from kermit7.lizardhill.com (kermit7.lizardhill.com [64.69.41.223]) by mx1.freebsd.org (Postfix) with ESMTP id 916F08FC17 for ; Sun, 10 Jan 2010 03:55:01 +0000 (UTC) Received: from ip68-104-23-65.lv.lv.cox.net ([68.104.23.65] helo=mickey) by kermit.lizardhill.com with esmtpa (Exim 4.62) (envelope-from ) id 1NTot1-00003r-Vg; Sat, 09 Jan 2010 19:54:44 -0800 From: "Don O'Neil" To: , References: <157701ca90c1$3a62ecd0$af28c670$@com> <20100109073442.c86fe9e4.freebsd@edvax.de> <188101ca918f$40141810$c03c4830$@com> In-Reply-To: Date: Sat, 9 Jan 2010 19:55:05 -0800 Message-ID: <19e201ca91a8$b1f70690$15e513b0$@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: AcqRp8XxiB6zRxxVT9mV40D+Saj2SwAAJXgQ Content-Language: en-us Cc: php-general@lists.php.net Subject: RE: Clean PHP 5.2.12 Build Core Dumping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Jan 2010 03:55:01 -0000 Well, I hadn't edited the Makefiles, I was planning on it (but won't now that you pointed out the make option), but never got past making the generic port.... I tried adding WITHOUT_X11=yes to /etc/make.conf as well as X11BASE= and X11BASE="", but I still get the same error. Where to go from here? Do I have and old version of something that is causing this? I get this error _right away_ before anything is even built. Thanks! > If installing with the ports system you shouldn't need to be editing > any > Makefiles. make config will give you list of options you may select > from. > Note there is an initial build/install of PHP itself and a second port > called php5-extensions which you then install for all the modules. > Again, a > make config will list all options. No need to mess with Makefiles. > > > X11BASE is now deprecated. Unset X11BASE in make.conf and try again. > > *** Error code 1 > > > > Try putting WITHOUT_X11=yes into /etc/make.conf. Some PHP modules such > as GD > try and pull in X dependencies; this will short circuit that. From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 04:21:41 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1DA11065670 for ; Sun, 10 Jan 2010 04:21:41 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-pz0-f202.google.com (mail-pz0-f202.google.com [209.85.222.202]) by mx1.freebsd.org (Postfix) with ESMTP id AD1F48FC12 for ; Sun, 10 Jan 2010 04:21:41 +0000 (UTC) Received: by pzk40 with SMTP id 40so12523775pzk.7 for ; Sat, 09 Jan 2010 20:21:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=OyOOfqdqibSW+chKero4rtoUpUjnC1+SEC93SLch4YM=; b=fq/1fI6RcDBJ5VGcd1/q0qvBJDt3hqGN9Vvi/TYoGe+FVF4UZ4R704TTxkk3n1caPw igEarrN4JqcfPge8FSfsJl8RASrmImCi6ZfRsFzQlJb6qcqbjckEAhm45b8Lc2uY+GDZ zSfEsjjz4DesQplBgrfap/UUin+0LGq3vdCCQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=syPKf2OxSVB3BH9aRI2sabjdp5z3IPu15XCkVRgsyHbqdeW9BG4u6yZ4N6DlcnaWpx WwLdTJuly8s/yrp2HbAcMfkRuOrkZ8ZjrF3kUw7NyAOp3uZ00Ggeg9lkIdLN6AAozdT7 1YXlNfdnJ9hDnGvHOb0185S5ZDL0K43N8xBzI= MIME-Version: 1.0 Received: by 10.115.133.2 with SMTP id k2mr4808125wan.113.1263097294397; Sat, 09 Jan 2010 20:21:34 -0800 (PST) Date: Sat, 9 Jan 2010 21:21:34 -0700 Message-ID: From: Tim Judd To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 Subject: Jails - Ethernet data vs IP data X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Jan 2010 04:21:41 -0000 Hi all, I bought a new SiliconDust HDHomeRun device which brings two Digital coaxial tuners to an ethernet network. From what I read and understand about the HDHomeRun ("HDHR"), is that it does have an IP address assigned to the system, but all packets of video are actually just raw Ethernet packets/data that has it's own payload and protocol. The port MythTV (to which I'm starting to love) maintainer has marked the two pieces of MythTV as conflicting ports (I'll address to the maintainer directly), so I build the frontend (the user interface if you will) on the host, because it needs lots of X11/xorg. The backend runs as a daemon talking with MySQL to manage everything. Since they conflict, the backend goes onto a jail. I have to port-compile the backend every time, the packages have missing dependencies. It takes quite a while. I know the HDHR is online, I can watch the video without MythTV interaction, but the jailed backend isn't seeing it. So I was hoping to see if I can query the group and see if "raw ethernet data" can be delivered to a jail, or if I'm just fishing in the empty fish bowl trying to get this to work in a jail. Thanks for input in regards to limits the jail system might have. This is on a golden 8.0-RELEASE i386, haven't updated it yet. Thanks loads! --Tim From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 10:15:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50174106566B for ; Sun, 10 Jan 2010 10:15:14 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 0ED7E8FC13 for ; Sun, 10 Jan 2010 10:15:13 +0000 (UTC) Received: from r55.edvax.de (port-92-195-164-220.dynamic.qsc.de [92.195.164.220]) by mx02.qsc.de (Postfix) with ESMTP id D03381D947; Sun, 10 Jan 2010 11:15:11 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o0AAFBn0001499; Sun, 10 Jan 2010 11:15:11 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 10 Jan 2010 11:15:10 +0100 From: Polytropon To: "Don O'Neil" Message-Id: <20100110111510.965582b6.freebsd@edvax.de> In-Reply-To: <188101ca918f$40141810$c03c4830$@com> References: <157701ca90c1$3a62ecd0$af28c670$@com> <20100109073442.c86fe9e4.freebsd@edvax.de> <188101ca918f$40141810$c03c4830$@com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: php-general@lists.php.net, freebsd-questions@freebsd.org Subject: Re: Clean PHP 5.2.12 Build Core Dumping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2010 10:15:14 -0000 On Sat, 9 Jan 2010 16:52:57 -0800, "Don O'Neil" wrote: > Ok... well, your idea is a good one, but it seems that the port is broken. > > I did a port update, which brought in the latest php build info from > December, but when I run 'make' (without even editing the Makefile to add my > own other modules I need) I get this: > > X11BASE is now deprecated. Unset X11BASE in make.conf and try again. > *** Error code 1 > > Not even sure where it's getting that error message from, since I can't find > any reference to X11BASE in any of the files in the package, or in my env. > > Any ideas? Have you checked /etc/make.conf? For X applications, there's no X11BASE anymore because the difference between /usr/local and /usr/X11R6 has been obsoleted by putting everything into /usr/local (which is correct according to FreeBSD's software management concept). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 10:19:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C72F1065695 for ; Sun, 10 Jan 2010 10:19:48 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id CBCE98FC08 for ; Sun, 10 Jan 2010 10:19:47 +0000 (UTC) Received: from r55.edvax.de (port-92-195-164-220.dynamic.qsc.de [92.195.164.220]) by mx02.qsc.de (Postfix) with ESMTP id C47EF1EC41; Sun, 10 Jan 2010 11:19:46 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o0AAJjX7001503; Sun, 10 Jan 2010 11:19:46 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 10 Jan 2010 11:19:45 +0100 From: Polytropon To: nightrecon@hotmail.com Message-Id: <20100110111945.98208e9f.freebsd@edvax.de> In-Reply-To: References: <157701ca90c1$3a62ecd0$af28c670$@com> <20100109073442.c86fe9e4.freebsd@edvax.de> <188101ca918f$40141810$c03c4830$@com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: php-general@lists.php.net, freebsd-questions@freebsd.org Subject: Re: Clean PHP 5.2.12 Build Core Dumping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2010 10:19:48 -0000 On Sat, 09 Jan 2010 22:47:45 -0500, Michael Powell wrote: > If installing with the ports system you shouldn't need to be editing any > Makefiles. make config will give you list of options you may select from. That's correct. I forgot to add that there are some few ports that allow using an additional Makefile, i. e. Makefile.local in the port's directory, to contain compile time settings. Something similar can be achieved through the control files of various port management programs that then apply those settings if the port is compiled. A good example is mplayer where you can use this mechanism. As I said, I'm not sure if this still works. > Note there is an initial build/install of PHP itself and a second port > called php5-extensions which you then install for all the modules. Again, a > make config will list all options. No need to mess with Makefiles. There's the command "make config-recursive" (if I recall it correctly) to go through the config screens of all dependent ports at once - this saves you time of unneccessary interaction. > Try putting WITHOUT_X11=yes into /etc/make.conf. Some PHP modules such as GD > try and pull in X dependencies; this will short circuit that. Excellent advice! -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 10:21:06 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A81051065698 for ; Sun, 10 Jan 2010 10:21:06 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms4-1.1blu.de (ms4-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 640238FC26 for ; Sun, 10 Jan 2010 10:21:06 +0000 (UTC) Received: from [93.104.98.2] (helo=current.Sisis.de) by ms4-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1NTuur-0001bI-Ct for freebsd-questions@freebsd.org; Sun, 10 Jan 2010 11:21:01 +0100 Received: from current.Sisis.de (current [127.0.0.1]) by current.Sisis.de (8.14.3/8.14.3) with ESMTP id o0AAL28O001949 for ; Sun, 10 Jan 2010 11:21:03 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id o0AAL2SZ001948 for freebsd-questions@freebsd.org; Sun, 10 Jan 2010 11:21:02 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Sun, 10 Jan 2010 11:21:02 +0100 From: Matthias Apitz To: freebsd-questions@freebsd.org Message-ID: <20100110102102.GA1920@current.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) X-Con-Id: 51246 X-Originating-IP: 93.104.98.2 Subject: must /compat/linux stay in root-fs? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2010 10:21:06 -0000 Hello, On installing my laptop I did the 1st error and assigned only 512 MByte to the /root partition; now it turned out (2nd error) that somehow all /compat/linux stuff ended up in the /root partition: # du -sh /boot /compat 145M /boot 221M /compat and I don't even can install a new kernel because I don't have enough space in the /root; Can I safely move the /compat tu /usr/local/compat and do a symlink to let point /compat --> /usr/local/compat or is there some reason that linux-f10 ports put all into /compat in root-fs? Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 10:21:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3AE341065672 for ; Sun, 10 Jan 2010 10:21:32 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id ED4678FC19 for ; Sun, 10 Jan 2010 10:21:31 +0000 (UTC) Received: from r55.edvax.de (port-92-195-164-220.dynamic.qsc.de [92.195.164.220]) by mx02.qsc.de (Postfix) with ESMTP id F16241ED4A; Sun, 10 Jan 2010 11:21:30 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o0AALUxw001510; Sun, 10 Jan 2010 11:21:30 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 10 Jan 2010 11:21:30 +0100 From: Polytropon To: "Don O'Neil" Message-Id: <20100110112130.11ff370c.freebsd@edvax.de> In-Reply-To: <19e201ca91a8$b1f70690$15e513b0$@com> References: <157701ca90c1$3a62ecd0$af28c670$@com> <20100109073442.c86fe9e4.freebsd@edvax.de> <188101ca918f$40141810$c03c4830$@com> <19e201ca91a8$b1f70690$15e513b0$@com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: php-general@lists.php.net, freebsd-questions@freebsd.org Subject: Re: Clean PHP 5.2.12 Build Core Dumping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2010 10:21:32 -0000 On Sat, 9 Jan 2010 19:55:05 -0800, "Don O'Neil" wrote: > I tried adding WITHOUT_X11=yes to /etc/make.conf as well as X11BASE= and > X11BASE="", but I still get the same error. Remove them. This makes sure they are not defined, not even empty (as in "#define BLA -> symbol 'BLA' is defined"). > Where to go from here? Do I have and old version of something that is > causing this? I get this error _right away_ before anything is even built. It seems to be a check by the Makefile at port's top level. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 10:25:22 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3E35106566B for ; Sun, 10 Jan 2010 10:25:22 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 94A108FC14 for ; Sun, 10 Jan 2010 10:25:22 +0000 (UTC) Received: from r55.edvax.de (port-92-195-164-220.dynamic.qsc.de [92.195.164.220]) by mx02.qsc.de (Postfix) with ESMTP id 9D4C91EDD6; Sun, 10 Jan 2010 11:25:21 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o0AAPKNn001546; Sun, 10 Jan 2010 11:25:21 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 10 Jan 2010 11:25:20 +0100 From: Polytropon To: Matthias Apitz Message-Id: <20100110112520.92c1de3c.freebsd@edvax.de> In-Reply-To: <20100110102102.GA1920@current.Sisis.de> References: <20100110102102.GA1920@current.Sisis.de> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: must /compat/linux stay in root-fs? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2010 10:25:22 -0000 On Sun, 10 Jan 2010 11:21:02 +0100, Matthias Apitz wrote: > Can I safely move the /compat tu /usr/local/compat and do a symlink to > let point /compat --> /usr/local/compat or is there some reason that > linux-f10 ports put all into /compat in root-fs? I don't see any problem to do so. On my 7 default install, there's /compat@ -> usr/compat, and /usr lives on a separate partition. As long as the symlink is present, it should not be a problem. I see that you're suggestion /usr/local/compat instead of the default /usr/compat - maybe it's worth providing an additional symlink compat@ -> local/compat from within /usr? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 11:09:30 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B67EC106566B for ; Sun, 10 Jan 2010 11:09:30 +0000 (UTC) (envelope-from sbremal@hotmail.com) Received: from snt0-omc4-s3.snt0.hotmail.com (snt0-omc4-s3.snt0.hotmail.com [65.55.90.206]) by mx1.freebsd.org (Postfix) with ESMTP id 8EF7F8FC0A for ; Sun, 10 Jan 2010 11:09:30 +0000 (UTC) Received: from SNT127-W40 ([65.55.90.199]) by snt0-omc4-s3.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 10 Jan 2010 02:57:30 -0800 Message-ID: X-Originating-IP: [85.181.158.139] From: To: Date: Sun, 10 Jan 2010 10:57:30 +0000 Importance: Normal Content-Type: text/plain; charset="windows-1256" Content-Transfer-Encoding: 8bit MIME-Version: 1.0 X-OriginalArrivalTime: 10 Jan 2010 10:57:30.0103 (UTC) FILETIME=[B43DC070:01CA91E3] Subject: NFS exporting mounted msdosfs subdir X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Jan 2010 11:09:30 -0000 Hello, There is an issue with my exported home folder. It has a subdirectory under which an msdosfs pen drive is mounted. The home folder gets exported nicely however the msdos subdirectory is not! Any idea how this could be solved? Some useful extracts: --- babapc# more /etc/fstab # Device                Mountpoint                              FStype  Options         Dump    Pass# /dev/ad4s1b             none                                    swap    sw              0       0 /dev/ad4s1a             /                                       ufs     rw              1       1 /dev/ad4s1e             /tmp                                    ufs     rw              2       2 /dev/ad4s1f             /usr                                    ufs     rw              2       2 /dev/ad4s1d             /var                                    ufs     rw              2       2 /dev/acd0               /cdrom                                  cd9660  ro,noauto       0       0 /dev/da0s1              /usr/home/sbremal/usb_flash_drive       msdosfs rw,noauto       0       0 babapc# more /etc/exports #The following examples export /usr to 3 machines named after ducks, #/usr/src and /usr/obj read-only to machines named after trouble makers, #/home and all directories under it to machines named after dead rock stars #and, /a to a network of privileged machines allowed to write on it as root. #/usr                   huey louie dewie #/usr/src /usr/obj -ro  calvin hobbes #/home   -alldirs       janice jimmy frank #/a      -maproot=0  -network 10.0.1.0 -mask 255.255.248.0 # # You should replace these lines with your actual exported filesystems. # Note that BSD's export syntax is 'host-centric' vs. Sun's 'FS-centric' one. /usr/home/sbremal babapc# mount /dev/ad4s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad4s1e on /tmp (ufs, local, soft-updates) /dev/ad4s1f on /usr (ufs, NFS exported, local, soft-updates) /dev/ad4s1d on /var (ufs, local, soft-updates) /dev/da0s1 on /usr/home/sbremal/usb_flash_drive (msdosfs, local) 10.0.0.2:/usr/home/sbremal on /root/x (nfs) babapc# ls /root/x/usb_flash_drive/ -> Nothing!!! babapc# ls /usr/home/sbremal/usb_flash_drive/ @Nokia                                          Images Backup --- Any help would be much appreciated. (Would "freebsd-fs" be more appropriate to ask the question on?) Cheers, Balazs _________________________________________________________________ Keep your friends updated—even when you’re not signed in. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010 From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 11:10:40 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F55F1065676; Sun, 10 Jan 2010 11:10:40 +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 CE8818FC23; Sun, 10 Jan 2010 11:10:39 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1NTvgs-0003Sd-SI>; Sun, 10 Jan 2010 12:10:38 +0100 Received: from e178025169.adsl.alicedsl.de ([85.178.25.169] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1NTvgs-0002MI-OC>; Sun, 10 Jan 2010 12:10:38 +0100 Message-ID: <4B49B5AE.1010208@mail.zedat.fu-berlin.de> Date: Sun, 10 Jan 2010 12:10:38 +0100 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.5) Gecko/20091219 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org, freebsd-ports@FreeBSD.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.25.169 Cc: Subject: science/paraview: gmake[2]: *** [bin/QVTKCxxTests] Error 1, gmake[1]: *** [VTK/GUISupport/Qt/Testing/Cxx/CMakeFiles/QVTKCxxTests.dir/all] Error 2,gmake: *** [all] Error 2,*** Error code 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: Sun, 10 Jan 2010 11:10:40 -0000 Since a while I'm incapable of compiling ports/science/paraview on the most FreeBSD 8.0-STABLE/amd64 boxes around here. I do portmaster -dv on a regular basis on all of those machines and I suspect the port maintanance facility beeing corrupted since this error shows up on nearly every FreeBSd box. How can I check what's going wrong? Please reply to my eMail also, I'm not subsribing questions/ports list. Thanks, regards Oliver Linking CXX executable ../../../../../bin/QVTKCxxTests ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_open' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_close' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_inq_ndims' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_inq_dimid' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_inq_nvars' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_strerror' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_inq_dimname' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_inq_varndims' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_inq_varid' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_inq_varname' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_inq_vartype' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_inq_vardimid' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_inq_attlen' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_get_att_double' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_inq_dimlen' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_get_att_text' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_get_vars' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_get_var_double' gmake[2]: *** [bin/QVTKCxxTests] Error 1 gmake[1]: *** [VTK/GUISupport/Qt/Testing/Cxx/CMakeFiles/QVTKCxxTests.dir/all] Error 2 gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/science/paraview. From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 11:29:03 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 411D51065672 for ; Sun, 10 Jan 2010 11:29:03 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-ew0-f213.google.com (mail-ew0-f213.google.com [209.85.219.213]) by mx1.freebsd.org (Postfix) with ESMTP id CB5678FC0A for ; Sun, 10 Jan 2010 11:29:02 +0000 (UTC) Received: by ewy5 with SMTP id 5so9566126ewy.14 for ; Sun, 10 Jan 2010 03:28:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=srD08crhGfQFHVO4EkYYn0FWWksE5YT7UhTRsdPd7D4=; b=H+3N2N+6+G7w1Rx5kZOLNFoXlvF9VyXGSQelp02QDa+pRHwaxfTYi4nP4vjgIjg9BS PXEE4YZ6/0AvDXDrS57pVftJoxG7clzUIBg+Ci+i+VbbTQ+BX2sHhUkwK0KhEi1cuoRa yUsV1zXslf/SI0/y28KhcLqEGpTaguSyNKgjM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=wwf9o8f+UegT0zSGc+yG2rswS9gdQdFLmWRijKsVDtuAvaaas2XkIeeThTSKfTbKWF 2QGUwpAK/bWziS66bF1QJTqT0phkIE1iFu/fLZN9/+hEPe0W2Edajr17npEhGzvaPC2s sCC7vz/IFtFHI4As5FbCM/mesMwXKod942EbI= MIME-Version: 1.0 Received: by 10.213.1.205 with SMTP id 13mr1844209ebg.50.1263122938827; Sun, 10 Jan 2010 03:28:58 -0800 (PST) In-Reply-To: <6bae2c431001091950p175472aan3a0f2adcf02eabb9@mail.gmail.com> References: <6bae2c431001090443h40bb2f65md7a2d531db9c9a48@mail.gmail.com> <3a142e751001090606g36bb4e4aqa0f36a979eb06e12@mail.gmail.com> <6bae2c431001091950p175472aan3a0f2adcf02eabb9@mail.gmail.com> Date: Sun, 10 Jan 2010 12:28:58 +0100 Message-ID: <3a142e751001100328q6a687cf4m1888d82356aabf1b@mail.gmail.com> From: Paul B Mahol To: Hashimoto Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Inserting PC card NIC, system stops X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Jan 2010 11:29:03 -0000 On 1/10/10, Hashimoto wrote: > Thanks for your reply, Paul. > >>> $ uname -a >>> FreeBSD musca.localdomain 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0 >>> r201741: Fri Jan 8 01:01:18 JST 2010 >>> root@aries.localdomain:/usr/obj/usr/src/sys/GENERIC i386 >>> >>> >>> $ tail /var/log/messages >>> Jan 9 21:29:12 musca kernel: cbb1: ready never happened, status = 00 >>> Jan 9 21:29:12 musca kernel: ed0: at port > >> ed(4) appears to be driver for that card > > Sure. > I'm using GENERIC kernel, > and it includes cbb(4), ed(4) device driver. > But the system does not work fine with this PC card. Then it could be bug in hardware(and in FreeBSD because it should not hang) or id ed(4) or in anything else, so report is as a bug. -- Paul B Mahol From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 11:50:37 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81670106566B for ; Sun, 10 Jan 2010 11:50:37 +0000 (UTC) (envelope-from fbsdq@peterk.org) Received: from poshta.pknet.net (poshta.pknet.net [216.241.167.213]) by mx1.freebsd.org (Postfix) with ESMTP id 3B6B98FC16 for ; Sun, 10 Jan 2010 11:50:36 +0000 (UTC) Received: (qmail 76623 invoked by uid 89); 10 Jan 2010 11:50:18 -0000 Received: from poshta.pknet.net (HELO pop.pknet.net) (216.241.167.213) by poshta.pknet.net with SMTP; 10 Jan 2010 11:50:18 -0000 Received: from 216.241.167.212 (SquirrelMail authenticated user fbsdq@peterk.org) by pop.pknet.net with HTTP; Sun, 10 Jan 2010 04:50:18 -0700 Message-ID: In-Reply-To: References: Date: Sun, 10 Jan 2010 04:50:18 -0700 From: "Peter" To: sbremal@hotmail.com User-Agent: SquirrelMail/1.4.20-RC2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-questions@freebsd.org Subject: Re: NFS exporting mounted msdosfs subdir X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Jan 2010 11:50:37 -0000 > > Hello, > > There is an issue with my exported home folder. It has a subdirectory > under which an msdosfs pen drive is mounted. The home folder gets exported > nicely however the msdos subdirectory is not! > > Any idea how this could be solved? > > Some useful extracts: > > --- > > babapc# more /etc/fstab > # Device                Mountpoint                              FStype  > Options         Dump    Pass# > /dev/ad4s1b             none                                    swap    > sw              0       0 > /dev/ad4s1a             /                                       ufs     > rw              1       1 > /dev/ad4s1e             /tmp                                    ufs     > rw              2       2 > /dev/ad4s1f             /usr                                    ufs     > rw              2       2 > /dev/ad4s1d             /var                                    ufs     > rw              2       2 > /dev/acd0               /cdrom                                  cd9660  > ro,noauto       0       0 > /dev/da0s1              /usr/home/sbremal/usb_flash_drive       msdosfs > rw,noauto       0       0 > > babapc# more /etc/exports > #The following examples export /usr to 3 machines named after ducks, > #/usr/src and /usr/obj read-only to machines named after trouble makers, > #/home and all directories under it to machines named after dead rock > stars > #and, /a to a network of privileged machines allowed to write on it as > root. > #/usr                   huey louie dewie > #/usr/src /usr/obj -ro  calvin hobbes > #/home   -alldirs       janice jimmy frank > #/a      -maproot=0  -network 10.0.1.0 -mask 255.255.248.0 > # > # You should replace these lines with your actual exported filesystems. > # Note that BSD's export syntax is 'host-centric' vs. Sun's 'FS-centric' > one. > /usr/home/sbremal > > babapc# mount > /dev/ad4s1a on / (ufs, local) > devfs on /dev (devfs, local) > /dev/ad4s1e on /tmp (ufs, local, soft-updates) > /dev/ad4s1f on /usr (ufs, NFS exported, local, soft-updates) > /dev/ad4s1d on /var (ufs, local, soft-updates) > /dev/da0s1 on /usr/home/sbremal/usb_flash_drive (msdosfs, local) > 10.0.0.2:/usr/home/sbremal on /root/x (nfs) > > babapc# ls /root/x/usb_flash_drive/ > > -> Nothing!!! > > babapc# ls /usr/home/sbremal/usb_flash_drive/ > @Nokia                                          Images > Backup > > --- > > Any help would be much appreciated. > > (Would "freebsd-fs" be more appropriate to ask the question on?) > > Cheers, > Balazs You will need to export '/usr/home/sbremal/usb_flash_drive' also since it is another filesystem, not just a subdirectory. [reason you can see the subdirectory, but not the actual FS mounted in there] ]Peter[ From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 13:42:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B10FD106568D for ; Sun, 10 Jan 2010 13:42:26 +0000 (UTC) (envelope-from samankaya@netscape.net) Received: from imr-mb02.mx.aol.com (imr-mb02.mx.aol.com [64.12.207.163]) by mx1.freebsd.org (Postfix) with ESMTP id 72C268FC0C for ; Sun, 10 Jan 2010 13:42:26 +0000 (UTC) Received: from imo-ma01.mx.aol.com (imo-ma01.mx.aol.com [64.12.78.136]) by imr-mb02.mx.aol.com (8.14.1/8.14.1) with ESMTP id o0ADgPMm017016 for ; Sun, 10 Jan 2010 08:42:25 -0500 Received: from samankaya@netscape.net by imo-ma01.mx.aol.com (mail_out_v42.5.) id n.d5d.5698664b (44223) for ; Sun, 10 Jan 2010 08:42:20 -0500 (EST) Received: from [172.16.1.53] (mail.reformkurumsal.com [212.156.209.87]) by cia-dd08.mx.aol.com (v127.7) with ESMTP id MAILCIADD081-acbf4b49d938199; Sun, 10 Jan 2010 08:42:18 -0500 Message-ID: <4B49D937.9050902@netscape.net> Date: Sun, 10 Jan 2010 15:42:15 +0200 From: Kaya Saman User-Agent: Thunderbird 2.0.0.21 (X11/20090323) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AOL-IP: 212.156.209.87 X-Mailer: Unknown (No Version) X-Spam-Flag: NO X-AOL-SENDER: samankaya@netscape.net Subject: Possible to run 2 instances of Bind DNS server in jails?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Jan 2010 13:42:26 -0000 Hi, I'm just reading through a thread right now on a discussion or debate whether to ports Solaris Zones to FreeBSD. My main Google search criteria was basically that I wanted to know if FreeBSD had something similar..... In this discussion it was mentioned that FreeBSD Jails where the sudo 'equivalent' to Zones but of course behave much more like a chroot environment. I have to ask if it's possible since I'm coming over from Solaris to dedicate NICs to Jails and run separate instances of applications in there, the one I am looking for primarily is Bind. As I would like to use a Sun Fire V480 server as a mainframe but stuck between the application advantages of FreeBSD and some of the virtualization technologies within Solaris. Has anyone got any advice or comments as to whether I can achieve my goal?? Many thanks, Kaya From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 15:39:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53DAA106566C for ; Sun, 10 Jan 2010 15:39:54 +0000 (UTC) (envelope-from mpeters@mac.com) Received: from asmtpout011.mac.com (asmtpout011.mac.com [17.148.16.86]) by mx1.freebsd.org (Postfix) with ESMTP id 4144F8FC12 for ; Sun, 10 Jan 2010 15:39:54 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from [192.168.15.24] ([68.189.86.17]) by asmtp011.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPA id <0KW1005WWCQFNW60@asmtp011.mac.com> for freebsd-questions@freebsd.org; Sun, 10 Jan 2010 06:39:52 -0800 (PST) Message-id: <4B49E6B3.4070809@mac.com> Date: Sun, 10 Jan 2010 06:39:47 -0800 From: "Michael A. Peters" User-Agent: Thunderbird 2.0.0.23 (X11/20090817) To: Don O'Neil References: <157701ca90c1$3a62ecd0$af28c670$@com> In-reply-to: <157701ca90c1$3a62ecd0$af28c670$@com> Cc: php-general@lists.php.net, freebsd-questions@freebsd.org Subject: Re: [PHP] Clean PHP 5.2.12 Build Core Dumping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Jan 2010 15:39:54 -0000 Don O'Neil wrote: > > Core was generated by `php'. > Program terminated with signal 11, Segmentation fault. > #0 0x081d50a7 in sqlite3Select (pParse=0xbbc00080, p=0x0, eDest=164102200, > iParm=0, pParent=0x24, parentTab=139141440, pParentAgg=0x84c10d8, > aff=0x0) > at > /usr/local/directadmin/customapache/php-5.2.11/ext/pdo_sqlite/sqlite/src/sel > ect.c:3172 > 3172 for(j=0; jnExpr; j++){ > > > First off, the compile directory listed is wrong, don't know where it got > php-5.2.11 from I've experienced the same type of issue when building php RPM's on Linux. The solution is to either remove the previous php build or build it in a chroot build environment (such as mock for RPM based distros). From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 16:19:46 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB2161065693; Sun, 10 Jan 2010 16:19:46 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout4.freenet.de (mout4.freenet.de [IPv6:2001:748:100:40::2:6]) by mx1.freebsd.org (Postfix) with ESMTP id 5A8AE8FC18; Sun, 10 Jan 2010 16:19:46 +0000 (UTC) Received: from [195.4.92.16] (helo=6.mx.freenet.de) by mout4.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.70 #1) id 1NU0W1-0006Z0-3z; Sun, 10 Jan 2010 17:19:45 +0100 Received: from p57ae195e.dip0.t-ipconnect.de ([87.174.25.94]:48262 helo=ernst.jennejohn.org) by 6.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #94) id 1NU0W0-0002po-T3; Sun, 10 Jan 2010 17:19:45 +0100 Date: Sun, 10 Jan 2010 17:19:44 +0100 From: Gary Jennejohn To: "O. Hartmann" Message-ID: <20100110171944.0c6da61f@ernst.jennejohn.org> In-Reply-To: <4B49B5AE.1010208@mail.zedat.fu-berlin.de> References: <4B49B5AE.1010208@mail.zedat.fu-berlin.de> X-Mailer: Claws Mail 3.7.3 (GTK+ 2.16.2; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, freebsd-ports@FreeBSD.org Subject: Re: science/paraview: gmake[2]: *** [bin/QVTKCxxTests] Error 1, gmake[1]: *** [VTK/GUISupport/Qt/Testing/Cxx/CMakeFiles/QVTKCxxTests.dir/all] Error 2,gmake: *** [all] Error 2,*** Error code 1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2010 16:19:46 -0000 On Sun, 10 Jan 2010 12:10:38 +0100 "O. Hartmann" wrote: > Since a while I'm incapable of compiling ports/science/paraview on the > most FreeBSD 8.0-STABLE/amd64 boxes around here. > > I do portmaster -dv on a regular basis on all of those machines and I > suspect the port maintanance facility beeing corrupted since this error > shows up on nearly every FreeBSd box. > > How can I check what's going wrong? > > Please reply to my eMail also, I'm not subsribing questions/ports list. > > Thanks, > I decided to install this as a test on my 9-CURRENT amd64 box. I encountered no errors at all. Note that, since this was never installed before, I ended up installing most of the dependencies from scratch. That may be a clue. I personally would try deinstalling/reinstalling its dependencies _by hand_. Note that I personally never use portmaster and can't comment on that. --- Gary Jennejohn From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 17:17:36 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A257106566C for ; Sun, 10 Jan 2010 17:17:36 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 534588FC0A for ; Sun, 10 Jan 2010 17:17:36 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NU1Pz-0005Gw-HQ for freebsd-questions@freebsd.org; Sun, 10 Jan 2010 09:17:35 -0800 Message-ID: <27100257.post@talk.nabble.com> Date: Sun, 10 Jan 2010 09:17:35 -0800 (PST) From: jaymax To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jaymax36@gmail.com Subject: Catastrophic Installation Failure now! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Jan 2010 17:17:36 -0000 MAJOR SCREWUP I was frustrated by a failure to create a ROOT password and decided to do a clean reinstall Did a "make deinstall" from the following ports [i] /usr/ports/databases/mysql54-server [ii] /usr/ports/databases/mysql54-client [iii] /usr/ports/databases/mysql54-scripts Did a rm of the /etc/my.cnf file (There were no others in related or relevant areas) Also did a rm -rf of the database at /disk02/db/mysql/DATA Registered packages would be as follows:- # pkg_info | grep mysql bsdpan-DBD-mysql-4.013 DBD::mysql - MySQL driver for the Perl5 Database Interface php5-mysql-5.2.11_1 The mysql shared extension for php php5-mysqli-5.2.12 The mysqli shared extension for php qt4-mysql-plugin-4.4.3 Qt MySQL database plugin Reinstallation proceeded as follows: in /usr/ports/databases/mysql54-server ==> make 'pager=more' 'prompt=mysql54' 'socket=/usr/tmp/mysql.sock' 'localstatedir=/disk02/db/mysql/DATA' 'with_linuxthreads=yes' 'with_ssl=yes' install clean & in /usr/ports/databases/mysql54-scripts ==> make install clean mysql client apparently installed as a dependency by the server After compilation and installation ======================== Did the following: [i] /usr/local/bin/mysql_install_db then [ii] /usr/local/bin/mysqld_safe & first startup Stdout ==> [1] 37786 ax# 100110 07:05:36 mysqld_safe Logging to '/disk02/db/mysql/DATA/ax.lall.com.err'. 100110 07:05:37 mysqld_safe Starting mysqld daemon with databases from /disk02/db/mysql/DATA 100110 07:05:38 mysqld_safe mysqld from pid file /disk02/db/mysql/DATA/ax.lall.com.pid ended Now the err log from this is 100110 07:05:37 mysqld_safe Starting mysqld daemon with databases from /disk02/db/mysql/DATA 100110 7:05:37 [Note] Plugin 'FEDERATED' is disabled. /usr/local/libexec/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13) 100110 7:05:37 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. InnoDB: The InnoDB memory heap is disabled InnoDB: Neither mutexes nor rw_locks use GCC atomic builtins. InnoDB: The first specified data file ./ibdata1 did not exist: InnoDB: a new database to be created! 100110 7:05:37 InnoDB: Setting file ./ibdata1 size to 10 MB InnoDB: Database physically writes the file full: wait... 100110 7:05:37 InnoDB: Log file ./ib_logfile0 did not exist: new to be created InnoDB: Setting log file ./ib_logfile0 size to 5 MB InnoDB: Database physically writes the file full: wait... 100110 7:05:37 InnoDB: Log file ./ib_logfile1 did not exist: new to be created InnoDB: Setting log file ./ib_logfile1 size to 5 MB InnoDB: Database physically writes the file full: wait... InnoDB: Doublewrite buffer not found: creating new InnoDB: Doublewrite buffer created InnoDB: Creating foreign key constraint system tables InnoDB: Foreign key constraint system tables created 100110 7:05:38 InnoDB Plugin 1.0.4 started; log sequence number 0 100110 7:05:38 [ERROR] /usr/local/libexec/mysqld: Can't find file: './mysql/host.frm' (errno: 13) 100110 7:05:38 [ERROR] Fatal error: Can't open and lock privilege tables: Can't find file: './mysql/host.frm' (errno: 13) 100110 07:05:38 mysqld_safe mysqld from pid file /disk02/db/mysql/DATA/ax.lall.com.pid ended repeating the command produced ==> 100110 07:12:01 mysqld_safe Starting mysqld daemon with databases from /disk02/db/mysql/DATA 100110 7:12:01 [Note] Plugin 'FEDERATED' is disabled. /usr/local/libexec/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13) 100110 7:12:01 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. InnoDB: The InnoDB memory heap is disabled InnoDB: Neither mutexes nor rw_locks use GCC atomic builtins. 100110 7:12:01 InnoDB: highest supported file format is Barracuda. InnoDB: Log scan progressed past the checkpoint lsn 37356 100110 7:12:01 InnoDB: Database was not shut down normally! InnoDB: Starting crash recovery. InnoDB: Reading tablespace information from the .ibd files... InnoDB: Restoring possible half-written data pages from the doublewrite InnoDB: buffer... InnoDB: Doing recovery: scanned up to log sequence number 44244 100110 7:12:01 InnoDB: Starting an apply batch of log records to the database... InnoDB: Progress in percents: 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 InnoDB: Apply batch completed 100110 7:12:02 InnoDB Plugin 1.0.4 started; log sequence number 44244 100110 7:12:02 [ERROR] /usr/local/libexec/mysqld: Can't find file: './mysql/host.frm' (errno: 13) 100110 7:12:02 [ERROR] Fatal error: Can't open and lock privilege tables: Can't find file: './mysql/host.frm' (errno: 13) 100110 07:12:02 mysqld_safe mysqld from pid file /disk02/db/mysql/DATA/ax.lall.com.pid ended RUNNING THE SUGGESTED UPGRADE AT "100110" ==> # /usr/local/bin/mysql_upgrade Looking for 'mysql' as: /usr/local/bin/mysql Looking for 'mysqlcheck' as: /usr/local/bin/mysqlcheck Running 'mysqlcheck with default connection arguments /usr/local/bin/mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) when trying to connect FATAL ERROR: Upgrade failed Registered packages are now : # pkg_info | grep mysql bsdpan-DBD-mysql-4.013 DBD::mysql - MySQL driver for the Perl5 Database Interface mysql-client-5.4.3 Multithreaded SQL database (client) mysql-scripts-5.4.3 Multithreaded SQL database (scripts) mysql-server-5.4.3 Multithreaded SQL database (server) php5-mysql-5.2.11_1 The mysql shared extension for php php5-mysqli-5.2.12 The mysqli shared extension for php qt4-mysql-plugin-4.4.3 Qt MySQL database plugin WHAT THE ***bleep*** AM I DOING WRONG ? -- View this message in context: http://old.nabble.com/Catastrophic-Installation-Failure-now%21-tp27100257p27100257.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 17:44:32 2010 Return-Path: Delivered-To: FreeBSD-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C57C910656AD for ; Sun, 10 Jan 2010 17:44:32 +0000 (UTC) (envelope-from manolis@FreeBSD.org) Received: from kane.otenet.gr (kane.otenet.gr [83.235.67.31]) by mx1.freebsd.org (Postfix) with ESMTP id 2AB2A8FC33 for ; Sun, 10 Jan 2010 17:44:31 +0000 (UTC) Received: from pulstar.local (athedsl-4555410.home.otenet.gr [94.70.78.154]) by kane.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id o0AHiTMN012362 for ; Sun, 10 Jan 2010 19:44:29 +0200 Message-ID: <4B4A11FD.6020009@FreeBSD.org> Date: Sun, 10 Jan 2010 19:44:29 +0200 From: Manolis Kiagias User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: FreeBSD-questions@FreeBSD.org X-Enigmail-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-7 Content-Transfer-Encoding: 7bit Cc: Subject: ANNOUNCE: New Custom XFCE isos based on 8.0-RELEASE-p2 (32 and 64 bits) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Jan 2010 17:44:32 -0000 Hey all, I have just completed the second 8.0-RELEASE based build of the 'Custom releases' project hosted here: http://freebsd-custom.wikidot.com This time, both 32 and 64 bit isos are offered, both based on 8.0-RELEASE-p2 and using packages from the same ports tree. >From this point on I will try to simultaneously release 32 and 64 bit images. You may download the ISO files immediately using the downloads page: http://freebsd-custom.wikidot.com/downloads-page This release is based on the latest XFCE desktop and includes a wide variety of desktop-related packages, like OpenOffice, abiword, gnumeric, firefox35, gimp, inkscape, evince and so on. The base system is 8.0-RELEASE-p2 which includes the latest security fixes. Make sure to read the README relevant to the iso you are downloading (32 or 64bit) as it contains important information on installation. In particular note: * The 'doc' set (FreeBSD documentation) is now once again included. Just select the language(s) of your choice to install. * The problem with 'libcheck-0.9.8' in the previous release has been resolved. * Installing linux related packages during initial setup needs a few more steps. This is due to differences in sysinstall between 7.X and 8.0 releases. A detailed explanation is provided in the README file. As always, please report any problems, success stories, comments and criticisms to manolis@FreeBSD.org From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 17:54:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B74711065676 for ; Sun, 10 Jan 2010 17:54:02 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.103.93]) by mx1.freebsd.org (Postfix) with ESMTP id 8D5E58FC14 for ; Sun, 10 Jan 2010 17:54:02 +0000 (UTC) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.14.2/8.13.8) with ESMTP id o0AHrn6k004764 for ; Sun, 10 Jan 2010 11:53:49 -0600 (CST) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <201001101753.o0AHrn6k004764@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4761.1263146029.1@dc.cis.okstate.edu> Date: Sun, 10 Jan 2010 11:53:49 -0600 From: Martin McCormick Subject: Re: Upgrading Standing Systems from 6.3 to 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2010 17:54:02 -0000 Robert Huff writes: > Hot swap would be great, but I was referring to regular swap: > human being with a screwdriver and a clue. Reliable outside > contractor, if you absolutely can't send someone in-house. You actually gave me a really good idea. We've got people who I do trust to put in a CDROM or hook up a serial cable. I think I will make up a headless installation CD and send it and a serial communications server to our two remote campuses and have them connect the CS and pop in the CDROM on the system in question. Each FreeBSD box is half of a redundant pair so we can get along without one for a few hours which is probably less time than the upgrade to 7.0 and then to 8.0 would take, assuming nothing went wrong during either of those upgrades. I have seen cvs upgrades take anywhere from 2 to 8 hours, depending on the speed of the system, etc. We can ask them to hook up the CS, make sure it is working, and then have them install the CDROM. I actually did that once before and it worked. When done, we call them back and have them remove the CDROM. That way, it stays in the rack, in one piece with all cables connected and the remote staff is not asked to do as much. Thanks for helping me think through a solution. Martin McCormick From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 19:08:42 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DAFA106566B for ; Sun, 10 Jan 2010 19:08:42 +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 CE0158FC16 for ; Sun, 10 Jan 2010 19:08:41 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o0AJ8eCQ078154; Sun, 10 Jan 2010 12:08:40 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o0AJ8e4H078151; Sun, 10 Jan 2010 12:08:40 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sun, 10 Jan 2010 12:08:40 -0700 (MST) From: Warren Block To: jaymax In-Reply-To: <27100257.post@talk.nabble.com> Message-ID: References: <27100257.post@talk.nabble.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [127.0.0.1]); Sun, 10 Jan 2010 12:08:40 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: Catastrophic Installation Failure now! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Jan 2010 19:08:42 -0000 On Sun, 10 Jan 2010, jaymax wrote: > > MAJOR SCREWUP > > I was frustrated by a failure to create a ROOT password and decided to do a > clean reinstall > Did a "make deinstall" from the following ports > > [i] /usr/ports/databases/mysql54-server > [ii] /usr/ports/databases/mysql54-client > [iii] /usr/ports/databases/mysql54-scripts > > Did a rm of the /etc/my.cnf file (There were no others in related or > relevant areas) FreeBSD standard should be in /usr/local/etc. I don't know mysql, though. > Reinstallation proceeded as follows: > in /usr/ports/databases/mysql54-server ==> > make 'pager=more' 'prompt=mysql54' 'socket=/usr/tmp/mysql.sock' > 'localstatedir=/disk02/db/mysql/DATA' 'with_linuxthreads=yes' 'with_ssl=yes' > install clean & > > in /usr/ports/databases/mysql54-scripts ==> > make install clean > > mysql client apparently installed as a dependency by the server Those are outdated ports, or at least the only thing close in my ports tree is mysql55. > Did the following: > [i] /usr/local/bin/mysql_install_db then > [ii] /usr/local/bin/mysqld_safe & first startup > > Stdout ==> > [1] 37786 > ax# 100110 07:05:36 mysqld_safe Logging to > '/disk02/db/mysql/DATA/ax.lall.com.err'. ... > 100110 7:05:38 [ERROR] Fatal error: Can't open and lock privilege tables: > Can't find file: './mysql/host.frm' (errno: 13) According to some web searching, host.frm is supposed to be created by mysql_install_db. Looking at the log file it created may help; suspect directory ownership or permissions, or maybe it is working in the wrong directory entirely. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 19:16:39 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 903431065672 for ; Sun, 10 Jan 2010 19:16:39 +0000 (UTC) (envelope-from socialmsg.hrsgmmjvmztgmmzzgy4wemdggu4gmnrxhezdgodbgeydaolcmfstmljrga7a-questions=freebsd.org@returns.bulk.yahoo.com) Received: from n4-vm0.bullet.mail.sp2.yahoo.com (n4-vm0.bullet.mail.sp2.yahoo.com [67.195.135.64]) by mx1.freebsd.org (Postfix) with SMTP id 7335D8FC08 for ; Sun, 10 Jan 2010 19:16:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo-inc.com; s=social; t=1263150180; bh=EZjaOVIliWtxNw6BvKBpXaW1d7DaGUYWz7PCF3JUDcc=; h=Received:Received:Received:Received:To:From:Reply-To:Subject:Date:MIME-Version:Content-type:Content-transfer-encoding:X-Yahoo-Newman-Property:X-Yahoo-Newman-Id; b=XoKlaXhN+0gDkCE7WCCIbzV0LyDQFRRKY3/Gdagh9Cvbl+6XJBmdz6Akazmi9o01V9kMySrxBeB1ItFWz6X2DB5DUXWaFFzGZlxXUq5Ss72s6ay+Cr9WXFO0bLuflnDh32613Q0IMKMUqdX1KLhj4iBkuNt9lIz3RzngLuerdXA= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=social; d=yahoo-inc.com; b=GD3WA7DENvNYcWxh5kX5c5Br5tIMMGrvVrh69cNmvupvBFpEZhu+oKNwYBZt3gsvKkrXBzeVcJIMePYRkf7vX1XYekZBZ+0s+x9+9OcKHD9aHSnLBTQNUinknZzGrHJiX4VQmMLIKmURWeNyxlonm1kp/GlGfHvySps83tbfnG0=; Received: from [67.195.134.239] by n4.bullet.mail.sp2.yahoo.com with NNFMP; 10 Jan 2010 19:03:00 -0000 Received: from [216.252.122.218] by t4.bullet.mail.sp2.yahoo.com with NNFMP; 10 Jan 2010 19:03:00 -0000 Received: from [68.180.221.104] by t3.bullet.sp1.yahoo.com with NNFMP; 10 Jan 2010 19:03:00 -0000 Received: from [127.0.0.1] by mr1.yosmsg.sp1.yahoo.com with NNFMP; 10 Jan 2010 19:03:00 -0000 To: =?utf-8?b?RnJlZUJTRCBRdWVzdGlvbnMg?= From: =?utf-8?b?U2hhbmUgV2ViYmVy?= Date: 10 Jan 2010 19:03:00 +0000 Content-transfer-encoding: base64 X-Yahoo-Newman-Property: socialmsg X-Yahoo-Newman-Id: Message-Id: <20100110191639.903431065672@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Shane Webber would like to connect with you on Yahoo! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: do-not-reply@profiles.yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2010 19:16:39 -0000 PGh0bWw+CiAgICA8aGVhZD4KICAgICAgICA8bWV0YSBodHRwLWVxdWl2PSJDb250ZW50LV R5cGUi IGNvbnRlbnQ9InRleHQvaHRtbDsgY2hhcnNldD1VVEYtOCI+CiAgICAgICAgPHRpdGxlPk Nvbm5l Y3Qgd2l0aCBGcmllbmRzIGFuZCBGYW1pbHkgb24gWWFob28hPC90aXRsZT4KICAgIDwvaG VhZD4K ICAgIDxib2R5IGxlZnRtYXJnaW49IjAiIHRvcG1hcmdpbj0iMCIgYmdjb2xvcj0iI2QyZT RmMCIg bWFyZ2luaGVpZ2h0PSIwIiBtYXJnaW53aWR0aD0iMCI+CiAgICAgICAgPHRhYmxlIGJvcm Rlcj0i MCIgY2VsbHBhZGRpbmc9IjAiIGNlbGxzcGFjaW5nPSIwIiB3aWR0aD0iMTAwJSI+CiAgIC AgICAg ICAgIDx0Ym9keT4KICAgICAgICAgICAgICAgIDx0cj4KICAgICAgICAgICAgICAgICAgIC A8dGQg c3R5bGU9InBhZGRpbmc6IDJwdCAwcHQgMHB0IDBwdDsiIGFsaWduPSJjZW50ZXIiPgogIC AgICAg ICAgICAgICAgICAgICAgICA8dGFibGUgYm9yZGVyPSIwIiBjZWxscGFkZGluZz0iMCIgY2 VsbHNw YWNpbmc9IjAiIHdpZHRoPSI1NzAiPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgPH Rib2R5 PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0cj4KICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgPHRkIGFsaWduPSJsZWZ0Ij48aW1nIHdpZHRoPSIxNDIiIG hlaWdo dD0iMzgiIHNyYz0iaHR0cDovL2wueWltZy5jb20vYS9pL2JyYW5kL3B1cnBsZWxvZ28vYm FzZS91 cy5naWYiIGFsdD0iWWFob28hIj48L3RkPgogICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg IDwvdHI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3Rib2R5PgogICAgICAgIC AgICAg ICAgICAgICAgICA8L3RhYmxlPgogICAgICAgICAgICAgICAgICAgIDwvdGQ+CiAgICAgIC AgICAg ICAgICA8L3RyPgogICAgICAgICAgICAgICAgPHRyPgogICAgICAgICAgICAgICAgICAgID x0ZCBz dHlsZT0icGFkZGluZzogMTBweCAwcHQgMzBweDsiIGFsaWduPSJjZW50ZXIiIHZhbGlnbj 0idG9w Ij4KICAgICAgICAgICAgICAgICAgICAgICAgPHRhYmxlIGJvcmRlcj0iMCIgY2VsbHBhZG Rpbmc9 IjAiIGNlbGxzcGFjaW5nPSIwIiB3aWR0aD0iNTcwIj4KICAgICAgICAgICAgICAgICAgIC AgICAg PHRib2R5PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRyPgogICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgIDx0ZCBoZWlnaHQ9IjEyIiB3aWR0aD0iNTcwIj48aW1nIHNyYz 0iaHR0 cDovL2wueWltZy5jb20vYS9pL3VzL2Njcy9jY3MvNzkyOC9ib3hfdG9wLmdpZiIgaGVpZ2 h0PSIx MiIgd2lkdGg9IjU3MCI+PC90ZD4KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvdH I+CiAg ICAgICAgICAgICAgICAgICAgICAgICAgICA8dHI+CiAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgPHRkIGFsaWduPSJjZW50ZXIiIGJhY2tncm91bmQ9Imh0dHA6Ly9sLnlpbWcuY2 9tL2Ev aS91cy9jY3MvY2NzLzc5MjgvYm94X2JrZy5naWYiIHZhbGlnbj0idG9wIj4KICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgPHRhYmxlIGJvcmRlcj0iMCIgY2VsbHBhZGRpbm c9IjAi IGNlbGxzcGFjaW5nPSIwIiB3aWR0aD0iNTUyIj4KICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgIDx0Ym9keT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICA8dHI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgIDx0ZCBjb2xzcGFuPSI0Ij48aW1nIHNyYz0iaHR0cDovL2wueWltZy5jb20vYS9pL3 VzL2Nj cy9jY3MvNzkyOC9mcmllbmRfdG9wLmdpZiIgaGVpZ2h0PSIxNyIgd2lkdGg9IjU1MiI+PC 90ZD4K ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RyPgogIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0cj4KICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRkIGJhY2tncm91bmQ9Imh0dH A6Ly9s LnlpbWcuY29tL2EvaS91cy9jY3MvY2NzLzc5MjgvZnJpZW5kX2xlZnQuZ2lmIiB2YWxpZ2 49InRv cCIgd2lkdGg9IjYiPjxpbWcgc3JjPSJodHRwOi8vbC55aW1nLmNvbS9hL2kvdXMvY2NzL2 Njcy83 OTI4L2ZyaWVuZF9sZWZ0LmdpZiIgaGVpZ2h0PSIxNTkiIHdpZHRoPSI2Ij48L3RkPgogIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGQgc3R5bGU9In BhZGRp bmc6NXB0IDBwdCAwcHQgMTJwdDsiIGFsaWduPSJjZW50ZXIiIGJhY2tncm91bmQ9Imh0dH A6Ly9s LnlpbWcuY29tL2EvaS91cy9jY3MvY2NzLzc5MjgvZnJpZW5kX2JrZy5naWYiIHZhbGlnbj 0idG9w IiB3aWR0aD0iMTI1Ij4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICA8YSBocmVmPSJodHRwOi8vcHJvZmlsZXMueWFob28uY29tL3UvV1 dIR1kz T01ENUFPN09BVk9BN0Y0SkxOQUk/LmdwPVZzeExRbkdZSzh4QWI0b2ptUGRlaUZOSUczTW ZWMW5a dWZadzB0WnBiRmxXd0FJbjBxZlFaSG1hOFhObCZxPTAiPgogICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aW1nIGJvcmRlcj0iMC Igc3Jj PSJodHRwOi8vbC55aW1nLmNvbS91cy55aW1nLmNvbS9pL2lkZW50aXR5L25vcGljXzE5Mi 5naWYi IHdpZHRoPSIxMTAiIGhlaWdodD0iMTEwIj4KICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICA8L2E+CiAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBzdHlsZT0ibWFyZ2luOjhweC AwcHgg MThweCAwcHg7Zm9udC1mYW1pbHk6YXJpYWwsdmVyZGFuYSxoZWx2ZXRpY2E7Zm9udC1zaX plOjE1 cHg7Ij48YSBocmVmPSJodHRwOi8vcHJvZmlsZXMueWFob28uY29tL3UvV1dIR1kzT01ENU FPN09B Vk9BN0Y0SkxOQUk/LmdwPVZzeExRbkdZSzh4QWI0b2ptUGRlaUZOSUczTWZWMW5adWZadz B0WnBi RmxXd0FJbjBxZlFaSG1hOFhObCZxPTAiIHN0eWxlPSJjb2xvcjojMDAwMDAwO3RleHQtZG Vjb3Jh dGlvbjpub25lOyI+U2hhbmUgV2ViYmVyIChTaGFuZSk8L2E+PC9kaXY+CiAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvdGQ+CiAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0ZCBzdHlsZT0icGFkZGluZzogNX B0IDE1 cHggMTVweCAxNXB0OyBmb250LWZhbWlseTogQXJpYWwsSGVsdmV0aWNhLHNhbnMtc2VyaW Y7IGZv bnQtc2l6ZTogMTVweDsgY29sb3I6IHJnYig1MSwgNTEsIDUxKTsiIGFsaWduPSJsZWZ0Ii BiYWNr Z3JvdW5kPSJodHRwOi8vbC55aW1nLmNvbS9hL2kvdXMvY2NzL2Njcy83OTI4L2ZyaWVuZF 9ia2cu Z2lmIiB2YWxpZ249InRvcCIgd2lkdGg9IjQxNSI+CiAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICA8c3Ryb25nPjxhIGhyZWY9Imh0dHA6Ly9wcm 9maWxl cy55YWhvby5jb20vdS9XV0hHWTNPTUQ1QU83T0FWT0E3RjRKTE5BST8uZ3A9VnN4TFFuR1 lLOHhB YjRvam1QZGVpRk5JRzNNZlYxblp1Zlp3MHRacGJGbFd3QUluMHFmUVpIbWE4WE5sJnE9MC Igc3R5 bGU9ImZvbnQtc2l6ZTogMTdweDtjb2xvcjogcmdiKDUxLCAxMDIsIDIwNCk7Ij5TaGFuZS BXZWJi ZXIgKFNoYW5lKTwvYT48L3N0cm9uZz4KICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgIDxicj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgIDxzcGFuIHN0eWxlPSJmb250LXNpemU6IDEzcHg7Ij4KIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHdvdWxkIG xpa2Ug dG8gY29ubmVjdCB3aXRoIHlvdSBvbiBZYWhvbyEgc28geW91IGNhbiBlYXNpbHkgc2hhcm UgZWFj aCBvdGhlcnMnIFVwZGF0ZXMKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgIDwvc3Bhbj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgIDxicj48YnI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICA8YSBocmVmPSJodHRwOi8vcHJvZmlsZXMueWFob28uY2 9tL2Fj Y2VwdC9Wc3hMUW5HWUs4eEFiNG9qbVBkZWlGTklHM01mVjFuWnVmWncwdFpwYkZsV3dBSW 4wcWZR WkhtYThYTmw/cT0wIj48aW1nIHNyYz0iaHR0cDovL2wueWltZy5jb20vYS9pL3VzL2NtdH kvY3Rh X3ZpZXcuZ2lmIiBhbHQ9IkFjY2VwdCBpbnZpdGF0aW9uIiBib3JkZXI9IjAiPjwvYT4KIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90ZD4KICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRkIGJhY2tncm91bm Q9Imh0 dHA6Ly9sLnlpbWcuY29tL2EvaS91cy9jY3MvY2NzLzc5MjgvZnJpZW5kX3JpZ2h0LmdpZi IgdmFs aWduPSJ0b3AiIHdpZHRoPSI2Ij48aW1nIHNyYz0iaHR0cDovL2wueWltZy5jb20vYS9pL3 VzL2Nj cy9jY3MvNzkyOC9mcmllbmRfcmlnaHQuZ2lmIiBoZWlnaHQ9IjE1OSIgd2lkdGg9IjYiPj wvdGQ+ CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90cj4KIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dHI+CiAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0ZCBjb2xzcGFuPSI0Ij48aW 1nIHNy Yz0iaHR0cDovL2wueWltZy5jb20vYS9pL3VzL2Njcy9jY3MvNzkyOC9mcmllbmRfYm90Lm dpZiIg aGVpZ2h0PSIxMCIgd2lkdGg9IjU1MiI+PC90ZD4KICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICA8L3RyPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgPC90Ym9keT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC 90YWJs ZT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RkPgogICAgICAgICAgIC AgICAg ICAgICAgICAgICAgPC90cj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgIC AgICAg ICAgICAgICAgICAgICAgICAgPHRyPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgIDx0 ZCBzdHlsZT0icGFkZGluZzogMjBweCAzMHB4OyIgYWxpZ249ImxlZnQiIGJhY2tncm91bm Q9Imh0 dHA6Ly9sLnlpbWcuY29tL2EvaS91cy9jY3MvY2NzLzc5MjgvYm94X2JrZy5naWYiIHZhbG lnbj0i dG9wIj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGltZyBzcmM9Im h0dHA6 Ly9sLnlpbWcuY29tL2EvaS91cy9jY3MvY2NzLzc5MjgvaG9yel9kaXYuZ2lmIiBoZWlnaH Q9IjEi IHdpZHRoPSI1MTAiPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvdGQ+Ci AgICAg ICAgICAgICAgICAgICAgICAgICAgICA8L3RyPgogICAgICAgICAgICAgICAgICAgICAgIC AgICAg PHRyPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0ZCBzdHlsZT0icGFkZG luZzog MHB0IDMwcHggMjBweDsgZm9udC1mYW1pbHk6IEFyaWFsLEhlbHZldGljYSxzYW5zLXNlcm lmOyBm b250LXNpemU6IDEzcHg7IGNvbG9yOiByZ2IoNTEsIDUxLCA1MSk7IiBhbGlnbj0ibGVmdC IgYmFj a2dyb3VuZD0iaHR0cDovL2wueWltZy5jb20vYS9pL3VzL2Njcy9jY3MvNzkyOC9ib3hfYm tnLmdp ZiIgdmFsaWduPSJ0b3AiPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC A8dGFi bGUgYm9yZGVyPSIwIiBjZWxscGFkZGluZz0iMCIgY2VsbHNwYWNpbmc9IjAiIHdpZHRoPS I1MTAi PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRib2R5PgogIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0cj4KICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRkIGNvbHNwYW49IjIiIGFsaW duPSJs ZWZ0IiBoZWlnaHQ9IjI1IiB2YWxpZ249InRvcCIgc3R5bGU9ImZvbnQtZmFtaWx5OiBBcm lhbCxI ZWx2ZXRpY2Esc2Fucy1zZXJpZjsgZm9udC1zaXplOiAxM3B4OyBjb2xvcjogcmdiKDUxLC A1MSwg NTEpOyI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICA8c3Ryb25nPjxzcGFuIHN0eWxlPSJmb250LXNpemU6IDE1cHg7Ij4KICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgT25jZSB5b3UgYWNjZXB0LCB5b3 UgZ2V0 IHRvIHNoYXJlIFVwZGF0ZXMgb24gWWFob28hIHN1Y2ggYXM6CiAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvc3Bhbj48L3N0cm9uZz4KICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90ZD4KICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RyPgogICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgIDx0cj4KICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgPHRkIGFsaWduPSJsZWZ0IiB2YWxpZ249InRvcCIgd2lkdG g9Ijgi PiZidWxsOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICA8 L3RkPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC A8dGQg YWxpZ249ImxlZnQiIGhlaWdodD0iMTciIHZhbGlnbj0idG9wIiB3aWR0aD0iNTAyIiBzdH lsZT0i Zm9udC1mYW1pbHk6IEFyaWFsLEhlbHZldGljYSxzYW5zLXNlcmlmOyBmb250LXNpemU6ID EzcHg7 IGNvbG9yOiByZ2IoNTEsIDUxLCA1MSk7Ij4KICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgUGhvdG9zLCByZXZpZXdzLCB2aWRlb3MsIHN0YXR1cyBtZX NzYWdl cywgYW5kIG11Y2ggbW9yZQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICA8L3RkPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg IDwvdHI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPH RyPgog ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGQgYW xpZ249 ImxlZnQiIHZhbGlnbj0idG9wIiB3aWR0aD0iOCI+JmJ1bGw7PC90ZD4KICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRkIGFsaWduPSJsZWZ0IiBoZW lnaHQ9 IjE3IiB2YWxpZ249InRvcCIgd2lkdGg9IjUwMiIgc3R5bGU9ImZvbnQtZmFtaWx5OiBBcm lhbCxI ZWx2ZXRpY2Esc2Fucy1zZXJpZjsgZm9udC1zaXplOiAxM3B4OyBjb2xvcjogcmdiKDUxLC A1MSwg NTEpOyI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgIENv bnRhY3QgaW5mb3JtYXRpb24gY2hhbmdlcwogICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICA8L3RkPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgIDwvdHI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgPHRyPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICA8 dGQgYWxpZ249ImxlZnQiIHZhbGlnbj0idG9wIiB3aWR0aD0iOCI+JmJ1bGw7PC90ZD4KIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRkIGFsaWduPS JsZWZ0 IiB3aWR0aD0iNTAyIiBzdHlsZT0iZm9udC1mYW1pbHk6IEFyaWFsLEhlbHZldGljYSxzYW 5zLXNl cmlmOyBmb250LXNpemU6IDEzcHg7IGNvbG9yOiByZ2IoNTEsIDUxLCA1MSk7Ij4KICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgQXV0b21hdGljIGJpcn RoZGF5 IHJlbWluZGVycwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICA8L3RkPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID wvdHI+ CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3Rib2R5PgogIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RhYmxlPgogICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICA8YnI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg IDxhIGhyZWY9Imh0dHA6Ly9wcm9maWxlcy55YWhvby5jb20vYWNjZXB0L1ZzeExRbkdZSz h4QWI0 b2ptUGRlaUZOSUczTWZWMW5adWZadzB0WnBiRmxXd0FJbjBxZlFaSG1hOFhObD9xPTAiIH N0eWxl PSJjb2xvcjogcmdiKDUxLCAxMDIsIDIwNCk7Ij48c3Ryb25nPkFjY2VwdCBpbnZpdGF0aW 9uPC9z dHJvbmc+PC9hPi4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGJyPg ogICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvdGQ+CiAgICAgICAgICAgICAgICAgIC AgICAg ICAgICA8L3RyPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRyPgogICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgIDx0ZCBoZWlnaHQ9IjEyIiB3aWR0aD0iNTcwIj48aW1nIH NyYz0i aHR0cDovL2wueWltZy5jb20vYS9pL3VzL2Njcy9jY3MvNzkyOC9ib3hfYm90LmdpZiIgaG VpZ2h0 PSIxMiIgd2lkdGg9IjU3MCI+PC90ZD4KICAgICAgICAgICAgICAgICAgICAgICAgICAgID wvdHI+ CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dHI+CiAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgPHRkIHN0eWxlPSJwYWRkaW5nOiAxM3B4IDMwcHggMHB0OyBmb250LWZhbW lseTog QXJpYWwsSGVsdmV0aWNhLHNhbnMtc2VyaWY7IGZvbnQtc2l6ZTogMTFweDsgY29sb3I6IH JnYig1 MSwgNTEsIDUxKTsiIGFsaWduPSJsZWZ0IiBoZWlnaHQ9IjEyIiB2YWxpZ249InRvcCI+Ci AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFdoYXQgYXJlIDxhIGhyZWY9Imh0dH A6Ly9o ZWxwLnlhaG9vLmNvbS9sL3VzL3lhaG9vL3Byb2ZpbGVzL3VwZGF0ZXMvIj5VcGRhdGVzIG 9uIFlh aG9vITwvYT4/CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxicj4KIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgVGhpcyBpbnZpdGF0aW9uIHdpbGwgZX hwaXJl IGFmdGVyIDE4MCBkYXlzLgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC A8YnI+ CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFdhbnQgdG8gY29udHJvbC B3aGlj aCBlbWFpbHMgeW91IHJlY2VpdmUgYWJvdXQgeW91ciBjb25uZWN0aW9ucyBhbmQgeW91ci Bwcm9m aWxlIG9uIFlhaG9vIT88YnI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgIEdv IHRvOiA8YSBocmVmPSJodHRwOi8vcHJvZmlsZXMueWFob28uY29tL3NldHRpbmdzL25vdG lmaWNh dGlvbnMiIHN0eWxlPSJjb2xvcjogcmdiKDUxLCAxMDIsIDIwNCk7IHRleHQtZGVjb3JhdG lvbjog bm9uZTsiPmh0dHA6Ly9wcm9maWxlcy55YWhvby5jb20vc2V0dGluZ3Mvbm90aWZpY2F0aW 9uczwv YT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RkPgogICAgICAgICAgIC AgICAg ICAgICAgICAgICAgPC90cj4KICAgICAgICAgICAgICAgICAgICAgICAgPC90Ym9keT4KIC AgICAg ICAgICAgICAgICAgICAgICAgPC90YWJsZT4KICAgICAgICAgICAgICAgICAgICA8L3RkPg ogICAg ICAgICAgICAgICAgPC90cj4KICAgICAgICAgICAgPC90Ym9keT4KICAgICAgICA8L3RhYm xlPgog ICAgPC9ib2R5Pgo8L2h0bWw+Cgo= From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 20:07:11 2010 Return-Path: Delivered-To: FreeBSD-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC535106566C for ; Sun, 10 Jan 2010 20:07:11 +0000 (UTC) (envelope-from glyn@millingtons.org) Received: from smtpout.karoo.kcom.com (smtpout.karoo.kcom.com [212.50.160.34]) by mx1.freebsd.org (Postfix) with ESMTP id 474C78FC12 for ; Sun, 10 Jan 2010 20:07:10 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.49,251,1262563200"; d="scan'208";a="155871136" Received: from unknown (HELO glynthebearded) ([82.152.120.109]) by smtpout.karoo.kcom.com with ESMTP; 10 Jan 2010 20:07:09 +0000 Received: by glynthebearded (Postfix, from userid 1000) id D0E9C2C3E4; Sun, 10 Jan 2010 20:07:08 +0000 (GMT) From: Glyn Millington MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19274.13164.608098.988236@millingtons.org> Date: Sun, 10 Jan 2010 20:07:08 +0000 To: Manolis Kiagias In-Reply-To: <4B4A11FD.6020009@FreeBSD.org> References: <4B4A11FD.6020009@FreeBSD.org> X-Mailer: VM 8.0.12 under 23.1.1 (i486-pc-linux-gnu) Cc: FreeBSD-questions@FreeBSD.org Subject: ANNOUNCE: New Custom XFCE isos based on 8.0-RELEASE-p2 (32 and 64 bits) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Jan 2010 20:07:11 -0000 Manolis Kiagias writes: > Hey all, > > I have just completed the second 8.0-RELEASE based build of the 'Custom > releases' project hosted here: > > http://freebsd-custom.wikidot.com Nice!! Many many thanks. atb Glyn From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 20:44:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C70921065672 for ; Sun, 10 Jan 2010 20:44:14 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 32ED78FC0A for ; Sun, 10 Jan 2010 20:44:14 +0000 (UTC) Received: from [IPv6:2001:470:9099:0:31af:12a0:dc17:a1b1] ([IPv6:2001:470:9099:0:31af:12a0:dc17:a1b1]) (authenticated bits=0) by unsane.co.uk (8.14.3/8.14.3) with ESMTP id o0AKjwIp058514 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 10 Jan 2010 20:46:06 GMT (envelope-from vince@unsane.co.uk) Message-ID: <4B4A3C15.7030806@unsane.co.uk> Date: Sun, 10 Jan 2010 20:44:05 +0000 From: Vince Hoffman User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Kaya Saman References: <4B49D937.9050902@netscape.net> In-Reply-To: <4B49D937.9050902@netscape.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Possible to run 2 instances of Bind DNS server in jails?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Jan 2010 20:44:14 -0000 The only bit I'm not certain on is dedicating a nic to a jail (more because I havent tried than because I believe it cant be done, I'd expect that the network stack virtualization in 8+ should allow this.) You can most definately run seperate instances of applications in jails. I'd recomend subscribing to the freebsd-jails mailing list (http://lists.freebsd.org/mailman/listinfo/freebsd-jail) for jail specific questions as I've only dabbled with them a little. But a 10 second example [root@seaurchin ~]# jls JID IP Address Hostname Path 1 10.20.0.3 womble /var/jails/womble 2 10.20.0.2 foobar /var/jails/foobar [root@seaurchin ~]# jexec 1 ps ax PID TT STAT TIME COMMAND 8166 ?? SsJ 0:06.69 /usr/sbin/syslogd -s 8231 ?? SsJ 1:00.94 sendmail: accepting connections (sendmail) 8235 ?? IsJ 0:00.92 sendmail: Queue runner@00:30:00 for /var/spool/client 8241 ?? SsJ 0:08.55 /usr/sbin/cron -s 79334 ?? IsJ 0:00.06 /usr/sbin/named -u bind 79559 0 R+J 0:00.00 ps ax [root@seaurchin ~]# jexec 2 ps ax PID TT STAT TIME COMMAND 8504 ?? IsJ 0:01.15 sendmail: Queue runner@00:30:00 for /var/spool/client 8510 ?? SsJ 0:08.35 /usr/sbin/cron -s 79447 ?? IsJ 0:00.07 /usr/sbin/named -u bind 79584 0 R+J 0:00.00 ps ax Hope that helps Vince Kaya Saman wrote: > Hi, > > I'm just reading through a thread right now on a discussion or debate > whether to ports Solaris Zones to FreeBSD. My main Google search > criteria was basically that I wanted to know if FreeBSD had something > similar..... > > In this discussion it was mentioned that FreeBSD Jails where the sudo > 'equivalent' to Zones but of course behave much more like a chroot > environment. > > I have to ask if it's possible since I'm coming over from Solaris to > dedicate NICs to Jails and run separate instances of applications in > there, the one I am looking for primarily is Bind. As I would like to > use a Sun Fire V480 server as a mainframe but stuck between the > application advantages of FreeBSD and some of the virtualization > technologies within Solaris. > > Has anyone got any advice or comments as to whether I can achieve my > goal?? > > Many thanks, > > Kaya > _______________________________________________ > 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 Jan 10 20:50:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1EE06106566B for ; Sun, 10 Jan 2010 20:50:08 +0000 (UTC) (envelope-from samankaya@netscape.net) Received: from imr-ma04.mx.aol.com (imr-ma04.mx.aol.com [64.12.206.42]) by mx1.freebsd.org (Postfix) with ESMTP id D5C628FC13 for ; Sun, 10 Jan 2010 20:50:07 +0000 (UTC) Received: from imo-ma04.mx.aol.com (imo-ma04.mx.aol.com [64.12.78.139]) by imr-ma04.mx.aol.com (8.14.1/8.14.1) with ESMTP id o0AKnour020342; Sun, 10 Jan 2010 15:49:50 -0500 Received: from samankaya@netscape.net by imo-ma04.mx.aol.com (mail_out_v42.5.) id w.d34.63a6f99a (37096); Sun, 10 Jan 2010 15:49:48 -0500 (EST) Received: from [172.16.1.52] (mail.reformkurumsal.com [212.156.209.87]) by cia-db07.mx.aol.com (v127.7) with ESMTP id MAILCIADB076-90e84b4a3d67175; Sun, 10 Jan 2010 15:49:44 -0500 Message-ID: <4B4A3D66.5010603@netscape.net> Date: Sun, 10 Jan 2010 22:49:42 +0200 From: Kaya Saman User-Agent: Thunderbird 2.0.0.21 (X11/20090323) MIME-Version: 1.0 To: Vince Hoffman References: <4B49D937.9050902@netscape.net> <4B4A3C15.7030806@unsane.co.uk> In-Reply-To: <4B4A3C15.7030806@unsane.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AOL-IP: 212.156.209.87 X-Mailer: Unknown (No Version) X-Spam-Flag: NO X-AOL-SENDER: samankaya@netscape.net Cc: freebsd-questions@freebsd.org Subject: Re: Possible to run 2 instances of Bind DNS server in jails?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Jan 2010 20:50:08 -0000 Vince Hoffman wrote: > The only bit I'm not certain on is dedicating a nic to a jail (more > because I havent tried than because I believe it cant be done, I'd > expect that the network stack virtualization in 8+ should allow this.) > You can most definately run seperate instances of applications in > jails. I'd recomend subscribing to the freebsd-jails mailing list > (http://lists.freebsd.org/mailman/listinfo/freebsd-jail) for jail > specific questions as I've only dabbled with them a little. But a 10 > second example > > [root@seaurchin ~]# jls > JID IP Address Hostname Path > 1 10.20.0.3 womble /var/jails/womble > 2 10.20.0.2 foobar /var/jails/foobar > [root@seaurchin ~]# jexec 1 ps ax > PID TT STAT TIME COMMAND > 8166 ?? SsJ 0:06.69 /usr/sbin/syslogd -s > 8231 ?? SsJ 1:00.94 sendmail: accepting connections (sendmail) > 8235 ?? IsJ 0:00.92 sendmail: Queue runner@00:30:00 for > /var/spool/client > 8241 ?? SsJ 0:08.55 /usr/sbin/cron -s > 79334 ?? IsJ 0:00.06 /usr/sbin/named -u bind > 79559 0 R+J 0:00.00 ps ax > [root@seaurchin ~]# jexec 2 ps ax > PID TT STAT TIME COMMAND > 8504 ?? IsJ 0:01.15 sendmail: Queue runner@00:30:00 for > /var/spool/client > 8510 ?? SsJ 0:08.35 /usr/sbin/cron -s > 79447 ?? IsJ 0:00.07 /usr/sbin/named -u bind > 79584 0 R+J 0:00.00 ps ax > > Hope that helps > > > Vince > > Thanks Vince! That really helps a lot :-) Will check the jails mailing list out and see what I can discover regarding the NICs....... Regards, Kaya From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 20:59:20 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C741106566C for ; Sun, 10 Jan 2010 20:59:20 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id E97C28FC13 for ; Sun, 10 Jan 2010 20:59:19 +0000 (UTC) Received: (qmail 32748 invoked by uid 399); 10 Jan 2010 20:59:19 -0000 Received: from localhost (HELO freefall.freebsd.org) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 10 Jan 2010 20:59:19 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Date: Sun, 10 Jan 2010 20:59:17 +0000 (UTC) From: Doug Barton To: "O. Hartmann" In-Reply-To: <4B49B5AE.1010208@mail.zedat.fu-berlin.de> Message-ID: References: <4B49B5AE.1010208@mail.zedat.fu-berlin.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-message-flag: Outlook -- Not just for spreading viruses anymore! X-OpenPGP-Key-ID: 0xD5B2F0FB Organization: http://www.FreeBSD.org/ MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org, freebsd-ports@FreeBSD.org Subject: Re: science/paraview: gmake[2]: *** [bin/QVTKCxxTests] Error 1, gmake[1]: *** [VTK/GUISupport/Qt/Testing/Cxx/CMakeFiles/QVTKCxxTests.dir/all] Error 2,gmake: *** [all] Error 2,*** Error code 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: Sun, 10 Jan 2010 20:59:20 -0000 On Sun, 10 Jan 2010, O. Hartmann wrote: > Since a while I'm incapable of compiling ports/science/paraview on the most > FreeBSD 8.0-STABLE/amd64 boxes around here. > > I do portmaster -dv on a regular basis on all of those machines and I suspect > the port maintanance facility beeing corrupted since this error shows up on > nearly every FreeBSd box. The -d option refers to deleting stale distfiles, and -v is verbose, so I'm not sure how this is directly relevant. > How can I check what's going wrong? Well it seems pretty obvious that there is a problem with one of your dependencies, but that port has a lot of them, which would make it hard to diagnose exactly which one is causing the problem. I would suggest that you do this: portmaster -Dv -e paraview-3.6.1 and let portmaster uninstall all of the dependencies that are only related to that port. when that's done, do the same command line with your installed version of cmake. Then try reinstalling paraview. If that still doesn't work you'll need to do some digging to determine what is failing, and then you can reinstall that port too. hope this helps, Doug From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 21:00:41 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B8A910656A4 for ; Sun, 10 Jan 2010 21:00:41 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from kermit7.lizardhill.com (kermit7.lizardhill.com [64.69.41.223]) by mx1.freebsd.org (Postfix) with ESMTP id 03C178FC0A for ; Sun, 10 Jan 2010 21:00:40 +0000 (UTC) Received: from ip68-104-23-65.lv.lv.cox.net ([68.104.23.65] helo=mickey) by kermit.lizardhill.com with esmtpa (Exim 4.62) (envelope-from ) id 1NU4tb-0009gy-JZ; Sun, 10 Jan 2010 13:00:23 -0800 From: "Don O'Neil" To: "'Polytropon'" References: <157701ca90c1$3a62ecd0$af28c670$@com> <20100109073442.c86fe9e4.freebsd@edvax.de> <188101ca918f$40141810$c03c4830$@com> <19e201ca91a8$b1f70690$15e513b0$@com> <20100110112130.11ff370c.freebsd@edvax.de> In-Reply-To: <20100110112130.11ff370c.freebsd@edvax.de> Date: Sun, 10 Jan 2010 13:00:48 -0800 Message-ID: <25da01ca9237$fc0c94e0$f425bea0$@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: AcqR3qRfOg6OeDmNSbecsldJZohMiQAWLe/w Content-Language: en-us Cc: php-general@lists.php.net, freebsd-questions@freebsd.org Subject: RE: Clean PHP 5.2.12 Build Core Dumping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Jan 2010 21:00:41 -0000 > > I tried adding WITHOUT_X11=yes to /etc/make.conf as well as X11BASE= > and > > X11BASE="", but I still get the same error. > > Remove them. This makes sure they are not defined, not even > empty (as in "#define BLA -> symbol 'BLA' is defined"). > > > Where to go from here? Do I have and old version of something that is > > causing this? I get this error _right away_ before anything is even > built. > > It seems to be a check by the Makefile at port's top level. Ok... I have no definition for X11BASE anywhere, not in my env, not in my /etc/make.conf, nowhwere... However, it's still complaining about X11BASE being deprecated. I tried just adding WITHOUT_X11=yes in /etc/make, and without it. I even searched all the Makefiles in /usr/ports, and in the /usr/ports/lang/php5 dir to find any reference to X11, or X, or X11BASE, but nada... I don't even know where this error message is being generated from. I can't even do a basic make without it immediately spitting out the error: # make X11BASE is now deprecated. Unset X11BASE in make.conf and try again. *** Error code 1 Stop. Where should I look next? Any help is appreciated. Thanks! From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 21:15:06 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97A5F106566C for ; Sun, 10 Jan 2010 21:15:06 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp104.prem.mail.ac4.yahoo.com (smtp104.prem.mail.ac4.yahoo.com [76.13.13.43]) by mx1.freebsd.org (Postfix) with SMTP id 3A09E8FC08 for ; Sun, 10 Jan 2010 21:15:05 +0000 (UTC) Received: (qmail 72061 invoked from network); 10 Jan 2010 21:15:03 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Date:From:To:Subject:Reply-To:Organization:In-Reply-To:References:X-Face:Message-Id:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Mailer; b=B/sh9DZA0vg04uOssv7l6AEuJEEhGcWAPwmy1fNQWPgubtSRT6XsXW6uIIrvWHL4JSydIDJYKJRP8xwZssKjdSoWHsKiukLqHQ/iK7zzy/FPwp2vWbI+OIg2M/drzXuhU/vRYF2yDJiWoQsrfqEPFOnJS4/z1uo+Jy8pUNgxct0= ; Received: from c-67-189-160-65.hsd1.ny.comcast.net (gesbbb@67.189.160.65 with login) by smtp104.prem.mail.ac4.yahoo.com with SMTP; 10 Jan 2010 13:15:02 -0800 PST X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: jp3DlkIVM1nLVArRNCcw1oao8hUYgVnw8Uq0upfuEdgHaBzmmMTybcmo7ld06AabpWdNh11zCmDFZqsB5ow7sY.h.J16gtTKZgeDMLwUhbamKM7LiIWGwW7aujCOPhtgssufzIQYxPPk5Elv_CEYttuCLANR5tYn915senA1Mu0MpoCz1j6ASbQR5naMnNlFPhOy4DFEg63YaL8tBaQcHHw099aiBzp5BOvMVu1LHf6xBL0jetIHTFDmUJrKt4pVIf2.nIVIxDafhfpYHARN1EdI1YetHYK7fWQmjFOGGB0YlEnwWlLkLDXflw-- X-Yahoo-Newman-Property: ymail-3 Date: Sun, 10 Jan 2010 16:15:01 -0500 From: Jerry To: User questions Organization: seibercom.net In-Reply-To: <27100257.post@talk.nabble.com> References: <27100257.post@talk.nabble.com> X-Face: %w26Xx*^+moP{$gQJ3pY@y!8g&-n%/zKp; aE#\*zy9L1X$QU7)|K"# QM:ob~"(eWt{P?#Ec; |v]#G"{{WZF-rt\4n1IS3I[w>Z Message-Id: <20100110161500.78D8.32B2AB49@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.52.03 [en] Subject: Re: Catastrophic Installation Failure now! 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: Sun, 10 Jan 2010 21:15:06 -0000 On Sun, 10 Jan 2010 09:17:35 -0800 (PST) jaymax articulated: > I was frustrated by a failure to create a ROOT password and decided to do a > clean reinstall > Did a "make deinstall" from the following ports > > [i] /usr/ports/databases/mysql54-server > [ii] /usr/ports/databases/mysql54-client > [iii] /usr/ports/databases/mysql54-scripts > > Did a rm of the /etc/my.cnf file (There were no others in related or > relevant areas) Try this. pkg_delete -dfv mysql* That should delete all traces of MySQL You might also want to backup the contents of the /var/db/mysql folder also. In any case, delete the folder and it contents. While you are at it, delete the files in "/usr/ports/distfiles" also. Update the ports tree, and cd to the version of mysql you want to install. Run "make config" to insure it is configured correctly. Run; make install && make clean Make sure that the correct entry is in the "/etc/rc.conf" file to enable MySQL to start on boot. I think it is: mysql_enable="YES". Either reboot or cd to the "/usr/local/etc/rc.d" directory and run the mysql startup script. I believe "./mysql" is correct. This should create all of the necessary files and directories you need to initialise MySQL. -- Jerry gesbbb@yahoo.com From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 21:45:25 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E1C1106568D for ; Sun, 10 Jan 2010 21:45:25 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 23FD58FC2F for ; Sun, 10 Jan 2010 21:45:24 +0000 (UTC) Received: from thought.org (ethic.thought.org [10.47.0.230]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o0ALjJbD006891; Sun, 10 Jan 2010 13:45:20 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1001 kline@thought.org; Sun, 10 Jan 2010 13:45:21 -0800 (PST) Date: Sun, 10 Jan 2010 13:45:19 -0800 From: Gary Kline To: Matthew Seaman Message-ID: <20100110214519.GA6305@thought.org> References: <4B45F643.9000809@ibctech.ca> <4B46021F.906@infracaninophile.co.uk> <4B4604CF.2040404@ibctech.ca> <4B460815.1040306@infracaninophile.co.uk> <4B4614C6.8090601@ibctech.ca> <20100109074715.GC83472@thought.org> <4B4860DF.2010904@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B4860DF.2010904@infracaninophile.co.uk> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-0.0 required=3.6 tests=ALL_TRUSTED,BAYES_00, FH_DATE_PAST_20XX, J_CHICKENPOX_32, J_CHICKENPOX_38 autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: Bogdan Webb , Steve Bertrand , freebsd-questions@freebsd.org Subject: Re: FreeBSD ipv6 rc.conf settings issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2010 21:45:25 -0000 On Sat, Jan 09, 2010 at 10:56:31AM +0000, Matthew Seaman wrote: > Gary Kline wrote: > > > >This caught my interest this morning so I set up a commented-out trial in > >/etc/rc.d for my ipv6 entry; the one I had in my database /etc/namedb/* > >files > >blew my connection sky-high recently. > > > >Does this seem plausible: > > > > > ># > >## ipv6 config > ># > > > ># ipv6_enable="YES" > ># ipv6_defaultrouter="2002:d1b4:d5d2::" > ># ipv6_default_interface="em0" > ># ipv6_gateway_enable="YES" > > > >given that my Adress record is 209.180.213.210 ? > > > >tia, gents, > > So you're using 6to4 tunnelling as described in stf(4)? That's a quite > different setup to what has been discussed previously in this thread. > I think 6to4 is, if not deprecated, certainly not the normal way of getting > IPv6 connectivity nowadays. Generally you'ld get an address space > allocation > from your ISP, or failing that, a tunnel broker like Hurricane Electric[*]. > > Anyhow, as stf(4) says, you need to encode your IPv4 address as hex in the > 6to4 address -- that looks correct: > > % perl -e 'map { printf "%x\n", $_ } split( /\./, shift );' 209.180.213.210 > d1 > b4 > d5 > d2 > > However 2002:d1b4:d5d2:: is *your* network address, and having it as the > default router sounds wrong to me. You need to assign addresses from that > range to your hosts -- which you can do automatically by enabling rtadvd(8) > on your gateway machine and rtsold(8) on your clients. Also, to use 6to4 > you need to create a 'stf0' interface and make that the > ipv6_default_interface. Errp! Matthew, you lost me entirely. I *do* want to use IPv6 eventually. I have it sent up, latenly, in my mail and DNS files. I do understand the need to go to v6 in a few years, but it is probably going to take me that long to get mi mind around the workings of the whole set of issues. [[I'm learning new+exciting things about pfSEnse and networking-in-detail while getting X11 running on my new server....]] Are there any IPv6-for-Dummies around? The man pages are things you read for reference; or at least that's been my experience! > > This is all independent of setting up IPv6 related items in your DNS. Get > the IPv6 connectivity working first -- use ping6 and traceroute6 with IPv6 > numbers to confirm connectivity, and then worry about DNS settings. > I'll google around for some insights of things-v6; but you may know what's best. thanks, gary > Cheers, > > Matthew > > [*] Which is pretty crazy given that the prediction is IPv4 space is > going to run out around 2012[+]. All of the major ISPs and NSPs really > should be providing IPv6 natively by now. > > [+] Potential for another IT-feeding-frenzy-panic scenario like the run > up to Y2K. Make sure IPv6 is on your CV... > > -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > Kent, CT11 9PW > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 22:14:06 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA0E2106566B for ; Sun, 10 Jan 2010 22:14:06 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 9AC4C8FC14 for ; Sun, 10 Jan 2010 22:14:06 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o0AME3aq007061 for ; Sun, 10 Jan 2010 14:14:03 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 10 Jan 2010 14:14:03 -0800 (PST) Date: Sun, 10 Jan 2010 14:14:03 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20100110221400.GA90997@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-0.6 required=3.6 tests=ALL_TRUSTED,BAYES_00, FH_DATE_PAST_20XX,J_CHICKENPOX_48 autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: Subject: can I leverage off our new comcast wireless internet. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Jan 2010 22:14:06 -0000 Folks, The problem is: how to keep this short and maintain some logic... Okay, I'll start with the several times that thought.org was down during my migration from an OLD to a new server. Got that done late last month. Wife+daughter were at me whenever my system was down; finally I said, fine, you both order Comcast; I'll make do with my telco, Qwest. Yesterday morning the cable installer used our telco line and now we have two Internet feeds. --I'll spare you the 28 hours thought.org was dead; I'll just say that going to one's thinking-place and thinking-thinking-thinking does good sometimes. My *switch* needed to be power-cycled. Now I am back; now on to other things.-- A few of you have made mention of my only having one link to the Internet. Now there are two available: the telephone company and the cable company. Can I make use of comcast to give me a secondary nameserver, somehow, someway, I don't care how? My ThinkPad has builtin wireless detection; that much showed up when I was using Windoze. I have Zero idea about my Dell server. The long and the short of it is: can I take advantage of having two 'Net connections, and if so, how? -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 01:11:07 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7A30106566B for ; Mon, 11 Jan 2010 01:11:07 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ew0-f213.google.com (mail-ew0-f213.google.com [209.85.219.213]) by mx1.freebsd.org (Postfix) with ESMTP id 594768FC0C for ; Mon, 11 Jan 2010 01:11:07 +0000 (UTC) Received: by ewy5 with SMTP id 5so10066653ewy.14 for ; Sun, 10 Jan 2010 17:10:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=6sstjwu0CPlK09xstt3ZVGrB+Y8np460AlfD/eIPR38=; b=ZW/q2uOWNCFuqdnHTS0Jb0DOgdWG6mNqgjH6Dufad1DuqhfW0XymnYUN+evPkVJFMR 5RZSWtdufGsqPyzE7q5byyZiVpXcZ2r52rSVYtcjdx8NHGJV3SAWRctLQ4iQWIU2S8kf x1KYMVKV9ihxd49DGrmSR00VTKW6Mmlat8T+w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=u2yKgTE+lRYYSP7dQCnbeYHqicDHw+GY6vrQE2iEbueRt+WJ4+9Xcude1fYr78JCET q2IW3+ImwjznyBzvr2D2DLhyO2YhrQh+6ttFh/FG2ga33+vYymcqnt1Ggm4v5KB0niBE h73lEGdEet4YN5hlian9OlmFCfJ5mMAHGy9WM= Received: by 10.213.98.142 with SMTP id q14mr2595683ebn.75.1263171916348; Sun, 10 Jan 2010 17:05:16 -0800 (PST) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id 13sm340465ewy.5.2010.01.10.17.05.10 (version=SSLv3 cipher=RC4-MD5); Sun, 10 Jan 2010 17:05:15 -0800 (PST) Date: Mon, 11 Jan 2010 01:04:43 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100111010443.3643a8d0@gumby.homeunix.com> In-Reply-To: <20100110102102.GA1920@current.Sisis.de> References: <20100110102102.GA1920@current.Sisis.de> X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.5; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: must /compat/linux stay in root-fs? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 01:11:07 -0000 On Sun, 10 Jan 2010 11:21:02 +0100 Matthias Apitz wrote: > Can I safely move the /compat tu /usr/local/compat and do a symlink to > let point /compat --> /usr/local/compat or is there some reason that > linux-f10 ports put all into /compat in root-fs? For me /compat was a symlink to /usr/compat by default. Perhaps it's put there by sysinstall rather than the port. From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 01:34:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 140851065670 for ; Mon, 11 Jan 2010 01:34:57 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id F26368FC13 for ; Mon, 11 Jan 2010 01:34:56 +0000 (UTC) Received: from [10.0.10.3] ([202.69.172.209]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 10 Jan 2010 17:34:57 -0800 Message-ID: <4B4A803F.50504@a1poweruser.com> Date: Mon, 11 Jan 2010 09:34:55 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Hashimoto References: <6bae2c431001090443h40bb2f65md7a2d531db9c9a48@mail.gmail.com> <3a142e751001090606g36bb4e4aqa0f36a979eb06e12@mail.gmail.com> <6bae2c431001091950p175472aan3a0f2adcf02eabb9@mail.gmail.com> In-Reply-To: <6bae2c431001091950p175472aan3a0f2adcf02eabb9@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 11 Jan 2010 01:34:57.0326 (UTC) FILETIME=[486E74E0:01CA925E] X-Sender: fbsd1@a1poweruser.com Cc: freebsd-questions@freebsd.org Subject: Re: Inserting PC card NIC, system stops X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 01:34:57 -0000 Hashimoto wrote: > Thanks for your reply, Paul. > >>> $ uname -a >>> FreeBSD musca.localdomain 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0 >>> r201741: Fri Jan 8 01:01:18 JST 2010 >>> root@aries.localdomain:/usr/obj/usr/src/sys/GENERIC i386 >>> >>> >>> $ tail /var/log/messages >>> Jan 9 21:29:12 musca kernel: cbb1: ready never happened, status = 00 >>> Jan 9 21:29:12 musca kernel: ed0: at port > >> ed(4) appears to be driver for that card > > Sure. > I'm using GENERIC kernel, > and it includes cbb(4), ed(4) device driver. > But the system does not work fine with this PC card. > You are not clear just how you are inserting the nic card. Are you trying to insert the card while Freebsd is up and running or inserting the card while the pc is powered off and them during bootup post you get those msgs? From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 04:36:20 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4FE09106566B for ; Mon, 11 Jan 2010 04:36:20 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from mail-pz0-f202.google.com (mail-pz0-f202.google.com [209.85.222.202]) by mx1.freebsd.org (Postfix) with ESMTP id 2B3178FC13 for ; Mon, 11 Jan 2010 04:36:20 +0000 (UTC) Received: by pzk40 with SMTP id 40so203532pzk.7 for ; Sun, 10 Jan 2010 20:36:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=wRqwCjdVAF6nCsmZY8tGJuSB7qhlTuKM+cz02CQ9CmM=; b=GlOSljHQO2VuWBwWHFqsqfXU8BxsHJ5Ci0c/G+BQiEtoi1R9T1EnQK9wnJKt03G1Qg n8jZv3fIgYURSxcL10ujjhZUZf4TwcXyeiedDH51X7tFkQKhO5Jl1Wdy26waPdutTe5J j5Hg2Ty2XecKOfqK8l+qpw8oodfVCEL7n2H0A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=aSK7FMzkFA+FkrSO3qg3z8dYAmIpU4ciGIkoa39rMsEMDQoNbktM8axpBJsTntJlZO NQTJa2jy1cp4ZstwNH5fVLJc48rT8Nnn/U1bkK4mvHEatl55qerVrTd7Ah7kIjqiJIqW 2qSezyoKfwvx7lvkXkj2TTe08UZk3L7bZmAjY= MIME-Version: 1.0 Received: by 10.142.250.41 with SMTP id x41mr1360910wfh.42.1263184569995; Sun, 10 Jan 2010 20:36:09 -0800 (PST) Date: Sun, 10 Jan 2010 21:36:09 -0700 Message-ID: <539c60b91001102036g4ef5e2fdv6e24c5e208d2c160@mail.gmail.com> From: Steve Franks To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Subject: buildkernel w/o symbols? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 04:36:20 -0000 So I'm an idiot, and I couldn't figure out how to label, except sysinstall autos, and now I have a puny 512MB rootfs, which I can't make installkernel from 8-rc1 to 8-stable, the only 'big' thing I can find on the drive is the symbols in /boot/kernel... Is there a right way out of this mess? Thanks, Steve From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 06:11:44 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5E651065670 for ; Mon, 11 Jan 2010 06:11:44 +0000 (UTC) (envelope-from h.skuhra@gmail.com) Received: from mail-fx0-f218.google.com (mail-fx0-f218.google.com [209.85.220.218]) by mx1.freebsd.org (Postfix) with ESMTP id 45D708FC16 for ; Mon, 11 Jan 2010 06:11:43 +0000 (UTC) Received: by fxm10 with SMTP id 10so7448347fxm.14 for ; Sun, 10 Jan 2010 22:11:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:references:user-agent:mime-version:content-type; bh=S6q+265jrMmVjnQ53d/E2bOY65+pu98izb1ISgBwATA=; b=kgp25BXr022p5JW37PFSqKgXymVyHRmfyDvevmoM5p5vmJogYiC1YNYfr9r81dcBHR 6S8QzIcopQgoT/eRhV4YoWe+c2D/TR9UxoNzhnuRC9YCjzzOBeNboerspYq1bw+L5dUZ 62aSHnIjjc0AzUT2DYvOO+Kh+C7jlW7CZaRX4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:references:user-agent :mime-version:content-type; b=j2W6lqGk/XVzs3E86ea/z7/KVYcjxZKR2mpxGaEc54HjEdnJ5sqgHeR7Xn7exusu9r yEVKAdYh+tItAS3HInAiqpD1tXYoDhWrzyg0gKP9nQ9tboGqF6Jn1YH78Gdc2BDUqiqM msrwLAzwTYu39q94As4QBjvzvfQ7hbH2v+/FQ= Received: by 10.223.15.148 with SMTP id k20mr6620651faa.6.1263190298908; Sun, 10 Jan 2010 22:11:38 -0800 (PST) Received: from oslo.ath.cx ([72.14.240.162]) by mx.google.com with ESMTPS id z10sm4981930fka.30.2010.01.10.22.11.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 10 Jan 2010 22:11:38 -0800 (PST) Message-ID: <4b4ac11a.0a4d5e0a.0a76.ffffb571@mx.google.com> Date: Mon, 11 Jan 2010 07:12:04 +0100 From: "Herbert J. Skuhra" To: freebsd-questions@freebsd.org In-Reply-To: <539c60b91001102036g4ef5e2fdv6e24c5e208d2c160@mail.gmail.com> References: <539c60b91001102036g4ef5e2fdv6e24c5e208d2c160@mail.gmail.com> User-Agent: Wanderlust/2.15.8 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.7 Emacs/23.1.91 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Subject: Re: buildkernel w/o symbols? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 06:11:44 -0000 At Sun, 10 Jan 2010 21:36:09 -0700, Steve Franks wrote: > > So I'm an idiot, and I couldn't figure out how to label, except > sysinstall autos, and now I have a puny 512MB rootfs, which I can't > make installkernel from 8-rc1 to 8-stable, the only 'big' thing I can > find on the drive is the symbols in /boot/kernel... > > Is there a right way out of this mess? 1. build a kernel without "makeoptions DEBUG=-g" 2. rm /boot/kernel/*.symbols before make installkernel 3. Read the entry 20060118 of /usr/src/UPDATING -Herbert From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 06:12:31 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2EB80106568B for ; Mon, 11 Jan 2010 06:12:31 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id E9C928FC20 for ; Mon, 11 Jan 2010 06:12:30 +0000 (UTC) Received: from eagle.syrec.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.3/8.14.3) with ESMTP id o0B6CUXp000956 for ; Sun, 10 Jan 2010 22:12:30 -0800 (PST) (envelope-from yuri@rawbw.com) Message-ID: <4B4AC14E.4060305@rawbw.com> Date: Sun, 10 Jan 2010 22:12:30 -0800 From: Yuri User-Agent: Thunderbird 2.0.0.23 (X11/20091130) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: My microphone signal gets lost X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yuri@rawbw.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2010 06:12:31 -0000 My Realtek ALC272 card microfon spontaneously stops working. Sometimes skype works fine, sometimes only very weak and distorted signal goes out. But microphone always sounds strong in the speakers. Here is my mixer state when I had a problem: Mixer vol is currently set to 96:96 Mixer pcm is currently set to 100:100 Mixer mic is currently set to 99:99 Mixer mix is currently set to 92:92 Mixer rec is currently set to 94:94 Mixer ogain is currently set to 50:50 Mixer monitor is currently set to 89:89 Driver snd_hda.ko is loaded: hdac0: HDA Codec #0: Realtek ALC272 pcm0: at cad 0 nid 1 on hdac0 What could have caused the problem? Yuri From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 07:33:24 2010 Return-Path: Delivered-To: questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84EC9106566B for ; Mon, 11 Jan 2010 07:33:24 +0000 (UTC) (envelope-from spavan.in@eccouncil.org) Received: from na3sys009aog110.obsmtp.com (na3sys009aog110.obsmtp.com [74.125.149.203]) by mx1.freebsd.org (Postfix) with SMTP id 1E8038FC12 for ; Mon, 11 Jan 2010 07:33:23 +0000 (UTC) Received: from source ([209.85.160.43]) by na3sys009aob110.postini.com ([74.125.148.12]) with SMTP ID DSNKS0rUQ0huq4waGzp+ZqqMVWZaQKcKm0Dc@postini.com; Sun, 10 Jan 2010 23:33:24 PST Received: by pwj11 with SMTP id 11so1553128pwj.2 for ; Sun, 10 Jan 2010 23:33:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.143.27.20 with SMTP id e20mr8434962wfj.238.1263193819056; Sun, 10 Jan 2010 23:10:19 -0800 (PST) Date: Mon, 11 Jan 2010 12:40:19 +0530 Message-ID: <5c9d75ed1001102310j5cdfa7f8o1e974333d81946b1@mail.gmail.com> From: S Pavan To: questions@FreeBSD.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Reference to your Work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 07:33:24 -0000 Hello, Greetings of the day! Please allow me to introduce myself as a member of the technical research team at EC-Council. Currently we are finalizing the release version of our courseware that prepares aspirants for the certification *=91CEHv7=92* as awarded by EC-Cou= ncil. In this context, we would like to seek your permission to include reference= s to your work *=93Wireless Networking"* published at =91* http://www.freebsd.org/doc/en/books/handbook/network-wireless.html*=92 as a resource material for the said instructional material. This will further enrich the knowledge base shared with the students and the intent is solely to disseminate knowledge-to-knowledge seekers. It would be an honor for us to feature your work here and as such, we look forward to hearing from you regarding your kind consent. As EC-Council is seen as a leader in Information Technology education globally, reference to your work in our materials will provide further exposure to your expertise and the good work that you and/or your corporation has done in this space to global professionals in that space. We believe that this will benefit you as it would the students. Others that have worked with us previously have seen a surge in the demand/exposure to their product/services. All due credits will be given in the courseware in the research endnotes an= d if you would like to adhere to any specific copyright clause, please do let us know. We are committed towards protecting intellectual property and willing to do all that it takes to uphold this principle. Thank you for your time and consideration. --=20 Thanks & Regards, Spavan EC-Council spavan.in@eccouncil.org www.eccouncil.org From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 09:16:58 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C93E106568F for ; Mon, 11 Jan 2010 09:16:58 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id AFB828FC1A for ; Mon, 11 Jan 2010 09:16:57 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.3) with ESMTP id o0B9GZTs040309; Mon, 11 Jan 2010 09:16:37 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o0B9GZTs040309 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1263201403; bh=MyT7K6TJSDPgpVMgfy0CHQER9kSd1u9o039/2VSFznI=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B4AEC73.9000402@infracaninophile.co.uk>|Date:=20M on,=2011=20Jan=202010=2009:16:35=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20091129)|MIME-Vers ion:=201.0|To:=20S=20Pavan=20|CC:=20quest ions@freebsd.org|Subject:=20Re:=20Reference=20to=20your=20Work|Ref erences:=20<5c9d75ed1001102310j5cdfa7f8o1e974333d81946b1@mail.gmai l.com>|In-Reply-To:=20<5c9d75ed1001102310j5cdfa7f8o1e974333d81946b 1@mail.gmail.com>|X-Enigmail-Version:=200.95.6|Content-Type:=20mul tipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"appl ication/pgp-signature"=3B=0D=0A=20boundary=3D"------------enigF77E F42CF39DC9F3A0B2368B"; b=mZWFF++2t5jJY/FDUc8ll4VHJt4pq2u2ICucpt8jw45YvK9KwqOECGwMGW20G/9G3 y913cwKJ+EqXC6uCULxeLOeEkv6NIWqB4P0Mxxa2rgImjnRmzNvIVNh5NTFRw8+ZHt UKGLKoOgUslEW8EAiSsOyWYYrmmjaN5+tEjCOjOE= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B4AEC73.9000402@infracaninophile.co.uk> Date: Mon, 11 Jan 2010 09:16:35 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20091129) MIME-Version: 1.0 To: S Pavan References: <5c9d75ed1001102310j5cdfa7f8o1e974333d81946b1@mail.gmail.com> In-Reply-To: <5c9d75ed1001102310j5cdfa7f8o1e974333d81946b1@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigF77EF42CF39DC9F3A0B2368B" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: questions@freebsd.org Subject: Re: Reference to your Work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 09:16:58 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF77EF42CF39DC9F3A0B2368B Content-Type: multipart/mixed; boundary="------------050909090906040806010803" This is a multi-part message in MIME format. --------------050909090906040806010803 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable S Pavan wrote: > Currently we are finalizing the release version of our courseware that > prepares aspirants for the certification *=91CEHv7=92* as awarded by EC= -Council. > In this context, we would like to seek your permission to include refer= ences > to your work *=93Wireless Networking"* published at =91* > http://www.freebsd.org/doc/en/books/handbook/network-wireless.html*=92 = as a > resource material for the said instructional material. This will furthe= r > enrich the knowledge base shared with the students and the intent is so= lely > to disseminate knowledge-to-knowledge seekers. First of all, let me say that I'm not anyone with any official standing w= ith the FreeBSD project that can give you a definitive answer to your enquiry= =2E =20 However, let me point you towards the copyright/license on the FreeBSD Handbook: http://www.freebsd.org/doc/en/books/handbook/LEGALNOTICE.html Which is a variant on the well known BSD family of open-source licenses (= as you might expect). Essentially this says that you are free to make whate= ver use of the material in the handbook, and the source code it is derived fr= om, subject only to the proviso that you maintain the same copyright notice a= nd disclaimer in derived works. Simply providing a link back to the origina= l copyright notice on the FreeBSD site should be sufficient. Should you have further concerns to be addressed, might I suggest that th= e most relevant group of people to contact is the FreeBSD Documentation Project via their mailing list: freebsd-doc@freebsd.org Ever since I first encountered it, I've been convinced that the FreeBSD Handbook and related documentation is an outstandingly good example of ho= w to do such things, and I am glad to see that it is attracting attention outside its core constituency of FreeBSD users. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------050909090906040806010803 Content-Type: application/pgp-signature; name="signature.asc" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="signature.asc" LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcgdjIuMC4xNCAo RnJlZUJTRCkKQ29tbWVudDogVXNpbmcgR251UEcgd2l0aCBNb3ppbGxhIC0gaHR0cDovL2Vu aWdtYWlsLm1vemRldi5vcmcKCmlFWUVBUkVJQUFZRkFrdEs2N1lBQ2drUThNams1MkN1a0l6 YUNnQ2JCMXJpR3ZpdTdZa1lqV2l2b3FKVG8xQmkKdlQ0QW4zTFdCWm42eXQrOW1hbHRud1RG UHk4Z21wUmsKPXE5MmcKLS0tLS1FTkQgUEdQIFNJR05BVFVSRS0tLS0tCgo= --------------050909090906040806010803-- --------------enigF77EF42CF39DC9F3A0B2368B 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.14 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAktK7HMACgkQ8Mjk52CukIwbjQCfYy8pfS/icCFRg0y2j/Dqmj6b hmYAn2F4tdkfOKTdr0GrfSCEY/jOhXMe =Xs97 -----END PGP SIGNATURE----- --------------enigF77EF42CF39DC9F3A0B2368B-- From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 09:37:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74D3C106566B for ; Mon, 11 Jan 2010 09:37:55 +0000 (UTC) (envelope-from bennett@cs.niu.edu) Received: from mp.cs.niu.edu (mp.cs.niu.edu [131.156.145.41]) by mx1.freebsd.org (Postfix) with ESMTP id 4A4BB8FC08 for ; Mon, 11 Jan 2010 09:37:55 +0000 (UTC) Received: from mp.cs.niu.edu (bennett@localhost [127.0.0.1]) by mp.cs.niu.edu (8.14.3/8.14.3) with ESMTP id o0B9br7Y019620 for ; Mon, 11 Jan 2010 03:37:53 -0600 (CST) Date: Mon, 11 Jan 2010 03:37:53 -0600 (CST) From: Scott Bennett Message-Id: <201001110937.o0B9brKQ019619@mp.cs.niu.edu> To: freebsd-questions@freebsd.org Subject: "glabel label" 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: Mon, 11 Jan 2010 09:37:55 -0000 My system currently has three external disk drives connected via USB 2.0 ports and will soon have another drive connected via a Firewire port. The three already present have quite a few partitions on them, nearly all of which already contain file systems with lots of files in them. I would like to use the "glabel label" method of labeling each of these partitions, so that I do not always have to disconnect all but one external drive when rebooting the system and then reconnect them one by one in order to get the proper device files assigned to them for use with /etc/fstab entries. However, some of these partitions contain GELI-encrypted file systems. Can the "glabel label" sort of labeling be used with encrypted partitions? If so, can "glabel label" be used on the encrypted partitions without destroying the file systems or the data in them? Or will I need to recreate the file systems after labeling the partitions and then restore their contents from backups? Is there any danger to unencrypted partitions and data when using the "glabel label" operation? Thanks in advance for any help with this matter. Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * ********************************************************************** From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 10:51:59 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92C6C1065692 for ; Mon, 11 Jan 2010 10:51:59 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (dns1.vizion2000.net [62.49.197.50]) by mx1.freebsd.org (Postfix) with ESMTP id 46EFA8FC13 for ; Mon, 11 Jan 2010 10:51:59 +0000 (UTC) Received: by dns1.vizion2000.net (Postfix, from userid 1001) id 67E3E34D449; Mon, 11 Jan 2010 10:51:56 +0000 (GMT) From: David Southwell Organization: Voice & Vision To: freebsd-questions@freebsd.org Date: Mon, 11 Jan 2010 10:51:56 +0000 User-Agent: KMail/1.12.4 (FreeBSD/7.2-RELEASE-p3; KDE/4.3.4; amd64; ; ) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201001111051.56331.david@vizion2000.net> Subject: syncache_timer: errors; What do they mean? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 10:51:59 -0000 Here are some example entries in /var/log/messages (server ip address removed and replaced by [xxx.xxx.xxx.xxx] : Can anyone please tell me what thses messages mean and what action (if any) I should be taking. Thanks in advance for any replies Jan 11 10:41:57 dns1 kernel: TCP: [113.53.173.247]:63584 to [xxx.xxx.xxx.xxx]:25; syncache_timer: Response timeout, retransmitting (1) SYN|ACK Jan 11 10:42:01 dns1 kernel: TCP: [113.53.173.247]:63429 to [xxx.xxx.xxx.xxx]:25; syncache_timer: Response timeout, retransmitting (2) SYN|ACK Jan 11 10:42:03 dns1 kernel: TCP: [113.53.173.247]:63584 to [xxx.xxx.xxx.xxx]:25; syncache_timer: Response timeout, retransmitting (2) SYN|ACK Jan 11 10:42:13 dns1 kernel: TCP: [113.53.173.247]:63429 to [xxx.xxx.xxx.xxx]:25; syncache_timer: Response timeout, retransmitting (3) SYN|ACK Jan 11 10:42:16 dns1 kernel: TCP: [113.53.173.247]:63584 to [xxx.xxx.xxx.xxx]:25; syncache_timer: Response timeout, retransmitting (3) SYN|ACK David From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 10:53:40 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8CED71065695 for ; Mon, 11 Jan 2010 10:53:40 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from mail-yw0-f197.google.com (mail-yw0-f197.google.com [209.85.211.197]) by mx1.freebsd.org (Postfix) with ESMTP id 8C31F8FC35 for ; Mon, 11 Jan 2010 10:53:39 +0000 (UTC) Received: by ywh35 with SMTP id 35so12149717ywh.7 for ; Mon, 11 Jan 2010 02:53:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=EvChJtP5bUfNNHKGGdFQpz9iJWX5kwUUpKc6CG9Fg0A=; b=lhS2X08CdR/LiU+cGmAmIkw0T3JsMmzA3pGVQAk8JWOaCVrYcTStwMaqVBMecABVYq ZBBrKM9o530zRbkpflb965o3tqG+YTvOwHBs3+bGTk9BkkjGSEZHE6qu8HOSoF4USEwO OrHRlBRsoxUdjUs+TAn/MzGqfECRS62on98hk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=VIjDraWkRZs2VxxXZw1mwbBLeFEE3AQTT0ElqifYMMzdbTeuO3GSGl3IxyM8HY0z2g s/V8AL5OqNxYYhH/hvoo3apqx+sOGJgVXbUX8Uv9LiTd+HEOHPERj6CFArRLBqsY3oQO 3QsKgDfmqWevSiiLNrTzw5fgHi2mpU9/WubLc= MIME-Version: 1.0 Received: by 10.100.200.16 with SMTP id x16mr11533430anf.103.1263207216067; Mon, 11 Jan 2010 02:53:36 -0800 (PST) Date: Mon, 11 Jan 2010 12:53:36 +0200 Message-ID: From: Dan Naumov To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: a question on ZFS boot/root in 8.0-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: Mon, 11 Jan 2010 10:53:40 -0000 Hello list. My concern is this: I really really like freebsd-update and want to continue using it. Freebsd-update however, assumes that no part of your base system has been compiled by hand, it's intended to be used to update from official binaries to other official binaries. I am also gathering (from things I've read so far) that you HAVE to build a custom loader if you want to boot off a ZFS mirror or raidz... but what about a non-redundant ZFS pool as system root in 8.0-RELEASE? Can I have a full ZFS FreeBSD installation on a non-redundant ZFS pool and have the system boot off it without having to compile anything manually with the existing binaries provided on the 8.0 install DVD? - Sincerely, Dan Naumov From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 12:15:47 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DECEB106566B for ; Mon, 11 Jan 2010 12:15:47 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 9D1468FC0C for ; Mon, 11 Jan 2010 12:15:47 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NUJBP-0005J5-Q1 for freebsd-questions@freebsd.org; Mon, 11 Jan 2010 13:15:43 +0100 Received: from pool-70-21-26-190.res.east.verizon.net ([70.21.26.190]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Jan 2010 13:15:43 +0100 Received: from nightrecon by pool-70-21-26-190.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Jan 2010 13:15:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Mon, 11 Jan 2010 07:15:17 -0500 Lines: 26 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-70-21-26-190.res.east.verizon.net User-Agent: KNode/4.3.4 Sender: news Subject: Converting i386 to amd64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nightrecon@hotmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2010 12:15:47 -0000 Greetings everyone: This is probably a pretty dumb question, but it's never really come up for me before. I am at a crossroads with regard to some hardware upgrades, and for a couple of them I have been putting off making the change to 64 bit. These are server boxen with no concerns for desktop use. Is it possible to change an i386 install to amd64 without needing to start from scratch? I was poking around reading some stuff, and ran across this in in /usr/src/Makefile: # If TARGET=machine (e.g. ia64, sparc64, ...) is specified you can # cross build world for other machine types using the buildworld target, # and once the world is built you can cross build a kernel using the # buildkernel target. Does this mean I can achieve the desired effect with "make buildworld TARGET=amd64", et al? It would be a tremendous time-saver for me. Of course I would follow with a portupgrade -fa and rebuild all ports afterward. Thanks in advance for the wielding of any clue sticks. :-) -Mike From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 12:24:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9507106566B for ; Mon, 11 Jan 2010 12:24:49 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-fx0-f218.google.com (mail-fx0-f218.google.com [209.85.220.218]) by mx1.freebsd.org (Postfix) with ESMTP id 44C918FC21 for ; Mon, 11 Jan 2010 12:24:48 +0000 (UTC) Received: by fxm10 with SMTP id 10so7684335fxm.14 for ; Mon, 11 Jan 2010 04:24:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=KTsx1wL319vSTJWjddqi5X6Ywob3+YvQBGrXKXFSEgo=; b=UtovfesZcjRX4PY32OzXzANe/X/fqCfvN53H0dXLH9dXpgNgys8E3GrR16AyzDoCQR ywC5RzDtuqz34H8GQY3d250sWalUu46Hn+JVBu/JP/nyHY6L7cNe7gv/VjFh9PoXls0i Sqhlhw88PgB5fIhaW9s+RNuel7kECDBZnecrw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=MPyQ4WU7ASZfsZIjieLqAS+4zp5pR20WF2I6oqKHyHjLpW2+GUPLTZRW86MgTNd4iM YZL3SPlWFnlOSXGpzuuOAppZCB9CVOt646lLOBuc3bb6c78SOnoc6+4vliv30luWxlLS 1vp6M5jVNzoaLNAMIEqpo7aEGOq5AFzHi4Gfo= MIME-Version: 1.0 Received: by 10.239.160.84 with SMTP id b20mr448139hbd.124.1263212687711; Mon, 11 Jan 2010 04:24:47 -0800 (PST) In-Reply-To: <201001110937.o0B9brKQ019619@mp.cs.niu.edu> References: <201001110937.o0B9brKQ019619@mp.cs.niu.edu> Date: Mon, 11 Jan 2010 12:24:47 +0000 Message-ID: From: krad To: Scott Bennett Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: "glabel label" 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: Mon, 11 Jan 2010 12:24:49 -0000 2010/1/11 Scott Bennett > My system currently has three external disk drives connected via USB > 2.0 > ports and will soon have another drive connected via a Firewire port. The > three already present have quite a few partitions on them, nearly all of > which > already contain file systems with lots of files in them. I would like to > use > the "glabel label" method of labeling each of these partitions, so that I > do > not always have to disconnect all but one external drive when rebooting the > system and then reconnect them one by one in order to get the proper device > files assigned to them for use with /etc/fstab entries. > However, some of these partitions contain GELI-encrypted file systems. > Can the "glabel label" sort of labeling be used with encrypted partitions? > If so, can "glabel label" be used on the encrypted partitions without > destroying the file systems or the data in them? Or will I need to > recreate > the file systems after labeling the partitions and then restore their > contents > from backups? Is there any danger to unencrypted partitions and data when > using the "glabel label" operation? > Thanks in advance for any help with this matter. > > > Scott Bennett, Comm. ASMELG, CFIAG > ********************************************************************** > * Internet: bennett at cs.niu.edu * > *--------------------------------------------------------------------* > * "A well regulated and disciplined militia, is at all times a good * > * objection to the introduction of that bane of all free governments * > * -- a standing army." * > * -- Gov. John Hancock, New York Journal, 28 January 1790 * > ********************************************************************** > _______________________________________________ > 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 unmount them and do a tunefs -L on them. Geli works a layer below the fs so should work fine. From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 12:26:31 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81F341065692 for ; Mon, 11 Jan 2010 12:26:31 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id 1736D8FC12 for ; Mon, 11 Jan 2010 12:26:30 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 19so2116602fgg.13 for ; Mon, 11 Jan 2010 04:26:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=HvxfTvDGk19Qr66aj9TkQNarLQ1ADqhvhhIXNEwzLTA=; b=kT/Am2sCjvhJqtCr7EsYEH/x6sYYhIgxTR+jAjSUxdg/o6mS8nP0EWioMzyNVTj5hm 2eIJQSej4/zcdiJZSpgBAHd2tSCn4mtCW75NwcYzfTTNeT0jD0L0+QZlHBQAzmkX8mIj WgAtjCp9+Vj2CmzAludBCTkmnyERR2JCpdU1g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=HXlVbEyDKaEWVZadrO/82HE38tsh77ObEC64gPJ6RzBJOZJiM1EnDsMHTl98TvYk/q 5Lu62B4Ggg5mane1YHa/BHj4XDJA3dSJX3pUIw8dEgqDahsWvQeRh1RG0V1z70LgkEhL ZcwQIOkruiLEAi8+/BMoI39JfpfhAhewtSAP0= MIME-Version: 1.0 Received: by 10.239.190.66 with SMTP id w2mr956026hbh.61.1263212787099; Mon, 11 Jan 2010 04:26:27 -0800 (PST) In-Reply-To: References: Date: Mon, 11 Jan 2010 12:26:26 +0000 Message-ID: From: krad To: Dan Naumov Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: a question on ZFS boot/root in 8.0-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: Mon, 11 Jan 2010 12:26:31 -0000 2010/1/11 Dan Naumov > Hello list. > > My concern is this: I really really like freebsd-update and want to > continue using it. Freebsd-update however, assumes that no part of > your base system has been compiled by hand, it's intended to be used > to update from official binaries to other official binaries. I am also > gathering (from things I've read so far) that you HAVE to build a > custom loader if you want to boot off a ZFS mirror or raidz... but > what about a non-redundant ZFS pool as system root in 8.0-RELEASE? Can > I have a full ZFS FreeBSD installation on a non-redundant ZFS pool and > have the system boot off it without having to compile anything > manually with the existing binaries provided on the 8.0 install DVD? > > - Sincerely, > Dan Naumov > _______________________________________________ > 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" > At the moment dont mix freebsd update and zfsroot. Much safer to do it from source. From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 12:32:28 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4CBA1106568B for ; Mon, 11 Jan 2010 12:32:28 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms4-1.1blu.de (ms4-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 0CFEC8FC0C for ; Mon, 11 Jan 2010 12:32:27 +0000 (UTC) Received: from [193.31.11.193] (helo=current.Sisis.de) by ms4-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1NUJRT-0000eI-UU for freebsd-questions@freebsd.org; Mon, 11 Jan 2010 13:32:22 +0100 Received: from current.Sisis.de (current [127.0.0.1]) by current.Sisis.de (8.14.3/8.14.3) with ESMTP id o0BCWJIk002322 for ; Mon, 11 Jan 2010 13:32:19 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id o0BCWJHj002321 for freebsd-questions@freebsd.org; Mon, 11 Jan 2010 13:32:19 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Mon, 11 Jan 2010 13:32:19 +0100 From: Matthias Apitz To: freebsd-questions@freebsd.org Message-ID: <20100111123219.GA2270@current.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) X-Con-Id: 51246 X-Originating-IP: 193.31.11.193 Subject: Q: recommendation for external USB disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2010 12:32:28 -0000 Hello, Can someone recommend a good external USB disk for backups which works with FreeBSD 8.0 and has more than 512 GByte? Thx in advance matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 12:35:56 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C902C1065746 for ; Mon, 11 Jan 2010 12:35:56 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 3C7388FC2A for ; Mon, 11 Jan 2010 12:35:56 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.3) with ESMTP id o0BCZoiY042970; Mon, 11 Jan 2010 12:35:51 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o0BCZoiY042970 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1263213351; bh=MtdDeYY0TjldN19QoMIjN0jFDREgwOHYamY7lbK8H40=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B4B1B1F.1010701@infracaninophile.co.uk>|Date:=20M on,=2011=20Jan=202010=2012:35:43=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20091129)|MIME-Vers ion:=201.0|To:=20David=20Southwell=20|CC:=20 freebsd-questions@freebsd.org|Subject:=20Re:=20syncache_timer:=20e rrors=3B=20What=20do=20they=20mean?|References:=20<201001111051.56 331.david@vizion2000.net>|In-Reply-To:=20<201001111051.56331.david @vizion2000.net>|X-Enigmail-Version:=200.95.6|Content-Type:=20mult ipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"appli cation/pgp-signature"=3B=0D=0A=20boundary=3D"------------enig16651 6BBCF5EB59BDA0AE750"; b=nVlZDtW8yx7D2lCB2f9eqwW7aE+vtpuUA5p7i+ugs1CiL5RIiyzjvFT0hYiEWFs7s xvNwst4e+Pk6G/USf+1fB9ke+ny7DU7T4xpvvn83HUKYe4xJQDqN6V3Io2NaRl3IUr WX124prmWzbm+8LZdXaXQdT3Zto3SRST+aya+Z1U= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B4B1B1F.1010701@infracaninophile.co.uk> Date: Mon, 11 Jan 2010 12:35:43 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20091129) MIME-Version: 1.0 To: David Southwell References: <201001111051.56331.david@vizion2000.net> In-Reply-To: <201001111051.56331.david@vizion2000.net> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig166516BBCF5EB59BDA0AE750" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: syncache_timer: errors; What do they mean? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 12:35:56 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig166516BBCF5EB59BDA0AE750 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable David Southwell wrote: > Here are some example entries in /var/log/messages (server ip address r= emoved=20 > and replaced by [xxx.xxx.xxx.xxx] : >=20 > Can anyone please tell me what thses messages mean and what action (if = any) I=20 > should be taking. > Thanks in advance for any replies > Jan 11 10:41:57 dns1 kernel: TCP: [113.53.173.247]:63584 to=20 > [xxx.xxx.xxx.xxx]:25; syncache_timer: Response timeout, retransmitting = (1)=20 > SYN|ACK > Jan 11 10:42:01 dns1 kernel: TCP: [113.53.173.247]:63429 to=20 > [xxx.xxx.xxx.xxx]:25; syncache_timer: Response timeout, retransmitting = (2)=20 > SYN|ACK > Jan 11 10:42:03 dns1 kernel: TCP: [113.53.173.247]:63584 to=20 > [xxx.xxx.xxx.xxx]:25; syncache_timer: Response timeout, retransmitting = (2)=20 > SYN|ACK > Jan 11 10:42:13 dns1 kernel: TCP: [113.53.173.247]:63429 to=20 > [xxx.xxx.xxx.xxx]:25; syncache_timer: Response timeout, retransmitting = (3)=20 > SYN|ACK > Jan 11 10:42:16 dns1 kernel: TCP: [113.53.173.247]:63584 to=20 > [xxx.xxx.xxx.xxx]:25; syncache_timer: Response timeout, retransmitting = (3)=20 > SYN|ACK >=20 What is happening is this: host 113.53.173.247 (which appears to be somewhere in Thailand) is trying to connect to port 25 on your machine. [I guess it's probably trying to spam you.] Now, the very first packet sent to establish a TCP connection is known as the 'SYN' packet -- that's because it has the Syn bit set in the=20 options bitmap. That comes from the remote system (as it is trying to connect to you.) Your machine is receiving that OK. The next step is for your machine to respond, sending a SYNACK packet back to the remote machine (Yes: you guessed it: this has both the Syn and the Ack bits set in the packet options). Your machine is sending these packets off OK, but here is where it is all going horribly wrong. Your machine never receives the 3rd packet back from the originating machine -- which is just an ACK packet -- to say it received the response= =2E So it logs the message you've seen and tries again. After a certain number of retries, it will give up on the attempted connection, clear out any allocated memory and go back to a quiescent state just listening for new incoming connections. Unless all three of these packets make it to and fro, the TCP connection has not been properly set up. This process is described as the "Three way handshake" -- unless that succeeds do data can flow across the connec= tion, so if this is an attempt to spam you, it's going to be singularly ineffec= tive. Chances are, you've run into a badly configured firewall, or a broken spam-bot, which is causing packets to disappear from the wire. It /might/= =20 possibly be an attempt to DoS you by filling up various kernel memory structures allocated to managing TCP connection state, but judging by the= time chops on the log extract you've shown, the other side would need to be sending orders of magnitude more traffic in order to beeffective. Given this is too low intensity to have much effect on your machine, you can simply do nothing and ignore the log messages: it will clear itself u= p given enough time. Otherwise, a firewall rule to drop traffic from the=20 offending source will help reduce the noise level. On the vanishingly remote chance that this really is a valid SMTP peer of= yours, you'ld need to contact them out of band and try and work out where= the traffic is being blocked and what to do about it. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig166516BBCF5EB59BDA0AE750 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.14 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEUEAREIAAYFAktLGyYACgkQ8Mjk52CukIwi2QCWNmrbXltO1GmDtpZsJN1vczaI EgCeKiwgMUZzWPj3+jqjFdfZMM9aml8= =cQtw -----END PGP SIGNATURE----- --------------enig166516BBCF5EB59BDA0AE750-- From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 12:57:35 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE191106568D for ; Mon, 11 Jan 2010 12:57:35 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (dns1.vizion2000.net [62.49.197.50]) by mx1.freebsd.org (Postfix) with ESMTP id 66A4E8FC2F for ; Mon, 11 Jan 2010 12:57:35 +0000 (UTC) Received: by dns1.vizion2000.net (Postfix, from userid 1001) id 2C6F234D449; Mon, 11 Jan 2010 12:57:32 +0000 (GMT) From: David Southwell Organization: Voice & Vision To: freebsd-questions@freebsd.org Date: Mon, 11 Jan 2010 12:57:32 +0000 User-Agent: KMail/1.12.4 (FreeBSD/7.2-RELEASE-p3; KDE/4.3.4; amd64; ; ) References: <201001111051.56331.david@vizion2000.net> <4B4B1B1F.1010701@infracaninophile.co.uk> In-Reply-To: <4B4B1B1F.1010701@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message-Id: <201001111257.32096.david@vizion2000.net> Cc: Subject: Re: syncache_timer: errors; What do they mean? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 12:57:35 -0000 > David Southwell wrote: > > Here are some example entries in /var/log/messages (server ip address > > removed and replaced by [xxx.xxx.xxx.xxx] : > > > > Can anyone please tell me what thses messages mean and what action (if > > any) I should be taking. > > Thanks in advance for any replies > > Jan 11 10:41:57 dns1 kernel: TCP: [113.53.173.247]:63584 to > > [xxx.xxx.xxx.xxx]:25; syncache_timer: Response timeout, retransmitting > > (1) SYN|ACK > > Jan 11 10:42:01 dns1 kernel: TCP: [113.53.173.247]:63429 to > > [xxx.xxx.xxx.xxx]:25; syncache_timer: Response timeout, retransmitting > > (2) SYN|ACK > > Jan 11 10:42:03 dns1 kernel: TCP: [113.53.173.247]:63584 to > > [xxx.xxx.xxx.xxx]:25; syncache_timer: Response timeout, retransmitting > > (2) SYN|ACK > > Jan 11 10:42:13 dns1 kernel: TCP: [113.53.173.247]:63429 to > > [xxx.xxx.xxx.xxx]:25; syncache_timer: Response timeout, retransmitting > > (3) SYN|ACK > > Jan 11 10:42:16 dns1 kernel: TCP: [113.53.173.247]:63584 to > > [xxx.xxx.xxx.xxx]:25; syncache_timer: Response timeout, retransmitting > > (3) SYN|ACK >=20 > What is happening is this: host 113.53.173.247 (which appears to be > somewhere in Thailand) is trying to connect to port 25 on your machine. > [I guess it's probably trying to spam you.] >=20 > Now, the very first packet sent to establish a TCP connection is known > as the 'SYN' packet -- that's because it has the Syn bit set in the > options bitmap. That comes from the remote system (as it is trying to > connect to you.) Your machine is receiving that OK. >=20 > The next step is for your machine to respond, sending a SYNACK packet > back to the remote machine (Yes: you guessed it: this has both the Syn > and the Ack bits set in the packet options). Your machine is sending > these packets off OK, but here is where it is all going horribly wrong. >=20 > Your machine never receives the 3rd packet back from the originating > machine -- which is just an ACK packet -- to say it received the response. > So it logs the message you've seen and tries again. After a certain > number of retries, it will give up on the attempted connection, clear > out any allocated memory and go back to a quiescent state just listening > for new incoming connections. >=20 > Unless all three of these packets make it to and fro, the TCP connection > has not been properly set up. This process is described as the "Three > way handshake" -- unless that succeeds do data can flow across the > connection, so if this is an attempt to spam you, it's going to be > singularly ineffective. >=20 > Chances are, you've run into a badly configured firewall, or a broken > spam-bot, which is causing packets to disappear from the wire. It /might/ > possibly be an attempt to DoS you by filling up various kernel memory > structures allocated to managing TCP connection state, but judging by the > time chops on the log extract you've shown, the other side would need to > be sending orders of magnitude more traffic in order to beeffective. >=20 > Given this is too low intensity to have much effect on your machine, you > can simply do nothing and ignore the log messages: it will clear itself up > given enough time. Otherwise, a firewall rule to drop traffic from the > offending source will help reduce the noise level. >=20 > On the vanishingly remote chance that this really is a valid SMTP peer of > yours, you'ld need to contact them out of band and try and work out where > the traffic is being blocked and what to do about it. >=20 > Cheers, >=20 > Matthew Thanks Mathew -- very well described..even I can understand it I did not mention I am running freebsd 7.2 p3. I use sshguard and denyhosts= =20 and blackhole. I have the: sshd : PARANOID : deny set in /etc/hosts.allow and wonder if the above combination could somehow be connected with the=20 messages. I get some interesting messages sequences like this: Jan 11 12:40:09 dns1 kernel: TCP: [200.199.44.147]:22093 to=20 [xxx.xxx.xxx.xxx]:139 tcpflags 0x18; tcp_do_segment: FIN_WAIT_1:= =20 Received 76 bytes of data after socket was closed, sending RST and removing= =20 tcpcb Jan 11 12:40:11 dns1 kernel: TCP: [200.199.44.147]:22093 to=20 [xxx.xxx.xxx.xxx]:139 tcpflags 0x10; syncache_expand: Segment failed=20 SYNCOOKIE authentication, segment rejected (probably spoofed) Jan 11 12:40:11 dns1 kernel: TCP: [200.199.44.147]:22093 to=20 [xxx.xxx.xxx.xxx]:139 tcpflags 0x4; syncache_chkrst: Spurious RST with= out=20 matching syncache entry (possibly syncookie only), segment ignored Jan 11 12:40:14 dns1 kernel: TCP: [200.199.44.147]:22229 to=20 [xxx.xxx.xxx.xxx]:445 tcpflags 0x2; tcp_input: Connection attempt to=20 closed port =46rom what are clear spoofing "initiatives" Thanks again David From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 13:02:04 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B535F1065679 for ; Mon, 11 Jan 2010 13:02:04 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id DA42C8FC1B for ; Mon, 11 Jan 2010 13:02:03 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.3) with ESMTP id o0BD1wsj043321; Mon, 11 Jan 2010 13:01:59 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o0BD1wsj043321 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1263214919; bh=8QJxVdFX10l9IZlrHsc2OCNQYkGQeZuVIdMtKUA6vno=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B4B2140.5020202@infracaninophile.co.uk>|Date:=20M on,=2011=20Jan=202010=2013:01:52=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20091129)|MIME-Vers ion:=201.0|To:=20nightrecon@hotmail.com|CC:=20freebsd-questions@fr eebsd.org|Subject:=20Re:=20Converting=20i386=20to=20amd64|Referenc es:=20|In-Reply-To:=20|X-Enigmail-Version:=200.95.6|Content-Type:=20multipar t/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"applicati on/pgp-signature"=3B=0D=0A=20boundary=3D"------------enig78525F145 935713F58380BA7"; b=wNZuC2mchjad9OIfzwhiygiBnruiG5GKns7nvOKKZ7liag3U0WHllq4e+dMVb0LBI BsLdCpezMJGRyYEysfF/FX3j8uBMmadOnphEvbfqe43G5sRNKG+8O0M/tE+lXo0ubT baSiR/REH6DqR7AYhr2VoKRRQE+VDi+MxFcfW7fQ= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B4B2140.5020202@infracaninophile.co.uk> Date: Mon, 11 Jan 2010 13:01:52 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20091129) MIME-Version: 1.0 To: nightrecon@hotmail.com References: In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig78525F145935713F58380BA7" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Converting i386 to amd64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2010 13:02:04 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig78525F145935713F58380BA7 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Michael Powell wrote: > Greetings everyone: >=20 > This is probably a pretty dumb question, but it's never really come up = for=20 > me before. I am at a crossroads with regard to some hardware upgrades, = and=20 > for a couple of them I have been putting off making the change to 64 bi= t.=20 > These are server boxen with no concerns for desktop use. >=20 > Is it possible to change an i386 install to amd64 without needing to st= art=20 > from scratch? I was poking around reading some stuff, and ran across th= is in=20 > in /usr/src/Makefile: >=20 > # If TARGET=3Dmachine (e.g. ia64, sparc64, ...) is specified you can > # cross build world for other machine types using the buildworld target= , > # and once the world is built you can cross build a kernel using the > # buildkernel target. >=20 > Does this mean I can achieve the desired effect with "make buildworld=20 > TARGET=3Damd64", et al? It would be a tremendous time-saver for me. >=20 > Of course I would follow with a portupgrade -fa and rebuild all ports=20 > afterward. >=20 > Thanks in advance for the wielding of any clue sticks. :-) This sort of process /is/ possible, but it is a lot more involved than you're anticipating. Unless you're the sort of person that likes doing terribly complicated and risky procedures for the hell of it, you are=20 going to be better off just starting from scratch and reinstalling using an AMD64 .iso. It's going to be quicker to reinstall anyhow. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig78525F145935713F58380BA7 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.14 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAktLIUYACgkQ8Mjk52CukIzcGQCeJyjdbtfxEUWb9fTZNL0UDhfU k74AoII+RQPeP0USBEdZQhQG5OUPs7uN =RfrD -----END PGP SIGNATURE----- --------------enig78525F145935713F58380BA7-- From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 14:01:10 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6A75106566B for ; Mon, 11 Jan 2010 14:01:10 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 665EC8FC18 for ; Mon, 11 Jan 2010 14:01:10 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NUKpO-0005Sb-5j for freebsd-questions@freebsd.org; Mon, 11 Jan 2010 14:01:09 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NUKpN-0003eT-K7 for freebsd-questions@freebsd.org; Mon, 11 Jan 2010 14:01:05 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id o0BE15fm061427 for ; Mon, 11 Jan 2010 14:01:05 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id o0BE15pL061426 for freebsd-questions@freebsd.org; Mon, 11 Jan 2010 14:01:05 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Mon, 11 Jan 2010 14:01:05 +0000 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20100111140105.GI61025@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -1.5 X-Spam-Level: - Subject: denying spam hosts ssh access - good idea? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 14:01:10 -0000 I'm thinking of denying ssh access to host from which I get brute force ssh attacks. HOwever, I see in /etc/hosts.allow: # Wrapping sshd(8) is not normally a good idea, but if you # need to do it, here's how #sshd : .evil.cracker.example.com : deny Why is it not a good idea? Also, apparently in older ssh there was DenyHosts option, but no longer in the current version. Is there a replacement for DenyHOsts? Or is there a good reason for such option not to be used? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 14:08:47 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F58F106566C for ; Mon, 11 Jan 2010 14:08:47 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (dns1.vizion2000.net [62.49.197.50]) by mx1.freebsd.org (Postfix) with ESMTP id B7F548FC0A for ; Mon, 11 Jan 2010 14:08:46 +0000 (UTC) Received: by dns1.vizion2000.net (Postfix, from userid 1001) id 6A5F934D449; Mon, 11 Jan 2010 14:08:43 +0000 (GMT) From: David Southwell Organization: Voice & Vision To: freebsd-questions@freebsd.org Date: Mon, 11 Jan 2010 14:08:43 +0000 User-Agent: KMail/1.12.4 (FreeBSD/7.2-RELEASE-p3; KDE/4.3.4; amd64; ; ) References: <20100111140105.GI61025@mech-cluster241.men.bris.ac.uk> In-Reply-To: <20100111140105.GI61025@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201001111408.43361.david@vizion2000.net> Cc: Anton Shterenlikht Subject: Re: denying spam hosts ssh access - good idea? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 14:08:47 -0000 > I'm thinking of denying ssh access to host from which > I get brute force ssh attacks. > > HOwever, I see in /etc/hosts.allow: > > # Wrapping sshd(8) is not normally a good idea, but if you > # need to do it, here's how > #sshd : .evil.cracker.example.com : deny > > Why is it not a good idea? > > Also, apparently in older ssh there was DenyHosts option, > but no longer in the current version. > Is there a replacement for DenyHOsts? > Or is there a good reason for such option not to be used? > > many thanks > anton > I use denyhosts ( /usr/ports/security/denyhosts ) works well for me. I also use blackhole and sshguard david From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 14:14:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93177106568D for ; Mon, 11 Jan 2010 14:14:39 +0000 (UTC) (envelope-from samankaya@netscape.net) Received: from imr-da06.mx.aol.com (imr-da06.mx.aol.com [205.188.169.203]) by mx1.freebsd.org (Postfix) with ESMTP id 54DA18FC13 for ; Mon, 11 Jan 2010 14:14:39 +0000 (UTC) Received: from imo-da01.mx.aol.com (imo-da01.mx.aol.com [205.188.169.199]) by imr-da06.mx.aol.com (8.14.1/8.14.1) with ESMTP id o0BEE5Ra030313; Mon, 11 Jan 2010 09:14:06 -0500 Received: from samankaya@netscape.net by imo-da01.mx.aol.com (mail_out_v42.5.) id z.d32.6c3a6364 (37096); Mon, 11 Jan 2010 09:13:59 -0500 (EST) Received: from [172.16.1.52] (mail.reformkurumsal.com [212.156.209.87]) by cia-db07.mx.aol.com (v127.7) with ESMTP id MAILCIADB076-90e84b4b32243e5; Mon, 11 Jan 2010 09:13:59 -0500 Message-ID: <4B4B3223.2070204@netscape.net> Date: Mon, 11 Jan 2010 16:13:55 +0200 From: Kaya Saman User-Agent: Thunderbird 2.0.0.21 (X11/20090323) MIME-Version: 1.0 To: David Southwell References: <20100111140105.GI61025@mech-cluster241.men.bris.ac.uk> <201001111408.43361.david@vizion2000.net> In-Reply-To: <201001111408.43361.david@vizion2000.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AOL-IP: 212.156.209.87 X-Mailer: Unknown (No Version) X-Spam-Flag: NO X-AOL-SENDER: samankaya@netscape.net Cc: mexas@bristol.ac.uk, freebsd-questions@freebsd.org Subject: Re: denying spam hosts ssh access - good idea? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 14:14:39 -0000 David Southwell wrote: >> I'm thinking of denying ssh access to host from which >> I get brute force ssh attacks. >> >> HOwever, I see in /etc/hosts.allow: >> >> # Wrapping sshd(8) is not normally a good idea, but if you >> # need to do it, here's how >> #sshd : .evil.cracker.example.com : deny >> >> Why is it not a good idea? >> >> Also, apparently in older ssh there was DenyHosts option, >> but no longer in the current version. >> Is there a replacement for DenyHOsts? >> Or is there a good reason for such option not to be used? >> >> many thanks >> anton >> >> > I use denyhosts ( /usr/ports/security/denyhosts ) works well for me. I also > use blackhole and sshguard > > 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" > Take a look at fail2ban: http://www.fail2ban.org/ This hooks in IPtables and really does a nice job of preventing DoS attacks from not just SSH but many other ports and protocols too. Regards, Kaya From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 14:26:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CD14106566B for ; Mon, 11 Jan 2010 14:26:14 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id 12F3E8FC14 for ; Mon, 11 Jan 2010 14:26:13 +0000 (UTC) Received: by pwi15 with SMTP id 15so1538085pwi.3 for ; Mon, 11 Jan 2010 06:26:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=H9YBdzGeOBHruAg3KX12CWp9JsQR8J4aXiLSoNL9cE8=; b=A4k7Y3K6GsyUqdKi3Vb6QPBerSPq3S/b5w1d0rUwrMrU/l5CV0LpRicK0G5/jBUt1v Op5FzqjHx0a4dNZXfz+ePafJ28c5RxFqwSDHiBhh9KtmUPBTczKj0IQ3vOYfH3IuO6Lb fti9I+EaesNagKmRDO+H9zaCG5DG9dN8YoDDY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Et0EHdk7oWc0vyyL6JERpCSLy4xx1iX1AbBXnPDUEnUOKzgeT9wwfHPvGNjpF4J721 ++ILpNxOgbtSy2IpvTorNPiYWScFVnIK93h/kH0WXMfskc1Xk/IYzz9les8YDMuax8av qKcEBeQtPASMmBfb4sK/ZzJ84kmsP+1H3zuHI= MIME-Version: 1.0 Received: by 10.114.6.8 with SMTP id 8mr1559067waf.73.1263219485004; Mon, 11 Jan 2010 06:18:05 -0800 (PST) In-Reply-To: <201001111408.43361.david@vizion2000.net> References: <20100111140105.GI61025@mech-cluster241.men.bris.ac.uk> <201001111408.43361.david@vizion2000.net> Date: Mon, 11 Jan 2010 07:18:04 -0700 Message-ID: From: Tim Judd To: David Southwell Content-Type: text/plain; charset=ISO-8859-1 Cc: Anton Shterenlikht , freebsd-questions@freebsd.org Subject: Re: denying spam hosts ssh access - good idea? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 14:26:14 -0000 On 1/11/10, David Southwell wrote: >> I'm thinking of denying ssh access to host from which >> I get brute force ssh attacks. >> >> HOwever, I see in /etc/hosts.allow: >> >> # Wrapping sshd(8) is not normally a good idea, but if you >> # need to do it, here's how >> #sshd : .evil.cracker.example.com : deny >> >> Why is it not a good idea? >> >> Also, apparently in older ssh there was DenyHosts option, >> but no longer in the current version. >> Is there a replacement for DenyHOsts? >> Or is there a good reason for such option not to be used? >> >> many thanks >> anton >> > I use denyhosts ( /usr/ports/security/denyhosts ) works well for me. I also > use blackhole and sshguard > > david I've been meaning to check this out. My firewall ssh rules are very strict, in fact, if the remote IP is "unknown" meaning, I don't know where the heck it's coming from, it's blocked. It's easier to say it this way: I allow ssh connections from IPs I know, preferably static IPs. Given that there are more than one general blacklists out there that list unwanted behavior, and that we have ports that make use of these lists, I wonder if we can use a list (in this case, for spam) effective for blocking ssh connections. This means: install spamd setup pf (requirement for spamd, it is built by OpenBSD after all) in the pf rules, block *ANYTHING* coming from the blacklisted IPs I don't know how effective it is, but since the spamd blacklist IPs are hosted on what seems to be only one server/server farm, I am also looking for any way I can provide a mirror (even if it's slightly outdated) of this data. --Tim From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 14:53:56 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D35C1065670 for ; Mon, 11 Jan 2010 14:53:56 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id DCF5E8FC17 for ; Mon, 11 Jan 2010 14:53:55 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NULeO-0003sq-Qu; Mon, 11 Jan 2010 14:53:54 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NULeN-0005hZ-Cx; Mon, 11 Jan 2010 14:53:48 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id o0BErl1i061524; Mon, 11 Jan 2010 14:53:47 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id o0BErkVm061523; Mon, 11 Jan 2010 14:53:46 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Mon, 11 Jan 2010 14:53:46 +0000 From: Anton Shterenlikht To: Tim Judd Message-ID: <20100111145346.GK61025@mech-cluster241.men.bris.ac.uk> References: <20100111140105.GI61025@mech-cluster241.men.bris.ac.uk> <201001111408.43361.david@vizion2000.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -1.5 X-Spam-Level: - Cc: Anton Shterenlikht , David Southwell , freebsd-questions@freebsd.org Subject: Re: denying spam hosts ssh access - good idea? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 14:53:56 -0000 On Mon, Jan 11, 2010 at 07:18:04AM -0700, Tim Judd wrote: > On 1/11/10, David Southwell wrote: > >> I'm thinking of denying ssh access to host from which > >> I get brute force ssh attacks. > >> > >> HOwever, I see in /etc/hosts.allow: > >> > >> # Wrapping sshd(8) is not normally a good idea, but if you > >> # need to do it, here's how > >> #sshd : .evil.cracker.example.com : deny > >> > >> Why is it not a good idea? > >> > >> Also, apparently in older ssh there was DenyHosts option, > >> but no longer in the current version. > >> Is there a replacement for DenyHOsts? > >> Or is there a good reason for such option not to be used? > >> > >> many thanks > >> anton > >> > > I use denyhosts ( /usr/ports/security/denyhosts ) works well for me. I also > > use blackhole and sshguard > > > > david > > > I've been meaning to check this out. My firewall ssh rules are very > strict, in fact, if the remote IP is "unknown" meaning, I don't know > where the heck it's coming from, it's blocked. It's easier to say it > this way: I allow ssh connections from IPs I know, preferably static > IPs. > > Given that there are more than one general blacklists out there that > list unwanted behavior, and that we have ports that make use of these > lists, I wonder if we can use a list (in this case, for spam) > effective for blocking ssh connections. This means: > install spamd > setup pf (requirement for spamd, it is built by OpenBSD after all) > in the pf rules, block *ANYTHING* coming from the blacklisted IPs > > > I don't know how effective it is, but since the spamd blacklist IPs > are hosted on what seems to be only one server/server farm, I am also > looking for any way I can provide a mirror (even if it's slightly > outdated) of this data. I'm very grateful for all advice, but I'm still unsure why denying ssh access to a particular host via /etc/hosts.allow is a bad idea. many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 15:04:23 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6689106566C for ; Mon, 11 Jan 2010 15:04:23 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 216078FC1D for ; Mon, 11 Jan 2010 15:04:22 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.3) with ESMTP id o0BF40CX044645; Mon, 11 Jan 2010 15:04:01 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o0BF40CX044645 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1263222241; bh=8Hw88/9ymi0PqK10mx2RWdobR3xHW8MiiAjnoZjjUqU=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B4B3DDA.5010909@infracaninophile.co.uk>|Date:=20M on,=2011=20Jan=202010=2015:03:54=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20091129)|MIME-Vers ion:=201.0|To:=20Tim=20Judd=20|CC:=20David=20Sou thwell=20,=20=0D=0A=20Anton=20Shterenlikht=2 0,=0D=0A=20freebsd-questions@freebsd.org|Subj ect:=20Re:=20denying=20spam=20hosts=20ssh=20access=20-=20good=20id ea?|References:=20<20100111140105.GI61025@mech-cluster241.men.bris .ac.uk>=09<201001111408.43361.david@vizion2000.net>=20|In-Reply-To:=20< ade45ae91001110618w76abd4cdrf95470712aabefac@mail.gmail.com>|X-Eni gmail-Version:=200.95.6|Content-Type:=20multipart/signed=3B=20mica lg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"application/pgp-signature"= 3B=0D=0A=20boundary=3D"------------enig9D71B71305BA80A233F828DA"; b=fdxGxKvXFLp2gTd0ia5sDxumsc7ED5yHexdeF1OE2+JVHLDY1XJzZC8vjF5WdojVx rMPAF9rB15QhkSoUOJHD6zdcNxvILf4aT231uHAR1IPv3VIBv5STVfOUrKJK4Ge8gv APV9d3NRnPZCEXkfVGvsZ7bJQaq1NcsKeLzIPCkg= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B4B3DDA.5010909@infracaninophile.co.uk> Date: Mon, 11 Jan 2010 15:03:54 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20091129) MIME-Version: 1.0 To: Tim Judd References: <20100111140105.GI61025@mech-cluster241.men.bris.ac.uk> <201001111408.43361.david@vizion2000.net> In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig9D71B71305BA80A233F828DA" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: Anton Shterenlikht , David Southwell , freebsd-questions@freebsd.org Subject: Re: denying spam hosts ssh access - good idea? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 15:04:23 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9D71B71305BA80A233F828DA Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Tim Judd wrote: > I've been meaning to check this out. My firewall ssh rules are very > strict, in fact, if the remote IP is "unknown" meaning, I don't know > where the heck it's coming from, it's blocked. It's easier to say it > this way: I allow ssh connections from IPs I know, preferably static > IPs. >=20 > Given that there are more than one general blacklists out there that > list unwanted behavior, and that we have ports that make use of these > lists, I wonder if we can use a list (in this case, for spam) > effective for blocking ssh connections. This means: > install spamd > setup pf (requirement for spamd, it is built by OpenBSD after all) > in the pf rules, block *ANYTHING* coming from the blacklisted IPs >=20 >=20 > I don't know how effective it is, but since the spamd blacklist IPs > are hosted on what seems to be only one server/server farm, I am also > looking for any way I can provide a mirror (even if it's slightly > outdated) of this data. Sure you can do this -- you don't even need to install spamd(8) to do it. If all you're going to do is use the uatraps and nixspam lists to block all traffic to your server, then you can just create a table in pf, and load the list of addresses from those lists into it. You may need some very small shell scripts to strip out anything other than IP numbers from the lists (if you use the original sources for the Nixspam stuff from heise.de), and then print out the list of addresses into a=20 file, one per line. You can load that file into a PF table very easily: table persist file "/var/db/blacklisted.txt" and use it to block any traffic: block log in quick on $ext_if from to any Then whenever you update your blacklisted.txt file, just run: # pfctl -t blacklisted -T replace -f /var/db/blacklisted.txt As you say, the places where you can download those lists are few and far between, plus they're not particularly comprehensive. There are bigger and better spam blocklists out there, but those are generally served as DNS rbls which aren't feasible for hooking into PF configs. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig9D71B71305BA80A233F828DA 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.14 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAktLPeAACgkQ8Mjk52CukIylkwCfV2Br775n37xk4gYgCj4eGFBJ VBEAn2c4VoQSIJULvr+icBkoAXPJiUF+ =/Ln/ -----END PGP SIGNATURE----- --------------enig9D71B71305BA80A233F828DA-- From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 15:11:01 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8886106568B for ; Mon, 11 Jan 2010 15:11:01 +0000 (UTC) (envelope-from shihang0506@gmail.com) Received: from mail-pz0-f202.google.com (mail-pz0-f202.google.com [209.85.222.202]) by mx1.freebsd.org (Postfix) with ESMTP id 9EB8B8FC15 for ; Mon, 11 Jan 2010 15:11:01 +0000 (UTC) Received: by pzk40 with SMTP id 40so502708pzk.7 for ; Mon, 11 Jan 2010 07:10:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=V0qTmj+QzuhuoevPgt1Zn8iPcaKMDcbChcp9IO8n+JQ=; b=PMxZDDOzXDztFKVPqlzg+EF0ua/sR1F6Pqsj09k3OUI8jLBQT4tRdJffKpUdNQjaOW juiStUjk2qJAXsC6RgppR2MBDZlyhCY8dV4B21yGaZ0qt8CuiNXc8FznTvWPAwVE+FR4 0qgxFe2PcP9Y0Is7h4j1DoofKyF8pU4ftUaxQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=eY6bs8/0cT3Z3vvSGOW4ZvCQWjUUZKaDesqq2UxwGZmgQx4eS+LlAMnqJc+zdiYuMG rDPs3hkzQWEtAeRZqajjl97syuEJOc9rVyj0jUBbEN/7giXQCcWIpW1Uu22ryhc0xAQY DBJ/hZB2jtYIlokUiwc2J/8OiGyrdEhnrf4OA= MIME-Version: 1.0 Sender: shihang0506@gmail.com Received: by 10.142.7.11 with SMTP id 11mr2728327wfg.140.1263222652367; Mon, 11 Jan 2010 07:10:52 -0800 (PST) Date: Mon, 11 Jan 2010 23:10:52 +0800 X-Google-Sender-Auth: d6e8ce7ee86c7505 Message-ID: From: Paul Shi To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Setup of Router machine 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: Mon, 11 Jan 2010 15:11:01 -0000 Dear All, I have tried to setup a wireless network consist of a server, AP, a router machine and wireless client. Here is setup and configuration of my design. Please correct me if I am wrong about anything. Server IP: 192.168.2.1, Gateway: 192.168.2.2, Netmask: 255.255.255.0 --------------------------------------------------------------------------------------------- IP: 192.168.2.2, Netmask: 255.255.255.0 Router IP: 192.168.1.1, Netmask: 255.255.255.0 --------------------------------------------------------------------------------------------- IP:192.168.1.2, Gateway: 192.168.1.1, Netmask: 255.255.255.0 Access Point --------------------------------------------------------------------------------------------- IP: 192.168.1.3, Netmask: 255.255.255.0 Client I have add following to /etc/rc.conf of server machine static_routes="serverinternal" routes_serverinternal="'-net 192.168.2.1/24 192.168.2.2" and following to /etc/rc.conf of router machine static_routes="internal" routes_internal="'-net 192.168.2.2/24 192.168.1.1" Is there anything I have done wrong? Or anything else I need to do. My problem now is I cannot connect from server to router machine. Any suggestion would be greatly appreciated! Your sincerely, Paul Shi Electronic and Communication Engineering Senior Department of Electrical and Electronic Engineering University of Hong Kong From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 15:25:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F24D7106566B for ; Mon, 11 Jan 2010 15:25:54 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 1EA588FC0C for ; Mon, 11 Jan 2010 15:25:53 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.3) with ESMTP id o0BFPBji044970; Mon, 11 Jan 2010 15:25:11 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o0BFPBji044970 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1263223511; bh=H5hRoWSOAaVg7JB3+XOMYGEP614SABxohvOZdsu2s24=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B4B42D0.9070101@infracaninophile.co.uk>|Date:=20M on,=2011=20Jan=202010=2015:25:04=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20091129)|MIME-Vers ion:=201.0|To:=20Anton=20Shterenlikht=20|CC:= 20freebsd-questions@freebsd.org|Subject:=20Re:=20denying=20spam=20 hosts=20ssh=20access=20-=20good=20idea?|References:=20<20100111140 105.GI61025@mech-cluster241.men.bris.ac.uk>|In-Reply-To:=20<201001 11140105.GI61025@mech-cluster241.men.bris.ac.uk>|X-Enigmail-Versio n:=200.95.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha 256=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A=20b oundary=3D"------------enig4EB8A6869B9CFAD1ADF4B205"; b=gTsj9wWGuKXU1b2E7jNtBHXM36QClXQgduIsNFx8B0pi4h/YjOzlvE1I/62DxIjhK dNkZbqYGDGda4kUuI+1G63Ox52jl6Fm9CZXHaAOl5w/DRxZwN7iyGBmuE5W24iEgxv E3PYh/XBtUxTmz3TrHmgS54Vq+AFGKJxC4LSwanA= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B4B42D0.9070101@infracaninophile.co.uk> Date: Mon, 11 Jan 2010 15:25:04 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20091129) MIME-Version: 1.0 To: Anton Shterenlikht References: <20100111140105.GI61025@mech-cluster241.men.bris.ac.uk> In-Reply-To: <20100111140105.GI61025@mech-cluster241.men.bris.ac.uk> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig4EB8A6869B9CFAD1ADF4B205" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: denying spam hosts ssh access - good idea? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 15:25:55 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4EB8A6869B9CFAD1ADF4B205 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Anton Shterenlikht wrote: > I'm thinking of denying ssh access to host from which > I get brute force ssh attacks. >=20 > HOwever, I see in /etc/hosts.allow: >=20 > # Wrapping sshd(8) is not normally a good idea, but if you > # need to do it, here's how > #sshd : .evil.cracker.example.com : deny >=20 > Why is it not a good idea? Probably because ssh is likely to be the only method of login access you have to a remote server, and hosts.allow could conceivably be spoofed= into blocking your legitimate access? In any case, hosts.allow is a poo= r relation to using a real firewall -- it has no access to the lower leve= l bits of the networking code, so has to allow a full tcp connection setup befor= e it can block anything. Some daemons allow quite a lot of interaction with t= he remote site when using hosts.allow functionality -- eg. sendmail will apparently go through all of the stages of accepting an incoming e-mail f= rom a denied host, right up to the 'MAIL FROM...' section of the SMTP transac= tion where it will respond with a 500 permanent failure error code. [admitted= ly=20 this does have the benefit that the other side will then immediately give= up=20 trying to send the message if it's playing by the RFC rules. (Most spam-b= ots=20 don't, of course.) Otherwise, you'ld get the remote side retrying the me= ssage=20 several times an hour over the next 5 days before it timed out and gave u= p. > Also, apparently in older ssh there was DenyHosts option, > but no longer in the current version. > Is there a replacement for DenyHOsts? > Or is there a good reason for such option not to be used? I believe you can do something like this: match address 192.168.23.0/24,172.16.0.0/16 ForceCommand /usr/sbin/nologin but this is not foolproof, as it is run via the users' login shell and a sufficiently cunning person can arrange for all sorts of interestin= g things to happen from their shell initialization files... Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig4EB8A6869B9CFAD1ADF4B205 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.14 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAktLQtYACgkQ8Mjk52CukIwtfwCfTn2hvHQST3hiUmskvrpwAcG9 +R4AnRLqHVUgG8H2j1bAU1Oromv6tKvq =Qi7V -----END PGP SIGNATURE----- --------------enig4EB8A6869B9CFAD1ADF4B205-- From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 15:44:43 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A3801065679 for ; Mon, 11 Jan 2010 15:44:43 +0000 (UTC) (envelope-from nvidican@envieweb.net) Received: from gateway08.websitewelcome.com (gateway08.websitewelcome.com [67.18.34.19]) by mx1.freebsd.org (Postfix) with SMTP id 19DFE8FC23 for ; Mon, 11 Jan 2010 15:44:42 +0000 (UTC) Received: (qmail 8716 invoked from network); 11 Jan 2010 16:02:51 -0000 Received: from armada.websitewelcome.com (74.52.142.66) by gateway08.websitewelcome.com with SMTP; 11 Jan 2010 16:02:51 -0000 Received: from localhost ([127.0.0.1]:36356) by armada.websitewelcome.com with esmtpa (Exim 4.69) (envelope-from ) id 1NUMRc-0007Hs-O7; Mon, 11 Jan 2010 09:44:40 -0600 Received: from 19.1.212.137 (19.1.212.137 [19.1.212.137]) by www.envieweb.net (Horde MIME library) with HTTP; Mon, 11 Jan 2010 10:44:40 -0500 Message-ID: <20100111104440.2vc6xxvc0k8oc80g@www.envieweb.net> Date: Mon, 11 Jan 2010 10:44:40 -0500 From: nvidican@envieweb.net To: Paul Shi References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.6) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - armada.websitewelcome.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - envieweb.net Cc: freebsd-questions@freebsd.org Subject: Re: Setup of Router machine 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: Mon, 11 Jan 2010 15:44:43 -0000 Quoting Paul Shi : > Dear All, > > I have tried to setup a wireless network consist of a server, AP, a router > machine and wireless client. Here is setup and configuration of my design. > Please correct me if I am wrong about anything. > > Server > IP: 192.168.2.1, Gateway: 192.168.2.2, Netmask: 255.255.255.0 > --------------------------------------------------------------------------= ------------------- > IP: 192.168.2.2, Netmask: 255.255.255.0 > Router > IP: 192.168.1.1, Netmask: 255.255.255.0 > --------------------------------------------------------------------------= ------------------- > IP:192.168.1.2, Gateway: 192.168.1.1, Netmask: 255.255.255.0 > Access Point > --------------------------------------------------------------------------= ------------------- > IP: 192.168.1.3, Netmask: 255.255.255.0 > Client > > I have add following to /etc/rc.conf of server machine > > static_routes=3D"serverinternal" > routes_serverinternal=3D"'-net 192.168.2.1/24 192.168.2.2" > > and following to /etc/rc.conf of router machine > > static_routes=3D"internal" > routes_internal=3D"'-net 192.168.2.2/24 192.168.1.1" > > Is there anything I have done wrong? Or anything else I need to do. My > problem now is I cannot connect from server to router machine. Any > suggestion would be greatly appreciated! > > Your sincerely, > Paul Shi > Electronic and Communication Engineering Senior > Department of Electrical and Electronic Engineering > University of Hong Kong > _______________________________________________ > 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" > Paul, It seems to me your problem is in your route configuration. =20 "192.168.2.1/24" is incorrect, /24 indicates the bitmask; the network =20 address should be correctly written as "192.168.2.0/24" instead =20 indicating a network address of '192.168.2.0' with a network of 254 =20 usable IP addresses in the same subnet. You'll thus only have to have ONE route entry for the whole network, =20 not one per IP (unless that is your intention -in which case the =20 '-net' syntax is incorrectly being used). So long as routing is turned =20 on (man sysctl), simply pointing the server to the router and the =20 client to the router to connect to each other should work. Try doing =20 the commands from the console first to get it all working, then worry =20 about putting in the startup configs on boot-up. Given your example, I'd login to 'server' and run: route add 192.168.1.0/24 192.168.2.2 (if the router is the ONLY router from the server, use this instead): route add 0.0.0.0 192.168.2.2 Then, from the client, add: route add 192.168.2.0/24 192.168.1.1 The gateway/router box itself does not need any routing setup =20 internally; you don't need/shouldn't be setting any routes given that =20 192.168.2.2, and 192.168.1.2 are hosts on the two networks for which =20 you want to allow routes. They key is in getting the clients to both =20 use the same gateway, (as accessible from the network they are =20 respectfully on). This may be a little more clearly depicted below: Host A (192.168.2.1) <--> Router (192.168.2.2) (192.168.1.1) <--> Host =20 B (192.168.1.3) Host A: - needs to know to use '192.168.2.2' as it's gateway to 192.168.1.0/24 - may just use 192.168.2.2 as it's default gateway to ANY network Host B: - needs to know to use '192.168.1.1' as it's gateway to 192.168.2.0/24 - similarly, may just use '192.168.1.1' as it's default gateway to =20 ANY as well Assuming you're connecting the internet at some point to the gateway =20 (router) machine, a decent firewall filter and NAT will most likely be =20 required as well. Read up in the handbook a bit on the subject or feel =20 free to come back for more info if needed. Hope this helps. -- Nathan Vidican nathan@vidican.com From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 15:59:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2BA21065676 for ; Mon, 11 Jan 2010 15:59:55 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 6FA8D8FC1C for ; Mon, 11 Jan 2010 15:59:55 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NUMgJ-0006kx-CH; Mon, 11 Jan 2010 15:59:54 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NUMgI-0000aB-9J; Mon, 11 Jan 2010 15:59:50 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id o0BFxoQZ061873; Mon, 11 Jan 2010 15:59:50 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id o0BFxnHn061872; Mon, 11 Jan 2010 15:59:49 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Mon, 11 Jan 2010 15:59:49 +0000 From: Anton Shterenlikht To: Matthew Seaman Message-ID: <20100111155949.GA61863@mech-cluster241.men.bris.ac.uk> References: <20100111140105.GI61025@mech-cluster241.men.bris.ac.uk> <4B4B42D0.9070101@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B4B42D0.9070101@infracaninophile.co.uk> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -1.5 X-Spam-Level: - Cc: Anton Shterenlikht , freebsd-questions@freebsd.org Subject: Re: denying spam hosts ssh access - good idea? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 15:59:55 -0000 On Mon, Jan 11, 2010 at 03:25:04PM +0000, Matthew Seaman wrote: > Anton Shterenlikht wrote: > > I'm thinking of denying ssh access to host from which > > I get brute force ssh attacks. > > > > HOwever, I see in /etc/hosts.allow: > > > > # Wrapping sshd(8) is not normally a good idea, but if you > > # need to do it, here's how > > #sshd : .evil.cracker.example.com : deny > > > > Why is it not a good idea? > > Probably because ssh is likely to be the only method of login access > you have to a remote server, and hosts.allow could conceivably be spoofed > into blocking your legitimate access? In any case, hosts.allow is a poor relation to using a real firewall -- it has no access to the lower level bits > of the networking code, so has to allow a full tcp connection setup before it > can block anything. Some daemons allow quite a lot of interaction with the > remote site when using hosts.allow functionality -- eg. sendmail will > apparently go through all of the stages of accepting an incoming e-mail from > a denied host, right up to the 'MAIL FROM...' section of the SMTP transaction > where it will respond with a 500 permanent failure error code. [admittedly > this does have the benefit that the other side will then immediately give up > trying to send the message if it's playing by the RFC rules. (Most spam-bots > don't, of course.) Otherwise, you'ld get the remote side retrying the message > several times an hour over the next 5 days before it timed out and gave up. > > > Also, apparently in older ssh there was DenyHosts option, > > but no longer in the current version. > > Is there a replacement for DenyHOsts? > > Or is there a good reason for such option not to be used? > > I believe you can do something like this: > > match address 192.168.23.0/24,172.16.0.0/16 > ForceCommand /usr/sbin/nologin > > but this is not foolproof, as it is run via the users' login shell > and a sufficiently cunning person can arrange for all sorts of interesting > things to happen from their shell initialization files... Matthew, this makes sense many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 16:15:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 716A3106566C; Mon, 11 Jan 2010 16:15:55 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id F34AE8FC08; Mon, 11 Jan 2010 16:15:54 +0000 (UTC) Received: by yxe1 with SMTP id 1so19982520yxe.3 for ; Mon, 11 Jan 2010 08:15:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=a2f9sxD1R5vPhins8p11gplw+t/n+6ArlP2v0Df6GI0=; b=Upsb+2r+Prl+HkbfM8PyrFtnAIQ28GHDiIj0hBqwxLkxNZwuRLxG8M++4hzfSG2zAD qPZF5Plxu+E4HPWHIhgM1NJvSkOwpryGVP2j5jD6p/rlGGbAroCrphiM3JH1NdPl5BN4 QByLjVxXsUdkQtXEZ962eMlejpB8qLOLoWbw0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=pD7gcEyCOoqhxWs8aFNOgUAdo7iQFd0eWWWnmmZMbK9oJ6+lNK7zvMzrWdhWM3xdcW UwD3lfMC3h/n6jmnkkFrIhS9RkABSy5W5b4DhmW58NEaEpEsh17PbT0wYinTzaE12aUM 8Ymdecy7O4n/2HwYh2ZdSuK/zVCME01y5PtoA= MIME-Version: 1.0 Received: by 10.101.7.8 with SMTP id k8mr4383841ani.23.1263226545848; Mon, 11 Jan 2010 08:15:45 -0800 (PST) Date: Mon, 11 Jan 2010 18:15:45 +0200 Message-ID: From: Dan Naumov To: freebsd-questions@freebsd.org, FreeBSD-STABLE Mailing List , freebsd-geom@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: bin/115406: [patch] gpt(8) GPT MBR hangs award BIOS 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, 11 Jan 2010 16:15:55 -0000 I have a few questions about this PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=115406&cat=bin 1) Is this bug now officially fixed as of 8.0-RELEASE? Ie, can I expect to set up a completely GPT-based system using an Intel D945GCLF2 board and not have the installation crap out on me later? 2) The very last entry into the PR states the following: "The problem has been addressed in gart(8) and gpt(8) is obsolete, so no follow-up is to be expected at this time. Close the PR to reflect this." What exactly is "gart" and where do I find it's manpage, http://www.freebsd.org/cgi/man.cgi comes up with nothing? Also, does this mean that GPT is _NOT_ in fact fixed regarding this bug? Thanks. - Sincerely, Dan Naumov From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 16:15:59 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 052751065679 for ; Mon, 11 Jan 2010 16:15:59 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.3]) by mx1.freebsd.org (Postfix) with ESMTP id D0AA18FC19 for ; Mon, 11 Jan 2010 16:15:58 +0000 (UTC) Received: (qmail 13394 invoked from network); 11 Jan 2010 16:15:58 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 11 Jan 2010 16:15:58 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 6FEA850829; Mon, 11 Jan 2010 11:15:56 -0500 (EST) From: Lowell Gilbert To: Anton Shterenlikht References: <20100111140105.GI61025@mech-cluster241.men.bris.ac.uk> <201001111408.43361.david@vizion2000.net> <20100111145346.GK61025@mech-cluster241.men.bris.ac.uk> Date: Mon, 11 Jan 2010 11:15:56 -0500 In-Reply-To: <20100111145346.GK61025@mech-cluster241.men.bris.ac.uk> (Anton Shterenlikht's message of "Mon, 11 Jan 2010 14:53:46 +0000") Message-ID: <44ocl0zkg3.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: denying spam hosts ssh access - good idea? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2010 16:15:59 -0000 Anton Shterenlikht writes: > I'm very grateful for all advice, but I'm still unsure > why denying ssh access to a particular host via /etc/hosts.allow > is a bad idea. As far as I recall, the reason the warning was added to the manual was that it's fairly heavy on resources to implement that way (especially back before the wrapper support was added to sshd; running it out of inetd added quite a bit of lag). It is also liable to problems from the idiosyncratic configuration syntax. By and large, you'd be better off with a firewall, but hosts.allow will certainly work if you want to do that. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 16:21:03 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A69D41065670 for ; Mon, 11 Jan 2010 16:21:03 +0000 (UTC) (envelope-from faust64@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 2B1288FC13 for ; Mon, 11 Jan 2010 16:21:02 +0000 (UTC) Received: by bwz5 with SMTP id 5so13838406bwz.3 for ; Mon, 11 Jan 2010 08:20:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=gUj3MsS67oMwEnjr4k+d2qq3Jic7Fj/H0J7S5d/o4B4=; b=MKJDEziBig8BLJdcaCGhps19ezjumXzgqKSs5348V12D3Uq8vmuJTLRMVWp+4WynWX 3Dle8/TZ+LD7lwrHQRhERNFbGU2T6adDyWvqRC/nZOWhwiSi46LtIqvzLhrP7GbNC512 kFtG01mHadtBAMNdjPQXdZPQF7mz1lEPmvlgk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=JKP38bV7QVaYDfDUtVQxiQxtpmr8WwH1otCV77YesS6f5vodyIW76nOX6orK/fuR3N 98yNQ36oqaRW1FVMNk6v3xdcTErhMcekHkqQx5xS8Ue5sfj1j5e+kzvCnwKMiz0iEohu lsp6Hs4Ui7RLzO54nq0D9GpGROXF5XPEsZTXM= MIME-Version: 1.0 Received: by 10.204.33.14 with SMTP id f14mr1988703bkd.108.1263226859095; Mon, 11 Jan 2010 08:20:59 -0800 (PST) In-Reply-To: <20100111155949.GA61863@mech-cluster241.men.bris.ac.uk> References: <20100111140105.GI61025@mech-cluster241.men.bris.ac.uk> <4B4B42D0.9070101@infracaninophile.co.uk> <20100111155949.GA61863@mech-cluster241.men.bris.ac.uk> From: =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= Date: Mon, 11 Jan 2010 17:20:39 +0100 Message-ID: To: Anton Shterenlikht 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: denying spam hosts ssh access - good idea? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 16:21:03 -0000 I had the same ssh-bruteforce troubles. Here's the script I use against that. It's in cron, launched every 2 minutes. #!/bin/sh AUTH=3D/var/log/auth.log BKLST=3D/var/log/blacklist.log HOSTS=3D/etc/hosts DHOSTS=3D/etc/hosts.deny cat $AUTH | egrep -i "(illegal|invalid|failed)" | awk -F "from" '{print $2}= ' | awk '{print $1}' | sort -u >$BKLST for i in `cat $BKLST`; do nerr=3D`cat $AUTH | egrep -i "(illegal|invalid|failed)" | grep $i | wc = -l` if [ "$nerr" -ge "3" -a -z "`cat $HOSTS | grep $i`" -a -z "`cat $DHOSTS | grep $i`" ]; then echo "ALL : $i # matched on `date`" >>$DHOSTS fi done #nota: I added my home & work IPs to /etc/hosts I can't use ssh-keys (many of my users don't know how that works/what it is). But if you can do it, you should. Samuel Mart=EDn Moro On Mon, Jan 11, 2010 at 4:59 PM, Anton Shterenlikht wr= ote: > On Mon, Jan 11, 2010 at 03:25:04PM +0000, Matthew Seaman wrote: > > Anton Shterenlikht wrote: > > > I'm thinking of denying ssh access to host from which > > > I get brute force ssh attacks. > > > > > > HOwever, I see in /etc/hosts.allow: > > > > > > # Wrapping sshd(8) is not normally a good idea, but if you > > > # need to do it, here's how > > > #sshd : .evil.cracker.example.com : deny > > > > > > Why is it not a good idea? > > > > Probably because ssh is likely to be the only method of login access > > you have to a remote server, and hosts.allow could conceivably be spoof= ed > > into blocking your legitimate access? In any case, hosts.allow is a > poor relation to using a real firewall -- it has no access to the lower > level bits > > of the networking code, so has to allow a full tcp connection setup > before it > > can block anything. Some daemons allow quite a lot of interaction with > the > > remote site when using hosts.allow functionality -- eg. sendmail will > > apparently go through all of the stages of accepting an incoming e-mail > from > > a denied host, right up to the 'MAIL FROM...' section of the SMTP > transaction > > where it will respond with a 500 permanent failure error code. > [admittedly > > this does have the benefit that the other side will then immediately gi= ve > up > > trying to send the message if it's playing by the RFC rules. (Most > spam-bots > > don't, of course.) Otherwise, you'ld get the remote side retrying the > message > > several times an hour over the next 5 days before it timed out and gave > up. > > > > > Also, apparently in older ssh there was DenyHosts option, > > > but no longer in the current version. > > > Is there a replacement for DenyHOsts? > > > Or is there a good reason for such option not to be used? > > > > I believe you can do something like this: > > > > match address 192.168.23.0/24,172.16.0.0/16 > > ForceCommand /usr/sbin/nologin > > > > but this is not foolproof, as it is run via the users' login shell > > and a sufficiently cunning person can arrange for all sorts of > interesting > > things to happen from their shell initialization files... > > Matthew, this makes sense > > many thanks > anton > > -- > Anton Shterenlikht > Room 2.6, Queen's Building > Mech Eng Dept > Bristol University > University Walk, Bristol BS8 1TR, UK > Tel: +44 (0)117 331 5944 > Fax: +44 (0)117 929 4423 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 16:45:58 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 536B0106566B; Mon, 11 Jan 2010 16:45:58 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id B1E458FC08; Mon, 11 Jan 2010 16:45:57 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.3) with ESMTP id o0BGjpAs046000; Mon, 11 Jan 2010 16:45:52 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o0BGjpAs046000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1263228352; bh=GCxrIHHSoMWQSgrjBJrdrn6T5HFhcFnnj1yY4Fd8DFg=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B4B55B8.6070109@infracaninophile.co.uk>|Date:=20M on,=2011=20Jan=202010=2016:45:44=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20091129)|MIME-Vers ion:=201.0|To:=20Dan=20Naumov=20|CC:=20freeb sd-questions@freebsd.org,=20=0D=0A=20FreeBSD-STABLE=20Mailing=20Li st=20,=0D=0A=20freebsd-geom@freebsd.or g|Subject:=20Re:=20bin/115406:=20[patch]=20gpt(8)=20GPT=20MBR=20ha ngs=20award=20BIOS=20on=20boot|References:=20|In-Reply-To:=20|X-Enigmail-Ver sion:=200.95.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp- sha256=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A= 20boundary=3D"------------enig29E827446730209D37138737"; b=toaybMKU36gI1kuzCeqtBeA5PwmPTn9xFQF8eFHGuFsBVAHk13UqyKbjHJnR363MX Nwkf9+eSB6+s5kVOBNL56LKPpBnPOIYJ3nBovm5mM3QhYr8lagh1SmcUiShm0mS3Me 3ww0CmM7gallZMRa0rG8umRqlCcpjzyNhSP+dPsU= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B4B55B8.6070109@infracaninophile.co.uk> Date: Mon, 11 Jan 2010 16:45:44 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20091129) MIME-Version: 1.0 To: Dan Naumov References: In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig29E827446730209D37138737" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: FreeBSD-STABLE Mailing List , freebsd-questions@freebsd.org, freebsd-geom@freebsd.org Subject: Re: bin/115406: [patch] gpt(8) GPT MBR hangs award BIOS 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, 11 Jan 2010 16:45:58 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig29E827446730209D37138737 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Dan Naumov wrote: > What exactly is "gart" and where do I find it's manpage, > http://www.freebsd.org/cgi/man.cgi comes up with nothing? Also, does > this mean that GPT is _NOT_ in fact fixed regarding this bug? That's gpart(8). With a 'p'. gpart has had significant amounts of work put into it for 8.0 release, and a lot of people are using it for eg. ZFS-root based systems, so it will probably work for you. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig29E827446730209D37138737 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.14 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEUEAREIAAYFAktLVb8ACgkQ8Mjk52CukIwMhgCY/jzSyTn59ZiuF/JbkGDvNty5 0wCcChWGKqh64fePAY1hW67HyNX+Mb4= =NTJE -----END PGP SIGNATURE----- --------------enig29E827446730209D37138737-- From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 17:08:50 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BFEF1065670 for ; Mon, 11 Jan 2010 17:08:50 +0000 (UTC) (envelope-from prvs=6205fd4e2=pschmehl_lists@tx.rr.com) Received: from ip-001.utdallas.edu (ip-001.utdallas.edu [129.110.20.107]) by mx1.freebsd.org (Postfix) with ESMTP id 20FB08FC21 for ; Mon, 11 Jan 2010 17:08:49 +0000 (UTC) X-Group: SUSPECTLIST_NO_SBRS X-IronPort-AV: E=Sophos;i="4.49,257,1262584800"; d="scan'208";a="25153012" Received: from zxtm01.utdallas.edu (HELO utd65257.utdallas.edu) ([129.110.10.32]) by ip-001.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 11 Jan 2010 10:40:02 -0600 Date: Mon, 11 Jan 2010 10:40:01 -0600 From: Paul Schmehl To: FreeBSD Questions Message-ID: X-Mailer: Mulberry/4.0.6 (Linux/x86) X-Munged-Reply-To: Figure it out MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: UTF-16 decoder X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2010 17:08:50 -0000 Can anyone point me to an online or unix utility that decodes utf-16 to ascii? Or unicode? My google searches have been nonproductive. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 17:30:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E840310656C5 for ; Mon, 11 Jan 2010 17:30:02 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr8.xs4all.nl (smtp-vbr8.xs4all.nl [194.109.24.28]) by mx1.freebsd.org (Postfix) with ESMTP id 7D4DC8FC0C for ; Mon, 11 Jan 2010 17:30:02 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr8.xs4all.nl (8.13.8/8.13.8) with ESMTP id o0BHU0YW064258; Mon, 11 Jan 2010 18:30:00 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 815E3BA89; Mon, 11 Jan 2010 18:30:00 +0100 (CET) Date: Mon, 11 Jan 2010 18:30:00 +0100 From: Roland Smith To: Paul Schmehl Message-ID: <20100111173000.GA85294@slackbox.xs4all.nl> References: 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: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD Questions Subject: Re: UTF-16 decoder X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 17:30:03 -0000 --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 11, 2010 at 10:40:01AM -0600, Paul Schmehl wrote: > Can anyone point me to an online or unix utility that decodes utf-16 to a= scii?=20 > Or unicode? My google searches have been nonproductive. Try uconv(1) from the devel/icu port.=20 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.14 (FreeBSD) iEYEARECAAYFAktLYBgACgkQEnfvsMMhpyXv9ACcDje7pHuq0H2jtfCbewsWMQVE P20An3MJRjLKcXiirLVjtiHRIkS2zonm =dzYJ -----END PGP SIGNATURE----- --lrZ03NoBR/3+SXJZ-- From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 17:33:20 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66386106568D for ; Mon, 11 Jan 2010 17:33:20 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from mail-fx0-f218.google.com (mail-fx0-f218.google.com [209.85.220.218]) by mx1.freebsd.org (Postfix) with ESMTP id DF2E88FC14 for ; Mon, 11 Jan 2010 17:33:19 +0000 (UTC) Received: by fxm10 with SMTP id 10so8013155fxm.14 for ; Mon, 11 Jan 2010 09:33:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received :x-authentication-warning:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=9xcdMGJtFQcSQothbSzA01pYTJoWBZKa02m4JWJRy5M=; b=OTSw8rXqUlNYRKFueHBI5mECzLZIUYp4C5d+MzykmJD0Z/Jmd2zK9RC3/dR4og++UF ieOZfvjVFasBzPtEpcQkLtAonZK5C++SSYCet4hFr7jR91Vg86sdjbGEJlyPHgWo0Syh e/rw7jmYZITrIUdEH+PaPzgYi8437L9ck8s0E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=x-authentication-warning:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; b=A0hQPNq3QtB7ke8TLdlIhfHppq5BCgPtwkVxNnrM++ZNhUUaEQywngWV19nZ1DTePE UQFVyCm+6l6tsCHfky/YlOnqoTsYluwB76AcxEb13vHbmll9rKEVeqRe9OJ9JKdlHX6x Zt3gtWPoJEXer8z8PSiUCRgdYarIc1QdSfD1g= Received: by 10.86.239.17 with SMTP id m17mr14213678fgh.16.1263231193726; Mon, 11 Jan 2010 09:33:13 -0800 (PST) Received: from darklight.org.ru ([213.132.76.16]) by mx.google.com with ESMTPS id 12sm7433261fgg.12.2010.01.11.09.33.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 11 Jan 2010 09:33:13 -0800 (PST) Received: from darklight.org.ru (yuri@darklight.org.ru [127.0.0.1]) by darklight.org.ru (8.14.3/8.14.3) with ESMTP id o0BHX7jT023130; Mon, 11 Jan 2010 20:33:08 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by darklight.org.ru (8.14.3/8.14.3/Submit) id o0BHX70a023129; Mon, 11 Jan 2010 20:33:07 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: darklight.org.ru: yuri set sender to yuri.pankov@gmail.com using -f Date: Mon, 11 Jan 2010 20:33:07 +0300 From: Yuri Pankov To: Paul Schmehl Message-ID: <20100111173307.GA1264@darklight.org.ru> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: FreeBSD Questions Subject: Re: UTF-16 decoder X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 17:33:20 -0000 On Mon, Jan 11, 2010 at 10:40:01AM -0600, Paul Schmehl wrote: > Can anyone point me to an online or unix utility that decodes utf-16 > to ascii? Or unicode? My google searches have been nonproductive. > > -- > Paul Schmehl, Senior Infosec Analyst > As if it wasn't already obvious, my opinions > are my own and not those of my employer. > ******************************************* > "It is as useless to argue with those who have > renounced the use of reason as to administer > medication to the dead." Thomas Jefferson converters/iconv, which should be already installed. Yuri From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 17:35:25 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E221106568D for ; Mon, 11 Jan 2010 17:35:25 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id A94EE8FC14 for ; Mon, 11 Jan 2010 17:35:24 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 16so662331fgg.13 for ; Mon, 11 Jan 2010 09:35:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received :x-authentication-warning:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=1JtNrDDdBjn5qXBOkU+gZtgPIDKL1vnD0oQR6l1p2mU=; b=N/iHcfUQQEYACjkeRD32Fxy0v7BFKr5m806C6rq3RT0hWWCr0sFbSW7vxyWAzyUWPA 09FY/4+ygc8Fa+xKxIyPmT1luCRE7++iWr5zmW/ValVjEy4FrF09Fcxa3ceHWAw2LMDa NJRJiwvxHC/oJRaSZ9A2hAOf2Rvgy10xOaPqQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=x-authentication-warning:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; b=Cwn0H2Dyd18/mpU+2fCR8zJ/V6QWYCHerp9952ly52R6/C6jkW1hbJy6TcJExJsEjv xvN6H6o3BU8d/sajKs+W0McktbCWUU5jgcPBYBUwyXqM5fPIWy7EVeB/OdnbGktzjUl+ 2aXxdlCbdy9WU+XShwhAoMRdU9CNOqI2mUNw0= Received: by 10.86.235.16 with SMTP id i16mr8120745fgh.28.1263231318126; Mon, 11 Jan 2010 09:35:18 -0800 (PST) Received: from darklight.org.ru ([213.132.76.16]) by mx.google.com with ESMTPS id 3sm7439974fge.5.2010.01.11.09.35.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 11 Jan 2010 09:35:17 -0800 (PST) Received: from darklight.org.ru (yuri@darklight.org.ru [127.0.0.1]) by darklight.org.ru (8.14.3/8.14.3) with ESMTP id o0BHZEDg023273; Mon, 11 Jan 2010 20:35:14 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by darklight.org.ru (8.14.3/8.14.3/Submit) id o0BHZE0l023272; Mon, 11 Jan 2010 20:35:14 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: darklight.org.ru: yuri set sender to yuri.pankov@gmail.com using -f Date: Mon, 11 Jan 2010 20:35:14 +0300 From: Yuri Pankov To: Paul Schmehl Message-ID: <20100111173514.GB1264@darklight.org.ru> References: <20100111173307.GA1264@darklight.org.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100111173307.GA1264@darklight.org.ru> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: FreeBSD Questions Subject: Re: UTF-16 decoder X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 17:35:25 -0000 On Mon, Jan 11, 2010 at 08:33:07PM +0300, Yuri Pankov wrote: > On Mon, Jan 11, 2010 at 10:40:01AM -0600, Paul Schmehl wrote: > > Can anyone point me to an online or unix utility that decodes utf-16 > > to ascii? Or unicode? My google searches have been nonproductive. > > > > -- > > Paul Schmehl, Senior Infosec Analyst > > As if it wasn't already obvious, my opinions > > are my own and not those of my employer. > > ******************************************* > > "It is as useless to argue with those who have > > renounced the use of reason as to administer > > medication to the dead." Thomas Jefferson > > converters/iconv, which should be already installed. This should read converters/libiconv, of course, sorry. > > > Yuri From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 17:35:43 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6BF65106572E for ; Mon, 11 Jan 2010 17:35:43 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.103.93]) by mx1.freebsd.org (Postfix) with ESMTP id 792D08FC2B for ; Mon, 11 Jan 2010 17:35:41 +0000 (UTC) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.14.2/8.13.8) with ESMTP id o0BHZOCe068679 for ; Mon, 11 Jan 2010 11:35:29 -0600 (CST) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <201001111735.o0BHZOCe068679@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <68677.1263231324.1@dc.cis.okstate.edu> Date: Mon, 11 Jan 2010 11:35:24 -0600 From: Martin McCormick Subject: 64-bit or 32-bit bind and DHCP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2010 17:35:43 -0000 We are upgrading our FreeBSD servers to FreeBSD8.0 and most of the servers are 64-bit platforms. At one time, there was an issue in which either bind or dhcpd actually ran a bit slower in the 64-bit version of FreeBSD. Are there any similar issues these days or should I use 64-bit where possible? Many thanks. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 17:40:30 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28701106566C for ; Mon, 11 Jan 2010 17:40:30 +0000 (UTC) (envelope-from benschumacher@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id F12048FC1F for ; Mon, 11 Jan 2010 17:40:29 +0000 (UTC) Received: by pxi12 with SMTP id 12so14658981pxi.3 for ; Mon, 11 Jan 2010 09:40:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=SHCNsxchfAe3VFDp7/A2dnd1xrYY+hWcVYfYlrf1Sww=; b=sYfM8M6LeR3qZnkXGkUp6sDkQtTIprz2YHcwj4uQJONIp9AGedda/Xs67MOzZrqZFD k6KBs7D0pz0Kziw0rBENv+ReNJ/rlW9eFC6kGtKVJZooEHBRyLZCqha20XQi0NY2YA3Z e0wMZabpWPzpFbyNUEAJUv+hCnuINujJABeyM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=X5pbjyMXB+i+UxfL/lMK36J7pXSU0tX/LbnwGcnmD5sCd5wWWSLwV1GVXtgGDER4HH B9CSykFtaRDsJzRPH9tVO07BGmURkA2hE9Bf1YJwrhyvTq+rEuCYp4Mk8kOCQAO4uTNB zYv7+1uxtrPCKnb+79AmaQuVRcQZByOa2ceLU= MIME-Version: 1.0 Sender: benschumacher@gmail.com Received: by 10.143.153.38 with SMTP id f38mr20478933wfo.27.1263231624186; Mon, 11 Jan 2010 09:40:24 -0800 (PST) In-Reply-To: <20100111140105.GI61025@mech-cluster241.men.bris.ac.uk> References: <20100111140105.GI61025@mech-cluster241.men.bris.ac.uk> Date: Mon, 11 Jan 2010 10:40:24 -0700 X-Google-Sender-Auth: b895a2266b9e1655 Message-ID: <9859143f1001110940p3cce3a94vd5322723cbacefcc@mail.gmail.com> From: Ben Schumacher To: Anton Shterenlikht Content-Type: text/plain; charset=UTF-8 Cc: freebsd-questions@freebsd.org Subject: Re: denying spam hosts ssh access - good idea? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 17:40:30 -0000 On Mon, Jan 11, 2010 at 7:01 AM, Anton Shterenlikht wrote: > I'm thinking of denying ssh access to host from which > I get brute force ssh attacks. > > HOwever, I see in /etc/hosts.allow: > > # Wrapping sshd(8) is not normally a good idea, but if you > # need to do it, here's how > #sshd : .evil.cracker.example.com : deny > > Why is it not a good idea? > > Also, apparently in older ssh there was DenyHosts option, > but no longer in the current version. > Is there a replacement for DenyHOsts? > Or is there a good reason for such option not to be used? Anton- In the general theme of this thread -- not answering your question, but providing an alternate solution -- sshguard from ports work fantastically for me. It interfaces with both ipfw and pf firewalls (I use it with pf) and has builtin timeout. I use syslog on several machine behind my firewall to forward SSH authentication failures to my FreeBSD firewall that uses PF and it quickly identifies and blocks bruteforce attacks. From my syslog.conf: !sshd auth.info @wall The handy thing here is that it has builtin timeout rules so if you do something silly and block yourself out temporarily, it'll eventually straighten itself out. Cheers, Ben From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 18:25:38 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 886A9106568B for ; Mon, 11 Jan 2010 18:25:38 +0000 (UTC) (envelope-from david+dated+1263663921.920bd5@skytracker.ca) Received: from 3s1.com (3s1.com [209.161.205.12]) by mx1.freebsd.org (Postfix) with ESMTP id 401128FC1A for ; Mon, 11 Jan 2010 18:25:37 +0000 (UTC) Received: from 3s1.com (localhost [127.0.0.1]) by 3s1.com (8.13.8/8.13.8) with ESMTP id o0BHjTOR051922 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 11 Jan 2010 12:45:33 -0500 (EST) (envelope-from david+dated+1263663921.920bd5@skytracker.ca) Received: (from david@localhost) by 3s1.com (8.13.8/8.14.1/Submit) id o0BHjMij051885 for questions@freebsd.org; Mon, 11 Jan 2010 12:45:22 -0500 (EST) (envelope-from david+dated+1263663921.920bd5@skytracker.ca) X-Authentication-Warning: 3s1.com: david set sender to david+dated+1263663921.920bd5@skytracker.ca using -f Received: by 3s1.com (tmda-sendmail, from uid 1000); Mon, 11 Jan 2010 12:45:21 -0500 Date: Mon, 11 Jan 2010 12:45:20 -0500 To: questions@freebsd.org Message-ID: <20100111174520.GA51360@skytracker.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: David Banning X-Virus-Scanned: ClamAV 0.94.2/10279/Mon Jan 11 01:19:58 2010 on 3s1.com X-Virus-Status: Clean Cc: Subject: speed test in ports? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 18:25:38 -0000 I wonder if there is something in the ports that tests my DSL speed. I am guessing that if I installed firefox3 and then installed flash or Java then I could go to speedtest.net, but I wonder if there is a simpler solution. From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 18:36:46 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B416A106568D for ; Mon, 11 Jan 2010 18:36:46 +0000 (UTC) (envelope-from keneasson@zoho.com) Received: from sender1.zohomail.com (sender1.zohomail.com [72.5.230.95]) by mx1.freebsd.org (Postfix) with ESMTP id 99B3D8FC16 for ; Mon, 11 Jan 2010 18:36:46 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:message-id:subject:mime-version:content-type:user-agent; b=rSkXt78edeonJ2rEc7knrSYGgFT1BR6NfHLhzsg1ItmZfLicivi4apIkKzslstLiXgW/bXWbBr4I edoPNJy57AIZ4UGoRLhtN9/2j9i5ZbtQ5tEuc1kwWovk5prbBScd Received: from 172.29.249.242 (172.29.249.242 [172.29.249.242]) by mx.zohomail.com with SMTP id 1263235006242459.95958488618305; Mon, 11 Jan 2010 10:36:46 -0800 (PST) Date: Tue, 12 Jan 2010 00:36:45 +0600 From: keneasson To: "freebsd-questions" Message-ID: <1261eac7e73.424708029185362141.1528994961965900341@zoho.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2402_1892220214.1263235006067" X-Priority: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Status: RO X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Serious problems updating 8.0-Stable after switching to with_gecko= libxul. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 18:36:46 -0000 ------=_Part_2402_1892220214.1263235006067 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, I'm running Freebsd 8.0-Stable #9 Dec 17/09 on amd64. I'm running gnome, an= d at the time i started my update i was at Gnome 2.26 I went through UPDATING and tried to switch from firefox 2 which is marked = ignore to libxul by changing WITH_GECKO=3Dlibxul removed firefox3 and insta= lled firefox35 I used UPDATING to try and sort out libxul, but it seems i have some cyclic= dependencies. I use portmaster (i did try to rebuild things for portupgrade and try, but = it had bigger problems and i couldn't even update the index.) I keep updati= ng my ports tree (cvsup) i used portsnap, and it seems that was when my pro= blems started, i rm -rf /usr/ports/* and cvsupped the entire thing back at = one point. I got an error which seems to have started the whole ugly affair with /usr/= ports/Mk/bsd.gecko.mk causing post patch issues, the main problem seemed to= be e2fsprogs-libuuid which i was unable to rebuild due to it wanting a bsd= .gecko.mk patch which from what i've read is now removed with firefox2, i d= eleted stuff till i got around that for now... but... at present my key problem is a cyclic dependency when i try and rebuilt pre= tty much anything, with libxul as the main issue. glib20 =3D> libxul =3D>glib20 =3D> libxul =3D>glib20 =3D> li= bxul =3D>glib20 =3D> libxul =3D>glib20 =3D> libxul =3D>glib2= 0=20 I have tried installing the package for both. i've tried pkg_deleting both = then installing the port, or using portmaster, i've tried portmaster --chec= k-depends, i've tried portmaster -e to remove them and try and re-install t= hem. I've removed about 1/2 my system and now have even more problems. (i r= emoved gettext and now portmaster complains about missing libintl.so.8 not = found.=20 at best i get a much larger cyclic loop with: glib20 =3D> libtool22 =3D> libiconv =3D> gettetxt =3D> atk =3D&= gt; libgmp4 =3D> farsight =3D> gdm =3D> libxul =3D> glib20=20 or some other combination of the cycle. Can anyone help me get my system back up and running? make.conf looks like this: WITH_MYSQL_VER=3D51 APACHE_VERSION=3D22 OVERRIDE_LINUX_BASE_PORT=3Df8 WWWDIR =3D /web/phpmyadmin WITH_CUPS=3D"yes" CUPS_OVERWRITE_BASE=3Dtrue #NO_LPR=3Dtrue USE_GECKO=3Dlibxul # Begin portconf settings # Do not touch these lines .if !empty(.CURDIR:M/usr/ports*) && exists(/usr/local/libexec/portc= onf) _PORTCONF!=3D/usr/local/libexec/portconf .for i in ${_PORTCONF:S/|/ /g} ${i:S/%/ /g} .endfor .endif # End portconf settings # added by use.perl 2009-09-19 16:22:20 PERL_VERSION=3D5.10.1 thanks ken ------=_Part_2402_1892220214.1263235006067-- From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 18:43:22 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7899510656A5 for ; Mon, 11 Jan 2010 18:43:22 +0000 (UTC) (envelope-from paul.halliday@gmail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id 53F608FC36 for ; Mon, 11 Jan 2010 18:43:22 +0000 (UTC) Received: by pwi15 with SMTP id 15so1713371pwi.3 for ; Mon, 11 Jan 2010 10:43:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=ARnWQNLJzJGAgkkRiLPlOOniTPnfdnqrb8gb+uzXLqE=; b=IWKlF8HyIhBPK/VvVFoCZck+faZoUk7/o/aAGeUweqc+DZsbn7x6j5omfoNkSqnJ4E poORrSgesMFzMqT9hlX7soK7DpGGGYF9bO3YU6AQshJBhDEedtf+AnFU7ZXnrdjRVNkX /v7geZfgVWJvNaReYqYo3LoVYvWMEgA+RUNJc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=l+Pv399awRxNeYF2WLW/EIaJ8lBk1bSBue8IqL5H6jO0C3xTIbJtKNhGzQM4dEUruo mHGRvWgUwfMPPMn7Lon24JhxtHWlg5pSlhfMQKjTD6q8XhICCJy7OVQ13iJxvZ3eK2M4 3k6pv98HEHe16sQOVOtmw9KCuZwsSXSPgb1cQ= MIME-Version: 1.0 Received: by 10.142.59.10 with SMTP id h10mr590907wfa.91.1263235397299; Mon, 11 Jan 2010 10:43:17 -0800 (PST) Date: Mon, 11 Jan 2010 14:43:17 -0400 Message-ID: <2dab70a31001111043kd6bb6b4u5062a3a4b4106b5@mail.gmail.com> From: Paul Halliday To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: FreeBSD 8.0, HyperV and non-uniform processors. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 18:43:22 -0000 Is this warning as harmful as it sounds: WARNING: Non-uniform processors. WARNING: Using suboptimal topology. More info: CPU: Intel(R) Xeon(R) CPU E7330 @ 2.40GHz (2304.83-MHz 686-class CPU) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 0 package(s) x 4 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 WARNING: Non-uniform processors. WARNING: Using suboptimal topology. Unfortunately I am forced to use this setup. Is there anything I can do? Should I even be worried? Thanks. From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 18:48:20 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA3DE106566B for ; Mon, 11 Jan 2010 18:48:20 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.freebsd.org (Postfix) with ESMTP id 9B2A28FC1D for ; Mon, 11 Jan 2010 18:48:20 +0000 (UTC) Received: from compute2.internal (compute2.internal [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id 77919CC80E; Mon, 11 Jan 2010 13:48:05 -0500 (EST) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Mon, 11 Jan 2010 13:48:05 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=subject:mime-version:content-type:from:in-reply-to:date:cc:content-transfer-encoding:message-id:references:to; s=smtpout; bh=PRTkjH8POIUoHlvqlI+pR7QLQ+w=; b=adsdldppGUoEtKKmB5+/70CN6PSg1blMZr6LuAD8jrs10n1iAMyI51DrTd3KFYjaEeBDD4cfYiAyKFj0/gzpeu5zfZ4e4enG7IXGs9gEcfl/ooLU5ueHmAB+wL/OX6u42jtjQpL6HKQwrN/byJzKxbpDw246MhFSKwQ8mxPtSCs= X-Sasl-enc: 4S3Sf9QE1duh06JyU/zrAEV4ziGJLTS9165Pspj3r5Lt 1263235685 Received: from olympe.ewd.goldmark.org (n114.ewd.goldmark.org [72.64.118.114]) by mail.messagingengine.com (Postfix) with ESMTPSA id 0B4B04C1762; Mon, 11 Jan 2010 13:48:04 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Jeffrey Goldberg In-Reply-To: <20100111123219.GA2270@current.Sisis.de> Date: Mon, 11 Jan 2010 12:48:03 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <8983DD34-2BF4-4FC9-B96F-5108E10AE9C4@goldmark.org> References: <20100111123219.GA2270@current.Sisis.de> To: Matthias Apitz X-Mailer: Apple Mail (2.1077) Cc: freebsd-questions@freebsd.org Subject: Re: Q: recommendation for external USB disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 18:48:20 -0000 On Jan 11, 2010, at 6:32 AM, Matthias Apitz wrote: > Can someone recommend a good external USB disk for backups which works > with FreeBSD 8.0 and has more than 512 GByte? Thx in advance Pretty much anything that you consider to be a reliable supplier will = do. There are no specific FreeBSD requirements as far as I know. I recommend that you get a disk that is externally powered instead of = with power supplied over USB. Earlier versions of FreeBSD had problems with USB connected devices. In = particular if they were removed or powered down without dismounting, = this could lead to a kernel panic. This problem has been fixed, but I = still am extra careful with my USB backup disks: (1) Power for the back-up disks should be on a UPS (2) umount the file systems on the back-up disk when not in use. Cheers, -j --=20 Jeffrey Goldberg http://www.goldmark.org/jeff/ From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 18:55:33 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F0FC106566B for ; Mon, 11 Jan 2010 18:55:33 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout030.mac.com (asmtpout030.mac.com [17.148.16.105]) by mx1.freebsd.org (Postfix) with ESMTP id 8D1B48FC13 for ; Mon, 11 Jan 2010 18:55:33 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp030.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KW300GE7J8IEI00@asmtp030.mac.com> for questions@freebsd.org; Mon, 11 Jan 2010 10:55:31 -0800 (PST) From: Chuck Swiger In-reply-to: <20100111174520.GA51360@skytracker.ca> Date: Mon, 11 Jan 2010 10:55:30 -0800 Message-id: <3CF15622-F0ED-41F1-A5D1-A4B44DDF2BF0@mac.com> References: <20100111174520.GA51360@skytracker.ca> To: David Banning X-Mailer: Apple Mail (2.1077) Cc: questions@freebsd.org Subject: Re: speed test in ports? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 18:55:33 -0000 On Jan 11, 2010, at 9:45 AM, David Banning wrote: > I wonder if there is something in the ports that tests my DSL speed. > I am guessing that if I installed firefox3 and then installed flash > or Java then I could go to speedtest.net, but I wonder if there is > a simpler solution. You can use ftp or fetch from the base system to test downloads of some reasonably large files, and get a decent estimate of your bandwidth (or that of the server, depending on which is lower). However, the network-based tests from your ISP, speedtest.net, dslreports.com, etc including the tweak test often provide useful information about MTU, dropped packets, tweaking TCP window size, etc, so a browser-based test is a good approach. Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 19:05:45 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BCFBA1065679 for ; Mon, 11 Jan 2010 19:05:45 +0000 (UTC) (envelope-from apseudoutopia@gmail.com) Received: from mail-ew0-f213.google.com (mail-ew0-f213.google.com [209.85.219.213]) by mx1.freebsd.org (Postfix) with ESMTP id 52DFA8FC15 for ; Mon, 11 Jan 2010 19:05:44 +0000 (UTC) Received: by ewy5 with SMTP id 5so10927487ewy.14 for ; Mon, 11 Jan 2010 11:05:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=qPcAl0dcEFaG/Gq7XeclRYMjw2i6HA1A9R26CVFNd00=; b=C/sA/GCA8NyDitg33gvvqP+Uq49mi4JkwNw2nPcgzM5kzdp7C5xmRmivmPMmgLcGgu P4c1XlIt1JVwALQeRC9GdZRDm1xA6/O6OkYjotEPmOGIr1EKHJiaHSFiJkFPWbNjXrDb VzkyGJI1mEMTfomVmNHMVUSKsoOb9/yFFCjDo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=F1jU/SmzvTLrcZ5bdHrjbZvMQSmFUBa/rT3tK1rTeNX6H8onGHifV0pIztSgyIVTiU lHZQcZAme4ONJCOJUQIPpxvBRhn2ghUxa7JmNLXvjeXYVnAP29o8hDscNVXrHuDqzKGb psZq342H2w+yF0b0hkF1brypu7ABIevEDJGHQ= MIME-Version: 1.0 Received: by 10.216.89.129 with SMTP id c1mr1288247wef.35.1263235402095; Mon, 11 Jan 2010 10:43:22 -0800 (PST) In-Reply-To: <20100111174520.GA51360@skytracker.ca> References: <20100111174520.GA51360@skytracker.ca> From: APseudoUtopia Date: Mon, 11 Jan 2010 13:43:02 -0500 Message-ID: <27ade5281001111043g32b6a97gdd13c1b327ba480d@mail.gmail.com> To: David Banning Content-Type: text/plain; charset=UTF-8 Cc: questions@freebsd.org Subject: Re: speed test in ports? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 19:05:45 -0000 On Mon, Jan 11, 2010 at 12:45 PM, David Banning wrote: > I wonder if there is something in the ports that tests my DSL speed. > I am guessing that if I installed firefox3 and then installed flash > or Java then I could go to speedtest.net, but I wonder if there is > a simpler solution. > _______________________________________________ > 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" > You don't need ports for that....Just use fetch(1) and grab an ISO of a DVD (or even a CD) from somewhere. Eg, a debian DVD image or freebsd image or whatever. A lot of ISPs boost the first x MB of a transfer to give the illusion that you can download faster when doing speed tests (since speed tests only transfer a small amount of data). Comcast's "PowerBoost" is a perfect example of this. So if you get something bigger, you can monitor the speed of the download and get your speed test that way. If you really want to be accurate, you can do the test several times using mirrors in various geographical areas as well to get a better overall idea of your available bandwidth. From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 19:15:52 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E8081065670 for ; Mon, 11 Jan 2010 19:15:52 +0000 (UTC) (envelope-from fbsdlists@gmail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id 085F38FC0A for ; Mon, 11 Jan 2010 19:15:51 +0000 (UTC) Received: by pwi15 with SMTP id 15so1735299pwi.3 for ; Mon, 11 Jan 2010 11:15:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=zBh8zbHJC/CAivYR8NJQb4IX3tmjc3fnYmrwGBACrvg=; b=PSGIJRd5elwzmsHSYuzySpWDnJZapmt+0pC02e0A6u/Ov6zUD4nYKOm1M/g7QaQKFI vzuK7SHcpMqJBpnVfNT1qv0xVR8WvNXpKyePYxHE4WPA9rpeFzOKUAMRrTlvF8USaiYg HVjA50yyGWpHWBUICFn81zwVQ/k+gvAPjoOVc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=lXOVbQnUMSyfHnhKPpDKUqKl8G9swoJ4/Hmps84qZzGPQsosGTx3YPK0THYTf+K6Oi 43HG9JfqMZTixXZOYHt+E/p6sczx3JBTQE+JysLRXEZ+JHBsUfMwlu7blrYRA16Afjj1 Ey2iSqbd0IYKUD91wAjeMJKDP5liZzpd1Fz3Y= MIME-Version: 1.0 Received: by 10.142.1.35 with SMTP id 35mr4478291wfa.330.1263237345479; Mon, 11 Jan 2010 11:15:45 -0800 (PST) Date: Mon, 11 Jan 2010 14:15:45 -0500 Message-ID: <54db43991001111115y7acaf4ect4a033e43a6ec159@mail.gmail.com> From: Bob Johnson To: Paul B Mahol Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Questions Subject: NDIS panics (Was: Can I rescan for new PCI devices? Or should hotplugging Expresscards work?) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 19:15:52 -0000 On 1/9/10, Paul B Mahol wrote: > On 12/16/09, Bob Johnson wrote: >> I'm using an ExpressCard for wireless networking because there seems >> to be no driver for the internal card in my laptop (and NDIS panics >> the system). The Expresscard shows up as a PCI device and works fine, > > How are you using NDIS and when system panic what is displayed? I tried to use ndisgen with the internal Dell 1397 card. I don't have details available right now, although if you need them I can try it again. When I did the kldload the system spit out error messages about unknown symbols and then panic-ed. I did some searching of the archives and found a message describing the same symptoms, and the response posted was that it indicated that the Windows driver made API calls that were not implemented in the NDIS wrapper. This was a 64-bit Windows driver and an amd64 FreeBSD system. Similar results in both FreeBSD 7.2 and 8.0. It appears that kern/132672 is describing the same or a very similar issue. It also suggests that there is a more fundamental problem than the unrecognized symbols. I can try to reproduce the problem tonight if you want me to. Thanks, -- -- Bob Johnson From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 19:25:38 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84EBF106566B for ; Mon, 11 Jan 2010 19:25:38 +0000 (UTC) (envelope-from david@skytracker.ca) Received: from 3s1.com (3s1.com [209.161.205.12]) by mx1.freebsd.org (Postfix) with ESMTP id 2D3268FC19 for ; Mon, 11 Jan 2010 19:25:37 +0000 (UTC) Received: from [192.168.1.20] (twenty [192.168.1.20]) (authenticated bits=0) by 3s1.com (8.13.8/8.13.8) with ESMTP id o0BIqAIL072156; Mon, 11 Jan 2010 13:52:10 -0500 (EST) (envelope-from david@skytracker.ca) Message-ID: <4B4B735A.602@skytracker.ca> Date: Mon, 11 Jan 2010 13:52:10 -0500 From: David Banning User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: APseudoUtopia , freebsd-questions@freebsd.org References: <20100111174520.GA51360@skytracker.ca> <27ade5281001111043g32b6a97gdd13c1b327ba480d@mail.gmail.com> In-Reply-To: <27ade5281001111043g32b6a97gdd13c1b327ba480d@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.94.2/10279/Mon Jan 11 01:19:58 2010 on 3s1.com X-Virus-Status: Clean Cc: Subject: Re: speed test in ports? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 19:25:38 -0000 > You don't need ports for that....Just use fetch(1) and grab an ISO of > a DVD (or even a CD) from somewhere. Eg, a debian DVD image or freebsd > image or whatever. A lot of ISPs boost the first x MB of a transfer to > give the illusion that you can download faster when doing speed tests > (since speed tests only transfer a small amount of data). Comcast's > "PowerBoost" is a perfect example of this. So if you get something > bigger, you can monitor the speed of the download and get your speed > test that way. > > If you really want to be accurate, you can do the test several times > using mirrors in various geographical areas as well to get a better > overall idea of your available bandwidth. > This method works for me - what about testing upload? I am guessing the best way might be to login into another server and "fetch" from my server? From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 19:40:30 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4EC601065679 for ; Mon, 11 Jan 2010 19:40:30 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout023.mac.com (asmtpout023.mac.com [17.148.16.98]) by mx1.freebsd.org (Postfix) with ESMTP id 3C97B8FC1E for ; Mon, 11 Jan 2010 19:40:30 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp023.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KW3008ZGLBHMT10@asmtp023.mac.com> for questions@freebsd.org; Mon, 11 Jan 2010 11:40:29 -0800 (PST) From: Chuck Swiger In-reply-to: <2dab70a31001111043kd6bb6b4u5062a3a4b4106b5@mail.gmail.com> Date: Mon, 11 Jan 2010 11:40:28 -0800 Message-id: References: <2dab70a31001111043kd6bb6b4u5062a3a4b4106b5@mail.gmail.com> To: Paul Halliday X-Mailer: Apple Mail (2.1077) Cc: questions@freebsd.org Subject: Re: FreeBSD 8.0, HyperV and non-uniform processors. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 19:40:30 -0000 Hi-- On Jan 11, 2010, at 10:43 AM, Paul Halliday wrote: > Is this warning as harmful as it sounds: > > WARNING: Non-uniform processors. > WARNING: Using suboptimal topology. > > More info: > > CPU: Intel(R) Xeon(R) CPU E7330 @ 2.40GHz (2304.83-MHz 686-class CPU) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > FreeBSD/SMP: 0 package(s) x 4 core(s) > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > WARNING: Non-uniform processors. > WARNING: Using suboptimal topology. > > Unfortunately I am forced to use this setup. Is there anything I can > do? Should I even be worried? This comes from the SMP probing code in i386/i386/mp_machdep.c (and similar for amd64): if (mp_ncpus % (cpu_cores * cpu_logical) != 0) { printf("WARNING: Non-uniform processors.\n"); printf("WARNING: Using suboptimal topology.\n"); return (smp_topo_none()); } smp_topo_none() means that the system assumes none of the L1/L2 cache levels are shared; for a virtual machine, this is probably correct, so you should not be unduly concerned. -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 21:15:33 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A69D61065672 for ; Mon, 11 Jan 2010 21:15:33 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-ew0-f213.google.com (mail-ew0-f213.google.com [209.85.219.213]) by mx1.freebsd.org (Postfix) with ESMTP id 3C0418FC0A for ; Mon, 11 Jan 2010 21:15:32 +0000 (UTC) Received: by ewy5 with SMTP id 5so11065923ewy.14 for ; Mon, 11 Jan 2010 13:15:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=rY4fWgNvUhv2qkIxVl68n5JwocMO7yKDkS8Gc/tmtro=; b=Q2R3uLuE1bLEmMACvAwMbhascP0D1uR3tnkzOmCxxEMCqpKxHNCQPjN+6L5Gfz9ohH xNTt3BjVRpoke0EWRh3lf36LMjjq3wm98X4ru+0kzy5BxTUqczPxANSnvZ5Xr5aw3nMi hjURfwCNWSwGcgkaeNp11ymJX7+FVARbZLYK0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=YCN37f85O+wKZCJuhVjxHGUU2OYlcoPfBYv8JW3DS9+POkAES8YgpJ9R1TkRnGrwaq gVoV4u03MZOy3U7uLAtMfEWwqUtMMQeS06yuwgSDCHTiTiC4OrN66nXtwkcCR6Sqz9H4 Gd5iEFBvXIat8Ov7DlBrhSf6KbK8+witfJyCM= MIME-Version: 1.0 Received: by 10.213.110.132 with SMTP id n4mr8587450ebp.88.1263244526415; Mon, 11 Jan 2010 13:15:26 -0800 (PST) In-Reply-To: <54db43991001111115y7acaf4ect4a033e43a6ec159@mail.gmail.com> References: <54db43991001111115y7acaf4ect4a033e43a6ec159@mail.gmail.com> Date: Mon, 11 Jan 2010 22:15:26 +0100 Message-ID: <3a142e751001111315u269d8c6ehfa5d5a8660676073@mail.gmail.com> From: Paul B Mahol To: Bob Johnson Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Questions Subject: Re: NDIS panics (Was: Can I rescan for new PCI devices? Or should hotplugging Expresscards work?) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 21:15:33 -0000 On 1/11/10, Bob Johnson wrote: > On 1/9/10, Paul B Mahol wrote: >> On 12/16/09, Bob Johnson wrote: >>> I'm using an ExpressCard for wireless networking because there seems >>> to be no driver for the internal card in my laptop (and NDIS panics >>> the system). The Expresscard shows up as a PCI device and works fine, >> >> How are you using NDIS and when system panic what is displayed? > > I tried to use ndisgen with the internal Dell 1397 card. I don't have > details available right now, although if you need them I can try it > again. When I did the kldload the system spit out error messages about > unknown symbols and then panic-ed. I did some searching of the > archives and found a message describing the same symptoms, and the > response posted was that it indicated that the Windows driver made API > calls that were not implemented in the NDIS wrapper. > > This was a 64-bit Windows driver and an amd64 FreeBSD system. Similar > results in both > FreeBSD 7.2 and 8.0. > > It appears that kern/132672 is describing the same or a very similar > issue. It also suggests that there is a more fundamental problem than > the unrecognized symbols. > > I can try to reproduce the problem tonight if you want me to. > > Thanks, If you have debug kernel, then make breakpoint for MSCALL2 (kldload ndis.ko before that): `break MSCALL2' Then load ndisgen module. Then single step it with `s' it should panic after few steps. At least this is issue I'm experiencing on amd64, it fails in DriverEntry(). -- Paul B Mahol From owner-freebsd-questions@FreeBSD.ORG Mon Jan 11 23:59:24 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FA1E106568D for ; Mon, 11 Jan 2010 23:59:24 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id 8F0D08FC0C for ; Mon, 11 Jan 2010 23:59:23 +0000 (UTC) Received: (qmail 78693 invoked by uid 89); 11 Jan 2010 23:58:56 -0000 Received: from unknown (HELO ?IPv6:2607:f118:2:8000:7545:95ed:ebbb:16da?) (steve@ibctech.ca@2607:f118:2:8000:7545:95ed:ebbb:16da) by 2607:f118::b6 with ESMTPA; 11 Jan 2010 23:58:56 -0000 Message-ID: <4B4BBB4F.5020805@ibctech.ca> Date: Mon, 11 Jan 2010 18:59:11 -0500 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "questions@freebsd.org" X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Can't mountroot from ZFS pool X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Jan 2010 23:59:24 -0000 All, I've successfully upgraded the disks in my ZFS backup server, and can import/mount the pool properly. However, I designed this box originally so that it mounts / from zfs:storage after booting from a USB stick. After the upgrade of the disks, I'm stuck at a mountroot prompt when I attempt to boot the system with the original USB /boot key. Can someone inform me how to find the / filesystem at the mountroot prompt? If not, is there *any* way to boot the system normally from another medium, and then 'reload' the system with the ZFS / after its been mounted so that the system functions as designed (ie. cron works etc)? Steve From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 00:31:06 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B817810656AB; Tue, 12 Jan 2010 00:31:06 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from kermit7.lizardhill.com (kermit7.lizardhill.com [64.69.41.223]) by mx1.freebsd.org (Postfix) with ESMTP id 7054E8FC1D; Tue, 12 Jan 2010 00:31:06 +0000 (UTC) Received: from ip68-104-23-65.lv.lv.cox.net ([68.104.23.65] helo=mickey) by kermit.lizardhill.com with esmtpa (Exim 4.62) (envelope-from ) id 1NUUel-000Gz3-D6; Mon, 11 Jan 2010 16:30:47 -0800 From: "Don O'Neil" To: , References: <157701ca90c1$3a62ecd0$af28c670$@com> <20100109073442.c86fe9e4.freebsd@edvax.de> <188101ca918f$40141810$c03c4830$@com> <19e201ca91a8$b1f70690$15e513b0$@com> <20100110112130.11ff370c.freebsd@edvax.de> <25da01ca9237$fc0c94e0$f425bea0$@com> In-Reply-To: <25da01ca9237$fc0c94e0$f425bea0$@com> Date: Mon, 11 Jan 2010 16:31:10 -0800 Message-ID: <01fa01ca931e$8a32d6d0$9e988470$@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: AcqR3qRfOg6OeDmNSbecsldJZohMiQAWLe/wADmeZKA= Content-Language: en-us Cc: 'Polytropon' , ale@freebsd.org Subject: RE: [PHP] RE: Clean PHP 5.2.12 Build Core Dumping / Can't Build Port - FreeBSD 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: Tue, 12 Jan 2010 00:31:06 -0000 Ok.. just for grins I installed a new instance of 6.1, NO Patches, just straight off the ISO... I loaded the ports that came WITH the distro, and was able to make php 5.1.2 ok... When I did a portsnap fetch, portsnap extract, then went into the /usr/ports/lang/php5 and just typed make I get the same error... SO as it seems, the port is broken, at least for working with FreeBSD 6.1. Can anyone give me some hints on how to build this sucker by hand? Seems as though there are a bunch of patches that are referenced in the distinfo file. I REALLY need to get this taken care of asap, any help is appreciated. Thanks! > > > I tried adding WITHOUT_X11=yes to /etc/make.conf as well as > X11BASE= > > and > > > X11BASE="", but I still get the same error. > > > > Remove them. This makes sure they are not defined, not even > > empty (as in "#define BLA -> symbol 'BLA' is defined"). > > > > > Where to go from here? Do I have and old version of something that > is > > > causing this? I get this error _right away_ before anything is even > > built. > > > > It seems to be a check by the Makefile at port's top level. > > Ok... I have no definition for X11BASE anywhere, not in my env, not in > my > /etc/make.conf, nowhwere... > > However, it's still complaining about X11BASE being deprecated. I tried > just > adding WITHOUT_X11=yes in /etc/make, and without it. I even searched > all the > Makefiles in /usr/ports, and in the /usr/ports/lang/php5 dir to find > any > reference to X11, or X, or X11BASE, but nada... I don't even know where > this > error message is being generated from. > > I can't even do a basic make without it immediately spitting out the > error: > > # make > X11BASE is now deprecated. Unset X11BASE in make.conf and try again. > *** Error code 1 > > Stop. > From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 02:56:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4844D1065672 for ; Tue, 12 Jan 2010 02:56:33 +0000 (UTC) (envelope-from hwong@lumeta.com) Received: from MAIL.corp.lumeta.com (hercules.lumeta.com [65.246.245.23]) by mx1.freebsd.org (Postfix) with ESMTP id 108E68FC19 for ; Tue, 12 Jan 2010 02:56:32 +0000 (UTC) Received: from [65.246.246.57] ([65.246.246.57]) by MAIL.corp.lumeta.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 11 Jan 2010 21:22:28 -0500 From: Henry Wong To: freebsd-questions@freebsd.org In-Reply-To: Content-Type: text/plain Organization: Software Engineering Date: Wed, 30 Dec 2009 11:55:47 -0500 Message-Id: <1262192147.15510.2.camel@hwong-desk1.corp.lumeta.com> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 12 Jan 2010 02:22:28.0633 (UTC) FILETIME=[165B2090:01CA932E] Subject: pkg_info fails with "leave_playpen: can't chdir back to ''" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 02:56:33 -0000 Mike Clarke, I'm seeing the same problem with pkg_info on FreeBSD 8.0 RELEASE. However, I also found that even when running as the root user, if I'm in a chroot jail, it does not fail. Henry Wong From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 04:02:38 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9055D1065692 for ; Tue, 12 Jan 2010 04:02:38 +0000 (UTC) (envelope-from daniel.papadopoulos@yahoo.com) Received: from n73.bullet.mail.sp1.yahoo.com (n73.bullet.mail.sp1.yahoo.com [98.136.44.191]) by mx1.freebsd.org (Postfix) with SMTP id 691188FC15 for ; Tue, 12 Jan 2010 04:02:38 +0000 (UTC) Received: from [69.147.84.144] by n73.bullet.mail.sp1.yahoo.com with NNFMP; 12 Jan 2010 03:48:44 -0000 Received: from [98.136.44.171] by t6.bullet.mail.sp1.yahoo.com with NNFMP; 12 Jan 2010 03:48:44 -0000 Received: from [127.0.0.1] by omp612.mail.sp1.yahoo.com with NNFMP; 12 Jan 2010 03:48:44 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 475148.84943.bm@omp612.mail.sp1.yahoo.com Received: (qmail 48434 invoked by uid 60001); 12 Jan 2010 03:48:44 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1263268124; bh=JEA9wjQo8d7ZVlzu4OZklwZvFpeaF3cHX3WeKf/3kkk=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=H87DNXuLRu6XacZTy0CSLCSz5LUp+micwFVvDnYaVoyVpCzys2C9MClBY7/btEnsfObG8X1GmRTW1acHvZ/S7iZRFkQkmHhmM+NVRBVhJ7zuNgP0ULmCvJdvEL7C9r0ONNpQM3ct3kf1EPVkmLuIiQ5NWerTnyYdBqVbiSAwdww= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=c0vzBNchgmHSdbhEjsJtfX/tN/hWzVIOaO2pxui05LHLTLDrARTwDXtgz7UHdjlqzs1srhCXalGvOqo539kyQl/drmtHUief0o1QcT7+577DNMi5kXXl7g0iLA4H0kUmDpuDzWKJ0nCAwu89Jsm12DTtmbrv96D/wiUd+67TAT0=; Message-ID: <354410.47478.qm@web44810.mail.sp1.yahoo.com> X-YMail-OSG: aVXKGbkVM1l6Vo7ftFvdovlUP4vMD7_WpI2lImIsBehZRTM82xpYotA0hnFJrbs2X4QK8hA4PSHaoXi1Nj7dsXUsjDKjitmyy4y3LilN3Y.YDV5yrkXLXAv4dICb1Y3zxeSpqHPKjAi2wnxquFkl3iLil9SHr_Tm905BtH3Gzb42BANE8Qb92gVxz.NAJtpsJEahpRJxdcbWE8DYrV3RYFvsfHN547YAICrzWVVDDSSsoJRJeLzOCwROSYOwrfYHjQnEwGh5muOmxS5HzhUfYP5aHLhqZeb6H5kuTw20OJGDPwo6kiHvYXQ5pGLORzls9M3QliiYXZqnwKuIymzgEegrBgBIRtniY9vVDdBX0DrsPIdo1OIfetcvxGM.8JBSLBSMgZDiWkuSUYlWE2CGxqbvJ_NVU0iwBdqbjrMA.WptsEZxHF3nBAf_BUHsSrGZUab8pdUELzyc2w6hwX.N6MAq5nYqEg9b61Z35wiXADTD9jydJIIuvOv3nSUgfAXQ49adM2rUdgGFCYh.pNDup4PzCfBRwamdJxtY0WyN8ieKolroieOzF2vw Received: from [70.78.205.161] by web44810.mail.sp1.yahoo.com via HTTP; Mon, 11 Jan 2010 19:48:44 PST X-Mailer: YahooMailRC/272.7 YahooMailWebService/0.8.100.260964 Date: Mon, 11 Jan 2010 19:48:44 -0800 (PST) From: Daniel Papadopoulos To: freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: permission denied X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 04:02:38 -0000 hello i have tried installing free bsd version 7.0=A0 and 8.0=A0 but when i= try to install the packages from the cd rom i get the message =0A=0A=0Aper= mission denied=0A=0Ai just want a graphical interface or my version to work= with kde=0A=0Aps i am loged in as a root user=0Athank you=0A=0A=0A __= ________________________________________________________________=0AThe new = Internet Explorer=AE 8 - Faster, safer, easier. Optimized for Yahoo! Get = it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/ From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 04:05:58 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65DE0106566B for ; Tue, 12 Jan 2010 04:05:58 +0000 (UTC) (envelope-from jhelfman@e-e.com) Received: from mail.experts-exchange.com (mail.experts-exchange.com [64.156.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id 4F1148FC0C for ; Tue, 12 Jan 2010 04:05:58 +0000 (UTC) Received: from eggman.experts-exchange.com (adsl-69-229-200-51.dsl.snlo01.pacbell.net [69.229.200.51]) by mail.experts-exchange.com (Postfix) with ESMTP id 411BC4A6471B; Mon, 11 Jan 2010 20:04:25 -0800 (PST) Received: by eggman.experts-exchange.com (sSMTP sendmail emulation); Mon, _d Jan 2010 20:05:58 -0800 Date: Mon, 11 Jan 2010 20:05:58 -0800 From: Jason To: Daniel Papadopoulos Message-ID: <20100112040558.GA49210@jason-helfmans-macbook-pro.local> References: <354410.47478.qm@web44810.mail.sp1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <354410.47478.qm@web44810.mail.sp1.yahoo.com> X-Operating-System: Darwin 9.8.0 X-Living-The-Dream: I love the SLO Life! User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@FreeBSD.org Subject: Re: permission denied X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 04:05:58 -0000 Can you please document the process from the beginning to how you are receiving this error? This will greatly help in diagnosing the issue. Thanks, Jason On Mon, Jan 11, 2010 at 07:48:44PM -0800, Daniel Papadopoulos thus spake: >hello i have tried installing free bsd version 7.0  and 8.0  but when i try to install the packages from the cd rom i get the message > > >permission denied > >i just want a graphical interface or my version to work with kde > >ps i am loged in as a root user >thank you > > > __________________________________________________________________ >The new Internet Explorer® 8 - Faster, safer, easier. Optimized for Yahoo! Get it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/ >_______________________________________________ >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 Jan 12 04:10:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2910E1065670 for ; Tue, 12 Jan 2010 04:10:18 +0000 (UTC) (envelope-from jhelfman@e-e.com) Received: from mail.experts-exchange.com (mail.experts-exchange.com [64.156.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id 0CB2A8FC0A for ; Tue, 12 Jan 2010 04:10:17 +0000 (UTC) Received: from eggman.experts-exchange.com (adsl-69-229-200-51.dsl.snlo01.pacbell.net [69.229.200.51]) by mail.experts-exchange.com (Postfix) with ESMTP id D95FE4A651BC; Mon, 11 Jan 2010 20:08:44 -0800 (PST) Received: by eggman.experts-exchange.com (sSMTP sendmail emulation); Mon, _d Jan 2010 20:10:17 -0800 Date: Mon, 11 Jan 2010 20:10:17 -0800 From: Jason To: Marwan Sultan Message-ID: <20100112041017.GB49210@jason-helfmans-macbook-pro.local> References: <20091224144648.cc5d8ba1.freebsd@edvax.de> <20091224153544.d8485e6a.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-Operating-System: Darwin 9.8.0 X-Living-The-Dream: I love the SLO Life! User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd@edvax.de, FreeBSD Questions Subject: Re: After freebsd-update - all went wrong. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 04:10:18 -0000 On Thu, Dec 24, 2009 at 03:47:51PM +0000, Marwan Sultan thus spake: > > This is a lesson for me and everyone to never run freebsd-update on a custom kernel > I run FreeBSD on a custom kernel, and do binary updates. However, I can do this because I run my own update server. So all kernels are rebuilt and distributed. It can be done. The power of FreeBSD! >- Marwan Sultan > > System Administrator > >> Date: Thu, 24 Dec 2009 15:35:44 +0100 >> From: freebsd@edvax.de >> To: dead_line@hotmail.com >> CC: freebsd-questions@freebsd.org >> Subject: Re: After freebsd-update - all went wrong. >> >> On Thu, 24 Dec 2009 14:06:48 +0000, Marwan Sultan wrote: >> > well, I have fixed problem two by installing back my custom kernel. >> > but the system still ignores the "defaultroute" command in rc.conf >> > this is why we have manuly added to the rc.local >> >> Is this possibly a spelling error? The setting in rc.conf >> is defaultrouter="..." - routeR. >> >> >> >> > But eventho it shouldnot touch rc.conf right? >> >> Correct. The rc.conf file is one of the few ones that >> shouldn't be in the scope of freebsd-update or mergemaster >> (if you update by source). >> >> >> > my rc.local now has >> > >> > route add default 66.xx.x.x >> > ifconfig em0 66.xx.x.x netmask 255.255.255.255 alias >> >> >> >> > If i take it off, system will not have any defaultroute >> > anymore although its in rc.conf >> > >> > defaultrouter="66.xx.x.x" >> > hostname="xxxxxx.com" >> > ifconfig_em0="inet 66.xx.x.x netmask 255.255.255.0" >> >> Your setting in rc.conf is spelled correctly (see above). >> >> Could you try what happens if you start the inet subsystem >> manually (/etc/rc.d/netif and /etc/rc.d/routing)? The >> last one reads defaultrouter="..." from rc.conf. >> >> As far as I see, the settings in rc.conf are completely >> valid, and should work. If this is still the "old" rc.conf >> (that worked before), the services activated in there >> should be started, too... >> >> You could additionally check /etc/resolv.conf and /etc/hosts >> for any malformed entries. I think /etc/hosts could be >> altered / overwritten by freebsd-update? >> >> >> >> >> -- >> Polytropon >> Magdeburg, Germany >> Happy FreeBSD user since 4.0 >> Andra moi ennepe, Mousa, ... >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >_________________________________________________________________ >Hotmail: Powerful Free email with security by Microsoft. >http://clk.atdmt.com/GBL/go/171222986/direct/01/_______________________________________________ >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 Jan 12 04:38:55 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21B12106566C for ; Tue, 12 Jan 2010 04:38:55 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id D58B48FC16 for ; Tue, 12 Jan 2010 04:38:54 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o0C4cpjb014649 for ; Mon, 11 Jan 2010 20:38:51 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 11 Jan 2010 20:38:51 -0800 (PST) Date: Mon, 11 Jan 2010 20:38:51 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20100112043849.GA96088@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-1.2 required=3.6 tests=ALL_TRUSTED,BAYES_00, FH_DATE_PAST_20XX autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: Subject: partly offtopic, but need feed back now. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 04:38:55 -0000 something on the 12th, seattle time, the cable company may control both our voice lines. in '95 when we moved in, two lines were not available by the telco. when they understood that I was physically disabled, the technician came out the next day and gave us our second line. according to him, on each one copper circuit, there were two unused wires that could be used for a second phone number. so that afternoon I had a dialup line and the house had a voice line. if I'm not mistaken, there are some Qwest people amongst this group. I would like to know if what the telephone installer told me 14 years ago was true, and also, if it is likely unchanged. sometimes both lines ring when our voice line is dialed. there is no one at the telco who believes me; they only believe what they see on their computer screens. I spend an hour plus filling in an html FORM this afternoon explaining things. just heard back that they cannot create a problem ticket [or whatever] with the info I sent. at any rate, within four hours, the cable company will take ownership of the second voice line. I think it is just one physical circuit split in two by a clever tech. gary ps: if you can't ping me sometime mid-afternoon, 12jan10, you know what's happened. OTOH, maybe after all these years, somebody fixed things and I'll be all right -g -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 05:19:37 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71B92106566C for ; Tue, 12 Jan 2010 05:19:37 +0000 (UTC) (envelope-from jon@radel.com) Received: from wave.radel.com (wave.radel.com [216.143.151.4]) by mx1.freebsd.org (Postfix) with ESMTP id 2016B8FC13 for ; Tue, 12 Jan 2010 05:19:36 +0000 (UTC) Received: by wave.radel.com (CommuniGate Pro PIPE 4.1.6) with PIPE id 9328356; Tue, 12 Jan 2010 00:19:35 -0500 Received: from [192.168.43.221] (account jon@radel.com HELO braeburn.local) by wave.radel.com (CommuniGate Pro SMTP 4.1.6) with ESMTP-TLS id 9328354; Tue, 12 Jan 2010 00:19:19 -0500 Message-ID: <4B4C0657.3010806@radel.com> Date: Tue, 12 Jan 2010 00:19:19 -0500 From: Jon Radel User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Gary Kline References: <20100112043849.GA96088@thought.org> In-Reply-To: <20100112043849.GA96088@thought.org> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms090304060304060208070804" X-Radel.com-MailScanner-Information: Please contact Jon for more information X-Radel.com-MailScanner: Found to be clean X-Mailer: CommuniGate Pro CLI mailer Cc: FreeBSD Mailing List Subject: Re: partly offtopic, but need feed back now. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 05:19:37 -0000 This is a cryptographically signed message in MIME format. --------------ms090304060304060208070804 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Gary Kline wrote: > according to him, on each one copper circuit, there were two unused wires that > could be used for a second phone number. so that afternoon I had a dialup line > and the house had a voice line. Or more.... Each POTS (Plain Old Telephone Service) line takes one copper pair. The wiring inside your house probably has two pairs, which can either be used for 2 lines or for 1 line plus power to light the dial of your Princess phone. If your wiring is of the right vintage you might even have the old transformer for providing the power dangling somewhere. The wiring up to your house probably has some even number of pairs. I think I have a 4-pair and a 6-pair at this point, though most are no longer used (I'm down to a single POTS and a single T1, way down from my high point). > > if I'm not mistaken, there are some Qwest people amongst this group. I would > like to know if what the telephone installer told me 14 years ago was true, and > also, if it is likely unchanged. > Well, pretty much unchanged other than that all the local exchange carriers that actually run copper wire to houses are eager to get out of that business to one extent or another. I don't follow this closely, but I think AT&T is the only one to have actually gone public with a request to the FCC to set a date when they can drop POTS lines forever. > > at any rate, within four hours, the cable company will take ownership of the > second voice line. I think it is just one physical circuit split in two by a > clever tech. Hmmmm....if you're doing the standard thing, and porting your phone number to the cable company, they'll have to put some equipment of their own on or in your house. They don't really take ownership of the "line", just the number. See if you can get the tech to make real sure that your two inside pairs are well isolated so maybe you can get rid of the problem of ring voltage leaking from one to the other. He'll probably just detach one of your inside pairs from Qwest and hook it up to his box, assuming he doesn't just wave his hands and tell you plug your phone in "here" and go away. -- --Jon Radel jon@radel.com --------------ms090304060304060208070804 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJMTCC AvMwggJcoAMCAQICEB1eDeVYxhAO39zOEnHiAbwwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA5MDIyNTA0MTMyNloX DTEwMDIyNTA0MTMyNlowXjEOMAwGA1UEBBMFUmFkZWwxEzARBgNVBCoTCkpvbiBUaG9tYXMx GTAXBgNVBAMTEEpvbiBUaG9tYXMgUmFkZWwxHDAaBgkqhkiG9w0BCQEWDWpvbkByYWRlbC5j b20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDeT7qtj+euqWr2wXM7OnwrXJe9 Jlc0CGaM69AcTWOFakRY7MUXrqcmF5WjrqrMoagfGjS362eb6787x313ZdLoGuQPh/o2Mqp4 BbSgcnGZRj82SxkUmSN6+2q5ZOOYA6JmfvJwmBuRQ8sHki4GnoSwbIc11a70/z4at5qRi8bb /RtmJYewnpwXErfuuq0hhVSsYKFPXELzSahlpyC+lUfIdgvLJGxc7eU5QuvtYmuohNjn4k9C SJinvfjFbkvgbIgtvZxxmcE74NsKTeW2bEwgoCjZlcAD/QMgLE9KGSVn4/LzC/OZwkPKcWKO CPTNIZK1P+HxaIW4BvvYtjLu2Qx5AgMBAAGjKjAoMBgGA1UdEQQRMA+BDWpvbkByYWRlbC5j b20wDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQUFAAOBgQBT+qFXV8sexrNOJuK8rhVpnCNF iFslD9Kelhon5Tt1tlTsw+B9F9B8ys9tfV559tzVqE+ULcqnjX2rsaJCwFmn6gyucCN0yGML h1O4ddsNQmoTOILyBCv/rkfO4tbXJM3si2JDNPZnL/0Rf3FpDTc3U3SnAdqE1a/8PGBTTmay VDCCAvMwggJcoAMCAQICEB1eDeVYxhAO39zOEnHiAbwwDQYJKoZIhvcNAQEFBQAwYjELMAkG A1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNV BAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA5MDIyNTA0MTMy NloXDTEwMDIyNTA0MTMyNlowXjEOMAwGA1UEBBMFUmFkZWwxEzARBgNVBCoTCkpvbiBUaG9t YXMxGTAXBgNVBAMTEEpvbiBUaG9tYXMgUmFkZWwxHDAaBgkqhkiG9w0BCQEWDWpvbkByYWRl bC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDeT7qtj+euqWr2wXM7Onwr XJe9Jlc0CGaM69AcTWOFakRY7MUXrqcmF5WjrqrMoagfGjS362eb6787x313ZdLoGuQPh/o2 Mqp4BbSgcnGZRj82SxkUmSN6+2q5ZOOYA6JmfvJwmBuRQ8sHki4GnoSwbIc11a70/z4at5qR i8bb/RtmJYewnpwXErfuuq0hhVSsYKFPXELzSahlpyC+lUfIdgvLJGxc7eU5QuvtYmuohNjn 4k9CSJinvfjFbkvgbIgtvZxxmcE74NsKTeW2bEwgoCjZlcAD/QMgLE9KGSVn4/LzC/OZwkPK cWKOCPTNIZK1P+HxaIW4BvvYtjLu2Qx5AgMBAAGjKjAoMBgGA1UdEQQRMA+BDWpvbkByYWRl bC5jb20wDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQUFAAOBgQBT+qFXV8sexrNOJuK8rhVp nCNFiFslD9Kelhon5Tt1tlTsw+B9F9B8ys9tfV559tzVqE+ULcqnjX2rsaJCwFmn6gyucCN0 yGMLh1O4ddsNQmoTOILyBCv/rkfO4tbXJM3si2JDNPZnL/0Rf3FpDTc3U3SnAdqE1a/8PGBT TmayVDCCAz8wggKooAMCAQICAQ0wDQYJKoZIhvcNAQEFBQAwgdExCzAJBgNVBAYTAlpBMRUw EwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgGA1UEChMRVGhh d3RlIENvbnN1bHRpbmcxKDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMgRGl2aXNp b24xJDAiBgNVBAMTG1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTErMCkGCSqGSIb3DQEJ ARYccGVyc29uYWwtZnJlZW1haWxAdGhhd3RlLmNvbTAeFw0wMzA3MTcwMDAwMDBaFw0xMzA3 MTYyMzU5NTlaMGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAo UHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBD QTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAxKY8VXNV+065yplaHmjAdQRwnd/p/6Me 7L3N9VvyGna9fww6YfK/Uc4B1OVQCjDXAmNaLIkVcI7dyfArhVqqP3FWy688Cwfn8R+RNiQq E88r1fOCdz0Dviv+uxg+B79AgAJk16emu59l0cUqVIUPSAR/p7bRPGEEQB5kGXJgt/sCAwEA AaOBlDCBkTASBgNVHRMBAf8ECDAGAQH/AgEAMEMGA1UdHwQ8MDowOKA2oDSGMmh0dHA6Ly9j cmwudGhhd3RlLmNvbS9UaGF3dGVQZXJzb25hbEZyZWVtYWlsQ0EuY3JsMAsGA1UdDwQEAwIB BjApBgNVHREEIjAgpB4wHDEaMBgGA1UEAxMRUHJpdmF0ZUxhYmVsMi0xMzgwDQYJKoZIhvcN AQEFBQADgYEASIzRUIPqCy7MDaNmrGcPf6+svsIXoUOWlJ1/TCG4+DYfqi2fNi/A9BxQIJNw PP2t4WFiw9k6GX6EsZkbAMUaC4J0niVQlGLH2ydxVyWN3amcOY6MIE9lX5Xa9/eH1sYITq72 6jTlEBpbNU1341YheILcIRk13iSx0x1G/11fZU8xggNkMIIDYAIBATB2MGIxCzAJBgNVBAYT AlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNU aGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQQIQHV4N5VjGEA7f3M4SceIBvDAJ BgUrDgMCGgUAoIIBwzAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEP Fw0xMDAxMTIwNTE5MTlaMCMGCSqGSIb3DQEJBDEWBBSlBiq4s0a8dWoqbep6/c3cut6hgzBS BgkqhkiG9w0BCQ8xRTBDMAoGCCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggqhkiG9w0D AgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDCBhQYJKwYBBAGCNxAEMXgwdjBiMQswCQYD VQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UE AxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECEB1eDeVYxhAO39zOEnHi AbwwgYcGCyqGSIb3DQEJEAILMXigdjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0ECEB1eDeVYxhAO39zOEnHiAbwwDQYJKoZIhvcNAQEBBQAEggEAlaQE /uFx2Dx/h1wJZidghSv9NJ4L7f8Ax6wrzlLDvADw9uisiZfEp662ZUsgbzWTJ8jgCsOgovo9 lELNtw+1YTML8e9ijKHn6EcnOguvbC4Es6FeakQrUios0c5D/KSwUyvCWJihcfNUdVHAZXpD G9c7bh9j2j0evNkKTgrdt5lDAAauDzAHIgkf6fncFieeKYE3MTQm7S3Uqa1fJITf3zNd12F1 Y5iDOEcQhGUR9YoBt3zixCzp689BFC7C6e8YwV6nqDklheIxYfotRbvR4C8YQQOodYKG0Jut BRbMCRiUrM50ZANYOmDjHPJ0Mjk4zN5yXeHxsmJjJaTT5ZzxfwAAAAAAAA== --------------ms090304060304060208070804-- From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 05:36:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C6DA106566C for ; Tue, 12 Jan 2010 05:36:34 +0000 (UTC) (envelope-from bennett@cs.niu.edu) Received: from mp.cs.niu.edu (mp.cs.niu.edu [131.156.145.41]) by mx1.freebsd.org (Postfix) with ESMTP id DBBCE8FC13 for ; Tue, 12 Jan 2010 05:36:33 +0000 (UTC) Received: from mp.cs.niu.edu (bennett@localhost [127.0.0.1]) by mp.cs.niu.edu (8.14.3/8.14.3) with ESMTP id o0C5aP10006890; Mon, 11 Jan 2010 23:36:25 -0600 (CST) Date: Mon, 11 Jan 2010 23:36:25 -0600 (CST) From: Scott Bennett Message-Id: <201001120536.o0C5aPrW006889@mp.cs.niu.edu> To: freebsd-questions@freebsd.org, kraduk@googlemail.com Cc: Subject: Re: "glabel label" 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, 12 Jan 2010 05:36:34 -0000 On Mon, 11 Jan 2010 12:24:47 +0000 krad wrote: >2010/1/11 Scott Bennett > >> My system currently has three external disk drives connected via USB >> 2.0 >> ports and will soon have another drive connected via a Firewire port. The >> three already present have quite a few partitions on them, nearly all of >> which >> already contain file systems with lots of files in them. I would like to >> use >> the "glabel label" method of labeling each of these partitions, so that I >> do >> not always have to disconnect all but one external drive when rebooting the >> system and then reconnect them one by one in order to get the proper device >> files assigned to them for use with /etc/fstab entries. >> However, some of these partitions contain GELI-encrypted file systems. >> Can the "glabel label" sort of labeling be used with encrypted partitions? >> If so, can "glabel label" be used on the encrypted partitions without >> destroying the file systems or the data in them? Or will I need to >> recreate >> the file systems after labeling the partitions and then restore their >> contents >> from backups? Is there any danger to unencrypted partitions and data when >> using the "glabel label" operation? >> Thanks in advance for any help with this matter. >> > >just unmount them and do a tunefs -L on them. Geli works a >layer below the fs so should work fine. > Thank you for responding. Unfortunately, it appears I didn't state my questions clearly enough. The layering of the software is not what concerns me most here. What worries me is whether writing the label information to the disk will overwrite my data or file system control structure data that are already present on the disk. The layering issue that does concern me, however, is not that GELI lies below the file system, which one can clearly see even from the instructions in the handbook for setting up GELI-encrypted partitions. What is at issue is whether GELI can properly handle /dev/label/somename as a provider for a "geli attach" operation, creating then a /dev/label/somename.eli device file that can then be mounted onto a directory in the file system. Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * ********************************************************************** From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 06:59:36 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17C061065670 for ; Tue, 12 Jan 2010 06:59:36 +0000 (UTC) (envelope-from bill@celestial.com) Received: from dorsai-02.celestial.com (dorsai-02.celestial.com [192.136.111.19]) by mx1.freebsd.org (Postfix) with ESMTP id D5D628FC0C for ; Tue, 12 Jan 2010 06:59:35 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by dorsai-02.celestial.com (Postfix) with ESMTP id 3A5DF206FF1D for ; Mon, 11 Jan 2010 22:59:35 -0800 (PST) X-Virus-Scanned: amavisd-new at celestial.com Received: from dorsai-02.celestial.com ([127.0.0.1]) by localhost (dorsai-02.celestial.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id sPOaDLUfR5a8 for ; Mon, 11 Jan 2010 22:59:35 -0800 (PST) Received: from ayn.mi.celestial.com (hayek.celestial.com [192.136.111.12]) by dorsai-02.celestial.com (Postfix) with ESMTP id 0242C206FF1B for ; Mon, 11 Jan 2010 22:59:35 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by ayn.mi.celestial.com (Postfix) with ESMTP id CD45168BA9AF8; Mon, 11 Jan 2010 22:59: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 vWO+Eaka3Raf; Mon, 11 Jan 2010 22:59:34 -0800 (PST) Received: by ayn.mi.celestial.com (Postfix, from userid 203) id AFAA36866D3E3; Mon, 11 Jan 2010 22:59:34 -0800 (PST) Date: Mon, 11 Jan 2010 22:59:34 -0800 From: Bill Campbell To: freebsd-questions@freebsd.org Message-ID: <20100112065934.GA24686@ayn.mi.celestial.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <20100112043849.GA96088@thought.org> <4B4C0657.3010806@radel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B4C0657.3010806@radel.com> User-Agent: Mutt/1.5.19 OpenPKG/% (2009-01-05) Subject: Re: partly offtopic, but need feed back now. 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, 12 Jan 2010 06:59:36 -0000 On Tue, Jan 12, 2010, Jon Radel wrote: > Gary Kline wrote: > ... > Hmmmm....if you're doing the standard thing, and porting your phone > number to the cable company, they'll have to put some equipment of their > own on or in your house. They don't really take ownership of the > "line", just the number. One thing to be aware of with the cable company -- when we had a week-long power outage a year or so ago, it took Comcast another week to get the cable back up and running after the power came back on. Our T1 and other phone lines were fine, and our generator kept the computers up and running throughout. Bill -- INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 The laws that forbid the carrying of arms ... disarm only those who are neither inclined nor determined to commit crime.... Such laws make things worse for the assaulted and better for the assailants; they serve to encourage rather than to prevent homicides, for an unarmed man may be attacked with greater confidence than an armed one. -- Cesare Beccaria From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 07:12:25 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D45C2106566C for ; Tue, 12 Jan 2010 07:12:25 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id 756438FC14 for ; Tue, 12 Jan 2010 07:12:25 +0000 (UTC) Received: from localhost ([127.0.0.1]) by mail.ose.nl; Tue, 12 Jan 2010 08:12:17 +0100 Message-ID: <4B4C20D1.3060408@ose.nl> Date: Tue, 12 Jan 2010 08:12:17 +0100 From: Bas Smeelen User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20100111123219.GA2270@current.Sisis.de> <8983DD34-2BF4-4FC9-B96F-5108E10AE9C4@goldmark.org> In-Reply-To: <8983DD34-2BF4-4FC9-B96F-5108E10AE9C4@goldmark.org> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Cc: guru@unixarea.de Subject: Re: Q: recommendation for external USB disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 07:12:25 -0000 Jeffrey Goldberg wrote=3A =3E On Jan 11=2C 2010=2C at 6=3A32 AM=2C Matthias Apitz wrote=3A =3E =3E =20 =3E=3E Can someone recommend a good external USB disk for backups which wor= ks =3E=3E with FreeBSD 8=2E0 and has more than 512 GByte=3F Thx in advance =3E=3E =20 =3E =3E Pretty much anything that you consider to be a reliable supplier will d= o=2E There are no specific FreeBSD requirements as far as I know=2E =3E =3E I recommend that you get a disk that is externally powered instead of w= ith power supplied over USB=2E =3E =20 I use Freecom hard drive XS 1=2E5TB USB2=2E0 on our fallback servers as back-up disks=2E These are always connected to the servers for over half a year now=2E I have not had any problems with them and the price was ok=2E da1 at umass-sim0 bus 0 target 0 lun 0 da1=3A =3CFreecom Hard Drive XS 1=2E00=3E Fixed Direct Access SCSI-2 device= da1=3A 40=2E000MB/s transfers da1=3A 1430799MB =282930277168 512 byte sectors=3A 255H 63S/T 182401C=29 /dev/da1s1d on /usr/home/www/backup =28ufs=2C local=2C soft-updates=29 This is on FreeBSD 7=2E2-RELEASE-p6 DISCLAIMER=3A This e-mail is for the intended recipient=28s=29 only=2E Access=2C disclosure=2C copying=2C distribution or reliance on any of it by= anyone else is prohibited=2E If you have received it by mistake please let us know by reply and then del= ete it from your system=2E From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 07:36:01 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C30471065670 for ; Tue, 12 Jan 2010 07:36:01 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from monday.kientzle.com (kientzle.com [66.166.149.50]) by mx1.freebsd.org (Postfix) with ESMTP id 7EE2C8FC15 for ; Tue, 12 Jan 2010 07:36:01 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.3/8.14.3) id o0C7CRRt096676; Tue, 12 Jan 2010 07:12:27 GMT (envelope-from kientzle@freebsd.org) Received: from dark.x.kientzle.com (fw2.kientzle.com [10.123.1.2]) by kientzle.com with SMTP id 3ywm9y2bucfebbv74fq9cu7h66; Tue, 12 Jan 2010 07:12:27 +0000 (UTC) (envelope-from kientzle@freebsd.org) Message-ID: <4B4C20F9.1070809@freebsd.org> Date: Mon, 11 Jan 2010 23:12:57 -0800 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.21) Gecko/20090601 SeaMonkey/1.1.16 MIME-Version: 1.0 To: "b. f." References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: andrew clarke , freebsd-questions@freebsd.org Subject: Re: pkgtools and xz compressor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 07:36:02 -0000 b. f. wrote: >> I notice FreeBSD 7.2's pkg_add, pkg_create, etc don't have support for >> the xz compressor, evidently due to lack of support for the xz format >> in bsdtar. Does bsdtar support xz in FreeBSD 8.0? If you have the xz port installed, yes. If you have liblzma installed, you can even recompile libarchive with native xz support by following the comments in lib/libarchive/Makefile. >>Failing that, is >> xz support for the pkgtools something being looked at in future? Yes, xz support is being looked at. Lzma-family compression has been of interest for some time but there have been a number of technical issues. The "xz" format seems to address those but the software is still in beta. Once a final production version of the xz software is available, I expect it to be imported into FreeBSD-CURRENT fairly quickly. Cheers, Tim From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 07:41:01 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 579491065672 for ; Tue, 12 Jan 2010 07:41:01 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 218B18FC08 for ; Tue, 12 Jan 2010 07:41:00 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o0C7evVI015827; Mon, 11 Jan 2010 23:40:57 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 11 Jan 2010 23:40:57 -0800 (PST) Date: Mon, 11 Jan 2010 23:40:57 -0800 From: Gary Kline To: Jon Radel Message-ID: <20100112074057.GA96462@thought.org> References: <20100112043849.GA96088@thought.org> <4B4C0657.3010806@radel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B4C0657.3010806@radel.com> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-1.2 required=3.6 tests=ALL_TRUSTED,BAYES_00, FH_DATE_PAST_20XX autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: FreeBSD Mailing List Subject: Re: partly offtopic, but need feed back now. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 07:41:01 -0000 On Tue, Jan 12, 2010 at 12:19:19AM -0500, Jon Radel wrote: > Gary Kline wrote: > > >according to him, on each one copper circuit, there were two unused wires > >that > >could be used for a second phone number. so that afternoon I had a dialup > >line > >and the house had a voice line. > > Or more.... > > Each POTS (Plain Old Telephone Service) line takes one copper pair. The > wiring inside your house probably has two pairs, AH. yes, this is what the guy told me. he used all of the wires and I was able to connect my FreeBSD 2.0.5 with work. and call in to work too. :-) > which can either be > used for 2 lines or for 1 line plus power to light the dial of your > Princess phone. If your wiring is of the right vintage you might even > have the old transformer for providing the power dangling somewhere. LOL. I have no idea what kind of wiring this place had, but it was built in 1994; a spec house that we bought several month later. I do remember the Princess phonese... hadn't thought-of for decades, tho. So then some of the wires might have been used for current?? I didn't know that. the installer told me that two were for voice; the other two were ground. hmmm. I know that there has to be some juice in the wires, but never had any idea how much. right now, our one voice ckt had 3 Costco phones plugged in and they have LEDs. oH, wait, there's a wire to a small xformer that plugs into the wall.... > The > wiring up to your house probably has some even number of pairs. I think > I have a 4-pair and a 6-pair at this point, though most are no longer > used (I'm down to a single POTS and a single T1, way down from my high > point). If I could afford a T1, I'd go for that. but really it would be idioic. overkill. I'm happy with what I have from qwest [period] > > > > >if I'm not mistaken, there are some Qwest people amongst this group. I > >would > >like to know if what the telephone installer told me 14 years ago was > >true, and > >also, if it is likely unchanged. > > > > Well, pretty much unchanged other than that all the local exchange > carriers that actually run copper wire to houses are eager to get out of > that business to one extent or another. Why? not enough money? I can see where copper could be ttoo costly; where fiber would be much better. but then I'm thinking of the situation where the copper runs only a hundred meter at most. > I don't follow this closely, > but I think AT&T is the only one to have actually gone public with a > request to the FCC to set a date when they can drop POTS lines forever. > there was a show, Laugh-In, where Lilly Tomlin made fun of 'the phone company' ... but the situation has changed completely in 35-40 years. I'm dating myself, but facts is fax. > > > >at any rate, within four hours, the cable company will take ownership of > >the > >second voice line. I think it is just one physical circuit split in two > >by a > >clever tech. > > Hmmmm....if you're doing the standard thing, and porting your phone > number to the cable company, they'll have to put some equipment of their > own on or in your house. They don't really take ownership of the > "line", just the number. the guy put in an RCA "VOIP" box. my daughter net connection is running from the wall to the box, her cat5 cable plugs into the box. I dont know how he got the other voice line working. voodo? I saw him in the corner where the cable to our tv set is, but had no idea what he was doingt there. all I see is the voip box and the comcast wire from the second wall ckt. [?] > > See if you can get the tech to make real sure that your two inside pairs > are well isolated so maybe you can get rid of the problem of ring > voltage leaking from one to the other. He'll probably just detach one > of your inside pairs from Qwest and hook it up to his box, assuming he > doesn't just wave his hands and tell you plug your phone in "here" and > go away. > my speech is too messed up, but my wife spent 13 hours on saturday talking to comcast who said it was quest///qwest's problem; then she talked to qwest for countless hours with my typing at her from my display. we talked to call centers all ovr the globe to people who had never heard of unix and barely even linux..... I was going to roll over to the lines outside but they are too far for me to see anything. I was saying that all comcast needed to do was to undo what the installer had dione in '95.... but then there would be no cable phone/internet service since it was [is?] ONE F-LOUSY ckt. I expect things to go dead here in about 20 minutes. I mean my site. nobody will believe me until that actually happens. all they believe is what they read off their computer displays...... > -- > > --Jon Radel > jon@radel.com -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 07:48:37 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBEAB106566C for ; Tue, 12 Jan 2010 07:48:37 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 7D97B8FC19 for ; Tue, 12 Jan 2010 07:48:37 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o0C7mYgV015916 for ; Mon, 11 Jan 2010 23:48:34 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 11 Jan 2010 23:48:34 -0800 (PST) Date: Mon, 11 Jan 2010 23:48:34 -0800 From: Gary Kline To: freebsd-questions@freebsd.org Message-ID: <20100112074834.GB96462@thought.org> References: <20100112043849.GA96088@thought.org> <4B4C0657.3010806@radel.com> <20100112065934.GA24686@ayn.mi.celestial.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100112065934.GA24686@ayn.mi.celestial.com> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-1.2 required=3.6 tests=ALL_TRUSTED,BAYES_00, FH_DATE_PAST_20XX autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Subject: Re: partly offtopic, but need feed back now. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 07:48:37 -0000 On Mon, Jan 11, 2010 at 10:59:34PM -0800, Bill Campbell wrote: > On Tue, Jan 12, 2010, Jon Radel wrote: > > Gary Kline wrote: > > > ... > > Hmmmm....if you're doing the standard thing, and porting your phone > > number to the cable company, they'll have to put some equipment of their > > own on or in your house. They don't really take ownership of the > > "line", just the number. > > One thing to be aware of with the cable company -- when we had a > week-long power outage a year or so ago, it took Comcast another > week to get the cable back up and running after the power came > back on. Our T1 and other phone lines were fine, and our > generator kept the computers up and running throughout. hehehehehe. I mean: "oh no, oh my heavens." well, I tried to caution my family, but .... seriously, I'm not anything remotely gleeful or even smiling. the past few months has burned me out gary ps: if my domain suddenly become un-pingable, you'll know the score. > > Bill > -- > INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC > URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way > Voice: (206) 236-1676 Mercer Island, WA 98040-0820 > Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 > > The laws that forbid the carrying of arms ... disarm only those > who are neither inclined nor determined to commit crime.... Such > laws make things worse for the assaulted and better for the > assailants; they serve to encourage rather than to prevent > homicides, for an unarmed man may be attacked with greater > confidence than an armed one. -- Cesare Beccaria > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 08:02:07 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25C13106568D for ; Tue, 12 Jan 2010 08:02:07 +0000 (UTC) (envelope-from shihang0506@gmail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id EA4F98FC20 for ; Tue, 12 Jan 2010 08:02:06 +0000 (UTC) Received: by pwi15 with SMTP id 15so2142148pwi.3 for ; Tue, 12 Jan 2010 00:02:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=RfcMQwpUUltdyvLs/yyW+HvuwXAxzqgvLDhe/ABq49I=; b=fL6ORmbBQ+4oDYGG1PmeKE9F7TaVAWCZD37s2jY8Mq2LNzUmxNJd2/lT0/6e7TC2cK mJ4+e7dn7LfiydRTjr3BJL2o2KXZwjXc+uluAqWYC1IGWzE86nPPfcip2Z/jVK9xOKoM VfJP4h5psig3DRrbT1QDdxDSrlhSQXwwsph3c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=ve8qZjVe0gU76gCBPPx79z+7C7V0tV5aViX7r5fkbDTLcWnnYZyZupIc+dUa/de7vW FPs/8jX7g2/6TiulYOSLEY62L2JmumNa9HSJ5V0A77yeL9866EG36VHzCiEJUP+0Yebb tMUN70ZxewGtolbuPhTa+uAYOrTuVGy19vrTQ= MIME-Version: 1.0 Sender: shihang0506@gmail.com Received: by 10.142.7.40 with SMTP id 40mr4085072wfg.120.1263283320885; Tue, 12 Jan 2010 00:02:00 -0800 (PST) In-Reply-To: <20100111104440.2vc6xxvc0k8oc80g@www.envieweb.net> References: <20100111104440.2vc6xxvc0k8oc80g@www.envieweb.net> Date: Tue, 12 Jan 2010 16:02:00 +0800 X-Google-Sender-Auth: 31333a2fa4bba8d1 Message-ID: From: Paul Shi To: nvidican@envieweb.net Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Setup of Router machine 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: Tue, 12 Jan 2010 08:02:07 -0000 Nathan, Thank you very much for your reply. I have tried out your suggestion and experienced some problem. Hope you could kindly shed some light on them and I really appreciate it. First, I experienced connection problem from server machine(192.168.2.1) to router interface (192.168.2.2). I connected the two network cards with standard Internet cable and tried to ping each other. However, it output following message which makes me think the connection between server and router is problematic; PING sendto Host is down. Any idea why this is happening? I think "ping" should work as long as I set the IP of network cards correctly and connect them with cable. Second, I am confused about the setup at the router machine. How the router machine figures out the relationship between 192.168.2.2 and 192.168.1.1 if we do not configure it to do so? Is there anything needs to be done besides adding route at server machine and client? Thank you very much for your kind attention! Have a nice day! Your sincerely, Paul Shi Electronic and Communication Engineering Senior Department of Electrical and Electronic Engineering University of Hong Kong On Mon, Jan 11, 2010 at 11:44 PM, wrote: > Quoting Paul Shi : > > Dear All, >> >> I have tried to setup a wireless network consist of a server, AP, a router >> machine and wireless client. Here is setup and configuration of my design. >> Please correct me if I am wrong about anything. >> >> Server >> IP: 192.168.2.1, Gateway: 192.168.2.2, Netmask: 255.255.255.0 >> >> --------------------------------------------------------------------------------------------- >> IP: 192.168.2.2, Netmask: 255.255.255.0 >> Router >> IP: 192.168.1.1, Netmask: 255.255.255.0 >> >> --------------------------------------------------------------------------------------------- >> IP:192.168.1.2, Gateway: 192.168.1.1, Netmask: 255.255.255.0 >> Access Point >> >> --------------------------------------------------------------------------------------------- >> IP: 192.168.1.3, Netmask: 255.255.255.0 >> Client >> >> I have add following to /etc/rc.conf of server machine >> >> static_routes="serverinternal" >> routes_serverinternal="'-net 192.168.2.1/24 192.168.2.2" >> >> and following to /etc/rc.conf of router machine >> >> static_routes="internal" >> routes_internal="'-net 192.168.2.2/24 192.168.1.1" >> >> Is there anything I have done wrong? Or anything else I need to do. My >> problem now is I cannot connect from server to router machine. Any >> suggestion would be greatly appreciated! >> >> Your sincerely, >> Paul Shi >> Electronic and Communication Engineering Senior >> Department of Electrical and Electronic Engineering >> University of Hong Kong >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> >> > Paul, > > It seems to me your problem is in your route configuration. " > 192.168.2.1/24" is incorrect, /24 indicates the bitmask; the network > address should be correctly written as "192.168.2.0/24" instead indicating > a network address of '192.168.2.0' with a network of 254 usable IP addresses > in the same subnet. > > You'll thus only have to have ONE route entry for the whole network, not > one per IP (unless that is your intention -in which case the '-net' syntax > is incorrectly being used). So long as routing is turned on (man sysctl), > simply pointing the server to the router and the client to the router to > connect to each other should work. Try doing the commands from the console > first to get it all working, then worry about putting in the startup configs > on boot-up. > > Given your example, I'd login to 'server' and run: > > route add 192.168.1.0/24 192.168.2.2 > (if the router is the ONLY router from the server, use this instead): > route add 0.0.0.0 192.168.2.2 > > Then, from the client, add: > route add 192.168.2.0/24 192.168.1.1 > > The gateway/router box itself does not need any routing setup internally; > you don't need/shouldn't be setting any routes given that 192.168.2.2, and > 192.168.1.2 are hosts on the two networks for which you want to allow > routes. They key is in getting the clients to both use the same gateway, (as > accessible from the network they are respectfully on). This may be a little > more clearly depicted below: > > Host A (192.168.2.1) <--> Router (192.168.2.2) (192.168.1.1) <--> Host B > (192.168.1.3) > > Host A: > - needs to know to use '192.168.2.2' as it's gateway to 192.168.1.0/24 > - may just use 192.168.2.2 as it's default gateway to ANY network > > Host B: > - needs to know to use '192.168.1.1' as it's gateway to 192.168.2.0/24 > - similarly, may just use '192.168.1.1' as it's default gateway to ANY as > well > > Assuming you're connecting the internet at some point to the gateway > (router) machine, a decent firewall filter and NAT will most likely be > required as well. Read up in the handbook a bit on the subject or feel free > to come back for more info if needed. > > Hope this helps. > > -- > Nathan Vidican > nathan@vidican.com > > From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 08:13:15 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9AE1A106566B for ; Tue, 12 Jan 2010 08:13:15 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 5D3188FC0A for ; Tue, 12 Jan 2010 08:13:15 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o0C8DCuC016124 for ; Tue, 12 Jan 2010 00:13:12 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Tue, 12 Jan 2010 00:13:12 -0800 (PST) Date: Tue, 12 Jan 2010 00:13:12 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20100112081309.GA96649@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-0.6 required=3.6 tests=ALL_TRUSTED,BAYES_00, FH_DATE_PAST_20XX,J_CHICKENPOX_21 autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: Subject: post midnight and still live.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 08:13:15 -0000 it's the 12th and my link thru qwest is still up. for now. maybe the tech from comcast saw how things were wired and fixed it. maybe he is a laid ofif ph.d. philosophy prof.... never know , given the economy. anyhow, I hope things still work over the next several days... -g -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 08:20:28 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32014106566B for ; Tue, 12 Jan 2010 08:20:28 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id E15888FC1B for ; Tue, 12 Jan 2010 08:20:27 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NUbzF-0004QM-GP for freebsd-questions@freebsd.org; Tue, 12 Jan 2010 09:20:25 +0100 Received: from pool-70-21-26-190.res.east.verizon.net ([70.21.26.190]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Jan 2010 09:20:25 +0100 Received: from nightrecon by pool-70-21-26-190.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Jan 2010 09:20:25 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Tue, 12 Jan 2010 03:20:09 -0500 Lines: 31 Message-ID: References: <4B4B2140.5020202@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-70-21-26-190.res.east.verizon.net User-Agent: KNode/4.3.4 Sender: news Subject: Re: Converting i386 to amd64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2010 08:20:28 -0000 Matthew Seaman wrote: > Michael Powell wrote: >> Greetings everyone: [snip] >> >> Thanks in advance for the wielding of any clue sticks. :-) > > This sort of process /is/ possible, but it is a lot more involved than > you're anticipating. Unless you're the sort of person that likes doing > terribly complicated and risky procedures for the hell of it, you are > going to be better off just starting from scratch and reinstalling using > an AMD64 .iso. It's going to be quicker to reinstall anyhow. > > Cheers, > > Matthew OK, that's what I needed to know. It just didn't seem as if something as complex as a cross build could be handled with just one little "TARGET=xxx". Terrible and complicated for no real gain is not my style. I like KISS. I have done scratch reloads before and can handle it just fine, it's more a time management fork in the road issue. This tells me I can allocate xxxx amount of time for a scratch reload as opposed to yyyy time for 'terrible and complicated'. It just means more console time instead of coming by once an hour for a few minutes. I'll stick with what I know will work then, and budget my time accordingly. Thanks for the reply! -Mike From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 08:45:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85D81106566B; Tue, 12 Jan 2010 08:45:34 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id 1EF018FC2A; Tue, 12 Jan 2010 08:45:33 +0000 (UTC) Received: by yxe1 with SMTP id 1so20661912yxe.3 for ; Tue, 12 Jan 2010 00:45:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=0Qh9fU99LQ6Y6PztQoFGer6tmJYDrqgoWEcZBk3Z0o0=; b=fnYHbBkyL+FVXbsJWd6rjRjGzttoKwgEYCKsQjKA3ny2HbNOObB9fJikejZTXH7+Fo kqlGBrV/GfQDg4u6tPWUrlHAhAsg+f2WSnUgnk4clMlqgLriyoswtkjTcLshRKJBV6xO RKdfFp6DKDg0G5nX3/7+fDOYBYDrd50RkH7hk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=woyxqk/KeirAyP6oMEhfz477UKCyyd5p+ORJq3fCiB0itRpvM7HkI7YzQbnH+fNYIv 2ZpVsncUsKNqNq+MaEt9FkP/3nJ5HQDXnZx0IIm/1Deo7vy4CHwCd2rkBvh5o2j5h+sT AIkdBan+lur/PDNKxJonu33k3fAuenn3F9P/0= MIME-Version: 1.0 Received: by 10.101.132.14 with SMTP id j14mr9600223ann.58.1263285927478; Tue, 12 Jan 2010 00:45:27 -0800 (PST) Date: Tue, 12 Jan 2010 10:45:27 +0200 Message-ID: From: Dan Naumov To: freebsd-questions@freebsd.org, freebsd-fs@freebsd.org, FreeBSD-STABLE Mailing List Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: installing FreeBSD 8 on SSDs and UFS2 - partition alignment, block sizes, what does one need to know? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 08:45:34 -0000 For my upcoming storage system, the OS install is going to be on a 80gb Intel SSD disk and for various reasons, I am now pretty convinced to stick with UFS2 for the root partition (the actual data pool will be ZFS using traditional SATA disks). I am probably going to use GPT partitioning and have the SSD host the swap, boot, root and a few other partitions. What do I need to know in regards to partition alignment and filesystem block sizes to get the best performance out of the Intel SSDs? Thanks. - Sincerely, Dan Naumov From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 09:12:15 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D52A01065670 for ; Tue, 12 Jan 2010 09:12:15 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from werkwelt.de (post.werkwelt.de [91.194.85.74]) by mx1.freebsd.org (Postfix) with ESMTP id 7282F8FC08 for ; Tue, 12 Jan 2010 09:12:14 +0000 (UTC) Received: from [134.61.4.247] (account kuku@kukulies.org [134.61.4.247] verified) by werkwelt.de (CommuniGate Pro SMTP 5.0.13) with ESMTPSA id 6744973; Tue, 12 Jan 2010 10:11:56 +0100 Message-ID: <4B4C3CCB.4000101@kukulies.org> Date: Tue, 12 Jan 2010 10:11:39 +0100 From: Christoph Kukulies User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Mike Tancsa References: <4B434D52.3030301@kukulies.org> <20100106023007.b3a19517.freebsd@edvax.de> <201001060243.o062h4JS072008@lava.sentex.ca> <4B44602C.9070507@kukulies.org> In-Reply-To: <4B44602C.9070507@kukulies.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Polytropon , freebsd-questions@freebsd.org Subject: Re: copying a disk with ignoring errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2010 09:12:15 -0000 Allow me to continue this thread with a question about a method to erase a disk that has bad sectors. I bought a 1TB hard disk and will do the recoverdisk job soon. Then the disk, a Seagate which is still under warranty until 2013 as my local distributor told me, will go back and hopefully I'll be getting a replacement in a few weeks. But before I'll giv back that disk I would like to erase the disk thoroughly. Now, is the a way to do that in the opposite direction? Would dd noerror do that? Christoph Kukulies schrieb: > Thanks to all. > > recoverdisk > > was the one, indeed. phk was the original author. And that was the one > that already helped me once. > Maybe I could have searched the archives also and would have been > able to find that previous message a couple of years ago. > > I also found by searching archives, that ffsrecov, now ffs2recov, > might be a tool for partially recovering a disk. > > -- > Christoph > > Mike Tancsa schrieb: >> At 08:30 PM 1/5/2010, Polytropon wrote: >>> recoverdisk >> >> This one worked for me to recover my mum's borked Windows XP HD. It >> was able to recover enough, that I only needed to find one missing >> dll. Prior to that, it wouldnt even boot up getting stuck on the >> failing parts of the disk. >> >> ---Mike >> From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 09:42:10 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84C6C1065670 for ; Tue, 12 Jan 2010 09:42:10 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id 37B678FC12 for ; Tue, 12 Jan 2010 09:42:09 +0000 (UTC) Received: from beta.1-16-172-dyn.locolomo.org (unknown [172.16.1.127]) by mail.locolomo.org (Postfix) with ESMTPSA id 18BFC1C1A67; Tue, 12 Jan 2010 10:42:07 +0100 (CET) Message-ID: <4B4C43EE.6080703@locolomo.org> Date: Tue, 12 Jan 2010 10:42:06 +0100 From: Erik Norgaard User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Anton Shterenlikht References: <20100111140105.GI61025@mech-cluster241.men.bris.ac.uk> In-Reply-To: <20100111140105.GI61025@mech-cluster241.men.bris.ac.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: denying spam hosts ssh access - good idea? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 09:42:10 -0000 Anton Shterenlikht wrote: > I'm thinking of denying ssh access to host from which > I get brute force ssh attacks. This is a returning topic, search the archives. Anyway, the returning answer: - why not let your firewall do the blocking? If your blocking is IP based that's the place to block. - why do you default to allow? How about default block, and then add the few good networks you know that actually need access? Restricting access to your own continent is a good start. I made this tool to create lists of ip ranges for individual countries: http://www.locolomo.org/pub/src/toolbox/inet.pl if you're in US then it may not work since some US companies have ranges delegated directly by IANA rather than ARIN, but these are few so it's easy to add ranges manually, check the list here: http://www.iana.net/assignments/ipv4-address-space/ipv4-address-space.xml - why allow password based authentication? disable password based authentication and rely on keys, then you can ignore all the brute force attempts. - above not a solution? See if you can tweak the sshd_config: MaxAuthTries MaxStartups can slow down brute force attacks preventing it from sucking up resources. Disable root login, restrict login to real users, if you have a group "users" just restrict to that using AllowGroups. - trying to block individual offending hosts is futile, the attacker will usually try maybe a 1000 times, but the next one will likely come from a different address. BR, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 09:54:05 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18FDB1065670 for ; Tue, 12 Jan 2010 09:54:05 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id CA6A18FC12 for ; Tue, 12 Jan 2010 09:54:04 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NUdRm-0000ww-J1; Tue, 12 Jan 2010 09:54:03 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NUdRl-000324-Jx; Tue, 12 Jan 2010 09:53:58 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id o0C9rvdR069280; Tue, 12 Jan 2010 09:53:57 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id o0C9rvEa069279; Tue, 12 Jan 2010 09:53:57 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Tue, 12 Jan 2010 09:53:57 +0000 From: Anton Shterenlikht To: Erik Norgaard Message-ID: <20100112095357.GD61863@mech-cluster241.men.bris.ac.uk> References: <20100111140105.GI61025@mech-cluster241.men.bris.ac.uk> <4B4C43EE.6080703@locolomo.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4B4C43EE.6080703@locolomo.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -1.5 X-Spam-Level: - Cc: Anton Shterenlikht , freebsd-questions@freebsd.org Subject: Re: denying spam hosts ssh access - good idea? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 09:54:05 -0000 On Tue, Jan 12, 2010 at 10:42:06AM +0100, Erik Norgaard wrote: > Anton Shterenlikht wrote: > > I'm thinking of denying ssh access to host from which > > I get brute force ssh attacks. > > This is a returning topic, search the archives. Anyway, the returning > answer: > > - why not let your firewall do the blocking? If your blocking is IP > based that's the place to block. I'm already under the University firewall. Only port 22 is let through. But even that filles my logs. > - why do you default to allow? How about default block, and then add the > few good networks you know that actually need access? Restricting access > to your own continent is a good start. I made this tool to create lists > of ip ranges for individual countries: > > http://www.locolomo.org/pub/src/toolbox/inet.pl > > if you're in US then it may not work since some US companies have ranges > delegated directly by IANA rather than ARIN, but these are few so it's > easy to add ranges manually, check the list here: > > http://www.iana.net/assignments/ipv4-address-space/ipv4-address-space.xml thanks, will look at this > - why allow password based authentication? disable password based > authentication and rely on keys, then you can ignore all the brute force > attempts. I don't allow password based authentication. > - above not a solution? See if you can tweak the sshd_config: > > MaxAuthTries > MaxStartups > > can slow down brute force attacks preventing it from sucking up resources. also a good idea, will look at this. > Disable root login, restrict login to real users, if you have a group > "users" just restrict to that using AllowGroups. yes, this is in place. > - trying to block individual offending hosts is futile, the attacker > will usually try maybe a 1000 times, but the next one will likely come > from a different address. I guess this answers my question most directly. >From all the replies I got so far I gather that /etc/hosts.allow exists a historical heritage and no real use is made of it nowadays. Although some people appear to like it (e.g. Samuel Martín Moro). many thanks for your help and support. anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 10:10:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F1F51065676 for ; Tue, 12 Jan 2010 10:10:45 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from relay.pcl-ipout01.plus.net (relay.pcl-ipout01.plus.net [212.159.7.99]) by mx1.freebsd.org (Postfix) with ESMTP id A4D788FC1C for ; Tue, 12 Jan 2010 10:10:44 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAIPZS0vUnw4R/2dsb2JhbADVfIQwBA Received: from pih-relay04.plus.net ([212.159.14.17]) by relay.pcl-ipout01.plus.net with ESMTP; 12 Jan 2010 10:10:43 +0000 Received: from [84.92.153.232] (helo=curlew.milibyte.co.uk) by pih-relay04.plus.net with esmtp (Exim) id 1NUdhy-0007yz-8R; Tue, 12 Jan 2010 10:10:42 +0000 Received: by curlew.milibyte.co.uk with local (Exim 4.71) (envelope-from ) id 1NUdhx-0000kM-Vz; Tue, 12 Jan 2010 10:10:42 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Tue, 12 Jan 2010 10:10:41 +0000 User-Agent: KMail/1.9.10 References: <201001021557.59944.jmc-freebsd2@milibyte.co.uk> In-Reply-To: <201001021557.59944.jmc-freebsd2@milibyte.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201001121010.41914.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false X-Plusnet-Relay: 35dfeaebd1d7fa7424af8d3d7a3e0b0f Cc: Subject: Solved: Problems building en-openoffice.org-GB-3.1.1 from ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 10:10:45 -0000 On Saturday 02 January 2010, Mike Clarke wrote: > After successfully moving from 6.4 to 8.0 by doing a clean install > I've embarked on the task of rebuilding OpenOffice from ports :-( > > I'm getting a confusing error in the config stage: > > ------------------------------------------------------------ > ===> Configuring for en-openoffice.org-GB-3.1.1 > > checking for > gperf... > /backup/tmp/ports/work/usr/ports/editors/openoffice.org-3/work/OOO310 >_m19/solenv/bin/gperf checking gperf version... /libexec/ld-elf.so.1: > Shared > object "libstdc++.so.5" not found, required by "gperf" > test: : bad number > configure: error: too old, you need at least 3.0.0 > ===> Script "configure" failed unexpectedly. > ------------------------------------------------------------ and on Sunday 03 January 2010, Matthew Seaman wrote: > Mike Clarke wrote: > > After pondering a bit more over this problem I think I know where > > the 6.4 stuff may have come from. After I built the base system I > > copied various useful files from /root on the 6.4 system, > > including /root/.cshrc which contained a line setting PACKAGESITE > > to > > ftp://ftp2.uk.freebsd.org/pub/FreeBSD/ports/i386/packages-6.4-relea > >se/All/ and it's quite possible that I ran portinstall -P for some > > ports before I got round to changing this to point to packages-8. > > Yep. This would stick a fairly hefty spanner in the works. > > > Considering the vast number of files in /usr/local/bin with links > > to missing libraries I think my best approach now will be to > > deinstall ALL my ports and reinstall them again from scratch after > > deleting everything in /usr/ports/packages and checking that all > > directories in /usr/local (except etc) have been emptied. > > This also is a good move. Don't forget to treat /compat/linux > similarly to /usr/local if you have any linux stuff installed -- > there have been a lot of changes to the linuxulator newly available > in 8.0 which you really want if you're going to run linux stuff under > emulation. If you strip out /compat/linux completely, then under 8.0 > you'll get the latest linux-base-f10 by default when you re-install. > > When reinstalling ported software, it's a good idea to adopt the > following strategies: > > * Install whatever ports management software you prefer > (portupgrade(1), portmaster(1)) pretty much straight away -- you'll > need this to build everything. > * Look at the list of installed packages on your 6.4 install, and > pick out the packages that are your end-use applications. These will > mostly be leaf packages, but not always. > * You only need to reinstall just those packages -- everything > else should be installed automatically as dependencies. This will > help you avoid installing and outdated build dependencies or > otherwise orphaned packages which otherwise tend to accumulate on an > actively updated system. * For the end-use packages you choose, run > 'make config-recursive' before you start building anything to ensure > you've selected all the required options. Or use portmanager(1) > which runs you through the config stage first of all. You need to be > a bit careful doing this, as toggling an option in a port can > radically change its dependency list, and may bring new sets of > options into play. To resolve that, you'll need to re-run 'make > config-recursive' until it no longer prompts you to make any OPTIONS > settings. [There's a PR to fix this behaviour in the works, but it > hasn't been committed yet.] > * Where there are ports that have compilation flags or knobs that > aren't controlled through OPTIONS dialogues, then be sure to record > any non- default settings in /etc/make.conf. You can use a construct > like this to only apply settings to specific ports: > > .if ${.CURDIR:M*/mail/dkim-milter} > WITH_LIBDKIM_INSTALL= yes > WITH_LIBDKIM_SHARED= yes > WITH_VERIFY_DOMAINKEYS= yes > WITH_STATS= yes > WITH_DNS_UPGRADE= yes > .endif > > Well known KNOBS should be set globally where you aren't using > the default setting, eg: > > WITH_OPENSSL_PORT= yes > WITH_BDB_VER= 47 > WITH_MYSQL_VER= 51 > WITH_OPENLDAP_VER= 24 > WANT_OPENLDAP_SASL= yes > WITH_GECKO= libxul > WITH_APACHE2= yes > APACHE_PORT= www/apache22 > WITH_MODPERL2= yes > PERL_VERSION= 5.10.1 > > Again, changing these settings can affect the dependency tree > and potentially bring new sets of OPTIONS into play, so test > repeatedly with 'make config-recursive' > * It's a good idea to run 'make fetch-recursive' or 'portinstall > -RF ...' or 'portmaster -F ...' after sorting out configuration to > download any distfiles before trying to build everything, as this is > another place where a big build session can blow up while you aren't > looking. It's not mandatory though. > * Once everything is configured nicely, it should be possible to > just run a massive portupgrade(1) or portmaster(1) session unattended > to build and install everything, without finding that 10 minutes > after you went home the build stopped at an OPTIONS screen and sat > there all night... In fact, it is well worth temporarily defining > BATCH in make.conf or the environment to just accept the defaults for > anything not yet configured during a big build job like this. (But > not otherwise. BATCH isn't a good idea for an incremental upgrade > IMHO.) > > If you follow these guidelines when installing the system you should > find that not only does it make your initial install run smoothly, > but it sets you up well for managing updates to the installed system > in the future. Thanks very much for your help. I've followed your guidelines and totally removed and re-installed all my ports. Although the rebuild ran for about 13 hours it went very smoothly and was time well spent. I was then able to build OpenOffice without any problems in a further 6 hours. An additional benefit is that a number of apparently inexplicable minor problems have now gone away, I can even use the latest Nvidia driver now, previously I'd had to downgrade to nvidia-driver-96.43.13 because all the later Nvidia drivers just froze on start-up with a black screen. -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 10:12:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64FFB106566C for ; Tue, 12 Jan 2010 10:12:02 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from relay.ptn-ipout01.plus.net (relay.ptn-ipout01.plus.net [212.159.7.35]) by mx1.freebsd.org (Postfix) with ESMTP id 004BA8FC08 for ; Tue, 12 Jan 2010 10:12:01 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAL/ZS0vUnw4T/2dsb2JhbADVf4QwBIVq Received: from pih-relay06.plus.net ([212.159.14.19]) by relay.ptn-ipout01.plus.net with ESMTP; 12 Jan 2010 10:12:00 +0000 Received: from [84.92.153.232] (helo=curlew.milibyte.co.uk) by pih-relay06.plus.net with esmtp (Exim) id 1NUdjD-0002GH-Q5; Tue, 12 Jan 2010 10:11:59 +0000 Received: by curlew.milibyte.co.uk with local (Exim 4.71) (envelope-from ) id 1NUdjD-0000kj-GY; Tue, 12 Jan 2010 10:11:59 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Tue, 12 Jan 2010 10:11:59 +0000 User-Agent: KMail/1.9.10 References: <1262192147.15510.2.camel@hwong-desk1.corp.lumeta.com> In-Reply-To: <1262192147.15510.2.camel@hwong-desk1.corp.lumeta.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201001121011.59450.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false X-Plusnet-Relay: 2ba03c0ba894a3ceac1487905e4e7263 Cc: Henry Wong Subject: Re: pkg_info fails with "leave_playpen: can't chdir back to ''" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 10:12:02 -0000 On Wednesday 30 December 2009, Henry Wong wrote: > I'm seeing the same problem with pkg_info on FreeBSD 8.0 RELEASE. > However, I also found that even when running as the root user, if > I'm in a chroot jail, it does not fail. Sometime after experiencing this problem I discovered that my ports had suffered from the accidental introduction of some packages which had been built for rev. 6.4 (see the thread under http://lists.freebsd.org/pipermail/freebsd-questions/2010-January/210421.html). As a result of this I had to completely remove and re-install all my ports and I haven't seen the "leave_playpen" problem since then. It might be just coincidence or it may be that pkg_info just got confused by all the links to wrong and non-existent libraries. Could it be that the ports in your main system are corrupt but those in the jail are clean? -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 10:21:25 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D848106566B for ; Tue, 12 Jan 2010 10:21:25 +0000 (UTC) (envelope-from kernel@webrz.net) Received: from webrz.xs4all.nl (webrz.xs4all.nl [82.95.248.216]) by mx1.freebsd.org (Postfix) with ESMTP id 4CA1D8FC12 for ; Tue, 12 Jan 2010 10:21:25 +0000 (UTC) Received: from webrz.xs4all.nl (localhost [127.0.0.1]) by webrz.xs4all.nl (Postfix) with ESMTP id 07135509B7 for ; Tue, 12 Jan 2010 11:21:24 +0100 (CET) Received: from [10.10.10.71] (acheron.webrz.net [10.10.10.71]) by webrz.xs4all.nl (Postfix) with ESMTP id DEDB250823 for ; Tue, 12 Jan 2010 11:21:23 +0100 (CET) Message-ID: <4B4C4D2D.2040609@webrz.net> Date: Tue, 12 Jan 2010 11:21:33 +0100 From: Jos Chrispijn User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AV-Checked: ClamAV using ClamSMTP @triton.webrz.net Cc: Subject: Buld echo X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 10:21:25 -0000 I have 35 log files that I want to flush once a day. In order to keep them exist I now do an 'echo > logfile.log' How can I do such in one command having the same effect on all log files? Jos Chrispijn From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 10:31:45 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E644106566C for ; Tue, 12 Jan 2010 10:31:45 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id A29428FC17 for ; Tue, 12 Jan 2010 10:31:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id C24793A3889; Tue, 12 Jan 2010 17:31:42 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= references:subject:subject:in-reply-to:from:from:message-id:date :date:received:received:received; s=selector1; t=1263292302; x= 1265106702; bh=WFKS6q3iy5aXzEtIRaekU5ldXZ+rNn9GruTIlBd99So=; b=n QneRM141prbqQ7GV555dawd8IwsTEX4gtJEZg3fh90I7cohWRFsnk9PzgB2tgmd1 4blUxN953n6ukVZQQHaE6o/qFp+MtlIUlKuShuENt1swlx+TQgRsVcLk3A+zJP6w OEcgH8JDtd2dbY4Q1+cr7yE5X9+EZ/vjfY6+3/3zMw= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by localhost (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id uPQsAztG77mc; Tue, 12 Jan 2010 17:31:42 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 0CDF53A3853; Tue, 12 Jan 2010 17:31:41 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.3/8.14.3/Submit) id o0CAVVIg046782; Tue, 12 Jan 2010 17:31:31 +0700 (ICT) (envelope-from on) Date: Tue, 12 Jan 2010 17:31:31 +0700 (ICT) Message-Id: <201001121031.o0CAVVIg046782@banyan.cs.ait.ac.th> From: Olivier Nicole To: kernel@webrz.net In-reply-to: <4B4C4D2D.2040609@webrz.net> (message from Jos Chrispijn on Tue, 12 Jan 2010 11:21:33 +0100) References: <4B4C4D2D.2040609@webrz.net> Cc: freebsd-questions@FreeBSD.org Subject: Re: Buld echo X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 10:31:45 -0000 > I have 35 log files that I want to flush once a day. > In order to keep them exist I now do an 'echo > logfile.log' > How can I do such in one command having the same effect on all log files? You could have a look at newsyslog: it would purge and recreate the files for you, including the right ownership and mode, plus it ciould keep compressed back logs, and notify some process of your choice. Bests, Olivier From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 10:56:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60D47106566C for ; Tue, 12 Jan 2010 10:56:02 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms4-1.1blu.de (ms4-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 1F68E8FC12 for ; Tue, 12 Jan 2010 10:56:01 +0000 (UTC) Received: from [193.31.11.193] (helo=current.Sisis.de) by ms4-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1NUeLo-0000dY-Px for freebsd-questions@freebsd.org; Tue, 12 Jan 2010 11:55:11 +0100 Received: from current.Sisis.de (current [127.0.0.1]) by current.Sisis.de (8.14.3/8.14.3) with ESMTP id o0CAptdF003009 for ; Tue, 12 Jan 2010 11:51:55 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id o0CAptX6003008 for freebsd-questions@freebsd.org; Tue, 12 Jan 2010 11:51:55 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Tue, 12 Jan 2010 11:51:55 +0100 From: Matthias Apitz To: freebsd-questions@freebsd.org Message-ID: <20100112105155.GA2980@current.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) X-Con-Id: 51246 X-Originating-IP: 193.31.11.193 Subject: watching WebEx session on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2010 10:56:02 -0000 Hello, Has someone had luck with watching a WebEx session on FreeBSD based desktop? As far as I understand, it is somehow Flash and RDP based, i.e. some tools like Firefox with flash and a RDP client are required. I'm always forced to launch a VM with XP to watch such sessions and it would be good for me to overcome this situation. Thx matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 11:16:11 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C16C11065692 for ; Tue, 12 Jan 2010 11:16:11 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id 572248FC16 for ; Tue, 12 Jan 2010 11:16:10 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 19so2514345fgg.13 for ; Tue, 12 Jan 2010 03:16:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=58UxMp+N6P9nNmWnk8HolbCLMKyWgMPHEXutA9a3XmU=; b=XprLLK+gzh/+SSMQIXnaq2WVt3slbq6MoKrmolube6J2Nm2uWh+/eyZWqP+Lo7SSsz Jm+7FatdBcCy+HHnSFKrrGQ9WI9pSvcMzRiZ8+4Etuy3Stpj6RvHFN7ORGGtW+uhUT/F T7dlkOK+QfW9KHU3fjzGNJcf7rfOp2dVmDQkQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Av1bvgorAbjl+A36Z9Y5vObOjxeQ9WrleQPNZ8tFpNoSle/veeorhPGV6EdhWCgNWE CoOpeeNoyJfpe8lgIC814/phpK0DV9skXbRoMT7ojfQf1mDiLR/+m3oqxco2sliWDAlg a4Y68MebbKzN4J2QDnFtZjtFCycQo6bZ5euK0= MIME-Version: 1.0 Received: by 10.239.191.210 with SMTP id c18mr1700759hbi.0.1263294965149; Tue, 12 Jan 2010 03:16:05 -0800 (PST) In-Reply-To: <4B4BBB4F.5020805@ibctech.ca> References: <4B4BBB4F.5020805@ibctech.ca> Date: Tue, 12 Jan 2010 11:16:05 +0000 Message-ID: From: krad To: Steve Bertrand Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "questions@freebsd.org" Subject: Re: Can't mountroot from ZFS pool X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 11:16:11 -0000 2010/1/11 Steve Bertrand > All, > > I've successfully upgraded the disks in my ZFS backup server, and can > import/mount the pool properly. > > However, I designed this box originally so that it mounts / from > zfs:storage after booting from a USB stick. > > After the upgrade of the disks, I'm stuck at a mountroot prompt when I > attempt to boot the system with the original USB /boot key. > > Can someone inform me how to find the / filesystem at the mountroot > prompt? If not, is there *any* way to boot the system normally from > another medium, and then 'reload' the system with the ZFS / after its > been mounted so that the system functions as designed (ie. cron works etc)? > > 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" > did you export the pool at all before rebooting it? From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 11:23:00 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4E03106566C for ; Tue, 12 Jan 2010 11:23:00 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 79C778FC15 for ; Tue, 12 Jan 2010 11:23:00 +0000 (UTC) Received: by fxm27 with SMTP id 27so95060fxm.3 for ; Tue, 12 Jan 2010 03:22:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=V8pW3iE9xSGBriVzm4ZWdwur1sjfasnoTYXDdukhAJY=; b=KxLm/N98gG0uXxNCBIwTGWYYbpzjQdJ9ex+DX9y6KJCTCiwQ7TJwpgQGQeDmyPPWam 8G0AmUQ84oi8QGtuVvibKH1LQ3HJCYS4r9e1Yuw2UrA6BQBtC6xC+Q78RW7yIr+v+VKV mJH40xuoq+U1YiyFzbN0CCbuDB479P5yNm68U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=dLhDXuQidlfX2wAatWBi/pq3lcQPgG3SorVxu6GF/W0ybo+Z+u4oB8cNUaGgSFExhj VZBEdByF84IEi7vs3+ipMjvYEbkBbztsMFWkeTCoqGVY/7IjHjYkWcaCQzmcheUKPBy5 HlIkcOMgbmhwgXK3dnCdy57AUfLr5uh5l6DdU= MIME-Version: 1.0 Received: by 10.239.190.1 with SMTP id v1mr2833386hbh.122.1263295376496; Tue, 12 Jan 2010 03:22:56 -0800 (PST) In-Reply-To: References: <4B4B2140.5020202@infracaninophile.co.uk> Date: Tue, 12 Jan 2010 11:22:56 +0000 Message-ID: From: krad To: Michael Powell Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Converting i386 to amd64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2010 11:23:01 -0000 2010/1/12 Michael Powell > Matthew Seaman wrote: > > > Michael Powell wrote: > >> Greetings everyone: > [snip] > >> > >> Thanks in advance for the wielding of any clue sticks. :-) > > > > This sort of process /is/ possible, but it is a lot more involved than > > you're anticipating. Unless you're the sort of person that likes doing > > terribly complicated and risky procedures for the hell of it, you are > > going to be better off just starting from scratch and reinstalling using > > an AMD64 .iso. It's going to be quicker to reinstall anyhow. > > > > Cheers, > > > > Matthew > > OK, that's what I needed to know. It just didn't seem as if something as > complex as a cross build could be handled with just one little > "TARGET=xxx". > Terrible and complicated for no real gain is not my style. I like KISS. I > have done scratch reloads before and can handle it just fine, it's more a > time management fork in the road issue. This tells me I can allocate xxxx > amount of time for a scratch reload as opposed to yyyy time for 'terrible > and complicated'. It just means more console time instead of coming by once > an hour for a few minutes. I'll stick with what I know will work then, and > budget my time accordingly. Thanks for the reply! > > -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" > You could do a binary upgrade from the cd (making sure you have a backup), then recompile all your old ports. Its a bit dirty but does work. eg I have taken a 4.2 box stright to 7.2 with this method. I did a make world and delete-old for completeness. I wasn't worried about having ufs v1 file systems but you might. From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 12:15:50 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5F72106566C for ; Tue, 12 Jan 2010 12:15:50 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 345AB8FC08 for ; Tue, 12 Jan 2010 12:15:50 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NUff1-0000Km-JB for freebsd-questions@freebsd.org; Tue, 12 Jan 2010 13:15:47 +0100 Received: from pool-70-21-26-190.res.east.verizon.net ([70.21.26.190]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Jan 2010 13:15:47 +0100 Received: from nightrecon by pool-70-21-26-190.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Jan 2010 13:15:47 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Tue, 12 Jan 2010 07:15:27 -0500 Lines: 39 Message-ID: References: <20100112105155.GA2980@current.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-70-21-26-190.res.east.verizon.net User-Agent: KNode/4.3.4 Sender: news Subject: Re: watching WebEx session 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: Tue, 12 Jan 2010 12:15:50 -0000 Matthias Apitz wrote: > > Hello, > > Has someone had luck with watching a WebEx session on FreeBSD based > desktop? As far as I understand, it is somehow Flash and RDP based, i.e. > some tools like Firefox with flash and a RDP client are required. > I'm always forced to launch a VM with XP to watch such sessions and it > would be good for me to overcome this situation. > I recently returned to using FreeBSD as a KDE 4 desktop after experimenting with various Linux incantations for a couple of years. I finally got tired of it. I had used KDE for years on FreeBSD, but it was always "the hard way". There may be different rough edges, but I've always been convinced that KDE largely runs better on FreeBSD, especially wrt to 8.0. Instead of a regular install and subsequent lots of time installing stuff this time I wanted to check out PCBSD. There are some things I'm not crazy about but for some reason or another they got Flash 10 working in Firefox right out of the box. I chose not to use their PIB packaging system for installing additional software that is not part of the default. I rebuilt the OS with the make buildworld, etc, dance so my kernel is half the size of theirs and chose to use portupgrade to manage keeping ports in line. Have been steadily installing stuff with ports and so far so good. I installed the beta 3 DVD they have released because I was mainly interested in FreeBSD 8 and the previous non-Beta is 7.x based. I only used it as a launch pad and then took over my own maintenance from there. Now for some reason or another I thought that when I tried the free 14 day test account that it was Java based. I don't know why this stuck in my mind at all. However, I am able to look at their Flash demo just fine. So it is is achievable on FreeBSD. -Mike From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 12:40:31 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49802106566C for ; Tue, 12 Jan 2010 12:40:31 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 2D3308FC0C for ; Tue, 12 Jan 2010 12:40:30 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NUg2v-0003fw-Nk for freebsd-questions@freebsd.org; Tue, 12 Jan 2010 04:40:29 -0800 Message-ID: <27126987.post@talk.nabble.com> Date: Tue, 12 Jan 2010 04:40:29 -0800 (PST) From: jaymax To: freebsd-questions@freebsd.org In-Reply-To: <27100257.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jaymax36@gmail.com References: <27100257.post@talk.nabble.com> Subject: Re: Catastrophic Installation Failure now! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 12:40:31 -0000 The problem was caused by a permission change in the mysql data directory, in my case /disk02/db/mysql/DATA - why and how is beyond my comprehension. It would be a good tactic for developers to to include a troubleshooting script to check directory permissions in installations, as this is such a common problem. At a minimum a simple checklist would help. I have had situations where I have looked at files/directories after an installation and could not tell what it should be. Thanks again! jaymax wrote: > > MAJOR SCREWUP > > I was frustrated by a failure to create a ROOT password and decided to do > a clean reinstall > Did a "make deinstall" from the following ports > > -- View this message in context: http://old.nabble.com/Catastrophic-Installation-Failure-now%21-tp27100257p27126987.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 12:49:42 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D3AD1065670 for ; Tue, 12 Jan 2010 12:49:42 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: from mailout-eu.gmx.com (mailout-eu.gmx.com [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id B68B68FC1C for ; Tue, 12 Jan 2010 12:49:41 +0000 (UTC) Received: (qmail invoked by alias); 12 Jan 2010 12:49:40 -0000 Received: from unknown (EHLO [192.168.73.90]) [79.107.161.105] by mail.gmx.com (mp-eu002) with SMTP; 12 Jan 2010 13:49:40 +0100 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX1+ONL9/E7SOqBZ/hDvXSOBMgJeiQuPHkvMuThnpHf fI6tGKI5Ol9BgV Message-ID: <4B4C6FB0.9050309@gmx.com> Date: Tue, 12 Jan 2010 14:48:48 +0200 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: Jos Chrispijn References: <4B4C4D2D.2040609@webrz.net> In-Reply-To: <4B4C4D2D.2040609@webrz.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.71 Cc: freebsd-questions@FreeBSD.org Subject: Re: Buld echo X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 12:49:42 -0000 On 1/12/2010 12:21 PM, Jos Chrispijn wrote: > I have 35 log files that I want to flush once a day. > In order to keep them exist I now do an 'echo > logfile.log' > How can I do such in one command having the same effect on all log files? You could use truncate(1). Something like: truncate -s 0 file1 file2 file2 ... From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 12:52:58 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB85E1065672 for ; Tue, 12 Jan 2010 12:52:58 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id A683D8FC0C for ; Tue, 12 Jan 2010 12:52:58 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NUgEw-00068t-DT for freebsd-questions@freebsd.org; Tue, 12 Jan 2010 13:52:54 +0100 Received: from pool-70-21-26-190.res.east.verizon.net ([70.21.26.190]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Jan 2010 13:52:54 +0100 Received: from nightrecon by pool-70-21-26-190.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Jan 2010 13:52:54 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Tue, 12 Jan 2010 07:52:36 -0500 Lines: 31 Message-ID: References: <20100112105155.GA2980@current.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-70-21-26-190.res.east.verizon.net User-Agent: KNode/4.3.4 Sender: news Subject: Re: watching WebEx session 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: Tue, 12 Jan 2010 12:52:59 -0000 > Matthias Apitz wrote: > >> >> Hello, >> >> Has someone had luck with watching a WebEx session on FreeBSD based >> desktop? As far as I understand, it is somehow Flash and RDP based, i.e. >> some tools like Firefox with flash and a RDP client are required. >> I'm always forced to launch a VM with XP to watch such sessions and it >> would be good for me to overcome this situation. >> OK - I signed up for another 14 day trial, and eventually at some point I always arrive at a page that says: "Support Not Available Meeting Center is not available for your computer's operating system. For information about system requirements, please refer to the FAQ support." I even tried using Konqueror's sending browser ID as IE7 on Win XP. Still ultimately ends up here. So FreeBSD is not a supported OS, also not on their list in the FAQ either. So it seems they have decided specifically to disallow participation by anyone using FreeBSD. I guess they don't consider anyone using FreeBSD to be commercially viable. This sucks, and I will make a complaint when I hunt down their "Feedback" area. As far as I can tell (IMHO) so far is I don't see any reason why it should not work. I have both functional Flash and Java. -Mike From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 13:16:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 774F31065670 for ; Tue, 12 Jan 2010 13:16:49 +0000 (UTC) (envelope-from nvidican@envieweb.net) Received: from gateway01.websitewelcome.com (gateway01.websitewelcome.com [69.93.126.19]) by mx1.freebsd.org (Postfix) with SMTP id F41E48FC16 for ; Tue, 12 Jan 2010 13:16:48 +0000 (UTC) Received: (qmail 26326 invoked from network); 12 Jan 2010 13:31:09 -0000 Received: from armada.websitewelcome.com (74.52.142.66) by gateway01.websitewelcome.com with SMTP; 12 Jan 2010 13:31:09 -0000 Received: from localhost ([127.0.0.1]:50451) by armada.websitewelcome.com with esmtpa (Exim 4.69) (envelope-from ) id 1NUgc2-0002zG-GU; Tue, 12 Jan 2010 07:16:46 -0600 Received: from 19.1.212.137 (19.1.212.137 [19.1.212.137]) by www.envieweb.net (Horde MIME library) with HTTP; Tue, 12 Jan 2010 08:16:43 -0500 Message-ID: <20100112081644.rjooqz9544kwokws@www.envieweb.net> Date: Tue, 12 Jan 2010 08:16:44 -0500 From: nvidican@envieweb.net To: Paul Shi References: <20100111104440.2vc6xxvc0k8oc80g@www.envieweb.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.6) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - armada.websitewelcome.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - envieweb.net Cc: freebsd-questions@freebsd.org Subject: Re: Setup of Router machine 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: Tue, 12 Jan 2010 13:16:49 -0000 Paul, The key thing you need to look at is enabling routing on the machine =20 you want to act as a gateway. Given the dual-homed nature of the =20 machine it's routing table will already contain each of the interfaces =20 on the two networks, and as such the router machine will 'know' how to =20 connect to each of the networks it is on. What is missing, is that you =20 must tell the router machine that it can relay information across =20 these known networks for other hosts. As with most things, there's better documentation available on the =20 subject, and I'd HIGHLY recommend you try reading the following =20 handbook section 'Gateways and Routes' for a better understanding: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routing.ht= ml Within that section, it will elaborate as to how you can turn on and =20 off the function to act as a gateway for other hosts. As in my =20 original email reply to the list, the specific command is 'sysctl' =20 which allows you to tune key variables controlling the kernel =20 functionality - in this case, the behavior of acting as a gateway. Please take a few moments and read through that section, it should =20 greatly clarify some things for you. As always, feel free to ask again =20 if you need further help with something. Regarding your ping problem; are you using the correct cabling to go =20 from ethernet card to card? You must use cross cables for direct =20 connections, and straight-through if using a hub or switch. Assuming =20 that you have no firewall in place blocking traffic, then ping should =20 work fine - I would suggest you check your cabling first and go from =20 there. Running the command 'ifconfig -a' will list your active network =20 interfaces and should show the 'media state' as being connected and at =20 what speed/duplex - check there first and work your way back. Hope this helps. -- Nathan Vidican nathan@vidican.com Quoting Paul Shi : > Nathan, > > Thank you very much for your reply. > > I have tried out your suggestion and experienced some problem. Hope you > could kindly shed some light on them and I really appreciate it. > > First, I experienced connection problem from server machine(192.168.2.1) t= o > router interface (192.168.2.2). I connected the two network cards with > standard Internet cable and tried to ping each other. However, it output > following message which makes me think the connection between server and > router is problematic; > > PING sendto Host is down. > > Any idea why this is happening? I think "ping" should work as long as I se= t > the IP of network cards correctly and connect them with cable. > > Second, I am confused about the setup at the router machine. How the route= r > machine figures out the relationship between 192.168.2.2 and 192.168.1.1 i= f > we do not configure it to do so? Is there anything needs to be done beside= s > adding route at server machine and client? > > Thank you very much for your kind attention! Have a nice day! > > Your sincerely, > Paul Shi > Electronic and Communication Engineering Senior > Department of Electrical and Electronic Engineering > University of Hong Kong > > > On Mon, Jan 11, 2010 at 11:44 PM, wrote: > >> Quoting Paul Shi : >> >> Dear All, >>> >>> I have tried to setup a wireless network consist of a server, AP, a rout= er >>> machine and wireless client. Here is setup and configuration of my desig= n. >>> Please correct me if I am wrong about anything. >>> >>> Server >>> IP: 192.168.2.1, Gateway: 192.168.2.2, Netmask: 255.255.255.0 >>> >>> ------------------------------------------------------------------------= --------------------- >>> IP: 192.168.2.2, Netmask: 255.255.255.= 0 >>> Router >>> IP: 192.168.1.1, Netmask: 255.255.255.= 0 >>> >>> ------------------------------------------------------------------------= --------------------- >>> IP:192.168.1.2, Gateway: 192.168.1.1, Netmask: 255.255.255.0 >>> Access Point >>> >>> ------------------------------------------------------------------------= --------------------- >>> IP: 192.168.1.3, Netmask: 255.255.255.0 >>> Client >>> >>> I have add following to /etc/rc.conf of server machine >>> >>> static_routes=3D"serverinternal" >>> routes_serverinternal=3D"'-net 192.168.2.1/24 192.168.2.2" >>> >>> and following to /etc/rc.conf of router machine >>> >>> static_routes=3D"internal" >>> routes_internal=3D"'-net 192.168.2.2/24 192.168.1.1" >>> >>> Is there anything I have done wrong? Or anything else I need to do. My >>> problem now is I cannot connect from server to router machine. Any >>> suggestion would be greatly appreciated! >>> >>> Your sincerely, >>> Paul Shi >>> Electronic and Communication Engineering Senior >>> Department of Electrical and Electronic Engineering >>> University of Hong Kong >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to " >>> freebsd-questions-unsubscribe@freebsd.org" >>> >>> >> Paul, >> >> It seems to me your problem is in your route configuration. " >> 192.168.2.1/24" is incorrect, /24 indicates the bitmask; the network >> address should be correctly written as "192.168.2.0/24" instead indicatin= g >> a network address of '192.168.2.0' with a network of 254 usable IP addres= ses >> in the same subnet. >> >> You'll thus only have to have ONE route entry for the whole network, not >> one per IP (unless that is your intention -in which case the '-net' synta= x >> is incorrectly being used). So long as routing is turned on (man sysctl), >> simply pointing the server to the router and the client to the router to >> connect to each other should work. Try doing the commands from the consol= e >> first to get it all working, then worry about putting in the startup conf= igs >> on boot-up. >> >> Given your example, I'd login to 'server' and run: >> >> route add 192.168.1.0/24 192.168.2.2 >> (if the router is the ONLY router from the server, use this instead): >> route add 0.0.0.0 192.168.2.2 >> >> Then, from the client, add: >> route add 192.168.2.0/24 192.168.1.1 >> >> The gateway/router box itself does not need any routing setup internally; >> you don't need/shouldn't be setting any routes given that 192.168.2.2, an= d >> 192.168.1.2 are hosts on the two networks for which you want to allow >> routes. They key is in getting the clients to both use the same gateway, = (as >> accessible from the network they are respectfully on). This may be a litt= le >> more clearly depicted below: >> >> Host A (192.168.2.1) <--> Router (192.168.2.2) (192.168.1.1) <--> Host B >> (192.168.1.3) >> >> Host A: >> - needs to know to use '192.168.2.2' as it's gateway to 192.168.1.0/24 >> - may just use 192.168.2.2 as it's default gateway to ANY network >> >> Host B: >> - needs to know to use '192.168.1.1' as it's gateway to 192.168.2.0/24 >> - similarly, may just use '192.168.1.1' as it's default gateway to ANY a= s >> well >> >> Assuming you're connecting the internet at some point to the gateway >> (router) machine, a decent firewall filter and NAT will most likely be >> required as well. Read up in the handbook a bit on the subject or feel fr= ee >> to come back for more info if needed. >> >> Hope this helps. >> >> -- >> Nathan Vidican >> nathan@vidican.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.or= g" > From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 13:24:58 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C4F61065672 for ; Tue, 12 Jan 2010 13:24:58 +0000 (UTC) (envelope-from dotnox@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id B12818FC0C for ; Tue, 12 Jan 2010 13:24:57 +0000 (UTC) Received: by bwz5 with SMTP id 5so14512430bwz.3 for ; Tue, 12 Jan 2010 05:24:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:x-mailer:mime-version:content-type :content-transfer-encoding; bh=dlWPI0EROodVloTsiP4R8ga25Y57u52Y/SPDtzmtLLk=; b=IRVJr5yepWjER1SajAsbVzmW7GY5lc6o926rlP/KWzgvFLqbZdOBfseObnuVmGTL9t nD72qU7Fgqr8P4edsc0JTZkjnQveqF7YDoXXsY1+bX4hdlwotZfLNS4SuFcdtxTlBVIJ JBueD+lJG0afvdRUARMSVJUhruo9PZoUalQa4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:x-mailer:mime-version:content-type :content-transfer-encoding; b=OgCNzOLHhItokbuSd3BG9627hz5tBiNnWhNjguepSqB7Drsqhmec0DQFLxsR9Mrie9 QsAZwn+Bwze5WYsNtDqRi1OoAKHPSdZF96xhbkkZtellvFacgjepReZEucSidO8lUAnY vIAAGhqlFS7tZi1qIaMnPJ6R4Ss5Omo3eskDw= Received: by 10.204.14.84 with SMTP id f20mr478428bka.209.1263301090430; Tue, 12 Jan 2010 04:58:10 -0800 (PST) Received: from localhost ([89.28.2.75]) by mx.google.com with ESMTPS id 15sm9352030bwz.4.2010.01.12.04.58.09 (version=SSLv3 cipher=RC4-MD5); Tue, 12 Jan 2010 04:58:09 -0800 (PST) Date: Tue, 12 Jan 2010 14:58:06 +0200 From: Maxim Ianoglo To: freebsd-questions@freebsd.org Message-ID: <20100112145806.1de591f3@gmail.com> X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.5; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: bsdar/netstat 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: Tue, 12 Jan 2010 13:24:58 -0000 Hello, Got an issue. On FreBSD amd64 bsdsar dows not works properly because of netstat -b -i -n shows one extra column "Idrop" $ uname -m amd64 $ netstat -b -i -n Name Mtu Network Address Ipkts Ierrs Idrop Ibytes Opkts Oerrs Obytes Coll bge0 1500 00:00:1a:19:3b:69 722511 0 0 413208866 447516 0 63777493 0 $ uname -imprs FreeBSD 8.0-STABLE amd64 amd64 GENERIC In i386 netstat output is as was before $ uname -m i386 $ netstat -b -i -n Name Mtu Network Address Ipkts Ierrs Ibytes Opkts Oerrs Obytes Coll wpi0* 2290 00:1b:77:d3:75:5e 0 0 0 0 0 0 0 $ uname -imprs FreeBSD 8.0-STABLE i386 i386 NAFNOTE To make bsdsar work properly I have modified it here is the diff: $ diff -u /usr/local/bin/bsdsar_gather /usr/local/bin/bsdsar_gather.new --- /usr/local/bin/bsdsar_gather 2010-01-12 14:19:09.000000000 +0200 +++ /usr/local/bin/bsdsar_gather.new 2010-01-12 14:18:13.000000000 +0200 @@ -91,11 +91,11 @@ # now lets pull data from netstatlist foreach $ifaceline (@netstatlist) { chomp $ifaceline; - ($ifacename, $Mtu, $Network, $Address, $inpkts, $inerrs, $inbytes, $outpkts, $outerrs, $outbytes, $coll) = split/\s+/,$ifaceline; + ($ifacename, $Mtu, $Network, $Address, $inpkts, $inerrs, $idrops, $inbytes, $outpkts, $outerrs, $outbytes, $coll) = split/\s+/,$ifaceline; if ( $coll eq "") { # $coll is empty because of a blank column, assume this is Address # so try again wthout it - ($ifacename, $Mtu, $Network, $inpkts, $inerrs, $inbytes, $outpkts, $outerrs, $outbytes, $coll) = split/\s+/,$ifaceline; + ($ifacename, $Mtu, $Network, $inpkts, $inerrs, $idrops, $inbytes, $outpkts, $outerrs, $outbytes, $coll) = split/\s+/,$ifaceline; } $ifaceinfo .= "$ifacename,$inpkts,$inerrs,$inbytes,$outpkts,$outerrs,$outbytes,$coll\|"; Did anyone faced such issue before ? Or thie is not a bug with netstat/bsdsar. Thank you. -- Maxim Ianoglo a.k.a dotNox ( dotNox@gmail.com ) From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 14:17:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1764D106566C for ; Tue, 12 Jan 2010 14:17:33 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id CA1F58FC16 for ; Tue, 12 Jan 2010 14:17:32 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NUhYl-0004sU-OP for freebsd-questions@freebsd.org; Tue, 12 Jan 2010 14:17:31 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NUhYl-0002qa-5a for freebsd-questions@freebsd.org; Tue, 12 Jan 2010 14:17:27 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id o0CEHQai039722 for ; Tue, 12 Jan 2010 14:17:26 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id o0CEHQ1a039721 for freebsd-questions@freebsd.org; Tue, 12 Jan 2010 14:17:26 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Tue, 12 Jan 2010 14:17:26 +0000 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20100112141726.GA23278@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -1.5 X-Spam-Level: - Subject: top/ps: is Active Memory = sum(resident set size)? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 14:17:33 -0000 This has probably been discussed before, so apology for asking the same question again. Should the Active memory, as reported by top(1), be equal to the sum of rss (the real memory (resident set) size of the process) of all processes, as reported by ps(1)? The sum of ps(1) rss fields is probably the same as the sum of RES fields of top(1). I seem to have much bigger Active set than the sum of all resident (or real) memories used by all processes. Please advise many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 15:45:37 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57D5E1065679 for ; Tue, 12 Jan 2010 15:45:37 +0000 (UTC) (envelope-from keneasson@zoho.com) Received: from sender1.zohomail.com (sender1.zohomail.com [72.5.230.95]) by mx1.freebsd.org (Postfix) with ESMTP id 31DC18FC0C for ; Tue, 12 Jan 2010 15:45:36 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:cc:message-id:subject:mime-version:content-type:user-agent; b=as24L/IOmsegK0hZgWEDnanEVlKCCnQmHc0huUbmT/2LYqX0IqcFNDvtquCrbn2hHAdF8fX7WS6A uLl9OC4rrMmU0TnNEmUflAD2e31cpxSpdOsVlDV/rEHRWE6QMxIo Received: from 172.29.243.251 (172.29.243.251 [172.29.243.251]) by mx.zohomail.com with SMTP id 1263311135744178.52289040546282; Tue, 12 Jan 2010 07:45:35 -0800 (PST) Date: Tue, 12 Jan 2010 21:45:35 +0600 From: keneasson To: "freebsd-questions" Message-ID: <126233622e9.-6071503090069057591.-3239358628685940562@zoho.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_466_1264472069.1263311135464" X-Priority: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Status: RO X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-ports Subject: can't update 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: Tue, 12 Jan 2010 15:45:37 -0000 ------=_Part_466_1264472069.1263311135464 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, Forgive cross posting, i have an unusable system and an not sure where to p= ost.=20 This follows up a more lengthy post, but i've got some new info so again. libxul requiers libiconv libiconv requires libxul i have WITH_GECKO=3Dlibxul in make.conf i'm using FreeBSD 8.0-stable. thanks. ken ------=_Part_466_1264472069.1263311135464-- From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 15:48:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C0DF1065694 for ; Tue, 12 Jan 2010 15:48:33 +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 C5C168FC1E for ; Tue, 12 Jan 2010 15:48:32 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o0CFmVxD087773; Tue, 12 Jan 2010 08:48:31 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o0CFmVTF087770; Tue, 12 Jan 2010 08:48:31 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Tue, 12 Jan 2010 08:48:31 -0700 (MST) From: Warren Block To: Matthias Apitz In-Reply-To: <20100112105155.GA2980@current.Sisis.de> Message-ID: References: <20100112105155.GA2980@current.Sisis.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [127.0.0.1]); Tue, 12 Jan 2010 08:48:31 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: watching WebEx session 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: Tue, 12 Jan 2010 15:48:33 -0000 On Tue, 12 Jan 2010, Matthias Apitz wrote: > Has someone had luck with watching a WebEx session on FreeBSD based > desktop? As far as I understand, it is somehow Flash and RDP based, i.e. > some tools like Firefox with flash and a RDP client are required. > I'm always forced to launch a VM with XP to watch such sessions and it > would be good for me to overcome this situation. The Linux Webex client might work. http://support.webex.com/support/system-requirements.html says it'll run under Fedora 10, and linux_base-f10 works well. Failing that, there's Wine. Firefox and the Flash plugin run under Wine. There are occasional graphic artifacts and Firefox windows want a double-click on the close gadget to actually close, but otherwise it works very well. Java also runs, although there it's not 100%. Maybe enough for Webex. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 15:58:06 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AA20106566C for ; Tue, 12 Jan 2010 15:58:06 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by mx1.freebsd.org (Postfix) with ESMTP id 23FB08FC16 for ; Tue, 12 Jan 2010 15:58:05 +0000 (UTC) Received: from c83-255-48-78.bredband.comhem.se ([83.255.48.78]:63979 helo=falcon.midgard.homeip.net) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1NUj7W-0004F8-84 for freebsd-questions@freebsd.org; Tue, 12 Jan 2010 16:57:28 +0100 Received: (qmail 28231 invoked from network); 12 Jan 2010 16:57:23 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 12 Jan 2010 16:57:23 +0100 Received: (qmail 71391 invoked by uid 1001); 12 Jan 2010 16:57:23 +0100 Date: Tue, 12 Jan 2010 16:57:23 +0100 From: Erik Trulsson To: keneasson Message-ID: <20100112155722.GA71336@owl.midgard.homeip.net> References: <126233622e9.-6071503090069057591.-3239358628685940562@zoho.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <126233622e9.-6071503090069057591.-3239358628685940562@zoho.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Originating-IP: 83.255.48.78 X-Scan-Result: No virus found in message 1NUj7W-0004F8-84. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1NUj7W-0004F8-84 40dd54c534902f8849ad71d6c025a49e Cc: freebsd-questions , freebsd-ports Subject: Re: can't update 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: Tue, 12 Jan 2010 15:58:06 -0000 On Tue, Jan 12, 2010 at 09:45:35PM +0600, keneasson wrote: > Hello, > > Forgive cross posting, i have an unusable system and an not sure where to post. > This follows up a more lengthy post, but i've got some new info so again. > > libxul requiers libiconv > libiconv requires libxul libiconv does not require libxul AFAICT. > > i have WITH_GECKO=libxul in make.conf That is likely what is causing your problems. Remove that line and see if things work better. > > i'm using FreeBSD 8.0-stable. > > thanks. > ken > _______________________________________________ > 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" -- Erik Trulsson ertr1013@student.uu.se From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 16:02:29 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39F5A1065679 for ; Tue, 12 Jan 2010 16:02:29 +0000 (UTC) (envelope-from colintrebla@gmail.com) Received: from mail-gx0-f209.google.com (mail-gx0-f209.google.com [209.85.217.209]) by mx1.freebsd.org (Postfix) with ESMTP id E305F8FC27 for ; Tue, 12 Jan 2010 16:02:28 +0000 (UTC) Received: by gxk1 with SMTP id 1so10539180gxk.14 for ; Tue, 12 Jan 2010 08:02:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=63G8HyyrHGVtp3KgV0g+Na5xHEtVkGfBkZA5gX0PED8=; b=f8FOKyW+Q8a5YeSSeCgEi7CkB15AIiViCE+zROdPK+9tv3/xHOoy+PujLvmdyPgB0+ Vb4FoApRzf+OFWORyeJpDCV19/iwwh0yDdErSENjAPV2YZ/9P9jD7aUDeT8nJ9rVYFz+ /ymH0SFWP3GwN8XyW1WxlRZNt7IMX8Y3cdhEE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=kTi8h17/uDRdoSNEHiQAf9EonaRMQlPeXeKpWTmaGztZIW94eh9DI5H6BYHMWEHO6b NH0rYnfCx1iAqWUCVJ6pJagxXQ/zJud4hhZFHImuMJIPKC96Oz6mtW9GtFYuypij00fe tjgEuQC0RjK1O7Z4UBUm3/MMZdAgovjeUas40= Received: by 10.151.88.36 with SMTP id q36mr4022810ybl.290.1263312140104; Tue, 12 Jan 2010 08:02:20 -0800 (PST) Received: from Tickles.e-alberts.com (cpe-071-075-114-213.carolina.res.rr.com [71.75.114.213]) by mx.google.com with ESMTPS id 39sm11020159yxd.27.2010.01.12.08.02.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 12 Jan 2010 08:02:19 -0800 (PST) Message-ID: <4B4C9D0A.5010308@gmail.com> Date: Tue, 12 Jan 2010 11:02:18 -0500 From: Colin Albert User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.5) Gecko/20100104 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20100112105155.GA2980@current.Sisis.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: watching WebEx session 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: Tue, 12 Jan 2010 16:02:29 -0000 On 01/12/10 10:48, Warren Block wrote: > On Tue, 12 Jan 2010, Matthias Apitz wrote: > >> Has someone had luck with watching a WebEx session on FreeBSD based >> desktop? As far as I understand, it is somehow Flash and RDP based, i.e. >> some tools like Firefox with flash and a RDP client are required. >> I'm always forced to launch a VM with XP to watch such sessions and it >> would be good for me to overcome this situation. > > The Linux Webex client might work. > http://support.webex.com/support/system-requirements.html says it'll > run under Fedora 10, and linux_base-f10 works well. > > Failing that, there's Wine. Firefox and the Flash plugin run under > Wine. There are occasional graphic artifacts and Firefox windows want > a double-click on the close gadget to actually close, but otherwise it > works very well. Java also runs, although there it's not 100%. Maybe > enough for Webex. > > -Warren Block * Rapid City, South Dakota USA I have also tried WebEx in FreeBSD with similar results. I have not tried using f10, but I wonder if the WebEx Java component detects that it's running in diablo (or rather not a recognised Java engine). FWIW I have had success with other similar products in FreeBSD, namely MeetingPlace. IMO it runs better in FreeBSD than Windows. - Colin From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 16:11:05 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 099311065676 for ; Tue, 12 Jan 2010 16:11:05 +0000 (UTC) (envelope-from pckizer@nostrum.com) Received: from nostrum.com (nostrum-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:267::2]) by mx1.freebsd.org (Postfix) with ESMTP id CD9738FC14 for ; Tue, 12 Jan 2010 16:11:04 +0000 (UTC) Received: from [10.10.10.248] (pool-173-57-85-9.dllstx.fios.verizon.net [173.57.85.9]) (authenticated bits=0) by nostrum.com (8.14.3/8.14.3) with ESMTP id o0CGB21Y016635 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Tue, 12 Jan 2010 10:11:04 -0600 (CST) (envelope-from pckizer@nostrum.com) From: Philip Kizer Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Tue, 12 Jan 2010 10:11:01 -0600 Message-Id: <74753F42-A2CE-4DDD-8CD9-226BB8ECC9D5@nostrum.com> To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v1077) X-Mailer: Apple Mail (2.1077) Received-SPF: pass (nostrum.com: 173.57.85.9 is authenticated by a trusted mechanism) Subject: So, did I mis-file this PR? [bin/141175: New cpio(1) in FreeBSD 8 regressed and left out a previous option: -V (dots) [regression]] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 16:11:05 -0000 When FreeBSD-8 came out, it came with a newly rewritten cpio(1) that no = longer offered an option I originally started using with SunOS/Solaris, = but came to expect on FreeBSD and Linux as well. Since it was pretty = trivial to add it back, I did so and offered the patch in PR bin/141175: The option is "-V" to print a dot per file copied rather than the much = more verbose "-v" and the dots variant that can be useful for some = feedback when copying a large hierarchy. My PR was filed on 2008/Dec/4, over a month ago, yet there has not even = been a single response to it. Did I mis-file it? Thanks, Philip From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 16:12:52 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4B971065695 for ; Tue, 12 Jan 2010 16:12:52 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms4-1.1blu.de (ms4-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 700A38FC16 for ; Tue, 12 Jan 2010 16:12:52 +0000 (UTC) Received: from [193.31.11.193] (helo=current.Sisis.de) by ms4-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1NUjM7-0002XL-Pk; Tue, 12 Jan 2010 17:12:41 +0100 Received: from current.Sisis.de (current [127.0.0.1]) by current.Sisis.de (8.14.3/8.14.3) with ESMTP id o0CGCVol004921; Tue, 12 Jan 2010 17:12:31 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id o0CGCVxB004920; Tue, 12 Jan 2010 17:12:31 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Tue, 12 Jan 2010 17:12:31 +0100 From: Matthias Apitz To: Warren Block Message-ID: <20100112161230.GA4794@current.Sisis.de> References: <20100112105155.GA2980@current.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) X-Con-Id: 51246 X-Originating-IP: 193.31.11.193 Cc: freebsd-questions@freebsd.org Subject: Re: watching WebEx session on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2010 16:12:52 -0000 El día Tuesday, January 12, 2010 a las 08:48:31AM -0700, Warren Block escribió: > On Tue, 12 Jan 2010, Matthias Apitz wrote: > > >Has someone had luck with watching a WebEx session on FreeBSD based > >desktop? As far as I understand, it is somehow Flash and RDP based, i.e. > >some tools like Firefox with flash and a RDP client are required. > >I'm always forced to launch a VM with XP to watch such sessions and it > >would be good for me to overcome this situation. > > The Linux Webex client might work. > http://support.webex.com/support/system-requirements.html says it'll run > under Fedora 10, and linux_base-f10 works well. Thanks for the hint; I looked around there but can not see any WebEx Business Suite 27 (WBS27) client to down load; is this part of the 14day Free Trial? matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 16:18:40 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 611801065670; Tue, 12 Jan 2010 16:18:40 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-iw0-f177.google.com (mail-iw0-f177.google.com [209.85.223.177]) by mx1.freebsd.org (Postfix) with ESMTP id 058C88FC1D; Tue, 12 Jan 2010 16:18:39 +0000 (UTC) Received: by iwn7 with SMTP id 7so7235400iwn.7 for ; Tue, 12 Jan 2010 08:18:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=07L16KoAewdw1a9Vp4TP05hbidBXK6PLDM1azH5tsL0=; b=gJoLMJj3XF8teuUub8bkW2ygr8XzVuLUTR6u2wnxVbxwKWiqI5oTQKiOYIrf0otE+A rKQTcb57BRjgDcnskHyXk9dJq2BXW2IjUl+KOnAXnrylBtFFQxhsY0dt9y1BaGdpxK2o PdD0lTGkaaYuxmgJ11LYdbO1C+Yvm2ydoB9PU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Bn/cD/AGsrJCb4ZyAmPkpzJt5/DzDKE/MhgrMB3gaqGK27Cm4ctk1BnlXOBXWHOScD ESDIZzNjpphCOTOOCu7gIm7YUT1Wib/vcpPLMZUz+nBN2qzgr2IEnXjRQMILn//Rqess o31MmZNcJjalDvO5gK98Ecq76GyVGET7DmxNQ= MIME-Version: 1.0 Received: by 10.231.146.79 with SMTP id g15mr584802ibv.49.1263313113812; Tue, 12 Jan 2010 08:18:33 -0800 (PST) In-Reply-To: <20100112155722.GA71336@owl.midgard.homeip.net> References: <126233622e9.-6071503090069057591.-3239358628685940562@zoho.com> <20100112155722.GA71336@owl.midgard.homeip.net> Date: Tue, 12 Jan 2010 10:18:33 -0600 Message-ID: <790a9fff1001120818r6130b6f1m2bd3515efd5109d4@mail.gmail.com> From: Scot Hetzel To: Erik Trulsson Content-Type: text/plain; charset=ISO-8859-1 Cc: keneasson , freebsd-questions , freebsd-ports Subject: Re: can't update 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: Tue, 12 Jan 2010 16:18:40 -0000 On 1/12/10, Erik Trulsson wrote: > On Tue, Jan 12, 2010 at 09:45:35PM +0600, keneasson wrote: > > Hello, > > > > Forgive cross posting, i have an unusable system and an not sure where to post. > > This follows up a more lengthy post, but i've got some new info so again. > > > > libxul requiers libiconv > > libiconv requires libxul > > > libiconv does not require libxul AFAICT. > > > > > i have WITH_GECKO=libxul in make.conf > > That is likely what is causing your problems. > Remove that line and see if things work better. > WITH_GECKO doesn't cause any additional dependencies to be defined for the libiconv port. Only when USE_GECKO or WANT_GECKO are defined (see /usr/ports/Mk/bsd.port.mk), then WITH_GECKO will be used to choose the appropriate GECKO port. Scot From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 16:25:06 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 170C8106566B for ; Tue, 12 Jan 2010 16:25:06 +0000 (UTC) (envelope-from parshi@msicanada.net) 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 A23AC8FC16 for ; Tue, 12 Jan 2010 16:25:05 +0000 (UTC) Received: (qmail 70140 invoked from network); 12 Jan 2010 15:58:22 -0000 Received: from CPE00222d5ab000-CM00222d5aaffd.cpe.net.cable.rogers.com (parshi@99.227.133.126 with login) by smtp103.rog.mail.re2.yahoo.com with SMTP; 12 Jan 2010 07:58:21 -0800 PST X-Yahoo-SMTP: n_3dWmiswBDlfNDQiL9KL.g384wN3iAM1t861sBstRFcnBY- X-YMail-OSG: NawoUdcVM1n20CAqtthofcG6bQ3bQvP_oWwJz7S.5Af1_kznarFAkHcUMtQQgUCkoQ-- X-Yahoo-Newman-Property: ymail-3 Organization: MSI Canada Message-ID: From: "Peter Arshi" To: Date: Tue, 12 Jan 2010 10:52:47 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: E-commerce Gateway X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: parshi@msicanada.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2010 16:25:06 -0000 =A0 E-commerce Payment Gateway Solution: (E-commerce Gateway Solution for United States and Canadian Merchants) =A0 Federated Payments- USA Merchant Accounts MSI Canada- Canadian Merchant Accounts=20 =A0 =A0 About Us Federated Payments / MSI Canada is a credit card payment processor in the = United=20 States and Canadian marketplace.=A0 We have an =93A=94 Industry Rating = with the BBB=20 (Better Business Bureau) and annually process over 2 billion dollars in = credit=20 card payment transactions. Established in 1998, Federated Payments = recently=20 took its place as one of the Top 50 Payment Processors in the Industry = and=20 is considered the fastest growing Processor according to the Neilson = Report.=A0=20 We service more than 20,000 merchants across the country and employ 150 = sales=20 support and technical staff in the United States and Canada. Federated = Payments=20 operates as Merchant Services Inc. Canada (MSI Canada) as its Canadian = operations.=20 =A0 Recognizing the Gateway Problem We are aware of the difficulties web developers experience when adding = shopping=20 carts to sites and then to face security compliance issues when Payment = Gateways=20 are to be integrated.=A0 In most cases, the client=92s bank does not = support an=20 online payment gateway solution. This begins the clients search to find = the=20 right bank that will approve or provide a payment gateway that can comply = to=20 the shopping cart security standards.=A0=A0 After this step is complete, = the client=20 is left to babysit the bank to ensure correspondence is maintained with = the=20 web developer until task is complete.=A0=20 =A0 For any developer, dropping the ball at the end is simply bad practice = hence=20 integrating PayPal saves the client from anguish and despair temporarily. = PayPal=20 charges high credit card processing rates which leads to even more client = despair=20 in the end. Professionalism is lost when the gateway page re-directs the = customer=20 to a process he is not interested in fulfilling. =A0PayPal should be = considered=20 an additional feature and not the primary gateway function. Required = customer=20 sign-ups and account verification processes deter customers from = returning=20 to PayPal sites. Client loses retention momentum=2E =A0 SafePay Solution=20 The SafePay Gateway Program is a solution for merchants to process online = in=20 a secured manner without giving up large profits for processing. We offer = the=20 =93Lowest Rate Guarantee=94 to every client that comes on board. Included = with=20 the SafePay Program is the Backend Gateway which enables clients a = backend=20 to enter orders manually, to put customers on recurring payments, pull = reports,=20 customizable fields, download/upload Quick Books file feature , multiple = user=20 with Admin control features and much more. =A0A demo will be provided to = your=20 client for training by our technicians=2E =A0 =A0 SafePay Payment Gateway Solution Features:=20 =B7=A0=A0=A0=A0=A0=A0=A0 Enables real-time online transaction processing =B7=A0=A0=A0=A0=A0=A0=A0 Fully CISP and PCI Certified =B7=A0=A0=A0=A0=A0=A0=A0 Free Quick Click Shopping Cart- Or connect with = over 80 certified=20 shopping carts =B7=A0=A0=A0=A0=A0=A0=A0 Recurring Billing- Bill your customers daily, = weekly or monthly for=20 as many payments as requires =B7=A0=A0=A0=A0=A0=A0=A0 Cardholder Authentication Card Programs: Verified = by Visa, MasterCard=20 SecureCode =B7=A0=A0=A0=A0=A0=A0=A0 Virtual Terminal-=A0 With a Level 3 intuitive = user interface, you will=20 be able to authorize, process and manage credit card transactions = manually=20 from any computer that has an internet connection.=20 =B7=A0=A0=A0=A0=A0=A0=A0 API Integration- With API Integration solution = your merchants will=20 utilize the highest level of secure transaction infrastructure available.=20 =B7=A0=A0=A0=A0=A0=A0=A0 Batch Upload Process- With batch upload = processing you will be able=20 to control and approve transactions manually prior to settlement.=A0 The = batch=20 processing system automatically allocates the batches in 1/16 bins and = reduces=20 overall processing time to a fraction of your competitors.=20 =B7=A0=A0=A0=A0=A0=A0=A0 Electronic Check- Electronic Check is a payment = solution that enables=20 online and traditional merchants to accept and process electronic check = payments=20 directly from their Web site=92s storefront or through the Virtual = Terminal.=A0=20 By accepting electronic checks, you are able to expand the payment = options=20 available to your customers and thereby increase sales. =A0 =A0 =A0 Solution Option 1=20 Federated Payments and MSI Canada offers one of the best Payment Gateway = programs=20 in the industry known as Safepay. To simplify the shopping cart = integration=20 to our payment gateway, here are some free shopping carts we support: =A0 Free Supported Shopping Carts: =A0 OsCommerce.com, nopdesign.com, virtuemart.net, zencart.com, = precisionweb.net=A0=20 =A0 =A0 Solution Option 2 Our technicians are equipped to handle any type of shopping cart in the = marketplace.=20 Custom built designs are accepted with additional security compliance = testing.=20 This means that the majority of shopping carts fall into compliance with = our=20 payment gateway solution after testing=2E =A0 Simple Process=20 =B7=A0=A0=A0=A0=A0=A0=A0 When an e-commerce site is ready for a Payment = Gateway, a member of=20 our team will need to contact your client and provide the best credit = card=20 rates for their industry=2E =B7=A0=A0=A0=A0=A0=A0=A0 =A0Send an e-mail to Mr. Arshi with the client = and designated developer=20 details.=20 =B7=A0=A0=A0=A0=A0=A0=A0 As part of the package, we will offer your = clients the =93Lowest Rate=20 Guarantee=94.=A0 For any bank, association or processor that can beat our = credit=20 card rates, we will match or beat them over and over again. Guaranteed. = =A0=A0This=20 leaves your client to have the best possible rates all the time.=20 Contact: Peter Arshi Regional Sales Executive (International Partnerships Program) tf:=A0=A0 +1-888-743-5458 fx:=A0=A0 +1-888-743-5457 ce:=A0 +1-647-284-4678 em: parshi@msicanada.net =B7=A0=A0=A0=A0=A0=A0=A0 We offer very competitive online transaction = rates for Visa, MasterCard,=20 Amex, Discover, JCB,=A0 and Diners Club. Merchant rates will range based = on sales=20 volumes, credit card type and nature of business. Rates will vary=2E =B7=A0=A0=A0=A0=A0=A0=A0 Once the contract is complete and approval is = obtained from our head=20 office, one of our technicians will be in contact with the designated = developer=20 for gateway integration and testing via e-mail.=A0 The Developer will be = provided=20 with style choices for the Payment Gateway and/or Shopping Cart for = client=20 for review.=20 =B7=A0=A0=A0=A0=A0=A0=A0 Once the style(s) are selected, the gateway = and/or shopping cart code=20 will be connected by our technician with the help of your developer.=A0 = This=20 arrangement can be further discussed with technician=2E =B7=A0=A0=A0=A0=A0=A0=A0 Once functionality and security compliance are = tested and passed,=20 your client is ready to make his first sale on his website.=20 =A0 We are introducing Safepay to web developers as it is an essential tool = to=20 maintain and sustain retention in this competitive marketplace.=A0 Our = strong=20 reputation as a Payment Processor will enable your company to provide a = =93Complete=94=20 E-commerce solution to your clients from start to finish. We guarantee = it.=20 =A0If have any questions, please contact Mr. Peter Arshi.=20 =A0 =A0 =A0 Peter Arshi MSI Canada Regional Sales Executive (International Partnerships Program) tf:=A0=A0 +1-888-743-5458 fx:=A0=A0 +1-888-743-5457 ce:=A0 +1-647-284-4678 em: parshi@msicanada.net =A0 In Association with: =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0 If you would like to be removed from this list, please reply with = "remove" in the subject line. From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 17:00:12 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 682AE106568F for ; Tue, 12 Jan 2010 17:00:12 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by mx1.freebsd.org (Postfix) with ESMTP id E6C2F8FC18 for ; Tue, 12 Jan 2010 17:00:11 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 22so2260026eye.9 for ; Tue, 12 Jan 2010 09:00:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=8/aVYYuRXJXUQ9A8oVVERAsjL7KQ4J78ClfG7GQYig4=; b=uW2tauPWhQC4CTQfVy7T5bTywEraOG84XUPrgAGDZ/fmpRlJILN+NcpjwUaj5FoG5/ 1inlE2WaifDv1rU/FtVv+Yei36zhcr5bU9+XPcaB9QVMS61+aMq1Fe37UvLsfKWaNCxq jbzXOJGqHUDKpSPnvYHa64qdwu5hdY4IaluFo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=wparKoW/llsJo/1wERJa6WQNLtg5AE3tnnuQvfBYp7d/zh8O0lQSXJv4YqKRVVSEwp Mdx1Uk1k9GPUkN8yjwrxZVOVlnzlcrE8vXCgkj+fADpHJbsaaWq0u5LBBSSSIJwVk6ZA 0BefWn7tf9ENXrbsaZvl1RAROpdvUx1yDRuV4= MIME-Version: 1.0 Received: by 10.216.90.74 with SMTP id d52mr2459658wef.51.1263315603744; Tue, 12 Jan 2010 09:00:03 -0800 (PST) Date: Tue, 12 Jan 2010 12:00:03 -0500 Message-ID: <80f4f2b21001120900j7418c725k95221bb06cde0dc1@mail.gmail.com> From: Jim To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: sendmail issues - make fails to create aliases.db in /etc/mail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 17:00:12 -0000 make in /etc/mail fails (silently) to create aliases.db. I touched all the source files I modified to make sure they would be rebuilt (since the last rebuild failed). What I am finding is that the command "/usr/sbin/sendmail -bi -OAliasFile=/etc/mail/aliases" is not creating aliases.db, nor is it creating any errors. I tried running `/usr/sbin/sendmail -v -bi -OAliasFile=/etc/mail/aliases`, but aw no errors from that, either. Anyone experienced something like this before and have suggestions on what I should examine next? Thanks, -Jim Stapleton [root@mail-jail /etc/mail]# ls Makefile freebsd.mc mail-jail.submit.cf README freebsd.submit.cf mail-jail.submit.mc access freebsd.submit.mc mailer.conf access.db helpfile mailertable.sample access.sample local-host-names sendmail.cf aliases mail-jail.cf submit.cf freebsd.cf mail-jail.mc virtusertable.sample [root@mail-jail /etc/mail]# touch aliases; touch access; touch local-host-names ; touch sendmail.cf; touch virtusertable.sample [root@mail-jail /etc/mail]# make /usr/sbin/makemap hash access.db < access chmod 0640 access.db /usr/sbin/sendmail -bi -OAliasFile=/etc/mail/aliases chmod 0640 /etc/mail/aliases.db chmod: /etc/mail/aliases.db: No such file or directory *** Error code 1 Stop in /etc/mail. [root@mail-jail /etc/mail]# /usr/sbin/sendmail -v -bi -OAliasFile=/etc/mail/aliases sendmail: -O option ignored postalias: dict_eval: const mail postalias: dict_eval: const ipv4 postalias: dict_eval: const postalias: dict_eval: const postalias: dict_eval: const postalias: dict_eval: const postalias: name_mask: ipv4 postalias: dict_eval: const mail-jail.localdomain postalias: dict_eval: const localdomain postalias: dict_eval: const Postfix postalias: dict_eval: expand ${multi_instance_name:postfix}${multi_instance_name?$multi_instance_name} -> postfix postalias: dict_eval: const postfix postalias: dict_eval: const maildrop postalias: dict_eval: expand $myhostname, localhost.$mydomain, localhost -> mail-jail.localdomain, localhost.localdomain, localhost postalias: dict_eval: expand $myhostname -> mail-jail.localdomain postalias: dict_eval: const postalias: dict_eval: const /usr/local/libexec/postfix postalias: dict_eval: const /var/db/postfix postalias: dict_eval: const /usr/local/sbin postalias: dict_eval: const /var/spool/postfix postalias: dict_eval: const pid postalias: dict_eval: const all postalias: dict_eval: const postalias: dict_eval: const double-bounce postalias: dict_eval: const nobody postalias: dict_eval: const hash:/etc/aliases postalias: dict_eval: const 20090828 postalias: dict_eval: const 2.6.5 postalias: dict_eval: const hash postalias: dict_eval: const deferred, defer postalias: dict_eval: const postalias: dict_eval: expand $mydestination -> mail-jail.localdomain, localhost.localdomain, localhost postalias: dict_eval: expand $relay_domains -> mail-jail.localdomain, localhost.localdomain, localhost postalias: dict_eval: const TZ MAIL_CONFIG LANG postalias: dict_eval: const MAIL_CONFIG MAIL_DEBUG MAIL_LOGTAG TZ XAUTHORITY DISPLAY LANG=C postalias: dict_eval: const host postalias: dict_eval: const postalias: dict_eval: const += postalias: dict_eval: const -=+ postalias: dict_eval: const debug_peer_list,fast_flush_domains,mynetworks,permit_mx_backup_networks,qmqpd_authorized_clients,relay_domains,smtpd_access_maps postalias: dict_eval: const postalias: dict_eval: const bounce postalias: dict_eval: const cleanup postalias: dict_eval: const defer postalias: dict_eval: const pickup postalias: dict_eval: const qmgr postalias: dict_eval: const rewrite postalias: dict_eval: const showq postalias: dict_eval: const error postalias: dict_eval: const flush postalias: dict_eval: const verify postalias: dict_eval: const trace postalias: dict_eval: const proxymap postalias: dict_eval: const proxywrite postalias: dict_eval: const postalias: dict_eval: const 2 postalias: dict_eval: const 100s postalias: dict_eval: const 100s postalias: dict_eval: const 100s postalias: dict_eval: const 100s postalias: dict_eval: const 3600s postalias: dict_eval: const 3600s postalias: dict_eval: const 5s postalias: dict_eval: const 5s postalias: dict_eval: const 1000s postalias: dict_eval: const 1000s postalias: dict_eval: const 10s postalias: dict_eval: const 10s postalias: dict_eval: const 1s postalias: dict_eval: const 1s postalias: dict_eval: const 1s postalias: dict_eval: const 1s postalias: dict_eval: const 500s postalias: dict_eval: const 500s postalias: dict_eval: const 18000s postalias: dict_eval: const 18000s postalias: dict_eval: const 1s postalias: dict_eval: const 1s postalias: name_mask: host postalias: inet_addr_local: configured 1 IPv4 addresses postalias: mynetworks: 192.168.1.4/32 postalias: dict_eval: const 192.168.1.4/32 postalias: open hash /etc/aliases postalias: Compiled against Berkeley DB version 1 From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 17:06:51 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FC511065676; Tue, 12 Jan 2010 17:06:51 +0000 (UTC) (envelope-from keneasson@zoho.com) Received: from sender1.zohomail.com (sender1.zohomail.com [72.5.230.95]) by mx1.freebsd.org (Postfix) with ESMTP id 506708FC1B; Tue, 12 Jan 2010 17:06:51 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:cc:message-id:in-reply-to:references:subject:mime-version:content-type:user-agent; b=ufSIUSOg4YCCGpfsx2xiDGRba0BoAivntNgXHbMnD3N8WQJBhAYFGg57BkW9cjMSvMppWXElfW2d BYn1OcCOAsEKT119LtY/TX9OiacGY6h89LMj3K97DfNfq3zGa12J Received: from 172.29.243.251 (172.29.243.251 [172.29.243.251]) by mx.zohomail.com with SMTP id 12633159914101017.7399619583219; Tue, 12 Jan 2010 09:06:31 -0800 (PST) Date: Tue, 12 Jan 2010 23:06:30 +0600 From: keneasson To: Message-ID: <12623803a2f.2045412487235373121.-143114798768537699@zoho.com> In-Reply-To: <20100112155722.GA71336@owl.midgard.homeip.net> References: <126233622e9.-6071503090069057591.-3239358628685940562@zoho.com> <20100112155722.GA71336@owl.midgard.homeip.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2369_118419666.1263315991086" X-Priority: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Status: RO X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Subject: Re: can't update 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: Tue, 12 Jan 2010 17:06:51 -0000 ------=_Part_2369_118419666.1263315991086 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi thanks for the reply. I'm worried that changing WITH_GECKO will try and rebuild firefox2 which is= marked IGNORE. It took me a long time to get that resolved. Here is a bit of my portmaster -a log, it's pretty clear that there is a de= pendency loop. portmaster -a > pormasterbuild.log /libexec/ld-elf.so.1: Shared object "libintl.so.8" not found, required by "= pg_config" /libexec/ld-elf.so.1: Shared object "libiconv.so.3" not found, required by = "httpd" [: -le: argument expected ... <the actual log file> =3D=3D=3D>>> Gathering distinfo list for installed ports =3D=3D=3D>>> Starting check of installed ports for available updat= es =3D=3D=3D>>> Checking ports for recursive 'make config' =3D=3D=3D>>> Launching child to update glib-2.22.3 to glib-2.22.4 =3D=3D=3D>>> Port directory: /usr/ports/devel/glib20 =3D=3D=3D>>> Launching 'make checksum' for devel/glib20 in backgro= und =3D=3D=3D>>> Gathering dependency list for devel/glib20 from ports =3D=3D=3D>>> Starting recursive 'make config' check =3D=3D=3D>>> Launching child to update devel/gettext glib-2.22.3 >> devel/gettext =3D=3D=3D>>> Port directory: /usr/ports/devel/gettext =3D=3D=3D>>> Gathering dependency list for devel/gettext from port= s =3D=3D=3D>>> Starting recursive 'make config' check =3D=3D=3D>>> Launching child to update converters/libiconv glib-2.22.3 >> devel/gettext >> converters/libiconv =3D=3D=3D>>> Port directory: /usr/ports/converters/libiconv =3D=3D=3D>>> Gathering dependency list for converters/libiconv fro= m ports =3D=3D=3D>>> Starting recursive 'make config' check =3D=3D=3D>>> Launching child to update devel/libtool22 glib-2.22.3 >> devel/gettext >> converters/libiconv >= ;> devel/libtool22 =3D=3D=3D>>> Port directory: /usr/ports/devel/libtool22 =3D=3D=3D>>> Gathering dependency list for devel/libtool22 from po= rts =3D=3D=3D>>> Starting recursive 'make config' check =3D=3D=3D>>> Launching child to update www/libxul glib-2.22.3 >> devel/gettext >> converters/libiconv >= ;> devel/libtool22 >> www/lib xul ... =3D=3D=3D>>> Port directory: /usr/ports/devel/gettext =3D=3D=3D>>> Starting check for build dependencies =3D=3D=3D>>> Gathering dependency list for devel/gettext from port= s =3D=3D=3D>>> Starting dependency check =3D=3D=3D>>> Launching child to update converters/libiconv glib-2.22.3 >> devel/gettext >> converters/libiconv >= ;> devel/libtool22 >> www/lib xul >> accessibility/atk >> devel/gettext >> converters/l= ibiconv >> devel/libtool22 >> ww w/libxul >> accessibility/atk >> devel/gettext >> convert= ers/libiconv >> devel/libtool22 >> www/libxul >> accessibility/atk >> devel/gettext >&= gt; converters/libiconv >> devel/libto ol22 >> www/libxul >> accessibility/atk >> devel/gettext = >> converters/libiconv >> devel/ libtool22 >> www/libxul >> accessibility/atk >> devel/get= text >> converters/libiconv >> d evel/libtool22 >> www/libxul >> accessibility/atk >> deve= l/gettext >> converters/libiconv >> devel/libtool22 >> www/libxul >> accessibility/atk &g= t;> devel/gettext >> converters/lib iconv >> devel/libtool22 >> www/libxul >> accessibility/a= tk >> devel/gettext >> converter s/libiconv >> devel/libtool22 >> www/libxul >> accessibil= ity/atk >> devel/gettext >> conv erters/libiconv >> devel/libtool22 >> www/libxul >> acces= sibility/atk >> devel/gettext >> converters/libiconv >> devel/libtool22 >> www/libxul >> = accessibility/atk >> devel/gette xt >> converters/libiconv >> devel/libtool22 >> www/libxu= l >> accessibility/atk >> devel/ gettext >> converters/libiconv >> devel/libtool22 >> www/= libxul >> accessibility/atk >> d evel/gettext >> converters/libiconv >> devel/libtool22 >>= www/libxul >> accessibility/atk >> devel/gettext >> converters/libiconv >> devel/libtool= 22 >> www/libxul >> accessibilit y/atk >> devel/gettext >> converters/libiconv >> devel/li= btool22 >> www/libxul >> accessi bility/atk >> devel/gettext >> converters/libiconv </end> If only only try and rebuild libxul or libiconv, then the dependency loop o= nly includes these two files. #portmaster www/libxul =3D=3D=3D>>> Port directory: /usr/ports/devel/gettext =3D=3D=3D>>> Starting check for build dependencies =3D=3D=3D>>> Gathering dependency list for devel/gettext from port= s =3D=3D=3D>>> Starting dependency check =3D=3D=3D>>> Launching child to update converters/libiconv www/libxul >> accessibility/atk >> devel/gettext >&g= t; converters/libiconv >> devel/libtool22 >> www/libxul >>= ; accessibility/atk >> devel/gettext >> converters/libiconv >= ;> devel/libtool22 >> www/libxul >> accessibility/atk >&g= t; devel/gettext >> converters/libiconv >> devel/libtool22 >= > www/libxul >> accessibility/atk >> devel/gettext >> = converters/libiconv >> devel/libtool22 >> www/libxul >> a= ccessibility/atk >> devel/gettext >> converters/libiconv >&g= t; devel/libtool22 >> www/libxul >> accessibility/atk >> = devel/gettext >> converters/libiconv #portmaster converters/libiconv =3D=3D=3D>>> Port directory: /usr/ports/devel/gettext =3D=3D=3D>>> Starting check for build dependencies =3D=3D=3D>>> Gathering dependency list for devel/gettext from port= s =3D=3D=3D>>> Starting dependency check =3D=3D=3D>>> Launching child to update converters/libiconv converters/libiconv >> devel/libtool22 >> www/libxul &g= t;> accessibility/atk >> devel/gettext >> converters/libicon= v >> devel/libtool22 >> www/libxul >> accessibility/atk &= gt;> devel/gettext >> converters/libiconv >> devel/libtool22= >> www/libxul >> accessibility/atk >> devel/gettext >= > converters/libiconv >> devel/libtool22 >> www/libxul >&= gt; accessibility/atk >> devel/gettext >> converters/libiconv =3D=3D=3D>>> Port directory: /usr/ports/converters/libiconv =3D=3D=3D>>> Starting check for build dependencies =3D=3D=3D>>> Gathering dependency list for converters/libiconv fro= m ports =3D=3D=3D>>> Starting dependency check =3D=3D=3D>>> Launching child to update devel/libtool22 converters/libiconv >> devel/libtool22 >> www/libxul &g= t;> accessibility/atk >> devel/gettext >> converters/libicon= v >> devel/libtool22 >> www/libxul >> accessibility/atk &= gt;> devel/gettext >> converters/libiconv >> devel/libtool22= >> www/libxul >> accessibility/atk >> devel/gettext >= > converters/libiconv >> devel/libtool22 >> www/libxul >&= gt; accessibility/atk >> devel/gettext >> converters/libiconv &= gt;> devel/libtool22 portmaster -f doesn't change much. and removing the ports that aren't updat= ing has only made my system virtually unusable. Thanks. ken ---- On Tue, 12 Jan 2010 21:57:23 +0600 Erik Trulsson <ertr1013@student.= uu.se> wrote ----=20 On Tue, Jan 12, 2010 at 09:45:35PM +0600, keneasson wrote:=20 > Hello,=20 >=20 > Forgive cross posting, i have an unusable system and an not sure where= to post.=20 > This follows up a more lengthy post, but i've got some new info so aga= in.=20 >=20 > libxul requiers libiconv=20 > libiconv requires libxul=20 =20 =20 libiconv does not require libxul AFAICT.=20 =20 >=20 > i have WITH_GECKO=3Dlibxul in make.conf=20 =20 That is likely what is causing your problems.=20 Remove that line and see if things work better.=20 =20 =20 >=20 > i'm using FreeBSD 8.0-stable.=20 >=20 > thanks.=20 > ken=20 =20 > _______________________________________________=20 > freebsd-questions@freebsd.org mailing list=20 > http://lists.freebsd.org/mailman/listinfo/freebsd-questions=20 > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebs= d.org"=20 =20 =20 --=20 <Insert your favourite quote here.>=20 Erik Trulsson=20 ertr1013@student.uu.se ------=_Part_2369_118419666.1263315991086-- From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 17:10:52 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A20F106566C for ; Tue, 12 Jan 2010 17:10:52 +0000 (UTC) (envelope-from listreader@lazlarlyricon.com) Received: from proxy1.bredband.net (proxy1.bredband.net [195.54.101.71]) by mx1.freebsd.org (Postfix) with ESMTP id DAC538FC16 for ; Tue, 12 Jan 2010 17:10:51 +0000 (UTC) Received: from ipb1.telenor.se (195.54.127.164) by proxy1.bredband.net (7.3.140.3) id 4AD3E1C002504206 for freebsd-questions@freebsd.org; Tue, 12 Jan 2010 18:10:50 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhVEALc7TEtV44PPPGdsb2JhbACBRYZuiyOHewEBAQE3ugaEMAQ X-IronPort-AV: E=Sophos;i="4.49,262,1262559600"; d="scan'208";a="26088528" Received: from c-cf83e355.09-42-6e6b7010.cust.bredbandsbolaget.se (HELO lazlar.kicks-ass.net) ([85.227.131.207]) by ipb1.telenor.se with ESMTP; 12 Jan 2010 18:10:50 +0100 Message-ID: <4B4CAD19.7070804@lazlarlyricon.com> Date: Tue, 12 Jan 2010 18:10:49 +0100 From: Rolf Nielsen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.5) Gecko/20091227 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: zpool upgrade - is it safe? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 17:10:52 -0000 Hi all, I just upgraded to a more recent version of 8.0-STABLE, and I noticed during boot that zfs had changed from version 13 to version 14. Is it safe to run zpool upgrade -a on a system while in multiuser, or will I have to take some security measures, such as creating a complete backup and/or booting into singleuser? Rolf Nielsen From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 17:27:29 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A13F106568B for ; Tue, 12 Jan 2010 17:27:29 +0000 (UTC) (envelope-from hwong@lumeta.com) Received: from MAIL.corp.lumeta.com (hercules.lumeta.com [65.246.245.23]) by mx1.freebsd.org (Postfix) with ESMTP id EAB128FC1A for ; Tue, 12 Jan 2010 17:27:28 +0000 (UTC) Received: from hwong-desk1.corp.lumeta.com ([65.246.246.57]) by MAIL.corp.lumeta.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 12 Jan 2010 12:27:27 -0500 Message-ID: <4B4CB0FA.2000609@lumeta.com> Date: Tue, 12 Jan 2010 12:27:22 -0500 From: Henry Wong User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: Mike Clarke References: <1262192147.15510.2.camel@hwong-desk1.corp.lumeta.com> <201001121011.59450.jmc-freebsd2@milibyte.co.uk> In-Reply-To: <201001121011.59450.jmc-freebsd2@milibyte.co.uk> X-OriginalArrivalTime: 12 Jan 2010 17:27:27.0614 (UTC) FILETIME=[831219E0:01CA93AC] 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 Subject: Re: pkg_info fails with "leave_playpen: can't chdir back to ''" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 17:27:29 -0000 Mike, Thanks for your response. Since originally writing that message, I had done some tests (there was a misconfiguration in mailer that my browser called on the system I was sending from so the message got sent out much later when it was corrected). I had tried running the exact same executable both in the jail and outside and got a different set of libraries. One odd thing that I had also noticed is that when I ran "ldd" against the same executable, I came up with a different set of libraries. I'm not sure what controls the library searches. As far as I can tell the libraries are the same also. However, since then, my /var/run/ld-elf* files have changed. I no longer see the problem or the differences in ldd. This may have corrected the problem. Henry Mike Clarke wrote: > On Wednesday 30 December 2009, Henry Wong wrote: > > >> I'm seeing the same problem with pkg_info on FreeBSD 8.0 RELEASE. >> However, I also found that even when running as the root user, if >> I'm in a chroot jail, it does not fail. >> > > Sometime after experiencing this problem I discovered that my ports had > suffered from the accidental introduction of some packages which had > been built for rev. 6.4 (see the thread under > http://lists.freebsd.org/pipermail/freebsd-questions/2010-January/210421.html). > As a result of this I had to completely remove and re-install all my > ports and I haven't seen the "leave_playpen" problem since then. It > might be just coincidence or it may be that pkg_info just got confused > by all the links to wrong and non-existent libraries. Could it be that > the ports in your main system are corrupt but those in the jail are > clean? > > -- Henry Wong Lead Software Engineer Lumeta - / Securing the Network in the Face of Change / _hwong@lumeta.com_ 732.357.3534 (office) 732.564.0731 (fax) 220 Davidson Avenue Somerset , NJ 08873-4146 www.lumeta.com From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 17:36:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FC36106566B for ; Tue, 12 Jan 2010 17:36:57 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 3667D8FC08 for ; Tue, 12 Jan 2010 17:36:56 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o0CHarEs025170; Tue, 12 Jan 2010 09:36:53 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Tue, 12 Jan 2010 09:36:53 -0800 (PST) Date: Tue, 12 Jan 2010 09:36:53 -0800 From: Gary Kline To: Jim Message-ID: <20100112173653.GA98372@thought.org> References: <80f4f2b21001120900j7418c725k95221bb06cde0dc1@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <80f4f2b21001120900j7418c725k95221bb06cde0dc1@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-0.0 required=3.6 tests=ALL_TRUSTED,BAYES_00, FH_DATE_PAST_20XX, J_CHICKENPOX_41, J_CHICKENPOX_66 autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: freebsd-questions@freebsd.org Subject: Re: sendmail issues - make fails to create aliases.db in /etc/mail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 17:36:57 -0000 On Tue, Jan 12, 2010 at 12:00:03PM -0500, Jim wrote: > make in /etc/mail fails (silently) to create aliases.db. I touched all > the source files I modified to make sure they would be rebuilt (since > the last rebuild failed). What I am finding is that the command > "/usr/sbin/sendmail -bi -OAliasFile=/etc/mail/aliases" is not creating > aliases.db, nor is it creating any errors. I tried running > `/usr/sbin/sendmail -v -bi -OAliasFile=/etc/mail/aliases`, but aw no > errors from that, either. > > Anyone experienced something like this before and have suggestions on > what I should examine next? > > Thanks, > -Jim Stapleton > What happens if you do a grep aliases in /etc/mail? In my sensmail files I see references to aliases in the config *.cf and Makefile, and the aliases file itself. Did you edit any of these files? Should work by default. gary > > [root@mail-jail /etc/mail]# ls > Makefile freebsd.mc mail-jail.submit.cf > README freebsd.submit.cf mail-jail.submit.mc > access freebsd.submit.mc mailer.conf > access.db helpfile mailertable.sample > access.sample local-host-names sendmail.cf > aliases mail-jail.cf submit.cf > freebsd.cf mail-jail.mc virtusertable.sample > [root@mail-jail /etc/mail]# touch aliases; touch access; touch > local-host-names ; touch sendmail.cf; touch virtusertable.sample > [root@mail-jail /etc/mail]# make > /usr/sbin/makemap hash access.db < access > chmod 0640 access.db > /usr/sbin/sendmail -bi -OAliasFile=/etc/mail/aliases > chmod 0640 /etc/mail/aliases.db > chmod: /etc/mail/aliases.db: No such file or directory > *** Error code 1 > > Stop in /etc/mail. > > [root@mail-jail /etc/mail]# /usr/sbin/sendmail -v -bi > -OAliasFile=/etc/mail/aliases > sendmail: -O option ignored > postalias: dict_eval: const mail > postalias: dict_eval: const ipv4 > postalias: dict_eval: const > postalias: dict_eval: const > postalias: dict_eval: const > postalias: dict_eval: const > postalias: name_mask: ipv4 > postalias: dict_eval: const mail-jail.localdomain > postalias: dict_eval: const localdomain > postalias: dict_eval: const Postfix > postalias: dict_eval: expand > ${multi_instance_name:postfix}${multi_instance_name?$multi_instance_name} > -> postfix > postalias: dict_eval: const postfix > postalias: dict_eval: const maildrop > postalias: dict_eval: expand $myhostname, localhost.$mydomain, > localhost -> mail-jail.localdomain, localhost.localdomain, localhost > postalias: dict_eval: expand $myhostname -> mail-jail.localdomain > postalias: dict_eval: const > postalias: dict_eval: const /usr/local/libexec/postfix > postalias: dict_eval: const /var/db/postfix > postalias: dict_eval: const /usr/local/sbin > postalias: dict_eval: const /var/spool/postfix > postalias: dict_eval: const pid > postalias: dict_eval: const all > postalias: dict_eval: const > postalias: dict_eval: const double-bounce > postalias: dict_eval: const nobody > postalias: dict_eval: const hash:/etc/aliases > postalias: dict_eval: const 20090828 > postalias: dict_eval: const 2.6.5 > postalias: dict_eval: const hash > postalias: dict_eval: const deferred, defer > postalias: dict_eval: const > postalias: dict_eval: expand $mydestination -> mail-jail.localdomain, > localhost.localdomain, localhost > postalias: dict_eval: expand $relay_domains -> mail-jail.localdomain, > localhost.localdomain, localhost > postalias: dict_eval: const TZ MAIL_CONFIG LANG > postalias: dict_eval: const MAIL_CONFIG MAIL_DEBUG MAIL_LOGTAG TZ > XAUTHORITY DISPLAY LANG=C > postalias: dict_eval: const host > postalias: dict_eval: const > postalias: dict_eval: const += > postalias: dict_eval: const -=+ > postalias: dict_eval: const > debug_peer_list,fast_flush_domains,mynetworks,permit_mx_backup_networks,qmqpd_authorized_clients,relay_domains,smtpd_access_maps > postalias: dict_eval: const > postalias: dict_eval: const bounce > postalias: dict_eval: const cleanup > postalias: dict_eval: const defer > postalias: dict_eval: const pickup > postalias: dict_eval: const qmgr > postalias: dict_eval: const rewrite > postalias: dict_eval: const showq > postalias: dict_eval: const error > postalias: dict_eval: const flush > postalias: dict_eval: const verify > postalias: dict_eval: const trace > postalias: dict_eval: const proxymap > postalias: dict_eval: const proxywrite > postalias: dict_eval: const > postalias: dict_eval: const 2 > postalias: dict_eval: const 100s > postalias: dict_eval: const 100s > postalias: dict_eval: const 100s > postalias: dict_eval: const 100s > postalias: dict_eval: const 3600s > postalias: dict_eval: const 3600s > postalias: dict_eval: const 5s > postalias: dict_eval: const 5s > postalias: dict_eval: const 1000s > postalias: dict_eval: const 1000s > postalias: dict_eval: const 10s > postalias: dict_eval: const 10s > postalias: dict_eval: const 1s > postalias: dict_eval: const 1s > postalias: dict_eval: const 1s > postalias: dict_eval: const 1s > postalias: dict_eval: const 500s > postalias: dict_eval: const 500s > postalias: dict_eval: const 18000s > postalias: dict_eval: const 18000s > postalias: dict_eval: const 1s > postalias: dict_eval: const 1s > postalias: name_mask: host > postalias: inet_addr_local: configured 1 IPv4 addresses > postalias: mynetworks: 192.168.1.4/32 > postalias: dict_eval: const 192.168.1.4/32 > postalias: open hash /etc/aliases > postalias: Compiled against Berkeley DB version 1 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 17:42:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA3F1106566B; Tue, 12 Jan 2010 17:42:45 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-iw0-f177.google.com (mail-iw0-f177.google.com [209.85.223.177]) by mx1.freebsd.org (Postfix) with ESMTP id 7216F8FC15; Tue, 12 Jan 2010 17:42:45 +0000 (UTC) Received: by iwn7 with SMTP id 7so7301475iwn.7 for ; Tue, 12 Jan 2010 09:42:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=5h2ovValF4gXAfxnzuVrvMiUu0CldCZmGhMnjtb4CmQ=; b=PwQ31Y5ZBggopffri4izwRx8FJgohUccxj8MMM/06Mse7W7KCZRnx6OtsbJ6pZKipY dX8SRqVFlC3FMBXSlESH/8cpQwsiG6Pe2h0EyjwmZYqSduFsKwS+gXHR93qaYggHwGPX YGnT7PKpiUP6jGHbliR2E51KXKRGKW2J35fL8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=xvS+pLnixK4ePFO1p4AUpOhqEvF0+v5T4nVH0MTP0diPv7NLMtv96+I5pFDkLgm64o H472t2yuthsKw9UN+3QxOpR+s0eCs3AhMl9GzPb8hv5sAUcPahk5kQJxcAr/jO6uoq/A d42PXVn9RbVDUrxqZA9TUR/69DiNn5XuQT3+Q= MIME-Version: 1.0 Received: by 10.231.169.71 with SMTP id x7mr528713iby.18.1263318158356; Tue, 12 Jan 2010 09:42:38 -0800 (PST) In-Reply-To: <12623803a2f.2045412487235373121.-143114798768537699@zoho.com> References: <126233622e9.-6071503090069057591.-3239358628685940562@zoho.com> <20100112155722.GA71336@owl.midgard.homeip.net> <12623803a2f.2045412487235373121.-143114798768537699@zoho.com> Date: Tue, 12 Jan 2010 11:42:38 -0600 Message-ID: <790a9fff1001120942j1a4fc9f7kb70c54f6a6d68096@mail.gmail.com> From: Scot Hetzel To: keneasson , Erik Trulsson Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Subject: Re: can't update 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: Tue, 12 Jan 2010 17:42:45 -0000 On 1/12/10, keneasson wrote: > Hi thanks for the reply. > I'm worried that changing WITH_GECKO will try and rebuild firefox2 which is marked IGNORE. It took me a long time to get that resolved. > > Here is a bit of my portmaster -a log, it's pretty clear that there is a dependency loop. > > portmaster -a > pormasterbuild.log > /libexec/ld-elf.so.1: Shared object "libintl.so.8" not found, required by "pg_config" > /libexec/ld-elf.so.1: Shared object "libiconv.so.3" not found, required by "httpd" > [: -le: argument expected > > ... I would suggest you check the /var/db/pkg/libiconv*/+CONTENTS file to see if it contains any extra dependencies. The begining of my libiconv*/+CONTENTS file only contains this: @comment PKG_FORMAT_REVISION:1.1 @name libiconv-1.13.1 @comment ORIGIN:converters/libiconv @cwd /usr/local man/man1/iconv.1.gz @comment MD5:5c4f3aa5c04f006466355e377b1a2560 : There should be no @pkgdep or @comment DEPORIGIN lines in this file. If you have these in there, then remove them as libiconv has no dependencies. Scot From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 17:46:51 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87AF310656A3 for ; Tue, 12 Jan 2010 17:46:51 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout029.mac.com (asmtpout029.mac.com [17.148.16.104]) by mx1.freebsd.org (Postfix) with ESMTP id 746E88FC2B for ; Tue, 12 Jan 2010 17:46:51 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp029.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KW5006KHAQ18460@asmtp029.mac.com> for freebsd-questions@freebsd.org; Tue, 12 Jan 2010 09:46:51 -0800 (PST) From: Chuck Swiger In-reply-to: <20100112141726.GA23278@mech-cluster241.men.bris.ac.uk> Date: Tue, 12 Jan 2010 09:46:49 -0800 Message-id: <11F836C5-7E9F-4ACC-948F-196EF605F1AB@mac.com> References: <20100112141726.GA23278@mech-cluster241.men.bris.ac.uk> To: Anton Shterenlikht X-Mailer: Apple Mail (2.1077) Cc: freebsd-questions@freebsd.org Subject: Re: top/ps: is Active Memory = sum(resident set size)? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 17:46:51 -0000 Hi-- On Jan 12, 2010, at 6:17 AM, Anton Shterenlikht wrote: > Should the Active memory, as reported by top(1), be equal to the > sum of rss (the real memory (resident set) size of the process) > of all processes, as reported by ps(1)? No. They aren't measuring the same thing; in a system with plenty of available RAM, processes might be entirely resident because there is no memory pressure to start paging inactive pages out, but only be using a fraction of their address space, in which case active per top will be less than the sum of RSS. -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 17:56:25 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 747F7106566C for ; Tue, 12 Jan 2010 17:56:25 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from mail-ew0-f213.google.com (mail-ew0-f213.google.com [209.85.219.213]) by mx1.freebsd.org (Postfix) with ESMTP id 0775A8FC1A for ; Tue, 12 Jan 2010 17:56:24 +0000 (UTC) Received: by ewy5 with SMTP id 5so12336850ewy.34 for ; Tue, 12 Jan 2010 09:56:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=VQeVLjPVyXiCfg1+DFczQXrHhUzpApQKDxt1SUUEqGM=; b=mHD15AenxSf4UMxyVgWXs8QWnI48LaoL0h9dRJObJd1t5H+1EuBO2bflQsCnjnVEpZ GExM70rG33+GF57eA5MgCPukgRFHesBjCnXdO8J6+94QKpHAKqQr513U3J3z30iJewJp xnjAcN6k/URIftIYygvSjlMV2MCOe8UL9jR1A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Fo2S8Vmo1XKoM7BlL/TlIT2puKlDGkEC1G5cIrGJ/uoQVXV0wVcuiwUrcLBeGJGy28 vo/vQW8K7XgUt+Q4pDiDzPeHGdh36Wr0uvt49I0DJxkKv/GmYDFcMytYSWbLveSP2R2b uakFZffXAFMHuH3blbkR7aFTLomybQKwXUqY8= MIME-Version: 1.0 Received: by 10.216.88.144 with SMTP id a16mr3091739wef.208.1263318979868; Tue, 12 Jan 2010 09:56:19 -0800 (PST) In-Reply-To: <20100112173653.GA98372@thought.org> References: <80f4f2b21001120900j7418c725k95221bb06cde0dc1@mail.gmail.com> <20100112173653.GA98372@thought.org> Date: Tue, 12 Jan 2010 12:56:19 -0500 Message-ID: <80f4f2b21001120956p508caa23y80488476d7707713@mail.gmail.com> From: Jim To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: sendmail issues - make fails to create aliases.db in /etc/mail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 17:56:25 -0000 > =A0 =A0 =A0 =A0What happens if you do a grep aliases in /etc/mail? =A0In = my sensmail > =A0 =A0 =A0 =A0files I see references to aliases in the config *.cf and M= akefile, > =A0 =A0 =A0 =A0and the aliases file itself. as in ls `/etc/mail | grep aliases` or `cat /etc/mail/* | grep aliases` The former shows the file 'aliases' only. The latter (getting rid of lines starting with # to clean up a bunch of crud) [sjss@elrond /data/jail/mail-jail/etc/mail]$ cat * | grep -a 'aliases' | grep -avE '^#' SENDMAIL_ALIASES?=3D /etc/mail/aliases all: cf maps aliases aliases: ${SENDMAIL_ALIASES:%=3D%.db} O AliasFile=3D/etc/mail/aliases vrfy Verify an address. If you want to see what it aliases O AliasFile=3D/etc/mail/aliases newaliases /usr/libexec/sendmail/sendmail O AliasFile=3D/etc/mail/aliases Find shows the following files contain 'aliases' in non-comment lines: ./mailer.conf ./freebsd.cf ./freebsd.submit.cf ./helpfile ./sendmail.cf ./submit.cf ./Makefile ./aliases ./mail-jail.cf ./mail-jail.submit.cf > =A0 =A0 =A0 =A0Did you edit any of these files? =A0Should work by default= . I edited: access, aliases, local-host-names, virtusertable.sample (and apparantly forgot to copy the latter to virtualusertable, so it shouldn't affect anything anyway) -Jim Stapleton From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 18:09:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EBB5106566B for ; Tue, 12 Jan 2010 18:09:55 +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 EA5858FC16 for ; Tue, 12 Jan 2010 18:09:54 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o0CI9s2p088361; Tue, 12 Jan 2010 11:09:54 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o0CI9sep088358; Tue, 12 Jan 2010 11:09:54 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Tue, 12 Jan 2010 11:09:54 -0700 (MST) From: Warren Block To: Jim In-Reply-To: <80f4f2b21001120900j7418c725k95221bb06cde0dc1@mail.gmail.com> Message-ID: References: <80f4f2b21001120900j7418c725k95221bb06cde0dc1@mail.gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [127.0.0.1]); Tue, 12 Jan 2010 11:09:54 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: sendmail issues - make fails to create aliases.db in /etc/mail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 18:09:55 -0000 On Tue, 12 Jan 2010, Jim wrote: > make in /etc/mail fails (silently) to create aliases.db. I touched all > the source files I modified to make sure they would be rebuilt (since > the last rebuild failed). Just tried it here successfully, although I'd usually do newaliases. > [root@mail-jail /etc/mail]# /usr/sbin/sendmail -v -bi > -OAliasFile=/etc/mail/aliases > sendmail: -O option ignored ... > postalias: dict_eval: const Postfix ... > postalias: open hash /etc/aliases Looks like you're using postfix pretending to be sendmail. Evidently postfix doesn't build aliases.db the same way. You might try newaliases. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 18:28:56 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82FF0106566B for ; Tue, 12 Jan 2010 18:28:56 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 580F88FC0A for ; Tue, 12 Jan 2010 18:28:56 +0000 (UTC) Received: by pxi12 with SMTP id 12so15486697pxi.3 for ; Tue, 12 Jan 2010 10:28:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=+G3XXd5m1NY0d7p+4wFuqbMbQ7LwNIHX73cl5zLqaEc=; b=arEAnmPp2Iq74qHzmcbq9rR0r5ua8tujwnNIXjHhHAtrGLXDqj2Ce0zlYII/gMST4Y TWzypzGDtEpd9DpBMyZXb9+s2ajpYCASSQaIgE+VSvwAbnh538hNhqW/ZjMs1GwviA2b 9q/pPjnZ18MDZObGbsQR2qx+HpkhzgITmUs2E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=i5E3mb4fcupwq1rMD9iOD5c9SWgPQIvlo+FvQNogMGr38xLXzaapX/m9+y99D3UkUE iz+sdNtxh+cDa/L4y1u0yscy11pWACIr/dBUsxqi8g0jLQdZ9xJZyNY1APZGlQ3KLoPi JE4r5DHJ/A8DCxwHVCCdQRmNvXK2FPDnIXmIo= MIME-Version: 1.0 Received: by 10.142.59.8 with SMTP id h8mr657634wfa.154.1263320930217; Tue, 12 Jan 2010 10:28:50 -0800 (PST) In-Reply-To: <201001052206.o05M6k6v070696@lava.sentex.ca> References: <539c60b91001051353g5f4dc9bob8a6a16bf7bc2403@mail.gmail.com> <201001052206.o05M6k6v070696@lava.sentex.ca> Date: Tue, 12 Jan 2010 11:28:50 -0700 Message-ID: <539c60b91001121028l759c16e1t42e3dade63940263@mail.gmail.com> From: Steve Franks To: Mike Tancsa Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Mailing List Subject: Re: 7.2 equiv for usbconfig on 8.0? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2010 18:28:56 -0000 On Tue, Jan 5, 2010 at 3:06 PM, Mike Tancsa wrote: > At 04:53 PM 1/5/2010, Steve Franks wrote: >> >> How do I reset my usb on 7.2 when I insert a card in the internal >> flash reader? =A0usbconfig works great on 8, but I have systems I cannot >> upgrade at the moment... > > I dont think there is a reset equiv, but I usually do something like > > cat /dev/null > /dev/da[#] > > where da# corresponds to the internal reader / device. > > eg. > cat /dev/null > /dev/da1 > > =A0 =A0 =A0 =A0---Mike Exactly what is that supposed to accomplish? My 7.2 box just barfs on it: cat /dev/null > /dev/da0 bash: /dev/da0: Device not configured Best, Steve From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 18:31:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A3811065670; Tue, 12 Jan 2010 18:31:55 +0000 (UTC) (envelope-from keneasson@zoho.com) Received: from sender1.zohomail.com (sender1.zohomail.com [72.5.230.95]) by mx1.freebsd.org (Postfix) with ESMTP id 78B328FC08; Tue, 12 Jan 2010 18:31:55 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:cc:message-id:in-reply-to:references:subject:mime-version:content-type:user-agent; b=XbHFWFY2Qs3cpN+58SumVr3wOB+HbL/HU4zRazJp8IKveMhk9Bh30ctdHGRHbTfazRQYEIbKi4aK gp2kj8ouzY5f6TAZh23yqALNwYkfnMtTFoCSfEbx8kThIOSte6hA Received: from 172.29.243.251 (172.29.243.251 [172.29.243.251]) by mx.zohomail.com with SMTP id 126332096514030.971078219493506; Tue, 12 Jan 2010 10:29:25 -0800 (PST) Date: Wed, 13 Jan 2010 00:29:24 +0600 From: keneasson To: Message-ID: <12623cc1e72.7232161006764334259.-2336668294512587012@zoho.com> In-Reply-To: <790a9fff1001120942j1a4fc9f7kb70c54f6a6d68096@mail.gmail.com> References: <126233622e9.-6071503090069057591.-3239358628685940562@zoho.com> <20100112155722.GA71336@owl.midgard.homeip.net> <12623803a2f.2045412487235373121.-143114798768537699@zoho.com> <790a9fff1001120942j1a4fc9f7kb70c54f6a6d68096@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_4073_1320511431.1263320964721" X-Priority: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Status: RO X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Subject: Re: can't update 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: Tue, 12 Jan 2010 18:31:55 -0000 ------=_Part_4073_1320511431.1263320964721 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I did a pkg_delete for both libiconv and libxul in the hope that this would= clear any stale depends from firefox2 days causing me these problems. local# cd /var/db/pkg/ local# ls | grep iconv php5-iconv-5.2.12 local# now the makefile on the other hand: local# cd /usr/ports/converters/libiconv local# vi Makefile # New ports collection makefile for: libiconv # Date created: 17 July 2000 # Whom: Maxim Sobolev <sobomax@FreeBSD.o= rg> # # $FreeBSD: ports/converters/libiconv/Makefile,v 1.52 2009/08/02 19:32:38 m= ezz Exp $ # PORTNAME=3D libiconv PORTVERSION=3D 1.13.1 CATEGORIES=3D converters devel MASTER_SITES=3D ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR=3D ${PORTNAME} MAINTAINER=3D gnome@FreeBSD.org COMMENT=3D A character set conversion library USE_AUTOTOOLS=3D libtool:22 #cd ../../devel/libtool22 local# make =3D=3D=3D> libtool-2.2.6b depends on file: /usr/local/lib/libxul/libxu= l.so - not found =3D=3D=3D> Verifying install for /usr/local/lib/libxul/libxul.so in /= usr/ports/www/libxul =3D=3D=3D> libxul-1.9.0.17 depends on executable: zip - found =3D=3D=3D> libxul-1.9.0.17 depends on executable: gmake - found =3D=3D=3D> libxul-1.9.0.17 depends on file: /usr/local/libdata/pkgconf= ig/printproto.pc - found =3D=3D=3D> libxul-1.9.0.17 depends on file: /usr/local/libdata/pkgconf= ig/sm.pc - found =3D=3D=3D> libxul-1.9.0.17 depends on file: /usr/local/libdata/pkgconf= ig/xt.pc - found =3D=3D=3D> libxul-1.9.0.17 depends on file: /usr/local/libdata/pkgconf= ig/xi.pc - found =3D=3D=3D> libxul-1.9.0.17 depends on file: /usr/local/libdata/pkgconf= ig/xext.pc - found =3D=3D=3D> libxul-1.9.0.17 depends on file: /usr/local/libdata/pkgconf= ig/x11.pc - found =3D=3D=3D> libxul-1.9.0.17 depends on file: /usr/local/libdata/pkgconf= ig/xinerama.pc - found =3D=3D=3D> libxul-1.9.0.17 depends on file: /usr/local/libdata/pkgconf= ig/ice.pc - found =3D=3D=3D> libxul-1.9.0.17 depends on file: /usr/local/libdata/pkgconf= ig/xproto.pc - found =3D=3D=3D> libxul-1.9.0.17 depends on file: /usr/local/bin/perl5.10.1 = - found =3D=3D=3D> libxul-1.9.0.17 depends on file: /usr/local/bin/intltool-ex= tract - found =3D=3D=3D> libxul-1.9.0.17 depends on executable: pkg-config - found =3D=3D=3D> libxul-1.9.0.17 depends on executable: update-desktop-datab= ase - found =3D=3D=3D> libxul-1.9.0.17 depends on shared library: dbus-glib-1.2 - = found =3D=3D=3D> libxul-1.9.0.17 depends on shared library: cairo.2 - found =3D=3D=3D> libxul-1.9.0.17 depends on shared library: nspr4 - found =3D=3D=3D> libxul-1.9.0.17 depends on shared library: Xft.2 - found =3D=3D=3D> libxul-1.9.0.17 depends on shared library: iconv.3 - not fo= und =3D=3D=3D> Verifying install for iconv.3 in /usr/ports/converters/lib= iconv =3D=3D=3D> libiconv-1.13.1 depends on file: /usr/local/lib/libxul/libx= ul.so - not found =3D=3D=3D> Verifying install for /usr/local/lib/libxul/libxul.so in /= usr/ports/www/libxul ken. ---- On Tue, 12 Jan 2010 23:42:38 +0600 Scot Hetzel <swhetzel@gmail.com&= gt; wrote ----=20 On 1/12/10, keneasson <keneasson@zoho.com> wrote:=20 > Hi thanks for the reply.=20 > I'm worried that changing WITH_GECKO will try and rebuild firefox2 whi= ch is marked IGNORE. It took me a long time to get that resolved.=20 >=20 > Here is a bit of my portmaster -a log, it's pretty clear that there is= a dependency loop.=20 >=20 > portmaster -a &gt; pormasterbuild.log=20 > /libexec/ld-elf.so.1: Shared object "libintl.so.8" not found, required= by "pg_config"=20 > /libexec/ld-elf.so.1: Shared object "libiconv.so.3" not found, require= d by "httpd"=20 > [: -le: argument expected=20 >=20 > ...=20 I would suggest you check the /var/db/pkg/libiconv*/+CONTENTS file to=20 see if it contains any extra dependencies. The begining of my=20 libiconv*/+CONTENTS file only contains this:=20 =20 @comment PKG_FORMAT_REVISION:1.1=20 @name libiconv-1.13.1=20 @comment ORIGIN:converters/libiconv=20 @cwd /usr/local=20 man/man1/iconv.1.gz=20 @comment MD5:5c4f3aa5c04f006466355e377b1a2560=20 :=20 =20 There should be no @pkgdep or @comment DEPORIGIN lines in this file.=20 If you have these in there, then remove them as libiconv has no=20 dependencies.=20 =20 Scot=20 _______________________________________________=20 freebsd-questions@freebsd.org mailing list=20 http://lists.freebsd.org/mailman/listinfo/freebsd-questions=20 To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org= " ------=_Part_4073_1320511431.1263320964721-- From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 18:52:01 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 739481065676; Tue, 12 Jan 2010 18:52:01 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-iw0-f177.google.com (mail-iw0-f177.google.com [209.85.223.177]) by mx1.freebsd.org (Postfix) with ESMTP id 323E28FC15; Tue, 12 Jan 2010 18:52:00 +0000 (UTC) Received: by iwn7 with SMTP id 7so7351659iwn.7 for ; Tue, 12 Jan 2010 10:51:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=Y1qDPJwlbwvnlqQd9xniISGgEdzUdFjplEhpZLS3cCE=; b=n3VFt0dm/4K7joZcQw2BFoNInQG9nAbi9oTDgcTERHDFWytbBxDVOQW3PJM64XZHMa PF3K9i3gPS81i3tZVBSHzt4XwmVU/LGYBsSyBNuM56dg1xeNlZvdytB2Nk4oOS7+hueG 1mC4zTBnvgmZ+l4qeqBabfthcu4KEPTitryzQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=vD43e0oKyodywjLRUNRs/VeYmWbcA5m0GTERZwQnWr1ygdw3lb4DAv8Ad7jjBzrZrZ vtB9gTzhE6+cP7BuQXQvhJ3zW/GYz/kZNCWnlcuKDVuj9Zbt5nEJcE6GVEU4u7Sek23W Qby/96nSIVu5P3I7OM4PiJ0suMIGdEQ+IXPYM= MIME-Version: 1.0 Received: by 10.231.147.149 with SMTP id l21mr1041689ibv.0.1263322314330; Tue, 12 Jan 2010 10:51:54 -0800 (PST) Date: Tue, 12 Jan 2010 12:51:54 -0600 Message-ID: <790a9fff1001121051m41ba0e32r2176ba2b56b946c5@mail.gmail.com> From: Scot Hetzel To: keneasson Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Subject: (no subject) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 18:52:01 -0000 On Tue, Jan 12, 2010 at 12:29 PM, keneasson wrote: > I did a pkg_delete for both libiconv and libxul in the hope that this would > clear any stale depends from firefox2 days causing me these problems. > : > #cd ../../devel/libtool22 > local# make > ===> libtool-2.2.6b depends on file: /usr/local/lib/libxul/libxul.so - not > found > ===> Verifying install for /usr/local/lib/libxul/libxul.so in > /usr/ports/www/libxul libtool22 has no dependencies, this points to something in your environment is causing the GECKO port to be included as a dependency. Check your /etc/make.conf, and/or /usr/local/etc/ports.conf (if using ports-mgmt/portconf) for USE_GECKO. Scot From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 19:01:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91866106568D for ; Tue, 12 Jan 2010 19:01:32 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 4B0B28FC16 for ; Tue, 12 Jan 2010 19:01:31 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o0CJ1VMd088593; Tue, 12 Jan 2010 12:01:31 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o0CJ1VxX088590; Tue, 12 Jan 2010 12:01:31 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Tue, 12 Jan 2010 12:01:31 -0700 (MST) From: Warren Block To: Matthias Apitz In-Reply-To: <20100112161230.GA4794@current.Sisis.de> Message-ID: References: <20100112105155.GA2980@current.Sisis.de> <20100112161230.GA4794@current.Sisis.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [127.0.0.1]); Tue, 12 Jan 2010 12:01:31 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: watching WebEx session 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: Tue, 12 Jan 2010 19:01:32 -0000 On Tue, 12 Jan 2010, Matthias Apitz wrote: > El d?a Tuesday, January 12, 2010 a las 08:48:31AM -0700, Warren Block escribi?: > >> On Tue, 12 Jan 2010, Matthias Apitz wrote: >> >>> Has someone had luck with watching a WebEx session on FreeBSD based >>> desktop? As far as I understand, it is somehow Flash and RDP based, i.e. >>> some tools like Firefox with flash and a RDP client are required. >>> I'm always forced to launch a VM with XP to watch such sessions and it >>> would be good for me to overcome this situation. >> >> The Linux Webex client might work. >> http://support.webex.com/support/system-requirements.html says it'll run >> under Fedora 10, and linux_base-f10 works well. > > Thanks for the hint; I looked around there but can not see any WebEx > Business Suite 27 (WBS27) client to down load; is this part of the 14day > Free Trial? Sorry, I don't know. My experience was with the Windows version some time back. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 19:17:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4C9710657E4; Tue, 12 Jan 2010 19:17:46 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-iw0-f177.google.com (mail-iw0-f177.google.com [209.85.223.177]) by mx1.freebsd.org (Postfix) with ESMTP id 04F7B8FC15; Tue, 12 Jan 2010 19:17:45 +0000 (UTC) Received: by iwn7 with SMTP id 7so7370148iwn.7 for ; Tue, 12 Jan 2010 11:17:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=4G4HugX4z4t2s1ZcMs+FF6NIhXTgR4xZy1d6qKnSLiU=; b=SQT9nlJjsz40fFDkHRkInDhVU4TXjK6SAcdfnFtO+dRa6wVwDyLRgbSSO6JEXXQbfj p4VCWIQhMN3zYoJ4+yOfihBjConfCOayBp79lAhwt/ld8dVKhplzlf4ZBTrJz76ir0tv qpWEuWQXZPuXu79+UE1+qy+35aF/hyfzFxgr4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=uXYNDUNHmSgtOQQbt47XyxvOpT7qqoWK41jY6NMVG+4lxcrbanSaRBapH6F/qiVpwh lgGVs2zO4CdvYsJwgekacUv5PySSvCKABWtns8uIVuXQi4zou4TqiXikYxdSVVGFN2wj FWRtyDCKuT7lRJJNlqpOwu7ifh4xqfTitRUFA= MIME-Version: 1.0 Received: by 10.231.81.148 with SMTP id x20mr1267244ibk.2.1263323858399; Tue, 12 Jan 2010 11:17:38 -0800 (PST) Date: Tue, 12 Jan 2010 13:17:38 -0600 Message-ID: <790a9fff1001121117s204cfac2j313a1d72a01c700f@mail.gmail.com> From: Scot Hetzel To: keneasson Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Subject: Re: can't update 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: Tue, 12 Jan 2010 19:17:49 -0000 On Tue, Jan 12, 2010 at 12:51 PM, Scot Hetzel wrote: > On Tue, Jan 12, 2010 at 12:29 PM, keneasson wrote: >> I did a pkg_delete for both libiconv and libxul in the hope that this wo= uld >> clear any stale depends from firefox2 days causing me these problems. >> > : >> #cd ../../devel/libtool22 >> local# make >> =3D=3D=3D> =A0 libtool-2.2.6b depends on file: /usr/local/lib/liul/libxu= l.so - not >> found >> =3D=3D=3D> =A0 =A0Verifying install for /usr/local/lib/libxul/libxul.so = in >> /usr/ports/www/libxul > > libtool22 has no dependencies, this points to something in your > environment is causing the GECKO port to be included as a dependency. > Check your /etc/make.conf, and/or /usr/local/etc/ports.conf (if using > ports-mgmt/portconf) for USE_GECKO. > Also check these files for WANT_GECKO. dv8t01# pwd /usr/ports/devel/libtool22 dv8t01# make -V LIB_DEPENDS dv8t01# make -V LIB_DEPENDS WANT_GECKO=3Dlibxul cairo.2:/usr/ports/graphics/cairo jpeg.10:/usr/ports/graphics/jpeg nspr4:/usr/ports/devel/nspr nss3:/usr/ports/security/nss png.5:/usr/ports/graphics/png Xft.2:/usr/ports/x11-fonts/libXft iconv.3:/usr/ports/converters/libiconv atk-1.0.0:/usr/ports/accessibility/atk glib-2.0.0:/usr/ports/devel/glib20 gtk-x11-2.0.0:/usr/ports/x11-toolkits/gtk20 IDL-2.0:/usr/ports/devel/libIDL pango-1.0.0:/usr/ports/x11-toolkits/pango Scot From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 19:23:15 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B66801065694 for ; Tue, 12 Jan 2010 19:23:15 +0000 (UTC) (envelope-from colintrebla@gmail.com) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id 68B158FC14 for ; Tue, 12 Jan 2010 19:23:15 +0000 (UTC) Received: by yxe1 with SMTP id 1so21126492yxe.3 for ; Tue, 12 Jan 2010 11:23:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=RE66pNiJ7TGqAimrQwrbL3YE84ZH1Uh8ap0qGn4p0EE=; b=p1eUtkkzPOR4ctj7bIcnhVEVTzzx43Kw51kqw4YtUKrAIoS9zAZusMZOdFWDntP1fP sqIwYD6ofg+PWfY2KPimmjpIehX/RtRmMH23b1zrSWbYirECEc67Hb89qT7RnT0pNlxh oaqdVFq2V7DIHXUKZFh3t/tLtgVblfWB2OrHs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=Tc8XLJPCIwrWfEJ/Ne7XgB9PDFYirzP4dCOBFOCwLtQlV5wXCIlc4u7P53mPvBJAT+ jcFePMTwUo3ucVv/2etgjfHCg9TlDnS6vYmjSe/Bs8CnOTOKbd3KJpoUoskMCO5MOIP2 NoccFM8a70j3GEcPgQU0xlvpId6WlUVFzoGFk= Received: by 10.151.29.8 with SMTP id g8mr10694608ybj.250.1263324189262; Tue, 12 Jan 2010 11:23:09 -0800 (PST) Received: from Tickles.e-alberts.com (cpe-071-075-114-213.carolina.res.rr.com [71.75.114.213]) by mx.google.com with ESMTPS id 34sm11094488yxf.29.2010.01.12.11.23.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 12 Jan 2010 11:23:08 -0800 (PST) Message-ID: <4B4CCC1C.90505@gmail.com> Date: Tue, 12 Jan 2010 14:23:08 -0500 From: Colin Albert User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.5) Gecko/20100104 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20100112105155.GA2980@current.Sisis.de> <20100112161230.GA4794@current.Sisis.de> In-Reply-To: <20100112161230.GA4794@current.Sisis.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: watching WebEx session 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: Tue, 12 Jan 2010 19:23:15 -0000 On 01/12/10 11:12, Matthias Apitz wrote: > El día Tuesday, January 12, 2010 a las 08:48:31AM -0700, Warren Block escribió: > > >> On Tue, 12 Jan 2010, Matthias Apitz wrote: >> >> >>> Has someone had luck with watching a WebEx session on FreeBSD based >>> desktop? As far as I understand, it is somehow Flash and RDP based, i.e. >>> some tools like Firefox with flash and a RDP client are required. >>> I'm always forced to launch a VM with XP to watch such sessions and it >>> would be good for me to overcome this situation. >>> >> The Linux Webex client might work. >> http://support.webex.com/support/system-requirements.html says it'll run >> under Fedora 10, and linux_base-f10 works well. >> > Thanks for the hint; I looked around there but can not see any WebEx > Business Suite 27 (WBS27) client to down load; is this part of the 14day > Free Trial? > > matthias > You should be able to try this using the online demo. http://www.webex.com/go/live_demo if it works the download will be automatic. I am still trying to make it work as well. -Colin From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 19:56:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 086E01065692 for ; Tue, 12 Jan 2010 19:56:48 +0000 (UTC) (envelope-from caugar@gmail.com) Received: from mail-iw0-f177.google.com (mail-iw0-f177.google.com [209.85.223.177]) by mx1.freebsd.org (Postfix) with ESMTP id C4A878FC17 for ; Tue, 12 Jan 2010 19:56:47 +0000 (UTC) Received: by iwn7 with SMTP id 7so7397247iwn.7 for ; Tue, 12 Jan 2010 11:56:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Kz/m9Zc9AV1uFNlL08LNRnCMH51ZyD/DHYCqyUi9Fbg=; b=XPqux25rX0OB/1b8Spsmr/Wb7OToOK2XYKURmlSue6HO9wZzA1/KoOJpP04CclgMEv YCda/p9LcmnYUVH9vaKB0Z+2pKJJQBxuCzYyiaqC/WUKNQJVX8+9hertah4ohEkAut26 CEjqT+n5kpmwnRhjCeX95KWA1DStEHiXFstUw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=NaEf4Sb2570AOWzWiFOvF+hTRwmG97OiguxIzkS1POMQUUUbxlZ+ddvwSuF6yHL5mB VyGtoP/QmOSolp5p4zUyOileAwptlUfdURwqW/6YhR35bewNCsM1r7nSIyAjOQgorSTV dtbrPxWI8Iz/zHJZ8Gu8n8p9plMSfb4OpkUBk= MIME-Version: 1.0 Received: by 10.231.156.205 with SMTP id y13mr285023ibw.27.1263326198598; Tue, 12 Jan 2010 11:56:38 -0800 (PST) In-Reply-To: <20100110000633.G8593@sola.nimnet.asn.au> References: <20100109074733.9E5EA106574A@hub.freebsd.org> <20100110000633.G8593@sola.nimnet.asn.au> Date: Tue, 12 Jan 2010 11:56:38 -0800 Message-ID: <69fec4521001121156m2f85f06eqc530547cbb6b3479@mail.gmail.com> From: Knight Tiger To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: ISO image size -regarding X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 19:56:48 -0000 Hi, To update all, I followed Roland's suggestion and installed isomaster and just opened the iso file (1GB) and saved it again and it 'magically' shrank to 570 MB. The new ISO was burned and tested on a physical machine and it works fine. Thanks Roland ! I tried Ian's suggestion and copied from the ISO file and can confirm that his recommended changes did the trick and the ripped files only measure 570 MB making it easier to use mkisofs . Thanks Ian ! Cheers Scott On Sat, Jan 9, 2010 at 6:04 AM, Ian Smith wrote: > In freebsd-questions Digest, Vol 292, Issue 14, Message: 12 > On Fri, 8 Jan 2010 16:41:24 -0800 Knight Tiger wrote: > =A0> Hi, > =A0> > =A0> I am trying to create a custom ISO image of FreeBSD 6.4. The only > =A0> difference between the release ISO and this custom image is a modifi= ed > =A0> driver (amdsmb.ko). I did not create the new driver. I believe it wa= s > =A0> backported from a later release. > =A0> > =A0> I understand that this is not a backport of the driver =A0but a hack= but > =A0> the ISO size surprises me. > =A0> > =A0> The steps I had followed (listed below) resulted in an ISO image of > =A0> around 1 GB while the original ISO image is around 600 MB. The new > =A0> image work boots fine but I am not sure why it is huge > =A0> > =A0> Steps: > =A0> > =A0> // mount the release ISO > =A0> # mdconfig -a -t vnode -f 6.4-RELEASE-i386-disc1.iso -u 0 > =A0> # mount_cd9660 /dev/acd0 /mnt > =A0> > =A0> # pwd > =A0> /usr/home/scott > =A0> > =A0> # mkdir custom > =A0> # cd custom > =A0> > =A0> // copy iso files to custom > =A0> # rsync =A0-a /mnt . > > Hi Scott, > > nearly all in /rescue are hardlinks to one big executable, and there are > also hardlinks in /bin and /sbin, hence your size difference. =A0rsync(1)= : > > =A0 =A0 =A0 =A0 =A0 =A0 =A0Note that -a does not preserve hardlinks, beca= use finding multi- > =A0 =A0 =A0 =A0 =A0 =A0 =A0ply-linked =A0files is expensive. =A0You must = separately specify -H. > =A0 =A0 =A0 =A0 =A0 =A0 =A0Note also that for compatibility, -a currently= does not =A0include > =A0 =A0 =A0 =A0 =A0 =A0 =A0--flags =A0(see there) to include preserving c= hange file flags (if > =A0 =A0 =A0 =A0 =A0 =A0 =A0supported by the OS). > > =A0> # scp scott@remote:/boot/kernel/amdsmb.ko boot/kernel/. > =A0> > =A0> // wrap up in a ISO > =A0> # cd .. > =A0> #mkisofs -R -b boot/cdboot -no-emul-boot -o custom.iso custom > =A0> > =A0> The ISO file is created successfully but is huge. I mounted it in > =A0> VirtualBox and boots just fine. I was able to install the OS (althou= gh > =A0> I have not checked the functionality of amdsmb changes yet) > =A0> > =A0> I looked up information on creating custom ISO images but they had a= ll > =A0> involved rebuilding the kernel while I am not sure if I need to do t= he > =A0> same Any leads is appreciated. > > Yes, running make release might be just a tad over the top for this :) > > cheers, Ian > From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 20:12:40 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 831B11065670 for ; Tue, 12 Jan 2010 20:12:40 +0000 (UTC) (envelope-from jamie@FreeBSD.org) Received: from gritton.org (gritton.org [161.58.222.4]) by mx1.freebsd.org (Postfix) with ESMTP id 436A08FC16 for ; Tue, 12 Jan 2010 20:12:40 +0000 (UTC) Received: from guppy.corp.verio.net (fw.oremut02.us.wh.verio.net [198.65.168.24]) (authenticated bits=0) by gritton.org (8.13.6.20060614/8.13.6) with ESMTP id o0CJt4pK013581; Tue, 12 Jan 2010 12:55:05 -0700 (MST) Message-ID: <4B4CD371.3080601@FreeBSD.org> Date: Tue, 12 Jan 2010 12:54:25 -0700 From: Jamie Gritton User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.5) Gecko/20100103 Thunderbird/3.0 MIME-Version: 1.0 To: Tim Judd References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions Subject: Re: Jails - Ethernet data vs IP data X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 20:12:40 -0000 On 01/09/10 21:21, Tim Judd wrote: > I bought a new SiliconDust HDHomeRun device which brings two Digital > coaxial tuners to an ethernet network. From what I read and > understand about the HDHomeRun ("HDHR"), is that it does have an IP > address assigned to the system, but all packets of video are actually > just raw Ethernet packets/data that has it's own payload and protocol. > > The port MythTV (to which I'm starting to love) maintainer has marked > the two pieces of MythTV as conflicting ports (I'll address to the > maintainer directly), so I build the frontend (the user interface if > you will) on the host, because it needs lots of X11/xorg. The backend > runs as a daemon talking with MySQL to manage everything. Since they > conflict, the backend goes onto a jail. > > I have to port-compile the backend every time, the packages have > missing dependencies. It takes quite a while. I know the HDHR is > online, I can watch the video without MythTV interaction, but the > jailed backend isn't seeing it. So I was hoping to see if I can query > the group and see if "raw ethernet data" can be delivered to a jail, > or if I'm just fishing in the empty fish bowl trying to get this to > work in a jail. > > Thanks for input in regards to limits the jail system might > have. This is on a golden 8.0-RELEASE i386, haven't updated it yet. Take a look at the security.jail.allow_raw_sockets sysctl, or the allow.raw_sockets jail parameter (probably the former since the jail parameters don't have good rc support yet). By default, jails aren't allowed to create the raw sockets necessary for direct ethernet communication. Setting security.jail.allow_raw_sockets=1 should allow that. You might also need to clear security.jail.socket_unixiproute_only (or set allow.socket_af) - not sure about that. - Jamie From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 20:27:19 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1EF5106566B for ; Tue, 12 Jan 2010 20:27:19 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 363798FC0C for ; Tue, 12 Jan 2010 20:27:18 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o0CKRFu7026296; Tue, 12 Jan 2010 12:27:15 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Tue, 12 Jan 2010 12:27:15 -0800 (PST) Date: Tue, 12 Jan 2010 12:27:15 -0800 From: Gary Kline To: Warren Block Message-ID: <20100112202715.GA98769@thought.org> References: <80f4f2b21001120900j7418c725k95221bb06cde0dc1@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-1.2 required=3.6 tests=ALL_TRUSTED,BAYES_00, FH_DATE_PAST_20XX autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: Jim , freebsd-questions@freebsd.org Subject: Re: sendmail issues - make fails to create aliases.db in /etc/mail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 20:27:19 -0000 On Tue, Jan 12, 2010 at 11:09:54AM -0700, Warren Block wrote: > On Tue, 12 Jan 2010, Jim wrote: > > >make in /etc/mail fails (silently) to create aliases.db. I touched all > >the source files I modified to make sure they would be rebuilt (since > >the last rebuild failed). > > Just tried it here successfully, although I'd usually do newaliases. > > >[root@mail-jail /etc/mail]# /usr/sbin/sendmail -v -bi > >-OAliasFile=/etc/mail/aliases > >sendmail: -O option ignored > ... > >postalias: dict_eval: const Postfix > ... > >postalias: open hash /etc/aliases > > Looks like you're using postfix pretending to be sendmail. Evidently > postfix doesn't build aliases.db the same way. You might try > newaliases. > Yeah, that might work. I had troubles with aliases and the database and it didn't resolve itself until I ran newaliases. But newaliases is just a symlink to /usr/sbin/mailwrapper. It calls /etc/mail/mail.conf with newaliases which point to the *real* binary. That's where things disappear down the rabbit hole. Are you trying to run sendmail as postfix? > -Warren Block * Rapid City, South Dakota USA > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 20:25:38 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF8B0106566B for ; Tue, 12 Jan 2010 20:25:38 +0000 (UTC) (envelope-from mailtome200420032002@yahoo.com) Received: from web53102.mail.re2.yahoo.com (web53102.mail.re2.yahoo.com [206.190.49.52]) by mx1.freebsd.org (Postfix) with SMTP id 3E38E8FC0A for ; Tue, 12 Jan 2010 20:25:37 +0000 (UTC) Received: (qmail 69172 invoked by uid 60001); 12 Jan 2010 19:58:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1263326334; bh=rS2j2OCJ3DH1qazuJKwQBS5pKZdChppv2Bof3M+dezY=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=J87Qdo/eujqqiU1rcy6HaPpR0QA0wH9T1ip/v0hZj2qZ0AM5Gsn/ddTW2GG4880vFRirJnp07Fgcltxwxr/aSqN12EU1wmCRBYx4Slulj3yaWZ6OdBIX0/dKaAoAMRw3vlifK1M4j+JCB1GCHpoG5c45qitK8QxAyhs9xzeiDxI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=LLVH6EW4jQu2Qsj8ukRsUbQOo87w6qarmK+e5oSfDz0dOuEfjv1UtiG2BxjuZdjVCfnBAL1KOCzpuRenrJ/FNs81vwq5WwApmmUogVI5DNXOQDrGsAsc+KvrNO2RjY7WQJcZdumUYwSlvEeGfA5/c4AvAG1opcjCd615lrGtxJM=; Message-ID: <639176.68126.qm@web53102.mail.re2.yahoo.com> X-YMail-OSG: R2M32wgVM1nn0i5zWMeRadBWQCOio7IoBaViI0_Wls.1Z.6nyteb5O_.n.gDmDCrQ67VbZWvtW71cpMDiAeIYsbGUbIKTPt781eUXuCyl6gf919fsQSEg9oUfNvTl2KGUqDkW11eOx8gch0r83hTHcGJuQhwjfnZzN_rSPbbJ2eaQusBj6Cffh.wldbsk1w7Hh2fzActU10tQlM0Lo6CdU.PmarYdzw2Z_nbjePHgFbcAFBrqQ0xS.g4j4SA.6lYsckDLgFgSO5InpqZTNB21fefR9Hb2Dt_H3r7o1_l Received: from [208.91.1.9] by web53102.mail.re2.yahoo.com via HTTP; Tue, 12 Jan 2010 11:58:54 PST X-Mailer: YahooMailClassic/9.0.20 YahooMailWebService/0.8.100.260964 Date: Tue, 12 Jan 2010 11:58:54 -0800 (PST) From: john blair To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailman-Approved-At: Tue, 12 Jan 2010 20:32:14 +0000 Subject: cross compiler for x86_64 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: Tue, 12 Jan 2010 20:25:38 -0000 I am trying to build a crosscompiler (gcc-4.1.2, binutils-2.15, freebsd-8.0) with target as x86_64-freebsd and host as i686-linux. Everything builds successfully but compiler-assist libraries (libgcc_s, libstdc++, etc.) are Linux library, not a FreeBSD one. $ file gcc-4.1.2/x86_64-freebsd8.0/lib/libstdc++.so.6.8 gcc-4.1.2/x86_64-freebsd8.0/lib/libstdc++.so.6.8: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped If I build with binutils-2.17.50.15 everything is fine. $ file gcc-4.1.2/x86_64-freebsd8.0/lib/libstdc++.so.6.8 gcc-4.1.2/x86_64-freebsd8.0/lib/libstdc++.so.6.8: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, stripped Same is the case for freebsd6.0,6.3.... From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 20:35:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBB8D1065670 for ; Tue, 12 Jan 2010 20:35:07 +0000 (UTC) (envelope-from colintrebla@gmail.com) Received: from mail-yw0-f197.google.com (mail-yw0-f197.google.com [209.85.211.197]) by mx1.freebsd.org (Postfix) with ESMTP id 809FD8FC23 for ; Tue, 12 Jan 2010 20:35:07 +0000 (UTC) Received: by ywh35 with SMTP id 35so13599953ywh.7 for ; Tue, 12 Jan 2010 12:34:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=OPrntgumOxGLU9aQWL2K/HDB0gsfYvuqolNeBnwllGU=; b=cPn4obhbXI49RjwAYTzMHoD0B/uPYRASfF7sfPNwijbT2n/qQxL432gBmh22oL3/79 LNFOYABkIoW1cUX+HB2FVdTQWzff/Kp+tUZMRSOKR40u8JH+TaxRjkA/ZbZD0ZGqwpI2 sebY82Y4vPlIVQphkjEYI1b9bbrKD3Xmu7tKU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=ll4dCzS1hLaorSfunPOh01wBmonURleLkJYXre9Lwp7ME1cZIeU/4Vfyzt2BhmWRXa TYvwwDoa7/BP6+PsSwja1wbNKdQ2YsL6IOlX4iX9Uj9gpf7oIUBw6D9IX5GY1SR3RQpF pYCg1UcXKQxj4hL6ZFH/MwjoIADElrBdCqt2w= Received: by 10.150.21.42 with SMTP id 42mr21984648ybu.180.1263328499829; Tue, 12 Jan 2010 12:34:59 -0800 (PST) Received: from Tickles.e-alberts.com (cpe-071-075-114-213.carolina.res.rr.com [71.75.114.213]) by mx.google.com with ESMTPS id 7sm11138148yxg.68.2010.01.12.12.34.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 12 Jan 2010 12:34:59 -0800 (PST) Message-ID: <4B4CDCF2.1070205@gmail.com> Date: Tue, 12 Jan 2010 15:34:58 -0500 From: Colin Albert User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.5) Gecko/20100104 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20100112105155.GA2980@current.Sisis.de> <20100112161230.GA4794@current.Sisis.de> <4B4CCC1C.90505@gmail.com> In-Reply-To: <4B4CCC1C.90505@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: watching WebEx session 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: Tue, 12 Jan 2010 20:35:08 -0000 On 01/12/10 14:23, Colin Albert wrote: > On 01/12/10 11:12, Matthias Apitz wrote: >> El día Tuesday, January 12, 2010 a las 08:48:31AM -0700, Warren Block >> escribió: >> >>> On Tue, 12 Jan 2010, Matthias Apitz wrote: >>> >>>> Has someone had luck with watching a WebEx session on FreeBSD based >>>> desktop? As far as I understand, it is somehow Flash and RDP based, >>>> i.e. >>>> some tools like Firefox with flash and a RDP client are required. >>>> I'm always forced to launch a VM with XP to watch such sessions and it >>>> would be good for me to overcome this situation. >>> The Linux Webex client might work. >>> http://support.webex.com/support/system-requirements.html says it'll >>> run >>> under Fedora 10, and linux_base-f10 works well. >> Thanks for the hint; I looked around there but can not see any WebEx >> Business Suite 27 (WBS27) client to down load; is this part of the 14day >> Free Trial? >> >> matthias > You should be able to try this using the online demo. > http://www.webex.com/go/live_demo if it works the download will be > automatic. I am still trying to make it work as well. > > -Colin Followup: I was able to make this work by changing my user agent from: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.5) Gecko/20091106 Firefox/3.5.5 to: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5) Gecko/20091106 Firefox/3.5.5 So it looks like linux_base-f10 is not required. The first time I tried this firefox crashed. Then I opened firefox from the command line to see if I could see the error, and it is working now. I am still testing to see what functionality does/does not work. I am using 8.0 Stable with diablo 1.6 and firefox 3.5.5. Thanks, -Colin From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 20:44:15 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A95B1065726 for ; Tue, 12 Jan 2010 20:44:15 +0000 (UTC) (envelope-from hack988@dev.htwap.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id 483968FC13 for ; Tue, 12 Jan 2010 20:44:14 +0000 (UTC) Received: by pwi15 with SMTP id 15so2585240pwi.3 for ; Tue, 12 Jan 2010 12:44:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.59.16 with SMTP id h16mr1562528wfa.161.1263327217730; Tue, 12 Jan 2010 12:13:37 -0800 (PST) X-Originating-IP: [119.96.12.255] In-Reply-To: <01fa01ca931e$8a32d6d0$9e988470$@com> References: <157701ca90c1$3a62ecd0$af28c670$@com> <20100109073442.c86fe9e4.freebsd@edvax.de> <188101ca918f$40141810$c03c4830$@com> <19e201ca91a8$b1f70690$15e513b0$@com> <20100110112130.11ff370c.freebsd@edvax.de> <25da01ca9237$fc0c94e0$f425bea0$@com> <01fa01ca931e$8a32d6d0$9e988470$@com> Date: Wed, 13 Jan 2010 04:13:37 +0800 Message-ID: <4d03254c1001121213v67fda3ecn4e094697aceaa953@mail.gmail.com> From: hack988 hack988 To: "Don O'Neil" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: php-general@lists.php.net, freebsd-questions@freebsd.org Subject: Re: [PHP] RE: Clean PHP 5.2.12 Build Core Dumping / Can't Build Port - FreeBSD 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: Tue, 12 Jan 2010 20:44:15 -0000 1.add WITHOUT_X11=3Dyes in /etc/make.conf 2.remove X11BASE=3D"" from that file and 4.make all-depend-list 5.make clean all depend soft 6.make menuconfig set X11 disable 7.make &&make install 2010/1/12 Don O'Neil : > Ok.. just for grins I installed a new instance of 6.1, NO Patches, just > straight off the ISO... > > I loaded the ports that came WITH the distro, and was able to make php 5.= 1.2 > ok... > > When I did a portsnap fetch, portsnap extract, then went into the > /usr/ports/lang/php5 and just typed make I get the same error... > > SO as it seems, the port is broken, at least for working with FreeBSD 6.1= . > > Can anyone give me some hints on how to build this sucker by hand? Seems = as > though there are a bunch of patches that are referenced in the distinfo > file. > > I REALLY need to get this taken care of asap, any help is appreciated. > > Thanks! > >> > > I tried adding WITHOUT_X11=3Dyes to /etc/make.conf as well as >> X11BASE=3D >> > and >> > > X11BASE=3D"", but I still get the same error. >> > >> > Remove them. This makes sure they are not defined, not even >> > empty (as in "#define BLA -> symbol 'BLA' is defined"). >> > >> > > Where to go from here? Do I have and old version of something that >> is >> > > causing this? I get this error _right away_ before anything is even >> > built. >> > >> > It seems to be a check by the Makefile at port's top level. >> >> Ok... I have no definition for X11BASE anywhere, not in my env, not in >> my >> /etc/make.conf, nowhwere... >> >> However, it's still complaining about X11BASE being deprecated. I tried >> just >> adding WITHOUT_X11=3Dyes in /etc/make, and without it. I even searched >> all the >> Makefiles in /usr/ports, and in the /usr/ports/lang/php5 dir to find >> any >> reference to X11, or X, or X11BASE, but nada... I don't even know where >> this >> error message is being generated from. >> >> I can't even do a basic make without it immediately spitting out the >> error: >> >> # make >> X11BASE is now deprecated. =A0Unset X11BASE in make.conf and try again. >> *** Error code 1 >> >> Stop. >> > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 20:49:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0BB62106568D; Tue, 12 Jan 2010 20:49:54 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from mail-gx0-f209.google.com (mail-gx0-f209.google.com [209.85.217.209]) by mx1.freebsd.org (Postfix) with ESMTP id 90D248FC26; Tue, 12 Jan 2010 20:49:53 +0000 (UTC) Received: by gxk1 with SMTP id 1so10836664gxk.14 for ; Tue, 12 Jan 2010 12:49:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=RQo+tMLSHoZmsRGH7RPaf/BsGx44obwXIScAEjxDxVQ=; b=sg9JEyAtt00OHphC3ARFnSHWKtYSH19FUQ6inGd1ijIier6YOr+CEvl0HLegNfL5Bc aBv3ySdV52AgbPpVBLt3eA7vqrXVfUqoyrp09RZ4oOuy/cr+IpECIjIA27Uevfh7wZvI 5MUGlxqqdPqCO0e0ryXAKbxIuAaOR7JYjcTMU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=rYkhcpb1YGZBwhK1CmQ4uzd5sb141vVL8wXIUbk2t87AdXaVYMZNO21NjO4VUxYgHT T0zH/RgRJrTCdY2UKkB9EVqozGXxhAV5uh/RZmMODniWYc65ggseFwGehj+jYHJL0Wej VG6ExaRLMCYj2RYdGP8pFo2SIxiySG2gwol0Q= MIME-Version: 1.0 Received: by 10.100.63.16 with SMTP id l16mr789170ana.47.1263329386146; Tue, 12 Jan 2010 12:49:46 -0800 (PST) In-Reply-To: <201001122127.56716.freebsd@o2.pl> References: <201001120100.16631.freebsd@o2.pl> <201001122127.56716.freebsd@o2.pl> Date: Tue, 12 Jan 2010 22:49:46 +0200 Message-ID: From: Dan Naumov To: freebsd@o2.pl, FreeBSD-STABLE Mailing List , freebsd-questions@freebsd.org, freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: ZFS on top of GELI X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 20:49:54 -0000 2010/1/12 Rafa=C5=82 Jackiewicz : >>Thanks, could you do the same, but using 2 .eli vdevs mirrorred >>together in a zfs mirror? >> >>- Sincerely, >>Dan Naumov > > Hi, > > Proc: Intell Atom 330 (2x1.6Ghz) - 1 package(s) x 2 core(s) x 2 HTT threa= ds > Chipset: Intel 82945G > Sys: 8.0-RELEASE FreeBSD 8.0-RELEASE #0 > empty file: /boot/loader.conf > Hdd: > =C2=A0 ad4: 953869MB at ata2-master SATA150 > =C2=A0 ad6: 953869MB at ata3-master SATA150 > Geli: > =C2=A0 geli init -s 4096 -K /etc/keys/ad4s2.key /dev/ad4s2 > =C2=A0 geli init -s 4096 -K /etc/keys/ad6s2.key /dev/ad6s2 > > > Results: > **************************************************** > > *** single drive =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0write MB/s =C2=A0 =C2=A0 =C2=A0read =C2=A0MB/s > eli.journal.ufs2 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A023 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A014 > eli.zfs =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 19 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A036 > > > *** mirror =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0write MB/s =C2=A0 =C2=A0 =C2=A0re= ad =C2=A0MB/s > mirror.eli.journal.ufs2 23 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A016 > eli.zfs =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 31 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A040 > zfs =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 83 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A079 > > > *** degraded mirror =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 write MB/s = =C2=A0 =C2=A0 =C2=A0read MB/s > mirror.eli.journal.ufs2 16 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A09 > eli.zfs =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 56 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A040 > zfs =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 86 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A071 > > **************************************************** Thanks a lot for your numbers, the relevant part for me was this: *** mirror write MB/s read MB/s eli.zfs 31 40 zfs 83 79 *** degraded mirror write MB/s read MB/s eli.zfs 56 40 zfs 86 71 31 mb/s writes and 40 mb/s reads is something that I guess I could potentially live with. I am guessing the main problem of stacking ZFS on top of geli like this is the fact that writing to a mirror requires double the CPU use, because we have to encrypt all written data twice (once to each disk) instead of encrypting first and then writing the encrypted data to 2 disks as would be the case if we had crypto sitting on top of ZFS instead of ZFS sitting on top of crypto. I now have to reevaluate my planned use of an SSD though, I was planning to use a 40gb partition on an Intel 80GB X25-M G2 as a dedicated L2ARC device for a ZFS mirror of 2 x 2tb disks. However these numbers make it quite obvious that I would already be CPU-starved at 40-50mb/s throughput on the encrypted ZFS mirror, so adding an l2arc SSD, while improving latency, would do really nothing for actual disk read speeds, considering the l2arc itself would too, have to sit on top of a GELI device. - Sincerely, Dan Naumov From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 20:51:14 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC8E31065694 for ; Tue, 12 Jan 2010 20:51:14 +0000 (UTC) (envelope-from rfarmer@predatorlabs.net) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mx1.freebsd.org (Postfix) with ESMTP id 762C78FC27 for ; Tue, 12 Jan 2010 20:51:14 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 3so42859qwe.7 for ; Tue, 12 Jan 2010 12:51:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.224.33.79 with SMTP id g15mr338994qad.253.1263329460293; Tue, 12 Jan 2010 12:51:00 -0800 (PST) X-Originating-IP: [128.95.133.85] Date: Tue, 12 Jan 2010 12:51:00 -0800 Message-ID: From: Rob Farmer To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Endianness X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 20:51:14 -0000 I'm trying to create a port of an application which only works on little endian systems and I'm trying to figure out how to set ONLY_FOR_ARCHS. Wikipedia says PowerPC, Sparc, and IA64 are bi-endian and the OS chooses the mode. I'm not familiar with these platforms - I'm sure it has been answered somewhere, but I can't find it - which FreeBSD archs are little/big endian? Thanks. -- Rob Farmer From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 21:04:30 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D18EE1065670 for ; Tue, 12 Jan 2010 21:04:30 +0000 (UTC) (envelope-from dkelly@Grumpy.DynDNS.org) Received: from smtp.knology.net (smtp.knology.net [24.214.63.101]) by mx1.freebsd.org (Postfix) with ESMTP id F02BA8FC1A for ; Tue, 12 Jan 2010 21:04:29 +0000 (UTC) Received: (qmail 18797 invoked by uid 0); 12 Jan 2010 21:04:27 -0000 Received: from unknown (HELO Grumpy.DynDNS.org) (24.42.224.110) by smtp7.knology.net with SMTP; 12 Jan 2010 21:04:27 -0000 Received: by Grumpy.DynDNS.org (Postfix, from userid 928) id 3018E28435; Tue, 12 Jan 2010 15:04:27 -0600 (CST) Date: Tue, 12 Jan 2010 15:04:27 -0600 From: David Kelly To: Rob Farmer Message-ID: <20100112210427.GB18673@Grumpy.DynDNS.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: questions@freebsd.org Subject: Re: Endianness 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, 12 Jan 2010 21:04:30 -0000 On Tue, Jan 12, 2010 at 12:51:00PM -0800, Rob Farmer wrote: > I'm trying to create a port of an application which only works on > little endian systems and I'm trying to figure out how to set > ONLY_FOR_ARCHS. Wikipedia says PowerPC, Sparc, and IA64 are bi-endian > and the OS chooses the mode. I'm not familiar with these platforms - > I'm sure it has been answered somewhere, but I can't find it - which > FreeBSD archs are little/big endian? Thanks. i386 is little endian. Would expect ia64 to be the same. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 21:28:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3E11106568D for ; Tue, 12 Jan 2010 21:28:54 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from kermit7.lizardhill.com (kermit7.lizardhill.com [64.69.41.223]) by mx1.freebsd.org (Postfix) with ESMTP id D7FF98FC0C for ; Tue, 12 Jan 2010 21:28:54 +0000 (UTC) Received: from ip68-104-23-65.lv.lv.cox.net ([68.104.23.65] helo=mickey) by kermit.lizardhill.com with esmtpa (Exim 4.62) (envelope-from ) id 1NUoI0-0003sM-Iv; Tue, 12 Jan 2010 13:28:36 -0800 From: "Don O'Neil" To: "'hack988 hack988'" References: <157701ca90c1$3a62ecd0$af28c670$@com> <20100109073442.c86fe9e4.freebsd@edvax.de> <188101ca918f$40141810$c03c4830$@com> <19e201ca91a8$b1f70690$15e513b0$@com> <20100110112130.11ff370c.freebsd@edvax.de> <25da01ca9237$fc0c94e0$f425bea0$@com> <01fa01ca931e$8a32d6d0$9e988470$@com> <4d03254c1001121213v67fda3ecn4e094697aceaa953@mail.gmail.com> In-Reply-To: <4d03254c1001121213v67fda3ecn4e094697aceaa953@mail.gmail.com> Date: Tue, 12 Jan 2010 13:28:58 -0800 Message-ID: <008601ca93ce$4044b0b0$c0ce1210$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 thread-index: AcqTxKtIJs7s6jlxSiS2fHsHWIumTwACPkqw Content-Language: en-us Cc: php-general@lists.php.net, freebsd-questions@freebsd.org Subject: RE: [PHP] RE: Clean PHP 5.2.12 Build Core Dumping / Can't Build Port - FreeBSD 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: Tue, 12 Jan 2010 21:28:55 -0000 This is _exactly_ what I did, and as soon as I try a 'make = all-depend-list' the error shows up. I don't even have the X11 system installed (it's a headless server, with no GUI). This is on a CLEAN 6.1 install, without any upgrades/patches, just = straight off the ISO install and after a portsnap install/extract. I tried building it _before_ I updated the ports and it would build a = 5.1.2 php ok, but I need 5.2.12. Something has changed in the port between = 5.1.2 and 5.2.12 > 1.add > WITHOUT_X11=3Dyes > in /etc/make.conf > 2.remove > X11BASE=3D"" > from that file and >=20 > 4.make all-depend-list > 5.make clean all depend soft > 6.make menuconfig set X11 disable > 7.make &&make install >=20 >=20 > 2010/1/12 Don O'Neil : > > Ok.. just for grins I installed a new instance of 6.1, NO Patches, > just > > straight off the ISO... > > > > I loaded the ports that came WITH the distro, and was able to make > php 5.1.2 > > ok... > > > > When I did a portsnap fetch, portsnap extract, then went into the > > /usr/ports/lang/php5 and just typed make I get the same error... > > > > SO as it seems, the port is broken, at least for working with = FreeBSD > 6.1. > > > > Can anyone give me some hints on how to build this sucker by hand? > Seems as > > though there are a bunch of patches that are referenced in the > distinfo > > file. > > > > I REALLY need to get this taken care of asap, any help is > appreciated. > > > > Thanks! > > > >> > > I tried adding WITHOUT_X11=3Dyes to /etc/make.conf as well as > >> X11BASE=3D > >> > and > >> > > X11BASE=3D"", but I still get the same error. > >> > > >> > Remove them. This makes sure they are not defined, not even > >> > empty (as in "#define BLA -> symbol 'BLA' is defined"). > >> > > >> > > Where to go from here? Do I have and old version of something > that > >> is > >> > > causing this? I get this error _right away_ before anything is > even > >> > built. > >> > > >> > It seems to be a check by the Makefile at port's top level. > >> > >> Ok... I have no definition for X11BASE anywhere, not in my env, not > in > >> my > >> /etc/make.conf, nowhwere... > >> > >> However, it's still complaining about X11BASE being deprecated. I > tried > >> just > >> adding WITHOUT_X11=3Dyes in /etc/make, and without it. I even = searched > >> all the > >> Makefiles in /usr/ports, and in the /usr/ports/lang/php5 dir to = find > >> any > >> reference to X11, or X, or X11BASE, but nada... I don't even know > where > >> this > >> error message is being generated from. > >> > >> I can't even do a basic make without it immediately spitting out = the > >> error: > >> > >> # make > >> X11BASE is now deprecated. =A0Unset X11BASE in make.conf and try > again. > >> *** Error code 1 > >> > >> Stop. > >> > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > >=20 > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >=20 > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 9.0.725 / Virus Database: 270.14.136/2616 - Release Date: > 01/11/10 23:35:00 From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 21:29:41 2010 Return-Path: Delivered-To: FreeBSD-Questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 891661065693 for ; Tue, 12 Jan 2010 21:29:41 +0000 (UTC) (envelope-from samankaya@netscape.net) Received: from imr-da03.mx.aol.com (imr-da03.mx.aol.com [205.188.105.145]) by mx1.freebsd.org (Postfix) with ESMTP id 11E6C8FC18 for ; Tue, 12 Jan 2010 21:29:40 +0000 (UTC) Received: from imo-ma04.mx.aol.com (imo-ma04.mx.aol.com [64.12.78.139]) by imr-da03.mx.aol.com (8.14.1/8.14.1) with ESMTP id o0CLTUge001150 for ; Tue, 12 Jan 2010 16:29:30 -0500 Received: from samankaya@netscape.net by imo-ma04.mx.aol.com (mail_out_v42.5.) id n.cde.5e236bc6 (43908) for ; Tue, 12 Jan 2010 16:29:25 -0500 (EST) Received: from [172.16.1.52] (mail.reformkurumsal.com [212.156.209.87]) by cia-dc07.mx.aol.com (v127.7) with ESMTP id MAILCIADC075-ab844b4ce9b1172; Tue, 12 Jan 2010 16:29:24 -0500 Message-ID: <4B4CE9B1.4040508@netscape.net> Date: Tue, 12 Jan 2010 23:29:21 +0200 From: Kaya Saman User-Agent: Thunderbird 2.0.0.21 (X11/20090323) MIME-Version: 1.0 To: FreeBSD-Questions@FreeBSD.org References: <20100112210427.GB18673@Grumpy.DynDNS.org> In-Reply-To: <20100112210427.GB18673@Grumpy.DynDNS.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AOL-IP: 212.156.209.87 X-Mailer: Unknown (No Version) X-Spam-Flag: NO X-AOL-SENDER: samankaya@netscape.net Cc: Subject: Re: Endianness X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 21:29:41 -0000 David Kelly wrote: > On Tue, Jan 12, 2010 at 12:51:00PM -0800, Rob Farmer wrote: > >> I'm trying to create a port of an application which only works on >> little endian systems and I'm trying to figure out how to set >> ONLY_FOR_ARCHS. Wikipedia says PowerPC, Sparc, and IA64 are bi-endian >> and the OS chooses the mode. I'm not familiar with these platforms - >> I'm sure it has been answered somewhere, but I can't find it - which >> FreeBSD archs are little/big endian? Thanks. >> > > i386 is little endian. Would expect ia64 to be the same. > > SPARC is big endian. Or at least it used to be..... Power4,5,6 are all big endian too if I'm not mistaken. Correct me if I'm wrong but anything based around the CISC architecture is big endian. From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 21:47:28 2010 Return-Path: Delivered-To: FreeBSD-Questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51560106566C for ; Tue, 12 Jan 2010 21:47:28 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail2.sea5.speakeasy.net (mail2.sea5.speakeasy.net [69.17.117.4]) by mx1.freebsd.org (Postfix) with ESMTP id 2A18C8FC13 for ; Tue, 12 Jan 2010 21:47:27 +0000 (UTC) Received: (qmail 23164 invoked from network); 12 Jan 2010 21:47:27 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail2.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 12 Jan 2010 21:47:27 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 8E7235082B; Tue, 12 Jan 2010 16:47:25 -0500 (EST) From: Lowell Gilbert To: Kaya Saman References: <20100112210427.GB18673@Grumpy.DynDNS.org> <4B4CE9B1.4040508@netscape.net> Date: Tue, 12 Jan 2010 16:47:25 -0500 In-Reply-To: <4B4CE9B1.4040508@netscape.net> (Kaya Saman's message of "Tue, 12 Jan 2010 23:29:21 +0200") Message-ID: <44hbqrm1w2.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Rob Farmer , FreeBSD-Questions@FreeBSD.org Subject: Re: Endianness 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, 12 Jan 2010 21:47:28 -0000 Kaya Saman writes: > David Kelly wrote: >> On Tue, Jan 12, 2010 at 12:51:00PM -0800, Rob Farmer wrote: >> >>> I'm trying to create a port of an application which only works on >>> little endian systems and I'm trying to figure out how to set >>> ONLY_FOR_ARCHS. Wikipedia says PowerPC, Sparc, and IA64 are bi-endian >>> and the OS chooses the mode. I'm not familiar with these platforms - >>> I'm sure it has been answered somewhere, but I can't find it - which >>> FreeBSD archs are little/big endian? Thanks. >>> >> >> i386 is little endian. Would expect ia64 to be the same. >> >> > > SPARC is big endian. Or at least it used to be..... > > Power4,5,6 are all big endian too if I'm not mistaken. > > Correct me if I'm wrong but anything based around the CISC > architecture is big endian. As the original poster observed, PowerPC, Sparc and IA64 are all capable of being used in either endian setting. I checked endian.h, and it looks as though FreeBSD uses Sparc as big-endian, IA64 as little-endian, and PowerPC as whatever it picks up from gcc (probably big-endian, since the architecture does funny things with alignment in little-endian mode. My best advice, though, is to suggest that Mr. Farmer shouldn't assume that the application will work anywhere without actually trying it. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 21:48:21 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4971D106566B for ; Tue, 12 Jan 2010 21:48:21 +0000 (UTC) (envelope-from lazlar@lazlarlyricon.com) Received: from mailgw19.surf-town.net (mail7.surf-town.net [212.97.132.47]) by mx1.freebsd.org (Postfix) with ESMTP id 029E18FC0A for ; Tue, 12 Jan 2010 21:48:20 +0000 (UTC) Received: by mailgw19.surf-town.net (Postfix, from userid 65534) id C4F4A111981; Tue, 12 Jan 2010 22:16:55 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mailgw19.surf-town.net (Postfix) with ESMTP id 95379111981; Tue, 12 Jan 2010 22:16:55 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mailgw19.surf-town.net X-Spam-Score: 0.1 X-Spam-Level: X-Spam-Status: No, score=0.1 tagged_above=-999 required=7 tests=[RDNS_DYNAMIC=0.1] Received: from mailgw19.surf-town.net ([127.0.0.1]) by localhost (mailgw19.surf-town.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 3pm3IZ9RXE86; Tue, 12 Jan 2010 22:16:50 +0100 (CET) Received: from lazlar.kicks-ass.net (c-cf83e355.09-42-6e6b7010.cust.bredbandsbolaget.se [85.227.131.207]) by mailgw19.surf-town.net (Postfix) with ESMTP id DEF29111872; Tue, 12 Jan 2010 22:16:49 +0100 (CET) Message-ID: <4B4CE6C1.307@lazlarlyricon.com> Date: Tue, 12 Jan 2010 22:16:49 +0100 From: Rolf G Nielsen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.5) Gecko/20091227 Thunderbird/3.0 MIME-Version: 1.0 To: FreeBSD-Questions@freebsd.org References: <20100112210427.GB18673@Grumpy.DynDNS.org> In-Reply-To: <20100112210427.GB18673@Grumpy.DynDNS.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: David Kelly , Rob Farmer , questions@freebsd.org Subject: Re: Endianness X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 21:48:21 -0000 On 2010-01-12 22:04, David Kelly wrote: > On Tue, Jan 12, 2010 at 12:51:00PM -0800, Rob Farmer wrote: >> I'm trying to create a port of an application which only works on >> little endian systems and I'm trying to figure out how to set >> ONLY_FOR_ARCHS. Wikipedia says PowerPC, Sparc, and IA64 are bi-endian >> and the OS chooses the mode. I'm not familiar with these platforms - >> I'm sure it has been answered somewhere, but I can't find it - which >> FreeBSD archs are little/big endian? Thanks. > > i386 is little endian. Would expect ia64 to be the same. > ia64 (Itanium) hardware has selectable endianess. I've never worked with Itanium in any OS, so I can't say whether FreeBSD supports selecting or is fixed at either little- or bigendian. From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 21:48:25 2010 Return-Path: Delivered-To: FreeBSD-Questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A274A106568D for ; Tue, 12 Jan 2010 21:48:25 +0000 (UTC) (envelope-from lazlar@lazlarlyricon.com) Received: from mailgw19.surf-town.net (mail7.surf-town.net [212.97.132.47]) by mx1.freebsd.org (Postfix) with ESMTP id 58FEB8FC1D for ; Tue, 12 Jan 2010 21:48:25 +0000 (UTC) Received: by mailgw19.surf-town.net (Postfix, from userid 65534) id BA278111872; Tue, 12 Jan 2010 22:16:55 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mailgw19.surf-town.net (Postfix) with ESMTP id 95379111981; Tue, 12 Jan 2010 22:16:55 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mailgw19.surf-town.net X-Spam-Score: 0.1 X-Spam-Level: X-Spam-Status: No, score=0.1 tagged_above=-999 required=7 tests=[RDNS_DYNAMIC=0.1] Received: from mailgw19.surf-town.net ([127.0.0.1]) by localhost (mailgw19.surf-town.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 3pm3IZ9RXE86; Tue, 12 Jan 2010 22:16:50 +0100 (CET) Received: from lazlar.kicks-ass.net (c-cf83e355.09-42-6e6b7010.cust.bredbandsbolaget.se [85.227.131.207]) by mailgw19.surf-town.net (Postfix) with ESMTP id DEF29111872; Tue, 12 Jan 2010 22:16:49 +0100 (CET) Message-ID: <4B4CE6C1.307@lazlarlyricon.com> Date: Tue, 12 Jan 2010 22:16:49 +0100 From: Rolf G Nielsen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.5) Gecko/20091227 Thunderbird/3.0 MIME-Version: 1.0 To: FreeBSD-Questions@freebsd.org References: <20100112210427.GB18673@Grumpy.DynDNS.org> In-Reply-To: <20100112210427.GB18673@Grumpy.DynDNS.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: David Kelly , Rob Farmer , questions@freebsd.org Subject: Re: Endianness X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 21:48:25 -0000 On 2010-01-12 22:04, David Kelly wrote: > On Tue, Jan 12, 2010 at 12:51:00PM -0800, Rob Farmer wrote: >> I'm trying to create a port of an application which only works on >> little endian systems and I'm trying to figure out how to set >> ONLY_FOR_ARCHS. Wikipedia says PowerPC, Sparc, and IA64 are bi-endian >> and the OS chooses the mode. I'm not familiar with these platforms - >> I'm sure it has been answered somewhere, but I can't find it - which >> FreeBSD archs are little/big endian? Thanks. > > i386 is little endian. Would expect ia64 to be the same. > ia64 (Itanium) hardware has selectable endianess. I've never worked with Itanium in any OS, so I can't say whether FreeBSD supports selecting or is fixed at either little- or bigendian. From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 21:51:31 2010 Return-Path: Delivered-To: FreeBSD-Questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13B141065670 for ; Tue, 12 Jan 2010 21:51:31 +0000 (UTC) (envelope-from dkelly@Grumpy.DynDNS.org) Received: from smtp.knology.net (smtp.knology.net [24.214.63.101]) by mx1.freebsd.org (Postfix) with ESMTP id 70CA58FC0A for ; Tue, 12 Jan 2010 21:51:29 +0000 (UTC) Received: (qmail 2917 invoked by uid 0); 12 Jan 2010 21:51:28 -0000 Received: from unknown (HELO Grumpy.DynDNS.org) (24.42.224.110) by smtp3.knology.net with SMTP; 12 Jan 2010 21:51:28 -0000 Received: by Grumpy.DynDNS.org (Postfix, from userid 928) id 3710A28435; Tue, 12 Jan 2010 15:51:28 -0600 (CST) Date: Tue, 12 Jan 2010 15:51:28 -0600 From: David Kelly To: Kaya Saman Message-ID: <20100112215128.GA95072@Grumpy.DynDNS.org> References: <20100112210427.GB18673@Grumpy.DynDNS.org> <4B4CE9B1.4040508@netscape.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B4CE9B1.4040508@netscape.net> User-Agent: Mutt/1.4.2.3i Cc: FreeBSD-Questions@freebsd.org Subject: Re: Endianness 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, 12 Jan 2010 21:51:31 -0000 On Tue, Jan 12, 2010 at 11:29:21PM +0200, Kaya Saman wrote: > David Kelly wrote: > >On Tue, Jan 12, 2010 at 12:51:00PM -0800, Rob Farmer wrote: [...] > >>I'm sure it has been answered somewhere, but I can't find it - which > >>FreeBSD archs are little/big endian? Thanks. > > >i386 is little endian. Would expect ia64 to be the same. > > SPARC is big endian. Or at least it used to be..... > > Power4,5,6 are all big endian too if I'm not mistaken. > > Correct me if I'm wrong but anything based around the CISC > architecture is big endian. Believe the O.P. is asking, "What endian is FreeBSD on these architectures?" If I was making an application that needed endian information then I'd look in arpa/inet.h and machine/endian.h to discover what I was running on. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 21:57:22 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E5B71065693 for ; Tue, 12 Jan 2010 21:57:22 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id C48CD8FC19 for ; Tue, 12 Jan 2010 21:57:21 +0000 (UTC) Received: by fxm27 with SMTP id 27so754907fxm.3 for ; Tue, 12 Jan 2010 13:57:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=2uyBKoKtLCEJz3fbfWbtZn2oU8kJJUtO5ccci08dNH8=; b=ent+gHGRXv9/LO19DGH998SP7/Kf6ahAdQTManK0AEhZcExwHh+rHuk99hUJWAtxvJ vxWSQCY7FwYlKa99Icf8q/crR4VTEg+cKEG5b98/5kwAiE8/TQrHWh9bROGreMA2D+xM Uj72xX/uNJUJ8WemTdQ9p8aDISpBYmQoM8v9w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=pT8LOkUXvHyJ02EKLITgXpLhJMv/CjqY6A5ZSgsyx3+tCwduKD2sVKy8yiA9w8D+XP XMet26llhExEvUgzOBsJ61MqAvNWjgcgRCqDcRLII6Nki0YwsqX41y6ldkDcbS/eALzn Ged4yIHtw/gxldToaSJXcHaSLKYvsKsUJDhFc= MIME-Version: 1.0 Received: by 10.239.130.209 with SMTP id 17mr1578729hbk.186.1263333435639; Tue, 12 Jan 2010 13:57:15 -0800 (PST) In-Reply-To: <4B4CAD19.7070804@lazlarlyricon.com> References: <4B4CAD19.7070804@lazlarlyricon.com> Date: Tue, 12 Jan 2010 21:57:15 +0000 Message-ID: From: krad To: Rolf Nielsen Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: zpool upgrade - is it safe? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 21:57:22 -0000 2010/1/12 Rolf Nielsen > Hi all, > > I just upgraded to a more recent version of 8.0-STABLE, and I noticed > during boot that zfs had changed from version 13 to version 14. Is it safe > to run zpool upgrade -a on a system while in multiuser, or will I have to > take some security measures, such as creating a complete backup and/or > booting into singleuser? > > Rolf Nielsen > _______________________________________________ > 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 fine to upgrade a pool in multi user mode as it is with most things zfs. However beware when up upgrade a pool as once you have you cant go back, and if you want the revert to your previous install you wont be able to. Therefore a general rule of thumb is unless you need a new feature on a new pool version dont upgrade it. A least wait a few weeks until your new install is fully bedded in and tested From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 22:05:36 2010 Return-Path: Delivered-To: FreeBSD-Questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E39D9106568D for ; Tue, 12 Jan 2010 22:05:36 +0000 (UTC) (envelope-from rfarmer@predatorlabs.net) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mx1.freebsd.org (Postfix) with ESMTP id A9ED98FC0A for ; Tue, 12 Jan 2010 22:05:36 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 3so58326qwe.7 for ; Tue, 12 Jan 2010 14:05:27 -0800 (PST) MIME-Version: 1.0 Received: by 10.224.5.205 with SMTP id 13mr17983571qaw.125.1263333927004; Tue, 12 Jan 2010 14:05:27 -0800 (PST) X-Originating-IP: [128.95.133.85] In-Reply-To: <20100112215128.GA95072@Grumpy.DynDNS.org> References: <20100112210427.GB18673@Grumpy.DynDNS.org> <4B4CE9B1.4040508@netscape.net> <20100112215128.GA95072@Grumpy.DynDNS.org> Date: Tue, 12 Jan 2010 14:05:26 -0800 Message-ID: From: Rob Farmer To: FreeBSD-Questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Kaya Saman Subject: Re: Endianness X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 22:05:37 -0000 On Tue, Jan 12, 2010 at 1:51 PM, David Kelly wrote: > On Tue, Jan 12, 2010 at 11:29:21PM +0200, Kaya Saman wrote: >> David Kelly wrote: >> >On Tue, Jan 12, 2010 at 12:51:00PM -0800, Rob Farmer wrote: > > [...] > >> >>I'm sure it has been answered somewhere, but I can't find it - which >> >>FreeBSD archs are little/big endian? Thanks. >> >> >i386 is little endian. Would expect ia64 to be the same. >> >> SPARC is big endian. Or at least it used to be..... >> >> Power4,5,6 are all big endian too if I'm not mistaken. >> >> Correct me if I'm wrong but anything based around the CISC >> architecture is big endian. > > Believe the O.P. is asking, "What endian is FreeBSD on these > architectures?" > > If I was making an application that needed endian information then I'd > look in arpa/inet.h and machine/endian.h to discover what I was running > on. Ah - thanks for the pointer - I was looking at /src/sys/sys/endian.h rather than the machine specific versions, which is why I didn't get anything out of it. For the archives, it appears that amd64, arm, i386, ia64, and pc98 are little endian. -- Rob Farmer > > -- > David Kelly N4HHE, dkelly@HiWAAY.net > ======================================================================== > Whom computers would destroy, they must first drive mad. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 22:20:48 2010 Return-Path: Delivered-To: FreeBSD-Questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C882D1065740 for ; Tue, 12 Jan 2010 22:20:48 +0000 (UTC) (envelope-from rfarmer@predatorlabs.net) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mx1.freebsd.org (Postfix) with ESMTP id 8E1AF8FC19 for ; Tue, 12 Jan 2010 22:20:48 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 3so61435qwe.7 for ; Tue, 12 Jan 2010 14:20:40 -0800 (PST) MIME-Version: 1.0 Received: by 10.224.16.213 with SMTP id p21mr8598620qaa.113.1263333309317; Tue, 12 Jan 2010 13:55:09 -0800 (PST) X-Originating-IP: [128.95.133.85] In-Reply-To: <44hbqrm1w2.fsf@be-well.ilk.org> References: <20100112210427.GB18673@Grumpy.DynDNS.org> <4B4CE9B1.4040508@netscape.net> <44hbqrm1w2.fsf@be-well.ilk.org> Date: Tue, 12 Jan 2010 13:55:09 -0800 Message-ID: From: Rob Farmer To: FreeBSD-Questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Kaya Saman Subject: Re: Endianness X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 22:20:48 -0000 On Tue, Jan 12, 2010 at 1:47 PM, Lowell Gilbert wrote: > Kaya Saman writes: > >> David Kelly wrote: >>> On Tue, Jan 12, 2010 at 12:51:00PM -0800, Rob Farmer wrote: >>> >>>> I'm trying to create a port of an application which only works on >>>> little endian systems and I'm trying to figure out how to set >>>> ONLY_FOR_ARCHS. =A0Wikipedia says PowerPC, Sparc, and IA64 are bi-endi= an >>>> and the OS chooses the mode. I'm not familiar with these platforms - >>>> I'm sure it has been answered somewhere, but I can't find it - which >>>> FreeBSD archs are little/big endian? Thanks. >>>> >>> >>> i386 is little endian. Would expect ia64 to be the same. >>> >>> >> >> SPARC is big endian. Or at least it used to be..... >> >> Power4,5,6 are all big endian too if I'm not mistaken. >> >> Correct me if I'm wrong but anything based around the CISC >> architecture is big endian. > > As the original poster observed, PowerPC, Sparc and IA64 are all capable > of being used in either endian setting. > > I checked endian.h, and it looks as though FreeBSD uses Sparc as > big-endian, IA64 as little-endian, and PowerPC as whatever it picks up > from gcc (probably big-endian, since the architecture does funny things > with alignment in little-endian mode. > > My best advice, though, is to suggest that Mr. Farmer shouldn't assume > that the application will work anywhere without actually trying it. Well, the upstream author states in the documentation that there are endian problems and to use it only on little endian machines. I don't have any hardware that is non-i386/amd64 and about a year ago when I tried to cross build to powerpc in tinderbox it didn't work, so I can't really do that. --=20 Rob Farmer > > -- > Lowell Gilbert, embedded/networking software engineer, Boston area > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0http://be-well.ilk.org/~lowell/ > From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 22:32:17 2010 Return-Path: Delivered-To: FreeBSD-Questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A7B51065672 for ; Tue, 12 Jan 2010 22:32:17 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.7]) by mx1.freebsd.org (Postfix) with ESMTP id 721748FC17 for ; Tue, 12 Jan 2010 22:32:17 +0000 (UTC) Received: (qmail 13309 invoked from network); 12 Jan 2010 22:32:16 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 12 Jan 2010 22:32:16 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id B68645082B; Tue, 12 Jan 2010 17:32:15 -0500 (EST) From: Lowell Gilbert To: Rob Farmer References: <20100112210427.GB18673@Grumpy.DynDNS.org> <4B4CE9B1.4040508@netscape.net> <44hbqrm1w2.fsf@be-well.ilk.org> Date: Tue, 12 Jan 2010 17:32:15 -0500 In-Reply-To: (Rob Farmer's message of "Tue, 12 Jan 2010 13:55:09 -0800") Message-ID: <447hrnlztc.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD-Questions@freebsd.org Subject: Re: Endianness 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, 12 Jan 2010 22:32:17 -0000 Rob Farmer writes: > On Tue, Jan 12, 2010 at 1:47 PM, Lowell Gilbert > wrote: >> As the original poster observed, PowerPC, Sparc and IA64 are all capable >> of being used in either endian setting. >> >> I checked endian.h, and it looks as though FreeBSD uses Sparc as >> big-endian, IA64 as little-endian, and PowerPC as whatever it picks up >> from gcc (probably big-endian, since the architecture does funny things >> with alignment in little-endian mode. >> >> My best advice, though, is to suggest that Mr. Farmer shouldn't assume >> that the application will work anywhere without actually trying it. > > Well, the upstream author states in the documentation that there are > endian problems and to use it only on little endian machines. I don't > have any hardware that is non-i386/amd64 and about a year ago when I > tried to cross build to powerpc in tinderbox it didn't work, so I > can't really do that. I didn't mean to imply that you need to check, just that it's likely to not work (regardless of endianness) and you should be aware of that. powerpc and sparc aren't "tier-1" architectures anyway, so ordinary users are unlikely to run into them, and there are probably lots of ports that won't run on them. The tinderbox doesn't even build for powerpc. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 22:36:13 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92BB31065670 for ; Tue, 12 Jan 2010 22:36:13 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id 4A7018FC0A for ; Tue, 12 Jan 2010 22:36:13 +0000 (UTC) Received: from beta.1-16-172-dyn.locolomo.org (unknown [172.16.1.127]) by mail.locolomo.org (Postfix) with ESMTPSA id 1395E1C1A67; Tue, 12 Jan 2010 23:36:12 +0100 (CET) Message-ID: <4B4CF95B.90207@locolomo.org> Date: Tue, 12 Jan 2010 23:36:11 +0100 From: Erik Norgaard User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Anton Shterenlikht References: <20100111140105.GI61025@mech-cluster241.men.bris.ac.uk> <4B4C43EE.6080703@locolomo.org> <20100112095357.GD61863@mech-cluster241.men.bris.ac.uk> In-Reply-To: <20100112095357.GD61863@mech-cluster241.men.bris.ac.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: denying spam hosts ssh access - good idea? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 22:36:13 -0000 Anton Shterenlikht wrote: >> - why not let your firewall do the blocking? If your blocking is IP >> based that's the place to block. > > I'm already under the University firewall. Only port 22 is let through. > But even that filles my logs. What I meant was that if you want to block IPs or ranges of IPs then a firewall is the place to block, it's efficient and simple. If your university firewall doesn't satisfy you there is nothing that hinders you from configuring firewall rules on your server. Cheers, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 23:03:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADE9A106566C for ; Tue, 12 Jan 2010 23:03:26 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from mail-ew0-f211.google.com (mail-ew0-f211.google.com [209.85.219.211]) by mx1.freebsd.org (Postfix) with ESMTP id 434DF8FC08 for ; Tue, 12 Jan 2010 23:03:25 +0000 (UTC) Received: by ewy3 with SMTP id 3so18972115ewy.13 for ; Tue, 12 Jan 2010 15:03:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=vksPLn8aW57y32JL9qxOk9sPSU9F9G//7gH02q6diLI=; b=jUF3AKAajXB2CJikun7DhQn7K+3kEBImj7sHPZQefcCX/phCfZNuJov+aDtWZWUMUp IvK0UVe4jovAVClvJgKyxQn8w2Lt7XlpOu6D0ULslqJ2xdSIEpE3MR8za+tKyk7typzN fx96tOl8zS2vLepnSQJM0uocVdvdO89gEd2Ws= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=dzDQ2R92xZMb2XmD6qUPU+MWQ6ttyKBfZJ74LHvIpXztk30Jkk04GHeQ86bXxDjDyh SyT9oYp4kMFUZDghf8rIWb22F8airIRq0b852m3bYGCAg+bUNKyKsOHAwUhz4ws1Pvf0 hxATcH1p78azOrZQb2gkYPfH+cFkLqPjQ7Yko= MIME-Version: 1.0 Received: by 10.216.89.131 with SMTP id c3mr3525688wef.197.1263337398618; Tue, 12 Jan 2010 15:03:18 -0800 (PST) In-Reply-To: References: <80f4f2b21001120900j7418c725k95221bb06cde0dc1@mail.gmail.com> Date: Tue, 12 Jan 2010 18:03:18 -0500 Message-ID: <80f4f2b21001121503g41580991nf6b05380b3cd0874@mail.gmail.com> From: Jim To: Warren Block Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: sendmail issues - make fails to create aliases.db in /etc/mail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 23:03:26 -0000 > Looks like you're using postfix pretending to be sendmail. =A0Evidently > postfix doesn't build aliases.db the same way. =A0You might try newaliase= s. > I tried that, but it had an identical result. -Jim Stapleton From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 23:11:42 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D039106566C for ; Tue, 12 Jan 2010 23:11:42 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from mail-ew0-f211.google.com (mail-ew0-f211.google.com [209.85.219.211]) by mx1.freebsd.org (Postfix) with ESMTP id C13C18FC08 for ; Tue, 12 Jan 2010 23:11:41 +0000 (UTC) Received: by ewy3 with SMTP id 3so18979970ewy.13 for ; Tue, 12 Jan 2010 15:11:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=SCqUX1oMEOnUholH+/DG5ZLPeyszWE+vlAucsZv4m5s=; b=ujc/8zXoKShxE6U46LtCnrBfduGn5WmV459LR6aTcDKHl8TXLpMYqcMXWObov5hUCq g00Kv4Xpdomam7ilpMbP+CaYvXU3UgGlOj4SzO6TeDwQKCElqEC01O8drTRkYqmqhkWM eGL4dcXGp7F/4m92z61zdDli439xakrindfDg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=OMVEgPxbLS/JZrBYNh4MPRbHDO5CPLICw+gKJLJkRs1/M+SIZrlb+uJUSdvJ9xni5T cw3F7KQyH3rveJvMppmcMSQeNiP4tcBRaVRVZhVXqNkmB/emIOSxdJmCvoxUqS+N6Mrg swiY/XPnJ38eZloxe56PHaKBaamu8fjidUPrU= MIME-Version: 1.0 Received: by 10.216.85.132 with SMTP id u4mr867979wee.191.1263337896406; Tue, 12 Jan 2010 15:11:36 -0800 (PST) In-Reply-To: <20100112202715.GA98769@thought.org> References: <80f4f2b21001120900j7418c725k95221bb06cde0dc1@mail.gmail.com> <20100112202715.GA98769@thought.org> Date: Tue, 12 Jan 2010 18:11:36 -0500 Message-ID: <80f4f2b21001121511x53293ebhbdae69716d53aa39@mail.gmail.com> From: Jim To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: sendmail issues - make fails to create aliases.db in /etc/mail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 23:11:42 -0000 > =A0 =A0 =A0 =A0Yeah, that might work. =A0I had troubles with aliases and = the database > =A0 =A0 =A0 =A0and it didn't resolve itself until I ran newaliases. =A0Bu= t newaliases is > =A0 =A0 =A0 =A0just a symlink to /usr/sbin/mailwrapper. =A0It calls /etc/= mail/mail.conf > =A0 =A0 =A0 =A0with newaliases which point to the *real* binary. =A0That'= s where things > =A0 =A0 =A0 =A0disappear down the rabbit hole. > > =A0 =A0 =A0 =A0Are you trying to run sendmail as postfix? > I did install postgress, I didn't expect it to make any changes (I had planned on potentially fiddling with it at some point, so I wanted it in the jail template). I'm assuming it must have made modifications to my system replacing sendmail with it? Thanks -Jim Stapleton From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 23:28:46 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 489691065670 for ; Tue, 12 Jan 2010 23:28:46 +0000 (UTC) (envelope-from listreader@lazlarlyricon.com) Received: from proxy3.bredband.net (proxy3.bredband.net [195.54.101.73]) by mx1.freebsd.org (Postfix) with ESMTP id F334A8FC12 for ; Tue, 12 Jan 2010 23:28:45 +0000 (UTC) Received: from ipb1.telenor.se (195.54.127.164) by proxy3.bredband.net (7.3.140.3) id 4AD3E1BA0243534B for freebsd-questions@freebsd.org; Wed, 13 Jan 2010 00:28:44 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq9DAMeUTEtV44PPPGdsb2JhbACBQ5oXAQEBATe6dIQwBIVu X-IronPort-AV: E=Sophos;i="4.49,264,1262559600"; d="scan'208";a="26155765" Received: from c-cf83e355.09-42-6e6b7010.cust.bredbandsbolaget.se (HELO lazlar.kicks-ass.net) ([85.227.131.207]) by ipb1.telenor.se with ESMTP; 13 Jan 2010 00:28:44 +0100 Message-ID: <4B4D05AB.5060905@lazlarlyricon.com> Date: Wed, 13 Jan 2010 00:28:43 +0100 From: Rolf Nielsen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.5) Gecko/20091227 Thunderbird/3.0 MIME-Version: 1.0 To: krad References: <4B4CAD19.7070804@lazlarlyricon.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: zpool upgrade - is it safe? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Jan 2010 23:28:46 -0000 On 2010-01-12 22:57, krad wrote: > > > 2010/1/12 Rolf Nielsen > > > Hi all, > > I just upgraded to a more recent version of 8.0-STABLE, and I > noticed during boot that zfs had changed from version 13 to version > 14. Is it safe to run zpool upgrade -a on a system while in > multiuser, or will I have to take some security measures, such as > creating a complete backup and/or booting into singleuser? > > Rolf Nielsen > _______________________________________________ > 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 fine to upgrade a pool in multi user mode as it is with most things > zfs. However beware when up upgrade a pool as once you have you cant go > back, and if you want the revert to your previous install you wont be > able to. Therefore a general rule of thumb is unless you need a new > feature on a new pool version dont upgrade it. A least wait a few weeks > until your new install is fully bedded in and tested Thanka. Since I have no idea what "passthrough-x aclinherit support" does and I've been fine without it so far, I guess I'll stick with version 13 for now then. :) From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 00:06:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02D7A1065670 for ; Wed, 13 Jan 2010 00:06:08 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 970978FC08 for ; Wed, 13 Jan 2010 00:06:07 +0000 (UTC) Received: from [10.47.0.250] (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o0D064Fc027510; Tue, 12 Jan 2010 16:06:04 -0800 (PST) (envelope-from kline@thought.org) From: Gary Kline To: Jim In-Reply-To: <80f4f2b21001121511x53293ebhbdae69716d53aa39@mail.gmail.com> References: <80f4f2b21001120900j7418c725k95221bb06cde0dc1@mail.gmail.com> <20100112202715.GA98769@thought.org> <80f4f2b21001121511x53293ebhbdae69716d53aa39@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" Organization: Thought Unlimited Date: Tue, 12 Jan 2010 16:06:03 -0800 Message-ID: <1263341164.82235.25.camel@tao.thought.org> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.6 required=3.6 tests=ALL_TRUSTED,BAYES_00, FH_DATE_PAST_20XX,J_CHICKENPOX_42 autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: freebsd-questions@freebsd.org Subject: Re: sendmail issues - make fails to create aliases.db in /etc/mail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kline@thought.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jan 2010 00:06:08 -0000 On Tue, 2010-01-12 at 18:11 -0500, Jim wrote: > > Yeah, that might work. I had troubles with aliases and the database > > and it didn't resolve itself until I ran newaliases. But newaliases is > > just a symlink to /usr/sbin/mailwrapper. It calls /etc/mail/mail.conf > > with newaliases which point to the *real* binary. That's where things > > disappear down the rabbit hole. > > > > Are you trying to run sendmail as postfix? > > > > I did install postgress, I didn't expect it to make any changes (I had > planned on potentially fiddling with it at some point, so I wanted it > in the jail template). > > I'm assuming it must have made modifications to my system replacing > sendmail with it? caution: i'm replying from evo which does not allow vi[m], so this may be [even more] disjointed than usual... yes, if you have installed anything over sendmail, the chances are that it made internal mods to various files that sendmail needs. i've used sendmail by-default since 2.0.5 and it was a serious challenge from SVR4 that i had used since about 1986. i've stuck with sendmail more out of an unwillingness to have to mess with something new. more-on-my-plate i don't need. prob'ly the same for 98% of the list. can you make copies of everything you have as-is now? as root #cd / ; # cp -rp /etc /etc.bak; and the rest of what you can find? this way, you'll at least be able to put things back the way they are at this moment if goinf ahead stalls. after you have back-up, rebuild your os and install sendmail from ports. /usr/mail/sendmail. there are some sendmail-related things in the ports tree you may want to look into now or later. at any rate, build the port and try a make -n install to see what the install would do without the "-n" ... see where things get stored. ---in face, that is one way of finding where sendmail has its files and directories now--- after you are satisfied that nothing serious will break finish the ports install with make install clean then reboot and test out the new port. i keep [[[ KEPT; past tense ]]] a huge file of IPs and hostnames in /etc/mail/access[.db] i still deny some sites that i can't discourage with spamblockers in the /etc/mail/access file. so, from time to time i keep .bak files/directories myself. hth. gary > > Thanks > -Jim Stapleton From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 01:06:23 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0787106566C for ; Wed, 13 Jan 2010 01:06:23 +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 831448FC08 for ; Wed, 13 Jan 2010 01:06:22 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o0D16McW089801; Tue, 12 Jan 2010 18:06:22 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o0D16MW2089798; Tue, 12 Jan 2010 18:06:22 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Tue, 12 Jan 2010 18:06:22 -0700 (MST) From: Warren Block To: Jim In-Reply-To: <80f4f2b21001121503g41580991nf6b05380b3cd0874@mail.gmail.com> Message-ID: References: <80f4f2b21001120900j7418c725k95221bb06cde0dc1@mail.gmail.com> <80f4f2b21001121503g41580991nf6b05380b3cd0874@mail.gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-902635197-1639906683-1263344591=:89719" Content-ID: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [127.0.0.1]); Tue, 12 Jan 2010 18:06:22 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: sendmail issues - make fails to create aliases.db in /etc/mail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Jan 2010 01:06:23 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---902635197-1639906683-1263344591=:89719 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8BIT Content-ID: On Tue, 12 Jan 2010, Jim wrote: >> Looks like you're using postfix pretending to be sendmail.  Evidently >> postfix doesn't build aliases.db the same way.  You might try newaliases. >> > > I tried that, but it had an identical result. If you want to keep postfix, you'll have to figure it out separately. >From the verbose messages, it looked like it may have put aliases.db in /etc, not /etc/mail. Did you install postfix from ports? If you want to go back to sendmail, deinstalling the postfix port may restore /etc/mail/mailer.conf to the original state. Otherwise, see the man page for mailer.conf. -Warren Block * Rapid City, South Dakota USA ---902635197-1639906683-1263344591=:89719-- From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 02:41:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83157106566C for ; Wed, 13 Jan 2010 02:41:55 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ew0-f211.google.com (mail-ew0-f211.google.com [209.85.219.211]) by mx1.freebsd.org (Postfix) with ESMTP id 133C88FC15 for ; Wed, 13 Jan 2010 02:41:54 +0000 (UTC) Received: by ewy3 with SMTP id 3so19129282ewy.13 for ; Tue, 12 Jan 2010 18:41:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=WrGqsUDfuKMElT8zbYwnD3e20CWWfMDWwKAMDHINEko=; b=dgyDGxXbnehFa2yWfyveHV0U3FX7V8p7ih52pqzDDE77V2LG3hNlYxaQCUYuNJxY2o BR48JxnVxqiUanp+4VCxPY1xl0gLmSuEl+tvQhwCBekSSyGjwYHFC9lBLPSGYgXtdhHJ jjqukrXcsTIPDHsv0OJZpDTSzlKGDpWDdWVHc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=O0y/UHUqfl/W1dRA2y6tOa1FfbSSUByGdnlSG8Y6d1+xLRy62TMLgz9nRUuRaOvJBE OGUFdwJKUm9Dn6rkO9aqs/5Ll3ZRfTN3amuc4JydYWMpOanKWZG8k/YnIFV41jLUx0HK AYRlzZpwbiKkelmIEI70SASs9uUNCmbAKDPU8= Received: by 10.213.97.22 with SMTP id j22mr346522ebn.96.1263350511379; Tue, 12 Jan 2010 18:41:51 -0800 (PST) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id 15sm5828664ewy.12.2010.01.12.18.41.50 (version=SSLv3 cipher=RC4-MD5); Tue, 12 Jan 2010 18:41:50 -0800 (PST) Date: Wed, 13 Jan 2010 02:41:46 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100113024146.2786efa3@gumby.homeunix.com> In-Reply-To: References: X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.5; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Endianness X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Jan 2010 02:41:55 -0000 On Tue, 12 Jan 2010 12:51:00 -0800 Rob Farmer wrote: > I'm trying to create a port of an application which only works on > little endian systems and I'm trying to figure out how to set > ONLY_FOR_ARCHS. Wikipedia says PowerPC, Sparc, and IA64 are bi-endian > and the OS chooses the mode. I'm not familiar with these platforms - > I'm sure it has been answered somewhere, but I can't find it - which > FreeBSD archs are little/big endian? Thanks. Perhaps your makefile could check endianess on the build machine and set IGNORE if it's bigendian, e.g. if the output of "file /bin/ls" doesn't contain LSB. From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 02:48:16 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6460E106568B for ; Wed, 13 Jan 2010 02:48:16 +0000 (UTC) (envelope-from af.gourmet@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id 3F6A38FC14 for ; Wed, 13 Jan 2010 02:48:16 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=UTF-8 Received: from [192.168.0.51] ([96.21.103.185]) by VL-MH-MR003.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTP id <0KW5006SFZSFGY40@VL-MH-MR003.ip.videotron.ca> for freebsd-questions@FreeBSD.org; Tue, 12 Jan 2010 21:48:15 -0500 (EST) Message-id: <4B4D7ABE.3050001@videotron.ca> Date: Wed, 13 Jan 2010 02:48:14 -0500 From: PJ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 To: freebsd-questions@FreeBSD.org Cc: Subject: cannot install apache22 on FBSD 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jan 2010 02:48:16 -0000 Gentlemen, I am absolutely stupefied by apache22, php5, php5-extensions and phpmysql refusing to be updated or installed I did manage to do one installation on a freshly upgraded box from 7.2 to 8.0 but with very frustrating and time consuming efforts. I still don't know how I managed, but it seems to work, for the moment anyway. Could someone explain to me why there is a problem with apache22, php5 and the rest - when doing an upgrade from 7.2 to 8.0. I followed the instructions in the handbood to the letter and both times there is a problem. Am I doing something that is not evident in the instructions. Even the apache site states very clearly that and update is about as simple as could be. The long list of errors when installing apache seem to deal with a lot of undeclared stuff (first use in this function) for a lot of uldap stuff like cache, connection etc. etc. How does one deal with this as there seems to be nothing on google. TIA From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 04:21:31 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64A091065672 for ; Wed, 13 Jan 2010 04:21:31 +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 F2EA38FC1A for ; Wed, 13 Jan 2010 04:21:30 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o0D4LU7U016504; Tue, 12 Jan 2010 21:21:30 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o0D4LTVB016501; Tue, 12 Jan 2010 21:21:29 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Tue, 12 Jan 2010 21:21:29 -0700 (MST) From: Warren Block To: Adam Vande More In-Reply-To: <6201873e1001071010j4222c10r821990e20fda6e1b@mail.gmail.com> Message-ID: References: <20100107184412.54e47795.cyb.@gmx.net> <6201873e1001071010j4222c10r821990e20fda6e1b@mail.gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [127.0.0.1]); Tue, 12 Jan 2010 21:21:30 -0700 (MST) Cc: Eric Le Goff , Andreas Rudisch <"cyb."@gmx.net>, questions@freebsd.org Subject: Re: Intel PRO/Wireless 2100 ipw 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, 13 Jan 2010 04:21:31 -0000 I've entered PR kern/142766 for this. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 08:52:19 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8331D1065672 for ; Wed, 13 Jan 2010 08:52:19 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms4-1.1blu.de (ms4-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 140A38FC14 for ; Wed, 13 Jan 2010 08:52:18 +0000 (UTC) Received: from [193.31.11.193] (helo=current.Sisis.de) by ms4-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1NUyx5-0007PT-9h; Wed, 13 Jan 2010 09:52:06 +0100 Received: from current.Sisis.de (current [127.0.0.1]) by current.Sisis.de (8.14.3/8.14.3) with ESMTP id o0D8pjcP002154; Wed, 13 Jan 2010 09:51:45 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id o0D8pjRG002153; Wed, 13 Jan 2010 09:51:45 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Wed, 13 Jan 2010 09:51:45 +0100 From: Matthias Apitz To: Colin Albert Message-ID: <20100113085145.GA2095@current.Sisis.de> References: <20100112105155.GA2980@current.Sisis.de> <20100112161230.GA4794@current.Sisis.de> <4B4CCC1C.90505@gmail.com> <4B4CDCF2.1070205@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4B4CDCF2.1070205@gmail.com> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) X-Con-Id: 51246 X-Originating-IP: 193.31.11.193 Cc: freebsd-questions@freebsd.org Subject: Re: watching WebEx session on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jan 2010 08:52:19 -0000 El día Tuesday, January 12, 2010 a las 03:34:58PM -0500, Colin Albert escribió: > >You should be able to try this using the online demo. > >http://www.webex.com/go/live_demo if it works the download will be > >automatic. I am still trying to make it work as well. > > > >-Colin > Followup: I was able to make this work by changing my user agent from: > Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.5) Gecko/20091106 > Firefox/3.5.5 > to: > Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5) Gecko/20091106 > Firefox/3.5.5 > > So it looks like linux_base-f10 is not required. > > The first time I tried this firefox crashed. Then I opened firefox from > the command line to see if I could see the error, and it is working now. > I am still testing to see what functionality does/does not work. > > I am using 8.0 Stable with diablo 1.6 and firefox 3.5.5. I did now (thanks for your help, Colin): - installed the 'User Agent Switcher' addin in Firefox 3.0.7 - changed the user agent to the above Linux Mozilla - installed diablo-jre-freebsd7.i386.1.6.0.07.02.tbz and activated the plug-in in Firefox this let me see the introduction in http://www.webex.com/go/live_demo which seems to be only a flash movie; but when I go to some real recorded webEx session the Java VM crashes with some Exception that 'trustAnchors paramater must be non-empty'; I checked the same URL at http://www.mindleaders.com/ with a MS IE and there it down-loads for a minute or so some WebEx player, starts this and play the session... Any idea? Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 09:09:51 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9B26106566B for ; Wed, 13 Jan 2010 09:09:51 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 2D2608FC0C for ; Wed, 13 Jan 2010 09:09:51 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.3) with ESMTP id o0D99i0k079000; Wed, 13 Jan 2010 09:09:45 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o0D99i0k079000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1263373786; bh=SVyLMnpQXejxo4fPAWVfNRKz92GGd0aEUoOjplp3b+M=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B4D8DD2.3000500@infracaninophile.co.uk>|Date:=20W ed,=2013=20Jan=202010=2009:09:38=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20091129)|MIME-Vers ion:=201.0|To:=20PJ=20|CC:=20freebsd-ques tions@freebsd.org|Subject:=20Re:=20cannot=20install=20apache22=20o n=20FBSD=208.0|References:=20<4B4D7ABE.3050001@videotron.ca>|In-Re ply-To:=20<4B4D7ABE.3050001@videotron.ca>|X-Enigmail-Version:=200. 95.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3B= 0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A=20boundary =3D"------------enig07DD2AE5B571021D0FA37357"; b=KELAQ1oZK0funbDjUSCAFPGV+ZYrY9++KlwpmYxn6UtYBma/KkHlBNxVrb74AiwMD tGV73eEwm7qPQNy5uvPOEx8Hp8Nu2UaIs3SogKlrRVg7A8wp1ok9F7g8iudNGZpuwD 60nzRceKQcgf13A4xdAR5GmKrMiFHE4IepD5Myp8= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B4D8DD2.3000500@infracaninophile.co.uk> Date: Wed, 13 Jan 2010 09:09:38 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20091129) MIME-Version: 1.0 To: PJ References: <4B4D7ABE.3050001@videotron.ca> In-Reply-To: <4B4D7ABE.3050001@videotron.ca> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig07DD2AE5B571021D0FA37357" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: cannot install apache22 on FBSD 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jan 2010 09:09:51 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig07DD2AE5B571021D0FA37357 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable PJ wrote: > Gentlemen, > I am absolutely stupefied by apache22, php5, php5-extensions and > phpmysql refusing to be updated or installed > I did manage to do one installation on a freshly upgraded box from 7.2 > to 8.0 but with very frustrating and time consuming efforts. I still > don't know how I managed, but it seems to work, for the moment anyway. > Could someone explain to me why there is a problem with apache22, php5 > and the rest - when doing an upgrade from 7.2 to 8.0. > I followed the instructions in the handbood to the letter and both time= s > there is a problem. > Am I doing something that is not evident in the instructions. Even the > apache site states very clearly that and update is about as simple as > could be. > The long list of errors when installing apache seem to deal with a lot > of undeclared stuff (first use in this function) for a lot of uldap > stuff like cache, connection etc. etc. > How does one deal with this as there seems to be nothing on google. > TIA You're installing quite a complex interconnected group of ports there, an= d it can go wrong in any number of new and exciting ways. We can't tell ex= actly what has gone wrong from what you tell us -- but it's almost certainly a problem fairly high up the dependency tree which is screwing things up fo= r all of the ports lower down you're having trouble with. As a general strategy for making this work, probably the most effective route is 'back to square one.' Rip out everything that apache, php etc. depend on, and start again from scratch. This includes all options setti= ngs for those ports under /var/db/ports/. When reinstalling a group of interconnected ports like this, I find it beneficial to sort out all of the OPTIONS settings over the whole depende= ncy tree before trying to compile anything. One of the unfortunate character= istics of the way OPTIONS processing works at the moment is that changing an opt= ion somewhere can add or remove other ports from the dependency tree, and tho= se in=20 their turn may have their own OPTIONS settings, but those OPTIONS are not= =20 processed in that pass. There are patches to correct that behaviour in P= R=20 ports/141641 but until that or something like it is committed, the trick = is to run 'make config-recursive' repeatedly, until you no longer get presen= ted=20 with any of the blue OPTIONS dialogues. Some ports may not give you an OPTIONS dialogue but still have configurat= ion settings you can tweak by setting make(1) variables. In this case, I rec= ommend preserving your settings by adding them to /etc/make.conf. Changing a se= tting like this can affect the dependency tree in exactly the same way as= changing an option, so re-running 'make config-recursive' /yet again/ is a good idea.= I wrote a piece about this earlier in the context of reinstalling all por= ts as part of the process of upgrading 7.2 -> 8.0, which you might like to refe= r to: http://lists.freebsd.org/pipermail/freebsd-questions/2010-January/210449.= html Note: there's a fairly tricky interplay between www/apache22 and devel/ap= r which only affects you if you enable the APR_FROM_PORTS option in the apa= che22 OPTIONS dialogue -- both www/apache22 and devel/apr can be configured to = add=20 dependencies on all sorts of fairly large software groups (Berkeley DB, M= ySQL,=20 LDAP, PostgreSQL ...) and to toggle threading support. Empirically I've = come=20 to the conclusion that if you're compiling against devel/apr, then devel/= apr=20 has to include matching support for all the software groups enabled in th= e=20 apache22 options, or building apache22 will fall over in a twisty mess of= =20 dependencies, all alike. However, you pretty much cannot get the OPTIONS= =20 settings right in one pass of 'make config-recursive' starting from the=20 www/apache22 directory. You can avoid some trouble by *not* enabling the APR_FROM_PORTS option -- which is the default, but loses some flexibi= lity if you're going to be rebuilding Apache or any 3rd party apache modules q= uite a bit. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig07DD2AE5B571021D0FA37357 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.14 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAktNjdgACgkQ8Mjk52CukIwz1gCdEYIfxby/pQ+MPUq/UdCNPmvi Q70AoImfIaBzPCxVW1sZFj/loXddlrep =kkog -----END PGP SIGNATURE----- --------------enig07DD2AE5B571021D0FA37357-- From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 10:06:20 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C5AF1065670 for ; Wed, 13 Jan 2010 10:06:20 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 3932D8FC13 for ; Wed, 13 Jan 2010 10:06:20 +0000 (UTC) Received: from isis.bris.ac.uk ([137.222.10.63]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NV075-0000zu-Qy; Wed, 13 Jan 2010 10:06:18 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by isis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NV070-00057F-4a; Wed, 13 Jan 2010 10:06:07 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id o0DA61b6046901; Wed, 13 Jan 2010 10:06:01 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id o0DA61uF046900; Wed, 13 Jan 2010 10:06:01 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Wed, 13 Jan 2010 10:06:01 +0000 From: Anton Shterenlikht To: Erik Norgaard Message-ID: <20100113100601.GD23278@mech-cluster241.men.bris.ac.uk> References: <20100111140105.GI61025@mech-cluster241.men.bris.ac.uk> <4B4C43EE.6080703@locolomo.org> <20100112095357.GD61863@mech-cluster241.men.bris.ac.uk> <4B4CF95B.90207@locolomo.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B4CF95B.90207@locolomo.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -1.5 X-Spam-Level: - Cc: Anton Shterenlikht , freebsd-questions@freebsd.org Subject: Re: denying spam hosts ssh access - good idea? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Jan 2010 10:06:20 -0000 On Tue, Jan 12, 2010 at 11:36:11PM +0100, Erik Norgaard wrote: > Anton Shterenlikht wrote: > > >> - why not let your firewall do the blocking? If your blocking is IP > >> based that's the place to block. > > > > I'm already under the University firewall. Only port 22 is let through. > > But even that filles my logs. > > What I meant was that if you want to block IPs or ranges of IPs then a > firewall is the place to block, it's efficient and simple. > > If your university firewall doesn't satisfy you there is nothing that > hinders you from configuring firewall rules on your server. thank you, I get it now. anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 10:39:27 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E23DF106566B for ; Wed, 13 Jan 2010 10:39:27 +0000 (UTC) (envelope-from kalpin@muliahost.com) Received: from genesis.muliahost.com (genesis.muliahost.com [202.67.13.170]) by mx1.freebsd.org (Postfix) with ESMTP id 613698FC13 for ; Wed, 13 Jan 2010 10:39:06 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=muliahost.com; h=Message-ID:Date:Subject:From:To:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:Importance; b=X8WjptOlVHu40VamgW3MJYCf5NqjpfNz7w3Zk0NsO3luvYFIUuiUMcSaCy+zQGre2TC8zWSluwY2nC+SWx9idK53LV+imZwFVjVxHbyuWfdf4/5+6hWGO78+2DAKpdlF; Received: from localhost ([127.0.0.1] helo=muliahost.com) by genesis.muliahost.com with esmtpa (Exim 4.69) (envelope-from ) id 1NV0c3-0008TT-2S for freebsd-questions@freebsd.org; Wed, 13 Jan 2010 17:38:07 +0700 Received: from 203.153.106.5 ([203.153.106.5]) (SquirrelMail authenticated user kalpin@muliahost.com) by muliahost.com with HTTP; Wed, 13 Jan 2010 17:38:07 +0700 (WIT) Message-ID: <4113.203.153.106.5.1263379087.squirrel@muliahost.com> Date: Wed, 13 Jan 2010 17:38:07 +0700 (WIT) From: kalpin@muliahost.com To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.13 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - genesis.muliahost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - muliahost.com Subject: Failed compile ntop from ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Jan 2010 10:39:28 -0000 Hello, I have problem compiling ntop from ports. I got error: ===> Building for p5-XML-Parser-2.36_1 Makefile out-of-date with respect to /usr/local/lib/perl5/5.8.9/mach/Config.pm /usr/local/lib/perl5/5.8.9/mach/CORE/config.h Cleaning current config before rebuilding Makefile... make -f Makefile.old clean > /dev/null 2>&1 /usr/local/bin/perl5.8.9 Makefile.PL "INSTALLDIRS=site" "CC=cc" "CCFLAGS=-O2 -fno-strict-aliasing -pipe" "PREFIX=/usr/local" "INSTALLPRIVLIB=/usr/local/lib" "INSTALLARCHLIB=/usr/local/lib" Checking if your kit is complete... Looks good Warning: prerequisite LWP 0 not found. Writing Makefile for XML::Parser::Expat Writing Makefile for XML::Parser ==> Your Makefile has been rebuilt. <== ==> Please rerun the make command. <== false *** Error code 1 Stop in /usr/ports/textproc/p5-XML-Parser/work/XML-Parser-2.36. *** Error code 1 Stop in /usr/ports/textproc/p5-XML-Parser. *** Error code 1 Stop in /usr/ports/textproc/intltool. *** Error code 1 Stop in /usr/ports/databases/rrdtool. *** Error code 1 Stop in /usr/ports/databases/rrdtool. *** Error code 1 Stop in /usr/ports/net/ntop. *** Error code 1 Stop in /usr/ports/net/ntop. Also, I realized most of perl module could not build. Same problem while trying install Net-SSLeay. Need your advice. Thank you TIA Kalpin Erlangga Silaen From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 10:56:23 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5EECF106566B; Wed, 13 Jan 2010 10:56:23 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 4768F8FC08; Wed, 13 Jan 2010 10:56:23 +0000 (UTC) Received: from [10.0.10.3] ([202.69.174.13]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 13 Jan 2010 02:56:23 -0800 Message-ID: <4B4DA6C6.1080809@a1poweruser.com> Date: Wed, 13 Jan 2010 18:56:06 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20091128113000.BBDF410656E6@hub.freebsd.org> <20091205212857.H34611@sola.nimnet.asn.au> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 13 Jan 2010 10:56:23.0295 (UTC) FILETIME=[0BA8E8F0:01CA943F] X-Sender: fbsd1@a1poweruser.com Cc: Randi Harper Subject: 8.0 sysinstall problem with usb stick as source media and usb stick as install target X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Jan 2010 10:56:23 -0000 I know the sysinstall pgm is a dinosaur that nobody wants to touch so I give Randi great respect in tackling it adding USB support in 8.0. Using 2 USB sticks. da0 2GB as the bootable install media and da1 4GB target device that freebsd is to be installed on. I have put the disc-1 iso onto a usb stick. I can install from this usb stick (da0)to any motherboard cabled hard drive. But when i try to target another usb stick (da1) to install to, sysinstall works normally up to the message this is your last chance before writing to the media. Then i get a abort message "Unable to find device node for /dev/da1s1b in /dev! I then select vty1 and see this message geom: da1: media size does not match label. Followed by repeating messages "debug scanning disk da1 root file system" and "debug scanning disk da1 swap file system" I could be wrong but maybe the disc-1 iso is missing some /dev statements for partitions on usb da1 through da9. Can someone verify this From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 10:57:31 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 720971065694 for ; Wed, 13 Jan 2010 10:57:31 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms4-1.1blu.de (ms4-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 2C1FB8FC14 for ; Wed, 13 Jan 2010 10:57:31 +0000 (UTC) Received: from [193.31.11.193] (helo=current.Sisis.de) by ms4-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1NV0un-0006co-R5; Wed, 13 Jan 2010 11:57:29 +0100 Received: from current.Sisis.de (current [127.0.0.1]) by current.Sisis.de (8.14.3/8.14.3) with ESMTP id o0DAvWmF003162; Wed, 13 Jan 2010 11:57:32 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id o0DAvWpd003161; Wed, 13 Jan 2010 11:57:32 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Wed, 13 Jan 2010 11:57:32 +0100 From: Matthias Apitz To: Colin Albert , freebsd-questions@freebsd.org Message-ID: <20100113105732.GA3102@current.Sisis.de> References: <20100112105155.GA2980@current.Sisis.de> <20100112161230.GA4794@current.Sisis.de> <4B4CCC1C.90505@gmail.com> <4B4CDCF2.1070205@gmail.com> <20100113085145.GA2095@current.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20100113085145.GA2095@current.Sisis.de> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) X-Con-Id: 51246 X-Originating-IP: 193.31.11.193 Cc: Subject: Re: watching WebEx session on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jan 2010 10:57:31 -0000 El día Wednesday, January 13, 2010 a las 09:51:45AM +0100, Matthias Apitz escribió: > I did now (thanks for your help, Colin): > > - installed the 'User Agent Switcher' addin in Firefox 3.0.7 > - changed the user agent to the above Linux Mozilla > - installed diablo-jre-freebsd7.i386.1.6.0.07.02.tbz and activated the > plug-in in Firefox > > this let me see the introduction in http://www.webex.com/go/live_demo > which seems to be only a flash movie; > > but when I go to some real recorded webEx session the Java VM crashes > with some Exception that 'trustAnchors parameter must be non-empty'; > ... Follow-up: With a real webEx session I get asked for the name, email and password and then the download seems to be started but crashs with the same message. matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 11:09:03 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FC0B106566B for ; Wed, 13 Jan 2010 11:09:03 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id A812B8FC16 for ; Wed, 13 Jan 2010 11:09:02 +0000 (UTC) Received: by fxm27 with SMTP id 27so419236fxm.3 for ; Wed, 13 Jan 2010 03:08:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=/CsWqcykDujy94EUL1lxApyM5A8baFuMr5u0uNtCDnY=; b=wqrXNFbJAOMu8U7EBS7cb63UPmJPyDluzptInOQ6Ae/H9LQ6v8wW7Cij6G/e1AneLr zX2ImxPbQ9u4lrwHBT6D+JCq75393Y8p3citt2JupvBWwTPRKh0a2rPtHMOhQHObOIx6 /3t4xLtldBt1kv9fsJSUrJrNqvveLt5q8Tpvc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=G89rpYbxNFhnCClRy8/Jio2qDnj8zttB95kPuMlXJn9+CkVadujGjKiZi/+Xn0Ou5c 0OF6sVrvggYD7U53dAN5b5EOo1mwU9K0eUZ5o+ab1LLPi4CK1gv2A5PVQDQid4cRqjT9 JzwIgzLt5BwrHF3qWWjD6YR7gw2qTVp8c04sU= MIME-Version: 1.0 Received: by 10.239.130.209 with SMTP id 17mr1662556hbk.186.1263380937682; Wed, 13 Jan 2010 03:08:57 -0800 (PST) In-Reply-To: <4B4D05AB.5060905@lazlarlyricon.com> References: <4B4CAD19.7070804@lazlarlyricon.com> <4B4D05AB.5060905@lazlarlyricon.com> Date: Wed, 13 Jan 2010 11:08:57 +0000 Message-ID: From: krad To: Rolf Nielsen Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: zpool upgrade - is it safe? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Jan 2010 11:09:03 -0000 2010/1/12 Rolf Nielsen > On 2010-01-12 22:57, krad wrote: > >> >> >> 2010/1/12 Rolf Nielsen > > >> >> >> Hi all, >> >> I just upgraded to a more recent version of 8.0-STABLE, and I >> noticed during boot that zfs had changed from version 13 to version >> 14. Is it safe to run zpool upgrade -a on a system while in >> multiuser, or will I have to take some security measures, such as >> creating a complete backup and/or booting into singleuser? >> >> Rolf Nielsen >> _______________________________________________ >> 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 fine to upgrade a pool in multi user mode as it is with most things >> zfs. However beware when up upgrade a pool as once you have you cant go >> back, and if you want the revert to your previous install you wont be >> able to. Therefore a general rule of thumb is unless you need a new >> feature on a new pool version dont upgrade it. A least wait a few weeks >> until your new install is fully bedded in and tested >> > > Thanka. Since I have no idea what "passthrough-x aclinherit support" does > and I've been fine without it so far, I guess I'll stick with version 13 for > now then. :) > v22 is what we want as it has dedup From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 11:44:27 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 750A0106566B for ; Wed, 13 Jan 2010 11:44:27 +0000 (UTC) (envelope-from hack988@dev.htwap.com) Received: from mail-iw0-f177.google.com (mail-iw0-f177.google.com [209.85.223.177]) by mx1.freebsd.org (Postfix) with ESMTP id 4212F8FC17 for ; Wed, 13 Jan 2010 11:44:26 +0000 (UTC) Received: by iwn7 with SMTP id 7so7851222iwn.7 for ; Wed, 13 Jan 2010 03:44:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.9.33 with SMTP id j33mr753981ibj.37.1263383060313; Wed, 13 Jan 2010 03:44:20 -0800 (PST) X-Originating-IP: [221.232.148.213] In-Reply-To: <008601ca93ce$4044b0b0$c0ce1210$@com> References: <157701ca90c1$3a62ecd0$af28c670$@com> <20100109073442.c86fe9e4.freebsd@edvax.de> <188101ca918f$40141810$c03c4830$@com> <19e201ca91a8$b1f70690$15e513b0$@com> <20100110112130.11ff370c.freebsd@edvax.de> <25da01ca9237$fc0c94e0$f425bea0$@com> <01fa01ca931e$8a32d6d0$9e988470$@com> <4d03254c1001121213v67fda3ecn4e094697aceaa953@mail.gmail.com> <008601ca93ce$4044b0b0$c0ce1210$@com> Date: Wed, 13 Jan 2010 19:44:20 +0800 Message-ID: <4d03254c1001130344p5b486f42j5bd753c625951c80@mail.gmail.com> From: hack988 hack988 To: "Don O'Neil" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: php-general@lists.php.net, freebsd-questions@freebsd.org Subject: Re: [PHP] RE: Clean PHP 5.2.12 Build Core Dumping / Can't Build Port - FreeBSD 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: Wed, 13 Jan 2010 11:44:27 -0000 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D I try a 'make all-depend-list' the error shows up =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 which error show ? 2010/1/13 Don O'Neil : > This is _exactly_ what I did, and as soon as I try a 'make all-depend-lis= t' > the error shows up. I don't even have the X11 system installed (it's a > headless server, with no GUI). > > This is on a CLEAN 6.1 install, without any upgrades/patches, just straig= ht > off the ISO install and after a portsnap install/extract. > > I tried building it _before_ I updated the ports and it would build a 5.1= .2 > php ok, but I need 5.2.12. Something has changed in the port between 5.1.= 2 > and 5.2.12 > >> 1.add >> WITHOUT_X11=3Dyes >> in /etc/make.conf >> 2.remove >> X11BASE=3D"" >> from that file and >> >> 4.make all-depend-list >> 5.make clean all depend soft >> 6.make menuconfig set X11 disable >> 7.make &&make install >> >> >> 2010/1/12 Don O'Neil : >> > Ok.. just for grins I installed a new instance of 6.1, NO Patches, >> just >> > straight off the ISO... >> > >> > I loaded the ports that came WITH the distro, and was able to make >> php 5.1.2 >> > ok... >> > >> > When I did a portsnap fetch, portsnap extract, then went into the >> > /usr/ports/lang/php5 and just typed make I get the same error... >> > >> > SO as it seems, the port is broken, at least for working with FreeBSD >> 6.1. >> > >> > Can anyone give me some hints on how to build this sucker by hand? >> Seems as >> > though there are a bunch of patches that are referenced in the >> distinfo >> > file. >> > >> > I REALLY need to get this taken care of asap, any help is >> appreciated. >> > >> > Thanks! >> > >> >> > > I tried adding WITHOUT_X11=3Dyes to /etc/make.conf as well as >> >> X11BASE=3D >> >> > and >> >> > > X11BASE=3D"", but I still get the same error. >> >> > >> >> > Remove them. This makes sure they are not defined, not even >> >> > empty (as in "#define BLA -> symbol 'BLA' is defined"). >> >> > >> >> > > Where to go from here? Do I have and old version of something >> that >> >> is >> >> > > causing this? I get this error _right away_ before anything is >> even >> >> > built. >> >> > >> >> > It seems to be a check by the Makefile at port's top level. >> >> >> >> Ok... I have no definition for X11BASE anywhere, not in my env, not >> in >> >> my >> >> /etc/make.conf, nowhwere... >> >> >> >> However, it's still complaining about X11BASE being deprecated. I >> tried >> >> just >> >> adding WITHOUT_X11=3Dyes in /etc/make, and without it. I even searche= d >> >> all the >> >> Makefiles in /usr/ports, and in the /usr/ports/lang/php5 dir to find >> >> any >> >> reference to X11, or X, or X11BASE, but nada... I don't even know >> where >> >> this >> >> error message is being generated from. >> >> >> >> I can't even do a basic make without it immediately spitting out the >> >> error: >> >> >> >> # make >> >> X11BASE is now deprecated. =A0Unset X11BASE in make.conf and try >> again. >> >> *** Error code 1 >> >> >> >> Stop. >> >> >> > >> > >> > -- >> > PHP General Mailing List (http://www.php.net/) >> > To unsubscribe, visit: http://www.php.net/unsub.php >> > >> > >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> No virus found in this incoming message. >> Checked by AVG - www.avg.com >> Version: 9.0.725 / Virus Database: 270.14.136/2616 - Release Date: >> 01/11/10 23:35:00 > > From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 11:48:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B6B3106566B for ; Wed, 13 Jan 2010 11:48:02 +0000 (UTC) (envelope-from davidn04@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id CD6018FC14 for ; Wed, 13 Jan 2010 11:48:01 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 3so196153qwe.7 for ; Wed, 13 Jan 2010 03:47:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=0FvDfNZ4A/GYy82VhwVBmScUJpLBgD9WfOKM1n7MZlM=; b=aLLSgQEzwAo46jwY+bRyZVT13Sp6e5qHmxoOoQFKqN9mvw+dstW8YzULpivimpF/Pv HSmqGNPjk+aFkqVfCAC4EVKy43ngj4HMbGocDJKj+Uv2+DT0eg6pC0w9QomqF/Q1W/ss z2P31AX5ByVkYGdvwhUV1jjjlT8fgpOj1aQoE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=QstAIP99EoBmwxqdaghmSN+0OFCPK4hd2CaKODVnGWnqT3BCBu0HfT+D5Ml2qpJDPu s5Caam8mZK0PnkQgN6oP5AXl9eaai/3FSLw+X0GBrjeq8wD8gxEqrOcAk7spmwwKQiBC 9iyin0m3yg5zLU6VP295RkCq45noS8oHckNMs= MIME-Version: 1.0 Received: by 10.229.62.71 with SMTP id w7mr1229583qch.92.1263383273714; Wed, 13 Jan 2010 03:47:53 -0800 (PST) Date: Wed, 13 Jan 2010 22:47:53 +1100 Message-ID: <4d7dd86f1001130347k75ec7dcfhf6adf2a852210d89@mail.gmail.com> From: David N To: embedded@freebsd.org, FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Nanobsd Memory Backed Disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Jan 2010 11:48:02 -0000 I've been poking around /etc/rc.diskless and other rc's. I can't seem to find what script loads the md. Its not in /etc/fstab Does anyone know where it is? Also how does nanobsd load the /etc into the md? newfs + cpio? Regards David N From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 12:43:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48020106568F for ; Wed, 13 Jan 2010 12:43:57 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms4-1.1blu.de (ms4-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id CB8678FC12 for ; Wed, 13 Jan 2010 12:43:56 +0000 (UTC) Received: from [193.31.11.193] (helo=current.Sisis.de) by ms4-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1NV2Zm-00063L-7A; Wed, 13 Jan 2010 13:43:54 +0100 Received: from current.Sisis.de (current [127.0.0.1]) by current.Sisis.de (8.14.3/8.14.3) with ESMTP id o0DChrWs003838; Wed, 13 Jan 2010 13:43:53 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id o0DChrIF003837; Wed, 13 Jan 2010 13:43:53 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Wed, 13 Jan 2010 13:43:53 +0100 From: Matthias Apitz To: Colin Albert , freebsd-questions@freebsd.org Message-ID: <20100113124353.GA3810@current.Sisis.de> References: <20100112105155.GA2980@current.Sisis.de> <20100112161230.GA4794@current.Sisis.de> <4B4CCC1C.90505@gmail.com> <4B4CDCF2.1070205@gmail.com> <20100113085145.GA2095@current.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20100113085145.GA2095@current.Sisis.de> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) X-Con-Id: 51246 X-Originating-IP: 193.31.11.193 Cc: Subject: Re: watching WebEx session on FreeBSD (nearly solved) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jan 2010 12:43:57 -0000 El día Wednesday, January 13, 2010 a las 09:51:45AM +0100, Matthias Apitz escribió: > I did now (thanks for your help, Colin): > > - installed the 'User Agent Switcher' addin in Firefox 3.0.7 > - changed the user agent to the above Linux Mozilla > - installed diablo-jre-freebsd7.i386.1.6.0.07.02.tbz and activated the > plug-in in Firefox > > this let me see the introduction in http://www.webex.com/go/live_demo > which seems to be only a flash movie; > > but when I go to some real recorded webEx session the Java VM crashes > with some Exception that 'trustAnchors paramater must be non-empty'; Follow up: The problem with 'trustAnchors paramater must be non-empty' was a broken file /usr/local/diablo-jre1.6.0/lib/security/cacerts (it had only 32 bytes) and I copied it from some other Java: # cp /usr/local/jdk1.6.0/jre/lib/security/cacerts /usr/local/diablo-jre1.6.0/lib/security/cacerts Now the Java app is down loaded and starts and I can see the WebEx Meeting Manager Window; if the 'host' shows some file in this, it is presented as well; but if the 'host' presents some application (the remote desktop) only a full green window comes up with no icons or windows in it.... matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 13:11:30 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1DEB106566B for ; Wed, 13 Jan 2010 13:11:30 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 591B88FC12 for ; Wed, 13 Jan 2010 13:11:29 +0000 (UTC) Received: by fxm27 with SMTP id 27so527207fxm.3 for ; Wed, 13 Jan 2010 05:11:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received :x-authentication-warning:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=Ikrra9RSqW3MhPNIWELI0Wpn9o6dme9O7Zcm6SyhNOY=; b=MphlPxs1OobL/iGlocaumkd2oTUkZDqqCfRyy8Rr1xZCNfF2tbD6tOGVlPbdXUZ0VM Ob/9UWH1nUu4b8sAkuHi74BYNqWKCIhhE7bSSC5rCpYbi9yr983Isf3enzkG7nUOWhzR cAKO+bA5gDWfBYY+iMnQC16Sf4KwMsgHtlcAI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=x-authentication-warning:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; b=ZquX5g+k1MSQtXqmOSvsYpfPofIvITvnWKl0pTwhQ4GUszdZKmRUnsaXfxQXTpSvAP ZLrSrRfhAgUwHwc82qCz5RtAAWWVJ/AdI05ZRWQGiZovYEqi0lAj6MCu/knUMzlrZgzz XQA05FdIlcQKFAMzYPMB5Cf67prbE36VCBG/g= Received: by 10.87.64.27 with SMTP id r27mr17644384fgk.29.1263388282219; Wed, 13 Jan 2010 05:11:22 -0800 (PST) Received: from darklight.org.ru ([213.132.76.16]) by mx.google.com with ESMTPS id 12sm2707997fgg.2.2010.01.13.05.11.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 13 Jan 2010 05:11:21 -0800 (PST) Received: from darklight.org.ru (yuri@darklight.org.ru [127.0.0.1]) by darklight.org.ru (8.14.3/8.14.3) with ESMTP id o0DDBHLp012286; Wed, 13 Jan 2010 16:11:17 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by darklight.org.ru (8.14.3/8.14.3/Submit) id o0DDBHxi012284; Wed, 13 Jan 2010 16:11:17 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: darklight.org.ru: yuri set sender to yuri.pankov@gmail.com using -f Date: Wed, 13 Jan 2010 16:11:16 +0300 From: Yuri Pankov To: kalpin@muliahost.com Message-ID: <20100113131116.GA1588@darklight.org.ru> References: <4113.203.153.106.5.1263379087.squirrel@muliahost.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4113.203.153.106.5.1263379087.squirrel@muliahost.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: Failed compile ntop from ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Jan 2010 13:11:31 -0000 On Wed, Jan 13, 2010 at 05:38:07PM +0700, kalpin@muliahost.com wrote: > Hello, > > I have problem compiling ntop from ports. I got error: > > ===> Building for p5-XML-Parser-2.36_1 > Makefile out-of-date with respect to > /usr/local/lib/perl5/5.8.9/mach/Config.pm > /usr/local/lib/perl5/5.8.9/mach/CORE/config.h > Cleaning current config before rebuilding Makefile... > make -f Makefile.old clean > /dev/null 2>&1 > /usr/local/bin/perl5.8.9 Makefile.PL "INSTALLDIRS=site" "CC=cc" > "CCFLAGS=-O2 -fno-strict-aliasing -pipe" "PREFIX=/usr/local" > "INSTALLPRIVLIB=/usr/local/lib" "INSTALLARCHLIB=/usr/local/lib" > Checking if your kit is complete... > Looks good > Warning: prerequisite LWP 0 not found. > Writing Makefile for XML::Parser::Expat > Writing Makefile for XML::Parser > ==> Your Makefile has been rebuilt. <== > ==> Please rerun the make command. <== Check your date/time settings. > false > *** Error code 1 > > Stop in /usr/ports/textproc/p5-XML-Parser/work/XML-Parser-2.36. > *** Error code 1 > > Stop in /usr/ports/textproc/p5-XML-Parser. > *** Error code 1 > > Stop in /usr/ports/textproc/intltool. > *** Error code 1 > > Stop in /usr/ports/databases/rrdtool. > *** Error code 1 > > Stop in /usr/ports/databases/rrdtool. > *** Error code 1 > > Stop in /usr/ports/net/ntop. > *** Error code 1 > > Stop in /usr/ports/net/ntop. > > > Also, I realized most of perl module could not build. Same problem while > trying install Net-SSLeay. > > Need your advice. > > Thank you > > TIA > > Kalpin Erlangga Silaen HTH, Yuri From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 13:46:40 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34EE51065679 for ; Wed, 13 Jan 2010 13:46:40 +0000 (UTC) (envelope-from colintrebla@gmail.com) Received: from mail-gx0-f209.google.com (mail-gx0-f209.google.com [209.85.217.209]) by mx1.freebsd.org (Postfix) with ESMTP id DBB708FC13 for ; Wed, 13 Jan 2010 13:46:39 +0000 (UTC) Received: by gxk1 with SMTP id 1so11499940gxk.14 for ; Wed, 13 Jan 2010 05:46:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=u+pk2vuoYOEo7kjet41qOVQhfsxHPl4iOMFBGE41J2g=; b=HbPursWjrxrA+f6G0BKbrm/CrxT9Hv7IjG9CG3w2PNv0ZFEHY0bPwkW9Vfix4A2ou+ ZrxqaFa+a8+psyVLnCp9tZeY0FbOdp4oFvgAQer5hIzR13Nx7AvgC12i+P8XOJs+aPvx Xysf6Bx8dZh3TA1yQJkSnvbjvx0l6frzW1Kmo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; b=ujjigy1jABcunFOBPBNiz6WNKffjST41qB2Pp6QVV+pAHqRBU9Ac02Rihes3++Ufy/ MSM/ftrHN71v3SnQ/LKkycMLwfmxSLp3mnxUHArEkXEb3WwIAa6Ma1nsorXvVe+ORiFM dEzlJ3sKe6b19+njCsQu48vWX4ZtL7u7UL3B8= Received: by 10.101.176.7 with SMTP id d7mr7071755anp.71.1263390393007; Wed, 13 Jan 2010 05:46:33 -0800 (PST) Received: from Tickles.e-alberts.com (cpe-071-075-114-213.carolina.res.rr.com [71.75.114.213]) by mx.google.com with ESMTPS id 20sm11314139yxe.2.2010.01.13.05.46.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 13 Jan 2010 05:46:32 -0800 (PST) Message-ID: <4B4DCEB7.4030105@gmail.com> Date: Wed, 13 Jan 2010 08:46:31 -0500 From: Colin Albert User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.5) Gecko/20100104 Thunderbird/3.0 MIME-Version: 1.0 CC: freebsd-questions@freebsd.org References: <20100112105155.GA2980@current.Sisis.de> <20100112161230.GA4794@current.Sisis.de> <4B4CCC1C.90505@gmail.com> <4B4CDCF2.1070205@gmail.com> <20100113085145.GA2095@current.Sisis.de> <20100113124353.GA3810@current.Sisis.de> In-Reply-To: <20100113124353.GA3810@current.Sisis.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: watching WebEx session on FreeBSD (nearly 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: Wed, 13 Jan 2010 13:46:40 -0000 On 01/13/10 07:43, Matthias Apitz wrote: > El día Wednesday, January 13, 2010 a las 09:51:45AM +0100, Matthias Apitz escribió: > > >> I did now (thanks for your help, Colin): >> >> - installed the 'User Agent Switcher' addin in Firefox 3.0.7 >> - changed the user agent to the above Linux Mozilla >> - installed diablo-jre-freebsd7.i386.1.6.0.07.02.tbz and activated the >> plug-in in Firefox >> >> this let me see the introduction in http://www.webex.com/go/live_demo >> which seems to be only a flash movie; >> >> but when I go to some real recorded webEx session the Java VM crashes >> with some Exception that 'trustAnchors paramater must be non-empty'; >> > Follow up: > > The problem with 'trustAnchors paramater must be non-empty' was a broken > file /usr/local/diablo-jre1.6.0/lib/security/cacerts (it had only 32 > bytes) and I copied it from some other Java: > > # cp /usr/local/jdk1.6.0/jre/lib/security/cacerts /usr/local/diablo-jre1.6.0/lib/security/cacerts > > Now the Java app is down loaded and starts and I can see the WebEx > Meeting Manager Window; if the 'host' shows some file in this, it is > presented as well; but if the 'host' presents some application (the > remote desktop) only a full green window comes up with no icons or > windows in it.... > > matthias > That is where I am as well. While in the demo, I talked to the host for a while and she said that I should be able to see sharing of the full desktop but sharing of individual applications would result in users seeing my full desktop. I plan to test more with it today. I may also test to see if it runs similarly in Linux, if it does then it may indicate that further configuration is needed in FreeBSD to get this working. -Colin From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 14:25:04 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE822106566B; Wed, 13 Jan 2010 14:25:04 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 78EEB8FC12; Wed, 13 Jan 2010 14:25:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o0DEI8U7090795; Wed, 13 Jan 2010 07:18:08 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Wed, 13 Jan 2010 07:19:04 -0700 (MST) Message-Id: <20100113.071904.971941791087055641.imp@bsdimp.com> To: davidn04@gmail.com From: "M. Warner Losh" In-Reply-To: <4d7dd86f1001130347k75ec7dcfhf6adf2a852210d89@mail.gmail.com> References: <4d7dd86f1001130347k75ec7dcfhf6adf2a852210d89@mail.gmail.com> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: embedded@FreeBSD.org, freebsd-questions@FreeBSD.org Subject: Re: Nanobsd Memory Backed Disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Jan 2010 14:25:04 -0000 In message: <4d7dd86f1001130347k75ec7dcfhf6adf2a852210d89@mail.gmail.com> David N writes: : I've been poking around /etc/rc.diskless and other rc's. I can't seem : to find what script loads the md. : Its not in /etc/fstab : : Does anyone know where it is? : Also how does nanobsd load the /etc into the md? newfs + cpio? The md driver is usually compiled into the kernel. /etc/rc.d/mdconfig and /etc/rc.d/mdconfig2 configure the ram disks. /etc/diskless is created as part of the build process, and /etc/rc.initdiskless does all the copying magic. Warner From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 15:32:43 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F3561065676 for ; Wed, 13 Jan 2010 15:32:43 +0000 (UTC) (envelope-from keneasson@zoho.com) Received: from sender1.zohomail.com (sender1.zohomail.com [72.5.230.95]) by mx1.freebsd.org (Postfix) with ESMTP id 8666C8FC1C for ; Wed, 13 Jan 2010 15:32:43 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:message-id:subject:mime-version:content-type:user-agent; b=nXC0l3M+vUG8TGBPGcDIuF6SsGtrKZGDbHK2kOCO0T/i4LHczyqN2xXPfFPEt7vp1yTVFW2CSLyI rXilgukzEEeiC1Bj4GZBe0ggc1nuJvMs8BzzZAPrJVsvOCWXDAIq Received: from 172.29.247.244 (172.29.247.244 [172.29.247.244]) by mx.zohomail.com with SMTP id 1263396762609883.5938412184754; Wed, 13 Jan 2010 07:32:42 -0800 (PST) Date: Wed, 13 Jan 2010 21:32:41 +0600 From: keneasson To: "freebsd-questions" Message-ID: <1262850af43.-7280701470377446179.-7911888706470357210@zoho.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_261_1566584931.1263396761411" X-Priority: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Status: RO X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: mtree unable to find group wheel, possible corrupt /etc/group 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: Wed, 13 Jan 2010 15:32:43 -0000 ------=_Part_261_1566584931.1263396761411 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi all, I've got a number of ports that will build but not install. The error is: =3D=3D=3D> Generating temporary packing list =3D=3D=3D> Checking if deskutils/gucharmap already installed mtree: line 1: unknown group wheel--- *** Error code 1 I discovered that i had patch code left over from mergemaster in my /etc/gr= oup file, i have deleted and rebooted. unfortunately, i still get the same error when i try to install ports. the group file seems to have been readable to something, as i could sudo an= d su from my login user.=20 any help greatly appreciated. # $FreeBSD: src/etc/group,v 1.35.10.1 2009/08/03 08:13:06 kensmith Exp $ # wheel:*:0:root,justken,www daemon:*:1: kmem:*:2: sys:*:3: tty:*:4: operator:*:5:root ... authpf:*:63: _pflogd:*:64: _dhcp:*:65: -ken ------=_Part_261_1566584931.1263396761411-- From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 15:37:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CA5D1065672 for ; Wed, 13 Jan 2010 15:37:08 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from kermit7.lizardhill.com (kermit7.lizardhill.com [64.69.41.223]) by mx1.freebsd.org (Postfix) with ESMTP id 5F2B08FC1F for ; Wed, 13 Jan 2010 15:37:08 +0000 (UTC) Received: from ip68-104-23-65.lv.lv.cox.net ([68.104.23.65] helo=mickey) by kermit.lizardhill.com with esmtpa (Exim 4.62) (envelope-from ) id 1NV5H8-0005sc-A2; Wed, 13 Jan 2010 07:36:50 -0800 From: "Don O'Neil" To: "'hack988 hack988'" References: <157701ca90c1$3a62ecd0$af28c670$@com> <20100109073442.c86fe9e4.freebsd@edvax.de> <188101ca918f$40141810$c03c4830$@com> <19e201ca91a8$b1f70690$15e513b0$@com> <20100110112130.11ff370c.freebsd@edvax.de> <25da01ca9237$fc0c94e0$f425bea0$@com> <01fa01ca931e$8a32d6d0$9e988470$@com> <4d03254c1001121213v67fda3ecn4e094697aceaa953@mail.gmail.com> <008601ca93ce$4044b0b0$c0ce1210$@com> <4d03254c1001130344p5b486f42j5bd753c625951c80@mail.gmail.com> In-Reply-To: <4d03254c1001130344p5b486f42j5bd753c625951c80@mail.gmail.com> Date: Wed, 13 Jan 2010 07:37:09 -0800 Message-ID: <017901ca9466$44fe9330$cefbb990$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcqURbVeaAbIzCxORcyXe6JxRodWRgAICJ0w Content-Language: en-us Cc: php-general@lists.php.net, freebsd-questions@freebsd.org Subject: RE: [PHP] RE: Clean PHP 5.2.12 Build Core Dumping / Can't Build Port - FreeBSD 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: Wed, 13 Jan 2010 15:37:08 -0000 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > I try a 'make all-depend-list' > the error shows up > = =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 > which error show ? # make X11BASE is now deprecated. Unset X11BASE in make.conf and try again. *** Error code 1 Stop. That's the error... happens every time, no matter what I try to = set/unset in /etc/make.conf. I looked through the makefiles to see where X11BASE is referenced and I can't find any place where it is to just kill it. > > This is _exactly_ what I did, and as soon as I try a 'make all- > depend-list' > > the error shows up. I don't even have the X11 system installed (it's > a > > headless server, with no GUI). > > > > This is on a CLEAN 6.1 install, without any upgrades/patches, just > straight > > off the ISO install and after a portsnap install/extract. > > > > I tried building it _before_ I updated the ports and it would build = a > 5.1.2 > > php ok, but I need 5.2.12. Something has changed in the port between > 5.1.2 > > and 5.2.12 > > > >> 1.add > >> WITHOUT_X11=3Dyes > >> in /etc/make.conf > >> 2.remove > >> X11BASE=3D"" > >> from that file and > >> > >> 4.make all-depend-list > >> 5.make clean all depend soft > >> 6.make menuconfig set X11 disable > >> 7.make &&make install > >> > >> > >> 2010/1/12 Don O'Neil : > >> > Ok.. just for grins I installed a new instance of 6.1, NO = Patches, > >> just > >> > straight off the ISO... > >> > > >> > I loaded the ports that came WITH the distro, and was able to = make > >> php 5.1.2 > >> > ok... > >> > > >> > When I did a portsnap fetch, portsnap extract, then went into the > >> > /usr/ports/lang/php5 and just typed make I get the same error... > >> > > >> > SO as it seems, the port is broken, at least for working with > FreeBSD > >> 6.1. > >> > > >> > Can anyone give me some hints on how to build this sucker by = hand? > >> Seems as > >> > though there are a bunch of patches that are referenced in the > >> distinfo > >> > file. > >> > > >> > I REALLY need to get this taken care of asap, any help is > >> appreciated. > >> > > >> > Thanks! > >> > > >> >> > > I tried adding WITHOUT_X11=3Dyes to /etc/make.conf as well = as > >> >> X11BASE=3D > >> >> > and > >> >> > > X11BASE=3D"", but I still get the same error. > >> >> > > >> >> > Remove them. This makes sure they are not defined, not even > >> >> > empty (as in "#define BLA -> symbol 'BLA' is defined"). > >> >> > > >> >> > > Where to go from here? Do I have and old version of = something > >> that > >> >> is > >> >> > > causing this? I get this error _right away_ before anything > is > >> even > >> >> > built. > >> >> > > >> >> > It seems to be a check by the Makefile at port's top level. > >> >> > >> >> Ok... I have no definition for X11BASE anywhere, not in my env, > not > >> in > >> >> my > >> >> /etc/make.conf, nowhwere... > >> >> > >> >> However, it's still complaining about X11BASE being deprecated. = I > >> tried > >> >> just > >> >> adding WITHOUT_X11=3Dyes in /etc/make, and without it. I even > searched > >> >> all the > >> >> Makefiles in /usr/ports, and in the /usr/ports/lang/php5 dir to > find > >> >> any > >> >> reference to X11, or X, or X11BASE, but nada... I don't even = know > >> where > >> >> this > >> >> error message is being generated from. > >> >> > >> >> I can't even do a basic make without it immediately spitting out > the > >> >> error: > >> >> > >> >> # make > >> >> X11BASE is now deprecated. =A0Unset X11BASE in make.conf and try > >> again. > >> >> *** Error code 1 > >> >> > >> >> Stop. From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 15:45:03 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3187106568D for ; Wed, 13 Jan 2010 15:45:03 +0000 (UTC) (envelope-from af.gourmet@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id 8A3118FC12 for ; Wed, 13 Jan 2010 15:45:03 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=UTF-8 Received: from [192.168.0.51] ([96.21.103.185]) by VL-MO-MR005.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0KW600L9CZQXTT40@VL-MO-MR005.ip.videotron.ca> for freebsd-questions@freebsd.org; Wed, 13 Jan 2010 10:44:57 -0500 (EST) Message-id: <4B4DEA77.10801@videotron.ca> Date: Wed, 13 Jan 2010 10:44:55 -0500 From: PJ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 To: Matthew Seaman References: <4B4D7ABE.3050001@videotron.ca> <4B4D8DD2.3000500@infracaninophile.co.uk> In-reply-to: <4B4D8DD2.3000500@infracaninophile.co.uk> Cc: freebsd-questions@freebsd.org Subject: Re: cannot install apache22 on FBSD 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jan 2010 15:45:03 -0000 On 1/13/2010 4:09 AM, Matthew Seaman wrote: > PJ wrote: >> Gentlemen, >> I am absolutely stupefied by apache22, php5, php5-extensions and >> phpmysql refusing to be updated or installed >> I did manage to do one installation on a freshly upgraded box from 7.2 >> to 8.0 but with very frustrating and time consuming efforts. I still >> don't know how I managed, but it seems to work, for the moment anyway. >> Could someone explain to me why there is a problem with apache22, php5 >> and the rest - when doing an upgrade from 7.2 to 8.0. >> I followed the instructions in the handbood to the letter and both times >> there is a problem. >> Am I doing something that is not evident in the instructions. Even the >> apache site states very clearly that and update is about as simple as >> could be. >> The long list of errors when installing apache seem to deal with a lot >> of undeclared stuff (first use in this function) for a lot of uldap >> stuff like cache, connection etc. etc. >> How does one deal with this as there seems to be nothing on google. >> TIA > > You're installing quite a complex interconnected group of ports there, > and > it can go wrong in any number of new and exciting ways. We can't tell > exactly > what has gone wrong from what you tell us -- but it's almost certainly a > problem fairly high up the dependency tree which is screwing things up > for > all of the ports lower down you're having trouble with. > > As a general strategy for making this work, probably the most effective > route is 'back to square one.' Rip out everything that apache, php etc. > depend on, and start again from scratch. This includes all options > settings > for those ports under /var/db/ports/. > > When reinstalling a group of interconnected ports like this, I find it > beneficial to sort out all of the OPTIONS settings over the whole > dependency > tree before trying to compile anything. One of the unfortunate > characteristics > of the way OPTIONS processing works at the moment is that changing an > option > somewhere can add or remove other ports from the dependency tree, and > those in their turn may have their own OPTIONS settings, but those > OPTIONS are not processed in that pass. There are patches to correct > that behaviour in PR ports/141641 but until that or something like it > is committed, the trick is > to run 'make config-recursive' repeatedly, until you no longer get > presented with any of the blue OPTIONS dialogues. > > Some ports may not give you an OPTIONS dialogue but still have > configuration > settings you can tweak by setting make(1) variables. In this case, I > recommend > preserving your settings by adding them to /etc/make.conf. Changing a > setting like this can affect the dependency tree in exactly the same > way as changing an > option, so re-running 'make config-recursive' /yet again/ is a good idea. > > I wrote a piece about this earlier in the context of reinstalling all > ports as > part of the process of upgrading 7.2 -> 8.0, which you might like to > refer to: > > http://lists.freebsd.org/pipermail/freebsd-questions/2010-January/210449.html > > > Note: there's a fairly tricky interplay between www/apache22 and > devel/apr > which only affects you if you enable the APR_FROM_PORTS option in the > apache22 > OPTIONS dialogue -- both www/apache22 and devel/apr can be configured > to add dependencies on all sorts of fairly large software groups > (Berkeley DB, MySQL, LDAP, PostgreSQL ...) and to toggle threading > support. Empirically I've come to the conclusion that if you're > compiling against devel/apr, then devel/apr has to include matching > support for all the software groups enabled in the apache22 options, > or building apache22 will fall over in a twisty mess of dependencies, > all alike. However, you pretty much cannot get the OPTIONS settings > right in one pass of 'make config-recursive' starting from the > www/apache22 directory. You can avoid some trouble by *not* enabling > the APR_FROM_PORTS option -- which is the default, but loses some > flexibility > if you're going to be rebuilding Apache or any 3rd party apache > modules quite > a bit. > > Cheers, > > Matthew > Thanks for the input. There was no way that apache22 was going to install with the apr. I tried everything imaginable and referred to your suggestions. Finally, I removed apr, removed the configuration files from the /work directory, redid config without apr and did config-recursive. Much to my surprise, it worked... now to install php5 and php5 extensions and try it all out. PJ From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 16:02:06 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF8E0106568D for ; Wed, 13 Jan 2010 16:02:06 +0000 (UTC) (envelope-from keneasson@zoho.com) Received: from sender1.zohomail.com (sender1.zohomail.com [72.5.230.95]) by mx1.freebsd.org (Postfix) with ESMTP id 912748FC15 for ; Wed, 13 Jan 2010 16:02:06 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:cc:message-id:in-reply-to:references:subject:mime-version:content-type:user-agent; b=m9cVaAkRZMw2tiCzwEjiGWV1AFKsaEQOpTxHC57FWRByo2/lVIUlDTy/HXDY4S0sOHM8dErEoIVZ SSpKIAfcmcF6ZSv0MYEUQQ1PHB0KmHHrzIWKGkOGJ3Du2/VpXFev Received: from 172.29.247.244 (172.29.247.244 [172.29.247.244]) by mx.zohomail.com with SMTP id 1263398523662732.5282064875872; Wed, 13 Jan 2010 08:02:03 -0800 (PST) Date: Wed, 13 Jan 2010 22:02:03 +0600 From: keneasson To: Message-ID: <126286b91ec.-135289677807361896.868388711535684751@zoho.com> In-Reply-To: <4B4DEA77.10801@videotron.ca> References: <4B4D7ABE.3050001@videotron.ca> <4B4D8DD2.3000500@infracaninophile.co.uk> <4B4DEA77.10801@videotron.ca> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_651_106895222.1263398523371" X-Priority: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Status: RO X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: cannot install apache22 on FBSD 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jan 2010 16:02:06 -0000 ------=_Part_651_106895222.1263398523371 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable ---- On Wed, 13 Jan 2010 21:44:55 +0600 PJ <af.gourmet@videotron.ca> = wrote ----=20 On 1/13/2010 4:09 AM, Matthew Seaman wrote:=20 > PJ wrote:=20 >> Gentlemen,=20 >> I am absolutely stupefied by apache22, php5, php5-extensions and= =20 >> phpmysql refusing to be updated or installed=20 >> I did manage to do one installation on a freshly upgraded box from= 7.2=20 >> to 8.0 but with very frustrating and time consuming efforts. I sti= ll=20 >> don't know how I managed, but it seems to work, for the moment any= way.=20 >> Could someone explain to me why there is a problem with apache22, = php5=20 >> and the rest - when doing an upgrade from 7.2 to 8.0.=20 >> I followed the instructions in the handbood to the letter and both= times=20 >> there is a problem.=20 >> Am I doing something that is not evident in the instructions. Even= the=20 >> apache site states very clearly that and update is about as simple= as=20 >> could be.=20 >> The long list of errors when installing apache seem to deal with a= lot=20 >> of undeclared stuff (first use in this function) for a lot of ulda= p=20 >> stuff like cache, connection etc. etc.=20 >> How does one deal with this as there seems to be nothing on google= .=20 >> TIA=20 >=20 > You're installing quite a complex interconnected group of ports there,= =20 > and=20 > it can go wrong in any number of new and exciting ways. We can't tell= =20 > exactly=20 > what has gone wrong from what you tell us -- but it's almost certainly= a=20 > problem fairly high up the dependency tree which is screwing things up= =20 > for=20 > all of the ports lower down you're having trouble with.=20 >=20 > As a general strategy for making this work, probably the most effectiv= e=20 > route is 'back to square one.' Rip out everything that apache, php etc= .=20 > depend on, and start again from scratch. This includes all options=20 > settings=20 > for those ports under /var/db/ports/.=20 >=20 > When reinstalling a group of interconnected ports like this, I find it= =20 > beneficial to sort out all of the OPTIONS settings over the whole=20 > dependency=20 > tree before trying to compile anything. One of the unfortunate=20 > characteristics=20 > of the way OPTIONS processing works at the moment is that changing an= =20 > option=20 > somewhere can add or remove other ports from the dependency tree, and= =20 > those in their turn may have their own OPTIONS settings, but those=20 > OPTIONS are not processed in that pass. There are patches to correct= =20 > that behaviour in PR ports/141641 but until that or something like it= =20 > is committed, the trick is=20 > to run 'make config-recursive' repeatedly, until you no longer get=20 > presented with any of the blue OPTIONS dialogues.=20 >=20 > Some ports may not give you an OPTIONS dialogue but still have=20 > configuration=20 > settings you can tweak by setting make(1) variables. In this case, I= =20 > recommend=20 > preserving your settings by adding them to /etc/make.conf. Changing a= =20 > setting like this can affect the dependency tree in exactly the same= =20 > way as changing an=20 > option, so re-running 'make config-recursive' /yet again/ is a good id= ea.=20 >=20 > I wrote a piece about this earlier in the context of reinstalling all= =20 > ports as=20 > part of the process of upgrading 7.2 -> 8.0, which you might like t= o=20 > refer to:=20 >=20 > http://lists.freebsd.org/pipermail/freebsd-questions/2010-January/2104= 49.html=20 >=20 >=20 > Note: there's a fairly tricky interplay between www/apache22 and=20 > devel/apr=20 > which only affects you if you enable the APR_FROM_PORTS option in the= =20 > apache22=20 > OPTIONS dialogue -- both www/apache22 and devel/apr can be configured= =20 > to add dependencies on all sorts of fairly large software groups=20 > (Berkeley DB, MySQL, LDAP, PostgreSQL ...) and to toggle threading=20 > support. Empirically I've come to the conclusion that if you're=20 > compiling against devel/apr, then devel/apr has to include matching=20 > support for all the software groups enabled in the apache22 options,= =20 > or building apache22 will fall over in a twisty mess of dependencies,= =20 > all alike. However, you pretty much cannot get the OPTIONS settings=20 > right in one pass of 'make config-recursive' starting from the=20 > www/apache22 directory. You can avoid some trouble by *not* enabling= =20 > the APR_FROM_PORTS option -- which is the default, but loses some=20 > flexibility=20 > if you're going to be rebuilding Apache or any 3rd party apache=20 > modules quite=20 > a bit.=20 >=20 > Cheers,=20 >=20 > Matthew=20 >=20 Thanks for the input.=20 There was no way that apache22 was going to install with the apr. I=20 tried everything imaginable and referred to your suggestions.=20 Finally, I removed apr, removed the configuration files from the /work=20 directory, redid config without apr and did config-recursive.=20 Much to my surprise, it worked... now to install php5 and php5=20 extensions and try it all out.=20 PJ=20 _______________________________________________=20 freebsd-questions@freebsd.org mailing list=20 http://lists.freebsd.org/mailman/listinfo/freebsd-questions=20 To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org= "=20 I read somewhere to put this in my make.conf file. WITH_MYSQL_VER=3D51 APACHE_VERSION=3D22 WWWDIR =3D /web/phpmyadmin I have had no problems at all with apache, php or mysql working. #php -v PHP 5.2.12 with Suhosin-Patch 0.9.7 (cli) (built: Jan 8 2010 17:12:52) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies #apachectl -v Server version: Apache/2.2.14 (FreeBSD) Server built: Jan 7 2010 16:40:50 ------=_Part_651_106895222.1263398523371-- From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 16:03:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC58510656A3 for ; Wed, 13 Jan 2010 16:03:34 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id 6405A8FC15 for ; Wed, 13 Jan 2010 16:03:34 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 19so9346fgg.13 for ; Wed, 13 Jan 2010 08:03:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received :x-authentication-warning:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=U3/vWEMgT5MNMmmTa4Flom1kTp7eGqh27IPjNwBJjM8=; b=oYSWRtUXTomPfwcjfQ3ZJO9wlvOAjO1BY3ZTenGE7w6BkPnTvHAkUUi4XfwQPEYYmJ Ym9JlFkfMLNYmMCXYmpUUdcDD62oz69pMMbw0R8h4AAQHOWOGpHD8qcJnb0t+Tj+zoSW n2ArVd3l5qOiGyS+P93exu8iskho36rNKW+7A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=x-authentication-warning:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; b=KvZjAuFxEItUubqhZCoPZrq7KCNyf+huhapHtoyHmaIdWVgrV8d5PLzTLKjkOPloDt bBD7eiTcci1XWXPdp97a+i+qXpwW3Apc2FVvonH7Kaz9f88K7zBObO86mRadNqvKlnDq 1biSnfq9AY7ekcM7Hxio1XCvTn0JKkmdM5QuA= Received: by 10.87.40.29 with SMTP id s29mr6720202fgj.25.1263398613353; Wed, 13 Jan 2010 08:03:33 -0800 (PST) Received: from darklight.org.ru ([213.132.76.16]) by mx.google.com with ESMTPS id e3sm5007513fga.21.2010.01.13.08.03.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 13 Jan 2010 08:03:32 -0800 (PST) Received: from darklight.org.ru (yuri@darklight.org.ru [127.0.0.1]) by darklight.org.ru (8.14.3/8.14.3) with ESMTP id o0DFiSA5049884; Wed, 13 Jan 2010 18:48:53 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by darklight.org.ru (8.14.3/8.14.3/Submit) id o0DFiSqq049883; Wed, 13 Jan 2010 18:44:28 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: darklight.org.ru: yuri set sender to yuri.pankov@gmail.com using -f Date: Wed, 13 Jan 2010 18:44:28 +0300 From: Yuri Pankov To: keneasson Message-ID: <20100113154428.GC1588@darklight.org.ru> References: <1262850af43.-7280701470377446179.-7911888706470357210@zoho.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1262850af43.-7280701470377446179.-7911888706470357210@zoho.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions Subject: Re: mtree unable to find group wheel, possible corrupt /etc/group 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: Wed, 13 Jan 2010 16:03:35 -0000 On Wed, Jan 13, 2010 at 09:32:41PM +0600, keneasson wrote: > Hi all, > > I've got a number of ports that will build but not install. > > The error is: > > ===> Generating temporary packing list > ===> Checking if deskutils/gucharmap already installed > mtree: line 1: unknown group wheel--- wheel---? Check your /etc/mtree/ files also for mergemaster's cruft. > *** Error code 1 > > > I discovered that i had patch code left over from mergemaster in my /etc/group file, i have deleted and rebooted. > unfortunately, i still get the same error when i try to install ports. > > the group file seems to have been readable to something, as i could sudo and su from my login user. > > any help greatly appreciated. > > # $FreeBSD: src/etc/group,v 1.35.10.1 2009/08/03 08:13:06 kensmith Exp $ > # > wheel:*:0:root,justken,www > daemon:*:1: > kmem:*:2: > sys:*:3: > tty:*:4: > operator:*:5:root > ... > authpf:*:63: > _pflogd:*:64: > _dhcp:*:65: > > -ken Yuri From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 16:21:43 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B1CE106566B for ; Wed, 13 Jan 2010 16:21:43 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.103.93]) by mx1.freebsd.org (Postfix) with ESMTP id 114E68FC14 for ; Wed, 13 Jan 2010 16:21:42 +0000 (UTC) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.14.2/8.13.8) with ESMTP id o0DGLW6A005865 for ; Wed, 13 Jan 2010 10:21:32 -0600 (CST) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <201001131621.o0DGLW6A005865@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org Date: Wed, 13 Jan 2010 10:21:32 -0600 From: Martin McCormick Subject: Trying to build 8.0 Headless Installation Disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Jan 2010 16:21:43 -0000 I started to use the same strategy that worked in 6.x but it is not working right now. I obtained8.0-RELEASE-i386-disc1.iso and did: mkdir 8.0serial tar xf 8.0-RELEASE-i386-disc1.iso This produced a read-write file system that appears sane in that it seems to be large enough, but not larger than a standard CDROM. The boot directory has loader.conf in it but there is no reference to any console. I added the following: mfsroot_load="YES" mfsroot_type="mfs_root" mfsroot_name="/boot/mfsroot" #add by martin console="comconsole,vidconsole" The CDROM burner is on a Linux system so I used tar to copy the 8.0serial file system over to the Linux system and then: mkisofs -l -R -q . |cdrecord -dev=/dev/hdc - This produces a CD that looks fine in that you can mount it, see all the files, etc. The CD does not boot and the system continues to boot as if there was no CD in the drive. I did burn an unmodified image to a CDROM and the system did hang, waiting for keyboard input so that ISO image does work but I need the serial console to come up on boot as we will be running it remotely. This has worked in the past when necessary, but it appears something changed between FreeBSD6.3 and 8.0 and I must be doing something wrong now. Has anybody gotten an 8.0 CD to come up on the serial console? One thing that has changed between 6.3 and 8.0 is that the tar application does not get confused. In 6.3, there were a couple of files that caused an "out of order" error but the 8.0 CD produced no errors at all. Thank you for your help. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 16:28:53 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21F55106566C for ; Wed, 13 Jan 2010 16:28:53 +0000 (UTC) (envelope-from ivanfrosty@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id A6DA18FC14 for ; Wed, 13 Jan 2010 16:28:52 +0000 (UTC) Received: by fxm27 with SMTP id 27so742090fxm.3 for ; Wed, 13 Jan 2010 08:28:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=8dhhffAlgzUezwMFG9YgO2Hq1vm1oPAOollD7xH8wlU=; b=w8XO4O+03xtGy0eRH6a5Ma3gZcy+HSpFhthKen3biJ9weCLncJueDbcDKosyiyjjmU A6JaWi9hC/MFwMsh/pSFqMxAENOFdXZF55nYbr29uAlfaQKor+gqIsj88Cij6C+rsJjC sbzvxAEC8ac5j4fdmQHu8Sq82AZklWkDRn1D4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=KXRhK3+UwYjb2wog3Q587RpuTIMnIVbN8ubVj6Nj7aRj+MmKcpoORVXYYp35kik7i6 ZrrGtso6R1Xh770tNTmYeQk54WqkiVwiNs5LwZ6gSgzNcFGb5pTNuJ70jIK7bsLmsDAq 8plYVfR/PjTNkmPxrA2vlaUT9PohOggxPIHgc= MIME-Version: 1.0 Received: by 10.239.162.209 with SMTP id m17mr1663818hbd.7.1263398688060; Wed, 13 Jan 2010 08:04:48 -0800 (PST) Date: Wed, 13 Jan 2010 19:04:47 +0300 Message-ID: <7fd638001001130804v6f63f80fy162e3887cf08be9c@mail.gmail.com> From: Ivan Frosty To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: is there pkg_libchk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Jan 2010 16:28:53 -0000 hello there, i was wondering if freebsd has pkg_libchk ? thanks for your time -- Frosty-456 From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 16:47:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12330106566B for ; Wed, 13 Jan 2010 16:47:33 +0000 (UTC) (envelope-from keneasson@zoho.com) Received: from sender1.zohomail.com (sender1.zohomail.com [72.5.230.95]) by mx1.freebsd.org (Postfix) with ESMTP id E98C18FC0C for ; Wed, 13 Jan 2010 16:47:32 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:cc:message-id:in-reply-to:references:subject:mime-version:content-type:user-agent; b=K661E1tovTMKN+Q0t0hZPE8s/UzfHXQo+vs12QLzED0xEiAz7l0qASSMwV3d5UL4QP4wvJ8qI/M0 BkPBTSXmV6ll4UCcZd5iYVWolA2POZEvgDFTuyKNYt90H8/Z3Q+2 Received: from 172.29.247.244 (172.29.247.244 [172.29.247.244]) by mx.zohomail.com with SMTP id 1263401250544606.8676237021965; Wed, 13 Jan 2010 08:47:30 -0800 (PST) Date: Wed, 13 Jan 2010 22:47:30 +0600 From: keneasson To: Message-ID: <12628952e06.4012679646855633769.-2531736078269227770@zoho.com> In-Reply-To: <20100113154428.GC1588@darklight.org.ru> References: <1262850af43.-7280701470377446179.-7911888706470357210@zoho.com> <20100113154428.GC1588@darklight.org.ru> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1263_292625477.1263401250310" X-Priority: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Status: RO X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: 'freebsd-questions' Subject: Re: mtree unable to find group wheel, possible corrupt /etc/group 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: Wed, 13 Jan 2010 16:47:33 -0000 ------=_Part_1263_292625477.1263401250310 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable ---- On Wed, 13 Jan 2010 21:44:28 +0600 Yuri Pankov <yuri.pankov@gmail.c= om> wrote ----=20 On Wed, Jan 13, 2010 at 09:32:41PM +0600, keneasson wrote:=20 > Hi all,=20 >=20 > I've got a number of ports that will build but not install.=20 >=20 > The error is:=20 >=20 > =3D=3D=3D&gt; Generating temporary packing list=20 > =3D=3D=3D&gt; Checking if deskutils/gucharmap already installed=20 > mtree: line 1: unknown group wheel---=20 =20 wheel---? Check your /etc/mtree/ files also for mergemaster's cruft.=20 =20 > *** Error code 1=20 >=20 >=20 > I discovered that i had patch code left over from mergemaster in my /e= tc/group file, i have deleted and rebooted.=20 > unfortunately, i still get the same error when i try to install ports.= =20 >=20 > the group file seems to have been readable to something, as i could su= do and su from my login user.=20 >=20 > any help greatly appreciated.=20 >=20 > # $FreeBSD: src/etc/group,v 1.35.10.1 2009/08/03 08:13:06 kensmith Exp= $=20 > #=20 > wheel:*:0:root,justken,www=20 > daemon:*:1:=20 > kmem:*:2:=20 > sys:*:3:=20 > tty:*:4:=20 > operator:*:5:root=20 > ...=20 > authpf:*:63:=20 > _pflogd:*:64:=20 > _dhcp:*:65:=20 >=20 > -ken=20 =20 =20 Yuri=20 Thank you, not sure where the fluff came from but the culprit was: /usr/local/etc/mtree/BSD.gnome.dist: which had group=3Dwheel--- /etc/group 1 mode=3D0755 seems i might have other cruft too: tar: +*: Not found in archive Thanks. ken. ------=_Part_1263_292625477.1263401250310-- From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 16:49:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B87681065670 for ; Wed, 13 Jan 2010 16:49:14 +0000 (UTC) (envelope-from frank.wissmann41@web.de) Received: from fmmailgate02.web.de (fmmailgate02.web.de [217.72.192.227]) by mx1.freebsd.org (Postfix) with ESMTP id 75FB78FC13 for ; Wed, 13 Jan 2010 16:49:14 +0000 (UTC) Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate02.web.de (Postfix) with ESMTP id A387514BDC237; Wed, 13 Jan 2010 17:49:12 +0100 (CET) Received: from [77.176.221.31] (helo=grissom.einundvierzig.org) by smtp08.web.de with asmtp (WEB.DE 4.110 #314) id 1NV6P9-0002at-00; Wed, 13 Jan 2010 17:49:12 +0100 Message-ID: <4B4DF9B5.1060602@web.de> Date: Wed, 13 Jan 2010 17:49:57 +0100 From: =?ISO-8859-1?Q?Frank_Wi=DFmann?= User-Agent: Thunderbird 2.0.0.23 (X11/20091214) MIME-Version: 1.0 To: Ivan Frosty References: <7fd638001001130804v6f63f80fy162e3887cf08be9c@mail.gmail.com> In-Reply-To: <7fd638001001130804v6f63f80fy162e3887cf08be9c@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: frank.wissmann41@web.de X-Sender: frank.wissmann41@web.de X-Provags-ID: V01U2FsdGVkX185OP+T0arZsRKF+2abGYmjH1FxYkKUKst9cTyA QZ9lPs2HdZo6kgjdS5rszUBpBzoEZSd5evkg6ol2riWuNBkmuC /TGZvPME70m+OWfZD+rA== Cc: freebsd-questions@freebsd.org Subject: Re: is there pkg_libchk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: frank.wissmann41@web.de List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jan 2010 16:49:14 -0000 Ivan Frosty schrieb: > hello there, i was wondering if freebsd has pkg_libchk ? > > thanks for your time > Yes, it has. It is located in /usr/ports/sysutils/bsdadminscripts. Greetings Frank -- GU d- s:+ a+ C+>$ UBS>$ P L- !E--- W N+@ !o K--? !w--- O !M- !V- PS+ PE Y? !PGP- t+ 5 X !R tv- b++ DI !D G e h+ r- y? When pack meets pack in the jungle and no one will move from the trail wait till the leaders have spoken it may be fair words shall prevail (Rudyard Kipling) From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 17:08:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BB571065672 for ; Wed, 13 Jan 2010 17:08:54 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 036068FC0A for ; Wed, 13 Jan 2010 17:08:53 +0000 (UTC) Received: by pxi12 with SMTP id 12so16250119pxi.3 for ; Wed, 13 Jan 2010 09:08:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=xFgdlQxkUb6YPQhYqhL+SmUATvIAvJYuyd6llMmy5PY=; b=MVGqQ9spuRbKsCG6a3tT18U8yLfQM/WsbDE1DDxBlXfbOFMRD9yZo4rVaqsk1TvRb1 /HzJW4vgZKsS6iAdro5Eqtwu+jahfUPbmle8RX2vyE/qHGEPNZZFhLj1eOQeF+fn4QSJ rYn+KFoMAmS11cxipXrIz+3Jd82H96i+XZD7M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=wegrsczyJMT3D6Q2EE30m4bKy+OvpIX293cTXZnpF0CfEMTPT0qKgp4HNn0/ztkfqH jpF8k2kpVOsmxxKkoMrspydT9JUyzAvIzd6cSs1uGEQYzbijBFOo5/nd0IEdBpFCJNat iGYeKKeDFRjMhNuC/pQB7isFOpGHsdbhbRiy0= MIME-Version: 1.0 Received: by 10.115.133.2 with SMTP id k2mr2898968wan.113.1263402531026; Wed, 13 Jan 2010 09:08:51 -0800 (PST) In-Reply-To: <201001131621.o0DGLW6A005865@dc.cis.okstate.edu> References: <201001131621.o0DGLW6A005865@dc.cis.okstate.edu> Date: Wed, 13 Jan 2010 10:08:50 -0700 Message-ID: From: Tim Judd To: Martin McCormick Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Trying to build 8.0 Headless Installation Disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Jan 2010 17:08:54 -0000 Replies inserted below On 1/13/10, Martin McCormick wrote: > I started to use the same strategy that worked in 6.x > but it is not working right now. > > I obtained8.0-RELEASE-i386-disc1.iso and did: > mkdir 8.0serial > tar xf 8.0-RELEASE-i386-disc1.iso > > This produced a read-write file system that appears sane > in that it seems to be large enough, but not larger than a > standard CDROM. > > The boot directory has loader.conf in it but there is no > reference to any console. > > I added the following: > > mfsroot_load="YES" > mfsroot_type="mfs_root" > mfsroot_name="/boot/mfsroot" > #add by martin > console="comconsole,vidconsole" > > The CDROM burner is on a Linux system so I used tar to > copy the 8.0serial file system over to the Linux system and then: > > mkisofs -l -R -q . |cdrecord -dev=/dev/hdc - ^^^ mkisofs needs to have the boot record -b boot/cdboot -no-emul-boot And as another option, you might look at mfsBSD, it runs off mfs (RAM) disks with sshd being enabled by default. Once it boots (kernel starts probing), the cd can be ejected. > > This produces a CD that looks fine in that you can mount > it, see all the files, etc. > > The CD does not boot and the system continues to boot as > if there was no CD in the drive. > > I did burn an unmodified image to a CDROM and the system > did hang, waiting for keyboard input so that ISO image does work > but I need the serial console to come up on boot as we will be > running it remotely. This has worked in the past when necessary, > but it appears something changed between FreeBSD6.3 and 8.0 and > I must be doing something wrong now. > > Has anybody gotten an 8.0 CD to come up on the serial > console? > > One thing that has changed between 6.3 and 8.0 is that > the tar application does not get confused. In 6.3, there were a > couple of files that caused an "out of order" error but the 8.0 > CD produced no errors at all. > > Thank you for your help. > > Martin McCormick WB5AGZ Stillwater, OK > Systems Engineer > OSU Information Technology Department Telecommunications Services Group --Tim From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 17:31:47 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23073106566B for ; Wed, 13 Jan 2010 17:31:47 +0000 (UTC) (envelope-from doug@polands.org) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.124]) by mx1.freebsd.org (Postfix) with ESMTP id D3A728FC19 for ; Wed, 13 Jan 2010 17:31:46 +0000 (UTC) X-Authority-Analysis: v=1.0 c=1 a=n1bSx-6ldjUA:10 a=tH3TCQxNhl/vWwTfLVWeHw==:17 a=tFhaULID24oPdkNXNgkA:9 a=y5t2unBEo7gTqwY3gNRhfR3mIAsA:4 X-Cloudmark-Score: 0 X-Originating-IP: 75.87.219.217 Received: from [75.87.219.217] ([75.87.219.217:54409] helo=haran.polands.org) by hrndva-oedge03.mail.rr.com (envelope-from ) (ecelerity 2.2.2.39 r()) with ESMTP id 0F/42-05182-1830E4B4; Wed, 13 Jan 2010 17:31:46 +0000 Received: from email.polands.org (ammon.polands.org [172.16.1.7]) by haran.polands.org (8.14.3/8.14.3) with ESMTP id o0DHVjmw087551 for ; Wed, 13 Jan 2010 11:31:45 -0600 (CST) (envelope-from doug@polands.org) Received: from 209.103.214.35 (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Wed, 13 Jan 2010 11:31:45 -0600 Message-ID: <8418112cdfada93d83ca0cb5307c1d21.squirrel@email.polands.org> Date: Wed, 13 Jan 2010 11:31:45 -0600 From: "Doug Poland" To: questions@freebsd.org User-Agent: SquirrelMail/1.4.20-RC2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: Subject: 8.0-R-p2 ZFS: unixbench causing kmem exhaustion panic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Jan 2010 17:31:47 -0000 Hello, I'm trying to get an 8.0-RELEASE-p2 amd64 box to not crash when running benchmarks/unixbench. The box in question has 4GB RAM running 6 SCSI disks in a RAID1Z. dmesg | grep memory real memory = 4294967296 (4096 MB) avail memory = 3961372672 (3777 MB) zpool status pool: bethesda state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM bethesda ONLINE 0 0 0 raidz1 ONLINE 0 0 0 gpt/disk0 ONLINE 0 0 0 gpt/disk1 ONLINE 0 0 0 gpt/disk2 ONLINE 0 0 0 gpt/disk3 ONLINE 0 0 0 gpt/disk4 ONLINE 0 0 0 gpt/disk5 ONLINE 0 0 0 It appears unixbench causes the mem exhaustion when running the fstime / fsbuffer / fsdisk programs, depending on what I've got in /boot/loader.conf I began with a system with no tunables in /boot/loader.conf (vm.kmem_size and vm.kmem_size_max). Then I tried increasing vm.kmem_size and vm.kmem_size_max a GB at a time, until I was at 4GB. At every increase, the system panicked with a kmem exhaustion, until I used the 4GB settings. At that time, the system system became unresponsive and had to be reset. So the question is, can ZFS be tuned to not panic or hang no matter what I throw at it? In this case, it's the ancient and innocuous unixbench utility. This is a test box right now and I'm more than willing to try various tests or tweaks to get 8.x FreeBSD/ZFS into a stable state. -- Regards, Doug From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 17:36:11 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2AD701065670 for ; Wed, 13 Jan 2010 17:36:11 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from smtp-int-m.obspm.fr (smtp-int-m.obspm.fr [145.238.187.15]) by mx1.freebsd.org (Postfix) with ESMTP id B9D588FC0C for ; Wed, 13 Jan 2010 17:36:10 +0000 (UTC) Received: from obspm.fr (pcjas.obspm.fr [145.238.184.233]) by smtp-int-m.obspm.fr (8.14.3/8.14.3/SIO Observatoire de Paris - 07/2009) with ESMTP id o0DHa6qx029228 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 13 Jan 2010 18:36:07 +0100 Date: Wed, 13 Jan 2010 18:36:06 +0100 From: Albert Shih To: freebsd-questions@freebsd.org Message-ID: <20100113173606.GA56773@obspm.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.20 (2009-06-14) X-Miltered: at smtp-int-m.obspm.fr with ID 4B4E0486.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 4B4E0486.000/145.238.184.233/pcjas.obspm.fr/obspm.fr/ X-j-chkmail-Score: MSGID : 4B4E0486.000 on smtp-int-m.obspm.fr : j-chkmail score : . : R=. U=. O=. B=0.012 -> S=0.012 X-j-chkmail-Status: Ham Subject: Problem with disk size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Jan 2010 17:36:11 -0000 Hi all I've some big problem with my new server Dell R710 + Perc raid + 6 disk of 600Go. When I install the server or using sysinstall (partition) I can see my all disk Disk name: mfid0 FDISK Partition Editor DISK Geometry: 364456 cyls/255 heads/63 sectors = 5854985640 sectors (2858879MB) but after I install the system and reboot I just can see half the size. I've try a new install by creating some new primary partition with 1Go size and put my / in this partition. But it's not working, by using fdisk I always see ******* Working on device /dev/mfid0 ******* parameters extracted from in-core disklabel are: cylinders=364456 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=364456 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 2088387 (1019 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 129/ head 254/ sector 63 The data for partition 2 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 2088450, size 1557929894 (760707 Meg), flag 80 (active) beg: cyl 130/ head 0/ sector 1; end: cyl 1023/ head 165/ sector 59 The data for partition 3 is: The data for partition 4 is: How can I have all my disk ? (~3To). Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Téléphone : 01 45 07 76 26/06 86 69 95 71 Heure local/Local time: Mer 13 jan 2010 18:30:13 CET From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 17:55:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C034106566B for ; Wed, 13 Jan 2010 17:55:54 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 579D88FC0C for ; Wed, 13 Jan 2010 17:55:54 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NV7RZ-0005Q5-MU for freebsd-questions@freebsd.org; Wed, 13 Jan 2010 18:55:45 +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 ; Wed, 13 Jan 2010 18:55:45 +0100 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Jan 2010 18:55:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Wed, 13 Jan 2010 18:55:22 +0100 Lines: 12 Message-ID: References: <8418112cdfada93d83ca0cb5307c1d21.squirrel@email.polands.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.23 (X11/20091210) In-Reply-To: <8418112cdfada93d83ca0cb5307c1d21.squirrel@email.polands.org> Sender: news Subject: Re: 8.0-R-p2 ZFS: unixbench causing kmem exhaustion panic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Jan 2010 17:55:54 -0000 Doug Poland wrote: > So the question is, can ZFS be tuned to not panic or hang no matter > what I throw at it? Apparently not. > I began with a system with no tunables in /boot/loader.conf > (vm.kmem_size and vm.kmem_size_max). Then I tried increasing > vm.kmem_size and vm.kmem_size_max a GB at a time, until I was at 4GB. Try adding vfs.zfs.arc_max=512M to /boot/loader.conf. From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 18:01:47 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50729106568F for ; Wed, 13 Jan 2010 18:01:47 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id ED5FA8FC08 for ; Wed, 13 Jan 2010 18:01:46 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id E879A1E0076C; Wed, 13 Jan 2010 19:01:45 +0100 (CET) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.3/8.14.3) with ESMTP id o0DHxuat014018; Wed, 13 Jan 2010 18:59:56 +0100 (CET) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.3/8.14.3/Submit) id o0DHxuCq014017; Wed, 13 Jan 2010 18:59:56 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Wed, 13 Jan 2010 18:59:56 +0100 To: Juergen Lock Message-ID: <20100113175956.GA13442@triton8.kn-bremen.de> References: <20100102002243.54ba6716@baby-jane.lamaiziere.net> <6201873e1001011536p51c47d0fh93d700c6d96fb126@mail.gmail.com> <201001081915.o08JFwnX034602@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201001081915.o08JFwnX034602@triton8.kn-bremen.de> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: patfbsd@davenulle.org, freebsd-questions@freebsd.org Subject: Re: Virtualbox and bridged interface. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jan 2010 18:01:47 -0000 On Fri, Jan 08, 2010 at 08:15:58PM +0100, Juergen Lock wrote: > In article <20100102005808.12d46e63@baby-jane.lamaiziere.net> you write: > >Le Fri, 1 Jan 2010 17:36:30 -0600, > >Adam Vande More a =E9crit : > > > >> > Is there someone able to make VirtualBox working with a bridged > >> > interface? > >> > > >> > I've got : > >> > My gateway/access point on 192.168.1.1/24 > >> > The host on 192.168.1.20/24 via wifi (wlan0) > >> > The guest on 192.168.1.25/24 bridged with wlan0 > >... > > > >> Bridged networking doesn't work on wireless interfaces. > > > >Ah ok :( > > > >I would be happy to know why, briefly. Is it a limitation in the > >wireless connection or a limitation in the operating system (FreeBSD)? > > > The problem is caused by the fact that hosts on wifi can usually only > use a single mac address, and while the vbox code does contain a > `shared mac' feature thats supposed to work around this problem this > feature hasn't been ported for FreeBSD hosts yet. > > >I've used some bridged guests on Mac OS X and vmware fusion but I don't > >remember if I used the ethernet or the wireless interface. > > > >To J.D.Bronson: no mac authentication here, thanks for the "shot in the > >dark" anyway. > > > >So I will try to setup a vpn between the host and the guest. > > There is another workaround tho that you can try involving a tap > interface, routing, proxy arp, and a patch to vbox to enable direct > tap networking, > http://people.freebsd.org/~nox/vbox/patch-tapdirect.txt > more details including a config example in this post: > http://lists.freebsd.org/pipermail/freebsd-emulation/2010-January/007260.html > (I patched vbox 3.1.2 thats not commtted to ports yet, it's possible > the patch doesn't apply to the older version in ports. The latest vbox > 3.1.2 Call for testing is here: > http://lists.freebsd.org/pipermail/freebsd-emulation/2010-January/007241.html > The patch can go in that port's files/ dir.) All committed to ports now, including the shared mac feature so bridged mode on wifi should now work in the new emulators/virtualbox-ose* ports: http://www.freshports.org/commit.php?message_id=201001130803.o0D83HFe012322@repoman.freebsd.org Please see http://wiki.freebsd.org/VirtualBox for update instructions. Enjoy, :) Juergen From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 18:12:11 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21CD9106566B for ; Wed, 13 Jan 2010 18:12:11 +0000 (UTC) (envelope-from doug@polands.org) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.122]) by mx1.freebsd.org (Postfix) with ESMTP id B8C138FC1C for ; Wed, 13 Jan 2010 18:12:10 +0000 (UTC) X-Authority-Analysis: v=1.0 c=1 a=sVhNVL3m-NYA:10 a=tH3TCQxNhl/vWwTfLVWeHw==:17 a=oJWsu3h6Atdd_GdWCOkA:9 a=AniD2FO5ljGg-amRKnTBBnMrYiMA:4 X-Cloudmark-Score: 0 X-Originating-IP: 75.87.219.217 Received: from [75.87.219.217] ([75.87.219.217:54753] helo=haran.polands.org) by hrndva-oedge03.mail.rr.com (envelope-from ) (ecelerity 2.2.2.39 r()) with ESMTP id E2/79-05182-9FC0E4B4; Wed, 13 Jan 2010 18:12:09 +0000 Received: from email.polands.org (ammon.polands.org [172.16.1.7]) by haran.polands.org (8.14.3/8.14.3) with ESMTP id o0DIC8fo087693; Wed, 13 Jan 2010 12:12:08 -0600 (CST) (envelope-from doug@polands.org) Received: from 209.103.214.35 (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Wed, 13 Jan 2010 12:12:09 -0600 Message-ID: In-Reply-To: References: <8418112cdfada93d83ca0cb5307c1d21.squirrel@email.polands.org> Date: Wed, 13 Jan 2010 12:12:09 -0600 From: "Doug Poland" To: "Ivan Voras" User-Agent: SquirrelMail/1.4.20-RC2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-questions@freebsd.org Subject: Re: 8.0-R-p2 ZFS: unixbench causing kmem exhaustion panic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Jan 2010 18:12:11 -0000 On Wed, January 13, 2010 11:55, Ivan Voras wrote: > Doug Poland wrote: > >> So the question is, can ZFS be tuned to not panic or hang no matter >> what I throw at it? > > Apparently not. > > > I began with a system with no tunables in /boot/loader.conf > > (vm.kmem_size and vm.kmem_size_max). Then I tried increasing > > vm.kmem_size and vm.kmem_size_max a GB at a time, until I was at > 4GB. > > Try adding vfs.zfs.arc_max=512M to /boot/loader.conf. > Would you suggest tweaking the vm.kmem_size tunables in addition to arc_max? -- Regards, Doug From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 18:35:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2EFD81065676 for ; Wed, 13 Jan 2010 18:35:34 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from mail-ew0-f211.google.com (mail-ew0-f211.google.com [209.85.219.211]) by mx1.freebsd.org (Postfix) with ESMTP id ACF898FC16 for ; Wed, 13 Jan 2010 18:35:33 +0000 (UTC) Received: by ewy3 with SMTP id 3so19945806ewy.13 for ; Wed, 13 Jan 2010 10:35:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type:content-transfer-encoding; bh=j7F7r+nYCEsURYL//weH31OQF+A4aFW1aMZxTe7mKcE=; b=PjhcSEcMQu7hN9HyBOKTKrK9BAafLocVnzNfs1cb04nIWYDN5jpO6FdUnCPYpAG50K eIoJXHZdz0mOyTdHgorZAXSOxoWnujIQCE8ezeGVDEE2pZ4KUUEv71P46Bol++op9aYj GH4bx6bbDFY+rjvQfWc8pK0jzR4RA/+eRLGIc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=Lp8Q+CpiJlW2quSpsVhnTQaQd95/YGnp25JN5vCzcHdr64QLxlh3RaaCsY8fLlP+on 8PCYYnyXTdzVJjyNSb03AxE6IJm4xT4buThCSgwR/W7zEMHNNwT61pIs/ITsBpTMLlHH lSY6Bxs1MvVADP1PP79O2tKYXRZ1HY8Cmz+Rc= MIME-Version: 1.0 Sender: ivoras@gmail.com Received: by 10.216.93.66 with SMTP id k44mr130444wef.67.1263407721446; Wed, 13 Jan 2010 10:35:21 -0800 (PST) In-Reply-To: References: <8418112cdfada93d83ca0cb5307c1d21.squirrel@email.polands.org> From: Ivan Voras Date: Wed, 13 Jan 2010 19:35:01 +0100 X-Google-Sender-Auth: 71363d7eb71f8fe8 Message-ID: <9bbcef731001131035x604cdea1t81b14589cb10ad25@mail.gmail.com> To: Doug Poland Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: 8.0-R-p2 ZFS: unixbench causing kmem exhaustion panic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Jan 2010 18:35:34 -0000 2010/1/13 Doug Poland : > > On Wed, January 13, 2010 11:55, Ivan Voras wrote: >> Doug Poland wrote: >> >>> So the question is, can ZFS be tuned to not panic or hang no matter >>> what I throw at it? >> >> Apparently not. >> >> =C2=A0> I began with a system with no tunables in /boot/loader.conf >> =C2=A0> (vm.kmem_size and vm.kmem_size_max). =C2=A0Then I tried increasi= ng >> =C2=A0> vm.kmem_size and vm.kmem_size_max a GB at a time, until I was at >> 4GB. >> >> Try adding vfs.zfs.arc_max=3D512M to /boot/loader.conf. >> > Would you suggest tweaking the vm.kmem_size tunables in addition to > arc_max? No, unless they auto-tune to something lesser than approximately arc_max*3. I try to set arc_max to be a third (or a quarter) the kmem_size, and tune kmem_size ad_hoc to suit the machine and its purpose. The reason for this is that "arc_max" is just a guideline, not a hard limit... the ZFS ARC usage can and will spike to much larger values, usually in the most inopportune moment. From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 18:56:36 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32AFF106568D; Wed, 13 Jan 2010 18:56:36 +0000 (UTC) (envelope-from davidn04@gmail.com) Received: from mail-qy0-f174.google.com (mail-qy0-f174.google.com [209.85.221.174]) by mx1.freebsd.org (Postfix) with ESMTP id CB0F18FC14; Wed, 13 Jan 2010 18:56:35 +0000 (UTC) Received: by qyk4 with SMTP id 4so10903726qyk.7 for ; Wed, 13 Jan 2010 10:56:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=pQvdJNEl8k6m5PKvuNktj/8PkG/DjCvIvhVPIodLcJM=; b=e9Ucx0e4XKqv+kRnjbDuwckiwSlxZKp2oh6voudJDj7iDUwWqshQZgEdixzEC4dT2s q4LGaasZ5ofhxfL5V8GGSHr4JSvNEobsp3XPRuA03YqzPmE35F5NnsZMmNo26Gg1aD3t Ay3djbF0+Avxn1Wzqh2BiicZkVnsqY7kdx9es= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=UAGDdhEu/Aj4w04TVLje/vkH10MJr0MeMiUFxXiaQK1hd4Ok2wf0NxGh982Mq170rR XyPpYdqiCaSCdKR98pmlKyAn0aYL/lp88nLXBgKrjRWEEHnYCnRC8TYFcmTalBaC+zV5 bfqDBsTkEbL72VUql2Prk6FWcpkWUB5axlzQQ= MIME-Version: 1.0 Received: by 10.229.41.74 with SMTP id n10mr3425590qce.13.1263408979850; Wed, 13 Jan 2010 10:56:19 -0800 (PST) In-Reply-To: <20100113.071904.971941791087055641.imp@bsdimp.com> References: <4d7dd86f1001130347k75ec7dcfhf6adf2a852210d89@mail.gmail.com> <20100113.071904.971941791087055641.imp@bsdimp.com> Date: Thu, 14 Jan 2010 05:56:19 +1100 Message-ID: <4d7dd86f1001131056l2f42eca5t15d36ad376b9e5f8@mail.gmail.com> From: David N To: "M. Warner Losh" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: embedded@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Nanobsd Memory Backed Disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Jan 2010 18:56:36 -0000 2010/1/14 M. Warner Losh : > In message: <4d7dd86f1001130347k75ec7dcfhf6adf2a852210d89@mail.gmail.com> > =A0 =A0 =A0 =A0 =A0 =A0David N writes: > : I've been poking around /etc/rc.diskless and other rc's. I can't seem > : to find what script loads the md. > : Its not in /etc/fstab > : > : Does anyone know where it is? > : Also how does nanobsd load the /etc into the md? newfs + cpio? > > The md driver is usually compiled into the kernel. /etc/rc.d/mdconfig > and /etc/rc.d/mdconfig2 configure the ram disks. =A0/etc/diskless is > created as part of the build process, and /etc/rc.initdiskless does > all the copying magic. > > Warner > Thanks, I found what I was looking for. /conf/base/etc /conf/base/var the diskless file to enable md and md_size which determines the md size. It loads the files from there instead of the actual /etc (before the /dev/md mount) Regards David N From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 19:21:59 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D03C106568B; Wed, 13 Jan 2010 19:21:59 +0000 (UTC) (envelope-from doug@polands.org) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.125]) by mx1.freebsd.org (Postfix) with ESMTP id 0DA578FC1F; Wed, 13 Jan 2010 19:21:58 +0000 (UTC) X-Authority-Analysis: v=1.0 c=1 a=sVhNVL3m-NYA:10 a=tH3TCQxNhl/vWwTfLVWeHw==:17 a=aFl7iEqPPjubU7q8rekA:9 a=2aYGC8fBjnS7EApR6NlDFkKi-HgA:4 a=cnpg3XxhHd7fwahd:21 a=DpkB9jtZByFGn99T:21 X-Cloudmark-Score: 0 X-Originating-IP: 75.87.219.217 Received: from [75.87.219.217] ([75.87.219.217:57005] helo=haran.polands.org) by hrndva-oedge04.mail.rr.com (envelope-from ) (ecelerity 2.2.2.39 r()) with ESMTP id D5/16-18377-55D1E4B4; Wed, 13 Jan 2010 19:21:58 +0000 Received: from email.polands.org (ammon.polands.org [172.16.1.7]) by haran.polands.org (8.14.3/8.14.3) with ESMTP id o0DJLqDp087952; Wed, 13 Jan 2010 13:21:52 -0600 (CST) (envelope-from doug@polands.org) Received: from 209.103.214.35 (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Wed, 13 Jan 2010 13:21:52 -0600 Message-ID: In-Reply-To: <9bbcef731001131035x604cdea1t81b14589cb10ad25@mail.gmail.com> References: <8418112cdfada93d83ca0cb5307c1d21.squirrel@email.polands.org> <9bbcef731001131035x604cdea1t81b14589cb10ad25@mail.gmail.com> Date: Wed, 13 Jan 2010 13:21:52 -0600 From: "Doug Poland" To: "Ivan Voras" User-Agent: SquirrelMail/1.4.20-RC2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: Doug Poland , freebsd-questions@freebsd.org Subject: Re: 8.0-R-p2 ZFS: unixbench causing kmem exhaustion panic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Jan 2010 19:21:59 -0000 On Wed, January 13, 2010 12:35, Ivan Voras wrote: >>> >>> Try adding vfs.zfs.arc_max=512M to /boot/loader.conf. >>> >> Would you suggest tweaking the vm.kmem_size tunables in addition to >> arc_max? > > No, unless they auto-tune to something lesser than approximately > arc_max*3. > > I try to set arc_max to be a third (or a quarter) the kmem_size, and > tune kmem_size ad_hoc to suit the machine and its purpose. > > The reason for this is that "arc_max" is just a guideline, not a hard > limit... the ZFS ARC usage can and will spike to much larger values, > usually in the most inopportune moment. > This is the state of the machine when it panicked this time: panic: kmem_malloc(131072): kmem_map too small: 1296957440 total allocated cpuid = 1 /boot/loader.conf: vfs.zfs.arc_max=512M vfs.numvnodes: 660 vfs.zfs.arc_max: 536870912 vfs.zfs.arc_meta_limit: 134217728 vfs.zfs.arc_meta_used: 7006136 vfs.zfs.arc_min: 67108864 vfs.zfs.zil_disable: 0 vm.kmem_size: 1327202304 vm.kmem_size_max: 329853485875 Using a handy little script I found posted in several places, I was monitoring memory: TEXT 15373968 14.66 MiB DATA 1536957440 1465.76 MiB TOTAL 1552331408 1480.42 MiB Where TEXT = a sum of kldstat memory values and DATA = a sum of vmstat -m values Is there a next step to try, or is this chasing a wild goose? -- Regards, Doug From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 19:58:16 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 057851065670 for ; Wed, 13 Jan 2010 19:58:16 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from mail-ew0-f211.google.com (mail-ew0-f211.google.com [209.85.219.211]) by mx1.freebsd.org (Postfix) with ESMTP id 8AC208FC18 for ; Wed, 13 Jan 2010 19:58:15 +0000 (UTC) Received: by ewy3 with SMTP id 3so10834ewy.13 for ; Wed, 13 Jan 2010 11:58:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type:content-transfer-encoding; bh=Ys9RrHvFR/IF3BvbVSSggLDPlvYH1lYZy1qa1GppuAo=; b=f1jHUcuA9lnJH/5wcJAiMAG8C5nmP5aG+qSsO16d8Vl1W8KQxLnuuP5Y4cV4c18QSe FXEhhPExCAaI6BxMOFmgz7QbBqbbdcVkxz7TqVlebw0JfJJo8uwhIq6E7kQx1dTssd3H qnFU45V2xb1S/8ijTFjBfAFwzMv9JGfp2ckUY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=k4LDY/2bvQx2Jbp7DbBe6XRhdhpgOiILIhx/7Bn9Q2WRv5Fum8K6+uIkRzUJ6+piKb VIMorgG7EmrhTLEG8I+WFa/qBhd8o7N5jVHKqTJwC5IvBuH4+wI2FlzcXSpDeXq/DbgQ pGjhmPjLhs4h1m/la12IMATK3f/Wj5DI8GC94= MIME-Version: 1.0 Sender: ivoras@gmail.com Received: by 10.216.88.143 with SMTP id a15mr2614578wef.206.1263412688471; Wed, 13 Jan 2010 11:58:08 -0800 (PST) In-Reply-To: References: <8418112cdfada93d83ca0cb5307c1d21.squirrel@email.polands.org> <9bbcef731001131035x604cdea1t81b14589cb10ad25@mail.gmail.com> From: Ivan Voras Date: Wed, 13 Jan 2010 20:57:46 +0100 X-Google-Sender-Auth: 45c2598874e7c3cb Message-ID: <9bbcef731001131157h256c4d14mbb241bc4326405f8@mail.gmail.com> To: Doug Poland Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: 8.0-R-p2 ZFS: unixbench causing kmem exhaustion panic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Jan 2010 19:58:16 -0000 2010/1/13 Doug Poland : > > On Wed, January 13, 2010 12:35, Ivan Voras wrote: >>>> >>>> Try adding vfs.zfs.arc_max=3D512M to /boot/loader.conf. >>>> >>> Would you suggest tweaking the vm.kmem_size tunables in addition to >>> arc_max? >> >> No, unless they auto-tune to something lesser than approximately >> arc_max*3. >> >> I try to set arc_max to be a third (or a quarter) the kmem_size, and >> tune kmem_size ad_hoc to suit the machine and its purpose. >> >> The reason for this is that "arc_max" is just a guideline, not a hard >> limit... the ZFS ARC usage can and will spike to much larger values, >> usually in the most inopportune moment. >> > This is the state of the machine when it panicked this time: > > panic: kmem_malloc(131072): kmem_map too small: 1296957440 total > allocated > cpuid =3D 1 > > /boot/loader.conf: vfs.zfs.arc_max=3D512M > vfs.numvnodes: 660 > vfs.zfs.arc_max: 536870912 > vfs.zfs.arc_meta_limit: 134217728 > vfs.zfs.arc_meta_used: 7006136 > vfs.zfs.arc_min: 67108864 > vfs.zfs.zil_disable: 0 > vm.kmem_size: 1327202304 > vm.kmem_size_max: 329853485875 (from the size of arc_max I assume you did remember to reboot after changing loader.conf and before testing again but just checking - did you?) Can you monitor and record kstat.zfs.misc.arcstats.size sysctl while the test is running (and crashing)? This looks curious - your kmem_max is ~~ 1.2 GB, arc_max is 0.5 GB and you are still having panics. Is there anything unusual about your system? Like unusually slow CPU, unusually fast or slow drives? I don't have any ideas smarter than reducing arc_max by half then try again and continue reducing it until it works. It would be very helpful if you could monitor the kstat.zfs.misc.arcstats.size sysctl while you are doing the tests to document what is happening to the system. If it by any chance stays the same you should probably monitor "vmstat -m". > Using a handy little script I found posted in several places, I was > monitoring memory: > > TEXT =C2=A0 =C2=A0 15373968 =C2=A0 =C2=A0 =C2=A0 14.66 =C2=A0 MiB > DATA =C2=A0 1536957440 =C2=A0 =C2=A0 =C2=A0 1465.76 MiB > TOTAL =C2=A01552331408 =C2=A0 =C2=A0 =C2=A0 1480.42 MiB > > Where TEXT =3D a sum of kldstat memory values > and =C2=A0 DATA =3D a sum of vmstat -m values > > Is there a next step to try, or is this chasing a wild goose? > > > -- > Regards, > Doug > > From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 20:26:43 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 418B3106566C; Wed, 13 Jan 2010 20:26:43 +0000 (UTC) (envelope-from doug@polands.org) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.122]) by mx1.freebsd.org (Postfix) with ESMTP id D51C28FC1B; Wed, 13 Jan 2010 20:26:42 +0000 (UTC) X-Authority-Analysis: v=1.0 c=1 a=sVhNVL3m-NYA:10 a=tH3TCQxNhl/vWwTfLVWeHw==:17 a=bqq2Vc5EAAAA:8 a=1h4evn_gICQKwsDCVZEA:9 a=u8VXOzhpAQL4BUjkZOCpdqEahSgA:4 a=5ERLOmoKdHQA:10 X-Cloudmark-Score: 0 X-Originating-IP: 75.87.219.217 Received: from [75.87.219.217] ([75.87.219.217:63113] helo=haran.polands.org) by hrndva-oedge04.mail.rr.com (envelope-from ) (ecelerity 2.2.2.39 r()) with ESMTP id 29/6E-18377-18C2E4B4; Wed, 13 Jan 2010 20:26:42 +0000 Received: from email.polands.org (ammon.polands.org [172.16.1.7]) by haran.polands.org (8.14.3/8.14.3) with ESMTP id o0DKQfgj088172; Wed, 13 Jan 2010 14:26:41 -0600 (CST) (envelope-from doug@polands.org) Received: from 209.103.214.35 (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Wed, 13 Jan 2010 14:26:41 -0600 Message-ID: <158692d18f40556dc57008f1661afd48.squirrel@email.polands.org> In-Reply-To: <9bbcef731001131157h256c4d14mbb241bc4326405f8@mail.gmail.com> References: <8418112cdfada93d83ca0cb5307c1d21.squirrel@email.polands.org> <9bbcef731001131035x604cdea1t81b14589cb10ad25@mail.gmail.com> <9bbcef731001131157h256c4d14mbb241bc4326405f8@mail.gmail.com> Date: Wed, 13 Jan 2010 14:26:41 -0600 From: "Doug Poland" To: "Ivan Voras" User-Agent: SquirrelMail/1.4.20-RC2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: questions@freebsd.org Subject: Re: 8.0-R-p2 ZFS: unixbench causing kmem exhaustion panic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Jan 2010 20:26:43 -0000 On Wed, January 13, 2010 13:57, Ivan Voras wrote: > 2010/1/13 Doug Poland : >> This is the state of the machine when it panicked this time: >> >> panic: kmem_malloc(131072): kmem_map too small: 1296957440 total >> allocated >> cpuid = 1 >> >> /boot/loader.conf: vfs.zfs.arc_max=512M >> vfs.numvnodes: 660 >> vfs.zfs.arc_max: 536870912 >> vfs.zfs.arc_meta_limit: 134217728 >> vfs.zfs.arc_meta_used: 7006136 >> vfs.zfs.arc_min: 67108864 >> vfs.zfs.zil_disable: 0 >> vm.kmem_size: 1327202304 >> vm.kmem_size_max: 329853485875 > > (from the size of arc_max I assume you did remember to reboot after > changing loader.conf and before testing again but just checking - did > you?) > Yes, I did reboot > Can you monitor and record kstat.zfs.misc.arcstats.size sysctl while > the test is running (and crashing)? > Certainly > This looks curious - your kmem_max is ~~ 1.2 GB, arc_max is 0.5 GB and > you are still having panics. Is there anything unusual about your > system? Like unusually slow CPU, unusually fast or slow drives? > Don't think there is anything unusual. This is 5 year old HP DL385. It has two 2.6GHz Opteron 252 CPUs. The disks are 6x36GB P-SCSI. There are behind an HP Smart Array 6i controller. I had to configure each drive as "RAID0" in order make it visible to the OS. Kinda hokey if you ask me. dmesg | grep -i CPU CPU: AMD Opteron(tm) Processor 252 (2605.92-MHz K8-class CPU) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs smartctl -a /dev/da0 Device: COMPAQ RAID 0 VOLUME Version: OK Device type: disk Local Time is: Wed Jan 13 14:21:44 2010 CST Device does not support SMART dmesg | grep -i smart ciss0: port 0x5000-0x50ff mem 0xf7ef0000-0xf7ef1fff,0xf7e80000-0xf7ebffff irq 24 at device 4.0 on pci2 > I don't have any ideas smarter than reducing arc_max by half then try > again and continue reducing it until it works. It would be very > helpful if you could monitor the kstat.zfs.misc.arcstats.size sysctl > while you are doing the tests to document what is happening to the > system. If it by any chance stays the same you should probably monitor > "vmstat -m". > OK, will do monitor on the next run. Thanks for your help so far. -- Regards, Doug From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 20:44:06 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D0E9106566B for ; Wed, 13 Jan 2010 20:44:06 +0000 (UTC) (envelope-from jeronimocalvop@googlemail.com) Received: from mail-ew0-f211.google.com (mail-ew0-f211.google.com [209.85.219.211]) by mx1.freebsd.org (Postfix) with ESMTP id BB6288FC0A for ; Wed, 13 Jan 2010 20:44:05 +0000 (UTC) Received: by ewy3 with SMTP id 3so59352ewy.13 for ; Wed, 13 Jan 2010 12:43:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=AUGnq1Y9K0x9GUBKAXbrUBII2wKY9LUFxM0VdM1dhp0=; b=Xj7wdcXTzJc0OlDqbZ5125jTMd/ZOq9IPb3tYFxD+L5RpxZmAI1QJYrso2BaDjCUKP WviqpBhxzyasUUrBJ2ru65LRiqJ6I+bys1ZQdI5nwIkP42j7aaLAVzky5KFRGfirp3oV leg+Ixt7OsD5PnYi22QkS08oN/p5hX/3eM3f4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=gioYSFWsgo1zzsbgury0uYHPf2k3weE8j+y2L9tTVfTHl+sawmL6qUJmNMcoWnll1i HGPZmyRS1JWawG0iOLIoZL/O9Pj2RC+YpkPro3H1e5G/P1/b8vuMFDFkxnomr6L51A0S l/wcsKIPxj9pZ/C+LCcDhDSzHsAln317IysJI= MIME-Version: 1.0 Received: by 10.216.86.66 with SMTP id v44mr2489128wee.163.1263415438737; Wed, 13 Jan 2010 12:43:58 -0800 (PST) Date: Wed, 13 Jan 2010 20:43:58 +0000 Message-ID: From: Jeronimo Calvo To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Subject: Crontab not working logwatch.pl [FreeBSD 8 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: Wed, 13 Jan 2010 20:44:06 -0000 Hi folks, Im having probs when a root crontab located on /var/cron/tabs/root with this content # DO NOT EDIT THIS FILE - edit the master and reinstall. # (/tmp/crontab.DUtgfVoBT0 installed on Wed Jan 13 20:08:29 2010) # (Cron version -- $FreeBSD: src/usr.sbin/cron/crontab/crontab.c,v 1.31.2.1 2009/08/03 08:13:06 kensmith Exp $) * * * * * ~/.profile ; /bin/bash /var/log/auto_auth.sh * * * * * ~/.profile ; /usr/bin/perl /local/sbin/logwatch.pl both of them are sending logs to my email, when runned from the command line works, but not from crontab any ideas? -- () ASCII Ribbon Campaign | Against HTML e-mail /\ www.asciiribbon.org | Against proprietary extensions From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 20:52:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54D3E1065692 for ; Wed, 13 Jan 2010 20:52:48 +0000 (UTC) (envelope-from listreader@lazlarlyricon.com) Received: from proxy2.bredband.net (proxy2.bredband.net [195.54.101.72]) by mx1.freebsd.org (Postfix) with ESMTP id 0F50E8FC1C for ; Wed, 13 Jan 2010 20:52:47 +0000 (UTC) Received: from ipb2.telenor.se (195.54.127.165) by proxy2.bredband.net (7.3.140.3) id 4AD3E1BC025AB64F for freebsd-questions@freebsd.org; Wed, 13 Jan 2010 21:52:46 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqVDALfBTUtV44PPPGdsb2JhbACBRYZvkzgBAQEBN7tChDAE X-IronPort-AV: E=Sophos;i="4.49,270,1262559600"; d="scan'208";a="26396890" Received: from c-cf83e355.09-42-6e6b7010.cust.bredbandsbolaget.se (HELO lazlar.kicks-ass.net) ([85.227.131.207]) by ipb2.telenor.se with ESMTP; 13 Jan 2010 21:52:46 +0100 Message-ID: <4B4E329D.4090806@lazlarlyricon.com> Date: Wed, 13 Jan 2010 21:52:45 +0100 From: Rolf Nielsen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.5) Gecko/20091227 Thunderbird/3.0 MIME-Version: 1.0 To: Jeronimo Calvo References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: Crontab not working logwatch.pl [FreeBSD 8 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: Wed, 13 Jan 2010 20:52:48 -0000 On 2010-01-13 21:43, Jeronimo Calvo wrote: > Hi folks, > > Im having probs when a root crontab located on /var/cron/tabs/root > > with this content > # DO NOT EDIT THIS FILE - edit the master and reinstall. > # (/tmp/crontab.DUtgfVoBT0 installed on Wed Jan 13 20:08:29 2010) > # (Cron version -- $FreeBSD: src/usr.sbin/cron/crontab/crontab.c,v > 1.31.2.1 2009/08/03 08:13:06 kensmith Exp $) > * * * * * ~/.profile ; /bin/bash /var/log/auto_auth.sh > * * * * * ~/.profile ; /usr/bin/perl /local/sbin/logwatch.pl > > both of them are sending logs to my email, when runned from the > command line works, but not from crontab > any ideas? > The keywords here are # DO NOT EDIT THIS FILE - edit the master and reinstall. Either edit the system crontab, /etc/crontab, or, to edit root's crontab, run crontab -e as root. From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 21:04:17 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11EFF10656C0 for ; Wed, 13 Jan 2010 21:04:17 +0000 (UTC) (envelope-from jeronimocalvop@googlemail.com) Received: from mail-ew0-f211.google.com (mail-ew0-f211.google.com [209.85.219.211]) by mx1.freebsd.org (Postfix) with ESMTP id 94D988FC0C for ; Wed, 13 Jan 2010 21:04:16 +0000 (UTC) Received: by ewy3 with SMTP id 3so80634ewy.13 for ; Wed, 13 Jan 2010 13:04:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=C92QQW6P8kZQcwgaVamxFPLuinFmC446bDVGMrkOAGI=; b=rSwhmvIwlpYT7v/cZasGvfrXVS0JOJST23Qznl83P/tqLxo7dkNXlCPSfvRShKbJFt Fij/Cjo0yRlQlxtqP7obB47TkjYT9sdEzd4xV2sMsuRJUrkt3jDIryz5xmqmPtXqm1PL FFuQDqdjoRmVji7tRpF7v22STl6MGVM9+KTIQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=l1W3XOlNb1cAgMr7WS12KghKqZPYaIckA3jVxVTbo921t3jniNmE+2yh/s35SPQcmQ b2d5DHD5UUC+8jqLV2RyyAIwHL5okuVywGDqdq4ecj3ScM6/YK6mAf7PV0lcS0LjCe8G 9haOP0ONWZLO2AWPjl7LnZg1Nf6hFXf2HWBjw= MIME-Version: 1.0 Received: by 10.216.86.142 with SMTP id w14mr3119489wee.74.1263416649404; Wed, 13 Jan 2010 13:04:09 -0800 (PST) In-Reply-To: <4B4E329D.4090806@lazlarlyricon.com> References: <4B4E329D.4090806@lazlarlyricon.com> Date: Wed, 13 Jan 2010 21:04:09 +0000 Message-ID: From: Jeronimo Calvo To: Rolf Nielsen Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Questions Subject: Re: Crontab not working logwatch.pl [FreeBSD 8 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: Wed, 13 Jan 2010 21:04:17 -0000 did a crontab -r, a a new crontab -e, using: * * * * * $HOME/.profile ; /bin/bash /var/log/auto_auth.sh * * * * * $HOME/.profile ; /usr/bin/perl /local/sbin/logwatch.pl tailing the /var/log/cron I can see that is being executed every minute... but no emails arrived with is the proof that the script has worked. 2010/1/13 Rolf Nielsen : > On 2010-01-13 21:43, Jeronimo Calvo wrote: >> >> Hi folks, >> >> Im having probs when a root crontab located on /var/cron/tabs/root >> >> with this content >> # DO NOT EDIT THIS FILE - edit the master and reinstall. >> # (/tmp/crontab.DUtgfVoBT0 installed on Wed Jan 13 20:08:29 2010) >> # (Cron version -- $FreeBSD: src/usr.sbin/cron/crontab/crontab.c,v >> 1.31.2.1 2009/08/03 08:13:06 kensmith Exp $) >> * * * * * ~/.profile ; /bin/bash /var/log/auto_auth.sh >> * * * * * ~/.profile ; /usr/bin/perl /local/sbin/logwatch.pl >> >> both of them are sending logs to my email, when runned from the >> command line works, but not from crontab >> any ideas? >> > > The keywords here are > # DO NOT EDIT THIS FILE - edit the master and reinstall. > > Either edit the system crontab, /etc/crontab, or, to edit root's crontab, > run crontab -e as root. > -- () ASCII Ribbon Campaign | Against HTML e-mail /\ www.asciiribbon.org | Against proprietary extensions From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 21:13:31 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7169F106568B for ; Wed, 13 Jan 2010 21:13:31 +0000 (UTC) (envelope-from listreader@lazlarlyricon.com) Received: from proxy2.bredband.net (proxy2.bredband.net [195.54.101.72]) by mx1.freebsd.org (Postfix) with ESMTP id 2A0988FC1E for ; Wed, 13 Jan 2010 21:13:30 +0000 (UTC) Received: from ipb2.telenor.se (195.54.127.165) by proxy2.bredband.net (7.3.140.3) id 4AD3E1BC025AD00C for freebsd-questions@freebsd.org; Wed, 13 Jan 2010 22:13:29 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqVDAGbGTUtV44PPPGdsb2JhbACBRYZvkzgBAQEBN7s0hDAE X-IronPort-AV: E=Sophos;i="4.49,270,1262559600"; d="scan'208";a="26401379" Received: from c-cf83e355.09-42-6e6b7010.cust.bredbandsbolaget.se (HELO lazlar.kicks-ass.net) ([85.227.131.207]) by ipb2.telenor.se with ESMTP; 13 Jan 2010 22:13:29 +0100 Message-ID: <4B4E3778.1080609@lazlarlyricon.com> Date: Wed, 13 Jan 2010 22:13:28 +0100 From: Rolf Nielsen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.5) Gecko/20091227 Thunderbird/3.0 MIME-Version: 1.0 To: Jeronimo Calvo References: <4B4E329D.4090806@lazlarlyricon.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: Crontab not working logwatch.pl [FreeBSD 8 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: Wed, 13 Jan 2010 21:13:31 -0000 On 2010-01-13 22:04, Jeronimo Calvo wrote: > did a crontab -r, a a new crontab -e, using: > > * * * * * $HOME/.profile ; /bin/bash /var/log/auto_auth.sh > * * * * * $HOME/.profile ; /usr/bin/perl /local/sbin/logwatch.pl > > tailing the /var/log/cron I can see that is being executed every > minute... but no emails arrived with is the proof that the script has > worked. > > > > 2010/1/13 Rolf Nielsen: >> On 2010-01-13 21:43, Jeronimo Calvo wrote: >>> >>> Hi folks, >>> >>> Im having probs when a root crontab located on /var/cron/tabs/root >>> >>> with this content >>> # DO NOT EDIT THIS FILE - edit the master and reinstall. >>> # (/tmp/crontab.DUtgfVoBT0 installed on Wed Jan 13 20:08:29 2010) >>> # (Cron version -- $FreeBSD: src/usr.sbin/cron/crontab/crontab.c,v >>> 1.31.2.1 2009/08/03 08:13:06 kensmith Exp $) >>> * * * * * ~/.profile ; /bin/bash /var/log/auto_auth.sh >>> * * * * * ~/.profile ; /usr/bin/perl /local/sbin/logwatch.pl >>> >>> both of them are sending logs to my email, when runned from the >>> command line works, but not from crontab >>> any ideas? >>> >> >> The keywords here are >> # DO NOT EDIT THIS FILE - edit the master and reinstall. >> >> Either edit the system crontab, /etc/crontab, or, to edit root's crontab, >> run crontab -e as root. >> > > > Please don't top post. Firstly, don't rely on environment variables being set correctly when running from cron. If you really want to use root's crontab, substitute /root for $HOME. Secondly, bash should be in /usr/local/bin, not in /bin. And it's a third party shell not included by the system. It has to be installed from ports. You should use /bin/sh instead. Thirdly, instead of putting the interpreter path on the command line, put it on the first line of your scripts, i.e. #!/bin/sh in the first one and #!/usr/bin/perl in the second one. From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 21:39:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9B82106566C; Wed, 13 Jan 2010 21:39:18 +0000 (UTC) (envelope-from doug@polands.org) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.122]) by mx1.freebsd.org (Postfix) with ESMTP id 687CE8FC17; Wed, 13 Jan 2010 21:39:18 +0000 (UTC) X-Authority-Analysis: v=1.0 c=1 a=sVhNVL3m-NYA:10 a=tH3TCQxNhl/vWwTfLVWeHw==:17 a=bqq2Vc5EAAAA:8 a=9G5cZbBhCoHlf84lHYQA:9 a=6simL32w41UMB-q6hA-ce_G0r0sA:4 a=5ERLOmoKdHQA:10 X-Cloudmark-Score: 0 X-Originating-IP: 75.87.219.217 Received: from [75.87.219.217] ([75.87.219.217:64009] helo=haran.polands.org) by hrndva-oedge04.mail.rr.com (envelope-from ) (ecelerity 2.2.2.39 r()) with ESMTP id 5D/82-18377-58D3E4B4; Wed, 13 Jan 2010 21:39:17 +0000 Received: from email.polands.org (ammon.polands.org [172.16.1.7]) by haran.polands.org (8.14.3/8.14.3) with ESMTP id o0DLdGSD088404; Wed, 13 Jan 2010 15:39:16 -0600 (CST) (envelope-from doug@polands.org) Received: from 209.103.214.35 (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Wed, 13 Jan 2010 15:39:16 -0600 Message-ID: <3aa09fd8723749d1fa65f1b9a6faac60.squirrel@email.polands.org> In-Reply-To: <9bbcef731001131157h256c4d14mbb241bc4326405f8@mail.gmail.com> References: <8418112cdfada93d83ca0cb5307c1d21.squirrel@email.polands.org> <9bbcef731001131035x604cdea1t81b14589cb10ad25@mail.gmail.com> <9bbcef731001131157h256c4d14mbb241bc4326405f8@mail.gmail.com> Date: Wed, 13 Jan 2010 15:39:16 -0600 From: "Doug Poland" To: "Ivan Voras" User-Agent: SquirrelMail/1.4.20-RC2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-questions@freebsd.org Subject: Re: 8.0-R-p2 ZFS: unixbench causing kmem exhaustion panic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Jan 2010 21:39:19 -0000 On Wed, January 13, 2010 13:57, Ivan Voras wrote: > 2010/1/13 Doug Poland : >> > > Can you monitor and record kstat.zfs.misc.arcstats.size sysctl while > the test is running (and crashing)? > > This looks curious - your kmem_max is ~~ 1.2 GB, arc_max is 0.5 GB and > you are still having panics. Is there anything unusual about your > system? Like unusually slow CPU, unusually fast or slow drives? > > I don't have any ideas smarter than reducing arc_max by half then try > again and continue reducing it until it works. It would be very > helpful if you could monitor the kstat.zfs.misc.arcstats.size sysctl > while you are doing the tests to document what is happening to the > system. If it by any chance stays the same you should probably monitor > "vmstat -m". > > Ok, I re-ran with same config, but this time monitoring the sysctls you requested* ( and the rest I was watching ): panic: kmem_malloc(131072): kmem_map too small: 1292869632 total allocated cpuid = 0 * kstat.zfs.misc.arcstats.size: 166228176 vfs.numvnodes: 2848 vfs.zfs.arc_max: 536870912 vfs.zfs.arc_meta_limit: 134217728 vfs.zfs.arc_meta_used: 132890832 vfs.zfs.arc_min: 67108864 vfs.zfs.cache_flush_disable: 0 vfs.zfs.debug: 0 vfs.zfs.mdcomp_disable: 0 vfs.zfs.prefetch_disable: 1 vfs.zfs.recover: 0 vfs.zfs.scrub_limit: 10 vfs.zfs.super_owner: 0 vfs.zfs.txg.synctime: 5 vfs.zfs.txg.timeout: 30 vfs.zfs.vdev.aggregation_limit: 131072 vfs.zfs.vdev.cache.bshift: 16 vfs.zfs.vdev.cache.max: 16384 vfs.zfs.vdev.cache.size: 10485760 vfs.zfs.vdev.max_pending: 35 vfs.zfs.vdev.min_pending: 4 vfs.zfs.vdev.ramp_rate: 2 vfs.zfs.vdev.time_shift: 6 vfs.zfs.version.acl: 1 vfs.zfs.version.dmu_backup_header: 2 vfs.zfs.version.dmu_backup_stream: 1 vfs.zfs.version.spa: 13 vfs.zfs.version.vdev_boot: 1 vfs.zfs.version.zpl: 3 vfs.zfs.zfetch.array_rd_sz: 1048576 vfs.zfs.zfetch.block_cap: 256 vfs.zfs.zfetch.max_streams: 8 vfs.zfs.zfetch.min_sec_reap: 2 vfs.zfs.zil_disable: 0 vm.kmem_size: 1327202304 vm.kmem_size_max: 329853485875 vm.kmem_size_min: 0 vm.kmem_size_scale: 3 * vmstat -m | grep solaris: 1496232960 -- Regards, Doug From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 21:42:35 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A497106566B for ; Wed, 13 Jan 2010 21:42:35 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.103.93]) by mx1.freebsd.org (Postfix) with ESMTP id D4E6D8FC19 for ; Wed, 13 Jan 2010 21:42:34 +0000 (UTC) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.14.2/8.13.8) with ESMTP id o0DLgDCJ077793 for ; Wed, 13 Jan 2010 15:42:18 -0600 (CST) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <201001132142.o0DLgDCJ077793@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org Date: Wed, 13 Jan 2010 15:42:13 -0600 From: Martin McCormick Subject: Re: Trying to build 8.0 Headless Installation Disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Jan 2010 21:42:35 -0000 Tim Judd writes: > ^^^ mkisofs needs to have the boot record > -b boot/cdboot -no-emul-boot > > > And as another option, you might look at mfsBSD, it runs off mfs (RAM) > disks with sshd being enabled by default. Once it boots (kernel > starts probing), the cd can be ejected. This could be a game changer if I could somehow get the FreeBSD8.0 installation CD to run remotely via this method. The problem is that some of the systems that I am upgrading are 150 miles away. We have people there who are not comfortable with Unix but who are certainly able to install and remove CDROM's on request. If I could get the sysinstall application to talk to me over the network, I don't care if it is a serial line or not. If we could get this down to 1 or two CD's, a major millstone will be removed from my neck. As a computer user who happens to be blind, the serial console is extremely useful and I usually make whatever version of FreeBSD we are using in to a serial console disk so it comes up serial, even if it is right next to me. It just makes things go more smoothly if one doesn't have to hunt up a keyboard and hope this or that box still has a sounder so you can hear any beeps. I have even put a portable radio on top of a server and listened for activity because that was the only way to tell if it was booting or in Lala Land. Just for the record, a steady sound usually means Lala Land and a sound like whales competing FOR territory and female attention means something is happening. Anyway, not needing to modify the installation disk, itself would be nice. In closing, I love FreeBSD and nothing said here is a gripe or complaint. FreeBSD is Unix and therefore accessible. Utilities like installation disks and rescue applications are always a little tricky because they deal with the system at a very low level. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 21:44:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DCE6106568D; Wed, 13 Jan 2010 21:44:02 +0000 (UTC) (envelope-from doug@polands.org) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.122]) by mx1.freebsd.org (Postfix) with ESMTP id 1CE7E8FC0C; Wed, 13 Jan 2010 21:44:01 +0000 (UTC) X-Authority-Analysis: v=1.0 c=1 a=sVhNVL3m-NYA:10 a=tH3TCQxNhl/vWwTfLVWeHw==:17 a=xPwg0NNqrigGrmLkESAA:9 a=_Hw0RHqR42tQxxi2NsW8ZHMNwDoA:4 X-Cloudmark-Score: 0 X-Originating-IP: 75.87.219.217 Received: from [75.87.219.217] ([75.87.219.217:52830] helo=haran.polands.org) by hrndva-oedge04.mail.rr.com (envelope-from ) (ecelerity 2.2.2.39 r()) with ESMTP id 7B/39-18377-1AE3E4B4; Wed, 13 Jan 2010 21:44:01 +0000 Received: from email.polands.org (ammon.polands.org [172.16.1.7]) by haran.polands.org (8.14.3/8.14.3) with ESMTP id o0DLi0Du088430; Wed, 13 Jan 2010 15:44:00 -0600 (CST) (envelope-from doug@polands.org) Received: from 209.103.214.35 (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Wed, 13 Jan 2010 15:44:00 -0600 Message-ID: In-Reply-To: <3aa09fd8723749d1fa65f1b9a6faac60.squirrel@email.polands.org> References: <8418112cdfada93d83ca0cb5307c1d21.squirrel@email.polands.org> <9bbcef731001131035x604cdea1t81b14589cb10ad25@mail.gmail.com> <9bbcef731001131157h256c4d14mbb241bc4326405f8@mail.gmail.com> <3aa09fd8723749d1fa65f1b9a6faac60.squirrel@email.polands.org> Date: Wed, 13 Jan 2010 15:44:00 -0600 From: "Doug Poland" To: "Ivan Voras" User-Agent: SquirrelMail/1.4.20-RC2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-questions@freebsd.org Subject: Re: 8.0-R-p2 ZFS: unixbench causing kmem exhaustion panic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Jan 2010 21:44:02 -0000 >> >> > Ok, I re-ran with same config, but this time monitoring the sysctls > you requested* ( and the rest I was watching ): > I failed to mention that kstat.zfs.misc.arcstats.size seemed to fluctuate between about 164,000,00 and 180,000,000 bytes during this last run -- Regards, Doug From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 21:52:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79874106566C for ; Wed, 13 Jan 2010 21:52:48 +0000 (UTC) (envelope-from sbremal@hotmail.com) Received: from snt0-omc4-s27.snt0.hotmail.com (snt0-omc4-s27.snt0.hotmail.com [65.55.90.230]) by mx1.freebsd.org (Postfix) with ESMTP id 4E08F8FC16 for ; Wed, 13 Jan 2010 21:52:48 +0000 (UTC) Received: from SNT127-W52 ([65.55.90.199]) by snt0-omc4-s27.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 13 Jan 2010 13:52:16 -0800 Message-ID: X-Originating-IP: [85.181.159.158] From: CC: Date: Wed, 13 Jan 2010 21:52:16 +0000 Importance: Normal In-Reply-To: References: , Content-Type: text/plain; charset="windows-1256" Content-Transfer-Encoding: 8bit MIME-Version: 1.0 X-OriginalArrivalTime: 13 Jan 2010 21:52:16.0756 (UTC) FILETIME=[AC268340:01CA949A] Subject: RE: NFS exporting mounted msdosfs subdir X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Jan 2010 21:52:48 -0000 Hello, A mounted msdosfs (USD flash drive) path is exported from FreeBSD. The client (Windows with SFU 3.5) maps the remote NFS path successfully to a local drive (net use ...). However, when the drive is opened (dir ...), the client gets into an endless loop. What I have discovered on FreeBSD is: --- 22:47:45.183215 IP 10.0.0.2.nfs> 10.0.0.4.1973235243: reply ok 116 readdirplus ERROR: Operation not supported 22:47:45.184593 IP 10.0.0.4.1973235244> 10.0.0.2.nfs: 116 readdir [|nfs] 22:47:45.184707 IP 10.0.0.2.nfs> 10.0.0.4.1973235244: reply ok 608 readdir 22:47:45.186389 IP 10.0.0.4.1973235245> 10.0.0.2.nfs: 120 readdirplus [|nfs] 22:47:45.186499 IP 10.0.0.2.nfs> 10.0.0.4.1973235245: reply ok 116 readdirplus ERROR: Operation not supported 22:47:45.187898 IP 10.0.0.4.1973235246> 10.0.0.2.nfs: 116 readdir [|nfs] 22:47:45.188011 IP 10.0.0.2.nfs> 10.0.0.4.1973235246: reply ok 608 readdir 22:47:45.189828 IP 10.0.0.4.1973235247> 10.0.0.2.nfs: 120 readdirplus [|nfs] 22:47:45.189933 IP 10.0.0.2.nfs> 10.0.0.4.1973235247: reply ok 116 readdirplus ERROR: Operation not supported 22:47:45.191358 IP 10.0.0.4.1973235248> 10.0.0.2.nfs: 116 readdir [|nfs] --- With no end... Anyone has got an idea how this can be resolved? Thanks. Cheers, Balazs > Date: Sun, 10 Jan 2010 04:50:18 -0700 > From: fbsdq@peterk.org > To: sbremal@hotmail.com > CC: freebsd-questions@freebsd.org > Subject: Re: NFS exporting mounted msdosfs subdir > >> >> Hello, >> >> There is an issue with my exported home folder. It has a subdirectory >> under which an msdosfs pen drive is mounted. The home folder gets exported >> nicely however the msdos subdirectory is not! >> >> Any idea how this could be solved? >> >> Some useful extracts: >> >> --- >> >> babapc# more /etc/fstab >> # Device Mountpoint FStype >> Options Dump Pass# >> /dev/ad4s1b none swap >> sw 0 0 >> /dev/ad4s1a / ufs >> rw 1 1 >> /dev/ad4s1e /tmp ufs >> rw 2 2 >> /dev/ad4s1f /usr ufs >> rw 2 2 >> /dev/ad4s1d /var ufs >> rw 2 2 >> /dev/acd0 /cdrom cd9660 >> ro,noauto 0 0 >> /dev/da0s1 /usr/home/sbremal/usb_flash_drive msdosfs >> rw,noauto 0 0 >> >> babapc# more /etc/exports >> #The following examples export /usr to 3 machines named after ducks, >> #/usr/src and /usr/obj read-only to machines named after trouble makers, >> #/home and all directories under it to machines named after dead rock >> stars >> #and, /a to a network of privileged machines allowed to write on it as >> root. >> #/usr huey louie dewie >> #/usr/src /usr/obj -ro calvin hobbes >> #/home -alldirs janice jimmy frank >> #/a -maproot=0 -network 10.0.1.0 -mask 255.255.248.0 >> # >> # You should replace these lines with your actual exported filesystems. >> # Note that BSD's export syntax is 'host-centric' vs. Sun's 'FS-centric' >> one. >> /usr/home/sbremal >> >> babapc# mount >> /dev/ad4s1a on / (ufs, local) >> devfs on /dev (devfs, local) >> /dev/ad4s1e on /tmp (ufs, local, soft-updates) >> /dev/ad4s1f on /usr (ufs, NFS exported, local, soft-updates) >> /dev/ad4s1d on /var (ufs, local, soft-updates) >> /dev/da0s1 on /usr/home/sbremal/usb_flash_drive (msdosfs, local) >> 10.0.0.2:/usr/home/sbremal on /root/x (nfs) >> >> babapc# ls /root/x/usb_flash_drive/ >> >> -> Nothing!!! >> >> babapc# ls /usr/home/sbremal/usb_flash_drive/ >> @Nokia Images >> Backup >> >> --- >> >> Any help would be much appreciated. >> >> (Would "freebsd-fs" be more appropriate to ask the question on?) >> >> Cheers, >> Balazs > > You will need to export '/usr/home/sbremal/usb_flash_drive' also since it > is another filesystem, not just a subdirectory. > [reason you can see the subdirectory, but not the actual FS mounted in > there] > > ]Peter[ > > _______________________________________________ > 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" _________________________________________________________________ Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail you. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010 From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 22:01:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59AC31065676 for ; Wed, 13 Jan 2010 22:01:55 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from smtp-int-m.obspm.fr (smtp-int-m.obspm.fr [145.238.187.15]) by mx1.freebsd.org (Postfix) with ESMTP id D14B18FC1A for ; Wed, 13 Jan 2010 22:01:54 +0000 (UTC) Received: from obspm.fr (pcjas.obspm.fr [145.238.184.233]) by smtp-int-m.obspm.fr (8.14.3/8.14.3/SIO Observatoire de Paris - 07/2009) with ESMTP id o0DM1q2F010070 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 13 Jan 2010 23:01:53 +0100 Date: Wed, 13 Jan 2010 23:01:52 +0100 From: Albert Shih To: freebsd-questions@freebsd.org Message-ID: <20100113220152.GA58409@obspm.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.20 (2009-06-14) X-Miltered: at smtp-int-m.obspm.fr with ID 4B4E42D0.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 4B4E42D0.000/145.238.184.233/pcjas.obspm.fr/obspm.fr/ X-j-chkmail-Score: MSGID : 4B4E42D0.000 on smtp-int-m.obspm.fr : j-chkmail score : . : R=. U=. O=. B=0.049 -> S=0.049 X-j-chkmail-Status: Ham Subject: Stability of gpt on 7.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: Wed, 13 Jan 2010 22:01:55 -0000 Hi all. I would like to known if gpt work good/very good/perfect with FreeBSD 7.2 ? Regards. JAS -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Téléphone : 01 45 07 76 26/06 86 69 95 71 Heure local/Local time: Mer 13 jan 2010 23:01:08 CET From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 22:25:22 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46E01106566C for ; Wed, 13 Jan 2010 22:25:22 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout029.mac.com (asmtpout029.mac.com [17.148.16.104]) by mx1.freebsd.org (Postfix) with ESMTP id 33B918FC0A for ; Wed, 13 Jan 2010 22:25:21 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp029.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KW7008EXI9J4810@asmtp029.mac.com> for freebsd-questions@freebsd.org; Wed, 13 Jan 2010 14:24:58 -0800 (PST) From: Chuck Swiger In-reply-to: Date: Wed, 13 Jan 2010 14:24:55 -0800 Message-id: <3E40B1C3-6A65-417D-8489-E3156F8BDC11@mac.com> References: To: sbremal@hotmail.com X-Mailer: Apple Mail (2.1077) Cc: freebsd-questions@freebsd.org Subject: Re: NFS exporting mounted msdosfs subdir X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Jan 2010 22:25:22 -0000 Hi-- On Jan 13, 2010, at 1:52 PM, sbremal@hotmail.com wrote: > Anyone has got an idea how this can be resolved? Thanks. Does FreeBSD even support NFS-exporting a locally mounted MS-DOS filesystem? Traditionally, NFS was implemented over the default UFS filesystem and it was common for other filesystem typess to not be exportable.... -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 00:20:36 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3AC18106566C for ; Thu, 14 Jan 2010 00:20:36 +0000 (UTC) (envelope-from samankaya@netscape.net) Received: from imr-db02.mx.aol.com (imr-db02.mx.aol.com [205.188.91.96]) by mx1.freebsd.org (Postfix) with ESMTP id EFD588FC15 for ; Thu, 14 Jan 2010 00:20:35 +0000 (UTC) Received: from imo-da01.mx.aol.com (imo-da01.mx.aol.com [205.188.169.199]) by imr-db02.mx.aol.com (8.14.1/8.14.1) with ESMTP id o0E0KF0I003101 for ; Wed, 13 Jan 2010 19:20:15 -0500 Received: from samankaya@netscape.net by imo-da01.mx.aol.com (mail_out_v42.5.) id n.bea.58557db2 (37108) for ; Wed, 13 Jan 2010 19:20:12 -0500 (EST) Received: from [172.16.1.52] (mail.reformkurumsal.com [212.156.209.87]) by cia-db08.mx.aol.com (v127.7) with ESMTP id MAILCIADB086-90f44b4e6338188; Wed, 13 Jan 2010 19:20:09 -0500 Message-ID: <4B4E6337.5000806@netscape.net> Date: Thu, 14 Jan 2010 02:20:07 +0200 From: Kaya Saman User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090605 SeaMonkey/1.1.17 (Ubuntu-1.1.17+nobinonly-0ubuntu0.9.04.1) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AOL-IP: 212.156.209.87 X-Mailer: Unknown (No Version) X-Spam-Flag: NO X-AOL-SENDER: samankaya@netscape.net Subject: Crontab not working?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 00:20:36 -0000 Hi, I installed logwatch from ports only it didn't install a crontab for me like Linux or Solaris does so I ended up attempting to copy my Linux crontab into FreeBSD. It didn't work so I tried to cut down areas which I suspected might not work and ended up with the syntax below for root: crontab -l shows: @reboot root /usr/local/sbin/logwatch.pl 02 4 * * * root /usr/local/sbin/logwatch.pl The interesting thing here is that it shows them as being run: rd1# cat /var/log/cron | grep logwatch Jan 12 04:02:00 rd1 /usr/sbin/cron[5882]: (root) CMD (root^I/usr/local/sbin/logwatch.pl) Jan 13 04:02:00 rd1 /usr/sbin/cron[8898]: (root) CMD (root^I/usr/local/sbin/logwatch.pl) but only nothing is being emailed to me....? If I run the pearl file locally as in: /usr/local/sbin/logwatch.pl it works fine and email is sent. I know I am missing something but for the life of me can't work out what! Can anyone be of assistance? Many thanks, Kaya From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 00:30:31 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 827BD106566B for ; Thu, 14 Jan 2010 00:30:31 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout029.mac.com (asmtpout029.mac.com [17.148.16.104]) by mx1.freebsd.org (Postfix) with ESMTP id 708FF8FC2A for ; Thu, 14 Jan 2010 00:30:31 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp029.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KW700CVHO2FME20@asmtp029.mac.com> for freebsd-questions@freebsd.org; Wed, 13 Jan 2010 16:30:16 -0800 (PST) From: Chuck Swiger In-reply-to: <4B4E6337.5000806@netscape.net> Date: Wed, 13 Jan 2010 16:30:15 -0800 Message-id: <6BD85777-C14C-4F0F-83AD-9DEF52D22E85@mac.com> References: <4B4E6337.5000806@netscape.net> To: Kaya Saman X-Mailer: Apple Mail (2.1077) Cc: freebsd-questions@freebsd.org Subject: Re: Crontab not working?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 00:30:31 -0000 Hi-- On Jan 13, 2010, at 4:20 PM, Kaya Saman wrote: > It didn't work so I tried to cut down areas which I suspected might not work and ended up with the syntax below for root: > > crontab -l shows: > > @reboot root /usr/local/sbin/logwatch.pl > 02 4 * * * root /usr/local/sbin/logwatch.pl You're using the syntax for a system-wide crontab, ie, /etc/crontab. Per-user crontabs do not have the middle field listing the user to run as; re-run crontab -e and try this instead: @reboot /usr/local/sbin/logwatch.pl 02 4 * * * /usr/local/sbin/logwatch.pl Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 00:34:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 213931065670 for ; Thu, 14 Jan 2010 00:34:49 +0000 (UTC) (envelope-from samankaya@netscape.net) Received: from imr-db01.mx.aol.com (imr-db01.mx.aol.com [205.188.91.95]) by mx1.freebsd.org (Postfix) with ESMTP id D48798FC0C for ; Thu, 14 Jan 2010 00:34:48 +0000 (UTC) Received: from imo-ma01.mx.aol.com (imo-ma01.mx.aol.com [64.12.78.136]) by imr-db01.mx.aol.com (8.14.1/8.14.1) with ESMTP id o0E0YQEA005164; Wed, 13 Jan 2010 19:34:26 -0500 Received: from samankaya@netscape.net by imo-ma01.mx.aol.com (mail_out_v42.5.) id q.c96.54ea8b41 (37588); Wed, 13 Jan 2010 19:34:22 -0500 (EST) Received: from [172.16.1.52] (mail.reformkurumsal.com [212.156.209.87]) by cia-mb06.mx.aol.com (v127.7) with ESMTP id MAILCIAMB061-92d44b4e668910e; Wed, 13 Jan 2010 19:34:19 -0500 Message-ID: <4B4E6689.9090206@netscape.net> Date: Thu, 14 Jan 2010 02:34:17 +0200 From: Kaya Saman User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090605 SeaMonkey/1.1.17 (Ubuntu-1.1.17+nobinonly-0ubuntu0.9.04.1) MIME-Version: 1.0 To: Chuck Swiger References: <4B4E6337.5000806@netscape.net> <6BD85777-C14C-4F0F-83AD-9DEF52D22E85@mac.com> In-Reply-To: <6BD85777-C14C-4F0F-83AD-9DEF52D22E85@mac.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AOL-IP: 212.156.209.87 X-Mailer: Unknown (No Version) X-Spam-Flag: NO X-AOL-SENDER: samankaya@netscape.net Cc: freebsd-questions@freebsd.org Subject: Re: Crontab not working?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 00:34:49 -0000 Thanks, I inputted the data as you suggested so now I will wait until the time specified to see if it ran or not! Regards, Kaya Chuck Swiger wrote: > Hi-- > > On Jan 13, 2010, at 4:20 PM, Kaya Saman wrote: > >> It didn't work so I tried to cut down areas which I suspected might not work and ended up with the syntax below for root: >> >> crontab -l shows: >> >> @reboot root /usr/local/sbin/logwatch.pl >> 02 4 * * * root /usr/local/sbin/logwatch.pl >> > > You're using the syntax for a system-wide crontab, ie, /etc/crontab. Per-user crontabs do not have the middle field listing the user to run as; re-run crontab -e and try this instead: > > @reboot /usr/local/sbin/logwatch.pl > 02 4 * * * /usr/local/sbin/logwatch.pl > > Regards, > From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 00:47:53 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05B30106566C for ; Thu, 14 Jan 2010 00:47:53 +0000 (UTC) (envelope-from fwd@gothschlampen.com) Received: from vs.gothschlampen.com (vs.gothschlampen.com [85.93.11.85]) by mx1.freebsd.org (Postfix) with ESMTP id C100D8FC08 for ; Thu, 14 Jan 2010 00:47:52 +0000 (UTC) Received: by vs.gothschlampen.com (Postfix, from userid 667) id C8F561D33E8; Thu, 14 Jan 2010 01:47:40 +0100 (CET) Date: Thu, 14 Jan 2010 01:47:40 +0100 From: "Thomas K." To: Kaya Saman Message-ID: <20100114004740.GA32382@gothschlampen.com> References: <4B4E6337.5000806@netscape.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B4E6337.5000806@netscape.net> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-questions@freebsd.org Subject: Re: Crontab not working?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 00:47:53 -0000 On Thu, Jan 14, 2010 at 02:20:07AM +0200, Kaya Saman wrote: Hi, > @reboot root /usr/local/sbin/logwatch.pl > 02 4 * * * root /usr/local/sbin/logwatch.pl this format/syntax is only valid for the system contab. > The interesting thing here is that it shows them as being run: > > rd1# cat /var/log/cron | grep logwatch > Jan 12 04:02:00 rd1 /usr/sbin/cron[5882]: (root) CMD > (root^I/usr/local/sbin/logwatch.pl) > Jan 13 04:02:00 rd1 /usr/sbin/cron[8898]: (root) CMD > (root^I/usr/local/sbin/logwatch.pl) As you can see, the command is not valid. You should at least get an error. If the scripts do not set PATH themselvs, try setting it in the crontab, as the default is rather minimal. Regards Thomas From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 00:57:13 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BCF31065670 for ; Thu, 14 Jan 2010 00:57:13 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-qy0-f174.google.com (mail-qy0-f174.google.com [209.85.221.174]) by mx1.freebsd.org (Postfix) with ESMTP id 552278FC14 for ; Thu, 14 Jan 2010 00:57:11 +0000 (UTC) Received: by qyk4 with SMTP id 4so11192403qyk.7 for ; Wed, 13 Jan 2010 16:57:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=PbQ/IRbxV4Af7ZK5pdZKDaaxIAz1IROYecFESzaKC60=; b=QbzbH204Pst3quI1R2sWRz60hRD/6EgRQN2JioCHRnpXeDj7UDATU7Af6iRm1/G4eW wBoIJ3VEiZU1HqKeSYF6P0cBWpnW5d+hyDSZ3GtxFhxwKyCz2uJ08fvApYki6kfW66pL vCJ+8tpt0xFW/KIzE0yAB7oCCMzwfyV8V4QZw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=D1f2nZKEUVlz+Tj4ViZJ4PLPHsliLHnzZKdnHYjXDj5nf7ztRgSmHTeG0Tkbqg33OY wEBpMmTxiXmzfpE13O/AnOnHTJeYIEvxsX/9L2cUvNN5yku3RtVNsxo4WlFtFw1gELXs YRAg0i2XOdjlbUQ/JSqogNwNz+OzODW6MZyN8= Received: by 10.224.16.69 with SMTP id n5mr32654qaa.184.1263430622875; Wed, 13 Jan 2010 16:57:02 -0800 (PST) Received: from orion.hsd1.pa.comcast.net (c-71-230-240-241.hsd1.pa.comcast.net [71.230.240.241]) by mx.google.com with ESMTPS id 22sm100022qyk.6.2010.01.13.16.57.00 (version=SSLv3 cipher=RC4-MD5); Wed, 13 Jan 2010 16:57:01 -0800 (PST) Date: Wed, 13 Jan 2010 19:53:41 -0500 From: Glen Barber To: Rolf Nielsen , Jeronimo Calvo Message-ID: <20100114005341.GA67999@orion.hsd1.pa.comcast.net> References: <4B4E329D.4090806@lazlarlyricon.com> <4B4E3778.1080609@lazlarlyricon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B4E3778.1080609@lazlarlyricon.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: questions@freebsd.org Subject: Re: Crontab not working logwatch.pl [FreeBSD 8 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, 14 Jan 2010 00:57:13 -0000 Rolf Nielsen wrote: > On 2010-01-13 22:04, Jeronimo Calvo wrote: > > did a crontab -r, a a new crontab -e, using: > > > > * * * * * $HOME/.profile ; /bin/bash /var/log/auto_auth.sh > > * * * * * $HOME/.profile ; /usr/bin/perl /local/sbin/logwatch.pl > > In addition to the other suggestions, I'd imagine an absolute path path to /local/sbin/logwatch.pl is a problem as well. Unless /local/sbin exists, of course. Regards, -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 00:57:15 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01F7E1065672 for ; Thu, 14 Jan 2010 00:57:15 +0000 (UTC) (envelope-from af.gourmet@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id C90CC8FC15 for ; Thu, 14 Jan 2010 00:57:14 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=UTF-8 Received: from [192.168.0.51] ([96.21.103.185]) by VL-MH-MR003.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTP id <0KW7003ELPBDND00@VL-MH-MR003.ip.videotron.ca> for freebsd-questions@freebsd.org; Wed, 13 Jan 2010 19:57:14 -0500 (EST) Message-id: <4B4E6BE8.1090907@videotron.ca> Date: Wed, 13 Jan 2010 19:57:13 -0500 From: PJ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 To: keneasson References: <4B4D7ABE.3050001@videotron.ca> <4B4D8DD2.3000500@infracaninophile.co.uk> <4B4DEA77.10801@videotron.ca> <126286b91ec.-135289677807361896.868388711535684751@zoho.com> In-reply-to: <126286b91ec.-135289677807361896.868388711535684751@zoho.com> Cc: freebsd-questions@freebsd.org Subject: Re: cannot install apache22 on FBSD 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jan 2010 00:57:15 -0000 On 1/13/2010 11:02 AM, keneasson wrote: > ---- On Wed, 13 Jan 2010 21:44:55 +0600 *PJ >* wrote ---- > > On 1/13/2010 4:09 AM, Matthew Seaman wrote: > > PJ wrote: > >> Gentlemen, > >> I am absolutely stupefied by apache22, php5, php5-extensions and > >> phpmysql refusing to be updated or installed > >> I did manage to do one installation on a freshly upgraded box > from 7.2 > >> to 8.0 but with very frustrating and time consuming efforts. I > still > >> don't know how I managed, but it seems to work, for the moment > anyway. > >> Could someone explain to me why there is a problem with > apache22, php5 > >> and the rest - when doing an upgrade from 7.2 to 8.0. > >> I followed the instructions in the handbood to the letter and > both times > >> there is a problem. > >> Am I doing something that is not evident in the instructions. > Even the > >> apache site states very clearly that and update is about as > simple as > >> could be. > >> The long list of errors when installing apache seem to deal > with a lot > >> of undeclared stuff (first use in this function) for a lot of > uldap > >> stuff like cache, connection etc. etc. > >> How does one deal with this as there seems to be nothing on > google. > >> TIA > > > > You're installing quite a complex interconnected group of ports > there, > > and > > it can go wrong in any number of new and exciting ways. We can't > tell > > exactly > > what has gone wrong from what you tell us -- but it's almost > certainly a > > problem fairly high up the dependency tree which is screwing > things up > > for > > all of the ports lower down you're having trouble with. > > > > As a general strategy for making this work, probably the most > effective > > route is 'back to square one.' Rip out everything that apache, > php etc. > > depend on, and start again from scratch. This includes all options > > settings > > for those ports under /var/db/ports/. > > > > When reinstalling a group of interconnected ports like this, I > find it > > beneficial to sort out all of the OPTIONS settings over the whole > > dependency > > tree before trying to compile anything. One of the unfortunate > > characteristics > > of the way OPTIONS processing works at the moment is that > changing an > > option > > somewhere can add or remove other ports from the dependency > tree, and > > those in their turn may have their own OPTIONS settings, but those > > OPTIONS are not processed in that pass. There are patches to > correct > > that behaviour in PR ports/141641 but until that or something > like it > > is committed, the trick is > > to run 'make config-recursive' repeatedly, until you no longer get > > presented with any of the blue OPTIONS dialogues. > > > > Some ports may not give you an OPTIONS dialogue but still have > > configuration > > settings you can tweak by setting make(1) variables. In this > case, I > > recommend > > preserving your settings by adding them to /etc/make.conf. > Changing a > > setting like this can affect the dependency tree in exactly the > same > > way as changing an > > option, so re-running 'make config-recursive' /yet again/ is a > good idea. > > > > I wrote a piece about this earlier in the context of > reinstalling all > > ports as > > part of the process of upgrading 7.2 -> 8.0, which you might > like to > > refer to: > > > > > http://lists.freebsd.org/pipermail/freebsd-questions/2010-January/210449.html > > > > > > > Note: there's a fairly tricky interplay between www/apache22 and > > devel/apr > > which only affects you if you enable the APR_FROM_PORTS option > in the > > apache22 > > OPTIONS dialogue -- both www/apache22 and devel/apr can be > configured > > to add dependencies on all sorts of fairly large software groups > > (Berkeley DB, MySQL, LDAP, PostgreSQL ...) and to toggle threading > > support. Empirically I've come to the conclusion that if you're > > compiling against devel/apr, then devel/apr has to include matching > > support for all the software groups enabled in the apache22 > options, > > or building apache22 will fall over in a twisty mess of > dependencies, > > all alike. However, you pretty much cannot get the OPTIONS settings > > right in one pass of 'make config-recursive' starting from the > > www/apache22 directory. You can avoid some trouble by *not* > enabling > > the APR_FROM_PORTS option -- which is the default, but loses some > > flexibility > > if you're going to be rebuilding Apache or any 3rd party apache > > modules quite > > a bit. > > > > Cheers, > > > > Matthew > > > Thanks for the input. > There was no way that apache22 was going to install with the apr. I > tried everything imaginable and referred to your suggestions. > Finally, I removed apr, removed the configuration files from the > /work > directory, redid config without apr and did config-recursive. > Much to my surprise, it worked... now to install php5 and php5 > extensions and try it all out. > PJ > _______________________________________________ > 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 read somewhere to put this in my make.conf file. > > WITH_MYSQL_VER=51 > APACHE_VERSION=22 > WWWDIR = /web/phpmyadmin > > I have had no problems at all with apache, php or mysql working. > #php -v > PHP 5.2.12 with Suhosin-Patch 0.9.7 (cli) (built: Jan 8 2010 17:12:52) > Copyright (c) 1997-2009 The PHP Group > Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies > #apachectl -v > Server version: Apache/2.2.14 (FreeBSD) > Server built: Jan 7 2010 16:40:50 > > > Thanks for the suggestions. installilng php5 and php5-extensions and phpmyadmin installed without problem once apache was successfully installed. Stsrange that the identical configuration worked on my first upgrade to 8.0 (although, not without different problems). There is some stumbling in the installation procedures regarding apr and they are not very clear. I now have it sorted out. Thanks, again. PJ From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 01:13:21 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFEB9106568F for ; Thu, 14 Jan 2010 01:13:21 +0000 (UTC) (envelope-from samankaya@netscape.net) Received: from imr-db03.mx.aol.com (imr-db03.mx.aol.com [205.188.91.97]) by mx1.freebsd.org (Postfix) with ESMTP id 7C7508FC08 for ; Thu, 14 Jan 2010 01:13:21 +0000 (UTC) Received: from imo-da04.mx.aol.com (imo-da04.mx.aol.com [205.188.169.202]) by imr-db03.mx.aol.com (8.14.1/8.14.1) with ESMTP id o0E12UV5020941; Wed, 13 Jan 2010 20:02:30 -0500 Received: from samankaya@netscape.net by imo-da04.mx.aol.com (mail_out_v42.5.) id o.ca8.4eb6760e (37521); Wed, 13 Jan 2010 20:02:27 -0500 (EST) Received: from [172.16.1.52] (mail.reformkurumsal.com [212.156.209.87]) by cia-ma08.mx.aol.com (v127.7) with ESMTP id MAILCIAMA086-92914b4e6d1f2; Wed, 13 Jan 2010 20:02:25 -0500 Message-ID: <4B4E6D1F.2030607@netscape.net> Date: Thu, 14 Jan 2010 03:02:23 +0200 From: Kaya Saman User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090605 SeaMonkey/1.1.17 (Ubuntu-1.1.17+nobinonly-0ubuntu0.9.04.1) MIME-Version: 1.0 To: Glen Barber References: <4B4E329D.4090806@lazlarlyricon.com> <4B4E3778.1080609@lazlarlyricon.com> <20100114005341.GA67999@orion.hsd1.pa.comcast.net> In-Reply-To: <20100114005341.GA67999@orion.hsd1.pa.comcast.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AOL-IP: 212.156.209.87 X-Mailer: Unknown (No Version) X-Spam-Flag: NO X-AOL-SENDER: samankaya@netscape.net Cc: questions@freebsd.org Subject: Re: Crontab not working logwatch.pl [FreeBSD 8 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, 14 Jan 2010 01:13:21 -0000 Glen Barber wrote: > Rolf Nielsen wrote: > >> On 2010-01-13 22:04, Jeronimo Calvo wrote: >> >>> did a crontab -r, a a new crontab -e, using: >>> >>> * * * * * $HOME/.profile ; /bin/bash /var/log/auto_auth.sh >>> * * * * * $HOME/.profile ; /usr/bin/perl /local/sbin/logwatch.pl >>> >>> > > In addition to the other suggestions, I'd imagine an absolute path path to > /local/sbin/logwatch.pl is a problem as well. Unless /local/sbin exists, > of course. > > Regards, > > Many thanks for all the responses!! I copied the data into /etc/crontab using the root syntax as described before and I got sent an email straight away after restarting cron!! I am not sure why I decided to use a local crontab rather then system-wide one but I think I got confused somewhere along the lines with something?? At least it works :-) Regards, Kaya From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 01:21:07 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13915106568F for ; Thu, 14 Jan 2010 01:21:07 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id CA8058FC15 for ; Thu, 14 Jan 2010 01:21:06 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o0E1L2If039181 for ; Wed, 13 Jan 2010 17:21:02 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Wed, 13 Jan 2010 17:21:02 -0800 (PST) Date: Wed, 13 Jan 2010 17:21:02 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20100114012059.GA3921@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-1.2 required=3.6 tests=ALL_TRUSTED,BAYES_00, FH_DATE_PAST_20XX autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: Subject: any port use /dev/dsp directly? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 01:21:07 -0000 I have a couple short programs where I mess with /dev/dsp. I'll open check to be sure the speed is right, open in mono or stereo, &c. is there anything is ports that uses this dev by opening, doing ioctls and so forth? I think I may need to flush my data before closing the FILE *FP. Not sure; just guessing. Anybody?? tia, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 01:41:16 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E89C6106568B for ; Thu, 14 Jan 2010 01:41:16 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-qy0-f174.google.com (mail-qy0-f174.google.com [209.85.221.174]) by mx1.freebsd.org (Postfix) with ESMTP id 9BEEF8FC12 for ; Thu, 14 Jan 2010 01:41:16 +0000 (UTC) Received: by qyk4 with SMTP id 4so11212014qyk.7 for ; Wed, 13 Jan 2010 17:41:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=URd4O45am8jOo71HyFYiSrrNXE6CeljQrPWxcsPwsq4=; b=EvMRURfJbxZl7RZuiIL59yMXkD0RiFNzSYW3lWLyRqzm5VJchqKxZY7Oo2ud23OW9x QD0u05zzS78kOL1CxBxxa/KrIbcns3tkPWSQyZUBI/pzTDtiu8mAXk/HdVV7CwmYRD9o 3UkJ+Qo8O6lpjzj7/yrxdJx2B/9w9OV6x0pc8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=mSsdOIX1UVUL0BeZqhH3rqal5rhYsvxhtHcSVMj+sSKPL943W7sgIPK00Mj7A4/h9L 8SKlYwVrf1k8dpRCownzHvJXLB9IYqzc6Eby4oBdG6sLXMd7VWoFNG4WdvTx0W20TTUl 9Vsc6mUWx1tGtn9K7X+6oKLDCDG7mWt4RZTYA= Received: by 10.229.112.80 with SMTP id v16mr23656qcp.19.1263433266565; Wed, 13 Jan 2010 17:41:06 -0800 (PST) Received: from orion.hsd1.pa.comcast.net (c-71-230-240-241.hsd1.pa.comcast.net [71.230.240.241]) by mx.google.com with ESMTPS id 23sm130532qyk.7.2010.01.13.17.41.04 (version=SSLv3 cipher=RC4-MD5); Wed, 13 Jan 2010 17:41:05 -0800 (PST) Date: Wed, 13 Jan 2010 20:37:46 -0500 From: Glen Barber To: Gary Kline Message-ID: <20100114013746.GB67999@orion.hsd1.pa.comcast.net> References: <20100114012059.GA3921@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100114012059.GA3921@thought.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: any port use /dev/dsp directly? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 01:41:17 -0000 Gary Kline wrote: > > I have a couple short programs where I mess with /dev/dsp. I'll open > check to be sure the speed is right, open in mono or stereo, &c. is > there anything is ports that uses this dev by opening, doing ioctls and > so forth? > > I think I may need to flush my data before closing the FILE *FP. Not > sure; just guessing. > I don't know if this directly answers your question, but from sound(4): hw.snd.default_unit Default sound card for systems with multiple sound cards. When using devfs(5), the default device for /dev/dsp. Equivalent to a symlink from /dev/dsp to /dev/dsp${hw.snd.default_unit}. FWIW, www/linux-f10-flashplugin10 is using /dev/dsp0.0 on my system at the moment. Regards, -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 02:42:46 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B0741065670 for ; Thu, 14 Jan 2010 02:42:46 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id E208C8FC12 for ; Thu, 14 Jan 2010 02:42:45 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o0E2gg0D039650; Wed, 13 Jan 2010 18:42:42 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Wed, 13 Jan 2010 18:42:42 -0800 (PST) Date: Wed, 13 Jan 2010 18:42:42 -0800 From: Gary Kline To: Glen Barber Message-ID: <20100114024242.GA9744@thought.org> References: <20100114012059.GA3921@thought.org> <20100114013746.GB67999@orion.hsd1.pa.comcast.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100114013746.GB67999@orion.hsd1.pa.comcast.net> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-1.2 required=3.6 tests=ALL_TRUSTED,BAYES_00, FH_DATE_PAST_20XX autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: freebsd-questions@freebsd.org Subject: Re: any port use /dev/dsp directly? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 02:42:46 -0000 On Wed, Jan 13, 2010 at 08:37:46PM -0500, Glen Barber wrote: > Gary Kline wrote: > > > > I have a couple short programs where I mess with /dev/dsp. I'll open > > check to be sure the speed is right, open in mono or stereo, &c. is > > there anything is ports that uses this dev by opening, doing ioctls and > > so forth? > > > > I think I may need to flush my data before closing the FILE *FP. Not > > sure; just guessing. > > > > I don't know if this directly answers your question, but from sound(4): > > hw.snd.default_unit > Default sound card for systems with multiple sound cards. When > using devfs(5), the default device for /dev/dsp. Equivalent to a > symlink from /dev/dsp to /dev/dsp${hw.snd.default_unit}. > > FWIW, www/linux-f10-flashplugin10 is using /dev/dsp0.0 on my system at the > moment. > > Regards, > Thanks, but I already read the sound man page. I am trying to emulate /bin/cat WAVEFILE > /dev/dsp which works well by opening /dev/dsp, making sure everything is set, the writing the bytes of the WAVEFILE thru/into the device with a write() call. It works, the sound echoes, but at the end is an ugly HISSing or FIZZZZ sound. Anybody seen anything like this? Doesn't hurt to ask, given the brainpower on this list. But this may be something I have got to figure out. (There doesn't seem to be any way of getting rid of that annoying HISS. ... .) thanks, Glen and everybody else, gary > -- > Glen Barber -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 07:31:58 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CE01106566C for ; Thu, 14 Jan 2010 07:31:58 +0000 (UTC) (envelope-from bennett@cs.niu.edu) Received: from mp.cs.niu.edu (mp.cs.niu.edu [131.156.145.41]) by mx1.freebsd.org (Postfix) with ESMTP id E5DED8FC08 for ; Thu, 14 Jan 2010 07:31:57 +0000 (UTC) Received: from mp.cs.niu.edu (bennett@localhost [127.0.0.1]) by mp.cs.niu.edu (8.14.3/8.14.3) with ESMTP id o0E7VthC018244 for ; Thu, 14 Jan 2010 01:31:55 -0600 (CST) Date: Thu, 14 Jan 2010 01:31:55 -0600 (CST) From: Scott Bennett Message-Id: <201001140731.o0E7VtQ0018243@mp.cs.niu.edu> To: freebsd-questions@freebsd.org Subject: GELI file systems unusable after "glabel label" operations X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 07:31:58 -0000 I used "glabel label" to label each of the file systems I have on external disk drives. Unfortunately, afterward I am now unable to "geli attach" any of the GELI-encrypted file systems. The system is FreeBSD 7.2-STABLE. Is there a way to get this to work? Or have I just lost everything in the encrypted file systems? hellas# geli attach -k work.key /dev/label/work geli: Cannot read metadata from /dev/label/work: Invalid argument. hellas# ls -lgF /dev/label/ total 0 crw-r----- 1 root operator 0, 192 Jan 14 00:47 archives crw-r----- 1 root operator 0, 191 Jan 14 00:47 backupsi crw-r----- 1 root operator 0, 182 Jan 14 00:47 backupsl crw-r----- 1 root operator 0, 166 Jan 14 00:47 backupss crw-r----- 1 root operator 0, 179 Jan 14 00:47 sec crw-r----- 1 root operator 0, 161 Jan 14 00:47 usrobj crw-r----- 1 root operator 0, 184 Jan 14 00:47 usrports crw-r----- 1 root operator 0, 186 Jan 14 00:47 vboxdisk crw-r----- 1 root operator 0, 181 Jan 14 00:47 work hellas# Any help in recovering the lost data would be deeply appreciated. If that cannot be done, then at least knowing that would keep me from wasting further time on it. Thanks much. Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * ********************************************************************** From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 07:53:44 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9139D1065670 for ; Thu, 14 Jan 2010 07:53:44 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 54CF58FC0C for ; Thu, 14 Jan 2010 07:53:43 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o0E7reOs041463 for ; Wed, 13 Jan 2010 23:53:40 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Wed, 13 Jan 2010 23:53:40 -0800 (PST) Date: Wed, 13 Jan 2010 23:53:40 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20100114075338.GA80456@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-1.2 required=3.6 tests=ALL_TRUSTED,BAYES_00, FH_DATE_PAST_20XX autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: Subject: found the 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: Thu, 14 Jan 2010 07:53:44 -0000 guys, I was using code I first hacked in 1996, and used 8 bits for the DAC, not 16. When I use 16, much better. now I need to figure out why 8 fails, if there are no audio wizards out there. more testing to do, but enough for now.... -gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 07:55:37 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 966561065695 for ; Thu, 14 Jan 2010 07:55:37 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 5575B8FC0C for ; Thu, 14 Jan 2010 07:55:37 +0000 (UTC) Received: from gate.ipt.ru ([194.62.233.123] helo=h30.sp.ipt.ru) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1NVKYJ-00097H-O1; Thu, 14 Jan 2010 10:55:35 +0300 To: Scott Bennett References: <201001140731.o0E7VtQ0018243@mp.cs.niu.edu> From: Boris Samorodov Date: Thu, 14 Jan 2010 10:55:35 +0300 In-Reply-To: <201001140731.o0E7VtQ0018243@mp.cs.niu.edu> (Scott Bennett's message of "Thu\, 14 Jan 2010 01\:31\:55 -0600 \(CST\)") Message-ID: <75059768@h30.sp.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: GELI file systems unusable after "glabel label" operations X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 07:55:37 -0000 On Thu, 14 Jan 2010 01:31:55 -0600 (CST) Scott Bennett wrote: > hellas# geli attach -k work.key /dev/label/work > geli: Cannot read metadata from /dev/label/work: Invalid argument. Did you try to mount it via geom consumer (/dev/daX)? Can you show apropriate "glabel list"? -- WBR, bsam From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 08:04:30 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E39FA106566B for ; Thu, 14 Jan 2010 08:04:30 +0000 (UTC) (envelope-from savitha@poornam.com) Received: from mx.poornam.com (mx.poornam.com [74.86.12.242]) by mx1.freebsd.org (Postfix) with ESMTP id BFBCD8FC18 for ; Thu, 14 Jan 2010 08:04:29 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mx.poornam.com (Postfix) with ESMTP id E5DF58A1138 for ; Thu, 14 Jan 2010 02:05:56 -0600 (CST) X-Virus-Scanned: amavisd-new at mx.poornam.com Received: from mx.poornam.com ([127.0.0.1]) by localhost (mx.poornam.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id e6F1dBJSDBmo for ; Thu, 14 Jan 2010 02:05:46 -0600 (CST) Received: by mx.poornam.com (Postfix, from userid 512) id 1F04A8A0FA8; Thu, 14 Jan 2010 02:05:46 -0600 (CST) Received: from ws31.local (router1.poornam.com [203.197.151.138]) by mx.poornam.com (Postfix) with ESMTP id 97DD18A0FA8 for ; Thu, 14 Jan 2010 02:05:44 -0600 (CST) From: Savitha Nair To: freebsd-questions@freebsd.org Date: Thu, 14 Jan 2010 13:14:53 +0530 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201001141314.54039.savitha@poornam.com> Subject: natd is with high cpu 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: Thu, 14 Jan 2010 08:04:31 -0000 Hello, The natd is with 100% cpu usage. What is the issue ? can you help me with that ? CPU: 3.4% user, 0.0% nice, 22.2% system, 9.5% interrupt, 64.9% idle Mem: 161M Active, 493M Inact, 345M Wired, 652K Cache, 417M Buf, 2934M Free Swap: 4096M Total, 4096M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 52273 root 1 118 0 13200K 1640K CPU2 2 32:52 99.07% natd 833 nobody 1 44 0 11068K 4864K select 3 3:03 0.00% openvpn Regards, Savi DISCLAIMER : This email and any files transmitted with it are property of Poornam Info Vision Pvt. Ltd. This email contains confidential information intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender immediately and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Warning: Although the company has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments. From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 08:09:06 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67331106566B for ; Thu, 14 Jan 2010 08:09:06 +0000 (UTC) (envelope-from bennett@cs.niu.edu) Received: from mp.cs.niu.edu (mp.cs.niu.edu [131.156.145.41]) by mx1.freebsd.org (Postfix) with ESMTP id 3C1678FC0C for ; Thu, 14 Jan 2010 08:09:05 +0000 (UTC) Received: from mp.cs.niu.edu (bennett@localhost [127.0.0.1]) by mp.cs.niu.edu (8.14.3/8.14.3) with ESMTP id o0E88wR8018633; Thu, 14 Jan 2010 02:08:58 -0600 (CST) Date: Thu, 14 Jan 2010 02:08:58 -0600 (CST) From: Scott Bennett Message-Id: <201001140808.o0E88wxB018632@mp.cs.niu.edu> To: bsam@ipt.ru Cc: freebsd-questions@freebsd.org Subject: Re: GELI file systems unusable after "glabel label" operations X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 08:09:06 -0000 On Thu, 14 Jan 2010 10:55:35 +0300 Boris Samorodov wrote: Thanks so much for responding so fast! >On Thu, 14 Jan 2010 01:31:55 -0600 (CST) Scott Bennett wrote: > >> hellas# geli attach -k work.key /dev/label/work >> geli: Cannot read metadata from /dev/label/work: Invalid argument. > >Did you try to mount it via geom consumer (/dev/daX)? Um, no, a GELI-encrypted partition must first be attached. The attach operation fails, as shown above, so there's no way to mount it. >Can you show apropriate "glabel list"? > hellas# geom ELI list geom: Cannot get GEOM tree: Unknown error: -1 hellas# I'm afraid I'm clueless here. What should I try next? Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * ********************************************************************** From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 09:18:17 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 400E3106568D for ; Thu, 14 Jan 2010 09:18:17 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id EB00F8FC15 for ; Thu, 14 Jan 2010 09:18:16 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NVLqI-0003H0-E9 for freebsd-questions@freebsd.org; Thu, 14 Jan 2010 10:18:14 +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 ; Thu, 14 Jan 2010 10:18:14 +0100 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Jan 2010 10:18:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Thu, 14 Jan 2010 10:17:54 +0100 Lines: 15 Message-ID: References: <8418112cdfada93d83ca0cb5307c1d21.squirrel@email.polands.org> <9bbcef731001131035x604cdea1t81b14589cb10ad25@mail.gmail.com> <9bbcef731001131157h256c4d14mbb241bc4326405f8@mail.gmail.com> <3aa09fd8723749d1fa65f1b9a6faac60.squirrel@email.polands.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.23 (X11/20091210) In-Reply-To: Sender: news Subject: Re: 8.0-R-p2 ZFS: unixbench causing kmem exhaustion panic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 09:18:17 -0000 Doug Poland wrote: >>> >> Ok, I re-ran with same config, but this time monitoring the sysctls >> you requested* ( and the rest I was watching ): >> > I failed to mention that > > kstat.zfs.misc.arcstats.size > > seemed to fluctuate between about 164,000,00 and 180,000,000 bytes > during this last run Is that with or without panicking? If the system did panic then it looks like the problem is a memory leak somewhere else in the kernel, which you could confirm by monitoring vmstat -z. From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 09:30:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD184106566B for ; Thu, 14 Jan 2010 09:30:54 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 97B058FC0C for ; Thu, 14 Jan 2010 09:30:53 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NVM2S-0007tA-7B for freebsd-questions@freebsd.org; Thu, 14 Jan 2010 10:30:48 +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 ; Thu, 14 Jan 2010 10:30:48 +0100 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Jan 2010 10:30:48 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Thu, 14 Jan 2010 10:30:00 +0100 Lines: 31 Message-ID: References: <201001140731.o0E7VtQ0018243@mp.cs.niu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.23 (X11/20091210) In-Reply-To: <201001140731.o0E7VtQ0018243@mp.cs.niu.edu> Sender: news Subject: Re: GELI file systems unusable after "glabel label" operations X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 09:30:54 -0000 Scott Bennett wrote: > I used "glabel label" to label each of the file systems I have on external > disk drives. Unfortunately, afterward I am now unable to "geli attach" any of > the GELI-encrypted file systems. The system is FreeBSD 7.2-STABLE. Hmm, did you say you had geli-encrypted drives, then you have overwritten the last sector with glabel, and then you are surprised you cannot get to the data any more? > Or have I just lost everything in the encrypted > file systems? I think you did. From the geli(8) man page: "init ... The last provider’s sector is used to store metadata." From the glabel(8) man page: "label ... metadata is stored in a provider’s last sector." If you did "geli init ... da0" and then "glabel label ... da0" then you have lost the geli metadata, which contains keys, etc. You might recover this, though, by reading geli(8) about the "restore" command. There is no way you can label your devices after you applied geli to them (which is one of the points of using geli...). You could destroy the geli layer (and the data), apply the label and then apply geli to the label. From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 09:35:06 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CEFDB106566B for ; Thu, 14 Jan 2010 09:35:06 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 8AA818FC0A for ; Thu, 14 Jan 2010 09:35:06 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NVM6Z-00013V-TY for freebsd-questions@freebsd.org; Thu, 14 Jan 2010 10:35:03 +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 ; Thu, 14 Jan 2010 10:35:03 +0100 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Jan 2010 10:35:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Thu, 14 Jan 2010 10:33:01 +0100 Lines: 46 Message-ID: References: <20100114012059.GA3921@thought.org> <20100114013746.GB67999@orion.hsd1.pa.comcast.net> <20100114024242.GA9744@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.23 (X11/20091210) In-Reply-To: <20100114024242.GA9744@thought.org> Sender: news Subject: Re: any port use /dev/dsp directly? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 09:35:06 -0000 Gary Kline wrote: > On Wed, Jan 13, 2010 at 08:37:46PM -0500, Glen Barber wrote: >> Gary Kline wrote: >>> I have a couple short programs where I mess with /dev/dsp. I'll open >>> check to be sure the speed is right, open in mono or stereo, &c. is >>> there anything is ports that uses this dev by opening, doing ioctls and >>> so forth? >>> >>> I think I may need to flush my data before closing the FILE *FP. Not >>> sure; just guessing. >>> >> I don't know if this directly answers your question, but from sound(4): >> >> hw.snd.default_unit >> Default sound card for systems with multiple sound cards. When >> using devfs(5), the default device for /dev/dsp. Equivalent to a >> symlink from /dev/dsp to /dev/dsp${hw.snd.default_unit}. >> >> FWIW, www/linux-f10-flashplugin10 is using /dev/dsp0.0 on my system at the >> moment. >> >> Regards, >> > > > Thanks, but I already read the sound man page. I am trying to emulate > > /bin/cat WAVEFILE > /dev/dsp > > which works well by opening /dev/dsp, making sure everything is set, > the writing the bytes of the WAVEFILE thru/into the device with a > write() call. It works, the sound echoes, but at the end is an ugly > HISSing or FIZZZZ sound. > > Anybody seen anything like this? Doesn't hurt to ask, given the > brainpower on this list. But this may be something I have got to > figure out. > > (There doesn't seem to be any way of getting rid of that annoying > HISS. ... .) I have no idea how /dev/dsp really works but what you say sounds like there is some canonical buffer size it expects - like 64 kB or something like that, and it (wrongly) interprets garbage memory past your write as sound data. Try creating a larger buffer and fill the memory past the end of your sound with zeroes. From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 10:20:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD683106566B for ; Thu, 14 Jan 2010 10:20:55 +0000 (UTC) (envelope-from scdbackup@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 4050F8FC18 for ; Thu, 14 Jan 2010 10:20:51 +0000 (UTC) Received: (qmail invoked by alias); 14 Jan 2010 09:54:10 -0000 Received: from 165.126.46.212.adsl.ncore.de (HELO 212.46.126.165) [212.46.126.165] by mail.gmx.net (mp007) with SMTP; 14 Jan 2010 10:54:10 +0100 X-Authenticated: #2145628 X-Provags-ID: V01U2FsdGVkX18zceIdCeYz/cWRYyaAJOkbrdJN34hYL5H61LjE7b NCxXlp9qDLYwz8 Date: Thu, 14 Jan 2010 10:56:02 +0100 From: "Thomas Schmitt" To: freebsd-questions@freebsd.org Message-Id: <107241499031548@212.46.126.165> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.5 Subject: About device characteristics and CD/DVD drives X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jan 2010 10:20:55 -0000 Hi, i have installed ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-amd64/8.0/8.0-RELEASE-amd64-dvd1.iso.gz with the intention to provide full technical support for libburn on FreeBSD. I myself am used to Linux and older workstation systems. The MMC stuff to operate CD drives seems to still work well, thanks to a contribution of bland in 2006 or alternatively the FreeBSD driver of upcomming libcdio-0.83. Nevertheless a few questions arised. Any link enhanced RTFM is welcome. ------------------------------------------------ - How to detect by a C program that a character device is indeed block-wise readable and writeable ? I.e. devices which would be block devices on Linux. libburn can emulate DVD+RW on regular files or random-access-read-write devices. I would like to use USB sticks as ISO 9660 multi-session storage. It already works by a hack that boldly regards any /dev/da[0-9] as "block device". Eligible would be devices which allow to lseek(2), write(2), read(2) with 2 kB granularity. Does handbook 18.2 "Device Names" describe a hard rule ? Is every CAM CD drive accessible as /dev/cdN and is every /dev/cdN a CAM CD drive ? Is every /dev/daN a random-rw storage device ? What about fd, fla, sa, ad, ast ? ------------------------------------------------ - How to determine the storage capacity of a device file ? Most interesting with the random-access devices of the previous question. ------------------------------------------------ - How to revive a USB CD drive after power cycle ? How to kill a stuck cdrecord process ? $ cdrecord -v -sao -multi dev=2,0,0 test.iso reliably gets stuck with SATA and USB drive. (One should disable this mode.) The stuck SATA drive needs power cycle of the whole system. The USB drive should be resettable independently but FreeBSD does not make it accessible as /dev/cd* after a power cycle of the drive. It might have to do with the failed cdrecord run which still sat there and said: Writing pregap for track 1 at -150 (The -150 is normal with SAO. Being stuck is not. libburn SAO works fine on FreeBSD 8.0.) Nothing but reboot could end that process. On Linux, the same drive gets always back to life after being power-cycled or re-plugged. On FreeBSD i currently have to perform shutdown -p now a bit more often than i would like to. (Confessed: i provoke it intentionally.) Is there a hard reason why cdrecord is so old on the FreeBSD 8.0 DVD ? Is there a maintainer for it on FreeBSD ? I would like to cooperate. ------------------------------------------------ - Are there specs what mkisofs is supposed to do when preparing a bootable FreeBSD image ? Anything more than pointing an El Torito record to the boot file in the ISO image ? ------------------------------------------------ - Where to read about this phenomenon: - xterm on SuSE Linux 10.2 - ssh to FreeBSD 8.0 - Backspace key works, Delete key prints "~" Strange: My program xorriso uses libreadline. Its Delete key does work in the same SSH session. Only the one of the shell does not. ------------------------------------------------ - What is the meaning of the ruleset numbers ? I combined the advise of the libburn ports maintainer and handbook "18.5 USB Storage Devices". J.R. Oldroyd enabled my SATA drive cd0 by [localrules=10]. The other set [localrules=5] is composed from handbook and my guessing. If i do not repeat the lines about 'pass*' and 'cd*' in number 5, then the USB drive cd1,pass1 stays rw-r-----. man 5 devfs.rules does not bring insight. I executed after each rules change: /etc/rc.d/devfs start Now working content of /etc/devfs.rules : # Advise by J.R.Oldroyd for SATA and libburn: [localrules=10] # rules for grip and xfburn support add path 'acd*' mode 0666 add path 'cd*' mode 0666 add path 'pass*' mode 0666 add path 'xpt*' mode 0666 # From handbook 18.5 : [localrules=5] # This is for USB sticks: add path 'da*' mode 0666 group operator # Why do i have to do this again for USB cd1 ? add path 'pass*' mode 0666 add path 'cd*' mode 0666 # This i need for USB cd0 if no atapicam is up add path 'xpt*' mode 0666 # This is needed for normal users with acd0 # if no atapicam is up add path 'acd*' mode 0666 (I know 0666 is very lax. My advise to users is to have an extra group for CD devices.) ------------------------------------------------ - Would there be interest in comments and small objections with handbook chapters 18.6 (CDs), 18.7 (DVDs), 18.12 (Backup) ? Especially 18.12.7 ("dump(8) Period") could need a little discussion about why, what, and how to backup. Coordination seems indicated with 18.14 (Snapshots) and the optical media chapters. ------------------------------------------------ Have a nice day :) Thomas From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 12:01:41 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0D2B10656AB for ; Thu, 14 Jan 2010 12:01:41 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms4-1.1blu.de (ms4-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 9CFC18FC35 for ; Thu, 14 Jan 2010 12:01:41 +0000 (UTC) Received: from [193.31.11.193] (helo=current.Sisis.de) by ms4-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1NVOO0-00058m-GA; Thu, 14 Jan 2010 13:01:31 +0100 Received: from current.Sisis.de (current [127.0.0.1]) by current.Sisis.de (8.14.3/8.14.3) with ESMTP id o0EC1CKG003963; Thu, 14 Jan 2010 13:01:12 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id o0EC181w003962; Thu, 14 Jan 2010 13:01:08 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Thu, 14 Jan 2010 13:01:08 +0100 From: Matthias Apitz To: Bas Smeelen Message-ID: <20100114120108.GA3815@current.Sisis.de> References: <20100111123219.GA2270@current.Sisis.de> <8983DD34-2BF4-4FC9-B96F-5108E10AE9C4@goldmark.org> <4B4C20D1.3060408@ose.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4B4C20D1.3060408@ose.nl> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) X-Con-Id: 51246 X-Originating-IP: 193.31.11.193 Cc: freebsd-questions@freebsd.org Subject: Re: Q: recommendation for external USB disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jan 2010 12:01:42 -0000 El día Tuesday, January 12, 2010 a las 08:12:17AM +0100, Bas Smeelen escribió: > I use Freecom hard drive XS 1.5TB USB2.0 on our fallback servers as > back-up disks. > These are always connected to the servers for over half a year now. > I have not had any problems with them and the price was ok. > da1 at umass-sim0 bus 0 target 0 lun 0 > da1: Fixed Direct Access SCSI-2 device > da1: 40.000MB/s transfers > da1: 1430799MB (2930277168 512 byte sectors: 255H 63S/T 182401C) > /dev/da1s1d on /usr/home/www/backup (ufs, local, soft-updates) > This is on FreeBSD 7.2-RELEASE-p6 I ordered exactly this device. Your /dev/da1s1d let me think that you have created more than one partition... matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 12:40:56 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85BAB106566C for ; Thu, 14 Jan 2010 12:40:56 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id 1BE368FC18 for ; Thu, 14 Jan 2010 12:40:54 +0000 (UTC) Received: from localhost ([127.0.0.1]) by mail.ose.nl; Thu, 14 Jan 2010 13:40:36 +0100 Message-ID: <4B4F10BA.2000308@ose.nl> Date: Thu, 14 Jan 2010 13:40:26 +0100 From: Bas Smeelen User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Matthias Apitz References: <20100111123219.GA2270@current.Sisis.de> <8983DD34-2BF4-4FC9-B96F-5108E10AE9C4@goldmark.org> <4B4C20D1.3060408@ose.nl> <20100114120108.GA3815@current.Sisis.de> In-Reply-To: <20100114120108.GA3815@current.Sisis.de> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Q: recommendation for external USB disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 12:40:56 -0000 =3E =3E=3E I use Freecom hard drive XS 1=2E5TB USB2=2E0 on our fallback servers= as =3E=3E back-up disks=2E =3E=3E These are always connected to the servers for over half a year now= =2E =3E=3E I have not had any problems with them and the price was ok=2E =3E=3E da1 at umass-sim0 bus 0 target 0 lun 0 =3E=3E da1=3A =3CFreecom Hard Drive XS 1=2E00=3E Fixed Direct Access SCSI-2= device =3E=3E da1=3A 40=2E000MB/s transfers =3E=3E da1=3A 1430799MB =282930277168 512 byte sectors=3A 255H 63S/T 182401= C=29 =3E=3E /dev/da1s1d on /usr/home/www/backup =28ufs=2C local=2C soft-updates= =29 =3E=3E This is on FreeBSD 7=2E2-RELEASE-p6 =3E=3E =20 =3E =3E I ordered exactly this device=2E =3E =3E Your /dev/da1s1d let me think that you have created more than one =3E partition=2E=2E=2E =3E =3E =09matthias =3E =20 It=27s only one partition=2E I created it with sysinstall=2E fb1=3A/ =23 fdisk /dev/da1 ******* Working on device /dev/da1 ******* parameters extracted from in-core disklabel are=3A cylinders=3D182401 heads=3D255 sectors/track=3D63 =2816065 blks/cyl=29 Figures below won=27t work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are=3A cylinders=3D182401 heads=3D255 sectors/track=3D63 =2816065 blks/cyl=29 Media sector size is 512 Warning=3A BIOS sector numbering starts with sector 1 Information from DOS bootblock is=3A The data for partition 1 is=3A sysid 165 =280xa5=29=2C=28FreeBSD/NetBSD/386BSD=29 start 63=2C size 2930272002 =281430796 Meg=29=2C flag 80 =28active=29= beg=3A cyl 0/ head 1/ sector 1=3B end=3A cyl 1023/ head 254/ sector 63 The data for partition 2 is=3A =3CUNUSED=3E The data for partition 3 is=3A =3CUNUSED=3E The data for partition 4 is=3A =3CUNUSED=3E fb1=3A/ =23 bsdlabel /dev/da1s1 =23 /dev/da1s1=3A 8 partitions=3A =23 size offset fstype =5Bfsize bsize bps/cpg=5D c=3A 2930272002 0 unused 0 0 =23 =22raw=22 p= art=2C don=27t edit d=3A 2930272002 0 4=2E2BSD 2048 16384 28552 DISCLAIMER=3A This e-mail is for the intended recipient=28s=29 only=2E Access=2C disclosure=2C copying=2C distribution or reliance on any of it by= anyone else is prohibited=2E If you have received it by mistake please let us know by reply and then del= ete it from your system=2E From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 12:53:11 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E52C106566C for ; Thu, 14 Jan 2010 12:53:11 +0000 (UTC) (envelope-from bennett@cs.niu.edu) Received: from mp.cs.niu.edu (mp.cs.niu.edu [131.156.145.41]) by mx1.freebsd.org (Postfix) with ESMTP id 69FE18FC1E for ; Thu, 14 Jan 2010 12:53:11 +0000 (UTC) Received: from mp.cs.niu.edu (bennett@localhost [127.0.0.1]) by mp.cs.niu.edu (8.14.3/8.14.3) with ESMTP id o0ECqgrw022204; Thu, 14 Jan 2010 06:52:42 -0600 (CST) Date: Thu, 14 Jan 2010 06:52:42 -0600 (CST) From: Scott Bennett Message-Id: <201001141252.o0ECqghX022203@mp.cs.niu.edu> To: freebsd-questions@freebsd.org, Ivan Voras Cc: Subject: Re: GELI file systems unusable after "glabel label" operations X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 12:53:11 -0000 On Thu, 14 Jan 2010 10:30:00 +0100 Ivan Voras wrote: >Scott Bennett wrote: >> I used "glabel label" to label each of the file systems I have on external >> disk drives. Unfortunately, afterward I am now unable to "geli attach" any of >> the GELI-encrypted file systems. The system is FreeBSD 7.2-STABLE. > >Hmm, did you say you had geli-encrypted drives, then you have >overwritten the last sector with glabel, and then you are surprised you >cannot get to the data any more? No, I am not surprised, just disappointed that when I asked exactly that question on this list, the only response I got was one that missed the point of my question. So I experimented first with an unencrypted UFS2 file system and saw no problem with it. I then proceeded, but stupidly did it to both the primary encrypted file systems and the encrypted backup file system at the same time, so I can't restore from the backups I had taken because they are also hosed. Neither the man page nor the handbook covers the combination of a partition labeled by "glabel label" and encryption with GELI. Apparently, though, the two are completely incompatible. The label metadata have to be readable at boot time in order to create the /dev/label/whatever device file, but the metadata apparently occupy the same place as GELI metadata. What a mess. I have no idea how many hundreds, or perhaps thousands, of hours of work were lost, but it was a *lot* of time and effort. > > > Or have I just lost everything in the encrypted > > file systems? > >I think you did. > > From the geli(8) man page: > >"init ... The last provider’s sector is used to store metadata." > > From the glabel(8) man page: > >"label ... metadata is stored in a provider’s last sector." That was why I had originally posted my questions. It seemed to me that the usage of that sector might have been designed in such a way as to allow both GELI and labeling to be used together. It seem, however, that that capability was not included in the design. > >If you did "geli init ... da0" and then "glabel label ... da0" then you >have lost the geli metadata, which contains keys, etc. You might recover >this, though, by reading geli(8) about the "restore" command. The "restore" only works if a "backup" operation had been done to produce a file from which to restore the metadata, which I had never done. > >There is no way you can label your devices after you applied geli to >them (which is one of the points of using geli...). You could destroy >the geli layer (and the data), apply the label and then apply geli to >the label. > As noted above, that would not work because then the label would not be readable at boot time. It now looks to me as though the only way the two could be used in combination would require that the label and the GELI metadata be stored in separate places and that the label would have to be applied *after* the GELI data were created, so that the label would be readable at boot time. So the two features are currently unusable in combination. That means that a GELI-encrypted partition cannot be mounted by a /dev/label/whatever device, which means, in effect, that a GELI- encrypted partition cannot be mounted from a drive in a multiple-drive system using a device name given in /etc/fstab. Such a partition has to be mounted manually with the device file name entered explicitly. :-( Now I have one more question. If I use the same key file to do a "geli init" on one of the damaged partitions, what will happen? Is there a chance that the rest of the data might then be accessible? Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * ********************************************************************** From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 13:38:30 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AC48106568F for ; Thu, 14 Jan 2010 13:38:30 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 160798FC25 for ; Thu, 14 Jan 2010 13:38:29 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NVPu2-00019B-K9 for freebsd-questions@freebsd.org; Thu, 14 Jan 2010 14:38:22 +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 ; Thu, 14 Jan 2010 14:38:22 +0100 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Jan 2010 14:38:22 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Thu, 14 Jan 2010 14:38:10 +0100 Lines: 11 Message-ID: References: <201001141252.o0ECqghX022203@mp.cs.niu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.23 (X11/20091210) In-Reply-To: <201001141252.o0ECqghX022203@mp.cs.niu.edu> Sender: news Subject: Re: GELI file systems unusable after "glabel label" operations X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 13:38:30 -0000 Scott Bennett wrote: > As noted above, that would not work because then the label would not > be readable at boot time. Yes it would. What you would have is a nested configuration, geli within a label. The label would be read when the device is present, then you would be able to attach the geli device (probably as /dev/label/blah.geli, I didn't try it). From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 14:38:16 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC931106566B; Thu, 14 Jan 2010 14:38:16 +0000 (UTC) (envelope-from doug@polands.org) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.125]) by mx1.freebsd.org (Postfix) with ESMTP id 53B728FC1A; Thu, 14 Jan 2010 14:38:15 +0000 (UTC) X-Authority-Analysis: v=1.0 c=1 a=sVhNVL3m-NYA:10 a=5oGaD+IacabtnYYqBVNCkQ==:17 a=eZxGFqpGKB3kEt-yao8A:9 a=T97hir-GE-oH7i4-KIz4rb9DmjQA:4 X-Cloudmark-Score: 0 X-Originating-IP: 75.87.219.217 Received: from [75.87.219.217] ([75.87.219.217:59557] helo=haran.polands.org) by hrndva-oedge04.mail.rr.com (envelope-from ) (ecelerity 2.2.2.39 r()) with ESMTP id 95/E9-10402-65C2F4B4; Thu, 14 Jan 2010 14:38:15 +0000 Received: from email.polands.org (ammon.polands.org [172.16.1.7]) by haran.polands.org (8.14.3/8.14.3) with ESMTP id o0EEcEkG092008; Thu, 14 Jan 2010 08:38:14 -0600 (CST) (envelope-from doug@polands.org) Received: from 209.103.214.34 (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Thu, 14 Jan 2010 08:38:14 -0600 Message-ID: <27117211dd662bcf93055f4351243396.squirrel@email.polands.org> In-Reply-To: References: <8418112cdfada93d83ca0cb5307c1d21.squirrel@email.polands.org> <9bbcef731001131035x604cdea1t81b14589cb10ad25@mail.gmail.com> <9bbcef731001131157h256c4d14mbb241bc4326405f8@mail.gmail.com> <3aa09fd8723749d1fa65f1b9a6faac60.squirrel@email.polands.org> Date: Thu, 14 Jan 2010 08:38:14 -0600 From: "Doug Poland" To: "Ivan Voras" User-Agent: SquirrelMail/1.4.20-RC2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-questions@freebsd.org Subject: Re: 8.0-R-p2 ZFS: unixbench causing kmem exhaustion panic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 14:38:17 -0000 On Thu, January 14, 2010 03:17, Ivan Voras wrote: > Doug Poland wrote: >>>> >>> Ok, I re-ran with same config, but this time monitoring the >>> sysctls you requested* ( and the rest I was watching ): >>> >> I failed to mention that >> >> kstat.zfs.misc.arcstats.size >> >> seemed to fluctuate between about 164,000,00 and 180,000,000 bytes >> during this last run > > Is that with or without panicking? > with a panic > If the system did panic then it looks like the problem is a memory > leak somewhere else in the kernel, which you could confirm by > monitoring vmstat -z. > I'll give that a try. Am I looking for specific items in vmstat -z? arc*, zil*, zfs*, zio*? Please advise. -- Regards, Doug From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 14:51:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F09B106566B for ; Thu, 14 Jan 2010 14:51:02 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from mail-ew0-f211.google.com (mail-ew0-f211.google.com [209.85.219.211]) by mx1.freebsd.org (Postfix) with ESMTP id ADEBB8FC12 for ; Thu, 14 Jan 2010 14:51:01 +0000 (UTC) Received: by ewy3 with SMTP id 3so955048ewy.13 for ; Thu, 14 Jan 2010 06:50:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type:content-transfer-encoding; bh=N9DCuDM8NdP1R7f5q8DYhLk5pj7g7Of26t8Erl7/q6E=; b=qyis1PYEMOLoirTOT4PeyNcn2Cukl3238gafyPYduWbDQ2zpnEzPEF6UD24ouuYOm9 kneQXcABTCgANAPn55Lu74RZg+ChaPmL99i5tkR7TVHii5LJe7RWIezHLv3WqeClaQIF 23JxfariIbvHg+xQaDSX5sldeamKgqhQ3MMSc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=faaiXRgG7zamOeFyzZpsDF/kkRMb8M5HYuKvLJGfjJEtLCaSP7tx3wEJQps6qNMRa5 3W/KYKxDAzhoLTggjdAjHFrneQThSkOfDZetPmVTn+5Y+P93OzmK/5UgIR0I1zgfkvIZ FPLBQ07JsPHKld40FvPtD0RBgLQ7S9e88BQJs= MIME-Version: 1.0 Sender: ivoras@gmail.com Received: by 10.216.88.202 with SMTP id a52mr319723wef.101.1263480655265; Thu, 14 Jan 2010 06:50:55 -0800 (PST) In-Reply-To: <27117211dd662bcf93055f4351243396.squirrel@email.polands.org> References: <8418112cdfada93d83ca0cb5307c1d21.squirrel@email.polands.org> <9bbcef731001131035x604cdea1t81b14589cb10ad25@mail.gmail.com> <9bbcef731001131157h256c4d14mbb241bc4326405f8@mail.gmail.com> <3aa09fd8723749d1fa65f1b9a6faac60.squirrel@email.polands.org> <27117211dd662bcf93055f4351243396.squirrel@email.polands.org> From: Ivan Voras Date: Thu, 14 Jan 2010 15:50:34 +0100 X-Google-Sender-Auth: bf02bf1f2f6aabde Message-ID: <9bbcef731001140650h5d887843ubc6d555da993e8b6@mail.gmail.com> To: Doug Poland Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: 8.0-R-p2 ZFS: unixbench causing kmem exhaustion panic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 14:51:02 -0000 2010/1/14 Doug Poland : > > On Thu, January 14, 2010 03:17, Ivan Voras wrote: >> Doug Poland wrote: >>>>> >>>> Ok, I re-ran with same config, but this time monitoring the >>>> sysctls you requested* ( and the rest I was watching ): >>>> >>> I failed to mention that >>> >>> kstat.zfs.misc.arcstats.size >>> >>> seemed to fluctuate between about 164,000,00 and 180,000,000 bytes >>> during this last run >> >> Is that with or without panicking? >> > with a panic > > >> If the system did panic then it looks like the problem is a memory >> leak somewhere else in the kernel, which you could confirm by >> monitoring vmstat -z. >> > I'll give that a try. =C2=A0Am I looking for specific items in vmstat -z? > arc*, zil*, zfs*, zio*? =C2=A0Please advise. You should look for whatever is allocating all your memory between 180 MB (which is your ARC size) and 1.2 GB (which is your kmem size). From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 15:39:12 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FCFF106566B for ; Thu, 14 Jan 2010 15:39:12 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp103.prem.mail.ac4.yahoo.com (smtp103.prem.mail.ac4.yahoo.com [76.13.13.42]) by mx1.freebsd.org (Postfix) with SMTP id BBB4D8FC08 for ; Thu, 14 Jan 2010 15:39:11 +0000 (UTC) Received: (qmail 58312 invoked from network); 14 Jan 2010 15:39:11 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Date:From:To:Subject:Message-ID:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding; b=qa2VGJehaLiV0HpSKhDvSjIDiEeuR7mBZ2dsAs9u3fiIEelc9bbEoOpJFKpjBw8mkP1QEKHJfcQSrZPAQr0/u6IQhzO8h35ZCVo2hfXlOYtMRn14bnFviUTDbOl/VNundh/RGbYM/MzVGSKKCt7IjUu6NDu4RB/nHvsLPrjd7l4= ; Received: from c-67-189-160-65.hsd1.ny.comcast.net (gesbbb@67.189.160.65 with login) by smtp103.prem.mail.ac4.yahoo.com with SMTP; 14 Jan 2010 07:39:10 -0800 PST X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: nz5lY54VM1kcM_ZnU.Kmbpqc8i_DV5mXEUWZwvfID0h4TRSSkfh.Eo.Q18OVF9t3UpYhjR8Jj9pPD14bBkAGT5Z859cutPfXuss_GGZs.X7DG2Crs2yJl5fiV9QKKrDKxmcgW0N8cqdsAkp0AYtt.RhQCIP0Pq1DOILFUNsCGl.SfSVfX_bniBtPiGpZNxLa.7pvnU.11_XRRr8N9pmW9arcq112w38j9gcl080oMhigsnfS2DFe85gFuwZc_jpPutQwt7rTkfptCVdWHz6AOO6MHpDyMVz2gzDXJY.BYBSiHW3PEIpxQQVq8mIZmGvoH9cnxTgkWy2DLEVOMwYz8A0icEM8SkJRA6xK4oSVJHbyfMphC3O4N8BUPh3JjbJlfc2p2z5CmdC0JjEiR_XfjJjdfJPgH_RorH0u8jMfvtMAcYQ6g1AntA-- X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.101]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: gesbbb@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 0397B22841 for ; Thu, 14 Jan 2010 10:39:10 -0500 (EST) Date: Thu, 14 Jan 2010 10:39:09 -0500 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20100114103909.38edb83f@scorpio.seibercom.net> Organization: seibercom.net X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.5; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: USB 3.0 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, 14 Jan 2010 15:39:12 -0000 I just found this regarding USB 3.0: Hewlett-Packard has begun shipping some Envy 15 laptop configurations with USB 3.0 technology, becoming one of the first PC makers to do so. The full article is available here: http://www.win7news.net/100114-HP-Laptop-USB3 Will FreeBSD be able to take advantage of this updated technology? -- Jerry gesbbb@yahoo.com |::::======= |::::======= |=========== |=========== | Vermouth always makes me brilliant unless it makes me idiotic. E. F. Benson From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 16:10:28 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8FEE1065670; Thu, 14 Jan 2010 16:10:28 +0000 (UTC) (envelope-from doug@polands.org) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.122]) by mx1.freebsd.org (Postfix) with ESMTP id 86ED98FC12; Thu, 14 Jan 2010 16:10:22 +0000 (UTC) X-Authority-Analysis: v=1.0 c=1 a=sVhNVL3m-NYA:10 a=5oGaD+IacabtnYYqBVNCkQ==:17 a=bqq2Vc5EAAAA:8 a=vwW2RXWJ9rMwOB1OK4YA:9 a=c2DGg9vIrhK9ClHdTlKGdYJx3dUA:4 a=5ERLOmoKdHQA:10 X-Cloudmark-Score: 0 X-Originating-IP: 75.87.219.217 Received: from [75.87.219.217] ([75.87.219.217:65522] helo=haran.polands.org) by hrndva-oedge02.mail.rr.com (envelope-from ) (ecelerity 2.2.2.39 r()) with ESMTP id 07/0A-17464-DE14F4B4; Thu, 14 Jan 2010 16:10:21 +0000 Received: from email.polands.org (ammon.polands.org [172.16.1.7]) by haran.polands.org (8.14.3/8.14.3) with ESMTP id o0EGAKsH092329; Thu, 14 Jan 2010 10:10:20 -0600 (CST) (envelope-from doug@polands.org) Received: from 209.103.214.34 (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Thu, 14 Jan 2010 10:10:20 -0600 Message-ID: In-Reply-To: <9bbcef731001140650h5d887843ubc6d555da993e8b6@mail.gmail.com> References: <8418112cdfada93d83ca0cb5307c1d21.squirrel@email.polands.org> <9bbcef731001131035x604cdea1t81b14589cb10ad25@mail.gmail.com> <9bbcef731001131157h256c4d14mbb241bc4326405f8@mail.gmail.com> <3aa09fd8723749d1fa65f1b9a6faac60.squirrel@email.polands.org> <27117211dd662bcf93055f4351243396.squirrel@email.polands.org> <9bbcef731001140650h5d887843ubc6d555da993e8b6@mail.gmail.com> Date: Thu, 14 Jan 2010 10:10:20 -0600 From: "Doug Poland" To: "Ivan Voras" User-Agent: SquirrelMail/1.4.20-RC2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-questions@freebsd.org Subject: Re: 8.0-R-p2 ZFS: unixbench causing kmem exhaustion panic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 16:10:28 -0000 On Thu, January 14, 2010 08:50, Ivan Voras wrote: > 2010/1/14 Doug Poland : >>>> >>>> kstat.zfs.misc.arcstats.size >>>> >>>> seemed to fluctuate between about 164,000,00 and 180,000,000 bytes >>>> during this last run >>> >>> Is that with or without panicking? >>> >> with a panic >> >> >>> If the system did panic then it looks like the problem is a memory >>> leak somewhere else in the kernel, which you could confirm by >>> monitoring vmstat -z. >>> >> I'll give that a try.  Am I looking for specific items in vmstat >> -z? arc*, zil*, zfs*, zio*? Please advise. > > You should look for whatever is allocating all your memory between 180 > MB (which is your ARC size) and 1.2 GB (which is your kmem size). > OK, another run, this time back to vfs.zfs.arc_max=512M in /boot/loader.conf, and a panic: panic: kmem malloc(131072): kmem map too small: 1294258176 total allocated I admit I do not fully understand what metrics are important to proper analysis of this issue. In this case, I was watching the following within 1 second of the panic: sysctl kstat.zfs.misc.arcstats.size: 41739944 sysctl vfs.numvnodes: 678 sysctl vfs.zfs.arc_max: 536870912 sysctl vfs.zfs.arc_meta_limit: 134217728 sysctl vfs.zfs.arc_meta_used: 7228584 sysctl vfs.zfs.arc_min: 67108864 sysctl vfs.zfs.cache_flush_disable: 0 sysctl vfs.zfs.debug: 0 sysctl vfs.zfs.mdcomp_disable: 0 sysctl vfs.zfs.prefetch_disable: 1 sysctl vfs.zfs.recover: 0 sysctl vfs.zfs.scrub_limit: 10 sysctl vfs.zfs.super_owner: 0 sysctl vfs.zfs.txg.synctime: 5 sysctl vfs.zfs.txg.timeout: 30 sysctl vfs.zfs.vdev.aggregation_limit: 131072 sysctl vfs.zfs.vdev.cache.bshift: 16 sysctl vfs.zfs.vdev.cache.max: 16384 sysctl vfs.zfs.vdev.cache.size: 10485760 sysctl vfs.zfs.vdev.max_pending: 35 sysctl vfs.zfs.vdev.min_pending: 4 sysctl vfs.zfs.vdev.ramp_rate: 2 sysctl vfs.zfs.vdev.time_shift: 6 sysctl vfs.zfs.version.acl: 1 sysctl vfs.zfs.version.dmu_backup_header: 2 sysctl vfs.zfs.version.dmu_backup_stream: 1 sysctl vfs.zfs.version.spa: 13 sysctl vfs.zfs.version.vdev_boot: 1 sysctl vfs.zfs.version.zpl: 3 sysctl vfs.zfs.zfetch.array_rd_sz: 1048576 sysctl vfs.zfs.zfetch.block_cap: 256 sysctl vfs.zfs.zfetch.max_streams: 8 sysctl vfs.zfs.zfetch.min_sec_reap: 2 sysctl vfs.zfs.zil_disable: 0 sysctl vm.kmem_size: 1327202304 sysctl vm.kmem_size_max: 329853485875 sysctl vm.kmem_size_min: 0 sysctl vm.kmem_size_scale: 3 vmstat -z | egrep -i 'zfs|zil|arc|zio|files' ITEM SIZE LIMIT USED FREE REQUESTS Files: 80, 0, 116, 199, 850713 zio_cache: 720, 0, 53562, 98, 86386955 arc_buf_hdr_t: 208, 0, 1193, 31, 11990 arc_buf_t: 72, 0, 1180, 120, 11990 zil_lwb_cache: 200, 0, 11580, 2594, 62407 zfs_znode_cache: 376, 0, 605, 55, 654 vmstat -m |grep solaris|sed 's/K//'|awk '{print "vm.solaris:", $3*1024}' solaris: 1285068800 The value I see as the culprit is vmstat -m | grep solaris. This value fluctuates wildly during the run and is always near kmem_size at the time of the panic. Again, I'm not sure what to look for here, and you are patiently helping me along in this process. If you have any tips or can point me to docs on how to easily monitor these values, I will endeavor to do so. -- Regards, Doug From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 16:16:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B320106566C for ; Thu, 14 Jan 2010 16:16:14 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id CB32F8FC1B for ; Thu, 14 Jan 2010 16:16:13 +0000 (UTC) Received: by fxm27 with SMTP id 27so991796fxm.3 for ; Thu, 14 Jan 2010 08:16:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type:content-transfer-encoding; bh=iX7MFuMc0oXYwU/bXmK5KOEGd9hKYHRBSekgPq9HFyw=; b=AlZSZZyIyepL3GhLYTLHICfXnbaWOduNsZPKho+XQ+O0pIXBEmbDM29dIogCfkTNnQ ERYV+yRrHoIIbjEfe75ULR89VoJbStqudQ1NFz+/bM9Ey+9zYOdp4kpXSqI0gJlq3X3G B0f1Hz6NnWMrXozWnuCHJ0NrlaQIonWhKdjkI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=KOa6qXfVJ3RSUbfb0h7PawTNPvStIvocXjXhABUsa07mcWsyH7o9+PJE9YvjlSTbQt jsxccURkhO8HRmuhtle/yiRyiNu6uQRx6OszH0ljVbAJ+IF7Ej6AJV1TZQ5RBeHAjFXl uUo9J+XA2nhuBNNhlLfal3Cpv7tgC6Tn74+Uo= MIME-Version: 1.0 Sender: ivoras@gmail.com Received: by 10.216.85.5 with SMTP id t5mr353621wee.142.1263485767659; Thu, 14 Jan 2010 08:16:07 -0800 (PST) In-Reply-To: References: <8418112cdfada93d83ca0cb5307c1d21.squirrel@email.polands.org> <9bbcef731001131035x604cdea1t81b14589cb10ad25@mail.gmail.com> <9bbcef731001131157h256c4d14mbb241bc4326405f8@mail.gmail.com> <3aa09fd8723749d1fa65f1b9a6faac60.squirrel@email.polands.org> <27117211dd662bcf93055f4351243396.squirrel@email.polands.org> <9bbcef731001140650h5d887843ubc6d555da993e8b6@mail.gmail.com> From: Ivan Voras Date: Thu, 14 Jan 2010 17:15:47 +0100 X-Google-Sender-Auth: 1a7f25e6100da177 Message-ID: <9bbcef731001140815h5ee1d672je58c8ec91382e8d4@mail.gmail.com> To: Doug Poland Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: 8.0-R-p2 ZFS: unixbench causing kmem exhaustion panic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 16:16:14 -0000 2010/1/14 Doug Poland : > > On Thu, January 14, 2010 08:50, Ivan Voras wrote: >> 2010/1/14 Doug Poland : >>>>> >>>>> kstat.zfs.misc.arcstats.size >>>>> >>>>> seemed to fluctuate between about 164,000,00 and 180,000,000 bytes >>>>> during this last run >>>> >>>> Is that with or without panicking? >>>> >>> with a panic >>> >>> >>>> If the system did panic then it looks like the problem is a memory >>>> leak somewhere else in the kernel, which you could confirm by >>>> monitoring vmstat -z. >>>> >>> I'll give that a try. =C2=A0Am I looking for specific items in vmstat >>> -z? =C2=A0 arc*, zil*, zfs*, zio*? =C2=A0Please advise. >> >> You should look for whatever is allocating all your memory between 180 >> MB (which is your ARC size) and 1.2 GB (which is your kmem size). >> > > OK, another run, this time back to vfs.zfs.arc_max=3D512M in > /boot/loader.conf, and a panic: > > panic: kmem malloc(131072): kmem map too small: 1294258176 total > allocated > > I admit I do not fully understand what metrics are important to proper > analysis of this issue. =C2=A0In this case, I was watching the following > within 1 second of the panic: > > sysctl kstat.zfs.misc.arcstats.size: 41739944 > sysctl vfs.numvnodes: 678 > sysctl vfs.zfs.arc_max: 536870912 > sysctl vfs.zfs.arc_meta_limit: 134217728 > sysctl vfs.zfs.arc_meta_used: 7228584 > sysctl vfs.zfs.arc_min: 67108864 > sysctl vfs.zfs.cache_flush_disable: 0 > sysctl vfs.zfs.debug: 0 > sysctl vfs.zfs.mdcomp_disable: 0 > sysctl vfs.zfs.prefetch_disable: 1 > sysctl vfs.zfs.recover: 0 > sysctl vfs.zfs.scrub_limit: 10 > sysctl vfs.zfs.super_owner: 0 > sysctl vfs.zfs.txg.synctime: 5 > sysctl vfs.zfs.txg.timeout: 30 > sysctl vfs.zfs.vdev.aggregation_limit: 131072 > sysctl vfs.zfs.vdev.cache.bshift: 16 > sysctl vfs.zfs.vdev.cache.max: 16384 > sysctl vfs.zfs.vdev.cache.size: 10485760 > sysctl vfs.zfs.vdev.max_pending: 35 > sysctl vfs.zfs.vdev.min_pending: 4 > sysctl vfs.zfs.vdev.ramp_rate: 2 > sysctl vfs.zfs.vdev.time_shift: 6 > sysctl vfs.zfs.version.acl: 1 > sysctl vfs.zfs.version.dmu_backup_header: 2 > sysctl vfs.zfs.version.dmu_backup_stream: 1 > sysctl vfs.zfs.version.spa: 13 > sysctl vfs.zfs.version.vdev_boot: 1 > sysctl vfs.zfs.version.zpl: 3 > sysctl vfs.zfs.zfetch.array_rd_sz: 1048576 > sysctl vfs.zfs.zfetch.block_cap: 256 > sysctl vfs.zfs.zfetch.max_streams: 8 > sysctl vfs.zfs.zfetch.min_sec_reap: 2 > sysctl vfs.zfs.zil_disable: 0 > sysctl vm.kmem_size: 1327202304 > sysctl vm.kmem_size_max: 329853485875 > sysctl vm.kmem_size_min: 0 > sysctl vm.kmem_size_scale: 3 > > > vmstat -z | egrep -i 'zfs|zil|arc|zio|files' > ITEM =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 SIZE =C2=A0 =C2=A0 LIMIT =C2=A0 =C2=A0 =C2=A0USED =C2=A0 =C2=A0 =C2=A0F= REE =C2=A0REQUESTS > Files: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 80, =C2=A0 =C2=A0 =C2=A0 =C2=A00, =C2=A0 =C2=A0 =C2=A0116, =C2=A0 =C2= =A0 =C2=A0199, =C2=A0 850713 > zio_cache: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0720, = =C2=A0 =C2=A0 =C2=A0 =C2=A00, =C2=A0 =C2=A053562, =C2=A0 =C2=A0 =C2=A0 98, = 86386955 > arc_buf_hdr_t: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0208, =C2=A0 =C2= =A0 =C2=A0 =C2=A00, =C2=A0 =C2=A0 1193, =C2=A0 =C2=A0 =C2=A0 31, =C2=A0 =C2= =A011990 > arc_buf_t: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 72, = =C2=A0 =C2=A0 =C2=A0 =C2=A00, =C2=A0 =C2=A0 1180, =C2=A0 =C2=A0 =C2=A0120, = =C2=A0 =C2=A011990 > zil_lwb_cache: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0200, =C2=A0 =C2= =A0 =C2=A0 =C2=A00, =C2=A0 =C2=A011580, =C2=A0 =C2=A0 2594, =C2=A0 =C2=A062= 407 > zfs_znode_cache: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0376, =C2=A0 =C2=A0 =C2= =A0 =C2=A00, =C2=A0 =C2=A0 =C2=A0605, =C2=A0 =C2=A0 =C2=A0 55, =C2=A0 =C2= =A0 =C2=A0654 > > vmstat -m |grep solaris|sed 's/K//'|awk '{print "vm.solaris:", $3*1024}' > > > =C2=A0solaris: 1285068800 > > > The value I see as the culprit is vmstat -m | grep solaris. =C2=A0This > value fluctuates wildly during the run and is always near kmem_size at > the time of the panic. > > Again, I'm not sure what to look for here, and you are patiently > helping me along in this process. =C2=A0If you have any tips or can point > me to docs on how to easily monitor these values, I will endeavor to > do so. The only really important ones should be kstat.zfs.misc.arcstats.size (which you very rarely print) and vm.kmem_size. The "solaris" entry above should be near kstat.zfs.misc.arcstats.size in all cases. But I don't have any more ideas here. Try taking this post (also include kstst.zfs.misc.arcstats.size) to the freebsd-fs@ mailing list. From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 16:57:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C814106566B for ; Thu, 14 Jan 2010 16:57:21 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id F28FF8FC08 for ; Thu, 14 Jan 2010 16:57:20 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id o0EGvIBv047565 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 14 Jan 2010 10:57:18 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.3) with ESMTP id o0EGvHGp040380 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 14 Jan 2010 10:57:18 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.3/Submit) id o0EGvHRb040376; Thu, 14 Jan 2010 10:57:17 -0600 (CST) (envelope-from dan) Date: Thu, 14 Jan 2010 10:57:17 -0600 From: Dan Nelson To: Gary Kline Message-ID: <20100114165717.GA5651@dan.emsphone.com> References: <20100114012059.GA3921@thought.org> <20100114013746.GB67999@orion.hsd1.pa.comcast.net> <20100114024242.GA9744@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100114024242.GA9744@thought.org> X-OS: FreeBSD 7.2-STABLE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.95.3 at email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Thu, 14 Jan 2010 10:57:18 -0600 (CST) X-Scanned-By: MIMEDefang 2.45 Cc: Glen Barber , freebsd-questions@freebsd.org Subject: Re: any port use /dev/dsp directly? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 16:57:21 -0000 In the last episode (Jan 13), Gary Kline said: > On Wed, Jan 13, 2010 at 08:37:46PM -0500, Glen Barber wrote: > > Gary Kline wrote: > > > I have a couple short programs where I mess with /dev/dsp. I'll > > > open check to be sure the speed is right, open in mono or stereo, > > > &c. is there anything is ports that uses this dev by opening, doing > > > ioctls and so forth? > > > > > > I think I may need to flush my data before closing the FILE *FP. Not > > > sure; just guessing. > > > > > > > I don't know if this directly answers your question, but from sound(4): > > > > hw.snd.default_unit > > Default sound card for systems with multiple sound cards. When > > using devfs(5), the default device for /dev/dsp. Equivalent to a > > symlink from /dev/dsp to /dev/dsp${hw.snd.default_unit}. > > > > FWIW, www/linux-f10-flashplugin10 is using /dev/dsp0.0 on my system at the > > moment. > > Thanks, but I already read the sound man page. I am trying to emulate > > /bin/cat WAVEFILE > /dev/dsp > > which works well by opening /dev/dsp, making sure everything is set, the > writing the bytes of the WAVEFILE thru/into the device with a write() > call. It works, the sound echoes, but at the end is an ugly HISSing or > FIZZZZ sound. You're probably playing an mp3-style tag at the end of the file, or some other metadata encoded in the wav file format. /dev/dsp takes raw bytes, and doesn't parse a file headers at all. A better way to play wav files would be to install the sox port and use its included "play" command, which will parse the wav file format and only send the audio data to /dev/dsp. It'll also play compressed audio files (mp3, or other non-raw wav encodings). If you want a simple example of how to play a raw sound file, try this. You can tell its age by the fact that it can play through /dev/pcaudio, but it still works :) #include #include #include #include #include #include int main(int argc, char *argv[]) { int fd; int rate = 8012; int bits = 8; int speaker = 0; int channels = 1; int c; int len; char buf[1024]; while ((c = getopt(argc, argv, "r:b:c:s")) != EOF) { switch (c) { case 's': speaker = 1; break; case 'r': rate = atoi(optarg); break; case 'c': channels = atoi(optarg); break; case 'b': bits = atoi(optarg); break; case '?': case 'h': printf ("play [-s] [-c channels] [-r rate] [-b bits] < audio_file\n"); exit(1); break; } } if (speaker) { audio_info_t ait; ait.play.sample_rate = rate; ait.play.encoding = AUDIO_ENCODING_RAW; ait.play.gain = 150; ait.play.pause = -1; fd = open("/dev/pcaudio", O_WRONLY); ioctl(fd, AUDIO_SETINFO, &ait); } else { fd = open("/dev/dsp", O_WRONLY); ioctl(fd, SNDCTL_DSP_SETFMT, &bits); ioctl(fd, SOUND_PCM_WRITE_RATE, &rate); ioctl(fd, SOUND_PCM_WRITE_CHANNELS, &channels); } while ((len = read(fileno(stdin), buf, sizeof(buf))) > 0) write(fd, buf, len); return 0; } -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 17:42:42 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F424106566C for ; Thu, 14 Jan 2010 17:42:42 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr16.xs4all.nl (smtp-vbr16.xs4all.nl [194.109.24.36]) by mx1.freebsd.org (Postfix) with ESMTP id 9F2C08FC0C for ; Thu, 14 Jan 2010 17:42:41 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr16.xs4all.nl (8.13.8/8.13.8) with ESMTP id o0EHgWr7089721; Thu, 14 Jan 2010 18:42:33 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 9A38EBA7E; Thu, 14 Jan 2010 18:42:32 +0100 (CET) Date: Thu, 14 Jan 2010 18:42:32 +0100 From: Roland Smith To: Scott Bennett Message-ID: <20100114174232.GA12391@slackbox.xs4all.nl> References: <201001140731.o0E7VtQ0018243@mp.cs.niu.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP" Content-Disposition: inline In-Reply-To: <201001140731.o0E7VtQ0018243@mp.cs.niu.edu> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: GELI file systems unusable after "glabel label" operations X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 17:42:42 -0000 --jRHKVT23PllUwdXP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 14, 2010 at 01:31:55AM -0600, Scott Bennett wrote: > I used "glabel label" to label each of the file systems I have on ex= ternal > disk drives. Unfortunately, afterward I am now unable to "geli attach" a= ny of > the GELI-encrypted file systems. The system is FreeBSD 7.2-STABLE. Is t= here > a way to get this to work? Or have I just lost everything in the encrypt= ed > file systems? Did you use 'geli init /dev/daXsY' and 'glabel label /dev/daXsY'? That will overwrite the geli metadata with the glabel metadata!=20 Check /var/backups. There should be *.eli files there. Those are the automa= tic metadata backups that 'geli init' makes (at least in 8.0). You can restore those backups with 'geli restore'. Running 'geli init' again with the same parameters will not work, because 'geli init' uses a random component in the key generation. In other words, = two inits with the same password will not generate the same key! What you should have done (for future refrence) is use geli(8) to create the encrypted device, then create a filesystem on that encrypted device with newfs(8) using the '-L' flag to set the volume name. Or use tunefs(8) to set the volume name later. These names will be automatically recognized next ti= me you attach it and listed in /dev/ufs/. 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) --jRHKVT23PllUwdXP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAktPV4gACgkQEnfvsMMhpyUjXQCcCVwohdAAR9QlLRH8Qfz5bmpO yJEAnA5ciJlT9GXVk8eHJE7pZZxiQplY =0NSO -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP-- From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 18:31:00 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A62010656EE for ; Thu, 14 Jan 2010 18:31:00 +0000 (UTC) (envelope-from carmel_ny@hotmail.com) Received: from blu0-omc4-s11.blu0.hotmail.com (blu0-omc4-s11.blu0.hotmail.com [65.55.111.150]) by mx1.freebsd.org (Postfix) with ESMTP id 40C848FC0C for ; Thu, 14 Jan 2010 18:30:59 +0000 (UTC) Received: from BLU0-SMTP87 ([65.55.111.136]) by blu0-omc4-s11.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 14 Jan 2010 10:30:59 -0800 X-Originating-IP: [67.189.160.65] X-Originating-Email: [carmel_ny@hotmail.com] Message-ID: Received: from scorpio.seibercom.net ([67.189.160.65]) by BLU0-SMTP87.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Thu, 14 Jan 2010 10:30:58 -0800 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.101]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: carmel_ny@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 5E1632283B for ; Thu, 14 Jan 2010 13:30:54 -0500 (EST) Date: Thu, 14 Jan 2010 13:30:54 -0500 From: Carmel To: freebsd-questions@freebsd.org Organization: seibercom.net X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.5; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 14 Jan 2010 18:30:59.0032 (UTC) FILETIME=[B7ADD580:01CA9547] Subject: Regular Expression Editor 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, 14 Jan 2010 18:31:00 -0000 I am looking for a RegExp editor. I have one that I have used under Windows; however, it will not obviously work on FreeBSD. What I need is one that I can write the expression in and then have it test the expression for both syntax and against example text that I enter. I have not been able to locate a FOSS solution for that although there are numerous commercial products available. -- Carmel carmel_ny@hotmail.com From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 18:38:42 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FADC1065670 for ; Thu, 14 Jan 2010 18:38:42 +0000 (UTC) (envelope-from merlyn@stonehenge.com) Received: from blue.stonehenge.com (cl-52.chi-02.us.sixxs.net [IPv6:2001:4978:f:33::2]) by mx1.freebsd.org (Postfix) with ESMTP id 68C8F8FC18 for ; Thu, 14 Jan 2010 18:38:42 +0000 (UTC) Received: by blue.stonehenge.com (Postfix, from userid 1001) id D28A01DE294; Thu, 14 Jan 2010 10:38:41 -0800 (PST) To: freebsd-questions@freebsd.org References: From: merlyn@stonehenge.com (Randal L. Schwartz) x-mayan-date: Long count = 12.19.17.0.8; tzolkin = 11 Lamat; haab = 6 Muan Date: Thu, 14 Jan 2010 10:38:41 -0800 In-Reply-To: (carmel_ny@hotmail.com's message of "Thu, 14 Jan 2010 13:30:54 -0500") Message-ID: <866374fs5q.fsf@blue.stonehenge.com> User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Regular Expression Editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 18:38:42 -0000 >>>>> "Carmel" == Carmel writes: Carmel> I am looking for a RegExp editor. I have one that I have used under Carmel> Windows; however, it will not obviously work on FreeBSD. What I need is Carmel> one that I can write the expression in and then have it test the Carmel> expression for both syntax and against example text that I enter. I Carmel> have not been able to locate a FOSS solution for that although there are Carmel> numerous commercial products available. You need to be specific about the kind of regex. While most regexp engines have common things like . and * and ^ and $, the meanings may vary a bit, and the more exotic things are certainly going to vary. (For example, despite the name, "Perl Compatible [sic] Regular Expressions" are *not* Perl compatible.) What tool are you using your regexes with? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 18:40:27 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 497F11065670 for ; Thu, 14 Jan 2010 18:40:27 +0000 (UTC) (envelope-from freebsd-questions@pp.dyndns.biz) Received: from proxy2.bredband.net (proxy2.bredband.net [195.54.101.72]) by mx1.freebsd.org (Postfix) with ESMTP id 01D878FC14 for ; Thu, 14 Jan 2010 18:40:26 +0000 (UTC) Received: from ipb2.telenor.se (195.54.127.165) by proxy2.bredband.net (7.3.140.3) id 4AD3E1BC02620D5B for freebsd-questions@freebsd.org; Thu, 14 Jan 2010 19:40:24 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApE6AM7zTktV4js3PGdsb2JhbACBRYZvkzgBAQEBN70uhDAE X-IronPort-AV: E=Sophos;i="4.49,276,1262559600"; d="scan'208";a="26640665" Received: from c-373be255.107-1-64736c10.cust.bredbandsbolaget.se (HELO gatekeeper.pp.dyndns.biz) ([85.226.59.55]) by ipb2.telenor.se with ESMTP; 14 Jan 2010 19:40:24 +0100 Received: from [192.168.69.67] (phobos [192.168.69.67]) by gatekeeper.pp.dyndns.biz (8.14.3/8.14.3) with ESMTP id o0EIeLS0043792 for ; Thu, 14 Jan 2010 19:40:22 +0100 (CET) (envelope-from freebsd-questions@pp.dyndns.biz) Message-ID: <4B4F6515.6040105@pp.dyndns.biz> Date: Thu, 14 Jan 2010 19:40:21 +0100 From: =?ISO-8859-1?Q?Morgan_Wesstr=F6m?= User-Agent: Thunderbird 2.0.0.23 (X11/20091010) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Problem with USB serial in linux emulation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 18:40:27 -0000 Dear list. I have an USB smartcard reader that emulates a serial port. It uses the uftdi.ko kernel module and creates the following device nodes when plugged in. System is FreeBSD 7.2-RELEASE-p3 amd64. crw-rw---- 1 uucp dialer 0, 110 Jan 14 19:27 /dev/cuaU0 crw-rw---- 1 uucp dialer 0, 111 Jan 7 14:01 /dev/cuaU0.init crw-rw---- 1 uucp dialer 0, 112 Jan 7 14:01 /dev/cuaU0.lock crw------- 1 root wheel 0, 107 Jan 14 19:25 /dev/ttyU0 crw------- 1 root wheel 0, 108 Jan 7 14:01 /dev/ttyU0.init crw------- 1 root wheel 0, 109 Jan 7 14:01 /dev/ttyU0.lock dmesg output: ucom0: Serial, class 0/0, rev 1.10/4.00, addr 2> on uhub5 I'm trying to access it with a linux program and the program initializes and manages to read at least some basic info from the card but any further communication with the card results in the following message regardless of what device node I use: linux_sys_futex: unknown op 265 Same software and reader works on a pure linux machine. Does anyone have any hints on what I can do to try to track this problem down? Some clarification on what the difference is between cuaU0 and ttyU0 would be appreciated too and which of them I should use primarily. Regards Morgan From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 18:48:43 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26F79106566C for ; Thu, 14 Jan 2010 18:48:43 +0000 (UTC) (envelope-from sbremal@hotmail.com) Received: from snt0-omc4-s19.snt0.hotmail.com (snt0-omc4-s19.snt0.hotmail.com [65.55.90.222]) by mx1.freebsd.org (Postfix) with ESMTP id F29D38FC24 for ; Thu, 14 Jan 2010 18:48:42 +0000 (UTC) Received: from SNT127-W30 ([65.55.90.200]) by snt0-omc4-s19.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 14 Jan 2010 10:46:45 -0800 Message-ID: X-Originating-IP: [82.113.113.82] From: CC: Date: Thu, 14 Jan 2010 18:46:45 +0000 Importance: Normal In-Reply-To: <3E40B1C3-6A65-417D-8489-E3156F8BDC11@mac.com> References: , , , <3E40B1C3-6A65-417D-8489-E3156F8BDC11@mac.com> Content-Type: text/plain; charset="windows-1256" Content-Transfer-Encoding: 8bit MIME-Version: 1.0 X-OriginalArrivalTime: 14 Jan 2010 18:46:45.0395 (UTC) FILETIME=[EBC15E30:01CA9549] Subject: RE: NFS exporting mounted msdosfs subdir X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 18:48:43 -0000 Hi, A quick search on the internet shows that people use msdosfs with NFS, at least on NetBSD (sorry): http://arkiv.netbsd.se/?ml=dfbsd-bugs&a=2004-04&t=104901 My FreeBSD mount also shows that the msdosfs mount point is NFS exported. So, from the side of whether nfsd supports msdosfs, I am convinced. Any further idea for this error: 22:47:45.184593 IP 10.0.0.4.1973235244> 10.0.0.2.nfs: 116 readdir [|nfs] 22:47:45.184707 IP 10.0.0.2.nfs> 10.0.0.4.1973235244: reply ok 608 readdir 22:47:45.186389 IP 10.0.0.4.1973235245> 10.0.0.2.nfs: 120 readdirplus [|nfs] 22:47:45.186499 IP 10.0.0.2.nfs> 10.0.0.4.1973235245: reply ok 116 readdirplus ERROR: Operation not supported ? -Balazs > From: cswiger@mac.com > Date: Wed, 13 Jan 2010 14:24:55 -0800 > To: sbremal@hotmail.com > CC: freebsd-questions@freebsd.org > Subject: Re: NFS exporting mounted msdosfs subdir > > Hi-- > > On Jan 13, 2010, at 1:52 PM, sbremal@hotmail.com wrote: >> Anyone has got an idea how this can be resolved? Thanks. > > Does FreeBSD even support NFS-exporting a locally mounted MS-DOS filesystem? Traditionally, NFS was implemented over the default UFS filesystem and it was common for other filesystem typess to not be exportable.... > > -- > -Chuck > > _______________________________________________ > 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" _________________________________________________________________ Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail you. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010 From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 19:24:53 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73882106566B for ; Thu, 14 Jan 2010 19:24:53 +0000 (UTC) (envelope-from carmel_ny@hotmail.com) Received: from blu0-omc4-s18.blu0.hotmail.com (blu0-omc4-s18.blu0.hotmail.com [65.55.111.157]) by mx1.freebsd.org (Postfix) with ESMTP id 26A658FC0A for ; Thu, 14 Jan 2010 19:24:52 +0000 (UTC) Received: from BLU0-SMTP78 ([65.55.111.137]) by blu0-omc4-s18.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 14 Jan 2010 11:24:52 -0800 X-Originating-IP: [67.189.160.65] X-Originating-Email: [carmel_ny@hotmail.com] Message-ID: Received: from scorpio.seibercom.net ([67.189.160.65]) by BLU0-SMTP78.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Thu, 14 Jan 2010 11:24:52 -0800 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.101]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: carmel_ny@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id BFE8E22841 for ; Thu, 14 Jan 2010 14:24:49 -0500 (EST) Date: Thu, 14 Jan 2010 14:24:49 -0500 From: Carmel To: freebsd-questions@freebsd.org In-Reply-To: <866374fs5q.fsf@blue.stonehenge.com> References: <866374fs5q.fsf@blue.stonehenge.com> Organization: seibercom.net X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.5; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 14 Jan 2010 19:24:52.0313 (UTC) FILETIME=[3EDD5C90:01CA954F] Subject: Re: Regular Expression Editor 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, 14 Jan 2010 19:24:53 -0000 On Thu, 14 Jan 2010 10:38:41 -0800 Randal L. Schwartz replied: >You need to be specific about the kind of regex. While most regexp >engines have common things like . and * and ^ and $, the meanings may >vary a bit, and the more exotic things are certainly going to vary. > >(For example, despite the name, "Perl Compatible [sic] Regular >Expressions" are *not* Perl compatible.) > >What tool are you using your regexes with? OK, I was using RegExp Buddy on a Windows machine. I would like to find something similar to it for a FreeBSD environment. The expressions I create are used primarily with 'sieve' in conjunction with Dovecot. I am also thinking of possibly creating a few for use with Postfix. -- Jerry gesbbb@yahoo.com |::::======= |::::======= |=========== |=========== | Do not try to solve all life's problems at once -- learn to dread each day as it comes. Donald Kaul From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 20:10:46 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D0F2106566C for ; Thu, 14 Jan 2010 20:10:46 +0000 (UTC) (envelope-from freebsd-questions@pp.dyndns.biz) Received: from proxy1.bredband.net (proxy1.bredband.net [195.54.101.71]) by mx1.freebsd.org (Postfix) with ESMTP id 15DC38FC16 for ; Thu, 14 Jan 2010 20:10:45 +0000 (UTC) Received: from ipb1.telenor.se (195.54.127.164) by proxy1.bredband.net (7.3.140.3) id 4AD3E1C0025F6C99 for freebsd-questions@freebsd.org; Thu, 14 Jan 2010 21:10:44 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApE6AKoIT0tV4js3PGdsb2JhbACBRIZvkzgBAQEBN7wQhDAE X-IronPort-AV: E=Sophos;i="4.49,277,1262559600"; d="scan'208";a="26663143" Received: from c-373be255.107-1-64736c10.cust.bredbandsbolaget.se (HELO gatekeeper.pp.dyndns.biz) ([85.226.59.55]) by ipb1.telenor.se with ESMTP; 14 Jan 2010 21:10:44 +0100 Received: from [192.168.69.67] (phobos [192.168.69.67]) by gatekeeper.pp.dyndns.biz (8.14.3/8.14.3) with ESMTP id o0EKAgSO050404 for ; Thu, 14 Jan 2010 21:10:43 +0100 (CET) (envelope-from freebsd-questions@pp.dyndns.biz) Message-ID: <4B4F7A42.407@pp.dyndns.biz> Date: Thu, 14 Jan 2010 21:10:42 +0100 From: =?ISO-8859-1?Q?Morgan_Wesstr=F6m?= User-Agent: Thunderbird 2.0.0.23 (X11/20091010) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4B4F6515.6040105@pp.dyndns.biz> In-Reply-To: <4B4F6515.6040105@pp.dyndns.biz> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: Problem with USB serial in linux emulation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 20:10:46 -0000 Morgan Wesström wrote: > Dear list. > > I have an USB smartcard reader that emulates a serial port. It uses the > uftdi.ko kernel module and creates the following device nodes when > plugged in. System is FreeBSD 7.2-RELEASE-p3 amd64. > > crw-rw---- 1 uucp dialer 0, 110 Jan 14 19:27 /dev/cuaU0 > crw-rw---- 1 uucp dialer 0, 111 Jan 7 14:01 /dev/cuaU0.init > crw-rw---- 1 uucp dialer 0, 112 Jan 7 14:01 /dev/cuaU0.lock > crw------- 1 root wheel 0, 107 Jan 14 19:25 /dev/ttyU0 > crw------- 1 root wheel 0, 108 Jan 7 14:01 /dev/ttyU0.init > crw------- 1 root wheel 0, 109 Jan 7 14:01 /dev/ttyU0.lock > > dmesg output: > > ucom0: Serial, class 0/0, rev 1.10/4.00, addr 2> on uhub5 > > I'm trying to access it with a linux program and the program initializes > and manages to read at least some basic info from the card but any > further communication with the card results in the following message > regardless of what device node I use: > > linux_sys_futex: unknown op 265 > > Same software and reader works on a pure linux machine. > > Does anyone have any hints on what I can do to try to track this problem > down? Some clarification on what the difference is between cuaU0 and > ttyU0 would be appreciated too and which of them I should use primarily. Adding some more info myself here. Initially I only copied the shared libraries the program needed from my Linux computer and loaded the linux kernel module. Installing the full linux_base-f10 port seems to get rid of the error message so it seems unrelated to the actual communication problem I experience. The program initially detects the card in the reader but as soon as I try to communicate with it, the program thinks the reader is empty. Does anyone recognize this behaviour? /Morgan From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 20:16:35 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75C14106566C for ; Thu, 14 Jan 2010 20:16:35 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 2D1628FC13 for ; Thu, 14 Jan 2010 20:16:34 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o0EKGGeu046381; Thu, 14 Jan 2010 12:16:17 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Thu, 14 Jan 2010 12:16:17 -0800 (PST) Date: Thu, 14 Jan 2010 12:16:16 -0800 From: Gary Kline To: Dan Nelson Message-ID: <20100114201616.GA73961@thought.org> References: <20100114012059.GA3921@thought.org> <20100114013746.GB67999@orion.hsd1.pa.comcast.net> <20100114024242.GA9744@thought.org> <20100114165717.GA5651@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100114165717.GA5651@dan.emsphone.com> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-1.2 required=3.6 tests=ALL_TRUSTED,BAYES_00, FH_DATE_PAST_20XX autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: Glen Barber , freebsd-questions@freebsd.org Subject: Re: any port use /dev/dsp directly? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 20:16:35 -0000 On Thu, Jan 14, 2010 at 10:57:17AM -0600, Dan Nelson wrote: > In the last episode (Jan 13), Gary Kline said: > > On Wed, Jan 13, 2010 at 08:37:46PM -0500, Glen Barber wrote: > > > Gary Kline wrote: > > > > I have a couple short programs where I mess with /dev/dsp. I'll > > > > open check to be sure the speed is right, open in mono or stereo, > > > > &c. is there anything is ports that uses this dev by opening, doing > > > > ioctls and so forth? > > > > > > > > I think I may need to flush my data before closing the FILE *FP. Not > > > > sure; just guessing. > > > > > > > > > > I don't know if this directly answers your question, but from sound(4): > > > > > > hw.snd.default_unit > > > Default sound card for systems with multiple sound cards. When > > > using devfs(5), the default device for /dev/dsp. Equivalent to a > > > symlink from /dev/dsp to /dev/dsp${hw.snd.default_unit}. > > > > > > FWIW, www/linux-f10-flashplugin10 is using /dev/dsp0.0 on my system at the > > > moment. > > > > Thanks, but I already read the sound man page. I am trying to emulate > > > > /bin/cat WAVEFILE > /dev/dsp > > > > which works well by opening /dev/dsp, making sure everything is set, the > > writing the bytes of the WAVEFILE thru/into the device with a write() > > call. It works, the sound echoes, but at the end is an ugly HISSing or > > FIZZZZ sound. saved the program to /tmp, thanks! > > You're probably playing an mp3-style tag at the end of the file, or some > other metadata encoded in the wav file format. /dev/dsp takes raw bytes, > and doesn't parse a file headers at all. > > A better way to play wav files would be to install the sox port and use its > included "play" command, which will parse the wav file format and only send > the audio data to /dev/dsp. It'll also play compressed audio files (mp3, or > other non-raw wav encodings). the hiss at the end probably is due to whatever metadata at the end of my WAV file. Can sox translate this file into a raw byte-stream of data that I can cat of write() into the device? (I thought that /dev/dsp was associated with the *.WAV files ... but evidently not.) > > If you want a simple example of how to play a raw sound file, try this. You > can tell its age by the fact that it can play through /dev/pcaudio, but it > still works :) > Ear-to-ear!! gary > > > -- > 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 http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 20:42:44 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7796A106568F for ; Thu, 14 Jan 2010 20:42:44 +0000 (UTC) (envelope-from pp@pp.dyndns.biz) Received: from proxy2.bredband.net (proxy2.bredband.net [195.54.101.72]) by mx1.freebsd.org (Postfix) with ESMTP id 30FBD8FC16 for ; Thu, 14 Jan 2010 20:42:43 +0000 (UTC) Received: from ipb2.telenor.se (195.54.127.165) by proxy2.bredband.net (7.3.140.3) id 4AD3E1BC0262B190 for freebsd-questions@freebsd.org; Thu, 14 Jan 2010 21:42:42 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AklDABsRT0tV4js3PGdsb2JhbACBRIZvkzkBAQEBN7wHhDAE X-IronPort-AV: E=Sophos;i="4.49,277,1262559600"; d="scan'208";a="26666328" Received: from c-373be255.107-1-64736c10.cust.bredbandsbolaget.se (HELO gatekeeper.pp.dyndns.biz) ([85.226.59.55]) by ipb2.telenor.se with ESMTP; 14 Jan 2010 21:42:42 +0100 Received: from [192.168.69.67] (phobos [192.168.69.67]) by gatekeeper.pp.dyndns.biz (8.14.3/8.14.3) with ESMTP id o0EKgf6r051073 for ; Thu, 14 Jan 2010 21:42:41 +0100 (CET) (envelope-from pp@pp.dyndns.biz) Message-ID: <4B4F81C1.2040504@pp.dyndns.biz> Date: Thu, 14 Jan 2010 21:42:41 +0100 From: pp@pp.dyndns.biz User-Agent: Thunderbird 2.0.0.23 (X11/20091010) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4B4F6515.6040105@pp.dyndns.biz> <4B4F7A42.407@pp.dyndns.biz> In-Reply-To: <4B4F7A42.407@pp.dyndns.biz> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Problem with USB serial in linux emulation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 20:42:44 -0000 > Adding some more info myself here. Initially I only copied the shared > libraries the program needed from my Linux computer and loaded the linux > kernel module. Installing the full linux_base-f10 port seems to get rid > of the error message so it seems unrelated to the actual communication > problem I experience. > The program initially detects the card in the reader but as soon as I > try to communicate with it, the program thinks the reader is empty. Does > anyone recognize this behaviour? > /Morgan Debug output shows a read timeout. Are there any tricks with stty that has to be performed to make serial communication work through the linux emulation layer? /Morgan From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 21:19:50 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 495E0106566C for ; Thu, 14 Jan 2010 21:19:50 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id 097A68FC0C for ; Thu, 14 Jan 2010 21:19:49 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id o0ELJmtG079007 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 14 Jan 2010 15:19:49 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.3) with ESMTP id o0ELJm0V059087 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 14 Jan 2010 15:19:48 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.3/Submit) id o0ELJlqT059084; Thu, 14 Jan 2010 15:19:47 -0600 (CST) (envelope-from dan) Date: Thu, 14 Jan 2010 15:19:47 -0600 From: Dan Nelson To: Gary Kline Message-ID: <20100114211947.GB5651@dan.emsphone.com> References: <20100114012059.GA3921@thought.org> <20100114013746.GB67999@orion.hsd1.pa.comcast.net> <20100114024242.GA9744@thought.org> <20100114165717.GA5651@dan.emsphone.com> <20100114201616.GA73961@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100114201616.GA73961@thought.org> X-OS: FreeBSD 7.2-STABLE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.95.3 at email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Thu, 14 Jan 2010 15:19:49 -0600 (CST) X-Scanned-By: MIMEDefang 2.45 Cc: Glen Barber , freebsd-questions@freebsd.org Subject: Re: any port use /dev/dsp directly? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 21:19:50 -0000 In the last episode (Jan 14), Gary Kline said: > On Thu, Jan 14, 2010 at 10:57:17AM -0600, Dan Nelson wrote: > > In the last episode (Jan 13), Gary Kline said: > > > On Wed, Jan 13, 2010 at 08:37:46PM -0500, Glen Barber wrote: > > > > Gary Kline wrote: > > > > > I have a couple short programs where I mess with /dev/dsp. I'll > > > > > open check to be sure the speed is right, open in mono or stereo, > > > > > &c. is there anything is ports that uses this dev by opening, doing > > > > > ioctls and so forth? > > > > A better way to play wav files would be to install the sox port and use > > its included "play" command, which will parse the wav file format and > > only send the audio data to /dev/dsp. It'll also play compressed audio > > files (mp3, or other non-raw wav encodings). > > the hiss at the end probably is due to whatever metadata at the end of my > WAV file. Can sox translate this file into a raw byte-stream of data that > I can cat of write() into the device? Didn't I just say that in the paragaph above? :) The sox port comes with its own "play" command that can parse many containers and encodings, including wav files. > (I thought that /dev/dsp was associated with the *.WAV files ... but > evidently not.) Well, it's an audio device, and wav files contain audio data, but that's about it. The driver doesn't parse its input looking for file headers or anything. If you're lucky and /dev/dsp's default settings happen to match the format of a raw-encoded wav file, then you can cat your file to /dev/dsp. But otherwise you'll get static. Try catting any of the sample wavs at http://en.wikipedia.org/wiki/WAV to /dev/dsp and see how many sound good. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 21:22:15 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E44C8106566C for ; Thu, 14 Jan 2010 21:22:15 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id 493788FC19 for ; Thu, 14 Jan 2010 21:22:15 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id o0ELMEjj079130 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 14 Jan 2010 15:22:14 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.3) with ESMTP id o0ELMEYl061181 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 14 Jan 2010 15:22:14 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.3/Submit) id o0ELMEOb061179 for freebsd-questions@freebsd.org; Thu, 14 Jan 2010 15:22:14 -0600 (CST) (envelope-from dan) Date: Thu, 14 Jan 2010 15:22:13 -0600 From: Dan Nelson To: freebsd-questions@freebsd.org Message-ID: <20100114212213.GC5651@dan.emsphone.com> References: <866374fs5q.fsf@blue.stonehenge.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 7.2-STABLE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.95.3 at email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Thu, 14 Jan 2010 15:22:14 -0600 (CST) X-Scanned-By: MIMEDefang 2.45 Subject: Re: Regular Expression Editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 21:22:16 -0000 In the last episode (Jan 14), Carmel said: > On Thu, 14 Jan 2010 10:38:41 -0800 > Randal L. Schwartz replied: > > >You need to be specific about the kind of regex. While most regexp > >engines have common things like . and * and ^ and $, the meanings may > >vary a bit, and the more exotic things are certainly going to vary. > > > >(For example, despite the name, "Perl Compatible [sic] Regular > >Expressions" are *not* Perl compatible.) > > > >What tool are you using your regexes with? > > OK, I was using RegExp Buddy on a Windows > machine. I would like to find something similar to it for a FreeBSD > environment. The expressions I create are used primarily with 'sieve' in > conjunction with Dovecot. I am also thinking of possibly creating a few > for use with Postfix. Have you tried running regexbuddy under Wine? For a small program like that it should work pretty well. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 21:40:40 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C49071065676 for ; Thu, 14 Jan 2010 21:40:40 +0000 (UTC) (envelope-from carmel_ny@hotmail.com) Received: from blu0-omc4-s5.blu0.hotmail.com (blu0-omc4-s5.blu0.hotmail.com [65.55.111.144]) by mx1.freebsd.org (Postfix) with ESMTP id 79BF38FC08 for ; Thu, 14 Jan 2010 21:40:40 +0000 (UTC) Received: from BLU0-SMTP74 ([65.55.111.136]) by blu0-omc4-s5.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 14 Jan 2010 13:40:39 -0800 X-Originating-IP: [67.189.160.65] X-Originating-Email: [carmel_ny@hotmail.com] Message-ID: Received: from scorpio.seibercom.net ([67.189.160.65]) by BLU0-SMTP74.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Thu, 14 Jan 2010 13:40:38 -0800 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.101]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: carmel_ny@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 0C49322841 for ; Thu, 14 Jan 2010 16:40:37 -0500 (EST) Date: Thu, 14 Jan 2010 16:40:36 -0500 From: Carmel To: freebsd-questions@freebsd.org In-Reply-To: <20100114212213.GC5651@dan.emsphone.com> References: <866374fs5q.fsf@blue.stonehenge.com> <20100114212213.GC5651@dan.emsphone.com> Organization: seibercom.net X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.5; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 14 Jan 2010 21:40:39.0051 (UTC) FILETIME=[36B2EDB0:01CA9562] Subject: Re: Regular Expression Editor 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, 14 Jan 2010 21:40:40 -0000 On Thu, 14 Jan 2010 15:22:13 -0600 Dan Nelson articulated: >Have you tried running regexbuddy under Wine? For a small program >like that it should work pretty well. I have no desire to use 'wine'. It would probably be a lot easier and simpler to simply use it on the Windows machine. I had thought that since RegExp are probably more commonly used on non-win32 machines that I would be able to locate a similar FOSS. Thanks anyway! -- Carmel carmel_ny@hotmail.com |::::======= |::::======= |=========== |=========== | Eating chocolate is like being in love without the aggravation. From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 21:56:37 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6731A1065672 for ; Thu, 14 Jan 2010 21:56:37 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id 437C08FC14 for ; Thu, 14 Jan 2010 21:56:37 +0000 (UTC) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NVXfy-0009fV-Ia; Thu, 14 Jan 2010 16:56:28 -0500 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id 4497E3A0E0DF; Thu, 14 Jan 2010 16:56:22 -0500 (EST) Message-ID: <4B4F9305.3090500@FreeBSD.org> Date: Thu, 14 Jan 2010 16:56:21 -0500 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-questions@freebsd.org, carmel_ny@hotmail.com References: <866374fs5q.fsf@blue.stonehenge.com> <20100114212213.GC5651@dan.emsphone.com> In-Reply-To: X-Enigmail-Version: 0.96.0 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.3 (/) Cc: Subject: Re: Regular Expression Editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jan 2010 21:56:37 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Carmel wrote: > On Thu, 14 Jan 2010 15:22:13 -0600 > Dan Nelson articulated: > >> Have you tried running regexbuddy under Wine? For a small program >> like that it should work pretty well. > > I have no desire to use 'wine'. It would probably be a lot easier and > simpler to simply use it on the Windows machine. I had thought that > since RegExp are probably more commonly used on non-win32 machines that > I would be able to locate a similar FOSS. > > Thanks anyway! > Hi Carmel, How about Regex Coach? http://weitz.de/regex-coach/#older The older version (0.9.0) runs under Linux and FreeBSD, but the author has discontinued support for non-Windows platforms in the latest version. The old one may still be useful, and you get bonus points if you write a port for it! Cheers, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLT5MF0sRouByUApARAvMdAJ9//xAI6e5NQOKe+yHZlHs+DQZDZwCghB4V ukUemVKBb0J5Go5prqiG7IQ= =mdN9 -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 22:31:20 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85ED1106566C for ; Thu, 14 Jan 2010 22:31:20 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 3CDFA8FC1B for ; Thu, 14 Jan 2010 22:31:20 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o0EMV5SK047220; Thu, 14 Jan 2010 14:31:05 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Thu, 14 Jan 2010 14:31:05 -0800 (PST) Date: Thu, 14 Jan 2010 14:31:05 -0800 From: Gary Kline To: Dan Nelson Message-ID: <20100114223105.GA84284@thought.org> References: <20100114012059.GA3921@thought.org> <20100114013746.GB67999@orion.hsd1.pa.comcast.net> <20100114024242.GA9744@thought.org> <20100114165717.GA5651@dan.emsphone.com> <20100114201616.GA73961@thought.org> <20100114211947.GB5651@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100114211947.GB5651@dan.emsphone.com> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-1.2 required=3.6 tests=ALL_TRUSTED,BAYES_00, FH_DATE_PAST_20XX autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: Glen Barber , freebsd-questions@freebsd.org Subject: Re: any port use /dev/dsp directly? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 22:31:20 -0000 On Thu, Jan 14, 2010 at 03:19:47PM -0600, Dan Nelson wrote: > In the last episode (Jan 14), Gary Kline said: > > On Thu, Jan 14, 2010 at 10:57:17AM -0600, Dan Nelson wrote: > > > In the last episode (Jan 13), Gary Kline said: > > > > On Wed, Jan 13, 2010 at 08:37:46PM -0500, Glen Barber wrote: > > > > > Gary Kline wrote: > > > > > > I have a couple short programs where I mess with /dev/dsp. I'll > > > > > > open check to be sure the speed is right, open in mono or stereo, > > > > > > &c. is there anything is ports that uses this dev by opening, doing > > > > > > ioctls and so forth? > > > > > > A better way to play wav files would be to install the sox port and use > > > its included "play" command, which will parse the wav file format and > > > only send the audio data to /dev/dsp. It'll also play compressed audio > > > files (mp3, or other non-raw wav encodings). > > > > the hiss at the end probably is due to whatever metadata at the end of my > > WAV file. Can sox translate this file into a raw byte-stream of data that > > I can cat of write() into the device? > > Didn't I just say that in the paragaph above? :) The sox port comes with > its own "play" command that can parse many containers and encodings, > including wav files. I did see that. I'm wondering of theses is some sox translation that would do say %sox -w WAV -r [rawoutfile] I found that using your code, or part of it, I can do very nearly what my own dspplayer.c was doing. Only yours works and mine works with the hiss. I'm only using the dev/dsp part of your program; it reads from stdin; I.... well, I'm not sure where I screwup.... rats. time to take printouts and go in a corner and see why my 109-lines fails. --Of course, it worked before to create two flawless sine waves. I modified it, but not correctly. Meanwhile, I've rebuilt sox and will poke it with a stick! > > > (I thought that /dev/dsp was associated with the *.WAV files ... but > > evidently not.) > > Well, it's an audio device, and wav files contain audio data, but that's > about it. The driver doesn't parse its input looking for file headers or > anything. If you're lucky and /dev/dsp's default settings happen to match > the format of a raw-encoded wav file, then you can cat your file to > /dev/dsp. But otherwise you'll get static. Try catting any of the sample > wavs at http://en.wikipedia.org/wiki/WAV to /dev/dsp and see how many sound > good. > Wow, great; thanks for the pointer... > -- > Dan Nelson > dnelson@allantgroup.com -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 23:01:16 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 154D1106566C for ; Thu, 14 Jan 2010 23:01:16 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id C826D8FC15 for ; Thu, 14 Jan 2010 23:01:15 +0000 (UTC) Received: from r55.edvax.de (port-92-195-164-220.dynamic.qsc.de [92.195.164.220]) by mx02.qsc.de (Postfix) with ESMTP id 24CD51E9C0; Fri, 15 Jan 2010 00:01:14 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o0EN1Dll033463; Fri, 15 Jan 2010 00:01:13 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 15 Jan 2010 00:01:13 +0100 From: Polytropon To: Gary Kline Message-Id: <20100115000113.19fef26e.freebsd@edvax.de> In-Reply-To: <20100114223105.GA84284@thought.org> References: <20100114012059.GA3921@thought.org> <20100114013746.GB67999@orion.hsd1.pa.comcast.net> <20100114024242.GA9744@thought.org> <20100114165717.GA5651@dan.emsphone.com> <20100114201616.GA73961@thought.org> <20100114211947.GB5651@dan.emsphone.com> <20100114223105.GA84284@thought.org> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: any port use /dev/dsp directly? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jan 2010 23:01:16 -0000 On Thu, 14 Jan 2010 14:31:05 -0800, Gary Kline wrote: > I'm wondering of theses is some sox translation that > would do say > > %sox -w WAV -r [rawoutfile] That's possible, but you have to tell sox how the raw file should be parameterized, e. g. sampling frequency, channels, bit width. There are command line parameters that can be used for that, e. g. % sox mysound.wav -r 44100 -c 2 -w -s mysound.raw The type "raw" means that there's no header in the file, it's just the plain data, for example as the hardware CD player uses it (which is the CDR file format - CD audio). In this case, you have to specify how to build those raw data elements from the original waveform file (WAV does have a header that describes its content). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 23:08:28 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA5E1106568D for ; Thu, 14 Jan 2010 23:08:28 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id 6B36F8FC15 for ; Thu, 14 Jan 2010 23:08:28 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id o0EN8RZU091845 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 14 Jan 2010 17:08:27 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.3) with ESMTP id o0EN8QsT028068 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 14 Jan 2010 17:08:27 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.3/Submit) id o0EN8Qvd028060; Thu, 14 Jan 2010 17:08:26 -0600 (CST) (envelope-from dan) Date: Thu, 14 Jan 2010 17:08:25 -0600 From: Dan Nelson To: Gary Kline Message-ID: <20100114230825.GD5651@dan.emsphone.com> References: <20100114012059.GA3921@thought.org> <20100114013746.GB67999@orion.hsd1.pa.comcast.net> <20100114024242.GA9744@thought.org> <20100114165717.GA5651@dan.emsphone.com> <20100114201616.GA73961@thought.org> <20100114211947.GB5651@dan.emsphone.com> <20100114223105.GA84284@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100114223105.GA84284@thought.org> X-OS: FreeBSD 7.2-STABLE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.95.3 at email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Thu, 14 Jan 2010 17:08:27 -0600 (CST) X-Scanned-By: MIMEDefang 2.45 Cc: Glen Barber , freebsd-questions@freebsd.org Subject: Re: any port use /dev/dsp directly? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 23:08:28 -0000 In the last episode (Jan 14), Gary Kline said: > On Thu, Jan 14, 2010 at 03:19:47PM -0600, Dan Nelson wrote: > > The sox port comes with its own "play" command that can parse many > > containers and encodings, including wav files. > > I did see that. I'm wondering of theses is some sox translation that > would do say > > %sox -w WAV -r [rawoutfile] Certainly; file conversion is one of the basic purposes of sox. Something like: sox myfile.wav -b 16 -e signed -r 22050 -c 2 myfile.raw will convert the wav file (whatever its format is) to a signed 16-bit stereo raw file. For raw files, you can also use special file extensions that specify the encoding ("myfile.s16" for example, for a signed 16-bit file). Adding "-V3" to the beginning of the command will print the full input and output specs, plus the filter chain required to do the conversion (if any). The sox and soxformat manpages are pretty comprehensive. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Thu Jan 14 23:46:19 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 642FB1065672 for ; Thu, 14 Jan 2010 23:46:19 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ew0-f211.google.com (mail-ew0-f211.google.com [209.85.219.211]) by mx1.freebsd.org (Postfix) with ESMTP id E4D4F8FC1C for ; Thu, 14 Jan 2010 23:46:18 +0000 (UTC) Received: by ewy3 with SMTP id 3so126501ewy.13 for ; Thu, 14 Jan 2010 15:46:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=t2iJ4N3h6npDG14u44BqyqXInx157whlFtDdhiFXICM=; b=MwUl7Tynx+P8df8d3haBOB4vUxKMJ0ppGzZspGGNafbByMVJN164obs7/PkCbWd6Ce J1CgQ5suWT/fPAfdEOHQPyZ1v9aUlRb0D0vNhT8ZZCRb5y6u7EU3M8P9CT010oqt/diH lmrNCKHUp/21DFRd5h2Sn97hXQp0Uutypj2V8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=ZgKRFCJU3o1/MPCn2uwDggwlHElDT/O0yPbjSiYaWBgwvNFKfuvtuaS/hR6nnJBhGU MEgmYA2ReYQW79ITB64nSyPRJc/ckkwGFLoIBI28Ne5FwQ/1jw8C0yIdU8syWTKseh0l 71gL/D3BxEWmenZCjEN5pzTYmU6uCoGLBZKXQ= Received: by 10.213.42.70 with SMTP id r6mr98940ebe.41.1263512771685; Thu, 14 Jan 2010 15:46:11 -0800 (PST) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id 16sm994769ewy.2.2010.01.14.15.46.07 (version=SSLv3 cipher=RC4-MD5); Thu, 14 Jan 2010 15:46:10 -0800 (PST) Date: Thu, 14 Jan 2010 23:45:59 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100114234559.2aaed7fc@gumby.homeunix.com> In-Reply-To: References: <866374fs5q.fsf@blue.stonehenge.com> X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.5; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Regular Expression Editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jan 2010 23:46:19 -0000 On Thu, 14 Jan 2010 14:24:49 -0500 Carmel wrote: > On Thu, 14 Jan 2010 10:38:41 -0800 > Randal L. Schwartz replied: > > >You need to be specific about the kind of regex. While most regexp > >engines have common things like . and * and ^ and $, the meanings may > >vary a bit, and the more exotic things are certainly going to vary. > > > >(For example, despite the name, "Perl Compatible [sic] Regular > >Expressions" are *not* Perl compatible.) > > > >What tool are you using your regexes with? > > OK, I was using RegExp Buddy on a Windows > machine. I would like to find something similar to it for a FreeBSD > environment. The expressions I create are used primarily with 'sieve' > in conjunction with Dovecot. I am also thinking of possibly creating a > few for use with Postfix. > Try this http://www.fastmail.fm/docs/sieve/sievetest.php It's based on Cyrus but AFAIK they both use the libc regex implementation. Sieve is a little odd in that you need double escaping In general I think most people would use command line tools to test expressions. From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 00:14:06 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 812EF106566C for ; Fri, 15 Jan 2010 00:14:06 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 1F2608FC19 for ; Fri, 15 Jan 2010 00:14:05 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o0F0Dp2n047804; Thu, 14 Jan 2010 16:13:52 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Thu, 14 Jan 2010 16:13:52 -0800 (PST) Date: Thu, 14 Jan 2010 16:13:51 -0800 From: Gary Kline To: Dan Nelson Message-ID: <20100115001351.GA27272@thought.org> References: <20100114012059.GA3921@thought.org> <20100114013746.GB67999@orion.hsd1.pa.comcast.net> <20100114024242.GA9744@thought.org> <20100114165717.GA5651@dan.emsphone.com> <20100114201616.GA73961@thought.org> <20100114211947.GB5651@dan.emsphone.com> <20100114223105.GA84284@thought.org> <20100114230825.GD5651@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100114230825.GD5651@dan.emsphone.com> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-1.2 required=3.6 tests=ALL_TRUSTED,BAYES_00, FH_DATE_PAST_20XX autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: Glen Barber , freebsd-questions@freebsd.org Subject: Re: any port use /dev/dsp directly? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 00:14:06 -0000 On Thu, Jan 14, 2010 at 05:08:25PM -0600, Dan Nelson wrote: > In the last episode (Jan 14), Gary Kline said: > > On Thu, Jan 14, 2010 at 03:19:47PM -0600, Dan Nelson wrote: > > > The sox port comes with its own "play" command that can parse many > > > containers and encodings, including wav files. > > > > I did see that. I'm wondering of theses is some sox translation that > > would do say > > > > %sox -w WAV -r [rawoutfile] > > Certainly; file conversion is one of the basic purposes of sox. Something > like: > > sox myfile.wav -b 16 -e signed -r 22050 -c 2 myfile.raw > > will convert the wav file (whatever its format is) to a signed 16-bit stereo > raw file. For raw files, you can also use special file extensions that > specify the encoding ("myfile.s16" for example, for a signed 16-bit file). > Adding "-V3" to the beginning of the command will print the full input and > output specs, plus the filter chain required to do the conversion (if any). > The sox and soxformat manpages are pretty comprehensive. > yes, the man page is thorough, but almost unreadable, at least to me. i found a tutorial with exaples that should the WAV to RAW conversion. on my freebsd desktop, sox didn't like it. it kept echoing the usage. on my ubuntu system, sox failed completely complaining that that it wasn't set for "auto" ..... [?] I checked again here to see if sox as play would work, and it does. so at least that much works. the error output escapes me. doesn't the ``-r 22050'' specify the sampling rate? play FAIL formats: bad input format for file `myfile.raw': sampling rate was not specified > -- > Dan Nelson > dnelson@allantgroup.com -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 01:09:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3562B1065692 for ; Fri, 15 Jan 2010 01:09:54 +0000 (UTC) (envelope-from earscrew@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id DC2B88FC16 for ; Fri, 15 Jan 2010 01:09:53 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 9so29357qwb.7 for ; Thu, 14 Jan 2010 17:09:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=gf9VQjJ6pEtlCQcnF9qbilmkuRwYcceszpNeN3RH3rQ=; b=FBDdW3Rwtj62B2azHnr4V9j3Ui3NpxSrSfolaq/OrhuOpkgLaJv4N9jWo+8ZZxmOyP 8D9OTiZ6a8s5dapEEtiFzRLGreqoyB7aaB8OY4Fc0tL90lHXZttQrnyoON13a/lCAW+M WyRCO4FCn+/tqHIsiXcMbZnLIMB1O9lYhjSkI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=O80EoimsH8Jfnkg9ygV5ev4y7dTHrBtitiNiJYW9AcRJyKnQsaMb1Y+63RDOPYe4J2 jwl78+kWVpQAF2G7rWYOh43UXQdWzvue8hH+Aw/3r8Ofei1sf55ONLZ7wbh82baci/Dc KsG3oIUGdGY3hyOeVgK1u4heRRJS4S3q2SRyI= Received: by 10.224.44.96 with SMTP id z32mr560337qae.115.1263516439683; Thu, 14 Jan 2010 16:47:19 -0800 (PST) Received: from ?192.168.1.101? ([68.170.56.70]) by mx.google.com with ESMTPS id 23sm984764iwn.3.2010.01.14.16.47.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 14 Jan 2010 16:47:18 -0800 (PST) Message-ID: <4B4FBB0C.6000405@gmail.com> Date: Thu, 14 Jan 2010 18:47:08 -0600 From: earscrew User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Regular Expression Editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 01:09:54 -0000 Carmel wrote: > I am looking for a RegExp editor. I have one that I have used under > Windows; however, it will not obviously work on FreeBSD. What I need is > one that I can write the expression in and then have it test the > expression for both syntax and against example text that I enter. I > have not been able to locate a FOSS solution for that although there are > numerous commercial products available. > > -- > Carmel > carmel_ny@hotmail.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" > If you run Firefox, this addon is decent: https://addons.mozilla.org/en-US/firefox/addon/2077 From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 01:19:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4794B106568F for ; Fri, 15 Jan 2010 01:19:08 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id E32298FC1B for ; Fri, 15 Jan 2010 01:19:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id 195373A383C; Fri, 15 Jan 2010 08:19:06 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= references:subject:subject:in-reply-to:from:from:message-id:date :date:received:received:received; s=selector1; t=1263518345; x= 1265332745; bh=x+UvGhopjsIUw7o0MLgsGPPMh+nGLRtM4itUCjV0Yz0=; b=S 93+YJ5ojRKP1LSiEWec3SWOnAc5nm840pdLDtOcMN5KJM7wew17lSgQjxfl2jK1s 1Brgsklnczd58+m8IkoQEakz5hh+jK8AR93zPpB2N3sVgFvXpIk8AJ8H372TZkz2 9Tb+6R4g0uEVJYQg1tV5MRef0X51x349DXtRaXIydY= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by localhost (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 6KWf9Stbl1kS; Fri, 15 Jan 2010 08:19:05 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 454D03A3832; Fri, 15 Jan 2010 08:19:05 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.3/8.14.3/Submit) id o0F1IvxP080108; Fri, 15 Jan 2010 08:18:57 +0700 (ICT) (envelope-from on) Date: Fri, 15 Jan 2010 08:18:57 +0700 (ICT) Message-Id: <201001150118.o0F1IvxP080108@banyan.cs.ait.ac.th> From: Olivier Nicole To: rwmaillists@googlemail.com In-reply-to: <20100114234559.2aaed7fc@gumby.homeunix.com> (message from RW on Thu, 14 Jan 2010 23:45:59 +0000) References: <866374fs5q.fsf@blue.stonehenge.com> <20100114234559.2aaed7fc@gumby.homeunix.com> Cc: freebsd-questions@freebsd.org Subject: Re: Regular Expression Editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 01:19:08 -0000 > In general I think most people would use command line tools to test > expressions. Although I favor command line tools for most of my work (if only, because it can work remotely, through a slow phone connection, across the world); I like The Regex Coach (GUI tool) because it highlights the various strings and substrings matched. Also I like it because the regex (as far as I have used it) have the exact syntax of Perl, so it is just a matter of cut & paste: usefull to find a mistake in a long and intricated regex. Bests, Olivier From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 02:40:40 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0708106566B for ; Fri, 15 Jan 2010 02:40:40 +0000 (UTC) (envelope-from brampton@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id 643FA8FC17 for ; Fri, 15 Jan 2010 02:40:39 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 22so88695eye.9 for ; Thu, 14 Jan 2010 18:40:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=f0efLRvgaFFX/3xAXmfqsesxF9DdpYyaToJ0i1uFVCc=; b=aJx9qShT7lMAUe7XG3rbOMfbFRARp3h8cQSablBaJEkWmODK+5wzqEKxXhZz0v0D/A cK7R1FcG4WIS1RhJomZhqb6u9EWBGxMAHkP9K2HMrVFTEl6LTnWS8psi7Y4pnbUNRe9k ND1i11jNlwQNVgDJpOOGbVJrKvinDfImO0CrQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=ayC0Wj8+HwflvqQdYGhRc3vaX5rLTpf0BsxxbLhs3tY4Rk6khysyJI1sLVIt5Zmkc8 dRykl/Q/Qg2vy+tLbxneXWCswT3LvBToZ98Fco+d8B1KZV2tT+XL5+wiEg5GL6yzNg75 rGIzPJxdAQrZoz1offvkzcmT1v+1ghOqebrWM= MIME-Version: 1.0 Sender: brampton@gmail.com Received: by 10.216.88.75 with SMTP id z53mr621103wee.46.1263523232915; Thu, 14 Jan 2010 18:40:32 -0800 (PST) In-Reply-To: References: Date: Fri, 15 Jan 2010 02:40:32 +0000 X-Google-Sender-Auth: 3fa160c480244386 Message-ID: From: Andrew Brampton To: freebsd-questions Content-Type: text/plain; charset=UTF-8 Subject: Re: Regular Expression Editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 02:40:40 -0000 2010/1/14 Carmel : > > I am looking for a RegExp editor. I have one that I have used under > Windows; however, it will not obviously work on FreeBSD. What I need is > one that I can write the expression in and then have it test the > expression for both syntax and against example text that I enter. I > have not been able to locate a FOSS solution for that although there are > numerous commercial products available. > I've enjoying using Kodos[1] in the past. Andrew [1] http://kodos.sourceforge.net/ From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 02:42:11 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFA851065693 for ; Fri, 15 Jan 2010 02:42:11 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 4F1B08FC2A for ; Fri, 15 Jan 2010 02:42:10 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o0F2fuFC048625; Thu, 14 Jan 2010 18:41:57 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Thu, 14 Jan 2010 18:41:57 -0800 (PST) Date: Thu, 14 Jan 2010 18:41:56 -0800 From: Gary Kline To: Dan Nelson Message-ID: <20100115024156.GA28725@thought.org> References: <20100114012059.GA3921@thought.org> <20100114013746.GB67999@orion.hsd1.pa.comcast.net> <20100114024242.GA9744@thought.org> <20100114165717.GA5651@dan.emsphone.com> <20100114201616.GA73961@thought.org> <20100114211947.GB5651@dan.emsphone.com> <20100114223105.GA84284@thought.org> <20100114230825.GD5651@dan.emsphone.com> <20100115001351.GA27272@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100115001351.GA27272@thought.org> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-1.2 required=3.6 tests=ALL_TRUSTED,BAYES_00, FH_DATE_PAST_20XX autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: freebsd-questions@freebsd.org Subject: Re: any port use /dev/dsp directly? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 02:42:11 -0000 On Thu, Jan 14, 2010 at 04:13:51PM -0800, Gary Kline wrote: > On Thu, Jan 14, 2010 at 05:08:25PM -0600, Dan Nelson wrote: > > In the last episode (Jan 14), Gary Kline said: > > > On Thu, Jan 14, 2010 at 03:19:47PM -0600, Dan Nelson wrote: > > > > The sox port comes with its own "play" command that can parse many > > > > containers and encodings, including wav files. > > > > > > I did see that. I'm wondering of theses is some sox translation that > > > would do say > > > > > > %sox -w WAV -r [rawoutfile] > > > > Certainly; file conversion is one of the basic purposes of sox. Something > > like: > > > > sox myfile.wav -b 16 -e signed -r 22050 -c 2 myfile.raw > > > > will convert the wav file (whatever its format is) to a signed 16-bit stereo > > raw file. For raw files, you can also use special file extensions that > > specify the encoding ("myfile.s16" for example, for a signed 16-bit file). > > Adding "-V3" to the beginning of the command will print the full input and > > output specs, plus the filter chain required to do the conversion (if any). > > The sox and soxformat manpages are pretty comprehensive. Well, what I mentioned earlier about the similarities of the pcaudio.c code and my test code gave me the clue: In the read() and write(), the number of bytes read in before the read failed was the right number, len, to be written. In my test code I reused my code from 1996. Then my "sizeof buf" was valid because it was a simple sine wave. This time I was using a different array. .... gary > > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 02:50:59 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3708106566B for ; Fri, 15 Jan 2010 02:50:59 +0000 (UTC) (envelope-from merlyn@stonehenge.com) Received: from blue.stonehenge.com (cl-52.chi-02.us.sixxs.net [IPv6:2001:4978:f:33::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9A8F38FC12 for ; Fri, 15 Jan 2010 02:50:59 +0000 (UTC) Received: by blue.stonehenge.com (Postfix, from userid 1001) id 0A9F31DE26B; Thu, 14 Jan 2010 18:50:59 -0800 (PST) To: freebsd-questions@freebsd.org References: <866374fs5q.fsf@blue.stonehenge.com> From: merlyn@stonehenge.com (Randal L. Schwartz) x-mayan-date: Long count = 12.19.17.0.8; tzolkin = 11 Lamat; haab = 6 Muan Date: Thu, 14 Jan 2010 18:50:59 -0800 In-Reply-To: (carmel_ny@hotmail.com's message of "Thu, 14 Jan 2010 14:24:49 -0500") Message-ID: <86my0gaxnw.fsf@blue.stonehenge.com> User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Regular Expression Editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 02:50:59 -0000 >>>>> "Carmel" == Carmel writes: >> What tool are you using your regexes with? Carmel> OK, I was using RegExp Buddy on a Windows Carmel> machine. Nice non-answer. I'm sorry I wasn't clear. What *thing* will these regexs eventually be used in? PHP? Perl? Awk? Sed? Java? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 07:15:47 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E30DC1065670 for ; Fri, 15 Jan 2010 07:15:47 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-01.bluehost.com (outbound-mail-01.bluehost.com [69.89.21.11]) by mx1.freebsd.org (Postfix) with SMTP id 474678FC0C for ; Fri, 15 Jan 2010 07:15:47 +0000 (UTC) Received: (qmail 21548 invoked by uid 0); 15 Jan 2010 07:15:46 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by outboundproxy4.bluehost.com with SMTP; 15 Jan 2010 07:15:46 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=mIb1FoZ0oOglkWwnz61iU+sVo9kwRhhsIfmq/wqVsjmi0POgiLc72leJDFI/4taPFRKaQb2QyzKHwzlI57yuDSxnvOY2Q4pwWd1/jbqUBzgbfVyZG6l7fakMelZqq1nT; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NVgPJ-00044c-97 for freebsd-questions@freebsd.org; Fri, 15 Jan 2010 00:15:46 -0700 Received: by kukaburra.hydra (sSMTP sendmail emulation); Fri, 15 Jan 2010 00:07:48 -0700 Date: Fri, 15 Jan 2010 00:07:48 -0700 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20100115070748.GC49607@guilt.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <866374fs5q.fsf@blue.stonehenge.com> <86my0gaxnw.fsf@blue.stonehenge.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KN5l+BnMqAQyZLvT" Content-Disposition: inline In-Reply-To: <86my0gaxnw.fsf@blue.stonehenge.com> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: Regular Expression Editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 07:15:48 -0000 --KN5l+BnMqAQyZLvT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 14, 2010 at 06:50:59PM -0800, Randal L. Schwartz wrote: > >>>>> "Carmel" =3D=3D Carmel writes: >=20 > >> What tool are you using your regexes with? >=20 > Carmel> OK, I was using RegExp Buddy on a Wi= ndows > Carmel> machine. >=20 > Nice non-answer. I'm sorry I wasn't clear. >=20 > What *thing* will these regexs eventually be used in? PHP? Perl? > Awk? Sed? Java? I don't know if I've just overlooked your presence before, or if this is actually the first time I've seen a comment from you on this mailing list, but hi, Randal. Okay, that aside: I think you must have overlooked the part where Carmel mentioned writing regexen for use with sieve+Dovecot and possibly with Postfix. I get the impression from that and later comments in the thread that Carmel is particularly focused on sieve's regex syntax, which may use libc's regex implementation. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --KN5l+BnMqAQyZLvT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAktQFEQACgkQ9mn/Pj01uKUsEgCg2/CUWT/RDnX2Ji9Z0+j3Um4s /LUAnA/WYf8cLLRUkTbJfrhNM7f5vo2W =vb7e -----END PGP SIGNATURE----- --KN5l+BnMqAQyZLvT-- From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 07:26:43 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB394106566C for ; Fri, 15 Jan 2010 07:26:43 +0000 (UTC) (envelope-from bennett@cs.niu.edu) Received: from mp.cs.niu.edu (mp.cs.niu.edu [131.156.145.41]) by mx1.freebsd.org (Postfix) with ESMTP id 76F518FC12 for ; Fri, 15 Jan 2010 07:26:43 +0000 (UTC) Received: from mp.cs.niu.edu (bennett@localhost [127.0.0.1]) by mp.cs.niu.edu (8.14.3/8.14.3) with ESMTP id o0F7Po4f010485; Fri, 15 Jan 2010 01:25:50 -0600 (CST) Date: Fri, 15 Jan 2010 01:25:50 -0600 (CST) From: Scott Bennett Message-Id: <201001150725.o0F7Pook010484@mp.cs.niu.edu> To: rsmith@xs4all.nl Cc: freebsd-questions@freebsd.org Subject: Re: GELI file systems unusable after "glabel label" operations X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 07:26:43 -0000 On Thu, 14 Jan 2010 18:42:32 +0100 Roland Smith >On Thu, Jan 14, 2010 at 01:31:55AM -0600, Scott Bennett wrote: >> I used "glabel label" to label each of the file systems I have on ex= >ternal >> disk drives. Unfortunately, afterward I am now unable to "geli attach" a= >ny of >> the GELI-encrypted file systems. The system is FreeBSD 7.2-STABLE. Is t= >here >> a way to get this to work? Or have I just lost everything in the encrypt= >ed >> file systems? > >Did you use 'geli init /dev/daXsY' and 'glabel label /dev/daXsY'? That will >overwrite the geli metadata with the glabel metadata!=20 It has been a long time since I created those GELI partitions, but I think I used the "geli init -K keyfilename /dev/daXsYP", where P is the partition identifier in slice Y of drive X. What I did when I screwed the pooch on this was of the form "glabel label fsname /dev/daXsYP", which I had thought would produce a /dev/label/fsname device and that doing a "geli attach" afterward would produce a /dev/label/fsname.eli device. > >Check /var/backups. There should be *.eli files there. Those are the automa= >tic No joy. :-( >metadata backups that 'geli init' makes (at least in 8.0). You can restore >those backups with 'geli restore'. Those must be new in 8.0. I don't see any in 7.2, just {aliases,group, master.passwd}.bak{,2} in /var/backups. > >Running 'geli init' again with the same parameters will not work, because >'geli init' uses a random component in the key generation. In other words, = >two >inits with the same password will not generate the same key! Is there some way to recover using the existing key files, which I do still have? And of course, I do know the passphrases. > >What you should have done (for future refrence) is use geli(8) to create the >encrypted device, then create a filesystem on that encrypted device with >newfs(8) using the '-L' flag to set the volume name. Or use tunefs(8) to set >the volume name later. These names will be automatically recognized next ti= >me >you attach it and listed in /dev/ufs/. > Thank you for that information. If only it had been laid out that way in the man page of the handbook when I read it before starting on the labeling procedure...sigh. I have a new 1 TB drive that I will soon connect to the system and begin creating file systems. I will make gzipped image files with dd(1) of the damaged partitions and store them on the new drive for a while in case a workable idea turns up. Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * ********************************************************************** From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 08:31:50 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 740D8106566B for ; Fri, 15 Jan 2010 08:31:50 +0000 (UTC) (envelope-from andrei693@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 053D98FC0C for ; Fri, 15 Jan 2010 08:31:49 +0000 (UTC) Received: by bwz5 with SMTP id 5so350011bwz.3 for ; Fri, 15 Jan 2010 00:31:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=yxYtyrrqIJ2ZkCx0yaMuoJ5omL+iCfVo1OKn3Xf/yZ0=; b=WQPvJuzG/hdp6TmrINstfv6DUbkFNTgwEVW4iLt125jOqeVO+WTxTola3ZMbwOJNbs 0+yF7TvNSNIa7d57z0aUJkpuBNNpD/Pbe9MJhr0d8BVPUwxCBkWzdSWPoKhLGSFP2i1t AJSUYRBso2M3T1CtF5g++QyOY1TSiGhHavZXQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=PMMUez9ROo03zQd2KBywRzG2Xt7xmjZQVdStujKCtBHG+Ji+PCWHpye9jxUNk6utBN EJtYmIFisMc5xSD98owJf4OWmGD96r8L99eLldRJEpkumTMjSoUomZNLUzOKVVu3JXOd 1U0XSWkySatXRPZJ8XgXvPjIh1qQwvmcM0Ro8= Received: by 10.204.49.85 with SMTP id u21mr1053177bkf.148.1263544302151; Fri, 15 Jan 2010 00:31:42 -0800 (PST) Received: from ?192.168.1.253? ([86.125.218.136]) by mx.google.com with ESMTPS id 13sm716435bwz.10.2010.01.15.00.31.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 15 Jan 2010 00:31:41 -0800 (PST) Message-ID: <4B5027F1.4060309@gmail.com> Date: Fri, 15 Jan 2010 10:31:45 +0200 From: Andrei Brezan User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: How to overwrite openssl base with the one from ports? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 08:31:50 -0000 Hello list, I seem to have some problems overwriting openssl base. I have tried building security/openssl with OPENSSL_OVERWRITE_BASE=YES but to no success. After i run: make OPENSSL_OVERWRITE_BASE=YES install clean i get the port installed in /usr/local/bin and lib ok, but i'm left with openssl in /usr/bin and lib too. Do i have to make buildworld/installworld with NO_OPENSSL in /etc/make.conf in order not to have openssl from base and then install it from port ? From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 09:04:12 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EE531065676 for ; Fri, 15 Jan 2010 09:04:12 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id C39188FC14 for ; Fri, 15 Jan 2010 09:04:11 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.3) with ESMTP id o0F943T8030879 for ; Fri, 15 Jan 2010 09:04:05 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o0F943T8030879 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1263546245; bh=2P5abnolo163VAW8RrmCwHWyJM3aY/9/V4xCSNFXzyw=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B502F7D.3000107@infracaninophile.co.uk>|Date:=20F ri,=2015=20Jan=202010=2009:03:57=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20091129)|MIME-Vers ion:=201.0|To:=20freebsd-questions@freebsd.org|Subject:=20Re:=20Re gular=20Expression=20Editor|References:=20=09<866374fs5q.fsf@blue.stonehenge.com>=20|In-Reply-To:=20|X-Enigmail-Version:=200.9 5.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0 D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A=20boundary= 3D"------------enigA2F0D72D4E2D725FDA1317F9"; b=dh6OpkIZgC5vpyGJBL00qb52ofp2R9SzPtkI5CaGZpIKsaC2axtF1/TsWmnv1ZqZc 7rpFIRVCddvTsHUwRD4ucE7ofJCSEEMgQ35ht37to7yk3Oz5pyUC6ngifcUTF0GZhx kiyt68P8bG+ZOgv/iQpQh9Qac5e50QzJmwS3NNkY= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B502F7D.3000107@infracaninophile.co.uk> Date: Fri, 15 Jan 2010 09:03:57 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20091129) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <866374fs5q.fsf@blue.stonehenge.com> In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigA2F0D72D4E2D725FDA1317F9" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Subject: Re: Regular Expression Editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 09:04:12 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA2F0D72D4E2D725FDA1317F9 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Carmel wrote: > On Thu, 14 Jan 2010 10:38:41 -0800 > Randal L. Schwartz replied: >=20 >> You need to be specific about the kind of regex. While most regexp >> engines have common things like . and * and ^ and $, the meanings may >> vary a bit, and the more exotic things are certainly going to vary. >> >> (For example, despite the name, "Perl Compatible [sic] Regular >> Expressions" are *not* Perl compatible.) >> >> What tool are you using your regexes with? >=20 > OK, I was using RegExp Buddy on a Windows > machine. I would like to find something similar to it for a FreeBSD > environment. The expressions I create are used primarily with 'sieve' > in conjunction with Dovecot. I am also thinking of possibly creating a > few for use with Postfix. >=20 I believe dovecot simply uses the standard posix 'extended regular expression' syntax as seen in programs like grep(1). [See: http://ietfre= port.isoc.org/idref/draft-ietf-sieve-regex ]=20 In principle, this means you can write your test data into a file, and test it by running it through grep(1) using the -E flag: grep -E 'foo@(bar|baz)\.org' < testdata.txt Postfix uses PCRE by default. You can do the same sort of trick there: just run 'pcregrep' rather than 'grep -E' However, note that the regexes in dovecot sieve scripts are subject to a level of shell expansion. (Not sure what happens with postfix.) This means various special characters are going to need to be escaped by preceding them with a *pair* of backslashes. So, in the example above, the bit that says '\.' (meaning override the usual meaning of '.' as a wildcard that will match any character, and instead match a literal '.') would have to be entered into your sieve script as '\\\.' If in doubt, simply pound on the backslash key a few more times... Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enigA2F0D72D4E2D725FDA1317F9 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.14 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAktQL4MACgkQ8Mjk52CukIzjCACfcqU3vgcenoE4zeeIE97d2K3C kQsAniiLBfWLoXDNTd/K0Mz8L3UiSrvR =2etF -----END PGP SIGNATURE----- --------------enigA2F0D72D4E2D725FDA1317F9-- From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 09:35:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E1211065676 for ; Fri, 15 Jan 2010 09:35:57 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 9BCAD8FC19 for ; Fri, 15 Jan 2010 09:35:56 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.3) with ESMTP id o0F9ZpUr049897; Fri, 15 Jan 2010 09:35:52 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o0F9ZpUr049897 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1263548152; bh=Ii870PrwW/FGoW4HRRKxaC/vcc9Zpnl/WuT8uDW8Mlk=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B5036EF.1080903@infracaninophile.co.uk>|Date:=20F ri,=2015=20Jan=202010=2009:35:43=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20091129)|MIME-Vers ion:=201.0|To:=20Andrei=20Brezan=20|CC:=20fre ebsd-questions@freebsd.org|Subject:=20Re:=20How=20to=20overwrite=2 0openssl=20base=20with=20the=20one=20from=20ports?|References:=20< 4B5027F1.4060309@gmail.com>|In-Reply-To:=20<4B5027F1.4060309@gmail .com>|X-Enigmail-Version:=200.95.6|Content-Type:=20multipart/signe d=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"application/pgp- signature"=3B=0D=0A=20boundary=3D"------------enig01E5705237924A27 897AAB58"; b=qxOLdc7Q+JQuudYSkMrRzKAyhqEBIqmHBxItZrRhqsUXZS3phYy8JC616q55eOgBs vR8RGEjds8J+Jd1w2bLM032+nJDCLQb0wY124v4de5PToSskAitM/G1PSn7MODbPj/ YdmDpTNp3ry5qenq3yvbiRbnBOac9jhC88wkudNs= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B5036EF.1080903@infracaninophile.co.uk> Date: Fri, 15 Jan 2010 09:35:43 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20091129) MIME-Version: 1.0 To: Andrei Brezan References: <4B5027F1.4060309@gmail.com> In-Reply-To: <4B5027F1.4060309@gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig01E5705237924A27897AAB58" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: How to overwrite openssl base with the one from ports? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 09:35:57 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig01E5705237924A27897AAB58 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Andrei Brezan wrote: > Hello list, >=20 > I seem to have some problems overwriting openssl base. I have tried > building security/openssl with OPENSSL_OVERWRITE_BASE=3DYES but to no s= uccess. >=20 > After i run: > make OPENSSL_OVERWRITE_BASE=3DYES install clean > i get the port installed in /usr/local/bin and lib ok, but i'm left wit= h > openssl in /usr/bin and lib too. Do i have to make > buildworld/installworld with NO_OPENSSL in /etc/make.conf in order not > to have openssl from base and then install it from port ? There's no such option as 'OPENSSL_OVERWRITE_BASE' in a current ports tree[*]. There is only WITH_OPENSSL_BASE=3Dyes which means link any ports against the version of the OpenSSL libs installed by the base system, or WITH_OPENSSL_PORTS=3Dyes which means link any ports against the version of OpenSSL installed from ports. Applications that use SSL in the base system are always linked against the base system version of OpenSSL, and the ports system will throw an exception if you say 'WITH_OPENSSL_PORTS' but the ABI version number of the shlibs in the base system is greater than the ones from the ports. So defining WITHOUT_OPENSSL in /etc/src.conf[+] is not advisable either.=20 Cheers, Matthew [*] Despite its appearance in the mail/dkim-milter and mail/dk-milter ports. That's a bug. It won't do anything. [+] Assuming you're running 7.x or later. --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig01E5705237924A27897AAB58 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.14 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAktQNvcACgkQ8Mjk52CukIzR2gCeNMJdHHokse3LXlf0aB8BRxBq +lYAn3thu+r/83r7Sgvd6swJam/pRzqm =os1R -----END PGP SIGNATURE----- --------------enig01E5705237924A27897AAB58-- From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 10:15:03 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 088F0106566B for ; Fri, 15 Jan 2010 10:15:03 +0000 (UTC) (envelope-from andrei693@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 86D8A8FC12 for ; Fri, 15 Jan 2010 10:15:02 +0000 (UTC) Received: by bwz5 with SMTP id 5so398909bwz.3 for ; Fri, 15 Jan 2010 02:14:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=K3S/M7q/FaaQMI5GSv0tEPwQo51pE1PsprKr1GDGaSc=; b=IGyEif/WRxPhcnGCW/Z9GOSW9Y+evMMXpEyyT27bIy2FnRlZF015IxpGK0JtCbXtf0 c8I4gWqrp9YBPiqL7rifv2yNg0SFb+CqBkeMWSxV7kX6tErWdh8/KVIyReMpnIczdAbK A6XzJ8xipAIrcQjAb/M8cMRySh0uUEE/LtBh0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=JUTswgSZnvrDXphTs7eQwc0C7iKkVn4qNls2uTZoxs/iR3wOpvUGSNTQMpkTbt2105 UjLRy6CXfX91RF+vyb9R3fF1drqSp+6T7db2fMLupwcFyuZ0WTs6dTv/rCuRK4QVlse5 BdsEM+nE/8K4KX1qmPMxMoYYySEAulR9AsVu4= Received: by 10.204.155.81 with SMTP id r17mr1138612bkw.98.1263550493404; Fri, 15 Jan 2010 02:14:53 -0800 (PST) Received: from ?192.168.1.253? ([86.125.218.136]) by mx.google.com with ESMTPS id 13sm760185bwz.10.2010.01.15.02.14.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 15 Jan 2010 02:14:52 -0800 (PST) Message-ID: <4B504020.7030209@gmail.com> Date: Fri, 15 Jan 2010 12:14:56 +0200 From: Andrei Brezan User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Matthew Seaman References: <4B5027F1.4060309@gmail.com> <4B5036EF.1080903@infracaninophile.co.uk> In-Reply-To: <4B5036EF.1080903@infracaninophile.co.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: How to overwrite openssl base with the one from ports? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 10:15:03 -0000 Matthew Seaman wrote: > Andrei Brezan wrote: >> Hello list, >> >> I seem to have some problems overwriting openssl base. I have tried >> building security/openssl with OPENSSL_OVERWRITE_BASE=YES but to no >> success. >> >> After i run: >> make OPENSSL_OVERWRITE_BASE=YES install clean >> i get the port installed in /usr/local/bin and lib ok, but i'm left with >> openssl in /usr/bin and lib too. Do i have to make >> buildworld/installworld with NO_OPENSSL in /etc/make.conf in order not >> to have openssl from base and then install it from port ? > > There's no such option as 'OPENSSL_OVERWRITE_BASE' in a current ports > tree[*]. There is only > > WITH_OPENSSL_BASE=yes > > which means link any ports against the version of the OpenSSL libs > installed by the base system, or > > WITH_OPENSSL_PORTS=yes > > which means link any ports against the version of OpenSSL installed > from ports. Applications that use SSL in the base system are always > linked against the base system version of OpenSSL, and the ports system > will throw an exception if you say 'WITH_OPENSSL_PORTS' but the ABI > version number of the shlibs in the base system is greater than the ones > from the ports. So defining WITHOUT_OPENSSL in /etc/src.conf[+] is not > advisable either. > > Cheers, > > Matthew > > [*] Despite its appearance in the mail/dkim-milter and mail/dk-milter > ports. That's a bug. It won't do anything. > > [+] Assuming you're running 7.x or later. > Thank you, will use then WITH_OPENSSL_PORTS when needed. You were right in assuming 7.x or later. Regards, Andrei From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 10:47:27 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BCC27106566B for ; Fri, 15 Jan 2010 10:47:27 +0000 (UTC) (envelope-from lalev.angelin@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id 5177F8FC12 for ; Fri, 15 Jan 2010 10:47:26 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id e12so236802fga.13 for ; Fri, 15 Jan 2010 02:47:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=R6gpSGMJB0uYdFptzI85Q5wSm05fwRJM+7pVRZvJMTQ=; b=lfmL2KMn0mJkZ2aLR2WYReeleJ7kqxmfUecOJaWu/7sbPC44s0dAcrceikm8d+2bYV TiwBYqgkvSzPWDjlhUbSHMd1vYFhXazqY/t2014dqbl0P4MIbSopUB0txa05GER/uYQK xd3vXwxzOV4hyOH56sAYzXUSip/y85LWEiZsw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=kd2lhZXTqVjGhbx+tspNsxjJwlaQnX/FzDErxpnKtx2JNNxkZtCLe/Ak3Ty1QlxRar Qn+NU3afvMky6lSFNqJ2jFtDPwTGuWeSrzmBZGtpUgh1nGgpngr3tc28gz8y2nHOVeK7 c5BugzZdTvSjSsyzgiXSb2ePsotZuYG3xgVKc= MIME-Version: 1.0 Received: by 10.239.185.207 with SMTP id d15mr200010hbh.116.1263550737885; Fri, 15 Jan 2010 02:18:57 -0800 (PST) Date: Fri, 15 Jan 2010 12:18:57 +0200 Message-ID: <532b03711001150218u3caa45f0h2a1f6a9d0bf6ed9e@mail.gmail.com> From: Angelin Lalev To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: geli 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: Fri, 15 Jan 2010 10:47:27 -0000 I have Intel DG45ID + Core2 machine with USB keyboard and I want to use geom_eli to encrypt my entire freebsd partition. My FreeBSD version is freebsd 8.0p2, my Drive is SATA and I have USB keyboard and mouse. I intend to boot via USB flash disk and attach the partition at boot. Everything works as described in the documentation, except for a nasty problem. When I try to attach my encrypted partition at boot, it seems that my enter key on the keyboard gets stuck and keep sending LF to my console continuously. The keyboard and the key though are 100% ok (tested on windows). I'm not getting this problem when I use geli to attach the partition after boot, only at boot time (geom_eli_load=YES in loader.conf). I'm not quite sure that the problem isn't the USB keyboard itself or to be more exactly the USB support for that keyboard. For example when I go to "mountroot" prompt (screwed fstab) I can't type a thing. From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 09:31:05 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD1C9106566C for ; Fri, 15 Jan 2010 09:31:05 +0000 (UTC) (envelope-from davidoweir3@yahoo.co.uk) Received: from smtp128.mail.ukl.yahoo.com (smtp128.mail.ukl.yahoo.com [77.238.184.59]) by mx1.freebsd.org (Postfix) with SMTP id 2A6308FC12 for ; Fri, 15 Jan 2010 09:31:04 +0000 (UTC) Received: (qmail 45971 invoked from network); 15 Jan 2010 09:31:03 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Message-ID:Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:From:Return-Receipt-To:Disposition-Notification-To:Subject:Date:To:X-Priority:Content-Type:Content-Transfer-Encoding; b=LLrR38b73axqXJEbYlkMB3p+a7Kkz4Fdx6K2w4kCQ+wc3z1sDyz4Dxeu1+32dlMBlig59SYWRry3f4DZmjZZJpJLRyTOhLzrGGu+7NjUjJAXESGna254oOqOAJXxtBY5hmM7IGdTnHpto8JQEk1T85BydQ1/N2Wg1TTok1X4QLc= ; Message-ID: <811408.42980.qm@smtp128.mail.ukl.yahoo.com> Received: from (davidoweir3@212.183.140.32 with login) by smtp128.mail.ukl.yahoo.com with SMTP; 15 Jan 2010 09:31:02 +0000 GMT X-Yahoo-SMTP: pIR2vFGswBAkETANI0hlNB_ZBaaaLSrj X-YMail-OSG: fdsiFwAVM1kt.BdSvs7AbKq.Im7mZQBq0CBBQ2UWNMpM5amLTLojSlXyl3FE_A5cUrA47VmoPCniPUnC85CLpHURcJpbq1ZzeLeoN7ZsyMmOxDUZCHf35On2cjo99kxihqJJlOiBSi6JgW5ro7kefoF656jOwRVwXFGRBtR5ntlqyxtjk6mGdbCPkVzRy0qNbKbJ1zYEtA-- X-Yahoo-Newman-Property: ymail-3 From: davidoweir3@yahoo.co.uk Date: Fri, 15 Jan 2010 09:31:05 +0000 To: freebsd-questions@freebsd.org X-Priority: 3 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Mailman-Approved-At: Fri, 15 Jan 2010 12:24:56 +0000 Subject: Rss feed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 09:31:05 -0000 SGVsbG8gdGhlcmUgY2FuIHlvdSB0ZWxsIG1lIGhvdyBkbyBpIHN1YnNjcmli ZSB0byB0aGlzIG1haWxpbmdzIGxpc3QgdXNpbmcgbXkgcnNzIA== From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 12:28:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 951D91065697 for ; Fri, 15 Jan 2010 12:28:57 +0000 (UTC) (envelope-from no-reply@dropbox.com) Received: from mailman.dropbox.com (mailman.dropbox.com [208.43.223.178]) by mx1.freebsd.org (Postfix) with ESMTP id 630918FC25 for ; Fri, 15 Jan 2010 12:28:57 +0000 (UTC) Received: from mailman.dropbox.com (localhost [127.0.0.1]) by mailman.dropbox.com (Postfix) with ESMTP id D23E14614AB for ; Fri, 15 Jan 2010 12:13:04 +0000 (UTC) X-DomainKeys: Sendmail DomainKeys Filter v0.6.0 mailman.dropbox.com D23E14614AB DomainKey-Signature: a=rsa-sha1; s=m1; d=dropbox.com; c=simple; q=dns; b=mC1kJU8GA1YaBnA4LsgSgDSIyQWAfRk6DCqID5hhK4DXHYuM6I9dXISsNnEmrfqNC AH1Nk03FIq0FbDZKRRk3y6Z7Y2zpnP3T/823/5ETxfIhjbQtfAZWsE51MOLmdhSktIj CtxC5EeazbzGMwivP+NsQLbWlw7wta9lCGWyGWg= MIME-Version: 1.0 From: Dropbox To: freebsd-questions@freebsd.org Date: Fri, 15 Jan 2010 12:13:04 +0000 Message-Id: <20100115121304.D23E14614AB@mailman.dropbox.com> Content-Type: text/plain; charset="utf8" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Spen Bilquis has invited you to Dropbox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: espanop@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jan 2010 12:28:57 -0000 We're excited to let you know that Spen Bilquis has invited you to Dropbox! Spen Bilquis has been using Dropbox to sync and share files online and across computers, and thought you might want it too. Visit http://www.dropbox.com/link/20.HP1BPUfvVX/Njc5NjU3ODA3 to get started. - The Dropbox Team ____________________________________________________ To stop receiving invites from Dropbox, please go to http://www.dropbox.com/bl/1a5feda3bb0b/freebsd-questions%40freebsd.org From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 13:19:20 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E677106566C for ; Fri, 15 Jan 2010 13:19:20 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp110.prem.mail.ac4.yahoo.com (smtp110.prem.mail.ac4.yahoo.com [76.13.13.93]) by mx1.freebsd.org (Postfix) with SMTP id 908F18FC12 for ; Fri, 15 Jan 2010 13:19:19 +0000 (UTC) Received: (qmail 17041 invoked from network); 15 Jan 2010 13:19:17 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Date:From:To:Subject:Message-ID:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding; b=mP0xLVANTsY0bK46d7TI1wVST/c1dO2dlvpJapBd1GiDCbpkuDwrORAgPG01dQRBD4QCrXUjSmBfN6KGWsmKxtc15tC9xYT4Pd2pGSZD9SVxucc392MfWrGEwW4rGSG/wuRg/LgKTdEqsqAM/UIBZIugnA4gRekCW9wPFax2Sio= ; Received: from c-67-189-160-65.hsd1.ny.comcast.net (gesbbb@67.189.160.65 with login) by smtp110.prem.mail.ac4.yahoo.com with SMTP; 15 Jan 2010 05:19:16 -0800 PST X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: miHOewMVM1nWayFUtDF2txhsyWnyDwr8bDg4UCgESkUA.K7dBr0z2wkX7V_Fipr2GCDEyrocLiNuXMMk2BjLe8tZ3BixMfKd6bPH5tAcEdaFFiGpEtacvkssd7i_AGg2R30EgDcjZzj9fuIyIRwRyEHhvGcNVowGPPa1bHYTBU6WcGuHQPQLc2CKE6BLRtvXf6sOi0fgVzhZDF2KwzgsOf1Hh92KXRW0PfGZOvS_zMcrI2j4P7p3Fi7WHYOndYFS0jJCjzygzcXzpoGrmNcBGzSNIj0ckyC79j6O7yxn4nwGPOvQ5zhufjLCBEXvIzMfw7szc5Gv_sG_C7aS6jg7wJAS.zG65i5Qc4zANLDuduA_mM0_C1s2T0BgBI1vpazSjsb.NhVfz.0WM4bJRpUQwEle7fToDBTKnQEHXweTlI77uXEnF8QKiscf_uSiQoSCd7Fx_iPa0mM_LBgm6EHh__IOLjOT.Ye7tyAEXrkpzKgoejkSCGoJpMubxmvgGRz6vmiGYllJTi.aVCZcLi9XPOgNn7Hinm7_a51pOa_UvuPbMvjvxxkSJIzR7EVuDhYrPetr0I7QErMsqBMB_i9R_g-- X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.101]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: gesbbb@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 01B9822841 for ; Fri, 15 Jan 2010 08:19:15 -0500 (EST) Date: Fri, 15 Jan 2010 08:19:15 -0500 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20100115081915.5ce46b6d@scorpio.seibercom.net> Organization: seibercom.net X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.5; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: FreeBSD + exFAT 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, 15 Jan 2010 13:19:20 -0000 I know that this was asked approximately 1 year ago; however, I was wondering if there had been any movement on it. Specifically, getting FreeBSD to recognize the 'exFAT' format. It is becoming a very common format for use on removable drives. URLs: http://bhandler.spaces.live.com/Blog/cns!70F64BC910C9F7F3!5216.entry?w http://en.wikipedia.org/wiki/ExFAT http://msdn.microsoft.com/en-us/library/aa914353.aspx http://support.microsoft.com/kb/955704 -- Jerry gesbbb@yahoo.com |::::======= |::::======= |=========== |=========== | Advice to young men: Be ascetic, and if you can't be ascetic, then at least be aseptic. From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 13:19:44 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B47E10656C1 for ; Fri, 15 Jan 2010 13:19:44 +0000 (UTC) (envelope-from merlyn@stonehenge.com) Received: from blue.stonehenge.com (cl-52.chi-02.us.sixxs.net [IPv6:2001:4978:f:33::2]) by mx1.freebsd.org (Postfix) with ESMTP id 613CD8FC15 for ; Fri, 15 Jan 2010 13:19:44 +0000 (UTC) Received: by blue.stonehenge.com (Postfix, from userid 1001) id B57BF1DE334; Fri, 15 Jan 2010 05:19:43 -0800 (PST) To: freebsd-questions@freebsd.org References: <866374fs5q.fsf@blue.stonehenge.com> <86my0gaxnw.fsf@blue.stonehenge.com> <20100115070748.GC49607@guilt.hydra> From: merlyn@stonehenge.com (Randal L. Schwartz) x-mayan-date: Long count = 12.19.17.0.9; tzolkin = 12 Muluc; haab = 7 Muan Date: Fri, 15 Jan 2010 05:19:43 -0800 In-Reply-To: <20100115070748.GC49607@guilt.hydra> (Chad Perrin's message of "Fri, 15 Jan 2010 00:07:48 -0700") Message-ID: <868wbza4k0.fsf@blue.stonehenge.com> User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Regular Expression Editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 13:19:44 -0000 >>>>> "Chad" == Chad Perrin writes: Chad> I don't know if I've just overlooked your presence before, or if this is Chad> actually the first time I've seen a comment from you on this mailing Chad> list, but hi, Randal. It might be the first or second comment. I'm a new FreeBSD user. I've been talking about my experiences in the intro/outros of recent FLOSS Weekly episodes (http://twit.tv/floss) if you want details. Chad> I think you must have overlooked the part where Carmel mentioned writing Chad> regexen for use with sieve+Dovecot and possibly with Postfix. That wasn't in the initial message that I recall. But if that was already clear, I apologize for repeating my question. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 14:17:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0065106566C for ; Fri, 15 Jan 2010 14:17:18 +0000 (UTC) (envelope-from miconof80.list@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 2DAF18FC16 for ; Fri, 15 Jan 2010 14:17:17 +0000 (UTC) Received: by bwz5 with SMTP id 5so617043bwz.3 for ; Fri, 15 Jan 2010 06:17:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mime-version:content-type:content-disposition:user-agent; bh=OexyPBPx5d1SsKk41x60dkaKFrHTyky/MZXP2AuKzH8=; b=sJChltJQ5Hqpr+TPOOetHW8a8N27ftjQsxL02dgW/Sg87MD70M7xPBiARcKHgemooi xfnkNxa26mVMBqiRhEVz7MRIxSkAkJkkNf0zxX/f/BwUbNZH6uSKnVpAItuEX9rvwDBq vLAF9SYPSFXXgaw7vB708osj6U3Mo4HmxigCY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=RYI2BxKGiEJUJ9mNPk24toliLoG434eI8j4dnlr4UJjFQ9Okg59pYeEs9h3SEpHaIR ebOOWs+XUMAvET/+4aIurgyljUeMHU8kP61JP66rWN9WYTTCdW6m5zWJmrkaYnNFjBM2 9b54y2KJ/dAr18+sDX2I/RLFiBuaeznjM07h4= Received: by 10.204.14.82 with SMTP id f18mr1286641bka.204.1263563478185; Fri, 15 Jan 2010 05:51:18 -0800 (PST) Received: from e4300 (extranet.math.univ-paris13.fr [194.254.165.54]) by mx.google.com with ESMTPS id 14sm882990bwz.13.2010.01.15.05.51.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 15 Jan 2010 05:51:17 -0800 (PST) Date: Fri, 15 Jan 2010 14:51:14 +0100 From: Michel Le Cocq To: freebsd-questions@freebsd.org Message-ID: <20100115135113.GB3885@e4300> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Subject: rdiff-backup-1.2.8 python2.5.4 : OverflowError: signed integer is greater than maximum X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 14:17:18 -0000 I run rdiff-backup on my backup server: - FreeBSD 8.0-RELEASE AMD64 - rdiff-backup-1.2.8,1 - python25-2.5.4_3 - be pro quad - 4G Ram I try to rdiff a folder on a nfs ro mounted volume to an other volume. I obtain this error : OverflowError: signed integer is greater than maximum I have the same problem as Brad Beyenhof see here : http://www.mail-archive.com/rdiff-backup-users@nongnu.org/msg03794.html I know it's a know problem due to a bug in Python. And have to upgrad Python to 2.5.4 or 2.6.1. But I'm on python25-2.5.4_3 !!! and rdiff need python25 to run so I can't remove it for python26... What can I do to obtain my full backup ? Thanks -- Michel From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 14:29:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 896EB106566C for ; Fri, 15 Jan 2010 14:29:32 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from werkwelt.de (post.werkwelt.de [91.194.85.74]) by mx1.freebsd.org (Postfix) with ESMTP id 2333F8FC1E for ; Fri, 15 Jan 2010 14:29:31 +0000 (UTC) Received: from [87.79.34.228] (account kuku@kukulies.org HELO [172.27.4.215]) by werkwelt.de (CommuniGate Pro SMTP 5.0.13) with ESMTPSA id 6747176 for freebsd-questions@freebsd.org; Fri, 15 Jan 2010 15:29:00 +0100 Message-ID: <4B507B9A.3050803@kukulies.org> Date: Fri, 15 Jan 2010 15:28:42 +0100 From: Christoph Kukulies User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: rum0 acting as an Access point (belkin router) 8.0 R X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 14:29:32 -0000 I'm not sure wether syntax has changed but I wanted to cretae an wlan acess point and tried various things. Under 7.0 I got it working with the following command ifconfig rum0 inet 10.0.0.1/24 mediaopt hostap ssid CITYOFFICE wepmode on wepkey 0xf00baf00ba weptxkey 1 channel 1 I tried this but got a socket error "Invalid argument". Then I tried (from an example in the rum (4) manpage):ifconfig wlan create wlandev rum0 10.0.0.1/24 mediaopt hostap CITYOFFICE wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1 and got: wlan0 ifconfig: SIOCSIFMEDIA (media): Device not configured But suddenly the wlan0 device is there. Can anybody fill me in? -- Christoph From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 14:35:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D349F1065672 for ; Fri, 15 Jan 2010 14:35:02 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: from mailout-eu.gmx.com (mailout-eu.gmx.com [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id 26CE48FC13 for ; Fri, 15 Jan 2010 14:35:01 +0000 (UTC) Received: (qmail invoked by alias); 15 Jan 2010 14:35:00 -0000 Received: from adsl-222.91.140.55.tellas.gr (EHLO [192.168.73.196]) [91.140.55.222] by mail.gmx.com (mp-eu002) with SMTP; 15 Jan 2010 15:35:00 +0100 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX1+LFZcNA0eLFeFI8Ka9kzmSgmTmOaqb8BnbuoI9G1 VeDuO3vQxI7QMg Message-ID: <4B507CDC.8060408@gmx.com> Date: Fri, 15 Jan 2010 16:34:04 +0200 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20100115081915.5ce46b6d@scorpio.seibercom.net> In-Reply-To: <20100115081915.5ce46b6d@scorpio.seibercom.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.64000000000000001 Cc: Subject: Re: FreeBSD + exFAT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 14:35:02 -0000 On 1/15/2010 3:19 PM, Jerry wrote: > I know that this was asked approximately 1 year ago; however, I was > wondering if there had been any movement on it. Specifically, getting > FreeBSD to recognize the 'exFAT' format. It is becoming a very common > format for use on removable drives. It's patented and it probably comes with a multi-page aggrement and a price. Wikipedia (http://en.wikipedia.org/wiki/ExFAT#Licensing) says: Companies can integrate exFAT into a specific group of consumer devices, including cameras, camcorders and digital photo frames for a flat fee. Mobile phones, PCs and networks have a different volume pricing model. The above sound pretty much inappropriate for an open source operating system like FreeBSD. Nikos From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 15:03:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E42F9106568B for ; Fri, 15 Jan 2010 15:03:02 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id A248E8FC0C for ; Fri, 15 Jan 2010 15:03:02 +0000 (UTC) Received: from isis.bris.ac.uk ([137.222.10.63]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NVnhH-0007cq-Gw for freebsd-questions@freebsd.org; Fri, 15 Jan 2010 15:03:01 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by isis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NVnh4-0000lA-Qk for freebsd-questions@freebsd.org; Fri, 15 Jan 2010 15:02:47 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id o0FF2YQL084582 for ; Fri, 15 Jan 2010 15:02:34 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id o0FF2YUh084581 for freebsd-questions@freebsd.org; Fri, 15 Jan 2010 15:02:34 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Fri, 15 Jan 2010 15:02:34 +0000 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20100115150234.GF83945@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -1.5 X-Spam-Level: - Subject: wireless ath - unable to get scan results X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 15:03:03 -0000 This is my first wireless attempt. Please don't shoot me for asking obvious questions. This is on FreeBSD 9.0-CURRENT sparc64 I've TL-WN851N PCI wireless card. I see in dmesg: ath0: mem 0x110000-0x11ffff at device 3.0 on pci0 ath0: [ITHREAD] ath0: AR9280 mac 128.2 RF5133 phy 13.0 and with pciconf -lv ath0@pci0:0:3:0: class=0x028000 card=0x2091168c chip=0x0029168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' class = network and with ifconfig # ifconfig ath0 ath0: flags=8843 metric 0 mtu 2290 ether 00:27:19:e1:b7:d9 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier # Does this look ok so far? Following the manual I try to scan for available networks, but get this message immediately, so it doesn't look like it's searching for anything # ifconfig ath0 scan ifconfig: unable to get scan results # I've in kernel config file: device ath # Atheros pci/cardbus NIC's device ath_hal # Atheros HAL (Hardware Access Layer) device ath_rate_sample # SampleRate tx rate control for ath options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors device wlan device wlan_ccmp # 802.11 CCMP support device wlan_tkip # 802.11 TKIP support device wlan_wep # 802.11 WEP support and also this firewall line options IPFILTER_DEFAULT_BLOCK but I've no /etc/ipf.rules yet Perhaps it's my firewall that's blocking everything? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 16:17:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E2F11065679 for ; Fri, 15 Jan 2010 16:17:34 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id C7B7A8FC1B for ; Fri, 15 Jan 2010 16:17:33 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id d26so113120eyd.9 for ; Fri, 15 Jan 2010 08:17:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=m4yvTIcJ/y2UbbSd/nQr+wGMvsno6csaZNrG2KsfBn8=; b=Iln/SfqZK7Ytm5xUTG7nrzc5lvWvrcE7nyrwMntDi4TfH+ZW9d2mLtcHXwrb/ajT/9 apeFZ7YGmsVDDCpkiVtKbT0q4TdLeD+jTQPlHaSXXUSNn50kHLZW2JEz2Awphj/SeRYT hcXVvooC0JmcDtAIhyXsixjVzPHrafw9taABA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=o09tCCQUTaS+Hymbcus+yvLa4UcmIr7DeEwAmESfl+q3wCnhmazYbybtQXy5/A2Cg6 nad2JOi3vD5BYrRLR2LsA4uFesbRZCLabBUl6SWUurM6HlYGp5/SPD5GywFfZaTqZj+Q DUL9TgXQh1yPf3TyTf4gIe6+R11lSwMR9yC18= MIME-Version: 1.0 Received: by 10.213.97.27 with SMTP id j27mr1104832ebn.64.1263572242249; Fri, 15 Jan 2010 08:17:22 -0800 (PST) In-Reply-To: <4B507B9A.3050803@kukulies.org> References: <4B507B9A.3050803@kukulies.org> Date: Fri, 15 Jan 2010 16:17:22 +0000 Message-ID: <3a142e751001150817x7b4da53fs16cebd2e097890b4@mail.gmail.com> From: Paul B Mahol To: Christoph Kukulies Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: rum0 acting as an Access point (belkin router) 8.0 R X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 16:17:34 -0000 On 1/15/10, Christoph Kukulies wrote: > I'm not sure wether syntax has changed but I wanted to cretae an wlan > acess point > and tried various things. Under 7.0 I got it working with the following > command > > ifconfig rum0 inet 10.0.0.1/24 mediaopt hostap ssid CITYOFFICE wepmode > on wepkey 0xf00baf00ba weptxkey 1 channel 1 > > > I tried this but got a socket error "Invalid argument". > > Then I tried (from an example in the rum (4) manpage):ifconfig wlan > create wlandev rum0 10.0.0.1/24 mediaopt hostap CITYOFFICE wepmode on > wepkey 0xf00baaf00baa weptxkey 1 channel 1 > Perhaps you want this one: ifconfig wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid CITYOFFICE wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1 > and got: > > > wlan0 > ifconfig: SIOCSIFMEDIA (media): Device not configured > > But suddenly the wlan0 device is there. > > Can anybody fill me in? > > -- > Christoph > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Paul B Mahol From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 16:19:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F852106568D for ; Fri, 15 Jan 2010 16:19:54 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-ew0-f211.google.com (mail-ew0-f211.google.com [209.85.219.211]) by mx1.freebsd.org (Postfix) with ESMTP id B86AA8FC16 for ; Fri, 15 Jan 2010 16:19:53 +0000 (UTC) Received: by ewy3 with SMTP id 3so896967ewy.13 for ; Fri, 15 Jan 2010 08:19:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=sSR8hL5p9n/Ss6ObsZedasmyeH3Fr/kXS0swhJt9JG4=; b=qamqEwsLpc237OjW3PQbaigh4xFKu+ChyKiR3qeoe3nMAVlx/L/PiWtk3VfV5yTatw qvIM/qRrIAoH/kEuolbmo5GlfnO/5sHvizNDECuzKSICYJQZy0YzBPxg5VLiKUTEODoY 1lb8DFBIREZKUFWk0biWZQawQwnnQ0Hgw/i6c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=kSupZCQVGF12abMpo9tGudnwKPop8bK6oDqjdALyba5WxZ/so+jYOdTFn2zqxASUWX lnxcFSfBcmZ0Ch9COKne50s7TUr89tPRbq/YFtHFhn1NHG73Jo3vwp//VMtYyuRVRvjc GYRTJ0XYo4IskTf4oTAaZsVkR+MzRhvVl0pVo= MIME-Version: 1.0 Received: by 10.213.50.140 with SMTP id z12mr1081784ebf.89.1263572386580; Fri, 15 Jan 2010 08:19:46 -0800 (PST) In-Reply-To: <20100115150234.GF83945@mech-cluster241.men.bris.ac.uk> References: <20100115150234.GF83945@mech-cluster241.men.bris.ac.uk> Date: Fri, 15 Jan 2010 16:19:46 +0000 Message-ID: <3a142e751001150819q42dd073ejce37c10c23647074@mail.gmail.com> From: Paul B Mahol To: Anton Shterenlikht Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: wireless ath - unable to get scan results X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 16:19:54 -0000 On 1/15/10, Anton Shterenlikht wrote: > This is my first wireless attempt. Please don't shoot > me for asking obvious questions. Did you read ath(4) manual? Ignore first two examples. You need to create wlanX first. -- Paul B Mahol From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 16:21:53 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1594B1065694 for ; Fri, 15 Jan 2010 16:21:53 +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 C28438FC21 for ; Fri, 15 Jan 2010 16:21:52 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o0FGLFOO045455; Fri, 15 Jan 2010 09:21:15 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o0FGLFiG045452; Fri, 15 Jan 2010 09:21:15 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Fri, 15 Jan 2010 09:21:15 -0700 (MST) From: Warren Block To: Anton Shterenlikht In-Reply-To: <20100115150234.GF83945@mech-cluster241.men.bris.ac.uk> Message-ID: References: <20100115150234.GF83945@mech-cluster241.men.bris.ac.uk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [127.0.0.1]); Fri, 15 Jan 2010 09:21:15 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: wireless ath - unable to get scan results X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 16:21:53 -0000 On Fri, 15 Jan 2010, Anton Shterenlikht wrote: ... > ath0: mem 0x110000-0x11ffff at device 3.0 on pci0 ... > # ifconfig ath0 > ath0: flags=8843 metric 0 mtu 2290 > ether 00:27:19:e1:b7:d9 > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > # > > Does this look ok so far? Yes. Not sure how well the 9280 works overall. > Following the manual The Handbook is out of date on this. > I try to scan for available > networks, but get this message immediately, so > it doesn't look like it's searching for anything > > # ifconfig ath0 scan > ifconfig: unable to get scan results > # >From 8.0 on, it necessary to create a wlan0 clone device of the actual wireless card. Then use wlan0 for the actual wireless operation: # ifconfig wlan0 create wlandev ath0 # ifconfig wlan0 up list scan That can be automated in rc.conf with wlans_ath0="wlan0". I can't find a PR for updating the Handbook on this. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 16:44:09 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98D3C1065672 for ; Fri, 15 Jan 2010 16:44:09 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from kanga.honeypot.net (kanga.honeypot.net [IPv6:2001:470:a80a:1:21f:d0ff:fe22:b8a8]) by mx1.freebsd.org (Postfix) with ESMTP id 5745E8FC15 for ; Fri, 15 Jan 2010 16:44:09 +0000 (UTC) Received: from kanga.honeypot.net (localhost [127.0.0.1]) by kanga.honeypot.net (Postfix) with ESMTP id 43D253D186 for ; Fri, 15 Jan 2010 10:44:08 -0600 (CST) X-Virus-Scanned: amavisd-new at honeypot.net Received: from kanga.honeypot.net ([127.0.0.1]) by kanga.honeypot.net (kanga.honeypot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DrJpo8AmmwDC for ; Fri, 15 Jan 2010 10:44:05 -0600 (CST) Received: from athena.daycos.com (athena.daycos.com [IPv6:2001:470:c054:1:221:9bff:fe00:de3f]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by kanga.honeypot.net (Postfix) with ESMTPSA id 301C93D182 for ; Fri, 15 Jan 2010 10:44:04 -0600 (CST) Message-ID: <4B509B51.3060809@strauser.com> Date: Fri, 15 Jan 2010 10:44:01 -0600 From: Kirk Strauser User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.5) Gecko/20100105 Thunderbird/3.0 MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Dislike the way port conflicts are handled now X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 16:44:09 -0000 Until recently, it seems like port dependencies were handled at installation time. Lately, they're handled any time I try to do anything with a port. I absolutely detest the new behavior. Example cases: OLD WAY: $ cd /usr/ports/something/foo22 $ make $ pkg_delete foo21-2.1 $ make install NEW WAY $ cd /usr/ports/something/foo22 $ make ===> foo22 conflicts with installed package(s): foo21-2.1 $ make fetch ===> foo22 conflicts with installed package(s): foo21-2.1 $ curse --type=copious $ pkg_delete foo21-2.1 $ make install This isn't just a hypothetical pain in the butt. An example was being unable to build databases/mysql51-client because mysql-client-5.0.something was installed. I understand not being able to *install* it, but to be prevented from *building* it? In most circumstances, I want to be able to delete the old package and install the new one with minimal downtime. As another example, can you imagine not being able to even run "make fetch" on something huge like OpenOffice until you uninstalled the old version? In the mean time, I've been editing the port's Makefile to remove the CONFLICTS line long enough to finish building. That's not very helpful for those ports that don't actually build until you run "make install", but at least I can get the distfile download out of the way. -- Kirk Strauser From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 16:47:06 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95716106566C for ; Fri, 15 Jan 2010 16:47:06 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from kanga.honeypot.net (kanga.honeypot.net [IPv6:2001:470:a80a:1:21f:d0ff:fe22:b8a8]) by mx1.freebsd.org (Postfix) with ESMTP id 5472B8FC16 for ; Fri, 15 Jan 2010 16:47:06 +0000 (UTC) Received: from kanga.honeypot.net (localhost [127.0.0.1]) by kanga.honeypot.net (Postfix) with ESMTP id D195B3D1E2 for ; Fri, 15 Jan 2010 10:47:05 -0600 (CST) X-Virus-Scanned: amavisd-new at honeypot.net Received: from kanga.honeypot.net ([127.0.0.1]) by kanga.honeypot.net (kanga.honeypot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Hr5VLEcYFrq2 for ; Fri, 15 Jan 2010 10:47:03 -0600 (CST) Received: from athena.daycos.com (athena.daycos.com [IPv6:2001:470:c054:1:221:9bff:fe00:de3f]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by kanga.honeypot.net (Postfix) with ESMTPSA id F04E03D1D8 for ; Fri, 15 Jan 2010 10:47:02 -0600 (CST) Message-ID: <4B509C03.5080003@strauser.com> Date: Fri, 15 Jan 2010 10:46:59 -0600 From: Kirk Strauser User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.5) Gecko/20100105 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: GEOM corrupt or invalid GPT detected on ZFS raid on Freebsd 8.0 x64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 16:47:06 -0000 On 01/08/10 09:56, Derrick Ryalls wrote: > After not getting daily system mails for a while, then suddenly > getting them, I took a closer look and noticed this message appears > after a boot: > > +GEOM: ad4: corrupt or invalid GPT detected. > +GEOM: ad4: GPT rejected -- may not be recoverable. > +GEOM: label/disk1: corrupt or invalid GPT detected. > +GEOM: label/disk1: GPT rejected -- may not be recoverable. > > label/disk1 should be the same thing as ad4, and it is part of a 4 > disk raidz. > My guess it that ZFS overwrote the label. The two aren't very compatible, to the best of my knowledge. -- Kirk Strauser From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 16:57:15 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC5FA106566C; Fri, 15 Jan 2010 16:57:15 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from mail-gx0-f218.google.com (mail-gx0-f218.google.com [209.85.217.218]) by mx1.freebsd.org (Postfix) with ESMTP id 575978FC12; Fri, 15 Jan 2010 16:57:15 +0000 (UTC) Received: by gxk10 with SMTP id 10so607295gxk.3 for ; Fri, 15 Jan 2010 08:57:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=006Hy+SzcLW5RyLs66GlTLo0Ty7S4T3T3FNQ3kWQARs=; b=KMhZ2H02rMjQ6mq4nSwiwkfA1VIyRW7VNAuD3puPYyORayUWBZD4/1e5sgjrvbtaCG qv+YFvzsqFxyj5LwfD8qWf9MJt+2U7zlejEQ+NclZoajKS3LXfan+3402/NwUuYnnw69 ombxBBjQP0WHBWRZy1WCAJT0urN+1ZDlx9Kgw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=pv6gkrGn3LavsPCWB83E/Fy/cc/Z298CEFzwYJO1vhyBwY3ilLHcPbQWxs2TQAESfa oKOF94ZICFUS7NnonEJSJ7+eYJHVFgSPAPVc1BHz2/ANInKW1VMMvxUO7jhxJtUN2kV+ R+DrAi2vcZzC4R/V9bsGz3EsBc54+MXvukadc= MIME-Version: 1.0 Received: by 10.101.214.5 with SMTP id r5mr5024557anq.3.1263574623123; Fri, 15 Jan 2010 08:57:03 -0800 (PST) Date: Fri, 15 Jan 2010 18:57:03 +0200 Message-ID: From: Dan Naumov To: Rick Macklem , freebsd-questions@freebsd.org, freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: (SOLVED) Re: installing FreeBSD 8 on SSDs and UFS2 - partition alignment, block sizes, what does one need to know? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 16:57:15 -0000 On Fri, Jan 15, 2010 at 6:38 PM, Rick Macklem wrote: > > > On Tue, 12 Jan 2010, Dan Naumov wrote: > >> For my upcoming storage system, the OS install is going to be on a >> 80gb Intel SSD disk and for various reasons, I am now pretty convinced >> to stick with UFS2 for the root partition (the actual data pool will >> be ZFS using traditional SATA disks). I am probably going to use GPT >> partitioning and have the SSD host the swap, boot, root and a few >> other partitions. What do I need to know in regards to partition >> alignment and filesystem block sizes to get the best performance out >> of the Intel SSDs? >> > I can't help with your question, but I thought I'd mention that there > was a recent post (on freebsd-current, I think?) w.r.t. using an SSD > for the ZFS log file. It suggested that that helped with ZFS perf., so > you might want to look for the message. > > rick I have managed to figure out the essential things to know by know, I just wish there was a single, easy to grasp webpage or HOWTO describing and whys and hows so I wouldn't have had had to spend the entire day googling things to get a proper grasp on the issue :) To (perhaps a bit too much) simplify things, if you are using an SSD with FreeeBSD, you: 1) Should use GPT 2) Should create the freebsd-boot partition as normal (to ensure compatibility with some funky BIOSes) 3) All additional partitions should be aligned, meaning that their boundaries should be dividable by 1024kb (that's 2048 "logical blocks" in gpart). Ie, having created your freeebsd-boot, your next partition should start at block 2048 and the partition size should be dividable by 2048 blocks. This applies to ALL further partitions added to the disk, so you WILL end up having some empty space between them, but a few MBs worth of space will be lost at most. P.S: My oversimplification was in that MOST SSDs will be just fine with a 512 kb / 1024 block alignment. However, _ALL_ SSDs will be fine with 1024 kb / 2048 block alignment. - Sincerely, Dan Naumov From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 17:00:09 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B19971065672 for ; Fri, 15 Jan 2010 17:00:09 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from smtp-vbr12.xs4all.nl (smtp-vbr12.xs4all.nl [194.109.24.32]) by mx1.freebsd.org (Postfix) with ESMTP id 3AE208FC18 for ; Fri, 15 Jan 2010 17:00:08 +0000 (UTC) Received: from yokozuna.lan (213-84-73-82.adsl.xs4all.nl [80.101.78.208]) by smtp-vbr12.xs4all.nl (8.13.8/8.13.8) with ESMTP id o0FH0790004708 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 15 Jan 2010 18:00:07 +0100 (CET) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan (yokozuna.lan [127.0.0.1]) by yokozuna.lan (8.14.3/8.14.3) with ESMTP id o0FH06lw070676 for ; Fri, 15 Jan 2010 18:00:06 +0100 (CET) (envelope-from mbeis@xs4all.nl) Date: Fri, 15 Jan 2010 18:00:06 +0100 (CET) From: Marco Beishuizen Sender: marco@yokozuna.lan To: freebsd-questions@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Virus-Scanned: by XS4ALL Virus Scanner Subject: library problems with sound-juicer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marco Beishuizen List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jan 2010 17:00:09 -0000 Hi, When trying to portupgrade sound-juicer I get: ... /usr/bin/ld: warning: libssl.so.5, needed by /usr/local/lib/libneon.so, may conflict with libssl.so.7 /usr/lib/libkrb5.so: undefined reference to `hx509_certs_init' /usr/lib/libkrb5.so: undefined reference to `hx509_cert_get_serialnumber' /usr/lib/libkrb5.so: undefined reference to `hx509_cert_find_subjectAltName_otherName' /usr/lib/libkrb5.so: undefined reference to `hx509_certs_find' /usr/lib/libkrb5.so: undefined reference to `hx509_verify_attach_anchors' /usr/lib/libkrb5.so: undefined reference to `hx509_query_alloc' /usr/lib/libkrb5.so: undefined reference to `hx509_get_error_string' /usr/lib/libkrb5.so: undefined reference to `hx509_cms_unenvelope' /usr/lib/libkrb5.so: undefined reference to `hx509_lock_add_password' /usr/lib/libkrb5.so: undefined reference to `hx509_revoke_init' /usr/lib/libkrb5.so: undefined reference to `hx509_verify_hostname' /usr/lib/libkrb5.so: undefined reference to `hx509_cms_unwrap_ContentInfo' /usr/lib/libkrb5.so: undefined reference to `hx509_prompt_hidden' /usr/lib/libkrb5.so: undefined reference to `hx509_name_free' /usr/lib/libkrb5.so: undefined reference to `hx509_cert_check_eku' /usr/lib/libkrb5.so: undefined reference to `hx509_name_binary' /usr/lib/libkrb5.so: undefined reference to `hx509_certs_append' /usr/lib/libkrb5.so: undefined reference to `hx509_verify_destroy_ctx' /usr/lib/libkrb5.so: undefined reference to `hx509_name_to_Name' /usr/lib/libkrb5.so: undefined reference to `hx509_cms_wrap_ContentInfo' /usr/lib/libkrb5.so: undefined reference to `hx509_cert_get_issuer' /usr/lib/libkrb5.so: undefined reference to `hx509_free_octet_string_list' /usr/lib/libkrb5.so: undefined reference to `hx509_certs_iter' /usr/lib/libkrb5.so: undefined reference to `hx509_revoke_free' /usr/lib/libkrb5.so: undefined reference to `hx509_cert_get_subject' /usr/lib/libkrb5.so: undefined reference to `hx509_cert_free' /usr/lib/libkrb5.so: undefined reference to `hx509_verify_attach_revoke' /usr/lib/libkrb5.so: undefined reference to `hx509_get_one_cert' /usr/lib/libkrb5.so: undefined reference to `hx509_verify_init_ctx' /usr/lib/libkrb5.so: undefined reference to `hx509_revoke_add_crl' /usr/lib/libkrb5.so: undefined reference to `hx509_context_free' /usr/lib/libkrb5.so: undefined reference to `hx509_cms_create_signed_1' /usr/lib/libkrb5.so: undefined reference to `hx509_name_is_null_p' /usr/lib/libkrb5.so: undefined reference to `hx509_cms_verify_signed' /usr/lib/libkrb5.so: undefined reference to `hx509_lock_free' /usr/lib/libkrb5.so: undefined reference to `hx509_context_set_missing_revoke' /usr/lib/libkrb5.so: undefined reference to `hx509_query_match_option' /usr/lib/libkrb5.so: undefined reference to `hx509_query_free' /usr/lib/libkrb5.so: undefined reference to `hx509_lock_init' /usr/lib/libkrb5.so: undefined reference to `hx509_verify_set_proxy_certificate' /usr/lib/libkrb5.so: undefined reference to `hx509_certs_free' /usr/lib/libkrb5.so: undefined reference to `hx509_context_init' /usr/lib/libkrb5.so: undefined reference to `hx509_lock_set_prompter' /usr/lib/libkrb5.so: undefined reference to `hx509_crypto_available' gmake[2]: *** [sound-juicer] Error 1 gmake[2]: Leaving directory `/usr/ports/audio/sound-juicer/work/sound-juicer-2.28.1/src' ... There seems to be a problem with libssl.so.5, but why isn't libssl just being upgraded to libssl.so.7? Libkrb5.so seems broken too. Has anyone else had this problem? Thanks, Marco -- QOTD: "I want a home, a family, an occasional spanking ..." -- Kathy Ireland From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 17:12:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 188AC106566C for ; Fri, 15 Jan 2010 17:12:21 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id CA9648FC0A for ; Fri, 15 Jan 2010 17:12:20 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id o0FHCJkM010181 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 15 Jan 2010 11:12:19 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.3) with ESMTP id o0FHCJrc084230 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 15 Jan 2010 11:12:19 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.3/Submit) id o0FHCHZ2084227; Fri, 15 Jan 2010 11:12:18 -0600 (CST) (envelope-from dan) Date: Fri, 15 Jan 2010 11:12:17 -0600 From: Dan Nelson To: Gary Kline Message-ID: <20100115171217.GE5651@dan.emsphone.com> References: <20100114012059.GA3921@thought.org> <20100114013746.GB67999@orion.hsd1.pa.comcast.net> <20100114024242.GA9744@thought.org> <20100114165717.GA5651@dan.emsphone.com> <20100114201616.GA73961@thought.org> <20100114211947.GB5651@dan.emsphone.com> <20100114223105.GA84284@thought.org> <20100114230825.GD5651@dan.emsphone.com> <20100115001351.GA27272@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100115001351.GA27272@thought.org> X-OS: FreeBSD 7.2-STABLE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.95.3 at email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Fri, 15 Jan 2010 11:12:19 -0600 (CST) X-Scanned-By: MIMEDefang 2.45 Cc: Glen Barber , freebsd-questions@freebsd.org Subject: Re: any port use /dev/dsp directly? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 17:12:21 -0000 In the last episode (Jan 14), Gary Kline said: > On Thu, Jan 14, 2010 at 05:08:25PM -0600, Dan Nelson wrote: > > In the last episode (Jan 14), Gary Kline said: > > > On Thu, Jan 14, 2010 at 03:19:47PM -0600, Dan Nelson wrote: > > > > The sox port comes with its own "play" command that can parse many > > > > containers and encodings, including wav files. > > > > > > I did see that. I'm wondering of theses is some sox translation that > > > would do say > > > > > > %sox -w WAV -r [rawoutfile] > > > > Certainly; file conversion is one of the basic purposes of sox. > > Something like: > > > > sox myfile.wav -b 16 -e signed -r 22050 -c 2 myfile.raw > > > > will convert the wav file (whatever its format is) to a signed 16-bit > > stereo raw file. For raw files, you can also use special file > > extensions that specify the encoding ("myfile.s16" for example, for a > > signed 16-bit file). Adding "-V3" to the beginning of the command will > > print the full input and output specs, plus the filter chain required to > > do the conversion (if any). The sox and soxformat manpages are pretty > > comprehensive. > > > > yes, the man page is thorough, but almost unreadable, at least to me. i > found a tutorial with exaples that should the WAV to RAW conversion. on > my freebsd desktop, sox didn't like it. it kept echoing the usage. That is a bit annoying, yes, but right before the usage test, it should have printed an error message saying what it didn't like about your commandline. > on my ubuntu system, sox failed completely complaining that that it wasn't > set for "auto" ..... [?] I checked again here to see if sox as play would > work, and it does. so at least that much works. > > the error output escapes me. doesn't the ``-r 22050'' specify the > sampling rate? Yes, but that was during the wav->raw conversion. The sample rate wasn't stored in the raw file, because raw files are just that: raw audio data, with no headers indicating sampling rate for encoding format. For the play command to be able to handle a raw file, it needs to be told the rate and format when it's run. > play FAIL formats: bad input format for file `myfile.raw': sampling rate was not specified -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 17:53:09 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC0111065670 for ; Fri, 15 Jan 2010 17:53:09 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.103.93]) by mx1.freebsd.org (Postfix) with ESMTP id 80AB38FC16 for ; Fri, 15 Jan 2010 17:53:09 +0000 (UTC) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.14.2/8.13.8) with ESMTP id o0FHqhXl028318 for ; Fri, 15 Jan 2010 11:52:55 -0600 (CST) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <201001151752.o0FHqhXl028318@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <28316.1263577963.1@dc.cis.okstate.edu> Date: Fri, 15 Jan 2010 11:52:43 -0600 From: Martin McCormick Subject: Re: Trying to build 8.0 Headless Installation Disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 17:53:09 -0000 Tim Judd writes: > ^^^ mkisofs needs to have the boot record > -b boot/cdboot -no-emul-boot It works! Thank you. Here is another question as I am still trying to reduce the logistics of remotely rebuilding several FreeBSD systems. The 8.0 CDROM uses mfs and opens up some interesting possibilities. If one could get some sort of sshd server going with password security, the install could be directed over the network. No need to procure terminal servers which all agree are a great idea to have but which never seem to get bought and installed. Is there a way to safely run the new installer from a sshd server that one might start with? The idea would be to have Disk 1 that starts sshd and a kernel. You get staff at the remote end to remove Disk 1 and install Disk 2 which is the CDROM containing the 8.0 installation. You then run sysinstall and it works without clobbering your ssh connection until time to reboot. The ultimate solution would be to have the installation CDROM be capable of bringing up sshd with some sort of password protection. Most systems these days have usb ports which may not be bootable, but one could stick a /etc/passwd file on a thumb drive. When the OS saw it, it would use DHCP to get an address and then start sshd. No usb drive or no floppy with a passwd file on it, no network or sshd. Thanks. Martin McCormick From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 16:04:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FE8F106566B for ; Fri, 15 Jan 2010 16:04:34 +0000 (UTC) (envelope-from ipfreak@yahoo.com) Received: from web52106.mail.re2.yahoo.com (web52106.mail.re2.yahoo.com [206.190.48.109]) by mx1.freebsd.org (Postfix) with SMTP id EF66D8FC18 for ; Fri, 15 Jan 2010 16:04:33 +0000 (UTC) Received: (qmail 48420 invoked by uid 60001); 15 Jan 2010 15:37:49 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1263569869; bh=Hl4Oqf3CLZBH4ufyApzRseqZhPaRu6BhS7q1/4XDXvA=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=PnWbkL5TArst3qJYTDN92MtGxOd4E1UmsGTDa3zCbUXKOlo2pcJ4RAwGYIUHM4zzhamADcNLAGX7MbLOpfUZqkpDGMcEO56g7FNG/pnMPiqzd0eNAGDsPMSrG4QKVWHHl8xcQhaJ3LGISUV9pnBNXcXFjCyGvDe2c+Ue//9ycz8= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=ddmzEvnv+c4gHTpOk5uDSEYF2voq8KzqP3zs1VdESxF9VfwcdpYJESnd8V9FhrDIQ6tDFGXgyqRRuJdY9PWfc0NUbTBe4HQFuTyDoXhypMSB91c4ukYHJPthzAvCXFBRurVYwix5tCLlw+u+HNlbayn1iVJXhrHPqlEGAx6XanY=; Message-ID: <723540.47549.qm@web52106.mail.re2.yahoo.com> X-YMail-OSG: N8Q3CgYVM1m6qWFvPD67R.sgcBmXZceGF8atRftx2l_JYNjD9HDShoshB58jK22ssdmjjnGVSdpTAtmM7oiXCGtG.CySM9YkxDtyxwMb6FlvQ69NNiuBiDsDbu2M6BIWp4TclVy0b3JCEKQhCaKkbITk50GOUS0HhYzopcNtKGYH26eypvhXz7B48UR77e1gX_V4aSDzFX7W5aV89Xt9tmGmPohHQ1AsZg2wQ8UsaZ99HKTazCf_uifWoxkGX47XayC1qgQHTX6.NoX1YTdoGXc83GeULnA4fL_ecNV2sM9MvJOV.nvwoMtEE0vAwgkTrCRo7eFV4Ohv0E.GzJpb Received: from [134.207.53.14] by web52106.mail.re2.yahoo.com via HTTP; Fri, 15 Jan 2010 07:37:49 PST X-Mailer: YahooMailClassic/9.0.20 YahooMailWebService/0.8.100.260964 Date: Fri, 15 Jan 2010 07:37:49 -0800 (PST) From: gahn To: freebsd general questions MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailman-Approved-At: Fri, 15 Jan 2010 18:08:02 +0000 Subject: vi editing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 16:04:34 -0000 Hi gurus: I am trying to add a word on every line (right in front of every line) via vi. Right now I have: xxxxxxxxx xxxxxxxxx xxxxxxxxx after that, I want to have: "new word" xxxxxxxxx "new word" xxxxxxxxx "new word" xxxxxxxxx How could I do that with vi? From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 18:11:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3DCC106568D for ; Fri, 15 Jan 2010 18:11:33 +0000 (UTC) (envelope-from jd_bronson@sbcglobal.net) Received: from cheyenne.hanadarko.com (75-9-98-151.lightspeed.milwwi.sbcglobal.net [75.9.98.151]) by mx1.freebsd.org (Postfix) with ESMTP id 4555E8FC13 for ; Fri, 15 Jan 2010 18:11:32 +0000 (UTC) Received: from [127.0.0.1] (cheyenne.hanadarko.com [10.43.82.2]) by cheyenne.hanadarko.com (8.14.4/8.14.4) with ESMTP id o0FIBUas003369; Fri, 15 Jan 2010 12:11:31 -0600 (CST) Message-ID: <4B50AFD4.2000808@sbcglobal.net> Date: Fri, 15 Jan 2010 12:11:32 -0600 From: "J.D. Bronson" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: gahn References: <723540.47549.qm@web52106.mail.re2.yahoo.com> In-Reply-To: <723540.47549.qm@web52106.mail.re2.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd general questions Subject: Re: vi editing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 18:11:33 -0000 preface each line: :%s/^/new word /g -- J.D. Bronson Information Technology Aurora Health Care - Milwaukee WI From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 18:13:46 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ECF691065670 for ; Fri, 15 Jan 2010 18:13:46 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id ACD678FC0A for ; Fri, 15 Jan 2010 18:13:46 +0000 (UTC) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1NVqg4-0006hX-VI; Fri, 15 Jan 2010 21:13:45 +0300 From: Boris Samorodov To: gahn References: <723540.47549.qm@web52106.mail.re2.yahoo.com> Date: Fri, 15 Jan 2010 21:13:44 +0300 In-Reply-To: <723540.47549.qm@web52106.mail.re2.yahoo.com> (gahn's message of "Fri, 15 Jan 2010 07:37:49 -0800 (PST)") Message-ID: <33917351@bb.ipt.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd general questions Subject: Re: vi editing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 18:13:47 -0000 On Fri, 15 Jan 2010 07:37:49 -0800 (PST) gahn wrote: > I am trying to add a word on every line (right in front of every line) via vi. Right now I have: > xxxxxxxxx > xxxxxxxxx > xxxxxxxxx Type this: :%s/^/"new word" / > after that, I want to have: > "new word" xxxxxxxxx > "new word" xxxxxxxxx > "new word" xxxxxxxxx > How could I do that with vi? -- 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 Fri Jan 15 18:19:11 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2721A1065676 for ; Fri, 15 Jan 2010 18:19:11 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-158.bluehost.com (outbound-mail-158.bluehost.com [67.222.39.38]) by mx1.freebsd.org (Postfix) with SMTP id D58268FC08 for ; Fri, 15 Jan 2010 18:19:10 +0000 (UTC) Received: (qmail 1237 invoked by uid 0); 15 Jan 2010 18:19:10 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by outboundproxy5.bluehost.com with SMTP; 15 Jan 2010 18:19:10 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=GlkSinrdpctopxbyLEC3nmgtzBBPt19nF+Qzs13fOMi8vEuplBIgQw037SQPB5bgvexEJgZ2nJ0Y9kqfllgaOyXrvlKJzz2SAP76fWFU9h2KVMN7xrw7YjjchzsGOfxK; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NVqlI-00050m-VR for freebsd-questions@freebsd.org; Fri, 15 Jan 2010 11:19:10 -0700 Received: by kukaburra.hydra (sSMTP sendmail emulation); Fri, 15 Jan 2010 11:11:10 -0700 Date: Fri, 15 Jan 2010 11:11:10 -0700 From: Chad Perrin To: freebsd general questions Message-ID: <20100115181110.GA52842@guilt.hydra> Mail-Followup-To: freebsd general questions References: <723540.47549.qm@web52106.mail.re2.yahoo.com> <4B50AFD4.2000808@sbcglobal.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline In-Reply-To: <4B50AFD4.2000808@sbcglobal.net> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: vi editing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 18:19:11 -0000 --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 15, 2010 at 12:11:32PM -0600, J.D. Bronson wrote: > preface each line: >=20 > :%s/^/new word /g The trailing g isn't needed because you only need one substitution on each line. Thus: :%s/^/new word / --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --6TrnltStXW4iwmi0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAktQr74ACgkQ9mn/Pj01uKVG/QCfeiU532Q0YZTLIFejJ2OIwRkE b5oAoOU58+ebDCahL6SOUA9gCcO3b6pD =q4s+ -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0-- From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 18:23:13 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F82C106568B for ; Fri, 15 Jan 2010 18:23:12 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from relay.ptn-ipout02.plus.net (relay.ptn-ipout02.plus.net [212.159.7.36]) by mx1.freebsd.org (Postfix) with ESMTP id F06E68FC30 for ; Fri, 15 Jan 2010 18:23:11 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEANpAUEtUXebi/2dsb2JhbADaH4QxBA Received: from relay03.plus.net ([84.93.230.226]) by relay.ptn-ipout02.plus.net with ESMTP; 15 Jan 2010 18:23:10 +0000 Received: from [84.92.153.232] (helo=curlew.milibyte.co.uk) by relay03.plus.net with esmtp (Exim) id 1NVqpC-00030h-8l; Fri, 15 Jan 2010 18:23:10 +0000 Received: by curlew.milibyte.co.uk with local (Exim 4.71) (envelope-from ) id 1NVqpC-0003YR-0Q; Fri, 15 Jan 2010 18:23:10 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Fri, 15 Jan 2010 18:23:09 +0000 User-Agent: KMail/1.9.10 References: <723540.47549.qm@web52106.mail.re2.yahoo.com> In-Reply-To: <723540.47549.qm@web52106.mail.re2.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201001151823.09985.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false X-Plusnet-Relay: 206bfbda1c8eb702d5d6987bbc680c0b Cc: gahn Subject: Re: vi editing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 18:23:13 -0000 On Friday 15 January 2010, gahn wrote: > Hi gurus: > > I am trying to add a word on every line (right in front of every > line) via vi. Right now I have: > > xxxxxxxxx > xxxxxxxxx > xxxxxxxxx > > after that, I want to have: > > "new word" xxxxxxxxx > "new word" xxxxxxxxx > "new word" xxxxxxxxx > > How could I do that with vi? :%s/^/"new word"/ -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 18:33:12 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C287E106566B for ; Fri, 15 Jan 2010 18:33:12 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from smtp-vbr3.xs4all.nl (smtp-vbr3.xs4all.nl [194.109.24.23]) by mx1.freebsd.org (Postfix) with ESMTP id 589D18FC13 for ; Fri, 15 Jan 2010 18:33:11 +0000 (UTC) Received: from yokozuna.lan (213-84-73-82.adsl.xs4all.nl [80.101.78.208]) by smtp-vbr3.xs4all.nl (8.13.8/8.13.8) with ESMTP id o0FIXALe048884 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 15 Jan 2010 19:33:10 +0100 (CET) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan (yokozuna.lan [127.0.0.1]) by yokozuna.lan (8.14.3/8.14.3) with ESMTP id o0FIXApn063789 for ; Fri, 15 Jan 2010 19:33:10 +0100 (CET) (envelope-from mbeis@xs4all.nl) Date: Fri, 15 Jan 2010 19:33:10 +0100 (CET) From: Marco Beishuizen Sender: marco@yokozuna.lan To: freebsd-questions@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Virus-Scanned: by XS4ALL Virus Scanner Subject: linker error gnupg X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marco Beishuizen List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jan 2010 18:33:12 -0000 Gnupg exits with the following error when portupgrading it: ... gpg2keys_ldap-gpgkeys_ldap.o(.text+0xd09): In function `send_key': : undefined reference to `ascii_isspace' gmake[2]: *** [gpg2keys_ldap] Error 1 gmake[2]: Leaving directory `/usr/ports/security/gnupg/work/gnupg-2.0.14/keyserver' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/security/gnupg/work/gnupg-2.0.14' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/security/gnupg. *** Error code 1 Stop in /usr/ports/security/gnupg. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20100115-54677-16vn430-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=gnupg-2.0.13 UPGRADE_PORT_VER=2.0.13 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! security/gnupg (gnupg-2.0.13) (linker error) ... Anyone an idea how to solve this? Thanks, Marco -- A major, with wonderful force, Called out in Hyde Park for a horse. All the flowers looked round, But no horse could be found; So he just rhododendron, of course. From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 18:39:43 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60B8F1065676 for ; Fri, 15 Jan 2010 18:39:43 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-px0-f183.google.com (mail-px0-f183.google.com [209.85.216.183]) by mx1.freebsd.org (Postfix) with ESMTP id 380AB8FC0A for ; Fri, 15 Jan 2010 18:39:42 +0000 (UTC) Received: by pxi13 with SMTP id 13so674027pxi.3 for ; Fri, 15 Jan 2010 10:39:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=SjVXMccNz7XwSPp4hdpN3bfWKhjFJauC7HVtI0Dn+TM=; b=NB3z3MR/sAUyu2jeJzx23zUaj94i1xnc5YTODSkfObKafjaVtvle4YPc/gnH+rCKrO Z+Kc6P6ZypmYWd66H2zTeGnEtL1nbZjTHi1xOEJBnSq2qtA/GLNKo4UxhYnC6CVJS1eF iQeMBS1UYmlUjhK/d4w+wNWmQ32Zpl1OeMw0I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=N+NH5jyKEXiAuhuQZSzRzrhqRG6kgp5PTvtKevJ52fXcR2HSbv1ZWLSRfLvxPvv+1h 79XwaohS3qvxBv43eorgXrYxDrE/43jjRxcyRtdcpxgkP/pBT21lJSYcHtWwLw/TVKjY rCgJgCAKgJYLngHMVJv5OmV36G9WrY46h6aOU= MIME-Version: 1.0 Received: by 10.114.162.4 with SMTP id k4mr1854751wae.175.1263580775294; Fri, 15 Jan 2010 10:39:35 -0800 (PST) In-Reply-To: <201001132142.o0DLgDCJ077793@dc.cis.okstate.edu> References: <201001132142.o0DLgDCJ077793@dc.cis.okstate.edu> Date: Fri, 15 Jan 2010 11:39:35 -0700 Message-ID: From: Tim Judd To: Martin McCormick Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Trying to build 8.0 Headless Installation Disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 18:39:43 -0000 Replies inline On 1/13/10, Martin McCormick wrote: > Tim Judd writes: >> ^^^ mkisofs needs to have the boot record >> -b boot/cdboot -no-emul-boot >> >> >> And as another option, you might look at mfsBSD, it runs off mfs (RAM) >> disks with sshd being enabled by default. Once it boots (kernel >> starts probing), the cd can be ejected. > > This could be a game changer if I could somehow get the > FreeBSD8.0 installation CD to run remotely via this method. The install mediums are a basic freebsd kernel with a MFS-root that provides a cut-down userland including the binary sysinstall. The kernel tries a few binaries to run as the initial binary, init. The last item it will try to launch on startup is sysinstall. > > The problem is that some of the systems that I am > upgrading are 150 miles away. We have people there who are not > comfortable with Unix but who are certainly able to install and > remove CDROM's on request. If I could get the sysinstall > application to talk to me over the network, I don't care if it > is a serial line or not. You can run sysinstall over any connection, I've had it running on the local console (of course), serial console, and ssh session. > If we could get this down to 1 or two CD's, a major > millstone will be removed from my neck. > > As a computer user who happens to be blind, the serial > console is extremely useful and I usually make whatever version > of FreeBSD we are using in to a serial console disk so it comes > up serial, even if it is right next to me. It just makes things > go more smoothly if one doesn't have to hunt up a keyboard and > hope this or that box still has a sounder so you can hear any > beeps. I'm surprised on how far braille has gotten onto computer systems. > I have even put a portable radio on top of a server and > listened for activity because that was the only way to tell if > it was booting or in Lala Land. Just for the record, a steady > sound usually means Lala Land and a sound like whales competing > FOR territory and female attention means something is happening. > > Anyway, not needing to modify the installation disk, > itself would be nice. > > In closing, I love FreeBSD and nothing said here is a > gripe or complaint. FreeBSD is Unix and therefore accessible. > Utilities like installation disks and rescue applications are > always a little tricky because they deal with the system at a > very low level. > > Martin McCormick WB5AGZ Stillwater, OK > Systems Engineer > OSU Information Technology Department Telecommunications Services Group > _______________________________________________ > 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 Jan 15 18:46:22 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29F81106566C for ; Fri, 15 Jan 2010 18:46:21 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from mail-qy0-f174.google.com (mail-qy0-f174.google.com [209.85.221.174]) by mx1.freebsd.org (Postfix) with ESMTP id A51928FC0A for ; Fri, 15 Jan 2010 18:46:21 +0000 (UTC) Received: by qyk4 with SMTP id 4so656564qyk.7 for ; Fri, 15 Jan 2010 10:46:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=9o9V+BNLB4ZpIzvognH2a4fdu0j67nzqO1gZr/r4SOg=; b=QcACj5SRdYFi/C+Bye6bxObJbLS6btb8Swmdq9tdniwCLRyKvGakHwOl1n85Fy3yQJ pFTNDvzKQ1g0i7E+ePFx7iUOwrxlu1fAMGmXj30utJxj/hybty4/v8w8kfku9hXxDIUA txu3gWwI3b7okDdoML8YxlaqZXs3XUJZaYn60= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=krNnESnqhvZmZXC7idEy9nSdbjT5V0nOIVUvXrH5CAuAoP5OXK/qu9Cf65REoTEHFB 8+T7PMJuEl4KzCAqDqPkC3kgQjWrMhb01s8tPBrewWsHK/1oxNgtONzBWCNYFWOIqQA3 egjfZmE3nxu+VYSitMHDoTLquulWWxLUKIZ2Q= MIME-Version: 1.0 Received: by 10.229.15.203 with SMTP id l11mr2313397qca.43.1263581174326; Fri, 15 Jan 2010 10:46:14 -0800 (PST) Date: Fri, 15 Jan 2010 10:46:14 -0800 Message-ID: <560f92641001151046r113b2846kd101e8e5fea8f131@mail.gmail.com> From: Nerius Landys To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Subject: /etc/rc.d/program nice value X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 18:46:22 -0000 I'm running some programs using the /etc/rc.d/ and /usr/local/etc/rc.d/ startup scripts. I am wondering if there is some standard way to run these programs at a higher nice value. From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 18:50:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A7EA106566B for ; Fri, 15 Jan 2010 18:50:34 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id 67A378FC16 for ; Fri, 15 Jan 2010 18:50:34 +0000 (UTC) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NVrFc-000M0d-K8; Fri, 15 Jan 2010 13:50:33 -0500 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id 0346F3A18B2F; Fri, 15 Jan 2010 13:50:28 -0500 (EST) Message-ID: <4B50B8EF.5080408@FreeBSD.org> Date: Fri, 15 Jan 2010 13:50:23 -0500 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Nerius Landys References: <560f92641001151046r113b2846kd101e8e5fea8f131@mail.gmail.com> In-Reply-To: <560f92641001151046r113b2846kd101e8e5fea8f131@mail.gmail.com> X-Enigmail-Version: 0.96.0 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) Cc: FreeBSD Mailing List Subject: Re: /etc/rc.d/program nice value X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jan 2010 18:50:34 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nerius Landys wrote: > I'm running some programs using the /etc/rc.d/ and > /usr/local/etc/rc.d/ startup scripts. I am wondering if there is some > standard way to run these programs at a higher nice value. Hi Nerius, Check out the list of variables in /etc/rc.subr. This should help you: # ${name}_nice n Nice level to run ${command} at. That means you can write this in your /etc/rc.conf file: apache22_enable="YES" apache22_nice="10" Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLULjv0sRouByUApARAv7zAJ4tbzuO/iixDQ4uXuko3eZV3vd3vQCgxS6A +iD7qTmAyK5Dff6WWSihtY4= =o29l -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 18:56:44 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC42B1065694 for ; Fri, 15 Jan 2010 18:56:44 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from mail-qy0-f174.google.com (mail-qy0-f174.google.com [209.85.221.174]) by mx1.freebsd.org (Postfix) with ESMTP id 92A5F8FC25 for ; Fri, 15 Jan 2010 18:56:44 +0000 (UTC) Received: by qyk4 with SMTP id 4so661382qyk.7 for ; Fri, 15 Jan 2010 10:56:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=pG4eeuFWAp9DVMLTu41CiSuRPBCdSRRVQr9Jvchw7h0=; b=c/MH1itEdfiQTqynTtbD67Ac2Wzkkh8rHWJT3aB1RJPmTbOdrhiChQhVaoUqGVuCUi /xI7tlI1uboN4xHLqH5tOnY4JQggbZbXXyX+jFu1qqxbvU1TU4WQt5HllwXm9NbB91os ehiBDu/rhsUgNKPPExbzQtZUIv4NZdxBf7600= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=g5IDn3JgQZWueF4Rn2jasXlUwmWddLzLW/bdzZ7klxGfcMT2Qsf2Zw3gHEtyejSD4k 4tPpZdQO0sVwO39G8T7ZDQQoUroG56VcM9QJKWhs0fJpNJV8oxFWHdgbX9ZZsWJ2v3+q NtAMoOReygRPfyyCa0t3SZZiPhyrVVu0uMYWk= MIME-Version: 1.0 Received: by 10.229.119.159 with SMTP id z31mr2228648qcq.49.1263581796972; Fri, 15 Jan 2010 10:56:36 -0800 (PST) In-Reply-To: <4B50B8EF.5080408@FreeBSD.org> References: <560f92641001151046r113b2846kd101e8e5fea8f131@mail.gmail.com> <4B50B8EF.5080408@FreeBSD.org> Date: Fri, 15 Jan 2010 10:56:36 -0800 Message-ID: <560f92641001151056o2b05834v21d270d972abcbe6@mail.gmail.com> From: Nerius Landys To: glarkin@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Mailing List Subject: Re: /etc/rc.d/program nice value X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 18:56:45 -0000 > That means you can write this in your /etc/rc.conf file: > > apache22_enable="YES" > apache22_nice="10" > > Hope that helps, Oh yes, that helps a lot. Thanks! From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 19:01:05 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BC62106568B for ; Fri, 15 Jan 2010 19:01:05 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from poseidon.ceid.upatras.gr (poseidon.ceid.upatras.gr [150.140.141.169]) by mx1.freebsd.org (Postfix) with ESMTP id 383C98FC13 for ; Fri, 15 Jan 2010 19:01:04 +0000 (UTC) Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id 3780BEB4873; Fri, 15 Jan 2010 21:01:04 +0200 (EET) Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 12188160F6A; Fri, 15 Jan 2010 21:01:04 +0200 (EET) X-Virus-Scanned: amavisd-new at ceid.upatras.gr Received: from mail.ceid.upatras.gr ([127.0.0.1]) by localhost (europa.ceid.upatras.gr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2Mz2URPz8P06; Fri, 15 Jan 2010 21:01:03 +0200 (EET) Received: from kobe.laptop (ppp-94-64-228-146.home.otenet.gr [94.64.228.146]) by mail.ceid.upatras.gr (Postfix) with ESMTP id C23F0160F5E; Fri, 15 Jan 2010 21:01:03 +0200 (EET) Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id o0FJ13Ve030295 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 15 Jan 2010 21:01:03 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id o0FJ12rB030292; Fri, 15 Jan 2010 21:01:02 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: gahn References: <723540.47549.qm@web52106.mail.re2.yahoo.com> Date: Fri, 15 Jan 2010 21:01:02 +0200 In-Reply-To: <723540.47549.qm@web52106.mail.re2.yahoo.com> (gahn's message of "Fri, 15 Jan 2010 07:37:49 -0800 (PST)") Message-ID: <87y6jzmbv5.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd general questions Subject: Re: vi editing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 19:01:05 -0000 On Fri, 15 Jan 2010 07:37:49 -0800 (PST), gahn wrote: > Hi gurus: > > I am trying to add a word on every line (right in front of every line) via vi. Right now I have: > > xxxxxxxxx > xxxxxxxxx > xxxxxxxxx > > after that, I want to have: > > "new word" xxxxxxxxx > "new word" xxxxxxxxx > "new word" xxxxxxxxx > > How could I do that with vi? :%s/^/new word / From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 19:36:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D6C1106568F for ; Fri, 15 Jan 2010 19:36:02 +0000 (UTC) (envelope-from mark@mkproductions.org) Received: from server1.tntpowerhost.com (unknown [IPv6:2607:f128:40:b00::]) by mx1.freebsd.org (Postfix) with ESMTP id 007538FC2A for ; Fri, 15 Jan 2010 19:36:01 +0000 (UTC) Received: from adsl-75-13-226-150.dsl.spfdmo.sbcglobal.net ([75.13.226.150] helo=localhost) by server1.tntpowerhost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.71 (FreeBSD)) (envelope-from ) id 1NVrxh-0008bf-CM; Fri, 15 Jan 2010 13:36:01 -0600 Date: Fri, 15 Jan 2010 13:35:59 -0600 From: Mark Kane To: Michel Le Cocq Message-ID: <20100115133559.52546d53@mkproductions.org> In-Reply-To: <20100115135113.GB3885@e4300> References: <20100115135113.GB3885@e4300> X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.5; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server1.tntpowerhost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [26 6] / [26 6] X-AntiAbuse: Sender Address Domain - mkproductions.org Cc: freebsd-questions@freebsd.org Subject: Re: rdiff-backup-1.2.8 python2.5.4 : OverflowError: signed integer is greater than maximum X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 19:36:02 -0000 On Fri, Jan 15, 2010, at 14:51:14 +0100, Michel Le Cocq wrote: > I run rdiff-backup on my backup server: > - FreeBSD 8.0-RELEASE AMD64 > - rdiff-backup-1.2.8,1 > - python25-2.5.4_3 > - be pro quad > - 4G Ram > > I try to rdiff a folder on a nfs ro mounted volume to an other volume. > > I obtain this error : OverflowError: signed integer is greater than > maximum > > I have the same problem as Brad Beyenhof see here : > http://www.mail-archive.com/rdiff-backup-users@nongnu.org/msg03794.html > > I know it's a know problem due to a bug in Python. And have to upgrad > Python to 2.5.4 or 2.6.1. > > But I'm on python25-2.5.4_3 !!! and rdiff need python25 to run so I > can't remove it for python26... > > What can I do to obtain my full backup ? > > Thanks Hi. I'm not familiar with the specific bug, but if you want to upgrade Python from 2.5 to 2.6 that can be done by following the 20090608 entry in /usr/ports/UPDATING. I also use rdiff-backup and can confirm that it works with Python 2.6. Hope that helps, -Mark -- Internet Radio: Party107 (Trance/Electronic) - http://www.party107.com IRC: MIXXnet IRC Network - irc.mixxnet.net (Nick: MarkK) From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 19:40:11 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75BBF106566B for ; Fri, 15 Jan 2010 19:40:11 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 4B2FE8FC16 for ; Fri, 15 Jan 2010 19:40:11 +0000 (UTC) Received: from eagle.syrec.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.3/8.14.3) with ESMTP id o0FJeANY072551 for ; Fri, 15 Jan 2010 11:40:10 -0800 (PST) (envelope-from yuri@rawbw.com) Message-ID: <4B50C49A.7070308@rawbw.com> Date: Fri, 15 Jan 2010 11:40:10 -0800 From: Yuri User-Agent: Thunderbird 2.0.0.23 (X11/20091130) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [audio] Why pcm audio signal can't be read back through pcm channel? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yuri@rawbw.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jan 2010 19:40:11 -0000 I noticed that I can't record sound that comes from pcm channel. For example audacity only records my voice coming from mic, but doesn't record other person's voice that skype sends into pcm channel. This used to work before. I look at mixer -- all channels are open. Why pcm doesn't get sent back? Is there something wrong with mixer? snd_es137x.ko is used: pcm0: port 0xec00-0xec3f irq 17 at device 1.0 on pci8 pcm0: es1370_wrcodec: timed out pcm0: es1370_wrcodec: timed out pcm0: es1370_wrcodec: timed out pcm0: [ITHREAD] pcm0: Yuri From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 18:12:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51B2D1065695 for ; Fri, 15 Jan 2010 18:12:57 +0000 (UTC) (envelope-from davidoweir3@yahoo.co.uk) Received: from smtp134.mail.ukl.yahoo.com (smtp134.mail.ukl.yahoo.com [77.238.184.65]) by mx1.freebsd.org (Postfix) with SMTP id A21088FC1A for ; Fri, 15 Jan 2010 18:12:56 +0000 (UTC) Received: (qmail 56273 invoked from network); 15 Jan 2010 18:12:53 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Message-ID:Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:From:Return-Receipt-To:Disposition-Notification-To:Subject:Date:To:X-Priority:Content-Type:Content-Transfer-Encoding; b=GsLOScUGgu7naxzVd7bDI0PPcFIf3QfvA9fUeV/R4rzeCbV7+O5qWdRpE9ZB5/16YdyY6Z6E/Ku0oRHqLODKFyxMKf0ZXY0cI4aR2HlmXcn8Yq9QOuar27KBdoLzuIg19C6vgVlAr+5Lfw8Gtd9scExse+YFuZZS5uns0UcoRGY= ; Message-ID: <225661.56209.qm@smtp134.mail.ukl.yahoo.com> Received: from (davidoweir3@212.183.140.49 with login) by smtp134.mail.ukl.yahoo.com with SMTP; 15 Jan 2010 18:12:51 +0000 GMT X-Yahoo-SMTP: pIR2vFGswBAkETANI0hlNB_ZBaaaLSrj X-YMail-OSG: ldNBGX4VM1mnZ61ba82ShNNvv5gXriGtRnS_.oEdquMcYdt8OFsaySkH0A..YJeaXRqUhBCtD4eVUT4rgcwORbIa.sOS46OOIXfrV0vhSJKBwoMrc0OSSVI.604wVBYAxhzprl5JoJYOQg8JMmF0WWfHxWvudsNXoCm4x1HfttNEqQMhZSSmMV0K5Wnzafrn_P2EdLKBOfLdzOn4EW367b6__J1bdNJSBjkj6KzmitLXqg-- X-Yahoo-Newman-Property: ymail-3 From: davidoweir3@yahoo.co.uk Date: Fri, 15 Jan 2010 18:12:53 +0000 To: freebsd-questions@freebsd.org X-Priority: 3 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Mailman-Approved-At: Fri, 15 Jan 2010 19:51:36 +0000 Subject: Server 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: Fri, 15 Jan 2010 18:12:57 -0000 Q2FuIGkgaW5zdGFsbCBmcmVlIGJzZCBvbiBhIFdpbmRvdydzIDk4IG1hY2hp bmUgYW5kIHdoYXQgZG8gaSBuZWVkIG9uIHRoZSBtYWNoaW5lIHRvIHNldCBp dCB1cCBhcyBhIHNlcnZlciBhbmQgd2hhdCBzb2Z0d2FyZSBhbmQgaGFyZHdh cmUgZG9lcyBpdCBuZWVkIAoK From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 20:04:42 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6C8E106568F for ; Fri, 15 Jan 2010 20:04:42 +0000 (UTC) (envelope-from sfourman@gmail.com) Received: from mail-pz0-f185.google.com (mail-pz0-f185.google.com [209.85.222.185]) by mx1.freebsd.org (Postfix) with ESMTP id 8E5448FC17 for ; Fri, 15 Jan 2010 20:04:42 +0000 (UTC) Received: by pzk15 with SMTP id 15so817334pzk.3 for ; Fri, 15 Jan 2010 12:04:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=4CNOO7YUloAgBI8/2WvVu+VL7mEu6kyb0iN0jDg87Bg=; b=wbhhf7at/dhTvQSjbgqR65SE79TrKzC0nzLJjIjfhQzTppspTH02QAOfronyDnEmTg InDUSyGYd1S2PYtWfLb10RY2Vu1hSort/YrGmjUj84WOr88OvsLVr02EjG+u1HHJO+M/ 3COHT6cGLtnbTruEgwz+r1/dK3PdEbgMIAYlM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=tf9WW1C0lizrQfv4MPug/nBtifYYTQ34ny7V//UCpMQXqPnsoL0qBKG266I+hVCJsl smSbnp6JRkoXktKB78Y4hsIRai6x2K5M3JLjlUVmIW5OJtrl8I3tLewnOCUdiv/JD2dH msXO1dx1ofBzs+vOLZzD0tkMAloephK9eb1DQ= MIME-Version: 1.0 Received: by 10.142.122.2 with SMTP id u2mr1962161wfc.46.1263585878454; Fri, 15 Jan 2010 12:04:38 -0800 (PST) In-Reply-To: <225661.56209.qm@smtp134.mail.ukl.yahoo.com> References: <225661.56209.qm@smtp134.mail.ukl.yahoo.com> Date: Fri, 15 Jan 2010 14:04:38 -0600 Message-ID: <11167f521001151204j1f9433a9w709c5bb437083b02@mail.gmail.com> From: "Sam Fourman Jr." To: davidoweir3@yahoo.co.uk Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Server 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: Fri, 15 Jan 2010 20:04:42 -0000 On Fri, Jan 15, 2010 at 12:12 PM, wrote: > Can i install free bsd on a Window's 98 machine and what do i need on the machine to set it up as a server and what software and hardware does it need FreeBSD is a Operating System, Windows 98 is a Operating System. Unless you take special measures to "Dual Boot", you will end up with only FreeBSD after you are done. You should be aware that FreeBSD and Windows 98 use different filesystems, so when you go to Install FreeBSD on your system it will be looking to repartition your hard disk. You should take care to backup your important data prior to installing FreeBSD. Sam Fourman Jr. Fourman Networks From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 20:06:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6888B1065679 for ; Fri, 15 Jan 2010 20:06:57 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout024.mac.com (asmtpout024.mac.com [17.148.16.99]) by mx1.freebsd.org (Postfix) with ESMTP id 56B1D8FC15 for ; Fri, 15 Jan 2010 20:06:57 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp024.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KWB00B9Q171E690@asmtp024.mac.com> for freebsd-questions@freebsd.org; Fri, 15 Jan 2010 12:06:37 -0800 (PST) From: Chuck Swiger X-Priority: 3 In-reply-to: <225661.56209.qm@smtp134.mail.ukl.yahoo.com> Date: Fri, 15 Jan 2010 12:06:37 -0800 Message-id: References: <225661.56209.qm@smtp134.mail.ukl.yahoo.com> To: davidoweir3@yahoo.co.uk X-Mailer: Apple Mail (2.1077) Cc: freebsd-questions@freebsd.org Subject: Re: Server 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: Fri, 15 Jan 2010 20:06:57 -0000 On Jan 15, 2010, at 10:12 AM, davidoweir3@yahoo.co.uk wrote: > Can i install free bsd on a Window's 98 machine and what do i need on the machine to set it up as a server and what software and hardware does it need FreeBSD is an operating system; you would run it instead of Windows, although if you have enough disk space, you could dual-boot between the two. Read the fine documentation here: http://www.freebsd.org/about.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html ...which includes a discussion of hardware requirements and additional software which people commonly install. Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 20:16:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 685F01065672 for ; Fri, 15 Jan 2010 20:16:14 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp106.prem.mail.ac4.yahoo.com (smtp106.prem.mail.ac4.yahoo.com [76.13.13.45]) by mx1.freebsd.org (Postfix) with SMTP id F31418FC12 for ; Fri, 15 Jan 2010 20:16:13 +0000 (UTC) Received: (qmail 34551 invoked from network); 15 Jan 2010 20:16:08 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding; b=zKbTEy9nqmjJrsonEDRDATDX8Xsg3DCU6apfRxtKLmpmzmdx3kRac5SUpG1cnba94PYcMKanVy/+MwUdOb77XkpaHw1d8rLSkUyQOBD70r+ADdicKMdZ5O5/eELMyBGmlr24XMupnmOib9FFU6Lf4Kiad8Vd79OzJOhCqPl6Zr4= ; Received: from c-67-189-160-65.hsd1.ny.comcast.net (gesbbb@67.189.160.65 with login) by smtp106.prem.mail.ac4.yahoo.com with SMTP; 15 Jan 2010 12:16:08 -0800 PST X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: QdWsuxoVM1k2FlrTjT.eX_Wos7m.89ONzoA0ffXXeKUhdjusaTyHlnT0.qaOYNXDTBGhk1PmvWIaIDMWBtylLtj8tavDQQM1rrcTmp4.OhKrRkNU3WivUkQNeFuaX9oABVWvlkcMr9b5D8SJysI3690XjQj0Cp15b1IFAZ.hmuoJThamlJ3etBSPkiwYFr0ZO6YcW8NdB0TTzSi64wmHyy.hs4u02fGH0wv74HJfGWMVyagL_PL_u13dx3o6J3.HNH56FagvBhbCUGZeFu2qW5mgR1EQs8o4kjuHey0Eqpv0PemR7EmqXtbUxLzhucjVtHa.XZvdQ3Dz_e2w5PCk8dTioc8Dy62RieYGd1Sy_3MAg7cS9H0MPW3vATqW2x5O1D1eTb_kL0w1.Be5RstU X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.101]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: gesbbb@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 7825E2283B for ; Fri, 15 Jan 2010 15:16:07 -0500 (EST) Date: Fri, 15 Jan 2010 15:16:07 -0500 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20100115151607.68824e74@scorpio.seibercom.net> In-Reply-To: <225661.56209.qm@smtp134.mail.ukl.yahoo.com> References: <225661.56209.qm@smtp134.mail.ukl.yahoo.com> Organization: seibercom.net X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.5; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Server set up 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, 15 Jan 2010 20:16:14 -0000 On Fri, 15 Jan 2010 18:12:53 +0000 davidoweir3@yahoo.co.uk articulated: >Can i install free bsd on a Window's 98 machine and what do i need on >the machine to set it up as a server and what software and hardware >does it need This might answer some of your questions: http://www.freebsd.org/doc/en/books/handbook/ -- Jerry gesbbb@yahoo.com |::::======= |::::======= |=========== |=========== | Winter is nature's way of saying, "Up yours." Robert Byrne From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 20:27:35 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D1A81065672 for ; Fri, 15 Jan 2010 20:27:35 +0000 (UTC) (envelope-from ipfreak@yahoo.com) Received: from web52107.mail.re2.yahoo.com (web52107.mail.re2.yahoo.com [206.190.48.110]) by mx1.freebsd.org (Postfix) with SMTP id DF9438FC08 for ; Fri, 15 Jan 2010 20:27:34 +0000 (UTC) Received: (qmail 446 invoked by uid 60001); 15 Jan 2010 20:27:31 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1263587251; bh=vLlFx8Ew9++rTFHpoI2ufXCih9cAMcvTNidmhUEge8E=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=SQwF8XqbhSmHZV89zRXPUaRJb2qDyGXFGvsZ1oVt8nvDaYCtZ8oUYSc+lICCzOrUxvpu3sCdgh4VeGM0houeYtWhF8DnviigY+QWMUKTF07G5grx4aAQLoPffhkBkYl4sMCKeUnKcKj0ETFh8CnrpAWeJjEmPzjozDncpfrEe20= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=TvN2pQH9JNhHciX0ZV4GWQB3K94Crcs19MOFQopv43ACaxnT+kWDjxSU/HIvCMqkUavDZBfErSyWJ0fbSfTu9KdUn2NLWtRnNvsVmOuCMLurSNvHlo2tkXC/HfEUd1XBjDF+P63k2V/tPaMmsRVZA3QzZ1dUCv3+97GtHvDapys=; Message-ID: <757579.431.qm@web52107.mail.re2.yahoo.com> X-YMail-OSG: LegT0SIVM1mkUG.B6rO9Y4UshznGq7uHQCiVhLQ0TXEzeo7PCPM9l7CjyLbmLwHD2g1b5xNxkRlCHU32UJDkBgMpyVGTV1AnsdFpjf83fclPu1Mjl0P6cbA85ZwQaUtczo4Ud1XssteEri6ntezbNHnyE52BfZYb5i0A3FmsURwA.G8ukchuaiFPHF9LSfdgUM59YM.hGcco9pfWYOzGiiwy4vslGAUbj_kJNZJ.c1PKIyAxUf473b_52C9cqJIXwQBJKU7.45atmcxXF.54R3619Om3iNa1E.ds6LrSnT7ZQsvkrpSOY9mF6LqsyNdSnMd6RfNtl50gXSVZlc33 Received: from [134.207.53.14] by web52107.mail.re2.yahoo.com via HTTP; Fri, 15 Jan 2010 12:27:31 PST X-Mailer: YahooMailClassic/9.0.20 YahooMailWebService/0.8.100.260964 Date: Fri, 15 Jan 2010 12:27:31 -0800 (PST) From: gahn To: freebsd general questions MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: fsck failed to sync inodes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 20:27:35 -0000 Hi gurus: I booted the system into single user mode and tried to clean up one of my corrupted file system: fsck -y /dev/ad1s1f but in the end, the file system is still dirty. anything else I can do to salvage the data? Thanks in Advance From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 20:32:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47837106566C for ; Fri, 15 Jan 2010 20:32:21 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-px0-f183.google.com (mail-px0-f183.google.com [209.85.216.183]) by mx1.freebsd.org (Postfix) with ESMTP id 1C9AA8FC1C for ; Fri, 15 Jan 2010 20:32:20 +0000 (UTC) Received: by pxi13 with SMTP id 13so739478pxi.3 for ; Fri, 15 Jan 2010 12:32:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=uOu5hL4kgLeRxeNIjlHb5QtPsSgcb8PMzE/i4aJA1IY=; b=B91kIg4Ai+e/rF5bHbHU+1rGnL0RkrGtgGoB0S8wGL+Zz9ZmhHilng37T5Bl6csyL1 ee5HTDc6TrLwqEObDW8X1kRhwEBFFOdFiJ5WsJSwhbwwnW4zAcQO6vwjrPX//4g9Kr/u bMR2xL+W7wMaXS4x2A5C8KjeoIYKAWQY8+2QA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=H0yRw8mtnEA+kOu/Bx/DjoP1hFAYKMvyu9h2BQiIlMR72fHoGQ/CyNYdxmRc2o/IIM /JvoZ+mIO1utJ41CONucY1H2qXk5x/2XDe6/hRLkwXZKcz8aFJvOgH18YuNkcSMuyAdR nt43LngKTbWi7RUy/gMDe+7qMMw5Kuw6vejPw= MIME-Version: 1.0 Received: by 10.143.25.19 with SMTP id c19mr2000878wfj.87.1263587535098; Fri, 15 Jan 2010 12:32:15 -0800 (PST) In-Reply-To: <757579.431.qm@web52107.mail.re2.yahoo.com> References: <757579.431.qm@web52107.mail.re2.yahoo.com> Date: Fri, 15 Jan 2010 14:32:14 -0600 Message-ID: <6201873e1001151232i7fb91186u7929b3b02d305fd6@mail.gmail.com> From: Adam Vande More To: gahn Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd general questions Subject: Re: fsck failed to sync inodes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 20:32:21 -0000 On Fri, Jan 15, 2010 at 2:27 PM, gahn wrote: > Hi gurus: > > I booted the system into single user mode and tried to clean up one of my > corrupted file system: > > fsck -y /dev/ad1s1f > > but in the end, the file system is still dirty. anything else I can do to > salvage the data? > > Thanks in Advance > > Run it again, fsck can require multiple runs to fix the issues. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 20:33:47 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13DEA1065697 for ; Fri, 15 Jan 2010 20:33:47 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout027.mac.com (asmtpout027.mac.com [17.148.16.102]) by mx1.freebsd.org (Postfix) with ESMTP id 01D038FC08 for ; Fri, 15 Jan 2010 20:33:46 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp027.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KWB00C7Y2G7LD30@asmtp027.mac.com> for freebsd-questions@freebsd.org; Fri, 15 Jan 2010 12:33:44 -0800 (PST) From: Chuck Swiger In-reply-to: <757579.431.qm@web52107.mail.re2.yahoo.com> Date: Fri, 15 Jan 2010 12:33:43 -0800 Message-id: <5DC1FB5E-CDA6-4FB9-BB0F-F576A9F9768F@mac.com> References: <757579.431.qm@web52107.mail.re2.yahoo.com> To: gahn X-Mailer: Apple Mail (2.1077) Cc: freebsd general questions Subject: Re: fsck failed to sync inodes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 20:33:47 -0000 Hi-- On Jan 15, 2010, at 12:27 PM, gahn wrote: > I booted the system into single user mode and tried to clean up one of my corrupted file system: > > fsck -y /dev/ad1s1f > > but in the end, the file system is still dirty. anything else I can do to salvage the data? You're not providing enough details to give specific advice. If this filesystem is already mounted as /usr (which is the default mountpoint for an "f" partition), you might try booting from CD and running fsck from there to ensure that you are not trying to fsck a mounted filesystem. If your hard drive is failing and fsck cannot fix issues because it can't write the changes to disk, you should attempt to copy the entire drive onto a replacement drive and fsck that instead. Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 20:38:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CDBC61065697 for ; Fri, 15 Jan 2010 20:38:34 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 834488FC20 for ; Fri, 15 Jan 2010 20:38:34 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o0FKcJGV055924; Fri, 15 Jan 2010 12:38:19 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Fri, 15 Jan 2010 12:38:19 -0800 (PST) Date: Fri, 15 Jan 2010 12:38:19 -0800 From: Gary Kline To: Dan Nelson Message-ID: <20100115203819.GB95648@thought.org> References: <20100114012059.GA3921@thought.org> <20100114013746.GB67999@orion.hsd1.pa.comcast.net> <20100114024242.GA9744@thought.org> <20100114165717.GA5651@dan.emsphone.com> <20100114201616.GA73961@thought.org> <20100114211947.GB5651@dan.emsphone.com> <20100114223105.GA84284@thought.org> <20100114230825.GD5651@dan.emsphone.com> <20100115001351.GA27272@thought.org> <20100115171217.GE5651@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100115171217.GE5651@dan.emsphone.com> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-1.2 required=3.6 tests=ALL_TRUSTED,BAYES_00, FH_DATE_PAST_20XX autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: Glen Barber , freebsd-questions@freebsd.org Subject: Re: any port use /dev/dsp directly? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 20:38:35 -0000 On Fri, Jan 15, 2010 at 11:12:17AM -0600, Dan Nelson wrote: > In the last episode (Jan 14), Gary Kline said: > > On Thu, Jan 14, 2010 at 05:08:25PM -0600, Dan Nelson wrote: [[ ... ]] > > > > > > sox myfile.wav -b 16 -e signed -r 22050 -c 2 myfile.raw > > > > > > will convert the wav file (whatever its format is) to a signed 16-bit > > > stereo raw file. For raw files, you can also use special file > > > extensions that specify the encoding ("myfile.s16" for example, for a > > > signed 16-bit file). Adding "-V3" to the beginning of the command will > > > print the full input and output specs, plus the filter chain required to > > > do the conversion (if any). The sox and soxformat manpages are pretty > > > comprehensive. > > > > > > > yes, the man page is thorough, but almost unreadable, at least to me. i > > found a tutorial with exaples that should the WAV to RAW conversion. on > > my freebsd desktop, sox didn't like it. it kept echoing the usage. > > That is a bit annoying, yes, but right before the usage test, it should have > printed an error message saying what it didn't like about your commandline. > > > on my ubuntu system, sox failed completely complaining that that it wasn't > > set for "auto" ..... [?] I checked again here to see if sox as play would > > work, and it does. so at least that much works. > > > > the error output escapes me. doesn't the ``-r 22050'' specify the > > sampling rate? > > Yes, but that was during the wav->raw conversion. The sample rate wasn't > stored in the raw file, because raw files are just that: raw audio data, > with no headers indicating sampling rate for encoding format. For the play > command to be able to handle a raw file, it needs to be told the rate and > format when it's run. > > > play FAIL formats: bad input format for file `myfile.raw': sampling rate was not specified > Hm. Well, once I'm further along in this stuff I'll ask your help again. I made more changes, happily advancing my project, just before I threw in the towel and went to watch the news. Spiders were gluing me to the desk with their webs. One immediate thought is that the -r 22050 may have been way too large since the WAV file is 8000Hz and mono. It is small as-is, but it wouldn't hurt to have it shrung by stripping off the header. just a thought. > -- > 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 http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 21:29:20 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96F38106566B for ; Fri, 15 Jan 2010 21:29:20 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.103.93]) by mx1.freebsd.org (Postfix) with ESMTP id 6B1B78FC08 for ; Fri, 15 Jan 2010 21:29:19 +0000 (UTC) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.14.2/8.13.8) with ESMTP id o0FLSkR0070219 for ; Fri, 15 Jan 2010 15:29:03 -0600 (CST) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <201001152129.o0FLSkR0070219@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <70217.1263590926.1@dc.cis.okstate.edu> Date: Fri, 15 Jan 2010 15:28:46 -0600 From: Martin McCormick Subject: Re: Trying to build 8.0 Headless Installation Disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 21:29:20 -0000 Thank you. I will get one of those mfs-enabled 8.0 CD's and have at it. All the boxes we need to upgrade have at least a gig of RAM so this should be the answer. Tim Judd writes: > I'm surprised on how far braille has gotten onto computer systems. Yes. I am sory that this is a bit off-topic, but there is an open-source Braille translation software project. The kind of Braille that true Braille readers read is called Grade 2 Braille. It might remind one of shorthand because the idea is to pack as much information in to the available space as possible since the size of a Braille symbol is relatively fixed because the last time I checked, human fingers are still being made in roughly the same size range that they have been made for the last 500,000 years or so. There are symbols that stand for larger words or common groups of letters such as er, ar, the and for and lots of rules as to when to spell out those letters or use the symbol. Generally, the symbol is used when it doesn't bridge syllables. It can be computerized, but it is not trivial as some of the decisions are based on context. The same 6-dot Braille cell system has been adapted to all the world's languages so there is Arabic Braille, Chinese Braille with all the rules that apply to that language. I do not know this, but I imagine that the reading sense of whether to read from left to right or right to left is preserved for that language, also. If an English Braille reader picked up a page of Braille written in Arabic, for example, it would have the familiar feel of Braille, but it would be totally incomprehensible, even as to whether or not it was right side up. From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 21:56:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B36E4106566C for ; Fri, 15 Jan 2010 21:56: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 5609A8FC17 for ; Fri, 15 Jan 2010 21:56:17 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id o0FLKhqU088606; Fri, 15 Jan 2010 16:20:43 -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 o0FLKhNm088605; Fri, 15 Jan 2010 16:20:43 -0500 (EST) (envelope-from jerrymc) Date: Fri, 15 Jan 2010 16:20:43 -0500 From: Jerry McAllister To: davidoweir3@yahoo.co.uk Message-ID: <20100115212043.GA88211@gizmo.acns.msu.edu> References: <225661.56209.qm@smtp134.mail.ukl.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <225661.56209.qm@smtp134.mail.ukl.yahoo.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Server 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: Fri, 15 Jan 2010 21:56:18 -0000 On Fri, Jan 15, 2010 at 06:12:53PM +0000, davidoweir3@yahoo.co.uk wrote: > Can i install free bsd on a Window's 98 machine and what do i need on > the machine to set it up as a server and what software and hardware > does it need Sure you can install it on a machine running W98. First a question: Do you intend to continue running the W98 or convert it completely to FreeBSD? In the first case, it is called 'dual booting', meaning there are more than one OSen on the machine and it can be booted to one or the other at any given time. So, it this case you would preserve the W98 while installing FreeBSD. In the second case you just wipe out the W98 and dedicate the whole machine to FreeBSD. In general, the main thing you need is a compatible machine. If it has been successfully running W98, then it is most probably a compatible machine. And you need enough space. In spite of what the hot shots like to claim - they like to say it can be run in a tiny minimal space - to run comfortably with any of the recent versions of FreeBSD, Xwindows, a windows manager, a reasonably feature-full web browser and an office package - most probably OpenOffice, you need at least 512 MBytes memory and 20 GBytes of disk. You would be happier with double the memory and at least 3 or 4 times the disk or more. Sure it can be done with less, but we are talking comfort here, not running embedded systems or being out to prove something. Of course, if you plan to dual boot FreeBSD along with the existing installation of W98, then you need enough disk for both of them. Probably 20 Gbytes each as a minimum. More is nicer. Although it is possible to get away without one, it is much easier nowdays if you have a CD or DVD reader (and burner if possible). Otherwise you are stuck with needing a floppy drive (USB is OK). The CD or DVD drive needs to be bootable. You may have to go in to BIOS and set it to be bootable. Also make it higher in the boot list than the hard disk. If you want to dual boot, then you will need to acquire a utility that will allow you to shrink down the W98 portion of the disk to make room for FreeBSD. There are several available, both for a price and free. The most common one to buy is Partition Magic. I have used that successfully until I came to dividing a USB disk and it failed on that. It has some other quirks and limits too. The most common free one is gparted which you can download and burn to a CD from the net. Just do a Google search for it. There are other free ones. Two limited ones come with FreeBSD. I don't remember back to W98. Does it use NTFS file system type? It the Windos file system is of type NTFS, most of the free partition utilities will not work. I think that gparted is supposed to, but I haven't tried it on that. Partition Magic does work on NTFS. That is the main reason I have paid the money to get it. But, if you can get it, buy the Version 7 of PM. It is better, in my experience, than Version 8. In fact, when I got version 8 - because it was advertised to work on USB disks - I ended up sending it back for a refund. Not only did it NOT work on USB, but some other things I don't remember now were less or not functional that worked [better] in Version 7. If you get either Partition Magic or gparted, make a bootable media for them. For PM it seems to want to be on Floppy. gparted could make a bootable CD. You need to run from that media rather than the main disk because you will be working on that main disk. Boot up the utility and squeeze down the W98 primary partition to make room for another primary partiton. Then have the utility make a _primary_ partition in the newly emptied space. The utilities will complain about there being two primary partitions and want to make one of them in to an extended one, but stick with primary partition and ignore their complaints. It has to be a primary to be bootable. Later W98 will just ignore it anyway. I think you also have to designate it as a FAT32 type for the utility, though that becomes irrelevant after FreeBSD acts on it. So, if it insists on a type, give it FAT32. If it asks, but doesn't force a selection, ignore it. I can't remember if it forces a selection or not. Some systems have two primary partitions already - one that the hardware vendor puts there with maintenance utilities. They make that "hidden" from Windows stuff (but it will be seen by FreeBSD). The other will be the W98 installation. In that case, FreeBSD will go in to a third primary partition. Once you have that all done with the disk successfully modified, then you are ready for the FreeBSD install. If you are not going to preserv the W98 (probably the better choice since W98 is lousy and obsolete) then just skip all that stuff about Partition Magic and gparted above and continue from here. Download and burn the FreeBSD install ISO disk 1 just according to the Handbook. Choose the latest RELEASE version. At the moment that is 8.0. Pop it in to the machine and boot from it. If you have any reasonable net access speed, do your install over the net. Then you only need that disk 1. If your net speed is glacial, then you need to download and burn the next 2 or 3 or buy a set at minimal cost from one of the places packaging them. There is a list on the FreeBSD website. They all are pretty cheap and donate a bit of the money back to the FreeBSD project. If you are doing the dual boot, just watch and choose slice 2 (or 3 if there is a vendor maintenance slice) to install on and follow all the installation instructions in the FreeBSD Handbook. Make sure you do select the FreeBSD MBR when it asks which one. That will allow you to choose which bootable system to boot from each time you boot. The default each time will be whichever one you last booted. If you do not dual boot, then select to use the whole disk for FreeBSD. You can still use the FreeBSD MBR, but you don't need it. You can just take the default one. NOTE, that if there is a hardware maintenance slice on the drive and you choose to keep it, then it is really a dual boot with the maint and #1 and FreeBSD as #2, using the whole previous W98 slice. Also, note that I have switched to using the term 'slice'. In FreeBSD the slice is the primary division of the disk drive. It is the same thing as Microsoft calls a Primary Partition. In FreeBSD, partitions are further divisions of slices. Somewhat akin - but incompatible with - what MS calls extended partitions. FreeBSD can read, but not always write, pretty much all of those MS things, but MS can only handle its own. Make sure you install the ports tree and run csup on the base system, the ports tree and documentation before doing any ports installs. Here is a suggested supfile for FreeBSD 8.0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # IMPORTANT: Change the next line to use one of the CVSup mirror sites # listed at http://www.freebsd.org/doc/handbook/mirrors.html. *default host=cvsup.FreeBSD.org *default base=/var/db *default prefix=/usr *default tag=RELENG_8_0 *default release=cvs *default delete use-rel-suffix *default compress ## Main Source Tree. # # The easiest way to get the main source tree is to use the "src-all" # mega-collection. It includes all of the individual "src-*" collections. src-all ports-all tag=. doc-all tag=. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - You may have some learning curve time with getting X going and some of the ports installed. But, have some patience and perserverance. You will catch on and after a while, most of it will seem second nature. There is good documentation available. The first is the FreeBSD Handbook. There are also many web sites out there with good information (and a few with bogus claims, of course). There are several good books available. Most are available at those same sites where you can buy a CD set. The issue of video card is complex. If this will be used mostly as a server, then you really only need a basic graphics card. If you want to play games, you will need a major hot one. Probably, since it is running W98, the machine is old enough that its graphics card is supported, though maybe not its wildest features. Someone else will have to talk about that. I do not do much with graphics, just the little that comes from a browser. I don't even have KDE or Gnome on most of the machines I work on. Good luck and have fun, ////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 Fri Jan 15 22:09:19 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BB341065670 for ; Fri, 15 Jan 2010 22:09:19 +0000 (UTC) (envelope-from crwhipp@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 0B5B68FC08 for ; Fri, 15 Jan 2010 22:09:18 +0000 (UTC) Received: by fxm27 with SMTP id 27so575832fxm.3 for ; Fri, 15 Jan 2010 14:09:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:in-reply-to:references :mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; bh=bTS19N/e1c1eMp1ZAzeDeo3dkB38DSHKJjgEtS0+ugc=; b=hS7QiE/YhYnn1eVCuGtlFIB5joal5hGzRQG69bGRlldFXKugaJ/+JCRGsGqKyb/HjW i8mjDv0RjZKs2aPlOqQ8oxaNjcI4ksTMfUhPUwqxuzeSJ93bamQojAC9vnXJeBw3vhmi X0XlPXT+01gVtzykmI7LaaoHup1OVSsSPVId8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:content-type:message-id:cc :content-transfer-encoding:from:subject:date:to:x-mailer; b=Hg5JgQOmegztNGD4mgwKBNCydhZbvqXWcDEsnl/0ApVZbA1xGhck1OVPxYPdIALFi2 ZlOJjOPNHpHMOMQF1bUfiM/z8b5xSj/8wyhFFKLHkkze3JRQ7cmfVUtv6OxbJCw+7vsl MDDhXyAfyRdW3PfZ+VSyJIfNILxGqFVBIcLBM= Received: by 10.223.2.205 with SMTP id 13mr3179975fak.83.1263591951128; Fri, 15 Jan 2010 13:45:51 -0800 (PST) Received: from ?192.168.0.53? (174-22-230-42.phnx.qwest.net [174.22.230.42]) by mx.google.com with ESMTPS id p9sm1086134fkb.44.2010.01.15.13.45.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 15 Jan 2010 13:45:50 -0800 (PST) In-Reply-To: <4B509B51.3060809@strauser.com> References: <4B509B51.3060809@strauser.com> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <85E67FE7-4B01-40D0-A52E-BE8F3F083FAA@gmail.com> Content-Transfer-Encoding: 7bit From: Craig Whipp Date: Fri, 15 Jan 2010 14:48:12 -0700 To: Kirk Strauser X-Mailer: Apple Mail (2.753.1) Cc: FreeBSD Questions Subject: Re: Dislike the way port conflicts are handled now X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 22:09:19 -0000 On Jan 15, 2010, at 9:44 AM, Kirk Strauser wrote: > Until recently, it seems like port dependencies were handled at > installation time. Lately, they're handled any time I try to do > anything with a port. I absolutely detest the new behavior. Example > cases: > > OLD WAY: > > $ cd /usr/ports/something/foo22 > $ make > $ pkg_delete foo21-2.1 > $ make install > > NEW WAY > > $ cd /usr/ports/something/foo22 > $ make > ===> foo22 conflicts with installed package(s): foo21-2.1 > $ make fetch > ===> foo22 conflicts with installed package(s): foo21-2.1 > $ curse --type=copious > $ pkg_delete foo21-2.1 > $ make install > > This isn't just a hypothetical pain in the butt. An example was > being unable to build databases/mysql51-client because mysql- > client-5.0.something was installed. I understand not being able to > *install* it, but to be prevented from *building* it? In most > circumstances, I want to be able to delete the old package and > install the new one with minimal downtime. As another example, can > you imagine not being able to even run "make fetch" on something > huge like OpenOffice until you uninstalled the old version? > > In the mean time, I've been editing the port's Makefile to remove > the CONFLICTS line long enough to finish building. That's not very > helpful for those ports that don't actually build until you run > "make install", but at least I can get the distfile download out of > the way. > -- > > Kirk Strauser > I agree. I've found that this can interfere with portmaster's "-o" option, used to replace an installed port with one of a different origin. In my case, databases/mysql41-server with databases/mysql55- server. - Craig From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 22:14:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 748D8106566B for ; Fri, 15 Jan 2010 22:14:45 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 59A208FC16 for ; Fri, 15 Jan 2010 22:14:45 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NVuRI-0005Ju-PD for freebsd-questions@freebsd.org; Fri, 15 Jan 2010 14:14:44 -0800 Message-ID: <27184350.post@talk.nabble.com> Date: Fri, 15 Jan 2010 14:14:44 -0800 (PST) From: jaymax To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jaymax36@gmail.com Subject: Problem w/ mysql extension installation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 22:14:45 -0000 phpmyadmin requires the mysql extension which is apparently not included in the mysql54 ports Installing it from /usr/ports/databases/php5-mysql ==> --- --- --- In file included from /usr/local/include/php/main/../main/php_config.h:2839, from /usr/local/include/php/Zend/zend_config.h:1, from /usr/local/include/php/Zend/zend.h:53, from /usr/local/include/php/main/php.h:34, from /usr/ports/databases/php5-mysql/work/php-5.2.12/ext/mysql/php_mysql.c:32: /usr/local/include/php/ext/php_config.h:1:30: error: ext/mysql/config.h: No such file or directory *** Error code 1 1 error *** Error code 1 Stop in /usr/ports/databases/php5-mysql. Indeed /usr/local/include/php/ext/mysql/config.h is not present! Should this have been installed with the mysql installation or from a dependency? How can I correct this ? Thanks! -- View this message in context: http://old.nabble.com/Problem-w--mysql-extension-installation-tp27184350p27184350.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 22:18:50 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 050CD106568B for ; Fri, 15 Jan 2010 22:18:50 +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 A543F8FC1F for ; Fri, 15 Jan 2010 22:18:49 +0000 (UTC) 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 o0FMIfMW078631; Fri, 15 Jan 2010 23:18:41 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id BF63DBA8C; Fri, 15 Jan 2010 23:18:40 +0100 (CET) Date: Fri, 15 Jan 2010 23:18:40 +0100 From: Roland Smith To: Scott Bennett Message-ID: <20100115221840.GA49707@slackbox.xs4all.nl> References: <201001150725.o0F7Pook010484@mp.cs.niu.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YiEDa0DAkWCtVeE4" Content-Disposition: inline In-Reply-To: <201001150725.o0F7Pook010484@mp.cs.niu.edu> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: GELI file systems unusable after "glabel label" operations X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 22:18:50 -0000 --YiEDa0DAkWCtVeE4 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 15, 2010 at 01:25:50AM -0600, Scott Bennett wrote: >=20 > It has been a long time since I created those GELI partitions, but I > think I used the "geli init -K keyfilename /dev/daXsYP", where P is the > partition identifier in slice Y of drive X. What I did when I screwed the > pooch on this was of the form "glabel label fsname /dev/daXsYP", which I = had > thought would produce a /dev/label/fsname device and that doing a "geli a= ttach" > afterward would produce a /dev/label/fsname.eli device. You could have done two things to create a nested label/geli configuration; 1) Create a labeled device from /dev/daXsYP, which would yield /dev/label/f= oo, then create a geli device _on the labeled device_, creating /dev/label/foo.eli. This will work because the labeled device will be one sector shorter than the raw da device. The .eli device will be yet anoth= er sector shorter, leaving two adjacent metadata sectors for the nested providers. This is the key point. 2) Create the geli device /dev/daXsYP.eli, and then create a label on that, yielding /dev/label/bar. [not sure what the utility of this is, since the label will only appear after the geil provider has been attached] The first one seems most useful for things like automatic mounting. > >Check /var/backups. There should be *.eli files there. Those are the aut= oma=3D > >tic >=20 > No joy. :-( >=20 > >metadata backups that 'geli init' makes (at least in 8.0). You can resto= re > >those backups with 'geli restore'. >=20 > Those must be new in 8.0. I don't see any in 7.2, just {aliases,gro= up, > master.passwd}.bak{,2} in /var/backups. Probably. I didn't see them when I was running 7.2, and I only noticed it in the 8.0 manpage. > >Running 'geli init' again with the same parameters will not work, because > >'geli init' uses a random component in the key generation. In other word= s, =3D > >two > >inits with the same password will not generate the same key! >=20 > Is there some way to recover using the existing key files, which I do > still have? And of course, I do know the passphrases. Not as I read the geli source. It _always_ uses arc4rand to generate a rand= om salt for the key during 'init'. Read the function 'static void eli_init(str= uct gctl_req *req)' in /usr/src/sbin/geom/class/eli/geom_eli.c. This means that subsequent 'geli init' calls with the same password or keyfile will still yield a different key. I'm afraid your data is lost. You should always make a backup before playing with filesystems. Most people learn this the hard way, although I realize that this is small consolation. > >What you should have done (for future refrence) is use geli(8) to create= the > >encrypted device, then create a filesystem on that encrypted device with > >newfs(8) using the '-L' flag to set the volume name. Or use tunefs(8) to= set > >the volume name later. These names will be automatically recognized next= ti=3D > >me > >you attach it and listed in /dev/ufs/. > > > Thank you for that information. If only it had been laid out that w= ay > in the man page of the handbook when I read it before starting on the lab= eling > procedure...sigh. It _is_ listed in the glabel manpage, at least in 8.0.=20 And I think that the proper way to nest geoms is too obvious (at least for = the developers/maintainers) to explicitly list in the handbook. If you know that geoms store metadata in their last sector, the proper way to nest them is to use the different devices for each geom "stage", so that each has their own metadata sector. Procedure #1 that I outlined above should be easier to automate, should you want to, because you can then just use 'geli init /dev/label/foo'. As of 7.2, each UFS filesystem automatically has an unique file system id t= hat is automatically created during boot in /dev/ufsid. These labels are unique and do not change. You can use those to mount these filesystems. See =A719.= 6 in the latest version of the Handbook. > I have a new 1 TB drive that I will soon connect to the system and b= egin > creating file systems. I will make gzipped image files with dd(1) of the > damaged partitions and store them on the new drive for a while in case a > workable idea turns up. Since the partitions are encrypted, don't bother with gzip. Encrypted data = is pretty close to random noise. No compression program can compress that vey much. With the gzip header, it might even become bigger. 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) --YiEDa0DAkWCtVeE4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAktQ6cAACgkQEnfvsMMhpyWk1wCePsyX4k0WDclR5CVqDT0trCnl 7wMAn2AGGdzBBunjo8+c++wDJgz8cnPj =aZNy -----END PGP SIGNATURE----- --YiEDa0DAkWCtVeE4-- From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 22:25:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB572106566C for ; Fri, 15 Jan 2010 22:25:57 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ew0-f213.google.com (mail-ew0-f213.google.com [209.85.219.213]) by mx1.freebsd.org (Postfix) with ESMTP id 59F228FC16 for ; Fri, 15 Jan 2010 22:25:56 +0000 (UTC) Received: by ewy5 with SMTP id 5so1474878ewy.34 for ; Fri, 15 Jan 2010 14:25:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=LhQEUMM6/2fk1PBB5wDJp+FK5qCZq03K1kAzRo1Bijs=; b=wJ8uSCfdT3YWJBPLR3Ak8AInnxfUM238RmDrhhKMN7RTmn3XpoMgj7p7GwQ1RECKQd wd4jgMP53bKrCOR8yDCgiUmVYjlW4CZbJuNfgh9nyzJ8uxa7HkJ+mwH/KW4PPOAZ36pV tnlFxaxnse6D97dgPZss7HjnBxgctzWMeNE7s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=aK9600RNb62jPd9QCeJ9nCktgrKplMsa4M7WpjsgTmCQAVMWvHXRkqoq+OSugD49uQ svJRXuSV+UZ43eBDjtX+bzSYjp/6NdNuwBoqkTXw9fX9nD0GnnZEL21dvoxFOnacEHTT j5NU5eFzL9rlpbzpIvLJwH3TdLibPWklaqb7A= Received: by 10.213.68.205 with SMTP id w13mr282659ebi.20.1263594346621; Fri, 15 Jan 2010 14:25:46 -0800 (PST) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id 15sm1856210ewy.4.2010.01.15.14.25.43 (version=SSLv3 cipher=RC4-MD5); Fri, 15 Jan 2010 14:25:46 -0800 (PST) Date: Fri, 15 Jan 2010 22:25:37 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100115222537.66f81d10@gumby.homeunix.com> In-Reply-To: <4B50B8EF.5080408@FreeBSD.org> References: <560f92641001151046r113b2846kd101e8e5fea8f131@mail.gmail.com> <4B50B8EF.5080408@FreeBSD.org> X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.5; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: /etc/rc.d/program nice value X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jan 2010 22:25:57 -0000 On Fri, 15 Jan 2010 13:50:23 -0500 Greg Larkin wrote: > Nerius Landys wrote: > > I'm running some programs using the /etc/rc.d/ and > > /usr/local/etc/rc.d/ startup scripts. I am wondering if there is > > some standard way to run these programs at a higher nice value. > > Hi Nerius, > > Check out the list of variables in /etc/rc.subr. This should help > you: > > # ${name}_nice n Nice level to run ${command} at. That will work if the script lets /etc/rc.subr start the daemon. If it implements its own start function then ${name}_nice will have to be explicitly supported by the script - not all do that unfortunately. From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 22:30:46 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C637C106566B for ; Fri, 15 Jan 2010 22:30:46 +0000 (UTC) (envelope-from dernst@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 358238FC1E for ; Fri, 15 Jan 2010 22:30:45 +0000 (UTC) Received: (qmail invoked by alias); 15 Jan 2010 22:30:44 -0000 Received: from p5B3B7A42.dip.t-dialin.net (EHLO traal.sol) [91.59.122.66] by mail.gmx.net (mp018) with SMTP; 15 Jan 2010 23:30:44 +0100 X-Authenticated: #800556 X-Provags-ID: V01U2FsdGVkX188GSAAgxw82ckXXaX8xPCzxbZrc7h0tF7Lmlc9Qg FyTeSzrYzdTnG7 Date: Fri, 15 Jan 2010 23:30:41 +0100 From: Dominik Ernst To: freebsd-questions@freebsd.org Message-ID: <20100115233041.6b4c38b2@traal.sol> In-Reply-To: <532b03711001150218u3caa45f0h2a1f6a9d0bf6ed9e@mail.gmail.com> References: <532b03711001150218u3caa45f0h2a1f6a9d0bf6ed9e@mail.gmail.com> X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.5; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.58999999999999997 Subject: Re: geli 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: Fri, 15 Jan 2010 22:30:46 -0000 On Fri, 15 Jan 2010 12:18:57 +0200 Angelin Lalev wrote: > I have Intel DG45ID + Core2 machine with USB keyboard and I want to > use geom_eli to encrypt my entire freebsd partition. > My FreeBSD version is freebsd 8.0p2, my Drive is SATA and I have USB > keyboard and mouse. I intend to boot via USB flash disk and attach the > partition at boot. > Everything works as described in the documentation, except for a nasty > problem. When I try to attach my encrypted partition at boot, it seems > that my enter key on the keyboard gets stuck and keep sending LF to my > console continuously. The keyboard and the key though are 100% ok > (tested on windows). > I'm not getting this problem when I use geli to attach the partition > after boot, only at boot time (geom_eli_load=YES in loader.conf). > > I'm not quite sure that the problem isn't the USB keyboard itself or > to be more exactly the USB support for that keyboard. For example when > I go to "mountroot" prompt (screwed fstab) I can't type a thing. > _______________________________________________ > 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 had the same symptoms with a USB keyboard and the geli prompt. However it seems to be fixed in 8.0-STABLE. If you didnt compile your own world/kernel try running freebsd-update. Otherwise or if that didnt help try building kernel and/or world from the stable sources. As a workaround it helped for me using either a PS/2 keyboard or a PS/2-USB-adapter. Cheers From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 22:34:38 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D9FA1065670 for ; Fri, 15 Jan 2010 22:34:38 +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 A993D8FC1C for ; Fri, 15 Jan 2010 22:34:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by ezekiel.daleco.biz (8.14.3/8.14.2) with ESMTP id o0FMYKVt060138; Fri, 15 Jan 2010 16:34:20 -0600 (CST) (envelope-from kdk@daleco.biz) X-Virus-Scanned: amavisd-new at daleco.biz Received: from ezekiel.daleco.biz ([127.0.0.1]) by localhost (ezekiel.daleco.biz [127.0.0.1]) (amavisd-new, port 10024) with LMTP id aEhcTo97vnMf; Fri, 15 Jan 2010 16:34:19 -0600 (CST) Received: from archangel.daleco.biz (ezekiel.daleco.biz [66.76.92.18]) by ezekiel.daleco.biz (8.14.3/8.14.3) with ESMTP id o0FMYHiU060133; Fri, 15 Jan 2010 16:34:18 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <4B50ED69.9070106@daleco.biz> Date: Fri, 15 Jan 2010 16:34:17 -0600 From: Kevin Kinsey User-Agent: Thunderbird 2.0.0.23 (X11/20090929) MIME-Version: 1.0 To: Jerry McAllister References: <225661.56209.qm@smtp134.mail.ukl.yahoo.com> <20100115212043.GA88211@gizmo.acns.msu.edu> In-Reply-To: <20100115212043.GA88211@gizmo.acns.msu.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, davidoweir3@yahoo.co.uk Subject: Re: Server 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: Fri, 15 Jan 2010 22:34:38 -0000 Jerry McAllister wrote: > > Of course, if you plan to dual boot FreeBSD along with the existing > installation of W98, then you need enough disk for both of them. > Probably 20 Gbytes each as a minimum. More is nicer. > > If you want to dual boot, then you will need to acquire a utility > that will allow you to shrink down the W98 portion of the disk > to make room for FreeBSD. There are several available, both for > a price and free. The most common one to buy is Partition Magic. > I have used that successfully until I came to dividing a USB disk > and it failed on that. It has some other quirks and limits too. > > The most common free one is gparted which you can download and > burn to a CD from the net. Just do a Google search for it. > There are other free ones. Two limited ones come with FreeBSD. > > I don't remember back to W98. Does it use NTFS file system type? > It the Windos file system is of type NTFS, most of the free partition > utilities will not work. I think that gparted is supposed to, > but I haven't tried it on that. NTFS comes with "NT" versions of Windows, that is, NT, Windows 2000, and everything since then. W95 and W98 used FAT filesystems. Fat32 was the default for Win98 IIRC. KDK From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 22:37:40 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BE33106568B for ; Fri, 15 Jan 2010 22:37:40 +0000 (UTC) (envelope-from davidoweir3@yahoo.co.uk) Received: from smtp132.mail.ukl.yahoo.com (smtp132.mail.ukl.yahoo.com [77.238.184.63]) by mx1.freebsd.org (Postfix) with SMTP id DBB958FC12 for ; Fri, 15 Jan 2010 22:37:39 +0000 (UTC) Received: (qmail 85561 invoked from network); 15 Jan 2010 22:37:35 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Message-ID:Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:From:Return-Receipt-To:Disposition-Notification-To:Subject:Date:To:X-Priority:Content-Type:Content-Transfer-Encoding; b=Y4o7WJ2su7hL3U3qIg/5EQh8OCVBynAhNAamp5K9+V0v62UPtYuZH0O2WD1FfeCVnieZ61TyTsBWRWPdIQ8yk0VcTSfoAP1c67vQaOOlOGpUXoNylKP+Kqu1iyVdKEpOPLuRj4MTmaBO3NRzzRNev/pL7cLhOwFDI/GWKCnnt1Y= ; Message-ID: <778628.85504.qm@smtp132.mail.ukl.yahoo.com> Received: from (davidoweir3@212.183.140.7 with login) by smtp132.mail.ukl.yahoo.com with SMTP; 15 Jan 2010 22:37:34 +0000 GMT X-Yahoo-SMTP: pIR2vFGswBAkETANI0hlNB_ZBaaaLSrj X-YMail-OSG: WbxX6A4VM1lxqpFUGbt1yIN67GSHFxlB60ESSNCiBvHygrDX3mLB6R13OWd8iS7oA03z6ew7pm13.3AwpywYxO29e3mE63qwPOxPYECdQq7GizxKzG0snVvDJpi9h09X80Cg9yKGrnBbqYm.rZlcAGJOsm3tinLWxs82hU4zVw_nAEc9KTK_ouzNoD50J2RuDRtkcCYAgggboxaFqxS2XppIZxmUun_eYO3S29LtQD0i1Q-- X-Yahoo-Newman-Property: ymail-3 From: davidoweir3@yahoo.co.uk Date: Fri, 15 Jan 2010 22:37:09 +0000 To: freebsd-questions@freebsd.org X-Priority: 3 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Mailman-Approved-At: Fri, 15 Jan 2010 22:58:08 +0000 Subject: Re: Server 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: Fri, 15 Jan 2010 22:37:40 -0000 DQpJIHdpbGwgYmUgZGVsZXRpbmcgdGhlIFdpbmRvdydzIHN0dWZmIG9uIHRo ZSBtYWNoaW5lIAoKSG93IHdvdWxkIGkgU1NIIHRvIHRoZSBMaW51eCBwYyBh bmQgd2hhdCBzb2Z0d2FyZSBzaG91bGQgaSBpbnN0YWxsCgpJIHdhcyBnb2lu ZyB0byBpbnN0YWxsIG15U1FMIGFuZCBhcGFjaGUgcGx1cyBQSFAgKyB0b21j YXQgYW5kIHdlYm1pbiBhbmQgZG8gaSBuZWVkIHRvIGluc3RhbGwgYmFuZG1p biBhbmQgRW1haWwncyBzb2Z0d2FyZSBsaWtlIFRodW5kZXJiaXJkIGFuZCBv cGVub2ZmaWNlIGFuZCBpIGhhdmUgaXQgb24gYSBVU0IgCgpmb3IgcmFtIGFu ZCBkaXNrIHNwYWNlIGhvdyBkbyBpIHNlZSBob3cgbXVjaCBpIGhhdmUgb24g bXkgbWFjaGluZSBhbmQgd2VyZSBkbyBpIGRvd25sb2FkIGZyZWUgYnNkIGZy b20KCg== From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 23:00:40 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DCF6106566B for ; Fri, 15 Jan 2010 23:00:40 +0000 (UTC) (envelope-from Ggatten@waddell.com) Received: from mailhost0.waddell.com (mailhost0.waddell.com [12.154.38.61]) by mx1.freebsd.org (Postfix) with ESMTP id C79A68FC0C for ; Fri, 15 Jan 2010 23:00:39 +0000 (UTC) Received: from emlpfilt2.waddell.com (emlpfilt2.waddell.com [10.1.10.30]) by mailhost0.waddell.com (Postfix) with ESMTP id 9147C262370; Fri, 15 Jan 2010 17:00:28 -0600 (CST) Received: from emlpfilt2.waddell.com (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id BD2A92F8003; Fri, 15 Jan 2010 17:00:27 -0600 (CST) Received: from wadpexf0.waddell.com (wadpexf0.waddell.com [192.168.204.24]) by emlpfilt2.waddell.com (Postfix) with ESMTP id B65AF2F8002; Fri, 15 Jan 2010 17:00:27 -0600 (CST) Received: from WADPEXV0.waddell.com ([192.168.204.25]) by wadpexf0.waddell.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 15 Jan 2010 17:00:29 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Fri, 15 Jan 2010 17:00:24 -0600 Message-ID: <25929_1263596427_4B50F38B_25929_197_1_70C0964126D66F458E688618E1CD008A08CCF39A@WADPEXV0.waddell.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Server set up Thread-Index: AcqWNj8JqjUySlaOT52kx/tvRzCSNAAAEbjj From: "Gary Gatten" To: , X-OriginalArrivalTime: 15 Jan 2010 23:00:29.0163 (UTC) FILETIME=[883DC3B0:01CA9636] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Server 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: Fri, 15 Jan 2010 23:00:40 -0000 RGlkIHlvdSBqdXN0IHJlZmVyIHRvIEJTRCBhcyBMaW51eD8gIE9oIGJveSwgZ2V0IHJlYWR5IGZv ciBzb21lIGZsYW1lcyENCg0KLS0tLS0gT3JpZ2luYWwgTWVzc2FnZSAtLS0tLQ0KRnJvbTogb3du ZXItZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmcgPG93bmVyLWZyZWVic2QtcXVlc3Rpb25z QGZyZWVic2Qub3JnPg0KVG86IGZyZWVic2QtcXVlc3Rpb25zQGZyZWVic2Qub3JnIDxmcmVlYnNk LXF1ZXN0aW9uc0BmcmVlYnNkLm9yZz4NClNlbnQ6IEZyaSBKYW4gMTUgMTY6Mzc6MDkgMjAxMA0K U3ViamVjdDogUmU6IFNlcnZlciBzZXQgdXANCg0KDQpJIHdpbGwgYmUgZGVsZXRpbmcgdGhlIFdp bmRvdydzIHN0dWZmIG9uIHRoZSBtYWNoaW5lIA0KDQpIb3cgd291bGQgaSBTU0ggdG8gdGhlIExp bnV4IHBjIGFuZCB3aGF0IHNvZnR3YXJlIHNob3VsZCBpIGluc3RhbGwNCg0KSSB3YXMgZ29pbmcg dG8gaW5zdGFsbCBteVNRTCBhbmQgYXBhY2hlIHBsdXMgUEhQICsgdG9tY2F0IGFuZCB3ZWJtaW4g YW5kIGRvIGkgbmVlZCB0byBpbnN0YWxsIGJhbmRtaW4gYW5kIEVtYWlsJ3Mgc29mdHdhcmUgbGlr ZSBUaHVuZGVyYmlyZCBhbmQgb3Blbm9mZmljZSBhbmQgaSBoYXZlIGl0IG9uIGEgVVNCIA0KDQpm b3IgcmFtIGFuZCBkaXNrIHNwYWNlIGhvdyBkbyBpIHNlZSBob3cgbXVjaCBpIGhhdmUgb24gbXkg bWFjaGluZSBhbmQgd2VyZSBkbyBpIGRvd25sb2FkIGZyZWUgYnNkIGZyb20NCg0KCgoKCgo8Zm9u dCBzaXplPSIxIj4KPGRpdiBzdHlsZT0nYm9yZGVyOm5vbmU7Ym9yZGVyLWJvdHRvbTpkb3VibGUg d2luZG93dGV4dCAyLjI1cHQ7cGFkZGluZzowaW4gMGluIDEuMHB0IDBpbic+CjwvZGl2PgoiVGhp cyBlbWFpbCBpcyBpbnRlbmRlZCB0byBiZSByZXZpZXdlZCBieSBvbmx5IHRoZSBpbnRlbmRlZCBy ZWNpcGllbnQKIGFuZCBtYXkgY29udGFpbiBpbmZvcm1hdGlvbiB0aGF0IGlzIHByaXZpbGVnZWQg YW5kL29yIGNvbmZpZGVudGlhbC4KIElmIHlvdSBhcmUgbm90IHRoZSBpbnRlbmRlZCByZWNpcGll bnQsIHlvdSBhcmUgaGVyZWJ5IG5vdGlmaWVkIHRoYXQKIGFueSByZXZpZXcsIHVzZSwgZGlzc2Vt aW5hdGlvbiwgZGlzY2xvc3VyZSBvciBjb3B5aW5nIG9mIHRoaXMgZW1haWwKIGFuZCBpdHMgYXR0 YWNobWVudHMsIGlmIGFueSwgaXMgc3RyaWN0bHkgcHJvaGliaXRlZC4gIElmIHlvdSBoYXZlCiBy ZWNlaXZlZCB0aGlzIGVtYWlsIGluIGVycm9yLCBwbGVhc2UgaW1tZWRpYXRlbHkgbm90aWZ5IHRo ZSBzZW5kZXIgYnkKIHJldHVybiBlbWFpbCBhbmQgZGVsZXRlIHRoaXMgZW1haWwgZnJvbSB5b3Vy IHN5c3RlbS4iCjwvZm9udD4KCg== From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 23:34:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BB561065670 for ; Fri, 15 Jan 2010 23:34:55 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from relay.pcl-ipout01.plus.net (relay.pcl-ipout01.plus.net [212.159.7.99]) by mx1.freebsd.org (Postfix) with ESMTP id DCC9C8FC0C for ; Fri, 15 Jan 2010 23:34:54 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAOuKUEvUnw4R/2dsb2JhbADaGIQxBA Received: from pih-relay04.plus.net ([212.159.14.17]) by relay.pcl-ipout01.plus.net with ESMTP; 15 Jan 2010 23:34:53 +0000 Received: from [84.92.153.232] (helo=curlew.milibyte.co.uk) by pih-relay04.plus.net with esmtp (Exim) id 1NVvgr-00059M-AM for freebsd-questions@freebsd.org; Fri, 15 Jan 2010 23:34:53 +0000 Received: by curlew.milibyte.co.uk with local (Exim 4.71) (envelope-from ) id 1NVvgr-0003v5-0R for freebsd-questions@freebsd.org; Fri, 15 Jan 2010 23:34:53 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Fri, 15 Jan 2010 23:34:52 +0000 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201001152334.52978.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false X-Plusnet-Relay: ee70a69dd1e6d57d55636417dcdba4ff Subject: Newbie gmirror 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, 15 Jan 2010 23:34:55 -0000 I'm about to upgrade to more disk space and I'm tempted use this as an opportunity to get two disks and implement gmirror. Before I go ahead there's a few aspects of mirroring I'm not sure about and would appreciate some advice. I'm using grub for multi booting. Does this introduce any problems if I want to boot into Windows or Linux on one of the other partitions? The gmirror manpage describes the procedure for handling kernel dumps using the prefer balance algorithm in the early stages of booting and then switching to round-robin in the /etc/rc.local script. It then goes on to say that "If on the next boot a component with a higher priority will be available, the prefer algorithm will choose to read from it and savecore(8) will find nothing". Does this only arise if I've made some change to the configuration of the mirror between the dump and the reboot or is there some instances when the priority automatically changes? Some of the articles I've read about gmirror suggest setting the balance to round-robin while others just leave this at the default setting of split. Am I right in assuming that round-robin would give better performance, and does it make much noticeable difference in real terms. In particular am I likely to see a reduction in performance using gmirror compared with what I would get with just a normal single disk. Finally, recent articles say to set kern.geom.debugflags to 17 when creating a mirror on a mounted drive while older articles say to set it to 16. Although I'll probably be creating the mirror on my disks before copying my system onto them so I don't really need to worry about setting this flag but I'm curious to know the difference between using the two values. -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 23:46:38 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 138F2106566C for ; Fri, 15 Jan 2010 23:46:38 +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 C860B8FC08 for ; Fri, 15 Jan 2010 23:46:37 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id o0FNexNR089083; Fri, 15 Jan 2010 18: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 o0FNewTM089082; Fri, 15 Jan 2010 18:40:58 -0500 (EST) (envelope-from jerrymc) Date: Fri, 15 Jan 2010 18:40:58 -0500 From: Jerry McAllister To: Kevin Kinsey Message-ID: <20100115234058.GA89060@gizmo.acns.msu.edu> References: <225661.56209.qm@smtp134.mail.ukl.yahoo.com> <20100115212043.GA88211@gizmo.acns.msu.edu> <4B50ED69.9070106@daleco.biz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B50ED69.9070106@daleco.biz> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org, davidoweir3@yahoo.co.uk Subject: Re: Server 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: Fri, 15 Jan 2010 23:46:38 -0000 On Fri, Jan 15, 2010 at 04:34:17PM -0600, Kevin Kinsey wrote: > Jerry McAllister wrote: > > > >Of course, if you plan to dual boot FreeBSD along with the existing > >installation of W98, then you need enough disk for both of them. > >Probably 20 Gbytes each as a minimum. More is nicer. > > > >The most common free one is gparted which you can download and > >burn to a CD from the net. Just do a Google search for it. > >There are other free ones. Two limited ones come with FreeBSD. > > > >I don't remember back to W98. Does it use NTFS file system type? > >It the Windos file system is of type NTFS, most of the free partition > >utilities will not work. I think that gparted is supposed to, > >but I haven't tried it on that. > > NTFS comes with "NT" versions of Windows, that is, NT, Windows 2000, > and everything since then. W95 and W98 used FAT filesystems. Fat32 > was the default for Win98 IIRC. Probably right. Sounds likely. ////jerry > > KDK > _______________________________________________ > 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 Jan 15 23:53:46 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3770D106568B for ; Fri, 15 Jan 2010 23:53:46 +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 D2C0A8FC13 for ; Fri, 15 Jan 2010 23:53:45 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id o0FNr9b8089123; Fri, 15 Jan 2010 18:53:09 -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 o0FNr9oM089122; Fri, 15 Jan 2010 18:53:09 -0500 (EST) (envelope-from jerrymc) Date: Fri, 15 Jan 2010 18:53:09 -0500 From: Jerry McAllister To: davidoweir3@yahoo.co.uk Message-ID: <20100115235308.GB89060@gizmo.acns.msu.edu> References: <778628.85504.qm@smtp132.mail.ukl.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <778628.85504.qm@smtp132.mail.ukl.yahoo.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Server 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: Fri, 15 Jan 2010 23:53:46 -0000 On Fri, Jan 15, 2010 at 10:37:09PM +0000, davidoweir3@yahoo.co.uk wrote: > > I will be deleting the Window's stuff on the machine OK. Good idea. > > How would i SSH to the Linux pc and what software should i install > What Linux pc? Anyway, FreeBSD base system inclused SSH. > I was going to install mySQL and apache plus PHP + tomcat and webmin and > do i need to install bandmin and Email's software like Thunderbird and > openoffice and i have it on a USB I don't know what bandmin is. I use sendmail for my MTA. For an Email reader I actually use MUTT -- an older text based Email program. It is easier to handle large amounts of Email than the graphics oriented readers. Depends on where your Email comes to and lives. If it will come to and originate on the FreeBSD system, you can use the default sendmail that comes with it for your MTA and whatever you want for the reader/composer. If you really read and compose your Email on another machine like your ISP or on gmail or yahoo and access it with a browser, you don't actually need an Email reader utility. Although it is useful to have one that will work with your browser for those times you want to click on one of those 'sendto' Email links in a web page. You don't need openoffice for Email, but it is good for wordprocessing and spreadsheets and stuff like that. > > for ram and disk space how do i see how much i have on my machine If you have W98 running on it I think you fish around in your control panel page or my computer or something like that. If you have alread wiped W98 and can boot the install disk, you can look at the boot messages. > and > were do i download free bsd from > I think you need to go to the FreeBSD web site www.freebsd.org and start reading. It is all there and more, especially including where to get the ISO files for downloading and how to do the install. ////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 Sat Jan 16 00:09:37 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 546F610656C7 for ; Sat, 16 Jan 2010 00:09:37 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 0A8CC8FC0A for ; Sat, 16 Jan 2010 00:09:36 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o0G09XfK057573 for ; Fri, 15 Jan 2010 16:09:33 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Fri, 15 Jan 2010 16:09:33 -0800 (PST) Date: Fri, 15 Jan 2010 16:09:33 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20100116000928.GA96431@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-1.2 required=3.6 tests=ALL_TRUSTED,BAYES_00, FH_DATE_PAST_20XX autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: Subject: OOo 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, 16 Jan 2010 00:09:37 -0000 this may be offtopic but it does deal with our OO.org port. a friend sent me a very nice "slideshow" in powerpoint format. I've saved it (and the original) somewhere in the evolution directory so all the photos are safe. first question is: can I save an individial image using Openoffice? Second q is howto use them for my desktop backgrounds in KDE since, upon rebuild and relaunch, everything is black. the first question is howto save a separate image? or are there other tools to do this? [neither xv nor gv work] tia, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 00:33:05 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BB9B1065670 for ; Sat, 16 Jan 2010 00:33:05 +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 8E0488FC0C for ; Sat, 16 Jan 2010 00:33:04 +0000 (UTC) Received: from phenom.cordula.ws (phenom [192.168.254.60]) by fw.farid-hajji.net (Postfix) with ESMTP id 721D1372FB; Sat, 16 Jan 2010 01:33:01 +0100 (CET) Date: Sat, 16 Jan 2010 01:33:01 +0100 From: cpghost To: Scott Bennett Message-ID: <20100116003301.GB1530@phenom.cordula.ws> References: <201001150725.o0F7Pook010484@mp.cs.niu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201001150725.o0F7Pook010484@mp.cs.niu.edu> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: GELI file systems unusable after "glabel label" operations X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jan 2010 00:33:05 -0000 On Fri, Jan 15, 2010 at 01:25:50AM -0600, Scott Bennett wrote: > >Check /var/backups. There should be *.eli files there. Those are the automa= > >tic > > No joy. :-( > > >metadata backups that 'geli init' makes (at least in 8.0). You can restore > >those backups with 'geli restore'. > > Those must be new in 8.0. I don't see any in 7.2, just {aliases,group, > master.passwd}.bak{,2} in /var/backups. [No help here, just a me-too...] I can confirm this: no metadata of GELI partitions generated on RELENG_7 were saved in /var/backups, but GELI partitions created since RELENG_8 were! I've noticed this by chance with "geli init" on an external disk, and thought that geli init would only create metadata backup automatically for disks that are not the same than the one hosting /var/backups (for obvious reasons, i.e. when you want to quickly destroy a key, and for- getting to wipe out the metadata backup). Apparently, it was the version bump, and not the different disks. Good to know indeed. Would a "geli backup" on those old RELENG_7 GELI partitions (or rather provider partitions) have the same effect as a RELENG_8-style "geli init" to get those metadata files? Maybe /usr/src/UPDATING should contain a little hint for those of us with old GELI partitions without auto-backups of metadata? > I have a new 1 TB drive that I will soon connect to the system and begin > creating file systems. I will make gzipped image files with dd(1) of the > damaged partitions and store them on the new drive for a while in case a > workable idea turns up. I feel your pain (having lost some data in a similar scenario while experimenting with glabel on geli partitions, but not as much as you). There should really be a big obvious warning in the glabel(8) and geli(8) man pages, because that's a big trap waiting to spring on unsuspecting users (POLA violation). :-( -cpghost. -- Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 00:55:17 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35AE71065672 for ; Sat, 16 Jan 2010 00:55:17 +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 EBE418FC1A for ; Sat, 16 Jan 2010 00:55:16 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id o0G0so7B089419; Fri, 15 Jan 2010 19:54:50 -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 o0G0sobV089418; Fri, 15 Jan 2010 19:54:50 -0500 (EST) (envelope-from jerrymc) Date: Fri, 15 Jan 2010 19:54:50 -0500 From: Jerry McAllister To: davidoweir3@yahoo.co.uk Message-ID: <20100116005450.GA89399@gizmo.acns.msu.edu> References: <540600.84204.qm@smtp142.mail.ukl.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <540600.84204.qm@smtp142.mail.ukl.yahoo.com> User-Agent: Mutt/1.4.2.2i Cc: jerrymc@msu.edu, freebsd-questions@freebsd.org Subject: Re: Re: Server 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: Sat, 16 Jan 2010 00:55:17 -0000 On Sat, Jan 16, 2010 at 12:40:12AM +0000, davidoweir3@yahoo.co.uk wrote: > Bandmin is for cranewitch Whatever that is. I haven't heard of that either. > > Were can i get a free or cheap email exchange from ??? You mean the software or some service? > > If i am going to make the machine for yeahosting use what software do i > need to install and is free bsd a forum of unix or Linux You really need to get on the FreeBSD web site and start reading. It has all the information there and links to even more discussions. Learn to use Google. You cannot expect people on the list to do all your homework for you. You have to learn this stuff and then ask questions about the parts you have trouble with. This stuff is already written up. We should not have to write it all again. FreeBSD is a BSD family UNIX. Now look up what that means. > And what bit do you recommend and i have a external hard drive also for > that pc and this one for more storage ???? Huh - what bit??? > > Do i need to install apache and PHP and tomcat plus Ajax + pythan > Only if you need them. I have never had need for tomcat or python or Ajax, but use Apache httpd web server a lot and some PHP. You need to think out what you are doing, study up on it and then do some experimenting. Since you plan to wipe that W98 machine and start over on it, then you can easily read and experiment and restart several times without any loss. Then you can learn it well. Have fun, ////jerry From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 01:26:25 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A926106566B for ; Sat, 16 Jan 2010 01:26:25 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-01.bluehost.com (outbound-mail-01.bluehost.com [69.89.21.11]) by mx1.freebsd.org (Postfix) with SMTP id E2F7C8FC0A for ; Sat, 16 Jan 2010 01:26:24 +0000 (UTC) Received: (qmail 22094 invoked by uid 0); 16 Jan 2010 01:26:24 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by outboundproxy4.bluehost.com with SMTP; 16 Jan 2010 01:26:24 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=JjwxeGQ9YDExrb63qGViS775x/Gms6SyQSeYWRXMwvK0OmX22hSQ7FRs0tPPFX8IhhWBkuSqOVtNkLoVXVwzF44TpgDh65XwjWg2vmvdf/UUXXSMeq2jo1b6sZAkLvyB; Received: from [24.8.180.234] (helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NVxQl-0007Ys-4Y for freebsd-questions@freebsd.org; Fri, 15 Jan 2010 18:26:24 -0700 Received: by kukaburra.hydra (sSMTP sendmail emulation); Fri, 15 Jan 2010 18:18:24 -0700 Date: Fri, 15 Jan 2010 18:18:24 -0700 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20100116011824.GA54772@guilt.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <225661.56209.qm@smtp134.mail.ukl.yahoo.com> <20100115212043.GA88211@gizmo.acns.msu.edu> <4B50ED69.9070106@daleco.biz> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cNdxnHkX5QqsyA0e" Content-Disposition: inline In-Reply-To: <4B50ED69.9070106@daleco.biz> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: Server 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: Sat, 16 Jan 2010 01:26:25 -0000 --cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 15, 2010 at 04:34:17PM -0600, Kevin Kinsey wrote: >=20 > NTFS comes with "NT" versions of Windows, that is, NT, Windows 2000, > and everything since then. W95 and W98 used FAT filesystems. Fat32 > was the default for Win98 IIRC. I know a lot of MS Windows users like to pretend WinME never existed, but I like to think those of us in the FreeBSD community take a more honest look at the world. Thus, for the sake of clarity: NTFS comes with "NT" versions of Windows -- that is, WinNT, Win2K, WinXP, and everything since then. Win95, Win98, and WinME used FAT filesystems. I wouldn't want anyone to make some kind of grave error involving the assumption that WinME used NTFS. . . . --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --cNdxnHkX5QqsyA0e Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAktRE+AACgkQ9mn/Pj01uKWPtQCgrj0FJjC1osKNI1ZWJ/z8CzgP x4MAn0T1mw9CFvaTc7S14OPazERDaIJS =/9fJ -----END PGP SIGNATURE----- --cNdxnHkX5QqsyA0e-- From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 01:42:09 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B59B4106566C for ; Sat, 16 Jan 2010 01:42:09 +0000 (UTC) (envelope-from sfourman@gmail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id 8E0F48FC17 for ; Sat, 16 Jan 2010 01:42:09 +0000 (UTC) Received: by pwi15 with SMTP id 15so702865pwi.3 for ; Fri, 15 Jan 2010 17:42:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=R/fkoIcHvrtDBeItBe7SN3CuvLwkcc71Rtd7gHf8Bjc=; b=lZUNyAjzy6vk8UYjlzml1s50YyCE7BDX41mPt71MOfZ7wiGcoJwFZqdwjsp00kj3YV Jz1lO4s7puWRNbZerl72tObMxSXPNGDvAbG7xSv6S8J6C6IrUv/uajbxnZhcN04kq/3K DSmM8pnpedCbXownz34hv6A7ru0KtGKgxOx7U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=fAHCzA/nnEU3EjOk1JqpjY/hyZH6u1iWZbqqX+7RHkSv6IE7jToC/pOG3IWKuteBXi ezDb2J3tHiA1lSfK9AuEeaiO6p0EWDa/c66yvpy0nev7ykAiWobd2skBdDD6YG+r4aZE JPmyAAP1QjCLI9WZhmQqSSXaFiCqK+0AY+Mtg= MIME-Version: 1.0 Received: by 10.142.248.40 with SMTP id v40mr2160536wfh.203.1263606122282; Fri, 15 Jan 2010 17:42:02 -0800 (PST) In-Reply-To: <778628.85504.qm@smtp132.mail.ukl.yahoo.com> References: <778628.85504.qm@smtp132.mail.ukl.yahoo.com> Date: Fri, 15 Jan 2010 19:42:02 -0600 Message-ID: <11167f521001151742x4ef03f82j15cf1db1c277c381@mail.gmail.com> From: "Sam Fourman Jr." To: davidoweir3@yahoo.co.uk Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Server 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: Sat, 16 Jan 2010 01:42:09 -0000 On Fri, Jan 15, 2010 at 4:37 PM, wrote: > > I will be deleting the Window's stuff on the machine > > How would i SSH to the Linux pc and what software should i install one of the first things you should understand is FreeBSD is Not Linux From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 02:12:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01F31106566C for ; Sat, 16 Jan 2010 02:12:49 +0000 (UTC) (envelope-from listreader@lazlarlyricon.com) Received: from proxy2.bredband.net (proxy2.bredband.net [195.54.101.72]) by mx1.freebsd.org (Postfix) with ESMTP id AC9F78FC0C for ; Sat, 16 Jan 2010 02:12:48 +0000 (UTC) Received: from ipb2.telenor.se (195.54.127.165) by proxy2.bredband.net (7.3.140.3) id 4AD3E1BC026A0065 for freebsd-questions@freebsd.org; Sat, 16 Jan 2010 03:12:46 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiI6APKvUEtV44PPPGdsb2JhbACBRJoyAQEBATe+AIQxBIV2 X-IronPort-AV: E=Sophos;i="4.49,285,1262559600"; d="scan'208";a="26946554" Received: from c-cf83e355.09-42-6e6b7010.cust.bredbandsbolaget.se (HELO lazlar.kicks-ass.net) ([85.227.131.207]) by ipb2.telenor.se with ESMTP; 16 Jan 2010 03:12:46 +0100 Message-ID: <4B51209D.7020900@lazlarlyricon.com> Date: Sat, 16 Jan 2010 03:12:45 +0100 From: Rolf Nielsen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.5) Gecko/20091227 Thunderbird/3.0 MIME-Version: 1.0 To: "Sam Fourman Jr." References: <778628.85504.qm@smtp132.mail.ukl.yahoo.com> <11167f521001151742x4ef03f82j15cf1db1c277c381@mail.gmail.com> In-Reply-To: <11167f521001151742x4ef03f82j15cf1db1c277c381@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, davidoweir3@yahoo.co.uk Subject: Re: Server 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: Sat, 16 Jan 2010 02:12:49 -0000 On 2010-01-16 02:42, Sam Fourman Jr. wrote: > On Fri, Jan 15, 2010 at 4:37 PM, wrote: >> >> I will be deleting the Window's stuff on the machine >> >> How would i SSH to the Linux pc and what software should i install > > one of the first things you should understand is FreeBSD is Not Linux > _______________________________________________ > 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" > > > Many believe FreeBSD is Unix (and many would say that it really is, in all respects but its name, however that isn't the issue here). Moreover, I've got the impression lots of people truly believe Linux is just another name for Unix. And I do know for a fact that there are people who even believe Unix is another name for Linux. With such ideas, I guess it's easy to assume FreeBSD is just another Linux distro. Isn't it time we try to correct this? I try to do my part in that respect, by explaining to anyone who says, "Oh, you're running Linux?" that there is a difference. And that the difference matters. It may not matter to them. But it does matter to me. And I think it matters to most FreeBSD users. And I also believe it actually matters to Linux users, at least the more serious ones. From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 02:45:17 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B0E8106568D for ; Sat, 16 Jan 2010 02:45:17 +0000 (UTC) (envelope-from samankaya@netscape.net) Received: from imr-da06.mx.aol.com (imr-da06.mx.aol.com [205.188.169.203]) by mx1.freebsd.org (Postfix) with ESMTP id CF2FF8FC17 for ; Sat, 16 Jan 2010 02:45:16 +0000 (UTC) Received: from imo-ma03.mx.aol.com (imo-ma03.mx.aol.com [64.12.78.138]) by imr-da06.mx.aol.com (8.14.1/8.14.1) with ESMTP id o0G2itGp019244; Fri, 15 Jan 2010 21:44:55 -0500 Received: from samankaya@netscape.net by imo-ma03.mx.aol.com (mail_out_v42.5.) id 4.c8c.56870d06 (43918); Fri, 15 Jan 2010 21:44:53 -0500 (EST) Received: from [172.16.1.52] (mail.reformkurumsal.com [212.156.209.87]) by cia-dc08.mx.aol.com (v127.7) with ESMTP id MAILCIADC087-ab8e4b512823278; Fri, 15 Jan 2010 21:44:53 -0500 Message-ID: <4B512822.2080205@netscape.net> Date: Sat, 16 Jan 2010 04:44:50 +0200 From: Kaya Saman User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090605 SeaMonkey/1.1.17 (Ubuntu-1.1.17+nobinonly-0ubuntu0.9.04.1) MIME-Version: 1.0 To: Rolf Nielsen References: <778628.85504.qm@smtp132.mail.ukl.yahoo.com> <11167f521001151742x4ef03f82j15cf1db1c277c381@mail.gmail.com> <4B51209D.7020900@lazlarlyricon.com> In-Reply-To: <4B51209D.7020900@lazlarlyricon.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AOL-IP: 212.156.209.87 X-Mailer: Unknown (No Version) X-Spam-Flag: NO X-AOL-SENDER: samankaya@netscape.net Cc: freebsd-questions@freebsd.org, davidoweir3@yahoo.co.uk Subject: Re: Server 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: Sat, 16 Jan 2010 02:45:17 -0000 >> >> >> > > Many believe FreeBSD is Unix (and many would say that it really is, in > all respects but its name, however that isn't the issue here). > Moreover, I've got the impression lots of people truly believe Linux > is just another name for Unix. And I do know for a fact that there are > people who even believe Unix is another name for Linux. BSD is a UNIX like OS...... developed way back when by Berkley university in the US. Can't remember the dates but for that there's Google! In fact Wikipedia has a great tree diagram showing the origination of UNIX. Anyhow UNIX was developed at the end of the 60s by Bell Labs who back then was part of AT&T in the US. But had many bugs and quirks and so a not-like-UNIX mode was developed according to my Cisco CCNA lecturer who was lecturing at university way before even then. FreeBSD is now an offshoot of BSD and one of a few within the family tree but is it's own take on BSD. > > With such ideas, I guess it's easy to assume FreeBSD is just another > Linux distro. Isn't it time we try to correct this? I try to do my > part in that respect, by explaining to anyone who says, "Oh, you're > running Linux?" that there is a difference. And that the difference > matters. It may not matter to them. But it does matter to me. And I > think it matters to most FreeBSD users. And I also believe it actually > matters to Linux users, at least the more serious ones. > _______________________________________________ > 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" Linux is just a kernel with lots of GPL and GNU software strapped to it developed by Linuz Torvalds back I'm sure it was 83 or perhaps was discussed back then. The first Linux distro to come out was back in ~93. Just to add without going completely off topic; there are many UNIX-like OS's available today including: BSD, Solaris, Linux, AIX, HP-UX and one of yesteryear called IRIX developed by Silicon Graphics. Back on to topic now ;) First work out what you want to use; Linux or FreeBSD then after you have decided start to learn it as it is extremely different from the M$ world and if used in its most raw sense involves no graphical interface or point-click nonsense! I would recommend using FreeBSD on old outdated h/w as the Linux kernel can be a bit heavy wrapped around a distro as vibrant as Fedora, or Debian and similar. That is without custom building kernels and packages specifically designed for the system in question. Although you would do this if using an embedded system as pointed out previously or if needing some very specific non-generic purpose. Just remember now that you have entered into the UNIX world that Google is your only friend and although there are many people on various lists and forums who can help and assist, they will not be pleased or welcome someone who has failed to use the main basic rule of any thing. As if it can't be Googled it most likely 99.9% doesn't exist!!! Regards, Kaya From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 00:40:11 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0AC9C106566C for ; Sat, 16 Jan 2010 00:40:11 +0000 (UTC) (envelope-from davidoweir3@yahoo.co.uk) Received: from smtp142.mail.ukl.yahoo.com (smtp142.mail.ukl.yahoo.com [77.238.184.73]) by mx1.freebsd.org (Postfix) with SMTP id 5A8C98FC0A for ; Sat, 16 Jan 2010 00:40:10 +0000 (UTC) Received: (qmail 84930 invoked from network); 16 Jan 2010 00:40:09 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Message-ID:Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:From:Return-Receipt-To:Disposition-Notification-To:Subject:Date:To:Cc:X-Priority:Content-Type:Content-Transfer-Encoding; b=f8TVD+c8L89/gqPKe5RgzZZz0QmGsj3OSvp8kMZE7DQTNGm2uCknuk3Nwr08nU0ZiQIIT3e0jf6a9MR2Gkwture2joTcUoR0+YV0JaYirqRGV+xnZnnXCbc4/7V47c2b2eVk1xNQBuyj/dZ9UOPNK9/Jl4HE0ZWymdppLzbN2lg= ; Message-ID: <540600.84204.qm@smtp142.mail.ukl.yahoo.com> Received: from (davidoweir3@212.183.140.2 with login) by smtp142.mail.ukl.yahoo.com with SMTP; 16 Jan 2010 00:40:07 +0000 GMT X-Yahoo-SMTP: pIR2vFGswBAkETANI0hlNB_ZBaaaLSrj X-YMail-OSG: Ohf9K00VM1kVsg2moFdG9V3bcItzERfXcffRjA4IhSCIJcNpNbimxKJw5hplU33vA4gqAuOz7UOU19kosTVdS9K4XFDZd9VsMF3vxI8PuPyDlPW1W96LQpZT561ABoVRulubobm023WnzUAiBBRR6RgpjlfyLmoCG36bhVS7CXva98f6DwwI716WEkV8P1Wgk28JB19.m3GqoKLfB_w4ibkrgdttxTy4XtXp3Hcs3LAWxg-- X-Yahoo-Newman-Property: ymail-3 From: davidoweir3@yahoo.co.uk Date: Sat, 16 Jan 2010 00:40:12 +0000 To: jerrymc@msu.edu X-Priority: 3 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Mailman-Approved-At: Sat, 16 Jan 2010 03:12:59 +0000 Cc: freebsd-questions@freebsd.org Subject: RE:Re: Server 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: Sat, 16 Jan 2010 00:40:11 -0000 QmFuZG1pbiBpcyBmb3IgY3JhbmV3aXRjaCAKCldlcmUgY2FuIGkgZ2V0IGEg ZnJlZSBvciBjaGVhcCBlbWFpbCBleGNoYW5nZSBmcm9tIAoKSWYgaSBhbSBn b2luZyB0byBtYWtlIHRoZSBtYWNoaW5lIGZvciB5ZWFob3N0aW5nIHVzZSB3 aGF0IHNvZnR3YXJlIGRvIGkgbmVlZCB0byBpbnN0YWxsIGFuZCBpcyBmcmVl IGJzZCBhIGZvcnVtIG9mIHVuaXggb3IgTGludXgKCkFuZCB3aGF0IGJpdCBk byB5b3UgcmVjb21tZW5kIGFuZCBpIGhhdmUgYSBleHRlcm5hbCBoYXJkIGRy aXZlIGFsc28gZm9yIHRoYXQgcGMgYW5kIHRoaXMgb25lIGZvciBtb3JlIHN0 b3JhZ2UKCkRvIGkgbmVlZCB0byBpbnN0YWxsIGFwYWNoZSBhbmQgUEhQIGFu ZCB0b21jYXQgcGx1cyBBamF4ICsgcHl0aGFuIA== From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 03:34:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DE9F106566B for ; Sat, 16 Jan 2010 03:34:14 +0000 (UTC) (envelope-from listreader@lazlarlyricon.com) Received: from proxy2.bredband.net (proxy2.bredband.net [195.54.101.72]) by mx1.freebsd.org (Postfix) with ESMTP id 575458FC16 for ; Sat, 16 Jan 2010 03:34:14 +0000 (UTC) Received: from ipb1.telenor.se (195.54.127.164) by proxy2.bredband.net (7.3.140.3) id 4AD3E1BC026A2448 for freebsd-questions@freebsd.org; Sat, 16 Jan 2010 04:34:13 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiI6ALLCUEtV44PPPGdsb2JhbACBRJoyAQEBATe9e4QxBIV2 X-IronPort-AV: E=Sophos;i="4.49,285,1262559600"; d="scan'208";a="26955914" Received: from c-cf83e355.09-42-6e6b7010.cust.bredbandsbolaget.se (HELO lazlar.kicks-ass.net) ([85.227.131.207]) by ipb1.telenor.se with ESMTP; 16 Jan 2010 04:34:12 +0100 Message-ID: <4B5133B3.7000908@lazlarlyricon.com> Date: Sat, 16 Jan 2010 04:34:11 +0100 From: Rolf Nielsen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.5) Gecko/20091227 Thunderbird/3.0 MIME-Version: 1.0 To: Kaya Saman References: <778628.85504.qm@smtp132.mail.ukl.yahoo.com> <11167f521001151742x4ef03f82j15cf1db1c277c381@mail.gmail.com> <4B51209D.7020900@lazlarlyricon.com> <4B512822.2080205@netscape.net> In-Reply-To: <4B512822.2080205@netscape.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, davidoweir3@yahoo.co.uk Subject: Re: Server 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: Sat, 16 Jan 2010 03:34:14 -0000 On 2010-01-16 03:44, Kaya Saman wrote: > >>> >>> >>> >> >> Many believe FreeBSD is Unix (and many would say that it really is, in >> all respects but its name, however that isn't the issue here). >> Moreover, I've got the impression lots of people truly believe Linux >> is just another name for Unix. And I do know for a fact that there are >> people who even believe Unix is another name for Linux. > > BSD is a UNIX like OS...... developed way back when by Berkley > university in the US. Can't remember the dates but for that there's > Google! In fact Wikipedia has a great tree diagram showing the > origination of UNIX. > > Anyhow UNIX was developed at the end of the 60s by Bell Labs who back > then was part of AT&T in the US. But had many bugs and quirks and so a > not-like-UNIX mode was developed according to my Cisco CCNA lecturer who > was lecturing at university way before even then. > > FreeBSD is now an offshoot of BSD and one of a few within the family > tree but is it's own take on BSD. > >> >> With such ideas, I guess it's easy to assume FreeBSD is just another >> Linux distro. Isn't it time we try to correct this? I try to do my >> part in that respect, by explaining to anyone who says, "Oh, you're >> running Linux?" that there is a difference. And that the difference >> matters. It may not matter to them. But it does matter to me. And I >> think it matters to most FreeBSD users. And I also believe it actually >> matters to Linux users, at least the more serious ones. >> _______________________________________________ >> 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" > > > Linux is just a kernel with lots of GPL and GNU software strapped to it > developed by Linuz Torvalds back I'm sure it was 83 or perhaps was > discussed back then. The first Linux distro to come out was back in ~93. > > Just to add without going completely off topic; there are many UNIX-like > OS's available today including: BSD, Solaris, Linux, AIX, HP-UX and one > of yesteryear called IRIX developed by Silicon Graphics. > > Back on to topic now ;) > > First work out what you want to use; Linux or FreeBSD then after you > have decided start to learn it as it is extremely different from the M$ > world and if used in its most raw sense involves no graphical interface > or point-click nonsense! > > I would recommend using FreeBSD on old outdated h/w as the Linux kernel > can be a bit heavy wrapped around a distro as vibrant as Fedora, or > Debian and similar. That is without custom building kernels and packages > specifically designed for the system in question. Although you would do > this if using an embedded system as pointed out previously or if needing > some very specific non-generic purpose. > > Just remember now that you have entered into the UNIX world that Google > is your only friend and although there are many people on various lists > and forums who can help and assist, they will not be pleased or welcome > someone who has failed to use the main basic rule of any thing. As if it > can't be Googled it most likely 99.9% doesn't exist!!! > > Regards, > > Kaya > > > Hi Kaya, Firstly, just for clarity, I do know all of that, and the original poster of this thread is the one you CC'ed. Secondly (also just for clarity, I guess), most of your post is OT, as it is basically a reply to my post, and my post was OT as it was simply a reaction to the original poster's mistake of saying Linux and meaning FreeBSD. Cheers, Rolf Nielsen P.S. No, I'm not trying to be a smart arse. ;) From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 04:23:36 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B8FF1065672 for ; Sat, 16 Jan 2010 04:23:36 +0000 (UTC) (envelope-from samankaya@netscape.net) Received: from imr-db03.mx.aol.com (imr-db03.mx.aol.com [205.188.91.97]) by mx1.freebsd.org (Postfix) with ESMTP id 592B78FC14 for ; Sat, 16 Jan 2010 04:23:35 +0000 (UTC) Received: from imo-ma02.mx.aol.com (imo-ma02.mx.aol.com [64.12.78.137]) by imr-db03.mx.aol.com (8.14.1/8.14.1) with ESMTP id o0G4NP4C025238; Fri, 15 Jan 2010 23:23:25 -0500 Received: from samankaya@netscape.net by imo-ma02.mx.aol.com (mail_out_v42.5.) id 4.cfa.6f731e0f (37661); Fri, 15 Jan 2010 23:23:20 -0500 (EST) Received: from [172.16.1.52] (mail.reformkurumsal.com [212.156.209.87]) by cia-mb07.mx.aol.com (v127.7) with ESMTP id MAILCIAMB073-931d4b513f36309; Fri, 15 Jan 2010 23:23:20 -0500 Message-ID: <4B513F36.5090600@netscape.net> Date: Sat, 16 Jan 2010 06:23:18 +0200 From: Kaya Saman User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090605 SeaMonkey/1.1.17 (Ubuntu-1.1.17+nobinonly-0ubuntu0.9.04.1) MIME-Version: 1.0 To: Rolf Nielsen References: <778628.85504.qm@smtp132.mail.ukl.yahoo.com> <11167f521001151742x4ef03f82j15cf1db1c277c381@mail.gmail.com> <4B51209D.7020900@lazlarlyricon.com> <4B512822.2080205@netscape.net> <4B5133B3.7000908@lazlarlyricon.com> In-Reply-To: <4B5133B3.7000908@lazlarlyricon.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AOL-IP: 212.156.209.87 X-Mailer: Unknown (No Version) X-Spam-Flag: NO X-AOL-SENDER: samankaya@netscape.net Cc: freebsd-questions@freebsd.org Subject: Re: Server 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: Sat, 16 Jan 2010 04:23:36 -0000 > > Hi Kaya, > > Firstly, just for clarity, I do know all of that, and the original > poster of this thread is the one you CC'ed. > > Secondly (also just for clarity, I guess), most of your post is OT, as > it is basically a reply to my post, and my post was OT as it was > simply a reaction to the original poster's mistake of saying Linux and > meaning FreeBSD. > > Cheers, > > Rolf Nielsen > > P.S. No, I'm not trying to be a smart arse. ;) > _______________________________________________ > 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 Rolf, it's cool :-) I know you knew all that but just wanted to take it a bit further that's all....... Please don't worry about who I sent or cc'd to as for me it was just about sending the message out. Thanks for the OTT warning was just trying to clarify and extend. Sorry it's been a while since I've been on the front foot in mailing lists and forums for a while as I personally have taken a back seat while trying to learn many new things. I really wasn't trying to get in the way but just build on. Anyway, call it a simple miscommunication on my behalf - as long as it helps the OP as that was what it was designed and intended to do!!! Regards, Kaya From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 04:57:47 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE3CA106566B for ; Sat, 16 Jan 2010 04:57:47 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id ADEEF8FC0A for ; Sat, 16 Jan 2010 04:57:47 +0000 (UTC) Received: from mail1.sourcehosting.net ([74.205.51.45] helo=v101.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NW0jA-0000xc-8a; Fri, 15 Jan 2010 23:57:41 -0500 Message-ID: <4B51473F.90302@FreeBSD.org> Date: Fri, 15 Jan 2010 23:57:35 -0500 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Craig Whipp References: <4B509B51.3060809@strauser.com> <85E67FE7-4B01-40D0-A52E-BE8F3F083FAA@gmail.com> In-Reply-To: <85E67FE7-4B01-40D0-A52E-BE8F3F083FAA@gmail.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -4.7 (----) Cc: FreeBSD Questions Subject: Re: Dislike the way port conflicts are handled now X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jan 2010 04:57:47 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Craig Whipp wrote: > > On Jan 15, 2010, at 9:44 AM, Kirk Strauser wrote: > >> Until recently, it seems like port dependencies were handled at >> installation time. Lately, they're handled any time I try to do >> anything with a port. I absolutely detest the new behavior. Example >> cases: >> >> OLD WAY: >> >> $ cd /usr/ports/something/foo22 >> $ make >> $ pkg_delete foo21-2.1 >> $ make install >> >> NEW WAY >> >> $ cd /usr/ports/something/foo22 >> $ make >> ===> foo22 conflicts with installed package(s): foo21-2.1 >> $ make fetch >> ===> foo22 conflicts with installed package(s): foo21-2.1 >> $ curse --type=copious >> $ pkg_delete foo21-2.1 >> $ make install >> >> This isn't just a hypothetical pain in the butt. An example was being >> unable to build databases/mysql51-client because >> mysql-client-5.0.something was installed. I understand not being able >> to *install* it, but to be prevented from *building* it? In most >> circumstances, I want to be able to delete the old package and install >> the new one with minimal downtime. As another example, can you imagine >> not being able to even run "make fetch" on something huge like >> OpenOffice until you uninstalled the old version? >> >> In the mean time, I've been editing the port's Makefile to remove the >> CONFLICTS line long enough to finish building. That's not very helpful >> for those ports that don't actually build until you run "make >> install", but at least I can get the distfile download out of the way. >> -- >> >> Kirk Strauser >> > > I agree. I've found that this can interfere with portmaster's "-o" > option, used to replace an installed port with one of a different > origin. In my case, databases/mysql41-server with > databases/mysql55-server. > > - Craig This change was based on a recent PR (http://www.freebsd.org/cgi/query-pr.cgi?pr=137855) and made it into the tree a couple of weeks ago: http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.port.mk.diff?r1=1.631;r2=1.632 Since some folks like the old behavior and some folks like the new behavior, what do you all think of a user-selectable make.conf option to choose where the check-conflicts target appears in the port build sequence? Regards, Greg -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAktRRz8ACgkQ0sRouByUApA35ACfY9NU8NBKarCm6eTFRLt1y/Nf ar8AoIxF68LgUZBuATfHLRyfaAZ9SOtw =kG5z -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 05:02:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2CA4106566C for ; Sat, 16 Jan 2010 05:02:48 +0000 (UTC) (envelope-from miconof80.list@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by mx1.freebsd.org (Postfix) with ESMTP id 6DE4C8FC0A for ; Sat, 16 Jan 2010 05:02:48 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id d26so242932eyd.9 for ; Fri, 15 Jan 2010 21:02:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=0MrGGg+aPTFp/kAwYgBFUyabTnFLiH5h1Rbc1qTGkC0=; b=JpwOJVpyJKuaG0SIBVBjd8JFRvwIE/IS46kp2/AY+OwVdk5qXU/0BesoKe0Gso1MJZ Ufe3oYCX0JZQRegerSHOgvInYIHSaxLiT705JxpeMAEi7VlWBjykcgtrGWS0ewDoPtFG eIut1pyjugfoxcBhDMZUZFqRGwbxxc5UNATlk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; b=fprE1cqJOKAD44szPcgo6U24t3K1PPyVPJ6K0e5lnyNfdfQ1EvgXPilBhTWRqA+wpV Ai2dHMp0taxgc5uGbyOKXAIazzCgtK3Vjb41bT1gMuZtFKhz7JyTEbbNZ06WpTwW7zFY t20DKJ+ubkrYvcxaxVyeApSv+7cnOTP02WxR8= Received: by 10.213.100.131 with SMTP id y3mr3267340ebn.91.1263618161293; Fri, 15 Jan 2010 21:02:41 -0800 (PST) Received: from e4300 (bdv75-2-81-57-250-158.fbx.proxad.net [81.57.250.158]) by mx.google.com with ESMTPS id 5sm3046449eyh.24.2010.01.15.21.02.40 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 15 Jan 2010 21:02:40 -0800 (PST) Date: Sat, 16 Jan 2010 06:02:33 +0100 From: Michel Le Cocq To: Mark Kane Message-ID: <20100116050230.GA2232@e4300> References: <20100115135113.GB3885@e4300> <20100115133559.52546d53@mkproductions.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="3V7upXqbjpZ4EhLz" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20100115133559.52546d53@mkproductions.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Michel Le Cocq , freebsd-questions@freebsd.org Subject: Re: rdiff-backup-1.2.8 python2.5.4 : OverflowError: signed integer is greater than maximum X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jan 2010 05:02:49 -0000 --3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit Thanks for your help, I just follow the upgrade. I'm now on : python26-2.6.4, rdiff-backup-1.2.8,1 But I still have the same error : OverflowError: signed integer is greater than maximum I just did : # rdiff-backup /mnt/users/toto /backup/Lipn/users_backup/toto It work for 393 user folder and give this error on 3. I tried to remove the destination folder but it change nothing. I attach here the Traceback. -- Michel Mark Kane a écrit: > On Fri, Jan 15, 2010, at 14:51:14 +0100, Michel Le Cocq wrote: > > I run rdiff-backup on my backup server: > > - FreeBSD 8.0-RELEASE AMD64 > > - rdiff-backup-1.2.8,1 > > - python25-2.5.4_3 > > - be pro quad > > - 4G Ram > > > > I try to rdiff a folder on a nfs ro mounted volume to an other volume. > > > > I obtain this error : OverflowError: signed integer is greater than > > maximum > > > > I have the same problem as Brad Beyenhof see here : > > http://www.mail-archive.com/rdiff-backup-users@nongnu.org/msg03794.html > > > > I know it's a know problem due to a bug in Python. And have to upgrad > > Python to 2.5.4 or 2.6.1. > > > > But I'm on python25-2.5.4_3 !!! and rdiff need python25 to run so I > > can't remove it for python26... > > > > What can I do to obtain my full backup ? > > > > Thanks > > Hi. > > I'm not familiar with the specific bug, but if you want to upgrade > Python from 2.5 to 2.6 that can be done by following the 20090608 entry > in /usr/ports/UPDATING. > > I also use rdiff-backup and can confirm that it works with Python 2.6. > > Hope that helps, > > -Mark --3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=tmp2 Thanks for your help, I just follow the upgrade. I'm now on : python26-2.6.4, rdiff-backup-1.2.8,1 But I still have the same error : OverflowError: signed integer is greater than maximum I just did : # rm -rf /backup/users_backup/toto/rdiff-ba* # rdiff-backup --force /mnt/users/toto /backup/Lipn/users_backup/toto I attach here the Traceback. --3V7upXqbjpZ4EhLz-- From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 05:07:44 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A474B1065692 for ; Sat, 16 Jan 2010 05:07:44 +0000 (UTC) (envelope-from miconof80.list@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by mx1.freebsd.org (Postfix) with ESMTP id 2F37E8FC15 for ; Sat, 16 Jan 2010 05:07:43 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id d26so243429eyd.9 for ; Fri, 15 Jan 2010 21:07:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=4GY2fLsaZvzggQ28qs0znXxpMUfIb9n9gWtTkBQ+LXs=; b=U/zE3FdV1P0n3USaNL2F0DwDvG8eOBGATl4alvPHv4YaMAJ/Qo6PA5008YwZWbW/bT k7DwBPp1DUQnOF6wB2TyqWtG+ssx8lC/+R+fGoYcv1qW4ck5CbRJxWexZEaoVL9EJrnn 3BuGwZgPRsNtkFhCFqqyH0BPuKO90f+OLTYtQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; b=wkVTxyoYOYUFdWsm0CBifhQamjlkLlL2LnY9Md6ndjl8JTHi16/2wyFUl4C+XLtDVs eIEhJ/3FVvTM/0E/L798gCbBcXu2X/i4jw1EQk5clrbHEfBP5WPC8xJPLm6vyxyD+XUt nTkYYGMDiKU1wzm0DLdy3LaNnPr2KsRQCi/Gc= Received: by 10.213.15.19 with SMTP id i19mr607529eba.65.1263618457675; Fri, 15 Jan 2010 21:07:37 -0800 (PST) Received: from e4300 (bdv75-2-81-57-250-158.fbx.proxad.net [81.57.250.158]) by mx.google.com with ESMTPS id 28sm2238384eye.7.2010.01.15.21.07.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 15 Jan 2010 21:07:37 -0800 (PST) Date: Sat, 16 Jan 2010 06:07:34 +0100 From: Michel Le Cocq To: Mark Kane Message-ID: <20100116050733.GC2232@e4300> References: <20100115135113.GB3885@e4300> <20100115133559.52546d53@mkproductions.org> <20100116050230.GA2232@e4300> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="E13BgyNx05feLLmH" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20100116050230.GA2232@e4300> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Michel Le Cocq , freebsd-questions@freebsd.org Subject: Re: rdiff-backup-1.2.8 python2.5.4 : OverflowError: signed integer is greater than maximum X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jan 2010 05:07:44 -0000 --E13BgyNx05feLLmH Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit sorry, here is the right attachment. Michel Le Cocq a écrit: > Thanks for your help, I just follow the upgrade. > I'm now on : python26-2.6.4, rdiff-backup-1.2.8,1 > > But I still have the same error : > OverflowError: signed integer is greater than maximum > > I just did : > # rdiff-backup /mnt/users/toto /backup/Lipn/users_backup/toto > > It work for 393 user folder and give this error on 3. > I tried to remove the destination folder but it change nothing. > > I attach here the Traceback. > > -- > Michel > > Mark Kane a écrit: > > On Fri, Jan 15, 2010, at 14:51:14 +0100, Michel Le Cocq wrote: > > > I run rdiff-backup on my backup server: > > > - FreeBSD 8.0-RELEASE AMD64 > > > - rdiff-backup-1.2.8,1 > > > - python25-2.5.4_3 > > > - be pro quad > > > - 4G Ram > > > > > > I try to rdiff a folder on a nfs ro mounted volume to an other volume. > > > > > > I obtain this error : OverflowError: signed integer is greater than > > > maximum > > > > > > I have the same problem as Brad Beyenhof see here : > > > http://www.mail-archive.com/rdiff-backup-users@nongnu.org/msg03794.html > > > > > > I know it's a know problem due to a bug in Python. And have to upgrad > > > Python to 2.5.4 or 2.6.1. > > > > > > But I'm on python25-2.5.4_3 !!! and rdiff need python25 to run so I > > > can't remove it for python26... > > > > > > What can I do to obtain my full backup ? > > > > > > Thanks > > > > Hi. > > > > I'm not familiar with the specific bug, but if you want to upgrade > > Python from 2.5 to 2.6 that can be done by following the 20090608 entry > > in /usr/ports/UPDATING. > > > > I also use rdiff-backup and can confirm that it works with Python 2.6. > > > > Hope that helps, > > > > -Mark > Thanks for your help, I just follow the upgrade. > I'm now on : python26-2.6.4, rdiff-backup-1.2.8,1 > > But I still have the same error : > OverflowError: signed integer is greater than maximum > > I just did : > # rm -rf /backup/users_backup/toto/rdiff-ba* > # rdiff-backup --force /mnt/users/toto /backup/Lipn/users_backup/toto > > I attach here the Traceback. --E13BgyNx05feLLmH Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=tmp Traceback (most recent call last): File "/usr/local/bin/rdiff-backup", line 30, in rdiff_backup.Main.error_check_Main(sys.argv[1:]) File "/usr/local/lib/python2.6/site-packages/rdiff_backup/Main.py", line 304, in error_check_Main try: Main(arglist) File "/usr/local/lib/python2.6/site-packages/rdiff_backup/Main.py", line 324, in Main take_action(rps) File "/usr/local/lib/python2.6/site-packages/rdiff_backup/Main.py", line 280, in take_action elif action == "backup": Backup(rps[0], rps[1]) File "/usr/local/lib/python2.6/site-packages/rdiff_backup/Main.py", line 346, in Backup backup.Mirror(rpin, rpout) File "/usr/local/lib/python2.6/site-packages/rdiff_backup/backup.py", line 38, in Mirror DestS.patch(dest_rpath, source_diffiter) File "/usr/local/lib/python2.6/site-packages/rdiff_backup/backup.py", line 232, in patch ITR(diff.index, diff) File "/usr/local/lib/python2.6/site-packages/rdiff_backup/rorpiter.py", line 281, in __call__ last_branch.fast_process(*args) File "/usr/local/lib/python2.6/site-packages/rdiff_backup/backup.py", line 529, in fast_process if self.patch_to_temp(mirror_rp, diff_rorp, tf): File "/usr/local/lib/python2.6/site-packages/rdiff_backup/backup.py", line 553, in patch_to_temp result = self.patch_snapshot_to_temp(diff_rorp, new) File "/usr/local/lib/python2.6/site-packages/rdiff_backup/backup.py", line 578, in patch_snapshot_to_temp rpath.copy_attribs(diff_rorp, new) File "/usr/local/lib/python2.6/site-packages/rdiff_backup/rpath.py", line 180, in copy_attribs rpout.chown(*rpout.conn.user_group.map_rpath(rpin)) File "/usr/local/lib/python2.6/site-packages/rdiff_backup/rpath.py", line 973, in chown try: self.conn.C.lchown(self.path, uid, gid) OverflowError: signed integer is greater than maximum --E13BgyNx05feLLmH-- From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 05:49:56 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCB3B106566C for ; Sat, 16 Jan 2010 05:49:56 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id B0E6F8FC08 for ; Sat, 16 Jan 2010 05:49:56 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NW1Xo-0000kP-8F for freebsd-questions@freebsd.org; Fri, 15 Jan 2010 21:49:56 -0800 Message-ID: <27187021.post@talk.nabble.com> Date: Fri, 15 Jan 2010 21:49:56 -0800 (PST) From: jaymax To: freebsd-questions@freebsd.org In-Reply-To: <27184350.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jaymax36@gmail.com References: <27184350.post@talk.nabble.com> Subject: Re: Problem w/ mysql extension installation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jan 2010 05:49:56 -0000 A couple of hours later I return to this problem at the file is there and the extension installed "RATHER BIZARE" jaymax wrote: > > phpmyadmin requires the mysql extension which is apparently not included > in the mysql54 ports > > Installing it from > /usr/ports/databases/php5-mysql ==> > > > --- > --- > --- > In file included from > /usr/local/include/php/main/../main/php_config.h:2839, > from /usr/local/include/php/Zend/zend_config.h:1, > from /usr/local/include/php/Zend/zend.h:53, > from /usr/local/include/php/main/php.h:34, > from > /usr/ports/databases/php5-mysql/work/php-5.2.12/ext/mysql/php_mysql.c:32: > /usr/local/include/php/ext/php_config.h:1:30: error: ext/mysql/config.h: > No such file or directory > *** Error code 1 > 1 error > *** Error code 1 > > Stop in /usr/ports/databases/php5-mysql. > > > Indeed /usr/local/include/php/ext/mysql/config.h is not present! > > Should this have been installed with the mysql installation or from a > dependency? > > How can I correct this ? > > Thanks! > > > -- View this message in context: http://old.nabble.com/Problem-w--mysql-extension-installation-tp27184350p27187021.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 06:25:16 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62BDB106566C for ; Sat, 16 Jan 2010 06:25:16 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-01.bluehost.com (outbound-mail-01.bluehost.com [69.89.21.11]) by mx1.freebsd.org (Postfix) with SMTP id E59F48FC08 for ; Sat, 16 Jan 2010 06:25:15 +0000 (UTC) Received: (qmail 1083 invoked by uid 0); 16 Jan 2010 06:25:15 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by outboundproxy4.bluehost.com with SMTP; 16 Jan 2010 06:25:15 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=O9dskplvFQrw93te0JGGpju0svSBu5X+dpDFGrVz0xdcfO6kqs92Vwu7xB8m5rDbf9SI/cod2jkP/cxwLjoxEN29mMuB3QcqiMFgVy2dtNblyDmjylS6hcOxDOepjfi8; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NW25y-0005X7-Dc for freebsd-questions@freebsd.org; Fri, 15 Jan 2010 23:25:15 -0700 Received: by kukaburra.hydra (sSMTP sendmail emulation); Fri, 15 Jan 2010 23:17:15 -0700 Date: Fri, 15 Jan 2010 23:17:15 -0700 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20100116061715.GA56180@guilt.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <778628.85504.qm@smtp132.mail.ukl.yahoo.com> <11167f521001151742x4ef03f82j15cf1db1c277c381@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wac7ysb48OaltWcw" Content-Disposition: inline In-Reply-To: <11167f521001151742x4ef03f82j15cf1db1c277c381@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: Server 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: Sat, 16 Jan 2010 06:25:16 -0000 --wac7ysb48OaltWcw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 15, 2010 at 07:42:02PM -0600, Sam Fourman Jr. wrote: > On Fri, Jan 15, 2010 at 4:37 PM, wrote: > > > > I will be deleting the Window's stuff on the machine > > > > How would i SSH to the Linux pc and what software should i install >=20 > one of the first things you should understand is FreeBSD is Not Linux How sure are we that davidoweir3 wasn't just asking about how to use SSH to connect to a Linux machine from a FreeBSD machine? --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --wac7ysb48OaltWcw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAktRWesACgkQ9mn/Pj01uKV1jgCgvYlxenDsCGw31qLofnBk8My6 IpwAoL3/LpMsSE5ZbFkI8QkosR6/TsQo =sYYy -----END PGP SIGNATURE----- --wac7ysb48OaltWcw-- From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 06:28:40 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D32151065670 for ; Sat, 16 Jan 2010 06:28:40 +0000 (UTC) (envelope-from listreader@lazlarlyricon.com) Received: from proxy3.bredband.net (proxy3.bredband.net [195.54.101.73]) by mx1.freebsd.org (Postfix) with ESMTP id 8B7268FC13 for ; Sat, 16 Jan 2010 06:28:40 +0000 (UTC) Received: from ipb2.telenor.se (195.54.127.165) by proxy3.bredband.net (7.3.140.3) id 4AD3E1BA02589D48 for freebsd-questions@freebsd.org; Sat, 16 Jan 2010 07:28:39 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqM6ALbrUEtV44PPPGdsb2JhbACBRIZwk0IBAQEBN7xqhDEE X-IronPort-AV: E=Sophos;i="4.49,286,1262559600"; d="scan'208";a="26963753" Received: from c-cf83e355.09-42-6e6b7010.cust.bredbandsbolaget.se (HELO lazlar.kicks-ass.net) ([85.227.131.207]) by ipb2.telenor.se with ESMTP; 16 Jan 2010 07:28:39 +0100 Message-ID: <4B515C96.7090901@lazlarlyricon.com> Date: Sat, 16 Jan 2010 07:28:38 +0100 From: Rolf Nielsen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.5) Gecko/20091227 Thunderbird/3.0 MIME-Version: 1.0 To: Jon Radel References: <778628.85504.qm@smtp132.mail.ukl.yahoo.com> <11167f521001151742x4ef03f82j15cf1db1c277c381@mail.gmail.com> <4B51209D.7020900@lazlarlyricon.com> <4B512822.2080205@netscape.net> <4B5133B3.7000908@lazlarlyricon.com> <4B51382E.9000307@radel.com> In-Reply-To: <4B51382E.9000307@radel.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Correcting misconceptions? (was Re: Server 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: Sat, 16 Jan 2010 06:28:40 -0000 On 2010-01-16 04:53, Jon Radel wrote: > Rolf Nielsen wrote: > >> Secondly (also just for clarity, I guess), most of your post is OT, as >> it is basically a reply to my post, and my post was OT as it was >> simply a reaction to the original poster's mistake of saying Linux and >> meaning FreeBSD. > > Which makes your latest, what, OT cubed? Point taken. Subject changed... > On a marginally more serious > note, how would you propose to start an effort to spearhead the "BSD is > not Linux, Linux is not UNIX, but good luck telling them apart until > you're a propeller head like us" educational campaign? (Harking back to > your, "Isn't it time we try to correct this," query.) There are probably > more useful messages to try get out about FreeBSD than, "No, it's not > Linux, and we'll beat the snot out of you if you get confused in public." The part I wanted to correct is the idea that FreeBSD is a Linux distro. Whether or not people believe Linux is Unix, I don't really care about. My point was that if people believe Linux is another name for Unix or even that Unix is another name for Linux may be the cause of the misconception that FreeBSD is a Linux distro. And of course there are more meaningful messages, and more important ones. I never suggested it should be made top priority. I said I think it matters, not that it's the foundation on which the world stands. And, without changing my belief that it does matter, I will say that most importantly for me, I know the difference and that is one of the reasons why I chose FreeBSD. How it should be done? A good start would be to not just say "It's not Linux" if someone asks, but give a brief explanation to why it isn't. Handing out leaflets or making t-shirts isn't what I had in mind; it's not that an important issue. And beating the snot out of people isn't quite my idea of education. From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 06:38:19 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6998E1065670 for ; Sat, 16 Jan 2010 06:38:19 +0000 (UTC) (envelope-from bennett@cs.niu.edu) Received: from mp.cs.niu.edu (mp.cs.niu.edu [131.156.145.41]) by mx1.freebsd.org (Postfix) with ESMTP id 47AA88FC13 for ; Sat, 16 Jan 2010 06:38:19 +0000 (UTC) Received: from mp.cs.niu.edu (bennett@localhost [127.0.0.1]) by mp.cs.niu.edu (8.14.3/8.14.3) with ESMTP id o0G6cEp3029479; Sat, 16 Jan 2010 00:38:14 -0600 (CST) Date: Sat, 16 Jan 2010 00:38:14 -0600 (CST) From: Scott Bennett Message-Id: <201001160638.o0G6cEj8029478@mp.cs.niu.edu> To: rsmith@xs4all.nl Cc: freebsd-questions@freebsd.org Subject: Re: GELI file systems unusable after "glabel label" operations X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jan 2010 06:38:19 -0000 On Fri, 15 Jan 2010 23:18:40 +0100 Roland Smith wrote: >On Fri, Jan 15, 2010 at 01:25:50AM -0600, Scott Bennett wrote: >>=20 >> It has been a long time since I created those GELI partitions, but I >> think I used the "geli init -K keyfilename /dev/daXsYP", where P is the >> partition identifier in slice Y of drive X. What I did when I screwed the >> pooch on this was of the form "glabel label fsname /dev/daXsYP", which I = >had >> thought would produce a /dev/label/fsname device and that doing a "geli a= >ttach" >> afterward would produce a /dev/label/fsname.eli device. > >You could have done two things to create a nested label/geli configuration; > >1) Create a labeled device from /dev/daXsYP, which would yield /dev/label/f= >oo, > then create a geli device _on the labeled device_, creating > /dev/label/foo.eli. This will work because the labeled device will be one > sector shorter than the raw da device. The .eli device will be yet anoth= >er > sector shorter, leaving two adjacent metadata sectors for the nested > providers. This is the key point. > >2) Create the geli device /dev/daXsYP.eli, and then create a label on that, > yielding /dev/label/bar. [not sure what the utility of this is, since the > label will only appear after the geil provider has been attached] > The important point here is that one of the above methods must be used *before* the file system is created and the data loaded into it. Attempting either method *after* data are loaded will result in loss of the data. >The first one seems most useful for things like automatic mounting. Okay. Thanks for the two methods. > >> >Check /var/backups. There should be *.eli files there. Those are the aut= >oma=3D >> >tic >>=20 >> No joy. :-( >>=20 >> >metadata backups that 'geli init' makes (at least in 8.0). You can resto= >re >> >those backups with 'geli restore'. >>=20 >> Those must be new in 8.0. I don't see any in 7.2, just {aliases,gro= >up, >> master.passwd}.bak{,2} in /var/backups. > >Probably. I didn't see them when I was running 7.2, and I only noticed it in >the 8.0 manpage. > >> >Running 'geli init' again with the same parameters will not work, because >> >'geli init' uses a random component in the key generation. In other word= >s, =3D >> >two >> >inits with the same password will not generate the same key! >>=20 >> Is there some way to recover using the existing key files, which I do >> still have? And of course, I do know the passphrases. > >Not as I read the geli source. It _always_ uses arc4rand to generate a rand= >om >salt for the key during 'init'. Read the function 'static void eli_init(str= >uct >gctl_req *req)' in /usr/src/sbin/geom/class/eli/geom_eli.c. This means that >subsequent 'geli init' calls with the same password or keyfile will still >yield a different key. I'm afraid your data is lost. Perhaps this provides a possible recovery method. As you read it, would it be possible to build an altered version of geli(8) that would simply use the existing key file without generating a new one to do a "geli init" operation? If so, it would certainly be worth my trouble to do that. > >You should always make a backup before playing with filesystems. Most people >learn this the hard way, although I realize that this is small consolation. As I wrote previously, I had backups. My error was in labeling both the original partition *and* the partition containing the backup series at the same time. If I hadn't tried to save a reboot and a few other trivial operations and had instead labeled only the original data partition at first, I would have discovered the problem in time to rebuild the original correctly from the backups. Sigh. > >> >What you should have done (for future refrence) is use geli(8) to create= > the >> >encrypted device, then create a filesystem on that encrypted device with >> >newfs(8) using the '-L' flag to set the volume name. Or use tunefs(8) to= > set >> >the volume name later. These names will be automatically recognized next= > ti=3D >> >me >> >you attach it and listed in /dev/ufs/. >> > >> Thank you for that information. If only it had been laid out that w= >ay >> in the man page of the handbook when I read it before starting on the lab= >eling >> procedure...sigh. > >It _is_ listed in the glabel manpage, at least in 8.0.=20 I don't have 8.0. > >And I think that the proper way to nest geoms is too obvious (at least for = >the >developers/maintainers) to explicitly list in the handbook. If you know that >geoms store metadata in their last sector, the proper way to nest them is to >use the different devices for each geom "stage", so that each has their own >metadata sector. Well, it wasn't at all obvious to me, and reading the parts that mention metadata being written to the last sector suggests, if anything, that labeling and encryption are incompatible because both write to the "last sector", i.e., to the *same* sector. The idea of the "last sector" being different for the two operations is not at all apparent. > >Procedure #1 that I outlined above should be easier to automate, should you >want to, because you can then just use 'geli init /dev/label/foo'. > >As of 7.2, each UFS filesystem automatically has an unique file system id t= >hat >is automatically created during boot in /dev/ufsid. These labels are unique >and do not change. You can use those to mount these filesystems. See =A719.= >6 in >the latest version of the Handbook. > >> I have a new 1 TB drive that I will soon connect to the system and b= >egin >> creating file systems. I will make gzipped image files with dd(1) of the >> damaged partitions and store them on the new drive for a while in case a >> workable idea turns up. > >Since the partitions are encrypted, don't bother with gzip. Encrypted data = >is >pretty close to random noise. No compression program can compress that vey >much. With the gzip header, it might even become bigger. > True enough, but sometimes one gets lucky. Given that the storage time might be rather long in hopes of eventually turning up a solution, I was thinking that I would try it both ways. If there were little difference in size between the raw and the compressed versions, then I would probably just keep the raw version. OTOH, if the compressed version were a few percent smaller, then I would keep that one instead. Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * ********************************************************************** From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 08:22:04 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC542106566C for ; Sat, 16 Jan 2010 08:22:04 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from kane.otenet.gr (kane.otenet.gr [83.235.67.31]) by mx1.freebsd.org (Postfix) with ESMTP id 4FC918FC17 for ; Sat, 16 Jan 2010 08:22:03 +0000 (UTC) Received: from pulstar.local (athedsl-4553510.home.otenet.gr [94.70.71.46]) by kane.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id o0G8M0gX026410; Sat, 16 Jan 2010 10:22:01 +0200 Message-ID: <4B517728.4020709@otenet.gr> Date: Sat, 16 Jan 2010 10:22:00 +0200 From: Manolis Kiagias User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: glarkin@freebsd.org References: <4B509B51.3060809@strauser.com> <85E67FE7-4B01-40D0-A52E-BE8F3F083FAA@gmail.com> <4B51473F.90302@FreeBSD.org> In-Reply-To: <4B51473F.90302@FreeBSD.org> X-Enigmail-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: FreeBSD Questions Subject: Re: Dislike the way port conflicts are handled now X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jan 2010 08:22:04 -0000 On 16/01/2010 6:57 Ï€.μ., Greg Larkin wrote: > Craig Whipp wrote: > > > On Jan 15, 2010, at 9:44 AM, Kirk Strauser wrote: > > >> Until recently, it seems like port dependencies were handled at > >> installation time. Lately, they're handled any time I try to do > >> anything with a port. I absolutely detest the new behavior. Example > >> cases: > >> > >> OLD WAY: > >> > >> $ cd /usr/ports/something/foo22 > >> $ make > >> $ pkg_delete foo21-2.1 > >> $ make install > >> > >> NEW WAY > >> > >> $ cd /usr/ports/something/foo22 > >> $ make > >> ===> foo22 conflicts with installed package(s): foo21-2.1 > >> $ make fetch > >> ===> foo22 conflicts with installed package(s): foo21-2.1 > >> $ curse --type=copious > >> $ pkg_delete foo21-2.1 > >> $ make install > >> > >> This isn't just a hypothetical pain in the butt. An example was being > >> unable to build databases/mysql51-client because > >> mysql-client-5.0.something was installed. I understand not being able > >> to *install* it, but to be prevented from *building* it? In most > >> circumstances, I want to be able to delete the old package and install > >> the new one with minimal downtime. As another example, can you imagine > >> not being able to even run "make fetch" on something huge like > >> OpenOffice until you uninstalled the old version? > >> > >> In the mean time, I've been editing the port's Makefile to remove the > >> CONFLICTS line long enough to finish building. That's not very helpful > >> for those ports that don't actually build until you run "make > >> install", but at least I can get the distfile download out of the way. > >> -- > >> > >> Kirk Strauser > >> > > > I agree. I've found that this can interfere with portmaster's "-o" > > option, used to replace an installed port with one of a different > > origin. In my case, databases/mysql41-server with > > databases/mysql55-server. > > > - Craig > > This change was based on a recent PR > (http://www.freebsd.org/cgi/query-pr.cgi?pr=137855) and made it into the > tree a couple of weeks ago: > http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.port.mk.diff?r1=1.631;r2=1.632 > > Since some folks like the old behavior and some folks like the new > behavior, what do you all think of a user-selectable make.conf option to > choose where the check-conflicts target appears in the port build > sequence? > > Regards, > Greg While I build most of my personal packages using ports-mgmt/tinderbox, this option would be very useful. I routinely run make fetch on remote machines to retrieve large distfiles, and wouldn't want the installed dependencies to interfere with that. From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 09:31:31 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6B941065697 for ; Sat, 16 Jan 2010 09:31:31 +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 4986F8FC1D for ; Sat, 16 Jan 2010 09:31:30 +0000 (UTC) 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 o0G9VMwP083397; Sat, 16 Jan 2010 10:31:22 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 4816DBA9D; Sat, 16 Jan 2010 10:31:22 +0100 (CET) Date: Sat, 16 Jan 2010 10:31:22 +0100 From: Roland Smith To: Scott Bennett Message-ID: <20100116093122.GA64132@slackbox.xs4all.nl> References: <201001160638.o0G6cEj8029478@mp.cs.niu.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M9NhX3UHpAaciwkO" Content-Disposition: inline In-Reply-To: <201001160638.o0G6cEj8029478@mp.cs.niu.edu> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: GELI file systems unusable after "glabel label" operations X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jan 2010 09:31:31 -0000 --M9NhX3UHpAaciwkO Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 16, 2010 at 12:38:14AM -0600, Scott Bennett wrote: > >2) Create the geli device /dev/daXsYP.eli, and then create a label on th= at, > > yielding /dev/label/bar. [not sure what the utility of this is, since= the > > label will only appear after the geil provider has been attached] > > > The important point here is that one of the above methods must be us= ed > *before* the file system is created and the data loaded into it. Attempt= ing > either method *after* data are loaded will result in loss of the data. Maybe not immediately, but since both the filesystem and geom can use the l= ast sector, there will be trouble. :-) The examples in the glabel manpage should how to set up a label correctly. > Perhaps this provides a possible recovery method. As you read it, > would it be possible to build an altered version of geli(8) that would si= mply > use the existing key file without generating a new one to do a "geli init" > operation? If so, it would certainly be worth my trouble to do that. In theory it is possible, I guess. But the salt is 512 bytes long. So it can have 2^512 different values. That is 1.340=C3=9710^154 different values, an= d you'd have to test them all. And by testing I mean use the modified 'geli init' to generate a key, and then try if the key works, i.e. check if the relevant sector decrypted with that key yields a valid UFS2 superblock. Suppose you wrote a program capable of testing 10^9 keys every second, which sounds like quite alot to me. It would still be running for 2^512/1e9/(3600*24*365) =3D 4.25=C3=9710^137 years! So in practice, this is a hopeless task. > >And I think that the proper way to nest geoms is too obvious (at least f= or =3D > >the > >developers/maintainers) to explicitly list in the handbook. If you know = that > >geoms store metadata in their last sector, the proper way to nest them i= s to > >use the different devices for each geom "stage", so that each has their = own > >metadata sector. >=20 > Well, it wasn't at all obvious to me, and reading the parts that men= tion > metadata being written to the last sector suggests, if anything, that lab= eling > and encryption are incompatible because both write to the "last sector", = i.e., > to the *same* sector. The idea of the "last sector" being different for = the > two operations is not at all apparent. Well, it should be different, otherwise they overwrite the same sector. Ipso facto you should nest providers... Say you want to have a labeled, encrypted device on /dev/da0s1d. First, you create the label; glabel label =E2=80=90v foo /dev/da0s1d A device /dev/label/foo now appears. This device is one sector smaller than /dev/da0s1d, because the last sector of /dev/da0s1d is used for the glabel metadata. Now we want to create an encrypted device, so we do: geli init -l 256 /dev/label/foo geli attach /dev/label/foo This will create /dev/label/foo.eli. Again, /dev/label/foo.eli is one sector smaller than /dev/label/foo, because the last sector of /dev/label/foo contains the geli metadata. If one uses geli init -l 256 /dev/da0s1d geli attach /dev/da0s1d this will create and attach /dev/da0s1d.eli, but /dev/label/foo will be des= troyed, because 'geli init' overwrites glabel's metadata! Below I've tried to sketch the last sectors of the device, with the extents= of the geom-ed devices and the location of the metadata below. -------------------------------------------------- /dev/da0s1d ... N-5 N-4 N-3 N-2 N-1 N | | | | | | geli |glabel| ------------------------------------------ /dev/label/foo ----------------------------------- /dev/label/foo.eli Nested geom devices are the only way to keep the metadata safe. Hope this helps, 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) --M9NhX3UHpAaciwkO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAktRh2oACgkQEnfvsMMhpyUabQCfZsu9sxI5tguPiZhyM8BE9MiH zW8AoIcHknnazQwO2SkopyWWxgn1TL6R =a1Ye -----END PGP SIGNATURE----- --M9NhX3UHpAaciwkO-- From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 10:28:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80D591065693 for ; Sat, 16 Jan 2010 10:28:02 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from relay.ptn-ipout02.plus.net (relay.ptn-ipout02.plus.net [212.159.7.36]) by mx1.freebsd.org (Postfix) with ESMTP id 1CB898FC14 for ; Sat, 16 Jan 2010 10:28:01 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAAYjUUtUXebz/2dsb2JhbADXYoQyBA Received: from relay02.plus.net ([84.93.230.243]) by relay.ptn-ipout02.plus.net with ESMTP; 16 Jan 2010 10:28:00 +0000 Received: from [84.92.153.232] (helo=curlew.milibyte.co.uk) by relay02.plus.net with esmtp (Exim) id 1NW5su-0008TN-GB; Sat, 16 Jan 2010 10:28:00 +0000 Received: by curlew.milibyte.co.uk with local (Exim 4.71) (envelope-from ) id 1NW5su-0000mv-5a; Sat, 16 Jan 2010 10:28:00 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Sat, 16 Jan 2010 10:27:59 +0000 User-Agent: KMail/1.9.10 References: <20100116000928.GA96431@thought.org> In-Reply-To: <20100116000928.GA96431@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201001161028.00121.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false X-Plusnet-Relay: 08c7f46b9d44c849c03f4c352c9f56cd Cc: Gary Kline Subject: Re: OOo 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, 16 Jan 2010 10:28:02 -0000 On Saturday 16 January 2010, Gary Kline wrote: > this may be offtopic but it does deal with our OO.org port. > a friend sent me a very nice "slideshow" in powerpoint format. I've > saved it (and the original) somewhere in the evolution directory so > all the photos are safe. first question is: can I save an individial > image using Openoffice? Select the slide then right click on the image and select "Save as Picture" near the bottom of the menu. If you're lucky this will work - I've tried this with 3 different MS Powerpoint files and it worked fine with two of them but didn't even give me the "Save as Picture" option with the other one :-( > Second q is howto use them for my desktop backgrounds in KDE since, > upon rebuild and relaunch, everything is black. the first question > is howto save a separate image? or are there other tools to do this? > [neither xv nor gv work] Right click on a blank piece of the KDE desktop and select "Configure Desktop". This should open with the "Change the background settings" icon highlighted. In the "Background" section click the "Picture" radio button and click the folder icon on the right to browse to your selected image. -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 10:38:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08C401065670; Sat, 16 Jan 2010 10:38:34 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (tunnel490.ipv6.xs4all.nl [IPv6:2001:888:10:1ea::2]) by mx1.freebsd.org (Postfix) with ESMTP id 83B158FC0A; Sat, 16 Jan 2010 10:38:33 +0000 (UTC) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.2/8.14.2) with ESMTP id o0GAa9N4043523; Sat, 16 Jan 2010 11:36:09 +0100 (CET) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.3/8.14.2/Submit) id o0GAa8BR043522; Sat, 16 Jan 2010 11:36:08 +0100 (CET) (envelope-from mail25@bzerk.org) Date: Sat, 16 Jan 2010 11:36:08 +0100 From: Ruben de Groot To: Greg Larkin Message-ID: <20100116103608.GA43450@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Greg Larkin , Craig Whipp , FreeBSD Questions References: <4B509B51.3060809@strauser.com> <85E67FE7-4B01-40D0-A52E-BE8F3F083FAA@gmail.com> <4B51473F.90302@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B51473F.90302@FreeBSD.org> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ei.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (ei.bzerk.org [127.0.0.1]); Sat, 16 Jan 2010 11:38:32 +0100 (CET) Cc: Craig Whipp , FreeBSD Questions Subject: Re: Dislike the way port conflicts are handled now X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jan 2010 10:38:34 -0000 On Fri, Jan 15, 2010 at 11:57:35PM -0500, Greg Larkin typed: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Craig Whipp wrote: > > > > On Jan 15, 2010, at 9:44 AM, Kirk Strauser wrote: > > > >> Until recently, it seems like port dependencies were handled at > >> installation time. Lately, they're handled any time I try to do > >> anything with a port. I absolutely detest the new behavior. Example > >> cases: > >> > >> OLD WAY: > >> > >> $ cd /usr/ports/something/foo22 > >> $ make > >> $ pkg_delete foo21-2.1 > >> $ make install > >> > >> NEW WAY > >> > >> $ cd /usr/ports/something/foo22 > >> $ make > >> ===> foo22 conflicts with installed package(s): foo21-2.1 > >> $ make fetch > >> ===> foo22 conflicts with installed package(s): foo21-2.1 > >> $ curse --type=copious > >> $ pkg_delete foo21-2.1 > >> $ make install > >> > >> This isn't just a hypothetical pain in the butt. An example was being > >> unable to build databases/mysql51-client because > >> mysql-client-5.0.something was installed. I understand not being able > >> to *install* it, but to be prevented from *building* it? In most > >> circumstances, I want to be able to delete the old package and install > >> the new one with minimal downtime. As another example, can you imagine > >> not being able to even run "make fetch" on something huge like > >> OpenOffice until you uninstalled the old version? > >> > >> In the mean time, I've been editing the port's Makefile to remove the > >> CONFLICTS line long enough to finish building. That's not very helpful > >> for those ports that don't actually build until you run "make > >> install", but at least I can get the distfile download out of the way. > >> -- > >> > >> Kirk Strauser > >> > > > > I agree. I've found that this can interfere with portmaster's "-o" > > option, used to replace an installed port with one of a different > > origin. In my case, databases/mysql41-server with > > databases/mysql55-server. > > > > - Craig > > This change was based on a recent PR > (http://www.freebsd.org/cgi/query-pr.cgi?pr=137855) and made it into the > tree a couple of weeks ago: > http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.port.mk.diff?r1=1.631;r2=1.632 > > Since some folks like the old behavior and some folks like the new > behavior, what do you all think of a user-selectable make.conf option to > choose where the check-conflicts target appears in the port build sequence? The fetch and build targets do NOT create any conflicts. I think this "solution" was totally wrong and the commit should be reverted. Ruben From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 11:32:52 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 047001065670 for ; Sat, 16 Jan 2010 11:32:52 +0000 (UTC) (envelope-from polatel@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id 70F5A8FC1E for ; Sat, 16 Jan 2010 11:32:50 +0000 (UTC) Received: by ewy26 with SMTP id 26so1733669ewy.3 for ; Sat, 16 Jan 2010 03:32:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:subject :message-id:mime-version:content-type:content-disposition:user-agent; bh=+2mP4uU6ql8Cy2OQEJRfhclgVb8Gl4oARtH4bkaww60=; b=gQwPPCn2mjToRFv/W0S3MtCyu3NxqDqiNTf3OBdfMqg7AJFw4Ph3DFhV95m7PCz6Sn l/axYIqe8D3mw9w/jZ/TG2jaAzxIWRjaHKC2+6QRPpiuoiBloatubTHEJd4LyOmvcj+X fqdLkWT7e/rQKPO4O7a21G2k+bFtkPKyYAEXU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=LHM1zRpVa9h7nWqZyT1cXDDcrxvhCG2FnRZOxxUcE/Tk0Ytd+XwndUk9lJBquwQG1u E4KtLNyxkt1UC4ynzbIGkq8VsPg27QulMENMl39VL2X4pOnZQgDn2Uo1ZTE9fkrUd4ul KBQdMkcjCW+C/vSTl9Pb27P1EpXjIfAFMSzxo= Received: by 10.213.23.201 with SMTP id s9mr3633702ebb.5.1263639777063; Sat, 16 Jan 2010 03:02:57 -0800 (PST) Received: from harikalardiyari ([78.179.35.14]) by mx.google.com with ESMTPS id 16sm2251660ewy.10.2010.01.16.03.02.55 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 16 Jan 2010 03:02:56 -0800 (PST) Sender: Ali Polatel Date: Sat, 16 Jan 2010 13:02:54 +0200 From: Ali Polatel To: freebsd-questions@freebsd.org Message-ID: <20100116110254.GA6142@harikalardiyari> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Subject: A question about ptrace X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jan 2010 11:32:52 -0000 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I'm trying to port a program using ptrace from Linux to FreeBSD. For this reason I'm trying to understand how ptrace on FreeBSD works. Below is a sample program I've written which fork()'s and executes "true" after calling PT_TRACE_ME. Having read the manual page of ptrace I assume the printf() in parent should print SIGTRAP but it gives: "Segmentation fault: 11" Can someone help me figure out the problem? TIA. #include #include #include #include #include #include #include #include #include int main(void) { int status; pid_t pid; char *const myargv[] =3D { "true", NULL }; pid =3D fork(); if (0 > pid) abort(); else if (!pid) { ptrace(PT_TRACE_ME, 0, 0, 0); execvp(myargv[0], myargv); } else { assert(0 < waitpid(pid, &status, 0)); assert(WIFSTOPPED(status)); assert(0 =3D=3D ptrace(PT_TO_SCE, pid, 0, 0)); assert(0 < waitpid(pid, &status, 0)); assert(WIFSTOPPED(status)); printf("%s\n", strsignal(WSTOPSIG(status))); ptrace(PT_KILL, pid, 0, 0); return 0; } } --=20 Regards, Ali Polatel --17pEHd4RhPHOinZp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEYEABECAAYFAktRnN4ACgkQQU4yORhF8iDB8ACgzjVd/JyWvmT9gHW79NhU9mLW CHQAoKAEmQcbPpXQQAqJQvq6Drse3jPk =I4An -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp-- From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 12:00:25 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E131E1065692; Sat, 16 Jan 2010 12:00:24 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id 5268D8FC1D; Sat, 16 Jan 2010 12:00:23 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id d26so285414eyd.9 for ; Sat, 16 Jan 2010 04:00:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=yPOrXI9J50OXci5ZECwuGpMp1DK7EKjZ0Klk/xgHez4=; b=t1F3uhpUfsely9J6efyceKe8PAsNip4ja0yg8Iq+9ja9svbyJkbJb2Q23ScTV0bdN5 G8Jpd/jSkaBXc+O6J2hEKzSzqhqqVHm5ysZjYXUarb1D/Qb2JjnR5/YHkm51lGXTTGdm hWPnuIlAtqHqYl66VN+mqT+RbfNsRTJFUvt9o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=dnJCskRUEuex1banW5HBipkyQjR4sLPf8++idPcvQgG/aZeb3jUpXAQ6QwbRelDl9G 31eAWgYd+tLYVDoKPNQouUDzyIT4bc6CoDSf0mAgIE/gHueqoqcYuxzPSxBWjSCd3f/5 xzAO7RdvxjTALzhIq0fLlUagWmOmH2dAL728A= MIME-Version: 1.0 Received: by 10.216.89.129 with SMTP id c1mr1291525wef.35.1263643215591; Sat, 16 Jan 2010 04:00:15 -0800 (PST) Date: Sat, 16 Jan 2010 07:00:15 -0500 Message-ID: From: "b. f." To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: dougb@FreeBSD.org Subject: Re: Dislike the way port conflicts are handled now X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jan 2010 12:00:25 -0000 On Fri, Jan 15, 2010 at 11:57:35PM -0500, Greg Larkin typed: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Craig Whipp wrote: > > > > On Jan 15, 2010, at 9:44 AM, Kirk Strauser wrote: > > > >> Until recently, it seems like port dependencies were handled at > >> installation time. Lately, they're handled any time I try to do > >> anything with a port. I absolutely detest the new behavior. Example > >> cases: > >> > >> OLD WAY: > >> > >> $ cd /usr/ports/something/foo22 > >> $ make > >> $ pkg_delete foo21-2.1 > >> $ make install > >> > >> NEW WAY > >> > >> $ cd /usr/ports/something/foo22 > >> $ make > >> ===> foo22 conflicts with installed package(s): foo21-2.1 > >> $ make fetch > >> ===> foo22 conflicts with installed package(s): foo21-2.1 > >> $ curse --type=copious > >> $ pkg_delete foo21-2.1 > >> $ make install > >> > >> This isn't just a hypothetical pain in the butt. An example was being > >> unable to build databases/mysql51-client because > >> mysql-client-5.0.something was installed. I understand not being able > >> to *install* it, but to be prevented from *building* it? In most > >> circumstances, I want to be able to delete the old package and install > >> the new one with minimal downtime. As another example, can you imagine > >> not being able to even run "make fetch" on something huge like > >> OpenOffice until you uninstalled the old version? > >> > >> In the mean time, I've been editing the port's Makefile to remove the > >> CONFLICTS line long enough to finish building. That's not very helpful > >> for those ports that don't actually build until you run "make > >> install", but at least I can get the distfile download out of the way. > >> -- Both methods have their advantages, and disadvantages. With the old method (deferred check), a person could attempt to install a port, only to find that after spending a lot of time fetching, extracting, and building the port, that it could not be installed because of a conflict. This can't happen with the new (early check). Fortunately, there is a (largely undocumented) knob in bsd.port.mk that will allow you to bypass the conflict check by defining DISABLE_CONFLICTS in your build environment. So it's not necessary to edit the port Makefiles just to tinker with ports that conflict with other, already-installed ports: simply change your second example to: make -C /usr/ports/something/foo22 DISABLE_CONFLICTS=1 drink_beer --type=copious > >> > >> Kirk Strauser > >> > > > > I agree. I've found that this can interfere with portmaster's "-o" > > option, used to replace an installed port with one of a different > > origin. In my case, databases/mysql41-server with > > databases/mysql55-server. This is more of a problem. But the author of portmaster could put a workaround into place. > > > > - Craig > > This change was based on a recent PR > (http://www.freebsd.org/cgi/query-pr.cgi?pr=137855) and made it into the > tree a couple of weeks ago: > http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.port.mk.diff?r1=1.631;r2=1.632 > > Since some folks like the old behavior and some folks like the new > behavior, what do you all think of a user-selectable make.conf option to > choose where the check-conflicts target appears in the port build sequence? I think that's a good idea. b. From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 12:30:04 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06DD4106568D for ; Sat, 16 Jan 2010 12:30:04 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 6E5508FC16 for ; Sat, 16 Jan 2010 12:30:03 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.3) with ESMTP id o0GCTvEk086097; Sat, 16 Jan 2010 12:29:58 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o0GCTvEk086097 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1263644998; bh=WFjpIl9UWY54GmY1LKCN3Ky57EIeY6kQIySKEv02w78=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B51B140.6030900@infracaninophile.co.uk>|Date:=20S at,=2016=20Jan=202010=2012:29:52=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20091129)|MIME-Vers ion:=201.0|To:=20jaymax=20|CC:=20freebsd-quest ions@freebsd.org|Subject:=20Re:=20Problem=20w/=20mysql=20extension =20installation|References:=20<27184350.post@talk.nabble.com>|In-R eply-To:=20<27184350.post@talk.nabble.com>|X-Enigmail-Version:=200 .95.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3B =0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A=20boundar y=3D"------------enig9057CBE755381FA73EF127F6"; b=FnPf8vQG0vrsQfhZFf/DCU8aWbs1i6mF2/2WHpkw2n3ehQiVpm2vhXsO0YBt52IYa riCek7Ru+xaMj8hC5C/gxQWEaFZfMd3NfcHAvwNIUPJl6ZCOsDRRT8z6rGBj0YCNoV QKq9Pu6RF14dnS/MKJsTEmKzSer5OFAWYwWsLKr8= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B51B140.6030900@infracaninophile.co.uk> Date: Sat, 16 Jan 2010 12:29:52 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20091129) MIME-Version: 1.0 To: jaymax References: <27184350.post@talk.nabble.com> In-Reply-To: <27184350.post@talk.nabble.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig9057CBE755381FA73EF127F6" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Problem w/ mysql extension installation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jan 2010 12:30:04 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9057CBE755381FA73EF127F6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable jaymax wrote: > phpmyadmin requires the mysql extension which is apparently not include= d in > the mysql54 ports Well, PHP modules aren't provided at all by the mysqlNN-{client,server,sc= ripts} ports. You want databases/php5-mysql or databases/php5-mysqli I have certainly been able to install phpmyadmin with mysql-5.4.x from th= e=20 ports -- it works perfectly well. > Installing it from=20 > /usr/ports/databases/php5-mysql =3D=3D> >=20 >=20 > --- > --- > --- > In file included from /usr/local/include/php/main/../main/php_config.h:= 2839, > from /usr/local/include/php/Zend/zend_config.h:1, > from /usr/local/include/php/Zend/zend.h:53, > from /usr/local/include/php/main/php.h:34, > from > /usr/ports/databases/php5-mysql/work/php-5.2.12/ext/mysql/php_mysql.c:3= 2: > /usr/local/include/php/ext/php_config.h:1:30: error: ext/mysql/config.h= : No > such file or directory > *** Error code 1 > 1 error > *** Error code 1 >=20 > Stop in /usr/ports/databases/php5-mysql. >=20 >=20 > Indeed /usr/local/include/php/ext/mysql/config.h is not present! >=20 > Should this have been installed with the mysql installation or from a > dependency? >=20 > How can I correct this ? Not sure what went wrong here, but .../ext/mysql/config.h is part of the php5-mysql module you're trying to install: % pkg_which /usr/local/include/php/ext/mysql/config.h php5-mysql-5.2.12 That file shouldn't be referenced from that location when building the=20 php5-mysql module -- rather it should use a version of it included with the PHP sources. I see from your later message that this problem has gone away for you, however, for the benefit of the archives, the best thing to do in this circumstance is generally to 'make clean' in the port concerned and start= again from the beginning. If the problem goes away, then it was probably= a transient local problem. On the other hand, if it persists, then its=20 likely to be a configuration problem on your system, or a bad interaction= between that port and something else you've got installed. It might be a bug in the port, but considering how popular the combination of php and= MySQL is, chances are hundreds or thousands of other people would have=20 experienced the same thing, and the problem would have been fixed in shor= t order. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig9057CBE755381FA73EF127F6 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.14 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAktRsUUACgkQ8Mjk52CukIx4xQCgi4hh1w0Kb6wcRbT2sY0vKc0G /MAAnjGSgycz2ISn51qOdyRS3mbHlDJs =0Uyj -----END PGP SIGNATURE----- --------------enig9057CBE755381FA73EF127F6-- From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 12:52:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48599106566B for ; Sat, 16 Jan 2010 12:52:49 +0000 (UTC) (envelope-from carmel_ny@hotmail.com) Received: from blu0-omc4-s1.blu0.hotmail.com (blu0-omc4-s1.blu0.hotmail.com [65.55.111.140]) by mx1.freebsd.org (Postfix) with ESMTP id F2ACE8FC0A for ; Sat, 16 Jan 2010 12:52:47 +0000 (UTC) Received: from BLU0-SMTP83 ([65.55.111.137]) by blu0-omc4-s1.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 16 Jan 2010 04:52:47 -0800 X-Originating-IP: [67.189.160.65] X-Originating-Email: [carmel_ny@hotmail.com] Message-ID: Received: from scorpio.seibercom.net ([67.189.160.65]) by BLU0-SMTP83.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Sat, 16 Jan 2010 04:52:47 -0800 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.101]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: carmel_ny@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 7B9E52283B for ; Sat, 16 Jan 2010 07:52:45 -0500 (EST) Date: Sat, 16 Jan 2010 07:52:45 -0500 From: Carmel To: freebsd-questions@freebsd.org Organization: seibercom.net X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.5; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 16 Jan 2010 12:52:47.0399 (UTC) FILETIME=[CDBFDB70:01CA96AA] Subject: Force use of latest version of Apache X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jan 2010 12:52:49 -0000 As a relatively new user of FreeBSD, I am confused about what to put in the '/etc/make.conf' file to force the use of Apache22+. I was thinking that perhaps: APACHE_PORT=www/apache22 might be correct. I was reading the bsd.apache.mk file and noticed that several older settings were depreciated. I have the latest version of Apache installed and I want to insure that I don't inadvertently end up with several different versions, or an older version installed. -- Carmel carmel_ny@hotmail.com From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 13:07:25 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD541106566B for ; Sat, 16 Jan 2010 13:07:25 +0000 (UTC) (envelope-from lenzi.sergio@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id 90A258FC0C for ; Sat, 16 Jan 2010 13:07:25 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 5so271008qwd.7 for ; Sat, 16 Jan 2010 05:07:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer; bh=m0uIEQOZwJhS/KOu5bCodtCM40EODXEBbAAwjSDa5Fk=; b=iMV3L5sj0jZEfMAA4WKg3YyjmTVfj8RjxPlFF4TcWCHNrvIJqqyC28USRJmWl0kq5q /R/8BP5vcorG+T9Sbx3Qp8xFEWbirsT2hC7Zr3k2gXZ2BioEy+sBHbPzSsMaSrI5hwo4 OLpMVOVbM8lpJ8+PW0a4vrsZQxgcKYZtWKFW8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer; b=aaN+BBDStosISfjB1xkD2TXxkzRnBzwnccoj33/J5o4p9ZTpceOEyAMNLQ98P0uNEt CGW0vWPcL7PiEpYosO6VnPpKwJ79/DOxGbwF7jG+peKfwY58tPkMAgnHokuQcVwz7DHi l5jjdQP6PHqmJTsANTMrPKPZxLptoYAI2YjOQ= Received: by 10.229.131.22 with SMTP id v22mr2756574qcs.77.1263647237787; Sat, 16 Jan 2010 05:07:17 -0800 (PST) Received: from ?192.168.6.250? ([201.21.146.140]) by mx.google.com with ESMTPS id 20sm2693362qyk.5.2010.01.16.05.07.14 (version=SSLv3 cipher=RC4-MD5); Sat, 16 Jan 2010 05:07:16 -0800 (PST) From: Sergio de Almeida Lenzi To: freebsd-questions In-Reply-To: References: Date: Sat, 16 Jan 2010 11:07:10 -0200 Message-ID: <1263647230.23428.5.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 FreeBSD GNOME Team Port Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Dislike the way port conflicts are handled now X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jan 2010 13:07:25 -0000 Em Sáb, 2010-01-16 às 07:00 -0500, b. f. escreveu: > On Fri, Jan 15, 2010 at 11:57:35PM -0500, Greg Larkin typed: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Craig Whipp wrote: > > > > > > On Jan 15, 2010, at 9:44 AM, Kirk Strauser wrote: > > > > > >> Until recently, it seems like port dependencies were handled at > > >> installation time. Lately, they're handled any time I try to do > > >> anything with a port. I absolutely detest the new behavior. Example > > >> cases: > > >> > > >> OLD WAY: > > >> > > >> $ cd /usr/ports/something/foo22 > > >> $ make > > >> $ pkg_delete foo21-2.1 > > >> $ make install > > >> > > >> NEW WAY > > >> > > >> $ cd /usr/ports/something/foo22 > > >> $ make > > >> ===> foo22 conflicts with installed package(s): foo21-2.1 > > >> $ make fetch > > >> ===> foo22 conflicts with installed package(s): foo21-2.1 > > >> $ curse --type=copious > > >> $ pkg_delete foo21-2.1 > > >> $ make install > > >> > > >> This isn't just a hypothetical pain in the butt. An example was being > > >> unable to build databases/mysql51-client because > > >> mysql-client-5.0.something was installed. I understand not being able > > >> to *install* it, but to be prevented from *building* it? In most > > >> circumstances, I want to be able to delete the old package and install > > >> the new one with minimal downtime. As another example, can you imagine > > >> not being able to even run "make fetch" on something huge like > > >> OpenOffice until you uninstalled the old version? > > >> > > >> In the mean time, I've been editing the port's Makefile to remove the > > >> CONFLICTS line long enough to finish building. That's not very helpful > > >> for those ports that don't actually build until you run "make > > >> install", but at least I can get the distfile download out of the way. > > >> -- Besides. when port XXXX is installed, and you try to build YYYY, the YYYY ports gets the include files from filesystem (thus getting XXXX for includes...) this makes you break YYYY, or worst... make a port that is a mix of both... that for sure is not what you want... This way (the new way) forces you to delete the package before build. it is radical, but it is safer... that is why I choose FreeBSD.... Sergio From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 13:09:22 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4FF0C106566C for ; Sat, 16 Jan 2010 13:09:22 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id D86F88FC16 for ; Sat, 16 Jan 2010 13:09:21 +0000 (UTC) Received: by ewy26 with SMTP id 26so1785215ewy.3 for ; Sat, 16 Jan 2010 05:09:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=9eL5r3iMnADQNmmhLBKfx6vYKYgGx8hV7fX7XLl9X1s=; b=n6RJ+tQQ2IdDft4qQGov4a9uedN+1CgjC8tYhDgm32wwHs+HFaOCh8fthWrDmwqZMF H6JixkOAc1vy+WnKb9iJ3YPegd7oMIrPaTnNDguNxAmL5/u53tmi2IdY9rWFP08Wlbq3 XK1QtWtGrNMaZdKbDSEdvJpn5GXbJZkmZ86uU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=byP92ecRoU9pUeLamQ1LKgr3BfYeWiMFOdAmeKtyqMlJdV/05Ao4/b68Hpqv4jJWJZ Fak1HXs1O03CSMaqNJoiB02V6NsUS6oNXnWM8QOwzJAWJt8Xl7I3EF1OAn1rTSVDONui afgPQ3VEMY1WuYqVbz9ANiGj3qCSgcOSIR+Ow= MIME-Version: 1.0 Received: by 10.213.41.73 with SMTP id n9mr1082173ebe.8.1263647350755; Sat, 16 Jan 2010 05:09:10 -0800 (PST) In-Reply-To: <3a142e751001111315u269d8c6ehfa5d5a8660676073@mail.gmail.com> References: <54db43991001111115y7acaf4ect4a033e43a6ec159@mail.gmail.com> <3a142e751001111315u269d8c6ehfa5d5a8660676073@mail.gmail.com> Date: Sat, 16 Jan 2010 13:09:10 +0000 Message-ID: <3a142e751001160509g658e8883v5a9ed92303140d9c@mail.gmail.com> From: Paul B Mahol To: Bob Johnson Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Questions Subject: Re: NDIS panics (Was: Can I rescan for new PCI devices? Or should hotplugging Expresscards work?) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jan 2010 13:09:22 -0000 On 1/11/10, Paul B Mahol wrote: > On 1/11/10, Bob Johnson wrote: >> On 1/9/10, Paul B Mahol wrote: >>> On 12/16/09, Bob Johnson wrote: >>>> I'm using an ExpressCard for wireless networking because there seems >>>> to be no driver for the internal card in my laptop (and NDIS panics >>>> the system). The Expresscard shows up as a PCI device and works fine, >>> >>> How are you using NDIS and when system panic what is displayed? >> >> I tried to use ndisgen with the internal Dell 1397 card. I don't have >> details available right now, although if you need them I can try it >> again. When I did the kldload the system spit out error messages about >> unknown symbols and then panic-ed. I did some searching of the >> archives and found a message describing the same symptoms, and the >> response posted was that it indicated that the Windows driver made API >> calls that were not implemented in the NDIS wrapper. >> >> This was a 64-bit Windows driver and an amd64 FreeBSD system. Similar >> results in both >> FreeBSD 7.2 and 8.0. >> >> It appears that kern/132672 is describing the same or a very similar >> issue. It also suggests that there is a more fundamental problem than >> the unrecognized symbols. >> >> I can try to reproduce the problem tonight if you want me to. >> >> Thanks, > > If you have debug kernel, then make breakpoint for MSCALL2 (kldload > ndis.ko before that): `break MSCALL2' Should be `break w86_64_call2' > Then load ndisgen module. > > Then single step it with `s' it should panic after few steps. > At least this is issue I'm experiencing on amd64, it fails in > DriverEntry(). with the same virtual address as in kern/132672. -- Paul B Mahol From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 14:45:53 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 356AB106568F for ; Sat, 16 Jan 2010 14:45:53 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from mx.utwente.nl (mx3.utsp.utwente.nl [130.89.2.14]) by mx1.freebsd.org (Postfix) with ESMTP id A849D8FC15 for ; Sat, 16 Jan 2010 14:45:52 +0000 (UTC) Received: from nox-laptop.student.utwente.nl (nox-laptop.student.utwente.nl [130.89.160.140]) by mx.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id o0GEjWHH012525; Sat, 16 Jan 2010 15:45:32 +0100 From: Pieter de Goeje To: freebsd-questions@freebsd.org Date: Sat, 16 Jan 2010 15:45:31 +0100 User-Agent: KMail/1.9.10 References: <201001152334.52978.jmc-freebsd2@milibyte.co.uk> In-Reply-To: <201001152334.52978.jmc-freebsd2@milibyte.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201001161545.31616.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact icts.servicedesk@utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: Mike Clarke Subject: Re: Newbie gmirror 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: Sat, 16 Jan 2010 14:45:53 -0000 On Saturday 16 January 2010 00:34:52 Mike Clarke wrote: > I'm about to upgrade to more disk space and I'm tempted use this as an > opportunity to get two disks and implement gmirror. Before I go ahead > there's a few aspects of mirroring I'm not sure about and would > appreciate some advice. > > I'm using grub for multi booting. Does this introduce any problems if I > want to boot into Windows or Linux on one of the other partitions? Gmirror stores the metadata at the last sector of each disk. So this shouldn't be a problem. But other operating systems might overwrite this data if you're not careful during the paritioning. > > The gmirror manpage describes the procedure for handling kernel dumps > using the prefer balance algorithm in the early stages of booting and > then switching to round-robin in the /etc/rc.local script. It then goes > on to say that "If on the next boot a component with a higher priority > will be available, the prefer algorithm will choose to read from it and > savecore(8) will find nothing". Does this only arise if I've made some > change to the configuration of the mirror between the dump and the > reboot or is there some instances when the priority automatically > changes? Priority never changes automatically. > > Some of the articles I've read about gmirror suggest setting the balance > to round-robin while others just leave this at the default setting of > split. Am I right in assuming that round-robin would give better > performance, and does it make much noticeable difference in real terms. > In particular am I likely to see a reduction in performance using > gmirror compared with what I would get with just a normal single disk. Assuming you have two or more regular HDDs, I can recommend updating to 8-STABLE and using the "load" algorithm. It has had some major improvements lately, and is now the default. It should give equal or better read performance in comparison to a single disk in all cases. The performance of "split" and "round-robin" is very dependent on the access patterns and stripe size (for split). > > Finally, recent articles say to set kern.geom.debugflags to 17 when > creating a mirror on a mounted drive while older articles say to set it > to 16. Although I'll probably be creating the mirror on my disks before > copying my system onto them so I don't really need to worry about > setting this flag but I'm curious to know the difference between using > the two values. The sysctl is a bitfield, so 17 (0x11) enables some extra stuff compared to 16 (0x10). See geom(4), section DIAGNOSTICS for more details. -- Pieter de Goeje From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 14:49:06 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 688351065676 for ; Sat, 16 Jan 2010 14:49:06 +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 3C71C8FC12 for ; Sat, 16 Jan 2010 14:49:05 +0000 (UTC) Received: from new-host.home (pool-74-109-205-9.pitbpa.ftas.verizon.net [74.109.205.9]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id 286F0F7419; Sat, 16 Jan 2010 09:49:05 -0500 (EST) Message-ID: <4B51D1E0.2070802@potentialtech.com> Date: Sat, 16 Jan 2010 09:49:04 -0500 From: Bill Moran User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 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: Carmel Subject: Re: Force use of latest version of Apache X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jan 2010 14:49:06 -0000 On 1/16/10 7:52 AM, Carmel wrote: > As a relatively new user of FreeBSD, I am confused about what to put in > the '/etc/make.conf' file to force the use of Apache22+. > > I was thinking that perhaps: > > APACHE_PORT=www/apache22 > > might be correct. > > I was reading the bsd.apache.mk file and noticed that several older > settings were depreciated. I have the latest version of Apache > installed and I want to insure that I don't inadvertently end up with > several different versions, or an older version installed. What kind of problem are you having? I've found that once I install an Apache port, all dependent ports use the installed port, it's only when I've installed a dependent port (such as PHP) without Apache already installed that I get an obsolete version of Apache. -Bill From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 16:13:30 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1CA8106566B; Sat, 16 Jan 2010 16:13:30 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from kanga.honeypot.net (kanga.honeypot.net [IPv6:2001:470:a80a:1:21f:d0ff:fe22:b8a8]) by mx1.freebsd.org (Postfix) with ESMTP id 733588FC17; Sat, 16 Jan 2010 16:13:30 +0000 (UTC) Received: from kanga.honeypot.net (localhost [127.0.0.1]) by kanga.honeypot.net (Postfix) with ESMTP id A25CF42571; Sat, 16 Jan 2010 10:13:29 -0600 (CST) X-Virus-Scanned: amavisd-new at honeypot.net Received: from kanga.honeypot.net ([127.0.0.1]) by kanga.honeypot.net (kanga.honeypot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NJhyhK+BOvlc; Sat, 16 Jan 2010 10:13:27 -0600 (CST) Received: from [10.0.7.105] (wlan2-105.honeypot.net [10.0.7.105]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by kanga.honeypot.net (Postfix) with ESMTPSA id 2AAFE4256C; Sat, 16 Jan 2010 10:13:27 -0600 (CST) Message-ID: <4B51E5A9.4060303@strauser.com> Date: Sat, 16 Jan 2010 10:13:29 -0600 From: Kirk Strauser User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7pre) Gecko/20091214 Shredder/3.0.1pre MIME-Version: 1.0 To: glarkin@FreeBSD.org References: <4B509B51.3060809@strauser.com> <85E67FE7-4B01-40D0-A52E-BE8F3F083FAA@gmail.com> <4B51473F.90302@FreeBSD.org> In-Reply-To: <4B51473F.90302@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Craig Whipp , FreeBSD Questions Subject: Re: Dislike the way port conflicts are handled now X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jan 2010 16:13:30 -0000 On 01/15/2010 10:57 PM, Greg Larkin wrote: > This change was based on a recent PR > (http://www.freebsd.org/cgi/query-pr.cgi?pr=137855) and made it into the > tree a couple of weeks ago: > http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.port.mk.diff?r1=1.631;r2=1.632 > > Since some folks like the old behavior and some folks like the new > behavior, what do you all think of a user-selectable make.conf option to > choose where the check-conflicts target appears in the port build sequence? > > Regards, > Greg > I'd love that. The new behavior isn't a bad default, but it needs an override. Wait a minute; rewind. Isn't that what "make -DDISABLE_CONFLICTS" does? -- Kirk Strauser From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 16:23:42 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F7DB1065670 for ; Sat, 16 Jan 2010 16:23:42 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 3F55A8FC12 for ; Sat, 16 Jan 2010 16:23:42 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NWBR4-000503-Dy for freebsd-questions@freebsd.org; Sat, 16 Jan 2010 16:23:40 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NWBR3-0007A5-MN for freebsd-questions@freebsd.org; Sat, 16 Jan 2010 16:23:38 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id o0GGNbTv092924 for ; Sat, 16 Jan 2010 16:23:37 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id o0GGNbvc092923 for freebsd-questions@freebsd.org; Sat, 16 Jan 2010 16:23:37 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Sat, 16 Jan 2010 16:23:37 +0000 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20100116162337.GI91835@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -4.5 X-Spam-Level: ---- Subject: syslog - ipmon(8) logs to a wrong log 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, 16 Jan 2010 16:23:42 -0000 This is on FreeBSD 9.0-CURRENT ia64. I've ipfilter built into the kernel, with logging enabled: options IPFILTER options IPFILTER_DEFAULT_BLOCK options IPFILTER_LOG It works fine, but logs to a wrong file. I run ipmon with -Ds options: # ps ax|grep ipmon 740 ?? Ss 1:28.09 /sbin/ipmon -Ds # "D" is for deamon mode, and "s" is to log via syslog. According to ipmon(8): The default facility when compiled and installed is security. So I've in /etc/syslog.conf: security.* /var/log/ipfilter.log but I get all ipmon messages in /var/log/messages. According to my /etc/syslog.conf this file shouldn't have ipmon messages: *.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err /var/log/messages What am I doing wrong? Please advise many thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 16:41:40 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39D791065672 for ; Sat, 16 Jan 2010 16:41:40 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id CF3518FC08 for ; Sat, 16 Jan 2010 16:41:39 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NWBiQ-0005FU-LB; Sat, 16 Jan 2010 16:41:39 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NWBiP-0007IS-U9; Sat, 16 Jan 2010 16:41:34 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id o0GGfXo7093054; Sat, 16 Jan 2010 16:41:33 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id o0GGfWO0093053; Sat, 16 Jan 2010 16:41:32 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Sat, 16 Jan 2010 16:41:31 +0000 From: Anton Shterenlikht To: Anton Shterenlikht Message-ID: <20100116164131.GJ91835@mech-cluster241.men.bris.ac.uk> References: <20100116162337.GI91835@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100116162337.GI91835@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -2.1 X-Spam-Level: -- Cc: freebsd-questions@freebsd.org Subject: SOLVED: Re: syslog - ipmon(8) logs to a wrong log 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, 16 Jan 2010 16:41:40 -0000 On Sat, Jan 16, 2010 at 04:23:37PM +0000, Anton Shterenlikht wrote: > This is on FreeBSD 9.0-CURRENT ia64. > I've ipfilter built into the kernel, > with logging enabled: > > options IPFILTER > options IPFILTER_DEFAULT_BLOCK > options IPFILTER_LOG > > It works fine, but logs to a wrong file. > > > I run ipmon with -Ds options: > > # ps ax|grep ipmon > 740 ?? Ss 1:28.09 /sbin/ipmon -Ds > # > > "D" is for deamon mode, and "s" is to log via syslog. > According to ipmon(8): > > The default facility when compiled and installed is security. > > So I've in /etc/syslog.conf: > > security.* /var/log/ipfilter.log > > but I get all ipmon messages in /var/log/messages. > According to my /etc/syslog.conf this file shouldn't > have ipmon messages: > > *.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err /var/log/messages It seems that despite using option "s" facility is still local0. So adding local0.* /var/log/ipfilter.log to /etc/syslog.conf puts all ipmon logs to /var/log/ipfilter.log -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 16:53:37 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D054E106568F for ; Sat, 16 Jan 2010 16:53:37 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 8F5B48FC13 for ; Sat, 16 Jan 2010 16:53:37 +0000 (UTC) Received: from isis.bris.ac.uk ([137.222.10.63]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NWBu1-0005PV-Pm for freebsd-questions@freebsd.org; Sat, 16 Jan 2010 16:53:36 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by isis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NWBu0-0000UI-7o for freebsd-questions@freebsd.org; Sat, 16 Jan 2010 16:53:32 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id o0GGrWk8093125 for ; Sat, 16 Jan 2010 16:53:32 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id o0GGrVGn093124 for freebsd-questions@freebsd.org; Sat, 16 Jan 2010 16:53:31 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Sat, 16 Jan 2010 16:53:31 +0000 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20100116165331.GK91835@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -1.5 X-Spam-Level: - Subject: getting firewall logs via /etc/periodic/daily ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jan 2010 16:53:37 -0000 I'd like to receive the firewall logs together with the usual /etc/periodic/daily email. What's the easiest/safest way to achieve this? Shall I add my own script under /etc/periodic/daily? Shall I modify an existing script, e.g. 310.accounting? Please advise many thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 17:12:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1616B1065670 for ; Sat, 16 Jan 2010 17:12:18 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 6A23C8FC0C for ; Sat, 16 Jan 2010 17:12:17 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.3) with ESMTP id o0GHBsEF071813; Sat, 16 Jan 2010 17:12:00 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o0GHBsEF071813 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1263661920; bh=eCAQZhW+RHy6yne8+tHDrjtYWN1bfkp52pMvtRM9FUo=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B51F354.1090608@infracaninophile.co.uk>|Date:=20S at,=2016=20Jan=202010=2017:11:48=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20100114)|MIME-Vers ion:=201.0|To:=20Anton=20Shterenlikht=20|CC:= 20freebsd-questions@freebsd.org|Subject:=20Re:=20getting=20firewal l=20logs=20via=20/etc/periodic/daily=20?|References:=20<2010011616 5331.GK91835@mech-cluster241.men.bris.ac.uk>|In-Reply-To:=20<20100 116165331.GK91835@mech-cluster241.men.bris.ac.uk>|X-Enigmail-Versi on:=200.95.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sh a256=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A=20 boundary=3D"------------enig26A2E700352C9F5F02098BEF"; b=BTSHmwDevXhWQYpxaLlH6GG0HsNoqrLCfX4inADh3rA3RuqvzIg2OTXO2Ia5O6xjN O1vGMIqJ3i0nckdWSdY6HlwD0jm5KiifphVBJdickhs0SviZ9tEUzgip1n3vhazJE6 Q0bBZzMfwxVR3z1MgHsjbkVlUMVP+XwzsNYxxzHY= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B51F354.1090608@infracaninophile.co.uk> Date: Sat, 16 Jan 2010 17:11:48 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20100114) MIME-Version: 1.0 To: Anton Shterenlikht References: <20100116165331.GK91835@mech-cluster241.men.bris.ac.uk> In-Reply-To: <20100116165331.GK91835@mech-cluster241.men.bris.ac.uk> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig26A2E700352C9F5F02098BEF" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: getting firewall logs via /etc/periodic/daily ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jan 2010 17:12:18 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig26A2E700352C9F5F02098BEF Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Anton Shterenlikht wrote: > I'd like to receive the firewall logs together > with the usual /etc/periodic/daily email. > What's the easiest/safest way to achieve this? >=20 > Shall I add my own script under /etc/periodic/daily? > Shall I modify an existing script, e.g. 310.accounting? Sure -- you can add your own scripts to the periodic jobs. For things th= at aren't part of the base system, the usual place is=20 /usr/local/etc/periodic/{daily,weekly,monthly,security} If you decide to adapt one of the system scripts to do what you want, it'= s best to copy it to /usr/local/periodic/whatever/ and change the prefix of= the configuration variables inside it. When writing a periodic script, you generally want the following boilerplate at the top of the file: # If there is a global system configuration file, suck it in. # if [ -r /etc/defaults/periodic.conf ] then . /etc/defaults/periodic.conf source_periodic_confs fi plus you should take care to set the return code of the script carefully:= 0 means 'everything OK', 1 means 'you might want to look at this output',= 2 means 'oops, you configured the script wrong' and >2 means 'it's all go= ne a bit pear shaped'. periodic(8) has more detail. Cheers, Matthew=20 --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig26A2E700352C9F5F02098BEF 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.14 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAktR81kACgkQ8Mjk52CukIwoWwCeKG5ZZG8+mQxONV2WpAw3z5nM tNEAoI4Kh0txZYZuYHgHCEfEwTvKCJCN =cSYI -----END PGP SIGNATURE----- --------------enig26A2E700352C9F5F02098BEF-- From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 17:26:11 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6F59106566C for ; Sat, 16 Jan 2010 17:26:11 +0000 (UTC) (envelope-from fbsd.questions.list@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by mx1.freebsd.org (Postfix) with ESMTP id 719808FC13 for ; Sat, 16 Jan 2010 17:26:10 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id d26so330864eyd.9 for ; Sat, 16 Jan 2010 09:26:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer; bh=UiOIPA0mytcGZ36ysUAR7qmGm97MUkTo1ev9MmRBzt4=; b=NECvV8Ai29oJZRtU32Fuacn7rVMxI1p+y9WwBcf3DWGYLOwubgmt4rhiXSRUX4Nnc6 FRrUO8k5+zOi5fCUPZxpoJ9SxCXaLYeYqHWaegm+v13IUT7MDXhGuPCzDN+FX6GGhSE0 NIKIg8RMRIoiDrii47nx3TBMNLHNgE349aQfw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer; b=B2zMO2+y50ZKlFJ5KHB4eMRi+JKriru2zveLiFBbGbHAYH1RPGahpmwrLU41MFkh6s 8jbjW8kSBCMXK0MFhfbq9Dk8xsteXkWA26Y3NEGxT5XNBk9rJ03+46USOPTfBz8brX0W 8zpym62zivClLFLne7LVJXx2shnn4JGEwzzzs= Received: by 10.213.109.146 with SMTP id j18mr1346058ebp.61.1263662767837; Sat, 16 Jan 2010 09:26:07 -0800 (PST) Received: from ?192.168.2.2? (ip4da86a9a.direct-adsl.nl [77.168.106.154]) by mx.google.com with ESMTPS id 24sm3314844eyx.30.2010.01.16.09.26.05 (version=SSLv3 cipher=RC4-MD5); Sat, 16 Jan 2010 09:26:07 -0800 (PST) From: =?ISO-8859-1?Q?D=E1rio?= "P." To: freebsd-questions@freebsd.org Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-vlne3oRHZoU0F21w0YGY" Date: Sat, 16 Jan 2010 18:26:03 +0100 Message-ID: <1263662763.5332.44.camel@dasp-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Subject: wpa_supplicant - Did I do something wrong? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jan 2010 17:26:12 -0000 --=-vlne3oRHZoU0F21w0YGY Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, Last night I installed FreeBSD 8.0-RELEASE on my Acer Aspire One 150 Bw (Model NO: ZG5), I had no problems installing it. The problems started when I was configuring the Wireless card (Atheros 5424/2424). In /etc/wpa_supplicant.conf I put: network=3D{ ssid=3D"Thomson40BE60" psk=3D"XXXXXXXX" } Then, in /etc/rc.conf I put: ifconfig_ath0=3D"WPA DHCP" hostname=3D"dasp-netbook.PTbox.org" After that, I tried to start the network, by using the following command: /etc/netstart And I get this: dasp-netbook# dmesg -a |grep wpa Jan 15 21:18:34 wpa_supplicant[1177]: Line 3: network block was not terminated properly. Jan 15 21:18:34 wpa_supplicant[1177]: Line 3: failed to parse network block. Jan 15 21:18:34 wpa_supplicant[1177]: Failed to read or parse configuration '/etc/wpa_supplicant.conf'. Jan 15 21:19:13 wpa_supplicant[1346]: Failed to initialize driver interface (This was my fault, I forget the } in the end of the file /etc/wpa_supplicant.conf) Starting wpa_supplicant. /etc/rc.d/wpa_supplicant: WARNING: failed to start wpa_supplicant Starting wpa_supplicant. /etc/rc.d/wpa_supplicant: WARNING: failed to start wpa_supplicant Starting wpa_supplicant. /etc/rc.d/wpa_supplicant: WARNING: failed to start wpa_supplicant Jan 15 22:59:20 dasp-netbook wpa_supplicant[1246]: Failed to initialize driver interface After this, I went to google to search for a solution, and I find somewhere that I should change my Wireless configuration on /etc/rc.conf to: wlans_ath0=3D"wlan0" ifconfig_wlan0=3D"WPA DHCP" After that I was able to start the network without problems. The only question that I have, is if I did something wrong, because I have alot o "strange" messages in .log files. ------------------------------------------------------------------------ - /etc/rc.conf: blanktime=3D"300" inetd_enable=3D"YES" keymap=3D"pt.iso.acc" moused_enable=3D"YES" saver=3D"daemon" sshd_enable=3D"YES" #ifconfig_ath0=3D"WPA DHCP" wlans_ath0=3D"wlan0" ifconfig_wlan0=3D"WPA DHCP" #ifconfig_re0=3D"DHCP" hostname=3D"dasp-netbook.PTbox.org" ------------------------------------------------------------------------ - /etc/wpa_supplicant.conf: network=3D{ ssid=3D"Thomson40BE60" psk=3D"XXXXXXXX" } ------------------------------------------------------------------------ - uname -a: FreeBSD dasp-netbook.PTbox.org 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 16:02:27 UTC 2010 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 ------------------------------------------------------------------------ - ifconfig -a: re0: flags=3D8802 metric 0 mtu 1500 options=3D389b ether 00:1e:68:ab:b6:af media: Ethernet autoselect (none) status: no carrier ath0: flags=3D8843 metric 0 mtu 2290 ether 00:22:69:0b:2d:db media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated lo0: flags=3D8049 metric 0 mtu 16384 options=3D3 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3=20 inet6 ::1 prefixlen 128=20 inet 127.0.0.1 netmask 0xff000000=20 wlan0: flags=3D8843 metric 0 mtu 1500 ether 00:22:69:0b:2d:db inet 192.168.2.3 netmask 0xffffff00 broadcast 192.168.2.255 media: IEEE 802.11 Wireless Ethernet DS/11Mbps mode 11g status: associated ssid Thomson40BE60 channel 1 (2412 Mhz 11g) bssid 00:18:f6:ec:b2:23 regdomain 101 indoor ecm authmode WPA2/802.11i privacy ON deftxkey UNDEF TKIP 2:128-bit txpower 20 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst roaming MANUAL ------------------------------------------------------------------------ - /var/log/messages: Jan 16 05:55:58 dasp-netbook wpa_supplicant[337]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys Jan 16 05:55:58 dasp-netbook kernel: wlan0: link state changed to DOWN Jan 16 05:56:01 dasp-netbook wpa_supplicant[337]: CTRL-EVENT-SCAN-RESULTS=20 Jan 16 05:56:01 dasp-netbook wpa_supplicant[337]: Trying to associate with 00:18:f6:ec:b2:23 (SSID=3D'Thomson40BE60' freq=3D2412 MHz) Jan 16 05:56:01 dasp-netbook wpa_supplicant[337]: Associated with 00:18:f6:ec:b2:23 Jan 16 05:56:01 dasp-netbook kernel: wlan0: link state changed to UP Jan 16 05:56:01 dasp-netbook wpa_supplicant[337]: WPA: Key negotiation completed with 00:18:f6:ec:b2:23 [PTK=3DCCMP GTK=3DTKIP] Jan 16 05:56:01 dasp-netbook wpa_supplicant[337]: CTRL-EVENT-CONNECTED - Connection to 00:18:f6:ec:b2:23 completed (reauth) [id=3D0 id_str=3D] Jan 16 05:56:04 dasp-netbook dhclient: New IP Address (wlan0): 192.168.2.3 Jan 16 05:56:04 dasp-netbook dhclient: New Subnet Mask (wlan0): 255.255.255.0 Jan 16 05:56:04 dasp-netbook dhclient: New Broadcast Address (wlan0): 192.168.2.255 Jan 16 05:56:04 dasp-netbook dhclient: New Routers (wlan0): 192.168.2.254 Jan 16 06:01:04 dasp-netbook wpa_supplicant[337]: CTRL-EVENT-SCAN-RESULTS=20 Jan 16 06:06:06 dasp-netbook wpa_supplicant[337]: CTRL-EVENT-SCAN-RESULTS=20 Jan 16 06:11:09 dasp-netbook wpa_supplicant[337]: CTRL-EVENT-SCAN-RESULTS=20 Jan 16 06:12:19 dasp-netbook su: dasp to root on /dev/pts/1 Jan 16 06:16:11 dasp-netbook wpa_supplicant[337]: CTRL-EVENT-SCAN-RESULTS=20 Jan 16 06:21:15 dasp-netbook wpa_supplicant[337]: CTRL-EVENT-SCAN-RESULTS=20 Jan 16 06:26:17 dasp-netbook wpa_supplicant[337]: CTRL-EVENT-SCAN-RESULTS=20 Jan 16 06:36:22 dasp-netbook last message repeated 2 times ... Jan 16 07:36:51 dasp-netbook last message repeated 2 times Jan 16 07:41:53 dasp-netbook wpa_supplicant[337]: CTRL-EVENT-SCAN-RESULTS=20 Jan 16 07:51:58 dasp-netbook last message repeated 2 times Jan 16 08:02:03 dasp-netbook last message repeated 2 times ... Jan 16 11:54:26 dasp-netbook last message repeated 6 times Jan 16 11:59:28 dasp-netbook wpa_supplicant[337]: CTRL-EVENT-SCAN-RESULTS=20 Jan 16 11:59:55 dasp-netbook wpa_supplicant[337]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys Jan 16 11:59:55 dasp-netbook kernel: wlan0: link state changed to DOWN Jan 16 11:59:57 dasp-netbook wpa_supplicant[337]: CTRL-EVENT-SCAN-RESULTS=20 Jan 16 11:59:57 dasp-netbook wpa_supplicant[337]: Trying to associate with 00:18:f6:ec:b2:23 (SSID=3D'Thomson40BE60' freq=3D2412 MHz) Jan 16 11:59:57 dasp-netbook wpa_supplicant[337]: Associated with 00:18:f6:ec:b2:23 Jan 16 11:59:57 dasp-netbook kernel: wlan0: link state changed to UP Jan 16 11:59:57 dasp-netbook wpa_supplicant[337]: WPA: Key negotiation completed with 00:18:f6:ec:b2:23 [PTK=3DCCMP GTK=3DTKIP] Jan 16 11:59:57 dasp-netbook wpa_supplicant[337]: CTRL-EVENT-CONNECTED - Connection to 00:18:f6:ec:b2:23 completed (reauth) [id=3D0 id_str=3D] Jan 16 12:04:59 dasp-netbook wpa_supplicant[337]: CTRL-EVENT-SCAN-RESULTS=20 Jan 16 12:10:01 dasp-netbook wpa_supplicant[337]: CTRL-EVENT-SCAN-RESULTS=20 Jan 16 12:10:15 dasp-netbook last message repeated 2 times ... Jan 16 12:50:33 dasp-netbook last message repeated 2 times Jan 16 12:51:02 dasp-netbook wpa_supplicant[337]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys Jan 16 12:51:02 dasp-netbook kernel: wlan0: link state changed to DOWN Jan 16 12:51:04 dasp-netbook wpa_supplicant[337]: CTRL-EVENT-SCAN-RESULTS=20 Jan 16 12:51:04 dasp-netbook wpa_supplicant[337]: Trying to associate with 00:18:f6:ec:b2:23 (SSID=3D'Thomson40BE60' freq=3D2412 MHz) Jan 16 12:51:04 dasp-netbook wpa_supplicant[337]: Associated with 00:18:f6:ec:b2:23 Jan 16 12:51:04 dasp-netbook kernel: wlan0: link state changed to UP Jan 16 12:51:04 dasp-netbook wpa_supplicant[337]: WPA: Key negotiation completed with 00:18:f6:ec:b2:23 [PTK=3DCCMP GTK=3DTKIP] Jan 16 12:51:04 dasp-netbook wpa_supplicant[337]: CTRL-EVENT-CONNECTED - Connection to 00:18:f6:ec:b2:23 completed (reauth) [id=3D0 id_str=3D] Jan 16 12:56:07 dasp-netbook wpa_supplicant[337]: CTRL-EVENT-SCAN-RESULTS=20 Jan 16 13:01:09 dasp-netbook wpa_supplicant[337]: CTRL-EVENT-SCAN-RESULTS=20 Jan 16 13:06:11 dasp-netbook wpa_supplicant[337]: CTRL-EVENT-SCAN-RESULTS=20 Jan 16 13:16:16 dasp-netbook last message repeated 2 times ... Jan 16 13:56:35 dasp-netbook last message repeated 2 times Jan 16 14:01:38 dasp-netbook wpa_supplicant[337]: CTRL-EVENT-SCAN-RESULTS=20 Jan 16 14:11:42 dasp-netbook last message repeated 2 times Jan 16 14:21:47 dasp-netbook last message repeated 2 times ... Jan 16 16:13:43 dasp-netbook last message repeated 2 times Jan 16 16:24:43 dasp-netbook last message repeated 2 times Jan 16 16:24:44 dasp-netbook kernel: pid 99639 (conftest), uid 0: exited on signal 11 (core dumped) Jan 16 16:29:55 dasp-netbook wpa_supplicant[337]: CTRL-EVENT-SCAN-RESULTS=20 Jan 16 16:30:01 dasp-netbook su: dasp to root on /dev/pts/1 Jan 16 16:34:57 dasp-netbook wpa_supplicant[337]: CTRL-EVENT-SCAN-RESULTS=20 Jan 16 16:40:00 dasp-netbook wpa_supplicant[337]: CTRL-EVENT-SCAN-RESULTS=20 Jan 16 16:45:03 dasp-netbook wpa_supplicant[337]: CTRL-EVENT-SCAN-RESULTS=20 Jan 16 16:55:08 dasp-netbook last message repeated 2 times Jan 16 17:05:14 dasp-netbook last message repeated 2 times Jan 16 17:15:19 dasp-netbook last message repeated 2 times ------------------------------------------------------------------------ I'm sorry if I forget something. Regards, --=20 D=C3=A1rio P. --=-vlne3oRHZoU0F21w0YGY Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Esta =?ISO-8859-1?Q?=E9?= uma parte de mensagem assinada digitalmente -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAktR9qEACgkQr1Gq6YRzxj29UACgv7rIdhTlVt3UFWAXWhx5WJq1 ewwAoKXp+JZcHth19u94wh8qrkVdS+zE =25s/ -----END PGP SIGNATURE----- --=-vlne3oRHZoU0F21w0YGY-- From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 18:01:56 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 710031065670 for ; Sat, 16 Jan 2010 18:01:56 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id 0A09C8FC15 for ; Sat, 16 Jan 2010 18:01:55 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 25so166250eya.3 for ; Sat, 16 Jan 2010 10:01:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=j3PIT4QEzqTDMJ4Rg6SMWqHJ336ZP50iRHJ220zIfeY=; b=pAQtNQmgZP/YnzonXrU5d8IwVCcebncc0T3Dyy+JzXKNVv30yzMMe4aa/vvI7FNraQ TcHaBGjABKRrkgAOwUDYgB1wDqTqurJ65yKgoT/WbAeJkpgD4w8XBEeeRVQ0sIwf9eeW Y6NqA3ZD6+rr1e0Dka9BSQfG+zbV7wJQPlHP8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=LIrJgywGg92Rs8MsetQLMxhrbo+zLRNXYLxcsSc8kxi5MeaPxEY0AwODvKN0xRM4zW ccoIUMVdzaOEFMlsA/H3w9YXYivy2RJjWp6gNXQGLqUvLDqSS7yuD9N1FFFuTYwDwDLm hC4sb0hFSUsx+ZR/VFHOJfrdV8ZbnKPzr85GM= MIME-Version: 1.0 Received: by 10.216.85.210 with SMTP id u60mr1410273wee.226.1263664907609; Sat, 16 Jan 2010 10:01:47 -0800 (PST) Date: Sat, 16 Jan 2010 13:01:47 -0500 Message-ID: From: "b. f." To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: Dislike the way port conflicts are handled now X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jan 2010 18:01:56 -0000 >> Since some folks like the old behavior and some folks like the new >> behavior, what do you all think of a user-selectable make.conf option to >> choose where the check-conflicts target appears in the port build sequence? >> >> Regards, >> Greg >> >I'd love that. The new behavior isn't a bad default, but it needs an >override. >Wait a minute; rewind. Isn't that what "make -DDISABLE_CONFLICTS" does? I believe that he is talking about changing _when_ the check for conflicts is made; whereas DISABLE_CONFLICTS ignores the check, regardless of when it is made. A late check is preferable to using DISABLE_CONFLICTS, because with that knob you can shoot yourself in the foot by mistakenly installing one port on top of another. b. From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 18:21:38 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B53FD1065676 for ; Sat, 16 Jan 2010 18:21:38 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: from web51105.mail.re2.yahoo.com (web51105.mail.re2.yahoo.com [206.190.38.147]) by mx1.freebsd.org (Postfix) with SMTP id 735588FC0A for ; Sat, 16 Jan 2010 18:21:38 +0000 (UTC) Received: (qmail 53562 invoked by uid 60001); 16 Jan 2010 18:21:35 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1263666095; bh=rk9PWyiLeGzpHnQMemJMkenTkVIvMkpHPju7PgH2D74=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=pmpnJLekUSIx+yJ8f5oyqdEHYgt87eUueAfzUbiQLCN5a6tzCBDSs8kIRqKNDmb7Jv59YXVanKa9YuUza/5j7eFVjXLHSAfRcIFjhjLuvSMZXFxWcoR9ZEoZb5rmLzXFXtUWnD2tCuUADnqLM9mHM24bqPU3YPA2VJOV+olEKDo= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=4lVb2WysD6QZsV6qeXkpInDLMnq7l9M/8z8B4ZZTxNrqQzg11fXHTNOxnem1NaTbJMS/8+Ud6EJ7ZFn+K+ttJQOM1W9dMJThBPvr6QMrsyc/TMVhOwFNS0sWQzWMJZrPLjkGCAPMcFPgqPqQjDeKKswUQi7g4aaQqTvKeon9pVo=; Message-ID: <178620.52606.qm@web51105.mail.re2.yahoo.com> X-YMail-OSG: g.v5DiYVM1l8AW0lwNI1zqMtac2PKxDln.zBSPFlx6eNjS4FbgsgxNxCBNOf0JJ6gD7tG8NvdyRXXzkP9J.YDVSFLW92AIm7j9PkOuWKmrBcZrmKgmMhChvOALqXcD3vQXbR510X.hTtSV7PTJrMKix7pgEHc01BWkNrm4JH_GqmymrSgLhyL1PK4lN1f9RNSX2lrPKyUs89Pl7xcinnFWNZTDAICR4i_hzqvqOD_KnNnJRTCF2yZvCX.bcUQ3dFfzGkPZgvhhBRu1SshWBdyarnCcyVecAnU6vZe4mEN6fiCpYBJ1kQLSkpxA9rT38YqDXE9b5Ki477uDkh19Qkk6Xesf9oC2xh Received: from [85.144.145.49] by web51105.mail.re2.yahoo.com via HTTP; Sat, 16 Jan 2010 10:21:35 PST X-Mailer: YahooMailClassic/9.0.20 YahooMailWebService/0.8.100.260964 Date: Sat, 16 Jan 2010 10:21:35 -0800 (PST) From: Dino Vliet To: jmc-freebsd2@milibyte.co.uk MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Newbie gmirror 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: Sat, 16 Jan 2010 18:21:38 -0000 Forwarded Message: Newbie gmirror questions Newbie gmirror questions Saturday, January 16, 2010 12:34 AM From: "Mike Clarke" To: freebsd-questions@freebsd.org I'm about to upgrade to more disk space and I'm tempted use this as an opportunity to get two disks and implement gmirror. Before I go ahead there's a few aspects of mirroring I'm not sure about and would appreciate some advice. I'm using grub for multi booting. Does this introduce any problems if I want to boot into Windows or Linux on one of the other partitions? The gmirror manpage describes the procedure for handling kernel dumps using the prefer balance algorithm in the early stages of booting and then switching to round-robin in the /etc/rc.local script. It then goes on to say that "If on the next boot a component with a higher priority will be available, the prefer algorithm will choose to read from it and savecore(8) will find nothing". Does this only arise if I've made some change to the configuration of the mirror between the dump and the reboot or is there some instances when the priority automatically changes? Some of the articles I've read about gmirror suggest setting the balance to round-robin while others just leave this at the default setting of split. Am I right in assuming that round-robin would give better performance, and does it make much noticeable difference in real terms. In particular am I likely to see a reduction in performance using gmirror compared with what I would get with just a normal single disk. Finally, recent articles say to set kern.geom.debugflags to 17 when creating a mirror on a mounted drive while older articles say to set it to 16. Although I'll probably be creating the mirror on my disks before copying my system onto them so I don't really need to worry about setting this flag but I'm curious to know the difference between using the two values. -- Mike Clarke ****************** Hi Mike, I' ve just (ok, two weeks ago) completed a gmirror setup so can tell about what I know about this process However, my setup is not the same as yours because I' m not in a multi boot situation. I let others give their opinion regarding GRUB. I do guess that your OS-es are on a separate disk and in FreeBSD you will create a mirror with the two identical disks using gmirror. I've used round-robin because that's what the handbook suggested. I used kern.geom.debugflags = 17 because I looked at the handbook and guessed the other articles which suggested 16 were not up to date and it worked flawlessly. BrgdsDino From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 18:42:09 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 129D31065679 for ; Sat, 16 Jan 2010 18:42:09 +0000 (UTC) (envelope-from lalev.angelin@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 9FE628FC0C for ; Sat, 16 Jan 2010 18:42:08 +0000 (UTC) Received: by fxm27 with SMTP id 27so1093379fxm.3 for ; Sat, 16 Jan 2010 10:42:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=VQm27YTori+wqe9tRmEopn3zqLswmmduVpvcrIXdj7Q=; b=uUYl2oNcC8VfR+mKjZ1b2I8Jil55dwQriFArgXGDe5PzB8vDy+C/mEq6hXF1ETSmhm Kyie3wFlzfLf0gU/J+yZFyqNfPofCzqTIEfpd9sIyOuhgBsR8NQcDV5KWXbuab6DJZkA zVypmZ+jOyTQn8bEP5jOmFiK7w7uFxE6uCBmY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=M4Z4u4BUIn7wiPVMCJawd5q6GM7FHbbV3PTb4rbezP9CswkAB05tvkqVKm0Sk1kyig hR6lroa3RngwMlf+nJL6mdizgafcM1jjcfHRqYF6sqMH6z5lPtEE97PBRdfF4hMox+Ld N429jcr/8xYE2hbjwl/SnJveavlQREVldZFE8= MIME-Version: 1.0 Received: by 10.239.191.145 with SMTP id b17mr396892hbi.72.1263667319971; Sat, 16 Jan 2010 10:41:59 -0800 (PST) Date: Sat, 16 Jan 2010 20:41:59 +0200 Message-ID: <532b03711001161041v2400389v915c0fee80dcd840@mail.gmail.com> From: Angelin Lalev To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Secure method for fetching freebsd sources ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jan 2010 18:42:09 -0000 Greetings, Which is the *secure* way of fetching freebsd sources? Cvsup looks prone to MiM attacks, CTM looks promising, but only if I have been member of the appropriate ctm list since the release of 8.0. (it seems that the ctm deltas on the ftp are not signed.). Do FreeBSD cvs servers support ssh instead of rsh access as OpenBSD server do? Other alternatives? Please note that this is not a theoretical question. I really have a system which i'll put in a place I don't trust, so I'll try to encrypt everything from the disk to the connections which I will use for updating. From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 18:42:15 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF32A1065670 for ; Sat, 16 Jan 2010 18:42:14 +0000 (UTC) (envelope-from googhummel@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 4007C8FC13 for ; Sat, 16 Jan 2010 18:42:13 +0000 (UTC) Received: by bwz5 with SMTP id 5so1366896bwz.3 for ; Sat, 16 Jan 2010 10:42:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=azmZAL7dxHguvUyl2Ouma/Al3sVbrkO+pVLkNGwb3So=; b=hhsEvesjMCN6+QSl3DK6b/TWoOGbc2/75LFxcI9z/FK+bw1Oe+nwN4DwxiIstXmk3Z 5HKSfh7S/TPctgrIsapc/pObF0IPDtCPH/dL9SmY0sfP76fvUSYMWPFYS144Gw6td+sg f9FN69pEsPw/SjfGFrtu9xDeYgVCBfc+39i7k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Q7EaOlIxKdUcF7gqKLVyx+4NHD9WcKWzlcVBpIQF7APZSfQEVcv78LMK+lGloKfNOD hBx/dqrpXR/hcZ7JtT8kpbb1eBAvQ+0o1L22snkMpQ6cLAENMqya4uVm7YU7LvWjnhN0 1FoRUD2YOfU0BE3vCnIjZmwbQLlJsE2X6M0So= MIME-Version: 1.0 Received: by 10.204.32.140 with SMTP id c12mr2204553bkd.59.1263665838461; Sat, 16 Jan 2010 10:17:18 -0800 (PST) Date: Sat, 16 Jan 2010 18:17:18 +0000 Message-ID: From: Thomas Hummel To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Sound (micro-)interrupts with 8.0 stable/snd_hda/mplayer/vlc X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jan 2010 18:42:15 -0000 Hello, I'm not really sure what the right list is since I cannot isolate the part of the system which cause the problem : I could use a little help on a weird sound issue I'm struggling with : 1. Description : ------------------------ When playing audio files, the sound has from few to many "micro-interrupts" (less than 1/4 of a second), randomly but frequently (so this is not hard to reproduce). This seem to occur : . with any file (I can pick a random audio file to experience it) . with either mp3 or flaac encoded files . with mplayer (from the ports collection or hand compiled from svn), either with oss or sdl audio output (although sdl seems to have less "interrupts") . with vlc but . not with ffplay . apparently not with xine . apparently not with amarok -> so I doubt this may be a harware or a driver issue. and on a almost idle 4GB RAM machine running only KDE-4 and firefox-3 no hints shows in /var/log/messages 2. Config : ------------ I'm running : . 8.0-STABLE FreeBSD amd64 . full zfs (no ufs) (files are on a "slow" disk pool (5400 rpm) but moving them to the "fast" system disk (7200 rpm) doesn't change anything . on a (bios up to date) P5Q3 ASUS motherboard . with snd_hda sound driver 3. Detailed sound config : --------------------------- % cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) Installed devices: pcm0: at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:2v/1r:1v channels duplex default) pcm1: at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex) pcm2: at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:1v/0r:0v channels simplex) pcm3: at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:1v/0r:0v channels simplex) % sysctl -a | grep -i pcm dev.pcm.0.%desc: HDA Realtek ALC888 PCM #0 Analog dev.pcm.0.%driver: pcm dev.pcm.0.%parent: hdac0 dev.pcm.0.play.vchans: 2 dev.pcm.0.play.vchanmode: fixed dev.pcm.0.play.vchanrate: 48000 dev.pcm.0.play.vchanformat: s16le:2.0 dev.pcm.0.rec.vchans: 1 dev.pcm.0.rec.vchanmode: fixed dev.pcm.0.rec.vchanrate: 48000 dev.pcm.0.rec.vchanformat: s16le:2.0 dev.pcm.0.buffersize: 16384 dev.pcm.0.bitperfect: 0 dev.pcm.1.%desc: HDA Realtek ALC888 PCM #1 Analog dev.pcm.1.%driver: pcm dev.pcm.1.%parent: hdac0 dev.pcm.1.play.vchans: 1 dev.pcm.1.play.vchanmode: fixed dev.pcm.1.play.vchanrate: 48000 dev.pcm.1.play.vchanformat: s16le:2.0 dev.pcm.1.rec.vchans: 1 dev.pcm.1.rec.vchanmode: fixed dev.pcm.1.rec.vchanrate: 48000 dev.pcm.1.rec.vchanformat: s16le:2.0 dev.pcm.1.buffersize: 16384 dev.pcm.1.bitperfect: 0 dev.pcm.2.%desc: HDA Realtek ALC888 PCM #2 Digital dev.pcm.2.%driver: pcm dev.pcm.2.%parent: hdac0 dev.pcm.2.play.vchans: 1 dev.pcm.2.play.vchanmode: passthrough dev.pcm.2.play.vchanrate: 48000 dev.pcm.2.play.vchanformat: s16le:2.0 dev.pcm.2.buffersize: 16384 dev.pcm.2.bitperfect: 0 dev.pcm.3.%desc: HDA Realtek ALC888 PCM #3 Digital dev.pcm.3.%driver: pcm dev.pcm.3.%parent: hdac0 dev.pcm.3.play.vchans: 1 dev.pcm.3.play.vchanmode: passthrough dev.pcm.3.play.vchanrate: 48000 dev.pcm.3.play.vchanformat: s16le:2.0 dev.pcm.3.buffersize: 16384 dev.pcm.3.bitperfect: 0 4. mplayer output details : ---------------------------- . mplayer output for mp3 (no error nor warning message) : ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 mpg123: Can't rewind stream by 1606 bits! AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== AO: [oss] 44100Hz 2ch s16le (2 bytes per sample) . mplayer output for flaac (no error nor warning message) : ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 44100 Hz, 2 ch, s16le, 987.7 kbit/69.99% (ratio: 123457->176400) Selected audio codec: [ffflac] afm: ffmpeg (FFmpeg FLAC audio decoder) ========================================================================== AO: [oss] 44100Hz 2ch s16le (2 bytes per sample) 5. ports compile options -------------------------- a) mplayer % cat mplayer/options # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for mplayer-0.99.11_14 _OPTIONS_READ=mplayer-0.99.11_14 WITHOUT_DEBUG=true WITH_RTCPU=true WITH_OCFLAGS=true WITH_SIMD=true WITH_IPV6=true WITH_X11=true WITH_X11XV=true WITH_X11DGA=true WITH_X11GL=true WITHOUT_X11XIN=true WITH_X11VM=true WITHOUT_X11XVMC=true WITHOUT_GUI=true WITH_SDL=true WITH_VIDIX=true WITHOUT_SKINS=true WITH_FREETYPE=true WITHOUT_RTC=true WITHOUT_ARTS=true WITHOUT_ESOUND=true WITHOUT_JACK=true WITHOUT_NAS=true WITHOUT_OPENAL=true WITH_LIBUNGIF=true WITHOUT_AALIB=true WITHOUT_LIBCACA=true WITHOUT_SVGALIB=true WITH_LIBDV=true WITHOUT_MAD=true WITH_DTS=true WITHOUT_LIBMPCDEC=true WITHOUT_LADSPA=true WITH_SPEEX=true WITHOUT_TREMOR=true WITHOUT_XMMS=true WITH_THEORA=true WITHOUT_WIN32=true WITHOUT_AMR=true WITH_X264=true WITHOUT_XANIM=true WITH_XVID=true WITHOUT_REALPLAYER=true WITHOUT_LIVEMEDIA=true WITHOUT_SMB=true WITHOUT_FRIBIDI=true WITHOUT_LIRC=true WITH_LIBCDIO=true WITH_CDPARANOIA=true WITHOUT_LIBLZO=true WITHOUT_JOYSTICK=true b) ffmpeg % cat ffmpeg/options # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for ffmpeg-0.5_2,1 _OPTIONS_READ=ffmpeg-0.5_2,1 WITHOUT_AMR_NB=true WITHOUT_AMR_WB=true WITHOUT_DIRAC=true WITHOUT_FAAC=true WITH_FAAD=true WITHOUT_FFSERVER=true WITHOUT_GSM=true WITHOUT_IPV6=true WITH_LAME=true WITH_OPENJPEG=true WITH_OPTIMIZED_CFLAGS=true WITH_SCHROEDINGER=true WITH_SDL=true WITHOUT_SPEEX=true WITHOUT_THEORA=true WITHOUT_VHOOK=true WITHOUT_VORBIS=true WITHOUT_X11GRAB=true WITH_X264=true WITH_XVID=true From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 18:59:01 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2297A106568D; Sat, 16 Jan 2010 18:59:01 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id EF9D18FC14; Sat, 16 Jan 2010 18:59:00 +0000 (UTC) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NWDrK-0009lp-7c; Sat, 16 Jan 2010 13:58:59 -0500 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id 23A2A3A24F37; Sat, 16 Jan 2010 13:58:54 -0500 (EST) Message-ID: <4B520C71.9080301@FreeBSD.org> Date: Sat, 16 Jan 2010 13:58:57 -0500 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: "b. f." References: In-Reply-To: X-Enigmail-Version: 0.96.0 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.4 (/) Cc: freebsd-questions@FreeBSD.org, portmgr@FreeBSD.org Subject: Re: Dislike the way port conflicts are handled now X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jan 2010 18:59:01 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 b. f. wrote: >>> Since some folks like the old behavior and some folks like the new >>> behavior, what do you all think of a user-selectable make.conf option to >>> choose where the check-conflicts target appears in the port build sequence? >>> >>> Regards, >>> Greg >>> > >> I'd love that. The new behavior isn't a bad default, but it needs an >> override. > >> Wait a minute; rewind. Isn't that what "make -DDISABLE_CONFLICTS" does? > > I believe that he is talking about changing _when_ the check for > conflicts is made; whereas DISABLE_CONFLICTS ignores the check, > regardless of when it is made. A late check is preferable to using > DISABLE_CONFLICTS, because with that knob you can shoot yourself in > the foot by mistakenly installing one port on top of another. > > > b. That's exactly what I proposed. The bsd.port.mk could be patched to support a new variable ("EARLY_CONFLICT_CHECK=yes" or somesuch) that shifts the check-conflict target from its old position (part of the install sequence) to its new position (fetch?). The default behavior (no mods to /etc/make.conf) would revert to the old conflict checking method. This may be something for portmgr@ to chime in on, and I'm cc'ing them now. There could be other reasons for this change that I'm unaware of. References for portmgr: http://www.freebsd.org/cgi/query-pr.cgi?pr=137855 - PR to change check-conflicts target position in bsd.port.mk http://www.mail-archive.com/freebsd-questions@freebsd.org/msg227363.html - the thread archive Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLUgxx0sRouByUApARAqQBAJ9EYQlAe7gJpFasl3NmPlg8v4U3jQCfae1V dkSJqw520Z9DJQe0fIhGzkc= =2sdF -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 19:09:22 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 636E31065679 for ; Sat, 16 Jan 2010 19:09:22 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-158.bluehost.com (outbound-mail-158.bluehost.com [67.222.39.38]) by mx1.freebsd.org (Postfix) with SMTP id 310D18FC0A for ; Sat, 16 Jan 2010 19:09:21 +0000 (UTC) Received: (qmail 3162 invoked by uid 0); 16 Jan 2010 19:09:21 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by outboundproxy5.bluehost.com with SMTP; 16 Jan 2010 19:09:21 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=Z0/HtLWWF4S3fzv13XFFZMmC09QSG9iu7EhiERcuOFXZpiq5lLmMuatTz6/URXZKeNJ2ej9FICrXSsMGNt8LFDj86vh9sR/2K5Kige7OtCp5JyD2oihP17ZmTvDeBmdk; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NWE1Q-0005SX-D7 for freebsd-questions@FreeBSD.org; Sat, 16 Jan 2010 12:09:21 -0700 Received: by kukaburra.hydra (sSMTP sendmail emulation); Sat, 16 Jan 2010 12:01:20 -0700 Date: Sat, 16 Jan 2010 12:01:20 -0700 From: Chad Perrin To: freebsd-questions@FreeBSD.org Message-ID: <20100116190120.GA59663@guilt.hydra> Mail-Followup-To: freebsd-questions@FreeBSD.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Cc: Subject: Re: Dislike the way port conflicts are handled now X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jan 2010 19:09:22 -0000 --jRHKVT23PllUwdXP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 16, 2010 at 01:01:47PM -0500, b. f. wrote: > >> Since some folks like the old behavior and some folks like the new > >> behavior, what do you all think of a user-selectable make.conf option = to > >> choose where the check-conflicts target appears in the port build sequ= ence? > >> > >> Regards, > >> Greg > >> >=20 > >I'd love that. The new behavior isn't a bad default, but it needs an > >override. >=20 > >Wait a minute; rewind. Isn't that what "make -DDISABLE_CONFLICTS" does? >=20 > I believe that he is talking about changing _when_ the check for > conflicts is made; whereas DISABLE_CONFLICTS ignores the check, > regardless of when it is made. A late check is preferable to using > DISABLE_CONFLICTS, because with that knob you can shoot yourself in > the foot by mistakenly installing one port on top of another. Best: check for conflicts early, error out early if there are conflicts so one doesn't waste hours compiling something and checking/installing dependencies and so on Middling: check for conflicts late Worst: don't check for conflicts at all Yeah, sounds about right. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --jRHKVT23PllUwdXP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAktSDP8ACgkQ9mn/Pj01uKVRwQCfUF/MoHnOryIua8Jg7sj7enyO u9wAn3V6SxFqRTgo+UBY0TdukmN9/qJC =gG49 -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP-- From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 19:12:42 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 267611065697 for ; Sat, 16 Jan 2010 19:12:42 +0000 (UTC) (envelope-from polatel@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id A8A7F8FC12 for ; Sat, 16 Jan 2010 19:12:41 +0000 (UTC) Received: by ewy26 with SMTP id 26so2017363ewy.3 for ; Sat, 16 Jan 2010 11:12:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=UbftmMLSuAXyhvNvxUdSzUzkY+r/z80AFbeiWSgHFp8=; b=I3LwEc2wq/gcOuKcawECbDgR2bB1jxGAzihySZm616FLplMe4gx4nfDI03ctiHll4x 8VZl1vI9HIBBkpvd5X9ExV4rkhiyKv5+1zGBrLsZ1MIAwCctcMR5XD9ix0l9hs3q2jH9 GTBgO31efglaXyaV6xYMr7nPQZXNrV4bad1Oo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=Jn/ItR1GRO0gwf2+6xOxjmzRHRSN/LONKaOsi88DEMOjbxmjm2jy6cWOGG8E7dRVn4 Jv5jol+ZjamwvWlhmrnAnO+izilSJ8KLYS6R1QsW9ibdqGDA41kFx7FCVWLu89K4PTzG TQ1jqIcTxOtxHaVdTCuxASM3ORZBIpKbZkRhU= Received: by 10.213.110.200 with SMTP id o8mr112503ebp.37.1263669156542; Sat, 16 Jan 2010 11:12:36 -0800 (PST) Received: from harikalardiyari ([78.179.49.34]) by mx.google.com with ESMTPS id 7sm2901874eyg.33.2010.01.16.11.12.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 16 Jan 2010 11:12:35 -0800 (PST) Sender: Ali Polatel Date: Sat, 16 Jan 2010 21:12:34 +0200 From: Ali Polatel To: freebsd-questions@freebsd.org Message-ID: <20100116191234.GC11414@harikalardiyari> References: <20100116110254.GA6142@harikalardiyari> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LwW0XdcUbUexiWVK" Content-Disposition: inline In-Reply-To: <20100116110254.GA6142@harikalardiyari> User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: A question about ptrace X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jan 2010 19:12:42 -0000 --LwW0XdcUbUexiWVK Content-Type: text/plain; charset=iso-8859-9 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Ali Polatel yazm=FD=FE: > I'm trying to port a program using ptrace from Linux to FreeBSD. Answering myself after some more reading and trying... > assert(0 =3D=3D ptrace(PT_TO_SCE, pid, 0, 0)); The third argument of this call should be 1 not 0. --=20 Regards, Ali Polatel --LwW0XdcUbUexiWVK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEYEABECAAYFAktSD6IACgkQQU4yORhF8iDkkACbBscI45N3XRJHZaBVbyFe8L9T QCUAniAeu5+V29PjhWRSzHqg2XX9mAJu =nfq6 -----END PGP SIGNATURE----- --LwW0XdcUbUexiWVK-- From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 19:13:35 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 288571065670 for ; Sat, 16 Jan 2010 19:13:35 +0000 (UTC) (envelope-from neshort@yahoo.com) Received: from n75.bullet.mail.sp1.yahoo.com (n75.bullet.mail.sp1.yahoo.com [98.136.44.51]) by mx1.freebsd.org (Postfix) with SMTP id 02E578FC0A for ; Sat, 16 Jan 2010 19:13:34 +0000 (UTC) Received: from [216.252.122.217] by n75.bullet.mail.sp1.yahoo.com with NNFMP; 16 Jan 2010 19:13:34 -0000 Received: from [68.142.237.87] by t2.bullet.sp1.yahoo.com with NNFMP; 16 Jan 2010 19:13:34 -0000 Received: from [66.196.97.145] by t3.bullet.re3.yahoo.com with NNFMP; 16 Jan 2010 19:13:34 -0000 Received: from [127.0.0.1] by omp203.mail.re3.yahoo.com with NNFMP; 16 Jan 2010 19:13:34 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 384100.15142.bm@omp203.mail.re3.yahoo.com Received: (qmail 99077 invoked by uid 60001); 16 Jan 2010 19:13:34 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1263669214; bh=qHCz25kJH8+u5W7i1aAfOZsrTIEYXcVECZr8GVLleWg=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=xHjbKwNYCFjxeCM4ygk9XdDKq0Gauj64MTibANBM3LnOm6yx79hc5G5MOpgmH2JE4BS9r0Vac3COHcoCIiOKOUFm14xB3HBB3PPirMh5S/gqqfdqatopNNiWyeiAI5eITWRyMd41WQQzCflm/S0XSawOMJV+hS+aDxMKqPJekeA= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=0gUfbm5ReuDQyyl6JSeNTdCO44l4VR0spspHSMXyObfGHI9ZV7ppNXvHoP9CIAedGjyAqSeZ/hoyyVuxBvyFqVYg9C3zvxbTVqzP62v2aHDO2oRxigpDFAjXHg+prvpzCtj/qfNRowl6JwN879kdAqNyWG4DAoAvoDEG0dnN1xE=; Message-ID: <267304.99050.qm@web56508.mail.re3.yahoo.com> X-YMail-OSG: bI89fyMVM1l78LtARbuTKNJs4iN4Ko6qeS1mpBN39wRYns9_0L5XZafE493ruoPWfCvLXD20uttDqmx4LdvWxC9kWqjTWkL4a9jB7n6_Gz_YEwINjYWw_FpJ0KWsCH8VntMG5BR7TMIn2YriAtlsLgcVn6NVj278I79fVtRHeDvJyo1Oc_oG.A.tS2k8DPI4fGqum8O_5xbr4R4_Fp.y9DQAt_wQar3vVp7xHiZLZuHDDAHJ2bn0dfQnfQJKxnblaUIXqolRkzcYiFh83lSPW4hGJGrUqvsfOuK9NuyqtHYKqXXndVdH89NSFVOxCF3wYjkOET9ucS5lU6XmC4M0_A-- Received: from [174.18.64.50] by web56508.mail.re3.yahoo.com via HTTP; Sat, 16 Jan 2010 11:13:34 PST X-Mailer: YahooMailClassic/9.0.20 YahooMailWebService/0.8.100.260964 Date: Sat, 16 Jan 2010 11:13:34 -0800 (PST) From: Neil Short To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: need a Mencoder expert X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jan 2010 19:13:35 -0000 I have a VOB file that I need to convert to something playable on a Sony Walkman NWZ-E344. The walkman wants an ASF container, resolution of 320x240 (or less), wmv9 codec, wma 2 codec, 30 frames per second, video bitrate of less than or equal to 768k. I cannot seem to get a mencoder (nor ffmpeg) encoding line to work. Here's some data on a video that works: $ ffmpeg -i Butterfly.wmv .... [wmv3 @ 0x29707c10]Extra data: 8 bits left, value: 0 Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 29.97 (30000/1001) Input #0, asf, from 'Butterfly.wmv': Duration: 00:00:08.21, start: 5.000000, bitrate: 1126 kb/s Stream #0.0: Audio: wmav2, 44100 Hz, stereo, s16, 96 kb/s Stream #0.1: Video: wmv3, yuv420p, 320x208, 768 kb/s, 29.97 tbr, 1k tbn, 1k tbc mplayer -identify Butterfly.wmv .... Playing Butterfly.wmv. ASF file format detected. ID_AUDIO_ID=1 [asfheader] Audio stream found, -aid 1 ID_VIDEO_ID=2 [asfheader] Video stream found, -vid 2 VIDEO: [WMV3] 320x208 24bpp 1000.000 fps 768.0 kbps (93.8 kbyte/s) ID_FILENAME=Butterfly.wmv ID_DEMUXER=asf ID_VIDEO_FORMAT=WMV3 ID_VIDEO_BITRATE=768000 ID_VIDEO_WIDTH=320 ID_VIDEO_HEIGHT=208 ID_VIDEO_FPS=1000.000 ID_VIDEO_ASPECT=0.0000 ID_AUDIO_FORMAT=353 ID_AUDIO_BITRATE=0 ID_AUDIO_RATE=0 ID_AUDIO_NCH=0 ID_LENGTH=15.00 Opening video filter: [screenshot=yes] ========================================================================== Requested video codec family [wmv9dmo] (vfm=dmo) not available. Enable it at compilation. Requested video codec family [wmvdmo] (vfm=dmo) not available. Enable it at compilation. Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family [wmv3 @ 0x882b6f0]Extra data: 8 bits left, value: 0 Selected video codec: [ffwmv3] vfm: ffmpeg (FFmpeg M$ WMV3/WMV9) ========================================================================== ID_VIDEO_CODEC=ffwmv3 ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 44100 Hz, 2 ch, s16le, 96.0 kbit/6.81% (ratio: 12005->176400) ID_AUDIO_BITRATE=96040 ID_AUDIO_RATE=44100 ID_AUDIO_NCH=2 Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg)) ========================================================================== AO: [oss] 44100Hz 2ch s16le (2 bytes per sample) ID_AUDIO_CODEC=ffwmav2 Starting playback... VDec: vo config request - 320 x 208 (preferred colorspace: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. [swscaler @ 0x8827710]SwScaler: using unscaled yuv420p -> bgr24 special converter VO: [xv] 320x208 => 320x208 Planar YV12 New_Face failed. Maybe the font path is wrong. Please supply the text font file (~/.mplayer/subfont.ttf). subtitle font: load_sub_face failed. .... ====== "What did you do?" the man holding the flashlight asked. "I put down a spider," he said, wondering why the man didn't see; in the beam of yellow light the spider bloated up larger than life. "So it could get away." From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 19:18:30 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 720291065672 for ; Sat, 16 Jan 2010 19:18:30 +0000 (UTC) (envelope-from pit@joseph-a-nagy-jr.us) Received: from outbound-mail-158.bluehost.com (outbound-mail-158.bluehost.com [67.222.39.38]) by mx1.freebsd.org (Postfix) with SMTP id 432178FC19 for ; Sat, 16 Jan 2010 19:18:29 +0000 (UTC) Received: (qmail 8221 invoked by uid 0); 16 Jan 2010 19:18:29 -0000 Received: from unknown (HELO box264.bluehost.com) (69.89.31.64) by outboundproxy5.bluehost.com with SMTP; 16 Jan 2010 19:18:29 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=joseph-a-nagy-jr.us; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:X-Enigmail-Version:Content-Type:X-Identified-User; b=Qb7BJ4lf5YlB0aAlKkciJjPDnKyDskRS9KfHll8vjzal8BedCxeWs2C9avpNR9RkTy+ssGaZ9YkW0rOqtvab/JObYqCskCfeQghgTddWxMXZ8NJG4s9C+uJpQ748dVZr; Received: from [206.74.86.236] (helo=[192.168.1.51]) by box264.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NWEAH-0004Xt-GF for freebsd-questions@FreeBSD.org; Sat, 16 Jan 2010 12:18:29 -0700 Message-ID: <4B5210F7.9060909@joseph-a-nagy-jr.us> Date: Sat, 16 Jan 2010 13:18:15 -0600 From: Programmer In Training User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org References: <20100116190120.GA59663@guilt.hydra> In-Reply-To: <20100116190120.GA59663@guilt.hydra> X-Enigmail-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig7919608CB03AF13BBE04F350" X-Identified-User: {2250:box264.bluehost.com:ameliora:joseph-a-nagy-jr.us} {sentby:smtp auth 206.74.86.236 authed with pit@joseph-a-nagy-jr.us} Cc: Subject: Re: Dislike the way port conflicts are handled now X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jan 2010 19:18:30 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7919608CB03AF13BBE04F350 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 1/16/2010 1:01 PM, Chad Perrin wrote: > Best: >=20 > check for conflicts early, error out early if there are conflicts s= o > one doesn't waste hours compiling something and checking/installing= > dependencies and so on >=20 > Middling: >=20 > check for conflicts late >=20 > Worst: >=20 > don't check for conflicts at all >=20 > Yeah, sounds about right. >=20 That does nothing for conflict resolution, though. That's a big concern for me because in the past, only one distribution of Linux (not having used any of the BSD's before, cannot comment on them except for what I'm seeing in this discussion) that I've used seems to handle not only package dependency with ease and grace, but also conflict resolution (in the sense that the only time I've had an issue with conflicts was when an updated package wasn't available or an older required package was discontinued). I like the fact that FreeBSD checks for conflicts early, but erroring out without anything really useful is a negative for me. Instead of erroring out, why not initiate some sort of conflict resolution (e.g. remove and or update an old port) when the conflict is first detected? Yes, it may very well mean increased time to install a package, especially if compiling from source, but I find that a more elegant solution then just erroring out and requiring yet another manual step. Of course there could be an option to opt-out of this sort of behavior too, for those who like the extra steps. --=20 PIT --------------enig7919608CB03AF13BBE04F350 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJLUhD9AAoJEENZQ8DH7rW092IH/2iiTGkJfaZXIcpduiD82m4V I6By25Ie9okE07/fB4GYoVQL/3Jv/LQ0PuZCaG/Vs0Uc6EzMbBlEHR80PApowzrI HRpUCF53NAHLsI5d0CZsOLBOVeqfGpdiGfO0mYqS9/WoQjRcQFoSiMxfeCSwKLbw TLxig/p2nXqQxHNIkzPEE6nRYSeG0cUfZCxDpiS1ebwfGbw3p0BKUbTGX2h3GuJZ jiWTV1EPyxW/pxLgQpS6cFPPSv0AU1tw7NOh1lamSQRfbBMZczYGsDFXSSqPOPfu 9ivroHKcPd126UVLVAiTXc64up5hsnM/gvSyzYOb/khrChWcl6OeqOUf/NcynhQ= =w7y9 -----END PGP SIGNATURE----- --------------enig7919608CB03AF13BBE04F350-- From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 19:50:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C532A1065693 for ; Sat, 16 Jan 2010 19:50:18 +0000 (UTC) (envelope-from dotnox@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id 2AFAB8FC13 for ; Sat, 16 Jan 2010 19:50:16 +0000 (UTC) Received: by ewy26 with SMTP id 26so2039969ewy.3 for ; Sat, 16 Jan 2010 11:50:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=vdWpiWkmIMZQstk08GvyNDvgsWcX6GvktzJ3sWtxF70=; b=V6il5BPHnN8EksCBrRwD3fYysTQ1WqJGSGiRosTsmPkOATWgtjkhqLvFIUh2qZNp4X yitOj8BUIpBKHI8jP2pJT8Osnq8dnCNaoRy1kVCJrOMtFUStxTnTlyYJzMoMIZ3CSc/n 76XSr2OkROYpytC6lT5RqEcm0VtQVHanrC1BU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=FZD1sWbvZEA7mdLoohuoNMRG8vXhG+38AfhLbDw6AoKHGQhtxEIZoVFVz4OETTpyle +0L8qd15gnpdY7saPFnLPZXHf4GVRiv7pNM1M3sXRuzZVTHJA/ys0U6rqbSKzmkWLCIo ovHtuMWcqfaPF670/kh2TglleIwiBw3FyjaH4= Received: by 10.213.107.69 with SMTP id a5mr4130588ebp.73.1263671405871; Sat, 16 Jan 2010 11:50:05 -0800 (PST) Received: from localhost ([89.28.2.75]) by mx.google.com with ESMTPS id 14sm1599032ewy.7.2010.01.16.11.50.05 (version=SSLv3 cipher=RC4-MD5); Sat, 16 Jan 2010 11:50:05 -0800 (PST) Date: Sat, 16 Jan 2010 21:50:02 +0200 From: Maxim Ianoglo To: freebsd-questions@freebsd.org Message-ID: <20100116215002.04ecccfb@gmail.com> In-Reply-To: <20100112145806.1de591f3@gmail.com> References: <20100112145806.1de591f3@gmail.com> X-Mailer: Claws Mail 3.7.4 (GTK+ 2.18.5; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: bsdar/netstat 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, 16 Jan 2010 19:50:18 -0000 Hello, i just was able myself to find out why netstat was showing different output on i386. My i386 machine was updated on 28 November, netstat was modified on 25 November, so seems that CVS server from which I have updated sources was a little bit outdated. Thank you. -- Maxim Ianoglo On Tue, 12 Jan 2010 14:58:06 +0200 Maxim Ianoglo wrote: > Hello, > > Got an issue. > > On FreBSD amd64 bsdsar dows not works properly because of netstat -b -i > -n > shows one extra column "Idrop" > $ uname -m > amd64 > $ netstat -b -i -n > Name Mtu Network Address Ipkts Ierrs Idrop Ibytes Opkts Oerrs Obytes Coll > bge0 1500 00:00:1a:19:3b:69 722511 0 0 413208866 447516 0 63777493 0 > > $ uname -imprs > FreeBSD 8.0-STABLE amd64 amd64 GENERIC > > In i386 netstat output is as was before > $ uname -m > i386 > $ netstat -b -i -n > Name Mtu Network Address Ipkts Ierrs Ibytes Opkts Oerrs Obytes Coll > wpi0* 2290 00:1b:77:d3:75:5e 0 0 0 0 0 0 0 > > $ uname -imprs > FreeBSD 8.0-STABLE i386 i386 NAFNOTE > > To make bsdsar work properly I have modified it > here is the diff: > $ diff -u /usr/local/bin/bsdsar_gather /usr/local/bin/bsdsar_gather.new > --- /usr/local/bin/bsdsar_gather 2010-01-12 14:19:09.000000000 +0200 > +++ /usr/local/bin/bsdsar_gather.new 2010-01-12 14:18:13.000000000 +0200 > @@ -91,11 +91,11 @@ > # now lets pull data from netstatlist > foreach $ifaceline (@netstatlist) { > chomp $ifaceline; > - ($ifacename, $Mtu, $Network, $Address, $inpkts, $inerrs, $inbytes, $outpkts, $outerrs, $outbytes, $coll) = split/\s+/,$ifaceline; > + ($ifacename, $Mtu, $Network, $Address, $inpkts, $inerrs, $idrops, $inbytes, $outpkts, $outerrs, $outbytes, $coll) = split/\s+/,$ifaceline; > if ( $coll eq "") { > # $coll is empty because of a blank column, assume this is Address > # so try again wthout it > - ($ifacename, $Mtu, $Network, $inpkts, $inerrs, $inbytes, $outpkts, $outerrs, $outbytes, $coll) = split/\s+/,$ifaceline; > + ($ifacename, $Mtu, $Network, $inpkts, $inerrs, $idrops, $inbytes, $outpkts, $outerrs, $outbytes, $coll) = split/\s+/,$ifaceline; > } > > $ifaceinfo .= "$ifacename,$inpkts,$inerrs,$inbytes,$outpkts,$outerrs,$outbytes,$coll\|"; > > > Did anyone faced such issue before ? Or thie is not a bug with netstat/bsdsar. > > Thank you. > -- > Maxim Ianoglo a.k.a dotNox ( dotNox@gmail.com ) From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 19:51:38 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DF231065693 for ; Sat, 16 Jan 2010 19:51:38 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp101.prem.mail.ac4.yahoo.com (smtp101.prem.mail.ac4.yahoo.com [76.13.13.40]) by mx1.freebsd.org (Postfix) with SMTP id A8F9E8FC12 for ; Sat, 16 Jan 2010 19:51:37 +0000 (UTC) Received: (qmail 22210 invoked from network); 16 Jan 2010 19:51:29 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding; b=whfrd0R52jlWZkZvYSQbCFgQLwOdeUDqmp6TFlbkozfYwItjUo0HovQ4D7fhVbP9Vf8L7kccyMsxnVi6RZQ+WkjSbkR/4UklADDkUplxKzz8hRYn9dbz8efLILUfnTwzLbfKfudN1P4A14mtUQXfHKNnNMT8c92lapc+HXkqEIY= ; Received: from c-67-189-160-65.hsd1.ny.comcast.net (gesbbb@67.189.160.65 with login) by smtp101.prem.mail.ac4.yahoo.com with SMTP; 16 Jan 2010 11:51:29 -0800 PST X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: GH7LAWAVM1m9AEPMUYmU2JTX0ULmKkr45VZrTt3Q9EtQoHuMlDmLyFIpmDJLiBIFWZcOxCeDSpQlaQEvY7LQltzxrN1N9YyS.8Uera9I179pf_6v9AJAR5LEOzMWAb2WoPGqTqNx4eORJAeyrcyiKFKSrb9We8m6LveNjKS3N_buOUI1dP0CYokQuyLD8al8TluDw91o69N2dU7b.hIFezJPEr7Fb9A8JO6KpGOD_mzGRbREvAmPagGiOGsCmBgRlfdJJrAfXnuVwSOcgf4CezHE5fIrGInsQE8ZndinOd33S.B01Rb0g8yKtw-- X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.101]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: gesbbb@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 503182283C for ; Sat, 16 Jan 2010 14:51:28 -0500 (EST) Date: Sat, 16 Jan 2010 14:51:28 -0500 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20100116145128.32fdd7f0@scorpio.seibercom.net> In-Reply-To: <4B5210F7.9060909@joseph-a-nagy-jr.us> References: <20100116190120.GA59663@guilt.hydra> <4B5210F7.9060909@joseph-a-nagy-jr.us> Organization: seibercom.net X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.5; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Dislike the way port conflicts are handled now X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jan 2010 19:51:38 -0000 On Sat, 16 Jan 2010 13:18:15 -0600 Programmer In Training articulated: > That does nothing for conflict resolution, though. That's a big > concern for me because in the past, only one distribution of Linux > (not having used any of the BSD's before, cannot comment on them > except for what I'm seeing in this discussion) that I've used seems > to handle not only package dependency with ease and grace, but also > conflict resolution (in the sense that the only time I've had an > issue with conflicts was when an updated package wasn't available or > an older required package was discontinued). I like the fact that > FreeBSD checks for conflicts early, but erroring out without anything > really useful is a negative for me. Instead of erroring out, why not > initiate some sort of conflict resolution (e.g. remove and or update > an old port) when the conflict is first detected? Yes, it may very > well mean increased time to install a package, especially if > compiling from source, but I find that a more elegant solution then > just erroring out and requiring yet another manual step. Of course > there could be an option to opt-out of this sort of behavior too, for > those who like the extra steps. If I remember correctly, 'portmanager -y' removed conflicting ports prior to installing a new or updated port. -- Jerry gesbbb@yahoo.com |::::======= |::::======= |=========== |=========== | Children begin by loving their parents. After a time they judge them. Rarely, if ever, do they forgive them. Oscar Wilde From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 20:05:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2B121065676 for ; Sat, 16 Jan 2010 20:05:39 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 409528FC18 for ; Sat, 16 Jan 2010 20:05:39 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.3) with ESMTP id o0GK5Xva013552; Sat, 16 Jan 2010 20:05:34 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o0GK5Xva013552 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1263672334; bh=G3fcme9R9XLq0KflDfdqoVkI6OchL2cVZYWStVyNEw4=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B521C08.8050803@infracaninophile.co.uk>|Date:=20S at,=2016=20Jan=202010=2020:05:28=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20100114)|MIME-Vers ion:=201.0|To:=20Angelin=20Lalev=20|CC:=2 0freebsd-questions@freebsd.org|Subject:=20Re:=20Secure=20method=20 for=20fetching=20freebsd=20sources=20?|References:=20<532b03711001 161041v2400389v915c0fee80dcd840@mail.gmail.com>|In-Reply-To:=20<53 2b03711001161041v2400389v915c0fee80dcd840@mail.gmail.com>|X-Enigma il-Version:=200.95.6|Content-Type:=20multipart/signed=3B=20micalg= 3Dpgp-sha256=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B= 0D=0A=20boundary=3D"------------enig10D37803F6ACE133F6785072"; b=svwMZmFdgehIFWIZfCPkzl2awqZk/GP7FfccFXag1N2YYKv+yX/I2U6z6tQ+iPNLg 6/2y3OLu0MJmJr+1dWKlyGikXSSvlHEq2LazZIXs60HzgwlAOegtFfrQUJM4GsyLvC ytThifustp0naMNahm844nmICC3CZs8PF7G0pwWE= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B521C08.8050803@infracaninophile.co.uk> Date: Sat, 16 Jan 2010 20:05:28 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20100114) MIME-Version: 1.0 To: Angelin Lalev References: <532b03711001161041v2400389v915c0fee80dcd840@mail.gmail.com> In-Reply-To: <532b03711001161041v2400389v915c0fee80dcd840@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig10D37803F6ACE133F6785072" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Secure method for fetching freebsd sources ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jan 2010 20:05:40 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig10D37803F6ACE133F6785072 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Angelin Lalev wrote: > Greetings, >=20 > Which is the *secure* way of fetching freebsd sources? > Cvsup looks prone to MiM attacks, CTM looks promising, but only if I > have been member of the appropriate ctm list since the release of 8.0. > (it seems that the ctm deltas on the ftp are not signed.). > Do FreeBSD cvs servers support ssh instead of rsh access as OpenBSD ser= ver do? > Other alternatives? >=20 > Please note that this is not a theoretical question. I really have a > system which i'll put in a place I don't trust, so I'll try to encrypt > everything from the disk to the connections which I will use for > updating. You can use freebsd-update(8) to fetch system sources as well as binary updates. Updates are cryptographically secured -- whether this is enough= for your application is a judgement call you will have to make. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig10D37803F6ACE133F6785072 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.14 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAktSHA0ACgkQ8Mjk52CukIyq4QCfWNPh8BRdIKh3wnAp43UEzd31 rhsAn3R2w2oVsHOw+zsj501ZZEgnuShf =H+gA -----END PGP SIGNATURE----- --------------enig10D37803F6ACE133F6785072-- From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 20:53:39 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 619DC1065692 for ; Sat, 16 Jan 2010 20:53:39 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from raven.customer.vol.cz (raven.customer.vol.cz [195.250.144.108]) by mx1.freebsd.org (Postfix) with ESMTP id B9C668FC18 for ; Sat, 16 Jan 2010 20:53:38 +0000 (UTC) Received: from [192.168.0.23] (r2bb217.net.upc.cz [62.245.117.217]) (authenticated bits=0) by raven.customer.vol.cz (8.14.3/8.14.3) with ESMTP id o0GKQSdZ014197; Sat, 16 Jan 2010 21:26:30 +0100 (CET) (envelope-from pav@FreeBSD.org) From: Pav Lucistnik To: glarkin@FreeBSD.org In-Reply-To: <4B520C71.9080301@FreeBSD.org> References: <4B520C71.9080301@FreeBSD.org> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-CXir7+m+vhIcvtydu7NC" Date: Sat, 16 Jan 2010 21:26:28 +0100 Message-ID: <1263673588.1541.60.camel@hood.oook.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 FreeBSD GNOME Team Port X-Scanned-By: MIMEDefang 2.67 on 195.250.144.108 X-Milter: Spamilter (Reciever: raven.customer.vol.cz; Sender-ip: 62.245.117.217; Sender-helo: [192.168.0.23]; ) Cc: portmgr@FreeBSD.org, "b. f." , freebsd-questions@FreeBSD.org Subject: Re: Dislike the way port conflicts are handled now X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pav@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jan 2010 20:53:39 -0000 --=-CXir7+m+vhIcvtydu7NC Content-Type: text/plain; charset="ISO-8859-2" Content-Transfer-Encoding: quoted-printable Greg Larkin p=ED=B9e v so 16. 01. 2010 v 13:58 -0500: > That's exactly what I proposed. The bsd.port.mk could be patched to > support a new variable ("EARLY_CONFLICT_CHECK=3Dyes" or somesuch) that > shifts the check-conflict target from its old position (part of the > install sequence) to its new position (fetch?). >=20 > The default behavior (no mods to /etc/make.conf) would revert to the old > conflict checking method. This may be something for portmgr@ to chime > in on, and I'm cc'ing them now. There could be other reasons for this > change that I'm unaware of. What is the particular scenario that the new conflicts handling broke for you? Often you really want to ignore locally installed packages and then it's better to override LOCALBASE to /nonex or something similar, instead of disabling conflict handling... --=20 Pav Lucistnik It's the classic Microsoft security-bulletin formula: "The vulnerability is important (never dangerous); you have nothing to fear and no reason to regret trusting us; we have no intention of apologizing for it or even explaining it adequately; now go get your patch, shut up, and be grateful nothing bad has happened. -- The Register --=-CXir7+m+vhIcvtydu7NC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?= =?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEABECAAYFAktSIPQACgkQntdYP8FOsoLFWgCgzvYMrr1Z6/P6pux7BOTrbpTG ulQAoMdvZCJnACSAO+Ip/sNKpQ1MgRIU =hDRg -----END PGP SIGNATURE----- --=-CXir7+m+vhIcvtydu7NC-- From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 22:23:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78D25106566B for ; Sat, 16 Jan 2010 22:23:55 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from smtp-vbr16.xs4all.nl (smtp-vbr16.xs4all.nl [194.109.24.36]) by mx1.freebsd.org (Postfix) with ESMTP id EF8068FC0A for ; Sat, 16 Jan 2010 22:23:54 +0000 (UTC) Received: from yokozuna.lan (213-84-73-82.adsl.xs4all.nl [80.101.78.208]) by smtp-vbr16.xs4all.nl (8.13.8/8.13.8) with ESMTP id o0GMNrpC058121 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 16 Jan 2010 23:23:53 +0100 (CET) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan (yokozuna.lan [127.0.0.1]) by yokozuna.lan (8.14.3/8.14.3) with ESMTP id o0GMNqLL045637 for ; Sat, 16 Jan 2010 23:23:52 +0100 (CET) (envelope-from mbeis@xs4all.nl) Date: Sat, 16 Jan 2010 23:23:52 +0100 (CET) From: Marco Beishuizen Sender: marco@yokozuna.lan To: freebsd-questions@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Virus-Scanned: by XS4ALL Virus Scanner Subject: changing place of .core files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marco Beishuizen List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jan 2010 22:23:55 -0000 Normally when a program crashes, it places a .core file in the homefilesystem. Is there a way of changing the filesystem where FreeBSD places it's core dumps? Thanks in advance, Marco -- Rule #7: Silence is not acquiescence. Contrary to what you may have heard, silence of those present is not necessarily consent, even the reluctant variety. They simply may sit in stunned silence and figure ways of sabotaging the plan after they regain their composure. From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 22:37:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF5EA106566B for ; Sat, 16 Jan 2010 22:37:14 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id 811158FC0C for ; Sat, 16 Jan 2010 22:37:14 +0000 (UTC) Received: by ewy26 with SMTP id 26so2133654ewy.3 for ; Sat, 16 Jan 2010 14:37:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=K998iz4ftpXDU+VL6AOxBCmGyqgrioXTEDVdWa56X90=; b=VHCBbyrU9WtkyREAvvQ+EUj9D7UW2fvCV4YtnSEzWptvOQ63ky2XpvOk1mR5wMo0AD oaKXHIghihbGWcrHPJt5dSdl0gBGecSczFIDQZLN7fIYjVZ4vksbiTkI+vIf23tmjE6x IhfMKA6JsgjYi0AHR9dGvFnsjLM9DaGYAbgOw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=NMYgpeYr63zRJBAv2Ed6/ILenCtWKeyfA1BGWZWtjtviwQXqm8ORyAXna8qu4PYO6Y LkzXDl7Cmz6qJTdJiVAmcOhqNYYSIcUrIiUgBsCdON02qwztID23r6W4V7RHrdArxZCq KJCex1xHPIiJ9jnhuxyTMywNqUWlOhILDchAk= Received: by 10.213.110.201 with SMTP id o9mr4402036ebp.35.1263681423505; Sat, 16 Jan 2010 14:37:03 -0800 (PST) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id 13sm2850430ewy.5.2010.01.16.14.36.58 (version=SSLv3 cipher=RC4-MD5); Sat, 16 Jan 2010 14:37:02 -0800 (PST) Date: Sat, 16 Jan 2010 22:36:52 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100116223652.120c5c6d@gumby.homeunix.com> In-Reply-To: References: X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.5; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Dislike the way port conflicts are handled now X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jan 2010 22:37:15 -0000 On Sat, 16 Jan 2010 13:01:47 -0500 "b. f." wrote: > >Wait a minute; rewind. Isn't that what "make -DDISABLE_CONFLICTS" > >does? > > I believe that he is talking about changing _when_ the check for > conflicts is made; whereas DISABLE_CONFLICTS ignores the check, > regardless of when it is made. A late check is preferable to using > DISABLE_CONFLICTS, because with that knob you can shoot yourself in > the foot by mistakenly installing one port on top of another. I think the point is you can make -DDISABLE_CONFLICTS using targets other than install From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 23:01:28 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C5DF1065670 for ; Sat, 16 Jan 2010 23:01:28 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id B10068FC08 for ; Sat, 16 Jan 2010 23:01:27 +0000 (UTC) Received: by ewy26 with SMTP id 26so2145950ewy.3 for ; Sat, 16 Jan 2010 15:01:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=dMuOY18dBi35q6ykdxWfG7Zh506xHeirQLOq7VONess=; b=iJG5tcOhGLXirgtjmP2MOQaYYEGpkKM+okQm/TqU6k6+vdlagYpMZgn4GEsGjFrePf jQfxunWL8yWs7euTOaqEWGlOEd42zF5HKYePWFfBDmqLA5EO1yQfK9ia9RvaDsGBISo1 t53KzqRQq4H38ZyojyFW3mS4R0UtqXNv4hMcg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=DR8Ze6anbVGALExzuyfI2bWtlPVaA5Nl2Lq6GHkMXb/y9COozzZ8J2tQQPbklkeH+l av9aU4Jq356Q3OVwDjXYL2fcomhlkBqmzyXw3bU+WPhzUCpLnHUmxlTlHmnhiWv1meNF 3whpEE2LhtSod+9jXiu3mo1eiP+JNNf3CKQWo= Received: by 10.213.24.25 with SMTP id t25mr1640695ebb.73.1263682877142; Sat, 16 Jan 2010 15:01:17 -0800 (PST) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id 16sm2863151ewy.10.2010.01.16.15.01.15 (version=SSLv3 cipher=RC4-MD5); Sat, 16 Jan 2010 15:01:16 -0800 (PST) Date: Sat, 16 Jan 2010 23:01:12 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100116230112.1db466f5@gumby.homeunix.com> In-Reply-To: References: X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.5; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: changing place of .core 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: Sat, 16 Jan 2010 23:01:28 -0000 On Sat, 16 Jan 2010 23:23:52 +0100 (CET) Marco Beishuizen wrote: > Normally when a program crashes, it places a .core file in the > homefilesystem. Is there a way of changing the filesystem where > FreeBSD places it's core dumps? cd to another directory before starting the program. From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 23:02:30 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C7B4106568D; Sat, 16 Jan 2010 23:02:30 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id 250EA8FC0A; Sat, 16 Jan 2010 23:02:30 +0000 (UTC) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NWHey-000Bb3-Bs; Sat, 16 Jan 2010 18:02:29 -0500 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id D7D843A27055; Sat, 16 Jan 2010 18:02:23 -0500 (EST) Message-ID: <4B524584.9050909@FreeBSD.org> Date: Sat, 16 Jan 2010 18:02:28 -0500 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: pav@FreeBSD.org References: <4B520C71.9080301@FreeBSD.org> <1263673588.1541.60.camel@hood.oook.cz> In-Reply-To: <1263673588.1541.60.camel@hood.oook.cz> X-Enigmail-Version: 0.96.0 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) Cc: portmgr@FreeBSD.org, "b. f." , freebsd-questions@FreeBSD.org Subject: Re: Dislike the way port conflicts are handled now X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jan 2010 23:02:30 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Pav Lucistnik wrote: > Greg Larkin p=ED=B9e v so 16. 01. 2010 v 13:58 -0500: >=20 >> That's exactly what I proposed. The bsd.port.mk could be patched to >> support a new variable ("EARLY_CONFLICT_CHECK=3Dyes" or somesuch) that >> shifts the check-conflict target from its old position (part of the >> install sequence) to its new position (fetch?). >> >> The default behavior (no mods to /etc/make.conf) would revert to the o= ld >> conflict checking method. This may be something for portmgr@ to chime >> in on, and I'm cc'ing them now. There could be other reasons for this >> change that I'm unaware of. >=20 > What is the particular scenario that the new conflicts handling broke > for you? Often you really want to ignore locally installed packages and > then it's better to override LOCALBASE to /nonex or something similar, > instead of disabling conflict handling... >=20 Hi Pav, I'm not the one who posted the original message to the list, but I'm participating in the conversation with some of the folks who expressed a preference for checking conflicts later in the build process. Here is the original post: http://www.mail-archive.com/freebsd-questions@freebsd.org/msg227363.html I thought portmgr might have some insight into additional reasons for making the change, such as fixing a problem with pointyhat builds, etc. At the moment, I'm neutral on the change, since it hasn't caused me any grief, but I did some research for the folks who posted the original questions. What do you think of adding an entry to UPDATING to note a change like this in the build process? For instance, I wasn't aware of the LOCALBASE=3D/nonexistent idea that you mentioned, so the entry could include that and some other tips. Thank you, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLUkWE0sRouByUApARApVWAKCmof3lBaN+R58UkPm82KjNvt9RCACeMExc uQCKc9mU4ou9qJ95fz6sv5Y=3D =3DEq2R -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 23:09:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C5A9106566C for ; Sat, 16 Jan 2010 23:09:21 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from smtp-vbr6.xs4all.nl (smtp-vbr6.xs4all.nl [194.109.24.26]) by mx1.freebsd.org (Postfix) with ESMTP id D8B7B8FC12 for ; Sat, 16 Jan 2010 23:09:20 +0000 (UTC) Received: from yokozuna.lan (213-84-73-82.adsl.xs4all.nl [80.101.78.208]) by smtp-vbr6.xs4all.nl (8.13.8/8.13.8) with ESMTP id o0GN9JOS091941 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 17 Jan 2010 00:09:19 +0100 (CET) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan (yokozuna.lan [127.0.0.1]) by yokozuna.lan (8.14.3/8.14.3) with ESMTP id o0GN9Jc4043884; Sun, 17 Jan 2010 00:09:19 +0100 (CET) (envelope-from mbeis@xs4all.nl) Date: Sun, 17 Jan 2010 00:09:19 +0100 (CET) From: Marco Beishuizen Sender: marco@yokozuna.lan To: RW In-Reply-To: <20100116230112.1db466f5@gumby.homeunix.com> Message-ID: References: <20100116230112.1db466f5@gumby.homeunix.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: changing place of .core files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marco Beishuizen List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jan 2010 23:09:21 -0000 On Sun, 17 Jan 2010, RW wrote: > On Sat, 16 Jan 2010 23:23:52 +0100 (CET) > Marco Beishuizen wrote: > >> Normally when a program crashes, it places a .core file in the >> homefilesystem. Is there a way of changing the filesystem where >> FreeBSD places it's core dumps? > > cd to another directory before starting the program. This won't work most of the time because a lot of programs are not started by me as user. For example npviewer.bin core dumps a lot because of bad flash. But npviewer.bin is started by Firefox, not by me. -- Horngren's Observation: Among economists, the real world is often a special case. From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 23:13:59 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4D7E106566B; Sat, 16 Jan 2010 23:13:59 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id F23B98FC14; Sat, 16 Jan 2010 23:13:58 +0000 (UTC) Received: by ewy26 with SMTP id 26so2152224ewy.3 for ; Sat, 16 Jan 2010 15:13:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=+/MHg/6Gj3C0l9ETVPZyfB28iGQFJKSdJzEBUwSZF28=; b=YhMW2cGypXdx+eGH5Ej5c4EeUdOC/v+frj5r7oO6uUFZT3+GdWnwdwAEZYXZF5smGJ 5tWABvZlOWKnl46OpPp3IxEEslM1Z0uifWJKnNe4Y+E6zoysZl1qHYChbUn7JB9UJQfK kxeG2RosejCI4aR6A+DlNM4Z8d2lJFBq8xQqw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ZWzWoqFEhCrVOOVT9bA09o5/vKtRl8HQ/6WvDt+os/zoojrEf73e8pFh/sNkp6UX+M T5YaD08EaOyYbHDrIexLaqlBcaLOgCe3FETmxigPP3w6QOhHfyqoGTaHWX83nYC9+yC6 9VyXUX0aYC1R23kPYT/78uAW+wAOYgk9iUY/k= MIME-Version: 1.0 Received: by 10.216.88.139 with SMTP id a11mr1585762wef.50.1263683626401; Sat, 16 Jan 2010 15:13:46 -0800 (PST) In-Reply-To: <1263673588.1541.60.camel@hood.oook.cz> References: <4B520C71.9080301@FreeBSD.org> <1263673588.1541.60.camel@hood.oook.cz> Date: Sat, 16 Jan 2010 18:13:46 -0500 Message-ID: From: "b. f." To: pav@freebsd.org Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Cc: glarkin@freebsd.org, freebsd-questions@freebsd.org, portmgr@freebsd.org Subject: Re: Dislike the way port conflicts are handled now X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jan 2010 23:14:00 -0000 On 1/16/10, Pav Lucistnik wrote: > Greg Larkin p=ED=B9e v so 16. 01. 2010 v 13:58 -0500: > >> That's exactly what I proposed. The bsd.port.mk could be patched to >> support a new variable ("EARLY_CONFLICT_CHECK=3Dyes" or somesuch) that >> shifts the check-conflict target from its old position (part of the >> install sequence) to its new position (fetch?). >> >> The default behavior (no mods to /etc/make.conf) would revert to the old >> conflict checking method. This may be something for portmgr@ to chime >> in on, and I'm cc'ing them now. There could be other reasons for this >> change that I'm unaware of. > > What is the particular scenario that the new conflicts handling broke > for you? Often you really want to ignore locally installed packages and > then it's better to override LOCALBASE to /nonex or something similar, > instead of disabling conflict handling... Some people want to be able to fetch and build ports that conflict with installed ports, without going to the trouble of (1) re-installing all of the build dependencies in an alternate LOCALBASE; or (2) first de-installing, and then afterwards reinstalling the conflicting ports. And they want to do this without disabling the conflict check, so that they don't mistakenly corrupt an installed port. b. From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 23:36:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A244106568D for ; Sat, 16 Jan 2010 23:36:57 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id 82CE28FC16 for ; Sat, 16 Jan 2010 23:36:56 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id e21so141606fga.13 for ; Sat, 16 Jan 2010 15:36:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received :x-authentication-warning:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=MAdwgrM1EpIUlyrFhoy7jixVPW8463+7bs1dYMPckPo=; b=LHHFIdAxC+gX70S3BjN/8d71CpNMzlz+CJkpOz4T6GMnof/YOs9R4pjN/BsoIhY/YA Yhz/7+Cr0tdCtvuqTsu96lkbj/k1RYyJNbkHvSJHstfCuJ/RWMhTHUu55MDSv8CpP0l7 +a9NukgG2FQLCtc23h6mxvlWvZQn+bS9Cbwu4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=x-authentication-warning:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; b=O5v5GDJ3YSwNjeRHdu4UsOKh99+e55Gk/ByRu8tSm5FMVBcbyShPO4nMJompK+GnBf kWvdVKe/dn7AKGy8Khr/ksIJa8Nwegvw3hGd9Wx4knlZttlQpRZ7PmYFZ7x9dQ4rUqdU Sb6olKua3q2ZnS5sWaFJ7r2YUobppqlJEGGEY= Received: by 10.87.45.29 with SMTP id x29mr5159466fgj.12.1263685012732; Sat, 16 Jan 2010 15:36:52 -0800 (PST) Received: from darklight.org.ru ([213.132.76.16]) by mx.google.com with ESMTPS id l12sm9978949fgb.25.2010.01.16.15.36.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 16 Jan 2010 15:36:52 -0800 (PST) Received: from darklight.org.ru (yuri@darklight.org.ru [127.0.0.1]) by darklight.org.ru (8.14.3/8.14.3) with ESMTP id o0GNanSm038328; Sun, 17 Jan 2010 02:36:49 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by darklight.org.ru (8.14.3/8.14.3/Submit) id o0GNamf6038326; Sun, 17 Jan 2010 02:36:48 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: darklight.org.ru: yuri set sender to yuri.pankov@gmail.com using -f Date: Sun, 17 Jan 2010 02:36:48 +0300 From: Yuri Pankov To: Marco Beishuizen Message-ID: <20100116233648.GC1729@darklight.org.ru> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: changing place of .core 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: Sat, 16 Jan 2010 23:36:57 -0000 On Sat, Jan 16, 2010 at 11:23:52PM +0100, Marco Beishuizen wrote: > Normally when a program crashes, it places a .core file in the > homefilesystem. Is there a way of changing the filesystem where > FreeBSD places it's core dumps? > > Thanks in advance, > Marco > > -- > Rule #7: Silence is not acquiescence. > Contrary to what you may have heard, silence of those present is > not necessarily consent, even the reluctant variety. They simply may > sit in stunned silence and figure ways of sabotaging the plan after they > regain their composure. Check core(5). HTH, Yuri From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 23:55:23 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D438106566B for ; Sat, 16 Jan 2010 23:55:23 +0000 (UTC) (envelope-from itetcu@FreeBSD.org) Received: from worf.ds9.tecnik93.com (worf.ds9.tecnik93.com [81.196.207.130]) by mx1.freebsd.org (Postfix) with ESMTP id 22BEC8FC12 for ; Sat, 16 Jan 2010 23:55:22 +0000 (UTC) Received: from it.buh.tecnik93.com (it.buh.tecnik93.com [81.196.204.98]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by worf.ds9.tecnik93.com (Postfix) with ESMTPSA id 7164D22C5089; Sun, 17 Jan 2010 01:37:35 +0200 (EET) Date: Sun, 17 Jan 2010 01:37:22 +0200 From: Ion-Mihai Tetcu To: pav@FreeBSD.org Message-ID: <20100117013722.1893895c@it.buh.tecnik93.com> In-Reply-To: <1263673588.1541.60.camel@hood.oook.cz> References: <4B520C71.9080301@FreeBSD.org> <1263673588.1541.60.camel@hood.oook.cz> X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.5; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/RlO=6AwUMR2Vt5bhdtazGSj"; protocol="application/pgp-signature" Cc: glarkin@FreeBSD.org, portmgr@FreeBSD.org, "b. f." , freebsd-questions@FreeBSD.org Subject: Re: Dislike the way port conflicts are handled now X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jan 2010 23:55:23 -0000 --Sig_/RlO=6AwUMR2Vt5bhdtazGSj Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, 16 Jan 2010 21:26:28 +0100 Pav Lucistnik wrote: > Greg Larkin p=C3=AD=C5=A1e v so 16. 01. 2010 v 13:58 -0500: >=20 > > That's exactly what I proposed. The bsd.port.mk could be patched to > > support a new variable ("EARLY_CONFLICT_CHECK=3Dyes" or somesuch) that > > shifts the check-conflict target from its old position (part of the > > install sequence) to its new position (fetch?). > >=20 > > The default behavior (no mods to /etc/make.conf) would revert to > > the old conflict checking method. This may be something for > > portmgr@ to chime in on, and I'm cc'ing them now. There could be > > other reasons for this change that I'm unaware of. >=20 > What is the particular scenario that the new conflicts handling broke > for you? Often you really want to ignore locally installed packages > and then it's better to override LOCALBASE to /nonex or something > similar, instead of disabling conflict handling... I'd be very happy if I could: - fetch the distfiles, even if I have a conflicting port installed - be able to use portmaster -o to switch from one port to an other one that conflicts with it. - be able to at least compile a port (eg. for testing) without having to de-install the current one. I'm all in favor of restoring the old behavior with a switch available to turn on the new one. --=20 IOnut - Un^d^dregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" FreeBSD committer -> itetcu@FreeBSD.org, PGP Key ID 057E9F8B493A297B --Sig_/RlO=6AwUMR2Vt5bhdtazGSj Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAktSTb4ACgkQJ7GIuiH/oeXTwQCgsPFZP7TIuNVY8V2dOCHJa70l 2HQAoKsCi8hS7JutGTl5qdQYv28ekjqb =FNi8 -----END PGP SIGNATURE----- --Sig_/RlO=6AwUMR2Vt5bhdtazGSj--