From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 00:17:56 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CB3E16A46B for ; Sun, 16 Dec 2007 00:17:56 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 78D2C13C474 for ; Sun, 16 Dec 2007 00:17:56 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 5FAC61CC07B; Sat, 15 Dec 2007 15:58:10 -0800 (PST) Date: Sat, 15 Dec 2007 15:58:10 -0800 From: Jeremy Chadwick To: Elliot Finley Message-ID: <20071215235810.GA81924@eos.sc1.parodius.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-stable@freebsd.org, User Questions Subject: Re: OS bug in taskq X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2007 00:17:56 -0000 On Sat, Dec 15, 2007 at 01:03:14PM -0700, Elliot Finley wrote: > I have: > dumpdev="AUTO" > in /etc/rc.conf and: > ... > in the kernel and I'm still unable to obtain a crash dump. Hopefully > there is enough info in this email for a hacker to point me in the > right direction to debug this. I can't help with the panic itself, but the reason for the inability to obtain a crash dump is mentioned in a thread I started in November: http://lists.freebsd.org/pipermail/freebsd-stable/2007-November/038069.html The explanation of the problem was documented best by Doug Barton in this thread (over at freebsd-rc@): http://lists.freebsd.org/pipermail/freebsd-rc/2007-November/001263.html Open PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=118255 -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 00:42:39 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8820116A46E for ; Sun, 16 Dec 2007 00:42:39 +0000 (UTC) (envelope-from bramz4ever@yahoo.com) Received: from web50002.mail.re2.yahoo.com (web50002.mail.re2.yahoo.com [206.190.38.17]) by mx1.freebsd.org (Postfix) with SMTP id 2C00913C447 for ; Sun, 16 Dec 2007 00:42:39 +0000 (UTC) (envelope-from bramz4ever@yahoo.com) Received: (qmail 26684 invoked by uid 60001); 16 Dec 2007 00:42:38 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Message-ID; b=1IpQDckH9aBVIREVHDWStkTNB1sPkg2Zxlu8jkFUVqTx4ZiBXdfnDeoxv8C7R+9eEa/SL90cf/kHOpHiLVADPNU3hL+/CKc34MYBIDbbLOY1DnGclBp7JzluLZZjMyge41faRHxGaObg0qrzhh40KWk8WeBcjM8f+OcSvepjR1M=; X-YMail-OSG: 6ud3GKsVM1nb3ZwwxDa2ywGwhhkt1RlTYkwTb05wbBSuX.2hLBVpleocLUYd9cjvPBmx.DCGfEyB.l.NT0ZlfzAOBtkIXPtI3txVPSlmZt2jPLBAdr3_zPyQj6042PcAwM60lliW1BlJ5weL2ZMX.kyLbQ-- Received: from [125.163.76.16] by web50002.mail.re2.yahoo.com via HTTP; Sat, 15 Dec 2007 16:42:38 PST X-Mailer: YahooMailRC/818.31 YahooMailWebService/0.7.158.1 Date: Sat, 15 Dec 2007 16:42:38 -0800 (PST) From: Satria Bramana To: yuri@rawbw.com MIME-Version: 1.0 Message-ID: <277973.26350.qm@web50002.mail.re2.yahoo.com> Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: /usr/local/rc.d/apache22 start doesn't start 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: Sun, 16 Dec 2007 00:42:39 -0000 Hello Yuri, perhaps you should try this command : apachectl start|stop|restart|graceful That works for me :) ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 01:20:07 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0538A16A469 for ; Sun, 16 Dec 2007 01:20:06 +0000 (UTC) (envelope-from jekillen@prodigy.net) Received: from smtp120.sbc.mail.sp1.yahoo.com (smtp120.sbc.mail.sp1.yahoo.com [69.147.64.93]) by mx1.freebsd.org (Postfix) with SMTP id E92AE13C4EA for ; Sun, 16 Dec 2007 01:20:06 +0000 (UTC) (envelope-from jekillen@prodigy.net) Received: (qmail 38149 invoked from network); 16 Dec 2007 01:20:06 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=prodigy.net; h=Received:X-YMail-OSG:Mime-Version:Content-Transfer-Encoding:Message-Id:Content-Type:To:From:Subject:Date:X-Mailer; b=j/BLr7g02YQaLYpB/bfUG4tA/2IBFddcAG2VGSknDQFosAaSG2h0M6s3EFPeQdNpouzoeauDHqTKq2llJZGdHA1Z5AGZFB8dsBTjNFmRAhO142+H7Fl20dqvobxpTA+x7wRwwRW5OZVJjCfpI9ijoPEKv6mPNmhQrJmURS1yBV0= ; Received: from unknown (HELO ?75.7.236.228?) (jekillen@prodigy.net@75.7.236.228 with plain) by smtp120.sbc.mail.sp1.yahoo.com with SMTP; 16 Dec 2007 01:20:05 -0000 X-YMail-OSG: V3N3qegVM1njDtK8RGkk3mFByEMKZ3QGyK49dKv4GqGn4aXYXdrDWx4NyRtlCqKu8j53jp5Rcw-- Mime-Version: 1.0 (Apple Message framework v622) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: FreeBSD Mailing List From: jekillen Date: Sat, 15 Dec 2007 17:21:35 -0800 X-Mailer: Apple Mail (2.622) Subject: Panic 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: Sun, 16 Dec 2007 01:20:07 -0000 Hello; I have had an AMD64 754 system that I have 64 bit SCSI card and two 15k rpm SCSI drives. It has been running fine with FreeBSD v 6.0 for about two years now. I have several things I wanted to change and reconfigure, software wise, and hardware wise. The first was a new case which I got today. I shut down the system, put everything in the new case and booted. It booted without any complaint. I got the V6.2 install cd and put it in. The system froze during boot process after an entry for mpt 0. I turned off the power and tried rebooting into the install cd. This time it made it to sysinstall and went through slice and partitioning and was in the process of installing the base system and it froze again, no error messaged to console. I rebooted and started again. The second time I got all the way through the install process. Now on reboot the system is panicking just after the line mtp0 hidden device members(6) The error is: Fatal Trap 12 (the screen does not persist long enough to transcribe it all.) Three tries, the same thing in the same place in the boot process. does this mean the scsi drives or card is going bad? (I nope not) the card is LSI Logic 64 bit card (installed in a standard PCI slot but has been working with an inch of the card hanging off the end of the slot. I only have one internal bus available this way, but that is all I need. Thanks in advance for info Jeff K (chewing my fingernails) From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 01:31:05 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E68D16A47F for ; Sun, 16 Dec 2007 01:31:05 +0000 (UTC) (envelope-from jekillen@prodigy.net) Received: from smtp124.sbc.mail.sp1.yahoo.com (smtp124.sbc.mail.sp1.yahoo.com [69.147.64.97]) by mx1.freebsd.org (Postfix) with SMTP id 53D0813C43E for ; Sun, 16 Dec 2007 01:31:05 +0000 (UTC) (envelope-from jekillen@prodigy.net) Received: (qmail 7336 invoked from network); 16 Dec 2007 01:31:05 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=prodigy.net; h=Received:X-YMail-OSG:Mime-Version:In-Reply-To:References:Content-Type:Message-Id:Content-Transfer-Encoding:From:Subject:Date:To:X-Mailer; b=myE/UQqbjih/nCJIomDihj7vrO6QyJNnbWbVZt0hOw7y8s7UBK/gzFbwfsdMvKglEyZqNp8G75UYmh24/8K+AbCn5bRrFHxZe4/gnCsg5Dv4QrKjv0lyv0F5zHQRstuoebDk0KWI9ng2JVGb/fVxIFUXCLbR8lA/Wsxu30R6zkk= ; Received: from unknown (HELO ?75.7.236.228?) (jekillen@prodigy.net@75.7.236.228 with plain) by smtp124.sbc.mail.sp1.yahoo.com with SMTP; 16 Dec 2007 01:31:04 -0000 X-YMail-OSG: OtilvHMVM1kFzpEOSD.yQo1HUVvyaV7e2hdwySqsT0DhSqZm4oiH1uqGpcXtV3bC1mW4rALhYuIKus.IEsGySR6xBMU9ecEjoMal05br7r.eFMJuqG4NhtsJ6IC2 Mime-Version: 1.0 (Apple Message framework v622) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: jekillen Date: Sat, 15 Dec 2007 17:32:34 -0800 To: FreeBSD Mailing List X-Mailer: Apple Mail (2.622) Subject: Re: Panic 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: Sun, 16 Dec 2007 01:31:05 -0000 On Dec 15, 2007, at 5:21 PM, jekillen wrote: > Hello; > I have had an AMD64 754 system that I have 64 bit SCSI card and > two 15k rpm SCSI drives. It has been running fine with FreeBSD v 6.0 > for about two years now. I have several things I wanted to change > and reconfigure, software wise, and hardware wise. The first was a new > case which I got today. I shut down the system, put everything in the > new > case and booted. It booted without any complaint. I got the V6.2 > install > cd and put it in. The system froze during boot process after an entry > for mpt 0. I turned off the power and tried rebooting into the install > cd. > This time it made it to sysinstall and went through slice and > partitioning > and was in the process of installing the base system and it froze > again, > no error messaged to console. I rebooted and started again. The second > time I got all the way through the install process. > > Now on reboot the system is panicking just after the line > mtp0 hidden device members(6) > The error is: > Fatal Trap 12 (the screen does not persist > long enough to transcribe it all.) > Three tries, the same thing in the same place in the boot > process. I tried it agian and the same thing happened. This time I got more of the error message. 'page fault while in kernel mode' > > does this mean the scsi drives or card is going bad? (I nope not) > the card is LSI Logic 64 bit card (installed in a standard PCI slot but > has been working with an inch of the card hanging off the end > of the slot. I only have one internal bus available this way, but > that is > all I need. > Thanks in advance for info > Jeff K > (chewing my fingernails) > > _______________________________________________ > 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 Dec 16 02:13:56 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BB6016A41A for ; Sun, 16 Dec 2007 02:13:56 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from smtp.utwente.nl (unknown [IPv6:2001:610:1908:1000:204:23ff:feb7:ef56]) by mx1.freebsd.org (Postfix) with ESMTP id DBD4013C442 for ; Sun, 16 Dec 2007 02:13:55 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from lux.student.utwente.nl (lux.student.utwente.nl [130.89.170.81]) by smtp.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id lBG2Dl0k003323; Sun, 16 Dec 2007 03:13:47 +0100 From: Pieter de Goeje To: freebsd-questions@freebsd.org Date: Sun, 16 Dec 2007 03:13:46 +0100 User-Agent: KMail/1.9.7 References: <4763C9B4.4010902@gmx.net> <47642CB5.5070906@web.de> In-Reply-To: <47642CB5.5070906@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712160313.46941.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact helpdesk@ITBE.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: Frank Staals , Tino Engel Subject: Re: Distributing directory over multiple discs ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2007 02:13:56 -0000 On Saturday 15 December 2007, Tino Engel wrote: > Frank Staals schrieb: > > Since one of my discs is filling up rather quickly (Say disc A ) while > > an other one stays quite empty (say disc B ) I would like to > > distribute the content of a directory on disc A over both A and B. I > > know I can simply move some of the files over to a sperate directory > > on disc B but is is possible to somehow merge the 2 ? So for example > > if I would do an ls in discA/dir I would also see the files that are > > stored on discB/an/other/dir ? And off-course if this is possible how > > can I acchieve something like that > > > > Regards, > > I think on debian it used to be (or it is, dunno, I use freebsd now) > possible to mount 2 filesystems on one mount point. the OS then took > care of assigning the space. Well, I do not want to try it on my system > though... On FreeBSD this is called "unionfs". Take a look at mount_unionfs(8) and mount(8)'s "union" option. HTH, Pieter de Goeje From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 02:23:24 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20F2D16A419 for ; Sun, 16 Dec 2007 02:23:24 +0000 (UTC) (envelope-from sebosik@demax.sk) Received: from mail.demax.sk (mail.demax.sk [213.215.102.234]) by mx1.freebsd.org (Postfix) with ESMTP id DE05A13C448 for ; Sun, 16 Dec 2007 02:23:23 +0000 (UTC) (envelope-from sebosik@demax.sk) Received: from mail.demax.sk (localhost [127.0.0.1]) by nod32.demax.sk (Postfix) with ESMTP id 70C5342B75 for ; Sun, 16 Dec 2007 02:53:37 +0100 (CET) X-Virus-Scanner: This message was checked by NOD32 Antivirus system NOD32 for Linux Mail Server. For more information on NOD32 Antivirus System, please, visit our website: http://www.nod32.com/. Received: from [192.168.1.2] (2D204.demax.sk [195.62.17.204]) by mail.demax.sk (Postfix) with ESMTP id 5A76342B74 for ; Sun, 16 Dec 2007 02:53:37 +0100 (CET) Message-ID: <4764851D.4030304@demax.sk> Date: Sun, 16 Dec 2007 02:53:33 +0100 From: Jan Sebosik User-Agent: Thunderbird 2.0.0.9 (X11/20071117) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Subject: [snd_emu10k1] SB Audigy 3D sound in default ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2007 02:23:24 -0000 Hi I`m using Creative SoundBlaster Audigy 1 card within FreeBSD RELENG-7. When I hear to music from web radio, or watch some movie, sound from Audigy card sounds like 3D or something like this on headphones. When I tried my Realtek ALC888 on-board codec with snd_hda, sound in headphone was allright - classical flat stereo. Is there any way how to force audigy to play in stereo mode ? Or turn off those 3D effects ? Best regards --- Jan Sebosik, Slovakia sebosik@demax.sk From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 02:43:55 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A36D16A418; Sun, 16 Dec 2007 02:43:55 +0000 (UTC) (envelope-from efinleywork@efinley.com) Received: from postmaster.etv.net (postmaster.etv.net [66.111.113.15]) by mx1.freebsd.org (Postfix) with ESMTP id 4CCDF13C457; Sun, 16 Dec 2007 02:43:55 +0000 (UTC) (envelope-from efinleywork@efinley.com) Received: from efinley04.etv.net ([74.214.237.51] helo=science3.efinley.com) by postmaster.etv.net with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.68 (FreeBSD)) (envelope-from ) id 1J3jTu-0003v4-Vj; Sat, 15 Dec 2007 19:43:55 -0700 From: Elliot Finley To: Jeremy Chadwick Date: Sat, 15 Dec 2007 19:43:55 -0700 Organization: Emery Telcom Message-ID: <8249m3pqc4qn9g2dt2got69m40hl77aslv@4ax.com> References: <20071215235810.GA81924@eos.sc1.parodius.com> In-Reply-To: <20071215235810.GA81924@eos.sc1.parodius.com> X-Mailer: Forte Agent 4.1/32.1088 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org, User Questions Subject: Re: OS bug in taskq X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: efinleywork@efinley.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2007 02:43:55 -0000 On Sat, 15 Dec 2007 15:58:10 -0800, you wrote: >On Sat, Dec 15, 2007 at 01:03:14PM -0700, Elliot Finley wrote: >> I have: >> dumpdev=3D"AUTO" >> in /etc/rc.conf and: >> ...=20 >> in the kernel and I'm still unable to obtain a crash dump. Hopefully >> there is enough info in this email for a hacker to point me in the >> right direction to debug this. > >I can't help with the panic itself, but the reason for the inability to >obtain a crash dump is mentioned in a thread I started in November: > >http://lists.freebsd.org/pipermail/freebsd-stable/2007-November/038069.h= tml > >The explanation of the problem was documented best by Doug Barton in >this thread (over at freebsd-rc@): > >http://lists.freebsd.org/pipermail/freebsd-rc/2007-November/001263.html In this thread it states: Short term fix is to disable swapping on the system long enough to get the dump, then reboot with swapping turned back on. how do I turn swapping off? I don't think I can just not mount it, because then it wouldn't exist for the dump. > >Open PR: > >http://www.freebsd.org/cgi/query-pr.cgi?pr=3D118255 From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 02:45:07 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63DA916A475; Sun, 16 Dec 2007 02:45:07 +0000 (UTC) (envelope-from dtynan@kalopa.com) Received: from mail.kalopa.net (mail.kalopa.net [82.195.155.65]) by mx1.freebsd.org (Postfix) with ESMTP id F400A13C467; Sun, 16 Dec 2007 02:45:06 +0000 (UTC) (envelope-from dtynan@kalopa.com) Received: from mail.kalopa.com (mail.kgbb.net [84.203.222.58]) by mail.kalopa.net (8.13.6/8.13.3) with ESMTP id lBG2pO8n069569; Sun, 16 Dec 2007 02:51:24 GMT (envelope-from dtynan@kalopa.com) Received: (from dtynan@localhost) by mail.kalopa.com (8.11.3/8.11.3) id lBG2itO25239; Sun, 16 Dec 2007 02:44:55 GMT (envelope-from dtynan) Received: from mail.kalopa.net (mail.kalopa.net [82.195.155.65]) by mail.kalopa.com (8.11.3/8.11.3) with ESMTP id lBG2is525232 for ; Sun, 16 Dec 2007 02:44:54 GMT (envelope-from owner-freebsd-stable@freebsd.org) Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by mail.kalopa.net (8.13.6/8.13.3) with ESMTP id lBG2ogCd069534 for ; Sun, 16 Dec 2007 02:51:13 GMT (envelope-from owner-freebsd-stable@freebsd.org) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 21AC9BCEC2; Sun, 16 Dec 2007 02:44:04 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 348B316A52E; Sun, 16 Dec 2007 02:44:02 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A36D16A418; Sun, 16 Dec 2007 02:43:55 +0000 (UTC) (envelope-from efinleywork@efinley.com) Received: from postmaster.etv.net (postmaster.etv.net [66.111.113.15]) by mx1.freebsd.org (Postfix) with ESMTP id 4CCDF13C457; Sun, 16 Dec 2007 02:43:55 +0000 (UTC) (envelope-from efinleywork@efinley.com) Received: from efinley04.etv.net ([74.214.237.51] helo=science3.efinley.com) by postmaster.etv.net with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.68 (FreeBSD)) (envelope-from ) id 1J3jTu-0003v4-Vj; Sat, 15 Dec 2007 19:43:55 -0700 From: Elliot Finley X-DoIKnowU: Addr=[/v/dtynan/Mail/Addresses] X-Known: NO To: Jeremy Chadwick Date: Sat, 15 Dec 2007 19:43:55 -0700 Organization: Emery Telcom Message-ID: <8249m3pqc4qn9g2dt2got69m40hl77aslv@4ax.com> References: <20071215235810.GA81924@eos.sc1.parodius.com> In-Reply-To: <20071215235810.GA81924@eos.sc1.parodius.com> X-Mailer: Forte Agent 4.1/32.1088 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-stable@freebsd.org Errors-To: owner-freebsd-stable@freebsd.org X-Virus-Scanned: ClamAV 0.88.1/5140/Sat Dec 15 21:09:37 2007 on mail.kalopa.net X-Virus-Scanned: ClamAV 0.88.1/5140/Sat Dec 15 21:09:37 2007 on mail.kalopa.net X-Virus-Status: Clean X-Spam-Status: No, score=-1.5 required=6.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO,SPF_SOFTFAIL autolearn=no version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on mail.kalopa.net Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.kalopa.com id lBG2is525232 Cc: freebsd-stable@freebsd.org, User Questions Subject: Re: OS bug in taskq X-BeenThere: freebsd-questions@freebsd.org Reply-To: efinleywork@efinley.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2007 02:45:07 -0000 On Sat, 15 Dec 2007 15:58:10 -0800, you wrote: >On Sat, Dec 15, 2007 at 01:03:14PM -0700, Elliot Finley wrote: >> I have: >> dumpdev="AUTO" >> in /etc/rc.conf and: >> ... >> in the kernel and I'm still unable to obtain a crash dump. Hopefully >> there is enough info in this email for a hacker to point me in the >> right direction to debug this. > >I can't help with the panic itself, but the reason for the inability to >obtain a crash dump is mentioned in a thread I started in November: > >http://lists.freebsd.org/pipermail/freebsd-stable/2007-November/038069.html > >The explanation of the problem was documented best by Doug Barton in >this thread (over at freebsd-rc@): > >http://lists.freebsd.org/pipermail/freebsd-rc/2007-November/001263.html In this thread it states: Short term fix is to disable swapping on the system long enough to get the dump, then reboot with swapping turned back on. how do I turn swapping off? I don't think I can just not mount it, because then it wouldn't exist for the dump. > >Open PR: > >http://www.freebsd.org/cgi/query-pr.cgi?pr=118255 _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 04:10:49 2007 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E9D216A41A for ; Sun, 16 Dec 2007 04:10:49 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id B6E3713C448 for ; Sun, 16 Dec 2007 04:10:48 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id lBG4AjQ4066701; Sat, 15 Dec 2007 20:10:45 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id lBG4AjXs066700; Sat, 15 Dec 2007 20:10:45 -0800 (PST) (envelope-from kline) Date: Sat, 15 Dec 2007 20:10:44 -0800 From: Gary Kline To: Randy Pratt Message-ID: <20071216041044.GA66655@thought.org> References: <20071215065949.GA59601@thought.org> <20071215102601.fdd31e7b.bsd-unix@embarqmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071215102601.fdd31e7b.bsd-unix@embarqmail.com> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 21 of service to the Unix community. Cc: Gary Kline , FreeBSD Mailing List Subject: Re: Is it safe yet! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2007 04:10:49 -0000 On Sat, Dec 15, 2007 at 10:26:01AM -0500, Randy Pratt wrote: > On Fri, 14 Dec 2007 22:59:49 -0800 > Gary Kline wrote: > > > People, > > > > I'd like to do a complete upgrade to see if I can fix whatever is > > broken with evolution. > > Evolution was updated a few days ago but there's no guarantee that > it will fix whatever. You might try asking on a more specific question > on freebsd-gnome mailing list. The more information you supply will > help those who can answer. > > > I'm considerned about the MGA driver NOT having been backed up to > > what worked. My xf86-video-mga is back-patched to v 1.4.7, IIRC > > Everything works correcctly. But looking at the newest version of > > xf86-video-mga (and mga-new) it looks like both ports are what > > they were. > > Florent Thoumie has requested feedback from those using the patch from > ports/117726 for x11-drivers/xf86-video-mga: > > http://docs.freebsd.org/cgi/mid.cgi?a01628140712120517k667af97clddb475aca3b644d8 > > It appears that the current version in the ports tree, > xf86-video-mga-1.9.100, works for some using a dual-head configuration > while some have trouble using it with a single monitor. > > A ports update may try to update your patched version to the latest. > Its possible to 'hold' a port from updating. If you're using > portupgrade, the easiest might be to add an entry to the "HOLD_PKGS" > section of /usr/local/etc/pkgtools.conf : > > HOLD_PKGS = [ > 'bsdpan-*', > 'x11-drivers/xf86-video-mga', > ] > > There are other port update tools and methods to prevent a port > from being updated but the preceeding is my preference. > > It would also be up to you to determine when to remove the entry > and update. I'd suggest following the freebsd-x11 mailing list > online for mga driver discussions: > > http://docs.freebsd.org/mail/current/freebsd-x11.html > Well, after upgrading the upgradable--without touching the drivver--I finally wrote Florent Thoumie a note and explained my quandrry. The docs.freebsd.org URL was no longer valid, and it's hard to tell much more from the ports listings. My overnight portupgrade did not fiix the evo problems, but tolf me that I was missing several ``things-Gnome'' ... so I've been rebuilding a slew of things. Getting there! gary > Is it safe yet? I'm presuming you mean is it safe to update ports > at this time. The ports tree is in "thaw" state after the tree was > tagged for the 6.3 and 7.0 releases so new commits are being made. > I'm just not sure how to answer the 'safe' part though. > > HTH, > > Randy > -- -- Gary Kline kline@thought.org www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 04:39:06 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA8C616A419 for ; Sun, 16 Dec 2007 04:39:06 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 0C38513C4F3 for ; Sun, 16 Dec 2007 04:39:05 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (dialup47.ach.sch.gr [81.186.70.47]) (authenticated bits=128) by igloo.linux.gr (8.14.1/8.14.1/Debian-9) with ESMTP id lBG4c9wp008683 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 16 Dec 2007 06:38:37 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.2/8.14.2) with ESMTP id lBG4c8Yo059803; Sun, 16 Dec 2007 06:38:08 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.2/8.14.2/Submit) id lBG4c7oa059714; Sun, 16 Dec 2007 06:38:07 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Sun, 16 Dec 2007 06:38:07 +0200 From: Giorgos Keramidas To: Frank Shute Message-ID: <20071216043807.GB53561@kobe.laptop> References: <20071214010542.GA19553@demeter.hydra> <200712132012.32729.mike.jeays@rogers.com> <20071214211008.GA12935@melon.esperance-linux.co.uk> <20071215021349.GF2062@kobe.laptop> <20071215135403.GA16763@melon.esperance-linux.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071215135403.GA16763@melon.esperance-linux.co.uk> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.951, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.45, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: FreeBSD Questions Subject: Re: pdksh vs. mksh info [was: Re: Apparently, csh programming is considered harmful.] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2007 04:39:06 -0000 On 2007-12-15 13:54, Frank Shute wrote: >> % keramida@kobe:/usr/local/bin$ ls -ld mksh bash ksh >> % -rwxr-xr-x 1 root wheel - 684699 Dec 9 19:51 bash >> % -r-xr-xr-x 1 root wheel - 2390645 Aug 31 17:07 ksh >> % -r-xr-xr-x 1 root wheel - 236202 Dec 9 18:34 mksh > > Wow. My pdksh is much smaller: > > $ ls -ld /usr/local/bin/ksh > -r-xr-xr-x 1 root wheel 681584 Jan 23 2007 /usr/local/bin/ksh > > $ pkg_info -W /usr/local/bin/ksh > /usr/local/bin/ksh was installed by package pdksh-5.2.14p2_2 > > It's also statically compiled. I wonder what is bloating yours so > much. Was it built with debugging code or something? Yes. All my ports are build with DEBUG_FLAGS='-g' this time, so it may be the cause of the pdksh bloat. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 05:10:07 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1617A16A41B for ; Sun, 16 Dec 2007 05:10:07 +0000 (UTC) (envelope-from dan@nyi.unixathome.org) Received: from nyi.unixathome.org (nyi.unixathome.org [64.147.113.42]) by mx1.freebsd.org (Postfix) with ESMTP id F125B13C447 for ; Sun, 16 Dec 2007 05:10:06 +0000 (UTC) (envelope-from dan@nyi.unixathome.org) Received: from localhost (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id 0D065508B4 for ; Sun, 16 Dec 2007 05:10:05 +0000 (GMT) X-Virus-Scanned: amavisd-new at unixathome.org Received: from nyi.unixathome.org ([127.0.0.1]) by localhost (nyi.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bETmoxR1kGY6 for ; Sun, 16 Dec 2007 05:10:02 +0000 (GMT) Received: by nyi.unixathome.org (Postfix, from userid 1001) id 36CB150856; Sun, 16 Dec 2007 05:10:02 +0000 (GMT) From: Dan Langille To: freebsd-questions@freebsd.org Message-Id: <20071216051002.36CB150856@nyi.unixathome.org> Date: Sun, 16 Dec 2007 05:10:02 +0000 (GMT) Subject: The FreeBSD Diary: 2007-11-25 - 2007-12-15 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2007 05:10:07 -0000 The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives and/or The FreeBSD Diary . These are the articles posted during this period: 9-Dec : IMAP - getting Dovecot running POP implies one computer. IMAP allows many. http://freebsddiary.org/dovecot.php?2 -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 05:38:52 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E08916A418 for ; Sun, 16 Dec 2007 05:38:52 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id 8AA4013C458 for ; Sun, 16 Dec 2007 05:38:49 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with SMTP id QAA03586; Sun, 16 Dec 2007 16:37:54 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 16 Dec 2007 16:37:54 +1100 (EST) From: Ian Smith To: Kevin Kinsey In-Reply-To: <20071216022333.9119316A569@hub.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org, Rudy Subject: Re: cron pile up! Lot's of "cron: running job (cron)" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2007 05:38:52 -0000 On Sat, 15 Dec 2007 16:18:31 -0600 Kevin Kinsey wrote: > Rudy wrote: > >> The thing is, sometimes it runs fine, other times it backlogs (It may > >> complete at a latter date... the PID 82253 is still waiting ... Gonna > >> see it it completes instead of killing all the stuck crons...). > >> > > > > All the crons are cleared out right now... 'ps' shows only crond. > > Related to putting the other cron job in " marks??? > > > > Well, I think I messed up in my suggestion, by omitting the > CRON at the end. My point/thought was, put the entire command > "/path/to/script.sh ARG" in quotes. > > Cron is pretty archaic, and I wondered if it was trying to > run "/path/to/script.sh" and "ARG" as two jobs instead of > one, and hanging on "ARG" since CRON is something of a > reserved word. IANAE, YMMV, and all that. MMV :) The following has been merrily running on three boxes, the oldest of them for, um, 9.5 years: */5 * * * * root /root/bin/ipfwsnap cron Yes, 'cron' is a checked and logged argument to ipfwsnap. Various other /etc/crontab entries demonstrate no need to enclose arguments in quotes, except where they'd be necessary anyway - as per examples in crontab(5) Cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 07:24:16 2007 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D574F16A417 for ; Sun, 16 Dec 2007 07:24:16 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id 821FC13C469 for ; Sun, 16 Dec 2007 07:24:16 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id lBG7OFR3067749 for ; Sat, 15 Dec 2007 23:24:15 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id lBG7OFVv067748 for freebsd-questions@FreeBSD.ORG; Sat, 15 Dec 2007 23:24:15 -0800 (PST) (envelope-from kline) Date: Sat, 15 Dec 2007 23:24:15 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20071216072415.GA67716@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 21 of service to the Unix community. Cc: Subject: missing shared lib...?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2007 07:24:16 -0000 Can anybody explain what causes xmms to give me this output:: Gtk-WARNING **: Failed to load module "libgnomebreakpad.so": Shared object "libgnomebreakpad.so" not found, required by "xmms" and then to proceed to work very well? I thought xmms was' window-manager agnostic, yet evidently it's looking for *something* gnome..... Anybody? (Ideally, I'd like xmms to be able to play ANYTHING from realauiodio to windoze to mp4.... But would be happy to just get rid of this stderr output. tia, gentlemen, gary -- Gary Kline kline@thought.org www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 09:44:34 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF7A916A417 for ; Sun, 16 Dec 2007 09:44:34 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 2BE1513C459 for ; Sun, 16 Dec 2007 09:44:33 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: (qmail invoked by alias); 16 Dec 2007 09:44:32 -0000 Received: from nat-wh-1.rz.uni-karlsruhe.de (EHLO homeKamikaze.norad) [129.13.72.169] by mail.gmx.net (mp007) with SMTP; 16 Dec 2007 10:44:32 +0100 X-Authenticated: #5465401 X-Provags-ID: V01U2FsdGVkX1+2+cZSX1G2KbkJV0YGY6kWE7B29KB6Yi3GW5bwjM YXVggX+Lkqz1fz Message-ID: <4764F37E.2010106@gmx.de> Date: Sun, 16 Dec 2007 10:44:30 +0100 From: Dominic Fandrey User-Agent: Thunderbird 2.0.0.9 (X11/20071203) MIME-Version: 1.0 To: Frank Shute References: <20071214175906.D727.A38C9147@seibercom.net> <20071215010359.GA13564@melon.esperance-linux.co.uk> <20071215065435.741B.A38C9147@seibercom.net> <20071215135437.GB16763@melon.esperance-linux.co.uk> In-Reply-To: <20071215135437.GB16763@melon.esperance-linux.co.uk> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: FreeBSD Questions Subject: Re: Apparently, csh programming is considered harmful. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2007 09:44:34 -0000 Frank Shute wrote: > On Sat, Dec 15, 2007 at 06:57:09AM -0500, Gerard Seibert wrote: >>> On December 14, 2007 at 08:03PM Frank Shute wrote: >>> On Fri, Dec 14, 2007 at 06:00:14PM -0500, Gerard Seibert wrote: >>>>> On December 14, 2007 at 04:10PM Frank Shute wrote: >>>> [ snip ] >>>> >>>>> I'm happy with sh as the system shell though; it's light weight: >>>>> >>>>> $ ls -l /bin/sh >>>>> -r-xr-xr-x 1 root wheel 111028 Nov 30 00:10 /bin/sh >> ~ $ ls -l /bin/sh >> -r-xr-xr-x 1 root wheel 111788 Oct 5 13:55 /bin/sh* > > I can understand why the size of sh might be different. Different > patch levels. (Built almost 2 months apart). > >> >>>>> $ ls -l /bin/ksh >>>>> -r-xr-xr-x 1 root wheel 681584 Oct 6 12:33 /bin/ksh >>>>> >>>>> How about giving us all a laugh and posting the results for bash ;) >>>> ~ $ ls -l /usr/local/bin/bash >>>> -rwxr-xr-x 1 root wheel 643984 Sep 12 15:51 /usr/local/bin/bash* >>>> >>> pdksh has put on weight. Used to be ~300k in the 4.* days and bash >>> about 500k IIRC. On my machine bash is bigger than yours (newer version?): >> ~ $ bash --version >> bash --version >> GNU bash, version 3.2.25(0)-release (i386-portbld-freebsd6.2) >> Copyright (C) 2005 Free Software Foundation, Inc. > > Same as mine: > > $ bash --version > GNU bash, version 3.2.25(0)-release (i386-portbld-freebsd6.2) > Copyright (C) 2005 Free Software Foundation, Inc. > > I'm not too sure why my bash is different in size. I guess it sucked > in slightly different code when built due to our base systems being the > 2 months apart. > > [snip] > Such differences can as well happen due to different CPUTYPE settings. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 10:22:56 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFCFD16A418 for ; Sun, 16 Dec 2007 10:22:56 +0000 (UTC) (envelope-from freebsd@alapazz.com) Received: from v044589.home.net.pl (v044589.home.net.pl [89.161.223.139]) by mx1.freebsd.org (Postfix) with SMTP id E842F13C44B for ; Sun, 16 Dec 2007 10:22:55 +0000 (UTC) (envelope-from freebsd@alapazz.com) Received: from 83.141.81.163 (HELO freebsd.org) (freebsd.alapazz@home@83.141.81.163) by m128.home.net.pl with SMTP; Sun, 16 Dec 2007 09:56:15 -0000 Message-ID: <4764F62D.5050505@alapazz.com> Date: Sun, 16 Dec 2007 09:55:57 +0000 From: freebsd User-Agent: Thunderbird 2.0.0.6 (X11/20071020) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: freebsd 7-BETA4+MS USB Wireless Mouse X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2007 10:22:56 -0000 Hi All I've just installed Freebsd 7-Beta4 and I cannot get my mouse to work. During the boot I can see that the mouse is detected ums0: on uhub1 ums0: 5 buttons and a TILT dir. but it doesn't move I tested with moused and I got the following freebsd# moused -f -d -p /dev/ums0 -t auto moused: proto params: f8 80 00 00 8 00 ff moused: port: /dev/ums0 interface: usb type: sysmouse model: generic moused: received char 0x87 moused: received char 0x0 moused: received char 0x1 moused: received char 0x1 moused: received char 0x1 moused: received char 0x0 moused: received char 0x0 moused: received char 0x7f moused: assembled full packet (len 8) 87,0,1,1,1,0,0,7f moused: tv: 1197798434 122191 moused: flags:80000000 buttons:00000000 obuttons:00000000 moused: activity : buttons 0x00000000 dx 1 dy -2 dz 0 after that mouse hangs usbdevs output: Controller /dev/usb3: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00 port 1 addr 2: low speed, power 50 mA, config 1, product 0x00b9(0x00b9), vendor 0x045e(0x045e), rev 0.13 port 2 powered How can I get my mouse to work? Regards Zbyszek From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 10:32:44 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4858B16A418 for ; Sun, 16 Dec 2007 10:32:44 +0000 (UTC) (envelope-from kpachnis@freemail.gr) Received: from smtp.freemail.gr (smtp.freemail.gr [81.171.104.132]) by mx1.freebsd.org (Postfix) with ESMTP id ECCDD13C46A for ; Sun, 16 Dec 2007 10:32:43 +0000 (UTC) (envelope-from kpachnis@freemail.gr) Received: from ariadni.fantasia.ldn (unknown [88.218.48.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.freemail.gr (Postfix) with ESMTP id B0A97338165; Sun, 16 Dec 2007 12:32:42 +0200 (EET) Message-ID: <4764FEC7.1080901@freemail.gr> Date: Sun, 16 Dec 2007 12:32:39 +0200 From: Konstantinos Pachnis User-Agent: Thunderbird 2.0.0.9 (X11/20071123) MIME-Version: 1.0 To: "O. Hartmann" References: <47623ABD.4080902@zedat.fu-berlin.de> In-Reply-To: <47623ABD.4080902@zedat.fu-berlin.de> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: ruby-postgresql driver seems broken? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2007 10:32:44 -0000 O. Hartmann wrote: > Hello, > after installing a fresh copy of FreeBSD 7.0-BETA4 on a new box I also > tried installing rubygem-postgres/ruby-dbd_pg (ports/database). But I > get this error: > > ===> Vulnerability check disabled, database not found > => postgres-0.7.1.2006.04.06.gem is not in > /usr/ports/databases/rubygem-postgres/distinfo. > => Either /usr/ports/databases/rubygem-postgres/distinfo is out of > date, or > => postgres-0.7.1.2006.04.06.gem is spelled incorrectly. > *** Error code 1 > > Stop in /usr/ports/databases/rubygem-postgres. > > > Is there anything wrong? > > Regards, > Oliver > _______________________________________________ > 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" > Upgrade your ports and try again. Konstantinos From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 10:40:18 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5124516A417 for ; Sun, 16 Dec 2007 10:40:18 +0000 (UTC) (envelope-from kpachnis@freemail.gr) Received: from smtp.freemail.gr (smtp.freemail.gr [81.171.104.132]) by mx1.freebsd.org (Postfix) with ESMTP id 00FFB13C45D for ; Sun, 16 Dec 2007 10:40:17 +0000 (UTC) (envelope-from kpachnis@freemail.gr) Received: from ariadni.fantasia.ldn (unknown [88.218.48.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.freemail.gr (Postfix) with ESMTP id 552423381AA; Sun, 16 Dec 2007 12:40:17 +0200 (EET) Message-ID: <4765008E.1000704@freemail.gr> Date: Sun, 16 Dec 2007 12:40:14 +0200 From: Konstantinos Pachnis User-Agent: Thunderbird 2.0.0.9 (X11/20071123) MIME-Version: 1.0 To: Zbigniew Komarnicki References: <200712141742.30001.cblasius@gmail.com> In-Reply-To: <200712141742.30001.cblasius@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: csh programing book X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2007 10:40:18 -0000 Zbigniew Komarnicki wrote: > Hello! > > Is there a good programming book for csh as for example for bash (free > available) ? > > For bash is here: > http://tldp.org/LDP/abs/html/ > > Is such book for csh on the net (free available) ? > > Thank you for any hints. > > Best regards, > Zbigniew > _______________________________________________ > 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" > > O'reilly has a book regarding csh & tcsh named Using csh & tcsh but it's not covering programming and it is not free either http://www.oreilly.com/catalog/tcsh/. For shell programming you should consider using an alternative shell such as bash, zsh and/or ksh, all available on FreeBSD ports collection. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 10:48:38 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B545D16A41A for ; Sun, 16 Dec 2007 10:48:38 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 4FBF413C45D for ; Sun, 16 Dec 2007 10:48:38 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 28942 invoked from network); 16 Dec 2007 04:48:36 -0600 Received: from 124-170-40-102.dyn.iinet.net.au (HELO localhost) (124.170.40.102) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 16 Dec 2007 04:48:34 -0600 Date: Sun, 16 Dec 2007 21:48:00 +1100 From: Norberto Meijome To: FreeBSD Questions ML Message-ID: <20071216214800.1e324547@meijome.net> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.3; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: V3x Phone as modem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2007 10:48:38 -0000 Hi everyone, I have a Motorola v3x mobile phone, which I use with my 3G enabled phone provider ( Hutchinson's 3 , in Australia). I was wondering if anyone managed to get this phone to work as a modem. This is what I do and have : - FreeBSD 7 Beta-4, kernel + world from today. Ports up to date. - Custom kernel, ucom built in. Computer is a Thinkpad z60 - The phone is in 'Data connection' mode before I plug it into my computer. The connection to the phone is via USB. - When adding the device, the console shows: ugen1: on uhub0 $ sudo usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 addr 2: full speed, power 500 mA, config 1, Motorola Phone (RAZRV3x)(0x3002), Motorola Inc.(0x22b8), rev 0.01 port 2 powered - The only differences in /dev when connecting the phone : $ diff dev1 dev2 119a120,123 > ugen1 > ugen1.11 > ugen1.5 > ugen1.6 - There is software to make it work with MS-Windows (it installs some drivers), and i've seen references to it being used under linux (with wvdial), though no actual references to the device driver used. thanks in advance! Beto _________________________ {Beto|Norberto|Numard} Meijome "Quality is never an accident, it is always the result of intelligent effort." John Ruskin (1819-1900) I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 11:35:27 2007 Return-Path: Delivered-To: FreeBSD-Questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E720D16A417 for ; Sun, 16 Dec 2007 11:35:27 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.246]) by mx1.freebsd.org (Postfix) with ESMTP id 86B5113C442 for ; Sun, 16 Dec 2007 11:35:27 +0000 (UTC) (envelope-from modulok@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so531275anc.13 for ; Sun, 16 Dec 2007 03:35:27 -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:cc:mime-version:content-type:content-transfer-encoding:content-disposition; bh=ENLnl4JIrTc2AWg5G0KzUkPp8VWF4yZUCS+YRBmybRE=; b=C2xfGOjuVQh1Z54d3Ez8/QjBpyzCL9cSqKvqwn8F7AUmKC+dD6XXZ0byjomz6ZJYbL8TNu/O9MUQ6cvSiHe4hMaoJYYZggS27ykeAaxsw5G6hPUav2p/qrOGVQGkMJg49y8dPkkT4b3raYCeVIlJ2HzrSHKvzfi1KN8+Ej8TY7w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=DFzfBXdKX1VCYZuF2uYT0HHD1bQAgXtq4ZIa4xu55iKeqZxcD+NO4fz15bck/m62Qfuhw/GQmR42lwUSsfIJUrMFDW3M2lRiFjegVXtgTIM7gu3mrjFuWNu8zud4inmfHrvAz91ZFstAlP2YIr/4Bqtk3KUZ9yRYgHscn9r+dEw= Received: by 10.100.225.19 with SMTP id x19mr1437741ang.60.1197804927019; Sun, 16 Dec 2007 03:35:27 -0800 (PST) Received: by 10.70.70.2 with HTTP; Sun, 16 Dec 2007 03:35:26 -0800 (PST) Message-ID: <64c038660712160335x61bc5965m74aa98e5cc5e21af@mail.gmail.com> Date: Sun, 16 Dec 2007 04:35:27 -0700 From: Modulok To: "Tino Engel" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: FreeBSD-Questions@freebsd.org Subject: Dependencies. (was: "Yikes! FreeBSD samba-3.0.26a_2, 1 is forbidden: "Remote Code Execution...") X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2007 11:35:28 -0000 >>Code re-use is a good thing. Intricate, far-reaching dependencies are >> not. While package managers attempt to mitigate the underlying issue, >> using code re-use as an excuse for the fragility of a system design, >> is unfortunate. I do not pretend to have all of the answers, but I >> feel that current state of things could be much improved. On 12/15/07, Tino Engel wrote: >I think that what you describe as "intricate, far-reaching dependencies" >is determined by adequately designing a complex system in order to keep >it modular (in not over-sized modules) and therefore easy-to-maintain. We concern ourselves with the size of a given module in light of reducing system resource usage, (namely storage space and arguably memory usage) but we don't blink at burning 300+ megs on the ports collection... the majority of which consists of build skeletons for packages that are not installed. What happens when the ports collection grows to double it's size? Then double again? Not to worry, we'll be saving disk space on installed modules, by sharing modules between packages. (Thus making them intricately dependent upon one another.) Furthermore, we'll install them all in a single directory by default, such that they exist within the same namespace, presenting the opportunity for name conflicts. While things such as name conflicts should not happen. In the real world, they do. Come to find out, trying to maintain all the little pieces was a royal pain and thus we birthed a toolset in an attempt to solve the problem, both keeping track of dependencies and conflicts. Package managers of every shape and size popped up. While they certainly do mitigate the issue to various degrees, they do not solve the underlying problem. Often they introduce new problems. >And this is imho the only effective way to structure a big software project. So between now and eternity it is not possible for anyone to ever come up with a solution that is better? I'd like to hope otherwise. Yes, what we have works...sort of. (Your milage may vary.) Is it better than what we had? Arguably. Could it still be improved? I sincerely hope so. Sorry for the seemingly endless ranting, I'll shut up eventually :p -Modulok- From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 11:41:29 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51DFE16A41B for ; Sun, 16 Dec 2007 11:41:29 +0000 (UTC) (envelope-from elrap@web.de) Received: from fmmailgate01.web.de (fmmailgate01.web.de [217.72.192.221]) by mx1.freebsd.org (Postfix) with ESMTP id EADA113C45B for ; Sun, 16 Dec 2007 11:41:28 +0000 (UTC) (envelope-from elrap@web.de) Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate01.web.de (Postfix) with ESMTP id D4927BD56D53; Sun, 16 Dec 2007 12:41:27 +0100 (CET) Received: from [84.152.168.69] (helo=freebsdangel.de) by smtp07.web.de with asmtp (WEB.DE 4.108 #208) id 1J3rs7-0007qv-00; Sun, 16 Dec 2007 12:41:27 +0100 Message-ID: <47650F32.50609@web.de> Date: Sun, 16 Dec 2007 12:42:42 +0100 From: Tino Engel User-Agent: Thunderbird 2.0.0.6 (X11/20071110) MIME-Version: 1.0 To: Gary Kline References: <20071216072415.GA67716@thought.org> In-Reply-To: <20071216072415.GA67716@thought.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: elrap@web.de X-Sender: elrap@web.de X-Provags-ID: V01U2FsdGVkX1+wFQuGPLSrWlziZXVOPAZTzsVNEzySp/yb6CvB gUFR+bvfYAi/QNpIDb8aIwOG25DIl+xOZ2/pmcL1c3prJ8ueKj udOWdRsW8= Cc: FreeBSD Mailing List Subject: Re: missing shared lib...?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2007 11:41:29 -0000 Gary Kline schrieb: > Can anybody explain what causes xmms to give me this output:: > > Gtk-WARNING **: Failed to load module "libgnomebreakpad.so": Shared object > "libgnomebreakpad.so" not found, required by "xmms" > > and then to proceed to work very well? I thought xmms was' > window-manager agnostic, yet evidently it's looking for > *something* gnome..... > > Anybody? (Ideally, I'd like xmms to be able to play ANYTHING from > realauiodio to windoze to mp4.... But would be happy to just get > rid of this stderr output. > > > tia, gentlemen, > > > gary > > > > Maybe you want to try rebuilding xmms using 'make rmconfig' and 'make configure' before, in oreder to ensure no gnome integration is build within. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 13:01:45 2007 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 29ED816A468 for ; Sun, 16 Dec 2007 13:01:45 +0000 (UTC) (envelope-from barner@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 5D7FD13C459 for ; Sun, 16 Dec 2007 13:01:44 +0000 (UTC) (envelope-from barner@gmx.de) Received: (qmail invoked by alias); 16 Dec 2007 12:35:03 -0000 Received: from ppp-88-217-49-213.dynamic.mnet-online.de (EHLO dose.local.invalid) [88.217.49.213] by mail.gmx.net (mp004) with SMTP; 16 Dec 2007 13:35:03 +0100 X-Authenticated: #147403 X-Provags-ID: V01U2FsdGVkX1/GnlgXAvfGSpUwdJGINu91B21fPCgNeSeSYTcUEy OTvftmVTvywkbS Received: by dose.local.invalid (Postfix, from userid 1000) id 1920BC65E; Sun, 16 Dec 2007 13:38:50 +0100 (CET) Date: Sun, 16 Dec 2007 13:38:49 +0100 From: Simon Barner To: cpghost Message-ID: <20071216123849.GA1787@dose.local.invalid> References: <20071214211657.GA24213@epia-2.farid-hajji.net> <20071215102730.fb2d6a5d.ehaupt@FreeBSD.org> <20071215135415.GA56791@epia-2.farid-hajji.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jI8keyz6grp/JLjh" Content-Disposition: inline In-Reply-To: <20071215135415.GA56791@epia-2.farid-hajji.net> User-Agent: Mutt/1.5.16 (2007-06-09) X-Y-GMX-Trusted: 0 Cc: questions@FreeBSD.org, freebsd-ports@FreeBSD.org, Emanuel Haupt Subject: Re: devel/boost -- where is tools/build/v2? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2007 13:01:45 -0000 --jI8keyz6grp/JLjh Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, > 1. I didn't set NOPORTDOCS in /etc/make.conf, yet there's nothing there > besides some html files. >=20 > 2. /usr/ports/devel/boost-python/work/boost_1_34_1/tools/build/v2/tools > for example contains plenty of .jam files that are needed by bjam to > run. Those are *not* copied over. A few html files are put in doc/, > but not the real stuff (which belongs elsewhere, see 3.). You are right, the bjam scripts are currently not installed. I will prepare a patch and send it to you for testing. >=20 > 3. Those files are NOT doc files: they are needed by bjam. > Their "right" place should be something like, say, > /usr/local/lib/boost/tools/... --=20 Best regards / Viele Gr=FC=DFe, barner@FreeBSD.= org Simon Barner barner@gmx.de --jI8keyz6grp/JLjh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHZRxZCkn+/eutqCoRArziAJ9Vsny4WgigfGUdiemH+gAVHLhL3QCffMju G/DPc5PeaTttPxH4LS84j5s= =4bE3 -----END PGP SIGNATURE----- --jI8keyz6grp/JLjh-- From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 13:43:13 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEE1116A419 for ; Sun, 16 Dec 2007 13:43:13 +0000 (UTC) (envelope-from jorn@wcborstel.com) Received: from mail.wcborstel.com (www.wcborstel.com [82.93.93.17]) by mx1.freebsd.org (Postfix) with ESMTP id 2D51213C45D for ; Sun, 16 Dec 2007 13:43:12 +0000 (UTC) (envelope-from jorn@wcborstel.com) Received: from mail.wcborstel.com (localhost [10.0.0.2]) by mail.wcborstel.com (Postfix) with ESMTP id 718474335CE; Sat, 15 Dec 2007 14:48:55 +0100 (CET) Received: by mail.wcborstel.com (Postfix, from userid 58) id 057CA4335CD; Sat, 15 Dec 2007 14:48:54 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on mail.wcborstel.com X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00, HTML_MESSAGE autolearn=ham version=3.2.3 X-Spam-Report: * -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP * -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from [10.0.1.26] (unknown [10.0.1.26]) by mail.wcborstel.com (Postfix) with ESMTP id DC6C54335C9; Sat, 15 Dec 2007 14:48:48 +0100 (CET) Message-ID: <4763DB33.6080908@wcborstel.com> Date: Sat, 15 Dec 2007 14:48:35 +0100 From: Jorn Argelo User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: netslists@gmail.com References: <476086E2.5030402@gmail.com> <200712130859.09396.wundram@beenic.net> In-Reply-To: <200712130859.09396.wundram@beenic.net> X-Virus-Scanned: ClamAV using ClamSMTP Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: (postfix) SPAM filter? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2007 13:43:14 -0000 Heiko Wundram (Beenic) wrote: > Am Donnerstag, 13. Dezember 2007 03:12:53 schrieb Chuck Swiger: > >> Install the following: >> >> /usr/ports/mail/postfix-policyd-weight >> /usr/ports/mail/postgrey >> > > Just as an added suggestion: these two (very!) lightweight packages suffice to > keep SPAM out of our company pretty much completely. Both are best used to > reject mails before they even have to be delivered (in Postfix, this is a > sender or recipient restriction, see the websites of the two projects for > more details on how to set them up), so as a added bonus, people don't have > to scroll through endless lists of mails marked as "***SPAM***". > Greylisting only works so-so nowadays. There was a couple of months it was very effective, but that is long gone. Spammers aren't stupid, and they follow the development of anti-spam techniques as much as e-mail admins do. Greylisting is a start, but from my experience it is not nearly enough. Also I believe that rejecting e-mail is a big point of discussion. We had an internet e-mail environment built about 3 years ago, and there the users were terrorized by spam. We had some users getting 30 spam mails a day at least. This setup was running amavis, spamassassin, postfix, postgrey, dcc and razor. Unfortunately, over time the bayes filter got incorrectly trained, and it sometimes rejected valid e-mails. If there's something you DON'T want to happen it's that. And also troubleshooting those kind of things can be quite hard ... We rebuilt the environment from scratch. Right now we are running OpenBSD spamd + OpenBSD Packetfilter. This functions as greylisting / greptrapping in combination with the PF firewall. We made a couple of scripts to trap invalid / forged e-mail addresses that are greylisted. Also we make use of the uatraps / nixspam traplists, and our own generated blacklist generated from spam being sent to the postmaster. We had some problems with blacklisted entries in the past, but we worked around that. It goes further then that, but I will spare you all the details. On the second line we run Postfix / ClamSMTP / Clamd / Spamassassin. We removed Amavis because it was annoying to upgrade and we wanted to get rid of it, as we had problems with it in the past. With SpamAssassin we use sa-update and sa-learn to keep the rules up-to-date and make sure bayes gets properly trained. So we are marking e-mail as spam and no longer block it. Why? Simple ... we no longer want to block false positives. Again, there is more to this, but I will spare you all the details. Right now we have 2500 happy users. Their local helpdesks helped them with getting an Outlook rule in place to automatically move tagged e-mails to a spam folder. Just like their gmail, hotmail or Yahoo account does at home. The environment we have is certainly not the easiest one, but we automated many things, leaving us with practically no work on it. All the updating of rulesets / blacklists / whitelists /whatever goes by itself. Downside of an environment like this is that you will need quite some knowledge of all the components and how they work together. But hey, I got it running at home as well (a bit simpler though) and didn't had a single spam mail in my mailbox the last 4 months. Sure, the ones I do get are getting tagged and moved to my spam folder automatically, which I do with maildrop (though procmail does the job nicely too). All in all it works like a charm. Well a long story, but maybe it is of use for someone else. As always, YMMV. - Jorn > I've had a setup with amavisd-new, spamassassin and clamav on another mail > server (basically the same thing Chuck described), but for our current usage, > these two are efficient enough not to warrant the upgrade to more powerful > hardware (which would be required to run SpamAssassin properly). > > From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 13:51:41 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87E4016A509 for ; Sun, 16 Dec 2007 13:51:41 +0000 (UTC) (envelope-from yance@sic.nsw.edu.au) Received: from centauri.fastwww.net (centauri.fastwww.net [216.193.213.25]) by mx1.freebsd.org (Postfix) with ESMTP id 47BFE13C47E for ; Sun, 16 Dec 2007 13:51:41 +0000 (UTC) (envelope-from yance@sic.nsw.edu.au) Received: from 73.216.233.220.exetel.com.au ([220.233.216.73]:1656 helo=blip64) by centauri.fastwww.net with esmtpa (Exim 4.66) (envelope-from ) id 1J3sya-00089t-C9 for freebsd-questions@freebsd.org; Sun, 16 Dec 2007 22:52:13 +1000 From: "yance" To: Date: Sun, 16 Dec 2007 23:52:18 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <4764146C.7090109@web.de> Thread-Index: Acg/Q0ClgqI3aNXcS96mSyF1KWyTXwAnuVkg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - centauri.fastwww.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - sic.nsw.edu.au Message-Id: <20071216135141.47BFE13C47E@mx1.freebsd.org> Subject: RE: Yikes! FreeBSD samba-3.0.26a_2, 1 is forbidden: "Remote Code Execution... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2007 13:51:41 -0000 -----Original Message----- From: Tino Engel [mailto:elrap@web.de] Sent: Sunday, 16 December 2007 4:53 AM To: Remko Lodder Cc: samba@lists.samba.org; W. D.; timur@freebsd.org; freebsd-questions@freebsd.org Subject: Re: Yikes! FreeBSD samba-3.0.26a_2, 1 is forbidden: "Remote Code Execution... Remko Lodder schrieb: > On Fri, December 14, 2007 5:37 pm, W. D. wrote: > >> At 09:50 12/12/2007, Remko Lodder wrote: >> >>> W. D. wrote: >>> > > >> Well, it's been 2 days now. When will the code be updated >> in the FreeBSD ports? The version on the Samba website is >> 3.0.28. (http://www.Samba.org/) Why is the FreeBSD ports >> version stuck at 3.0.26a_2,1? >> > > I figure you have some spare time to help maintain these issues? > As you might be aware we are in the process of having a release > cycle and we are investigating which ports need to be upgraded > to do this properly without breaking an entire release. > > THAT takes a little including rebuilding ports. > > >> If there are fixes available already on the Samba websites, >> why can't they be integrated into the ports? >> > > They can, we are working on it Just have a little patience > > >> I neet to get a fileserver going right away. I would like >> to use Samba. Perhaps I should just load Windows on it? >> > > Ah yes make my day and make it happen, just dont come back whining in case > it does not do what you would have expected or something. If you need the > thing urgently install it manually and be done with it. > > >> It seems to me that leaving a port broken like this is >> very "unprofessional". I would expect more from the folks >> maintaing FreeBSD. >> > > Exactly; please go to the Windows team and install windows on your machine > to get more professional support, including paying for everything > > You tend to forget that we are volunteers and cannot handle it all; if you > know better, please step up and work on it else stfu. > > >> When is it going to be fixed? Does "soon" mean this century? >> This year? When? >> >> > > For you i'll make an exception for 2010... > > For every other person, we will have this incorporated ASAP. > > >> >> >> Start Here to Find It Fast!T -> >> http://www.US-Webmasters.com/best-start-page/ >> $8.77 Domain Names -> http://domains.us-webmasters.com/ >> >> >> *rofl* Perfect answer though... Regards, Tino _______________________________________________ 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" What's the fuss in using the latest Samba? Does using the latest ever possible makes your servers the best in the world? From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 13:57:17 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E63A16A418 for ; Sun, 16 Dec 2007 13:57:17 +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 0A1A313C478 for ; Sun, 16 Dec 2007 13:57:16 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.67) with esmtp (envelope-from ) id <1J3tzX-0005zD-Kj>; Sun, 16 Dec 2007 14:57:15 +0100 Received: from e178031108.adsl.alicedsl.de ([85.178.31.108] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.67) with esmtpsa (envelope-from ) id <1J3tzX-0004q9-ID>; Sun, 16 Dec 2007 14:57:15 +0100 Message-ID: <47652EF8.2070201@mail.zedat.fu-berlin.de> Date: Sun, 16 Dec 2007 14:58:16 +0100 From: "O. Hartmann" User-Agent: Thunderbird 2.0.0.9 (X11/20071118) MIME-Version: 1.0 To: Konstantinos Pachnis References: <47623ABD.4080902@zedat.fu-berlin.de> <4764FEC7.1080901@freemail.gr> In-Reply-To: <4764FEC7.1080901@freemail.gr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.31.108 Cc: "O. Hartmann" , freebsd-questions@freebsd.org Subject: Re: ruby-postgresql driver seems broken? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2007 13:57:17 -0000 Konstantinos Pachnis wrote: > O. Hartmann wrote: > >> Hello, >> after installing a fresh copy of FreeBSD 7.0-BETA4 on a new box I also >> tried installing rubygem-postgres/ruby-dbd_pg (ports/database). But I >> get this error: >> >> ===> Vulnerability check disabled, database not found >> => postgres-0.7.1.2006.04.06.gem is not in >> /usr/ports/databases/rubygem-postgres/distinfo. >> => Either /usr/ports/databases/rubygem-postgres/distinfo is out of >> date, or >> => postgres-0.7.1.2006.04.06.gem is spelled incorrectly. >> *** Error code 1 >> >> Stop in /usr/ports/databases/rubygem-postgres. >> >> >> Is there anything wrong? >> >> Regards, >> Oliver >> _______________________________________________ >> 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" >> >> > Upgrade your ports and try again. > > Konstantinos > Allright, it works now as expected, thanks. Oliver From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 14:28:27 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 519C016A41A for ; Sun, 16 Dec 2007 14:28:27 +0000 (UTC) (envelope-from idmc_vivr@intgdev.com) Received: from omr2.networksolutionsemail.com (omr2.networksolutionsemail.com [205.178.146.52]) by mx1.freebsd.org (Postfix) with ESMTP id E0A9813C447 for ; Sun, 16 Dec 2007 14:28:26 +0000 (UTC) (envelope-from idmc_vivr@intgdev.com) Received: from mail.networksolutionsemail.com (ns-omr2.mgt.netsol.com [10.49.6.65]) by omr2.networksolutionsemail.com (8.13.6/8.13.6) with SMTP id lBGESQbR013221 for ; Sun, 16 Dec 2007 09:28:26 -0500 Received: (qmail 20487 invoked by uid 78); 16 Dec 2007 14:28:26 -0000 Received: from unknown (HELO webmail10) (205.178.146.50) by ns-omr2.lb.hosting.dc2.netsol.com with SMTP; 16 Dec 2007 14:28:26 -0000 Received: from 69.40.192.15 (idmc_vivr@intgdev.com [69.40.192.15]) by webmail10 (Netsol 11.2.30) with WEBMAIL id 25197; Sun, 16 Dec 2007 14:28:26 +0000 From: "V.I.Victor" To: "Tino Engel" Importance: Normal Sensitivity: Normal Message-ID: X-Mailer: Network Solutions Webmail, Build 11.2.30 X-Originating-IP: [69.40.192.15] X-Forwarded-For: [(null)] Date: Sun, 16 Dec 2007 14:28:26 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Changing "/var/mail" to a symlink X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2007 14:28:27 -0000 >-----Original Message----- >From: Tino Engel [mailto:elrap@web.de] >Sent: Saturday, December 15, 2007 12:58 PM >To: 'V.I.Victor' >Cc: freebsd-questions@freebsd.org >Subject: Re: Changing "/var/mail" to a symlink > >V.I.Victor schrieb: >> Because of "/var" size considerations, I'd like to use a symlinked >> "/usr" directory for email instead of "/var/mail". >> >> Based on today's research, I think the following will work. >> >> >> With mail delivery off, I 'su' and: >> >> mkdir /usr/var.mail >> cd /var >> cp -p mail/* /usr/var.mail/ >> mv mail mail.bak >> ln -s /usr/var.mail mail >> >> Since 'ls -l /var' shows: >> >> drwxrwxrwt 2 root mail 512 Dec 14 14:24 mail >> >> I should then: >> >> cd /usr >> chmod 1777 var.mail >> chown root:mail var.mail >> >> No changes are made to the "/var/mail" symlink. >> >> Then, if everything works, I just delete "/usr/mail.bak". >> >> >> Does this seem OK? >> >> >> Sorry to bother everyone with what's probably a trivial question, but >> I *really* want to avoid screwing-up. The machine is remote; accessed >> via ssh. >> >> Thanks! >> >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> >> >Sounds reasonable to me. >I'd just check afterwards if the permissions are like you want them to >be, i.e. as they have been before... > >And you might send one or another testmail to the an account on the >system to see if everything works as before, before you delete the >mail.mak directory... > >Rg, Tino Thanks for the reply! I was pretty sure that the symlinking was right, but was not sure how the permissions carried thru -- as you also mentioned. I probably should have asked differently... Also, a suggestion was made off-list that "moving" /var/mail was better-done via mounting a nullfs. I'm reading up on that now. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 15:05:15 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DF8C16A417 for ; Sun, 16 Dec 2007 15:05:15 +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 E420613C4F0 for ; Sun, 16 Dec 2007 15:05:14 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.67) for freebsd-questions@freebsd.org with esmtp (envelope-from ) id <1J3v3K-0002Ki-1r>; Sun, 16 Dec 2007 16:05:14 +0100 Received: from e178031108.adsl.alicedsl.de ([85.178.31.108] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.67) for freebsd-questions@freebsd.org with esmtpsa (envelope-from ) id <1J3v3J-0007QV-V5>; Sun, 16 Dec 2007 16:05:14 +0100 Message-ID: <47653EEA.1090700@mail.zedat.fu-berlin.de> Date: Sun, 16 Dec 2007 16:06:18 +0100 From: "O. Hartmann" User-Agent: Thunderbird 2.0.0.9 (X11/20071118) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.31.108 Subject: PAM and OpenLDAP: Login requires always existence of SSH pubkey, why? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2007 15:05:15 -0000 Hello. I use FreeBSD 7.0-BETA on servral boxes with different architectures (i386/amd64). Users within our network have to autheticate against an OpenLDAP Server via PAM. I have the annoying problem that every user getting autenticated needs a public key and the passphrase set in the ssh public key is the passphrase that authenticates the user - not the passphrase/password set in the OpenLDAP DIT for that specific user! My sshd_config looks quite common to the default sshd_conf offered with the FreeBSD sources, exept three changes: ============= # Change to yes to enable built-in password authentication. PasswordAuthentication yes #PermitEmptyPasswords no # Change to no to disable PAM authentication ChallengeResponseAuthentication yes # Kerberos options #KerberosAuthentication no #KerberosOrLocalPasswd yes #KerberosTicketCleanup yes #KerberosGetAFSToken no # GSSAPI options #GSSAPIAuthentication yes #GSSAPICleanupCredentials yes # Set this to 'no' to disable PAM authentication, account processing, # and session processing. If this is enabled, PAM authentication will # be allowed through the ChallengeResponseAuthentication and # PasswordAuthentication. Depending on your PAM configuration, # PAM authentication via ChallengeResponseAuthentication may bypass # the setting of "PermitRootLogin without-password". # If you just want the PAM account and session checks to run without # PAM authentication, then enable this but set PasswordAuthentication # and ChallengeResponseAuthentication to 'no'. UsePAM yes ================= Setting PasswordAuthentication no and ChallengeResponseAuthentication no to force PAM doing authetication, accounting and session via LDAP results in the incapability of logging in for any user (error: pubkey/password). In /etc/pam.d/sshd and system I have both in auth and session pam_sshd.so enabled. Without that it doesn't matter what is configured in sshd_conf, users never can login as LDAP would never check passphrase. What is wrong? Why is PAM forcing ssh into doing authentication and accounting and session management by default although I configured PAM to do so? Can anybody help? Thanks in advance, Oliver From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 15:50:46 2007 Return-Path: Delivered-To: FreeBSD-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 466CB16A41A for ; Sun, 16 Dec 2007 15:50:46 +0000 (UTC) (envelope-from nikola.lecic@anthesphoria.net) Received: from anthesphoria.net (anthesphoria.net [200.46.204.219]) by mx1.freebsd.org (Postfix) with ESMTP id CD3E013C442 for ; Sun, 16 Dec 2007 15:50:45 +0000 (UTC) (envelope-from nikola.lecic@anthesphoria.net) X-Bogosity: No, tests=bogofilter X-DKIM: Sendmail DKIM Filter v2.3.2 anthesphoria.net lBGFoc3Z098732 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=anthesphoria.net; s=phero; t=1197820246; bh=YRPrW0D7rxaxiWqSs/LsdHBcj9NnxxqGnkmALr++9 Uo=; l=3626; h=X-Bogosity:Date:From:To:Cc:Subject:Message-ID: In-Reply-To:References:X-Mailer:X-Face:X-Operating-System: Mime-Version:Content-Type:Content-Transfer-Encoding; b=pC7yn8laYTr nCgMf6v6FKa7JYls/3ua8p7oAkQMfWgy5Htvj5GPjQ8nc3ujxR5qpD9bwwMso1J4PR1 MeuI3ovdzuiibtUH4jybyHeOjZUX/2vgHpFbVazpvFURVRRfvgS4541yX/FqsBtulak apsin7LdvTWHDGjFazisMt82Sg= Received: from anthesphoria.net (adsl-202-214.eunet.yu [213.198.202.214]) (authenticated bits=0) by anthesphoria.net (8.14.1/8.14.1) with ESMTP id lBGFoc3Z098732 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 16 Dec 2007 16:50:41 +0100 (CET) (envelope-from nikola.lecic@anthesphoria.net) Date: Sun, 16 Dec 2007 16:51:27 +0100 From: Nikola =?UTF-8?B?TGXEjWnEhw==?= To: "Snow Mountains" Message-ID: <20071216165127.64661122@anthesphoria.net> In-Reply-To: <3cf9f8920712132115q341401dbhec96ca1ae3156432@mail.gmail.com> References: <3cf9f8920712132115q341401dbhec96ca1ae3156432@mail.gmail.com> X-Mailer: Claws Mail 3.1.0 (GTK+ 2.12.1; i386-portbld-freebsd6.2) X-Face: pbl6-.[$G'Fi(Ogs2xlXP-V6{3||$Y[LOYs&~GJoikj'cVjcFC[V7du;;0~6nO= [Vi2?uU1Pq~,=Adj@,T:|"`$AF~il]J.Nz#2pU',Y7.{B;m/?{#sO^Dvo$rnmY6] X-Operating-System: FreeBSD 6.2-RELEASE-p8 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD-questions@FreeBSD.org Subject: Re: Lost FreeBSD slices (labels?) after NetBSD install -- please help!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2007 15:50:46 -0000 Hello, On Fri, 14 Dec 2007 05:15:16 +0000 "Snow Mountains" wrote: =20 > People, I have FreeBSD install on 80G disk that looked like this: >=20 > ad1s1 ~ 2.4G > ad1s2 ~23.0G > ad1s3 ~19.1G > ad1s4 ~38.0G, FreeBSD partition, sliced like this: ^^^^^^^^^ ^^^^^^ (a note: the correct terminology is actually the opposite: these a...e are "partitions", real BSD partitions. What is called "partition" in non-BSD world is a slice here; so: "FreeBSD slice, (BSD-)partitioned/labelled like this...") > ------------------------ > ad1s4a / (507630 1K-blocks) > ad1s4b swap > ad1s4d /var > ad1s4e /tmp > ad1s4f /usr >=20 [...] > However, FreeBSD is now unbootable!!! Then I loaded FreeSBIE (FreeBSD > 6.2 live CD), tried 'boot0cfg -B /dev/ad1' (also with '-d 0x80'), but > no help! Then I realized that ad1s4 slices are lost. This means: >=20 > A) from FreeSBIE, there is only /dev/ad1s4, no a,b,d,e,f. If I do > this: FreeSBIE# mount /dev/ad1s4 /mnt/ufs.4 > this is former / (ad1s4a) and is of its size (~507M). This probably means that you unwillingly changed FreeBSD label of ad1s4 and it's most likely that NetBSD wrote its own instead. However, from the bsdlabel(8) manpage: The various BSDs all use slightly different versions of BSD labels and are not generally compatible. So, NetBSD didn't recognise FreeBSD's labels and understood entire ad1s4 as one partition; however, ad1s4's reality is that it begins with small / (lost ad1s4a) and that is what you see; the rest is just ignored. boot0cfg did nothing because NetBSD obviously deleted ad1s4 FreeBSD's bootstrap code as well. > I can't reach other slices! However, it gives me hope that NetBSD's > slices are also invisible, although working from within itself: > FreeSBIE# mount /dev/ad1s1 /mnt/ufs.1 > gives also small NetBSD's / (its wd0a), not /usr etc. The same reason as above. > [...] > Please help me to recover my FreeBSD system. If I lost my data (ok, I > understand they are buried, not erased), please tell me that gently. > :-( That's why I think that you haven't lost any data. You must however re-create bsdlabel table on ad1s4. Since you didn't mention that you have a backup of bsdlabel (do you? :-)), you must recover it. There are two small utilities designed for this purpose, dlfind and ffsrescue: http://www.42.org/~sec/resources/disklabel.html http://www.leidinger.net/FreeBSD/ffsrescue.tar.gz but they don't recognise UFS2 beginning marks (only UFS1 ones). However, I tested sysutils/testdisk and it recognised UFS2 labels on my healthy slices perfectly, so there is no reason that it can't help you, since it simply analyses slice contents. This utility is not part of FreeSBIE, but I think that you can just download ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/sysutil= s/testdisk-6.3.tbz Then untar it in ~freesbie and run the binary. Just do this: ./testdisk /dev/ad1s4 and choose "non partitioned" in the second menu. Please note that testdisk will not recognise your swap. Then please try to compare results (given in 512k-blocks) to what you remember about partition sizes. If it gives you reasonable proportions, then re-creating a bsdlabel shouldn't be a big problem. So please take these actions and if the aforementioned assumptions are correct and you obtain some useful info, we shall continue. :-) --=20 Nikola Le=C4=8Di=C4=87 :: =D0=9D=D0=B8=D0=BA=D0=BE=D0=BB=D0=B0 =D0=9B=D0=B5= =D1=87=D0=B8=D1=9B From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 15:58:58 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C208C16A419 for ; Sun, 16 Dec 2007 15:58:58 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 5298713C45A for ; Sun, 16 Dec 2007 15:58:58 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.13.8) with ESMTP id lBGFwnDI072401; Sun, 16 Dec 2007 09:58:50 -0600 (CST) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20071216094952.0240d528@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Sun, 16 Dec 2007 09:58:38 -0600 To: jekillen , FreeBSD Mailing List From: Derek Ragona In-Reply-To: References: Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Panic 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: Sun, 16 Dec 2007 15:58:58 -0000 At 07:32 PM 12/15/2007, jekillen wrote: >On Dec 15, 2007, at 5:21 PM, jekillen wrote: > >>Hello; >>I have had an AMD64 754 system that I have 64 bit SCSI card and >>two 15k rpm SCSI drives. It has been running fine with FreeBSD v 6.0 >>for about two years now. I have several things I wanted to change >>and reconfigure, software wise, and hardware wise. The first was a new >>case which I got today. I shut down the system, put everything in the new >>case and booted. It booted without any complaint. I got the V6.2 install >>cd and put it in. The system froze during boot process after an entry >>for mpt 0. I turned off the power and tried rebooting into the install cd. >>This time it made it to sysinstall and went through slice and partitioning >>and was in the process of installing the base system and it froze again, >>no error messaged to console. I rebooted and started again. The second >>time I got all the way through the install process. >> >>Now on reboot the system is panicking just after the line >>mtp0 hidden device members(6) >>The error is: >>Fatal Trap 12 (the screen does not persist >>long enough to transcribe it all.) >>Three tries, the same thing in the same place in the boot >>process. > >I tried it agian and the same thing happened. >This time I got more of the error message. >'page fault while in kernel mode' > >> >>does this mean the scsi drives or card is going bad? (I nope not) >>the card is LSI Logic 64 bit card (installed in a standard PCI slot but >>has been working with an inch of the card hanging off the end >>of the slot. I only have one internal bus available this way, but that is >>all I need. >>Thanks in advance for info >>Jeff K >>(chewing my fingernails) Jeff, Could be anything causing this from your "move" such as damaged ram or other component from static or a somewhat flaky power supply in the new case. Have you run diagnostics on the hard drives? Make sure all your power connectors are tight, no damaged cables. It is easy with some SCSI cables to damage the cable or connectors, I know I have done that a few times. If you can, separate the power to the hard drives to separate lines from the power supply rather than daisy chaining a power line with multiple connectors on it. Have you tried other bootable OS's just to see if they crash too? -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 16:06:03 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFEA016A41B for ; Sun, 16 Dec 2007 16:06:03 +0000 (UTC) (envelope-from elrap@web.de) Received: from fmmailgate02.web.de (fmmailgate02.web.de [217.72.192.227]) by mx1.freebsd.org (Postfix) with ESMTP id 89A1513C45A for ; Sun, 16 Dec 2007 16:06:03 +0000 (UTC) (envelope-from elrap@web.de) Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate02.web.de (Postfix) with ESMTP id 86867BB3ED68; Sun, 16 Dec 2007 17:04:58 +0100 (CET) Received: from [84.152.136.46] (helo=freebsdangel.de) by smtp08.web.de with asmtp (WEB.DE 4.108 #208) id 1J3vz8-000152-00; Sun, 16 Dec 2007 17:04:58 +0100 Message-ID: <47654CF5.7070308@web.de> Date: Sun, 16 Dec 2007 17:06:13 +0100 From: Tino Engel User-Agent: Thunderbird 2.0.0.6 (X11/20071110) MIME-Version: 1.0 To: "V.I.Victor" References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: elrap@web.de X-Sender: elrap@web.de X-Provags-ID: V01U2FsdGVkX1+kAw3oObMUqCqcEj7hLzahIKgbYALOQ5j/ATXc dLIiSEdoaip6IzoFlM+H5wXradUqxrdY9F//6DFcoKa5awf/r/ 4fK65PJfY= Cc: freebsd-questions@freebsd.org Subject: Re: Changing "/var/mail" to a symlink X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2007 16:06:03 -0000 V.I.Victor schrieb: > Also, a suggestion was made off-list that "moving" /var/mail was better-done via mounting a nullfs. I'm reading up on that now. > > > ndeed, moving the system maildir to another location using a configuration file or similar is obviously the better solution. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 16:17:40 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27B0616A41A for ; Sun, 16 Dec 2007 16:17:40 +0000 (UTC) (envelope-from gastonlrey@yahoo.com.ar) Received: from web50506.mail.re2.yahoo.com (web50506.mail.re2.yahoo.com [206.190.38.82]) by mx1.freebsd.org (Postfix) with SMTP id BF1D513C465 for ; Sun, 16 Dec 2007 16:17:39 +0000 (UTC) (envelope-from gastonlrey@yahoo.com.ar) Received: (qmail 78573 invoked by uid 60001); 16 Dec 2007 15:50:57 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.ar; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=YAIf23VBH9nzB1QTecO1GHPvHZFOP7qaOnFynj6Wg02z4ZbCodzQmBOycPhFKo1ZQGBjz8O+DOrBQU6qA7kvuPx0k1VecbraMbMvIAz1K9jCAiqiFE5zRV5il3WAIZ+m4BmMXjeXplUB90kBuP/PFO3f/KFMNw116/hv8QMIJuc=; X-YMail-OSG: jXtRNC4VM1mWkqEX3MIQSg7YewKGpDK9oJCxU2KSmI90qX8JJEOBnoUUEc5UsTpLNibJfZRl1XXJSgn5JBLLqaM2pIKzzUDoCjkLLTTigjlxKFTdUXw- Received: from [190.19.13.33] by web50506.mail.re2.yahoo.com via HTTP; Sun, 16 Dec 2007 07:50:56 PST X-Mailer: YahooMailRC/818.31 YahooMailWebService/0.7.158.1 Date: Sun, 16 Dec 2007 07:50:56 -0800 (PST) From: Gaston Rey To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <92805.77211.qm@web50506.mail.re2.yahoo.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2007 16:17:40 -0000 =0A=0AHi all,=0A I need to know how to migrate a HD from my actual Serve= r to another recently made up. This HD has the base operating system and i = want to move up it to the other server but surely it'll carry up a kernel p= anic error :s =0A=0Adoes Anybody know how to do it?=0A=0AThanks in advance= =0A=0A=0AGaston Rey=0A=0A=0A=0A=0A =0ATarjeta de cr=C3=A9dito Yahoo! d= e Banco Supervielle.=0ASolicit=C3=A1 tu nueva Tarjeta de cr=C3=A9dito. De t= u PC directo a tu casa. =0A Visit=C3=A1 www.tuprimeratarjeta.com.ar=0A=0A= =0A=0A=0A=0A Yahoo! Encuentros.=0A=0AAhora encontrar pareja es mucho m= =C3=A1s f=C3=A1cil, prob=C3=A1 el nuevo Yahoo! Encuentros http://yahoo.cupi= dovirtual.com/servlet/NewRegistration From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 16:58:45 2007 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 9633F16A418 for ; Sun, 16 Dec 2007 16:58:45 +0000 (UTC) (envelope-from gastonlrey@yahoo.com.ar) Received: from web50506.mail.re2.yahoo.com (web50506.mail.re2.yahoo.com [206.190.38.82]) by mx1.freebsd.org (Postfix) with SMTP id 4F2D813C45B for ; Sun, 16 Dec 2007 16:58:45 +0000 (UTC) (envelope-from gastonlrey@yahoo.com.ar) Received: (qmail 98447 invoked by uid 60001); 16 Dec 2007 16:32:04 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.ar; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=x/M8xM/GLkQLmf/reJQ8RQ0cGlKI3oRlU8QoKaZzzLSpRSTym/IerS6YVS4g1/0F23wMnviJ9L7mvtcUlniMG9geMiH+WMAte3VBVcR7mYbVAt2gOHU4mGy5Bu7R+EKG5hUbRwBsEG78rpaL9uN4kEHH8s7TEgDDu7tk9WcsQS8=; X-YMail-OSG: GtO2YuwVM1kB19GjDJLd.J8CR8GXn3H0M9CcshcoDEoOj0dI9HCoNgVBuGC3tzAc4YVdTGhXwOWRfB8ELv3Px4gLwE1xKBhi0J4MBKT5VFuYt5KtQcQ0b7bbOuExKr5D2SWP8_sXqbCqKAg- Received: from [190.19.13.33] by web50506.mail.re2.yahoo.com via HTTP; Sun, 16 Dec 2007 08:32:04 PST X-Mailer: YahooMailRC/818.31 YahooMailWebService/0.7.158.1 Date: Sun, 16 Dec 2007 08:32:04 -0800 (PST) From: Gaston Rey To: questions@freebsd.org MIME-Version: 1.0 Message-ID: <654217.98107.qm@web50506.mail.re2.yahoo.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2007 16:58:45 -0000 =0AHi all,=0A I need to know how to migrate a HD from my actual Server t= o another recently made up. This HD has the base operating system and i wan= t to move up it to the other server but surely it'll carry up a kernel pani= c error :s =0A=0Adoes Anybody know how to do it?=0A=0AThanks in advance=0A= =0A=0AGaston Rey=0A=0A=0A=0A=0A =0ATarjeta de cr=C3=A9dito Yahoo! de B= anco Supervielle.=0ASolicit=C3=A1 tu nueva Tarjeta de cr=C3=A9dito. De tu P= C directo a tu casa. =0A Visit=C3=A1 www.tuprimeratarjeta.com.ar=0A=0A=0A= =0A=0A=0A =0ATarjeta de cr=C3=A9dito Yahoo! de Banco Supervielle.=0ASo= licit=C3=A1 tu nueva Tarjeta de cr=C3=A9dito. De tu PC directo a tu casa. = =0A Visit=C3=A1 www.tuprimeratarjeta.com.ar=0A=0A=0A=0A=0A=0A Tarjeta = de cr=C3=A9dito Yahoo! de Banco Supervielle.=0ASolicit=C3=A1 tu nueva Tarje= ta de cr=C3=A9dito. De tu PC directo a tu casa. www.tuprimeratarjeta.com.ar= From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 17:22:37 2007 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 CCC2516A50E for ; Sun, 16 Dec 2007 17:22:37 +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 8E63E13C4DD for ; Sun, 16 Dec 2007 17:22:37 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from working (c-71-60-127-199.hsd1.pa.comcast.net [71.60.127.199]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTP id 444DBEBC3C; Sun, 16 Dec 2007 12:22:36 -0500 (EST) Date: Sun, 16 Dec 2007 12:22:35 -0500 From: Bill Moran To: Gaston Rey Message-Id: <20071216122235.2621ed11.wmoran@potentialtech.com> In-Reply-To: <654217.98107.qm@web50506.mail.re2.yahoo.com> References: <654217.98107.qm@web50506.mail.re2.yahoo.com> X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2007 17:22:37 -0000 Gaston Rey wrote: > > Hi all, > I need to know how to migrate a HD from my actual Server to another > recently made up. This HD has the base operating system and i want to > move up it to the other server but surely it'll carry up a kernel panic > error :s Please wrap your lines at about 72 characters. I've no experience with kernel panics as a result of this. If you run a generic kernel, it's as likely to understand that hardware as an install image is. > does Anybody know how to do it? Biggest problem I've hit is when controllers move the drive around on the chain (i.e. ad0 is ad2 on the new hardware). In that case you have to fix the boot loader and /etc/fstab. If you have more difficulty than that, I'd be curious to hear about it, as it'd be news to me. -- Bill Moran http://www.potentialtech.com From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 17:24:12 2007 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06AF616A469 for ; Sun, 16 Dec 2007 17:24:12 +0000 (UTC) (envelope-from scurvy@o2.pl) Received: from tur.go2.pl (tur.go2.pl [193.17.41.50]) by mx1.freebsd.org (Postfix) with ESMTP id AE7FB13C469 for ; Sun, 16 Dec 2007 17:24:11 +0000 (UTC) (envelope-from scurvy@o2.pl) Received: from rekin26.go2.pl (rekin26.go2.pl [193.17.41.76]) by tur.go2.pl (o2.pl Mailer 2.0.1) with ESMTP id A5A58230ED4 for ; Sun, 16 Dec 2007 17:51:27 +0100 (CET) Received: from o2.pl (unknown [10.0.0.65]) by rekin26.go2.pl (Postfix) with SMTP id A2B3C5BDFB for ; Sun, 16 Dec 2007 17:51:25 +0100 (CET) From: =?UTF-8?Q?scurvy?= To: freebsd-questions@FreeBSD.org Mime-Version: 1.0 Message-ID: <55002236.920a934.47655790.2dc77@o2.pl> Date: Sun, 16 Dec 2007 17:51:28 +0100 X-Originator: 87.206.118.230 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Sun, 16 Dec 2007 17:46:59 +0000 Cc: 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: Sun, 16 Dec 2007 17:24:12 -0000 Hello! I=20want=20to=20use=20freeBSD=20vary=20much,=20but=20I=20have=20a=20probl= em=20with=20instalation=20(freeBSD=206.2-RELEASE).=20It=20goes=20very=20s= low=20(30%=20after=202=20hours).=20Moreover=20I=20don't=20know=20exactly=20= which=20version=20(platform)=20I=20should=20use.=20For=20now=20I=20have=20= used=20i386,=20but=20I=20have=20the=20Intel=20E6600=20(64bit)=20processor= =20on=20motherboard=20Asus=20Deluxe=20p5b,=20so=20I=20don't=20know=20if=20= this=20version=20of=20release=20is=20good=20for=20this=20hardware. I'm=20waiting=20for=20a=20quick=20respond.=20Thanks=20for=20your=20help. Best=20wishes! Kuba=20Barski From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 18:01:59 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F4BB16A418 for ; Sun, 16 Dec 2007 18:01:59 +0000 (UTC) (envelope-from elrap@web.de) Received: from fmmailgate03.web.de (fmmailgate03.web.de [217.72.192.234]) by mx1.freebsd.org (Postfix) with ESMTP id CBB8F13C465 for ; Sun, 16 Dec 2007 18:01:58 +0000 (UTC) (envelope-from elrap@web.de) Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate03.web.de (Postfix) with ESMTP id 34B94B9B1A94; Sun, 16 Dec 2007 19:01:57 +0100 (CET) Received: from [84.152.136.46] (helo=freebsdangel.de) by smtp06.web.de with asmtp (WEB.DE 4.108 #208) id 1J3xoL-0007PC-00; Sun, 16 Dec 2007 19:01:57 +0100 Message-ID: <47656860.7090703@web.de> Date: Sun, 16 Dec 2007 19:03:12 +0100 From: Tino Engel User-Agent: Thunderbird 2.0.0.6 (X11/20071110) MIME-Version: 1.0 To: scurvy References: <55002236.920a934.47655790.2dc77@o2.pl> In-Reply-To: <55002236.920a934.47655790.2dc77@o2.pl> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: elrap@web.de X-Sender: elrap@web.de X-Provags-ID: V01U2FsdGVkX19QCFbSfQ3MNzUfiwkFs2CO/CZGNEnfXv9FTXHo A3ZePw7mL0WquVSeWNHNeL/ZmIYw+QNlZ8WOIJfAJcsgB69fUW bpx1ECJXg= Cc: freebsd-questions@FreeBSD.org Subject: Re: (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: Sun, 16 Dec 2007 18:01:59 -0000 scurvy schrieb: > Hello! > I want to use freeBSD vary much, but I have a problem with instalation (freeBSD 6.2-RELEASE). It goes very slow (30% after 2 hours). Moreover I don't know exactly which version (platform) I should use. For now I have used i386, but I have the Intel E6600 (64bit) processor on motherboard Asus Deluxe p5b, so I don't know if this version of release is good for this hardware. > I'm waiting for a quick respond. Thanks for your help. > Best wishes! > > Kuba Barski > _______________________________________________ > 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" > > i386 is fine for you... But 30% after 2 hours sounds strange... Are you installing over a very slow network connection? From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 18:48:06 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4F2C16A41B for ; Sun, 16 Dec 2007 18:48:06 +0000 (UTC) (envelope-from thenudnik@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.190]) by mx1.freebsd.org (Postfix) with ESMTP id 6B38B13C4D9 for ; Sun, 16 Dec 2007 18:48:06 +0000 (UTC) (envelope-from thenudnik@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so1757953rvb.43 for ; Sun, 16 Dec 2007 10:48:06 -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=SB8phbJEvL3SPbZScJlfOgFpm8jpWoikR3oeBHc37WE=; b=d4ZX7fKM3Z0aaCm0GZF66rVO7+1Tt4uaALqu0y2gvT0JXadcQj7UWFpi06yXN7hRwY5bOiQ7gUXERdtf8TKpRcKlmupHX+gKUvbCIHumLIiGfdb1J76vlSTzPsdVZtpFl8q6rWnkPw2CFyZJWfYrfIV2X1w2ahPd+6zqxZjFVAs= 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=CCB4Ce0Rzilqat+OCrcJ6+zuTrxJOX1jsgfxHWsp9o/0R13GZGaGhEHbf/g8K+eOaqGhPRzO1S1e9XhMQVgGHxFnbQ9UiIar3d/1nmYrWlBaOQOra6rw+cTQtVl9EhYtiSKWU3xmzVus9UigEE5h6cuwBDqwdKC9smjOOHS0iQo= Received: by 10.140.126.10 with SMTP id y10mr3348787rvc.214.1197830886195; Sun, 16 Dec 2007 10:48:06 -0800 (PST) Received: from ?192.168.2.2? ( [71.52.21.176]) by mx.google.com with ESMTPS id i4sm14383198rng.2007.12.16.10.48.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 16 Dec 2007 10:48:04 -0800 (PST) Message-ID: <476572E3.6030004@gmail.com> Date: Sun, 16 Dec 2007 13:48:03 -0500 From: "David M. Patronis" User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: scurvy References: <55002236.920a934.47655790.2dc77@o2.pl> In-Reply-To: <55002236.920a934.47655790.2dc77@o2.pl> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@FreeBSD.org Subject: Re: (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: Sun, 16 Dec 2007 18:48:06 -0000 scurvy wrote: > Hello! > I want to use freeBSD vary much, but I have a problem with instalation (freeBSD 6.2-RELEASE). It goes very slow (30% after 2 hours). Moreover I don't know exactly which version (platform) I should use. For now I have used i386, but I have the Intel E6600 (64bit) processor on motherboard Asus Deluxe p5b, so I don't know if this version of release is good for this hardware. > I'm waiting for a quick respond. Thanks for your help. > Best wishes! > > Kuba Barski > _______________________________________________ > > Response: I am using a similar Core Duo processor with a Intel G33 chipset motherboard and ran into considerable difficulty installing 6.2. The 64-bit BETA of version 7.0 installs without issue. I've yet to test a 32-bit BSD with this particular PC. David From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 18:51:00 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7068716A418 for ; Sun, 16 Dec 2007 18:51:00 +0000 (UTC) (envelope-from girishvenkatachalam@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.188]) by mx1.freebsd.org (Postfix) with ESMTP id E699D13C459 for ; Sun, 16 Dec 2007 18:50:59 +0000 (UTC) (envelope-from girishvenkatachalam@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so1758888rvb.43 for ; Sun, 16 Dec 2007 10:50:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:subject:message-id:reply-to:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=8vxWT5i2kVFRLZcih2nLdp8Zr49lIQ1o+Soo9Y1XLX0=; b=w9vJlc+lRXi4tjC4diyhnKvBL9ZceqpeKCa5maVTw8u4wFbrIMUtNFw1ji7FPmUx22tdzxY5Kewx4yidOl14+QJfIpIPnZsc1pM7j5Xxaoem9HkemfDTp+wv34EwEFDmFA7pSDaieQy5RHOuiaNSSJSs5IvkHO9QHdyEpTgnA9I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:reply-to:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=D5ub8uQLJlAfZBah/1A9cRtH9XPyZtbc4NDlxaWjnVOQbF7xXrky467DeeOGlbEMqLDYByuE6InAMTr5nsHs0Pl3D3fW6fuG2fonXrnoRSeFa4RN7vZUmULOy9Cqf3el1/z3y+GznihJjor/fVYCPkrGCYaFoeHALRtA657vbeM= Received: by 10.141.113.6 with SMTP id q6mr3363318rvm.135.1197831059681; Sun, 16 Dec 2007 10:50:59 -0800 (PST) Received: from brahma.susmita.org ( [59.92.3.97]) by mx.google.com with ESMTPS id l17sm5574038rvb.2007.12.16.10.50.54 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 16 Dec 2007 10:50:56 -0800 (PST) Received: by brahma.susmita.org (Postfix, from userid 1002) id 61C96CBC7; Mon, 17 Dec 2007 00:20:50 +0530 (IST) Date: Mon, 17 Dec 2007 00:20:50 +0530 From: Girish Venkatachalam To: freebsd-questions@freebsd.org Message-ID: <20071216185050.GB26535@brahma.susmita.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <476086E2.5030402@gmail.com> <200712130859.09396.wundram@beenic.net> <4763DB33.6080908@wcborstel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4763DB33.6080908@wcborstel.com> User-Agent: Mutt/1.5.16 (2007-06-09) Subject: Re: (postfix) SPAM filter? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: girishvenkatachalam@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2007 18:51:00 -0000 On 14:48:35 Dec 15, Jorn Argelo wrote: > Greylisting only works so-so nowadays. There was a couple of months it was > very effective, but that is long gone. Spammers aren't stupid, and they > follow the development of anti-spam techniques as much as e-mail admins do. > Greylisting is a start, but from my experience it is not nearly enough. > I have heard this said elsewhere too. > Also I believe that rejecting e-mail is a big point of discussion. We had > an internet e-mail environment built about 3 years ago, and there the users > were terrorized by spam. We had some users getting 30 spam mails a day at > least. This setup was running amavis, spamassassin, postfix, postgrey, dcc > and razor. Unfortunately, over time the bayes filter got incorrectly > trained, and it sometimes rejected valid e-mails. If there's something you > DON'T want to happen it's that. And also troubleshooting those kind of > things can be quite hard ... What about CRM114 and dspam? Have you ever tried statistical filtering instead of heuristics with spamassassin? > We rebuilt the environment from scratch. Right now we are running OpenBSD > spamd + OpenBSD Packetfilter. This functions as greylisting / greptrapping > in combination with the PF firewall. We made a couple of scripts to trap > invalid / forged e-mail addresses that are greylisted. Also we make use of > the uatraps / nixspam traplists, and our own generated blacklist generated > from spam being sent to the postmaster. We had some problems with > blacklisted entries in the past, but we worked around that. It goes further > then that, but I will spare you all the details. pf(4) has some amazing features that come in handy for spam control. I guess it forms a key component of any spam blocking architecture. And it works in concert with the other OpenBSD niceties you point out like populating the tables with blacklists and whitelists, greytrapping and using the pf(4) anchor mechanism to automate stuff. The probability and state tracking options in pf(4) are pretty interesting too if used creatively. > On the second line we run Postfix / ClamSMTP / Clamd / Spamassassin. We > removed Amavis because it was annoying to upgrade and we wanted to get rid > of it, as we had problems with it in the past. With SpamAssassin we use > sa-update and sa-learn to keep the rules up-to-date and make sure bayes > gets properly trained. So we are marking e-mail as spam and no longer block > it. Why? Simple ... we no longer want to block false positives. Again, > there is more to this, but I will spare you all the details. But if you don't update virus signatures wouldn't that cause worms and malware propagation? I know I am digressing but I thought signature updation was critical to malware control... > > Right now we have 2500 happy users. Their local helpdesks helped them with > getting an Outlook rule in place to automatically move tagged e-mails to a > spam folder. Just like their gmail, hotmail or Yahoo account does at home. Wow, this is great. I am not surprised to hear this. ;) > The environment we have is certainly not the easiest one, but we automated > many things, leaving us with practically no work on it. All the updating of > rulesets / blacklists / whitelists /whatever goes by itself. Downside of an > environment like this is that you will need quite some knowledge of all the > components and how they work together. But hey, I got it running at home as > well (a bit simpler though) and didn't had a single spam mail in my mailbox > the last 4 months. Sure, the ones I do get are getting tagged and moved to > my spam folder automatically, which I do with maildrop (though procmail > does the job nicely too). All in all it works like a charm. Using the X-foobar headers I suppose? > Well a long story, but maybe it is of use for someone else. As always, > YMMV. Yes, very enlightening, many thanks. -Girish From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 19:11:44 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45BE316A421 for ; Sun, 16 Dec 2007 19:11:44 +0000 (UTC) (envelope-from wundram@beenic.net) Received: from mail.beenic.net (mail.beenic.net [83.246.72.40]) by mx1.freebsd.org (Postfix) with ESMTP id EEE8113C4E9 for ; Sun, 16 Dec 2007 19:11:43 +0000 (UTC) (envelope-from wundram@beenic.net) Received: from [192.168.1.32] (a89-182-9-57.net-htp.de [89.182.9.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.beenic.net (Postfix) with ESMTP id B0745A44529 for ; Sun, 16 Dec 2007 20:04:27 +0100 (CET) From: "Heiko Wundram (Beenic)" Organization: Beenic Networks GmbH To: freebsd-questions@freebsd.org Date: Sun, 16 Dec 2007 20:13:34 +0100 User-Agent: KMail/1.9.7 References: <476086E2.5030402@gmail.com> <200712130859.09396.wundram@beenic.net> <4763DB33.6080908@wcborstel.com> In-Reply-To: <4763DB33.6080908@wcborstel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712162013.34937.wundram@beenic.net> Subject: Re: (postfix) SPAM filter? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2007 19:11:44 -0000 Am Samstag, 15. Dezember 2007 14:48:35 schrieb Jorn Argelo: > > Also I believe that rejecting e-mail is a big point of discussion. We > had an internet e-mail environment built about 3 years ago, and there > the users were terrorized by spam. We had some users getting 30 spam > mails a day at least. This setup was running amavis, spamassassin, > postfix, postgrey, dcc and razor. Unfortunately, over time the bayes > filter got incorrectly trained, and it sometimes rejected valid e-mails. > If there's something you DON'T want to happen it's that. And also > troubleshooting those kind of things can be quite hard ... Neither of the two packages I recommended are anything close to bayesian filtering, as they don't actually take measure on the content of the mail (which isn't available anyway when the corresponding rules are effective in the Postfix restriction mechanism), but rather on the conditions the mail is received under. This is what makes them (much more) lightweight (than for example a full statistical or bayesian filter) in the first place. I've not had a single false positive which wasn't explained with incorrect or plain invalid mailserver configuration on the sender side so far with these two packages, and the possibility of a false negative in our current environment is something close to 1%, at least according to my mailbox (which gets publicized enough by posting to @freebsd.org addresses). -- Heiko Wundram Product & Application Development From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 19:22:33 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7C6D16A421 for ; Sun, 16 Dec 2007 19:22:33 +0000 (UTC) (envelope-from goodnaturenet@hotmail.com) Received: from blu139-omc2-s7.blu139.hotmail.com (blu139-omc2-s7.blu139.hotmail.com [65.55.175.177]) by mx1.freebsd.org (Postfix) with ESMTP id 6DE4713C468 for ; Sun, 16 Dec 2007 19:22:33 +0000 (UTC) (envelope-from goodnaturenet@hotmail.com) Received: from BLU127-W27 ([65.55.162.184]) by blu139-omc2-s7.blu139.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 16 Dec 2007 11:10:31 -0800 Message-ID: X-Originating-IP: [70.58.152.226] From: David Goodnature To: Date: Sun, 16 Dec 2007 19:10:31 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 16 Dec 2007 19:10:31.0731 (UTC) FILETIME=[53F8F830:01C84017] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Cannot get Script to Run Via Crontab X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2007 19:22:33 -0000 I have a perl script that I can execute from the command line as root. It = runs fine. When I try to automate it using the root crontab, the script fails. The lines from my script that are causing the problem are: my $scomd =3D "/usr/local/bin/ps2pdf -dPDFSETTINGS=3D/prepress -dProcess= ColorModel=3D/DeviceGray -dAutoRotatePages=3D/PageByPage -dDownsampleMonoIm= ages=3Dtrue -dMonoImageDownsampleType=3D/Average -dMonoImageDownsampleThres= hold=3D1.5 -dMonoImageResolution=3D600 ".$inpath.$cur_ps_files[0]." ".$outp= ath.$pdffilename; ### create the new .pdf file from the .ps file system($scomd) =3D=3D 0 or return "system $scomd failed: $?"; The cron message to mail/root ends with: exec: ps2pdf12: not found I am assuming that cron cannot find a path or a config file for ghostscript= , but I don't have any idea how to fix this problem. Any help would be appreciated. _________________________________________________________________ Get the power of Windows + Web with the new Windows Live. http://www.windowslive.com?ocid=3DTXT_TAGHM_Wave2_powerofwindows_122007= From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 19:41:02 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2282916A417 for ; Sun, 16 Dec 2007 19:41:02 +0000 (UTC) (envelope-from cptsalek@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.186]) by mx1.freebsd.org (Postfix) with ESMTP id 3139813C4D9 for ; Sun, 16 Dec 2007 19:41:00 +0000 (UTC) (envelope-from cptsalek@gmail.com) Received: by fk-out-0910.google.com with SMTP id b27so1410719fka.11 for ; Sun, 16 Dec 2007 11:40: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:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=7Y81UEmOx8Q6gfbPHp+y7Z63GtvTUoJNEtL8VJVMhqg=; b=RzZCZjVVgGtPAME3AVl+uv1fsXVy2x+GpJpxP2NcBeKWgX3UmVr19H/czdGlp61PmH9qwG3I31/NJvaQLz+ghcociZy/4Nye9Xsv6JW4wnVFtTSXqYi3cMSDcJeXD+bqcclUd3aZVoGWhWHtpqH9oJZgrvgKFdWtinpIXRzHJ8s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Cj+23LRROT/5iYV3lJUxF0u/yLvK+RI+V9RS+FOlfmsXb4fwOOwm4yu3VXNKLctBSCnGsXHXNaVSaGsHWzA4Uc64Ss8IhRpCxsKZUP9VCmW/qLKemfFgUloSlnZE8Ni+cmdJqImUiT5RoaBQjbxi6HPA09rI5/lnRovD8KUinac= Received: by 10.82.148.7 with SMTP id v7mr2643783bud.10.1197834059218; Sun, 16 Dec 2007 11:40:59 -0800 (PST) Received: by 10.82.164.16 with HTTP; Sun, 16 Dec 2007 11:40:59 -0800 (PST) Message-ID: <14989d6e0712161140h5d614accje0fefd370029b73b@mail.gmail.com> Date: Sun, 16 Dec 2007 19:40:59 +0000 From: "Christian Walther" To: "David Goodnature" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-questions@freebsd.org Subject: Re: Cannot get Script to Run Via Crontab X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2007 19:41:02 -0000 Hi, On 16/12/2007, David Goodnature wrote: [...] > The cron message to mail/root ends with: > > exec: ps2pdf12: not found > > > I am assuming that cron cannot find a path or a config file for ghostscript, but I don't have any idea how to fix this problem. > > Any help would be appreciated. > When calling scripts from cron you only have a very minimal PATH, something that is /bin:/usr/bin. You have two options: Create a Path in Script yourself, and make sure that this is really passed over to the Environment your commands are executed in. Another option is to exec commands with their full qualified pathname. In this case you don't have to care wether or not the path is set up properly. HTH Christian From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 19:44:13 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D94E516A420 for ; Sun, 16 Dec 2007 19:44:13 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from smtp3.utdallas.edu (smtp3.utdallas.edu [129.110.10.49]) by mx1.freebsd.org (Postfix) with ESMTP id AC77C13C468 for ; Sun, 16 Dec 2007 19:44:13 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from [192.168.2.102] (cpe-24-175-90-48.tx.res.rr.com [24.175.90.48]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp3.utdallas.edu (Postfix) with ESMTP id 30368654D7 for ; Sun, 16 Dec 2007 13:44:13 -0600 (CST) Date: Sun, 16 Dec 2007 13:44:16 -0600 From: Paul Schmehl To: freebsd-questions@freebsd.org Message-ID: <1FF26CB2FADCE73521D6D1F9@paul-schmehls-powerbook59.local> In-Reply-To: <200712162013.34937.wundram@beenic.net> References: <476086E2.5030402@gmail.com> <200712130859.09396.wundram@beenic.net> <4763DB33.6080908@wcborstel.com> <200712162013.34937.wundram@beenic.net> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: (postfix) SPAM filter? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2007 19:44:13 -0000 --On December 16, 2007 8:13:34 PM +0100 "Heiko Wundram (Beenic)" wrote: > > Neither of the two packages I recommended are anything close to bayesian > filtering, as they don't actually take measure on the content of the > mail (which isn't available anyway when the corresponding rules are > effective in the Postfix restriction mechanism), but rather on the > conditions the mail is received under. This is what makes them (much > more) lightweight (than for example a full statistical or bayesian > filter) in the first place. > > I've not had a single false positive which wasn't explained with > incorrect or plain invalid mailserver configuration on the sender side > so far with these two packages, and the possibility of a false negative > in our current environment is something close to 1%, at least according > to my mailbox (which gets publicized enough by posting to @freebsd.org > addresses). I've been using policyd-weight for more than a year now, and I've had exactly one problem with it. It rejected legitimate mail because that particular ISP didn't have a clue about DNS. I tweaked the rules very slightly to cause a score for legitimate mail to fail just below the threshold for rejection, and I've not had a single false positive since. Policyd-weight rejects between 50% and 80% of the incoming mail (it varies by the day) before the mail server ever even processes it. I also use spamassassin, and I have set it up so that borderline mail that's rejected gets copied to a folder (/var/spool/spam) so I can review it. Occasionally I have to recover an email from that folder because it was "falsely" labeled as spam. Usually it's someone using incredimail or a similar service that loads up an email with all sorts of extra junk. Policyd-weight is the perfect complement to a tool like spamassassin. It gets rid of all the "obvious" spam (fake MXes, dailup "mail servers", servers listed in multiple RBLs, etc.) before spamassassin has to make a decision about it. Paul Schmehl (pauls@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 19:51:03 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DDE416A417 for ; Sun, 16 Dec 2007 19:51:03 +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 BC4C913C45B for ; Sun, 16 Dec 2007 19:51:02 +0000 (UTC) (envelope-from listreader@lazlarlyricon.com) Received: from ironport.bredband.com (195.54.101.120) by proxy2.bredband.net (7.3.127) id 47285ABF01181A85 for freebsd-questions@freebsd.org; Sun, 16 Dec 2007 20:51:01 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AutRAOsQZUfVcij+Rmdsb2JhbACBV44kAQEBNwGBIZcW Received: from c-fe2872d5.09-42-6e6b7010.cust.bredbandsbolaget.se (HELO trapper.homedns.org) ([213.114.40.254]) by ironport1.bredband.com with ESMTP; 16 Dec 2007 20:51:01 +0100 Received: from trapper.homedns.org (localhost [127.0.0.1]) by trapper.homedns.org (8.14.2/8.14.2) with ESMTP id lBGJp00b004990; Sun, 16 Dec 2007 20:51:00 +0100 (CET) (envelope-from listreader@lazlarlyricon.com) Message-ID: <476581A4.3020605@lazlarlyricon.com> Date: Sun, 16 Dec 2007 20:51:00 +0100 From: Rolf G Nielsen User-Agent: Thunderbird 2.0.0.9 (X11/20071212) MIME-Version: 1.0 To: David Goodnature References: <14989d6e0712161140h5d614accje0fefd370029b73b@mail.gmail.com> In-Reply-To: <14989d6e0712161140h5d614accje0fefd370029b73b@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Christian Walther , freebsd-questions@freebsd.org Subject: Re: Cannot get Script to Run Via Crontab X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2007 19:51:03 -0000 Christian Walther wrote: > Hi, > > On 16/12/2007, David Goodnature wrote: > [...] >> The cron message to mail/root ends with: >> >> exec: ps2pdf12: not found >> >> >> I am assuming that cron cannot find a path or a config file for ghostscript, but I don't have any idea how to fix this problem. >> >> Any help would be appreciated. >> > When calling scripts from cron you only have a very minimal PATH, > something that is /bin:/usr/bin. You have two options: Create a Path > in Script yourself, and make sure that this is really passed over to > the Environment your commands are executed in. > Another option is to exec commands with their full qualified pathname. > In this case you don't have to care wether or not the path is set up > properly. > > HTH > Christian > _______________________________________________ > 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" > > > It's also possible to define a PATH variable (and other environment variables too, for that matter) in the crontable. Put them at the top of the file, above the actual table. -- Sincerly, Rolf Nielsen From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 19:53:35 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4718A16A419 for ; Sun, 16 Dec 2007 19:53:35 +0000 (UTC) (envelope-from jack@jarasoft.net) Received: from raats.xs4all.nl (raats.xs4all.nl [82.95.230.43]) by mx1.freebsd.org (Postfix) with ESMTP id B3B1213C458 for ; Sun, 16 Dec 2007 19:53:34 +0000 (UTC) (envelope-from jack@jarasoft.net) Received: from raats.xs4all.nl (localhost.jarasoft.net [127.0.0.1]) by raats.xs4all.nl (Postfix) with ESMTP id 0519116A87A; Sun, 16 Dec 2007 20:53:33 +0100 (CET) Received: from jara3 (unknown [192.168.1.64]) by raats.xs4all.nl (Postfix) with ESMTP id 7C0EA16A464; Sun, 16 Dec 2007 20:53:32 +0100 (CET) Message-ID: <002a01c8401d$56186e10$0202fea9@jarasoft.net> From: "Jack Raats" To: "Sten Daniel Soersdal" , "freebsd-questions" References: <476086E2.5030402@gmail.com> Date: Sun, 16 Dec 2007 20:53:32 +0100 Organization: JaRaSoft, Steenbergen, Nederland MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 1 X-MSMail-Priority: High X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Signed-With-GnuPG: GPGrelay Version 0.959 (Win32) X-Virus-Scanned: ClamAV using ClamSMTP Cc: Subject: Re: (postfix) SPAM filter? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jack Raats List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2007 19:53:35 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Sten and the rest, > We have a need for a relatively painless anti-spam solution that would > reduce the amount of incoming spam (via postfix mail router). The problem > is that i have little knowledge on what this actually means. Googling > reveals a whole "universe" of interesting ways but what should i pursue? > The things that are important to me is: > > * Once it is setup then it would require no additional maintenance. > * Potential spam messages are marked with a special header that can be > filtered on user discretion on their local mail client software. > > Neither performance, scalability, license nor cost is of much importance > to me at this point. I have a different approach. I refuse all connections from ip's which reverse DNS points to costumers of providers. This gives a huge reduction of botnets. Below my helo_checks and client_checks. Ofcourse use it for your own risk! Besides this method I also use rbls's, greylisting, clamsmtpd, clamav, procmail and spamassasin ####################################################################### # helo_checks.pcre ####################################################################### /^[0-9.]+$/ REJECT Please use your ISP's outgoing mail server - HA /^\|/ REJECT Please use your ISP's outgoing mail server - HB /^[\d\.]+$/ REJECT Please use your ISP's outgoing mail server - HC # H1 adsl,dial,dhcp,cable,retail,dynamic in helo /(adsl|dial|dhcp|cable|retail|dynamic)/i REJECT Please use your ISP's outgoing mail server - H1 # H2 customer,static,kabel in helo /(customer|static|kabel)/i REJECT Please use your ISP's outgoing mail server - H2 # H3 12345 # /\d{5}/ REJECT Please use your ISP's outgoing mail server - H3 # H4 123-123-123 /\d{1,3}-\d{1,3}-\d{1,3}/ REJECT Please use your ISP's outgoing mail server - H4 # H5 123.123.123 # /\d{1,3}\.\d{1,3}\.\d{1,3}/ REJECT Please use your ISP's outgoing mail server - H5 ####################################################################### # client_checks.pcre ####################################################################### # C1 adsl,dial,dhcp,cable,retail,dynamic in hostname /(adsl|dial|dhcp|cable|retail|dynamic)/i 554 Please use your ISP's outgoing mail server - C1 # C2 customer,static,kabel in hostname /(customer|static|kabel)/i 554 Please use your ISP's outgoing mail server - C2 # C3 123456 /\d{6}/ 554 Please use your ISP's outgoing mail server - C3 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) - GPGrelay v0.959 iD8DBQFHZYI8Ph5RwW/NzC4RAj1uAJ9saKRz9Q+daCcU7D/plXGRAdXflACfQ3KR DpXkjMrMMITbqdSulZW8aBM= =D4lA -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 19:59:43 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EB8716A419 for ; Sun, 16 Dec 2007 19:59:43 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.5]) by mx1.freebsd.org (Postfix) with ESMTP id D0A3F13C447 for ; Sun, 16 Dec 2007 19:59:37 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: (qmail 11207 invoked from network); 16 Dec 2007 19:59:37 -0000 Received: from april.chuckr.org (chuckr@[66.92.151.30]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 16 Dec 2007 19:59:37 -0000 Message-ID: <47658318.8060506@chuckr.org> Date: Sun, 16 Dec 2007 14:57:12 -0500 From: Chuck Robey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.9) Gecko/20071107 SeaMonkey/1.1.6 MIME-Version: 1.0 To: Konstantinos Pachnis References: <200712141742.30001.cblasius@gmail.com> <4765008E.1000704@freemail.gr> In-Reply-To: <4765008E.1000704@freemail.gr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Zbigniew Komarnicki , FreeBSD Questions Subject: Re: csh programing book X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2007 19:59:43 -0000 Konstantinos Pachnis wrote: > Zbigniew Komarnicki wrote: >> Hello! >> >> Is there a good programming book for csh as for example for bash (free >> available) ? >> >> For bash is here: >> http://tldp.org/LDP/abs/html/ >> >> Is such book for csh on the net (free available) ? >> >> Thank you for any hints. >> >> Best regards, >> Zbigniew > O'reilly has a book regarding csh & tcsh named Using csh & tcsh but it's > not covering programming and it is not free either > http://www.oreilly.com/catalog/tcsh/. > For shell programming you should consider using an alternative shell > such as bash, zsh and/or ksh, all available on FreeBSD ports collection. I've seen lots of csh books, now and then, I have several here, but there are certainly more sh books. There are several bash books now, due to all the Linux programmers, but I have to agree that while bash makes a pretty good programming shell, at least IMO, it makes a poor fit as a friendly user shell. Actually, I like ksh better, if you are really going all out for a programming shell, but if you're really after a scripting language, why restrict yourself to shells? things like Python & Ruby knock hell out of both ksh and bash. That's hardly even arguable. Too bad there isn't a good friendly shell-like mode to Python. Ruby would be out there, you couldn't even think about using a OO based tool for a user shell, those things need to be thought out, and that's the antithesis of being a friendly shell. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 20:29:37 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40F0216A417; Sun, 16 Dec 2007 20:29:37 +0000 (UTC) (envelope-from dtynan@kalopa.com) Received: from mail.kalopa.net (mail.kalopa.net [82.195.155.65]) by mx1.freebsd.org (Postfix) with ESMTP id BE4BD13C442; Sun, 16 Dec 2007 20:29:36 +0000 (UTC) (envelope-from dtynan@kalopa.com) Received: from mail.kalopa.com (mail.kgbb.net [84.203.222.58]) by mail.kalopa.net (8.13.6/8.13.3) with ESMTP id lBGKZsCV005140; Sun, 16 Dec 2007 20:35:54 GMT (envelope-from dtynan@kalopa.com) Received: (from dtynan@localhost) by mail.kalopa.com (8.11.3/8.11.3) id lBGKTML13339; Sun, 16 Dec 2007 20:29:22 GMT (envelope-from dtynan) Received: from mail.kalopa.net (mail.kalopa.net [82.195.155.65]) by mail.kalopa.com (8.11.3/8.11.3) with ESMTP id lBGKTK513332 for ; Sun, 16 Dec 2007 20:29:21 GMT (envelope-from owner-freebsd-stable@freebsd.org) Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by mail.kalopa.net (8.13.6/8.13.3) with ESMTP id lBGKZ7Lm005110 for ; Sun, 16 Dec 2007 20:35:38 GMT (envelope-from owner-freebsd-stable@freebsd.org) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 77D542F9AF; Sun, 16 Dec 2007 20:28:17 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 35A3016A52F; Sun, 16 Dec 2007 20:28:15 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 691F816A41B for ; Sun, 16 Dec 2007 20:28:07 +0000 (UTC) (envelope-from cliftonr@lava.net) Received: from outgoing02.lava.net (outgoing02.lava.net [64.65.64.125]) by mx1.freebsd.org (Postfix) with ESMTP id 343F613C461 for ; Sun, 16 Dec 2007 20:28:07 +0000 (UTC) (envelope-from cliftonr@lava.net) Received: from malasada.lava.net (malasada.lava.net [64.65.64.17]) by outgoing02.lava.net (Postfix) with ESMTP id AA3C8B8A47; Sun, 16 Dec 2007 10:28:06 -1000 (HST) Received: by malasada.lava.net (Postfix, from userid 102) id 15980153882; Sun, 16 Dec 2007 10:28:04 -1000 (HST) Date: Sun, 16 Dec 2007 10:28:03 -1000 From: Clifton Royston X-DoIKnowU: Addr=[/v/dtynan/Mail/Addresses] X-Known: NO To: Jeremy Chadwick Message-ID: <20071216202803.GC2036@lava.net> Mail-Followup-To: Jeremy Chadwick , Elliot Finley , freebsd-stable@freebsd.org, User Questions References: <20071215235810.GA81924@eos.sc1.parodius.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071215235810.GA81924@eos.sc1.parodius.com> User-Agent: Mutt/1.4.2.2i X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-stable@freebsd.org Errors-To: owner-freebsd-stable@freebsd.org X-Virus-Scanned: ClamAV 0.88.1/5145/Sun Dec 16 11:23:51 2007 on mail.kalopa.net X-Virus-Scanned: ClamAV 0.88.1/5145/Sun Dec 16 11:23:51 2007 on mail.kalopa.net X-Virus-Status: Clean X-Spam-Status: No, score=-1.9 required=6.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on mail.kalopa.net Cc: freebsd-stable@freebsd.org, User Questions Subject: Re: OS bug in taskq X-BeenThere: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2007 20:29:37 -0000 On Sat, Dec 15, 2007 at 03:58:10PM -0800, Jeremy Chadwick wrote: > On Sat, Dec 15, 2007 at 01:03:14PM -0700, Elliot Finley wrote: > > I have: > > dumpdev="AUTO" > > in /etc/rc.conf and: > > ... > > in the kernel and I'm still unable to obtain a crash dump. Hopefully > > there is enough info in this email for a hacker to point me in the > > right direction to debug this. > > I can't help with the panic itself, but the reason for the inability to > obtain a crash dump is mentioned in a thread I started in November: > > http://lists.freebsd.org/pipermail/freebsd-stable/2007-November/038069.html > > The explanation of the problem was documented best by Doug Barton in > this thread (over at freebsd-rc@): > > http://lists.freebsd.org/pipermail/freebsd-rc/2007-November/001263.html > > Open PR: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=118255 Why does it work *sometimes* then? Or was this particular problem introduced more recently than the 6.2 branch? I have two apparently similarly configured systems running 6.2p8, with identical hardware, identical apps, and identical load, and I have at least attempted to configure them the same way. Both have /var/crash set up and "dumpon" enabled in rc.conf. Both crashed in the last week. I got a dump on one, which I now need to analyze, but have twice failed to get a dump on the other. (Once this past week, once the previous month.) -- Clifton -- Clifton Royston -- cliftonr@iandicomputing.com / cliftonr@lava.net President - I and I Computing * http://www.iandicomputing.com/ Custom programming, network design, systems and network consulting services _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 20:34:21 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 598F616A418 for ; Sun, 16 Dec 2007 20:34:21 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by mx1.freebsd.org (Postfix) with ESMTP id AD88113C468 for ; Sun, 16 Dec 2007 20:34:20 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so3036255pyb.3 for ; Sun, 16 Dec 2007 12:34:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer; bh=6LUgZKLA/MQhREiFIkoa9bQ+mGFgKmri43oAQ+viHmo=; b=kx/TLXWmzvYK/NK/NimfyjnUJKb4JYkF1tSsGI8FlOu/ACo9XzrCriwGLHus6H2Xh4D4IEiqwZ+M79bjwQ9NRYYrFyIGzpeelCRcAw0LwgmNvD6wRivjR53Sl8hNIdvnJArR7HkjpU9ezvNkfXNtvXLq2ZPzt1jyRJT7Aqbcg8g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer; b=NIMj2dVn9HqGcNHS/jctwIu/cnBvPKgWssSVSoU+hteuyOK2Jmy+kSwIjKamjHjO13iHNoG2bKOQB74NrG/I8hcl31nZvZSiKPw+amstRGtHh13HlUJmy+nfUnqPTvHWR7fAooLVqrw0TlRaslQIm0pbMNlMjDhWY+AhqVeAcVQ= Received: by 10.35.84.9 with SMTP id m9mr57841pyl.6.1197837255327; Sun, 16 Dec 2007 12:34:15 -0800 (PST) Received: from ?192.168.1.4? ( [74.134.230.123]) by mx.google.com with ESMTPS id w29sm16453281pyg.2007.12.16.12.34.13 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 16 Dec 2007 12:34:14 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v624) Content-Transfer-Encoding: 7bit Message-Id: <6dc36443d960e96fae20e3bf46365a20@gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed To: FreeBSD Mailing List From: Joshua Isom Date: Sun, 16 Dec 2007 14:34:49 -0600 X-Mailer: Apple Mail (2.624) Subject: Odd message when loading green_saver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2007 20:34:21 -0000 Whenever I load up green_saver to turn off the monitor when the console's inactive, I get a message on the console saying "kldload: Unsupported file type". The module still loads and is active, it all works, but there's still that message that makes it seem as though it fails. Does anyone happen to know why or how to get rid of it? As far as I know it's harmless since green_saver does work, but it does seems odd. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 20:45:28 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBC2116A417; Sun, 16 Dec 2007 20:45:28 +0000 (UTC) (envelope-from cliftonr@lava.net) Received: from outgoing02.lava.net (outgoing02.lava.net [64.65.64.125]) by mx1.freebsd.org (Postfix) with ESMTP id 89FB813C442; Sun, 16 Dec 2007 20:45:28 +0000 (UTC) (envelope-from cliftonr@lava.net) Received: from malasada.lava.net (malasada.lava.net [64.65.64.17]) by outgoing02.lava.net (Postfix) with ESMTP id AA3C8B8A47; Sun, 16 Dec 2007 10:28:06 -1000 (HST) Received: by malasada.lava.net (Postfix, from userid 102) id 15980153882; Sun, 16 Dec 2007 10:28:04 -1000 (HST) Date: Sun, 16 Dec 2007 10:28:03 -1000 From: Clifton Royston To: Jeremy Chadwick Message-ID: <20071216202803.GC2036@lava.net> Mail-Followup-To: Jeremy Chadwick , Elliot Finley , freebsd-stable@freebsd.org, User Questions References: <20071215235810.GA81924@eos.sc1.parodius.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071215235810.GA81924@eos.sc1.parodius.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-stable@freebsd.org, User Questions Subject: Re: OS bug in taskq X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2007 20:45:28 -0000 On Sat, Dec 15, 2007 at 03:58:10PM -0800, Jeremy Chadwick wrote: > On Sat, Dec 15, 2007 at 01:03:14PM -0700, Elliot Finley wrote: > > I have: > > dumpdev="AUTO" > > in /etc/rc.conf and: > > ... > > in the kernel and I'm still unable to obtain a crash dump. Hopefully > > there is enough info in this email for a hacker to point me in the > > right direction to debug this. > > I can't help with the panic itself, but the reason for the inability to > obtain a crash dump is mentioned in a thread I started in November: > > http://lists.freebsd.org/pipermail/freebsd-stable/2007-November/038069.html > > The explanation of the problem was documented best by Doug Barton in > this thread (over at freebsd-rc@): > > http://lists.freebsd.org/pipermail/freebsd-rc/2007-November/001263.html > > Open PR: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=118255 Why does it work *sometimes* then? Or was this particular problem introduced more recently than the 6.2 branch? I have two apparently similarly configured systems running 6.2p8, with identical hardware, identical apps, and identical load, and I have at least attempted to configure them the same way. Both have /var/crash set up and "dumpon" enabled in rc.conf. Both crashed in the last week. I got a dump on one, which I now need to analyze, but have twice failed to get a dump on the other. (Once this past week, once the previous month.) -- Clifton -- Clifton Royston -- cliftonr@iandicomputing.com / cliftonr@lava.net President - I and I Computing * http://www.iandicomputing.com/ Custom programming, network design, systems and network consulting services From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 21:28:33 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D578D16A41A for ; Sun, 16 Dec 2007 21:28:33 +0000 (UTC) (envelope-from jekillen@prodigy.net) Received: from smtp104.sbc.mail.mud.yahoo.com (smtp104.sbc.mail.mud.yahoo.com [68.142.198.203]) by mx1.freebsd.org (Postfix) with SMTP id 951EA13C45A for ; Sun, 16 Dec 2007 21:28:33 +0000 (UTC) (envelope-from jekillen@prodigy.net) Received: (qmail 23346 invoked from network); 16 Dec 2007 21:28:32 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=prodigy.net; h=Received:X-YMail-OSG:In-Reply-To:References:Mime-Version:Content-Type:Message-Id:Content-Transfer-Encoding:Cc:From:Subject:Date:To:X-Mailer; b=YuCKYXCCo2OOVnfiaKlVsotAzm+CiyVlJgYOJ/jpQgjIzbE8hBCqQXeo6jAjxpq76b8aIi+dUwatkCbsppSEmKbOC7te3Wed66lz1ViK31I8OYPweyIhEvZhSox8s51YaP2E119Gz8zaSbIXjdsCapTLtm3CIDoW/m4gIqcLOMs= ; Received: from unknown (HELO ?75.7.236.228?) (jekillen@prodigy.net@75.7.236.228 with plain) by smtp104.sbc.mail.mud.yahoo.com with SMTP; 16 Dec 2007 21:28:32 -0000 X-YMail-OSG: H_t4M94VM1ke8QPqcfEugDbIFNEHEEh.MZv8ZlNuhJLAp4MYsjLTH0SanYRJXbN3xih4q17ceQ-- In-Reply-To: <6.0.0.22.2.20071216094952.0240d528@mail.computinginnovations.com> References: <6.0.0.22.2.20071216094952.0240d528@mail.computinginnovations.com> Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: jekillen Date: Sun, 16 Dec 2007 13:30:03 -0800 To: Derek Ragona X-Mailer: Apple Mail (2.622) Cc: FreeBSD Mailing List Subject: Re: Panic 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: Sun, 16 Dec 2007 21:28:33 -0000 On Dec 16, 2007, at 7:58 AM, Derek Ragona wrote: > At 07:32 PM 12/15/2007, jekillen wrote: > >> On Dec 15, 2007, at 5:21 PM, jekillen wrote: >> >>> Hello; >>> I have had an AMD64 754 system that I have 64 bit SCSI card and >>> two 15k rpm SCSI drives. It has been running fine with FreeBSD v 6.0 >>> for about two years now. I have several things I wanted to change >>> and reconfigure, software wise, and hardware wise. The first was a >>> new >>> case which I got today. I shut down the system, put everything in >>> the new >>> case and booted. It booted without any complaint. I got the V6.2 >>> install >>> cd and put it in. The system froze during boot process after an entry >>> for mpt 0. I turned off the power and tried rebooting into the >>> install cd. >>> This time it made it to sysinstall and went through slice and >>> partitioning >>> and was in the process of installing the base system and it froze >>> again, >>> no error messaged to console. I rebooted and started again. The >>> second >>> time I got all the way through the install process. >>> >>> Now on reboot the system is panicking just after the line >>> mtp0 hidden device members(6) >>> The error is: >>> Fatal Trap 12 (the screen does not persist >>> long enough to transcribe it all.) >>> Three tries, the same thing in the same place in the boot >>> process. >> >> I tried it agian and the same thing happened. >> This time I got more of the error message. >> 'page fault while in kernel mode' >> >>> >>> does this mean the scsi drives or card is going bad? (I nope not) >>> the card is LSI Logic 64 bit card (installed in a standard PCI slot >>> but >>> has been working with an inch of the card hanging off the end >>> of the slot. I only have one internal bus available this way, but >>> that is >>> all I need. >>> Thanks in advance for info >>> Jeff K >>> (chewing my fingernails) > > Jeff, > > Could be anything causing this from your "move" such as damaged ram or > other component from static or a somewhat flaky power supply in the > new case. > > Have you run diagnostics on the hard drives? > > Make sure all your power connectors are tight, no damaged cables. It > is easy with some SCSI cables to damage the cable or connectors, I > know I have done that a few times. > > If you can, separate the power to the hard drives to separate lines > from the power supply rather than daisy chaining a power line with > multiple connectors on it. > > Have you tried other bootable OS's just to see if they crash too? > > I was on the verge of panic myself because this machine is my primary DNS server. But: What I did was reinstall v6.0 to use as a control test and it installed without problem and runs without a problem. It would appear that this combination of hardware does not work with FreeBSD 6.2. I have another machine with a motherboard with PCI X (64 bit) slots and the same LSI logic board installed with v6.2 and it works fine. I am guessing that 6.2 does not like the 64 bit SCSI card in a 32 bit slot. Both are AMD64 processors but the one with v6.0 is using slot 754 processor on ECS Elite Group mb, and the one with v6.2 is using socket AM2 with ASUS M2N32 ws pro mb; Perhaps a difference in the mtp driver(?) Both are home built. Both have been working without problem (accept for this latest). I do plan on getting another ASUS board like the one I have, but that is a $300+ board and I have to get a new processor and ram for it also. So I have to engineer my budget for it. Thanks for the response; Jeff K From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 21:30:17 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBD2F16A419 for ; Sun, 16 Dec 2007 21:30:17 +0000 (UTC) (envelope-from mksmith@adhost.com) Received: from mail-in03.adhost.com (mail-in03.adhost.com [216.211.128.143]) by mx1.freebsd.org (Postfix) with ESMTP id 96B5E13C468 for ; Sun, 16 Dec 2007 21:30:17 +0000 (UTC) (envelope-from mksmith@adhost.com) Received: from ad-exh01.adhost.lan (unknown [216.211.143.69]) by mail-in03.adhost.com (Postfix) with ESMTP id 620BA119C85; Sun, 16 Dec 2007 13:30:17 -0800 (PST) (envelope-from mksmith@adhost.com) Received: from [192.168.0.101] ([10.142.3.45]) by ad-exh01.adhost.lan with Microsoft SMTPSVC(6.0.3790.3959); Sun, 16 Dec 2007 13:30:16 -0800 Message-Id: <443CBFCB-ABA6-49B1-A9C7-5E3367611823@adhost.com> From: Michael Smith To: O. Hartmann In-Reply-To: <47653EEA.1090700@mail.zedat.fu-berlin.de> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Sun, 16 Dec 2007 13:30:16 -0800 References: <47653EEA.1090700@mail.zedat.fu-berlin.de> X-Mailer: Apple Mail (2.915) X-OriginalArrivalTime: 16 Dec 2007 21:30:16.0512 (UTC) FILETIME=[D9B10400:01C8402A] X-TM-AS-Product-Ver: SMEX-7.5.0.1243-5.0.1023-15608.002 X-TM-AS-Result: No--9.379200-5.000000-2 X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No Cc: freebsd-questions@freebsd.org Subject: Re: PAM and OpenLDAP: Login requires always existence of SSH pubkey, why? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2007 21:30:17 -0000 Hello: On Dec 16, 2007, at 7:06 AM, O. Hartmann wrote: > Hello. > > I use FreeBSD 7.0-BETA on servral boxes with different architectures > (i386/amd64). Users within our network have to autheticate against > an OpenLDAP Server via PAM. I have the annoying problem that every > user getting autenticated needs a public key and the passphrase set > in the ssh public key is the passphrase that authenticates the user > - not the passphrase/password set in the OpenLDAP DIT for that > specific user! My sshd_config looks quite common to the default > sshd_conf offered with the FreeBSD sources, exept three changes: > > > ============= > # Change to yes to enable built-in password authentication. > PasswordAuthentication yes > #PermitEmptyPasswords no > > # Change to no to disable PAM authentication > ChallengeResponseAuthentication yes > > # Kerberos options > #KerberosAuthentication no > #KerberosOrLocalPasswd yes > #KerberosTicketCleanup yes > #KerberosGetAFSToken no > > # GSSAPI options > #GSSAPIAuthentication yes > #GSSAPICleanupCredentials yes > > # Set this to 'no' to disable PAM authentication, account processing, > # and session processing. If this is enabled, PAM authentication will > # be allowed through the ChallengeResponseAuthentication and > # PasswordAuthentication. Depending on your PAM configuration, > # PAM authentication via ChallengeResponseAuthentication may bypass > # the setting of "PermitRootLogin without-password". > # If you just want the PAM account and session checks to run without > # PAM authentication, then enable this but set PasswordAuthentication > # and ChallengeResponseAuthentication to 'no'. > UsePAM yes > > ================= > > Setting > PasswordAuthentication no > and > ChallengeResponseAuthentication no > > to force PAM doing authetication, accounting and session via LDAP > results in the incapability of logging in for any user (error: > pubkey/password). > > In /etc/pam.d/sshd and system I have both in auth and session > pam_sshd.so enabled. Without that it doesn't matter what is > configured in sshd_conf, users never can login as LDAP would never > check passphrase. > > What is wrong? Why is PAM forcing ssh into doing authentication and > accounting and session management by default although I configured > PAM to do so? > > Can anybody help? Are you telling SSH to use pam_ldap in the /etc/pam.d/sshd file? As I understand it, you have told ssh to use PAM, which means it will honor what is in /etc/pam.d/sshd for its authentication. If you want ldap, you'll need the pam_ldap.so library installed and then reference that in the file. We use RADIUS and SAMBA so ours looks like: auth required pam_nologin.so no_warn auth sufficient pam_radius.so auth sufficient /usr/local/lib/pam_winbind.so try_first_pass auth sufficient pam_opie.so no_warn no_fake_prompts auth requisite pam_opieaccess.so no_warn allow_local auth required pam_unix.so no_warn try_first_pass Regards, Mike From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 23:46:37 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B043416A418 for ; Sun, 16 Dec 2007 23:46:37 +0000 (UTC) (envelope-from msoulier@digitaltorque.ca) Received: from mail.storm.ca (mail.storm.ca [209.87.239.66]) by mx1.freebsd.org (Postfix) with ESMTP id 775D513C458 for ; Sun, 16 Dec 2007 23:46:37 +0000 (UTC) (envelope-from msoulier@digitaltorque.ca) Received: from kanga.digitaltorque.ca (hs-216-106-102-70.storm.ca [216.106.102.70]) by mail.storm.ca (8.14.0+Sun/8.14.0) with ESMTP id lBGNP7U3005953 for ; Sun, 16 Dec 2007 18:25:15 -0500 (EST) Received: from piglet (unknown [192.168.1.5]) by kanga.digitaltorque.ca (Postfix) with ESMTP id 4ECD69 for ; Sun, 16 Dec 2007 23:25:02 +0000 (UTC) Received: by piglet (Postfix, from userid 1000) id 549E9F4007; Sun, 16 Dec 2007 18:25:01 -0500 (EST) Date: Sun, 16 Dec 2007 18:25:00 -0500 From: "Michael P. Soulier" To: freebsd-questions@freebsd.org Message-ID: <20071216232459.GC5874@piglet.digitaltorque.ca> Mail-Followup-To: freebsd-questions@freebsd.org References: <20071214010542.GA19553@demeter.hydra> <20071214022529.GA2571@kobe.laptop> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zCKi3GIZzVBPywwA" Content-Disposition: inline In-Reply-To: <20071214022529.GA2571@kobe.laptop> User-Agent: Mutt/1.5.13 (2006-08-11) Subject: Re: Apparently, csh programming is considered harmful. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2007 23:46:37 -0000 --zCKi3GIZzVBPywwA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 14/12/07 Giorgos Keramidas said: > Do you have any _particular_ parts of the csh-whynot article that you > would like to discuss, or this is a free for all flame? :) It's the lack of shell functions that gets me.=20 Once a script reaches a certain size, I just move to Perl, Python, Tcl, Rub= y, etc.=20 Mike --=20 Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein --zCKi3GIZzVBPywwA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHZbPLKGqCc1vIvggRAgf3AJ4rdRptfGNjM1QZKl1DjD/V7zG72QCgmWqv RO1P45iZcB24nxKlvE8c5pw= =/pLa -----END PGP SIGNATURE----- --zCKi3GIZzVBPywwA-- From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 23:46:38 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4AC4116A46E for ; Sun, 16 Dec 2007 23:46:38 +0000 (UTC) (envelope-from msoulier@digitaltorque.ca) Received: from mail.storm.ca (mail.storm.ca [209.87.239.66]) by mx1.freebsd.org (Postfix) with ESMTP id 0BE2E13C459 for ; Sun, 16 Dec 2007 23:46:37 +0000 (UTC) (envelope-from msoulier@digitaltorque.ca) Received: from kanga.digitaltorque.ca (hs-216-106-102-70.storm.ca [216.106.102.70]) by mail.storm.ca (8.14.0+Sun/8.14.0) with ESMTP id lBGNSbRE006049 for ; Sun, 16 Dec 2007 18:28:42 -0500 (EST) Received: from piglet (unknown [192.168.1.5]) by kanga.digitaltorque.ca (Postfix) with ESMTP id C00649 for ; Sun, 16 Dec 2007 23:28:31 +0000 (UTC) Received: by piglet (Postfix, from userid 1000) id 25F0FF4007; Sun, 16 Dec 2007 18:28:30 -0500 (EST) Date: Sun, 16 Dec 2007 18:28:30 -0500 From: "Michael P. Soulier" To: freebsd-questions@freebsd.org Message-ID: <20071216232830.GD5874@piglet.digitaltorque.ca> Mail-Followup-To: freebsd-questions@freebsd.org References: <20071214010542.GA19553@demeter.hydra> <20071214022529.GA2571@kobe.laptop> <4761F17F.9030908@chuckr.org> <20071214033333.GA3455@kobe.laptop> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ylS2wUBXLOxYXZFQ" Content-Disposition: inline In-Reply-To: <20071214033333.GA3455@kobe.laptop> User-Agent: Mutt/1.5.13 (2006-08-11) Subject: Re: Apparently, csh programming is considered harmful. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2007 23:46:38 -0000 --ylS2wUBXLOxYXZFQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 14/12/07 Giorgos Keramidas said: > Tcsh is a fine shell. I'm using it all the time (that's how I found out > that a buglet reported by Kris Kennaway a few months ago was indeed a > bug which I could reproduce too). I always found csh/tcsh aliases annoying, since there are no shell function= s. I also found the shell redirection awkward.=20 It's ok otherwise, but I've since become addicted to bash. Mind you, I'm su= re some tcsh users could point out some features that bash doesn't have.=20 Mike --=20 Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein --ylS2wUBXLOxYXZFQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHZbSeKGqCc1vIvggRApfRAJ0bFX9yu9XX98dK0/DdtRHhNYX7VwCgtNE8 4g/5ql+h5/x6f2iDI1wJZBg= =lSvx -----END PGP SIGNATURE----- --ylS2wUBXLOxYXZFQ-- From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 00:21:33 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A23616A479 for ; Mon, 17 Dec 2007 00:21:33 +0000 (UTC) (envelope-from tmclaugh@sdf.lonestar.org) Received: from straycat.dhs.org (c-24-60-173-77.hsd1.ma.comcast.net [24.60.173.77]) by mx1.freebsd.org (Postfix) with ESMTP id 4903B13C46A for ; Mon, 17 Dec 2007 00:21:32 +0000 (UTC) (envelope-from tmclaugh@sdf.lonestar.org) Received: from [192.168.1.118] (tomcat.straycat.dhs.org [192.168.1.118]) by straycat.dhs.org (8.14.1/8.14.1) with ESMTP id lBH0LN9C014266; Sun, 16 Dec 2007 19:21:24 -0500 (EST) From: Tom McLaughlin To: Giorgos Keramidas In-Reply-To: <20071215021349.GF2062@kobe.laptop> References: <20071214010542.GA19553@demeter.hydra> <200712132012.32729.mike.jeays@rogers.com> <20071214211008.GA12935@melon.esperance-linux.co.uk> <20071215021349.GF2062@kobe.laptop> Content-Type: text/plain Date: Sun, 16 Dec 2007 19:21:23 -0500 Message-Id: <1197850883.4230.3.camel@tomcat.straycat.dhs.org> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 (2.10.3-4.fc7) Content-Transfer-Encoding: 7bit Cc: Frank Shute , FreeBSD Questions Subject: Re: pdksh vs. mksh info [was: Re: Apparently, csh programming is considered harmful.] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 00:21:33 -0000 On Sat, 2007-12-15 at 04:13 +0200, Giorgos Keramidas wrote: > On 2007-12-14 21:10, Frank Shute wrote: > > I used bash for an interactive shell for about 5 years until I > > discovered the goodness of pdksh. About half the size, statically > > linked, not full of bugs and better editing features. Plus it's not > > GPL. > > Hi Frank, > > Now that you mention pdksh, have you tried mksh (in Ports too)? > > I've installed it and successfully run moderately large ksh scripts > (like the webrev(1) utility of OpenSolaris), and it is about an order of > magnitude smaller than pdksh here: > > % keramida@kobe:/usr/local/bin$ ls -ld mksh bash ksh > % -rwxr-xr-x 1 root wheel - 684699 Dec 9 19:51 bash > % -r-xr-xr-x 1 root wheel - 2390645 Aug 31 17:07 ksh > % -r-xr-xr-x 1 root wheel - 236202 Dec 9 18:34 mksh > % keramida@kobe:/usr/local/bin$ ldd mksh bash ksh > % mksh: > % libc.so.7 => /lib/libc.so.7 (0x280ae000) > % bash: > % libncurses.so.7 => /lib/libncurses.so.7 (0x28101000) > % libintl.so.8 => /usr/local/lib/libintl.so.8 (0x28144000) > % libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28156000) > % libc.so.7 => /lib/libc.so.7 (0x2824b000) > % ldd: ksh: not a dynamic executable > % keramida@kobe:/usr/local/bin$ > I've maintained a port of OpenBSD's pdksh for some time but I've never committed it. Think of pdksh but still actively maintained. http://people.freebsd.org/~tmclaugh/files/openksh/openksh-4.2.shar [tom@releng-7-fbsd tom]$ ls -al /usr/local/bin/ksh -r-xr-xr-x 1 root wheel 192032 Dec 16 18:22 /usr/local/bin/ksh* tom -- | tmclaugh at sdf.lonestar.org tmclaugh at FreeBSD.org | | FreeBSD http://www.FreeBSD.org | From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 00:39:18 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F1F716A41B for ; Mon, 17 Dec 2007 00:39:18 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.10]) by mx1.freebsd.org (Postfix) with ESMTP id 4005013C45A for ; Mon, 17 Dec 2007 00:39:18 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: (qmail 13668 invoked from network); 17 Dec 2007 00:39:17 -0000 Received: from april.chuckr.org (chuckr@[66.92.151.30]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 17 Dec 2007 00:39:17 -0000 Message-ID: <4765C4A5.4020906@chuckr.org> Date: Sun, 16 Dec 2007 19:36:53 -0500 From: Chuck Robey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.9) Gecko/20071107 SeaMonkey/1.1.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20071214010542.GA19553@demeter.hydra> <20071214022529.GA2571@kobe.laptop> <4761F17F.9030908@chuckr.org> <20071214033333.GA3455@kobe.laptop> <20071216232830.GD5874@piglet.digitaltorque.ca> In-Reply-To: <20071216232830.GD5874@piglet.digitaltorque.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Apparently, csh programming is considered harmful. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 00:39:18 -0000 Michael P. Soulier wrote: > On 14/12/07 Giorgos Keramidas said: > >> Tcsh is a fine shell. I'm using it all the time (that's how I found out >> that a buglet reported by Kris Kennaway a few months ago was indeed a >> bug which I could reproduce too). > > I always found csh/tcsh aliases annoying, since there are no shell functions. > I also found the shell redirection awkward. There;s one item that is much more easily done in csh/tcsh than in the sh based ones .... that's redirecting the stderr along with the stdout. with tcsh, when I do a make, I commonly do a: make |& tee makeout which causes both the stdout and stderr files to be redirected to the "makeout" make listing file. I;'ve never figured out any reasonably simple way to do that in any sh-like shell. Is there any simble way that you know of? > > It's ok otherwise, but I've since become addicted to bash. Mind you, I'm sure > some tcsh users could point out some features that bash doesn't have. > > Mike From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 01:57:41 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 764BF16A417 for ; Mon, 17 Dec 2007 01:57:41 +0000 (UTC) (envelope-from msoulier@digitaltorque.ca) Received: from mail.storm.ca (mail.storm.ca [209.87.239.66]) by mx1.freebsd.org (Postfix) with ESMTP id 4E7DC13C4DD for ; Mon, 17 Dec 2007 01:57:41 +0000 (UTC) (envelope-from msoulier@digitaltorque.ca) Received: from kanga.digitaltorque.ca (hs-216-106-102-70.storm.ca [216.106.102.70]) by mail.storm.ca (8.14.0+Sun/8.14.0) with ESMTP id lBH1vTeS011488; Sun, 16 Dec 2007 20:57:37 -0500 (EST) Received: from piglet (unknown [192.168.1.5]) by kanga.digitaltorque.ca (Postfix) with ESMTP id 6F7AF9; Mon, 17 Dec 2007 01:57:24 +0000 (UTC) Received: by piglet (Postfix, from userid 1000) id DA2F2F4007; Sun, 16 Dec 2007 20:57:23 -0500 (EST) Date: Sun, 16 Dec 2007 20:57:23 -0500 From: "Michael P. Soulier" To: Chuck Robey Message-ID: <20071217015723.GE5874@piglet.digitaltorque.ca> Mail-Followup-To: Chuck Robey , freebsd-questions@freebsd.org References: <20071214010542.GA19553@demeter.hydra> <20071214022529.GA2571@kobe.laptop> <4761F17F.9030908@chuckr.org> <20071214033333.GA3455@kobe.laptop> <20071216232830.GD5874@piglet.digitaltorque.ca> <4765C4A5.4020906@chuckr.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BQPnanjtCNWHyqYD" Content-Disposition: inline In-Reply-To: <4765C4A5.4020906@chuckr.org> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-questions@freebsd.org Subject: Re: Apparently, csh programming is considered harmful. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 01:57:41 -0000 --BQPnanjtCNWHyqYD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 16/12/07 Chuck Robey said: > There;s one item that is much more easily done in csh/tcsh than in the=20 > sh based ones .... that's redirecting the stderr along with the stdout.= =20 > with tcsh, when I do a make, I commonly do a: >=20 > make |& tee makeout >=20 > which causes both the stdout and stderr files to be redirected to the=20 > "makeout" make listing file. I;'ve never figured out any reasonably=20 > simple way to do that in any sh-like shell. Is there any simble way=20 > that you know of? Yup.=20 make 2>&1 | tee makeout Now show me a simple way to redirect them to different files in csh. foo 1>stdout.log 2>stderr.log Mike --=20 Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein --BQPnanjtCNWHyqYD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHZdeDKGqCc1vIvggRAiB0AJsEAaGf9irRUM42iBSFoqfFjrJ8AwCgkuR0 CkCN8KT7M+6d7M2TSeBi5XM= =1Jml -----END PGP SIGNATURE----- --BQPnanjtCNWHyqYD-- From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 03:29:19 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 105E016A418 for ; Mon, 17 Dec 2007 03:29:19 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.10]) by mx1.freebsd.org (Postfix) with ESMTP id E005E13C45D for ; Mon, 17 Dec 2007 03:29:18 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: (qmail 3539 invoked from network); 17 Dec 2007 03:29:18 -0000 Received: from april.chuckr.org (chuckr@[66.92.151.30]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 17 Dec 2007 03:29:18 -0000 Message-ID: <4765EC7E.6050704@chuckr.org> Date: Sun, 16 Dec 2007 22:26:54 -0500 From: Chuck Robey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.9) Gecko/20071107 SeaMonkey/1.1.6 MIME-Version: 1.0 To: Tom McLaughlin References: <20071214010542.GA19553@demeter.hydra> <200712132012.32729.mike.jeays@rogers.com> <20071214211008.GA12935@melon.esperance-linux.co.uk> <20071215021349.GF2062@kobe.laptop> <1197850883.4230.3.camel@tomcat.straycat.dhs.org> In-Reply-To: <1197850883.4230.3.camel@tomcat.straycat.dhs.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Giorgos Keramidas , Frank Shute , FreeBSD Questions Subject: Re: pdksh vs. mksh info [was: Re: Apparently, csh programming is considered harmful.] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 03:29:19 -0000 Tom McLaughlin wrote: >> Now that you mention pdksh, have you tried mksh (in Ports too)? >> >> I've installed it and successfully run moderately large ksh scripts >> (like the webrev(1) utility of OpenSolaris), and it is about an order of >> magnitude smaller than pdksh here: >> >> % keramida@kobe:/usr/local/bin$ ls -ld mksh bash ksh >> % -rwxr-xr-x 1 root wheel - 684699 Dec 9 19:51 bash >> % -r-xr-xr-x 1 root wheel - 2390645 Aug 31 17:07 ksh >> % -r-xr-xr-x 1 root wheel - 236202 Dec 9 18:34 mksh >> % keramida@kobe:/usr/local/bin$ ldd mksh bash ksh >> % mksh: >> % libc.so.7 => /lib/libc.so.7 (0x280ae000) >> % bash: >> % libncurses.so.7 => /lib/libncurses.so.7 (0x28101000) >> % libintl.so.8 => /usr/local/lib/libintl.so.8 (0x28144000) >> % libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28156000) >> % libc.so.7 => /lib/libc.so.7 (0x2824b000) >> % ldd: ksh: not a dynamic executable >> % keramida@kobe:/usr/local/bin$ >> > > I've maintained a port of OpenBSD's pdksh for some time but I've never > committed it. Think of pdksh but still actively maintained. > > http://people.freebsd.org/~tmclaugh/files/openksh/openksh-4.2.shar > > [tom@releng-7-fbsd tom]$ ls -al /usr/local/bin/ksh > -r-xr-xr-x 1 root wheel 192032 Dec 16 18:22 /usr/local/bin/ksh* If you're familiar with pdksh, are you also familiar with ksh93, which is (I believe) Mr. Korn's own shell? If you are, I would be interessted in your opinion of the two, any comparisons you might give. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 04:27:33 2007 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 8C48116A419 for ; Mon, 17 Dec 2007 04:27:33 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 43BBA13C4F2 for ; Mon, 17 Dec 2007 04:27:32 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 13976 invoked from network); 16 Dec 2007 22:27:33 -0600 Received: from 124-170-40-102.dyn.iinet.net.au (HELO localhost) (124.170.40.102) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 16 Dec 2007 22:27:32 -0600 Date: Mon, 17 Dec 2007 15:27:03 +1100 From: Norberto Meijome To: Gaston Rey Message-ID: <20071217152703.07f955f6@meijome.net> In-Reply-To: <654217.98107.qm@web50506.mail.re2.yahoo.com> References: <654217.98107.qm@web50506.mail.re2.yahoo.com> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.3; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: questions@freebsd.org Subject: Re: Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2007 04:27:33 -0000 On Sun, 16 Dec 2007 08:32:04 -0800 (PST) Gaston Rey wrote: > Hi all, > I need to know how to migrate a HD from my actual Server to another r= ecently made up. This HD has the base operating system and i want to move u= p it to the other server but surely it'll carry up a kernel panic error :s= =20 >=20 > does Anybody know how to do it? Hola Gast=F3n, FBsd isn't windows - go ahead and do it - if u can get the new HD and hook = it up to the old box, go into single user mode , partition the new disk as= you wish, mount each partition at a time and transfer the data.=20 to transfer the data, you can use dump and restore , or tar (with the prope= r bunch of switches)...I personally use=20 rsync --progress --recursive -x --delete /orig/ /dest but the others should work just fine. don't forget to run the boot0cfg against the new drive's / partition. (or j= ust take the disk as is to the new server, boot from an install CD, go into= rescue mode and do it from there, to be 100% sure there is no mixup with t= he older box...but you shouldn't have to). Bill M's answer is spot on - make sure your current kernel supports all you= r hardware, and that fstab and bootloader are pointing ,in the new drive (a= fter you've copied all the data), to the right devices in the new machine.= =20 Suerte, B _________________________ {Beto|Norberto|Numard} Meijome "Produce great people, the rest will follow." Elbert Hubbard I speak for myself, not my employer. Contents may be hot. Slippery when wet= . Reading disclaimers makes you go blind. Writing them is worse. You have b= een Warned. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 04:35:02 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D656316A418 for ; Mon, 17 Dec 2007 04:35:02 +0000 (UTC) (envelope-from tmclaugh@sdf.lonestar.org) Received: from straycat.dhs.org (c-24-60-173-77.hsd1.ma.comcast.net [24.60.173.77]) by mx1.freebsd.org (Postfix) with ESMTP id 6B9EC13C459 for ; Mon, 17 Dec 2007 04:35:02 +0000 (UTC) (envelope-from tmclaugh@sdf.lonestar.org) Received: from [192.168.1.118] (tomcat.straycat.dhs.org [192.168.1.118]) by straycat.dhs.org (8.14.1/8.14.1) with ESMTP id lBH4Yo3B011199; Sun, 16 Dec 2007 23:34:53 -0500 (EST) From: Tom McLaughlin To: Chuck Robey In-Reply-To: <4765EC7E.6050704@chuckr.org> References: <20071214010542.GA19553@demeter.hydra> <200712132012.32729.mike.jeays@rogers.com> <20071214211008.GA12935@melon.esperance-linux.co.uk> <20071215021349.GF2062@kobe.laptop> <1197850883.4230.3.camel@tomcat.straycat.dhs.org> <4765EC7E.6050704@chuckr.org> Content-Type: text/plain Date: Sun, 16 Dec 2007 23:34:50 -0500 Message-Id: <1197866090.6951.6.camel@tomcat.straycat.dhs.org> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 (2.10.3-4.fc7) Content-Transfer-Encoding: 7bit Cc: Giorgos Keramidas , Frank Shute , FreeBSD Questions Subject: Re: pdksh vs. mksh info [was: Re: Apparently, csh programming is considered harmful.] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 04:35:02 -0000 On Sun, 2007-12-16 at 22:26 -0500, Chuck Robey wrote: > Tom McLaughlin wrote: > >> Now that you mention pdksh, have you tried mksh (in Ports too)? > >> > >> I've installed it and successfully run moderately large ksh scripts > >> (like the webrev(1) utility of OpenSolaris), and it is about an order of > >> magnitude smaller than pdksh here: > >> > >> % keramida@kobe:/usr/local/bin$ ls -ld mksh bash ksh > >> % -rwxr-xr-x 1 root wheel - 684699 Dec 9 19:51 bash > >> % -r-xr-xr-x 1 root wheel - 2390645 Aug 31 17:07 ksh > >> % -r-xr-xr-x 1 root wheel - 236202 Dec 9 18:34 mksh > >> % keramida@kobe:/usr/local/bin$ ldd mksh bash ksh > >> % mksh: > >> % libc.so.7 => /lib/libc.so.7 (0x280ae000) > >> % bash: > >> % libncurses.so.7 => /lib/libncurses.so.7 (0x28101000) > >> % libintl.so.8 => /usr/local/lib/libintl.so.8 (0x28144000) > >> % libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28156000) > >> % libc.so.7 => /lib/libc.so.7 (0x2824b000) > >> % ldd: ksh: not a dynamic executable > >> % keramida@kobe:/usr/local/bin$ > >> > > > > I've maintained a port of OpenBSD's pdksh for some time but I've never > > committed it. Think of pdksh but still actively maintained. > > > > http://people.freebsd.org/~tmclaugh/files/openksh/openksh-4.2.shar > > > > [tom@releng-7-fbsd tom]$ ls -al /usr/local/bin/ksh > > -r-xr-xr-x 1 root wheel 192032 Dec 16 18:22 /usr/local/bin/ksh* > > If you're familiar with pdksh, are you also familiar with ksh93, which > is (I believe) Mr. Korn's own shell? If you are, I would be interessted > in your opinion of the two, any comparisons you might give. I've never used ksh93 so I really can't say. There is a NOTES file included with pdksh which gives a starter. I created this port a few years ago because of some random issue I've long since forgotten with pdksh on my FreeBSD box which didn't happen on my OpenBSD box. tom -- | tmclaugh at sdf.lonestar.org tmclaugh at FreeBSD.org | | FreeBSD http://www.FreeBSD.org | From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 04:37:41 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CF8C16A418 for ; Mon, 17 Dec 2007 04:37:41 +0000 (UTC) (envelope-from lists-fbsd@shadypond.com) Received: from mx-outbound01.easydns.com (mailout1.easydns.com [205.210.42.66]) by mx1.freebsd.org (Postfix) with ESMTP id 181FF13C478 for ; Mon, 17 Dec 2007 04:37:41 +0000 (UTC) (envelope-from lists-fbsd@shadypond.com) Received: from lilypad.shadypond.com (69-12-173-117.static.humboldt1.com [69.12.173.117]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx-outbound01.easydns.com (Postfix) with ESMTP id DBB96485BB for ; Sun, 16 Dec 2007 23:37:19 -0500 (EST) Received: from slider.shadypond.com (slider.shadypond.com [192.168.1.11]) by lilypad.shadypond.com (Postfix) with ESMTP id E68D5B856 for ; Mon, 17 Dec 2007 04:37:38 +0000 (UTC) From: Pollywog To: freebsd-questions@freebsd.org Date: Mon, 17 Dec 2007 04:37:28 +0000 References: <654217.98107.qm@web50506.mail.re2.yahoo.com> <20071217152703.07f955f6@meijome.net> In-Reply-To: <20071217152703.07f955f6@meijome.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712170437.32701.lists-fbsd@shadypond.com> Subject: Re: Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2007 04:37:41 -0000 On Monday 17 December 2007 04:27:03 Norberto Meijome wrote: > > FBsd isn't windows - go ahead and do it - if u can get the new HD and hook > it up to the old box, go into single user mode , partition the new disk as > you wish, mount each partition at a time and transfer the data. I understood that he wanted to move the drive to the new machine. How would one do that? I think it would just work unless the drive is very unusual. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 05:11:26 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFFAC16A417 for ; Mon, 17 Dec 2007 05:11:26 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.5]) by mx1.freebsd.org (Postfix) with ESMTP id A193C13C45A for ; Mon, 17 Dec 2007 05:11:26 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: (qmail 24713 invoked from network); 17 Dec 2007 05:11:26 -0000 Received: from april.chuckr.org (chuckr@[66.92.151.30]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 17 Dec 2007 05:11:26 -0000 Message-ID: <4766046F.80904@chuckr.org> Date: Mon, 17 Dec 2007 00:09:03 -0500 From: Chuck Robey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.9) Gecko/20071107 SeaMonkey/1.1.6 MIME-Version: 1.0 To: Chuck Robey , freebsd-questions@freebsd.org References: <20071214010542.GA19553@demeter.hydra> <20071214022529.GA2571@kobe.laptop> <4761F17F.9030908@chuckr.org> <20071214033333.GA3455@kobe.laptop> <20071216232830.GD5874@piglet.digitaltorque.ca> <4765C4A5.4020906@chuckr.org> <20071217015723.GE5874@piglet.digitaltorque.ca> In-Reply-To: <20071217015723.GE5874@piglet.digitaltorque.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Apparently, csh programming is considered harmful. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 05:11:26 -0000 Michael P. Soulier wrote: > On 16/12/07 Chuck Robey said: > >> There;s one item that is much more easily done in csh/tcsh than in the >> sh based ones .... that's redirecting the stderr along with the stdout. >> with tcsh, when I do a make, I commonly do a: >> >> make |& tee makeout >> >> which causes both the stdout and stderr files to be redirected to the >> "makeout" make listing file. I;'ve never figured out any reasonably >> simple way to do that in any sh-like shell. Is there any simble way >> that you know of? > > Yup. > > make 2>&1 | tee makeout > > Now show me a simple way to redirect them to different files in csh. > > foo 1>stdout.log 2>stderr.log > > Mike Believe it or not, I was actually trying to get information, not trying to make a point illustrating things. I wasn't aware that you could mix the redirection modes .... but I just tested this, it does actually work, in both bash and sh. Keen, I'll stow that guy away, because I've been asking that on occaison for years now.. Your question sounded to me like a back-handed way to illustrate something, but I'm not all that deep. I've never run into the need to do that redirect in tcsh, so I don't know how to do it. I'm maybe justr a bit curious where you needed it, but I haven't an answer. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 05:16:45 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2EAAA16A417 for ; Mon, 17 Dec 2007 05:16:45 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id CF73713C448 for ; Mon, 17 Dec 2007 05:16:44 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id lBH5GRAc075246; Sun, 16 Dec 2007 21:16:38 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id lBH5GLUh075245; Sun, 16 Dec 2007 21:16:21 -0800 (PST) (envelope-from kline) Date: Sun, 16 Dec 2007 21:16:21 -0800 From: Gary Kline To: Tino Engel Message-ID: <20071217051621.GA75106@thought.org> References: <20071216072415.GA67716@thought.org> <47650F32.50609@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47650F32.50609@web.de> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 21 of service to the Unix community. Cc: Gary Kline , FreeBSD Mailing List Subject: Re: missing shared lib...?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 05:16:45 -0000 On Sun, Dec 16, 2007 at 12:42:42PM +0100, Tino Engel wrote: > Gary Kline schrieb: > > Can anybody explain what causes xmms to give me this output:: > > > >Gtk-WARNING **: Failed to load module "libgnomebreakpad.so": Shared object > >"libgnomebreakpad.so" not found, required by "xmms" > > > > and then to proceed to work very well? I thought xmms was' > > window-manager agnostic, yet evidently it's looking for > > *something* gnome..... > > > > Anybody? (Ideally, I'd like xmms to be able to play ANYTHING from > > realauiodio to windoze to mp4.... But would be happy to just get > > rid of this stderr output. > > > > > > tia, gentlemen, > > > > > > gary > > > > > > > > > Maybe you want to try rebuilding xmms using 'make rmconfig' and 'make > configure' before, in oreder to ensure no gnome integration is build > within. Or perhaps simply build WITHOUT_SOUND? tao2# k WITHOUT_GNOME=esound Just noticed this one... . -- Gary Kline kline@thought.org www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 05:43:06 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5ECD316A46B for ; Mon, 17 Dec 2007 05:43:06 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-39.bluehost.com (outbound-mail-39.bluehost.com [69.89.20.193]) by mx1.freebsd.org (Postfix) with SMTP id 3B22413C467 for ; Mon, 17 Dec 2007 05:43:06 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: (qmail 11107 invoked by uid 0); 17 Dec 2007 05:43:05 -0000 Received: from unknown (HELO box183.bluehost.com) (69.89.25.183) by mailproxy2.bluehost.com with SMTP; 17 Dec 2007 05:43:05 -0000 Received: from c-24-9-123-251.hsd1.co.comcast.net ([24.9.123.251] helo=demeter.hydra) by box183.bluehost.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1J48kr-0005lq-HX for freebsd-questions@freebsd.org; Sun, 16 Dec 2007 22:43:05 -0700 Received: from demeter.hydra (localhost [127.0.0.1]) by demeter.hydra (8.13.6/8.13.6) with ESMTP id lBH5h39c036019 for ; Sun, 16 Dec 2007 22:43:03 -0700 (MST) (envelope-from perrin@apotheon.com) Received: (from ren@localhost) by demeter.hydra (8.13.6/8.13.6/Submit) id lBH5h3cP036018 for freebsd-questions@freebsd.org; Sun, 16 Dec 2007 22:43:03 -0700 (MST) (envelope-from perrin@apotheon.com) X-Authentication-Warning: demeter.hydra: ren set sender to perrin@apotheon.com using -f Date: Sun, 16 Dec 2007 22:43:03 -0700 From: Chad Perrin To: FreeBSD Questions Message-ID: <20071217054303.GA33846@demeter.hydra> Mail-Followup-To: FreeBSD Questions References: <200712141742.30001.cblasius@gmail.com> <4765008E.1000704@freemail.gr> <47658318.8060506@chuckr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47658318.8060506@chuckr.org> User-Agent: Mutt/1.4.2.3i X-Identified-User: {737:box183.bluehost.com:apotheon:apotheon.net} {sentby:bopbeforesmtp 24.9.123.251 authed with apotheon.com} Subject: Re: csh programing book X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 05:43:06 -0000 On Sun, Dec 16, 2007 at 02:57:12PM -0500, Chuck Robey wrote: > > Actually, I like ksh better, if you are really going all out for a > programming shell, but if you're really after a scripting language, why > restrict yourself to shells? things like Python & Ruby knock hell out > of both ksh and bash. That's hardly even arguable. Too bad there isn't > a good friendly shell-like mode to Python. Ruby would be out there, you > couldn't even think about using a OO based tool for a user shell, those > things need to be thought out, and that's the antithesis of being a > friendly shell. Considering I use Ruby's interactive interpreter, irb, all the time -- I don't really agree that you couldn't make a good user shell from Ruby. A couple of tweaks in the way irb works would make for one of the best user shells I'd ever seen. All that's missing is an easier way to execute external programs, as far as I can tell. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Phillip J. Haack: "Productivity is not about speed. It's about velocity. You can be fast, but if you're going in the wrong direction, you're not helping anyone." From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 05:56:49 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B61F16A417 for ; Mon, 17 Dec 2007 05:56:49 +0000 (UTC) (envelope-from elrap@web.de) Received: from fmmailgate03.web.de (fmmailgate03.web.de [217.72.192.234]) by mx1.freebsd.org (Postfix) with ESMTP id 363F213C45D for ; Mon, 17 Dec 2007 05:56:49 +0000 (UTC) (envelope-from elrap@web.de) Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate03.web.de (Postfix) with ESMTP id 98148B9E4600; Mon, 17 Dec 2007 06:56:47 +0100 (CET) Received: from [84.152.176.114] (helo=freebsdangel.de) by smtp07.web.de with asmtp (WEB.DE 4.108 #208) id 1J48y7-0004oN-00; Mon, 17 Dec 2007 06:56:47 +0100 Message-ID: <47660FEC.90000@web.de> Date: Mon, 17 Dec 2007 06:58:04 +0100 From: Tino Engel User-Agent: Thunderbird 2.0.0.6 (X11/20071110) MIME-Version: 1.0 To: Gary Kline References: <20071216072415.GA67716@thought.org> <47650F32.50609@web.de> <20071217051621.GA75106@thought.org> In-Reply-To: <20071217051621.GA75106@thought.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: elrap@web.de X-Sender: elrap@web.de X-Provags-ID: V01U2FsdGVkX1+qaPvhO06ikB6JOGop3hlnWX86w2dvpfO522nE X5B30UTcwn44PAiRkgblS6cs+4HPNjWYSKFnOGK6E6RfZrffeI ehqCMEmBg= Cc: FreeBSD Mailing List Subject: Re: missing shared lib...?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 05:56:49 -0000 Gary Kline schrieb: > On Sun, Dec 16, 2007 at 12:42:42PM +0100, Tino Engel wrote: > >> Gary Kline schrieb: >> >>> Can anybody explain what causes xmms to give me this output:: >>> >>> Gtk-WARNING **: Failed to load module "libgnomebreakpad.so": Shared object >>> "libgnomebreakpad.so" not found, required by "xmms" >>> >>> and then to proceed to work very well? I thought xmms was' >>> window-manager agnostic, yet evidently it's looking for >>> *something* gnome..... >>> >>> Anybody? (Ideally, I'd like xmms to be able to play ANYTHING from >>> realauiodio to windoze to mp4.... But would be happy to just get >>> rid of this stderr output. >>> >>> >>> tia, gentlemen, >>> >>> >>> gary >>> >>> >>> >>> >>> >> Maybe you want to try rebuilding xmms using 'make rmconfig' and 'make >> configure' before, in oreder to ensure no gnome integration is build >> within. >> > > Or perhaps simply build WITHOUT_SOUND? > > tao2# k WITHOUT_GNOME=esound > > > Just noticed this one... . > > So either you want to build with gnome integration or without gnome libs... That just sounds reasonable to me... From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 06:25:33 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E17B16A418 for ; Mon, 17 Dec 2007 06:25:33 +0000 (UTC) (envelope-from michael.grunewald@laposte.net) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by mx1.freebsd.org (Postfix) with ESMTP id 6425013C478 for ; Mon, 17 Dec 2007 06:25:33 +0000 (UTC) (envelope-from michael.grunewald@laposte.net) Received: from smtp5-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp5-g19.free.fr (Postfix) with ESMTP id AFEAC3F616B; Mon, 17 Dec 2007 07:25:31 +0100 (CET) Received: from Llea.celt.neu (ron34-3-82-236-236-194.fbx.proxad.net [82.236.236.194]) by smtp5-g19.free.fr (Postfix) with ESMTP id 476BD3F6159; Mon, 17 Dec 2007 07:25:31 +0100 (CET) Received: from Llea.celt.neu (localhost [127.0.0.1]) by Llea.celt.neu (8.14.1/8.13.8) with ESMTP id lBH6Vsat013683; Mon, 17 Dec 2007 07:31:55 +0100 (CET) (envelope-from michael.grunewald@laposte.net) Received: (from michael@localhost) by Llea.celt.neu (8.14.1/8.13.8/Submit) id lBH6VrUq013591; Mon, 17 Dec 2007 07:31:53 +0100 (CET) (envelope-from michael.grunewald@laposte.net) X-Authentication-Warning: Llea.celt.neu: michael set sender to michael.grunewald@laposte.net using -f To: Chuck Robey References: <20071214010542.GA19553@demeter.hydra> <200712132012.32729.mike.jeays@rogers.com> <20071214011614.GA18559@gizmo.acns.msu.edu> <4762D814.6000704@chuckr.org> From: michael.grunewald@laposte.net (=?iso-8859-15?Q?Micha=EBl_Gr=FCnewald?=) Date: Mon, 17 Dec 2007 07:31:53 +0100 In-Reply-To: <4762D814.6000704@chuckr.org> (Chuck Robey's message of "Fri\, 14 Dec 2007 14\:23\:00 -0500") Message-ID: <86r6hlq1ba.fsf@Llea.celt.neu> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable Cc: Jerry McAllister , Mike Jeays , FreeBSD Questions Subject: Re: Apparently, csh programming is considered harmful. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 06:25:33 -0000 Chuck Robey writes: > As long as folks don't stop me from running whatever I want, I don't > care if you use bash, but it really irks me, that most Linux systems > are broken in that respect: Most of them break badly in random ways, > if you don't run bash as your shell. A friend of mine who worked with debian was once in mood to disinstall BASH. Quite a trip to hell! (The story is 8 years old now.) --=20 Cheers, Micha=EBl From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 06:36:02 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A81416A41A for ; Mon, 17 Dec 2007 06:36:02 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-63.bluehost.com (outbound-mail-63.bluehost.com [69.89.21.23]) by mx1.freebsd.org (Postfix) with SMTP id 1BA1213C45A for ; Mon, 17 Dec 2007 06:36:02 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: (qmail 12139 invoked by uid 0); 17 Dec 2007 06:36:01 -0000 Received: from unknown (HELO box183.bluehost.com) (69.89.25.183) by mailproxy4.bluehost.com with SMTP; 17 Dec 2007 06:36:01 -0000 Received: from c-24-9-123-251.hsd1.co.comcast.net ([24.9.123.251] helo=demeter.hydra) by box183.bluehost.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1J49a5-0003zH-EE for freebsd-questions@freebsd.org; Sun, 16 Dec 2007 23:36:01 -0700 Received: from demeter.hydra (localhost [127.0.0.1]) by demeter.hydra (8.13.6/8.13.6) with ESMTP id lBH6ZxIn036261 for ; Sun, 16 Dec 2007 23:36:00 -0700 (MST) (envelope-from perrin@apotheon.com) Received: (from ren@localhost) by demeter.hydra (8.13.6/8.13.6/Submit) id lBH6Zx69036260 for freebsd-questions@freebsd.org; Sun, 16 Dec 2007 23:35:59 -0700 (MST) (envelope-from perrin@apotheon.com) X-Authentication-Warning: demeter.hydra: ren set sender to perrin@apotheon.com using -f Date: Sun, 16 Dec 2007 23:35:59 -0700 From: Chad Perrin To: FreeBSD Questions Message-ID: <20071217063559.GB33846@demeter.hydra> Mail-Followup-To: FreeBSD Questions Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Identified-User: {737:box183.bluehost.com:apotheon:apotheon.net} {sentby:bopbeforesmtp 24.9.123.251 authed with apotheon.com} Subject: common filesystem for Linux and FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2007 06:36:02 -0000 I'm planning a reinstall on my laptop from scratch (making sure I have an up-to-date backup first, of course) as soon as there's a 7.0-RELEASE available, in which I will reorganize the filesystem and set up a FreeBSD and Linux dual-boot system. While the bulk of my work will be done on the FreeBSD side of things, some of my work (and, for that matter, some of my play) requires that I keep other OSes around as well. That being the case, there is some data I would like to keep available to both FreeBSD and Linux systems, in stable read/write access with reasonably high access performance for both (fast enough to achieve decent frame rates, for instance). This seems to rule out both ext3 and UFS2. What filesystem(s) meet(s) my needs in this case? The shared filesystems will be nothing but data and configuration files, likely mounted in /usr/home (on FreeBSD) and /home (on whatever Linux distro I settle on -- probably Debian), so concerns about things like bootability and binary compatibility aren't really at issue. A Wine directory will almost certainly need to be shared between the two, however. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Paul Graham: "Real ugliness is not harsh-looking syntax, but having to build programs out of the wrong concepts." From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 07:08:04 2007 Return-Path: Delivered-To: FreeBSD-Questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3698C16A418 for ; Mon, 17 Dec 2007 07:08:04 +0000 (UTC) (envelope-from WD@US-Webmasters.com) Received: from server1.grabweb.com (split.grabweb.net [67.15.22.16]) by mx1.freebsd.org (Postfix) with ESMTP id E893213C467 for ; Mon, 17 Dec 2007 07:08:03 +0000 (UTC) (envelope-from WD@US-Webmasters.com) Received: (qmail 19341 invoked from network); 17 Dec 2007 01:08:03 -0600 Received: from batv-01-192.dsl.netins.net (HELO Sabrina.US-Webmasters.com) (207.199.193.192) by uswdns.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 17 Dec 2007 01:08:03 -0600 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Mon, 17 Dec 2007 01:07:57 -0600 To: FreeBSD-Questions@FreeBSD.org From: "W. D." Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <20071217070803.E893213C467@mx1.freebsd.org> Cc: Subject: Ethernet Card Times out on Transfer of Large 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: Mon, 17 Dec 2007 07:08:04 -0000 Hello Gentlemen: The NVidia Ethernet card, nve0, seems to burp on transfers of large files. After browsing the Web, apparently this is a fairly common problem: http://www.google.com/search?q=3Dnve0+device+timeout+FreeBSD =46rom what I can tell, this seems to be the best, most recent fix: http://www.f.csce.kyushu-u.ac.jp/~shigeaki/software/freebsd-nfe.html Could anyone please point me to some instructions on=20 how to compile, install, and load this driver? When running "make install", this error shows up: "/usr/share/mk/bsd.kmod.mk", line 12 "can't find kernel source tree" Thank you so much for any light you can shed on this problem. Start Here to Find It Fast!=99 ->= http://www.US-Webmasters.com/best-start-page/ $8.77 Domain Names -> http://domains.us-webmasters.com/ From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 07:43:05 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6C0616A417 for ; Mon, 17 Dec 2007 07:43:05 +0000 (UTC) (envelope-from jurjenm@stack.nl) Received: from mx1.stack.nl (meestal-mk5.stack.nl [IPv6:2001:610:1108:5010::149]) by mx1.freebsd.org (Postfix) with ESMTP id AE8D013C461 for ; Mon, 17 Dec 2007 07:43:05 +0000 (UTC) (envelope-from jurjenm@stack.nl) Received: by mx1.stack.nl (Postfix, from userid 65534) id 7B1D1447BC; Mon, 17 Dec 2007 08:43:04 +0100 (CET) X-Spam-DCC: debian: toad.stack.nl 1169; Body=1 Fuz1=1 Fuz2=1 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on toad.stack.nl X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.2.3 X-Spam-Relay-Country: NL Received: from jurjen (wlan-197193.nbw.tue.nl [131.155.197.193]) by mailhost.stack.nl (Postfix) with ESMTP id 2479E4011C for ; Mon, 17 Dec 2007 08:42:53 +0100 (CET) Received: by jurjen (sSMTP sendmail emulation); Mon, 17 Dec 2007 08:40:51 +0000 Date: Mon, 17 Dec 2007 08:40:51 +0000 From: Jurjen Middendorp To: FreeBSD Questions Message-ID: <20071217084051.GA1121@s062107.tue.nl> Mail-Followup-To: Jurjen Middendorp , FreeBSD Questions References: <20071214010542.GA19553@demeter.hydra> <200712132012.32729.mike.jeays@rogers.com> <20071214211008.GA12935@melon.esperance-linux.co.uk> <20071215021349.GF2062@kobe.laptop> <1197850883.4230.3.camel@tomcat.straycat.dhs.org> <4765EC7E.6050704@chuckr.org> <1197866090.6951.6.camel@tomcat.straycat.dhs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1197866090.6951.6.camel@tomcat.straycat.dhs.org> User-Agent: Mutt/1.4.2.3i Organization: FOTLP (Federation Of Terribly Lazy People) Subject: Re: pdksh vs. mksh info [was: Re: Apparently, csh programming is considered harmful.] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 07:43:06 -0000 On Sun, Dec 16, 2007 at 11:34:50PM -0500, Tom McLaughlin wrote: >On Sun, 2007-12-16 at 22:26 -0500, Chuck Robey wrote: >> Tom McLaughlin wrote: >> >> Now that you mention pdksh, have you tried mksh (in Ports too)? >> >> >> >> I've installed it and successfully run moderately large ksh scripts >> >> (like the webrev(1) utility of OpenSolaris), and it is about an order of >> >> magnitude smaller than pdksh here: >> >> >> >> % keramida@kobe:/usr/local/bin$ ls -ld mksh bash ksh >> >> % -rwxr-xr-x 1 root wheel - 684699 Dec 9 19:51 bash >> >> % -r-xr-xr-x 1 root wheel - 2390645 Aug 31 17:07 ksh >> >> % -r-xr-xr-x 1 root wheel - 236202 Dec 9 18:34 mksh >> >> % keramida@kobe:/usr/local/bin$ ldd mksh bash ksh >> >> % mksh: >> >> % libc.so.7 => /lib/libc.so.7 (0x280ae000) >> >> % bash: >> >> % libncurses.so.7 => /lib/libncurses.so.7 (0x28101000) >> >> % libintl.so.8 => /usr/local/lib/libintl.so.8 (0x28144000) >> >> % libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28156000) >> >> % libc.so.7 => /lib/libc.so.7 (0x2824b000) >> >> % ldd: ksh: not a dynamic executable >> >> % keramida@kobe:/usr/local/bin$ >> >> >> > >> > I've maintained a port of OpenBSD's pdksh for some time but I've never >> > committed it. Think of pdksh but still actively maintained. >> > >> > http://people.freebsd.org/~tmclaugh/files/openksh/openksh-4.2.shar >> > >> > [tom@releng-7-fbsd tom]$ ls -al /usr/local/bin/ksh >> > -r-xr-xr-x 1 root wheel 192032 Dec 16 18:22 /usr/local/bin/ksh* >> >> If you're familiar with pdksh, are you also familiar with ksh93, which >> is (I believe) Mr. Korn's own shell? If you are, I would be interessted >> in your opinion of the two, any comparisons you might give. > >I've never used ksh93 so I really can't say. There is a NOTES file >included with pdksh which gives a starter. I created this port a few >years ago because of some random issue I've long since forgotten with >pdksh on my FreeBSD box which didn't happen on my OpenBSD box. > >tom I never used pdksh, but am using ksh93 for quite a while now and have used bash, too. For some reason i like it better than bash, the vi mode is a bit better somehow, it feels alot sturdier. It doesn't have those special variables like $! and !! i believe, but it has alot of neat features like basic network programming, lots of parameter expansion stuff and is just a very nice shell :) -jurjen From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 07:46:06 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E7E816A418 for ; Mon, 17 Dec 2007 07:46:06 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id EDF5A13C4D1 for ; Mon, 17 Dec 2007 07:46:05 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (dialup120.ach.sch.gr [81.186.70.120]) (authenticated bits=128) by igloo.linux.gr (8.14.1/8.14.1/Debian-9) with ESMTP id lBH7jKY4003748 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 17 Dec 2007 09:45:34 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.2/8.14.2) with ESMTP id lBH7jG8A002449; Mon, 17 Dec 2007 09:45:17 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.2/8.14.2/Submit) id lBH7jDeU002448; Mon, 17 Dec 2007 09:45:13 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 17 Dec 2007 09:45:12 +0200 From: Giorgos Keramidas To: Chuck Robey Message-ID: <20071217074512.GA2398@kobe.laptop> References: <20071214010542.GA19553@demeter.hydra> <20071214022529.GA2571@kobe.laptop> <4761F17F.9030908@chuckr.org> <20071214033333.GA3455@kobe.laptop> <20071216232830.GD5874@piglet.digitaltorque.ca> <4765C4A5.4020906@chuckr.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4765C4A5.4020906@chuckr.org> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.951, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.45, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: Apparently, csh programming is considered harmful. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 07:46:06 -0000 On 2007-12-16 19:36, Chuck Robey wrote: > Michael P. Soulier wrote: >> On 14/12/07 Giorgos Keramidas said: >>> Tcsh is a fine shell. I'm using it all the time (that's how I found out >>> that a buglet reported by Kris Kennaway a few months ago was indeed a >>> bug which I could reproduce too). >> I always found csh/tcsh aliases annoying, since there are no shell >> functions. >> I also found the shell redirection awkward. > > There;s one item that is much more easily done in csh/tcsh than in the sh > based ones .... that's redirecting the stderr along with the stdout. with > tcsh, when I do a make, I commonly do a: > > make |& tee makeout > > which causes both the stdout and stderr files to be redirected to the > "makeout" make listing file. I;'ve never figured out any reasonably > simple way to do that in any sh-like shell. Is there any simble way > that you know of? Yep, there is a simple way in sh too: make 2>&1 | tee makeout From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 07:54:54 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5EE4D16A419 for ; Mon, 17 Dec 2007 07:54:54 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id E178613C457 for ; Mon, 17 Dec 2007 07:54:53 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (dialup120.ach.sch.gr [81.186.70.120]) (authenticated bits=128) by igloo.linux.gr (8.14.1/8.14.1/Debian-9) with ESMTP id lBH7sVcN004108 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 17 Dec 2007 09:54:43 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.2/8.14.2) with ESMTP id lBH7sSot002522; Mon, 17 Dec 2007 09:54:28 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.2/8.14.2/Submit) id lBH7sPBr002521; Mon, 17 Dec 2007 09:54:25 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 17 Dec 2007 09:54:25 +0200 From: Giorgos Keramidas To: David Goodnature Message-ID: <20071217075424.GB2398@kobe.laptop> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.951, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.45, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: Cannot get Script to Run Via Crontab X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 07:54:54 -0000 On 2007-12-16 19:10, David Goodnature wrote: > I have a perl script that I can execute from the command line as root. > It runs fine. When I try to automate it using the root crontab, the > script fails. > > The lines from my script that are causing the problem are: > > my $scomd = "/usr/local/bin/ps2pdf -dPDFSETTINGS=/prepress -dProcessColorModel=/DeviceGray -dAutoRotatePages=/PageByPage -dDownsampleMonoImages=true -dMonoImageDownsampleType=/Average -dMonoImageDownsampleThreshold=1.5 -dMonoImageResolution=600 ".$inpath.$cur_ps_files[0]." ".$outpath.$pdffilename; > > ### create the new .pdf file from the .ps file > system($scomd) == 0 or return "system $scomd failed: $?"; > > The cron message to mail/root ends with: > > exec: ps2pdf12: not found > > I am assuming that cron cannot find a path or a config file for > ghostscript, but I don't have any idea how to fix this problem. Yes. That's what is happenning. The default PATH of cron jobs doesn't include `/usr/local/bin', but you have lots of options: 1) Add it to the crontab file PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" crontab entries here 2) Modify the default path in your Perl script: $ENV{PATH} = '/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin'; my $scomd = join(' ', ('/usr/local/bin/ps2pdf', '-dPDFSETTINGS=/prepress', '-dProcessColorModel=/DeviceGray', '-dAutoRotatePages=/PageByPage', '-dDownsampleMonoImages=true', '-dMonoImageDownsampleType=/Average', '-dMonoImageDownsampleThreshold=1.5', '-dMonoImageResolution=600' $inpath.$cur_ps_files[0], $outpath.$pdffilename)); system($scomd) == 0 or return "system $scomd failed: $?"; From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 08:36:23 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2EA1916A417 for ; Mon, 17 Dec 2007 08:36:23 +0000 (UTC) (envelope-from jorn@wcborstel.com) Received: from mail.wcborstel.com (www.wcborstel.com [82.93.93.17]) by mx1.freebsd.org (Postfix) with ESMTP id C971613C4E9 for ; Mon, 17 Dec 2007 08:36:22 +0000 (UTC) (envelope-from jorn@wcborstel.com) Received: from mail.wcborstel.com (localhost [10.0.0.2]) by mail.wcborstel.com (Postfix) with ESMTP id A7F0E4335CE; Mon, 17 Dec 2007 09:36:36 +0100 (CET) Received: by mail.wcborstel.com (Postfix, from userid 58) id 3702A4335CD; Mon, 17 Dec 2007 09:36:36 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on mail.wcborstel.com X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Report: * -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP * -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] Received: from localhost (www.wcborstel.com [10.0.0.3]) by mail.wcborstel.com (Postfix) with ESMTP id 44E554335C7; Mon, 17 Dec 2007 09:36:29 +0100 (CET) MIME-Version: 1.0 Date: Mon, 17 Dec 2007 9:36:29 +0100 From: Jorn Argelo To: girishvenkatachalam@gmail.com In-Reply-To: <20071216185050.GB26535@brahma.susmita.org> References: <20071216185050.GB26535@brahma.susmita.org> Message-ID: <9cc0a3fa1d403f16f4fc9b2abb49fb75@mail.wcborstel.com> X-Sender: jorn@wcborstel.com User-Agent: RoundCube Webmail/0.1b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-questions@freebsd.org Subject: Re: (postfix) SPAM filter? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 08:36:23 -0000 On Mon, 17 Dec 2007 00:20:50 +0530, Girish Venkatachalam wrote: > On 14:48:35 Dec 15, Jorn Argelo wrote: >> Greylisting only works so-so nowadays. There was a couple of months it > was >> very effective, but that is long gone. Spammers aren't stupid, and they >> follow the development of anti-spam techniques as much as e-mail admins > do. >> Greylisting is a start, but from my experience it is not nearly enough. >> > > I have heard this said elsewhere too. Yes don't rely solely on greylisting unless you're a lucky guy and don't get a lot of spam. > >> Also I believe that rejecting e-mail is a big point of discussion. We > had >> an internet e-mail environment built about 3 years ago, and there the > users >> were terrorized by spam. We had some users getting 30 spam mails a day > at >> least. This setup was running amavis, spamassassin, postfix, postgrey, > dcc >> and razor. Unfortunately, over time the bayes filter got incorrectly >> trained, and it sometimes rejected valid e-mails. If there's something > you >> DON'T want to happen it's that. And also troubleshooting those kind of >> things can be quite hard ... > > What about CRM114 and dspam? I played with dspam at home but I didn't really got it running as I wanted to. I didn't invest an awful lot of time in it though, so I cannot properly judge it. I never heard of CRM114, so I cannot say anything from that. > > Have you ever tried statistical filtering instead of heuristics with > spamassassin? > > >> We rebuilt the environment from scratch. Right now we are running > OpenBSD >> spamd + OpenBSD Packetfilter. This functions as greylisting / > greptrapping >> in combination with the PF firewall. We made a couple of scripts to trap >> invalid / forged e-mail addresses that are greylisted. Also we make use > of >> the uatraps / nixspam traplists, and our own generated blacklist > generated >> from spam being sent to the postmaster. We had some problems with >> blacklisted entries in the past, but we worked around that. It goes > further >> then that, but I will spare you all the details. > > pf(4) has some amazing features that come in handy for spam control. I > guess it forms a key component of any spam blocking architecture. And it > works in concert with the other OpenBSD niceties you point out like > populating the tables with blacklists and whitelists, greytrapping and > using the pf(4) anchor mechanism to automate stuff. Indeed. PF is very powerful and uses very little resources. Hats off to the OpenBSD guys for this. And indeed, I can recommend every e-mail admin to use a pf and spamd combination. It's awesome and you can do a lot with it. Check out the OpenBSD website for more info. > > The probability and state tracking options in pf(4) are pretty > interesting too if used creatively. Very much so, it opens a lot of new options for you to handle blacklisted entries. > > >> On the second line we run Postfix / ClamSMTP / Clamd / Spamassassin. We >> removed Amavis because it was annoying to upgrade and we wanted to get > rid >> of it, as we had problems with it in the past. With SpamAssassin we use >> sa-update and sa-learn to keep the rules up-to-date and make sure bayes >> gets properly trained. So we are marking e-mail as spam and no longer > block >> it. Why? Simple ... we no longer want to block false positives. Again, >> there is more to this, but I will spare you all the details. > > But if you don't update virus signatures wouldn't that cause worms and > malware propagation? > > I know I am digressing but I thought signature updation was critical to > malware control... Well of course, but with clamd I also ment using freshclam :) So we keep our signature database up-to-date as well. > >> >> Right now we have 2500 happy users. Their local helpdesks helped them > with >> getting an Outlook rule in place to automatically move tagged e-mails to > a >> spam folder. Just like their gmail, hotmail or Yahoo account does at > home. > > Wow, this is great. I am not surprised to hear this. ;) > > >> The environment we have is certainly not the easiest one, but we > automated >> many things, leaving us with practically no work on it. All the updating > of >> rulesets / blacklists / whitelists /whatever goes by itself. Downside of > an >> environment like this is that you will need quite some knowledge of all > the >> components and how they work together. But hey, I got it running at home > as >> well (a bit simpler though) and didn't had a single spam mail in my > mailbox >> the last 4 months. Sure, the ones I do get are getting tagged and moved > to >> my spam folder automatically, which I do with maildrop (though procmail >> does the job nicely too). All in all it works like a charm. > > Using the X-foobar headers I suppose? I just check the Subject header to see if it starts with *****SPAM*****. So yes, using the mail headers :) > >> Well a long story, but maybe it is of use for someone else. As always, >> YMMV. > > Yes, very enlightening, many thanks. Glad to hear. Jorn From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 09:02:35 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34DA816A420 for ; Mon, 17 Dec 2007 09:02:35 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [65.75.192.90]) by mx1.freebsd.org (Postfix) with ESMTP id D8CA413C4D5 for ; Mon, 17 Dec 2007 09:02:34 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from TEDSDESK (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) by mail.freebsd-corp-net-guide.com (8.13.8/8.13.8) with SMTP id lBH92Xgl066099; Mon, 17 Dec 2007 01:02:33 -0800 (PST) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "Matt LaPlante" Date: Mon, 17 Dec 2007 01:03:38 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1914 In-Reply-To: Importance: Normal Cc: Rob , FreeBSD Questions , Andrew Falanga Subject: RE: Suggestions please for what POP or IMAP servers to use X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2007 09:02:35 -0000 > -----Original Message----- > From: Matt LaPlante [mailto:cyberdog3k@gmail.com] > Sent: Saturday, December 15, 2007 2:18 PM > To: Ted Mittelstaedt > Cc: Andrew Falanga; Rob; FreeBSD Questions > Subject: Re: Suggestions please for what POP or IMAP servers to use > > > > > It's a chicken and egg problem. > > > > There's nothing wrong with writing an extremely strict standard. > > The issue is the implementation. > > > > If your server implementation is so strict that most clients have > > difficulty, then users will find something else and your standard > > will end up on the dustbin. > > > > It's better to start out with a strict standard and a forgiving > > server implementation, then as it falls into mainstream use, work > > with the client developers to correct their stuff. > > You've effectively described dovecot here. No, I haven't. > Its codebase is perhaps > designed to be very strict, however the same codebase also includes > configurable 'workarounds' (enabled by default in many distros) for > clients that are not up to spec. They're trivial to toggle and well > documented. > If you download and compile dovecot then is the default config template that is shipped with it enable the workarounds? No. The excuse that "enabled by default in many distros" is merely an excuse. Nobody who is serious about building a server for a lot of clients is going to be using some precompiled version, they are going to compile from source so that if a security hole is discovered they can patch it immediately. IF the switches DISABLED the "lax" behavior, and the defaults in the config templates were to not have the switches triggered, then it would meet the definition of a forgiving server implementation. But it doesen't even go that far. > So, this meets both criteria that it will "just work" with clients > now, and the clients themselves could theoretically (good luck with > Outlook) fix their code in the future. Outlook works just fine in IMAP mode with uw-imap, both regular Outlook and Outlook Express. > As far as I'm concerned, it's > a fairly ideal environment, It is good you spell out that this is your personal ideal. > and I'm glad the developer has gone to the > trouble to 1) stick to standards in the core code and 2) made a point > of documenting and providing workarounds for buggy clients. > It is a lot of extra work to encapsulate all the "alleged bugs" in separate code so you can provide "switches" for stick-up-their -asses-admins to flip. That is work that should have gone into speeding up the code. It is utterly wasted effort unless your goal is to allow admins who have penis envy the ability to jerk people around for their choice of e-mail clients. It isn't the mailserver administrator's business if Joe Idiot User who doesen't know any better chooses to use Outlook 97 as an IMAP client, to deny Joe Idiot access to the mailserver. The admin does not need to be playing silly games like this, setting up his server so that only some clients can work with it, others can't, then telling people their software of choice has bugs and fuck you, don't use it. Programmers jobs are to makes things work for users. If Mickeysoft's programmers cannot write a decent IMAP client, then if the developer of an IMAP server can write around the problem, then he should do it and embed the fix in the server code without calling it out in a config switch. The situation is absolutely no different with hardware drivers. Take a look at for example the comments in the ne2000 (ed) driver code, or the DEC/Intel 21143 network card driver code (or man page) There are a number of very badly borked up hardware implementations of those network chipsets. Yet, do the driver authors of the ed or dc driver make the admins flip switches in the driver to make the driver work with their particular borked-up chipset implementation? No. They write the driver code to work with all implementations, even the borked up ones. The dovecot author is engaged in technopolitics. It is a very bad thing to do. Whether the authors of bad IMAP client software deserve this is beside the issue. You need to understand that the ONLY lever that the Open Source community has to keep the giants like Microsoft paying some kind of attention to published standards so that everyone's stuff can interoperate, is the moral superiority lever. In other words, the Open Source community simply does not engage in predatory, circle-the-wagons, use-my-stuff-or-else behavior. We have worked a LONG time to get to this point. As a result of this, when there IS a problem between the commercial stuff - like for example Microsoft's Networking, and the Open Source stuff - like for example, SAMBA, everyone always assumes that the problem is due to the commercial software companies breaking things - either deliberately, in which case they look like assholes or sharks, or by accident, in which case they look like incompetents. Microsoft tested stuff like IE7 against Apache during IE7 development, and they made damn sure that before IE7 was released, it worked with Apache. They knew that if it didn't, that everyone would blame them because nobody can conceive of the Apache project deliberately writing code into Apache that would break a web browser. Why - because the Apache developers are altruistic and don't play those games. Do you start to see how this works, now? Apache certainly could do it the other way - the Dovecot author's way - and set defaults that would break all IE versions, which Apache admins would have to seek out and turn off. If that happened then Microsoft would quit bothering to test with Apache and just do whatever the hell they felt like, and blame Apache for getting it wrong. Since people would know the Apache project was using the same tactics as Microsoft, nobody would really trust that either party's interpretation of the http standard was correct, and it would put most users and admins into the position of being forced to choose between them and use all open source stuff or all Microsoft stuff. As the Open Source people do not have the money that the commercial people do, ultimately they would lose. I'm sure a LOT of people out there both inside the commercial software companies, and people like the Dovecot author, inside the Open Source community, would enjoy seeing the software market polarized like this. The newest version of the GNU license has this viewpoint, for example, and I daresay it's driven by Linux popularity. You see, Linux distros have gotten popular enough that some of that community feel they don't need to consider what the commercial software people are doing anymore. To hell with them, let them eat software bugs, is the attitude. FORTUNATELY, so far the BSD people have kept their cooler heads and haven't adopted this attitude. They have adopted the attitude that I discussed at length in Chapter 10 of my FreeBSD book in the section on the Microsoft Anti-trust trial. In short, FreeBSD is better than Windows because it's technically superior, and it's going to win in the market because it's technically superior. By contrast, Microsoft has the image that they are a big greedy company that is more interested in making a lot of money than winning based on technical superiority. Ergo, their stuff is not very good. Immediately after the MS Anti-Trust trial, of course, everyone thought that the FreeBSD way was naieve, believing that since MS was acquitted that the MS way was inevitable, as underhanded as it was. But then an interesting thing happened. MS figured out about 6-12 months after winning the trial, that they had effectively won the battle but lost the war. Looking back it's easy now to see that the huge increase in Linux penetration of the market dated from the time of the ending of the trial. What was going on is that while Microsoft was still growing in sales, they were not growing as fast as the market, and were losing market share. That is why MS eased Bill Gates out of the spotlight, it is why they refocused and actually came out with a server product - server 2003 - that really was superior to server 2000, instead of the way it was before where server 2000 really wasn't much better than NT4. It is why MS has not filed any kind of legal proceedings against Linux even while claiming Linux infringes their intellectual property - they know that such claims will continue to be regarded as typical salesman bullshit as long as their lawyers don't actually do anything to back them up. In summary, MS realized that if you play in the market using dirty tricks then eventually you destroy your credibility - and once that happens, the only people who will buy anything from you are the people who are being forced to - and they will hate doing it, and will constantly be looking for a way to cut you out of the picture, and eventually they will find it and you will be cut out of the markets one little snip at a time. It is a lesson that most in the FreeBSD community have learned. It is one that the author of Dovecot obviously has not learned and that is a shame. Ted From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 09:37:12 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F12C516A41A for ; Mon, 17 Dec 2007 09:37:12 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from mail0.rawbw.com (mail0.rawbw.com [198.144.192.41]) by mx1.freebsd.org (Postfix) with ESMTP id B1CD613C458 for ; Mon, 17 Dec 2007 09:37:12 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from mail0.rawbw.com (localhost [127.0.0.1]) by mail0.rawbw.com (8.13.8/8.13.8) with ESMTP id lBH9b9KE006535; Mon, 17 Dec 2007 01:37:09 -0800 (PST) Received: (from www@localhost) by mail0.rawbw.com (8.13.8/8.13.8/Submit) id lBH9b8x5006531; Mon, 17 Dec 2007 01:37:08 -0800 (PST) X-Authentication-Warning: mail0.rawbw.com: www set sender to yuri@rawbw.com using -f Received: from ip224.carlyle.sfo.ygnition.net (ip224.carlyle.sfo.ygnition.net [24.219.144.224]) by webmail.rawbw.com (IMP) with HTTP for ; Mon, 17 Dec 2007 01:37:08 -0800 Message-ID: <1197884228.476643447dc77@webmail.rawbw.com> Date: Mon, 17 Dec 2007 01:37:08 -0800 From: Yuri To: Erik Cederstrand References: <1197669823.4762fdbfcb44d@webmail.rawbw.com> <89ce7f740712141411m4ecd5f17odb1e9bd9939bf96@mail.gmail.com> <4763AD82.5010802@cederstrand.dk> <1197738810.47640b3aacde0@webmail.rawbw.com> <4765CABF.1020400@cederstrand.dk> In-Reply-To: <4765CABF.1020400@cederstrand.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 X-Originating-IP: 24.219.144.224 Cc: freebsd-questions@freebsd.org Subject: Re: /usr/local/rc.d/apache22 start doesn't start 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: Mon, 17 Dec 2007 09:37:13 -0000 Quoting Erik Cederstrand : > Ok, that was pretty easy: > > # diff rc.subr.orig rc.subr > 608a609 > > echo "$name not started. Set ${rcvar} to YES in > /etc./rc.conf or use '$name force'." > > > > which gives the output: > > # rc.d/ftpd start > ftpd not started. Set ftpd_enable to YES in /etc./rc.conf or use 'ftpd > forcestart'. > > > Does anyone want to pick this up, or should I file a PR? I guess it's better to file a PR for this. This way it's easy to see the progress on it. Yuri From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 09:45:13 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D32316A419 for ; Mon, 17 Dec 2007 09:45:13 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id EB55313C465 for ; Mon, 17 Dec 2007 09:45:12 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1J4CUl-0002yI-Ba for freebsd-questions@freebsd.org; Mon, 17 Dec 2007 09:42:43 +0000 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 ; Mon, 17 Dec 2007 09:42:43 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Dec 2007 09:42:43 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Mon, 17 Dec 2007 10:39:31 +0100 Lines: 33 Message-ID: References: <20071217063559.GB33846@demeter.hydra> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig86E7A7A9D75AAB1933D428B6" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.6 (X11/20070801) In-Reply-To: <20071217063559.GB33846@demeter.hydra> X-Enigmail-Version: 0.95.3 Sender: news Subject: Re: common filesystem for Linux and FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2007 09:45:13 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig86E7A7A9D75AAB1933D428B6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Chad Perrin wrote: > That being the case, there is some data I would like to keep available = to > both FreeBSD and Linux systems, in stable read/write access with > reasonably high access performance for both (fast enough to achieve > decent frame rates, for instance). This seems to rule out both ext3 an= d > UFS2. What filesystem(s) meet(s) my needs in this case? Since you didn't state anything about reliability, ext2 will maybe help you :) --------------enig86E7A7A9D75AAB1933D428B6 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.4-svn0 (GNU/Linux) iD8DBQFHZkPbldnAQVacBcgRAuaBAKCgWZ3ZNNOSo/E/FILW9vy221GhfwCbBsap sSOwYRi4OuwQJcQBcYtEgQs= =6+tb -----END PGP SIGNATURE----- --------------enig86E7A7A9D75AAB1933D428B6-- From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 10:27:57 2007 Return-Path: Delivered-To: FreeBSD-Questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B49316A41A for ; Mon, 17 Dec 2007 10:27:57 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [65.75.192.90]) by mx1.freebsd.org (Postfix) with ESMTP id 25F7B13C4CC for ; Mon, 17 Dec 2007 10:27:57 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from TEDSDESK (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) by mail.freebsd-corp-net-guide.com (8.13.8/8.13.8) with SMTP id lBHARtpG066682; Mon, 17 Dec 2007 02:27:56 -0800 (PST) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "Modulok" , "Tino Engel" Date: Mon, 17 Dec 2007 02:29:01 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1914 In-Reply-To: <64c038660712160335x61bc5965m74aa98e5cc5e21af@mail.gmail.com> Importance: Normal Cc: FreeBSD-Questions@freebsd.org Subject: RE: Dependencies. (was: "Yikes! FreeBSD samba-3.0.26a_2, 1 is forbidden: "Remote Code Execution...") X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 10:27:57 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Modulok > Sent: Sunday, December 16, 2007 3:35 AM > To: Tino Engel > Cc: FreeBSD-Questions@freebsd.org > Subject: Dependencies. (was: "Yikes! FreeBSD samba-3.0.26a_2,1 is > forbidden: "Remote Code Execution...") > > > So between now and eternity it is not possible for anyone to ever come > up with a solution that is better? > No, it is not possible. If the purpose of God is to be worshipped by a self-aware individual who has true freedom of choice to choose to worship Him, why did He have to create an incredibly complex, interrelated planetary ecosystem, in an extremely unusual solar system, merely to support a complex, failure prone animal, with an oversized, delicate, and incredibly complex brain, simply as a place for the human mind to be held in? In all the millions upon millions of years of trying with different evolutionary paths, Mother Nature has never been able to create a thinking plant. Some problems can only be solved with levels of complexity far beyond human capacity to understand. For you to ask that question shows without a doubt that it has been too long since you have sat back, put on Pink Floyd, taken a few bong hits, and contemplated the Universe. Ted From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 10:59:51 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 726A116A420 for ; Mon, 17 Dec 2007 10:59:51 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 3E83013C459 for ; Mon, 17 Dec 2007 10:59:51 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 38E724726D; Mon, 17 Dec 2007 05:49:50 -0500 (EST) Date: Mon, 17 Dec 2007 10:49:50 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Elliot Finley In-Reply-To: Message-ID: <20071217103625.S90185@fledge.watson.org> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org, User Questions Subject: Re: OS bug in taskq X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 10:59:51 -0000 On Sat, 15 Dec 2007, Elliot Finley wrote: > in the kernel and I'm still unable to obtain a crash dump. Hopefully there > is enough info in this email for a hacker to point me in the right direction > to debug this. If you're unable to obtain a crash dump, you should still be able to use interactive console-based debugging with DDB. I find this is easiest to do with a serial console from an adjacent machine, so that I can copy-and-paste the results into an e-mail rather than hand-transcribe. You can also use firewire consoles to the same effect, although I've never done that. Once the system panics, it will drop into DDB. I usually kick off debugging by doing a backtrace, "bt", and showing the status of the current and then all processors "show pcpu", "show allpcpu". Depending on the type of bug, I find output from "ps", "alltrace", "show lockedvnods", "show alllocks", "show uma", "show malloc" quite useful. The below panic is a NULL pointer dereference in the taskqueue code, but it's likely triggered by a bug in a consumer of the task queue service, rather than the task queue code itself. That means we'll need to identify what consumer that is. That information should become visible by looking at the arguments to the stack trace in DDB. If not, we may need to work a little harder to get a dump, or set up serial or firewire kgdb to inspect the live running system with a full debugger. On the swap / dump / etc thing. In order to capture a saved kernel dump, you need sufficient room for the full dump on whatever partition /var/crash is on, and it must be writable. Because dumps are normally written to swap partitions, running fsck before the dump is captured can lead to portions of the dump being overwritten if fsck uses a lot of memory (and hence overflows into swap). As many systems have a separate /var and /var is often small, it could well be that you can successfully capture the dump by just booting to single-user, manually fscking /var, mounting /var, and running savecore in the /var/crash directory. You can also configure additional partitions as purely dump partitions, rather than swap partitions. One trick I've used previousy is to add a disk temporarily just for the purposes of dumping to, and manually doing a dumpon for a partition on that disk (but not a swapon). Robert N M Watson Computer Laboratory University of Cambridge > > dmesg: > > Copyright (c) 1992-2007 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, > 1994 > The Regents of the University of California. All rights > reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 6.2-RELEASE-p5 #1: Mon Nov 19 11:16:44 MST 2007 > root@postmaster.etv.net:/usr/obj/usr/src/sys/DDB-SMP > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2793.20-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0xf4a Stepping = 10 > > Features=0xbfebfbff > Features2=0x641d> > AMD Features=0x20100000 > AMD Features2=0x1 > Logical CPUs per core: 2 > real memory = 3220963328 (3071 MB) > avail memory = 3150856192 (3004 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > cpu2 (AP): APIC ID: 6 > cpu3 (AP): APIC ID: 7 > ioapic0: Changing APIC ID to 8 > ioapic1: Changing APIC ID to 9 > ioapic1: WARNING: intbase 32 != expected base 24 > ioapic2: Changing APIC ID to 10 > ioapic2: WARNING: intbase 64 != expected base 56 > ioapic0 irqs 0-23 on motherboard > ioapic1 irqs 32-55 on motherboard > ioapic2 irqs 64-87 on motherboard > kbd1 at kbdmux0 > ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, > RF5413) > acpi0: on motherboard > acpi0: Power Button (fixed) > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 > cpu0: on acpi0 > cpu1: on acpi0 > cpu2: on acpi0 > cpu3: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pcib1: at device 2.0 on pci0 > pci1: on pcib1 > pcib2: at device 0.0 on pci1 > pci2: on pcib2 > amr0: mem > 0xd80f0000-0xd80fffff,0xdfdc0000-0xdfdfffff irq 46 at device 14.0 on > pci2 > amr0: delete logical drives supported by controller > amr0: Firmware 522A, BIOS H430, 256MB RAM > pcib3: at device 0.2 on pci1 > pci3: on pcib3 > pcib4: at device 4.0 on pci0 > pci4: on pcib4 > pcib5: at device 5.0 on pci0 > pci5: on pcib5 > pcib6: at device 0.0 on pci5 > pci6: on pcib6 > em0: port > 0xecc0-0xecff mem 0xdfae0000-0xdfafffff irq 64 at device 7.0 on pci6 > em0: Ethernet address: 00:18:8b:34:70:50 > pcib7: at device 0.2 on pci5 > pci7: on pcib7 > em1: port > 0xdcc0-0xdcff mem 0xdf8e0000-0xdf8fffff irq 65 at device 8.0 on pci7 > em1: Ethernet address: 00:18:8b:34:70:51 > pcib8: at device 6.0 on pci0 > pci8: on pcib8 > uhci0: port 0xbce0-0xbcff > irq 16 at device 29.0 on pci0 > uhci0: [GIANT-LOCKED] > usb0: on uhci0 > usb0: USB revision 1.0 > uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 2 ports with 2 removable, self powered > uhci1: port 0xbcc0-0xbcdf > irq 19 at device 29.1 on pci0 > uhci1: [GIANT-LOCKED] > usb1: on uhci1 > usb1: USB revision 1.0 > uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub1: 2 ports with 2 removable, self powered > uhci2: port 0xbca0-0xbcbf > irq 18 at device 29.2 on pci0 > uhci2: [GIANT-LOCKED] > usb2: on uhci2 > usb2: USB revision 1.0 > uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub2: 2 ports with 2 removable, self powered > ehci0: mem > 0xdff00000-0xdff003ff irq 23 at device 29.7 on pci0 > ehci0: [GIANT-LOCKED] > usb3: EHCI version 1.0 > usb3: companion controllers, 2 ports each: usb0 usb1 usb2 > usb3: on ehci0 > usb3: USB revision 2.0 > uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 > uhub3: 6 ports with 6 removable, self powered > uhub4: vendor 0x413c product 0xa001, class 9/0, rev 2.00/0.00, addr 2 > uhub4: multiple transaction translators > uhub4: 2 ports with 2 removable, self powered > pcib9: at device 30.0 on pci0 > pci9: on pcib9 > pci9: at device 5.0 (no driver attached) > pci9: at device 5.1 (no driver attached) > pci9: at device 5.2 (no driver attached) > atapci0: port > 0xccf0-0xccf7,0xcce4-0xcce7,0xccd8-0xccdf,0xccd0-0xccd3,0xcc70-0xcc7f > mem 0xdf5fec00-0xdf5fecff irq 23 at device 6.0 on pci9 > ata2: on atapci0 > ata3: on atapci0 > pci9: at device 13.0 (no driver attached) > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci1: port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on > pci0 > ata0: on atapci1 > ata1: on atapci1 > fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on > acpi0 > fdc0: [FAST] > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > psm0: irq 12 on atkbdc0 > psm0: [GIANT-LOCKED] > psm0: model IntelliMouse, device ID 3 > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 > on acpi0 > sio0: type 16550A > pmtimer0 on isa0 > orm0: at iomem > 0xc0000-0xcafff,0xcb000-0xcbfff,0xcc000-0xccfff,0xec000-0xeffff on > isa0 > ppc0: parallel port not found. > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > sio1: configured irq 3 not in bitmap of probed irqs 0 > sio1: port may not be enabled > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on > isa0 > ukbd0: Dell DRAC4, rev 1.10/0.00, addr 2, iclass 3/1 > kbd2 at ukbd0 > ums0: Dell DRAC4, rev 1.10/0.00, addr 2, iclass 3/1 > ums0: X report 0x0002 not supported > device_attach: ums0 attach returned 6 > Timecounters tick every 1.000 msec > acd0: CDROM at ata0-master UDMA33 > device_attach: afd0 attach returned 6 > acd1: CDROM at ata2-slave PIO3 > amr0: delete logical drives supported by controller > amrd0: on amr0 > amrd0: 559600MB (1146060800 sectors) RAID 5 (optimal) > SMP: AP CPU #2 Launched! > SMP: AP CPU #1 Launched! > SMP: AP CPU #3 Launched! > Trying to mount root from ufs:/dev/amrd0s1a > fire_saver: the console does not support M_VGA_CG320 > module_register_init: MOD_LOAD (fire_saver, 0xc8d50c10, 0) error 19 > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 11:12:48 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A91CE16A417 for ; Mon, 17 Dec 2007 11:12:48 +0000 (UTC) (envelope-from wundram@beenic.net) Received: from mail.beenic.net (mail.beenic.net [83.246.72.40]) by mx1.freebsd.org (Postfix) with ESMTP id 81B1813C448 for ; Mon, 17 Dec 2007 11:12:48 +0000 (UTC) (envelope-from wundram@beenic.net) Received: from [192.168.1.32] (a89-182-134-156.net-htp.de [89.182.134.156]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.beenic.net (Postfix) with ESMTP id 0CF7BA44529 for ; Mon, 17 Dec 2007 12:05:31 +0100 (CET) From: "Heiko Wundram (Beenic)" Organization: Beenic Networks GmbH To: freebsd-questions@freebsd.org Date: Mon, 17 Dec 2007 12:14:41 +0100 User-Agent: KMail/1.9.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712171214.41607.wundram@beenic.net> Subject: Re: Dependencies. (was: "Yikes! FreeBSD samba-3.0.26a_2, 1 is forbidden: "Remote Code Execution...") X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 11:12:48 -0000 Am Montag, 17. Dezember 2007 11:29:01 schrieb Ted Mittelstaedt: > For you to ask that question shows without a doubt that it has > been too long since you have sat back, put on Pink Floyd, > taken a few bong hits, and contemplated the Universe. Thanks for cheering up my workday! ;-) -- Heiko Wundram Product & Application Development From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 12:19:16 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D41BF16A420 for ; Mon, 17 Dec 2007 12:19:16 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id A4CCF13C4CC for ; Mon, 17 Dec 2007 12:19:16 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr08.lnh.mail.rcn.net ([207.172.157.28]) by smtp02.lnh.mail.rcn.net with ESMTP; 17 Dec 2007 07:19:15 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr08.lnh.mail.rcn.net (MOS 3.8.6-GA) with ESMTP id JLQ68083; Mon, 17 Dec 2007 07:19:15 -0500 (EST) Received: from 209-6-22-188.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.22.188]) by smtp01.lnh.mail.rcn.net with ESMTP; 17 Dec 2007 07:18:10 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18278.26945.843337.942745@jerusalem.litteratus.org> Date: Mon, 17 Dec 2007 07:19:13 -0500 To: Giorgos Keramidas In-Reply-To: <20071217075424.GB2398@kobe.laptop> References: <20071217075424.GB2398@kobe.laptop> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr08.lnh.mail.rcn.net) Cc: freebsd-questions@freebsd.org, David Goodnature Subject: Re: Cannot get Script to Run Via Crontab X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 12:19:16 -0000 Giorgos Keramidas writes: > > The lines from my script that are causing the problem are: > > > > my $scomd = "/usr/local/bin/ps2pdf -dPDFSETTINGS=/prepress -dProcessColorModel=/DeviceGray -dAutoRotatePages=/PageByPage -dDownsampleMonoImages=true -dMonoImageDownsampleType=/Average -dMonoImageDownsampleThreshold=1.5 -dMonoImageResolution=600 ".$inpath.$cur_ps_files[0]." ".$outpath.$pdffilename; > > > > The cron message to mail/root ends with: > > > > exec: ps2pdf12: not found > > > > I am assuming that cron cannot find a path or a config file for > > ghostscript, but I don't have any idea how to fix this problem. > > Yes. That's what is happenning. The default PATH of cron jobs doesn't > include `/usr/local/bin', but you have lots of options: > > 1) Add it to the crontab file > > 2) Modify the default path in your Perl script: Allow me to recommend the second, as it will not disturb other cron programs that may be expecting the default path. Robert Huff From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 12:27:55 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B3B916A418 for ; Mon, 17 Dec 2007 12:27:55 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 9764113C4E1 for ; Mon, 17 Dec 2007 12:27:54 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (vader.bytemobile-rio.ondsl.gr [83.235.57.37]) (authenticated bits=128) by igloo.linux.gr (8.14.1/8.14.1/Debian-9) with ESMTP id lBHCRaPY000973 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 17 Dec 2007 14:27:49 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.2/8.14.2) with ESMTP id lBHCRVXC002350; Mon, 17 Dec 2007 14:27:31 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.2/8.14.2/Submit) id lBHCRVV4002349; Mon, 17 Dec 2007 14:27:31 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 17 Dec 2007 14:27:30 +0200 From: Giorgos Keramidas To: Robert Huff Message-ID: <20071217122730.GA2323@kobe.laptop> References: <20071217075424.GB2398@kobe.laptop> <18278.26945.843337.942745@jerusalem.litteratus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18278.26945.843337.942745@jerusalem.litteratus.org> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.004, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.40, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions@freebsd.org, David Goodnature Subject: Re: Cannot get Script to Run Via Crontab X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 12:27:55 -0000 On 2007-12-17 07:19, Robert Huff wrote: >Giorgos Keramidas writes: >>> The lines from my script that are causing the problem are: >>> [...] >>> The cron message to mail/root ends with: >>> >>> exec: ps2pdf12: not found >>> >>> I am assuming that cron cannot find a path or a config file for >>> ghostscript, but I don't have any idea how to fix this problem. >> >> Yes. That's what is happenning. The default PATH of cron jobs doesn't >> include `/usr/local/bin', but you have lots of options: >> >> 1) Add it to the crontab file >> >> 2) Modify the default path in your Perl script: > > Allow me to recommend the second, as it will not disturb other cron > programs that may be expecting the default path. That is a very good point :) From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 13:38:15 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC16916A417 for ; Mon, 17 Dec 2007 13:38:15 +0000 (UTC) (envelope-from juancr@dsa.es) Received: from llca513-a.servidoresdns.net (llca513-a.servidoresdns.net [217.76.128.120]) by mx1.freebsd.org (Postfix) with ESMTP id 90C2413C44B for ; Mon, 17 Dec 2007 13:38:15 +0000 (UTC) (envelope-from juancr@dsa.es) Received: from mail.dsa.es (localhost.localdomain [127.0.0.1]) by llca513-a.servidoresdns.net (Postfix) with ESMTP id 72D551104031 for ; Mon, 17 Dec 2007 14:38:05 +0100 (CET) Received: from 217.114.136.135 (SquirrelMail authenticated user faf352c) by mail.dsa.es with HTTP; Mon, 17 Dec 2007 13:38:05 -0000 (GMT) Message-ID: <32989.217.114.136.135.1197898685.squirrel@mail.dsa.es> Date: Mon, 17 Dec 2007 13:38:05 -0000 (GMT) From: "DSA - JCR" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.10a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: How to know total number of bytes of a directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2007 13:38:15 -0000 Hi all I would like to know the total number of bytes of a directory and its related subdirs, occupied by the files inside it. I haven't found any command for knowning it. Thanks in advance!! Sincerely Juan Coruña Desarrollo de Software Atlantico From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 13:43:50 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0BF016A419 for ; Mon, 17 Dec 2007 13:43:50 +0000 (UTC) (envelope-from barry.byrne@wbtsystems.com) Received: from hermes.wbtsystems.com (hermes.wbtsystems.com [193.120.231.28]) by mx1.freebsd.org (Postfix) with ESMTP id B9FAB13C46A for ; Mon, 17 Dec 2007 13:43:50 +0000 (UTC) (envelope-from barry.byrne@wbtsystems.com) Received: from SUNYA (sunya.wbt.wbtsystems.com [10.12.1.197]) by hermes.wbtsystems.com (Postfix) with ESMTP id 77960F7412; Mon, 17 Dec 2007 13:43:47 +0000 (GMT) From: "Barry Byrne" To: "'DSA - JCR'" , References: <32989.217.114.136.135.1197898685.squirrel@mail.dsa.es> Date: Mon, 17 Dec 2007 13:43:45 -0000 Message-ID: <00af01c840b2$d80c9a00$c5010c0a@SUNYA> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AchAsmmY1vxWEqI6ROy+/Te5CfawKwAAGQAA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 In-Reply-To: <32989.217.114.136.135.1197898685.squirrel@mail.dsa.es> Cc: Subject: RE: How to know total number of bytes of a directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2007 13:43:51 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of DSA - JCR > Sent: 17 December 2007 13:38 > Hi all > > I would like to know the total number of bytes of a directory and its > related subdirs, occupied by the files inside it. I haven't found any > command for knowning it. man du - barry From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 13:49:23 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5333C16A421 for ; Mon, 17 Dec 2007 13:49:23 +0000 (UTC) (envelope-from greenwood.andy@gmail.com) Received: from mtai05.charter.net (mtai05.charter.net [209.225.8.185]) by mx1.freebsd.org (Postfix) with ESMTP id 0FF5613C4CE for ; Mon, 17 Dec 2007 13:49:21 +0000 (UTC) (envelope-from greenwood.andy@gmail.com) Received: from aarprv06.charter.net ([10.20.200.76]) by mtai05.charter.net (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20071217134911.USCR12551.mtai05.charter.net@aarprv06.charter.net>; Mon, 17 Dec 2007 08:49:11 -0500 Received: from agreenftp.no-ip.com ([75.137.120.205]) by aarprv06.charter.net with ESMTP id <20071217134911.TRTG14098.aarprv06.charter.net@agreenftp.no-ip.com>; Mon, 17 Dec 2007 08:49:11 -0500 Received: from localhost (localhost [127.0.0.1]) by agreenftp.no-ip.com (Postfix) with ESMTP id A752E3985E; Mon, 17 Dec 2007 08:49:10 -0500 (EST) Received: from agreenftp.no-ip.com ([127.0.0.1]) by localhost (zeus.agreenftp.no-ip.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jdDPQwzttFEY; Mon, 17 Dec 2007 08:49:05 -0500 (EST) Received: from hercules.nuvox.net (216.215.202.5.nw.nuvox.net [216.215.202.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: andy) by agreenftp.no-ip.com (Postfix) with ESMTPSA id 2D4AC3985C; Mon, 17 Dec 2007 08:49:05 -0500 (EST) X-Virus-Scanned: amavisd-new at agreenftp.no-ip.com Message-ID: <47667E61.70602@gmail.com> Date: Mon, 17 Dec 2007 08:49:21 -0500 From: Andy Greenwood User-Agent: Thunderbird 2.0.0.6 (X11/20071101) MIME-Version: 1.0 To: DSA - JCR References: <32989.217.114.136.135.1197898685.squirrel@mail.dsa.es> In-Reply-To: <32989.217.114.136.135.1197898685.squirrel@mail.dsa.es> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Chzlrs: 0 Cc: freebsd-questions@freebsd.org Subject: Re: How to know total number of bytes of a directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2007 13:49:23 -0000 DSA - JCR wrote: > Hi all > > I would like to know the total number of bytes of a directory and its > related subdirs, occupied by the files inside it. I haven't found any > command for knowning it. > # du -s /etc 17008 /etc You need read privs to all the subdirectories, otherwise you'll get permission errors and it'll skip those. Note that this displays usage in 512-byte blocks, not bytes, but you should be able to figure it out from there. > > Thanks in advance!! > > Sincerely > > Juan Coruña > Desarrollo de Software Atlantico > > > > > _______________________________________________ > 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 Dec 17 14:00:05 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E44916A418 for ; Mon, 17 Dec 2007 14:00:05 +0000 (UTC) (envelope-from patrick_dkt@yahoo.com.hk) Received: from web54307.mail.re2.yahoo.com (web54307.mail.re2.yahoo.com [206.190.49.117]) by mx1.freebsd.org (Postfix) with SMTP id 674B413C455 for ; Mon, 17 Dec 2007 14:00:05 +0000 (UTC) (envelope-from patrick_dkt@yahoo.com.hk) Received: (qmail 74205 invoked by uid 60001); 17 Dec 2007 14:00:01 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.hk; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=XoB1eq6f4jJ6hi96a2R6A8j7u8E7MjRXapM5NR4UoC0WA1piPmE3kXru++5a4O6amo5LVjz4Tj4VHy7w+jd4ysTgApsdna0Qf9ZOHBJIrNQ+duJFesOly6ZJGsyL8gJv9ps/hiea2hcN0llcfjEb//Wy59f28CsOLWBE9hQhEy4=; X-YMail-OSG: 78IOKIsVM1mRQrbbRJ8tha.vm4Ugd3.bVwxPeK7HJz.99XboJ5kfjvlEXIx4mgn6DPwXZ8E_27S3ROVpaGXtyyT_jEbTujHOPT44AZ5q305L9_BAWtBRnFD_TxaRb_a_ Received: from [61.15.61.52] by web54307.mail.re2.yahoo.com via HTTP; Mon, 17 Dec 2007 06:00:01 PST Date: Mon, 17 Dec 2007 06:00:01 -0800 (PST) From: Patrick Dung To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <637609.73206.qm@web54307.mail.re2.yahoo.com> Subject: Re: Bash script to find out the summary of user memory usage [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: Mon, 17 Dec 2007 14:00:05 -0000 I have correction with the script but still doesn't work: #!/usr/local/bin/bash for user in `ps -A -o user | sort | uniq | tail +2` do echo "user: $user" ps aux -U $user | tail +2 | while read line do mem=`echo $line | awk {'print $4'}` echo "mem: $mem" TMPSUMMEM=`awk -v x=$mem -v y=$TMPSUMMEM 'BEGIN{printf "%.2f\n",x+y}'` echo "summem: $TMPSUMMEM" done echo "finalsummem: $SUMMEM" export SUMMEM=$TMPSUMMEM done echo "finalsummem: $SUMMEM" > #!/usr/local/bin/bash > > for user in `ps -A -o user | sort | uniq | tail +2` > do > echo "user: $user" > > ps aux -U $user | tail +2 | while read line > do > > mem=`echo $line | awk {'print $4'}` > echo "mem: $mem" > TMPSUMMEM=`awk -v x=$mem -v y=$TMPSUMMEM 'BEGIN{printf > "%.2f\n",x+y}'` > echo "summem: $TMPSUMMEM" > done > echo "finalsummem: $TMPSUMMEM" --- Patrick Dung wrote: > Hello, any idea about why below script is not working? > The final sum is empty.. > > #!/usr/local/bin/bash > > for user in `ps -A -o user | sort | uniq | tail +2` > do > echo "user: $user" > > ps aux -U $user | tail +2 | while read line > do > > mem=`echo $line | awk {'print $4'}` > echo "mem: $mem" > TMPSUMMEM=`awk -v x=$mem -v y=$TMPSUMMEM 'BEGIN{printf > "%.2f\n",x+y}'` > echo "summem: $TMPSUMMEM" > done > echo "finalsummem: $SUMMEM" > donefreebsd-questions@freebsd.org.hk > > > > ____________________________________________________________________________________ > Looking for last minute shopping deals? > Find them fast with Yahoo! Search. > http://tools.search.yahoo.com/newsearch/category.php?category=shopping > ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 14:04:49 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51B5816A417 for ; Mon, 17 Dec 2007 14:04:49 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 1BF9E13C4D3 for ; Mon, 17 Dec 2007 14:04:48 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1J4GaG-0001bA-SQ for freebsd-questions@freebsd.org; Mon, 17 Dec 2007 14:04:40 +0000 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 ; Mon, 17 Dec 2007 14:04:40 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Dec 2007 14:04:40 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Mon, 17 Dec 2007 15:04:25 +0100 Lines: 44 Message-ID: References: <32989.217.114.136.135.1197898685.squirrel@mail.dsa.es> <47667E61.70602@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig377DC6BD9ABF2DA39E2B53AD" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.6 (X11/20070801) In-Reply-To: <47667E61.70602@gmail.com> X-Enigmail-Version: 0.95.3 Sender: news Subject: Re: How to know total number of bytes of a directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2007 14:04:49 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig377DC6BD9ABF2DA39E2B53AD Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Andy Greenwood wrote: > DSA - JCR wrote: >> Hi all >> >> I would like to know the total number of bytes of a directory and its >> related subdirs, occupied by the files inside it. I haven't found any >> command for knowning it. >> =20 >=20 > # du -s /etc > 17008 /etc >=20 > You need read privs to all the subdirectories, otherwise you'll get > permission errors and it'll skip those. Note that this displays usage i= n > 512-byte blocks, not bytes, but you should be able to figure it out fro= m > there. Just add "-h": # du -sh /etc 2.1M /etc --------------enig377DC6BD9ABF2DA39E2B53AD 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.4-svn0 (GNU/Linux) iD8DBQFHZoHpldnAQVacBcgRAvttAJ4qyHfMLwjqfyGoQF/xMhhwkZ2BrQCgyxmj Mnf6yHZrdmeYOp/8HsxOs/k= =NJDs -----END PGP SIGNATURE----- --------------enig377DC6BD9ABF2DA39E2B53AD-- From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 14:09:45 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 714BC16A41A for ; Mon, 17 Dec 2007 14:09:45 +0000 (UTC) (envelope-from dave.list@pixelhammer.com) Received: from smtp2.tls.net (smtp2.tls.net [65.196.224.83]) by mx1.freebsd.org (Postfix) with ESMTP id 1EA0613C504 for ; Mon, 17 Dec 2007 14:09:44 +0000 (UTC) (envelope-from dave.list@pixelhammer.com) Received: (qmail 16112 invoked from network); 17 Dec 2007 14:09:43 -0000 Received: by simscan 1.2.3 ppid: 16091, pid: 16108, t: 0.2684s scanners: attach: 1.2.3 clamav: 0.91.1/m:45 spam: 3.2.1 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on smtp-2.tls.net X-Spam-Level: X-Spam-Status: No, score=0.2 required=20.0 tests=ALL_TRUSTED,TVD_RCVD_IP autolearn=disabled version=3.2.1 Received: from 208-70-40-123.bb.hrtc.net (HELO ?192.168.0.109?) (ldg%tls.net@208.70.40.123) by auth-smtp2.tls.net with ESMTPA; 17 Dec 2007 14:09:43 -0000 Message-ID: <47668320.5000706@pixelhammer.com> Date: Mon, 17 Dec 2007 09:09:36 -0500 From: DAve User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <32989.217.114.136.135.1197898685.squirrel@mail.dsa.es> <47667E61.70602@gmail.com> In-Reply-To: <47667E61.70602@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: How to know total number of bytes of a directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2007 14:09:45 -0000 Andy Greenwood wrote: > DSA - JCR wrote: >> Hi all >> >> I would like to know the total number of bytes of a directory and its >> related subdirs, occupied by the files inside it. I haven't found any >> command for knowning it. >> > > # du -s /etc > 17008 /etc > > You need read privs to all the subdirectories, otherwise you'll get > permission errors and it'll skip those. Note that this displays usage in > 512-byte blocks, not bytes, but you should be able to figure it out from > there. -h provides human readable output. du -sh /etc 3.8M /etc DAve -- Google finally, after 7 years, provided a logo for veterans. Thank you Google. What to do with my signature now? From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 14:31:31 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BE2216A469 for ; Mon, 17 Dec 2007 14:31:31 +0000 (UTC) (envelope-from greenwood.andy@gmail.com) Received: from mtao02.charter.net (mtao02.charter.net [209.225.8.187]) by mx1.freebsd.org (Postfix) with ESMTP id 1112C13C457 for ; Mon, 17 Dec 2007 14:31:30 +0000 (UTC) (envelope-from greenwood.andy@gmail.com) Received: from aarprv06.charter.net ([10.20.200.76]) by mtao02.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20071217143130.JRXQ27011.mtao02.charter.net@aarprv06.charter.net>; Mon, 17 Dec 2007 09:31:30 -0500 Received: from agreenftp.no-ip.com ([75.137.120.205]) by aarprv06.charter.net with ESMTP id <20071217143130.VTXM14098.aarprv06.charter.net@agreenftp.no-ip.com>; Mon, 17 Dec 2007 09:31:30 -0500 Received: from localhost (localhost [127.0.0.1]) by agreenftp.no-ip.com (Postfix) with ESMTP id BF5973985E; Mon, 17 Dec 2007 09:31:29 -0500 (EST) Received: from agreenftp.no-ip.com ([127.0.0.1]) by localhost (zeus.agreenftp.no-ip.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z91rvGpVB1-C; Mon, 17 Dec 2007 09:31:26 -0500 (EST) Received: from hercules.nuvox.net (216.215.202.5.nw.nuvox.net [216.215.202.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: andy) by agreenftp.no-ip.com (Postfix) with ESMTPSA id 9D7353985C; Mon, 17 Dec 2007 09:31:26 -0500 (EST) X-Virus-Scanned: amavisd-new at agreenftp.no-ip.com Message-ID: <4766884F.2070809@gmail.com> Date: Mon, 17 Dec 2007 09:31:43 -0500 From: Andy Greenwood User-Agent: Thunderbird 2.0.0.6 (X11/20071101) MIME-Version: 1.0 To: DAve References: <32989.217.114.136.135.1197898685.squirrel@mail.dsa.es> <47667E61.70602@gmail.com> <47668320.5000706@pixelhammer.com> In-Reply-To: <47668320.5000706@pixelhammer.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Chzlrs: 0 Cc: freebsd-questions@freebsd.org Subject: Re: How to know total number of bytes of a directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2007 14:31:31 -0000 DAve wrote: > Andy Greenwood wrote: > >> DSA - JCR wrote: >> >>> Hi all >>> >>> I would like to know the total number of bytes of a directory and its >>> related subdirs, occupied by the files inside it. I haven't found any >>> command for knowning it. >>> >>> >> # du -s /etc >> 17008 /etc >> >> You need read privs to all the subdirectories, otherwise you'll get >> permission errors and it'll skip those. Note that this displays usage in >> 512-byte blocks, not bytes, but you should be able to figure it out from >> there. >> > > -h provides human readable output. > du -sh /etc > 3.8M /etc > > DAve > > Ahh, I had forgotten about -h. I ususally use du -s * | sort -rn | head to find the biggest files/directories in a given directory, and if you use -h, you'll get stuff out of order, since 3.8M will come after 4.2K in a reversed numerical sort. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 14:38:25 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9FCB16A420 for ; Mon, 17 Dec 2007 14:38:25 +0000 (UTC) (envelope-from victorsubervi@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.189]) by mx1.freebsd.org (Postfix) with ESMTP id 88CCD13C46E for ; Mon, 17 Dec 2007 14:38:25 +0000 (UTC) (envelope-from victorsubervi@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so2114376rvb.43 for ; Mon, 17 Dec 2007 06:38:24 -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:mime-version:content-type:references; bh=rE2K2+B5EuLPE/JHdqHX9WurC0EIiNsmYntbNmjGpvs=; b=WcHNtfgkvHim976H6xPLsfL8NDKbRDY8gb4tWOPeRFt0OIlAjj8Nkgw1ncgRD85nx3uJUdRavyLuob20EIb4PPZxl8PEIFG8Mz61eBX6rzfUYgNOr4/j1z2lXN4JUTuZlotLUfex5xh6KsVjaJ9Z5Ax2cqBoBAvtZhb47BQgQaQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ZGt/BfjEDt30p3gqcilNCkgJZ1DTu6t8U/iwOxXEgmnBN3bCLVjme8nPNsH+QYU+rbVS2rk0Z2dKDVXPZPjXYt5NSv9yDkOtckhh8BhinMzsHJiLxGDdUPeoCI921KOw5Lws8wdi1SZmJVz+uVtdNCVTuLs4gn37dHwUI/TZqzo= Received: by 10.141.76.21 with SMTP id d21mr4003652rvl.114.1197902304809; Mon, 17 Dec 2007 06:38:24 -0800 (PST) Received: by 10.140.169.19 with HTTP; Mon, 17 Dec 2007 06:38:24 -0800 (PST) Message-ID: <4dc0cfea0712170638p603f73eco1c5715c621cdd18@mail.gmail.com> Date: Mon, 17 Dec 2007 10:38:24 -0400 From: "Victor Subervi" To: freebsd-questions@freebsd.org In-Reply-To: <448x3xoy2a.fsf@be-well.ilk.org> MIME-Version: 1.0 References: <4dc0cfea0712140726h70fbf8e9v272d5e3d314d8335@mail.gmail.com> <448x3xoy2a.fsf@be-well.ilk.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Problem With PoEdit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 14:38:25 -0000 I've never used X before...grown to love the command line ;) I didn't have X cranked up...don't even know how to do that. I just entered "poedit" at the command line and assumed X would kick in. Should I start X? How? TIA, Victor On Dec 14, 2007 3:50 PM, Lowell Gilbert < freebsd-questions-local@be-well.ilk.org> wrote: > "Victor Subervi" writes: > > > Hi; > > I installed poedit from the port on 5.5. I didn't have X11 before, so it > > took a very_long_time. Once installed, I tried to fire it up: > > # poedit > > Error: Unable to initialize gtk, is DISPLAY set properly? > > What do? > > I don't know the program, but it looks like it only runs inside of X, > so you need to have X actually running when you start it. Was this > the case? If so, did you check what DISPLAY was set to? > From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 14:57:44 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50B9216A417 for ; Mon, 17 Dec 2007 14:57:44 +0000 (UTC) (envelope-from dmehler26@woh.rr.com) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.122]) by mx1.freebsd.org (Postfix) with ESMTP id 246AB13C4E9 for ; Mon, 17 Dec 2007 14:57:44 +0000 (UTC) (envelope-from dmehler26@woh.rr.com) Received: from satellite ([24.166.217.200]) by hrndva-omta03.mail.rr.com with SMTP id <20071217145743.IETG16876.hrndva-omta03.mail.rr.com@satellite> for ; Mon, 17 Dec 2007 14:57:43 +0000 Message-ID: <002301c840bd$24f59510$0200a8c0@satellite> From: "Dave" To: Date: Mon, 17 Dec 2007 09:57:28 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Subject: backuppc port? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dave List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2007 14:57:44 -0000 Hello, I've been googling and i've read that a FreeBSD port of backuppc is either in production or near completion or actually done. I haven't been able to find out anything else. Does anyone know anything about this port? Thanks. Dave. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 15:10:12 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD7B216A41A for ; Mon, 17 Dec 2007 15:10:12 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from wmail.teledomenet.gr (wmail.teledomenet.gr [213.142.128.16]) by mx1.freebsd.org (Postfix) with ESMTP id 8C20513C4EC for ; Mon, 17 Dec 2007 15:10:12 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: by wmail.teledomenet.gr (Postfix, from userid 1002) id 68DCF1C8EF0; Mon, 17 Dec 2007 17:10:11 +0200 (EET) X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on wmail.teledomenet.gr X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.7-deb Received: from iris (unknown [192.168.1.71]) by wmail.teledomenet.gr (Postfix) with ESMTP id 022C51C8F50 for ; Mon, 17 Dec 2007 17:09:58 +0200 (EET) From: Nikos Vassiliadis To: freebsd-questions@freebsd.org Date: Mon, 17 Dec 2007 17:14:01 +0200 User-Agent: KMail/1.9.7 References: <475FC26C.3030508@icyb.net.ua> <47610957.8020800@icyb.net.ua> <200712131312.28148.nvass@teledomenet.gr> In-Reply-To: <200712131312.28148.nvass@teledomenet.gr> X-NCC-RegID: gr.telehouse MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712171714.02050.nvass@teledomenet.gr> Subject: Re: mounted cd and tray locking X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 15:10:12 -0000 The PR I sent: http://www.freebsd.org/cgi/query-pr.cgi?pr=118779 From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 15:38:54 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE80F16A420 for ; Mon, 17 Dec 2007 15:38:54 +0000 (UTC) (envelope-from david.robillard@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.185]) by mx1.freebsd.org (Postfix) with ESMTP id AE92D13C46A for ; Mon, 17 Dec 2007 15:38:54 +0000 (UTC) (envelope-from david.robillard@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so2131222rvb.43 for ; Mon, 17 Dec 2007 07:38:54 -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:cc:mime-version:content-type:content-transfer-encoding:content-disposition; bh=fyy8Vntp5qjrchUfOifWzxa+ztUeuvzv3uk/tzBMwj4=; b=mUDpUpd9wlFdDt9zL8sQbKzhD6Dju3/7JS5XXeKIGHMf5foO/q9C/dOYHhF95mzc6j9QuvqFxiiZnIO2djZ+T0N6EVMf2VDkuuIPJF481fOcI/wVuHCeZwfs9+03h8QFVgF77Desm4al6CcgrH5nclEh5EoE+AM2j6TdjzWTav8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=e9QXW2k8wWqc4HrXcwBtg8rJH/s2dhhTTXeUcb88emBuNAwjjZ0ntZ6HtDCDmfVpm5wSRVuhMX1hUfuD1k0TfOp+MWdiIfer7CWQFf7LNDaH/7cjUu5WmZihG5QhzvMhAzsHXABKz7TLyHp+Qxx1QPwy2a3W1foFmebDYyaSw/A= Received: by 10.141.3.17 with SMTP id f17mr947388rvi.180.1197905934065; Mon, 17 Dec 2007 07:38:54 -0800 (PST) Received: by 10.141.62.14 with HTTP; Mon, 17 Dec 2007 07:38:54 -0800 (PST) Message-ID: <226ae0c60712170738m7b5f2a5dt6286fe336cd8dd88@mail.gmail.com> Date: Mon, 17 Dec 2007 10:38:54 -0500 From: "David Robillard" To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Chad Perrin Subject: Re: common filesystem for Linux and FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2007 15:38:54 -0000 > That being the case, there is some data I would like to keep available to > both FreeBSD and Linux systems, in stable read/write access with > reasonably high access performance for both (fast enough to achieve > decent frame rates, for instance). This seems to rule out both ext3 and > UFS2. What filesystem(s) meet(s) my needs in this case? NFS would probably do it. You can use either OS as the NFS server and use which ever file system you desire. David -- David Robillard UNIX systems administrator & Oracle DBA CISSP, RHCE & Sun Certified Security Administrator Montreal: +1 514 966 0122 From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 15:48:07 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 823A616A41A for ; Mon, 17 Dec 2007 15:48:07 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (dsl092-078-145.bos1.dsl.speakeasy.net [66.92.78.145]) by mx1.freebsd.org (Postfix) with ESMTP id 5C2A713C43E for ; Mon, 17 Dec 2007 15:48:07 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id 8855A28434; Mon, 17 Dec 2007 10:48:06 -0500 (EST) To: "Victor Subervi" References: <4dc0cfea0712140726h70fbf8e9v272d5e3d314d8335@mail.gmail.com> <448x3xoy2a.fsf@be-well.ilk.org> <4dc0cfea0712170638p603f73eco1c5715c621cdd18@mail.gmail.com> From: Lowell Gilbert Date: Mon, 17 Dec 2007 10:48:06 -0500 In-Reply-To: <4dc0cfea0712170638p603f73eco1c5715c621cdd18@mail.gmail.com> (Victor Subervi's message of "Mon\, 17 Dec 2007 10\:38\:24 -0400") Message-ID: <44ve6x5nm1.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Problem With PoEdit 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, 17 Dec 2007 15:48:07 -0000 "Victor Subervi" writes: > I've never used X before...grown to love the command line ;) I didn't have X > cranked up...don't even know how to do that. I just entered "poedit" at the > command line and assumed X would kick in. Should I start X? How? See the FreeBSD Handbook section titled "The X Window System" for details, but you can probably type "xinit" (to start X) and then type "poedit" in a terminal window that will (probably) be started for you. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 15:51:02 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA16716A41A for ; Mon, 17 Dec 2007 15:51:02 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 41EFE13C43E for ; Mon, 17 Dec 2007 15:51:01 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (vader.bytemobile-rio.ondsl.gr [83.235.57.37]) (authenticated bits=128) by igloo.linux.gr (8.14.1/8.14.1/Debian-9) with ESMTP id lBHFoI9q021421 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 17 Dec 2007 17:50:52 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.2/8.14.2) with ESMTP id lBHFoDuj065061; Mon, 17 Dec 2007 17:50:13 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.2/8.14.2/Submit) id lBHFoCEP065037; Mon, 17 Dec 2007 17:50:12 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 17 Dec 2007 17:50:11 +0200 From: Giorgos Keramidas To: Patrick Dung Message-ID: <20071217155011.GB83628@kobe.laptop> References: <637609.73206.qm@web54307.mail.re2.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <637609.73206.qm@web54307.mail.re2.yahoo.com> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.005, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.39, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: Bash script to find out the summary of user memory usage [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: Mon, 17 Dec 2007 15:51:02 -0000 On 2007-12-17 06:00, Patrick Dung wrote: > I have correction with the script but still doesn't work: > > #!/usr/local/bin/bash > for user in `ps -A -o user | sort | uniq | tail +2` > do > echo "user: $user" > > ps aux -U $user | tail +2 | while read line > do > > mem=`echo $line | awk {'print $4'}` > echo "mem: $mem" > TMPSUMMEM=`awk -v x=$mem -v y=$TMPSUMMEM 'BEGIN{printf > "%.2f\n",x+y}'` > echo "summem: $TMPSUMMEM" > done > echo "finalsummem: $SUMMEM" > export SUMMEM=$TMPSUMMEM > done > > echo "finalsummem: $SUMMEM" There are *many* race conditions in that script. For example, there's no guarantee that once you get a snapshot of the "ps -A -o user" output, then the same users will be listed in the loop you are running for each username. The script is also a bit 'sub-optimal' because it calls ps(1) and parses its output many times (at least as many times as there are users). A much better way to `design' something like this would be to keep a hash of the usernames, and keep incrementing the hash entry for each user as you hit ps(1) output lines. I'm not going to even bother writing a script to use a hash in bash(1), because there are much better languages to work with hashes, dictionaries or even simple arrays. Here's for example a Python script which does what I described: 1 #!/usr/bin/env python 2 3 import os 4 import re 5 import sys 6 7 try: 8 input = os.popen('ps xauwww', 'r') 9 except: 10 print "Cannot open pipe for ps(1) output" 11 sys.exit(1) 12 13 # Start with an empty dictionary. 14 stats = {} 15 16 # Regexp to strip the ps(1) output header. 17 header = re.compile('USER') 18 19 for line in input.readlines(): 20 if header.match(line): 21 continue 22 fields = line.split() 23 if not fields or len(fields) < 4: 24 continue 25 26 (username, mem) = (fields[0], float(fields[3])) 27 value = None 28 try: 29 value = stats[username] 30 except KeyError: 31 pass 32 33 if not value: 34 stats[username] = 0.0 35 stats[username] += mem 36 37 # Print all the stats we have collected so far. 38 keys = stats.keys() 39 if len(keys) > 0: 40 total = 0.0 41 print "%-15s %5s" % ('USERNAME', 'MEM%') 42 for k in stats.keys(): 43 print "%-15s %5.2f" % (k, stats[k]) 44 total += stats[k] 45 # Finally print a grand total of all users. 46 print "%-15s %5.2f" % ('TOTAL', total) It's not the shortest Python script one could write to do what you describe, but I've gone for readability rather than speed or conciseness. Running this script should produce: $ ./foo.py USERNAME MEM% _pflogd 0.10 daemon 0.00 bind 1.10 _dhcp 0.10 keramida 38.60 smmsp 0.10 root 10.10 build 0.00 TOTAL 50.10 $ PS: Yes, you could probably do the same in bash, with sed, awk and a bit of superglue, but I prefer Perl and/or Python for anything which involves something a bit more involved than simple string substitution these days... From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 15:56:28 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5290A16A41A for ; Mon, 17 Dec 2007 15:56:28 +0000 (UTC) (envelope-from mnslinky@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by mx1.freebsd.org (Postfix) with ESMTP id C688E13C4D9 for ; Mon, 17 Dec 2007 15:56:27 +0000 (UTC) (envelope-from mnslinky@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so3871849pyb.3 for ; Mon, 17 Dec 2007 07:56:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; bh=IK5twBX2FCnGaVh4I5vTQwGZ7VeTdk3GnrsZUKrkSwA=; b=kKiMnSi2mVL7EzDICxnbdMPtqjIyT2wELdCTKvxOe6/p3sAet5na9uZ9pOGXWXI1D6ElGcQTb4HSsfN/GjXI+mitGj5f4I2hhPgBlMPHnqtwKJeUbIp4fGtjdEK0JaIhdpOI/4ULR+Ueb+HwEC6X84BjZC6MEHvfOv28qq9qzA4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=cgnrNOvZeUGb28g3PYuAWxKYKQtm/wfpYtEcfVmqWvTvX3sHQFDr+q1/sAerZ2g4FpcVIbsx89h+jxOTpAW3Dh24J/GPzYG+NW8jU8eO2fLUBMyl6/0K5MVmm4GdAfXz/3FifcF0wBBN7GiIVJ4PJSgL58MXU4LA145jx5kzKpM= Received: by 10.35.90.1 with SMTP id s1mr3461358pyl.53.1197906980708; Mon, 17 Dec 2007 07:56:20 -0800 (PST) Received: from swordfish.local.claimlynx.com ( [74.95.66.25]) by mx.google.com with ESMTPS id f78sm35010343pyh.2007.12.17.07.56.18 (version=SSLv3 cipher=OTHER); Mon, 17 Dec 2007 07:56:18 -0800 (PST) Message-Id: From: Eric Crist To: Jorn Argelo In-Reply-To: <9cc0a3fa1d403f16f4fc9b2abb49fb75@mail.wcborstel.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Mon, 17 Dec 2007 09:56:16 -0600 References: <20071216185050.GB26535@brahma.susmita.org> <9cc0a3fa1d403f16f4fc9b2abb49fb75@mail.wcborstel.com> X-Mailer: Apple Mail (2.915) Cc: girishvenkatachalam@gmail.com, freebsd-questions@freebsd.org Subject: Re: (postfix) SPAM filter? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 15:56:28 -0000 On Dec 17, 2007, at 2:36 AM, Jorn Argelo wrote: > > > On Mon, 17 Dec 2007 00:20:50 +0530, Girish Venkatachalam > wrote: >> On 14:48:35 Dec 15, Jorn Argelo wrote: >>> Greylisting only works so-so nowadays. There was a couple of >>> months it >> was >>> very effective, but that is long gone. Spammers aren't stupid, and >>> they >>> follow the development of anti-spam techniques as much as e-mail >>> admins >> do. >>> Greylisting is a start, but from my experience it is not nearly >>> enough. >>> >> >> I have heard this said elsewhere too. > > Yes don't rely solely on greylisting unless you're a lucky guy and > don't get a lot of spam. I hear a lot of people saying that greylisting doesn't work, when I have actual numbers for my network proving it does. These numbers are from the first week of May 2007 to today: Greylisted/Rejected Messages: 187560 Spam Tagged Messages: 3806 Virus Tagged Messages: 0 Bounced Messages: 7 Total Messages Sent: 761 Total Messages Delivered: 25345 So, out of 25,345 messages that have been delivered to mailboxes, 3,806 of them were tagged as Spam by Spamassassin. Guessing at false positives based on what I see in my inbox (I'm the heaviest mail user on my network), about 10% are probably false positives. 25345/187560 = .1351 = 13.51% of email gets past greylisting. ((3806*.90)/25345) = .1351 = 13.51% of that email is considered Spam, which is probably correct. Based on those numbers, 162,215 messages were probably Spam. I'm guess it's Spam, as none of our users have complained that there is legitimate email failing to get through to their inbox. That would be ~88.8% of email hitting my systems is Spam. I would consider greylisting in my case VERY successful. What this doesn't take into consideration, however, is that I truly hate the delay of receiving a message from someone that isn't in the database, and as such, we're working on improving our SA rulesets and getting rid of greylisting. If my math is wrong here, please feel free to correct me, I'm by no means any good at it. ;) ----- Eric F Crist Secure Computing Networks From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 16:16:32 2007 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 B676316A420 for ; Mon, 17 Dec 2007 16:16:32 +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 5D64513C45B for ; Mon, 17 Dec 2007 16:16:31 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id lBHGFmOB035488; Mon, 17 Dec 2007 11:15:48 -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 lBHGFmTf035487; Mon, 17 Dec 2007 11:15:48 -0500 (EST) (envelope-from jerrymc) Date: Mon, 17 Dec 2007 11:15:48 -0500 From: Jerry McAllister To: Zeeshan Ahmad Message-ID: <20071217161548.GA35443@gizmo.acns.msu.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: questions@freebsd.org Subject: Re: Installation CD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 16:16:32 -0000 On Fri, Dec 14, 2007 at 12:41:50PM -0500, Zeeshan Ahmad wrote: > Hi, > > I want to ask which iso image i have to download from this link: > > ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/6.2/ > > that will install FreeBSD from CD ROM direclty because there are bootonly > iso, disc1 and disc2 iso's as well. So which iso i have to download and then > i only need to burn that iso on CD and i can start installation and no other > extra thing i have to do. Any suggestion? Depends on just what you need to do. But, in general, burn disc-1. You can install from that including some of the more common ports or use that CD to install over the net. DIsc-1 also has the fixit shell. You need disc-2 only if you want to install ports that are not on disc-1. The boot-only disc will allow you to install only over the net. ////jerry > > Regards, > > Zeeshan > _______________________________________________ > 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 Dec 17 16:17:05 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD7CD16A494 for ; Mon, 17 Dec 2007 16:17:05 +0000 (UTC) (envelope-from cyberdog3k@gmail.com) Received: from rn-out-0102.google.com (rn-out-0910.google.com [64.233.170.187]) by mx1.freebsd.org (Postfix) with ESMTP id 7D62513C447 for ; Mon, 17 Dec 2007 16:17:05 +0000 (UTC) (envelope-from cyberdog3k@gmail.com) Received: by rn-out-0102.google.com with SMTP id s42so260001rnb.13 for ; Mon, 17 Dec 2007 08:17:04 -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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=RpEVydflKv/KiMF/rLnb8ke93MiObyhr+JoVK07zDyM=; b=Qu2UnuVdsEwjHizc/7PueHaG4Yt6/h15huv6YSoqDAbNJp4VKMROrK6bG+4d2sblFlqe6PZaNgM1gZrabQ8SL8TbyBK5QoeHaJPEHDXvm+OnHnicbDBjBFYis/U9NbfaErIAR4MYxwtNLs1E5FzLohcqSS5hJgIsBiZWV/LUWPQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=eavr1GCUoLzDDoYLR2gjNYdAF0taQAtNaP4F9JBUWxOgVRPjq4/rIN6W8n5zaHrNAO4fJSFbpuDRA0tXNbDBvdvj1S5BwlC96iu5J3iIF05E3uU73nP38eOgWJ6E8wkcb5xSuCU1kKJa84RWSt7OH/kXvkezm6aVEye97aQktPI= Received: by 10.150.195.21 with SMTP id s21mr15650ybf.9.1197908224366; Mon, 17 Dec 2007 08:17:04 -0800 (PST) Received: by 10.150.182.11 with HTTP; Mon, 17 Dec 2007 08:17:04 -0800 (PST) Message-ID: Date: Mon, 17 Dec 2007 11:17:04 -0500 From: "Matt LaPlante" To: "Ted Mittelstaedt" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: Rob , FreeBSD Questions , Andrew Falanga Subject: Re: Suggestions please for what POP or IMAP servers to use X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2007 16:17:05 -0000 On Dec 17, 2007 4:03 AM, Ted Mittelstaedt wrote: > > > > -----Original Message----- > > From: Matt LaPlante [mailto:cyberdog3k@gmail.com] > > Sent: Saturday, December 15, 2007 2:18 PM > > To: Ted Mittelstaedt > > Cc: Andrew Falanga; Rob; FreeBSD Questions > > Subject: Re: Suggestions please for what POP or IMAP servers to use > > > > > > > > It's a chicken and egg problem. > > > > > > There's nothing wrong with writing an extremely strict standard. > > > The issue is the implementation. > > > > > > If your server implementation is so strict that most clients have > > > difficulty, then users will find something else and your standard > > > will end up on the dustbin. > > > > > > It's better to start out with a strict standard and a forgiving > > > server implementation, then as it falls into mainstream use, work > > > with the client developers to correct their stuff. > > > > You've effectively described dovecot here. > > No, I haven't. > > > Its codebase is perhaps > > designed to be very strict, however the same codebase also includes > > configurable 'workarounds' (enabled by default in many distros) for > > clients that are not up to spec. They're trivial to toggle and well > > documented. > > > > If you download and compile dovecot then is the default config template > that is shipped with it enable the workarounds? No. The excuse that > "enabled by default in many distros" is merely an excuse. Nobody who > is serious about building a server for a lot of clients is going to > be using some precompiled version, they are going to compile from > source so that if a security hole is discovered they can patch it > immediately. They're also going to actually *look* at the configuration and tailor it. What kind of fool goes to the trouble of building his own software without also customizing the configuration to his specifications? > > IF the switches DISABLED the "lax" behavior, and the defaults in the config > templates were to not have the switches triggered, then it would meet the > definition of a forgiving server implementation. But it doesen't even > go that far. > > > So, this meets both criteria that it will "just work" with clients > > now, and the clients themselves could theoretically (good luck with > > Outlook) fix their code in the future. > > Outlook works just fine in IMAP mode with uw-imap, both regular Outlook > and Outlook Express. > I never said it doesn't. Dovecot works fine with Outlook and Outlook Express too (both IMAP and POP3). Imagine that, IMAP servers that successfully service IMAP clients. > > As far as I'm concerned, it's > > a fairly ideal environment, > > It is good you spell out that this is your personal ideal. > > > and I'm glad the developer has gone to the > > trouble to 1) stick to standards in the core code and 2) made a point > > of documenting and providing workarounds for buggy clients. > > > > It is a lot of extra work to encapsulate all the "alleged bugs" > in separate code so you can provide "switches" for stick-up-their > -asses-admins to flip. That is work that should have gone into > speeding up the code. It is utterly wasted effort unless your goal > is to allow admins who have penis envy the ability to jerk people around > for their choice of e-mail clients. > > It isn't the mailserver administrator's business if Joe Idiot User > who doesen't know any better chooses to use Outlook 97 as an IMAP > client, to deny Joe Idiot access to the mailserver. The admin does > not need to be playing silly games like this, setting up his server > so that only some clients can work with it, others can't, then telling > people their software of choice has bugs and fuck you, don't use it. > > Programmers jobs are to makes things work for users. If Mickeysoft's > programmers cannot write a decent IMAP client, then if the developer > of an IMAP server can write around the problem, then he should do it > and embed the fix in the server code without calling it out in a > config switch. > > The situation is absolutely no different with hardware drivers. Take > a look at for example the comments in the ne2000 (ed) driver code, or > the DEC/Intel 21143 network card driver code (or man page) There are > a number of very badly borked up hardware implementations of those > network chipsets. Yet, do the driver authors of the ed or dc > driver make the admins flip switches in the driver to make the driver > work with their particular borked-up chipset implementation? No. > They write the driver code to work with all implementations, even > the borked up ones. > > The dovecot author is engaged in technopolitics. It is a very bad > thing to do. Whether the authors of bad IMAP client software deserve > this is beside the issue. You need to understand that the ONLY lever > that the Open Source community has to keep the giants like Microsoft > paying some kind of attention to published standards so that everyone's > stuff can interoperate, is the moral superiority lever. In other words, > the Open Source community simply does not engage in predatory, > circle-the-wagons, use-my-stuff-or-else behavior. We have worked a > LONG time to get to this point. As a result of this, when there IS > a problem between the commercial stuff - like for example Microsoft's > Networking, and the Open Source stuff - like for example, SAMBA, > everyone always assumes that the problem is due to the commercial > software companies breaking things - either deliberately, in which > case they look like assholes or sharks, or by accident, in which case > they look like incompetents. > > Microsoft tested stuff like IE7 against Apache during IE7 development, > and they made damn sure that before IE7 was released, it worked with > Apache. They knew that if it didn't, that everyone would blame them > because nobody can conceive of the Apache project deliberately writing > code into Apache that would break a web browser. Why - because the > Apache developers are altruistic and don't play those games. Do you > start to see how this works, now? > > Apache certainly could do it the other way - the Dovecot author's way - > and set defaults that would break all IE versions, which Apache admins > would have to seek out and turn off. If that happened then Microsoft > would quit bothering to test with Apache and just do whatever the hell > they felt like, and blame Apache for getting it wrong. Since people > would know the Apache project was using the same tactics as Microsoft, > nobody would really trust that either party's interpretation of the > http standard was correct, and it would put most users and admins > into the position of being forced to choose between them and use all > open source stuff or all Microsoft stuff. As the Open Source people > do not have the money that the commercial people do, ultimately they > would lose. > > I'm sure a LOT of people out there both inside the commercial software > companies, and people like the Dovecot author, inside the Open Source > community, would enjoy seeing the software market polarized like this. > The newest version of the GNU license has this viewpoint, for example, > and I daresay it's driven by Linux popularity. You see, Linux distros > have gotten popular enough that some of that community feel they don't > need to consider what the commercial software people are doing anymore. > To hell with them, let them eat software bugs, is the attitude. > > FORTUNATELY, so far the BSD people have kept their cooler heads and > haven't adopted this attitude. They have adopted the attitude that > I discussed at length in Chapter 10 of my FreeBSD book in the section > on the Microsoft Anti-trust trial. In short, FreeBSD is better than > Windows because it's technically superior, and it's going to win > in the market because it's technically superior. By contrast, Microsoft > has the image that they are a big greedy company that is more interested > in making a lot of money than winning based on technical superiority. > Ergo, their stuff is not very good. > > Immediately after the MS Anti-Trust trial, of course, everyone > thought that the FreeBSD way was naieve, believing that since MS > was acquitted that the MS way was inevitable, as underhanded as > it was. > > But then an interesting thing happened. MS figured out about 6-12 months > after winning the trial, that they had effectively won the battle but > lost the war. Looking back it's easy now to see that the huge increase > in Linux penetration of the market dated from the time of the ending > of the trial. What was going on is that while Microsoft was still > growing in sales, they were not growing as fast as the market, and were > losing market share. That is why MS eased Bill Gates out of the > spotlight, it is why they refocused and actually came out with a > server product - server 2003 - that really was superior to server 2000, > instead of the way it was before where server 2000 really wasn't much > better than NT4. It is why MS has not filed any kind of legal > proceedings against Linux even while claiming Linux infringes their > intellectual property - they know that such claims will continue to > be regarded as typical salesman bullshit as long as their lawyers don't > actually do anything to back them up. > > In summary, MS realized that if you play in the market using dirty > tricks then eventually you destroy your credibility - and once that > happens, the only people who will buy anything from you are the > people who are being forced to - and they will hate doing it, and > will constantly be looking for a way to cut you out of the picture, > and eventually they will find it and you will be cut out of the > markets one little snip at a time. > > It is a lesson that most in the FreeBSD community have learned. It > is one that the author of Dovecot obviously has not learned and that > is a shame. You use a lot of words to say very little. So much ranting about intent and philosophy, and very little argument of technical merit. I don't care if the author plans to take over the world; his software works well. If you want to impress me with your opinions, give specific technical examples (statistics, bugs) demonstrating why one application is functionally superior to another. > > Ted > From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 17:09:04 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFD8D16A41A for ; Mon, 17 Dec 2007 17:09:04 +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 7D95B13C465 for ; Mon, 17 Dec 2007 17:09:04 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id lBHH8L4j035881; Mon, 17 Dec 2007 12:08:21 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id lBHH8L6O035880; Mon, 17 Dec 2007 12:08:21 -0500 (EST) (envelope-from jerrymc) Date: Mon, 17 Dec 2007 12:08:21 -0500 From: Jerry McAllister To: DAve Message-ID: <20071217170821.GD35443@gizmo.acns.msu.edu> References: <32989.217.114.136.135.1197898685.squirrel@mail.dsa.es> <47667E61.70602@gmail.com> <47668320.5000706@pixelhammer.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47668320.5000706@pixelhammer.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: How to know total number of bytes of a directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2007 17:09:04 -0000 On Mon, Dec 17, 2007 at 09:09:36AM -0500, DAve wrote: > Andy Greenwood wrote: > > DSA - JCR wrote: > >> Hi all > >> > >> I would like to know the total number of bytes of a directory and its > >> related subdirs, occupied by the files inside it. I haven't found any > >> command for knowning it. > >> > > > > # du -s /etc > > 17008 /etc > > > > You need read privs to all the subdirectories, otherwise you'll get > > permission errors and it'll skip those. Note that this displays usage in > > 512-byte blocks, not bytes, but you should be able to figure it out from > > there. > > -h provides human readable output. > du -sh /etc > 3.8M /etc True, although for quickly scanning a long list of files and directories, it is more human readable to make them all have the same multiplyer rather than having to read the trailing m, k, g etc. So, I often use 'du -sk *' which makes eyeballing a list easier. But, since the OP specifically said 'a directory' then -h is probably the best idea, unless the OP wants the exact number of bytes. ////jerry > > DAve > > -- > Google finally, after 7 years, provided a logo for > veterans. Thank you Google. What to do with my signature now? > _______________________________________________ > 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 Dec 17 17:13:19 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F94C16A417 for ; Mon, 17 Dec 2007 17:13:19 +0000 (UTC) (envelope-from jhall@vandaliamo.net) Received: from trueband.net (director.trueband.net [216.163.120.8]) by mx1.freebsd.org (Postfix) with SMTP id DBBE013C448 for ; Mon, 17 Dec 2007 17:13:18 +0000 (UTC) (envelope-from jhall@vandaliamo.net) Received: (qmail 6179 invoked by uid 1006); 17 Dec 2007 17:13:17 -0000 Received: from jhall@vandaliamo.net by rs0 by uid 1003 with qmail-scanner-1.16 (spamassassin: 3.1.4. Clear:SA:0(-1.4/100.0):. Processed in 1.357392 secs); 17 Dec 2007 17:13:17 -0000 X-Spam-Status: No, hits=-1.4 required=100.0 X-Spam-Level: Received: from unknown (HELO trueband.net) (172.16.0.15) by -v with SMTP; 17 Dec 2007 17:13:16 -0000 Received: (qmail 24779 invoked from network); 17 Dec 2007 17:13:16 -0000 Received: from unknown (HELO admintool.trueband.net) (127.0.0.1) by -v with SMTP; 17 Dec 2007 17:13:15 -0000 Received: from 65.117.48.155 (SquirrelMail authenticated user jhall@vandaliamo.net) by admintool.trueband.net with HTTP; Mon, 17 Dec 2007 17:13:15 -0000 (GMT) Message-ID: <51745.65.117.48.155.1197911596.squirrel@admintool.trueband.net> Date: Mon, 17 Dec 2007 17:13:15 -0000 (GMT) From: jhall@vandaliamo.net To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Jail question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2007 17:13:19 -0000 Ladies and Gentlemen, I want to check the understanding of jails. My understanding is a jail uses the existing kernel configuration and cannot use its own kernel configuration. Is this correct? Thanks, Jay From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 17:25:10 2007 Return-Path: Delivered-To: FreeBSD-Questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2FDC16A417 for ; Mon, 17 Dec 2007 17:25:10 +0000 (UTC) (envelope-from freebsd-questions@slightlystrange.org) Received: from catflap.slightlystrange.org (cpc5-cmbg1-0-0-cust497.cmbg.cable.ntl.com [86.6.1.242]) by mx1.freebsd.org (Postfix) with ESMTP id 99B5C13C469 for ; Mon, 17 Dec 2007 17:25:10 +0000 (UTC) (envelope-from freebsd-questions@slightlystrange.org) Received: by catflap.slightlystrange.org (Postfix, from userid 106) id 02AC76117; Mon, 17 Dec 2007 17:25:09 +0000 (GMT) Received: from brick.slightlystrange.org (brick.slightlystrange.org [10.1.3.48]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by catflap.slightlystrange.org (Postfix) with ESMTP id 5C4DC60F4 for ; Mon, 17 Dec 2007 17:25:08 +0000 (GMT) Received: (from danielby@localhost) by brick.slightlystrange.org (8.14.2/8.13.4/Submit) id lBHHP1io040824 for FreeBSD-Questions@FreeBSD.org; Mon, 17 Dec 2007 17:25:01 GMT (envelope-from freebsd-questions@slightlystrange.org) Date: Mon, 17 Dec 2007 17:25:01 +0000 From: Daniel Bye To: FreeBSD-Questions@FreeBSD.org Message-ID: <20071217172501.GA1078@brick.slightlystrange.org> Mail-Followup-To: FreeBSD-Questions@FreeBSD.org References: <20071217070803.E893213C467@mx1.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AqsLC8rIMeq19msA" Content-Disposition: inline In-Reply-To: <20071217070803.E893213C467@mx1.freebsd.org> User-Agent: Mutt/1.4.2.3i X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A Cc: Subject: Re: Ethernet Card Times out on Transfer of Large Files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2007 17:25:11 -0000 --AqsLC8rIMeq19msA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 17, 2007 at 01:07:57AM -0600, W. D. wrote: > Hello Gentlemen: >=20 > The NVidia Ethernet card, nve0, seems to burp on transfers > of large files. After browsing the Web, apparently this > is a fairly common problem: >=20 > http://www.google.com/search?q=3Dnve0+device+timeout+FreeBSD >=20 > From what I can tell, this seems to be the best, most recent > fix: > http://www.f.csce.kyushu-u.ac.jp/~shigeaki/software/freebsd-nfe.html >=20 > Could anyone please point me to some instructions on=20 > how to compile, install, and load this driver? >=20 > When running "make install", this error shows up: >=20 > "/usr/share/mk/bsd.kmod.mk", line 12 "can't find kernel source tree" >=20 > Thank you so much for any light you can shed on this > problem. Install the source, do a buildworld/buildkernel and try again. There are detailed instructions on both tasks in the handbook. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html Dan --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --AqsLC8rIMeq19msA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHZrDtixf5fBYiFmoRAtVOAJoDicP7od54QHh2P015o1Xew3hRZACfePoT AnQC1muWVQHjxjE3AbjDJoE= =v7db -----END PGP SIGNATURE----- --AqsLC8rIMeq19msA-- From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 17:33:11 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4204216A417 for ; Mon, 17 Dec 2007 17:33:11 +0000 (UTC) (envelope-from gore_jarold@yahoo.com) Received: from web63012.mail.re1.yahoo.com (web63012.mail.re1.yahoo.com [69.147.96.223]) by mx1.freebsd.org (Postfix) with SMTP id 0259C13C442 for ; Mon, 17 Dec 2007 17:33:10 +0000 (UTC) (envelope-from gore_jarold@yahoo.com) Received: (qmail 19642 invoked by uid 60001); 17 Dec 2007 17:06:29 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=fBmBNEbkv7zZMpCzTpzCuaMNzjRoOEpozwvOcVMVikezDkqXG2OaysduXS5L9Delh/FVfrLWTri+WhPzmpE30lYRwZ3Fg++KKFwFUKP7gjFo7rGLlH+lBafQjcgivWPBCmDHVcxOAgDRJgfhb+4XYryuOQIyH+RRTTU9ii+rBQY=; Received: from [71.63.232.32] by web63012.mail.re1.yahoo.com via HTTP; Mon, 17 Dec 2007 09:06:29 PST Date: Mon, 17 Dec 2007 09:06:29 -0800 (PST) From: Gore Jarold To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <349277.18679.qm@web63012.mail.re1.yahoo.com> Subject: ipfw rules for all interfaces 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: Mon, 17 Dec 2007 17:33:11 -0000 My main goal is to lock down my ipfw rules so that when I run nmap, all I see is: Interesting ports on 192.168.0.10: Not shown: 1677 closed ports PORT STATE SERVICE 22/tcp open ssh MAC Address: 00:12:D8:A2:23:C2 Nmap finished: 1 IP address (1 host up) scanned in 9.791 seconds So that means I will need to explicitly block all ports except for the ones I have real servers running on. That's easy. The problem is, this is a laptop and so sometimes iwi0 exists and sometimes it doesn't, and sometimes xl0 exists and sometimes it doesn't ... and that is why my ipfw rules look like this: 00010 0 0 allow ip from any to any via lo0 00020 0 0 deny ip from any to 127.0.0.0/8 01000 18134 10505749 allow tcp from any to any established 04000 1498 84280 allow icmp from any to any 04001 27 1728 allow tcp from any to any dst-port 22 setup 04008 0 0 deny log logamount 100 ip from any to any recv all 65535 15202 2569754 allow ip from any to any See - in rule 04008, I say to deny "ip from any to any recv all" - so that no matter what interface(s) I have up, and no matter what their addresses are, this one deny rule will apply to them. THe problem is, it doesn't work. As you can see, the counter on that rule is zero, and when I nmap the system I can see things like samba and http, etc., even though the only port I am allowing through is TCP 22. Why is this ? ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 17:33:34 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E322316A419 for ; Mon, 17 Dec 2007 17:33:34 +0000 (UTC) (envelope-from peter.schuller@infidyne.com) Received: from smtp.infidyne.com (ds9.infidyne.com [88.80.6.206]) by mx1.freebsd.org (Postfix) with ESMTP id 72FF313C44B for ; Mon, 17 Dec 2007 17:33:34 +0000 (UTC) (envelope-from peter.schuller@infidyne.com) Received: from c-8216e555.03-51-73746f3.cust.bredbandsbolaget.se (c-8216e555.03-51-73746f3.cust.bredbandsbolaget.se [85.229.22.130]) by smtp.infidyne.com (Postfix) with ESMTP id D58DB763C7; Mon, 17 Dec 2007 18:33:32 +0100 (CET) From: Peter Schuller To: freebsd-questions@freebsd.org, Frank Shute Date: Mon, 17 Dec 2007 19:33:22 +0100 User-Agent: KMail/1.9.7 References: <20071214010542.GA19553@demeter.hydra> <200712132012.32729.mike.jeays@rogers.com> <20071214211008.GA12935@melon.esperance-linux.co.uk> In-Reply-To: <20071214211008.GA12935@melon.esperance-linux.co.uk> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1415729.3e3akt1Iy2"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200712171933.32626.peter.schuller@infidyne.com> Cc: Mike Jeays Subject: Re: Apparently, csh programming is considered harmful. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 17:33:35 -0000 --nextPart1415729.3e3akt1Iy2 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline > other BSDs for that matter. It being GPL guarantees that quite apart > from it general suckiness. Can someone please explain why bash sucks? Everyone keep's saying this but I have never heard anyone explain why, othe= r=20 than the GPL issue. I really want to know. (This is not because I'm a bash fan. My personal favorite happens to be zsh= =2E) > I tried replacing /bin/bash with /bin/ksh on a Linux system and it > almost completely broke it. Suggests the Linux folks can't write > boot scripts without bashisms. If this is a poke at the use of #!/bin/sh when the script actually requires= =20 bash, I 100% agree. However, if your intent (and the intent of Chuck Robey in that earlier) pos= t=20 is to imply that it's bad programming practice to write anything than POSIX= =20 compatible scripts, then I have to ask again - why? This is kind of a pet peeve of mine, so here goes somewhat of a rant. Pleas= e=20 enlighten me as to why I am wrong: I don't understand why everyone insists on POSIX compliance for portability= =20 with shell scripting. The POSIX common demoniator seems to suck. Seriously.= =20 One keeps seeing things like: if [ x"$var" =3D x"value" ] When the intent is: if [ "$var" =3D "value" ] Because there is presumably some wonky script out there that breaks on the= =20 former (or perhaps its POSIX, dunno). I have recently began to appreciate=20 that all this madness that would normally be considered unforgivable code=20 obfuscation in anything but shell scripting, is all an attempt to somehow b= e=20 portable. In any number of situations I would consider it much preferable to juse cho= ose=20 one particular shell and stick to it, rather than having to do battle with= =20 all these minor incompatibilities. Many major shells are very portable to=20 begin with, and in many situation you *REALLY* don't care about some exotic= =20 Unix platform that 10 people in the world run, but where bash/zsh/whatever= =20 doesn't. Another example of the madness is: http://www.netbsd.org/docs/pkgsrc/makefile.html Check out section 12.3.3. Can anyone claim that it is sensible for it to be= =20 this fricking difficult *to print the value of a variable*? Although that last bit has to do with more than the choice of a shell, it=20 highlights perfectly the type of trouble you run into when you try to be=20 portable with the least common denominator. =2D-=20 / Peter Schuller PGP userID: 0xE9758B7D or 'Peter Schuller ' Key retrieval: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org --nextPart1415729.3e3akt1Iy2 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBHZsD8DNor2+l1i30RAk49AJ0RrBQ8cKhtB7MB5m6gwDpTcJh86gCfTKd+ pw3lIItKpUiw0HVHyNpjoDU= =CNxT -----END PGP SIGNATURE----- --nextPart1415729.3e3akt1Iy2-- From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 17:35:05 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA25216A421 for ; Mon, 17 Dec 2007 17:35:05 +0000 (UTC) (envelope-from peter.schuller@infidyne.com) Received: from smtp.infidyne.com (ds9.infidyne.com [88.80.6.206]) by mx1.freebsd.org (Postfix) with ESMTP id A22E713C46B for ; Mon, 17 Dec 2007 17:35:05 +0000 (UTC) (envelope-from peter.schuller@infidyne.com) Received: from c-8216e555.03-51-73746f3.cust.bredbandsbolaget.se (c-8216e555.03-51-73746f3.cust.bredbandsbolaget.se [85.229.22.130]) by smtp.infidyne.com (Postfix) with ESMTP id D7539763CD; Mon, 17 Dec 2007 18:35:04 +0100 (CET) From: Peter Schuller To: freebsd-questions@freebsd.org Date: Mon, 17 Dec 2007 19:35:05 +0100 User-Agent: KMail/1.9.7 References: <51745.65.117.48.155.1197911596.squirrel@admintool.trueband.net> In-Reply-To: <51745.65.117.48.155.1197911596.squirrel@admintool.trueband.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1254245.poKJhiV3ym"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200712171935.05424.peter.schuller@infidyne.com> Cc: jhall@vandaliamo.net Subject: Re: Jail question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2007 17:35:05 -0000 --nextPart1254245.poKJhiV3ym Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline > I want to check the understanding of jails. > > My understanding is a jail uses the existing kernel configuration and > cannot use its own kernel configuration. > > Is this correct? Yes. The jail is being executed by the same kernel as the host system. The= =20 jail just has restricted access to certain system calls, which creates the= =20 sandbox. =2D-=20 / Peter Schuller PGP userID: 0xE9758B7D or 'Peter Schuller ' Key retrieval: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org --nextPart1254245.poKJhiV3ym Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBHZsFZDNor2+l1i30RAuhoAJ0Ql7u65pFZ6c9Gpn2ofdTo46d49ACfeG6A 9mJ1YahAFAbQOm2HqlBaBkU= =ZWvc -----END PGP SIGNATURE----- --nextPart1254245.poKJhiV3ym-- From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 19:15:44 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9AF0B16A420 for ; Mon, 17 Dec 2007 19:15:44 +0000 (UTC) (envelope-from hugo@barafranca.com) Received: from mail.barafranca.com (mail.barafranca.com [67.19.101.164]) by mx1.freebsd.org (Postfix) with ESMTP id 8446013C448 for ; Mon, 17 Dec 2007 19:15:44 +0000 (UTC) (envelope-from hugo@barafranca.com) Received: from localhost (localhost [127.0.0.1]) by mail.barafranca.com (Postfix) with ESMTP id 7DB17C4A49 for ; Mon, 17 Dec 2007 19:22:22 +0000 (UTC) Received: from mail.barafranca.com ([67.19.101.164]) by localhost (mail.barafranca.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 76489-08 for ; Mon, 17 Dec 2007 19:21:45 +0000 (UTC) Received: from [192.168.200.26] (a213-22-38-76.cpe.netcabo.pt [213.22.38.76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.barafranca.com (Postfix) with ESMTP id ECA86C3839 for ; Mon, 17 Dec 2007 19:21:44 +0000 (UTC) Message-ID: <4766CAB1.8020908@barafranca.com> Date: Mon, 17 Dec 2007 19:14:57 +0000 From: Hugo Silva User-Agent: Thunderbird 2.0.0.9 (X11/20071213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at barafranca.com X-Spam-Status: No, score=0 tagged_above=-1 required=4 tests=[none] X-Spam-Score: 0 X-Spam-Level: Subject: cvsup-mirror: clients never get past 'running' (server 100% idle) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 19:15:44 -0000 Hello, I've set up a local cvsup mirror for a freebsd server farm but I'm having some trouble making it work. I went with all the defaults on the install, only skipping gnats www and mail. The initial update went well, took awhile but I have all files in place now. However, when connecting to get src or ports, it'll never get past /usr/src# make update -------------------------------------------------------------- >>> Running /usr/bin/csup -------------------------------------------------------------- Parsing supfile "/root/cvsup/standard-supfile" Connecting to 172.16.100.22 Connected to 172.16.100.22 Server software version: SNAP_16_1h Negotiating file attribute support Exchanging collection information Establishing multiplexed-mode data connection Running 73163 3002 1 44 0 7592K 3812K select 0 0:02 0.00% cvsupd It just stays idle forever... 3002 73163 0.0 0.2 7592 3812 ?? IJ 7:07PM 0:01.58 /usr/local/sbin/cvsupd -e -C 10 -l @daemon -b /usr/local/etc/cvsup -s sup.client FreeBSD 7.0-BETA4/amd64, cvsupd is running inside a jail, on ZFS. What am I missing ? Regards, Hugo From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 19:23:10 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 832C216A420 for ; Mon, 17 Dec 2007 19:23:10 +0000 (UTC) (envelope-from cblasius@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id 1EE3613C4D3 for ; Mon, 17 Dec 2007 19:23:09 +0000 (UTC) (envelope-from cblasius@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so1975837uge.37 for ; Mon, 17 Dec 2007 11:23:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; bh=Img1i16a+wbp3LTcqtdFacD3vgO4tSD+OcS9SPAnHwo=; b=RuNHRxM4jMqBHcEeLh0113YkdJbYXaUcHV98XFTZrREiqKlrD163LDiEJB/DQaH0Mw9d58NL/vtxciEt9TZ+wTPp+XbRxcyGXKikMAYXEfvdrvVPSJ5b8i1s7wX9QG4AfxVotNS/xLd07oGzwiMg2jFvW5ggNgM1e3VVNm2TrH0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=LrIhNZ4qLFitC2AGDrNHhTaAl1SLvjRdsst15IWrEGDw0TwKopu/TBEARZAp7u/GnnfKRS8e2F0i3aHiLbT6JbxWOCxAG/LvZTqfbfWXI+tTm9rsrjZ7DxcvrJAL+jpUAHiAl6LevJxviF58S7T5RgrvWpuydvSFINI+Y+dCprw= Received: by 10.66.242.5 with SMTP id p5mr4158112ugh.4.1197919388233; Mon, 17 Dec 2007 11:23:08 -0800 (PST) Received: from xdsl-5405.zgora.dialog.net.pl ( [84.40.169.29]) by mx.google.com with ESMTPS id e23sm12462703ugd.2007.12.17.11.23.04 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 17 Dec 2007 11:23:05 -0800 (PST) From: Zbigniew Komarnicki To: freebsd-questions@freebsd.org Date: Mon, 17 Dec 2007 20:23:00 +0100 User-Agent: KMail/1.9.7 References: <200712141742.30001.cblasius@gmail.com> <86wsrfr8zm.fsf@list.ru> In-Reply-To: <86wsrfr8zm.fsf@list.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712172023.00550.cblasius@gmail.com> Subject: Re: csh programing book X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 19:23:10 -0000 On Saturday 15 of December 2007 21:36:13 stgib@list.ru wrote: > http://www.grymoire.com/Unix/Csh.html ? > > There are some other under index.html Thank you all for your help. I want to learn only some stuff with csh. I know how to that in sh or bash but I don't know how in csh, so I simply ask you for help to find some good materials on csh to learn from it. I used by 3 years Debian, but now I use every day FreeBSD at home and work. Thank you again, Zbigniew From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 19:26:27 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E651616A41A for ; Mon, 17 Dec 2007 19:26:27 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id 75A0013C4EA for ; Mon, 17 Dec 2007 19:26:27 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.50) id 1J4Lba-0001Vw-Sv for freebsd-questions@freebsd.org; Mon, 17 Dec 2007 19:26:22 +0000 Received: from esperance.zetnet.co.uk (54-144.adsl.zetnet.co.uk [194.247.54.144]) by zetnet.co.uk (8.14.1/8.14.1/Debian-9) with SMTP id lBHJQLnO004015 for ; Mon, 17 Dec 2007 19:26:22 GMT Received: (qmail 29221 invoked by uid 1001); 17 Dec 2007 19:26:16 -0000 From: "Frank Shute" Date: Mon, 17 Dec 2007 19:26:16 +0000 To: Peter Schuller Message-ID: <20071217192616.GA29097@melon.esperance-linux.co.uk> References: <20071214010542.GA19553@demeter.hydra> <200712132012.32729.mike.jeays@rogers.com> <20071214211008.GA12935@melon.esperance-linux.co.uk> <200712171933.32626.peter.schuller@infidyne.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200712171933.32626.peter.schuller@infidyne.com> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 6.3-RC1 i386 X-Organisation: 'Esperance Linux' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (zetnet.co.uk [194.247.46.1]); Mon, 17 Dec 2007 19:26:22 +0000 (GMT) Cc: freebsd-questions@freebsd.org Subject: Re: Apparently, csh programming is considered harmful. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2007 19:26:28 -0000 On Mon, Dec 17, 2007 at 07:33:22PM +0100, Peter Schuller wrote: > > > other BSDs for that matter. It being GPL guarantees that quite apart > > from it general suckiness. > > Can someone please explain why bash sucks? > > Everyone keep's saying this but I have never heard anyone explain why, other > than the GPL issue. I really want to know. > > (This is not because I'm a bash fan. My personal favorite happens to be zsh.) > Disclaimer: I haven't used bash for 5 years or so, so things might have improved. It used to suck then because it's vi-mode wasn't as good as other shells e.g pdksh, as someone else in this thread mentioned. It also had bugs in how it handled terminal escapes. The tragic thing was that these went on for years without a fix. It was also tremendously bloated at the time. Basically though, I bash bash out of habit :) although I seriously think that there are better shells out there and more people should use them. People seem to use bash and never try anything else. > > I tried replacing /bin/bash with /bin/ksh on a Linux system and it > > almost completely broke it. Suggests the Linux folks can't write > > boot scripts without bashisms. > > If this is a poke at the use of #!/bin/sh when the script actually requires > bash, I 100% agree. Yeah, it was :) The scripts are lies. They say they use /bin/sh but actually use bash extensions. They only work because /bin/sh is a symlink to /bin/bash on Linux. > However, if your intent (and the intent of Chuck Robey in that earlier) post > is to imply that it's bad programming practice to write anything than POSIX > compatible scripts, then I have to ask again - why? Every unix machine has sh, so if you write your scripts using that, you can transport your scripts between machines with a good idea that they will work without having your shell of choice installed with it's oddities & extensions. This might be important where you've got a machine that you can't install your shell of choice, for whatever reason. It might be a rare circumstance but it's for similar reasons I also write all my letters & documents in LaTeX. (No lock-in too). > > This is kind of a pet peeve of mine, so here goes somewhat of a rant. Please > enlighten me as to why I am wrong: > > I don't understand why everyone insists on POSIX compliance for portability > with shell scripting. The POSIX common demoniator seems to suck. Seriously. [snip] It's just for portability that I write to sh. If I'm doing anything vaguely complicated then I use perl instead, which is also pretty portable. And of course Bash primarily sucks because it's GPL which also sucks ;) My basic position: the license is too complicated and open to (mis)interpretation and it's not as free as BSD. Regards, -- Frank Contact info: http://www.esperance-linux.co.uk/misc/contact.html From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 19:38:19 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E376B16A46E for ; Mon, 17 Dec 2007 19:38:19 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id 79EA313C47E for ; Mon, 17 Dec 2007 19:38:19 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.50) id 1J4Ln8-0002O5-HY for freebsd-questions@freebsd.org; Mon, 17 Dec 2007 19:38:18 +0000 Received: from esperance.zetnet.co.uk (54-144.adsl.zetnet.co.uk [194.247.54.144]) by zetnet.co.uk (8.14.1/8.14.1/Debian-9) with SMTP id lBHJcHk5017926 for ; Mon, 17 Dec 2007 19:38:18 GMT Received: (qmail 29260 invoked by uid 1001); 17 Dec 2007 19:38:12 -0000 From: "Frank Shute" Date: Mon, 17 Dec 2007 19:38:12 +0000 To: Tom McLaughlin Message-ID: <20071217193812.GB29097@melon.esperance-linux.co.uk> References: <20071214010542.GA19553@demeter.hydra> <200712132012.32729.mike.jeays@rogers.com> <20071214211008.GA12935@melon.esperance-linux.co.uk> <20071215021349.GF2062@kobe.laptop> <1197850883.4230.3.camel@tomcat.straycat.dhs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1197850883.4230.3.camel@tomcat.straycat.dhs.org> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 6.3-RC1 i386 X-Organisation: 'Esperance Linux' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (zetnet.co.uk [194.247.46.1]); Mon, 17 Dec 2007 19:38:18 +0000 (GMT) Cc: Giorgos Keramidas , FreeBSD Questions Subject: Re: pdksh vs. mksh info [was: Re: Apparently, csh programming is considered harmful.] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2007 19:38:20 -0000 On Sun, Dec 16, 2007 at 07:21:23PM -0500, Tom McLaughlin wrote: > > On Sat, 2007-12-15 at 04:13 +0200, Giorgos Keramidas wrote: > > > > Hi Frank, > > > > Now that you mention pdksh, have you tried mksh (in Ports too)? > > > > I've installed it and successfully run moderately large ksh scripts > > (like the webrev(1) utility of OpenSolaris), and it is about an order of > > magnitude smaller than pdksh here: > > > > % keramida@kobe:/usr/local/bin$ ls -ld mksh bash ksh > > % -rwxr-xr-x 1 root wheel - 684699 Dec 9 19:51 bash > > % -r-xr-xr-x 1 root wheel - 2390645 Aug 31 17:07 ksh > > % -r-xr-xr-x 1 root wheel - 236202 Dec 9 18:34 mksh > > % keramida@kobe:/usr/local/bin$ ldd mksh bash ksh > > % mksh: > > % libc.so.7 => /lib/libc.so.7 (0x280ae000) > > % bash: > > % libncurses.so.7 => /lib/libncurses.so.7 (0x28101000) > > % libintl.so.8 => /usr/local/lib/libintl.so.8 (0x28144000) > > % libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28156000) > > % libc.so.7 => /lib/libc.so.7 (0x2824b000) > > % ldd: ksh: not a dynamic executable > > % keramida@kobe:/usr/local/bin$ > > > > I've maintained a port of OpenBSD's pdksh for some time but I've never > committed it. Think of pdksh but still actively maintained. > > http://people.freebsd.org/~tmclaugh/files/openksh/openksh-4.2.shar > > [tom@releng-7-fbsd tom]$ ls -al /usr/local/bin/ksh > -r-xr-xr-x 1 root wheel 192032 Dec 16 18:22 /usr/local/bin/ksh* > > tom I always assumed that the pdksh in ports had the OpenBSD patches in it. I've downloaded the shell archive and I'll build it. Any chance that you will commit this in the future? I'd almost certainly use it. Thanks for your work & time, it's much appreciated! Regards, -- Frank Contact info: http://www.esperance-linux.co.uk/misc/contact.html From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 20:06:54 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F156416A419 for ; Mon, 17 Dec 2007 20:06:54 +0000 (UTC) (envelope-from nino80@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.188]) by mx1.freebsd.org (Postfix) with ESMTP id D24FE13C4E7 for ; Mon, 17 Dec 2007 20:06:54 +0000 (UTC) (envelope-from nino80@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so2204998rvb.43 for ; Mon, 17 Dec 2007 12:06:54 -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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=YdBvqY44qWJOBw5QaN/dXiX+3Gfw7zdaumK53Dcysi0=; b=r0vX+fn6iZ69Mk/jHrqQ8vvcbABOf587YYpFmgnN4JlmFpR21Tnoa1e+a+m7z/oTV2UaOOyOQFF1Ch06gh3RX0S0ieWwCxkXc5D4w87UOl/Gh/+kMMi8eKtZWVHicYkn+y6RGh2xQ7YLCKFNDw8danmTQNKXcqUQ0lMDbh/stSI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=T+sqAf5BKo0mxi3supPPqf7Xe/ZdowQRKqV/YOZJD9xr5FnZ3CLb/aFB2PQBcv2AyEbJVLyUA0OWYEklQ3rpn67C/1kjmSBi50wU6VlyakTT09TZdG/gzGxMaat8NoXVbgm+FsxVJGYS3+KRJUCGO+fjdavu7zCqVCVJzYJ4u0s= Received: by 10.140.128.11 with SMTP id a11mr4265176rvd.232.1197922014270; Mon, 17 Dec 2007 12:06:54 -0800 (PST) Received: by 10.141.43.19 with HTTP; Mon, 17 Dec 2007 12:06:54 -0800 (PST) Message-ID: <92bcbda50712171206g132754d8ke206e82d32315153@mail.gmail.com> Date: Mon, 17 Dec 2007 21:06:54 +0100 From: "n j" To: "Francisco Reyes" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: Free BSD Questions list Subject: Re: Where is the next uid from adduser pulled from? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 20:06:55 -0000 > Tried looking for the adduser program, but could not find adduser.c Just to point out that adduser is a shell script, as witnessed by: # file /usr/sbin/adduser /usr/sbin/adduser: Bourne shell script text executable and the response to the original question - how does the system generate new UIDs - is best answered by examining the get_nextuid () function inside adduser script. Regards, -- Nino From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 20:26:13 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DA0216A420 for ; Mon, 17 Dec 2007 20:26:13 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.9]) by mx1.freebsd.org (Postfix) with ESMTP id 475EF13C457 for ; Mon, 17 Dec 2007 20:26:13 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: (qmail 5122 invoked from network); 17 Dec 2007 20:26:12 -0000 Received: from april.chuckr.org (chuckr@[66.92.151.30]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 17 Dec 2007 20:26:12 -0000 Message-ID: <4766DAD8.3030006@chuckr.org> Date: Mon, 17 Dec 2007 15:23:52 -0500 From: Chuck Robey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.9) Gecko/20071107 SeaMonkey/1.1.6 MIME-Version: 1.0 To: FreeBSD Questions References: <200712141742.30001.cblasius@gmail.com> <4765008E.1000704@freemail.gr> <47658318.8060506@chuckr.org> <20071217054303.GA33846@demeter.hydra> In-Reply-To: <20071217054303.GA33846@demeter.hydra> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: csh programing book X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 20:26:13 -0000 Chad Perrin wrote: > On Sun, Dec 16, 2007 at 02:57:12PM -0500, Chuck Robey wrote: >> Actually, I like ksh better, if you are really going all out for a >> programming shell, but if you're really after a scripting language, why >> restrict yourself to shells? things like Python & Ruby knock hell out >> of both ksh and bash. That's hardly even arguable. Too bad there isn't >> a good friendly shell-like mode to Python. Ruby would be out there, you >> couldn't even think about using a OO based tool for a user shell, those >> things need to be thought out, and that's the antithesis of being a >> friendly shell. > > Considering I use Ruby's interactive interpreter, irb, all the time -- I > don't really agree that you couldn't make a good user shell from Ruby. A > couple of tweaks in the way irb works would make for one of the best user > shells I'd ever seen. All that's missing is an easier way to execute > external programs, as far as I can tell. > Well, I was only giving my personal opinion. I've never used irb, but it seems to me that using any sort of OO tool as a shell would be "cruel and unusual", but I guess it takes all kinds, and I certainly wouldn't prevent you from enjoying yourself, same as I'd expect from you to mine. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 20:29:04 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCC7C16A418 for ; Mon, 17 Dec 2007 20:29:04 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.9]) by mx1.freebsd.org (Postfix) with ESMTP id B3F1613C46B for ; Mon, 17 Dec 2007 20:29:04 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: (qmail 25988 invoked from network); 17 Dec 2007 20:29:03 -0000 Received: from april.chuckr.org (chuckr@[66.92.151.30]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 17 Dec 2007 20:29:02 -0000 Message-ID: <4766DB82.3040804@chuckr.org> Date: Mon, 17 Dec 2007 15:26:42 -0500 From: Chuck Robey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.9) Gecko/20071107 SeaMonkey/1.1.6 MIME-Version: 1.0 To: =?ISO-8859-15?Q?Micha=EBl_Gr=FCnewald?= References: <20071214010542.GA19553@demeter.hydra> <200712132012.32729.mike.jeays@rogers.com> <20071214011614.GA18559@gizmo.acns.msu.edu> <4762D814.6000704@chuckr.org> <86r6hlq1ba.fsf@Llea.celt.neu> In-Reply-To: <86r6hlq1ba.fsf@Llea.celt.neu> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit Cc: Jerry McAllister , Mike Jeays , FreeBSD Questions Subject: Re: Apparently, csh programming is considered harmful. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 20:29:04 -0000 Michaël Grünewald wrote: > Chuck Robey writes: > >> As long as folks don't stop me from running whatever I want, I don't >> care if you use bash, but it really irks me, that most Linux systems >> are broken in that respect: Most of them break badly in random ways, >> if you don't run bash as your shell. > > A friend of mine who worked with debian was once in mood to disinstall > BASH. Quite a trip to hell! (The story is 8 years old now.) From my own experiences merely trying to runit as a user shell, and not de-installing bash, I believe you ... I finally had to give it up as a bad job, and I'm known as a somewhat stubborn person, so that should tell you the level of problems I faced. Linux works only if you make their choices, just like their license. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 20:35:00 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E97C16A421 for ; Mon, 17 Dec 2007 20:35:00 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: from mail2.sea5.speakeasy.net (mail2.sea5.speakeasy.net [69.17.117.4]) by mx1.freebsd.org (Postfix) with ESMTP id E6CC413C45D for ; Mon, 17 Dec 2007 20:34:59 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: (qmail 30918 invoked from network); 17 Dec 2007 20:34:58 -0000 Received: from april.chuckr.org (chuckr@[66.92.151.30]) (envelope-sender ) by mail2.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 17 Dec 2007 20:34:58 -0000 Message-ID: <4766DCE6.6000902@chuckr.org> Date: Mon, 17 Dec 2007 15:32:38 -0500 From: Chuck Robey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.9) Gecko/20071107 SeaMonkey/1.1.6 MIME-Version: 1.0 To: Jurjen Middendorp , FreeBSD Questions References: <20071214010542.GA19553@demeter.hydra> <200712132012.32729.mike.jeays@rogers.com> <20071214211008.GA12935@melon.esperance-linux.co.uk> <20071215021349.GF2062@kobe.laptop> <1197850883.4230.3.camel@tomcat.straycat.dhs.org> <4765EC7E.6050704@chuckr.org> <1197866090.6951.6.camel@tomcat.straycat.dhs.org> <20071217084051.GA1121@s062107.tue.nl> In-Reply-To: <20071217084051.GA1121@s062107.tue.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: pdksh vs. mksh info [was: Re: Apparently, csh programming is considered harmful.] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 20:35:00 -0000 Jurjen Middendorp wrote: >>> If you're familiar with pdksh, are you also familiar with ksh93, which >>> is (I believe) Mr. Korn's own shell? If you are, I would be interessted >>> in your opinion of the two, any comparisons you might give. >> I've never used ksh93 so I really can't say. There is a NOTES file >> included with pdksh which gives a starter. I created this port a few >> years ago because of some random issue I've long since forgotten with >> pdksh on my FreeBSD box which didn't happen on my OpenBSD box. >> >> tom > > I never used pdksh, but am using ksh93 for quite a while now and have used > bash, too. For some reason i like it better than bash, the vi mode is a bit > better somehow, it feels alot sturdier. It doesn't have those special > variables like $! and !! i believe, but it has alot of neat features like > basic network programming, lots of parameter expansion stuff and is just a > very nice shell :) I havre installed it, and played with it a bit, I admit it's nicer than sh (and I *think*, bash) but the reason I haven't tried using it regularly is because I can't find a nicely set up .kshrc ... if you have one, I'd appreciate a copy. Might be nice, if it's not terribly long, to post it to the list, too. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 20:50:59 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85C9B16A41A for ; Mon, 17 Dec 2007 20:50:59 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id 223E813C4E1 for ; Mon, 17 Dec 2007 20:50:59 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.50) id 1J4MvS-0006lV-63 for freebsd-questions@freebsd.org; Mon, 17 Dec 2007 20:50:58 +0000 Received: from esperance.zetnet.co.uk (54-144.adsl.zetnet.co.uk [194.247.54.144]) by zetnet.co.uk (8.14.1/8.14.1/Debian-9) with SMTP id lBHKovNc005036 for ; Mon, 17 Dec 2007 20:50:57 GMT Received: (qmail 29442 invoked by uid 1001); 17 Dec 2007 20:50:52 -0000 From: "Frank Shute" Date: Mon, 17 Dec 2007 20:50:52 +0000 To: Chuck Robey Message-ID: <20071217205052.GA29413@melon.esperance-linux.co.uk> References: <200712141742.30001.cblasius@gmail.com> <4765008E.1000704@freemail.gr> <47658318.8060506@chuckr.org> <20071217054303.GA33846@demeter.hydra> <4766DAD8.3030006@chuckr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4766DAD8.3030006@chuckr.org> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 6.3-RC1 i386 X-Organisation: 'Esperance Linux' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (zetnet.co.uk [194.247.46.1]); Mon, 17 Dec 2007 20:50:58 +0000 (GMT) Cc: FreeBSD Questions Subject: Re: csh programing book X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2007 20:50:59 -0000 On Mon, Dec 17, 2007 at 03:23:52PM -0500, Chuck Robey wrote: > > Chad Perrin wrote: > > > On Sun, Dec 16, 2007 at 02:57:12PM -0500, Chuck Robey wrote: > > > >>Actually, I like ksh better, if you are really going all out for a > >>programming shell, but if you're really after a scripting > >>language, why restrict yourself to shells? things like Python & > >>Ruby knock hell out of both ksh and bash. That's hardly even > >>arguable. Too bad there isn't a good friendly shell-like mode to > >>Python. Ruby would be out there, you couldn't even think about > >>using a OO based tool for a user shell, those things need to be > >>thought out, and that's the antithesis of being a friendly shell. > > > >Considering I use Ruby's interactive interpreter, irb, all the time -- I > >don't really agree that you couldn't make a good user shell from Ruby. A > >couple of tweaks in the way irb works would make for one of the best user > >shells I'd ever seen. All that's missing is an easier way to execute > >external programs, as far as I can tell. > > > > Well, I was only giving my personal opinion. I've never used irb, but > it seems to me that using any sort of OO tool as a shell would be "cruel > and unusual", but I guess it takes all kinds, and I certainly wouldn't > prevent you from enjoying yourself, same as I'd expect from you to mine. Aren't MS developing an OO shell? Called Monad (although it wouldn't surprise me if they haven't changed the name). I suppose we should expect something "cruel & unusual" from them ;) Anybody used Vista's Explorer? That's damned cruel, damned unusual and not remotely funny. Regards, -- Frank Contact info: http://www.esperance-linux.co.uk/misc/contact.html From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 21:06:11 2007 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8440A16A417 for ; Mon, 17 Dec 2007 21:06:11 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id 2CCB313C468 for ; Mon, 17 Dec 2007 21:06:11 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id lBHL6AXS081906 for ; Mon, 17 Dec 2007 13:06:10 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id lBHL6Aod081905 for freebsd-questions@FreeBSD.ORG; Mon, 17 Dec 2007 13:06:10 -0800 (PST) (envelope-from kline) Date: Mon, 17 Dec 2007 13:06:10 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20071217210610.GA81881@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 21 of service to the Unix community. Cc: Subject: No audio whatever.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 21:06:11 -0000 I realize this may have no easy answer, but suddenly, after a portupgrade -aP. I have no sound. catting /deev/snstat does tell me that my sound card is there. my volme is set to 100%. Where else shoulf I be looking. gary -- Gary Kline kline@thought.org www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 21:36:51 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6859716A418 for ; Mon, 17 Dec 2007 21:36:51 +0000 (UTC) (envelope-from cjk32@cam.ac.uk) Received: from ppsw-8.csi.cam.ac.uk (ppsw-8.csi.cam.ac.uk [131.111.8.138]) by mx1.freebsd.org (Postfix) with ESMTP id 3E4D513C457 for ; Mon, 17 Dec 2007 21:36:51 +0000 (UTC) (envelope-from cjk32@cam.ac.uk) X-Cam-SpamDetails: Not scanned X-Cam-AntiVirus: No virus found X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from gw.cjkey.org.uk ([88.97.163.222]:2051 helo=[192.168.2.186]) by ppsw-8.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.158]:465) with esmtpsa (PLAIN:cjk32) (TLSv1:DHE-RSA-AES256-SHA:256) id 1J4Mvp-0001YJ-QK (Exim 4.67) for freebsd-questions@freebsd.org (return-path ); Mon, 17 Dec 2007 20:51:21 +0000 Message-ID: <4766E148.5070003@cam.ac.uk> Date: Mon, 17 Dec 2007 20:51:20 +0000 From: Christopher Key User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: PATA on DQ965GF X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 21:36:51 -0000 Hello, I'm trying to add a PATA drive to a machine based upon a DQ965FG motherboard. The BIOS sees the drive quite happily, but FreeBSD sees nothing. I vaguely seem to remember some discussion about trying to set up PATA CD-ROM drive with this board, and I think a kernel patch was proposed, although I can't find any references to it at the moment. I'm running 6.2-RELEASE with a custom kernel, if the configuration file is relevant, please let me know and I'll post it. Any advice gratefully received, Chris Key # uname -a FreeBSD chacal.lan 6.2-RELEASE FreeBSD 6.2-RELEASE #1: Wed Aug 15 11:05:17 BST 2007 root@chacal.lan:/usr/obj/usr/src/sys/CHACAL i386 # dmesg | grep ata atapci0: port 0x1018-0x101f,0x1024-0x1027,0x1010-0x1017,0x1020-0x1023,0x1000-0x100f mem 0x90000000-0x900001ff irq 17 at device 0.0 on pci2 ata2: on atapci0 ata3: on atapci0 atapci1: port 0x2408-0x240f,0x241c-0x241f,0x2400-0x2407,0x2418-0x241b,0x2020-0x203f mem 0x90221000-0x902217ff irq 19 at device 31.2 on pci0 atapci1: AHCI Version 01.10 controller with 6 ports detected ata4: on atapci1 ata5: on atapci1 ata6: on atapci1 ata7: on atapci1 ata8: on atapci1 ata9: on atapci1 ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0 ata1 at port 0x170-0x177,0x376 irq 15 on isa0 ad8: 476940MB at ata4-master SATA300 ad10: 476940MB at ata5-master SATA300 ad12: 476940MB at ata6-master SATA300 ad14: 953869MB at ata7-master SATA300 ad16: 953869MB at ata8-master SATA300 ad18: 953869MB at ata9-master SATA300 From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 21:46:34 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CCEA16A41B for ; Mon, 17 Dec 2007 21:46:34 +0000 (UTC) (envelope-from freebsd@dfwlp.com) Received: from pollux.dfwlp.com (rrcs-64-183-212-244.sw.biz.rr.com [64.183.212.244]) by mx1.freebsd.org (Postfix) with ESMTP id 5C71213C447 for ; Mon, 17 Dec 2007 21:46:34 +0000 (UTC) (envelope-from freebsd@dfwlp.com) Received: from citation.local ([192.168.125.150]) (authenticated bits=0) by pollux.dfwlp.com (8.13.8/8.13.8) with ESMTP id lBHLkML0066120; Mon, 17 Dec 2007 15:46:23 -0600 (CST) (envelope-from freebsd@dfwlp.com) Message-ID: <4766EE2E.3020409@dfwlp.com> Date: Mon, 17 Dec 2007 15:46:22 -0600 From: Jonathan Horne User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Gary Kline , freebsd-questions@freebsd.org References: <20071217210610.GA81881@thought.org> In-Reply-To: <20071217210610.GA81881@thought.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.3 required=3.6 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on pollux.dfwlp.com Cc: Subject: Re: No audio whatever.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 21:46:34 -0000 Gary Kline wrote: > I realize this may have no easy answer, but suddenly, > after a portupgrade -aP. I have no sound. catting > /deev/snstat does tell me that my sound card is there. > my volme is set to 100%. Where else shoulf I be > looking. > > gary > > speaking of catting.... ive had to on more than one occasion, make sure that my cat didnt bite thru my audio wire. -- Jonathan Horne http://dfwlpiki.dfwlp.org freebsd@dfwlp.com From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 21:51:11 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3024F16A418 for ; Mon, 17 Dec 2007 21:51:11 +0000 (UTC) (envelope-from ml@netfence.it) Received: from parrot.aev.net (parrot.aev.net [212.31.247.179]) by mx1.freebsd.org (Postfix) with ESMTP id 7D52B13C458 for ; Mon, 17 Dec 2007 21:51:10 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.ventu ([151.77.240.163]) (authenticated bits=128) by parrot.aev.net (8.14.2/8.13.8) with ESMTP id lBHLqcCj071392 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Mon, 17 Dec 2007 22:52:44 +0100 (CET) (envelope-from ml@netfence.it) Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.2/8.13.8) with ESMTP id lBHLqC3L074616; Mon, 17 Dec 2007 22:52:13 +0100 (CET) (envelope-from ml@netfence.it) Message-ID: <4766EF3D.6030807@netfence.it> Date: Mon, 17 Dec 2007 22:50:53 +0100 From: Andrea Venturoli User-Agent: Thunderbird 2.0.0.9 (X11/20071116) MIME-Version: 1.0 To: Cristian KLEIN , freebsd-questions@freebsd.org References: <47469D3F.1070207@netfence.it> <474AA3E4.7020807@net.utcluj.ro> In-Reply-To: <474AA3E4.7020807@net.utcluj.ro> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.63 on 212.31.247.179 Cc: Subject: Re: portaudit in periodic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 21:51:11 -0000 Cristian KLEIN ha scritto: > I used to have problem with cron scripts, because cron uses another PATH then > what the script gets if it's run from the shell. Could you try the following > (assuming sh): > > export SHELL=/bin/sh > export PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin > export HOME=/var/log > periodic daily > > Sorry if I reply this late: I tried something similar in crontab and let it test for a while, but nothing changed. I'm really out of ideas here. :-( bye & Thanks av. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 21:51:26 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4E7616A496 for ; Mon, 17 Dec 2007 21:51:26 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.226]) by mx1.freebsd.org (Postfix) with ESMTP id 372AD13C442 for ; Mon, 17 Dec 2007 21:51:25 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: by wr-out-0506.google.com with SMTP id 68so1386149wra.13 for ; Mon, 17 Dec 2007 13:51:25 -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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=2CAzq0papeFTYS3Ahz0ITQLWcpeypbxf3BwZYbCwq2U=; b=E+JiLBeTx2dAw3G71yP0T52UwWXhLN6j0nByC7wZyat+NvMxtHWMK9imgU9nBGLIG9l2mXdU4yZtJwR4S903bWU1p8zGuB1eL87O4d1r+ItrGLTujPrR6xPHDDiWyQ+oY4sVoBJdALu7jHYOv5Li9eObeVZ39PAQRI+gGn8TgNo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tKcKclt5hVpVOPA60OKOkr/ESHasugKSrHpE0XovlDO1Ck5HPn0Xdlqv7Zpf/D7Gk+tmcmoYKSnupQ4u1Q8Cog1ncPqzVW5xxbCOvKwrE5HQtZfWe61b655ZFijOcySLDPJc005EbXG2NTsVLapS+qmVb4cw7ssjPI4HCTjh9pI= Received: by 10.142.98.18 with SMTP id v18mr1728020wfb.61.1197928284398; Mon, 17 Dec 2007 13:51:24 -0800 (PST) Received: by 10.142.87.9 with HTTP; Mon, 17 Dec 2007 13:51:24 -0800 (PST) Message-ID: Date: Mon, 17 Dec 2007 13:51:24 -0800 From: "Kurt Buff" To: "Frank Shute" In-Reply-To: <20071217205052.GA29413@melon.esperance-linux.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200712141742.30001.cblasius@gmail.com> <4765008E.1000704@freemail.gr> <47658318.8060506@chuckr.org> <20071217054303.GA33846@demeter.hydra> <4766DAD8.3030006@chuckr.org> <20071217205052.GA29413@melon.esperance-linux.co.uk> Cc: Chuck Robey , FreeBSD Questions Subject: Re: csh programing book X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 21:51:26 -0000 On Dec 17, 2007 12:50 PM, Frank Shute wrote: > Aren't MS developing an OO shell? Called Monad (although it wouldn't > surprise me if they haven't changed the name). > > I suppose we should expect something "cruel & unusual" from them ;) > > Anybody used Vista's Explorer? That's damned cruel, damned unusual and > not remotely funny. Haven't used Vista, but the shell you're referring to is called PowerShell. Change the capitalisation a bit for some humor... From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 21:55:53 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F046916A418 for ; Mon, 17 Dec 2007 21:55:53 +0000 (UTC) (envelope-from peter.schuller@infidyne.com) Received: from smtp.infidyne.com (ds9.infidyne.com [88.80.6.206]) by mx1.freebsd.org (Postfix) with ESMTP id 6E84413C45A for ; Mon, 17 Dec 2007 21:55:52 +0000 (UTC) (envelope-from peter.schuller@infidyne.com) Received: from c-8216e555.03-51-73746f3.cust.bredbandsbolaget.se (c-8216e555.03-51-73746f3.cust.bredbandsbolaget.se [85.229.22.130]) by smtp.infidyne.com (Postfix) with ESMTP id 0669376B45; Mon, 17 Dec 2007 22:55:51 +0100 (CET) From: Peter Schuller To: freebsd-questions@freebsd.org Date: Mon, 17 Dec 2007 22:55:36 +0100 User-Agent: KMail/1.9.7 References: <200712141742.30001.cblasius@gmail.com> <20071217054303.GA33846@demeter.hydra> <4766DAD8.3030006@chuckr.org> In-Reply-To: <4766DAD8.3030006@chuckr.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2471289.iqSRJAxXQW"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200712172255.49706.peter.schuller@infidyne.com> Cc: Chuck Robey Subject: Re: csh programing book X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 21:55:54 -0000 --nextPart2471289.iqSRJAxXQW Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline > Well, I was only giving my personal opinion. I've never used irb, but > it seems to me that using any sort of OO tool as a shell would be "cruel > and unusual", but I guess it takes all kinds, and I certainly wouldn't > prevent you from enjoying yourself, same as I'd expect from you to mine. The "OO" nature of it really really does not come into play here as far as = I=20 can tell. Whatever you can imagine with perl/python/your-favorite-language = is=20 very likely as much possible, if not more so, with Ruby. Certainly if writing something elaborate it comes into play, but then we ar= e=20 away from the shell aspect of the discussion. Doing: system "myfile" does not become any more obnoxious just because "myfile" happens to be an=20 object in a well-defined class-based object system. Nor does the function=20 definition: def myfun(param) ... end Become obnoxious just because Ruby happens to be OO, for some definition of= =20 OO. My main concern is syntax. I would love to have a shell based on Ruby, Lisp= ,=20 or some other powerful language (anything that at least allows functions to= =20 return values other than status codes... please). But I have yet to find on= e=20 that makes it maximally simple and efficient to do the common stuff that yo= u=20 use interactively - which is to run external processes. scsh (Scheme Shell) comes pretty close; I have no objection to using it for= =20 shell *scripting*. Neither might Ruby be an issue with sufficient API=20 support. But I am not sure about using it interactively. When interactive, you don't= =20 want to type even a single annoying character more than you have to. Or at= =20 least I don't. That said, scsh might be possible to tweak sufficiently. It actually manage= s=20 to combine the power of Lisp with the convenience of shell scripting pretty= =20 well (as always, by using macros). So you have pretty low-overhead syntax=20 like. For example, instead of: more myfile You have: (run (more myfile)) If you imagine an interactive mode where a top-level (run (...)) would be=20 implied (under certain circumstances), you could make that be exactly=20 equivalent to the normal shell version: more myfile This is true even with parameters; the macros are such that you need not=20 explicitly make them strings (so "(run (ls -l /))" is valid for example). I especially like the integration as soon as you want to do something sligh= tly=20 intelligent. E.g.: (run/strings (mystuff --list-something /path/to/db)) Yields an actual list of strings (one per line) that you can touch, pet and= =20 otherwise have your way with even if you want to do something other than=20 piping it to the next process. Not to mention having higher order functions at your fingertips... In short, I would just love to have a single language for both tasks, not=20 having to "switch" from one to the other after some threshold of script=20 complexity. Unfortunately scsh has some issues (e.g., freebsd port is marke= d=20 as broken om amd64 right now), so I dunno about counting on it being=20 available everywhere. =2D-=20 / Peter Schuller PGP userID: 0xE9758B7D or 'Peter Schuller ' Key retrieval: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org --nextPart2471289.iqSRJAxXQW Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBHZvBlDNor2+l1i30RAqP+AJ9ziIdSW4DLWwrVrVGbTJLces8hlgCfRchM EDNHLEIDZa70AXYrFNzlV0Q= =cX3j -----END PGP SIGNATURE----- --nextPart2471289.iqSRJAxXQW-- From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 22:27:49 2007 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 9DB4316A41A for ; Mon, 17 Dec 2007 22:27:49 +0000 (UTC) (envelope-from salvador_d13@yahoo.com.ph) Received: from n6.bullet.mail.mud.yahoo.com (n6.bullet.mail.mud.yahoo.com [216.252.100.62]) by mx1.freebsd.org (Postfix) with SMTP id 6AE2913C46E for ; Mon, 17 Dec 2007 22:27:49 +0000 (UTC) (envelope-from salvador_d13@yahoo.com.ph) Received: from [209.191.108.97] by n6.bullet.mud.yahoo.com with NNFMP; 17 Dec 2007 22:14:34 -0000 Received: from [68.142.237.90] by t4.bullet.mud.yahoo.com with NNFMP; 17 Dec 2007 22:14:34 -0000 Received: from [66.196.97.153] by t6.bullet.re3.yahoo.com with NNFMP; 17 Dec 2007 22:14:34 -0000 Received: from [127.0.0.1] by omp206.mail.re3.yahoo.com with NNFMP; 17 Dec 2007 22:14:34 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 9280.24110.bm@omp206.mail.re3.yahoo.com Received: (qmail 98999 invoked by uid 60001); 17 Dec 2007 22:14:33 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.ph; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=yYbs5def4exvcJ3wQZM8sdWxxBnBW4tNFRx+9/p/+zG6vJIZDZBZWyMgcE2+zZ2tieV4exkUTTC54VJxhlIToz0+CFhh94YyPP7wfBRi7wCABPqHgZhnSHzVdNB697v+R9NS6dZsIOmIy+ijOWZdyprYlX4puRGpAQl7v5j5gew=; X-YMail-OSG: NobWIooVM1nf.HX9_H.aDvgFAak.GXuT2h3_.C3ZUjkiWdtOyOR2D_BZomBtIAZ488XLGFmhNLNNY3NM61cpBfkAycDtypzN0E7edezd9uqptcmB4Xdukw-- Received: from [58.71.34.138] by web57411.mail.re1.yahoo.com via HTTP; Mon, 17 Dec 2007 14:14:33 PST Date: Mon, 17 Dec 2007 14:14:33 -0800 (PST) From: Diego Salvador To: questions@freebsd.org MIME-Version: 1.0 Message-ID: <812439.97245.qm@web57411.mail.re1.yahoo.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Regarding Advanced Networking Technologies in FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2007 22:27:49 -0000 To Whom It May Concerned: Hello and good day! What will be the status of the advanced networking technologies in FreeBSD such as mobile IPv6 (MIP6) and network mobility (NEMO)? Since then KAME snap kit will be discontinued for FreeBSD and OpenBSD development at the moment and only NetBSD will be currently developed, as soon as it gets stabled, FreeBSD will come after? More details on this paper http://2007.asiabsdcon.org/papers/P10-paper.pdf. Thanks, Diego Salvador --------------------------------- Tired of spam? Yahoo! Mail has the best spam protection around http://ph.mail.yahoo.com From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 22:47:05 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63A3D16A419 for ; Mon, 17 Dec 2007 22:47:05 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id 1A5B013C45D for ; Mon, 17 Dec 2007 22:47:03 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id lBHMkrAA082871; Mon, 17 Dec 2007 14:46:53 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id lBHMkq7u082870; Mon, 17 Dec 2007 14:46:52 -0800 (PST) (envelope-from kline) Date: Mon, 17 Dec 2007 14:46:51 -0800 From: Gary Kline To: Jonathan Horne Message-ID: <20071217224651.GA82840@thought.org> References: <20071217210610.GA81881@thought.org> <4766EE2E.3020409@dfwlp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4766EE2E.3020409@dfwlp.com> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 21 of service to the Unix community. Cc: Gary Kline , freebsd-questions@freebsd.org Subject: Re: No audio whatever.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 22:47:05 -0000 On Mon, Dec 17, 2007 at 03:46:22PM -0600, Jonathan Horne wrote: > Gary Kline wrote: > > I realize this may have no easy answer, but suddenly, > > after a portupgrade -aP. I have no sound. catting > > /deev/snstat does tell me that my sound card is there. > > my volme is set to 100%. Where else shoulf I be > > looking. > > > > gary > > > > > > speaking of catting.... > > ive had to on more than one occasion, make sure that my cat didnt bite > thru my audio wire. hm. I even checked my speakers aad tried my test KDE acount. NADA. The only glimmer is that, as root, he tiny system BEL does sound. ideas? let me know! -- Gary Kline kline@thought.org www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 23:41:37 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D45416A41B for ; Mon, 17 Dec 2007 23:41:37 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr15.xs4all.nl (smtp-vbr15.xs4all.nl [194.109.24.35]) by mx1.freebsd.org (Postfix) with ESMTP id 2685513C467 for ; Mon, 17 Dec 2007 23:41:36 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr15.xs4all.nl (8.13.8/8.13.8) with ESMTP id lBHNfZs4091319; Tue, 18 Dec 2007 00:41:35 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id EDB46B827; Tue, 18 Dec 2007 00:41:34 +0100 (CET) Date: Tue, 18 Dec 2007 00:41:34 +0100 From: Roland Smith To: Gary Kline Message-ID: <20071217234134.GA93551@slackbox.xs4all.nl> Mail-Followup-To: Gary Kline , FreeBSD Mailing List References: <20071217210610.GA81881@thought.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IJpNTDwzlM2Ie8A6" Content-Disposition: inline In-Reply-To: <20071217210610.GA81881@thought.org> 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.17 (2007-11-01) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD Mailing List Subject: Re: No audio whatever.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2007 23:41:37 -0000 --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 17, 2007 at 01:06:10PM -0800, Gary Kline wrote: >=20 > I realize this may have no easy answer, but suddenly, > after a portupgrade -aP. I have no sound. catting > /deev/snstat does tell me that my sound card is there. > my volme is set to 100%. Where else shoulf I be > looking. See if the sound server is running. KDE uses aRts, gnome uses esd, IIRC. 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) --IJpNTDwzlM2Ie8A6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHZwkuEnfvsMMhpyURAqqsAJ9gjNFvWM7YjHHWYruS+SXcJhw3KQCfX4Zs kWfkjP/rM7+SH7yW/SrU9hs= =4DtQ -----END PGP SIGNATURE----- --IJpNTDwzlM2Ie8A6-- From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 00:46:31 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0984E16A41A for ; Tue, 18 Dec 2007 00:46:31 +0000 (UTC) (envelope-from cristi@net.utcluj.ro) Received: from bavaria.utcluj.ro (unknown [IPv6:2001:b30:5000:2:20e:cff:fe4b:ca01]) by mx1.freebsd.org (Postfix) with ESMTP id 7EB2D13C455 for ; Tue, 18 Dec 2007 00:46:30 +0000 (UTC) (envelope-from cristi@net.utcluj.ro) Received: from localhost (localhost [127.0.0.1]) by bavaria.utcluj.ro (Postfix) with ESMTP id 0FF86508AD; Tue, 18 Dec 2007 02:46:29 +0200 (EET) X-Virus-Scanned: by the daemon playing with your mail on local.mail.utcluj.ro Received: from bavaria.utcluj.ro ([127.0.0.1]) by localhost (bavaria.utcluj.ro [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QYXvJNYmTOIa; Tue, 18 Dec 2007 02:46:22 +0200 (EET) Received: from [172.27.2.200] (c7.campus.utcluj.ro [193.226.6.226]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: cristiklein) by bavaria.utcluj.ro (Postfix) with ESMTP id B3148508BC; Tue, 18 Dec 2007 02:46:22 +0200 (EET) Message-ID: <4767185D.6040007@net.utcluj.ro> Date: Tue, 18 Dec 2007 02:46:21 +0200 From: Cristian KLEIN User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: Andrea Venturoli References: <47469D3F.1070207@netfence.it> <474AA3E4.7020807@net.utcluj.ro> <4766EF3D.6030807@netfence.it> In-Reply-To: <4766EF3D.6030807@netfence.it> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: portaudit in periodic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2007 00:46:31 -0000 Andrea Venturoli wrote: > Cristian KLEIN ha scritto: > >> I used to have problem with cron scripts, because cron uses another >> PATH then >> what the script gets if it's run from the shell. Could you try the >> following >> (assuming sh): >> >> export SHELL=/bin/sh >> export PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin >> export HOME=/var/log >> periodic daily >> >> > > Sorry if I reply this late: I tried something similar in crontab and let > it test for a while, but nothing changed. > I'm really out of ideas here. :-( But have you tried running these commands from the shell? It is very important to check the scripts with the above SHELL & PATH environment. If the above works from the shell, I'm pretty much out of ideas too. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 00:55:03 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C99616A418 for ; Tue, 18 Dec 2007 00:55:03 +0000 (UTC) (envelope-from freysman@comcast.net) Received: from comcast-smtp-01.tampflrdc.rr.com (comcast-smtp-01.tampflrdc.rr.com [65.32.5.158]) by mx1.freebsd.org (Postfix) with ESMTP id 527C013C44B for ; Tue, 18 Dec 2007 00:55:03 +0000 (UTC) (envelope-from freysman@comcast.net) Received: from [192.168.1.105] (c-98-199-18-87.hsd1.tx.comcast.net [98.199.18.87]) by comcast-smtp-01.tampflrdc.rr.com (8.13.6/8.13.6) with ESMTP id lBI0t1OL023961 for ; Mon, 17 Dec 2007 19:55:01 -0500 (EST) From: David J Brooks Organization: KC5WNK To: freebsd-questions@freebsd.org Date: Mon, 17 Dec 2007 18:54:59 -0600 User-Agent: KMail/1.9.7 References: <20071217210610.GA81881@thought.org> <4766EE2E.3020409@dfwlp.com> In-Reply-To: <4766EE2E.3020409@dfwlp.com> X-Face: +\{75whsIB]=i--WqkV^U>!y`<~%(FUd, DQs, &e1yLt==9%It?7#?n>%Splqb, =?utf-8?q?=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=0A=09lDIEu=25W?= =?utf-8?q?sB7o+6k2n=606Q5Fl?=, vJei{$-.KlHPHu/.~VuE=C[}lQmL}>V1t\yTn2iTwCfM`% MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712171854.59658.freysman@comcast.net> X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: Re: No audio whatever.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2007 00:55:03 -0000 On Monday 17 December 2007 03:46:22 pm Jonathan Horne wrote: > speaking of catting.... > > ive had to on more than one occasion, make sure that my cat didnt bite > thru my audio wire. Heh.. thanks for the tip. That explains why I lost all audio on the right channel. Sure enough, kitten-sized teeth-marks and a severed wire. David -- This message is not based on the novel by James Fenimore Cooper. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 01:46:43 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3186616A417 for ; Tue, 18 Dec 2007 01:46:43 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id D81C813C465 for ; Tue, 18 Dec 2007 01:46:42 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id lBI1kfuD084661 for ; Mon, 17 Dec 2007 17:46:42 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id lBI12ALf084495; Mon, 17 Dec 2007 17:02:10 -0800 (PST) (envelope-from kline) Date: Mon, 17 Dec 2007 17:02:10 -0800 From: Gary Kline To: Gary Kline , FreeBSD Mailing List Message-ID: <20071218010210.GA84424@thought.org> References: <20071217210610.GA81881@thought.org> <20071217234134.GA93551@slackbox.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071217234134.GA93551@slackbox.xs4all.nl> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 21 of service to the Unix community. Cc: Subject: Re: No audio whatever.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2007 01:46:43 -0000 On Tue, Dec 18, 2007 at 12:41:34AM +0100, Roland Smith wrote: > On Mon, Dec 17, 2007 at 01:06:10PM -0800, Gary Kline wrote: > > > > I realize this may have no easy answer, but suddenly, > > after a portupgrade -aP. I have no sound. catting > > /deev/snstat does tell me that my sound card is there. > > my volme is set to 100%. Where else shoulf I be > > looking. > > See if the sound server is running. KDE uses aRts, gnome uses esd, IIRC. Yes, the arts daemon is running and the esd isn't. Logged in as Gnomee,, no sound, tho. Is there something that will tell me why pcm0 is giving me these strange "overruns", "interrupts" and so forth? To the entire list: be very careful about upgrading right now. .... gary > > Roland > -- > 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) -- Gary Kline kline@thought.org www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 03:02:02 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C771816A417 for ; Tue, 18 Dec 2007 03:02:02 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by mx1.freebsd.org (Postfix) with ESMTP id 61FD713C458 for ; Tue, 18 Dec 2007 03:02:02 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so4362464pyb.3 for ; Mon, 17 Dec 2007 19:02:00 -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:content-transfer-encoding:cc:from:subject:date:to:x-mailer; bh=dYsO+SYvGeuIjTT5UQonRL9qi539TVaYVRG1U9qBzVA=; b=EEqLzvzK/Ar9ttl4sPjeiI7dRYsQ6v56BLIraMErHzv329JEHHIKImMUcJulhQwQXu0SjLkMphfIWd8q8vXAsYxf18HAf22Dll2d58XWSb8cO6MedLrHsU9jgzwcLsAn2Mvph/YVUVDE7TcB/JxFO7i3qwdYpPxTtfbmdOVO3q8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:content-type:message-id:content-transfer-encoding:cc:from:subject:date:to:x-mailer; b=d7bYkFK2dvwmfYi+U3m5dfiHAvEgZylrG5HZ+1fjaF3qk0+7V/TG4I91NXkefhQCfxGMFf8so3vwJ2rT3tks8mZ0HpMANuyJZCTM9rY8aQ72VPOtN9mVO25J/s/lfWx1LFN9cWe4n/Loz33ikb77RgIbEzHQ6I05jqelUSI4Qyw= Received: by 10.35.42.18 with SMTP id u18mr3000074pyj.58.1197946919510; Mon, 17 Dec 2007 19:01:59 -0800 (PST) Received: from ?192.168.1.7? ( [74.134.230.123]) by mx.google.com with ESMTPS id z52sm18968186pyg.2007.12.17.19.01.57 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 17 Dec 2007 19:01:57 -0800 (PST) In-Reply-To: <20071218010210.GA84424@thought.org> References: <20071217210610.GA81881@thought.org> <20071217234134.GA93551@slackbox.xs4all.nl> <20071218010210.GA84424@thought.org> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <5c5ffddc77b36ab1ce9603b513392085@gmail.com> Content-Transfer-Encoding: 7bit From: Joshua Isom Date: Mon, 17 Dec 2007 21:02:32 -0600 To: Gary Kline X-Mailer: Apple Mail (2.624) Cc: FreeBSD Mailing List Subject: Re: No audio whatever.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2007 03:02:02 -0000 On Dec 17, 2007, at 7:02 PM, Gary Kline wrote: > On Tue, Dec 18, 2007 at 12:41:34AM +0100, Roland Smith wrote: >> On Mon, Dec 17, 2007 at 01:06:10PM -0800, Gary Kline wrote: >>> >>> I realize this may have no easy answer, but suddenly, >>> after a portupgrade -aP. I have no sound. catting >>> /deev/snstat does tell me that my sound card is there. >>> my volme is set to 100%. Where else shoulf I be >>> looking. >> >> See if the sound server is running. KDE uses aRts, gnome uses esd, >> IIRC. > > > Yes, the arts daemon is running and the esd isn't. Logged in as > Gnomee,, no sound, tho. Is there something that will tell me > why pcm0 is giving me these strange "overruns", "interrupts" > and so forth? > > To the entire list: be very careful about upgrading right now. > .... > > gary > > What about using cdcontrol to play a cd? If your cd-rom drive's hooked up to the audio port on your motherboard, it should skip anything in FreeBSD and go from hardware to speakers. It might help track down the problem. Also, did you upgrade OSS? OSS uses /usr/src so if you've also done a csup of /usr/src that doesn't match what's installed it's possible you got something screwy to happen. Oh, if you get BEL, you're better off than me for that. I get all of my sound to work except for BEL! From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 03:57:21 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44AA116A417 for ; Tue, 18 Dec 2007 03:57:21 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by mx1.freebsd.org (Postfix) with ESMTP id 29CF213C467 for ; Tue, 18 Dec 2007 03:57:21 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so3921844waf.3 for ; Mon, 17 Dec 2007 19:57:20 -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:mime-version:content-type; bh=OX0qpd4eJECAgGbiF+4lhUxQSg/Imnrg7klEvEnCMc8=; b=IZMxqh6b0Xj5L+MVX+cdyzfmU05ADOAOBe5qMI3yt6xSz9m3doK61ZOffiendvEzWRQoVzKL8mKfmC6ZpW++YnEvTnlhLkkVviADBWgm/aODZRyNX3XiiZ6qfE3trWu5jVtAWgGZf3wBr9l/vecP2Rfw7KRWlXogxYulYlEirIo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=sIu9ON0p3AvuJMJXvq28pmDjQRsWp/ymRPedHTYVNfd2S2Fr8WekZOczCDAwiq+v4IEDguBmhAyfauxKJA0qmXAB67Lm19DvbJMkXbWaMrhkzUZFqyVM/oD2sM7IJKOyF58oY5qqdwjv0B8JfGdlKwrBotgcfNbWFhpxuaiGShw= Received: by 10.114.178.1 with SMTP id a1mr39775waf.135.1197950240626; Mon, 17 Dec 2007 19:57:20 -0800 (PST) Received: by 10.114.167.7 with HTTP; Mon, 17 Dec 2007 19:57:20 -0800 (PST) Message-ID: <340a29540712171957l7b3e426fh9f35051a7bc6d48e@mail.gmail.com> Date: Mon, 17 Dec 2007 20:57:20 -0700 From: "Andrew Falanga" To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: SSH through port forwarding X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2007 03:57:21 -0000 Hi, I'm having a difficult time working with my father to get the port forwarding working on his Linksys router to forward SSH requests to his FreeBSD machine at home. As near as we can figure, it's setup correctly. In case anyone here uses this router it is WRT54G and details (including a users manual) can be found at, http://www.linksys.com/servlet/Satellite?c=L_Product_C2&childpagename=US%2FLayout&pagename=Linksys%2FCommon%2FVisitorWrapper&cid=1149562300349. Now, I'm in Idaho and he's in NY (which does make things difficult). Is there any special tricks to setting up port forwarding for SSH? Probably should have checked this first, but I'm going to go look on the handbook too, just to see. Andy -- A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 04:06:25 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E28B16A419 for ; Tue, 18 Dec 2007 04:06:25 +0000 (UTC) (envelope-from bill@ayn.mi.celestial.com) Received: from ayn.mi.celestial.com (hayek.celestial.com [192.136.111.12]) by mx1.freebsd.org (Postfix) with ESMTP id 69FDD13C44B for ; Tue, 18 Dec 2007 04:06:25 +0000 (UTC) (envelope-from bill@ayn.mi.celestial.com) Received: from localhost (localhost [127.0.0.1]) by ayn.mi.celestial.com (Postfix) with ESMTP id 71B156860084D; Mon, 17 Dec 2007 20:08:02 -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 7S24ABtsQLG5; Mon, 17 Dec 2007 20:08:02 -0800 (PST) Received: by ayn.mi.celestial.com (Postfix, from userid 203) id 4FE0468600662; Mon, 17 Dec 2007 20:08:02 -0800 (PST) Date: Mon, 17 Dec 2007 20:08:02 -0800 From: Bill Campbell To: freebsd-questions@freebsd.org Message-ID: <20071218040802.GB6678@ayn.mi.celestial.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <340a29540712171957l7b3e426fh9f35051a7bc6d48e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <340a29540712171957l7b3e426fh9f35051a7bc6d48e@mail.gmail.com> User-Agent: Mutt/1.5.11 OpenPKG/2.5 Subject: Re: SSH through port forwarding 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, 18 Dec 2007 04:06:25 -0000 On Mon, Dec 17, 2007, Andrew Falanga wrote: >Hi, > >I'm having a difficult time working with my father to get the port >forwarding working on his Linksys router to forward SSH requests to his >FreeBSD machine at home. As near as we can figure, it's setup correctly. >In case anyone here uses this router it is WRT54G and details (including a >users manual) can be found at, >http://www.linksys.com/servlet/Satellite?c=L_Product_C2&childpagename=US%2FLayout&pagename=Linksys%2FCommon%2FVisitorWrapper&cid=1149562300349. > >Now, I'm in Idaho and he's in NY (which does make things difficult). Is >there any special tricks to setting up port forwarding for SSH? Probably >should have checked this first, but I'm going to go look on the handbook >too, just to see. It should Just Work(tm). I don't have one of those handy, but port forwarding is generally under the Advanced tab Linksys routers. It may be called Games or something like that. Forward port 22, ssh, to the internal IP and save the settings. Generally one should have a fixed internal IP for forwarding as DHCP assigned IP addresses may change. Bill -- INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 there is nothing more difficult to take in hand, more perilous to conduct, or more uncertain in its success, than to take the lead in the introduction of a new order of things. Because the innovator has for enemies all those who have done well under the old conditions, and lukewarm defenders in those who may do well under the new. -- Machiavelli From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 04:19:31 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37BD316A418 for ; Tue, 18 Dec 2007 04:19:31 +0000 (UTC) (envelope-from tmclaugh@sdf.lonestar.org) Received: from straycat.dhs.org (c-24-60-173-77.hsd1.ma.comcast.net [24.60.173.77]) by mx1.freebsd.org (Postfix) with ESMTP id A0E8413C459 for ; Tue, 18 Dec 2007 04:19:30 +0000 (UTC) (envelope-from tmclaugh@sdf.lonestar.org) Received: from [192.168.1.118] (tomcat.straycat.dhs.org [192.168.1.118]) by straycat.dhs.org (8.14.1/8.14.1) with ESMTP id lBI4JPS2027159; Mon, 17 Dec 2007 23:19:25 -0500 (EST) From: Tom McLaughlin To: Frank Shute In-Reply-To: <20071217193812.GB29097@melon.esperance-linux.co.uk> References: <20071214010542.GA19553@demeter.hydra> <200712132012.32729.mike.jeays@rogers.com> <20071214211008.GA12935@melon.esperance-linux.co.uk> <20071215021349.GF2062@kobe.laptop> <1197850883.4230.3.camel@tomcat.straycat.dhs.org> <20071217193812.GB29097@melon.esperance-linux.co.uk> Content-Type: text/plain Date: Mon, 17 Dec 2007 23:19:24 -0500 Message-Id: <1197951564.22313.9.camel@tomcat.straycat.dhs.org> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 (2.10.3-4.fc7) Content-Transfer-Encoding: 7bit Cc: Giorgos Keramidas , FreeBSD Questions Subject: Re: pdksh vs. mksh info [was: Re: Apparently, csh programming is considered harmful.] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2007 04:19:31 -0000 On Mon, 2007-12-17 at 19:38 +0000, Frank Shute wrote: > On Sun, Dec 16, 2007 at 07:21:23PM -0500, Tom McLaughlin wrote: > > > > On Sat, 2007-12-15 at 04:13 +0200, Giorgos Keramidas wrote: > > > > > > Hi Frank, > > > > > > Now that you mention pdksh, have you tried mksh (in Ports too)? > > > > > > I've installed it and successfully run moderately large ksh scripts > > > (like the webrev(1) utility of OpenSolaris), and it is about an order of > > > magnitude smaller than pdksh here: > > > > > > % keramida@kobe:/usr/local/bin$ ls -ld mksh bash ksh > > > % -rwxr-xr-x 1 root wheel - 684699 Dec 9 19:51 bash > > > % -r-xr-xr-x 1 root wheel - 2390645 Aug 31 17:07 ksh > > > % -r-xr-xr-x 1 root wheel - 236202 Dec 9 18:34 mksh > > > % keramida@kobe:/usr/local/bin$ ldd mksh bash ksh > > > % mksh: > > > % libc.so.7 => /lib/libc.so.7 (0x280ae000) > > > % bash: > > > % libncurses.so.7 => /lib/libncurses.so.7 (0x28101000) > > > % libintl.so.8 => /usr/local/lib/libintl.so.8 (0x28144000) > > > % libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28156000) > > > % libc.so.7 => /lib/libc.so.7 (0x2824b000) > > > % ldd: ksh: not a dynamic executable > > > % keramida@kobe:/usr/local/bin$ > > > > > > > I've maintained a port of OpenBSD's pdksh for some time but I've never > > committed it. Think of pdksh but still actively maintained. > > > > http://people.freebsd.org/~tmclaugh/files/openksh/openksh-4.2.shar > > > > [tom@releng-7-fbsd tom]$ ls -al /usr/local/bin/ksh > > -r-xr-xr-x 1 root wheel 192032 Dec 16 18:22 /usr/local/bin/ksh* > > > > tom > > I always assumed that the pdksh in ports had the OpenBSD patches in > it. > > I've downloaded the shell archive and I'll build it. > > Any chance that you will commit this in the future? I'd almost > certainly use it. > > Thanks for your work & time, it's much appreciated! > > Regards, > Its always been a personal use thing but I'll look at adding it. I already checked on the name over on an OpenBSD list and no one cared. If anyone wants to autoconf it that would be really sweet. There's a patch version that works on Linux but both that release and this one require bmake. tom -- | tmclaugh at sdf.lonestar.org tmclaugh at FreeBSD.org | | FreeBSD http://www.FreeBSD.org | From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 05:04:07 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6799516A469 for ; Tue, 18 Dec 2007 05:04:07 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-53.bluehost.com (outbound-mail-53.bluehost.com [69.89.20.33]) by mx1.freebsd.org (Postfix) with SMTP id 303EA13C465 for ; Tue, 18 Dec 2007 05:04:07 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: (qmail 15135 invoked by uid 0); 18 Dec 2007 05:04:06 -0000 Received: from unknown (HELO box183.bluehost.com) (69.89.25.183) by mailproxy3.bluehost.com with SMTP; 18 Dec 2007 05:04:06 -0000 Received: from c-24-9-123-251.hsd1.co.comcast.net ([24.9.123.251] helo=demeter.hydra) by box183.bluehost.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1J4Ucg-0004mm-JQ for freebsd-questions@freebsd.org; Mon, 17 Dec 2007 22:04:06 -0700 Received: from demeter.hydra (localhost [127.0.0.1]) by demeter.hydra (8.13.6/8.13.6) with ESMTP id lBI544We041144 for ; Mon, 17 Dec 2007 22:04:04 -0700 (MST) (envelope-from perrin@apotheon.com) Received: (from ren@localhost) by demeter.hydra (8.13.6/8.13.6/Submit) id lBI544Yn041143 for freebsd-questions@freebsd.org; Mon, 17 Dec 2007 22:04:04 -0700 (MST) (envelope-from perrin@apotheon.com) X-Authentication-Warning: demeter.hydra: ren set sender to perrin@apotheon.com using -f Date: Mon, 17 Dec 2007 22:04:03 -0700 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20071218050403.GA41080@demeter.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <20071217063559.GB33846@demeter.hydra> 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-Identified-User: {737:box183.bluehost.com:apotheon:apotheon.net} {sentby:bopbeforesmtp 24.9.123.251 authed with apotheon.com} Subject: Re: common filesystem for Linux and FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2007 05:04:07 -0000 On Mon, Dec 17, 2007 at 10:39:31AM +0100, Ivan Voras wrote: > Chad Perrin wrote: > > > That being the case, there is some data I would like to keep available to > > both FreeBSD and Linux systems, in stable read/write access with > > reasonably high access performance for both (fast enough to achieve > > decent frame rates, for instance). This seems to rule out both ext3 and > > UFS2. What filesystem(s) meet(s) my needs in this case? > > Since you didn't state anything about reliability, ext2 will maybe help > you :) I thought "stable" covered that. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Larry Wall: "A script is what you give the actors. A program is what you give the audience." From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 05:05:11 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 904FD16A418 for ; Tue, 18 Dec 2007 05:05:11 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-98.bluehost.com (outbound-mail-98.bluehost.com [74.220.208.8]) by mx1.freebsd.org (Postfix) with SMTP id 7049613C442 for ; Tue, 18 Dec 2007 05:05:11 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: (qmail 1553 invoked by uid 0); 18 Dec 2007 05:05:13 -0000 Received: from unknown (HELO box183.bluehost.com) (69.89.25.183) by mailproxy5.bluehost.com with SMTP; 18 Dec 2007 05:05:13 -0000 Received: from c-24-9-123-251.hsd1.co.comcast.net ([24.9.123.251] helo=demeter.hydra) by box183.bluehost.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1J4Udi-0004xE-QA for freebsd-questions@freebsd.org; Mon, 17 Dec 2007 22:05:10 -0700 Received: from demeter.hydra (localhost [127.0.0.1]) by demeter.hydra (8.13.6/8.13.6) with ESMTP id lBI5596G041161 for ; Mon, 17 Dec 2007 22:05:09 -0700 (MST) (envelope-from perrin@apotheon.com) Received: (from ren@localhost) by demeter.hydra (8.13.6/8.13.6/Submit) id lBI558OR041160 for freebsd-questions@freebsd.org; Mon, 17 Dec 2007 22:05:08 -0700 (MST) (envelope-from perrin@apotheon.com) X-Authentication-Warning: demeter.hydra: ren set sender to perrin@apotheon.com using -f Date: Mon, 17 Dec 2007 22:05:08 -0700 From: Chad Perrin To: FreeBSD Questions Message-ID: <20071218050508.GB41080@demeter.hydra> Mail-Followup-To: FreeBSD Questions References: <226ae0c60712170738m7b5f2a5dt6286fe336cd8dd88@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <226ae0c60712170738m7b5f2a5dt6286fe336cd8dd88@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Identified-User: {737:box183.bluehost.com:apotheon:apotheon.net} {sentby:bopbeforesmtp 24.9.123.251 authed with apotheon.com} Subject: Re: common filesystem for Linux and FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2007 05:05:11 -0000 On Mon, Dec 17, 2007 at 10:38:54AM -0500, David Robillard wrote: > > That being the case, there is some data I would like to keep available to > > both FreeBSD and Linux systems, in stable read/write access with > > reasonably high access performance for both (fast enough to achieve > > decent frame rates, for instance). This seems to rule out both ext3 and > > UFS2. What filesystem(s) meet(s) my needs in this case? > > NFS would probably do it. You can use either OS as the NFS server and > use which ever file system you desire. Are you suggesting I put the filesystem on another machine and use NFS to make it available to both OSes on this machine? I'm looking to have a filesystem on *this* machine that is available to both OSes, running one at a time. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Paul Graham: "Real ugliness is not harsh-looking syntax, but having to build programs out of the wrong concepts." From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 05:36:22 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4336516A419 for ; Tue, 18 Dec 2007 05:36:22 +0000 (UTC) (envelope-from girishvenkatachalam@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.185]) by mx1.freebsd.org (Postfix) with ESMTP id 1FA6F13C448 for ; Tue, 18 Dec 2007 05:36:22 +0000 (UTC) (envelope-from girishvenkatachalam@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so2371663rvb.43 for ; Mon, 17 Dec 2007 21:36:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:subject:message-id:reply-to:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=hgX0iGDLY10IrtgYtNCG4HhoaPdBMz0Hm29hRgCg1s4=; b=t4goO35fIYxSi8iwIszQQ/HLBpqIOsjFP3aSlue9CmmNZrsTZknRJ26Som8nrTD/hSpNumYMHmXU4/WwFLKjKfdASTMevSE/SIFISQ5bozR8b3wDjTduHOT1YFH3rDO1Q/G2+kQQdzEOqrybJ56wtZ8140DMJRxn/hEdFvYuHqo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:reply-to:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=pnldx9VAq5B9cGBTHV2ldcUS0bfiAOOmdJnrWpSVyCA0MnpxGCFtu5QGbrvblc7AGyygDGLSqZvdF4tHelLzO2nScOPOe4O1FUkBT2gjwELVi+Zl+r7PJSDGcvkdip30K8NIYeSZgjYoQ2RTGdSp09Npqm3HQu9YfYhAszrCtQY= Received: by 10.141.88.3 with SMTP id q3mr4624774rvl.3.1197956180825; Mon, 17 Dec 2007 21:36:20 -0800 (PST) Received: from brahma.susmita.org ( [59.92.29.114]) by mx.google.com with ESMTPS id b8sm9259330rvf.2007.12.17.21.36.18 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 17 Dec 2007 21:36:19 -0800 (PST) Received: by brahma.susmita.org (Postfix, from userid 1002) id 19C34CBC7; Tue, 18 Dec 2007 11:06:15 +0530 (IST) Date: Tue, 18 Dec 2007 11:06:15 +0530 From: Girish Venkatachalam To: freebsd-questions@freebsd.org Message-ID: <20071218053615.GA9154@brahma.susmita.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <226ae0c60712170738m7b5f2a5dt6286fe336cd8dd88@mail.gmail.com> <20071218050508.GB41080@demeter.hydra> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071218050508.GB41080@demeter.hydra> User-Agent: Mutt/1.5.16 (2007-06-09) Subject: Re: common filesystem for Linux and FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: girishvenkatachalam@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2007 05:36:22 -0000 On 22:05:08 Dec 17, Chad Perrin wrote: > Are you suggesting I put the filesystem on another machine and use NFS to > make it available to both OSes on this machine? I'm looking to have a > filesystem on *this* machine that is available to both OSes, running one > at a time. > Chad, I saw your question but couldn't think of a proper answer. I generally shy away from any multiboot situation since I have few machines with me. Even then I too have to multiboot once in a while. Anyway coming back to the point. If FFS2 and EXT3 are ruled out, then what is remaining? ;) XFS? It is a tough choice indeed. Of course you could do a diskless boot off an NFS and use that as file system for communication between the two OSes. But for that you need another machine connected over LAN running NFS of course. Sorry if my answer was irrelevant but this is the best I could do. Thanks. -Girish From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 05:58:03 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D593616A41A for ; Tue, 18 Dec 2007 05:58:03 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id 5B6DC13C468 for ; Tue, 18 Dec 2007 05:58:03 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id lBI5w21H086292; Mon, 17 Dec 2007 21:58:02 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id lBI5w2au086291; Mon, 17 Dec 2007 21:58:02 -0800 (PST) (envelope-from kline) Date: Mon, 17 Dec 2007 21:58:02 -0800 From: Gary Kline To: Joshua Isom Message-ID: <20071218055802.GB86024@thought.org> References: <20071217210610.GA81881@thought.org> <20071217234134.GA93551@slackbox.xs4all.nl> <20071218010210.GA84424@thought.org> <5c5ffddc77b36ab1ce9603b513392085@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5c5ffddc77b36ab1ce9603b513392085@gmail.com> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 21 of service to the Unix community. Cc: Gary Kline , FreeBSD Mailing List Subject: Re: No audio whatever.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2007 05:58:03 -0000 On Mon, Dec 17, 2007 at 09:02:32PM -0600, Joshua Isom wrote: > On Dec 17, 2007, at 7:02 PM, Gary Kline wrote: > > >On Tue, Dec 18, 2007 at 12:41:34AM +0100, Roland Smith wrote: > >>On Mon, Dec 17, 2007 at 01:06:10PM -0800, Gary Kline wrote: > >>> > >>> I realize this may have no easy answer, but suddenly, > >>> after a portupgrade -aP. I have no sound. catting > >>> /deev/snstat does tell me that my sound card is there. > >>> my volme is set to 100%. Where else shoulf I be > >>> looking. > >> > >>See if the sound server is running. KDE uses aRts, gnome uses esd, > >>IIRC. > > > > > >Yes, the arts daemon is running and the esd isn't. Logged in as > >Gnomee,, no sound, tho. Is there something that will tell me > >why pcm0 is giving me these strange "overruns", "interrupts" > >and so forth? > > > >To the entire list: be very careful about upgrading right now. > >.... > > > >gary > > > > > > What about using cdcontrol to play a cd? If your cd-rom drive's hooked > up to the audio port on your motherboard, it should skip anything in > FreeBSD and go from hardware to speakers. It might help track down the > problem. o Nothing. I thought I'd get <<>> fromm the -v flag; nope. ,player, and eeverything else "thinks" in playing, but the error output from /dev/sndstat is a clue. What, tho, is the cluue to this:: FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at irq 18 kld snd_csa (1p/1r/2v channels duplex default) [pcm0:record:0:dsp0.0]: spd 44100, fmt 0x10000010, flags 0x00007030, 0x00000000, pid 64702 interrupts 2649, overruns 0, hfree 4096, sfree 63488 [b:4096/2048/2|bs:65536/4096/16] {hardware} -> feeder_root(0x10000010) -> {userland} [pcm0:play:0:dsp0.1]: spd 48000, fmt 0x10000010, flags 0x00103020, 0x00000000 interrupts 494374, underruns 0, ready 0 [b:4096/2048/2|bs:4096/2048/2] {userland} -> feeder_vchan_s16(0x10000010) -> {hardware} pcm0:play:0:dsp0.1[pcm0:virtual:0:dsp0.2]: spd 44100/48000, fmt 0x10000010, flags 0x10007030, 0x00000010, pid 64702 interrupts 0, underruns 0, ready 65536 [b:0/2048/0|bs:65536/4096/16] {userland} -> feeder_root(0x10000010) -> feeder_rate(44100 -> 48000) -> {hardware} pcm0:play:0:dsp0.1[pcm0:virtual:1:dsp0.3]: spd 44100/48000, fmt 0x10000010, flags 0x10000000, 0x00000010 interrupts 0, underruns 0, ready 0 [b:0/2048/0|bs:131072/4096/32] {userland} -> feeder_root(0x10000010) -> feeder_rate(44100 -> 48000) -> {hardware} p1 21:50 [2268] There stderr's are probably trace from the pcm/newpcm driver, but what cauuses them is the mystery. > > Also, did you upgrade OSS? OSS uses /usr/src so if you've also done a > csup of /usr/src that doesn't match what's installed it's possible you > got something screwy to happen. No, but I did a src upgrade tonight and did a make buuildworld. I am upgrade things that were "<" up-to-date. Should finish by late morning. Meanwhile, if anyboody know how I fouled things up, please yell at me. gary > > Oh, if you get BEL, you're better off than me for that. I get all of > my sound to work except for BEL! > -- Gary Kline kline@thought.org www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 06:02:33 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3AE8216A41A for ; Tue, 18 Dec 2007 06:02:33 +0000 (UTC) (envelope-from lists-fbsd@shadypond.com) Received: from mx-outbound01.easydns.com (mailout1.easydns.com [205.210.42.66]) by mx1.freebsd.org (Postfix) with ESMTP id 1CB6813C448 for ; Tue, 18 Dec 2007 06:02:32 +0000 (UTC) (envelope-from lists-fbsd@shadypond.com) Received: from lilypad.shadypond.com (69-12-173-117.static.humboldt1.com [69.12.173.117]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx-outbound01.easydns.com (Postfix) with ESMTP id DCFFE48377 for ; Tue, 18 Dec 2007 01:02:10 -0500 (EST) Received: from slider.shadypond.com (slider.shadypond.com [192.168.1.11]) by lilypad.shadypond.com (Postfix) with ESMTP id 98C58B856 for ; Tue, 18 Dec 2007 06:02:30 +0000 (UTC) From: Pollywog To: freebsd-questions@freebsd.org Date: Tue, 18 Dec 2007 06:02:18 +0000 References: <340a29540712171957l7b3e426fh9f35051a7bc6d48e@mail.gmail.com> In-Reply-To: <340a29540712171957l7b3e426fh9f35051a7bc6d48e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712180602.19729.lists-fbsd@shadypond.com> Subject: Re: SSH through port forwarding X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2007 06:02:33 -0000 Make sure the ISP is not blocking port 22. If they block it, you will need to change the SSH port in sshd_config and then set the router to forward the port to the server's internal IP address. It's a good idea to change the port anyway, in order not to be obvious to script kiddies. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 06:14:37 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53E9316A41B for ; Tue, 18 Dec 2007 06:14:37 +0000 (UTC) (envelope-from ksham.fmc@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.184]) by mx1.freebsd.org (Postfix) with ESMTP id 31A2013C458 for ; Tue, 18 Dec 2007 06:14:36 +0000 (UTC) (envelope-from ksham.fmc@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so2383228rvb.43 for ; Mon, 17 Dec 2007 22:14:36 -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:mime-version:content-type:references; bh=VFp15FEscj9mbP0Y9f7dCAQSNrmMwiYDgfDAm9GcGQc=; b=Y/xFh9MZ+S268K0qwn83WwKbvlhdnt7eBT5BMQyrNgJ2n94ws9jb/2jPH/KYvXnTIoke2bKrGfAA6ZYcDUpkWGY8RJTkkZJusWXil1RnXUL0RDYg6FEDpsaCUTEQhTfE2frqskWySntKBgAhoEy95GsWPEazAEUiI2M635o5QxM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Ij67W7MWW9G34JdSsbu6nHcjfY8JPtlEiEcT2Jd3dHrRNt2vi4f+ZfDv9VY1HXG6AW1ZCiKgfNQ6uZfn0TlfPVByU32Q+c2KvCtUaf1vsQ+Z6MHMuvSUE+yFq+ZWNEn7N7j6bZIumXQVC+n6+JXYSqVA0JOhIBX+jV6SffIAqgQ= Received: by 10.141.50.17 with SMTP id c17mr530210rvk.33.1197956871751; Mon, 17 Dec 2007 21:47:51 -0800 (PST) Received: by 10.141.211.21 with HTTP; Mon, 17 Dec 2007 21:47:51 -0800 (PST) Message-ID: Date: Tue, 18 Dec 2007 13:47:51 +0800 From: "sham khalil" To: freebsd@celestial.com, freebsd-questions@freebsd.org In-Reply-To: <20071218040802.GB6678@ayn.mi.celestial.com> MIME-Version: 1.0 References: <340a29540712171957l7b3e426fh9f35051a7bc6d48e@mail.gmail.com> <20071218040802.GB6678@ayn.mi.celestial.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: SSH through port forwarding X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2007 06:14:37 -0000 On Dec 18, 2007 12:08 PM, Bill Campbell wrote: > On Mon, Dec 17, 2007, Andrew Falanga wrote: > >Hi, > > > >I'm having a difficult time working with my father to get the port > >forwarding working on his Linksys router to forward SSH requests to his > >FreeBSD machine at home. As near as we can figure, it's setup correctly. > >In case anyone here uses this router it is WRT54G and details (including > a > >users manual) can be found at, > > > http://www.linksys.com/servlet/Satellite?c=L_Product_C2&childpagename=US%2FLayout&pagename=Linksys%2FCommon%2FVisitorWrapper&cid=1149562300349 > . > > > >Now, I'm in Idaho and he's in NY (which does make things difficult). Is > >there any special tricks to setting up port forwarding for SSH? Probably > >should have checked this first, but I'm going to go look on the handbook > >too, just to see. > > It should Just Work(tm). I don't have one of those handy, but > port forwarding is generally under the Advanced tab Linksys > routers. It may be called Games or something like that. Forward > port 22, ssh, to the internal IP and save the settings. > > Generally one should have a fixed internal IP for forwarding as > DHCP assigned IP addresses may change. > once you open port 22 to public ip, you'll get people try to bruteforce your machine. if you don't want that set sshd to listen to a higher number like 5522 then forward port 5522 from the router to the internal machines. unfortunately for wrt54g, you can't forward port 5522 to 22 for internal machine. sham khalil From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 08:25:49 2007 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DFE716A419 for ; Tue, 18 Dec 2007 08:25:49 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id 28B3013C43E for ; Tue, 18 Dec 2007 08:25:47 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id lBI8Plkq087219 for ; Tue, 18 Dec 2007 00:25:47 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id lBI8Plm9087218 for freebsd-questions@FreeBSD.ORG; Tue, 18 Dec 2007 00:25:47 -0800 (PST) (envelope-from kline) Date: Tue, 18 Dec 2007 00:25:47 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20071218082547.GA87190@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 21 of service to the Unix community. Cc: Subject: messages. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2007 08:25:49 -0000 People, Appended is my /var/log/messages file. After I upgraded to my new 6.3-PRE kernel, this is what I see. I'm pretty sure that the CAM complaints are why my sound has vanished. Apended. -- Gary Kline kline@thought.org www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org Dec 18 00:10:12 tao2 syslogd: kernel boot file is /boot/kernel/kernel Dec 18 00:10:12 tao2 kernel: Copyright (c) 1992-2007 The FreeBSD Project. Dec 18 00:10:12 tao2 kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Dec 18 00:10:12 tao2 kernel: The Regents of the University of California. All rights reserved. Dec 18 00:10:12 tao2 kernel: FreeBSD is a registered trademark of The FreeBSD Foundation. Dec 18 00:10:12 tao2 kernel: FreeBSD 6.3-PRERELEASE #3: Mon Dec 17 23:39:08 PST 2007 Dec 18 00:10:12 tao2 kernel: kline@tao2.thought.org:/usr/obj/usr/src/sys/TAO Dec 18 00:10:12 tao2 kernel: Timecounter "i8254" frequency 1193182 Hz quality 0 Dec 18 00:10:12 tao2 kernel: CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2386.57-MHz 686-class CPU) Dec 18 00:10:12 tao2 kernel: Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 Dec 18 00:10:12 tao2 kernel: Features=0xbfebfbff Dec 18 00:10:12 tao2 kernel: Features2=0x400 Dec 18 00:10:12 tao2 kernel: real memory = 1073180672 (1023 MB) Dec 18 00:10:12 tao2 kernel: avail memory = 1036984320 (988 MB) Dec 18 00:10:12 tao2 kernel: MPTable: Dec 18 00:10:12 tao2 kernel: ioapic0: Changing APIC ID to 1 Dec 18 00:10:12 tao2 kernel: ioapic0: Assuming intbase of 0 Dec 18 00:10:12 tao2 kernel: ioapic0 irqs 0-23 on motherboard Dec 18 00:10:12 tao2 kernel: kbd1 at kbdmux0 Dec 18 00:10:12 tao2 kernel: ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) Dec 18 00:10:12 tao2 kernel: cpu0 on motherboard Dec 18 00:10:12 tao2 kernel: pcib0: pcibus 0 on motherboard Dec 18 00:10:12 tao2 kernel: pci0: on pcib0 Dec 18 00:10:12 tao2 kernel: agp0: mem 0xf4000000-0xf7ffffff at device 0.0 on pci0 Dec 18 00:10:12 tao2 kernel: pcib1: at device 1.0 on pci0 Dec 18 00:10:12 tao2 kernel: pci1: on pcib1 Dec 18 00:10:12 tao2 kernel: pci1: at device 0.0 (no driver attached) Dec 18 00:10:12 tao2 kernel: pcib2: at device 30.0 on pci0 Dec 18 00:10:12 tao2 kernel: pci2: on pcib2 Dec 18 00:10:12 tao2 kernel: csa0: mem 0xfeaff000-0xfeafffff,0xfe900000-0xfe9fffff irq 18 at device 9.0 on pci2 Dec 18 00:10:12 tao2 kernel: csa: card is Turtle Beach Santa Cruz Dec 18 00:10:12 tao2 kernel: csa0: [GIANT-LOCKED] Dec 18 00:10:12 tao2 kernel: pcm0: on csa0 Dec 18 00:10:12 tao2 kernel: pcm0: Dec 18 00:10:12 tao2 kernel: pcm0: [GIANT-LOCKED] Dec 18 00:10:12 tao2 kernel: rl0: port 0xec00-0xecff mem 0xfeafec00-0xfeafecff irq 19 at device 10.0 on pci2 Dec 18 00:10:12 tao2 kernel: miibus0: on rl0 Dec 18 00:10:12 tao2 kernel: rlphy0: on miibus0 Dec 18 00:10:12 tao2 kernel: rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Dec 18 00:10:12 tao2 kernel: rl0: Ethernet address: 00:e0:7d:f7:6e:2e Dec 18 00:10:12 tao2 kernel: isab0: at device 31.0 on pci0 Dec 18 00:10:12 tao2 kernel: isa0: on isab0 Dec 18 00:10:12 tao2 kernel: atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0 Dec 18 00:10:12 tao2 kernel: ata0: on atapci0 Dec 18 00:10:12 tao2 kernel: ata1: on atapci0 Dec 18 00:10:12 tao2 kernel: uhci0: port 0xff80-0xff9f irq 19 at device 31.2 on pci0 Dec 18 00:10:12 tao2 kernel: uhci0: [GIANT-LOCKED] Dec 18 00:10:12 tao2 kernel: usb0: on uhci0 Dec 18 00:10:12 tao2 kernel: usb0: USB revision 1.0 Dec 18 00:10:12 tao2 kernel: uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Dec 18 00:10:12 tao2 kernel: uhub0: 2 ports with 2 removable, self powered Dec 18 00:10:12 tao2 kernel: pci0: at device 31.3 (no driver attached) Dec 18 00:10:12 tao2 kernel: uhci1: port 0xff60-0xff7f irq 23 at device 31.4 on pci0 Dec 18 00:10:12 tao2 kernel: uhci1: [GIANT-LOCKED] Dec 18 00:10:12 tao2 kernel: usb1: on uhci1 Dec 18 00:10:12 tao2 kernel: usb1: USB revision 1.0 Dec 18 00:10:12 tao2 kernel: uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Dec 18 00:10:12 tao2 kernel: uhub1: 2 ports with 2 removable, self powered Dec 18 00:10:12 tao2 kernel: pmtimer0 on isa0 Dec 18 00:10:12 tao2 kernel: orm0: at iomem 0xc0000-0xc7fff on isa0 Dec 18 00:10:12 tao2 kernel: atkbdc0: at port 0x60,0x64 on isa0 Dec 18 00:10:12 tao2 kernel: atkbd0: irq 1 on atkbdc0 Dec 18 00:10:12 tao2 kernel: kbd0 at atkbd0 Dec 18 00:10:12 tao2 kernel: atkbd0: [GIANT-LOCKED] Dec 18 00:10:12 tao2 kernel: psm0: irq 12 on atkbdc0 Dec 18 00:10:12 tao2 kernel: psm0: [GIANT-LOCKED] Dec 18 00:10:12 tao2 kernel: psm0: model Generic PS/2 mouse, device ID 0 Dec 18 00:10:12 tao2 kernel: fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 Dec 18 00:10:12 tao2 kernel: fdc0: [FAST] Dec 18 00:10:12 tao2 kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0 Dec 18 00:10:12 tao2 kernel: ppc0: parallel port not found. Dec 18 00:10:12 tao2 kernel: sc0: at flags 0x100 on isa0 Dec 18 00:10:12 tao2 kernel: sc0: VGA <16 virtual consoles, flags=0x300> Dec 18 00:10:12 tao2 kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 Dec 18 00:10:12 tao2 kernel: sio0: type 16550A Dec 18 00:10:12 tao2 kernel: sio1: configured irq 3 not in bitmap of probed irqs 0 Dec 18 00:10:12 tao2 kernel: sio1: port may not be enabled Dec 18 00:10:12 tao2 kernel: vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Dec 18 00:10:12 tao2 kernel: unknown: can't assign resources (memory) Dec 18 00:10:12 tao2 kernel: unknown: can't assign resources (port) Dec 18 00:10:12 tao2 kernel: unknown: can't assign resources (port) Dec 18 00:10:12 tao2 kernel: unknown: can't assign resources (irq) Dec 18 00:10:12 tao2 kernel: unknown: can't assign resources (port) Dec 18 00:10:12 tao2 kernel: Timecounter "TSC" frequency 2386566484 Hz quality 800 Dec 18 00:10:12 tao2 kernel: Timecounters tick every 1.000 msec Dec 18 00:10:12 tao2 kernel: ad0: 38166MB at ata0-master UDMA100 Dec 18 00:10:12 tao2 kernel: ad1: 238475MB at ata0-slave UDMA100 Dec 18 00:10:12 tao2 kernel: acd0: DVDR at ata1-master UDMA66 Dec 18 00:10:12 tao2 kernel: acd1: DMA limited to UDMA33, controller found non-ATA66 cable Dec 18 00:10:12 tao2 kernel: acd1: DVDR at ata1-slave UDMA33 Dec 18 00:10:12 tao2 kernel: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x48 0x00 0x01 Dec 18 00:10:12 tao2 kernel: acd1: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 Dec 18 00:10:12 tao2 kernel: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x48 0x00 0x01 Dec 18 00:10:12 tao2 kernel: acd1: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 Dec 18 00:10:12 tao2 kernel: cd0 at ata1 bus 0 target 0 lun 0 Dec 18 00:10:12 tao2 kernel: cd0: Removable CD-ROM SCSI-0 device Dec 18 00:10:12 tao2 kernel: cd0: 66.000MB/s transfers Dec 18 00:10:12 tao2 kernel: cd0: cd present [312879 x 2048 byte records] Dec 18 00:10:12 tao2 kernel: cd1 at ata1 bus 0 target 1 lun 0 Dec 18 00:10:12 tao2 kernel: cd1: Removable CD-ROM SCSI-0 device Dec 18 00:10:12 tao2 kernel: cd1: 33.000MB/s transfers Dec 18 00:10:12 tao2 kernel: cd1: Attempt to query device size failed: NOT READY, Medium not present Dec 18 00:10:12 tao2 kernel: acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0 Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): CAM Status: SCSI Status Error Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): SCSI Status: Check Condition Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:64,0 Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): Illegal mode for this track Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): Unretryable error Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): cddone: got error 0x6 back Dec 18 00:10:12 tao2 kernel: acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 1 0 0 1 0 Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): CAM Status: SCSI Status Error Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): SCSI Status: Check Condition Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:64,0 Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): Illegal mode for this track Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): Unretryable error Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): cddone: got error 0x6 back Dec 18 00:10:12 tao2 kernel: acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0 Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): CAM Status: SCSI Status Error Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): SCSI Status: Check Condition Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:64,0 Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): Illegal mode for this track Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): Unretryable error Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): cddone: got error 0x6 back Dec 18 00:10:12 tao2 kernel: acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0 Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): CAM Status: SCSI Status Error Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): SCSI Status: Check Condition Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:64,0 Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): Illegal mode for this track Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): Unretryable error Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): cddone: got error 0x6 back Dec 18 00:10:12 tao2 kernel: acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 2 0 Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): CAM Status: SCSI Status Error Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): SCSI Status: Check Condition Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:64,0 Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): Illegal mode for this track Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): Unretryable error Dec 18 00:10:12 tao2 kernel: (cd0:ata1:0:0:0): cddone: got error 0x6 back Dec 18 00:10:12 tao2 kernel: Trying to mount root from ufs:/dev/ad0s1a Dec 18 00:10:14 tao2 kernel: rl0: link state changed to UP Dec 18 00:10:15 tao2 lpd[640]: lpd startup: logging=0 Dec 18 00:10:15 tao2 root: /etc/rc: WARNING: /etc/ntp.conf is not readable. Dec 18 00:10:17 tao2 kernel: acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 4 c6 0 0 0 1 0 Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): CAM Status: SCSI Status Error Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): SCSI Status: Check Condition Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:64,0 Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): Illegal mode for this track Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): Unretryable error Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): cddone: got error 0x6 back Dec 18 00:10:17 tao2 kernel: acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0 Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): CAM Status: SCSI Status Error Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): SCSI Status: Check Condition Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:64,0 Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): Illegal mode for this track Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): Unretryable error Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): cddone: got error 0x6 back Dec 18 00:10:17 tao2 kernel: acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 20 0 Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): CAM Status: SCSI Status Error Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): SCSI Status: Check Condition Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:64,0 Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): Illegal mode for this track Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): Unretryable error Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): cddone: got error 0x6 back Dec 18 00:10:17 tao2 kernel: acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 2 0 Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): CAM Status: SCSI Status Error Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): SCSI Status: Check Condition Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:64,0 Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): Illegal mode for this track Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): Unretryable error Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): cddone: got error 0x6 back Dec 18 00:10:17 tao2 kernel: acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0 Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): CAM Status: SCSI Status Error Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): SCSI Status: Check Condition Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:64,0 Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): Illegal mode for this track Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): Unretryable error Dec 18 00:10:17 tao2 kernel: (cd0:ata1:0:0:0): cddone: got error 0x6 back Dec 18 00:10:17 tao2 rsyncd[794]: unable to bind any inbound sockets on port 873 Dec 18 00:10:18 tao2 rsyncd[794]: rsync error: error in socket IO (code 10) at socket.c(477) [receiver=2.6.9] Dec 18 00:10:18 tao2 kernel: acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 Dec 18 00:10:18 tao2 kernel: (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 4 c6 0 0 0 1 0 Dec 18 00:10:18 tao2 kernel: (cd0:ata1:0:0:0): CAM Status: SCSI Status Error Dec 18 00:10:18 tao2 kernel: (cd0:ata1:0:0:0): SCSI Status: Check Condition Dec 18 00:10:18 tao2 kernel: (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:64,0 Dec 18 00:10:18 tao2 kernel: (cd0:ata1:0:0:0): Illegal mode for this track Dec 18 00:10:18 tao2 kernel: (cd0:ata1:0:0:0): Unretryable error Dec 18 00:10:18 tao2 kernel: (cd0:ata1:0:0:0): cddone: got error 0x6 back Dec 18 00:10:18 tao2 kernel: acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 Dec 18 00:10:18 tao2 kernel: (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0 Dec 18 00:10:18 tao2 kernel: (cd0:ata1:0:0:0): CAM Status: SCSI Status Error Dec 18 00:10:18 tao2 kernel: (cd0:ata1:0:0:0): SCSI Status: Check Condition Dec 18 00:10:18 tao2 kernel: (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:64,0 Dec 18 00:10:18 tao2 kernel: (cd0:ata1:0:0:0): Illegal mode for this track Dec 18 00:10:18 tao2 kernel: (cd0:ata1:0:0:0): Unretryable error Dec 18 00:10:18 tao2 kernel: (cd0:ata1:0:0:0): cddone: got error 0x6 back Dec 18 00:10:18 tao2 kernel: acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 Dec 18 00:10:18 tao2 kernel: (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 20 0 Dec 18 00:10:18 tao2 kernel: (cd0:ata1:0:0:0): CAM Status: SCSI Status Error Dec 18 00:10:18 tao2 kernel: (cd0:ata1:0:0:0): SCSI Status: Check Condition Dec 18 00:10:18 tao2 kernel: (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:64,0 Dec 18 00:10:18 tao2 kernel: (cd0:ata1:0:0:0): Illegal mode for this track Dec 18 00:10:18 tao2 kernel: (cd0:ata1:0:0:0): Unretryable error Dec 18 00:10:18 tao2 kernel: (cd0:ata1:0:0:0): cddone: got error 0x6 back Dec 18 00:10:19 tao2 kernel: acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 Dec 18 00:10:19 tao2 kernel: (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 2 0 Dec 18 00:10:19 tao2 kernel: (cd0:ata1:0:0:0): CAM Status: SCSI Status Error Dec 18 00:10:19 tao2 kernel: (cd0:ata1:0:0:0): SCSI Status: Check Condition Dec 18 00:10:19 tao2 kernel: (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:64,0 Dec 18 00:10:19 tao2 kernel: (cd0:ata1:0:0:0): Illegal mode for this track Dec 18 00:10:19 tao2 kernel: (cd0:ata1:0:0:0): Unretryable error Dec 18 00:10:19 tao2 kernel: (cd0:ata1:0:0:0): cddone: got error 0x6 back Dec 18 00:10:19 tao2 kernel: acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 Dec 18 00:10:19 tao2 kernel: (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0 Dec 18 00:10:19 tao2 kernel: (cd0:ata1:0:0:0): CAM Status: SCSI Status Error Dec 18 00:10:19 tao2 kernel: (cd0:ata1:0:0:0): SCSI Status: Check Condition Dec 18 00:10:19 tao2 kernel: (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:64,0 Dec 18 00:10:19 tao2 kernel: (cd0:ata1:0:0:0): Illegal mode for this track Dec 18 00:10:19 tao2 kernel: (cd0:ata1:0:0:0): Unretryable error Dec 18 00:10:19 tao2 kernel: (cd0:ata1:0:0:0): cddone: got error 0x6 back Dec 18 00:10:46 tao2 login: ROOT LOGIN (root) ON ttyv0 Dec 18 00:10:56 tao2 kernel: drm0: mem 0xf8000000-0xf9ffffff,0xfe6fc000-0xfe6fffff,0xfd800000-0xfdffffff irq 16 at device 0.0 on pci1 Dec 18 00:10:56 tao2 kernel: info: [drm] AGP at 0xf4000000 64MB Dec 18 00:10:56 tao2 kernel: info: [drm] Initialized mga 3.2.2 20060319 Dec 18 00:10:56 tao2 kernel: info: [drm] Initialized card for AGP DMA. Dec 18 00:11:44 tao2 kernel: Limiting closed port RST response from 201 to 200 packets/sec Dec 18 00:15:12 tao2 su: kline to root on /dev/ttyp0 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 09:30:30 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD52E16A418 for ; Tue, 18 Dec 2007 09:30:30 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from wmail.teledomenet.gr (wmail.teledomenet.gr [213.142.128.16]) by mx1.freebsd.org (Postfix) with ESMTP id 4921C13C4DD for ; Tue, 18 Dec 2007 09:30:30 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: by wmail.teledomenet.gr (Postfix, from userid 1002) id 31A8E1C876C; Tue, 18 Dec 2007 11:30:29 +0200 (EET) X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on wmail.teledomenet.gr X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.7-deb Received: from iris (unknown [192.168.1.71]) by wmail.teledomenet.gr (Postfix) with ESMTP id 095F71C8715; Tue, 18 Dec 2007 11:30:20 +0200 (EET) From: Nikos Vassiliadis To: freebsd-questions@freebsd.org Date: Tue, 18 Dec 2007 11:34:20 +0200 User-Agent: KMail/1.9.7 References: <349277.18679.qm@web63012.mail.re1.yahoo.com> In-Reply-To: <349277.18679.qm@web63012.mail.re1.yahoo.com> X-NCC-RegID: gr.telehouse MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712181134.20695.nvass@teledomenet.gr> Cc: Gore Jarold Subject: Re: ipfw rules for all interfaces 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: Tue, 18 Dec 2007 09:30:31 -0000 On Monday 17 December 2007 19:06:29 Gore Jarold wrote: > My main goal is to lock down my ipfw rules so that > when I run nmap, all I see is: > > Interesting ports on 192.168.0.10: > Not shown: 1677 closed ports > PORT STATE SERVICE > 22/tcp open ssh > MAC Address: 00:12:D8:A2:23:C2 > > Nmap finished: 1 IP address (1 host up) scanned in > 9.791 seconds > > So that means I will need to explicitly block all > ports except for the ones I have real servers running > on. > > That's easy. > > The problem is, this is a laptop and so sometimes iwi0 > exists and sometimes it doesn't, and sometimes xl0 > exists and sometimes it doesn't ... and that is why my > ipfw rules look like this: > > 00010 0 0 allow ip from any to any via lo0 > 00020 0 0 deny ip from any to 127.0.0.0/8 > 01000 18134 10505749 allow tcp from any to any > established > 04000 1498 84280 allow icmp from any to any > 04001 27 1728 allow tcp from any to any > dst-port 22 setup > 04008 0 0 deny log logamount 100 ip from > any to any recv all > 65535 15202 2569754 allow ip from any to any > > See - in rule 04008, I say to deny "ip from any to any > recv all" - so that no matter what interface(s) I have > up, and no matter what their addresses are, this one > deny rule will apply to them. > > THe problem is, it doesn't work. > > As you can see, the counter on that rule is zero, and > when I nmap the system I can see things like samba and > http, etc., even though the only port I am allowing > through is TCP 22. > > Why is this ? Because there is no "all" keyword :) ipfw tries to match an interface named "all" there. Check how these rules match your needs. The first one creates states for connections initiated by your machine to the world allowing related incoming traffic to come back. The second allows all to your TCP port 22. The third denies and logs everything else. ipfw add 1000 allow ip from me to any keep-state ipfw add 2000 allow tcp from any to me dst-port 22 ipfw add 3000 deny log logamount 0 ip from any to any The above ruleset is a minimal example. Modify as needed to limit logamount, allow ICMP etc. HTH, Nikos From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 09:49:51 2007 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 D8F6616A419 for ; Tue, 18 Dec 2007 09:49:51 +0000 (UTC) (envelope-from BMabhande@rbz.co.zw) Received: from mail.rbz.co.zw (mail.rbz.co.zw [209.88.93.179]) by mx1.freebsd.org (Postfix) with ESMTP id 9F8DC13C4DB for ; Tue, 18 Dec 2007 09:49:50 +0000 (UTC) (envelope-from BMabhande@rbz.co.zw) Received: from RBZCONT.corp.rbz.co.zw (unknown [10.100.200.193]) by mail.rbz.co.zw (Postfix) with ESMTP id 6596D853E2 for ; Tue, 18 Dec 2007 11:08:48 +0200 (SAST) Received: from rbzh002.rbz.co.zw (Not Verified[10.100.200.2]) by RBZCONT.corp.rbz.co.zw with MailMarshal (v6, 1, 4, 441) id ; Tue, 18 Dec 2007 11:30:33 +0200 To: questions@FreeBSD.org MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.1 January 21, 2004 Message-ID: From: Baxton Mabhande Date: Tue, 18 Dec 2007 11:30:32 +0200 X-MIMETrack: Serialize by Router on RBZH002/Harare/RBZ(Release 7.0.1|January 17, 2006) at 12/18/2007 11:30:33 AM, Serialize complete at 12/18/2007 11:30:33 AM Content-Type: text/plain; charset="US-ASCII" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: 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, 18 Dec 2007 09:49:51 -0000 1)What are the three basic types of handheld devices? 2)Which device is used in an environment that needs extended coverage but backbone access is not practical or is unavailable? 3)What is the recommended maximum distance that can be bridged between a Cisco 350 access point and any wireless client? never say die,victory is certain. B.MABHANDE SYSTEMS OPERATIONS OFFICER ITDSR. EXT. 10102 ##################################################################################### Note: This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The Reserve Bank Of Zimbabwe and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. Thank You. ##################################################################################### From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 10:12:39 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C626C16A418 for ; Tue, 18 Dec 2007 10:12:39 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 72C1D13C447 for ; Tue, 18 Dec 2007 10:12:39 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1J4ZQC-000356-OH for freebsd-questions@freebsd.org; Tue, 18 Dec 2007 10:11:32 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Dec 2007 10:11:32 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Dec 2007 10:11:32 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Tue, 18 Dec 2007 11:06:30 +0100 Lines: 43 Message-ID: References: <20071217063559.GB33846@demeter.hydra> <20071218050403.GA41080@demeter.hydra> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig110D32156964A502DBF4D429" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.6 (X11/20070801) In-Reply-To: <20071218050403.GA41080@demeter.hydra> X-Enigmail-Version: 0.95.3 Sender: news Subject: Re: common filesystem for Linux and FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2007 10:12:39 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig110D32156964A502DBF4D429 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Chad Perrin wrote: > On Mon, Dec 17, 2007 at 10:39:31AM +0100, Ivan Voras wrote: >> Chad Perrin wrote: >> >>> That being the case, there is some data I would like to keep availabl= e to >>> both FreeBSD and Linux systems, in stable read/write access with >>> reasonably high access performance for both (fast enough to achieve >>> decent frame rates, for instance). This seems to rule out both ext3 = and >>> UFS2. What filesystem(s) meet(s) my needs in this case? >> Since you didn't state anything about reliability, ext2 will maybe hel= p >> you :) >=20 > I thought "stable" covered that. ext2fs is "stable" in the sense that there are no known bugs, and it's 100% compatible with Linux. It "just works". Unless you get frequent power outages or similar "hard" errors, the lack of journaling shouldn't bother you much. --------------enig110D32156964A502DBF4D429 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.4-svn0 (GNU/Linux) iD8DBQFHZ5usldnAQVacBcgRAmQhAJ9oyGl9ACdJ0u8CZtgQ11KlTMXlAwCg5l+N UUobE70D7J4bDZjFsKVmAlk= =Q4lC -----END PGP SIGNATURE----- --------------enig110D32156964A502DBF4D429-- From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 10:16:18 2007 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 47B8016A421 for ; Tue, 18 Dec 2007 10:16:18 +0000 (UTC) (envelope-from usleepless@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.226]) by mx1.freebsd.org (Postfix) with ESMTP id EEDC413C448 for ; Tue, 18 Dec 2007 10:16:17 +0000 (UTC) (envelope-from usleepless@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so1092505nzf.13 for ; Tue, 18 Dec 2007 02:16:17 -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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=VU3hVwSXAhMfkaBIk3gfC+XqLAu4OUC1CE77Bmci03Q=; b=ohnnpRBunTvIrJAMcWQjtuLG52+jz7toiDOoWxxMcDE0mMMt4frSD7Ww2HMchHpk0g+Idvh5TV8lyN+dTCZ1E53v/cBIVUf9m5AY0TCEWKYx/ShV6lkYt/x9sHOULUItPW6zZPI8N0DN9/k07nk+map1vRC3BIwfblQL5tP43WQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nTOiNQho1obmZYEgVloaRx3dCfMjrsxGMoR50VOVtOEFlbMW8IDikQSrkHsz7xCBEKFAytUu5U8jrPiW2ye2u2xNklKUEoE5zYdH1qGw6Zk7HHEXeirsmPk9Td8DPAIMfyPBL7w/gsnpZwCRcguKKtQ5jBZN6X7U4df+1lboyQg= Received: by 10.143.187.2 with SMTP id o2mr1018722wfp.162.1197972976658; Tue, 18 Dec 2007 02:16:16 -0800 (PST) Received: by 10.142.178.14 with HTTP; Tue, 18 Dec 2007 02:16:16 -0800 (PST) Message-ID: Date: Tue, 18 Dec 2007 11:16:16 +0100 From: usleepless@gmail.com To: "Baxton Mabhande" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: questions@freebsd.org Subject: Re: (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, 18 Dec 2007 10:16:18 -0000 On Dec 18, 2007 10:30 AM, Baxton Mabhande wrote: > 1)What are the three basic types of handheld devices? > 2)Which device is used in an environment that needs extended coverage but > backbone access is not practical or is unavailable? > 3)What is the recommended maximum distance that can be bridged between a > Cisco 350 access point and any wireless client? you are posting to the wrong list. please repost to homework@freebsd.org. regards, usleep From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 10:17:03 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC3EC16A419 for ; Tue, 18 Dec 2007 10:17:03 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-56.bluehost.com (outbound-mail-56.bluehost.com [69.89.20.36]) by mx1.freebsd.org (Postfix) with SMTP id 87A0E13C447 for ; Tue, 18 Dec 2007 10:17:03 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: (qmail 12222 invoked by uid 0); 18 Dec 2007 10:17:03 -0000 Received: from unknown (HELO box183.bluehost.com) (69.89.25.183) by mailproxy3.bluehost.com with SMTP; 18 Dec 2007 10:17:03 -0000 Received: from c-24-9-123-251.hsd1.co.comcast.net ([24.9.123.251] helo=demeter.hydra) by box183.bluehost.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1J4ZVW-0002X8-T7 for freebsd-questions@freebsd.org; Tue, 18 Dec 2007 03:17:03 -0700 Received: from demeter.hydra (localhost [127.0.0.1]) by demeter.hydra (8.13.6/8.13.6) with ESMTP id lBIAH1vF042855 for ; Tue, 18 Dec 2007 03:17:01 -0700 (MST) (envelope-from perrin@apotheon.com) Received: (from ren@localhost) by demeter.hydra (8.13.6/8.13.6/Submit) id lBIAH0Pu042854 for freebsd-questions@freebsd.org; Tue, 18 Dec 2007 03:17:00 -0700 (MST) (envelope-from perrin@apotheon.com) X-Authentication-Warning: demeter.hydra: ren set sender to perrin@apotheon.com using -f Date: Tue, 18 Dec 2007 03:17:00 -0700 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20071218101700.GA42187@demeter.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <226ae0c60712170738m7b5f2a5dt6286fe336cd8dd88@mail.gmail.com> <20071218050508.GB41080@demeter.hydra> <20071218053615.GA9154@brahma.susmita.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071218053615.GA9154@brahma.susmita.org> User-Agent: Mutt/1.4.2.3i X-Identified-User: {737:box183.bluehost.com:apotheon:apotheon.net} {sentby:bopbeforesmtp 24.9.123.251 authed with apotheon.com} Subject: Re: common filesystem for Linux and FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2007 10:17:03 -0000 On Tue, Dec 18, 2007 at 11:06:15AM +0530, Girish Venkatachalam wrote: > > I generally shy away from any multiboot situation since I have few > machines with me. Even then I too have to multiboot once in a while. I prefer to avoid multiboot as well, but for a while there it seemed unlikely that I'd be able to do everything on this system that I want to be able to do if all I have is FreeBSD. I've managed to realize that my impression of limitation was, in fact, a failure on my part -- and not on FreeBSD's -- some hours ago, however. As a result, it looks like I'll be able to solve the problem without installing some Linux distro after all. > > If FFS2 and EXT3 are ruled out, then what is remaining? ;) > > XFS? Maybe? My impression is that there isn't good UFS support in Linux, and that stable ext3 support is read-only in FreeBSD. If that's the case, then it really does seem to come down to a matter of figuring out whether XFS, JFS, or ReiserFS (to throw out a few examples) have stable read/write support in both Linux and FreeBSD systems. > > It is a tough choice indeed. Of course you could do a diskless boot off > an NFS and use that as file system for communication between the two > OSes. > > But for that you need another machine connected over LAN running NFS of > course. Yeah . . . this is a laptop, and I use it while traveling, so that wouldn't really suit my needs in this case. I appreciate the attempt, though. Anyway, as you may have gathered from an above paragraph of mine, it looks like I'm probably not going to need the Linux system after all. > > Sorry if my answer was irrelevant but this is the best I could do. It would be pretty harsh of me to say your best wasn't good enough. Thanks for the effort to help. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Baltasar Gracian: "A wise man gets more from his enemies than a fool from his friends." From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 10:36:43 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D71116A41B for ; Tue, 18 Dec 2007 10:36:43 +0000 (UTC) (envelope-from chardon.frederic@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.232]) by mx1.freebsd.org (Postfix) with ESMTP id CADD113C45B for ; Tue, 18 Dec 2007 10:36:42 +0000 (UTC) (envelope-from chardon.frederic@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so1098148nzf.13 for ; Tue, 18 Dec 2007 02:36:41 -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:mime-version:content-type:content-transfer-encoding:content-disposition; bh=UsK7zgfYv2eu0HVcKAOak5XHolBZBJvUPR0dIJfnK3M=; b=Wxrojt8A0dJfwPSPaQUww+ea4z2K6glam6qHzZObfUeJW7JCOYp/K5BzUF+Qn1Vs/u018owiSuLTdOtlEo6kYh+rzoMKl+K1jaxMLTBp8qZ7TqF/RQLTWSKmRbWUfIVhqCswMSVj7pcBBXZFUonPX2iMCWvVePklxt2bOrulYIw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Js8mjxrcQFq5F9sDYqPXGGCcfZEeJAiGK8S54KJ0hzj9U+7p/eNRGUB58eRjeR2xinodJS7TFxPeCqddH8kkkSPw/lnkmHFh3XUhd3UClZxP2P/xMsAZ62gVME0ouf/wuXe6O71JnIeGm3o8Pylg5mmyIxsMBC7s5bnbRfx4Ymk= Received: by 10.142.246.8 with SMTP id t8mr1425952wfh.8.1197972666634; Tue, 18 Dec 2007 02:11:06 -0800 (PST) Received: by 10.142.81.7 with HTTP; Tue, 18 Dec 2007 02:11:06 -0800 (PST) Message-ID: <8e73e8440712180211s14846a20wabeeb8944718559b@mail.gmail.com> Date: Tue, 18 Dec 2007 11:11:06 +0100 From: "Frederic Chardon" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: How to properly use -fprofile-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: Tue, 18 Dec 2007 10:36:43 -0000 Hello the list, I'm using dosbox to run an old game and as for all emulators, the CPU ressources needed are quite high. After playing with dosbox configuration there are almost no slowdowns anymore (yipee). So to remove the last few lag I started to look into gcc flags and in particular profiling which seems just great to optimize speed for one specific port. I deactivated ccache since it mess with the .gcda files creation, and after adding -fprofile-generate to CFLAGS and recompile it runs awfully slowly and a bunch of .gcda and .gcno are created in the work directory. So I believe this part works as it should. The problem is when I later recompile: replace -fprofile-generate by -fprofile-use then make -DFORCE_PKG_REGISTER install clean, the first thing make do is... delete the .gcda (but not the .gcno). Quite annoying isn't it? I then have a lot of warning complaining about "xxx.gcda not found". My question is, how should I do to correctly use profiling for a port? In src.conf (I use RELENG_7) I have WITHOUT_PROFILE, does it have any influence? Best regards Frederic From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 10:43:57 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4978616A46C for ; Tue, 18 Dec 2007 10:43:57 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id EEE7913C465 for ; Tue, 18 Dec 2007 10:43:56 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: by an-out-0708.google.com with SMTP id c14so731726anc.13 for ; Tue, 18 Dec 2007 02:43:56 -0800 (PST) Received: by 10.100.211.8 with SMTP id j8mr17124333ang.56.1197974635954; Tue, 18 Dec 2007 02:43:55 -0800 (PST) Received: from ?192.168.1.102? ( [67.189.206.211]) by mx.google.com with ESMTPS id 1sm21576757agb.2007.12.18.02.43.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 18 Dec 2007 02:43:51 -0800 (PST) Date: Tue, 18 Dec 2007 05:44:11 -0500 From: Gerard Seibert To: freebsd-questions@freebsd.org Organization: Seibercom.net In-Reply-To: References: <20071218040802.GB6678@ayn.mi.celestial.com> X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Message-Id: <20071218054048.6EE7.A38C9147@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.44 [en] Subject: Re: SSH through port forwarding 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, 18 Dec 2007 10:43:57 -0000 > On December 18, 2007 at 12:47AM sham khalil wrote: > On Dec 18, 2007 12:08 PM, Bill Campbell wrote: > > > On Mon, Dec 17, 2007, Andrew Falanga wrote: > > >Hi, > > > > > >I'm having a difficult time working with my father to get the port > > >forwarding working on his Linksys router to forward SSH requests to his > > >FreeBSD machine at home. As near as we can figure, it's setup correctly. > > >In case anyone here uses this router it is WRT54G and details (including > > a > > >users manual) can be found at, > > > > > http://www.linksys.com/servlet/Satellite?c=L_Product_C2&childpagename=US%2FLayout&pagename=Linksys%2FCommon%2FVisitorWrapper&cid=1149562300349 > > . > > > > > >Now, I'm in Idaho and he's in NY (which does make things difficult). Is > > >there any special tricks to setting up port forwarding for SSH? Probably > > >should have checked this first, but I'm going to go look on the handbook > > >too, just to see. > > > > It should Just Work(tm). I don't have one of those handy, but > > port forwarding is generally under the Advanced tab Linksys > > routers. It may be called Games or something like that. Forward > > port 22, ssh, to the internal IP and save the settings. > > > > Generally one should have a fixed internal IP for forwarding as > > DHCP assigned IP addresses may change. > > > > once you open port 22 to public ip, you'll get people try to bruteforce your > machine. > if you don't want that set sshd to listen to a higher number like 5522 > then forward port 5522 from the router to the internal machines. > > unfortunately for wrt54g, you can't forward port 5522 to 22 for internal > machine. Security through obscurity is a poor substitute for security. Port scanners will eventually find that port also. Have you checked to see if a firewall is set up that could be blocking the port? -- Gerard From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 11:31:35 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C11FB16A468 for ; Tue, 18 Dec 2007 11:31:35 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-108.bluehost.com (outbound-mail-108.bluehost.com [69.89.22.8]) by mx1.freebsd.org (Postfix) with SMTP id 8961413C4D1 for ; Tue, 18 Dec 2007 11:31:35 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: (qmail 25638 invoked by uid 0); 18 Dec 2007 12:24:49 -0000 Received: from unknown (HELO box183.bluehost.com) (69.89.25.183) by xmail.bluehost.com with SMTP; 18 Dec 2007 12:24:49 -0000 Received: from c-24-9-123-251.hsd1.co.comcast.net ([24.9.123.251] helo=demeter.hydra) by box183.bluehost.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1J4aaP-0005dK-Bw for freebsd-questions@freebsd.org; Tue, 18 Dec 2007 04:26:09 -0700 Received: from demeter.hydra (localhost [127.0.0.1]) by demeter.hydra (8.13.6/8.13.6) with ESMTP id lBIBQ801043114 for ; Tue, 18 Dec 2007 04:26:08 -0700 (MST) (envelope-from perrin@apotheon.com) Received: (from ren@localhost) by demeter.hydra (8.13.6/8.13.6/Submit) id lBIBQ71Q043113 for freebsd-questions@freebsd.org; Tue, 18 Dec 2007 04:26:07 -0700 (MST) (envelope-from perrin@apotheon.com) X-Authentication-Warning: demeter.hydra: ren set sender to perrin@apotheon.com using -f Date: Tue, 18 Dec 2007 04:26:07 -0700 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20071218112607.GA43092@demeter.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <20071217063559.GB33846@demeter.hydra> <20071218050403.GA41080@demeter.hydra> 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-Identified-User: {737:box183.bluehost.com:apotheon:apotheon.net} {sentby:bopbeforesmtp 24.9.123.251 authed with apotheon.com} Subject: Re: common filesystem for Linux and FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2007 11:31:35 -0000 On Tue, Dec 18, 2007 at 11:06:30AM +0100, Ivan Voras wrote: > Chad Perrin wrote: > > On Mon, Dec 17, 2007 at 10:39:31AM +0100, Ivan Voras wrote: > >> Chad Perrin wrote: > >> > >>> That being the case, there is some data I would like to keep available to > >>> both FreeBSD and Linux systems, in stable read/write access with > >>> reasonably high access performance for both (fast enough to achieve > >>> decent frame rates, for instance). This seems to rule out both ext3 and > >>> UFS2. What filesystem(s) meet(s) my needs in this case? > >> Since you didn't state anything about reliability, ext2 will maybe help > >> you :) > > > > I thought "stable" covered that. > > ext2fs is "stable" in the sense that there are no known bugs, and it's > 100% compatible with Linux. It "just works". > > Unless you get frequent power outages or similar "hard" errors, the lack > of journaling shouldn't bother you much. Ah, I understand your meaning now. I thought you meant reliable operation, and you just meant to refer to the fault-tolerance of the filesystem itself. Much clearer now. Thanks. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Leon Festinger: "A man with a conviction is a hard man to change. Tell him you disagree and he turns away. Show him facts and figures and he questions your sources. Appeal to logic and he fails to see your point." From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 15:17:28 2007 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 9B6D916A419 for ; Tue, 18 Dec 2007 15:17:28 +0000 (UTC) (envelope-from simonychang@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.191]) by mx1.freebsd.org (Postfix) with ESMTP id 488A513C4CC for ; Tue, 18 Dec 2007 15:17:28 +0000 (UTC) (envelope-from simonychang@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so2536004rvb.43 for ; Tue, 18 Dec 2007 07:17:27 -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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Pyi/5a9XluB4tUJ13Q4ZZO1vIqHBIdX6pA5U40jJBfU=; b=Ko1hGFKp6gfCv2Bx18GAFAwBWrcZa8/HwnGr7hXbj0+sqVAQ2Jw4M1w2aRabRZTd95u0v/8QEV3lkPYA4ZsT078Uy6AuBOPoapBGGyMbxJpFmNFi91IL6MrNJyEg0uiSmU1Z/dMY8WcLdyejHifixo8cLsch45dV5mew+jMTujo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=h1L+0qNPHUow40R3+FOmqqsUpdmsZlgRBCKixyNw2GQMx/0rUvnYFgei923k8m21X6hLc8MSwmbjqEta8DPVpep/dJB+ZTHiakKP8eR2UJMEhQHiqGgHHYh97nGZgfailsvkbVxp+yi/rU1HIGfW0gZpT1iOr6Kfv9jZcjSgRKg= Received: by 10.141.1.2 with SMTP id d2mr4993213rvi.42.1197989369498; Tue, 18 Dec 2007 06:49:29 -0800 (PST) Received: by 10.141.190.20 with HTTP; Tue, 18 Dec 2007 06:49:29 -0800 (PST) Message-ID: <8efc42630712180649v5252e99em9263dc29f8c74abc@mail.gmail.com> Date: Tue, 18 Dec 2007 09:49:29 -0500 From: "Simon Chang" To: "Baxton Mabhande" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: questions@freebsd.org Subject: Re: (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, 18 Dec 2007 15:17:28 -0000 You need to do some reading on your own. Your questions are general enough that some Googling around the Internet should give you what you need. After having done sufficient reading on your own, if you still have questions, then come back. Show some initiative; don't expect us to spoon-feed you. SC From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 15:23:53 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C602016A468 for ; Tue, 18 Dec 2007 15:23:53 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.183]) by mx1.freebsd.org (Postfix) with ESMTP id 8A7F013C478 for ; Tue, 18 Dec 2007 15:23:53 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so4249219waf.3 for ; Tue, 18 Dec 2007 07:23:53 -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:mime-version:content-type:references; bh=hOCvioByl3rVhnqQ8PxKC6ATHX/i38G1uIRJutTWPQA=; b=HpygldbEscnWbe/zv1kC4XY8At1ALPltgbhmiEQVbZMApQVvnZL4WA8d7Xq/PVF6JAMz+FK3eC7ee/+ufCHy3cDB/e/P1zTTKEZVBx38LDjbqXUDlg4KAFjlqcLrAwugCBVDtwdzGBlXdwGuYVTLe/v/thYg6cSc2Vk1NrKmxCY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=EB8L+etlI4rsdsjocDHQlq51X2oeNin7TSQ1C1vu9e/09FM0jVrA1VkadYutT7EeF3tc5wa4El63RFhmTCf2qW77UAXnGWd9Nzk4E5rCUwN8w2CIuTlceUxzAybx45pVKBxauj1ZjoHH416LYLDuwA5M/US9acQFzbFh8z6TE/E= Received: by 10.115.92.2 with SMTP id u2mr5056286wal.139.1197991432931; Tue, 18 Dec 2007 07:23:52 -0800 (PST) Received: by 10.114.167.7 with HTTP; Tue, 18 Dec 2007 07:23:52 -0800 (PST) Message-ID: <340a29540712180723w241f4a36gb1d47dbb94763e40@mail.gmail.com> Date: Tue, 18 Dec 2007 08:23:52 -0700 From: "Andrew Falanga" To: freebsd-questions@freebsd.org In-Reply-To: <20071218054048.6EE7.A38C9147@seibercom.net> MIME-Version: 1.0 References: <20071218040802.GB6678@ayn.mi.celestial.com> <20071218054048.6EE7.A38C9147@seibercom.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: SSH through port forwarding X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2007 15:23:54 -0000 > > > Security through obscurity is a poor substitute for security. Port > scanners > will eventually find that port also. > > Have you checked to see if a firewall is set up that could be blocking the > port? > Not a thorough check, but my father did turn off the firewall system on that linksys router. I believe he checked some box that basically opened up everything. I'm expecting that it's more likely what someone else said earlier that the ISP may be blocking it. I say this for two reasons: 1) When a connection attempt is made, the error I get is a time out not a refusal to connect. No pun intended but that smells, or should I say sniffs, of a firewall. 2) On a different system that I help build here in Boise, I'm getting the same problem when we set it up at my friends house. Andy -- A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 15:41:27 2007 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 7FD4516A419 for ; Tue, 18 Dec 2007 15:41:27 +0000 (UTC) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (bewilderbeast.blackhelicopters.org [198.22.63.8]) by mx1.freebsd.org (Postfix) with ESMTP id 2EC7513C45A for ; Tue, 18 Dec 2007 15:41:27 +0000 (UTC) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (localhost [127.0.0.1]) by bewilderbeast.blackhelicopters.org (8.14.1/8.13.8) with ESMTP id lBIF4BT9036972 for ; Tue, 18 Dec 2007 10:04:12 -0500 (EST) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: (from mwlucas@localhost) by bewilderbeast.blackhelicopters.org (8.14.1/8.13.8/Submit) id lBIF4BWH036971 for questions@freebsd.org; Tue, 18 Dec 2007 10:04:11 -0500 (EST) (envelope-from mwlucas) Date: Tue, 18 Dec 2007 10:04:11 -0500 From: "Michael W. Lucas" To: questions@freebsd.org Message-ID: <20071218150411.GA36953@bewilderbeast.blackhelicopters.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (bewilderbeast.blackhelicopters.org [127.0.0.1]); Tue, 18 Dec 2007 10:04:12 -0500 (EST) Cc: Subject: timekeeping on jail servers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2007 15:41:27 -0000 Hi, Been searching around without results: Has anyone come up with a decent way to do timekeeping on a jail server? ntpd(8) binds to all addresses, and I'd rather not do a ntpdate out of cron. Thanks, ==ml -- Michael W. Lucas mwlucas@BlackHelicopters.org, mwlucas@FreeBSD.org http://www.BlackHelicopters.org/~mwlucas/ Now Shipping: "Absolute FreeBSD" -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies "for security reasons." From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 15:42:22 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4372916A469 for ; Tue, 18 Dec 2007 15:42:22 +0000 (UTC) (envelope-from mark@foster.cc) Received: from QMTA05.emeryville.ca.mail.comcast.net (qmta05.emeryville.ca.mail.comcast.net [76.96.30.48]) by mx1.freebsd.org (Postfix) with ESMTP id 1056913C4E8 for ; Tue, 18 Dec 2007 15:42:22 +0000 (UTC) (envelope-from mark@foster.cc) Received: from OMTA06.emeryville.ca.mail.comcast.net ([76.96.30.51]) by QMTA05.emeryville.ca.mail.comcast.net with comcast id SBjl1Y00316AWCU0A0Pl00; Tue, 18 Dec 2007 15:42:27 +0000 Received: from fosgate.dyndns.org ([71.231.158.147]) by OMTA06.emeryville.ca.mail.comcast.net with comcast id SFiS1Y00A3B62Q78S00000; Tue, 18 Dec 2007 15:42:27 +0000 X-Authority-Analysis: v=1.0 c=1 a=uahjgWApxeYA:15 a=htQNZiQuvmIA:10 a=OP5bxEb08/jyN+AGU4sEjQ==:17 a=81ABGVOTAAAA:8 a=LAchUpLqD1GHYQ9TemsA:9 a=JephJkGihO5ox6KZ9h345yz1oS4A:4 a=csDljm-qqwUA:10 Received: from localhost (localhost [127.0.0.1]) by fosgate.dyndns.org (Postfix) with ESMTP id 4400439828 for ; Tue, 18 Dec 2007 07:37:39 -0800 (PST) X-Virus-Scanned: amavisd-new at foster.cc Received: from fosgate.dyndns.org ([127.0.0.1]) by localhost (sonar.foster.dmz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RDBCcwV66HQF for ; Tue, 18 Dec 2007 07:37:33 -0800 (PST) Received: from [10.1.253.48] (unknown [198.134.96.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: mdf) by fosgate.dyndns.org (Postfix) with ESMTP id 012733982F for ; Tue, 18 Dec 2007 07:37:32 -0800 (PST) Message-ID: <4767EA55.6030006@foster.cc> Date: Tue, 18 Dec 2007 07:42:13 -0800 From: "Mark D. Foster" User-Agent: Thunderbird 1.5.0.14pre (X11/20071023) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20071217063559.GB33846@demeter.hydra> <20071218050403.GA41080@demeter.hydra> In-Reply-To: X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: common filesystem for Linux and FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2007 15:42:22 -0000 Ivan Voras wrote: > ext2fs is "stable" in the sense that there are no known bugs, and it's > 100% compatible with Linux. It "just works". > > Unless you get frequent power outages or similar "hard" errors, the lack > of journaling shouldn't bother you much. I suggest that ext2+noatime is going to give him much better performance vs. ext3 anyway. -- Said one park ranger, 'There is considerable overlap between the intelligence of the smartest bears and the dumbest tourists.' Mark D. Foster, CISSP http://mark.foster.cc/ From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 16:02:14 2007 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 CF5D216A417 for ; Tue, 18 Dec 2007 16:02:14 +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 911D913C455 for ; Tue, 18 Dec 2007 16:02:14 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.pitbpa0.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTP id 74B1CEBC3C; Tue, 18 Dec 2007 11:02:13 -0500 (EST) Date: Tue, 18 Dec 2007 11:02:12 -0500 From: Bill Moran To: "Michael W. Lucas" Message-Id: <20071218110212.8fb7a5f6.wmoran@potentialtech.com> In-Reply-To: <20071218150411.GA36953@bewilderbeast.blackhelicopters.org> References: <20071218150411.GA36953@bewilderbeast.blackhelicopters.org> X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: timekeeping on jail servers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2007 16:02:14 -0000 In response to "Michael W. Lucas" : > Hi, > > Been searching around without results: > > Has anyone come up with a decent way to do timekeeping on a jail > server? ntpd(8) binds to all addresses, and I'd rather not do a > ntpdate out of cron. I'm not entirely sure I comprehend where you're having trouble, Michael, but we use openntpd on all our systems, specifically because you can tell it what addresses to bind to. Hope that helps. -- Bill Moran http://www.potentialtech.com From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 16:55:31 2007 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 EF85416A41B for ; Tue, 18 Dec 2007 16:55:31 +0000 (UTC) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (bewilderbeast.blackhelicopters.org [198.22.63.8]) by mx1.freebsd.org (Postfix) with ESMTP id 94BE413C43E for ; Tue, 18 Dec 2007 16:55:28 +0000 (UTC) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (localhost [127.0.0.1]) by bewilderbeast.blackhelicopters.org (8.14.1/8.13.8) with ESMTP id lBIGtLxP037571; Tue, 18 Dec 2007 11:55:22 -0500 (EST) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: (from mwlucas@localhost) by bewilderbeast.blackhelicopters.org (8.14.1/8.13.8/Submit) id lBIGtL4e037570; Tue, 18 Dec 2007 11:55:21 -0500 (EST) (envelope-from mwlucas) Date: Tue, 18 Dec 2007 11:55:21 -0500 From: "Michael W. Lucas" To: Bill Moran Message-ID: <20071218165521.GA37529@bewilderbeast.blackhelicopters.org> References: <20071218150411.GA36953@bewilderbeast.blackhelicopters.org> <20071218110212.8fb7a5f6.wmoran@potentialtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071218110212.8fb7a5f6.wmoran@potentialtech.com> User-Agent: Mutt/1.4.2.2i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (bewilderbeast.blackhelicopters.org [127.0.0.1]); Tue, 18 Dec 2007 11:55:22 -0500 (EST) Cc: questions@freebsd.org Subject: Re: timekeeping on jail servers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2007 16:55:32 -0000 On Tue, Dec 18, 2007 at 11:02:12AM -0500, Bill Moran wrote: > In response to "Michael W. Lucas" : > > > Hi, > > > > Been searching around without results: > > > > Has anyone come up with a decent way to do timekeeping on a jail > > server? ntpd(8) binds to all addresses, and I'd rather not do a > > ntpdate out of cron. > > I'm not entirely sure I comprehend where you're having trouble, Michael, > but we use openntpd on all our systems, specifically because you can > tell it what addresses to bind to. That would be you don't have my problem. Openntpd will solve my problem. Thanks for all the pointers, including the dozen or so private ones! ==ml -- Michael W. Lucas mwlucas@BlackHelicopters.org, mwlucas@FreeBSD.org http://www.BlackHelicopters.org/~mwlucas/ Now Shipping: "Absolute FreeBSD" -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies "for security reasons." From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 17:17:05 2007 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39C3216A419 for ; Tue, 18 Dec 2007 17:17:05 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id C48C313C467 for ; Tue, 18 Dec 2007 17:17:04 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id lBIHH37A091147 for ; Tue, 18 Dec 2007 09:17:04 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id lBIHH3w9091146 for freebsd-questions@FreeBSD.ORG; Tue, 18 Dec 2007 09:17:03 -0800 (PST) (envelope-from kline) Date: Tue, 18 Dec 2007 09:17:03 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20071218171703.GA91116@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 21 of service to the Unix community. Cc: Subject: audio again..., continuing. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2007 17:17:05 -0000 This is the bottom blurb output by cat /dev/sndstat: Does anybody know how I did this? and how to undo? Somewhere I set the upper limits of my sound ard to 44100Hz, but don't remembr where... . thanks for any help. gary [pcm0:record:0:dsp0.0]: spd 44100, fmt 0x10000010, flags 0x00000000, 0x00000000 interrupts 0, overruns 0, hfree 4096, sfree 131072 [b:4096/2048/2|bs:131072/4096/32] {hardware} -> feeder_root(0x10000010) -> {userland} [pcm0:play:0:dsp0.1]: spd 48000, fmt 0x10000010, flags 0x00103000, 0x00000000 interrupts 65557, underruns 0, ready 0 [b:4096/2048/2|bs:4096/2048/2] {userland} -> feeder_vchan_s16(0x10000010) -> {hardware} pcm0:play:0:dsp0.1[pcm0:virtual:0:dsp0.2]: spd 44100/48000, fmt 0x10000010, flags 0x10000000, 0x00000010 interrupts 0, underruns 0, ready 0 [b:0/2048/0|bs:131072/4096/32] {userland} -> feeder_root(0x10000010) -> feeder_rate(44100 -> 48000) -> {hardware} -- Gary Kline kline@thought.org www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 17:38:39 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF9B816A418 for ; Tue, 18 Dec 2007 17:38:39 +0000 (UTC) (envelope-from pigskin_referee@yahoo.com) Received: from web34402.mail.mud.yahoo.com (web34402.mail.mud.yahoo.com [66.163.178.151]) by mx1.freebsd.org (Postfix) with SMTP id 7E29913C447 for ; Tue, 18 Dec 2007 17:38:39 +0000 (UTC) (envelope-from pigskin_referee@yahoo.com) Received: (qmail 62872 invoked by uid 60001); 18 Dec 2007 17:38:38 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=cjB9zwhuuaP+vaR5RlGETv8Yo/11uORwgKdmwDHBmTyDXHhX48zO4WIihXpjL+X7tgmhFlJY+0G5VwrGDESLuj0RoBWKjFhYu2rVtfN9OSVnxUVmH819QnxvKuIGQIPtpsr2D0gCoBUQsNn1nYJ8OzKdQMqskDDnRj+8aodis8c=; X-YMail-OSG: uhzQ0AAVM1mWd8yKokcDh51MHBCSF_.uHWMwo4cpl3o.KFf_TYIWopW31VBm_lkRzTF6HT4eKedXWHJ7zpfvcQxYMKYYuj2lZ4NVofAZuql1LorQeq_Q2D934SD9MA-- Received: from [67.189.206.211] by web34402.mail.mud.yahoo.com via HTTP; Tue, 18 Dec 2007 09:38:38 PST X-Mailer: YahooMailRC/818.31 YahooMailWebService/0.7.158.1 Date: Tue, 18 Dec 2007 09:38:38 -0800 (PST) From: White Hat To: FreeBSD Users Questions MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <678271.61474.qm@web34402.mail.mud.yahoo.com> Subject: Redirecting output X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2007 17:38:40 -0000 I am trying to find out exactly what is the difference between: {command} 2>&1 >> /dev/null and {command} dev/null 2>&1 I have seen both used and have not been able to decipher what the difference is. It would seem that the first one would be the one that is correct. -- White Hat pigskin_referee@yahoo.com ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 17:53:55 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40DB616A419 for ; Tue, 18 Dec 2007 17:53:55 +0000 (UTC) (envelope-from hugo@barafranca.com) Received: from mail.barafranca.com (mail.barafranca.com [67.19.101.164]) by mx1.freebsd.org (Postfix) with ESMTP id 0B1ED13C465 for ; Tue, 18 Dec 2007 17:53:54 +0000 (UTC) (envelope-from hugo@barafranca.com) Received: from localhost (localhost [127.0.0.1]) by mail.barafranca.com (Postfix) with ESMTP id 0792EC4F2B for ; Tue, 18 Dec 2007 18:00:45 +0000 (UTC) Received: from mail.barafranca.com ([67.19.101.164]) by localhost (mail.barafranca.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 40193-01 for ; Tue, 18 Dec 2007 18:00:09 +0000 (UTC) Received: from [192.168.200.26] (a213-22-38-76.cpe.netcabo.pt [213.22.38.76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.barafranca.com (Postfix) with ESMTP id F02AEC4DE0 for ; Tue, 18 Dec 2007 18:00:07 +0000 (UTC) Message-ID: <4768090A.6050400@barafranca.com> Date: Tue, 18 Dec 2007 17:53:14 +0000 From: Hugo Silva User-Agent: Thunderbird 2.0.0.9 (X11/20071213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4766CAB1.8020908@barafranca.com> In-Reply-To: <4766CAB1.8020908@barafranca.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at barafranca.com X-Spam-Status: No, score=0 tagged_above=-1 required=4 tests=[none] X-Spam-Score: 0 X-Spam-Level: Subject: Re: cvsup-mirror: clients never get past 'running' (server 100% idle) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2007 17:53:55 -0000 Hugo Silva wrote: > Hello, > > I've set up a local cvsup mirror for a freebsd server farm but I'm > having some trouble making it work. > > I went with all the defaults on the install, only skipping gnats www > and mail. > > The initial update went well, took awhile but I have all files in > place now. > > However, when connecting to get src or ports, it'll never get past > > /usr/src# make update > -------------------------------------------------------------- > >>> Running /usr/bin/csup > -------------------------------------------------------------- > Parsing supfile "/root/cvsup/standard-supfile" > Connecting to 172.16.100.22 > Connected to 172.16.100.22 > Server software version: SNAP_16_1h > Negotiating file attribute support > Exchanging collection information > Establishing multiplexed-mode data connection > Running > > > 73163 3002 1 44 0 7592K 3812K select 0 0:02 0.00% cvsupd > > It just stays idle forever... > > 3002 73163 0.0 0.2 7592 3812 ?? IJ 7:07PM 0:01.58 > /usr/local/sbin/cvsupd -e -C 10 -l @daemon -b /usr/local/etc/cvsup -s > sup.client > > > > FreeBSD 7.0-BETA4/amd64, cvsupd is running inside a jail, on ZFS. > > What am I missing ? > > Regards, > > Hugo > Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 16479 172.16.100.22.5999 172.16.100.92.61642 ESTABLISHED Send-Q is 16479 on the server as soon as the client gets to the "Running" phase (and stalls), the client sees: tcp4 0 0 172.16.100.92.61642 172.16.100.22.5999 ESTABLISHED I'm baffled and don't have much free time to chase this down right now, does this ring a bell to anyone at all ? No firewalls are running on either host, and they're in the same subnet.. Best regards, Hugo From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 18:09:47 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FDA316A41B for ; Tue, 18 Dec 2007 18:09:47 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id 4364213C4D9 for ; Tue, 18 Dec 2007 18:09:47 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan@localhost [127.0.0.1]) by dan.emsphone.com (8.14.1/8.14.2) with ESMTP id lBII9jdk015665 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 18 Dec 2007 12:09:45 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.2/8.14.2/Submit) id lBII9jQg015655; Tue, 18 Dec 2007 12:09:45 -0600 (CST) (envelope-from dan) Date: Tue, 18 Dec 2007 12:09:44 -0600 From: Dan Nelson To: White Hat Message-ID: <20071218180944.GB98888@dan.emsphone.com> References: <678271.61474.qm@web34402.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <678271.61474.qm@web34402.mail.mud.yahoo.com> X-OS: FreeBSD 7.0-BETA4 User-Agent: Mutt/1.5.16 (2007-06-09) Cc: FreeBSD Users Questions Subject: Re: Redirecting output X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2007 18:09:47 -0000 In the last episode (Dec 18), White Hat said: > I am trying to find out exactly what is the difference between: > > {command} 2>&1 >> /dev/null > > and > > {command} dev/null 2>&1 (I assume you mean >/dev/null 2>&1 ) > I have seen both used and have not been able to decipher what the > difference is. It would seem that the first one would be the one that > is correct. If you want to redirect both stderr and stdout to /dev/null, the 2nd is correct. Your first command does this: assign fd 2 to whatever fd 1 is pointing to assign fd 1 to /dev/null That leaves stderr going to wherever stdout usually goes (i.e. your tty), and stdout going to /dev/null. That might actually be what you want, depending on the program you're running. Your second command does this: assign fd 1 to /dev/null assign fd 2 to whatever fd 1 is pointing to I ran this test script with different redirections to verify what was going on: #! /bin/sh echo I am stdout echo I am stderr 1>&2 -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 18:28:17 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D74EF16A41A for ; Tue, 18 Dec 2007 18:28:17 +0000 (UTC) (envelope-from prvs=bicheng=8654005c5@ironport.com) Received: from smtp2-outbound.ironport.com (smtp2-outbound.ironport.com [63.251.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id A66AF13C469 for ; Tue, 18 Dec 2007 18:28:17 +0000 (UTC) (envelope-from prvs=bicheng=8654005c5@ironport.com) DomainKey-Signature: s=key512; d=ironport.com; c=nofws; q=dns; h=Received:Received:X-MimeOLE:Content-class:MIME-Version: Content-Type:Subject:Date:Message-ID:X-MS-Has-Attach: X-MS-TNEF-Correlator:Thread-Index:From:To:Return-Path: X-OriginalArrivalTime; b=WBEHH3qE9G3ZGCouKxfP8adJnjddX4m2hlgajHd4euR5ADD3jtygLdvb +EwQYqJjuu4VsYX0MOJhOg+zP5nE0w==; Received: from vader.ironportsystems.com ([10.1.1.112]) by smtp2-outbound.ironport.com with ESMTP; 18 Dec 2007 09:59:17 -0800 Received: from anakin.ironportsystems.com ([10.1.1.166]) by vader.ironportsystems.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 18 Dec 2007 09:59:08 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Tue, 18 Dec 2007 09:59:08 -0800 Message-ID: <05AEAB71F81AD8408A534E2038630CC203A84A02@anakin.ironportsystems.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Index: AchBGlW6BWM9p1nzTdKTqgS6JhqSCA== From: "Bin Cheng" To: X-OriginalArrivalTime: 18 Dec 2007 17:59:08.0468 (UTC) FILETIME=[AFC66740:01C8419F] Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: 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, 18 Dec 2007 18:28:17 -0000 I installed freebsd 6.2 on my IBM desktop. Try to config network interface. There are no Ethernet card shows. Only have plip0, sl0 and ppp0 showing. The Onboard Ethernet interface card in my motherboard is Intel(r) 82566DM-2 Gigabit network. Could you let me know what kinds of problem is. Is FreeBSD support this card or not? =20 =20 =20 Thank you, Bin Cheng Test Development Engineer IronPort, A Cisco Business Unit 950 Elm Avenue San Bruno, CA 94066 Direct: 650.243.5852 Cell: 650.676.0249 bicheng@ironport.com =20 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 18:35:40 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FCBB16A420 for ; Tue, 18 Dec 2007 18:35:40 +0000 (UTC) (envelope-from manikandan.x.balachandran@jpmchase.com) Received: from sj6.jpmchase.com (sj6.jpmchase.com [159.53.110.162]) by mx1.freebsd.org (Postfix) with ESMTP id 441CB13C4DB for ; Tue, 18 Dec 2007 18:35:40 +0000 (UTC) (envelope-from manikandan.x.balachandran@jpmchase.com) Received: from se1.svr.bankone.net (se1.svr.bankone.net [155.180.234.112]) by sj6.jpmchase.com (Switch-3.1.8/Switch-3.1.7) with ESMTP id lBIIZbQi019517 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=FAIL) for ; Tue, 18 Dec 2007 13:35:37 -0500 Received: from jpmchase.com ([10.246.2.156]) by se1.svr.bankone.net (Switch-3.1.8/Switch-3.1.7) with ESMTP id lBIIXRHJ002852 for ; Tue, 18 Dec 2007 13:33:27 -0500 Received: from ([10.246.2.175]) by imb2.jpmchase.com with ESMTP id KP-BRCFP.81491743; Tue, 18 Dec 2007 13:33:05 -0500 In-Reply-To: <47546BE4.3040901@otenet.gr> To: freebsd-questions@freebsd.org MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.4 CCH5 September 12, 2005 Message-ID: From: manikandan.x.balachandran@jpmchase.com Date: Tue, 18 Dec 2007 18:32:11 +0000 X-MIMETrack: Serialize by Router on MIUSCC006/JPMCHASE(Release 6.5.6FP1|April 24, 2007) at 12/18/2007 01:32:13 PM, Serialize complete at 12/18/2007 01:32:13 PM Content-Type: text/plain; charset="US-ASCII" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Fw: Can I install Free BSD latest version on my laptop with dual 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: Tue, 18 Dec 2007 18:35:40 -0000 Hi, We would like to tune FreeBSD according to our business needs. Please forward some documents for how to compile the Free BSD kernel and how we can deploy our compiled version of Free BSD into a new machine. Please help me ASAP Cheers, B.Manikandan UK ------------------------------------------------------------ Manolis Kiagias 03/12/2007 08:49 PM To: manikandan.x.balachandran@jpmchase.com cc: freebsd-questions@freebsd.org Subject: Re: Fw: Can I install Free BSD latest version on my laptop with dual boot? manikandan.x.balachandran@jpmchase.com wrote: > In addition to the bellow mail, I giving processor details > > AMD Turion? 64 Mobile Technology > > > > Hi, > > Can I install Free BSD latest version on my laptop with dual boot (Windows > Vista + Free BSD), my system configuration details are as follows > > HP Compaq Presario V3000z > RAM - 1.5 GB DDR II 533MHz > NVIDIA Graphics Card 6150 > NVIDIA Chipset motherboard > 80GB Fujitsu HDD > > Thanks in advance > > Cheers > B.Manikandan > UK > > > Processor should pose no problem. Additionally, I find nvidia chipsets to be widely compatible with FreeBSD. You don't mention devices like wireless and ethernet, if you do know the models, you may be able to find if they are supported in the release notes / hardware compatibility of FreeBSD. The graphics card will be no problem with either the nv open source driver or the proprietary Nvidia from ports (or from nvidia directly). About your questions on dual boot, since I have a notebook dual booting (actually triple booting) Vista, FreeBSD and Linux I can give you some hand on information: - The info you have been given about Partition Magic, GParted and PartedMagic should work fine. You could use any of these tools to shrink your Windows Vista partition. Make sure Vista boots after this operation. The new MS loader seems to break rather easily. In the event it does not boot you will need a Vista DVD to boot and select to repair. This sounds more frightening than it really is, it does not happen often and the repair works (automatically). - When installing FreeBSD, when asked about the boot manager select NOT to install it. Do NOT let it touch the MBR. Vista uses a different loader from XP and it will probably fail to boot afterwards. - When installation is finished, you will not be able to boot into FreeBSD, but fear not. Boot into Vista and install the free EasyBCD program: http://neosmart.net/dl.php?id=1 With this, you can add the choice for FreeBSD to your Vista bootloader (a new system called BCD) . It is trivially easy to setup and works extremely well. Hope this helps. Manolis ----------------------------------------- This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries and affiliates. This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase & Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. Please refer to http://www.jpmorgan.com/pages/disclosures for disclosures relating to UK legal entities. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 18:40:44 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DEC116A419 for ; Tue, 18 Dec 2007 18:40:44 +0000 (UTC) (envelope-from atxnomad@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id A3EB413C467 for ; Tue, 18 Dec 2007 18:40:43 +0000 (UTC) (envelope-from atxnomad@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so200575uge.37 for ; Tue, 18 Dec 2007 10:40: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:to:subject:mime-version:content-type; bh=vJN+wdvfe1p92lUKYB/OHwGGvgkjXSY4/TLkxFbFkMQ=; b=l79A2cL6TY8253Q+G7Y1R7+idw+UkLTVwLThldgIB+ywzgRnT3g5Ag42UZZ8mqS9Sbuxro3jRGbgF3VWsjCy+87ZHC5dotDasSeQiBzkN4WI3DIhiwfOrGUAmZpebqBfRl3sLxPxtTfRmfag2wD21qFKK4lcowgd8onpx39bRlo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=YDo8fqsoI7iHSVt4W07jLM/CnuZfztT6PY4FnEE4YxpXDvHQga5pjbuWU6Hv2SkK/svSO6OcgALSmWqByCDtZerXl9TW5dQysaRoyNgGcTkaVCGuLioyCq+i03aNkJa2qfGWHheiOTDDRacJm+r96tbnwNhaKrXuIYqQcvcoP/s= Received: by 10.67.21.11 with SMTP id y11mr1167938ugi.10.1198001685880; Tue, 18 Dec 2007 10:14:45 -0800 (PST) Received: by 10.67.31.4 with HTTP; Tue, 18 Dec 2007 10:14:45 -0800 (PST) Message-ID: Date: Tue, 18 Dec 2007 12:14:45 -0600 From: Nomad To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Updating/patching network card driver? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2007 18:40:44 -0000 I installed FreeBSD 6.2 on my computer but the network card (bge) wasn't detected properly. On troubleshooting the problem I found the driver for this family of NICs isn't appropriate to my particular release. I would prefer to stay with the RELEASE branch but found an updated driver. In updating the driver, is it sufficient to replace the contents of /usr/src/sys/dev/bge with the updated version and then rebuild the kernel? From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 19:03:21 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85BBD16A41A for ; Tue, 18 Dec 2007 19:03:21 +0000 (UTC) (envelope-from roy2098@yahoo.com) Received: from web54207.mail.re2.yahoo.com (web54207.mail.re2.yahoo.com [206.190.39.249]) by mx1.freebsd.org (Postfix) with SMTP id 2A3DC13C448 for ; Tue, 18 Dec 2007 19:03:20 +0000 (UTC) (envelope-from roy2098@yahoo.com) Received: (qmail 82869 invoked by uid 60001); 18 Dec 2007 18:36:40 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=JrYl0O9eA9VcKmhxur9FVFHQ3leM45Zo5yafq7DRHLPXCH9wf9oY2XBrlhhYhMa6AlcWfh8lioKzxFWtuipPNKIR79zl9i2c5d7vPqZw7HIqPzHu27y65lvR42OnRbGKZHhMAMo/WUZx1hTxf7Lyj2AiDWIP3koS8eTX5nlK6Lc=; X-YMail-OSG: VFkYqT8VM1koujTj.qFbwa6Gvdf84Ac3r.RLpMMoCrOJa5K5f0Qm3SfY5aUL1rjh7IVjv_Yzan3p4PKWpvx0x0S8dA54JHH5rvh2WCrOJlc2tmALaZCHbYNEc.rqIxyYXkpzVifGz7q.Xzm6rKPiedQ8Fg-- Received: from [69.19.14.42] by web54207.mail.re2.yahoo.com via HTTP; Tue, 18 Dec 2007 10:36:40 PST X-Mailer: YahooMailRC/818.31 YahooMailWebService/0.7.158.1 Date: Tue, 18 Dec 2007 10:36:40 -0800 (PST) From: RA Cohen To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <615143.82582.qm@web54207.mail.re2.yahoo.com> Subject: NIS Linux - Ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: RA Cohen List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2007 19:03:21 -0000 I've read most of what is out there on NIS - Linux interoperability. Unfortunately, nothing explains what we encountered on a FreeBSD 6.2 machine running NFS and NIS: 1. FreeBSD clients work as advertised, they interpret the password maps correctly; we export the server's /usr/home filesystem and users' home directories are automatically easily available. 2. "...just installed a clean Ubuntu 7.10 (newest) and set up NIS and he's STILL able to log in as ANY user without a password and can access their network drive when it's mounted" Number 2 above scared the living daylights out of me. I checked permissions on the /usr/home directories, all set to 770 (each user in in their own group). The Ubuntu client could still walk all over this filesystem. Let me be clear: any valid username (as exported by the NIS maps) was authenticated with any password. Somehow Ubuntu was given root user permissions no matter what user was logged in. When we changed the /var/yp/Makefile to create maps with an 'x' instead of an '*' this fixed the problem but also resulted in no valid logins from the Ubuntu clients at all. And I have not checked the FreeBSD client machines to see how they deal with the 'x' in the password map but that doesn't matter; what concerns me is how Ubuntu was given free access over the filesystem...That makes NIS unuseable in our environment (a public high school) because what about Mac's? and other Linux-type clients? Can anyone shed a clue on what is occurring here? Seems like a dangerous hole in FBSD's NIS implementation. I know, I should move to Kerberos/LDAP but that realistically cannot happen until the summer. Thank you in advance for your help! RA Cohen ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 19:22:03 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B005916A418 for ; Tue, 18 Dec 2007 19:22:03 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [195.170.0.93]) by mx1.freebsd.org (Postfix) with ESMTP id 0C50A13C45A for ; Tue, 18 Dec 2007 19:22:02 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from atlantis.dyndns.org (athedsl-310598.home.otenet.gr [85.72.68.228]) by aiolos.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id lBIJLxOB014605; Tue, 18 Dec 2007 21:22:00 +0200 Message-ID: <47681DD7.5090206@otenet.gr> Date: Tue, 18 Dec 2007 21:21:59 +0200 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: manikandan.x.balachandran@jpmchase.com References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Fw: Can I install Free BSD latest version on my laptop with dual 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: Tue, 18 Dec 2007 19:22:03 -0000 manikandan.x.balachandran@jpmchase.com wrote: > Hi, > > We would like to tune FreeBSD according to our business needs. Please > forward some documents for how to compile the Free BSD kernel and how we > can deploy our compiled version of Free BSD into a new machine. > > Please help me ASAP > > Cheers, > B.Manikandan > UK > ------------------------------------------------------------ > > > Before actually tuning FreeBSD (or any other OS for that matter) to your business needs (which we don't know...) you should take more time to familiarize yourself with the system, perform test installs and so on. Also don't forget to read the documentation. FreeBSD has an excellent documentation set, comprising of FAQ, articles and an excellent handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ The handbook will answer most of your questions. Many others you will be able to answer yourself by experimenting and gaining experience. You will only get useful answers from the list if your questions are quite specific and you have done "your homework" beforehand. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 20:36:03 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 184BC16A417 for ; Tue, 18 Dec 2007 20:36:03 +0000 (UTC) (envelope-from markus.hoenicka@mhoenicka.de) Received: from rrzmta2.rz.uni-regensburg.de (rrzmta2.rz.uni-regensburg.de [194.94.155.53]) by mx1.freebsd.org (Postfix) with ESMTP id 940B813C447 for ; Tue, 18 Dec 2007 20:36:02 +0000 (UTC) (envelope-from markus.hoenicka@mhoenicka.de) Received: from rrzmta2.rz.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id B87C9B103 for ; Tue, 18 Dec 2007 21:36:07 +0100 (CET) Received: from yeti.mininet (rrzras1-7.rz.uni-regensburg.de [132.199.208.17]) by rrzmta2.rz.uni-regensburg.de (Postfix) with ESMTP id 942F955213 for ; Tue, 18 Dec 2007 21:35:51 +0100 (CET) X-Mailer: emacs 21.3.1 (via feedmail 8 I); VM 7.19 under Emacs 21.3.1 From: "Markus Hoenicka" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18280.11993.211065.843394@yeti.mininet> Date: Tue, 18 Dec 2007 21:34:33 +0100 To: freebsd-questions@freebsd.org Subject: threading and dlopen() X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2007 20:36:03 -0000 Hi, please bear with me if the issue below sounds familiar[1]. I've done some more experiments to find out why the firebird client library crashes on my box. If you're familiar with threads and dynamic linking, please read on. I'm trying to fix the libdbi driver for the firebird database engine on FreeBSD. libdbi is a C library that your application can link to. libdbi dlopen()s drivers which are shared objects themselves and provide the specific code to talk to the database client libraries. libdbi works across several platforms and supports a variety of database engines - with the notable exception of firebird on FreeBSD. I can create and access firebird databases using the isql command line tool. I can build and run a simple test program which creates a firebird database, opens it, and closes it again. Now, if I use pretty much the same code, compile it into a shared object, and dlopen() it, the firebird client library invariably crashes with the following gdb output: #0 0x28535b36 in ThreadData::restoreSpecific() from /usr/local/lib/libfbclient.so.2 #1 0x2852ceb4 in return_success () from /usr/local/lib/libfbclient.so.2 #2 0x28525179 in REM_attach_database () from /usr/local/lib/libfbclient.so.2 #3 0x2851386a in isc_attach_database () from /usr/local/lib/libfbclient.so.2 #4 0x284ece8e in _dbd_real_connect () from /usr/local/lib/dbd/libdbdfirebird.so #5 0x284eba19 in dbd_connect () from /usr/local/lib/dbd/libdbdfirebird.so #6 0x2808011d in dbi_conn_connect () from /usr/local/lib/libdbi.so.0 #7 0x0804982a in main (argc=1, argv=0xbfbfea2c) at test_dbi.c:91 My (limited) analysis makes me think this is some sort of a threading issue aggravated by the fact that the code is dlopen()ed (remember the same code works ok if compiled into a standalone app). BTW the firebird client library is the only library supported by libdbi which uses threads. All other drivers do not use threads and work ok. The firebird driver works ok on a variety of other platforms, including Linux and as weird ones as Windows. It somehow hurts my pride that it fails on FreeBSD. Does anyone out there have an idea how to fix this odd problem? System is 6.1-RELEASE, firebird2-client 2.0.3_1 was built as a port, libdbi and libdbi-drivers (both current cvs versions) were built from the sources (not as ports). regards, Markus [1] http://lists.freebsd.org/pipermail/freebsd-questions/2007-December/164571.html -- Markus Hoenicka markus.hoenicka@cats.de (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 20:45:17 2007 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E022D16A41B for ; Tue, 18 Dec 2007 20:45:17 +0000 (UTC) (envelope-from kawaljeetcattechno1@gmail.com) Received: from qb-out-0506.google.com (qb-out-0506.google.com [72.14.204.224]) by mx1.freebsd.org (Postfix) with ESMTP id 6D20B13C4D1 for ; Tue, 18 Dec 2007 20:45:17 +0000 (UTC) (envelope-from kawaljeetcattechno1@gmail.com) Received: by qb-out-0506.google.com with SMTP id a10so700117qbd.7 for ; Tue, 18 Dec 2007 12:45:16 -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:mime-version:content-type; bh=Dfcr3kKAmBBZOT6CjfdC1iRYAXOkqgyCoMj95SbbbcU=; b=uqzb2XxquJlvF31laVsechdzUPIyNFSaYzT6tk4mEISzAFP8I+jMEo1g6Rc26mAMg6k5IGopgLEQZ9VpF5ZXA62hXl6kSoja68czCCkIWz0JkNSBMjEJUH/0AGF10EuGcyUNZlUipq0oM8mhx4dzVKV8viksSkfCyEs8yN+ZRSw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=r+TvVgD4bpsqX3UfFAn12Z9J3jM2LMJSwy2BEosvy5xUq1SG0aelmZMFMaVbRLUnXqIj9ydyzWxmZ342PIM14jbzzItRhIzkhr9y1tCy+1ffRhgyL/317tNFHMF1ZWulOIOTJki/NTbR6e0opzrdSCxKzdsLLeyd1Ym6Ga6HR0o= Received: by 10.143.53.7 with SMTP id f7mr2569298wfk.217.1198009725923; Tue, 18 Dec 2007 12:28:45 -0800 (PST) Received: by 10.70.35.5 with HTTP; Tue, 18 Dec 2007 12:28:45 -0800 (PST) Message-ID: Date: Wed, 19 Dec 2007 01:58:45 +0530 From: "Kawaljeet Singh" To: freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Software Development X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2007 20:45:18 -0000 Dear Manager, Hope you are doing great! The purpose of this letter is to introduce you to CAT Technology Inc and ou= r Offshore Dedicated Staff Development services. We have a plan, to cut your company's expenses and make it more profitable. Our prices just can't be ignored when you run a business. Investments for hiring a skilled offshore development team in India are muc= h less due to cost of living differences. So, our client gets skilled Programmers at very less investment. The client also saves on employment taxes and other overheads. Thus start planning for future needs and get rid of the hassle of finding and retaining qualified programmers. CAT Offers: One Week trail period. For Integrating operating procedures and making them understand your larger organizational goals. Our Programmers work 48 Hrs a week.( Monday - Saturday ) Select candidates after interviewing. This will help you to bring qualified professional specialists as needed for the job. We have talented young professionals with an university education from the best universities, proficient in US - English, UK - English, Spanish, and German. Our Programmers work in your time zone. We have people supporting US and al= l other continents. We have a competitive edge as market leaders in India with lower cost of operation in sourcing skilled developers and designers. We have a plan, to cut your company's expenses and make it more profitable. Our prices just can't be ignored when you run a business. We have a dedicated team that specializes in documentation and technical writing with experience ranging from 4-10 years. We believe and respect your clients' confidentiality. We adhere to the highest standards of confidentiality and ensure maximum security during dat= a transfer, storage and access. CAT Support team is available 24/7. Out Present Team size in INDIA: VB.Net/C# Developers: 50 Members Delphi Programmers: 18 Members JSP/ Java Programmers: 25 Members PHP Programmers: 20 Members PHP/Perl Programmers: 10 Members Web developers/Designers: 20 Members System/Network Administrators (MCSE) (CCNA) (CCNP):15 Members SQL Server DBA: 15 Members Oracle DBA : 8 Members ASP Programmers: 20 Members Game Developers: 13 Members Pocket PC Programmers: 10 Members VXML Developers : 10 Members Visual Fox Pro Programmers: 12 Members Access Developers: 10 Members QA testers: 15 Members SAP Consultants : 15 Members Visit us at--- www.cattechnologies.com We are the leading Offshore Development service company in INDIA. We align ourselves with our customers as partners to assist them in achieving their goals and objectives. We would be delighted to demonstrate our offshore Development services to you. Please let me know if you have any software Development work to Outsource? Dedicated Staff: When you set up an offshore development center with CAT, you get the following: All hardware, software licensing and office infrastructure already in place A dedicated team of professionals who will learn your business and become a part of your team. Seamless collaboration between offshore office and clien= t project staff through live chat / email / voice / video .U.S. based contact point to manage all issues throughout the relationship and insure success o= f all projects. All staff assigned to your team will report directly to you o= r your project manager and follow your directives and timelines. Project Based: Are you looking for professionals to help you build your projects? If so, consider CAT as your world class partner. We will work closely with you to understand your project's requirements, deadlines, technologies and needs t= o determine the best team to make your project a success. Also, you can decid= e whether you plan to manage the project internally and utilize our development and testing resources, or prefer to have one of our project managers lead the team. Maintenance Projects: Just because your project is complete does not mean you don't need professional technical support for your existing applications. Our staff are available to you on a dedicated basis to review your existing applications and provide you the support and technical updates that are needed to maintain the competitiveness of your applications. If you are a new customer to CAT, ask us about our maintenance plans that enable you to take care of your application beyond the major development phase. Maintenance Services are available to your regardless where you had your application developed. Wide range of .Net Services we provide: 1. Application Development using .NET 2. Designing and Programming using .NET 3. Migration web based and other applications to .NET 4. Porting of Legacy applications to .NET based applications 5. Support and Enhancement of existing applications in .NET 6. User needs assessment / functional spec writing 7. Website architecture design 8. User Interface design 9. Graphic artwork development with Photoshop & ImageReady 10. Database design 11. Stored procedure development 12. OO Design and development of middle tier objects 13. ASP.Net development with C# or VB.Net 14. .Net desktop application development 15. JavaScript development & cross browser issues 16. Ajax/Atlas Development 17. IIS setup & security issues 18. Website hosting 19. E-Commerce development 20. Conversion of legacy system data 21. Web Marketing / Search Engine Optimization / SEM 22. Software Testing & QA 23. Web based report development 24. Adobe PDF file generation 25. Integration with existing systems Wide range of PHP Services we provide: 1. PHP Programming 2. Database development (php/mysql,) 3. MYSQL PHP Programming, script installing, modification, and PHP Script repairs. 4. Custom web site design/redesign and development 5. Custom PHP and MYSQL web programming 6. PHP shopping cart 7. PHP forum 8. PHP content management system Wide range of Network Support / System Administration Services we provide: 1. Onsite server support (upgrades, security patches, migrations) 2. Remote management and administration 3. Configure and maintain Windows 2000, 2003 servers and services (Active Directory, DHCP, DNS, IIS, RAS, NAT, VPN ) 4. Install, configure and Maintain Microsoft ISA 2004 server 5. Installing & Administrating, Managing of Domain Controllers. 6. Installing, Configuring & Administering the following 7. Microsoft Exchange Servers 8. Securing your Linux Server with Firewall / Troubleshooting your Linux System 9. Server installation and configuration 10. Security analysis and policy development 11. Firewall firmware upgrades/Firewall policy implementation and managemen= t 12. LAN Administration 13. Microsoft Certified Systems Engineers (MCSE) 14. Cisco Certified Network Associate ( CCNA ) ( CCNP) 15. Network Installation 16. Network Management 17. Network Security and quality monitoring 18. Network Maintenance 19. Security Firewalls Wide range of Java Services we provide: 1. Web Application Development in Java 2. Systems Programming in C, C++, VC++, C-Sharp (C#) and Java 3. Web Hosting services in JSP and Servlets 4. Web application maintenance like bug fixing and adding new features 5. Life cycle testing for web based application and client server products 6. J2EE Design Patterns 7. Design and development of applications on J2EE compliant framework 8. Projects related to Java CORBA and Java XML Wide range of Web Development Services we provide: We have designed websites of various styles, sizes and purposes. We have a team of 50 Web designers and Developers in our office in INDIA. 1. Custom Website Design 2. Template Website Design 3. Custom E-commerce Design 4. Website Re-Design 5. Macromedia Flash Design 6. Graphic Design Wide range of Delphi Services we provide: 1. Delphi application re-engineering 2. Delphi application development 3. Delphi .net development 4. Delphi 7 development 5. Delphi 2006 development 6. Delphi 6 development 7. Delphi application maintenance 8. Delphi 5 development Our reputation for service is second to none, and our entire staff stands ready to work with you and your staff in any way we can be of assistance. Eagerly looking for your update=85 Thanks, Kawaljeet Singh Business Development Manager CAT Technologies Ltd. " Committed to Human Excellence Through IT " Phone: 201 255 0319 x 221 Visit us at--- www.cattechnologies.com Note: We respect your on-line privacy. This is not an unsolicited mail.UnderBill 1618 Title III passed by the 105th US Congress this mail cannot be considered Spam as long as we include contact information and a method to b= e removed from our mailing list. If you are not interested in receiving our e-mails then please reply with a "REMOVE" to kawal@cattechno.com in the subject line. I am sorry for the inconvenience caused to you. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 21:00:30 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB67916A41A for ; Tue, 18 Dec 2007 21:00:30 +0000 (UTC) (envelope-from elrap@web.de) Received: from fmmailgate01.web.de (fmmailgate01.web.de [217.72.192.221]) by mx1.freebsd.org (Postfix) with ESMTP id 5BC5D13C4EB for ; Tue, 18 Dec 2007 21:00:30 +0000 (UTC) (envelope-from elrap@web.de) Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate01.web.de (Postfix) with ESMTP id 0FE3DBE76991; Tue, 18 Dec 2007 22:00:29 +0100 (CET) Received: from [84.152.136.192] (helo=freebsdangel.de) by smtp08.web.de with asmtp (WEB.DE 4.108 #208) id 1J4jYC-0005Xu-00; Tue, 18 Dec 2007 22:00:28 +0100 Message-ID: <47683541.2090906@web.de> Date: Tue, 18 Dec 2007 22:01:53 +0100 From: Tino Engel User-Agent: Thunderbird 2.0.0.6 (X11/20071110) MIME-Version: 1.0 To: Victor Subervi References: <4dc0cfea0712140726h70fbf8e9v272d5e3d314d8335@mail.gmail.com> <448x3xoy2a.fsf@be-well.ilk.org> <4dc0cfea0712170638p603f73eco1c5715c621cdd18@mail.gmail.com> In-Reply-To: <4dc0cfea0712170638p603f73eco1c5715c621cdd18@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: elrap@web.de X-Sender: elrap@web.de X-Provags-ID: V01U2FsdGVkX1+Y3g+qCXjA+ryIhaov+wI2lqfz7NFj7CMfsq/y gnEpOxnyAoAD6bIRm9LQcydP7Vky7hx4dIUrHnt1KEOgk/bRdh llhbzOtSQ= Cc: freebsd-questions@freebsd.org Subject: Re: Problem With PoEdit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2007 21:00:30 -0000 Victor Subervi schrieb: > I've never used X before...grown to love the command line ;) I didn't have X > cranked up...don't even know how to do that. I just entered "poedit" at the > command line and assumed X would kick in. Should I start X? How? > TIA, > Victor > > Basically: # su # cd # Xorg -configure # mv xorg.conf.new /etc/X11/xorg.conf # echo poedit > .xinitrc # startx Here you go... (You might want to use a windowmanager though to be able to resice the poedit window to your needs....) Tino From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 21:18:48 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD0C016A417 for ; Tue, 18 Dec 2007 21:18:48 +0000 (UTC) (envelope-from wundram@beenic.net) Received: from mail.beenic.net (mail.beenic.net [83.246.72.40]) by mx1.freebsd.org (Postfix) with ESMTP id 7F9A913C442 for ; Tue, 18 Dec 2007 21:18:48 +0000 (UTC) (envelope-from wundram@beenic.net) Received: from phoenix (hnvr-4db3eee7.pool.einsundeins.de [77.179.238.231]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.beenic.net (Postfix) with ESMTP id E59D3A44529 for ; Tue, 18 Dec 2007 22:11:27 +0100 (CET) From: "Heiko Wundram (Beenic)" Organization: Beenic Networks GmbH To: freebsd-questions@freebsd.org Date: Tue, 18 Dec 2007 22:20:43 +0100 User-Agent: KMail/1.9.7 References: <18280.11993.211065.843394@yeti.mininet> In-Reply-To: <18280.11993.211065.843394@yeti.mininet> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712182220.43401.wundram@beenic.net> Subject: Re: threading and dlopen() X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2007 21:18:48 -0000 Am Dienstag, 18. Dezember 2007 21:34:33 schrieb Markus Hoenicka: > My (limited) analysis makes me think this is some sort of a threading > issue aggravated by the fact that the code is dlopen()ed (remember the > same code works ok if compiled into a standalone app). BTW the > firebird client library is the only library supported by libdbi which > uses threads. All other drivers do not use threads and work ok. Have you tried compiling your program with gcc -fpic -pthread ... ? I don't have any more insight into this problem, at least as I'm not using dbi and as such am not able to reproduce it, but I'd guess that if your program doesn't conform to the platform's required thread semantics (which are turned on by -fpic -pthread) but uses code that does require this, you're bound for trouble. -- Heiko Wundram Product & Application Development From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 21:52:39 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91E7E16A418 for ; Tue, 18 Dec 2007 21:52:39 +0000 (UTC) (envelope-from markus.hoenicka@mhoenicka.de) Received: from rrzmta2.rz.uni-regensburg.de (rrzmta2.rz.uni-regensburg.de [194.94.155.53]) by mx1.freebsd.org (Postfix) with ESMTP id 430EE13C465 for ; Tue, 18 Dec 2007 21:52:39 +0000 (UTC) (envelope-from markus.hoenicka@mhoenicka.de) Received: from rrzmta2.rz.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 917F25407B; Tue, 18 Dec 2007 22:52:47 +0100 (CET) Received: from yeti.mininet (rrzras1-11.rz.uni-regensburg.de [132.199.208.21]) by rrzmta2.rz.uni-regensburg.de (Postfix) with ESMTP id 15298552DA; Tue, 18 Dec 2007 22:52:27 +0100 (CET) X-Mailer: emacs 21.3.1 (via feedmail 8 I); VM 7.19 under Emacs 21.3.1 From: "Markus Hoenicka" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18280.16584.560947.243192@yeti.mininet> Date: Tue, 18 Dec 2007 22:51:04 +0100 To: "Heiko Wundram (Beenic)" In-Reply-To: <200712182220.43401.wundram@beenic.net> References: <18280.11993.211065.843394@yeti.mininet> <200712182220.43401.wundram@beenic.net> Cc: freebsd-questions@freebsd.org Subject: Re: threading and dlopen() X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2007 21:52:39 -0000 Heiko Wundram (Beenic) writes: > Have you tried compiling your program with > > gcc -fpic -pthread ... > > ? I don't have any more insight into this problem, at least as I'm not using > dbi and as such am not able to reproduce it, but I'd guess that if your > program doesn't conform to the platform's required thread semantics (which > are turned on by -fpic -pthread) but uses code that does require this, you're Thanks for the hint, but that didn't help. I've changed the appropriate acinclude.m4, Makefile.am, and configure.in files of both libdbi and libdbi-drivers to make sure that: - libdbi.so (the lib that dlopen()s the drivers) is built with -fpic -pthread - libdbifirebird.so (the firebird driver) is built with -fpic -pthread - test_dbi (linked against libdbi.so) is built with -fpic -pthread Still no luck, and the test app crashes at the very same point. Any other suggestions? regards, Markus -- Markus Hoenicka markus.hoenicka@cats.de (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 22:03:16 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1517F16A418 for ; Tue, 18 Dec 2007 22:03:16 +0000 (UTC) (envelope-from arroz@guiamac.com) Received: from relay00.pair.com (relay00.pair.com [209.68.5.9]) by mx1.freebsd.org (Postfix) with SMTP id B36C613C45B for ; Tue, 18 Dec 2007 22:03:15 +0000 (UTC) (envelope-from arroz@guiamac.com) Received: (qmail 32258 invoked by uid 0); 18 Dec 2007 21:36:35 -0000 Received: from unknown (HELO ?192.168.2.201?) (unknown) by unknown with SMTP; 18 Dec 2007 21:36:35 -0000 X-pair-Authenticated: 89.180.84.29 Mime-Version: 1.0 (Apple Message framework v753) To: freebsd-questions@freebsd.org Message-Id: <0E74ACF6-8CC4-450E-879F-89F670B3EC85@guiamac.com> Content-Type: multipart/signed; micalg=sha1; boundary=Apple-Mail-10-663258848; protocol="application/pkcs7-signature" From: Miguel Arroz Date: Tue, 18 Dec 2007 21:36:30 +0000 X-Mailer: Apple Mail (2.753) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Problems installing icu from the ports tree X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2007 22:03:16 -0000 --Apple-Mail-10-663258848 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Hi! I'm a FreeBSD newbie, and I need a little help on installing software. When I try to install postgresql or vim from the ports tree, I get the following error: > ===> Verifying install for icui18n in /usr/ports/devel/icu > ===> Building for icu-3.6 > > > *** config.status has become stale *** > 'configure' and/or 'uversion.h' have changed, please > do 'runConfigureICU' (or 'configure') again, as per > the readme.html. > > > exit 1 > I have deleted all the tree and reinstalled the most current one, but the error keeps happening. I'm probably doing something dumb, but what? Yours Miguel Arroz Miguel Arroz http://www.terminalapp.net http://www.ipragma.com --Apple-Mail-10-663258848-- From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 22:11:16 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3AD0B16A418 for ; Tue, 18 Dec 2007 22:11:16 +0000 (UTC) (envelope-from roy2098@yahoo.com) Received: from web54201.mail.re2.yahoo.com (web54201.mail.re2.yahoo.com [206.190.39.243]) by mx1.freebsd.org (Postfix) with SMTP id BC64F13C45D for ; Tue, 18 Dec 2007 22:11:15 +0000 (UTC) (envelope-from roy2098@yahoo.com) Received: (qmail 69244 invoked by uid 60001); 18 Dec 2007 22:11:15 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=pl3S47D2CJ+xy7hpz9SEvSvwZbA+BlydXu3JHJ0Wm6F8WfHsYUZd1WEiefz8AWQkpwHhnzGrHvG9GoDw/7SgDJb4xeJz+Rsd/B2kH6vziAMNk/KIAx8cGWfctVDR7J9G78GWQjSOmhDTgH52YYbY2UGm1yK4k41YKWpYPWcbrLg=; X-YMail-OSG: 9vppN3UVM1nLS_mgVExuwdk284bvtkDMFdVpNH.XB7DaCjeyt1xuUACtpt6wQ.MZ6KskSnPL8gYPMhnTKJy6r6DoYaNPZlf_SGwnfeyzpqd4YUP936opBzE4lvXYzw-- Received: from [69.19.14.28] by web54201.mail.re2.yahoo.com via HTTP; Tue, 18 Dec 2007 14:11:14 PST X-Mailer: YahooMailRC/818.31 YahooMailWebService/0.7.158.1 Date: Tue, 18 Dec 2007 14:11:14 -0800 (PST) From: RA Cohen To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <54129.66383.qm@web54201.mail.re2.yahoo.com> Subject: NIS Linux - Ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: RA Cohen List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2007 22:11:16 -0000 I am sorry, here is an addendum to my previous post: >>Somehow Ubuntu was given root user permissions<< Actually, upon rereading my notes, Ubuntu was only given permissions of the user doing the login - not root - but we could login with any valid user apparently FreeBSD thought it was presented with a wildcard password. And I can also verify that FreeBSD clients are able to use the password map when x is used instead of * in the map to represent the password. So I can secure the system using the x but still cannot get Ubuntu clients to authenticate. Roy ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 23:34:54 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B114916A49A for ; Tue, 18 Dec 2007 23:34:54 +0000 (UTC) (envelope-from arroz@guiamac.com) Received: from relay03.pair.com (relay03.pair.com [209.68.5.17]) by mx1.freebsd.org (Postfix) with SMTP id C4C4213C4F9 for ; Tue, 18 Dec 2007 23:34:52 +0000 (UTC) (envelope-from arroz@guiamac.com) Received: (qmail 9137 invoked by uid 0); 18 Dec 2007 23:34:46 -0000 Received: from unknown (HELO ?192.168.2.201?) (unknown) by unknown with SMTP; 18 Dec 2007 23:34:46 -0000 X-pair-Authenticated: 89.180.84.29 In-Reply-To: <0E74ACF6-8CC4-450E-879F-89F670B3EC85@guiamac.com> References: <0E74ACF6-8CC4-450E-879F-89F670B3EC85@guiamac.com> Mime-Version: 1.0 (Apple Message framework v753) Content-Type: multipart/signed; micalg=sha1; boundary=Apple-Mail-11-670352107; protocol="application/pkcs7-signature" Message-Id: <1ECDE54B-CE92-4A89-84E0-D683C26F1215@guiamac.com> From: Miguel Arroz Date: Tue, 18 Dec 2007 23:34:43 +0000 To: Miguel Arroz X-Mailer: Apple Mail (2.753) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: [NEVERMIND] Problems installing icu from the ports tree X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2007 23:34:54 -0000 --Apple-Mail-11-670352107 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Hi! I'm sorry, I was doing it the wrong way... newbie dumbness. Yours Miguel Arroz On 2007/12/18, at 21:36, Miguel Arroz wrote: > Hi! > > I'm a FreeBSD newbie, and I need a little help on installing > software. > > When I try to install postgresql or vim from the ports tree, I > get the following error: > >> ===> Verifying install for icui18n in /usr/ports/devel/icu >> ===> Building for icu-3.6 >> >> >> *** config.status has become stale *** >> 'configure' and/or 'uversion.h' have changed, please >> do 'runConfigureICU' (or 'configure') again, as per >> the readme.html. >> >> >> exit 1 >> > > I have deleted all the tree and reinstalled the most current one, > but the error keeps happening. > > I'm probably doing something dumb, but what? > > Yours > > Miguel Arroz > > Miguel Arroz > http://www.terminalapp.net > http://www.ipragma.com > > > Miguel Arroz http://www.terminalapp.net http://www.ipragma.com --Apple-Mail-11-670352107-- From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 00:07:02 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E324C16A420 for ; Wed, 19 Dec 2007 00:07:02 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out3.apple.com (mail-out3.apple.com [17.254.13.22]) by mx1.freebsd.org (Postfix) with ESMTP id B9F2413C45B for ; Wed, 19 Dec 2007 00:07:02 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay14.apple.com (relay14.apple.com [17.128.113.52]) by mail-out3.apple.com (Postfix) with ESMTP id B73CA1B9825B; Tue, 18 Dec 2007 16:07:02 -0800 (PST) Received: from relay14.apple.com (unknown [127.0.0.1]) by relay14.apple.com (Symantec Mail Security) with ESMTP id 9AEA72808C; Tue, 18 Dec 2007 16:07:02 -0800 (PST) X-AuditID: 11807134-aa199bb00000595e-47-476860a676b7 Received: from cswiger1.apple.com (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay14.apple.com (Apple SCV relay) with ESMTP id 1312C28083; Tue, 18 Dec 2007 16:07:02 -0800 (PST) Message-Id: <66EF345A-B011-4344-876A-758B9C1FE5B5@mac.com> From: Chuck Swiger To: Eric Crist In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Tue, 18 Dec 2007 16:07:01 -0800 References: <20071216185050.GB26535@brahma.susmita.org> <9cc0a3fa1d403f16f4fc9b2abb49fb75@mail.wcborstel.com> X-Mailer: Apple Mail (2.915) X-Brightmail-Tracker: AAAAAA== Cc: girishvenkatachalam@gmail.com, Jorn Argelo , freebsd-questions@freebsd.org Subject: Re: (postfix) SPAM filter? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2007 00:07:03 -0000 On Dec 17, 2007, at 7:56 AM, Eric Crist wrote: > I hear a lot of people saying that greylisting doesn't work, when I > have actual numbers for my network proving it does. These numbers > are from the first week of May 2007 to today: > > Greylisted/Rejected Messages: 187560 > Spam Tagged Messages: 3806 > Virus Tagged Messages: 0 > Bounced Messages: 7 > > Total Messages Sent: 761 > Total Messages Delivered: 25345 I'd second the recommendation, although my stats don't keep long-term track of the difference between something greylisted and something bounced due to policy-weightd. Over the past year, I've had: Rejected Messages: 1,624,353 Spam Tagged Messages: 39,633 Virus Tagged Messages: 2947 Bounced Messages: 7609 Total sent: 103,433 Total received: 122,614 About 93% of the incoming traffic gets rejected permanently (via policy-weightd) or temporarily via greylisting; of the remainder, about 40% is tagged as spam and about 3% is tagged as viral. -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 00:11:37 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58CD516A417 for ; Wed, 19 Dec 2007 00:11:37 +0000 (UTC) (envelope-from ota@animenfo.com) Received: from smtp.unitz.ca (mx1.unitz.ca [69.60.224.6]) by mx1.freebsd.org (Postfix) with ESMTP id 1E05013C46E for ; Wed, 19 Dec 2007 00:11:36 +0000 (UTC) (envelope-from ota@animenfo.com) Received: from localhost (localhost [127.0.0.1]) by smtp.unitz.ca (Postfix) with ESMTP id A7BC37BF34A for ; Tue, 18 Dec 2007 18:35:14 -0500 (EST) Received: from smtp.unitz.ca ([127.0.0.1]) by localhost (smtp.unitz.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zwxnSq06oT2I for ; Tue, 18 Dec 2007 18:35:07 -0500 (EST) Received: from unitz.ca (dsl-69-60-252-220.unitz.ca [69.60.252.220]) by smtp.unitz.ca (Postfix) with SMTP id A48CA7BF34C for ; Tue, 18 Dec 2007 18:35:07 -0500 (EST) Received: by unitz.ca (nbSMTP-1.00) for uid 1001 ota@animenfo.com; Tue, 18 Dec 2007 18:38:03 -0500 (EST) Date: Tue, 18 Dec 2007 18:38:03 -0500 From: User Ota To: freebsd-questions@freebsd.org Message-ID: <20071218233803.GA6861@noah.ota.homelinux.net> References: <226ae0c60712170738m7b5f2a5dt6286fe336cd8dd88@mail.gmail.com> <20071218050508.GB41080@demeter.hydra> <20071218053615.GA9154@brahma.susmita.org> <20071218101700.GA42187@demeter.hydra> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071218101700.GA42187@demeter.hydra> User-Agent: Mutt/1.4.2.3i Subject: Re: common filesystem for Linux and FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2007 00:11:37 -0000 On Tue, Dec 18, 2007 at 03:17:00AM -0700, Chad Perrin wrote: > On Tue, Dec 18, 2007 at 11:06:15AM +0530, Girish Venkatachalam wrote: > > > > I generally shy away from any multiboot situation since I have few > > machines with me. Even then I too have to multiboot once in a while. > > I prefer to avoid multiboot as well, but for a while there it seemed > unlikely that I'd be able to do everything on this system that I want to > be able to do if all I have is FreeBSD. I've managed to realize that my > impression of limitation was, in fact, a failure on my part -- and not on > FreeBSD's -- some hours ago, however. As a result, it looks like I'll be > able to solve the problem without installing some Linux distro after all. > > > > > > If FFS2 and EXT3 are ruled out, then what is remaining? ;) > > > > XFS? > > Maybe? > > My impression is that there isn't good UFS support in Linux, and that > stable ext3 support is read-only in FreeBSD. If that's the case, then it > really does seem to come down to a matter of figuring out whether XFS, > JFS, or ReiserFS (to throw out a few examples) have stable read/write > support in both Linux and FreeBSD systems. > > > > > > It is a tough choice indeed. Of course you could do a diskless boot off > > an NFS and use that as file system for communication between the two > > OSes. > > > > But for that you need another machine connected over LAN running NFS of > > course. > > Yeah . . . this is a laptop, and I use it while traveling, so that > wouldn't really suit my needs in this case. I appreciate the attempt, > though. Anyway, as you may have gathered from an above paragraph of > mine, it looks like I'm probably not going to need the Linux system after > all. > > > > > > Sorry if my answer was irrelevant but this is the best I could do. > > It would be pretty harsh of me to say your best wasn't good enough. > Thanks for the effort to help. > > -- > CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] > Baltasar Gracian: "A wise man gets more from his enemies than a fool from > his friends." > _______________________________________________ > 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 feel like being adventerous, FAT/FAT32 :P Russell Doucette From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 00:17:01 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD48916A419 for ; Wed, 19 Dec 2007 00:17:01 +0000 (UTC) (envelope-from paulh@bdug.org.au) Received: from mail.bdug.org.au (mail.bdug.org.au [202.72.170.31]) by mx1.freebsd.org (Postfix) with ESMTP id 0AF8B13C465 for ; Wed, 19 Dec 2007 00:17:00 +0000 (UTC) (envelope-from paulh@bdug.org.au) Received: from w2k2 (w2k2.bdug.org.au [192.168.0.102]) by mail.bdug.org.au (Postfix) with ESMTP id CB08AB83E for ; Wed, 19 Dec 2007 09:16:48 +0900 (WST) From: "Paul Hamilton" To: "'User Questions'" Date: Wed, 19 Dec 2007 09:17:05 +0900 Message-ID: <025701c841d4$7c9c0110$6600a8c0@w2k2> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6822 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1896 Importance: Normal Thread-Index: AchB1Hww4QdGfndNRxiA/ndSbajvFA== X-bdug-MailScanner-Information: Please contact the ISP for more information X-bdug-MailScanner: Found to be clean X-bdug-MailScanner-From: paulh@bdug.org.au X-Spam-Status: No Subject: burning DVD's on a robotic burner. Running a central iso repository X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2007 00:17:01 -0000 Hi, Just at the idea phase at the moment. I have played with various command line tests, but would like to make sure I am not re-inventing the wheel before I progress further. Therefore: 1. Just wondering if anyone knows of a robotic DVD burner/printer that can be integrated with FreeBSD. Ideally I would like it to be able to run 'growisofs' and have it burn the DVD on the networked robotic CD/DVD burner. The burner would have a built in CD/DVD printer. I am thinking the software package would have a web page to allow people to upload a graphic, and/or just a CD/DVD text title, that would be printed onto the CD/DVD. Having one central burner would save me having to issue out DVD burners to multiple users. 2. Conversely, I am looking into having a central DVD reader, that staff would insert a DVD, type some meta-data into a webpage, and then click on the convert button. FreeBSD would then read the CD/DVD and create an iso image of it. The iso image would be placed into a repository, from where they could be mounted as needed, and shared out via samba. An email would be sent out once the CD/DVD has been converted detailing how to access the iso file. This all becomes important when a site moves to using thin clients and Terminal Servers. Any thoughts and ideas are welcome. Regards, Paul Hamilton Busselton, 6280 Australia --=20 This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 00:26:16 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4897916A420 for ; Wed, 19 Dec 2007 00:26:16 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-87.bluehost.com (outbound-mail-87.bluehost.com [74.220.211.7]) by mx1.freebsd.org (Postfix) with SMTP id 1043113C465 for ; Wed, 19 Dec 2007 00:26:16 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: (qmail 20768 invoked by uid 0); 19 Dec 2007 00:26:18 -0000 Received: from unknown (HELO box183.bluehost.com) (69.89.25.183) by mailproxy5.bluehost.com with SMTP; 19 Dec 2007 00:26:18 -0000 Received: from c-24-9-123-251.hsd1.co.comcast.net ([24.9.123.251] helo=demeter.hydra) by box183.bluehost.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1J4mlL-00016m-AF for freebsd-questions@freebsd.org; Tue, 18 Dec 2007 17:26:15 -0700 Received: from demeter.hydra (localhost [127.0.0.1]) by demeter.hydra (8.13.6/8.13.6) with ESMTP id lBJ0QDca045632 for ; Tue, 18 Dec 2007 17:26:13 -0700 (MST) (envelope-from perrin@apotheon.com) Received: (from ren@localhost) by demeter.hydra (8.13.6/8.13.6/Submit) id lBJ0QDl2045631 for freebsd-questions@freebsd.org; Tue, 18 Dec 2007 17:26:13 -0700 (MST) (envelope-from perrin@apotheon.com) X-Authentication-Warning: demeter.hydra: ren set sender to perrin@apotheon.com using -f Date: Tue, 18 Dec 2007 17:26:12 -0700 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20071219002612.GA45208@demeter.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <47546BE4.3040901@otenet.gr> 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-Identified-User: {737:box183.bluehost.com:apotheon:apotheon.net} {sentby:bopbeforesmtp 24.9.123.251 authed with apotheon.com} Subject: Re: Fw: Can I install Free BSD latest version on my laptop with dual 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: Wed, 19 Dec 2007 00:26:16 -0000 On Tue, Dec 18, 2007 at 06:32:11PM +0000, manikandan.x.balachandran@jpmchase.com wrote: > Hi, > > We would like to tune FreeBSD according to our business needs. Please > forward some documents for how to compile the Free BSD kernel and how we > can deploy our compiled version of Free BSD into a new machine. I'm going to give you the benefit of the doubt, and figure you just haven't learned yet how to effectively find documentation. These are some documents that may be of use to you for tuning FreeBSD. Kernel config: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html System configuration files: man 8 config General performance tuning: man 7 tuning Security tuning: man 7 security Security tuning for the X Window System: man 7 Xsecurity Searching for FreeBSD docs on the web: Go to Google and add "freebsd handbook" to your search string, with quotes. If that doesn't work, try "freebsd" (without quotes) instead. Searching for information in manpages: Use either the "apropos" or "man -k" command, with a search term as an argument. For instance, "apropos tuning" or "man -k tuning" would have led to the tuning(7) manpage. When you find a manpage that is in the same general topic area, but you still want more information, check the "SEE ALSO" section of the manpage. The "FILES" section is sometimes useful for finding more information, too -- and sometimes, the listed files have their own manpages. Learning to research your own answers is a good idea for a whole lot of reasons. FreeBSD is one of the most well-documented OSes I've ever seen, so perhaps your tendency to ask questions without bothering to try looking up the information in standard documentation first is based on experience with other, less well-documented OSes. Once you become more familiar with the quality and extensiveness of FreeBSD documentation, you will surely find that some simple research is faster for most tasks than any user community mailing list or telephone support line could ever be. Hope that helps. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] John Kenneth Galbraith: "If all else fails, immortality can always be assured through spectacular error." From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 02:54:03 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5089816A418 for ; Wed, 19 Dec 2007 02:54:03 +0000 (UTC) (envelope-from snow.mountains.4@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180]) by mx1.freebsd.org (Postfix) with ESMTP id 1A60913C457 for ; Wed, 19 Dec 2007 02:54:02 +0000 (UTC) (envelope-from snow.mountains.4@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so4801727pyb.3 for ; Tue, 18 Dec 2007 18:54:02 -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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=44FN7Y7nHaavPiydLOmP3OB6rZiRpXvasMfxuBvK6QQ=; b=hdukor1598rBJeFxNuY8NV9rmON69KSrkD8gIX+kGOQBmuJXLJ0/+ym24eCTfLvK1SJ6dw3FhkV3eIYPUfNwTpkR7+2Jph7lFhP/hwQ97+WAcB5eX5OOmzSMsoFWYq+hqbhkHIvMl79g1mopfX2/VuUN3C7+iZzxQUm03tReMZo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dFSWe9JuU2rpbds8Q174s1xDq7h1ilOG0d7MGWt5yYk+ikMF7EMR7CqLIgVk6Qb8PvTkhpkdOoiaDgFsXkX90OIkmg1fsBBmULUEkIsCXKNl+v66N+vB19BN23OmOQZhAocUfYecozX0rhfocD3oIQrT3+hjkOR5x3VdUAvvudM= Received: by 10.142.128.6 with SMTP id a6mr663127wfd.135.1198032841006; Tue, 18 Dec 2007 18:54:01 -0800 (PST) Received: by 10.142.188.11 with HTTP; Tue, 18 Dec 2007 18:54:00 -0800 (PST) Message-ID: <3cf9f8920712181854p1b498d8cve22e5bcdc0ad9fc7@mail.gmail.com> Date: Wed, 19 Dec 2007 03:54:00 +0100 From: "Snow Mountains" To: "=?ISO-8859-2?Q?Nikola_Le=E8i=E6?=" In-Reply-To: <20071216165127.64661122@anthesphoria.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: base64 Content-Disposition: inline References: <3cf9f8920712132115q341401dbhec96ca1ae3156432@mail.gmail.com> <20071216165127.64661122@anthesphoria.net> Cc: freebsd-questions@freebsd.org Subject: Re: Lost FreeBSD slices (labels?) after NetBSD install -- please help!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2007 02:54:03 -0000 MjAwNy8xMi8xNiwgTmlrb2xhIExl6GnmIDxuaWtvbGEubGVjaWNAYW50aGVzcGhvcmlhLm5ldD46 Cj4gSGVsbG8sCj4KPiBPbiBGcmksIDE0IERlYyAyMDA3IDA1OjE1OjE2ICswMDAwCj4gIlNub3cg TW91bnRhaW5zIiA8c25vdy5tb3VudGFpbnMuNEBnbWFpbC5jb20+IHdyb3RlOgo+Cj4gPiBQZW9w bGUsIEkgaGF2ZSBGcmVlQlNEIGluc3RhbGwgb24gODBHIGRpc2sgdGhhdCBsb29rZWQgbGlrZSB0 aGlzOgo+ID4KPiA+IGFkMXMxIH4gMi40Rwo+ID4gYWQxczIgfjIzLjBHCj4gPiBhZDFzMyB+MTku MUcKPiA+IGFkMXM0IH4zOC4wRywgRnJlZUJTRCBwYXJ0aXRpb24sIHNsaWNlZCBsaWtlIHRoaXM6 Cj4gICAgICAgICAgICAgICAgICAgICAgICAgXl5eXl5eXl5eICBeXl5eXl4KPiAgICAgICAgKGEg bm90ZTogdGhlIGNvcnJlY3QgdGVybWlub2xvZ3kgaXMgYWN0dWFsbHkgdGhlIG9wcG9zaXRlOgo+ ICAgICAgICB0aGVzZSBhLi4uZSBhcmUgInBhcnRpdGlvbnMiLCByZWFsIEJTRCBwYXJ0aXRpb25z Lgo+ICAgICAgICBXaGF0IGlzIGNhbGxlZCAicGFydGl0aW9uIiBpbiBub24tQlNEIHdvcmxkIGlz IGEgc2xpY2UgaGVyZTsKPiAgICAgICAgc286ICJGcmVlQlNEIHNsaWNlLCAoQlNELSlwYXJ0aXRp b25lZC9sYWJlbGxlZCBsaWtlIHRoaXMuLi4iKQo+Cj4gPiAtLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0KPiA+IGFkMXM0YSAvICAgICAoNTA3NjMwIDFLLWJsb2NrcykKPiA+IGFkMXM0YiBzd2FwCj4g PiBhZDFzNGQgL3Zhcgo+ID4gYWQxczRlIC90bXAKPiA+IGFkMXM0ZiAvdXNyCj4gPgo+IFsuLi5d Cj4gPiBIb3dldmVyLCBGcmVlQlNEIGlzIG5vdyB1bmJvb3RhYmxlISEhIFRoZW4gSSBsb2FkZWQg RnJlZVNCSUUgKEZyZWVCU0QKPiA+IDYuMiBsaXZlIENEKSwgdHJpZWQgJ2Jvb3QwY2ZnIC1CIC9k ZXYvYWQxJyAoYWxzbyB3aXRoICctZCAweDgwJyksIGJ1dAo+ID4gbm8gaGVscCEgVGhlbiBJIHJl YWxpemVkIHRoYXQgYWQxczQgc2xpY2VzIGFyZSBsb3N0LiBUaGlzIG1lYW5zOgo+ID4KPiA+IEEp IGZyb20gRnJlZVNCSUUsIHRoZXJlIGlzIG9ubHkgL2Rldi9hZDFzNCwgbm8gYSxiLGQsZSxmLiBJ ZiBJIGRvCj4gPiB0aGlzOiBGcmVlU0JJRSMgbW91bnQgL2Rldi9hZDFzNCAvbW50L3Vmcy40Cj4g PiB0aGlzIGlzIGZvcm1lciAvIChhZDFzNGEpIGFuZCBpcyBvZiBpdHMgc2l6ZSAofjUwN00pLgo+ Cj4gVGhpcyBwcm9iYWJseSBtZWFucyB0aGF0IHlvdSB1bndpbGxpbmdseSBjaGFuZ2VkIEZyZWVC U0QgbGFiZWwgb2YgYWQxczQKPiBhbmQgaXQncyBtb3N0IGxpa2VseSB0aGF0IE5ldEJTRCB3cm90 ZSBpdHMgb3duIGluc3RlYWQuIEhvd2V2ZXIsIGZyb20KPiB0aGUgYnNkbGFiZWwoOCkgbWFucGFn ZToKPgo+ICAgICAgVGhlIHZhcmlvdXMgQlNEcyBhbGwgdXNlIHNsaWdodGx5IGRpZmZlcmVudCB2 ZXJzaW9ucyBvZiBCU0QgbGFiZWxzCj4gICAgICBhbmQgYXJlIG5vdCBnZW5lcmFsbHkgY29tcGF0 aWJsZS4KPgo+IFNvLCBOZXRCU0QgZGlkbid0IHJlY29nbmlzZSBGcmVlQlNEJ3MgbGFiZWxzIGFu ZCB1bmRlcnN0b29kIGVudGlyZQo+IGFkMXM0IGFzIG9uZSBwYXJ0aXRpb247IGhvd2V2ZXIsIGFk MXM0J3MgcmVhbGl0eSBpcyB0aGF0IGl0IGJlZ2lucyB3aXRoCj4gc21hbGwgLyAobG9zdCBhZDFz NGEpIGFuZCB0aGF0IGlzIHdoYXQgeW91IHNlZTsgdGhlIHJlc3QgaXMganVzdAo+IGlnbm9yZWQu Cj4KPiBib290MGNmZyBkaWQgbm90aGluZyBiZWNhdXNlIE5ldEJTRCBvYnZpb3VzbHkgZGVsZXRl ZCBhZDFzNCBGcmVlQlNEJ3MKPiBib290c3RyYXAgY29kZSBhcyB3ZWxsLgo+Cj4gPiBJIGNhbid0 IHJlYWNoIG90aGVyIHNsaWNlcyEgSG93ZXZlciwgaXQgZ2l2ZXMgbWUgaG9wZSB0aGF0IE5ldEJT RCdzCj4gPiBzbGljZXMgYXJlIGFsc28gaW52aXNpYmxlLCBhbHRob3VnaCB3b3JraW5nIGZyb20g d2l0aGluIGl0c2VsZjoKPiA+IEZyZWVTQklFIyBtb3VudCAvZGV2L2FkMXMxIC9tbnQvdWZzLjEK PiA+IGdpdmVzIGFsc28gc21hbGwgTmV0QlNEJ3MgLyAoaXRzIHdkMGEpLCBub3QgL3VzciBldGMu Cj4KPiBUaGUgc2FtZSByZWFzb24gYXMgYWJvdmUuCj4KPiA+IFsuLi5dCj4gPiBQbGVhc2UgaGVs cCBtZSB0byByZWNvdmVyIG15IEZyZWVCU0Qgc3lzdGVtLiBJZiBJIGxvc3QgbXkgZGF0YSAob2ss IEkKPiA+IHVuZGVyc3RhbmQgdGhleSBhcmUgYnVyaWVkLCBub3QgZXJhc2VkKSwgcGxlYXNlIHRl bGwgbWUgdGhhdCBnZW50bHkuCj4gPiA6LSgKPgo+IFRoYXQncyB3aHkgSSB0aGluayB0aGF0IHlv dSBoYXZlbid0IGxvc3QgYW55IGRhdGEuIFlvdSBtdXN0IGhvd2V2ZXIKPiByZS1jcmVhdGUgYnNk bGFiZWwgdGFibGUgb24gYWQxczQuIFNpbmNlIHlvdSBkaWRuJ3QgbWVudGlvbiB0aGF0IHlvdQo+ IGhhdmUgYSBiYWNrdXAgb2YgYnNkbGFiZWwgKGRvIHlvdT8gOi0pKSwgeW91IG11c3QgcmVjb3Zl ciBpdC4KPgo+IFRoZXJlIGFyZSB0d28gc21hbGwgdXRpbGl0aWVzIGRlc2lnbmVkIGZvciB0aGlz IHB1cnBvc2UsIGRsZmluZCBhbmQKPiBmZnNyZXNjdWU6Cj4KPiAgIGh0dHA6Ly93d3cuNDIub3Jn L35zZWMvcmVzb3VyY2VzL2Rpc2tsYWJlbC5odG1sCj4gICBodHRwOi8vd3d3LmxlaWRpbmdlci5u ZXQvRnJlZUJTRC9mZnNyZXNjdWUudGFyLmd6Cj4KPiBidXQgdGhleSBkb24ndCByZWNvZ25pc2Ug VUZTMiBiZWdpbm5pbmcgbWFya3MgKG9ubHkgVUZTMSBvbmVzKS4KPiBIb3dldmVyLCBJIHRlc3Rl ZCBzeXN1dGlscy90ZXN0ZGlzayBhbmQgaXQgcmVjb2duaXNlZCBVRlMyIGxhYmVscyBvbiBteQo+ IGhlYWx0aHkgc2xpY2VzIHBlcmZlY3RseSwgc28gdGhlcmUgaXMgbm8gcmVhc29uIHRoYXQgaXQg Y2FuJ3QgaGVscAo+IHlvdSwgc2luY2UgaXQgc2ltcGx5IGFuYWx5c2VzIHNsaWNlIGNvbnRlbnRz LiBUaGlzIHV0aWxpdHkgaXMgbm90IHBhcnQKPiBvZiBGcmVlU0JJRSwgYnV0IEkgdGhpbmsgdGhh dCB5b3UgY2FuIGp1c3QgZG93bmxvYWQKPgo+ICAgZnRwOi8vZnRwLmZyZWVic2Qub3JnL3B1Yi9G cmVlQlNEL3BvcnRzL2kzODYvcGFja2FnZXMtNi4yLXJlbGVhc2Uvc3lzdXRpbHMvdGVzdGRpc2st Ni4zLnRiego+Cj4gVGhlbiB1bnRhciBpdCBpbiB+ZnJlZXNiaWUgYW5kIHJ1biB0aGUgYmluYXJ5 LiBKdXN0IGRvIHRoaXM6Cj4KPiAgIC4vdGVzdGRpc2sgL2Rldi9hZDFzNAo+Cj4gYW5kIGNob29z ZSAibm9uIHBhcnRpdGlvbmVkIiBpbiB0aGUgc2Vjb25kIG1lbnUuIFBsZWFzZSBub3RlIHRoYXQK PiB0ZXN0ZGlzayB3aWxsIG5vdCByZWNvZ25pc2UgeW91ciBzd2FwLiBUaGVuIHBsZWFzZSB0cnkg dG8gY29tcGFyZQo+IHJlc3VsdHMgKGdpdmVuIGluIDUxMmstYmxvY2tzKSB0byB3aGF0IHlvdSBy ZW1lbWJlciBhYm91dCBwYXJ0aXRpb24KPiBzaXplcy4gSWYgaXQgZ2l2ZXMgeW91IHJlYXNvbmFi bGUgcHJvcG9ydGlvbnMsIHRoZW4gcmUtY3JlYXRpbmcgYQo+IGJzZGxhYmVsIHNob3VsZG4ndCBi ZSBhIGJpZyBwcm9ibGVtLgo+Cj4gU28gcGxlYXNlIHRha2UgdGhlc2UgYWN0aW9ucyBhbmQgaWYg dGhlIGFmb3JlbWVudGlvbmVkIGFzc3VtcHRpb25zIGFyZQo+IGNvcnJlY3QgYW5kIHlvdSBvYnRh aW4gc29tZSB1c2VmdWwgaW5mbywgd2Ugc2hhbGwgY29udGludWUuIDotKQoKSGVsbG8gYW5kIHRo YW5rcyB2ZWVlZXJ5IG11Y2ggZm9yIHRoaXMgcmVzcG9uc2UgYW5kIGJlY2F1c2UgeW91CnBvaW50 ZWQgbWUgdG8gcmlnaHQgZGlyZWN0aW9uIC0gd2hhdCB0byByZWFkISBJdCB0b29rIG1lIHNvbWUg dGltZSB0bwpydW4gdGhpcyBhbmQgdG8gdW5kZXJzdGFuZCBhbHdheXMgd2hhdCBJIGFtIGRvaW5n LCBidXQgaXQgc2VlbXMgdG8Kd29yayEKCnRlc3RkaXNrIGdpdmVzIG1lIHNpemVzIHRoYXQgMTAw JSBjb3JyZXNwb25kIHdpdGggX3BhcnRpdGlvbl8gKDopKQpwcm9wb3J0aW9ucyBJIHJlbWVtYmVy IChhbmQgc29tZSBub25zZW5zZXMgYWJvdXQgdGlueSBGQVQgcGFydGl0aW9uCnNvbWV3aGVyZS4u LikuIGRsZmluZCBob21lcGFnZSB3YXMgaW5jcmVkaWJseSB1c2VmdWwgZm9yIG1lIGFzIG5ld2Jp ZQppbiBjcmVhdGluZyBCU0QgcGFydGl0aW9uIGxhYmVscywgYW5kIEkgY3JlYXRlZCBic2RsYWJl bCBmaWxlLApjYXJlZnVsbHkgY2FsY3VsYXRlZCBvZmZzZXRzLCBJIGFtIGhhcHB5IHRoYXQgZm9y bWVyIGFkMXM0YSBpcwptb3VudGFibGUgc28gdGhhdCBJIGNhbiByZWFkIC9ldGMvZnN0YWIhCgpI b3dldmVyIEkgaGF2ZSBzZXZlcmFsIHF1ZXN0aW9ucyBqdXN0IHRvIGJlIDEwMCUgc3VyZS4KCmEu IHN3YXAgc2l6ZTogYnkgYW4gYWNjaWRlbnQsIEkgaGF2ZSB3cml0dGVuIHN3YXBzaXplIChmcm9t IHN3YXBpbmZvKQpvZiAxMDI0IDFrYiBibG9ja3M7IGl0IGlzIHNsaWdodGx5IGRpZmZlcmVudCBm cm9tIHdoYXQgSSBnZXQgd2hlbiBJCnN1YnRyYWN0IGFsbCBwYXJ0aXRpb24gc2l6ZSBmcm9tIHRv dGFsIHNsaWNlJ3Mgc2l6ZSAoYXMgdGVzdGRpc2sKcmVwb3J0ZWQpLiBXaGF0IEkgc2hvdWxkIHRy dXN0PwoKYi4gRG8gSSBuZWVkIGp1c3QgYnNkbGFiZWwgLVIgLWU/IElzIGl0IHNhZmUgdG8gZXhw ZXJpbWVudD8KCmMuIFdoYXQgdG8gd3JpdGUgYXMgZnNpemUsIGJzaXplIGFuZCBicHMvY3BnPyBJ dCBpcyBjb21wbGV0bHkKY29uZnVzaW5nIGZvciBtZSwgYnBzL2NwZyBleHBsYW5hdGlvbiBmcm9t IGJzZGxhYmVsIG1hbiBwYWdlIGlzCnVuY2xlYXIgdG8gbWUsIEkgc2VlIHRoYXQgc29tZSBwZW9w bGUgdXNlIGFsbCB6ZXJvcyBhbmQgSSBjYW4gbm90IGZpbmQKYSBjbHVlIGluIHZhcmlvdXMgZXhh bXBsZXMuLi4KCkFnYWluLCBtYW55IHRoYW5rcyEK From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 03:23:27 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54D9D16A417 for ; Wed, 19 Dec 2007 03:23:27 +0000 (UTC) (envelope-from oceanare@pacific.net.sg) Received: from smtpgate1.pacific.net.sg (smtpgate1.pacific.net.sg [203.120.90.31]) by mx1.freebsd.org (Postfix) with SMTP id 99E4613C458 for ; Wed, 19 Dec 2007 03:23:26 +0000 (UTC) (envelope-from oceanare@pacific.net.sg) Received: (qmail 24794 invoked from network); 19 Dec 2007 03:23:24 -0000 Received: from adsl2.dyn234.pacific.net.sg (HELO P2120.somewherefaraway.com) (oceanare@210.24.234.2) by smtpgate1.pacific.net.sg with ESMTPA; 19 Dec 2007 03:23:23 -0000 Message-ID: <47688E99.4050802@pacific.net.sg> Date: Wed, 19 Dec 2007 11:23:05 +0800 From: Erich Dollansky User-Agent: Thunderbird 2.0.0.6 (X11/20070826) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: rough method of cleaning the ports tree X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2007 03:23:27 -0000 Hi, after noticing how large my ports tree grows while compiling, I thought of simply deleting it and do a CVSup to get a new one after the compilation is finished. This should be much faster and also should do some kind o defragmentation. I simply cannot believe that the huge ports tree will still be very well organised after some months. What does the list think of this method? Erich From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 03:31:34 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83E2116A417 for ; Wed, 19 Dec 2007 03:31:34 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by mx1.freebsd.org (Postfix) with ESMTP id 4637113C458 for ; Wed, 19 Dec 2007 03:31:34 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so4830201pyb.3 for ; Tue, 18 Dec 2007 19:31: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:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; bh=xYDMXInSztUqrKgJq77fD2jbQZ1qMAsZT8izjAxo9WE=; b=r+lWVD3E9ajVET3iygX9bgA7n+BbKT20a19Og3K/vrj8ftFMvliiUOS3dwpAWxVMDk+eLJMxOt6LLesGGj1haY2d4Ak9ZH1xYaLtxcbv878LGGxLO4bFo+sUuvtqwOje99UjTFGm6BH380nAxFB3fhjBQpAtmHbPxQLudDNYqq8= 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:x-enigmail-version:content-type:content-transfer-encoding; b=tVQRF5kpD2xZJA9P6CGM/Bgg7x2nVeHZlpUZapdEjPsEKkc4xATGXxhVsDiZKS5kcpbyDyqlcDwkaoAiYiSab0m5SCg9ePEqTg+mfJMOzXyLSesKjLLLDnfAGPCdHGIcGjpyCgTlkoS5Y5vCIEBpSvn2h8HtAd7TOx/XYuJd3Mg= Received: by 10.65.153.10 with SMTP id f10mr19576104qbo.33.1198035066514; Tue, 18 Dec 2007 19:31:06 -0800 (PST) Received: from ?192.168.2.2? ( [67.85.89.184]) by mx.google.com with ESMTPS id e15sm5685222qba.2007.12.18.19.31.05 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 18 Dec 2007 19:31:06 -0800 (PST) Message-ID: <47689079.4040700@gmail.com> Date: Tue, 18 Dec 2007 22:31:05 -0500 From: "Aryeh M. Friedman" User-Agent: Thunderbird 2.0.0.9 (X11/20071217) MIME-Version: 1.0 To: Erich Dollansky References: <47688E99.4050802@pacific.net.sg> In-Reply-To: <47688E99.4050802@pacific.net.sg> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: rough method of cleaning the ports tree X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2007 03:31:34 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Erich Dollansky wrote: > Hi, > > after noticing how large my ports tree grows while compiling, I > thought of simply deleting it and do a CVSup to get a new one after > the compilation is finished. > > This should be much faster and also should do some kind o > defragmentation. I simply cannot believe that the huge ports tree > will still be very well organised after some months. > > What does the list think of this method? Even though it will take quite a bit longer you should just do a "make distclean" in /usr/ports that way anything you hand modified will be retained (also you might want to consider keeping a local cvs repository if this is an issue) - -- Aryeh M. Friedman FloSoft Systems http://www.flosoft-systems.com Developer, not business, friendly -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHaJB5zIOMjAek4JIRAqJxAKCdc0XT4T2YPWOWj2CxzaMY26vdLgCfUvs9 D42DFTYQ2LV+rIhUKYNOBRc= =3/I8 -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 03:34:35 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7835C16A41B for ; Wed, 19 Dec 2007 03:34:35 +0000 (UTC) (envelope-from bri@brianwhalen.net) Received: from entwistle.sonicboom.org (entwistle.sonicboom.org [66.93.34.170]) by mx1.freebsd.org (Postfix) with ESMTP id 66EBD13C448 for ; Wed, 19 Dec 2007 03:34:34 +0000 (UTC) (envelope-from bri@brianwhalen.net) Received: from [127.0.0.1] (dsl093-034-235.snd1.dsl.speakeasy.net [66.93.34.235]) by entwistle.sonicboom.org (8.14.2/8.14.1) with ESMTP id lBJ3YWB5068405; Tue, 18 Dec 2007 19:34:34 -0800 (PST) (envelope-from bri@brianwhalen.net) Message-ID: <47689149.9030007@brianwhalen.net> Date: Tue, 18 Dec 2007 19:34:33 -0800 From: Brian User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: "Aryeh M. Friedman" References: <47688E99.4050802@pacific.net.sg> <47689079.4040700@gmail.com> In-Reply-To: <47689079.4040700@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Erich Dollansky , freebsd-questions@freebsd.org Subject: Re: rough method of cleaning the ports tree X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2007 03:34:35 -0000 Aryeh M. Friedman wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Erich Dollansky wrote: > >> Hi, >> >> after noticing how large my ports tree grows while compiling, I >> thought of simply deleting it and do a CVSup to get a new one after >> the compilation is finished. >> >> This should be much faster and also should do some kind o >> defragmentation. I simply cannot believe that the huge ports tree >> will still be very well organised after some months. >> >> What does the list think of this method? >> > > Even though it will take quite a bit longer you should just do a "make > distclean" in /usr/ports that way anything you hand modified will be > retained (also you might want to consider keeping a local cvs > repository if this is an issue) > > - -- > Aryeh M. Friedman > FloSoft Systems > http://www.flosoft-systems.com > Developer, not business, friendly > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.4 (FreeBSD) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFHaJB5zIOMjAek4JIRAqJxAKCdc0XT4T2YPWOWj2CxzaMY26vdLgCfUvs9 > D42DFTYQ2LV+rIhUKYNOBRc= > =3/I8 > -----END PGP SIGNATURE----- > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > portsclean -CD may be a help, if it grows as a result of compilation. Brian From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 03:40:05 2007 Return-Path: Delivered-To: FreeBSD-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEB4716A417 for ; Wed, 19 Dec 2007 03:40:04 +0000 (UTC) (envelope-from nikola.lecic@anthesphoria.net) Received: from anthesphoria.net (anthesphoria.net [200.46.204.219]) by mx1.freebsd.org (Postfix) with ESMTP id 9D12313C45D for ; Wed, 19 Dec 2007 03:40:04 +0000 (UTC) (envelope-from nikola.lecic@anthesphoria.net) X-Bogosity: No, tests=bogofilter X-DKIM: Sendmail DKIM Filter v2.3.2 anthesphoria.net lBJ3e0TD078753 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=anthesphoria.net; s=phero; t=1198035605; bh=qhJEGK3ckp816VIsFReZeZ7T5MSkEzM2ZfA91wZue 6o=; l=3665; h=X-Bogosity:Date:From:To:Cc:Subject:Message-ID: In-Reply-To:References:X-Mailer:X-Face:X-Operating-System: Mime-Version:Content-Type:Content-Transfer-Encoding; b=ikHVB2kT0yf /NSUo3qqQwmBPgQxUQplJko1WjTIgM+PcKW/NNbxB+bHDJ73P3kjil1st50PjPQnVYd ip2MkHJWN1rajmDK1nCKIEA4+0t+nG67WBRquNfrG4nMnG06WSMREIMHNDZxUqtttTM NxkOxu8/nBIT1EHCr8yw/2ED4s= Received: from anthesphoria.net (adsl-217-143.eunet.yu [213.198.217.143]) (authenticated bits=0) by anthesphoria.net (8.14.1/8.14.1) with ESMTP id lBJ3e0TD078753 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 19 Dec 2007 04:40:03 +0100 (CET) (envelope-from nikola.lecic@anthesphoria.net) Date: Wed, 19 Dec 2007 04:39:51 +0100 From: Nikola =?UTF-8?B?TGXEjWnEhw==?= To: "Snow Mountains" Message-ID: <20071219043951.58ee4e50@anthesphoria.net> In-Reply-To: <3cf9f8920712181854p1b498d8cve22e5bcdc0ad9fc7@mail.gmail.com> References: <3cf9f8920712132115q341401dbhec96ca1ae3156432@mail.gmail.com> <20071216165127.64661122@anthesphoria.net> <3cf9f8920712181854p1b498d8cve22e5bcdc0ad9fc7@mail.gmail.com> X-Mailer: Claws Mail 3.1.0 (GTK+ 2.12.1; i386-portbld-freebsd6.2) X-Face: pbl6-.[$G'Fi(Ogs2xlXP-V6{3||$Y[LOYs&~GJoikj'cVjcFC[V7du;;0~6nO= [Vi2?uU1Pq~,=Adj@,T:|"`$AF~il]J.Nz#2pU',Y7.{B;m/?{#sO^Dvo$rnmY6] X-Operating-System: FreeBSD 6.2-RELEASE-p8 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD-questions@FreeBSD.org Subject: Re: Lost FreeBSD slices (labels?) after NetBSD install -- please help!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2007 03:40:05 -0000 On Wed, 19 Dec 2007 03:54:00 +0100 "Snow Mountains" wrote: =20 [...] > Hello and thanks veeeery much for this response and because you > pointed me to right direction - what to read! It took me some time to > run this and to understand always what I am doing, but it seems to > work! >=20 > testdisk gives me sizes that 100% correspond with _partition_ (:)) > proportions I remember (and some nonsenses about tiny FAT partition > somewhere...). dlfind homepage was incredibly useful for me as newbie > in creating BSD partition labels, and I created bsdlabel file, > carefully calculated offsets, I am happy that former ad1s4a is > mountable so that I can read /etc/fstab! Excellent! Just note that you don't need to calculate offsets; you can use asterisk (*) for all offsets from b: (swap) onward; and you can use * as the size of the last partition, too. > However I have several questions just to be 100% sure. >=20 > a. swap size: by an accident, I have written swapsize (from swapinfo) > of 1024 1kb blocks; it is slightly different from what I get when I > subtract all partition size from total slice's size (as testdisk > reported). What I should trust? Use the value from swapinfo; swap is just that space (unlike sizes that you see in df(1) output: they are not sizes of partitions). The size of slice: you should anyway _first_ run 'bsdlabel-w /dev/ad1s4' -- it will write initial info and the value for c: will be the value you should use. > b. Do I need just bsdlabel -R -e?=20 You probably typoed, either '-R' or '-e' (=3D 'from file' or 'to edit directly'). However, I believe you should use '-B' as well, because bootstrap code was destroyed too, and you won't be able to boot FreeBSD even with recovered partitions. > Is it safe to experiment? Yes, it is. If you write wrong data, it will just not work. Once you get mountable partitions, please fsck(8) them. > c. What to write as fsize, bsize fsize and bsize are 2048 and 16384 if you used all defaults when installed FreeBSD (read newfs(8)).=20 > and bps/cpg? It is completly confusing for me, bps/cpg explanation > from bsdlabel man page is unclear to me, I see that some people use > all zeros and I can not find a clue in various examples... Hmm, yes... Actually, it seems that they can be calculated by comparing data obtained from 'bsdlabel -A /dev/ad1s4...' (look at the top of the output) and from particular 'newfs -N /dev/ad1s4X' (this command doesn't create new file system but just prints all data about how it would be created) -- but after recovery, of course. Read the entire thread that contains this: http://lists.freebsd.org/pipermail/freebsd-questions/2004-January/031603.= html However, I've never been able to find any info in the docs that exactly explains what algorithm newfs(8) uses for this field... Therefore I believe (although I'm not 100% sure) that the only way to get old bps/cpg data is to=20 (1) dump(8) partitions once they work; (2) "bsdlabel -e" bps/cpg of these partitions to zeros; (3) recreate file systems there (this will write new (true) bps/cpg values); (4) restore(8) filesystems. However, if fsck(8) tells you that filesystems are clear once you recover them, I believe you don't have to worry about this. Maybe some filesystem guru can confirm. (According to this reputable source: http://www.onlamp.com/pub/a/bsd/2002/06/27/Big_Scary_Daemons.html last three values are actually ignored...) --=20 Nikola Le=C4=8Di=C4=87 :: =D0=9D=D0=B8=D0=BA=D0=BE=D0=BB=D0=B0 =D0=9B=D0=B5= =D1=87=D0=B8=D1=9B From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 03:42:40 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C22E16A421 for ; Wed, 19 Dec 2007 03:42:40 +0000 (UTC) (envelope-from brent.jones@otago.ac.nz) Received: from mailhub2.otago.ac.nz (mailhub2.otago.ac.nz [139.80.64.247]) by mx1.freebsd.org (Postfix) with ESMTP id ABC0113C459 for ; Wed, 19 Dec 2007 03:42:39 +0000 (UTC) (envelope-from brent.jones@otago.ac.nz) Received: from its-ex-p04.registry.otago.ac.nz (its-ex-p04.registry.otago.ac.nz [10.4.15.133]) by mailhub2.otago.ac.nz (8.13.8/8.13.8) with ESMTP id lBJ3gbms024139; Wed, 19 Dec 2007 16:42:37 +1300 Received: from its-ex-p05.registry.otago.ac.nz ([10.4.15.134]) by its-ex-p04.registry.otago.ac.nz with Microsoft SMTPSVC(6.0.3790.3959); Wed, 19 Dec 2007 16:42:37 +1300 Received: from MAIL1.registry.otago.ac.nz ([10.4.15.129]) by its-ex-p05.registry.otago.ac.nz with Microsoft SMTPSVC(6.0.3790.3959); Wed, 19 Dec 2007 16:42:36 +1300 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Wed, 19 Dec 2007 16:42:36 +1300 Message-ID: <31AE442CCBC1094ABC40CE85B0149F063AC8DE@MAIL1.registry.otago.ac.nz> In-Reply-To: <47688E99.4050802@pacific.net.sg> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: rough method of cleaning the ports tree Thread-Index: AchB7q4tgFnySb5FT+Gu43UbnWn9jAAAc2Fw References: <47688E99.4050802@pacific.net.sg> From: "Brent Jones" To: "Erich Dollansky" , X-OriginalArrivalTime: 19 Dec 2007 03:42:37.0003 (UTC) FILETIME=[327CE9B0:01C841F1] X-PMX-Version: 5.4.0.320885, Antispam-Engine: 2.5.2.313940, Antispam-Data: 2007.12.18.192138 X-PerlMx-Spam: Gauge=IIIIIII, Probability=7%, Report='BODY_SIZE_400_499 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __IMS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0' Cc: Subject: RE: rough method of cleaning the ports tree X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2007 03:42:40 -0000 =20 > after noticing how large my ports tree grows while compiling,=20 > I thought=20 > of simply deleting it and do a CVSup to get a new one after the=20 > compilation is finished. I, like many, just use the "portsclean" utility to periodically tidy things up, or after manual ports builds if you forget to do a "make clean". Doing this should keep things in check and keep your ports tree from growing. Cheers, Brent From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 03:43:24 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1836016A420 for ; Wed, 19 Dec 2007 03:43:24 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.freebsd.org (Postfix) with ESMTP id EBE7B13C467 for ; Wed, 19 Dec 2007 03:43:23 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from [192.168.2.243] (jn@stealth.jnielsen.net [74.218.226.254]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id lBJ3hMgh054850; Tue, 18 Dec 2007 22:43:22 -0500 (EST) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-questions@freebsd.org Date: Tue, 18 Dec 2007 22:43:55 -0500 User-Agent: KMail/1.9.7 References: <47688E99.4050802@pacific.net.sg> In-Reply-To: <47688E99.4050802@pacific.net.sg> X-Face: #X5#Y*q>F:]zT!DegL3z5Xo'^MN[$8k\[4^3rN~wm=s=Uw(sW}R?3b^*f1Wu*.<=?utf-8?q?of=5F4NrS=0A=09P*M/9CpxDo!D6?=)IY1w<9B1jB; tBQf[RU-R<,I)e"$q7N7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712182243.55376.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on ns1.jnielsen.net X-Virus-Status: Clean Cc: Erich Dollansky Subject: Re: rough method of cleaning the ports tree X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2007 03:43:24 -0000 On Tuesday 18 December 2007, Erich Dollansky wrote: > after noticing how large my ports tree grows while compiling, I thought > of simply deleting it and do a CVSup to get a new one after the > compilation is finished. > > This should be much faster and also should do some kind o > defragmentation. I simply cannot believe that the huge ports tree will > still be very well organised after some months. > > What does the list think of this method? There are at least two better ways of doing this that will take less time and not put unnecessary load on the CVS servers. 1) Delete "work" directories after building ports. If you use the "clean" make target it will do this automatically. I typically do "make install clean" to install the port then delete the work directory in one command. Portupgrade and other tools will generally do this as well. If you already installed a port you can just do "make clean" to get rid of its work directory. If you (suspect that you) have a large number of work directories (either because your builds got interrupted or you forgot to use the "clean" target) you can do something like "find /usr/ports -maxdepth 3 -type d -name work -delete" to get them all in one go. 2) Use WRKDIRPREFIX. I set this in my .cshrc, but you can set it manually or in whatever file is appropriate for your (root) shell. e.g. after doing a "setenv WRKDIRPREFIX /usr/scratch" all of the work directories are created under /usr/scratch/usr/ports// instead of under /usr/ports directly. Whenever I feel like cleaning up I can just "rm -r /usr/scratch/usr/ports" without losing anything. See "man ports" for more information on the port build infrastructure and associated make targets and environment variables. The other thing in the ports collection that tends to take up space is the distfiles directory. If you want to delete it wholesale then go ahead ("rm -r /usr/ports/distfiles"), but it's not uncommon to have multiple ports or multiple revisions of the same port use the same distfile(s), so you'll end up downloading them again and again. I prefer to use the script /usr/ports/Tools/scripts/distclean.sh. Run with a "-f" flag it will automatically delete all distfiles no longer referenced by any port in your ports tree. HTH, JN From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 03:56:38 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5378616A418 for ; Wed, 19 Dec 2007 03:56:38 +0000 (UTC) (envelope-from oceanare@pacific.net.sg) Received: from smtpgate1.pacific.net.sg (smtpgate1.pacific.net.sg [203.120.90.31]) by mx1.freebsd.org (Postfix) with SMTP id 9472E13C469 for ; Wed, 19 Dec 2007 03:56:37 +0000 (UTC) (envelope-from oceanare@pacific.net.sg) Received: (qmail 21715 invoked from network); 19 Dec 2007 03:56:35 -0000 Received: from adsl2.dyn234.pacific.net.sg (HELO P2120.somewherefaraway.com) (oceanare@210.24.234.2) by smtpgate1.pacific.net.sg with ESMTPA; 19 Dec 2007 03:56:34 -0000 Message-ID: <47689660.7040107@pacific.net.sg> Date: Wed, 19 Dec 2007 11:56:16 +0800 From: Erich Dollansky User-Agent: Thunderbird 2.0.0.6 (X11/20070826) MIME-Version: 1.0 To: John Nielsen References: <47688E99.4050802@pacific.net.sg> <200712182243.55376.lists@jnielsen.net> In-Reply-To: <200712182243.55376.lists@jnielsen.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: rough method of cleaning the ports tree X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2007 03:56:38 -0000 Hi, John Nielsen wrote: > On Tuesday 18 December 2007, Erich Dollansky wrote: > > There are at least two better ways of doing this that will take less time > and not put unnecessary load on the CVS servers. this was the main reason for asking. If all would do it, CVSup would be of no help at all. > > 1) Delete "work" directories after building ports. If you use the "clean" > make target it will do this automatically. I typically do "make install This is what I always did but it is also time consuming on slower machines. > 2) Use WRKDIRPREFIX. I set this in my .cshrc, but you can set it manually or I have not noticed this before. This sounds to be the best option. It will result it what I want and still will not put any load on any machine except of mine if I have to rebuild. > See "man ports" for more information on the port build infrastructure and > associated make targets and environment variables. > I do this ones in a while but never noticed or did not understand the use of WRKDIRPREFIX. > The other thing in the ports collection that tends to take up space is the > distfiles directory. If you want to delete it wholesale then go ahead I do the cleaning work manually there. I delete only double entries to avoid additional downloading. > HTH, I think, it really does. Erich From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 04:08:23 2007 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 853EF16A417 for ; Wed, 19 Dec 2007 04:08:23 +0000 (UTC) (envelope-from donxc@verizonmail.com) Received: from fallback.us4.outblaze.com (fallback.us4.outblaze.com [205.158.62.120]) by mx1.freebsd.org (Postfix) with ESMTP id 84D1E13C467 for ; Wed, 19 Dec 2007 04:08:23 +0000 (UTC) (envelope-from donxc@verizonmail.com) Received: from webmail-outgoing.us4.outblaze.com (webmail-outgoing.us4.outblaze.com [205.158.62.67]) by fallback.us4.outblaze.com (Postfix) with ESMTP id 7BE4E1C087D6 for ; Wed, 19 Dec 2007 03:40:54 +0000 (GMT) Received: from unknown (unknown [192.168.8.90]) by webmail-outgoing.us4.outblaze.com (Postfix) with QMQP id 5C3E51800133 for ; Wed, 19 Dec 2007 03:40:54 +0000 (GMT) X-OB-Received: from unknown (205.158.62.86) by wfilter2.us4.outblaze.com; 19 Dec 2007 03:40:54 -0000 Received: by ws3-4.us4.outblaze.com (Postfix, from userid 1001) id 2DFEC23F0DA; Wed, 19 Dec 2007 03:40:54 +0000 (GMT) Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 From: "Donald Creel" To: questions@freebsd.org Date: Tue, 18 Dec 2007 22:40:54 -0500 Received: from [12.218.248.160] by ws3-4.us4.outblaze.com with http for donxc@verizonmail.com; Tue, 18 Dec 2007 22:40:54 -0500 X-Originating-Ip: 12.218.248.160 X-Originating-Server: ws3-4.us4.outblaze.com Message-Id: <20071219034054.2DFEC23F0DA@ws3-4.us4.outblaze.com> Cc: Subject: nfs-pf-umount strangeness X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2007 04:08:23 -0000 I hope this is right place to ask. I noticed strange umount as shown below. Would this be mount problem or rpc problem or even a problem? Script started on Sun Dec 16 11:54:33 2007 [donxc@donslaptop ~]$ su Password: donslaptop# mount -t nfs dons.donxcz:/usr/home/donxc /home/donxc/mntdt [udp] dons.donxcz:/usr/home/donxc: RPCPROG_MNT: RPC: Authentication error;= =20 why =3D Client credential too weak donslaptop# pfctl -d mount -t nfs dons.donxcz:/usr/home/donxc /home/donxc/mntdt donslaptop# cat /root/booty.sh | grep pfctl pfctl -F all -ef /etc/pf.new pfctl -F all -ef /etc/pf.new No ALTQ support in kernel ALTQ related functions disabled rules cleared nat cleared 0 tables deleted. 0 states cleared source tracking entries cleared pf: statistics cleared pf: interface flags reset pf enabled donslaptop# df -h Filesystem Size Used Avail Capacity Mounted on /dev/ad0s1a 496M 82M 374M 18% / devfs 1.0K 1.0K 0B 100% /dev /dev/ad0s1e 496M 49M 407M 11% /tmp /dev/ad0s1f 52G 8.4G 39G 18% /usr /dev/ad0s1d 1.2G 74M 1.0G 7% /var dons.donxcz:/usr/home/donxc 35G 22G 9.8G=20=20=20=20 69% /usr/home/donxc/mntdt donslaptop# umount /home/donxc/mntdt umount: dons.donxcz: RPCMNT_UMOUNT: RPC: Authentication error; why =3D Clie= nt=20 credential too weak donslaptop# df -h Filesystem Size Used Avail Capacity Mounted on /dev/ad0s1a 496M 82M 374M 18% / devfs 1.0K 1.0K 0B 100% /dev /dev/ad0s1e 496M 49M 407M 11% /tmp /dev/ad0s1f 52G 8.4G 39G 18% /usr /dev/ad0s1d 1.2G 74M 1.0G 7% /var donslaptop#=20 donslaptop# ^D exit Script done on Sun Dec 16 11:59:35 2007 Please reply to this email as I am not subscribed to @questions. Thanks --=20 -- you @ usa.com is available and 170 other free domains. Sign up at www.mail.com From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 05:29:00 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B175516A419 for ; Wed, 19 Dec 2007 05:29:00 +0000 (UTC) (envelope-from jekillen@prodigy.net) Received: from smtp116.sbc.mail.sp1.yahoo.com (smtp116.sbc.mail.sp1.yahoo.com [69.147.64.89]) by mx1.freebsd.org (Postfix) with SMTP id 7B29113C468 for ; Wed, 19 Dec 2007 05:29:00 +0000 (UTC) (envelope-from jekillen@prodigy.net) Received: (qmail 41086 invoked from network); 19 Dec 2007 05:29:00 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=prodigy.net; h=Received:X-YMail-OSG:Mime-Version:Content-Transfer-Encoding:Message-Id:Content-Type:To:From:Subject:Date:X-Mailer; b=aam1XpcbvUrE+ICMJ15M6RxiPIX9KO8irq7+Pd40JutbaYapn9pJ28V3qZq00Z5APaiSYpGFvWd8lz8AZVOgBGv3/ezfuFdMiokaUSS+9oiAIeCNlvntNg1pS/QmoOAQRY8M9VYHXElaYamW1YvzsWvKucdWVTEeWkJwkh3aYw0= ; Received: from unknown (HELO ?75.7.236.228?) (jekillen@prodigy.net@75.7.236.228 with plain) by smtp116.sbc.mail.sp1.yahoo.com with SMTP; 19 Dec 2007 05:28:59 -0000 X-YMail-OSG: y4lUz0kVM1lFXKREdR86t32BXe4rYZotS0QW72UAFLj_bfOCDM6dQ0yC2iHkGXp0n1_XRZeCNQ-- Mime-Version: 1.0 (Apple Message framework v622) Content-Transfer-Encoding: 7bit Message-Id: <5a2c16f29fb14c6ffaaad04d4db4e7e5@prodigy.net> Content-Type: text/plain; charset=US-ASCII; format=flowed To: FreeBSD Mailing List From: jekillen Date: Tue, 18 Dec 2007 21:30:34 -0800 X-Mailer: Apple Mail (2.622) Subject: periodic.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2007 05:29:00 -0000 Hello: I copied a periodic.conf file from a v6.0 system to a v6.2 system. Is there any incompatibility that I should be aware of? Thanks In Advance; Jeff K From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 08:24:31 2007 Return-Path: Delivered-To: FreeBSD-Questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3198116A419 for ; Wed, 19 Dec 2007 08:24:31 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.228]) by mx1.freebsd.org (Postfix) with ESMTP id DAC0D13C4D3 for ; Wed, 19 Dec 2007 08:24:30 +0000 (UTC) (envelope-from modulok@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so1347758nzf.13 for ; Wed, 19 Dec 2007 00:24:30 -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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=zZdsbEuYwAX0DOWZHIw1qMnQtyZhs6wUUa5rvRYb4P8=; b=UTnXSxM7aaECm3YpbiONn4n9u2byVFBPuuidSGPZle3QGExSYEWGwIhw3L59q0engq9Rw1q3pjsiW4UscYDm4PLpuL6gtL+uydltsYfE0ZfbsxXBjOFhuQagSM5RLgktfyh0KIawWZ+Xa6qFmUN3Sf3DagseTE7tIABqO1M4OPw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gD/5DpR4azxm6iQI01yY1k13xgwpnsArX9XSEqCPJkePwODUKt9cQzjWXg8KdBGS2Y+kCL3//FvNwPz5JM5yyXGlaHSuDhSHGb8B3kiJwqHCYXVqqGxBgBweOs+WNZ+D06obeRNVbXaPHI7+cn2PIQ2t5nZMZOgkBGLgJXrleH4= Received: by 10.142.133.15 with SMTP id g15mr609524wfd.146.1198052669725; Wed, 19 Dec 2007 00:24:29 -0800 (PST) Received: by 10.70.70.2 with HTTP; Wed, 19 Dec 2007 00:24:29 -0800 (PST) Message-ID: <64c038660712190024q5f26d19dpe0d540c24faa3ca1@mail.gmail.com> Date: Wed, 19 Dec 2007 01:24:29 -0700 From: Modulok To: "Ted Mittelstaedt" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <64c038660712160335x61bc5965m74aa98e5cc5e21af@mail.gmail.com> Cc: FreeBSD-Questions@freebsd.org Subject: Re: Dependencies. (was: "Yikes! FreeBSD samba-3.0.26a_2, 1 is forbidden: "Remote Code Execution...") X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2007 08:24:31 -0000 > For you to ask that question shows without a doubt that it has > been too long since you have sat back, put on Pink Floyd, > taken a few bong hits, and contemplated the Universe. Touch=E9. -Modulok- From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 08:26:30 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1740D16A418 for ; Wed, 19 Dec 2007 08:26:30 +0000 (UTC) (envelope-from gs_stoller@juno.com) Received: from outbound-mail.dca.untd.com (outbound-mail.dca.untd.com [64.136.47.15]) by mx1.freebsd.org (Postfix) with SMTP id C334513C447 for ; Wed, 19 Dec 2007 08:26:29 +0000 (UTC) (envelope-from gs_stoller@juno.com) Received: from webmail01.dca.untd.com (webmail21.dca.untd.com [10.171.12.161]) by smtpout04.dca.untd.com with SMTP id AABDYTV4EAZ35URS for (sender ); Tue, 18 Dec 2007 23:59:00 -0800 (PST) X-UNTD-OriginStamp: /s5f1SIGSI3+WdnoYQ8yRCN3RkVuOy2KcZiLZCTljGLSWDfp2hPUOA== Received: (from gs_stoller@juno.com) by webmail21.dca.untd.com (jqueuemail) id M7BDNH2F; Tue, 18 Dec 2007 23:58:56 PST Received: from [68.192.120.208] by webmail21.dca.untd.com with HTTP: Wed, 19 Dec 2007 07:58:02 GMT X-Originating-IP: [68.192.120.208] Mime-Version: 1.0 From: "gs_stoller@juno.com" Date: Wed, 19 Dec 2007 07:58:02 GMT To: dnelson@allantgroup.com, pigskin_referee@yahoo.com, pigskin_referee@yahoo.com X-Mailer: Webmail Version 4.0 Message-Id: <20071219.025802.17356.0@webmail21.dca.untd.com> X-UOL-TAGLINE: true X-ContentStamp: 1:1:4145589248 X-MAIL-INFO: 2fa431d065991d651dd4991dd1f43df0ade5b091b0e9f9502df9c05959b12d55a9a4d0fd11f9316525d42d99d9d980b9019931 X-UNTD-Peer-Info: 10.171.12.161|webmail21.dca.untd.com|webmail01.dca.untd.com|gs_stoller@juno.com Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Redirecting output X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2007 08:26:30 -0000 Dan Nelson, on Tue, 18 Dec 2007 12:09:44 -0600, wrote and correctly note= d > (I assume you mean >/dev/null 2>&1 ) but later wrote (quoting the previousa sriter >> {command} dev/null 2>&1 which should have been >> {command} >dev/null 2>&1 _____________________________________________________________ Find and download all of your favorite music! Click now! http://thirdpartyoffers.juno.com/TGL2121/fc/Ioyw6i3nBrp9HfImltKP3Neg2FWx= RWDDwyQX7c4K2ui38qPh8OT7pP/ From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 08:54:45 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0DDE16A418 for ; Wed, 19 Dec 2007 08:54:45 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 2983113C457 for ; Wed, 19 Dec 2007 08:54:44 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.14.2/8.14.2) with ESMTP id lBJ8sc3l001031; Wed, 19 Dec 2007 08:54:39 GMT (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4768DC4E.7040204@infracaninophile.co.uk> Date: Wed, 19 Dec 2007 08:54:38 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.9 (X11/20071122) MIME-Version: 1.0 To: jekillen References: <5a2c16f29fb14c6ffaaad04d4db4e7e5@prodigy.net> In-Reply-To: <5a2c16f29fb14c6ffaaad04d4db4e7e5@prodigy.net> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Wed, 19 Dec 2007 08:54:40 +0000 (GMT) X-Virus-Scanned: ClamAV 0.91.2/5177/Wed Dec 19 07:03:02 2007 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on happy-idiot-talk.infracaninophile.co.uk Cc: FreeBSD Mailing List Subject: Re: periodic.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2007 08:54:45 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 jekillen wrote: > I copied a periodic.conf file from a v6.0 system to > a v6.2 system. > Is there any incompatibility that I should be aware of? Assuming you're not talking about /etc/defaults/periodic.conf, then it is unlikely you will have any problems. All that the stuff in periodic.conf does is set values for a number of shell variables. Those only make a difference if any of the periodic scripts refer to them -- otherwise they are harmless. The only thing that could hurt you is if the meaning of a particular variable changed significantly between 6.0 and 6.2. That is something which would not be allowed to happen by the FreeBSD project just as a matter of good engineering practice. Even so, you should sanity check what is set in your /etc/periodic.conf with the entries in /etc/defaults/periodic.conf - -- everything you can set to affect periodic scripts that come with the base system is documented there, and it's fairly well commented so you can work out what changes you need to make easily. Externally supplied periodic scripts usually contain some documentation of their settable variables within themselves. As /etc/periodic.conf should contain only the overrides from the default settings, this is unlikely to be a particularly taxing enterprise. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHaNxO8Mjk52CukIwRCOcDAJ96TPyFJTAEQOm125BIowplFx1kpQCfYmUC FQHg0Q5ArIHmhpUCcT/8PR0= =uVoP -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 09:28:16 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B07AF16A417; Wed, 19 Dec 2007 09:28:16 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mta2.srv.hcvlny.cv.net (mta2.srv.hcvlny.cv.net [167.206.4.197]) by mx1.freebsd.org (Postfix) with ESMTP id 80A7C13C442; Wed, 19 Dec 2007 09:28:16 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from flosoft.no-ip.biz (ool-435559b8.dyn.optonline.net [67.85.89.184]) by mta2.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0JTA00073GX2CO71@mta2.srv.hcvlny.cv.net>; Wed, 19 Dec 2007 03:58:15 -0500 (EST) Received: from flosoft.no-ip.biz (localhost [IPv6:::1]) by flosoft.no-ip.biz (8.14.2/8.14.2) with ESMTP id lBJ8wEh7043928; Wed, 19 Dec 2007 03:58:14 -0500 Date: Wed, 19 Dec 2007 03:58:14 -0500 From: "Aryeh M. Friedman" To: freebsd-java@freebsd.org, "freebsd-questions@freebsd.org" Message-id: <4768DD26.2090004@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7BIT X-Enigmail-Version: 0.95.5 User-Agent: Thunderbird 2.0.0.9 (X11/20071217) Cc: Subject: Java Plugin not working on Firefox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2007 09:28:16 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have jdk1.6 (bootstrapped from diablo 1.5) installed and it works fine for command line/swing apps but dies on applets in firefox 2.0.0.11 (both from ports). I installed the plugin by doing: flosoft# ln -s /usr/local/jdk1.6.0/jre/plugin/amd64/ns7/libjavaplugin_oji.so /usr/local/lib/browser_plugins/ flosoft# nspluginwrapper -v -a -i when I attempt to load an applet (for example http://users.utu.fi/tuiisa/Java/LCSapplet/index.html) I get the following output on the java console: Java Plug-in 1.6.0_03-p3 Using JRE version 1.6.0_03-p3 Java HotSpot(TM) 64-Bit Server VM User home directory = /home/aryeh network: Loading user-defined proxy configuration ... network: Done. network: Loading proxy configuration from Netscape Navigator ... network: Error reading registry file: /home/aryeh/.mozilla/appreg network: Done. network: Loading browser proxy configuration ... network: Done. network: Proxy Configuration: Browser Proxy Configuration - ---------------------------------------------------- c: clear console window f: finalize objects on finalization queue g: garbage collect h: display this help message l: dump classloader list m: print memory usage o: trigger logging p: reload proxy configuration q: hide console r: reload policy configuration s: dump system and deployment properties t: dump thread list v: dump thread stack x: clear classloader cache 0-5: set trace level to - ---------------------------------------------------- basic: New window ID: 1a00e2d basic: Value of xembed: 1 basic: setWindow: call before applet exists:1a00e2d basic: Referencing classloader: sun.plugin.ClassLoaderInfo@5421e554, refcount=1 basic: Added progress listener: sun.plugin.util.GrayBoxPainter@6cd24e3f basic: Loading applet ... basic: Initializing applet ... basic: Starting applet ... basic: completed perf rollup network: Cache entry not found [url: http://users.utu.fi/tuiisa/Java/LCSapplet/LCS.class, version: null] network: Connecting http://users.utu.fi/tuiisa/Java/LCSapplet/LCS.class with proxy=DIRECT network: Cache entry not found [url: http://users.utu.fi/tuiisa/Java/LCSapplet/LCS/class.class, version: null] network: Connecting http://users.utu.fi/tuiisa/Java/LCSapplet/LCS/class.class with proxy=DIRECT load: class LCS.class not found. java.lang.ClassNotFoundException: LCS.class at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:183) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:127) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:626) at sun.applet.AppletPanel.createApplet(AppletPanel.java:780) at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2074) at sun.applet.AppletPanel.runLoader(AppletPanel.java:709) at sun.applet.AppletPanel.run(AppletPanel.java:363) at java.lang.Thread.run(Thread.java:619) Caused by: java.net.ConnectException: Invalid argument at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.Socket.connect(Socket.java:519) at sun.net.NetworkClient.doConnect(NetworkClient.java:155) at sun.net.www.http.HttpClient.openServer(HttpClient.java:394) at sun.net.www.http.HttpClient.openServer(HttpClient.java:529) at sun.net.www.http.HttpClient.(HttpClient.java:233) at sun.net.www.http.HttpClient.New(HttpClient.java:306) at sun.net.www.http.HttpClient.New(HttpClient.java:323) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:788) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:729) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:654) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:977) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373) at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:284) at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:44) at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:173) at java.security.AccessController.doPrivileged(Native Method) at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:170) ... 9 more basic: Exception: java.lang.ClassNotFoundException: LCS.class java.lang.ClassNotFoundException: LCS.class at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:183) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:127) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:626) at sun.applet.AppletPanel.createApplet(AppletPanel.java:780) at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2074) at sun.applet.AppletPanel.runLoader(AppletPanel.java:709) at sun.applet.AppletPanel.run(AppletPanel.java:363) at java.lang.Thread.run(Thread.java:619) Caused by: java.net.ConnectException: Invalid argument at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.Socket.connect(Socket.java:519) at sun.net.NetworkClient.doConnect(NetworkClient.java:155) at sun.net.www.http.HttpClient.openServer(HttpClient.java:394) at sun.net.www.http.HttpClient.openServer(HttpClient.java:529) at sun.net.www.http.HttpClient.(HttpClient.java:233) at sun.net.www.http.HttpClient.New(HttpClient.java:306) at sun.net.www.http.HttpClient.New(HttpClient.java:323) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:788) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:729) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:654) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:977) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373) at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:284) at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:44) at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:173) at java.security.AccessController.doPrivileged(Native Method) at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:170) ... 9 more basic: Stopping applet ... basic: New window ID: 0 basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@6cd24e3f basic: Finding information ... basic: Releasing classloader: sun.plugin.ClassLoaderInfo@5421e554, refcount=0 basic: Caching classloader: sun.plugin.ClassLoaderInfo@5421e554 basic: Current classloader cache size: 1 basic: Done ... basic: Joining applet thread ... basic: Destroying applet ... basic: Disposing applet ... basic: Quiting applet ... basic: Joined applet thread ... - -- Aryeh M. Friedman FloSoft Systems http://www.flosoft-systems.com Developer, not business, friendly -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHaN0mzIOMjAek4JIRAjgNAJ45DbsUO981Wo4IAh3VHNIDMLJMYgCdFOfq Td5q0d/ROkfokfOR+ceAnA8= =71Ug -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 09:40:08 2007 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7003716A41A for ; Wed, 19 Dec 2007 09:40:08 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id 1408813C4D9 for ; Wed, 19 Dec 2007 09:40:07 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id lBJ9e5eC097409; Wed, 19 Dec 2007 01:40:05 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id lBJ9e4K3097408; Wed, 19 Dec 2007 01:40:05 -0800 (PST) (envelope-from kline) Date: Wed, 19 Dec 2007 01:40:04 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20071219094004.GB97245@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 21 of service to the Unix community. Cc: Subject: other folks and Google. [[ pcm0 output from /ddev/sndstat ]] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2007 09:40:08 -0000 Around 23:45, give or take, I searched google with my fouled up output from catenating /dev/sndstat. Surprise; there were some similar complaints. Plus my own I'm portupgrading now after a kernel build and install. I Did have same stuff in /boot/loader.conf as what was in KERNCONF and old kernel. If that breaks stuff, my new kernel may fix. Else i still need help from the hacker/kernel/driver side. the output is: t /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at irq 18 (1p/1r/1v channels duplex default) [pcm0:record:0:dsp0.0]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, 0x00000000 interrupts 0, overruns 0, hfree 4096, sfree 0 [b:4096/2048/2|bs:0/0/0] {hardware} -> feeder_root(0x00000000) -> {userland} [pcm0:play:0:dsp0.1]: spd 48000, fmt 0x10000010, flags 0x00103000, 0x00000000 interrupts 526, underruns 0, ready 0 [b:4096/2048/2|bs:4096/2048/2] {userland} -> feeder_vchan_s16(0x10000010) -> {hardware} pcm0:play:0:dsp0.1[pcm0:virtual:0:dsp0.2]: spd 44100/48000, fmt 0x10000010, flags 0x10000000, 0x00000010 interrupts 0, underruns 0, ready 0 [b:0/2048/0|bs:131072/4096/32] {userland} -> feeder_root(0x10000010) -> feeder_rate(44100 -> 48000) -> {hardware} -- Gary Kline kline@thought.org www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 10:21:25 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76FE516A420 for ; Wed, 19 Dec 2007 10:21:25 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id 21C3F13C4D3 for ; Wed, 19 Dec 2007 10:21:23 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with SMTP id VAA07442; Wed, 19 Dec 2007 21:21:08 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 19 Dec 2007 21:21:07 +1100 (EST) From: Ian Smith To: Baxton Mabhande In-Reply-To: <20071218101249.1CAF516A477@hub.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: (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: Wed, 19 Dec 2007 10:21:25 -0000 On Tue, 18 Dec 2007 11:30:32 +0200 Baxton Mabhande wrote: > 1)What are the three basic types of handheld devices? I give up, what? :) > 2)Which device is used in an environment that needs extended coverage > but backbone access is not practical or is unavailable? Depends on what you mean by 'extended'. > 3)What is the recommended maximum distance that can be bridged > between a Cisco 350 access point and any wireless client? That depends entirely on what sort of antennae are used, at either end, and what obstructions there are between access point and clients. With a pair of high-gain directional antennae pointing at one another with clear line of sight, some tens of km. High-gain directional antennae pointing at a high-gain omnidirectional access point antenna, some km. Indoors or through stands of vegetation (or people :), not far at all. The free online book, 'Wireless Networking in the Developing World', at http://wndw.net/ should provide practical answers to your questions. You may also enjoy http://rip.psg.com/~randy/070228.apricot-dumbo.pdf which shows use of a mixture of wired, satellite and wireless networks. (Please include a descriptive Subject line on messages to FreeBSD lists) Cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 12:40:33 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 326EB16A469 for ; Wed, 19 Dec 2007 12:40:33 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id F20B413C459 for ; Wed, 19 Dec 2007 12:40:32 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 20736 invoked from network); 19 Dec 2007 06:40:32 -0600 Received: from 124-170-40-102.dyn.iinet.net.au (HELO localhost) (124.170.40.102) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 19 Dec 2007 06:40:31 -0600 Date: Wed, 19 Dec 2007 23:39:59 +1100 From: Norberto Meijome To: freebsd-java@freebsd.org Message-ID: <20071219233959.4eadae30@meijome.net> In-Reply-To: <4768DD26.2090004@gmail.com> References: <4768DD26.2090004@gmail.com> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.3; 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: Java Plugin not working on Firefox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2007 12:40:33 -0000 On Wed, 19 Dec 2007 03:58:14 -0500 "Aryeh M. Friedman" wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I have jdk1.6 (bootstrapped from diablo 1.5) installed and it works > fine for command line/swing apps but dies on applets in firefox > 2.0.0.11 (both from ports). I installed the plugin by doing: > Hi Aryeh, (no need to cross post...) have you tried this ? http://lists.freebsd.org/pipermail/freebsd-java/2007-November/006927.html cheers, B > flosoft# ln -s > /usr/local/jdk1.6.0/jre/plugin/amd64/ns7/libjavaplugin_oji.so > /usr/local/lib/browser_plugins/ > flosoft# nspluginwrapper -v -a -i > > when I attempt to load an applet (for example > http://users.utu.fi/tuiisa/Java/LCSapplet/index.html) I get the > following output on the java console: > > Java Plug-in 1.6.0_03-p3 > Using JRE version 1.6.0_03-p3 Java HotSpot(TM) 64-Bit Server VM > User home directory = /home/aryeh > network: Loading user-defined proxy configuration ... > network: Done. > network: Loading proxy configuration from Netscape Navigator ... > network: Error reading registry file: /home/aryeh/.mozilla/appreg > network: Done. > network: Loading browser proxy configuration ... > network: Done. > network: Proxy Configuration: Browser Proxy Configuration > > > - ---------------------------------------------------- > c: clear console window > f: finalize objects on finalization queue > g: garbage collect > h: display this help message > l: dump classloader list > m: print memory usage > o: trigger logging > p: reload proxy configuration > q: hide console > r: reload policy configuration > s: dump system and deployment properties > t: dump thread list > v: dump thread stack > x: clear classloader cache > 0-5: set trace level to > - ---------------------------------------------------- > > basic: New window ID: 1a00e2d > basic: Value of xembed: 1 > basic: setWindow: call before applet exists:1a00e2d > basic: Referencing classloader: sun.plugin.ClassLoaderInfo@5421e554, > refcount=1 > basic: Added progress listener: sun.plugin.util.GrayBoxPainter@6cd24e3f > basic: Loading applet ... > basic: Initializing applet ... > basic: Starting applet ... > basic: completed perf rollup > network: Cache entry not found [url: > http://users.utu.fi/tuiisa/Java/LCSapplet/LCS.class, version: null] > network: Connecting > http://users.utu.fi/tuiisa/Java/LCSapplet/LCS.class with proxy=DIRECT > network: Cache entry not found [url: > http://users.utu.fi/tuiisa/Java/LCSapplet/LCS/class.class, version: null] > network: Connecting > http://users.utu.fi/tuiisa/Java/LCSapplet/LCS/class.class with > proxy=DIRECT > load: class LCS.class not found. > java.lang.ClassNotFoundException: LCS.class > at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:183) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:127) > at java.lang.ClassLoader.loadClass(ClassLoader.java:251) > at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:626) > at sun.applet.AppletPanel.createApplet(AppletPanel.java:780) > at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2074) > at sun.applet.AppletPanel.runLoader(AppletPanel.java:709) > at sun.applet.AppletPanel.run(AppletPanel.java:363) > at java.lang.Thread.run(Thread.java:619) > Caused by: java.net.ConnectException: Invalid argument > at java.net.PlainSocketImpl.socketConnect(Native Method) > at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) > at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) > at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) > at java.net.Socket.connect(Socket.java:519) > at sun.net.NetworkClient.doConnect(NetworkClient.java:155) > at sun.net.www.http.HttpClient.openServer(HttpClient.java:394) > at sun.net.www.http.HttpClient.openServer(HttpClient.java:529) > at sun.net.www.http.HttpClient.(HttpClient.java:233) > at sun.net.www.http.HttpClient.New(HttpClient.java:306) > at sun.net.www.http.HttpClient.New(HttpClient.java:323) > at > sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:788) > at > sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:729) > at > sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:654) > at > sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:977) > at > java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373) > at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:284) > at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:44) > at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:173) > at java.security.AccessController.doPrivileged(Native Method) > at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:170) > ... 9 more > basic: Exception: java.lang.ClassNotFoundException: LCS.class > java.lang.ClassNotFoundException: LCS.class > at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:183) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:127) > at java.lang.ClassLoader.loadClass(ClassLoader.java:251) > at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:626) > at sun.applet.AppletPanel.createApplet(AppletPanel.java:780) > at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2074) > at sun.applet.AppletPanel.runLoader(AppletPanel.java:709) > at sun.applet.AppletPanel.run(AppletPanel.java:363) > at java.lang.Thread.run(Thread.java:619) > Caused by: java.net.ConnectException: Invalid argument > at java.net.PlainSocketImpl.socketConnect(Native Method) > at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) > at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) > at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) > at java.net.Socket.connect(Socket.java:519) > at sun.net.NetworkClient.doConnect(NetworkClient.java:155) > at sun.net.www.http.HttpClient.openServer(HttpClient.java:394) > at sun.net.www.http.HttpClient.openServer(HttpClient.java:529) > at sun.net.www.http.HttpClient.(HttpClient.java:233) > at sun.net.www.http.HttpClient.New(HttpClient.java:306) > at sun.net.www.http.HttpClient.New(HttpClient.java:323) > at > sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:788) > at > sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:729) > at > sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:654) > at > sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:977) > at > java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373) > at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:284) > at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:44) > at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:173) > at java.security.AccessController.doPrivileged(Native Method) > at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:170) > ... 9 more > basic: Stopping applet ... > basic: New window ID: 0 > basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@6cd24e3f > basic: Finding information ... > basic: Releasing classloader: sun.plugin.ClassLoaderInfo@5421e554, > refcount=0 > basic: Caching classloader: sun.plugin.ClassLoaderInfo@5421e554 > basic: Current classloader cache size: 1 > basic: Done ... > basic: Joining applet thread ... > basic: Destroying applet ... > basic: Disposing applet ... > basic: Quiting applet ... > basic: Joined applet thread ... _________________________ {Beto|Norberto|Numard} Meijome "They never open their mouths without subtracting from the sum of human knowledge." Thomas Brackett Reed I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 13:09:20 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2724316A4FA for ; Wed, 19 Dec 2007 13:09:20 +0000 (UTC) (envelope-from chris@makepeace.net) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.183]) by mx1.freebsd.org (Postfix) with ESMTP id E870C13C459 for ; Wed, 19 Dec 2007 13:09:19 +0000 (UTC) (envelope-from chris@makepeace.net) Received: by wa-out-1112.google.com with SMTP id k17so4881994waf.3 for ; Wed, 19 Dec 2007 05:09:19 -0800 (PST) Received: by 10.115.93.16 with SMTP id v16mr5194699wal.126.1198068240553; Wed, 19 Dec 2007 04:44:00 -0800 (PST) Received: by 10.114.73.13 with HTTP; Wed, 19 Dec 2007 04:44:00 -0800 (PST) Message-ID: <51e6c6060712190444i64b34139lab9990dd168a8652@mail.gmail.com> Date: Wed, 19 Dec 2007 12:44:00 +0000 From: "Chris Makepeace" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Realtek sound driver query X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2007 13:09:20 -0000 I am a Linux distro fiddler who is trying to settle down... Just installed PC-BSD and the ".../dev/dsp could not be opened (no such file or directory)" error appeared. "Mixer cannot be found", says the little panel icon. Sound is supposed to come via an integrated Realtek ACL883 chip on the P965 main board. Realtek themselves have drivers for "Linux (2.4 and 2.6)" and also "RHEL4 update 4". These are tar.bz files; dare I inflict them on my new setup? I dread trying to hack them to fit it. Most other searches end up with Windows drivers only. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 13:25:19 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2018316A418 for ; Wed, 19 Dec 2007 13:25:19 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [195.170.0.93]) by mx1.freebsd.org (Postfix) with ESMTP id A09FD13C44B for ; Wed, 19 Dec 2007 13:25:18 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from atlantis.dyndns.org (athedsl-313216.home.otenet.gr [85.72.79.30]) by aiolos.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id lBJDPEhr021754; Wed, 19 Dec 2007 15:25:16 +0200 Message-ID: <47691BBA.9060205@otenet.gr> Date: Wed, 19 Dec 2007 15:25:14 +0200 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: Chris Makepeace References: <51e6c6060712190444i64b34139lab9990dd168a8652@mail.gmail.com> In-Reply-To: <51e6c6060712190444i64b34139lab9990dd168a8652@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Realtek sound driver query X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2007 13:25:19 -0000 Chris Makepeace wrote: > I am a Linux distro fiddler who is trying to settle down... > > Just installed PC-BSD and the ".../dev/dsp could not be opened (no > such file or directory)" error appeared. "Mixer cannot be found", > says the little panel icon. > > Sound is supposed to come via an integrated Realtek ACL883 chip on the > P965 main board. Realtek themselves have drivers for "Linux (2.4 and > 2.6)" and also "RHEL4 update 4". These are tar.bz files; dare I > inflict them on my new setup? I dread trying to hack them to fit it. > > Most other searches end up with Windows drivers only. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > In short: no don't try it. I don't have an 965P mobo, but my guess is they are using some form of High Definition Audio (azalia) chipset. These usually work with the snd_hda driver, which can be loaded as a module, see instructions here: http://lists.freebsd.org/pipermail/freebsd-questions/2007-August/155261.html I believe PC-BSD has this driver as it is based on 6.2-STABLE (if not you can download the driver from the location mentioned above). Try: cat /dev/sndstat and see if it reports anything. Try loading the driver by hand at the console and see if it reacts (cat /dev/sndstat): kldload snd_hda Also read the specifics on FreeBSD audio driver installation on the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html IIRC, PC-BSD tries to probe all soundcards on startup, so if you have no sound it may well be your card is unsupported. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 14:15:42 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E0AC16A418 for ; Wed, 19 Dec 2007 14:15:42 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id C552A13C4CE for ; Wed, 19 Dec 2007 14:15:41 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from 80-218-191-236.dclient.hispeed.ch ([80.218.191.236] helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1J4yzg-0003yr-Se; Wed, 19 Dec 2007 14:29:52 +0100 Message-ID: <47691C66.6010808@gahr.ch> Date: Wed, 19 Dec 2007 14:28:06 +0100 From: Pietro Cerutti User-Agent: Thunderbird 2.0.0.9 (X11/20071121) MIME-Version: 1.0 To: Chris Makepeace References: <51e6c6060712190444i64b34139lab9990dd168a8652@mail.gmail.com> In-Reply-To: <51e6c6060712190444i64b34139lab9990dd168a8652@mail.gmail.com> X-Enigmail-Version: 0.95.5 OpenPGP: id=9571F78E; url=http://www.gahr.ch/pgp Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig171A7BE8F56E94837DD5FE8F" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gahr.ch X-Source: X-Source-Args: X-Source-Dir: Cc: User Questions Subject: Re: Realtek sound driver query X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2007 14:15:42 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig171A7BE8F56E94837DD5FE8F Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Chris Makepeace wrote: > I am a Linux distro fiddler who is trying to settle down... Good idea ;-) >=20 > Just installed PC-BSD and the ".../dev/dsp could not be opened (no > such file or directory)" error appeared. "Mixer cannot be found", > says the little panel icon. >=20 > Sound is supposed to come via an integrated Realtek ACL883 chip on the > P965 main board. I have the same chip, which is supported by the snd_hda driver. If you have access to the kernel sources, you could try the following: # cd /usr/src/sys/modules/sound/driver/hda/ # make && make install # cd /usr/src/sys/modules/sound/sound # make && make install # kldload snd_hda and see whether something appears on your /var/log/messages and the output of `cat /dev/sndstat` Best, --=20 Pietro Cerutti PGP Public Key: http://gahr.ch/pgp --------------enig171A7BE8F56E94837DD5FE8F 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.7 (FreeBSD) iD8DBQFHaRxxwMJqmJVx944RCsIaAKDB8CNf4foLCCnD1u+8eddNBBQKfACfShP1 r+2xrBSZJkPX9B6lqUWwQhA= =mbwp -----END PGP SIGNATURE----- --------------enig171A7BE8F56E94837DD5FE8F-- From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 14:31:27 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6A6116A418; Wed, 19 Dec 2007 14:31:27 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mta5.srv.hcvlny.cv.net (mta5.srv.hcvlny.cv.net [167.206.4.200]) by mx1.freebsd.org (Postfix) with ESMTP id B2DEB13C45A; Wed, 19 Dec 2007 14:31:27 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from flosoft.no-ip.biz (ool-435559b8.dyn.optonline.net [67.85.89.184]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0JTA00J6RWCAL7U0@mta5.srv.hcvlny.cv.net>; Wed, 19 Dec 2007 09:31:23 -0500 (EST) Received: from flosoft.no-ip.biz (localhost [IPv6:::1]) by flosoft.no-ip.biz (8.14.2/8.14.2) with ESMTP id lBJEVLAg025562; Wed, 19 Dec 2007 09:31:21 -0500 Date: Wed, 19 Dec 2007 09:31:21 -0500 From: "Aryeh M. Friedman" In-reply-to: <20071219233959.4eadae30@meijome.net> To: Norberto Meijome Message-id: <47692B39.2000006@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7BIT X-Enigmail-Version: 0.95.5 References: <4768DD26.2090004@gmail.com> <20071219233959.4eadae30@meijome.net> User-Agent: Thunderbird 2.0.0.9 (X11/20071217) Cc: "freebsd-questions@freebsd.org" , freebsd-java@freebsd.org Subject: Re: Java Plugin not working on Firefox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2007 14:31:28 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Norberto Meijome wrote: > On Wed, 19 Dec 2007 03:58:14 -0500 "Aryeh M. Friedman" > wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >> >> I have jdk1.6 (bootstrapped from diablo 1.5) installed and it >> works fine for command line/swing apps but dies on applets in >> firefox 2.0.0.11 (both from ports). I installed the plugin by >> doing: >> > > Hi Aryeh, (no need to cross post...) > > have you tried this ? > http://lists.freebsd.org/pipermail/freebsd-java/2007-November/006927.html > But netbeans has stopped working now: java.net.BindException: Can't assign requested address at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359) at java.net.ServerSocket.bind(ServerSocket.java:319) at java.net.ServerSocket.(ServerSocket.java:185) at org.netbeans.CLIHandler$Server.(CLIHandler.java:964) at org.netbeans.CLIHandler.initialize(CLIHandler.java:523) at org.netbeans.CLIHandler.initialize(CLIHandler.java:346) at org.netbeans.MainImpl.execute(MainImpl.java:180) at org.netbeans.MainImpl.main(MainImpl.java:75) at org.netbeans.Main.main(Main.java:75) XIO: fatal IO error 0 (Unknown error: 0) on X server ":0.0" after 0 requests (0 known processed) with 0 events remaining. - -- Aryeh M. Friedman FloSoft Systems http://www.flosoft-systems.com Developer, not business, friendly -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHaSs4zIOMjAek4JIRApBkAJ9x4JIp493/sAfzDtUBsF1v7Ge5cACeMhjg Er05NB30QylJIaQ2n/MsCkM= =7ccu -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 15:07:26 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5023916A41A for ; Wed, 19 Dec 2007 15:07:26 +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 1F40913C447 for ; Wed, 19 Dec 2007 15:07:24 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from localhost (localhost [127.0.0.1]) by ezekiel.daleco.biz (8.13.8/8.13.8) with ESMTP id lBJF7FhY087647; Wed, 19 Dec 2007 09:07:15 -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 g8LY3Fw6KzHC; Wed, 19 Dec 2007 09:07:10 -0600 (CST) Received: from archangel.daleco.biz (dsl.daleco.biz [209.125.108.70]) by ezekiel.daleco.biz (8.13.8/8.13.8) with ESMTP id lBJF6oCw087638; Wed, 19 Dec 2007 09:06:51 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <47693385.8060803@daleco.biz> Date: Wed, 19 Dec 2007 09:06:45 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2) Gecko/20070418 SeaMonkey/1.1.1 MIME-Version: 1.0 To: Bin Cheng References: <05AEAB71F81AD8408A534E2038630CC203A84A02@anakin.ironportsystems.com> In-Reply-To: <05AEAB71F81AD8408A534E2038630CC203A84A02@anakin.ironportsystems.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Intel 82566DM-2 support (was: 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: Wed, 19 Dec 2007 15:07:26 -0000 Bin Cheng wrote: > I installed freebsd 6.2 on my IBM desktop. Try to config network > interface. There are no Ethernet card shows. Only have plip0, sl0 and > ppp0 showing. The Onboard Ethernet interface card in my motherboard is > Intel(r) 82566DM-2 Gigabit network. Could you let me know what kinds of > problem is. Is FreeBSD support this card or not? Have you tried adding: if_em_load="YES" to /boot/loader.conf? AFAIK, the card may be detected with the "em" driver, but it may be that em(4) didn't support this card in 6.2. I don't really know; it is/will be supported in 7.X. For an overview, read /usr/src/sys/dev/em/README. HTH, Kevin Kinsey -- If fifty million people say a foolish thing, it's still a foolish thing. -- Bertrand Russell From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 15:23:06 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD65E16A476 for ; Wed, 19 Dec 2007 15:23:06 +0000 (UTC) (envelope-from nuno@fccn.pt) Received: from app03.fccn.pt (app02.fccn.pt [193.137.198.37]) by mx1.freebsd.org (Postfix) with ESMTP id 6154913C458 for ; Wed, 19 Dec 2007 15:23:06 +0000 (UTC) (envelope-from nuno@fccn.pt) Received: from mx.anubis.local (ste [10.1.2.2]) by ste.anubis.internal (Postfix) with ESMTP id D50A319FC4E for ; Wed, 19 Dec 2007 15:05:39 +0000 (WET) Received: from janus (janus.corp.fccn.pt [193.136.44.31]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx.anubis.local (Postfix) with ESMTP id BF74E1B4450 for ; Wed, 19 Dec 2007 15:05:39 +0000 (WET) From: =?iso-8859-1?Q?Nuno_Gon=E7alves?= To: Date: Wed, 19 Dec 2007 15:05:37 -0000 Message-ID: <003e01c84250$9e2b8bd0$1f2c88c1@corp.fccn.pt> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Thread-Index: AchCUJyurtYejPCbToC6DbjDFSoH/w== X-Warning-Anubis: User opted out of Anti-Virus checks X-Warning-Anubis: User opted out of Anti-Spam checks X-Content-Checker: AnubisNetworks MPS Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Bare Metal Recovery FreeBSD How 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: Wed, 19 Dec 2007 15:23:07 -0000 Hi all, =20 I am trying to do a Bare Metal Recovery from a FreeBSD 6.0 system to a different Hardware. I have a backup from all partitions of the affected system so I am = trying to install a minimum FreeBSD 6.0 in a different hardware which I already = have up and running. I created a Swap Partition, a =93/=94 partition where the minimum system = is running, and a third partition =93/backup=94 in which I will restore the = backup through the network. Next step will be to change the boot manager and make it boot through =93/backup=94. =20 Do you guys think this is doable? I Think I probably must recompile the kernel after the bare metal = recovery because the hardware is different, still do you think it might work? What is your opinion on this? What should be the best approach ? Thanks for reading and=20 Best regards=20 =20 Nuno =20 From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 15:29:17 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3DF316A419 for ; Wed, 19 Dec 2007 15:29:17 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 6491613C4E7 for ; Wed, 19 Dec 2007 15:29:17 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.13.8) with ESMTP id lBJFSvmY093860; Wed, 19 Dec 2007 09:28:58 -0600 (CST) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20071219092644.0248f688@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Wed, 19 Dec 2007 09:28:42 -0600 To: Nuno =?iso-8859-1?Q?Gon=E7alves?= , From: Derek Ragona In-Reply-To: <003e01c84250$9e2b8bd0$1f2c88c1@corp.fccn.pt> References: <003e01c84250$9e2b8bd0$1f2c88c1@corp.fccn.pt> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Bare Metal Recovery FreeBSD How 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: Wed, 19 Dec 2007 15:29:17 -0000 At 09:05 AM 12/19/2007, Nuno Gon=E7alves wrote: >Hi all, > > > >I am trying to do a Bare Metal Recovery from a FreeBSD 6.0 system to a >different Hardware. > >I have a backup from all partitions of the affected system so I am trying = to >install a minimum FreeBSD 6.0 in a different hardware which I already have >up and running. > >I created a Swap Partition, a =93/=94 partition where the minimum system is >running, and a third partition =93/backup=94 in which I will restore the b= ackup >through the network. > >Next step will be to change the boot manager and make it boot through >=93/backup=94. > > > >Do you guys think this is doable? > >I Think I probably must recompile the kernel after the bare metal recovery >because the hardware is different, still do you think it might work? > >What is your opinion on this? What should be the best approach ? > >Thanks for reading and > >Best regards > > > >Nuno It depends on your server's partitioning. The simplest would be to create= =20 the same file systems like you had on the old server and restore each=20 filesystem. -Derek --=20 This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 15:29:18 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 337A016A420 for ; Wed, 19 Dec 2007 15:29:18 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mta1.srv.hcvlny.cv.net (mta1.srv.hcvlny.cv.net [167.206.4.196]) by mx1.freebsd.org (Postfix) with ESMTP id 137FA13C4E8 for ; Wed, 19 Dec 2007 15:29:17 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from flosoft.no-ip.biz (ool-435559b8.dyn.optonline.net [67.85.89.184]) by mta1.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0JTA00GGMZ0SHRZ0@mta1.srv.hcvlny.cv.net> for freebsd-questions@freebsd.org; Wed, 19 Dec 2007 10:29:17 -0500 (EST) Received: from flosoft.no-ip.biz (localhost [IPv6:::1]) by flosoft.no-ip.biz (8.14.2/8.14.2) with ESMTP id lBJFTFSl023804; Wed, 19 Dec 2007 10:29:16 -0500 Date: Wed, 19 Dec 2007 10:29:15 -0500 From: "Aryeh M. Friedman" In-reply-to: <003e01c84250$9e2b8bd0$1f2c88c1@corp.fccn.pt> To: =?UTF-8?B?TnVubyBHb27Dp2FsdmVz?= Message-id: <476938CB.9000806@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 8BIT X-Enigmail-Version: 0.95.5 References: <003e01c84250$9e2b8bd0$1f2c88c1@corp.fccn.pt> User-Agent: Thunderbird 2.0.0.9 (X11/20071217) Cc: freebsd-questions@freebsd.org Subject: Re: Bare Metal Recovery FreeBSD How 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: Wed, 19 Dec 2007 15:29:18 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nuno Gonçalves wrote: > Hi all, > > > > I am trying to do a Bare Metal Recovery from a FreeBSD 6.0 system > to a different Hardware. > > I have a backup from all partitions of the affected system so I am > trying to install a minimum FreeBSD 6.0 in a different hardware > which I already have up and running. > > I created a Swap Partition, a “/†partition where the minimum > system is running, and a third partition “/backup†in which I will > restore the backup through the network. > > Next step will be to change the boot manager and make it boot > through “/backupâ€. > > > > Do you guys think this is doable? > > I Think I probably must recompile the kernel after the bare metal > recovery because the hardware is different, still do you think it > might work? If you need to recompile the kernel then you will also have do a build world and rebuild most of the ports. Your better just backing up the data from the old machine and building the new enviroment from scratch then copy it across. An other way is all the data to a spare disk and then just put it in the new machine once it is all setup. BTW unless there is some extremely good reason why your sticking with 6.0 you should consider at 6.3 > > What is your opinion on this? What should be the best approach ? > > Thanks for reading and > > Best regards > > > > Nuno > > > > _______________________________________________ > 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" > - -- Aryeh M. Friedman FloSoft Systems http://www.flosoft-systems.com Developer, not business, friendly -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHaTjLzIOMjAek4JIRApEjAKClfIOmPJ73EBgNAtszCrGaWI93dwCfdeMl bkJffUSYC5jMhA7RB6Y3tXQ= =BMfE -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 16:19:26 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7DBA16A417 for ; Wed, 19 Dec 2007 16:19:26 +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 B542B13C47E for ; Wed, 19 Dec 2007 16:19:26 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id lBJGIaAA045322; Wed, 19 Dec 2007 11:18:36 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id lBJGIZVZ045321; Wed, 19 Dec 2007 11:18:35 -0500 (EST) (envelope-from jerrymc) Date: Wed, 19 Dec 2007 11:18:35 -0500 From: Jerry McAllister To: Erich Dollansky Message-ID: <20071219161835.GA45237@gizmo.acns.msu.edu> References: <47688E99.4050802@pacific.net.sg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47688E99.4050802@pacific.net.sg> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: rough method of cleaning the ports tree X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2007 16:19:27 -0000 On Wed, Dec 19, 2007 at 11:23:05AM +0800, Erich Dollansky wrote: > Hi, > > after noticing how large my ports tree grows while compiling, I thought > of simply deleting it and do a CVSup to get a new one after the > compilation is finished. Your better bet is to move your /usr/ports to your largest filesystem and make a symlink to it. Then you should have enough room to make most things. > This should be much faster and also should do some kind o > defragmentation. I simply cannot believe that the huge ports tree will > still be very well organised after some months. There is no problem with this. It is not Microsloth. ////jerry > > What does the list think of this method? > > Erich > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 16:20:52 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8242616A47C for ; Wed, 19 Dec 2007 16:20:52 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 4F41113C4CE for ; Wed, 19 Dec 2007 16:20:52 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id lBJGK39u045350; Wed, 19 Dec 2007 11:20:03 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id lBJGK3gM045349; Wed, 19 Dec 2007 11:20:03 -0500 (EST) (envelope-from jerrymc) Date: Wed, 19 Dec 2007 11:20:03 -0500 From: Jerry McAllister To: "Aryeh M. Friedman" Message-ID: <20071219162002.GB45237@gizmo.acns.msu.edu> References: <47688E99.4050802@pacific.net.sg> <47689079.4040700@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47689079.4040700@gmail.com> User-Agent: Mutt/1.4.2.2i Cc: Erich Dollansky , freebsd-questions@freebsd.org Subject: Re: rough method of cleaning the ports tree X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2007 16:20:52 -0000 On Tue, Dec 18, 2007 at 10:31:05PM -0500, Aryeh M. Friedman wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Erich Dollansky wrote: > > Hi, > > > > after noticing how large my ports tree grows while compiling, I > > thought of simply deleting it and do a CVSup to get a new one after > > the compilation is finished. > > > > This should be much faster and also should do some kind o > > defragmentation. I simply cannot believe that the huge ports tree > > will still be very well organised after some months. > > > > What does the list think of this method? > > Even though it will take quite a bit longer you should just do a "make > distclean" in /usr/ports that way anything you hand modified will be > retained (also you might want to consider keeping a local cvs > repository if this is an issue) That's a good idea too. But, it might not do enough. So, still consider moving /usr/ports. ////jerry > > - -- > Aryeh M. Friedman > FloSoft Systems > http://www.flosoft-systems.com > Developer, not business, friendly > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.4 (FreeBSD) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFHaJB5zIOMjAek4JIRAqJxAKCdc0XT4T2YPWOWj2CxzaMY26vdLgCfUvs9 > D42DFTYQ2LV+rIhUKYNOBRc= > =3/I8 > -----END PGP SIGNATURE----- > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 16:34:51 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9084316A41A for ; Wed, 19 Dec 2007 16:34:51 +0000 (UTC) (envelope-from oceanare@pacific.net.sg) Received: from smtpgate1.pacific.net.sg (smtpgate1.pacific.net.sg [203.120.90.31]) by mx1.freebsd.org (Postfix) with SMTP id D369513C442 for ; Wed, 19 Dec 2007 16:34:50 +0000 (UTC) (envelope-from oceanare@pacific.net.sg) Received: (qmail 20923 invoked from network); 19 Dec 2007 16:34:49 -0000 Received: from adsl2.dyn234.pacific.net.sg (HELO P2120.somewherefaraway.com) (oceanare@210.24.234.2) by smtpgate1.pacific.net.sg with ESMTPA; 19 Dec 2007 16:34:48 -0000 Message-ID: <47694810.6020106@pacific.net.sg> Date: Thu, 20 Dec 2007 00:34:24 +0800 From: Erich Dollansky User-Agent: Thunderbird 2.0.0.6 (X11/20070826) MIME-Version: 1.0 To: Jerry McAllister References: <47688E99.4050802@pacific.net.sg> <47689079.4040700@gmail.com> <20071219162002.GB45237@gizmo.acns.msu.edu> In-Reply-To: <20071219162002.GB45237@gizmo.acns.msu.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "Aryeh M. Friedman" , freebsd-questions@freebsd.org Subject: Re: rough method of cleaning the ports tree X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2007 16:34:51 -0000 Hi, Jerry McAllister wrote: > On Tue, Dec 18, 2007 at 10:31:05PM -0500, Aryeh M. Friedman wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Erich Dollansky wrote: >>> after noticing how large my ports tree grows while compiling, I >>> thought of simply deleting it and do a CVSup to get a new one after >>> the compilation is finished. >>> >>> This should be much faster and also should do some kind o >>> defragmentation. I simply cannot believe that the huge ports tree >>> will still be very well organised after some months. >>> >>> What does the list think of this method? >> Even though it will take quite a bit longer you should just do a "make >> distclean" in /usr/ports that way anything you hand modified will be >> retained (also you might want to consider keeping a local cvs >> repository if this is an issue) > > That's a good idea too. > But, it might not do enough. So, still consider moving /usr/ports. > it does what I really want. I do not have a space problem. I simply want to get rid of the stuff which is not really needed. A make clean takes to long. Erich From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 16:59:03 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 199D416A502 for ; Wed, 19 Dec 2007 16:59:03 +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 B5F1C13C465 for ; Wed, 19 Dec 2007 16:59:02 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from localhost (localhost [127.0.0.1]) by ezekiel.daleco.biz (8.13.8/8.13.8) with ESMTP id lBJGwodj089667; Wed, 19 Dec 2007 10:58:50 -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 QGd6dywtB+Hh; Wed, 19 Dec 2007 10:58:44 -0600 (CST) Received: from archangel.daleco.biz (dsl.daleco.biz [209.125.108.70]) by ezekiel.daleco.biz (8.13.8/8.13.8) with ESMTP id lBJGvkFq089651; Wed, 19 Dec 2007 10:57:47 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <47694D85.7020903@daleco.biz> Date: Wed, 19 Dec 2007 10:57:41 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2) Gecko/20070418 SeaMonkey/1.1.1 MIME-Version: 1.0 To: =?windows-1252?Q?Nuno_Gon=E7alves?= References: <003e01c84250$9e2b8bd0$1f2c88c1@corp.fccn.pt> In-Reply-To: <003e01c84250$9e2b8bd0$1f2c88c1@corp.fccn.pt> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: Bare Metal Recovery FreeBSD How 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: Wed, 19 Dec 2007 16:59:03 -0000 Nuno Gonçalves wrote: > I am trying to do a Bare Metal Recovery from a FreeBSD 6.0 system to a > different Hardware. > > I have a backup from all partitions of the affected system so I am trying to > install a minimum FreeBSD 6.0 in a different hardware which I already have > up and running. What kind of backup? Is it a dump(8) file? > I created a Swap Partition, a “/” partition where the minimum system is > running, and a third partition “/backup” in which I will restore the backup > through the network. > > Next step will be to change the boot manager and make it boot through > “/backup”. > > Do you guys think this is doable? > > I Think I probably must recompile the kernel after the bare metal recovery > because the hardware is different, still do you think it might work? Did the kernel have a lot of customization? A GENERIC kernel should boot on almost anything --- which is why "bare metal recovery" seems a misnomer to me. If the hard disk survives, I simply stick it in another box and rarely have any difficulties. If it doesn't, I do a minimal install with the desired final slice/partition scheme on the new HDD, and simply restore(8) over the top. > What is your opinion on this? What should be the best approach ? Well, I don't know your exact situation, but OOTOMH, the partitioning scheme you mention seems like wasting a disk unless you want the final system to have only /, swap, and /backup. Which could be OK, I guess, but isn't the traditional BSD Right Way(tm). Also, I'd consider installing a newer release than 6.0, and only restoring the important stuff. Again, it depends on your situation. My $.02, Kevin Kinsey -- You have been in Afghanistan, I perceive. -- Sherlock Holmes, A Study in Scarlet From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 17:19:31 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFE8D16A419 for ; Wed, 19 Dec 2007 17:19:31 +0000 (UTC) (envelope-from nuno@fccn.pt) Received: from app03.fccn.pt (app02.fccn.pt [193.137.198.37]) by mx1.freebsd.org (Postfix) with ESMTP id 48EEE13C4D9 for ; Wed, 19 Dec 2007 17:19:31 +0000 (UTC) (envelope-from nuno@fccn.pt) Received: from mx.anubis.local (ste [10.1.2.2]) by ste.anubis.internal (Postfix) with ESMTP id 745A619FC4C; Wed, 19 Dec 2007 17:19:29 +0000 (WET) Received: from janus (janus.corp.fccn.pt [193.136.44.31]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx.anubis.local (Postfix) with ESMTP id 36CC81B4450; Wed, 19 Dec 2007 17:19:29 +0000 (WET) From: =?iso-8859-1?Q?Nuno_Gon=E7alves?= To: "'Kevin Kinsey'" References: <003e01c84250$9e2b8bd0$1f2c88c1@corp.fccn.pt> <47694D85.7020903@daleco.biz> Date: Wed, 19 Dec 2007 17:19:24 -0000 Message-ID: <007801c84263$4fdb5970$1f2c88c1@corp.fccn.pt> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <47694D85.7020903@daleco.biz> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Thread-Index: AchCYHeL357Fzu/uTm64mEMntz7O3QAAGnEQ X-Warning-Anubis: User opted out of Anti-Virus checks X-Warning-Anubis: User opted out of Anti-Spam checks X-Content-Checker: AnubisNetworks MPS Cc: freebsd-questions@freebsd.org Subject: RE: Bare Metal Recovery FreeBSD How 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: Wed, 19 Dec 2007 17:19:31 -0000 Thank you all on responding this mater. Well the situation is the hardware is wrecked! So the only thing that I = have is the content of all partitions available. The backup is a tar = uncompressed data. So I have the contents in a server. So the objective is to use a completely different hardware but with the = same kernel, same configurations, same partitions, etc. In that way, what I thought (but I don't know if it is the proper way) was to install a = minimum freeBSD (same version which is 6.0) with the following partitions and booting with F1 option: /dev/ad1s1b none swap sw 0 = 0 /dev/ad1s1a / ufs rw 1 = 1 /dev/ad1s1d /new_root ufs rw 2 = 2 /dev/ad1s1e /archive ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 = 0 Then migrate the partions that I have in my backup / -> to partition /new_root (/dev/ad1s1d) at the end this should be = changed to /dev/ad1s1a /archive -> to partition /archive (/dev/ad1s1e) The idea is to make use of the same swap partition, and of course if all goes OK the partition / of the minimum system is lost when bootManager = is changed to boot on /new_root. That is what I have in mind but I am not sure if it will work. I am new to FreeBSD and I am more used to red hat, still I am putting = some effort to change that :) Best regards and thanks once again Nuno -----Original Message----- From: Kevin Kinsey [mailto:kdk@daleco.biz]=20 Sent: quarta-feira, 19 de Dezembro de 2007 16:58 To: Nuno Gon=E7alves Cc: freebsd-questions@freebsd.org Subject: Re: Bare Metal Recovery FreeBSD How To Nuno Gon=E7alves wrote: > I am trying to do a Bare Metal Recovery from a FreeBSD 6.0 system to a > different Hardware. >=20 > I have a backup from all partitions of the affected system so I am = trying to > install a minimum FreeBSD 6.0 in a different hardware which I already = have > up and running. What kind of backup? Is it a dump(8) file? =20 > I created a Swap Partition, a =93/=94 partition where the minimum = system is > running, and a third partition =93/backup=94 in which I will restore = the backup > through the network. >=20 > Next step will be to change the boot manager and make it boot through > =93/backup=94. >=20 > Do you guys think this is doable? >=20 > I Think I probably must recompile the kernel after the bare metal = recovery > because the hardware is different, still do you think it might work? Did the kernel have a lot of customization? A GENERIC kernel should boot on almost anything --- which is why "bare metal recovery" seems=20 a misnomer to me. If the hard disk survives, I simply stick it in=20 another box and rarely have any difficulties. If it doesn't, I do a minimal install with the desired final slice/partition scheme on=20 the new HDD, and simply restore(8) over the top. > What is your opinion on this? What should be the best approach ? Well, I don't know your exact situation, but OOTOMH, the partitioning scheme you mention seems like wasting a disk unless you want the final system to have only /, swap, and /backup. Which could be OK, I guess, but isn't the traditional BSD Right Way(tm). Also, I'd consider installing a newer release than 6.0, and only restoring the important stuff. Again, it depends on your situation. My $.02, Kevin Kinsey --=20 You have been in Afghanistan, I perceive. -- Sherlock Holmes, A Study in Scarlet From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 17:53:28 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C9EB16A41A for ; Wed, 19 Dec 2007 17:53:28 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (dsl092-078-145.bos1.dsl.speakeasy.net [66.92.78.145]) by mx1.freebsd.org (Postfix) with ESMTP id 0220013C4D5 for ; Wed, 19 Dec 2007 17:53:27 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id 2181428434; Wed, 19 Dec 2007 12:53:26 -0500 (EST) To: Nomad References: From: Lowell Gilbert Date: Wed, 19 Dec 2007 12:53:26 -0500 In-Reply-To: (Nomad's message of "Tue\, 18 Dec 2007 12\:14\:45 -0600") Message-ID: <441w9ir2p5.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Updating/patching network card driver? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2007 17:53:28 -0000 Nomad writes: > I installed FreeBSD 6.2 on my computer but the network card (bge) wasn't > detected properly. On troubleshooting the problem I found the driver for > this family of NICs isn't appropriate to my particular release. I would > prefer to stay with the RELEASE branch but found an updated > driver. In updating the driver, is it sufficient to replace the > contents of /usr/src/sys/dev/bge with the updated version and then > rebuild the kernel? It might be; trying it may be the easiest way to find out. If you're going to use unsupported upgrades, though, there isn't much reason to stick to release codebase. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 17:56:52 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4C0816A473 for ; Wed, 19 Dec 2007 17:56:52 +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 737EB13C4E9 for ; Wed, 19 Dec 2007 17:56:52 +0000 (UTC) (envelope-from dkelly@Grumpy.DynDNS.org) Received: (qmail 12854 invoked by uid 0); 19 Dec 2007 17:28:46 -0000 Received: from unknown (HELO Grumpy.DynDNS.org) (216.186.148.249) by smtp2.knology.net with SMTP; 19 Dec 2007 17:28:46 -0000 Received: by Grumpy.DynDNS.org (Postfix, from userid 928) id 7EE7F2840A; Wed, 19 Dec 2007 11:28:46 -0600 (CST) Date: Wed, 19 Dec 2007 11:28:46 -0600 From: David Kelly To: Erich Dollansky Message-ID: <20071219172846.GB69360@Grumpy.DynDNS.org> References: <47688E99.4050802@pacific.net.sg> <47689079.4040700@gmail.com> <20071219162002.GB45237@gizmo.acns.msu.edu> <47694810.6020106@pacific.net.sg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47694810.6020106@pacific.net.sg> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: rough method of cleaning the ports tree X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2007 17:56:53 -0000 On Thu, Dec 20, 2007 at 12:34:24AM +0800, Erich Dollansky wrote: > >>Even though it will take quite a bit longer you should just do a > >>"make distclean" in /usr/ports that way anything you hand modified > >>will be retained (also you might want to consider keeping a local > >>cvs repository if this is an issue) > > > >That's a good idea too. > >But, it might not do enough. So, still consider moving /usr/ports. > > > it does what I really want. I do not have a space problem. I simply > want to get rid of the stuff which is not really needed. Tuning in late but this seems appropriate: Remove all the temporary work files, and remove all distribution files that are not current with the ports' Makefiles: # portsclean -CD Requires the portupgrade port. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 18:32:29 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E5BE16A418 for ; Wed, 19 Dec 2007 18:32:29 +0000 (UTC) (envelope-from noc@hdk5.net) Received: from guam10.hdk5.net (guam10.hdk5.net [66.180.132.235]) by mx1.freebsd.org (Postfix) with ESMTP id 2AAE213C4CC for ; Wed, 19 Dec 2007 18:32:28 +0000 (UTC) (envelope-from noc@hdk5.net) Received: from [192.168.1.29] (unknown [66.180.149.18]) by guam10.hdk5.net (Postfix) with ESMTP id 463225C22; Wed, 19 Dec 2007 08:33:47 -1000 (HST) Message-ID: <476963BB.5030504@hdk5.net> Date: Wed, 19 Dec 2007 08:32:27 -1000 From: NetOpsCenter User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.9) Gecko/20061211 FreeBSD/i386 SeaMonkey/1.0.7 MIME-Version: 1.0 To: Kevin Kinsey References: <003e01c84250$9e2b8bd0$1f2c88c1@corp.fccn.pt> <47694D85.7020903@daleco.biz> In-Reply-To: <47694D85.7020903@daleco.biz> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org, =?windows-1252?Q?Nuno_Gon=E7alves?= Subject: Re: Bare Metal Recovery FreeBSD How To X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noc@hdk5.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2007 18:32:29 -0000 Kevin Kinsey wrote: > Nuno Gonçalves wrote: > >> I am trying to do a Bare Metal Recovery from a FreeBSD 6.0 system to a >> different Hardware. >> >> I have a backup from all partitions of the affected system so I am >> trying to >> install a minimum FreeBSD 6.0 in a different hardware which I already >> have >> up and running. > > What kind of backup? Is it a dump(8) file? > >> I created a Swap Partition, a “/” partition where the minimum system is >> running, and a third partition “/backup” in which I will restore the >> backup >> through the network. >> >> Next step will be to change the boot manager and make it boot through >> “/backup”. >> >> Do you guys think this is doable? >> >> I Think I probably must recompile the kernel after the bare metal >> recovery >> because the hardware is different, still do you think it might work? > > Did the kernel have a lot of customization? A GENERIC kernel should > boot on almost anything --- which is why "bare metal recovery" seems a > misnomer to me. If the hard disk survives, I simply stick it in > another box and rarely have any difficulties. If it doesn't, I do > a minimal install with the desired final slice/partition scheme on the > new HDD, and simply restore(8) over the top. > >> What is your opinion on this? What should be the best approach ? > > Well, I don't know your exact situation, but OOTOMH, the partitioning > scheme you mention seems like wasting a disk unless you want the > final system to have only /, swap, and /backup. Which could be > OK, I guess, but isn't the traditional BSD Right Way(tm). > > Also, I'd consider installing a newer release than 6.0, and only > restoring the important stuff. Again, it depends on your situation. > > My $.02, > > Kevin Kinsey I agree with Kevin. If the HD is ok just stick it in a new box and it will work with most current motherboards. I have done this many times. All you may have to re configure is your network if the nic on the new box is different. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + noc@hdk5.net + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* + "All that's really worth doing is what we do for others."- Lewis Carrol From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 18:59:44 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A0EC16A419 for ; Wed, 19 Dec 2007 18:59:44 +0000 (UTC) (envelope-from timothyk@wallnet.com) Received: from mail-gw5.njit.edu (mail.njit.edu [128.235.251.173]) by mx1.freebsd.org (Postfix) with ESMTP id E2B5E13C4E7 for ; Wed, 19 Dec 2007 18:59:43 +0000 (UTC) (envelope-from timothyk@wallnet.com) Received: from access.smsd.tv (dhcp113-161.njit.edu [128.235.113.161]) by mail-gw5.njit.edu (8.13.8/8.13.8) with ESMTP id lBJIEJCQ025456; Wed, 19 Dec 2007 13:14:19 -0500 (EST) Message-ID: <47695F7D.1040603@wallnet.com> Date: Wed, 19 Dec 2007 13:14:21 -0500 From: Tim Kellers User-Agent: Thunderbird 2.0.0.9 (X11/20071127) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <441w9ir2p5.fsf@be-well.ilk.org> In-Reply-To: <441w9ir2p5.fsf@be-well.ilk.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Nomad Subject: Re: Updating/patching network card driver? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2007 18:59:44 -0000 Lowell Gilbert wrote: > Nomad writes: > > >> I installed FreeBSD 6.2 on my computer but the network card (bge) wasn't >> detected properly. On troubleshooting the problem I found the driver for >> this family of NICs isn't appropriate to my particular release. I would >> prefer to stay with the RELEASE branch but found an updated >> driver. In updating the driver, is it sufficient to replace the >> contents of /usr/src/sys/dev/bge with the updated version and then >> rebuild the kernel? >> > > It might be; trying it may be the easiest way to find out. > If you're going to use unsupported upgrades, though, there isn't much > reason to stick to release codebase. > _______________________________________________ > 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 have the windows .inf, .sys and (maybe) .cat driver files for that network card, you might want to look into ndisgen(8) I haven't used it on wired network interfaces, but it works very well on the NetGear and Linksys wireless cards that have no FreeBSD drivers under 6.2. Tim From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 19:23:13 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2478E16A419 for ; Wed, 19 Dec 2007 19:23:13 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.bluestop.org (muon.bluestop.org [IPv6:2001:41c8:1:548a::2]) by mx1.freebsd.org (Postfix) with ESMTP id C2B7213C4E8 for ; Wed, 19 Dec 2007 19:23:12 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from tau.draftnet (unknown [IPv6:2a01:348:10f:0:240:f4ff:fe57:9871]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.bluestop.org (Postfix) with ESMTP id 5B1773015A; Wed, 19 Dec 2007 19:23:10 +0000 (GMT) Message-ID: <47696F9D.3000503@cran.org.uk> Date: Wed, 19 Dec 2007 19:23:09 +0000 From: Bruce Cran User-Agent: Thunderbird 2.0.0.9 (X11/20071201) MIME-Version: 1.0 To: "Aryeh M. Friedman" References: <47688E99.4050802@pacific.net.sg> <47689079.4040700@gmail.com> In-Reply-To: <47689079.4040700@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Erich Dollansky , freebsd-questions@freebsd.org Subject: Re: rough method of cleaning the ports tree X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2007 19:23:13 -0000 Aryeh M. Friedman wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Erich Dollansky wrote: > >> Hi, >> >> after noticing how large my ports tree grows while compiling, I >> thought of simply deleting it and do a CVSup to get a new one after >> the compilation is finished. >> >> This should be much faster and also should do some kind o >> defragmentation. I simply cannot believe that the huge ports tree >> will still be very well organised after some months. >> >> What does the list think of this method? >> > > Even though it will take quite a bit longer you should just do a "make > distclean" in /usr/ports that way anything you hand modified will be > retained (also you might want to consider keeping a local cvs > repository if this is an issue) > If you're running a "make [dist]clean" from the top-level directory you probably want to define NOCLEANDEPENDS so it doesn't try and recursively clean each port - i.e run "make NOCLEANDEPENDS=yes distclean". -- Bruce From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 19:33:09 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD46816A418 for ; Wed, 19 Dec 2007 19:33:09 +0000 (UTC) (envelope-from jorn@wcborstel.com) Received: from mail.wcborstel.com (www.wcborstel.com [82.93.93.17]) by mx1.freebsd.org (Postfix) with ESMTP id 63A7613C4D1 for ; Wed, 19 Dec 2007 19:33:09 +0000 (UTC) (envelope-from jorn@wcborstel.com) Received: from mail.wcborstel.com (localhost [10.0.0.2]) by mail.wcborstel.com (Postfix) with ESMTP id B366A4335CE; Wed, 19 Dec 2007 20:33:26 +0100 (CET) Received: by mail.wcborstel.com (Postfix, from userid 58) id 6E9AD4335CD; Wed, 19 Dec 2007 20:33:26 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on mail.wcborstel.com X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Report: * -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP * -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] Received: from [10.0.1.26] (unknown [10.0.1.26]) by mail.wcborstel.com (Postfix) with ESMTP id 3A5CE4335CA; Wed, 19 Dec 2007 20:33:23 +0100 (CET) Message-ID: <476971EF.909@wcborstel.com> Date: Wed, 19 Dec 2007 20:33:03 +0100 From: Jorn Argelo User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Eric Crist References: <20071216185050.GB26535@brahma.susmita.org> <9cc0a3fa1d403f16f4fc9b2abb49fb75@mail.wcborstel.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: girishvenkatachalam@gmail.com, freebsd-questions@freebsd.org Subject: Re: (postfix) SPAM filter? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2007 19:33:09 -0000 Eric Crist wrote: > On Dec 17, 2007, at 2:36 AM, Jorn Argelo wrote: > >> >> >> On Mon, 17 Dec 2007 00:20:50 +0530, Girish Venkatachalam >> wrote: >>> On 14:48:35 Dec 15, Jorn Argelo wrote: >>>> Greylisting only works so-so nowadays. There was a couple of months it >>> was >>>> very effective, but that is long gone. Spammers aren't stupid, and >>>> they >>>> follow the development of anti-spam techniques as much as e-mail >>>> admins >>> do. >>>> Greylisting is a start, but from my experience it is not nearly >>>> enough. >>>> >>> >>> I have heard this said elsewhere too. >> >> Yes don't rely solely on greylisting unless you're a lucky guy and >> don't get a lot of spam. > > > I hear a lot of people saying that greylisting doesn't work, when I > have actual numbers for my network proving it does. These numbers are > from the first week of May 2007 to today: [snip] I'm not saying it doesn't work. As a matter of fact, we're making effective use of greylisting as well. With spamd you can see the sender address and the HELO for example, so you can make nice scripts of trapping forged e-mail addresses, incorrect HELO commands, empty sender addresses, stuff like that. Just the greylisting process itself is only working so-so in our environment. All I'm saying is that greylisting is a start and not a solution :) But like I said, YMMV. Jorn From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 20:42:44 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2065F16A46B for ; Wed, 19 Dec 2007 20:42:44 +0000 (UTC) (envelope-from ismail@EnderUNIX.org) Received: from istanbul.enderunix.org (freefall.marmara.edu.tr [193.140.143.23]) by mx1.freebsd.org (Postfix) with ESMTP id 064AE13C44B for ; Wed, 19 Dec 2007 20:42:42 +0000 (UTC) (envelope-from ismail@EnderUNIX.org) Received: (qmail 89273 invoked by uid 1040); 19 Dec 2007 20:15:02 -0000 Received: from unknown (HELO ISMAIL) (ismail@127.0.0.1) by 0 with ESMTPA; 19 Dec 2007 20:15:00 -0000 Date: Wed, 19 Dec 2007 22:14:24 +0200 From: Ismail YENIGUL X-Mailer: The Bat! (v3.99.3) Professional Organization: EnderUNIX X-Priority: 3 (Normal) Message-ID: <1605513356.20071219221424@EnderUNIX.org> To: freebsd-database@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1254 Content-Transfer-Encoding: quoted-printable X-SMTP-Filter: SurGATE SMTP Filter Engine Release 1.0.1 http://www.endersys.com X-SurGATE-Result: Clean (Content eval: -4.40 points) Cc: freebsd-questions@freebsd.org Subject: Turkish character sorting on PostgreSQL X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ismail YENIGUL List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2007 20:42:44 -0000 Hello, I am using PostgreSQL 8.2.5 on FreeBSD 6.2. But I have a problem with sorting Turkish characters. They are listed after "z" character. I initialized the PostgreSQL with the following values: initdb -E UNICODE --locale=3Dtr_TR.UTF-8 and initdb -E LATIN5 --locale tr_TR.ISO8859-9 But the result is like the following: SELECT * from test order by name; "id";"name" 1;"aa" 3;"dd" 6;"mm" 5;"zz" 2;"=E7=E7" 4;"=FE" There is no problem on Linux with the same data. How can I solve this problem? Thanks. =20 --=20 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + http://www.enderunix.org/ismail http://www.endersys.com.tr + + EnderUNIX SDT @ Tr Endersys Consultancy Ltd. + + ismail ~ enderunix.org ismail.yenigul ~ endersys.com.tr + + Volunteer, Core Team Member Project Manager + +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 20:43:03 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B706A16A418 for ; Wed, 19 Dec 2007 20:43:03 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id 602E813C478 for ; Wed, 19 Dec 2007 20:43:03 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id lBJKh27q002773; Wed, 19 Dec 2007 12:43:02 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id lBJKh1EX002772; Wed, 19 Dec 2007 12:43:01 -0800 (PST) (envelope-from kline) Date: Wed, 19 Dec 2007 12:43:01 -0800 From: Gary Kline To: Gary Kline Message-ID: <20071219204301.GA2754@thought.org> References: <20071219094004.GB97245@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071219094004.GB97245@thought.org> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 21 of service to the Unix community. Cc: FreeBSD Mailing List Subject: Bad audio card. (was: [[ pcm0 output from /ddev/sndstat ]]) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2007 20:43:03 -0000 On Wed, Dec 19, 2007 at 01:40:04AM -0800, Gary Kline wrote: > Well, after trying every trick in the book, it looks like I've got a bad sound card. Sorry for wasting all this bandwidth. gary [ ... ] > > > t /dev/sndstat > FreeBSD Audio Driver (newpcm) > Installed devices: > pcm0: at irq 18 (1p/1r/1v channels duplex default) > [pcm0:record:0:dsp0.0]: spd 0, fmt 0x00000000/0x00000008, flags > 0x00000000, 0x00000000 > interrupts 0, overruns 0, hfree 4096, sfree 0 > [b:4096/2048/2|bs:0/0/0] > {hardware} -> feeder_root(0x00000000) -> {userland} > [pcm0:play:0:dsp0.1]: spd 48000, fmt 0x10000010, flags 0x00103000, > 0x00000000 > interrupts 526, underruns 0, ready 0 [b:4096/2048/2|bs:4096/2048/2] > {userland} -> feeder_vchan_s16(0x10000010) -> {hardware} > pcm0:play:0:dsp0.1[pcm0:virtual:0:dsp0.2]: spd 44100/48000, fmt > 0x10000010, flags 0x10000000, 0x00000010 > interrupts 0, underruns 0, ready 0 [b:0/2048/0|bs:131072/4096/32] > {userland} -> feeder_root(0x10000010) -> feeder_rate(44100 -> > 48000) -> {hardware} > -- > Gary Kline kline@thought.org www.thought.org Public Service Unix > http://jottings.thought.org http://transfinite.thought.org > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 20:56:56 2007 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 769E616A41A for ; Wed, 19 Dec 2007 20:56:56 +0000 (UTC) (envelope-from danm@prime.gushi.org) Received: from prime.gushi.org (prime.gushi.org [72.9.101.130]) by mx1.freebsd.org (Postfix) with ESMTP id 2949313C4CC for ; Wed, 19 Dec 2007 20:56:55 +0000 (UTC) (envelope-from danm@prime.gushi.org) Received: from prime.gushi.org (localhost [127.0.0.1]) by prime.gushi.org (8.14.1/8.14.1) with ESMTP id lBJKupP6023452 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 19 Dec 2007 15:56:54 -0500 (EST) (envelope-from danm@prime.gushi.org) DomainKey-Signature: a=rsa-sha1; s=primegushiorg; d=prime.gushi.org; c=nofws; q=dns; h=received:date:from:to:subject:message-id:mime-version:content-type; b=QfnXoxgKKlal8YvMHFwOIJjnkzK/FGaruTk14bo1EGvWANK6LO55OB5YhhoHg/HE2 xIoA94vfnfFfT8VlEpx5A== Received: (from danm@localhost) by prime.gushi.org (8.14.1/8.13.8/Submit) id lBJKunql023447; Wed, 19 Dec 2007 15:56:49 -0500 (EST) (envelope-from danm) Date: Wed, 19 Dec 2007 15:56:49 -0500 (EST) From: "Dan Mahoney, System Admin" To: questions@freebsd.org Message-ID: <20071219153809.U14513@prime.gushi.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (prime.gushi.org [127.0.0.1]); Wed, 19 Dec 2007 15:56:54 -0500 (EST) Cc: Subject: Notes for a first-time porter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2007 20:56:56 -0000 All, I am thinking of doing a quick port of the "zsu" zone file serial number bumper for FreeBSD. However, I have a couple of questions regarding ports that aren't clear to me, nor do they seem to be in the porter's handbook. 1) What provision is made for when a port's "distsite" is simply "CPAN". Does the ports tree have any kinds of smarts regarding CPAN mirrors, locality, etc? 2) Is freeBSD's bastardization of CPAN files into packages (i.e. the BSDPAN) stuff documented anywhere? 3) Unrelated to my port but I'll ask anyway: I'm vaguely aware that SourceForge has a command-line fetching utility for a while (you could only use it if you were a supporter tho). I'm not sure if this is still the case. At any rate, is there any special provision for local sourceforge mirrors, as above? -Dan Mahoney -- --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --------------------------- From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 22:04:33 2007 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3004916A420 for ; Wed, 19 Dec 2007 22:04:33 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id C905F13C46A for ; Wed, 19 Dec 2007 22:04:32 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id lBJM4Vhg003162 for ; Wed, 19 Dec 2007 14:04:31 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id lBJM4V3b003161 for freebsd-questions@FreeBSD.ORG; Wed, 19 Dec 2007 14:04:31 -0800 (PST) (envelope-from kline) Date: Wed, 19 Dec 2007 14:04:30 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20071219220430.GA3103@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 21 of service to the Unix community. Cc: Subject: what kind of sound card? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2007 22:04:33 -0000 People, It's been quite awhile since I bought my AWE-64, so my question is why kinds of sound cards are good to very-good. I do not need a MIC In, but it'd be nice to have. I only have L and R speakers and a subwoofer. (I see there's a "7.1" configuration!! I'll pass on that:-) Suggestion? And good/bad experiences?? gary -- Gary Kline kline@thought.org www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 22:43:08 2007 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 793CE16A418 for ; Wed, 19 Dec 2007 22:43:08 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from smtp3.utdallas.edu (smtp3.utdallas.edu [129.110.10.49]) by mx1.freebsd.org (Postfix) with ESMTP id 50E0213C448 for ; Wed, 19 Dec 2007 22:43:08 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from utd59514.utdallas.edu (utd59514.utdallas.edu [129.110.3.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp3.utdallas.edu (Postfix) with ESMTP id B3F31654A6 for ; Wed, 19 Dec 2007 16:43:07 -0600 (CST) Date: Wed, 19 Dec 2007 16:43:07 -0600 From: Paul Schmehl To: questions@freebsd.org Message-ID: <59DB212EE0DEF193513C181C@utd59514.utdallas.edu> In-Reply-To: <20071219153809.U14513@prime.gushi.org> References: <20071219153809.U14513@prime.gushi.org> X-Mailer: Mulberry/4.0.8 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: Notes for a first-time porter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2007 22:43:08 -0000 --On Wednesday, December 19, 2007 15:56:49 -0500 "Dan Mahoney, System Admin" wrote: > All, > > I am thinking of doing a quick port of the "zsu" zone file serial number > bumper for FreeBSD. > > However, I have a couple of questions regarding ports that aren't clear to > me, nor do they seem to be in the porter's handbook. > > 1) What provision is made for when a port's "distsite" is simply "CPAN". Does > the ports tree have any kinds of smarts regarding CPAN mirrors, locality, etc? > > 2) Is freeBSD's bastardization of CPAN files into packages (i.e. the BSDPAN) > stuff documented anywhere? > > 3) Unrelated to my port but I'll ask anyway: I'm vaguely aware that > SourceForge has a command-line fetching utility for a while (you could only > use it if you were a supporter tho). I'm not sure if this is still the case. > At any rate, is there any special provision for local sourceforge mirrors, as > above? The easiest way to learn porting (IMHO) is to grep the ports system. So: root@utd59514# grep CPAN www/p5-libwww/* www/p5-libwww/Makefile:MASTER_SITES= ${MASTER_SITE_PERL_CPAN} Or: root@utd59514# grep -r CPAN /usr/ports/Mk/* /usr/ports/Mk/bsd.perl.mk:# Disable AutoInstall from attempting to install from CPAN directly in /usr/ports/Mk/bsd.sites.mk:.if !defined(IGNORE_MASTER_SITE_PERL_CPAN) /usr/ports/Mk/bsd.sites.mk:MASTER_SITE_PERL_CPAN+= \ /usr/ports/Mk/bsd.sites.mk: ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/%SUBDIR%/ \ /usr/ports/Mk/bsd.sites.mk: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%SUBDIR%/ \ /usr/ports/Mk/bsd.sites.mk: ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,lang/perl/CPAN/modules/by-module/&,} \ /usr/ports/Mk/bsd.sites.mk: ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/%SUBDIR%/ \ /usr/ports/Mk/bsd.sites.mk: ftp://ftp.dti.ad.jp/pub/lang/CPAN/modules/by-module/%SUBDIR%/ \ /usr/ports/Mk/bsd.sites.mk: ftp://ftp.sunet.se/pub/lang/perl/CPAN/modules/by-module/%SUBDIR%/ \ /usr/ports/Mk/bsd.sites.mk: ftp://mirror.hiwaay.net/CPAN/modules/by-module/%SUBDIR%/ \ /usr/ports/Mk/bsd.sites.mk: ftp://ftp.mirrorservice.org/sites/ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/%SUBDIR%/ \ /usr/ports/Mk/bsd.sites.mk: ftp://csociety-ftp.ecn.purdue.edu/pub/CPAN/modules/by-module/%SUBDIR%/ \ /usr/ports/Mk/bsd.sites.mk: ftp://ftp.isu.net.sa/pub/CPAN/modules/by-module/%SUBDIR%/ \ /usr/ports/Mk/bsd.sites.mk: ftp://ftp.cs.colorado.edu/pub/perl/CPAN/modules/by-module/%SUBDIR%/ \ /usr/ports/Mk/bsd.sites.mk: ftp://cpan.pop-mg.com.br/pub/CPAN/modules/by-module/%SUBDIR%/ \ /usr/ports/Mk/bsd.sites.mk: ftp://ftp.chg.ru/pub/lang/perl/CPAN/modules/by-module/%SUBDIR%/ \ /usr/ports/Mk/bsd.sites.mk: ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/%SUBDIR%/ \ /usr/ports/Mk/bsd.sites.mk:MASTER_SITES_ABBREVS= CPAN:PERL_CPAN SF:SOURCEFORGE SFE:SOURCEFORGE_EXTENDED \ /usr/ports/Mk/bsd.sites.mk: PERL_CPAN:${PORTNAME:C/-.*//} \ I don't know what you mean by "bastardization", but most, if not all, CPAN ports begin with p5- and then the module follows. For example, Mail::IMAP == p5-Mail-Imap. There may be others, but the only one I know of that doesn't follow that convention is www/p5-libwww. Sourceforge works the same way. root@utd59514# grep SOURCEFORGE security/barnyard/* security/barnyard/Makefile:MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -- Paul Schmehl (pauls@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 22:43:26 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D81D616A417 for ; Wed, 19 Dec 2007 22:43:26 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.235]) by mx1.freebsd.org (Postfix) with ESMTP id A00F313C478 for ; Wed, 19 Dec 2007 22:43:26 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so1525889nzf.13 for ; Wed, 19 Dec 2007 14:43:21 -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:reply-to:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=0sLNyYPBSLH+QfPE5bMIGvEVJrjfyHJCBpPp9u4Bt0w=; b=fKGyud2Pg+1brs+p9A2vmzyfnnBd0oeu1q8VjIklRU/3QPn3EXv4fNEVTHpUItxZGn+bIRC+MPR95KotkY5UjE7bccsj/Z5VZi2qAgAJTBLECoY92Gj27nBXaJvcMdf+eyfwBEa4/nfARbEFH1JbiDsQTiDNrMjIQU0I08lfILs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=ruuG1NShJEsnyiQ2++O0MMgNJ6cHD13o8AAGtCAl4Rey2uF3RK08Sc8TNil6wvvxHp7f+u8wzaNnB9V6DGgJAc3CHQauvm149OIoLuVL24EUuhPmnreamjlyP/tSUaSuYVAoi/mSCCNJywUwMG8C/YEh8mSWUtWK5XnZgJ3eAU4= Received: by 10.142.107.1 with SMTP id f1mr2547012wfc.77.1198104201191; Wed, 19 Dec 2007 14:43:21 -0800 (PST) Received: by 10.142.172.9 with HTTP; Wed, 19 Dec 2007 14:43:21 -0800 (PST) Message-ID: <539c60b90712191443m706d17b7w5afd40f507e2c58b@mail.gmail.com> Date: Wed, 19 Dec 2007 15:43:21 -0700 From: "Steve Franks" Sender: bahamasfranks@gmail.com To: "User Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 3838e9598df92674 Subject: cvsup not getting 'everything' with standard-supfile? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: stevefranks@ieee.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2007 22:43:26 -0000 I see folks talking about building snd_hda on 6.2, but when I cvsup, /usr/src/sys/modules/sound/driver/hda doesn't exist. I'm using an unmodified (except for the url) standard-supfile, which has "src-all" in big letters uncommented at the top, so I find the lack of anything a bit surprising - any ideas? Steve From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 23:02:19 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA5EB16A417 for ; Wed, 19 Dec 2007 23:02:19 +0000 (UTC) (envelope-from ota@animenfo.com) Received: from smtp.unitz.ca (mx1.unitz.ca [69.60.224.6]) by mx1.freebsd.org (Postfix) with ESMTP id 9DF3A13C447 for ; Wed, 19 Dec 2007 23:02:19 +0000 (UTC) (envelope-from ota@animenfo.com) Received: from localhost (localhost [127.0.0.1]) by smtp.unitz.ca (Postfix) with ESMTP id D102D7C1C7C for ; Wed, 19 Dec 2007 17:57:39 -0500 (EST) Received: from smtp.unitz.ca ([127.0.0.1]) by localhost (smtp.unitz.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JEXIjNDDVKS9 for ; Wed, 19 Dec 2007 17:57:38 -0500 (EST) Received: from unitz.ca (dsl-69-60-252-220.unitz.ca [69.60.252.220]) by smtp.unitz.ca (Postfix) with SMTP id 458747C2AB5 for ; Wed, 19 Dec 2007 17:57:38 -0500 (EST) Received: by unitz.ca (nbSMTP-1.00) for uid 1001 ota@animenfo.com; Wed, 19 Dec 2007 18:02:19 -0500 (EST) Date: Wed, 19 Dec 2007 18:02:19 -0500 From: User Ota To: freebsd-questions@freebsd.org Message-ID: <20071219230218.GA10124@noah.ota.homelinux.net> References: <539c60b90712191443m706d17b7w5afd40f507e2c58b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <539c60b90712191443m706d17b7w5afd40f507e2c58b@mail.gmail.com> User-Agent: Mutt/1.4.2.3i Subject: Re: cvsup not getting 'everything' with standard-supfile? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2007 23:02:19 -0000 On Wed, Dec 19, 2007 at 03:43:21PM -0700, Steve Franks wrote: > I see folks talking about building snd_hda on 6.2, but when I cvsup, > /usr/src/sys/modules/sound/driver/hda doesn't exist. I'm using an > unmodified (except for the url) standard-supfile, which has "src-all" > in big letters uncommented at the top, so I find the lack of anything > a bit surprising - any ideas? > > 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" That's odd, I usually get everything in one go (I usually just copy the example files from /usr/share/examples/cvsup - ports-supfile and stable-supfile), chnage the mirror where it gets the source from, and csup it. Is it possible the site you cvsup from doesn't have all the code (not synchronized properly) or that there's some screwup setting on your standard supfile? I'm just throwing ideas out into the wind, but those two possibilies stike me as a possible reason at the time of this writing. Russell Doucette From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 23:12:41 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71E2C16A572 for ; Wed, 19 Dec 2007 23:12:40 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.77]) by mx1.freebsd.org (Postfix) with ESMTP id 8137E13C468 for ; Wed, 19 Dec 2007 23:12:38 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from atlantis.dyndns.org (athedsl-313216.home.otenet.gr [85.72.79.30]) by kane.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id lBJNCane023193; Thu, 20 Dec 2007 01:12:36 +0200 Message-ID: <4769A564.9040807@otenet.gr> Date: Thu, 20 Dec 2007 01:12:36 +0200 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: stevefranks@ieee.org References: <539c60b90712191443m706d17b7w5afd40f507e2c58b@mail.gmail.com> In-Reply-To: <539c60b90712191443m706d17b7w5afd40f507e2c58b@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: User Questions Subject: Re: cvsup not getting 'everything' with standard-supfile? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2007 23:12:41 -0000 Steve Franks wrote: > I see folks talking about building snd_hda on 6.2, but when I cvsup, > /usr/src/sys/modules/sound/driver/hda doesn't exist. I'm using an > unmodified (except for the url) standard-supfile, which has "src-all" > in big letters uncommented at the top, so I find the lack of anything > a bit surprising - any ideas? > > 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" > > > The standard supfile will only get you to 6.2-RELEASE-p9 The snd_hda driver is only present in 6.2-STABLE (use stable-supfile) and, of course 6.3-RC and 7.0-BETA If you do not wish to move to 6.2-STABLE and make buildworld and all this, you may wish to get the ready module for 6.2-RELEASE and load it via /boot/loader.conf More instructions at this older post: http://lists.freebsd.org/pipermail/freebsd-questions/2007-August/155261.html Manolis From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 23:36:35 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA21316A421 for ; Wed, 19 Dec 2007 23:36:35 +0000 (UTC) (envelope-from m.boyarov@bsd.by) Received: from mx1.cybernet.by (mx1.cybernet.by [212.98.164.131]) by mx1.freebsd.org (Postfix) with ESMTP id AE6BE13C4D1 for ; Wed, 19 Dec 2007 23:36:35 +0000 (UTC) (envelope-from m.boyarov@bsd.by) Received: from mx1.cybernet.by (mx1.cybernet.by [127.0.0.10]) by mx1.cybernet.by (Postfix) with ESMTP id 26F5CCDF5BB; Thu, 20 Dec 2007 01:16:03 +0200 (EET) Received: from solar.bsd.by (dragonsoul.aichyna.com [87.252.248.30]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.cybernet.by (Postfix) with ESMTP id C06F1CDF5B8; Thu, 20 Dec 2007 01:16:02 +0200 (EET) Received: by solar.bsd.by (Postfix, from userid 1001) id ADBBB22856; Thu, 20 Dec 2007 01:20:00 +0200 (EET) X-Comment-To: "Steve Franks" To: stevefranks@ieee.org References: <539c60b90712191443m706d17b7w5afd40f507e2c58b@mail.gmail.com> From: m.boyarov@bsd.by (Max N. Boyarov) In-Reply-To: <539c60b90712191443m706d17b7w5afd40f507e2c58b@mail.gmail.com> (Steve Franks's message of "Wed, 19 Dec 2007 15:43:21 -0700") X-Mailer: Gnus v5.11/GNU Emacs 22.1 Date: Thu, 20 Dec 2007 01:19:56 +0200 Message-ID: <86ejdi46hv.fsf@bsd.by> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Virus-Scanned: ClamAV Cc: User Questions Subject: Re: cvsup not getting 'everything' with standard-supfile? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2007 23:36:36 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable >>>>> "SF" =3D=3D Steve Franks writes: SF> I see folks talking about building snd_hda on 6.2, but when I cvsup, SF> /usr/src/sys/modules/sound/driver/hda doesn't exist. I'm using an SF> unmodified (except for the url) standard-supfile, which has "src-all" SF> in big letters uncommented at the top, so I find the lack of anything SF> a bit surprising - any ideas? snd_hda don't present in RELENG_6_2 =2D-=20 Max N. Boyarov --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHaacgXJXgXMoFno8RAq2RAKCS4TUmXhIyLPamWsWp3LMm+3Ac8gCgiHj2 g8RYSr5Y7wWEe4Z1OpBT2gc= =T0UQ -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 23:41:33 2007 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 6886016A468 for ; Wed, 19 Dec 2007 23:41:33 +0000 (UTC) (envelope-from mi@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.freebsd.org (Postfix) with ESMTP id 18EB113C468 for ; Wed, 19 Dec 2007 23:41:32 +0000 (UTC) (envelope-from mi@aldan.algebra.com) Received: from aldan.algebra.com (localhost [127.0.0.1]) by aldan.algebra.com (8.14.1/8.14.1) with ESMTP id lBJNMfcu053072 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 19 Dec 2007 18:22:41 -0500 (EST) (envelope-from mi@aldan.algebra.com) Received: (from mi@localhost) by aldan.algebra.com (8.14.1/8.14.1/Submit) id lBJNMfps053071 for questions@FreeBSD.org; Wed, 19 Dec 2007 18:22:41 -0500 (EST) (envelope-from mi) From: "Mikhail T." Message-Id: <200712192322.lBJNMfps053071@aldan.algebra.com> To: questions@FreeBSD.org Date: Wed, 19 Dec 2007 18:22:41 -0500 (EST) X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7w hJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2007 23:41:33 -0000 Why does not the script below actually ever exit? #!/bin/sh if tail -f /var/log/messages | awk '{print "Exiting"; exit 0}' then echo Exited else echo Failed fi exit 0 Awk exits as advertised, but tail stays around -- even though its stdout is closed... Why? Thanks! -mi From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 23:55:57 2007 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 1FF0416A417 for ; Wed, 19 Dec 2007 23:55:57 +0000 (UTC) (envelope-from jamesh@lanl.gov) Received: from mailwasher.lanl.gov (mailwasher.lanl.gov [204.121.3.2]) by mx1.freebsd.org (Postfix) with ESMTP id 03FC413C4CE for ; Wed, 19 Dec 2007 23:55:56 +0000 (UTC) (envelope-from jamesh@lanl.gov) Received: from localhost (localhost.localdomain [127.0.0.1]) by mailwasher.lanl.gov (Postfix) with ESMTP id 255C0EC85E7; Wed, 19 Dec 2007 16:55:56 -0700 (MST) X-CTN5-Virus-Scanned: amavisd-new at mailwasher.lanl.gov Received: from mailwasher.lanl.gov (localhost.localdomain [127.0.0.1]) by mailwasher.lanl.gov (Postfix) with ESMTP id 10B6BEC862E; Wed, 19 Dec 2007 16:55:56 -0700 (MST) Received: from mailrelay1.lanl.gov (mailrelay1.lanl.gov [128.165.4.101]) by mailwasher.lanl.gov (Postfix) with ESMTP id 0B8F0EC85E7; Wed, 19 Dec 2007 16:55:56 -0700 (MST) Received: from oppie-mail.lanl.gov (oppie-mail.lanl.gov [128.165.4.123]) by mailrelay1.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id lBJNttcp014437; Wed, 19 Dec 2007 16:55:55 -0700 Received: from [128.165.86.60] (p25dual1.lanl.gov [128.165.86.60]) by oppie-mail.lanl.gov (Postfix) with ESMTP id 74EBB1F8003; Wed, 19 Dec 2007 16:55:49 -0700 (MST) From: James Harrison To: "Mikhail T." In-Reply-To: <200712192322.lBJNMfps053071@aldan.algebra.com> References: <200712192322.lBJNMfps053071@aldan.algebra.com> Content-Type: text/plain Organization: Los Alamos National Labs Date: Wed, 19 Dec 2007 16:55:45 -0700 Message-Id: <1198108545.6721.5.camel@p25dual1.lanl.gov> Mime-Version: 1.0 X-Mailer: Evolution 2.8.0 (2.8.0-33.0.1.el5) Content-Transfer-Encoding: 7bit X-CTN-5-MailScanner-Information: Please see http://network.lanl.gov/email/virus-scan.php X-CTN-5-MailScanner: Found to be clean X-CTN-5-MailScanner-From: jamesh@lanl.gov X-Spam-Status: No Cc: questions@freebsd.org Subject: Re: tail does not exit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jamesh@lanl.gov List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2007 23:55:57 -0000 On Wed, 2007-12-19 at 18:22 -0500, Mikhail T. wrote: > #!/bin/sh > > if tail -f /var/log/messages | awk '{print "Exiting"; exit 0}' > then > echo Exited > else > echo Failed > fi > > exit 0 I assume it has something to do with tail -f being used, rather than tail. Is there a reason you want the -f flag? tail -f holds on for dear life until a ctrl-c happens. IT HAS A DEATH GRIP! James From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 00:04:04 2007 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 CC9F316A41A for ; Thu, 20 Dec 2007 00:04:04 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 9403C13C458 for ; Thu, 20 Dec 2007 00:04:04 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 19 Dec 2007 19:04:03 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.8.6-GA) with ESMTP id OEQ35791; Wed, 19 Dec 2007 18:59:02 -0500 (EST) Received: from 209-6-22-188.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.22.188]) by smtp01.lnh.mail.rcn.net with ESMTP; 19 Dec 2007 18:58:00 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18281.45126.494238.520746@jerusalem.litteratus.org> Date: Wed, 19 Dec 2007 18:59:02 -0500 To: jamesh@lanl.gov In-Reply-To: <1198108545.6721.5.camel@p25dual1.lanl.gov> References: <200712192322.lBJNMfps053071@aldan.algebra.com> <1198108545.6721.5.camel@p25dual1.lanl.gov> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr02.lnh.mail.rcn.net) Cc: questions@freebsd.org, "Mikhail T." Subject: Re: tail does not exit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 00:04:04 -0000 James Harrison writes: > tail -f holds on for dear life until a ctrl-c happens. IT HAS A > DEATH GRIP! Agreed. Robert Huff From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 00:06:35 2007 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 D3D7416A476 for ; Thu, 20 Dec 2007 00:06:35 +0000 (UTC) (envelope-from m.boyarov@bsd.by) Received: from mx1.cybernet.by (mail.cybernet.by [212.98.164.131]) by mx1.freebsd.org (Postfix) with ESMTP id 98C2B13C455 for ; Thu, 20 Dec 2007 00:06:35 +0000 (UTC) (envelope-from m.boyarov@bsd.by) Received: from mx1.cybernet.by (mx1.cybernet.by [127.0.0.10]) by mx1.cybernet.by (Postfix) with ESMTP id EC70ACDF5B5; Thu, 20 Dec 2007 01:45:52 +0200 (EET) Received: from solar.bsd.by (dragonsoul.aichyna.com [87.252.248.30]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.cybernet.by (Postfix) with ESMTP id B3B12CDF587; Thu, 20 Dec 2007 01:45:52 +0200 (EET) Received: by solar.bsd.by (Postfix, from userid 1001) id 81FA222856; Thu, 20 Dec 2007 01:49:52 +0200 (EET) X-Comment-To: "Mikhail T." To: "Mikhail T." References: <200712192322.lBJNMfps053071@aldan.algebra.com> From: m.boyarov@bsd.by (Max N. Boyarov) Date: Thu, 20 Dec 2007 01:49:48 +0200 In-Reply-To: <200712192322.lBJNMfps053071@aldan.algebra.com> (Mikhail T.'s message of "Wed, 19 Dec 2007 18:22:41 -0500 (EST)") Message-ID: <86abo64543.fsf@bsd.by> X-Mailer: Gnus v5.11/GNU Emacs 22.1 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Virus-Scanned: ClamAV Cc: questions@FreeBSD.org Subject: Re: tail does not exit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 00:06:35 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable >>>>> "MT" =3D=3D Mikhail T. writes: MT> Why does not the script below actually ever exit? MT> #!/bin/sh MT> if tail -f /var/log/messages | awk '{print "Exiting"; exit 0}' MT> then MT> echo Exited MT> else MT> echo Failed MT> fi MT> exit 0 MT> Awk exits as advertised, but tail stays around -- even though its MT> stdout is closed... Why? ---start quote from man 1 tail--- -f The -f option causes tail to not stop when end of file is reached, but rather to wait for additional data to be appended= to the input. The -f option is ignored if the standard input is a pipe, but not if it is a FIFO. ---end quote--- try without "-f" option =2D-=20 Max N. Boyarov --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHaa4gXJXgXMoFno8RAmfQAJ91OCy3nH4WkzzLvYL5l96kZHdN7wCfTQTK tahyb+GNd6Vj0GwxcsgkZko= =iUog -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 00:09:39 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05E0C16A41A for ; Thu, 20 Dec 2007 00:09:39 +0000 (UTC) (envelope-from jekillen@prodigy.net) Received: from smtp119.sbc.mail.sp1.yahoo.com (smtp119.sbc.mail.sp1.yahoo.com [69.147.64.92]) by mx1.freebsd.org (Postfix) with SMTP id EDADC13C43E for ; Thu, 20 Dec 2007 00:09:38 +0000 (UTC) (envelope-from jekillen@prodigy.net) Received: (qmail 89813 invoked from network); 20 Dec 2007 00:09:38 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=prodigy.net; h=Received:X-YMail-OSG:In-Reply-To:References:Mime-Version:Content-Type:Message-Id:Content-Transfer-Encoding:Cc:From:Subject:Date:To:X-Mailer; b=Of61cvUhmzxKkbt3cahUGHWJo3bTl9RHUwTj0ruc355NS1GWFh4IPAB0vkilUfGXd9hNTDzc8JyRjjGZ0UKYQk/el5hhfeIJh/o0D3K/+1BkCt/xwIAnIMPHCs372bSB7Bv2T1g2ThP/h1qb3Y2k+GG2P1X9xIEtqRfHLABCZ1Q= ; Received: from unknown (HELO ?75.7.236.228?) (jekillen@prodigy.net@75.7.236.228 with plain) by smtp119.sbc.mail.sp1.yahoo.com with SMTP; 20 Dec 2007 00:09:38 -0000 X-YMail-OSG: AKs2EtEVM1mULJhcRJNW4PS2MqQYX00nJk_xJ39fdGkZkFBMGaum1JVgwCEubC8hjqyas8wGhw-- In-Reply-To: <4768DC4E.7040204@infracaninophile.co.uk> References: <5a2c16f29fb14c6ffaaad04d4db4e7e5@prodigy.net> <4768DC4E.7040204@infracaninophile.co.uk> Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <43d0e78d75122eb5c9f18faf0de279f1@prodigy.net> Content-Transfer-Encoding: 7bit From: jekillen Date: Wed, 19 Dec 2007 16:11:14 -0800 To: Matthew Seaman X-Mailer: Apple Mail (2.622) Cc: FreeBSD Mailing List Subject: Re: periodic.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2007 00:09:39 -0000 On Dec 19, 2007, at 12:54 AM, Matthew Seaman wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > jekillen wrote: > >> I copied a periodic.conf file from a v6.0 system to >> a v6.2 system. >> Is there any incompatibility that I should be aware of? > > Assuming you're not talking about /etc/defaults/periodic.conf, then > it is unlikely you will have any problems. All that the stuff in > periodic.conf does is set values for a number of shell variables. > Those only make a difference if any of the periodic scripts refer > to them -- otherwise they are harmless. > > The only thing that could hurt you is if the meaning of a particular > variable changed significantly between 6.0 and 6.2. That is something > which would not be allowed to happen by the FreeBSD project just as a > matter of good engineering practice. > > Even so, you should sanity check what is set in your > /etc/periodic.conf with the entries in /etc/defaults/periodic.conf > - -- everything you can set to affect periodic scripts that come with > the base system is documented there, and it's fairly well commented > so you can work out what changes you need to make easily. Externally > supplied periodic scripts usually contain some documentation of their > settable variables within themselves. As /etc/periodic.conf should > contain only the overrides from the default settings, this is unlikely > to be a particularly taxing enterprise. > > Cheers, > > Matthew > It was just to save some typing. I replaced Sendmail with Postfix on both machines and wanted to copy the periodic changes to the 6.2 system by replacing the whole file with the changes from the 6.0 system. That is it. It seems to be working. That is the only tampering I have done with periodic.conf. No one else uses my machines. Thanks for the info. Jeff K From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 00:33:00 2007 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 4B0D616A41B for ; Thu, 20 Dec 2007 00:33:00 +0000 (UTC) (envelope-from mi+mill@aldan.algebra.com) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.3]) by mx1.freebsd.org (Postfix) with ESMTP id 35FD213C447 for ; Thu, 20 Dec 2007 00:32:59 +0000 (UTC) (envelope-from mi+mill@aldan.algebra.com) Received: (qmail 15661 invoked from network); 20 Dec 2007 00:06:18 -0000 Received: from aldan.algebra.com (HELO aldan-mlp) ([216.254.65.224]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 20 Dec 2007 00:06:18 -0000 From: Mikhail Teterin To: questions@freebsd.org Date: Wed, 19 Dec 2007 19:06:15 -0500 User-Agent: KMail/1.7.1 References: <200712192322.lBJNMfps053071@aldan.algebra.com> <86abo64543.fsf@bsd.by> In-Reply-To: <86abo64543.fsf@bsd.by> Organization: Virtual Estates, Inc. MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-u" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200712191906.16254.mi+mill@aldan.algebra.com> Cc: Subject: Re: tail does not exit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 00:33:00 -0000 Max N. Boyarov: > =9A =9A =9A -f =9A =9A =9AThe -f option causes tail to not stop when end = of file is > =9A =9A =9A =9A =9A =9A =9Areached, but rather to wait for additional dat= a to be appended > to the input. =9AThe -f option is ignored if the standard input is a pipe, > but not if it is a FIFO. Josh Tolbert: > Cause the -f option to tail doesn't work that way. -f always waits for mo= re > input. I know very well about -f waiting for more *input*. What puzzles me, is tha= t=20 tail does not quit, when its *output* is closed. James Harrison: > Is there a reason you want the -f flag? Yes, I want awk to be processing the lines, which are appended to the file,= =20 until it finds, what it is looking for, and exits. I expect tail to go away= ,=20 when its stdout is closed, but it does not. > tail -f holds on for dear life until a ctrl-c happens. IT HAS A DEATH > GRIP! This seems like a bug to me... It should hold on to its input file(s), but= =20 exit peacefully, when its stdout closes. No? -mi From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 00:36:25 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 045D616A419 for ; Thu, 20 Dec 2007 00:36:25 +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 A7A6013C45B for ; Thu, 20 Dec 2007 00:36:24 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.1/8.14.1) with ESMTP id lBK0aNni037647; Wed, 19 Dec 2007 17:36:23 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.1/8.14.1/Submit) with ESMTP id lBK0aNqW037644; Wed, 19 Dec 2007 17:36:23 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 19 Dec 2007 17:36:23 -0700 (MST) From: Warren Block To: Yuri In-Reply-To: <1197752816.476441f06b4b5@webmail.rawbw.com> Message-ID: <20071219173159.S37466@wonkity.com> References: <1197752487.476440a7d31a9@webmail.rawbw.com> <1197752816.476441f06b4b5@webmail.rawbw.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (wonkity.com [127.0.0.1]); Wed, 19 Dec 2007 17:36:23 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: Anybody connected Nikon D300 to FreeBSD as umass? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 00:36:25 -0000 On Sat, 15 Dec 2007, Yuri wrote: > I think I figured out the reason by just looking at the kernel source. > I need to add device vendor/product ids into umass.c. Shouldn't need that. The camera has to have the USB port set to MSC ("Mass Storage") instead of MTP/PTP in the menus. My D40 works that way. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 01:15:27 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20A9816A41A for ; Thu, 20 Dec 2007 01:15:27 +0000 (UTC) (envelope-from eoster@cs.ucla.edu) Received: from smtp-13.smtp.ucla.edu (smtp-13.smtp.ucla.edu [169.232.46.240]) by mx1.freebsd.org (Postfix) with ESMTP id 113A613C455 for ; Thu, 20 Dec 2007 01:15:26 +0000 (UTC) (envelope-from eoster@cs.ucla.edu) Received: from mail.ucla.edu (mail.ucla.edu [169.232.46.157]) by smtp-13.smtp.ucla.edu (8.14.2/8.14.2) with ESMTP id lBK0w7Uu020627 for ; Wed, 19 Dec 2007 16:58:07 -0800 Received: from [192.168.1.103] (c-71-232-97-185.hsd1.ma.comcast.net [71.232.97.185]) (authenticated bits=0) by mail.ucla.edu (8.13.8/8.13.8) with ESMTP id lBK0w5PZ003435 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Wed, 19 Dec 2007 16:58:06 -0800 Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: <9221BB32-8D07-4671-A95C-24F6F5A7F04F@cs.ucla.edu> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: FreeBSD Questions From: Eric Osterweil Date: Wed, 19 Dec 2007 19:58:00 -0500 X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Mailer: Apple Mail (2.752.2) X-Probable-Spam: no X-Spam-Hits: 0.654 X-Spam-Report: SPF_SOFTFAIL X-Scanned-By: smtp.ucla.edu on 169.232.46.240 Subject: Does 6.2 Support VIA EPIA M10000G Nehemiah Mini-ITX? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 01:15:27 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I just installed 6.2 on a VIA EPIA M10000G Nehemiah Mini-ITX. It all seems to have installed fine, but when I try to buildworld I get internal compiler errors almost immediately. The problems are not consistently in the same place but they seem to be for the same reason. Here is the latest output: - -------------------------------------------------------------- >>> stage 1.1: legacy release compatibility shims - -------------------------------------------------------------- cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/tmp INSTALL="sh /usr/ src/tools/install.sh" PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/ obj/us r/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/ bin:/usr/sbin:/usr/bin WORLDTMP=/usr/obj/usr/src/tmp MAKEFLAGS="-m / usr/s rc/tools/build/mk -m /usr/src/share/mk" make -f Makefile.inc1 DESTDIR= BOOTSTRAPPING=602000 -DNO_HTML -DNO_INFO -DNO_LINT - DNO_MAN -DNO_NLS - DNO_PIC -DNO_PROFILE -DNO_SHARED -DNO_CPU_CFLAGS -DNO_WARNS legacy ===> tools/build (obj,includes,depend,all,install) /usr/obj/usr/src/tmp/usr/src/tools/build created for /usr/src/tools/ build cd /usr/src/tools/build; make buildincludes; make installincludes rm -f .depend mkdep -f .depend -a -I/usr/obj/usr/src/tmp/legacy/usr/include /usr/ src/tools/build/dummy.c cc -pipe -I/usr/obj/usr/src/tmp/legacy/usr/include -c /usr/src/tools/ build/dummy.c cc: Internal error: Illegal instruction: 4 (program as) Please submit a full bug report. See for instructions. *** Error code 1 Stop in /usr/src/tools/build. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Thanks in advance, Eric -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFHab4fK/tq6CJjZQIRAv3XAJ4zLgXDFvRgnPeLqfOn8f0phz9H8ACfR5v7 2yheMl+xm9S8JQbtzq8miZM= =vCkU -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 01:18:18 2007 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 BB6D116A417 for ; Thu, 20 Dec 2007 01:18:18 +0000 (UTC) (envelope-from m.boyarov@bsd.by) Received: from mx1.cybernet.by (mail.cybernet.by [212.98.164.131]) by mx1.freebsd.org (Postfix) with ESMTP id 7DF2613C4EE for ; Thu, 20 Dec 2007 01:18:18 +0000 (UTC) (envelope-from m.boyarov@bsd.by) Received: from mx1.cybernet.by (mx1.cybernet.by [127.0.0.10]) by mx1.cybernet.by (Postfix) with ESMTP id 324EBCDF5B5; Thu, 20 Dec 2007 03:14:00 +0200 (EET) Received: from solar.bsd.by (dragonsoul.aichyna.com [87.252.248.30]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.cybernet.by (Postfix) with ESMTP id 6BAD4CDF587; Thu, 20 Dec 2007 03:13:59 +0200 (EET) Received: by solar.bsd.by (Postfix, from userid 1001) id D292522860; Thu, 20 Dec 2007 03:17:56 +0200 (EET) X-Comment-To: Mikhail Teterin To: Mikhail Teterin References: <200712192322.lBJNMfps053071@aldan.algebra.com> <86abo64543.fsf@bsd.by> <200712191906.16254.mi+mill@aldan.algebra.com> From: m.boyarov@bsd.by (Max N. Boyarov) In-Reply-To: <200712191906.16254.mi+mill@aldan.algebra.com> (Mikhail Teterin's message of "Wed, 19 Dec 2007 19:06:15 -0500") X-Mailer: Gnus v5.11/GNU Emacs 22.1 Date: Thu, 20 Dec 2007 03:17:52 +0200 Message-ID: <86r6hixiyn.fsf@bsd.by> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Virus-Scanned: ClamAV Cc: questions@freebsd.org Subject: Re: tail does not exit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 01:18:18 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable >>>>> "MT" =3D=3D Mikhail Teterin writes: MT> Max N. Boyarov: >> =C2=A0 =C2=A0 =C2=A0 -f =C2=A0 =C2=A0 =C2=A0The -f option causes tail t= o not stop when end of file is >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0reached, but rather to = wait for additional data to be appended >> to the input. =C2=A0The -f option is ignored if the standard input is a= pipe, >> but not if it is a FIFO. MT> Josh Tolbert: >> Cause the -f option to tail doesn't work that way. -f always waits for = more >> input. MT> I know very well about -f waiting for more *input*. What puzzles me, i= s that=20 MT> tail does not quit, when its *output* is closed. MT> James Harrison: >> Is there a reason you want the -f flag? MT> Yes, I want awk to be processing the lines, which are appended to the = file,=20 MT> until it finds, what it is looking for, and exits. I expect tail to go= away,=20 MT> when its stdout is closed, but it does not. >> tail -f holds on for dear life until a ctrl-c happens. IT HAS A DEATH >> GRIP! MT> This seems like a bug to me... It should hold on to its input file(s),= but=20 MT> exit peacefully, when its stdout closes. No? tail -f /tmp/foo | awk '{print "$1"} =20 tail write to pipe (reader wait data) (2)=20 reader get data (2a) and exit (2b). action (3) from another console tail write data to pipe again. action (4) from another console tail get SIGPIPE tail exit try to test your script with anoter file and add somthing to it 1) cons1$ touch /tmp/test 2) cons1$ tail -f /tmp/test | awk '{print "Line: " $1 ; exit(0)}END{print= "Bye"}' 2a) Line: Line1 2b) Bye 3) cons2$ echo Line1 >> /tmp/test 4) cons2$ echo Line2 >> /tmp/test =20 =2D-=20 Max N. Boyarov --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHacLEXJXgXMoFno8RAjCzAKDyzZ6YCjXwXJQ1quIMvWcI1NWX0ACfZoPp VEwldRbW5DM4zbZxkQRxAIU= =TD6c -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 01:28:02 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C93B16A418 for ; Thu, 20 Dec 2007 01:28:02 +0000 (UTC) (envelope-from v-alrudy@microsoft.com) Received: from smtp.microsoft.com (mailb.microsoft.com [131.107.115.215]) by mx1.freebsd.org (Postfix) with ESMTP id 8341113C43E for ; Thu, 20 Dec 2007 01:28:02 +0000 (UTC) (envelope-from v-alrudy@microsoft.com) Received: from tk5-exhub-c103.redmond.corp.microsoft.com (157.54.70.186) by TK5-EXGWY-E802.partners.extranet.microsoft.com (10.251.56.168) with Microsoft SMTP Server (TLS) id 8.1.222.3; Wed, 19 Dec 2007 17:17:52 -0800 Received: from NA-EXMSG-C123.redmond.corp.microsoft.com ([157.54.61.187]) by tk5-exhub-c103.redmond.corp.microsoft.com ([157.54.70.186]) with mapi; Wed, 19 Dec 2007 17:17:53 -0800 From: "Alexander Rudyk (Akvelon)" To: "freebsd-questions@freebsd.org" Date: Wed, 19 Dec 2007 17:17:50 -0800 Thread-Topic: Partitions size for 80GB HDD and 2GB RAM Thread-Index: AchCpiOJAHaAXSRKRUuDqhpVA6mawA== Message-ID: <3659EBC278926E47B1802BE0129D1B6007D8AD3AC8@NA-EXMSG-C123.redmond.corp.microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Partitions size for 80GB HDD and 2GB RAM X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 01:28:02 -0000 Hi all I am planning to install FreeBSD 6.2 on my dell laptop with 80Gb HDD and 2G= B RAM. FreeBSD will be the only OS on the laptop. Laptop will be used to web development (RubyOnRails), entertaiment (photo, music, video), web browsing and emailing, so no server side task will be handled. How you suggest to split 80GB between partitions to solve all laptop tasks. Here is partitions: /root /var /usr /home /swap Thx From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 01:32:02 2007 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 40D2816A421 for ; Thu, 20 Dec 2007 01:32:02 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out4.apple.com (mail-out4.apple.com [17.254.13.23]) by mx1.freebsd.org (Postfix) with ESMTP id 33B2213C442 for ; Thu, 20 Dec 2007 01:32:02 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay14.apple.com (relay14.apple.com [17.128.113.52]) by mail-out4.apple.com (Postfix) with ESMTP id ABB801C7E279; Wed, 19 Dec 2007 17:15:12 -0800 (PST) Received: from relay14.apple.com (unknown [127.0.0.1]) by relay14.apple.com (Symantec Mail Security) with ESMTP id 916A22804C; Wed, 19 Dec 2007 17:15:12 -0800 (PST) X-AuditID: 11807134-a60a0bb000004510-33-4769c220ba25 Received: from cswiger1.apple.com (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay14.apple.com (Apple SCV relay) with ESMTP id 697D728089; Wed, 19 Dec 2007 17:15:12 -0800 (PST) Message-Id: <96BFA267-0DFA-4DD7-A596-3DE30F04F2C0@mac.com> From: Chuck Swiger To: Mikhail Teterin In-Reply-To: <200712191906.16254.mi+mill@aldan.algebra.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Wed, 19 Dec 2007 17:15:11 -0800 References: <200712192322.lBJNMfps053071@aldan.algebra.com> <86abo64543.fsf@bsd.by> <200712191906.16254.mi+mill@aldan.algebra.com> X-Mailer: Apple Mail (2.915) X-Brightmail-Tracker: AAAAAA== Cc: questions@freebsd.org Subject: Re: tail does not exit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 01:32:02 -0000 On Dec 19, 2007, at 4:06 PM, Mikhail Teterin wrote: > Josh Tolbert: >> Cause the -f option to tail doesn't work that way. -f always waits >> for more >> input. > > I know very well about -f waiting for more *input*. What puzzles me, > is that > tail does not quit, when its *output* is closed. > > James Harrison: >> Is there a reason you want the -f flag? > > Yes, I want awk to be processing the lines, which are appended to > the file, > until it finds, what it is looking for, and exits. I expect tail to > go away, > when its stdout is closed, but it does not. > >> tail -f holds on for dear life until a ctrl-c happens. IT HAS A DEATH >> GRIP! > > This seems like a bug to me... It should hold on to its input > file(s), but > exit peacefully, when its stdout closes. No? A quick test suggests that "tail -f" will close when it gets a SIGPIPE. -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 01:33:04 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4995E16A478 for ; Thu, 20 Dec 2007 01:33:04 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out4.apple.com (mail-out4.apple.com [17.254.13.23]) by mx1.freebsd.org (Postfix) with ESMTP id 3B9BC13C458 for ; Thu, 20 Dec 2007 01:33:04 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay14.apple.com (relay14.apple.com [17.128.113.52]) by mail-out4.apple.com (Postfix) with ESMTP id 1B4631C7E889; Wed, 19 Dec 2007 17:33:04 -0800 (PST) Received: from relay14.apple.com (unknown [127.0.0.1]) by relay14.apple.com (Symantec Mail Security) with ESMTP id 00BE228060; Wed, 19 Dec 2007 17:33:03 -0800 (PST) X-AuditID: 11807134-a88a5bb000004510-c9-4769c64f5354 Received: from cswiger1.apple.com (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay14.apple.com (Apple SCV relay) with ESMTP id D55392804C; Wed, 19 Dec 2007 17:33:03 -0800 (PST) Message-Id: <934A53F8-4477-4253-A6B7-3FB14C18FEBC@mac.com> From: Chuck Swiger To: Eric Osterweil In-Reply-To: <9221BB32-8D07-4671-A95C-24F6F5A7F04F@cs.ucla.edu> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Wed, 19 Dec 2007 17:33:02 -0800 References: <9221BB32-8D07-4671-A95C-24F6F5A7F04F@cs.ucla.edu> X-Mailer: Apple Mail (2.915) X-Brightmail-Tracker: AAAAAA== Cc: FreeBSD Questions Subject: Re: Does 6.2 Support VIA EPIA M10000G Nehemiah Mini-ITX? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 01:33:04 -0000 On Dec 19, 2007, at 4:58 PM, Eric Osterweil wrote: > I just installed 6.2 on a VIA EPIA M10000G Nehemiah Mini-ITX. It > all seems to have installed fine, but when I try to buildworld I get > internal compiler errors almost immediately. The problems are not > consistently in the same place but they seem to be for the same > reason. Here is the latest output: Inconsistent errors tend to indicate a problem with cooling or with memory-- I've got a slower ITX box (a C3 M6000?) which would do the same thing with the first two DIMMs I put in it, but worked fine with a better grade of Crucial RAM. Dig up a memtest86 floppy or test CD to do more exhaustive checking.... Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 02:50:26 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B1CF16A41B for ; Thu, 20 Dec 2007 02:50:26 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: from mail4.sea5.speakeasy.net (mail4.sea5.speakeasy.net [69.17.117.6]) by mx1.freebsd.org (Postfix) with ESMTP id 4193413C516 for ; Thu, 20 Dec 2007 02:50:26 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: (qmail 12251 invoked from network); 20 Dec 2007 02:50:25 -0000 Received: from april.chuckr.org (chuckr@[66.92.151.30]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 20 Dec 2007 02:50:25 -0000 Message-ID: <4769D7BA.6080002@chuckr.org> Date: Wed, 19 Dec 2007 21:47:22 -0500 From: Chuck Robey User-Agent: Thunderbird 2.0.0.6 (X11/20071107) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <47688E99.4050802@pacific.net.sg> <47689079.4040700@gmail.com> <20071219162002.GB45237@gizmo.acns.msu.edu> <47694810.6020106@pacific.net.sg> <20071219172846.GB69360@Grumpy.DynDNS.org> In-Reply-To: <20071219172846.GB69360@Grumpy.DynDNS.org> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Erich Dollansky Subject: Re: rough method of cleaning the ports tree X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2007 02:50:26 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Kelly wrote: > On Thu, Dec 20, 2007 at 12:34:24AM +0800, Erich Dollansky wrote: > >>>> Even though it will take quite a bit longer you should just do a >>>> "make distclean" in /usr/ports that way anything you hand modified >>>> will be retained (also you might want to consider keeping a local >>>> cvs repository if this is an issue) >>> That's a good idea too. >>> But, it might not do enough. So, still consider moving /usr/ports. >>> >> it does what I really want. I do not have a space problem. I simply >> want to get rid of the stuff which is not really needed. > > Tuning in late but this seems appropriate: > > Remove all the temporary work files, and remove all distribution files > that are not current with the ports' Makefiles: > > # portsclean -CD > > Requires the portupgrade port. > In the past, doing a global make clean wouild die, especially on ports that were marked broken. I don;'t know if that's been fixed, because about once a month, i just do: find /usr/ports -type d -name work -exec rm -rf {} \; I've had the -delete fail from time to time, I can't remember the error, but doing the rm via the -exec keyword, that's never failed, and cleaning out the work directories, that absolutely cleans stuff up quickly. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHade6z62J6PPcoOkRArsWAJ46RfTDRHTli4g9z2yh3f3G6G1CqACbBr5C r6eLTzVu5BhhBIUogOWPBHU= =guYz -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 02:53:01 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9D6416A419 for ; Thu, 20 Dec 2007 02:53:01 +0000 (UTC) (envelope-from jekillen@prodigy.net) Received: from smtp123.sbc.mail.sp1.yahoo.com (smtp123.sbc.mail.sp1.yahoo.com [69.147.64.96]) by mx1.freebsd.org (Postfix) with SMTP id 9EC9D13C503 for ; Thu, 20 Dec 2007 02:53:01 +0000 (UTC) (envelope-from jekillen@prodigy.net) Received: (qmail 25682 invoked from network); 20 Dec 2007 02:53:00 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=prodigy.net; h=Received:X-YMail-OSG:Mime-Version:Content-Transfer-Encoding:Message-Id:Content-Type:To:From:Subject:Date:X-Mailer; b=c0vkmr8MHv017EE/IU8pn7o9OSG9UzsrJ7vsdSJSh7oop2GZEUDSf1xu+7J6VxGOGqGF96FVnMHEPXLaaVZh3nXagIbVXqugMmL86lVpJQRZqkVPSt/nxFYQnJlIGC5EOE2uGAaTDBFdUnD+9FXPiDvyW/XWKNYq+YRJhPlNTfY= ; Received: from unknown (HELO ?75.7.236.228?) (jekillen@prodigy.net@75.7.236.228 with plain) by smtp123.sbc.mail.sp1.yahoo.com with SMTP; 20 Dec 2007 02:53:00 -0000 X-YMail-OSG: bjOk7KAVM1lTZwbSwGzbTJMG__PMdhooFNVo11BkFHyZH8yt0Re1ewfl6EErjOKMYjajDyP0BA-- Mime-Version: 1.0 (Apple Message framework v622) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: FreeBSD Mailing List From: jekillen Date: Wed, 19 Dec 2007 18:54:37 -0800 X-Mailer: Apple Mail (2.622) Subject: e-mail to root X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2007 02:53:01 -0000 Hello: Is there a manual or other publication that deals specifically with reading e-mail messages to root for FreeBSD? I have gotten a message: setuid diffs: --- /var/log/setuid.today Sat Sep 8 03:01:34 2007 +++ /tmp/security.9Jz0CWds Wed Dec 19 03:01:38 2007 followed by references to various programs then the next segment: Checking for a current audit database: Downloading fresh database. auditfile.tbz 46 kB 42 kBps New database installed. Database created: Wed Dec 19 14:40:00 PST 2007 Checking for packages with security vulnerabilities: followed by numerous references to programs and files on the FreeBSD site. and I do not know quite what this means. I know that setuid is cause for concern. I have three other machines with FreeBSD, with one going back over a year of virtually continuous 24/7 operation and this is the first time I have seen this type of message. For the programs reported with security problems it begs the question of dependencies if they are removed or updated. Some references are to cups and fetchmail neither of which I use or have use for, that I am aware of. This particular machine is primarily a web server. It does have Postfix running but just uses local delivery and only listens on private network interface. I am also a little dubious about posting any specifics to a public mailing list. I am admittedly a novice at this (on all my own systems so no one else's behind is on the line). Short of paying consultation fees to someone, this is about the only live contact I have on the subject. Thanks in advance for info: Jeff K From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 03:30:12 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30C1816A418 for ; Thu, 20 Dec 2007 03:30:12 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.186]) by mx1.freebsd.org (Postfix) with ESMTP id C7B5613C44B for ; Thu, 20 Dec 2007 03:30:11 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so3288367rvb.43 for ; Wed, 19 Dec 2007 19:30:11 -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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=aynehwH4LtlUUdwnnC35xSPWb0swtTQc9FFS2wDBkgc=; b=Lcp0mrb84P/7FQCxVu+itaJL5nZAVExz0JNd/bYeYlw4e2U0Yjil80N2u7bYKbb0ampXEe4dx7d0vYgeBT4bK3ySCQx3T91QR/scLpFPSTYo0l7ElJsB2AIVEynKXN4aF7Hb+OSTQOxyS+sO2niNiqS2IlDbQZs/R0HQzFHvGmM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=o8kTtk0dK9Fi+JQm97d5ii9v2nX7HJrXYE88p8poYVVhng1oYYPilmbjqjT+vAuBjTDgkahwsyofUTG/Gj2A7uQnaLrwyFKny6IduOAHf/dVmMBj7kPSeX1WbjaX3fMAbfZ8D7q4kltDhncQWkbsb5YPi+5VGMkEY8z/0H5FPNI= Received: by 10.141.22.1 with SMTP id z1mr3768146rvi.277.1198121410981; Wed, 19 Dec 2007 19:30:10 -0800 (PST) Received: by 10.140.166.14 with HTTP; Wed, 19 Dec 2007 19:30:11 -0800 (PST) Message-ID: Date: Wed, 19 Dec 2007 19:30:11 -0800 From: "Kurt Buff" To: jekillen In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: FreeBSD Mailing List Subject: Re: e-mail to root X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2007 03:30:12 -0000 On Dec 19, 2007 6:54 PM, jekillen wrote: > Hello: > Is there a manual or other publication that deals specifically with > reading e-mail messages to root for FreeBSD? I have gotten a > message: > > setuid diffs: > --- /var/log/setuid.today Sat Sep 8 03:01:34 2007 > +++ /tmp/security.9Jz0CWds Wed Dec 19 03:01:38 2007 > > followed by references to various programs > > then the next segment: > Checking for a current audit database: > > Downloading fresh database. > auditfile.tbz 46 kB 42 kBps > New database installed. > Database created: Wed Dec 19 14:40:00 PST 2007 > > Checking for packages with security vulnerabilities: > > followed by numerous references to programs and > files on the FreeBSD site. > > and I do not know quite what this means. It means that you have portaudit installed, and it's run as part of the daily scripts. That's a good thing. I'd recommend consulting the portaudit man page What it's found are packages on your machine that have security bulletins against them - that is, the packages named have vulnerabilities known to the FreeBSD Security team, which they believe should be patched. There's a link to the bulletin for each one - I think you'll find it enlightening to read some or all of them. I'd do a 'pkg_add -r portupgrade' to install that package, do a cvsup to get a current ports tree, then assess, very carefully, what you want to upgrade. IMHO all of the packages mentioned should probably get upgraded, unless you have *exceptional* reasons not to. To upgrade you can do 'portupgrade ' for each package named, or if you're feeling bold, 'portupgrade -aRr'. > I know that setuid is cause > for concern. I have three other machines with FreeBSD, with one > going back over a year of virtually continuous 24/7 operation and > this is the first time I have seen this type of message. For the > programs > reported with security problems it begs the question of dependencies > if they are removed or updated. Some references are to cups and > fetchmail > neither of which I use or have use for, that I am aware of. Portupgrade will take care of dependencies. No worries, though you should also peruse the man page for portupgrade to get your knowledge up. > This > particular > machine is primarily a web server. It does have Postfix running but just > uses local delivery and only listens on private network interface. > I am also a little dubious about posting any specifics to a public > mailing > list. > I am admittedly a novice at this (on all my own systems so no one > else's behind is on the line). Short of paying consultation fees to > someone, this is about the only live contact I have on the subject. > Thanks in advance for info: We were all novices - I still am, in far too many ways. Don't sweat it, and keep asking questions. Also, start reading the FreeBSD Handbook - it's online, and also downloadable, and covers this very topic. Kurt From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 03:58:19 2007 Return-Path: Delivered-To: FreeBSD-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FA9716A417 for ; Thu, 20 Dec 2007 03:58:19 +0000 (UTC) (envelope-from snow.mountains.4@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.185]) by mx1.freebsd.org (Postfix) with ESMTP id 19DBD13C442 for ; Thu, 20 Dec 2007 03:58:18 +0000 (UTC) (envelope-from snow.mountains.4@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so3299462rvb.43 for ; Wed, 19 Dec 2007 19:58:18 -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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=X3e7qg81QP0N7Y0I/yEn8vuc+ME35s607euSSyZREBY=; b=Ir9JFBab9fDYo9fBF3yv0QEi764JNglbUCXJPzJgYIgFI6zrrLE7e8960DdYoUiMTRBAgcqowC21y3FRp5LsWtTNVwqhD6M+YBBSA3IODjksUScok8hc5WNVT2GGGRg66ym0dtQ5lg43i/qjXZDEONrhf8CIFUxuPisSUPJ5gXI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=UV2gUgodjyiBUpCohr4PRz4NBlTw2XipaZUYiiQkJDU9cyxlDRcHpYEXSMx/fuVPcPoK4mBvVDIsG6ZHB2biz4Y78bd76Hg9RDQw/JWs+J+y94+WWZ97/jpAqsV2bg4TqtIAL/YuYPjnJJp+llV0nRC5VJYX6/xUfcol5uSZ2CY= Received: by 10.142.245.10 with SMTP id s10mr2922985wfh.12.1198123098697; Wed, 19 Dec 2007 19:58:18 -0800 (PST) Received: by 10.142.188.11 with HTTP; Wed, 19 Dec 2007 19:58:18 -0800 (PST) Message-ID: <3cf9f8920712191958g2bf7b38m52fd1f1cbeff7a90@mail.gmail.com> Date: Thu, 20 Dec 2007 04:58:18 +0100 From: "Snow Mountains" To: "=?ISO-8859-2?Q?Nikola_Le=E8i=E6?=" In-Reply-To: <20071219043951.58ee4e50@anthesphoria.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Content-Disposition: inline References: <3cf9f8920712132115q341401dbhec96ca1ae3156432@mail.gmail.com> <20071216165127.64661122@anthesphoria.net> <3cf9f8920712181854p1b498d8cve22e5bcdc0ad9fc7@mail.gmail.com> <20071219043951.58ee4e50@anthesphoria.net> Cc: FreeBSD-questions@freebsd.org Subject: Re: Lost FreeBSD slices (labels?) after NetBSD install -- please help!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2007 03:58:19 -0000 MjAwNy8xMi8xOSwgTmlrb2xhIExlxI1pxIcgPG5pa29sYS5sZWNpY0BhbnRoZXNwaG9yaWEubmV0 PjoKPiBPbiBXZWQsIDE5IERlYyAyMDA3IDAzOjU0OjAwICswMTAwCj4gIlNub3cgTW91bnRhaW5z IiA8c25vdy5tb3VudGFpbnMuNEBnbWFpbC5jb20+IHdyb3RlOgo+Cj4gWy4uLl0KPiA+IEhlbGxv IGFuZCB0aGFua3MgdmVlZWVyeSBtdWNoIGZvciB0aGlzIHJlc3BvbnNlIGFuZCBiZWNhdXNlIHlv dQo+ID4gcG9pbnRlZCBtZSB0byByaWdodCBkaXJlY3Rpb24gLSB3aGF0IHRvIHJlYWQhIEl0IHRv b2sgbWUgc29tZSB0aW1lIHRvCj4gPiBydW4gdGhpcyBhbmQgdG8gdW5kZXJzdGFuZCBhbHdheXMg d2hhdCBJIGFtIGRvaW5nLCBidXQgaXQgc2VlbXMgdG8KPiA+IHdvcmshCj4gPgo+ID4gdGVzdGRp c2sgZ2l2ZXMgbWUgc2l6ZXMgdGhhdCAxMDAlIGNvcnJlc3BvbmQgd2l0aCBfcGFydGl0aW9uXyAo OikpCj4gPiBwcm9wb3J0aW9ucyBJIHJlbWVtYmVyIChhbmQgc29tZSBub25zZW5zZXMgYWJvdXQg dGlueSBGQVQgcGFydGl0aW9uCj4gPiBzb21ld2hlcmUuLi4pLiBkbGZpbmQgaG9tZXBhZ2Ugd2Fz IGluY3JlZGlibHkgdXNlZnVsIGZvciBtZSBhcyBuZXdiaWUKPiA+IGluIGNyZWF0aW5nIEJTRCBw YXJ0aXRpb24gbGFiZWxzLCBhbmQgSSBjcmVhdGVkIGJzZGxhYmVsIGZpbGUsCj4gPiBjYXJlZnVs bHkgY2FsY3VsYXRlZCBvZmZzZXRzLCBJIGFtIGhhcHB5IHRoYXQgZm9ybWVyIGFkMXM0YSBpcwo+ ID4gbW91bnRhYmxlIHNvIHRoYXQgSSBjYW4gcmVhZCAvZXRjL2ZzdGFiIQo+Cj4gRXhjZWxsZW50 ISBKdXN0IG5vdGUgdGhhdCB5b3UgZG9uJ3QgbmVlZCB0byBjYWxjdWxhdGUgb2Zmc2V0czsgeW91 IGNhbgo+IHVzZSBhc3RlcmlzayAoKikgZm9yIGFsbCBvZmZzZXRzIGZyb20gYjogKHN3YXApIG9u d2FyZDsgYW5kIHlvdSBjYW4gdXNlCj4gKiBhcyB0aGUgc2l6ZSBvZiB0aGUgbGFzdCBwYXJ0aXRp b24sIHRvby4KPgo+ID4gSG93ZXZlciBJIGhhdmUgc2V2ZXJhbCBxdWVzdGlvbnMganVzdCB0byBi ZSAxMDAlIHN1cmUuCj4gPgo+ID4gYS4gc3dhcCBzaXplOiBieSBhbiBhY2NpZGVudCwgSSBoYXZl IHdyaXR0ZW4gc3dhcHNpemUgKGZyb20gc3dhcGluZm8pCj4gPiBvZiAxMDI0IDFrYiBibG9ja3M7 IGl0IGlzIHNsaWdodGx5IGRpZmZlcmVudCBmcm9tIHdoYXQgSSBnZXQgd2hlbiBJCj4gPiBzdWJ0 cmFjdCBhbGwgcGFydGl0aW9uIHNpemUgZnJvbSB0b3RhbCBzbGljZSdzIHNpemUgKGFzIHRlc3Rk aXNrCj4gPiByZXBvcnRlZCkuIFdoYXQgSSBzaG91bGQgdHJ1c3Q/Cj4KPiBVc2UgdGhlIHZhbHVl IGZyb20gc3dhcGluZm87IHN3YXAgaXMganVzdCB0aGF0IHNwYWNlICh1bmxpa2Ugc2l6ZXMgdGhh dAo+IHlvdSBzZWUgaW4gZGYoMSkgb3V0cHV0OiB0aGV5IGFyZSBub3Qgc2l6ZXMgb2YgcGFydGl0 aW9ucykuCj4KPiBUaGUgc2l6ZSBvZiBzbGljZTogeW91IHNob3VsZCBhbnl3YXkgX2ZpcnN0XyBy dW4gJ2JzZGxhYmVsLXcgL2Rldi9hZDFzNCcKPiAtLSBpdCB3aWxsIHdyaXRlIGluaXRpYWwgaW5m byBhbmQgdGhlIHZhbHVlIGZvciBjOiB3aWxsIGJlIHRoZSB2YWx1ZQo+IHlvdSBzaG91bGQgdXNl LgoKClN1Y2Nlc3MhISEgQWZ0ZXIgc2V2ZXJhbCB3cm9uZyB0YWJsZXMsIEkgZ290IHJpZ2h0IG9u ZSwgbXkgZGVhcgpkb2N1bWVudHMgYXJlIG5vdyB2aXNpYmxlIGFuZCByZWFkYWJsZSBhZ2FpbiEg Q29ycmVjdCBzaXplIG9mIHN3YXAgd2FzCmluZGVlZCBzaXplIHJlcG9ydGVkIGJ5IHN3YXBpbmZv LgoKCj4gPiBiLiBEbyBJIG5lZWQganVzdCBic2RsYWJlbCAtUiAtZT8KPgo+IFlvdSBwcm9iYWJs eSB0eXBvZWQsIGVpdGhlciAnLVInIG9yICctZScgKD0gJ2Zyb20gZmlsZScgb3IgJ3RvIGVkaXQK PiBkaXJlY3RseScpLiBIb3dldmVyLCBJIGJlbGlldmUgeW91IHNob3VsZCB1c2UgJy1CJyBhcyB3 ZWxsLCBiZWNhdXNlCj4gYm9vdHN0cmFwIGNvZGUgd2FzIGRlc3Ryb3llZCB0b28sIGFuZCB5b3Ug d29uJ3QgYmUgYWJsZSB0byBib290Cj4gRnJlZUJTRCBldmVuIHdpdGggcmVjb3ZlcmVkIHBhcnRp dGlvbnMuCgoKSW5kZWVkICgtQiksIGFuZCBGcmVlQlNEIGlzIGJvb3RhYmxlIGFnYWluLgoKPiA+ IElzIGl0IHNhZmUgdG8gZXhwZXJpbWVudD8KPgo+IFllcywgaXQgaXMuIElmIHlvdSB3cml0ZSB3 cm9uZyBkYXRhLCBpdCB3aWxsIGp1c3Qgbm90IHdvcmsuIE9uY2UgeW91Cj4gZ2V0IG1vdW50YWJs ZSBwYXJ0aXRpb25zLCBwbGVhc2UgZnNjayg4KSB0aGVtLgoKCmZzY2sgc2FpZDogIkZSRUUgQkxL IENPVU5UKFMpIFdST05HIElOIFNVUEVSQkxLIC0tIFNBTFZBR0U/IiBvbiBhbGwKcGFydGl0aW9u cyBleGNlcHQgYWQxczRhOyBJIHNhaWQgJ3llcycgYW5kIG5vdyBpdCBzYXlzIHRoZXkgYXJlIGNs ZWFuLgoKPiA+IGMuIFdoYXQgdG8gd3JpdGUgYXMgZnNpemUsIGJzaXplCj4KPiBmc2l6ZSBhbmQg YnNpemUgYXJlIDIwNDggYW5kIDE2Mzg0IGlmIHlvdSB1c2VkIGFsbCBkZWZhdWx0cyB3aGVuCj4g aW5zdGFsbGVkIEZyZWVCU0QgKHJlYWQgbmV3ZnMoOCkpLgo+Cj4gPiBhbmQgYnBzL2NwZz8gSXQg aXMgY29tcGxldGx5IGNvbmZ1c2luZyBmb3IgbWUsIGJwcy9jcGcgZXhwbGFuYXRpb24KPiA+IGZy b20gYnNkbGFiZWwgbWFuIHBhZ2UgaXMgdW5jbGVhciB0byBtZSwgSSBzZWUgdGhhdCBzb21lIHBl b3BsZSB1c2UKPiA+IGFsbCB6ZXJvcyBhbmQgSSBjYW4gbm90IGZpbmQgYSBjbHVlIGluIHZhcmlv dXMgZXhhbXBsZXMuLi4KPgo+IEhtbSwgeWVzLi4uIEFjdHVhbGx5LCBpdCBzZWVtcyB0aGF0IHRo ZXkgY2FuIGJlIGNhbGN1bGF0ZWQgYnkgY29tcGFyaW5nCj4gZGF0YSBvYnRhaW5lZCAgZnJvbSAn YnNkbGFiZWwgLUEgL2Rldi9hZDFzNC4uLicgKGxvb2sgYXQgdGhlIHRvcCBvZiB0aGUKPiBvdXRw dXQpIGFuZCBmcm9tIHBhcnRpY3VsYXIgJ25ld2ZzIC1OIC9kZXYvYWQxczRYJyAodGhpcyBjb21t YW5kIGRvZXNuJ3QKPiBjcmVhdGUgbmV3IGZpbGUgc3lzdGVtIGJ1dCBqdXN0IHByaW50cyBhbGwg ZGF0YSBhYm91dCBob3cgaXQgd291bGQgYmUKPiBjcmVhdGVkKSAtLSBidXQgYWZ0ZXIgcmVjb3Zl cnksIG9mIGNvdXJzZS4gUmVhZCB0aGUgZW50aXJlIHRocmVhZCB0aGF0Cj4gY29udGFpbnMgdGhp czoKPgo+ICAgaHR0cDovL2xpc3RzLmZyZWVic2Qub3JnL3BpcGVybWFpbC9mcmVlYnNkLXF1ZXN0 aW9ucy8yMDA0LUphbnVhcnkvMDMxNjAzLmh0bWwKPgo+IEhvd2V2ZXIsIEkndmUgbmV2ZXIgYmVl biBhYmxlIHRvIGZpbmQgYW55IGluZm8gaW4gdGhlIGRvY3MgdGhhdCBleGFjdGx5Cj4gZXhwbGFp bnMgd2hhdCBhbGdvcml0aG0gbmV3ZnMoOCkgdXNlcyBmb3IgdGhpcyBmaWVsZC4uLgo+Cj4gVGhl cmVmb3JlIEkgYmVsaWV2ZSAoYWx0aG91Z2ggSSdtIG5vdCAxMDAlIHN1cmUpIHRoYXQgdGhlIG9u bHkgd2F5IHRvCj4gZ2V0IG9sZCBicHMvY3BnIGRhdGEgaXMgdG8KPgo+ICAgKDEpIGR1bXAoOCkg cGFydGl0aW9ucyBvbmNlIHRoZXkgd29yazsKPiAgICgyKSAiYnNkbGFiZWwgLWUiIGJwcy9jcGcg b2YgdGhlc2UgcGFydGl0aW9ucyB0byB6ZXJvczsKPiAgICgzKSByZWNyZWF0ZSBmaWxlIHN5c3Rl bXMgdGhlcmUgKHRoaXMgd2lsbCB3cml0ZSBuZXcgKHRydWUpIGJwcy9jcGcKPiAgICAgICB2YWx1 ZXMpOwo+ICAgKDQpIHJlc3RvcmUoOCkgZmlsZXN5c3RlbXMuCj4KPiBIb3dldmVyLCBpZiBmc2Nr KDgpIHRlbGxzIHlvdSB0aGF0IGZpbGVzeXN0ZW1zIGFyZSBjbGVhciBvbmNlIHlvdQo+IHJlY292 ZXIgdGhlbSwgSSBiZWxpZXZlIHlvdSBkb24ndCBoYXZlIHRvIHdvcnJ5IGFib3V0IHRoaXMuIE1h eWJlCj4gc29tZSBmaWxlc3lzdGVtIGd1cnUgY2FuIGNvbmZpcm0uIChBY2NvcmRpbmcgdG8gdGhp cyByZXB1dGFibGUKPiBzb3VyY2U6Cj4KPiAgIGh0dHA6Ly93d3cub25sYW1wLmNvbS9wdWIvYS9i c2QvMjAwMi8wNi8yNy9CaWdfU2NhcnlfRGFlbW9ucy5odG1sCj4KPiBsYXN0IHRocmVlIHZhbHVl cyBhcmUgYWN0dWFsbHkgaWdub3JlZC4uLikKPiAtLQo+IE5pa29sYSBMZcSNacSHIDo6INCd0LjQ utC+0LvQsCDQm9C10YfQuNGbCgpJIHRyaWVkIHRvIGdvb2dsZSB0byBmaW5kIHNpbWlsYXIgcGFy dGl0aW9uIHNpemVzLCBhbmQgdG8gdXNlIHRoZWlyCmJzZGxhYmVsIHZhbHVlcywgYnV0IGFjY29y ZGluZyB0byB3aGF0IHlvdSBzYWlkIGV2ZXJ5dGhpbmcgZGVwZW5kcyBvbgpzcGVjaWZpYyBkaXNj IGhhcmR3YXJlLCBzbyB0YWJsZXMgb2Ygb3RoZXIgcGVvcGxlIGFyZSBub3QgMTAwJQp1c2FibGUu Li4KCkJ1dCBhbGwtemVyb2VzIHNlZW1zIHRvIHdvcmsgMTAwJSB3ZWxsIGFuZCBoYXBweSEKCihB bmQgb2YgY291cnNlLCBiYWNrdXBzIGFyZSB0aGUgZmlyc3QgdGhpbmcgdG8gZG8hKQoKUmVzdW1l LCBmb3IgYXJjaGl2ZXMsIHdoYXQgSSBkaWQgaW4gRnJlZVNCSUUgd2l0aCB5b3VyIGV4cGxhbmF0 aW9uczoKCm8gVXNlIGRpc2sgc2l6ZSByZXBvcnRlZCBmcm9tIHJhdyBic2RsYWJlbCAtdwpvIFVz ZSBzd2FwIHNpemUgcmVwb3J0ZWQgZnJvbSBzd2FwaW5mbywgb3IgZ3Vlc3MsIGJ1dCB0aGUgc3Vi dHJhY3RlZAp2YWx1ZSAoZGlzayAtIHN1bSBvZiBvdGhlciBwYXJ0aXRpb25zKSB3YXMgbm90IGNv cnJlY3QgZm9yIG1lLi4uIDooCm8gVXNlIHBhcnRpdGlvbiBzaXplcyByZXBvcnRlZCBmcm9tIHRl c3RkaXNrCm8gQXNzZW1ibGUgdGFibGUgYWNjb3J0aW5nIHRvIGJzZGxhYmVsIG1hbnVhbCBwYWdl IGFuZCB0bywgZm9yCmV4YW1wbGUsIGRsZmluZCBob21lcGFnZQpvIFdyaXRlIGl0IHdpdGggLUIg b3B0aW9uLgpvIFRyeSB0byBtb3VudDsgbm90aGluZz8gUGxheSB3aXRoIHN3YXAgc2l6ZS4uLgpv IE1vdW50YWJsZT8gZnNjayB0aGVtCm8gQ29ycmVjdCBldmVyeXRoaW5nIGZzY2sgd2FudHMuCm8g dGhhdCdzIGl0LgoKdGhhbmsgeW91IQpTZXJnaSBNCg== From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 04:49:07 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B71FD16A41A for ; Thu, 20 Dec 2007 04:49:07 +0000 (UTC) (envelope-from dkelly@hiwaay.net) Received: from smtp.knology.net (smtp.knology.net [24.214.63.101]) by mx1.freebsd.org (Postfix) with ESMTP id 56E3113C455 for ; Thu, 20 Dec 2007 04:49:07 +0000 (UTC) (envelope-from dkelly@hiwaay.net) Received: (qmail 19254 invoked by uid 0); 20 Dec 2007 04:49:06 -0000 Received: from unknown (HELO ?10.0.0.187?) (216.186.148.249) by smtp7.knology.net with SMTP; 20 Dec 2007 04:49:06 -0000 In-Reply-To: <4769D7BA.6080002@chuckr.org> References: <47688E99.4050802@pacific.net.sg> <47689079.4040700@gmail.com> <20071219162002.GB45237@gizmo.acns.msu.edu> <47694810.6020106@pacific.net.sg> <20071219172846.GB69360@Grumpy.DynDNS.org> <4769D7BA.6080002@chuckr.org> Mime-Version: 1.0 (Apple Message framework v753) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: David Kelly Date: Wed, 19 Dec 2007 22:49:17 -0600 To: Chuck Robey X-Mailer: Apple Mail (2.753) Cc: freebsd-questions , Erich Dollansky Subject: Re: rough method of cleaning the ports tree X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2007 04:49:07 -0000 On Dec 19, 2007, at 8:47 PM, Chuck Robey wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > David Kelly wrote: >> >> Remove all the temporary work files, and remove all distribution >> files >> that are not current with the ports' Makefiles: >> >> # portsclean -CD >> >> Requires the portupgrade port. > > In the past, doing a global make clean wouild die, especially on > ports that > were marked broken. I don;'t know if that's been fixed, because > about once a > month, i just do: > > find /usr/ports -type d -name work -exec rm -rf {} \; > > I've had the -delete fail from time to time, I can't remember the > error, but > doing the rm via the -exec keyword, that's never failed, and > cleaning out the > work directories, that absolutely cleans stuff up quickly. Not sure how deep the buffers are for wildcard expansion but apparently deep enough to do the above simpler. I use tcsh, selection of one's shell has everything to do with wildcard expansion. # cd /usr/ports # rm -r */*/work # -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 05:48:44 2007 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 A94F816A477 for ; Thu, 20 Dec 2007 05:48:44 +0000 (UTC) (envelope-from clint@0lsen.net) Received: from QMTA02.westchester.pa.mail.comcast.net (qmta02.westchester.pa.mail.comcast.net [76.96.62.24]) by mx1.freebsd.org (Postfix) with ESMTP id 584E013C4E1 for ; Thu, 20 Dec 2007 05:48:44 +0000 (UTC) (envelope-from clint@0lsen.net) Received: from OMTA09.westchester.pa.mail.comcast.net ([76.96.62.20]) by QMTA02.westchester.pa.mail.comcast.net with comcast id SfTx1Y0060SCNGk0512V00; Thu, 20 Dec 2007 05:48:43 +0000 Received: from belle.0lsen.net ([24.20.127.157]) by OMTA09.westchester.pa.mail.comcast.net with comcast id Stoi1Y0063Pt6RU3V00000; Thu, 20 Dec 2007 05:48:43 +0000 X-Authority-Analysis: v=1.0 c=1 a=lEUEfoWUMwMA:10 a=askv0R1kiDfrqLAOpfsA:9 a=acU-sCH7znCBQk4RhLoNnk_FgkYA:4 a=CWfAmLVWKswA:10 Received: by belle.0lsen.net (Postfix, from userid 1001) id 6B1A3792AB; Wed, 19 Dec 2007 21:48:42 -0800 (PST) Date: Wed, 19 Dec 2007 21:48:42 -0800 From: Clint Olsen To: questions@freebsd.org Message-ID: <20071220054842.GA1337@0lsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Organization: NULlsen Network X-Disclaimer: Mutt Bites! Cc: Subject: Can't start more than one gnome-session as the same user? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2007 05:48:44 -0000 I'm trying to do some diagnostic work on my machine, so I'm actually physically logged in, and I also have Gnome setup to run when I start VNC, however the two don't play well simultaneously. I get the message: gnome-session: you're already running a session manager I've never heard of such a busted system where you can only run one copy of a window system at one time on a machine. Man, this nightmare sounds like something I'd find in Microsoft Windows. I searched and found a lot of old hits of this error. The solutions are not very compelling. Unsetting SESSION_MANAGER before launching vncserver only cascades errors down into the various client programs like the desktop etc. Any suggestions would be appreciated. Thanks, -Clint From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 06:03:11 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5FDB16A419 for ; Thu, 20 Dec 2007 06:03:11 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 7FBA513C455 for ; Thu, 20 Dec 2007 06:03:11 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 28852 invoked from network); 20 Dec 2007 00:03:09 -0600 Received: from 124-170-40-102.dyn.iinet.net.au (HELO localhost) (124.170.40.102) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 20 Dec 2007 00:03:06 -0600 Date: Thu, 20 Dec 2007 17:02:25 +1100 From: Norberto Meijome To: "Aryeh M. Friedman" Message-ID: <20071220170225.1a3f9dbb@meijome.net> In-Reply-To: <47692B39.2000006@gmail.com> References: <4768DD26.2090004@gmail.com> <20071219233959.4eadae30@meijome.net> <47692B39.2000006@gmail.com> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.3; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" , freebsd-java@freebsd.org Subject: Re: Java Plugin not working on Firefox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 06:03:11 -0000 On Wed, 19 Dec 2007 09:31:21 -0500 "Aryeh M. Friedman" wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Norberto Meijome wrote: > > On Wed, 19 Dec 2007 03:58:14 -0500 "Aryeh M. Friedman" > > wrote: > > > >> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > >> > >> I have jdk1.6 (bootstrapped from diablo 1.5) installed and it > >> works fine for command line/swing apps but dies on applets in > >> firefox 2.0.0.11 (both from ports). I installed the plugin by > >> doing: > >> > > > > Hi Aryeh, (no need to cross post...) > > > > have you tried this ? > > http://lists.freebsd.org/pipermail/freebsd-java/2007-November/006927.html > > > But netbeans has stopped working now: > > java.net.BindException: Can't assign requested address > at java.net.PlainSocketImpl.socketBind(Native Method) > at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359) > at java.net.ServerSocket.bind(ServerSocket.java:319) > at java.net.ServerSocket.(ServerSocket.java:185) > at org.netbeans.CLIHandler$Server.(CLIHandler.java:964) > at org.netbeans.CLIHandler.initialize(CLIHandler.java:523) > at org.netbeans.CLIHandler.initialize(CLIHandler.java:346) > at org.netbeans.MainImpl.execute(MainImpl.java:180) > at org.netbeans.MainImpl.main(MainImpl.java:75) > at org.netbeans.Main.main(Main.java:75) > XIO: fatal IO error 0 (Unknown error: 0) on X server ":0.0" > after 0 requests (0 known processed) with 0 events remaining. > have you tried not having the variables defined in the environment netbeans is launched from ? ( I tried it here too - i got the error too, but netbeans seemed to keep loading, till my whole machine crashed pretty badly..need to see if it's related to using JDK16 or other stuff...but cant test now) B _________________________ {Beto|Norberto|Numard} Meijome "Science is like sex: sometimes something useful comes out, but that is not the reason we are doing it" Richard Feynman I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 06:30:53 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F32916A469 for ; Thu, 20 Dec 2007 06:30:53 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id 38DFC13C457 for ; Thu, 20 Dec 2007 06:30:53 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from localhost (unknown [200.46.204.183]) by hub.org (Postfix) with ESMTP id 5432211FDF30 for ; Thu, 20 Dec 2007 02:30:52 -0400 (AST) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 87207-10 for ; Thu, 20 Dec 2007 02:30:50 -0400 (AST) Received: from fserv.hub.org (blk-7-245-234.eastlink.ca [71.7.245.234]) by hub.org (Postfix) with ESMTP id 9D0C511FDD38 for ; Thu, 20 Dec 2007 02:30:50 -0400 (AST) Received: from [192.168.1.2] (unknown [192.168.1.2]) by fserv.hub.org (Postfix) with ESMTP id 0892D60D15 for ; Thu, 20 Dec 2007 02:30:51 -0400 (AST) Date: Thu, 20 Dec 2007 02:30:44 -0400 From: "Marc G. Fournier" To: freebsd-questions@freebsd.org Message-ID: <74F0F91EA046A1B9EAB79AF7@ganymede.hub.org> X-Mailer: Mulberry/4.0.8 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: OSS Virtualization options ... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 06:30:53 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi ... Right now, I'm using jail to provide VPS solutions, but have found some situations where jail just doesn't work (recently, tried Plesk and due to it trying to 'set hard quota', found that jail+plesk doesn't work too well) ... So, I'm trying to figure out what is available out there that would allow running multiple FreeBSD (or other OS) environments on the same physical server ... I just took a quick look at qemu, which appears easy enough to use, but my feel from a quick scan of: is that running multiple networked images night not be particularly easy (or even doable) due to the bridging ... has anyone else tried this? Is there something else that might prove a better solution? Thank you ... - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHagwU4QvfyHIvDvMRAqZyAJ93U/uRP01gKNk0IZV2Dm2ssL1xiQCdG3wf GdS+wefDk0ZJpOg0saRuSMo= =DIMn -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 07:43:56 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B98B16A41B for ; Thu, 20 Dec 2007 07:43:56 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 5E51313C447 for ; Thu, 20 Dec 2007 07:43:56 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 8410 invoked from network); 20 Dec 2007 01:43:55 -0600 Received: from 124-170-40-102.dyn.iinet.net.au (HELO localhost) (124.170.40.102) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 20 Dec 2007 01:43:55 -0600 Date: Thu, 20 Dec 2007 18:43:22 +1100 From: Norberto Meijome To: freebsd-questions@freebsd.org Message-ID: <20071220184322.5ad659d4@meijome.net> In-Reply-To: <74F0F91EA046A1B9EAB79AF7@ganymede.hub.org> References: <74F0F91EA046A1B9EAB79AF7@ganymede.hub.org> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.3; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: OSS Virtualization options ... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 07:43:56 -0000 On Thu, 20 Dec 2007 02:30:44 -0400 "Marc G. Fournier" wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > Hi ... > > Right now, I'm using jail to provide VPS solutions, but have found some > situations where jail just doesn't work (recently, tried Plesk and due to it > trying to 'set hard quota', found that jail+plesk doesn't work too well) ... > > So, I'm trying to figure out what is available out there that would allow > running multiple FreeBSD (or other OS) environments on the same physical server > ... > > I just took a quick look at qemu, which appears easy enough to use, but my > feel from a quick scan of: > > > > is that running multiple networked images night not be particularly easy (or > even doable) due to the bridging ... has anyone else tried this? Is there > something else that might prove a better solution? > hi Marc, - where do you want FBSD to run - as the host (or dom0 in Xen), or as the guest? If as host, i think Xen may be the closest one to reality, though I think it's not there yet (FBSD is supported for domU). You could use NetBSD though, i think,and of course, linux. Alternatively, I have been using for a while already this combination of Centos as the host + VMWare Server (which is not OSS, but is free as in beer). FreeBSD will run just fine under it. Other options which are built upon OSS though proprietary in the sense that the products built are not released (i think, i'd love to be proven wrong!) are Amazon's EC2 (still in beta, i think) and 3Tera's AppLogic - AFAIK both of them are built upon Xen, and only Linux guests are supported at this time. wrt to QEMU,i don't think is fast enough to make it worth it - i think you'd gain more by moving a bit to the side of freebsd for the host and using other options (linux+ Vmware + freebsd as guest) I'd very much appreciate if you could keep us / me :) posted on what you find - I shall do the same if I come across anything interesting. Best regards, B _________________________ {Beto|Norberto|Numard} Meijome "A Man that is good at excuses is usually good at nothing else" Benjamin Franklin I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 09:33:19 2007 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 99A5216A417 for ; Thu, 20 Dec 2007 09:33:19 +0000 (UTC) (envelope-from clint@0lsen.net) Received: from QMTA08.westchester.pa.mail.comcast.net (qmta08.westchester.pa.mail.comcast.net [76.96.62.80]) by mx1.freebsd.org (Postfix) with ESMTP id 4629D13C51D for ; Thu, 20 Dec 2007 09:33:19 +0000 (UTC) (envelope-from clint@0lsen.net) Received: from OMTA01.westchester.pa.mail.comcast.net ([76.96.62.11]) by QMTA08.westchester.pa.mail.comcast.net with comcast id SxUM1Y0070EZKEL0500L00; Thu, 20 Dec 2007 09:33:18 +0000 Received: from belle.0lsen.net ([24.20.127.157]) by OMTA01.westchester.pa.mail.comcast.net with comcast id SxZH1Y00F3Pt6RU3M00000; Thu, 20 Dec 2007 09:33:18 +0000 X-Authority-Analysis: v=1.0 c=1 a=5vJcBwrtjk8A:10 a=E5qQiqaLXBc1opfKBA4A:9 a=L3C7Poc0z9ZG2exr5lBpx-JcWnMA:4 a=LY0hPdMaydYA:10 Received: by belle.0lsen.net (Postfix, from userid 1001) id 951F1792DB; Thu, 20 Dec 2007 01:33:17 -0800 (PST) Date: Thu, 20 Dec 2007 01:33:17 -0800 From: Clint Olsen To: questions@freebsd.org Message-ID: <20071220093317.GA20354@0lsen.net> References: <20071220054842.GA1337@0lsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071220054842.GA1337@0lsen.net> User-Agent: Mutt/1.4.2.3i Organization: NULlsen Network X-Disclaimer: Mutt Bites! Cc: Subject: Re: Can't start more than one gnome-session as the same user? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2007 09:33:19 -0000 On Dec 19, Clint Olsen wrote: > I searched and found a lot of old hits of this error. The solutions are > not very compelling. Unsetting SESSION_MANAGER before launching > vncserver only cascades errors down into the various client programs like > the desktop etc. Answering my own question, the problem is that you really need to start with a fresh shell that isn't inherited from the existing windowing environment. So, logging in remotely and starting up vncserver works. While I wouldn't call this very elegant, at least it works. Thanks, -Clint From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 10:11:34 2007 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 0716516A418 for ; Thu, 20 Dec 2007 10:11:34 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.freebsd.org (Postfix) with ESMTP id ABC8813C46A for ; Thu, 20 Dec 2007 10:11:33 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (localhost [127.0.0.1]) by aldan.algebra.com (8.14.1/8.14.1) with ESMTP id lBK9wSZA054792 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 20 Dec 2007 04:58:28 -0500 (EST) (envelope-from mi+kde@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by aldan.algebra.com (8.14.1/8.14.1/Submit) id lBK9wSUw054791; Thu, 20 Dec 2007 04:58:28 -0500 (EST) (envelope-from mi+kde@aldan.algebra.com) From: Mikhail Teterin To: "Max N. Boyarov" , Chuck Swiger Date: Thu, 20 Dec 2007 04:58:27 -0500 User-Agent: KMail/1.9.7 References: <200712192322.lBJNMfps053071@aldan.algebra.com> <200712191906.16254.mi+mill@aldan.algebra.com> <86r6hixiyn.fsf@bsd.by> In-Reply-To: <86r6hixiyn.fsf@bsd.by> X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" Cc: questions@freebsd.org Subject: Re: tail does not exit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 10:11:34 -0000 On =D3=C5=D2=C5=C4=C1 19 =C7=D2=D5=C4=C5=CE=D8 2007, Chuck Swiger wrote: =3D A quick test suggests that "tail -f" will close when it gets a SIGPIPE. SIGPIPE? How is that relevant? Does tail get a SIGPIPE, when awk disappears in my example? If it does not, why do you bring it up? And if it does get SIGPIPE, then you are wrong, because the posted "quick test" shows the exact opposite behavior -- tail does NOT go away. Please, clarify... Thanks. On =D3=C5=D2=C5=C4=C1 19 =C7=D2=D5=C4=C5=CE=D8 2007, Max N. Boyarov wrote: =3D =9Atry to test your script with anoter file and add somthing to it =3D=20 =3D 1) cons1$ touch /tmp/test =3D 2) =9Acons1$ tail -f /tmp/test | awk '{print "Line: " $1 ; =9Aexit(0)}E= ND{print "Bye"}' =3D 2a) =9ALine: Line1 =3D 2b) =9ABye I'm sorry, this does not make sense to me. Starting with an empty file, as you do in 1), /may/ make tail not notice, that awk went away, because tail has nothing to write to stdout. But /var/log/messages is not empty, and awk -- in my example -- would exit upon seeing the very first line of its input (tail's output). Yet tail fails to notice, that its subsequent output (starting with the second line) is written to nowhere... Why? -mi P.S. Here is the example again: #!/bin/sh if tail -f /var/log/messages | awk '{print "Exiting"; exit 0}' then echo Exited else echo Failed fi exit 0 From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 10:11:49 2007 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 AF02D16A417 for ; Thu, 20 Dec 2007 10:11:49 +0000 (UTC) (envelope-from m.boyarov@bsd.by) Received: from mx1.cybernet.by (mx1.cybernet.by [212.98.164.131]) by mx1.freebsd.org (Postfix) with ESMTP id 6DDE913C457 for ; Thu, 20 Dec 2007 10:11:49 +0000 (UTC) (envelope-from m.boyarov@bsd.by) Received: from mx1.cybernet.by (mx1.cybernet.by [127.0.0.10]) by mx1.cybernet.by (Postfix) with ESMTP id 12839CDF5BC; Thu, 20 Dec 2007 12:07:31 +0200 (EET) Received: from solar.bsd.by (dragonsoul.aichyna.com [87.252.248.30]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.cybernet.by (Postfix) with ESMTP id 8BC2DCDF5BB; Thu, 20 Dec 2007 12:07:30 +0200 (EET) Received: by solar.bsd.by (Postfix, from userid 1001) id 9842622860; Thu, 20 Dec 2007 12:11:30 +0200 (EET) X-Comment-To: Mikhail Teterin To: Mikhail Teterin References: <200712192322.lBJNMfps053071@aldan.algebra.com> <200712191906.16254.mi+mill@aldan.algebra.com> <86r6hixiyn.fsf@bsd.by> <200712200458.27988@aldan> From: m.boyarov@bsd.by (Max N. Boyarov) In-Reply-To: <200712200458.27988@aldan> (Mikhail Teterin's message of "Thu, 20 Dec 2007 04:58:27 -0500") X-Mailer: Gnus v5.11/GNU Emacs 22.1 Date: Thu, 20 Dec 2007 12:11:26 +0200 Message-ID: <86wsr98ylt.fsf@bsd.by> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Virus-Scanned: ClamAV Cc: questions@freebsd.org Subject: Re: tail does not exit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 10:11:49 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable >>>>> "MT" =3D=3D Mikhail Teterin writes: [...] MT> I'm sorry, this does not make sense to me. Starting with an empty MT> file, as you do in 1), /may/ make tail not notice, that awk went MT> away, because tail has nothing to write to stdout. MT> But /var/log/messages is not empty, and awk -- in my example -- would MT> exit upon seeing the very first line of its input (tail's output). MT> Yet tail fails to notice, that its subsequent output (starting with the MT> second line) is written to nowhere... MT> Why? Because nothing writeln to /var/log/messages =20 $ sh -x /tmp/x.sh=20 + + tail -f /var/log/messages=20=20 awk {print "Exiting"; exit 0} Exiting + echo Exited Exited + exit 0 after something writeln to /var/log/messages tail get SIGPIPE open("/var/log/messages",O_RDONLY,0666) =3D 3 (0x3) fstat(3,{mode=3D-rw-r--r-- ,inode=3D141327,size=3D4997,blksize=3D4096}) =3D= 0 (0x0) mmap(0x0,4997,PROT_READ,MAP_SHARED,3,0x0) =3D 672616448 (0x28175000) Exiting write(1,"Dec 20 11:59:04 solar kernel: da"...,1090) =3D 1090 (0x442) fstat(3,{mode=3D-rw-r--r-- ,inode=3D141327,size=3D4997,blksize=3D4096}) =3D= 0 (0x0) lseek(3,0x0,SEEK_CUR) =3D 0 (0x0) lseek(3,0x1000,SEEK_SET) =3D 4096 (0x1000) read(3,"kernel: da1: 1.000MB/s transfers"...,4096) =3D 901 (0x385) munmap(0x28175000,4997) =3D 0 (0x0) read(3,0x28204000,4096) =3D 0 (0x0) kqueue(0x28172d40,0x4,0xa,0x0,0x28201088,0x1) =3D 4 (0x4) fstatfs(0x3,0xbfbfe44c,0x2815fe98,0x28172d40,0x0,0x2806dee4) =3D 0 (0x0) kevent(4,{0x3,EVFILT_READ,EV_ADD|EV_ENABLE|EV_CLEAR,0,0x0,0x0},1,0x0,0,{0.0= 00000000}) =3D 0 (0x0) kevent(4,0x0,0,{0x3,EVFILT_READ,EV_CLEAR,0,0x3e,0x0},1,0x0) =3D 1 (0x1) read(3,"Dec 20 12:06:27 solar su: BAD SU"...,4096) =3D 62 (0x3e) fstat(1,{mode=3Dp--------- ,inode=3D0,size=3D0,blksize=3D4096}) =3D 0 (0x0) read(3,0x28204000,4096) =3D 0 (0x0) write(1,"Dec 20 12:06:27 solar su: BAD SU"...,62) ERR#32 'Broken pipe' SIGNAL 13 (SIGPIPE) =2D-=20 Max N. Boyarov --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHaj/SXJXgXMoFno8RAvy7AJ9Qlt1EvgHjYFHlhZirFzxLmJls3QCfePsk 6Hk6N74RQObkY3xeVow9Zm8= =Yt4Q -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 10:16:39 2007 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 9816816A46C for ; Thu, 20 Dec 2007 10:16:39 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.freebsd.org (Postfix) with ESMTP id 544EA13C478 for ; Thu, 20 Dec 2007 10:16:34 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (localhost [127.0.0.1]) by aldan.algebra.com (8.14.1/8.14.1) with ESMTP id lBKAGVwX054911 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 20 Dec 2007 05:16:31 -0500 (EST) (envelope-from mi+kde@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by aldan.algebra.com (8.14.1/8.14.1/Submit) id lBKAGUDQ054910; Thu, 20 Dec 2007 05:16:30 -0500 (EST) (envelope-from mi+kde@aldan.algebra.com) From: Mikhail Teterin To: "Max N. Boyarov" Date: Thu, 20 Dec 2007 05:16:30 -0500 User-Agent: KMail/1.9.7 References: <200712192322.lBJNMfps053071@aldan.algebra.com> <200712200458.27988@aldan> <86wsr98ylt.fsf@bsd.by> In-Reply-To: <86wsr98ylt.fsf@bsd.by> X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" Cc: questions@freebsd.org Subject: Re: tail does not exit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 10:16:39 -0000 On =DE=C5=D4=D7=C5=D2 20 =C7=D2=D5=C4=C5=CE=D8 2007, Max N. Boyarov wrote: =3D after something writeln to /var/log/messages tail get SIGPIPE But why is that needed for tail to notice? It is trying to output 10 lines. After it outputs the very first one of them, awk exits, and the 9 subsequen= t=20 lines go into thin air /without tail noticing/. Is not that a bug in itself? -mi From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 10:20:55 2007 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 9EE6716A418 for ; Thu, 20 Dec 2007 10:20:55 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mta5.srv.hcvlny.cv.net (mta5.srv.hcvlny.cv.net [167.206.4.200]) by mx1.freebsd.org (Postfix) with ESMTP id 7D3AB13C461 for ; Thu, 20 Dec 2007 10:20:55 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from flosoft.no-ip.biz (ool-435559b8.dyn.optonline.net [67.85.89.184]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0JTC002B6E0T4ZC0@mta5.srv.hcvlny.cv.net> for questions@freebsd.org; Thu, 20 Dec 2007 04:50:54 -0500 (EST) Received: from flosoft.no-ip.biz (localhost [IPv6:::1]) by flosoft.no-ip.biz (8.14.2/8.14.2) with ESMTP id lBK9orue027095; Thu, 20 Dec 2007 04:50:53 -0500 Date: Thu, 20 Dec 2007 04:50:53 -0500 From: "Aryeh M. Friedman" In-reply-to: <20071220093317.GA20354@0lsen.net> To: Clint Olsen Message-id: <476A3AFD.7050303@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7BIT X-Enigmail-Version: 0.95.5 References: <20071220054842.GA1337@0lsen.net> <20071220093317.GA20354@0lsen.net> User-Agent: Thunderbird 2.0.0.9 (X11/20071217) Cc: questions@freebsd.org Subject: Re: Can't start more than one gnome-session as the same user? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2007 10:20:55 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Clint Olsen wrote: > On Dec 19, Clint Olsen wrote: >> I searched and found a lot of old hits of this error. The >> solutions are not very compelling. Unsetting SESSION_MANAGER >> before launching vncserver only cascades errors down into the >> various client programs like the desktop etc. > > Answering my own question, the problem is that you really need to > start with a fresh shell that isn't inherited from the existing > windowing environment. So, logging in remotely and starting up > vncserver works. While I wouldn't call this very elegant, at least > it works. > Side question: Can this solution be used to access multiple accounts on the same machine? > > -- Aryeh M. Friedman FloSoft Systems http://www.flosoft-systems.com > Developer, not business, friendly -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHajr9zIOMjAek4JIRAiWYAJ90tgiNOc3iPNj997pd6RiAJZ6y0QCeJ8L4 iNP3nXbVZT/3uDJEfcRPs4c= =+C8X -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 10:35:50 2007 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 E86E616A46B for ; Thu, 20 Dec 2007 10:35:50 +0000 (UTC) (envelope-from m.boyarov@bsd.by) Received: from mx1.cybernet.by (mail.cybernet.by [212.98.164.131]) by mx1.freebsd.org (Postfix) with ESMTP id A5A1713C4D5 for ; Thu, 20 Dec 2007 10:35:50 +0000 (UTC) (envelope-from m.boyarov@bsd.by) Received: from mx1.cybernet.by (mx1.cybernet.by [127.0.0.10]) by mx1.cybernet.by (Postfix) with ESMTP id 499A0CDF5B8; Thu, 20 Dec 2007 12:31:32 +0200 (EET) Received: from solar.bsd.by (dragonsoul.aichyna.com [87.252.248.30]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.cybernet.by (Postfix) with ESMTP id 304DACDF587; Thu, 20 Dec 2007 12:31:32 +0200 (EET) Received: by solar.bsd.by (Postfix, from userid 1001) id 449BB22860; Thu, 20 Dec 2007 12:35:32 +0200 (EET) X-Comment-To: Mikhail Teterin To: Mikhail Teterin References: <200712192322.lBJNMfps053071@aldan.algebra.com> <200712200458.27988@aldan> <86wsr98ylt.fsf@bsd.by> <200712200516.30702@aldan> From: m.boyarov@bsd.by (Max N. Boyarov) In-Reply-To: <200712200516.30702@aldan> (Mikhail Teterin's message of "Thu, 20 Dec 2007 05:16:30 -0500") X-Mailer: Gnus v5.11/GNU Emacs 22.1 Date: Thu, 20 Dec 2007 12:35:28 +0200 Message-ID: <86ejdh4psf.fsf@bsd.by> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Virus-Scanned: ClamAV Cc: questions@freebsd.org Subject: Re: tail does not exit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 10:35:51 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable >>>>> "MT" =3D=3D Mikhail Teterin writes: MT> On =D1=87=D0=B5=D1=82=D0=B2=D0=B5=D1=80 20 =D0=B3=D1=80=D1=83=D0=B4= =D0=B5=D0=BD=D1=8C 2007, Max N. Boyarov wrote: MT> =3D after something writeln to /var/log/messages tail get SIGPIPE MT> But why is that needed for tail to notice? It is trying to output 10 l= ines. MT> After it outputs the very first one of them, awk exits, and the 9 subs= equent=20 MT> lines go into thin air /without tail noticing/. =20 MT> Is not that a bug in itself? Tail write buffer at all, i.e. all 10 lines writes to pipe. $ cat test=20=20=20 line1 line2 line3 line4 line5 line6 line7 line8 line9 line10 line11 tail -f test | awk '{print "Exiting" $1; exit 0}' open("test", O_RDONLY) =3D 3 fstat(3, {st_mode=3DS_IFREG|0644, st_size=3D68, ...}) =3D 0 syscall_477(0, 0x44, 0x1, 0x1, 0x3, 0, 0) =3D 0x28175000 write(1, "line2\nline3\nline4\nline5\nline6\nli"..., 62Exitingline2 ) =3D 62 fstat(3, {st_mode=3DS_ISUID|S_ISVTX|070, st_size=3D0, ...}) =3D 0 syscall_478(0x3, 0, 0, 0x1) =3D 0 syscall_478(0x3, 0, 0, 0) =3D 0 read(3, "line1\nline2\nline3\nline4\nline5\nli"..., 4096) =3D 68 ^^^^^^^^^^^^^^^^^^^^^^ write buff ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ munmap(0x28175000, 68) =3D 0 read(3, "", 4096) =3D 0 kqueue(0x28172d40) =3D 4 syscall_397(0x3, 0xbfbfe44c) =3D 0 kevent(0x4, 0x28205040, 0x1, 0, 0, 0xbfbfe624) =3D 0 kevent(0x4, 0, 0, 0x28205040, 0x1, 0) =3D 1 read(3, "line++\n", 4096) =3D 7 ^^^^^^^^^^^^^^^^^^^^^^ new line added ^^^^^^^^^^^^^^^^^^^^^ fstat(1, {st_mode=3D031545, st_size=3D7596457873570623081, ...}) =3D 0 read(3, "", 4096) =3D 0 write(1, "line++\n", 7) =3D -1 EPIPE (Broken pipe) ^^^^^^^^^ try write ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ =2D-- SIGPIPE (Broken pipe: 13) --- =2D-- SIGPIPE (Broken pipe: 13) --- ^^^^^^^^ exit ^^^^^^^^^^^^^ =2D-=20 Max N. Boyarov --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHakV0XJXgXMoFno8RAnUaAJ4g0r0TY2Td+Em+4CAboeUrnLPMpACgqt8I Yn6f9ptNcb4YQjv+A8L/sCw= =huQF -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 10:40:21 2007 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 17E2C16A417 for ; Thu, 20 Dec 2007 10:40:21 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.freebsd.org (Postfix) with ESMTP id C9FD613C467 for ; Thu, 20 Dec 2007 10:40:20 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (localhost [127.0.0.1]) by aldan.algebra.com (8.14.1/8.14.1) with ESMTP id lBKAeCaO055001 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 20 Dec 2007 05:40:13 -0500 (EST) (envelope-from mi+kde@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by aldan.algebra.com (8.14.1/8.14.1/Submit) id lBKAeBrC055000; Thu, 20 Dec 2007 05:40:11 -0500 (EST) (envelope-from mi+kde@aldan.algebra.com) From: Mikhail Teterin To: "Max N. Boyarov" Date: Thu, 20 Dec 2007 05:40:11 -0500 User-Agent: KMail/1.9.7 References: <200712192322.lBJNMfps053071@aldan.algebra.com> <200712200516.30702@aldan> <86ejdh4psf.fsf@bsd.by> In-Reply-To: <86ejdh4psf.fsf@bsd.by> X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" Cc: questions@freebsd.org Subject: Re: tail does not exit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 10:40:21 -0000 On =DE=C5=D4=D7=C5=D2 20 =C7=D2=D5=C4=C5=CE=D8 2007, Max N. Boyarov wrote: =3D =9AMT> Is not that a bug in itself? =3D=20 =3D =9ATail write buffer at all, i.e. all 10 lines writes to pipe. So, the behavior depends on the size of the buffer -- and thus the size of = the=20 input lines. A bug indeed... -mi From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 10:55:31 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD23C16A46B for ; Thu, 20 Dec 2007 10:55:31 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 85CF213C458 for ; Thu, 20 Dec 2007 10:55:31 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 928 invoked from network); 20 Dec 2007 04:55:20 -0600 Received: from 124-170-40-102.dyn.iinet.net.au (HELO localhost) (124.170.40.102) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 20 Dec 2007 04:55:12 -0600 Date: Thu, 20 Dec 2007 21:54:36 +1100 From: Norberto Meijome To: freebsd-questions@freebsd.org Message-ID: <20071220215436.0c596cb5@meijome.net> In-Reply-To: <20071220184322.5ad659d4@meijome.net> References: <74F0F91EA046A1B9EAB79AF7@ganymede.hub.org> <20071220184322.5ad659d4@meijome.net> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.3; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: OSS Virtualization options ... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 10:55:31 -0000 On Thu, 20 Dec 2007 18:43:22 +1100 Norberto Meijome wrote: > wrt to QEMU,i don't think is fast enough to make it worth it - i think you'd gain more by moving a bit to the side of freebsd for the host and using other options (linux+ Vmware + freebsd as guest) I meant this in the context of using QEMU to run multiple simultaneous VMs for server virtualisation. I think it works OK(ish) for , say, running Windows on your bsd box....but i don't think you can compare it to something like Xen or VMWare or MS Virtual Server probably a bit behind Qemu in speed would be BOCHS, though I think it is a bit more flexible wrt to the machines emulated. B _________________________ {Beto|Norberto|Numard} Meijome I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 12:54:02 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EA2416A418 for ; Thu, 20 Dec 2007 12:54:02 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from wmail.teledomenet.gr (wmail.teledomenet.gr [213.142.128.16]) by mx1.freebsd.org (Postfix) with ESMTP id E6A6313C45A for ; Thu, 20 Dec 2007 12:54:01 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: by wmail.teledomenet.gr (Postfix, from userid 1002) id AA6051C80F1; Thu, 20 Dec 2007 14:54:00 +0200 (EET) X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on wmail.teledomenet.gr X-Spam-Level: X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.7-deb Received: from iris (unknown [192.168.1.71]) by wmail.teledomenet.gr (Postfix) with ESMTP id DB9F71C80F1; Thu, 20 Dec 2007 14:53:50 +0200 (EET) From: Nikos Vassiliadis To: freebsd-questions@freebsd.org, "Marc G. Fournier" Date: Thu, 20 Dec 2007 14:57:41 +0200 User-Agent: KMail/1.9.7 References: <74F0F91EA046A1B9EAB79AF7@ganymede.hub.org> <20071220184322.5ad659d4@meijome.net> <20071220215436.0c596cb5@meijome.net> In-Reply-To: <20071220215436.0c596cb5@meijome.net> X-NCC-RegID: gr.telehouse MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712201457.42052.nvass@teledomenet.gr> Cc: Norberto Meijome Subject: Re: OSS Virtualization options ... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 12:54:02 -0000 On Thursday 20 December 2007 12:54:36 Norberto Meijome wrote: > On Thu, 20 Dec 2007 18:43:22 +1100 > > Norberto Meijome wrote: > > wrt to QEMU,i don't think is fast enough to make it worth it - i think > > you'd gain more by moving a bit to the side of freebsd for the host > > and using other options (linux+ Vmware + freebsd as guest) > > I meant this in the context of using QEMU to run multiple simultaneous > VMs for server virtualisation. I think it works OK(ish) for , say, > running Windows on your bsd box....but i don't think you can compare it > to something like Xen or VMWare or MS Virtual Server > > probably a bit behind Qemu in speed would be BOCHS, though I think it is > a bit more flexible wrt to the machines emulated. Hi Mark and Norberto, Mark, what do you need to virtualize and what your requirements are? I think the question about virtualization is far too broad. For example, you mentioned quotas. I think you can bypass storage control problems, using seperate devices for each client filesystem. Just create n vnode md(4) devices for your n jails. This has another advantage besides partitioning storage. Since UFS supports sparse files, only used blocks will occupy storage space, thus you don't have to preallocate all storage. HTH a bit, Nikos From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 13:05:51 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CB6216A41A for ; Thu, 20 Dec 2007 13:05:51 +0000 (UTC) (envelope-from jurjenm@stack.nl) Received: from mx1.stack.nl (meestal-mk5.stack.nl [IPv6:2001:610:1108:5010::149]) by mx1.freebsd.org (Postfix) with ESMTP id 1C8D013C4E1 for ; Thu, 20 Dec 2007 13:05:51 +0000 (UTC) (envelope-from jurjenm@stack.nl) Received: by mx1.stack.nl (Postfix, from userid 65534) id 0242141C57; Thu, 20 Dec 2007 14:05:50 +0100 (CET) X-Spam-DCC: Rhyolite: toad.stack.nl 104; Body=1 Fuz1=1 Fuz2=1 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on toad.stack.nl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.2.3 X-Spam-Relay-Country: NL Received: from jurjen (wlan-197193.nbw.tue.nl [131.155.197.193]) by mailhost.stack.nl (Postfix) with ESMTP id 8D8A9420D7; Thu, 20 Dec 2007 14:05:33 +0100 (CET) Received: by jurjen (sSMTP sendmail emulation); Thu, 20 Dec 2007 14:03:31 +0000 Date: Thu, 20 Dec 2007 14:03:31 +0000 From: Jurjen Middendorp To: Chuck Robey Message-ID: <20071220140330.GA1100@s062107.tue.nl> Mail-Followup-To: Jurjen Middendorp , Chuck Robey , FreeBSD Questions References: <20071214010542.GA19553@demeter.hydra> <200712132012.32729.mike.jeays@rogers.com> <20071214211008.GA12935@melon.esperance-linux.co.uk> <20071215021349.GF2062@kobe.laptop> <1197850883.4230.3.camel@tomcat.straycat.dhs.org> <4765EC7E.6050704@chuckr.org> <1197866090.6951.6.camel@tomcat.straycat.dhs.org> <20071217084051.GA1121@s062107.tue.nl> <4766DCE6.6000902@chuckr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4766DCE6.6000902@chuckr.org> User-Agent: Mutt/1.4.2.3i Organization: FOTLP (Federation Of Terribly Lazy People) Cc: FreeBSD Questions Subject: Re: pdksh vs. mksh info [was: Re: Apparently, csh programming is considered harmful.] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 13:05:51 -0000 On Mon, Dec 17, 2007 at 03:32:38PM -0500, Chuck Robey wrote: >Jurjen Middendorp wrote: >>>> If you're familiar with pdksh, are you also familiar with ksh93, which >>>>is (I believe) Mr. Korn's own shell? If you are, I would be interessted >>>> in your opinion of the two, any comparisons you might give. >>>I've never used ksh93 so I really can't say. There is a NOTES file >>>included with pdksh which gives a starter. I created this port a few >>>years ago because of some random issue I've long since forgotten with >>>pdksh on my FreeBSD box which didn't happen on my OpenBSD box. >>> >>>tom >> >>I never used pdksh, but am using ksh93 for quite a while now and have used >>bash, too. For some reason i like it better than bash, the vi mode is a bit >>better somehow, it feels alot sturdier. It doesn't have those special >>variables like $! and !! i believe, but it has alot of neat features like -----------------^ i ment !$ offcourse :) >>basic network programming, lots of parameter expansion stuff and is just a >>very nice shell :) > >I havre installed it, and played with it a bit, I admit it's nicer than >sh (and I *think*, bash) but the reason I haven't tried using it >regularly is because I can't find a nicely set up .kshrc ... if you have >one, I'd appreciate a copy. Might be nice, if it's not terribly long, >to post it to the list, too. Basically it's just like any other shell .*rc. It sets some environment variables for stuff, a bunch of aliases and some functions i find useful myself, or am too lazy to throw away. Nothing really ksh-specific, except maybe some of the functions i wrote use ksh-stuff like arrays, but that's not really ksh-specific as well. You could use google to find any .*rc for sh-like shells and copy those (or get a copy of unix power tools, it's a nice book to make you feel at home in a shell) -jurjen ps. these functions i probably use the most :) alias d="do_in_bg dillo" alias x="do_in_bg xpdf" alias ff="do_in_bg firefox" #do a program in the background: do_in_bg() { "$@" > /dev/null 2>&1 & } #open a webpage from disk, like: $cd /usr/share/doc/en && htm #to look at all the (english) freebsd-docs :) htm() { set -A stuff $(find -L . -name "index.htm*" -print) (for ((i=0; i < ${#stuff[*]}; i++)); do print "$i \t: ${stuff[i]}"; done) | $PAGER read x && d ${stuff[$x]} } From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 13:36:06 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6EA116A421 for ; Thu, 20 Dec 2007 13:36:06 +0000 (UTC) (envelope-from rymkus@inbox.ru) Received: from mx4.mail.ru (fallback.mail.ru [194.67.57.14]) by mx1.freebsd.org (Postfix) with ESMTP id 6547913C4CE for ; Thu, 20 Dec 2007 13:36:06 +0000 (UTC) (envelope-from rymkus@inbox.ru) Received: from mx38.mail.ru (mx38.mail.ru [194.67.23.16]) by mx4.mail.ru (mPOP.Fallback_MX) with ESMTP id CFA6110B6FE7 for ; Thu, 20 Dec 2007 13:04:36 +0300 (MSK) Received: from [212.119.161.50] (port=4729 helo=sysadmin.modul.spb.ru) by mx38.mail.ru with esmtp id 1J5IGS-000N29-00; Thu, 20 Dec 2007 13:04:28 +0300 Date: Thu, 20 Dec 2007 13:05:41 +0300 From: "A.Rymkus" X-Mailer: The Bat! (v3.99.3) Professional X-Priority: 3 (Normal) Message-ID: <183069951.20071220130541@inbox.ru> To: Christopher Key In-Reply-To: <47038B88.4060705@cam.ac.uk> References: <47038B88.4060705@cam.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Install doxygen on a non X11 machine X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "A.Rymkus" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2007 13:36:06 -0000 Hi, Christopher. You wrote at 03.10.2007, 15:31:04: CK> Hello, CK> I'm trying to install doxygen on a non X11 machine from the ports CK> collection. CK> I've added 'devel/doxygen*: WITHOUT_DOXYWIZARD=yes' to my ports.conf, CK> which is being recognised: CK> # cd /usr/ports/devel/doxygen CK> # make -V WITHOUT_DOXYWIZRD CK> yes CK> From my reading of the doxygen Makefile, this should be enough to CK> prevent any of the graphical tools from being installed. Nevertheless, CK> whenever I run make, I'm presented with a configuration screen for qt. CK> Can anyone advise? CK> Regards, CK> Chris CK> _______________________________________________ CK> freebsd-questions@freebsd.org mailing list CK> http://lists.freebsd.org/mailman/listinfo/freebsd-questions CK> To unsubscribe, send any mail to CK> "freebsd-questions-unsubscribe@freebsd.org" You have to put "WITHOUT_X11=TRUE" line in your /etc/make.conf if you want to make all of ports without X11 support, or you may use something like that style with make: env WITHOUT_X11="TRUE"; make -- WBR, A.Rymkus From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 13:57:14 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D6D716A477 for ; Thu, 20 Dec 2007 13:57:14 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id 1C13513C469 for ; Thu, 20 Dec 2007 13:57:13 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from localhost (unknown [200.46.204.182]) by hub.org (Postfix) with ESMTP id C2F1A11FDD34; Thu, 20 Dec 2007 09:57:13 -0400 (AST) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 29456-01; Thu, 20 Dec 2007 09:57:08 -0400 (AST) Received: from fserv.hub.org (blk-7-245-234.eastlink.ca [71.7.245.234]) by hub.org (Postfix) with ESMTP id 3FB3411FDD1B; Thu, 20 Dec 2007 09:57:13 -0400 (AST) Received: from [192.168.1.2] (unknown [192.168.1.2]) by fserv.hub.org (Postfix) with ESMTP id 0D13B6096D; Thu, 20 Dec 2007 09:57:18 -0400 (AST) Date: Thu, 20 Dec 2007 09:57:05 -0400 From: "Marc G. Fournier" To: Nikos Vassiliadis , freebsd-questions@freebsd.org Message-ID: <09EB40C88507ABCB81E6AFA0@ganymede.hub.org> In-Reply-To: <200712201457.42052.nvass@teledomenet.gr> References: <74F0F91EA046A1B9EAB79AF7@ganymede.hub.org> <20071220184322.5ad659d4@meijome.net> <20071220215436.0c596cb5@meijome.net> <200712201457.42052.nvass@teledomenet.gr> X-Mailer: Mulberry/4.0.8 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Norberto Meijome Subject: Re: OSS Virtualization options ... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 13:57:14 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On Thursday, December 20, 2007 14:57:41 +0200 Nikos Vassiliadis wrote: > Mark, what do you need to virtualize and what your requirements are? As mentioned in my original, we provide VPS hosting, so we're virtualizating the whole virtual machine ... > I think the question about virtualization is far too broad. > For example, you mentioned quotas. I think you can bypass storage > control problems, using seperate devices for each client filesystem. > Just create n vnode md(4) devices for your n jails. This has another > advantage besides partitioning storage. Since UFS supports sparse > files, only used blocks will occupy storage space, thus you don't > have to preallocate all storage. Again, as mentioned in the original, the problem isn't quotaing the whole VPS, the problem is software (in this case, plesk) that seems to have a requirement to set a hard quota *within* the VPS itself, which isn't supported, currently, by jails ... In the past, for quotaing 'the whole VPS', I had tried the whole md(4) device idea, but found that insufficent inodes were being created for to do much, and no matter what I tried with newfs, couldn't seem to get more to be created, as if, due to the small size of the device, a 'max ratio' was being hit ... but, this was way back on 4.x when I tried that ... - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHanSx4QvfyHIvDvMRAsSMAJ0XEYjZI5ELwFeilPGMrr7LXvFGrACeMF4V 4zmuT2vbGDIOdjGQwbSLjk4= =EGiy -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 14:32:51 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 634F016A468 for ; Thu, 20 Dec 2007 14:32:51 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (dsl092-078-145.bos1.dsl.speakeasy.net [66.92.78.145]) by mx1.freebsd.org (Postfix) with ESMTP id 3228913C508 for ; Thu, 20 Dec 2007 14:32:51 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id 5AB0528434; Thu, 20 Dec 2007 09:32:50 -0500 (EST) To: RA Cohen References: <54129.66383.qm@web54201.mail.re2.yahoo.com> From: Lowell Gilbert Date: Thu, 20 Dec 2007 09:32:50 -0500 In-Reply-To: <54129.66383.qm@web54201.mail.re2.yahoo.com> (RA Cohen's message of "Tue\, 18 Dec 2007 14\:11\:14 -0800 \(PST\)") Message-ID: <44fxxxphbh.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: NIS Linux - Ubuntu 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, 20 Dec 2007 14:32:51 -0000 RA Cohen writes: > I am sorry, here is an addendum to my previous post: > >>>Somehow Ubuntu was given root user > permissions<< > > Actually, upon rereading my notes, Ubuntu was only given permissions of the user doing the login - not root - but we could login with any valid user apparently FreeBSD thought it was presented with a wildcard password. > > And I can also verify that FreeBSD clients are able to use the password map when x is used instead of * in the map to represent the password. So I can secure the system using the x but still cannot get Ubuntu clients to authenticate. Sounds like Ubuntu is using the wrong map, probably one where it's getting a different and empty field where it expects to find a password. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 14:33:41 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FB4816A420 for ; Thu, 20 Dec 2007 14:33:41 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from wmail.teledomenet.gr (wmail.teledomenet.gr [213.142.128.16]) by mx1.freebsd.org (Postfix) with ESMTP id C4F7A13C467 for ; Thu, 20 Dec 2007 14:33:40 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: by wmail.teledomenet.gr (Postfix, from userid 1002) id C82BA1C81CD; Thu, 20 Dec 2007 16:33:39 +0200 (EET) X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on wmail.teledomenet.gr X-Spam-Level: X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.7-deb Received: from iris (unknown [192.168.1.71]) by wmail.teledomenet.gr (Postfix) with ESMTP id D2F591C81CD; Thu, 20 Dec 2007 16:33:29 +0200 (EET) From: Nikos Vassiliadis To: "Marc G. Fournier" Date: Thu, 20 Dec 2007 16:37:19 +0200 User-Agent: KMail/1.9.7 References: <74F0F91EA046A1B9EAB79AF7@ganymede.hub.org> <200712201457.42052.nvass@teledomenet.gr> <09EB40C88507ABCB81E6AFA0@ganymede.hub.org> In-Reply-To: <09EB40C88507ABCB81E6AFA0@ganymede.hub.org> X-NCC-RegID: gr.telehouse MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712201637.20690.nvass@teledomenet.gr> Cc: freebsd-questions@freebsd.org, Norberto Meijome Subject: Re: OSS Virtualization options ... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 14:33:41 -0000 On Thursday 20 December 2007 15:57:05 Marc G. Fournier wrote: > > I think the question about virtualization is far too broad. > > For example, you mentioned quotas. I think you can bypass storage > > control problems, using seperate devices for each client filesystem. > > Just create n vnode md(4) devices for your n jails. This has another > > advantage besides partitioning storage. Since UFS supports sparse > > files, only used blocks will occupy storage space, thus you don't > > have to preallocate all storage. > > Again, as mentioned in the original, the problem isn't quotaing the > whole VPS, the problem is software (in this case, plesk) that seems to > have a requirement to set a hard quota *within* the VPS itself, which > isn't supported, currently, by jails ... > > In the past, for quotaing 'the whole VPS', I had tried the whole md(4) > device idea, but found that insufficent inodes were being created for to > do much, and no matter what I tried with newfs, couldn't seem to get > more to be created, as if, due to the small size of the device, a 'max > ratio' was being hit ... but, this was way back on 4.x when I tried that > ... UFS2 does not initialize inodes at newfs time as UFS did. So, things are much better now! root:0:~# truncate -s 10G jail.00 root:0:~# mdconfig -at vnode -f jail.00 md0 root:0:~# newfs md0 /dev/md0: 10240.0MB (20971520 sectors) block size 16384, fragment size 2048 using 56 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. super-block backups (for fsck -b #) at: 160, 376512, 752864, 1129216, 1505568, ... root:0:~# ls -ls jail.00 4592 -rw-r--r-- 1 root wheel 10737418240 Dec 20 16:21 jail.00 4.5MB for a 10GB filesystems is fine, isn't it? Nikos From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 14:36:54 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1569516A418 for ; Thu, 20 Dec 2007 14:36:54 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (dsl092-078-145.bos1.dsl.speakeasy.net [66.92.78.145]) by mx1.freebsd.org (Postfix) with ESMTP id DA26213C447 for ; Thu, 20 Dec 2007 14:36:53 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id 3399C28434; Thu, 20 Dec 2007 09:36:53 -0500 (EST) To: Eric Osterweil References: <9221BB32-8D07-4671-A95C-24F6F5A7F04F@cs.ucla.edu> From: Lowell Gilbert Date: Thu, 20 Dec 2007 09:36:53 -0500 In-Reply-To: <9221BB32-8D07-4671-A95C-24F6F5A7F04F@cs.ucla.edu> (Eric Osterweil's message of "Wed\, 19 Dec 2007 19\:58\:00 -0500") Message-ID: <44bq8lph4q.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Questions Subject: Re: Does 6.2 Support VIA EPIA M10000G Nehemiah Mini-ITX? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 14:36:54 -0000 Eric Osterweil writes: > I just installed 6.2 on a VIA EPIA M10000G Nehemiah Mini-ITX. It all > seems to have installed fine, but when I try to buildworld I get > internal compiler errors almost immediately. The problems are not > consistently in the same place but they seem to be for the same > reason. Inconsistent compiler errors are almost always a hardware issue. I have an earlier Nehemiah-class board (possibly the one which yours replaced), which has been very reliable as my home server for a couple of years. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 15:08:38 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D72A216A417 for ; Thu, 20 Dec 2007 15:08:38 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (dsl092-078-145.bos1.dsl.speakeasy.net [66.92.78.145]) by mx1.freebsd.org (Postfix) with ESMTP id A225413C442 for ; Thu, 20 Dec 2007 15:08:38 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id AB14028434; Thu, 20 Dec 2007 10:08:37 -0500 (EST) To: "Alexander Rudyk \(Akvelon\)" References: <3659EBC278926E47B1802BE0129D1B6007D8AD3AC8@NA-EXMSG-C123.redmond.corp.microsoft.com> From: Lowell Gilbert Date: Thu, 20 Dec 2007 10:08:37 -0500 In-Reply-To: <3659EBC278926E47B1802BE0129D1B6007D8AD3AC8@NA-EXMSG-C123.redmond.corp.microsoft.com> (Alexander Rudyk's message of "Wed\, 19 Dec 2007 17\:17\:50 -0800") Message-ID: <44sl1x4d56.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "freebsd-questions@freebsd.org" Subject: Re: Partitions size for 80GB HDD and 2GB RAM X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 15:08:38 -0000 "Alexander Rudyk (Akvelon)" writes: > I am planning to install FreeBSD 6.2 on my dell laptop with 80Gb HDD and 2GB > RAM. FreeBSD will be the only OS on the laptop. Laptop will be used to web > development (RubyOnRails), entertaiment (photo, music, video), > web browsing and emailing, so no server side task will be handled. > > How you suggest to split 80GB between partitions to solve all laptop tasks. > Here is partitions: > /root > /var > /usr > /home > /swap You might want to consider a single partition (other than swap). The only reason I separate partitions these days is to make backups easier. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 15:22:36 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 995E216A417 for ; Thu, 20 Dec 2007 15:22:36 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from qsmtp3.mc.surewest.net (qsmtp.mc.surewest.net [66.60.130.145]) by mx1.freebsd.org (Postfix) with SMTP id 76D7C13C442 for ; Thu, 20 Dec 2007 15:22:36 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: (qmail 27268 invoked from network); 20 Dec 2007 07:22:35 -0800 Received: by simscan 1.1.0 ppid: 27231, pid: 27232, t: 13.6617s scanners: regex: 1.1.0 attach: 1.1.0 spam: 3.1.7-deb X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on qsmtp3.surewest.net X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=AWL,BAYES_40, RCVD_IN_SORBS_DUL autolearn=no version=3.1.7-deb Received: from unknown (HELO blacklamb.mykitchentable.net) (66.205.146.210) by qsmtp3 with SMTP; 20 Dec 2007 07:22:22 -0800 Received: from [192.168.1.3] (bigdaddy.mykitchentable.net [192.168.1.3]) by blacklamb.mykitchentable.net (Postfix) with ESMTP id B0EC01648D0 for ; Thu, 20 Dec 2007 07:22:20 -0800 (PST) Message-ID: <476A88C3.4060001@mykitchentable.net> Date: Thu, 20 Dec 2007 07:22:43 -0800 From: Drew Tomlinson User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <226ae0c60712170738m7b5f2a5dt6286fe336cd8dd88@mail.gmail.com> <20071218050508.GB41080@demeter.hydra> <20071218053615.GA9154@brahma.susmita.org> <20071218101700.GA42187@demeter.hydra> In-Reply-To: <20071218101700.GA42187@demeter.hydra> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: common filesystem for Linux and FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2007 15:22:36 -0000 On 12/18/2007 2:17 AM Chad Perrin said the following: > On Tue, Dec 18, 2007 at 11:06:15AM +0530, Girish Venkatachalam wrote: > [snip] >> If FFS2 and EXT3 are ruled out, then what is remaining? ;) >> >> XFS? >> > > Maybe? > > My impression is that there isn't good UFS support in Linux, and that > stable ext3 support is read-only in FreeBSD. If that's the case, then it > really does seem to come down to a matter of figuring out whether XFS, > JFS, or ReiserFS (to throw out a few examples) have stable read/write > support in both Linux and FreeBSD systems. > I use XFS on a Gentoo Linux distribution for a MythTV box and it has performed well for me. I've lost power on several occasions and the filesystem has remained intact. However I recall reading somewhere that XFS is better tuned for large files (such as the TV recordings that are 2+ Gb each) so you may want to check that before settling. I have no idea about XFS on FreeBSD. [snip] HTH, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 15:49:41 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 748C116A41B for ; Thu, 20 Dec 2007 15:49:41 +0000 (UTC) (envelope-from vcrobe@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.224]) by mx1.freebsd.org (Postfix) with ESMTP id 2D46513C47E for ; Thu, 20 Dec 2007 15:49:40 +0000 (UTC) (envelope-from vcrobe@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so1667039nzf.13 for ; Thu, 20 Dec 2007 07:49:40 -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:mime-version:content-type; bh=goVMO8AEprKprlm1XGg4d01+9UulJJAJ3YmpjkhPizI=; b=tHKfMrY7k6lTiXolyrpRQHklsMTLVVG/h7EFQwmZ57n4bIHDxH2dGuYjwhxFpgptRRB3OPlUWLvw8VyPHhKuZRcu8QtenWjH0EGG67zHbjxYavYgw7nMGi7T8VJ8xROUf+7WygMgDigF+6g6owd/uvDevxWbzzI2e1zXS8Gv1Jw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=oEuD7NbzYTJ/FjS0GL/3Vr1MxtNRXSfhWGxvbBS8ej879j/eBmj/BbHV9WF1AIFDddnOtko8lXNyu/Y56O95BdQn/7yMFWJvVtE/DQJ8zzMofTo6SA3IFprJz3s1fj/oLBewhG5j39eh+bhIxTyreVV2lctQC4u5dMMG48SXzzw= Received: by 10.143.157.10 with SMTP id j10mr57196wfo.229.1198164303207; Thu, 20 Dec 2007 07:25:03 -0800 (PST) Received: by 10.143.165.12 with HTTP; Thu, 20 Dec 2007 07:25:03 -0800 (PST) Message-ID: <221c791e0712200725n5ab8c2d9yfd4d7fca851f9ef4@mail.gmail.com> Date: Thu, 20 Dec 2007 10:25:03 -0500 From: Robe To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: libc documentation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 15:49:41 -0000 Hi, I need to know where I can find the full documentation of the last libc library. Thanks, -- Robe. En el verdadero amor, el alma oculta al cuerpo. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 16:03:07 2007 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 68E1816A417 for ; Thu, 20 Dec 2007 16:03:07 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.freebsd.org (Postfix) with ESMTP id 16E9013C448 for ; Thu, 20 Dec 2007 16:03:06 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (localhost [127.0.0.1]) by aldan.algebra.com (8.14.1/8.14.1) with ESMTP id lBKG314m058869 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 20 Dec 2007 11:03:01 -0500 (EST) (envelope-from mi+kde@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by aldan.algebra.com (8.14.1/8.14.1/Submit) id lBKG2xh7058868; Thu, 20 Dec 2007 11:02:59 -0500 (EST) (envelope-from mi+kde@aldan.algebra.com) From: Mikhail Teterin To: Erik Osterholm Date: Thu, 20 Dec 2007 11:02:59 -0500 User-Agent: KMail/1.9.7 References: <200712192322.lBJNMfps053071@aldan.algebra.com> <200712200540.11553@aldan> <20071220155336.GA31047@aleph.cepheid.org> In-Reply-To: <20071220155336.GA31047@aleph.cepheid.org> X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" Cc: questions@freebsd.org, "Max N. Boyarov" Subject: Re: tail does not exit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 16:03:07 -0000 On =DE=C5=D4=D7=C5=D2 20 =C7=D2=D5=C4=C5=CE=D8 2007, Erik Osterholm wrote: =3D The same behavior happens if I use a larger file. =9AI see no =3D inconsistent behavior, nor any bugs. The inconsistency is in the fact, that the behavior depends on the size of = the=20 buffer and length of the lines (not the size of the file). If the 10 lines, which tail tries to output initially, exceed the size of t= he=20 buffer, tail learns about awk going away immediately. If the lines are not= =20 long enough, it does not. Also, I would expect a program to be notified (by SIGPIPE?) /immediately/,= =20 when any of its output pipes are closed -- instead of waiting for it to try= =20 to write into the pipe. But this issue is not, it seems, FreeBSD-specific... -mi From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 16:10:34 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6047B16A41A for ; Thu, 20 Dec 2007 16:10:34 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id 061D813C43E for ; Thu, 20 Dec 2007 16:10:33 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.2/8.14.2) id lBKGAWSb058675; Thu, 20 Dec 2007 10:10:32 -0600 (CST) (envelope-from dan) Date: Thu, 20 Dec 2007 10:10:32 -0600 From: Dan Nelson To: Robe Message-ID: <20071220161031.GA34692@dan.emsphone.com> References: <221c791e0712200725n5ab8c2d9yfd4d7fca851f9ef4@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <221c791e0712200725n5ab8c2d9yfd4d7fca851f9ef4@mail.gmail.com> X-OS: FreeBSD 7.0-BETA4 User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-questions@freebsd.org Subject: Re: libc documentation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 16:10:34 -0000 In the last episode (Dec 20), Robe said: > I need to know where I can find the full documentation of the last > libc library. Most of the libc documentation should be in /usr/src/lib/libc/ . Any file ending in .2 or .3 is a manpage. They are also installed in /usr/share/man and are available using the "man" command. Run "man 3 printf", for example. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 16:12:58 2007 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 6791C16A41A for ; Thu, 20 Dec 2007 16:12:58 +0000 (UTC) (envelope-from erik@cepheid.org) Received: from mail.cepheid.org (aleph.cepheid.org [72.232.60.94]) by mx1.freebsd.org (Postfix) with ESMTP id 3C9CF13C4F5 for ; Thu, 20 Dec 2007 16:12:58 +0000 (UTC) (envelope-from erik@cepheid.org) Received: by mail.cepheid.org (Postfix, from userid 1006) id 45DCA9B4058; Thu, 20 Dec 2007 09:53:36 -0600 (CST) Date: Thu, 20 Dec 2007 09:53:36 -0600 From: Erik Osterholm To: Mikhail Teterin Message-ID: <20071220155336.GA31047@aleph.cepheid.org> References: <200712192322.lBJNMfps053071@aldan.algebra.com> <200712200516.30702@aldan> <86ejdh4psf.fsf@bsd.by> <200712200540.11553@aldan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200712200540.11553@aldan> User-Agent: Mutt/1.4.2.3i Cc: questions@freebsd.org, "Max N. Boyarov" Subject: Re: tail does not exit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 16:12:58 -0000 On Thu, Dec 20, 2007 at 05:40:11AM -0500, Mikhail Teterin wrote: > On ?????? 20 ??????? 2007, Max N. Boyarov wrote: = | MT> Is not that > a bug in itself? = = | Tail write buffer at all, i.e. all 10 lines > writes to pipe. > > So, the behavior depends on the size of the buffer -- and thus the > size of the input lines. > > A bug indeed... I don't understand. aleph:~$ cat test blah1 blah2 blah3 aleph:~$ tail -f test | awk '{print $1; exit 0}' blah1 (hangs) This is expected. Awk printed one time and exited, per the given script. The output from tail/input from awk went all at once, awk printed the first line, exited, and the rest of the input disappeared. 'tail' sent "blah1\nblah2\nblah3\n" to awk, awk printed until the first newline and exited. If I now write to test from another terminal: aleph:~$ echo "blah4" >> test Tail tries to write to the pipe, which it finds closed. It receives a SIGPIPE (tried to write to a pope with no reader--see man signal), and it terminates. The same behavior happens if I use a larger file. I see no inconsistent behavior, nor any bugs. Erik From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 16:58:09 2007 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 2125316A41A for ; Thu, 20 Dec 2007 16:58:09 +0000 (UTC) (envelope-from erik@cepheid.org) Received: from mail.cepheid.org (aleph.cepheid.org [72.232.60.94]) by mx1.freebsd.org (Postfix) with ESMTP id F0B0B13C46A for ; Thu, 20 Dec 2007 16:58:08 +0000 (UTC) (envelope-from erik@cepheid.org) Received: by mail.cepheid.org (Postfix, from userid 1006) id 233F49B4058; Thu, 20 Dec 2007 10:58:08 -0600 (CST) Date: Thu, 20 Dec 2007 10:58:08 -0600 From: Erik Osterholm To: Mikhail Teterin Message-ID: <20071220165807.GA34089@aleph.cepheid.org> References: <200712192322.lBJNMfps053071@aldan.algebra.com> <200712200540.11553@aldan> <20071220155336.GA31047@aleph.cepheid.org> <200712201102.59565@aldan> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200712201102.59565@aldan> User-Agent: Mutt/1.4.2.3i Cc: questions@freebsd.org Subject: Re: tail does not exit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 16:58:09 -0000 On Thu, Dec 20, 2007 at 11:02:59AM -0500, Mikhail Teterin wrote: > On ?????? 20 ??????? 2007, Erik Osterholm wrote: > = The same behavior happens if I use a larger file.  I see no > = inconsistent behavior, nor any bugs. > > The inconsistency is in the fact, that the behavior depends on the size of the > buffer and length of the lines (not the size of the file). > > If the 10 lines, which tail tries to output initially, exceed the size of the > buffer, tail learns about awk going away immediately. If the lines are not > long enough, it does not. > > Also, I would expect a program to be notified (by SIGPIPE?) /immediately/, > when any of its output pipes are closed -- instead of waiting for it to try > to write into the pipe. But this issue is not, it seems, FreeBSD-specific... > > -mi Ah, I see. With very, very long lines, tail doesn't send the output all at once. The cutoff seems to be 65536 bytes on my system. If tail has to write more than this amount, it breaks it up into mutliple writes of a maximum of 65536 characters each. The problem is that after the first 65536 characters, awk has exited, causing the next 65536 characters which tail attempts to write to cause a SIGPIPE. It seems to be working as intended, though. When piping, you have to be aware of these issues, but I do not think that it is a bug. There must be some boundary where tail splits the output into multiple writes. If, after the first write, a \n hasn't been encountered yet, awk will consider at least some portion of the next write (up until the first \n) to be the same line, at least until it hits its own limit. I have not checked to see what this limit might be. As for SIGPIPE, that's just how the POSIX standard works. The signal is sent to the writing process when it attempts to write to a broken or closed pipe, not when the pipe has closed. If you think that this behavior is bad, you might want to contact IEEE. Erik From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 17:17:23 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E23B16A418 for ; Thu, 20 Dec 2007 17:17:23 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from web57013.mail.re3.yahoo.com (web57013.mail.re3.yahoo.com [66.196.97.117]) by mx1.freebsd.org (Postfix) with SMTP id 9332013C448 for ; Thu, 20 Dec 2007 17:17:22 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: (qmail 97835 invoked by uid 60001); 20 Dec 2007 16:50:41 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=rgkN/pVWDyHMnINqpHTzRmtINgbydMkkH6UeuLZ+lRV2BgO6bk9jY7viIIm1qUPJfX1e2H66kRvJo110DATHN8bn77bNewcg4Rjw973dykt6oXsyRmXC6yb98rmcBR5K+KTDvyUP7Qe37LxxEVziSQMFoaxp5eb8Uu1fjQoCtIM=; X-YMail-OSG: 6qHUQXwVM1kIalnDnmARqCQ6FmsWsek.msiVaSC0vgJqDmOHCRxkLdpAbeDfz9lOyA-- Received: from [165.21.154.17] by web57013.mail.re3.yahoo.com via HTTP; Thu, 20 Dec 2007 08:50:41 PST Date: Thu, 20 Dec 2007 08:50:41 -0800 (PST) From: Unga To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <676288.97766.qm@web57013.mail.re3.yahoo.com> Subject: What priority this app running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 17:17:23 -0000 Hi all $ ps auxl -w | grep amarok test 1707 0.0 9.4 61680 48544 ?? S 12:29AM 0:17.29 amarokapp 1003 1 1 20 0 ksere Could I check with the list what is the priority this amarokapp is running? The ps man page doesn't show the values for priority, therefore, what should be the values it should display for lowest and highest priority (realtime)? Kind regards Unga ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 17:34:15 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D53CD16A417 for ; Thu, 20 Dec 2007 17:34:15 +0000 (UTC) (envelope-from athome@dreamchaser.org) Received: from nightmare.dreamchaser.org (12-32-44-142.static.blackfoot.net [12.32.44.142]) by mx1.freebsd.org (Postfix) with ESMTP id 834A313C46B for ; Thu, 20 Dec 2007 17:34:15 +0000 (UTC) (envelope-from athome@dreamchaser.org) Received: from [12.32.36.74] (freshstart.dreamchaser.org. [12.32.36.74]) by nightmare.dreamchaser.org (8.13.6/8.13.6) with ESMTP id lBKH5uJG009597 for ; Thu, 20 Dec 2007 10:05:56 -0700 (MST) (envelope-from athome@dreamchaser.org) Message-ID: <476A9FD0.4060607@dreamchaser.org> Date: Thu, 20 Dec 2007 10:01:04 -0700 From: At Home User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (nightmare.dreamchaser.org [12.32.36.65]); Thu, 20 Dec 2007 10:05:56 -0700 (MST) Subject: 6.2 and Asus A7N8X-E X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 17:34:15 -0000 I've got an extra Asus A7N8X-E mobo I'm trying to bring 6.2 up on. AMD 3200+, Barton 2G PC-3200 rom, 1G OCZ and 1G Kingston valueram Seagate ES ST3250820NS Sata drives jumpered for 1.5GB only NVidia FX5600 AGP display adapter I checked the archives and found comments about disabling ACPI, which I've done, but it still hangs at various points in the process of loading up the disk. I've tried turning off the on-board SATA controller and using an Adaptec SATA controller with no improvement. I've also tried slowing the clock and a few other de-optimizations, to no avail. Is this basically a bad idea, or is there some piece of the puzzle I'm missing? Any help would be much appreciated. Thanks, Gary From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 17:47:50 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5435B16A468 for ; Thu, 20 Dec 2007 17:47:50 +0000 (UTC) (envelope-from v-alrudy@microsoft.com) Received: from smtp.microsoft.com (smtp.microsoft.com [131.107.115.212]) by mx1.freebsd.org (Postfix) with ESMTP id 29B8D13C4DD for ; Thu, 20 Dec 2007 17:47:50 +0000 (UTC) (envelope-from v-alrudy@microsoft.com) Received: from TK5-EXHUB-C102.redmond.corp.microsoft.com (157.54.70.72) by TK5-EXGWY-E801.partners.extranet.microsoft.com (10.251.56.50) with Microsoft SMTP Server (TLS) id 8.1.222.3; Thu, 20 Dec 2007 09:47:49 -0800 Received: from NA-EXMSG-C123.redmond.corp.microsoft.com ([157.54.61.187]) by TK5-EXHUB-C102.redmond.corp.microsoft.com ([157.54.70.72]) with mapi; Thu, 20 Dec 2007 09:47:49 -0800 From: "Alexander Rudyk (Akvelon)" To: Frank Bonnet Date: Thu, 20 Dec 2007 09:47:48 -0800 Thread-Topic: Partitions size for 80GB HDD and 2GB RAM Thread-Index: AchC66bIiZl1x+P3TTCyvGzfGPcE8AARKmjA Message-ID: <3659EBC278926E47B1802BE0129D1B6007D8AD3C15@NA-EXMSG-C123.redmond.corp.microsoft.com> References: <3659EBC278926E47B1802BE0129D1B6007D8AD3AC8@NA-EXMSG-C123.redmond.corp.microsoft.com> <476A375A.5050702@esiee.fr> In-Reply-To: <476A375A.5050702@esiee.fr> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "freebsd-questions@freebsd.org" Subject: RE: Partitions size for 80GB HDD and 2GB RAM X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 17:47:50 -0000 Why /var partition is so big? How it will be used? -----Original Message----- From: Frank Bonnet [mailto:f.bonnet@esiee.fr] Sent: Thursday, December 20, 2007 1:35 AM To: Alexander Rudyk (Akvelon) Subject: Re: Partitions size for 80GB HDD and 2GB RAM Alexander Rudyk (Akvelon) wrote: > Hi all > > I am planning to install FreeBSD 6.2 on my dell laptop with 80Gb HDD and = 2GB > RAM. FreeBSD will be the only OS on the laptop. Laptop will be used to we= b > development (RubyOnRails), entertaiment (photo, music, video), > web browsing and emailing, so no server side task will be handled. > > How you suggest to split 80GB between partitions to solve all laptop task= s. > Here is partitions: > /root > /var > /usr > /home > /swap > oops you miss the / partition ! I suggest / 2 Gb /var 10 Gb /usr 30 Gb swap 2 Gb the rest for /root and /home -- Cordialement Frank Bonnet ESIEE Paris From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 17:51:29 2007 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 A669616A418 for ; Thu, 20 Dec 2007 17:51:29 +0000 (UTC) (envelope-from mi+mill@aldan.algebra.com) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.9]) by mx1.freebsd.org (Postfix) with ESMTP id 7A9F813C442 for ; Thu, 20 Dec 2007 17:51:29 +0000 (UTC) (envelope-from mi+mill@aldan.algebra.com) Received: (qmail 31772 invoked from network); 20 Dec 2007 17:51:29 -0000 Received: from aldan.algebra.com (HELO aldan-mlp) ([216.254.65.224]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 20 Dec 2007 17:51:28 -0000 From: Mikhail Teterin To: Erik Osterholm Date: Thu, 20 Dec 2007 12:51:26 -0500 User-Agent: KMail/1.7.1 References: <200712192322.lBJNMfps053071@aldan.algebra.com> <200712201102.59565@aldan> <20071220165807.GA34089@aleph.cepheid.org> In-Reply-To: <20071220165807.GA34089@aleph.cepheid.org> Organization: Virtual Estates, Inc. MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-u" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200712201251.27067.mi+mill@aldan.algebra.com> Cc: questions@freebsd.org Subject: Re: tail does not exit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 17:51:29 -0000 =DE=C5=D4=D7=C5=D2 20 =C7=D2=D5=C4=C5=CE=D8 2007 11:58 =C4=CF, Erik Osterho= lm =F7=C9 =CE=C1=D0=C9=D3=C1=CC=C9: > Ah, I see. =9AWith very, very long lines, tail doesn't send the output > all at once. The cutoff seems to be 65536 bytes on my system. They don't even have to be very very long -- unless in an artificial exampl= e,=20 such as the one I posted. Normal-width text files can also trigger=20 inconsistent behavior in some real-life scenario, where awk actually does=20 some real processing of its input for a while. The awk script may decide to= =20 quit after processing the first 1000 (normal-length) lines, for example...= =20 The behavior of the program will then be different depending on whether the= =20 average line-length is above, at, or below 65.536 characters. Maybe, it is awk's fault -- it should not be read-ing more than one line at= a=20 time, because the script may cause it to ignore some of the read data. Using line-buffering or some such? -mi From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 17:55:06 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBF9016A41A for ; Thu, 20 Dec 2007 17:55:06 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from smtp.utwente.nl (unknown [IPv6:2001:610:1908:1000:204:23ff:feb5:7e66]) by mx1.freebsd.org (Postfix) with ESMTP id EC60C13C478 for ; Thu, 20 Dec 2007 17:55:05 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from lux.student.utwente.nl (lux.student.utwente.nl [130.89.170.81]) by smtp.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id lBKHspfr006197; Thu, 20 Dec 2007 18:54:51 +0100 From: Pieter de Goeje To: freebsd-questions@freebsd.org Date: Thu, 20 Dec 2007 18:54:50 +0100 User-Agent: KMail/1.9.7 References: <676288.97766.qm@web57013.mail.re3.yahoo.com> In-Reply-To: <676288.97766.qm@web57013.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712201854.51070.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact helpdesk@ITBE.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: Unga Subject: Re: What priority this app running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 17:55:06 -0000 On Thursday 20 December 2007, Unga wrote: > Hi all > > $ ps auxl -w | grep amarok > test 1707 0.0 9.4 61680 48544 ?? S 12:29AM > 0:17.29 amarokapp 1003 1 1 20 0 ksere > > Could I check with the list what is the priority this > amarokapp is running? Priority isn't shown in the output above. Try $ ps -o pri,ni,rtprio,command -p `pgrep amarok` This will display priority, nice value and realtime priority (in that order). > > The ps man page doesn't show the values for priority, > therefore, what should be the values it should display > for lowest and highest priority (realtime)? A lower value means higher priority. Realtime priority 0 is as high as you can get. See also rtprio(1). Hope this helps, Pieter de Goeje From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 18:35:07 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC2D116A419 for ; Thu, 20 Dec 2007 18:35:07 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 2B71913C46B for ; Thu, 20 Dec 2007 18:35:07 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1J5Q45-00035m-1l for freebsd-questions@freebsd.org; Thu, 20 Dec 2007 18:24:13 +0000 Received: from feistyd.lsw.okstate.edu ([139.78.110.83]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 20 Dec 2007 18:24:13 +0000 Received: from joines by feistyd.lsw.okstate.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 20 Dec 2007 18:24:13 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Jason Joines Date: Thu, 20 Dec 2007 12:10:15 -0600 Lines: 72 Message-ID: References: <18272.27362.622233.540876@almost.alerce.com> <476259C2.4020502@evotex.ch> 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: feistyd.lsw.okstate.edu User-Agent: Thunderbird 2.0.0.6 (X11/20070728) In-Reply-To: Sender: news Subject: Re: will freebsd run on apple intel xserve X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 18:35:07 -0000 Jason Joines wrote: > Gabriel Rossetti wrote: >> George Hartzell wrote: >>> Jason Joines writes: >>> > I'm a Linux guy who has inherited some apple xserve boxes. > >>> Surprisingly I've discovered that I really hate os x. For the intel >>> > xserve boxes, Linux isn't an option. The CPUs are amd64 >>> architecture. >> AMD64....on an Intel X-Serve box? I think you got it wrong there....... >> Anyways, EFI support for Xeon CPUs should work without a problem, even >> for linux. >> I'm not sure about EFI support, I think it's fine in CURRENT, from what >> I've read on the net. >> >> Good luck, >> Gabriel >>> > The EFI capable Linux bootloader, has had beta support for amd64 >>> since > July. However, the Linux kernel just got support to boot >>> via EFI and > amd64 in a release candidate patch this month. It'll >>> probably be quite > a while before a distribution has an installer >>> with what I need. >>> > > At any rate, I've always wanted to try one of the BSDs. >>> Will > FreeBSD install on an apple intel xserve? If not does anyone >>> know if > another BSD or some other open source NIX will work? >>> >>> I can't give you a direct answer, but I was running 6-STABLE on an >>> 8-way mac pro up until a couple of weeks ago (I had to give it back to >>> it's owners and I'm waiting until after the next wwdc to buy my >>> own...). >>> >>> I used bootcamp to partition a spare disk, then just booted from a >>> freebsd cd and installed onto that partition. I ended up using refit >>> as a boot doohickey (initially from an refit cd, eventually taking a >>> chance on installing it onto the disk itself). >>> >>> There wasn't anything too surprising. >>> >>> g. > > > > > Nope, it is the AMD64 architecture on apple intel xserve. Intel > cloned it and called it Intel 64 and EM64T among other names. More > vendor neutral names are x86-64 and x64. At any rate, many Linux > distributions, and FreeBSD, release a version they call amd64 that runs > on CPUs with this instruction set regardless of whether AMD or Intel > created it. > EFI support may be fine for amd64 xeon's but the elilo boot loader > wouldn't work with amd64 until the latest beta. Even though the boot > loader became capable in that beta, the Linux kernel wouldn't work with > elilo on amd64 until 2.6.24-rc4. > It may be fine with x86 xeons and it has always worked with ia64, > just not amd64. > > I just don't know enough about FreeBSD to know if it or the > bootloader(s) it uses have any of the same issues Linux does or not. > Hopefully I'll get to go onsite soon and give it a try. > > > Jason > =========== Well I tried the amd64 version of FreeBSD 6.2 from the bootonly.iso and it didn't work either. Just like the Linux CDs, the xserve didn't even recognize it as bootable. Jason =========== From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 18:35:35 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F16416A46B for ; Thu, 20 Dec 2007 18:35:35 +0000 (UTC) (envelope-from cblasius@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id ECB3013C45B for ; Thu, 20 Dec 2007 18:35:34 +0000 (UTC) (envelope-from cblasius@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so688489uge.37 for ; Thu, 20 Dec 2007 10:35:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; bh=9yf5J2QzyRvcQYYjxbYCrGvmgGNdOm0Z1cebf9KxpaQ=; b=McCH5etvmRenyFwV/OyTdZmEXiFmWL0YOJYn5P9GKWywXZbSHoZgEHPUHmnMA503JVFFmwyYTW+0Sj2o8w/yrQF3vwGabi9AvL5yZlitfgp2mKOuV8x7XwWtSmFMwAqVWS2L66bZEXPu0AsoSutLrJw/+x8m0Hp0BlxN1veI04Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=BMRp1zLns5ZBcA9aS2fJ1XIJyNXSK+OjHIX/hr5aqoK0Flkmcwv+l9hMmdoblZnvkUa5ab5ec2I/hgGJtVsusWXuhrw7cfgZe8E2Osuthf3clUUPmXUBG68DaKLYyZsqCOnLowZnLmog/a7VPO/9CQg/uI4Xc+JH638MwgCMRpc= Received: by 10.67.116.7 with SMTP id t7mr3768236ugm.38.1198175733459; Thu, 20 Dec 2007 10:35:33 -0800 (PST) Received: from xdsl-5405.zgora.dialog.net.pl ( [84.40.169.29]) by mx.google.com with ESMTPS id l4sm2951462ugf.75.2007.12.20.10.35.29 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Dec 2007 10:35:30 -0800 (PST) From: Zbigniew Komarnicki To: freebsd-questions@freebsd.org Date: Thu, 20 Dec 2007 19:35:25 +0100 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712201935.25889.cblasius@gmail.com> Subject: Still is error in atlas package on 2 machines with athlon 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: Thu, 20 Dec 2007 18:35:35 -0000 Hello! I would like to ask you for help with this issue, because about 4 month ago I tried compile atlas (ports/math/atlas) and today and still with no success. I still obtain the following assertion error: 10 cases: 10 passed, 0 skipped, 0 failed Benchmarking xcllttstF NREPS UPLO N lda TIME MFLOPS RESID ===== ===== ===== ===== ============ ============ ============ 1 Lower 100 100 0.00203 671.262 6.761073e-03 1 Lower 200 200 0.01329 811.882 4.470909e-03 1 Lower 300 300 0.02895 1253.066 2.536267e-03 1 Lower 400 400 0.06035 1421.975 2.848316e-03 1 Lower 500 500 0.13054 1282.513 3.074112e-03 1 Lower 600 600 0.21536 1342.329 2.439888e-03 1 Lower 700 700 0.31553 1454.058 2.280117e-03 1 Lower 800 800 0.46786 1463.242 1.895154e-03 1 Lower 900 900 0.62829 1550.929 1.907595e-03 1 Lower 1000 1000 0.84989 1572.366 2.426128e-03 10 cases: 10 passed, 0 skipped, 0 failed Benchmarking xzllttst NREPS UPLO N lda TIME MFLOPS RESID ===== ===== ===== ===== ============ ============ ============ assertion ATL_zpotrf(CblasColMajor, Uplo, N, A, lda) == 0 failed, line 344 of file ../llttst.c *** Error code 255 Stop in /usr/ports/math/atlas. *** Error code 1 Stop in /usr/ports/math/atlas. I have from dmesg the following processor: FreeBSD 6.3-PRERELEASE #0: Sat Dec 1 18:32:38 CET 2007 zbigniew@machine.dom:/usr/obj/usr/src/sys/MYKERNEL Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) (1240.53-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x681 Stepping = 1 Features=0x383fbff AMD Features=0xc0400800 real memory = 2147418112 (2047 MB) avail memory = 2088062976 (1991 MB) On similar machine at my work I also obtained similar assertion error. Whats is going on here? Could you help me? It nervous me that this is not working (4 months pass and still not compiling with success), but I don't know why? Maybe it is hardware error? or maybe someone has this same problem? Please for your help and suggestions how to solve this problem. If you need more information I send it to you. I'm sorry for my English. Thank you in advance. Zbigniew From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 18:35:38 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A18EA16A41B for ; Thu, 20 Dec 2007 18:35:38 +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 2389613C45D for ; Thu, 20 Dec 2007 18:35:38 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-25-183.bredband.comhem.se ([83.253.25.183]:59371 helo=falcon.midgard.homeip.net) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1J5QF6-00079a-8y for freebsd-questions@freebsd.org; Thu, 20 Dec 2007 19:35:37 +0100 Received: (qmail 47010 invoked from network); 20 Dec 2007 19:35:33 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 20 Dec 2007 19:35:33 +0100 Received: (qmail 14043 invoked by uid 1001); 20 Dec 2007 19:35:33 +0100 Date: Thu, 20 Dec 2007 19:35:33 +0100 From: Erik Trulsson To: At Home Message-ID: <20071220183533.GA13897@owl.midgard.homeip.net> Mail-Followup-To: At Home , freebsd-questions@freebsd.org References: <476A9FD0.4060607@dreamchaser.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <476A9FD0.4060607@dreamchaser.org> User-Agent: Mutt/1.5.16 (2007-06-09) X-Originating-IP: 83.253.25.183 X-Scan-Result: No virus found in message 1J5QF6-00079a-8y. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1J5QF6-00079a-8y ea9a29746be48200c3666bff200d4780 Cc: freebsd-questions@freebsd.org Subject: Re: 6.2 and Asus A7N8X-E X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 18:35:38 -0000 On Thu, Dec 20, 2007 at 10:01:04AM -0700, At Home wrote: > I've got an extra Asus A7N8X-E mobo I'm trying to bring 6.2 up on. > AMD 3200+, Barton > 2G PC-3200 rom, 1G OCZ and 1G Kingston valueram > Seagate ES ST3250820NS Sata drives jumpered for 1.5GB only > NVidia FX5600 AGP display adapter > > I checked the archives and found comments about disabling ACPI, which I've > done, but it still hangs at various points in the process of loading up the > disk. > > I've tried turning off the on-board SATA controller and using an Adaptec > SATA controller with no improvement. I've also tried slowing the clock and > a few other de-optimizations, to no avail. > > Is this basically a bad idea, or is there some piece of the puzzle I'm > missing? Any help would be much appreciated. > Checking the specifications of that motherboard, there is nothing obvious that should prevent it from working with FreeBSD. If the process stops at different places each time, then it sounds like bad hardware. The kind of hardware problems that most often give "strange" errors are: a) Bad RAM. Check your memory with memtest86 (or equivalent.) Try removing one of the memory sticks at a time. b) Bad power supply. Try another if you have one. c) Overheating of some component. Make sure you have adequate cooling of the system. You could also try updating the BIOS, in case some bugs have been fixed in a later version. Problems with ACPI are almost always due to bugs in the BIOS. -- Erik Trulsson ertr1013@student.uu.se From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 18:36:23 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EA2616A4A6 for ; Thu, 20 Dec 2007 18:36:23 +0000 (UTC) (envelope-from clair.high@gmail.com) Received: from hs-out-2122.google.com (hs-out-0708.google.com [64.233.178.248]) by mx1.freebsd.org (Postfix) with ESMTP id CCE4613C45B for ; Thu, 20 Dec 2007 18:36:22 +0000 (UTC) (envelope-from clair.high@gmail.com) Received: by hs-out-2122.google.com with SMTP id j58so409316hsj.11 for ; Thu, 20 Dec 2007 10:36:21 -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:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=Pp2hc0W5KsmCAPYpdbRX6LrtlVb+E5F+CW6uQ41u5lo=; b=aaDOroybfr/uXhR9DrfNtfB3lvvrMbqC4vpsPGxLO+1Qa+6go0hZuI0KkhMMODAXgJCO6tp0K54HHW9OKrgOK1f3Fi9jAU1r9io5zd+KqxocENwJjHVey8ca4BZds+frOLgfkRY8xuY7StSQsxfzwSuLTgag3lt/anvIcTE2aR0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=NIewym0i8Czw6C/v2PITjK6zdm+Epvq1ZWOeh/A5q2kbssiijIalbcPWqWfXSVgo7BDvaBu+pyAV1xoohyVkCkBb44/U9fs+f2HS2cg0ZZQGPcZoa3DSafFOwB/aMWjfN8oJ7/mXaTIcx/Tk+z1lgttmdqqC/uLy8PO3CEkUSEs= Received: by 10.143.161.3 with SMTP id n3mr231744wfo.32.1198174064135; Thu, 20 Dec 2007 10:07:44 -0800 (PST) Received: by 10.142.99.14 with HTTP; Thu, 20 Dec 2007 10:07:44 -0800 (PST) Message-ID: <653c2e600712201007g44292abdq2d6ac290c3513a6@mail.gmail.com> Date: Thu, 20 Dec 2007 13:07:44 -0500 From: "C High" Sender: clair.high@gmail.com To: freebsd-questions@freebsd.org In-Reply-To: <653c2e600712201005x1e8e79a9la24bba073a52ede3@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <676288.97766.qm@web57013.mail.re3.yahoo.com> <200712201854.51070.pieter@degoeje.nl> <653c2e600712201005x1e8e79a9la24bba073a52ede3@mail.gmail.com> X-Google-Sender-Auth: 40476e5c8ee2201f Subject: Fwd: What priority this app running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 18:36:23 -0000 On Dec 20, 2007 12:54 PM, Pieter de Goeje wrote: > On Thursday 20 December 2007, Unga wrote: > > Could I check with the list what is the priority this > > amarokapp is running? > > Priority isn't shown in the output above. Try > $ ps -o pri,ni,rtprio,command -p `pgrep amarok` > This will display priority, nice value and realtime priority (in that order). > > > The ps man page doesn't show the values for priority, > > therefore, what should be the values it should display > > for lowest and highest priority (realtime)? > > A lower value means higher priority. Realtime priority 0 is as high as you can > get. See also rtprio(1). > I am not so familiar with the pri or rtprio columns as much as I am the nice column, and I'm also new to this list. So, I hope I'm not throwing in my 2 cents too early. With nice, 20 is the lowest priority, 0 is the base, and -20 is the highest. for me `ps auxl` shows both pri and ni, but not rtprio and I'm definitely not the one to ask regarding pri and rtprio. I should do some reading upon these, too. Cheers, Clair -- tch3.com From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 18:48:42 2007 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 36F9316A418 for ; Thu, 20 Dec 2007 18:48:42 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out3.apple.com (mail-out3.apple.com [17.254.13.22]) by mx1.freebsd.org (Postfix) with ESMTP id 147A713C467 for ; Thu, 20 Dec 2007 18:48:42 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay11.apple.com (relay11.apple.com [17.128.113.48]) by mail-out3.apple.com (Postfix) with ESMTP id 04C141BC88AC; Thu, 20 Dec 2007 10:48:42 -0800 (PST) Received: from relay11.apple.com (unknown [127.0.0.1]) by relay11.apple.com (Symantec Mail Security) with ESMTP id E0BDA28084; Thu, 20 Dec 2007 10:48:41 -0800 (PST) X-AuditID: 11807130-a5e46bb000004fb9-4e-476ab909b430 Received: from cswiger1.apple.com (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay11.apple.com (Apple SCV relay) with ESMTP id 8724E28082; Thu, 20 Dec 2007 10:48:41 -0800 (PST) Message-Id: <7A58A4F6-4F31-4972-8213-4B9406D6A3FF@mac.com> From: Chuck Swiger To: Mikhail Teterin In-Reply-To: <200712200458.27988@aldan> Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v915) Date: Thu, 20 Dec 2007 10:48:40 -0800 References: <200712192322.lBJNMfps053071@aldan.algebra.com> <200712191906.16254.mi+mill@aldan.algebra.com> <86r6hixiyn.fsf@bsd.by> <200712200458.27988@aldan> X-Mailer: Apple Mail (2.915) X-Brightmail-Tracker: AAAAAA== Cc: questions@freebsd.org, "Max N. Boyarov" Subject: Re: tail does not exit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 18:48:42 -0000 On Dec 20, 2007, at 1:58 AM, Mikhail Teterin wrote: > On =D1=81=D0=B5=D1=80=D0=B5=D0=B4=D0=B0 19 =D0=B3=D1=80=D1=83=D0=B4=D0=B5= =D0=BD=D1=8C 2007, Chuck Swiger wrote: > =3D A quick test suggests that "tail -f" will close when it gets a =20 > SIGPIPE. > > SIGPIPE? How is that relevant? Does tail get a SIGPIPE, when awk =20 > disappears > in my example? If it does not, why do you bring it up? tail should get a SIGPIPE when it tries to write to a pipeline where =20 the other end has closed. > And if it does get SIGPIPE, then you are wrong, because the posted > "quick test" shows the exact opposite behavior -- tail does NOT go > away. > > Please, clarify... Thanks. Worked for me. I opened two SSH sessions to a FreeBSD 5.5 system, and =20= did this in one: % touch /tmp/logfile % echo "line 1" >> /tmp/logfile ...and this in the other: % tail -f /tmp/logfile | awk '{print "Line: " $1 ; exit(0)}END{print =20= "Bye"}' ...when I then did a: % echo "line 2" >> /tmp/logfile ...in the first, the tail -f process terminated in the second. --=20 -Chuck From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 18:56:53 2007 Return-Path: Delivered-To: FreeBSD-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2634216A41B for ; Thu, 20 Dec 2007 18:56:53 +0000 (UTC) (envelope-from nikola.lecic@anthesphoria.net) Received: from anthesphoria.net (anthesphoria.net [200.46.204.219]) by mx1.freebsd.org (Postfix) with ESMTP id A666F13C45B for ; Thu, 20 Dec 2007 18:56:52 +0000 (UTC) (envelope-from nikola.lecic@anthesphoria.net) X-Bogosity: No, tests=bogofilter X-DKIM: Sendmail DKIM Filter v2.3.2 anthesphoria.net lBKIufO2069858 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=anthesphoria.net; s=phero; t=1198177011; bh=xRTPYkYK6Pqt9geBTFuAcysza36VS0j73utuFpiU4 dA=; l=2315; h=X-Bogosity:Date:From:To:Cc:Subject:Message-ID: In-Reply-To:References:X-Mailer:X-Face:X-Operating-System: Mime-Version:Content-Type:Content-Transfer-Encoding; b=ut5pztDt7ZQ +qu+Dx+AngLswQY6f1JKKij0+auDMLQuHAdqcHkS5IOUWdKziLlYc5Ki2td2krQPdAz VylRDdK9v8bkGMzp2pM5dBt22IslC42p5ITnzaDdXfVjSUZQOwvHq1+Aak3TmlVLOgw nSJoMvJSSW0aM38pSihet+l1eA= Received: from anthesphoria.net (adsl-217-143.eunet.yu [213.198.217.143]) (authenticated bits=0) by anthesphoria.net (8.14.1/8.14.1) with ESMTP id lBKIufO2069858 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 20 Dec 2007 19:56:46 +0100 (CET) (envelope-from nikola.lecic@anthesphoria.net) Date: Thu, 20 Dec 2007 19:56:36 +0100 From: Nikola =?UTF-8?B?TGXEjWnEhw==?= To: "Alexander Rudyk (Akvelon)" Message-ID: <20071220195636.116ac9bb@anthesphoria.net> In-Reply-To: <3659EBC278926E47B1802BE0129D1B6007D8AD3AC8@NA-EXMSG-C123.redmond.corp.microsoft.com> References: <3659EBC278926E47B1802BE0129D1B6007D8AD3AC8@NA-EXMSG-C123.redmond.corp.microsoft.com> X-Mailer: Claws Mail 3.1.0 (GTK+ 2.12.1; i386-portbld-freebsd6.2) X-Face: pbl6-.[$G'Fi(Ogs2xlXP-V6{3||$Y[LOYs&~GJoikj'cVjcFC[V7du;;0~6nO= [Vi2?uU1Pq~,=Adj@,T:|"`$AF~il]J.Nz#2pU',Y7.{B;m/?{#sO^Dvo$rnmY6] X-Operating-System: FreeBSD 6.2-RELEASE-p8 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD-questions@FreeBSD.org Subject: Re: Partitions size for 80GB HDD and 2GB RAM X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 18:56:53 -0000 On Wed, 19 Dec 2007 17:17:50 -0800 "Alexander Rudyk (Akvelon)" wrote: =20 > Hi all >=20 > I am planning to install FreeBSD 6.2 on my dell laptop with 80Gb HDD > and 2GB RAM. FreeBSD will be the only OS on the laptop. Laptop will > be used to web development (RubyOnRails), entertaiment (photo, music, > video), web browsing and emailing, so no server side task will be > handled. >=20 > How you suggest to split 80GB between partitions to solve all laptop > tasks. Here is partitions: > /root > /var > /usr > /home > /swap Hi Alexander, You can find the recommendations regarding partition sizes in "Allocating Disk Space" chapter of the FreeBSD Handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/): http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.h= tml This means that your partition layout should be like this: / 512M swap 4096M (2x RAM) /tmp 512M /var 1024M /usr rest /var's size depends, among other things, on how many logs you want to keep there (where they live by default); since your machine will not be a server, 512M should be ok. Please note that /var/db/, the default place for info about ports installed, occupies roughly 200M or more. /usr depends on how many applications you need to run. Please note that /usr is also the default place where applications will be compiled (inside /usr/ports) and where a lot of distfiles (sources) or (precompiled) packages will be stored, so huge upgrades can take a lot of place. [Some applications need ~500M (Firefox), ~1G (gcc42) or several gigabytes (OpenOffice) to compile. Distfiles can use 1-3G, depending on cleaning policy you choose.] Therefore, since you have 80G, it's not a bad idea to use /usr for /home as well (i.e. to have /usr only; home will be /usr/home, symlinked from /home). Otherwise, you can easily encounter too much (wasted) or too little free space on /usr. I've recently configured a laptop with the aforementioned partition sizes (with smaller swap). (Besides this, don't forget to read about the difference between "dedicated" and "sliced" disks in the Handbook.) Regards, --=20 Nikola Le=C4=8Di=C4=87 :: =D0=9D=D0=B8=D0=BA=D0=BE=D0=BB=D0=B0 =D0=9B=D0=B5= =D1=87=D0=B8=D1=9B From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 19:01:54 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58F3416A41A for ; Thu, 20 Dec 2007 19:01:54 +0000 (UTC) (envelope-from noc@hdk5.net) Received: from guam10.hdk5.net (guam10.hdk5.net [66.180.132.235]) by mx1.freebsd.org (Postfix) with ESMTP id 21C9013C461 for ; Thu, 20 Dec 2007 19:01:54 +0000 (UTC) (envelope-from noc@hdk5.net) Received: from [192.168.1.29] (unknown [66.180.149.18]) by guam10.hdk5.net (Postfix) with ESMTP id CE60C5C22; Thu, 20 Dec 2007 09:03:14 -1000 (HST) Message-ID: <476ABC20.4060701@hdk5.net> Date: Thu, 20 Dec 2007 09:01:52 -1000 From: NetOpsCenter User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.9) Gecko/20061211 FreeBSD/i386 SeaMonkey/1.0.7 MIME-Version: 1.0 To: At Home , freebsd-questions@freebsd.org References: <476A9FD0.4060607@dreamchaser.org> <20071220183533.GA13897@owl.midgard.homeip.net> In-Reply-To: <20071220183533.GA13897@owl.midgard.homeip.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: 6.2 and Asus A7N8X-E X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noc@hdk5.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2007 19:01:54 -0000 Erik Trulsson wrote: > On Thu, Dec 20, 2007 at 10:01:04AM -0700, At Home wrote: > >> I've got an extra Asus A7N8X-E mobo I'm trying to bring 6.2 up on. >> AMD 3200+, Barton >> 2G PC-3200 rom, 1G OCZ and 1G Kingston valueram >> Seagate ES ST3250820NS Sata drives jumpered for 1.5GB only >> NVidia FX5600 AGP display adapter >> >> I checked the archives and found comments about disabling ACPI, which I've >> done, but it still hangs at various points in the process of loading up the >> disk. >> >> I've tried turning off the on-board SATA controller and using an Adaptec >> SATA controller with no improvement. I've also tried slowing the clock and >> a few other de-optimizations, to no avail. >> >> Is this basically a bad idea, or is there some piece of the puzzle I'm >> missing? Any help would be much appreciated. >> >> > > Checking the specifications of that motherboard, there is nothing obvious > that should prevent it from working with FreeBSD. > > > If the process stops at different places each time, then it sounds like > bad hardware. > The kind of hardware problems that most often give "strange" errors are: > a) Bad RAM. Check your memory with memtest86 (or equivalent.) Try removing > one of the memory sticks at a time. > b) Bad power supply. Try another if you have one. > c) Overheating of some component. Make sure you have adequate cooling of > the system. > > > You could also try updating the BIOS, in case some bugs have been fixed in a > later version. Problems with ACPI are almost always due to bugs in the BIOS. > > > > > Aloha Gary, I agree with the hardware diagnosis. I have an ASUS A8N-VM CSM mobo running FreeBSD 7.* Dual AMD CPU There are still unreliable on board hardware issues with my board so it is only used for receiving email and as a desktop. No on line work that matters. It did not like FreeBSD 6.1 when I tried to load it as the OS. So I tried 7 and it at least worked. This may work for you. I just loaded FreeBSD 8.* onto a Winfast mobo to try out on a box I made and it was smooth going. The developers have come a long way with aFreeBSD since I started using 3.* many years ago. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + noc@hdk5.net + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* + "All that's really worth doing is what we do for others."- Lewis Carrol From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 19:15:17 2007 Return-Path: Delivered-To: FreeBSD-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6395316A41B for ; Thu, 20 Dec 2007 19:15:17 +0000 (UTC) (envelope-from nikola.lecic@anthesphoria.net) Received: from anthesphoria.net (anthesphoria.net [200.46.204.219]) by mx1.freebsd.org (Postfix) with ESMTP id 7D73713C4F7 for ; Thu, 20 Dec 2007 19:15:16 +0000 (UTC) (envelope-from nikola.lecic@anthesphoria.net) X-Bogosity: No, tests=bogofilter X-DKIM: Sendmail DKIM Filter v2.3.2 anthesphoria.net lBKJF17B081317 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=anthesphoria.net; s=phero; t=1198178113; bh=wG5gUi6wZl5q+mbl4K6g4VHWHEhQ/y0FVYng13EjY zk=; l=847; h=X-Bogosity:Date:From:To:Cc:Subject:Message-ID: In-Reply-To:References:X-Mailer:X-Face:X-Operating-System: Mime-Version:Content-Type:Content-Transfer-Encoding; b=XGdzHVelbWV l9y89n/ahv77rdajVG92RMuvUoPcXsAECdGRoJwlWNYj5xxGIR5cHI4S3hqLIbOqbvn GrEyUPi5Ne2aZ7rHpzDDX+p/IWPiaG+3k1jK1ZXr1fl2GUx38DhPD24XR2MXPZHqnAE lZFdwy0fj0/trRrAQ4RR5ivgeU= Received: from anthesphoria.net (adsl-217-143.eunet.yu [213.198.217.143]) (authenticated bits=0) by anthesphoria.net (8.14.1/8.14.1) with ESMTP id lBKJF17B081317 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 20 Dec 2007 20:15:07 +0100 (CET) (envelope-from nikola.lecic@anthesphoria.net) Date: Thu, 20 Dec 2007 20:14:56 +0100 From: Nikola =?UTF-8?B?TGXEjWnEhw==?= To: Nikola =?UTF-8?B?TGXEjWnEhw==?= Message-ID: <20071220201456.331285d2@anthesphoria.net> In-Reply-To: <20071220195636.116ac9bb@anthesphoria.net> References: <3659EBC278926E47B1802BE0129D1B6007D8AD3AC8@NA-EXMSG-C123.redmond.corp.microsoft.com> <20071220195636.116ac9bb@anthesphoria.net> X-Mailer: Claws Mail 3.1.0 (GTK+ 2.12.1; i386-portbld-freebsd6.2) X-Face: pbl6-.[$G'Fi(Ogs2xlXP-V6{3||$Y[LOYs&~GJoikj'cVjcFC[V7du;;0~6nO= [Vi2?uU1Pq~,=Adj@,T:|"`$AF~il]J.Nz#2pU',Y7.{B;m/?{#sO^Dvo$rnmY6] X-Operating-System: FreeBSD 6.2-RELEASE-p8 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "Alexander Rudyk \(Akvelon\)" , FreeBSD-questions@FreeBSD.org Subject: Re: Partitions size for 80GB HDD and 2GB RAM X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 19:15:17 -0000 Apologies, two corrections: On Thu, 20 Dec 2007 19:56:36 +0100 Nikola Le=C4=8Di=C4=87 wrote: [...]=20 > /var's size depends, among other things, on how many logs you want to > keep there (where they live by default); since your machine will not > be a server, 512M should be ok. Please note that /var/db/, the default ^^^^^^^^ correction: /var/db/pkg > place for info about ports installed, occupies roughly 200M or more. ^^^^^ (/var/db) /var/db/pkg alone is smaller, count on up to 100M. --=20 Nikola Le=C4=8Di=C4=87 :: =D0=9D=D0=B8=D0=BA=D0=BE=D0=BB=D0=B0 =D0=9B=D0=B5= =D1=87=D0=B8=D1=9B From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 19:16:22 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E634D16A477 for ; Thu, 20 Dec 2007 19:16:22 +0000 (UTC) (envelope-from hayarms@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.189]) by mx1.freebsd.org (Postfix) with ESMTP id 64D5113C4FA for ; Thu, 20 Dec 2007 19:16:22 +0000 (UTC) (envelope-from hayarms@gmail.com) Received: by mu-out-0910.google.com with SMTP id w9so5446993mue.6 for ; Thu, 20 Dec 2007 11:16:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:message-id:subject:mime-version:content-type:date; bh=pLtU7J48GL07VBtYkNX19Dd/XhSNJQLWHCGiF/lVUEg=; b=oQaM+OjMeY6A7JSSa2gzwlwCf3AxGznQfAZMFB9f+YQno7dOvZHd08UWfPkn29d2g6OrNCup/IK61q535jBc6vgAkM73fnECJAGcXTNcedPWt4WxC19VtCxotpByXf72Mre11tdTrdCuKAVshwwSQ6yvZx6GkFALzQBXI711j3Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:message-id:subject:mime-version:content-type:date; b=dO/mX8/mjJkwWo3xeC5dFfsPwX3o1Qi/uC8VuBubVoV10ScKXqxYaEgWVaaVAIFOs+cmsBB/Y9d6hkUYmLikBbAFI4FuCWK6VbBcAXdHEbKmna/A7XzoaffEY7MWgVACtYDs2/pnR00oY9bnsWG4wcZHkEKGNrLre7gD/x8wwgA= Received: by 10.82.148.7 with SMTP id v7mr545789bud.10.1198176438607; Thu, 20 Dec 2007 10:47:18 -0800 (PST) Received: from keroro.keronet.it ( [87.2.145.201]) by mx.google.com with ESMTPS id f31sm197802fkf.15.2007.12.20.10.47.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 20 Dec 2007 10:47:17 -0800 (PST) From: hayarms@gmail.com To: freebsd-questions@freebsd.org Message-ID: <1107979573.5.1198176104345.JavaMail.keroro@keroro.keronet.it> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_4_481131904.1198176104339" Date: Thu, 20 Dec 2007 10:47:17 -0800 (PST) Subject: Prova!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 19:16:23 -0000 ------=_Part_4_481131904.1198176104339 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Ciaoooo!!!! ------=_Part_4_481131904.1198176104339-- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 19:26:44 2007 Return-Path: Delivered-To: FreeBSD-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 053C416A41B for ; Thu, 20 Dec 2007 19:26:44 +0000 (UTC) (envelope-from v-alrudy@microsoft.com) Received: from smtp.microsoft.com (maila.microsoft.com [131.107.115.212]) by mx1.freebsd.org (Postfix) with ESMTP id CCCC313C4E3 for ; Thu, 20 Dec 2007 19:26:43 +0000 (UTC) (envelope-from v-alrudy@microsoft.com) Received: from tk5-exhub-c103.redmond.corp.microsoft.com (157.54.70.186) by TK5-EXGWY-E801.partners.extranet.microsoft.com (10.251.56.50) with Microsoft SMTP Server (TLS) id 8.1.222.3; Thu, 20 Dec 2007 11:26:43 -0800 Received: from NA-EXMSG-C123.redmond.corp.microsoft.com ([157.54.61.187]) by tk5-exhub-c103.redmond.corp.microsoft.com ([157.54.70.186]) with mapi; Thu, 20 Dec 2007 11:26:43 -0800 From: "Alexander Rudyk (Akvelon)" To: =?utf-8?B?Tmlrb2xhIExlxI1pxIc=?= Date: Thu, 20 Dec 2007 11:26:41 -0800 Thread-Topic: Partitions size for 80GB HDD and 2GB RAM Thread-Index: AchDOhqgW2gCm0yfQe+GuW0/6d7dAAAATA8A Message-ID: <3659EBC278926E47B1802BE0129D1B6007D8E204FA@NA-EXMSG-C123.redmond.corp.microsoft.com> References: <3659EBC278926E47B1802BE0129D1B6007D8AD3AC8@NA-EXMSG-C123.redmond.corp.microsoft.com> <20071220195636.116ac9bb@anthesphoria.net> In-Reply-To: <20071220195636.116ac9bb@anthesphoria.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Cc: "FreeBSD-questions@FreeBSD.org" Subject: RE: Partitions size for 80GB HDD and 2GB RAM X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 19:26:44 -0000 Tmlrb2xhLA0KDQpUaGFuayB5b3UgZm9yIHlvdXIgZXh0ZW5kZXIgYW5zd2VyLiBJIGhhdmUgdHdv IG1vcmUgY29tbWVudHMuDQoNCkRpZCB5b3UgY29uc2lkZXIgL3ZhciBhcyB5b3VyIGVtYWlsIGRi IHBhcnRpdGlvbi4gSSByZWFsbHkgZG9u4oCZdA0Ka25vdyBob3cgYmlnIHdpbGwgYmUgbXkgbWFp bCBkYiBvbiBmcmVlYnNkLCBidXQgYWZ0ZXIgaGFsZiBvZiB5ZWFyDQpJIGhhdmUgYWJvdXQgNEdC IG91dGxvb2sgbWFpbCBkYi4gU28gMUdCIGZvciAvdmFyIG1pZ2h0IGJlIG5vdCBlbm91Z2gNCmlu IG15IGNhc2UuDQoNCkhhdmluZyAvaG9tZSBhcyBwYXJ0IG9mIC91c3IgaXMgdGhlIGdvb2QgcG9p bnQuIEJ1dCBpbiBjYXNlIG9mIGJhY2t1cA0KaXQgbWFrZSBzZW5zZSB0byBoYXZlIC9ob21lIGFz IHNlcGFyYXRlIHBhcnRpdGlvbi4gV2hhdCB5b3UgdGhpbmsgYWJvdXQgdGhpcz8NCg0KVGh4DQpB bGV4DQoNCg0KDQoNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBOaWtvbGEgTGXE jWnEhyBbbWFpbHRvOm5pa29sYS5sZWNpY0BhbnRoZXNwaG9yaWEubmV0XQ0KU2VudDogVGh1cnNk YXksIERlY2VtYmVyIDIwLCAyMDA3IDEwOjU3IEFNDQpUbzogQWxleGFuZGVyIFJ1ZHlrIChBa3Zl bG9uKQ0KQ2M6IEZyZWVCU0QtcXVlc3Rpb25zQEZyZWVCU0Qub3JnDQpTdWJqZWN0OiBSZTogUGFy dGl0aW9ucyBzaXplIGZvciA4MEdCIEhERCBhbmQgMkdCIFJBTQ0KDQpPbiBXZWQsIDE5IERlYyAy MDA3IDE3OjE3OjUwIC0wODAwDQoiQWxleGFuZGVyIFJ1ZHlrIChBa3ZlbG9uKSIgPHYtYWxydWR5 QG1pY3Jvc29mdC5jb20+IHdyb3RlOg0KDQo+IEhpIGFsbA0KPg0KPiBJIGFtIHBsYW5uaW5nIHRv IGluc3RhbGwgRnJlZUJTRCA2LjIgb24gbXkgZGVsbCBsYXB0b3Agd2l0aCA4MEdiIEhERA0KPiBh bmQgMkdCIFJBTS4gRnJlZUJTRCB3aWxsIGJlIHRoZSBvbmx5IE9TIG9uIHRoZSBsYXB0b3AuIExh cHRvcCB3aWxsDQo+IGJlIHVzZWQgdG8gd2ViIGRldmVsb3BtZW50IChSdWJ5T25SYWlscyksIGVu dGVydGFpbWVudCAocGhvdG8sIG11c2ljLA0KPiB2aWRlbyksIHdlYiBicm93c2luZyBhbmQgZW1h aWxpbmcsIHNvIG5vIHNlcnZlciBzaWRlIHRhc2sgd2lsbCBiZQ0KPiBoYW5kbGVkLg0KPg0KPiBI b3cgeW91IHN1Z2dlc3QgdG8gc3BsaXQgODBHQiBiZXR3ZWVuIHBhcnRpdGlvbnMgdG8gc29sdmUg YWxsIGxhcHRvcA0KPiB0YXNrcy4gSGVyZSBpcyBwYXJ0aXRpb25zOg0KPiAvcm9vdA0KPiAvdmFy DQo+IC91c3INCj4gL2hvbWUNCj4gL3N3YXANCg0KSGkgQWxleGFuZGVyLA0KDQpZb3UgY2FuIGZp bmQgdGhlIHJlY29tbWVuZGF0aW9ucyByZWdhcmRpbmcgcGFydGl0aW9uIHNpemVzIGluDQoiQWxs b2NhdGluZyBEaXNrIFNwYWNlIiBjaGFwdGVyIG9mIHRoZSBGcmVlQlNEIEhhbmRib29rDQooaHR0 cDovL3d3dy5mcmVlYnNkLm9yZy9kb2MvZW5fVVMuSVNPODg1OS0xL2Jvb2tzL2hhbmRib29rLyk6 DQoNCiAgaHR0cDovL3d3dy5mcmVlYnNkLm9yZy9kb2MvZW5fVVMuSVNPODg1OS0xL2Jvb2tzL2hh bmRib29rL2luc3RhbGwtc3RlcHMuaHRtbA0KDQpUaGlzIG1lYW5zIHRoYXQgeW91ciBwYXJ0aXRp b24gbGF5b3V0IHNob3VsZCBiZSBsaWtlIHRoaXM6DQoNCi8gICAgICAgNTEyTQ0Kc3dhcCAgIDQw OTZNICgyeCBSQU0pDQovdG1wICAgIDUxMk0NCi92YXIgICAxMDI0TQ0KL3VzciAgICByZXN0DQoN Ci92YXIncyBzaXplIGRlcGVuZHMsIGFtb25nIG90aGVyIHRoaW5ncywgb24gaG93IG1hbnkgbG9n cyB5b3Ugd2FudCB0bw0Ka2VlcCB0aGVyZSAod2hlcmUgdGhleSBsaXZlIGJ5IGRlZmF1bHQpOyBz aW5jZSB5b3VyIG1hY2hpbmUgd2lsbCBub3QgYmUNCmEgc2VydmVyLCA1MTJNIHNob3VsZCBiZSBv ay4gUGxlYXNlIG5vdGUgdGhhdCAvdmFyL2RiLywgdGhlIGRlZmF1bHQNCnBsYWNlIGZvciBpbmZv IGFib3V0IHBvcnRzIGluc3RhbGxlZCwgb2NjdXBpZXMgcm91Z2hseSAyMDBNIG9yIG1vcmUuDQoN Ci91c3IgZGVwZW5kcyBvbiBob3cgbWFueSBhcHBsaWNhdGlvbnMgeW91IG5lZWQgdG8gcnVuLiBQ bGVhc2Ugbm90ZQ0KdGhhdCAvdXNyIGlzIGFsc28gdGhlIGRlZmF1bHQgcGxhY2Ugd2hlcmUgYXBw bGljYXRpb25zIHdpbGwgYmUgY29tcGlsZWQNCihpbnNpZGUgL3Vzci9wb3J0cykgYW5kIHdoZXJl IGEgbG90IG9mIGRpc3RmaWxlcyAoc291cmNlcykgb3INCihwcmVjb21waWxlZCkgcGFja2FnZXMg d2lsbCBiZSBzdG9yZWQsIHNvIGh1Z2UgdXBncmFkZXMgY2FuIHRha2UgYSBsb3QNCm9mIHBsYWNl LiBbU29tZSBhcHBsaWNhdGlvbnMgbmVlZCB+NTAwTSAoRmlyZWZveCksIH4xRyAoZ2NjNDIpIG9y DQpzZXZlcmFsIGdpZ2FieXRlcyAoT3Blbk9mZmljZSkgdG8gY29tcGlsZS4gRGlzdGZpbGVzIGNh biB1c2UgMS0zRywNCmRlcGVuZGluZyBvbiBjbGVhbmluZyBwb2xpY3kgeW91IGNob29zZS5dIFRo ZXJlZm9yZSwgc2luY2UgeW91IGhhdmUgODBHLA0KaXQncyBub3QgYSBiYWQgaWRlYSB0byB1c2Ug L3VzciBmb3IgL2hvbWUgYXMgd2VsbCAoaS5lLiB0byBoYXZlIC91c3INCm9ubHk7IGhvbWUgd2ls bCBiZSAvdXNyL2hvbWUsIHN5bWxpbmtlZCBmcm9tIC9ob21lKS4gT3RoZXJ3aXNlLCB5b3UgY2Fu DQplYXNpbHkgZW5jb3VudGVyIHRvbyBtdWNoICh3YXN0ZWQpIG9yIHRvbyBsaXR0bGUgZnJlZSBz cGFjZSBvbiAvdXNyLg0KDQpJJ3ZlIHJlY2VudGx5IGNvbmZpZ3VyZWQgYSBsYXB0b3Agd2l0aCB0 aGUgYWZvcmVtZW50aW9uZWQgcGFydGl0aW9uDQpzaXplcyAod2l0aCBzbWFsbGVyIHN3YXApLg0K DQooQmVzaWRlcyB0aGlzLCBkb24ndCBmb3JnZXQgdG8gcmVhZCBhYm91dCB0aGUgZGlmZmVyZW5j ZSBiZXR3ZWVuDQoiZGVkaWNhdGVkIiBhbmQgInNsaWNlZCIgZGlza3MgaW4gdGhlIEhhbmRib29r LikNCg0KUmVnYXJkcywNCi0tDQpOaWtvbGEgTGXEjWnEhyA6OiDQndC40LrQvtC70LAg0JvQtdGH 0LjRmw0K From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 19:40:54 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3E0616A41B for ; Thu, 20 Dec 2007 19:40:54 +0000 (UTC) (envelope-from jamesh@lanl.gov) Received: from mailwasher.lanl.gov (mailwasher.lanl.gov [204.121.3.2]) by mx1.freebsd.org (Postfix) with ESMTP id 8B64413C448 for ; Thu, 20 Dec 2007 19:40:54 +0000 (UTC) (envelope-from jamesh@lanl.gov) Received: from localhost (localhost.localdomain [127.0.0.1]) by mailwasher.lanl.gov (Postfix) with ESMTP id F3A3AEC8758; Thu, 20 Dec 2007 12:40:53 -0700 (MST) X-CTN5-Virus-Scanned: amavisd-new at mailwasher.lanl.gov Received: from mailwasher.lanl.gov (localhost.localdomain [127.0.0.1]) by mailwasher.lanl.gov (Postfix) with ESMTP id DE975EC876E; Thu, 20 Dec 2007 12:40:53 -0700 (MST) Received: from mailrelay2.lanl.gov (mailrelay2.lanl.gov [128.165.4.103]) by mailwasher.lanl.gov (Postfix) with ESMTP id D80DCEC8758; Thu, 20 Dec 2007 12:40:53 -0700 (MST) Received: from oppie-mail.lanl.gov (oppie-mail.lanl.gov [128.165.4.123]) by mailrelay2.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id lBKJeq0W006072; Thu, 20 Dec 2007 12:40:52 -0700 Received: from [128.165.86.60] (p25dual1.lanl.gov [128.165.86.60]) by oppie-mail.lanl.gov (Postfix) with ESMTP id B46D31F8005; Thu, 20 Dec 2007 12:40:46 -0700 (MST) From: James Harrison To: "Alexander Rudyk (Akvelon)" In-Reply-To: <3659EBC278926E47B1802BE0129D1B6007D8E204FA@NA-EXMSG-C123.redmond.corp.microsoft.com> References: <3659EBC278926E47B1802BE0129D1B6007D8AD3AC8@NA-EXMSG-C123.redmond.corp.microsoft.com> <20071220195636.116ac9bb@anthesphoria.net> <3659EBC278926E47B1802BE0129D1B6007D8E204FA@NA-EXMSG-C123.redmond.corp.microsoft.com> Content-Type: text/plain; charset=utf-8 Organization: Los Alamos National Labs Date: Thu, 20 Dec 2007 12:40:46 -0700 Message-Id: <1198179646.4688.9.camel@p25dual1.lanl.gov> Mime-Version: 1.0 X-Mailer: Evolution 2.8.0 (2.8.0-33.0.1.el5) Content-Transfer-Encoding: 8bit X-CTN-5-MailScanner-Information: Please see http://network.lanl.gov/email/virus-scan.php X-CTN-5-MailScanner: Found to be clean X-CTN-5-MailScanner-From: jamesh@lanl.gov X-Spam-Status: No Cc: Nikola =?UTF-8?Q?Le=C4=8Di=C4=87?= , "FreeBSD-questions@FreeBSD.org" Subject: RE: Partitions size for 80GB HDD and 2GB RAM X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jamesh@lanl.gov List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2007 19:40:54 -0000 On Thu, 2007-12-20 at 11:26 -0800, Alexander Rudyk (Akvelon) wrote: > Nikola, > > Thank you for your extender answer. I have two more comments. > > Did you consider /var as your email db partition. I really don’t > know how big will be my mail db on freebsd, but after half of year > I have about 4GB outlook mail db. So 1GB for /var might be not enough > in my case. > > Having /home as part of /usr is the good point. But in case of backup > it make sense to have /home as separate partition. What you think about this? > > Thx > Alex > > /home is just a symlink to /usr/home, so that wouldn't help. cd / ls -l lrwxr-xr-x 1 root wheel 8 Nov 2 05:37 home -> usr/home You might want to put /usr/home on a separate partition, but that's your call. James From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 19:45:52 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9BC116A417 for ; Thu, 20 Dec 2007 19:45:52 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 6EBA613C458 for ; Thu, 20 Dec 2007 19:45:52 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id lBKJixUq050870; Thu, 20 Dec 2007 14:44: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 lBKJix2H050869; Thu, 20 Dec 2007 14:44:59 -0500 (EST) (envelope-from jerrymc) Date: Thu, 20 Dec 2007 14:44:58 -0500 From: Jerry McAllister To: "Alexander Rudyk (Akvelon)" Message-ID: <20071220194458.GA50741@gizmo.acns.msu.edu> References: <3659EBC278926E47B1802BE0129D1B6007D8AD3AC8@NA-EXMSG-C123.redmond.corp.microsoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3659EBC278926E47B1802BE0129D1B6007D8AD3AC8@NA-EXMSG-C123.redmond.corp.microsoft.com> User-Agent: Mutt/1.4.2.2i Cc: "freebsd-questions@freebsd.org" Subject: Re: Partitions size for 80GB HDD and 2GB RAM X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 19:45:52 -0000 On Wed, Dec 19, 2007 at 05:17:50PM -0800, Alexander Rudyk (Akvelon) wrote: > Hi all > > I am planning to install FreeBSD 6.2 on my dell laptop with 80Gb HDD and 2GB > RAM. FreeBSD will be the only OS on the laptop. Laptop will be used to web > development (RubyOnRails), entertaiment (photo, music, video), > web browsing and emailing, so no server side task will be handled. > > How you suggest to split 80GB between partitions to solve all laptop tasks. > Here is partitions: > /root > /var > /usr > /home > /swap I would recommend two possibilities, depending on how you you use the machine and how many ports you intend to install. One is to have only / and swap. For that, make swap 4096 MB and root the rest. This presumes you will not be running any server which is a realistic for a laptop and then you will not be doing backups very much and that you will be the only one with accounts on the machine. The other would be a more standard division which makes backups easier and tends to protect the system from runaway users and processes more. a: / (root) 256 MB b: /swap 4096 MB d: /tmp 768 MB e: /usr 4096 MB f: /var 2048 MB g: /home all the rest. Some combine root and /usr in to one large partition and then make the rest as above. Others make root, /usr and /var one partition the size of the sum of those above and then keep the rest. I like to at least keep /tmp and /home separate from the OS partitions, namely /, /usr and /tmp. And, of course, at least some swap should be in its own partition. Alternatively, you could make /var and /usr smaller and move /var/log, /var/spool, /usr/ports and /usr/local to /home and make symlinks for them. Then /var might be 1024 MB and /usr might be 2048 MB. If you let your Email inbox grow to large size before cleaning it out, then you might also want to move /var/mail to /home. They all would take up just as much room, but it would be out of /home where they could grow as needed without having to know how much in advance. You want the initial /usr to be at least 2048 MB in order to initially install source and the base ports tree. Then, before you do your fisrt csup of the system and of ports and installation of any of the ports, you do the move and make the symlinks. That will leave /usr a little empty, but no problem. If you are running some database that uses /var/db, you have to take that in to account as well. It can grow pretty fast. Note, I find the handbook suggested partition sizes to be a little out of date because of the current trend of increasing size of source and the ports tree, plus, /usr no longer seems to be the assumed location of user's home(login) directories any more. They now tend to go in /home. But, this tends to end up being a religious issue, so find what works for you and go with that and ignore all we soothsayers. ////jerry > > Thx > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 19:46:43 2007 Return-Path: Delivered-To: FreeBSD-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1FE216A473 for ; Thu, 20 Dec 2007 19:46:43 +0000 (UTC) (envelope-from bri@brianwhalen.net) Received: from entwistle.sonicboom.org (entwistle.sonicboom.org [66.93.34.170]) by mx1.freebsd.org (Postfix) with ESMTP id 70FAB13C4D9 for ; Thu, 20 Dec 2007 19:46:43 +0000 (UTC) (envelope-from bri@brianwhalen.net) Received: from [127.0.0.1] (entwistle.sonicboom.org [66.93.34.170]) by entwistle.sonicboom.org (8.14.2/8.14.1) with ESMTP id lBKJkHe2002265; Thu, 20 Dec 2007 11:46:17 -0800 (PST) (envelope-from bri@brianwhalen.net) Message-ID: <476AC689.6060807@brianwhalen.net> Date: Thu, 20 Dec 2007 11:46:17 -0800 From: Brian User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: jamesh@lanl.gov References: <3659EBC278926E47B1802BE0129D1B6007D8AD3AC8@NA-EXMSG-C123.redmond.corp.microsoft.com> <20071220195636.116ac9bb@anthesphoria.net> <3659EBC278926E47B1802BE0129D1B6007D8E204FA@NA-EXMSG-C123.redmond.corp.microsoft.com> <1198179646.4688.9.camel@p25dual1.lanl.gov> In-Reply-To: <1198179646.4688.9.camel@p25dual1.lanl.gov> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: "Alexander Rudyk \(Akvelon\)" , =?UTF-8?B?Tmlrbw==?=, =?UTF-8?B?bGEgTGXEjWnEhw==?= , "FreeBSD-questions@FreeBSD.org" Subject: Re: Partitions size for 80GB HDD and 2GB RAM X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 19:46:43 -0000 James Harrison wrote: > On Thu, 2007-12-20 at 11:26 -0800, Alexander Rudyk (Akvelon) wrote: > >> Nikola, >> >> Thank you for your extender answer. I have two more comments. >> >> Did you consider /var as your email db partition. I really don’t >> know how big will be my mail db on freebsd, but after half of year >> I have about 4GB outlook mail db. So 1GB for /var might be not enough >> in my case. >> >> Having /home as part of /usr is the good point. But in case of backup >> it make sense to have /home as separate partition. What you think about this? >> >> Thx >> Alex >> >> >> > > > /home is just a symlink to /usr/home, so that wouldn't help. > > > cd / > ls -l > lrwxr-xr-x 1 root wheel 8 Nov 2 05:37 home -> usr/home > > > You might want to put /usr/home on a separate partition, but that's your > call. > > James > > _______________________________________________ > 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 know of people that put /usr/home on a separate physical disk, then they can recover more easily in the event of a system catastrophe. Brian From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 19:48:12 2007 Return-Path: Delivered-To: FreeBSD-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5DCA16A417 for ; Thu, 20 Dec 2007 19:48:12 +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 9FD7B13C455 for ; Thu, 20 Dec 2007 19:48:12 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id lBKJlBn3050898; Thu, 20 Dec 2007 14:47:11 -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 lBKJlBsD050897; Thu, 20 Dec 2007 14:47:11 -0500 (EST) (envelope-from jerrymc) Date: Thu, 20 Dec 2007 14:47:11 -0500 From: Jerry McAllister To: James Harrison Message-ID: <20071220194711.GB50741@gizmo.acns.msu.edu> References: <3659EBC278926E47B1802BE0129D1B6007D8AD3AC8@NA-EXMSG-C123.redmond.corp.microsoft.com> <20071220195636.116ac9bb@anthesphoria.net> <3659EBC278926E47B1802BE0129D1B6007D8E204FA@NA-EXMSG-C123.redmond.corp.microsoft.com> <1198179646.4688.9.camel@p25dual1.lanl.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1198179646.4688.9.camel@p25dual1.lanl.gov> User-Agent: Mutt/1.4.2.2i Cc: "Alexander Rudyk \(Akvelon\)" , Nikola Le??i?? , "FreeBSD-questions@FreeBSD.org" Subject: Re: Partitions size for 80GB HDD and 2GB RAM X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 19:48:13 -0000 On Thu, Dec 20, 2007 at 12:40:46PM -0700, James Harrison wrote: > On Thu, 2007-12-20 at 11:26 -0800, Alexander Rudyk (Akvelon) wrote: > > Nikola, > > > > Thank you for your extender answer. I have two more comments. > > > > Did you consider /var as your email db partition. I really don???t > > know how big will be my mail db on freebsd, but after half of year > > I have about 4GB outlook mail db. So 1GB for /var might be not enough > > in my case. > > > > Having /home as part of /usr is the good point. But in case of backup > > it make sense to have /home as separate partition. What you think about this? > > > > Thx > > Alex > > > > > > > /home is just a symlink to /usr/home, so that wouldn't help. Not unless you make it that way. If you do not create a /home partition then it can become just a symlink to /usr/home. But, it is not if you make a /home partition. Then it gets turned in to a real mount point. ////jerry > > > cd / > ls -l > lrwxr-xr-x 1 root wheel 8 Nov 2 05:37 home -> usr/home > > > You might want to put /usr/home on a separate partition, but that's your > call. > > James > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 19:50:32 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 618E216A418 for ; Thu, 20 Dec 2007 19:50:32 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-44.bluehost.com (outbound-mail-44.bluehost.com [69.89.18.13]) by mx1.freebsd.org (Postfix) with SMTP id 2FB7E13C458 for ; Thu, 20 Dec 2007 19:50:31 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: (qmail 12441 invoked by uid 0); 20 Dec 2007 19:50:31 -0000 Received: from unknown (HELO box183.bluehost.com) (69.89.25.183) by mailproxy3.bluehost.com with SMTP; 20 Dec 2007 19:50:31 -0000 Received: from c-24-9-123-251.hsd1.co.comcast.net ([24.9.123.251] helo=demeter.hydra) by box183.bluehost.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1J5RPb-00006J-DK for freebsd-questions@freebsd.org; Thu, 20 Dec 2007 12:50:31 -0700 Received: from demeter.hydra (localhost [127.0.0.1]) by demeter.hydra (8.13.6/8.13.6) with ESMTP id lBKJoSaf054974 for ; Thu, 20 Dec 2007 12:50:28 -0700 (MST) (envelope-from perrin@apotheon.com) Received: (from ren@localhost) by demeter.hydra (8.13.6/8.13.6/Submit) id lBKJoSNp054973 for freebsd-questions@freebsd.org; Thu, 20 Dec 2007 12:50:28 -0700 (MST) (envelope-from perrin@apotheon.com) X-Authentication-Warning: demeter.hydra: ren set sender to perrin@apotheon.com using -f Date: Thu, 20 Dec 2007 12:50:27 -0700 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20071220195027.GB54762@demeter.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <54129.66383.qm@web54201.mail.re2.yahoo.com> <44fxxxphbh.fsf@be-well.ilk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44fxxxphbh.fsf@be-well.ilk.org> User-Agent: Mutt/1.4.2.3i X-Identified-User: {737:box183.bluehost.com:apotheon:apotheon.net} {sentby:bopbeforesmtp 24.9.123.251 authed with apotheon.com} Subject: Re: NIS Linux - Ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2007 19:50:32 -0000 On Thu, Dec 20, 2007 at 09:32:50AM -0500, Lowell Gilbert wrote: > RA Cohen writes: > > > I am sorry, here is an addendum to my previous post: > > > >>>Somehow Ubuntu was given root user > > permissions<< > > > > Actually, upon rereading my notes, Ubuntu was only given permissions of the user doing the login - not root - but we could login with any valid user apparently FreeBSD thought it was presented with a wildcard password. > > > > And I can also verify that FreeBSD clients are able to use the password map when x is used instead of * in the map to represent the password. So I can secure the system using the x but still cannot get Ubuntu clients to authenticate. > > Sounds like Ubuntu is using the wrong map, probably one where it's > getting a different and empty field where it expects to find a password. The behavior with an asterisk instead of an X is pretty worrisome, however, and is not strictly Ubuntu's fault. Security of a server should not rely on the good will and competence of the client developers. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Baltasar Gracian: "A wise man gets more from his enemies than a fool from his friends." From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 20:12:50 2007 Return-Path: Delivered-To: FreeBSD-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A03816A41A for ; Thu, 20 Dec 2007 20:12:50 +0000 (UTC) (envelope-from nikola.lecic@anthesphoria.net) Received: from anthesphoria.net (anthesphoria.net [200.46.204.219]) by mx1.freebsd.org (Postfix) with ESMTP id DFD6F13C455 for ; Thu, 20 Dec 2007 20:12:49 +0000 (UTC) (envelope-from nikola.lecic@anthesphoria.net) X-Bogosity: No, tests=bogofilter X-DKIM: Sendmail DKIM Filter v2.3.2 anthesphoria.net lBKKCcpM004718 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=anthesphoria.net; s=phero; t=1198181569; bh=olK1LmhVbdIlz3OzL55WXii2T063UdN4rvSuoLJB0 9E=; l=2413; h=X-Bogosity:Date:From:To:Cc:Subject:Message-ID: In-Reply-To:References:X-Mailer:X-Face:X-Operating-System: Mime-Version:Content-Type:Content-Transfer-Encoding; b=RnK3ZlZrWxT c9ZVkXj07k2OEU/OX1ZGzkjvlV4D7EJuFJ51JkRj616HGcDTIDTVddO6XYWxOyXFw3B LKIgz6pViiV0YZPhMW2YncrAM/tHmKtvxBf/glyckSI0jrwApzAyeo8VrtxmHwZCMDi tX+by252fUEOpQeZkyyQ8JruP8= Received: from anthesphoria.net (adsl-217-143.eunet.yu [213.198.217.143]) (authenticated bits=0) by anthesphoria.net (8.14.1/8.14.1) with ESMTP id lBKKCcpM004718 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 20 Dec 2007 21:12:42 +0100 (CET) (envelope-from nikola.lecic@anthesphoria.net) Date: Thu, 20 Dec 2007 21:12:32 +0100 From: Nikola =?UTF-8?B?TGXEjWnEhw==?= To: "Alexander Rudyk (Akvelon)" Message-ID: <20071220211232.427f6a41@anthesphoria.net> In-Reply-To: <3659EBC278926E47B1802BE0129D1B6007D8E204FA@NA-EXMSG-C123.redmond.corp.microsoft.com> References: <3659EBC278926E47B1802BE0129D1B6007D8AD3AC8@NA-EXMSG-C123.redmond.corp.microsoft.com> <20071220195636.116ac9bb@anthesphoria.net> <3659EBC278926E47B1802BE0129D1B6007D8E204FA@NA-EXMSG-C123.redmond.corp.microsoft.com> X-Mailer: Claws Mail 3.1.0 (GTK+ 2.12.1; i386-portbld-freebsd6.2) X-Face: pbl6-.[$G'Fi(Ogs2xlXP-V6{3||$Y[LOYs&~GJoikj'cVjcFC[V7du;;0~6nO= [Vi2?uU1Pq~,=Adj@,T:|"`$AF~il]J.Nz#2pU',Y7.{B;m/?{#sO^Dvo$rnmY6] X-Operating-System: FreeBSD 6.2-RELEASE-p8 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD-questions@FreeBSD.org Subject: Re: Partitions size for 80GB HDD and 2GB RAM X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 20:12:50 -0000 On Thu, 20 Dec 2007 11:26:41 -0800 "Alexander Rudyk (Akvelon)" wrote: =20 > Nikola, >=20 > Thank you for your extender answer. I have two more comments. >=20 > Did you consider /var as your email db partition. I really don=E2=80=99t > know how big will be my mail db on freebsd, but after half of year > I have about 4GB outlook mail db. So 1GB for /var might be not enough > in my case. The hier(7) manpage is very useful to understand the default directory structure: http://www.freebsd.org/cgi/man.cgi?query=3Dhier&apropos=3D0&sektion=3D0&m= anpath=3DFreeBSD+6.2-RELEASE&format=3Dhtml As for mail, it depends on how you plan to receive and handle it; if you just download mail from pop3 account, it will be stored in your home by a mail client (this goes as well for mail you export from Outlook to e.g. Thunderbird). For locally (system) delivered mail, /var/spool is the default place, but unless you want yo use your laptop as a mail server, it's unlikely you will store your mail there. > Having /home as part of /usr is the good point. But in case of backup > it make sense to have /home as separate partition. What you think > about this? Of course it's very useful for backups. I just thought it was useful to warn you about how much space /usr/ports could need because the default installation procedure on FreeBSD is to compile sources (of thirs party applications and of FreeBSD itself). As a useful example on how much space you might need, here are rough sizes on my home desktop computer, used for everyday work. I have ~850 ports installed. /usr/ports ~2G (with current distfiles and packages that happen to be there + you will need at least 2-3G for large upgrades, sometimes > 10G) /usr/local ~5G (third party applications + additions such as TeXLive =3D ~1G) /usr/home ~20G --------------------- /usr total used: ~30G (includes FreeBSD itself + some other smaller storages) If you plan to build FreeBSD itself in the future, then /usr must be even bigger. If all this leaves enough room for /home for you, then it's certainly very useful to make it separate partition. --=20 Nikola Le=C4=8Di=C4=87 :: =D0=9D=D0=B8=D0=BA=D0=BE=D0=BB=D0=B0 =D0=9B=D0=B5= =D1=87=D0=B8=D1=9B From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 20:24:15 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0E9016A417 for ; Thu, 20 Dec 2007 20:24:15 +0000 (UTC) (envelope-from dmehler26@woh.rr.com) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.123]) by mx1.freebsd.org (Postfix) with ESMTP id 94F4E13C4DB for ; Thu, 20 Dec 2007 20:24:15 +0000 (UTC) (envelope-from dmehler26@woh.rr.com) Received: from satellite ([24.166.217.200]) by hrndva-omta06.mail.rr.com with SMTP id <20071220202414.BMNV2677.hrndva-omta06.mail.rr.com@satellite> for ; Thu, 20 Dec 2007 20:24:14 +0000 Message-ID: <000301c84346$40d016d0$0200a8c0@satellite> From: "Dave" To: Date: Thu, 20 Dec 2007 15:23:58 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Subject: upgrading mplayer fails on linux-pango X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dave List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2007 20:24:15 -0000 Hello, Trying to upgrade my ports. And mplayer is failing on the linux-pango dependency. The error from linux-pango is that elf binary type "3" is not known and the install fails with an error 2. Does anyone have a fix for this? Thanks. Dave. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 20:32:54 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8905C16A420 for ; Thu, 20 Dec 2007 20:32:54 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mta2.srv.hcvlny.cv.net (mta2.srv.hcvlny.cv.net [167.206.4.197]) by mx1.freebsd.org (Postfix) with ESMTP id 5B68B13C46E for ; Thu, 20 Dec 2007 20:32:54 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from flosoft.no-ip.biz (ool-435559b8.dyn.optonline.net [67.85.89.184]) by mta2.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0JTD007KJ7Q5A5D1@mta2.srv.hcvlny.cv.net> for freebsd-questions@freebsd.org; Thu, 20 Dec 2007 15:32:30 -0500 (EST) Received: from flosoft.no-ip.biz (localhost [IPv6:::1]) by flosoft.no-ip.biz (8.14.2/8.14.2) with ESMTP id lBKKWSPe057075; Thu, 20 Dec 2007 15:32:28 -0500 Date: Thu, 20 Dec 2007 15:32:28 -0500 From: "Aryeh M. Friedman" In-reply-to: <20071220183803.GA20396@0lsen.net> To: Clint Olsen , "freebsd-questions@freebsd.org" Message-id: <476AD15C.7000701@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7BIT X-Enigmail-Version: 0.95.5 References: <20071220054842.GA1337@0lsen.net> <20071220093317.GA20354@0lsen.net> <476A3AFD.7050303@gmail.com> <20071220183803.GA20396@0lsen.net> User-Agent: Thunderbird 2.0.0.9 (X11/20071217) Cc: Subject: Re: Can't start more than one gnome-session as the same user? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2007 20:32:54 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Clint Olsen wrote: > On Dec 20, Aryeh M. Friedman wrote: >> Side question: Can this solution be used to access multiple >> accounts on the same machine? > > I'm not quite sure what you mean here. Do you mean multiple gnome > sessions all as different user ids? That's not a problem. It was > just that I was trying to run gnome both under vncserver and > natively on the console. > I mean multiple sessions all under the same user *BUT* all tied to the same xterm. Namely I often login into my main account then su to more specialized accounts and do a xhost +/setenv DISPLAY :0 in the respective .cshrc's. Thus I can start X apps from the command line as the su'ed user but I want to make it so I can also have a panel (xfce4 not gnome but I suspect it is the same issue since both use GTK) for them. - -- Aryeh M. Friedman FloSoft Systems http://www.flosoft-systems.com Developer, not business, friendly -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHatFczIOMjAek4JIRAiydAJ9iRKSiH4cYBLS9/DR2s2t6kEhNBwCfcXAU PEQNpdnjECRFQErPR/NW1/s= =1HEB -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 22:19:44 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64AC816A419 for ; Thu, 20 Dec 2007 22:19:44 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mta2.srv.hcvlny.cv.net (mta2.srv.hcvlny.cv.net [167.206.4.197]) by mx1.freebsd.org (Postfix) with ESMTP id 3F04313C459 for ; Thu, 20 Dec 2007 22:19:44 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from flosoft.no-ip.biz (ool-435559b8.dyn.optonline.net [67.85.89.184]) by mta2.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0JTD00BSTCOPMPQ0@mta2.srv.hcvlny.cv.net> for freebsd-questions@freebsd.org; Thu, 20 Dec 2007 17:19:37 -0500 (EST) Received: from flosoft.no-ip.biz (localhost [IPv6:::1]) by flosoft.no-ip.biz (8.14.2/8.14.2) with ESMTP id lBKMJbbb000355 for ; Thu, 20 Dec 2007 17:19:37 -0500 Date: Thu, 20 Dec 2007 17:19:37 -0500 From: "Aryeh M. Friedman" To: "freebsd-questions@freebsd.org" Message-id: <476AEA79.6040309@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7BIT X-Enigmail-Version: 0.95.5 User-Agent: Thunderbird 2.0.0.9 (X11/20071217) Subject: how long does send-pr take to post X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 22:19:44 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 In the past I have not been able to do send-pr but now that I fixed my local mail issues all other email apps work... how long should I wait for the pr to show up before I decide some kind of error happened. - -- Aryeh M. Friedman FloSoft Systems http://www.flosoft-systems.com Developer, not business, friendly -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD4DBQFHaup5zIOMjAek4JIRArgGAJ9GvsmWF6M6iozVPReYPWZiVL3/kQCYyWyJ rxYXDxUXo9UkdqV30tpndw== =ytqz -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 23:34:34 2007 Return-Path: Delivered-To: FreeBSD-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4F3716A420 for ; Thu, 20 Dec 2007 23:34:33 +0000 (UTC) (envelope-from v-alrudy@microsoft.com) Received: from smtp.microsoft.com (mail1.microsoft.com [131.107.115.212]) by mx1.freebsd.org (Postfix) with ESMTP id C6AEE13C4E3 for ; Thu, 20 Dec 2007 23:34:33 +0000 (UTC) (envelope-from v-alrudy@microsoft.com) Received: from tk1-exhub-c104.redmond.corp.microsoft.com (157.56.116.117) by TK5-EXGWY-E801.partners.extranet.microsoft.com (10.251.56.50) with Microsoft SMTP Server (TLS) id 8.1.222.3; Thu, 20 Dec 2007 15:34:32 -0800 Received: from NA-EXMSG-C123.redmond.corp.microsoft.com ([157.54.61.187]) by tk1-exhub-c104.redmond.corp.microsoft.com ([157.56.116.117]) with mapi; Thu, 20 Dec 2007 15:34:33 -0800 From: "Alexander Rudyk (Akvelon)" To: "FreeBSD-questions@FreeBSD.org" Date: Thu, 20 Dec 2007 15:34:30 -0800 Thread-Topic: Partitions size for 80GB HDD and 2GB RAM Thread-Index: AchDRLhj8NH1ykyDRrG2sG6Ok6hmYAAGv7mg Message-ID: <3659EBC278926E47B1802BE0129D1B6007D8E20685@NA-EXMSG-C123.redmond.corp.microsoft.com> References: <3659EBC278926E47B1802BE0129D1B6007D8AD3AC8@NA-EXMSG-C123.redmond.corp.microsoft.com> <20071220195636.116ac9bb@anthesphoria.net> <3659EBC278926E47B1802BE0129D1B6007D8E204FA@NA-EXMSG-C123.redmond.corp.microsoft.com> <20071220211232.427f6a41@anthesphoria.net> In-Reply-To: <20071220211232.427f6a41@anthesphoria.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Cc: Subject: RE: Partitions size for 80GB HDD and 2GB RAM X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Dec 2007 23:34:34 -0000 VGhhbmsgYWxsIG9mIHlvdSBmb3IgcmVhbGx5IGhlbHBmdWwgYW5zd2Vycy4NCg0KSSBhbSB0aGlu a2luZyBhYm91dCB0aGlzIGNvbmZpZ3VyYXRpb24gKG1pZ2h0IGJlIGhlbHBmdWwgZm9yIHNvbWVv bmUgaW4gdGhlIGZ1dHVyZSkNCg0KIGE6ICAvICAocm9vdCkgICAyNTYgTUINCiBiOiAgL3N3YXAg ICAgICA0MDk2IE1CDQogZDogIC90bXAgICAgICAgIDc2OCBNQg0KIGU6ICAvdXNyICAgICAgIDgx OTIgTUINCiBmOiAgL3ZhciAgICAgICAyMDQ4IE1CDQogZzogIC9ob21lICAgICAgYWxsIHRoZSBy ZXN0Lg0KDQpUaGluayB0aGF0IDhHQiB3aWxsIGJlIGVub3VnaCBmb3IgL3VzciBwb3J0cywgbG9j YWwgYW5kIGJ1aWxkIG9zIGZyb20gc2NyYXRjaCwNCmFuZCAyR0IgZm9yIC92YXIgLSBpbiBhbnkg Y2FzZSBJIGNhbiBzeW1saW5rIHNvbWUgb2YgdGhvc2UgdG8gL2hvbWUNCg0KU28gd2UgbmVlZCBh Ym91dCAxNUdCIG9mIGZyZWUgc3RvcmFnZSBvbmx5IGZvciBGcmVlQlNEIG5lZWRzLg0KDQpUaHgN CkFsZXgNCg0KDQotLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTogTmlrb2xhIExlxI1p xIcgW21haWx0bzpuaWtvbGEubGVjaWNAYW50aGVzcGhvcmlhLm5ldF0NClNlbnQ6IFRodXJzZGF5 LCBEZWNlbWJlciAyMCwgMjAwNyAxMjoxMyBQTQ0KVG86IEFsZXhhbmRlciBSdWR5ayAoQWt2ZWxv bikNCkNjOiBGcmVlQlNELXF1ZXN0aW9uc0BGcmVlQlNELm9yZw0KU3ViamVjdDogUmU6IFBhcnRp dGlvbnMgc2l6ZSBmb3IgODBHQiBIREQgYW5kIDJHQiBSQU0NCg0KT24gVGh1LCAyMCBEZWMgMjAw NyAxMToyNjo0MSAtMDgwMA0KIkFsZXhhbmRlciBSdWR5ayAoQWt2ZWxvbikiIDx2LWFscnVkeUBt aWNyb3NvZnQuY29tPiB3cm90ZToNCg0KPiBOaWtvbGEsDQo+DQo+IFRoYW5rIHlvdSBmb3IgeW91 ciBleHRlbmRlciBhbnN3ZXIuIEkgaGF2ZSB0d28gbW9yZSBjb21tZW50cy4NCj4NCj4gRGlkIHlv dSBjb25zaWRlciAvdmFyIGFzIHlvdXIgZW1haWwgZGIgcGFydGl0aW9uLiBJIHJlYWxseSBkb27i gJl0DQo+IGtub3cgaG93IGJpZyB3aWxsIGJlIG15IG1haWwgZGIgb24gZnJlZWJzZCwgYnV0IGFm dGVyIGhhbGYgb2YgeWVhcg0KPiBJIGhhdmUgYWJvdXQgNEdCIG91dGxvb2sgbWFpbCBkYi4gU28g MUdCIGZvciAvdmFyIG1pZ2h0IGJlIG5vdCBlbm91Z2gNCj4gaW4gbXkgY2FzZS4NCg0KVGhlIGhp ZXIoNykgbWFucGFnZSBpcyB2ZXJ5IHVzZWZ1bCB0byB1bmRlcnN0YW5kIHRoZSBkZWZhdWx0IGRp cmVjdG9yeQ0Kc3RydWN0dXJlOg0KDQogIGh0dHA6Ly93d3cuZnJlZWJzZC5vcmcvY2dpL21hbi5j Z2k/cXVlcnk9aGllciZhcHJvcG9zPTAmc2VrdGlvbj0wJm1hbnBhdGg9RnJlZUJTRCs2LjItUkVM RUFTRSZmb3JtYXQ9aHRtbA0KDQpBcyBmb3IgbWFpbCwgaXQgZGVwZW5kcyBvbiBob3cgeW91IHBs YW4gdG8gcmVjZWl2ZSBhbmQgaGFuZGxlIGl0OyBpZiB5b3UNCmp1c3QgZG93bmxvYWQgbWFpbCBm cm9tIHBvcDMgYWNjb3VudCwgaXQgd2lsbCBiZSBzdG9yZWQgaW4geW91ciBob21lIGJ5DQphIG1h aWwgY2xpZW50ICh0aGlzIGdvZXMgYXMgd2VsbCBmb3IgbWFpbCB5b3UgZXhwb3J0IGZyb20gT3V0 bG9vayB0bw0KZS5nLiBUaHVuZGVyYmlyZCkuIEZvciBsb2NhbGx5IChzeXN0ZW0pIGRlbGl2ZXJl ZCBtYWlsLCAvdmFyL3Nwb29sIGlzDQp0aGUgZGVmYXVsdCBwbGFjZSwgYnV0IHVubGVzcyB5b3Ug d2FudCB5byB1c2UgeW91ciBsYXB0b3AgYXMgYSBtYWlsDQpzZXJ2ZXIsIGl0J3MgdW5saWtlbHkg eW91IHdpbGwgc3RvcmUgeW91ciBtYWlsIHRoZXJlLg0KDQo+IEhhdmluZyAvaG9tZSBhcyBwYXJ0 IG9mIC91c3IgaXMgdGhlIGdvb2QgcG9pbnQuIEJ1dCBpbiBjYXNlIG9mIGJhY2t1cA0KPiBpdCBt YWtlIHNlbnNlIHRvIGhhdmUgL2hvbWUgYXMgc2VwYXJhdGUgcGFydGl0aW9uLiBXaGF0IHlvdSB0 aGluaw0KPiBhYm91dCB0aGlzPw0KDQpPZiBjb3Vyc2UgaXQncyB2ZXJ5IHVzZWZ1bCBmb3IgYmFj a3Vwcy4gSSBqdXN0IHRob3VnaHQgaXQgd2FzIHVzZWZ1bCB0bw0Kd2FybiB5b3UgYWJvdXQgaG93 IG11Y2ggc3BhY2UgL3Vzci9wb3J0cyBjb3VsZCBuZWVkIGJlY2F1c2UgdGhlIGRlZmF1bHQNCmlu c3RhbGxhdGlvbiBwcm9jZWR1cmUgb24gRnJlZUJTRCBpcyB0byBjb21waWxlIHNvdXJjZXMgKG9m IHRoaXJzDQpwYXJ0eSBhcHBsaWNhdGlvbnMgYW5kIG9mIEZyZWVCU0QgaXRzZWxmKS4NCg0KQXMg YSB1c2VmdWwgZXhhbXBsZSBvbiBob3cgbXVjaCBzcGFjZSB5b3UgbWlnaHQgbmVlZCwgaGVyZSBh cmUgcm91Z2gNCnNpemVzIG9uIG15IGhvbWUgZGVza3RvcCBjb21wdXRlciwgdXNlZCBmb3IgZXZl cnlkYXkgd29yay4gSSBoYXZlIH44NTANCnBvcnRzIGluc3RhbGxlZC4NCg0KICAvdXNyL3BvcnRz ICAgICAgICB+MkcgKHdpdGggY3VycmVudCBkaXN0ZmlsZXMgYW5kIHBhY2thZ2VzIHRoYXQgaGFw cGVuDQogICAgICAgICAgICAgICAgICAgICAgICAgdG8gYmUgdGhlcmUgKyB5b3Ugd2lsbCBuZWVk IGF0IGxlYXN0IDItM0cgZm9yDQogICAgICAgICAgICAgICAgICAgICAgICAgbGFyZ2UgdXBncmFk ZXMsIHNvbWV0aW1lcyA+IDEwRykNCiAgL3Vzci9sb2NhbCAgICAgICAgfjVHICh0aGlyZCBwYXJ0 eSBhcHBsaWNhdGlvbnMgKyBhZGRpdGlvbnMgc3VjaCBhcw0KICAgICAgICAgICAgICAgICAgICAg ICAgIFRlWExpdmUgPSB+MUcpDQogIC91c3IvaG9tZSAgICAgICAgfjIwRw0KICAtLS0tLS0tLS0t LS0tLS0tLS0tLS0NCiAgL3VzciB0b3RhbCB1c2VkOiB+MzBHIChpbmNsdWRlcyBGcmVlQlNEIGl0 c2VsZiArIHNvbWUgb3RoZXIgc21hbGxlcg0KICAgICAgICAgICAgICAgICAgICAgICAgIHN0b3Jh Z2VzKQ0KDQpJZiB5b3UgcGxhbiB0byBidWlsZCBGcmVlQlNEIGl0c2VsZiBpbiB0aGUgZnV0dXJl LCB0aGVuIC91c3IgbXVzdCBiZQ0KZXZlbiBiaWdnZXIuIElmIGFsbCB0aGlzIGxlYXZlcyBlbm91 Z2ggcm9vbSBmb3IgL2hvbWUgZm9yIHlvdSwgdGhlbg0KaXQncyBjZXJ0YWlubHkgdmVyeSB1c2Vm dWwgdG8gbWFrZSBpdCBzZXBhcmF0ZSBwYXJ0aXRpb24uDQoNCi0tDQpOaWtvbGEgTGXEjWnEhyA6 OiDQndC40LrQvtC70LAg0JvQtdGH0LjRmw0K From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 00:18:41 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9140116A418 for ; Fri, 21 Dec 2007 00:18:41 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id 58C6A13C43E for ; Fri, 21 Dec 2007 00:18:41 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from localhost (unknown [200.46.204.182]) by hub.org (Postfix) with ESMTP id BA1C311FDD38; Thu, 20 Dec 2007 20:18:40 -0400 (AST) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 94671-09; Thu, 20 Dec 2007 20:18:35 -0400 (AST) Received: from fserv.hub.org (blk-7-245-234.eastlink.ca [71.7.245.234]) by hub.org (Postfix) with ESMTP id 3390511FDD34; Thu, 20 Dec 2007 20:18:40 -0400 (AST) Received: from [192.168.1.2] (unknown [192.168.1.2]) by fserv.hub.org (Postfix) with ESMTP id 9C25360FB8; Thu, 20 Dec 2007 20:18:43 -0400 (AST) Date: Thu, 20 Dec 2007 20:18:30 -0400 From: "Marc G. Fournier" To: Nikos Vassiliadis Message-ID: <60BF4492886E99D3446ED7AD@ganymede.hub.org> In-Reply-To: <200712201637.20690.nvass@teledomenet.gr> References: <74F0F91EA046A1B9EAB79AF7@ganymede.hub.org> <200712201457.42052.nvass@teledomenet.gr> <09EB40C88507ABCB81E6AFA0@ganymede.hub.org> <200712201637.20690.nvass@teledomenet.gr> X-Mailer: Mulberry/4.0.8 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-questions@freebsd.org, Norberto Meijome Subject: Re: OSS Virtualization options ... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 21 Dec 2007 00:18:41 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On Thursday, December 20, 2007 16:37:19 +0200 Nikos Vassiliadis wrote: > UFS2 does not initialize inodes at newfs time as UFS did. So, things > are much better now! > > root:0:~# truncate -s 10G jail.00 > root:0:~# mdconfig -at vnode -f jail.00 > md0 > root:0:~# newfs md0 > /dev/md0: 10240.0MB (20971520 sectors) block size 16384, fragment size 2048 > using 56 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. > super-block backups (for fsck -b #) at: > 160, 376512, 752864, 1129216, 1505568, ... > root:0:~# ls -ls jail.00 > 4592 -rw-r--r-- 1 root wheel 10737418240 Dec 20 16:21 jail.00 > > 4.5MB for a 10GB filesystems is fine, isn't it? 'k, but that still doesn't address the problem ... being able to setquota's on directories within a jail environment ... or does it? Note that I'm not looking to quota the VPS itself, only allow software *in* the VPS to set quotas ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHawZW4QvfyHIvDvMRAljqAKDFNe1n3SwNtpoBI00NClVmjXNOJgCfffDk SvamRIK3q+tqUBsp2AarpQ4= =OnvR -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 00:18:56 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF42216A41A for ; Fri, 21 Dec 2007 00:18:56 +0000 (UTC) (envelope-from jekillen@prodigy.net) Received: from smtp104.sbc.mail.mud.yahoo.com (smtp104.sbc.mail.mud.yahoo.com [68.142.198.203]) by mx1.freebsd.org (Postfix) with SMTP id A1D5713C47E for ; Fri, 21 Dec 2007 00:18:56 +0000 (UTC) (envelope-from jekillen@prodigy.net) Received: (qmail 35437 invoked from network); 21 Dec 2007 00:18:55 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=prodigy.net; h=Received:X-YMail-OSG:In-Reply-To:References:Mime-Version:Content-Type:Message-Id:Content-Transfer-Encoding:Cc:From:Subject:Date:To:X-Mailer; b=FIJw6vw48eFGFY1PzOmrkK23VuPCZOHdVZTmGIvVG8UwI3JfZCJjAKcU1vf2f2KOxBbiIYnGEiMv/PkeVm9oBBEl8EDgXtVmSvkKK1WZ6R6cFlZ7J8UOzkXMnQnAmoDgI+q2trP8uopw8ETZT03EngFvGu+2fYKZsLst7hdUz1Q= ; Received: from unknown (HELO ?75.7.236.228?) (jekillen@prodigy.net@75.7.236.228 with plain) by smtp104.sbc.mail.mud.yahoo.com with SMTP; 21 Dec 2007 00:18:55 -0000 X-YMail-OSG: jVm3YJ4VM1kTY8gylsBjwKIjlYeGqSMjhQo3uv2naduPuTPcZ_G5.z7.D1J0HNCpdCb7XKFU1A-- In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: jekillen Date: Thu, 20 Dec 2007 16:20:32 -0800 To: "Kurt Buff" X-Mailer: Apple Mail (2.622) Cc: FreeBSD Mailing List Subject: Re: e-mail to root X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2007 00:18:57 -0000 On Dec 19, 2007, at 7:30 PM, Kurt Buff wrote: > On Dec 19, 2007 6:54 PM, jekillen wrote: >> Hello: >> Is there a manual or other publication that deals specifically with >> reading e-mail messages to root for FreeBSD? I have gotten a >> message: >> >> setuid diffs: >> --- /var/log/setuid.today Sat Sep 8 03:01:34 2007 >> +++ /tmp/security.9Jz0CWds Wed Dec 19 03:01:38 2007 >> >> followed by references to various programs >> >> then the next segment: >> Checking for a current audit database: >> >> Downloading fresh database. >> auditfile.tbz 46 kB 42 >> kBps >> New database installed. >> Database created: Wed Dec 19 14:40:00 PST 2007 >> >> Checking for packages with security vulnerabilities: >> >> followed by numerous references to programs and >> files on the FreeBSD site. >> >> and I do not know quite what this means. > > It means that you have portaudit installed, and it's run as part of > the daily scripts. That's a good thing. > > I'd recommend consulting the portaudit man page > > What it's found are packages on your machine that have security > bulletins against them - that is, the packages named have > vulnerabilities known to the FreeBSD Security team, which they believe > should be patched. There's a link to the bulletin for each one - I > think you'll find it enlightening to read some or all of them. > > I'd do a 'pkg_add -r portupgrade' to install that package, do a cvsup > to get a current ports tree, then assess, very carefully, what you > want to upgrade. IMHO all of the packages mentioned should probably > get upgraded, unless you have *exceptional* reasons not to. > > To upgrade you can do 'portupgrade ' for each package > named, or if you're feeling bold, 'portupgrade -aRr'. > >> I know that setuid is cause >> for concern. I have three other machines with FreeBSD, with one >> going back over a year of virtually continuous 24/7 operation and >> this is the first time I have seen this type of message. For the >> programs >> reported with security problems it begs the question of dependencies >> if they are removed or updated. Some references are to cups and >> fetchmail >> neither of which I use or have use for, that I am aware of. > > Portupgrade will take care of dependencies. No worries, though you > should also peruse the man page for portupgrade to get your knowledge > up. > >> This >> particular >> machine is primarily a web server. It does have Postfix running but >> just >> uses local delivery and only listens on private network interface. >> I am also a little dubious about posting any specifics to a public >> mailing >> list. >> I am admittedly a novice at this (on all my own systems so no one >> else's behind is on the line). Short of paying consultation fees to >> someone, this is about the only live contact I have on the subject. >> Thanks in advance for info: > > We were all novices - I still am, in far too many ways. Don't sweat > it, and keep asking questions. Also, start reading the FreeBSD > Handbook - it's online, and also downloadable, and covers this very > topic. > > Kurt > Thank you kindly for the info; I have been reading the handbook. I have it installed as html on my everyday work machine. Having a web server on localhost is great. It does cover portupgrade, portsnap, ports and all that but it was just the e-mails to root that had me confused. Does this also cover the setuid question also? I also have the new Absolute FreeBSD, and the hard copy manual obtained through FreeBSD Mall. I had a problem with e-mail messages to root some time ago that were showing up every 11 minutes. I look into crontab and found one script that was set to run every 11 minutes. I opened the script file and read the authors e-mail address and sent him an e-mail on the problem. He responded scolding me for putting commands in rc.conf. Sure enough, though I did not have explicit commands in it, I did have the syntax wrong. Who would have guess that a script dealing with entropy would complain because of problems with rc.conf? That is an example of question that might arise that could use some specific coverage in documentation. Jeff K From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 01:14:01 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D5A716A419 for ; Fri, 21 Dec 2007 01:14:01 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.235]) by mx1.freebsd.org (Postfix) with ESMTP id 3D8D013C46A for ; Fri, 21 Dec 2007 01:14:00 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so75306nzf.13 for ; Thu, 20 Dec 2007 17:14:00 -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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=kgIdgDHY6rl1Z8COk/zmC9Oe3tcaxSVVF2MjqQJYkUM=; b=qTnWXD/YvP6vkfsOmwELozqSIm2IfMyUfCpywcJRyzRlvefXbX9CgTl88A8z9/xJKUKuEWvn4H8xhqWnK14fUDGKjrggVh7LesV9VjUpwJT/sLlOmkjQTTuPpSNquAjwR60CVbFNaIz8JzBsunBWQhDzhI7wkMuQWfavo7JGCnw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FoWrwcNyo4I9f1wcXLixKeRcnUU5puu7WKHBxP9w6QlzTHIJVBejwH8VjkxRlWlBCbqlVagBNeJ58QbzdX8GtX0I8Cz0F7IczqYSpn5pBiQYO0xy12Jm+t+qwfDRMfVosUeMBKmwn9mwGApeHckDfw6QPRfoFUKaqLvXy3EYdwE= Received: by 10.142.216.9 with SMTP id o9mr431606wfg.226.1198199639615; Thu, 20 Dec 2007 17:13:59 -0800 (PST) Received: by 10.142.87.9 with HTTP; Thu, 20 Dec 2007 17:13:59 -0800 (PST) Message-ID: Date: Thu, 20 Dec 2007 17:13:59 -0800 From: "Kurt Buff" To: jekillen In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: FreeBSD Mailing List Subject: Re: e-mail to root X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2007 01:14:01 -0000 On Dec 20, 2007 4:20 PM, jekillen wrote: > Thank you kindly for the info; De nada - pass it along when you have the chance. > I have been reading the handbook. I have it installed as html on my > everyday work machine. Having a web server on localhost is great. > It does cover portupgrade, portsnap, ports and all that but it was just > the e-mails to root that had me confused. Does this also cover the > setuid question also? I don't remember, quite frankly. I just know that I get two emails each day from each of my machines, take a quick look at them, and act on them as appropriate. > I also have the new Absolute FreeBSD, and the hard copy manual > obtained through FreeBSD Mall. I had a problem with e-mail messages > to root some time ago that were showing up every 11 minutes. I look > into crontab and found one script that was set to run every 11 minutes. > I opened the script file and read the authors e-mail address and sent > him an e-mail on the problem. He responded scolding me for putting > commands in rc.conf. Sure enough, though I did not have explicit > commands > in it, I did have the syntax wrong. Who would have guess that a script > dealing with entropy would complain because of problems with rc.conf? > That is an example of question that might arise that could use some > specific coverage in documentation. Who would have guessed? Someone with more experience, or someone with good documentation in hand who's read it. If the documentation is lacking, I'll bet there are people who would appreciate your input. Seriously. I've absorbed my knowledge from so many sources (books, magazines, lists like this one) over such a long period of time, that I can no longer remember where I got any particular fact, in most cases. That's not always a good thing. BTW - If you're [contemplating] doing sysadmin work professionally, I'd highly recommend the following books. The first two are recommended even if you're doing this as a hobby. The Limoncelli book I recommend especially highly to anyone in their early-to-middle career as a sysadmin who wants a coherent way to look at the craft. I have just ordered the 2nd edition, after reading the 1st a couple of times. http://www.bookpool.com/sm/0130206016 http://www.bookpool.com/sm/0201702452 http://www.bookpool.com/sm/0596003439 http://www.bookpool.com/sm/0321492668 From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 03:33:01 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C6F616A419 for ; Fri, 21 Dec 2007 03:33:01 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 53B9713C44B for ; Fri, 21 Dec 2007 03:33:01 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 12457 invoked from network); 20 Dec 2007 21:33:01 -0600 Received: from 124-170-40-102.dyn.iinet.net.au (HELO localhost) (124.170.40.102) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 20 Dec 2007 21:33:01 -0600 Date: Fri, 21 Dec 2007 14:32:27 +1100 From: Norberto Meijome To: freebsd-questions@freebsd.org Message-ID: <20071221143227.66258a57@meijome.net> In-Reply-To: <653c2e600712201007g44292abdq2d6ac290c3513a6@mail.gmail.com> References: <676288.97766.qm@web57013.mail.re3.yahoo.com> <200712201854.51070.pieter@degoeje.nl> <653c2e600712201005x1e8e79a9la24bba073a52ede3@mail.gmail.com> <653c2e600712201007g44292abdq2d6ac290c3513a6@mail.gmail.com> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.3; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Fwd: What priority this app running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 21 Dec 2007 03:33:01 -0000 On Thu, 20 Dec 2007 13:07:44 -0500 "C High" wrote: > With nice, 20 is the lowest priority, 0 is the base, and -20 is the highest. that's right - it is because with nice you tell it 'how nice to be'. when you ask a process to have a level 20 of niceness, it will be VERY nice and the kernel will let other processes in front of it. If you say, this process will have a negative value of niceness, it isn't very nice at all ;) _________________________ {Beto|Norberto|Numard} Meijome We've been wrong so many times before, why stop now? I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 03:35:30 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9753D16A417 for ; Fri, 21 Dec 2007 03:35:30 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mta1.srv.hcvlny.cv.net (mta1.srv.hcvlny.cv.net [167.206.4.196]) by mx1.freebsd.org (Postfix) with ESMTP id 735F713C455 for ; Fri, 21 Dec 2007 03:35:30 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from flosoft.no-ip.biz (ool-435559b8.dyn.optonline.net [67.85.89.184]) by mta1.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0JTD000RWRAMRAQ0@mta1.srv.hcvlny.cv.net> for freebsd-questions@freebsd.org; Thu, 20 Dec 2007 22:35:11 -0500 (EST) Received: from flosoft.no-ip.biz (localhost [IPv6:::1]) by flosoft.no-ip.biz (8.14.2/8.14.2) with ESMTP id lBL3Z9CX028528; Thu, 20 Dec 2007 22:35:10 -0500 Date: Thu, 20 Dec 2007 22:35:09 -0500 From: "Aryeh M. Friedman" In-reply-to: <20071221143227.66258a57@meijome.net> To: Norberto Meijome Message-id: <476B346D.5000408@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7BIT X-Enigmail-Version: 0.95.5 References: <676288.97766.qm@web57013.mail.re3.yahoo.com> <200712201854.51070.pieter@degoeje.nl> <653c2e600712201005x1e8e79a9la24bba073a52ede3@mail.gmail.com> <653c2e600712201007g44292abdq2d6ac290c3513a6@mail.gmail.com> <20071221143227.66258a57@meijome.net> User-Agent: Thunderbird 2.0.0.9 (X11/20071217) Cc: freebsd-questions@freebsd.org Subject: Re: Fwd: What priority this app running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 21 Dec 2007 03:35:30 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Norberto Meijome wrote: > On Thu, 20 Dec 2007 13:07:44 -0500 "C High" > wrote: > >> With nice, 20 is the lowest priority, 0 is the base, and -20 is >> the highest. > > that's right - it is because with nice you tell it 'how nice to > be'. when you ask a process to have a level 20 of niceness, it will > be VERY nice and the kernel will let other processes in front of > it. If you say, this process will have a negative value of > niceness, it isn't very nice at all ;) I think the kernel it self (this is based on 43BSD) has a niceness of -25. - -- Aryeh M. Friedman FloSoft Systems http://www.flosoft-systems.com Developer, not business, friendly -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHazRtzIOMjAek4JIRAtAlAJ4xgwq25KBQ9GAJF4XDr2JbNlXLGgCfa+mP xr40CG6NrQFBl7GyyWvfbac= =WRMK -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 04:01:23 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5BEB16A417 for ; Fri, 21 Dec 2007 04:01:23 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 6785213C44B for ; Fri, 21 Dec 2007 04:01:22 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1J5Z2M-00057y-Jd for freebsd-questions@freebsd.org; Fri, 21 Dec 2007 03:59:02 +0000 Received: from 78-107-196-127.broadband.corbina.ru ([78.107.196.127]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Dec 2007 03:59:02 +0000 Received: from stgib by 78-107-196-127.broadband.corbina.ru with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Dec 2007 03:59:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: stgib@list.ru Date: Fri, 21 Dec 2007 06:57:27 +0300 Lines: 22 Message-ID: <867ij88ztk.fsf@list.ru> References: <47038B88.4060705@cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 78-107-196-127.broadband.corbina.ru User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (berkeley-unix) Cancel-Lock: sha1:ANnOniOUymF4hXue18Ll+ADI03c= Sender: news Subject: Re: Install doxygen on a non X11 machine X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 21 Dec 2007 04:01:23 -0000 Christopher Key writes: > From my reading of the doxygen Makefile, this should be enough to > prevent any of the graphical tools from being installed. > Nevertheless, whenever I run make, I'm presented with a configuration > screen for qt. Can anyone advise? You probably overlooked devel/tmake dependencies. devel/doxygen: [...] BUILD_DEPENDS= tmake:${PORTSDIR}/devel/tmake LIB_DEPENDS= png:${PORTSDIR}/graphics/png [...] devel/tmake: [...] USE_PERL5= yes USE_QT_VER= 3 [...] See? From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 06:09:08 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D71E816A419 for ; Fri, 21 Dec 2007 06:09:08 +0000 (UTC) (envelope-from zbigniew@szalbot.homedns.org) Received: from lists.lc-words.com (lists.lc-words.com [83.19.156.210]) by mx1.freebsd.org (Postfix) with ESMTP id 8631413C467 for ; Fri, 21 Dec 2007 06:09:08 +0000 (UTC) (envelope-from zbigniew@szalbot.homedns.org) Received: from localhost (localhost.szalbot.homedns.org [127.0.0.1]) by lists.lc-words.com (Postfix) with ESMTP id 75E4B3F406 for ; Fri, 21 Dec 2007 07:07:53 +0100 (CET) Received: from lists.lc-words.com ([127.0.0.1]) by localhost (szalbot.homedns.org [127.0.0.1]) (amavisd-maia, port 10026) with ESMTP id 65741-01 for ; Fri, 21 Dec 2007 07:07:52 +0100 (CET) Received: from [192.168.11.4] (unknown [192.168.11.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.lc-words.com (Postfix) with ESMTP id CD8D83F405 for ; Fri, 21 Dec 2007 07:07:52 +0100 (CET) Message-ID: <476B587D.9060000@szalbot.homedns.org> Date: Fri, 21 Dec 2007 07:09:01 +0100 From: zbigniew szalbot User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Virus-Scanned: Maia Mailguard Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: /var growing too fast X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 21 Dec 2007 06:09:08 -0000 Hello, I thought I would ask your advice. I only have a 2 GB /var slice and space is shrinking fast. I see that most space is taken by /var/db. $ du -hs /var/db 1.4G /var/db $ du -hs /var 1.7G /var $ df /dev/ad0s1e 2178510 1738396 265834 87% /var Is it possible to release some space from /var/db? I seem to recall that /var/db is pretty important and I better not lose it... It may be that something else is eating up available space but I am not sure how to measure it. Every day about 1% more of available space is taken. Many thanks for ideas what to do (apart from bying a bigger drive :) And season greetings to you all! Zbigniew Szalbot From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 06:17:14 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6389516A418 for ; Fri, 21 Dec 2007 06:17:14 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 1972613C469 for ; Fri, 21 Dec 2007 06:17:13 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 26987 invoked from network); 21 Dec 2007 00:17:13 -0600 Received: from 124-170-40-102.dyn.iinet.net.au (HELO localhost) (124.170.40.102) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 21 Dec 2007 00:17:12 -0600 Date: Fri, 21 Dec 2007 17:16:39 +1100 From: Norberto Meijome To: "Marc G. Fournier" Message-ID: <20071221171639.68315173@meijome.net> In-Reply-To: <60BF4492886E99D3446ED7AD@ganymede.hub.org> References: <74F0F91EA046A1B9EAB79AF7@ganymede.hub.org> <200712201457.42052.nvass@teledomenet.gr> <09EB40C88507ABCB81E6AFA0@ganymede.hub.org> <200712201637.20690.nvass@teledomenet.gr> <60BF4492886E99D3446ED7AD@ganymede.hub.org> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.3; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, Nikos Vassiliadis Subject: Re: OSS Virtualization options ... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 21 Dec 2007 06:17:14 -0000 On Thu, 20 Dec 2007 20:18:30 -0400 "Marc G. Fournier" wrote: > 'k, but that still doesn't address the problem ... being able to setquota's on > directories within a jail environment ... or does it? > > Note that I'm not looking to quota the VPS itself, only allow software *in* the > VPS to set quotas ... Marc, I've personally given up on Plesk ;) if you want to find out more what it's doing, maybe you can run apache with only 1 thread and attach ktrace to it and see what plesk's php code is trying to do, and why it dies? or is it an intrinsic issue with quotas in a jail, that are not allowed? (i think this is it, yes?) can u install a customised set of libraries in those jails so that the syscall that are failing return whatever plesk expects (even if it doesn't effectively do anything ? ) ... cheers, B _________________________ {Beto|Norberto|Numard} Meijome Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?" I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 09:57:42 2007 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 929C816A417 for ; Fri, 21 Dec 2007 09:57:42 +0000 (UTC) (envelope-from asself@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by mx1.freebsd.org (Postfix) with ESMTP id 6B4C913C46B for ; Fri, 21 Dec 2007 09:57:42 +0000 (UTC) (envelope-from asself@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so453325waf.3 for ; Fri, 21 Dec 2007 01:57: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:to:subject:mime-version:content-type; bh=hJ9xzTedk5w+79DaMIytEnKB9ElWhdny1ytLXj3mg6Y=; b=aOwOQd7DcUYABo7PTAHuEpPghK7ZKssSjHtWfafInyZ5fxVYwTs8XeYRJPCD8TULIyXIzNbQER0BcOfblgWzXbLB3CmolpAUk19vOr4tTYx53EMzv48J6Q3L18En1wstnfQkOQm5oVvQlLki2CuWTcaCsE1ibtSX6rzFuOOFMe0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=osU8l2FvqMQMV163H4P9CelwOe/yn9xq6Z3HpTpPeQwZJum8sLKiRy4+v4/fll//hi4cCpaiYSK0V6dwi2xPLrYpPrjTI4NXeHnqSdK5+Qv6cVEsgN3ysF1ga7QeZwvRQpsaYvakCyMSRguyY9T/TzQ4NBS9ptoa9YqscFv4XI0= Received: by 10.115.60.1 with SMTP id n1mr1193113wak.37.1198229350125; Fri, 21 Dec 2007 01:29:10 -0800 (PST) Received: by 10.114.161.5 with HTTP; Fri, 21 Dec 2007 01:29:10 -0800 (PST) Message-ID: Date: Fri, 21 Dec 2007 03:29:10 -0600 From: "ASS ELF" To: questions@FreeBSD.org, doc@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Site Compatibility 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: Fri, 21 Dec 2007 09:57:42 -0000 I just recently started up a new page and was wondering if it looks okay on FreBSD. I try to make things compatible for all operating systems, regarding HTML. It's: http://o.o.angelfire.com/ and/or http://www.angelfire.com/o.o/index.html I'd greatly appreciate any and all feedback you could give me on this. Thank you. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 10:19:15 2007 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBD7516A418 for ; Fri, 21 Dec 2007 10:19:15 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 3AFC913C45B for ; Fri, 21 Dec 2007 10:19:14 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (vader.bytemobile-rio.ondsl.gr [83.235.57.37]) (authenticated bits=128) by igloo.linux.gr (8.14.1/8.14.1/Debian-9) with ESMTP id lBLAIpFf008157 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 21 Dec 2007 12:19:05 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.2/8.14.2) with ESMTP id lBL0lgWX009785 for ; Fri, 21 Dec 2007 02:47:42 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.2/8.14.2/Submit) id lBL0lCbe009715; Fri, 21 Dec 2007 02:47:12 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 21 Dec 2007 02:47:11 +0200 From: Giorgos Keramidas To: "Aryeh M. Friedman" Message-ID: <20071221004711.GA9363@kobe.laptop> References: <476AEA79.6040309@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <476AEA79.6040309@gmail.com> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (cached, score=-4.014, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.39, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions@FreeBSD.org Subject: Re: how long does send-pr take to post X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 21 Dec 2007 10:19:15 -0000 On 2007-12-20 17:19, "Aryeh M. Friedman" wrote: > In the past I have not been able to do send-pr but now that I fixed my > local mail issues all other email apps work... how long should I wait > for the pr to show up before I decide some kind of error happened. A few hours for the email notice saying 'we received your report, and it has been filed as number XXXXXXX' is probably reasonable. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 12:16:20 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F08316A417 for ; Fri, 21 Dec 2007 12:16:20 +0000 (UTC) (envelope-from manikandan.x.balachandran@jpmchase.com) Received: from sb10.jpmchase.com (mailms.chase.com [170.148.48.205]) by mx1.freebsd.org (Postfix) with ESMTP id E837813C459 for ; Fri, 21 Dec 2007 12:16:19 +0000 (UTC) (envelope-from manikandan.x.balachandran@jpmchase.com) Received: from se6.svr.bankone.net (se6.svr.bankone.net [155.180.234.127]) by sb10.jpmchase.com (Switch-3.1.8/Switch-3.1.7) with ESMTP id lBLCGIDB025756 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=FAIL) for ; Fri, 21 Dec 2007 07:16:19 -0500 Received: from jpmchase.com ([10.246.2.155]) by se6.svr.bankone.net (Switch-3.1.8/Switch-3.1.7) with ESMTP id lBLCGWOr031900 for ; Fri, 21 Dec 2007 07:16:32 -0500 Received: from ([10.21.212.165]) by imb1.jpmchase.com with ESMTP id KP-BRCGX.62674666; Fri, 21 Dec 2007 07:17:04 -0500 In-Reply-To: <47681DD7.5090206@otenet.gr> To: Manolis Kiagias MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.4 CCH5 September 12, 2005 Message-ID: From: manikandan.x.balachandran@jpmchase.com Date: Fri, 21 Dec 2007 12:15:49 +0000 X-MIMETrack: Serialize by Router on MIUSMF006/JPMCHASE(Release 6.5.6FP1|April 24, 2007) at 12/21/2007 07:15:52 AM, Serialize complete at 12/21/2007 07:15:52 AM 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: Fw: Can I install Free BSD latest version on my laptop with dual 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: Fri, 21 Dec 2007 12:16:20 -0000 Hi,=0D=0A=0D=0AThanks for your immediate response=0D=0A=0D=0AYes, I spend t= wo days and found out there are lot of tips in your =0D=0Adocumentation tha= nks?=0D=0A=0D=0AAfter compiling the Free BSD Kernel and making some changes= on my system =0D=0Athen how do I make the installable CD/DVD from my sourc= e (My Free BSD) to =0D=0Adistribute to others?=0D=0A=0D=0AOne more question= : Can I use ZFS on Free BSD?=0D=0A=0D=0ACheers,=0D=0AB=2EManikandan=0D=0ABo= urnemouth, UK=0D=0A--------------------------------------------------------= ----=0D=0A=0D=0A=0D=0A=0D=0A=0D=0AManolis Kiagias =0D= =0A18/12/2007 07:21 PM=0D=0A =0D=0A To: manikandan=2Ex=2Ebalacha= ndran@jpmchase=2Ecom=0D=0A cc: freebsd-questions@freebsd=2Eorg= =0D=0A Subject: Re: Fw: Can I install Free BSD latest version= on =0D=0Amy laptop with dual boot?=0D=0A=0D=0A=0D=0A=0D=0A=0D=0Amanikanda= n=2Ex=2Ebalachandran@jpmchase=2Ecom wrote:=0D=0A> Hi,=0D=0A>=0D=0A> We woul= d like to tune FreeBSD according to our business needs=2E Please =0D=0A> fo= rward some documents for how to compile the Free BSD kernel and how we =0D= =0A=0D=0A> can deploy our compiled version of Free BSD into a new machine= =2E=0D=0A>=0D=0A> Please help me ASAP=0D=0A>=0D=0A> Cheers,=0D=0A> B=2EMani= kandan=0D=0A> UK=0D=0A> ---------------------------------------------------= ---------=0D=0A>=0D=0A> =0D=0A>=0D=0ABefore actually tuning FreeBSD (or any= other OS for that matter) to your=0D=0Abusiness needs (which we don't know= =2E=2E=2E) you should take more time to=0D=0Afamiliarize yourself with the = system, perform test installs and so on=2E=0D=0AAlso don't forget to read t= he documentation=2E FreeBSD has an excellent=0D=0Adocumentation set, compri= sing of FAQ, articles and an excellent handbook:=0D=0A=0D=0Ahttp://www=2Efr= eebsd=2Eorg/doc/en_US=2EISO8859-1/books/handbook/=0D=0A=0D=0AThe handbook w= ill answer most of your questions=2E Many others you will be=0D=0Aable to a= nswer yourself by experimenting and gaining experience=2E You=0D=0Awill onl= y get useful answers from the list if your questions are quite=0D=0Aspecifi= c and you have done "your homework" beforehand=2E=0D=0A=0D=0A=0D=0A=0D=0A--= ---------------------------------------=0D=0AThis communication is for info= rmational purposes only=2E It is not=0Aintended as an offer or solicitation= for the purchase or sale of=0Aany financial instrument or as an official c= onfirmation of any=0Atransaction=2E All market prices, data and other infor= mation are not=0Awarranted as to completeness or accuracy and are subject t= o change=0Awithout notice=2E Any comments or statements made herein do not= =0Anecessarily reflect those of JPMorgan Chase & Co=2E, its subsidiaries=0A= and affiliates=2E=0D=0A=0D=0AThis transmission may contain information that= is privileged,=0Aconfidential, legally privileged, and/or exempt from disc= losure=0Aunder applicable law=2E If you are not the intended recipient, you= =0Aare hereby notified that any disclosure, copying, distribution, or=0Ause= of the information contained herein (including any reliance=0Athereon) is = STRICTLY PROHIBITED=2E Although this transmission and any=0Aattachments are= believed to be free of any virus or other defect=0Athat might affect any c= omputer system into which it is received and=0Aopened, it is the responsibi= lity of the recipient to ensure that it=0Ais virus free and no responsibili= ty is accepted by JPMorgan Chase &=0ACo=2E, its subsidiaries and affiliates= , as applicable, for any loss=0Aor damage arising in any way from its use= =2E If you received this=0Atransmission in error, please immediately contac= t the sender and=0Adestroy the material in its entirety, whether in electro= nic or hard=0Acopy format=2E Thank you=2E=0D=0A=0D=0APlease refer to http:/= /www=2Ejpmorgan=2Ecom/pages/disclosures for=0Adisclosures relating to UK le= gal entities=2E From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 12:30:05 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFF2116A417 for ; Fri, 21 Dec 2007 12:30:05 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from web57010.mail.re3.yahoo.com (web57010.mail.re3.yahoo.com [66.196.97.114]) by mx1.freebsd.org (Postfix) with SMTP id 97D7F13C448 for ; Fri, 21 Dec 2007 12:30:05 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: (qmail 2718 invoked by uid 60001); 21 Dec 2007 12:30:04 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=Gj6q79ltFxFy/qZwl7OluSNa0Cso2wJ0HTpLoxeg5p1MgWjG6Px670qET5jECth7JbqCwab0T0HCDVcxn/v8/K2lrqGysLcwylsQC/uf7zknuJIBbPsiHIoh8TP791m91T1ggYP3kL43rAjerqtSk4pTideNyAIEk3cXbqK/8jk=; X-YMail-OSG: w1yn_hcVM1neNoTKsoolANjHxMsZeX9CK1wWXpqnh2AWBXWoBFEigBID0XfZnM7v5OtpaMtSuTrLvGgR_LnM5bz0V7J4v30n7Hnf70Rpt2TqTn47ihs- Received: from [165.21.154.13] by web57010.mail.re3.yahoo.com via HTTP; Fri, 21 Dec 2007 04:30:04 PST Date: Fri, 21 Dec 2007 04:30:04 -0800 (PST) From: Unga To: freebsd-questions@freebsd.org In-Reply-To: <200712201854.51070.pieter@degoeje.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <782437.2008.qm@web57010.mail.re3.yahoo.com> Subject: Re: What priority this app running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 21 Dec 2007 12:30:06 -0000 --- Pieter de Goeje wrote: > On Thursday 20 December 2007, Unga wrote: > > Hi all > > > > $ ps auxl -w | grep amarok > > test 1707 0.0 9.4 61680 48544 ?? S > 12:29AM > > 0:17.29 amarokapp 1003 1 1 20 0 > ksere > > > > Could I check with the list what is the priority > this > > amarokapp is running? > Priority isn't shown in the output above. Try > $ ps -o pri,ni,rtprio,command -p `pgrep amarok` > This will display priority, nice value and realtime > priority (in that order). > > > > The ps man page doesn't show the values for > priority, > > therefore, what should be the values it should > display > > for lowest and highest priority (realtime)? > A lower value means higher priority. Realtime > priority 0 is as high as you can > get. See also rtprio(1). > Thanks all for replies. Priority is still not clear to me. $ ps -o pri,ni,rtprio,command -p `pgrep amarok` PRI NI RTPRIO COMMAND 20 0 normal amarokapp 1) I wonder why there are 3 columns for priority, not just one? 2) How should I read above? Is it Priority=20, ie. NI=0, RTPRIO=normal? Does it all mean the same thing, like the bytes=1048576 and KB=1024 and MB=1? 3) The rtprio(1) says "Priority is an integer between 0 and RTP_PRIO_MAX (usually 31). 0 is the highest priority". But when I run following command: $ ps aux -o pri,ni,rtprio,command USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND PRI NI RTPRIO COMMAND root 10 99.2 0.0 0 8 ?? RL 7:40PM 0:00.00 [idle: cpu1] 171 0 idle:25 [idle: cpu1] root 26 0.0 0.0 0 8 ?? WL 7:40PM 0:00.02 [irq18: envy24ht -80 0 intr:4 [irq18: envy24ht test 1212 0.0 9.3 58544 48176 ?? S 8:06PM 0:06.15 amarokapp 20 0 normal amarokapp That is, PID PRI NI RTPRIO 10 171 0 idle:25 26 -80 0 intr:4 1212 20 0 normal This shows priority ranges at least from -80 to 171 contrary to the range mentioned in rtprio(1). Does this means PID=26 has a higher priority than PID=1212? 4) Can a PRI=0 be considered Realtime? 5) What is the meaning of priority=0 in /etc/login.conf? Realtime? 6) What is the value should I set for priority in /etc/login.conf if I want Realtime? Kind Regards Unga ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 14:09:21 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD7C616A418 for ; Fri, 21 Dec 2007 14:09:21 +0000 (UTC) (envelope-from lichray@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.185]) by mx1.freebsd.org (Postfix) with ESMTP id 2E26A13C45B for ; Fri, 21 Dec 2007 14:09:21 +0000 (UTC) (envelope-from lichray@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so442932rvb.43 for ; Fri, 21 Dec 2007 06:09:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to:content-type:organization:date:message-id:mime-version:x-mailer; bh=TY9FKrOmBl3UV6yi0+aOj0TqoBVWxdf/WLTVd+3BGEQ=; b=nng83BJuPWJosI9yYbDqF8uHBQ6JklGIPdoAUtgx1XmH91nGp9nKZ7wkThX5Ue0VOZd4dyhVRwzphobpzu7TcSxBQ169OobkPWrQhToit3fOH6TR/vdUgeCYAAEUsBRFG2nnK4zSu5/AUsr7zlt44IU/FZ3PTF2wfFh4xR5KKKQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:reply-to:to:content-type:organization:date:message-id:mime-version:x-mailer; b=JvpTm8sgRzhWuiKz9Ei4lUqPQT6DIKk9OkEBpgcs2qFQXWLkjKLMQjBaHgxkwkJTjkU40Y2ksFHDT4X+64f1AtPC2Q5G+af88Uq2FYTDPH5EFWvMjSCAUlf9TQ+X5zTIYWVD4+QFSAOtLVU/DUOguli3MiPAFG5sRspPyTKC8Xs= Received: by 10.141.42.10 with SMTP id u10mr728548rvj.256.1198244553039; Fri, 21 Dec 2007 05:42:33 -0800 (PST) Received: from 99.232.213.58.broad.nj.js.dynamic.163data.com.cn ( [58.213.232.99]) by mx.google.com with ESMTPS id f28sm306603rvb.35.2007.12.21.05.42.29 (version=SSLv3 cipher=RC4-MD5); Fri, 21 Dec 2007 05:42:31 -0800 (PST) From: Ray Stinger To: freebsd-questions@freebsd.org Content-Type: multipart/mixed; boundary="=-6NfdEJtTfi98ELDtX98W" Organization: Racker Studio Date: Fri, 21 Dec 2007 21:42:16 +0800 Message-Id: <1198244536.36882.7.camel@localhost.yuetime> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Subject: My new kernel could not be compiled X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lichray@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2007 14:09:21 -0000 --=-6NfdEJtTfi98ELDtX98W Content-Type: text/plain Content-Transfer-Encoding: 7bit I have followed the FreeBSD Handbook, and I just want to add the usb2.0 and sound devices to my kernel. Maybe I canceled too much modules, though the make error shows the same msg saying "ng_prase_int32 type"** My kernel configure file: -- Ray Stinger, nickname lichray The best way to predict the future is to invent it. -------------------------------------------------- let focus = 'computing' in here: http://let-in.blogspot.com (let (me Program!)): http://lichray.blogspot.com --=-6NfdEJtTfi98ELDtX98W Content-Disposition: attachment; filename=YUETIME Content-Type: text/plain; name=YUETIME; charset=UTF-8 Content-Transfer-Encoding: 7bit # # GENERIC -- Generic kernel configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or necessity of a line, check first # in NOTES. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.413.2.13 2005/04/02 16:37:58 scottl Exp $ machine i386 cpu I486_CPU cpu I586_CPU cpu I686_CPU ident YUETIME # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. options SCHED_4BSD # 4BSD scheduler options INET # InterNETworking #options INET6 # IPv6 communications protocols options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options MD_ROOT # MD is a potential root device options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFS_ROOT # NFS usable as /, requires NFSCLIENT #options MSDOSFS # MSDOS Filesystem #options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_GPT # GUID Partition Tables. options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. options ADAPTIVE_GIANT # Giant mutex is adaptive. device apic # I/O APIC # Bus support. Do not remove isa, even if you have no isa slots device isa device eisa device pci # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives # device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives # device atapist # ATAPI tape drives options ATA_STATIC_ID # Static device numbering # SCSI Controllers #device ahb # EISA AHA1742 family #device ahc # AHA2940 and onboard AIC7xxx devices #device ahd # AHA39320/29320 and onboard AIC79xx devices #device amd # AMD 53C974 (Tekram DC-390(T)) #device isp # Qlogic family #device mpt # LSI-Logic MPT-Fusion #device ncr # NCR/Symbios Logic #device sym # NCR/Symbios Logic (newer chipsets + those of `ncr') #device trm # Tekram DC395U/UW/F DC315U adapters #device adv # Advansys SCSI adapters #device adw # Advansys wide SCSI adapters #device aha # Adaptec 154x SCSI adapters #device aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60. #device bt # Buslogic/Mylex MultiMaster SCSI adapters #device ncv # NCR 53C500 #device nsp # Workbit Ninja SCSI-3 #device stg # TMC 18C30/18C50 # SCSI peripherals device scbus # SCSI bus (required for SCSI) device ch # SCSI media changers device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) device ses # SCSI Environmental Services (and SAF-TE) # RAID controllers interfaced to the SCSI subsystem #device amr # AMI MegaRAID #device arcmsr # Areca SATA II RAID #device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID #device ciss # Compaq Smart RAID 5* #device dpt # DPT Smartcache III, IV - See NOTES for options #device hptmv # Highpoint RocketRAID 182x #device iir # Intel Integrated RAID #device ips # IBM (Adaptec) ServeRAID #device mly # Mylex AcceleRAID/eXtremeRAID #device twa # 3ware 9000 series PATA/SATA RAID # RAID controllers #device aac # Adaptec FSA RAID #device aacp # SCSI passthrough for aac (requires CAM) #device ida # Compaq Smart RAID #device mlx # Mylex DAC960 family #device pst # Promise Supertrak SX6000 #device twe # 3ware ATA RAID # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device vga # VGA video card driver device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc # Enable this for the pcvt (VT220 compatible) console driver #device vt #options XSERVER # support for X server on a vt console #options FAT_CURSOR # start with block cursor device agp # support several AGP chipsets # Floating point support - do not disable. device npx # Power management support (see NOTES for more options) device apm # Add suspend/resume support for the i8254. device pmtimer # PCCARD (PCMCIA) support # PCMCIA and cardbus bridge support device cbb # cardbus (yenta) bridge device pccard # PC Card (16-bit) bus device cardbus # CardBus (32-bit) bus # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports # Parallel port device ppc device ppbus # Parallel port bus (required) #device lpt # Printer #device plip # TCP/IP over parallel #device ppi # Parallel port interface device #device vpo # Requires scbus and da # If you've got a "dumb" serial or parallel PCI card that is # supported by the puc(4) glue driver, uncomment the following # line to enable it (connects to the sio and/or ppc drivers): #device puc # PCI Ethernet NICs. #device de # DEC/Intel DC21x4x (``Tulip'') #device em # Intel PRO/1000 adapter Gigabit Ethernet Card #device ixgb # Intel PRO/10GbE Ethernet Card #device txp # 3Com 3cR990 (``Typhoon'') #device vx # 3Com 3c590, 3c595 (``Vortex'') # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support device bfe # Broadcom BCM440x 10/100 Ethernet #device bge # Broadcom BCM570xx Gigabit Ethernet #device dc # DEC/Intel 21143 and various workalikes #device fxp # Intel EtherExpress PRO/100B (82557, 82558) #device lge # Level 1 LXT1001 gigabit ethernet #device nge # NatSemi DP83820 gigabit ethernet #device pcn # AMD Am79C97x PCI 10/100 (precedence over 'lnc') #device re # RealTek 8139C+/8169/8169S/8110S #device rl # RealTek 8129/8139 #device sf # Adaptec AIC-6915 (``Starfire'') #device sis # Silicon Integrated Systems SiS 900/SiS 7016 #device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet #device ste # Sundance ST201 (D-Link DFE-550TX) #device ti # Alteon Networks Tigon I/II gigabit Ethernet #device tl # Texas Instruments ThunderLAN #device tx # SMC EtherPower II (83c170 ``EPIC'') #device vge # VIA VT612x gigabit ethernet #device vr # VIA Rhine, Rhine II #device wb # Winbond W89C840F #device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') # ISA Ethernet NICs. pccard NICs included. #device cs # Crystal Semiconductor CS89x0 NIC # 'device ed' requires 'device miibus' #device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards #device ex # Intel EtherExpress Pro/10 and Pro/10+ #device ep # Etherlink III based cards #device fe # Fujitsu MB8696x based cards #device ie # EtherExpress 8/16, 3C507, StarLAN 10 etc. #device lnc # NE2100, NE32-VL Lance Ethernet cards #device sn # SMC's 9000 series of Ethernet chips #device xe # Xircom pccard Ethernet # ISA devices that use the old ISA shims #device le # Wireless NIC cards device wlan # 802.11 support #device an # Aironet 4500/4800 802.11 wireless NICs. #device awi # BayStack 660 and others #device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs. #device wl # Older non 802.11 Wavelan wireless NIC. # Pseudo devices. device loop # Network loopback device mem # Memory and kernel memory devices device io # I/O device device random # Entropy device device ether # Ethernet support #device sl # Kernel SLIP device ppp # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device usb # USB Bus (required) device udbp # USB Double Bulk Pipe devices device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse device urio # Diamond Rio 500 MP3 player device uscanner # Scanners # USB Ethernet, requires mii #device aue # ADMtek USB Ethernet #device axe # ASIX Electronics USB Ethernet #device cdce # Generic USB over Ethernet #device cue # CATC USB Ethernet #device kue # Kawasaki LSI USB Ethernet #device rue # RealTek RTL8150 USB Ethernet # FireWire support #device firewire # FireWire bus code #device sbp # SCSI over FireWire (Requires scbus and da) #device fwe # Ethernet over FireWire (non-standard!) device sound device snd_ich --=-6NfdEJtTfi98ELDtX98W-- From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 14:35:54 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F2DB16A468 for ; Fri, 21 Dec 2007 14:35:54 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [195.170.0.93]) by mx1.freebsd.org (Postfix) with ESMTP id 93D8B13C44B for ; Fri, 21 Dec 2007 14:35:53 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from atlantis.dyndns.org (athedsl-313216.home.otenet.gr [85.72.79.30]) by aiolos.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id lBLEZn1i029001; Fri, 21 Dec 2007 16:35:50 +0200 Message-ID: <476BCF45.3020007@otenet.gr> Date: Fri, 21 Dec 2007 16:35:49 +0200 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: manikandan.x.balachandran@jpmchase.com References: In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: Customized FreeBSD CD (was: Can I install Free BSD latest version on my laptop with dual 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: Fri, 21 Dec 2007 14:35:54 -0000 manikandan.x.balachandran@jpmchase.com wrote: > > Hi, > > Thanks for your immediate response > > Yes, I spend two days and found out there are lot of tips in your > documentation thanks… > > After compiling the Free BSD Kernel and making some changes on my > system then how do I make the installable CD/DVD from my source (My > Free BSD) to distribute to others… > > One more question: Can I use ZFS on Free BSD? > > Cheers, > B.Manikandan > Bournemouth, UK > ------------------------------------------------------------ > Please do not top post. There are couple of ways to create a custom FreeBSD CD and you will find them by simply googling. I have not tried any, but this one looks promising: http://livecd.sourceforge.net/documentos.php It is available in the ports collection too: /usr/ports/sysutils/livecd ZFS will be available on FreeBSD 7. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 14:49:31 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B450016A41B for ; Fri, 21 Dec 2007 14:49:31 +0000 (UTC) (envelope-from jhall@vandaliamo.net) Received: from trueband.net (director.trueband.net [216.163.120.8]) by mx1.freebsd.org (Postfix) with SMTP id 3CDFA13C455 for ; Fri, 21 Dec 2007 14:49:30 +0000 (UTC) (envelope-from jhall@vandaliamo.net) Received: (qmail 24912 invoked by uid 1006); 21 Dec 2007 14:49:30 -0000 Received: from jhall@vandaliamo.net by rs0 by uid 1003 with qmail-scanner-1.16 (spamassassin: 3.1.4. Clear:SA:0(-1.4/100.0):. Processed in 1.036461 secs); 21 Dec 2007 14:49:30 -0000 X-Spam-Status: No, hits=-1.4 required=100.0 X-Spam-Level: Received: from unknown (HELO trueband.net) (172.16.0.11) by -v with SMTP; 21 Dec 2007 14:49:28 -0000 Received: (qmail 27520 invoked from network); 21 Dec 2007 14:49:28 -0000 Received: from unknown (HELO admintool.trueband.net) (127.0.0.1) by -v with SMTP; 21 Dec 2007 14:49:28 -0000 Received: from 12.170.206.13 (SquirrelMail authenticated user jhall@vandaliamo.net) by admintool.trueband.net with HTTP; Fri, 21 Dec 2007 14:49:28 -0000 (GMT) Message-ID: <51935.12.170.206.13.1198248568.squirrel@admintool.trueband.net> Date: Fri, 21 Dec 2007 14:49:28 -0000 (GMT) From: jhall@vandaliamo.net To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Redirecting STDOUT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 21 Dec 2007 14:49:31 -0000 I am in the process of debugging a script and I would like to have the output of stdout redirected to a file. After reading about redirection on the Internet, I was under the impression the following would redirect stdout to a file, but I cannot seem to get it to work. tar -cvzf root.tgz /root > /dev/null 2>/home/jay/tarlog I'm sure it is something simple I am doing wrong, but I am not seeing it. Thanks for your help. Jay From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 14:52:52 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD8B816A41B for ; Fri, 21 Dec 2007 14:52:52 +0000 (UTC) (envelope-from liettneff@bk.ru) Received: from cny.innet.yaroslavl.su (cny.innet.yaroslavl.su [217.15.134.68]) by mx1.freebsd.org (Postfix) with ESMTP id EF6EF13C455 for ; Fri, 21 Dec 2007 14:52:51 +0000 (UTC) (envelope-from liettneff@bk.ru) Received: from tac.innet.yaroslavl.su (tac.innet.yaroslavl.su [217.15.135.68]) by cny.innet.yaroslavl.su (8.11.6/8.11.6) with ESMTP id lBLEqSa11439; Fri, 21 Dec 2007 17:52:28 +0300 (MSK) Received: from reaper.yaroslavl.ru (reaper.yaroslavl.ru [85.113.202.195]) by tac.innet.yaroslavl.su (8.13.7/8.13.7) with ESMTP id lBLEqRlQ054198; Fri, 21 Dec 2007 17:52:27 +0300 (MSK) Received: from comp-reaper (comp-reaper [10.19.1.3]) by reaper.yaroslavl.ru (Postfix) with ESMTP id 6ABD82285A; Fri, 21 Dec 2007 17:52:26 +0300 (MSK) Date: Fri, 21 Dec 2007 17:52:47 +0300 From: Michael Lednev X-Mailer: The Bat! (v3.99.29) Professional Organization: none X-Priority: 3 (Normal) Message-ID: <1044977630.20071221175247@bk.ru> To: jhall@vandaliamo.net In-Reply-To: <51935.12.170.206.13.1198248568.squirrel@admintool.trueband.net> References: <51935.12.170.206.13.1198248568.squirrel@admintool.trueband.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Redirecting STDOUT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Michael Lednev List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2007 14:52:53 -0000 Hello, jhall. On 21 ??????? 2007 ?., 17:49:28 you wrote: jvn> tar -cvzf root.tgz /root > /dev/null 2>/home/jay/tarlog jvn> I'm sure it is something simple I am doing wrong, but I am not seeing it. what is your shell? -- Best regards, Michael mailto:liettneff@bk.ru From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 14:56:28 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9130016A418 for ; Fri, 21 Dec 2007 14:56:28 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 1EA3313C4E9 for ; Fri, 21 Dec 2007 14:56:27 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.13.8) with ESMTP id lBLEu8K7060956; Fri, 21 Dec 2007 08:56:09 -0600 (CST) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20071221085433.024e15c0@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Fri, 21 Dec 2007 08:56:00 -0600 To: jhall@vandaliamo.net, freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: <51935.12.170.206.13.1198248568.squirrel@admintool.trueband .net> References: <51935.12.170.206.13.1198248568.squirrel@admintool.trueband.net> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Redirecting STDOUT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 21 Dec 2007 14:56:28 -0000 At 08:49 AM 12/21/2007, jhall@vandaliamo.net wrote: >I am in the process of debugging a script and I would like to have the >output of stdout redirected to a file. > >After reading about redirection on the Internet, I was under the >impression the following would redirect stdout to a file, but I cannot >seem to get it to work. > >tar -cvzf root.tgz /root > /dev/null 2>/home/jay/tarlog > >I'm sure it is something simple I am doing wrong, but I am not seeing it. > >Thanks for your help. > >Jay In your command line above you are redirecting stdout to /dev/null and stderr to your file. try: tar -cvzf root.tgz /root > /home/jay/tarlog 2>&1 -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 14:58:00 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74E1716A417 for ; Fri, 21 Dec 2007 14:58:00 +0000 (UTC) (envelope-from girishvenkatachalam@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.224]) by mx1.freebsd.org (Postfix) with ESMTP id 1B04F13C4D9 for ; Fri, 21 Dec 2007 14:57:59 +0000 (UTC) (envelope-from girishvenkatachalam@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so162961nzf.13 for ; Fri, 21 Dec 2007 06:57:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:subject:message-id:reply-to:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=8LOzj6dDrLpbxCjvA3P20Y/LdcoV8K0rPKBAlLU1ZVg=; b=vyqybD1dwF9riFaw5m4ubXsmDZIlegUSJh9kooQjexAyiSne5R9A31g76cXmJXYNMlCAR1TFxqQgeDMitrCBB4nU6GRSyfHTVwZnIJiw3cCiB7k+zwaS2tIndBB4uFVCwhjNnyNqAFIBcoymMC8GRjuQAtFhH6cyQ1OjccxhPok= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:reply-to:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=J6G94ht+uuTqg4TQh9GP1kKoYvXm2xYn11STQ/s9gN7NGg69xM2njSzcRZJK5SP5cuT4SH0JbV1FoU51jAoM6U17ltqnMXfzyLnLdtzeCDlTUfkKJDuYaBODTE0nNTGJKelxJHjxp9DFeOi9aHTXbYS/H6sxaIdpmX9gcdEeKAA= Received: by 10.141.22.1 with SMTP id z1mr773502rvi.282.1198249078929; Fri, 21 Dec 2007 06:57:58 -0800 (PST) Received: from brahma.susmita.org ( [59.92.25.77]) by mx.google.com with ESMTPS id k2sm853970rvb.36.2007.12.21.06.57.57 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 21 Dec 2007 06:57:58 -0800 (PST) Received: by brahma.susmita.org (Postfix, from userid 1002) id CB62FCCE5; Fri, 21 Dec 2007 20:27:53 +0530 (IST) Date: Fri, 21 Dec 2007 20:27:53 +0530 From: Girish Venkatachalam To: freebsd-questions@freebsd.org Message-ID: <20071221145753.GA8883@brahma.susmita.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <51935.12.170.206.13.1198248568.squirrel@admintool.trueband.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51935.12.170.206.13.1198248568.squirrel@admintool.trueband.net> User-Agent: Mutt/1.5.17 (2007-11-01) Subject: Re: Redirecting STDOUT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: girishvenkatachalam@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2007 14:58:00 -0000 On 14:49:28 Dec 21, jhall@vandaliamo.net wrote: > I am in the process of debugging a script and I would like to have the > output of stdout redirected to a file. > > After reading about redirection on the Internet, I was under the > impression the following would redirect stdout to a file, but I cannot > seem to get it to work. > > tar -cvzf root.tgz /root > /dev/null 2>/home/jay/tarlog > > I'm sure it is something simple I am doing wrong, but I am not seeing it. Yes. Very simple indeed. This is highly shell dependent but on ksh, this command works. $ tar zcvf root.tgz /root >/home/jay/tarlog 2>/dev/null The above command will redirect stderr (fdes 2) to the bit bucket and stdout to /home/jay/tarlog. If you wish to redirect both stderr and stdout to a single file, you can try this command. $ tar zcvf root.tgz /root >/home/jay/tarlog 2>&1 -Girish From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 15:04:42 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB02616A419 for ; Fri, 21 Dec 2007 15:04:42 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 4DD6C13C4DB for ; Fri, 21 Dec 2007 15:04:42 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 21 Dec 2007 10:04:41 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.8.6-GA) with ESMTP id OEU39745; Fri, 21 Dec 2007 10:04:41 -0500 (EST) Received: from 209-6-22-188.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.22.188]) by smtp01.lnh.mail.rcn.net with ESMTP; 21 Dec 2007 10:03:35 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18283.54789.123386.713890@jerusalem.litteratus.org> Date: Fri, 21 Dec 2007 10:04:37 -0500 To: zbigniew szalbot In-Reply-To: <476B587D.9060000@szalbot.homedns.org> References: <476B587D.9060000@szalbot.homedns.org> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr02.lnh.mail.rcn.net) Cc: freebsd-questions@freebsd.org Subject: /var growing too fast X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 21 Dec 2007 15:04:42 -0000 zbigniew szalbot writes: > I thought I would ask your advice. I only have a 2 GB /var slice > and space is shrinking fast. > > It may be that something else is eating up available space but I > am not sure how to measure it. Every day about 1% more of > available space is taken. Start by running: du /var | sort -nr | head -n 50 | more This will show you the 50 biggest directories. If you don't understand why they're the size they are ... that's your first step. Robert Huff From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 15:11:06 2007 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 9744B16A421 for ; Fri, 21 Dec 2007 15:11:06 +0000 (UTC) (envelope-from sh1nny_kn1ght@yahoo.com) Received: from n8.bullet.ukl.yahoo.com (n8.bullet.ukl.yahoo.com [217.146.182.188]) by mx1.freebsd.org (Postfix) with SMTP id 0C6ED13C4E7 for ; Fri, 21 Dec 2007 15:11:05 +0000 (UTC) (envelope-from sh1nny_kn1ght@yahoo.com) Received: from [217.12.4.215] by n8.bullet.ukl.yahoo.com with NNFMP; 21 Dec 2007 15:11:05 -0000 Received: from [216.252.122.218] by t2.bullet.ukl.yahoo.com with NNFMP; 21 Dec 2007 15:11:04 -0000 Received: from [69.147.65.155] by t3.bullet.sp1.yahoo.com with NNFMP; 21 Dec 2007 15:11:04 -0000 Received: from [127.0.0.1] by omp403.mail.sp1.yahoo.com with NNFMP; 21 Dec 2007 15:11:04 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 545339.78484.bm@omp403.mail.sp1.yahoo.com Received: (qmail 78684 invoked by uid 60001); 21 Dec 2007 15:11:04 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=JJ+uHR1EaabCRZBM9wKUU1hlrKRRVfqHbq0JpNXANB4OLGL7A0/43Y6jKJbf0IsDdwPFyeAuNf91+WE7y88H9Xg5MrEWXOrbJwhisW86+RGj7u5msuKZQmZNxXQbB8uxTc7BqXSaznMa/VnjBxc5G+Vx9qZqndrUbqzkQipNZEY=; X-YMail-OSG: GgPnTRgVM1lS4AQk2FPQd3jLwAXN5gIIEeLZhxIv Received: from [41.205.191.10] by web44811.mail.sp1.yahoo.com via HTTP; Fri, 21 Dec 2007 07:11:03 PST Date: Fri, 21 Dec 2007 07:11:03 -0800 (PST) From: shinny knight To: "Michael W. Lucas" In-Reply-To: <20071218165521.GA37529@bewilderbeast.blackhelicopters.org> MIME-Version: 1.0 Message-ID: <343753.78466.qm@web44811.mail.sp1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org Subject: Re: timekeeping on jail servers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2007 15:11:06 -0000 On Tue, Dec 18, 2007 at 11:02:12AM -0500, Bill Moran wrote: > In response to "Michael W. Lucas" : > > > Hi, > > > > Been searching around without results: > > > > Has anyone come up with a decent way to do timekeeping on a jail > > server? ntpd(8) binds to all addresses, and I'd rather not do a > > ntpdate out of cron. > > I'm not entirely sure I comprehend where you're having trouble, Michael, > but we use openntpd on all our systems, specifically because you can > tell it what addresses to bind to. That would be you don't have my problem. Openntpd will solve my problem. Thanks for all the pointers, including the dozen or so private ones! ==ml -- Michael W. Lucas mwlucas@BlackHelicopters.org, mwlucas@FreeBSD.org http://www.BlackHelicopters.org/~mwlucas/ Now Shipping: "Absolute FreeBSD" -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies "for security reasons." _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscribe@freebsd.org Hello Michael, Is there any special reason you do not want to use ntpdate from cron? Is working fine for me on FreeBSD jail servers. Best Regards, Catalin Miclaus --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 15:32:12 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAA5E16A417 for ; Fri, 21 Dec 2007 15:32:12 +0000 (UTC) (envelope-from zbigniew@szalbot.homedns.org) Received: from lists.lc-words.com (lists.lc-words.com [83.19.156.210]) by mx1.freebsd.org (Postfix) with ESMTP id 5FD1613C442 for ; Fri, 21 Dec 2007 15:32:11 +0000 (UTC) (envelope-from zbigniew@szalbot.homedns.org) Received: from localhost (localhost.szalbot.homedns.org [127.0.0.1]) by lists.lc-words.com (Postfix) with ESMTP id 3A0B23F406; Fri, 21 Dec 2007 16:30:56 +0100 (CET) Received: from lists.lc-words.com ([127.0.0.1]) by localhost (szalbot.homedns.org [127.0.0.1]) (amavisd-maia, port 10026) with ESMTP id 77119-09; Fri, 21 Dec 2007 16:30:55 +0100 (CET) Received: from [192.168.11.100] (87-205-52-249.adsl.inetia.pl [87.205.52.249]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.lc-words.com (Postfix) with ESMTP id B3ACD3F405; Fri, 21 Dec 2007 16:30:54 +0100 (CET) Message-ID: <476BDC72.5070902@szalbot.homedns.org> Date: Fri, 21 Dec 2007 16:32:02 +0100 From: zbigniew szalbot User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Robert Huff References: <476B587D.9060000@szalbot.homedns.org> <18283.54789.123386.713890@jerusalem.litteratus.org> In-Reply-To: <18283.54789.123386.713890@jerusalem.litteratus.org> X-Virus-Scanned: Maia Mailguard Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: zbigniew szalbot , freebsd-questions@freebsd.org Subject: Re: /var growing too fast X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 21 Dec 2007 15:32:12 -0000 Hello, Robert Huff pisze: > zbigniew szalbot writes: > > > I thought I would ask your advice. I only have a 2 GB /var slice > > and space is shrinking fast. > > > > It may be that something else is eating up available space but I > > am not sure how to measure it. Every day about 1% more of > > available space is taken. > > Start by running: > > du /var | sort -nr | head -n 50 | more > Great! Thank you. /var/mysql is the biggest. It kind of strange because I only have maybe 7MB worth of data on mysql database. I guess these all are necesseray files though. I did check on a different machine I have access to, mysql dir is even bigger. Thank you Robert! Zbigniew Szalbot From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 15:49:17 2007 Return-Path: Delivered-To: FreeBSD-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F2A416A419 for ; Fri, 21 Dec 2007 15:49: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 28CAA13C4F4 for ; Fri, 21 Dec 2007 15:49:16 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id lBLFmLiO054729; Fri, 21 Dec 2007 10:48:21 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id lBLFmLA3054728; Fri, 21 Dec 2007 10:48:21 -0500 (EST) (envelope-from jerrymc) Date: Fri, 21 Dec 2007 10:48:21 -0500 From: Jerry McAllister To: "Alexander Rudyk (Akvelon)" Message-ID: <20071221154821.GB54667@gizmo.acns.msu.edu> References: <3659EBC278926E47B1802BE0129D1B6007D8AD3AC8@NA-EXMSG-C123.redmond.corp.microsoft.com> <20071220195636.116ac9bb@anthesphoria.net> <3659EBC278926E47B1802BE0129D1B6007D8E204FA@NA-EXMSG-C123.redmond.corp.microsoft.com> <20071220211232.427f6a41@anthesphoria.net> <3659EBC278926E47B1802BE0129D1B6007D8E20685@NA-EXMSG-C123.redmond.corp.microsoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3659EBC278926E47B1802BE0129D1B6007D8E20685@NA-EXMSG-C123.redmond.corp.microsoft.com> User-Agent: Mutt/1.4.2.2i Cc: "FreeBSD-questions@FreeBSD.org" Subject: Re: Partitions size for 80GB HDD and 2GB RAM X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 21 Dec 2007 15:49:17 -0000 On Thu, Dec 20, 2007 at 03:34:30PM -0800, Alexander Rudyk (Akvelon) wrote: > Thank all of you for really helpful answers. > > I am thinking about this configuration (might be helpful for someone in the future) > > a: / (root) 256 MB > b: /swap 4096 MB > d: /tmp 768 MB > e: /usr 8192 MB > f: /var 2048 MB > g: /home all the rest. > > Think that 8GB will be enough for /usr ports, local and build os from scratch, > and 2GB for /var - in any case I can symlink some of those to /home Depends on what things you build. Some requite huge amounts of space. Openoffice is one example. Of course, for many of these, you can get prebuilt packages. ////jerry > > So we need about 15GB of free storage only for FreeBSD needs. > > Thx > Alex > > > -----Original Message----- > From: Nikola Le??i?? [mailto:nikola.lecic@anthesphoria.net] > Sent: Thursday, December 20, 2007 12:13 PM > To: Alexander Rudyk (Akvelon) > Cc: FreeBSD-questions@FreeBSD.org > Subject: Re: Partitions size for 80GB HDD and 2GB RAM > > On Thu, 20 Dec 2007 11:26:41 -0800 > "Alexander Rudyk (Akvelon)" wrote: > > > Nikola, > > > > Thank you for your extender answer. I have two more comments. > > > > Did you consider /var as your email db partition. I really don???t > > know how big will be my mail db on freebsd, but after half of year > > I have about 4GB outlook mail db. So 1GB for /var might be not enough > > in my case. > > The hier(7) manpage is very useful to understand the default directory > structure: > > http://www.freebsd.org/cgi/man.cgi?query=hier&apropos=0&sektion=0&manpath=FreeBSD+6.2-RELEASE&format=html > > As for mail, it depends on how you plan to receive and handle it; if you > just download mail from pop3 account, it will be stored in your home by > a mail client (this goes as well for mail you export from Outlook to > e.g. Thunderbird). For locally (system) delivered mail, /var/spool is > the default place, but unless you want yo use your laptop as a mail > server, it's unlikely you will store your mail there. > > > Having /home as part of /usr is the good point. But in case of backup > > it make sense to have /home as separate partition. What you think > > about this? > > Of course it's very useful for backups. I just thought it was useful to > warn you about how much space /usr/ports could need because the default > installation procedure on FreeBSD is to compile sources (of thirs > party applications and of FreeBSD itself). > > As a useful example on how much space you might need, here are rough > sizes on my home desktop computer, used for everyday work. I have ~850 > ports installed. > > /usr/ports ~2G (with current distfiles and packages that happen > to be there + you will need at least 2-3G for > large upgrades, sometimes > 10G) > /usr/local ~5G (third party applications + additions such as > TeXLive = ~1G) > /usr/home ~20G > --------------------- > /usr total used: ~30G (includes FreeBSD itself + some other smaller > storages) > > If you plan to build FreeBSD itself in the future, then /usr must be > even bigger. If all this leaves enough room for /home for you, then > it's certainly very useful to make it separate partition. > > -- > Nikola Le??i?? :: ???????????? ?????????? > _______________________________________________ > 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 Dec 21 16:12:22 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDB7316A41A for ; Fri, 21 Dec 2007 16:12:22 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 5AC5813C4CC for ; Fri, 21 Dec 2007 16:12:22 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id lBLGBQfS054917; Fri, 21 Dec 2007 11:11:26 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id lBLGBQe0054916; Fri, 21 Dec 2007 11:11:26 -0500 (EST) (envelope-from jerrymc) Date: Fri, 21 Dec 2007 11:11:26 -0500 From: Jerry McAllister To: zbigniew szalbot Message-ID: <20071221161126.GG54667@gizmo.acns.msu.edu> References: <476B587D.9060000@szalbot.homedns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <476B587D.9060000@szalbot.homedns.org> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: /var growing too fast X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 21 Dec 2007 16:12:22 -0000 On Fri, Dec 21, 2007 at 07:09:01AM +0100, zbigniew szalbot wrote: > Hello, > > I thought I would ask your advice. I only have a 2 GB /var slice and > space is shrinking fast. I see that most space is taken by /var/db. > > $ du -hs /var/db > 1.4G /var/db > > $ du -hs /var > 1.7G /var > > $ df > /dev/ad0s1e 2178510 1738396 265834 87% /var > > Is it possible to release some space from /var/db? I seem to recall that > /var/db is pretty important and I better not lose it... Yes, if you are running some database, it can grow fast. Do you have a large, catch-all, partition, such as /home? If go, move /var/db to and make a symlink. You should be able to copy it all with tar. Pick a make-sense name for the directory in the new directory such as 'var.db' Then, in the original /var directory, rename db temporarily - mv db olddb for example and make the link. ln -s /home/var.db db (presuming that you put it in /home) If it all seems good, then rm the olddb and all should be well. ////jerry > > It may be that something else is eating up available space but I am not > sure how to measure it. Every day about 1% more of available space is taken. > > Many thanks for ideas what to do (apart from bying a bigger drive :) > > And season greetings to you all! > > Zbigniew Szalbot > _______________________________________________ > 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 Dec 21 16:23:06 2007 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 03C0216A417 for ; Fri, 21 Dec 2007 16:23: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 B0A1B13C448 for ; Fri, 21 Dec 2007 16:23:05 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.pitbpa0.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTP id 47FA2EBC3B; Fri, 21 Dec 2007 11:23:04 -0500 (EST) Date: Fri, 21 Dec 2007 11:23:03 -0500 From: Bill Moran To: shinny knight Message-Id: <20071221112303.19619c39.wmoran@potentialtech.com> In-Reply-To: <343753.78466.qm@web44811.mail.sp1.yahoo.com> References: <20071218165521.GA37529@bewilderbeast.blackhelicopters.org> <343753.78466.qm@web44811.mail.sp1.yahoo.com> X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org, "Michael W. Lucas" Subject: Re: timekeeping on jail servers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2007 16:23:06 -0000 In response to shinny knight : > On Tue, Dec 18, 2007 at 11:02:12AM -0500, Bill Moran wrote: > > In response to "Michael W. Lucas" : > > > > > > Been searching around without results: > > > > > > Has anyone come up with a decent way to do timekeeping on a jail > > > server? ntpd(8) binds to all addresses, and I'd rather not do a > > > ntpdate out of cron. > > > > I'm not entirely sure I comprehend where you're having trouble, Michael, > > but we use openntpd on all our systems, specifically because you can > > tell it what addresses to bind to. > > That would be you don't have my problem. Openntpd will solve my > problem. > > Thanks for all the pointers, including the dozen or so private ones! > > Hello Michael, > > Is there any special reason you do not want to use ntpdate from cron? > Is working fine for me on FreeBSD jail servers. The reason that is not recommended is that it results in sudden steps of the clock. Occasionally, these steps go backwards. Software that is very sensitive to time changes (make processes, database servers, anything doing calculations WRT time) can break, crash, or work inaccurately. ntpd works by speeding up or slowing down the clock to catch up to the correct time. As a result, it's much less likely to disturb time- sensitive applications. Also, over time ntpd will tune the clock so that it is actually ticking correctly, unlike the ntpdate in cron solution. For example, if your clock cronically ticks 1 second slow every 5 minutes: * running ntpdate from cron every five minutes will result in a 1 second "jump" every time it runs. * Running ntpd will result in the kernel speeding up the clock so that it actually ticks correctly. A lot of people new to ntpd think that it's not working because they start it and their time is still wrong. If the time is badly wrong when ntpd starts, it can take quite a while for it to correct it. If you have a machine that is frequently turned off, ntpdate should be run at boot to snap the time into correctness, at which point ntpd will keep it there. -- Bill Moran http://www.potentialtech.com From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 16:42:13 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6486216A41A for ; Fri, 21 Dec 2007 16:42:13 +0000 (UTC) (envelope-from jackbarnett@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by mx1.freebsd.org (Postfix) with ESMTP id D7E9513C45B for ; Fri, 21 Dec 2007 16:42:12 +0000 (UTC) (envelope-from jackbarnett@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so931188pyb.3 for ; Fri, 21 Dec 2007 08:42:08 -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:reply-to:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; bh=6LVqrr5d13UvKaUunNPh9Sr6uj3qPdXDNixSgxpxPeg=; b=Sjxng2/2y+ZNY4NgcWY+MrDTadewpqoAU5d8eAZ1j3H24gwowa1wK9fTDa10awg2SzzqBH+Y98hg6rI0BsSdjwPLT/iAirYqfK+opy698bM26k0AE7KSpzUaUnPOq8g5yHMX1I8zLF9qKLZHZGrarGsR7m64LIV/h+0lWukiP8Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=nQL80u2yrhh2kGlwiMj3sjkxj8E67bK2Vjz+6CwogA6jkjd+ND27BZTaDLFrPY0gcLnAPfGN20SMrwndKO96eskwh4z6/tI9ketYXDNopHw764YTCl5NxiZ2XLzOoiHVezotyH0D6sdTWznq3h1YJInoSWMsR+NivURomvAtcX0= Received: by 10.35.28.12 with SMTP id f12mr1597791pyj.40.1198255327646; Fri, 21 Dec 2007 08:42:07 -0800 (PST) Received: from ?192.168.17.10? ( [67.190.229.42]) by mx.google.com with ESMTPS id w67sm3930052pyg.29.2007.12.21.08.42.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 21 Dec 2007 08:42:05 -0800 (PST) Message-ID: <476BECD7.8070402@gmail.com> Date: Fri, 21 Dec 2007 10:41:59 -0600 From: Jack Barnett User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Freebsd questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: freenx server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jackbarnett@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2007 16:42:13 -0000 Anyone get the freeNX server working from nomachine? When I try to build it from /usr/ports/net/freenx it says it is broken under xorg 7.2 I've upgrade to xorg 7.3.x and modified the make file and it builds everything but nxagent, so it fails to `make install` install: /usr/ports/net/nxserver/work/nx-X11/programs/Xserver/nxagent: No such file or directory *** Error code 71 From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 16:59:30 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9E1016A419 for ; Fri, 21 Dec 2007 16:59:30 +0000 (UTC) (envelope-from jhall@vandaliamo.net) Received: from trueband.net (director.trueband.net [216.163.120.8]) by mx1.freebsd.org (Postfix) with SMTP id 5D10D13C467 for ; Fri, 21 Dec 2007 16:59:30 +0000 (UTC) (envelope-from jhall@vandaliamo.net) Received: (qmail 16291 invoked by uid 1006); 21 Dec 2007 16:59:29 -0000 Received: from jhall@vandaliamo.net by rs0 by uid 1003 with qmail-scanner-1.16 (spamassassin: 3.1.4. Clear:SA:0(-1.4/100.0):. Processed in 0.988876 secs); 21 Dec 2007 16:59:29 -0000 X-Spam-Status: No, hits=-1.4 required=100.0 X-Spam-Level: Received: from unknown (HELO trueband.net) (172.16.0.12) by -v with SMTP; 21 Dec 2007 16:59:28 -0000 Received: (qmail 656 invoked from network); 21 Dec 2007 16:59:27 -0000 Received: from unknown (HELO admintool.trueband.net) (127.0.0.1) by -v with SMTP; 21 Dec 2007 16:59:27 -0000 Received: from 65.117.48.155 (SquirrelMail authenticated user jhall@vandaliamo.net) by admintool.trueband.net with HTTP; Fri, 21 Dec 2007 16:59:27 -0000 (GMT) Message-ID: <49254.65.117.48.155.1198256367.squirrel@admintool.trueband.net> In-Reply-To: <1044977630.20071221175247@bk.ru> References: <51935.12.170.206.13.1198248568.squirrel@admintool.trueband.net> <1044977630.20071221175247@bk.ru> Date: Fri, 21 Dec 2007 16:59:27 -0000 (GMT) From: jhall@vandaliamo.net To: "Michael Lednev" User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: jhall@vandaliamo.net, freebsd-questions@freebsd.org Subject: Re: Redirecting STDOUT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 21 Dec 2007 16:59:30 -0000 > Hello, jhall. > > On 21 ??????? 2007 ?., 17:49:28 you wrote: > > jvn> tar -cvzf root.tgz /root > /dev/null 2>/home/jay/tarlog > > jvn> I'm sure it is something simple I am doing wrong, but I am not seeing > it. > > what is your shell? > > -- > Best regards, > Michael mailto:liettneff@bk.ru > > /bin/sh Jay From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 17:02:01 2007 Return-Path: Delivered-To: FreeBSD-questions@FreeBSD.org Received: by hub.freebsd.org (Postfix, from userid 645) id 167FD16A469; Fri, 21 Dec 2007 17:02:01 +0000 (UTC) To: FreeBSD-questions@FreeBSD.org Message-Id: <20071221170201.167FD16A469@hub.freebsd.org> Date: Fri, 21 Dec 2007 17:02:01 +0000 (UTC) From: grog@FreeBSD.ORG (Greg Lehey) Cc: Subject: How to get best results from FreeBSD-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2007 17:02:01 -0000 How to get the best results from FreeBSD questions. =================================================== Last update $Date: 2005/08/10 02:21:44 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. ===================================================================== Contents: I: Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions or -hackers? IV: How to submit a question to FreeBSD-questions V: How to answer a question to FreeBSD-questions I: Introduction =============== This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the "newcomers"), and also those who answer the questions (the "hackers"). Note that the term "hacker" has nothing to do with breaking into other people's computers. The correct term for the latter activity is "cracker", but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions ============================================== When you subscribed to FreeBSD-questions, you got a welcome message from freebsd-questions-request@FreeBSD.ORG. In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions@freebsd.org mailing list! If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at: http://lists.freebsd.org/mailman/options/freebsd-questions/me@me.org (obviously, substitute your mail address for "me@me.org"). You can also make such adjustments via email by sending a message to: freebsd-questions-request@freebsd.org with the word 'help' in the subject or body (don't include the quotes), and you will get back a message with instructions. You must know your password to change your options (including changing the password, itself) or to unsubscribe. Normally, Mailman will remind you of your freebsd.org mailing list passwords once every month, although you can disable this if you prefer. This reminder will also include instructions on how to unsubscribe or change your account options. There is also a button on your options page that will email your current password to you. Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send "how to" questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as grog@lemis.de. Since then, I have changed it to grog@lemis.com. If I were to try to remove grog@lemis.com from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed to FreeBSD-questions. If that's the case, you'll have to figure out which one it is and get your name taken off that one. If you're not sure which one it might be, check the headers of the messages you receive from freebsd-questions: maybe there's a clue there. If you've done all this, and you still can't figure out what's going on, send a message to Postmaster@FreeBSD.org, and he will sort things out for you. Don't send a message to FreeBSD-questions: they can't help you. III: Should I ask -questions or -hackers? ========================================= Two mailing lists handle general questions about FreeBSD, FreeBSD-questions and FreeBSD-hackers. In some cases, it's not really clear which group you should ask. The following criteria should help for 99% of all questions, however: If the question is of a general nature, first check whether this isn't a Frequently Asked Question (FAQ). There's a list of these questions at http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/index.html, and also on your own system (once you've installed it) at /usr/share/doc/en/books/faq/index.html. Check there, and if you don't find an answer, ask FreeBSD-questions. Examples might be questions about installing FreeBSD or the use of a particular UNIX utility. If you think the question relates to a bug, but you're not sure, or you don't know how to look for it, send the message to FreeBSD-questions. If the question relates to a bug, and you're almost sure that it's a bug (for example, you can pinpoint the place in the code where it happens, and you maybe have a fix), then send the message to FreeBSD-hackers. You should also enter a problem report with the send-pr utility. If the question relates to enhancements to FreeBSD, and you can make suggestions about how to implement them, then send the message to FreeBSD-hackers. If the question is of particularly technical nature, such as implementation details or suggestions for improvements, then send the message to FreeBSD-hackers. There are also a number of other specialized mailing lists, for example FreeBSD-isp, which caters to the interests of ISPs (Internet Service Providers) who run FreeBSD. If you happen to be an ISP, this doesn't mean you should automatically send your questions to FreeBSD-isp. The criteria above still apply, and it's in your interest to stick to them, since you're more likely to get good results that way. IV: How to submit a question ============================= When submitting a question to FreeBSD-questions, consider the following points: 1. Remember that nobody gets paid for answering a FreeBSD question. They do it of their own free will. You can influence this free will positively by submitting a well-formulated question supplying as much relevant information as possible. You can influence this free will negatively by submitting an incomplete, illegible, or rude question. It's perfectly possible to send a message to FreeBSD-questions and not get an answer even if you follow these rules. It's much more possible to not get an answer if you don't. In the rest of this document, we'll look at how to get the most out of your question to FreeBSD-questions. 2. Not everybody who answers FreeBSD questions reads every message: they look at the subject line and decide whether it interests them. Clearly, it's in your interest to specify a subject. ``FreeBSD problem'' or ``Help'' aren't enough. If you provide no subject at all, many people won't bother reading it. If your subject isn't specific enough, the people who can answer it may not read it. 3. When sending a new message, well, send a new message. Don't reply to some other message, erase the old content and change the subject line. That leaves an In-reply-to: header which many mail readers use to thread messages, so your message shows up as a reply to some other message. People often delete messages a whole thread at a time, so apart from irritating people, you also run a chance of having the message deleted unread. 4. Format your message so that it is legible, and PLEASE DON'T SHOUT!!!!!. We appreciate that a lot of people don't speak English as their first language, and we try to make allowances for that, but it's really painful to try to read a message written full of typos or without any line breaks. A lot of badly formatted messages come from bad mailers or badly configured mailers. The following mailers are known to send out badly formatted messages without you finding out about them: Eudora exmh Microsoft Exchange Microsoft Internet Mail Microsoft Outlook Netscape As you can see, the mailers in the Microsoft world are frequent offenders. If at all possible, use a UNIX mailer. If you must use a mailer under Microsoft environments, make sure it is set up correctly. Try not to use MIME: a lot of people use mailers which don't get on very well with MIME. For further information on this subject, check out http://www.lemis.com/email.html. 5. Make sure your time and time zone are set correctly. This may seem a little silly, since your message still gets there, but many of the people you are trying to reach get several hundred messages a day. They frequently sort the incoming messages by subject and by date, and if your message doesn't come before the first answer, they may assume they missed it and not bother to look. 6. Don't include unrelated questions in the same message. Firstly, a long message tends to scare people off, and secondly, it's more difficult to get all the people who can answer all the questions to read the message. 7. Specify as much information as possible. This is a difficult area, and we need to expand on what information you need to submit, but here's a start: If you get error messages, don't say ``I get error messages'', say (for example) ``I get the error message 'No route to host'''. If your system panics, don't say ``My system panicked'', say (for example) ``my system panicked with the message 'free vnode isn't'''. If you have difficulty installing FreeBSD, please tell us what hardware you have. In particular, it's important to know the IRQs and I/O addresses of the boards installed in your machine. If you have difficulty getting PPP to run, describe the configuration. Which version of PPP do you use? What kind of authentication do you have? Do you have a static or dynamic IP address? What kind of messages do you get in the log file? 8. If you don't get an answer immediately, or if you don't even see your own message appear on the list immediately, don't resend the message. Wait at least 24 hours. The FreeBSD mailer offloads messages to a number of subordinate mailers around the world, and sometimes it can take several hours for the mail to get through. And once it gets through, the one person who might know the answer will probably just have gone to bed in his part of the world. 9. If you do all this, and you still don't get an answer, there could be other reasons. For example, the problem is so complicated that nobody knows the answer, or the person who does know the answer was offline. If you don't get an answer after, say, a week, it might help to re-send the message. If you don't get an answer to your second message, though, you're probably not going to get one from this forum. Resending the same message again and again will only make you unpopular. To summarize, let's assume you know the answer to the following question (yes, it's the same one in each case :-). You choose which of these two questions you would be more prepared to answer: Message 1: Subject: (none) I just can't get hits damn silly FereBSD system to workd, and Im really good at this tsuff, but I have never seen anythign sho difficult to install, it jst wont work whatever I try so why don't y9ou guys tell me what I doing wrong. ---------------------------------------------------------------------- Message 2: Subject: Problems installing FreeBSD I've just got the FreeBSD 2.1.5 CD-ROM from Walnut Creek, and I'm having a lot of difficulty installing it. I have a 66 MHz 486 with 16 MB of memory and an Adaptec 1540A SCSI board, a 1.2GB Quantum Fireball disk and a Toshiba 3501XA CD-ROM drive. The installation works just fine, but when I try to reboot the system, I get the message "Missing Operating System". ---------------------------------------------------------------------- V: How to follow up to a question ================================= Often you will want to send in additional information to a question you have already sent. The best way to do this is to reply to your original message. This has three advantages: 1. You include the original message text, so people will know what you're talking about. Don't forget to trim unnecessary text out, though. 2. The text in the subject line stays the same (you did remember to put one in, didn't you?). Many mailers will sort messages by subject. This helps group messages together. 3. The message reference numbers in the header will refer to the previous message. Some mailers, such as mutt, can thread messages, showing the exact relationships between the messages. VI: How to answer a question ============================ Before you answer a question to FreeBSD-questions, consider: 1. A lot of the points on submitting questions also apply to answering questions. Read them. 2. Has somebody already answered the question? The easiest way to check this is to sort your incoming mail by subject: then (hopefully) you'll see the question followed by any answers, all together. If somebody has already answered it, it doesn't automatically mean that you shouldn't send another answer. But it makes sense to read all the other answers first. 3. Do you have something to contribute beyond what has already been said? In general, "Yeah, me too" answers don't help much, although there are exceptions, like when somebody is describing a problem he's having, and he doesn't know whether it's his fault or whether there's something wrong with the hardware or software. If you do send a "me too" answer, you should also include any further relevant information. 4. Are you sure you understand the question? Very frequently, the person who asks the question is confused or doesn't express himself very well. Even with the best understanding of the system, it's easy to send a reply which doesn't answer the question. This doesn't help: you'll leave the person who submitted the question more frustrated or confused than ever. If nobody else answers, and you're not too sure either, you can always ask for more information. 5. Are you sure your answer is correct? If not, wait a day or so. If nobody else comes up with a better answer, you can still reply and say, for example, "I don't know if this is correct, but since nobody else has replied, why don't you try replacing your ATAPI CD-ROM with a frog?". 6. Unless there's a good reason to do otherwise, reply to the sender and to FreeBSD-questions. Many people on the FreeBSD-questions are "lurkers": they learn by reading messages sent and replied to by others. If you take a message which is of general interest off the list, you're depriving these people of their information. Be careful with group replies; lots of people send messages with hundreds of CCs. If this is the case, be sure to trim the Cc: lines appropriately. 7. Include relevant text from the original message. Trim it to the minimum, but don't overdo it. It should still be possible for somebody who didn't read the original message to understand what you're talking about. 8. Use some technique to identify which text came from the original message, and which text you add. I personally find that prepending ``> '' to the original message works best. Leaving white space after the ``> '' and leave empty lines between your text and the original text both make the result more readable. 9. Put your response in the correct place (after the text to which it replies). It's very difficult to read a thread of responses where each reply comes before the text to which it replies. 10. Most mailers change the subject line on a reply by prepending a text such as ``Re: ''. If your mailer doesn't do it automatically, you should do it manually. 11. If the submitter didn't abide by format conventions (lines too long, inappropriate subject line), please fix it. In the case of an incorrect subject line (such as ``HELP!!??''), change the subject line to (say) ``Re: Difficulties with sync PPP (was: HELP!!??)''. That way other people trying to follow the thread will have less difficulty following it. In such cases, it's appropriate to say what you did and why you did it, but try not to be rude. If you find you can't answer without being rude, don't answer. If you just want to reply to a message because of its bad format, just reply to the submitter, not to the list. You can just send him this message in reply, if you like. $Id: Howto-ask-questions,v 1.6 2005/08/10 02:21:44 grog Exp $ _______________________________________________ Thanks to Josh Paetzel for updating this document to describe mailman. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 17:02:01 2007 Return-Path: Delivered-To: FreeBSD-questions@FreeBSD.org Received: by hub.freebsd.org (Postfix, from userid 645) id 1BAD816A46E; Fri, 21 Dec 2007 17:02:01 +0000 (UTC) To: FreeBSD-questions@FreeBSD.org Message-Id: <20071221170201.1BAD816A46E@hub.freebsd.org> Date: Fri, 21 Dec 2007 17:02:01 +0000 (UTC) From: grog@FreeBSD.ORG (Greg Lehey) Cc: Subject: "The Complete FreeBSD": errata and addenda X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2007 17:02:01 -0000 The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, The Complete FreeBSD, published by O'Reilly, is no exception. Inevitably, a number of bugs and changes have surfaced. "The Complete FreeBSD" has been through a total of five editions, including its predecessor "Installing and Running FreeBSD". Two of these have been reprinted with corrections. I maintain a series of errata pages. Start at http://www.lemis.com/errata-4.html to find out how to get the errata information. Note also that the book has now been released for free download in PDF form. Instead of downloading the changed pages, you may prefer to download the entire book. See http://www.lemis.com/grog/Documentation/CFBSD/ for more information. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm no longer constantly updating it, but I may be able to help Greg From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 17:12:16 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5633B16A417 for ; Fri, 21 Dec 2007 17:12:16 +0000 (UTC) (envelope-from jhall@vandaliamo.net) Received: from trueband.net (director.trueband.net [216.163.120.8]) by mx1.freebsd.org (Postfix) with SMTP id E948E13C447 for ; Fri, 21 Dec 2007 17:12:15 +0000 (UTC) (envelope-from jhall@vandaliamo.net) Received: (qmail 23226 invoked by uid 1006); 21 Dec 2007 17:12:11 -0000 Received: from jhall@vandaliamo.net by rs0 by uid 1003 with qmail-scanner-1.16 (spamassassin: 3.1.4. Clear:SA:0(-1.4/100.0):. Processed in 1.70466 secs); 21 Dec 2007 17:12:11 -0000 X-Spam-Status: No, hits=-1.4 required=100.0 X-Spam-Level: Received: from unknown (HELO trueband.net) (172.16.0.21) by -v with SMTP; 21 Dec 2007 17:12:09 -0000 Received: (qmail 19555 invoked from network); 21 Dec 2007 17:12:09 -0000 Received: from unknown (HELO admintool.trueband.net) (127.0.0.1) by -v with SMTP; 21 Dec 2007 17:12:09 -0000 Received: from 65.117.48.155 (SquirrelMail authenticated user jhall@vandaliamo.net) by admintool.trueband.net with HTTP; Fri, 21 Dec 2007 17:12:09 -0000 (GMT) Message-ID: <49355.65.117.48.155.1198257129.squirrel@admintool.trueband.net> In-Reply-To: <6.0.0.22.2.20071221085433.024e15c0@mail.computinginnovations.com> References: <51935.12.170.206.13.1198248568.squirrel@admintool.trueband.net> <6.0.0.22.2.20071221085433.024e15c0@mail.computinginnovations.com> Date: Fri, 21 Dec 2007 17:12:09 -0000 (GMT) From: jhall@vandaliamo.net To: "Derek Ragona" User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: jhall@vandaliamo.net, freebsd-questions@freebsd.org Subject: Re: Redirecting STDOUT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 21 Dec 2007 17:12:16 -0000 > At 08:49 AM 12/21/2007, jhall@vandaliamo.net wrote: >>I am in the process of debugging a script and I would like to have the >>output of stdout redirected to a file. >> >>After reading about redirection on the Internet, I was under the >>impression the following would redirect stdout to a file, but I cannot >>seem to get it to work. >> >>tar -cvzf root.tgz /root > /dev/null 2>/home/jay/tarlog >> >>I'm sure it is something simple I am doing wrong, but I am not seeing it. >> >>Thanks for your help. >> >>Jay > > In your command line above you are redirecting stdout to /dev/null and > stderr to your file. > > try: > > tar -cvzf root.tgz /root > /home/jay/tarlog 2>&1 > When I run the above, I receive the following message. Ambiguous output redirect. Any suggestions? What I found Googling on the message indicates I am trying to write the output to multiple locations. I am using the bourne shell. I am using the right syntax? Thanks, Jay From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 17:14:18 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCA2E16A418 for ; Fri, 21 Dec 2007 17:14:18 +0000 (UTC) (envelope-from liettneff@bk.ru) Received: from cny.innet.yaroslavl.su (cny.innet.yaroslavl.su [217.15.134.68]) by mx1.freebsd.org (Postfix) with ESMTP id 0AD1913C44B for ; Fri, 21 Dec 2007 17:14:17 +0000 (UTC) (envelope-from liettneff@bk.ru) Received: from tac.innet.yaroslavl.su (tac.innet.yaroslavl.su [217.15.135.68]) by cny.innet.yaroslavl.su (8.11.6/8.11.6) with ESMTP id lBLHDra54235; Fri, 21 Dec 2007 20:13:53 +0300 (MSK) Received: from reaper.yaroslavl.ru (reaper.yaroslavl.ru [85.113.202.195]) by tac.innet.yaroslavl.su (8.13.7/8.13.7) with ESMTP id lBLHDrij019289; Fri, 21 Dec 2007 20:13:53 +0300 (MSK) Received: from comp-reaper (comp-reaper [10.19.1.3]) by reaper.yaroslavl.ru (Postfix) with ESMTP id AD56F2285A; Fri, 21 Dec 2007 20:13:52 +0300 (MSK) Date: Fri, 21 Dec 2007 20:14:13 +0300 From: Michael Lednev X-Mailer: The Bat! (v3.99.29) Professional Organization: none X-Priority: 3 (Normal) Message-ID: <863400045.20071221201413@bk.ru> To: jhall@vandaliamo.net In-Reply-To: <49254.65.117.48.155.1198256367.squirrel@admintool.trueband.net> References: <51935.12.170.206.13.1198248568.squirrel@admintool.trueband.net> <1044977630.20071221175247@bk.ru> <49254.65.117.48.155.1198256367.squirrel@admintool.trueband.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Redirecting STDOUT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Michael Lednev List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2007 17:14:18 -0000 Hello, jhall. On 21 ??????? 2007 ?., 19:59:27 you wrote: >> Hello, jhall. >> >> On 21 ??????? 2007 ?., 17:49:28 you wrote: >> >> jvn> tar -cvzf root.tgz /root > /dev/null 2>/home/jay/tarlog >> >> jvn> I'm sure it is something simple I am doing wrong, but I am not seeing >> it. >> >> what is your shell? >> >> -- >> Best regards, >> Michael mailto:liettneff@bk.ru >> >> jvn> /bin/sh In that case you only redirecting STDERR to file. As you've been already told STDOUT will be redirected with $ command 1>file or $ command > file adding 2>&1 will also redirect STDERR to this file -- Best regards, Michael mailto:liettneff@bk.ru From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 17:15:12 2007 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 8325A16A420 for ; Fri, 21 Dec 2007 17:15:12 +0000 (UTC) (envelope-from SRS0=04527191878c7d9dce7039eb1c1e2f91e0593f8b=556=es.net=webster@es.net) Received: from postal1.es.net (postal1.es.net [IPv6:2001:400:14:3::6]) by mx1.freebsd.org (Postfix) with ESMTP id 0059513C4CE for ; Fri, 21 Dec 2007 17:15:11 +0000 (UTC) (envelope-from SRS0=04527191878c7d9dce7039eb1c1e2f91e0593f8b=556=es.net=webster@es.net) Received: from jw-laptop.dhcp.lbnl.us (jw-laptop.dhcp.lbnl.us [198.128.26.45]) by postal1.es.net (Postal Node 1) with ASMTP (SSL) id ADK27511; Fri, 21 Dec 2007 09:15:11 -0800 Date: Fri, 21 Dec 2007 09:15:10 -0800 From: John Webster To: Bill Moran Message-ID: <7BEE288E7C218E96DB9E8AA0@jw-laptop.dhcp.lbnl.us> In-Reply-To: <20071221112303.19619c39.wmoran@potentialtech.com> References: <20071218165521.GA37529@bewilderbeast.blackhelicopters.org> <343753.78466.qm@web44811.mail.sp1.yahoo.com> <20071221112303.19619c39.wmoran@potentialtech.com> X-Mailer: Mulberry/4.0.7 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Sender-IP: 198.128.26.45 X-Sender-Domain: es.net X-Recipent: ; ; ; ; X-Sender: X-To_Name: Bill Moran X-To_Domain: potentialtech.com X-To: Bill Moran X-To_Email: wmoran@potentialtech.com X-To_Alias: wmoran Cc: questions@freebsd.org, "Michael W. Lucas" , shinny knight Subject: Re: timekeeping on jail servers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2007 17:15:12 -0000 --On December 21, 2007 11:23:03 AM -0500 Bill Moran wrote: > In response to shinny knight : > > The reason that is not recommended is that it results in sudden steps > of the clock. Occasionally, these steps go backwards. Software that > is very sensitive to time changes (make processes, database servers, > anything doing calculations WRT time) can break, crash, or work > inaccurately. > ntpdate -B should slew the time slowly. (According to the manpage.) Happy Holidays! From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 17:34:55 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B838716A468 for ; Fri, 21 Dec 2007 17:34:55 +0000 (UTC) (envelope-from jhall@vandaliamo.net) Received: from trueband.net (director.trueband.net [216.163.120.8]) by mx1.freebsd.org (Postfix) with SMTP id 3E64713C46A for ; Fri, 21 Dec 2007 17:34:54 +0000 (UTC) (envelope-from jhall@vandaliamo.net) Received: (qmail 6147 invoked by uid 1006); 21 Dec 2007 17:34:53 -0000 Received: from jhall@vandaliamo.net by rs0 by uid 1003 with qmail-scanner-1.16 (spamassassin: 3.1.4. Clear:SA:0(-1.4/100.0):. Processed in 1.16792 secs); 21 Dec 2007 17:34:53 -0000 X-Spam-Status: No, hits=-1.4 required=100.0 X-Spam-Level: Received: from unknown (HELO trueband.net) (172.16.0.14) by -v with SMTP; 21 Dec 2007 17:34:52 -0000 Received: (qmail 24280 invoked from network); 21 Dec 2007 17:34:52 -0000 Received: from unknown (HELO admintool.trueband.net) (127.0.0.1) by -v with SMTP; 21 Dec 2007 17:34:52 -0000 Received: from 65.117.48.155 (SquirrelMail authenticated user jhall@vandaliamo.net) by admintool.trueband.net with HTTP; Fri, 21 Dec 2007 17:34:52 -0000 (GMT) Message-ID: <49457.65.117.48.155.1198258492.squirrel@admintool.trueband.net> In-Reply-To: <863400045.20071221201413@bk.ru> References: <51935.12.170.206.13.1198248568.squirrel@admintool.trueband.net> <1044977630.20071221175247@bk.ru> <49254.65.117.48.155.1198256367.squirrel@admintool.trueband.net> <863400045.20071221201413@bk.ru> Date: Fri, 21 Dec 2007 17:34:52 -0000 (GMT) From: jhall@vandaliamo.net To: "Michael Lednev" User-Agent: SquirrelMail/1.4.4 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: Redirecting STDOUT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 21 Dec 2007 17:34:55 -0000 > In that case you only redirecting STDERR to file. As you've been > already told STDOUT will be redirected with > > $ command 1>file > > or > > $ command > file > > adding 2>&1 will also redirect STDERR to this file > When I run this as a non-root user it works fine. But, when running it as root, it does not produce the expected results. $ ls -l /fjdkslafjdl 2>/home/hallja/test2 And, in the file test2, I see ls: /fjdkslafjdl: No such file or directory Running the same command as root, I receive the following results. # ls -l /fjdkslafjdl 2>/home/hallja/test2 ls: /fjdkslafjdl: No such file or directory And, in /home/hallja/test2 I see the following. -rw-r--r-- 1 root hallja 0 Dec 21 08:02 2 Why does this not work as root? Thanks, Jay From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 17:40:34 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 997B116A41A for ; Fri, 21 Dec 2007 17:40:34 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 2EBDA13C465 for ; Fri, 21 Dec 2007 17:40:33 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.13.8) with ESMTP id lBLHeP9B063766; Fri, 21 Dec 2007 11:40:25 -0600 (CST) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20071221113910.024c7c28@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Fri, 21 Dec 2007 11:40:17 -0600 To: jhall@vandaliamo.net From: Derek Ragona In-Reply-To: <49355.65.117.48.155.1198257129.squirrel@admintool.trueband .net> References: <51935.12.170.206.13.1198248568.squirrel@admintool.trueband.net> <6.0.0.22.2.20071221085433.024e15c0@mail.computinginnovations.com> <49355.65.117.48.155.1198257129.squirrel@admintool.trueband.net> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: jhall@vandaliamo.net, freebsd-questions@freebsd.org Subject: Re: Redirecting STDOUT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 21 Dec 2007 17:40:34 -0000 At 11:12 AM 12/21/2007, jhall@vandaliamo.net wrote: > > At 08:49 AM 12/21/2007, jhall@vandaliamo.net wrote: > >>I am in the process of debugging a script and I would like to have the > >>output of stdout redirected to a file. > >> > >>After reading about redirection on the Internet, I was under the > >>impression the following would redirect stdout to a file, but I cannot > >>seem to get it to work. > >> > >>tar -cvzf root.tgz /root > /dev/null 2>/home/jay/tarlog > >> > >>I'm sure it is something simple I am doing wrong, but I am not seeing it. > >> > >>Thanks for your help. > >> > >>Jay > > > > In your command line above you are redirecting stdout to /dev/null and > > stderr to your file. > > > > try: > > > > tar -cvzf root.tgz /root > /home/jay/tarlog 2>&1 > > >When I run the above, I receive the following message. >Ambiguous output redirect. > >Any suggestions? What I found Googling on the message indicates I am >trying to write the output to multiple locations. > >I am using the bourne shell. I am using the right syntax? > >Thanks, > > >Jay tar is a bit different in the syntax, this seems to work: tar -f /root.tgz -cvz /root >/home/jay/tarlog 2>&1 -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 18:18:36 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4B5016A417 for ; Fri, 21 Dec 2007 18:18:36 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from darklight.org.ru (ipv6.darklight.org.ru [IPv6:2001:470:1f07:84::1]) by mx1.freebsd.org (Postfix) with ESMTP id 86B1B13C45A for ; Fri, 21 Dec 2007 18:18:35 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from darklight.org.ru (yuri@darklight.org.ru [IPv6:::1]) by darklight.org.ru (8.14.2/8.14.2) with ESMTP id lBLIIHO1019535; Fri, 21 Dec 2007 21:18:17 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) Received: from localhost (localhost [[UNIX: localhost]]) by darklight.org.ru (8.14.2/8.14.2/Submit) id lBLIIGbx019534; Fri, 21 Dec 2007 21:18:16 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: darklight.org.ru: yuri set sender to yuri.pankov@gmail.com using -f From: Yuri Pankov To: freebsd-questions@freebsd.org, lichray@gmail.com Date: Fri, 21 Dec 2007 21:18:16 +0300 User-Agent: KMail/1.9.7 References: <1198244536.36882.7.camel@localhost.yuetime> In-Reply-To: <1198244536.36882.7.camel@localhost.yuetime> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712212118.16800.yuri.pankov@gmail.com> Cc: Subject: Re: My new kernel could not be compiled X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 21 Dec 2007 18:18:36 -0000 On Friday 21 December 2007 16:42:16 Ray Stinger wrote: > I have followed the FreeBSD Handbook, and I just want to add the usb2.0 > and sound devices to my kernel. Maybe I canceled too much modules, > though the make error shows the same msg saying "ng_prase_int32 type"** > My kernel configure file: Could you be more verbose than `msg saying "ng_prase_int32 type"**'? :-) It's really hard to guess given so little information. Please paste at least full compiler line and exact error messages. Yuri From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 18:24:42 2007 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 978B316A418 for ; Fri, 21 Dec 2007 18:24:42 +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 52CA213C45A for ; Fri, 21 Dec 2007 18:24:42 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.pitbpa0.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTP id 77EA5EBC3B; Fri, 21 Dec 2007 13:24:41 -0500 (EST) Date: Fri, 21 Dec 2007 13:24:40 -0500 From: Bill Moran To: John Webster Message-Id: <20071221132440.31ded74f.wmoran@potentialtech.com> In-Reply-To: <7BEE288E7C218E96DB9E8AA0@jw-laptop.dhcp.lbnl.us> References: <20071218165521.GA37529@bewilderbeast.blackhelicopters.org> <343753.78466.qm@web44811.mail.sp1.yahoo.com> <20071221112303.19619c39.wmoran@potentialtech.com> <7BEE288E7C218E96DB9E8AA0@jw-laptop.dhcp.lbnl.us> X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org, "Michael W. Lucas" , shinny knight Subject: Re: timekeeping on jail servers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2007 18:24:42 -0000 In response to John Webster : > > --On December 21, 2007 11:23:03 AM -0500 Bill Moran wrote: > > > In response to shinny knight : > > > > The reason that is not recommended is that it results in sudden steps > > of the clock. Occasionally, these steps go backwards. Software that > > is very sensitive to time changes (make processes, database servers, > > anything doing calculations WRT time) can break, crash, or work > > inaccurately. > > ntpdate -B should slew the time slowly. (According to the manpage.) Not generally suitable for cron because it can take longer to slew than it does for the next cron execution to occur, which would then result in multiple ntpdate programs fighting each other (not sure what the effect of this would be). If you ask me, the -B option is available for people who want to totally hose timekeeping on their system. -- Bill Moran http://www.potentialtech.com From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 18:33:39 2007 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 9264716A417 for ; Fri, 21 Dec 2007 18:33:39 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out4.apple.com (mail-out4.apple.com [17.254.13.23]) by mx1.freebsd.org (Postfix) with ESMTP id 64BA413C458 for ; Fri, 21 Dec 2007 18:33:39 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay11.apple.com (relay11.apple.com [17.128.113.48]) by mail-out4.apple.com (Postfix) with ESMTP id 5A35B1CACDEF; Fri, 21 Dec 2007 10:33:39 -0800 (PST) Received: from relay11.apple.com (unknown [127.0.0.1]) by relay11.apple.com (Symantec Mail Security) with ESMTP id 41B6A28082; Fri, 21 Dec 2007 10:33:39 -0800 (PST) X-AuditID: 11807130-a7e4abb000004fb9-d3-476c070369a5 Received: from cswiger1.apple.com (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay11.apple.com (Apple SCV relay) with ESMTP id 20E442804D; Fri, 21 Dec 2007 10:33:39 -0800 (PST) Message-Id: From: Chuck Swiger To: Bill Moran In-Reply-To: <20071221132440.31ded74f.wmoran@potentialtech.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Fri, 21 Dec 2007 10:33:38 -0800 References: <20071218165521.GA37529@bewilderbeast.blackhelicopters.org> <343753.78466.qm@web44811.mail.sp1.yahoo.com> <20071221112303.19619c39.wmoran@potentialtech.com> <7BEE288E7C218E96DB9E8AA0@jw-laptop.dhcp.lbnl.us> <20071221132440.31ded74f.wmoran@potentialtech.com> X-Mailer: Apple Mail (2.915) X-Brightmail-Tracker: AAAAAA== Cc: FreeBSD Questions Subject: Re: timekeeping on jail servers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2007 18:33:39 -0000 On Dec 21, 2007, at 10:24 AM, Bill Moran wrote: >> ntpdate -B should slew the time slowly. (According to the manpage.) > > Not generally suitable for cron because it can take longer to slew > than it does for the next cron execution to occur, which would then > result in multiple ntpdate programs fighting each other (not sure > what the effect of this would be). ntpdate -B calls adjtime(2) and then exits, rather than the process staying around; calling it a second time is fine but it isn't especially useful to keep running ntpdate via cron. One should run ntpd instead unless the system in question is desperately short on memory and a ~1MB RSS process is a burden. > If you ask me, the -B option is available for people who want to > totally hose timekeeping on their system. Somewhat. :-) -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 18:44:45 2007 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 6E34616A41A for ; Fri, 21 Dec 2007 18:44:45 +0000 (UTC) (envelope-from SRS0=04527191878c7d9dce7039eb1c1e2f91e0593f8b=556=es.net=webster@es.net) Received: from postal1.es.net (postal4.es.net [IPv6:2001:400:6000:1::66]) by mx1.freebsd.org (Postfix) with ESMTP id 92A6B13C458 for ; Fri, 21 Dec 2007 18:44:44 +0000 (UTC) (envelope-from SRS0=04527191878c7d9dce7039eb1c1e2f91e0593f8b=556=es.net=webster@es.net) Received: from vortex.es.net (vortex.es.net [198.128.1.16]) by postal4.es.net (Postal Node 4) with ASMTP (SSL) id AEN37943; Fri, 21 Dec 2007 10:44:43 -0800 Date: Fri, 21 Dec 2007 10:44:42 -0800 From: John Webster To: Bill Moran Message-ID: <62F8888810A130657FBCAF47@vortex.es.net> In-Reply-To: <20071221132440.31ded74f.wmoran@potentialtech.com> References: <20071218165521.GA37529@bewilderbeast.blackhelicopters.org> <343753.78466.qm@web44811.mail.sp1.yahoo.com> <20071221112303.19619c39.wmoran@potentialtech.com> <7BEE288E7C218E96DB9E8AA0@jw-laptop.dhcp.lbnl.us> <20071221132440.31ded74f.wmoran@potentialtech.com> X-Mailer: Mulberry/3.1.6 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Sender-IP: 198.128.1.16 X-Sender-Domain: es.net X-Recipent: ; ; ; ; X-Sender: X-To_Name: Bill Moran X-To_Domain: potentialtech.com X-To: Bill Moran X-To_Email: wmoran@potentialtech.com X-To_Alias: wmoran Cc: questions@freebsd.org, "Michael W. Lucas" , shinny knight Subject: Re: timekeeping on jail servers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John Webster List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2007 18:44:45 -0000 --On Friday, December 21, 2007 13:24:40 -0500 Bill Moran wrote: > In response to John Webster : >> >> --On December 21, 2007 11:23:03 AM -0500 Bill Moran wrote: >> >> > In response to shinny knight : >> > >> > The reason that is not recommended is that it results in sudden steps >> > of the clock. Occasionally, these steps go backwards. Software that >> > is very sensitive to time changes (make processes, database servers, >> > anything doing calculations WRT time) can break, crash, or work >> > inaccurately. >> >> ntpdate -B should slew the time slowly. (According to the manpage.) > > Not generally suitable for cron because it can take longer to slew > than it does for the next cron execution to occur, which would then > result in multiple ntpdate programs fighting each other (not sure > what the effect of this would be). > If I were doing it I would write a script with locking in order to ensure multiple jobs don't fight. Simple. Happy Holidays! From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 18:51:31 2007 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 9DD6016A419 for ; Fri, 21 Dec 2007 18:51:31 +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 56CB413C448 for ; Fri, 21 Dec 2007 18:51:31 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.pitbpa0.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTP id 9FAB5EBC3B; Fri, 21 Dec 2007 13:51:30 -0500 (EST) Date: Fri, 21 Dec 2007 13:51:29 -0500 From: Bill Moran To: John Webster Message-Id: <20071221135129.ee20677e.wmoran@potentialtech.com> In-Reply-To: <62F8888810A130657FBCAF47@vortex.es.net> References: <20071218165521.GA37529@bewilderbeast.blackhelicopters.org> <343753.78466.qm@web44811.mail.sp1.yahoo.com> <20071221112303.19619c39.wmoran@potentialtech.com> <7BEE288E7C218E96DB9E8AA0@jw-laptop.dhcp.lbnl.us> <20071221132440.31ded74f.wmoran@potentialtech.com> <62F8888810A130657FBCAF47@vortex.es.net> X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org, "Michael W. Lucas" , shinny knight Subject: Re: timekeeping on jail servers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2007 18:51:31 -0000 In response to John Webster : > > --On Friday, December 21, 2007 13:24:40 -0500 Bill Moran wrote: > > > In response to John Webster : > >> > >> --On December 21, 2007 11:23:03 AM -0500 Bill Moran wrote: > >> > >> > In response to shinny knight : > >> > > >> > The reason that is not recommended is that it results in sudden steps > >> > of the clock. Occasionally, these steps go backwards. Software that > >> > is very sensitive to time changes (make processes, database servers, > >> > anything doing calculations WRT time) can break, crash, or work > >> > inaccurately. > >> > >> ntpdate -B should slew the time slowly. (According to the manpage.) > > > > Not generally suitable for cron because it can take longer to slew > > than it does for the next cron execution to occur, which would then > > result in multiple ntpdate programs fighting each other (not sure > > what the effect of this would be). > > If I were doing it I would write a script with locking in order > to ensure multiple jobs don't fight. Simple. Umm .... At that point, why not just run ntpd? You've basically replaced it with a script anyway. Besides, it's not that easy. As Chuck pointed out, ntpdate calls adjtime() and exits, which means an adjustment might already be in progress when you you call it again. I don't know if ntpdate checks the return pointer from adjtime() to avoid multiple adjustment requests. -- Bill Moran http://www.potentialtech.com From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 19:05:08 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8CF5316A468 for ; Fri, 21 Dec 2007 19:05:08 +0000 (UTC) (envelope-from dan@dpcsys.com) Received: from ns.beach.net (ns.beach.net [12.130.64.129]) by mx1.freebsd.org (Postfix) with ESMTP id 4581513C47E for ; Fri, 21 Dec 2007 19:05:03 +0000 (UTC) (envelope-from dan@dpcsys.com) Received: from [192.168.1.225] (host135 [209.200.204.135]) by ns.beach.net (8.13.7/8.13.7) with ESMTP id lBLIQu3k038850; Fri, 21 Dec 2007 10:26:56 -0800 (PST) In-Reply-To: <49457.65.117.48.155.1198258492.squirrel@admintool.trueband.net> References: <51935.12.170.206.13.1198248568.squirrel@admintool.trueband.net> <1044977630.20071221175247@bk.ru> <49254.65.117.48.155.1198256367.squirrel@admintool.trueband.net> <863400045.20071221201413@bk.ru> <49457.65.117.48.155.1198258492.squirrel@admintool.trueband.net> Mime-Version: 1.0 (Apple Message framework v752.2) X-Priority: 3 (Normal) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <0725F14B-D147-4970-9CE2-52214D7A8BDC@dpcsys.com> Content-Transfer-Encoding: 7bit From: Dan Busarow Date: Fri, 21 Dec 2007 11:26:45 -0700 To: jhall@vandaliamo.net X-Mailer: Apple Mail (2.752.2) Cc: "freebsd-questions@freebsd.org - Questions" Subject: Re: Redirecting STDOUT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 21 Dec 2007 19:05:08 -0000 On Dec 21, 2007, at 10:34 AM, jhall@vandaliamo.net wrote: > >> In that case you only redirecting STDERR to file. As you've been >> already told STDOUT will be redirected with >> >> $ command 1>file >> >> or >> >> $ command > file >> >> adding 2>&1 will also redirect STDERR to this file >> > > When I run this as a non-root user it works fine. But, when > running it as > root, it does not produce the expected results. > > $ ls -l /fjdkslafjdl 2>/home/hallja/test2 > And, in the file test2, I see > > ls: /fjdkslafjdl: No such file or directory > > Running the same command as root, I receive the following results. > # ls -l /fjdkslafjdl 2>/home/hallja/test2 > ls: /fjdkslafjdl: No such file or directory > > And, in /home/hallja/test2 I see the following. > -rw-r--r-- 1 root hallja 0 Dec 21 08:02 2 > > Why does this not work as root? > When you are root type in # echo $SHELL Unless you previously invoked /bin/sh # sh you are almost certainly running csh Dan From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 19:16:41 2007 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 6694F16A41B for ; Fri, 21 Dec 2007 19:16:41 +0000 (UTC) (envelope-from SRS0=04527191878c7d9dce7039eb1c1e2f91e0593f8b=556=es.net=webster@es.net) Received: from postal1.es.net (postal4.es.net [IPv6:2001:400:6000:1::66]) by mx1.freebsd.org (Postfix) with ESMTP id 70A0013C4D9 for ; Fri, 21 Dec 2007 19:16:40 +0000 (UTC) (envelope-from SRS0=04527191878c7d9dce7039eb1c1e2f91e0593f8b=556=es.net=webster@es.net) Received: from vortex.es.net (vortex.es.net [198.128.1.16]) by postal4.es.net (Postal Node 4) with ASMTP (SSL) id AFL38339; Fri, 21 Dec 2007 11:16:39 -0800 Date: Fri, 21 Dec 2007 11:16:38 -0800 From: John Webster To: Bill Moran Message-ID: <073F818C772E47BF16B6A94F@vortex.es.net> In-Reply-To: <20071221135129.ee20677e.wmoran@potentialtech.com> References: <20071218165521.GA37529@bewilderbeast.blackhelicopters.org> <343753.78466.qm@web44811.mail.sp1.yahoo.com> <20071221112303.19619c39.wmoran@potentialtech.com> <7BEE288E7C218E96DB9E8AA0@jw-laptop.dhcp.lbnl.us> <20071221132440.31ded74f.wmoran@potentialtech.com> <62F8888810A130657FBCAF47@vortex.es.net> <20071221135129.ee20677e.wmoran@potentialtech.com> X-Mailer: Mulberry/3.1.6 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Sender-IP: 198.128.1.16 X-Sender-Domain: es.net X-Recipent: ; ; ; ; X-Sender: X-To_Name: Bill Moran X-To_Domain: potentialtech.com X-To: Bill Moran X-To_Email: wmoran@potentialtech.com X-To_Alias: wmoran Cc: questions@freebsd.org, "Michael W. Lucas" , shinny knight Subject: Re: timekeeping on jail servers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John Webster List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2007 19:16:41 -0000 --On Friday, December 21, 2007 13:51:29 -0500 Bill Moran wrote: > In response to John Webster : >> > Not generally suitable for cron because it can take longer to slew >> > than it does for the next cron execution to occur, which would then >> > result in multiple ntpdate programs fighting each other (not sure >> > what the effect of this would be). >> >> If I were doing it I would write a script with locking in order >> to ensure multiple jobs don't fight. Simple. > > Umm .... > > At that point, why not just run ntpd? You've basically replaced it > with a script anyway. > My suggestions are based on the OP about ntpd binding to everything. > Besides, it's not that easy. As Chuck pointed out, ntpdate calls > adjtime() and exits, which means an adjustment might already be in > progress when you you call it again. I don't know if ntpdate checks > the return pointer from adjtime() to avoid multiple adjustment > requests. Just out of curiosity, why run it more that once a day? Or for that matter every couple of days? From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 19:39:47 2007 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 BFAE216A419 for ; Fri, 21 Dec 2007 19:39:47 +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 75EAD13C4CC for ; Fri, 21 Dec 2007 19:39:47 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.pitbpa0.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTP id 71449EBC3B; Fri, 21 Dec 2007 14:39:46 -0500 (EST) Date: Fri, 21 Dec 2007 14:39:45 -0500 From: Bill Moran To: John Webster Message-Id: <20071221143945.ce9992ee.wmoran@potentialtech.com> In-Reply-To: <073F818C772E47BF16B6A94F@vortex.es.net> References: <20071218165521.GA37529@bewilderbeast.blackhelicopters.org> <343753.78466.qm@web44811.mail.sp1.yahoo.com> <20071221112303.19619c39.wmoran@potentialtech.com> <7BEE288E7C218E96DB9E8AA0@jw-laptop.dhcp.lbnl.us> <20071221132440.31ded74f.wmoran@potentialtech.com> <62F8888810A130657FBCAF47@vortex.es.net> <20071221135129.ee20677e.wmoran@potentialtech.com> <073F818C772E47BF16B6A94F@vortex.es.net> X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org, "Michael W. Lucas" , shinny knight Subject: Re: timekeeping on jail servers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2007 19:39:47 -0000 In response to John Webster : > > --On Friday, December 21, 2007 13:51:29 -0500 Bill Moran wrote: > > > In response to John Webster : > > >> > Not generally suitable for cron because it can take longer to slew > >> > than it does for the next cron execution to occur, which would then > >> > result in multiple ntpdate programs fighting each other (not sure > >> > what the effect of this would be). > >> > >> If I were doing it I would write a script with locking in order > >> to ensure multiple jobs don't fight. Simple. > > > > Umm .... > > > > At that point, why not just run ntpd? You've basically replaced it > > with a script anyway. > > > > My suggestions are based on the OP about ntpd binding to everything. > > > > Besides, it's not that easy. As Chuck pointed out, ntpdate calls > > adjtime() and exits, which means an adjustment might already be in > > progress when you you call it again. I don't know if ntpdate checks > > the return pointer from adjtime() to avoid multiple adjustment > > requests. > > Just out of curiosity, why run it more that once a day? Or for > that matter every couple of days? There is the matter of "how accurate does your time really need to be?" I worked a place where many computers were used for employees to clock in/clock out. Synchronizing time once a day, the clocks would drift enough that employees who showed up on time and left on time would appear to have arrived late and/or left early (up to 5 minutes a day drift). Of course, this is hardware-dependent and even environmentally dependent (computers connected to clean power sources with consistent environmental temperature seem to keep more accurate time in my experience) Other common applications are even more sensitive. If you run NFS or other file sharing, you can run into all sorts of ugliness if time skews more than a few seconds. Web applications can be notoriously buggy if either the server or the client is off by more than a few seconds. With all those potential problems looming, why would you use anything other than a full-blown ntp daemon? I just can't see the excuse for making up other solutions. -- Bill Moran http://www.potentialtech.com From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 19:45:42 2007 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 5904916A41B for ; Fri, 21 Dec 2007 19:45:42 +0000 (UTC) (envelope-from mbe2@bayou.com) Received: from smtp.bayou.com (smtp.bayou.com [209.209.192.40]) by mx1.freebsd.org (Postfix) with ESMTP id 02DC813C44B for ; Fri, 21 Dec 2007 19:45:41 +0000 (UTC) (envelope-from mbe2@bayou.com) Received: from bayoucshaffer (firewall.bayou.com [209.209.192.219]) by smtp.bayou.com (8.12.8/8.12.6) with SMTP id lBLJjfHZ034927 for ; Fri, 21 Dec 2007 13:45:41 -0600 (CST) (envelope-from mbe2@bayou.com) Message-ID: <002201c84409$62d52770$0d00a8c0@bayoucshaffer> From: "Mark Evans" To: References: <005901c8313f$f7048b70$0d00a8c0@bayoucshaffer><474CA49D.50306@FreeBSD.org><002001c831d5$80ad8670$0d00a8c0@bayoucshaffer><003101c831da$a405bc50$0d00a8c0@bayoucshaffer><20071129122043.A9040@wojtek.tensor.gdynia.pl><20071129084244.eaba6f7a.wmoran@potentialtech.com><20071129154230.5ba29b43@epia-2.farid-hajji.net><002201c83cf5$2948a560$0d00a8c0@bayoucshaffer> <20071213192206.547cbffe@epia-2.farid-hajji.net> Date: Fri, 21 Dec 2007 13:40:48 -0600 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Scanned-By: MIMEDefang 2.49 on 209.209.192.40 Cc: Subject: Re: ls -l takes a forever to finish. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 21 Dec 2007 19:45:42 -0000 This issue has been resolved. Thanks for your assistance everyone. Changing /etc/nsswitch.conf from "passwd: compat" to read "passwd: files" resolved the issue. Thanks Mark ----- Original Message ----- From: "cpghost" To: "Mark Evans" Cc: Sent: Thursday, December 13, 2007 12:22 PM Subject: Re: ls -l takes a forever to finish. > On Wed, 12 Dec 2007 13:28:23 -0600 > "Mark Evans" wrote: > >> this program seems to have the same issues with it. > > [Please don't top post.] > > Of course, if "ls -lf" has those issues, "sortls.py" will > have them too, because it just runs it and sorts its output > externally with another sorting algorithm. sortls.py speeds > up "ls -l" considerably for huge (10,000+ entries) directories > by using another sorting algorithm, it doesn't do anything else. > > Just to ask again: while you're waiting for "ls -lf", what > does "top" say? Is that process accumulating CPU time, or > is it just sitting around waiting, waiting, waiting...? > Are you using NFS or another file system where stat(2) is > expensive? > >> Thanks >> Mark >> >> >> ----- Original Message ----- >> From: "cpghost" >> To: "Bill Moran" >> Cc: "Wojciech Puchar" ; >> ; "Mark Evans" >> Sent: Thursday, November 29, 2007 8:42 AM >> Subject: Re: ls -l takes a forever to finish. >> >> >> > On Thu, 29 Nov 2007 08:42:44 -0500 >> > Bill Moran wrote: >> > >> >> In response to Wojciech Puchar : >> >> >> >> > > ls | wc >> >> > >> >> > strange. i did >> >> > >> >> > [wojtek@wojtek ~/b]$ a=0;while [ $a -lt 10000 ];do mkdir >> >> > $a;a=$[a+1];done >> >> > >> >> > completed <25 seconds on 1Ghz CPU >> >> > >> >> > ls takes 0.1 seconds user time, ls -l takes 0.3 second user time. >> >> > >> >> > unless you have 486/33 or slower system there is something wrong. >> >> >> >> Another possible scenario is that the directory is badly >> >> fragmented. Unless something has changed since I last researched >> >> this (which is possible) FreeBSD doesn't manage directory >> >> fragmentation during use. If you're constantly adding and removing >> >> files, it's possible that the directory entry is such a mess that >> >> it takes ls a long time to process it. >> > >> > Yes, that's also possible. But sorting is really the culprit here: >> > it *is* possible to create a directory with filenames in such a way >> > that it triggers Quicksort's O(N^2) worst case instead of O(N log >> > N). >> > >> > The following Python (2.5) program calls "ls -lf" and sorts its >> > output with Python's own stable sort() routine (which is NOT >> > qsort(3)). On a directory with 44,000 entries, it runs orders of >> > magnitude faster than "ls -l", even though it has to use the >> > decorate-sort-undecorate idiom to sort the output according >> > according the filename, and it is interpreted rather than compiled! >> > >> > I guess that replacing qsort(3) in >> > /usr/src/lib/libc/gen/fts.c:fts_sort() >> > with another sort algorithm which doesn't >> > expose this anomaly would solve that problem. > > --------------------- cut here ------------------ cut here ------------ > #!/usr/bin/env python > # sortls.py -- sort output of ls -lf with python's stable sort routine. > > import os > > def sort_ls_lf(path): > "Sort the output of ls -lf path" > os.chdir(path) > lines = os.popen("ls -lf", "r").readlines() > dsu = [ (line.split()[-1], line) for line in lines ] > dsu.sort() > return ''.join(tupl[1] for tupl in dsu) > > if __name__ == '__main__': > import sys > if len(sys.argv) < 2: > print >>sys.stderr, "Usage:", sys.argv[0], "path" > sys.exit(1) > path = sys.argv[1] > > try: > print sort_ls_lf(path) > except IOError: > pass # silently absorb broken pipe and other errors > --------------------- cut here ------------------ cut here ------------ > > -cpghost. > > -- > Cordula's Web. http://www.cordula.ws/ > > > -- > Internal Virus Database is out-of-date. > Checked by AVG Free Edition. > Version: 7.5.446 / Virus Database: 268.18.25/744 - Release Date: 4/3/2007 > 5:32 AM > > From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 21:26:18 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7675316A46B for ; Fri, 21 Dec 2007 21:26:18 +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 383A313C467 for ; Fri, 21 Dec 2007 21:26:18 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id EA3E6812E4 for ; Fri, 21 Dec 2007 16:26:17 -0500 (EST) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Fri, 21 Dec 2007 16:26:17 -0500 X-Sasl-enc: Ho724m1wRmVKkB0jJKvR65nsw/5lXKjVnwZhkA1klB28 1198272377 Received: from [10.1.10.136] (n114.ewd.goldmark.org [72.64.118.114]) by mail.messagingengine.com (Postfix) with ESMTP id 9C17730D for ; Fri, 21 Dec 2007 16:26:17 -0500 (EST) Message-Id: <4F23D2BD-090B-4DC0-8C1B-48B9C1175CD9@goldmark.org> From: Jeffrey Goldberg To: User questions Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Fri, 21 Dec 2007 15:26:16 -0600 X-Mailer: Apple Mail (2.915) Subject: hangs instead of reboots on HP s3220n X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 21 Dec 2007 21:26:18 -0000 I have an HP s3220n which will boot just fine, but won't reboot. I noticed this first with the OEM Vista that I played with for a bit before starting to install FreeBSD, but didn't pay much attention to it then. Now when I do a shutdown -r now I get a proper shutdown with the last line on the console saying Rebooting The power stays on, but the machine just hangs at that point. I looked through BIOS settings and all that I found that was possibly meaningful was to reboot after power failure, which I've enabled. But that doesn't help. Although I think that the problem is well before the OS plays any role, the system is running 7.0 Beta 4. This happened with the GENERIC amd64 kernel as well as with my custom one. This machine will be tucked away in a closet and I don't want to hold the power switch to get it to reboot. Any suggestions would be welcome. And if I didn't provide enough information, just let me know what y'all need. Cheers, -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/ From owner-freebsd-questions@FreeBSD.ORG Fri Dec 21 22:36:25 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3A9A16A41A for ; Fri, 21 Dec 2007 22:36:25 +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 66D3913C4E9 for ; Fri, 21 Dec 2007 22:36:25 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id DB346812E7 for ; Fri, 21 Dec 2007 17:36:24 -0500 (EST) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Fri, 21 Dec 2007 17:36:24 -0500 X-Sasl-enc: BBZkhosBUPJYgI9/kkldR1DMy9tJ19jPwZhWPqkGR8Ya 1198276584 Received: from [10.1.10.136] (n114.ewd.goldmark.org [72.64.118.114]) by mail.messagingengine.com (Postfix) with ESMTP id 91D179D7 for ; Fri, 21 Dec 2007 17:36:24 -0500 (EST) Message-Id: <3FE7BBBF-5232-456B-83A0-E64DEBD7FC2E@goldmark.org> From: Jeffrey Goldberg To: User questions In-Reply-To: <4F23D2BD-090B-4DC0-8C1B-48B9C1175CD9@goldmark.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Fri, 21 Dec 2007 16:36:23 -0600 References: <4F23D2BD-090B-4DC0-8C1B-48B9C1175CD9@goldmark.org> X-Mailer: Apple Mail (2.915) Subject: Re: hangs instead of reboots on HP s3220n X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 21 Dec 2007 22:36:25 -0000 On Dec 21, 2007, at 3:26 PM, Jeffrey Goldberg wrote: > I have an HP s3220n which will boot just fine, but won't reboot [...] > I get a proper shutdown with the last line on the console saying > > Rebooting > > The power stays on, but the machine just hangs at that point. Never mind. It just takes a really long time before anything visible happens on the monitor. At least a minute, though less than 10 minutes. (I waited one full minute and then I left the room, returning 10 minutes later.) Next time I reboot, I'll time it properly. -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/ From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 00:13:30 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A48916A417 for ; Sat, 22 Dec 2007 00:13:30 +0000 (UTC) (envelope-from schneecrash@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.176]) by mx1.freebsd.org (Postfix) with ESMTP id 2483113C448 for ; Sat, 22 Dec 2007 00:13:29 +0000 (UTC) (envelope-from schneecrash@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so866092waf.3 for ; Fri, 21 Dec 2007 16:13:29 -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:reply-to:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=k6t4EnNoDjrg4MdcOtnW2RLabCBcuvZBUAD8sHAiVQU=; b=TOt7B3iiAFlsAbCACchq7Mu50d7j0HAYgu4M5fbikpKRpnR7WOltwS/f3bkTIZd3g8gSfxwG6CRlRvdWL6nFAP+gxfWyzPoS0SU2KSqCmqC5K4GGnjIPqrFg+IGfBjARrMbMJ+89p669x+Y9jl99ZDtxgUhs3gMoMXFfZm9I690= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=RWdfaJENWuCoxHKHmIabnrt0ZOsUwGxhe96eJxgVkGwIqAyi8TeLQIy2L0bBnmjtoFvZsnho6APWaCkKlv8t8SpIi2GxBag/Jq9KS/KOH6u6q/+cAfUMA5nj3w9qU+LDQijK1BJvE4fvkBd8mCk8+wbHURaiIRDwxJeQGb6gbgk= Received: by 10.114.159.1 with SMTP id h1mr2047638wae.122.1198280829997; Fri, 21 Dec 2007 15:47:09 -0800 (PST) Received: by 10.114.179.9 with HTTP; Fri, 21 Dec 2007 15:47:09 -0800 (PST) Message-ID: <70f41ba20712211547g74a6a4b0tf08fec8125739a08@mail.gmail.com> Date: Fri, 21 Dec 2007 15:47:09 -0800 From: snowcrash+freebsd Sender: schneecrash@gmail.com To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: ddca577ed3b65ee9 Subject: amd64 native boot loader? 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, 22 Dec 2007 00:13:30 -0000 hi, i've FBSD/amd64 62Rp9 installed. kernel & world are my own builds from latest cvsup. on boot I see: "FreeBSD/i386 bootstrap loader" odd. i'd expect a native loader ... checking in, /usr/src/sys/boot > ls Makefile alpha/ arm/ efi/ forth/ ia64/ pc98/ sparc64/ README arc/ common/ ficl/ i386/ ofw/ powerpc/ other arches seem to be there ... just not amd64. where's the src for the amd64? thanks. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 00:33:36 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 961D416A419 for ; Sat, 22 Dec 2007 00:33:36 +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 5A39F13C447 for ; Sat, 22 Dec 2007 00:33:36 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id C96937D90C for ; Fri, 21 Dec 2007 19:33:35 -0500 (EST) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Fri, 21 Dec 2007 19:33:35 -0500 X-Sasl-enc: 2B5MUvh1yxbMkynx3QIfmnIYU9cwgW5y6/uPVbuQJvVo 1198283615 Received: from [10.1.10.136] (n114.ewd.goldmark.org [72.64.118.114]) by mail.messagingengine.com (Postfix) with ESMTP id 86A94208FE for ; Fri, 21 Dec 2007 19:33:35 -0500 (EST) Message-Id: <7E89BDCD-AF34-48D6-A4BD-D324A8BC0C5C@goldmark.org> From: Jeffrey Goldberg To: User questions Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Fri, 21 Dec 2007 18:33:34 -0600 X-Mailer: Apple Mail (2.915) Subject: which cputype for Althon 64 X2 Dual Core X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 22 Dec 2007 00:33:36 -0000 I'm building a new server with 7.0 BETA4 (it will track stable) with the following CPU CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ (2600.02-MHz K8- class CPU) Origin = "AuthenticAMD" Id = 0x60fb1 Stepping = 1 Features = 0x178bfbff < FPU ,VME ,DE ,PSE ,TSC ,MSR ,PAE ,MCE ,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> Features2=0x2001 AMD Features=0xea500800 AMD Features2=0x11f Cores per package: 2 What optimizations should I make in make.conf? The example make.conf says AMD64 architecture: opteron, athlon64, nocona, prescott, core2 But I don't know whether althon64 or core2 would be the safest and most appropriate. Also GENERIC for amd64 lists cpu HAMMER is that the best (only) choice? And if not, where can I find a list of alternatives? I didn't find anything in the NOTES files telling me what was available. -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/ From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 00:45:58 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACD2716A418 for ; Sat, 22 Dec 2007 00:45:58 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out3.apple.com (mail-out3.apple.com [17.254.13.22]) by mx1.freebsd.org (Postfix) with ESMTP id 8052713C442 for ; Sat, 22 Dec 2007 00:45:58 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay12.apple.com (relay12.apple.com [17.128.113.53]) by mail-out3.apple.com (Postfix) with ESMTP id 7595A1BEBACB; Fri, 21 Dec 2007 16:45:58 -0800 (PST) Received: from relay12.apple.com (unknown [127.0.0.1]) by relay12.apple.com (Symantec Mail Security) with ESMTP id 6006628094; Fri, 21 Dec 2007 16:45:58 -0800 (PST) X-AuditID: 11807135-a48e3bb000002b6d-03-476c5e46726f Received: from cswiger1.apple.com (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay12.apple.com (Apple SCV relay) with ESMTP id 4CC7F2808F; Fri, 21 Dec 2007 16:45:58 -0800 (PST) Message-Id: From: Chuck Swiger To: Jeffrey Goldberg In-Reply-To: <7E89BDCD-AF34-48D6-A4BD-D324A8BC0C5C@goldmark.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Fri, 21 Dec 2007 16:45:57 -0800 References: <7E89BDCD-AF34-48D6-A4BD-D324A8BC0C5C@goldmark.org> X-Mailer: Apple Mail (2.915) X-Brightmail-Tracker: AAAAAA== Cc: User questions Subject: Re: which cputype for Althon 64 X2 Dual Core X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 22 Dec 2007 00:45:58 -0000 On Dec 21, 2007, at 4:33 PM, Jeffrey Goldberg wrote: > I'm building a new server with 7.0 BETA4 (it will track stable) with > the following CPU > > CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ (2600.02-MHz K8- > class CPU) [ ... ] > > What optimizations should I make in make.conf? A reasonable starting point is no special optimizations, and simply disable debug options like WITNESS, INVARIANTS, etc. If you plan to go beyond that, you'll need to start by doing some benchmarks before and after setting something like the CPU architecture that the compiler should tune for, and see whether you actually get any significant differences. > The example make.conf says > > AMD64 architecture: opteron, athlon64, nocona, prescott, core2 > > But I don't know whether althon64 or core2 would be the safest and > most appropriate. > > Also GENERIC for amd64 lists > > cpu HAMMER > > is that the best (only) choice? Yes, as far as AMD64 code goes. You could always switch down to running in 32-bit mode, though. -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 00:53:20 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22E1E16A418 for ; Sat, 22 Dec 2007 00:53:20 +0000 (UTC) (envelope-from jbolivar@cantv.net) Received: from rs25s9.datacenter.cha.cantv.net (rs25s9.datacenter.cha.cantv.net [200.44.33.40]) by mx1.freebsd.org (Postfix) with ESMTP id 9FC0013C44B for ; Sat, 22 Dec 2007 00:53:19 +0000 (UTC) (envelope-from jbolivar@cantv.net) Received: from [192.168.0.9] (dC9F23F1E.dslam-02-5-20-02-1-01.sag.dsl.cantv.net [201.242.63.30]) by rs25s9.datacenter.cha.cantv.net (8.13.8/8.13.0/3.0) with ESMTP id lBLKvUe1005121 for ; Fri, 21 Dec 2007 16:27:31 -0430 X-Matched-Lists: [] Message-ID: <476C28BB.1090900@cantv.net> Date: Fri, 21 Dec 2007 16:27:31 -0430 From: Julian Bolivar User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: User Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.92, clamav-milter version 0.92 on 10.128.1.89 X-Virus-Status: Clean Subject: FreeBSD 6.3 Release? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2007 00:53:20 -0000 Hi everyone, Mi question is because checking the FreeBSD 6.3 Release schedule, I note that the version 6.3 is upcoming, but the RC2 wan't released, anyone know if this schedule is updated or is in time? Thanks and Regards, ----------------------- Julian Bolivar From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 01:24:07 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5498E16A418 for ; Sat, 22 Dec 2007 01:24:07 +0000 (UTC) (envelope-from phatbuckett@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by mx1.freebsd.org (Postfix) with ESMTP id 18EE613C4F4 for ; Sat, 22 Dec 2007 01:24:07 +0000 (UTC) (envelope-from phatbuckett@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so903580waf.3 for ; Fri, 21 Dec 2007 17:24:06 -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:mime-version:content-type:content-transfer-encoding:content-disposition; bh=rDkWIADT3OKMfEt2mcabV6WrZhCvpGt0SXFohSKxb0g=; b=N6LWDFWlOr8DpYGyD6bnva6Md39WToOJjmnICOyB86zY16fOZshNkfRSD6E4s1janCMqC0kcn7biNUYHg0ufZ4Drkq3RXSzu6PexLe+Ff3LzeXEd0re+U7kCkgLUfEYxoVWjKfalO6oXN2/5pRN6m79hR/C3hoGcjLF79+VR7fY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=H7LRcD02QZf6PE21XKKdMN+KJZIDVrVnucpQohXOmIAp2gug6ZYtVU/8lSXhX3yxSRCD4WWS8NoZ/4eF14HzJkaDZ29ZrbnGjwntYTtPxwTRKP4qDXshENIpnX6aEUd8ovtBix42B/mEWxUy3PlvjJO4cDE6+vucZBIIpbR9yvs= Received: by 10.114.120.1 with SMTP id s1mr227050wac.107.1198284899612; Fri, 21 Dec 2007 16:54:59 -0800 (PST) Received: by 10.114.47.12 with HTTP; Fri, 21 Dec 2007 16:54:59 -0800 (PST) Message-ID: <839aec700712211654r29524f89q64a1d7cee9e1dc20@mail.gmail.com> Date: Fri, 21 Dec 2007 17:54:59 -0700 From: "Darren Spruell" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: TCP window scaling > 14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 22 Dec 2007 01:24:07 -0000 I have a FreeBSD host which I noticed recently triggering some snort decoder alerts due to using a TCP window scaling (rfc1323) value of 15. The decoder is tripping because anything greater than 14 is considered invalid. This text from RFC seems to support it: Since the max window is 2**S (where S is the scaling shift count) times at most 2**16 - 1 (the maximum unscaled window), the maximum window is guaranteed to be < 2*30 if S <= 14. Thus, the shift count must be limited to 14 (which allows windows of 2**30 = 1 Gbyte). If a Window Scale option is received with a shift.cnt value exceeding 14, the TCP should log the error but use 14 instead of the specified value. http://www.networksorcery.com/enp/protocol/tcp/option003.htm suggests the option should only be set on a SYN packet. Packet data: 11:41:18.424938 IP (tos 0x0, ttl 46, id 58935, offset 0, flags [none], proto: TCP (6), length: 60) 137.160.241.90.34223 > 165.195.64.61.1: FP, cksum 0x0900 (correct), 1645233436:1645233436(0) win 65535 urg 0 0x0000: 4500 003c e637 0000 2e06 4589 89a0 f15a E..<.7....E....Z 0x0010: a5c3 403d 85af 0001 6210 451c 86c4 20ed ..@=....b.E..... 0x0020: a029 ffff 0900 0000 0303 0f01 0204 0109 .).............. 0x0030: 080a ffff ffff 0000 0000 0402 ............ This packet was generated during a probe of a remote systems echo service using nc(1). It may have come when the ctrl+c was issued. net.inet.tcp.rfc1323 is enabled. The following are sysctl changes in effect on the system: kern.ipc.shmmax=67108864 kern.ipc.shmall=32768 vfs.usermount=1 net.inet.tcp.sendspace=65536 net.inet.tcp.recvspace=65536 kern.ipc.nmbclusters=32768 So, is it indeed wrong for FreeBSD to set a window scale value of 15 or on a non-SYN? Any problems to take care of? DS Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.3-PRERELEASE #0: Fri Nov 30 16:05:54 MST 2007 root@calamity.honeywell.com:/usr/obj/usr/src/sys/SMP Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(R) CPU E5345 @ 2.33GHz (2327.51-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6f7 Stepping = 7 Features=0xbfebfbff Features2=0x4e3bd AMD Features=0x20100000 AMD Features2=0x1 Cores per package: 4 real memory = 3219169280 (3070 MB) avail memory = 3144863744 (2999 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 cpu4 (AP): APIC ID: 4 cpu5 (AP): APIC ID: 5 cpu6 (AP): APIC ID: 6 cpu7 (AP): APIC ID: 7 ioapic0: Changing APIC ID to 8 ioapic1: Changing APIC ID to 9 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard kbd1 at kbdmux0 netsmb_dev: loaded ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 cpu4: on acpi0 cpu5: on acpi0 cpu6: on acpi0 cpu7: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 2.0 on pci0 pci1: on pcib1 pcib2: irq 16 at device 0.0 on pci1 pci2: on pcib2 pcib3: irq 16 at device 0.0 on pci2 pci3: on pcib3 pcib4: irq 16 at device 1.0 on pci2 pci4: on pcib4 pcib5: at device 0.3 on pci1 pci5: on pcib5 fwohci0: mem 0xdceff000-0xdcefffff irq 26 at device 5.0 on pci5 fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channels is 8. fwohci0: EUI64 00:00:d1:00:80:35:7a:57 fwohci0: Phy 1394a available S400, 3 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:00:d1:35:7a:57 fwe0: Ethernet address: 02:00:d1:35:7a:57 fwe0: if_start running deferred for Giant sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) pcib6: at device 3.0 on pci0 pci6: on pcib6 pcib7: at device 4.0 on pci0 pci7: on pcib7 pci7: at device 0.0 (no driver attached) pcib8: at device 5.0 on pci0 pci8: on pcib8 pcib9: at device 6.0 on pci0 pci9: on pcib9 pcib10: at device 7.0 on pci0 pci10: on pcib10 pcm0: mem 0xdfffc000-0xdfffffff irq 16 at device 27.0 on pci0 pcib11: irq 16 at device 28.0 on pci0 pci11: on pcib11 bge0: mem 0xdccf0000-0xdccfffff irq 16 at device 0.0 on pci11 miibus0: on bge0 brgphy0: on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bge0: Ethernet address: 00:1a:a0:ac:eb:69 uhci0: port 0xff80-0xff9f irq 21 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xff60-0xff7f irq 22 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xff40-0xff5f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xff20-0xff3f irq 23 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xff980800-0xff980bff irq 21 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb4: waiting for BIOS to give up control usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered pcib12: at device 30.0 on pci0 pci12: on pcib12 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf irq 16 at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 atapci1: port 0xfe00-0xfe07,0xfe10-0xfe13,0xfe20-0xfe27,0xfe30-0xfe33,0xfec0-0xfedf mem 0xff970000-0xff9703ff irq 20 at device 31.2 on pci0 atapci1: AHCI called from vendor specific driver atapci1: AHCI Version 01.10 controller with 6 ports detected ata2: on atapci1 ata3: on atapci1 ata4: on atapci1 ata5: on atapci1 ata6: on atapci1 ata7: on atapci1 ata7: port not implemented pci0: at device 31.3 (no driver attached) fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: port 0x378-0x37f,0x778-0x77f irq 7 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 ppi0: on ppbus0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcbfff,0xcc000-0xcdfff,0xce000-0xd2fff,0xd3000-0xd3fff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 uhub5: Dell Dell USB Keyboard Hub, class 9/0, rev 1.10/48.01, addr 2 uhub5: 3 ports with 2 removable, bus powered ukbd0: Dell Dell USB Keyboard Hub, rev 1.10/48.00, addr 3, iclass 3/1 kbd2 at ukbd0 uhid0: Dell Dell USB Keyboard Hub, rev 1.10/48.00, addr 3, iclass 3/1 ums0: vendor 0x0461 USB Optical Mouse, rev 2.00/2.00, addr 4, iclass 3/1 ums0: 3 buttons and Z dir. Timecounters tick every 1.000 msec acd0: DVDR at ata0-master UDMA33 ad4: 152587MB at ata2-master SATA300 ad6: 152587MB at ata3-master SATA300 pcm0: pcm0: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 ar0: 152585MB status: READY ar0: disk0 READY (master) using ad4 at ata2-master ar0: disk1 READY (mirror) using ad6 at ata3-master SMP: AP CPU #1 Launched! SMP: AP CPU #7 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #6 Launched! SMP: AP CPU #5 Launched! SMP: AP CPU #4 Launched! cd0 at ata0 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from ufs:/dev/ar0s1a -- Darren Spruell phatbuckett@gmail.com From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 02:04:13 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A09B16A419 for ; Sat, 22 Dec 2007 02:04:13 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.190]) by mx1.freebsd.org (Postfix) with ESMTP id EEF8313C461 for ; Sat, 22 Dec 2007 02:04:12 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so747131rvb.43 for ; Fri, 21 Dec 2007 18:04:11 -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:reply-to:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=lGS1sXT2xV+LEgxnEEQQaj3GSXrA/yUn/Fz9FxkJHn0=; b=MDSQBQWr4Xh0FL91ZhFvGKsLFdBzeSsE/HbJKgzVEMG9l8A4KCr4Oepbgir8R63lCo43gCjgbSPrCtOJ27RY375zA/74NWNWrkHrQKkqoXJGQbDGiXFp6ECXh6cXEGEPsX23C8WFJGFdaT18uDYWZM+99meqleq5/tpG9guNiHE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=CS41IyyBhfoy1e7gSY4fhTtalxb7w1nfaLVlKaiifTJWMHbQFK5UXcbyCaRxE3Te7NAGz6VvnVkPOa/DPUZQ49NyDzwtny55cv20FowElgPbWRptv9asmJvyeWWP9Y/fiWJ5Klwc1o4DYoARJ6Pzxc5N/3bGYXgWE201R76Xp+M= Received: by 10.142.106.18 with SMTP id e18mr1008751wfc.33.1198289051677; Fri, 21 Dec 2007 18:04:11 -0800 (PST) Received: by 10.142.172.9 with HTTP; Fri, 21 Dec 2007 18:04:11 -0800 (PST) Message-ID: <539c60b90712211804l21451a47y46df5dad1bc8edde@mail.gmail.com> Date: Fri, 21 Dec 2007 19:04:11 -0700 From: "Steve Franks" Sender: bahamasfranks@gmail.com To: "User Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: c8a5657c4e243eeb Subject: snd_hda on amd64 - "exec format error" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: stevefranks@ieee.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2007 02:04:13 -0000 This is not a priority, but I'm suprised that both the downloaded (ariff?) and the built-from-source snd*.ko files give me a: "kldload: can't load snd_hda: Exec format error" When I try to load them...guess my kernel is out of date with the latest 6.2-stable source? Best, Steve <6.2 - amd64> aire# dmesg Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-RELEASE #0: Fri Jan 12 08:32:24 UTC 2007 root@portnoy.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Celeron(R) CPU 440 @ 2.00GHz (1995.01-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x10661 Stepping = 1 Features=0xafebfbff Features2=0xe31d,CX16,,> AMD Features=0x20100800 AMD Features2=0x1 real memory = 1064173568 (1014 MB) avail memory = 1015042048 (968 MB) From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 03:17:33 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 198D916A418 for ; Sat, 22 Dec 2007 03:17:33 +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 D12FB13C458 for ; Sat, 22 Dec 2007 03:17:32 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 6E89981563; Fri, 21 Dec 2007 22:17:32 -0500 (EST) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Fri, 21 Dec 2007 22:17:32 -0500 X-Sasl-enc: iVXlVpPs6fXFo7m8PfONZuyF/85bq+M0ZcWYxyiUFBCj 1198293452 Received: from [10.1.10.136] (n114.ewd.goldmark.org [72.64.118.114]) by mail.messagingengine.com (Postfix) with ESMTP id E7A986C6B; Fri, 21 Dec 2007 22:17:31 -0500 (EST) Message-Id: <79A62827-CDDD-4B89-A2A9-11B6A95358A4@goldmark.org> From: Jeffrey Goldberg To: Chuck Swiger In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Fri, 21 Dec 2007 21:17:30 -0600 References: <7E89BDCD-AF34-48D6-A4BD-D324A8BC0C5C@goldmark.org> X-Mailer: Apple Mail (2.915) Cc: User questions Subject: Re: which cputype for Althon 64 X2 Dual Core X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 22 Dec 2007 03:17:33 -0000 First of all, thank you very much for your response. I have some follow up questions below. On Dec 21, 2007, at 6:45 PM, Chuck Swiger wrote: > On Dec 21, 2007, at 4:33 PM, Jeffrey Goldberg wrote: >> What optimizations should I make in make.conf? > > A reasonable starting point is no special optimizations, and simply > disable debug options like WITNESS, INVARIANTS, etc. I didn't see mention of these in the example make.conf so I don't know how to disable those if they are enabled in the first place. > If you plan to go beyond that, you'll need to start by doing some > benchmarks [...] I'm after the "low hanging fruit" and I don't really have the inclination to do such extensive tuning. I was just wondering if there is anything obvious. >> The example make.conf says >> >> AMD64 architecture: opteron, athlon64, nocona, prescott, core2 >> >> But I don't know whether althon64 or core2 would be the safest and >> most appropriate. >> >> Also GENERIC for amd64 lists >> >> cpu HAMMER >> >> is that the best (only) choice? > > Yes, as far as AMD64 code goes. You could always switch down to > running in 32-bit mode, though. That answer the question for the kernel configuration. But what should I put in make.conf as cputype? Right now, I've just left it unspecified. I started a make buildworld and was surprised to see that it is using -O2 -fno-strict-aliasing -pipe even though I didn't tell it to do so. -O2 sounds like an odd default when it appears to be recommended against. Where should I look for the defaults? Cheers, -j From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 07:51:53 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BD6516A41B for ; Sat, 22 Dec 2007 07:51:53 +0000 (UTC) (envelope-from liettneff@bk.ru) Received: from cny.innet.yaroslavl.su (cny.innet.yaroslavl.su [217.15.134.68]) by mx1.freebsd.org (Postfix) with ESMTP id 87DF713C455 for ; Sat, 22 Dec 2007 07:51:52 +0000 (UTC) (envelope-from liettneff@bk.ru) Received: from tac.innet.yaroslavl.su (tac.innet.yaroslavl.su [217.15.135.68]) by cny.innet.yaroslavl.su (8.11.6/8.11.6) with ESMTP id lBM7pha97194; Sat, 22 Dec 2007 10:51:44 +0300 (MSK) Received: from reaper.yaroslavl.ru (reaper.yaroslavl.ru [85.113.202.195]) by tac.innet.yaroslavl.su (8.13.7/8.13.7) with ESMTP id lBM7phxj018217; Sat, 22 Dec 2007 10:51:43 +0300 (MSK) Received: from comp-reaper (comp-reaper [10.19.1.3]) by reaper.yaroslavl.ru (Postfix) with ESMTP id E25FE22848; Sat, 22 Dec 2007 10:51:40 +0300 (MSK) Date: Sat, 22 Dec 2007 10:52:04 +0300 From: Michael Lednev X-Mailer: The Bat! (v3.99.29) Professional Organization: none X-Priority: 3 (Normal) Message-ID: <964986422.20071222105204@bk.ru> To: jhall@vandaliamo.net In-Reply-To: <49457.65.117.48.155.1198258492.squirrel@admintool.trueband.net> References: <51935.12.170.206.13.1198248568.squirrel@admintool.trueband.net> <1044977630.20071221175247@bk.ru> <49254.65.117.48.155.1198256367.squirrel@admintool.trueband.net> <863400045.20071221201413@bk.ru> <49457.65.117.48.155.1198258492.squirrel@admintool.trueband.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Redirecting STDOUT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Michael Lednev List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2007 07:51:53 -0000 Hello, jhall. On 21 ??????? 2007 ?., 20:34:52 you wrote: jvn> When I run this as a non-root user it works fine. But, when running it as jvn> root, it does not produce the expected results. jvn> $ ls -l /fjdkslafjdl 2>/home/hallja/test2 jvn> And, in the file test2, I see jvn> ls: /fjdkslafjdl: No such file or directory jvn> Running the same command as root, I receive the following results. jvn> # ls -l /fjdkslafjdl 2>/home/hallja/test2 jvn> ls: /fjdkslafjdl: No such file or directory jvn> And, in /home/hallja/test2 I see the following. jvn> -rw-r--r-- 1 root hallja 0 Dec 21 08:02 2 jvn> Why does this not work as root? Because default shell for root is csh. Try this # command >& file this will redirect both STDERR and STDOUT to file -- Best regards, Michael mailto:liettneff@bk.ru From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 08:59:32 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6A1E16A419 for ; Sat, 22 Dec 2007 08:59:32 +0000 (UTC) (envelope-from ota@animenfo.com) Received: from smtp.unitz.ca (mx1.unitz.ca [69.60.224.6]) by mx1.freebsd.org (Postfix) with ESMTP id C921E13C458 for ; Sat, 22 Dec 2007 08:59:32 +0000 (UTC) (envelope-from ota@animenfo.com) Received: from localhost (localhost [127.0.0.1]) by smtp.unitz.ca (Postfix) with ESMTP id EA3BE7D0B96 for ; Sat, 22 Dec 2007 03:54:42 -0500 (EST) Received: from smtp.unitz.ca ([127.0.0.1]) by localhost (smtp.unitz.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xFxwH4HPwIPL for ; Sat, 22 Dec 2007 03:54:36 -0500 (EST) Received: from unitz.ca (dsl-69-60-252-220.unitz.ca [69.60.252.220]) by smtp.unitz.ca (Postfix) with SMTP id B61DB7D0B97 for ; Sat, 22 Dec 2007 03:54:35 -0500 (EST) Received: by unitz.ca (nbSMTP-1.00) for uid 1001 ota@animenfo.com; Sat, 22 Dec 2007 03:59:35 -0500 (EST) Date: Sat, 22 Dec 2007 03:59:35 -0500 From: User Ota To: freebsd-questions@freebsd.org Message-ID: <20071222085935.GA16381@noah.ota.homelinux.net> References: <476BECD7.8070402@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <476BECD7.8070402@gmail.com> User-Agent: Mutt/1.4.2.3i Subject: Re: freenx server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2007 08:59:33 -0000 On Fri, Dec 21, 2007 at 10:41:59AM -0600, Jack Barnett wrote: > > Anyone get the freeNX server working from nomachine? > > When I try to build it from /usr/ports/net/freenx it says it is broken > under xorg 7.2 > > I've upgrade to xorg 7.3.x and modified the make file and it builds > everything but nxagent, so it fails to `make install` > > install: /usr/ports/net/nxserver/work/nx-X11/programs/Xserver/nxagent: > No such file or directory > *** Error code 71 > Yeah, I tried messing around with this a few months ago, it tried to compile and at the end (which was a lengthy job) it turned out to be a waste. I was told before to get in touch with the maintainer of the port and discuss it further. Funny though, mine failed on nxnode :P >From portsmon.freebsd,org, the mantainer of freenx and nxserver is freenx@deweyonline.com. Hope this helps, Russell Doucette From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 09:33:10 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0922D16A41B for ; Sat, 22 Dec 2007 09:33:10 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.bluestop.org (muon.bluestop.org [IPv6:2001:41c8:1:548a::2]) by mx1.freebsd.org (Postfix) with ESMTP id A834913C46B for ; Sat, 22 Dec 2007 09:33:09 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from tau.draftnet (unknown [IPv6:2a01:348:10f:0:240:f4ff:fe57:9871]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.bluestop.org (Postfix) with ESMTP id A536D3015A for ; Sat, 22 Dec 2007 09:33:04 +0000 (GMT) Message-ID: <476CD9C9.3090101@cran.org.uk> Date: Sat, 22 Dec 2007 09:32:57 +0000 From: Bruce Cran User-Agent: Thunderbird 2.0.0.9 (X11/20071201) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <70f41ba20712211547g74a6a4b0tf08fec8125739a08@mail.gmail.com> In-Reply-To: <70f41ba20712211547g74a6a4b0tf08fec8125739a08@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: amd64 native boot loader? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2007 09:33:10 -0000 snowcrash+freebsd wrote: > hi, > > i've FBSD/amd64 62Rp9 installed. kernel & world are my own builds > from latest cvsup. > > on boot I see: > > "FreeBSD/i386 bootstrap loader" > > odd. i'd expect a native loader ... > > checking in, > > /usr/src/sys/boot > ls > Makefile alpha/ arm/ efi/ forth/ ia64/ pc98/ > sparc64/ > README arc/ common/ ficl/ i386/ ofw/ powerpc/ > > other arches seem to be there ... just not amd64. > > where's the src for the amd64? > > AMD64 CPUs are backwards compatible with i386; they boot in 16-bit real mode and only get switched into 64-bit 'long mode' by the kernel later on. Since both i386 and amd64 start booting in the same way, there's no need for separate bootloaders. -- Bruce From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 09:40:55 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7AA0416A469 for ; Sat, 22 Dec 2007 09:40:55 +0000 (UTC) (envelope-from jackbarnett@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by mx1.freebsd.org (Postfix) with ESMTP id 3DE6213C4D9 for ; Sat, 22 Dec 2007 09:40:54 +0000 (UTC) (envelope-from jackbarnett@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so1503975pyb.3 for ; Sat, 22 Dec 2007 01:40:54 -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:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=rZPB3mG5F0GOSu8X8mEZ7u7biuNrYRfwjD/1ZdBGHoQ=; b=UAf1UT5+9jc6LBUat3kRYk5pUrZnA33QS0EFFNBdC0t/t/RDfpE0sZdbWTRQCw7sx7c7AXFg52cNGnzQoF3DPV5WOBAs7Hh7VbV0/+eS6cOi3pqRSSPq6VqVNgI/L3kM4XCq86UaSvI9uo8Xx1NC0f6XZONBrgXKMoNr6BqoLv4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=W9gh8nPLIzUvAvJ0PJs/UuPzrsrfXQrsdFxtWifxhpbDNrIyYdam/llMY3uX6QrIwzdgs3M3QxH5Ns+HJpkI9xDaA95k09ipOKZEVROZzirZS+o8b4EuNJtkt01Nf1ujQw0uJn/M1MsuTwKU4SDX8xxB2johvbkY1Oozuty7+X4= Received: by 10.35.42.18 with SMTP id u18mr2568814pyj.58.1198316454286; Sat, 22 Dec 2007 01:40:54 -0800 (PST) Received: from ?192.168.17.10? ( [67.190.229.42]) by mx.google.com with ESMTPS id a70sm6700075pye.4.2007.12.22.01.40.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 22 Dec 2007 01:40:53 -0800 (PST) Message-ID: <476CDBA0.6000506@gmail.com> Date: Sat, 22 Dec 2007 03:40:48 -0600 From: Jack Barnett User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) To: User Ota References: <476BECD7.8070402@gmail.com> <20071222085935.GA16381@noah.ota.homelinux.net> In-Reply-To: <20071222085935.GA16381@noah.ota.homelinux.net> Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: xclients and remote display (WAS: Re: freenx server) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jackbarnett@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2007 09:40:55 -0000 Thanks, yea, but I don't think he's maintaining it any longer? In ports it's version 1.4.x, but nomachine.com has latest version has 3.5.x My friend emailed nomachine.com and he said they refused to support any of the xBSD or offer any help on getting a working port for the xBSD world. I'm guessing that is the reason why it's so out of date and broken. :/ Are their any alternatives besides VNC? We have that and it's working good (TightVNC tunneled though SSH), but would like to just run one 'window' and have it displayed on our workstation. For example, Run an xterm on FreeBSD server and have it displayed on an XP or Linux workstation. User Ota wrote: On Fri, Dec 21, 2007 at 10:41:59AM -0600, Jack Barnett wrote: Anyone get the freeNX server working from nomachine? When I try to build it from /usr/ports/net/freenx it says it is broken under xorg 7.2 I've upgrade to xorg 7.3.x and modified the make file and it builds everything but nxagent, so it fails to `make install` install: /usr/ports/net/nxserver/work/nx-X11/programs/Xserver/nxagent: No such file or directory *** Error code 71 Yeah, I tried messing around with this a few months ago, it tried to compile and at the end (which was a lengthy job) it turned out to be a waste. I was told before to get in touch with the maintainer of the port and discuss it further. Funny though, mine failed on nxnode :P >From portsmon.freebsd,org, the mantainer of freenx and nxserver is [1]freenx@deweyonline.com. Hope this helps, Russell Doucette _______________________________________________ [2]freebsd-questions@freebsd.org mailing list [3]http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [4]"freebsd-questions-unsubscribe@freebsd.org" References 1. mailto:freenx@deweyonline.com 2. mailto:freebsd-questions@freebsd.org 3. http://lists.freebsd.org/mailman/listinfo/freebsd-questions 4. mailto:freebsd-questions-unsubscribe@freebsd.org From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 09:56:01 2007 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 9F29016A41A for ; Sat, 22 Dec 2007 09:56:01 +0000 (UTC) (envelope-from sh1nny_kn1ght@yahoo.com) Received: from n8a.bullet.ukl.yahoo.com (n8a.bullet.ukl.yahoo.com [217.146.183.156]) by mx1.freebsd.org (Postfix) with SMTP id 24F2A13C4D9 for ; Sat, 22 Dec 2007 09:56:00 +0000 (UTC) (envelope-from sh1nny_kn1ght@yahoo.com) Received: from [217.12.4.214] by n8.bullet.ukl.yahoo.com with NNFMP; 22 Dec 2007 09:55:59 -0000 Received: from [216.252.122.216] by t1.bullet.ukl.yahoo.com with NNFMP; 22 Dec 2007 09:55:59 -0000 Received: from [69.147.65.154] by t1.bullet.sp1.yahoo.com with NNFMP; 22 Dec 2007 09:55:59 -0000 Received: from [127.0.0.1] by omp402.mail.sp1.yahoo.com with NNFMP; 22 Dec 2007 09:55:59 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 195387.57945.bm@omp402.mail.sp1.yahoo.com Received: (qmail 59304 invoked by uid 60001); 22 Dec 2007 09:55:58 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=uFKEO4yLDTZtT5bYSxoCzE2aR+tlCUUjBVXE9PKy1VTIoo2SlO3ZvpvclgrTgdfLaT1GgcWhnH/pGlpJ0/eKnEz1hvKL1h3yj/D0dKiPVEPU3eEdi6X6q/6r6yn52zfzFiRgAEeiUaFual09wfze4rsba1H5fKgyLGI5Fxk9fCk=; X-YMail-OSG: WgGWxPYVM1m4A.zoW1r7pH0Ev.YMsElzdWSSaQur0xMtwXfs13ub3BR9wdGWUDGSCUY0Zswjno4WsSM9MuKPogfhlA-- Received: from [41.219.203.57] by web44815.mail.sp1.yahoo.com via HTTP; Sat, 22 Dec 2007 01:55:58 PST Date: Sat, 22 Dec 2007 01:55:58 -0800 (PST) From: shinny knight To: questions@freebsd.org In-Reply-To: <20071221143945.ce9992ee.wmoran@potentialtech.com> MIME-Version: 1.0 Message-ID: <914961.59299.qm@web44815.mail.sp1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: timekeeping on jail servers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2007 09:56:01 -0000 In response to John Webster : > > --On Friday, December 21, 2007 13:51:29 -0500 Bill Moran wrote: > > > In response to John Webster : > > >> > Not generally suitable for cron because it can take longer to slew > >> > than it does for the next cron execution to occur, which would then > >> > result in multiple ntpdate programs fighting each other (not sure > >> > what the effect of this would be). > >> > >> If I were doing it I would write a script with locking in order > >> to ensure multiple jobs don't fight. Simple. > > > > Umm .... > > > > At that point, why not just run ntpd? You've basically replaced it > > with a script anyway. > > > > My suggestions are based on the OP about ntpd binding to everything. > > > > Besides, it's not that easy. As Chuck pointed out, ntpdate calls > > adjtime() and exits, which means an adjustment might already be in > > progress when you you call it again. I don't know if ntpdate checks > > the return pointer from adjtime() to avoid multiple adjustment > > requests. > > Just out of curiosity, why run it more that once a day? Or for > that matter every couple of days? There is the matter of "how accurate does your time really need to be?" I worked a place where many computers were used for employees to clock in/clock out. Synchronizing time once a day, the clocks would drift enough that employees who showed up on time and left on time would appear to have arrived late and/or left early (up to 5 minutes a day drift). Of course, this is hardware-dependent and even environmentally dependent (computers connected to clean power sources with consistent environmental temperature seem to keep more accurate time in my experience) Other common applications are even more sensitive. If you run NFS or other file sharing, you can run into all sorts of ugliness if time skews more than a few seconds. Web applications can be notoriously buggy if either the server or the client is off by more than a few seconds. With all those potential problems looming, why would you use anything other than a full-blown ntp daemon? I just can't see the excuse for making up other solutions. -- Bill Moran http://www.potentialtech.com Hello Bill, The only system running ntpd that I have it's a FileServer and is acting also like NTP Server for workstations, especially to avoid the issue with different timing for client-server that you mentioned. Finally running ntpdate once per day from cron is fine if you do not have to meet strict requirements. But this depends on the admin. Merry Chistmas everybody. BR, Catalin Miclaus --------------------------------- Never miss a thing. Make Yahoo your homepage. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 10:01:46 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3ABF216A41A for ; Sat, 22 Dec 2007 10:01:46 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from pizzabox.cyberleo.net (alpha.cyberleo.net [198.145.45.10]) by mx1.freebsd.org (Postfix) with ESMTP id 1195B13C44B for ; Sat, 22 Dec 2007 10:01:45 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: (qmail 75336 invoked from network); 22 Dec 2007 10:01:45 -0000 Received: from adsl-75-3-91-54.dsl.chcgil.sbcglobal.net (HELO ?172.16.44.14?) (cyberleo@cyberleo.net@75.3.91.54) by alpha.cyberleo.net with ESMTPA; 22 Dec 2007 10:01:45 -0000 Message-ID: <476CE082.4010801@cyberleo.net> Date: Sat, 22 Dec 2007 04:01:38 -0600 From: CyberLeo Kitsana User-Agent: Thunderbird 2.0.0.9 (X11/20071122) MIME-Version: 1.0 To: FreeBSD Questions , CyberLeo Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: panic: incompetent for BIO_WRITE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 22 Dec 2007 10:01:46 -0000 Hi! Just a few minutes ago, I noticed one of my machines was stuck with this message on the console: GEOM_RAID5: KASSERT in line 1352 panic: incompetent for BIO_WRITE cpuid = 0 Uptime: 1h33m15s GEOM_RAID5: raid5/raid5: device is still open, so it cannot be definitely removed. GEOM_RAID5: raid5: worker thread exiting. I am concerned that it neither dumped core nor rebooted.. it just stuck there. Is this intended behavior for such a panic, or do I need to fiddle with some knobs to make sure it comes back up afterwards, and preferably leaves me with some evidence with which to debug the panic? Thanks! -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 10:03:14 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E338816A474 for ; Sat, 22 Dec 2007 10:03:14 +0000 (UTC) (envelope-from ota@animenfo.com) Received: from smtp.unitz.ca (mx1.unitz.ca [69.60.224.6]) by mx1.freebsd.org (Postfix) with ESMTP id C823313C474 for ; Sat, 22 Dec 2007 10:03:14 +0000 (UTC) (envelope-from ota@animenfo.com) Received: from localhost (localhost [127.0.0.1]) by smtp.unitz.ca (Postfix) with ESMTP id BEA847D0E3E; Sat, 22 Dec 2007 04:58:24 -0500 (EST) Received: from smtp.unitz.ca ([127.0.0.1]) by localhost (smtp.unitz.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7F2tgWStAH5O; Sat, 22 Dec 2007 04:58:21 -0500 (EST) Received: from unitz.ca (dsl-69-60-252-220.unitz.ca [69.60.252.220]) by smtp.unitz.ca (Postfix) with SMTP id 913D17D0E37; Sat, 22 Dec 2007 04:58:19 -0500 (EST) Received: by unitz.ca (nbSMTP-1.00) for uid 1001 ota@animenfo.com; Sat, 22 Dec 2007 05:03:20 -0500 (EST) Date: Sat, 22 Dec 2007 05:03:17 -0500 From: User Ota To: Jack Barnett Message-ID: <20071222100315.GA16796@noah.ota.homelinux.net> References: <476BECD7.8070402@gmail.com> <20071222085935.GA16381@noah.ota.homelinux.net> <476CDBA0.6000506@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <476CDBA0.6000506@gmail.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: xclients and remote display (WAS: Re: freenx server) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2007 10:03:15 -0000 On Sat, Dec 22, 2007 at 03:40:48AM -0600, Jack Barnett wrote: > > Thanks, yea, but I don't think he's maintaining it any longer? > In ports it's version 1.4.x, but nomachine.com has latest version has > 3.5.x > My friend emailed nomachine.com and he said they refused to support > any of the xBSD or offer any help on getting a working port for the > xBSD world. > I'm guessing that is the reason why it's so out of date and broken. :/ > Are their any alternatives besides VNC? > We have that and it's working good (TightVNC tunneled though SSH), but > would like to just run one 'window' and have it displayed on our > workstation. > For example, Run an xterm on FreeBSD server and have it displayed on > an XP or Linux workstation. Not really, all I know of is FreeNX and VNC. As for their refusal, is it out of pure ignorance that they don't wish to support BSD? I thought they had at one time supported FreeBSD (the assumption is based on the fact that it exists in the ports tree). Too bad, though. I tested FreeNX on a debian install (unfortunately) and the client ran smooth on my windows machine, with the unfortunate exception that it has 0 dual-monitor support in fullscreen mode. I found this though: http://www.deweyonline.com/nx/freebsd.html Highly betting that the maintainer's page for this (if that is the maintainer) that first section looks promising. The link works to download the 6.2-RELEASE version. It's possible that might work with X.Org versions later than 7.1; I haven't personally tested it myself. Btw, which FreeBSD release are you running? Russell Doucette From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 10:25:56 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C341516A41B for ; Sat, 22 Dec 2007 10:25:56 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from server.t-hosting.hu (server.t-hosting.hu [81.2.252.59]) by mx1.freebsd.org (Postfix) with ESMTP id 8584313C459 for ; Sat, 22 Dec 2007 10:25:56 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by server.t-hosting.hu (Postfix) with ESMTP id 01CDEA4AF25 for ; Sat, 22 Dec 2007 11:08:00 +0100 (CET) X-Virus-Scanned: amavisd-new at t-hosting.hu Received: from server.t-hosting.hu ([127.0.0.1]) by localhost (server.t-hosting.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 7GLeya+ULQmk for ; Sat, 22 Dec 2007 11:07:41 +0100 (CET) Received: from [192.168.2.186] (catv-5063da7a.catv.broadband.hu [80.99.218.122]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.t-hosting.hu (Postfix) with ESMTP id 8A54EA4AED6 for ; Sat, 22 Dec 2007 11:07:41 +0100 (CET) Message-ID: <476CE1E1.90800@FreeBSD.org> Date: Sat, 22 Dec 2007 11:07:29 +0100 From: Gabor Kovesdan User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: How to install with journaled /? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 22 Dec 2007 10:25:56 -0000 Hello, my problem is that I cannot really turn on gjournal for existing filesystems, just only if the journal is placed onto another partition. So, how can I make a journaled root filesystem? I have to do the partitioning manually, since sysinstall does not support that. But how can I do that easily? The livefs CD does not work, there is no gjournal utility there. I'd give FreeSBIE or Frenzy a try, but their existing releases are based on 6.2, not 7.0, thus no gjournal there. Do you have any ideas? How did you solve such a problem? Thanks in advance, -- Gabor Kovesdan FreeBSD Volunteer EMAIL: gabor@FreeBSD.org .:|:. gabor@kovesdan.org WEB: http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 10:46:11 2007 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2978116A41B; Sat, 22 Dec 2007 10:46:11 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from darklight.org.ru (ipv6.darklight.org.ru [IPv6:2001:470:1f07:84::1]) by mx1.freebsd.org (Postfix) with ESMTP id ED01813C442; Sat, 22 Dec 2007 10:46:09 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from darklight.org.ru (yuri@darklight.org.ru [IPv6:::1]) by darklight.org.ru (8.14.2/8.14.2) with ESMTP id lBMAk3vZ029133; Sat, 22 Dec 2007 13:46:03 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by darklight.org.ru (8.14.2/8.14.2/Submit) id lBMAk2sK029132; Sat, 22 Dec 2007 13:46:02 +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: Sat, 22 Dec 2007 13:46:02 +0300 From: Yuri Pankov To: Gabor Kovesdan Message-ID: <20071222104602.GA37228@darklight.org.ru> References: <476CE1E1.90800@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <476CE1E1.90800@FreeBSD.org> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: FreeBSD Questions Subject: Re: How to install with journaled /? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 22 Dec 2007 10:46:11 -0000 On Sat, Dec 22, 2007 at 11:07:29AM +0100, Gabor Kovesdan wrote: > Hello, > > my problem is that I cannot really turn on gjournal for existing > filesystems, just only if the journal is placed onto another partition. So, > how can I make a journaled root filesystem? I have to do the partitioning > manually, since sysinstall does not support that. But how can I do that > easily? The livefs CD does not work, there is no gjournal utility there. > I'd give FreeSBIE or Frenzy a try, but their existing releases are based on > 6.2, not 7.0, thus no gjournal there. Do you have any ideas? How did you > solve such a problem? > > Thanks in advance, > > -- > Gabor Kovesdan > FreeBSD Volunteer > > EMAIL: gabor@FreeBSD.org .:|:. gabor@kovesdan.org > WEB: http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org Only way that I have found - crossinstall system to another HDD, boot from it and make required changes. Sadly enough, /stand/geom isn't aware of journal class, returning `Invalid class name'. Yuri From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 11:46:16 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DC3316A41B for ; Sat, 22 Dec 2007 11:46:16 +0000 (UTC) (envelope-from sat@cenkes.org) Received: from heka.cenkes.org (heka.cenkes.org [208.79.80.110]) by mx1.freebsd.org (Postfix) with ESMTP id 62A0413C442 for ; Sat, 22 Dec 2007 11:46:16 +0000 (UTC) (envelope-from sat@cenkes.org) Received: from amilo.cenkes.org (ppp85-141-135-37.pppoe.mtu-net.ru [85.141.135.37]) (Authenticated sender: sat) by heka.cenkes.org (Postfix) with ESMTP id DB410242F82E; Sat, 22 Dec 2007 14:46:14 +0300 (MSK) Date: Sat, 22 Dec 2007 14:46:13 +0300 From: Andrew Pantyukhin To: Gabor Kovesdan Message-ID: <20071222114612.GJ96716@amilo.cenkes.org> References: <476CE1E1.90800@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <476CE1E1.90800@FreeBSD.org> X-OS: FreeBSD 8.0-CURRENT amd64 User-Agent: Mutt/1.5.17 (2007-11-01) Cc: FreeBSD Questions Subject: Re: How to install with journaled /? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: infofarmer@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2007 11:46:16 -0000 On Sat, Dec 22, 2007 at 11:07:29AM +0100, Gabor Kovesdan wrote: > Hello, > > my problem is that I cannot really turn on gjournal for existing > filesystems, just only if the journal is placed onto another partition. So, > how can I make a journaled root filesystem? I have to do the partitioning > manually, since sysinstall does not support that. But how can I do that > easily? The livefs CD does not work, there is no gjournal utility there. > I'd give FreeSBIE or Frenzy a try, but their existing releases are based on > 6.2, not 7.0, thus no gjournal there. Do you have any ideas? How did you > solve such a problem? I'd try the following: 1. 2 PC's: boot one from another using PXE and NFS 2. 2 HDD's: install on one, partition the other as needed and dump-restore data to it 3. Swap hack: install the root stuff in the swap slice, then enable gjournal on the first one and dump-restore data. Then bsdlabel swap as swap. I can probably come up with more :-) From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 14:49:58 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2D5516A41A for ; Sat, 22 Dec 2007 14:49:57 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id 7AE0513C455 for ; Sat, 22 Dec 2007 14:49:53 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with SMTP id BAA12573; Sun, 23 Dec 2007 01:49:40 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 23 Dec 2007 01:49:39 +1100 (EST) From: Ian Smith To: "W. D." In-Reply-To: <20071221073023.70F3113C447@mx1.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Tuomo Latto , freebsd-questions@freebsd.org Subject: Re: IPFW: Blocking me out. How to debug? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 22 Dec 2007 14:49:58 -0000 Warning: overlong message. I'm moving this to questions@ from security@ as it's a usage issue. Anyone wishing to follow the up to here can read from: http://lists.freebsd.org/pipermail/freebsd-security/2007-December/004541.html On Fri, 21 Dec 2007, W. D. wrote: > Date: Fri, 21 Dec 2007 01:30:11 -0600 > From: "W. D." > To: FreeBSD-Security@freebsd.org > Cc: Ian Smith Never been to Uzbekistan and don't know this bloke :) > At 05:45 12/20/2007, Ian Smith, wrote: > > Thanks for your reply Ian. This is the kind of > information I am looking for. > > >Firstly, this really belongs over on freebsd-net@ if not > >freebsd-questions@, but anyway .. > > I'll be glad to move it there if you would like. I > figured that since IPFW/Firewalls are security > related, that FreeBSD-Security would be the most > appropriate place. > > >On Thu, 20 Dec 2007, W. D. wrote: > > > > > At 03:49 12/17/2007, Tuomo Latto wrote: > > > >W. D. wrote: > > > >> How do I tell which rule is blocking me out? SSH *is* working, > > > >> but others are not. > > > > > > > >It all depends on what you mean by "blocking you out" and "others". > > > >True; it's not really clear what you're trying to do, whether this is a > >single server with a single net interface with no NAT or what, but based > >on your present rules I'll have to make that assumption. > > OK, sorry. I guess I just assumed that it would be obvious > that this is a Web server. ("Never assume anything, my good > fellow" - Sherlock Holmes). Ok, and sorry I needed a days' sleep + $life before getting back to you. Here are many people who can and likely will offer opinions and advice. > By the way, it is/will be running Plesk server management > software, if it matters: > http://www.swsoft.com/en/products/plesk/reqs/ I know nothing of Plesk, but doubt it's relevant to this now. > Also, this server is on an internal LAN before I subject > it to the wild, untamed, InterWeb, with its dangerous > internets darting back and forth inside all of the tubes. Really good idea :) > > > >> add allow all from any to any via lo0 > > > >> add deny ip from any to 127.0.0.0/8 > > > >> add deny ip from 127.0.0.0/8 to any Ok. > > > >> # Allow established connections: > > > >> add allow tcp from any to any established > > > >That's ok. It may help you in debugging what's happening to use: > > > > allow [log] tcp from any to any in established > > allow [log] tcp from any to any out established > > I assume here that "[log]" means to insert "log" for > debugging like this: > > allow log tcp from any to any in established > allow log tcp from any to any out established > > rather than including the square brackets, "[" & "]", > correct? Yeah sorry, I meant [log] as in optionally just for debugging. > I have done that and have included my latest ruleset > below. > > >and really, using 'any to any' without specifying on which interfaces or > >whether 'any' is your box or the outside world is a bit too general, but > >moving on .. > > OK. What should I do? I only plan on having one > Ethernet interface. What would be more secure? In that case 'me to any' or 'any to me' provides unambiguous direction where appropriate. As shown in your ipfw show below, direction can help make things clear, and clarity means safety when it comes to firewalls, even if it means a slightly larger ruleset. > > > >> # Deny fragmented packets: > > > >> add deny ip from any to any frag > > > > >> # Show pings: > > > >> add count icmp from any to any icmptypes 8 in > > > > > > > >That's inbound ping requests. Don't forget that 'inbound' means coming > >into the firewall, not necessarily from the outside world. Your own > >ping requests _from_ this box also have to both come in, and go out. > > Hmmm. OK. Outbound Ping will be rarely used, but should > be allowed. Isn't that included in the next rule? Yes it is, so here ambiguous directionality works ok, as long as you're well aware of it. > > > >> # Allow pings, ping replies, and host unreach: > > > >> add allow icmp from any to any icmptypes 0,8,3 > > > >Add icmptype 11 as well if you want traceroutes to work .. Traceroutes want to see 'TTL exceeded in transit' icmp messages. > > > >> # Allow UDP traceroutes: > > > >> add allow udp from any to any 33434-34458 in > > > >> add allow udp from any 33434-34458 to any out > > > > > > > >Ok, though udp rules are often better done statefully. See below. > > > > > >> # Allow DNS with name server > > > >> add allow udp from any to any domain out > > > >> add allow udp from any domain to any in > > > >Nope. > > > >You want to watch out here. This allows udp packets from any address > >with source port 53 to connect with any open udp port on your system, > >and allows the responses as well. It's a simple matter using such as > >netcat to source packets from port 53. > > Should I restrict it by specifically stating the service? > How can I be safe? What would the rule look like? > > >I gather from this that you're not running a DNS server yourself, but > >using upstream server/s? In that case a stateful rule is safer: > > Again, I apologize for not being clear. I will be running > DNS on this box for the domains being hosted. So, it will > be polled whenever a request for a hosted domain is needed. Ok, so your nameserver will be making upstream requests too, and you'll need to do TCP 53 traffic with your secondary nameserver/s as well as UDP 53 traffic with upstream nameservers, up to the root unless you're only using specified upstream forwarders. Given that you're checking TCP setup, allowing established, then maybe: allow udp from me to any 53 out keep-state # my requests allow udp from any to me 53 in keep-state # serve outside requests allow tcp from me to $secondaries 53 setup # zone transfers out allow tcp from $secondaries to me 53 setup # zone transfers in though you'll want to protect named with ACLs for xfers as well. > > > >> # SSH > > > >> # Note that /etc/hosts.allow has restrictions > > > >> # on which IP addresses are allowed. > > > >> # > > > >> # Allow SSH: > > > >> add allow tcp from any to any ssh in setup > > > >By 'ssh working', I guess you mean ssh connections to this box from > >elsewhere, rather than ssh connections from this box? Not clear. > > Sorry! I am using SSH into this box, since it is easier to > cut and paste for editing and configuration. > > I can't really see a situation where I would normally need to SSH > outbound, can you? I use the Windoze boxes for that. You never know; you may want to use ssh or scp to other boxes, for backups and such, but you can always add rules whenever required. > > > >> # HTTP & HTTPS: > > > >> add allow tcp from any to any https in setup > > > >> add allow tcp from any to any http in setup > > > > > > > >So, you have a webserver running on this box, listening on ports 80 and > >443? You've verified with 'netstat -finet -a' that this is the case? > > Yes: > > # netstat -finet -a > Active Internet connections (including servers) > Proto Recv-Q Send-Q Local Address Foreign Address (state) > tcp4 0 0 192.168.1.109.ssh 192.168.1.107.3502 ESTABLISHED > tcp4 0 52 192.168.1.109.ssh 192.168.1.107.2266 ESTABLISHED > tcp4 0 0 *.poppassd *.* LISTEN > tcp4 0 0 *.ftp *.* LISTEN > tcp4 0 0 *.smtps *.* LISTEN > tcp4 0 0 *.smtp *.* LISTEN > tcp4 0 0 localhost.locald.3000 *.* LISTEN > tcp4 0 0 *.pop3s *.* LISTEN > tcp4 0 0 *.pop3 *.* LISTEN > tcp4 0 0 *.imaps *.* LISTEN > tcp4 0 0 *.imap *.* LISTEN > tcp4 0 0 *.8443 *.* LISTEN > tcp4 0 0 *.8880 *.* LISTEN > tcp4 0 0 *.3306 *.* LISTEN > tcp4 0 0 localhost.locald.8005 *.* LISTEN > tcp4 0 0 *.9008 *.* LISTEN > tcp4 0 0 *.8009 *.* LISTEN > tcp46 0 0 *.https *.* LISTEN > tcp46 0 0 *.http *.* LISTEN > tcp4 0 0 *.9080 *.* LISTEN > tcp4 0 0 *.8180 *.* LISTEN > tcp4 0 0 localhost.locald.postg *.* LISTEN > tcp4 0 0 localhost.locald.rndc *.* LISTEN > tcp4 0 0 localhost.locald.domai *.* LISTEN > tcp4 0 0 192.168.1.109.domain *.* LISTEN > tcp4 0 0 *.ssh *.* LISTEN > udp4 0 0 192.168.1.109.24889 ns1.ournameserver.net.53 > udp4 0 0 *.51750 *.* > udp4 0 0 localhost.locald.domai *.* > udp4 0 0 192.168.1.109.domain *.* > udp4 0 0 *.syslog *.* That's a bunch of services. Any being offered outside of your internal network want enabling and protecting by the firewall, those that are only internal to your LAN (or this box) likewise, by rules limiting access to only your LAN. Will this webserver later have a public IP address, or run behind NAT with port forwarding? > > > >> # Mail: SMTP & IMAP: > > > >> add allow tcp from any to any smtp in setup > > > >> add allow tcp from any to any imap in setup > > > > > > > >You're running SMTP and IMAP servers, verified as above? > > > >You see, this also allows you (as 'any') to connect to any outside SMTP > >server too. It really helps to differentiate connections into your box > >from those you're making to outside boxes, which these don't do. > > > >Have a close look at the 'simple' section in rc.firewall. > > I have scanned various versions of "rc.firewall". I kinda understand > what is going on, but there are so many places that seem anti-intuitive > to me. > > Also, what are the differences between running a script and loading > these rules on bootup? Well the script just loads rules too, by a series of ipfw add commands, some possibly generated programatically and/or conditionally. > >There are > >advantages to running a script such as that rather than rules in a file, > >like variable substitution, at least while getting it all working right. > > I have mixed feelings about variables. I guess they make > it easier if you change a network card or IP addresses--you > only have to do it in one place. > > However, a search and replace command doesn't take much > time at all. Also, they add a level of complexity to > a situation that (to me) is complex enough already. > And, I wonder if by not using variables, I can save a > few microseconds when processing traffic. ;^) No, it only saves a few milliseconds (using -q) while loading the rules; once the script is done then it's just the same. I find it easier to be able to specify which interfaces rules apply to, lists of IP addresses to deny or allow for particular services, port lists and ranges, targets for skipto rules, generating accounting rules and such. In your case of a single interface you can probably keep track of things ok. > > > >> # FTP: > > > >> add allow tcp from any to any ftp in setup > > > >> add allow tcp from any to any ftp\-data in setup > > > >> add allow tcp from any ftp\-data to any setup out > >Mmm, I prefer using and enforcing FTP passive mode, but YMMV. > > How would I do that? This guy doesn't think it's even > possible: > http://tinyurl.com/2z6ynr Mmm, ok. Passive mode needs allowing connections to this port range net.inet.ip.portrange.hifirst: 49152 net.inet.ip.portrange.hilast: 65535 which is adjustable, but I'm unsure of my ground regarding ftp - pass. > > > >> # Allow NTP in and out > > > >> add allow udp from any ntp to 128.252.19.1 ntp out > > > >> add allow udp from 128.252.19.1 ntp to any ntp in > > > > > > > >Unless running a time service for other boxes, something like: > > > > allow udp from me to any ntp keep-state # or to a specific server > > Well, I think that since NTP is such a minimal user > of resources, that I would like to rely on this > box for the correct time. That way, I don't have > to bug the stratum 1 boxes. Shall I use my original? Sure. I use a more local server pool. I'd still suggest getting in the habit of using 'me' rather than 'any' where it may be ambiguous .. some firewalls tend to be on routers or bridges where specificity matters. > > > >> # Deny and log everything else: > > > >> add deny log all from any to any > > > >Bingo! > > > >Ok, so you got rid of interface 'all', great. [..] > "Fine Manual" says: [..] > ip | all > Matches any packet. > > According to this, "ip" and "all" are synonymous. Criminy! > What am I missing here? My confusion; someone else used 'deny log ip from any to any recv all' where 'all' wasn't an interface. Ignore me too :) > > > I've been banging my head against this for the past few > > > days. I don't get it. > > > > > > My understanding of the way this is supposed to work is > > > that: > > > > > > # HTTP & HTTPS: > > > add allow tcp from any to any https in setup > > > add allow tcp from any to any http in setup > > > > > > should let initial HTTP & HTTPS requests through, > > > and that: > > > > > > # Allow established connections: > > > add allow tcp from any to any established > > > >Not quite. Looks like you're allowing http/https setup packets in (ie, > >into the firewall) but not letting them out (of the firewall, to the > >webserver). For example in the 'simple' ruleset mentioned, we have: Forget I said that .. I was thinking about routed packets. Which still leaves as a mystery why you're not (apparently) getting connections to your webserver when you are with ssh, like you said. Something else .. > > # Allow access to our WWW > > ${fwcmd} add pass tcp from any to ${oip} 80 setup > > > > # Reject&Log all setup of incoming connections from the outside > > ${fwcmd} add deny log tcp from any to any in via ${oif} setup > > > > # Allow setup of any other TCP connection > > ${fwcmd} add pass tcp from any to any setup > > I really don't get the above rule. Isn't it saying that > *any* kind of TCP connection can come in or go out initially? Yes, but only AFTER denying & logging any unaccounted for inbound setup requests on the outside interface. The last rule therefore allows setup of a) TCP requests from this box to anywhere, and b) setup requests from any boxes 'behind' this box on the LAN. You don't have any (b) but may need (a) to access external services (anything: c{,v}sup comes to mind); you may rather limit these to specific services or from uid root etc, and having no other interfaces, can use from 'me' rather than 'any'. > In my set, should I include some "out" rules like this: > > add allow tcp from any to any https out setup > add allow tcp from any to any http out setup Again, 'any to any' is too broad a brush. Once you allow everything you want to in from outside addresses (which currently includes your LAN on your outside interface!) and then deny the rest there, then 'pass tcp from me to any setup' is safe, and covers the above, and anything else. > > > should allow connections that are "setup" to > > > continue. Do I need a "check-state" or "keep-state" > > > statement somewhere? > > > >No, though you can use stateful TCP rules if you want to, in which case > >you'll want to DENY established connections. Personally I find relying > >on the TCP state established by using 'setup' and 'established' fine for > >TCP, but tend to use keep-state for UDP and some ICMP rules. > > That sounds reasonable. Others will disagree for sure :) > > > I don't understand what is wrong with the last rule: > > > > > > # Deny and log everything else: > > > add deny log all from any to any > > > > > > My understanding is that anything that doesn't match > > > the previous rules will match this one and hence > > > be logged and denied. Is this not correct? > > > >That's correct. Aren't you seeing any? Try show rather than tell. > > Showing: > > # ipfw -a -S -N -t list > 00100 688 173384 Thu Dec 20 15:32:17 2007 set 0 allow log logamount 10 ip from any to any via lo0 > 00200 0 0 set 0 deny log logamount 10 ip from any to 127.0.0.0/8 > 00300 0 0 set 0 deny log logamount 10 ip from 127.0.0.0/8 to any > 00400 4344 1712050 Fri Dec 21 00:23:37 2007 set 0 allow log logamount 10 tcp from any to any established > 00500 0 0 set 0 deny log logamount 10 ip from any to any frag > 00600 4 240 Wed Dec 19 23:05:31 2007 set 0 count icmp from any to any icmptypes 8 in > 00700 8 480 Wed Dec 19 23:05:31 2007 set 0 allow log logamount 10 icmp from any to any icmptypes 0,3,8 > 00800 0 0 set 0 allow log logamount 10 udp from any to any dst-port 33434-34458 in > 00900 0 0 set 0 allow log logamount 10 udp from any 33434-34458 to any out > 01000 366 24038 Fri Dec 21 00:02:00 2007 set 0 allow log logamount 10 udp from any to any dst-port domain out > 01100 364 59582 Fri Dec 21 00:02:00 2007 set 0 allow log logamount 10 udp from any domain to any in > 01200 1 48 Thu Dec 20 16:49:47 2007 set 0 allow log logamount 10 tcp from any to any dst-port ssh in setup > 01300 0 0 set 0 allow log logamount 10 tcp from any to any dst-port https in setup > 01400 6 288 Thu Dec 20 14:43:38 2007 set 0 allow log logamount 10 tcp from any to any dst-port http in setup Maybe 6 connections were made to your webserver, OR maybe you made 6 connections out to some other webserver. With 'any to any' there's no sense of direction, where 'any to me' would show inbound connections. Sorry if I keep stressing this, but it does help see what's going on. However searching for rule 1400 in your ipfw log will tell you. > 01500 98 6272 Fri Dec 21 00:02:00 2007 set 0 allow log logamount 10 tcp from any to any dst-port http It's not clear what these are either. They're not inbound setup packets, 1400 would catch those, and they couldn't be established packets since they're allowed above, in or out, so must be outbound setup packets from this box to another webserver, right? > 01600 1 64 Thu Dec 20 15:25:01 2007 set 0 allow log logamount 10 tcp from any to any dst-port https > 01700 0 0 set 0 allow log logamount 10 tcp from any to any dst-port smtp in setup > 01800 0 0 set 0 allow log logamount 10 tcp from any to any dst-port imap in setup > 01900 43 2064 Wed Dec 19 23:16:18 2007 set 0 allow log logamount 10 tcp from any to any dst-port ftp in setup So is ftp in from another box working ok? > 02000 0 0 set 0 allow log logamount 10 tcp from any to any dst-port ftp-data in setup > 02100 0 0 set 0 allow log logamount 10 tcp from any ftp-data to any setup out > 02200 100 7600 Thu Dec 20 23:47:00 2007 set 0 allow log logamount 10 udp from any ntp to navobs1.wustl.edu dst-port ntp out > 02300 100 7600 Thu Dec 20 23:47:00 2007 set 0 allow log logamount 10 udp from navobs1.wustl.edu ntp to any dst-port ntp in > 02400 2058 226123 Fri Dec 21 00:17:20 2007 set 0 deny log logamount 10 ip from any to any > 65535 7 909 Wed Dec 19 22:58:29 2007 set 31 deny ip from any to any > > Lot of stuff being denied. I think some of that > is my HTTP and HTTPS initial requests. What to do? Since you've logged some denied packets, searching denied packets in /var/log/security should show you exactly what they are to debug this, no need to speculate. However for this rule try maybe 'logamount 500' along with running tcpdump in another console till you spot the problem. Whenever you like, without reloading others, you can do eg: # ipfw delete 2400; ipfw add 2400 deny log logamount 500 ip from any to any and of course run 'ipfw resetlog 2400' anytime you want some more. Are these unsuccessful HTTP/S sessions only coming from inside your LAN presently? From the same box your successful ssh session is from? If not, this could be a routing or some other network problem than ipfw, or even an httpd.conf issue, despite appearing to be listening on *.80 > > > Again, I am having a great deal of difficulty > > > understanding why these rules don't work as expected. > > > I've scoured the 'Net and printed out just about > > > every coherent ruleset out there. > > > > > > Besides adding the "log" keyword on all of the rules, > > > these are the debugging tools I have been using: > > > > > > ipfw disable firewall > > > ipfw -f flush > > > ipfw enable firewall > > > /etc/rc.d/ipfw start > > > ipfw -a -S -N -t list > > > ipfw list > > > tail -f /var/log/ipfw/ipfw.log Ah right, you're not using /var/log/security. Is ipfw.log working ok? > > > tcpdump -i nve0 'proto \tcp && port http' Doesn't that show incoming http setup requests, and responses (or not)? I'd use 'tcpdump -pn -i nve0 tcp port 80' to keep it simple and numeric. > netstat -finet -a > > > > > > Could anyone please throw this tired dog a bone? [.. way too long already .. hoping somebody else spots something ..] > Love the "Fine Manual" --not! Just not enough examples for > me to understand everything. Too much abstraction--AAArrrrgh! That's why rc.firewall suggests some heavy reading material .. > Am using this link, since "man ipfw" doesn't work on 6.2. (I dare > someone to explain to me how to get it to work): > http://www.freebsd.org/cgi/man.cgi?query=ipfw&sektion=8 That's weird. Does man work for others in section 8, eg man mount ? > Thanks for your help, Ian. Would appreciate it if you would > kick my butt in the proper direction again. > > Any other takers/kickers? Yes please .. and please slash content ruthlessly on any replies (ie do as I plead, and not as I've just done :) cheers, Ian > Latest grope in the dark: > =============================================================== > # ipfw.rules > # ipfw firewall ruleset > # 2007 Dec 20 > > # By default, everything is denied access. You > # need to specifically allow something for it > # to work. > > # Loopback: > # Allow anything on the local loopback: > add allow log all from any to any via lo0 > > # Disallow spoofed access to local: > add deny log ip from any to 127.0.0.0/8 > add deny log ip from 127.0.0.0/8 to any > > # Allow established connections: > add allow log tcp from any to any established > > # Deny fragmented packets: > add deny log ip from any to any frag > > # Show pings: > add count icmp from any to any icmptypes 8 in > > # Allow pings, ping replies, and host unreach: > add allow log icmp from any to any icmptypes 0,8,3 > > # Allow UDP traceroutes: > add allow log udp from any to any 33434-34458 in > add allow log udp from any 33434-34458 to any out > > # Allow DNS with name server > add allow log udp from any to any domain out > add allow log udp from any domain to any in > > # SSH > # Note that /etc/hosts.allow has restrictions > # on which IP addresses are allowed. > # > # Allow SSH: > add allow log tcp from any to any ssh in setup > > # HTTP & HTTPS: > add allow log tcp from any to any https in setup > add allow log tcp from any to any http in setup > > add allow log tcp from any to any dst-port 80 > add allow log tcp from any to any dst-port 443 > > # Mail: SMTP & IMAP: > add allow log tcp from any to any smtp in setup > add allow log tcp from any to any imap in setup > > # FTP: > add allow log tcp from any to any ftp in setup > add allow log tcp from any to any ftp\-data in setup > add allow log tcp from any ftp\-data to any setup out > > # Allow NTP in and out > add allow log udp from any ntp to 128.252.19.1 ntp out > add allow log udp from 128.252.19.1 ntp to any ntp in > > > # Deny and log everything else: > # add deny log all from any to any > add deny log ip from any to any > =============================================================== From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 16:39:54 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7835A16A51B for ; Sat, 22 Dec 2007 16:39:54 +0000 (UTC) (envelope-from vcrobe@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.179]) by mx1.freebsd.org (Postfix) with ESMTP id 658C113C500 for ; Sat, 22 Dec 2007 16:39:54 +0000 (UTC) (envelope-from vcrobe@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so1388005waf.3 for ; Sat, 22 Dec 2007 08:39:54 -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:mime-version:content-type; bh=qoz+7k2VlwIa/nsJMIIRslxgD1lPRBf7x5A0QdgPWpI=; b=XV5nqg6JGmv2to9uFyQgUzTJu77/l047P71VnCivwSPqz9TNDpYzO5nYBhanWM3x0g+GN9MkUarygwLKxFoSBiTZp0WjKLG6e8UR+iCwWskw8wlwRSfpcEHTT4Urg7uB1aYu1K9j9NziAHa48cm3WPt3MDsU9Rg3UNdycz1K9X8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=Ms38wHqlN9zhUQ/ckC6tKUFbFAa/cdhhFVZ7jaWo//B/LVxUgoZNoDKu9eYdKr8SAoWVgJzB0LNwZGfYpSovYUvGGcs9xPyr1YbOgy3Mxj0iEyb0YZQ4GPn0lEJUDFZsGd+Hcqj2R1nCamlICExzvxRIrevu8pO4BhS+ffLS7Eg= Received: by 10.142.72.21 with SMTP id u21mr1132377wfa.65.1198341593621; Sat, 22 Dec 2007 08:39:53 -0800 (PST) Received: by 10.143.165.12 with HTTP; Sat, 22 Dec 2007 08:39:53 -0800 (PST) Message-ID: <221c791e0712220839v67a02e78q7cd5519f9b05a210@mail.gmail.com> Date: Sat, 22 Dec 2007 11:39:53 -0500 From: Robe To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Updating 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: Sat, 22 Dec 2007 16:39:54 -0000 Hi, I want to update some ports. I'm using FreeBSD 6.2. I was reading in the handbook and there are two ways to update them through the portupdate and portmanager. What's the difference between them? -- Robe. En el verdadero amor, el alma oculta al cuerpo. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 17:09:27 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3509A16A46C for ; Sat, 22 Dec 2007 17:09:27 +0000 (UTC) (envelope-from ismail@EnderUNIX.org) Received: from istanbul.enderunix.org (freefall.marmara.edu.tr [193.140.143.23]) by mx1.freebsd.org (Postfix) with ESMTP id 4C4A513C458 for ; Sat, 22 Dec 2007 17:09:25 +0000 (UTC) (envelope-from ismail@EnderUNIX.org) Received: (qmail 90363 invoked by uid 1040); 22 Dec 2007 17:09:48 -0000 Received: from unknown (HELO ISMAIL) (ismail@127.0.0.1) by 0 with ESMTPA; 22 Dec 2007 17:09:46 -0000 Date: Sat, 22 Dec 2007 19:09:10 +0200 From: Ismail YENIGUL X-Mailer: The Bat! (v3.99.3) Professional Organization: EnderUNIX X-Priority: 3 (Normal) Message-ID: <879443695.20071222190910@EnderUNIX.org> To: Ivan Voras In-Reply-To: References: <1605513356.20071219221424@EnderUNIX.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SMTP-Filter: SurGATE SMTP Filter Engine Release 1.0.1 http://www.endersys.com X-SurGATE-Result: Clean (Content eval: -4.40 points) Cc: freebsd-database@freebsd.org, freebsd-questions@freebsd.org Subject: Re[2]: Turkish character sorting on PostgreSQL X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ismail YENIGUL List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2007 17:09:27 -0000 Hello Ivan, Here is the test result. It seems that the problem is on FreeBSD (6.2) . Because =C3=B6 and =C5=9F are before then z in Turkish alphabet. # cat a.c #include int main() { setlocale(LC_COLLATE, "tr_TR.ISO8859-9"); printf("%d\n",strcoll("=C3=B6", "z")); printf("%d\n",strcoll("=C3=BC", "z")); } ftpfreebsd[~]# ./a 124 130 ftpfreebsd[~]#=20 By the way, LC_COLLATE is link to the ../la_LN.US-ASCII/LC_COLLATE in /usr/share/locale/tr_TR.ISO8859-9 directory. Does this mean that LC_COLLATE is missing for tr_TR.ISO8859-9 ? # ls -al /usr/share/locale/tr_TR.ISO8859-9/ total 14 drwxr-xr-x 2 root wheel 512 Jul 9 15:32 . drwxr-xr-x 157 root wheel 4096 Dec 4 2006 .. lrwxr-xr-x 1 root wheel 28 Jul 9 15:32 LC_COLLATE -> ../la_LN.US-AS= CII/LC_COLLATE lrwxr-xr-x 1 root wheel 26 Jul 9 15:32 LC_CTYPE -> ../la_LN.US-ASCI= I/LC_CTYPE -r--r--r-- 1 root wheel 18 Jul 9 15:32 LC_MESSAGES -r--r--r-- 1 root wheel 34 Jul 9 15:32 LC_MONETARY -r--r--r-- 1 root wheel 8 Jul 9 15:32 LC_NUMERIC -r--r--r-- 1 root wheel 352 Jul 9 15:32 LC_TIME and there is no file spesicific to the tr_TR.ISO8859-9 in /usr/src/share= /colldef/ # ls /usr/src/share/colldef/ Makefile el_GR.ISO8859-7.src la_LN.ISO8859-15.src map= .ISO8859-1 ru_RU.CP1251.src README en_DK.example la_LN.ISO8859-2.src map= .ISO8859-13 ru_RU.CP866.src be_BY.CP1131.src es_ES.ISO8859-1.src la_LN.ISO8859-4.src map= .ISO8859-15 ru_RU.ISO8859-5.src be_BY.CP1251.src es_ES.ISO8859-15.src la_LN.US-ASCII.src map= .ISO8859-2 ru_RU.KOI8-R.src be_BY.ISO8859-5.src et_EE.ISO8859-15.src lt_LT.ISO8859-13.src map= .ISO8859-4 sl_SI.ISO8859-2.src bg_BG.CP1251.src hi_IN.ISCII-DEV.src lt_LT.ISO8859-4.src map= .ISO8859-5 sr_YU.ISO8859-5.src ca_ES.ISO8859-1.src hy_AM.ARMSCII-8.src map.ARMSCII-8 map= .ISO8859-7 sv_SE.ISO8859-1.src ca_ES.ISO8859-15.src is_IS.ISO8859-1.src map.CP1131 map= .KOI8-R sv_SE.ISO8859-15.src cs_CZ.ISO8859-2.src is_IS.ISO8859-15.src map.CP1251 map= .KOI8-U uk_UA.CP1251.src de_DE.ISO8859-1.src kk_KZ.PT154.src map.CP866 map= .PT154 uk_UA.ISO8859-5.src de_DE.ISO8859-15.src la_LN.ISO8859-1.src map.ISCII-DEV pl_= PL.ISO8859-2.src uk_UA.KOI8-U.src Thursday, December 20, 2007, 12:44:34 PM, you wrote: > Ismail YENIGUL wrote: >> Hello, >>=20 >> I am using PostgreSQL 8.2.5 on FreeBSD 6.2. But I have a problem with >> sorting Turkish characters. They are listed after "z" character. >> I initialized the PostgreSQL with the following values: >>=20 >> initdb -E UNICODE --locale=3Dtr_TR.UTF-8 and > Unicode (UTF-8) collations (sorting) don't work on FreeBSD. You can use > PostgreSQL 8.1 and the "ICU" patch for it. >> initdb -E LATIN5 --locale tr_TR.ISO8859-9 > This could work, if the locale is properly defined in the system locale > database. Try creating a small C program that sorts your strings using > strcoll() to verify this - if the small C program works, it's a > PostgreSQL problem. --=20 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + http://www.enderunix.org/ismail http://www.endersys.com.tr + + EnderUNIX SDT @ Tr Endersys Consultancy Ltd. + + ismail ~ enderunix.org ismail.yenigul ~ endersys.com.tr + + Volunteer, Core Team Member Project Manager + +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ TCP/IP ve A=C4=9F g=C3=BCvenli=C4=9Fi kitab=C4=B1n=C4=B1n 2. bask=C4=B1s=C4= =B1 =C3=A7=C4=B1kt=C4=B1! http://dukkan.acikakademi.com From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 17:15:04 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8937216A479 for ; Sat, 22 Dec 2007 17:15:04 +0000 (UTC) (envelope-from mkhitrov@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by mx1.freebsd.org (Postfix) with ESMTP id F1D1413C467 for ; Sat, 22 Dec 2007 17:15:03 +0000 (UTC) (envelope-from mkhitrov@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so1759002pyb.3 for ; Sat, 22 Dec 2007 09:15:02 -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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=DhjgkXf20Syrfi1m8MaeruiKymVPtn5meyZCVd38M8w=; b=B9W3yoNOteC6f22MDuv/MZ+hrarW0mRSH89m4aICxXDKXVJHBRt7cbODyeAZzrdy1ssmnKbIdoleDLp/EOdrRmiSQc5TvtA9vdR+OPlUosxKyw4AZYsBzKwZYOivzB2AHpulMul2ms19s5nAS1e313t8qkOTuMRBJN+P/gi6Z+o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JTz/7H77H4SIqnez18IHE51/cbCNOUUTICZ9y95anFKzR7t9nKaLGOWqjM6rhk+0PCil5p9SLUG8RvcUsJu0jZDHj8rdJjO/wwJv6z70YVmqkOx5u90zVx76uqOgnvKMkYhWxyZa2qczzhyBDaadcZO7ofdMo3OMumkg9su2eec= Received: by 10.143.174.4 with SMTP id b4mr1104086wfp.239.1198342050048; Sat, 22 Dec 2007 08:47:30 -0800 (PST) Received: by 10.142.242.11 with HTTP; Sat, 22 Dec 2007 08:47:29 -0800 (PST) Message-ID: <26ddd1750712220847s216611di39ba01ceb9e8acdf@mail.gmail.com> Date: Sat, 22 Dec 2007 11:47:29 -0500 From: "Maxim Khitrov" To: Robe In-Reply-To: <221c791e0712220839v67a02e78q7cd5519f9b05a210@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <221c791e0712220839v67a02e78q7cd5519f9b05a210@mail.gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Updating 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: Sat, 22 Dec 2007 17:15:04 -0000 On Dec 22, 2007 11:39 AM, Robe wrote: > Hi, > > I want to update some ports. I'm using FreeBSD 6.2. > > I was reading in the handbook and there are two ways to update them through > the portupdate and portmanager. > > What's the difference between them? > > -- > Robe. Each one offers some unique features, read the man pages to see if you need specific functionality that isn't present in one of them (I doubt it). Mostly it comes down to your preference. I personally recommend portmaster because it's a shell script and requires no additional software to be installed. To update everything on your system just run 'portmaster -ad'. The -a flag automatically updates all out-of-date ports, -d removes old distfiles without asking. - Max From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 18:53:41 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0995416A419 for ; Sat, 22 Dec 2007 18:53:41 +0000 (UTC) (envelope-from fbsd06+RN=e7515fa4@mlists.homeunix.com) Received: from turtle-out.mxes.net (turtle-out.mxes.net [216.86.168.191]) by mx1.freebsd.org (Postfix) with ESMTP id EA11413C457 for ; Sat, 22 Dec 2007 18:53:40 +0000 (UTC) (envelope-from fbsd06+RN=e7515fa4@mlists.homeunix.com) Received: from mxout-04.mxes.net (mxout-04.mxes.net [216.86.168.179]) by turtle-in.mxes.net (Postfix) with ESMTP id 0F26C164350 for ; Sat, 22 Dec 2007 13:22:17 -0500 (EST) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 179B5D0501 for ; Sat, 22 Dec 2007 13:22:10 -0500 (EST) Date: Sat, 22 Dec 2007 18:22:00 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20071222182200.6e43f1c5@gumby.homeunix.com.> In-Reply-To: <476CE1E1.90800@FreeBSD.org> References: <476CE1E1.90800@FreeBSD.org> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.3; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: How to install with journaled /? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 22 Dec 2007 18:53:41 -0000 On Sat, 22 Dec 2007 11:07:29 +0100 Gabor Kovesdan wrote: > Hello, > > my problem is that I cannot really turn on gjournal for existing > filesystems, just only if the journal is placed onto another > partition. So, how can I make a journaled root filesystem? Is there any particular need to do this? Typically, nothing much is written to the root partition, and it's too small for a normal fsck to take any significant time. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 20:08:39 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0ADD516A41A for ; Sat, 22 Dec 2007 20:08:39 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by mx1.freebsd.org (Postfix) with ESMTP id CF15213C442 for ; Sat, 22 Dec 2007 20:08:38 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so1874935pyb.3 for ; Sat, 22 Dec 2007 12:08:38 -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:content-transfer-encoding:cc:from:subject:date:to:x-mailer; bh=9hnwj8ebNAGeH1CeX3B6Xvu337i92HZDf/Tn+RfPfrE=; b=IHppGprBESvVma4TZTJdnTVEDIBqJj5HL7ywXEZaAAtKLqWk/MDANJ5S1WH8vac+mbpMrL/79O4Ssm97FlfVGdajaKfn8K0fOaKQOAhfYP5zKeCgBsexgmRD/3ar1mMBvtu4+CAuv4OYk8trdYmxtPY/3q9iR6ogXfidQNsn+xc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:content-type:message-id:content-transfer-encoding:cc:from:subject:date:to:x-mailer; b=JJvlRlItcRjp5pMaFIfgAcN4krrcFsAgaRE9kvSYOnteaO6eQB3Gxji/ZuI5fu8n0ipvz9iAjB7hI2GLb4o8GdA6d8v1Wj8PxOkDueq6ZckKSvE9LU8ch8MmvElw9m0nLe11daWluuTIgsi96d4q+x8ODIXLEjIqM2zMoC1fHlE= Received: by 10.35.131.13 with SMTP id i13mr3162442pyn.50.1198354117064; Sat, 22 Dec 2007 12:08:37 -0800 (PST) Received: from ?192.168.1.7? ( [74.134.230.123]) by mx.google.com with ESMTPS id n45sm4514125pyh.37.2007.12.22.12.08.34 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 22 Dec 2007 12:08:35 -0800 (PST) In-Reply-To: <476CD9C9.3090101@cran.org.uk> References: <70f41ba20712211547g74a6a4b0tf08fec8125739a08@mail.gmail.com> <476CD9C9.3090101@cran.org.uk> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <020f211f77887eeb2eb8a03cd825f372@gmail.com> Content-Transfer-Encoding: 7bit From: Joshua Isom Date: Sat, 22 Dec 2007 14:09:14 -0600 To: Bruce Cran X-Mailer: Apple Mail (2.624) Cc: freebsd-questions@freebsd.org Subject: Re: amd64 native boot loader? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2007 20:08:39 -0000 On Dec 22, 2007, at 3:32 AM, Bruce Cran wrote: > AMD64 CPUs are backwards compatible with i386; they boot in 16-bit > real mode and only get switched into 64-bit 'long mode' by the kernel > later on. Since both i386 and amd64 start booting in the same way, > there's no need for separate bootloaders. > > -- > Bruce > I've thought about this too, but do wonder why the boot loader couldn't go into long mode in one of the loader stages. I don't know if there'd be any significant improvements or drawbacks other than duplication of some code(which I imagine isn't changed often). Somewhat offhand, can the OpenBSD loader chain boot FreeBSD? Due to my dvd drive being sata over atapi, it wasn't recognized by the 6 branch until recently(many thanks to whoever committed the change). But I recall that the boot cd for FreeBSD wouldn't boot, but the boot cd for OpenBSD would. Of course that does primarily relate to cdboot and not boot0. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 20:55:46 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F225D16A41B for ; Sat, 22 Dec 2007 20:55:46 +0000 (UTC) (envelope-from vkalik@yahoo.com) Received: from web31005.mail.mud.yahoo.com (web31005.mail.mud.yahoo.com [68.142.200.168]) by mx1.freebsd.org (Postfix) with SMTP id D0E9013C4E8 for ; Sat, 22 Dec 2007 20:55:46 +0000 (UTC) (envelope-from vkalik@yahoo.com) Received: (qmail 98526 invoked by uid 60001); 22 Dec 2007 20:29:06 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=jDTeyj5Lw4kcGeyeTixhwP7RJyBvBxYvY4IQkkAY0yjh7kzg+EL8vPC2hPPUdzRAuLN0DWU/w6W7eivUqJ1xKDv40FZdbqWSCKMSFKOPMiJGXX8PENm4L+GQlWcrQNyp1q36uUSbb3zn0lLtVnJhH7q30VPLaEvihN4I6Gny2D4=; X-YMail-OSG: foo5rJQVM1nC9WP3Ud4PLmqUc25itI.lmKH0Nfg..SrZSm1.2UKe37Oxxich1mgArzLlqEsX6cituakz47DeEsfPdO2TwDuWfaP8rQGA_UIZVVuECol496d5ajWs0g-- Received: from [212.200.152.180] by web31005.mail.mud.yahoo.com via HTTP; Sat, 22 Dec 2007 12:29:06 PST Date: Sat, 22 Dec 2007 12:29:06 -0800 (PST) From: Velja Kalik To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <425876.97873.qm@web31005.mail.mud.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Realtek 8101E NIC and FreeBSD 4.11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2007 20:55:47 -0000 Hello all, has anyone tried to compile the Realtek driver (rtl_bsd_drv_v174.tgz) on FreeBSD 4.x? From http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=7&PFid=7&Level=5&Conn=4&DownTypeID=3&GetDown=false#RTL8100E/RTL8101E/RTL8102E-GR Readme.txt says: 1. Method 1 advises to just copy the .ko module to /modules, but there is no .ko file in the tgz archive. That is even ok since I guess they would have to put a .ko module in tgz archive for all popular versions of FreeBSD (4.x/5.x/6.x) and their kernel versions. 2. Method 2 advises to go for compilation of kernel modules using the .c, .h and Makefile from the tgz archive. I made backups of original files, compiled new kernel without "rl", rebooted (everything from step 1 and 2), copied everything from tgz archive in place, edited if_rlreg.h so that the first #define lines would look like this (for 4.11): #define VERSION(_MainVer,_MinorVer) ((_MainVer)*10+(_MinorVer)) #define OS_VER VERSION(4,11) /*#if __FreeBSD_version < 500000*/ /*#define VERSION(_MainVer,_MinorVer) ((_MainVer)*100000+(_MinorVer)*10000)*/ /*#else*/ /*#define VERSION(_MainVer,_MinorVer) ((_MainVer)*100000+(_MinorVer)*1000)*/ /*#endif*/ /*#define OS_VER __FreeBSD_version*/ (uncommented first 2 lines, commented next 6 lines). Then in the /usr/src/sys/modules/rl I ran "make clean" (which is ok) and then "make" and it started to complain: host# make Warning: Object directory not changed from original /usr/src/sys/modules/rl @ -> /usr/src/sys machine -> /usr/src/sys/i386/include touch opt_bdg.h perl @/kern/makeops.pl -h @/kern/device_if.m perl @/kern/makeops.pl -h @/kern/bus_if.m perl @/kern/makeops.pl -h @/pci/pci_if.m cc -O -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/../include -I/usr/include -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -c /usr/src/sys/modules/rl/../../pci/if_rl.c In file included from /usr/src/sys/modules/rl/../../pci/if_rl.c:73: @/pci/if_rlreg.h:506: field `mtx' has incomplete type /usr/src/sys/modules/rl/../../pci/if_rl.c: In function `rl_attach': /usr/src/sys/modules/rl/../../pci/if_rl.c:257: warning: implicit declaration of function `mtx_init' /usr/src/sys/modules/rl/../../pci/if_rl.c:257: `MTX_NETWORK_LOCK' undeclared (first use in this function) /usr/src/sys/modules/rl/../../pci/if_rl.c:257: (Each undeclared identifier is reported only once /usr/src/sys/modules/rl/../../pci/if_rl.c:257: for each function it appears in.) /usr/src/sys/modules/rl/../../pci/if_rl.c:257: `MTX_DEF' undeclared (first use in this function) /usr/src/sys/modules/rl/../../pci/if_rl.c:524: warning: passing arg 2 of `ether_ifattach' makes integer from pointer without a cast /usr/src/sys/modules/rl/../../pci/if_rl.c:555: `IFM_1000_T' undeclared (first use in this function) /usr/src/sys/modules/rl/../../pci/if_rl.c: In function `rl_detach': /usr/src/sys/modules/rl/../../pci/if_rl.c:588: warning: implicit declaration of function `mtx_lock' /usr/src/sys/modules/rl/../../pci/if_rl.c:590: warning: implicit declaration of function `mtx_unlock' /usr/src/sys/modules/rl/../../pci/if_rl.c:596: too few arguments to function `ether_ifdetach' /usr/src/sys/modules/rl/../../pci/if_rl.c:618: warning: implicit declaration of function `mtx_destroy' /usr/src/sys/modules/rl/../../pci/if_rl.c: In function `rl_start': /usr/src/sys/modules/rl/../../pci/if_rl.c:993: warning: passing arg 1 of `bpf_mtap' from incompatible pointertype /usr/src/sys/modules/rl/../../pci/if_rl.c:1067: warning: passing arg 1 of `bpf_mtap' from incompatible pointer type /usr/src/sys/modules/rl/../../pci/if_rl.c: In function `rl_rxeof': /usr/src/sys/modules/rl/../../pci/if_rl.c:1533: structure has no member named `if_input' /usr/src/sys/modules/rl/../../pci/if_rl.c:1630: structure has no member named `if_input' /usr/src/sys/modules/rl/../../pci/if_rl.c: In function `rl_intr': /usr/src/sys/modules/rl/../../pci/if_rl.c:1723: structure has no member named `if_link_state' /usr/src/sys/modules/rl/../../pci/if_rl.c:1723: `LINK_STATE_UP' undeclared (first use in this function) /usr/src/sys/modules/rl/../../pci/if_rl.c:1724: syntax error before `/' /usr/src/sys/modules/rl/../../pci/if_rl.c:1729: structure has no member named `if_link_state' /usr/src/sys/modules/rl/../../pci/if_rl.c:1729: `LINK_STATE_DOWN' undeclared (first use in this function) /usr/src/sys/modules/rl/../../pci/if_rl.c:1730: syntax error before `/' /usr/src/sys/modules/rl/../../pci/if_rl.c: In function `rl_setmulti': /usr/src/sys/modules/rl/../../pci/if_rl.c:1830: structure has no member named `tqh_first' /usr/src/sys/modules/rl/../../pci/if_rl.c:1830: structure has no member named `tqe_next' /usr/src/sys/modules/rl/../../pci/if_rl.c:1800: warning: `ifma' might be used uninitialized in this function /usr/src/sys/modules/rl/../../pci/if_rl.c: In function `rl_ifmedia_sts': /usr/src/sys/modules/rl/../../pci/if_rl.c:2061: `IFM_1000_T' undeclared (first use in this function) *** Error code 1 Stop in /usr/src/sys/modules/rl. host# and gives out an error for compiling of course. Do you have a suggestion how can I solve MTX_* error problems, since it looks like mutexes are used in code and "man mutex" on FreeBSD web says that mutex.h is introduced in FreeBSD 5.0 (and this is 4.11)? For IFM_* errors where are those IFM variables/constants supposed to be included from? I guess all would be easy if I had used FreeBSD 5.x or 6.x, but all nodes have to be 4.11 (comercial compiler on system for FreeBSD 4.x) so its not like I can choose other verions :) NIC is integrated Realtek 8101E (PCIEx). No reply from Bill Paul or Yves... Thank you for any kind of help or information! Regards, Velja --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 22:35:10 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C4DB16A418 for ; Sat, 22 Dec 2007 22:35:10 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.190]) by mx1.freebsd.org (Postfix) with ESMTP id D436D13C44B for ; Sat, 22 Dec 2007 22:35:09 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so1220956rvb.43 for ; Sat, 22 Dec 2007 14:35: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:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=UHjjO60IoK6Yo6oNaznIuqZVOKa3R1UIEBsBoVkeMuU=; b=FRbyUk4kc+Q/bOXzJLiu+Y0dSmDUIDkhbrzjwvugfBGQ/Kq96fjnfy7Nhtsy7M9LjsTVo8XFSup1cUxFIlSDWPIWjEuOkXe7a3btQII/ie+NxdRORhswB+srpfWRV7I6IprYBxk8CPh0cAwo8M8kVJiJxs4uQD6BT06jJDclx1o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=g2bfpBLe8C5ee9mGnJu7xI/Zv5I8SfOnh+Hso3jWCPtmF0xaDn1Pkgup9mWCPaPJdAhKV7De2kAufb+TW6DvVg1jTbR0ymXkfiwISJROwJgxdbz2QMTh8TMY1Yd9U9zlP0khzekYGaPyJxR9m+8lzf1K5U3OzUrx9fknQrWBXo4= Received: by 10.141.33.21 with SMTP id l21mr1601684rvj.140.1198362908899; Sat, 22 Dec 2007 14:35:08 -0800 (PST) Received: by 10.141.212.1 with HTTP; Sat, 22 Dec 2007 14:35:08 -0800 (PST) Message-ID: <9bbcef730712221435o1f1227a1l1ca840e1474aacfb@mail.gmail.com> Date: Sat, 22 Dec 2007 23:35:08 +0100 From: "Ivan Voras" Sender: ivoras@gmail.com To: "Ismail YENIGUL" In-Reply-To: <879443695.20071222190910@EnderUNIX.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1605513356.20071219221424@EnderUNIX.org> <879443695.20071222190910@EnderUNIX.org> X-Google-Sender-Auth: 0d99abbdd4bf5daf Cc: freebsd-database@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Re[2]: Turkish character sorting on PostgreSQL X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 22 Dec 2007 22:35:10 -0000 On 22/12/2007, Ismail YENIGUL wrote: > By the way, LC_COLLATE is link to the ../la_LN.US-ASCII/LC_COLLATE > in /usr/share/locale/tr_TR.ISO8859-9 directory. Does this mean that > LC_COLLATE is missing for tr_TR.ISO8859-9 ? Yes.