From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 00:40:11 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B71A1065688 for ; Sun, 5 Oct 2008 00:40:11 +0000 (UTC) (envelope-from dale.hagglund@gmail.com) Received: from hs-out-0708.google.com (hs-out-0708.google.com [64.233.178.248]) by mx1.freebsd.org (Postfix) with ESMTP id 2E5818FC1C for ; Sun, 5 Oct 2008 00:40:11 +0000 (UTC) (envelope-from dale.hagglund@gmail.com) Received: by hs-out-0708.google.com with SMTP id 54so741580hsz.11 for ; Sat, 04 Oct 2008 17:40:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :message-id:user-agent:mime-version:content-type; bh=fOw6tdAj3O6qChiG0Q0a5vE3iBLunOa2hDC6jrmMyHg=; b=TL9RixuV61LfIgel52yKmJKLsIcuHnUjhvOzlQ6Oo8PiHTJvl8jw9DTYT9FZC7ORWG mjabZpvSwbO31ezmoq5Ifxj/uLbkD8HzRPoOOgGqano+1YyvmBZm9Ju1IfFV+P8Hkxrs htHQlfe3RxNU0JvQEd7fDwLCqPUyGvHAE5sKk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; b=S1yA5GmPh/AJ4WJus/ifA6dx5OOsk2qjBQB7cu3fBmURJZCxLhS+j3oN8S0BhGtPUT LpCNDdqeWMYHu8KHGG0JyeACYlCakn0jAEfk3cwQMwIKcgYUzhFmfu2aZevTTyoi4BLJ hy5ET0T8J7qELJVV/lxT/Ehb9P28zQRi2Msa4= Received: by 10.64.10.2 with SMTP id 2mr4565291qbj.80.1223165575396; Sat, 04 Oct 2008 17:12:55 -0700 (PDT) Received: from ponoka.ab.hsia.telus.net (d205-206-84-231.abhsia.telus.net [205.206.84.231]) by mx.google.com with ESMTPS id p31sm7674029qbp.18.2008.10.04.17.12.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 04 Oct 2008 17:12:54 -0700 (PDT) From: Dale Hagglund To: freebsd-questions@freebsd.org Date: Sat, 04 Oct 2008 18:12:44 -0600 Message-ID: <86r66v6gsj.fsf@ponoka.ab.hsia.telus.net> User-Agent: Gnus/5.110008 (No Gnus v0.8) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: processes hanging in _umtx_op X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Oct 2008 00:40:11 -0000 While experimenting with gnuradio and latest packages for openoffice.org-3, I've run across a situation where a process hangs in the _umtx_op system call. The process can't be interrupted with SIGINT, but SIGQUIT kills it and generates a core dump. I can reproduce this reliably with $ python -c "import wx" I'm running 7.0-RELEASE-p2 with "uname -a" giving the following output, suitably wrapped. FreeBSD ponoka.ab.hsia.telus.net 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #0: Wed Jun 18 07:33:20 UTC 2008 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 I won't be at all surprised if this is some strange library compatibility problem I've introduced over time, but I'm at a loss as to how to track the problem further. I've attached the final few lines of the kdump output from the command above, and I can provide my current list of packages if necessary. Any advice or suggestions would be appreciated. Dale Hagglund ------------------------- start: kdump output ------------------------- 34453 python 1223164746.661828 CALL munmap(0x2aa00000,0xc1000) 34453 python 1223164746.661840 RET munmap 0 34453 python 1223164746.662541 CALL _umtx_op(0x283071e0,0x8,0x1,0x283071c0,0 ) 34453 python 1223164752.019372 RET _umtx_op -1 errno 4 Interrupted system c all 34453 python 1223164752.019433 PSIG SIGINT caught handler=0x80d8020 mask=0x0 code=0x0 34453 python 1223164752.019454 CALL getpid 34453 python 1223164752.019460 RET getpid 34453/0x8695 34453 python 1223164752.019471 CALL sigaction(SIGINT,0xbfbfaf3c,0xbfbfaf24) 34453 python 1223164752.019480 RET sigaction 0 34453 python 1223164752.019487 CALL sigreturn(0xbfbfafa0) 34453 python 1223164752.019497 RET sigreturn JUSTRETURN 34453 python 1223164752.019511 CALL _umtx_op(0x283071e0,0x8,0x1,0x283071c0,0 ) 34453 python 1223164752.856485 RET _umtx_op -1 errno 4 Interrupted system c all 34453 python 1223164752.856550 PSIG SIGINT caught handler=0x80d8020 mask=0x0 code=0x0 34453 python 1223164752.856571 CALL getpid 34453 python 1223164752.856577 RET getpid 34453/0x8695 34453 python 1223164752.856587 CALL sigaction(SIGINT,0xbfbfaf3c,0xbfbfaf24) 34453 python 1223164752.856597 RET sigaction 0 34453 python 1223164752.856604 CALL sigreturn(0xbfbfafa0) 34453 python 1223164752.856613 RET sigreturn JUSTRETURN 34453 python 1223164752.856628 CALL _umtx_op(0x283071e0,0x8,0x1,0x283071c0,0 ) 34453 python 1223164753.425922 RET _umtx_op -1 errno 4 Interrupted system c all 34453 python 1223164753.425984 PSIG SIGQUIT SIG_DFL 34453 python 1223164753.425997 NAMI "python.core" ------------------------- end: kdump output ------------------------- From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 01:19:54 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EACA21065686 for ; Sun, 5 Oct 2008 01:19:54 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id AF4A88FC0A for ; Sun, 5 Oct 2008 01:19:54 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id m951I6BU063705; Sat, 4 Oct 2008 21:18:06 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id m951I6t7063704; Sat, 4 Oct 2008 21:18:06 -0400 (EDT) (envelope-from jerrymc) Date: Sat, 4 Oct 2008 21:18:06 -0400 From: Jerry McAllister To: "Don O'Neil" Message-ID: <20081005011805.GA63673@gizmo.acns.msu.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Can't add new 1TB disk in FreeBSD 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 01:19:55 -0000 On Sat, Oct 04, 2008 at 04:43:14AM -0700, Don O'Neil wrote: > I just swapped out an old 500G disk with a 1TB one and I'm trying to label > it and mount it... > > If I run bsdlabel -w ad4, I get: > > bsdlabel: Geom not found > > If I run sysinstall, it tells me that it can't write to the disk. > > I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but that didn't > help. > > Can anyone help me get this new disk installed without having to boot off a > recovery CD? The server is 500 miles away from me and I don't have direct > console access. did you try doing a dd to the disk? Sometimes a new unwritten disk seems to need it. I don't know why. It is mentioned in the man page for bsdlabel - near the bottom in an example. dd f=/dev/zero of=/dev/ad4 bs=512 count=1000 or something like that. I have run in to this a couple of times in the past where the dd seemed to fix it. Anyway, it is getting near Halloween, so these mystery fixes may be appropriate... ////jerry > > Thanks!!! > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 01:30:19 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9358F106568E for ; Sun, 5 Oct 2008 01:30:19 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA04.westchester.pa.mail.comcast.net (qmta04.westchester.pa.mail.comcast.net [76.96.62.40]) by mx1.freebsd.org (Postfix) with ESMTP id 3E82B8FC1E for ; Sun, 5 Oct 2008 01:30:18 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA06.westchester.pa.mail.comcast.net ([76.96.62.51]) by QMTA04.westchester.pa.mail.comcast.net with comcast id Nmvo1a00P16LCl054pWJFi; Sun, 05 Oct 2008 01:30:18 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA06.westchester.pa.mail.comcast.net with comcast id NpWG1a00B2P6wsM3SpWGwk; Sun, 05 Oct 2008 01:30:17 +0000 X-Authority-Analysis: v=1.0 c=1 a=Kr3t3Te1lQgA:10 a=GofcrYdnE60A:10 a=QycZ5dHgAAAA:8 a=MOZZ0Ed4Hhrt8Do96DQA:9 a=skdDIm4j8oUK0t3ncXechcFGXvcA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 1EDDCC9419; Sat, 4 Oct 2008 18:30:16 -0700 (PDT) Date: Sat, 4 Oct 2008 18:30:16 -0700 From: Jeremy Chadwick To: Don O'Neil Message-ID: <20081005013016.GA71103@icarus.home.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Can't add new 1TB disk in FreeBSD 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 01:30:19 -0000 On Sat, Oct 04, 2008 at 04:43:14AM -0700, Don O'Neil wrote: > I just swapped out an old 500G disk with a 1TB one and I'm trying to label > it and mount it... > > If I run bsdlabel -w ad4, I get: > > bsdlabel: Geom not found > > If I run sysinstall, it tells me that it can't write to the disk. > > I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but that didn't > help. > > Can anyone help me get this new disk installed without having to boot off a > recovery CD? The server is 500 miles away from me and I don't have direct > console access. Can you provide output from dmesg, as well as "geom disk list"? -- | 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 Oct 5 02:29:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0584A106568E for ; Sun, 5 Oct 2008 02:29:28 +0000 (UTC) (envelope-from shinjii@exemail.com.au) Received: from acorn.exetel.com.au (acorn.exetel.com.au [220.233.0.21]) by mx1.freebsd.org (Postfix) with ESMTP id BCB788FC31 for ; Sun, 5 Oct 2008 02:29:27 +0000 (UTC) (envelope-from shinjii@exemail.com.au) Received: from localhost ([127.0.0.1] helo=webmail.exetel.com.au) by acorn.exetel.com.au with esmtp (Exim 4.68) (envelope-from ) id 1KmJ3A-00089D-H4 for freebsd-questions@freebsd.org; Sun, 05 Oct 2008 13:08:48 +1100 Received: from 58.96.43.196 (SquirrelMail authenticated user shinjii@exemail.com.au) by webmail.exetel.com.au with HTTP; Sun, 5 Oct 2008 13:08:48 +1100 (EST) Message-ID: <57267.58.96.43.196.1223172528.squirrel@webmail.exetel.com.au> Date: Sun, 5 Oct 2008 13:08:48 +1100 (EST) From: shinjii@exemail.com.au 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: Error Compiling qt4-designer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Oct 2008 02:29:28 -0000 Im running AMD64 FreeBSD7.1-PreRelease on KDE4.1.2, so far everything in upgrading was successful apart from the below issue .. any ideas/thoughts ? +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ../../../shared/qtgradienteditor/qtgradientstopsmodel.cpp:482: error: expected constructor, destructor, or type conversion at end of input *** Error code 1 2 errors *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 pkg_create: pkg_perform: unable to open contents file '/usr/ports/devel/qt4-designer/work/.PLIST.mktmp' for input *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 3 errors From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 04:31:38 2008 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 243091065688 for ; Sun, 5 Oct 2008 04:31:38 +0000 (UTC) (envelope-from mike.gordon@primus.ca) Received: from mail-01.primus.ca (smtp-noauth2.primus.ca [216.254.180.33]) by mx1.freebsd.org (Postfix) with ESMTP id 7A6A38FC18 for ; Sun, 5 Oct 2008 04:31:37 +0000 (UTC) (envelope-from mike.gordon@primus.ca) Received: from dsl-207-112-44-124.tor.primus.ca ([207.112.44.124] helo=primus.ca) by mail-01.primus.ca with esmtp (Exim 4.63) (envelope-from ) id 1KmKxt-0006rL-0x for questions@freebsd.org; Sun, 05 Oct 2008 00:11:30 -0400 From: "mike gordon" To: "questions" Message-ID: Date: Sun, 05 Oct 2008 00:06:42 -0400 MIME-Version: 1.0 X-Priority: 3 X-Mailer: Microsoft Office Outlook 12.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Websphere, Technology, HR, Oracle, Exchange, Dynamics, SQl, Technology, AJAX, AS400 , .NET, IBM customer lists X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Oct 2008 04:31:38 -0000 This email is to introduce our company Repharm and the services = we offer.=0D=0AAn international leader of sales and marketing = database products for high technology businesses. Repharm provides = installed customer lists for companies such as Oracle, PeopleSoft, = Siebel, etc. Our lists are continuously maintained to ensure = the highest level of accuracy and completeness. We have hundreds = of industry leaders as customers today - many whose names you = would recognize.=0D=0AIf you are interested, we could send you = a sample of one of our lists complete with summary information, = so that you could evaluate our content. To find out about the = various lists we have available, in preparation for any sales = or marketing campaigns that your organization may be considering = in future, we'd love to hear from you. Or, perhaps you'd be = interested in acquiring your competitors' customer lists? =0D=0AIf = you would like more information, please contact us at (905) = 721-8456 or email us at repharm1@aol.com=0D=0ABelow are just = some of the lists available:=0D=0AERP (ENTERPRISE RESOURCE PLANNING):=0D= =0ABaan=0D=0AJD Edwards=0D=0ALawson=0D=0AMade2Manage=0D=0AMapics=0D=0A= Marcam=0D=0AOracle=0D=0APeoplesoft=0D=0ASAP=0D=0ASSA=0D=0A =0D=0AE-BUS= INESS APPLICATIONS:=0D=0AAriba=0D=0ABMC=0D=0ABroadVision=0D=0ACommerce= One=0D=0AWebtrends=0D=0A =0D=0AMIDDLEWARE/CONNECTIVITY/APP = SERVERS/WEB SERVERS:=0D=0ABea Systems=0D=0AIona=0D=0AUnisys=0D=0A =0D=0A= OPERATING SYSTEMS/HARDWARE/SOFTWARE:=0D=0ACOMPAQ=0D=0AHP 3000=0D=0AHP = 9000=0D=0AHP-UX=0D=0AIBM AS/400=0D=0AIBM OS/390=0D=0ALotus Notes=0D=0A= Microsoft=0D=0ASun Microsystems=0D=0ADATABASE:=0D=0ADB2=0D=0AFileMaker= =0D=0AInformix=0D=0AOracle=0D=0ASQL=0D=0ASybaseCRM (CUSTOMER = RELATIONSHIP MANAGEMENT):=0D=0AClarify=0D=0AE.piphany=0D=0AHNC=0D=0AOn= yx=0D=0APivotal=0D=0ASiebel=0D=0AVantive=0D=0AXchange=0D=0A =0D=0ASUPP= LY CHAIN:=0D=0AAgile=0D=0Ai2 Technologies=0D=0AManugistics=0D=0AQAD=0D= =0AWebplan=0D=0ACOMMUNICATIONS:=0D=0ANortel=0D=0ACisco=0D=0A3com=0D=0A= Siemens=0D=0AAlcatel=0D=0ATelecom Vars=0D=0AASP's=0D=0ACLECS=0D=0AISP'= s=0D=0A =0D=0AE-COMMERCE:=0D=0ADot Com Directory=0D=0AConsultant = Directory=0D=0ASoftware Directory=0D=0A =0D=0AEXECUTIVE DIRECTORIES:=0D= =0AChief Executive Officer=0D=0AChief Financial Officer=0D=0AChief = Information Officer=0D=0AEngineering=0D=0AHuman Resources=0D=0APurchas= ing=0D=0ASales/Marketing=0D=0A =0D=0AINDUSTRY SPECIFIC LISTS:=0D=0AAgr= iculture, Forestry and Fishing, Communications, Construction,=0D=0AFin= ance, Insurance and Real Estate, Manufacturing, Mining, Public = Administration,=0D=0ARetail Trade, Services, Transportation,=0D=0AUtil= ities, Wholesale Trade From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 05:57:10 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE045106569F for ; Sun, 5 Oct 2008 05:57:10 +0000 (UTC) (envelope-from que_deseja@hotmail.com) Received: from blu0-omc1-s7.blu0.hotmail.com (blu0-omc1-s7.blu0.hotmail.com [65.55.116.18]) by mx1.freebsd.org (Postfix) with ESMTP id B727B8FC0A for ; Sun, 5 Oct 2008 05:57:10 +0000 (UTC) (envelope-from que_deseja@hotmail.com) Received: from BLU126-W35 ([65.55.116.7]) by blu0-omc1-s7.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 4 Oct 2008 22:57:10 -0700 Message-ID: X-Originating-IP: [98.192.204.41] From: Desmond Chapman To: , , Date: Sun, 5 Oct 2008 05:57:10 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 05 Oct 2008 05:57:10.0059 (UTC) FILETIME=[349CBFB0:01C926AF] Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: linux kernel 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, 05 Oct 2008 05:57:11 -0000 What linux kernel is the debian bsd emulating? Is it a 2.6.x or still a 2.4= .x?=20 And=2C since this crosses mailing lists=2C has anyone tried a virtualbox bu= ild on the debian kFreeBSD project? Will the FreeBSD project bring back linux emulation with Debian or is it go= ing to remain unsupported? _________________________________________________________________ Want to do more with Windows Live? Learn =9310 hidden secrets=94 from Jamie= . http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!5= 50F681DAD532637!5295.entry?ocid=3DTXT_TAGLM_WL_domore_092008= From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 07:32:43 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3254106564A; Sun, 5 Oct 2008 07:32:43 +0000 (UTC) (envelope-from k0802647@telus.net) Received: from defout.telus.net (defout.telus.net [204.209.205.13]) by mx1.freebsd.org (Postfix) with ESMTP id 54F368FC1D; Sun, 5 Oct 2008 07:32:43 +0000 (UTC) (envelope-from k0802647@telus.net) Received: from priv-edmwaa05.telusplanet.net ([204.209.205.55]) by priv-edmwes33.telusplanet.net (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20081005073242.MHJR15854.priv-edmwes33.telusplanet.net@priv-edmwaa05.telusplanet.net>; Sun, 5 Oct 2008 01:32:42 -0600 Received: from oliver.bc.lan (d75-157-28-2.bchsia.telus.net [75.157.28.2]) by priv-edmwaa05.telusplanet.net (BorderWare Security Platform) with ESMTP id 7AA204253C340B80; Sun, 5 Oct 2008 01:32:41 -0600 (MDT) Received: from [10.111.111.112] (unknown [10.111.111.112]) by oliver.bc.lan (Postfix) with ESMTP id 4786461E0; Sun, 5 Oct 2008 00:32:41 -0700 (PDT) Message-ID: <48E86D98.1080801@telus.net> Date: Sun, 05 Oct 2008 00:32:40 -0700 From: Carl User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <48E5C290.3000208@telus.net> <20081003083756.GA23663@icarus.home.lan> <20081003084003.GC23663@icarus.home.lan> In-Reply-To: <20081003084003.GC23663@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Jeremy Chadwick Subject: Re: Intel S3210SHLC motherboard and FreeBSD 7.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 07:32:43 -0000 Jeremy Chadwick wrote: > On Fri, Oct 03, 2008 at 01:37:56AM -0700, Jeremy Chadwick wrote: >> 2) BIOS: Thermal monitoring > > I should be more precise: I'm referring to things like fan speed > auto-slowdown or PWM. These boards often offer numerous methods of > throttling fans and other features. I *did* make some BIOS setting changes within the time frame of the unexpected reset-equals-power-cycle events, but I didn't notice whether there was a correlation. As regards getting USB flash thumb drives to boot, a new thumb drive, lots of reading and experimenting with obscure applications, and I've successfully got Damn Small Linux to boot with the aid of UNetbootin. FreeBSD 7.0 still won't boot, but I appear to have stumbled over a UNetbootin bug that FreeBSD probably can't be blamed for: https://bugs.launchpad.net/unetbootin/+bug/272219 That unfortunately leaves me still wondering whether the motherboard and/or that SATA DVD drive are compatible with FreeBSD 7.0 or not. Can anyone point me to instructions on how to create a FreeBSD 7.0 install USB thumb drive without the aid of UNetbootin? I've found bits and pieces on the 'net, but nothing complete. Surprising, actually, when you think about it. No one else out there with experience combining the Intel S3210SHLC motherboard and FreeBSD? Carl / K0802647 From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 08:03:36 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 105991065687 for ; Sun, 5 Oct 2008 08:03:36 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from web57003.mail.re3.yahoo.com (web57003.mail.re3.yahoo.com [66.196.97.107]) by mx1.freebsd.org (Postfix) with SMTP id 9BD2C8FC0C for ; Sun, 5 Oct 2008 08:03:35 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: (qmail 93142 invoked by uid 60001); 5 Oct 2008 08:03:35 -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:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=t1USg255s0Sdp0xij3EXuqYknT6GDnXJLcc54xtYyIn8bVi0nFX7MfCxMRD4w40l5r56yR8ksW0hj8R2LqeYt0B8MIr0U/wmNYO+TfWmzsVawpSH+XXh8JbzkfQgGi/65VgoqRdEu4dP6Lv6yoMz0enW8apZ2hc7RUAzXm3BJjU=; X-YMail-OSG: 9koVNgkVM1lGBIMiqfi8LvIti1H9BSrGRv4T05i_KNLIoAEIit7HZZJ15v1KOx_OSGotvrb601lWNx.jzXCW67i6WDvpvgN0MEUHpMesMs8SGAR6pGq2gKRKlzWGzm5cIu1qqqdlmI2vxWt7Sor0XaVxWRuu9LN6IMf5OisLaFi0IYr4ObuJQsHwQku5OeePC8Lp Received: from [220.255.7.197] by web57003.mail.re3.yahoo.com via HTTP; Sun, 05 Oct 2008 01:03:35 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Sun, 5 Oct 2008 01:03:35 -0700 (PDT) From: Unga To: freebsd-questions@freebsd.org In-Reply-To: <704489.78698.qm@web57004.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <37524.93110.qm@web57003.mail.re3.yahoo.com> Subject: Re: make buildkernel error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: unga888@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 08:03:36 -0000 --- On Sat, 10/4/08, Unga wrote: > I'm getting following compile error for > /usr/src/sys/i386/i386/genassym.c : > cc1: error: unrecognized command line option > "-mno-align-long-strings" > cc1: error: unrecognized command line option > "-fformat-extensions" > *** Error code 1 > I found in /usr/src/gnu/usr.bin/cc/cc_tools/i386-freebsd.opt: mno-align-long-strings Target RejectNegative Report Mask(NO_ALIGN_LONG_STRINGS) Do not align long strings specially What does FreeBSD mean by "Do not align long strings specially"? Best regards Unga From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 08:26:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 651291065690 for ; Sun, 5 Oct 2008 08:26:39 +0000 (UTC) (envelope-from k0802647@telus.net) Received: from defout.telus.net (defout.telus.net [204.209.205.13]) by mx1.freebsd.org (Postfix) with ESMTP id 33CE88FC12 for ; Sun, 5 Oct 2008 08:26:39 +0000 (UTC) (envelope-from k0802647@telus.net) Received: from priv-edmwaa04.telusplanet.net ([204.209.205.55]) by priv-edmwes23.telusplanet.net (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20081005082638.DED11592.priv-edmwes23.telusplanet.net@priv-edmwaa04.telusplanet.net> for ; Sun, 5 Oct 2008 02:26:38 -0600 Received: from oliver.bc.lan (d75-157-28-2.bchsia.telus.net [75.157.28.2]) by priv-edmwaa04.telusplanet.net (BorderWare Security Platform) with ESMTP id B02F353438301454 for ; Sun, 5 Oct 2008 02:35:55 -0600 (MDT) Received: from [10.111.111.112] (unknown [10.111.111.112]) by oliver.bc.lan (Postfix) with ESMTP id D9ABA61E0 for ; Sun, 5 Oct 2008 01:26:37 -0700 (PDT) Message-ID: <48E87A3D.8030302@telus.net> Date: Sun, 05 Oct 2008 01:26:37 -0700 From: Carl User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <48E345AF.6050409@telus.net> <20081001112826.GA20013@icarus.home.lan> <48E3DCB1.3010009@telus.net> In-Reply-To: <48E3DCB1.3010009@telus.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Cannot create custom FreeBSD 7.0 install CD for serial console X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Oct 2008 08:26:39 -0000 On Thu Oct 2 06:59:47 UTC 2008 Jonathan McKeown wrote: > On a system running 6.2-RELEASE, with a 6.2-RELEASE Disc 1 in the CD drive but > not mounted: > > mkdir serialcd > > tar xvfC /dev/acd0 serialcd > > These two commands created a directory tree in serialcd containing most of the > contents of the CD. There was a ``tar ignoring out-of-order file'' error, and > when I mounted the CD and ran > > diff -qr /cdrom serialcd > > it reported that RELNOTES.TXT differed - in fact the version in the serialcd > directory turned out to have zero length. [I suspect you could probably do > this comparison quicker with mtree, and I never did bother to fix it or find > out why it was happening] Thanks, Jonathan. So I've redone the process again. I'm working from the original ISO image instead of a physical CD copy of it, so I utilize step 4 from Jeremy Chadwick's document (http://jdc.parodius.com/freebsd/pxeboot_serial_install.html) to make the initial directory tree. There are no tar error messages. > I edited serialcd/boot/loader.conf to include the line > > console="comconsole" I did exactly that, although I also tried adding the following lines instead on a separate attempt: boot_multicons="NO" boot_serial="YES" comconsole_speed="115200" console="comconsole" > I then ran > > mkisofs -J -r -b boot/cdboot -no-emul-boot -o serialcd.iso serialcd > > and got an ISO image, serial.iso, which is about 600MB. Your switches are a little different from my original procedure, so this time I used yours. > The only drawback with this method is that the serial console only cuts in > just before the boot menu. I suspect that if you wanted to have a serial > console for every stage of the boot you would need to mess about with the > ramdisk image on the CD. So creating a boot.config in the root of the CD image cannot be used the way it is for a hard drive installation in order to solve that problem? Anyway, I didn't create a boot.config this time, so I should have ended up with a 7.0 equivalent of your 6.2 serialcd.iso, which I then burned and tried. End result? Abject failure again. All boot stages still use the internal console. Just after "Loading /boot/defaults/loader.conf" appears, there is a *very* long pause added as compared with the unmodified install CD. Eventually it resumes. Don't know why that's happening. Carl / K0802647 From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 08:42:22 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1BECD1065692 for ; Sun, 5 Oct 2008 08:42:22 +0000 (UTC) (envelope-from prvs=0165bdc1a9=Ludovit_Koren@tempest.sk) Received: from mx2.tempest.sk (mx2.tempest.sk [195.28.127.4]) by mx1.freebsd.org (Postfix) with ESMTP id C7B748FC1C for ; Sun, 5 Oct 2008 08:42:21 +0000 (UTC) (envelope-from prvs=0165bdc1a9=Ludovit_Koren@tempest.sk) Received: from localhost (localhost.localdomain [127.0.0.1]) by mx2.tempest.sk (Postfix) with ESMTP id D7805E808E for ; Sun, 5 Oct 2008 10:25:49 +0200 (CEST) X-Virus-Scanned: amavisd-new at tempest.sk Received: from mx2.tempest.sk ([127.0.0.1]) by localhost (igw2.tempest.sk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0wLf21+WA+nl for ; Sun, 5 Oct 2008 10:25:48 +0200 (CEST) Received: from mail.tempest.sk (unknown [195.28.100.45]) by mx2.tempest.sk (Postfix) with ESMTP for ; Sun, 5 Oct 2008 10:25:48 +0200 (CEST) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: Text/Plain; charset=us-ascii Received: from lk107.tempest.sk ([195.28.109.37]) by mail.tempest.sk (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPA id <0K89001C8BF09F10@mail.tempest.sk> for freebsd-questions@freebsd.org; Sun, 05 Oct 2008 10:25:48 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: koren@tempest.sk) by lk107.tempest.sk (Postfix) with ESMTPA id 861481CC20; Sun, 05 Oct 2008 10:26:22 +0200 (CEST) Date: Sun, 05 Oct 2008 10:26:19 +0200 (CEST) Message-id: <20081005.102619.40572501.koren@tempest.sk> To: freebsd-questions@freebsd.org From: Ludovit Koren X-Mailer: Mew version 6.1 on Emacs 22.2 / Mule 5.0 (SAKAKI) Subject: HP DL 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: Sun, 05 Oct 2008 08:42:22 -0000 Hi, I would like to buy HP servers DL 320 G5p or DL 360 G5p. I googled but did not find clear answer if the NICs and disk controllers are supported in FreeBSD 7.x. I read about some problems with NIC in DL 360 but it was not actual and I am not sure about disk controller in DL 320. Any personal recommendations and experience with the servers are welcomed. Thank you very much in advance. Regards, lk From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 08:48:44 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83AAC1065696 for ; Sun, 5 Oct 2008 08:48:44 +0000 (UTC) (envelope-from CQG00620@nifty.ne.jp) Received: from mail.asahi-net.or.jp (mail2.asahi-net.or.jp [202.224.39.198]) by mx1.freebsd.org (Postfix) with ESMTP id 33F0B8FC0C for ; Sun, 5 Oct 2008 08:48:43 +0000 (UTC) (envelope-from CQG00620@nifty.ne.jp) Received: from asahi-net.jp (l205089.dynamic.ppp.asahi-net.or.jp [218.219.205.89]) by mail.asahi-net.or.jp (Postfix) with ESMTP id 1F6E65FC50; Sun, 5 Oct 2008 17:30:34 +0900 (JST) Date: Sun, 05 Oct 2008 17:30:16 +0900 From: WATANABE Kazuhiro To: freebsd-questions In-Reply-To: <200810011546.29798.jmc-freebsd2@milibyte.co.uk> References: <200810011546.29798.jmc-freebsd2@milibyte.co.uk> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.7 Emacs/21.3 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Message-Id: <20081005083034.1F6E65FC50@mail.asahi-net.or.jp> Cc: Mike Clarke Subject: Re: Canon Pixma iP4500 - problem with colours X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Oct 2008 08:48:44 -0000 Hello, At Wed, 1 Oct 2008 15:46:29 +0100, Mike Clarke wrote: > I've just installed a Canon Pixma iP4500 on a 6.3 system using CUPS and > gutenprint. Black printing is fine but I've got problems with colours. > The colour wheel on the CUPS test page comes out as a psychedelic > collection of brightly coloured rings. If I print from gimp then the > correct colours appear but they are very dark and "muddy". The colours > start to look a bit more reasonable from the gimp if I push the gamma > value up to 2. > > This isn't a physical problem with the printer, I get good results when > printing from Windows. > > Should I be able to get correct colour rendering "out of the box" or do > I have to fiddle about with the multitude of output control adjustments > available on the CUPS admin panel? > > Or should I be using something other than CUPS, that's what I've always > used so far but I'm happy to try alternatives if necessary. I've used Canon MP810 with CUPS and "IJ Printer Driver" for Linux (supplied by Canon) on FreeBSD. Canon doesn't supply the printer driver for MP810, but I've been able to use the printer with the driver for MP610. These printer specs are very similar. I don't use the printer from FreeBSD so many time, but printing an web page from firefox and the "Print Test Page" from http://localhost:631/ are fine. That color print has no defferences between the Windows's one. So you will be able to use Canon iP4500 (and MP610/MP520/iP3500) with the procedure below [1]. 1. Installng necessary ports 1.1. For the PS to Canon IJ filter print/cups emulators/linux_base-fc4 graphics/linux-jpeg graphics/linux-png graphics/linux-tiff archivers/rpm2cpio 1.2. For compiling the Canon CUPS filter devel/autotools devel/gmake shells/bash 2. Read /usr/ports/print/cups-base/pkg-message, and set some necessary settings. 3. Set the following lines to /etc/rc.conf: linux_enable="YES" cupsd_enable="YES" 4. Download the IJ Printer Driver Ver.2.80 for Linux The following two archives are required: IJ Printer Driver Ver. 2.80 for Linux (rpm Package for iP4500 series) cnijfilter-ip4500series-2.80-1.i386.rpm IJ Printer Driver Ver. 2.80 for Linux (Source file) cnijfilter-common-2.80-1.tar.gz These archives are available at the following sites: Canon Australia - Drivers http://www.canon.com.au/drivers/ Canon Singapore - Support & Download Search http://support-asia.canon-asia.com/ Canon in Japan - "Software Download - Other OSes" (in Japanese) http://cweb.canon.jp/drv-upd/bj/other.html#linux 5. Installing the binary package for iP4500, and a printing test 5.1. Install $ mkdir ip4500 # working directory $ cd ip4500 $ rpm2cpio /PATH/TO/cnijfilter-ip4500series-2.80-1.i386.rpm | cpio -ivd $ su Password: # cp -Ri ./usr /compat/linux/ # /compat/linux/sbin/ldconfig -r /compat/linux 5.2. Printing test (ASCII text) It uses a2ps (ports/print/a2ps-a4). $ su Password: # a2ps -B --borders=no ascii-text.txt | \ gs -q -r600 -dSAFER -dNOPAUSE -dBATCH -sDEVICE=ppmraw -sOutputFile=- - | \ /compat/linux/usr/local/bin/cifip4500 --imageres 600 --media plain > \ /dev/ulpt0 6. Compiling the Canon CUPS filter, and a printing test 6.1. Compile Extract the common source archive, and apply a patch: http://homepage2.nifty.com/dumb_show/unix/cnijfilter-common-2.80-freebsd.diff The patch file is not my original. I got a patch for "Canon Inkjet Print Filter Ver.2.60 for Linux" from http://tabochan.f2g.net/pixus.html (currently the site is down) and modified it for 2.70 and 2.80. Then compile and install the necessary (not all) program. $ mkdir common # working directory $ cd common $ tar zxvf /PATH/TO/cnijfilter-common-2.80-1.tar.gz $ patch < /PATH/TO/cnijfilter-common-2.80-freebsd.diff $ cd cnijfilter-common-2.80/libs $ ./autogen.sh $ gmake $ cd ../pstocanonij $ ./autogen.sh $ gmake $ cd ../ $ su Password: # cp -i pstocanonij/filter/pstocanonij /usr/local/libexec/cups/filter/ # cp -i ppd/*.ppd /usr/local/share/cups/model/ 6.2. Printing test Register the printer. $ su Password: # /usr/local/etc/rc.d/cupsd restart # lpadmin -p PIXUSIP4500 -m canonip4500.ppd -v usb:/dev/ulpt0 -E Finally visit http://localhost:631/ with an web browser, and click "Printers" -> "Print Test Page". [1] The original text was posted to the FreeBSD Japansese mailing list. http://www.mail-archive.com/freebsd-users-jp@jp.freebsd.org/msg02592.html --- WATANABE Kazuhiro (CQG00620@nifty.ne.jp) From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 09:02:37 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1541210656A2 for ; Sun, 5 Oct 2008 09:02:37 +0000 (UTC) (envelope-from edwin@k7.mavetju.org) Received: from k7.mavetju.org (ppp121-44-84-99.lns10.syd6.internode.on.net [121.44.84.99]) by mx1.freebsd.org (Postfix) with ESMTP id C3D2D8FC0A for ; Sun, 5 Oct 2008 09:02:36 +0000 (UTC) (envelope-from edwin@k7.mavetju.org) Received: by k7.mavetju.org (Postfix, from userid 1001) id 78C6E45026; Sun, 5 Oct 2008 19:48:01 +1100 (EST) Date: Sun, 5 Oct 2008 19:48:01 +1100 From: Edwin Groothuis To: freebsd-questions@FreeBSD.org Message-ID: <20081005084801.GA47322@mavetju.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <946647.40848.qm@web51103.mail.re2.yahoo.com> User-Agent: Mutt/1.4.2.3i Cc: Dino Vliet Subject: Re: gmirror prerequisite 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, 05 Oct 2008 09:02:37 -0000 Today I mirrored my new harddisk with the instructions at http://www.freebsddiary.org/gmirror.php Right now I'm synchronized up to 65% :-) Edwin -- Edwin Groothuis Website: http://www.mavetju.org/ edwin@mavetju.org Weblog: http://www.mavetju.org/weblog/ From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 09:07:37 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 821891065697 for ; Sun, 5 Oct 2008 09:07:37 +0000 (UTC) (envelope-from edwin@k7.mavetju.org) Received: from k7.mavetju.org (ppp121-44-84-99.lns10.syd6.internode.on.net [121.44.84.99]) by mx1.freebsd.org (Postfix) with ESMTP id 3CBDE8FC26 for ; Sun, 5 Oct 2008 09:07:37 +0000 (UTC) (envelope-from edwin@k7.mavetju.org) Received: by k7.mavetju.org (Postfix, from userid 1001) id 36FC74502B; Sun, 5 Oct 2008 19:51:05 +1100 (EST) Date: Sun, 5 Oct 2008 19:51:05 +1100 From: Edwin Groothuis To: freebsd-questions@FreeBSD.org Message-ID: <20081005085105.GA47348@mavetju.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200810032028.45073.shinjii@maydias.com> User-Agent: Mutt/1.4.2.3i Cc: Warren Liddell Subject: Re: Utility to extract iso files without burning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Oct 2008 09:07:37 -0000 Use tar. Simple FreeBSD tar, it's good for everything. -- Edwin Groothuis Website: http://www.mavetju.org/ edwin@mavetju.org Weblog: http://www.mavetju.org/weblog/ From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 09:08:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 712591065699 for ; Sun, 5 Oct 2008 09:08:07 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 63DA08FC1E for ; Sun, 5 Oct 2008 09:08:05 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m9597xED005128; Sun, 5 Oct 2008 11:07:59 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m9597wtH005125; Sun, 5 Oct 2008 11:07:59 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 5 Oct 2008 11:07:58 +0200 (CEST) From: Wojciech Puchar To: "Don O'Neil" In-Reply-To: <10435563D3EC45D8A9AE00AECF113945@mickey> Message-ID: <20081005110745.T5124@wojtek.tensor.gdynia.pl> References: <20081004181923.N2683@wojtek.tensor.gdynia.pl> <4A5E18EB2ED142C2B97EFD5A82AA805F@mickey> <8e10486b0810041351je5262fbi3bee00f47ef3bc68@mail.gmail.com> <10435563D3EC45D8A9AE00AECF113945@mickey> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org, 'Alexandre Biancalana' Subject: RE: Can't add new 1TB disk in FreeBSD 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 09:08:07 -0000 >> >> >> I tried using fdisk first, same problem, won't let me write to the disk. > > Do you will use the entire disk in one partition ? If so, just do: > newfs /dev/ad4 > yes you can. i actually do this From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 09:32:24 2008 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 794A31065688 for ; Sun, 5 Oct 2008 09:32:24 +0000 (UTC) (envelope-from frank.cam@webprophets.net.au) Received: from mail.webprophets.net.au (mail.webprophets.net.au [210.9.174.2]) by mx1.freebsd.org (Postfix) with ESMTP id 055258FC1C for ; Sun, 5 Oct 2008 09:32:24 +0000 (UTC) (envelope-from frank.cam@webprophets.net.au) Received: from localhost (localhost [127.0.0.1]) by mail.webprophets.net.au (Postfix) with ESMTP id 5CC2753D182 for ; Sun, 5 Oct 2008 19:20:51 +1000 (EST) X-Virus-Scanned: amavisd-new at webprophets.net.au Received: from mail.webprophets.net.au ([127.0.0.1]) by localhost (mail.webprophets.net.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eH4Cj9zNgX7A for ; Sun, 5 Oct 2008 19:20:46 +1000 (EST) Received: by mail.webprophets.net.au (Postfix, from userid 65534) id F029F53D184; Sun, 5 Oct 2008 19:20:45 +1000 (EST) Received: from 210.56.85.107 ( [210.56.85.107]) as user frank.cam@mail.webprophets.net.au by webmail.webprophets.net.au with HTTP; Sun, 5 Oct 2008 19:20:45 +1000 Message-ID: <1223198445.48e886ede1ea7@webmail.webprophets.net.au> Date: Sun, 5 Oct 2008 19:20:45 +1000 From: frank.cam@webprophets.net.au To: questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1 X-Originating-IP: 210.56.85.107 Cc: Subject: CARP issue with 2 Masters X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Oct 2008 09:32:24 -0000 Hi I have CARP running on a master and a slave server and for some unknown reason the slave continues to classify itself as a master, even though the advskew is higher than on the master. It appears that queries sent to the CARP ip address go to the master 50% of the time and the slave 50% of the time when both servers are up. This plays havoc with my databases as I synchronise them asynchronously. When I take the carp interface down on the slave using 'ifconfig carp0 down && ifconfig carp0 up' it lists it's status as 'backup' for about 10 seconds and then goes back to 'master'. Both servers run identical versions of FreeBSD 7.0 with all the same installed ports on identical hardware. The kernel has the following differences from the standard amd64 kernel: ident DBKERNEL options SCHED_ULE device carp The standard kernel includes "options PREEMPTION" which is mentioned as a possible problem in the handbook with the slave not relinquishing the ip address when the master comes back, but that's not exactly what I'm getting here. Here are the relevant setup details for the boxes. MASTER uname -a FreeBSD dbmaster.xxx.net 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #1: Fri Oct 3 13:54:35 EST 2008 xxx@dbmaster.xxx.net:/usr/obj/usr/src/sys/DBKERNEL amd64 /etc/rc.conf ifconfig_em2="inet 192.168.2.11 netmask 255.255.255.248" cloned_interfaces="carp0" ifconfig_carp0="vhid 1 pass mypassword 192.168.2.10/29" ifconfig em2: flags=8943 metric 0 mtu 1500 options=9b ether 00:14:22:20:b0:dc inet 192.168.2.11 netmask 0xfffffff8 broadcast 192.168.2.15 media: Ethernet autoselect (100baseTX ) status: active carp0: flags=49 metric 0 mtu 1500 inet 192.168.2.10 netmask 0xfffffff8 carp: MASTER vhid 1 advbase 1 advskew 0 SLAVE uname -a FreeBSD dbslave.xxx.net 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #1: Fri Oct 3 13:54:42 EST 2008 xxx@dbslave.xxx.net:/usr/obj/usr/src/sys/DBKERNEL amd64 /etc/rc.conf ifconfig_em2="inet 192.168.2.12 netmask 255.255.255.248" cloned_interfaces="carp0" ifconfig_carp0="vhid 1 advskew 200 pass mypassword 192.168.2.10/29" ifconfig em2: flags=8843 metric 0 mtu 1500 options=9b ether 00:14:22:1d:15:d0 inet 192.168.2.12 netmask 0xfffffff8 broadcast 192.168.2.15 media: Ethernet autoselect (100baseTX ) status: active carp0: flags=49 metric 0 mtu 1500 inet 192.168.2.10 netmask 0xfffffff8 carp: MASTER vhid 1 advbase 1 advskew 200 With the advskew on the 'slave', I've tried values of 100, 200, 230, 240 and 250 with no difference in performance. I've also tried ifconfig_carp0="vhid 1 advskew 200 pass mypassword backup 192.168.2.10/29" on the slave but this simply locks it into INIT. I can't figure out if I missed a step in the documentation, made a silly mistake in my setup, or found a bug. Any help would be greatly appreciated. Thank you -------------------------------------------------------------------- Come and visit Web Prophets Website at http://www.webprophets.net.au From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 10:11:45 2008 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 ADB371065692 for ; Sun, 5 Oct 2008 10:11:45 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 318D88FC08 for ; Sun, 5 Oct 2008 10:11:44 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id m95ABaN8075999; Sun, 5 Oct 2008 11:11:37 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk m95ABaN8075999 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1223201497; bh=s9er259PV106Cp xQwGKLx5/12+PLZsj+68XNRMRBOJc=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type:Cc:Content-Type: Date:From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Mes sage-ID:=20<48E892D2.6050409@infracaninophile.co.uk>|Date:=20Sun,=2 005=20Oct=202008=2011:11:30=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.17=20(X11/20080929)|MIME-Version:=201 .0|To:=20frank.cam@webprophets.net.au|CC:=20questions@freebsd.org|S ubject:=20Re:=20CARP=20issue=20with=202=20Masters|References:=20<12 23198445.48e886ede1ea7@webmail.webprophets.net.au>|In-Reply-To:=20< 1223198445.48e886ede1ea7@webmail.webprophets.net.au>|X-Enigmail-Ver sion:=200.95.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-s ha256=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A=20 boundary=3D"------------enigA04EDA0AFBBC8B5BAEDA4C58"; b=f3qqpjhNdY XtD5aHWHNIdY0OHu8j9E9vd998ihCt4xwCGk0EE8a2APYZ6+Bd0xmF60LYOhZqjpCuf cIBronbhBe5FoyS/mx45qbOMl5+12FyczmttRoyxos4k9m4akhUHWEAa2RIdsid7aMg 6WF/A5U3TInJDr+7zSheLZ7i8mg= Message-ID: <48E892D2.6050409@infracaninophile.co.uk> Date: Sun, 05 Oct 2008 11:11:30 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.17 (X11/20080929) MIME-Version: 1.0 To: frank.cam@webprophets.net.au References: <1223198445.48e886ede1ea7@webmail.webprophets.net.au> In-Reply-To: <1223198445.48e886ede1ea7@webmail.webprophets.net.au> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigA04EDA0AFBBC8B5BAEDA4C58" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Sun, 05 Oct 2008 11:11:37 +0100 (BST) X-Virus-Scanned: ClamAV 0.94/8374/Sat Oct 4 18:41:34 2008 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,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: questions@freebsd.org Subject: Re: CARP issue with 2 Masters X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Oct 2008 10:11:45 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA04EDA0AFBBC8B5BAEDA4C58 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable frank.cam@webprophets.net.au wrote: > I have CARP running on a master and a slave server and for some unknown= reason=20 > the slave continues to classify itself as a master, even though the adv= skew is=20 > higher than on the master.=20 > It appears that queries sent to the CARP ip address go to the master 50= % of the=20 > time and the slave 50% of the time when both servers are up. This plays= havoc=20 > with my databases as I synchronise them asynchronously. >=20 > When I take the carp interface down on the slave using 'ifconfig carp0 = down &&=20 > ifconfig carp0 up' it lists it's status as 'backup' for about 10 second= s and=20 > then goes back to 'master'. Have you by any chance firewalled out the multicast packets that CARP use= s to test for interface death? If either one of a CARP pair can't see CARP= packets frequently enough it will think the other is down and promote itself to m= aster. If your firewall is blocking, then add a rule like this on both machines:= pass quick on $ext_if proto carp \ from $ext_if:network to $carp_mcast keep state $carp_mcast is defined as "224.0.0.18" Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enigA04EDA0AFBBC8B5BAEDA4C58 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.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkjoktgACgkQ8Mjk52CukIwz6gCggMWJ3yZmwbodC8uJcRTyrASr obUAn2e/vci+mclsGHFDBDnjH5n8FHtQ =u8UF -----END PGP SIGNATURE----- --------------enigA04EDA0AFBBC8B5BAEDA4C58-- From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 10:19:22 2008 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 56F0B1065697; Sun, 5 Oct 2008 10:19:22 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [91.103.162.4]) by mx1.freebsd.org (Postfix) with ESMTP id D10C08FC14; Sun, 5 Oct 2008 10:19:21 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id AA2EC19E023; Sun, 5 Oct 2008 12:03:02 +0200 (CEST) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id A22DB19E019; Sun, 5 Oct 2008 12:02:59 +0200 (CEST) Message-ID: <48E890F5.70800@quip.cz> Date: Sun, 05 Oct 2008 12:03:33 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: Ian Smith References: <48E7B80F.8040602@gmail.com> <18663.48601.45230.57747@almost.alerce.com> <18663.49808.808955.271579@almost.alerce.com> <20081005154926.V49572@sola.nimnet.asn.au> In-Reply-To: <20081005154926.V49572@sola.nimnet.asn.au> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: jail@freebsd.org, questions@freebsd.org, Redd Vinylene Subject: Re: Problems moving my jails (mv: Operation not permitted) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Oct 2008 10:19:22 -0000 Ian Smith wrote: > On Sat, 4 Oct 2008, Redd Vinylene wrote: > > On Sat, Oct 4, 2008 at 9:22 PM, George Hartzell wrote: > > > Redd Vinylene writes: > > > > On Sat, Oct 4, 2008 at 9:02 PM, George Hartzell wrote: > > > > > > > > > > If you do an ls -lo /home/jail/box/usr/bin/chpass, you'll probably see > > > > > the schg flag set. Man chflags for more info and instructions on how > > > > > to unset it > > > > > > > > > > g. > > > > > > > > > > > > > Yes: > > > > > > > > -r-sr-xr-x 6 root wheel schg 18468 Aug 2 19:47 /usr/jail/box/usr/bin/chpass > > > > > > > > So I'd simply have to "chflags noschg /usr/jail/box/usr/bin/chpass" > > > > and then "cp /usr/jail/box/usr/bin/chpass > > > > /home/jail/box/usr/bin/chpass"? > > > > > > I think that you ought to be able to cp it as is. You're just not > > > allowed to change the original (e.g. remove it), which is why your mv > > > and rm failed. > > > > > > g. > > > > > > > I've been told that changing flags might seriously mess things up. Is > > there any way to copy the remaining files from /usr/jail into > > /home/jail, or do I have to rebuild everything from scratch? > > Having read the thread to date, I reckon you should: > > a) find(1) all schg files in your jails (was chpass the only one?) > b) clear the schg flag on any such found as above (-R if you like) > c) use mv as you originally intended (if they're still there :) > d) chflags schg on all files that were originally set that way. > > If you do use cp instead of mv, make sure to use cp -p to preserve > each file's owner/group/permissions/datestamp. > > e) make sure any and all symlinks still point to the right file/s. > > Personally I'd use cp -pR rather than mv in case I stuffed it up :) but > then being perhaps overcautious I'd have started off with a 'ls -lR > /usr/jail > listfile' (if I hadn't made a backup tar) to at least have a > full list of what was where, with what user/perms etc .. > > Also read cp(1) re -R flag carefully .. if there are any hard linked > files, as there may well be, then using tar to move these would be > the safest bet anyway - plus you'd have a backup .. next time anyway :) > > Since it just failed to mv some files, you shouldn't need to rebuild if > you can mv those files and reset their flags/permissions correctly. Yes, there are hardlinks, so "the best" way to move all files with preserving flags, permissions, links etc is something like this: [copy jails by tar (or use cpio if you prefer)] tar -cf - -C /usr/jail . | tar -xpf - -C /home/jail [remove flags from old jail files] chflags -R noschg /usr/jail [remove old jail files] rm -r /usr/jail But it applies only in case before you use chflags -R noschg on original files (as you post earlier - now you do not have flags anymore) Another way is to use getfacl/setfacl or mtree to get backup of original files permissions and restore them later. Miroslav Lachman From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 10:24:24 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B73C11065686 for ; Sun, 5 Oct 2008 10:24:24 +0000 (UTC) (envelope-from fazaeli@sepehrs.com) Received: from sepehrs.com (mail2.sepehrs.com [213.217.59.98]) by mx1.freebsd.org (Postfix) with ESMTP id E5DD28FC17 for ; Sun, 5 Oct 2008 10:24:23 +0000 (UTC) (envelope-from fazaeli@sepehrs.com) Received: from [192.168.1.180] ([192.168.1.180]) by sepehrs.com (8.13.6/8.13.6) with ESMTP id m95ABlNK006296; Sun, 5 Oct 2008 13:41:47 +0330 (IRST) (envelope-from fazaeli@sepehrs.com) Message-ID: <48E892D1.60104@sepehrs.com> Date: Sun, 05 Oct 2008 13:41:29 +0330 From: "H.fazaeli" User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Ludovit Koren References: <20081005.102619.40572501.koren@tempest.sk> In-Reply-To: <20081005.102619.40572501.koren@tempest.sk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Sepehr-MailScanner-Information: Please contact the ISP for more information X-Sepehr-MailScanner: Found to be clean X-Sepehr-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.399, required 5, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60) X-MailScanner-From: fazaeli@sepehrs.com X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: HP DL 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: Sun, 05 Oct 2008 10:24:24 -0000 HP servers usually have NICs with broadcom or intel chipsets which are recognized as bge and em under freebsd and work great. We have the following configurations and they work fine: - freebsd 6.3 on dl320G5 with on-board broadcom network chipset and SATA HDDs. We had problems with hardware RAID and used geom to impl. RAID functionality. - freebsd 6.3 on dl380G5 with SAS HDDs. Hardware RAID controller is recognized by 6.3 and works. Ludovit Koren wrote: > Hi, > > I would like to buy HP servers DL 320 G5p or DL 360 G5p. I googled but > did not find clear answer if the NICs and disk controllers are > supported in FreeBSD 7.x. I read about some problems with NIC in DL > 360 but it was not actual and I am not sure about disk controller > in DL 320. > > Any personal recommendations and experience with the servers are > welcomed. > > Thank you very much in advance. > > Regards, > > lk > _______________________________________________ > 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" > > > -- Best regards. Hooman Fazaeli Sepehr S. T. Co. Ltd. Web: http://www.sepehrs.com Tel: (9821)88975701-2 Fax: (9821)88983352 From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 10:41:53 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56AE91065687 for ; Sun, 5 Oct 2008 10:41:53 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) 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 3A0EC8FC0A for ; Sun, 5 Oct 2008 10:41:53 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA06.emeryville.ca.mail.comcast.net ([76.96.30.51]) by QMTA05.emeryville.ca.mail.comcast.net with comcast id NyQY1a00616AWCUA5yhst2; Sun, 05 Oct 2008 10:41:52 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA06.emeryville.ca.mail.comcast.net with comcast id Nyhr1a0062P6wsM8Syhsuk; Sun, 05 Oct 2008 10:41:52 +0000 X-Authority-Analysis: v=1.0 c=1 a=1jPebNEPyfMA:10 a=3bd3AhXqXggA:10 a=QycZ5dHgAAAA:8 a=zKI2fCkgiCeG7NOthukA:9 a=2UA-kFNxweVIPHkf2huf7j_D8AUA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 7B8A2C9419; Sun, 5 Oct 2008 03:41:51 -0700 (PDT) Date: Sun, 5 Oct 2008 03:41:51 -0700 From: Jeremy Chadwick To: Carl Message-ID: <20081005104151.GA82084@icarus.home.lan> References: <48E345AF.6050409@telus.net> <20081001112826.GA20013@icarus.home.lan> <48E3DCB1.3010009@telus.net> <48E87A3D.8030302@telus.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48E87A3D.8030302@telus.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Cannot create custom FreeBSD 7.0 install CD for serial console X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Oct 2008 10:41:53 -0000 On Sun, Oct 05, 2008 at 01:26:37AM -0700, Carl wrote: > On Thu Oct 2 06:59:47 UTC 2008 Jonathan McKeown wrote: >> On a system running 6.2-RELEASE, with a 6.2-RELEASE Disc 1 in the CD >> drive but not mounted: >> >> mkdir serialcd >> >> tar xvfC /dev/acd0 serialcd >> >> These two commands created a directory tree in serialcd containing most >> of the contents of the CD. There was a ``tar ignoring out-of-order >> file'' error, and when I mounted the CD and ran >> >> diff -qr /cdrom serialcd >> >> it reported that RELNOTES.TXT differed - in fact the version in the >> serialcd directory turned out to have zero length. [I suspect you could >> probably do this comparison quicker with mtree, and I never did bother >> to fix it or find out why it was happening] > > Thanks, Jonathan. So I've redone the process again. I'm working from the > original ISO image instead of a physical CD copy of it, so I utilize > step 4 from Jeremy Chadwick's document > (http://jdc.parodius.com/freebsd/pxeboot_serial_install.html) to make > the initial directory tree. There are no tar error messages. > >> I edited serialcd/boot/loader.conf to include the line >> >> console="comconsole" > > I did exactly that, although I also tried adding the following lines > instead on a separate attempt: > > boot_multicons="NO" > boot_serial="YES" > comconsole_speed="115200" > console="comconsole" > >> I then ran >> >> mkisofs -J -r -b boot/cdboot -no-emul-boot -o serialcd.iso serialcd >> >> and got an ISO image, serial.iso, which is about 600MB. > > Your switches are a little different from my original procedure, so this > time I used yours. > >> The only drawback with this method is that the serial console only cuts >> in just before the boot menu. I suspect that if you wanted to have a >> serial console for every stage of the boot you would need to mess about >> with the ramdisk image on the CD. > > So creating a boot.config in the root of the CD image cannot be used the > way it is for a hard drive installation in order to solve that problem? Correct. It has to "be done differently", since the bootstraps used from the CD are different than those on a hard disk. I choose not to use the loader.conf variables because I feel they get read "too late" into the boot process. For the record, I've never done a CD-based install via serial. -- | 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 Oct 5 10:43:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E50FB1065687 for ; Sun, 5 Oct 2008 10:43:06 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA04.emeryville.ca.mail.comcast.net (qmta04.emeryville.ca.mail.comcast.net [76.96.30.40]) by mx1.freebsd.org (Postfix) with ESMTP id C52988FC08 for ; Sun, 5 Oct 2008 10:43:06 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA08.emeryville.ca.mail.comcast.net ([76.96.30.12]) by QMTA04.emeryville.ca.mail.comcast.net with comcast id NyWi1a0030FhH24A4yj61e; Sun, 05 Oct 2008 10:43:06 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA08.emeryville.ca.mail.comcast.net with comcast id Nyit1a0032P6wsM8UyiuuS; Sun, 05 Oct 2008 10:43:06 +0000 X-Authority-Analysis: v=1.0 c=1 a=Kr3t3Te1lQgA:10 a=GofcrYdnE60A:10 a=QycZ5dHgAAAA:8 a=HX8JAh-eiJgF4cEj_gAA:9 a=EqyLhXtXOITSuCW1pOZuNunNnTwA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id B0678C941A; Sun, 5 Oct 2008 03:42:53 -0700 (PDT) Date: Sun, 5 Oct 2008 03:42:53 -0700 From: Jeremy Chadwick To: Wojciech Puchar Message-ID: <20081005104253.GB82084@icarus.home.lan> References: <20081004181923.N2683@wojtek.tensor.gdynia.pl> <4A5E18EB2ED142C2B97EFD5A82AA805F@mickey> <8e10486b0810041351je5262fbi3bee00f47ef3bc68@mail.gmail.com> <10435563D3EC45D8A9AE00AECF113945@mickey> <20081005110745.T5124@wojtek.tensor.gdynia.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081005110745.T5124@wojtek.tensor.gdynia.pl> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Don O'Neil , freebsd-questions@freebsd.org, 'Alexandre Biancalana' Subject: Re: Can't add new 1TB disk in FreeBSD 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 10:43:07 -0000 On Sun, Oct 05, 2008 at 11:07:58AM +0200, Wojciech Puchar wrote: >>> >>> >>> I tried using fdisk first, same problem, won't let me write to the disk. >> >> Do you will use the entire disk in one partition ? If so, just do: >> newfs /dev/ad4 >> > yes you can. i actually do this Isn't this what's called "Dangerously Dedicated" mode, and is considered "very risky behaviour" on FreeBSD nowadays? I would be wary of doing it that way. Using slices is the preferred method, e.g. newfs /dev/ad4s1a. -- | 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 Oct 5 10:46:10 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA7531065688 for ; Sun, 5 Oct 2008 10:46:10 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from ptb-relay03.plus.net (ptb-relay03.plus.net [212.159.14.147]) by mx1.freebsd.org (Postfix) with ESMTP id 9EFC08FC0A for ; Sun, 5 Oct 2008 10:46:10 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from [84.92.153.232] (helo=kestrel.milibyte.co.uk) by ptb-relay03.plus.net with esmtp (Exim) id 1KmR7o-0003wG-Hi for freebsd-questions@freebsd.org; Sun, 05 Oct 2008 11:46:08 +0100 Received: by kestrel.milibyte.co.uk with local (Exim 4.69) (envelope-from ) id 1KmR7n-0000JN-I4 for freebsd-questions@freebsd.org; Sun, 05 Oct 2008 11:46:08 +0100 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Sun, 5 Oct 2008 11:46:07 +0100 User-Agent: KMail/1.9.7 References: <200810011546.29798.jmc-freebsd2@milibyte.co.uk> <200810031604.47290.jmc-freebsd2@milibyte.co.uk> <20081003165727.GA31034@slackbox.xs4all.nl> In-Reply-To: <20081003165727.GA31034@slackbox.xs4all.nl> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200810051146.07343.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on kestrel.milibyte.co.uk); SAEximRunCond expanded to false X-Plusnet-Relay: ce63eaad33b80f34f6d5e01e485157cf Subject: Re: Canon Pixma iP4500 - problem with colours X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Oct 2008 10:46:11 -0000 On Friday 03 October 2008, Roland Smith wrote: > I can't spot anything suspicous in that. Maybe you should try a > gutenprint mailing-list/forum. I've tried a couple of gutenprint and CUPS lists but no responses yet apart from a recommendation to use Linux Turboprint. Out of curiosity I've tried the Pixma IP4500 on a Linux system (Fedora fc9) but the supplied foomatic driver just spat out blank pages. Turboprint produced excellent results but there's no FreeBSD version and I expect getting it to run under Linux emulation would be difficult or even impossible. -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 10:47:27 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B5EF1065688 for ; Sun, 5 Oct 2008 10:47:27 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA06.emeryville.ca.mail.comcast.net (qmta06.emeryville.ca.mail.comcast.net [76.96.30.56]) by mx1.freebsd.org (Postfix) with ESMTP id 1A26F8FC15 for ; Sun, 5 Oct 2008 10:47:26 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA13.emeryville.ca.mail.comcast.net ([76.96.30.52]) by QMTA06.emeryville.ca.mail.comcast.net with comcast id NycS1a00617UAYkA6ynS9G; Sun, 05 Oct 2008 10:47:26 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA13.emeryville.ca.mail.comcast.net with comcast id NynR1a0062P6wsM8ZynShj; Sun, 05 Oct 2008 10:47:26 +0000 X-Authority-Analysis: v=1.0 c=1 a=Kr3t3Te1lQgA:10 a=GofcrYdnE60A:10 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=QzesC8Zf4ascTmpNAM0A:9 a=FsXujelIIvTPhivaRGzu5W_ippMA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id B98CCC941A; Sun, 5 Oct 2008 03:47:25 -0700 (PDT) Date: Sun, 5 Oct 2008 03:47:25 -0700 From: Jeremy Chadwick To: Wojciech Puchar Message-ID: <20081005104725.GA82205@icarus.home.lan> References: <20081004181923.N2683@wojtek.tensor.gdynia.pl> <4A5E18EB2ED142C2B97EFD5A82AA805F@mickey> <8e10486b0810041351je5262fbi3bee00f47ef3bc68@mail.gmail.com> <10435563D3EC45D8A9AE00AECF113945@mickey> <20081005110745.T5124@wojtek.tensor.gdynia.pl> <20081005104253.GB82084@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081005104253.GB82084@icarus.home.lan> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Don O'Neil , freebsd-questions@freebsd.org, 'Alexandre Biancalana' Subject: Re: Can't add new 1TB disk in FreeBSD 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 10:47:27 -0000 On Sun, Oct 05, 2008 at 03:42:53AM -0700, Jeremy Chadwick wrote: > On Sun, Oct 05, 2008 at 11:07:58AM +0200, Wojciech Puchar wrote: > >>> > >>> > >>> I tried using fdisk first, same problem, won't let me write to the disk. > >> > >> Do you will use the entire disk in one partition ? If so, just do: > >> newfs /dev/ad4 > >> > > yes you can. i actually do this > > Isn't this what's called "Dangerously Dedicated" mode, and is considered > "very risky behaviour" on FreeBSD nowadays? > > I would be wary of doing it that way. Using slices is the preferred > method, e.g. newfs /dev/ad4s1a. Specific details are covered in the FAQ: http://www.freebsd.org/doc/en/books/faq/disks.html#DANGEROUSLY-DEDICATED The bottom line should be obvious: do not use this method. -- | 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 Oct 5 11:14:44 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D74D0106569A for ; Sun, 5 Oct 2008 11:14:44 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from fhw-relay07.plus.net (fhw-relay07.plus.net [212.159.14.148]) by mx1.freebsd.org (Postfix) with ESMTP id 7AAAB8FC17 for ; Sun, 5 Oct 2008 11:14:43 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from [84.92.153.232] (helo=kestrel.milibyte.co.uk) by fhw-relay07.plus.net with esmtp (Exim) id 1KmRZR-00031k-Sq; Sun, 05 Oct 2008 12:14:42 +0100 Received: by kestrel.milibyte.co.uk with local (Exim 4.69) (envelope-from ) id 1KmRZR-0000MJ-4q; Sun, 05 Oct 2008 12:14:41 +0100 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Sun, 5 Oct 2008 12:14:40 +0100 User-Agent: KMail/1.9.7 References: <200810011546.29798.jmc-freebsd2@milibyte.co.uk> <20081005083034.1F6E65FC50@mail.asahi-net.or.jp> In-Reply-To: <20081005083034.1F6E65FC50@mail.asahi-net.or.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810051214.41042.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on kestrel.milibyte.co.uk); SAEximRunCond expanded to false X-Plusnet-Relay: c7a150743898a109a8a0370fc6cb8af3 Cc: WATANABE Kazuhiro Subject: Re: Canon Pixma iP4500 - problem with colours X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Oct 2008 11:14:44 -0000 On Sunday 05 October 2008, WATANABE Kazuhiro wrote: > I've used Canon MP810 with CUPS and "IJ Printer Driver" for Linux > (supplied by Canon) on FreeBSD. > > Canon doesn't supply the printer driver for MP810, but I've been able > to use the printer with the driver for MP610. These printer specs > are very similar. > > I don't use the printer from FreeBSD so many time, but printing an > web page from firefox and the "Print Test Page" from > http://localhost:631/ are fine. That color print has no defferences > between the Windows's one. > > > So you will be able to use Canon iP4500 (and MP610/MP520/iP3500) with > the procedure below [1]. [snip] Thanks very much for this clearly detailed explanation of how to install the linux driver. This looks very promising and I'll certainly give it a try. I may have to put this task to one side while I deal with some other jobs but I've downloaded the files and filed your email for reference - I'll report back when I've tried it. -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 11:23:15 2008 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 D8C2710656AF for ; Sun, 5 Oct 2008 11:23:15 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.190]) by mx1.freebsd.org (Postfix) with ESMTP id 5F16A8FC16 for ; Sun, 5 Oct 2008 11:23:15 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so1765514fkk.11 for ; Sun, 05 Oct 2008 04:23:13 -0700 (PDT) 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=afPUfl5UYTn7hA+SQrg3SO010JAddKgmytbkhZ0RKc4=; b=DP+q1/muNhKhLN0CWJo+fSmrtK6Gmgsexu3Ttq3V2fmoiusSxvnamZwIMQOjMNqD/w jgMXdnnpo79RQkMTDNUSQr4EMuXjvAUeUBRwx0PHoJZM0gj5Dt9MTc9iGpY+vx/DVrPj 9ynnW3x85fEkPSyackBIzxFH1dobgCoefaLcg= 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=xE/PlRKgMSfJzqD/PxlSPKLBoTrr7YxkMORsu3h9/pG2MJAhxENg2/3w030TVb4iYJ GjMMrk/+Qas0hkNIzPoz/BhfbvNCMGyHb9nYWIqY1krxPfy3kINj/wwR2xwVjrcTvnZN VLFY9VDJkIyOdeVXO7GJDZsknLkiJUNGzzbd8= Received: by 10.103.114.14 with SMTP id r14mr1976260mum.120.1223205793689; Sun, 05 Oct 2008 04:23:13 -0700 (PDT) Received: by 10.103.247.7 with HTTP; Sun, 5 Oct 2008 04:23:13 -0700 (PDT) Message-ID: Date: Sun, 5 Oct 2008 13:23:13 +0200 From: "Redd Vinylene" To: "Miroslav Lachman" <000.fbsd@quip.cz> In-Reply-To: <48E890F5.70800@quip.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <18663.48601.45230.57747@almost.alerce.com> <18663.49808.808955.271579@almost.alerce.com> <20081005154926.V49572@sola.nimnet.asn.au> <48E890F5.70800@quip.cz> Cc: jail@freebsd.org, questions@freebsd.org, Ian Smith Subject: Re: Problems moving my jails (mv: Operation not permitted) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Oct 2008 11:23:15 -0000 Yes, this worked perfectly. Thank y'all so much. May this post be of help to others in the future as well. -- http://www.home.no/reddvinylene From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 05:31:49 2008 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 78F1B106568C; Sun, 5 Oct 2008 05:31:49 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [220.233.188.227]) by mx1.freebsd.org (Postfix) with ESMTP id AD1448FC15; Sun, 5 Oct 2008 05:31:48 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id m955L37t049104; Sun, 5 Oct 2008 16:21:03 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 5 Oct 2008 16:21:03 +1100 (EST) From: Ian Smith To: Redd Vinylene In-Reply-To: Message-ID: <20081005154926.V49572@sola.nimnet.asn.au> References: <48E7B80F.8040602@gmail.com> <18663.48601.45230.57747@almost.alerce.com> <18663.49808.808955.271579@almost.alerce.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Mailman-Approved-At: Sun, 05 Oct 2008 11:32:00 +0000 Cc: peter.stosz@mentat.hu, wojtek@wojtek.tensor.gdynia.pl, questions@freebsd.org, hartzell@alerce.com, jail@freebsd.org Subject: Re: Problems moving my jails (mv: Operation not permitted) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Oct 2008 05:31:49 -0000 On Sat, 4 Oct 2008, Redd Vinylene wrote: > On Sat, Oct 4, 2008 at 9:22 PM, George Hartzell wrote: > > Redd Vinylene writes: > > > On Sat, Oct 4, 2008 at 9:02 PM, George Hartzell wrote: > > > > > > > > If you do an ls -lo /home/jail/box/usr/bin/chpass, you'll probably see > > > > the schg flag set. Man chflags for more info and instructions on how > > > > to unset it > > > > > > > > g. > > > > > > > > > > Yes: > > > > > > -r-sr-xr-x 6 root wheel schg 18468 Aug 2 19:47 /usr/jail/box/usr/bin/chpass > > > > > > So I'd simply have to "chflags noschg /usr/jail/box/usr/bin/chpass" > > > and then "cp /usr/jail/box/usr/bin/chpass > > > /home/jail/box/usr/bin/chpass"? > > > > I think that you ought to be able to cp it as is. You're just not > > allowed to change the original (e.g. remove it), which is why your mv > > and rm failed. > > > > g. > > > > I've been told that changing flags might seriously mess things up. Is > there any way to copy the remaining files from /usr/jail into > /home/jail, or do I have to rebuild everything from scratch? Having read the thread to date, I reckon you should: a) find(1) all schg files in your jails (was chpass the only one?) b) clear the schg flag on any such found as above (-R if you like) c) use mv as you originally intended (if they're still there :) d) chflags schg on all files that were originally set that way. If you do use cp instead of mv, make sure to use cp -p to preserve each file's owner/group/permissions/datestamp. e) make sure any and all symlinks still point to the right file/s. Personally I'd use cp -pR rather than mv in case I stuffed it up :) but then being perhaps overcautious I'd have started off with a 'ls -lR /usr/jail > listfile' (if I hadn't made a backup tar) to at least have a full list of what was where, with what user/perms etc .. Also read cp(1) re -R flag carefully .. if there are any hard linked files, as there may well be, then using tar to move these would be the safest bet anyway - plus you'd have a backup .. next time anyway :) Since it just failed to mv some files, you shouldn't need to rebuild if you can mv those files and reset their flags/permissions correctly. cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 13:18:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3851106564A for ; Sun, 5 Oct 2008 13:18:28 +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 443418FC0A for ; Sun, 5 Oct 2008 13:18:27 +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 m95DGcXs065759; Sun, 5 Oct 2008 09:16:38 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id m95DGbvY065758; Sun, 5 Oct 2008 09:16:37 -0400 (EDT) (envelope-from jerrymc) Date: Sun, 5 Oct 2008 09:16:37 -0400 From: Jerry McAllister To: Jeremy Chadwick Message-ID: <20081005131637.GA65736@gizmo.acns.msu.edu> References: <20081004181923.N2683@wojtek.tensor.gdynia.pl> <4A5E18EB2ED142C2B97EFD5A82AA805F@mickey> <8e10486b0810041351je5262fbi3bee00f47ef3bc68@mail.gmail.com> <10435563D3EC45D8A9AE00AECF113945@mickey> <20081005110745.T5124@wojtek.tensor.gdynia.pl> <20081005104253.GB82084@icarus.home.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081005104253.GB82084@icarus.home.lan> User-Agent: Mutt/1.4.2.2i Cc: Wojciech Puchar , 'Alexandre Biancalana' , freebsd-questions@freebsd.org, Don O'Neil Subject: Re: Can't add new 1TB disk in FreeBSD 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 13:18:28 -0000 On Sun, Oct 05, 2008 at 03:42:53AM -0700, Jeremy Chadwick wrote: > On Sun, Oct 05, 2008 at 11:07:58AM +0200, Wojciech Puchar wrote: > >>> > >>> > >>> I tried using fdisk first, same problem, won't let me write to the disk. > >> > >> Do you will use the entire disk in one partition ? If so, just do: > >> newfs /dev/ad4 > >> > > yes you can. i actually do this > > Isn't this what's called "Dangerously Dedicated" mode, and is considered > "very risky behaviour" on FreeBSD nowadays? It is what is called 'dangerously dedicated' but the 'nowdays' thing is not relevant. It is as old as the slice/partition framework. It is probably not a good name for it because it is not risky for the system you are using it on. It's only problem is if you want to read/write the disk in a different system. You might not be able to do it because it does not follow the most standard way. It is not a problem for a disk that is only used on FreeBSD. On the other hand, I see no reason to not use the slice+partition system that is most standard. fdisk to create slices and bsdlabel to create partitions and then newfs each partition except swap. ////jerry > > I would be wary of doing it that way. Using slices is the preferred > method, e.g. newfs /dev/ad4s1a. > > -- > | 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 | > > _______________________________________________ > 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 Oct 5 13:46:31 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B66DF1065686 for ; Sun, 5 Oct 2008 13:46:31 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 856C18FC12 for ; Sun, 5 Oct 2008 13:46:31 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 044EAAFBC01; Sun, 5 Oct 2008 05:46:30 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Sun, 5 Oct 2008 15:46:27 +0200 User-Agent: KMail/1.9.7 References: <86r66v6gsj.fsf@ponoka.ab.hsia.telus.net> In-Reply-To: <86r66v6gsj.fsf@ponoka.ab.hsia.telus.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810051546.28440.fbsd.questions@rachie.is-a-geek.net> Cc: Dale Hagglund Subject: Re: processes hanging in _umtx_op X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Oct 2008 13:46:31 -0000 On Sunday 05 October 2008 02:12:44 Dale Hagglund wrote: > I can reproduce this reliably with > > $ python -c "import wx" > > I'm running 7.0-RELEASE-p2 with "uname -a" giving the following output, > suitably wrapped. > > FreeBSD ponoka.ab.hsia.telus.net > 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 > #0: Wed Jun 18 07:33:20 UTC 2008 > root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC > i386 [...] > Dale Hagglund > > ------------------------- start: kdump output ------------------------- > 34453 python 1223164746.661828 CALL munmap(0x2aa00000,0xc1000) > 34453 python 1223164746.661840 RET munmap 0 > 34453 python 1223164746.662541 CALL > _umtx_op(0x283071e0,0x8,0x1,0x283071c0,0 ) Can you change scheduler to ULE and rebuild kernel? Or better yet, try 7.1-PRERELEASE, since it's good to know if this bug persists with 7.1 being close to release. It's not a 'standard answer', btw, but an educated guess, since utmx is (simplified) the kernel equivalent of pthread_(rwlock|mutex)_* and looks like it's hanging in one of those functions. If you're comfy with kernel debugging, print uap->op when it's hanging, so we know which op it's waiting on. Now, it can simply be programmer error (lock twice, unlock once), but most of the time the kernel catches this for me with EDEADLK. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 14:09:51 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14F3D1065688 for ; Sun, 5 Oct 2008 14:09:51 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id DCB258FC2A for ; Sun, 5 Oct 2008 14:09:50 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 87646AFBC01; Sun, 5 Oct 2008 06:09:49 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Sun, 5 Oct 2008 16:09:47 +0200 User-Agent: KMail/1.9.7 References: <48E3DF63.103@yahoo.com> In-Reply-To: <48E3DF63.103@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810051609.48468.fbsd.questions@rachie.is-a-geek.net> Cc: Peter Thoenen Subject: Re: Lenovo X200s X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Oct 2008 14:09:51 -0000 On Wednesday 01 October 2008 22:36:51 Peter Thoenen wrote: > The Thinkpad series has always had strong FreeBSD support with the two > digit models (Xnn) but I am a bit iffy on Lenovo's attempts to morph the > Thinkpads into something else via the three digit series (Xnnn). > Anybody own a X200s and successfully running FreeBSD 7.x? This (rather long) thread contains quite some info on FreeBSD+laptop, along with some Lenovo info. http://lists.freebsd.org/pipermail/freebsd-mobile/2008-July/010831.html -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 14:48:37 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1B18106568C for ; Sun, 5 Oct 2008 14:48:37 +0000 (UTC) (envelope-from nino80@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 A05ED8FC12 for ; Sun, 5 Oct 2008 14:48:37 +0000 (UTC) (envelope-from nino80@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so456656wra.27 for ; Sun, 05 Oct 2008 07:48:36 -0700 (PDT) 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=Uvm8SdlcAswIDElwgeT0tYZtpN3tdFjQNml63kJGOgI=; b=YeDhaz0ZEsQiBgnRmVy38Bct0NgJCzEF8vXsIHZA1sWhCQDlSCjaYu7FEnK7HjFoMD BidEyQBkpEWyLr8JIoz+bU0G/2owuQUN+RuAyWUXRXSeJvrD5vGJBmSQ5RxFIGzBb/zf lz6VHWKZ897cQW15tuJ2m7ZBHiTkYO47rG40Q= 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=rp/unqOEfKqUnlBlsdtL2cCKrESkdH9W1JweIp6X9EL7eChCOj7v7DNoMcn3FSUk2O AsTX3yT43NEPLDEsGuSainDMrQ96EUGuXItFdIctj03K0ISk7FPYarGtmIFegUg5Kxu1 ipXSVNbah8qer2/bG7/2JuVGNx9thH/D7kbAU= Received: by 10.151.143.3 with SMTP id v3mr5713631ybn.159.1223218116817; Sun, 05 Oct 2008 07:48:36 -0700 (PDT) Received: by 10.150.149.12 with HTTP; Sun, 5 Oct 2008 07:48:36 -0700 (PDT) Message-ID: <92bcbda50810050748x753b0555vc6344a0a6c0ff1ca@mail.gmail.com> Date: Sun, 5 Oct 2008 16:48:36 +0200 From: "n j" To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Can't get in-kernel IPFW NAT (libalias) to work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 14:48:38 -0000 Hello all, I resolved my earlier problem ("ipfw: getsockopt(IP_FW_ADD): Invalid argument" when trying "ipfw add nat") by upgrading to 7.1-BETA which includes ipfw_nat as a kernel module; however, it still doesn't seem to work. When I'm directly ping'ing another box, I can see packets arriving at the destination, so the forwarding part (routes) works fine. However, when I add an ipfw rule to send these packets to the nat instance, the packets disappear instead of arriving nat'ted to the same destination. Did anyone have any success in getting the in-kernel (libalias) ipfw nat to work? I'd be grateful for any pointers. Thanks, -- Nino From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 15:11:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC1A2106569A for ; Sun, 5 Oct 2008 15:11:05 +0000 (UTC) (envelope-from spomerg@cwu.EDU) Received: from donald.cts.cwu.edu (donald.cts.cwu.edu [198.104.67.147]) by mx1.freebsd.org (Postfix) with ESMTP id A1A0F8FC08 for ; Sun, 5 Oct 2008 15:11:05 +0000 (UTC) (envelope-from spomerg@cwu.EDU) Received: from CONVERSION-CWU-DAEMON.DONALD.CTS.CWU.EDU by DONALD.CTS.CWU.EDU (PMDF V6.4 #31640) id <01N0CYL3JY00001N9Y@DONALD.CTS.CWU.EDU> for freebsd-questions@freebsd.org; Sun, 05 Oct 2008 08:11:04 -0700 (PDT) Received: from hermes.cwu.edu (hermes.cwu.edu [172.16.21.28]) by DONALD.CTS.CWU.EDU (PMDF V6.4 #31640) with ESMTP id <01N0CYL2YDXO001N5F@DONALD.CTS.CWU.EDU> for freebsd-questions@freebsd.org; Sun, 05 Oct 2008 08:11:04 -0700 (PDT) Received: from cwugate1-MTA by hermes.cwu.edu with Novell_GroupWise; Sun, 05 Oct 2008 08:11:03 -0700 Date: Sun, 05 Oct 2008 08:10:59 -0700 From: Gavin Spomer To: freebsd-questions@freebsd.org Message-id: <48E87693020000900001E407@hermes.cwu.edu> MIME-version: 1.0 X-Mailer: Novell GroupWise Internet Agent 7.0.3 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: quoted-printable Content-disposition: inline Subject: Re: HP DL 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: Sun, 05 Oct 2008 15:11:05 -0000 We also have DL380's and I can't remember what generation my FreeBSD test = server is, but it too has the Broadcoms in it which work fine with FreeBSD = 7.0. Ours is recognized as bce however. Gavin Spomer Systems Programmer Brooks Library Central Washington University >>> "H.fazaeli" 10/05/08 3:24 AM >>> HP servers usually have NICs with broadcom or intel chipsets which are=20 recognized as bge and em under freebsd and work great. We have the following configurations and they work fine: - freebsd 6.3 on dl320G5 with on-board broadcom network chipset and = SATA=20 HDDs. We had problems with hardware RAID and used geom to impl. RAID functionality. - freebsd 6.3 on dl380G5 with SAS HDDs. Hardware RAID controller is=20 recognized by 6.3 and works. Ludovit Koren wrote: > Hi, > > I would like to buy HP servers DL 320 G5p or DL 360 G5p. I googled but > did not find clear answer if the NICs and disk controllers are > supported in FreeBSD 7.x. I read about some problems with NIC in DL > 360 but it was not actual and I am not sure about disk controller > in DL 320. > > Any personal recommendations and experience with the servers are > welcomed.=20 > > Thank you very much in advance. > > Regards, > > lk > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > > > =20 --=20 Best regards. Hooman Fazaeli Sepehr S. T. Co. Ltd. Web: http://www.sepehrs.com Tel: (9821)88975701-2 Fax: (9821)88983352 _______________________________________________ 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 Oct 5 15:53:38 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6BCA106568B for ; Sun, 5 Oct 2008 15:53:38 +0000 (UTC) (envelope-from martin@saturn.pcs.ms) Received: from mail1.hostpark.net (mail1.hostpark.net [212.243.197.31]) by mx1.freebsd.org (Postfix) with ESMTP id CE9CD8FC0A for ; Sun, 5 Oct 2008 15:53:37 +0000 (UTC) (envelope-from martin@saturn.pcs.ms) Received: from localhost (localhost [127.0.0.1]) by mail1.hostpark.net (Postfix) with ESMTP id D6BEA7F8C7; Sun, 5 Oct 2008 17:53:35 +0200 (CEST) X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Received: from mail1.hostpark.net ([127.0.0.1]) by localhost (mail1.hostpark.net [127.0.0.1]) (amavisd-new, port 10124) with ESMTP id onh7Ibrx+TPp; Sun, 5 Oct 2008 17:53:35 +0200 (CEST) Received: from saturn.pcs.ms (94-25.62-81.cust.bluewin.ch [81.62.25.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail1.hostpark.net (Postfix) with ESMTP id D6DBD7E937; Sun, 5 Oct 2008 17:53:34 +0200 (CEST) Received: from saturn.pcs.ms (localhost [127.0.0.1]) by saturn.pcs.ms (8.14.2/8.14.2) with ESMTP id m95Fvwxh056094; Sun, 5 Oct 2008 17:57:58 +0200 (CEST) (envelope-from martin@saturn.pcs.ms) Received: (from martin@localhost) by saturn.pcs.ms (8.14.2/8.14.2/Submit) id m95FvwKo056091; Sun, 5 Oct 2008 17:57:58 +0200 (CEST) (envelope-from martin) Date: Sun, 5 Oct 2008 17:57:58 +0200 From: Martin Schweizer To: freebsd-questions@freebsd.org Message-ID: <20081005155758.GB65233@saturn.pcs.ms> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Organization: PC-Service M. Schweizer GmbH, CH-8608 Bubikon, Switzerland X-PGP-Key: http://www.pc-service.ch/pgp/public_key.asc X-Fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239 Subject: portupgrade troubles X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Martin Schweizer List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 15:53:38 -0000 Hello I post the questions several months a go but I find until now no solutions. If I use portupgrade -fa I get the folowing error: /usr/local/lib/ruby/site_ruby/1.8/pkgversion.rb:41:in `initialize': ,2: Not in due form: '[_][,]'. (ArgumentError) from /usr/local/sbin/portupgrade:638:in `new' from /usr/local/sbin/portupgrade:638:in `main' from /usr/local/sbin/portupgrade:613:in `each' from /usr/local/sbin/portupgrade:613:in `main' from /usr/local/sbin/portupgrade:588:in `catch' from /usr/local/sbin/portupgrade:588:in `main' from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `call' from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `parse_in_order' ... 7 levels... from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize' from /usr/local/sbin/portupgrade:229:in `new' from /usr/local/sbin/portupgrade:229:in `main' from /usr/local/sbin/portupgrade:2173 But get no answer and find no solution for my problem. Any ideas Regards, In the past I did a lot: - /usr/ports/UPDATING: checked all the ruby hints - Find and read the following posts: [snip] Re: portupgrade error - `deorigin': cannot convert nil into String (PkgDB::DBError) From: Kent Stewart (kstewart_at_owt.com) Date: 06/25/04 To: freebsd-stable@freebsd.org Date: Fri, 25 Jun 2004 13:10:44 -0700 On Friday 25 June 2004 12:25 pm, Andy Smith wrote: > Ever since a recent cvsup of ports and a portsdb -Uu, portupgrade > has been giving the following error: > > ---> Session started at: Fri, 25 Jun 2004 18:58:25 +0000 > ---> Session ended at: Fri, 25 Jun 2004 18:58:28 +0000 (consumed > 00:00:03) /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:323:in > `deorigin': cannot convert nil into String (PkgDB::DBError) from > /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:916:in `tsort_build' from > /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:915:in `each' from > /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:915:in `tsort_build' from > /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `each' from > /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `tsort_build' from > /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:929:in `sort_build' from > /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:933:in `sort_build!' from > /usr/local/sbin/portupgrade:674:in `main' > from /usr/local/sbin/portupgrade:207:in `initialize' > from /usr/local/sbin/portupgrade:207:in `new' > from /usr/local/sbin/portupgrade:207:in `main' > from /usr/local/sbin/portupgrade:1845 > > I have tried: > > - Waiting a day and doing another cvsup > > - Doing make index / portsdb -Uu > > - Removing ruby and portupgrade and reinstalling > > but I still get the same error. > > I also searched the mailing list archives and found someone with a > very similar error: > > http://lists.freebsd.org/pipermail/freebsd-stable/2003-May/001255.htm >l > > however, I've already learnt my lesson about refusing ports, and so > my sup/refuse contains only: > > ports/INDEX > ports/INDEX-5 > > Anyone have any other ideas? Someone on ports said to run portsdb -fu to fix this one. The cooment was > Probably a ruby bug. Rebuilding {pkg|ports}.db from scratch will do, I think. But I thought that was a pkgdb -fu. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html _______________________________________________ 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" __________________________________________________________________ [snip] Newsgroups: mailing.freebsd.ports Von: s...@FreeBSD.org (Sergey Matveychuk) Datum: Sun, 27 Jan 2008 04:20:30 +0800 (CST) Lokal: Sa 26 Jan. 2008 22:20 Betreff: ports-mgmt/portupgrade-devel Antwort an Autor | Weiterleiten | Drucken | Einzelne Nachricht | Hi! After a long time, I've got a little free time and spent it working for portupgrade. A new version (2.4.0) was released. * Many bugs fixed (thanks to reporters). * At last I've finished rewriting code and portupgrade now controls all tasks (before some port installed without a portupgrade note). As a result portupgrade gathers all depends for a port. It spends a time for preparing in the beginning of a upgrade process. * I've change unused -c and -C options to allow run 'make config-conditional' and 'make config' (force options change) before all processing. Test the release please. To move from portupgrade to portupgrade-devel port, use the command: portupgrade -fo ports-mgmt/portupgrade-devel portupgrade If you'll want to back to stable porupgrade, use the command: portupgrade -o ports-mgmt/portupgrade portupgrade-devel -- Dixi. Sem. _______________________________________________ Von: aryeh.fried...@gmail.com ("Aryeh M. Friedman") Datum: Sun, 27 Jan 2008 07:12:37 +0800 (CST) Lokal: So 27 Jan. 2008 01:12 Sergey Matveychuk wrote: > Hi! > After a long time, I've got a little free time and spent it working for > portupgrade. > A new version (2.4.0) was released. > * Many bugs fixed (thanks to reporters). > * At last I've finished rewriting code and portupgrade now controls all > tasks (before some port installed without a portupgrade note). As a > result portupgrade gathers all depends for a port. It spends a time for > preparing in the beginning of a upgrade process. > * I've change unused -c and -C options to allow run 'make > config-conditional' and 'make config' (force options change) before all > processing. > Test the release please. To move from portupgrade to portupgrade-devel > port, use the command: > portupgrade -fo ports-mgmt/portupgrade-devel portupgrade > If you'll want to back to stable porupgrade, use the command: > portupgrade -o ports-mgmt/portupgrade portupgrade-devel This breaks certain ports (portupgrade -a) that have multiple ports that can satisfy a depends. For example net-p2p/deulge depends on devel/boost but multimedia/miro depends on devel/boost-python. The only difference between boost and boost-python is boost-python sets the -DWITH_PYTHON flag and lists lang/python - -2.5 while boost does not depend on it and makes the user specify the above flag from the command line. Under the old portugrade it relied on miro and/or deluge to detect its own depends and since both did it by xDEP on the installed files either whould be accepted. Under the new one portupgrade attempts to build from index depends thus does not allow this interchangablity. - -- Aryeh M. Friedman FloSoft Systems, Java Tool Developers Developer, not business, friendly http://www.flosoft-systems.com "Free software != Free beer" Blog: Von: do...@FreeBSD.org (Doug Barton) Datum: Sun, 27 Jan 2008 08:26:12 +0800 (CST) Lokal: So 27 Jan. 2008 02:26 Betreff: Re: ports-mgmt/portupgrade-devel On Sat, 26 Jan 2008, Aryeh M. Friedman wrote: > Sergey Matveychuk wrote: >> Hi! >> After a long time, I've got a little free time and spent it working for >> portupgrade. >> A new version (2.4.0) was released. Congrats on both the new version, and finding the time. :) > This breaks certain ports (portupgrade -a) that have multiple ports > that can satisfy a depends. For example net-p2p/deulge depends on > devel/boost but multimedia/miro depends on devel/boost-python. The > only difference between boost and boost-python is boost-python sets > the -DWITH_PYTHON flag and lists lang/python > -2.5 while boost does not depend on it and makes the user specify the > above flag from the command line. Under the old portugrade it relied > on miro and/or deluge to detect its own depends and since both did it > by xDEP on the installed files either whould be accepted. Under the > new one portupgrade attempts to build from index depends thus does not > allow this interchangablity. I handled this in portmaster by analyzing the CONFLICTS. If a requested dependency has a CONFLICTS line I check the glob patterns against the installed ports with pkg_info and keep going if we already have something installed that will work. That's not a perfect solution, but it handles all the cases I've seen personally, or users complained about before that feature was introduced. hope this helps, Doug ------------------------ Newsgroups: mailing.freebsd.ports Von: me...@cox.net ("Jeremy Messenger") Datum: Sun, 27 Jan 2008 12:29:24 +0800 (CST) Lokal: So 27 Jan. 2008 06:29 Betreff: Re: ports-mgmt/portupgrade-devel On Sat, 26 Jan 2008 17:10:50 -0600, Aryeh M. Friedman = wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > Sergey Matveychuk wrote: >> Hi! >> After a long time, I've got a little free time and spent it working f= or >> portupgrade. >> A new version (2.4.0) was released. >> * Many bugs fixed (thanks to reporters). >> * At last I've finished rewriting code and portupgrade now controls a= ll >> tasks (before some port installed without a portupgrade note). As a >> result portupgrade gathers all depends for a port. It spends a time f= or >> preparing in the beginning of a upgrade process. >> * I've change unused -c and -C options to allow run 'make >> config-conditional' and 'make config' (force options change) before a= ll >> processing. >> Test the release please. To move from portupgrade to portupgrade-deve= l >> port, use the command: >> portupgrade -fo ports-mgmt/portupgrade-devel portupgrade >> If you'll want to back to stable porupgrade, use the command: >> portupgrade -o ports-mgmt/portupgrade portupgrade-devel > This breaks certain ports (portupgrade -a) that have multiple ports > that can satisfy a depends. For example net-p2p/deulge depends on > devel/boost but multimedia/miro depends on devel/boost-python. The > only difference between boost and boost-python is boost-python sets > the -DWITH_PYTHON flag and lists lang/python > - -2.5 while boost does not depend on it and makes the user specify th= e > above flag from the command line. Under the old portugrade it relied > on miro and/or deluge to detect its own depends and since both did it > by xDEP on the installed files either whould be accepted. Under the > new one portupgrade attempts to build from index depends thus does not= > allow this interchangablity. The boost and boost-python ports need to be fix, not other tools or othe= r = stuff. It will be great if you quit email me related with this as I am = getting tired with this issue, thanks. Cheers, Mezz > - -- > Aryeh M. Friedman > FloSoft Systems, Java Tool Developers > Developer, not business, friendly > http://www.flosoft-systems.com > "Free software !=3D Free beer" > Blog: > http://www.flosoft-systems.com/flosoft_systems_community/blogs/aryeh/i= ndex.php _______________________________________________ Newsgroups: mailing.freebsd.ports Von: me...@cox.net ("Jeremy Messenger") Datum: Sun, 27 Jan 2008 12:40:17 +0800 (CST) Lokal: So 27 Jan. 2008 06:40 Betreff: Re: ports-mgmt/portupgrade-devel On Sat, 26 Jan 2008 18:25:01 -0600, Doug Barton wrote: > On Sat, 26 Jan 2008, Aryeh M. Friedman wrote: >> Sergey Matveychuk wrote: >>> Hi! >>> After a long time, I've got a little free time and spent it working for >>> portupgrade. >>> A new version (2.4.0) was released. > Congrats on both the new version, and finding the time. :) >> This breaks certain ports (portupgrade -a) that have multiple ports >> that can satisfy a depends. For example net-p2p/deulge depends on >> devel/boost but multimedia/miro depends on devel/boost-python. The >> only difference between boost and boost-python is boost-python sets >> the -DWITH_PYTHON flag and lists lang/python >> -2.5 while boost does not depend on it and makes the user specify the >> above flag from the command line. Under the old portugrade it relied >> on miro and/or deluge to detect its own depends and since both did it >> by xDEP on the installed files either whould be accepted. Under the >> new one portupgrade attempts to build from index depends thus does not >> allow this interchangablity. > I handled this in portmaster by analyzing the CONFLICTS. If a requested > dependency has a CONFLICTS line I check the glob patterns against the > installed ports with pkg_info and keep going if we already have > something installed that will work. > That's not a perfect solution, but it handles all the cases I've seen > personally, or users complained about before that feature was introduced. I love this solution, I remember this: http://lists.freebsd.org/pipermail/freebsd-ports/2006-August/034434.htm l http://lists.freebsd.org/pipermail/freebsd-ports/2006-August/034579.htm l :-) Cheers, Mezz Weitere Optionen 27 Jan., 19:19 Newsgroups: mailing.freebsd.ports Von: ger...@seibercom.net (Gerard) Datum: Mon, 28 Jan 2008 01:19:42 +0800 (CST) Lokal: So 27 Jan. 2008 19:19 Betreff: Re: ports-mgmt/portupgrade-devel Sergey Matveychuk wrote: > Hi! >=20 > After a long time, I've got a little free time and spent it working > for portupgrade. > A new version (2.4.0) was released. > * Many bugs fixed (thanks to reporters). > * At last I've finished rewriting code and portupgrade now controls > all tasks (before some port installed without a portupgrade note). As > a result portupgrade gathers all depends for a port. It spends a time > for preparing in the beginning of a upgrade process. > * I've change unused -c and -C options to allow run 'make > config-conditional' and 'make config' (force options change) before > all processing. >=20 > Test the release please. To move from portupgrade to portupgrade-devel > port, use the command: > portupgrade -fo ports-mgmt/portupgrade-devel portupgrade >=20 > If you'll want to back to stable porupgrade, use the command: > portupgrade -o ports-mgmt/portupgrade portupgrade-devel I just installed the updated version. Unfortunately, it is not working correctly. This is the pertinent output. FreeBSD scorpio.seibercom.net 6.3-STABLE FreeBSD 6.3-STABLE #0: Sat Jan 19 22:26:50 EST 2008 ger...@scorpio.seibercom.net:/usr/obj/usr/src/sys/SCORPIO i386 Script started on Sun Jan 27 06:46:32 2008 /usr/local/sbin/portupgrade:697:in `main': undefined method `get_uninstalled_depends' for main:Object (NoMethodError) from /usr/local/sbin/portupgrade:677:in `each' from /usr/local/sbin/portupgrade:677:in `main' from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `call' from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `parse_in_order' from /usr/local/lib/ruby/1.8/optparse.rb:1299:in `catch' from /usr/local/lib/ruby/1.8/optparse.rb:1299:in `parse_in_order' from /usr/local/lib/ruby/1.8/optparse.rb:1247:in `catch' from /usr/local/lib/ruby/1.8/optparse.rb:1247:in `parse_in_order' from /usr/local/lib/ruby/1.8/optparse.rb:1241:in `order!' from /usr/local/lib/ruby/1.8/optparse.rb:1234:in `order' from /usr/local/sbin/portupgrade:554:in `main' from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize' from /usr/local/sbin/portupgrade:223:in `new' from /usr/local/sbin/portupgrade:223:in `main' from /usr/local/sbin/portupgrade:2096 Script done on Sun Jan 27 06:46:39 2008 This was started with the command: portupgrade -N devel/ccache --=20 Gerard ger...@seibercom.net Why be difficult, when, with just a little more effort, you can be impossible? Weitere Optionen 30 Jan., 00:29 Newsgroups: mailing.freebsd.ports Von: bucka...@gmx.de (Mark Nowiasz) Datum: Wed, 30 Jan 2008 06:29:53 +0800 (CST) Lokal: Mi 30 Jan. 2008 00:29 Betreff: ports-mgmt/portupgrade-devel Hi, when using portupgrade-devel, I'm getting the following errors: ---> Session ended at: Tue, 29 Jan 2008 22:58:52 +0100 (consumed 00:02:01) /usr/local/lib/ruby/site_ruby/1.8/pkgversion.rb:41:in `initialize': : Not in due form: '[_][,]'. (ArgumentError) from /usr/local/sbin/portupgrade:630:in `new' from /usr/local/sbin/portupgrade:630:in `main' from /usr/local/sbin/portupgrade:618:in `each' from /usr/local/sbin/portupgrade:618:in `main' from /usr/local/sbin/portupgrade:582:in `catch' from /usr/local/sbin/portupgrade:582:in `main' from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `call' from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `parse_in_order' ... 7 levels... from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize' from /usr/local/sbin/portupgrade:228:in `new' from /usr/local/sbin/portupgrade:228:in `main' from /usr/local/sbin/portupgrade:2110 portupgrade --version portupgrade 2.4.1 Regards, Mark -- Q: How do you play religious roulette? A: You stand around in a circle and blaspheme and see who gets struck by lightning first. _______________________________________________ Newsgroups: mailing.freebsd.ports Von: nak...@jp.freebsd.org (NAKAJI Hiroyuki) Datum: Thu, 31 Jan 2008 13:54:06 +0800 (CST) Lokal: Do 31 Jan. 2008 07:54 Betreff: Re: ports-mgmt/portupgrade-devel Hi, I have another error with portupgrade-devel-2.4.1. # portupgrade -a ... ** Port directory not found: japanese/dpkey7 /usr/local/sbin/portupgrade:1357:in `get_pkgname': port directory error (PortDirError) from /usr/local/sbin/portupgrade:623:in `main' from /usr/local/sbin/portupgrade:618:in `each' from /usr/local/sbin/portupgrade:618:in `main' from /usr/local/sbin/portupgrade:582:in `catch' from /usr/local/sbin/portupgrade:582:in `main' from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `call' from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `parse_in_order' from /usr/local/lib/ruby/1.8/optparse.rb:1299:in `catch' ... 6 levels... from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize' from /usr/local/sbin/portupgrade:228:in `new' from /usr/local/sbin/portupgrade:228:in `main' from /usr/local/sbin/portupgrade:2110 Dpkey7 is a third-party product and I add it in HOLD_PKGS list. But now HOLD_PKGS has no effect. Regards, >>>>> In <200801292301.44482.bucka...@gmx.de> >>>>> Mark Nowiasz wrote: > when using portupgrade-devel, I'm getting the following errors: > ---> Session ended at: Tue, 29 Jan 2008 22:58:52 +0100 (consumed 00:02:01) > /usr/local/lib/ruby/site_ruby/1.8/pkgversion.rb:41:in `initialize': : Not in > due form: '[_][,]'. (ArgumentError) > from /usr/local/sbin/portupgrade:630:in `new' > from /usr/local/sbin/portupgrade:630:in `main' > from /usr/local/sbin/portupgrade:618:in `each' > from /usr/local/sbin/portupgrade:618:in `main' > from /usr/local/sbin/portupgrade:582:in `catch' > from /usr/local/sbin/portupgrade:582:in `main' > from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `call' > from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `parse_in_order' > ... 7 levels... > from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize' > from /usr/local/sbin/portupgrade:228:in `new' > from /usr/local/sbin/portupgrade:228:in `main' > from /usr/local/sbin/portupgrade:2110 > portupgrade --version > portupgrade 2.4.1 > Regards, > Mark -- NAKAJI Hiroyuki _______________________________________________ Von: bucka...@gmx.de (Mark Nowiasz) Datum: Sat, 2 Feb 2008 04:14:01 +0800 (CST) Lokal: Fr 1 Feb. 2008 22:14 Betreff: Re: ports-mgmt/portupgrade-devel > > Hi, > > when using portupgrade-devel, I'm getting the following errors: > > ---> Session ended at: Tue, 29 Jan 2008 22:58:52 +0100 (consumed > > 00:02:01) /usr/local/lib/ruby/site_ruby/1.8/pkgversion.rb:41:in > > `initialize': : Not in due form: '[_][,]'. > > (ArgumentError) > What port exactly did you upgraded please? Nothing particular - I tried portupgrade (devl) -a -v. Downgrading to the "normal" portupgrade did the trick, though. Regards, Mark -- Hurewitz's Memory Principle: The chance of forgetting something is directly proportional to ..... to ........ uh .............. _______________________________________________ -- Martin Schweizer PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 15:58:13 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6E3C106568A for ; Sun, 5 Oct 2008 15:58:13 +0000 (UTC) (envelope-from michaek@mail.ru) Received: from mail.vibrators.ru (mail.vibrators.ru [83.102.249.74]) by mx1.freebsd.org (Postfix) with ESMTP id 71CF78FC1F for ; Sun, 5 Oct 2008 15:58:13 +0000 (UTC) (envelope-from michaek@mail.ru) Received: from [127.0.0.1] (unknown [192.168.5.1]) by mail.vibrators.ru (Postfix) with ESMTPA id D3D025C1F; Sun, 5 Oct 2008 19:41:48 +0400 (MSD) Message-ID: <48E8E03A.1020409@mail.ru> Date: Sun, 05 Oct 2008 19:41:46 +0400 From: Michael Lednev User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Ludovit Koren References: <20081005.102619.40572501.koren@tempest.sk> In-Reply-To: <20081005.102619.40572501.koren@tempest.sk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: HP DL 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: Sun, 05 Oct 2008 15:58:13 -0000 Ludovit Koren пишет: > Hi, > > I would like to buy HP servers DL 320 G5p or DL 360 G5p. I googled but > did not find clear answer if the NICs and disk controllers are > supported in FreeBSD 7.x. I read about some problems with NIC in DL > 360 but it was not actual and I am not sure about disk controller > in DL 320. > > Any personal recommendations and experience with the servers are > welcomed. DL360G5 works flawlessly with 7.0, I can post its dmesg if you want. From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 16:07:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A1211065696 for ; Sun, 5 Oct 2008 16:07:39 +0000 (UTC) (envelope-from dale.hagglund@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.236]) by mx1.freebsd.org (Postfix) with ESMTP id 1C4278FC16 for ; Sun, 5 Oct 2008 16:07:39 +0000 (UTC) (envelope-from dale.hagglund@gmail.com) Received: by wx-out-0506.google.com with SMTP id s17so510690wxc.7 for ; Sun, 05 Oct 2008 09:07:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=X1RKpk7jH90pb2Qz3oRdM+UxjG1SN91EnstD+c5hXeU=; b=U/EjxdMAXBE1ZvL4q0vgCCHnTLq2FPgXyipuETpaFWbar6Jy3acGPWnPjOIZyMnv25 gqS4xSgq/Ur5uXRkoVrMY0sQlDlOHG1x1iIbIYruw3eBXrZAx+QoIW1bS2Ft48ACKaER wlYyx7Ghpl+RSitD409o79vc8EKrYwoIuYG3k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=Y/iu5fW2pcidTt8oJmjKiKX0DkLxFb3GHmgyGylKPSAAcR1botH8fPhPQhDcWTYKCz KDsSS8i1zJ8dXLh68O8G2ylN7wvG7aniPZGq94oR1Q2T+IO4gB3NqrYUJweamM3gHzDt R+YlLOnQol3njaVav5bpuXDtTlHyZ2P2lliv0= Received: by 10.70.12.2 with SMTP id 2mr4609714wxl.21.1223222858203; Sun, 05 Oct 2008 09:07:38 -0700 (PDT) Received: from ponoka.ab.hsia.telus.net (d205-206-84-231.abhsia.telus.net [205.206.84.231]) by mx.google.com with ESMTPS id i11sm7101969wxd.28.2008.10.05.09.07.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 05 Oct 2008 09:07:36 -0700 (PDT) From: Dale Hagglund To: freebsd-questions@freebsd.org References: <86r66v6gsj.fsf@ponoka.ab.hsia.telus.net> <200810051546.28440.fbsd.questions@rachie.is-a-geek.net> Date: Sun, 05 Oct 2008 10:07:30 -0600 In-Reply-To: <200810051546.28440.fbsd.questions@rachie.is-a-geek.net> (Mel's message of "Sun, 5 Oct 2008 15:46:27 +0200") Message-ID: <86bpxz58l9.fsf@ponoka.ab.hsia.telus.net> User-Agent: Gnus/5.110008 (No Gnus v0.8) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: db@freebsd.org, Mel Subject: Re: processes hanging in _umtx_op X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Oct 2008 16:07:39 -0000 >>>>> "Mel" == Mel writes: Mel> Can you change scheduler to ULE and rebuild kernel? Mel> Or better yet, try 7.1-PRERELEASE, since it's good to know if Mel> this bug persists with 7.1 being close to release. I'll rebuild with ULE first, and let you and the list know what happens. Mel> It's not a 'standard answer', btw, but an educated guess, since Mel> utmx is (simplified) the kernel equivalent of Mel> pthread_(rwlock|mutex)_* and looks like it's hanging in one of Mel> those functions. This was my guess as well. I first noticed this hang while attempting to build gnuradio around the end of August. During conversations with the maintainer, Diane Bruce, about this hang she recognized it from before and suggested that she'd been able to fix it at that time by upgrading all ports (or maybe just the wx port) on her system. Mel> Now, it can simply be programmer error (lock twice, unlock Mel> once), but most of the time the kernel catches this for me with Mel> EDEADLK. The background with gnuradio and the Diane's suggestion to upgrade ports lead to my thought that I could easily have some sort of conflicting or out-of-date combination of libraries causing some sort of locking problem. That said, I've since upgraded almost all of my ports/packages, but building gnuradio still hangs the same way. Life/work got very busy just after that, so I unfortunately didn't got back to Diane with this update. Also, I just saw the same hang with the openoffice 3.0beta (milestone m5) package. Just out of curiousity, I produced the list of shared dependencies between these packages and have attached these below. Mel> If you're comfy with kernel debugging, print uap->op when it's Mel> hanging, so we know which op it's waiting on. I haven't used the kernel debugger before, but I'd be willing to give it a go after trying some of the things above. If you have a pointer to a slightly more detailed set of instructions, I'd definitely appreciate it. Dale. -------------------- ORBit2-2.14.14 atk-1.22.0_1 bitstream-vera-1.10_4 cairo-1.6.4_2,1 compositeproto-0.4 damageproto-1.1.0_2 encodings-1.0.2,1 expat-2.0.1 fixesproto-4.0 font-bh-ttf-1.0.0 font-misc-ethiopic-1.0.0 font-misc-meltho-1.0.0_1 font-util-1.0.1 fontcacheproto-0.1.2 fontconfig-2.5.0,1 fontsproto-2.0.2 freetype2-2.3.7 gconf2-2.22.0_1 gettext-0.17_1 glib-2.16.5 gnomehier-2.3_10 gtk-2.12.11_1 hicolor-icon-theme-0.10_2 inputproto-1.4.2.1 jpeg-6b_7 kbproto-1.0.3 libFS-1.0.0_1 libICE-1.0.4_1,1 libIDL-0.8.11 libSM-1.0.3_1,1 libX11-1.1.3_1,1 libXScrnSaver-1.1.2 libXTrap-1.0.0 libXau-1.0.3_2 libXaw-1.0.4_1,1 libXcomposite-0.4.0,1 libXcursor-1.1.9_1 libXdamage-1.1.1 libXdmcp-1.0.2_1 libXevie-1.0.2 libXext-1.0.3,1 libXfixes-4.0.3_1 libXfont-1.3.1_3,1 libXfontcache-1.0.4 libXft-2.1.13 libXi-1.1.3,1 libXinerama-1.0.2,1 libXmu-1.0.3,1 libXp-1.0.0,1 libXpm-3.5.7 libXprintAppUtil-1.0.1 libXprintUtil-1.0.1 libXrandr-1.2.2_1 libXrender-0.9.4_1 libXres-1.0.3_3 libXt-1.0.5_1 libXtst-1.0.3_1 libXv-1.0.3_1,1 libXvMC-1.0.4_1 libXxf86dga-1.0.2 libXxf86misc-1.0.1 libXxf86vm-1.0.1 libdmx-1.0.2_1 libfontenc-1.0.4 libiconv-1.11_1 liboldX-1.0.1 libxkbfile-1.0.4 libxkbui-1.0.2_1 libxml2-2.6.32 mkfontdir-1.0.3_1 mkfontscale-1.0.3 pango-1.20.5 pcre-7.7_1 perl-5.8.8_1 pixman-0.10.0_2 pkg-config-0.23_1 png-1.2.31 printproto-1.0.3 python25-2.5.2_3 randrproto-1.2.1 recordproto-1.13.2 renderproto-0.9.3 scrnsaverproto-1.1.0 shared-mime-info-0.51 tiff-3.8.2_1 trapproto-3.4.3 videoproto-2.2.2 xbitmaps-1.0.1 xextproto-7.0.2 xf86dgaproto-2.0.3 xf86miscproto-0.9.2 xf86vidmodeproto-2.2.2 xineramaproto-1.1.2 xorg-fonts-truetype-7.3 xorg-libraries-7.3_2 xproto-7.0.10_1 xtrans-1.0.4 -------------------- From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 16:12:46 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B40A01065686 for ; Sun, 5 Oct 2008 16:12:46 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 813988FC0C for ; Sun, 5 Oct 2008 16:12:46 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 66E59AFBC01; Sun, 5 Oct 2008 08:12:45 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Sun, 5 Oct 2008 18:12:41 +0200 User-Agent: KMail/1.9.7 References: <48E5070D.8050400@el.net> In-Reply-To: <48E5070D.8050400@el.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810051812.41722.fbsd.questions@rachie.is-a-geek.net> Cc: kalin m Subject: Re: ssh jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 16:12:46 -0000 On Thursday 02 October 2008 19:38:21 kalin m wrote: > hi all... > > i have openssh 5. i want to jail the users to their home directories so > they can go down but not up. > > i didn't see a directive that does that in the man or in the sshd_config. On RELENG_7 (aka -stable, aka 7.1-PRERELEASE), isn't this what you're looking for? ChrootDirectory Specifies a path to chroot(2) to after authentication. This path, and all its components, must be root-owned directories that are not writable by any other user or group. The path may contain the following tokens that are expanded at runtime once the connecting user has been authenticated: %% is replaced by a literal '%', %h is replaced by the home directory of the user being authenticated, and %u is replaced by the user- name of that user. The ChrootDirectory must contain the necessary files and directo- ries to support the users' session. For an interactive session this requires at least a shell, typically sh(1), and basic /dev nodes such as null(4), zero(4), stdin(4), stdout(4), stderr(4), arandom(4) and tty(4) devices. For file transfer sessions using ``sftp'', no additional configuration of the environment is nec- essary if the in-process sftp server is used (see Subsystem for details). The default is not to chroot(2). $ ssh -V OpenSSH_5.1p1 FreeBSD-20080901, OpenSSL 0.9.8e 23 Feb 2007 -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 16:22:47 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B7B51065686 for ; Sun, 5 Oct 2008 16:22:47 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id DE33F8FC08 for ; Sun, 5 Oct 2008 16:22:46 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 9074BAFBC01; Sun, 5 Oct 2008 08:22:45 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Sun, 5 Oct 2008 18:22:42 +0200 User-Agent: KMail/1.9.7 References: <48E500EC.9010100@gmail.com> <48E51A66.7050507@infracaninophile.co.uk> In-Reply-To: <48E51A66.7050507@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810051822.42644.fbsd.questions@rachie.is-a-geek.net> Cc: Andrei Brezan Subject: Re: Mysqldump password issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 16:22:47 -0000 On Thursday 02 October 2008 21:00:54 Matthew Seaman wrote: > Andrei Brezan wrote: > > Hello list, > > > > I wanna do a > > mysqldump -u user -ppasswd --all-databases > backup.sql > > > > and all I get is > > mysqldump: No match. > > > > This happens either i put --all-databases or I specify any of the > > databases. I want to do a backup as user root, that's why I use > > all-databases opt. > > > > If I use the command: > > mysqldump -u root -p --all-databases >backup.sql > > I get the password prompt, I type the passwd and everythig works great. > > It seems that there is a problem with -p, i've tried --password with > > same result. > > > > If anyone has any ideea please let me know about it. > > I mention that i use Freebsd 7_0 and mysql 5.0.67 > > My guess is that the password (which you've obviously elided) contains > characters of syntactic significance to the shell. Any of the following > will lead to wailing and gnashing of teeth: > > * ? [ < > & ; ! | $ Since I'm writing a parser currently that unescapes make(1)'s :Q modifier, I can tell you: \ ( ) # ~ { } ] " ' belong in the same gnashing category. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 16:58:29 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8240106568C for ; Sun, 5 Oct 2008 16:58:29 +0000 (UTC) (envelope-from freebsd@optiksecurite.com) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id 908BA8FC0A for ; Sun, 5 Oct 2008 16:58:29 +0000 (UTC) (envelope-from freebsd@optiksecurite.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from [192.168.10.103] ([74.56.107.65]) by VL-MO-MR005.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0K89006FOZ4I7260@VL-MO-MR005.ip.videotron.ca> for freebsd-questions@freebsd.org; Sun, 05 Oct 2008 12:57:54 -0400 (EDT) Message-id: <48E8F253.6010206@optiksecurite.com> Date: Sun, 05 Oct 2008 12:58:59 -0400 From: FreeBSD User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) To: freebsd-questions@freebsd.org Subject: Freebsd-update with a custom kernel and jails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 16:58:29 -0000 Hi everyone, I'm totally new to freebsd-update. I used to recompile the kernel and the world when I wanted to update. But I think it's now time to take advantages of the binary update possibility. I looked at the man pages and some googling couldn't answer my questions properly. I need to roll out a server quick and I just want to be sure I'm on the good path. There is my situation: I want to be able to use freebsd-update to update a FreeBSD 7.0-Release installation to the latest security patches (I want an update and not an upgrade if I understand correctly). Where this gets more complicated is that I need a custom kernel (for ULE, pf and ALTQ while also disabling some devices I'll never need) and I want to use jails to isolate every services (Apache and MySQL by now). So, I read at some places that you can't use freebsd-update with a custom kernel, but I'm not sure if this apply only in the case of an upgrade between release or if I'll need to manually recompile the kernel with every use of freebsd-update. I also read that it's possible to update the jails from the host system with the -b flag. In this case, I supposed that I need to update the host system before the jail, but is the procedure going to be exactly the same? Talking about procedure, it would be nice if someone could confirm that all I need to do is 'freebsd-update fetch' followed by 'freebsd-update install' to update the host system. I'm sorry if this has been explained before but I couldn't find anything clear on this. I least, your answer will make a good, update to date source of information. Thank you all for your replies, Martin From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 17:09:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB5EE1065687 for ; Sun, 5 Oct 2008 17:09:03 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id BD4628FC1C for ; Sun, 5 Oct 2008 17:09:03 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id AE47BAFBC01; Sun, 5 Oct 2008 09:09:02 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Sun, 5 Oct 2008 19:09:01 +0200 User-Agent: KMail/1.9.7 References: <48E4E4B8.90202@pixelhammer.com> In-Reply-To: <48E4E4B8.90202@pixelhammer.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810051909.01619.fbsd.questions@rachie.is-a-geek.net> Cc: DAve Subject: Re: Running cron jobs as nobody X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Oct 2008 17:09:04 -0000 On Thursday 02 October 2008 17:11:52 DAve wrote: > Good morning all, > > We have a cronjob we need to run as nobody from /etc/crontab and it > seems to be not working. The job runs, but not as user nobody. > > I noticed two things, > > 1) the job to update the locate DB runs as nobody, because the script > uses su to become nobody. > echo /usr/libexec/locate.updatedb | nice -5 su -fm nobody || rc=3 ^^^ -fm: Bypass .cshrc and only change user, use root env. > Is setting the user to nobody in /etc/crontab not possible? pw showuser operator pw showuser nobody Spot the difference (hint: /nonexistent) -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 17:47:34 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA3FC10656A5 for ; Sun, 5 Oct 2008 17:47:34 +0000 (UTC) (envelope-from kitchetech@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id 4F55D8FC4A for ; Sun, 5 Oct 2008 17:47:34 +0000 (UTC) (envelope-from kitchetech@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1611399fgb.35 for ; Sun, 05 Oct 2008 10:47:33 -0700 (PDT) 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:references; bh=3YUWj3qR1iNrhuvXCWkYvN+ykPgldzxiisjBYxp7KOw=; b=RY/RgTIZXmfRE5LZzTzNiC8jlR1ac9kahdnQTE9p6G0KmmPo9OCiu6O8ISNSLLG5nO 8eub2+oXeGhoI6Fy5lY581ws3fgbAqqoBurYy4dkZLTOXEf7qlev5b7DK1d1qoPXxf77 LoXglfBfb6EXjh6mknckSh6W0K2NSEKBvKk9U= 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:references; b=eob0rkWxWM1sMFHCVLudrH0ngBr+tfnkUqwofPSfcEhGPGOjSe+03DrhmXZwTI5MU/ hZU2Qria8yw4IBHPVeLuDUEYY3SeBqqoLCo6BsXoxnZcyyVgVDJiS7DJoAq7zUVOh6PX 0vx/Jbj/BBr5/EqGbUrMo2EA1c2NbhQ5dZem8= Received: by 10.86.83.2 with SMTP id g2mr3610944fgb.54.1223228853040; Sun, 05 Oct 2008 10:47:33 -0700 (PDT) Received: by 10.86.78.7 with HTTP; Sun, 5 Oct 2008 10:47:32 -0700 (PDT) Message-ID: <28283d910810051047i30de4c4bsd1e8526474009c40@mail.gmail.com> Date: Sun, 5 Oct 2008 13:47:32 -0400 From: "matt donovan" To: FreeBSD In-Reply-To: <48E8F253.6010206@optiksecurite.com> MIME-Version: 1.0 References: <48E8F253.6010206@optiksecurite.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: freebsd-questions@freebsd.org Subject: Re: Freebsd-update with a custom kernel and jails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 17:47:34 -0000 On Sun, Oct 5, 2008 at 12:58 PM, FreeBSD wrote: > > There is my situation: > I want to be able to use freebsd-update to update a FreeBSD 7.0-Release > installation to the latest security patches (I want an update and not an > upgrade if I understand correctly). Where this gets more complicated is that > I need a custom kernel (for ULE, pf and ALTQ while also disabling some > devices I'll never need) and I want to use jails to isolate every services > (Apache and MySQL by now). > > So, I read at some places that you can't use freebsd-update with a custom > kernel, but I'm not sure if this apply only in the case of an upgrade > between release or if I'll need to manually recompile the kernel with every > use of freebsd-update. > > I also read that it's possible to update the jails from the host system > with the -b flag. In this case, I supposed that I need to update the host > system before the jail, but is the procedure going to be exactly the same? > > yes all you need to do is freebsd-update fetch install your kernel won't be > updated but your userland will > From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 17:53:27 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05101106569B for ; Sun, 5 Oct 2008 17:53:27 +0000 (UTC) (envelope-from bennett@cs.niu.edu) Received: from mp.cs.niu.edu (mp.cs.niu.edu [131.156.145.41]) by mx1.freebsd.org (Postfix) with ESMTP id 805308FC25 for ; Sun, 5 Oct 2008 17:53:26 +0000 (UTC) (envelope-from bennett@cs.niu.edu) Received: from mp.cs.niu.edu (bennett@localhost [127.0.0.1]) by mp.cs.niu.edu (8.14.3/8.14.3) with ESMTP id m95Hr36c014873 for ; Sun, 5 Oct 2008 12:53:03 -0500 (CDT) Date: Sun, 5 Oct 2008 12:53:03 -0500 (CDT) From: Scott Bennett Message-Id: <200810051753.m95Hr3N5014872@mp.cs.niu.edu> To: freebsd-questions@freebsd.org Subject: pf vs. RST attack 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, 05 Oct 2008 17:53:27 -0000 I'm getting a lot of messages like this: Oct 4 14:30:00 hellas kernel: Limiting closed port RST response from 250 to 200 packets/sec Is there some rule I can insert into /etc/pf.conf to reject these apparently invalid RST packets before they can bother TCP? At the same time, I do not want to reject legitimate RST packets. Thanks in advance for any clues! Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * ********************************************************************** From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 17:59:53 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3530B106568B for ; Sun, 5 Oct 2008 17:59:53 +0000 (UTC) (envelope-from sdavtaker@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id 40DE48FC17 for ; Sun, 5 Oct 2008 17:59:52 +0000 (UTC) (envelope-from sdavtaker@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1614411fgb.35 for ; Sun, 05 Oct 2008 10:59:51 -0700 (PDT) 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=ERqhmhqTyqsyL5F/FqA+BueH2loq/k14Xsdx1bPsIpE=; b=g/BwfAZvfU2Cy/7e4CnCSt6LkaydxeaQkJPEL9pw1WJ8lMmMXVNpGuN1XcJHgCw8Hj dcztJXGQzlmMX/XuvBu4McliaV5yw7HCEzEBTAn4gU0CuBBB4+de9O0jcfj+8DhO2G4o oZXOIozgWaEFL/5XUuFthJP0YYZgrWAyg5wSs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=u95sY2l4GP9on1aYC9g8OMLjVu+FJksNd2EXEM3G/2gtAZ6StCCeJ9Sq4bW0cwMHTJ A5s7rv8//xYEZs3cvgzZ8qPJOnhV/ZEmK69qVmMoRRxkr63n/UvNS2L9kZH8jbiFcuyA HCj1RgFx0vytjgN9YLGyJoHtqA+rYHwBopzLs= Received: by 10.86.33.19 with SMTP id g19mr3652030fgg.13.1223229591061; Sun, 05 Oct 2008 10:59:51 -0700 (PDT) Received: by 10.86.91.3 with HTTP; Sun, 5 Oct 2008 10:59:50 -0700 (PDT) Message-ID: Date: Sun, 5 Oct 2008 14:59:50 -0300 From: "=?UTF-8?Q?Sd=C3=A4vtaker?=" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Touch screen ET&T on Clevo tn120r X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Oct 2008 17:59:53 -0000 Hello, I installed FreeBSD 7.0r in a Clevo tablet. I works great, but i am missing the touchscreen. Did someone make it work or got any idea where can i start to try? I got the pciconf -lv and scanpci -v info: Thanks in advance for any help you can give me. pciconf: hostb0@pci0:0:0:0: class=0x060000 card=0x01221558 chip=0x2a008086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = 'Mobile PM965/GM965/GL960 Express Processor to DRAM Controller' class = bridge subclass = HOST-PCI vgapci0@pci0:0:2:0: class=0x030000 card=0x01221558 chip=0x2a028086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = 'Mobile 965 Express Integrated Graphics Controller' class = display subclass = VGA vgapci1@pci0:0:2:1: class=0x038000 card=0x01221558 chip=0x2a038086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = 'Mobile 965 Express Integrated Graphics Controller' class = display uhci0@pci0:0:26:0: class=0x0c0300 card=0x01221558 chip=0x28348086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801H (ICH8 Family) USB UHCI' class = serial bus subclass = USB uhci1@pci0:0:26:1: class=0x0c0300 card=0x01221558 chip=0x28358086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801H (ICH8 Family) USB UHCI' class = serial bus subclass = USB ehci0@pci0:0:26:7: class=0x0c0320 card=0x01221558 chip=0x283a8086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '81EC1043 (?) ICH8 Enhanced USB2 Enhanced Host Controller' class = serial bus subclass = USB pcm0@pci0:0:27:0: class=0x040300 card=0x01221558 chip=0x284b8086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801H &SUBSYS_81EC1043&REV_02\3&11583659&0&D8' class = multimedia pcib1@pci0:0:28:0: class=0x060400 card=0x01221558 chip=0x283f8086 rev=0x03 hdr=0x01 vendor = 'Intel Corporation' device = '82801H (ICH8 Family) PCIe Port 1' class = bridge subclass = PCI-PCI pcib2@pci0:0:28:1: class=0x060400 card=0x01221558 chip=0x28418086 rev=0x03 hdr=0x01 vendor = 'Intel Corporation' device = '82801H (ICH8 Family) PCIe Port 2' class = bridge subclass = PCI-PCI pcib3@pci0:0:28:2: class=0x060400 card=0x01221558 chip=0x28438086 rev=0x03 hdr=0x01 vendor = 'Intel Corporation' device = '82801H (ICH8 Family) PCIe Port 3' class = bridge subclass = PCI-PCI pcib4@pci0:0:28:3: class=0x060400 card=0x01221558 chip=0x28458086 rev=0x03 hdr=0x01 vendor = 'Intel Corporation' device = '82801H (ICH8 Family) PCIe Port 4' class = bridge subclass = PCI-PCI uhci2@pci0:0:29:0: class=0x0c0300 card=0x01221558 chip=0x28308086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801H (ICH8 Family) USB UHCI' class = serial bus subclass = USB uhci3@pci0:0:29:1: class=0x0c0300 card=0x01221558 chip=0x28318086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801H (ICH8 Family) USB UHCI' class = serial bus subclass = USB uhci4@pci0:0:29:2: class=0x0c0300 card=0x01221558 chip=0x28328086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801H (ICH8 Family) USB UHCI' class = serial bus subclass = USB ehci1@pci0:0:29:7: class=0x0c0320 card=0x01221558 chip=0x28368086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801H (ICH8 Family) USB2 EHCI' class = serial bus subclass = USB pcib5@pci0:0:30:0: class=0x060401 card=0x00000000 chip=0x24488086 rev=0xf3 hdr=0x01 vendor = 'Intel Corporation' device = '82801BAM/CAM/DBM (ICH2-M/3-M/4-M) Hub Interface to PCI Bridge' class = bridge subclass = PCI-PCI isab0@pci0:0:31:0: class=0x060100 card=0x01221558 chip=0x28158086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = 'ICH8M-E (ICH8 Family) LPC Interface Controller' class = bridge subclass = PCI-ISA atapci0@pci0:0:31:2: class=0x010180 card=0x01221558 chip=0x28288086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = 'ICH8M (ICH8 Family) 3 port SATA Controller' class = mass storage subclass = ATA none0@pci0:0:31:3: class=0x0c0500 card=0x01221558 chip=0x283e8086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801H (ICH8 Family) SMBus Controller' class = serial bus subclass = SMBus wpi0@pci0:2:0:0: class=0x028000 card=0x10018086 chip=0x42228086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '10418086 Intel 3945ABG Wireless LAN controller' class = network re0@pci0:7:0:0: class=0x020000 card=0x01221558 chip=0x816810ec rev=0x01 hdr=0x00 vendor = 'Realtek Semiconductor' device = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC' class = network subclass = ethernet none1@pci0:8:7:0: class=0x050100 card=0x01221558 chip=0x07301524 rev=0x00 hdr=0x00 vendor = 'ENE Technology Inc' class = memory subclass = flash none2@pci0:8:7:1: class=0x080501 card=0x01221558 chip=0x07501524 rev=0x00 hdr=0x00 vendor = 'ENE Technology Inc' class = base peripheral none3@pci0:8:7:3: class=0x050100 card=0x01221558 chip=0x07511524 rev=0x00 hdr=0x00 vendor = 'ENE Technology Inc' class = memory subclass = flash fwohci0@pci0:8:9:0: class=0x0c0010 card=0x01221558 chip=0x30441106 rev=0xc0 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT6306 VIA Fire II IEEE-1394 OHCI Link Layer Controller' class = serial bus subclass = FireWire scanpci: pci bus 0x0000 cardnum 0x00 function 0x00: vendor 0x8086 device 0x2a00 Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub CardVendor 0x1558 card 0x0122 (CLEVO/KAPOK Computer, Card unknown) STATUS 0x2090 COMMAND 0x0106 CLASS 0x06 0x00 0x00 REVISION 0x03 BIST 0x00 HEADER 0x00 LATENCY 0x00 CACHE 0x00 BYTE_0 0x01 BYTE_1 0x90 BYTE_2 0xd1 BYTE_3 0xfe pci bus 0x0000 cardnum 0x02 function 0x00: vendor 0x8086 device 0x2a02 Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller CardVendor 0x1558 card 0x0122 (CLEVO/KAPOK Computer, Card unknown) STATUS 0x0090 COMMAND 0x0007 CLASS 0x03 0x00 0x00 REVISION 0x03 BIST 0x00 HEADER 0x80 LATENCY 0x00 CACHE 0x00 BASE0 0x00000000f8000004 addr 0x00000000f8000000 MEM 64BIT BASE2 0x00000000d000000c addr 0x00000000d0000000 MEM PREFETCHABLE 64BIT BASE4 0x00001801 addr 0x00001800 I/O MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x01 INT_LINE 0x10 pci bus 0x0000 cardnum 0x02 function 0x01: vendor 0x8086 device 0x2a03 Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller CardVendor 0x1558 card 0x0122 (CLEVO/KAPOK Computer, Card unknown) STATUS 0x0090 COMMAND 0x0007 CLASS 0x03 0x80 0x00 REVISION 0x03 BIST 0x00 HEADER 0x80 LATENCY 0x00 CACHE 0x00 BASE0 0x00000000f8100004 addr 0x00000000f8100000 MEM 64BIT pci bus 0x0000 cardnum 0x1a function 0x00: vendor 0x8086 device 0x2834 Intel Corporation 82801H (ICH8 Family) USB UHCI Contoller #4 CardVendor 0x1558 card 0x0122 (CLEVO/KAPOK Computer, Card unknown) STATUS 0x0280 COMMAND 0x0005 CLASS 0x0c 0x03 0x00 REVISION 0x03 BIST 0x00 HEADER 0x80 LATENCY 0x00 CACHE 0x00 BASE4 0x00001821 addr 0x00001820 I/O MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x01 INT_LINE 0x10 pci bus 0x0000 cardnum 0x1a function 0x01: vendor 0x8086 device 0x2835 Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 CardVendor 0x1558 card 0x0122 (CLEVO/KAPOK Computer, Card unknown) STATUS 0x0280 COMMAND 0x0005 CLASS 0x0c 0x03 0x00 REVISION 0x03 BIST 0x00 HEADER 0x00 LATENCY 0x00 CACHE 0x00 BASE4 0x00001841 addr 0x00001840 I/O MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x02 INT_LINE 0x15 pci bus 0x0000 cardnum 0x1a function 0x07: vendor 0x8086 device 0x283a Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 CardVendor 0x1558 card 0x0122 (CLEVO/KAPOK Computer, Card unknown) STATUS 0x0290 COMMAND 0x0106 CLASS 0x0c 0x03 0x20 REVISION 0x03 BIST 0x00 HEADER 0x00 LATENCY 0x00 CACHE 0x00 BASE0 0xf8704000 addr 0xf8704000 MEM MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x03 INT_LINE 0x12 pci bus 0x0000 cardnum 0x1b function 0x00: vendor 0x8086 device 0x284b Intel Corporation 82801H (ICH8 Family) HD Audio Controller CardVendor 0x1558 card 0x0122 (CLEVO/KAPOK Computer, Card unknown) STATUS 0x0010 COMMAND 0x0106 CLASS 0x04 0x03 0x00 REVISION 0x03 BIST 0x00 HEADER 0x00 LATENCY 0x00 CACHE 0x10 BASE0 0x00000000f8700004 addr 0x00000000f8700000 MEM 64BIT MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x01 INT_LINE 0x16 BYTE_0 0x01 BYTE_1 0x00 BYTE_2 0x00 BYTE_3 0x03 pci bus 0x0000 cardnum 0x1c function 0x00: vendor 0x8086 device 0x283f Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 STATUS 0x0010 COMMAND 0x0007 CLASS 0x06 0x04 0x00 REVISION 0x03 HEADER 0x81 LATENCY 0x00 PRIBUS 0x00 SECBUS 0x02 SUBBUS 0x03 SECLT 0x00 SECSTATUS 0x2000 IOBASE 0xf000 IOLIM 0x0fff NOPREFETCH_MEMBASE 0xf8200000 MEMLIM 0xf82fffff PREFETCH_MEMBASE 0x00000000fff00000 MEMLIM 0x00000000000fffff NO_FAST_B2B NO_SEC_BUS_RST NO_M_ABRT NO_VGA_EN ISA_EN NO_SERR_EN NO_PERR_EN pci bus 0x0000 cardnum 0x1c function 0x01: vendor 0x8086 device 0x2841 Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 STATUS 0x0010 COMMAND 0x0107 CLASS 0x06 0x04 0x00 REVISION 0x03 HEADER 0x81 LATENCY 0x00 PRIBUS 0x00 SECBUS 0x04 SUBBUS 0x05 SECLT 0x00 SECSTATUS 0x2000 IOBASE 0x2000 IOLIM 0x2fff NOPREFETCH_MEMBASE 0xf4000000 MEMLIM 0xf7ffffff PREFETCH_MEMBASE 0x00000000f0000000 MEMLIM 0x00000000f3ffffff NO_FAST_B2B NO_SEC_BUS_RST NO_M_ABRT NO_VGA_EN ISA_EN NO_SERR_EN NO_PERR_EN pci bus 0x0000 cardnum 0x1c function 0x02: vendor 0x8086 device 0x2843 Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 STATUS 0x0010 COMMAND 0x0107 CLASS 0x06 0x04 0x00 REVISION 0x03 HEADER 0x81 LATENCY 0x00 PRIBUS 0x00 SECBUS 0x06 SUBBUS 0x06 SECLT 0x00 SECSTATUS 0x2000 IOBASE 0xf000 IOLIM 0x0fff NOPREFETCH_MEMBASE 0xfff00000 MEMLIM 0x000fffff PREFETCH_MEMBASE 0x00000000fff00000 MEMLIM 0x00000000000fffff NO_FAST_B2B NO_SEC_BUS_RST NO_M_ABRT NO_VGA_EN ISA_EN NO_SERR_EN NO_PERR_EN pci bus 0x0000 cardnum 0x1c function 0x03: vendor 0x8086 device 0x2845 Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 STATUS 0x0010 COMMAND 0x0107 CLASS 0x06 0x04 0x00 REVISION 0x03 HEADER 0x81 LATENCY 0x00 PRIBUS 0x00 SECBUS 0x07 SUBBUS 0x07 SECLT 0x00 SECSTATUS 0x6000 IOBASE 0x3000 IOLIM 0x3fff NOPREFETCH_MEMBASE 0xf8300000 MEMLIM 0xf83fffff PREFETCH_MEMBASE 0x00000000fff00000 MEMLIM 0x00000000000fffff NO_FAST_B2B NO_SEC_BUS_RST NO_M_ABRT NO_VGA_EN ISA_EN NO_SERR_EN NO_PERR_EN pci bus 0x0000 cardnum 0x1d function 0x00: vendor 0x8086 device 0x2830 Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 CardVendor 0x1558 card 0x0122 (CLEVO/KAPOK Computer, Card unknown) STATUS 0x0280 COMMAND 0x0005 CLASS 0x0c 0x03 0x00 REVISION 0x03 BIST 0x00 HEADER 0x80 LATENCY 0x00 CACHE 0x00 BASE4 0x00001861 addr 0x00001860 I/O MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x01 INT_LINE 0x17 pci bus 0x0000 cardnum 0x1d function 0x01: vendor 0x8086 device 0x2831 Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 CardVendor 0x1558 card 0x0122 (CLEVO/KAPOK Computer, Card unknown) STATUS 0x0280 COMMAND 0x0005 CLASS 0x0c 0x03 0x00 REVISION 0x03 BIST 0x00 HEADER 0x00 LATENCY 0x00 CACHE 0x00 BASE4 0x00001881 addr 0x00001880 I/O MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x02 INT_LINE 0x13 pci bus 0x0000 cardnum 0x1d function 0x02: vendor 0x8086 device 0x2832 Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 CardVendor 0x1558 card 0x0122 (CLEVO/KAPOK Computer, Card unknown) STATUS 0x0280 COMMAND 0x0005 CLASS 0x0c 0x03 0x00 REVISION 0x03 BIST 0x00 HEADER 0x00 LATENCY 0x00 CACHE 0x00 BASE4 0x000018a1 addr 0x000018a0 I/O MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x03 INT_LINE 0x12 pci bus 0x0000 cardnum 0x1d function 0x07: vendor 0x8086 device 0x2836 Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 CardVendor 0x1558 card 0x0122 (CLEVO/KAPOK Computer, Card unknown) STATUS 0x0290 COMMAND 0x0106 CLASS 0x0c 0x03 0x20 REVISION 0x03 BIST 0x00 HEADER 0x00 LATENCY 0x00 CACHE 0x00 BASE0 0xf8704400 addr 0xf8704400 MEM MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x01 INT_LINE 0x17 pci bus 0x0000 cardnum 0x1e function 0x00: vendor 0x8086 device 0x2448 Intel Corporation 82801 Mobile PCI Bridge STATUS 0x0010 COMMAND 0x0107 CLASS 0x06 0x04 0x01 REVISION 0xf3 HEADER 0x01 LATENCY 0x00 PRIBUS 0x00 SECBUS 0x08 SUBBUS 0x08 SECLT 0x20 SECSTATUS 0x2280 IOBASE 0x4000 IOLIM 0x4fff NOPREFETCH_MEMBASE 0xf8400000 MEMLIM 0xf84fffff PREFETCH_MEMBASE 0x00000000fff00000 MEMLIM 0x00000000000fffff NO_FAST_B2B NO_SEC_BUS_RST NO_M_ABRT NO_VGA_EN ISA_EN NO_SERR_EN NO_PERR_EN pci bus 0x0000 cardnum 0x1f function 0x00: vendor 0x8086 device 0x2815 Intel Corporation 82801HEM (ICH8M) LPC Interface Controller CardVendor 0x1558 card 0x0122 (CLEVO/KAPOK Computer, Card unknown) STATUS 0x0210 COMMAND 0x0107 CLASS 0x06 0x01 0x00 REVISION 0x03 BIST 0x00 HEADER 0x80 LATENCY 0x00 CACHE 0x00 BYTE_0 0x01 BYTE_1 0x10 BYTE_2 0x00 BYTE_3 0x00 pci bus 0x0000 cardnum 0x1f function 0x02: vendor 0x8086 device 0x2828 Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller CardVendor 0x1558 card 0x0122 (CLEVO/KAPOK Computer, Card unknown) STATUS 0x02b8 COMMAND 0x0005 CLASS 0x01 0x01 0x80 REVISION 0x03 BIST 0x00 HEADER 0x00 LATENCY 0x00 CACHE 0x00 BASE0 0x00000001 addr 0x00000000 I/O BASE1 0x00000001 addr 0x00000000 I/O BASE2 0x00000001 addr 0x00000000 I/O BASE3 0x00000001 addr 0x00000000 I/O BASE4 0x000018e1 addr 0x000018e0 I/O BASE5 0x000018d1 addr 0x000018d0 I/O MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x02 INT_LINE 0xff BYTE_0 0x00 BYTE_1 0x80 BYTE_2 0x73 BYTE_3 0xe3 pci bus 0x0000 cardnum 0x1f function 0x03: vendor 0x8086 device 0x283e Intel Corporation 82801H (ICH8 Family) SMBus Controller CardVendor 0x1558 card 0x0122 (CLEVO/KAPOK Computer, Card unknown) STATUS 0x0280 COMMAND 0x0103 CLASS 0x0c 0x05 0x00 REVISION 0x03 BIST 0x00 HEADER 0x00 LATENCY 0x00 CACHE 0x00 BASE4 0x00001c01 addr 0x00001c00 I/O MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x03 INT_LINE 0x13 BYTE_0 0x01 BYTE_1 0x00 BYTE_2 0x00 BYTE_3 0x00 pci bus 0x0002 cardnum 0x00 function 0x00: vendor 0x8086 device 0x4222 Intel Corporation PRO/Wireless 3945ABG Network Connection CardVendor 0x8086 card 0x1001 (Intel Corporation, Card unknown) STATUS 0x0010 COMMAND 0x0106 CLASS 0x02 0x80 0x00 REVISION 0x02 BIST 0x00 HEADER 0x00 LATENCY 0x00 CACHE 0x10 BASE0 0xf8200000 addr 0xf8200000 MEM MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x01 INT_LINE 0x10 pci bus 0x0007 cardnum 0x00 function 0x00: vendor 0x10ec device 0x8168 Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller CardVendor 0x1558 card 0x0122 (CLEVO/KAPOK Computer, Card unknown) STATUS 0x4010 COMMAND 0x0107 CLASS 0x02 0x00 0x00 REVISION 0x01 BIST 0x00 HEADER 0x00 LATENCY 0x00 CACHE 0x10 BASE0 0x00003001 addr 0x00003000 I/O BASE2 0x00000000f8300004 addr 0x00000000f8300000 MEM 64BIT MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x01 INT_LINE 0x13 BYTE_0 0x01 BYTE_1 0x48 BYTE_2 0xc2 BYTE_3 0xf7 pci bus 0x0008 cardnum 0x07 function 0x00: vendor 0x1524 device 0x0730 ENE Technology Inc ENE PCI Memory Stick Card Reader Controller CardVendor 0x1558 card 0x0122 (CLEVO/KAPOK Computer, Card unknown) STATUS 0x0210 COMMAND 0x0106 CLASS 0x05 0x01 0x00 REVISION 0x00 BIST 0x00 HEADER 0x80 LATENCY 0x20 CACHE 0x10 BASE0 0xf8400800 addr 0xf8400800 MEM MAX_LAT 0x04 MIN_GNT 0x01 INT_PIN 0x01 INT_LINE 0x10 pci bus 0x0008 cardnum 0x07 function 0x01: vendor 0x1524 device 0x0750 ENE Technology Inc ENE PCI SmartMedia / xD Card Reader Controller CardVendor 0x1558 card 0x0122 (CLEVO/KAPOK Computer, Card unknown) STATUS 0x0210 COMMAND 0x0106 CLASS 0x08 0x05 0x01 REVISION 0x00 BIST 0x00 HEADER 0x80 LATENCY 0x20 CACHE 0x10 BASE0 0xf8400c00 addr 0xf8400c00 MEM MAX_LAT 0x48 MIN_GNT 0x20 INT_PIN 0x01 INT_LINE 0x10 pci bus 0x0008 cardnum 0x07 function 0x03: vendor 0x1524 device 0x0751 ENE Technology Inc ENE PCI Secure Digital / MMC Card Reader Controller CardVendor 0x1558 card 0x0122 (CLEVO/KAPOK Computer, Card unknown) STATUS 0x0210 COMMAND 0x0106 CLASS 0x05 0x01 0x00 REVISION 0x00 BIST 0x00 HEADER 0x80 LATENCY 0x20 CACHE 0x10 BASE0 0xf8401000 addr 0xf8401000 MEM MAX_LAT 0x48 MIN_GNT 0x20 INT_PIN 0x01 INT_LINE 0x10 pci bus 0x0008 cardnum 0x09 function 0x00: vendor 0x1106 device 0x3044 VIA Technologies, Inc. IEEE 1394 Host Controller CardVendor 0x1558 card 0x0122 (CLEVO/KAPOK Computer, Card unknown) STATUS 0x0210 COMMAND 0x0107 CLASS 0x0c 0x00 0x10 REVISION 0xc0 BIST 0x00 HEADER 0x00 LATENCY 0x20 CACHE 0x10 BASE0 0xf8400000 addr 0xf8400000 MEM BASE1 0x00004001 addr 0x00004000 I/O MAX_LAT 0x20 MIN_GNT 0x00 INT_PIN 0x01 INT_LINE 0x13 Sdav From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 18:11:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A746F1065693 for ; Sun, 5 Oct 2008 18:11:07 +0000 (UTC) (envelope-from db@db.net) Received: from diana.db.net (diana.db.net [204.228.224.242]) by mx1.freebsd.org (Postfix) with ESMTP id 89F228FC2E for ; Sun, 5 Oct 2008 18:11:07 +0000 (UTC) (envelope-from db@db.net) Received: from diana.db.net ([204.228.224.242] helo=localhost ident=mailnull) by diana.db.net with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1KmXUw-000MP8-FA; Sun, 05 Oct 2008 11:34:26 -0600 Received: from diana.db.net ([127.0.0.1] helo=localhost) (envelope-from ) id 1KmXUv-000OAN-E4; Sun, 05 Oct 2008 13:34:25 -0400 Date: Sun, 5 Oct 2008 13:34:25 -0400 From: Diane Bruce To: Dale Hagglund Message-ID: <20081005173425.GA67502@night.db.net> References: <86r66v6gsj.fsf@ponoka.ab.hsia.telus.net> <200810051546.28440.fbsd.questions@rachie.is-a-geek.net> <86bpxz58l9.fsf@ponoka.ab.hsia.telus.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86bpxz58l9.fsf@ponoka.ab.hsia.telus.net> User-Agent: Mutt/1.4.2.3i Cc: db@freebsd.org, freebsd-questions@freebsd.org, Mel Subject: Re: processes hanging in _umtx_op X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Oct 2008 18:11:07 -0000 On Sun, Oct 05, 2008 at 10:07:30AM -0600, Dale Hagglund wrote: > >>>>> "Mel" == Mel writes: > > Mel> Can you change scheduler to ULE and rebuild kernel? > Mel> Or better yet, try 7.1-PRERELEASE, since it's good to know if > Mel> this bug persists with 7.1 being close to release. ... > This was my guess as well. I first noticed this hang while attempting > to build gnuradio around the end of August. During conversations with > the maintainer, Diane Bruce, about this hang she recognized it from > before and suggested that she'd been able to fix it at that time by > upgrading all ports (or maybe just the wx port) on her system. As a data point, I am running ULE here on a single processor with FreeBSD 7.1 (pre-release). gnuradio builds fine here. > > Mel> Now, it can simply be programmer error (lock twice, unlock > Mel> once), but most of the time the kernel catches this for me with > Mel> EDEADLK. > > The background with gnuradio and the Diane's suggestion to upgrade ports > lead to my thought that I could easily have some sort of conflicting or > out-of-date combination of libraries causing some sort of locking > problem. I thought I had recognised this problem, but now I am not so sure, it looked like one a problem I thought I had remembered with wx. > That said, I've since upgraded almost all of my ports/packages, but > building gnuradio still hangs the same way. Life/work got very busy bizarre. > just after that, so I unfortunately didn't got back to Diane with this > update. Also, I just saw the same hang with the openoffice 3.0beta I was going to check with you about it anyway. > (milestone m5) package. Just out of curiousity, I produced the list > of shared dependencies between these packages and have attached these below. Ok. Here is my list. Information for gnuradio-3.1.3: Depends on: Dependency: xineramaproto-1.1.2 Dependency: xf86vidmodeproto-2.2.2 Dependency: xf86miscproto-0.9.2 Dependency: xf86dgaproto-2.0.3 Dependency: xextproto-7.0.2 Dependency: xbitmaps-1.0.1 Dependency: videoproto-2.2.2 Dependency: scrnsaverproto-1.1.0 Dependency: renderproto-0.9.3 Dependency: recordproto-1.13.2 Dependency: randrproto-1.2.1 Dependency: printproto-1.0.3 Dependency: kbproto-1.0.3 Dependency: inputproto-1.4.2.1 Dependency: fixesproto-4.0 Dependency: damageproto-1.1.0_2 Dependency: compositeproto-0.4 Dependency: fontsproto-2.0.2 Dependency: fontcacheproto-0.1.2 Dependency: font-util-1.0.1 Dependency: encodings-1.0.2,1 Dependency: expat-2.0.1 Dependency: hicolor-icon-theme-0.10_2 Dependency: tcl-8.4.19,1 Dependency: python25-2.5.2_2 Dependency: py25-numeric-24.2 Dependency: perl-5.8.8_1 Dependency: png-1.2.28 Dependency: libdrm-2.3.0 Dependency: jpeg-6b_7 Dependency: tiff-3.8.2_1 Dependency: pkg-config-0.23_1 Dependency: xtrans-1.0.4 Dependency: xproto-7.0.10_1 Dependency: pixman-0.10.0_2 Dependency: libtasn1-1.4 Dependency: libfontenc-1.0.4 Dependency: libXdmcp-1.0.2_1 Dependency: libXau-1.0.3_2 Dependency: libX11-1.1.3_1,1 Dependency: tk-8.4.19,2 Dependency: py25-tkinter-2.5.2_2 Dependency: libxkbfile-1.0.4 Dependency: liboldX-1.0.1 Dependency: libXrender-0.9.4_1 Dependency: libXfixes-4.0.3_1 Dependency: libXext-1.0.3,1 Dependency: libdmx-1.0.2_1 Dependency: libXxf86vm-1.0.1 Dependency: libXxf86misc-1.0.1 Dependency: libXxf86dga-1.0.2 Dependency: libXv-1.0.3_1,1 Dependency: libXvMC-1.0.4_1 Dependency: libXtst-1.0.3_1 Dependency: libXres-1.0.3_3 Dependency: libXrandr-1.2.2_1 Dependency: libXp-1.0.0,1 Dependency: libXinerama-1.0.2,1 Dependency: libXi-1.1.3,1 Dependency: libXfontcache-1.0.4 Dependency: libXevie-1.0.2 Dependency: libXdamage-1.1.1 Dependency: libXcursor-1.1.9_1 Dependency: libXcomposite-0.4.0,1 Dependency: libXScrnSaver-1.1.2 Dependency: libICE-1.0.4_1,1 Dependency: libSM-1.0.3_1,1 Dependency: libXt-1.0.5_1 Dependency: trapproto-3.4.3 Dependency: libxkbui-1.0.2_1 Dependency: libXprintUtil-1.0.1 Dependency: libXprintAppUtil-1.0.1 Dependency: libXpm-3.5.7 Dependency: libXmu-1.0.3,1 Dependency: libXaw-1.0.4_1,1 Dependency: libXTrap-1.0.0 Dependency: libGL-7.0.3 Dependency: libGLU-7.0.3 Dependency: libFS-1.0.0_1 Dependency: freetype2-2.3.7 Dependency: py25-imaging-1.1.6_2 Dependency: mkfontscale-1.0.3 Dependency: mkfontdir-1.0.3_1 Dependency: libXfont-1.3.1_3,1 Dependency: fontconfig-2.5.0,1 Dependency: libXft-2.1.13 Dependency: xorg-libraries-7.3_2 Dependency: libglut-7.0.1_1 Dependency: py25-opengl-2.0.1.07_4 Dependency: font-misc-meltho-1.0.0_1 Dependency: font-misc-ethiopic-1.0.0 Dependency: font-bh-ttf-1.0.0 Dependency: fftw3-float-3.1.2 Dependency: fftw3-3.1.2 Dependency: cairo-1.6.4_2,1 Dependency: bitstream-vera-1.10_4 Dependency: xorg-fonts-truetype-7.3 Dependency: pcre-7.7_1 Dependency: libusb-0.1.12_2 Dependency: boost-python-1.34.1 Dependency: libiconv-1.11_1 Dependency: libxml2-2.6.32 Dependency: gettext-0.17_1 Dependency: libgpg-error-1.6_1 Dependency: libgcrypt-1.4.1_1 Dependency: opencdk-0.6.6,1 Dependency: gnutls-2.4.1_1 Dependency: glib-2.16.5 Dependency: gamin-0.1.9_2 Dependency: gio-fam-backend-2.16.5 Dependency: shared-mime-info-0.51 Dependency: pango-1.20.5 Dependency: cups-base-1.3.7_4 Dependency: pyephem-3.7.3.1,1 Dependency: libmspack-0.0.20040308_3 Dependency: atk-1.22.0_1 Dependency: gtk-2.12.11 Dependency: wxgtk2-common-2.6.3_4 Dependency: wxgtk2-contrib-common-2.6.3_3 Dependency: wxgtk2-2.6.3_5 Dependency: wxgtk2-contrib-2.6.3_3 Dependency: py25-wxPython-common-2.6.3.3_2 Dependency: py25-wxPython-2.6.3.3_1 - Diane -- - db@FreeBSD.org db@db.net http://www.db.net/~db From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 18:19:04 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FF64106568A for ; Sun, 5 Oct 2008 18:19:04 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 4862A8FC25 for ; Sun, 5 Oct 2008 18:19:03 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 04B23AFBC01; Sun, 5 Oct 2008 10:19:03 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Sun, 5 Oct 2008 20:19:01 +0200 User-Agent: KMail/1.9.7 References: <86r66v6gsj.fsf@ponoka.ab.hsia.telus.net> <200810051546.28440.fbsd.questions@rachie.is-a-geek.net> <86bpxz58l9.fsf@ponoka.ab.hsia.telus.net> In-Reply-To: <86bpxz58l9.fsf@ponoka.ab.hsia.telus.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810052019.01920.fbsd.questions@rachie.is-a-geek.net> Cc: db@freebsd.org, Dale Hagglund Subject: Re: processes hanging in _umtx_op X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Oct 2008 18:19:04 -0000 On Sunday 05 October 2008 18:07:30 Dale Hagglund wrote: > >>>>> "Mel" == Mel writes: > Mel> It's not a 'standard answer', btw, but an educated guess, since > Mel> utmx is (simplified) the kernel equivalent of > Mel> pthread_(rwlock|mutex)_* and looks like it's hanging in one of > Mel> those functions. > > This was my guess as well. I first noticed this hang while attempting > to build gnuradio around the end of August. During conversations with > the maintainer, Diane Bruce, about this hang she recognized it from > before and suggested that she'd been able to fix it at that time by > upgrading all ports (or maybe just the wx port) on her system. > > Mel> Now, it can simply be programmer error (lock twice, unlock > Mel> once), but most of the time the kernel catches this for me with > Mel> EDEADLK. > > The background with gnuradio and the Diane's suggestion to upgrade ports > lead to my thought that I could easily have some sort of conflicting or > out-of-date combination of libraries causing some sort of locking > problem. If upgrading ports is a possible solution, then you have the fine task of finding out, which library in everything that's being loaded is *NOT* linked with libthr, cause a likely candidate would be two different threading libraries being used. I would start with ldd -a /path/to/python/wx.so and see if both libthr.so and libpthread.so (or maybe even libkse) show up. Also inspect /etc/libmap.conf for entries you may have added in a not too recent past and forgot about. Unfortunately, I see no obvious candidates in your package list (ie: compat-[456]x, *flash*). -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 18:23:40 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 392E31065691 for ; Sun, 5 Oct 2008 18:23:40 +0000 (UTC) (envelope-from johnny64@swissjabber.org) Received: from www.real-net.sk (ftp.real-net.sk [89.202.239.1]) by mx1.freebsd.org (Postfix) with ESMTP id AB3088FC0C for ; Sun, 5 Oct 2008 18:23:39 +0000 (UTC) (envelope-from johnny64@swissjabber.org) Received: from localhost (unknown [127.0.0.1]) by www.real-net.sk (Postfix) with ESMTP id 5B144151A34B for ; Sun, 5 Oct 2008 18:23:37 +0000 (UTC) X-Virus-Scanned: amavisd-new 2.6.1 (20080629) at real-net.sk Received: from www.real-net.sk ([127.0.0.1]) by localhost (www.real-net.sk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6LdiFCHvV9ZY for ; Sun, 5 Oct 2008 20:23:31 +0200 (CEST) Received: from georg.localdomain (unknown [10.200.9.170]) by www.real-net.sk (Postfix) with ESMTPS id 6689B151A365 for ; Sun, 5 Oct 2008 20:23:31 +0200 (CEST) Received: from georg.localdomain (localhost [127.0.0.1]) by georg.localdomain (8.14.3/8.14.3) with ESMTP id m95INSbi074239 for ; Sun, 5 Oct 2008 20:23:29 +0200 (CEST) (envelope-from johnny64@swissjabber.org) Received: (from johnny64@localhost) by georg.localdomain (8.14.3/8.14.3/Submit) id m95INRJI074237 for freebsd-questions@freebsd.org; Sun, 5 Oct 2008 20:23:27 +0200 (CEST) (envelope-from johnny64@swissjabber.org) X-Authentication-Warning: georg.localdomain: johnny64 set sender to johnny64@swissjabber.org using -f Date: Sun, 5 Oct 2008 20:23:26 +0200 From: "(-K JohnNy" To: freebsd-questions@freebsd.org Message-ID: <20081005182326.GE1787@georg.localdomain> References: <200810051753.m95Hr3N5014872@mp.cs.niu.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PuGuTyElPB9bOcsM" Content-Disposition: inline In-Reply-To: <200810051753.m95Hr3N5014872@mp.cs.niu.edu> User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Re: pf vs. RST attack 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, 05 Oct 2008 18:23:40 -0000 --PuGuTyElPB9bOcsM Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 05, 2008 at 12:53:03PM -0500, Scott Bennett wrote: > I'm getting a lot of messages like this: >=20 > Oct 4 14:30:00 hellas kernel: Limiting closed port RST response from 250= to 200 packets/sec >=20 > Is there some rule I can insert into /etc/pf.conf to reject these apparen= tly > invalid RST packets before they can bother TCP? At the same time, I do n= ot > want to reject legitimate RST packets. > Thanks in advance for any clues! Well, just to clarify a bit, the RST packets aren't the ones you are getting. You are apparently getting port-scanned. The message just says it won't reply by an RST packet to a SYN going to a closed port more than 200 times per second. I would suggest ignoring all SYN packets going to closed ports. Haven't yet used pf though, so I can't say how exactly to do this. --=20 (-K JohnNy alias Partial Derivative =E2=88=82 [home] http://johnny64.fixinko.sk/ [icq] 338328204 [abandoned] [jabber] JohnNy64@swissjabber.org [skype] JohnNy64-konik [abandoned] --PuGuTyElPB9bOcsM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjpBh0ACgkQ11l9uIBrcFT16QCgsa9c97zNMyIiXcA6SIAg7UaC 0i0An03gEowgVK8EgmabIL6VHnFTc/YW =rn0m -----END PGP SIGNATURE----- --PuGuTyElPB9bOcsM-- From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 18:27:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0E14106568D for ; Sun, 5 Oct 2008 18:27:07 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 9BA4C8FC1E for ; Sun, 5 Oct 2008 18:27:07 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id D3331AFBC04; Sun, 5 Oct 2008 10:27:06 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Sun, 5 Oct 2008 20:27:05 +0200 User-Agent: KMail/1.9.7 References: <200810051753.m95Hr3N5014872@mp.cs.niu.edu> In-Reply-To: <200810051753.m95Hr3N5014872@mp.cs.niu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810052027.05712.fbsd.questions@rachie.is-a-geek.net> Cc: Scott Bennett Subject: Re: pf vs. RST attack 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, 05 Oct 2008 18:27:07 -0000 On Sunday 05 October 2008 19:53:03 Scott Bennett wrote: > I'm getting a lot of messages like this: > > Oct 4 14:30:00 hellas kernel: Limiting closed port RST response from 250 > to 200 packets/sec > > Is there some rule I can insert into /etc/pf.conf to reject these > apparently invalid RST packets before they can bother TCP? At the same > time, I do not want to reject legitimate RST packets. > Thanks in advance for any clues! Chances are pf is *creating* them. RST responses are used to signal that a port is closed, which is what block-policy return does. Combined with default block all, a simple portscan will generate this. Switch to block-policy drop and set return for real denies, not default denies. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 19:01:10 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4AF291065687; Sun, 5 Oct 2008 19:01:10 +0000 (UTC) (envelope-from db@db.net) Received: from diana.db.net (diana.db.net [204.228.224.242]) by mx1.freebsd.org (Postfix) with ESMTP id 2CF548FC27; Sun, 5 Oct 2008 19:01:10 +0000 (UTC) (envelope-from db@db.net) Received: from diana.db.net ([204.228.224.242] helo=localhost ident=mailnull) by diana.db.net with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1KmYqr-000MZj-9Q; Sun, 05 Oct 2008 13:01:09 -0600 Received: from diana.db.net ([127.0.0.1] helo=localhost) (envelope-from ) id 1KmYqq-000OiG-1q; Sun, 05 Oct 2008 15:01:08 -0400 Date: Sun, 5 Oct 2008 15:01:07 -0400 From: Diane Bruce To: Mel Message-ID: <20081005190107.GA94902@night.db.net> References: <86r66v6gsj.fsf@ponoka.ab.hsia.telus.net> <200810051546.28440.fbsd.questions@rachie.is-a-geek.net> <86bpxz58l9.fsf@ponoka.ab.hsia.telus.net> <200810052019.01920.fbsd.questions@rachie.is-a-geek.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200810052019.01920.fbsd.questions@rachie.is-a-geek.net> User-Agent: Mutt/1.4.2.3i Cc: db@freebsd.org, freebsd-questions@freebsd.org, Dale Hagglund Subject: Re: processes hanging in _umtx_op X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Oct 2008 19:01:10 -0000 On Sun, Oct 05, 2008 at 08:19:01PM +0200, Mel wrote: > On Sunday 05 October 2008 18:07:30 Dale Hagglund wrote: > > >>>>> "Mel" == Mel writes: > ... > > If upgrading ports is a possible solution, then you have the fine task of > finding out, which library in everything that's being loaded is *NOT* linked > with libthr, cause a likely candidate would be two different threading > libraries being used. > I would start with ldd -a /path/to/python/wx.so and see if both libthr.so and > libpthread.so (or maybe even libkse) show up. That would do it. - Diane -- - db@FreeBSD.org db@db.net http://www.db.net/~db From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 19:42:41 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 113541065688 for ; Sun, 5 Oct 2008 19:42:41 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id C31B58FC1B for ; Sun, 5 Oct 2008 19:42:40 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id m95Jgofg038921 for ; Sun, 5 Oct 2008 12:42:50 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 5 Oct 2008 12:42:36 -0700 (PDT) Date: Sun, 5 Oct 2008 12:42:36 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20081005194232.GA72859@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 22 years of service to the Unix community. X-Spam-Status: No, score=-2.6 required=3.6 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_DOB, DNS_FROM_SECURITYSAGE, RCVD_IN_DOB, URIBL_RHS_DOB autolearn=no version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: kde4 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, 05 Oct 2008 19:42:41 -0000 Over the past four days I've managed to get my FreeBSD server running KDE up by installing kde4. Now, for some reason, konqueror fails to conntect anywhere. How can I free up my old kde3 files and get konqueror working again? gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 19:44:41 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C96BE1065690 for ; Sun, 5 Oct 2008 19:44:41 +0000 (UTC) (envelope-from freebsd@optiksecurite.com) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id 9E5698FC15 for ; Sun, 5 Oct 2008 19:44:41 +0000 (UTC) (envelope-from freebsd@optiksecurite.com) MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from [192.168.10.103] ([74.56.107.65]) by VL-MO-MR005.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0K8A001UV6TGOQ00@VL-MO-MR005.ip.videotron.ca> for freebsd-questions@freebsd.org; Sun, 05 Oct 2008 15:44:04 -0400 (EDT) Message-id: <48E91947.4080204@optiksecurite.com> Date: Sun, 05 Oct 2008 15:45:11 -0400 From: FreeBSD User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) To: matt donovan References: <48E8F253.6010206@optiksecurite.com> <28283d910810051047i30de4c4bsd1e8526474009c40@mail.gmail.com> In-reply-to: <28283d910810051047i30de4c4bsd1e8526474009c40@mail.gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Freebsd-update with a custom kernel and jails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 19:44:41 -0000 matt donovan a écrit : > On Sun, Oct 5, 2008 at 12:58 PM, FreeBSD wrote: > > >> There is my situation: >> I want to be able to use freebsd-update to update a FreeBSD 7.0-Release >> installation to the latest security patches (I want an update and not an >> upgrade if I understand correctly). Where this gets more complicated is that >> I need a custom kernel (for ULE, pf and ALTQ while also disabling some >> devices I'll never need) and I want to use jails to isolate every services >> (Apache and MySQL by now). >> >> So, I read at some places that you can't use freebsd-update with a custom >> kernel, but I'm not sure if this apply only in the case of an upgrade >> between release or if I'll need to manually recompile the kernel with every >> use of freebsd-update. >> >> I also read that it's possible to update the jails from the host system >> with the -b flag. In this case, I supposed that I need to update the host >> system before the jail, but is the procedure going to be exactly the same? >> >> yes all you need to do is freebsd-update fetch install your kernel won't be >> updated but your userland will >> >> So it is right to say that the custom kernel "problem" applies only when upgrading to a newer release? All I have to do is 'freebsd-update fetch install' to update the base system then 'freebsd-update -b /usr/jail/jail_name fetch install' to update the jails? I hope so because it would be very impressing :) Martin From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 00:36:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4947C1065689 for ; Mon, 6 Oct 2008 00:36:03 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA03.emeryville.ca.mail.comcast.net (qmta03.emeryville.ca.mail.comcast.net [76.96.30.32]) by mx1.freebsd.org (Postfix) with ESMTP id 2F10B8FC08 for ; Mon, 6 Oct 2008 00:36:02 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA06.emeryville.ca.mail.comcast.net ([76.96.30.51]) by QMTA03.emeryville.ca.mail.comcast.net with comcast id PAGW1a01616AWCUA3Cc2J2; Mon, 06 Oct 2008 00:36:02 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA06.emeryville.ca.mail.comcast.net with comcast id PCc11a00G2P6wsM8SCc1DF; Mon, 06 Oct 2008 00:36:02 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=6wztM-dcCJxRu2eOfYwA:9 a=6FZrVQQAnjyfwNJk5zIA:7 a=dvyKvBKQdNiB-qX9YZtqciC2KMMA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 4579EC9419; Sun, 5 Oct 2008 17:36:01 -0700 (PDT) Date: Sun, 5 Oct 2008 17:36:01 -0700 From: Jeremy Chadwick To: Scott Bennett Message-ID: <20081006003601.GA5733@icarus.home.lan> References: <200810051753.m95Hr3N5014872@mp.cs.niu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200810051753.m95Hr3N5014872@mp.cs.niu.edu> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: pf vs. RST attack 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, 06 Oct 2008 00:36:03 -0000 On Sun, Oct 05, 2008 at 12:53:03PM -0500, Scott Bennett wrote: > I'm getting a lot of messages like this: > > Oct 4 14:30:00 hellas kernel: Limiting closed port RST response from 250 to 200 packets/sec > > Is there some rule I can insert into /etc/pf.conf to reject these apparently > invalid RST packets before they can bother TCP? At the same time, I do not > want to reject legitimate RST packets. They're outbound RST packets coming from your box as a result of incoming packets someone is sending you (possibly an attack). Proper firewalling rules should help defeat this, but there is no "magic rule" you can place into pf.conf that will stop this. If you want a "magic solution", see blackhole(4). -- | 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 Mon Oct 6 00:48:58 2008 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 77F911065699 for ; Mon, 6 Oct 2008 00:48:58 +0000 (UTC) (envelope-from frank.com@blastoff.com.au) Received: from mail.webprophets.net.au (mail.webprophets.net.au [210.9.174.2]) by mx1.freebsd.org (Postfix) with ESMTP id 3279A8FC1C for ; Mon, 6 Oct 2008 00:48:58 +0000 (UTC) (envelope-from frank.com@blastoff.com.au) Received: from localhost (localhost [127.0.0.1]) by mail.webprophets.net.au (Postfix) with ESMTP id BD0E3553219; Mon, 6 Oct 2008 10:34:20 +1000 (EST) X-Virus-Scanned: amavisd-new at webprophets.net.au Received: from mail.webprophets.net.au ([127.0.0.1]) by localhost (mail.webprophets.net.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Yg8n2KbGgqRr; Mon, 6 Oct 2008 10:34:15 +1000 (EST) Received: by mail.webprophets.net.au (Postfix, from userid 65534) id 8BC1A55320F; Mon, 6 Oct 2008 10:34:15 +1000 (EST) Received: from 210.56.85.107 ( [210.56.85.107]) as user frank.cam@mail.webprophets.net.au by webmail.webprophets.net.au with HTTP; Mon, 6 Oct 2008 10:34:15 +1000 Message-ID: <1223253255.48e95d077976f@webmail.webprophets.net.au> Date: Mon, 6 Oct 2008 10:34:15 +1000 From: Frank Cam To: m.seaman@infracaninophile.co.uk References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1 X-Originating-IP: 210.56.85.107 Cc: questions@freebsd.org Subject: Re: CARP issue with 2 Masters X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 00:48:58 -0000 Hi Matthew That did the trick, have accidentally been using an old pre-carp set of firewall rules for the last few days. After your response, I went back and updated to the new rule-set. It's always the simple things. Thank you, your response was greatly appreciated. Frank > > I have CARP running on a master and a slave server and for some unknown > reason > > the slave continues to classify itself as a master, even though the > advskew is > > higher than on the master. > > It appears that queries sent to the CARP ip address go to the master 50% > of the > > time and the slave 50% of the time when both servers are up. This plays > havoc > > with my databases as I synchronise them asynchronously. > > > > When I take the carp interface down on the slave using 'ifconfig carp0 > down && > > ifconfig carp0 up' it lists it's status as 'backup' for about 10 seconds > and > > then goes back to 'master'. > > Have you by any chance firewalled out the multicast packets that CARP uses > to test for interface death? If either one of a CARP pair can't see CARP > packets > frequently enough it will think the other is down and promote itself to > master. > > If your firewall is blocking, then add a rule like this on both machines: > > pass quick on $ext_if proto carp \ > from $ext_if:network to $carp_mcast keep state > > $carp_mcast is defined as "224.0.0.18" > > 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 > > -------------------------------------------------------------------- Come and visit Web Prophets Website at http://www.webprophets.net.au From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 03:33:12 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E68621065698 for ; Mon, 6 Oct 2008 03:33:11 +0000 (UTC) (envelope-from dale.hagglund@gmail.com) Received: from mail-gx0-f21.google.com (mail-gx0-f21.google.com [209.85.217.21]) by mx1.freebsd.org (Postfix) with ESMTP id 860878FC24 for ; Mon, 6 Oct 2008 03:33:11 +0000 (UTC) (envelope-from dale.hagglund@gmail.com) Received: by gxk14 with SMTP id 14so4386513gxk.19 for ; Sun, 05 Oct 2008 20:33:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=Xnfi+xmEjwMJ8BQVmKfBRWPAbkNc0hSQ+mTuX4rvqVM=; b=SHB2c64uPSLdT4ekLpocmj/88PyQyaH+aaGbE+BVyxVvHVrPHwp5XPGourGzRUG5SB XaoxaUeH0zwx0rBnYJoKmBRkb7gWmE9KyxfRIpLVsRT8hELnw4HRHDc1cO9D0LqTToL7 kMAvZW3OPtwpQS4cnUpDvYrh92uJCQfGNaTTY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=eP7CcmqAwSZoYCKShkvj80h5IZ1MOD1HWe2IrdV2vaHk4R/opojsieVzwJehfd5X7Z x9w+GOxpi5SJV2kizF7ZFabPzszfZmYC281PyFr/oXETyKHiJGh7BGIHDuumE+UtRVAN waxOIJARAFmf0vLLdtP7HFYWnFKvyb8xN5Kj4= Received: by 10.150.58.5 with SMTP id g5mr6840504yba.27.1223263990677; Sun, 05 Oct 2008 20:33:10 -0700 (PDT) Received: from ponoka.ab.hsia.telus.net (d205-206-84-231.abhsia.telus.net [205.206.84.231]) by mx.google.com with ESMTPS id 5sm6269043ywd.8.2008.10.05.20.33.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 05 Oct 2008 20:33:09 -0700 (PDT) From: Dale Hagglund To: freebsd-questions@freebsd.org References: <86r66v6gsj.fsf@ponoka.ab.hsia.telus.net> <200810051546.28440.fbsd.questions@rachie.is-a-geek.net> <86bpxz58l9.fsf@ponoka.ab.hsia.telus.net> <200810052019.01920.fbsd.questions@rachie.is-a-geek.net> Date: Sun, 05 Oct 2008 21:33:03 -0600 In-Reply-To: <200810052019.01920.fbsd.questions@rachie.is-a-geek.net> (Mel's message of "Sun, 5 Oct 2008 20:19:01 +0200") Message-ID: <86skra4cuo.fsf@ponoka.ab.hsia.telus.net> User-Agent: Gnus/5.110008 (No Gnus v0.8) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: db@freebsd.org, Mel Subject: Re: processes hanging in _umtx_op X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 03:33:12 -0000 [Mel, the last time I replied to your @rachie address, I got a bounce. I'm still including it here on the CC list. Should I remove it and just reply to you via this list? --rdh] Diane, Mel, thanks for your suggestions so far. Mel> If upgrading ports is a possible solution, then you have the Mel> fine task of finding out, which library in everything that's Mel> being loaded is *NOT* linked with libthr, cause a likely Mel> candidate would be two different threading libraries being Mel> used. I would start with ldd -a /path/to/python/wx.so and see Mel> if both libthr.so and libpthread.so (or maybe even libkse) show Mel> up. What I did was this: $ python -c "import wx"& which hangs. Then I did $ lsof -p $pid | grep '\.so' to get a list of open shared objects. The only matches for "thr" are /lib/libthr.so.3 /usr/local/lib/libgthread-2.0.so.0 There are no matches for "kse". Then I started doing $ lsof -p $pid | > grep '\.so' | > awk '{print $NF}' | > xargs -n 1 ldd -a | less When I looked closely at the many libthr.so.3 references, though, I saw something quite interesting. As far as I can tell, not all are loaded at the same address. This is quite confusing to me. $ lsof -p $pid | > grep '\.so' | > awk '{print $NF}' | > xargs -n 1 ldd -f '\t%o %p %x\n' -a | > awk 'NF==1 {prefix=$1; next} {print prefix, $0}' | > awk '$2 ~ /libthr/ { print $4 }' | > sort | > uniq -c | > sort -nr 22 0x28bc8000 7 0x2953f000 5 0x2945f000 5 0x29371000 4 0x29407000 4 0x293fa000 3 0x2934d000 2 0x28952000 2 0x2894b000 1 0x29a79000 1 0x2960d000 1 0x289fb000 1 0x28921000 1 0x28548000 1 0x281b6000 $ However, closer inspection shows that, confusing as it is, this behaviour is common to almost all the shared libraries loaded into the stuck python process. Indeed, only libc seems to have just one loaded address. Also, this pipeline is actually inspecting the results from many different runs of ldd on each .so, instead of looking at the state of the running process. A little more poking leads to the following result that is again confusing to me $ lsof -p 79117 | > grep '\.so' | > awk '{print $NF}' | > sort | uniq -c | sort -nr | > head 2 /usr/local/lib/python2.5/site-packages/wx-2.8-gtk2-ansi/wx/_core_.so 1 /usr/local/lib/libxml2.so.5 1 /usr/local/lib/libwx_gtk2_xrc-2.8.so.0.2.0 1 /usr/local/lib/libwx_gtk2_qa-2.8.so.0.2.0 1 /usr/local/lib/libwx_gtk2_html-2.8.so.0.2.0 1 /usr/local/lib/libwx_gtk2_core-2.8.so.0.2.0 1 /usr/local/lib/libwx_gtk2_aui-2.8.so.0.2.0 1 /usr/local/lib/libwx_gtk2_adv-2.8.so.0.2.0 1 /usr/local/lib/libwx_base_xml-2.8.so.0.2.0 1 /usr/local/lib/libwx_base_net-2.8.so.0.2.0 $ The python wx core library seem to have been opened twice, unlike every other shared object that the python process has opened. Anyway, I don't know what to make of these results. Also, they seem at least somewhat unlikely to be related to seeing the same hang in ooo3. Mel> Also inspect /etc/libmap.conf for entries you may have added in Mel> a not too recent past and forgot about. No such file on my system. Mel> Unfortunately, I see no obvious candidates in your package list (ie: Mel> compat-[456]x, *flash*). I had compat-5x installed and removed it, but the problem persisted. I still have compat-6x installed. So, the upshot is I still don't see a smoking gun anywhere, but I certainly see some things that are confusing, although that has no bearing on whether or not they're actually problems. If anything above inspires you with more questions, let me know and I can do more poking around. The next step, I guess, is to rebuild with ULE and/or try out 7.1 prerelease. Thanks again for your help so far. Dale. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 03:34:11 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4BF4106568F for ; Mon, 6 Oct 2008 03:34:11 +0000 (UTC) (envelope-from freebsd@optiksecurite.com) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id 42E208FC08 for ; Mon, 6 Oct 2008 03:34:11 +0000 (UTC) (envelope-from freebsd@optiksecurite.com) MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from [192.168.10.103] ([74.56.107.65]) by VL-MH-MR001.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0K8A003QLSKY1YH0@VL-MH-MR001.ip.videotron.ca> for freebsd-questions@freebsd.org; Sun, 05 Oct 2008 23:34:10 -0400 (EDT) Message-id: <48E98751.10605@optiksecurite.com> Date: Sun, 05 Oct 2008 23:34:41 -0400 From: FreeBSD User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) To: matt donovan References: <48E8F253.6010206@optiksecurite.com> <28283d910810051047i30de4c4bsd1e8526474009c40@mail.gmail.com> <48E91947.4080204@optiksecurite.com> In-reply-to: <48E91947.4080204@optiksecurite.com> Cc: freebsd-questions@freebsd.org Subject: Re: Freebsd-update with a custom kernel and jails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 03:34:11 -0000 FreeBSD a écrit : > matt donovan a écrit : >> On Sun, Oct 5, 2008 at 12:58 PM, FreeBSD >> wrote: >> >> >>> There is my situation: >>> I want to be able to use freebsd-update to update a FreeBSD 7.0-Release >>> installation to the latest security patches (I want an update and >>> not an >>> upgrade if I understand correctly). Where this gets more complicated >>> is that >>> I need a custom kernel (for ULE, pf and ALTQ while also disabling some >>> devices I'll never need) and I want to use jails to isolate every >>> services >>> (Apache and MySQL by now). >>> >>> So, I read at some places that you can't use freebsd-update with a >>> custom >>> kernel, but I'm not sure if this apply only in the case of an upgrade >>> between release or if I'll need to manually recompile the kernel >>> with every >>> use of freebsd-update. >>> >>> I also read that it's possible to update the jails from the host system >>> with the -b flag. In this case, I supposed that I need to update the >>> host >>> system before the jail, but is the procedure going to be exactly the >>> same? >>> >>> yes all you need to do is freebsd-update fetch install your kernel >>> won't be >>> updated but your userland will >>> >>> > So it is right to say that the custom kernel "problem" applies only > when upgrading to a newer release? > > All I have to do is 'freebsd-update fetch install' to update the base > system then 'freebsd-update -b /usr/jail/jail_name fetch install' to > update the jails? > > I hope so because it would be very impressing :) > > Martin Another question just came to my head: May I update the src before compiling my custom kernel or should I keep the original src that shipped with the release to be able to use freebsd-update? Thank you very much for your help! Martin From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 05:14:50 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18175106568F for ; Mon, 6 Oct 2008 05:14:50 +0000 (UTC) (envelope-from rambiusparkisanius@gmail.com) Received: from mail-gx0-f21.google.com (mail-gx0-f21.google.com [209.85.217.21]) by mx1.freebsd.org (Postfix) with ESMTP id CBBBB8FC29 for ; Mon, 6 Oct 2008 05:14:49 +0000 (UTC) (envelope-from rambiusparkisanius@gmail.com) Received: by gxk14 with SMTP id 14so4428459gxk.19 for ; Sun, 05 Oct 2008 22:14:49 -0700 (PDT) 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=IE1j+qmoZXw6vFvAXQ49CPtXkZuz7Y2mtQvjpYnNzig=; b=jEoIMYdPl60YUQfgFumEiS1ry7NqXb0j5ffZm07KZ1X2/bOIjVTvBmYBbvlO6/5ubB PU1aVulXxXtsy34WjTAYXg/vGE+GWYe/WGDVRf2MizY/uRpAG44WblZAXgms1iwWZ9t7 a590Cnn4wX8Sdq6LBGX06MHRQHGzl//O6ggwI= 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=nIrI1UbEpIryIp7v9+n7y7kqSjfgs0YhEtlfVGHDT7+3QWCKo+a/BLaEoEumnKjZ2r 8RedAPC2wpq+A8lVd6E+WwJJzzRwyjfMgup4QdUCV7NBlpCqYyXNACUMaDn8Eu5iFc46 bjoHq+Jk3+wJiuyhbee37OxnJLFCJS9C9CnXE= Received: by 10.90.33.5 with SMTP id g5mr5151976agg.64.1223270088705; Sun, 05 Oct 2008 22:14:48 -0700 (PDT) Received: by 10.90.33.18 with HTTP; Sun, 5 Oct 2008 22:14:48 -0700 (PDT) Message-ID: <89ce7f740810052214k4419d939s8bb8ebce5e703626@mail.gmail.com> Date: Mon, 6 Oct 2008 08:14:48 +0300 From: "Ivan \"Rambius\" Ivanov" To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: How to generate password hashes for vipw and chpass X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 05:14:50 -0000 Hello, According to man pages of chpass(1) and vipw(1) I can create and modify users by supplying a user database entry in passwd(5) format. The only problem I face is that I do not know how to generate the password hashes for the password field. Following section 14.4 [http://www.freebsd.org/doc/en/books/handbook/crypt.html] from the handbook I found out that my system is using md5 to encrypt the passwords. I tried to use /sbin/md5 to generate the hash: # /sbin/md5 -s newpassword and then I passed the output to chpass. I tried to use the new password for the next login but it failed - so I believe this is wrong. Can you please show me how to generate the password hashes? Regards Rambius -- Tangra Mega Rock: http://www.radiotangra.com From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 05:59:38 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 952E410656B5 for ; Mon, 6 Oct 2008 05:59:38 +0000 (UTC) (envelope-from talk@holon.urwis.cc) Received: from poczta.pwsz.elblag.pl (ns2.pwsz.elblag.pl [82.177.38.2]) by mx1.freebsd.org (Postfix) with ESMTP id 503D58FC0C for ; Mon, 6 Oct 2008 05:59:38 +0000 (UTC) (envelope-from talk@holon.urwis.cc) Received: from poczta.pwsz.elblag.pl (localhost [127.0.0.1]) by poczta.pwsz.elblag.pl (Postfix) with ESMTP id 2F5C317B89C; Mon, 6 Oct 2008 07:40:21 +0200 (CEST) Received: from [82.177.38.80] (artax.pwsz.elblag.pl [82.177.38.80]) by poczta.pwsz.elblag.pl (Postfix) with ESMTPSA id B5B0A17B891; Mon, 6 Oct 2008 07:40:20 +0200 (CEST) Message-ID: <48E9A4D1.6020008@holon.urwis.cc> Date: Mon, 06 Oct 2008 07:40:33 +0200 From: Adam Zaleski User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "Ivan \"Rambius\" Ivanov" , freebsd-questions@freebsd.org References: <89ce7f740810052214k4419d939s8bb8ebce5e703626@mail.gmail.com> In-Reply-To: <89ce7f740810052214k4419d939s8bb8ebce5e703626@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: PWSZ Antivirus software Cc: Subject: Re: How to generate password hashes for vipw and chpass X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 05:59:38 -0000 Ivan "Rambius" Ivanov pisze: > # /sbin/md5 -s newpassword > and then I passed the output to chpass. I tried to use the new > password for the next login but it failed - so I believe this is > wrong. > Can you please show me how to generate the password hashes? You can add new account with one command like this: echo user_password |pw user add new_user -h0 Also if you only want to generate valid password hash you can use 'openssl passwd -1 new_password' From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 06:07:18 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F4F81065686 for ; Mon, 6 Oct 2008 06:07:18 +0000 (UTC) (envelope-from dhaneshkk@hotmail.com) Received: from col0-omc4-s7.col0.hotmail.com (col0-omc4-s7.col0.hotmail.com [65.55.34.209]) by mx1.freebsd.org (Postfix) with ESMTP id E47A78FC23 for ; Mon, 6 Oct 2008 06:07:17 +0000 (UTC) (envelope-from dhaneshkk@hotmail.com) Received: from COL106-W65 ([65.55.34.200]) by col0-omc4-s7.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 5 Oct 2008 23:07:17 -0700 Message-ID: X-Originating-IP: [203.129.255.178] From: dhaneshk k To: Date: Mon, 6 Oct 2008 06:07:17 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 06 Oct 2008 06:07:17.0628 (UTC) FILETIME=[C92A2BC0:01C92779] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: acpi_tz0: _TMP value is absurd ignored (-269.7C) Message in every 3 seconds . X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 06:07:18 -0000 =20 People =3B =20 =20 I installed freebsd-7.0 in a p4 machine =2C after installation when I rebo= ot the machine =2C I am getting the message=20 =20 acpi_tz0: _TMP value is absurd ignored (-269.7C) in every 3 seconds .. =20 =20 intel p4 3.0 GHz=20 =20 Intel 82915G (915G GMCH ) =20 =20 =20 How can i get rid off this ... can someone shed some light on this regard .= . =20 =20 Thanks in advance=20 =20 Dhanesh=20 _________________________________________________________________ Movies=2C sports & news! Get your daily entertainment fix=2C only on live.c= om http://www.live.com/?scope=3Dvideo&form=3DMICOAL= From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 06:07:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2AAEC1065688 for ; Mon, 6 Oct 2008 06:07:39 +0000 (UTC) (envelope-from talk@holon.urwis.cc) Received: from holon.urwis.cc (urwis.cc [82.177.38.81]) by mx1.freebsd.org (Postfix) with ESMTP id DCB948FC25 for ; Mon, 6 Oct 2008 06:07:38 +0000 (UTC) (envelope-from talk@holon.urwis.cc) Received: from [82.177.38.80] (artax.pwsz.elblag.pl [82.177.38.80]) (Authenticated sender: talk) by holon.urwis.cc (Postfix) with ESMTP id 1421532AD0D for ; Mon, 6 Oct 2008 07:50:23 +0200 (CEST) Message-ID: <48E9A71C.90004@holon.urwis.cc> Date: Mon, 06 Oct 2008 07:50:20 +0200 From: Adam Zaleski User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <89ce7f740810052214k4419d939s8bb8ebce5e703626@mail.gmail.com> In-Reply-To: <89ce7f740810052214k4419d939s8bb8ebce5e703626@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: How to generate password hashes for vipw and chpass X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 06:07:39 -0000 Ivan "Rambius" Ivanov pisze: > # /sbin/md5 -s newpassword > and then I passed the output to chpass. I tried to use the new > password for the next login but it failed - so I believe this is > wrong. > Can you please show me how to generate the password hashes? You can add new account with one command like this: echo user_password |pw user add new_user -h0 Also if you only want to generate valid password hash you can use 'openssl passwd -1 new_password' From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 06:11:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 578C8106568A for ; Mon, 6 Oct 2008 06:11:09 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) 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 01F958FC1F for ; Mon, 6 Oct 2008 06:11:08 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA02.westchester.pa.mail.comcast.net ([76.96.62.19]) by QMTA02.westchester.pa.mail.comcast.net with comcast id PBuX1a0070QuhwU52JAgEe; Mon, 06 Oct 2008 06:10:40 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA02.westchester.pa.mail.comcast.net with comcast id PJB71a0052P6wsM3NJB7x9; Mon, 06 Oct 2008 06:11:08 +0000 X-Authority-Analysis: v=1.0 c=1 a=CsEycxlK8kYA:10 a=LIXIPIaba54A:10 a=QycZ5dHgAAAA:8 a=ZRNFvW4X0ydfGoSnx_sA:9 a=zx4MN183FGJwvSt1sKEvWyPa2RkA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 32483C9419; Sun, 5 Oct 2008 23:11:07 -0700 (PDT) Date: Sun, 5 Oct 2008 23:11:07 -0700 From: Jeremy Chadwick To: dhaneshk k Message-ID: <20081006061107.GA11751@icarus.home.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-acpi@freebsd.org, freebsd-questions@freebsd.org Subject: Re: acpi_tz0: _TMP value is absurd ignored (-269.7C) Message in every 3 seconds . X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 06:11:09 -0000 On Mon, Oct 06, 2008 at 06:07:17AM +0000, dhaneshk k wrote: > People ; > I installed freebsd-7.0 in a p4 machine , after installation when I reboot the machine , I am getting the message > acpi_tz0: _TMP value is absurd ignored (-269.7C) in every 3 seconds .. > intel p4 3.0 GHz > Intel 82915G (915G GMCH ) > > How can i get rid off this ... can someone shed some light on this regard .. You posted this mail 3 days ago; I'm not sure why you're re-posting it. This question should go to the freebsd-acpi list, not freebsd-questions, as the problem is ACPI-related. (I am not subscribed to freebsd-acpi). A BIOS upgrade might fix the problem. -- | 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 Mon Oct 6 06:18:02 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD7801065688 for ; Mon, 6 Oct 2008 06:18:02 +0000 (UTC) (envelope-from rambiusparkisanius@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.29]) by mx1.freebsd.org (Postfix) with ESMTP id 862628FC1A for ; Mon, 6 Oct 2008 06:18:02 +0000 (UTC) (envelope-from rambiusparkisanius@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so421737yxb.13 for ; Sun, 05 Oct 2008 23:18:01 -0700 (PDT) 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=K42e0WgpiTxltAYj0bMLUkgkjukESIEwZoDPx6FK35M=; b=OuGHymzpJ05vXaqnUJIq8sL9roAne3bhYZ/d21CmzHFx1UQzdeFGPKBTKr1xcsxPlU vnG94CUSsd/ZaE6H+0aDEgQuGuTH1KwjrBHUCip0VtpabsO+GUV6LtpDV+jVnDlqtTqN ILBTGk034jrH9g9lTE6DpgiqKifUeqqe7GH7U= 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=x7uhvHdu3COk9pf0yqVjlSCWqX2Sy7BSkGf2equJRrutZZvvKy4FXYFNKWtIQYPYu8 pIgMedvZNQbtQiPx3J98wGXRaj8oqZfxnIvQS4tQRtQKbt7nKzMhfXthGSvPKDwfP13l ePUF+NFtGjGw8x3+UJOCtKw7j6gFoGUoLpP3s= Received: by 10.90.104.20 with SMTP id b20mr5207144agc.63.1223273881017; Sun, 05 Oct 2008 23:18:01 -0700 (PDT) Received: by 10.90.33.18 with HTTP; Sun, 5 Oct 2008 23:18:00 -0700 (PDT) Message-ID: <89ce7f740810052318u6bf50560h8c79549f25ece641@mail.gmail.com> Date: Mon, 6 Oct 2008 09:18:00 +0300 From: "Ivan \"Rambius\" Ivanov" To: "Adam Zaleski" In-Reply-To: <48E9A4D1.6020008@holon.urwis.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <89ce7f740810052214k4419d939s8bb8ebce5e703626@mail.gmail.com> <48E9A4D1.6020008@holon.urwis.cc> Cc: freebsd-questions@freebsd.org Subject: Re: How to generate password hashes for vipw and chpass X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 06:18:02 -0000 Hello Adam, On Mon, Oct 6, 2008 at 8:40 AM, Adam Zaleski wrote: > Ivan "Rambius" Ivanov pisze: > >> # /sbin/md5 -s newpassword >> and then I passed the output to chpass. I tried to use the new >> password for the next login but it failed - so I believe this is >> wrong. >> Can you please show me how to generate the password hashes? > > You can add new account with one command like this: > > echo user_password |pw user add new_user -h0 > > Also if you only want to generate valid password hash > you can use 'openssl passwd -1 new_password' Thank you, this is the command I was looking for. Regards Ivan -- Tangra Mega Rock: http://www.radiotangra.com From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 07:14:57 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D6611065687 for ; Mon, 6 Oct 2008 07:14:57 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from smtp-2.orange.nl (smtp-2.orange.nl [193.252.22.242]) by mx1.freebsd.org (Postfix) with ESMTP id 31FA78FC3C for ; Mon, 6 Oct 2008 07:14:57 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from smtp-2.orange.nl (mwinf6103 [172.22.153.25]) by mwinf6110.online.nl (SMTP Server) with ESMTP id DA57A10006C1 for ; Mon, 6 Oct 2008 08:42:01 +0200 (CEST) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf6103.online.nl (SMTP Server) with ESMTP id 621F31C00082 for ; Mon, 6 Oct 2008 08:42:00 +0200 (CEST) Received: from [192.168.2.173] (s5590cf7b.adsl.wanadoo.nl [85.144.207.123]) by mwinf6103.online.nl (SMTP Server) with ESMTP id 4CEB91C00081 for ; Mon, 6 Oct 2008 08:41:58 +0200 (CEST) X-ME-UUID: 20081006064159315.4CEB91C00081@mwinf6103.online.nl From: Aniruddha To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Mon, 06 Oct 2008 08:41:59 +0200 Message-Id: <1223275319.4116.7.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Subject: USB mouse problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 07:14:57 -0000 I have one Razer Lachesis USB mouse attached to the rear usb ports of my pc. This mouse has never worked, however when I plug in another USB mouse in the front of my pc it works?! I wonder; how do I get the Razer Lachesis working without plugging it in the front? Furthermore I wondered if there is a way to use both the mouse in a terminal (gpm) and in xorg? -- Regards, Aniruddha From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 07:19:36 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 739AF10656A3; Mon, 6 Oct 2008 07:19:36 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id EB1388FC1E; Mon, 6 Oct 2008 07:19:35 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id m967JFqk050525; Mon, 6 Oct 2008 08:19:16 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk m967JFqk050525 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1223277557; bh=qtLbMEj3nDQjgC 0c8nwDzpNDirXd/AkpS1UA6of/u2M=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type:Cc:Content-Type: Date:From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Mes sage-ID:=20<48E9BBED.7090607@infracaninophile.co.uk>|Date:=20Mon,=2 006=20Oct=202008=2008:19:09=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.17=20(X11/20080929)|MIME-Version:=201 .0|To:=20Jeremy=20Chadwick=20|CC:=20Scott=20Ben nett=20,=20freebsd-questions@freebsd.org|Subjec t:=20Re:=20pf=20vs.=20RST=20attack=20question|References:=20<200810 051753.m95Hr3N5014872@mp.cs.niu.edu>=20<20081006003601.GA5733@icaru s.home.lan>|In-Reply-To:=20<20081006003601.GA5733@icarus.home.lan>| X-Enigmail-Version:=200.95.6|Content-Type:=20multipart/signed=3B=20 micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"application/pgp-signatur e"=3B=0D=0A=20boundary=3D"------------enig07472118FAC2753BEB9B41EB" ; b=vYKyaVMnlfI0xSPvDum2mXQ+iGI7uK4e3fJC0TZxos4W1u9yQ71llNV4oXqN2Dd ig8HusT8136jEAxBnjuqA5b2O1iWiPXJywtmHZx0eWDR4pudMzP/+C33O1vGJytHXcc AzdQgB0XfmDYbQEJ3PCUnFCrUb33/P0gbizjoj32s= Message-ID: <48E9BBED.7090607@infracaninophile.co.uk> Date: Mon, 06 Oct 2008 08:19:09 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.17 (X11/20080929) MIME-Version: 1.0 To: Jeremy Chadwick References: <200810051753.m95Hr3N5014872@mp.cs.niu.edu> <20081006003601.GA5733@icarus.home.lan> In-Reply-To: <20081006003601.GA5733@icarus.home.lan> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig07472118FAC2753BEB9B41EB" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Mon, 06 Oct 2008 08:19:17 +0100 (BST) X-Virus-Scanned: ClamAV 0.94/8377/Mon Oct 6 02:36:23 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: Scott Bennett , freebsd-questions@freebsd.org Subject: Re: pf vs. RST attack 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, 06 Oct 2008 07:19:36 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig07472118FAC2753BEB9B41EB Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Jeremy Chadwick wrote: > On Sun, Oct 05, 2008 at 12:53:03PM -0500, Scott Bennett wrote: >> I'm getting a lot of messages like this: >> >> Oct 4 14:30:00 hellas kernel: Limiting closed port RST response from = 250 to 200 packets/sec >> >> Is there some rule I can insert into /etc/pf.conf to reject these appa= rently >> invalid RST packets before they can bother TCP? At the same time, I d= o not >> want to reject legitimate RST packets. >=20 > They're outbound RST packets coming from your box as a result of > incoming packets someone is sending you (possibly an attack). >=20 > Proper firewalling rules should help defeat this, but there is no "magi= c > rule" you can place into pf.conf that will stop this. >=20 > If you want a "magic solution", see blackhole(4). >=20 block drop all looks fairly magical to me. Stick that at the top of your ruleset as your default policy, add more specific rules beneath it to allow the traffic you do want to pass, and Robert is your Mother's Brother. No more floods of RST packets. (Actually, I'd recommend always adding a 'log' clause to any rules that drop packets like so: 'block log drop all'. Makes running 'tcpdump -i pf= log0' an invaluable debugging aid.) Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig07472118FAC2753BEB9B41EB 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.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkjpu/MACgkQ8Mjk52CukIzcNgCeM2X9D3bVSkln+7GC3/4q+VYJ bpEAoJUdXoSjGuv0LIeneygQrnGDy1+b =Oh8l -----END PGP SIGNATURE----- --------------enig07472118FAC2753BEB9B41EB-- From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 07:26:13 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBE5D1065692 for ; Mon, 6 Oct 2008 07:26:13 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA02.emeryville.ca.mail.comcast.net (qmta02.emeryville.ca.mail.comcast.net [76.96.30.24]) by mx1.freebsd.org (Postfix) with ESMTP id 9A9CA8FC1E for ; Mon, 6 Oct 2008 07:26:13 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA14.emeryville.ca.mail.comcast.net ([76.96.30.60]) by QMTA02.emeryville.ca.mail.comcast.net with comcast id PK8g1a00D1HpZEsA2KSDE1; Mon, 06 Oct 2008 07:26:13 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA14.emeryville.ca.mail.comcast.net with comcast id PKSC1a0012P6wsM8aKSCEm; Mon, 06 Oct 2008 07:26:13 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=8cs9kVabgna1722WGwAA:9 a=g2qGF8xRU5T5y2jY7KMA:7 a=KJx5B_Kxs-o-eHo9Ju3QC0YuU-wA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id EFA18C9419; Mon, 6 Oct 2008 00:26:11 -0700 (PDT) Date: Mon, 6 Oct 2008 00:26:11 -0700 From: Jeremy Chadwick To: Matthew Seaman Message-ID: <20081006072611.GA13147@icarus.home.lan> References: <200810051753.m95Hr3N5014872@mp.cs.niu.edu> <20081006003601.GA5733@icarus.home.lan> <48E9BBED.7090607@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48E9BBED.7090607@infracaninophile.co.uk> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Scott Bennett , freebsd-questions@freebsd.org Subject: Re: pf vs. RST attack 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, 06 Oct 2008 07:26:13 -0000 On Mon, Oct 06, 2008 at 08:19:09AM +0100, Matthew Seaman wrote: > Jeremy Chadwick wrote: >> On Sun, Oct 05, 2008 at 12:53:03PM -0500, Scott Bennett wrote: >>> I'm getting a lot of messages like this: >>> >>> Oct 4 14:30:00 hellas kernel: Limiting closed port RST response from 250 to 200 packets/sec >>> >>> Is there some rule I can insert into /etc/pf.conf to reject these apparently >>> invalid RST packets before they can bother TCP? At the same time, I do not >>> want to reject legitimate RST packets. >> >> They're outbound RST packets coming from your box as a result of >> incoming packets someone is sending you (possibly an attack). >> >> Proper firewalling rules should help defeat this, but there is no "magic >> rule" you can place into pf.conf that will stop this. >> >> If you want a "magic solution", see blackhole(4). >> > > block drop all > > looks fairly magical to me. Stick that at the top of your ruleset as > your default policy, add more specific rules beneath it to allow > the traffic you do want to pass, and Robert is your Mother's Brother. > No more floods of RST packets. This is incredibly draconian. :-) I was trying my best to remain realistic. > (Actually, I'd recommend always adding a 'log' clause to any rules that > drop packets like so: 'block log drop all'. Makes running 'tcpdump -i pflog0' > an invaluable debugging aid.) I cannot advocate use of "log" on such "vague" rules, and my attitude is based on experience: We had "log" set on some of our deny rules, specifically on an entry which blocked any traffic to an IP to any ports other than 53 (DNS). Someone initiated an attack against that IP, to a destination port of something other than 53, which caused pflog to go crazy with logging. What inadvertently resulted was a local system DoS -- the system began sporting a load average between 40 and 50, and was sluggish. The root cause? /var/log/pflog was growing at such a tremendous rate that newsyslog (trying to rotate and compress the logs) could not keep up. When I got to it, I found 8 or 9 gzip/newsyslog processes running trying to deal with the chaos. Bottom line: be very, very cautious what rules you use "log" on, and be sure to remove it once the system is in production. -- | 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 Mon Oct 6 08:35:12 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BEDD31065677; Mon, 6 Oct 2008 08:35:12 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 384058FC08; Mon, 6 Oct 2008 08:35:12 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id m968YqCU088827; Mon, 6 Oct 2008 09:34:53 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk m968YqCU088827 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1223282093; bh=l/TDT4UlcNwMf9 Wrjzuok41rSmld5BhzMhxeJ1iR3tA=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type:Cc:Content-Type: Date:From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Mes sage-ID:=20<48E9CDA6.80508@infracaninophile.co.uk>|Date:=20Mon,=200 6=20Oct=202008=2009:34:46=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User-A gent:=20Thunderbird=202.0.0.17=20(X11/20080929)|MIME-Version:=201.0 |To:=20Jeremy=20Chadwick=20|CC:=20Scott=20Benne tt=20,=20freebsd-questions@FreeBSD.org|Subject: =20Re:=20pf=20vs.=20RST=20attack=20question|References:=20<20081005 1753.m95Hr3N5014872@mp.cs.niu.edu>=20<20081006003601.GA5733@icarus. home.lan>=20<48E9BBED.7090607@infracaninophile.co.uk>=20<2008100607 2611.GA13147@icarus.home.lan>|In-Reply-To:=20<20081006072611.GA1314 7@icarus.home.lan>|X-Enigmail-Version:=200.95.6|Content-Type:=20mul tipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"appli cation/pgp-signature"=3B=0D=0A=20boundary=3D"------------enigDB0E46 02F230BC04BCB244D9"; b=lOLmZsPa+GIdjXu2YuTo8NFAT4I/g3ogDfShmGb4KOHE YBgcjsEbCG5BAYo9dq4pgi/j94R9prNeP73DMxz37cqdouck0q/sDD/3aO7M38srZ+t J0CHzJfgEqCv588Wy6kQjLx2f2GzAcA/SYUpwwvC4+B4SszzfVbaNRWk7YCg= Message-ID: <48E9CDA6.80508@infracaninophile.co.uk> Date: Mon, 06 Oct 2008 09:34:46 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.17 (X11/20080929) MIME-Version: 1.0 To: Jeremy Chadwick References: <200810051753.m95Hr3N5014872@mp.cs.niu.edu> <20081006003601.GA5733@icarus.home.lan> <48E9BBED.7090607@infracaninophile.co.uk> <20081006072611.GA13147@icarus.home.lan> In-Reply-To: <20081006072611.GA13147@icarus.home.lan> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigDB0E4602F230BC04BCB244D9" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Mon, 06 Oct 2008 09:34:53 +0100 (BST) X-Virus-Scanned: ClamAV 0.94/8377/Mon Oct 6 02:36:23 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: Scott Bennett , freebsd-questions@FreeBSD.org Subject: Re: pf vs. RST attack 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, 06 Oct 2008 08:35:12 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDB0E4602F230BC04BCB244D9 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Jeremy Chadwick wrote: > On Mon, Oct 06, 2008 at 08:19:09AM +0100, Matthew Seaman wrote: >> Jeremy Chadwick wrote: >>> If you want a "magic solution", see blackhole(4). >>> >> block drop all >> >> looks fairly magical to me. Stick that at the top of your ruleset as >> your default policy, add more specific rules beneath it to allow >> the traffic you do want to pass, and Robert is your Mother's Brother. >> No more floods of RST packets. >=20 > This is incredibly draconian. :-) I was trying my best to remain > realistic. It's no such thing. This is the recommended standard practice when desig= ning firewalls: always start from the premise that all traffic will be dropped= by default and add specific exceptions to allow the traffic you want. Tryin= g to work the other way round is a recipe for disaster: 'allow everything, but= block what is then shown to be deleterious' means that you're always playing ca= tch-up as changes on your servers expose new attack vectors and as attackers dis= cover and try to exploit those holes. Not recommended, unless you actually /li= ke/ being paged in the wee small hours. >> (Actually, I'd recommend always adding a 'log' clause to any rules tha= t >> drop packets like so: 'block log drop all'. Makes running 'tcpdump -i= pflog0' >> an invaluable debugging aid.) >=20 > I cannot advocate use of "log" on such "vague" rules, and my attitude i= s > based on experience: >=20 > We had "log" set on some of our deny rules, specifically on an entry > which blocked any traffic to an IP to any ports other than 53 (DNS). > Someone initiated an attack against that IP, to a destination port of > something other than 53, which caused pflog to go crazy with logging. >=20 > What inadvertently resulted was a local system DoS -- the system began > sporting a load average between 40 and 50, and was sluggish. >=20 > The root cause? /var/log/pflog was growing at such a tremendous rate > that newsyslog (trying to rotate and compress the logs) could not keep > up. When I got to it, I found 8 or 9 gzip/newsyslog processes running > trying to deal with the chaos. >=20 > Bottom line: be very, very cautious what rules you use "log" on, and be= > sure to remove it once the system is in production. >=20 You have a point here, I will certainly admit that. In my experience, I'= ve not yet run into that scenario. I've tended to see systems more easily DoSed= by running out of pf states due to excessive DoS traffic to allowed ports th= an to any extra load from pflogd and newsyslog from logging denied traffic. Th= e machines in question already log so much legitimate traffic from Squid an= d Apache that pflog is trivial by comparison. Of course, now I've said 'it never = happens' I'm expecting half our firewalls to explode any minute now... Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enigDB0E4602F230BC04BCB244D9 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.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkjpzawACgkQ8Mjk52CukIymuACeOnFlYEUv3WQMa0ivVfp85YNf O2QAn2P7+FJryS55FH2Fm+kgoHY0EPYJ =SuAZ -----END PGP SIGNATURE----- --------------enigDB0E4602F230BC04BCB244D9-- From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 08:39:43 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A89B21065687 for ; Mon, 6 Oct 2008 08:39:43 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.183]) by mx1.freebsd.org (Postfix) with ESMTP id 643DB8FC1B for ; Mon, 6 Oct 2008 08:39:43 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: by el-out-1112.google.com with SMTP id v27so501548ele.13 for ; Mon, 06 Oct 2008 01:39:42 -0700 (PDT) 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=HgoEFelApQiBRQTHeGJG4kROgnpdzz4dNi948je3V3w=; b=kJc9zTx/EbGKDOhy/vurriTal0gQ7vgV7SBV9c+Vxn5LLREgKKnx+ynum7ZvYLe2EL RGNU6ZkFXiWpHDU38yfAar7NTazMJwhzepp349vuwzZDebSlPas9+vwVoJ5rVREcP8RQ 8L8HgjXrTEJcwL8H8n+Rh9RXqalb9mdQVCO8Q= 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=bVc/hqZiLRxoy4XcVAUnUoq04b52xS7JuU3Yw/01yeCK0rn0clM4axg3Sf0G5S0YAH 1crlqSzAE/Af5AOMGdbCL9MmJ+AdbvUymGSU6xMB3NuAPyCDsOGcHcxZ+YcMjXIQVcYO T5PMYCGOO4foGLRTpZAnXGrFtKl3CPoVXBqqc= Received: by 10.150.216.3 with SMTP id o3mr7200090ybg.218.1223282382382; Mon, 06 Oct 2008 01:39:42 -0700 (PDT) Received: by 10.64.112.18 with HTTP; Mon, 6 Oct 2008 01:39:42 -0700 (PDT) Message-ID: <94136a2c0810060139r740c3a96hc9c79028e7b93a4d@mail.gmail.com> Date: Mon, 6 Oct 2008 10:39:42 +0200 From: "Zbigniew Szalbot" To: freebsd-questions MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: update.FreeBSD.org / No mirrors remaining, giving up X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 08:39:43 -0000 Hello, I am not sure why but whenever I do: $ freebsd-update fetch Fetching metadata signature for 7.0-RELEASE from update.FreeBSD.org... failed. No mirrors remaining, giving up. but if type: $ portsnap fetch Fetching snapshot tag from portsnap.FreeBSD.org... done. Many thanks for any hint as to what may be wrong with update.FreeBSD.org on this machine! -- Zbigniew Szalbot From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 09:06:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBE0D1065696 for ; Mon, 6 Oct 2008 09:06:39 +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 A4AAE8FC1C for ; Mon, 6 Oct 2008 09:06:39 +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 <0K8B00K9D6L2WEP0@mta1.srv.hcvlny.cv.net> for freebsd-questions@freebsd.org; Mon, 06 Oct 2008 04:36:38 -0400 (EDT) Received: from flosoft.no-ip.biz (localhost [127.0.0.1]) by flosoft.no-ip.biz (8.14.3/8.14.3) with ESMTP id m968aUM9080560; Mon, 06 Oct 2008 04:36:30 -0400 Date: Mon, 06 Oct 2008 04:36:30 -0400 From: "Aryeh M. Friedman" To: freebsd-questions@freebsd.org Message-id: <48E9CE0E.7000404@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Enigmail-Version: 0.95.6 User-Agent: Thunderbird 2.0.0.17 (X11/20080927) Subject: Setting up skype X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 09:06:39 -0000 I am running the most recent version of net/skype (not -devel) and do not have a mic or camera and want to know what people recommend. Ideally I would like a all in one phone type head set for the audio. bTW I am usinf xfce on 8-CURRENT (i386) From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 09:07:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1539D106569F for ; Mon, 6 Oct 2008 09:07:07 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA09.westchester.pa.mail.comcast.net (qmta09.westchester.pa.mail.comcast.net [76.96.62.96]) by mx1.freebsd.org (Postfix) with ESMTP id B2E9C8FC15 for ; Mon, 6 Oct 2008 09:07:06 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA06.westchester.pa.mail.comcast.net ([76.96.62.51]) by QMTA09.westchester.pa.mail.comcast.net with comcast id PLmi1a00516LCl059M76UC; Mon, 06 Oct 2008 09:07:06 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA06.westchester.pa.mail.comcast.net with comcast id PM741a0022P6wsM3SM75LJ; Mon, 06 Oct 2008 09:07:06 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=TiTzoFeEzAEEZmVz690A:9 a=MnAxvmtwv6TZH1ttKYEA:7 a=g_aYAnWhNgc5ygYhrEkHsIOJJ4MA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 880C0C9419; Mon, 6 Oct 2008 02:07:04 -0700 (PDT) Date: Mon, 6 Oct 2008 02:07:04 -0700 From: Jeremy Chadwick To: Matthew Seaman Message-ID: <20081006090704.GB13975@icarus.home.lan> References: <200810051753.m95Hr3N5014872@mp.cs.niu.edu> <20081006003601.GA5733@icarus.home.lan> <48E9BBED.7090607@infracaninophile.co.uk> <20081006072611.GA13147@icarus.home.lan> <48E9CDA6.80508@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48E9CDA6.80508@infracaninophile.co.uk> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Scott Bennett , freebsd-questions@FreeBSD.org Subject: Re: pf vs. RST attack 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, 06 Oct 2008 09:07:07 -0000 On Mon, Oct 06, 2008 at 09:34:46AM +0100, Matthew Seaman wrote: > Jeremy Chadwick wrote: >> On Mon, Oct 06, 2008 at 08:19:09AM +0100, Matthew Seaman wrote: >>> Jeremy Chadwick wrote: > > >>>> If you want a "magic solution", see blackhole(4). >>>> >>> block drop all >>> >>> looks fairly magical to me. Stick that at the top of your ruleset as >>> your default policy, add more specific rules beneath it to allow >>> the traffic you do want to pass, and Robert is your Mother's Brother. >>> No more floods of RST packets. >> >> This is incredibly draconian. :-) I was trying my best to remain >> realistic. > > It's no such thing. This is the recommended standard practice when designing > firewalls: always start from the premise that all traffic will be dropped by > default and add specific exceptions to allow the traffic you want. Trying to > work the other way round is a recipe for disaster: 'allow everything, but block > what is then shown to be deleterious' means that you're always playing catch-up > as changes on your servers expose new attack vectors and as attackers discover > and try to exploit those holes. Not recommended, unless you actually /like/ > being paged in the wee small hours. What I mean by 'draconian': "block drop all" includes both incoming *and* outgoing traffic. I have absolutely no qualms with "block in all", but "block out all" is too unrealistic, depending greatly on what the purpose of the machine is. Any outbound sockets are going to be allocated dynamically (e.g. non-static port number), so there's no effective way to add pass rules for outbound traffic. Using uid/gid is not sufficient. I often advocate using "block in all", "pass out all", and then adding specific "pass" rules for incoming traffic (e.g. an Internet request wishing to speak to BIND on port 53, Apache on 80/443, etc.). Like I said: I'm being realistic. >>> (Actually, I'd recommend always adding a 'log' clause to any rules that >>> drop packets like so: 'block log drop all'. Makes running 'tcpdump -i pflog0' >>> an invaluable debugging aid.) >> >> I cannot advocate use of "log" on such "vague" rules, and my attitude is >> based on experience: >> >> We had "log" set on some of our deny rules, specifically on an entry >> which blocked any traffic to an IP to any ports other than 53 (DNS). >> Someone initiated an attack against that IP, to a destination port of >> something other than 53, which caused pflog to go crazy with logging. >> >> What inadvertently resulted was a local system DoS -- the system began >> sporting a load average between 40 and 50, and was sluggish. >> >> The root cause? /var/log/pflog was growing at such a tremendous rate >> that newsyslog (trying to rotate and compress the logs) could not keep >> up. When I got to it, I found 8 or 9 gzip/newsyslog processes running >> trying to deal with the chaos. >> >> Bottom line: be very, very cautious what rules you use "log" on, and be >> sure to remove it once the system is in production. > > You have a point here, I will certainly admit that. In my experience, I've not > yet run into that scenario. I've tended to see systems more easily DoSed by > running out of pf states due to excessive DoS traffic to allowed ports than to > any extra load from pflogd and newsyslog from logging denied traffic. The > machines in question already log so much legitimate traffic from Squid and Apache > that pflog is trivial by comparison. Of course, now I've said 'it never happens' > I'm expecting half our firewalls to explode any minute now... :-) I sure hope not! The situation we experienced came as a great surprise, and it wasn't something I even remotely considered when setting up the rules in question. Since then, "log" has been removed from all of our rules, but I keep pflog running in the case that "something" starts happening and I need to temporary add "log" to rules + /etc/rc.d/pf reload to see what's going on. Of course, tcpdump also works wonders here. Good discussion! (And I hope the OP is learning something :-) ) -- | 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 Mon Oct 6 09:09:29 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85B741065688 for ; Mon, 6 Oct 2008 09:09:29 +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 5E8828FC13 for ; Mon, 6 Oct 2008 09:09:29 +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 <0K8B00GS46PSQSM0@mta2.srv.hcvlny.cv.net> for freebsd-questions@freebsd.org; Mon, 06 Oct 2008 04:39:28 -0400 (EDT) Received: from flosoft.no-ip.biz (localhost [127.0.0.1]) by flosoft.no-ip.biz (8.14.3/8.14.3) with ESMTP id m968dKVa080568; Mon, 06 Oct 2008 04:39:20 -0400 Date: Mon, 06 Oct 2008 04:39:20 -0400 From: "Aryeh M. Friedman" To: freebsd-questions@freebsd.org Message-id: <48E9CEB8.4090406@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Enigmail-Version: 0.95.6 User-Agent: Thunderbird 2.0.0.17 (X11/20080927) Subject: stupid xfce clock 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, 06 Oct 2008 09:09:29 -0000 I work remotely with a company that is across the international date line from me and I can do the math in my head but want to know if it is possible to add a clock to my xfce panel that shows the time their (and keep the one that has my time on it) From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 10:15:26 2008 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 7C1E2106568D for ; Mon, 6 Oct 2008 10:15:26 +0000 (UTC) (envelope-from yurtesen@ispro.net.tr) Received: from turkey.ispro.net.tr (ns2.ispro.net [87.251.0.2]) by mx1.freebsd.org (Postfix) with ESMTP id 13AB08FC0C for ; Mon, 6 Oct 2008 10:15:26 +0000 (UTC) (envelope-from yurtesen@ispro.net.tr) Received: from a91-152-230-218.elisa-laajakaista.fi ([91.152.230.218] helo=[192.168.1.34]) by turkey.ispro.net.tr with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KmmpI-000Dbf-5b for questions@freebsd.org; Mon, 06 Oct 2008 12:56:28 +0300 Message-ID: <48E9E146.9040308@ispro.net.tr> Date: Mon, 06 Oct 2008 12:58:30 +0300 From: Evren Yurtesen User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: continuous backup solution for 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, 06 Oct 2008 10:15:26 -0000 Hello, Is there a known continuous backup solution similar to r1soft backup for FreeBSD? I googled a lot but couldnt find anything. R1soft says they need help to develop FreeBSD support in their product. Do you know anybody who can help r1soft on this issue? Please see: http://forum.r1soft.com/showpost.php?p=3414&postcount=9 Thanks, Evren From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 11:04:59 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EA16106568E; Mon, 6 Oct 2008 11:04:59 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id E3D438FC1F; Mon, 6 Oct 2008 11:04:58 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id m96B4ZBW095114; Mon, 6 Oct 2008 12:04:37 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk m96B4ZBW095114 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1223291077; bh=5mOn01wBYS2/1s zv7ap7hifaEWF9EfqN+MlrI7TakrU=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type:Cc:Content-Type: Date:From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Mes sage-ID:=20<48E9F0B8.6070708@infracaninophile.co.uk>|Date:=20Mon,=2 006=20Oct=202008=2012:04:24=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.17=20(X11/20080929)|MIME-Version:=201 .0|To:=20Jeremy=20Chadwick=20|CC:=20Scott=20Ben nett=20,=20freebsd-questions@FreeBSD.org|Subjec t:=20Re:=20pf=20vs.=20RST=20attack=20question|References:=20<200810 051753.m95Hr3N5014872@mp.cs.niu.edu>=20<20081006003601.GA5733@icaru s.home.lan>=20<48E9BBED.7090607@infracaninophile.co.uk>=20<20081006 072611.GA13147@icarus.home.lan>=20<48E9CDA6.80508@infracaninophile. co.uk>=20<20081006090704.GB13975@icarus.home.lan>|In-Reply-To:=20<2 0081006090704.GB13975@icarus.home.lan>|X-Enigmail-Version:=200.95.6 |Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A =20protocol=3D"application/pgp-signature"=3B=0D=0A=20boundary=3D"-- ----------enig35BF2940C2F165010B6ACDC7"; b=UT6VdEm67XeVLPtZPjFeETxJ BXYwcaHmtQR/37gQ5iOKusrUPAWsm3CVfyeEFuexEg2+t8QDSQqnKmqWo5XAKImYnfM LLZs09U+9tu11sUqfNjWrbmkRoBH0vWVC/jM7A8eT7/QPj/c2R2py5uGCQ76jijyBfb 3nJ8G1DgOR7eQ= Message-ID: <48E9F0B8.6070708@infracaninophile.co.uk> Date: Mon, 06 Oct 2008 12:04:24 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.17 (X11/20080929) MIME-Version: 1.0 To: Jeremy Chadwick References: <200810051753.m95Hr3N5014872@mp.cs.niu.edu> <20081006003601.GA5733@icarus.home.lan> <48E9BBED.7090607@infracaninophile.co.uk> <20081006072611.GA13147@icarus.home.lan> <48E9CDA6.80508@infracaninophile.co.uk> <20081006090704.GB13975@icarus.home.lan> In-Reply-To: <20081006090704.GB13975@icarus.home.lan> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig35BF2940C2F165010B6ACDC7" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Mon, 06 Oct 2008 12:04:37 +0100 (BST) X-Virus-Scanned: ClamAV 0.94/8377/Mon Oct 6 02:36:23 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: Scott Bennett , freebsd-questions@FreeBSD.org Subject: Re: pf vs. RST attack 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, 06 Oct 2008 11:04:59 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig35BF2940C2F165010B6ACDC7 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Jeremy Chadwick wrote: > On Mon, Oct 06, 2008 at 09:34:46AM +0100, Matthew Seaman wrote: >> Jeremy Chadwick wrote: >>> On Mon, Oct 06, 2008 at 08:19:09AM +0100, Matthew Seaman wrote: >>>> Jeremy Chadwick wrote: >> >>>>> If you want a "magic solution", see blackhole(4). >>>>> >>>> block drop all >>>> >>>> looks fairly magical to me. Stick that at the top of your ruleset a= s >>>> your default policy, add more specific rules beneath it to allow >>>> the traffic you do want to pass, and Robert is your Mother's Brother= =2E >>>> No more floods of RST packets. >>> This is incredibly draconian. :-) I was trying my best to remain >>> realistic. >> It's no such thing. This is the recommended standard practice when de= signing >> firewalls: always start from the premise that all traffic will be drop= ped by >> default and add specific exceptions to allow the traffic you want. Tr= ying to >> work the other way round is a recipe for disaster: 'allow everything, = but block >> what is then shown to be deleterious' means that you're always playing= catch-up >> as changes on your servers expose new attack vectors and as attackers = discover >> and try to exploit those holes. Not recommended, unless you actually = /like/ >> being paged in the wee small hours. >=20 > What I mean by 'draconian': "block drop all" includes both incoming > *and* outgoing traffic. Well, yeah. But 'block drop in all' is pretty much just an optimised=20 variant of block drop all pass out all even if you never write it out that way. You're just starting two=20 steps into the process I was talking about.=20 > I have absolutely no qualms with "block in all", but "block out all" is= > too unrealistic, depending greatly on what the purpose of the machine > is. Any outbound sockets are going to be allocated dynamically (e.g. > non-static port number), so there's no effective way to add pass rules > for outbound traffic. Using uid/gid is not sufficient. > I often advocate using "block in all", "pass out all", and then adding > specific "pass" rules for incoming traffic (e.g. an Internet request > wishing to speak to BIND on port 53, Apache on 80/443, etc.). >=20 > Like I said: I'm being realistic. One man's realism is another's open proxy or information disclosure and having to deal with abuse complaints. Yes, in practice for some of the firewalls we manage the policy is 'all outgoing is allowed',=20 but by no means the majority. Most of the time we do permit outgoing for= some or all of these protocols: FTP(passive), SSH, SMTP, DNS,=20 HTTP, NTP, HTTPS, RSYNC, CVSUP and frequently that's allowing=20 outgoing to any unless there's a requirement to restrict things=20 further. We aren't concerned with writing filter rules that operate on the local port numbers here, but with the port numbers on the remote sites we're connecting to. As you say, local port numbers are unpredictable, but stateful firewall rules handle all that sort of thing easily, even for stateless (UDP) protocols like DNS. Not only that, but looking = up a packet in the state table is generally quite a bit faster=20 than having to traverse the whole rule set. At least, it is when using=20 pf. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig35BF2940C2F165010B6ACDC7 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.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkjp8MMACgkQ8Mjk52CukIz5cQCeNxS9/HmpjFqICplsOkU+o8Rz BDwAn0fCcq5jWDyuW6Sk82RJlt18HXr0 =SJ0k -----END PGP SIGNATURE----- --------------enig35BF2940C2F165010B6ACDC7-- From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 11:09:33 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44E5E10656DC for ; Mon, 6 Oct 2008 11:09:33 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [91.121.44.19]) by mx1.freebsd.org (Postfix) with ESMTP id 0618D8FC1B for ; Mon, 6 Oct 2008 11:09:32 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from baby-jane.lamaiziere.net (201.158.192-77.rev.gaoland.net [77.192.158.201]) by smtp.lamaiziere.net (Postfix) with ESMTPA id B839D63367C for ; Mon, 6 Oct 2008 13:09:31 +0200 (CEST) Received: from baby-jane-lamaiziere-net.local (localhost [127.0.0.1]) by baby-jane.lamaiziere.net (Postfix) with ESMTP id C57B661761D for ; Mon, 6 Oct 2008 13:09:30 +0200 (CEST) Date: Mon, 6 Oct 2008 13:09:29 +0200 From: Patrick =?ISO-8859-15?Q?Lamaizi=E8re?= To: freebsd-questions@freebsd.org Message-ID: <20081006130929.386aebb7@baby-jane-lamaiziere-net.local> In-Reply-To: <1223275319.4116.7.camel@debian> References: <1223275319.4116.7.camel@debian> Organization: /dave/nulle X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i386-apple-darwin9.3.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Subject: Re: USB mouse problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 11:09:33 -0000 Le Mon, 06 Oct 2008 08:41:59 +0200, Aniruddha a écrit : > I have one Razer Lachesis USB mouse attached to the rear usb ports of > my pc. This mouse has never worked, however when I plug in another USB > mouse in the front of my pc it works?! I wonder; how do I get the > Razer Lachesis working without plugging it in the front? I don't know. > Furthermore I wondered if there is a way to use both the mouse in a > terminal (gpm) and in xorg? Yes, see moused(8) and vidcontrol(1). Regards. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 11:12:27 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B2B7106568A for ; Mon, 6 Oct 2008 11:12:27 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from angel.comcen.com.au (angel.comcen.com.au [203.23.236.69]) by mx1.freebsd.org (Postfix) with ESMTP id 4FC4B8FC2A for ; Mon, 6 Oct 2008 11:12:27 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [202.172.126.254]) by angel.comcen.com.au (Postfix) with ESMTP id 9CBAD5C2EF91 for ; Mon, 6 Oct 2008 22:12:45 +1100 (EST) From: Da Rock To: freebsd-questions@freebsd.org In-Reply-To: References: Content-Type: text/plain; charset=utf-8 Date: Mon, 06 Oct 2008 21:13:30 +1000 Message-Id: <1223291610.27632.21.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 8bit X-comcen-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 9CBAD5C2EF91.DBFB1 X-comcen-MailScanner: Found to be clean X-comcen-MailScanner-SpamCheck: not spam, SpamAssassin (score=0.1, required 3, RDNS_NONE 0.10) X-comcen-MailScanner-From: rock_on_the_web@comcen.com.au X-Spam-Status: No Subject: Re: Touch screen ET&T on Clevo tn120r X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 11:12:27 -0000 On Sun, 2008-10-05 at 14:59 -0300, Sdävtaker wrote: > Hello, > I installed FreeBSD 7.0r in a Clevo tablet. > I works great, but i am missing the touchscreen. > Did someone make it work or got any idea where can i start to try? > I got the pciconf -lv and scanpci -v info: > Thanks in advance for any help you can give me. Check your usb connections- copy the info here as with the pci stuff you sent. Most of these types of features are connected via usb. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 11:19:25 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FF88106568A for ; Mon, 6 Oct 2008 11:19:25 +0000 (UTC) (envelope-from kiffin.gish@planet.nl) Received: from hpsmtp-eml12.kpnxchange.com (hpsmtp-eml12.kpnxchange.com [213.75.38.112]) by mx1.freebsd.org (Postfix) with ESMTP id 9547E8FC2B for ; Mon, 6 Oct 2008 11:19:24 +0000 (UTC) (envelope-from kiffin.gish@planet.nl) Received: from hpsmtp-eml30.kpnxchange.com ([213.75.38.130]) by hpsmtp-eml12.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 6 Oct 2008 13:07:19 +0200 Received: from cpbrm-eml10.kpnxchange.com ([195.121.247.250]) by hpsmtp-eml30.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 6 Oct 2008 13:07:20 +0200 Received: from hpsmtp-eml24.kpnxchange.com ([10.94.53.250]) by cpbrm-eml10.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 6 Oct 2008 13:07:20 +0200 Received: from localhost ([10.94.53.250]) by hpsmtp-eml24.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 6 Oct 2008 13:07:19 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Mon, 6 Oct 2008 13:07:20 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: The disc in your drive looks more like an Audio CD than a FreeBSD release Thread-Index: Ackno7Nn1C/tmGdoR4ikFc74Rw5Zmw== From: To: X-OriginalArrivalTime: 06 Oct 2008 11:07:19.0697 (UTC) FILETIME=[B33BE810:01C927A3] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: The disc in your drive looks more like an Audio CD than a FreeBSD release X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 11:19:25 -0000 Hi there. I tried to install 7.1-BETA from the CD I burned from = 7.1-BETA-i386-disc1.iso, but after I created all the partitions etc and = then selected to install, I get the following error message: "The disc in your drive looks more like an Audio CD than a FreeBSD = release" Any idea what's wrong? --=20 Kiffin Gish =20 Gouda, The Netherlands From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 11:22:28 2008 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 83FCF1065686 for ; Mon, 6 Oct 2008 11:22:28 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA10.emeryville.ca.mail.comcast.net (qmta10.emeryville.ca.mail.comcast.net [76.96.30.17]) by mx1.freebsd.org (Postfix) with ESMTP id 6B34C8FC14 for ; Mon, 6 Oct 2008 11:22:28 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA10.emeryville.ca.mail.comcast.net ([76.96.30.28]) by QMTA10.emeryville.ca.mail.comcast.net with comcast id PNKX1a00F0cQ2SLAAPLhuq; Mon, 06 Oct 2008 11:20:41 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA10.emeryville.ca.mail.comcast.net with comcast id PPLX1a0022P6wsM8WPLXfR; Mon, 06 Oct 2008 11:20:41 +0000 X-Authority-Analysis: v=1.0 c=1 a=twfy5xwSsu8A:10 a=SNwvL3Cql6YA:10 a=fHcFmRhjAAAA:8 a=QycZ5dHgAAAA:8 a=C4LP0wjXdXzqnFqgTd0A:9 a=qdHKOYUNucUPbBGdO89HQl_Kl2EA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id D5494C9419; Mon, 6 Oct 2008 04:20:30 -0700 (PDT) Date: Mon, 6 Oct 2008 04:20:30 -0700 From: Jeremy Chadwick To: Evren Yurtesen Message-ID: <20081006112030.GA18670@icarus.home.lan> References: <48E9E146.9040308@ispro.net.tr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48E9E146.9040308@ispro.net.tr> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: questions@freebsd.org Subject: Re: continuous backup solution for 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, 06 Oct 2008 11:22:28 -0000 On Mon, Oct 06, 2008 at 12:58:30PM +0300, Evren Yurtesen wrote: > Hello, > > Is there a known continuous backup solution similar to r1soft backup for > FreeBSD? I googled a lot but couldnt find anything. > > R1soft says they need help to develop FreeBSD support in their product. > Do you know anybody who can help r1soft on this issue? > > Please see: http://forum.r1soft.com/showpost.php?p=3414&postcount=9 Would the GEOM gate class handle this? See ggatec(8) and ggated(8). -- | 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 Mon Oct 6 11:34:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D07961065698 for ; Mon, 6 Oct 2008 11:34:07 +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 479D68FC1D for ; Mon, 6 Oct 2008 11:34:06 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (adsl57-177.kln.forthnet.gr [77.49.184.177]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id m96BXeeK032116 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 6 Oct 2008 14:33:46 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id m96BXe3R003281; Mon, 6 Oct 2008 14:33:40 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id m96BXdTG003280; Mon, 6 Oct 2008 14:33:39 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Jeremy Chadwick References: <200810051753.m95Hr3N5014872@mp.cs.niu.edu> <20081006003601.GA5733@icarus.home.lan> <48E9BBED.7090607@infracaninophile.co.uk> <20081006072611.GA13147@icarus.home.lan> Date: Mon, 06 Oct 2008 14:33:38 +0300 In-Reply-To: <20081006072611.GA13147@icarus.home.lan> (Jeremy Chadwick's message of "Mon, 6 Oct 2008 00:26:11 -0700") Message-ID: <871vyuj6ul.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: m96BXeeK032116 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.858, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.54, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: Scott Bennett , freebsd-questions@freebsd.org Subject: Re: pf vs. RST attack 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, 06 Oct 2008 11:34:07 -0000 On Mon, 6 Oct 2008 00:26:11 -0700, Jeremy Chadwick wrote: > On Mon, Oct 06, 2008 at 08:19:09AM +0100, Matthew Seaman wrote: >> block drop all >> >> looks fairly magical to me. Stick that at the top of your ruleset as >> your default policy, add more specific rules beneath it to allow the >> traffic you do want to pass, and Robert is your Mother's Brother. No >> more floods of RST packets. > > This is incredibly draconian. :-) I was trying my best to remain > realistic. Yes this is a bit draconian, but it is also pretty ``realistic'', as in ``it works fine if all you need is a very basic, but strict firewall''. I run my laptop with a `pf.conf' that (putting most of the comments and other disabled rules for one-off tests aside) looks pretty much like: set block-policy drop set require-order yes set skip on lo0 scrub in all block in all block out all pass in quick proto icmp all pass out quick proto icmp all pass out proto { tcp, udp } all keep state Depending on the network I am connected to, I may leave DHCP replies open too, i.e.: pass in quick proto udp from 192.168.1.1/24 to 255.255.255.255 port = 68 This seems to have worked pretty well so far, but this is, as I wrote, merely a laptop. For production servers, there are probably going to be quite a few other rules to allow incoming connections. > I cannot advocate use of "log" on such "vague" rules, and my attitude > is based on experience: > > We had "log" set on some of our deny rules, specifically on an entry > which blocked any traffic to an IP to any ports other than 53 (DNS). > Someone initiated an attack against that IP, to a destination port of > something other than 53, which caused pflog to go crazy with logging. Heh, that's indeed a possibility. Hence the lack of 'log' in my default ruleset shown above. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 11:36:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FC991065689 for ; Mon, 6 Oct 2008 11:36:49 +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 DFA338FC1D for ; Mon, 6 Oct 2008 11:36:48 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (adsl57-177.kln.forthnet.gr [77.49.184.177]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id m96BaQ4F032326 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 6 Oct 2008 14:36:32 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id m96BaQKd003294; Mon, 6 Oct 2008 14:36:26 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id m96BaQNh003293; Mon, 6 Oct 2008 14:36:26 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Jeremy Chadwick References: <200810051753.m95Hr3N5014872@mp.cs.niu.edu> <20081006003601.GA5733@icarus.home.lan> <48E9BBED.7090607@infracaninophile.co.uk> <20081006072611.GA13147@icarus.home.lan> <48E9CDA6.80508@infracaninophile.co.uk> <20081006090704.GB13975@icarus.home.lan> Date: Mon, 06 Oct 2008 14:36:26 +0300 In-Reply-To: <20081006090704.GB13975@icarus.home.lan> (Jeremy Chadwick's message of "Mon, 6 Oct 2008 02:07:04 -0700") Message-ID: <87wsgmhs5h.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: m96BaQ4F032326 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.858, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.54, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: Scott Bennett , freebsd-questions@freebsd.org Subject: Re: pf vs. RST attack 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, 06 Oct 2008 11:36:49 -0000 On Mon, 6 Oct 2008 02:07:04 -0700, Jeremy Chadwick wrote: >>> This is incredibly draconian. :-) I was trying my best to remain >>> realistic. >> >> It's no such thing. This is the recommended standard practice when >> designing firewalls: always start from the premise that all traffic >> will be dropped by default and add specific exceptions to allow the >> traffic you want. [...] > > What I mean by 'draconian': "block drop all" includes both incoming > *and* outgoing traffic. > > I have absolutely no qualms with "block in all", but "block out all" > is too unrealistic, depending greatly on what the purpose of the > machine is. Any outbound sockets are going to be allocated > dynamically (e.g. non-static port number), so there's no effective > way to add pass rules for outbound traffic. Using uid/gid is not > sufficient. > > I often advocate using "block in all", "pass out all", and then adding > specific "pass" rules for incoming traffic (e.g. an Internet request > wishing to speak to BIND on port 53, Apache on 80/443, etc.). Ah! :) I was a bit confused in my last post then. I thought you were talking about `block in all' too. > Good discussion! (And I hope the OP is learning something :-) ) :-) From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 11:45:36 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9EF4C1065737 for ; Mon, 6 Oct 2008 11:45:36 +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 1B6E68FC12 for ; Mon, 6 Oct 2008 11:45:35 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (adsl57-177.kln.forthnet.gr [77.49.184.177]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id m96BjMKT000420 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 6 Oct 2008 14:45:27 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id m96BjLcZ003331; Mon, 6 Oct 2008 14:45:21 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id m96BjLUp003330; Mon, 6 Oct 2008 14:45:21 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: "Aryeh M. Friedman" References: <48E9CEB8.4090406@gmail.com> Date: Mon, 06 Oct 2008 14:45:21 +0300 In-Reply-To: <48E9CEB8.4090406@gmail.com> (Aryeh M. Friedman's message of "Mon, 06 Oct 2008 04:39:20 -0400") Message-ID: <87skrahrqm.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: m96BjMKT000420 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.858, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.54, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: stupid xfce clock 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, 06 Oct 2008 11:45:36 -0000 On Mon, 06 Oct 2008 04:39:20 -0400, "Aryeh M. Friedman" wrote: > I work remotely with a company that is across the international date > line from me and I can do the math in my head but want to know if it > is possible to add a clock to my xfce panel that shows the time their > (and keep the one that has my time on it) If you are using XFCE4 then you are reaping all the benefits of the freely available work of others. This style of subject is offensive to their efforts to provide a light-weight, beautiful, functional and fast performing desktop environment in a multitude of UNIX platforms. Please consider using a less confrontational style for posting questions in the future. Now, regarding the timezone question: You can use the `Orage Clock'. It is bundled with the current XFCE4 in the FreeBSD Ports, and its startup options include one that sets the clock timezone. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 11:51:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFD1C1065692 for ; Mon, 6 Oct 2008 11:51:03 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA03.westchester.pa.mail.comcast.net (qmta03.westchester.pa.mail.comcast.net [76.96.62.32]) by mx1.freebsd.org (Postfix) with ESMTP id 798788FC12 for ; Mon, 6 Oct 2008 11:51:03 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA01.westchester.pa.mail.comcast.net ([76.96.62.11]) by QMTA03.westchester.pa.mail.comcast.net with comcast id PP4Y1a0060EZKEL53Pr26k; Mon, 06 Oct 2008 11:51:02 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA01.westchester.pa.mail.comcast.net with comcast id PPr11a0082P6wsM3MPr1C5; Mon, 06 Oct 2008 11:51:02 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=1-e57yyiBPLYVuG5lxAA:9 a=mMwRpiFU1MRPH8fVsD45A9o0pPsA:4 a=EoioJ0NPDVgA:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 5A027C9419; Mon, 6 Oct 2008 04:51:01 -0700 (PDT) Date: Mon, 6 Oct 2008 04:51:01 -0700 From: Jeremy Chadwick To: Giorgos Keramidas Message-ID: <20081006115101.GA19442@icarus.home.lan> References: <200810051753.m95Hr3N5014872@mp.cs.niu.edu> <20081006003601.GA5733@icarus.home.lan> <48E9BBED.7090607@infracaninophile.co.uk> <20081006072611.GA13147@icarus.home.lan> <871vyuj6ul.fsf@kobe.laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <871vyuj6ul.fsf@kobe.laptop> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Scott Bennett , freebsd-questions@freebsd.org Subject: Re: pf vs. RST attack 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, 06 Oct 2008 11:51:03 -0000 On Mon, Oct 06, 2008 at 02:33:38PM +0300, Giorgos Keramidas wrote: > On Mon, 6 Oct 2008 00:26:11 -0700, Jeremy Chadwick wrote: > > On Mon, Oct 06, 2008 at 08:19:09AM +0100, Matthew Seaman wrote: > >> block drop all > >> > >> looks fairly magical to me. Stick that at the top of your ruleset as > >> your default policy, add more specific rules beneath it to allow the > >> traffic you do want to pass, and Robert is your Mother's Brother. No > >> more floods of RST packets. > > > > This is incredibly draconian. :-) I was trying my best to remain > > realistic. > > Yes this is a bit draconian, but it is also pretty ``realistic'', as in > ``it works fine if all you need is a very basic, but strict firewall''. > > I run my laptop with a `pf.conf' that (putting most of the comments and > other disabled rules for one-off tests aside) looks pretty much like: > > set block-policy drop > set require-order yes > set skip on lo0 > scrub in all > block in all > block out all > pass in quick proto icmp all > pass out quick proto icmp all > pass out proto { tcp, udp } all keep state A couple things to point out here: First, ICMP rules coming first (especially with "quick") might not be ideal; ICMP is often considered a "last resort" protocol, meaning TCP and UDP packets should have priority over it. It all depends on what you want, but this is often the industry norm. Second, and much more importantly, if you're on RELENG_7, "keep state" serves no purpose here; "flags S/SA" is implicit on TCP rules, and "keep state" is implicit in TCP, UDP, and ICMP rules. If you're using RELENG_6, then your above rules have a serious problem: you're tracking state for all outbound packets regardless of flags, and not just initial setup (SYN). This is Very Bad(tm). In that case, you should use these rules instead: pass out proto tcp all flags S/SA keep state pass out proto udp all keep state pass out proto icmp all keep state I've never gotten a definite answer as to what happens if you use "flags S/SA" on a rule that is for UDP, since UDP is a non-negotiated protocol. That's why I split them up per protocol on RELENG_6 boxes. Happy firewalling! :-) -- | 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 Mon Oct 6 11:51:23 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FD471065677 for ; Mon, 6 Oct 2008 11:51:23 +0000 (UTC) (envelope-from andrewd@webzone.net.au) Received: from smtp.webzone.net.au (smtp.webzone.net.au [210.8.36.14]) by mx1.freebsd.org (Postfix) with ESMTP id CB3A78FC19 for ; Mon, 6 Oct 2008 11:51:22 +0000 (UTC) (envelope-from andrewd@webzone.net.au) Received: from ppp121-45-215-128.lns11.adl2.internode.on.net ([121.45.215.128] helo=[192.168.202.99]) by smtp.webzone.net.au with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KmoSQ-000BDK-Mr for freebsd-questions@freebsd.org; Mon, 06 Oct 2008 21:10:58 +0930 Message-ID: <48E9F93A.5020806@webzone.net.au> Date: Mon, 06 Oct 2008 22:10:42 +1030 From: Andrew D User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <1223275319.4116.7.camel@debian> <20081006130929.386aebb7@baby-jane-lamaiziere-net.local> In-Reply-To: <20081006130929.386aebb7@baby-jane-lamaiziere-net.local> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-AUTH-WEBZONE: andrewd@webzone.net.au successfully authed as username:andrewd Subject: Re: USB mouse problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 11:51:23 -0000 Patrick Lamaizière wrote: > Le Mon, 06 Oct 2008 08:41:59 +0200, > Aniruddha a écrit : > >> I have one Razer Lachesis USB mouse attached to the rear usb ports of >> my pc. This mouse has never worked, however when I plug in another USB >> mouse in the front of my pc it works?! I wonder; how do I get the >> Razer Lachesis working without plugging it in the front? > > I don't know. Some motherboards have a jumper (or BIOS option) to that has to be set, so that the front connectors work at the expense of other ports. > >> Furthermore I wondered if there is a way to use both the mouse in a >> terminal (gpm) and in xorg? > > Yes, see moused(8) and vidcontrol(1). > > Regards. > _______________________________________________ > 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 Oct 6 11:52:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA7A81065688 for ; Mon, 6 Oct 2008 11:52:14 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA05.westchester.pa.mail.comcast.net (qmta05.westchester.pa.mail.comcast.net [76.96.62.48]) by mx1.freebsd.org (Postfix) with ESMTP id 82DD48FC1C for ; Mon, 6 Oct 2008 11:52:13 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA05.westchester.pa.mail.comcast.net ([76.96.62.43]) by QMTA05.westchester.pa.mail.comcast.net with comcast id PNAL1a0050vyq2s55PsDL4; Mon, 06 Oct 2008 11:52:13 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA05.westchester.pa.mail.comcast.net with comcast id PPs81a00H2P6wsM3RPs9la; Mon, 06 Oct 2008 11:52:09 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=T8XUkUyeLtH09d6mc90A:9 a=iAeiPMoMC0aB-WG0f0sA:7 a=GlYcIsPmzrtyCY2CE2WjR2Lv2Y4A:4 a=EoioJ0NPDVgA:10 a=MSl-tDqOz04A:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 8564EC941A; Mon, 6 Oct 2008 04:52:08 -0700 (PDT) Date: Mon, 6 Oct 2008 04:52:08 -0700 From: Jeremy Chadwick To: Giorgos Keramidas Message-ID: <20081006115208.GB19442@icarus.home.lan> References: <48E9CEB8.4090406@gmail.com> <87skrahrqm.fsf@kobe.laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87skrahrqm.fsf@kobe.laptop> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: "Aryeh M. Friedman" , freebsd-questions@freebsd.org Subject: Re: stupid xfce clock 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, 06 Oct 2008 11:52:14 -0000 On Mon, Oct 06, 2008 at 02:45:21PM +0300, Giorgos Keramidas wrote: > On Mon, 06 Oct 2008 04:39:20 -0400, "Aryeh M. Friedman" wrote: > > I work remotely with a company that is across the international date > > line from me and I can do the math in my head but want to know if it > > is possible to add a clock to my xfce panel that shows the time their > > (and keep the one that has my time on it) > > If you are using XFCE4 then you are reaping all the benefits of the > freely available work of others. This style of subject is offensive to > their efforts to provide a light-weight, beautiful, functional and fast > performing desktop environment in a multitude of UNIX platforms. > > Please consider using a less confrontational style for posting questions > in the future. It depends on how you read it. I read the Subject line to mean "I'm asking a stupid question", not "xfce is stupid". I'm pretty sure Aryeh meant the lesser, not the latter. -- | 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 Mon Oct 6 12:03:36 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE2671065687; Mon, 6 Oct 2008 12:03:36 +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 3E0178FC21; Mon, 6 Oct 2008 12:03:35 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (adsl57-177.kln.forthnet.gr [77.49.184.177]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id m96C2dD9001647 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 6 Oct 2008 15:02:44 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id m96C2clu003489; Mon, 6 Oct 2008 15:02:38 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id m96C2ccJ003488; Mon, 6 Oct 2008 15:02:38 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Jeremy Chadwick References: <200810051753.m95Hr3N5014872@mp.cs.niu.edu> <20081006003601.GA5733@icarus.home.lan> <48E9BBED.7090607@infracaninophile.co.uk> <20081006072611.GA13147@icarus.home.lan> <871vyuj6ul.fsf@kobe.laptop> <20081006115101.GA19442@icarus.home.lan> Date: Mon, 06 Oct 2008 15:02:38 +0300 In-Reply-To: <20081006115101.GA19442@icarus.home.lan> (Jeremy Chadwick's message of "Mon, 6 Oct 2008 04:51:01 -0700") Message-ID: <87ej2uexsx.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: m96C2dD9001647 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.858, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.54, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: Scott Bennett , freebsd-questions@freebsd.org Subject: Re: pf vs. RST attack 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, 06 Oct 2008 12:03:37 -0000 On Mon, 6 Oct 2008 04:51:01 -0700, Jeremy Chadwick wrote: >> I run my laptop with a `pf.conf' that (putting most of the comments and >> other disabled rules for one-off tests aside) looks pretty much like: >> >> set block-policy drop >> set require-order yes >> set skip on lo0 >> scrub in all >> block in all >> block out all >> pass in quick proto icmp all >> pass out quick proto icmp all >> pass out proto { tcp, udp } all keep state > > A couple things to point out here: > > First, ICMP rules coming first (especially with "quick") might not be > ideal; ICMP is often considered a "last resort" protocol, meaning TCP > and UDP packets should have priority over it. It all depends on what > you want, but this is often the industry norm. That's nice. > Second, and much more importantly, if you're on RELENG_7, "keep state" > serves no purpose here; "flags S/SA" is implicit on TCP rules, and > "keep state" is implicit in TCP, UDP, and ICMP rules. 8.0-CURRENT so `flags S/SA' is indeed implicit. I updated the rules to include `flags S/SA' too. Both this part and `keep state' are implicit now, but I like being slightly less verbose because I tend to forget what is `default' and what is not, at the expense of being slightly more verbose :) > Happy firewalling! :-) Thanks :) From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 12:57:20 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B73A5106568C for ; Mon, 6 Oct 2008 12:57:20 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from viefep19-int.chello.at (viefep18-int.chello.at [213.46.255.22]) by mx1.freebsd.org (Postfix) with ESMTP id 0BD0A8FC16 for ; Mon, 6 Oct 2008 12:57:19 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from edge05.upc.biz ([192.168.13.212]) by viefep19-int.chello.at (InterMail vM.7.08.02.02 201-2186-121-104-20070414) with ESMTP id <20081006125718.DPQY10076.viefep19-int.chello.at@edge05.upc.biz> for ; Mon, 6 Oct 2008 14:57:18 +0200 Received: from [192.168.2.175] ([89.134.231.52]) by edge05.upc.biz with edge id PQxF1a04z18VCLh05QxGBR; Mon, 06 Oct 2008 14:57:18 +0200 X-SourceIP: 89.134.231.52 Message-ID: <48EA0B4A.9080405@shopzeus.com> Date: Mon, 06 Oct 2008 14:57:46 +0200 From: Laszlo Nagy User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Subject: VNC server embedded into Xorg server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 12:57:20 -0000 Hi All, There was a port called net/vnc that contained a vnc.so file. That file could be loaded into the Xorg server and then I was able to monitor the X desktop with VNC. Now I'm using gnome, and gnome2-fifth-toe installs tightvnc. It conflicts with net/vnc. So I cannot install net/vnc. What other options I have to run an X server? The only extra wish is that the X server must be able to start automatically, e.g. without logging into gnome. I need this because the X server will be located at a distant location and I have to be able to use it after a system restart. Thanks, Laszlo From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 13:28:33 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DCBC1065689; Mon, 6 Oct 2008 13:28:33 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mta3.srv.hcvlny.cv.net (mta3.srv.hcvlny.cv.net [167.206.4.198]) by mx1.freebsd.org (Postfix) with ESMTP id 000638FC13; Mon, 6 Oct 2008 13:28:32 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from flosoft.no-ip.biz (ool-435559b8.dyn.optonline.net [67.85.89.184]) by mta3.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0K8B00CIMK3GYHU0@mta3.srv.hcvlny.cv.net>; Mon, 06 Oct 2008 09:28:32 -0400 (EDT) Received: from flosoft.no-ip.biz (localhost [127.0.0.1]) by flosoft.no-ip.biz (8.14.3/8.14.3) with ESMTP id m96DSCAg081384; Mon, 06 Oct 2008 09:28:13 -0400 Date: Mon, 06 Oct 2008 09:28:12 -0400 From: "Aryeh M. Friedman" In-reply-to: <20081006115208.GB19442@icarus.home.lan> To: Jeremy Chadwick Message-id: <48EA126C.6040407@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Enigmail-Version: 0.95.6 References: <48E9CEB8.4090406@gmail.com> <87skrahrqm.fsf@kobe.laptop> <20081006115208.GB19442@icarus.home.lan> User-Agent: Thunderbird 2.0.0.17 (X11/20080927) Cc: Giorgos Keramidas , freebsd-questions@FreeBSD.org Subject: Re: stupid xfce clock 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, 06 Oct 2008 13:28:33 -0000 Jeremy Chadwick wrote: > On Mon, Oct 06, 2008 at 02:45:21PM +0300, Giorgos Keramidas wrote: > >> On Mon, 06 Oct 2008 04:39:20 -0400, "Aryeh M. Friedman" wrote: >> >>> I work remotely with a company that is across the international date >>> line from me and I can do the math in my head but want to know if it >>> is possible to add a clock to my xfce panel that shows the time their >>> (and keep the one that has my time on it) >>> >> If you are using XFCE4 then you are reaping all the benefits of the >> freely available work of others. This style of subject is offensive to >> their efforts to provide a light-weight, beautiful, functional and fast >> performing desktop environment in a multitude of UNIX platforms. >> >> Please consider using a less confrontational style for posting questions >> in the future. >> > > It depends on how you read it. I read the Subject line to mean "I'm > asking a stupid question", not "xfce is stupid". I'm pretty sure Aryeh > meant the lesser, not the latter. > > Just for clarity thats what I meant... I use it specifically because it is the best desktop out there and has not made the same mistakes gnome and/or kde did (the only complaint I have is it your be nice if the desktop would updat7e it self as you change the contents of ~/Desktop) From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 13:34:42 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0D8610656A4 for ; Mon, 6 Oct 2008 13:34:42 +0000 (UTC) (envelope-from andrewd@webzone.net.au) Received: from smtp.webzone.net.au (smtp.webzone.net.au [210.8.36.14]) by mx1.freebsd.org (Postfix) with ESMTP id 69EFB8FC1E for ; Mon, 6 Oct 2008 13:34:42 +0000 (UTC) (envelope-from andrewd@webzone.net.au) Received: from ppp121-45-215-128.lns11.adl2.internode.on.net ([121.45.215.128] helo=[192.168.202.99]) by smtp.webzone.net.au with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KmqER-000Fpv-QY for freebsd-questions@freebsd.org; Mon, 06 Oct 2008 23:04:40 +0930 Message-ID: <48EA13E0.9040600@webzone.net.au> Date: Tue, 07 Oct 2008 00:04:24 +1030 From: Andrew D User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: multipart/mixed; boundary="------------040807050906090405080007" X-AUTH-WEBZONE: andrewd@webzone.net.au successfully authed as username:andrewd Subject: multihomed fbsd7 router with nat X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 13:34:42 -0000 This is a multi-part message in MIME format. --------------040807050906090405080007 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit G'Day all, Got a network that has 2 DSL connections. The 1st has cheap data and the 2nd is a more reliable provider. Basically all data goes out the first provider except some IPs which will use the second provider (just a ipfw fwd rule). If the cheap one goes offline data has to route out via the 2nd ISP, likewise if the 2nd does happen to go off then the fwd rule needs to be dropped. I have already solved this with an attached script (for suggestions and maybe to help others who may face this problem in the future). Anyway I plan to put the 2 modems into bridge mode use the ppp that comes with fbsd to do the auth side of things. My question is what should I use for NAT. Use the inbuilt NAT that comes with PPP or firewall based? TIA Cheers cya Andrew --------------040807050906090405080007 Content-Type: text/plain; name="monitor_routing.sh" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="monitor_routing.sh" #!/usr/local/bin/bash FWRUL=10000 # put main connection first # the names must match the config names in /etc/ppp/ppp.conf # Must also have a /etc/namedb/named.conf.ISP_NAME for each # ISP so that named's forward lookups points to the right name server PISP='isp1' BISP='isp2' FWBLOCK='192.168.1.209/28' LAN='192.168.1.0/24' # Functions function getgwip { PID=$1 GW='' for i in 0 1 2 3 4 5 6 7 8 9; do STR=`ifconfig tun$i 2>/dev/null |grep "PID $pid" ` if [ -n "$STR" ]; then GW=`ifconfig tun$i |grep inet |tail -n 1|awk '{print $2 " " $4}'` fi done echo $GW } function ch_route { X="Changing routing for all data to: $2\nOld default gateway: $3" GW=`getgwip $1 |awk '{print $2}'` if [ "$GW" == "$3" ]; then exit; fi echo "$X" /sbin/route delete default /sbin/route add default $GW echo "New default gateway: $GW" cp /etc/named/named.conf.$ROUTO /etc/namedb/named.conf /etc/rc.d/named reload exit } function ch_firewall { if [ "$1" != "$PISP" ]; then /sbin/ipfw -q delete $FWRUL >/dev/null 2>&1 else F=`ipfw show $FWRUL 2>/dev/null|| echo FAIL` if [ "$F" == "FAIL" ]; then /sbin/ipfw -q add $FWRUL fwd $2 ip from $FWBLOCK to not $LAN fi fi } PPPCOM='/usr/sbin/ppp -quiet -ddial -nat ' PID1=`ps ax | grep ppp | grep -v grep |grep "$PISP" |awk '{print $1}'` PID2=`ps ax | grep ppp | grep -v grep |grep "$BISP" |awk '{print $1}'` ROUTO='' if [ -z "$PID1" ] then $PPPCOM $PISP >/dev/null 2>&1 & ROUTO=$BISP RPID="$PID2" fi if [ -z "$PID2" ] then $PPPCOM $BISP >/dev/null 2>&1 & ROUTO=$PISP RPID=$PID1 fi CGW=`netstat -rn | grep "^default" | awk '{print $2}'` if [ -n "$ROUTO" ]; then echo "restarting $ROUTO" ch_firewall clear ch_route $RPID "$ROUTO" "$CGW" fi TMP=`getgwip $PISP` PGW=`echo $TMP | awk '{print $2}'` PIP=`echo $TMP | awk '{print $1}'` TMP=`getgwip $BISP` BGW=`echo $TMP | awk '{print $2}'` BIP=`echo $TMP | awk '{print $1}'` OUT="Current default gateway: $CGW" if [ -z "$PIP" -a -z "$BIP" ]; then logg "BOTH $PISP and $BISP are DOWN!!" exit fi if [ -z "$PIP" ]; then if [ "$CGW" != "$BGW" ]; then logg "$PISP currently down" ch_firewall clear ch_route $PID2 "$BISP" "$CGW" fi exit fi if [ -z "$BIP" ]; then if [ "$CGW" != "$PGW" ]; then logg "$BISP currently down" ch_firewall clear ch_route $PID1 "$PISP" "$CGW" fi exit fi PISPING=`ping -n -s 1 -o -c 5 -S $PIP -W 5000 -t 6 $PGW >/dev/null 2>&1 || echo FAIL` BISPING=`ping -n -s 1 -o -c 5 -S $BIP -W 5000 -t 6 $BGW >/dev/null 2>&1 || echo FAIL` if [ "$PISPING" == "FAIL" ]; then if [ "$CGW" != "$BGW" ]; then logg "$PISP currently down" ch_firewall clear ch_route $PID2 "$BISP" "$CGW" fi exit fi if [ "$BISPING" == "FAIL" ]; then if [ "$CGW" != "$PGW" ]; then logg "$BISP currently down" ch_firewall clear ch_route $PID1 "$PISP" "$CGW" fi exit fi FWCHECK=`ipfw show $FWRUL 2>/dev/null || echo FAIL` if [ "$FWCHECK" != "FAIL" ]; logg "Added policy routing for $FWBLOCK" ch_firewall $PISP fi if [ "$CGW" != "$PGW" ]; then logg "Changed routing back to $PISP" ch_route $PID1 "$PISP" "$CGW" fi --------------040807050906090405080007-- From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 13:44:56 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F0501065693 for ; Mon, 6 Oct 2008 13:44:56 +0000 (UTC) (envelope-from jamesoff@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id B9E5A8FC1D for ; Mon, 6 Oct 2008 13:44:55 +0000 (UTC) (envelope-from jamesoff@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so443557yxb.13 for ; Mon, 06 Oct 2008 06:44:54 -0700 (PDT) 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=FE1l/laMbHhY9cjC0J/P4JSok//LlqL/bPEnAr29aOI=; b=UgP6Ial4waXSYzZTTpzZ+QEHutWcqW4osCb1QIsRG0Ht49d039ABFsFG2NhHETwpAa /NVasVhZCHiw38JQt8gm5lWqYyynbQEhe2bGDZP9O2ipNRFDq5NKJgPxsTJ9wPggPtL4 3Ax6EDnfUNaeV9LinPjss44b7zjANUFwuMQPA= 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=fIo0/t2oyiCiGnGdoViW/vIS8TBViDlOOVz5S1ktZdG/ldBXr23HrB3MjVd/UL9eRb Vb7qDjvUGwMWdUE5K2bzSNw1KbCUjkqWgCWXM5SVe6YmaSzH3Ywzo0rPxCERS2PHWX0P suPqkvnCCl7Xm1DxSmjgZ+BnWnd8aKl1nlkjM= Received: by 10.65.157.19 with SMTP id j19mr8465262qbo.68.1223300694578; Mon, 06 Oct 2008 06:44:54 -0700 (PDT) Received: by 10.65.132.10 with HTTP; Mon, 6 Oct 2008 06:44:54 -0700 (PDT) Message-ID: <720051dc0810060644n14495ee4k8f2942d16e634c78@mail.gmail.com> Date: Mon, 6 Oct 2008 14:44:54 +0100 From: "James Seward" To: "Jeremy Chadwick" In-Reply-To: <20081006115101.GA19442@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200810051753.m95Hr3N5014872@mp.cs.niu.edu> <20081006003601.GA5733@icarus.home.lan> <48E9BBED.7090607@infracaninophile.co.uk> <20081006072611.GA13147@icarus.home.lan> <871vyuj6ul.fsf@kobe.laptop> <20081006115101.GA19442@icarus.home.lan> Cc: Giorgos Keramidas , Scott Bennett , freebsd-questions@freebsd.org Subject: Re: pf vs. RST attack 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, 06 Oct 2008 13:44:56 -0000 On Mon, Oct 6, 2008 at 12:51 PM, Jeremy Chadwick wrote: > I've never gotten a definite answer as to what happens if you use "flags > S/SA" on a rule that is for UDP, since UDP is a non-negotiated protocol. > That's why I split them up per protocol on RELENG_6 boxes. It intelligently ignores it: % pfctl -vn -f- pass out proto { tcp udp } all flags S/SA keep state Output: pass out proto tcp all flags S/SA keep state pass out proto udp all keep state /JMS From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 13:57:41 2008 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 E65E91065690; Mon, 6 Oct 2008 13:57:41 +0000 (UTC) (envelope-from jcigar@ulb.ac.be) Received: from lmailproxy04.edpnet.net (lmailproxy04.edpnet.net [212.71.1.197]) by mx1.freebsd.org (Postfix) with ESMTP id 286B38FC1B; Mon, 6 Oct 2008 13:57:40 +0000 (UTC) (envelope-from jcigar@ulb.ac.be) Received: from [192.168.0.10] (77.109.107.37.adsl.dyn.edpnet.net [77.109.107.37] (may be forged)) by lmailproxy04.edpnet.net (8.13.1/8.13.1) with ESMTP id m96BTbYa029568; Mon, 6 Oct 2008 13:29:37 +0200 From: Julien Cigar To: Jeremy Chadwick In-Reply-To: <20081006112030.GA18670@icarus.home.lan> References: <48E9E146.9040308@ispro.net.tr> <20081006112030.GA18670@icarus.home.lan> Content-Type: text/plain Date: Mon, 06 Oct 2008 13:29:27 +0200 Message-Id: <1223292567.1307.1.camel@rivendell.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.94/8377/Mon Oct 6 03:36:23 2008 on lmailproxy04.edpnet.net X-Virus-Status: Clean X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RDNS_NONE autolearn=disabled version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on lmailproxy04.edpnet.net Cc: questions@FreeBSD.org, Evren Yurtesen Subject: Re: continuous backup solution for 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, 06 Oct 2008 13:57:42 -0000 Bacula ? http://www.bacula.org I use it at work to backup linux and freebsd boxes and it works like a charm. On Mon, 2008-10-06 at 04:20 -0700, Jeremy Chadwick wrote: > On Mon, Oct 06, 2008 at 12:58:30PM +0300, Evren Yurtesen wrote: > > Hello, > > > > Is there a known continuous backup solution similar to r1soft backup for > > FreeBSD? I googled a lot but couldnt find anything. > > > > R1soft says they need help to develop FreeBSD support in their product. > > Do you know anybody who can help r1soft on this issue? > > > > Please see: http://forum.r1soft.com/showpost.php?p=3414&postcount=9 > > Would the GEOM gate class handle this? See ggatec(8) and ggated(8). > From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 14:01:51 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3903D106569B for ; Mon, 6 Oct 2008 14:01:51 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 8AE1B8FC08 for ; Mon, 6 Oct 2008 14:01:50 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from kobe.laptop (adsl57-177.kln.forthnet.gr [77.49.184.177]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id m96E1aNk012087 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 6 Oct 2008 17:01:41 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id m96E1aSW039606; Mon, 6 Oct 2008 17:01:36 +0300 (EEST) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id m96E1Z2W039601; Mon, 6 Oct 2008 17:01:35 +0300 (EEST) (envelope-from keramida@freebsd.org) From: Giorgos Keramidas To: "Aryeh M. Friedman" References: <48E9CEB8.4090406@gmail.com> <87skrahrqm.fsf@kobe.laptop> <20081006115208.GB19442@icarus.home.lan> <48EA126C.6040407@gmail.com> Date: Mon, 06 Oct 2008 17:01:34 +0300 In-Reply-To: <48EA126C.6040407@gmail.com> (Aryeh M. Friedman's message of "Mon, 06 Oct 2008 09:28:12 -0400") Message-ID: <874p3pstz5.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: m96E1aNk012087 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.3, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.10, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@freebsd.org X-Spam-Status: No Cc: Jeremy Chadwick , freebsd-questions@freebsd.org Subject: Re: stupid xfce clock 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, 06 Oct 2008 14:01:51 -0000 On Mon, 06 Oct 2008 09:28:12 -0400, "Aryeh M. Friedman" wrote: >>> If you are using XFCE4 then you are reaping all the benefits of the >>> freely available work of others. This style of subject is offensive >>> to their efforts to provide a light-weight, beautiful, functional >>> and fast performing desktop environment in a multitude of UNIX >>> platforms. >>> >>> Please consider using a less confrontational style for posting >>> questions in the future. >> >> It depends on how you read it. I read the Subject line to mean "I'm >> asking a stupid question", not "xfce is stupid". I'm pretty sure >> Aryeh meant the lesser, not the latter. > > Just for clarity thats what I meant... I use it specifically because it > is the best desktop out there and has not made the same mistakes gnome > and/or kde did (the only complaint I have is it your be nice if the > desktop would updat7e it self as you change the contents of ~/Desktop) Ok, an apology from me is in order then. My non-native English failed to parse the subject correctly, sorry about that :-/ From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 14:03:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23C9E1065690 for ; Mon, 6 Oct 2008 14:03:08 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 8475E8FC1C for ; Mon, 6 Oct 2008 14:03:07 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from kobe.laptop (adsl57-177.kln.forthnet.gr [77.49.184.177]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id m96E2jp9013049 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 6 Oct 2008 17:02:51 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id m96E2jSl044156; Mon, 6 Oct 2008 17:02:45 +0300 (EEST) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id m96E2jvE044155; Mon, 6 Oct 2008 17:02:45 +0300 (EEST) (envelope-from keramida@freebsd.org) From: Giorgos Keramidas To: "James Seward" References: <200810051753.m95Hr3N5014872@mp.cs.niu.edu> <20081006003601.GA5733@icarus.home.lan> <48E9BBED.7090607@infracaninophile.co.uk> <20081006072611.GA13147@icarus.home.lan> <871vyuj6ul.fsf@kobe.laptop> <20081006115101.GA19442@icarus.home.lan> <720051dc0810060644n14495ee4k8f2942d16e634c78@mail.gmail.com> Date: Mon, 06 Oct 2008 17:02:45 +0300 In-Reply-To: <720051dc0810060644n14495ee4k8f2942d16e634c78@mail.gmail.com> (James Seward's message of "Mon, 6 Oct 2008 14:44:54 +0100") Message-ID: <87zllhrfcq.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: m96E2jp9013049 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.298, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.10, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@freebsd.org X-Spam-Status: No Cc: Jeremy Chadwick , Scott Bennett , freebsd-questions@freebsd.org Subject: Re: pf vs. RST attack 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, 06 Oct 2008 14:03:08 -0000 On Mon, 6 Oct 2008 14:44:54 +0100, "James Seward" wrote: > On Mon, Oct 6, 2008 at 12:51 PM, Jeremy Chadwick wrote: >> I've never gotten a definite answer as to what happens if you use "flags >> S/SA" on a rule that is for UDP, since UDP is a non-negotiated protocol. >> That's why I split them up per protocol on RELENG_6 boxes. > > It intelligently ignores it: > % pfctl -vn -f- > pass out proto { tcp udp } all flags S/SA keep state > > Output: > pass out proto tcp all flags S/SA keep state > pass out proto udp all keep state The ruleset optimizer displays something similar too: > pfctl -sr -o basic shows the same pair of rules :) From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 14:36:29 2008 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 66F841065686 for ; Mon, 6 Oct 2008 14:36:29 +0000 (UTC) (envelope-from yurtesen@ispro.net.tr) Received: from turkey.ispro.net.tr (turkey.ispro.net.tr [87.251.0.2]) by mx1.freebsd.org (Postfix) with ESMTP id 9BB988FC0A for ; Mon, 6 Oct 2008 14:36:28 +0000 (UTC) (envelope-from yurtesen@ispro.net.tr) Received: from perpetual.yok.utu.fi ([130.232.138.155]) by turkey.ispro.net.tr with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KmrCE-000L3A-4D; Mon, 06 Oct 2008 17:36:26 +0300 Message-ID: <48EA2270.2080405@ispro.net.tr> Date: Mon, 06 Oct 2008 17:36:32 +0300 From: Evren Yurtesen User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Jeremy Chadwick References: <48E9E146.9040308@ispro.net.tr> <20081006112030.GA18670@icarus.home.lan> In-Reply-To: <20081006112030.GA18670@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: continuous backup solution for 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, 06 Oct 2008 14:36:29 -0000 Jeremy Chadwick wrote: > On Mon, Oct 06, 2008 at 12:58:30PM +0300, Evren Yurtesen wrote: >> Hello, >> >> Is there a known continuous backup solution similar to r1soft backup for >> FreeBSD? I googled a lot but couldnt find anything. >> >> R1soft says they need help to develop FreeBSD support in their product. >> Do you know anybody who can help r1soft on this issue? >> >> Please see: http://forum.r1soft.com/showpost.php?p=3414&postcount=9 > > Would the GEOM gate class handle this? See ggatec(8) and ggated(8). > I am not saying it is impossible. They just need somebody to put them to right track I guess. I personally cant do that. It would be nice if somebody who has knowledge in this area contacts r1soft. At the very least r1soft seems to be willing to communicate on this issue. Continuous backups as well as bare-metal-restore seem to be a key feature for many hosters. FreeBSD is loosing users because of this issue. Thanks, Evren From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 14:39:47 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB024106568F for ; Mon, 6 Oct 2008 14:39:47 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from kanga.honeypot.net (kanga.honeypot.net [IPv6:2001:470:a80a:1:21f:d0ff:fe22:b8a8]) by mx1.freebsd.org (Postfix) with ESMTP id 5D17A8FC0C for ; Mon, 6 Oct 2008 14:39:47 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from localhost (localhost [127.0.0.1]) by kanga.honeypot.net (Postfix) with ESMTP id 9C2F7944FE2 for ; Mon, 6 Oct 2008 09:39:46 -0500 (CDT) X-Virus-Scanned: amavisd-new at honeypot.net Received: from kanga.honeypot.net ([127.0.0.1]) by localhost (kanga.honeypot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3jJ2V7HFWzAq for ; Mon, 6 Oct 2008 09:39:41 -0500 (CDT) Received: from pooh.honeypot.net (pooh.honeypot.net [IPv6:2001:470:a80a:1:20a:95ff:fed5:10f2]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by kanga.honeypot.net (Postfix) with ESMTPSA id 3A40D944FB9 for ; Mon, 6 Oct 2008 09:39:41 -0500 (CDT) Message-Id: From: Kirk Strauser To: FreeBSD Questions ML Mime-Version: 1.0 (Apple Message framework v929.2) Date: Mon, 6 Oct 2008 09:39:40 -0500 X-Mailer: Apple Mail (2.929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Coretemp seems to be off quite a bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 14:39:47 -0000 I have a Gigabyte motherboard with an Intel ICH-9 chipset, and a 3.0GHz Core 2 Duo (E8400). The coretemp sysctls seem to always show 50C as the baseline temperature: $ sysctl dev.cpu | grep temp dev.cpu.0.temperature: 50 dev.cpu.1.temperature: 50 This is with a big PSU fan, a good CPU fan, a clean heatsink, and two case fans aimed the right direction (front fan pulling cool air in, rear fan pushing warm air out). If I reboot and go into the BIOS, I get numbers around 42-43C. I know it's kind of hard to compare directly, but the coretemp numbers are from a totally idle system with powerd scaling it back to 373MHz, so it should be as cool as when sitting idle in the BIOS screens. When I work the system hard, like running "make -j4 buildworld", I see temperatures up around 63-64C, and I'm almost positive that's not right. Any ideas why coretemp and the BIOS would show such different numbers? -- Kirk Strauser From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 14:47:25 2008 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 3CFD71065695; Mon, 6 Oct 2008 14:47:25 +0000 (UTC) (envelope-from yurtesen@ispro.net.tr) Received: from turkey.ispro.net.tr (ns2.ispro.net [87.251.0.2]) by mx1.freebsd.org (Postfix) with ESMTP id 655358FC20; Mon, 6 Oct 2008 14:47:24 +0000 (UTC) (envelope-from yurtesen@ispro.net.tr) Received: from perpetual.yok.utu.fi ([130.232.138.155]) by turkey.ispro.net.tr with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KmrMm-000LMf-Uy; Mon, 06 Oct 2008 17:47:21 +0300 Message-ID: <48EA24FF.5060505@ispro.net.tr> Date: Mon, 06 Oct 2008 17:47:27 +0300 From: Evren Yurtesen User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Julien Cigar References: <48E9E146.9040308@ispro.net.tr> <20081006112030.GA18670@icarus.home.lan> <1223292567.1307.1.camel@rivendell.lan> In-Reply-To: <1223292567.1307.1.camel@rivendell.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Jeremy Chadwick , questions@FreeBSD.org Subject: Re: continuous backup solution for 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, 06 Oct 2008 14:47:25 -0000 Julien Cigar wrote: > Bacula ? http://www.bacula.org > I use it at work to backup linux and freebsd boxes and it works like a > charm. > > On Mon, 2008-10-06 at 04:20 -0700, Jeremy Chadwick wrote: >> On Mon, Oct 06, 2008 at 12:58:30PM +0300, Evren Yurtesen wrote: >>> Hello, >>> >>> Is there a known continuous backup solution similar to r1soft backup for >>> FreeBSD? I googled a lot but couldnt find anything. >>> >>> R1soft says they need help to develop FreeBSD support in their product. >>> Do you know anybody who can help r1soft on this issue? >>> >>> Please see: http://forum.r1soft.com/showpost.php?p=3414&postcount=9 >> Would the GEOM gate class handle this? See ggatec(8) and ggated(8). >> > Bacula does not support continuous backups as far as I know. It has to scan all the files to find new/changed files to backup. The r1soft agent monitors file system writes and backs up changed parts immediately. This does allow r1soft backup to restore the system to its latest state (10-15minutes ago state, thus continuous backup is achieved) as it continually updates the backups. Also has much less stress on the systems where the writes are not so much since it doesnt have to check every file at each backup cycle. Also r1soft cdp has support for MySQL where you can easily restore mysql data in table level if required. It is as well supported by a wide variety of web hosting automation systems for example H-Sphere ( http://www.parallels.com/hsphere/ ) etc. through plugins. Please see the info about continuous data protection: http://en.wikipedia.org/wiki/Continuous_Data_Protection Otherwise I am currently using BackupPC (which is pretty good in my opinion and easier to use compared to Bacula) to take nightly backups of the servers. Thanks, Evren From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 15:03:48 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E877106568A for ; Mon, 6 Oct 2008 15:03:48 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from kermit.lizardhill.com (kermit2.lizardhill.com [64.69.41.218]) by mx1.freebsd.org (Postfix) with ESMTP id 88B5D8FC08 for ; Mon, 6 Oct 2008 15:03:48 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from ip72-193-84-190.lv.lv.cox.net ([72.193.84.190] helo=mickey) by kermit.lizardhill.com with esmtpa (Exim 4.62) (envelope-from ) id 1Kmrcz-000LRq-8V for freebsd-questions@freebsd.org; Mon, 06 Oct 2008 08:04:05 -0700 From: "Don O'Neil" To: References: <20081005013016.GA71103@icarus.home.lan> Date: Mon, 6 Oct 2008 08:03:46 -0700 Message-ID: <498C8B62AC3C4663A58D134BFE231685@mickey> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 In-Reply-To: <20081005013016.GA71103@icarus.home.lan> Thread-Index: AckmifY3dYFaHxuiSXqvatvCbgZIjgBOSdlQ Subject: RE: Can't add new 1TB disk in FreeBSD 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 15:03:48 -0000 > I just swapped out an old 500G disk with a 1TB one and I'm trying to > label it and mount it... > > If I run bsdlabel -w ad4, I get: > > bsdlabel: Geom not found > > If I run sysinstall, it tells me that it can't write to the disk. > > I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but that > didn't help. > > Can anyone help me get this new disk installed without having to boot > off a recovery CD? The server is 500 miles away from me and I don't > have direct console access. > Can you provide output from dmesg, as well as "geom disk list"? OK... I tried: # dd if=/dev/zero of=/dev/ad4 bs=512 count=1000 dd: /dev/ad4: Operation not permitted # fdisk /dev/ad4 ******* Working on device /dev/ad4 ******* parameters extracted from in-core disklabel are: cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl) fdisk: invalid fdisk partition table found Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 1953525105 (953869 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 612/ head 15/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: Geometry output: Geom name: ad4 Providers: 1. Name: ad4 Mediasize: 1000204886016 (932G) Sectorsize: 512 Mode: r0w0e0 fwsectors: 63 fwheads: 16 Nothing exciting coming from dmesg. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 15:31:46 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC6101065688 for ; Mon, 6 Oct 2008 15:31:46 +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 B9ADF8FC1D for ; Mon, 6 Oct 2008 15:31:46 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from [192.168.213.128] (jn@stealth.jnielsen.net [74.218.226.254]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id m96FVjfJ021312; Mon, 6 Oct 2008 11:31:46 -0400 (EDT) (envelope-from lists@jnielsen.net) To: freebsd-questions@freebsd.org Content-Disposition: inline From: John Nielsen Date: Mon, 6 Oct 2008 11:31:43 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200810061131.43660.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: dhaneshk k Subject: Re: acpi_tz0: _TMP value is absurd ignored (-269.7C) Message in every 3 seconds . X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 15:31:47 -0000 On Monday 06 October 2008 02:07:17 am dhaneshk k wrote: > I installed freebsd-7.0 in a p4 machine , after installation when I > reboot the machine , I am getting the message > > acpi_tz0: _TMP value is absurd ignored (-269.7C) in every 3 seconds I have a machine that does this as well. I haven't done any research into the cause or an actual fix, but a workaround is to add hw.acpi.thermal.polling_rate=0 to /etc/sysctl.conf. JN From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 15:31:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16D5210656B7 for ; Mon, 6 Oct 2008 15:31:59 +0000 (UTC) (envelope-from jcw@highperformance.net) Received: from mx1.highperformance.net (s6.stradamotorsports.com [64.81.163.124]) by mx1.freebsd.org (Postfix) with ESMTP id AFD178FC32 for ; Mon, 6 Oct 2008 15:31:58 +0000 (UTC) (envelope-from jcw@highperformance.net) Received: from [192.168.1.17] ([192.168.1.17]) by mx1.highperformance.net (8.14.3/8.14.3) with ESMTP id m96EtGvS031140; Mon, 6 Oct 2008 07:55:16 -0700 (PDT) (envelope-from jcw@highperformance.net) Message-ID: <48EA26D4.8060008@highperformance.net> Date: Mon, 06 Oct 2008 07:55:16 -0700 From: "Jason C. Wells" User-Agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: "Aryeh M. Friedman" , freebsd general questions References: <48E9CEB8.4090406@gmail.com> In-Reply-To: <48E9CEB8.4090406@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=2.5 tests=ALL_TRUSTED autolearn=failed version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on s4.stradamotorsports.com Cc: Subject: Re: stupid xfce clock 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, 06 Oct 2008 15:31:59 -0000 Aryeh M. Friedman wrote: > I work remotely with a company that is across the international date > line from me and I can do the math in my head but want to know if it > is possible to add a clock to my xfce panel that shows the time their > (and keep the one that has my time on it) > _______________________________________________ You can run two instances of orage. I think they read the same config file. I think you would have little trouble hacking up a TZ1, TZ2 variable for seperate instances to read. Later, Jason From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 15:32:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D954E10656E8 for ; Mon, 6 Oct 2008 15:32:01 +0000 (UTC) (envelope-from freebsd@optiksecurite.com) Received: from tomts52-srv.bellnexxia.net (tomts52-srv.bellnexxia.net [209.226.175.177]) by mx1.freebsd.org (Postfix) with ESMTP id 7373A8FC27 for ; Mon, 6 Oct 2008 15:32:01 +0000 (UTC) (envelope-from freebsd@optiksecurite.com) Received: from toip37-bus.srvr.bell.ca ([67.69.240.38]) by tomts52-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20081006153200.BGIY1589.tomts52-srv.bellnexxia.net@toip37-bus.srvr.bell.ca>; Mon, 6 Oct 2008 11:32:00 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEADfG6UhKD7BS/2dsb2JhbAC2HoUzgWo Received: from mtrlpq02-1242542162.sdsl.bell.ca (HELO [69.69.69.183]) ([74.15.176.82]) by toip37-bus.srvr.bell.ca with ESMTP; 06 Oct 2008 11:31:40 -0400 Message-ID: <48EA2F6C.20907@optiksecurite.com> Date: Mon, 06 Oct 2008 11:31:56 -0400 From: FreeBSD User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: matt donovan References: <48E8F253.6010206@optiksecurite.com> <28283d910810051047i30de4c4bsd1e8526474009c40@mail.gmail.com> <48E91947.4080204@optiksecurite.com> <48E98751.10605@optiksecurite.com> In-Reply-To: <48E98751.10605@optiksecurite.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: Freebsd-update with a custom kernel and jails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 15:32:01 -0000 FreeBSD a écrit : > FreeBSD a écrit : >> matt donovan a écrit : >>> On Sun, Oct 5, 2008 at 12:58 PM, FreeBSD >>> wrote: >>> >>> >>>> There is my situation: >>>> I want to be able to use freebsd-update to update a FreeBSD 7.0-Release >>>> installation to the latest security patches (I want an update and >>>> not an >>>> upgrade if I understand correctly). Where this gets more complicated >>>> is that >>>> I need a custom kernel (for ULE, pf and ALTQ while also disabling some >>>> devices I'll never need) and I want to use jails to isolate every >>>> services >>>> (Apache and MySQL by now). >>>> >>>> So, I read at some places that you can't use freebsd-update with a >>>> custom >>>> kernel, but I'm not sure if this apply only in the case of an upgrade >>>> between release or if I'll need to manually recompile the kernel >>>> with every >>>> use of freebsd-update. >>>> >>>> I also read that it's possible to update the jails from the host system >>>> with the -b flag. In this case, I supposed that I need to update the >>>> host >>>> system before the jail, but is the procedure going to be exactly the >>>> same? >>>> >>>> yes all you need to do is freebsd-update fetch install your kernel >>>> won't be >>>> updated but your userland will >>>> >>>> >> So it is right to say that the custom kernel "problem" applies only >> when upgrading to a newer release? >> >> All I have to do is 'freebsd-update fetch install' to update the base >> system then 'freebsd-update -b /usr/jail/jail_name fetch install' to >> update the jails? >> >> I hope so because it would be very impressing :) >> >> Martin > Another question just came to my head: May I update the src before > compiling my custom kernel or should I keep the original src that > shipped with the release to be able to use freebsd-update? > > Thank you very much for your help! > > Martin > I just tried it (freebsd-update fetch install) and after a reboot uname -a still shows FreeBSD 7.0-RELEASE #0 while freebsd-update told me I was going to update to 7.0-RELEASE-p5. But, I noticed that the files that needed to be updated were updated. I'm a little confused...can someone explain this behaviour to me? Thanks, Martin From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 15:33:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8891E1065698 for ; Mon, 6 Oct 2008 15:33:59 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) 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 2A5EC8FC17 for ; Mon, 6 Oct 2008 15:33:58 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA14.westchester.pa.mail.comcast.net ([76.96.62.60]) by QMTA08.westchester.pa.mail.comcast.net with comcast id PQpK1a0021HzFnQ58TZy5a; Mon, 06 Oct 2008 15:33:58 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA14.westchester.pa.mail.comcast.net with comcast id PTZx1a00T2P6wsM3aTZyom; Mon, 06 Oct 2008 15:33:58 +0000 X-Authority-Analysis: v=1.0 c=1 a=Kr3t3Te1lQgA:10 a=GofcrYdnE60A:10 a=QycZ5dHgAAAA:8 a=hXLVT8om4mffLrw8vWMA:9 a=m0TbsS5f_44sQWWBaAUA:7 a=m1NTx9oVh_POPFxVRV3U2Pf4hn4A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 7674BC9419; Mon, 6 Oct 2008 08:33:57 -0700 (PDT) Date: Mon, 6 Oct 2008 08:33:57 -0700 From: Jeremy Chadwick To: Don O'Neil Message-ID: <20081006153357.GA24159@icarus.home.lan> References: <20081005013016.GA71103@icarus.home.lan> <498C8B62AC3C4663A58D134BFE231685@mickey> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <498C8B62AC3C4663A58D134BFE231685@mickey> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Can't add new 1TB disk in FreeBSD 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 15:33:59 -0000 On Mon, Oct 06, 2008 at 08:03:46AM -0700, Don O'Neil wrote: > > I just swapped out an old 500G disk with a 1TB one and I'm trying to > > label it and mount it... > > > > If I run bsdlabel -w ad4, I get: > > > > bsdlabel: Geom not found > > > > If I run sysinstall, it tells me that it can't write to the disk. > > > > I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but that > > didn't help. > > > > Can anyone help me get this new disk installed without having to boot > > off a recovery CD? The server is 500 miles away from me and I don't > > have direct console access. > > Can you provide output from dmesg, as well as "geom disk list"? > > OK... I tried: > > # dd if=/dev/zero of=/dev/ad4 bs=512 count=1000 > dd: /dev/ad4: Operation not permitted Did you "sysctl kern.geom.debugflags=16" before doing this? What's happening here is that GEOM isn't letting you overwrite the MBR on the disk. Setting kern.geom.debugflags=16 should permit that to happen. > # fdisk /dev/ad4 > ******* Working on device /dev/ad4 ******* > parameters extracted from in-core disklabel are: > cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl) > > Figures below won't work with BIOS for partitions not in cyl 1 > parameters to be used for BIOS calculations are: > cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl) > > fdisk: invalid fdisk partition table found This line right here looks very bad. I would recommend running sade(8) and properly configuring this disk. > Media sector size is 512 > Warning: BIOS sector numbering starts with sector 1 > Information from DOS bootblock is: > The data for partition 1 is: > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > start 63, size 1953525105 (953869 Meg), flag 80 (active) > beg: cyl 0/ head 1/ sector 1; > end: cyl 612/ head 15/ sector 63 This portion looks okay, although I guess the addressing mode chosen is different on your system. Most of my systems show the end CHS as 1023/254/63. > Geometry output: > > Geom name: ad4 > Providers: > 1. Name: ad4 > Mediasize: 1000204886016 (932G) > Sectorsize: 512 > Mode: r0w0e0 > fwsectors: 63 > fwheads: 16 This looks okay. > Nothing exciting coming from dmesg. Thanks for providing the output like I requested. :-) -- | 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 Mon Oct 6 15:37:34 2008 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 E54FE106568E for ; Mon, 6 Oct 2008 15:37:34 +0000 (UTC) (envelope-from mksmith@adhost.com) Received: from mail-defer02.adhost.com (mail-defer02.adhost.com [216.211.128.177]) by mx1.freebsd.org (Postfix) with ESMTP id C3ACC8FC1C for ; Mon, 6 Oct 2008 15:37:34 +0000 (UTC) (envelope-from mksmith@adhost.com) Received: from mail-in02.adhost.com (mail-in02.adhost.com [10.212.3.12]) by mail-defer02.adhost.com (Postfix) with ESMTP id 3D7C31748A0F for ; Mon, 6 Oct 2008 08:00:18 -0700 (PDT) (envelope-from mksmith@adhost.com) Received: from ad-exh01.adhost.lan (exchange.adhost.com [216.211.143.69]) by mail-in02.adhost.com (Postfix) with ESMTP id 573DD1EE830 for ; Mon, 6 Oct 2008 08:00:16 -0700 (PDT) (envelope-from mksmith@adhost.com) X-MimeOLE: Produced By Microsoft Exchange V6.5 MIME-Version: 1.0 x-pgp-encoding-format: MIME x-pgp-mapi-encoding-version: 2.5.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="PGP_Universal_2EFBAC7C_B20AA7E3_299F4E3D_AD25E698" x-pgp-encoding-version: 2.0.2 Content-class: urn:content-classes:message Date: Mon, 6 Oct 2008 08:00:11 -0700 Message-ID: <17838240D9A5544AAA5FF95F8D52031604BE2EC8@ad-exh01.adhost.lan> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Problem with Passive FTP through PF Thread-Index: AcknxDdUpK62w23aTU+D3MUN3ZTlfg== From: "Michael K. Smith - Adhost" To: Cc: Subject: Problem with Passive FTP through PF X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 15:37:35 -0000 --PGP_Universal_2EFBAC7C_B20AA7E3_299F4E3D_AD25E698 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: QUOTED-PRINTABLE Hello All: We are running the following: - FreeBSD 6.3 Release #1 - PF - pftpx for our ftp proxy We have several ftp servers of different flavors behind the PF firewalls an= d we are getting a lot of the following when users are trying to connect us= ing passive mode. "Server sent passive reply with unroutable address" We're running pftpx as a daemon with no specific flags. From a ps: proxy 4845 0.0 0.0 1452 1100 ?? Is 27Sep08 0:02.13 /usr/l= ocal/sbin/pftpx Here is a sample of the rules we are using to allow traffic and to proxy. = The server macros are defined and working correctly. Any help would be gre= atly appreciated. nat-anchor "pftpx/*" rdr-anchor "pftpx/*" rdr on ! $vlan10_if proto { udp tcp } from any to $f1_cps01_ext0 port { 80 = 443 2087 2083 ftp 49152:65535 } -> $f1_cps01_int0 sticky-address rdr on ! $vlan10_if proto { udp tcp } from any to $f1_cps01_ext1 port { 80 = 443 ftp 49152:65535 } -> $f1_cps01_int1 sticky-address -- Michael K. Smith - CISSP, GISP Chief Technical Officer - Adhost Internet LLC mksmith@adhost.com w: +1 (206) 404-9500 f: +1 (206) 404-9050 PGP: B49A DDF5 8611 27F3 08B9 84BB E61E 38C0 (Key ID: 0x9A96777D) --PGP_Universal_2EFBAC7C_B20AA7E3_299F4E3D_AD25E698 Content-Type: application/pgp-signature; name="PGP.sig" Content-Transfer-Encoding: 7BIT Content-Disposition: attachment; filename="PGP.sig" -----BEGIN PGP SIGNATURE----- Version: 9.9.0 (Build 397) iQEVAwUBSOon+/TXQhZ+XcVAAQg4aQf/XLBseAu9qT69xLK+b7bxIA0wWpQ6b8Wv AYel5/duGA2z1KxSzH+BxvRu/l558ft9kWIKmwfn/LOVgCl1dHw3c+1eD6r+F7Hw BseTXE2K7cvaOLOEvgGl98t/9lfI6k2q8agsqNvnW/CrIYmSna8PwZU3PP7AkPXv blHDYXO8jAIexlaJIzh4/Wsrn/XHO8J8Qk6OxA06I0XhqK3TFbM9NHTuNLg7nqsS BO/MpjQlfyS8JWAhzL7qxoL5C50LXbAixrGUOKB5D881n0hwO5aTi9naQEEr6vlN s8Fh8OJ+8Cs5rrzDKYaqXUKJmR8CzEIvhyW4OAmCemQPBVoyU5oaIQ== =6v5t -----END PGP SIGNATURE----- --PGP_Universal_2EFBAC7C_B20AA7E3_299F4E3D_AD25E698-- From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 15:40:33 2008 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 C6F71106568C for ; Mon, 6 Oct 2008 15:40:33 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA09.westchester.pa.mail.comcast.net (qmta09.westchester.pa.mail.comcast.net [76.96.62.96]) by mx1.freebsd.org (Postfix) with ESMTP id 6EF5E8FC19 for ; Mon, 6 Oct 2008 15:40:33 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA13.westchester.pa.mail.comcast.net ([76.96.62.52]) by QMTA09.westchester.pa.mail.comcast.net with comcast id PRVZ1a00A17dt5G59TQYQh; Mon, 06 Oct 2008 15:24:32 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA13.westchester.pa.mail.comcast.net with comcast id PTQW1a00W2P6wsM3ZTQXhd; Mon, 06 Oct 2008 15:24:32 +0000 X-Authority-Analysis: v=1.0 c=1 a=twfy5xwSsu8A:10 a=SNwvL3Cql6YA:10 a=fHcFmRhjAAAA:8 a=QycZ5dHgAAAA:8 a=plVMgCpfg2hfeoUWRGIA:9 a=gWvk1CPgHNsuj7cTy0EA:7 a=wg_zK2tCbwh57txxDbQIBfJ9O0kA:4 a=KI9gnbE5X7EA:10 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 98D2DC9419; Mon, 6 Oct 2008 08:24:30 -0700 (PDT) Date: Mon, 6 Oct 2008 08:24:30 -0700 From: Jeremy Chadwick To: Evren Yurtesen Message-ID: <20081006152430.GA23608@icarus.home.lan> References: <48E9E146.9040308@ispro.net.tr> <20081006112030.GA18670@icarus.home.lan> <48EA2270.2080405@ispro.net.tr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48EA2270.2080405@ispro.net.tr> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: questions@freebsd.org Subject: Re: continuous backup solution for 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, 06 Oct 2008 15:40:33 -0000 On Mon, Oct 06, 2008 at 05:36:32PM +0300, Evren Yurtesen wrote: > Jeremy Chadwick wrote: >> On Mon, Oct 06, 2008 at 12:58:30PM +0300, Evren Yurtesen wrote: >>> Hello, >>> >>> Is there a known continuous backup solution similar to r1soft backup >>> for FreeBSD? I googled a lot but couldnt find anything. >>> >>> R1soft says they need help to develop FreeBSD support in their >>> product. Do you know anybody who can help r1soft on this issue? >>> >>> Please see: http://forum.r1soft.com/showpost.php?p=3414&postcount=9 >> >> Would the GEOM gate class handle this? See ggatec(8) and ggated(8). >> > > I am not saying it is impossible. They just need somebody to put them to > right track I guess. I personally cant do that. It would be nice if > somebody who has knowledge in this area contacts r1soft. At the very > least r1soft seems to be willing to communicate on this issue. First and foremost, the URL you gave is terse and out of context. Let people read the entire thread: http://forum.r1soft.com/showthread.php?p=3414 So let me throw around some ideas. First and foremost, David appears to be saying "We'll take FreeBSD seriously if we can get proper documentation, and it needs to be thorough, that explains how to interface with devices on a block level so we can perform block-level backups and write our software appropriately". AFAIK we don't have any documentation that outlines that in a clear, concise manner. With regards to "providing protocol documentation and letting the open-source community write the software", R1Soft is generally right. Time and resources are the biggest problem with open-source; do not think for a moment that just because millions of users can look at source code means they understand it, or even know how to write it, or will even *want* to. The majority do/will not. That said, I'd like to know exactly how "low-level" R1Soft's software truly is. dump(8), AFAIK, is "block-level" -- and that's a userland program. Does R1Soft's software *truly* require kernel-land? I have more to say on that issue (not against R1Soft, but speaking with regards to the current state of FreeBSD's developer count) if it truly does. I'm somewhat surprised that their software focuses on Linux and Windows and not Solaris and Linux, especially given that they're interested in "dedicated server markets". Solaris is always the first OS that comes to my mind when talking about hardcore server operating systems. > Continuous backups as well as bare-metal-restore seem to be a key > feature for many hosters. Regarding continuous backups: the GEOM gate class could be used for this. Meaning, I think it could be used as an alternate to R1Soft's software. Regarding bare-metal restoration I'm not aware of how to do that under FreeBSD, Linux, or even Solaris "with ease". In most cases, companies develop their own PXE-booting environments which wipe the disks and reinstall + restore data as they see fit. There is no "standard". > FreeBSD is loosing users because of this issue. Why does the "number of FreeBSD users" matter? Quantity does not necessarily represent quality. I'm sorry for sounding anti-FreeBSD, but the reality is that people should use whatever solutions work best for them -- if that's using Windows, Solaris, or Linux, great! Remember that open-source is about choice: and choice means supporting the possibility that someone chooses something else. Blind one-sided advocacy is very damaging to the open-source model and concept. -- | 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 Mon Oct 6 16:08:42 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA1C810656D0 for ; Mon, 6 Oct 2008 16:08:42 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: from web51103.mail.re2.yahoo.com (web51103.mail.re2.yahoo.com [206.190.38.145]) by mx1.freebsd.org (Postfix) with SMTP id 752448FC15 for ; Mon, 6 Oct 2008 16:08:42 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: (qmail 99711 invoked by uid 60001); 6 Oct 2008 16:08:41 -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:Cc:MIME-Version:Content-Type:Message-ID; b=5MuBcNB5CoADbzfcuF2Co4BzCnxnnvueqsmKL1wh93LpC5Xwm4T3fiE8nTPfy3rTSV5l4ojwlLCvgDrkXwlvRAHKO91G8fCBBIwbaPk/Q35HCK3Psz0radhgbaLhOtlSeWaBo3tOBpAgHXenLaDSFulnDmy+MdLwns6g2ylWy1g=; X-YMail-OSG: I7n8DgwVM1najxFGfX7MyAjV6OksRnq2QkvEHV0XkQRHMfrveJ.zHdN_li00mP4.lXkZ0fnP1h1rbVvdttA_HTPxipcpG1hyZhUBTWem17ZpsxZDv4dG_MFJyxqT6.D1YMUqS8.vuExrm9bR1i.e5p43J8nY Received: from [167.202.221.228] by web51103.mail.re2.yahoo.com via HTTP; Mon, 06 Oct 2008 09:08:41 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Mon, 6 Oct 2008 09:08:41 -0700 (PDT) From: Dino Vliet To: sonic2000gr@gmail.com, wojtek@wojtek.tensor.gdynia.pl MIME-Version: 1.0 Message-ID: <932690.98115.qm@web51103.mail.re2.yahoo.com> 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: gmirror prerequisite question SOLVED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dino_vliet@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 16:08:42 -0000 > I've bought a secondary HDD to attach to my server running freebsd 7.0. > I want to enable gmirror on it (will reinstall everything from scratch), you don't have to. >but I want to know if my hardware is setup correctly as a prerequisite for= doing this operation. > > The command > > dmesg | grep Seagate > > Yields: > > ad4: 76319MB at ata2-master UDMA33 > ad6: 76319MB at ata3-master UDMA33 yes it is. =A0 ***************** Thanks for all your help! I managed to install it on my working system and = it was a fairly simple procedure. Now I need to restructure my system becau= se I've installed it as a desktop system, but want to use the system more l= ike a server (database & ruby & weka ). So I will need to deinstall all ins= talled packages like KDE4.1, Xorg, Firefox etc etc. Will still need to figure that out (assuming a pkg_delete -a is what I need= ) Brgds Dino=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 16:09:02 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B86F010656AC for ; Mon, 6 Oct 2008 16:09:02 +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 5FB9B8FC16 for ; Mon, 6 Oct 2008 16:09:02 +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 m96G78Ov070818; Mon, 6 Oct 2008 12:07:08 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id m96G781G070817; Mon, 6 Oct 2008 12:07:08 -0400 (EDT) (envelope-from jerrymc) Date: Mon, 6 Oct 2008 12:07:08 -0400 From: Jerry McAllister To: "Don O'Neil" Message-ID: <20081006160708.GA70792@gizmo.acns.msu.edu> References: <20081005013016.GA71103@icarus.home.lan> <498C8B62AC3C4663A58D134BFE231685@mickey> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <498C8B62AC3C4663A58D134BFE231685@mickey> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Can't add new 1TB disk in FreeBSD 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 16:09:02 -0000 On Mon, Oct 06, 2008 at 08:03:46AM -0700, Don O'Neil wrote: > > I just swapped out an old 500G disk with a 1TB one and I'm trying to > > label it and mount it... > > > > If I run bsdlabel -w ad4, I get: > > > > bsdlabel: Geom not found > > > > If I run sysinstall, it tells me that it can't write to the disk. > > > > I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but that > > didn't help. > > > > Can anyone help me get this new disk installed without having to boot > > off a recovery CD? The server is 500 miles away from me and I don't > > have direct console access. > > Can you provide output from dmesg, as well as "geom disk list"? > > OK... I tried: > > # dd if=/dev/zero of=/dev/ad4 bs=512 count=1000 > dd: /dev/ad4: Operation not permitted > > # fdisk /dev/ad4 > ******* Working on device /dev/ad4 ******* > parameters extracted from in-core disklabel are: > cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl) > > Figures below won't work with BIOS for partitions not in cyl 1 > parameters to be used for BIOS calculations are: > cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl) > > fdisk: invalid fdisk partition table found > Media sector size is 512 > Warning: BIOS sector numbering starts with sector 1 > Information from DOS bootblock is: > The data for partition 1 is: > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > start 63, size 1953525105 (953869 Meg), flag 80 (active) > beg: cyl 0/ head 1/ sector 1; > end: cyl 612/ head 15/ sector 63 > The data for partition 2 is: > > The data for partition 3 is: > > The data for partition 4 is: > OK. That looks pretty normal. Did you try doing an: fdisk -I ad4 or maybe fdisk -BI ad4 It takes that to get fdisk to initialize the disk. (the -B puts the master boot block there. Just doing an fdisk ad4 only had fdisk read out stuff and there isn't anything there yet to read - so of course it is invalid. ////jerry > > Geometry output: > > Geom name: ad4 > Providers: > 1. Name: ad4 > Mediasize: 1000204886016 (932G) > Sectorsize: 512 > Mode: r0w0e0 > fwsectors: 63 > fwheads: 16 > > Nothing exciting coming from dmesg. > > > _______________________________________________ > 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 Oct 6 16:14:15 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 633081065689 for ; Mon, 6 Oct 2008 16:14:15 +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 308038FC14 for ; Mon, 6 Oct 2008 16:14:15 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id m96GCM73070856; Mon, 6 Oct 2008 12:12:22 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id m96GCM8P070855; Mon, 6 Oct 2008 12:12:22 -0400 (EDT) (envelope-from jerrymc) Date: Mon, 6 Oct 2008 12:12:21 -0400 From: Jerry McAllister To: "Don O'Neil" Message-ID: <20081006161221.GB70792@gizmo.acns.msu.edu> References: <20081005013016.GA71103@icarus.home.lan> <498C8B62AC3C4663A58D134BFE231685@mickey> <20081006160708.GA70792@gizmo.acns.msu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081006160708.GA70792@gizmo.acns.msu.edu> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Can't add new 1TB disk in FreeBSD 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 16:14:15 -0000 On Mon, Oct 06, 2008 at 12:07:08PM -0400, Jerry McAllister wrote: > On Mon, Oct 06, 2008 at 08:03:46AM -0700, Don O'Neil wrote: > > > > I just swapped out an old 500G disk with a 1TB one and I'm trying to > > > label it and mount it... > > > > > > If I run bsdlabel -w ad4, I get: > > > > > > bsdlabel: Geom not found > > > > > > If I run sysinstall, it tells me that it can't write to the disk. > > > > > > I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but that > > > didn't help. > > > > > > Can anyone help me get this new disk installed without having to boot > > > off a recovery CD? The server is 500 miles away from me and I don't > > > have direct console access. > > > Can you provide output from dmesg, as well as "geom disk list"? > > > > OK... I tried: > > > > # dd if=/dev/zero of=/dev/ad4 bs=512 count=1000 > > dd: /dev/ad4: Operation not permitted > > > > # fdisk /dev/ad4 > > ******* Working on device /dev/ad4 ******* > > parameters extracted from in-core disklabel are: > > cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl) > > > > Figures below won't work with BIOS for partitions not in cyl 1 > > parameters to be used for BIOS calculations are: > > cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl) > > > > fdisk: invalid fdisk partition table found > > Media sector size is 512 > > Warning: BIOS sector numbering starts with sector 1 > > Information from DOS bootblock is: > > The data for partition 1 is: > > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > > start 63, size 1953525105 (953869 Meg), flag 80 (active) > > beg: cyl 0/ head 1/ sector 1; > > end: cyl 612/ head 15/ sector 63 > > The data for partition 2 is: > > > > The data for partition 3 is: > > > > The data for partition 4 is: > > > > > OK. That looks pretty normal. Well, except for not allowing the dd to the disk. I haven't had that happen on a disk. (I used to see that a lot on DAT tapes) So, maybe, as someone else suggested, you also need: > > OK... I tried: > > > > # dd if=/dev/zero of=/dev/ad4 bs=512 count=1000 > > dd: /dev/ad4: Operation not permitted > > > Did you "sysctl kern.geom.debugflags=16" before doing this? > > > What's happening here is that GEOM isn't letting you overwrite the MBR > on the disk. Setting kern.geom.debugflags=16 should permit that to > happen. > But, do the following too. > > Did you try doing an: fdisk -I ad4 or maybe fdisk -BI ad4 > > It takes that to get fdisk to initialize the disk. > (the -B puts the master boot block there. > > Just doing an fdisk ad4 only had fdisk read out stuff > and there isn't anything there yet to read - so of course > it is invalid. > > ////jerry > > > > > > > Geometry output: > > > > Geom name: ad4 > > Providers: > > 1. Name: ad4 > > Mediasize: 1000204886016 (932G) > > Sectorsize: 512 > > Mode: r0w0e0 > > fwsectors: 63 > > fwheads: 16 > > > > Nothing exciting coming from dmesg. > > > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 16:36:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5D0E1065686 for ; Mon, 6 Oct 2008 16:36:21 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from kermit.lizardhill.com (kermit2.lizardhill.com [64.69.41.218]) by mx1.freebsd.org (Postfix) with ESMTP id AD71D8FC26 for ; Mon, 6 Oct 2008 16:36:21 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from ip72-193-84-190.lv.lv.cox.net ([72.193.84.190] helo=mickey) by kermit.lizardhill.com with esmtpa (Exim 4.62) (envelope-from ) id 1Kmt4Y-0000Wl-M9 for freebsd-questions@freebsd.org; Mon, 06 Oct 2008 09:36:38 -0700 From: "Don O'Neil" To: References: <20081005013016.GA71103@icarus.home.lan><498C8B62AC3C4663A58D134BFE231685@mickey><20081006160708.GA70792@gizmo.acns.msu.edu> <20081006161221.GB70792@gizmo.acns.msu.edu> Date: Mon, 6 Oct 2008 09:36:19 -0700 Message-ID: <4C2FBF89DECE47FC8C5AA51B62FF8710@mickey> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 In-Reply-To: <20081006161221.GB70792@gizmo.acns.msu.edu> Thread-Index: AcknzqwMVnggOwjbTrGhFMtL1HhCggAAiS9A Subject: RE: Can't add new 1TB disk in FreeBSD 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 16:36:22 -0000 > On Mon, Oct 06, 2008 at 08:03:46AM -0700, Don O'Neil wrote: > > > > I just swapped out an old 500G disk with a 1TB one and I'm trying > > > to label it and mount it... > > > > > > If I run bsdlabel -w ad4, I get: > > > > > > bsdlabel: Geom not found > > > > > > If I run sysinstall, it tells me that it can't write to the disk. > > > > > > I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but > > > that didn't help. > > > > > > Can anyone help me get this new disk installed without having to > > > boot off a recovery CD? The server is 500 miles away from me and I > > > don't have direct console access. > > > Can you provide output from dmesg, as well as "geom disk list"? > > > > OK... I tried: > > > > # dd if=/dev/zero of=/dev/ad4 bs=512 count=1000 > > dd: /dev/ad4: Operation not permitted > > > > # fdisk /dev/ad4 > > ******* Working on device /dev/ad4 ******* parameters extracted from > > in-core disklabel are: > > cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl) > > > > Figures below won't work with BIOS for partitions not in cyl 1 > > parameters to be used for BIOS calculations are: > > cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl) > > > > fdisk: invalid fdisk partition table found Media sector size is 512 > > Warning: BIOS sector numbering starts with sector 1 Information from > > DOS bootblock is: > > The data for partition 1 is: > > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > > start 63, size 1953525105 (953869 Meg), flag 80 (active) > > beg: cyl 0/ head 1/ sector 1; > > end: cyl 612/ head 15/ sector 63 The data for partition 2 > > is: > > > > The data for partition 3 is: > > > > The data for partition 4 is: > > > > > OK. That looks pretty normal. > > Well, except for not allowing the dd to the disk. > I haven't had that happen on a disk. (I used to see that a lot on DAT tapes) > > So, maybe, as someone else suggested, you also need: > > > OK... I tried: > > > > # dd if=/dev/zero of=/dev/ad4 bs=512 count=1000 > > dd: /dev/ad4: Operation not permitted > > > Did you "sysctl kern.geom.debugflags=16" before doing this? > > > What's happening here is that GEOM isn't letting you overwrite the MBR > on the disk. Setting kern.geom.debugflags=16 should permit that to > happen. > > > But, do the following too. > > > Did you try doing an: fdisk -I ad4 or maybe fdisk -BI ad4 > > It takes that to get fdisk to initialize the disk. > (the -B puts the master boot block there. > > Just doing an fdisk ad4 only had fdisk read out stuff > and there isn't anything there yet to read - so of course it is > invalid. > > > > > > Geometry output: > > > > Geom name: ad4 > > Providers: > > 1. Name: ad4 > > Mediasize: 1000204886016 (932G) > > Sectorsize: 512 > > Mode: r0w0e0 > > fwsectors: 63 > > fwheads: 16 > > > > Nothing exciting coming from dmesg. I tried kern.geom.debugflags=16 originally, still doesn't help. Someone else recommended running sade(8) and properly configuring this disk. What is sade(8)? I don't have such an application on 6.1, and there is nothing in the ports. I think that sade is a 7.0+ tool. Any other ideas? From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 16:45:56 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E5421065687 for ; Mon, 6 Oct 2008 16:45:56 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) 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 6F3658FC25 for ; Mon, 6 Oct 2008 16:45:54 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA04.westchester.pa.mail.comcast.net ([76.96.62.35]) by QMTA02.westchester.pa.mail.comcast.net with comcast id PS6o1a00E0ldTLk52UlR8q; Mon, 06 Oct 2008 16:45:25 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA04.westchester.pa.mail.comcast.net with comcast id PUls1a00d2P6wsM3QUlthU; Mon, 06 Oct 2008 16:45:54 +0000 X-Authority-Analysis: v=1.0 c=1 a=Kr3t3Te1lQgA:10 a=GofcrYdnE60A:10 a=QycZ5dHgAAAA:8 a=VFPXesRwAc6IbI9USvkA:9 a=6Fh1CeaJQA9LplYVyAsA:7 a=_ZpQ0L11VrudAoXptGeYLpmhj9EA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id C2258C9419; Mon, 6 Oct 2008 09:45:52 -0700 (PDT) Date: Mon, 6 Oct 2008 09:45:52 -0700 From: Jeremy Chadwick To: Don O'Neil Message-ID: <20081006164552.GA25629@icarus.home.lan> References: <20081006161221.GB70792@gizmo.acns.msu.edu> <4C2FBF89DECE47FC8C5AA51B62FF8710@mickey> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C2FBF89DECE47FC8C5AA51B62FF8710@mickey> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Can't add new 1TB disk in FreeBSD 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 16:45:56 -0000 On Mon, Oct 06, 2008 at 09:36:19AM -0700, Don O'Neil wrote: > > > On Mon, Oct 06, 2008 at 08:03:46AM -0700, Don O'Neil wrote: > > > > > > I just swapped out an old 500G disk with a 1TB one and I'm trying > > > > to label it and mount it... > > > > > > > > If I run bsdlabel -w ad4, I get: > > > > > > > > bsdlabel: Geom not found > > > > > > > > If I run sysinstall, it tells me that it can't write to the disk. > > > > > > > > I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but > > > > that didn't help. > > > > > > > > Can anyone help me get this new disk installed without having to > > > > boot off a recovery CD? The server is 500 miles away from me and I > > > > don't have direct console access. > > > > Can you provide output from dmesg, as well as "geom disk list"? > > > > > > OK... I tried: > > > > > > # dd if=/dev/zero of=/dev/ad4 bs=512 count=1000 > > > dd: /dev/ad4: Operation not permitted > > > > > > # fdisk /dev/ad4 > > > ******* Working on device /dev/ad4 ******* parameters extracted from > > > in-core disklabel are: > > > cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl) > > > > > > Figures below won't work with BIOS for partitions not in cyl 1 > > > parameters to be used for BIOS calculations are: > > > cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl) > > > > > > fdisk: invalid fdisk partition table found Media sector size is 512 > > > Warning: BIOS sector numbering starts with sector 1 Information from > > > DOS bootblock is: > > > The data for partition 1 is: > > > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > > > start 63, size 1953525105 (953869 Meg), flag 80 (active) > > > beg: cyl 0/ head 1/ sector 1; > > > end: cyl 612/ head 15/ sector 63 The data for partition 2 > > > is: > > > > > > The data for partition 3 is: > > > > > > The data for partition 4 is: > > > > > > > > > OK. That looks pretty normal. > > > > Well, except for not allowing the dd to the disk. > > I haven't had that happen on a disk. (I used to see that a lot on DAT > tapes) > > > > So, maybe, as someone else suggested, you also need: > > > > > OK... I tried: > > > > > > # dd if=/dev/zero of=/dev/ad4 bs=512 count=1000 > > > dd: /dev/ad4: Operation not permitted > > > > > Did you "sysctl kern.geom.debugflags=16" before doing this? > > > > > What's happening here is that GEOM isn't letting you overwrite the MBR > > on the disk. Setting kern.geom.debugflags=16 should permit that to > > happen. > > > > > > But, do the following too. > > > > > > Did you try doing an: fdisk -I ad4 or maybe fdisk -BI ad4 > > > > It takes that to get fdisk to initialize the disk. > > (the -B puts the master boot block there. > > > > Just doing an fdisk ad4 only had fdisk read out stuff > > and there isn't anything there yet to read - so of course it is > > invalid. > > > > > > > > > > Geometry output: > > > > > > Geom name: ad4 > > > Providers: > > > 1. Name: ad4 > > > Mediasize: 1000204886016 (932G) > > > Sectorsize: 512 > > > Mode: r0w0e0 > > > fwsectors: 63 > > > fwheads: 16 > > > > > > Nothing exciting coming from dmesg. > > I tried kern.geom.debugflags=16 originally, still doesn't help. Can you please do it and then attempt the exact dd you ran above? The reason I'm hounding: you're not providing a lot of detail between whatever it is you're doing. Just a lot of one-liner responses "No didn't work, next". It's very difficult to discern what exactly you're doing; for example, you could've run the sysctl and then attempted an install, rather than re-execute the dd. I can refer you to historic data that shows people have gotten the exact error you're seeing when attempting to write to block 0 (MBR), stopped by GEOM, which is why I'm a little wary. > Someone else recommended running sade(8) and properly configuring this disk. > What is sade(8)? I don't have such an application on 6.1, and there is > nothing in the ports. I think that sade is a 7.0+ tool. 6.1? Why? This is a new install, right? Is there some reason you're installing 6.1 and not 6.3, or better yet, 7.0? That's a separate question, but it does make me wonder if something was fixed between 6.1 and 6.3/7.0 which might address this problem. There is one thing about later FreeBSDs which I am aware of: 48-bit LBA addressing. I'm left wondering if what you're running into is a bug or a problem with older FreeBSD (6.1) not supporting this. I would have to go back through CVS commit lots for ata(4) to find out when 48-bit LBA was added. I think 48-bit LBA support is required for disks >500GB. sade(8) is the "famous" console UI for disk partitioning and labelling inside of sysinstall. It's a separate application, and was introduced in FreeBSD 6.3. You can get the exact same functionality out of sysinstall on earlier FreeBSDs. -- | 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 Mon Oct 6 16:48:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9A7F1065699 for ; Mon, 6 Oct 2008 16:48:14 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from smtp-4.orange.nl (smtp-4.orange.nl [193.252.22.249]) by mx1.freebsd.org (Postfix) with ESMTP id 8D4438FC0A for ; Mon, 6 Oct 2008 16:48:14 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf6302.online.nl (SMTP Server) with ESMTP id DFC597000084 for ; Mon, 6 Oct 2008 18:48:12 +0200 (CEST) Received: from [192.168.2.173] (s5590cf7b.adsl.wanadoo.nl [85.144.207.123]) by mwinf6302.online.nl (SMTP Server) with ESMTP id A35C57000081 for ; Mon, 6 Oct 2008 18:48:12 +0200 (CEST) X-ME-UUID: 20081006164812669.A35C57000081@mwinf6302.online.nl From: Aniruddha To: freebsd-questions@freebsd.org In-Reply-To: <20081006130929.386aebb7@baby-jane-lamaiziere-net.local> References: <1223275319.4116.7.camel@debian> <20081006130929.386aebb7@baby-jane-lamaiziere-net.local> Content-Type: text/plain; charset=utf-8 Date: Mon, 06 Oct 2008 18:48:16 +0200 Message-Id: <1223311696.24138.0.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 8bit Subject: Re: USB mouse problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 16:48:14 -0000 On Mon, 2008-10-06 at 13:09 +0200, Patrick Lamaizière wrote: > Le Mon, 06 Oct 2008 08:41:59 +0200, > Aniruddha a écrit : > > > I have one Razer Lachesis USB mouse attached to the rear usb ports of > > my pc. This mouse has never worked, however when I plug in another USB > > mouse in the front of my pc it works?! I wonder; how do I get the > > Razer Lachesis working without plugging it in the front? > > I don't know. > > > Furthermore I wondered if there is a way to use both the mouse in a > > terminal (gpm) and in xorg? > > Yes, see moused(8) and vidcontrol(1). > > Regards. > _______________________________________________ Thanks for your help! I'll look into moused and vidcontrol. -- Regards, Aniruddha From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 16:52:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EF55106568A for ; Mon, 6 Oct 2008 16:52:21 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from smtp-3.orange.nl (smtp-3.orange.nl [193.252.22.243]) by mx1.freebsd.org (Postfix) with ESMTP id 31BCB8FC14 for ; Mon, 6 Oct 2008 16:52:20 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf6206.online.nl (SMTP Server) with ESMTP id 43E5E1C00085 for ; Mon, 6 Oct 2008 18:52:19 +0200 (CEST) Received: from [192.168.2.173] (s5590cf7b.adsl.wanadoo.nl [85.144.207.123]) by mwinf6206.online.nl (SMTP Server) with ESMTP id 064511C00083 for ; Mon, 6 Oct 2008 18:52:18 +0200 (CEST) X-ME-UUID: 20081006165219257.064511C00083@mwinf6206.online.nl From: Aniruddha To: freebsd-questions@freebsd.org In-Reply-To: <48E9F93A.5020806@webzone.net.au> References: <1223275319.4116.7.camel@debian> <20081006130929.386aebb7@baby-jane-lamaiziere-net.local> <48E9F93A.5020806@webzone.net.au> Content-Type: text/plain; charset=utf-8 Date: Mon, 06 Oct 2008 18:52:22 +0200 Message-Id: <1223311942.24138.6.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 8bit Subject: Re: USB mouse problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 16:52:21 -0000 On Mon, 2008-10-06 at 22:10 +1030, Andrew D wrote: > Patrick Lamaizière wrote: > > Le Mon, 06 Oct 2008 08:41:59 +0200, > > Aniruddha a écrit : > > > >> I have one Razer Lachesis USB mouse attached to the rear usb ports of > >> my pc. This mouse has never worked, however when I plug in another USB > >> mouse in the front of my pc it works?! I wonder; how do I get the > >> Razer Lachesis working without plugging it in the front? > > > > I don't know. > > Some motherboards have a jumper (or BIOS option) to that has to be set, > so that the front connectors work at the expense of other ports. I don't think this has something to with a bios setting/jumper. My other USB ports are working fine ( I also have an USB keyboard plugged in). Furthermore in Linux nor Vista I've encountered this problem. Therefor I suspect it must have something to do with FreeBSD. Maybe it's an bug? If someone has an solution that would be great! -- Regards, Aniruddha From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 17:01:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C01E0106569A for ; Mon, 6 Oct 2008 17:01:09 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA10.westchester.pa.mail.comcast.net (qmta10.westchester.pa.mail.comcast.net [76.96.62.17]) by mx1.freebsd.org (Postfix) with ESMTP id 68D3E8FC20 for ; Mon, 6 Oct 2008 17:01:08 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA01.westchester.pa.mail.comcast.net ([76.96.62.11]) by QMTA10.westchester.pa.mail.comcast.net with comcast id PU5P1a00D0EZKEL5AV182R; Mon, 06 Oct 2008 17:01:08 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA01.westchester.pa.mail.comcast.net with comcast id PV151a00C2P6wsM3MV15j3; Mon, 06 Oct 2008 17:01:06 +0000 X-Authority-Analysis: v=1.0 c=1 a=Kr3t3Te1lQgA:10 a=GofcrYdnE60A:10 a=QycZ5dHgAAAA:8 a=vkbXK6uEcVbjV7efCbMA:9 a=jYoaXfb5Pvxok-WRxU8A:7 a=J9znrghhj1gtj0eE3TQEjv7GMR4A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id ED356C9419; Mon, 6 Oct 2008 10:01:04 -0700 (PDT) Date: Mon, 6 Oct 2008 10:01:04 -0700 From: Jeremy Chadwick To: Don O'Neil Message-ID: <20081006170104.GA25818@icarus.home.lan> References: <20081006161221.GB70792@gizmo.acns.msu.edu> <4C2FBF89DECE47FC8C5AA51B62FF8710@mickey> <20081006164552.GA25629@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081006164552.GA25629@icarus.home.lan> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Can't add new 1TB disk in FreeBSD 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 17:01:09 -0000 On Mon, Oct 06, 2008 at 09:45:52AM -0700, Jeremy Chadwick wrote: > There is one thing about later FreeBSDs which I am aware of: 48-bit LBA > addressing. I'm left wondering if what you're running into is a bug or > a problem with older FreeBSD (6.1) not supporting this. I would have to > go back through CVS commit lots for ata(4) to find out when 48-bit LBA > was added. I think 48-bit LBA support is required for disks >500GB. The issue I'm referring to has been touched on many times. First and foremost, 6.1-RELEASE was released in May 2006. Keep that date in mind when reading the below. The first incident, according to CVS commit logs, was adding 48-bit LBA support, supporting disks >137GB. That would've been in RELENG_4, dated 2002/01/05. FreeBSD 6.1 should have this. Next, we have a commit dated 2003/01/19, affecting 48-bit LBA support on Promise 66/100 controllers. FreeBSD 6.1 should have this. Next, 2004/12/09, talking about disk firmware bugs affecting 48-bit LBA addressing, which was affecting a significant number of users. That was applied to HEAD and RELENG_5, so FreeBSD 6.1 ("HEAD" at that time) should have this. Next, 2005/04/14, something about "read back the real taskfile register values when in 48-bit mode". Committed to HEAD, which would've been during days shortly before RELENG_6 was tagged (6.0). Next, 2005/08/17, "support for working around controllers that can't do DMA in 48-bit LBA mode", forcing the disk to use PIO mode allowing the disk to address >137GB. This was added to HEAD and RELENG_6, so this should also exist in 6.1. Next, 2007/12/13, "also fix 48-bit LBA addressing issues, apparently newe chips need 16-bit writes and not the usual FIFO thing". This was committed to HEAD first, RELENG_7 on 2008/01/09, and RELENG_6 on 2008/01/09. This is one which FreeBSD 6.1 *would not* have fixes for. I do not know if this is the problem -- I'm just speculating. Because dmesg output was not provided ("nothing interesting"), we can't tell what sort of controller your disks are hooked to, yadda yadda. This is explicitly why I asked for that information. If you could please try 7.0-STABLE or 7.1-PRERELEASE, that would be highly recommended. It would at least allow us to determine if you're being affected by a bug in older FreeBSD, or if this is something that is unique to your environment or applies to present-day FreeBSD. -- | 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 Mon Oct 6 17:02:53 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 449DC1065692 for ; Mon, 6 Oct 2008 17:02:53 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from kermit.lizardhill.com (kermit2.lizardhill.com [64.69.41.218]) by mx1.freebsd.org (Postfix) with ESMTP id 2BAB18FC18 for ; Mon, 6 Oct 2008 17:02:53 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from ip72-193-84-190.lv.lv.cox.net ([72.193.84.190] helo=mickey) by kermit.lizardhill.com with esmtpa (Exim 4.62) (envelope-from ) id 1KmtUE-0009ZR-AS; Mon, 06 Oct 2008 10:03:10 -0700 From: "Don O'Neil" To: "'Jeremy Chadwick'" References: <20081006161221.GB70792@gizmo.acns.msu.edu><4C2FBF89DECE47FC8C5AA51B62FF8710@mickey> <20081006164552.GA25629@icarus.home.lan> Date: Mon, 6 Oct 2008 10:02:51 -0700 Message-ID: <660A3C7B5A0744789B4CCAD6BD2814BB@mickey> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 In-Reply-To: <20081006164552.GA25629@icarus.home.lan> Thread-Index: Ackn0xrrPBGoh+vSSiyjqFlBiM2K0gAANV7g Cc: freebsd-questions@freebsd.org Subject: RE: Can't add new 1TB disk in FreeBSD 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 17:02:53 -0000 > > > > I just swapped out an old 500G disk with a 1TB one and I'm > > > > trying to label it and mount it... > > > > > > > > If I run bsdlabel -w ad4, I get: > > > > > > > > bsdlabel: Geom not found > > > > > > > > If I run sysinstall, it tells me that it can't write to the disk. > > > > > > > > I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but > > > > that didn't help. > > > > > > > > Can anyone help me get this new disk installed without having to > > > > boot off a recovery CD? The server is 500 miles away from me and > > > > I don't have direct console access. > > > > Can you provide output from dmesg, as well as "geom disk list"? > > > > > > OK... I tried: > > > > > > # dd if=/dev/zero of=/dev/ad4 bs=512 count=1000 > > > dd: /dev/ad4: Operation not permitted > > > > > > # fdisk /dev/ad4 > > > ******* Working on device /dev/ad4 ******* parameters extracted > > > from in-core disklabel are: > > > cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl) > > > > > > Figures below won't work with BIOS for partitions not in cyl 1 > > > parameters to be used for BIOS calculations are: > > > cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl) > > > > > > fdisk: invalid fdisk partition table found Media sector size is > > > 512 > > > Warning: BIOS sector numbering starts with sector 1 Information > > > from DOS bootblock is: > > > The data for partition 1 is: > > > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > > > start 63, size 1953525105 (953869 Meg), flag 80 (active) > > > beg: cyl 0/ head 1/ sector 1; > > > end: cyl 612/ head 15/ sector 63 The data for partition 2 > > > is: > > > > > > The data for partition 3 is: > > > > > > The data for partition 4 is: > > > > > > > > > OK. That looks pretty normal. > > > > Well, except for not allowing the dd to the disk. > > I haven't had that happen on a disk. (I used to see that a lot on > > DAT > tapes) > > > > So, maybe, as someone else suggested, you also need: > > > > > OK... I tried: > > > > > > # dd if=/dev/zero of=/dev/ad4 bs=512 count=1000 > > > dd: /dev/ad4: Operation not permitted > > > > > Did you "sysctl kern.geom.debugflags=16" before doing this? > > > > > What's happening here is that GEOM isn't letting you overwrite the > > MBR on the disk. Setting kern.geom.debugflags=16 should permit that > > to happen. > > > > > > But, do the following too. > > > > > > Did you try doing an: fdisk -I ad4 or maybe fdisk -BI ad4 > > > > It takes that to get fdisk to initialize the disk. > > (the -B puts the master boot block there. > > > > Just doing an fdisk ad4 only had fdisk read out stuff > > and there isn't anything there yet to read - so of course it is > > invalid. > > > > > > > > > > Geometry output: > > > > > > Geom name: ad4 > > > Providers: > > > 1. Name: ad4 > > > Mediasize: 1000204886016 (932G) > > > Sectorsize: 512 > > > Mode: r0w0e0 > > > fwsectors: 63 > > > fwheads: 16 > > > > > > Nothing exciting coming from dmesg. > > I tried kern.geom.debugflags=16 originally, still doesn't help. > Can you please do it and then attempt the exact dd you ran above? # sysctl kern.geom.debugflags=16 kern.geom.debugflags: 16 -> 16 # dd if=/dev/zero of=/dev/ad4 bs=512 count=1000 dd: /dev/ad4: Operation not permitted >The reason I'm hounding: you're not providing a lot of detail between whatever it is you're doing. Just a lot of >one-liner responses "No didn't work, next". It's very difficult to discern what exactly you're doing; for example, >you could've run the sysctl and then attempted an install, rather than re-execute the dd. I did exactly as you suggested, and I've posed all my results here... I'm scratching my head on this one as much as you are. >I can refer you to historic data that shows people have gotten the exact error you're seeing when attempting to >write to block 0 (MBR), stopped by GEOM, which is why I'm a little wary. >> Someone else recommended running sade(8) and properly configuring this disk. >> What is sade(8)? I don't have such an application on 6.1, and there is >> nothing in the ports. I think that sade is a 7.0+ tool. >6.1? Why? This is a new install, right? Is there some reason you're installing 6.1 and not 6.3, or better yet, >7.0? That's a separate question, but it does make me wonder if something was fixed between 6.1 and 6.3/7.0 which >might address this problem. No, it's not a new install, I'm just trying to add a new disk on an older server. I REALLY don't want to do an OS upgrade at this point on a production box that is running fine. We do that 1x a year, and I'm not in the mood to do it just to add a bigger disk. >There is one thing about later FreeBSDs which I am aware of: 48-bit LBA addressing. I'm left wondering if what >you're running into is a bug or a problem with older FreeBSD (6.1) not supporting this. I would have to go back> through CVS commit lots for ata(4) to find out when 48-bit LBA was added. I think 48-bit LBA support is required >for disks >500GB. Thart's a good point... I'll have to look into that to see when the 48 bit LBA was added. HOWEVER, I believe 48 bit LBA was needed for anything >248 GB, and I had a 500 G drive in there before. I had this EXACT same problem with the 500G drive I had in there before, and the only work around then was to boot off a recovery/boot CD. >sade(8) is the "famous" console UI for disk partitioning and labelling inside of sysinstall. It's a separate >application, and was introduced in FreeBSD 6.3. You can get the exact same functionality out of sysinstall on >earlier FreeBSDs. I was originally trying sysinstall, and it failed miserably too. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 17:05:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1FE81065686 for ; Mon, 6 Oct 2008 17:05:03 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA09.westchester.pa.mail.comcast.net (qmta09.westchester.pa.mail.comcast.net [76.96.62.96]) by mx1.freebsd.org (Postfix) with ESMTP id 039D18FC2A for ; Mon, 6 Oct 2008 17:05:02 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA07.westchester.pa.mail.comcast.net ([76.96.62.59]) by QMTA09.westchester.pa.mail.comcast.net with comcast id PRVZ1a00h1GhbT859V52cq; Mon, 06 Oct 2008 17:05:02 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA07.westchester.pa.mail.comcast.net with comcast id PV511a00E2P6wsM3TV51jT; Mon, 06 Oct 2008 17:05:02 +0000 X-Authority-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=kCbcdsYUwvLCKZIQHTwA:9 a=AubWs052E915KsJWMLxnmXDIR4oA:4 a=EoioJ0NPDVgA:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 0AB3CC9419; Mon, 6 Oct 2008 10:05:01 -0700 (PDT) Date: Mon, 6 Oct 2008 10:05:01 -0700 From: Jeremy Chadwick To: Aniruddha Message-ID: <20081006170501.GA26115@icarus.home.lan> References: <1223275319.4116.7.camel@debian> <20081006130929.386aebb7@baby-jane-lamaiziere-net.local> <48E9F93A.5020806@webzone.net.au> <1223311942.24138.6.camel@debian> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1223311942.24138.6.camel@debian> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: USB mouse problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 17:05:03 -0000 On Mon, Oct 06, 2008 at 06:52:22PM +0200, Aniruddha wrote: > On Mon, 2008-10-06 at 22:10 +1030, Andrew D wrote: > > Patrick Lamaizière wrote: > > > Le Mon, 06 Oct 2008 08:41:59 +0200, > > > Aniruddha a écrit : > > > > > >> I have one Razer Lachesis USB mouse attached to the rear usb ports of > > >> my pc. This mouse has never worked, however when I plug in another USB > > >> mouse in the front of my pc it works?! I wonder; how do I get the > > >> Razer Lachesis working without plugging it in the front? > > > > > > I don't know. > > > > Some motherboards have a jumper (or BIOS option) to that has to be set, > > so that the front connectors work at the expense of other ports. > > I don't think this has something to with a bios setting/jumper. My > other USB ports are working fine ( I also have an USB keyboard plugged > in). > > Furthermore in Linux nor Vista I've encountered this problem. Therefor I > suspect it must have something to do with FreeBSD. Maybe it's an bug? If > someone has an solution that would be great! FreeBSD's existing USB stack is known to be... shall we say, flaky. It's well-established at this point. The possibility of it being related to FreeBSD's USB stack is very likely. A new USB stack is available for CURRENT, but requires manual patching. If you're willing to try this, you should get in contact with Alfred Perlstein to discuss/get the patch. Keep in mind that this patch, as I stated, only applies to CURRENT, and not to FreeBSD 7 or earlier. You can download a CURRENT ISO here: ftp://ftp4.freebsd.org/pub/FreeBSD/snapshots/200809/ -- | 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 Mon Oct 6 17:06:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85529106568B for ; Mon, 6 Oct 2008 17:06:58 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241]) by mx1.freebsd.org (Postfix) with ESMTP id 3DAAE8FC19 for ; Mon, 6 Oct 2008 17:06:58 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: by an-out-0708.google.com with SMTP id b33so147259ana.13 for ; Mon, 06 Oct 2008 10:06:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to :content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=N1+pfDjmfjCDZ0alXQcHGo0vIV/ukYoFrAHIMfiwsWk=; b=SIr2OxH7cFy2XF0yxNwrpXM6zMx4YlQi2ca26PwH4OnL/re3M24pH35bf1Up3i8QFI 1kG3HcRgvEuvb0rAm+pVC8OnVBMMA5A5oFVUDC6Gf4XeO+fDRSFjQxBVm1oGWLdBl6+z B81IdV1WkXIAfIxlezuXmqJdQqwa4VnNzuCkY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:reply-to:to:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; b=VHNf/HSANqewsBGppbYp5ioHmcSEhO83ucDeFrwmb/Hm7khSzYz9EOoyK8LgNaGcxP JrUUNP240xa2064cp4QIiJRmkItlXjUySG9wNLiEPsn1DlM5oKJModzYbxGQ9AxL/izs 4AWy6qpSBeb/ZxskFREG3rb8pJ/Sq6z09B9Sc= Received: by 10.103.17.10 with SMTP id u10mr2885682mui.76.1223311548789; Mon, 06 Oct 2008 09:45:48 -0700 (PDT) Received: from ?88.128.27.177? ([88.128.27.177]) by mx.google.com with ESMTPS id n10sm11080337mue.0.2008.10.06.09.45.46 (version=SSLv3 cipher=RC4-MD5); Mon, 06 Oct 2008 09:45:48 -0700 (PDT) From: Mister Olli To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Mon, 06 Oct 2008 08:04:07 +0200 Message-Id: <1223273047.23248.25.camel@phoenix.blechhirn.net> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Subject: analyzing freebsd core dumps X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mister.olli@googlemail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 17:06:58 -0000 hi list... I have a freebsd maschine running for more 6 months without any problems. the machine's only service is to be an openvpn gateway for a hand of users. 2 weeks ago the first problems started. the openvpn exited with signal 11 and 4 and core dumps were written. the same happend yesterday with the postfix/cleanup process, and the suddenly the machine rebooted without any further log messages. what is the best way to troubleshoot the cause of this problem? greetz olli From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 17:07:31 2008 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 9DE1B1065689; Mon, 6 Oct 2008 17:07:31 +0000 (UTC) (envelope-from yurtesen@ispro.net.tr) Received: from turkey.ispro.net.tr (ns2.ispro.net [87.251.0.2]) by mx1.freebsd.org (Postfix) with ESMTP id 987468FC38; Mon, 6 Oct 2008 17:07:30 +0000 (UTC) (envelope-from yurtesen@ispro.net.tr) Received: from perpetual.yok.utu.fi ([130.232.138.155]) by turkey.ispro.net.tr with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KmtYO-000OvQ-PP; Mon, 06 Oct 2008 20:07:28 +0300 Message-ID: <48EA45D2.70502@ispro.net.tr> Date: Mon, 06 Oct 2008 20:07:30 +0300 From: Evren Yurtesen User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Jeremy Chadwick References: <48E9E146.9040308@ispro.net.tr> <20081006112030.GA18670@icarus.home.lan> <48EA2270.2080405@ispro.net.tr> <20081006152430.GA23608@icarus.home.lan> In-Reply-To: <20081006152430.GA23608@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: continuous backup solution for 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, 06 Oct 2008 17:07:31 -0000 First of all, I am not an r1soft advocate, but they seem to be making a software which is popular and affordable and interested in giving FreeBSD support... r1soft is not the issue here, the problem is that there is no way to do near continuous backups on FreeBSD servers. Jeremy Chadwick wrote: > That said, I'd like to know exactly how "low-level" R1Soft's software > truly is. dump(8), AFAIK, is "block-level" -- and that's a userland > program. Does R1Soft's software *truly* require kernel-land? I have > more to say on that issue (not against R1Soft, but speaking with regards > to the current state of FreeBSD's developer count) if it truly does. I think you might not have understood the concept of near continuous backups. The R1Soft backup monitors the filesystem operations and backs up written blocks. So it has to know what is written and when to be able to back it up. The dump command simply reads/writes the blocks. It cant only read changed blocks. It has to read the whole thing (inefficient). >> Continuous backups as well as bare-metal-restore seem to be a key >> feature for many hosters. > > Regarding continuous backups: the GEOM gate class could be used for > this. Meaning, I think it could be used as an alternate to R1Soft's > software. The GEOM gate allows mirroring to a remote machine, am I not right? That would be more or less same as same as using RAID. The continuous backup (or near continuous) means that you can restore the filesystem to a point like 15 minutes ago, or 1 hour ago. Besides, I hear geom might have network delay problems and it is much more complicated setup to build two machines in mirror configuration just for backup purposes as well as you cant restore to a point in the past. > Regarding bare-metal restoration I'm not aware of how to do that under > FreeBSD, Linux, or even Solaris "with ease". In most cases, companies > develop their own PXE-booting environments which wipe the disks and > reinstall + restore data as they see fit. There is no "standard". OK. Actually there is more than one solution which can do bare-metal-restores for FreeBSD also. However those solutions at best rely on nightly backups of the filesystems. With R1Soft, you can restore the system to only few minutes before the total meltdown. Unrelated to bare metal restore, with normal backups you are not taking backups of files which are created/deleted often. For example this can be customer mails or if a hacker hacks the box and removes his trails. Even sometimes customers upload some file and remove from their computer the same they and then accidentally remove from the server. With R1Soft backup the data would go into the backup server right away and you an restore every single file independent of when it was put or removed. >> FreeBSD is loosing users because of this issue. > > Why does the "number of FreeBSD users" matter? Quantity does not > necessarily represent quality. Thats a perfectly fine statement. But a quality product would be nothing without users. As well as this problem effects the quality. Consider a system which has sensitive data which shouldnt get lost, with continuous data protecton you can restore such failed system to only few minutes before the failure point. Doing this is currently impossible with FreeBSD. Best we can do is to return to previous snapshot taken (which might be a day old). This is an important design criteria since restoring the lost data might be time consuming and expensive. Thge issue is not even r1soft, they are just the most popular company giving such solution, only if there was at least one backup solution which could provide near continuous data protection... In addition to this, near continuous backups create less load on boxes with a lot of reads but little writes. Standart backups have to scan all the files to detect which files were changed. > I'm sorry for sounding anti-FreeBSD, but the reality is that people > should use whatever solutions work best for them -- if that's using > Windows, Solaris, or Linux, great! Remember that open-source is about > choice: and choice means supporting the possibility that someone chooses > something else. Blind one-sided advocacy is very damaging to the > open-source model and concept. I agree, and please dont shoot the messenger :) I just have a bunch of customers who would use FreeBSD but not using only because of this problem. In addition to that I myself would like to use near continuous backups as well. I was just trying to inform the FreeBSD community here so if somebody can have some time to divert to giving the right advices to r1soft then we all could benefit from it. It doesnt even have to be free even, with a reasonable price they can probably hire somebody to work for building the basics of this feature. So the real question is, is there anybody who is willing and have the experience to help on this issue? Thanks, Evren From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 17:11:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0132106569B for ; Mon, 6 Oct 2008 17:11:58 +0000 (UTC) (envelope-from gabrimate@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 83AA08FC20 for ; Mon, 6 Oct 2008 17:11:58 +0000 (UTC) (envelope-from gabrimate@gmail.com) Received: by wa-out-1112.google.com with SMTP id n4so1530826wag.27 for ; Mon, 06 Oct 2008 10:11:58 -0700 (PDT) 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=ZvSWnkLrCS44eRlJkmJLv+xan26oYEmFw5XXdIoTJUg=; b=JM3udbmCTK4ftRIzpcrv0NDNAF1SziM4SQ8p/vaqxDHiFFIku73KI4/j8vAVSFBK7l p+xRCMdjhaLB7ZvYmZF7u6vUE67SqHp8pN9di5+0LbhdMG0fsbW0aRBdKnlqGDo1JdMq +qDlD3YhSOSyDrOfdEelcCTQZvOPLj7b64/7w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=x5ydN5F2jcUllZ8Dkyi/nw2YF2V6zrELmZPMe1pyc1lzVNi0uQYxSqMD1rg2fvYXCz du0WkauPe0Hm1TYW5O1paBFjUdWB0SERjpmrlRG3X0WXOgq/XVfedEuHizXWyfmhJQHx PRAmO5V5o8V2QuOFxmbkNY7X+oxzjtxKOkn4Y= Received: by 10.114.201.1 with SMTP id y1mr5810514waf.93.1223311421819; Mon, 06 Oct 2008 09:43:41 -0700 (PDT) Received: by 10.115.59.20 with HTTP; Mon, 6 Oct 2008 09:43:41 -0700 (PDT) Message-ID: Date: Mon, 6 Oct 2008 18:43:41 +0200 From: "=?UTF-8?Q?G=C3=A1bri_M=C3=A1t=C3=A9?=" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: carp no working after upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 17:11:58 -0000 Dear List, i have a FreeBSD 7-release cluster firewall using carp for the public IP addresses. Last evening i've upgraded one of the firewalls to 7-release-p5 and after that carp stopped working. The two nodes can't understang each others cap packets so both of them are in master state. Does p5 differs from the original release so that the carp packets are different two? From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 17:18:11 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF1071065697 for ; Mon, 6 Oct 2008 17:18:11 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA07.emeryville.ca.mail.comcast.net (qmta07.emeryville.ca.mail.comcast.net [76.96.30.64]) by mx1.freebsd.org (Postfix) with ESMTP id 6FA698FC42 for ; Mon, 6 Oct 2008 17:18:10 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA09.emeryville.ca.mail.comcast.net ([76.96.30.20]) by QMTA07.emeryville.ca.mail.comcast.net with comcast id PSbq1a00T0S2fkCA7VJA1V; Mon, 06 Oct 2008 17:18:10 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA09.emeryville.ca.mail.comcast.net with comcast id PVJ91a0042P6wsM8VVJ9Qg; Mon, 06 Oct 2008 17:18:10 +0000 X-Authority-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=BY3-Sj9qAAAA:8 a=QycZ5dHgAAAA:8 a=HCo3huKQo-UG6YJrXWYA:9 a=HzDs3dfp0agXfqTCXvEA:7 a=i0GR9EPJCDKvTgEkDztTOBUa_oQA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 32428C9419; Mon, 6 Oct 2008 10:18:09 -0700 (PDT) Date: Mon, 6 Oct 2008 10:18:09 -0700 From: Jeremy Chadwick To: Mister Olli Message-ID: <20081006171809.GA26368@icarus.home.lan> References: <1223273047.23248.25.camel@phoenix.blechhirn.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1223273047.23248.25.camel@phoenix.blechhirn.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: analyzing freebsd core dumps X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 17:18:11 -0000 On Mon, Oct 06, 2008 at 08:04:07AM +0200, Mister Olli wrote: > hi list... > > I have a freebsd maschine running for more 6 months without any > problems. > the machine's only service is to be an openvpn gateway for a hand of > users. > > 2 weeks ago the first problems started. the openvpn exited with signal > 11 and 4 and core dumps were written. > > the same happend yesterday with the postfix/cleanup process, and the > suddenly the machine rebooted without any further log messages. > > what is the best way to troubleshoot the cause of this problem? Signal 11 happening "out of no where" on machines which have been running fine, most of the time, is a sign of hardware failure (usually RAM, but sometimes motherboard or PSU). The fact you got a reboot is also further evidence of this. http://www.freebsd.org/doc/en/books/faq/troubleshoot.html#SIGNAL11 I would recommend taking the machine offline and running something like memtest86+ on it for 6-7 hours. Any errors seen are a pretty good sign that you should replace the memory or the motherboard. You can download an ISO or floppy disk images here: http://www.memtest.org/ Bottom line is that this is probably a hardware issue. -- | 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 Mon Oct 6 17:22:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30C55106569C for ; Mon, 6 Oct 2008 17:22:59 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from smtp-4.orange.nl (smtp-4.orange.nl [193.252.22.249]) by mx1.freebsd.org (Postfix) with ESMTP id E737E8FC24 for ; Mon, 6 Oct 2008 17:22:58 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf6302.online.nl (SMTP Server) with ESMTP id 26E107000085 for ; Mon, 6 Oct 2008 19:22:57 +0200 (CEST) Received: from [192.168.2.173] (s5590cf7b.adsl.wanadoo.nl [85.144.207.123]) by mwinf6302.online.nl (SMTP Server) with ESMTP id DD7287000081 for ; Mon, 6 Oct 2008 19:22:56 +0200 (CEST) X-ME-UUID: 20081006172256907.DD7287000081@mwinf6302.online.nl From: Aniruddha To: freebsd-questions@freebsd.org In-Reply-To: <20081006170501.GA26115@icarus.home.lan> References: <1223275319.4116.7.camel@debian> <20081006130929.386aebb7@baby-jane-lamaiziere-net.local> <48E9F93A.5020806@webzone.net.au> <1223311942.24138.6.camel@debian> <20081006170501.GA26115@icarus.home.lan> Content-Type: text/plain Date: Mon, 06 Oct 2008 19:23:00 +0200 Message-Id: <1223313780.24138.8.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Subject: Re: USB mouse problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 17:22:59 -0000 On Mon, 2008-10-06 at 10:05 -0700, Jeremy Chadwick wrote: > > I don't think this has something to with a bios setting/jumper. My > > other USB ports are working fine ( I also have an USB keyboard plugged > > in). > > > > Furthermore in Linux nor Vista I've encountered this problem. Therefor I > > suspect it must have something to do with FreeBSD. Maybe it's an bug? If > > someone has an solution that would be great! > > FreeBSD's existing USB stack is known to be... shall we say, flaky. > It's well-established at this point. The possibility of it being > related to FreeBSD's USB stack is very likely. > > A new USB stack is available for CURRENT, but requires manual patching. > If you're willing to try this, you should get in contact with Alfred > Perlstein to discuss/get the patch. Keep in mind > that this patch, as I stated, only applies to CURRENT, and not to > FreeBSD 7 or earlier. > > You can download a CURRENT ISO here: > > ftp://ftp4.freebsd.org/pub/FreeBSD/snapshots/200809/ > Lol, during my search for a solution I did see numerous problems with mice. Out of curiosity; is CURRENT the same as FreeBSD 7.1-BETA? -- Regards, Aniruddha From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 17:38:24 2008 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 162971065690 for ; Mon, 6 Oct 2008 17:38:24 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr10.xs4all.nl (smtp-vbr10.xs4all.nl [194.109.24.30]) by mx1.freebsd.org (Postfix) with ESMTP id A28118FC12 for ; Mon, 6 Oct 2008 17:38:23 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr10.xs4all.nl (8.13.8/8.13.8) with ESMTP id m96HcFXa015954; Mon, 6 Oct 2008 19:38:16 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id B869CBA8A; Mon, 6 Oct 2008 19:38:15 +0200 (CEST) Date: Mon, 6 Oct 2008 19:38:15 +0200 From: Roland Smith To: Evren Yurtesen Message-ID: <20081006173815.GA46342@slackbox.xs4all.nl> References: <48E9E146.9040308@ispro.net.tr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FL5UXtIhxfXey3p5" Content-Disposition: inline In-Reply-To: <48E9E146.9040308@ispro.net.tr> 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.18 (2008-05-17) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: questions@freebsd.org Subject: Re: continuous backup solution for 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, 06 Oct 2008 17:38:24 -0000 --FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 06, 2008 at 12:58:30PM +0300, Evren Yurtesen wrote: > Hello, >=20 > Is there a known continuous backup solution similar to r1soft backup for= =20 > FreeBSD? I googled a lot but couldnt find anything. I don't think so. The closest thing I know of is rsnapshot (http://www.rsnapshot.org/).=20 My solution is to run rsync in a cron job. In my situation this takes about 5 minutes for approximately 100GB of data. The time it takes will obviously depend on the rate of change in the data. You could also use local snapshots with mksnap_ffs(8), to solve the "oh shit I deleted my files" situation. 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) --FL5UXtIhxfXey3p5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjqTQcACgkQEnfvsMMhpyUgbACdEfi+aS710VpHisP2mkBx93I1 fI8AnjE26/+DMtmvMQ1vP5P9kZ8thBlT =DYfv -----END PGP SIGNATURE----- --FL5UXtIhxfXey3p5-- From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 17:46:56 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A15D9106568A; Mon, 6 Oct 2008 17:46:56 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 3D0838FC1B; Mon, 6 Oct 2008 17:46:55 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id m96Hj2kk071252; Mon, 6 Oct 2008 13:45:02 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id m96Hj26C071251; Mon, 6 Oct 2008 13:45:02 -0400 (EDT) (envelope-from jerrymc) Date: Mon, 6 Oct 2008 13:45:02 -0400 From: Jerry McAllister To: Jeremy Chadwick Message-ID: <20081006174502.GB71024@gizmo.acns.msu.edu> References: <1223273047.23248.25.camel@phoenix.blechhirn.net> <20081006171809.GA26368@icarus.home.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081006171809.GA26368@icarus.home.lan> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: analyzing freebsd core dumps X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 17:46:56 -0000 On Mon, Oct 06, 2008 at 10:18:09AM -0700, Jeremy Chadwick wrote: > On Mon, Oct 06, 2008 at 08:04:07AM +0200, Mister Olli wrote: > > hi list... > > > > I have a freebsd maschine running for more 6 months without any > > problems. > > the machine's only service is to be an openvpn gateway for a hand of > > users. > > > > 2 weeks ago the first problems started. the openvpn exited with signal > > 11 and 4 and core dumps were written. > > > > the same happend yesterday with the postfix/cleanup process, and the > > suddenly the machine rebooted without any further log messages. > > > > what is the best way to troubleshoot the cause of this problem? > > Signal 11 happening "out of no where" on machines which have been > running fine, most of the time, is a sign of hardware failure (usually > RAM, but sometimes motherboard or PSU). The fact you got a reboot is > also further evidence of this. > > http://www.freebsd.org/doc/en/books/faq/troubleshoot.html#SIGNAL11 > > I would recommend taking the machine offline and running something like > memtest86+ on it for 6-7 hours. Any errors seen are a pretty good sign > that you should replace the memory or the motherboard. You can > download an ISO or floppy disk images here: > > http://www.memtest.org/ > > Bottom line is that this is probably a hardware issue. Could also be a contacts if it is not the actual memory or board. A marginal contact where something is plugged in can over time build up deposits that make it fail. Of course, this is still a hardware problem, but can often be cured by reseating everything. If it is bad enough, it could also be exacerbated by reseating everything. ////jerry > > -- > | 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 | > > _______________________________________________ > 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 Oct 6 17:59:44 2008 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 6ED3E1065688 for ; Mon, 6 Oct 2008 17:59:44 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) 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 E9C738FC13 for ; Mon, 6 Oct 2008 17:59:43 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA04.emeryville.ca.mail.comcast.net ([76.96.30.35]) by QMTA05.emeryville.ca.mail.comcast.net with comcast id PQeb1a0020lTkoCA5VzjsU; Mon, 06 Oct 2008 17:59:43 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA04.emeryville.ca.mail.comcast.net with comcast id PVzg1a00t2P6wsM8QVzhrR; Mon, 06 Oct 2008 17:59:42 +0000 X-Authority-Analysis: v=1.0 c=1 a=twfy5xwSsu8A:10 a=SNwvL3Cql6YA:10 a=QycZ5dHgAAAA:8 a=ffLhQdrvshs7Erb0gdYA:9 a=Z8majmqqmf7YY6bpHL4A:7 a=SZx3wHwO8GRIU5nyldfLQZgRQrAA:4 a=KI9gnbE5X7EA:10 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id A1AD6C941A; Mon, 6 Oct 2008 10:59:40 -0700 (PDT) Date: Mon, 6 Oct 2008 10:59:40 -0700 From: Jeremy Chadwick To: Evren Yurtesen Message-ID: <20081006175940.GB26368@icarus.home.lan> References: <48E9E146.9040308@ispro.net.tr> <20081006112030.GA18670@icarus.home.lan> <48EA2270.2080405@ispro.net.tr> <20081006152430.GA23608@icarus.home.lan> <48EA45D2.70502@ispro.net.tr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48EA45D2.70502@ispro.net.tr> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: questions@freebsd.org Subject: Re: continuous backup solution for 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, 06 Oct 2008 17:59:44 -0000 On Mon, Oct 06, 2008 at 08:07:30PM +0300, Evren Yurtesen wrote: > First of all, I am not an r1soft advocate, but they seem to be making a > software which is popular and affordable and interested in giving > FreeBSD support... r1soft is not the issue here, the problem is that > there is no way to do near continuous backups on FreeBSD servers. > > Jeremy Chadwick wrote: > >> That said, I'd like to know exactly how "low-level" R1Soft's software >> truly is. dump(8), AFAIK, is "block-level" -- and that's a userland >> program. Does R1Soft's software *truly* require kernel-land? I have >> more to say on that issue (not against R1Soft, but speaking with regards >> to the current state of FreeBSD's developer count) if it truly does. > > I think you might not have understood the concept of near continuous > backups. The R1Soft backup monitors the filesystem operations and backs > up written blocks. So it has to know what is written and when to be able > to back it up. The dump command simply reads/writes the blocks. It cant > only read changed blocks. It has to read the whole thing (inefficient). It depends on how it's implemented, but in general, yes, I guess this would advocate reliance on GEOM, which would be kernel. The thing is, the GEOM gate class could be extended to handle this situation -- it's a class intended for filesystem replication in real-time, over a network. That said, I shall unleash with the comments I had originally planned on including, but removed them since I felt it might be too hasty of me. The sad reality with FreeBSD is that we do not have enough clueful folks who are familiar with the kernel innards. Those who are clueful are very busy (with other things, and with real life), and often do not have the time to give direct/constant focus on a single item for long periods of time. I have a mental list of those who are absolutely incredible FreeBSD developers (and I will name one of them: pjd@, who should be given tens of thousands of dollars, IMHO, for his work on bringing ZFS to FreeBSD), but the list is small compared to how many *users* we have. The learning curve for getting familiar with pieces of the FreeBSD kernel is astoundingly large. I myself have tried it on a couple of occasions, but lack of concise and up-to-date documentation makes it very difficult to accomplish. (I'm familiar with very old operating systems, such as MS-DOS, ProDOS, and GS/OS on the Apple IIGS -- FreeBSD is far from those). Books are also not of much help, as I've been told that the existing book which covers FreeBSD engineering models is "long outdated" and that "many pieces now are completely different". A complete and total moral killer right there. The book is for FreeBSD 5.2, by the way. We cannot rely on the FreeBSD Documentation folks to write the necessary docs either, because they do not have the knowledge of the kernel to write such. As someone who's written software, I can assure you that the only way to get good documentation for low-level pieces is to write the documentation in parallel to the code; otherwise, you end up with lots of "after-the-fact" reverse engineering efforts, which takes tons of time, and requires a lot of communication between the code author(s) and the documenters. We're talking thousands of hours here. Requiring the user/developer to reverse-engineer hundreds of thousands of lines of C code is not reasonable/plausible; hardly anyone is willing to do that for free. This is why Linux often has the upper hand: they have multiple eyes and individuals fully familiar with different pieces of the kernel. If one or two people go on hiatus or disappear (death, life, whatever), the existing kernel piece does not sit in limbo for years -- there are other people to pick up the responsibilities. Much of the FreeBSD kernel and device layer does not have this degree of freedom; much is single-person, single-maintainer, single-point-of-failure. Then there's commercial company support -- by that I mean, actual hardware vendors that support the OS. FreeBSD has some of this, but most are very small companies (few employees), with limited funds, or have very *very* limited/specific focus; there are a couple big ones, but they are few and far between. Linux has hundreds, and many of the vendors are *very* large. In fact, the support is so large that freelance Linux developers are able to get things like development PCI boards for new NICs from the vendors directly; FreeBSD? Rare. What this means is that the commercial world takes Linux seriously, while FreeBSD not so. Sorry, but that's reality. It amazes me how "easy" someone can pick up programming something in kernel-land for Linux, while for FreeBSD it just doesn't happen on a regular basis. When I see it happen, it's bizarre -- suddenly out of no where comes this one fellow (we'll call him Bob), appearing on a mailing list with a bunch of patches. Heard of him before? Nope, but here he is, and somehow he engineered all of this. What's his background? I don't know, maybe some old guy who lives in a cave and has been studying BSD code in the steam tunnels; who knows. It's like they literally come out of the woodwork, while I don't see this sort of behaviour with Linux. With Linux, it's often "Hi I work for , we're adding support for Linux, I need some help with regards to the following kernel piece..." and they've got responses from 20 people in 24 hours. What I'm saying is that Linux has the upper hand here. More eyes, more people, more developers, larger community, larger vendor support, and much **much** faster turn-around time on fixes/bugs. We can sit here and argue about those facts all we want (it's the equivalent of doing burn-outs in an AMC Pacer in a parking lot -- wasted time, zero gain), but nothing changes the facts. >>> Continuous backups as well as bare-metal-restore seem to be a key >>> feature for many hosters. >> >> Regarding continuous backups: the GEOM gate class could be used for >> this. Meaning, I think it could be used as an alternate to R1Soft's >> software. > > The GEOM gate allows mirroring to a remote machine, am I not right? That > would be more or less same as same as using RAID. The continuous backup > (or near continuous) means that you can restore the filesystem to a > point like 15 minutes ago, or 1 hour ago. What you're talking about sounds like filesystem snapshots, with an *immense* amount of granularity. Enterprise-level filers have this capability (I'm talking Network Appliance), and UFS2 with softupdates have it (called snapshots; but please be aware that there are *HUGE* problems with it, and it should not be relied upon for this kind of functionality) -- but nothing that can be restored within *minutes*. Even Netapp filers do not have that kind of granularity -- the amount of disk it would require would be astounding. Netapp filers often do snapshot generation hourly or nightly (it's configurable how often); minutes is unheard of. ZFS also has snapshot capability, but does not have real-time filesystem mirroring capabilities over a network (keyword: real-time). > Besides, I hear geom might > have network delay problems and it is much more complicated setup to > build two machines in mirror configuration just for backup purposes as > well as you cant restore to a point in the past. Well, GEOM gate is the only thing I know of which replicates filesystems over a network in real-time. >> Regarding bare-metal restoration I'm not aware of how to do that under >> FreeBSD, Linux, or even Solaris "with ease". In most cases, companies >> develop their own PXE-booting environments which wipe the disks and >> reinstall + restore data as they see fit. There is no "standard". > > OK. Actually there is more than one solution which can do > bare-metal-restores for FreeBSD also. However those solutions at best > rely on nightly backups of the filesystems. With R1Soft, you can restore > the system to only few minutes before the total meltdown. > > Unrelated to bare metal restore, with normal backups you are not taking > backups of files which are created/deleted often. For example this can > be customer mails or if a hacker hacks the box and removes his trails. > Even sometimes customers upload some file and remove from their computer > the same they and then accidentally remove from the server. With R1Soft > backup the data would go into the backup server right away and you an > restore every single file independent of when it was put or removed. Right. We're definitely talking about snapshots, at least in concept. The fact that you're able to restore data within *minutes* is pretty impressive. I'm curious what sort of disk requirements are needed though (I guess it depends on how often changes happen on the filesystem). >>> FreeBSD is loosing users because of this issue. >> >> Why does the "number of FreeBSD users" matter? Quantity does not >> necessarily represent quality. > > Thats a perfectly fine statement. But a quality product would be nothing > without users. As well as this problem effects the quality. Consider a > system which has sensitive data which shouldnt get lost, with continuous > data protecton you can restore such failed system to only few minutes > before the failure point. Doing this is currently impossible with > FreeBSD. Best we can do is to return to previous snapshot taken (which > might be a day old). This is an important design criteria since > restoring the lost data might be time consuming and expensive. Thge > issue is not even r1soft, they are just the most popular company giving > such solution, only if there was at least one backup solution which > could provide near continuous data protection... Part of the "design issue" here is that there's two concepts being merged into one thing: snapshots and backup restoration. I for one have never correlated snapshots and backup restorations (bare-metal recovery). I consider them completely separate things, and handled *very* differently. I have a feeling that no one's done this on FreeBSD because the amount of effort required is quite large. Someone did mention HAMMER on DragonflyBSD, but I have no knowledge of it or what it provides -- that said, Matt (Dillon)'s stuff is usually very, very good. > In addition to this, near continuous backups create less load on boxes > with a lot of reads but little writes. Standart backups have to scan all > the files to detect which files were changed. It depends on how the filesystem is done. For example, with UFS2+SU snapshots, snapshot generation can take literally hours: completely unreasonable. While with ZFS, snapshot generation usually takes 2-3 seconds -- even on massive changes (e.g. take a snapshot, then rm a 600MB ISO image, then compare present vs. snapshot -- the diff is something like 40KBytes). >> I'm sorry for sounding anti-FreeBSD, but the reality is that people >> should use whatever solutions work best for them -- if that's using >> Windows, Solaris, or Linux, great! Remember that open-source is about >> choice: and choice means supporting the possibility that someone chooses >> something else. Blind one-sided advocacy is very damaging to the >> open-source model and concept. > > I agree, and please dont shoot the messenger :) I just have a bunch of > customers who would use FreeBSD but not using only because of this > problem. In addition to that I myself would like to use near continuous > backups as well. Understood. I now realise the full importance of what it is you've described, and what R1Soft has developed. Thank you for taking the time to educate me -- I appreciate it! > I was just trying to inform the FreeBSD community here so if somebody > can have some time to divert to giving the right advices to r1soft then > we all could benefit from it. It doesnt even have to be free even, with > a reasonable price they can probably hire somebody to work for building > the basics of this feature. > > So the real question is, is there anybody who is willing and have the > experience to help on this issue? The response you're going to get is: "why don't you state how much you're willing to pay for this feature, so that anyone who IS interested can decide if that amount of money is worth the time required?" My response is different: this sort of thing should definitely be pawned off onto the FreeBSD Foundation. IMHO, this is the sort of thing the Foundation *should* be handling. There is money there, and this sounds like a project which could benefit FreeBSD as a whole. It's possible that R1Soft, if paid, would take up such a challenge, assuming some key folks (like Kirk McKusick; not volunteering him, just saying he has experience with filesystems) could help with the development process and learning curve. I can't speak for the Foundation, but it really sounds like that's the way to go with this. I don't think you'll get any responses from interested parties on freebsd-questions. :-) -- | 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 Mon Oct 6 18:00:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2DB8106568F; Mon, 6 Oct 2008 18:00:28 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id B9CC68FC32; Mon, 6 Oct 2008 18:00:28 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id B45CBAFBC01; Mon, 6 Oct 2008 10:00:27 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Mon, 6 Oct 2008 20:00:26 +0200 User-Agent: KMail/1.9.7 References: <48E9E146.9040308@ispro.net.tr> <20081006152430.GA23608@icarus.home.lan> <48EA45D2.70502@ispro.net.tr> In-Reply-To: <48EA45D2.70502@ispro.net.tr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810062000.26501.fbsd.questions@rachie.is-a-geek.net> Cc: Jeremy Chadwick , Evren Yurtesen Subject: Re: continuous backup solution for 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, 06 Oct 2008 18:00:29 -0000 On Monday 06 October 2008 19:07:30 Evren Yurtesen wrote: > First of all, I am not an r1soft advocate, but they seem to be making a > software which is popular and affordable and interested in giving > FreeBSD support... r1soft is not the issue here, the problem is that > there is no way to do near continuous backups on FreeBSD servers. > > Jeremy Chadwick wrote: > > That said, I'd like to know exactly how "low-level" R1Soft's software > > truly is. dump(8), AFAIK, is "block-level" -- and that's a userland > > program. Does R1Soft's software *truly* require kernel-land? I have > > more to say on that issue (not against R1Soft, but speaking with regards > > to the current state of FreeBSD's developer count) if it truly does. > > I think you might not have understood the concept of near continuous > backups. The R1Soft backup monitors the filesystem operations So does ggate. But read on. > So it has to know what is written and when to be able > to back it up. The dump command simply reads/writes the blocks. It cant > only read changed blocks. It has to read the whole thing (inefficient). But Jeremy's point being, dump(8) does not need /dev/special_device to read/write at block level. > >> Continuous backups as well as bare-metal-restore seem to be a key > >> feature for many hosters. > > > > Regarding continuous backups: the GEOM gate class could be used for > > this. Meaning, I think it could be used as an alternate to R1Soft's > > software. > > The GEOM gate allows mirroring to a remote machine, am I not right? That > would be more or less same as same as using RAID. The continuous backup > (or near continuous) means that you can restore the filesystem to a > point like 15 minutes ago, or 1 hour ago. Besides, I hear geom might > have network delay problems and it is much more complicated setup to > build two machines in mirror configuration just for backup purposes as > well as you cant restore to a point in the past. I think once you and R1soft step out of the "I need a block level device" paradigm, you will see that modifying ggate with a "copy and fall through" mode, as well as a mechanism to block writes to the local provider, when the remote provider wants to write is the best solution all around and your best bet to get support for it. Right now, ggate does "intercept and redirect", but the concept of copy and fall through is not that far away. Bringing the R1soft devs in contact with the FreeBSD geom list and having them browse the sys/geom/ggate sources to see how trivial it is to hook into filesystem operations would be the course of action I'd recommend. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 18:01:00 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F1461065688 for ; Mon, 6 Oct 2008 18:01:00 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA06.emeryville.ca.mail.comcast.net (qmta06.emeryville.ca.mail.comcast.net [76.96.30.56]) by mx1.freebsd.org (Postfix) with ESMTP id 02EC38FC1C for ; Mon, 6 Oct 2008 18:00:59 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA06.emeryville.ca.mail.comcast.net ([76.96.30.51]) by QMTA06.emeryville.ca.mail.comcast.net with comcast id PPYL1a00816AWCUA6W0zrC; Mon, 06 Oct 2008 18:00:59 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA06.emeryville.ca.mail.comcast.net with comcast id PW0y1a00T2P6wsM8SW0yK7; Mon, 06 Oct 2008 18:00:59 +0000 X-Authority-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=CAZGWT6B6nhwvPq_VEMA:9 a=tIe4VsvGRDjzoFFMRviTBJphZz4A:4 a=EoioJ0NPDVgA:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 55C2EC9419; Mon, 6 Oct 2008 11:00:58 -0700 (PDT) Date: Mon, 6 Oct 2008 11:00:58 -0700 From: Jeremy Chadwick To: Aniruddha Message-ID: <20081006180058.GC26368@icarus.home.lan> References: <1223275319.4116.7.camel@debian> <20081006130929.386aebb7@baby-jane-lamaiziere-net.local> <48E9F93A.5020806@webzone.net.au> <1223311942.24138.6.camel@debian> <20081006170501.GA26115@icarus.home.lan> <1223313780.24138.8.camel@debian> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1223313780.24138.8.camel@debian> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: USB mouse problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 18:01:00 -0000 On Mon, Oct 06, 2008 at 07:23:00PM +0200, Aniruddha wrote: > On Mon, 2008-10-06 at 10:05 -0700, Jeremy Chadwick wrote: > > > I don't think this has something to with a bios setting/jumper. My > > > other USB ports are working fine ( I also have an USB keyboard plugged > > > in). > > > > > > Furthermore in Linux nor Vista I've encountered this problem. Therefor I > > > suspect it must have something to do with FreeBSD. Maybe it's an bug? If > > > someone has an solution that would be great! > > > > FreeBSD's existing USB stack is known to be... shall we say, flaky. > > It's well-established at this point. The possibility of it being > > related to FreeBSD's USB stack is very likely. > > > > A new USB stack is available for CURRENT, but requires manual patching. > > If you're willing to try this, you should get in contact with Alfred > > Perlstein to discuss/get the patch. Keep in mind > > that this patch, as I stated, only applies to CURRENT, and not to > > FreeBSD 7 or earlier. > > > > You can download a CURRENT ISO here: > > > > ftp://ftp4.freebsd.org/pub/FreeBSD/snapshots/200809/ > > > > Lol, during my search for a solution I did see numerous problems with > mice. Out of curiosity; is CURRENT the same as FreeBSD 7.1-BETA? No -- significantly different. CURRENT is "super alpha it's probably going to break", while 7.1-BETA is simply the upcoming release of 7.1 which is slated to become -STABLE after a few months. -- | 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 Mon Oct 6 18:07:35 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D283A10656A6 for ; Mon, 6 Oct 2008 18:07:35 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA06.westchester.pa.mail.comcast.net (qmta06.westchester.pa.mail.comcast.net [76.96.62.56]) by mx1.freebsd.org (Postfix) with ESMTP id 63DA38FC24 for ; Mon, 6 Oct 2008 18:07:35 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA08.westchester.pa.mail.comcast.net ([76.96.62.12]) by QMTA06.westchester.pa.mail.comcast.net with comcast id PQmh1a00B0Fqzac56Swuct; Mon, 06 Oct 2008 14:56:54 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA08.westchester.pa.mail.comcast.net with comcast id PSwr1a00T2P6wsM3USwsyK; Mon, 06 Oct 2008 14:56:52 +0000 X-Authority-Analysis: v=1.0 c=1 a=dHjZm24hZxkA:10 a=88wOqWrQNcMA:10 a=0UeUPbTrAAAA:8 a=QycZ5dHgAAAA:8 a=A2mNMwQfNWtH6mVhbZAA:9 a=RUMDrgdVL_IAx1s_hMcA:7 a=FxbrjWipuntiZoNkCsso1X8mFoEA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 908E6C9419; Mon, 6 Oct 2008 07:56:51 -0700 (PDT) Date: Mon, 6 Oct 2008 07:56:51 -0700 From: Jeremy Chadwick To: Kirk Strauser Message-ID: <20081006145651.GA23281@icarus.home.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: FreeBSD Questions ML Subject: Re: Coretemp seems to be off quite a bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 18:07:35 -0000 On Mon, Oct 06, 2008 at 09:39:40AM -0500, Kirk Strauser wrote: > I have a Gigabyte motherboard with an Intel ICH-9 chipset, and a 3.0GHz > Core 2 Duo (E8400). The coretemp sysctls seem to always show 50C as the > baseline temperature: > > $ sysctl dev.cpu | grep temp > dev.cpu.0.temperature: 50 > dev.cpu.1.temperature: 50 > > This is with a big PSU fan, a good CPU fan, a clean heatsink, and two > case fans aimed the right direction (front fan pulling cool air in, rear > fan pushing warm air out). If I reboot and go into the BIOS, I get > numbers around 42-43C. First and foremost: there is always the possibility of a bug in coretemp(4). I'm not dissuading that possibility, but let's talk about the other aspects first. There is a common misconception that what the BIOS reports is the on-die CPU temperature. This is often not the case. In 90% of the motherboards out there, the temperatures shown in the BIOS are taken from external sensors: that is to say, a thermistor on the motherboard intended for monitoring system temperature. This is very different from the on-die processor core temperatures that coretemp(4) shows. You didn't state what exact model of Gigabyte motherboard you're using, nor did you state what BIOS version, so I can't help here. But all of these boards come with 1) the ability to monitor voltages, 2) the ability to monitor fan RPMs, and 2) the ability to monitor temperatures. All of these requires an external H/W monitoring IC, which *is not* the same thing coretemp(4) reports. Secondly, if the BIOS does in fact report on-die core temperatures, then there is a certain amount of differential which should be allowed. That's often 4-5C, believe it or not. The BIOS has a tendency to run hotter, because it does not do things such as execute HLT instructions on idle processors and so on, like FreeBSD, Linux, and Windows do. Thirdly, there is a known "issue" with on-die temperature reporting. On my E6550, the Windows program called RMClock reports my cores at something like 56C each, yet CoreTemp (which uses the same data) reports them at 36C. While on my Q9550, all cores are reported properly in both CoreTemp and RMClock (about 30-36C per core; the variance between cores is normal). The 20C difference seen on my E6550 between RMClock and CoreTemp has to do with something called "TJunction", or at least that's what I'm told by the RMClock author. You can Google for that term and see exactly what I'm talking about. Different software authors implement the calculation formula differently. http://www.alcpu.com/CoreTemp/howitworks.html Finally, there's also something called "TjunctionMax", which is the temperature point where if any of the cores reach, will result in the processor literally shutting off. CoreTemp also shows this. I believe it's set to 85C on my E6550, while 100C on my Q9550. God forbid the temperatures ever reach that. > I know it's kind of hard to compare directly, but the coretemp numbers > are from a totally idle system with powerd scaling it back to 373MHz, > so it should be as cool as when sitting idle in the BIOS screens. > When I work the system hard, like running "make -j4 buildworld", I see > temperatures up around 63-64C, and I'm almost positive that's not > right. If at all possible, boot Windows and run CoreTemp. If the numbers shown there are identical to what FreeBSD shows (give or take a couple degrees), then they are correct. If Windows is not an option, surely Linux has something that can show core temperatures. Be aware that the stock retail heatsink/fan on Intel CPUs is known to be *horrible* at cooling, and after a few months of use will become noisy as hell. If you're using your own heatsink/fan, I highly recommend you consider removing it and reseating it. The temperatures you're reporting, in or out of the BIOS, are what I consider "high". I used to see ~36-37C on my E6550 per core when idling, and ~43-44C under load. On my Q9550 I see ~30-36C on idle, and 40-42C on load. > Any ideas why coretemp and the BIOS would show such different numbers? See above. -- | 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 Mon Oct 6 18:08:36 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 156F21065687; Mon, 6 Oct 2008 18:08:36 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from kermit.lizardhill.com (kermit2.lizardhill.com [64.69.41.218]) by mx1.freebsd.org (Postfix) with ESMTP id F01C18FC28; Mon, 6 Oct 2008 18:08:35 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from ip72-193-84-190.lv.lv.cox.net ([72.193.84.190] helo=mickey) by kermit.lizardhill.com with esmtpa (Exim 4.62) (envelope-from ) id 1KmuVp-00075R-BI; Mon, 06 Oct 2008 11:08:53 -0700 From: "Don O'Neil" To: "'Jeremy Chadwick'" References: <20081006161221.GB70792@gizmo.acns.msu.edu> <4C2FBF89DECE47FC8C5AA51B62FF8710@mickey> <20081006164552.GA25629@icarus.home.lan> <20081006170104.GA25818@icarus.home.lan> Date: Mon, 6 Oct 2008 11:08:34 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 In-Reply-To: <20081006170104.GA25818@icarus.home.lan> Thread-Index: Ackn1SudEnCZo8HQQqyQcKB+5WpjmAAArGNQ Cc: freebsd-questions@freebsd.org Subject: RE: Can't add new 1TB disk in FreeBSD 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 18:08:36 -0000 > On Mon, Oct 06, 2008 at 09:45:52AM -0700, Jeremy Chadwick wrote: > > There is one thing about later FreeBSDs which I am aware of: 48-bit > > LBA addressing. I'm left wondering if what you're running > into is a > > bug or a problem with older FreeBSD (6.1) not supporting this. I > > would have to go back through CVS commit lots for ata(4) to > find out > > when 48-bit LBA was added. I think 48-bit LBA support is > required for disks >500GB. > > The issue I'm referring to has been touched on many times. > > First and foremost, 6.1-RELEASE was released in May 2006. > Keep that date in mind when reading the below. > > The first incident, according to CVS commit logs, was adding > 48-bit LBA support, supporting disks >137GB. That would've > been in RELENG_4, dated 2002/01/05. FreeBSD 6.1 should have this. > > Next, we have a commit dated 2003/01/19, affecting 48-bit LBA > support on Promise 66/100 controllers. FreeBSD 6.1 should have this. > > Next, 2004/12/09, talking about disk firmware bugs affecting > 48-bit LBA addressing, which was affecting a significant > number of users. That was applied to HEAD and RELENG_5, so > FreeBSD 6.1 ("HEAD" at that time) should have this. > > Next, 2005/04/14, something about "read back the real > taskfile register values when in 48-bit mode". Committed to > HEAD, which would've been during days shortly before RELENG_6 > was tagged (6.0). > > Next, 2005/08/17, "support for working around controllers > that can't do DMA in 48-bit LBA mode", forcing the disk to > use PIO mode allowing the disk to address >137GB. This was > added to HEAD and RELENG_6, so this should also exist in 6.1. > > Next, 2007/12/13, "also fix 48-bit LBA addressing issues, > apparently newe chips need 16-bit writes and not the usual > FIFO thing". This was committed to HEAD first, RELENG_7 on > 2008/01/09, and RELENG_6 on 2008/01/09. > > This is one which FreeBSD 6.1 *would not* have fixes for. > > I do not know if this is the problem -- I'm just speculating. > > Because dmesg output was not provided ("nothing > interesting"), we can't tell what sort of controller your > disks are hooked to, yadda yadda. > This is explicitly why I asked for that information. > > If you could please try 7.0-STABLE or 7.1-PRERELEASE, that > would be highly recommended. It would at least allow us to > determine if you're being affected by a bug in older FreeBSD, > or if this is something that is unique to your environment or > applies to present-day FreeBSD. The hardware I have is the built in SATA controller on the motherboard, which is GIGABYTE GA-M61P-S3. With the NVIDIA GeForce 6100 / nForce 430 and Super I/O chip: ITE IT8716. Dmesg had no output pertaining to the partition/format/dd, etc... Just messages from my ftp daemon. If you're wanting to see the boot messages, this is from the last time I rebooted when I installed the disk: Oct 4 04:07:30 kermit kernel: Copyright (c) 1992-2006 The FreeBSD Project. Oct 4 04:07:30 kermit kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Oct 4 04:07:30 kermit kernel: The Regents of the University of California. All rights reserved. Oct 4 04:07:30 kermit kernel: FreeBSD 6.1-STABLE-200608 #0: Mon Mar 19 22:52:31 PDT 2007 Oct 4 04:07:30 kermit kernel: root@kermit.lizardhill.com:/usr/src/sys/i386/compile/KERMIT Oct 4 04:07:30 kermit kernel: ACPI APIC Table: Oct 4 04:07:30 kermit kernel: Timecounter "i8254" frequency 1193182 Hz quality 0 Oct 4 04:07:30 kermit kernel: CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ (2611.90-MHz 686-class CPU) Oct 4 04:07:30 kermit kernel: Origin = "AuthenticAMD" Id = 0x40f32 Stepping = 2 Oct 4 04:07:30 kermit kernel: Features=0x178bfbff Oct 4 04:07:30 kermit kernel: Features2=0x2001 Oct 4 04:07:30 kermit kernel: AMD Features=0xea500800 Oct 4 04:07:30 kermit kernel: AMD Features2=0x1f,,CR8> Oct 4 04:07:30 kermit kernel: Cores per package: 2 Oct 4 04:07:30 kermit kernel: real memory = 3724476416 (3551 MB) Oct 4 04:07:30 kermit kernel: avail memory = 3647496192 (3478 MB) Oct 4 04:07:30 kermit kernel: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs Oct 4 04:07:30 kermit kernel: cpu0 (BSP): APIC ID: 0 Oct 4 04:07:30 kermit kernel: cpu1 (AP): APIC ID: 1 Oct 4 04:07:30 kermit kernel: ioapic0: Changing APIC ID to 2 Oct 4 04:07:30 kermit kernel: ioapic0 irqs 0-23 on motherboard Oct 4 04:07:30 kermit kernel: kbd1 at kbdmux0 Oct 4 04:07:30 kermit kernel: acpi0: on motherboard Oct 4 04:07:30 kermit kernel: acpi_bus_number: can't get _ADR Oct 4 04:07:30 kermit kernel: acpi_bus_number: can't get _ADR Oct 4 04:07:30 kermit kernel: acpi0: Power Button (fixed) Oct 4 04:07:30 kermit kernel: acpi_bus_number: can't get _ADR Oct 4 04:07:30 kermit kernel: acpi_bus_number: can't get _ADR Oct 4 04:07:30 kermit kernel: Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 Oct 4 04:07:30 kermit kernel: acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 Oct 4 04:07:30 kermit kernel: cpu0: on acpi0 Oct 4 04:07:30 kermit kernel: cpu1: on acpi0 Oct 4 04:07:30 kermit kernel: acpi_button0: on acpi0 Oct 4 04:07:30 kermit kernel: CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ (2611.90-MHz 686-class CPU) Oct 4 04:07:30 kermit kernel: Origin = "AuthenticAMD" Id = 0x40f32 Stepping = 2 Oct 4 04:07:30 kermit kernel: Features=0x178bfbff Oct 4 04:07:30 kermit kernel: Features2=0x2001 Oct 4 04:07:30 kermit kernel: AMD Features=0xea500800 Oct 4 04:07:30 kermit kernel: AMD Features2=0x1f,,CR8> Oct 4 04:07:30 kermit kernel: Cores per package: 2 Oct 4 04:07:30 kermit kernel: real memory = 3724476416 (3551 MB) Oct 4 04:07:30 kermit kernel: avail memory = 3647496192 (3478 MB) Oct 4 04:07:30 kermit kernel: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs Oct 4 04:07:30 kermit kernel: cpu0 (BSP): APIC ID: 0 Oct 4 04:07:30 kermit kernel: cpu1 (AP): APIC ID: 1 Oct 4 04:07:30 kermit kernel: ioapic0: Changing APIC ID to 2 Oct 4 04:07:30 kermit kernel: ioapic0 irqs 0-23 on motherboard Oct 4 04:07:30 kermit kernel: kbd1 at kbdmux0 Oct 4 04:07:30 kermit kernel: acpi0: on motherboard Oct 4 04:07:30 kermit kernel: acpi_bus_number: can't get _ADR Oct 4 04:07:30 kermit kernel: acpi_bus_number: can't get _ADR Oct 4 04:07:30 kermit kernel: acpi0: Power Button (fixed) Oct 4 04:07:30 kermit kernel: acpi_bus_number: can't get _ADR Oct 4 04:07:30 kermit kernel: acpi_bus_number: can't get _ADR Oct 4 04:07:30 kermit kernel: Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 Oct 4 04:07:30 kermit kernel: acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 Oct 4 04:07:30 kermit kernel: cpu0: on acpi0 Oct 4 04:07:30 kermit kernel: cpu1: on acpi0 Oct 4 04:07:30 kermit kernel: acpi_button0: on acpi0 Oct 4 04:07:30 kermit kernel: pcib0: port 0xcf8-0xcff on acpi0 Oct 4 04:07:30 kermit kernel: pci0: on pcib0 Oct 4 04:07:30 kermit kernel: pci0: at device 0.0 (no driver attached) Oct 4 04:07:30 kermit kernel: isab0: at device 1.0 on pci0 Oct 4 04:07:30 kermit kernel: isa0: on isab0 Oct 4 04:07:30 kermit kernel: pci0: at device 1.1 (no driver attached) Oct 4 04:07:30 kermit kernel: pci0: at device 1.2 (no driver attached) Oct 4 04:07:30 kermit kernel: pci0: at device 2.0 (no driver attached) Oct 4 04:07:30 kermit kernel: pci0: at device 2.1 (no driver attached) Oct 4 04:07:30 kermit kernel: pcib1: at device 4.0 on pci0 Oct 4 04:07:30 kermit kernel: pci1: on pcib1 Oct 4 04:07:30 kermit kernel: fxp0: port 0xa000-0xa03f mem 0xf4901000-0xf4901fff,0xf4800000-0xf48fffff i rq 16 at device 6.0 on pci1 Oct 4 04:07:30 kermit kernel: miibus0: on fxp0 Oct 4 04:07:30 kermit kernel: inphy0: on miibus0 Oct 4 04:07:30 kermit kernel: inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Oct 4 04:07:30 kermit kernel: fxp0: Ethernet address: 00:d0:b7:93:1d:9d Oct 4 04:07:30 kermit kernel: twe0: <3ware Storage Controller. Driver version 1.50.01.002> port 0xa400-0xa40f mem 0xf4000000-0xf47fffff irq 17 at device 7.0 on pci1 Oct 4 04:07:30 kermit kernel: twe0: [GIANT-LOCKED] Oct 4 04:07:30 kermit kernel: twe0: 4 ports, Firmware FE7X 1.05.00.065, BIOS BE7X 1.08.00.048 Oct 4 04:07:30 kermit kernel: atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 6.0 on pci0 Oct 4 04:07:30 kermit kernel: ata0: on atapci0 Oct 4 04:07:30 kermit kernel: ata1: on atapci0 Oct 4 04:07:30 kermit kernel: pci0: at device 7.0 (no driver attached) Oct 4 04:07:30 kermit kernel: atapci1: port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xd000-0xd00f mem 0xf7004000-0xf7004fff irq 20 at device 8.0 on pci0 Oct 4 04:07:30 kermit kernel: ata2: on atapci1 Oct 4 04:07:30 kermit kernel: ata3: on atapci1 Oct 4 04:07:30 kermit kernel: atapci2: port 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xe400-0xe40f mem 0xf7000000-0xf7000fff irq 21 at device 8.1 on pci0 Oct 4 04:07:30 kermit kernel: ata4: on atapci2 Oct 4 04:07:30 kermit kernel: ata5: on atapci2 Oct 4 04:07:30 kermit kernel: pci0: at device 13.0 (no driver attached) Oct 4 04:07:30 kermit kernel: fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 Oct 4 04:07:30 kermit kernel: fdc0: [FAST] Oct 4 04:07:30 kermit kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0 Oct 4 04:07:30 kermit kernel: sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 Oct 4 04:07:30 kermit kernel: sio0: type 16550A Oct 4 04:07:30 kermit kernel: sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 Oct 4 04:07:30 kermit kernel: sio1: type 16550A Oct 4 04:07:30 kermit kernel: pmtimer0 on isa0 Oct 4 04:07:30 kermit kernel: orm0: at iomem 0xd0000-0xd3fff,0xd4000-0xd57ff,0xd6000-0xd6fff on isa0 Oct 4 04:07:30 kermit kernel: atkbdc0: at port 0x60,0x64 on isa0 Oct 4 04:07:30 kermit kernel: atkbd0: irq 1 on atkbdc0 Oct 4 04:07:30 kermit kernel: kbd0 at atkbd0 Oct 4 04:07:30 kermit kernel: atkbd0: [GIANT-LOCKED] Oct 4 04:07:30 kermit kernel: psm0: irq 12 on atkbdc0 Oct 4 04:07:30 kermit kernel: psm0: [GIANT-LOCKED] Oct 4 04:07:30 kermit kernel: psm0: model Generic PS/2 mouse, device ID 0 Oct 4 04:07:30 kermit kernel: sc0: at flags 0x100 on isa0 Oct 4 04:07:30 kermit kernel: sc0: VGA <16 virtual consoles, flags=0x300> Oct 4 04:07:30 kermit kernel: vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Oct 4 04:07:30 kermit kernel: Timecounters tick every 1.000 msec Oct 4 04:07:30 kermit kernel: ad0: 76293MB at ata0-master UDMA33 Oct 4 04:07:30 kermit kernel: ad4: 953869MB at ata2-master UDMA33 Oct 4 04:07:30 kermit kernel: twed0: on twe0 Oct 4 04:07:30 kermit kernel: twed0: 476948MB (976789504 sectors) Oct 4 04:07:30 kermit kernel: SMP: AP CPU #1 Launched! This is actually a FreeBSD-Stable install... From 08/2006.... I realize it's probably time to do an OS upgrade, but this is the ONLY issue I've run into running this code base. Some of the software I'm running hasn't been tested with 7.X, so I'm not comfortable going there yet. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 18:25:09 2008 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 DD77E1065691 for ; Mon, 6 Oct 2008 18:25:09 +0000 (UTC) (envelope-from jcigar@ulb.ac.be) Received: from lmailproxy03.edpnet.net (lmailproxy03.edpnet.net [212.71.1.196]) by mx1.freebsd.org (Postfix) with ESMTP id 5DA9F8FC1C for ; Mon, 6 Oct 2008 18:25:09 +0000 (UTC) (envelope-from jcigar@ulb.ac.be) Received: from [192.168.0.10] (77.109.107.37.adsl.dyn.edpnet.net [77.109.107.37] (may be forged)) by lmailproxy03.edpnet.net (8.13.1/8.13.1) with ESMTP id m96IP599010152; Mon, 6 Oct 2008 20:25:05 +0200 From: Julien Cigar To: Roland Smith In-Reply-To: <20081006173815.GA46342@slackbox.xs4all.nl> References: <48E9E146.9040308@ispro.net.tr> <20081006173815.GA46342@slackbox.xs4all.nl> Content-Type: text/plain Date: Mon, 06 Oct 2008 20:24:54 +0200 Message-Id: <1223317494.1307.13.camel@rivendell.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.94/8377/Mon Oct 6 03:36:23 2008 on lmailproxy03.edpnet.net X-Virus-Status: Clean X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RDNS_NONE autolearn=disabled version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on lmailproxy03.edpnet.net Cc: questions@freebsd.org, Evren Yurtesen Subject: Re: continuous backup solution for 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, 06 Oct 2008 18:25:10 -0000 Sorry for once more but: you can make incremental backups every x minutes with Bacula too .. it only takes one or two minutes on my box to scan for changed files for ~150GB (even faster if you tweak it a bit). It's not really a "true" continuous backup solution, but it's perfectly possible to restore directories/files for changes which occurred x minutes ago, and with retention periods of x days/months/years. On Mon, 2008-10-06 at 19:38 +0200, Roland Smith wrote: > On Mon, Oct 06, 2008 at 12:58:30PM +0300, Evren Yurtesen wrote: > > Hello, > > > > Is there a known continuous backup solution similar to r1soft backup for > > FreeBSD? I googled a lot but couldnt find anything. > > I don't think so. The closest thing I know of is rsnapshot > (http://www.rsnapshot.org/). > > My solution is to run rsync in a cron job. In my situation this takes > about 5 minutes for approximately 100GB of data. The time it takes will > obviously depend on the rate of change in the data. > > You could also use local snapshots with mksnap_ffs(8), to solve the "oh > shit I deleted my files" situation. > > Roland From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 18:48:57 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D5641065688 for ; Mon, 6 Oct 2008 18:48:57 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) 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 4E1468FC29 for ; Mon, 6 Oct 2008 18:48:56 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA01.emeryville.ca.mail.comcast.net ([76.96.30.11]) by QMTA05.emeryville.ca.mail.comcast.net with comcast id PU391a0060EPchoA5Wowq7; Mon, 06 Oct 2008 18:48:56 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA01.emeryville.ca.mail.comcast.net with comcast id PWor1a0012P6wsM8MWori3; Mon, 06 Oct 2008 18:48:51 +0000 X-Authority-Analysis: v=1.0 c=1 a=Kr3t3Te1lQgA:10 a=GofcrYdnE60A:10 a=QycZ5dHgAAAA:8 a=iKwWIerJzJslmk1gcmcA:9 a=76x2f9mr60Re1R6Qq5UA:7 a=L7QxBRdfo2oF_sPJZh3t7kfRkmgA:4 a=6WXEpRxGyIwA:10 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id E62D6C9419; Mon, 6 Oct 2008 11:48:50 -0700 (PDT) Date: Mon, 6 Oct 2008 11:48:50 -0700 From: Jeremy Chadwick To: Don O'Neil Message-ID: <20081006184850.GD26368@icarus.home.lan> References: <20081006161221.GB70792@gizmo.acns.msu.edu> <4C2FBF89DECE47FC8C5AA51B62FF8710@mickey> <20081006164552.GA25629@icarus.home.lan> <20081006170104.GA25818@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Can't add new 1TB disk in FreeBSD 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 18:48:57 -0000 On Mon, Oct 06, 2008 at 11:08:34AM -0700, Don O'Neil wrote: > The hardware I have is the built in SATA controller on the motherboard, > which is GIGABYTE GA-M61P-S3. With the NVIDIA GeForce 6100 / nForce 430 and > Super I/O chip: ITE IT8716. > > Oct 4 04:07:30 kermit kernel: atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 6.0 on pci0 > Oct 4 04:07:30 kermit kernel: ata0: on atapci0 > Oct 4 04:07:30 kermit kernel: ata1: on atapci0 > Oct 4 04:07:30 kermit kernel: pci0: at device 7.0 (no driver attached) > Oct 4 04:07:30 kermit kernel: atapci1: port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xd000-0xd00f mem 0xf7004000-0xf7004fff irq 20 at device 8.0 on pci0 > Oct 4 04:07:30 kermit kernel: ata2: on atapci1 > Oct 4 04:07:30 kermit kernel: ata3: on atapci1 > Oct 4 04:07:30 kermit kernel: atapci2: port 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xe400-0xe40f mem 0xf7000000-0xf7000fff irq 21 at device 8.1 on pci0 > Oct 4 04:07:30 kermit kernel: ata4: on atapci2 > Oct 4 04:07:30 kermit kernel: ata5: on atapci2 > Oct 4 04:07:30 kermit kernel: ad0: 76293MB at ata0-master UDMA33 > Oct 4 04:07:30 kermit kernel: ad4: 953869MB at ata2-master UDMA33 This motherboard uses the nForce 430, but the SATA portion is actually a subset chip called the MCP61. I've confirmed this by looking at PRs 116880 and 108830. I can see two things from the dmesg: 1) FreeBSD has no idea what this controller is, or any "quirks" surrounding the controller (meaning it's possible that disk or block addressing is being done incorrectly), 2) The disks are seen as classic PATA disks and not SATA. This could be a result of there being no nForce 430 support in 6.1, but it could also be due to a BIOS setting on that motherboard. I'm looking at the User Manual for this motherboard, but I can't find the BIOS option that I'm used to seeing on other nForce-based boards, and Intel ICH-based boards: A feature where you can change the way the OS sees the underlying SATA controller; it's called "Emulated" or "Emulation" mode. The controller is able to interface with SATA disks, but the OS sees the controller as a classic PATA/IDE controller. This is often used for OSes which lack SATA support or native SATA drivers, such as MS-DOS. The only thing in the User Manual I see which sets off red flags is the "Serial-ATA RAID Config" item under the Integrated Peripherals menu. I really hope the "NV SATA Raid Function" is set to Disabled on your box. Looking at CVS commit logs for src/sys/dev/ata/ata-chipset.c, I can see that MCP61 support was officially added to HEAD on on 2007/06/26. I'm having a difficult time determining what HEAD meant at that date. I can't figure out for the life of me if it was referring to RELENG_6 or RELENG_7. Either way, point is, FreeBSD 6.1 flat out does not have support for that chip, even a 6.1 dated August 2006. I can't help but wonder if that's what's causing the odd problem. I also found another LBA48-related issue, dated 2007/10/04, labelled "fix the LBA28/LBA48 crossover bug". I'm still not sure what that is. And I haven't even begun to look at GEOM changes/bugfixes, which might be a more likely place. > This is actually a FreeBSD-Stable install... From 08/2006.... I realize it's > probably time to do an OS upgrade, but this is the ONLY issue I've run into > running this code base. Some of the software I'm running hasn't been tested > with 7.X, so I'm not comfortable going there yet. What this means is that it's a 6.1-RELEASE install which follows the RELENG_6 tag, and has been cvsup'd at least up until August 2006. I understand you're not comfortable upgrading to FreeBSD 7, but it would be worthwhile if you could download FreeBSD 7.1-PRERELEASE (specifically disc 1 or a live CD), and see if that reports the same problem as 6.1. I still can't explain why booting the 6.1 installer and using a fixit image lets you work around the problem. That is just flat out bizarre. You have to understand: there's been a lot of evolution/bugfixes applied between 6.1 and 7.1. There's almost too much for me to try and track down. I'm trying very hard, but it's difficult. -- | 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 Mon Oct 6 18:50:32 2008 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 863881065688 for ; Mon, 6 Oct 2008 18:50:32 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA06.westchester.pa.mail.comcast.net (qmta06.westchester.pa.mail.comcast.net [76.96.62.56]) by mx1.freebsd.org (Postfix) with ESMTP id 013718FC1A for ; Mon, 6 Oct 2008 18:50:31 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA07.westchester.pa.mail.comcast.net ([76.96.62.59]) by QMTA06.westchester.pa.mail.comcast.net with comcast id PTli1a07Q1GhbT856TliLP; Mon, 06 Oct 2008 15:45:42 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA07.westchester.pa.mail.comcast.net with comcast id PTlh1a0062P6wsM3TTlhw0; Mon, 06 Oct 2008 15:45:42 +0000 X-Authority-Analysis: v=1.0 c=1 a=Bi7WTiXYFiAA:10 a=6uhbD-GUg2YA:10 a=QycZ5dHgAAAA:8 a=RfbDBADHkK9yAVenMywA:9 a=9qK0ZvvTxZqYHng7RyIA:7 a=lRmP97UDbBsNdpRG_TMAyqn5sXcA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id CE3AEC9419; Mon, 6 Oct 2008 08:45:40 -0700 (PDT) Date: Mon, 6 Oct 2008 08:45:40 -0700 From: Jeremy Chadwick To: "Michael K. Smith - Adhost" Message-ID: <20081006154540.GA24585@icarus.home.lan> References: <17838240D9A5544AAA5FF95F8D52031604BE2EC8@ad-exh01.adhost.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17838240D9A5544AAA5FF95F8D52031604BE2EC8@ad-exh01.adhost.lan> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: questions@freebsd.org Subject: Re: Problem with Passive FTP through PF X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 18:50:32 -0000 On Mon, Oct 06, 2008 at 08:00:11AM -0700, Michael K. Smith - Adhost wrote: > Hello All: > > We are running the following: > - FreeBSD 6.3 Release #1 > - PF > - pftpx for our ftp proxy > > We have several ftp servers of different flavors behind the PF firewalls and we are getting a lot of the following when users are trying to connect using passive mode. > > "Server sent passive reply with unroutable address" > > We're running pftpx as a daemon with no specific flags. From a ps: > > proxy 4845 0.0 0.0 1452 1100 ?? Is 27Sep08 0:02.13 /usr/local/sbin/pftpx > > Here is a sample of the rules we are using to allow traffic and to proxy. The server macros are defined and working correctly. Any help would be greatly appreciated. > > nat-anchor "pftpx/*" > rdr-anchor "pftpx/*" > rdr on ! $vlan10_if proto { udp tcp } from any to $f1_cps01_ext0 port { 80 443 2087 2083 ftp 49152:65535 } -> $f1_cps01_int0 sticky-address > rdr on ! $vlan10_if proto { udp tcp } from any to $f1_cps01_ext1 port { 80 443 ftp 49152:65535 } -> $f1_cps01_int1 sticky-address I can't help you with regards to the "rdr" rules, as I'm still fairly unfamiliar with redirecting packets around, but with regards to actual firewall rules, these are what we use on our RELENG_6 boxes. (On RELENG_7, you can use the same thing, but remove the "flags S/SA keep state" portion -- it's implicit). # Punch holes for FTP. The rule looks complex, so here it is explained: # - Make sure pass rule only applies to the XXXXX IP (ftp.server.com) # - Permit incoming connections to port 21 (main FTP service) # - Permit incoming connections to ports 49152-65535 (FTP passive mode) # - TCP port 20 is actually for **outbound** connections in FTP active mode, # and since we allow all outbound traffic, we don't need a rule for it. # - TCP ports 49152-65535 come from ftpd(8) and ip(4) manpages; there are # sysctl(8) knobs for theses, but we shouldn't mess with those. # pass in quick on $ext_if proto tcp from any to XXXXX port { ftp, 49152:65535 } flags S/SA keep state Hope this helps, particularly the comments in our pf.conf. -- | 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 Mon Oct 6 18:51:43 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 520381065689 for ; Mon, 6 Oct 2008 18:51:43 +0000 (UTC) (envelope-from craig001@lerwick.hopto.org) Received: from lerwick.hopto.org (81-178-20-70.dsl.pipex.com [81.178.20.70]) by mx1.freebsd.org (Postfix) with SMTP id 6F8AC8FC1D for ; Mon, 6 Oct 2008 18:51:42 +0000 (UTC) (envelope-from craig001@lerwick.hopto.org) Received: (qmail 74409 invoked by uid 98); 6 Oct 2008 19:22:51 +0100 Received: from 192.168.0.2 by polaris.lerwick.hopto.org (envelope-from , uid 82) with qmail-scanner-2.01 (clamdscan: 0.88.4/1789. hbedv: 7.1.1.11/6.35.1.178. f-prot: 4.6.6/3.16.14. spamassassin: 3.1.4. Clear:RC:1(192.168.0.2):. Processed in 0.111562 secs); 06 Oct 2008 18:22:51 -0000 Received: from main.lerwick.hopto.org (HELO ?192.168.0.2?) (192.168.0.2) by lerwick.hopto.org with SMTP; 6 Oct 2008 19:22:50 +0100 From: Craig Butler To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Mon, 06 Oct 2008 19:24:47 +0100 Message-Id: <1223317488.51334.13.camel@main.lerwick.hopto.org> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: has anyone actually received a bsdmag ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 18:51:43 -0000 Hi Guys I have been subscribed to BSD Magazine since the start of September, I was hoping to get the first issue sent to me.... I am still waiting. Looking on their website they have the second issue published.... again I am waiting to receive it. I have tried emailing them but have not had any replies. Has anybody else received their copy ? Cheers Craig B From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 18:53:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9A17106568D for ; Mon, 6 Oct 2008 18:53:28 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from smtp-1.orange.nl (smtp-1.orange.nl [193.252.22.241]) by mx1.freebsd.org (Postfix) with ESMTP id 7720C8FC29 for ; Mon, 6 Oct 2008 18:53:28 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf6007.online.nl (SMTP Server) with ESMTP id 94A90700008D for ; Mon, 6 Oct 2008 20:53:26 +0200 (CEST) Received: from [192.168.2.173] (s5590cf7b.adsl.wanadoo.nl [85.144.207.123]) by mwinf6007.online.nl (SMTP Server) with ESMTP id 5A3CB700008C for ; Mon, 6 Oct 2008 20:53:26 +0200 (CEST) X-ME-UUID: 20081006185326369.5A3CB700008C@mwinf6007.online.nl From: Aniruddha To: freebsd-questions@freebsd.org In-Reply-To: <20081006180058.GC26368@icarus.home.lan> References: <1223275319.4116.7.camel@debian> <20081006130929.386aebb7@baby-jane-lamaiziere-net.local> <48E9F93A.5020806@webzone.net.au> <1223311942.24138.6.camel@debian> <20081006170501.GA26115@icarus.home.lan> <1223313780.24138.8.camel@debian> <20081006180058.GC26368@icarus.home.lan> Content-Type: text/plain Date: Mon, 06 Oct 2008 20:53:30 +0200 Message-Id: <1223319210.4138.8.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Subject: Re: USB mouse problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 18:53:28 -0000 On Mon, 2008-10-06 at 11:00 -0700, Jeremy Chadwick wrote: > On Mon, Oct 06, 2008 at 07:23:00PM +0200, Aniruddha wrote: > > On Mon, 2008-10-06 at 10:05 -0700, Jeremy Chadwick wrote: > > > > I don't think this has something to with a bios setting/jumper. My > > > > other USB ports are working fine ( I also have an USB keyboard plugged > > > > in). > > > > > > > > Furthermore in Linux nor Vista I've encountered this problem. Therefor I > > > > suspect it must have something to do with FreeBSD. Maybe it's an bug? If > > > > someone has an solution that would be great! > > > > > > FreeBSD's existing USB stack is known to be... shall we say, flaky. > > > It's well-established at this point. The possibility of it being > > > related to FreeBSD's USB stack is very likely. > No -- significantly different. CURRENT is "super alpha it's probably > going to break", while 7.1-BETA is simply the upcoming release of 7.1 > which is slated to become -STABLE after a few months. Ah I see. Unfortunately I think I have found the problem. My Razer Lachesis doesn't work with FreeBSD. It doesn't matter which USB port I use. I found this patch though: http://www.freebsd.org/cgi/query-pr.cgi?pr=usb/118670 What does "3-20-2008: Fix merged to RELENG_7" mean? Is this fix available in the FreeBSD 7 (stable) release I'm running? Thanks in advance! -- Regards, Aniruddha From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 19:03:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40144106568D for ; Mon, 6 Oct 2008 19:03:14 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA06.westchester.pa.mail.comcast.net (qmta06.westchester.pa.mail.comcast.net [76.96.62.56]) by mx1.freebsd.org (Postfix) with ESMTP id D218A8FC19 for ; Mon, 6 Oct 2008 19:03:12 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA02.westchester.pa.mail.comcast.net ([76.96.62.19]) by QMTA06.westchester.pa.mail.comcast.net with comcast id PVq31a0020QuhwU56X3CAy; Mon, 06 Oct 2008 19:03:12 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA02.westchester.pa.mail.comcast.net with comcast id PX3A1a00V2P6wsM3NX3BYj; Mon, 06 Oct 2008 19:03:11 +0000 X-Authority-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=v32p6i4tBUBXRL4x-IwA:9 a=p3cMj1ss9vDyj8KMx_IA:7 a=ngN-FRriIwSAeObzmS7Bnj_K2f0A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 6B046C9419; Mon, 6 Oct 2008 12:03:10 -0700 (PDT) Date: Mon, 6 Oct 2008 12:03:10 -0700 From: Jeremy Chadwick To: Aniruddha Message-ID: <20081006190310.GA28336@icarus.home.lan> References: <1223275319.4116.7.camel@debian> <20081006130929.386aebb7@baby-jane-lamaiziere-net.local> <48E9F93A.5020806@webzone.net.au> <1223311942.24138.6.camel@debian> <20081006170501.GA26115@icarus.home.lan> <1223313780.24138.8.camel@debian> <20081006180058.GC26368@icarus.home.lan> <1223319210.4138.8.camel@debian> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1223319210.4138.8.camel@debian> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: USB mouse problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 19:03:14 -0000 On Mon, Oct 06, 2008 at 08:53:30PM +0200, Aniruddha wrote: > On Mon, 2008-10-06 at 11:00 -0700, Jeremy Chadwick wrote: > > On Mon, Oct 06, 2008 at 07:23:00PM +0200, Aniruddha wrote: > > > On Mon, 2008-10-06 at 10:05 -0700, Jeremy Chadwick wrote: > > > > > I don't think this has something to with a bios setting/jumper. My > > > > > other USB ports are working fine ( I also have an USB keyboard plugged > > > > > in). > > > > > > > > > > Furthermore in Linux nor Vista I've encountered this problem. Therefor I > > > > > suspect it must have something to do with FreeBSD. Maybe it's an bug? If > > > > > someone has an solution that would be great! > > > > > > > > FreeBSD's existing USB stack is known to be... shall we say, flaky. > > > > It's well-established at this point. The possibility of it being > > > > related to FreeBSD's USB stack is very likely. > > > No -- significantly different. CURRENT is "super alpha it's probably > > going to break", while 7.1-BETA is simply the upcoming release of 7.1 > > which is slated to become -STABLE after a few months. > > Ah I see. Unfortunately I think I have found the problem. My Razer > Lachesis doesn't work with FreeBSD. It doesn't matter which USB port I > use. I found this patch though: > http://www.freebsd.org/cgi/query-pr.cgi?pr=usb/118670 > > What does "3-20-2008: Fix merged to RELENG_7" mean? Is this fix > available in the FreeBSD 7 (stable) release I'm running? Thanks in > advance! It means the original fix was applied to CURRENT (what is also known as HEAD), and then "backported" to RELENG_7 (what you would call FreeBSD 7.x-STABLE) on 2008/03/20. "MFC" stands for "Merge From CURRENT". You can confirm this by looking at cvsweb for the file in question: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/usb/ums.c The change for HEAD/CURRENT was made in Revision 1.98 (date = Mar 12) The MFC to RELENG_7 was made in Revision 1.96.2.1 (date = Mar 20) If you csup your src tree (use /usr/share/examples/cvsup/stable-supfile) the patched code will be downloaded and used. You'll have to rebuild world to get the changes, of course. See the FreeBSD Handbook for doing a csup as well as for rebuilding world. -- | 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 Mon Oct 6 19:05:19 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDB341065693 for ; Mon, 6 Oct 2008 19:05:19 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id AA5438FC0C for ; Mon, 6 Oct 2008 19:05:19 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id m96J5ThW048766 for ; Mon, 6 Oct 2008 12:05:29 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 6 Oct 2008 12:05:15 -0700 (PDT) Date: Mon, 6 Oct 2008 12:05:15 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20081006190512.GA2010@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 22 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: what are the top few mp3[4] Podcast helpers-apps for firefox-3.03? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 19:05:20 -0000 Guys, Even tho firefox3 doesn't do all that (I think) it should, my main use for the web is listening to audio streams. So: what should I select to be my default mp3/postcast player? thanks, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 19:15:10 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 915361065694 for ; Mon, 6 Oct 2008 19:15:10 +0000 (UTC) (envelope-from gnemmi@gmail.com) Received: from mail-gx0-f21.google.com (mail-gx0-f21.google.com [209.85.217.21]) by mx1.freebsd.org (Postfix) with ESMTP id 4912F8FC15 for ; Mon, 6 Oct 2008 19:15:10 +0000 (UTC) (envelope-from gnemmi@gmail.com) Received: by mail-gx0-f21.google.com with SMTP id 14so5289825gxk.19 for ; Mon, 06 Oct 2008 12:15:10 -0700 (PDT) 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=ZBOz0mrGSmMfolsQIpbq15elal6aiY8JiX3Q9rBh1C0=; b=x+1GF9oDfgW9IQVS65H1yTJy7SK/hS7CXmqxEcP/bKn6tM4Qa915iZqyj5MPczlf+7 TahIz3ImrKVd/WLWkl3uPzKoxUuS6aAoyTiyBcY0ihEq1Tgw3DFlIZmq06Y08y5pjNOO e4utbLBlJJ8HbTn/uDokkgF13lscuSuZbF8e0= 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=ktLvcNduQf/RjRxvdF+oH3kVmAtKSt9b/hqbPYduidk1vMXlEXEodXk/LklBnb4SZk ACQfYMEuGkHJVOjIkrhWzzEK8jwb6Y/xVh31lFGEWoYAZ9CzKFslsWIyaIBhfsx1qm4E aEZ6NbaIOZEMkd6RwfD7KeArezypLGZ/yO3b8= Received: by 10.90.91.9 with SMTP id o9mr6190090agb.35.1223320509998; Mon, 06 Oct 2008 12:15:09 -0700 (PDT) Received: from 190-177-209-228.speedy.com.ar ([190.177.209.228]) by mx.google.com with ESMTPS id 18sm8924594agb.12.2008.10.06.12.15.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 06 Oct 2008 12:15:08 -0700 (PDT) From: Gonzalo Nemmi To: freebsd-questions@freebsd.org Date: Mon, 6 Oct 2008 16:14:49 -0200 User-Agent: KMail/1.9.10 References: <1223317488.51334.13.camel@main.lerwick.hopto.org> In-Reply-To: <1223317488.51334.13.camel@main.lerwick.hopto.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810061614.49837.gnemmi@gmail.com> Subject: Re: has anyone actually received a bsdmag ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 19:15:10 -0000 On Monday 06 October 2008 4:24:47 pm Craig Butler wrote: > Hi Guys > > I have been subscribed to BSD Magazine since the start of September, I > was hoping to get the first issue sent to me.... I am still waiting. > > Looking on their website they have the second issue published.... again > I am waiting to receive it. > > I have tried emailing them but have not had any replies. > > Has anybody else received their copy ? > > Cheers > > Craig B > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Good to know that ... I bought the first issue on .pdf format back when it was release and I was seconds away from subscribing for a full year (printed version) until I read your mail ... So .. I guess I'll put my subscription on hold until I know for sure that they do send the mag to your door and that they do it on time ... Please, let me know how things end up for you. Regards -- Blessings Gonzalo Nemmi From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 19:26:43 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FC761065694 for ; Mon, 6 Oct 2008 19:26:43 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 1CD3B8FC0A for ; Mon, 6 Oct 2008 19:26:42 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id m96JQnnS048899 for ; Mon, 6 Oct 2008 12:26:49 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 6 Oct 2008 12:26:35 -0700 (PDT) Date: Mon, 6 Oct 2008 12:26:35 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20081006192632.GA2296@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 22 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: widescreen: np, :-) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 19:26:43 -0000 [np (in the Subject:line) does not refer to a category of algorithm. it means: "No Problem"] Some time back I was determined to get rid of that battle-ship anchor 19" CRT and upgrade to at least a 20" LCD, preferably widescreen. An older, even nerdier friend *was* not only to heft it to my office floor, but carry it out to the garage and install my new 20.1" LCD and it worked for my Ubuntu system. --I only needed to do an # X -configure then test it and move xorg.conf.new to /etc/X11. I just have KDE4 up (hopefully) and am about to find out what is broken. O/wise, the new display works here on my home FBSD computer. IOW, those who said it should/world work were right. Thanks to all of you who encouraged the switch. :-) , :-D , [!!!] -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 19:37:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F1701065698; Mon, 6 Oct 2008 19:37:01 +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 C5A918FC3F; Mon, 6 Oct 2008 19:37:00 +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 m96JZ6ge071600; Mon, 6 Oct 2008 15:35:06 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id m96JZ6Kg071599; Mon, 6 Oct 2008 15:35:06 -0400 (EDT) (envelope-from jerrymc) Date: Mon, 6 Oct 2008 15:35:06 -0400 From: Jerry McAllister To: "Don O'Neil" Message-ID: <20081006193506.GA71557@gizmo.acns.msu.edu> References: <20081006161221.GB70792@gizmo.acns.msu.edu> <4C2FBF89DECE47FC8C5AA51B62FF8710@mickey> <20081006164552.GA25629@icarus.home.lan> <20081006170104.GA25818@icarus.home.lan> 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: 'Jeremy Chadwick' , freebsd-questions@freebsd.org Subject: Re: Can't add new 1TB disk in FreeBSD 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 19:37:01 -0000 On Mon, Oct 06, 2008 at 11:08:34AM -0700, Don O'Neil wrote: > > On Mon, Oct 06, 2008 at 09:45:52AM -0700, Jeremy Chadwick wrote: > > > There is one thing about later FreeBSDs which I am aware of: 48-bit > > > LBA addressing. I'm left wondering if what you're running > > into is a > > > bug or a problem with older FreeBSD (6.1) not supporting this. I > > > would have to go back through CVS commit lots for ata(4) to > > find out > > > when 48-bit LBA was added. I think 48-bit LBA support is > > required for disks >500GB. > > > > The issue I'm referring to has been touched on many times. > > > > First and foremost, 6.1-RELEASE was released in May 2006. > > Keep that date in mind when reading the below. > > > > The first incident, according to CVS commit logs, was adding > > 48-bit LBA support, supporting disks >137GB. That would've > > been in RELENG_4, dated 2002/01/05. FreeBSD 6.1 should have this. > > > > Next, we have a commit dated 2003/01/19, affecting 48-bit LBA > > support on Promise 66/100 controllers. FreeBSD 6.1 should have this. > > > > Next, 2004/12/09, talking about disk firmware bugs affecting > > 48-bit LBA addressing, which was affecting a significant > > number of users. That was applied to HEAD and RELENG_5, so > > FreeBSD 6.1 ("HEAD" at that time) should have this. > > > > Next, 2005/04/14, something about "read back the real > > taskfile register values when in 48-bit mode". Committed to > > HEAD, which would've been during days shortly before RELENG_6 > > was tagged (6.0). > > > > Next, 2005/08/17, "support for working around controllers > > that can't do DMA in 48-bit LBA mode", forcing the disk to > > use PIO mode allowing the disk to address >137GB. This was > > added to HEAD and RELENG_6, so this should also exist in 6.1. > > > > Next, 2007/12/13, "also fix 48-bit LBA addressing issues, > > apparently newe chips need 16-bit writes and not the usual > > FIFO thing". This was committed to HEAD first, RELENG_7 on > > 2008/01/09, and RELENG_6 on 2008/01/09. > > > > This is one which FreeBSD 6.1 *would not* have fixes for. > > > > I do not know if this is the problem -- I'm just speculating. > > > > Because dmesg output was not provided ("nothing > > interesting"), we can't tell what sort of controller your > > disks are hooked to, yadda yadda. > > This is explicitly why I asked for that information. > > > > If you could please try 7.0-STABLE or 7.1-PRERELEASE, that > > would be highly recommended. It would at least allow us to > > determine if you're being affected by a bug in older FreeBSD, > > or if this is something that is unique to your environment or > > applies to present-day FreeBSD. > > The hardware I have is the built in SATA controller on the motherboard, > which is GIGABYTE GA-M61P-S3. With the NVIDIA GeForce 6100 / nForce 430 and > Super I/O chip: ITE IT8716. > > Dmesg had no output pertaining to the partition/format/dd, etc... Just > messages from my ftp daemon. If you're wanting to see the boot messages, > this is from the last time I rebooted when I installed the disk: Dmesg never has anything pertaining to the slicing/partitioning/newfsing a disk. But, it should have information about the physical drive and the controller and such. Do you see the drive even show up in dmesg? Also, what does the controller look like in dmesg? Namely, your drives seem to be: > Oct 4 04:07:30 kermit kernel: ad0: 76293MB at > ata0-master UDMA33 > Oct 4 04:07:30 kermit kernel: ad4: 953869MB at > ata2-master UDMA33 etc. ////jerry > > Oct 4 04:07:30 kermit kernel: Copyright (c) 1992-2006 The FreeBSD Project. > Oct 4 04:07:30 kermit kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, > 1989, 1991, 1992, 1993, 1994 > Oct 4 04:07:30 kermit kernel: The Regents of the University of California. > All rights reserved. > Oct 4 04:07:30 kermit kernel: FreeBSD 6.1-STABLE-200608 #0: Mon Mar 19 > 22:52:31 PDT 2007 > Oct 4 04:07:30 kermit kernel: > root@kermit.lizardhill.com:/usr/src/sys/i386/compile/KERMIT > Oct 4 04:07:30 kermit kernel: ACPI APIC Table: > Oct 4 04:07:30 kermit kernel: Timecounter "i8254" frequency 1193182 Hz > quality 0 > Oct 4 04:07:30 kermit kernel: CPU: AMD Athlon(tm) 64 X2 Dual Core Processor > 5200+ (2611.90-MHz 686-class CPU) > Oct 4 04:07:30 kermit kernel: Origin = "AuthenticAMD" Id = 0x40f32 > Stepping = 2 > Oct 4 04:07:30 kermit kernel: > Features=0x178bfbff ,CMOV,PAT,PSE36,CLFLUSH,MMX,F > XSR,SSE,SSE2,HTT> > Oct 4 04:07:30 kermit kernel: Features2=0x2001 > Oct 4 04:07:30 kermit kernel: AMD > Features=0xea500800 > Oct 4 04:07:30 kermit kernel: AMD Features2=0x1f,,CR8> > Oct 4 04:07:30 kermit kernel: Cores per package: 2 > Oct 4 04:07:30 kermit kernel: real memory = 3724476416 (3551 MB) > Oct 4 04:07:30 kermit kernel: avail memory = 3647496192 (3478 MB) > Oct 4 04:07:30 kermit kernel: FreeBSD/SMP: Multiprocessor System Detected: > 2 CPUs > Oct 4 04:07:30 kermit kernel: cpu0 (BSP): APIC ID: 0 > Oct 4 04:07:30 kermit kernel: cpu1 (AP): APIC ID: 1 > Oct 4 04:07:30 kermit kernel: ioapic0: Changing APIC ID to 2 > Oct 4 04:07:30 kermit kernel: ioapic0 irqs 0-23 on > motherboard > Oct 4 04:07:30 kermit kernel: kbd1 at kbdmux0 > Oct 4 04:07:30 kermit kernel: acpi0: on motherboard > Oct 4 04:07:30 kermit kernel: acpi_bus_number: can't get _ADR > Oct 4 04:07:30 kermit kernel: acpi_bus_number: can't get _ADR > Oct 4 04:07:30 kermit kernel: acpi0: Power Button (fixed) > Oct 4 04:07:30 kermit kernel: acpi_bus_number: can't get _ADR > Oct 4 04:07:30 kermit kernel: acpi_bus_number: can't get _ADR > Oct 4 04:07:30 kermit kernel: Timecounter "ACPI-fast" frequency 3579545 Hz > quality 1000 > Oct 4 04:07:30 kermit kernel: acpi_timer0: <24-bit timer at 3.579545MHz> > port 0x1008-0x100b on acpi0 > Oct 4 04:07:30 kermit kernel: cpu0: on acpi0 > Oct 4 04:07:30 kermit kernel: cpu1: on acpi0 > Oct 4 04:07:30 kermit kernel: acpi_button0: on acpi0 > Oct 4 04:07:30 kermit kernel: CPU: AMD Athlon(tm) 64 X2 Dual Core Processor > 5200+ (2611.90-MHz 686-class CPU) > Oct 4 04:07:30 kermit kernel: Origin = "AuthenticAMD" Id = 0x40f32 > Stepping = 2 > Oct 4 04:07:30 kermit kernel: > Features=0x178bfbff ,CMOV,PAT,PSE36,CLFLUSH,MMX,F > XSR,SSE,SSE2,HTT> > Oct 4 04:07:30 kermit kernel: Features2=0x2001 > Oct 4 04:07:30 kermit kernel: AMD > Features=0xea500800 > Oct 4 04:07:30 kermit kernel: AMD Features2=0x1f,,CR8> > Oct 4 04:07:30 kermit kernel: Cores per package: 2 > Oct 4 04:07:30 kermit kernel: real memory = 3724476416 (3551 MB) > Oct 4 04:07:30 kermit kernel: avail memory = 3647496192 (3478 MB) > Oct 4 04:07:30 kermit kernel: FreeBSD/SMP: Multiprocessor System Detected: > 2 CPUs > Oct 4 04:07:30 kermit kernel: cpu0 (BSP): APIC ID: 0 > Oct 4 04:07:30 kermit kernel: cpu1 (AP): APIC ID: 1 > Oct 4 04:07:30 kermit kernel: ioapic0: Changing APIC ID to 2 > Oct 4 04:07:30 kermit kernel: ioapic0 irqs 0-23 on > motherboard > Oct 4 04:07:30 kermit kernel: kbd1 at kbdmux0 > Oct 4 04:07:30 kermit kernel: acpi0: on motherboard > Oct 4 04:07:30 kermit kernel: acpi_bus_number: can't get _ADR > Oct 4 04:07:30 kermit kernel: acpi_bus_number: can't get _ADR > Oct 4 04:07:30 kermit kernel: acpi0: Power Button (fixed) > Oct 4 04:07:30 kermit kernel: acpi_bus_number: can't get _ADR > Oct 4 04:07:30 kermit kernel: acpi_bus_number: can't get _ADR > Oct 4 04:07:30 kermit kernel: Timecounter "ACPI-fast" frequency 3579545 Hz > quality 1000 > Oct 4 04:07:30 kermit kernel: acpi_timer0: <24-bit timer at 3.579545MHz> > port 0x1008-0x100b on acpi0 > Oct 4 04:07:30 kermit kernel: cpu0: on acpi0 > Oct 4 04:07:30 kermit kernel: cpu1: on acpi0 > Oct 4 04:07:30 kermit kernel: acpi_button0: on acpi0 > Oct 4 04:07:30 kermit kernel: pcib0: port > 0xcf8-0xcff on acpi0 > Oct 4 04:07:30 kermit kernel: pci0: on pcib0 > Oct 4 04:07:30 kermit kernel: pci0: at device 0.0 (no driver > attached) > Oct 4 04:07:30 kermit kernel: isab0: at device 1.0 on pci0 > Oct 4 04:07:30 kermit kernel: isa0: on isab0 > Oct 4 04:07:30 kermit kernel: pci0: at device 1.1 (no > driver attached) > Oct 4 04:07:30 kermit kernel: pci0: at device 1.2 (no driver > attached) > Oct 4 04:07:30 kermit kernel: pci0: at device 2.0 (no > driver attached) > Oct 4 04:07:30 kermit kernel: pci0: at device 2.1 (no > driver attached) > Oct 4 04:07:30 kermit kernel: pcib1: at device 4.0 on > pci0 > Oct 4 04:07:30 kermit kernel: pci1: on pcib1 > Oct 4 04:07:30 kermit kernel: fxp0: port > 0xa000-0xa03f mem 0xf4901000-0xf4901fff,0xf4800000-0xf48fffff i > rq 16 at device 6.0 on pci1 > Oct 4 04:07:30 kermit kernel: miibus0: on fxp0 > Oct 4 04:07:30 kermit kernel: inphy0: on > miibus0 > Oct 4 04:07:30 kermit kernel: inphy0: 10baseT, 10baseT-FDX, 100baseTX, > 100baseTX-FDX, auto > Oct 4 04:07:30 kermit kernel: fxp0: Ethernet address: 00:d0:b7:93:1d:9d > Oct 4 04:07:30 kermit kernel: twe0: <3ware Storage Controller. Driver > version 1.50.01.002> port 0xa400-0xa40f mem 0xf4000000-0xf47fffff > irq 17 at device 7.0 on pci1 > Oct 4 04:07:30 kermit kernel: twe0: [GIANT-LOCKED] > Oct 4 04:07:30 kermit kernel: twe0: 4 ports, Firmware FE7X 1.05.00.065, > BIOS BE7X 1.08.00.048 > Oct 4 04:07:30 kermit kernel: atapci0: port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 6.0 on > pci0 > Oct 4 04:07:30 kermit kernel: ata0: on atapci0 > Oct 4 04:07:30 kermit kernel: ata1: on atapci0 > Oct 4 04:07:30 kermit kernel: pci0: at device 7.0 (no driver > attached) > Oct 4 04:07:30 kermit kernel: atapci1: port > 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xd000-0xd00f mem > 0xf7004000-0xf7004fff irq 20 at device 8.0 on pci0 > Oct 4 04:07:30 kermit kernel: ata2: on atapci1 > Oct 4 04:07:30 kermit kernel: ata3: on atapci1 > Oct 4 04:07:30 kermit kernel: atapci2: port > 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xe400-0xe40f mem > 0xf7000000-0xf7000fff irq 21 at device 8.1 on pci0 > Oct 4 04:07:30 kermit kernel: ata4: on atapci2 > Oct 4 04:07:30 kermit kernel: ata5: on atapci2 > Oct 4 04:07:30 kermit kernel: pci0: at device 13.0 (no > driver attached) > Oct 4 04:07:30 kermit kernel: fdc0: port > 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 > Oct 4 04:07:30 kermit kernel: fdc0: [FAST] > Oct 4 04:07:30 kermit kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > Oct 4 04:07:30 kermit kernel: sio0: <16550A-compatible COM port> port > 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 > Oct 4 04:07:30 kermit kernel: sio0: type 16550A > Oct 4 04:07:30 kermit kernel: sio1: <16550A-compatible COM port> port > 0x2f8-0x2ff irq 3 on acpi0 > Oct 4 04:07:30 kermit kernel: sio1: type 16550A > Oct 4 04:07:30 kermit kernel: pmtimer0 on isa0 > Oct 4 04:07:30 kermit kernel: orm0: at iomem > 0xd0000-0xd3fff,0xd4000-0xd57ff,0xd6000-0xd6fff on isa0 > Oct 4 04:07:30 kermit kernel: atkbdc0: at > port 0x60,0x64 on isa0 > Oct 4 04:07:30 kermit kernel: atkbd0: irq 1 on atkbdc0 > Oct 4 04:07:30 kermit kernel: kbd0 at atkbd0 > Oct 4 04:07:30 kermit kernel: atkbd0: [GIANT-LOCKED] > Oct 4 04:07:30 kermit kernel: psm0: irq 12 on atkbdc0 > Oct 4 04:07:30 kermit kernel: psm0: [GIANT-LOCKED] > Oct 4 04:07:30 kermit kernel: psm0: model Generic PS/2 mouse, device ID 0 > Oct 4 04:07:30 kermit kernel: sc0: at flags 0x100 on isa0 > Oct 4 04:07:30 kermit kernel: sc0: VGA <16 virtual consoles, flags=0x300> > Oct 4 04:07:30 kermit kernel: vga0: at port 0x3c0-0x3df > iomem 0xa0000-0xbffff on isa0 > Oct 4 04:07:30 kermit kernel: Timecounters tick every 1.000 msec > Oct 4 04:07:30 kermit kernel: ad0: 76293MB at > ata0-master UDMA33 > Oct 4 04:07:30 kermit kernel: ad4: 953869MB at > ata2-master UDMA33 > Oct 4 04:07:30 kermit kernel: twed0: on twe0 > Oct 4 04:07:30 kermit kernel: twed0: 476948MB (976789504 sectors) > Oct 4 04:07:30 kermit kernel: SMP: AP CPU #1 Launched! > > This is actually a FreeBSD-Stable install... From 08/2006.... I realize it's > probably time to do an OS upgrade, but this is the ONLY issue I've run into > running this code base. Some of the software I'm running hasn't been tested > with 7.X, so I'm not comfortable going there yet. > > _______________________________________________ > 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 Oct 6 19:40:32 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A34FC1065687 for ; Mon, 6 Oct 2008 19:40:32 +0000 (UTC) (envelope-from "cyb."@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id E08B18FC16 for ; Mon, 6 Oct 2008 19:40:31 +0000 (UTC) (envelope-from "cyb."@gmx.net) Received: (qmail invoked by alias); 06 Oct 2008 19:40:29 -0000 Received: from pD952DDC1.dip0.t-ipconnect.de (EHLO core2duo.local) [217.82.221.193] by mail.gmx.net (mp023) with SMTP; 06 Oct 2008 21:40:29 +0200 X-Authenticated: #4870692 X-Provags-ID: V01U2FsdGVkX1/UN/QMMOvUc8ybKpu+lDHm7VdVYyNE2m8zsPTTNG E1KQDP0fMTBOyo Date: Mon, 6 Oct 2008 21:40:23 +0200 From: Andreas Rudisch To: Gary Kline Message-Id: <20081006214023.a31273d2.cyb.@gmx.net> In-Reply-To: <20081006190512.GA2010@thought.org> References: <20081006190512.GA2010@thought.org> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.11; i386-portbld-freebsd6.3) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Mon__6_Oct_2008_21_40_23_+0200_V7DBXBO87xZYEahJ" X-Y-GMX-Trusted: 0 X-FuHaFi: 0.77 Cc: FreeBSD Mailing List Subject: Re: what are the top few mp3[4] Podcast helpers-apps for firefox-3.03? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 19:40:32 -0000 --Signature=_Mon__6_Oct_2008_21_40_23_+0200_V7DBXBO87xZYEahJ Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, 6 Oct 2008 12:05:15 -0700 Gary Kline wrote: > what should I select to be my default mp3/postcast player? mplayer? Andreas -- GnuPG key : 0x2A573565 | http://www.gnupg.org/howtos/de/ Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 --Signature=_Mon__6_Oct_2008_21_40_23_+0200_V7DBXBO87xZYEahJ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjqaaoACgkQ8P3NNypXNWUJiwCgsCkLzVKXagujIKa+ErbFJ7GB rOIAni2ZqIwMpdmuCNSijliV3CbdXpq7 =I5Nr -----END PGP SIGNATURE----- --Signature=_Mon__6_Oct_2008_21_40_23_+0200_V7DBXBO87xZYEahJ-- From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 19:58:17 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0088D1065691 for ; Mon, 6 Oct 2008 19:58:17 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from smtp-3.orange.nl (smtp-3.orange.nl [193.252.22.243]) by mx1.freebsd.org (Postfix) with ESMTP id B399D8FC1D for ; Mon, 6 Oct 2008 19:58:16 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf6212.online.nl (SMTP Server) with ESMTP id 85B531C00087 for ; Mon, 6 Oct 2008 21:58:15 +0200 (CEST) Received: from [192.168.2.173] (s5590cf7b.adsl.wanadoo.nl [85.144.207.123]) by mwinf6212.online.nl (SMTP Server) with ESMTP id 5005A1C00081 for ; Mon, 6 Oct 2008 21:58:15 +0200 (CEST) X-ME-UUID: 20081006195815327.5005A1C00081@mwinf6212.online.nl From: Aniruddha To: freebsd-questions@freebsd.org In-Reply-To: <20081006190310.GA28336@icarus.home.lan> References: <1223275319.4116.7.camel@debian> <20081006130929.386aebb7@baby-jane-lamaiziere-net.local> <48E9F93A.5020806@webzone.net.au> <1223311942.24138.6.camel@debian> <20081006170501.GA26115@icarus.home.lan> <1223313780.24138.8.camel@debian> <20081006180058.GC26368@icarus.home.lan> <1223319210.4138.8.camel@debian> <20081006190310.GA28336@icarus.home.lan> Content-Type: text/plain Date: Mon, 06 Oct 2008 21:58:19 +0200 Message-Id: <1223323099.4093.2.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Subject: Re: USB mouse problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 19:58:17 -0000 On Mon, 2008-10-06 at 12:03 -0700, Jeremy Chadwick wrote: > It means the original fix was applied to CURRENT (what is also known as > HEAD), and then "backported" to RELENG_7 (what you would call FreeBSD > 7.x-STABLE) on 2008/03/20. "MFC" stands for "Merge From CURRENT". > > You can confirm this by looking at cvsweb for the file in question: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/usb/ums.c > > The change for HEAD/CURRENT was made in Revision 1.98 (date = Mar 12) > The MFC to RELENG_7 was made in Revision 1.96.2.1 (date = Mar 20) > > If you csup your src tree (use /usr/share/examples/cvsup/stable-supfile) > the patched code will be downloaded and used. You'll have to rebuild > world to get the changes, of course. See the FreeBSD Handbook for doing > a csup as well as for rebuilding world. > Thanks for your help and patience. If I'm not mistaken I can also install 7.1 Beta. It would be logical to assume it contains the fix right? -- Regards, Aniruddha From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 19:59:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19C7C1065688 for ; Mon, 6 Oct 2008 19:59:05 +0000 (UTC) (envelope-from kelly.terry.jones@gmail.com) Received: from mail-gx0-f21.google.com (mail-gx0-f21.google.com [209.85.217.21]) by mx1.freebsd.org (Postfix) with ESMTP id B10888FC21 for ; Mon, 6 Oct 2008 19:59:04 +0000 (UTC) (envelope-from kelly.terry.jones@gmail.com) Received: by gxk14 with SMTP id 14so5361944gxk.19 for ; Mon, 06 Oct 2008 12:59:03 -0700 (PDT) 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=rlpVNQo3GK5kbc8Iuznd5RnW4TxGNqgyOnKTMqJF9Mk=; b=ZoTqXfrgYAQT88+D4fdMIjUCwS4A8sPK3xcvbE1oZvjAyOrmMP6NJ4iVEmQO0uw/G2 Moi9g6naaG7+kCThPG9s+gpX9uSsBclKd2ukb2nVv+ZqpZmfxqsOwtFO/CuIcacEjAW9 9QVUiQp8KlJ1GHl+BUrcbGMf3mXPU1Gnmzdxg= 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=UzTVGD25IVxLliQQ83+N4WxesPRGNJkd+IVAa1SCiFXhhCrj0iummkjZkh0a+MtfZk 9eQ/Br+1Q7uh3VnJOwyvk6EVU0xaq5zQc2VOKNeEs2IK3PblzyfnBadlqg0UeXsTtr3S BifTvqLGVqZrI+/G642rtfl4YgxEgvVufMMwA= Received: by 10.65.241.15 with SMTP id t15mr9106361qbr.75.1223321305837; Mon, 06 Oct 2008 12:28:25 -0700 (PDT) Received: by 10.65.103.7 with HTTP; Mon, 6 Oct 2008 12:28:25 -0700 (PDT) Message-ID: <26face530810061228g660203ebxe3e287f4e47c3b06@mail.gmail.com> Date: Mon, 6 Oct 2008 12:28:25 -0700 From: "Kelly Jones" 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: Installing multiple ports quietly and efficiently X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 19:59:05 -0000 Here's one way to install multiple FreeBSD ports "unattended" on a machine: cd /usr/port/foo/prog1; make install; cd/usr/ports/foo/prog2; make install and so on (perhaps even in a shell script). Two problems: % It's ugly. I'd prefer "cd /usr/ports; make foo/prog1 foo/prog2 ..." % "make install" often pops up windows asking me to choose configuration options, and hangs until I do so. I want to install 50 apps on a new server, but not have to watch it constantly. I want to tell ports: "just use the default options for now: if I'm unhappy w/ them, I'll come back, do a 'make rmconfig' and rebuild". How can I do this? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 20:04:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CECEB1065695; Mon, 6 Oct 2008 20:04:52 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from kermit.lizardhill.com (kermit2.lizardhill.com [64.69.41.218]) by mx1.freebsd.org (Postfix) with ESMTP id B49A38FC0A; Mon, 6 Oct 2008 20:04:52 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from ip72-193-84-190.lv.lv.cox.net ([72.193.84.190] helo=mickey) by kermit.lizardhill.com with esmtpa (Exim 4.62) (envelope-from ) id 1KmwKM-000J5I-4l; Mon, 06 Oct 2008 13:05:10 -0700 From: "Don O'Neil" To: "'Jeremy Chadwick'" References: <20081006161221.GB70792@gizmo.acns.msu.edu> <4C2FBF89DECE47FC8C5AA51B62FF8710@mickey> <20081006164552.GA25629@icarus.home.lan> <20081006170104.GA25818@icarus.home.lan> <20081006184850.GD26368@icarus.home.lan> Date: Mon, 6 Oct 2008 13:04:50 -0700 Message-ID: <2DDA4B1851DE480EB11836530F1031EF@mickey> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 In-Reply-To: <20081006184850.GD26368@icarus.home.lan> Thread-Index: Ackn5DmmznKbRc3DSz+CjZAUkCadSAACiFOw Cc: freebsd-questions@freebsd.org Subject: RE: Can't add new 1TB disk in FreeBSD 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 20:04:52 -0000 > > The hardware I have is the built in SATA controller on the > > motherboard, which is GIGABYTE GA-M61P-S3. With the NVIDIA GeForce > > 6100 / nForce 430 and Super I/O chip: ITE IT8716. > > > > Oct 4 04:07:30 kermit kernel: atapci0: controller> port > > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 6.0 on > > pci0 Oct 4 04:07:30 kermit kernel: ata0: > on atapci0 > > Oct 4 04:07:30 kermit kernel: ata1: on > atapci0 Oct 4 > > 04:07:30 kermit kernel: pci0: at device 7.0 (no driver > > attached) Oct 4 04:07:30 kermit kernel: atapci1: > controller> port > > 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xd000-0xd00f mem > > 0xf7004000-0xf7004fff irq 20 at device 8.0 on pci0 Oct 4 04:07:30 > > kermit kernel: ata2: on atapci1 Oct 4 > 04:07:30 kermit > > kernel: ata3: on atapci1 Oct 4 04:07:30 kermit > > kernel: atapci2: port > > 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xe400-0xe40f mem > > 0xf7000000-0xf7000fff irq 21 at device 8.1 on pci0 Oct 4 04:07:30 > > kermit kernel: ata4: on atapci2 Oct 4 > 04:07:30 kermit > > kernel: ata5: on atapci2 Oct 4 04:07:30 kermit > > kernel: ad0: 76293MB at > ata0-master UDMA33 > > Oct 4 04:07:30 kermit kernel: ad4: 953869MB > SD15> at ata2-master UDMA33 > > This motherboard uses the nForce 430, but the SATA portion is > actually a subset chip called the MCP61. I've confirmed this > by looking at PRs 116880 and 108830. > > I can see two things from the dmesg: > > 1) FreeBSD has no idea what this controller is, or any "quirks" > surrounding the controller (meaning it's possible that disk > or block addressing is being done incorrectly), > > 2) The disks are seen as classic PATA disks and not SATA. > This could be a result of there being no nForce 430 support > in 6.1, but it could also be due to a BIOS setting on that > motherboard. > > I'm looking at the User Manual for this motherboard, but I > can't find the BIOS option that I'm used to seeing on other > nForce-based boards, and Intel ICH-based boards: > > A feature where you can change the way the OS sees the > underlying SATA controller; it's called "Emulated" or > "Emulation" mode. The controller is able to interface with > SATA disks, but the OS sees the controller as a classic > PATA/IDE controller. This is often used for OSes which lack > SATA support or native SATA drivers, such as MS-DOS. > > The only thing in the User Manual I see which sets off red > flags is the "Serial-ATA RAID Config" item under the > Integrated Peripherals menu. I really hope the "NV SATA Raid > Function" is set to Disabled on your box. > > Looking at CVS commit logs for src/sys/dev/ata/ata-chipset.c, > I can see that MCP61 support was officially added to HEAD on > on 2007/06/26. I'm having a difficult time determining what > HEAD meant at that date. I can't figure out for the life of > me if it was referring to RELENG_6 or RELENG_7. > > Either way, point is, FreeBSD 6.1 flat out does not have > support for that chip, even a 6.1 dated August 2006. I can't > help but wonder if that's what's causing the odd problem. > > I also found another LBA48-related issue, dated 2007/10/04, > labelled "fix the LBA28/LBA48 crossover bug". I'm still not > sure what that is. > > And I haven't even begun to look at GEOM changes/bugfixes, > which might be a more likely place. > > > This is actually a FreeBSD-Stable install... From 08/2006.... I > > realize it's probably time to do an OS upgrade, but this is > the ONLY > > issue I've run into running this code base. Some of the > software I'm > > running hasn't been tested with 7.X, so I'm not comfortable > going there yet. > > What this means is that it's a 6.1-RELEASE install which follows the > RELENG_6 tag, and has been cvsup'd at least up until August 2006. > > I understand you're not comfortable upgrading to FreeBSD 7, > but it would be worthwhile if you could download FreeBSD > 7.1-PRERELEASE (specifically disc 1 or a live CD), and see if > that reports the same problem as 6.1. > > I still can't explain why booting the 6.1 installer and using > a fixit image lets you work around the problem. That is just > flat out bizarre. > > You have to understand: there's been a lot of > evolution/bugfixes applied between 6.1 and 7.1. There's > almost too much for me to try and track down. I'm trying > very hard, but it's difficult. Thanks for all the clarifications, I didn't realize there have been that many changes since 6.1. I suppose its time to upgrade. What I need to do is build an identical server to that one and test it all out locally. Since the drive is currently 500 miles away it will take me some time, but I'll see what I can do. I'll also check my BIOS settings to make sure the RAID is disabled. I'm almost positive it is, but who knows. Jerry pointed out that the boot process is seeing it as a regular ATA device, so it may be running in some sort of compatibility mode like you suspect and it may be the entire reason it's failing. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 20:09:46 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 645B51065686 for ; Mon, 6 Oct 2008 20:09:46 +0000 (UTC) (envelope-from lists-fbsd@shadypond.com) Received: from mailout.easydns.com (mailout.easydns.com [205.210.42.66]) by mx1.freebsd.org (Postfix) with ESMTP id 3FD078FC0C for ; Mon, 6 Oct 2008 20:09:46 +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 mailout.easydns.com (Postfix) with ESMTP id E7C114844E for ; Mon, 6 Oct 2008 15:36:16 -0400 (EDT) Received: from slider.localnet (slider.shadypond.com [192.168.1.11]) by lilypad.shadypond.com (Postfix) with ESMTPSA id 3EC8B13184 for ; Mon, 6 Oct 2008 19:37:39 +0000 (UTC) From: Pollywog To: freebsd-questions@freebsd.org Date: Mon, 6 Oct 2008 19:37:27 +0000 References: <20081005194232.GA72859@thought.org> In-Reply-To: <20081005194232.GA72859@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810061937.27985.lists-fbsd@shadypond.com> Subject: Re: kde4 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, 06 Oct 2008 20:09:46 -0000 On Sunday 05 October 2008 19:42:36 Gary Kline wrote: > Over the past four days I've managed to get my FreeBSD server running KDE > up by installing kde4. Now, for some reason, konqueror fails to conntect > anywhere. > > How can I free up my old kde3 files and get konqueror working again? Have you tried running Konqueror from konsole in order to see the errors? You might also check the proxy settings and make sure your other browsers are working properly (Firefox for example). From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 20:26:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F4981065691 for ; Mon, 6 Oct 2008 20:26:49 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 05C3E8FC18 for ; Mon, 6 Oct 2008 20:26:48 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from vhoffman-macbook.local ([10.0.0.173]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id m96KRO56044001 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 6 Oct 2008 21:27:25 +0100 (BST) (envelope-from vince@unsane.co.uk) Message-ID: <48EA7487.2050901@unsane.co.uk> Date: Mon, 06 Oct 2008 21:26:47 +0100 From: Vincent Hoffman User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Kelly Jones References: <26face530810061228g660203ebxe3e287f4e47c3b06@mail.gmail.com> In-Reply-To: <26face530810061228g660203ebxe3e287f4e47c3b06@mail.gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Installing multiple ports quietly and efficiently X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 20:26:49 -0000 Kelly Jones wrote: > Here's one way to install multiple FreeBSD ports "unattended" on a > machine: > > cd /usr/port/foo/prog1; make install; cd/usr/ports/foo/prog2; make install > > and so on (perhaps even in a shell script). Two problems: > > % It's ugly. I'd prefer "cd /usr/ports; make foo/prog1 foo/prog2 ..." > I'd suggest using portupgrade then just portinstall prog1 prog2 prog3 > % "make install" often pops up windows asking me to choose > configuration options, and hangs until I do so. > > > I want to install 50 apps on a new server, but not have to watch it > constantly. I want to tell ports: "just use the default options for > now: if I'm unhappy w/ them, I'll come back, do a 'make rmconfig' and > rebuild". > > How can I do this? > > add BATCH=yes to /etc/make.conf Vince From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 20:41:31 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5558106568B for ; Mon, 6 Oct 2008 20:41:31 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 9882E8FC12 for ; Mon, 6 Oct 2008 20:41:29 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m96KfMh4013798 for ; Mon, 6 Oct 2008 22:41:22 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m96KL1KD012972 for ; Mon, 6 Oct 2008 22:21:01 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 6 Oct 2008 22:21:01 +0200 (CEST) From: Wojciech Puchar To: freebsd-questions@freebsd.org Message-ID: <20081006221523.P3921@wojtek.tensor.gdynia.pl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: TRUE realtime priority X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 20:41:31 -0000 is it possible on FreeBSD i run asterisk with realtime priority. it works perfectly no matter how much CPU is loaded by other non-telephony tasks. but with lots of VM pressure it starts to so... like like tha..that... what causes it to behave like that and how to fix it. for example when lots of spam comes to server and lots of resource hungry spamassassin processes are spawned our calls starts to be crappy. CPU load for asterisk rarely exceed few percent! i think having separate computer just for this is stupid, i would do this having no other choice, but can it be done without this. realtime priority is realtime priority anyway - it should work. i understand that asterisk may stall requesting memory when VM pressure is high, but asterisk's thread that processes already set-up call - just moving voicepackets in and out - it doesn't need to allocate more memory so why it's stalled? any network problems are eliminated, the effect happens even with 2 local phones. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 20:52:53 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 029FF1065695 for ; Mon, 6 Oct 2008 20:52:53 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from smtp-3.orange.nl (smtp-3.orange.nl [193.252.22.243]) by mx1.freebsd.org (Postfix) with ESMTP id AC9BD8FC14 for ; Mon, 6 Oct 2008 20:52:52 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf6204.online.nl (SMTP Server) with ESMTP id D1DEF1C00085 for ; Mon, 6 Oct 2008 22:52:50 +0200 (CEST) Received: from [192.168.2.173] (s5590cf7b.adsl.wanadoo.nl [85.144.207.123]) by mwinf6204.online.nl (SMTP Server) with ESMTP id 8B5DF1C00084 for ; Mon, 6 Oct 2008 22:52:50 +0200 (CEST) X-ME-UUID: 20081006205250570.8B5DF1C00084@mwinf6204.online.nl From: Aniruddha To: freebsd-questions@freebsd.org In-Reply-To: <1223323099.4093.2.camel@debian> References: <1223275319.4116.7.camel@debian> <20081006130929.386aebb7@baby-jane-lamaiziere-net.local> <48E9F93A.5020806@webzone.net.au> <1223311942.24138.6.camel@debian> <20081006170501.GA26115@icarus.home.lan> <1223313780.24138.8.camel@debian> <20081006180058.GC26368@icarus.home.lan> <1223319210.4138.8.camel@debian> <20081006190310.GA28336@icarus.home.lan> <1223323099.4093.2.camel@debian> Content-Type: text/plain Date: Mon, 06 Oct 2008 22:52:54 +0200 Message-Id: <1223326374.4120.1.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Subject: Re: USB mouse problems (SOLVED) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 20:52:53 -0000 On Mon, 2008-10-06 at 21:58 +0200, Aniruddha wrote: > On Mon, 2008-10-06 at 12:03 -0700, Jeremy Chadwick wrote: > > It means the original fix was applied to CURRENT (what is also known as > > HEAD), and then "backported" to RELENG_7 (what you would call FreeBSD > > 7.x-STABLE) on 2008/03/20. "MFC" stands for "Merge From CURRENT". > > > > You can confirm this by looking at cvsweb for the file in question: > > > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/usb/ums.c > > > > The change for HEAD/CURRENT was made in Revision 1.98 (date = Mar 12) > > The MFC to RELENG_7 was made in Revision 1.96.2.1 (date = Mar 20) > > > > If you csup your src tree (use /usr/share/examples/cvsup/stable-supfile) > > the patched code will be downloaded and used. You'll have to rebuild > > world to get the changes, of course. See the FreeBSD Handbook for doing > > a csup as well as for rebuilding world. > > > > Thanks for your help and patience. If I'm not mistaken I can also > install 7.1 Beta. It would be logical to assume it contains the fix > right? I just installed 7.1 Beta and now my Razer Lachesis works :D -- Regards, Aniruddha From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 21:02:30 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7B72106568C for ; Mon, 6 Oct 2008 21:02:30 +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 E05F58FC0C for ; Mon, 6 Oct 2008 21:02:29 +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; 06 Oct 2008 17:02:29 -0400 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 PCY90690; Mon, 6 Oct 2008 17:02:27 -0400 (EDT) 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; 06 Oct 2008 17:01:45 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18666.31928.85367.319704@jerusalem.litteratus.org> Date: Mon, 6 Oct 2008 17:01:44 -0400 To: Vincent Hoffman In-Reply-To: <48EA7487.2050901@unsane.co.uk> References: <26face530810061228g660203ebxe3e287f4e47c3b06@mail.gmail.com> <48EA7487.2050901@unsane.co.uk> 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: Kelly Jones , freebsd-questions@freebsd.org Subject: Re: Installing multiple ports quietly and efficiently X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 21:02:30 -0000 Vincent Hoffman writes: > > I want to install 50 apps on a new server, but not have to watch it > > constantly. I want to tell ports: "just use the default options for > > now: if I'm unhappy w/ them, I'll come back, do a 'make rmconfig' and > > rebuild". > > > > How can I do this? > > add > BATCH=yes > to /etc/make.conf Only if you remember to take it out (or comment it out) again when you're done. Personally, I'd run a new shell, set the variable, do the builds, then kill the shell. Next: edit make.conf and put it in comented out and with additional comments. Robert Huff From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 21:48:15 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82395106568A for ; Mon, 6 Oct 2008 21:48:15 +0000 (UTC) (envelope-from kitchetech@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id 0C07B8FC12 for ; Mon, 6 Oct 2008 21:48:14 +0000 (UTC) (envelope-from kitchetech@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1996417fgb.35 for ; Mon, 06 Oct 2008 14:48:13 -0700 (PDT) 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:references; bh=xehFYp+vesUkYiSvpANjyfIbYm/luBFRXgDFEGFK1ro=; b=llOeyoRFMHC44cmyzJ/dhwkA+CKmO2XqtIjFBZtvKWPYnUZ8V9K1ne7hCPLAHY91Xd dd8Dok1+piDZA7siE7YxWzbhcLHPShyKep2S1KrJHZ1ZR0dXZ2Mr9ajfvpcf0ZzIXvCC WiZpmJq6KtYsBUTy5xbIKOcDPXICnPjzqXfzw= 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:references; b=xzU8te15Q1LuotRf7aYeDsGGLdIMqw/btY1TmjecZbdNT95X6nAcAuTZ5LTce9Owda lxTJ644aRJ4GDseTTsWPVTclpUwt4zI1rUnJo2u9nrgM7eMwag56cIjUNntTNXmj7ga2 GEiMqrDoVsFVusY4nz7OfCNFt4Dhon/NkI/1E= Received: by 10.86.62.3 with SMTP id k3mr5116001fga.1.1223329692867; Mon, 06 Oct 2008 14:48:12 -0700 (PDT) Received: by 10.86.78.7 with HTTP; Mon, 6 Oct 2008 14:48:12 -0700 (PDT) Message-ID: <28283d910810061448u76f29538jf050209fd32deaa2@mail.gmail.com> Date: Mon, 6 Oct 2008 17:48:12 -0400 From: "matt donovan" To: "Gonzalo Nemmi" In-Reply-To: <200810061614.49837.gnemmi@gmail.com> MIME-Version: 1.0 References: <1223317488.51334.13.camel@main.lerwick.hopto.org> <200810061614.49837.gnemmi@gmail.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: freebsd-questions@freebsd.org Subject: Re: has anyone actually received a bsdmag ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 21:48:15 -0000 On Mon, Oct 6, 2008 at 2:14 PM, Gonzalo Nemmi wrote: > On Monday 06 October 2008 4:24:47 pm Craig Butler wrote: > > Hi Guys > > > > I have been subscribed to BSD Magazine since the start of September, I > > was hoping to get the first issue sent to me.... I am still waiting. > > > > Looking on their website they have the second issue published.... again > > I am waiting to receive it. > > > > I have tried emailing them but have not had any replies. > > > > Has anybody else received their copy ? > > > > Cheers > > > > Craig B > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > > Good to know that ... > > I bought the first issue on .pdf format back when it was release and I was > seconds away from subscribing for a full year (printed version) until I > read > your mail ... > > So .. I guess I'll put my subscription on hold until I know for sure that > they > do send the mag to your door and that they do it on time ... > > Please, let me know how things end up for you. > > Regards > -- > Blessings > Gonzalo Nemmi > _______________________________________________ > 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" > BSDmagazine is not the same as Linux Magazine they don't follow teh same release dates I believe BSDmag is like every 4 months or something you'll get one From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 21:53:02 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2ACF010656AB for ; Mon, 6 Oct 2008 21:53:02 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id EBD3C8FC1B for ; Mon, 6 Oct 2008 21:53:01 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id E343BAFBC01; Mon, 6 Oct 2008 13:53:00 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Mon, 6 Oct 2008 23:52:59 +0200 User-Agent: KMail/1.9.7 References: <26face530810061228g660203ebxe3e287f4e47c3b06@mail.gmail.com> In-Reply-To: <26face530810061228g660203ebxe3e287f4e47c3b06@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810062352.59473.fbsd.questions@rachie.is-a-geek.net> Cc: Kelly Jones Subject: Re: Installing multiple ports quietly and efficiently X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 21:53:02 -0000 On Monday 06 October 2008 21:28:25 Kelly Jones wrote: > Here's one way to install multiple FreeBSD ports "unattended" on a > machine: > > cd /usr/port/foo/prog1; make install; cd/usr/ports/foo/prog2; make install > > and so on (perhaps even in a shell script). Two problems: > > % It's ugly. I'd prefer "cd /usr/ports; make foo/prog1 foo/prog2 ..." > > % "make install" often pops up windows asking me to choose > configuration options, and hangs until I do so. As others said, BATCH turns off config target. But don't clutter /etc/make.conf with stuff like that, cause you will forget you put it there. make -DBATCH is short enough to type. It is however useful to inspect pkg-install files and set variables in either /etc/make.conf or /etc/(profile|login.conf). For example POSTFIX_DEFAULT_MTA will replace /etc/mail/mailer.conf when -DBATCH is set. Over time you'll pick up quite a few of these that save you doing the same thing all over. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 21:55:15 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B6F21065692 for ; Mon, 6 Oct 2008 21:55:15 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from mail-gx0-f21.google.com (mail-gx0-f21.google.com [209.85.217.21]) by mx1.freebsd.org (Postfix) with ESMTP id EF0108FC1F for ; Mon, 6 Oct 2008 21:55:14 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: by gxk14 with SMTP id 14so5540077gxk.19 for ; Mon, 06 Oct 2008 14:55:14 -0700 (PDT) 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=Fyptye/dm0qniMDhR6gBY3wZJSlGNE4T7bhZcjGCs2w=; b=mXShb0YPdCtDe+lH5TS/HjZ3Da5Xbm+MQ1pppY7nJVOhfrfMj8Rbrx3kS4Uim/v4VR LbrVR1RJRFtKTMjAwHvRwAu0SuKu/J0Hux0Pr5cNTvXMnyPnEOq9qm9UORpjAmfcRtpV N05Cyb9T7zAwD/VAnvaqJX9Bw4uatCNUre55s= 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=CVEsVsgoOugbkgDMWhMKdF4vBuwfli7NnxiCPUL4sAoh6A97Wneq5udshoCVshAPTn HhNg6z3itBr77euNcXoCDbGUEdDYLrB2wYqCg4pyRqKQCyf5PnWY3VtI6ZcZ+fOPaelE MiS4Sc9bYIY4GPBKrq5ISzBGLu/gUWs78tg5k= Received: by 10.142.142.14 with SMTP id p14mr2231611wfd.139.1223330113660; Mon, 06 Oct 2008 14:55:13 -0700 (PDT) Received: by 10.142.44.17 with HTTP; Mon, 6 Oct 2008 14:55:13 -0700 (PDT) Message-ID: <539c60b90810061455g19c6bbc2h98e97083e3d7a42f@mail.gmail.com> Date: Mon, 6 Oct 2008 14:55:13 -0700 From: "Steve Franks" Sender: bahamasfranks@gmail.com To: "FreeBSD Mailing List" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: ee2cafe9f9fe4694 Subject: compat/linux program claims "no write access to ~" 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: Mon, 06 Oct 2008 21:55:15 -0000 Sounds like a bogus error to me. I just downgraded amd64 to i386, reinstalled a linux program and it claims it can't write to ~ now. I'm running it, and I have no reason to think it wouldn't run as me. ~ is 775 anyway. Also, running the linux program as su or sudo gives the same error. Any ideas just where this might be coming from? I'm on 7-STABLE, i386, linux-base-fc4. Best, Steve From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 21:56:31 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 677AB10656A1 for ; Mon, 6 Oct 2008 21:56:31 +0000 (UTC) (envelope-from craig001@lerwick.hopto.org) Received: from lerwick.hopto.org (81-178-20-70.dsl.pipex.com [81.178.20.70]) by mx1.freebsd.org (Postfix) with SMTP id 933988FC0A for ; Mon, 6 Oct 2008 21:56:30 +0000 (UTC) (envelope-from craig001@lerwick.hopto.org) Received: (qmail 27603 invoked by uid 98); 6 Oct 2008 22:54:20 +0100 Received: from 192.168.0.2 by polaris.lerwick.hopto.org (envelope-from , uid 82) with qmail-scanner-2.01 (clamdscan: 0.88.4/1789. hbedv: 7.1.1.11/6.35.1.178. f-prot: 4.6.6/3.16.14. spamassassin: 3.1.4. Clear:RC:1(192.168.0.2):. Processed in 7.307548 secs); 06 Oct 2008 21:54:20 -0000 Received: from main.lerwick.hopto.org (HELO ?192.168.0.2?) (192.168.0.2) by lerwick.hopto.org with SMTP; 6 Oct 2008 22:54:12 +0100 From: Craig Butler To: matt donovan In-Reply-To: <28283d910810061448u76f29538jf050209fd32deaa2@mail.gmail.com> References: <1223317488.51334.13.camel@main.lerwick.hopto.org> <200810061614.49837.gnemmi@gmail.com> <28283d910810061448u76f29538jf050209fd32deaa2@mail.gmail.com> Content-Type: text/plain Date: Mon, 06 Oct 2008 22:56:11 +0100 Message-Id: <1223330171.52193.1.camel@main.lerwick.hopto.org> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: Gonzalo Nemmi , freebsd-questions@freebsd.org Subject: Re: has anyone actually received a bsdmag ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 21:56:31 -0000 On Mon, 2008-10-06 at 17:48 -0400, matt donovan wrote: > On Mon, Oct 6, 2008 at 2:14 PM, Gonzalo Nemmi wrote: > > > On Monday 06 October 2008 4:24:47 pm Craig Butler wrote: > > > Hi Guys > > > > > > I have been subscribed to BSD Magazine since the start of September, I > > > was hoping to get the first issue sent to me.... I am still waiting. > > > > > > Looking on their website they have the second issue published.... again > > > I am waiting to receive it. > > > > > > I have tried emailing them but have not had any replies. > > > > > > Has anybody else received their copy ? > > > > > > Cheers > > > > > > Craig B > > > > > > _______________________________________________ > > > freebsd-questions@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to > > > "freebsd-questions-unsubscribe@freebsd.org" > > > > Good to know that ... > > > > I bought the first issue on .pdf format back when it was release and I was > > seconds away from subscribing for a full year (printed version) until I > > read > > your mail ... > > > > So .. I guess I'll put my subscription on hold until I know for sure that > > they > > do send the mag to your door and that they do it on time ... > > > > Please, let me know how things end up for you. > > > > Regards > > -- > > Blessings > > Gonzalo Nemmi > > _______________________________________________ > > 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" > > > > BSDmagazine is not the same as Linux Magazine they don't follow teh same > release dates I believe BSDmag is like every 4 months or something you'll > get one > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Yep that correct Its meant to be quarterly.... (every 3 months) However I am still waiting for the first issue let alone the second.. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 21:57:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51A9A106568B for ; Mon, 6 Oct 2008 21:57:52 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr5.xs4all.nl (smtp-vbr5.xs4all.nl [194.109.24.25]) by mx1.freebsd.org (Postfix) with ESMTP id C297F8FC12 for ; Mon, 6 Oct 2008 21:57:51 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr5.xs4all.nl (8.13.8/8.13.8) with ESMTP id m96Lvntt061249; Mon, 6 Oct 2008 23:57:49 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 1A5B2BA8A; Mon, 6 Oct 2008 23:57:49 +0200 (CEST) Date: Mon, 6 Oct 2008 23:57:49 +0200 From: Roland Smith To: Wojciech Puchar Message-ID: <20081006215749.GA68933@slackbox.xs4all.nl> References: <20081006221523.P3921@wojtek.tensor.gdynia.pl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="82I3+IH0IqGh5yIs" Content-Disposition: inline In-Reply-To: <20081006221523.P3921@wojtek.tensor.gdynia.pl> 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.18 (2008-05-17) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: TRUE realtime priority X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 21:57:52 -0000 --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 06, 2008 at 10:21:01PM +0200, Wojciech Puchar wrote: > is it possible on FreeBSD No, I think. =20 > i run asterisk with realtime priority. it works perfectly no matter how= =20 > much CPU is loaded by other non-telephony tasks. >=20 > but with lots of VM pressure it starts to so... like like tha..that... >=20 > what causes it to behave like that and how to fix it. Well, basically you are the only one who can answer that. And that's not a paradox or an attempt at humor. You should investigate. Maybe interrupts aren't processed fast enough (hardware sharing an interrupt?), or memory or kernel resources are low. > for example when lots of spam comes to server and lots of resource hungry= =20 > spamassassin processes are spawned our calls starts to be crappy. >=20 > CPU load for asterisk rarely exceed few percent! Yes, but FreeBSD isn't a _hard_ real-time OS (see below). =20 > i think having separate computer just for this is stupid, i would do this= =20 > having no other choice, but can it be done without this. >=20 > realtime priority is realtime priority anyway - it should work. It does depend what you mean by real-time. Usually real-time systems are devided into the "soft" and "hard" categories. See the Wikipedia article on real-time computing [http://en.wikipedia.org/wiki/Real-time_computing] and operating systems [http://en.wikipedia.org/wiki/Real-time_operating_sys= tem]. Most hard real-time systems are embedded systems with a specific function (say, ECU, FADEC, ABS, digital music player). I don't think there are general use OS's which would classify as hard real-time (AFAIK, RTLinux runs Linux as a low-priority task on a real-time core). Most of them support soft real-time, as in "we'll try to get these tasks done before a specific deadline, but no promises." 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) --82I3+IH0IqGh5yIs Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjqid0ACgkQEnfvsMMhpyXbjwCfTw5/vWdfma2Bm+inj73KFI2L iDoAoKvBm9bRpj+OdHLatDCH9RvFniMF =m6/E -----END PGP SIGNATURE----- --82I3+IH0IqGh5yIs-- From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 22:31:44 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 265D2106568C for ; Mon, 6 Oct 2008 22:31:44 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id F1B638FC16 for ; Mon, 6 Oct 2008 22:31:43 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KmycA-0008Mh-Qe for freebsd-questions@freebsd.org; Mon, 06 Oct 2008 15:31:42 -0700 Message-ID: <19847627.post@talk.nabble.com> Date: Mon, 6 Oct 2008 15:31:42 -0700 (PDT) From: jaymax To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jaymax36@gmail.com Subject: Cant remove /var, in relocating /var to a symbolic link X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 22:31:44 -0000 I am attempting to relocate /var to avoid files system full issues. Using a - mkdir /usr/var cd /var tar cf - . | (cd /usr/var; tar xf - ) cd / rm -rf /var ln -s /usr/var /var approach at the rm -rf /var step, the following was received rm: /var/empty: Operation not permitted rm: /var/named/dev: Device busy rm: /var/named: Directory not empty rm: /var: Device busy Te contents of /var at this site was ls /var ./ ../ empty/ named/ and ls /var/empty/ ./ ../ ls -l /var/empty/ total 4 dr-xr-xr-x 2 root wheel 512 Nov 3 2005 ./ drwxr-xr-x 4 root wheel 512 Oct 6 14:02 ../ Can't change permissons either chmod 755 /var/empty/ chmod: /var/empty/: Operation not permitted while ls /var/named/ ./ ../ dev/ ls -l /var/named/ total 5 drwxr-xr-x 3 root wheel 512 Oct 4 19:46 ./ drwxr-xr-x 5 root wheel 512 Oct 6 14:16 ../ dr-xr-xr-x 4 root wheel 512 Jan 1 2002 dev/ ls -l /var/named/dev total 0 Could chmod755 but still cant remove, dev, dir empty but => Device busy How can I remove these two directories so that I can create a link from /usr/var to /var -- View this message in context: http://www.nabble.com/Cant-remove--var%2C-in-relocating--var-to-a-symbolic-link-tp19847627p19847627.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 22:32:18 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 171D41065688 for ; Mon, 6 Oct 2008 22:32:18 +0000 (UTC) (envelope-from kenneth.hatteland@kleppnett.no) Received: from asav3.lyse.net (asav3.lyse.net [81.167.37.131]) by mx1.freebsd.org (Postfix) with ESMTP id C51208FC17 for ; Mon, 6 Oct 2008 22:32:17 +0000 (UTC) (envelope-from kenneth.hatteland@kleppnett.no) Received: from localhost (localhost.localdomain [127.0.0.1]) by asav3.lyse.net (Postfix) with ESMTP id 81AFA840FC for ; Tue, 7 Oct 2008 00:13:03 +0200 (CEST) X-Virus-Scanned: amavisd-new at lyse.net Received: from terra.lyse.net (129.81-166-80.customer.lyse.net [81.166.80.129]) by asav3.lyse.net (Postfix) with ESMTP id 1378984014 for ; Tue, 7 Oct 2008 00:13:02 +0200 (CEST) Message-ID: <48EA8D6E.5090107@kleppnett.no> Date: Tue, 07 Oct 2008 00:13:02 +0200 From: kenneth hatteland User-Agent: Thunderbird 2.0.0.17 (X11/20080929) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: has anyone actually received a bsdmag ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 22:32:18 -0000 Bought printed copy quite a while before the first release and have gotten both released issues delivered flawlessly here in Norway. I am very pleased with the magazine and recommend everyone to subscribe. They were a bit slow to reply on emails but always comes around at a later time....that is my experience so far. Kenneth Hatteland From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 22:39:50 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33E961065693 for ; Mon, 6 Oct 2008 22:39:50 +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 D13EB8FC0C for ; Mon, 6 Oct 2008 22:39:49 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id m96MbtK5072167; Mon, 6 Oct 2008 18:37:55 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id m96Mbtpw072166; Mon, 6 Oct 2008 18:37:55 -0400 (EDT) (envelope-from jerrymc) Date: Mon, 6 Oct 2008 18:37:55 -0400 From: Jerry McAllister To: jaymax Message-ID: <20081006223755.GA72109@gizmo.acns.msu.edu> References: <19847627.post@talk.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <19847627.post@talk.nabble.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Cant remove /var, in relocating /var to a symbolic link X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 22:39:50 -0000 On Mon, Oct 06, 2008 at 03:31:42PM -0700, jaymax wrote: > > I am attempting to relocate /var to avoid files system full issues. > Using a - > mkdir /usr/var > cd /var > tar cf - . | (cd /usr/var; tar xf - ) > cd / > rm -rf /var > ln -s /usr/var /var > approach > > at the > rm -rf /var step, the following was received > rm: /var/empty: Operation not permitted > rm: /var/named/dev: Device busy > rm: /var/named: Directory not empty > rm: /var: Device busy > > Te contents of /var at this site was > ls /var > ./ ../ empty/ named/ > and > ls /var/empty/ > ./ ../ > > ls -l /var/empty/ > total 4 > dr-xr-xr-x 2 root wheel 512 Nov 3 2005 ./ > drwxr-xr-x 4 root wheel 512 Oct 6 14:02 ../ > > Can't change permissons either > chmod 755 /var/empty/ > chmod: /var/empty/: Operation not permitted > > while > ls /var/named/ > ./ ../ dev/ > ls -l /var/named/ > total 5 > drwxr-xr-x 3 root wheel 512 Oct 4 19:46 ./ > drwxr-xr-x 5 root wheel 512 Oct 6 14:16 ../ > dr-xr-xr-x 4 root wheel 512 Jan 1 2002 dev/ > > ls -l /var/named/dev > total 0 > Could chmod755 but still cant remove, dev, dir empty but => Device busy > > How can I remove these two directories so that I can create a link from > /usr/var to /var The best way is to boot the 'fixit' image and do it from that. On a running system, the var directory is likely to always be busy. You might also be able to do it just from a boot to single user mode if the /var directory is not mounted. But, I would suggest actually not moving the whole /var filesystem. Rather, move some of the move heavily used directories such as /var/log and /var/mail, maybe even /var/db and /var/spool. Copy them over to the larger space and make sym links in /var to the new ones. Careful of your naming so you don't get confused on a sleepy morning. I tend to name the new alternates something like var.log and var.mail, etc which helps keep them straight in my mind. ////jerry > -- > View this message in context: http://www.nabble.com/Cant-remove--var%2C-in-relocating--var-to-a-symbolic-link-tp19847627p19847627.html > Sent from the freebsd-questions mailing list archive at Nabble.com. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 22:46:34 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E90E106569A for ; Mon, 6 Oct 2008 22:46:34 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr1.xs4all.nl (smtp-vbr1.xs4all.nl [194.109.24.21]) by mx1.freebsd.org (Postfix) with ESMTP id EA50B8FC19 for ; Mon, 6 Oct 2008 22:46:33 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr1.xs4all.nl (8.13.8/8.13.8) with ESMTP id m96MkWHJ035933; Tue, 7 Oct 2008 00:46:32 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 41727BA89; Tue, 7 Oct 2008 00:46:32 +0200 (CEST) Date: Tue, 7 Oct 2008 00:46:32 +0200 From: Roland Smith To: jaymax Message-ID: <20081006224632.GA71290@slackbox.xs4all.nl> References: <19847627.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6c2NcOVqGQ03X4Wi" Content-Disposition: inline In-Reply-To: <19847627.post@talk.nabble.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Cant remove /var, in relocating /var to a symbolic link X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 22:46:34 -0000 --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 06, 2008 at 03:31:42PM -0700, jaymax wrote: >=20 > I am attempting to relocate /var to avoid files system full issues.=20 > Using a - > mkdir /usr/var > cd /var > tar cf - . | (cd /usr/var; tar xf - ) > cd / > rm -rf /var > ln -s /usr/var /var > approach >=20 > at the=20 > rm -rf /var step, the following was received > rm: /var/empty: Operation not permitted /var/empty has the system immutable flag set :-) slackbox:~> ls -lod /var/empty dr-xr-xr-x 2 root wheel schg 512 Oct 9 2005 /var/empty/ > rm: /var/named/dev: Device busy If you have named(8) running with named_chrootdir set to /var/named in /etc/rc.conf, a devfs(5) filesystem will be mounted on /var/named/dev. That's what keeping the device busy. 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) --6c2NcOVqGQ03X4Wi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjqlUgACgkQEnfvsMMhpyVBWwCcCDPOqekNs1Gc0ONeVccVn7M7 isAAoK36L4FZBfuVRciSaD99iR2NFR+H =/eZI -----END PGP SIGNATURE----- --6c2NcOVqGQ03X4Wi-- From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 22:55:53 2008 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 A0D54106568D for ; Mon, 6 Oct 2008 22:55:53 +0000 (UTC) (envelope-from yurtesen@ispro.net.tr) Received: from turkey.ispro.net.tr (turkey.ispro.net.tr [87.251.0.2]) by mx1.freebsd.org (Postfix) with ESMTP id 1498E8FC1A for ; Mon, 6 Oct 2008 22:55:52 +0000 (UTC) (envelope-from yurtesen@ispro.net.tr) Received: from a91-152-230-218.elisa-laajakaista.fi ([91.152.230.218] helo=[192.168.1.34]) by turkey.ispro.net.tr with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KmyzW-0006H4-Br; Tue, 07 Oct 2008 01:55:50 +0300 Message-ID: <48EA97EB.9000501@ispro.net.tr> Date: Tue, 07 Oct 2008 01:57:47 +0300 From: Evren Yurtesen User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Roland Smith References: <48E9E146.9040308@ispro.net.tr> <20081006173815.GA46342@slackbox.xs4all.nl> In-Reply-To: <20081006173815.GA46342@slackbox.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: continuous backup solution for 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, 06 Oct 2008 22:55:53 -0000 Roland Smith wrote: > On Mon, Oct 06, 2008 at 12:58:30PM +0300, Evren Yurtesen wrote: >> Hello, >> >> Is there a known continuous backup solution similar to r1soft backup for >> FreeBSD? I googled a lot but couldnt find anything. > > I don't think so. The closest thing I know of is rsnapshot > (http://www.rsnapshot.org/). > > My solution is to run rsync in a cron job. In my situation this takes > about 5 minutes for approximately 100GB of data. The time it takes will > obviously depend on the rate of change in the data. > > You could also use local snapshots with mksnap_ffs(8), to solve the "oh > shit I deleted my files" situation. > > Thanks I am using BackupPC for such task already. Although it takes more than 5 minutes to traverse millions of files using rsync independent of if they were changed or not (since rsync has to scan all the files to detect what is changed or not even if it only checks modification times, this takes time for so many files). I just was curious about if anybody could contact r1soft and ask for a pile of money to implement a driver for FreeBSD, since I couldnt do it even if I wanted to :) Thanks, Evren From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 23:06:33 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 586BB106569B for ; Mon, 6 Oct 2008 23:06:33 +0000 (UTC) (envelope-from alancyang@gmail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.177]) by mx1.freebsd.org (Postfix) with ESMTP id 12B618FC16 for ; Mon, 6 Oct 2008 23:06:32 +0000 (UTC) (envelope-from alancyang@gmail.com) Received: by el-out-1112.google.com with SMTP id v27so600105ele.13 for ; Mon, 06 Oct 2008 16:06:32 -0700 (PDT) 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=ofYZAwKoVDO9qnANlUQoZ9Qz/EXFaA7HSLjt45NOL0w=; b=Y6e4YcCrPekowQmSSmZKDqTWlwch2kwpW1mRCEEaBXdlD8sNxzGGBbjw8MlRvEUNmB OdVndOp23NnX/pGgLYesRUzDV3R4WwSDxqNYy/CGduwHubiWhqIAGcZ04tUt3gcBIC1O X8ZcXzM4qlAb7udPxajvHGKunR7pxWNa9C1WQ= 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=ivpLbIlzbnuX+Qw24OWbNLlorXsMlIV+RwJgKI+wtiwhT//ME5ta/CJGpdIOMIuX9x rpCGFoyo96937XY7NEftn8BYrwasAV73YmvYX4EvRUf7MjGDXYfov+GdfTFu0gpyd2Z7 o4NlsJTQp7NtRwSWUrXvhvgSLiDRrSI2VEe3g= Received: by 10.90.80.19 with SMTP id d19mr6423620agb.65.1223333040142; Mon, 06 Oct 2008 15:44:00 -0700 (PDT) Received: by 10.90.94.14 with HTTP; Mon, 6 Oct 2008 15:44:00 -0700 (PDT) Message-ID: <290865fd0810061544ubbe92fdsf75501bb729da3f0@mail.gmail.com> Date: Mon, 6 Oct 2008 15:44:00 -0700 From: "alan yang" To: freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: kgdb debugging X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 23:06:33 -0000 hi, there, wonder people can shed some lights on remote debugging. i have freebsd7 configured with option DDB / KDB / GDB but after entering the db on the target system the command gdb gives "the remote GDB backend could not be selected". i browsed through the mailing list, and do find 1 similar post but without answer. thanks in advance & apology if i overlooked things ... cheers, alan From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 23:26:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C262106568D; Mon, 6 Oct 2008 23:26:52 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id 193CF8FC08; Mon, 6 Oct 2008 23:26:52 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from [213.142.183.219] (helo=gahrtop.gahr.ch) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1KmzTW-0003Y5-Ce; Tue, 07 Oct 2008 01:26:50 +0200 Message-ID: <48EA9E95.80105@FreeBSD.org> Date: Tue, 07 Oct 2008 01:26:13 +0200 From: Pietro Cerutti Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.17 (X11/20081002) MIME-Version: 1.0 To: alan yang References: <290865fd0810061544ubbe92fdsf75501bb729da3f0@mail.gmail.com> In-Reply-To: <290865fd0810061544ubbe92fdsf75501bb729da3f0@mail.gmail.com> X-Enigmail-Version: 0.95.6 OpenPGP: id=9571F78E; url=http://gahr.ch/pgp/ Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 - FreeBSD.org X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Subject: Re: kgdb debugging X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 23:26:52 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 alan yang wrote: | hi, there, | | wonder people can shed some lights on remote debugging. i have | freebsd7 configured with option DDB / KDB / GDB but after entering the | db on the target system the command gdb gives "the remote GDB backend | could not be selected". | | i browsed through the mailing list, and do find 1 similar post but | without answer. | | thanks in advance & apology if i overlooked things ... I suggest the following tutorial: http://www.lemis.com/grog/Papers/Debug-tutorial/tutorial.pdf Have fun :) | | cheers, | alan | _______________________________________________ | freebsd-hackers@freebsd.org mailing list | http://lists.freebsd.org/mailman/listinfo/freebsd-hackers | To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" - -- Pietro Cerutti gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEAREKAAYFAkjqnpQACgkQwMJqmJVx945RSwCgoDb0JTr8LSFDB1vpAbGUjb76 ZH0An19HpFVJJTUB5/XnyZc0pIDzgxc3 =6Pdm -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 23:42:32 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5A711065686 for ; Mon, 6 Oct 2008 23:42:32 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 5EB018FC16 for ; Mon, 6 Oct 2008 23:42:32 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id m96Ngc0w050432; Mon, 6 Oct 2008 16:42:38 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 6 Oct 2008 16:42:24 -0700 (PDT) Date: Mon, 6 Oct 2008 16:42:24 -0700 From: Gary Kline To: Andreas Rudisch Message-ID: <20081006234224.GA10443@thought.org> References: <20081006190512.GA2010@thought.org> <20081006214023.a31273d2.cyb.@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081006214023.a31273d2.cyb.@gmx.net> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 22 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: FreeBSD Mailing List Subject: Re: what are the top few mp3[4] Podcast helpers-apps for firefox-3.03? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 23:42:32 -0000 On Mon, Oct 06, 2008 at 09:40:23PM +0200, Andreas Rudisch wrote: > On Mon, 6 Oct 2008 12:05:15 -0700 > Gary Kline wrote: > > > what should I select to be my default mp3/postcast player? > > mplayer? > > Andreas Well, I tried Kmplayer; it works for some sites and hangs on kuow.org; so you somebody confirm this. Maybe it's the radio station and their mp3 feed is broken. (It says: "Connecting... " and hangs. BTW, I tried every other audio driver that kmplayer talks to. No diff. > -- > GnuPG key : 0x2A573565 | http://www.gnupg.org/howtos/de/ > Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 23:48:25 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B935F1065689 for ; Mon, 6 Oct 2008 23:48:25 +0000 (UTC) (envelope-from lists-fbsd@shadypond.com) Received: from mailout.easydns.com (mailout.easydns.com [205.210.42.66]) by mx1.freebsd.org (Postfix) with ESMTP id 836868FC0A for ; Mon, 6 Oct 2008 23:48:25 +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 mailout.easydns.com (Postfix) with ESMTP id 058DB4844D for ; Mon, 6 Oct 2008 19:47:01 -0400 (EDT) Received: from slider.localnet (slider.shadypond.com [192.168.1.11]) by lilypad.shadypond.com (Postfix) with ESMTPSA id ABCA813183 for ; Mon, 6 Oct 2008 23:48:23 +0000 (UTC) From: Pollywog To: freebsd-questions@freebsd.org Date: Mon, 6 Oct 2008 23:48:11 +0000 References: <1223317488.51334.13.camel@main.lerwick.hopto.org> <200810061614.49837.gnemmi@gmail.com> <28283d910810061448u76f29538jf050209fd32deaa2@mail.gmail.com> In-Reply-To: <28283d910810061448u76f29538jf050209fd32deaa2@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810062348.11941.lists-fbsd@shadypond.com> Subject: Re: has anyone actually received a bsdmag ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Oct 2008 23:48:25 -0000 On Monday 06 October 2008 21:48:12 matt donovan wrote: > On Mon, Oct 6, 2008 at 2:14 PM, Gonzalo Nemmi wrote: > > On Monday 06 October 2008 4:24:47 pm Craig Butler wrote: > > > Hi Guys > > > > > > I have been subscribed to BSD Magazine since the start of September, I > > > was hoping to get the first issue sent to me.... I am still waiting. > > > > > > Looking on their website they have the second issue published.... again > > > I am waiting to receive it. > > > > > > I have tried emailing them but have not had any replies. > > > > > > Has anybody else received their copy ? > > > > > > Cheers > > > > > > Craig B > > > > > > _______________________________________________ > > > freebsd-questions@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to > > > "freebsd-questions-unsubscribe@freebsd.org" > > > > Good to know that ... > > > > I bought the first issue on .pdf format back when it was release and I > > was seconds away from subscribing for a full year (printed version) until > > I read > > your mail ... > > > > So .. I guess I'll put my subscription on hold until I know for sure that > > they > > do send the mag to your door and that they do it on time ... > > > > Please, let me know how things end up for you. > > > > Regards > > -- > > Blessings > > Gonzalo Nemmi > > _______________________________________________ > > 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" > > BSDmagazine is not the same as Linux Magazine they don't follow teh same > release dates I believe BSDmag is like every 4 months or something you'll > get one I bought the most recent issue (it is only the second issue of the magazine) at Borders approximately two weeks ago. The second issue is an issue about OpenBSD. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 23:55:24 2008 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 978031065688; Mon, 6 Oct 2008 23:55:24 +0000 (UTC) (envelope-from yurtesen@ispro.net.tr) Received: from turkey.ispro.net.tr (ns2.ispro.net [87.251.0.2]) by mx1.freebsd.org (Postfix) with ESMTP id 03CC38FC0A; Mon, 6 Oct 2008 23:55:22 +0000 (UTC) (envelope-from yurtesen@ispro.net.tr) Received: from a91-152-230-218.elisa-laajakaista.fi ([91.152.230.218] helo=[192.168.1.34]) by turkey.ispro.net.tr with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Kmzv6-0007Ph-Jc; Tue, 07 Oct 2008 02:55:21 +0300 Message-ID: <48EAA5E4.8030805@ispro.net.tr> Date: Tue, 07 Oct 2008 02:57:24 +0300 From: Evren Yurtesen User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Jeremy Chadwick References: <48E9E146.9040308@ispro.net.tr> <20081006112030.GA18670@icarus.home.lan> <48EA2270.2080405@ispro.net.tr> <20081006152430.GA23608@icarus.home.lan> <48EA45D2.70502@ispro.net.tr> <20081006175940.GB26368@icarus.home.lan> In-Reply-To: <20081006175940.GB26368@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: continuous backup solution for 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, 06 Oct 2008 23:55:24 -0000 Jeremy Chadwick wrote: > What I'm saying is that Linux has the upper hand here. More eyes, more > people, more developers, larger community, larger vendor support, and > much **much** faster turn-around time on fixes/bugs. We can sit here > and argue about those facts all we want (it's the equivalent of doing > burn-outs in an AMC Pacer in a parking lot -- wasted time, zero gain), > but nothing changes the facts. Sorry, I had to remove the whole bunch of text that you wrote :) but I get the point. I think it is a funny historical fact that BSD was commercially licensed way too long to allow Linux to be developed at first place. If BSD was not commercial at that times, Linus Torvalds probably wouldnt have started writing the Linux kernel. Thus we wouldnt be having this sort of conversation now and it might as well be that Microsoft wouldnt have become so huge. If we look at this from that point of view then eventually all BSD and Linux etc. are bound to disappear in time and Microsoft will stand all alone. But things can change one step at a time. I prefer(or try) to look at this positively. I thought it wouldnt hurt to ask for help if somebody could contact r1soft and perhaps ask a pile of money to develop a driver. It would have been a win-win situation eh? > Right. We're definitely talking about snapshots, at least in concept. > > The fact that you're able to restore data within *minutes* is pretty > impressive. I'm curious what sort of disk requirements are needed > though (I guess it depends on how often changes happen on the > filesystem). Well it is not so fine grained (5 to 10 minutes intervals as mentioned). http://www.r1soft.com/CDP.html (there is more information in the link above, with links to outside sources on the concept such as wikipedia articles etc.) I know some large hosters who use this technology with Linux servers. As a matter of fact the only reason they went with Linux instead of FreeBSD is because they cant get CDP with FreeBSD. I can ask how much space it is using and return back to you. But if you think about it for a second, a traditional backup program would copy the whole file even if there was 1 byte changed in it. Lets say 10mbyte file and 1 byte is changed. R1soft copies only 1 byte. Sure enough the tables can turn around if the filesystem was modified really a lot. But it looks like this type of solution is mostly effective (at least I didnt see anywhere that anybody is complaining that it is using too much disk space yet). The best is, all it would take for FreeBSD users to be able to utilize this technology is a driver to interface with r1soft agent and buy a license. Now I am not expecting anybody to write this for free or nobody is obligated to help. I just dont know anybody who can help so I thought I would drop in a line here so... > I for one have never correlated snapshots and backup restorations > (bare-metal recovery). I consider them completely separate things, and > handled *very* differently. I have a feeling that no one's done this on > FreeBSD because the amount of effort required is quite large. Someone > did mention HAMMER on DragonflyBSD, but I have no knowledge of it or > what it provides -- that said, Matt (Dillon)'s stuff is usually very, > very good. I also dont know much about HAMMER either. But it doesnt look like it will make mainstream usage anytime soon on FreeBSD if it ever does. Actually I found a nice document here: http://www.dragonflybsd.org/hammer/hammer.pdf http://www.dragonflybsd.org/hammer/index.shtml > It depends on how the filesystem is done. For example, with UFS2+SU > snapshots, snapshot generation can take literally hours: completely > unreasonable. While with ZFS, snapshot generation usually takes 2-3 > seconds -- even on massive changes (e.g. take a snapshot, then rm a > 600MB ISO image, then compare present vs. snapshot -- the diff is > something like 40KBytes). Yes, but r1soft backup can restore a single file at a consistent state without restoring the whole filesystem from a graphical user interface and can restore mysql databases at a table level. While I agree that there might be different solutions that I dont know about, it just takes a driver to get this functionality on current FreeBSD systems without everybody to change to ZFS or HAMMER. One has to think, would people change their filesystems or install a driver? :) I would rather pay license fee to a backup program and use the driver. The price of the software is very well justified if I can return back to 5min before in my backups. The data I might loose is much more expensive. >>> I'm sorry for sounding anti-FreeBSD, but the reality is that people >>> should use whatever solutions work best for them -- if that's using >>> Windows, Solaris, or Linux, great! Remember that open-source is about >>> choice: and choice means supporting the possibility that someone chooses >>> something else. Blind one-sided advocacy is very damaging to the >>> open-source model and concept. >> I agree, and please dont shoot the messenger :) I just have a bunch of >> customers who would use FreeBSD but not using only because of this >> problem. In addition to that I myself would like to use near continuous >> backups as well. > > Understood. I now realise the full importance of what it is you've > described, and what R1Soft has developed. Thank you for taking the time > to educate me -- I appreciate it! There are other companies with similar products for Linux ( you can search for continuous backup in google to find ) . However R1Soft is the most active one. Besides the possibility of continous backup, they have been partnering up with hosting control panel software vendors, for example they support cPanel or H-Sphere where the users can restore their own content from backups etc. Since most of the servers on the internet are used for such services, it makes much sense. While there are other backup or backup like solutions ranging from HAMMER and ZFS built in features or Bacula etc. as far as I know these do not allow such flexibility. >> I was just trying to inform the FreeBSD community here so if somebody >> can have some time to divert to giving the right advices to r1soft then >> we all could benefit from it. It doesnt even have to be free even, with >> a reasonable price they can probably hire somebody to work for building >> the basics of this feature. >> >> So the real question is, is there anybody who is willing and have the >> experience to help on this issue? > > The response you're going to get is: "why don't you state how much > you're willing to pay for this feature, so that anyone who IS interested > can decide if that amount of money is worth the time required?" It is a possibility but then I am not working for R1Soft. People who has the knowledge to be able to pull this off can ask this to R1Soft. I am probably reporting a job possibility to an idle developer if there is such thing as an idle developer. R1soft is even willing to develop this themselves as far as I can tell. Maybe they just need the right information to be pointed out to them to start development only. > My response is different: this sort of thing should definitely be pawned > off onto the FreeBSD Foundation. IMHO, this is the sort of thing the > Foundation *should* be handling. There is money there, and this sounds > like a project which could benefit FreeBSD as a whole. It's possible > that R1Soft, if paid, would take up such a challenge, assuming some key > folks (like Kirk McKusick; not volunteering him, just saying he has > experience with filesystems) could help with the development process and > learning curve. I can't speak for the Foundation, but it really sounds > like that's the way to go with this. I don't think you'll get any > responses from interested parties on freebsd-questions. :-) > Thanks, I like your response :) But I dont know anybody in FreeBSD Foundation or anybody who can help. That is exactly why I came to here to mention the issue. If somebody knows somebody who can help then please pass along the word. I am in no way saying that anybody is obligated to do anything. Just informing that this great technology exists but FreeBSD users are not able to use it yet because of development issues. My personal opinion is that backups are an important issue for a serious company and it is a key selection criteria when choosing components and design for a system. I might be right or wrong of course. I just got pissed off enough that lately people I work with just wouldnt use FreeBSD only because of this problem... :( if you check r1soft forums, you can also see that I was bugging r1soft about this issue a lot and they ended up saying that it is probably not possible in FreeBSD to create such kernel module. At least I feel satisfied that I was doing or trying to do something in my skill levels to help to FreeBSD community and I am happy that some people are listening. But it is obvious that I dont know the right people to directly contact and inform about these stuff so please go ahead and forward this information to whomever you feel can help. Thanks, Evren From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 23:56:00 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1E89106568A for ; Mon, 6 Oct 2008 23:56:00 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 6B4038FC14 for ; Mon, 6 Oct 2008 23:56:00 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id m96NuA0s050544; Mon, 6 Oct 2008 16:56:10 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 6 Oct 2008 16:55:56 -0700 (PDT) Date: Mon, 6 Oct 2008 16:55:56 -0700 From: Gary Kline To: Pollywog Message-ID: <20081006235556.GB10443@thought.org> References: <20081005194232.GA72859@thought.org> <200810061937.27985.lists-fbsd@shadypond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200810061937.27985.lists-fbsd@shadypond.com> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 22 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: freebsd-questions@freebsd.org Subject: Re: kde4 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, 06 Oct 2008 23:56:00 -0000 On Mon, Oct 06, 2008 at 07:37:27PM +0000, Pollywog wrote: > On Sunday 05 October 2008 19:42:36 Gary Kline wrote: > > Over the past four days I've managed to get my FreeBSD server running KDE > > up by installing kde4. Now, for some reason, konqueror fails to conntect > > anywhere. > > > > How can I free up my old kde3 files and get konqueror working again? > > Have you tried running Konqueror from konsole in order to see the errors? > You might also check the proxy settings and make sure your other browsers are > working properly (Firefox for example). > firefox-3.03 is the only other one I use regularly; it works, more/less. But nothing is printed to stdout or stderr by exec'ing konq by the commandline. --I have, FWIW, pkg_deleted the whole bunch of kde3 binaries. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 00:06:32 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 595F11065687 for ; Tue, 7 Oct 2008 00:06:32 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id EAB178FC12 for ; Tue, 7 Oct 2008 00:06:31 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id m9706f33050620; Mon, 6 Oct 2008 17:06:41 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 6 Oct 2008 17:06:27 -0700 (PDT) Date: Mon, 6 Oct 2008 17:06:27 -0700 From: Gary Kline To: Pollywog Message-ID: <20081007000627.GA14154@thought.org> References: <20081005194232.GA72859@thought.org> <200810061937.27985.lists-fbsd@shadypond.com> <20081006235556.GB10443@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081006235556.GB10443@thought.org> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 22 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: freebsd-questions@freebsd.org Subject: Re: kde4 question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 00:06:32 -0000 On Mon, Oct 06, 2008 at 04:55:56PM -0700, Gary Kline wrote: > On Mon, Oct 06, 2008 at 07:37:27PM +0000, Pollywog wrote: > > On Sunday 05 October 2008 19:42:36 Gary Kline wrote: > > > Over the past four days I've managed to get my FreeBSD server running KDE > > > up by installing kde4. Now, for some reason, konqueror fails to conntect > > > anywhere. > > > > > > How can I free up my old kde3 files and get konqueror working again? > > > > Have you tried running Konqueror from konsole in order to see the errors? > > You might also check the proxy settings and make sure your other browsers are > > working properly (Firefox for example). > > > > > firefox-3.03 is the only other one I use regularly; it works, more/less. > But nothing is printed to stdout or stderr by exec'ing konq by the > commandline. --I have, FWIW, pkg_deleted the whole bunch of kde3 > binaries. HA: follow-up: I re deinstalled and reinstalled, and for the heck of it tried konq as root. looks like i was missing some initialization files (in /tmp). . . . kbuildsycoca running... and hundreds of other lines. It's still a head-scratch, but at least thing gives more insights. > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > -- > Gary Kline kline@thought.org http://www.thought.org Public Service Unix > http://jottings.thought.org http://transfinite.thought.org > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 00:15:24 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45FBD1065686 for ; Tue, 7 Oct 2008 00:15:24 +0000 (UTC) (envelope-from yurtesen@ispro.net.tr) Received: from turkey.ispro.net.tr (ns2.ispro.net [87.251.0.2]) by mx1.freebsd.org (Postfix) with ESMTP id AFFE68FC0A for ; Tue, 7 Oct 2008 00:15:23 +0000 (UTC) (envelope-from yurtesen@ispro.net.tr) Received: from a91-152-230-218.elisa-laajakaista.fi ([91.152.230.218] helo=[192.168.1.34]) by turkey.ispro.net.tr with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Kmzwy-0007RE-Is; Tue, 07 Oct 2008 02:57:17 +0300 Message-ID: <48EAA658.5050506@ispro.net.tr> Date: Tue, 07 Oct 2008 02:59:20 +0300 From: Evren Yurtesen User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Mel References: <48E9E146.9040308@ispro.net.tr> <20081006152430.GA23608@icarus.home.lan> <48EA45D2.70502@ispro.net.tr> <200810062000.26501.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: <200810062000.26501.fbsd.questions@rachie.is-a-geek.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Jeremy Chadwick , freebsd-questions@freebsd.org Subject: Re: continuous backup solution for 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, 07 Oct 2008 00:15:24 -0000 Mel wrote: > I think once you and R1soft step out of the "I need a block level device" > paradigm, you will see that modifying ggate with a "copy and fall through" > mode, as well as a mechanism to block writes to the local provider, when the > remote provider wants to write is the best solution all around and your best > bet to get support for it. > Right now, ggate does "intercept and redirect", but the concept of copy and > fall through is not that far away. Bringing the R1soft devs in contact with > the FreeBSD geom list and having them browse the sys/geom/ggate sources to > see how trivial it is to hook into filesystem operations would be the course > of action I'd recommend. > Would it be too much to ask if you can send this information to R1Soft and refer to the post I linked? I just dont think that I can be an efficient gateway of information here :) Thanks, Evren From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 00:16:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6EF410656A9 for ; Tue, 7 Oct 2008 00:16:08 +0000 (UTC) (envelope-from chris@vindaloo.com) Received: from corellia.vindaloo.com (corellia.vindaloo.com [64.51.148.100]) by mx1.freebsd.org (Postfix) with ESMTP id 85BA78FC1F for ; Tue, 7 Oct 2008 00:16:08 +0000 (UTC) (envelope-from chris@vindaloo.com) Received: from kessel.vindaloo.com (kessel.vindaloo.com [172.24.145.71]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by corellia.vindaloo.com (Postfix) with ESMTP id 6B55C5CC5; Mon, 6 Oct 2008 20:16:05 -0400 (EDT) From: Christopher Sean Hilton To: freebsd-questions@freebsd.org In-Reply-To: <200810062352.59473.fbsd.questions@rachie.is-a-geek.net> References: <26face530810061228g660203ebxe3e287f4e47c3b06@mail.gmail.com> <200810062352.59473.fbsd.questions@rachie.is-a-geek.net> Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Mon, 6 Oct 2008 20:16:04 -0400 X-Mailer: Apple Mail (2.929.2) Cc: Kelly Jones Subject: Re: Installing multiple ports quietly and efficiently X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 00:16:09 -0000 On Oct 6, 2008, at 5:52 PM, Mel wrote: > On Monday 06 October 2008 21:28:25 Kelly Jones wrote: >> Here's one way to install multiple FreeBSD ports "unattended" on a >> machine: >> >> cd /usr/port/foo/prog1; make install; cd/usr/ports/foo/prog2; make >> install >> >> and so on (perhaps even in a shell script). Two problems: >> >> % It's ugly. I'd prefer "cd /usr/ports; make foo/prog1 foo/prog2 ..." >> >> % "make install" often pops up windows asking me to choose >> configuration options, and hangs until I do so. > > As others said, BATCH turns off config target. But don't > clutter /etc/make.conf with stuff like that, cause you will forget > you put it > there. make -DBATCH is short enough to type. > It is however useful to inspect pkg-install files and set variables in > either /etc/make.conf or /etc/(profile|login.conf). For example > POSTFIX_DEFAULT_MTA will replace /etc/mail/mailer.conf when -DBATCH > is set. > Over time you'll pick up quite a few of these that save you doing > the same > thing all over. > Either one of: # cd /usr/ports/foo/bar; env BATCH=yes make install clean of # cd /usr/ports/foo/bar; make -DBATCH install clean will work. Both are cleaner than sticking "BATCH = yes" into /etc/ make.conf. You should watch out for three things here. 1. This writes files into the ports database (/var/db/ something...) that sets the configuration of the port the knobs so to speak. So building for example postfix this way will get you a postfix that doesn't have SASL or LDAP or whatever you may actually want. Effectively this sets all the ports "knobs" to the defaults. To chose the knobs on a particular port visit the directory and run make config: # cd /usr/ports/mail/postfix; make config Once you've got the port configured correctly you can run make clean; make deinstall; make install to build and reinstall it to your specs. 2. You may not get exactly want you want. In fact the process my stall in the middle because of conflicts. In the nicest case you will end up with multiple ports that do the same thing. Building postfix with LDAP support for example is likely to result in two copies of the Berkeley Database port being installed. This is okay if they don't conflict. The build will fail if they do. I've seen this a lot on things that need LDAP. Some ports want version 2.3 and others want version 2.4 To get past this you need to figure out which WITH__VER/WANT__VER variables you need to tweak and for that you will need to add to /etc/make.conf 3. You may not get all the pieces that you need. Note carefully that some ports are split into client and server pieces. This largely affects databases (MySQL / PostgreSQL). -- Chris Chris Hilton e: chris|at|vindaloo| dot|com ---------------------------------------------------------------------------- "The pattern juggler lifts his hand; The orchestra begin. As slowly turns the grinding wheel in the court of the crimson king." -- Ian McDonald / Peter Sinfield From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 00:53:27 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2951C106568B for ; Tue, 7 Oct 2008 00:53:27 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from aegis.hamla.org (aegis.hamla.org [206.251.255.39]) by mx1.freebsd.org (Postfix) with ESMTP id B43FC8FC13 for ; Tue, 7 Oct 2008 00:53:26 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from localhost (localhost [127.0.0.1]) by aegis.hamla.org (Postfix) with ESMTP id 0FF675C81 for ; Mon, 6 Oct 2008 20:54:00 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tandon.net; h= x-virus-scanned:in-reply-to:content-disposition:content-type :mime-version:references:reply-to:message-id:subject:from:date: received; s=aegis; t=1223340839; bh=eUPRQy1+mNzYr6x69OJl6i0wEzcd +SoGGFleP6nkx1k=; b=t+7b0N1Gpea2mkjTpxOyIdqz4OBLRXPeaARl1zAydFCg UNkqn4c8iCWJv+ejy5mbZ8Lv+a50spYXkPOFlX9uFWzbfl4IqWtOU3m6okr7elBL RsNfxCGPJArgsYJ9+20FQ3ktfbf0xlS8bDvftZhBRQ7IoRudzsHkHG4Bv5/tpnc= Received: from aegis.hamla.org ([127.0.0.1]) by localhost (aegis.hamla.org [127.0.0.1]) (amavisd-new, port 10027) with LMTP id CI-BBexSo4A8 for ; Mon, 6 Oct 2008 20:53:59 -0400 (EDT) Date: Mon, 6 Oct 2008 20:53:25 -0400 From: Sahil Tandon To: freebsd-questions@freebsd.org Message-ID: <20081007005325.GA12031@shepherd> References: <89ce7f740810052214k4419d939s8bb8ebce5e703626@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <89ce7f740810052214k4419d939s8bb8ebce5e703626@mail.gmail.com> X-Virus-Scanned: ClamAV version 0.94, clamav-milter version 0.94 on aegis.hamla.org X-Virus-Status: Clean Subject: Re: How to generate password hashes for vipw and chpass 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, 07 Oct 2008 00:53:27 -0000 Ivan Rambius Ivanov wrote: > Can you please show me how to generate the password hashes? There are many tools; I use security/makepasswd. -- Sahil Tandon From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 01:08:55 2008 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 0CB20106568E for ; Tue, 7 Oct 2008 01:08:55 +0000 (UTC) (envelope-from mksmith@adhost.com) Received: from mail-in06.adhost.com (mail-in06.adhost.com [216.211.128.136]) by mx1.freebsd.org (Postfix) with ESMTP id E2E9C8FC23 for ; Tue, 7 Oct 2008 01:08:54 +0000 (UTC) (envelope-from mksmith@adhost.com) Received: from ad-exh01.adhost.lan (exchange.adhost.com [216.211.143.69]) by mail-in06.adhost.com (Postfix) with ESMTP id 22098164889 for ; Mon, 6 Oct 2008 18:08:51 -0700 (PDT) (envelope-from mksmith@adhost.com) X-MimeOLE: Produced By Microsoft Exchange V6.5 MIME-Version: 1.0 x-pgp-encoding-format: MIME x-pgp-mapi-encoding-version: 2.5.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="PGP_Universal_AB35F3BA_A6AC416C_84C29CC4_6D34F9DB" x-pgp-encoding-version: 2.0.2 Content-class: urn:content-classes:message Date: Mon, 6 Oct 2008 18:08:50 -0700 Message-ID: <17838240D9A5544AAA5FF95F8D52031604BE2FC7@ad-exh01.adhost.lan> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FreeBSD as PF/Router/Firewall dying on the vine Thread-Index: AckoGT5ZH1TSXACaSACsSpE2qVEmeA== From: "Michael K. Smith - Adhost" To: Cc: Subject: FreeBSD as PF/Router/Firewall dying on the vine X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 01:08:55 -0000 --PGP_Universal_AB35F3BA_A6AC416C_84C29CC4_6D34F9DB Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: QUOTED-PRINTABLE Hello All: We have a load balanced pair of PF boxes sitting in front of a whole bunch = of server doing all manner of things! It's been working great up until tod= ay when it, well, didn't. Here's what I see in top -S. PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMM= AND 14 root 1 -44 -163 0K 8K CPU1 0 44:21 88.18% swi1= : net 11 root 1 171 52 0K 8K RUN 0 24:58 53.32% idle= : cpu0 10 root 1 171 52 0K 8K RUN 1 17:44 35.50% idle= : cpu1 24 root 1 -68 -187 0K 8K *Giant 0 5:30 11.62% irq1= 6: em2 uhci3 23 root 1 -68 -187 0K 8K WAIT 0 1:27 3.08% irq2= 5: em1 25 root 1 -68 -187 0K 8K WAIT 1 1:16 2.64% irq1= 7: em3 This is 6.3 with Intel 1000 Fiber and Copper interfaces, all using the 'em'= driver. Also, there are 15 VLAN's configured on one of the NIC's for subn= et separation. If anyone has any ideas I'm all ears. My google-fu is coming up empty with= the swi1: net=20 Thank You, Mike --PGP_Universal_AB35F3BA_A6AC416C_84C29CC4_6D34F9DB Content-Type: application/pgp-signature; name="PGP.sig" Content-Transfer-Encoding: 7BIT Content-Disposition: attachment; filename="PGP.sig" -----BEGIN PGP SIGNATURE----- Version: 9.9.0 (Build 397) iQEVAwUBSOq2ovTXQhZ+XcVAAQi1tQf/coJFsbCbc8F/A/2sPYCtwT5F8IXOyj0+ oUtCGCb+vlArh1pcu5r4Gr9YGbjXARTZSgdkJrEnVyjeAPpK635xBhLp8/MyC8Cu DJzj2fe9RzM2+cdetvZ2V9b2dpHmDInw13bFtZ4V0i4ayRIKxjbMByEq33FZSlVO /nIFH0/HT9128mjTd5WR3sgaCBllxfDg6U3tMX8BydpBO4W4Skk6EQABfVjcmui5 V1fi84uKLbDcYe8AombX/XjDWBTm7jICck3pA3iXdHXJ6jEDyb6dxF5j+IJ9KMpj 2a7XobeVjDgdMUwVgsXSlNRaK9yWAaxSny3p5InGqetIsMJzPiI8Yw== =KjJ5 -----END PGP SIGNATURE----- --PGP_Universal_AB35F3BA_A6AC416C_84C29CC4_6D34F9DB-- From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 01:32:38 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E37A10656A9 for ; Tue, 7 Oct 2008 01:32:38 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from k7.mavetju.org (ppp121-44-96-65.lns10.syd6.internode.on.net [121.44.96.65]) by mx1.freebsd.org (Postfix) with ESMTP id D0C908FC24 for ; Tue, 7 Oct 2008 01:32:37 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: by k7.mavetju.org (Postfix, from userid 1001) id 431F445039; Tue, 7 Oct 2008 12:13:13 +1100 (EST) Date: Tue, 7 Oct 2008 12:13:13 +1100 From: Edwin Groothuis To: freebsd-questions@FreeBSD.org Message-ID: <20081007011313.GA66422@mavetju.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081006190512.GA2010@thought.org> User-Agent: Mutt/1.4.2.3i Cc: Gary Kline Subject: what are the top few mp3[4] Podcast helpers-apps for firefox-3.03? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 01:32:38 -0000 > Even tho firefox3 doesn't do all that (I think) it should, my main use > for the web is listening to audio streams. So: what should I select to > be my default mp3/postcast player? Have a look at net/penguintv, I use it to track my podcasts. It can keep track of the feeds, download the media, and open it in the right player. Also it can be used to read other peoples pages (uses firefox libraries for the rendering), but I only use that for the Planet FreeBSD feed. Edwin -- Edwin Groothuis Website: http://www.mavetju.org/ edwin@mavetju.org Weblog: http://www.mavetju.org/weblog/ From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 02:40:24 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF8F71065686 for ; Tue, 7 Oct 2008 02:40:24 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 9EAFA8FC1A for ; Tue, 7 Oct 2008 02:40:24 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Kn2Up-0000jg-JK for freebsd-questions@freebsd.org; Mon, 06 Oct 2008 19:40:23 -0700 Message-ID: <19850089.post@talk.nabble.com> Date: Mon, 6 Oct 2008 19:40:23 -0700 (PDT) From: Xenophan To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: forums.office@gmail.com Subject: Help With [seemingly] Simple Problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 02:40:25 -0000 Alright, this is one of those moments when a normal person is forced to become terminal typing freak (sorry guys =)) against their will... I have a FreeBSD7 server box in my garage that serves the computers on my network with files. It has been a godsend: 2 1TB SATA drives raid-1'd and I have a peace of mind that all my files are secure in one place in the house that has doubled as my office. The box has basic non-gui install of FreeBSD7 and I access it through WinSCP from other boxes around the house. Voila! So easy! Well it was until I decided to bring some order to it - sort files in the right directories. This is usually a snap in XP, but UNIX would not allow things to be simple I guess: When I want to empty out few folders into another folder ("DUMP") and there are same files in both folders (one I am copying from (Downloads) and one I am moving them to(DUMP)) I get an error: [HTML]General failure (server should provide error description). Error code: 4 Error message from server: Failure Request code: 18[/HTML] My guess was that it found similar named files and flipped out only leaving me the options to skip or abort (I skipped). So I decided to do it through command line via Putty. Friend of mine suggested this command through bash:[HTML] mv Downloads/* .[/HTML] Effect was the same: I get a polite error notifying me that: : [HTML]FileName.extension: Directory not empty[/HTML] Whoopty do! XP would be nice enough to give me options: name of conflicting file; sizes; options: Abort, Overwrite, Skip These options are crucial because some files may have changed and I may want to rename the file and save it as a newer version while keeping the old one. I usually find this out by looking at the file sizes. Is there a way to do the same from command line? I asked my friend and he just said I will have to manually look all the information up (to compare) and delete or rename. This would be madness when I have to deal with hundreds or thousands of files...I would be sitting in front of the monitor for weeks just busy with one task. He also said "I''m sure you can write a script" I guess that's the best way to tell the noob to bug off. :mad: Please tell me if there is an easier way to approach my task. -- View this message in context: http://www.nabble.com/Help-With--seemingly--Simple-Problem-tp19850089p19850089.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 02:40:55 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 021F11065687 for ; Tue, 7 Oct 2008 02:40:55 +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 B89208FC20 for ; Tue, 7 Oct 2008 02:40:54 +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.2) with ESMTP id m972epV3006999 for ; Mon, 6 Oct 2008 19:40:53 -0700 (PDT) (envelope-from bri@brianwhalen.net) Message-ID: <48EACC36.60408@brianwhalen.net> Date: Mon, 06 Oct 2008 19:40:54 -0700 From: Brian User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <48E9E146.9040308@ispro.net.tr> <20081006173815.GA46342@slackbox.xs4all.nl> <1223317494.1307.13.camel@rivendell.lan> In-Reply-To: <1223317494.1307.13.camel@rivendell.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: continuous backup solution for 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, 07 Oct 2008 02:40:55 -0000 rsync via cron or raid? Brian From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 02:45:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16E521065688 for ; Tue, 7 Oct 2008 02:45:21 +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 DF07E8FC1A for ; Tue, 7 Oct 2008 02:45:20 +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.2) with ESMTP id m972jIEB007032 for ; Mon, 6 Oct 2008 19:45:20 -0700 (PDT) (envelope-from bri@brianwhalen.net) Message-ID: <48EACD41.3020309@brianwhalen.net> Date: Mon, 06 Oct 2008 19:45:21 -0700 From: Brian User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <48EA8D6E.5090107@kleppnett.no> In-Reply-To: <48EA8D6E.5090107@kleppnett.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: has anyone actually received a bsdmag ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 02:45:21 -0000 kenneth hatteland wrote: > Bought printed copy quite a while before the first release and have > gotten both released issues delivered flawlessly here in Norway. > I am very pleased with the magazine and recommend everyone to > subscribe. They were a bit slow to reply on emails but always comes > around at a later time....that is my experience so far. > > Kenneth Hatteland > _______________________________________________ > 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 had no idea there was a paper style bsd mag. Does it also address other BSDs? Brian From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 02:57:00 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA1031065692 for ; Tue, 7 Oct 2008 02:57:00 +0000 (UTC) (envelope-from gnemmi@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id 6D5558FC18 for ; Tue, 7 Oct 2008 02:57:00 +0000 (UTC) (envelope-from gnemmi@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so713137qwb.7 for ; Mon, 06 Oct 2008 19:56:59 -0700 (PDT) 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=qPedqVD1sersyHpcEg917NHcNwKxWbSeDF/pKq1h1zg=; b=DtOuu6WXC+7enNf/cmQT0By1+DSyACbidnpdPmSyJam8efSpsbPubCQRlv9yfaJdZm YTjN/zQCUtvIlDVu6ULw3XE8LPkLpTA98yvKQagzGjJbCNMxFYI25Lo83iK3ON9KhTPb mDJs9HwumeYjNRj562AdPhShYTpjH3ZiCKsYo= 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=uzJEOeIXT+EJEzKU1g/UYBhLh/uLL4FUHlKCMXL+pZHnN5zSfyf0V14ZBRSQEn3vUh B81TgniFngKQhb9M0mg3jACUW6/AkU/emPwOdx1GdsdrBYMeBTWUc9Lgy/wkpuJEIDtn UTLZrnPwWYbkQVuU4YIYjm9bw7AEDJsj+hmi8= Received: by 10.214.217.1 with SMTP id p1mr7304081qag.17.1223348219193; Mon, 06 Oct 2008 19:56:59 -0700 (PDT) Received: from 190-177-209-228.speedy.com.ar ([190.177.209.228]) by mx.google.com with ESMTPS id 34sm16885933yxm.0.2008.10.06.19.56.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 06 Oct 2008 19:56:58 -0700 (PDT) From: Gonzalo Nemmi To: freebsd-questions@freebsd.org Date: Mon, 6 Oct 2008 23:56:41 -0200 User-Agent: KMail/1.9.10 References: <48EA8D6E.5090107@kleppnett.no> <48EACD41.3020309@brianwhalen.net> In-Reply-To: <48EACD41.3020309@brianwhalen.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810062356.41369.gnemmi@gmail.com> Subject: Re: has anyone actually received a bsdmag ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 02:57:00 -0000 On Tuesday 07 October 2008 12:45:21 am Brian wrote: > kenneth hatteland wrote: > > Bought printed copy quite a while before the first release and have > > gotten both released issues delivered flawlessly here in Norway. > > I am very pleased with the magazine and recommend everyone to > > subscribe. They were a bit slow to reply on emails but always comes > > around at a later time....that is my experience so far. > > > > Kenneth Hatteland > > _______________________________________________ > > 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 had no idea there was a paper style bsd mag. Does it also address > other BSDs? > > Brian > > _______________________________________________ > 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" Yup ... it does .. Here you go: http://www.bsdmag.org/ -- Blessings Gonzalo Nemmi From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 02:22:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 864081065690 for ; Tue, 7 Oct 2008 02:22:01 +0000 (UTC) (envelope-from shroyer_phillip@yahoo.com) Received: from n31.bullet.mail.mud.yahoo.com (n31.bullet.mail.mud.yahoo.com [68.142.207.50]) by mx1.freebsd.org (Postfix) with SMTP id 430B28FC16 for ; Tue, 7 Oct 2008 02:22:01 +0000 (UTC) (envelope-from shroyer_phillip@yahoo.com) Received: from [68.142.200.221] by n31.bullet.mail.mud.yahoo.com with NNFMP; 07 Oct 2008 02:09:10 -0000 Received: from [68.142.201.72] by t9.bullet.mud.yahoo.com with NNFMP; 07 Oct 2008 02:09:10 -0000 Received: from [127.0.0.1] by omp424.mail.mud.yahoo.com with NNFMP; 07 Oct 2008 02:09:10 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 799694.72302.bm@omp424.mail.mud.yahoo.com Received: (qmail 35206 invoked by uid 60001); 7 Oct 2008 02:09:10 -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=RfAku39PPARM+0QKYaqaac/RAU3xDcneeu+by4dSkQXoFs1w3sZRKg4Gtw1G0X/NxXDtazQH0fzb+lm3RUusOd6BgtOJwOeRPLpBcRWIBjkdeQfzB+njYzoQKwQQf8cGFJxkcBQSOjfNU3HuyJNaHEDcxPz5h+Z15h9N2xqInGE=; X-YMail-OSG: SnRnvqMVM1mpgDoa5HcNPd52Xpgr8Dz.j8lPqYwOp6RC4f5i6zcWZxeROj3TYDCjtJyvj0OruoZ2vMYbBUnOkw7DLE6BFmRhvrC6W.9DpgTi.yycrg6GKsQ8aU7v6qbEan7eoQ-- Received: from [12.197.217.178] by web45712.mail.sp1.yahoo.com via HTTP; Mon, 06 Oct 2008 19:09:10 PDT X-Mailer: YahooMailRC/1096.28 YahooMailWebService/0.7.218.2 Date: Mon, 6 Oct 2008 19:09:10 -0700 (PDT) From: Phillip Shroyer To: freebsd-questions@FreeBSD.org MIME-Version: 1.0 Message-ID: <248776.34629.qm@web45712.mail.sp1.yahoo.com> X-Mailman-Approved-At: Tue, 07 Oct 2008 02:57:10 +0000 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: freebsd 7.0 mobile X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 02:22:01 -0000 i dont know whats going on but i cant get free bsd to run anything but a console on a micron transport gx+ laptop. it always says no drivers found for xserver. i have a s3 Savage/IX 16MB card that supports up to 1400x1050 and i dont know what else to do. please help me! Phil Shroyer From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 03:41:33 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BB37106569F for ; Tue, 7 Oct 2008 03:41:33 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from web57003.mail.re3.yahoo.com (web57003.mail.re3.yahoo.com [66.196.97.107]) by mx1.freebsd.org (Postfix) with SMTP id 1CC4F8FC18 for ; Tue, 7 Oct 2008 03:41:32 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: (qmail 59532 invoked by uid 60001); 7 Oct 2008 03:41:31 -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:Cc:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=e0Z0OWVPtItA30ttV0dLohCNV3KPi6pDeSJ8oWji3WVvPU8bn/Gt7JCJ9F/d0UOKzC11y7PxHStye93WoRKMhTqJ9QJQZigaGFNEh+Hzhw+6J6eIVzrrSpRqfz2sX7g/PQP7jGkMjnXZ/QUsJwUYzH1Snr6G/shuni92vh/P6go=; X-YMail-OSG: 8OjoUhkVM1k1D8Jr0CNAFkPgORXFQR7lgpOgKg9wXhYp3YB5uljSUsjoopnkz7rFnjEnwVsDTqNTEaozcDXHI8o53rs_yZMx.kOHS_jG8mvco1PHxV7qQ0Nj2i54nM2UIlb1gIxhtFvWTL3AGIhZJyvEt8Q- Received: from [220.255.7.193] by web57003.mail.re3.yahoo.com via HTTP; Mon, 06 Oct 2008 20:41:31 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Mon, 6 Oct 2008 20:41:31 -0700 (PDT) From: Unga To: Wojciech Puchar In-Reply-To: <20081006221523.P3921@wojtek.tensor.gdynia.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <830154.59280.qm@web57003.mail.re3.yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: TRUE realtime priority X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: unga888@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 03:41:33 -0000 --- On Tue, 10/7/08, Wojciech Puchar wrote: Hello Wojciech > is it possible on FreeBSD > Its soft RT. Try to use the latest ULE scheduler. > i run asterisk with realtime priority. it works perfectly > no matter how > much CPU is loaded by other non-telephony tasks. > > but with lots of VM pressure it starts to so... like like > tha..that... > > what causes it to behave like that and how to fix it. > VM (interrupt priority) runs higher priority than RT in FreeBSD. The interrupt priority preempts RT. To fix it, don't have any VM activity. Increase your RAM. > for example when lots of spam comes to server and lots of > resource hungry > spamassassin processes are spawned our calls starts to be > crappy. > > CPU load for asterisk rarely exceed few percent! > > i think having separate computer just for this is stupid, i > would do this > having no other choice, but can it be done without this. > When a postman deliver mail, do you check whether are they to you before accept or just blindly accept all and check later? :) Best regards Unga From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 04:30:12 2008 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 4C2751065689 for ; Tue, 7 Oct 2008 04:30:12 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) 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 EAB6D8FC1C for ; Tue, 7 Oct 2008 04:30:11 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA03.westchester.pa.mail.comcast.net ([76.96.62.27]) by QMTA02.westchester.pa.mail.comcast.net with comcast id PdaE1a00F0bG4ec52gViSH; Tue, 07 Oct 2008 04:29:42 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA03.westchester.pa.mail.comcast.net with comcast id PgWA1a0052P6wsM3PgWAqj; Tue, 07 Oct 2008 04:30:11 +0000 X-Authority-Analysis: v=1.0 c=1 a=D0AV-UwRPqkA:10 a=2r-4fn21iAMA:10 a=QycZ5dHgAAAA:8 a=W7yXHkkPs9pKP7nmZj4A:9 a=uteRCHPY8-WNx1mTXQRX9jZGTGgA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id D78F9C9419; Mon, 6 Oct 2008 21:30:09 -0700 (PDT) Date: Mon, 6 Oct 2008 21:30:09 -0700 From: Jeremy Chadwick To: "Michael K. Smith - Adhost" Message-ID: <20081007043009.GA38719@icarus.home.lan> References: <17838240D9A5544AAA5FF95F8D52031604BE2FC7@ad-exh01.adhost.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17838240D9A5544AAA5FF95F8D52031604BE2FC7@ad-exh01.adhost.lan> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: questions@freebsd.org Subject: Re: FreeBSD as PF/Router/Firewall dying on the vine X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 04:30:12 -0000 On Mon, Oct 06, 2008 at 06:08:50PM -0700, Michael K. Smith - Adhost wrote: > Hello All: > > We have a load balanced pair of PF boxes sitting in front of a whole bunch of server doing all manner of things! It's been working great up until today when it, well, didn't. Here's what I see in top -S. > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND > 14 root 1 -44 -163 0K 8K CPU1 0 44:21 88.18% swi1: net > 11 root 1 171 52 0K 8K RUN 0 24:58 53.32% idle: cpu0 > 10 root 1 171 52 0K 8K RUN 1 17:44 35.50% idle: cpu1 > 24 root 1 -68 -187 0K 8K *Giant 0 5:30 11.62% irq16: em2 uhci3 > 23 root 1 -68 -187 0K 8K WAIT 0 1:27 3.08% irq25: em1 > 25 root 1 -68 -187 0K 8K WAIT 1 1:16 2.64% irq17: em3 > > This is 6.3 with Intel 1000 Fiber and Copper interfaces, all using the 'em' driver. Also, there are 15 VLAN's configured on one of the NIC's for subnet separation. > > If anyone has any ideas I'm all ears. My google-fu is coming up empty with the swi1: net Can you explain what the problem is? -- | 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 Tue Oct 7 04:58:40 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14C9D106568A for ; Tue, 7 Oct 2008 04:58:40 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from k7.mavetju.org (ppp121-44-96-65.lns10.syd6.internode.on.net [121.44.96.65]) by mx1.freebsd.org (Postfix) with ESMTP id C869B8FC0C for ; Tue, 7 Oct 2008 04:58:39 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: by k7.mavetju.org (Postfix, from userid 1001) id 737E245039; Tue, 7 Oct 2008 15:57:57 +1100 (EST) Date: Tue, 7 Oct 2008 15:57:57 +1100 From: Edwin Groothuis To: freebsd-questions@FreeBSD.org Message-ID: <20081007045757.GA69017@mavetju.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081006221523.P3921@wojtek.tensor.gdynia.pl> User-Agent: Mutt/1.4.2.3i Cc: Wojciech Puchar Subject: TRUE realtime priority X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 04:58:40 -0000 > for example when lots of spam comes to server and lots of resource hungry > spamassassin processes are spawned our calls starts to be crappy. And that's why I always have isolated my telephony servers from normal-ISP tasks: They provide real-time tasks and should be running in memory only. Edwin -- Edwin Groothuis Website: http://www.mavetju.org/ edwin@mavetju.org Weblog: http://www.mavetju.org/weblog/ From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 05:09:54 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CD01106568A for ; Tue, 7 Oct 2008 05:09:54 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.224]) by mx1.freebsd.org (Postfix) with ESMTP id 357058FC15 for ; Tue, 7 Oct 2008 05:09:54 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so611074wra.27 for ; Mon, 06 Oct 2008 22:09:53 -0700 (PDT) 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 :content-transfer-encoding:content-disposition:references; bh=0yIOel3atYs8TMgQCaup5VmXvDomnIqR7SnJjJbPjIQ=; b=WZNW7DXRgxBpeC/Rr56m5u6Rx+A45ZUgg5wwsXF/8LusTrVlDX/efMpqpzcUIm1IJK Vdl3M9Oj/4ymE/dAIa11lDC7QyAUUWpNWnq33zFP5Fml+Z5EhLS1u3epJOQ1G6gNa9V1 lNZIlS77/F+uux8RrL4iXFHlMvF3btUHt8goU= 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:content-transfer-encoding:content-disposition :references; b=g3B+qwMktl/pK3I0td3VoE55+rWWjA9WQN4AZsHr8/U2k/FAXwkJ9nqlI4108OD0JU ZWFko4ePpZiqtzVLgJGFcku/lsweUuziVMjlc+XYDlpIBw9o7MHL5K4Iz/LKNi9cfT0o Sf3NAkR9t4UW4tWQjPEX8ogZHFbx2nf3vfMmU= Received: by 10.65.97.18 with SMTP id z18mr10148018qbl.83.1223356192952; Mon, 06 Oct 2008 22:09:52 -0700 (PDT) Received: by 10.64.112.18 with HTTP; Mon, 6 Oct 2008 22:09:52 -0700 (PDT) Message-ID: <94136a2c0810062209x7c1376d7gfe92ad91c4f8ccaa@mail.gmail.com> Date: Tue, 7 Oct 2008 07:09:52 +0200 From: "Zbigniew Szalbot" To: freebsd-questions In-Reply-To: <94136a2c0810060139r740c3a96hc9c79028e7b93a4d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <94136a2c0810060139r740c3a96hc9c79028e7b93a4d@mail.gmail.com> Subject: Re: update.FreeBSD.org / No mirrors remaining, giving up X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 05:09:54 -0000 Hi there, Any idea how I can troubleshoot it? Thanks! > Hello, > > I am not sure why but whenever I do: > > $ freebsd-update fetch > Fetching metadata signature for 7.0-RELEASE from update.FreeBSD.org... failed. > No mirrors remaining, giving up. > > but if type: > $ portsnap fetch > Fetching snapshot tag from portsnap.FreeBSD.org... done. > > Many thanks for any hint as to what may be wrong with > update.FreeBSD.org on this machine! > > -- > Zbigniew Szalbot > -- Zbigniew Szalbot From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 05:59:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBB421065687 for ; Tue, 7 Oct 2008 05:59:09 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.229]) by mx1.freebsd.org (Postfix) with ESMTP id 864318FC1C for ; Tue, 7 Oct 2008 05:59:09 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so613704wra.27 for ; Mon, 06 Oct 2008 22:59:08 -0700 (PDT) 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 :content-transfer-encoding:content-disposition:references; bh=ZXAlFC3hgSntgwfdEdOiPqHzRp8aB8aelqhcXnpg4Uk=; b=aAWh/RSCXyzWjqcuZo8BFgL4NHapKVGroAsGzZ8ErGWloArXwEv2BDqJSoWGiKflcY 38vDUevvUxQUiREflnWlfYWNCNjRGagrOEwtWVXc136ESdiy8mdYfdb0VFYtFUfr1Qd/ xXa2S7BERl22vtC9/xzsmfRpaOdn7Ag/6CqiA= 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:content-transfer-encoding:content-disposition :references; b=GgZLD2ypY3pT24muXCP8C6y/+1hdjLlB8qv+WtM2p1NMeZ2T19o5cazVHYjdszGK+D xQ2a2Pqy7WHvDZVynh8glh7vQNkN+dXW0DWEJx3pWnjHgvD9yTiN+UGAkUntf6rbwDTA abUSaNSPLIvl0RM+YJknC+eKOmwbhMeWswZdQ= Received: by 10.64.184.16 with SMTP id h16mr10172826qbf.47.1223359148597; Mon, 06 Oct 2008 22:59:08 -0700 (PDT) Received: by 10.64.112.18 with HTTP; Mon, 6 Oct 2008 22:59:08 -0700 (PDT) Message-ID: <94136a2c0810062259v754d2159w5d01e35b277d13e7@mail.gmail.com> Date: Tue, 7 Oct 2008 07:59:08 +0200 From: "Zbigniew Szalbot" To: freebsd-questions In-Reply-To: <94136a2c0810062209x7c1376d7gfe92ad91c4f8ccaa@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <94136a2c0810060139r740c3a96hc9c79028e7b93a4d@mail.gmail.com> <94136a2c0810062209x7c1376d7gfe92ad91c4f8ccaa@mail.gmail.com> Subject: Re: update.FreeBSD.org / No mirrors remaining, giving up X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 05:59:09 -0000 Hello, FYI. Solved. I changed update.freebsd.org with update1.freebsd.org in /etc/freebsd-update.con Thanks! ZS > Hi there, > > Any idea how I can troubleshoot it? Thanks! > >> Hello, >> >> I am not sure why but whenever I do: >> >> $ freebsd-update fetch >> Fetching metadata signature for 7.0-RELEASE from update.FreeBSD.org... failed. >> No mirrors remaining, giving up. >> >> but if type: >> $ portsnap fetch >> Fetching snapshot tag from portsnap.FreeBSD.org... done. >> >> Many thanks for any hint as to what may be wrong with >> update.FreeBSD.org on this machine! >> >> -- >> Zbigniew Szalbot >> > > > -- > Zbigniew Szalbot > -- Zbigniew Szalbot From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 06:47:54 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF7131065692 for ; Tue, 7 Oct 2008 06:47:54 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from mtumishi.cyberleo.net (mtumishi.cyberleo.net [69.72.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 8C1868FC1E for ; Tue, 7 Oct 2008 06:47:54 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from [172.16.44.14] (adsl-75-4-150-29.dsl.emhril.sbcglobal.net [75.4.150.29]) by mtumishi.cyberleo.net (Postfix) with ESMTPSA id A33C011EFC; Tue, 7 Oct 2008 02:47:53 -0400 (EDT) Message-ID: <48EB0618.6050903@cyberleo.net> Date: Tue, 07 Oct 2008 01:47:52 -0500 From: CyberLeo Kitsana User-Agent: Thunderbird 2.0.0.17 (X11/20081004) MIME-Version: 1.0 To: Laszlo Nagy References: <48EA0B4A.9080405@shopzeus.com> In-Reply-To: <48EA0B4A.9080405@shopzeus.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: VNC server embedded into Xorg 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: Tue, 07 Oct 2008 06:47:54 -0000 Laszlo Nagy wrote: > > Hi All, > > There was a port called net/vnc that contained a vnc.so file. That file > could be loaded into the Xorg server and then I was able to monitor the > X desktop with VNC. > > Now I'm using gnome, and gnome2-fifth-toe installs tightvnc. It > conflicts with net/vnc. So I cannot install net/vnc. What other options > I have to run an X server? > > The only extra wish is that the X server must be able to start > automatically, e.g. without logging into gnome. I need this because the > X server will be located at a distant location and I have to be able to > use it after a system restart. I use x11vnc (net/x11vnc), as it doesn't require loading anything into the X server itself--it's a standard X client. >From there, it wouldn't be difficult to hack together something that starts x11vnc when the X server starts up. XDM and GDM tend to store their X authority files in easy-to-find locations. -- 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 Tue Oct 7 07:18:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 841581065686 for ; Tue, 7 Oct 2008 07:18:28 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [194.62.233.102]) by mx1.freebsd.org (Postfix) with ESMTP id 3BE048FC14 for ; Tue, 7 Oct 2008 07:18:28 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from sp34.ipt.ru ([194.62.233.107] helo=bs1.sp34.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1Kn6pu-000M4E-CS; Tue, 07 Oct 2008 11:18:26 +0400 Received: from bsam by bs1.sp34.ru with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Kn6rS-0000Kc-5A; Tue, 07 Oct 2008 11:20:02 +0400 To: stevefranks@ieee.org References: <539c60b90810061455g19c6bbc2h98e97083e3d7a42f@mail.gmail.com> From: Boris Samorodov Date: Tue, 07 Oct 2008 11:20:02 +0400 In-Reply-To: <539c60b90810061455g19c6bbc2h98e97083e3d7a42f@mail.gmail.com> (Steve Franks's message of "Mon\, 6 Oct 2008 14\:55\:13 -0700") Message-ID: <72204541@bs1.sp34.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Mailing List Subject: Re: compat/linux program claims "no write access to ~" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 07:18:28 -0000 "Steve Franks" writes: > Sounds like a bogus error to me. I just downgraded amd64 to i386, > reinstalled a linux program and it claims it can't write to ~ now. > I'm running it, and I have no reason to think it wouldn't run as me. > ~ is 775 anyway. Also, running the linux program as su or sudo gives > the same error. Any ideas just where this might be coming from? I'm > on 7-STABLE, i386, linux-base-fc4. You may use ktrace/linux_kdump to find a culprit. BTW, make sure you don't have LINUXBASE/home/user as well as ~. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 07:48:24 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87D861065693 for ; Tue, 7 Oct 2008 07:48:24 +0000 (UTC) (envelope-from karolina.lesinska@lpmagazine.org) Received: from software.serwery.pl (aki239.rev.netart.pl [85.128.139.239]) by mx1.freebsd.org (Postfix) with ESMTP id 012848FC26 for ; Tue, 7 Oct 2008 07:48:23 +0000 (UTC) (envelope-from karolina.lesinska@lpmagazine.org) Received: from sk49-04-07.software (ns.software.com.pl [62.111.243.82]) (authenticated bits=0) by software.serwery.pl (8.13.8/8.13.8) with ESMTP id m977Pbir010975 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Tue, 7 Oct 2008 09:25:38 +0200 From: Karolina =?utf-8?q?Lesi=C5=84ska?= To: craig001@lerwick.hopto.org, freebsd-questions@freebsd.org Date: Tue, 7 Oct 2008 09:25:36 +0200 User-Agent: KMail/1.9.5 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200810070925.37103.karolina.lesinska@lpmagazine.org> Cc: Subject: BSD mag X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 07:48:24 -0000 Dear Craig, Thanks for your interest in BSD mag and sorry for all inconviniences. I have checked your subscription status. You have subscribed on September=20 18th, and the issues were sent on September 22nd. You should have the mags any day now. Let me know in case you do not have t= hem=20 till Friday and I will send it once again. Could you please send your address again- just in case there are some=20 mistakes. Thanks and once again sorry for all toubles! best regards Karolina =2D-=20 Linux+ DVD BSD magazine Karolina Lesi=C5=84ska=20 Product Manager=20 /////////////////////////////////////////////// Software Media LLC 1521 Concord Pike, Suite 301 Brandywine Executive Center Wilmington, DE 19803 USA phone number: 1-917-338 - 3631 fax: +48 22 244 24 59 www.lpmagazine.org/en www.bsdmag.org http://www.buyitpress.com/en/ From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 07:56:07 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 951271065695 for ; Tue, 7 Oct 2008 07:56:07 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from k7.mavetju.org (ppp121-44-96-65.lns10.syd6.internode.on.net [121.44.96.65]) by mx1.freebsd.org (Postfix) with ESMTP id 47A9F8FC0A for ; Tue, 7 Oct 2008 07:56:07 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: by k7.mavetju.org (Postfix, from userid 1001) id C96C345039; Tue, 7 Oct 2008 18:55:24 +1100 (EST) Date: Tue, 7 Oct 2008 18:55:24 +1100 From: Edwin Groothuis To: freebsd-questions@FreeBSD.org Message-ID: <20081007075524.GA72002@mavetju.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <94136a2c0810060139r740c3a96hc9c79028e7b93a4d@mail.gmail.com> User-Agent: Mutt/1.4.2.3i Cc: Zbigniew Szalbot Subject: update.FreeBSD.org / No mirrors remaining, giving up X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 07:56:07 -0000 > $ freebsd-update fetch > Fetching metadata signature for 7.0-RELEASE from update.FreeBSD.org... failed. > No mirrors remaining, giving up. I've heard this before and it is caused by resolvers (most likely your router?) which don't understand requests for SRV records. Use your ISPs nameservers instead of your router and it should be fine. Edwin -- Edwin Groothuis Website: http://www.mavetju.org/ edwin@mavetju.org Weblog: http://www.mavetju.org/weblog/ From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 07:59:16 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDB551065687 for ; Tue, 7 Oct 2008 07:59:16 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.236]) by mx1.freebsd.org (Postfix) with ESMTP id A8C5B8FC0A for ; Tue, 7 Oct 2008 07:59:16 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so621511wra.27 for ; Tue, 07 Oct 2008 00:59:16 -0700 (PDT) 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 :content-transfer-encoding:content-disposition:references; bh=EfnvPMouuUmvYLmykXic2qGBLRz134j5OGgeMRoeYqg=; b=Z7bslh9aJQntCVAKpar0BBfaTN1RklRarebcPIKOXzgQZ4sghDG4D5Bg35FicPjHQW WM4hHC85ASf/oT/9obNVmJ/XhbS++W3GDPLEeDXrKjVG0nokB673ni903cq0PMMw9U+o F1ZMDdkHt06rs57h/xiS6JV7jnxFQoDUngjKg= 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:content-transfer-encoding:content-disposition :references; b=tfKb4h9QP/syYuqMT0Yy98CNLL3dljgiaC1J+9r6ZdfnNnr2NrqK6THFTlo1bRy0g1 aQO1XKa6XxaFoVIqcdnNFBIK2VFMWFc7tdve3A+2ed/l5khdkX54+MWgdd6HiewXq+hs d5GnPaCs82t2sF9tORxgjHDIRB5xCAMPoIUrc= Received: by 10.64.184.16 with SMTP id h16mr10393551qbf.47.1223366355735; Tue, 07 Oct 2008 00:59:15 -0700 (PDT) Received: by 10.64.112.18 with HTTP; Tue, 7 Oct 2008 00:59:15 -0700 (PDT) Message-ID: <94136a2c0810070059i297172b9la05c37befc8ae3e6@mail.gmail.com> Date: Tue, 7 Oct 2008 09:59:15 +0200 From: "Zbigniew Szalbot" To: freebsd-questions In-Reply-To: <20081007075524.GA72002@mavetju.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <94136a2c0810060139r740c3a96hc9c79028e7b93a4d@mail.gmail.com> <20081007075524.GA72002@mavetju.org> Subject: Re: update.FreeBSD.org / No mirrors remaining, giving up X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 07:59:17 -0000 Hi, 2008/10/7 Edwin Groothuis: >> $ freebsd-update fetch >> Fetching metadata signature for 7.0-RELEASE from update.FreeBSD.org... failed. >> No mirrors remaining, giving up. > > I've heard this before and it is caused by resolvers (most likely > your router?) which don't understand requests for SRV records. > > Use your ISPs nameservers instead of your router and it should be > fine. This issue and its fix have been described here: http://www.nabble.com/misc-127498:-update.freebsd.org-does-not-exist-td19572945.html I was already using my ISP nameserver so it was not the problem. -- Zbigniew Szalbot From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 08:32:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC1501065691 for ; Tue, 7 Oct 2008 08:32:14 +0000 (UTC) (envelope-from craig001@lerwick.hopto.org) Received: from lerwick.hopto.org (81-178-20-70.dsl.pipex.com [81.178.20.70]) by mx1.freebsd.org (Postfix) with SMTP id D75788FC1B for ; Tue, 7 Oct 2008 08:32:13 +0000 (UTC) (envelope-from craig001@lerwick.hopto.org) Received: (qmail 53480 invoked by uid 98); 7 Oct 2008 09:30:01 +0100 Received: from 192.168.0.2 by polaris.lerwick.hopto.org (envelope-from , uid 82) with qmail-scanner-2.01 (clamdscan: 0.88.4/1789. hbedv: 7.1.1.11/6.35.1.178. f-prot: 4.6.6/3.16.14. spamassassin: 3.1.4. Clear:RC:1(192.168.0.2):. Processed in 0.038167 secs); 07 Oct 2008 08:30:01 -0000 Received: from main.lerwick.hopto.org (HELO ?192.168.0.2?) (192.168.0.2) by lerwick.hopto.org with SMTP; 7 Oct 2008 09:30:01 +0100 From: Craig Butler To: freebsd-questions In-Reply-To: <200810070925.37103.karolina.lesinska@lpmagazine.org> References: <200810070925.37103.karolina.lesinska@lpmagazine.org> Content-Type: text/plain; charset=iso-8859-2 Date: Tue, 07 Oct 2008 09:32:02 +0100 Message-Id: <1223368322.52193.17.camel@main.lerwick.hopto.org> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Subject: Re: BSD mag X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 08:32:14 -0000 On Tue, 2008-10-07 at 09:25 +0200, Karolina Lesiñska wrote: > Dear Craig, > > Thanks for your interest in BSD mag and sorry for all inconviniences. > > I have checked your subscription status. You have subscribed on September > 18th, and the issues were sent on September 22nd. > > You should have the mags any day now. Let me know in case you do not have them > till Friday and I will send it once again. > > Could you please send your address again- just in case there are some > mistakes. > > Thanks and once again sorry for all toubles! > > best regards > Karolina > Hi Karolina Thank you for the reply. I have sent you an email off list with my address details in. Hopefully I can be a happy BSD mag reader soon. Kind Regards Craig Butler From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 09:16:55 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A5961065694 for ; Tue, 7 Oct 2008 09:16:55 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 29B2E8FC19 for ; Tue, 7 Oct 2008 09:16:53 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m979Gn3b005867; Tue, 7 Oct 2008 11:16:49 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m979GmR4005859; Tue, 7 Oct 2008 11:16:48 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Tue, 7 Oct 2008 11:16:48 +0200 (CEST) From: Wojciech Puchar To: Edwin Groothuis In-Reply-To: <20081007045757.GA69017@mavetju.org> Message-ID: <20081007111631.W5855@wojtek.tensor.gdynia.pl> References: <20081007045757.GA69017@mavetju.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: TRUE realtime priority X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 09:16:55 -0000 >> for example when lots of spam comes to server and lots of resource hungry >> spamassassin processes are spawned our calls starts to be crappy. > > And that's why I always have isolated my telephony servers from > normal-ISP tasks: They provide real-time tasks and should be running > in memory only. i know that but it's not an answer to my question anyway. From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 09:18:38 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 075B31065690 for ; Tue, 7 Oct 2008 09:18:38 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 2816F8FC0C for ; Tue, 7 Oct 2008 09:18:36 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m979IYhc005888; Tue, 7 Oct 2008 11:18:34 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m979IW46005885; Tue, 7 Oct 2008 11:18:34 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Tue, 7 Oct 2008 11:18:32 +0200 (CEST) From: Wojciech Puchar To: Roland Smith In-Reply-To: <20081006215749.GA68933@slackbox.xs4all.nl> Message-ID: <20081007111712.X5855@wojtek.tensor.gdynia.pl> References: <20081006221523.P3921@wojtek.tensor.gdynia.pl> <20081006215749.GA68933@slackbox.xs4all.nl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: TRUE realtime priority X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 09:18:38 -0000 > Well, basically you are the only one who can answer that. And that's not > a paradox or an attempt at humor. You should investigate. Maybe > interrupts aren't processed fast enough (hardware sharing an > interrupt?), or memory or kernel resources are low. well last night i tested it with SCHED_4BSD instead of sched_ule, reduced quantum to 20000 from 100000 and for now - no voice chopping under high load. but i will test it more. From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 09:20:57 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A80C2106568D for ; Tue, 7 Oct 2008 09:20:57 +0000 (UTC) (envelope-from mcoyles@horbury.wakefield.sch.uk) Received: from smtp1-wak.yhgfl.net (smtp3-wak-ext.yhgfl.net [89.207.208.42]) by mx1.freebsd.org (Postfix) with ESMTP id 27F328FC31 for ; Tue, 7 Oct 2008 09:20:56 +0000 (UTC) (envelope-from mcoyles@horbury.wakefield.sch.uk) Received: from horbury.wakefield.sch.uk ([10.126.96.34]) by smtp1-wak.yhgfl.net (8.13.8/8.13.8/Debian-3) with ESMTP id m979Keoc002865 for ; Tue, 7 Oct 2008 10:20:41 +0100 Received: from ITTEAM02 [10.126.96.253] by horbury.wakefield.sch.uk with ESMTP (SMTPD32-7.07) id A9E3C840088; Tue, 07 Oct 2008 10:20:35 +0100 From: "Marc Coyles" To: Date: Tue, 7 Oct 2008 10:20:32 +0100 Message-ID: <003001c9285d$f2a3a410$d7eaec30$@wakefield.sch.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AckoXfKORgJvVNtbQLmJgnGOlfREeA== Content-Language: en-gb X-YHGfL-MailScanner-Information: Please contact the YHGfL Foundation for more information X-YHGfL-MailScanner: Found to be clean X-YHGfL-MailScanner-MCPCheck: MCP-Clean, MCP-Checker (score=0, required 0.5) X-YHGfL-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.399, required 5, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60) X-MailScanner-From: mcoyles@horbury.wakefield.sch.uk Subject: Script works fine from CLI, but not when Cron'd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mcoyles@horbury.wakefield.sch.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 09:20:57 -0000 I've got a script to backup my MySQL databases, which works absolutely fine from the command line, but when I add it in to root's cronjobs it always fails with "mysqldump: not found" - what am I doing wrong? Script as follows: #!/bin/sh USER= PASS= mysqldump --opt -h localhost -u $USER -p$PASS horbury_dppd06 >/home/horbury/backup_mysql/dppd06.sql And that's it... When run as root from CLI, works with no errors. When run from cron as root, get the "not found" problem. Marc A Coyles - Horbury School ICT Support Team Mbl: 07850 518106 Land: 01924 282740 ext 730 Helpdesk: 01924 282740 ext 2000 From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 09:28:24 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DAC3B10656CA for ; Tue, 7 Oct 2008 09:28:23 +0000 (UTC) (envelope-from jamesoff@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.234]) by mx1.freebsd.org (Postfix) with ESMTP id 898AA8FC4B for ; Tue, 7 Oct 2008 09:28:23 +0000 (UTC) (envelope-from jamesoff@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so627743wra.27 for ; Tue, 07 Oct 2008 02:28:22 -0700 (PDT) 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=YUcaFELJxyDSeGmlI4gjN1kj4a3YRNaemrhWAU6Z+HQ=; b=OMmWnvlKmgsR8jIGxdilQgNxqAxRD8fqotNo4v9Fb3R9XN031GTGUU/eatktTt7GRG Zo4h6q8kDyEfRGqvEPRTcfP5+dinh6P5j6GNygVFtV5p3NgPL9OronePbicjkc1O4rDU g8dJCbvg8uPW5HDD3vxZ8WOO/IhPGA2QyvOJg= 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=ixqDDyDzENR5+DpJlFgfzfS/4aQBBP0XrgblTGRKpGqDYdP82nbvXEREdLkVbX5ZOs EVMiK/TZ0kGdZL4BnvaHAmiwOC15pWvMq04McHxoGmMsS/VQl+Rz69PnNvxyHeW7ibII xWz/xdmYdRDfbmp3euGMxoxeOHYluiGVYYDiU= Received: by 10.150.12.3 with SMTP id 3mr9483194ybl.16.1223371702280; Tue, 07 Oct 2008 02:28:22 -0700 (PDT) Received: by 10.65.132.10 with HTTP; Tue, 7 Oct 2008 02:28:22 -0700 (PDT) Message-ID: <720051dc0810070228o68f0a67bx8cab7869ace8269f@mail.gmail.com> Date: Tue, 7 Oct 2008 10:28:22 +0100 From: "James Seward" To: mcoyles@horbury.wakefield.sch.uk In-Reply-To: <003001c9285d$f2a3a410$d7eaec30$@wakefield.sch.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <003001c9285d$f2a3a410$d7eaec30$@wakefield.sch.uk> Cc: freebsd-questions@freebsd.org Subject: Re: Script works fine from CLI, but not when Cron'd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 09:28:28 -0000 On Tue, Oct 7, 2008 at 10:20 AM, Marc Coyles wrote: > I've got a script to backup my MySQL databases, which works absolutely > fine from the command line, but when I add it in to root's cronjobs it > always fails with "mysqldump: not found" - what am I doing wrong? Things started from cron inherit a different PATH. Either add the appropriate directories to PATH or specify the full path to mysqldump. -- /JMS From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 09:30:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D8051065686 for ; Tue, 7 Oct 2008 09:30:52 +0000 (UTC) (envelope-from craig001@lerwick.hopto.org) Received: from lerwick.hopto.org (81-178-20-70.dsl.pipex.com [81.178.20.70]) by mx1.freebsd.org (Postfix) with SMTP id 58A298FC19 for ; Tue, 7 Oct 2008 09:30:50 +0000 (UTC) (envelope-from craig001@lerwick.hopto.org) Received: (qmail 65147 invoked by uid 98); 7 Oct 2008 10:28:37 +0100 Received: from 192.168.0.2 by polaris.lerwick.hopto.org (envelope-from , uid 82) with qmail-scanner-2.01 (clamdscan: 0.88.4/1789. hbedv: 7.1.1.11/6.35.1.178. f-prot: 4.6.6/3.16.14. spamassassin: 3.1.4. Clear:RC:1(192.168.0.2):. Processed in 6.865735 secs); 07 Oct 2008 09:28:37 -0000 Received: from main.lerwick.hopto.org (HELO ?192.168.0.2?) (192.168.0.2) by lerwick.hopto.org with SMTP; 7 Oct 2008 10:28:30 +0100 From: Craig Butler To: mcoyles@horbury.wakefield.sch.uk In-Reply-To: <003001c9285d$f2a3a410$d7eaec30$@wakefield.sch.uk> References: <003001c9285d$f2a3a410$d7eaec30$@wakefield.sch.uk> Content-Type: text/plain Date: Tue, 07 Oct 2008 10:30:25 +0100 Message-Id: <1223371831.54577.3.camel@main.lerwick.hopto.org> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Script works fine from CLI, but not when Cron'd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 09:30:52 -0000 On Tue, 2008-10-07 at 10:20 +0100, Marc Coyles wrote: > I've got a script to backup my MySQL databases, which works absolutely > fine from the command line, but when I add it in to root's cronjobs it > always fails with "mysqldump: not found" - what am I doing wrong? > > Script as follows: > > #!/bin/sh > USER= > PASS= > > mysqldump --opt -h localhost -u $USER -p$PASS horbury_dppd06 > >/home/horbury/backup_mysql/dppd06.sql > > > And that's it... > When run as root from CLI, works with no errors. When run from cron as > root, get the "not found" problem. > > > Marc A Coyles - Horbury School ICT Support Team > Mbl: 07850 518106 > Land: 01924 282740 ext 730 > Helpdesk: 01924 282740 ext 2000 > > > > > _______________________________________________ > 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" When it is run from cron it is not picking up the shell .profile so PATH is not set. As mysqldump is sitting in a directory in one of the paths (/usr/local/bin ??) Quick fix use full path details in the mysqldump line. Or Source in a .profile .... to set the paths. Regards Craig B From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 09:31:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C822F1065693 for ; Tue, 7 Oct 2008 09:31:09 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA01.emeryville.ca.mail.comcast.net (qmta01.emeryville.ca.mail.comcast.net [76.96.30.16]) by mx1.freebsd.org (Postfix) with ESMTP id AC3F58FC26 for ; Tue, 7 Oct 2008 09:31:09 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA08.emeryville.ca.mail.comcast.net ([76.96.30.12]) by QMTA01.emeryville.ca.mail.comcast.net with comcast id PlW21a0030FhH24A1lWccu; Tue, 07 Oct 2008 09:30:36 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA08.emeryville.ca.mail.comcast.net with comcast id PlX71a0062P6wsM8UlX8dJ; Tue, 07 Oct 2008 09:31:08 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=T5h7DEUWqRn6xUIrzcIA:9 a=sdCARNH2IuloeoqttePldmSMCZ8A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 76015C9419; Tue, 7 Oct 2008 02:31:07 -0700 (PDT) Date: Tue, 7 Oct 2008 02:31:07 -0700 From: Jeremy Chadwick To: Wojciech Puchar Message-ID: <20081007093107.GA44339@icarus.home.lan> References: <20081006221523.P3921@wojtek.tensor.gdynia.pl> <20081006215749.GA68933@slackbox.xs4all.nl> <20081007111712.X5855@wojtek.tensor.gdynia.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081007111712.X5855@wojtek.tensor.gdynia.pl> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Roland Smith , freebsd-questions@freebsd.org Subject: Re: TRUE realtime priority X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 09:31:09 -0000 On Tue, Oct 07, 2008 at 11:18:32AM +0200, Wojciech Puchar wrote: >> Well, basically you are the only one who can answer that. And that's not >> a paradox or an attempt at humor. You should investigate. Maybe >> interrupts aren't processed fast enough (hardware sharing an >> interrupt?), or memory or kernel resources are low. > > well last night i tested it with SCHED_4BSD instead of sched_ule, reduced > quantum to 20000 from 100000 and for now - no voice chopping under high > load. but i will test it more. What version of FreeBSD are you using for this? Yes, it matters. -- | 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 Tue Oct 7 09:32:27 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 853701065688 for ; Tue, 7 Oct 2008 09:32:27 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA02.emeryville.ca.mail.comcast.net (qmta02.emeryville.ca.mail.comcast.net [76.96.30.24]) by mx1.freebsd.org (Postfix) with ESMTP id 6A3748FC2D for ; Tue, 7 Oct 2008 09:32:27 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA08.emeryville.ca.mail.comcast.net ([76.96.30.12]) by QMTA02.emeryville.ca.mail.comcast.net with comcast id Pl7H1a00A0FhH24A2lYTNP; Tue, 07 Oct 2008 09:32:27 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA08.emeryville.ca.mail.comcast.net with comcast id PlYS1a0092P6wsM8UlYSp7; Tue, 07 Oct 2008 09:32:26 +0000 X-Authority-Analysis: v=1.0 c=1 a=ESj1TDIVQCsA:10 a=IjFfP5vsGDcA:10 a=QycZ5dHgAAAA:8 a=7WhpFyW4ZQ5IIfwUSG4A:9 a=EZ4-eNBnxVkAuUqzbOsA:7 a=qd5X19CdS4xneQt_YyfXio9VpSsA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 270C2C9419; Tue, 7 Oct 2008 02:32:26 -0700 (PDT) Date: Tue, 7 Oct 2008 02:32:26 -0700 From: Jeremy Chadwick To: Marc Coyles Message-ID: <20081007093226.GA44366@icarus.home.lan> References: <003001c9285d$f2a3a410$d7eaec30$@wakefield.sch.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <003001c9285d$f2a3a410$d7eaec30$@wakefield.sch.uk> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Script works fine from CLI, but not when Cron'd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 09:32:27 -0000 On Tue, Oct 07, 2008 at 10:20:32AM +0100, Marc Coyles wrote: > I've got a script to backup my MySQL databases, which works absolutely > fine from the command line, but when I add it in to root's cronjobs it > always fails with "mysqldump: not found" - what am I doing wrong? mysqldump is in /usr/local/bin, which $PATH does not contain when running from a cronjob. (PATH inside of cron has a very limited scope, I believe it's /bin:/usr/bin). Either set PATH to include /usr/local/bin, or just refer to the fully-qualified path of mysqldump (/usr/local/bin/mysqldump). -- | 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 Tue Oct 7 10:04:46 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98BA0106568F for ; Tue, 7 Oct 2008 10:04:46 +0000 (UTC) (envelope-from artemrts@ukr.net) Received: from sonic.ukr.net (sonic.ukr.net [195.214.192.5]) by mx1.freebsd.org (Postfix) with ESMTP id 52F198FC1F for ; Tue, 7 Oct 2008 10:04:46 +0000 (UTC) (envelope-from artemrts@ukr.net) Received: from mail by sonic.ukr.net with local ID 1Kn91s-000Mkd-SV for freebsd-questions@freebsd.org; Tue, 07 Oct 2008 12:38:56 +0300 MIME-Version: 1.0 To: freebsd-questions@freebsd.org From: "Vitaliy Vladimirovich" X-Life: is great, enjoy it! X-Mailer: freemail.ukr.net mPOP 3.5.1 X-Originating-Ip: [194.0.148.10] X-Browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.17) Gecko/20080829 Firefox/2.0.0.17 Message-Id: Date: Tue, 07 Oct 2008 12:38:56 +0300 X-UkrNet-Flag: 1 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 8bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Unable install FreeBSD7 on IBM BladeCenter HS21 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 10:04:46 -0000 Hello!  I have problem in installation FreeBSD on the blade. After the beginning of copying of files there is an error:   /: write failed, filesystem is full Disk In what problem? TIA. From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 10:28:04 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2E2A1065691; Tue, 7 Oct 2008 10:28:04 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id C35E98FC20; Tue, 7 Oct 2008 10:28:03 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m97AS0kh006280; Tue, 7 Oct 2008 12:28:00 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m97ARxFY006277; Tue, 7 Oct 2008 12:28:00 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Tue, 7 Oct 2008 12:27:59 +0200 (CEST) From: Wojciech Puchar To: Jeremy Chadwick In-Reply-To: <20081007093107.GA44339@icarus.home.lan> Message-ID: <20081007122658.D6274@wojtek.tensor.gdynia.pl> References: <20081006221523.P3921@wojtek.tensor.gdynia.pl> <20081006215749.GA68933@slackbox.xs4all.nl> <20081007111712.X5855@wojtek.tensor.gdynia.pl> <20081007093107.GA44339@icarus.home.lan> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Roland Smith , freebsd-questions@FreeBSD.org Subject: Re: TRUE realtime priority X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 10:28:04 -0000 >> quantum to 20000 from 100000 and for now - no voice chopping under high >> load. but i will test it more. > > What version of FreeBSD are you using for this? Yes, it matters. 7.0 please give me few days to make more precise reports from my users and me being on place today (not just testing this through echo). From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 10:32:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 978521065689 for ; Tue, 7 Oct 2008 10:32:58 +0000 (UTC) (envelope-from Rajeshwar.Patil@aricent.com) Received: from jaguar.aricent.com (jaguar.aricent.com [125.21.164.247]) by mx1.freebsd.org (Postfix) with ESMTP id AEEF28FC14 for ; Tue, 7 Oct 2008 10:32:57 +0000 (UTC) (envelope-from Rajeshwar.Patil@aricent.com) Received: from jaguar.aricent.com (localhost [127.0.0.1]) by jaguar.aricent.com (8.13.8/8.13.8) with ESMTP id m97A0h9J002443 for ; Tue, 7 Oct 2008 15:30:43 +0530 Received: from GUREXHT02.ASIAN.AD.ARICENT.COM (gurexht02.asian.ad.aricent.com [10.203.171.138]) by jaguar.aricent.com (8.13.8/8.13.8) with ESMTP id m97A0gIg002383 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=FAIL) for ; Tue, 7 Oct 2008 15:30:43 +0530 Received: from GUREXMB02.asian.ad.aricent.com ([10.203.171.132]) by GUREXHT02.ASIAN.AD.ARICENT.COM ([10.203.171.138]) with mapi; Tue, 7 Oct 2008 15:34:42 +0530 From: Rajeshwar Patil To: "freebsd-questions@freebsd.org" Date: Tue, 7 Oct 2008 15:34:41 +0530 Thread-Topic: sleep is not working to avoid starvation among threads of same priority Thread-Index: AckoZB1+/Ij1ACkVT3eof7fs00ZyXA== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Ramachandran Sathyanarayanan Subject: sleep is not working to avoid starvation among threads of same priority X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 10:32:58 -0000 Hi, I have two threads of same priority lets say thread A and thread B, thread = A is starving since thread B has got a for loop of size 100k. So, to avoid = starvation I am processing 1000 iterations of for loop(that of thread B) in= one batch and giving sleep of 1ms, but still thread A is starving. If I in= crease the batch size used in for loop from 1k to 10k then starvation of th= read A is little less whereas it should be more as Im increasing processing= time of thread B. I tried various combinations of sleeps and batches, but = I couldnt solve the starvation of thread A. Is the sleep right solution? I will be grateful if someone could answer on this. Thanks Rajeshwar ________________________________ "DISCLAIMER: This message is proprietary to Aricent and is intended solely = for the use of the individual to whom it is addressed. It may contain privi= leged or confidential information and should not be circulated or used for = any purpose other than for what it is intended. If you have received this m= essage in error,please notify the originator immediately. If you are not th= e intended recipient, you are notified that you are strictly prohibited fro= m using, copying, altering, or disclosing the contents of this message. Ari= cent accepts no responsibility for loss or damage arising from the use of t= he information transmitted by this email including damage from virus." From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 10:33:00 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CEE61065688 for ; Tue, 7 Oct 2008 10:33:00 +0000 (UTC) (envelope-from Rajeshwar.Patil@aricent.com) Received: from jaguar.aricent.com (jaguar.aricent.com [125.21.164.247]) by mx1.freebsd.org (Postfix) with ESMTP id B9AB68FC15 for ; Tue, 7 Oct 2008 10:32:59 +0000 (UTC) (envelope-from Rajeshwar.Patil@aricent.com) Received: from jaguar.aricent.com (localhost [127.0.0.1]) by jaguar.aricent.com (8.13.8/8.13.8) with ESMTP id m97A2LSX003293 for ; Tue, 7 Oct 2008 15:32:21 +0530 Received: from GUREXHT02.ASIAN.AD.ARICENT.COM (gurexht02.asian.ad.aricent.com [10.203.171.138]) by jaguar.aricent.com (8.13.8/8.13.8) with ESMTP id m97A2L50003211 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=FAIL) for ; Tue, 7 Oct 2008 15:32:21 +0530 Received: from GUREXMB02.asian.ad.aricent.com ([10.203.171.132]) by GUREXHT02.ASIAN.AD.ARICENT.COM ([10.203.171.138]) with mapi; Tue, 7 Oct 2008 15:36:21 +0530 From: Rajeshwar Patil To: "freebsd-questions@freebsd.org" Date: Tue, 7 Oct 2008 15:36:21 +0530 Thread-Topic: sleep is not working to avoid starvation among threads of same priority Thread-Index: AckoZFjwx1hc0ptOQfe07GpuldRJxQ== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Rajeshwar Patil , Ramachandran Sathyanarayanan Subject: sleep is not working to avoid starvation among threads of same priority X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 10:33:00 -0000 Hi, I have two threads of same priority lets say thread A and thread B, thread = A is starving since thread B has got a for loop of size 100k. So, to avoid = starvation I am processing 1000 iterations of for loop(that of thread B) in= one batch and giving sleep of 1ms, but still thread A is starving. If I in= crease the batch size used in for loop from 1k to 10k then starvation of th= read A is little less whereas it should be more as Im increasing processing= time of thread B. I tried various combinations of sleeps and batches, but = I couldnt solve the starvation of thread A. Is the sleep right solution? I will be grateful if someone could answer on this. Thanks Rajeshwar ________________________________ "DISCLAIMER: This message is proprietary to Aricent and is intended solely = for the use of the individual to whom it is addressed. It may contain privi= leged or confidential information and should not be circulated or used for = any purpose other than for what it is intended. If you have received this m= essage in error,please notify the originator immediately. If you are not th= e intended recipient, you are notified that you are strictly prohibited fro= m using, copying, altering, or disclosing the contents of this message. Ari= cent accepts no responsibility for loss or damage arising from the use of t= he information transmitted by this email including damage from virus." From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 10:35:18 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8F27106568E for ; Tue, 7 Oct 2008 10:35:18 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA01.emeryville.ca.mail.comcast.net (qmta01.emeryville.ca.mail.comcast.net [76.96.30.16]) by mx1.freebsd.org (Postfix) with ESMTP id 9BFB48FC0C for ; Tue, 7 Oct 2008 10:35:18 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA02.emeryville.ca.mail.comcast.net ([76.96.30.19]) by QMTA01.emeryville.ca.mail.comcast.net with comcast id PmWB1a0050QkzPwA1malCV; Tue, 07 Oct 2008 10:34:45 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA02.emeryville.ca.mail.comcast.net with comcast id PmbH1a0052P6wsM8NmbHi0; Tue, 07 Oct 2008 10:35:18 +0000 X-Authority-Analysis: v=1.0 c=1 a=NnI8htzV5zcA:10 a=QwHlaQfUiooA:10 a=QycZ5dHgAAAA:8 a=uhHEUSstDGeUS_31WOkA:9 a=_5dDWAlWGf_oaSuCDP9G8XqH_ygA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 471EBC9419; Tue, 7 Oct 2008 03:35:17 -0700 (PDT) Date: Tue, 7 Oct 2008 03:35:17 -0700 From: Jeremy Chadwick To: Rajeshwar Patil Message-ID: <20081007103517.GA46537@icarus.home.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Ramachandran Sathyanarayanan , freebsd-questions@freebsd.org Subject: Re: sleep is not working to avoid starvation among threads of same priority X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 10:35:18 -0000 On Tue, Oct 07, 2008 at 03:34:41PM +0530, Rajeshwar Patil wrote: > I have two threads of same priority lets say thread A and thread B, > thread A is starving since thread B has got a for loop of size 100k. > So, to avoid starvation I am processing 1000 iterations of for > loop(that of thread B) in one batch and giving sleep of 1ms, but still > thread A is starving. If I increase the batch size used in for loop > from 1k to 10k then starvation of thread A is little less whereas it > should be more as Im increasing processing time of thread B. I tried > various combinations of sleeps and batches, but I couldnt solve the > starvation of thread A. > > Is the sleep right solution? > > I will be grateful if someone could answer on this. This might be a question for freebsd-hackers, which is more developer-oriented than -questions. -- | 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 Tue Oct 7 10:42:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3EAD106568A for ; Tue, 7 Oct 2008 10:42:28 +0000 (UTC) (envelope-from joeb@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 9DB938FC13 for ; Tue, 7 Oct 2008 10:42:28 +0000 (UTC) (envelope-from joeb@a1poweruser.com) Received: from laptop ([202.69.172.71]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 7 Oct 2008 03:42:18 -0700 From: "joeb" To: , Date: Tue, 7 Oct 2008 18:42:47 +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) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Importance: Normal X-OriginalArrivalTime: 07 Oct 2008 10:42:18.0717 (UTC) FILETIME=[5EFE48D0:01C92869] X-Sender: joeb@a1poweruser.com Cc: Subject: RE: The disc in your drive looks more like an Audio CD than a FreeBSDrelease X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: joeb@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 10:42:28 -0000 Yea I would say your burn of the .iso file to your cd did not work. Mount the cd and see if it contains a directory tree of Freebsd install files or mp3 files. -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of kiffin.gish@planet.nl Sent: Monday, October 06, 2008 7:07 PM To: freebsd-questions@freebsd.org Subject: The disc in your drive looks more like an Audio CD than a FreeBSDrelease Hi there. I tried to install 7.1-BETA from the CD I burned from 7.1-BETA-i386-disc1.iso, but after I created all the partitions etc and then selected to install, I get the following error message: "The disc in your drive looks more like an Audio CD than a FreeBSD release" Any idea what's wrong? -- Kiffin Gish Gouda, The Netherlands _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 11:54:11 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67C501065693; Tue, 7 Oct 2008 11:54:11 +0000 (UTC) (envelope-from qj@huawei.com) Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [119.145.14.65]) by mx1.freebsd.org (Postfix) with ESMTP id 095B98FC17; Tue, 7 Oct 2008 11:54:10 +0000 (UTC) (envelope-from qj@huawei.com) Received: from huawei.com (szxga02-in [172.24.2.6]) by szxga02-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTP id <0K8D00BEE9XGRL@szxga02-in.huawei.com>; Tue, 07 Oct 2008 19:44:05 +0800 (CST) Received: from huawei.com ([172.24.1.18]) by szxga02-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTP id <0K8D00H4R9XGTN@szxga02-in.huawei.com>; Tue, 07 Oct 2008 19:44:04 +0800 (CST) Received: from q00130354 ([10.111.9.38]) by szxml03-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTPA id <0K8D00GJZ9XDFL@szxml03-in.huawei.com>; Tue, 07 Oct 2008 19:44:04 +0800 (CST) Date: Tue, 07 Oct 2008 19:44:00 +0800 From: =?gb2312?B?x/G9ow==?= To: freebsd-questions@freebsd.org Message-id: <004001c92871$fdec0a10$01000001@china.huawei.com> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Mailer: Microsoft Office Outlook 11 Thread-index: Ackocf2blBPcE5DVRuCv/5eRYj2bEg== Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 7BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@FreeBSD.org, freebsd-threads@freebsd.org Subject: kernel profiling: spinlock_exit consumes 36% CPU time. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 11:54:11 -0000 Hi, folks, I did kernel profiling when a single thread client sends UDP packets to a single thread server on the same machine. In the output kernel profile, the first few kernel functions that consumes the most CPU time are listed below: granularity: each sample hit covers 16 byte(s) for 0.01% of 25.68 seconds % cumulative self self total time seconds seconds calls ms/call ms/call name 42.4 10.88 10.88 0 100.00% __mcount [1] 36.1 20.14 9.26 17937541 0.00 0.00 spinlock_exit [4] 4.2 21.22 1.08 3145728 0.00 0.00 in_cksum_skip [40] 1.8 21.68 0.45 7351987 0.00 0.00 generic_copyin [43] 1.1 21.96 0.29 3146028 0.00 0.00 generic_copyout [48] 1.0 22.21 0.24 2108904 0.00 0.00 Xint0x80_syscall [3] 0.8 22.42 0.21 6292131 0.00 0.00 uma_zalloc_arg [46] 0.8 22.62 0.20 1048576 0.00 0.00 soreceive_generic [9] 0.7 22.80 0.19 3145852 0.00 0.00 free [47] 0.6 22.96 0.15 6292172 0.00 0.00 uma_zfree_arg [52] 0.6 23.10 0.14 5243413 0.00 0.00 generic_bzero [53] 0.5 23.23 0.14 1048581 0.00 0.00 ip_output [23] 0.5 23.36 0.13 4221855 0.00 0.00 generic_bcopy [57] 0.4 23.47 0.11 36865859 0.00 0.00 critical_enter [61] 0.4 23.57 0.10 36865859 0.00 0.00 critical_exit [62] 0.4 23.67 0.09 17937541 0.00 0.00 spinlock_enter [63] 0.4 23.76 0.09 1048582 0.00 0.00 udp_input [21] 0.3 23.85 0.09 2108904 0.00 0.00 syscall [5] 0.3 23.93 0.08 1048587 0.00 0.00 ip_input [20] 0.3 24.00 0.07 2097156 0.00 0.00 getsock [65] 0.3 24.07 0.07 1048576 0.00 0.00 udp_send [22] It is very strange that spinlock_exit consumes over 36% CPU time while it seems a very simple function. For clarity, I paste the code of spinlock_exit here: void spinlock_exit(void) { struct thread *td; td = curthread; critical_exit(); td->td_md.md_spinlock_count--; if (td->td_md.md_spinlock_count == 0) intr_restore(td->td_md.md_saved_flags); } Since critical_exit consumes only 0.4% CPU time, does this mean the rest of spinlock_exit consume ~36% CPU time? Am I missing something? Could anybody help me understand this? Many thanks. BTW, the kernel is compiled with SMP and PREEMPTION disabled. The scheduler is ULE. Best regards, Qiu Jian From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 11:55:12 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BA2E1065689 for ; Tue, 7 Oct 2008 11:55:12 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 4A0828FC1C for ; Tue, 7 Oct 2008 11:55:12 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from isis.bris.ac.uk ([137.222.10.63]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1KnB9e-0004NA-7A for freebsd-questions@freebsd.org; Tue, 07 Oct 2008 12:55:11 +0100 Received: from mech-cluster238.men.bris.ac.uk ([137.222.187.238]) by isis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1KnB9d-0007Dt-JR for freebsd-questions@freebsd.org; Tue, 07 Oct 2008 12:55:05 +0100 Received: from mech-cluster238.men.bris.ac.uk (localhost.men.bris.ac.uk [127.0.0.1]) by mech-cluster238.men.bris.ac.uk (8.14.2/8.14.2) with ESMTP id m97Bt4Y1078648 for ; Tue, 7 Oct 2008 12:55:04 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster238.men.bris.ac.uk (8.14.2/8.14.2/Submit) id m97Bt40M078647 for freebsd-questions@freebsd.org; Tue, 7 Oct 2008 12:55:04 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster238.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Tue, 7 Oct 2008 12:55:04 +0100 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20081007115504.GA78610@mech-cluster238.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-Spam-Score: -1.4 X-Spam-Level: - Subject: detecting monitor's sync and refresh rate? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 11:55:12 -0000 I've a monitor (Mobi M15MPC) with no docs. I've searched the net but cannot find any info on sync and refresh rate for it. I've done Xorg -configure, but testing with X -config xorg.conf.new shows screen shifted to the side and very nasty blinking, from which I deduced that perhaps I need to specify correct sync, refresh and mode. Are there any commands to get sync and refresh from the monitor? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 11:57:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 049D81065692 for ; Tue, 7 Oct 2008 11:57:52 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA03.emeryville.ca.mail.comcast.net (qmta03.emeryville.ca.mail.comcast.net [76.96.30.32]) by mx1.freebsd.org (Postfix) with ESMTP id D9DD48FC21 for ; Tue, 7 Oct 2008 11:57:51 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA09.emeryville.ca.mail.comcast.net ([76.96.30.20]) by QMTA03.emeryville.ca.mail.comcast.net with comcast id PmYH1a00C0S2fkCA3nxrH0; Tue, 07 Oct 2008 11:57:51 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA09.emeryville.ca.mail.comcast.net with comcast id Pnxo1a00R2P6wsM8VnxpSF; Tue, 07 Oct 2008 11:57:49 +0000 X-Authority-Analysis: v=1.0 c=1 a=j1-vOjvzWS4A:10 a=qbkBlHUnetAA:10 a=QycZ5dHgAAAA:8 a=830efeqVd1-BpMj3v6YA:9 a=OaTEfa5PdL42xPuouuoA:7 a=_rQjeZhtyJV0AH9nAlltBONLT1IA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 7D66EC9419; Tue, 7 Oct 2008 04:57:48 -0700 (PDT) Date: Tue, 7 Oct 2008 04:57:48 -0700 From: Jeremy Chadwick To: ???? Message-ID: <20081007115748.GA48154@icarus.home.lan> References: <004001c92871$fdec0a10$01000001@china.huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <004001c92871$fdec0a10$01000001@china.huawei.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-net@FreeBSD.org, freebsd-questions@freebsd.org, freebsd-threads@freebsd.org Subject: Re: kernel profiling: spinlock_exit consumes 36% CPU time. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 11:57:53 -0000 On Tue, Oct 07, 2008 at 07:44:00PM +0800, ???? wrote: > Hi, folks, > > I did kernel profiling when a single thread client sends UDP packets to a > single thread server on the same machine. > > In the output kernel profile, the first few kernel functions that consumes > the most CPU time are listed below: > > granularity: each sample hit covers 16 byte(s) for 0.01% of 25.68 seconds > > % cumulative self self total > time seconds seconds calls ms/call ms/call name > 42.4 10.88 10.88 0 100.00% __mcount [1] > 36.1 20.14 9.26 17937541 0.00 0.00 spinlock_exit [4] > 4.2 21.22 1.08 3145728 0.00 0.00 in_cksum_skip [40] > 1.8 21.68 0.45 7351987 0.00 0.00 generic_copyin [43] > 1.1 21.96 0.29 3146028 0.00 0.00 generic_copyout [48] > 1.0 22.21 0.24 2108904 0.00 0.00 Xint0x80_syscall [3] > 0.8 22.42 0.21 6292131 0.00 0.00 uma_zalloc_arg [46] > 0.8 22.62 0.20 1048576 0.00 0.00 soreceive_generic [9] > 0.7 22.80 0.19 3145852 0.00 0.00 free [47] > 0.6 22.96 0.15 6292172 0.00 0.00 uma_zfree_arg [52] > 0.6 23.10 0.14 5243413 0.00 0.00 generic_bzero [53] > 0.5 23.23 0.14 1048581 0.00 0.00 ip_output [23] > 0.5 23.36 0.13 4221855 0.00 0.00 generic_bcopy [57] > 0.4 23.47 0.11 36865859 0.00 0.00 critical_enter [61] > 0.4 23.57 0.10 36865859 0.00 0.00 critical_exit [62] > 0.4 23.67 0.09 17937541 0.00 0.00 spinlock_enter [63] > 0.4 23.76 0.09 1048582 0.00 0.00 udp_input [21] > 0.3 23.85 0.09 2108904 0.00 0.00 syscall [5] > 0.3 23.93 0.08 1048587 0.00 0.00 ip_input [20] > 0.3 24.00 0.07 2097156 0.00 0.00 getsock [65] > 0.3 24.07 0.07 1048576 0.00 0.00 udp_send [22] > > It is very strange that spinlock_exit consumes over 36% CPU time while it > seems a very simple function. > > For clarity, I paste the code of spinlock_exit here: > > void > spinlock_exit(void) > { > struct thread *td; > > td = curthread; > critical_exit(); > td->td_md.md_spinlock_count--; > if (td->td_md.md_spinlock_count == 0) > intr_restore(td->td_md.md_saved_flags); > } > > Since critical_exit consumes only 0.4% CPU time, does this mean the rest of > spinlock_exit consume ~36% CPU time? > > Am I missing something? Could anybody help me understand this? Many thanks. > > BTW, the kernel is compiled with SMP and PREEMPTION disabled. The scheduler > is ULE. What FreeBSD version, and what build date of the kernel? -- | 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 Tue Oct 7 12:36:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D88C7106569B for ; Tue, 7 Oct 2008 12:36:14 +0000 (UTC) (envelope-from dave.list@pixelhammer.com) Received: from smtp1.tls.net (smtp1.tls.net [65.124.104.104]) by mx1.freebsd.org (Postfix) with ESMTP id 71AC48FC21 for ; Tue, 7 Oct 2008 12:36:14 +0000 (UTC) (envelope-from dave.list@pixelhammer.com) Received: (qmail 96798 invoked from network); 7 Oct 2008 12:36:13 -0000 Received: by simscan 1.2.3 ppid: 96780, pid: 96795, t: 0.1449s scanners: attach: 1.2.3 spam: 3.2.1 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on smtp1.tls.net X-Spam-Level: X-Spam-Status: No, score=0.2 required=10.0 tests=ALL_TRUSTED,TVD_RCVD_IP autolearn=disabled version=3.2.1 Received: from 64-184-11-201.bb.hrtc.net (HELO ?192.168.1.46?) (ldg@tls.net@64.184.11.201) by ssl-smtp1.tls.net with ESMTPA; 7 Oct 2008 12:36:12 -0000 Message-ID: <48EB57B4.2030406@pixelhammer.com> Date: Tue, 07 Oct 2008 08:36:04 -0400 From: DAve User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <48E4E4B8.90202@pixelhammer.com> <200810051909.01619.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: <200810051909.01619.fbsd.questions@rachie.is-a-geek.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Running cron jobs as nobody X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 12:36:14 -0000 Mel wrote: > On Thursday 02 October 2008 17:11:52 DAve wrote: >> Good morning all, >> >> We have a cronjob we need to run as nobody from /etc/crontab and it >> seems to be not working. The job runs, but not as user nobody. >> >> I noticed two things, >> >> 1) the job to update the locate DB runs as nobody, because the script >> uses su to become nobody. >> echo /usr/libexec/locate.updatedb | nice -5 su -fm nobody || rc=3 > ^^^ > -fm: Bypass .cshrc and only change user, use root env. > >> Is setting the user to nobody in /etc/crontab not possible? > > pw showuser operator > pw showuser nobody > > Spot the difference (hint: /nonexistent) > That was my first thought as well. After reading some of the responses I still thought it odd that cron would not run the script as "nobody". So I setup two scripts to dump the env vars into a file, one script runs from /etc/crontab and one from nobody's crontab. Both are functioning perfectly. I have told the developer to re investigate his script and his directory perms. I looks like a case of PEBKAC to me. Thanks for the responses. DAve -- Don't tell me I'm driving the cart! From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 12:48:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FAFC1065694 for ; Tue, 7 Oct 2008 12:48:09 +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 458608FC15 for ; Tue, 7 Oct 2008 12:48:09 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KnByu-0003yj-4I for freebsd-questions@freebsd.org; Tue, 07 Oct 2008 12:48:04 +0000 Received: from utwig.xim.bz ([195.184.197.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Oct 2008 12:48:04 +0000 Received: from c.kworr by utwig.xim.bz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Oct 2008 12:48:04 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Volodymyr Kostyrko Date: Tue, 07 Oct 2008 15:47:48 +0300 Lines: 16 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: utwig.xim.bz User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; ru-RU; rv:1.8.1.17) Gecko/20081001 SeaMonkey/1.1.12 In-Reply-To: Sender: news Subject: Re: Unable install FreeBSD7 on IBM BladeCenter HS21 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 12:48:09 -0000 Vitaliy Vladimirovich wrote: > Hello! > I have problem in installation FreeBSD on the blade. After the beginning of copying of files there is an error: > > /: write failed, filesystem is full > > Disk > In what problem? df -h Perhaps your / is too small. Try repartitioning or strip something out of kernel. -- Sphinx of black quartz judge my vow. From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 12:54:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E65D0106568E for ; Tue, 7 Oct 2008 12:54:39 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from mx1.identry.com (on.identry.com [66.111.0.194]) by mx1.freebsd.org (Postfix) with ESMTP id 847658FC1B for ; Tue, 7 Oct 2008 12:54:38 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: (qmail 47319 invoked by uid 89); 7 Oct 2008 12:54:38 -0000 Received: from unknown (HELO ?192.168.1.110?) (jalmberg@75.127.142.66) by mx1.identry.com with ESMTPA; 7 Oct 2008 12:54:38 -0000 Mime-Version: 1.0 (Apple Message framework v753.1) Content-Transfer-Encoding: 7bit Message-Id: <0C63914A-E3A3-4FC7-92AD-797F407A5FF7@identry.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-questions@freebsd.org From: John Almberg Date: Tue, 7 Oct 2008 08:54:36 -0400 X-Mailer: Apple Mail (2.753.1) Subject: thorny (for me) permissions problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 12:54:40 -0000 The following permissions problem has me stumped: 1. User A uploads a file (using ftp) to the server, into a directory called 'data' owned by user B. Permissions on directory set to allow this, like this: drwxrwxr-x 2 user_b user_b 512 Oct 7 08:40 data 2. A cron job, run by user B, then processes the file 3. When the processing is complete, the cron job needs to delete the file from the server 4. however, after upload, the file has the ownership A:B (i.e, owned by A, group B) with permissions -rw-r--r--. So B does not have permission to delete the file. -rw-r--r-- 1 user_a user_b 154879 Oct 7 08:40 data_file.csv The ftp user can manually change the permissions on the file to -rw- rw-r--, but I do not want to depend on the user remembering to change permissions. If he forgets, the cronjob will process the file over and over again. I need the server to handle this, so it gets done correctly 100% of the time. B does not have sufficient permissions to delete the file or change it's permissions. The only thing I can think of is to have ANOTHER cron job, run by A, run every few minutes to check for the existence of a file, and change the permissions so B can delete it. But this smells like a kludge to me. Is there a correct way to handle this? For instance, is there something I can set in A's profile, so when he uploads a file, the group permission is set to rw? That would be a nice clean way to do it, but I can't find anything like that. Any help, much appreciated. -- John From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 12:56:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E1D410656A5 for ; Tue, 7 Oct 2008 12:56:59 +0000 (UTC) (envelope-from artemrts@ukr.net) Received: from ffe3.ukr.net (ffe3.ukr.net [195.214.192.14]) by mx1.freebsd.org (Postfix) with ESMTP id 1CE038FC22 for ; Tue, 7 Oct 2008 12:56:58 +0000 (UTC) (envelope-from artemrts@ukr.net) Received: from mail by ffe3.ukr.net with local ID 1KnC7U-0008Uq-9F ; Tue, 07 Oct 2008 15:56:56 +0300 MIME-Version: 1.0 To: Volodymyr Kostyrko From: "Vitaliy Vladimirovich" X-Life: is great, enjoy it! X-Mailer: freemail.ukr.net mPOP 3.5.1 X-Originating-Ip: [194.0.148.10] In-Reply-To: X-Browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.17) Gecko/20080829 Firefox/2.0.0.17 Message-Id: Date: Tue, 07 Oct 2008 15:56:56 +0300 X-UkrNet-Flag: 1 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 8bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re[2]: Unable install FreeBSD7 on IBM BladeCenter HS21 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 12:56:59 -0000 --- Original Message --- From: Volodymyr Kostyrko To: freebsd-questions@freebsd.org Date: 7 october, 15:47:48 Subject: Re: Unable install FreeBSD7 on IBM BladeCenter HS21 Vitaliy Vladimirovich wrote: > Hello! > I have problem in installation FreeBSD on the blade. After the beginning of copying of files there is an error: > > /: write failed, filesystem is full > > Disk > In what problem? df -h Perhaps your / is too small. Try repartitioning or strip something out of kernel.  No,no.  This is problem in acpi. https://www.bsdwiki.de/FreeBSD_on_IBM_Blade   From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 13:00:35 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3BEC106569F for ; Tue, 7 Oct 2008 13:00:35 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.28]) by mx1.freebsd.org (Postfix) with ESMTP id 7A7AA8FC12 for ; Tue, 7 Oct 2008 13:00:35 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so556080ywe.13 for ; Tue, 07 Oct 2008 06:00:34 -0700 (PDT) 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:references; bh=DpSMhyCBBCEJDsg4t2MsEdtJi7CZp7/exehcAPXawS0=; b=Itb6t8gPyAsIZQL3Uv3jE76OZDWQXJi974KdkrCxAPZOrM+T2XXmiQT9cXccQEsoiH KjWArzA1EEYweAPVn2llcQOuey1YwebjDe0b2mYuixri1ICM2KNykoJOEA5RFEhnGt9J pcrq03v4EiqX5W7gpjZ/sRPkdx/SHuDM0pFQY= 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:references; b=gbAxKwuHhWMtjRdwve0BawXj1kQSz0vAhM5QiUufFIMWrcVnvrTfIEDUEy7R7bZIwp KgSuwIqMYVceRvetqXV7df2uIMbYWXmXy0Ag/4du9WldyseAH2cBtoBIXTuIO44tbsgh nEm1IKBzk8ACAipl+ypZKZcF9wWZkBj+ZScw4= Received: by 10.142.51.4 with SMTP id y4mr2651533wfy.57.1223384433925; Tue, 07 Oct 2008 06:00:33 -0700 (PDT) Received: by 10.142.154.10 with HTTP; Tue, 7 Oct 2008 06:00:33 -0700 (PDT) Message-ID: <139b44430810070600o99c3a7aw51e6d54a88d4246c@mail.gmail.com> Date: Tue, 7 Oct 2008 15:00:33 +0200 From: "Valentin Bud" To: "John Almberg" In-Reply-To: <0C63914A-E3A3-4FC7-92AD-797F407A5FF7@identry.com> MIME-Version: 1.0 References: <0C63914A-E3A3-4FC7-92AD-797F407A5FF7@identry.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: freebsd-questions@freebsd.org Subject: Re: thorny (for me) permissions problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 13:00:35 -0000 Hello mr. John, On Tue, Oct 7, 2008 at 2:54 PM, John Almberg wrote: > The following permissions problem has me stumped: > > 1. User A uploads a file (using ftp) to the server, into a directory called > 'data' owned by user B. Permissions on directory set to allow this, like > this: > drwxrwxr-x 2 user_b user_b 512 Oct 7 08:40 data > > 2. A cron job, run by user B, then processes the file > > 3. When the processing is complete, the cron job needs to delete the file > from the server > > 4. however, after upload, the file has the ownership A:B (i.e, owned by A, > group B) with permissions -rw-r--r--. So B does not have permission to > delete the file. > -rw-r--r-- 1 user_a user_b 154879 Oct 7 08:40 data_file.csv > > The ftp user can manually change the permissions on the file to -rw-rw-r--, > but I do not want to depend on the user remembering to change permissions. > If he forgets, the cronjob will process the file over and over again. I need > the server to handle this, so it gets done correctly 100% of the time. > > B does not have sufficient permissions to delete the file or change it's > permissions. The only thing I can think of is to have ANOTHER cron job, run > by A, run every few minutes to check for the existence of a file, and change > the permissions so B can delete it. But this smells like a kludge to me. > > Is there a correct way to handle this? For instance, is there something I > can set in A's profile, so when he uploads a file, the group permission is > set to rw? That would be a nice clean way to do it, but I can't find > anything like that. > > Any help, much appreciated. > > -- John Depends on what ftp daemon you use. All the ftp server programs have a way to enforce the umask. See http://en.wikipedia.org/wiki/Umask for a better understanding to what umask is. all the best, v > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 13:01:37 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFC431065697 for ; Tue, 7 Oct 2008 13:01:36 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.170]) by mx1.freebsd.org (Postfix) with ESMTP id B7C1F8FC17 for ; Tue, 7 Oct 2008 13:01:36 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so3232210wfg.7 for ; Tue, 07 Oct 2008 06:01:36 -0700 (PDT) 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:references; bh=GZUj+5+06Zsl4BhpYf4S8zVrhfds33xzNenfybpIOlU=; b=kqiesirCpVOFMjBghLtA+OGxgQBU+YC81EIb5VqKoLYTtgZ62Snixzy6vGFpU0z56K LD/yAWQcsfi62T+QgdyB8JaD+kKcWHxCwLLXLStHlFtMU3ab72fS1KBJBt/vyk3sV2Qq aR0b7jMx3S8/7xBNCbJFCP+atI6+A9WCDx2Ps= 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:references; b=pE8aHaO4M+c2H9Ct8H4nBdDSa813JI9JlKoGjmem2Wo0pA8q3vTWtHf7RqFwgNvnaC x5dWTiPYS+qwQe5DmFSBZ39HsWwtCkubF889TExfG68tAqFLow+/RUChU4XYnU84ICnQ u250i65LuHKLuW02vgjEBhdqkSc50KfoxNBBw= Received: by 10.142.88.4 with SMTP id l4mr2641099wfb.238.1223384494905; Tue, 07 Oct 2008 06:01:34 -0700 (PDT) Received: by 10.142.154.10 with HTTP; Tue, 7 Oct 2008 06:01:34 -0700 (PDT) Message-ID: <139b44430810070601o9ff17dbmaaa51b4b999b4c85@mail.gmail.com> Date: Tue, 7 Oct 2008 15:01:34 +0200 From: "Valentin Bud" To: "Vitaliy Vladimirovich" In-Reply-To: MIME-Version: 1.0 References: 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: Volodymyr Kostyrko , freebsd-questions@freebsd.org Subject: Re: Re[2]: Unable install FreeBSD7 on IBM BladeCenter HS21 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 13:01:37 -0000 2008/10/7 Vitaliy Vladimirovich > > > --- Original Message --- > From: Volodymyr Kostyrko > To: freebsd-questions@freebsd.org > Date: 7 october, 15:47:48 > Subject: Re: Unable install FreeBSD7 on IBM BladeCenter HS21 > > Vitaliy Vladimirovich wrote: > > Hello! > > I have problem in installation FreeBSD on the blade. After the beginning > of copying of files there is an error: > > > > /: write failed, filesystem is full > > > > Disk > > In what problem? > > df -h > > Perhaps your / is too small. Try repartitioning or strip something out > of kernel. > > No,no. > This is problem in acpi. Then disable ACPI from BIOS and give it a go. After finish re-enable ACPI. all the best, v > > > https://www.bsdwiki.de/FreeBSD_on_IBM_Blade > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 13:14:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A946E106568D for ; Tue, 7 Oct 2008 13:14:14 +0000 (UTC) (envelope-from kenneth.hatteland@kleppnett.no) Received: from asav3.lyse.net (asav3.lyse.net [81.167.37.131]) by mx1.freebsd.org (Postfix) with ESMTP id 63C4A8FC1A for ; Tue, 7 Oct 2008 13:14:14 +0000 (UTC) (envelope-from kenneth.hatteland@kleppnett.no) Received: from localhost (localhost.localdomain [127.0.0.1]) by asav3.lyse.net (Postfix) with ESMTP id C43E01AC070 for ; Tue, 7 Oct 2008 15:14:12 +0200 (CEST) X-Virus-Scanned: amavisd-new at lyse.net Received: from terra.lyse.net (129.81-166-80.customer.lyse.net [81.166.80.129]) by asav3.lyse.net (Postfix) with ESMTP id 32B611AC079 for ; Tue, 7 Oct 2008 15:14:11 +0200 (CEST) Message-ID: <48EB60A3.7090501@kleppnett.no> Date: Tue, 07 Oct 2008 15:14:11 +0200 From: kenneth hatteland User-Agent: Thunderbird 2.0.0.17 (X11/20080929) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20081007120025.E1003106572D@hub.freebsd.org> In-Reply-To: <20081007120025.E1003106572D@hub.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: has anyone actually received a bsdmag ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 13:14:14 -0000 The first 2 issues have covered topics from FreeBSD, NetBSD, OpenBSD and actually a short one on MAC. In addition PCBSD is quite heavily featured. As far as I know this leaves only Dragonfly and DesktopBSD out for now in addition to Monowall, FreeNAS and FreeSBIE and others I do not know. Maybe these will be featured in later issues ? :) Kenneth From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 13:25:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B0D51065689 for ; Tue, 7 Oct 2008 13:25:09 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA06.westchester.pa.mail.comcast.net (qmta06.westchester.pa.mail.comcast.net [76.96.62.56]) by mx1.freebsd.org (Postfix) with ESMTP id E98E38FC1E for ; Tue, 7 Oct 2008 13:25:08 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA07.westchester.pa.mail.comcast.net ([76.96.62.59]) by QMTA06.westchester.pa.mail.comcast.net with comcast id PpL41a00L1GhbT856pR7h9; Tue, 07 Oct 2008 13:25:07 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA07.westchester.pa.mail.comcast.net with comcast id PpR61a00T2P6wsM3TpR7dT; Tue, 07 Oct 2008 13:25:07 +0000 X-Authority-Analysis: v=1.0 c=1 a=aS1l5-Fw-roA:10 a=QycZ5dHgAAAA:8 a=q9VlTNc2LfmzuOm4byEA:9 a=y6l4LCEVlCwljWK4NyYA:7 a=rMW3vE5gXmg9leyhjLlV9oFB64sA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id BCA8CC9419; Tue, 7 Oct 2008 06:25:06 -0700 (PDT) Date: Tue, 7 Oct 2008 06:25:06 -0700 From: Jeremy Chadwick To: John Almberg Message-ID: <20081007132506.GA49321@icarus.home.lan> References: <0C63914A-E3A3-4FC7-92AD-797F407A5FF7@identry.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0C63914A-E3A3-4FC7-92AD-797F407A5FF7@identry.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: thorny (for me) permissions problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 13:25:09 -0000 On Tue, Oct 07, 2008 at 08:54:36AM -0400, John Almberg wrote: > The following permissions problem has me stumped: > > 1. User A uploads a file (using ftp) to the server, into a directory > called 'data' owned by user B. Permissions on directory set to allow > this, like this: > drwxrwxr-x 2 user_b user_b 512 Oct 7 08:40 data This aimplies that User A's account is in group "user_b". > 2. A cron job, run by user B, then processes the file > > 3. When the processing is complete, the cron job needs to delete the > file from the server > > 4. however, after upload, the file has the ownership A:B (i.e, owned by > A, group B) with permissions -rw-r--r--. So B does not have permission to > delete the file. This doesn't make sense. Any user in "group B" (the group that's assigned to the "data" directory) should be able to remove files in that directory. That means: 1) Any user in the group called "user_b", 2) The user "user_b" himself. See below. > The ftp user can manually change the permissions on the file to -rw- > rw-r--, but I do not want to depend on the user remembering to change > permissions. If he forgets, the cronjob will process the file over and > over again. I need the server to handle this, so it gets done correctly > 100% of the time. > > B does not have sufficient permissions to delete the file or change it's > permissions. The only thing I can think of is to have ANOTHER cron job, > run by A, run every few minutes to check for the existence of a file, and > change the permissions so B can delete it. But this smells like a kludge > to me. > > Is there a correct way to handle this? For instance, is there something I > can set in A's profile, so when he uploads a file, the group permission > is set to rw? That would be a nice clean way to do it, but I can't find > anything like that. What you're describing is understandable, but something is wrong with the setup or description of the problem. Here's proof of what I'm talking about: # egrep 'somegroup' /etc/group somegroup:*:9999:bob,jim # id bob uid=2000(bob) gid=1000(users) groups=1000(users),9999(somegroup) # id jim uid=2001(jim) gid=1000(users) groups=1000(users),9999(somegroup) Both of these users are in group "somegroup". So let's make some directories and files: drwxrwxr-x 2 jim somegroup 2 Oct 7 06:22 data/ -rw-r----- 1 bob somegroup 0 Oct 7 06:22 data/somefile In this scenario, user "jim" will be able to remove "somefile", as can be seen here: # su jim % id -a uid=2001(jim) gid=1000(users) groups=1000(users),9999(somegroup) % ls -l total 1 -rw-r----- 1 bob somegroup 0 Oct 7 06:22 somefile % rm somefile override rw-r----- bob/somegroup for somefile? y % ls -l total 0 So, possibly the FTP server you're using does not inherit users groups, only GIDs? -- | 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 Tue Oct 7 13:25:30 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF2571065687 for ; Tue, 7 Oct 2008 13:25:30 +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 6ED1C8FC28 for ; Tue, 7 Oct 2008 13:25:30 +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.63) (envelope-from ) id 1KnCZ2-0007ph-BM; Tue, 07 Oct 2008 14:25:24 +0100 Received: from melon.esperance-linux.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 ESMTP id m97DPMnJ010044; Tue, 7 Oct 2008 14:25:23 +0100 Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id 4F4BAFCA4AD; Tue, 7 Oct 2008 14:25:17 +0100 (BST) Date: Tue, 7 Oct 2008 14:25:17 +0100 From: Frank Shute To: Kirk Strauser Message-ID: <20081007132517.GA31229@melon.esperance-linux.co.uk> Mail-Followup-To: Kirk Strauser , FreeBSD Questions ML References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.3i X-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-RELEASE-p2 i386 X-Organisation: 'http://www.shute.org.uk/' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (zetnet.co.uk [194.247.46.1]); Tue, 07 Oct 2008 14:25:23 +0100 (BST) Cc: FreeBSD Questions ML Subject: Re: Coretemp seems to be off quite a bit 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: Tue, 07 Oct 2008 13:25:31 -0000 On Mon, Oct 06, 2008 at 09:39:40AM -0500, Kirk Strauser wrote: > > I have a Gigabyte motherboard with an Intel ICH-9 chipset, and a > 3.0GHz Core 2 Duo (E8400). The coretemp sysctls seem to always show > 50C as the baseline temperature: > > $ sysctl dev.cpu | grep temp > dev.cpu.0.temperature: 50 > dev.cpu.1.temperature: 50 > > This is with a big PSU fan, a good CPU fan, a clean heatsink, and two > case fans aimed the right direction (front fan pulling cool air in, > rear fan pushing warm air out). If I reboot and go into the BIOS, I > get numbers around 42-43C. I know it's kind of hard to compare > directly, but the coretemp numbers are from a totally idle system with > powerd scaling it back to 373MHz, so it should be as cool as when > sitting idle in the BIOS screens. When I work the system hard, like > running "make -j4 buildworld", I see temperatures up around 63-64C, > and I'm almost positive that's not right. > > Any ideas why coretemp and the BIOS would show such different numbers? To add some numbers, I've got an E6550 on a Gigabyte GA-P35-DS3L (ICH9) and I get: $ sysctl dev.cpu | grep temp dev.cpu.0.temperature: 24 dev.cpu.1.temperature: 28 Ambient room temp: 23°C That's running powerd and the machine idle, standard heatsink/fan combo, 1x12cm case fan. Your's might run hotter (higher clock speed? Mine: 2.33GHz) but I wouldn't expect it to run *so* much hotter. I'd expect your numbers to be right if all the ACPI stuff is working. To confirm this, check in Windows, if you can: http://www.techpowerup.com/realtemp/ Tom's hardware has some stuff about Intel temps: http://www.tomshardware.co.uk/forum/221745-11-core-quad-temperature-guide If that is high too and is outside the proper temperature envelope for your CPU, that leaves a possibility that your heatsink/fan might not be seated properly. What we could do with is some numbers from somebody running a similar CPU. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 13:28:34 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA0BB10656AA for ; Tue, 7 Oct 2008 13:28:34 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA01.westchester.pa.mail.comcast.net (qmta01.westchester.pa.mail.comcast.net [76.96.62.16]) by mx1.freebsd.org (Postfix) with ESMTP id 829888FC2B for ; Tue, 7 Oct 2008 13:28:34 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA02.westchester.pa.mail.comcast.net ([76.96.62.19]) by QMTA01.westchester.pa.mail.comcast.net with comcast id PpDr1a0050QuhwU51pUZil; Tue, 07 Oct 2008 13:28:33 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA02.westchester.pa.mail.comcast.net with comcast id PpUY1a0072P6wsM3NpUYKC; Tue, 07 Oct 2008 13:28:33 +0000 X-Authority-Analysis: v=1.0 c=1 a=dHjZm24hZxkA:10 a=88wOqWrQNcMA:10 a=QycZ5dHgAAAA:8 a=XZDfOCNAwFbK4uAQgtEA:9 a=_J9mGXpy62V8_RY9IN0A:7 a=erBGBHm8cWB2RzrqcCOW1VUPH64A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 0F245C9419; Tue, 7 Oct 2008 06:28:32 -0700 (PDT) Date: Tue, 7 Oct 2008 06:28:32 -0700 From: Jeremy Chadwick To: Kirk Strauser , FreeBSD Questions ML Message-ID: <20081007132832.GA49914@icarus.home.lan> References: <20081007132517.GA31229@melon.esperance-linux.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20081007132517.GA31229@melon.esperance-linux.co.uk> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Subject: Re: Coretemp seems to be off quite a bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 13:28:35 -0000 On Tue, Oct 07, 2008 at 02:25:17PM +0100, Frank Shute wrote: > On Mon, Oct 06, 2008 at 09:39:40AM -0500, Kirk Strauser wrote: > > > > I have a Gigabyte motherboard with an Intel ICH-9 chipset, and a > > 3.0GHz Core 2 Duo (E8400). The coretemp sysctls seem to always show > > 50C as the baseline temperature: > > > > $ sysctl dev.cpu | grep temp > > dev.cpu.0.temperature: 50 > > dev.cpu.1.temperature: 50 > > > > This is with a big PSU fan, a good CPU fan, a clean heatsink, and two > > case fans aimed the right direction (front fan pulling cool air in, > > rear fan pushing warm air out). If I reboot and go into the BIOS, I > > get numbers around 42-43C. I know it's kind of hard to compare > > directly, but the coretemp numbers are from a totally idle system with > > powerd scaling it back to 373MHz, so it should be as cool as when > > sitting idle in the BIOS screens. When I work the system hard, like > > running "make -j4 buildworld", I see temperatures up around 63-64C, > > and I'm almost positive that's not right. > > > > Any ideas why coretemp and the BIOS would show such different numbers? > > To add some numbers, I've got an E6550 on a Gigabyte GA-P35-DS3L > (ICH9) and I get: > > $ sysctl dev.cpu | grep temp > dev.cpu.0.temperature: 24 > dev.cpu.1.temperature: 28 > > Ambient room temp: 23°C > > That's running powerd and the machine idle, standard heatsink/fan > combo, 1x12cm case fan. > > Your's might run hotter (higher clock speed? Mine: 2.33GHz) but I > wouldn't expect it to run *so* much hotter. > > I'd expect your numbers to be right if all the ACPI stuff is working. Clarification here is needed: coretemp(4) has nothing to do with ACPI. It gets thermal statistics from the processor by talking *directly* to the processor with specific opcodes, the results returned in specific CPU registers. It does not rely on ACPI. -- | 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 Tue Oct 7 13:39:44 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C50B1065686 for ; Tue, 7 Oct 2008 13:39:44 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outX.internet-mail-service.net (outx.internet-mail-service.net [216.240.47.247]) by mx1.freebsd.org (Postfix) with ESMTP id 358D28FC16 for ; Tue, 7 Oct 2008 13:39:44 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id E883022C0; Tue, 7 Oct 2008 06:28:07 -0700 (PDT) Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id CE2C52D601A; Tue, 7 Oct 2008 06:28:03 -0700 (PDT) Message-ID: <48EB63E3.60604@elischer.org> Date: Tue, 07 Oct 2008 21:28:03 +0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: =?GB2312?B?x/G9ow==?= References: <004001c92871$fdec0a10$01000001@china.huawei.com> In-Reply-To: <004001c92871$fdec0a10$01000001@china.huawei.com> Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 8bit Cc: freebsd-net@FreeBSD.org, freebsd-questions@freebsd.org, freebsd-threads@freebsd.org Subject: Re: kernel profiling: spinlock_exit consumes 36% CPU time. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 13:39:44 -0000 Çñ½£ wrote: > Hi, folks, [...] spinlocks disable interrupts so the profiling interrupt is held off from the moment that the spinlock is entered to the moment it is exited, and all of that time is attributed to spinlock_exit(). so that this tells you that 3% of your time is spent under spinlocks which is a lot. as others have asked, "what version"? you should look up lock profiling to see WHICH lock is teh ine in question. From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 13:43:32 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19DDA106568B for ; Tue, 7 Oct 2008 13:43:32 +0000 (UTC) (envelope-from andrewlylegould@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by mx1.freebsd.org (Postfix) with ESMTP id 9C6928FC17 for ; Tue, 7 Oct 2008 13:43:31 +0000 (UTC) (envelope-from andrewlylegould@gmail.com) Received: by ey-out-2122.google.com with SMTP id 6so912552eyi.7 for ; Tue, 07 Oct 2008 06:43:30 -0700 (PDT) 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:references; bh=3LWpVIh76BS63hnBF20O5gIJb67IkltwlMe8ACJ9ggU=; b=cv/ZhxlZ3kMScfeqaqLno2fUlxHDDw4I4k5arwcnsAsOer1K5l/hWycNtwLGbSbU/0 zhesP/LM37HgqZ/O0CFdWiKf9ARubQfi7oP7e/X0k2e9PhvWuh4cYHMmKJe3yO2cjb4s QuKEs+y73qEsOSRlwxTOaJgo+Yd5HUTzHh/Wg= 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:references; b=RPX9kWewlHQZuw/AU6glmlgh2xo9eq8oLEEQB91+5aL+gEP9/3xnqUomSfMtpf7W+Z ASQ7hEVBnT3DnK9RST9ZrwI5//kXw4HhZwnwKD2iCX8kF/33jmYdbruQ5/xPWQQzAa3d C+Ci/j53Ob+NWEz8prRArsDC0UZVpUQxKXC5M= Received: by 10.103.244.10 with SMTP id w10mr3575129mur.67.1223387009893; Tue, 07 Oct 2008 06:43:29 -0700 (PDT) Received: by 10.103.240.10 with HTTP; Tue, 7 Oct 2008 06:43:29 -0700 (PDT) Message-ID: Date: Tue, 7 Oct 2008 08:43:29 -0500 From: "Andrew Gould" To: "kenneth hatteland" In-Reply-To: <48EB60A3.7090501@kleppnett.no> MIME-Version: 1.0 References: <20081007120025.E1003106572D@hub.freebsd.org> <48EB60A3.7090501@kleppnett.no> 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: freebsd-questions@freebsd.org Subject: Re: has anyone actually received a bsdmag ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 13:43:32 -0000 On Tue, Oct 7, 2008 at 8:14 AM, kenneth hatteland < kenneth.hatteland@kleppnett.no> wrote: > The first 2 issues have covered topics from FreeBSD, NetBSD, OpenBSD and > actually a short one on MAC. In addition PCBSD is quite heavily featured. > > As far as I know this leaves only Dragonfly and DesktopBSD out for now in > addition to Monowall, FreeNAS and FreeSBIE and others I do not know. Maybe > these will be featured in later issues ? :) > > Kenneth > > Actually, I think there have been articles introducing PC-BSD and DesktopBSD. I haven't seen articles regarding Dragonfly; but version 1.12.2 is on the DVD. (FYI - DragonFly BSD version 2.0.1 was released on September 27.) The BSDMag website mentioned that it would be available at Barnes & Noble. I couldn't find it there; but I found it at Borders bookstores. Andrew From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 13:53:15 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC6301065696 for ; Tue, 7 Oct 2008 13:53:15 +0000 (UTC) (envelope-from sdavtaker@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 D00CF8FC20 for ; Tue, 7 Oct 2008 13:53:14 +0000 (UTC) (envelope-from sdavtaker@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so217109uge.39 for ; Tue, 07 Oct 2008 06:53:13 -0700 (PDT) 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:references; bh=ZpclnVNOt2s9AVBZUT8f0r997qA31pFaVFA+AFyVkEI=; b=KS5LkI48KxAuyoAwM7Oith2KRhMPyCsVdK9MkbtxGHVKLgGCLx0lURh1q/cxhhzFvu juAJgN9cMSxJxeHEr/TmVILV2AKhoeBeJEb7daSOSBRC9rvT+DNCoQsZgPabEeu2dSJ6 qUkaUSPhY6Cp1JUDuIdQ5dv9HxnI5rLvXHsJc= 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:references; b=uCTf6UgDS52WUKe51fD0lZ6BtxV78a5gdVnVkX9KMQVFtA8TvbvqfIbaB+K7WQSa1N DKJrdkO3qYWDG9mZqsqTW9l3bEmTS8Jxe6Y+jUdWEVnpFBweURU09j8rYkvoF6RVGfIp fegdX6mUizx44hDzwCim58J2z/tLgJzBy4ktE= Received: by 10.86.90.13 with SMTP id n13mr5998025fgb.50.1223387592901; Tue, 07 Oct 2008 06:53:12 -0700 (PDT) Received: by 10.86.91.3 with HTTP; Tue, 7 Oct 2008 06:53:12 -0700 (PDT) Message-ID: Date: Tue, 7 Oct 2008 10:53:12 -0300 From: "=?UTF-8?Q?Sd=C3=A4vtaker?=" To: "Da Rock" In-Reply-To: <1223291610.27632.21.camel@laptop1.herveybayaustralia.com.au> MIME-Version: 1.0 References: <1223291610.27632.21.camel@laptop1.herveybayaustralia.com.au> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Touch screen ET&T on Clevo tn120r X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 13:53:16 -0000 Thanks, here is the usb data: usbdevs -dv Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 uhub0 port 1 powered port 2 powered Controller /dev/usb1: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 uhub1 port 1 powered port 2 addr 2: full speed, power 100 mA, config 1, Fingerprint Sensor(0x2016), TouchStrip(0x147e), rev 0.01 ugen0 Controller /dev/usb2: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x0000), rev 1.00 uhub2 port 1 powered port 2 powered port 3 powered port 4 powered Controller /dev/usb3: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 uhub3 port 1 powered port 2 powered Controller /dev/usb4: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 uhub4 port 1 powered port 2 powered Controller /dev/usb5: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 uhub5 port 1 addr 2: full speed, power 100 mA, config 1, TC4UM(0x0306), ET&T Technology(0x0664), rev 1.00 uhid0 port 2 powered Controller /dev/usb6: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x0000), rev 1.00 uhub6 port 1 powered port 2 powered port 3 powered port 4 powered port 5 powered port 6 powered From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 14:04:17 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 841F51065695; Tue, 7 Oct 2008 14:04:17 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 060658FC08; Tue, 7 Oct 2008 14:04:16 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m97E4AvC042408; Tue, 7 Oct 2008 10:04:10 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-threads@freebsd.org Date: Tue, 7 Oct 2008 09:38:04 -0400 User-Agent: KMail/1.9.7 References: <004001c92871$fdec0a10$01000001@china.huawei.com> In-Reply-To: <004001c92871$fdec0a10$01000001@china.huawei.com> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200810070938.04673.jhb@freebsd.org> Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Tue, 07 Oct 2008 10:04:10 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/8384/Tue Oct 7 06:37:18 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: =?gb2312?q?=C7=F1=BD=A3?= , freebsd-net@freebsd.org, freebsd-questions@freebsd.org Subject: Re: kernel profiling: spinlock_exit consumes 36% CPU time. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 14:04:17 -0000 On Tuesday 07 October 2008 07:44:00 am =C7=F1=BD=A3 wrote: > Hi, folks, > =20 > I did kernel profiling when a single thread client sends UDP packets to a > single thread server on the same machine. > =20 > In the output kernel profile, the first few kernel functions that consumes > the most CPU time are listed below: > =20 > granularity: each sample hit covers 16 byte(s) for 0.01% of 25.68 seconds >=20 > % cumulative self self total > time seconds seconds calls ms/call ms/call name > 42.4 10.88 10.88 0 100.00% __mcount [1] > 36.1 20.14 9.26 17937541 0.00 0.00 spinlock_exit [4] > 4.2 21.22 1.08 3145728 0.00 0.00 in_cksum_skip [40] > 1.8 21.68 0.45 7351987 0.00 0.00 generic_copyin [43] > 1.1 21.96 0.29 3146028 0.00 0.00 generic_copyout [48] > 1.0 22.21 0.24 2108904 0.00 0.00 Xint0x80_syscall [3] > 0.8 22.42 0.21 6292131 0.00 0.00 uma_zalloc_arg [46] > 0.8 22.62 0.20 1048576 0.00 0.00 soreceive_generic [= 9] > > It is very strange that spinlock_exit consumes over 36% CPU time while it > seems a very simple function. It's because the intr_restore() re-enables interrupts and the resulting tim= e=20 spent executing the handlers for any pending interrupts are attributed to=20 spinlock_exit(). =2D-=20 John Baldwin From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 14:05:35 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4F1A106568E for ; Tue, 7 Oct 2008 14:05:35 +0000 (UTC) (envelope-from jeremyhooks@googlemail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.freebsd.org (Postfix) with ESMTP id 6B6288FC39 for ; Tue, 7 Oct 2008 14:05:35 +0000 (UTC) (envelope-from jeremyhooks@googlemail.com) Received: by ug-out-1314.google.com with SMTP id m2so220475uge.39 for ; Tue, 07 Oct 2008 07:05:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=cUgijUstdXBPfMWeI1x/B2oQv6sfeVqI+grTRWL6GOc=; b=kPO8/ETihYgSHMnXoHzwVblUewegq/ssMXE0SSsCtjGkMjD6Bjq6YJAZwykMFm/t/0 1toL1lawi/OI5KT1ximASn6AcJxK2GjeMf9sioHsj8jODTk1/EnhBEqv03UvKdAzPGs6 urm41hmrCmc45MwHCP1PJAJZwoVQOj+5kY5+g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=EEttpN1BD9pYnLracnCVxa5QdyrX/N/Mz33LW68LO8dpSCjmX8ibv85kGhVr1mF61T 3GqFGTt2xD30HuePvVmRuwh7lBYeuv1nXwIh/Xm0CiuNQxQYKMgsLH2iDEIMq6j6zQ+B y0DuvP/wBujJtXMonZhPYf13A8bHP25qeRGeg= Received: by 10.210.52.9 with SMTP id z9mr5195635ebz.70.1223386444476; Tue, 07 Oct 2008 06:34:04 -0700 (PDT) Received: by 10.210.82.9 with HTTP; Tue, 7 Oct 2008 06:34:04 -0700 (PDT) Message-ID: Date: Tue, 7 Oct 2008 14:34:04 +0100 From: "Jeremy Hooks" To: "John Almberg" In-Reply-To: <0C63914A-E3A3-4FC7-92AD-797F407A5FF7@identry.com> MIME-Version: 1.0 References: <0C63914A-E3A3-4FC7-92AD-797F407A5FF7@identry.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: freebsd-questions@freebsd.org Subject: Re: thorny (for me) permissions problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 14:05:36 -0000 >> 4. however, after upload, the file has the ownership A:B (i.e, owned by A, group B) with permissions -rw-r--r--. So B does not have permission to delete the file. -rw-r--r-- 1 user_a user_b 154879 Oct 7 08:40 data_file.csv Hi John. Correct me if I am wrong but permission to delete a file depends on the users permissions for the containing directory. If B has write permission on the directory then B can delete the file. However you will likely need to use 'rm -f'. Regards. Jeremy. On Tue, Oct 7, 2008 at 1:54 PM, John Almberg wrote: > The following permissions problem has me stumped: > > 1. User A uploads a file (using ftp) to the server, into a directory called > 'data' owned by user B. Permissions on directory set to allow this, like > this: > drwxrwxr-x 2 user_b user_b 512 Oct 7 08:40 data > > 2. A cron job, run by user B, then processes the file > > 3. When the processing is complete, the cron job needs to delete the file > from the server > > 4. however, after upload, the file has the ownership A:B (i.e, owned by A, > group B) with permissions -rw-r--r--. So B does not have permission to > delete the file. > -rw-r--r-- 1 user_a user_b 154879 Oct 7 08:40 data_file.csv > > The ftp user can manually change the permissions on the file to -rw-rw-r--, > but I do not want to depend on the user remembering to change permissions. > If he forgets, the cronjob will process the file over and over again. I need > the server to handle this, so it gets done correctly 100% of the time. > > B does not have sufficient permissions to delete the file or change it's > permissions. The only thing I can think of is to have ANOTHER cron job, run > by A, run every few minutes to check for the existence of a file, and change > the permissions so B can delete it. But this smells like a kludge to me. > > Is there a correct way to handle this? For instance, is there something I > can set in A's profile, so when he uploads a file, the group permission is > set to rw? That would be a nice clean way to do it, but I can't find > anything like that. > > Any help, much appreciated. > > -- John > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 14:18:00 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9218F106568B for ; Tue, 7 Oct 2008 14:18:00 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from viefep19-int.chello.at (viefep18-int.chello.at [213.46.255.22]) by mx1.freebsd.org (Postfix) with ESMTP id D77BA8FC22 for ; Tue, 7 Oct 2008 14:17:59 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from edge05.upc.biz ([192.168.13.212]) by viefep19-int.chello.at (InterMail vM.7.08.02.02 201-2186-121-104-20070414) with ESMTP id <20081007141757.FDYF10076.viefep19-int.chello.at@edge05.upc.biz> for ; Tue, 7 Oct 2008 16:17:57 +0200 Received: from [192.168.1.103] ([89.134.230.13]) by edge05.upc.biz with edge id PqHt1a04L0Hzgy105qHvf2; Tue, 07 Oct 2008 16:17:57 +0200 X-SourceIP: 89.134.230.13 Message-ID: <48EB6F91.2050109@shopzeus.com> Date: Tue, 07 Oct 2008 16:17:53 +0200 From: Laszlo Nagy User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: dd piperd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 14:18:00 -0000 Sziasztok, Ilyet látok top-ban: PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 11475 gandalf 1 -8 0 4600K 864K piperd 5 21:41 8.06% cat 11472 gandalf 1 -8 0 4604K 876K piperd 3 21:30 8.06% dd Tehát összesen 16% procit zabál valami, amirÅ‘l nem tudom hogy mi! ps ezt mondja: 1001 11472 11471 0 -8 0 4604 876 piperd S ?? 21:24.52 dd bs=1 count=1926717440 ilyet én biztosan nem futtatok magamtól. De akkor ki? Van ötletetek arra hogy a cat + dd párost melyik program futtathatja ilyen hülye módon? Valami maintenance cron job esetleg? Parázok hogy valaki betört. Köszi, Laci From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 14:23:55 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC1101065686 for ; Tue, 7 Oct 2008 14:23:55 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from mx1.identry.com (on.identry.com [66.111.0.194]) by mx1.freebsd.org (Postfix) with ESMTP id 49FFF8FC1B for ; Tue, 7 Oct 2008 14:23:55 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: (qmail 60828 invoked by uid 89); 7 Oct 2008 14:23:54 -0000 Received: from unknown (HELO ?192.168.1.110?) (jalmberg@75.127.142.66) by mx1.identry.com with ESMTPA; 7 Oct 2008 14:23:54 -0000 In-Reply-To: References: <0C63914A-E3A3-4FC7-92AD-797F407A5FF7@identry.com> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: John Almberg Date: Tue, 7 Oct 2008 10:23:53 -0400 To: Jeremy Hooks X-Mailer: Apple Mail (2.753.1) Cc: freebsd-questions@freebsd.org Subject: Re: thorny (for me) permissions problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 14:23:55 -0000 On Oct 7, 2008, at 9:34 AM, Jeremy Hooks wrote: >>> 4. however, after upload, the file has the ownership A:B (i.e, >>> owned by > A, group B) with permissions -rw-r--r--. So B does not have > permission to > delete the file. > -rw-r--r-- 1 user_a user_b 154879 Oct 7 08:40 data_file.csv > > Hi John. > > Correct me if I am wrong but permission to delete a file depends on > the > users permissions for the containing directory. If B has write > permission > on the directory then B can delete the file. However you will > likely need > to use 'rm -f'. Argh!!!! As a newbie admin, I really have a tough time with permissions. I swear I got a permissions error when I tried to delete this dang file, but I just logged in as B and was able to delete it just fine. Of course this is because B owns the directory. I guess I must have done something boneheaded an hour or two ago... gosh, I hate wasting time. Mine, and the lists, of course. Well, thanks to Valintin, I did figure out how to change the umask for pure-ftpd. So now uploaded files have the permissions I wanted, even if they are not needed. And thanks to the rest, I figured out it was working all along... And now I can't even duplicate the error I saw before... Does this ever get any easier??? How can any one person remember all this stuff??? -- John From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 14:30:56 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B36E1065692 for ; Tue, 7 Oct 2008 14:30:56 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA10.emeryville.ca.mail.comcast.net (qmta10.emeryville.ca.mail.comcast.net [76.96.30.17]) by mx1.freebsd.org (Postfix) with ESMTP id 1D4FD8FC1C for ; Tue, 7 Oct 2008 14:30:55 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA01.emeryville.ca.mail.comcast.net ([76.96.30.11]) by QMTA10.emeryville.ca.mail.comcast.net with comcast id PpDb1a01u0EPchoAAqWvo5; Tue, 07 Oct 2008 14:30:55 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA01.emeryville.ca.mail.comcast.net with comcast id PqWu1a0022P6wsM8MqWub8; Tue, 07 Oct 2008 14:30:54 +0000 X-Authority-Analysis: v=1.0 c=1 a=aS1l5-Fw-roA:10 a=QycZ5dHgAAAA:8 a=vKCX9tddm7V0oAh7IMkA:9 a=bcR5skymj0Pp4bA2RYYA:7 a=opWDE3neWxJSj9_lXeCngRjhjAkA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id F1319C9419; Tue, 7 Oct 2008 07:30:53 -0700 (PDT) Date: Tue, 7 Oct 2008 07:30:53 -0700 From: Jeremy Chadwick To: John Almberg Message-ID: <20081007143053.GA51120@icarus.home.lan> References: <0C63914A-E3A3-4FC7-92AD-797F407A5FF7@identry.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Jeremy Hooks , freebsd-questions@freebsd.org Subject: Re: thorny (for me) permissions problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 14:30:56 -0000 On Tue, Oct 07, 2008 at 10:23:53AM -0400, John Almberg wrote: > > On Oct 7, 2008, at 9:34 AM, Jeremy Hooks wrote: > >>>> 4. however, after upload, the file has the ownership A:B (i.e, >>>> owned by >> A, group B) with permissions -rw-r--r--. So B does not have permission >> to >> delete the file. >> -rw-r--r-- 1 user_a user_b 154879 Oct 7 08:40 data_file.csv >> >> Hi John. >> >> Correct me if I am wrong but permission to delete a file depends on >> the >> users permissions for the containing directory. If B has write >> permission >> on the directory then B can delete the file. However you will likely >> need >> to use 'rm -f'. > > Argh!!!! > > As a newbie admin, I really have a tough time with permissions. I swear I > got a permissions error when I tried to delete this dang file, but I just > logged in as B and was able to delete it just fine. Of course this is > because B owns the directory. > > I guess I must have done something boneheaded an hour or two ago... > gosh, I hate wasting time. Mine, and the lists, of course. > > Well, thanks to Valintin, I did figure out how to change the umask for > pure-ftpd. So now uploaded files have the permissions I wanted, even if > they are not needed. Be careful with what you've done. If you changed the umask on the ftpd as a whole, then suddenly unrelated users are going to find their files writeable by whatever group/GID they default to. For example, on my systems, everyone's default group is "users", and I definitely would not want group-write set to files people upload on their accounts! The idea of a user being able to edit or zero out other users' data is not good. But that's also what the underlying directory permissions are for... As you've learned/remembered today. :-) > And thanks to the rest, I figured out it was working all along... And > now I can't even duplicate the error I saw before... > > Does this ever get any easier??? How can any one person remember > all this stuff??? It gets easier with time; don't rush yourself. :-) Even those of us who have been using UNIX for almost 20 years forget the simplest of things on a regular basis. Be sure to let us know when you make the infamous "rm -fr" typo that nukes either / or ~. :-) -- | 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 Tue Oct 7 14:37:04 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59F0D1065694 for ; Tue, 7 Oct 2008 14:37:04 +0000 (UTC) (envelope-from mcoyles@horbury.wakefield.sch.uk) Received: from smtp2-wak.yhgfl.net (smtp2-wak-ext.yhgfl.net [89.207.208.43]) by mx1.freebsd.org (Postfix) with ESMTP id CEDD58FC17 for ; Tue, 7 Oct 2008 14:37:03 +0000 (UTC) (envelope-from mcoyles@horbury.wakefield.sch.uk) Received: from horbury.wakefield.sch.uk ([10.126.96.34]) by smtp2-wak.yhgfl.net (8.13.8/8.13.8/Debian-3) with ESMTP id m97EankA004479 for ; Tue, 7 Oct 2008 15:36:50 +0100 Received: from ITTEAM02 [10.126.96.253] by horbury.wakefield.sch.uk with ESMTP (SMTPD32-7.07) id A3FB96D008A; Tue, 07 Oct 2008 15:36:43 +0100 From: "Marc Coyles" To: Date: Tue, 7 Oct 2008 15:36:41 +0100 Message-ID: <008101c9288a$1cffbdd0$56ff3970$@wakefield.sch.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AckoihzU9ZBBonnQTsibzsu0lL6Wbg== Content-Language: en-gb X-YHGfL-MailScanner-Information: Please contact the YHGfL Foundation for more information X-YHGfL-MailScanner: Found to be clean X-YHGfL-MailScanner-MCPCheck: MCP-Clean, MCP-Checker (score=0, required 0.5) X-YHGfL-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.399, required 5, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60) X-MailScanner-From: mcoyles@horbury.wakefield.sch.uk Subject: Consistency of MySQL dumps... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mcoyles@horbury.wakefield.sch.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 14:37:04 -0000 Here's one that's puzzling me... If I use /usr/local/bin/mysqldump to make a backup of a database, the file it produces fails to restore with "Check syntax near..." error. If I then head into cPanel, to their "Backup" menu, and take a backup of the database from there, the file it produces also fails to restore with "Check syntax near..." error, but at a COMPLETELY different point thru the restore. If I head into cPanel, to phpmyadmin, and do an export from there... the file restores PERFECTLY without errors. Sooo... how can I write a script that'll backup a MySQL database and produce a useable file?? This problem is occurring on 2 of my 8 databases... it appears the chosen software used to produce the dump of MySQL data is the culprit... what is the best commandline (ie: cron-able) tool to use for the task? Marc A Coyles - Horbury School ICT Support Team Mbl: 07850 518106 Land: 01924 282740 ext 730 Helpdesk: 01924 282740 ext 2000 From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 14:53:10 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E98C91065697 for ; Tue, 7 Oct 2008 14:53:10 +0000 (UTC) (envelope-from fbsd06+2P=f0485365@mlists.homeunix.com) Received: from fallback-in1.mxes.net (fallback-out1.mxes.net [216.86.168.190]) by mx1.freebsd.org (Postfix) with ESMTP id 70D358FC08 for ; Tue, 7 Oct 2008 14:53:10 +0000 (UTC) (envelope-from fbsd06+2P=f0485365@mlists.homeunix.com) Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by fallback-in1.mxes.net (Postfix) with ESMTP id D5C0B164668 for ; Tue, 7 Oct 2008 10:41:39 -0400 (EDT) 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 41CDED05B8 for ; Tue, 7 Oct 2008 10:41:38 -0400 (EDT) Date: Tue, 7 Oct 2008 15:41:35 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20081007154135.535dbd12@gumby.homeunix.com.> In-Reply-To: <20081007075524.GA72002@mavetju.org> References: <94136a2c0810060139r740c3a96hc9c79028e7b93a4d@mail.gmail.com> <20081007075524.GA72002@mavetju.org> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: update.FreeBSD.org / No mirrors remaining, giving up X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 14:53:11 -0000 On Tue, 7 Oct 2008 18:55:24 +1100 Edwin Groothuis wrote: > > $ freebsd-update fetch > > Fetching metadata signature for 7.0-RELEASE from > > update.FreeBSD.org... failed. No mirrors remaining, giving up. > > I've heard this before and it is caused by resolvers (most likely > your router?) which don't understand requests for SRV records. freebsd-update and portsnap should fall back to the configured server if they can't get SRV records, they should be able to work through an http-proxy without any DNS access at all on the local machine. It sounds like a bug if SRV records are needed. From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 15:01:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7AFB31065688 for ; Tue, 7 Oct 2008 15:01:49 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id C76EA8FC41 for ; Tue, 7 Oct 2008 15:01:48 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from lack-of-gravitas.thebunker.net (gateway.ash.thebunker.net [213.129.64.4]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id m97F1VhD066735 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 7 Oct 2008 16:01:37 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk m97F1VhD066735 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1223391697; bh=Y58Md0YP5vnDlu Ww3MUzxkJrm9nt4r+BOP0lb4wdEhY=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type: Content-Transfer-Encoding:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<48EB79CA.7 080901@infracaninophile.co.uk>|Date:=20Tue,=2007=20Oct=202008=2016: 01:30=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User-Agent:=20Thunderbird= 202.0.0.17=20(X11/20081002)|MIME-Version:=201.0|To:=20mcoyles@horbu ry.wakefield.sch.uk|CC:=20freebsd-questions@freebsd.org|Subject:=20 Re:=20Consistency=20of=20MySQL=20dumps...|References:=20<008101c928 8a$1cffbdd0$56ff3970$@wakefield.sch.uk>|In-Reply-To:=20<008101c9288 a$1cffbdd0$56ff3970$@wakefield.sch.uk>|X-Enigmail-Version:=200.95.6 |Content-Type:=20text/plain=3B=20charset=3DUTF-8=3B=20format=3Dflow ed|Content-Transfer-Encoding:=207bit; b=C1w9ve8zYAunVkMLG5+kUBNRFfJ xNc3NYmHn1R/Ne22OC8g9F47ayI2b+hgdNdcg35k38utavgqa9kODLYmdnnL6EHrEZ7 dokd55FuCzlTfT3Olrck1mioHZsre6EsNdBBxXjKWf7Fk6LYb4xK4k3N0qfec+qrnn1 SDzAcb/aIk= Message-ID: <48EB79CA.7080901@infracaninophile.co.uk> Date: Tue, 07 Oct 2008 16:01:30 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.17 (X11/20081002) MIME-Version: 1.0 To: mcoyles@horbury.wakefield.sch.uk References: <008101c9288a$1cffbdd0$56ff3970$@wakefield.sch.uk> In-Reply-To: <008101c9288a$1cffbdd0$56ff3970$@wakefield.sch.uk> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (smtp.infracaninophile.co.uk [81.187.76.162]); Tue, 07 Oct 2008 16:01:37 +0100 (BST) X-Virus-Scanned: ClamAV 0.94/8386/Tue Oct 7 14:50:57 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,SPF_FAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Consistency of MySQL dumps... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 15:01:49 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Marc Coyles wrote: | Here's one that's puzzling me... | | If I use /usr/local/bin/mysqldump to make a backup of a database, the | file it produces fails to restore with "Check syntax near..." error. | | If I then head into cPanel, to their "Backup" menu, and take a backup of | the database from there, the file it produces also fails to restore | with "Check syntax near..." error, but at a COMPLETELY different point | thru the restore. cPanel probably runs mysqldump internally, but with slightly different options than you've been using on the command line. | If I head into cPanel, to phpmyadmin, and do an export from there... the | file restores PERFECTLY without errors. phpMyAdmin I happen to know generates the dump file by running its own dynamically generated SQL. If it works for you... | Sooo... how can I write a script that'll backup a MySQL database and | produce a useable file?? | | This problem is occurring on 2 of my 8 databases... it appears the | chosen software used to produce the dump of MySQL data is the culprit... | what is the best commandline (ie: cron-able) tool to use for the task? Without seeing the error message is (the interesting bit is usually slightly before the 'Check syntax near...' instruction) and what exactly the SQL code around that point is, I'm shooting in the dark somewhat. mysqldump(1) is the canonical tool for producing database dumps for backup. There's a classic problem to do with 'Max Packet Size' where mysqldump is allowed to produce much larger chunks of SQL than mysql client is allowed to swallow. This is easily cured by setting the max-packet-size variable during your data load session -- or set the variable from my.cnf so it's there all the time. Other possible problems: mysqldump usually works by locking each table in sequence while dumping it out. This means that things like Foreign Keys can get out of sync if you're dumping the database while it is particularly active. To cure that problem, either you need to tell mysqldump to acquire a DB-wide lock (which will block all other access) or you have to use InnoDB tables and enable transactions. You can in theory dump all of the databases in an instance of MySQL as a single transaction, although you may well run into the 4GB transaction size limit on 32bit machines if your databases are that large. (64bit machines have a max transaction size so large it's unfeasible to ever run into it). In summary: you should always be able to get a good backup out of mysqldump, but you'll have to play around with variables and command line options a bit to make it work smoothly in your specific circumstanes. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. Flat 3 ~ 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate ~ Kent, CT11 9PW, UK -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREDAAYFAkjrecoACgkQ3jDkPpsZ+VZzwgCfaUFLS7L1uY93TazYk3wensoo 3HgAoMHeMGvgNGIJByB/WeESuBfp/gfj =2pXg -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 15:10:12 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD285106569A for ; Tue, 7 Oct 2008 15:10:12 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from smtp.mel.people.net.au (smtp.mel.people.net.au [218.214.17.98]) by mx1.freebsd.org (Postfix) with SMTP id E50FC8FC0A for ; Tue, 7 Oct 2008 15:10:11 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: (qmail 27772 invoked from network); 7 Oct 2008 15:10:09 -0000 Received: from unknown (HELO blizzard.dnsalias.org) (218.215.178.243) by smtp.mel.people.net.au with SMTP; 7 Oct 2008 15:10:09 -0000 Received: by blizzard.dnsalias.org (Postfix, from userid 1001) id 1536717067; Wed, 8 Oct 2008 02:10:08 +1100 (EST) Date: Wed, 8 Oct 2008 02:10:08 +1100 From: andrew clarke To: Zbigniew Szalbot Message-ID: <20081007151008.GA66624@ozzmosis.com> References: <94136a2c0810060139r740c3a96hc9c79028e7b93a4d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <94136a2c0810060139r740c3a96hc9c79028e7b93a4d@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions Subject: Re: update.FreeBSD.org / No mirrors remaining, giving up X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 15:10:12 -0000 On Mon 2008-10-06 10:39:42 UTC+0200, Zbigniew Szalbot (zszalbot@gmail.com) wrote: > I am not sure why but whenever I do: > > $ freebsd-update fetch > Fetching metadata signature for 7.0-RELEASE from update.FreeBSD.org... failed. > No mirrors remaining, giving up. > > but if type: > $ portsnap fetch > Fetching snapshot tag from portsnap.FreeBSD.org... done. > > Many thanks for any hint as to what may be wrong with > update.FreeBSD.org on this machine! A similar problem to this: http://lists.freebsd.org/pipermail/freebsd-questions/2008-April/173725.html It may be your ISP's nameservers do not support SRV record lookups. From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 15:19:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 535C51065692 for ; Tue, 7 Oct 2008 15:19:05 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from mx1.identry.com (on.identry.com [66.111.0.194]) by mx1.freebsd.org (Postfix) with ESMTP id 094088FC22 for ; Tue, 7 Oct 2008 15:19:04 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: (qmail 70673 invoked by uid 89); 7 Oct 2008 15:19:04 -0000 Received: from unknown (HELO ?192.168.1.110?) (jalmberg@75.127.142.66) by mx1.identry.com with ESMTPA; 7 Oct 2008 15:19:04 -0000 Mime-Version: 1.0 (Apple Message framework v753.1) In-Reply-To: <20081007143053.GA51120@icarus.home.lan> References: <0C63914A-E3A3-4FC7-92AD-797F407A5FF7@identry.com> <20081007143053.GA51120@icarus.home.lan> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <8A0EE6C2-4862-482A-9EB5-4DE5E1A5F51A@identry.com> Content-Transfer-Encoding: 7bit From: John Almberg Date: Tue, 7 Oct 2008 11:19:02 -0400 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.753.1) Subject: Re: thorny (for me) permissions problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 15:19:05 -0000 >> Well, thanks to Valintin, I did figure out how to change the umask >> for >> pure-ftpd. So now uploaded files have the permissions I wanted, >> even if >> they are not needed. > > Be careful with what you've done. If you changed the umask on the > ftpd > as a whole, then suddenly unrelated users are going to find their > files > writeable by whatever group/GID they default to. > A good point. The default group for my users is their own group... i.e., user_a's default group is user_a, so that should not be a problem, but why give away more rights than necessary? So, I've put the pure-ftpd umask back to 137:077 (this inverted octal was a brain twister until I had my second cup of coffee :-), retested, and it all works the way I wanted it to. Three hours gone, but I guess I learned a few things, which I have documented in my Solutions Log. By the way, for any Mac users on the list, I highly recommend Yojimbo as a Solutions Log. Yojimbo is a program that's hard to explain, but incredibly useful. It is basically a place that you can throw all sorts of useful information, such as notes on how to solve things you've already figured out (I hate having to figure things out twice), PDFs, book marks, whole web pages (archived), emails (archived), passwords (encrypted)... any information that you want to be able to find easily in the future. You can 'tag' each bit of information with as many keywords as you want. Then, when you need to retrieve some vital bit of information, it has a search engine that lets you find it quickly. It sounds trivial, when you read it, but I don't know any other tool that lets you store so many types of documents in the same place, with such easy retrieval. Anyway, that's my tip of the day. Thanks to everyone for the help. Now I just need to catch up on the rest of the day's work! -- John From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 16:08:11 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D1091065691 for ; Tue, 7 Oct 2008 16:08:11 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id DF4138FC14 for ; Tue, 7 Oct 2008 16:08:10 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id m97G8IVM060935 for ; Tue, 7 Oct 2008 09:08:18 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Tue, 7 Oct 2008 09:08:04 -0700 (PDT) Date: Tue, 7 Oct 2008 09:08:04 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20081007160801.GA43682@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 22 years of service to the Unix community. X-Spam-Status: No, score=-4.2 required=3.6 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: any idea why kde4 konqueor fails? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 16:08:11 -0000 Well, I've finally gotten Konq to exec, but something causes it to hang instantly whenever I click on an external link. The wristwatch icon shows up with the hang. Any idea what I'm missing? tia, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 16:13:37 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCEC01065690 for ; Tue, 7 Oct 2008 16:13:37 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 8BEC48FC20 for ; Tue, 7 Oct 2008 16:13:37 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id m97GDmff061001 for ; Tue, 7 Oct 2008 09:13:48 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Tue, 7 Oct 2008 09:13:33 -0700 (PDT) Date: Tue, 7 Oct 2008 09:13:33 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20081007161330.GA43881@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 22 years of service to the Unix community. X-Spam-Status: No, score=-4.2 required=3.6 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: From konsole, konq: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 16:13:37 -0000 Here's what I get con my knosole: p8 1:20 [5112] konqueror konqueror: WARNING: Can't open /usr/home/kline/.kde/share/apps/konqueror/bookmarks.xml kio (KMimeType): WARNING: KServiceType::offers : servicetype not found kio (KMimeType): WARNING: KServiceType::offers : servicetype not found p8 9:00 [5113] konqueror -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 17:01:46 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BECC106569C for ; Tue, 7 Oct 2008 17:01:46 +0000 (UTC) (envelope-from fbsd06+2P=f0485365@mlists.homeunix.com) Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by mx1.freebsd.org (Postfix) with ESMTP id 136468FC26 for ; Tue, 7 Oct 2008 17:01:46 +0000 (UTC) (envelope-from fbsd06+2P=f0485365@mlists.homeunix.com) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 68DC8D0A85 for ; Tue, 7 Oct 2008 13:01:42 -0400 (EDT) Date: Tue, 7 Oct 2008 18:01:15 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20081007180115.175ee89b@gumby.homeunix.com.> In-Reply-To: <20081007161330.GA43881@thought.org> References: <20081007161330.GA43881@thought.org> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: From konsole, konq: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 17:01:46 -0000 On Tue, 7 Oct 2008 09:13:33 -0700 Gary Kline wrote: > > Here's what I get con my knosole: > > > p8 1:20 [5112] konqueror > konqueror: WARNING: Can't > open /usr/home/kline/.kde/share/apps/konqueror/bookmarks.xml kio > (KMimeType): WARNING: KServiceType::offers : servicetype not found > kio (KMimeType): WARNING: KServiceType::offers : servicetype not > found p8 9:00 [5113] konqueror Is ~/.kde from kde 3.x? If it is I'd try renaming it and starting over. When you use KDE 4 at the same time as KDE 3, it uses a separate .kde4 directory. From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 17:33:24 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8747C1065689 for ; Tue, 7 Oct 2008 17:33:24 +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 129C58FC15 for ; Tue, 7 Oct 2008 17:33:23 +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.63) (envelope-from ) id 1KnGQz-0005o6-Th; Tue, 07 Oct 2008 18:33:21 +0100 Received: from melon.esperance-linux.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 ESMTP id m97HXKvB021267; Tue, 7 Oct 2008 18:33:21 +0100 Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id 74FB1FCA4AD; Tue, 7 Oct 2008 18:33:15 +0100 (BST) Date: Tue, 7 Oct 2008 18:33:15 +0100 From: Frank Shute To: Jeremy Chadwick Message-ID: <20081007173315.GA35592@melon.esperance-linux.co.uk> Mail-Followup-To: Jeremy Chadwick , Kirk Strauser , FreeBSD Questions ML References: <20081007132517.GA31229@melon.esperance-linux.co.uk> <20081007132832.GA49914@icarus.home.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20081007132832.GA49914@icarus.home.lan> 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-RELEASE-p2 i386 X-Organisation: 'http://www.shute.org.uk/' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (zetnet.co.uk [194.247.46.1]); Tue, 07 Oct 2008 18:33:21 +0100 (BST) Cc: FreeBSD Questions ML Subject: Re: Coretemp seems to be off quite a bit 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: Tue, 07 Oct 2008 17:33:24 -0000 On Tue, Oct 07, 2008 at 06:28:32AM -0700, Jeremy Chadwick wrote: > > On Tue, Oct 07, 2008 at 02:25:17PM +0100, Frank Shute wrote: > > On Mon, Oct 06, 2008 at 09:39:40AM -0500, Kirk Strauser wrote: > > > > > > I have a Gigabyte motherboard with an Intel ICH-9 chipset, and a > > > 3.0GHz Core 2 Duo (E8400). The coretemp sysctls seem to always show > > > 50C as the baseline temperature: > > > > > > $ sysctl dev.cpu | grep temp > > > dev.cpu.0.temperature: 50 > > > dev.cpu.1.temperature: 50 > > > > > > This is with a big PSU fan, a good CPU fan, a clean heatsink, and two > > > case fans aimed the right direction (front fan pulling cool air in, > > > rear fan pushing warm air out). If I reboot and go into the BIOS, I > > > get numbers around 42-43C. I know it's kind of hard to compare > > > directly, but the coretemp numbers are from a totally idle system with > > > powerd scaling it back to 373MHz, so it should be as cool as when > > > sitting idle in the BIOS screens. When I work the system hard, like > > > running "make -j4 buildworld", I see temperatures up around 63-64C, > > > and I'm almost positive that's not right. > > > > > > Any ideas why coretemp and the BIOS would show such different numbers? > > > > To add some numbers, I've got an E6550 on a Gigabyte GA-P35-DS3L > > (ICH9) and I get: > > > > $ sysctl dev.cpu | grep temp > > dev.cpu.0.temperature: 24 > > dev.cpu.1.temperature: 28 > > > > Ambient room temp: 23°C > > > > That's running powerd and the machine idle, standard heatsink/fan > > combo, 1x12cm case fan. > > > > Your's might run hotter (higher clock speed? Mine: 2.33GHz) but I > > wouldn't expect it to run *so* much hotter. > > > > I'd expect your numbers to be right if all the ACPI stuff is working. > > Clarification here is needed: > > coretemp(4) has nothing to do with ACPI. It gets thermal statistics > from the processor by talking *directly* to the processor with specific > opcodes, the results returned in specific CPU registers. It does not > rely on ACPI. Thanks for the clarification. What I meant was that the core temperatures are dependent on clock speed which is dependent on powerd which is dependent on ACPI, if I'm not mistaken. i.e: If powerd isn't working properly due to ACPI bugs then you may have your CPU running at full clock, hence high temps. No? So one possible scenario is that powerd isn't working, although Kirk implies that it is. One piece of evidence that powerd is not working properly is that it clocked the CPU back to 373MHz - which seems an odd-looking number to me. On my machine: $ sysctl dev.cpu | grep freq dev.cpu.0.freq: 250 dev.cpu.0.freq_levels: 2333/22464 2041/19656 2000/22464 1750/19656 1500/16848 1250/14040 1000/11232 750/8424 500/5616 250/2808 i.e: I've got 2 odd steps high up but the rest are divisible by 50. I don't know if Kirk has fiddled with powerd. I just installed it & started it. Even if he used a percentage, it still seems a weird number - unless I missed something in powerd(4). Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 17:41:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB191106568A for ; Tue, 7 Oct 2008 17:41:08 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from kanga.honeypot.net (kanga.honeypot.net [IPv6:2001:470:a80a:1:21f:d0ff:fe22:b8a8]) by mx1.freebsd.org (Postfix) with ESMTP id 5DCD98FC1E for ; Tue, 7 Oct 2008 17:41:08 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from localhost (localhost [127.0.0.1]) by kanga.honeypot.net (Postfix) with ESMTP id BB80D944FEF; Tue, 7 Oct 2008 12:41:07 -0500 (CDT) X-Virus-Scanned: amavisd-new at honeypot.net Received: from kanga.honeypot.net ([127.0.0.1]) by localhost (kanga.honeypot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tDhgzqlWnx0p; Tue, 7 Oct 2008 12:41:01 -0500 (CDT) Received: from pooh.honeypot.net (pooh.honeypot.net [IPv6:2001:470:a80a:1:20a:95ff:fed5:10f2]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by kanga.honeypot.net (Postfix) with ESMTPSA id 9ACE5944FCA; Tue, 7 Oct 2008 12:41:01 -0500 (CDT) Message-Id: <847CFBBD-9889-4F9F-8AD6-9810A72727A9@strauser.com> From: Kirk Strauser To: FreeBSD Questions ML In-Reply-To: <20081007173315.GA35592@melon.esperance-linux.co.uk> Mime-Version: 1.0 (Apple Message framework v929.2) Date: Tue, 7 Oct 2008 12:41:00 -0500 References: <20081007132517.GA31229@melon.esperance-linux.co.uk> <20081007132832.GA49914@icarus.home.lan> <20081007173315.GA35592@melon.esperance-linux.co.uk> X-Mailer: Apple Mail (2.929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Frank Shute Subject: Re: Coretemp seems to be off quite a bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 17:41:08 -0000 On Oct 7, 2008, at 12:33 PM, Frank Shute wrote: > $ sysctl dev.cpu | grep freq > dev.cpu.0.freq: 250 > dev.cpu.0.freq_levels: 2333/22464 2041/19656 2000/22464 1750/19656 > 1500/16848 1250/14040 1000/11232 750/8424 500/5616 250/2808 For some reason, versions of FreeBSD after 7.0-RELEASE think I have an odd-MHz CPU: $ sysctl dev.cpu.0.freq_levels dev.cpu.0.freq_levels: 2984/-1 2611/-1 2238/-1 1865/-1 1492/-1 1119/-1 746/-1 373/-1 > I don't know if Kirk has fiddled with powerd. I just installed it & > started it. That's all I did. I put 'powerd_enable="YES"' in /etc/rc.conf and started it. -- Kirk Strauser From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 17:51:25 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9765106569C for ; Tue, 7 Oct 2008 17:51:25 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA07.emeryville.ca.mail.comcast.net (qmta07.emeryville.ca.mail.comcast.net [76.96.30.64]) by mx1.freebsd.org (Postfix) with ESMTP id CAA628FC18 for ; Tue, 7 Oct 2008 17:51:25 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA12.emeryville.ca.mail.comcast.net ([76.96.30.44]) by QMTA07.emeryville.ca.mail.comcast.net with comcast id PpUS1a00D0x6nqcA7trR0N; Tue, 07 Oct 2008 17:51:25 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA12.emeryville.ca.mail.comcast.net with comcast id PtrQ1a00H2P6wsM8YtrQM1; Tue, 07 Oct 2008 17:51:25 +0000 X-Authority-Analysis: v=1.0 c=1 a=dHjZm24hZxkA:10 a=88wOqWrQNcMA:10 a=QycZ5dHgAAAA:8 a=c71m9UBnuIWmPYyV9LMA:9 a=j6CqrU-MrELTbD8gtsoA:7 a=pttXstV3QqrdHCc7Qwuoic6ivRwA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 6A33BC9419; Tue, 7 Oct 2008 10:51:24 -0700 (PDT) Date: Tue, 7 Oct 2008 10:51:24 -0700 From: Jeremy Chadwick To: Kirk Strauser , FreeBSD Questions ML Message-ID: <20081007175124.GA54581@icarus.home.lan> References: <20081007132517.GA31229@melon.esperance-linux.co.uk> <20081007132832.GA49914@icarus.home.lan> <20081007173315.GA35592@melon.esperance-linux.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20081007173315.GA35592@melon.esperance-linux.co.uk> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Subject: Re: Coretemp seems to be off quite a bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 17:51:26 -0000 On Tue, Oct 07, 2008 at 06:33:15PM +0100, Frank Shute wrote: > On Tue, Oct 07, 2008 at 06:28:32AM -0700, Jeremy Chadwick wrote: > > > > On Tue, Oct 07, 2008 at 02:25:17PM +0100, Frank Shute wrote: > > > On Mon, Oct 06, 2008 at 09:39:40AM -0500, Kirk Strauser wrote: > > > > > > > > I have a Gigabyte motherboard with an Intel ICH-9 chipset, and a > > > > 3.0GHz Core 2 Duo (E8400). The coretemp sysctls seem to always show > > > > 50C as the baseline temperature: > > > > > > > > $ sysctl dev.cpu | grep temp > > > > dev.cpu.0.temperature: 50 > > > > dev.cpu.1.temperature: 50 > > > > > > > > This is with a big PSU fan, a good CPU fan, a clean heatsink, and two > > > > case fans aimed the right direction (front fan pulling cool air in, > > > > rear fan pushing warm air out). If I reboot and go into the BIOS, I > > > > get numbers around 42-43C. I know it's kind of hard to compare > > > > directly, but the coretemp numbers are from a totally idle system with > > > > powerd scaling it back to 373MHz, so it should be as cool as when > > > > sitting idle in the BIOS screens. When I work the system hard, like > > > > running "make -j4 buildworld", I see temperatures up around 63-64C, > > > > and I'm almost positive that's not right. > > > > > > > > Any ideas why coretemp and the BIOS would show such different numbers? > > > > > > To add some numbers, I've got an E6550 on a Gigabyte GA-P35-DS3L > > > (ICH9) and I get: > > > > > > $ sysctl dev.cpu | grep temp > > > dev.cpu.0.temperature: 24 > > > dev.cpu.1.temperature: 28 > > > > > > Ambient room temp: 23°C > > > > > > That's running powerd and the machine idle, standard heatsink/fan > > > combo, 1x12cm case fan. > > > > > > Your's might run hotter (higher clock speed? Mine: 2.33GHz) but I > > > wouldn't expect it to run *so* much hotter. > > > > > > I'd expect your numbers to be right if all the ACPI stuff is working. > > > > Clarification here is needed: > > > > coretemp(4) has nothing to do with ACPI. It gets thermal statistics > > from the processor by talking *directly* to the processor with specific > > opcodes, the results returned in specific CPU registers. It does not > > rely on ACPI. > > Thanks for the clarification. > > What I meant was that the core temperatures are dependent on clock > speed which is dependent on powerd which is dependent on ACPI, if I'm > not mistaken. I believe powerd(8) is reliant upon cpufreq(4), which is reliant upon many different pieces (depending upon what you've enabled in your kernel and what you've configured in loader.conf). See the cpufreq(4) man page for details of all the drivers/methods supported -- and yep, ACPI-based throttling is indeed there. > i.e: If powerd isn't working properly due to ACPI bugs then you may > have your CPU running at full clock, hence high temps. No? Processors/hardware are not dependent upon operating systems "calming them down" or "telling them to idle". I forget if I mentioned use of HLT opcodes and what not on idling processors -- this is just an "added bonus", as HLT will often put the processor into a "deeper sleep" than it would if it was just sitting there doing nothing. That's why you might see some occasional Windows programs advertising "cool your CPU down by running this program!!!" Let's say his average idle temperature is 40C. If he does not use powerd(8), his processor temperature should probably be 40C, maybe up or down a degree. If he starts doing something CPU-intensive, that will obviously increase the temperature. But when the processor isn't doing anything, it shouldn't have a high temperature. Keep in mind that powerd(8) using frequency or clock throttling does not necessarily guarantee lower/colder temperatures. It all depends on what cpufreq(4) module is being relied upon, and what sorts of power saving states the CPU has in it. In the case of Core 2 Duos, there's 4 or 5 states (C1 through C5 I believe), and I've read that there's a couple different "severities" of some of those states. RMClock for Windows does an awful good job of showing you what all the states are, and you can enable/disable them (as power-down states available) simply by clicking check boxes. > So one possible scenario is that powerd isn't working, although Kirk > implies that it is. > > One piece of evidence that powerd is not working properly is that it > clocked the CPU back to 373MHz - which seems an odd-looking number to > me. It doesn't appear odd to me. It greatly depends on what processor model you have, what cpufreq(4) driver you're using, what CPU features you have turned on or off (BIOSes sometimes can set these for you), what your FreeBSD settings are (loader.conf specifically), and what motherboard you're using. Case in point: here's some from a PDSMi+ board, although I'm using debug.cpufreq.lowest="1191" in loader.conf (I don't care to have the system downclock beyond that): dev.cpu.0.freq: 1191 dev.cpu.0.freq_levels: 2382/-1 2084/-1 1786/-1 1488/-1 1191/-1 It would help if we could see some of his sysctl date, specifically these: debug.cpufreq.* dev.cpufreq.[0-9].* dev.cpu.[0-9].freq dev.cpu.[0-9].freq_levels debug.cpufreq.verbose="1" and rebooting might help too. But let's take a step back first. The problem reported is that his core temperatures appear very high, and even higher when his machine is under load. But what are we comparing against? We'd need an exact duplicate machine (CPU, motherboard, and BIOS version) to see if the temps there were identical. For all we know, it could be the heatsink/fan is not properly mounted, or there's too much thermal paste. Who knows. This is why I recommended booting Windows and using CoreTemp. The temperatures shown there will be correct. If those are significantly lower than what FreeBSD reports, then we've either got a bug in the CPU temperature stuff in FreeBSD, or the machine really is running hotter (in which case we can start down that trail). -- | 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 Tue Oct 7 17:53:23 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D3E01065686 for ; Tue, 7 Oct 2008 17:53:23 +0000 (UTC) (envelope-from alancyang@gmail.com) Received: from mail-gx0-f21.google.com (mail-gx0-f21.google.com [209.85.217.21]) by mx1.freebsd.org (Postfix) with ESMTP id 42F718FC18 for ; Tue, 7 Oct 2008 17:53:23 +0000 (UTC) (envelope-from alancyang@gmail.com) Received: by gxk14 with SMTP id 14so6804472gxk.19 for ; Tue, 07 Oct 2008 10:53:22 -0700 (PDT) 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 :content-transfer-encoding:content-disposition:references; bh=4rmWkFnBya4m3daNDhDWv+9oyr2PdvF1tfR4LwJAjsA=; b=gRzOgW34us9NNTYzk2pqxRp6x+JP58lzEI8onr11MtUcNKAM75b4Hvsf1JTuJ7OTKf 704SinjDXz+PSIYNkfjerexYpJAxB/TX299faHI8PDTC3+aWicAo58nN8Bhe/RkI9Rq2 RIYCOCv8AQrwsCE7hsDYwFrkGvE5igx01zZKI= 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:content-transfer-encoding:content-disposition :references; b=l1P8F20BZFTuDnHGUruar1eGn/7ht5GoicXZ6aZDPH3GfgA+K7qYfcWJfAko/Hvylo AeX+3AmkZHIU1VhYNGmx/8GfifRBAyx6Odv2vA/roisUlD29RiRW4Zvn1NlskTcn7y2+ 5PVdNhnTD8+fD8d5abF58DgRraXRaSizQHAuw= Received: by 10.90.104.20 with SMTP id b20mr7795248agc.69.1223402002354; Tue, 07 Oct 2008 10:53:22 -0700 (PDT) Received: by 10.90.94.14 with HTTP; Tue, 7 Oct 2008 10:53:22 -0700 (PDT) Message-ID: <290865fd0810071053k6da13d96j391ade1a30599fa1@mail.gmail.com> Date: Tue, 7 Oct 2008 10:53:22 -0700 From: "alan yang" To: freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org In-Reply-To: <290865fd0810061712sfdf5a0p4d3954773ee27a3d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <290865fd0810061544ubbe92fdsf75501bb729da3f0@mail.gmail.com> <48EA9E95.80105@FreeBSD.org> <290865fd0810061712sfdf5a0p4d3954773ee27a3d@mail.gmail.com> Cc: Subject: Re: kgdb debugging X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 17:53:23 -0000 Could people shed some light how to get remote debugging going, must be something that i overlooked, really appreciate. Two FreeBSD7 systems, target and development, connected with null modem cable on each's COM1. step 1) - rebuild kernel with following options: options DDB options KDB options GDB makeoptions DEBUG=-g step 2) - from development system cd to /usr/src/sys/i386/comiple/MYKERNEL kgdb -r /dev/cuad0 kernel.debug it displays the following: Switching to remote protocol Ignoring packet error, continuing ......... Couldn't establish connection to remote target Malformed response to offset query, timeout step 3) - from targetsystem: 1. Ctrl + Alt + Esc to go into db 2. from db> type gdb 3. it displays: "The remote GDB backend could not be selected" On Mon, Oct 6, 2008 at 5:12 PM, alan yang wrote: > the problem is, when entering gdb from db as described in the following: > -- > Enter ing gdb from ddb > In FreeBSD you can build a kernel with support for both ddb and gdb. > You can then > change backwards and forwards between them. For example, if you're in > ddb, you can > go to gdb like this: > db> gdb > Next trap will enter GDB remote protocol mode > db> si step a single instruction to reenter ddb > -- > after typing gdb command, it says: "The remote GDB backend could not > be selected" > that i am not sure what this indicates; looking at subr_kdb.c, wonder > maybe kdb_dbbe_set is not set? seems kdb_dbbe_set is not referenced > anywhere, not sure how to get it right. > > thanks for shed some light ... > > On Mon, Oct 6, 2008 at 4:26 PM, Pietro Cerutti wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA512 >> >> alan yang wrote: >> | hi, there, >> | >> | wonder people can shed some lights on remote debugging. i have >> | freebsd7 configured with option DDB / KDB / GDB but after entering the >> | db on the target system the command gdb gives "the remote GDB backend >> | could not be selected". >> | >> | i browsed through the mailing list, and do find 1 similar post but >> | without answer. >> | >> | thanks in advance & apology if i overlooked things ... >> >> I suggest the following tutorial: >> http://www.lemis.com/grog/Papers/Debug-tutorial/tutorial.pdf >> >> Have fun :) >> >> | >> | cheers, >> | alan >> | _______________________________________________ >> | freebsd-hackers@freebsd.org mailing list >> | http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >> | To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >> >> >> - -- >> Pietro Cerutti >> gahr@FreeBSD.org >> >> PGP Public Key: >> http://gahr.ch/pgp >> >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v2.0.9 (FreeBSD) >> >> iEYEAREKAAYFAkjqnpQACgkQwMJqmJVx945RSwCgoDb0JTr8LSFDB1vpAbGUjb76 >> ZH0An19HpFVJJTUB5/XnyZc0pIDzgxc3 >> =6Pdm >> -----END PGP SIGNATURE----- >> > From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 18:14:13 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DBE6106569A for ; Tue, 7 Oct 2008 18:14:13 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outK.internet-mail-service.net (outk.internet-mail-service.net [216.240.47.234]) by mx1.freebsd.org (Postfix) with ESMTP id 61D908FC24 for ; Tue, 7 Oct 2008 18:14:13 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 1A9F12493; Tue, 7 Oct 2008 11:14:14 -0700 (PDT) Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id 29BCD2D610C; Tue, 7 Oct 2008 11:14:10 -0700 (PDT) Message-ID: <48EBA6F2.2090606@elischer.org> Date: Wed, 08 Oct 2008 02:14:10 +0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: alan yang References: <290865fd0810061544ubbe92fdsf75501bb729da3f0@mail.gmail.com> <48EA9E95.80105@FreeBSD.org> <290865fd0810061712sfdf5a0p4d3954773ee27a3d@mail.gmail.com> <290865fd0810071053k6da13d96j391ade1a30599fa1@mail.gmail.com> In-Reply-To: <290865fd0810071053k6da13d96j391ade1a30599fa1@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Subject: Re: kgdb debugging X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 18:14:13 -0000 alan yang wrote: > Could people shed some light how to get remote debugging going, must > be something that i overlooked, really appreciate. > > Two FreeBSD7 systems, target and development, connected with null > modem cable on each's COM1. > > step 1) > - rebuild kernel with following options: > options DDB > options KDB > options GDB > > makeoptions DEBUG=-g add hints.dev.uart.0.flags=0xc0 (or whatever it is) (see man uart or man sio) to /boot/device.hints > > step 2) > - from development system > cd to /usr/src/sys/i386/comiple/MYKERNEL > kgdb -r /dev/cuad0 kernel.debug > > it displays the following: > Switching to remote protocol > Ignoring packet error, continuing > ......... > Couldn't establish connection to remote target > Malformed response to offset query, timeout > > step 3) > - from targetsystem: > 1. Ctrl + Alt + Esc to go into db > 2. from db> type gdb > 3. it displays: "The remote GDB backend could not be selected" > > > > On Mon, Oct 6, 2008 at 5:12 PM, alan yang wrote: >> the problem is, when entering gdb from db as described in the following: >> -- >> Enter ing gdb from ddb >> In FreeBSD you can build a kernel with support for both ddb and gdb. >> You can then >> change backwards and forwards between them. For example, if you're in >> ddb, you can >> go to gdb like this: >> db> gdb >> Next trap will enter GDB remote protocol mode >> db> si step a single instruction to reenter ddb >> -- >> after typing gdb command, it says: "The remote GDB backend could not >> be selected" >> that i am not sure what this indicates; looking at subr_kdb.c, wonder >> maybe kdb_dbbe_set is not set? seems kdb_dbbe_set is not referenced >> anywhere, not sure how to get it right. >> >> thanks for shed some light ... >> >> On Mon, Oct 6, 2008 at 4:26 PM, Pietro Cerutti wrote: >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA512 >>> >>> alan yang wrote: >>> | hi, there, >>> | >>> | wonder people can shed some lights on remote debugging. i have >>> | freebsd7 configured with option DDB / KDB / GDB but after entering the >>> | db on the target system the command gdb gives "the remote GDB backend >>> | could not be selected". >>> | >>> | i browsed through the mailing list, and do find 1 similar post but >>> | without answer. >>> | >>> | thanks in advance & apology if i overlooked things ... >>> >>> I suggest the following tutorial: >>> http://www.lemis.com/grog/Papers/Debug-tutorial/tutorial.pdf >>> >>> Have fun :) >>> >>> | >>> | cheers, >>> | alan >>> | _______________________________________________ >>> | freebsd-hackers@freebsd.org mailing list >>> | http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >>> | To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >>> >>> >>> - -- >>> Pietro Cerutti >>> gahr@FreeBSD.org >>> >>> PGP Public Key: >>> http://gahr.ch/pgp >>> >>> -----BEGIN PGP SIGNATURE----- >>> Version: GnuPG v2.0.9 (FreeBSD) >>> >>> iEYEAREKAAYFAkjqnpQACgkQwMJqmJVx945RSwCgoDb0JTr8LSFDB1vpAbGUjb76 >>> ZH0An19HpFVJJTUB5/XnyZc0pIDzgxc3 >>> =6Pdm >>> -----END PGP SIGNATURE----- >>> > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 18:51:41 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73A96106569B for ; Tue, 7 Oct 2008 18:51:41 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by mx1.freebsd.org (Postfix) with ESMTP id EBC0E8FC20 for ; Tue, 7 Oct 2008 18:51:40 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: by ey-out-2122.google.com with SMTP id 6so966391eyi.7 for ; Tue, 07 Oct 2008 11:51:39 -0700 (PDT) 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=DZRObyjMePyn7F5qfwiYcvONkBKmxz4QbogdkIUwBU0=; b=ofjy9XvOInl7sBtnFSMU83OKXJHbSr4vgBMP2XhrZpruluLRFwPA1qYNsSffqTrNKG A9v8FmMPW3ctZ31QJ7Qqj4jNK5KTLyJUwmMjQzEFrpFLnnAnxsvcWoj1aaDAPBIpAT6s JM3+L/1R25t6peBMPkEYYvL2jFQ66mLYzp2I0= 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=FXitta0IelTQIXIPoBvzoyFOr3zYbX43Gz470l361ZlegIpB4i6ibVW/q/FD5qNZvu TcgrJWVIIkFXmjHo0/FBoQHxFwFgGCXFzNYCVfW34mN7Lcpe2cAz9FWWGcjGOL65JBzI oGpio8f/2zuKlMaohCqJNzhCpyrQq8wDL5fB4= Received: by 10.187.158.11 with SMTP id k11mr1375690fao.16.1223403126254; Tue, 07 Oct 2008 11:12:06 -0700 (PDT) Received: by 10.187.161.6 with HTTP; Tue, 7 Oct 2008 11:12:06 -0700 (PDT) Message-ID: Date: Tue, 7 Oct 2008 11:12:06 -0700 From: "Navdeep Parhar" To: "alan yang" In-Reply-To: <290865fd0810071053k6da13d96j391ade1a30599fa1@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <290865fd0810061544ubbe92fdsf75501bb729da3f0@mail.gmail.com> <48EA9E95.80105@FreeBSD.org> <290865fd0810061712sfdf5a0p4d3954773ee27a3d@mail.gmail.com> <290865fd0810071053k6da13d96j391ade1a30599fa1@mail.gmail.com> Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Subject: Re: kgdb debugging X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 18:51:41 -0000 On Tue, Oct 7, 2008 at 10:53 AM, alan yang wrote: > Could people shed some light how to get remote debugging going, must > be something that i overlooked, really appreciate. > Do you have the right flags for sio or uart in /boot/device.hints? I have this (for a recent HEAD):: hint.uart.0.flags="0x90" You are probably using sio as it is a FreeBSD7 system. From the man page of sio (the part that talks about flags):: ... 0x00080 use this port for remote kernel debugging ... Make sure you have this bit set. Regards, Navdeep > Two FreeBSD7 systems, target and development, connected with null > modem cable on each's COM1. > > step 1) > - rebuild kernel with following options: > options DDB > options KDB > options GDB > > makeoptions DEBUG=-g > > step 2) > - from development system > cd to /usr/src/sys/i386/comiple/MYKERNEL > kgdb -r /dev/cuad0 kernel.debug > > it displays the following: > Switching to remote protocol > Ignoring packet error, continuing > ......... > Couldn't establish connection to remote target > Malformed response to offset query, timeout > > step 3) > - from targetsystem: > 1. Ctrl + Alt + Esc to go into db > 2. from db> type gdb > 3. it displays: "The remote GDB backend could not be selected" > > > > On Mon, Oct 6, 2008 at 5:12 PM, alan yang wrote: >> the problem is, when entering gdb from db as described in the following: >> -- >> Enter ing gdb from ddb >> In FreeBSD you can build a kernel with support for both ddb and gdb. >> You can then >> change backwards and forwards between them. For example, if you're in >> ddb, you can >> go to gdb like this: >> db> gdb >> Next trap will enter GDB remote protocol mode >> db> si step a single instruction to reenter ddb >> -- >> after typing gdb command, it says: "The remote GDB backend could not >> be selected" >> that i am not sure what this indicates; looking at subr_kdb.c, wonder >> maybe kdb_dbbe_set is not set? seems kdb_dbbe_set is not referenced >> anywhere, not sure how to get it right. >> >> thanks for shed some light ... >> >> On Mon, Oct 6, 2008 at 4:26 PM, Pietro Cerutti wrote: >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA512 >>> >>> alan yang wrote: >>> | hi, there, >>> | >>> | wonder people can shed some lights on remote debugging. i have >>> | freebsd7 configured with option DDB / KDB / GDB but after entering the >>> | db on the target system the command gdb gives "the remote GDB backend >>> | could not be selected". >>> | >>> | i browsed through the mailing list, and do find 1 similar post but >>> | without answer. >>> | >>> | thanks in advance & apology if i overlooked things ... >>> >>> I suggest the following tutorial: >>> http://www.lemis.com/grog/Papers/Debug-tutorial/tutorial.pdf >>> >>> Have fun :) >>> >>> | >>> | cheers, >>> | alan >>> | _______________________________________________ >>> | freebsd-hackers@freebsd.org mailing list >>> | http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >>> | To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >>> >>> >>> - -- >>> Pietro Cerutti >>> gahr@FreeBSD.org >>> >>> PGP Public Key: >>> http://gahr.ch/pgp >>> >>> -----BEGIN PGP SIGNATURE----- >>> Version: GnuPG v2.0.9 (FreeBSD) >>> >>> iEYEAREKAAYFAkjqnpQACgkQwMJqmJVx945RSwCgoDb0JTr8LSFDB1vpAbGUjb76 >>> ZH0An19HpFVJJTUB5/XnyZc0pIDzgxc3 >>> =6Pdm >>> -----END PGP SIGNATURE----- >>> >> > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 19:33:26 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D91E106568A for ; Tue, 7 Oct 2008 19:33:26 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 16F438FC17 for ; Tue, 7 Oct 2008 19:33:25 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id m97JXVVp062385; Tue, 7 Oct 2008 12:33:33 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Tue, 7 Oct 2008 12:33:19 -0700 (PDT) Date: Tue, 7 Oct 2008 12:33:16 -0700 From: Gary Kline To: RW Message-ID: <20081007193316.GA49861@thought.org> References: <20081007161330.GA43881@thought.org> <20081007180115.175ee89b@gumby.homeunix.com.> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081007180115.175ee89b@gumby.homeunix.com.> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 22 years of service to the Unix community. X-Spam-Status: No, score=-4.2 required=3.6 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: freebsd-questions@freebsd.org Subject: Re: From konsole, konq: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 19:33:26 -0000 On Tue, Oct 07, 2008 at 06:01:15PM +0100, RW wrote: > On Tue, 7 Oct 2008 09:13:33 -0700 > Gary Kline wrote: > > > > > Here's what I get con my knosole: > > > > > > p8 1:20 [5112] konqueror > > konqueror: WARNING: Can't > > open /usr/home/kline/.kde/share/apps/konqueror/bookmarks.xml kio > > (KMimeType): WARNING: KServiceType::offers : servicetype not found > > kio (KMimeType): WARNING: KServiceType::offers : servicetype not > > found p8 9:00 [5113] konqueror > > Is ~/.kde from kde 3.x? If it is I'd try renaming it and starting over. > > When you use KDE 4 at the same time as KDE 3, it uses a separate .kde4 > directory. I don't see any .kde4 dir. I finally did move .kde to .KDE.OLD I didn't want to lose all my bookmarks and mail files... I'll try again: see what happens. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 19:43:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 899AF106569C for ; Tue, 7 Oct 2008 19:43:07 +0000 (UTC) (envelope-from datahead4@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id EA0618FC1A for ; Tue, 7 Oct 2008 19:43:06 +0000 (UTC) (envelope-from datahead4@gmail.com) Received: by ey-out-2122.google.com with SMTP id 6so975356eyi.7 for ; Tue, 07 Oct 2008 12:43:05 -0700 (PDT) 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=jG4eCWp6C1lQZiy9gWLClVWifU5ib7krFRUR7sgIyCI=; b=Me/YBgyB8KJN+ODYkVqnxOMJtK04Y7wM/uMCMau9+v7AcyL+eI6HSZo+JlbTu+EsEv 3no5Os2R13XY1bTHG9vyyufoASz5+42zFlrvW37wM6ppTPeVuh+6qifVymeeU/5wAeXo jYora/sbjQ8zz4MnqGbmV3KQaMn4/SGhpDV78= 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=kCJaHcYWEAN+HplUaRYjAFwjjDrNAHPGPDlupYnZTQAn8eFnvjThEMKPI67UKBotQW XWf80HyfKB/ZotcOSwMkf6zucKFgAq0eTSuF6Z8XFNbngdsEJ8FUg7starfGg2K+9tQ5 jskQTbmV60R0vWjjj15iP1kR1108IDS2tcJh4= Received: by 10.210.115.17 with SMTP id n17mr2871540ebc.178.1223408585523; Tue, 07 Oct 2008 12:43:05 -0700 (PDT) Received: by 10.210.49.15 with HTTP; Tue, 7 Oct 2008 12:43:05 -0700 (PDT) Message-ID: Date: Tue, 7 Oct 2008 14:43:05 -0500 From: Matt To: "Gary Kline" In-Reply-To: <20081007193316.GA49861@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081007161330.GA43881@thought.org> <20081007180115.175ee89b@gumby.homeunix.com.> <20081007193316.GA49861@thought.org> Cc: RW , freebsd-questions@freebsd.org Subject: Re: From konsole, konq: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 19:43:07 -0000 On Tue, Oct 7, 2008 at 2:33 PM, Gary Kline wrote: > On Tue, Oct 07, 2008 at 06:01:15PM +0100, RW wrote: >> On Tue, 7 Oct 2008 09:13:33 -0700 >> Gary Kline wrote: >> >> > >> > Here's what I get con my knosole: >> > >> > >> > p8 1:20 [5112] konqueror >> > konqueror: WARNING: Can't >> > open /usr/home/kline/.kde/share/apps/konqueror/bookmarks.xml kio >> > (KMimeType): WARNING: KServiceType::offers : servicetype not found >> > kio (KMimeType): WARNING: KServiceType::offers : servicetype not >> > found p8 9:00 [5113] konqueror >> >> Is ~/.kde from kde 3.x? If it is I'd try renaming it and starting over. >> >> When you use KDE 4 at the same time as KDE 3, it uses a separate .kde4 >> directory. > > > I don't see any .kde4 dir. I finally did move .kde to .KDE.OLD > I didn't want to lose all my bookmarks and mail files... > > I'll try again: see what happens. > Also, make sure your path includes the /usr/local/kde4/bin directory, preferably listed before /usr/local/bin if you have KDE3 installed as well. Matt From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 19:52:50 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DE41106568E for ; Tue, 7 Oct 2008 19:52:50 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id DCFA08FC1A for ; Tue, 7 Oct 2008 19:52:49 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id m97JqxLL062509; Tue, 7 Oct 2008 12:52:59 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Tue, 7 Oct 2008 12:52:45 -0700 (PDT) Date: Tue, 7 Oct 2008 12:52:45 -0700 From: Gary Kline To: RW Message-ID: <20081007195243.GB49861@thought.org> References: <20081007161330.GA43881@thought.org> <20081007180115.175ee89b@gumby.homeunix.com.> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081007180115.175ee89b@gumby.homeunix.com.> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 22 years of service to the Unix community. X-Spam-Status: No, score=-4.2 required=3.6 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: freebsd-questions@freebsd.org Subject: Re: From konsole, konq: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 19:52:50 -0000 On Tue, Oct 07, 2008 at 06:01:15PM +0100, RW wrote: > On Tue, 7 Oct 2008 09:13:33 -0700 > Gary Kline wrote: > > > > > Here's what I get con my knosole: > > > > > > p8 1:20 [5112] konqueror > > konqueror: WARNING: Can't > > open /usr/home/kline/.kde/share/apps/konqueror/bookmarks.xml kio > > (KMimeType): WARNING: KServiceType::offers : servicetype not found > > kio (KMimeType): WARNING: KServiceType::offers : servicetype not > > found p8 9:00 [5113] konqueror > > Is ~/.kde from kde 3.x? If it is I'd try renaming it and starting over. > > When you use KDE 4 at the same time as KDE 3, it uses a separate .kde4 > directory. Hmm. I mv'd .kde elsewhere. Also /tmp and /var/tmp are free. But" p8 12:49 [5125] kontact just hangs. Any ideas? -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 19:59:03 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DC0A1065690; Tue, 7 Oct 2008 19:59:03 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from kanga.honeypot.net (kanga.honeypot.net [IPv6:2001:470:a80a:1:21f:d0ff:fe22:b8a8]) by mx1.freebsd.org (Postfix) with ESMTP id A684D8FC08; Tue, 7 Oct 2008 19:59:02 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from localhost (localhost [127.0.0.1]) by kanga.honeypot.net (Postfix) with ESMTP id F2D4A93E3CE; Tue, 7 Oct 2008 14:59:01 -0500 (CDT) X-Virus-Scanned: amavisd-new at honeypot.net Received: from kanga.honeypot.net ([127.0.0.1]) by localhost (kanga.honeypot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FdXzqsOTEVLs; Tue, 7 Oct 2008 14:58:56 -0500 (CDT) Received: from pooh.honeypot.net (pooh.honeypot.net [IPv6:2001:470:a80a:1:20a:95ff:fed5:10f2]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by kanga.honeypot.net (Postfix) with ESMTPSA id C6D38944FB6; Tue, 7 Oct 2008 14:58:56 -0500 (CDT) Message-Id: From: Kirk Strauser To: FreeBSD Questions ML In-Reply-To: <20081007175124.GA54581@icarus.home.lan> Mime-Version: 1.0 (Apple Message framework v929.2) Date: Tue, 7 Oct 2008 14:58:56 -0500 References: <20081007132517.GA31229@melon.esperance-linux.co.uk> <20081007132832.GA49914@icarus.home.lan> <20081007173315.GA35592@melon.esperance-linux.co.uk> <20081007175124.GA54581@icarus.home.lan> X-Mailer: Apple Mail (2.929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Jeremy Chadwick Subject: Re: Coretemp seems to be off quite a bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 19:59:03 -0000 On Oct 7, 2008, at 12:51 PM, Jeremy Chadwick wrote: > It would help if we could see some of his sysctl date, specifically > these: > > debug.cpufreq.* > dev.cpufreq.[0-9].* > dev.cpu.[0-9].freq > dev.cpu.[0-9].freq_levels $ sysctl debug.cpufreq debug.cpufreq.verbose: 0 debug.cpufreq.lowest: 0 $ sysctl dev.cpufreq.0 dev.cpufreq.0.%driver: cpufreq dev.cpufreq.0.%parent: cpu0 $ sysctl dev.cpufreq.1 dev.cpufreq.1.%driver: cpufreq dev.cpufreq.1.%parent: cpu1 $ sysctl dev.cpu | grep freq dev.cpu.0.freq: 2984 dev.cpu.0.freq_levels: 2984/-1 2611/-1 2238/-1 1865/-1 1492/-1 1119/-1 746/-1 373/-1 > For all we know, it could be the heatsink/fan is not properly mounted, > or there's too much thermal paste. Who knows. I remounted the heatsink (side note: curse you, Intel - was that meant to be funny?), and didn't apply a single bit of paste other than what came on it. I don't have the ability to boot Windows on this system, or at least not without some pain (it's a server with no extra drive space I could readily set aside to install it, for starters). Since fiddling with the heatsink, the temperature was down to 45C at boot. I did another "make -j4 buildworld" and it got up to 58C. Since killing that build, it's slowly working its way back into the high 40s (currently bouncing between 48 and 49). -- Kirk Strauser From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 20:17:48 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E117106569E for ; Tue, 7 Oct 2008 20:17:48 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 9ED1F8FC1A for ; Tue, 7 Oct 2008 20:17:47 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id m97KHpr1062728; Tue, 7 Oct 2008 13:17:51 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Tue, 7 Oct 2008 13:17:37 -0700 (PDT) Date: Tue, 7 Oct 2008 13:17:37 -0700 From: Gary Kline To: Matt Message-ID: <20081007201737.GA50884@thought.org> References: <20081007161330.GA43881@thought.org> <20081007180115.175ee89b@gumby.homeunix.com.> <20081007193316.GA49861@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 22 years of service to the Unix community. X-Spam-Status: No, score=-4.2 required=3.6 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: RW , freebsd-questions@freebsd.org Subject: Re: From konsole, konq: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 20:17:48 -0000 On Tue, Oct 07, 2008 at 02:43:05PM -0500, Matt wrote: > On Tue, Oct 7, 2008 at 2:33 PM, Gary Kline wrote: > > On Tue, Oct 07, 2008 at 06:01:15PM +0100, RW wrote: > >> On Tue, 7 Oct 2008 09:13:33 -0700 > >> Gary Kline wrote: > >> > >> > > >> > Here's what I get con my knosole: > >> > > >> > > >> > p8 1:20 [5112] konqueror > >> > konqueror: WARNING: Can't > >> > open /usr/home/kline/.kde/share/apps/konqueror/bookmarks.xml kio > >> > (KMimeType): WARNING: KServiceType::offers : servicetype not found > >> > kio (KMimeType): WARNING: KServiceType::offers : servicetype not > >> > found p8 9:00 [5113] konqueror > >> > >> Is ~/.kde from kde 3.x? If it is I'd try renaming it and starting over. > >> > >> When you use KDE 4 at the same time as KDE 3, it uses a separate .kde4 > >> directory. > > > > > > I don't see any .kde4 dir. I finally did move .kde to .KDE.OLD > > I didn't want to lose all my bookmarks and mail files... > > > > I'll try again: see what happens. > > > Also, make sure your path includes the /usr/local/kde4/bin directory, > preferably listed before /usr/local/bin if you have KDE3 installed as > well. > > Matt This is getting stranger and stranger. I did a pkg_delete -f kde, but / p8 13:08 [5146] which konqueror /usr/local/bin/konqueror ls -ls konqueror in /usr/local/kde4/bin gives me: 8 -rwxr-xr-x 1 root wheel 7541 Oct 3 22:39 konqueror p8 13:12 [5151] lt `which konqueror` -r-xr-xr-x 1 root wheel 4028 Oct 3 19:38 /usr/local/bin/konqueror So this tells me I should not have been in kde while doing my pkg_delete. Any ideas how to get rid of all the kde3 binaries? i means automagically:) gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 20:33:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAB37106568B for ; Tue, 7 Oct 2008 20:33:21 +0000 (UTC) (envelope-from fbsd06+2P=f0485365@mlists.homeunix.com) Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by mx1.freebsd.org (Postfix) with ESMTP id 9FCBD8FC16 for ; Tue, 7 Oct 2008 20:33:20 +0000 (UTC) (envelope-from fbsd06+2P=f0485365@mlists.homeunix.com) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 6F31FD051E for ; Tue, 7 Oct 2008 16:33:15 -0400 (EDT) Date: Tue, 7 Oct 2008 21:33:02 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20081007213302.778c80a7@gumby.homeunix.com.> In-Reply-To: <20081007201737.GA50884@thought.org> References: <20081007161330.GA43881@thought.org> <20081007180115.175ee89b@gumby.homeunix.com.> <20081007193316.GA49861@thought.org> <20081007201737.GA50884@thought.org> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: From konsole, konq: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 20:33:21 -0000 On Tue, 7 Oct 2008 13:17:37 -0700 Gary Kline wrote: > > This is getting stranger and stranger. I did a pkg_delete -f > kde, but / > p8 13:08 [5146] which konqueror > /usr/local/bin/konqueror That's normal, the kde3 port is just a metaport - a dummy port that that causes a collection ports to be built as dependencies. Try using pkg_cutleaves. From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 20:42:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E70581065699 for ; Tue, 7 Oct 2008 20:42:09 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.10]) by mx1.freebsd.org (Postfix) with ESMTP id C05688FC1E for ; Tue, 7 Oct 2008 20:42:09 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 25116 invoked from network); 7 Oct 2008 20:42:09 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 7 Oct 2008 20:42:09 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id CBFE628461; Tue, 7 Oct 2008 16:42:07 -0400 (EDT) To: Anton Shterenlikht References: <20081007115504.GA78610@mech-cluster238.men.bris.ac.uk> From: Lowell Gilbert Date: Tue, 07 Oct 2008 16:42:07 -0400 In-Reply-To: <20081007115504.GA78610@mech-cluster238.men.bris.ac.uk> (Anton Shterenlikht's message of "Tue\, 7 Oct 2008 12\:55\:04 +0100") Message-ID: <44abdgf880.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: detecting monitor's sync and refresh rate? 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, 07 Oct 2008 20:42:10 -0000 Anton Shterenlikht writes: > I've a monitor (Mobi M15MPC) with no docs. > I've searched the net but cannot find any info on sync and refresh rate for it. > I've done Xorg -configure, but testing with X -config xorg.conf.new > shows screen shifted to the side and very nasty blinking, from which > I deduced that perhaps I need to specify correct sync, refresh and mode. > > Are there any commands to get sync and refresh from the monitor? If X can't probe the monitor for its settings, I wouldn't trust any other method of probing it either. Not to overlook the obvious: are the settings written on the back of the monitor? You can always try Google... -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 20:42:11 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1233C106569C for ; Tue, 7 Oct 2008 20:42:11 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from smtp-2.orange.nl (smtp-2.orange.nl [193.252.22.242]) by mx1.freebsd.org (Postfix) with ESMTP id CBB058FC08 for ; Tue, 7 Oct 2008 20:42:10 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf6112.online.nl (SMTP Server) with ESMTP id ADB071C00089 for ; Tue, 7 Oct 2008 22:42:09 +0200 (CEST) Received: from [192.168.2.173] (s5590cf7b.adsl.wanadoo.nl [85.144.207.123]) by mwinf6112.online.nl (SMTP Server) with ESMTP id 798921C00084 for ; Tue, 7 Oct 2008 22:42:09 +0200 (CEST) X-ME-UUID: 20081007204209497.798921C00084@mwinf6112.online.nl From: Aniruddha To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Tue, 07 Oct 2008 22:42:16 +0200 Message-Id: <1223412136.3966.10.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Subject: Can't get soundcard to work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 20:42:11 -0000 I've read the "Setting Up the Sound Card" part in the FreeBSD handbook unfortunately I can't get my Intel HDA card to work. Any ideas would be appreciated! Here's some relevant output: sndstat: > FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) > Installed devices: > pcm0: at memory 0xff9ec000 irq 17 kld snd_hda [20080420_0052] [MPSAFE] (mixer only) > pcm1: at memory 0xffafc000 irq 19 kld snd_hda [20080420_0052] [MPSAFE] (1p:1v/1r:1v channels duplex) from dmesg: > pcm1: mem 0xffafc000-0xffafffff irq 19 at device 27.0 on pci0 > pcm1: [ITHREAD] > pcib2: irq 16 at device 28.0 on pci0 > pci4: on pcib2 > pcib3: irq 19 at device 28.3 on pci0 > pci3: on pcib3 cat dmesg > /dev/dsp > su: /dev/dsp: Operation not supported from pciconf: > pcm1@pci0:0:27:0: class=0x040300 card=0x81d81043 chip=0x27d88086 rev=0x01 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801G (ICH7 Family) High Definition Audio' > class = multimedia > vgapci0@pci0:5:0:0: class=0x030000 card=0xe630174b chip=0x95051002 rev=0x00 hdr=0x00 > vendor = 'ATI Technologies Inc' > class = display > subclass = VGA > pcm0@pci0:5:0:1: class=0x040300 card=0xaa18174b chip=0xaa181002 rev=0x00 hdr=0x00 > vendor = 'ATI Technologies Inc' > class = multimedia -- Regards, Aniruddha From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 20:53:02 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D40A106568B for ; Tue, 7 Oct 2008 20:53:02 +0000 (UTC) (envelope-from wtf.jlaine@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.freebsd.org (Postfix) with ESMTP id AA4DB8FC20 for ; Tue, 7 Oct 2008 20:52:58 +0000 (UTC) (envelope-from wtf.jlaine@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so36352nfh.33 for ; Tue, 07 Oct 2008 13:52:50 -0700 (PDT) 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:mail-followup-to:mime-version:content-type :content-disposition:user-agent:x-operating-system; bh=EHhpQZ+OrIMX81AXPxh2MHtYSD2Do6sUOqlK38BbHyI=; b=I7kgjM5pOinWgsEh+Y27ZWVnoOl5hE8el6+O/7vYYkfCwppdZsGuhnIDk+bQDpera/ +KcI0pEToJLttyNRac0hcmzgy0JXSFKpKbs1L+1RQm2AApmEUp5OZP4hIk1LopYWOdOB DG/B3QvZJ9u888UYdmD04TVecK1Jb8eoYrh5c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:mime-version :content-type:content-disposition:user-agent:x-operating-system; b=FwziUf5OQvXY/Z/bY+EP1amx6b97TFt5XTXlC/99Msfum0mjyNhr5HxDFCnsKKxmrt rvi0h6gs2xG3svlYbNPJR1xh7p71ePGhbNRDOtl1MJEjGTPGiWKLYkwI6CY22sxleLj3 avmo+9a6+VMMZ9B/CjKtR4EKom6H5oBWqQhu8= Received: by 10.210.10.1 with SMTP id 1mr8669214ebj.80.1223412769962; Tue, 07 Oct 2008 13:52:49 -0700 (PDT) Received: from blackmesa ([77.66.225.53]) by mx.google.com with ESMTPS id 2sm48310194nfv.5.2008.10.07.13.52.46 (version=SSLv3 cipher=RC4-MD5); Tue, 07 Oct 2008 13:52:48 -0700 (PDT) Received: by blackmesa (sSMTP sendmail emulation); Wed, 8 Oct 2008 00:52:44 +0400 Date: Wed, 8 Oct 2008 00:52:44 +0400 From: Jeff Laine To: freebsd-questions@freebsd.org Message-ID: <20081007205244.GA2133@a3500l.bsd.loc> Mail-Followup-To: Jeff Laine , freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="BXVAT5kNtrzKuDFl" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.1-PRERELEASE i386 Subject: Sound troubles with high res modes in console X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 20:53:02 -0000 --BXVAT5kNtrzKuDFl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello, everybody! The system is ASUS "A3500L", old laptop on Intel Montara platform, running 7.1-PRERELEASE I have one trouble while listening music with console players. Sound became crippled when I have output to STDOUT or whenever I use text-scrolling in editors or switching between consoles. This trouble appeared right after I changed vidcontrol setting to 1024x786 mode. In order to get VESA modes I recompilled my kernel with these additional options: >cat /sys/i386/conf/CUSTOM # not sure if I should use these actually :) ... device drm device i915drm device acpi_video options SC_PIXEL_MODE options VESA ... Also I put 'allscreens_flags="-i mode MODE_279"' in /etc/rc.conf to have 1024x768 mode in my consoles. >vidcontrol -i mode ... 277 (0x115) 0x0000000f G 800x600x32 1 8x16 0xa0000 64k 64k 0xf0000000 32576k 279 (0x117) 0x0000000f G 1024x768x16 1 8x16 0xa0000 64k 64k 0xf0000000 32576k 280 (0x118) 0x0000000f G 1024x768x32 1 8x16 0xa0000 64k 64k 0xf0000000 32576k I'm loading sound module for my Intel ICH4 chipset: >cat /boot/loader.conf acpi_video_load="YES" snd_ich_load="YES" # Intel ICH > kldstat kernel snd_ich.ko sound.ko acpi_video.ko acpi.ko atapicam.ko pflog.ko pf.ko logo_saver.ko When I'm switching vidcontrol mode back to default setting, playback becames smooth again. So, is there any way to get smooth playback in console with high res settings? Any advises will be much appreciated. Thanks! -- Best regards, Jeff _ ( ) ASCII ribbon campaign X - against HTML, vCards and / \ - proprietary attachments in e-mail --BXVAT5kNtrzKuDFl Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=kernelconfig cpu I686_CPU ident CUSTOM makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols options SCHED_ULE # ULE scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options INET6 # IPv6 communications protocols options SCTP # Stream Control Transmission Protocol 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 UFS_GJOURNAL # Enable gjournal-based UFS journaling options MD_ROOT # MD is a potential root device options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFSLOCKD # Network Lock Manager 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_PART_GPT # GUID Partition Tables. options COMPAT_43TTY # BSD 4.3 TTY compat [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options COMPAT_FREEBSD6 # Compatible with FreeBSD6 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options STACK # stack(9) 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 ADAPTIVE_GIANT # Giant mutex is adaptive. options STOP_NMI # Stop CPUS using NMI instead of IPI options AUDIT # Security event auditing device apic # I/O APIC device cpufreq device eisa device pci device fdc 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 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) device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device kbdmux # keyboard multiplexer device vga # VGA video card driver device splash # Splash screen and screen saver support device sc device agp # support several AGP chipsets device drm device i915drm options SC_PIXEL_MODE options VESA device ichwd device acpi_video device pmtimer device cbb # cardbus (yenta) bridge device pccard # PC Card (16-bit) bus device cardbus # CardBus (32-bit) bus device sio # 8250, 16[45]50 based serial ports device uart # Generic UART driver device ppc device ppbus # Parallel port bus (required) device lpt # Printer device plip # TCP/IP over parallel device ppi # Parallel port interface device device miibus # MII bus support device rl # RealTek 8129/8139 device cs # Crystal Semiconductor CS89x0 NIC device wlan # 802.11 support device wlan_wep # 802.11 WEP support device wlan_ccmp # 802.11 CCMP support device wlan_tkip # 802.11 TKIP support device wlan_amrr # AMRR transmit rate control algorithm device wlan_scan_ap # 802.11 AP mode scanning device wlan_scan_sta # 802.11 STA mode scanning device an # Aironet 4500/4800 802.11 wireless NICs. device ath # Atheros pci/cardbus NIC's device ath_hal # Atheros HAL (Hardware Access Layer) device ath_rate_sample # SampleRate tx rate control for ath device awi # BayStack 660 and others device ral # Ralink Technology RT2500 wireless NICs. device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs. device wl # Older non 802.11 Wavelan wireless NIC. device loop # Network loopback 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) device firmware # firmware assist module device bpf # Berkeley packet filter 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 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 ural # Ralink Technology RT2500USB wireless NICs device rum # Ralink Technology RT2501USB wireless NICs device urio # Diamond Rio 500 MP3 player device uscanner # Scanners device ucom # Generic com ttys device uark # Technologies ARK3116 based serial adapters device ubsa # Belkin F5U103 and compatible serial adapters device ubser # BWCT console serial adapters device uftdi # For FTDI usb serial adapters device uipaq # Some WinCE based devices device uplcom # Prolific PL-2303 serial adapters device uslcom # SI Labs CP2101/CP2102 serial adapters device uvisor # Visor and Palm devices device uvscom # USB serial support for DDI pocket's PHS 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 device firewire # FireWire bus code device sbp # SCSI over FireWire (Requires scbus and da) device fwe # Ethernet over FireWire (non-standard!) device fwip # IP over FireWire (RFC 2734,3146) device dcons # Dumb console driver device dcons_crom # Configuration ROM for dcons --BXVAT5kNtrzKuDFl Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="dmesg.out" Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.1-PRERELEASE #0: Wed Oct 1 21:01:14 MSD 2008 root@a3500l.bsd.loc:/usr/obj/usr/src/sys/CUSTOM Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Celeron(R) M processor 1.60GHz (1600.06-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6d8 Stepping = 8 Features=0xafe9fbff real memory = 1576271872 (1503 MB) avail memory = 1527959552 (1457 MB) ACPI APIC Table: ioapic0: Changing APIC ID to 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ichwd module loaded ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 5df00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.1 (no driver attached) pci0: at device 0.3 (no driver attached) vgapci0: port 0xdc00-0xdc07 mem 0xf0000000-0xf7ffffff,0xfeb80000-0xfebfffff irq 16 at device 2.0 on pci0 agp0: on vgapci0 agp0: detected 32636k stolen memory agp0: aperture size is 128M acpi_video0: on vgapci0 drm0: on vgapci0 info: [drm] AGP at 0xf0000000 128MB info: [drm] Initialized i915 1.5.0 20060119 vgapci1: mem 0xe8000000-0xefffffff,0xfea80000-0xfeafffff at device 2.1 on pci0 drm1: on vgapci1 info: [drm] AGP at 0xf0000000 128MB info: [drm] Initialized i915 1.5.0 20060119 uhci0: port 0xd480-0xd49f irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xd800-0xd81f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xd880-0xd89f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xfeb7fc00-0xfeb7ffff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: on usb3 uhub3: 6 ports with 6 removable, self powered pcib1: at device 30.0 on pci0 pci1: on pcib1 rl0: port 0xc800-0xc8ff mem 0xfe8ff400-0xfe8ff4ff irq 18 at device 0.0 on pci1 miibus0: on rl0 rlphy0: PHY 0 on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:15:f2:80:71:14 rl0: [ITHREAD] cbb0: at device 5.0 on pci1 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [ITHREAD] cbb1: at device 5.1 on pci1 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 cbb1: [ITHREAD] fwohci0: mem 0xfe8ff800-0xfe8fffff irq 19 at device 5.2 on pci1 fwohci0: [FILTER] fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:e0:18:00:03:47:92:ea fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 sbp0: on firewire0 dcons_crom0: on firewire0 dcons_crom0: bus_addr 0x1ad0000 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:e0:18:47:92:ea fwe0: Ethernet address: 02:e0:18:47:92:ea fwip0: on firewire0 fwip0: Firewire address: 00:e0:18:00:03:47:92:ea @ 0xfffe00000000, S400, maxrec 2048 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] pcm0: port 0xe000-0xe0ff,0xe100-0xe13f at device 31.5 on pci0 pcm0: [ITHREAD] pcm0: pci0: at device 31.6 (no driver attached) acpi_button0: on acpi0 acpi_lid0: on acpi0 acpi_tz0: on acpi0 acpi_acad0: on acpi0 battery0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model Generic PS/2 mouse, device ID 0 sio0: configured irq 3 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 3 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: port 0x2f8-0x2ff irq 3 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] cpu0: on acpi0 p4tcc0: on cpu0 ichss0: on cpu0 ichss0: enabling SpeedStep support ichwd0: on isa0 ichwd0: Intel 82801DBM watchdog timer (ICH4 or equivalent) pmtimer0 on isa0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/16 bytes threshold ppbus0: on ppc0 ppbus0: [ITHREAD] plip0: on ppbus0 plip0: WARNING: using obsoleted IFF_NEEDSGIANT flag lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ums0: on uhub0 ums0: 3 buttons and Z dir. Timecounter "TSC" frequency 1600064646 Hz quality 800 Timecounters tick every 1.000 msec firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) ad0: 152627MB at ata0-master UDMA100 acd0: DVDR at ata1-master UDMA33 cardbus1: at device 0.0 (no driver attached) cardbus1: at device 0.1 (no driver attached) acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01 acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01 cd0 at ata1 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: cd present [109696 x 2048 byte records] Trying to mount root from ufs:/dev/ad0s3a --BXVAT5kNtrzKuDFl-- From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 20:54:16 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58DD11065696 for ; Tue, 7 Oct 2008 20:54:16 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell.rawbw.com (shell.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 4775D8FC26 for ; Tue, 7 Oct 2008 20:54:16 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from eagle.syrec.org (c-67-188-126-36.hsd1.ca.comcast.net [67.188.126.36]) (authenticated bits=0) by shell.rawbw.com (8.13.6/8.13.6) with ESMTP id m97Kt5S9063363 for ; Tue, 7 Oct 2008 13:55:05 -0700 (PDT) Message-ID: <48EBCC75.1040908@rawbw.com> Date: Tue, 07 Oct 2008 13:54:13 -0700 From: Yuri User-Agent: Thunderbird 2.0.0.17 (X11/20081001) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Strange memory/cpu behavior X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yuri@rawbw.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 20:54:16 -0000 I have STABLE-71 machine with 2GB memory and single 2GHz AMD3200 CPU. There is one large active process slowly growing in memory from 500MB to 1300MB, not reading or writing any files. There are many dormant processes almost not running at all. Swap size remains constant (185MB). Total physical memory used remains 2GB (whole memory used). ps shows that the active process only takes 15-18% CPU. But total CPU consumption on the machine is 100% (user). Since the active process grows but swap+physical memory doesn't grow I assume that OS pushes out other processes code since it's unchanged on disk. Why such operation is so expensive and takes 80-85% CPU? Why total of all user processes CPU consumption is ~20% but total CPU(user) consumption shows as 100%? Shouldn't they be the same. Yuri From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 20:56:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACDDF1065689 for ; Tue, 7 Oct 2008 20:56:39 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from mail-gx0-f21.google.com (mail-gx0-f21.google.com [209.85.217.21]) by mx1.freebsd.org (Postfix) with ESMTP id 289708FC17 for ; Tue, 7 Oct 2008 20:56:39 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: by gxk14 with SMTP id 14so7099837gxk.19 for ; Tue, 07 Oct 2008 13:56:38 -0700 (PDT) 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=m+zwQuUdbsD3hCvcJ0SM/Ar77EqTLDxPE1xU0DDPpuA=; b=H+VOvSRSHjQjHlpOa0v9AaEMnVMCkYcyjDuzsD6wgrTdL9oWzo6qb7TrM7CLshxXOc hImlEju0oa0Knay+/YDjXFseB6kyiBTywCja4pBO5bEDqPQxjTLXTyojsVQn8xOAwoTf gGkZktJl2E2WEH+Yp2zoukw03zmr69RAxr+oA= 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=tpOE/6DOpvXT4nw67qtQSpVf1Vuj+KtknJDPMuTUlDhXDeBHJn23MP6sW6FN9/gCZl 54CoEP8ajUaW3ztbnaxKvNsRH7wvTqDNtbUOXtMQlt2euU5ChSUeQt6mvUNiR0MMDowe D0e3DWBW6BZGuKjnSOS7DWhDDVfjZZtXaZWdU= Received: by 10.142.207.8 with SMTP id e8mr2961295wfg.241.1223412997635; Tue, 07 Oct 2008 13:56:37 -0700 (PDT) Received: by 10.142.44.17 with HTTP; Tue, 7 Oct 2008 13:56:37 -0700 (PDT) Message-ID: <539c60b90810071356g1d07d339yeaa5bc6f20b14109@mail.gmail.com> Date: Tue, 7 Oct 2008 13:56:37 -0700 From: "Steve Franks" Sender: bahamasfranks@gmail.com To: "FreeBSD Mailing List" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 65bf16d21ec84853 Subject: how to break portsnap 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: Tue, 07 Oct 2008 20:56:39 -0000 I've googled high & low but I cannot find much other that "this cannot happen" replies. I've got a dual boot to amd64 and i386. The amd64 hasn't been able to portsnap fetch or cron since march. The i386 I just installed, and it portsnap's fine, so it's not a firewall or related issue. I've checked my key and it looks ok. What am I missing? Best, Steve dystant# portsnap fetch Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found. Fetching snapshot tag from portsnap1.FreeBSD.org... done. Fetching snapshot metadata... done. Updating from Mon Mar 3 07:50:14 MST 2008 to Tue Oct 7 12:43:25 MST 2008. Fetching 0 metadata patches. done. Applying metadata patches... done. Fetching 0 metadata files... done. Fetching 12365 patches.. done. Applying patches... done. Fetching 13708 new ports or files... /usr/sbin/portsnap: cannot open e53d7ea3f6fbc2e6a87a1f194ea623fc6b27c74d9aecfd61e0d765e86d861ad5.gz: No such file or directory snapshot is corrupt. dystant# From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 20:59:29 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7532B10656A2 for ; Tue, 7 Oct 2008 20:59:29 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.freebsd.org (Postfix) with ESMTP id 180E88FC16 for ; Tue, 7 Oct 2008 20:59:29 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from phenom.cordula.ws (phenom [192.168.254.60]) by fw.farid-hajji.net (Postfix) with ESMTP id 3CCEE35E2C; Tue, 7 Oct 2008 22:59:27 +0200 (CEST) Date: Tue, 7 Oct 2008 23:00:02 +0200 From: cpghost To: "Aryeh M. Friedman" Message-ID: <20081007210002.GB961@phenom.cordula.ws> References: <48E9CEB8.4090406@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48E9CEB8.4090406@gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: stupid xfce clock question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 20:59:29 -0000 On Mon, Oct 06, 2008 at 04:39:20AM -0400, Aryeh M. Friedman wrote: > I work remotely with a company that is across the international date > line from me and I can do the math in my head but want to know if it is > possible to add a clock to my xfce panel that shows the time their (and > keep the one that has my time on it) It's not as elegant as an additional clocklet in a task bar, but how about running multiple instances of xclock instead? #!/bin/sh # tzxclock -- run a timezoned instance of xclock env TZ=$1 xclock -digital -twentyfour -title $1 That wouldn't depend on the specifics of the window manager, and can still be customized with multiple flags like -fn, -fg, -bg, -geometry, -strftime etc... Regards, -cpghost. -- Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 21:15:25 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3227A1065687 for ; Tue, 7 Oct 2008 21:15:25 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.103.93]) by mx1.freebsd.org (Postfix) with ESMTP id E310E8FC22 for ; Tue, 7 Oct 2008 21:15:24 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.14.2/8.13.8) with ESMTP id m97LFOpA087733 for ; Tue, 7 Oct 2008 16:15:24 -0500 (CDT) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <200810072115.m97LFOpA087733@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org Date: Tue, 07 Oct 2008 16:15:24 -0500 From: Martin McCormick Subject: Strange Core Dump Error Message on a FreeBSD6.3 System X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 21:15:25 -0000 I am running some C code I wrote on a couple of FreeBSD6.3 systems, one of which has never exhibited this message and the other has now done it twice in about 6 months. The error is as follows: mem.c:877: INSIST(ctx->stats[i].gets == 0U) failed. Abort trap (core dumped) Something obviously is wrong regarding memory allocation but why this one system? Is there anything I can look for in netstat -m that might help me solve the puzzle? Thanks. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 21:15:47 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59BBD1065686 for ; Tue, 7 Oct 2008 21:15:47 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 1196F8FC18 for ; Tue, 7 Oct 2008 21:15:46 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id m97LFtjt063131; Tue, 7 Oct 2008 14:15:56 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Tue, 7 Oct 2008 14:15:41 -0700 (PDT) Date: Tue, 7 Oct 2008 14:15:41 -0700 From: Gary Kline To: RW Message-ID: <20081007211541.GA2525@thought.org> References: <20081007161330.GA43881@thought.org> <20081007180115.175ee89b@gumby.homeunix.com.> <20081007193316.GA49861@thought.org> <20081007201737.GA50884@thought.org> <20081007213302.778c80a7@gumby.homeunix.com.> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081007213302.778c80a7@gumby.homeunix.com.> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 22 years of service to the Unix community. X-Spam-Status: No, score=-4.3 required=3.6 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: freebsd-questions@freebsd.org Subject: Re: From konsole, konq: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 21:15:47 -0000 On Tue, Oct 07, 2008 at 09:33:02PM +0100, RW wrote: > On Tue, 7 Oct 2008 13:17:37 -0700 > Gary Kline wrote: > > > > > > This is getting stranger and stranger. I did a pkg_delete -f > > kde, but / > > p8 13:08 [5146] which konqueror > > /usr/local/bin/konqueror > > That's normal, the kde3 port is just a metaport - a dummy port that > that causes a collection ports to be built as dependencies. Try using > pkg_cutleaves. Sure, but you'd think the the metaport would have the slew of subport delete everything. Thanks for the tip on cutleaves. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 21:17:45 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCB34106568B for ; Tue, 7 Oct 2008 21:17:45 +0000 (UTC) (envelope-from fbsd06+2P=f0485365@mlists.homeunix.com) Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by mx1.freebsd.org (Postfix) with ESMTP id A39A18FC12 for ; Tue, 7 Oct 2008 21:17:45 +0000 (UTC) (envelope-from fbsd06+2P=f0485365@mlists.homeunix.com) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 955E9D05B6; Tue, 7 Oct 2008 17:17:41 -0400 (EDT) Date: Tue, 7 Oct 2008 22:17:31 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20081007221731.40cbf5d6@gumby.homeunix.com.> In-Reply-To: <539c60b90810071356g1d07d339yeaa5bc6f20b14109@mail.gmail.com> References: <539c60b90810071356g1d07d339yeaa5bc6f20b14109@mail.gmail.com> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: stevefranks@ieee.org Subject: Re: how to break portsnap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 21:17:45 -0000 On Tue, 7 Oct 2008 13:56:37 -0700 "Steve Franks" wrote: > I've googled high & low but I cannot find much other that "this cannot > happen" replies. I've got a dual boot to amd64 and i386. The amd64 > hasn't been able to portsnap fetch or cron since march. The i386 I > just installed, and it portsnap's fine, so it's not a firewall or > related issue. I've checked my key and it looks ok. What am I > missing? > >... > Fetching 13708 new ports or files... /usr/sbin/portsnap: cannot open > e53d7ea3f6fbc2e6a87a1f194ea623fc6b27c74d9aecfd61e0d765e86d861ad5.gz: > No such file or directory > snapshot is corrupt. It's pretty self-explanatory, the snapshot is corrupt. delete /var/db/portsnap/* and then start-again by do a "fetch" and "extract". From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 21:35:13 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0512106564A for ; Tue, 7 Oct 2008 21:35:13 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell.rawbw.com (shell.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 47DF38FC21 for ; Tue, 7 Oct 2008 21:35:13 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from eagle.syrec.org (c-67-188-126-36.hsd1.ca.comcast.net [67.188.126.36]) (authenticated bits=0) by shell.rawbw.com (8.13.6/8.13.6) with ESMTP id m97La3mR085571 for ; Tue, 7 Oct 2008 14:36:04 -0700 (PDT) Message-ID: <48EBD60F.3090607@rawbw.com> Date: Tue, 07 Oct 2008 14:35:11 -0700 From: Yuri User-Agent: Thunderbird 2.0.0.17 (X11/20081001) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: gimp: all output plugins crash X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yuri@rawbw.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 21:35:13 -0000 Every time I am trying to save some image all input plugins crash with the message like this: /usr/local/libexec/gimp/2.2/plug-ins/jpeg: fatal error: Segmentation fault: 11 I use gimp-2.4.7,2. I reported the problem to gnome@FreeBSD.org (listed as maintainer) but got no response. How can I reach those who is responsible for the port? Anyone has the same problem? Yuri From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 21:39:54 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 848051065686 for ; Tue, 7 Oct 2008 21:39:54 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.7]) by mx1.freebsd.org (Postfix) with ESMTP id 5E6218FC08 for ; Tue, 7 Oct 2008 21:39:54 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 8025 invoked from network); 7 Oct 2008 21:39:53 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 7 Oct 2008 21:39:53 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 1A18128461; Tue, 7 Oct 2008 17:39:52 -0400 (EDT) To: Aniruddha References: <1223412136.3966.10.camel@debian> From: Lowell Gilbert Date: Tue, 07 Oct 2008 17:39:51 -0400 In-Reply-To: <1223412136.3966.10.camel@debian> (Aniruddha's message of "Tue\, 07 Oct 2008 22\:42\:16 +0200") Message-ID: <4463o4qe3c.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Can't get soundcard to work 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, 07 Oct 2008 21:39:54 -0000 Aniruddha writes: > I've read the "Setting Up the Sound Card" part in the FreeBSD handbook > unfortunately I can't get my Intel HDA card to work. Any ideas would be > appreciated! Here's some relevant output: > > sndstat: >> FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) >> Installed devices: >> pcm0: at memory 0xff9ec000 irq 17 kld snd_hda [20080420_0052] [MPSAFE] (mixer only) >> pcm1: at memory 0xffafc000 irq 19 kld snd_hda [20080420_0052] [MPSAFE] (1p:1v/1r:1v channels duplex) > > from dmesg: >> pcm1: mem 0xffafc000-0xffafffff irq 19 at device 27.0 on pci0 >> pcm1: [ITHREAD] >> pcib2: irq 16 at device 28.0 on pci0 >> pci4: on pcib2 >> pcib3: irq 19 at device 28.3 on pci0 >> pci3: on pcib3 > > cat dmesg > /dev/dsp >> su: /dev/dsp: Operation not supported > > from pciconf: >> pcm1@pci0:0:27:0: class=0x040300 card=0x81d81043 chip=0x27d88086 rev=0x01 hdr=0x00 >> vendor = 'Intel Corporation' >> device = '82801G (ICH7 Family) High Definition Audio' >> class = multimedia > >> vgapci0@pci0:5:0:0: class=0x030000 card=0xe630174b chip=0x95051002 rev=0x00 hdr=0x00 >> vendor = 'ATI Technologies Inc' >> class = display >> subclass = VGA >> pcm0@pci0:5:0:1: class=0x040300 card=0xaa18174b chip=0xaa181002 rev=0x00 hdr=0x00 >> vendor = 'ATI Technologies Inc' >> class = multimedia I think you will need a somewhat recent FreeBSD to support that controller. What version are you running? What drivers have you loaded? snd_driver? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 21:45:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8147D106568A for ; Tue, 7 Oct 2008 21:45:08 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id 0CA1D8FC14 for ; Tue, 7 Oct 2008 21:45:07 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so2353275fgb.35 for ; Tue, 07 Oct 2008 14:45:06 -0700 (PDT) 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=XdDqiqd6i6CyilzWXNPi77qGTRgj7LULAezt9/72UPg=; b=VJwp/QmydSltUHgmFCzY+mKM6gq0VP5967JBrWFW1atDCfiRZ7prpABPcFrrP8+PrD yPptuOjbRHfGfpCuRHUUngHn11e8Pf7UkgG8uKmh1sglJECmw6GuC9UzKe4q28rcX8i9 P6rFa+/pSs+CoqDWvPV+h5v1w/NEQbq0FJhrY= 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=bx59UOTg8/rYDjqVIrCoZEARlcH7ud4p/XnUAt6aTSgskaHJfxVEpkPMhOkQW2M/u0 s7Oo2V2wIXfaBiTcby6vr+iQnFqKa0Bov0FDlp72sy7WwVfuyhVV/RSMK+qDS0wqgrOR aYAzrCuSvM5NTvD++FW4Jrb3FLeMDj9Djov2Y= Received: by 10.187.188.19 with SMTP id q19mr1441922fap.48.1223415906440; Tue, 07 Oct 2008 14:45:06 -0700 (PDT) Received: by 10.187.222.9 with HTTP; Tue, 7 Oct 2008 14:45:06 -0700 (PDT) Message-ID: <4ad871310810071445t4ecd958drc839f5b055525f11@mail.gmail.com> Date: Tue, 7 Oct 2008 17:45:06 -0400 From: "Glen Barber" To: stevefranks@ieee.org In-Reply-To: <539c60b90810071356g1d07d339yeaa5bc6f20b14109@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <539c60b90810071356g1d07d339yeaa5bc6f20b14109@mail.gmail.com> Cc: FreeBSD Mailing List Subject: Re: how to break portsnap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 21:45:08 -0000 On Tue, Oct 7, 2008 at 4:56 PM, Steve Franks wrote: > I've googled high & low but I cannot find much other that "this cannot > happen" replies. I've got a dual boot to amd64 and i386. The amd64 > hasn't been able to portsnap fetch or cron since march. The i386 I > just installed, and it portsnap's fine, so it's not a firewall or > related issue. I've checked my key and it looks ok. What am I > missing? I've had this problem before, and it turns out it was a bad CPU in my case. I would imagine bad RAM would play a part in this as well. You may want to try to run Memtest. Regards, -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 21:47:24 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A84AA1065686 for ; Tue, 7 Oct 2008 21:47:24 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.10]) by mx1.freebsd.org (Postfix) with ESMTP id 813C98FC23 for ; Tue, 7 Oct 2008 21:47:24 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 4329 invoked from network); 7 Oct 2008 21:47:24 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 7 Oct 2008 21:47:23 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id DB27328461; Tue, 7 Oct 2008 17:47:22 -0400 (EDT) To: Xenophan References: <19850089.post@talk.nabble.com> From: Lowell Gilbert Date: Tue, 07 Oct 2008 17:47:22 -0400 In-Reply-To: <19850089.post@talk.nabble.com> (Xenophan's message of "Mon\, 6 Oct 2008 19\:40\:23 -0700 \(PDT\)") Message-ID: <441vysqdqt.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Help With [seemingly] Simple Problem 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, 07 Oct 2008 21:47:24 -0000 Xenophan writes: > Alright, this is one of those moments when a normal person is forced to > become terminal typing freak (sorry guys =)) against their will... > > I have a FreeBSD7 server box in my garage that serves the computers on my > network with files. It has been a godsend: 2 1TB SATA drives raid-1'd and I > have a peace of mind that all my files are secure in one place in the house > that has doubled as my office. > > The box has basic non-gui install of FreeBSD7 and I access it through WinSCP > from other boxes around the house. Voila! So easy! > > Well it was until I decided to bring some order to it - sort files in the > right directories. This is usually a snap in XP, but UNIX would not allow > things to be simple I guess: When I want to empty out few folders into > another folder ("DUMP") and there are same files in both folders (one I am > copying from (Downloads) and one I am moving them to(DUMP)) I get an error: > > [HTML]General failure (server should provide error description). > Error code: 4 > Error message from server: Failure > Request code: 18[/HTML] That error is being displayed by a Windows application? I'm guessing you're using Samba on the server, and that there may be more information in the Samba logs. > My guess was that it found similar named files and flipped out only leaving > me the options to skip or abort (I skipped). So I decided to do it through > command line via Putty. Friend of mine suggested this command through > bash:[HTML] mv Downloads/* .[/HTML] Sounds about right. > Effect was the same: I get a polite error notifying me that: : > [HTML]FileName.extension: Directory not empty[/HTML] In future, try to cut and paste the *exact* text from the terminal window (in this case, the Putty window). I'll take a guess, but I'm working in the dark a bit here. Are there any sub-directories in the "Downloads" directory? Do you have the permissions to remove them? Make sure that the user account (the one under which you are executing the command) has write permissions to the directories being modified. > Whoopty do! > > XP would be nice enough to give me options: name of conflicting file; sizes; > options: Abort, Overwrite, Skip > > These options are crucial because some files may have changed and I may want > to rename the file and save it as a newer version while keeping the old one. > I usually find this out by looking at the file sizes. > > Is there a way to do the same from command line? Many. I would recommend using rsync, which is available from ports. Good luck. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 21:54:35 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B40DB1065695 for ; Tue, 7 Oct 2008 21:54:35 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from blade2-ext.obspm.fr (blade2-ext.obspm.fr [145.238.186.8]) by mx1.freebsd.org (Postfix) with ESMTP id 390B98FC12 for ; Tue, 7 Oct 2008 21:54:35 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from obspm.fr (pcjas.obspm.fr [145.238.184.233]) by blade2-ext.obspm.fr (8.13.8/8.13.8/SIO Observatoire de Paris - 15/11/07) with ESMTP id m97LsWlc011810 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 7 Oct 2008 23:54:33 +0200 Date: Tue, 7 Oct 2008 23:54:32 +0200 From: Albert Shih To: Yuri Message-ID: <20081007215432.GC45938@obspm.fr> References: <48EBD60F.3090607@rawbw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <48EBD60F.3090607@rawbw.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (blade2-ext.obspm.fr [145.238.186.20]); Tue, 07 Oct 2008 23:54:33 +0200 (CEST) X-Virus-Scanned: ClamAV 0.94/8387/Tue Oct 7 17:37:07 2008 on blade2-ext.obspm.fr X-Virus-Status: Clean Cc: freebsd-questions@freebsd.org Subject: Re: gimp: all output plugins crash X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Albert.Shih@obspm.fr List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 21:54:35 -0000 Le 07/10/2008 à 14:35:11-0700, Yuri a écrit > Every time I am trying to save some image all input plugins crash with > the message like this: > /usr/local/libexec/gimp/2.2/plug-ins/jpeg: fatal error: Segmentation > fault: 11 > > I use gimp-2.4.7,2. > > I reported the problem to gnome@FreeBSD.org (listed as maintainer) but > got no response. > > How can I reach those who is responsible for the port? > Anyone has the same problem? > I'm not a developper, but no I don't have any problem with gimp, everything work fine for me. I use gimp frequently on a FreeBSD 7.1-PRE and gimp never crash. I can say gimp is one of those big applications (firefox, OpenOffice etc.) most stable, never crash. Have you all your ports up2date ? What's version of FreeBSD you running ? Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Mar 7 oct 2008 23:52:17 CEST From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 21:59:47 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02FBB106568C for ; Tue, 7 Oct 2008 21:59:47 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.171]) by mx1.freebsd.org (Postfix) with ESMTP id BD0458FC1C for ; Tue, 7 Oct 2008 21:59:46 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so3485458wfg.7 for ; Tue, 07 Oct 2008 14:59:46 -0700 (PDT) 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:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=S0HIS6odaOJq5jM8WUeUtDddTLPkLoeqhtDuXzSNWtw=; b=sBnGaflktEBsQKn95IfgGKhIzgDF/CKIHVNJH+zxNflk43OsmyW72St+skvQePFZg1 KL5Vk+uwgLCCoUENkjYP+jIVyTluLVpEoFCJCOVEmRae5L6F4HvZWXXImVHASSXvhEQ2 cqNNBdpysX6FvOLzRhuYSXXqR4MurG0vZka1Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:sender:to:subject:cc:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references:x-google-sender-auth; b=UJv5o/5FOJBrdvMWJid49cOfHMQzTi8ac/wb+iBHoG2vlKFlfrzk0Xe+aAX4MEujjG hIDd0mAYq50NWhcT0P6P/1z8XRztThTrzmtc8poDK3Ve3zl9ncGYUIEQhms7+eyCd0Qy PiESR/lryIYYkSt0UZ2sY9Ektyk8DovB2N+oM= Received: by 10.143.4.16 with SMTP id g16mr2990121wfi.289.1223416785512; Tue, 07 Oct 2008 14:59:45 -0700 (PDT) Received: by 10.142.44.17 with HTTP; Tue, 7 Oct 2008 14:59:45 -0700 (PDT) Message-ID: <539c60b90810071459t17b4cd65qc6865472317cfd29@mail.gmail.com> Date: Tue, 7 Oct 2008 14:59:45 -0700 From: "Steve Franks" Sender: bahamasfranks@gmail.com To: RW In-Reply-To: <20081007221731.40cbf5d6@gumby.homeunix.com.> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <539c60b90810071356g1d07d339yeaa5bc6f20b14109@mail.gmail.com> <20081007221731.40cbf5d6@gumby.homeunix.com.> X-Google-Sender-Auth: cee841d98685fb45 Cc: freebsd-questions@freebsd.org Subject: Re: how to break portsnap 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: Tue, 07 Oct 2008 21:59:47 -0000 Aaaaaagh! I thought the snapshot was the thing being downloaded! Here I was double-checking my key and the like. I sort of would've expected the process to include overwriting everything local with the new stuff. My mistake, obviously. Sometimes one does need the obvious pointed out to them, thanks. Steve On Tue, Oct 7, 2008 at 2:17 PM, RW wrote: > On Tue, 7 Oct 2008 13:56:37 -0700 > "Steve Franks" wrote: > >> I've googled high & low but I cannot find much other that "this cannot >> happen" replies. I've got a dual boot to amd64 and i386. The amd64 >> hasn't been able to portsnap fetch or cron since march. The i386 I >> just installed, and it portsnap's fine, so it's not a firewall or >> related issue. I've checked my key and it looks ok. What am I >> missing? >> >>... >> Fetching 13708 new ports or files... /usr/sbin/portsnap: cannot open >> e53d7ea3f6fbc2e6a87a1f194ea623fc6b27c74d9aecfd61e0d765e86d861ad5.gz: >> No such file or directory >> snapshot is corrupt. > > It's pretty self-explanatory, the snapshot is corrupt. > > delete /var/db/portsnap/* and then start-again by do a "fetch" and > "extract". > > From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 22:05:48 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15914106568A for ; Tue, 7 Oct 2008 22:05:48 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id C6B8C8FC1D for ; Tue, 7 Oct 2008 22:05:47 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id m97M5vhI063506 for ; Tue, 7 Oct 2008 15:05:57 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Tue, 7 Oct 2008 15:05:43 -0700 (PDT) Date: Tue, 7 Oct 2008 15:05:43 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20081007220540.GA2753@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 22 years of service to the Unix community. X-Spam-Status: No, score=-4.3 required=3.6 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: how to connect kde4 to my mail 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: Tue, 07 Oct 2008 22:05:48 -0000 I didn't set up my LAN and the guy who did, didn't explain enough to help me get too far with things-kde3 in /usr/local/bin to everything-kde4 in /usr/local/kde4/bin/* I just got kde4 kmail set up, but it does not see mail on my mail server:: aristotle.thought.org. Anybody help me with this? gary PS: i don't think i have a typo. -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 22:07:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63466106568E for ; Tue, 7 Oct 2008 22:07:59 +0000 (UTC) (envelope-from rich@pencil.math.missouri.edu) Received: from pencil.math.missouri.edu (pencil.math.missouri.edu [128.206.184.195]) by mx1.freebsd.org (Postfix) with ESMTP id 1BEB48FC0A for ; Tue, 7 Oct 2008 22:07:58 +0000 (UTC) (envelope-from rich@pencil.math.missouri.edu) Received: from pencil.math.missouri.edu (localhost [127.0.0.1]) by pencil.math.missouri.edu (8.13.8/8.13.8) with ESMTP id m97M7wGE076727 for ; Tue, 7 Oct 2008 17:07:58 -0500 (CDT) (envelope-from rich@pencil.math.missouri.edu) Received: (from rich@localhost) by pencil.math.missouri.edu (8.13.8/8.13.8/Submit) id m97M7w82076726 for freebsd-questions@freebsd.org; Tue, 7 Oct 2008 17:07:58 -0500 (CDT) (envelope-from rich) Date: Tue, 7 Oct 2008 17:07:58 -0500 From: Rich Winkel To: freebsd-questions@freebsd.org Message-ID: <20081007220758.GA75561@pencil.math.missouri.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: Mathematica fonts (fbsd 7.0, mma 6.03) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 22:07:59 -0000 Hi, has anyone tried this combination? It seems to have problems dealing with fonts created under mac and windows mathematica. Thanks, Rich From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 22:25:31 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28884106569C for ; Tue, 7 Oct 2008 22:25:31 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA01.westchester.pa.mail.comcast.net (qmta01.westchester.pa.mail.comcast.net [76.96.62.16]) by mx1.freebsd.org (Postfix) with ESMTP id C5BF38FC1D for ; Tue, 7 Oct 2008 22:25:30 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA06.westchester.pa.mail.comcast.net ([76.96.62.51]) by QMTA01.westchester.pa.mail.comcast.net with comcast id PtwL1a00B16LCl051yRVKi; Tue, 07 Oct 2008 22:25:29 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA06.westchester.pa.mail.comcast.net with comcast id PyRU1a0092P6wsM3SyRUiU; Tue, 07 Oct 2008 22:25:29 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=_5yC09qch2Wtbmare4cA:9 a=JIn7zNvyVuBwPpk7foFTGIqVpmcA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 3FFD7C9419; Tue, 7 Oct 2008 15:25:28 -0700 (PDT) Date: Tue, 7 Oct 2008 15:25:28 -0700 From: Jeremy Chadwick To: Yuri Message-ID: <20081007222528.GA60058@icarus.home.lan> References: <48EBCC75.1040908@rawbw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48EBCC75.1040908@rawbw.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Strange memory/cpu behavior X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 22:25:31 -0000 On Tue, Oct 07, 2008 at 01:54:13PM -0700, Yuri wrote: > I have STABLE-71 machine with 2GB memory and single 2GHz AMD3200 CPU. > > There is one large active process slowly growing in memory from 500MB to > 1300MB, not reading or writing any files. > There are many dormant processes almost not running at all. > Swap size remains constant (185MB). Total physical memory used remains > 2GB (whole memory used). > > ps shows that the active process only takes 15-18% CPU. But total CPU > consumption on the machine is 100% (user). > > Since the active process grows but swap+physical memory doesn't grow I > assume that OS pushes out other processes code since it's unchanged on > disk. > > Why such operation is so expensive and takes 80-85% CPU? > Why total of all user processes CPU consumption is ~20% but total > CPU(user) consumption shows as 100%? Shouldn't they be the same. Regarding the "memory bloat", what field in top(1) are you basing this on? -- | 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 Tue Oct 7 22:26:55 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1AD71065690 for ; Tue, 7 Oct 2008 22:26:55 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA01.westchester.pa.mail.comcast.net (qmta01.westchester.pa.mail.comcast.net [76.96.62.16]) by mx1.freebsd.org (Postfix) with ESMTP id 6495A8FC16 for ; Tue, 7 Oct 2008 22:26:54 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA05.westchester.pa.mail.comcast.net ([76.96.62.43]) by QMTA01.westchester.pa.mail.comcast.net with comcast id PvaR1a00M0vyq2s51ySurK; Tue, 07 Oct 2008 22:26:54 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA05.westchester.pa.mail.comcast.net with comcast id PySt1a0052P6wsM3RyStP6; Tue, 07 Oct 2008 22:26:54 +0000 X-Authority-Analysis: v=1.0 c=1 a=opnXmuXciBkA:10 a=akTt9Pi7W0MA:10 a=QycZ5dHgAAAA:8 a=puLNHll5obypqUP-DWcA:9 a=uda9RlehZKDLZo18st7P_LFV1XQA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id F0009C9419; Tue, 7 Oct 2008 15:26:52 -0700 (PDT) Date: Tue, 7 Oct 2008 15:26:52 -0700 From: Jeremy Chadwick To: Martin McCormick Message-ID: <20081007222652.GB60058@icarus.home.lan> References: <200810072115.m97LFOpA087733@dc.cis.okstate.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200810072115.m97LFOpA087733@dc.cis.okstate.edu> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Strange Core Dump Error Message on a FreeBSD6.3 System X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 22:26:55 -0000 On Tue, Oct 07, 2008 at 04:15:24PM -0500, Martin McCormick wrote: > I am running some C code I wrote on a couple of > FreeBSD6.3 systems, one of which has never exhibited this > message and the other has now done it twice in about 6 months. > The error is as follows: > > mem.c:877: INSIST(ctx->stats[i].gets == 0U) failed. > Abort trap (core dumped) > > Something obviously is wrong regarding memory allocation > but why this one system? > > Is there anything I can look for in netstat -m that > might help me solve the puzzle? > > Thanks. Try freebsd-hackers for this sort of question. -- | 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 Tue Oct 7 22:33:48 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 141971065690 for ; Tue, 7 Oct 2008 22:33:48 +0000 (UTC) (envelope-from craig001@lerwick.hopto.org) Received: from lerwick.hopto.org (81-178-20-70.dsl.pipex.com [81.178.20.70]) by mx1.freebsd.org (Postfix) with SMTP id 32F778FC21 for ; Tue, 7 Oct 2008 22:33:46 +0000 (UTC) (envelope-from craig001@lerwick.hopto.org) Received: (qmail 18350 invoked by uid 98); 7 Oct 2008 23:31:32 +0100 Received: from 192.168.0.2 by polaris.lerwick.hopto.org (envelope-from , uid 82) with qmail-scanner-2.01 (clamdscan: 0.88.4/1789. hbedv: 7.1.1.11/6.35.1.178. f-prot: 4.6.6/3.16.14. spamassassin: 3.1.4. Clear:RC:1(192.168.0.2):. Processed in 0.089643 secs); 07 Oct 2008 22:31:32 -0000 Received: from main.lerwick.hopto.org (HELO ?192.168.0.2?) (192.168.0.2) by lerwick.hopto.org with SMTP; 7 Oct 2008 23:31:31 +0100 From: Craig Butler To: freebsd-questions Content-Type: text/plain Date: Tue, 07 Oct 2008 23:33:24 +0100 Message-Id: <1223418804.3361.3.camel@main.lerwick.hopto.org> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: adding a slice to gmirror instead of a whole disk, will it work? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 22:33:48 -0000 Hi Guys Will adding a slice to a gmirror instead of a whole disk work? The slice is big enough to accommodate the old disk. Thanks Craig B From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 23:40:53 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 692491065689 for ; Tue, 7 Oct 2008 23:40:53 +0000 (UTC) (envelope-from walt@wump.org) Received: from que31.charter.net (que31.charter.net [209.225.8.23]) by mx1.freebsd.org (Postfix) with ESMTP id F1B9A8FC20 for ; Tue, 7 Oct 2008 23:40:52 +0000 (UTC) (envelope-from walt@wump.org) Received: from aarprv04.charter.net ([10.20.200.74]) by mta31.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20081007232309.ZGXW4798.mta31.charter.net@aarprv04.charter.net> for ; Tue, 7 Oct 2008 19:23:09 -0400 Received: from [10.0.0.10] (really [68.116.98.9]) by aarprv04.charter.net with ESMTP id <20081007232309.BGIG3522.aarprv04.charter.net@[10.0.0.10]> for ; Tue, 7 Oct 2008 19:23:09 -0400 Mime-Version: 1.0 Message-Id: In-Reply-To: References: <20081007132517.GA31229@melon.esperance-linux.co.uk> <20081007132832.GA49914@icarus.home.lan> <20081007173315.GA35592@melon.esperance-linux.co.uk> <20081007175124.GA54581@icarus.home.lan> Date: Tue, 7 Oct 2008 16:23:01 -0700 To: FreeBSD Questions ML From: Walt Pawley Content-Type: text/plain; charset="us-ascii" X-Chzlrs: 0 Cc: Subject: Re: Coretemp seems to be off quite a bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 23:40:53 -0000 >On Oct 7, 2008, at 12:51 PM, Jeremy Chadwick wrote: >... >I remounted the heatsink (side note: curse you, Intel - was that meant >to be funny?), and didn't apply a single bit of paste other than what >came on it. FWIW: one needs to be careful with the application of heat sink "paste" if one doesn't want to do more harm than good. A very many years ago, when I was young enough to be a practicing engineer, National Semiconductor published some notes about various component to heat sink mounting methodologies. There were two results that stood out. First, using too much heat sink compound is worse than using nothing at all. The reason is that metal to metal is quite good and the proper application of of compound should only just fill the voids where the two "flat" surfaces don't touch. Second, metal to metal is quite good - as evidenced by a very large jump in heat conductivity when the component was surface soldered to the heat sink. -- Walter M. Pawley Wump Research & Company 676 River Bend Road, Roseburg, OR 97471 541-672-8975 From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 23:43:12 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 169071065686 for ; Tue, 7 Oct 2008 23:43:12 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell.rawbw.com (shell.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id DDD268FC13 for ; Tue, 7 Oct 2008 23:43:11 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from eagle.syrec.org (c-67-188-126-36.hsd1.ca.comcast.net [67.188.126.36]) (authenticated bits=0) by shell.rawbw.com (8.13.6/8.13.6) with ESMTP id m97Ni3Hl047054; Tue, 7 Oct 2008 16:44:03 -0700 (PDT) Message-ID: <48EBF40D.5050807@rawbw.com> Date: Tue, 07 Oct 2008 16:43:09 -0700 From: Yuri User-Agent: Thunderbird 2.0.0.17 (X11/20081001) MIME-Version: 1.0 To: Jeremy Chadwick References: <48EBCC75.1040908@rawbw.com> <20081007222528.GA60058@icarus.home.lan> In-Reply-To: <20081007222528.GA60058@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@FreeBSD.org Subject: Re: Strange memory/cpu behavior X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yuri@rawbw.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 23:43:12 -0000 Jeremy Chadwick wrote: > Regarding the "memory bloat", what field in top(1) are you basing this > on? > For the total CPU usage I used CPU: 100.0% user Active... all others were zeros. For the process CPU I looked at WCPU. Yuri From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 00:14:23 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94BF9106568C for ; Wed, 8 Oct 2008 00:14:23 +0000 (UTC) (envelope-from freebsd@yourprofit.org) Received: from mx.yourXS.com (mx.yourxs.com [82.149.245.80]) by mx1.freebsd.org (Postfix) with SMTP id EE8F48FC1F for ; Wed, 8 Oct 2008 00:14:22 +0000 (UTC) (envelope-from freebsd@yourprofit.org) Received: (qmail 61709 invoked by uid 25); 8 Oct 2008 01:47:40 +0200 Received: from unknown (HELO Arbytestier) (88.68.194.140) by mx.yourxs.com with SMTP; 8 Oct 2008 01:47:40 +0200 Message-ID: From: "Soeren Todt" To: , References: <4715.10.202.77.103.1179582505.squirrel@webmail.superhero.nl> In-Reply-To: <4715.10.202.77.103.1179582505.squirrel@webmail.superhero.nl> Date: Wed, 8 Oct 2008 01:47:32 +0200 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 Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049 Cc: Subject: Re: something wrong with freebsd-current maillist? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 00:14:23 -0000 Hi, I unsubscribed - and am back again. Another try to unsubscribe does not work. Cant log in on the Webtool, do not get an answer via mail. Whats going on? Regards sworn ----- Original Message ----- From: "Gelsema, P (Patrick) - FreeBSD" To: Cc: ; Sent: Saturday, May 19, 2007 3:48 PM Subject: something wrong with freebsd-current maillist? > Hi, > > I sent about an hour ago an email to the freebsd-current maillinglist. > This email has not yet arrived to the list, I can see the email leaving my > mailserver and being delivered to one of the freebsd boxes but after that > it seems stuck. > Also when I look at the archives the last message date is Wed May 16 > 20:06:09 UTC 2007. > > I got an issue with the current that I cannot make update anymore. I get > the following error: /libexec/ld-elf.so.1: /lib/libthr.so.2: unsupported > file layout. > > I tried rebuilding world, installing cvsup from ports but both failed. Any > pointers appreciated. > > hulk# uname -a > FreeBSD hulk.superhero.nl 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Fri May 18 > 17:10:44 CEST 2007 > admin@hulk.superhero.nl:/usr/obj/usr/src/sys/GENERIC amd64 > hulk# pwd > /usr/src > hulk# make update > -------------------------------------------------------------- >>>> Running /usr/bin/csup > -------------------------------------------------------------- > /libexec/ld-elf.so.1: /lib/libthr.so.2: unsupported file layout > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > hulk# > > Rgds, > > Patrick > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 03:19:38 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06AC61065688 for ; Wed, 8 Oct 2008 03:19:38 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id B79B38FC0C for ; Wed, 8 Oct 2008 03:19:37 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id m983JkDT065530 for ; Tue, 7 Oct 2008 20:19:47 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Tue, 7 Oct 2008 20:19:32 -0700 (PDT) Date: Tue, 7 Oct 2008 20:19:32 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20081008031929.GA12117@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 22 years of service to the Unix community. X-Spam-Status: No, score=-4.3 required=3.6 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: question about "sound-juicer" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 03:19:38 -0000 Guys, There's a very useful audio app called "sound-juicer"; I have it installed but whenever I try to use it, a popup warns: "Could not read the CD\n Sound juicer could not access the CD-ROM Device '1,1,0' Reason: No such file or directory" I've got two CD/DVD optical drives; both are correctly configured in /etc/fstab and in /media and in my home directory. I'm stuck. Any ideas on what's wrong? thanks in advance, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 04:04:26 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90E4E106568C for ; Wed, 8 Oct 2008 04:04:26 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) 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 3C00B8FC15 for ; Wed, 8 Oct 2008 04:04:25 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA03.westchester.pa.mail.comcast.net ([76.96.62.27]) by QMTA08.westchester.pa.mail.comcast.net with comcast id PxB81a01A0bG4ec5844Rn2; Wed, 08 Oct 2008 04:04:25 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA03.westchester.pa.mail.comcast.net with comcast id Q44L1a00F2P6wsM3P44MQG; Wed, 08 Oct 2008 04:04:21 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=Y0bO-bhwBOklDdZxSGIA:9 a=gVOxKsDH12SxMgAFv36VoYQWeRIA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 73020C9419; Tue, 7 Oct 2008 21:04:20 -0700 (PDT) Date: Tue, 7 Oct 2008 21:04:20 -0700 From: Jeremy Chadwick To: Yuri Message-ID: <20081008040420.GA66117@icarus.home.lan> References: <48EBCC75.1040908@rawbw.com> <20081007222528.GA60058@icarus.home.lan> <48EBF40D.5050807@rawbw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48EBF40D.5050807@rawbw.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@FreeBSD.org Subject: Re: Strange memory/cpu behavior X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 04:04:26 -0000 On Tue, Oct 07, 2008 at 04:43:09PM -0700, Yuri wrote: > Jeremy Chadwick wrote: >> Regarding the "memory bloat", what field in top(1) are you basing this >> on? >> > > For the total CPU usage I used > CPU: 100.0% user Active... all others were zeros. > For the process CPU I looked at WCPU. I'm a little confused. I was mainly referring to your statement: "There is one large active process slowly growing in memory from 500MB to 1300MB, not reading or writing any files." What field in top(1) were you looking at to determine this kind of growth? -- | 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 Wed Oct 8 04:10:10 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87201106568D; Wed, 8 Oct 2008 04:10:10 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell.rawbw.com (shell.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 58DE68FC22; Wed, 8 Oct 2008 04:10:10 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from eagle.syrec.org (c-67-188-126-36.hsd1.ca.comcast.net [67.188.126.36]) (authenticated bits=0) by shell.rawbw.com (8.13.6/8.13.6) with ESMTP id m984B3ZV055182; Tue, 7 Oct 2008 21:11:03 -0700 (PDT) Message-ID: <48EC329F.9070902@rawbw.com> Date: Tue, 07 Oct 2008 21:10:07 -0700 From: Yuri User-Agent: Thunderbird 2.0.0.17 (X11/20081001) MIME-Version: 1.0 To: Jeremy Chadwick References: <48EBCC75.1040908@rawbw.com> <20081007222528.GA60058@icarus.home.lan> <48EBF40D.5050807@rawbw.com> <20081008040420.GA66117@icarus.home.lan> In-Reply-To: <20081008040420.GA66117@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@FreeBSD.org Subject: Re: Strange memory/cpu behavior X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yuri@rawbw.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 04:10:10 -0000 Jeremy Chadwick wrote: > I'm a little confused. I was mainly referring to your statement: > > "There is one large active process slowly growing in memory from 500MB > to 1300MB, not reading or writing any files." > > What field in top(1) were you looking at to determine this kind of > growth? > Sorry, I misunderstood the question first. Memory is taken from the SIZE column, but RES is always very close. Yuri From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 04:17:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 564CE106568B for ; Wed, 8 Oct 2008 04:17:01 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 13C0A8FC15 for ; Wed, 8 Oct 2008 04:16:57 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.13.1) with ESMTP id m979XiLp008416 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 7 Oct 2008 16:33:45 +0700 (ICT) (envelope-from on@banyan.cs.ait.ac.th) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.2/8.12.11) id m979c30l096572; Tue, 7 Oct 2008 16:38:03 +0700 (ICT) Date: Tue, 7 Oct 2008 16:38:03 +0700 (ICT) Message-Id: <200810070938.m979c30l096572@banyan.cs.ait.ac.th> From: Olivier Nicole To: mcoyles@horbury.wakefield.sch.uk, freebsd-questions@freebsd.org In-reply-to: <720051dc0810070228o68f0a67bx8cab7869ace8269f@mail.gmail.com> (jamesoff@gmail.com) References: <003001c9285d$f2a3a410$d7eaec30$@wakefield.sch.uk> <720051dc0810070228o68f0a67bx8cab7869ace8269f@mail.gmail.com> X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Cc: Subject: Re: Script works fine from CLI, but not when Cron'd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 04:17:01 -0000 > > I've got a script to backup my MySQL databases, which works absolutely > > fine from the command line, but when I add it in to root's cronjobs it > > always fails with "mysqldump: not found" - what am I doing wrong? > > Things started from cron inherit a different PATH. Either add the > appropriate directories to PATH or specify the full path to mysqldump. In a script aimed to be run by cron, try to always use full path to the commands. It's the safest solution. Olivier From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 04:18:56 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 887AE106568B for ; Wed, 8 Oct 2008 04:18:56 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id B8D5F8FC1F for ; Wed, 8 Oct 2008 04:18:54 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.13.1) with ESMTP id m9772FcW001478 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 7 Oct 2008 14:02:15 +0700 (ICT) (envelope-from on@banyan.cs.ait.ac.th) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.2/8.12.11) id m9776X0C093438; Tue, 7 Oct 2008 14:06:33 +0700 (ICT) Date: Tue, 7 Oct 2008 14:06:33 +0700 (ICT) Message-Id: <200810070706.m9776X0C093438@banyan.cs.ait.ac.th> From: Olivier Nicole To: freebsd-questions@freebsd.org In-reply-to: <48EB0618.6050903@cyberleo.net> (message from CyberLeo Kitsana on Tue, 07 Oct 2008 01:47:52 -0500) References: <48EA0B4A.9080405@shopzeus.com> <48EB0618.6050903@cyberleo.net> X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Subject: Re: VNC server embedded into Xorg server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 04:18:56 -0000 Hi, Sorry for jumping in the middle of the thread. > There was a port called net/vnc that contained a vnc.so file. That file > could be loaded into the Xorg server and then I was able to monitor the > X desktop with VNC. > > Now I'm using gnome, and gnome2-fifth-toe installs tightvnc. It > conflicts with net/vnc. So I cannot install net/vnc. What other options > I have to run an X server? I would: - deinstall net/vnc - install gnome and let it install tinyvnc - manually deinstall tinyvnc - install net/vnc > The only extra wish is that the X server must be able to start > automatically, e.g. without logging into gnome. I need this because the > X server will be located at a distant location and I have to be able to > use it after a system restart. Especially with gnome, the X server starts before you do any authentication, when gnome present the loggin window, X has already started. To do X over vnc remotely, you need quite some amount of bandwidth. Are you sure you need a graphical access? X protocol is designed natively to run over the network, so you may not need vnc. With X you can have an application running on your remote computer, with the display coming to your desktop machine (if your desktop machine is some Windows thing, there are good "X emulators for Windows"). If you really want to keep your setting, there should exist a gnome startup script that you can hack to run vnc somewhere between the line starting X and the line starting gnome authentication. Best regards, Olivier From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 04:37:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 254B810656A0 for ; Wed, 8 Oct 2008 04:37:28 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA03.emeryville.ca.mail.comcast.net (qmta03.emeryville.ca.mail.comcast.net [76.96.30.32]) by mx1.freebsd.org (Postfix) with ESMTP id 0A1E68FC08 for ; Wed, 8 Oct 2008 04:37:27 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA07.emeryville.ca.mail.comcast.net ([76.96.30.59]) by QMTA03.emeryville.ca.mail.comcast.net with comcast id Q3mt1a0061GXsucA34dTY3; Wed, 08 Oct 2008 04:37:27 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA07.emeryville.ca.mail.comcast.net with comcast id Q4dS1a00A2P6wsM8T4dTaV; Wed, 08 Oct 2008 04:37:27 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=VNSBfkDg_SeCwdN1PnYA:9 a=mXgwU1F3vZt2BuUNOcg0tUCzzu0A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 9A757C9419; Tue, 7 Oct 2008 21:37:26 -0700 (PDT) Date: Tue, 7 Oct 2008 21:37:26 -0700 From: Jeremy Chadwick To: Yuri Message-ID: <20081008043726.GA66683@icarus.home.lan> References: <48EBCC75.1040908@rawbw.com> <20081007222528.GA60058@icarus.home.lan> <48EBF40D.5050807@rawbw.com> <20081008040420.GA66117@icarus.home.lan> <48EC329F.9070902@rawbw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48EC329F.9070902@rawbw.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@FreeBSD.org Subject: Re: Strange memory/cpu behavior X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 04:37:28 -0000 On Tue, Oct 07, 2008 at 09:10:07PM -0700, Yuri wrote: > Jeremy Chadwick wrote: >> I'm a little confused. I was mainly referring to your statement: >> >> "There is one large active process slowly growing in memory from 500MB >> to 1300MB, not reading or writing any files." >> >> What field in top(1) were you looking at to determine this kind of >> growth? >> > > Sorry, I misunderstood the question first. > Memory is taken from the SIZE column, but RES is always very close. Generally speaking, you do not want to be looking at SIZE to determine how much memory a process is taking up -- you want to look at RES. SIZE includes memory shared across all processes which rely on loaded shared objects. For example, if you had 20 processes running which were all linked with libssh.so.4, only one copy of libssh.so.4 would exist in memory, and all 20 of those processes would share it. On later versions of FreeBSD 7.0 and on 7.1, there is the procstat(1) utility which can be used to break down memory usage. As for your CPU usage issue, I'm not quite sure what you're referring to. It might help if we could see some actual output from top(1) pointing to what you're describing. -- | 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 Wed Oct 8 05:10:15 2008 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 987B110656AF for ; Wed, 8 Oct 2008 05:10:15 +0000 (UTC) (envelope-from jotawski@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id 2E01C8FC62 for ; Wed, 8 Oct 2008 05:10:15 +0000 (UTC) (envelope-from jotawski@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so2463807fgb.35 for ; Tue, 07 Oct 2008 22:10:14 -0700 (PDT) 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=YlH6RJ74MBJQZ3Oaz8yS1AKsOL0BJnjHZKfwS3Ws6YY=; b=P0jX44cB9SvPZoXIsHJ0NIGBzM86ZoGeqFh97hRl+8CZ+THJf6yxKWfqlVf7ggj1Ex SMkbQP6L03yOCKC72ltZaMvQnrtPOAga14kAlspHF1YMm/rzANRaqk2Q6ZnX2M9Xxoh/ 53is0NBTil6Ngu9wt1hqZELfSLmDf301gh8TY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=V1Y7IvMSHXSPuX6cKPbCQbrqAZXwkJ9pKNj5eSKbEajbshCbzuMuodWbFyjpkZ/3c6 f6huesNfEk4PW6PlwUJd6m1wNBr7V14mQpQoml4Yz0FMaUI2WYtx6/N9xypsxfQ7a99l zi9heMk31fiJqqw7pnKkG8TywFa0dEdy6PJlg= Received: by 10.180.231.20 with SMTP id d20mr5798995bkh.11.1223441002745; Tue, 07 Oct 2008 21:43:22 -0700 (PDT) Received: by 10.181.22.11 with HTTP; Tue, 7 Oct 2008 21:43:22 -0700 (PDT) Message-ID: Date: Wed, 8 Oct 2008 11:43:22 +0700 From: "fire jotawski" To: 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 Cc: Subject: sysinstall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 05:10:15 -0000 hi sirs, apologize me for disturbing the list but i really have problem with adding packages using sysinstall. i start my day with sysinstall configPackages and ending with loop at media selection site. i can not go out from that menu. i do not know what wrong i had done. my box is 7.0-RELEASE FreeBSD thanks in advance for any helps and hints best regards, psr From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 05:22:56 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 120A41065699 for ; Wed, 8 Oct 2008 05:22:56 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from smtp-1.orange.nl (smtp-1.orange.nl [193.252.22.241]) by mx1.freebsd.org (Postfix) with ESMTP id CABAA8FC15 for ; Wed, 8 Oct 2008 05:22:55 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf6007.online.nl (SMTP Server) with ESMTP id 730AB7000085 for ; Wed, 8 Oct 2008 07:22:54 +0200 (CEST) Received: from [192.168.2.173] (s5590cf7b.adsl.wanadoo.nl [85.144.207.123]) by mwinf6007.online.nl (SMTP Server) with ESMTP id 3A6347000087 for ; Wed, 8 Oct 2008 07:22:54 +0200 (CEST) X-ME-UUID: 20081008052254239.3A6347000087@mwinf6007.online.nl From: Aniruddha To: freebsd-questions@freebsd.org In-Reply-To: <4463o4qe3c.fsf@be-well.ilk.org> References: <1223412136.3966.10.camel@debian> <4463o4qe3c.fsf@be-well.ilk.org> Content-Type: text/plain Date: Wed, 08 Oct 2008 07:23:03 +0200 Message-Id: <1223443383.4084.3.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Subject: Re: Can't get soundcard to work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 05:22:56 -0000 On Tue, 2008-10-07 at 17:39 -0400, Lowell Gilbert wrote: > Aniruddha writes: > > > I've read the "Setting Up the Sound Card" part in the FreeBSD handbook > > unfortunately I can't get my Intel HDA card to work. Any ideas would be > > appreciated! Here's some relevant output: ... > I think you will need a somewhat recent FreeBSD to support that > controller. What version are you running? > > What drivers have you loaded? snd_driver? Thanks for the help. I'm running FreeBSD 7-1 BETA. From what I can tell my card should be supported. "cat dmesg > /dev/dsp" did give me sound the first time. Any thoughts on how to troubleshoot this would be welcome. -- Regards, Aniruddha From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 05:41:58 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09CBF106568A for ; Wed, 8 Oct 2008 05:41:58 +0000 (UTC) (envelope-from kalpin@muliahost.com) Received: from smtp.velo.net.id (smtp2-out.velo.net.id [203.153.99.105]) by mx1.freebsd.org (Postfix) with ESMTP id B02C68FC0A for ; Wed, 8 Oct 2008 05:41:57 +0000 (UTC) (envelope-from kalpin@muliahost.com) Received: from localhost (batubulan.net2cyber.net [127.0.0.1]) by smtp.velo.net.id (Postfix) with ESMTP id BFE168100A9 for ; Wed, 8 Oct 2008 12:11:45 +0700 (WIT) X-Virus-Scanned: amavisd-new at velo.net.id Received: from smtp.velo.net.id ([127.0.0.1]) by localhost (seminyak.velo.net.id [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iUuawXgf6ql0 for ; Wed, 8 Oct 2008 12:11:43 +0700 (WIT) Received: from [203.153.106.5] (DALnet.tranquillity.se [203.153.106.5]) by smtp.velo.net.id (Postfix) with ESMTP id A9C3D8100BA for ; Wed, 8 Oct 2008 12:11:39 +0700 (WIT) Message-ID: <48EC410C.2030707@muliahost.com> Date: Wed, 08 Oct 2008 12:11:40 +0700 From: Kalpin Erlangga Silaen User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=EUC-KR Content-Transfer-Encoding: 7bit Cc: Subject: bash script on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 05:41:58 -0000 Dear all, I am going to extract field username and UID from /etc/passwd and passed into some scripts. Let say I got line admin 100 admin2 200 admin3 300 admin4 400 and then I want to echoing into screen: admin has uid 100 admin2 has uid 200 admin3 has uid 300 admin4 has uid 400 How do I make this with bash script? Thank you Kalpin Erlangga Silaen From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 05:48:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A3B01065688 for ; Wed, 8 Oct 2008 05:48:49 +0000 (UTC) (envelope-from zszalbot@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 BD3658FC14 for ; Wed, 8 Oct 2008 05:48:48 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so716021wra.27 for ; Tue, 07 Oct 2008 22:48:47 -0700 (PDT) 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=mUXN/+ZvbkbsQQ1/PL/AT4D15quyoujbuFNtNMcdkD8=; b=gvLz/L1+Ti1Tg2+/0OfR12Ju/YdxnsWx1aFC0LrLJNyKgFcxBxqDGBo8YP1BUF/7Ns ZArSjqtEYVFKbrpHvUynC1RlM4S0hmsnj4Gq/f0mD9Rwu2D/nrqiAU2f+JelG00bjuvJ mQZz9SAa75o3tH7cOk375gwidG1yYcry138jU= 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=Uv1Huitbj7c3tSk9IQy1nzyW0R6YZNtee5I+qKiJVEeTykrnh5mWWdaQZN4gATIJ/z 8agoGDjnn3P/hGn+tRb3ewNCNQzPO0dYTY2purQ5A1eXO4jehxN1ml00zKYEzTPSn+jh AqhQwLecqlA1UJdGoP68A2hAzU/nf2NsLGedw= Received: by 10.64.195.20 with SMTP id s20mr12921303qbf.20.1223444927234; Tue, 07 Oct 2008 22:48:47 -0700 (PDT) Received: by 10.64.112.18 with HTTP; Tue, 7 Oct 2008 22:48:47 -0700 (PDT) Message-ID: <94136a2c0810072248t7143c6am7b5740a7d770317d@mail.gmail.com> Date: Wed, 8 Oct 2008 07:48:47 +0200 From: "Zbigniew Szalbot" To: freebsd-questions MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: mysql binlogs and their expiry times X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 05:48:49 -0000 Hi there, I hope someone can help. Due to they way my HD has been sliced I had to move mysql database to /usr/local/mysql. All works fine. Last week I added this entry #expire bin logs expire_logs_days = 7 to /usr/local/mysql/my.cnf I restarted the MySQL server and now I have been waiting for the binlogs to automatically expire but this is not happening: $ ls -l /usr/local/mysql -r--r--r-- 1 mysql mysql 4954 Oct 1 07:30 my.cnf drwx------ 2 mysql mysql 1536 Sep 27 07:10 mysql -rw-rw---- 1 mysql mysql 1073745213 Sep 2 04:07 mysql-bin.000047 -rw-rw---- 1 mysql mysql 1073746878 Sep 7 03:48 mysql-bin.000048 -rw-rw---- 1 mysql mysql 1073745707 Sep 11 20:07 mysql-bin.000049 -rw-rw---- 1 mysql mysql 175527890 Sep 12 08:32 mysql-bin.000050 -rw-rw---- 1 mysql mysql 128272 Sep 12 08:40 mysql-bin.000051 -rw-rw---- 1 mysql mysql 1073745119 Sep 17 04:35 mysql-bin.000052 -rw-rw---- 1 mysql mysql 1073747657 Sep 22 04:26 mysql-bin.000053 -rw-rw---- 1 mysql mysql 1073744456 Sep 27 03:28 mysql-bin.000054 -rw-rw---- 1 mysql mysql 986782722 Oct 1 07:32 mysql-bin.000055 -rw-rw---- 1 mysql mysql 1073742442 Oct 6 04:18 mysql-bin.000056 -rw-rw---- 1 mysql mysql 536487381 Oct 8 07:45 mysql-bin.000057 -rw-r----- 1 mysql mysql 209 Oct 6 04:18 mysql-bin.index Do you have any idea why? Or if /usr/local/mysql/ is a correct location for my.cnf file? Perhaphs it should go to /usr/local/etc/ ? If it matters, I use $ pkg_info -Ix mysql-s mysql-server-5.0.67 Multithreaded SQL database (server) from ports. Thanks! -- Zbigniew Szalbot From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 05:50:20 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B29F106568F for ; Wed, 8 Oct 2008 05:50:20 +0000 (UTC) (envelope-from que_deseja@hotmail.com) Received: from blu0-omc4-s6.blu0.hotmail.com (blu0-omc4-s6.blu0.hotmail.com [65.55.111.145]) by mx1.freebsd.org (Postfix) with ESMTP id 203138FC1E for ; Wed, 8 Oct 2008 05:50:19 +0000 (UTC) (envelope-from que_deseja@hotmail.com) Received: from BLU126-W6 ([65.55.111.137]) by blu0-omc4-s6.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 7 Oct 2008 22:50:19 -0700 Message-ID: X-Originating-IP: [98.192.204.41] From: Desmond Chapman To: Date: Wed, 8 Oct 2008 05:50:19 +0000 Importance: Normal In-Reply-To: <20081008001441.1C0551065739@hub.freebsd.org> References: <20081008001441.1C0551065739@hub.freebsd.org> MIME-Version: 1.0 X-OriginalArrivalTime: 08 Oct 2008 05:50:19.0435 (UTC) FILETIME=[BF19BFB0:01C92909] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: RE: freebsd-questions Digest, Vol 236, Issue 8: 9. Re: detecting monitor's sync and refresh rate? (Lowell Gilbert) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 05:50:20 -0000 > From: freebsd-questions-request@freebsd.org > Subject: freebsd-questions Digest=2C Vol 236=2C Issue 8 > To: freebsd-questions@freebsd.org > Date: Wed=2C 8 Oct 2008 00:14:41 +0000 >=20 > Send freebsd-questions mailing list submissions to > freebsd-questions@freebsd.org >=20 > To subscribe or unsubscribe via the World Wide Web=2C visit > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > or=2C via email=2C send a message with subject or body 'help' to > freebsd-questions-request@freebsd.org >=20 > You can reach the person managing the list at > freebsd-questions-owner@freebsd.org >=20 > When replying=2C please edit your Subject line so it is more specific > than "Re: Contents of freebsd-questions digest..." >=20 >=20 > Message: 9 > Date: Tue=2C 07 Oct 2008 16:42:07 -0400 > From: Lowell Gilbert > Subject: Re: detecting monitor's sync and refresh rate? > To: Anton Shterenlikht > Cc: freebsd-questions@freebsd.org > Message-ID: <44abdgf880.fsf@be-well.ilk.org> > Content-Type: text/plain=3B charset=3Dus-ascii >=20 > Anton Shterenlikht writes: >=20 > > I've a monitor (Mobi M15MPC) with no docs. > > I've searched the net but cannot find any info on sync and refresh rate= for it. > > I've done Xorg -configure=2C but testing with X -config xorg.conf.new > > shows screen shifted to the side and very nasty blinking=2C from which= =20 > > I deduced that perhaps I need to specify correct sync=2C refresh and mo= de. > > > > Are there any commands to get sync and refresh from the monitor? >=20 > If X can't probe the monitor for its settings=2C I wouldn't trust any > other method of probing it either. >=20 > Not to overlook the obvious: are the settings written on the back of > the monitor? =20 >=20 > You can always try Google... >=20 > --=20 > Lowell Gilbert=2C embedded/networking software engineer=2C Boston area > http://be-well.ilk.org/~lowell/ >=20 >=20 I have the same problem only when the screen shuts off. The problem doesn't= exist if I switch to a virtual terminal. It also corrects itself once I lo= gin or start using the gui. Lowell has a point here. It may be your monitor. I'm using a generic monito= r and the problem also exists with X.org on Debian Linux with the same moni= tor.=20 _________________________________________________________________ Get more out of the Web. Learn 10 hidden secrets of Windows Live. http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!5= 50F681DAD532637!5295.entry?ocid=3DTXT_TAGLM_WL_domore_092008= From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 05:58:17 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F553106568D for ; Wed, 8 Oct 2008 05:58:17 +0000 (UTC) (envelope-from freebsdemail@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id E91198FC18 for ; Wed, 8 Oct 2008 05:58:16 +0000 (UTC) (envelope-from freebsdemail@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so2474945fgb.35 for ; Tue, 07 Oct 2008 22:58:15 -0700 (PDT) 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=IDI5WcY2195WnHhegh2F8KBioIsdoy09+dlJWFS2434=; b=w25s45O5xNyz65Bpt+W9pdZrbLiriXhLejpBmPzQdocMazHi/mj7zWFszA5qh4zXWs y7lZM/Jzhw/JdZhSy2MKI/RIT4qnHounwMIPO0n2rjil8LV+TZd/3jElaSEUCQPbBODe Q6qyHZbPnLfRDCiStoRqmOq+YPDzR9uO9XQZ0= 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=FnANoIK+KQt/W+rkKach0oXk9K/qcDWsGuCb+kXVlq8t3sCv8Fly5g41JbQxj3GhF8 5xxjcdEcfrrSOmBHORSflzKBEQYtSA4Yj3JCR/5CIKMVO43S47LztQOFJkLHa3zP13Mq ZeSJ1cvN0U0kqwvxG2FVqkZxY95LUt2CtmogA= Received: by 10.180.239.8 with SMTP id m8mr5798637bkh.48.1223445494780; Tue, 07 Oct 2008 22:58:14 -0700 (PDT) Received: by 10.180.244.3 with HTTP; Tue, 7 Oct 2008 22:58:14 -0700 (PDT) Message-ID: <5cdef660810072258o67330470n9b1f92a160716cfa@mail.gmail.com> Date: Tue, 7 Oct 2008 23:58:14 -0600 From: "Tom Stuart" 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: KDE 4 Cannot run as regular 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: Wed, 08 Oct 2008 05:58:17 -0000 Hello, I just installed KDE4 via ports and am getting errors upon attempting to start as a "regular" user. When I run startkde as root it works fine but I don't want to use root on this machine. Error Generated when started as a regular user $ startx /libexec/ld-elf.so.1: Shared object "libXau.so.6" not found, required by "xauth" /libexec/ld-elf.so.1: Shared object "libXau.so.6" not found, required by "xauth" /libexec/ld-elf.so.1: Shared object "libXau.so.6" not found, required by "xauth" /libexec/ld-elf.so.1: Shared object "libXau.so.6" not found, required by "xauth" /libexec/ld-elf.so.1: Shared object "libXau.so.6" not found, required by "xauth" /libexec/ld-elf.so.1: Shared object "libX11.so.6" not found, required by "xinit" /libexec/ld-elf.so.1: Shared object "libXau.so.6" not found, required by "xauth" The files are there $ ls -l /usr/local/lib/libXau.so /usr/local/lib/libX11.so lrwxr-xr-x 1 root wheel 11 Oct 6 03:09 /usr/local/lib/libX11.so -> libX11.so.6 lrwxr-xr-x 1 root wheel 11 Oct 6 03:06 /usr/local/lib/libXau.so -> libXau.so.6 $ ls -l /usr/local/lib/libXau.so.6 /usr/local/lib/libX11.so.6 -rwxr-xr-x 1 root wheel 1080722 Oct 6 03:09 /usr/local/lib/libX11.so.6 -rwxr-xr-x 1 root wheel 10604 Oct 6 03:06 /usr/local/lib/libXau.so.6 $ cat .xinitrc exec /usr/local/kde4/bin/startkde $ uname -a FreeBSD xxx.xxx.net 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #2: Mon Oct 6 02:45:38 MDT 2008 root@xxx.xxx.net:/usr/obj/usr/src/sys/xxx i386 I'm sure this is a very little issue but I appreciate your patience and help in resolving this issue. Best Regards, Tom From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 06:08:11 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1403B106569D for ; Wed, 8 Oct 2008 06:08:11 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA06.westchester.pa.mail.comcast.net (qmta06.westchester.pa.mail.comcast.net [76.96.62.56]) by mx1.freebsd.org (Postfix) with ESMTP id B1FE58FC13 for ; Wed, 8 Oct 2008 06:08:10 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA06.westchester.pa.mail.comcast.net ([76.96.62.51]) by QMTA06.westchester.pa.mail.comcast.net with comcast id Q64o1a00B16LCl056688xK; Wed, 08 Oct 2008 06:08:08 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA06.westchester.pa.mail.comcast.net with comcast id Q6881a0062P6wsM3S689ZT; Wed, 08 Oct 2008 06:08:09 +0000 X-Authority-Analysis: v=1.0 c=1 a=QM_noPh8wYgA:10 a=QycZ5dHgAAAA:8 a=EtHEQm7vWax7w2Z5yBQA:9 a=FtwH5opMyvIskvoMPRUA:7 a=aUDv2FhD2Y_50Q8vlKwck_B_z-gA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 73F8BC9419; Tue, 7 Oct 2008 23:08:08 -0700 (PDT) Date: Tue, 7 Oct 2008 23:08:08 -0700 From: Jeremy Chadwick To: Zbigniew Szalbot Message-ID: <20081008060808.GA68413@icarus.home.lan> References: <94136a2c0810072248t7143c6am7b5740a7d770317d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <94136a2c0810072248t7143c6am7b5740a7d770317d@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions Subject: Re: mysql binlogs and their expiry times X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 06:08:11 -0000 On Wed, Oct 08, 2008 at 07:48:47AM +0200, Zbigniew Szalbot wrote: > Hi there, > > I hope someone can help. Due to they way my HD has been sliced I had > to move mysql database to /usr/local/mysql. All works fine. Last week > I added this entry > > #expire bin logs > expire_logs_days = 7 > > to /usr/local/mysql/my.cnf > > I restarted the MySQL server and now I have been waiting for the > binlogs to automatically expire but this is not happening: > > $ ls -l /usr/local/mysql > > -r--r--r-- 1 mysql mysql 4954 Oct 1 07:30 my.cnf > drwx------ 2 mysql mysql 1536 Sep 27 07:10 mysql > -rw-rw---- 1 mysql mysql 1073745213 Sep 2 04:07 mysql-bin.000047 > -rw-rw---- 1 mysql mysql 1073746878 Sep 7 03:48 mysql-bin.000048 > -rw-rw---- 1 mysql mysql 1073745707 Sep 11 20:07 mysql-bin.000049 > -rw-rw---- 1 mysql mysql 175527890 Sep 12 08:32 mysql-bin.000050 > -rw-rw---- 1 mysql mysql 128272 Sep 12 08:40 mysql-bin.000051 > -rw-rw---- 1 mysql mysql 1073745119 Sep 17 04:35 mysql-bin.000052 > -rw-rw---- 1 mysql mysql 1073747657 Sep 22 04:26 mysql-bin.000053 > -rw-rw---- 1 mysql mysql 1073744456 Sep 27 03:28 mysql-bin.000054 > -rw-rw---- 1 mysql mysql 986782722 Oct 1 07:32 mysql-bin.000055 > -rw-rw---- 1 mysql mysql 1073742442 Oct 6 04:18 mysql-bin.000056 > -rw-rw---- 1 mysql mysql 536487381 Oct 8 07:45 mysql-bin.000057 > -rw-r----- 1 mysql mysql 209 Oct 6 04:18 mysql-bin.index > > Do you have any idea why? Or if /usr/local/mysql/ is a correct > location for my.cnf file? Perhaphs it should go to /usr/local/etc/ ? > > If it matters, I use > $ pkg_info -Ix mysql-s > mysql-server-5.0.67 Multithreaded SQL database (server) > from ports. Shouldn't this question be going to the MySQL people and not FreeBSD? -- | 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 Wed Oct 8 06:30:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A0B1106568B for ; Wed, 8 Oct 2008 06:30:21 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id 1EEE08FC19 for ; Wed, 8 Oct 2008 06:30:20 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: by fg-out-1718.google.com with SMTP id l26so2482632fgb.35 for ; Tue, 07 Oct 2008 23:30:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=MPwMO6fLxE7TD/LgtL+M1mHC6ly+oy+0q604W7Jc8i4=; b=ZfW2Tl1JxaCJbD+HHoZUJIJGKHvZQTMXd2NkBUS+wQIl4smAXDnZGCsGICPQP/hOVJ xy4ZpYsFiu2BFsxJCfdt7wOXk02xSwoAllNF/SjAIeyiV1Wo9FHNnpU6v6tqk7eX6NOS +6F/qMjV73MUYBCVPevXtRu4iaxy/j4u0WPUk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; b=qBCoRMEsGmNoUqJI8JFrCF6+MYV4KQdI7W35JXEwb5DwOB5zdY6UnpqlnceZnPbi8N GOOsLUgPC9osk+APkZONmzsJlAAwMGzmKS7AJzgtmdRoq1pFQBNm0tSdKpak/39GfDGp feLudDGxL7IaIUf/VZyh/0cRP0r1miJCokStU= Received: by 10.103.249.19 with SMTP id b19mr4173593mus.50.1223447419577; Tue, 07 Oct 2008 23:30:19 -0700 (PDT) Received: from ?10.141.4.16? ([80.187.211.61]) by mx.google.com with ESMTPS id u9sm26459808muf.9.2008.10.07.23.30.17 (version=SSLv3 cipher=RC4-MD5); Tue, 07 Oct 2008 23:30:18 -0700 (PDT) From: Mister Olli To: Jerry McAllister In-Reply-To: <20081006174502.GB71024@gizmo.acns.msu.edu> References: <1223273047.23248.25.camel@phoenix.blechhirn.net> <20081006171809.GA26368@icarus.home.lan> <20081006174502.GB71024@gizmo.acns.msu.edu> Content-Type: text/plain Date: Wed, 08 Oct 2008 08:30:12 +0200 Message-Id: <1223447412.5896.9.camel@phoenix.blechhirn.net> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Cc: Jeremy Chadwick , freebsd-questions@freebsd.org Subject: Re: analyzing freebsd core dumps X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mister.olli@googlemail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 06:30:21 -0000 hi... thanks for the feedback on this topic. the first step to clean the machine and check all connectors has been done yesterday. I hope that this will fix the problem, and that it's not some kind of hardware failure. to run tests with memtest is quite a problem, since the machine has high availability requirements. to take it off for nearly one hour for cleaning and checking during daily work of our company was a pain. 6 hours or more of RAM tests is not possible. is there some other way to detect hardware failure with less time consuming tool/ process? greetz olli Am Montag, den 06.10.2008, 13:45 -0400 schrieb Jerry McAllister: > On Mon, Oct 06, 2008 at 10:18:09AM -0700, Jeremy Chadwick wrote: > > > On Mon, Oct 06, 2008 at 08:04:07AM +0200, Mister Olli wrote: > > > hi list... > > > > > > I have a freebsd maschine running for more 6 months without any > > > problems. > > > the machine's only service is to be an openvpn gateway for a hand of > > > users. > > > > > > 2 weeks ago the first problems started. the openvpn exited with signal > > > 11 and 4 and core dumps were written. > > > > > > the same happend yesterday with the postfix/cleanup process, and the > > > suddenly the machine rebooted without any further log messages. > > > > > > what is the best way to troubleshoot the cause of this problem? > > > > Signal 11 happening "out of no where" on machines which have been > > running fine, most of the time, is a sign of hardware failure (usually > > RAM, but sometimes motherboard or PSU). The fact you got a reboot is > > also further evidence of this. > > > > http://www.freebsd.org/doc/en/books/faq/troubleshoot.html#SIGNAL11 > > > > I would recommend taking the machine offline and running something like > > memtest86+ on it for 6-7 hours. Any errors seen are a pretty good sign > > that you should replace the memory or the motherboard. You can > > download an ISO or floppy disk images here: > > > > http://www.memtest.org/ > > > > Bottom line is that this is probably a hardware issue. > > Could also be a contacts if it is not the actual memory or board. > A marginal contact where something is plugged in can over time > build up deposits that make it fail. Of course, this is still > a hardware problem, but can often be cured by reseating everything. > If it is bad enough, it could also be exacerbated by reseating > everything. > > ////jerry > > > > > -- > > | 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 | > > > > _______________________________________________ > > 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 Oct 8 07:00:41 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1F331065697 for ; Wed, 8 Oct 2008 07:00:41 +0000 (UTC) (envelope-from artis.caune@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.250]) by mx1.freebsd.org (Postfix) with ESMTP id 9BDDD8FC1A for ; Wed, 8 Oct 2008 07:00:41 +0000 (UTC) (envelope-from artis.caune@gmail.com) Received: by an-out-0708.google.com with SMTP id b33so207307ana.13 for ; Wed, 08 Oct 2008 00:00:40 -0700 (PDT) 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=UH+FJ2pP6gGyHKe3D6H4MEEaSt5WYLVr15dHhVAUWSQ=; b=MCIpTLCmfOZdO4XtXOPqGqNckPv5hTSCnnfoBSpNC70coDoiitTj/Jrxa9xiFjR4pJ 90xXTjvWBaEPUm8jGhETjbW3+tpDmQHcp0iGI0T3AuoHq4QgiWEnLX9QQZ82FJ2xhMu7 a9+4qIqRgdhGBimHQdwzcaI7pxDehgbqyebG8= 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=GuaWkNq41VoDulBSu7Mn3qOY5UmQXwQ/QOc0KbQhhpJiS0Uwmd+Y06ZI1oMvNt3Wo5 RDmiU/N3rxvacwyWc8GzA4cei3Xxlpa0q1js2qaD9WPku9NSAEAUlCY/HwQQRURuaqoy IZt2nJQd63ZOdpki9hlhf4eGOiqM/+DwaZ5b0= Received: by 10.100.166.10 with SMTP id o10mr1021127ane.126.1223449240639; Wed, 08 Oct 2008 00:00:40 -0700 (PDT) Received: by 10.100.253.17 with HTTP; Wed, 8 Oct 2008 00:00:40 -0700 (PDT) Message-ID: <9e20d71e0810080000g7720cba3je2d734fd30c01e45@mail.gmail.com> Date: Wed, 8 Oct 2008 10:00:40 +0300 From: "Artis Caune" To: "Kalpin Erlangga Silaen" In-Reply-To: <48EC410C.2030707@muliahost.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48EC410C.2030707@muliahost.com> Cc: freebsd-questions@freebsd.org Subject: Re: bash script on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 07:00:42 -0000 On Wed, Oct 8, 2008 at 8:11 AM, Kalpin Erlangga Silaen wrote: > I am going to extract field username and UID from /etc/passwd and passed > into some scripts. Let say I got line > > admin 100 > admin2 200 > admin3 300 > admin4 400 > > and then I want to echoing into screen: > > admin has uid 100 > admin2 has uid 200 > admin3 has uid 300 > admin4 has uid 400 > > How do I make this with bash script? # echo $line |awk '{ print $1 " has uid " $2 }' -- regards, Artis Caune <----. CCNA | BSDA <----|==================== <----' didii FreeBSD From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 07:01:45 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A0711065687 for ; Wed, 8 Oct 2008 07:01:45 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA09.westchester.pa.mail.comcast.net (qmta09.westchester.pa.mail.comcast.net [76.96.62.96]) by mx1.freebsd.org (Postfix) with ESMTP id B615D8FC14 for ; Wed, 8 Oct 2008 07:01:44 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA05.westchester.pa.mail.comcast.net ([76.96.62.43]) by QMTA09.westchester.pa.mail.comcast.net with comcast id Q6xo1a00Q0vyq2s5971kf6; Wed, 08 Oct 2008 07:01:44 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA05.westchester.pa.mail.comcast.net with comcast id Q71j1a0022P6wsM3R71jlQ; Wed, 08 Oct 2008 07:01:44 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=GL_7_xdEuhnlVGxA3LkA:9 a=DQpl7b44-JIDLbYEDTwA:7 a=WzUz3W_b0k-mXmn8yluFboWXBpcA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id D0971C941A; Wed, 8 Oct 2008 00:01:42 -0700 (PDT) Date: Wed, 8 Oct 2008 00:01:42 -0700 From: Jeremy Chadwick To: Mister Olli Message-ID: <20081008070142.GA69250@icarus.home.lan> References: <1223273047.23248.25.camel@phoenix.blechhirn.net> <20081006171809.GA26368@icarus.home.lan> <20081006174502.GB71024@gizmo.acns.msu.edu> <1223447412.5896.9.camel@phoenix.blechhirn.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1223447412.5896.9.camel@phoenix.blechhirn.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Jerry McAllister , freebsd-questions@freebsd.org Subject: Re: analyzing freebsd core dumps X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 07:01:45 -0000 On Wed, Oct 08, 2008 at 08:30:12AM +0200, Mister Olli wrote: > hi... > > thanks for the feedback on this topic. > the first step to clean the machine and check all connectors has been > done yesterday. I hope that this will fix the problem, and that it's not > some kind of hardware failure. > > to run tests with memtest is quite a problem, since the machine has high > availability requirements. to take it off for nearly one hour for > cleaning and checking during daily work of our company was a pain. > 6 hours or more of RAM tests is not possible. > > is there some other way to detect hardware failure with less time > consuming tool/ process? Yes -- you start replacing hardware one piece at a time until the problem goes away. That will also require downtime, quite regularly, and waste money. So to answer your question: no, there is no way to easily track down the source of a hardware failure, or determine what piece has failed (if any). This is completely 100% normal when it comes to computers, especially x86 PCs. Anyone who has worked in the IT field for many years knows this. :-) I'm amazed that in this day and age, any company would have a single host as a single-point-of-failure. You can't take this machine down for troubleshooting, but you have no failover available. The company has put themselves into this situation. -- | 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 Wed Oct 8 07:12:11 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B4AD1065697 for ; Wed, 8 Oct 2008 07:12:11 +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 C94348FC0A for ; Wed, 8 Oct 2008 07:12:10 +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.63) (envelope-from ) id 1KnTDH-0006j3-J5; Wed, 08 Oct 2008 08:12:03 +0100 Received: from melon.esperance-linux.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 ESMTP id m987C1xW003126; Wed, 8 Oct 2008 08:12:02 +0100 Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id A515BFCA4AD; Wed, 8 Oct 2008 08:11:56 +0100 (BST) Date: Wed, 8 Oct 2008 08:11:56 +0100 From: Frank Shute To: Kalpin Erlangga Silaen Message-ID: <20081008071156.GA94922@melon.esperance-linux.co.uk> Mail-Followup-To: Kalpin Erlangga Silaen , freebsd-questions@freebsd.org References: <48EC410C.2030707@muliahost.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48EC410C.2030707@muliahost.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-RELEASE-p2 i386 X-Organisation: 'http://www.shute.org.uk/' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (zetnet.co.uk [194.247.46.1]); Wed, 08 Oct 2008 08:12:03 +0100 (BST) Cc: freebsd-questions@freebsd.org Subject: Re: bash script on FreeBSD 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: Wed, 08 Oct 2008 07:12:11 -0000 On Wed, Oct 08, 2008 at 12:11:40PM +0700, Kalpin Erlangga Silaen wrote: > > Dear all, > > I am going to extract field username and UID from /etc/passwd and passed > into some scripts. Let say I got line > > admin 100 > admin2 200 > admin3 300 > admin4 400 > > and then I want to echoing into screen: > > admin has uid 100 > admin2 has uid 200 > admin3 has uid 300 > admin4 has uid 400 > > How do I make this with bash script? > > Thank you > > > Kalpin Erlangga Silaen $ sed -e 's/\(admin[0-9]*\)\ \([0-9]*\)/\1 has uid \2/g' /etc/passwd Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 07:13:10 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23D7110656D9; Wed, 8 Oct 2008 07:13:10 +0000 (UTC) (envelope-from qj@huawei.com) Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [119.145.14.65]) by mx1.freebsd.org (Postfix) with ESMTP id CD7FD8FC2F; Wed, 8 Oct 2008 07:13:09 +0000 (UTC) (envelope-from qj@huawei.com) Received: from huawei.com (szxga02-in [172.24.2.6]) by szxga02-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTP id <0K8E00L7NRZK4Y@szxga02-in.huawei.com>; Wed, 08 Oct 2008 15:11:44 +0800 (CST) Received: from huawei.com ([172.24.1.12]) by szxga02-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTP id <0K8E00IHGRZKD4@szxga02-in.huawei.com>; Wed, 08 Oct 2008 15:11:44 +0800 (CST) Received: from q00130354 ([10.111.9.38]) by szxml05-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTPA id <0K8E00A8ZRZFIX@szxml05-in.huawei.com>; Wed, 08 Oct 2008 15:11:44 +0800 (CST) Date: Wed, 08 Oct 2008 15:11:40 +0800 From: =?gb2312?B?x/G9ow==?= In-reply-to: <20081007115748.GA48154@icarus.home.lan> To: 'Jeremy Chadwick' Message-id: <000301c92915$1cd0ae60$01000001@china.huawei.com> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Mailer: Microsoft Office Outlook 11 Content-type: text/plain; charset=gb2312 Content-transfer-encoding: 7BIT Thread-index: AckodL2oSBjwz6W/R9ecg3XW/kxmlwAoABWQ Cc: freebsd-net@FreeBSD.org, freebsd-questions@freebsd.org, freebsd-threads@freebsd.org Subject: RE: kernel profiling: spinlock_exit consumes 36% CPU time. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 07:13:10 -0000 Forgot to meantion that the test is based on FreeBSD kernel 7.0 2000807 snapshot. The kernel was compiled with a modified version of GENERIC configuration. With SMP and PREEMPTION disabled and kernel profiling enabled. -----Original Message----- From: Jeremy Chadwick [mailto:koitsu@FreeBSD.org] Sent: Tuesday, October 07, 2008 7:58 PM To: ???? Cc: freebsd-questions@freebsd.org; freebsd-net@FreeBSD.org; freebsd-threads@freebsd.org Subject: Re: kernel profiling: spinlock_exit consumes 36% CPU time. On Tue, Oct 07, 2008 at 07:44:00PM +0800, ???? wrote: > Hi, folks, > > I did kernel profiling when a single thread client sends UDP packets > to a single thread server on the same machine. > > In the output kernel profile, the first few kernel functions that > consumes the most CPU time are listed below: > > granularity: each sample hit covers 16 byte(s) for 0.01% of 25.68 > seconds > > % cumulative self self total > time seconds seconds calls ms/call ms/call name > 42.4 10.88 10.88 0 100.00% __mcount [1] > 36.1 20.14 9.26 17937541 0.00 0.00 spinlock_exit [4] > 4.2 21.22 1.08 3145728 0.00 0.00 in_cksum_skip [40] > 1.8 21.68 0.45 7351987 0.00 0.00 generic_copyin [43] > 1.1 21.96 0.29 3146028 0.00 0.00 generic_copyout [48] > 1.0 22.21 0.24 2108904 0.00 0.00 Xint0x80_syscall [3] > 0.8 22.42 0.21 6292131 0.00 0.00 uma_zalloc_arg [46] > 0.8 22.62 0.20 1048576 0.00 0.00 soreceive_generic [9] > 0.7 22.80 0.19 3145852 0.00 0.00 free [47] > 0.6 22.96 0.15 6292172 0.00 0.00 uma_zfree_arg [52] > 0.6 23.10 0.14 5243413 0.00 0.00 generic_bzero [53] > 0.5 23.23 0.14 1048581 0.00 0.00 ip_output [23] > 0.5 23.36 0.13 4221855 0.00 0.00 generic_bcopy [57] > 0.4 23.47 0.11 36865859 0.00 0.00 critical_enter [61] > 0.4 23.57 0.10 36865859 0.00 0.00 critical_exit [62] > 0.4 23.67 0.09 17937541 0.00 0.00 spinlock_enter [63] > 0.4 23.76 0.09 1048582 0.00 0.00 udp_input [21] > 0.3 23.85 0.09 2108904 0.00 0.00 syscall [5] > 0.3 23.93 0.08 1048587 0.00 0.00 ip_input [20] > 0.3 24.00 0.07 2097156 0.00 0.00 getsock [65] > 0.3 24.07 0.07 1048576 0.00 0.00 udp_send [22] > > It is very strange that spinlock_exit consumes over 36% CPU time while > it seems a very simple function. > > For clarity, I paste the code of spinlock_exit here: > > void > spinlock_exit(void) > { > struct thread *td; > > td = curthread; > critical_exit(); > td->td_md.md_spinlock_count--; > if (td->td_md.md_spinlock_count == 0) > intr_restore(td->td_md.md_saved_flags); > } > > Since critical_exit consumes only 0.4% CPU time, does this mean the > rest of spinlock_exit consume ~36% CPU time? > > Am I missing something? Could anybody help me understand this? Many thanks. > > BTW, the kernel is compiled with SMP and PREEMPTION disabled. The > scheduler is ULE. What FreeBSD version, and what build date of the kernel? -- | 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 Wed Oct 8 07:21:31 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9AF3106569A for ; Wed, 8 Oct 2008 07:21:31 +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 191D78FC17 for ; Wed, 8 Oct 2008 07:21:31 +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.63) (envelope-from ) id 1KnTMP-0007NZ-04; Wed, 08 Oct 2008 08:21:29 +0100 Received: from melon.esperance-linux.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 ESMTP id m987LQMr014955; Wed, 8 Oct 2008 08:21:27 +0100 Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id D64C6FCA4AD; Wed, 8 Oct 2008 08:21:21 +0100 (BST) Date: Wed, 8 Oct 2008 08:21:21 +0100 From: Frank Shute To: Kalpin Erlangga Silaen , freebsd-questions@freebsd.org Message-ID: <20081008072121.GB94922@melon.esperance-linux.co.uk> Mail-Followup-To: Kalpin Erlangga Silaen , freebsd-questions@freebsd.org References: <48EC410C.2030707@muliahost.com> <20081008071156.GA94922@melon.esperance-linux.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081008071156.GA94922@melon.esperance-linux.co.uk> 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-RELEASE-p2 i386 X-Organisation: 'http://www.shute.org.uk/' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (zetnet.co.uk [194.247.46.1]); Wed, 08 Oct 2008 08:21:28 +0100 (BST) Cc: Subject: Re: bash script on FreeBSD 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: Wed, 08 Oct 2008 07:21:31 -0000 On Wed, Oct 08, 2008 at 08:11:56AM +0100, Frank Shute wrote: > > On Wed, Oct 08, 2008 at 12:11:40PM +0700, Kalpin Erlangga Silaen wrote: > > > > Dear all, > > > > I am going to extract field username and UID from /etc/passwd and passed > > into some scripts. Let say I got line > > > > admin 100 > > admin2 200 > > admin3 300 > > admin4 400 > > > > and then I want to echoing into screen: > > > > admin has uid 100 > > admin2 has uid 200 > > admin3 has uid 300 > > admin4 has uid 400 > > > > How do I make this with bash script? > > > > Thank you > > > > > > Kalpin Erlangga Silaen > > $ sed -e 's/\(admin[0-9]*\)\ \([0-9]*\)/\1 has uid \2/g' /etc/passwd > Correction: You can't use that on /etc/passwd directly. But assuming you've got a file already in the format you specified, then you can use it on that. If you want to grab the data directly from /etc/passwd then you'd be better off using awk(1). Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 07:22:57 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65D991065686 for ; Wed, 8 Oct 2008 07:22:57 +0000 (UTC) (envelope-from kalpin@muliahost.com) Received: from smtp.velo.net.id (mx1.velo.net.id [203.153.100.130]) by mx1.freebsd.org (Postfix) with ESMTP id 138EF8FC20 for ; Wed, 8 Oct 2008 07:22:47 +0000 (UTC) (envelope-from kalpin@muliahost.com) Received: from localhost (sniper.express.net.id [127.0.0.1]) by smtp.velo.net.id (Postfix) with ESMTP id E84BD120021; Wed, 8 Oct 2008 14:22:38 +0700 (WIT) X-Virus-Scanned: amavisd-new at velo.net.id Received: from smtp.velo.net.id ([127.0.0.1]) by localhost (seminyak.velo.net.id [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Inp34UgziNDb; Wed, 8 Oct 2008 14:22:37 +0700 (WIT) Received: from [203.153.106.5] (DALnet.tranquillity.se [203.153.106.5]) by smtp.velo.net.id (Postfix) with ESMTP id F113912001A; Wed, 8 Oct 2008 14:22:36 +0700 (WIT) Message-ID: <48EC5FC5.7030103@muliahost.com> Date: Wed, 08 Oct 2008 14:22:45 +0700 From: Kalpin Erlangga Silaen User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Kalpin Erlangga Silaen , freebsd-questions@freebsd.org References: <48EC410C.2030707@muliahost.com> <20081008071156.GA94922@melon.esperance-linux.co.uk> <20081008072121.GB94922@melon.esperance-linux.co.uk> In-Reply-To: <20081008072121.GB94922@melon.esperance-linux.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: bash script on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 07:22:57 -0000 Dear Frank, you are correct. Finally, I write my script using awk. Thank you Kalpin Erlangga Silaen Frank Shute wrote: > On Wed, Oct 08, 2008 at 08:11:56AM +0100, Frank Shute wrote: > >> On Wed, Oct 08, 2008 at 12:11:40PM +0700, Kalpin Erlangga Silaen wrote: >> >>> Dear all, >>> >>> I am going to extract field username and UID from /etc/passwd and passed >>> into some scripts. Let say I got line >>> >>> admin 100 >>> admin2 200 >>> admin3 300 >>> admin4 400 >>> >>> and then I want to echoing into screen: >>> >>> admin has uid 100 >>> admin2 has uid 200 >>> admin3 has uid 300 >>> admin4 has uid 400 >>> >>> How do I make this with bash script? >>> >>> Thank you >>> >>> >>> Kalpin Erlangga Silaen >>> >> $ sed -e 's/\(admin[0-9]*\)\ \([0-9]*\)/\1 has uid \2/g' /etc/passwd >> >> > > Correction: You can't use that on /etc/passwd directly. But assuming > you've got a file already in the format you specified, then you can > use it on that. > > If you want to grab the data directly from /etc/passwd then you'd be > better off using awk(1). > > Regards, > > From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 07:25:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC542106568E for ; Wed, 8 Oct 2008 07:25:49 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id A12B48FC12 for ; Wed, 8 Oct 2008 07:25:49 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id m987PxQV067681 for ; Wed, 8 Oct 2008 00:25:59 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Wed, 8 Oct 2008 00:25:45 -0700 (PDT) Date: Wed, 8 Oct 2008 00:25:45 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20081008072545.GA38553@thought.org> References: <20081008031929.GA12117@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081008031929.GA12117@thought.org> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 22 years of service to the Unix community. X-Spam-Status: No, score=-4.3 required=3.6 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Subject: Re: question about "sound-juicer" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 07:25:50 -0000 On Tue, Oct 07, 2008 at 08:19:32PM -0700, Gary Kline wrote: > > Guys, > > There's a very useful audio app called "sound-juicer"; I have it > installed but whenever I try to use it, a popup warns: > > "Could not read the CD\n > > Sound juicer could not access the CD-ROM Device '1,1,0' > Reason: No such file or directory" > > I've got two CD/DVD optical drives; both are correctly configured in > /etc/fstab and in /media and in my home directory. I'm stuck. Any ideas > on what's wrong? > > thanks in advance, > > gary It's probably bad form to respond to one's post, but here's the deal: while I *could* transfer audio data from one CD to my hard drive or elsewhere, I wantedt o use sound-juicer (like I did on my Ubuntu platform. There, both gnome and kde both work. Until very recently, I assumed that the same rule applied to our OS as well. But I have had to set up things to have evolution's icons be displayed on FBSD, and now this difficulty with the audio app. Is there some magic incantation that will let me use applications of either/or bothe Gnome and KDE? I use KDE primarily for one reason:: it has speech wirh konqueror. firefox does not. ANother reason is the KDE had seemed to have given people with disabilities more consideration. I'm not blind, but it helps to have an essay read back to me so I can hear the flubs. &c. (*****) -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 07:37:23 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FB591065690 for ; Wed, 8 Oct 2008 07:37:23 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from viefep16-int.chello.at (viefep18-int.chello.at [213.46.255.22]) by mx1.freebsd.org (Postfix) with ESMTP id 243AA8FC17 for ; Wed, 8 Oct 2008 07:37:21 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from edge03.upc.biz ([192.168.13.238]) by viefep16-int.chello.at (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20081008073720.IMCG2059.viefep16-int.chello.at@edge03.upc.biz> for ; Wed, 8 Oct 2008 09:37:20 +0200 Received: from [192.168.2.175] ([89.134.231.52]) by edge03.upc.biz with edge id Q7dD1a03C18VCLh037dFQg; Wed, 08 Oct 2008 09:37:20 +0200 X-SourceIP: 89.134.231.52 Message-ID: <48EC63A2.7000706@shopzeus.com> Date: Wed, 08 Oct 2008 09:39:14 +0200 From: Laszlo Nagy User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: multipart/mixed; boundary="------------070307060005040507000101" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: GEOM_JOURNAL: Timeout. Journal gjournal XXXX cannot be completed. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 07:37:23 -0000 This is a multi-part message in MIME format. --------------070307060005040507000101 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Hi, I'm trying to add a new disk to my system. I'm ready with labeling the disk. It is an SCSI device with and UFS partition and a SWAP partition. The swap is turned off, and I would like to use it as journal space. There is a screenshot attached showing what happens after entering single user mode. swaps are turned off, and the journal cannot be initialized. The message says: GEOM_JOURNAL: Timeout. Journal gjournal 2578807269 cannot be completed. Why is that? Thanks, Laszlo --------------070307060005040507000101-- From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 07:58:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9023106568D for ; Wed, 8 Oct 2008 07:58:09 +0000 (UTC) (envelope-from steinex@nognu.de) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id 8076C8FC26 for ; Wed, 8 Oct 2008 07:58:09 +0000 (UTC) (envelope-from steinex@nognu.de) Received: by fg-out-1718.google.com with SMTP id l26so2503970fgb.35 for ; Wed, 08 Oct 2008 00:58:08 -0700 (PDT) Received: by 10.187.183.7 with SMTP id k7mr1488860fap.36.1223451195424; Wed, 08 Oct 2008 00:33:15 -0700 (PDT) Received: by 10.187.197.3 with HTTP; Wed, 8 Oct 2008 00:33:15 -0700 (PDT) Message-ID: Date: Wed, 8 Oct 2008 09:33:15 +0200 From: "Frank Steinborn" To: freebsd-questions@freebsd.org In-Reply-To: MIME-Version: 1.0 References: <20081007220540.GA2753@thought.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: how to connect kde4 to my mail server...?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 07:58:10 -0000 2008/10/8 Gary Kline > > I didn't set up my LAN and the guy who did, didn't explain enough > to help me get too far with things-kde3 in /usr/local/bin to > everything-kde4 in /usr/local/kde4/bin/* > > I just got kde4 kmail set up, but it does not see mail on my mail > server:: aristotle.thought.org. Anybody help me with this? Do you get some error message from KMail like "connection refused", "wrong password" or something? What mail-protocol are you using? -- Servus, Frank Take me drunk, I'm home again! From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 08:18:35 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57FFA106568A for ; Wed, 8 Oct 2008 08:18:35 +0000 (UTC) (envelope-from mcoyles@horbury.wakefield.sch.uk) Received: from smtp2-wak.yhgfl.net (smtp2-wak-ext.yhgfl.net [89.207.208.43]) by mx1.freebsd.org (Postfix) with ESMTP id C982F8FC18 for ; Wed, 8 Oct 2008 08:18:34 +0000 (UTC) (envelope-from mcoyles@horbury.wakefield.sch.uk) Received: from horbury.wakefield.sch.uk ([10.126.96.34]) by smtp2-wak.yhgfl.net (8.13.8/8.13.8/Debian-3) with ESMTP id m988IPa9031010; Wed, 8 Oct 2008 09:18:26 +0100 Received: from ITTEAM02 [10.126.96.253] by horbury.wakefield.sch.uk with ESMTP (SMTPD32-7.07) id ACCC3940132; Wed, 08 Oct 2008 09:18:20 +0100 From: "Marc Coyles" To: References: In-Reply-To: Date: Wed, 8 Oct 2008 09:18:19 +0100 Message-ID: <002b01c9291e$6c1198a0$4434c9e0$@wakefield.sch.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AckpHdsywk5UP1xtQ7ypfGskkrcIUAAAGb6A Content-Language: en-gb X-YHGfL-MailScanner-Information: Please contact the YHGfL Foundation for more information X-YHGfL-MailScanner: Found to be clean X-YHGfL-MailScanner-MCPCheck: MCP-Clean, MCP-Checker (score=0, required 0.5) X-YHGfL-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.399, required 5, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60) X-MailScanner-From: mcoyles@horbury.wakefield.sch.uk Cc: Subject: RE: RE: Consistency of MySQL dumps... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mcoyles@horbury.wakefield.sch.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 08:18:35 -0000 > (MySQLFront running on Windows XP, connecting to > MySQL5.2.5 on FreeBSD7.0REL) Sorry, brain fade... it's early! MySQL 4.1.22... was thinking about PHP at the time... Cheers! Marc A Coyles - Horbury School ICT Support Team Mbl: 07850 518106 Land: 01924 282740 ext 730 Helpdesk: 01924 282740 ext 2000 From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 08:39:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD74C106569A for ; Wed, 8 Oct 2008 08:39:28 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 881278FC25 for ; Wed, 8 Oct 2008 08:39:28 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from isis.bris.ac.uk ([137.222.10.63]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1KnUZp-0004UX-5F for freebsd-questions@freebsd.org; Wed, 08 Oct 2008 09:39:27 +0100 Received: from mech-cluster238.men.bris.ac.uk ([137.222.187.238]) by isis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1KnUZo-0007Dt-DE for freebsd-questions@freebsd.org; Wed, 08 Oct 2008 09:39:24 +0100 Received: from mech-cluster238.men.bris.ac.uk (localhost.men.bris.ac.uk [127.0.0.1]) by mech-cluster238.men.bris.ac.uk (8.14.2/8.14.2) with ESMTP id m988dN9p088763 for ; Wed, 8 Oct 2008 09:39:23 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster238.men.bris.ac.uk (8.14.2/8.14.2/Submit) id m988dNWX088762 for freebsd-questions@freebsd.org; Wed, 8 Oct 2008 09:39:23 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster238.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Wed, 8 Oct 2008 09:39:23 +0100 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20081008083923.GB88736@mech-cluster238.men.bris.ac.uk> References: <20081007115504.GA78610@mech-cluster238.men.bris.ac.uk> <44abdgf880.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44abdgf880.fsf@be-well.ilk.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-Spam-Score: -1.4 X-Spam-Level: - Subject: Re: detecting monitor's sync and refresh rate? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 08:39:28 -0000 On Tue, Oct 07, 2008 at 04:42:07PM -0400, Lowell Gilbert wrote: > Anton Shterenlikht writes: > > > I've a monitor (Mobi M15MPC) with no docs. > > I've searched the net but cannot find any info on sync and refresh rate for it. > > I've done Xorg -configure, but testing with X -config xorg.conf.new > > shows screen shifted to the side and very nasty blinking, from which > > I deduced that perhaps I need to specify correct sync, refresh and mode. > > > > Are there any commands to get sync and refresh from the monitor? > > If X can't probe the monitor for its settings, I wouldn't trust any > other method of probing it either. > > Not to overlook the obvious: are the settings written on the back of > the monitor? no, nothing there. Can I make anything from this fragment of /var/log/Xorg.0.log: (II) intel(0): Printing DDC gathered Modelines: (II) intel(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1184 768 771 777 806 -hsync -vsync (54.9 kHz) (II) intel(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz) (II) intel(0): Modeline "640x480"x0.0 25.20 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz) (II) intel(0): Modeline "720x400"x0.0 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz) (II) intel(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz) > You can always try Google... so far no luck thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 09:25:13 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 976C21065694 for ; Wed, 8 Oct 2008 09:25:13 +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 5B2468FC18 for ; Wed, 8 Oct 2008 09:25:13 +0000 (UTC) (envelope-from barry.byrne@wbtsystems.com) Received: from SUNYA (sunya.wbt.wbtsystems.com [10.12.1.114]) by hermes.wbtsystems.com (Postfix) with ESMTPA id 832E8F7410; Wed, 8 Oct 2008 10:25:11 +0100 (IST) From: "Barry Byrne" To: , "'FreeBSD Mailing List'" References: <539c60b90810071356g1d07d339yeaa5bc6f20b14109@mail.gmail.com> Date: Wed, 8 Oct 2008 10:25:17 +0100 Message-ID: <80C987422C3A4FB58CAC85EC960E99CC@wbt.wbtsystems.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <539c60b90810071356g1d07d339yeaa5bc6f20b14109@mail.gmail.com> Thread-Index: Ackov1/swB/TrggSQkKmfMLYesyEqgAaDj8g X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Cc: Subject: RE: how to break portsnap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 09:25:13 -0000 > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Steve Franks > Sent: 07 October 2008 21:57 > I've googled high & low but I cannot find much other that "this cannot > happen" replies. I've got a dual boot to amd64 and i386. The amd64 > hasn't been able to portsnap fetch or cron since march. The i386 I > just installed, and it portsnap's fine, so it's not a firewall or > related issue. I've checked my key and it looks ok. What am I > missing? > > Best, > Steve > > > dystant# portsnap fetch > Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found. > Fetching snapshot tag from portsnap1.FreeBSD.org... done. > Fetching snapshot metadata... done. > Updating from Mon Mar 3 07:50:14 MST 2008 to Tue Oct 7 > 12:43:25 MST 2008. > Fetching 0 metadata patches. done. > Applying metadata patches... done. > Fetching 0 metadata files... done. > Fetching 12365 patches.. done. > Applying patches... done. > Fetching 13708 new ports or files... /usr/sbin/portsnap: cannot open > e53d7ea3f6fbc2e6a87a1f194ea623fc6b27c74d9aecfd61e0d765e86d861ad5.gz: > No such file or directory > snapshot is corrupt. > dystant# Steve: Are you using a proxy server? If so this could be perhaps the proxy server not fully supporting HTTP/1.1 persistent connections. Can you try this: sysctl net.inet.ip.portrange.randomized=0 portsnap fetch update Cheers, Barry From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 09:45:19 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 802B8106568E for ; Wed, 8 Oct 2008 09:45:19 +0000 (UTC) (envelope-from talon@lpthe.jussieu.fr) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by mx1.freebsd.org (Postfix) with ESMTP id EC13D8FC19 for ; Wed, 8 Oct 2008 09:45:18 +0000 (UTC) (envelope-from talon@lpthe.jussieu.fr) Received: from parthe.lpthe.jussieu.fr (parthe.lpthe.jussieu.fr [134.157.10.1]) by shiva.jussieu.fr (8.14.3/jtpda-5.4) with ESMTP id m989jG8T033400 for ; Wed, 8 Oct 2008 11:45:16 +0200 (CEST) X-Ids: 168 Received: from niobe.lpthe.jussieu.fr (niobe.lpthe.jussieu.fr [134.157.10.41]) by parthe.lpthe.jussieu.fr (Postfix) with ESMTP id 175A98A0AD for ; Wed, 8 Oct 2008 11:45:15 +0200 (CEST) Received: by niobe.lpthe.jussieu.fr (Postfix, from userid 2005) id 0A47510A; Wed, 8 Oct 2008 11:45:15 +0200 (CEST) Date: Wed, 8 Oct 2008 11:45:14 +0200 From: Michel Talon To: freebsd-questions@freebsd.org Message-ID: <20081008094514.GA96151@lpthe.jussieu.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (shiva.jussieu.fr [134.157.0.168]); Wed, 08 Oct 2008 11:45:16 +0200 (CEST) X-Virus-Scanned: ClamAV 0.93.3/8394/Wed Oct 8 06:15:25 2008 on shiva.jussieu.fr X-Virus-Status: Clean X-Miltered: at jchkmail.jussieu.fr with ID 48EC812C.002 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 48EC812C.002/134.157.10.1/parthe.lpthe.jussieu.fr/parthe.lpthe.jussieu.fr/ X-j-chkmail-Score: MSGID : 48EC812C.002 on jchkmail.jussieu.fr : j-chkmail score : . : R=. U=. O=. B=0.033 -> S=0.033 X-j-chkmail-Status: Ham Subject: Re: adding a slice to gmirror instead of a whole disk, will it work? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 09:45:19 -0000 Craig Butler wrote: > Will adding a slice to a gmirror instead of a whole disk work? > The slice is big enough to accommodate the old disk. It will work no problem. The only possible trouble is to have the last sector of the disk or slice free to be able to put the geom marker on it. For example i have a mirror with 2 slices: asmodee% gmirror list Geom name: gms1 State: COMPLETE Components: 2 Balance: load Slice: 4096 Flags: NONE GenID: 0 SyncID: 2 ID: 1193348252 Providers: 1. Name: mirror/gms1 Mediasize: 16776699904 (16G) Sectorsize: 512 Mode: r5w5e5 Consumers: 1. Name: ad0s1 Mediasize: 16776700416 (16G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: DIRTY GenID: 0 SyncID: 2 ID: 1158494643 2. Name: ad4s1 Mediasize: 16776700416 (16G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: DIRTY GenID: 0 SyncID: 2 ID: 2277636746 Note that in this case (one of the disks is slower than the other) i observed that the "round-robin" strategy was giving poor results (slower than the slowest of the two disks) while the "load" strategy gives performance like the faster disk. Consumers can be absolutely anything, this is the beauty of the GEOM idea. -- Michel TALON From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 11:05:56 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DE191065687 for ; Wed, 8 Oct 2008 11:05:56 +0000 (UTC) (envelope-from jeremyhooks@googlemail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.freebsd.org (Postfix) with ESMTP id AFCEB8FC1B for ; Wed, 8 Oct 2008 11:05:55 +0000 (UTC) (envelope-from jeremyhooks@googlemail.com) Received: by nf-out-0910.google.com with SMTP id h3so164060nfh.33 for ; Wed, 08 Oct 2008 04:05:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=eRmqsQzfYDvzF3a69cdlFv7NBAmQSUjm2WCZnCF4xOk=; b=OCmLnKOkYFjVZfvniMPm3l/NgaXxcVW4B5kiV6wOk+HHkIyN2xzI/7DFt0y2QssvP6 0G2mCsCV2I9gwi4u1zyNFGyoBHp8YkV3D+wh7h6D31NJlHVb25D2/NMd5Jqedd9dBDKX jZk4fMQeZb0YkoMJ02gqzjwhHuHc2W+HC1UZk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=c+hqWfWubEy/+sY+6wC0ItntBNOL4dwUOQfWsyiukqbSm6ykl+lluUDJHomLmI0BV5 4d7dQitskubUR8HkqLtOGHBKQXD5l600fZJ+vMfURaZ4KRySd3dmoopNjdA0NC1ZDIgv cLR/Ne3O4C5d0JfuHH0H9zFF4AirxhQWGBHbQ= Received: by 10.210.127.13 with SMTP id z13mr9701427ebc.173.1223463954361; Wed, 08 Oct 2008 04:05:54 -0700 (PDT) Received: by 10.210.82.9 with HTTP; Wed, 8 Oct 2008 04:05:54 -0700 (PDT) Message-ID: Date: Wed, 8 Oct 2008 12:05:54 +0100 From: "Jeremy Hooks" To: "Anton Shterenlikht" In-Reply-To: <20081008083923.GB88736@mech-cluster238.men.bris.ac.uk> MIME-Version: 1.0 References: <20081007115504.GA78610@mech-cluster238.men.bris.ac.uk> <44abdgf880.fsf@be-well.ilk.org> <20081008083923.GB88736@mech-cluster238.men.bris.ac.uk> 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: freebsd-questions@freebsd.org Subject: Re: detecting monitor's sync and refresh rate? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 11:05:56 -0000 I cheated a little and pulled this out of openSUSE 11's monitor database: #============================================== # 1024X768@60HZ #---------------------------------------------- --> LCD:1024X768@60HZ { Option=DPMS Hsync=31-60 Modeline="1024x768" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync Vsync=30-60 } That should be about right for your 15" LCD monitor if it supports 1024x768@60Hz - quite common for 15" monitors. You'll notice modeline matches the last modeline in your logs. It might not be optimal, but it should work if your monitor is VESA compliant. Another option, if you have the Windows driver disk, would be to extract the .inf file and get the settings from that. 2008/10/8 Anton Shterenlikht > On Tue, Oct 07, 2008 at 04:42:07PM -0400, Lowell Gilbert wrote: > > Anton Shterenlikht writes: > > > > > I've a monitor (Mobi M15MPC) with no docs. > > > I've searched the net but cannot find any info on sync and refresh rate > for it. > > > I've done Xorg -configure, but testing with X -config xorg.conf.new > > > shows screen shifted to the side and very nasty blinking, from which > > > I deduced that perhaps I need to specify correct sync, refresh and > mode. > > > > > > Are there any commands to get sync and refresh from the monitor? > > > > If X can't probe the monitor for its settings, I wouldn't trust any > > other method of probing it either. > > > > Not to overlook the obvious: are the settings written on the back of > > the monitor? > > no, nothing there. > > Can I make anything from this fragment of /var/log/Xorg.0.log: > > (II) intel(0): Printing DDC gathered Modelines: > (II) intel(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1184 768 > 771 777 > 806 -hsync -vsync (54.9 kHz) > (II) intel(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 > 605 628 > +hsync +vsync (37.9 kHz) > (II) intel(0): Modeline "640x480"x0.0 25.20 640 656 752 800 480 490 492 > 525 > -hsync -vsync (31.5 kHz) > (II) intel(0): Modeline "720x400"x0.0 28.32 720 738 846 900 400 412 414 > 449 > -hsync +vsync (31.5 kHz) > (II) intel(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 > 771 777 > 806 -hsync -vsync (48.4 kHz) > > > > You can always try Google... > > so far no luck > > thanks > anton > > -- > Anton Shterenlikht > Room 2.6, Queen's Building > Mech Eng Dept > Bristol University > University Walk, Bristol BS8 1TR, UK > Tel: +44 (0)117 928 8233 > Fax: +44 (0)117 929 4423 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 07:51:53 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9A061065686; Wed, 8 Oct 2008 07:51:53 +0000 (UTC) (envelope-from qj@huawei.com) Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [119.145.14.65]) by mx1.freebsd.org (Postfix) with ESMTP id A07F58FC1B; Wed, 8 Oct 2008 07:51:53 +0000 (UTC) (envelope-from qj@huawei.com) Received: from huawei.com (szxga02-in [172.24.2.6]) by szxga02-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTP id <0K8E00LF6TUE4Y@szxga02-in.huawei.com>; Wed, 08 Oct 2008 15:51:51 +0800 (CST) Received: from huawei.com ([172.24.1.12]) by szxga02-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTP id <0K8E0089STUEOM@szxga02-in.huawei.com>; Wed, 08 Oct 2008 15:51:50 +0800 (CST) Received: from q00130354 ([10.111.9.38]) by szxml05-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTPA id <0K8E00A5FTUBIX@szxml05-in.huawei.com>; Wed, 08 Oct 2008 15:51:50 +0800 (CST) Date: Wed, 08 Oct 2008 15:51:48 +0800 From: =?gb2312?B?x/G9ow==?= In-reply-to: <200810070938.04673.jhb@freebsd.org> To: 'John Baldwin' , freebsd-threads@freebsd.org Message-id: <000a01c9291a$b81fa560$01000001@china.huawei.com> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Mailer: Microsoft Office Outlook 11 Content-type: text/plain; charset=gb2312 Content-transfer-encoding: quoted-printable Thread-index: Ackoh6RcgD3LVNMBRcCYxgZdMuMjiAAjXuVw X-Mailman-Approved-At: Wed, 08 Oct 2008 11:30:16 +0000 Cc: freebsd-net@freebsd.org, freebsd-questions@freebsd.org Subject: RE: kernel profiling: spinlock_exit consumes 36% CPU time. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 07:51:54 -0000 Many thanks for the information. Could we say that interrupt handlers consumed ~36% execution time? Is this number too high? Is it possible that we abuse the use of = critical sections in kernel? Looking forward to your options. Many thanks. Qiu Jian On Tuesday 07 October 2008 07:44:00 am =C7=F1=BD=A3 wrote: > Hi, folks, > =20 > I did kernel profiling when a single thread client sends UDP packets=20 > to a single thread server on the same machine. > =20 > In the output kernel profile, the first few kernel functions that=20 > consumes the most CPU time are listed below: > =20 > granularity: each sample hit covers 16 byte(s) for 0.01% of 25.68=20 > seconds >=20 > % cumulative self self total > time seconds seconds calls ms/call ms/call name > 42.4 10.88 10.88 0 100.00% __mcount [1] > 36.1 20.14 9.26 17937541 0.00 0.00 spinlock_exit = [4] > 4.2 21.22 1.08 3145728 0.00 0.00 in_cksum_skip = [40] > 1.8 21.68 0.45 7351987 0.00 0.00 generic_copyin = [43] > 1.1 21.96 0.29 3146028 0.00 0.00 generic_copyout = [48] > 1.0 22.21 0.24 2108904 0.00 0.00 Xint0x80_syscall = [3] > 0.8 22.42 0.21 6292131 0.00 0.00 uma_zalloc_arg = [46] > 0.8 22.62 0.20 1048576 0.00 0.00 = soreceive_generic [9] > > It is very strange that spinlock_exit consumes over 36% CPU time while = > it seems a very simple function. It's because the intr_restore() re-enables interrupts and the resulting = time spent executing the handlers for any pending interrupts are attributed = to spinlock_exit(). -- John Baldwin From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 11:46:13 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F028A1065687 for ; Wed, 8 Oct 2008 11:46:13 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.freebsd.org (Postfix) with ESMTP id 01AF08FC1A for ; Wed, 8 Oct 2008 11:46:12 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so173151nfh.33 for ; Wed, 08 Oct 2008 04:46:11 -0700 (PDT) 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=o+FDOs4hili9Y94zFPdTr37LFBt9ypKHWMp1hIsPouo=; b=J3D+ZPHipW8uuuVv97dYcvgpKmJCGMmBQhXRxPx0u8q/xjtcShg/lfU2xuqmqM8e/B QQK6xj2qJuJLKbptq/nYBJe0ptXcXTmIkSqYIf7bpEJgbgwlpib+s1faVGUPmZYPIEvQ 1MXUPjyuTSXlur8mxDe6A4PgFtJnj66SZKWg0= 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=jcRxTaPu0YKYLEB5E0gS1sNZ9l2qEGBuqfDg/BgliHdSIoir+cvotOaM3cz4GkGQW5 atC60U5F0XrqmZXQQ1R9S9bHOAamvwX+n3MWeOcCSVXKuyewLg8+Bi5E5fdaov/n5FSx mkuUqGh05hAe4ldbINP07/IA22DLK/gHTUlcc= Received: by 10.103.22.11 with SMTP id z11mr4350155mui.83.1223466371507; Wed, 08 Oct 2008 04:46:11 -0700 (PDT) Received: from atlantis.dyndns.org (athedsl-287614.home.otenet.gr [85.73.171.28]) by mx.google.com with ESMTPS id j9sm28055732mue.3.2008.10.08.04.46.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 08 Oct 2008 04:46:10 -0700 (PDT) Message-ID: <48EC9D80.50704@gmail.com> Date: Wed, 08 Oct 2008 14:46:08 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.16 (X11/20080829) MIME-Version: 1.0 To: Laszlo Nagy References: <48EC63A2.7000706@shopzeus.com> In-Reply-To: <48EC63A2.7000706@shopzeus.com> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: GEOM_JOURNAL: Timeout. Journal gjournal XXXX cannot be completed. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 11:46:14 -0000 Laszlo Nagy wrote: > Hi, > > I'm trying to add a new disk to my system. I'm ready with labeling the > disk. It is an SCSI device with and UFS partition and a SWAP > partition. The swap is turned off, and I would like to use it as > journal space. There is a screenshot attached showing what happens > after entering single user mode. swaps are turned off, and the journal > cannot be initialized. The message says: > > GEOM_JOURNAL: Timeout. Journal gjournal 2578807269 cannot be completed. > > Why is that? > > Thanks, > > Laszlo > Screenshots will not come through on the list, could you upload them somewhere and send a link? Is the partition you are trying to journal mounted? From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 12:21:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE2DF106569C for ; Wed, 8 Oct 2008 12:21:39 +0000 (UTC) (envelope-from gpbuono@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.171]) by mx1.freebsd.org (Postfix) with ESMTP id 8832D8FC20 for ; Wed, 8 Oct 2008 12:21:39 +0000 (UTC) (envelope-from gpbuono@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so3816658wfg.7 for ; Wed, 08 Oct 2008 05:21:38 -0700 (PDT) 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=LLX2p/kasy3XHDPORK2AJNGf+F7aMyaFgc7oLurgC+E=; b=L3i4rK4ZhKlOxmTzRIJX3BXoOchIpYolSb6ZPpNW5hA+tKB4Mo/BkK7uZoDzFDWXQr dRKiD6xVzHhgAwrMbRWD0aJE6Bxz7/13yEvQybhX6e8DqwQAUgjKuxpQ26yuk8bQ6ULw SKzvbtbl+GG7Twz1jUx5G/5Vo+safiSCtq5tE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=RpNksNsoW4Ox/OobKj/RENjOWD+/B1LxeJJiEATZ02g5A5czYXSl5YoMlWXWSukBI9 nonA13M0Y4d9/T7qRDWuhiNHScaY3M2EMJPowrFmCPe0O+3ZicH8Ss+5l5j1m4C0NCfU CwiWU3zM0PAF4s0UrliCkmXKWs7/ISfe6PwNA= Received: by 10.142.165.14 with SMTP id n14mr3395276wfe.51.1223468498882; Wed, 08 Oct 2008 05:21:38 -0700 (PDT) Received: by 10.142.218.9 with HTTP; Wed, 8 Oct 2008 05:21:38 -0700 (PDT) Message-ID: Date: Wed, 8 Oct 2008 14:21:38 +0200 From: "Gian Paolo Buono" 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: mirror disk across network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 12:21:39 -0000 Hi, do you know a metod from mirror a disk or partition across network same drdb for linux ? Bye.,., :) From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 12:25:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DB551065689 for ; Wed, 8 Oct 2008 12:25:06 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 73A6B8FC15 for ; Wed, 8 Oct 2008 12:25:04 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m98COvDE004633; Wed, 8 Oct 2008 14:24:57 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m98COvrp004630; Wed, 8 Oct 2008 14:24:57 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 8 Oct 2008 14:24:57 +0200 (CEST) From: Wojciech Puchar To: Gian Paolo Buono In-Reply-To: Message-ID: <20081008142438.G4623@wojtek.tensor.gdynia.pl> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: mirror disk across network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 12:25:06 -0000 i don't know what's drdb, but man ggated man ggatec On Wed, 8 Oct 2008, Gian Paolo Buono wrote: > Hi, > > do you know a metod from mirror a disk or partition across network same drdb > for linux ? > > Bye.,., :) > _______________________________________________ > 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 Oct 8 12:49:04 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DEC6106568E for ; Wed, 8 Oct 2008 12:49:04 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from viefep15-int.chello.at (viefep18-int.chello.at [213.46.255.22]) by mx1.freebsd.org (Postfix) with ESMTP id 749B08FC17 for ; Wed, 8 Oct 2008 12:49:02 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from edge01.upc.biz ([192.168.13.236]) by viefep15-int.chello.at (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20081008124901.JNBT9167.viefep15-int.chello.at@edge01.upc.biz> for ; Wed, 8 Oct 2008 14:49:01 +0200 Received: from [192.168.2.175] ([89.134.231.52]) by edge01.upc.biz with edge id QCoy1a09o18VCLh01Cp0Tf; Wed, 08 Oct 2008 14:49:01 +0200 X-SourceIP: 89.134.231.52 Message-ID: <48ECACB4.8080103@shopzeus.com> Date: Wed, 08 Oct 2008 14:51:00 +0200 From: Laszlo Nagy User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Subject: php5 segfault X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 12:49:04 -0000 uname -a: FreeBSD shopzeus.com 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #3: Mon Oct 6 07:50:31 EDT 2008 gandalf@shopzeus.chello.hu:/usr/obj/usr/src/sys/SHOPZEUS amd64 when compiling /usr/ports/php5 I see messages like: bin/sh /usr/ports/lang/php5/work/php-5.2.6/libtool --silent --preserve-dup-deps --mode=compile cc -IZend/ -I/usr/ports/lang/php5/work/php-5.2.6/Zend/ -DPHP_ATOM_INC -I/usr/ports/lang/php5/work/php-5.2.6/include -I/usr/ports/lang/php5/work/php-5.2.6/main -I/usr/ports/lang/php5/work/php-5.2.6 -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/ports/lang/php5/work/php-5.2.6/ext/date/lib -I/usr/ports/lang/php5/work/php-5.2.6/TSRM -I/usr/ports/lang/php5/work/php-5.2.6/Zend -O2 -fno-strict-aliasing -pipe -c /usr/ports/lang/php5/work/php-5.2.6/Zend/zend_API.c -o Zend/zend_API.lo So it is using -O2 and -pipe. Is this something that I can disable? It might be because we are using postgresql connections. For pages without pgsql connection, there is no segfault. It must be noted that the segfault happens on cleanup. E.g. all web sites are working fine, except that we are getting many many segfault messages in the logs all the time. Thanks, Laszlo From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 13:12:50 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F7711065697 for ; Wed, 8 Oct 2008 13:12:50 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA01.emeryville.ca.mail.comcast.net (qmta01.emeryville.ca.mail.comcast.net [76.96.30.16]) by mx1.freebsd.org (Postfix) with ESMTP id 6585F8FC14 for ; Wed, 8 Oct 2008 13:12:50 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA08.emeryville.ca.mail.comcast.net ([76.96.30.12]) by QMTA01.emeryville.ca.mail.comcast.net with comcast id QADn1a0020FhH24A1DCGey; Wed, 08 Oct 2008 13:12:16 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA08.emeryville.ca.mail.comcast.net with comcast id QDCo1a00c2P6wsM8UDCpwb; Wed, 08 Oct 2008 13:12:49 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=JZuKH2X98dxnk6PaD3EA:9 a=UkUxQPdxJthEHoVWRXgA:7 a=BbxKeMMBBiFd_vpqXYG1k9-jlYAA:4 a=yDQxzi2QZewA:10 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id D6CE9C9419; Wed, 8 Oct 2008 06:12:48 -0700 (PDT) Date: Wed, 8 Oct 2008 06:12:48 -0700 From: Jeremy Chadwick To: Laszlo Nagy Message-ID: <20081008131248.GA77388@icarus.home.lan> References: <48ECACB4.8080103@shopzeus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48ECACB4.8080103@shopzeus.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: php5 segfault X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 13:12:50 -0000 On Wed, Oct 08, 2008 at 02:51:00PM +0200, Laszlo Nagy wrote: > uname -a: > > FreeBSD shopzeus.com 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #3: Mon Oct > 6 07:50:31 EDT 2008 > gandalf@shopzeus.chello.hu:/usr/obj/usr/src/sys/SHOPZEUS amd64 > > when compiling /usr/ports/php5 I see messages like: > > bin/sh /usr/ports/lang/php5/work/php-5.2.6/libtool --silent > --preserve-dup-deps --mode=compile cc -IZend/ > -I/usr/ports/lang/php5/work/php-5.2.6/Zend/ -DPHP_ATOM_INC > -I/usr/ports/lang/php5/work/php-5.2.6/include > -I/usr/ports/lang/php5/work/php-5.2.6/main > -I/usr/ports/lang/php5/work/php-5.2.6 -I/usr/local/include/libxml2 > -I/usr/local/include -I/usr/ports/lang/php5/work/php-5.2.6/ext/date/lib > -I/usr/ports/lang/php5/work/php-5.2.6/TSRM > -I/usr/ports/lang/php5/work/php-5.2.6/Zend -O2 -fno-strict-aliasing > -pipe -c /usr/ports/lang/php5/work/php-5.2.6/Zend/zend_API.c -o > Zend/zend_API.lo > > So it is using -O2 and -pipe. Is this something that I can disable? If you want. "make config" in /usr/ports/lang/php5 will give you a menu option for DEBUG; turn it on. I'm not sure what the compile options you're showing have *anything* to do with the segfault you're reporting. I don't see any backtraces or details of the segfault. > It might be because we are using postgresql connections. For pages without > pgsql connection, there is no segfault. I've personally used PHP5 (as a CGI only, not as an Apache module) with PostgreSQL and experienced no segfaults. > It must be noted that the segfault happens on cleanup. E.g. all web > sites are working fine, except that we are getting many many segfault > messages in the logs all the time. Many people have found that re-ordering the "extensions" lines in /usr/local/etc/php/extensions.ini has solved odd segfaults. I personally have never seen this, nor have ever needed to adjust that file, but it has worked for others. Also, you cannot use a threaded Apache (e.g. threaded MPMs) with PHP since not all extensions support threading. Your Apache needs to be built without threads and use a non-thread model (e.g. prefork). I've also had success with Apache-ITK-mpm. Search the mailing lists for this situation, try the recommendations, and then if nothing fixes it, provide a backtrace. -- | 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 Wed Oct 8 13:23:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85F611065698 for ; Wed, 8 Oct 2008 13:23:28 +0000 (UTC) (envelope-from jdrouard@ankama.com) Received: from bwork.ankama.com (bwork.ankama.com [193.238.148.220]) by mx1.freebsd.org (Postfix) with ESMTP id 895D18FC14 for ; Wed, 8 Oct 2008 13:23:27 +0000 (UTC) (envelope-from jdrouard@ankama.com) Received: from pandore.ankama.com (pandore.ankama.com [193.238.148.218]) by bwork.ankama.com (Postfix) with ESMTP id ABD7328520 for ; Wed, 8 Oct 2008 15:02:00 +0200 (CEST) Received: from Pandore.ankama.com ([193.238.148.218]) by pandore.ankama.com ([193.238.148.218]) with mapi; Wed, 8 Oct 2008 15:02:08 +0200 From: Julien Drouard To: "freebsd-questions@freebsd.org" Date: Wed, 8 Oct 2008 15:02:24 +0200 Thread-Topic: Problem with writes on HD with FreeBSD 7 Thread-Index: AckpRhuW8BHjVwpgRbyD4mwaGW6RFQ== Message-ID: <7AFA66599AC41847AD8E021A1DBB9D1403E32A56D2@pandore.ankama.com> Accept-Language: fr-FR Content-Language: fr-FR X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: fr-FR MIME-Version: 1.0 X-Ankama-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: ABD7328520.26C3F X-Ankama-MailScanner: Found to be clean X-Ankama-MailScanner-From: jdrouard@ankama.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Problem with writes on HD with FreeBSD 7 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 13:23:28 -0000 Hi, Since a few weeks some of our database servers are running under FreeBSD 7 = and we have noticed that writes on HD take a lot of time. To confirm our im= pression we ran sysbench. The results are the following : * Under FreeBSD 7 : Random write : Operations performed: 0 Read, 10000 Write, 12800 Other =3D 22800 Total Read 0b Written 156.25Mb Total transferred 156.25Mb (1.6459Mb/sec) 105.34 Requests/sec executed Test execution summary: total time: 94.9312s total number of events: 10000 total time taken by event execution: 41.1071 per-request statistics: min: 0.0000s avg: 0.0041s max: 0.1653s approx. 95 percentile: 0.0251s * Under FreeBSD 6.2 : random write Operations performed: 0 Read, 10005 Write, 12673 Other =3D 22678 Total Read 0b Written 156.33Mb Total transferred 156.33Mb (10.505Mb/sec) 672.32 Requests/sec executed Test execution summary: total time: 14.8814s total number of events: 10005 total time taken by event execution: 112.2531 per-request statistics: min: 0.0000s avg: 0.0112s max: 0.9868s approx. 95 percentile: 0.0010s The command used for sysbench is : sysbench --num-threads=3D16 --test=3Dfil= eio --file-total-size=3D3G --file-test-mode=3Drndwr run I have found absolutely nothing to explain that differences so if someone c= an help me to solve this problem I would be very grateful. Kind Regards, Julien --=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 Oct 8 13:55:19 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBD9E106569A for ; Wed, 8 Oct 2008 13:55:19 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id BB7358FC2D for ; Wed, 8 Oct 2008 13:55:18 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m98DtDNI005510; Wed, 8 Oct 2008 15:55:13 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m98DtBte005507; Wed, 8 Oct 2008 15:55:12 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 8 Oct 2008 15:55:11 +0200 (CEST) From: Wojciech Puchar To: Craig Butler In-Reply-To: <1223418804.3361.3.camel@main.lerwick.hopto.org> Message-ID: <20081008155450.J5473@wojtek.tensor.gdynia.pl> References: <1223418804.3361.3.camel@main.lerwick.hopto.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions Subject: Re: adding a slice to gmirror instead of a whole disk, will it work? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 13:55:19 -0000 > > Will adding a slice to a gmirror instead of a whole disk work? of course. slice, partition, even remote partition etc. > The slice is big enough to accommodate the old disk. > > Thanks > > Craig B > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 14:38:36 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B666106568B for ; Wed, 8 Oct 2008 14:38:36 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from pih-relay08.plus.net (pih-relay08.plus.net [212.159.14.20]) by mx1.freebsd.org (Postfix) with ESMTP id 373E58FC33 for ; Wed, 8 Oct 2008 14:38:36 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from [84.92.153.232] (helo=kestrel.milibyte.co.uk) by pih-relay08.plus.net with esmtp (Exim) id 1KnaBN-0006bz-If; Wed, 08 Oct 2008 15:38:33 +0100 Received: by kestrel.milibyte.co.uk with local (Exim 4.69) (envelope-from ) id 1KnaBM-0001NE-OH; Wed, 08 Oct 2008 15:38:33 +0100 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Wed, 8 Oct 2008 15:38:32 +0100 User-Agent: KMail/1.9.7 References: <200810011546.29798.jmc-freebsd2@milibyte.co.uk> <20081005083034.1F6E65FC50@mail.asahi-net.or.jp> In-Reply-To: <20081005083034.1F6E65FC50@mail.asahi-net.or.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810081538.32584.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on kestrel.milibyte.co.uk); SAEximRunCond expanded to false X-Plusnet-Relay: 7b68d700937bef66a870a134b649e6ea Cc: WATANABE Kazuhiro Subject: Re: Canon Pixma iP4500 - problem with colours X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 14:38:36 -0000 On Sunday 05 October 2008, WATANABE Kazuhiro wrote: > So you will be able to use Canon iP4500 (and MP610/MP520/iP3500) with > the procedure below. Thanks for the detailed installation instructions for the Pixma iP4500 linux drivers from Canon. I followed the instructions and everything went very smoothly apart from one minor problem. Using rpm2cpio and cpio to extract the files from cnijfilter-ip4500series-2.80-1.i386.rpm resulted in all the directories being created with mode 700. This resulted in "permission denied" errors when piping an ascii test file through a2ps and gs to cifip4500. After setting the directory permissions to 755 everything was fine and I now have a functional printer. The output quality is much better than I could get with the gutenprint driver but the output is limited to 600 dpi so it's nothing like as good as the windows driver in high quality mode. But it is certainly good enough for normal day to day use and I don't mind switching to Windows for the occasional high quality photo print. -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 16:12:02 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3EB01065696 for ; Wed, 8 Oct 2008 16:12:02 +0000 (UTC) (envelope-from cmarshall@ahm-inc.com) Received: from mail.clearvoipcalling.com (ip-66-235-250-52.sterlingnetwork.net [66.235.250.52]) by mx1.freebsd.org (Postfix) with ESMTP id 6B48F8FC1A for ; Wed, 8 Oct 2008 16:12:02 +0000 (UTC) (envelope-from cmarshall@ahm-inc.com) Received: from ip-66-235-250-53.sterlingnetwork.net (ip-66-235-250-53.sterlingnetwork.net [66.235.250.53]) by mail.clearvoipcalling.com (Postfix) with ESMTP id EA5F1119C1D for ; Wed, 8 Oct 2008 08:54:37 -0700 (MST) Message-Id: From: Chad Marshall To: freebsd-questions@FreeBSD.org Content-Type: multipart/mixed; boundary=Apple-Mail-42-360951978 Mime-Version: 1.0 (Apple Message framework v929.2) Date: Wed, 8 Oct 2008 08:54:47 -0700 X-Mailer: Apple Mail (2.929.2) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 16:12:02 -0000 --Apple-Mail-42-360951978 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hello, Would like to share a success story which I'm sure you've had in the past but one of my servers running FreeBSD will have an uptime of 2 years tomorrow. I plan on putting on my blog but as it doesn't have much reach but wanted to share with you since your community has made this possible. Please indicate where I could post this to have a bit more reach or if you'd like to put a link to my blog, I'd be more than happy to provide that. Best Regards, --Apple-Mail-42-360951978 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit --Apple-Mail-42-360951978-- From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 16:21:55 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9EA6F1065687 for ; Wed, 8 Oct 2008 16:21:55 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA06.emeryville.ca.mail.comcast.net (qmta06.emeryville.ca.mail.comcast.net [76.96.30.56]) by mx1.freebsd.org (Postfix) with ESMTP id 8514B8FC1D for ; Wed, 8 Oct 2008 16:21:55 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA11.emeryville.ca.mail.comcast.net ([76.96.30.36]) by QMTA06.emeryville.ca.mail.comcast.net with comcast id QAoa1a0070mlR8UA6GMvq8; Wed, 08 Oct 2008 16:21:55 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA11.emeryville.ca.mail.comcast.net with comcast id QGMu1a0022P6wsM8XGMueK; Wed, 08 Oct 2008 16:21:54 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=tORYEjHdKfnWpnAJntUA:9 a=5sWnacibGE4y6hswES0meoKaq_8A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id CD58CC9419; Wed, 8 Oct 2008 09:21:53 -0700 (PDT) Date: Wed, 8 Oct 2008 09:21:53 -0700 From: Jeremy Chadwick To: Chad Marshall Message-ID: <20081008162153.GA80866@icarus.home.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@FreeBSD.org Subject: Re: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 16:21:55 -0000 On Wed, Oct 08, 2008 at 08:54:47AM -0700, Chad Marshall wrote: > Would like to share a success story which I'm sure you've had in the > past but one of my servers running FreeBSD will have an uptime of 2 > years tomorrow. I plan on putting on my blog but as it doesn't have much > reach but wanted to share with you since your community has made this > possible. Please indicate where I could post this to have a bit more > reach or if you'd like to put a link to my blog, I'd be more than happy > to provide that. I don't want to rain on your parade, but uptime ultimately means squat. I can install FreeBSD on a box under my desk at home, on a UPS, and leave it powered on for the next 30 years -- it tells people absolutely nothing about the reliability of the OS, or what kind of stress it's undergone during that time. Additionally, long uptimes also reflect directly on sysadmins: I take it to mean "the administrator is very lazy". There are security holes (kernel or userland/library-level) which are exploitable on boxes which have been up for that kind of time. I'm also making the assumption that said boxes have Internet connectivity, hence my point. Food for thought. :-) -- | 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 Wed Oct 8 16:41:45 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C11F21065688 for ; Wed, 8 Oct 2008 16:41:45 +0000 (UTC) (envelope-from mihai.dontu@gmail.com) Received: from mail.bitdefender.com (mail.bitdefender.com [91.199.104.2]) by mx1.freebsd.org (Postfix) with ESMTP id AC2E48FC24 for ; Wed, 8 Oct 2008 16:41:44 +0000 (UTC) (envelope-from mihai.dontu@gmail.com) Received: (qmail 8679 invoked by uid 1010); 8 Oct 2008 19:41:40 +0300 Received: from unknown (HELO ?10.10.14.115?) (10.10.14.115) by mail.bitdefender.com with AES256-SHA encrypted SMTP; 8 Oct 2008 19:41:39 +0300 From: Mihai =?utf-8?q?Don=C8=9Bu?= Organization: Home To: freebsd-questions@freebsd.org Date: Wed, 8 Oct 2008 19:41:39 +0300 User-Agent: KMail/1.9.9 References: <20081008162153.GA80866@icarus.home.lan> In-Reply-To: <20081008162153.GA80866@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200810081941.39649.mihai.dontu@gmail.com> X-BitDefender-Scanner: Clean, Agent: BitDefender qmail 3.0.0 on mail.bitdefender.com, sigver: 7.21194 X-BitDefender-Spam: No (0) X-BitDefender-SpamStamp: v1, build 2.6.20.55400, bayes score: 500(0), pbayes score: 0(0), neunet score: 0(0), flags: [VALID_REPLY], total: 0 Cc: Jeremy Chadwick , Chad Marshall Subject: Re: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 16:41:45 -0000 On Wednesday 08 October 2008, Jeremy Chadwick wrote: > On Wed, Oct 08, 2008 at 08:54:47AM -0700, Chad Marshall wrote: > > Would like to share a success story which I'm sure you've had in the > > past but one of my servers running FreeBSD will have an uptime of 2 > > years tomorrow. I plan on putting on my blog but as it doesn't have much > > reach but wanted to share with you since your community has made this > > possible. Please indicate where I could post this to have a bit more > > reach or if you'd like to put a link to my blog, I'd be more than happy > > to provide that. > > I don't want to rain on your parade, but uptime ultimately means squat. > I can install FreeBSD on a box under my desk at home, on a UPS, and > leave it powered on for the next 30 years -- it tells people absolutely > nothing about the reliability of the OS, or what kind of stress it's > undergone during that time. > > Additionally, long uptimes also reflect directly on sysadmins: I take it > to mean "the administrator is very lazy". There are security holes > (kernel or userland/library-level) which are exploitable on boxes which > have been up for that kind of time. I'm also making the assumption that > said boxes have Internet connectivity, hence my point. > > Food for thought. :-) Or to put it mildly and not alienate Chad :), what was the box used for and, if it had Internet connectivity, how were the potential security issues handled within the last two years? A Guy Ritchie kind of story will do just fine. :) -- Mihai DonÈ›u unices.bitdefender.com From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 16:45:44 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFA0C106564A for ; Wed, 8 Oct 2008 16:45:44 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from smtp.mel.people.net.au (smtp.mel.people.net.au [218.214.17.98]) by mx1.freebsd.org (Postfix) with SMTP id 141EA8FC1A for ; Wed, 8 Oct 2008 16:45:43 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: (qmail 25797 invoked from network); 8 Oct 2008 16:45:41 -0000 Received: from unknown (HELO blizzard.dnsalias.org) (218.215.169.35) by smtp.mel.people.net.au with SMTP; 8 Oct 2008 16:45:41 -0000 Received: by blizzard.dnsalias.org (Postfix, from userid 1001) id B35AF17060; Thu, 9 Oct 2008 03:45:40 +1100 (EST) Date: Thu, 9 Oct 2008 03:45:40 +1100 From: andrew clarke To: Jeremy Chadwick Message-ID: <20081008164540.GA78500@ozzmosis.com> References: <20081008162153.GA80866@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081008162153.GA80866@icarus.home.lan> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@FreeBSD.org Subject: Re: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 16:45:44 -0000 On Wed 2008-10-08 09:21:53 UTC-0700, Jeremy Chadwick (koitsu@FreeBSD.org) wrote: > I don't want to rain on your parade, but uptime ultimately means squat. Agreed. > I can install FreeBSD on a box under my desk at home, on a UPS, and > leave it powered on for the next 30 years -- it tells people absolutely > nothing about the reliability of the OS, or what kind of stress it's > undergone during that time. I'd be impressed if an ordinary PC lasted 30 years continuously running. Even if the HDD is solid-state you still have to think about other moving parts, particularly the CPU and PSU cooling fans. I've had a bad run with PSU fans recently. Is FreeBSD 7.1 2038-proof? ;-) http://en.wikipedia.org/wiki/Year_2038_problem (I wonder what version of FreeBSD will be the latest in 2038?) > Additionally, long uptimes also reflect directly on sysadmins: I take it > to mean "the administrator is very lazy". There are security holes > (kernel or userland/library-level) which are exploitable on boxes which > have been up for that kind of time. I'm also making the assumption that > said boxes have Internet connectivity, hence my point. Yes, my initial thought was "what, you don't use freebsd-update?". Regards Andrew From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 17:38:27 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DD7110656BB for ; Wed, 8 Oct 2008 17:38:27 +0000 (UTC) (envelope-from prvs=pauls=160835df0@utdallas.edu) Received: from ip-relay-002.utdallas.edu (ip-relay-002.utdallas.edu [129.110.20.112]) by mx1.freebsd.org (Postfix) with ESMTP id 126ED8FC28 for ; Wed, 8 Oct 2008 17:38:26 +0000 (UTC) (envelope-from prvs=pauls=160835df0@utdallas.edu) X-Group: RELAYLIST X-IronPort-AV: E=Sophos;i="4.33,379,1220245200"; d="scan'208";a="8607526" Received: from smtp3.utdallas.edu ([129.110.20.110]) by ip-relay-002.utdallas.edu with ESMTP; 08 Oct 2008 12:09:40 -0500 Received: from utd65257.utdallas.edu (utd65257.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 ESMTPSA id 4BC388716 for ; Wed, 8 Oct 2008 12:09:40 -0500 (CDT) Date: Wed, 08 Oct 2008 12:09:40 -0500 From: Paul Schmehl To: freebsd-questions@FreeBSD.org Message-ID: <78D99868E4A234797CBB3987@utd65257.utdallas.edu> In-Reply-To: References: X-Mailer: Mulberry/4.0.6 (Linux/x86) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=sha1; protocol="application/pkcs7-signature"; boundary="==========3831DCEABA2D791EA509==========" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 17:38:27 -0000 --==========3831DCEABA2D791EA509========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline --On Wednesday, October 08, 2008 10:54:47 -0500 Chad Marshall=20 wrote: > > > Hello, > > Would like to share a success story which I'm sure you've had in the > past but one of my servers running FreeBSD will have an uptime of 2 > years tomorrow. I plan on putting on my blog but as it doesn't have > much reach but wanted to share with you since your community has made > this possible. Please indicate where I could post this to have a bit > more reach or if you'd like to put a link to my blog, I'd be more than > happy to provide that. > All this means is that you haven't applied any security patches in the past two = years. I don't think it would be wise to advertise that fact on the internet. --=20 Paul Schmehl (pauls@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ --==========3831DCEABA2D791EA509==========-- From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 17:50:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C0F310656A7 for ; Wed, 8 Oct 2008 17:50:09 +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 CFBB98FC18 for ; Wed, 8 Oct 2008 17:50:08 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KndAg-0007Ia-TC for freebsd-questions@freebsd.org; Wed, 08 Oct 2008 17:50:02 +0000 Received: from pool-138-88-129-188.esr.east.verizon.net ([138.88.129.188]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Oct 2008 17:50:02 +0000 Received: from nightrecon by pool-138-88-129-188.esr.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Oct 2008 17:50:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Date: Wed, 08 Oct 2008 13:53:49 -0400 Lines: 72 Message-ID: References: <48ECACB4.8080103@shopzeus.com> <20081008131248.GA77388@icarus.home.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-138-88-129-188.esr.east.verizon.net Sender: news Subject: Re: php5 segfault X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nightrecon@verizon.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 17:50:09 -0000 Jeremy Chadwick wrote: > On Wed, Oct 08, 2008 at 02:51:00PM +0200, Laszlo Nagy wrote: [snip] >> >> So it is using -O2 and -pipe. Is this something that I can disable? > > If you want. "make config" in /usr/ports/lang/php5 will give you a > menu option for DEBUG; turn it on. > > I'm not sure what the compile options you're showing have *anything* to > do with the segfault you're reporting. I don't see any backtraces or > details of the segfault. I've used -pipe -O2 for years and never had it cause me trouble. >> It might be because we are using postgresql connections. For pages >> without pgsql connection, there is no segfault. Still using MySQL so I can't speak to PostgreSQL PHP connectivity. > I've personally used PHP5 (as a CGI only, not as an Apache module) > with PostgreSQL and experienced no segfaults. > >> It must be noted that the segfault happens on cleanup. E.g. all web >> sites are working fine, except that we are getting many many segfault >> messages in the logs all the time. This will inhibit performance. The ones that are failing are having the script(s) restarted. If you can fix this performance will improve. > Many people have found that re-ordering the "extensions" lines in > /usr/local/etc/php/extensions.ini has solved odd segfaults. I > personally have never seen this, nor have ever needed to adjust that > file, but it has worked for others. One quickie shortcut to try as experimentation is to just comment out hash.so in extensions.ini. I have had trouble with this one, ie to the extent Apache wouldn't even start. I've read/heard about the reorder thing too and never needed it. What I suspect is there is a possibility that what happened is people went in after the fact and installed xyz extensions after the first main install after discoverring they forgot or left out something they needed. This results in the line(s) just getting tacked on at the bottom. If they had wiped all PHP and done it again from scratch the list in extensions.ini would then be correct. Only a theory on my part. > Also, you cannot use a threaded Apache (e.g. threaded MPMs) with PHP > since not all extensions support threading. Your Apache needs to be > built without threads and use a non-thread model (e.g. prefork). I've > also had success with Apache-ITK-mpm. This is very true for mod_php, but less so if PHP is run as FastCGI. I am currently running a box at work with the event mpm and mod_fcgid for testing and it seems to be doing well. YMMV > Search the mailing lists for this situation, try the recommendations, > and then if nothing fixes it, provide a backtrace. > The normal default of error_reporting = E_ALL & ~E_NOTICE is present, but if you want it to log to it's own file uncomment ;error_log = filename (or syslog if you prefer). You may need to do a 'touch on the and make it's permissions match those the webserver runs under. If things get really bad take a look at http://www.xdebug.org/ I don't think this really belongs on a production machine (IMHO), but I have used it on my development server. Better as a last ditch effort probably. -Mike From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 17:50:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2579B10656A1 for ; Wed, 8 Oct 2008 17:50:28 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-10.bluehost.com (outbound-mail-10.bluehost.com [69.89.17.210]) by mx1.freebsd.org (Postfix) with SMTP id E38FB8FC22 for ; Wed, 8 Oct 2008 17:50:27 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: (qmail 23480 invoked by uid 0); 8 Oct 2008 17:50:25 -0000 Received: from unknown (HELO box183.bluehost.com) (69.89.25.183) by outboundproxy1.bluehost.com with SMTP; 8 Oct 2008 17:50:25 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Received:Received:Date:From:To:Cc:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=hDsUi2OhLfD0ZZMo+kkL/ITihqIcK7T9Y2OVt4sX5oloAYq6snWXbFIDEti+Qy9KNFljhRO3xJyUhJ9yMtJPrhB0ebEMQCP6+Mu2OsVRiXZikxVq0s8Imzn3zOJEgYTi; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kokopelli.hydra) by box183.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1KndB2-0003QH-Pg; Wed, 08 Oct 2008 11:50:25 -0600 Received: by kokopelli.hydra (sSMTP sendmail emulation); Wed, 8 Oct 2008 11:42:14 -0600 Date: Wed, 8 Oct 2008 11:42:14 -0600 From: Chad Perrin To: Andrew Gould Message-ID: <20081008174214.GA4704@kokopelli.hydra> Mail-Followup-To: Andrew Gould , kenneth hatteland , freebsd-questions@freebsd.org References: <20081007120025.E1003106572D@hub.freebsd.org> <48EB60A3.7090501@kleppnett.no> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0OAP2g/MAC+5xKAE" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Identified-User: {737:box183.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Cc: kenneth hatteland , freebsd-questions@freebsd.org Subject: Re: has anyone actually received a bsdmag ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 17:50:28 -0000 --0OAP2g/MAC+5xKAE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 07, 2008 at 08:43:29AM -0500, Andrew Gould wrote: >=20 > The BSDMag website mentioned that it would be available at Barnes & Noble. > I couldn't find it there; but I found it at Borders bookstores. I've seen a copy at Barnes & Noble, but I'm more concerned about the fact that Craig B subscribed and hasn't received an issue yet. --=20 Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] Common Reformulation of Greenspun's Tenth Rule: Any sufficiently complicated non-Lisp program contains an ad hoc informally-specified bug-ridden slow implementation of half of Common Lisp. --0OAP2g/MAC+5xKAE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjs8PYACgkQ9mn/Pj01uKUnaACcDqJ00TGGZ166OFirw7ZcHRZy cHQAn29sl3PPHsh5wYs0w7iZURN/s7y9 =ID76 -----END PGP SIGNATURE----- --0OAP2g/MAC+5xKAE-- From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 18:21:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D79451065688 for ; Wed, 8 Oct 2008 18:21:03 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from smtp-4.orange.nl (smtp-4.orange.nl [193.252.22.249]) by mx1.freebsd.org (Postfix) with ESMTP id 9B5038FC18 for ; Wed, 8 Oct 2008 18:21:03 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf6304.online.nl (SMTP Server) with ESMTP id C69967000082 for ; Wed, 8 Oct 2008 20:21:01 +0200 (CEST) Received: from [192.168.2.173] (s5590cf7b.adsl.wanadoo.nl [85.144.207.123]) by mwinf6304.online.nl (SMTP Server) with ESMTP id 9222A7000081 for ; Wed, 8 Oct 2008 20:21:01 +0200 (CEST) X-ME-UUID: 20081008182101598.9222A7000081@mwinf6304.online.nl From: Aniruddha To: freebsd-questions@freebsd.org In-Reply-To: <4463o4qe3c.fsf@be-well.ilk.org> References: <1223412136.3966.10.camel@debian> <4463o4qe3c.fsf@be-well.ilk.org> Content-Type: text/plain Date: Wed, 08 Oct 2008 20:21:12 +0200 Message-Id: <1223490072.3978.3.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Subject: Re: Can't get soundcard to work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 18:21:03 -0000 On Tue, 2008-10-07 at 17:39 -0400, Lowell Gilbert wrote: > Aniruddha writes: > > cat dmesg > /dev/dsp > >> su: /dev/dsp: Operation not supported > > > > from pciconf: > >> pcm1@pci0:0:27:0: class=0x040300 card=0x81d81043 chip=0x27d88086 rev=0x01 hdr=0x00 > >> vendor = 'Intel Corporation' > >> device = '82801G (ICH7 Family) High Definition Audio' > >> class = multimedia > > > >> vgapci0@pci0:5:0:0: class=0x030000 card=0xe630174b chip=0x95051002 rev=0x00 hdr=0x00 > >> vendor = 'ATI Technologies Inc' > >> class = display > >> subclass = VGA > >> pcm0@pci0:5:0:1: class=0x040300 card=0xaa18174b chip=0xaa181002 rev=0x00 hdr=0x00 > >> vendor = 'ATI Technologies Inc' > >> class = multimedia > > I think you will need a somewhat recent FreeBSD to support that > controller. What version are you running? > > What drivers have you loaded? snd_driver? > Maybe it's related to my HDMI capable ATI card. Could this interfere? I also tried adding snd_driver_load="YES" to /boot/loader.conf but this didn't help either :( -- Regards, Aniruddha From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 18:37:30 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4484A106568B for ; Wed, 8 Oct 2008 18:37:30 +0000 (UTC) (envelope-from andrewlylegould@gmail.com) Received: from gv-out-0910.google.com (gv-out-0910.google.com [216.239.58.187]) by mx1.freebsd.org (Postfix) with ESMTP id C12448FC2B for ; Wed, 8 Oct 2008 18:37:29 +0000 (UTC) (envelope-from andrewlylegould@gmail.com) Received: by gv-out-0910.google.com with SMTP id n8so630445gve.39 for ; Wed, 08 Oct 2008 11:37:28 -0700 (PDT) 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=WbFcN4M1DyORuqkZAioZnJNHessOCoIbiZF56D8P0pw=; b=TRJW6MHCf727LoNHuYlfEinqqiC+bdH2p6WexGAi7OCmyHYoJhwLjLEPnA7OLQ5LuS vRRqmahdbVl1eypWfsH+am4MvTMEthrLso9RLkDQSSYCXN0iEojPbJNxdWXHIJN3NUY4 Ics+nSQLMHOLd4J8sFoj4SP9aWVwbxGT+rx14= 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=fBJ71JD1Q/pTSeNgJCtrEnaB1T9tdafv55vs6JQZUElX7qepeszUU3EEd+7KSyzlxN CDq51GideRJ1LlX3VZowWzTvX1Qr+ic+VyAnMh7FiZgvfDvu0R0bRzRu01wu6Pdxv695 FbgXHS0Sa32D6wa0SjZyI45l41IvcWJWhiIws= Received: by 10.103.229.12 with SMTP id g12mr4659772mur.6.1223491048232; Wed, 08 Oct 2008 11:37:28 -0700 (PDT) Received: by 10.103.240.10 with HTTP; Wed, 8 Oct 2008 11:37:28 -0700 (PDT) Message-ID: Date: Wed, 8 Oct 2008 13:37:28 -0500 From: "Andrew Gould" To: "Andrew Gould" , "kenneth hatteland" , freebsd-questions@freebsd.org In-Reply-To: <20081008174214.GA4704@kokopelli.hydra> MIME-Version: 1.0 References: <20081007120025.E1003106572D@hub.freebsd.org> <48EB60A3.7090501@kleppnett.no> <20081008174214.GA4704@kokopelli.hydra> 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: has anyone actually received a bsdmag ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 18:37:30 -0000 On Wed, Oct 8, 2008 at 12:42 PM, Chad Perrin wrote: > On Tue, Oct 07, 2008 at 08:43:29AM -0500, Andrew Gould wrote: > > > > The BSDMag website mentioned that it would be available at Barnes & > Noble. > > I couldn't find it there; but I found it at Borders bookstores. > > I've seen a copy at Barnes & Noble, but I'm more concerned about the fact > that Craig B subscribed and hasn't received an issue yet. > The observation was not intended as a solution. BSDMag has responded 'on list' -- it appeared in my email as a separate thread. Andrew From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 18:44:15 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78D781065696 for ; Wed, 8 Oct 2008 18:44:15 +0000 (UTC) (envelope-from eitanadlerlist@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.224]) by mx1.freebsd.org (Postfix) with ESMTP id 467938FC21 for ; Wed, 8 Oct 2008 18:44:15 +0000 (UTC) (envelope-from eitanadlerlist@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so4050274rvf.43 for ; Wed, 08 Oct 2008 11:44:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding:from; bh=+0SSg2x618xkRaQ0KpJAIZ2PEH+fB1x4pBjDxftUJtQ=; b=T1bVm0RJK6Dhp5Xjk00sIxaaQNhr/uLdhaiQIZuquUKhLG4tUnEElh29nSHai4hpCN xO8xvp/UJsrGzKxUcQPAxO0QmYuQlrGr2qxWjH9K4+RbehrofVH4NxJynIpl0UoSgKoC y6d0M67KAJfItG3yLRnFNyem4/iQKoL4dZ8EY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:user-agent:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding:from; b=LN07MDMOihSm/Xga1EeCCdw+lV9zc4m4h0rEMYg74C655YDviLl6UA2AN+thElsKP6 TCPz724VQhpGnhsijPJO0cIe/X8fyeBgd+1EZMPyChmRRbuYirKbzaqczjnfD1dv1k1F rMp+UZ7NLGHw5K/FVqcXogeBaLps9enVluaJE= Received: by 10.141.197.14 with SMTP id z14mr5262145rvp.283.1223489805280; Wed, 08 Oct 2008 11:16:45 -0700 (PDT) Received: from ?192.168.1.101? (ool-182d26f3.dyn.optonline.net [24.45.38.243]) by mx.google.com with ESMTPS id c20sm29335787rvf.3.2008.10.08.11.16.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 08 Oct 2008 11:16:44 -0700 (PDT) Message-ID: <48ECF908.5080100@gmail.com> Date: Wed, 08 Oct 2008 14:16:40 -0400 User-Agent: Mozilla (X11; U; FreeBSD i386; en-US; ) Gecko Thunderbird Mnenhy/0.7.5.666 MIME-Version: 1.0 To: andrew clarke References: <20081008162153.GA80866@icarus.home.lan> <20081008164540.GA78500@ozzmosis.com> In-Reply-To: <20081008164540.GA78500@ozzmosis.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit From: Eitan Adler Cc: Jeremy Chadwick , freebsd-questions@FreeBSD.org Subject: Re: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 18:44:15 -0000 andrew clarke wrote: > > Is FreeBSD 7.1 2038-proof? ;-) > As far as I know the amd64 version is (anyone care to verify/correct?) -- GNU Key fingerptrint: 2E13 BC16 5F54 0FBD 62ED 42B6 B65F 24AB E9C2 CCD1 From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 19:11:02 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 125D61065765; Wed, 8 Oct 2008 19:11:01 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id EC2A98FC20; Wed, 8 Oct 2008 19:10:57 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m98JAd6H057756; Wed, 8 Oct 2008 15:10:51 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: =?gb2312?q?=C7=F1=BD=A3?= Date: Wed, 8 Oct 2008 11:16:10 -0400 User-Agent: KMail/1.9.7 References: <000a01c9291a$b81fa560$01000001@china.huawei.com> In-Reply-To: <000a01c9291a$b81fa560$01000001@china.huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200810081116.10298.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Wed, 08 Oct 2008 15:10:51 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/8395/Wed Oct 8 12:44:51 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.1 required=4.2 tests=BAYES_00, DATE_IN_PAST_03_06, NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: freebsd-net@freebsd.org, freebsd-questions@freebsd.org, freebsd-threads@freebsd.org Subject: Re: kernel profiling: spinlock_exit consumes 36% CPU time. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 19:11:02 -0000 On Wednesday 08 October 2008 03:51:48 am =C7=F1=BD=A3 wrote: > Many thanks for the information. >=20 > Could we say that interrupt handlers consumed ~36% execution time? >=20 > Is this number too high? Is it possible that we abuse the use of critical > sections in kernel? I think whether or not it is high depends on the workload. =2D-=20 John Baldwin From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 19:16:22 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65138106568E for ; Wed, 8 Oct 2008 19:16:22 +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 A4C018FC17 for ; Wed, 8 Oct 2008 19:16:21 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (adsl58-6.kln.forthnet.gr [77.49.185.6]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id m98JG4DI029253 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 8 Oct 2008 22:16:11 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id m98JG4LB059287; Wed, 8 Oct 2008 22:16:04 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id m98JG2Nl059280; Wed, 8 Oct 2008 22:16:02 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Kalpin Erlangga Silaen References: <48EC410C.2030707@muliahost.com> Date: Wed, 08 Oct 2008 22:16:02 +0300 In-Reply-To: <48EC410C.2030707@muliahost.com> (Kalpin Erlangga Silaen's message of "Wed, 08 Oct 2008 12:11:40 +0700") Message-ID: <87wsgidhjh.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: m98JG4DI029253 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.855, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.54, 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 on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 19:16:22 -0000 On Wed, 08 Oct 2008 12:11:40 +0700, Kalpin Erlangga Silaen wrote: > Dear all, > > I am going to extract field username and UID from /etc/passwd and > passed into some scripts. Let say I got line > > admin 100 > admin2 200 > admin3 300 > admin4 400 > > and then I want to echoing into screen: > > admin has uid 100 > admin2 has uid 200 > admin3 has uid 300 > admin4 has uid 400 > > How do I make this with bash script? You don't really need bash for this. Here's a sample awk script that should work: % cat -n /tmp/userlist.awk 1 #!/usr/bin/awk -f 2 3 { 4 print $1,"has uid",$2; 5 } % chmod 0755 /tmp/userlist.awk % cat /tmp/user-data admin 100 admin2 200 admin3 300 admin4 400 % /tmp/userlist.awk < /tmp/user-data admin has uid 100 admin2 has uid 200 admin3 has uid 300 admin4 has uid 400 % From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 19:27:17 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C84011065693 for ; Wed, 8 Oct 2008 19:27:17 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 47FDB8FC2F for ; Wed, 8 Oct 2008 19:27:17 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id m98JR9mM039848; Wed, 8 Oct 2008 20:27:11 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk m98JR9mM039848 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1223494031; bh=zr6Zk86yBmDACZ mdmotPd+aC9q0Cv+T7mvlTwo1JIHA=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type:Cc:Content-Type: Date:From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Mes sage-ID:=20<48ED0986.6060100@infracaninophile.co.uk>|Date:=20Wed,=2 008=20Oct=202008=2020:27:02=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.17=20(X11/20080929)|MIME-Version:=201 .0|To:=20Zbigniew=20Szalbot=20|CC:=20freebsd-qu estions=20|Subject:=20Re:=20mysql=20 binlogs=20and=20their=20expiry=20times|References:=20<94136a2c08100 72248t7143c6am7b5740a7d770317d@mail.gmail.com>|In-Reply-To:=20<9413 6a2c0810072248t7143c6am7b5740a7d770317d@mail.gmail.com>|X-Enigmail- Version:=200.95.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpg p-sha256=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A =20boundary=3D"------------enig3D648B285B5C3CF334AD6FD7"; b=gWW5xOj XCjw8notaaoNFHjhKYzR3DSicFQOBLcWT2zb4C9rT0NFmUNyjwLiVdqMBf1t9/u2YZ+ BGRpxlI7dxAR8DIcIYippyTupNVBg/OPyIM3b76A/yB5Y/GaAyOt9k8DBzFsprzJmP8 iDiD2UXE+EYN5/R8eityOot42cIhFs= Message-ID: <48ED0986.6060100@infracaninophile.co.uk> Date: Wed, 08 Oct 2008 20:27:02 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.17 (X11/20080929) MIME-Version: 1.0 To: Zbigniew Szalbot References: <94136a2c0810072248t7143c6am7b5740a7d770317d@mail.gmail.com> In-Reply-To: <94136a2c0810072248t7143c6am7b5740a7d770317d@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig3D648B285B5C3CF334AD6FD7" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Wed, 08 Oct 2008 20:27:11 +0100 (BST) X-Virus-Scanned: ClamAV 0.94/8395/Wed Oct 8 17:44:51 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions Subject: Re: mysql binlogs and their expiry times X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 19:27:18 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3D648B285B5C3CF334AD6FD7 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Zbigniew Szalbot wrote: > Hi there, >=20 > I hope someone can help. Due to they way my HD has been sliced I had > to move mysql database to /usr/local/mysql. All works fine. Last week > I added this entry >=20 > #expire bin logs > expire_logs_days =3D 7 >=20 > to /usr/local/mysql/my.cnf >=20 > I restarted the MySQL server and now I have been waiting for the > binlogs to automatically expire but this is not happening: >=20 > $ ls -l /usr/local/mysql >=20 > -r--r--r-- 1 mysql mysql 4954 Oct 1 07:30 my.cnf > drwx------ 2 mysql mysql 1536 Sep 27 07:10 mysql > -rw-rw---- 1 mysql mysql 1073745213 Sep 2 04:07 mysql-bin.000047 > -rw-rw---- 1 mysql mysql 1073746878 Sep 7 03:48 mysql-bin.000048 > -rw-rw---- 1 mysql mysql 1073745707 Sep 11 20:07 mysql-bin.000049 > -rw-rw---- 1 mysql mysql 175527890 Sep 12 08:32 mysql-bin.000050 > -rw-rw---- 1 mysql mysql 128272 Sep 12 08:40 mysql-bin.000051 > -rw-rw---- 1 mysql mysql 1073745119 Sep 17 04:35 mysql-bin.000052 > -rw-rw---- 1 mysql mysql 1073747657 Sep 22 04:26 mysql-bin.000053 > -rw-rw---- 1 mysql mysql 1073744456 Sep 27 03:28 mysql-bin.000054 > -rw-rw---- 1 mysql mysql 986782722 Oct 1 07:32 mysql-bin.000055 > -rw-rw---- 1 mysql mysql 1073742442 Oct 6 04:18 mysql-bin.000056 > -rw-rw---- 1 mysql mysql 536487381 Oct 8 07:45 mysql-bin.000057 > -rw-r----- 1 mysql mysql 209 Oct 6 04:18 mysql-bin.index >=20 > Do you have any idea why? Or if /usr/local/mysql/ is a correct > location for my.cnf file? Perhaphs it should go to /usr/local/etc/ ? >=20 > If it matters, I use > $ pkg_info -Ix mysql-s > mysql-server-5.0.67 Multithreaded SQL database (server) > from ports. >=20 What's the output from running this SQL: "SHOW BINARY LOGS ;" ? MySQL can get confused if you physically move the data directory -- especially if you set the logging directory explicitly in my.cnf=20 rather than just accepting the default location. Look at the mysql-bin.index file -- it's pure ascii text -- and it should list all the known binlog file names. If what you have doesn't= correspond with reality, then stop the mysql process, edit that index file back into sanity and restart mysql. Easy. Cheers, Matthew =09 --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig3D648B285B5C3CF334AD6FD7 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.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkjtCY0ACgkQ8Mjk52CukIzzhwCfeQeXf4vR03Yn1hiXvwXoGJve wBAAn2MrI7ggcs9kk1RsAb9ygGQs3NNK =BND6 -----END PGP SIGNATURE----- --------------enig3D648B285B5C3CF334AD6FD7-- From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 19:29:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4869106568B for ; Wed, 8 Oct 2008 19:29:09 +0000 (UTC) (envelope-from mikesw@adhost.com) Received: from mail-defer01.adhost.com (mail-defer01.adhost.com [216.211.128.176]) by mx1.freebsd.org (Postfix) with ESMTP id A72BC8FC14 for ; Wed, 8 Oct 2008 19:29:09 +0000 (UTC) (envelope-from mikesw@adhost.com) Received: from mail-in06.adhost.com (mail-in06.adhost.com [10.212.3.16]) by mail-defer01.adhost.com (Postfix) with ESMTP id C238811290 for ; Wed, 8 Oct 2008 12:12:48 -0700 (PDT) (envelope-from mikesw@adhost.com) Received: from ad-exh01.adhost.lan (exchange.adhost.com [216.211.143.69]) by mail-in06.adhost.com (Postfix) with ESMTP id 5A3F2164851 for ; Wed, 8 Oct 2008 12:12:48 -0700 (PDT) (envelope-from mikesw@adhost.com) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Wed, 8 Oct 2008 12:12:47 -0700 Message-ID: <17838240D9A5544AAA5FF95F8D52031604BE314F@ad-exh01.adhost.lan> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Unexpected PF Round Robin Behavior Thread-Index: Ackpedl3mgUrsrDrTsqs/kLfjF1E7w== From: "Mike Sweetser - Adhost" To: Subject: Unexpected PF Round Robin Behavior X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 19:29:09 -0000 Hello: We're noticing some unexpected behavior regarding load balancing with our FreeBSD 6.2 server running PF. We have a pool set up for a two-server cluster: table persist { \ 192.168.1.183 \ 192.168.2.183 \ } web_183_ext=3D"xxx.xxx.xxx.183" And the following rdr rule to handle it: rdr on ! $vlanX_if proto { udp tcp } from any to $web_183_ext port { 80 443 } -> round-robin sticky-address It's working - too well. We're noticing that it's round-robining not only based on the IP address, but the port as well - connections from the same machine to ports 80 and 443 are hitting different servers: self tcp 192.168.1.183:80 <- xxx.xxx.xxx.183:80 <- yyy.yyy.yyy.80:53601 FIN_WAIT_2:FIN_WAIT_2 self tcp 192.168.1.183:80 <- xxx.xxx.xxx.183:80 <- yyy.yyy.yyy.80:53602 FIN_WAIT_2:FIN_WAIT_2 self tcp 192.168.1.183:80 <- xxx.xxx.xxx.183:80 <- yyy.yyy.yyy.80:53603 ESTABLISHED:ESTABLISHED self tcp 192.168.2.183:443 <- xxx.xxx.xxx.183:443 <- yyy.yyy.yyy.80:53604 FIN_WAIT_2:FIN_WAIT_2 self tcp 192.168.2.183:443 <- xxx.xxx.xxx.183:443 <- yyy.yyy.yyy.80:53605 ESTABLISHED:ESTABLISHED Is there any way to set this so that a given client IP will hit the same server in the pool, regardless of port? =20 Thank You, Mike Sweetser -------------------------- Mike Sweetser | Systems Administrator Adhost Internet 140 Fourth Avenue North, Suite 360, Seattle, Washington 98109 USA P 206.404.9000 T 888.234.6781 (ADHOST-1) F 206.404.9050 W adhost.com Our brand new Adhost West data center is open - contact us for a tour at 1-888-234-6781 (ADHOST-1) From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 19:32:40 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7321B106569B; Wed, 8 Oct 2008 19:32:40 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from fallbackmx10.syd.optusnet.com.au (fallbackmx10.syd.optusnet.com.au [211.29.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id 044E18FC13; Wed, 8 Oct 2008 19:32:39 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail05.syd.optusnet.com.au (mail05.syd.optusnet.com.au [211.29.132.186]) by fallbackmx10.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m98C9SS1004217; Wed, 8 Oct 2008 23:09:28 +1100 Received: from c211-30-84-14.carlnfd3.nsw.optusnet.com.au (c211-30-84-14.carlnfd3.nsw.optusnet.com.au [211.30.84.14]) by mail05.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m98C9OVj014049 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 8 Oct 2008 23:09:26 +1100 Date: Wed, 8 Oct 2008 22:09:24 +1000 (EST) From: Bruce Evans X-X-Sender: bde@delplex.bde.org To: John Baldwin In-Reply-To: <200810070938.04673.jhb@freebsd.org> Message-ID: <20081008210104.S20625@delplex.bde.org> References: <004001c92871$fdec0a10$01000001@china.huawei.com> <200810070938.04673.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-242184313-1223467764=:20625" Cc: =?gb2312?q?=C7=F1=BD=A3?= , freebsd-net@freebsd.org, freebsd-questions@freebsd.org, freebsd-threads@freebsd.org Subject: Re: kernel profiling: spinlock_exit consumes 36% CPU time. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 19:32:40 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-242184313-1223467764=:20625 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Tue, 7 Oct 2008, John Baldwin wrote: > On Tuesday 07 October 2008 07:44:00 am =C7=F1=BD=A3 wrote: >> Hi, folks, >> >> I did kernel profiling when a single thread client sends UDP packets to = a >> single thread server on the same machine. >> >> In the output kernel profile, the first few kernel functions that consum= es >> the most CPU time are listed below: >> >> granularity: each sample hit covers 16 byte(s) for 0.01% of 25.68 second= s >> >> % cumulative self self total >> time seconds seconds calls ms/call ms/call name >> 42.4 10.88 10.88 0 100.00% __mcount [1] >> 36.1 20.14 9.26 17937541 0.00 0.00 spinlock_exit [4] >> 4.2 21.22 1.08 3145728 0.00 0.00 in_cksum_skip [40] >> 1.8 21.68 0.45 7351987 0.00 0.00 generic_copyin [43= ] >> 1.1 21.96 0.29 3146028 0.00 0.00 generic_copyout [4= 8] >> 1.0 22.21 0.24 2108904 0.00 0.00 Xint0x80_syscall [= 3] >> 0.8 22.42 0.21 6292131 0.00 0.00 uma_zalloc_arg [46= ] >> 0.8 22.62 0.20 1048576 0.00 0.00 soreceive_generic = [9] >> >> It is very strange that spinlock_exit consumes over 36% CPU time while i= t >> seems a very simple function. > > It's because the intr_restore() re-enables interrupts and the resulting t= ime > spent executing the handlers for any pending interrupts are attributed to > spinlock_exit(). This is one of many defects that are not present in high resolution kernel profiling (kgmon -B instead of kgmon -b; availaible on amd64 and i386). However, high resolution kernel profiling doesn't work right with SMP, and was completely broken by gcc-4. Ordinary profiling was less completely broken by gcc-4, and you can recover the old behaviour by turning off new optimizations (mainly -funit-at-a-time and/or -finline-functions-called-once and or all of -O2). Bruce --0-242184313-1223467764=:20625-- From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 19:42:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE6481065690 for ; Wed, 8 Oct 2008 19:42:58 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.103.93]) by mx1.freebsd.org (Postfix) with ESMTP id 6A5FA8FC08 for ; Wed, 8 Oct 2008 19:42:58 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.14.2/8.13.8) with ESMTP id m98JgvvH006080 for ; Wed, 8 Oct 2008 14:42:57 -0500 (CDT) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <200810081942.m98JgvvH006080@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org Date: Wed, 08 Oct 2008 14:42:57 -0500 From: Martin McCormick Subject: Can an Account be Locked out for ssh but allow su? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 19:42:58 -0000 Is there a way to configure an account such that one can su - this-account from another login on the system, but not ssh directly in to it from the outside, similar to the way root works if you set the terminal type in /etc/ttys to insecure? The idea is to make a common place for group projects but know who logged in and su'd in to this common space. We don't care if they logged in as themselves via ssh but we do care if they log in as this common user because we then don't know who accidentally deleted all the files or whatever accident one can imagine. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 19:50:54 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8336B106568A for ; Wed, 8 Oct 2008 19:50:54 +0000 (UTC) (envelope-from fcondo@quinn.com) Received: from sushi.quinn.com (sushi.quinn.com [216.27.181.95]) by mx1.freebsd.org (Postfix) with ESMTP id 544168FC14 for ; Wed, 8 Oct 2008 19:50:54 +0000 (UTC) (envelope-from fcondo@quinn.com) Received: from earth-pea.quinn.com (sashimi.quinn.com [216.27.181.11]) (authenticated bits=0) by sushi.quinn.com (8.14.2/8.14.2) with ESMTP id m98Jorp9033025 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 8 Oct 2008 12:50:53 -0700 (PDT) (envelope-from fcondo@quinn.com) Message-Id: From: Fred Condo To: nightrecon@verizon.net 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 v929.2) Date: Wed, 8 Oct 2008 12:50:53 -0700 References: <48ECACB4.8080103@shopzeus.com> <20081008131248.GA77388@icarus.home.lan> X-Mailer: Apple Mail (2.929.2) Cc: freebsd-questions@freebsd.org Subject: Re: php5 segfault X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 19:50:54 -0000 On Oct 8, 2008, at 10:53 AM, Michael Powell wrote: > Jeremy Chadwick wrote: > >> On Wed, Oct 08, 2008 at 02:51:00PM +0200, Laszlo Nagy wrote: > [snip] >>> >>> So it is using -O2 and -pipe. Is this something that I can disable? >> >> If you want. "make config" in /usr/ports/lang/php5 will give you a >> menu option for DEBUG; turn it on. >> >> I'm not sure what the compile options you're showing have >> *anything* to >> do with the segfault you're reporting. I don't see any backtraces or >> details of the segfault. > > I've used -pipe -O2 for years and never had it cause me trouble. > >>> It might be because we are using postgresql connections. For pages >>> without pgsql connection, there is no segfault. > > Still using MySQL so I can't speak to PostgreSQL PHP connectivity. > >> I've personally used PHP5 (as a CGI only, not as an Apache module) >> with PostgreSQL and experienced no segfaults. >> >>> It must be noted that the segfault happens on cleanup. E.g. all web >>> sites are working fine, except that we are getting many many >>> segfault >>> messages in the logs all the time. > > This will inhibit performance. The ones that are failing are having > the > script(s) restarted. If you can fix this performance will improve. > >> Many people have found that re-ordering the "extensions" lines in >> /usr/local/etc/php/extensions.ini has solved odd segfaults. I >> personally have never seen this, nor have ever needed to adjust that >> file, but it has worked for others. > > One quickie shortcut to try as experimentation is to just comment out > hash.so in extensions.ini. I have had trouble with this one, ie to the > extent Apache wouldn't even start. > > I've read/heard about the reorder thing too and never needed it. > What I > suspect is there is a possibility that what happened is people went in > after the fact and installed xyz extensions after the first main > install > after discoverring they forgot or left out something they needed. This > results in the line(s) just getting tacked on at the bottom. If they > had > wiped all PHP and done it again from scratch the list in > extensions.ini > would then be correct. Only a theory on my part. > >> Also, you cannot use a threaded Apache (e.g. threaded MPMs) with PHP >> since not all extensions support threading. Your Apache needs to be >> built without threads and use a non-thread model (e.g. prefork). >> I've >> also had success with Apache-ITK-mpm. > > This is very true for mod_php, but less so if PHP is run as FastCGI. > I am > currently running a box at work with the event mpm and mod_fcgid for > testing and it seems to be doing well. YMMV > >> Search the mailing lists for this situation, try the recommendations, >> and then if nothing fixes it, provide a backtrace. >> > > The normal default of error_reporting = E_ALL & ~E_NOTICE is > present, but if > you want it to log to it's own file uncomment ;error_log = filename > (or > syslog if you prefer). You may need to do a 'touch on the > and > make it's permissions match those the webserver runs under. > > If things get really bad take a look at http://www.xdebug.org/ > I don't think this really belongs on a production machine (IMHO), > but I have > used it on my development server. Better as a last ditch effort > probably. > > -Mike Have a look at http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround PHP extensions have to be loaded in a particular order to avoid the segfaults at cleanup. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 20:23:04 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 503441065692 for ; Wed, 8 Oct 2008 20:23:04 +0000 (UTC) (envelope-from lists@rhavenn.net) Received: from smtp144.sat.emailsrvr.com (smtp144.sat.emailsrvr.com [66.216.121.144]) by mx1.freebsd.org (Postfix) with ESMTP id 2D6578FC0C for ; Wed, 8 Oct 2008 20:23:03 +0000 (UTC) (envelope-from lists@rhavenn.net) Received: from relay4.relay.sat.mlsrvr.com (localhost [127.0.0.1]) by relay4.relay.sat.mlsrvr.com (SMTP Server) with ESMTP id 1D00127B406; Wed, 8 Oct 2008 16:23:02 -0400 (EDT) Received: by relay4.relay.sat.mlsrvr.com (Authenticated sender: rhavenn-AT-rhavenn.net) with ESMTP id 4551F27B3F3; Wed, 8 Oct 2008 16:23:01 -0400 (EDT) From: Henrik Hudson To: freebsd-questions@freebsd.org Date: Wed, 8 Oct 2008 12:22:57 -0800 User-Agent: KMail/1.10.1 (FreeBSD/7.1-PRERELEASE; KDE/4.1.1; i386; ; ) References: <200810081942.m98JgvvH006080@dc.cis.okstate.edu> In-Reply-To: <200810081942.m98JgvvH006080@dc.cis.okstate.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810081222.58010.lists@rhavenn.net> Cc: Martin McCormick Subject: Re: Can an Account be Locked out for ssh but allow su? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lists@rhavenn.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 20:23:04 -0000 On Wednesday 08 October 2008, Martin McCormick sent a missive stating: > Is there a way to configure an account such that one can > su - this-account from another login on the system, but not ssh > directly in to it from the outside, similar to the way root > works if you set the terminal type in /etc/ttys to insecure? Check the sshd_config man page for AllowUsers and DenyUsers directives. THis should do what you want. Henrik -- Henrik Hudson lists@rhavenn.net ------------------------------ "God, root, what is difference?" Pitr; UF (http://www.userfriendly.org/) From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 20:42:34 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D3B61065687 for ; Wed, 8 Oct 2008 20:42:34 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from smtp-1.orange.nl (smtp-1.orange.nl [193.252.22.241]) by mx1.freebsd.org (Postfix) with ESMTP id 11B788FC16 for ; Wed, 8 Oct 2008 20:42:33 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf6002.online.nl (SMTP Server) with ESMTP id 6A8ED7000089 for ; Wed, 8 Oct 2008 22:42:32 +0200 (CEST) Received: from [192.168.2.173] (s5590cf7b.adsl.wanadoo.nl [85.144.207.123]) by mwinf6002.online.nl (SMTP Server) with ESMTP id 338217000087 for ; Wed, 8 Oct 2008 22:42:32 +0200 (CEST) X-ME-UUID: 20081008204232211.338217000087@mwinf6002.online.nl From: Aniruddha To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Wed, 08 Oct 2008 22:42:43 +0200 Message-Id: <1223498563.3978.19.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Subject: What is a recommended soundcard for 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, 08 Oct 2008 20:42:34 -0000 Because of the problems with my onboard Intel HDA audio chip I plan to buy a soundcard that is supported by FreeBSD. Question is which soundcard has great quality, comes with hardware mixing and is (natively) supported by FreeBSD? The Creative X-fi cards fits in this profile and I see that they are supported by FreeBSD. Who has experience with these cards in FreeBSD? Are they 100% supported? Are there any alternatives? Thanks in advance! -- Regards, Aniruddha From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 20:54:20 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B8221065688 for ; Wed, 8 Oct 2008 20:54:20 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.103.93]) by mx1.freebsd.org (Postfix) with ESMTP id C3EBB8FC1B for ; Wed, 8 Oct 2008 20:54:19 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.14.2/8.13.8) with ESMTP id m98KsJhR018475; Wed, 8 Oct 2008 15:54:19 -0500 (CDT) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <200810082054.m98KsJhR018475@dc.cis.okstate.edu> To: lists@rhavenn.net Date: Wed, 08 Oct 2008 15:54:19 -0500 From: Martin McCormick Cc: freebsd-questions@freebsd.org Subject: Re: Can an Account be Locked out for ssh but allow su? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 20:54:20 -0000 Henrik Hudson writes: > Check the sshd_config man page for AllowUsers and DenyUsers directives. Many thanks. DenyUsers did the trick. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 20:56:51 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92CDA1065697 for ; Wed, 8 Oct 2008 20:56:51 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.191]) by mx1.freebsd.org (Postfix) with ESMTP id D49888FC17 for ; Wed, 8 Oct 2008 20:56:50 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: by ti-out-0910.google.com with SMTP id d27so2740225tid.3 for ; Wed, 08 Oct 2008 13:56:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mime-version:content-type:content-disposition:x-face :x-attribution:x-os-kernel:x-os-version:x-os-architecture:x-uptime :x-url:x-mail-morse:x-openpgp-fingerprint:x-openpgp-id:face :organization:user-agent:sender; bh=BnDPZZQ0E+2lolW32jqL4u2HOHhLgCZRWT5F9U8n3zg=; b=w5cpAJvX7JoIo4FECZ06RDfb5TTyiTXe+QxsONebwfNxoZSZvkW28aUAWzJWZRUKE/ 9cb/r+EASpH0nAS2NaI/iJ6Fw7ULDIWHQziVy4DvhZQMcjlKbRFfcHpwn7TdsotFOytE oeqv2t+yitH/MrU3uHyj/jMrFGqeiZzKJ0m84= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:x-face:x-attribution:x-os-kernel:x-os-version :x-os-architecture:x-uptime:x-url:x-mail-morse:x-openpgp-fingerprint :x-openpgp-id:face:organization:user-agent:sender; b=CRRIIyZuTk34BYQ2+JMrZVvaf1AdxFjf2d5acBJMq8oQ+TkbeZtWaHp1eO37XIJAzF wUnTYfbixagL7j5ExO7NGQs1d+RPh59NqFwhxRXuPyxdEAxxOOBwgxJKhYEazwWQ072q VJh8RrQVltDbqeXAqp61gmcr/55ZMgvRUfvjQ= Received: by 10.110.69.5 with SMTP id r5mr9970094tia.17.1223499409178; Wed, 08 Oct 2008 13:56:49 -0700 (PDT) Received: from chateau.d.lf ([122.163.146.34]) by mx.google.com with ESMTPS id w5sm2291782tib.14.2008.10.08.13.56.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 08 Oct 2008 13:56:47 -0700 (PDT) Date: Thu, 9 Oct 2008 02:27:17 +0530 From: =?utf-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksg==?= Ashish Shukla To: freebsd-ports@freebsd.org, freebsd-questions@freebsd.org Message-ID: <20081008205717.GA51954@chateau.d.lf> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP" Content-Disposition: inline X-Face: )vGQ9yK7Y$Flebu1C>(B\gYBm)[$zfKM+p&TT[[JWl6:]S>cc$%-z7-`46Zf0B*syL.C ]oCq[upTG~zuS0.$"_%)|Q@$hA=9{3l{%u^h3jJ^Zl;t7 X-Attribution: =?utf-8?B?4KSG4KS24KWA4KS3?= X-OS-Kernel: FreeBSD X-OS-Version: 7.0-RELEASE-p5 X-OS-Architecture: amd64 X-Uptime: 2:08AM up 12:29, 8 users, load averages: 0.19, 0.23, 0.20 X-URL: http://wahjava.wordpress.com/ X-Mail-Morse: .-- .- .... .--- .- ...- .- .--.-. --. -- .- .. .-.. .-.-.- -.-. --- -- X-OpenPGP-Fingerprint: 1E00 4679 77E4 F8EE 2E4B 56F2 1F2F 8410 762E 5E74 X-OpenPGP-ID: 762E5E74 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEWpqambm5uHh4d7e3 ttbW1jY2Pe3t4dHR28vLygoKCenp6SkpJOTk7////9/f35+flcgqXsAAACiUlEQVQ4jX XTz0sUURwA8NlOrkS5ZqIzUO6sCTaBMKuYrVCsM7cgyJ066EUMC5KVgnoEHlY7uJTYbn loBilH6TBvL40a5goZqexl/gWHjl72O+hh8dJub1ydH5t9L4/5fvjOe9/H+1J7/wnqZD UBKnYAQNEHYJWeUPLHsUq5BqzSeWTHnQk/QGlhctKw42fZC6Y1jgxDkiTDKHQBeKBUsN N2FJ6Xi0UXDo1dSagCugIeGCd5Esfw0gXT6pGkhC0JaRhN/nH2MI92SH4lygtiYhihid MK0zyMsTqm6jNrIqlAPxyA8TjGmbp06pwgigV0zwFr5heNM+l0OiiIkg/Wh6pArZLdCx 7oHcJVUMjxjC4HKndjWhXkb6TPLbeiJxxSMoGvqSA9Lw6yVx04QGFlyb5zGc8LGysdDu yjF9o6Qr1IUZeHci0N7q+mHza81tmNL3p26daHVJvb4Myrtjc0GsnjrKq/D9x0r+Txs7 5gDgUWZczk2bcP3IpHnJ4JyhRFyY3hzqduHzCbyNalyGVR2VWe3066sMDRVch18/x3cE +13IkpAqn6iBDbfOcCTF2nszLZIxARoh3gwt5IH8PkNTmY3eyO3va8Kzjgd+IaxgoOtf dveWG/J65jEprafu2TB8ySOJCnbWGiaxe8T7RyY3BAVwg08pfmvGA1FXZ3WzFWV7kmH8 Aoy3YeF+Qv+8D8neAUTWMiHG5M+sfgvoJVJsLroRbffABM6yEmEuVa6c++iTJhlGcjAk erarJmBg/JU+dJk83Fk4QznFPdA2HS+lwtQOVIitE4l6wFMrfDcVpZLP8De1b/dp5uhj NgdlvXLp7mvXDUHm4tnwFQGRubcPIeINMAYDpffwFxLwHEb6QJ2wAAAABJRU5ErkJggg == Organization: /\/0/\/3 User-Agent: Mutt/1.5.18 (2008-05-17) Sender: =?UTF-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksiBBc2hpc2ggU2h1a2xh?= Cc: Subject: Ekiga segfaulting with stack overflow X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 20:56:51 -0000 --jRHKVT23PllUwdXP Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all, I'm experiencing following issue with ekiga-2.0.11_4 package. ----8<----8<----- % gdb `which ekiga` GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... (gdb) run Starting program: /usr/local/bin/ekiga=20 [New LWP 100218] [New Thread 0x80a701120 (LWP 100218)] [New Thread 0x80a701400 (LWP 100257)] [New Thread 0x80a701570 (LWP 100258)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x80a701120 (LWP 100218)] 0x0000000808fc4a82 in __opendir2 (name=3D0x80c5ade40 "/dev/ext2fs/", flags= =3D3) at /usr/src/lib/libc/gen/opendir.c:77 77 if (stat(name, &statb) !=3D 0) Current language: auto; currently c (gdb) bt #0 0x0000000808fc4a82 in __opendir2 (name=3D0x80c5ade40 "/dev/ext2fs/", fl= ags=3D3) at /usr/src/lib/libc/gen/opendir.c:77 #1 0x0000000807ca8f27 in PDirectory::Open (this=3D0x7fffffc007b0, ScanMask= =3D511) at osutil.cxx:546 #2 0x000000080aa18b7c in CollectSoundDevices (devdir=3D@0x7fffffc007b0, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:347 #3 0x000000080aa18c4c in CollectSoundDevices (devdir=3D@0x7fffffc00b70, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:354 #4 0x000000080aa18c4c in CollectSoundDevices (devdir=3D@0x7fffffc00f30, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:354 #5 0x000000080aa18c4c in CollectSoundDevices (devdir=3D@0x7fffffc012f0, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:354 #6 0x000000080aa18c4c in CollectSoundDevices (devdir=3D@0x7fffffc016b0, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:354 #7 0x000000080aa18c4c in CollectSoundDevices (devdir=3D@0x7fffffc01a70, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:354 #8 0x000000080aa18c4c in CollectSoundDevices (devdir=3D@0x7fffffc01e30, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:354 #9 0x000000080aa18c4c in CollectSoundDevices (devdir=3D@0x7fffffc021f0, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:354 #10 0x000000080aa18c4c in CollectSoundDevices (devdir=3D@0x7fffffc025b0, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:354 #11 0x000000080aa18c4c in CollectSoundDevices (devdir=3D@0x7fffffc02970, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:354 #12 0x000000080aa18c4c in CollectSoundDevices (devdir=3D@0x7fffffc02d30, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:354 #13 0x000000080aa18c4c in CollectSoundDevices (devdir=3D@0x7fffffc030f0, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:354 #14 0x000000080aa18c4c in CollectSoundDevices (devdir=3D@0x7fffffc034b0, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:354 #15 0x000000080aa18c4c in CollectSoundDevices (devdir=3D@0x7fffffc03870, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:354 #16 0x000000080aa18c4c in CollectSoundDevices (devdir=3D@0x7fffffc03c30, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:354 #17 0x000000080aa18c4c in CollectSoundDevices (devdir=3D@0x7fffffc03ff0, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:354 #18 0x000000080aa18c4c in CollectSoundDevices (devdir=3D@0x7fffffc043b0, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:354 =2E... (gdb) print name $1 =3D 0x80c5addf0 "/dev/ext2fs/" (gdb) print statb $2 =3D {st_dev =3D 0, st_ino =3D 0, st_mode =3D 0, st_nlink =3D 0, st_uid = =3D 0, st_gid =3D 0, st_rdev =3D 0,=20 st_atimespec =3D {tv_sec =3D 0, tv_nsec =3D 0}, st_mtimespec =3D {tv_sec= =3D 0, tv_nsec =3D 0},=20 st_ctimespec =3D {tv_sec =3D 0, tv_nsec =3D 0}, st_size =3D 0, st_blocks= =3D 0, st_blksize =3D 0,=20 st_flags =3D 0, st_gen =3D 0, st_lspare =3D 0, st_birthtimespec =3D {tv_= sec =3D 0, tv_nsec =3D 0}} % ls -l /dev/ext2fs ls: : No such file or directory total 0 crw-r----- 1 root operator 0, 105 Oct 8 13:39 archives crw-r----- 1 root operator 0, 104 Oct 8 13:39 lectures % find /dev/ext2fs/ /dev/ext2fs/ find: /dev/ext2fs/: No such file or directory /dev/ext2fs/lectures /dev/ext2fs/archives % stat /dev/ext2fs 67174144 120 dr-xr-xr-x 3 root wheel 4294967295 512 "Oct 8 13:39:34 2008" = "Oct 8 13:39:34 2008" "Oct 8 13:39:34 2008" "Jan 1 05:29:59 1970" 4096 1= 0 /dev/ext2fs ---->8---->8---- I've also installed Gentoo GNU/Linux on the same box with ext3 partitions. = The=20 partitions which are displayed above are only two of them, other ext3 parti= tions=20 aren't showing up in that directory. And as you can see, there is some inva= lid=20 file also present in that directory which ekiga is not able to figure out. = Any=20 ideas how to fix this issue. Since, I've posted it to both freebsd-questions and freebsd-ports, please= =20 post followups where you think is appropriate place for this. Thanks Ashish Shukla --=20 =C2=B7-- =C2=B7- =C2=B7=C2=B7=C2=B7=C2=B7 =C2=B7--- =C2=B7- =C2=B7=C2=B7=C2= =B7- =C2=B7- =C2=B7--=C2=B7-=C2=B7 --=C2=B7 -- =C2=B7- =C2=B7=C2=B7 =C2=B7-= =C2=B7=C2=B7 =C2=B7-=C2=B7-=C2=B7- -=C2=B7-=C2=B7 --- -- () ascii ribbon campaign - against HTML e-mail /\ www.asciiribbon.org - against proprietary attachments --jRHKVT23PllUwdXP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjtHqsACgkQHy+EEHYuXnR0JwCghzlYLPEYevp+/fmsRF/zAoyq Kr4AnRhzWCD0HKMhMuFYweNhJe6gA65T =9iD8 -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP-- From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 21:08:17 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D94181065693 for ; Wed, 8 Oct 2008 21:08:17 +0000 (UTC) (envelope-from prvs=pschmehl_lists=160fb02ad@tx.rr.com) Received: from ip-relay-002.utdallas.edu (ip-relay-002.utdallas.edu [129.110.20.112]) by mx1.freebsd.org (Postfix) with ESMTP id A61C28FC0C for ; Wed, 8 Oct 2008 21:08:17 +0000 (UTC) (envelope-from prvs=pschmehl_lists=160fb02ad@tx.rr.com) X-Group: RELAYLIST X-IronPort-AV: E=Sophos;i="4.33,380,1220245200"; d="scan'208";a="8620164" Received: from smtp3.utdallas.edu ([129.110.20.110]) by ip-relay-002.utdallas.edu with ESMTP; 08 Oct 2008 15:39:56 -0500 Received: from utd65257.utdallas.edu (utd65257.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 ESMTPSA id D0E868885; Wed, 8 Oct 2008 15:39:56 -0500 (CDT) Date: Wed, 08 Oct 2008 15:39:57 -0500 From: Paul Schmehl To: Giorgos Keramidas , Kalpin Erlangga Silaen Message-ID: <41A5AF34480F0D15F9F490B4@utd65257.utdallas.edu> In-Reply-To: <87wsgidhjh.fsf@kobe.laptop> References: <48EC410C.2030707@muliahost.com> <87wsgidhjh.fsf@kobe.laptop> X-Mailer: Mulberry/4.0.6 (Linux/x86) X-Munged-Reply-To: Figure it out MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-questions@freebsd.org Subject: Re: bash script on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 21:08:17 -0000 --On Wednesday, October 08, 2008 14:16:02 -0500 Giorgos Keramidas wrote: > > On Wed, 08 Oct 2008 12:11:40 +0700, Kalpin Erlangga Silaen > wrote: >> Dear all, >> >> I am going to extract field username and UID from /etc/passwd and >> passed into some scripts. Let say I got line >> >> admin 100 >> admin2 200 >> admin3 300 >> admin4 400 >> >> and then I want to echoing into screen: >> >> admin has uid 100 >> admin2 has uid 200 >> admin3 has uid 300 >> admin4 has uid 400 >> >> How do I make this with bash script? > > You don't really need bash for this. > > Here's a sample awk script that should work: > > % cat -n /tmp/userlist.awk > 1 #!/usr/bin/awk -f > 2 > 3 { > 4 print $1,"has uid",$2; > 5 } > % chmod 0755 /tmp/userlist.awk > % cat /tmp/user-data > admin 100 > admin2 200 > admin3 300 > admin4 400 > % /tmp/userlist.awk < /tmp/user-data > admin has uid 100 > admin2 has uid 200 > admin3 has uid 300 > admin4 has uid 400 > % Sure, but why use an elephant to swat a flea when awk 'FS=":"; {print $1" has uid "$3}' /etc/passwd | sort -k 4 -n works fine and returns the accounts in numerical order? -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* Check the headers before clicking on Reply. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 21:09:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C48A106568B for ; Wed, 8 Oct 2008 21:09:05 +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 DF08C8FC0A for ; Wed, 8 Oct 2008 21:09:04 +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.63) (envelope-from ) id 1KngHD-0000rY-BC; Wed, 08 Oct 2008 22:08:59 +0100 Received: from melon.esperance-linux.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 ESMTP id m98L8wOB025562; Wed, 8 Oct 2008 22:08:58 +0100 Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id 4D68EFCA4AD; Wed, 8 Oct 2008 22:08:53 +0100 (BST) Date: Wed, 8 Oct 2008 22:08:53 +0100 From: Frank Shute To: Aniruddha Message-ID: <20081008210853.GA97002@melon.esperance-linux.co.uk> Mail-Followup-To: Aniruddha , freebsd-questions@freebsd.org References: <1223412136.3966.10.camel@debian> <4463o4qe3c.fsf@be-well.ilk.org> <1223490072.3978.3.camel@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1223490072.3978.3.camel@debian> 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-RELEASE-p2 i386 X-Organisation: 'http://www.shute.org.uk/' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (zetnet.co.uk [194.247.46.1]); Wed, 08 Oct 2008 22:08:59 +0100 (BST) Cc: freebsd-questions@freebsd.org Subject: Re: Can't get soundcard to work 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: Wed, 08 Oct 2008 21:09:05 -0000 On Wed, Oct 08, 2008 at 08:21:12PM +0200, Aniruddha wrote: > > On Tue, 2008-10-07 at 17:39 -0400, Lowell Gilbert wrote: > > Aniruddha writes: > > > cat dmesg > /dev/dsp > > >> su: /dev/dsp: Operation not supported This is a weird error message. Don't know whether /dev/dsp exists or not - worth checking. > > > > > > from pciconf: > > >> pcm1@pci0:0:27:0: class=0x040300 card=0x81d81043 chip=0x27d88086 rev=0x01 hdr=0x00 > > >> vendor = 'Intel Corporation' > > >> device = '82801G (ICH7 Family) High Definition Audio' > > >> class = multimedia > > > > > >> vgapci0@pci0:5:0:0: class=0x030000 card=0xe630174b chip=0x95051002 rev=0x00 hdr=0x00 > > >> vendor = 'ATI Technologies Inc' > > >> class = display > > >> subclass = VGA > > >> pcm0@pci0:5:0:1: class=0x040300 card=0xaa18174b chip=0xaa181002 rev=0x00 hdr=0x00 > > >> vendor = 'ATI Technologies Inc' > > >> class = multimedia > > > > I think you will need a somewhat recent FreeBSD to support that > > controller. What version are you running? > > > > What drivers have you loaded? snd_driver? > > > > Maybe it's related to my HDMI capable ATI card. Could this interfere? I > also tried adding snd_driver_load="YES" to /boot/loader.conf but this > didn't help either :( > I don't know why you seem to have 2 sound cards but I'd have a look at getting the Intel sound card going. Put: snd_hda_load="YES" in /boot/loader.conf Reboot & then see what kldstat(8) and mixer(8) tell you. e.g: on my machine: $ kldstat Id Refs Address Size Name 1 4 0xffffffff80100000 6f8750 kernel 2 1 0xffffffff807f9000 1a6e8 snd_hda.ko 3 2 0xffffffff80814000 66408 sound.ko 4 1 0xffffffff8087b000 1b70 coretemp.ko $ mixer Mixer vol is currently set to 30:30 Mixer pcm is currently set to 60:60 Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer rec is currently set to 0:0 Recording source: mic I lowered the volume with: $ mixer vol 30:30 If that looks reasonable have a go at playing an mp3 or wav with mplayer. Mplayer might give you some debugging output if it doesn't work. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 21:41:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60F66106568C for ; Wed, 8 Oct 2008 21:41:21 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from smtp-3.orange.nl (smtp-3.orange.nl [193.252.22.243]) by mx1.freebsd.org (Postfix) with ESMTP id 220F48FC25 for ; Wed, 8 Oct 2008 21:41:21 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf6202.online.nl (SMTP Server) with ESMTP id 24D111C00084 for ; Wed, 8 Oct 2008 23:41:20 +0200 (CEST) Received: from [192.168.2.173] (s5590cf7b.adsl.wanadoo.nl [85.144.207.123]) by mwinf6202.online.nl (SMTP Server) with ESMTP id E76871C00083 for ; Wed, 8 Oct 2008 23:41:19 +0200 (CEST) X-ME-UUID: 20081008214119947.E76871C00083@mwinf6202.online.nl From: Aniruddha To: freebsd-questions@freebsd.org In-Reply-To: <20081008210853.GA97002@melon.esperance-linux.co.uk> References: <1223412136.3966.10.camel@debian> <4463o4qe3c.fsf@be-well.ilk.org> <1223490072.3978.3.camel@debian> <20081008210853.GA97002@melon.esperance-linux.co.uk> Content-Type: text/plain Date: Wed, 08 Oct 2008 23:41:31 +0200 Message-Id: <1223502091.4635.3.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Subject: Re: Can't get soundcard to work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 21:41:21 -0000 Thanks for the help! Here are the answers: > > > > cat dmesg > /dev/dsp > > > >> su: /dev/dsp: Operation not supported > > This is a weird error message. Don't know whether /dev/dsp exists or > not - worth checking. ls /dev/d da0 da2 dcons devstat dsp0.0 dsp1.0 da1 da3 devctl dgdb dsp0.1 dumpdev > I don't know why you seem to have 2 sound cards but I'd have a look at > getting the Intel sound card going. Put: > > snd_hda_load="YES" > > in /boot/loader.conf Done > Reboot & then see what kldstat(8) and mixer(8) tell you. # kldstat Id Refs Address Size Name 1 6 0xc0400000 97c8a8 kernel 2 1 0xc0d7d000 15524 snd_hda.ko 3 2 0xc0d93000 4a62c sound.ko 4 1 0xc0dde000 6a2c4 acpi.ko 5 1 0xc68ea000 10000 ext2fs.ko # mixer Mixer vol is currently set to 100:100 Mixer pcm is currently set to 75:75 > If that looks reasonable have a go at playing an mp3 or wav with > mplayer. Mplayer might give you some debugging output if it doesn't > work. The output from mplayer [AO OSS] audio_setup: Can't open audio device /dev/dsp: Operation not supported -- Regards, Aniruddha From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 21:45:26 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15BB01065690 for ; Wed, 8 Oct 2008 21:45:26 +0000 (UTC) (envelope-from slacklinux@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 DD3868FC1A for ; Wed, 8 Oct 2008 21:45:25 +0000 (UTC) (envelope-from slacklinux@gmail.com) Received: by wa-out-1112.google.com with SMTP id n4so2318109wag.27 for ; Wed, 08 Oct 2008 14:45:25 -0700 (PDT) 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=LuDBt0/zTi3Ker/br2s/Go8oaPVC/JXr4vNtWTcm3hk=; b=oY7beaokVTtoN8xXkXPFNBSCYcOa8DBSxSefq3y/O25j3LcY73xiUYYU1wlLQBjGpz ZvSaNXfSklCAR6CHUoODSp9nPEzDGeeka3IIiKQ71KGVd3nttAbGwhU7Ss4DfPKq6kZE ocaOgdZWptJmx5PTFTuwi/hG9AhDa4TpyIE5g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=FXiwhVob684Wex4ff5gZJAbc+tQ3rMC6Y/Vj3vzrks39PkfiOXd/n+XVa80k/m1jlf wF1Co/cMD7KPrF9lwkn5a47wpYM5RjgQiAdiki8QkqOTvOhfmuxlENAcjAjAzLcO5dWa EGcYQXm6ci9hLNR7XCQtR2lxZROuAEsjWICCA= Received: by 10.114.130.1 with SMTP id c1mr9857065wad.152.1223501066379; Wed, 08 Oct 2008 14:24:26 -0700 (PDT) Received: by 10.114.160.10 with HTTP; Wed, 8 Oct 2008 14:24:26 -0700 (PDT) Message-ID: Date: Wed, 8 Oct 2008 18:24:26 -0300 From: "Thiago Rochael" 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: Problems with Gmail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 21:45:26 -0000 Hi everybody, I have configured a server with FreeBSD 7 and updated the kernel to 7.1-PRERELEASE. That server is ready to provide POP/IMAP service to my costumers. The POP/IMAP service is running over Courier-IMAP version 4.4.1. Everything is running fine, except for the costumers that use the GMAIL web interface to fetch the messages from my POP server. When the mailbox in my server surpass 512K, the GMAIL facility does not fetch the messages, the Courier logs just show a TIMEOUT or DISCONNECTED and GMAIL logs show: "Connection Error. Server returned error "Connection reset by peer: The other server terminated our connection." I've already increased the Buffer variables of TCP: net.inet.tcp.recvbuf_max and net.inet.tcp.sendbuf_max I' ve disabled the resource TSO of the network adapter(model em, of Intel) I 've changed the PMTU configuration None of these work I have the same configuration working on a Slackware 11.0, that's why I am not focusing in service configuration. Any ideas? I appreciate any help. Thanks in advance! -- Thiago Rochael Administrador de Redes e Sistemas Operacionais http://lib.seven.com.br "Why use Windows since have a door" From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 21:46:32 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CCB01065802 for ; Wed, 8 Oct 2008 21:46:32 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [91.121.44.19]) by mx1.freebsd.org (Postfix) with ESMTP id EEE828FC23 for ; Wed, 8 Oct 2008 21:46:31 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from baby-jane.lamaiziere.net (201.158.192-77.rev.gaoland.net [77.192.158.201]) by smtp.lamaiziere.net (Postfix) with ESMTPA id 617C063367C; Wed, 8 Oct 2008 23:46:30 +0200 (CEST) Received: from baby-jane-lamaiziere-net.local (localhost [127.0.0.1]) by baby-jane.lamaiziere.net (Postfix) with ESMTP id 49B7E61958D; Wed, 8 Oct 2008 23:46:29 +0200 (CEST) Date: Wed, 8 Oct 2008 23:46:28 +0200 From: Patrick =?ISO-8859-15?Q?Lamaizi=E8re?= To: freebsd-questions@freebsd.org Message-ID: <20081008234628.039773d3@baby-jane-lamaiziere-net.local> In-Reply-To: <1223498563.3978.19.camel@debian> References: <1223498563.3978.19.camel@debian> Organization: /dave/nulle X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i386-apple-darwin9.3.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Cc: Aniruddha Subject: Re: What is a recommended soundcard for 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, 08 Oct 2008 21:46:32 -0000 Le Wed, 08 Oct 2008 22:42:43 +0200, Aniruddha a écrit : > Because of the problems with my onboard Intel HDA audio chip I plan to > buy a soundcard that is supported by FreeBSD. There is a new hda driver in current, may be you can try it on RELENG_7? See http://www.nabble.com/Re%3A-New-snd_hda-driver-came-in.-p19499206.html Good luck! Regards. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 22:08:42 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9FC31065689 for ; Wed, 8 Oct 2008 22:08:42 +0000 (UTC) (envelope-from agus.262@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.238]) by mx1.freebsd.org (Postfix) with ESMTP id BE8638FC18 for ; Wed, 8 Oct 2008 22:08:42 +0000 (UTC) (envelope-from agus.262@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so4134400rvf.43 for ; Wed, 08 Oct 2008 15:08:42 -0700 (PDT) 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=20RwOdzSu8IAb+CBFYmo+5W2ZZO939UEoXLQ1OOS/Oc=; b=ECBnkvavFqjVroKYtJzGoen3uQJfacYnkdEGpcTxXNj8JhR5cPpI9pDjTt06IaCcUx 1rm2+Fk9BkOp+E7u4HUN6KV/63y5bZL4jTW6/MPovXJD9U/g195dImwH7nNhLPuSJaOq vP9wAMROdZKv64D7r5LSvNAbiSZEcDYdpBGw8= 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=uZ5ecokeWAu11MWRTPXuAM+wrDNM+OZcUrugJZ/gMeZ2iQY6/r208EA+FaYinZSoOa MdQnSuaaLcRo3pUgpL3YWvrvQHb7Bp00sfJ2Rgk9Kwy5omJxNrawzD8SHdt2jw3kGfll CyCC80lt88IRs6efdC/4j8jui7G7P/AiUfvAM= Received: by 10.141.211.5 with SMTP id n5mr1048791rvq.115.1223503722302; Wed, 08 Oct 2008 15:08:42 -0700 (PDT) Received: by 10.141.82.17 with HTTP; Wed, 8 Oct 2008 15:08:42 -0700 (PDT) Message-ID: Date: Wed, 8 Oct 2008 19:08:42 -0300 From: Agus To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Update System from 6.1 to last 6 Release with NOT generic Kernel... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 22:08:43 -0000 Hi guys... Just wanted to check a few things before crapping my system..hehehe I am planning on updating the system from 6.1 to the last 6.3-RELEASE p5 i think it is....according to the freebsd-update.sh... I am plannin on doing it with this tool...but my main concern is the modified kernel and the ports... If anyone, by own experience can give me the steps how you did it, i ll be really happy..hehe =D my concern is the kernel and the ports... Thanks guys.....for anything you can help me with..... I am checking the list but there a quite a few things about updates....hehe Cheers, Agustin From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 22:31:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9657A1065689 for ; Wed, 8 Oct 2008 22:31:49 +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 2486B8FC08 for ; Wed, 8 Oct 2008 22:31:48 +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.63) (envelope-from ) id 1KnhZL-00056r-My; Wed, 08 Oct 2008 23:31:47 +0100 Received: from melon.esperance-linux.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 ESMTP id m98MVkhY013553; Wed, 8 Oct 2008 23:31:47 +0100 Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id 9CB65FCA4AD; Wed, 8 Oct 2008 23:31:41 +0100 (BST) Date: Wed, 8 Oct 2008 23:31:41 +0100 From: Frank Shute To: Aniruddha Message-ID: <20081008223141.GA97321@melon.esperance-linux.co.uk> Mail-Followup-To: Aniruddha , freebsd-questions@freebsd.org References: <1223412136.3966.10.camel@debian> <4463o4qe3c.fsf@be-well.ilk.org> <1223490072.3978.3.camel@debian> <20081008210853.GA97002@melon.esperance-linux.co.uk> <1223502091.4635.3.camel@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1223502091.4635.3.camel@debian> 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-RELEASE-p2 i386 X-Organisation: 'http://www.shute.org.uk/' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (zetnet.co.uk [194.247.46.1]); Wed, 08 Oct 2008 23:31:47 +0100 (BST) Cc: freebsd-questions@freebsd.org Subject: Re: Can't get soundcard to work 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: Wed, 08 Oct 2008 22:31:49 -0000 On Wed, Oct 08, 2008 at 11:41:31PM +0200, Aniruddha wrote: > > Thanks for the help! Here are the answers: > > > > > > cat dmesg > /dev/dsp > > > > >> su: /dev/dsp: Operation not supported > > > > This is a weird error message. Don't know whether /dev/dsp exists or > > not - worth checking. > > ls /dev/d > da0 da2 dcons devstat dsp0.0 dsp1.0 > da1 da3 devctl dgdb dsp0.1 dumpdev On my machine: $ ls /dev | grep dsp dsp0.0 dsp0.1 i.e no dsp1.0 Could be that the 2 cards are confusing it, as you suggested previously (they both use the same driver). Can you disable one in the BIOS? > > > I don't know why you seem to have 2 sound cards but I'd have a look at > > getting the Intel sound card going. Put: > > > > snd_hda_load="YES" > > > > in /boot/loader.conf > Done > > > Reboot & then see what kldstat(8) and mixer(8) tell you. > > # kldstat > Id Refs Address Size Name > 1 6 0xc0400000 97c8a8 kernel > 2 1 0xc0d7d000 15524 snd_hda.ko > 3 2 0xc0d93000 4a62c sound.ko > 4 1 0xc0dde000 6a2c4 acpi.ko > 5 1 0xc68ea000 10000 ext2fs.ko Looks OK. > > > # mixer > Mixer vol is currently set to 100:100 > Mixer pcm is currently set to 75:75 What does: $ cat /dev/sndstat give you? > > > If that looks reasonable have a go at playing an mp3 or wav with > > mplayer. Mplayer might give you some debugging output if it doesn't > > work. > > The output from mplayer > [AO OSS] audio_setup: Can't open audio device /dev/dsp: Operation not > supported > I'm not surprised it freaks out - it's probably struggling to figure out which card to use. I feel pretty sure you'll have better luck disabling one. I have had 2 cards in the same machine before but they used different drivers. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 22:39:34 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CA1A1065690 for ; Wed, 8 Oct 2008 22:39:34 +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 13FD78FC16 for ; Wed, 8 Oct 2008 22:39:34 +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.63) (envelope-from ) id 1Knhgq-0005Ro-Aw; Wed, 08 Oct 2008 23:39:32 +0100 Received: from melon.esperance-linux.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 ESMTP id m98MdUtA018601; Wed, 8 Oct 2008 23:39:31 +0100 Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id B9BB5FCA4AD; Wed, 8 Oct 2008 23:39:25 +0100 (BST) Date: Wed, 8 Oct 2008 23:39:25 +0100 From: Frank Shute To: Chad Marshall Message-ID: <20081008223925.GB97321@melon.esperance-linux.co.uk> Mail-Followup-To: Chad Marshall , freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i 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-RELEASE-p2 i386 X-Organisation: 'http://www.shute.org.uk/' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (zetnet.co.uk [194.247.46.1]); Wed, 08 Oct 2008 23:39:31 +0100 (BST) Cc: freebsd-questions@freebsd.org Subject: Re: uptime 2 years! 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: Wed, 08 Oct 2008 22:39:34 -0000 On Wed, Oct 08, 2008 at 08:54:47AM -0700, Chad Marshall wrote: > > > Hello, > > Would like to share a success story which I'm sure you've had in the > past but one of my servers running FreeBSD will have an uptime of 2 > years tomorrow. I plan on putting on my blog but as it doesn't have > much reach but wanted to share with you since your community has made > this possible. Please indicate where I could post this to have a bit > more reach or if you'd like to put a link to my blog, I'd be more than > happy to provide that. > > > Best Regards, > Sorry to rain on your parade: http://lists.freebsd.org/pipermail/freebsd-chat/2008-October/005719.html Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 23:05:31 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 200E91065695 for ; Wed, 8 Oct 2008 23:05:31 +0000 (UTC) (envelope-from d.hill@yournetplus.com) Received: from duane.dbq.yournetplus.com (duane.dbq.yournetplus.com [65.124.230.214]) by mx1.freebsd.org (Postfix) with ESMTP id E9A928FC17 for ; Wed, 8 Oct 2008 23:05:30 +0000 (UTC) (envelope-from d.hill@yournetplus.com) Received: by duane.dbq.yournetplus.com (Postfix, from userid 1001) id 598392E033; Wed, 8 Oct 2008 22:47:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by duane.dbq.yournetplus.com (Postfix) with ESMTP id 515822E031 for ; Wed, 8 Oct 2008 22:47:10 +0000 (UTC) Date: Wed, 8 Oct 2008 22:47:10 +0000 (UTC) From: Duane Hill X-X-Sender: duane@duane.dbq.yournetplus.com To: freebsd-questions@freebsd.org In-Reply-To: <20081008223925.GB97321@melon.esperance-linux.co.uk> Message-ID: References: <20081008223925.GB97321@melon.esperance-linux.co.uk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d.hill@yournetplus.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 23:05:31 -0000 On Wed, 8 Oct 2008, Frank Shute wrote: > On Wed, Oct 08, 2008 at 08:54:47AM -0700, Chad Marshall wrote: >> >> >> Hello, >> >> Would like to share a success story which I'm sure you've had in the >> past but one of my servers running FreeBSD will have an uptime of 2 >> years tomorrow. I plan on putting on my blog but as it doesn't have >> much reach but wanted to share with you since your community has made >> this possible. Please indicate where I could post this to have a bit >> more reach or if you'd like to put a link to my blog, I'd be more than >> happy to provide that. >> >> >> Best Regards, >> > > Sorry to rain on your parade: > > http://lists.freebsd.org/pipermail/freebsd-chat/2008-October/005719.html Uptime over seven(7) years? Must be behind some firewall and not have to worry about (what someone else has stated) kernel or userland updates. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 23:19:31 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E973106568D for ; Wed, 8 Oct 2008 23:19:31 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from angel.comcen.com.au (angel.comcen.com.au [203.23.236.69]) by mx1.freebsd.org (Postfix) with ESMTP id 4D30D8FC0C for ; Wed, 8 Oct 2008 23:19:31 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [202.172.126.254]) by angel.comcen.com.au (Postfix) with ESMTP id 408A35C2E5F6 for ; Thu, 9 Oct 2008 10:17:18 +1100 (EST) From: Da Rock To: freebsd-questions@freebsd.org In-Reply-To: References: <1223291610.27632.21.camel@laptop1.herveybayaustralia.com.au> Content-Type: text/plain; charset=utf-8 Date: Thu, 09 Oct 2008 09:18:16 +1000 Message-Id: <1223507896.12779.6.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 8bit X-comcen-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 408A35C2E5F6.EDB7A X-comcen-MailScanner: Found to be clean X-comcen-MailScanner-SpamCheck: not spam, SpamAssassin (score=0.1, required 3, RDNS_NONE 0.10) X-comcen-MailScanner-From: rock_on_the_web@comcen.com.au X-Spam-Status: No Subject: Re: Touch screen ET&T on Clevo tn120r X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 23:19:31 -0000 On Tue, 2008-10-07 at 10:53 -0300, Sdävtaker wrote: > Thanks, here is the usb data: > usbdevs -dv > Controller /dev/usb0: > addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), > Intel(0x0000), rev 1.00 > uhub0 > port 1 powered > port 2 powered > Controller /dev/usb1: > addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), > Intel(0x0000), rev 1.00 > uhub1 > port 1 powered > port 2 addr 2: full speed, power 100 mA, config 1, Fingerprint > Sensor(0x2016), TouchStrip(0x147e), rev 0.01 > ugen0 > Controller /dev/usb2: > addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), > Intel(0x0000), rev 1.00 > uhub2 > port 1 powered > port 2 powered > port 3 powered > port 4 powered > Controller /dev/usb3: > addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), > Intel(0x0000), rev 1.00 > uhub3 > port 1 powered > port 2 powered > Controller /dev/usb4: > addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), > Intel(0x0000), rev 1.00 > uhub4 > port 1 powered > port 2 powered > Controller /dev/usb5: > addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), > Intel(0x0000), rev 1.00 > uhub5 > port 1 addr 2: full speed, power 100 mA, config 1, TC4UM(0x0306), > ET&T Technology(0x0664), rev 1.00 > uhid0 > Well there it is, now you'll have to find the drivers for xorg and all else. Run a search on the net with this info now and try to work out which driver to use. Check out the various touch drivers available for xorg and narrow it down to which will work for your hardware- if its the 3m touch drivers you're in luck; use the mutouch (I think?) and go from there. Xorg should pick them up automatically, but may need some help. Be aware that there may not be mainstream drivers, I'm trying to work with an egalax driver which is only available for linux so far, so it can be quite a trick to get it to all work. Keep posting as you find more information, and good luck! From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 23:46:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F91A106568D for ; Wed, 8 Oct 2008 23:46:14 +0000 (UTC) (envelope-from sdavtaker@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id D53DC8FC0C for ; Wed, 8 Oct 2008 23:46:13 +0000 (UTC) (envelope-from sdavtaker@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so2755009fgb.35 for ; Wed, 08 Oct 2008 16:46:12 -0700 (PDT) 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=zycqnEojCXWrWkWXfmgnol6px0/hPN8ZowwoBMq0nFw=; b=MDU5DOOii6NcAIPhLQNxP+adr40cmzouuXJ6Q9xR9bP8XxH8RKJAfjTAr9/xfPsJ5V bS8pSFTXvaO1BxbVX11ZdGja8F0yqqAklcyU90x/X0K16a3yIG7BsnQRbdpGp3J7luf5 oThw36zBJ2H7Ng72zE2AyOvNTT8jJ7gNWYNDo= 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=i597Je3LNhKQnEHNiAOZI0vqTQoRRXNsc0njm1dKUv48IgbnKRGn2zbXG1TwDqJXg5 bgzFdoSTH5H6HalotetFjV7rltI/74chlyq0uAGRnvo9agOVe3MOxF7LCAWaS4CUBdXc wTNc72R6k7oxzntf2Wi15BuB4KheDjMetnnd8= Received: by 10.86.95.8 with SMTP id s8mr829510fgb.38.1223509572446; Wed, 08 Oct 2008 16:46:12 -0700 (PDT) Received: by 10.86.91.3 with HTTP; Wed, 8 Oct 2008 16:46:12 -0700 (PDT) Message-ID: Date: Wed, 8 Oct 2008 20:46:12 -0300 From: "=?UTF-8?Q?Sd=C3=A4vtaker?=" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Weird FS behavior tru FTP on CD9660 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 23:46:14 -0000 Hey, I found a weird situation today, I mounted a DVD with the mount_cd9660 and accessed it through "filezilla". I got 2 times every file in the list, go back to the original Pc and checked with "ls" and they appear only once. :-/ Im using last version Filezilla in MSW, and ftpd in FBSD7.0r. I think it can be reading both TOCs in the DVD, but it is weird since it doesnt happen when doing ls. Can someone try reproduce it in another setup? Sdav From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 23:56:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8FE5106569A for ; Wed, 8 Oct 2008 23:56:58 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id 837598FC15 for ; Wed, 8 Oct 2008 23:56:58 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from [213.142.183.219] (helo=gahrtop.gahr.ch) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1Knitk-000686-HZ; Thu, 09 Oct 2008 01:56:56 +0200 Message-ID: <48ED489F.7050205@FreeBSD.org> Date: Thu, 09 Oct 2008 01:56:15 +0200 From: Pietro Cerutti Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.17 (X11/20081002) MIME-Version: 1.0 To: d.hill@yournetplus.com References: <20081008223925.GB97321@melon.esperance-linux.co.uk> In-Reply-To: X-Enigmail-Version: 0.95.6 OpenPGP: id=9571F78E; url=http://gahr.ch/pgp/ Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 - FreeBSD.org X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-questions@freebsd.org Subject: Re: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Oct 2008 23:56:58 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Duane Hill wrote: | On Wed, 8 Oct 2008, Frank Shute wrote: | |> On Wed, Oct 08, 2008 at 08:54:47AM -0700, Chad Marshall wrote: |>> |>> |>> Hello, |>> |>> Would like to share a success story which I'm sure you've had in the |>> past but one of my servers running FreeBSD will have an uptime of 2 |>> years tomorrow. I plan on putting on my blog but as it doesn't have |>> much reach but wanted to share with you since your community has made |>> this possible. Please indicate where I could post this to have a bit |>> more reach or if you'd like to put a link to my blog, I'd be more than |>> happy to provide that. |>> |>> |>> Best Regards, |>> |> |> Sorry to rain on your parade: |> |> http://lists.freebsd.org/pipermail/freebsd-chat/2008-October/005719.html | | Uptime over seven(7) years? Must be behind some firewall and not have to | worry about (what someone else has stated) kernel or userland updates. No entry for seven in section 7 of the manual :D - -- Pietro Cerutti gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEAREKAAYFAkjtSJ0ACgkQwMJqmJVx947+YgCeKx0R5O4IUjNc4xUnypmU/AnA 0b4An1nkSCv9L7xhCVrAK4yL76/m7BI0 =auUZ -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 00:19:29 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CADF1065691 for ; Thu, 9 Oct 2008 00:19:29 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from angel.comcen.com.au (angel.comcen.com.au [203.23.236.69]) by mx1.freebsd.org (Postfix) with ESMTP id 5CA018FC18 for ; Thu, 9 Oct 2008 00:19:29 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [202.172.126.254]) by angel.comcen.com.au (Postfix) with ESMTP id 9477B5C2F115 for ; Thu, 9 Oct 2008 11:08:52 +1100 (EST) From: Da Rock To: freebsd-questions@freebsd.org In-Reply-To: References: <20081008223925.GB97321@melon.esperance-linux.co.uk> Content-Type: text/plain Date: Thu, 09 Oct 2008 10:09:50 +1000 Message-Id: <1223510990.12779.11.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit X-comcen-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 9477B5C2F115.1FB8E X-comcen-MailScanner: Found to be clean X-comcen-MailScanner-SpamCheck: not spam, SpamAssassin (score=0.1, required 3, RDNS_NONE 0.10) X-comcen-MailScanner-From: rock_on_the_web@comcen.com.au X-Spam-Status: No Subject: Re: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 00:19:29 -0000 On Wed, 2008-10-08 at 22:47 +0000, Duane Hill wrote: > On Wed, 8 Oct 2008, Frank Shute wrote: > > > On Wed, Oct 08, 2008 at 08:54:47AM -0700, Chad Marshall wrote: > >> > >> > >> Hello, > >> > >> Would like to share a success story which I'm sure you've had in the > >> past but one of my servers running FreeBSD will have an uptime of 2 > >> years tomorrow. I plan on putting on my blog but as it doesn't have > >> much reach but wanted to share with you since your community has made > >> this possible. Please indicate where I could post this to have a bit > >> more reach or if you'd like to put a link to my blog, I'd be more than > >> happy to provide that. > >> > >> > >> Best Regards, > >> > > > > Sorry to rain on your parade: > > > > http://lists.freebsd.org/pipermail/freebsd-chat/2008-October/005719.html > > Uptime over seven(7) years? Must be behind some firewall and not have to > worry about (what someone else has stated) kernel or userland updates. I believe there is at least 2 ways to achieve this without a security risk: 1. The updates were completed without rebooting (ie hot swapping the kernel). 2. The system was behind a firewall and not used for anything except maybe backups and/or file server. I know of an old system that ran for 3 1/2 years like this- name: Mother. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 00:28:04 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44A80106568E for ; Thu, 9 Oct 2008 00:28:04 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by mx1.freebsd.org (Postfix) with ESMTP id C936E8FC14 for ; Thu, 9 Oct 2008 00:28:03 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: by ey-out-2122.google.com with SMTP id 6so1201732eyi.7 for ; Wed, 08 Oct 2008 17:28:02 -0700 (PDT) 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=OBF/0Ig2fI4uIG0xzm/MSW17ifrqOhtJQtyGAyZPaaA=; b=XtshUq2RgTYDeqoCOts4jpbZq0SV3hPX32MRKOwSaG7wJvfXe8tpM7JxSTxF6KE6/c nCaCsXunYNjSZ0Bn0P5ebrH20jZAo6Xaoiy2qfpPlPG3lA4dss5ZdkJHorScFcYKUNRV UHHAj/bFdFmXAmIHWQUAtEaqlRJoZvac+vpd4= 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=QKy4wudXA1qJ5Mz/0gGHSik+f4VOW/LEFxJaas/A/gpa6XhV44wnIDKLo1ZuSUyttJ xH9Zo+o2+MqiU6GroMyzd+gbs4ODyAgdUMLWSh6dfdx0z7WXIZe3RFkvVzo8xnfO21yp QaqaRR1agWTs+X/7nVTz1EQkrSVisILMxD+7M= Received: by 10.210.131.6 with SMTP id e6mr10776334ebd.10.1223512082558; Wed, 08 Oct 2008 17:28:02 -0700 (PDT) Received: by 10.210.59.5 with HTTP; Wed, 8 Oct 2008 17:28:02 -0700 (PDT) Message-ID: Date: Wed, 8 Oct 2008 17:28:02 -0700 From: "Kurt Buff" To: "Chad Marshall" 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: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 00:28:04 -0000 Nice, but what does port audit say? On Wed, Oct 8, 2008 at 8:54 AM, Chad Marshall wrote: > > Hello, > > Would like to share a success story which I'm sure you've had in the past > but one of my servers running FreeBSD will have an uptime of 2 years > tomorrow. I plan on putting on my blog but as it doesn't have much reach but > wanted to share with you since your community has made this possible. Please > indicate where I could post this to have a bit more reach or if you'd like > to put a link to my blog, I'd be more than happy to provide that. > > > Best Regards, From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 00:38:34 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14049106568A for ; Thu, 9 Oct 2008 00:38:34 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 8A8798FC14 for ; Thu, 9 Oct 2008 00:38:28 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id m990cSG6075458 for ; Wed, 8 Oct 2008 17:38:28 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Wed, 8 Oct 2008 17:38:13 -0700 (PDT) Date: Wed, 8 Oct 2008 17:38:13 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20081009003810.GA69581@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 22 years of service to the Unix community. X-Spam-Status: No, score=-4.3 required=3.6 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: konsole and X by Y count? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 00:38:34 -0000 Well, slowly, slowly, I'm learning about vers 4, KDE. Konsole does not behave like KDE-3, very likely because I'm not clicking on the right options. Maybe one of you can clue me in. First, the "size" of the Konsole in version?/release? 3 was given by [Size 80 x 47] for example. How do I get that with KDE4/Konsole-4?? tia, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 01:00:41 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 812E210656A1 for ; Thu, 9 Oct 2008 01:00:41 +0000 (UTC) (envelope-from cmarshall@ahm-inc.com) Received: from mail.clearvoipcalling.com (ip-66-235-250-52.sterlingnetwork.net [66.235.250.52]) by mx1.freebsd.org (Postfix) with ESMTP id 54FF28FC3F for ; Thu, 9 Oct 2008 01:00:41 +0000 (UTC) (envelope-from cmarshall@ahm-inc.com) Received: from [192.168.50.5] (host-216-9-190-113.orbitelcom.com [216.9.190.113]) by mail.clearvoipcalling.com (Postfix) with ESMTP id E4DEB119C1C; Wed, 8 Oct 2008 18:00:27 -0700 (MST) Message-Id: <2F5A85A9-3C1C-4328-9D4C-8722B3FDB2A1@ahm-inc.com> From: Chad Marshall To: Frank Shute In-Reply-To: <20081008223925.GB97321@melon.esperance-linux.co.uk> Content-Type: multipart/mixed; boundary=Apple-Mail-33-393703195 Mime-Version: 1.0 (Apple Message framework v929.2) Date: Wed, 8 Oct 2008 18:00:38 -0700 References: <20081008223925.GB97321@melon.esperance-linux.co.uk> X-Mailer: Apple Mail (2.929.2) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 01:00:41 -0000 --Apple-Mail-33-393703195 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit No Problem, I figured that there are other systems out there with a longer uptime. I have this server as a postfix/courier-imap/ squirrelmail (60+ accounts and 30-40 forwards) mailserver with apache/ php/mysql. Also use it as a slave authoritative nameserver for over 100 zones (one zone with a 60sec TTL on a high volume production website) as well. Plus use it as a primary nameserver for our entire office (300+ workstations). I was lazy with it (Upgrading or Replacing) and when it hit a year, I decided to hold off doing anything with it as I wanted to see how long I could let it go. It's a celeron 2.4ghz server with 512m Ram and has been a champ server in it's performance and stability. I use CentOS for most of my other systems and find that as easy as it is for administration and upgrading, it lacks FreeBSD's performance. With the memory leaks that CentOS has, I usually have to end up restarting the machine(s). With FreeBSD I can just restart the services, and got my memory back and reduce the amount of swap being used. Regardless of the first email I got back (Which was a little rude), I will continue to run this server as long as I can and monitor the security risks using DenyHosts and other security measures. Thanks, --Apple-Mail-33-393703195 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Oct 8, 2008, at 3:39 PM, Frank Shute wrote: > On Wed, Oct 08, 2008 at 08:54:47AM -0700, Chad Marshall wrote: >> >> >> Hello, >> >> Would like to share a success story which I'm sure you've had in the >> past but one of my servers running FreeBSD will have an uptime of 2 >> years tomorrow. I plan on putting on my blog but as it doesn't have >> much reach but wanted to share with you since your community has made >> this possible. Please indicate where I could post this to have a bit >> more reach or if you'd like to put a link to my blog, I'd be more >> than >> happy to provide that. >> >> >> Best Regards, >> > > Sorry to rain on your parade: > > http://lists.freebsd.org/pipermail/freebsd-chat/2008-October/005719.html > > > Regards, > > -- > > Frank > > > Contact info: http://www.shute.org.uk/misc/contact.html > --Apple-Mail-33-393703195-- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 01:51:55 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C83B1065687 for ; Thu, 9 Oct 2008 01:51:55 +0000 (UTC) (envelope-from kitchetech@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id BADF68FC1B for ; Thu, 9 Oct 2008 01:51:54 +0000 (UTC) (envelope-from kitchetech@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so2784453fgb.35 for ; Wed, 08 Oct 2008 18:51:53 -0700 (PDT) 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:references; bh=AOkAlQhcN4bm8KYTIqpgxr3kPNmJpwj0Hlr9F570E54=; b=jTmgkMzoksN0DfP+urX3/HoK2TcwJCAM+HCEX9AqvfgQ8teHja66xBU/FdxO+Vs4XR j8v97YJXXhYWCpHVJ0VXqrVQMioQoz5Q186+Y8+719jQwLwN818YIH6lbeGSVEo853+7 JZYjiqOxAIZpkp//RH65k3nBHIyPolA4WqxxA= 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:references; b=pK8UIGh9TtOo0bKxApoJ/U+SprCxs7ZzbI+bDmn5Ki1X6KzIjQV520Gmz26ry0Mq6a cJU2qO6oLSKdIAMOBljLXf/pdgJK1YPDRwGDowmJHCaNQZ32Cguyd4tmCndukL+dRMvp 99tabPw4aYxXsmr8Hq7/5xZDXqWepxozhXTZA= Received: by 10.86.92.7 with SMTP id p7mr8204264fgb.72.1223517113333; Wed, 08 Oct 2008 18:51:53 -0700 (PDT) Received: by 10.86.78.7 with HTTP; Wed, 8 Oct 2008 18:51:53 -0700 (PDT) Message-ID: <28283d910810081851h7ab99b5y94b68f04b2a956e7@mail.gmail.com> Date: Wed, 8 Oct 2008 21:51:53 -0400 From: "matt donovan" To: "Chad Marshall" In-Reply-To: <2F5A85A9-3C1C-4328-9D4C-8722B3FDB2A1@ahm-inc.com> MIME-Version: 1.0 References: <20081008223925.GB97321@melon.esperance-linux.co.uk> <2F5A85A9-3C1C-4328-9D4C-8722B3FDB2A1@ahm-inc.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: Frank Shute , freebsd-questions@freebsd.org Subject: Re: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 01:51:55 -0000 why is this news or even important? heck most servers are up longer then this. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 02:02:48 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55FD91065687 for ; Thu, 9 Oct 2008 02:02:48 +0000 (UTC) (envelope-from reese@adeptscience.com) Received: from panther.adeptscience.co.uk (panther.adeptscience.co.uk [193.116.153.7]) by mx1.freebsd.org (Postfix) with ESMTP id E3B298FC1D for ; Thu, 9 Oct 2008 02:02:47 +0000 (UTC) (envelope-from reese@adeptscience.com) Received: from [192.168.1.101] (dynamic-acs-24-144-162-239.zoominternet.net [24.144.162.239]) by panther.adeptscience.co.uk (8.13.6/8.13.6) with ESMTP id m98HJQge019524 for ; Wed, 8 Oct 2008 18:19:27 +0100 (BST) (envelope-from reese@adeptscience.com) From: reese@adeptscience.com To: freebsd-questions@freebsd.org Date: Wed, 08 Oct 2008 13:19:11 -0400 MIME-Version: 1.0 Message-ID: <48ECB34F.17747.29EFF3A0@reese.adeptscience.com> Priority: normal In-reply-to: <20081008164540.GA78500@ozzmosis.com> References: <20081008162153.GA80866@icarus.home.lan> X-mailer: Pegasus Mail for Windows (4.31) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: Re: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 02:02:48 -0000 Well sometimes you don't need to upgrade and you aren't connected to the internet directly. elephant: {25} uptime 5:54PM up 1756 days, 7:07, 2 users, load averages: 1.04, 1.01, 1.00 elephant 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Mon Oct 27 17:51:09 GMT 2003 This machine is semi-retired now but for its first three years it was the database server (ads, reg, hit logging etc.) for a large website (> 300,000 pages/day). It also handled the queries for a monthly reports server that created detailed reports for about 5000 companies that had content on the site. I didn't keep track of the connections then but its replacement is doing 28,527 conn/hr. This was on an internal network that was firewalled from everything but port 3306 on the webserver IP, and a couple admin IPs. It was a big exercise to replace it as the databases were quite large (48G) and it took a good fraction of an hour to make the occasional snapshot for starting a new replicator when needed. FreeBSD really is one of the most stable OSs even under a pretty good load. Cheers, Charlie "One OS to rule them all" :-) On 9 Oct 2008 at 3:45, andrew clarke wrote: > On Wed 2008-10-08 09:21:53 UTC-0700, Jeremy Chadwick (koitsu@FreeBSD.org) wrote: > > > I don't want to rain on your parade, but uptime ultimately means squat. > > Agreed. > > > I can install FreeBSD on a box under my desk at home, on a UPS, and > > leave it powered on for the next 30 years -- it tells people absolutely > > nothing about the reliability of the OS, or what kind of stress it's > > undergone during that time. > > I'd be impressed if an ordinary PC lasted 30 years continuously > running. Even if the HDD is solid-state you still have to think about > other moving parts, particularly the CPU and PSU cooling fans. I've > had a bad run with PSU fans recently. > > Is FreeBSD 7.1 2038-proof? ;-) > > http://en.wikipedia.org/wiki/Year_2038_problem > > (I wonder what version of FreeBSD will be the latest in 2038?) > > > Additionally, long uptimes also reflect directly on sysadmins: I take it > > to mean "the administrator is very lazy". There are security holes > > (kernel or userland/library-level) which are exploitable on boxes which > > have been up for that kind of time. I'm also making the assumption that > > said boxes have Internet connectivity, hence my point. > > Yes, my initial thought was "what, you don't use freebsd-update?". > > Regards > Andrew > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 02:02:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 322671065686 for ; Thu, 9 Oct 2008 02:02:49 +0000 (UTC) (envelope-from reese@library4science.com) Received: from panther.adeptscience.co.uk (panther.adeptscience.co.uk [193.116.153.7]) by mx1.freebsd.org (Postfix) with ESMTP id C26038FC28 for ; Thu, 9 Oct 2008 02:02:48 +0000 (UTC) (envelope-from reese@library4science.com) Received: from [192.168.1.101] (dynamic-acs-24-144-162-239.zoominternet.net [24.144.162.239]) by panther.adeptscience.co.uk (8.13.6/8.13.6) with ESMTP id m98J1sR9028445 for ; Wed, 8 Oct 2008 20:01:54 +0100 (BST) (envelope-from reese@library4science.com) From: "Charles Reese" To: freebsd-questions@freebsd.org Date: Wed, 08 Oct 2008 15:01:39 -0400 Message-ID: <48ECCB53.31714.2A4DC246@reese.library4science.com> Priority: normal In-reply-to: <48ECF908.5080100@gmail.com> References: <20081008164540.GA78500@ozzmosis.com> X-mailer: Pegasus Mail for Windows (4.31) Content-transfer-encoding: 7BIT Content-description: Mail message body MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Charles Reese List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 02:02:49 -0000 Well sometimes you don't need to upgrade and you aren't connected to the internet directly. elephant: {25} uptime 5:54PM up 1756 days, 7:07, 2 users, load averages: 1.04, 1.01, 1.00 elephant 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Mon Oct 27 17:51:09 GMT 2003 This machine is semi-retired now but for its first three years it was the database server (ads, reg, hit logging etc.) for a large website (> 300,000 pages/day). It also handled the queries for a monthly reports server that created detailed reports for about 5000 companies that had content on the site. I didn't keep track of the connections then but its replacement is doing 28,527 conn/hr. This was on an internal network that was firewalled from everything but port 3306 on the webserver IP, and a couple admin IPs. It was a big exercise to replace it as the databases were quite large (48G) and it took a good fraction of an hour to make the occasional snapshot for starting a new replicator when needed. FreeBSD really is one of the most stable OSs even under a pretty good load. Cheers, Charlie "One OS to rule them all" :-) From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 02:31:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1CE51065698 for ; Thu, 9 Oct 2008 02:31:49 +0000 (UTC) (envelope-from hh@mailheist.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by mx1.freebsd.org (Postfix) with ESMTP id 789978FC08 for ; Thu, 9 Oct 2008 02:31:49 +0000 (UTC) (envelope-from hh@mailheist.com) Received: by ey-out-2122.google.com with SMTP id 6so1213997eyi.7 for ; Wed, 08 Oct 2008 19:31:48 -0700 (PDT) Received: by 10.210.16.10 with SMTP id 10mr8200598ebp.40.1223517640865; Wed, 08 Oct 2008 19:00:40 -0700 (PDT) Received: from WHOAREYOUWHOWHO.local (cpe-67-246-17-77.nycap.res.rr.com [67.246.17.77]) by mx.google.com with ESMTPS id 3sm17626952eyj.3.2008.10.08.19.00.39 (version=SSLv3 cipher=OTHER); Wed, 08 Oct 2008 19:00:40 -0700 (PDT) Received: from [127.0.0.1] by WHOAREYOUWHOWHO.local (PGP Universal service); Wed, 08 Oct 2008 22:00:40 -0400 X-PGP-Universal: processed; by WHOAREYOUWHOWHO.local on Wed, 08 Oct 2008 22:00:40 -0400 Message-Id: <30941389-CEE6-474A-ACC6-4C9341201E5E@mailheist.com> From: Justin Mazzi To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v929.2) Date: Wed, 8 Oct 2008 22:00:21 -0400 X-Mailer: Apple Mail (2.929.2) X-PGP-Encoding-Format: Partitioned X-PGP-Encoding-Version: 2.0.2 X-Content-PGP-Universal-Saved-Content-Transfer-Encoding: 7bit X-Content-PGP-Universal-Saved-Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7BIT Subject: Wireless Card - EDIMAX EW-7728In X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 02:31:50 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi, Does anyone know if FreeBSD has support for this card? I did some searching around and looks like this card is based on the RALink RT2860 chip. OpenBSD has drivers listed for it on this page: http://www.openbsd.org.ua/i386.html Section: "Ralink Technology IEEE 802.11a/b/g PCI adapters (ral), including: (B) (C)" If anyone has been able to get this card working, or knows how I could get it working, please let me know. Your help is greatly appreciated. Thanks! _________________________________________ Justin Mazzi hh@mailheist.com PGP Key: http://r00tshell.com/static/me.asc.txt -----BEGIN PGP SIGNATURE----- Version: PGP Desktop 9.9.0 (Build 397) Charset: US-ASCII wsBVAwUBSO1lvRJHZj8KpgwRAQgZuAgAjLyrZ5D+Rx3PnjOr87I2AjIMIPJo0jy+ AhMLk/YNSPmwyikLqggrc7ScdxW7PQKr6rpIK0K2C6EfFyrqedxXzTB0DEw7/5tH 0qNwtA8eMGHUHlCeMvKKPfcq/SYGh7dvHWlBnQG4mpRQLB3kCbvD7PqpgXDstDCn RivRZ+HR2oug302Zy7mwijJr/nPYTgQHeDKuUXJsgzU2JfqOCfRzucnQacRlso5+ nGa5PSlfSBxZ0hVzNNNcoFxueycmMRQOltWtm7cHff/mwleWpUa/JYJueVd99O7a P/xC5g4htete5m8vtsExax/Wn0nyQu4+tJd1kHnKPi7hpyr8l4RlPg== =jEQb -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 04:26:51 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12BD21065686 for ; Thu, 9 Oct 2008 04:26:51 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA01.westchester.pa.mail.comcast.net (qmta01.westchester.pa.mail.comcast.net [76.96.62.16]) by mx1.freebsd.org (Postfix) with ESMTP id B36DC8FC13 for ; Thu, 9 Oct 2008 04:26:50 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA02.westchester.pa.mail.comcast.net ([76.96.62.19]) by QMTA01.westchester.pa.mail.comcast.net with comcast id QUEB1a0030QuhwU51USpjQ; Thu, 09 Oct 2008 04:26:49 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA02.westchester.pa.mail.comcast.net with comcast id QUSo1a0092P6wsM3NUSpaw; Thu, 09 Oct 2008 04:26:49 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=a7VBfraA0I1rgaVETSoA:9 a=HaLBAuX0lQc8lJkInJgA:7 a=iwSBW7hk3wkRB-z7nAnZ_uw4HwwA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 76AFDC9419; Wed, 8 Oct 2008 21:26:48 -0700 (PDT) Date: Wed, 8 Oct 2008 21:26:48 -0700 From: Jeremy Chadwick To: Mike Sweetser - Adhost Message-ID: <20081009042648.GA94175@icarus.home.lan> References: <17838240D9A5544AAA5FF95F8D52031604BE314F@ad-exh01.adhost.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17838240D9A5544AAA5FF95F8D52031604BE314F@ad-exh01.adhost.lan> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Unexpected PF Round Robin Behavior X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 04:26:51 -0000 On Wed, Oct 08, 2008 at 12:12:47PM -0700, Mike Sweetser - Adhost wrote: > We're noticing some unexpected behavior regarding load balancing with > our FreeBSD 6.2 server running PF. > > We have a pool set up for a two-server cluster: > > table persist { \ > 192.168.1.183 \ > 192.168.2.183 \ > } > web_183_ext="xxx.xxx.xxx.183" > > And the following rdr rule to handle it: > > rdr on ! $vlanX_if proto { udp tcp } from any to $web_183_ext port { 80 > 443 } -> round-robin sticky-address > > It's working - too well. We're noticing that it's round-robining not > only based on the IP address, but the port as well - connections from > the same machine to ports 80 and 443 are hitting different servers: > > self tcp 192.168.1.183:80 <- xxx.xxx.xxx.183:80 <- yyy.yyy.yyy.80:53601 > FIN_WAIT_2:FIN_WAIT_2 > self tcp 192.168.1.183:80 <- xxx.xxx.xxx.183:80 <- yyy.yyy.yyy.80:53602 > FIN_WAIT_2:FIN_WAIT_2 > self tcp 192.168.1.183:80 <- xxx.xxx.xxx.183:80 <- yyy.yyy.yyy.80:53603 > ESTABLISHED:ESTABLISHED > self tcp 192.168.2.183:443 <- xxx.xxx.xxx.183:443 <- > yyy.yyy.yyy.80:53604 FIN_WAIT_2:FIN_WAIT_2 > self tcp 192.168.2.183:443 <- xxx.xxx.xxx.183:443 <- > yyy.yyy.yyy.80:53605 ESTABLISHED:ESTABLISHED > > Is there any way to set this so that a given client IP will hit the same > server in the pool, regardless of port? Try the freebsd-pf list. -- | 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 Thu Oct 9 04:43:40 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 617771065688 for ; Thu, 9 Oct 2008 04:43:40 +0000 (UTC) (envelope-from alancyang@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.238]) by mx1.freebsd.org (Postfix) with ESMTP id 1BB9C8FC0A for ; Thu, 9 Oct 2008 04:43:39 +0000 (UTC) (envelope-from alancyang@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so821998wra.27 for ; Wed, 08 Oct 2008 21:43:39 -0700 (PDT) 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=Vrguj7Q/reSx1LGVsUOll3HSsnv7mrfF7J3kwapzNew=; b=f9KJ1y7hAdrvhH9+Oj7l2AJrRASIKfjhsICnt4wB/e0HGs2Udr/Ot08ngKkVi7MD/d t7vWvb3nj8+cgY6AeLMTeNEM+xcbLGcvzaULSkcKPHQMIBMXiAIk9NHcWy83rTc1QWSY eA+07ddZ6imjuZBkEt9xCtIoyu4QFfsQSx27Q= 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=U2YGomqJlUcyoBEQsDiFFZLxGWXqagsHw/5YmHRupMEQBSa7Yx1fpubckKFwfAOa52 QlbNFWQ7yLHVbRvOb3DJn+F4/JZfnUfA0HUp4EshotvMn95E60ayM+FmereneoeUKxd3 852idS9xKMh0TzCGsLQM1M2y5qnELXPqb2mEA= Received: by 10.90.34.11 with SMTP id h11mr10408083agh.104.1223527419086; Wed, 08 Oct 2008 21:43:39 -0700 (PDT) Received: by 10.90.94.14 with HTTP; Wed, 8 Oct 2008 21:43:38 -0700 (PDT) Message-ID: <290865fd0810082143l46796079mfe2c6adeed4656b0@mail.gmail.com> Date: Wed, 8 Oct 2008 21:43:38 -0700 From: "alan yang" To: "Julian Elischer" In-Reply-To: <48EBA6F2.2090606@elischer.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <290865fd0810061544ubbe92fdsf75501bb729da3f0@mail.gmail.com> <48EA9E95.80105@FreeBSD.org> <290865fd0810061712sfdf5a0p4d3954773ee27a3d@mail.gmail.com> <290865fd0810071053k6da13d96j391ade1a30599fa1@mail.gmail.com> <48EBA6F2.2090606@elischer.org> Cc: freebsd-questions@freebsd.org Subject: Re: kgdb debugging X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 04:43:40 -0000 thank you all, device.hints solved it! On Tue, Oct 7, 2008 at 11:14 AM, Julian Elischer wrote: > alan yang wrote: >> >> Could people shed some light how to get remote debugging going, must >> be something that i overlooked, really appreciate. >> >> Two FreeBSD7 systems, target and development, connected with null >> modem cable on each's COM1. >> >> step 1) >> - rebuild kernel with following options: >> options DDB >> options KDB >> options GDB >> >> makeoptions DEBUG=-g > > add hints.dev.uart.0.flags=0xc0 > (or whatever it is) (see man uart or man sio) > to /boot/device.hints > >> >> step 2) >> - from development system >> cd to /usr/src/sys/i386/comiple/MYKERNEL >> kgdb -r /dev/cuad0 kernel.debug >> >> it displays the following: >> Switching to remote protocol >> Ignoring packet error, continuing >> ......... >> Couldn't establish connection to remote target >> Malformed response to offset query, timeout >> >> step 3) >> - from targetsystem: >> 1. Ctrl + Alt + Esc to go into db >> 2. from db> type gdb >> 3. it displays: "The remote GDB backend could not be >> selected" >> >> >> >> On Mon, Oct 6, 2008 at 5:12 PM, alan yang wrote: >>> >>> the problem is, when entering gdb from db as described in the following: >>> -- >>> Enter ing gdb from ddb >>> In FreeBSD you can build a kernel with support for both ddb and gdb. >>> You can then >>> change backwards and forwards between them. For example, if you're in >>> ddb, you can >>> go to gdb like this: >>> db> gdb >>> Next trap will enter GDB remote protocol mode >>> db> si step a single instruction to reenter ddb >>> -- >>> after typing gdb command, it says: "The remote GDB backend could not >>> be selected" >>> that i am not sure what this indicates; looking at subr_kdb.c, wonder >>> maybe kdb_dbbe_set is not set? seems kdb_dbbe_set is not referenced >>> anywhere, not sure how to get it right. >>> >>> thanks for shed some light ... >>> >>> On Mon, Oct 6, 2008 at 4:26 PM, Pietro Cerutti wrote: >>>> >>>> -----BEGIN PGP SIGNED MESSAGE----- >>>> Hash: SHA512 >>>> >>>> alan yang wrote: >>>> | hi, there, >>>> | >>>> | wonder people can shed some lights on remote debugging. i have >>>> | freebsd7 configured with option DDB / KDB / GDB but after entering the >>>> | db on the target system the command gdb gives "the remote GDB backend >>>> | could not be selected". >>>> | >>>> | i browsed through the mailing list, and do find 1 similar post but >>>> | without answer. >>>> | >>>> | thanks in advance & apology if i overlooked things ... >>>> >>>> I suggest the following tutorial: >>>> http://www.lemis.com/grog/Papers/Debug-tutorial/tutorial.pdf >>>> >>>> Have fun :) >>>> >>>> | >>>> | cheers, >>>> | alan >>>> | _______________________________________________ >>>> | freebsd-hackers@freebsd.org mailing list >>>> | http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >>>> | To unsubscribe, send any mail to >>>> "freebsd-hackers-unsubscribe@freebsd.org" >>>> >>>> >>>> - -- >>>> Pietro Cerutti >>>> gahr@FreeBSD.org >>>> >>>> PGP Public Key: >>>> http://gahr.ch/pgp >>>> >>>> -----BEGIN PGP SIGNATURE----- >>>> Version: GnuPG v2.0.9 (FreeBSD) >>>> >>>> iEYEAREKAAYFAkjqnpQACgkQwMJqmJVx945RSwCgoDb0JTr8LSFDB1vpAbGUjb76 >>>> ZH0An19HpFVJJTUB5/XnyZc0pIDzgxc3 >>>> =6Pdm >>>> -----END PGP SIGNATURE----- >>>> >> _______________________________________________ >> freebsd-hackers@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > > From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 05:06:44 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBB341065696 for ; Thu, 9 Oct 2008 05:06:44 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.231]) by mx1.freebsd.org (Postfix) with ESMTP id 968E28FC23 for ; Thu, 9 Oct 2008 05:06:44 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so823582wra.27 for ; Wed, 08 Oct 2008 22:06:43 -0700 (PDT) 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 :content-transfer-encoding:content-disposition:references; bh=yRhuFuoPbcx3Gw/v5islMNzRTOh5OnA99bkE6ZxC5y8=; b=kRFwQEN7aK4A0k0M7GNpfYL2g5LJMv0m4De5ga9RyPPPREQPqP2cHALBT6rtx6r/er z5y+WWtLxUhb+kMT7dDmUsYRCpRPopwyq4bCvzeYKZiUtmeGmrqMAhSb05KDB4Vvtci6 X7GaWd6c6gWYvaPcICZcfJeYqgGp+BJY1sBE8= 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:content-transfer-encoding:content-disposition :references; b=Jm2itzxSOtNVToBH8Ec4jRAQKPaSH9+jnkAYbnk2Mwexe2KllFIR7NCLUOOa+9Q/wT Y+6CkyEERC7waj7DQRBHgLO8KwPpLg1aOccIWv29dgBEdTlIV0vZ1Q0CLbab6AI6sOUW XQ+mdujFBYDnS4RNh3Xa3xqymS8hb6T+v1Ic0= Received: by 10.64.184.16 with SMTP id h16mr15363021qbf.47.1223528802647; Wed, 08 Oct 2008 22:06:42 -0700 (PDT) Received: by 10.64.112.18 with HTTP; Wed, 8 Oct 2008 22:06:42 -0700 (PDT) Message-ID: <94136a2c0810082206u3e1de52el320672c67665ef5a@mail.gmail.com> Date: Thu, 9 Oct 2008 07:06:42 +0200 From: "Zbigniew Szalbot" To: freebsd-questions In-Reply-To: <48ED0986.6060100@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <94136a2c0810072248t7143c6am7b5740a7d770317d@mail.gmail.com> <48ED0986.6060100@infracaninophile.co.uk> Subject: Re: mysql binlogs and their expiry times X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 05:06:45 -0000 Hello, >> -r--r--r-- 1 mysql mysql 4954 Oct 1 07:30 my.cnf >> drwx------ 2 mysql mysql 1536 Sep 27 07:10 mysql >> -rw-rw---- 1 mysql mysql 1073745213 Sep 2 04:07 mysql-bin.000047 >> -rw-rw---- 1 mysql mysql 1073746878 Sep 7 03:48 mysql-bin.000048 >> -rw-rw---- 1 mysql mysql 1073745707 Sep 11 20:07 mysql-bin.000049 >> -rw-rw---- 1 mysql mysql 175527890 Sep 12 08:32 mysql-bin.000050 >> -rw-rw---- 1 mysql mysql 128272 Sep 12 08:40 mysql-bin.000051 >> -rw-rw---- 1 mysql mysql 1073745119 Sep 17 04:35 mysql-bin.000052 >> -rw-rw---- 1 mysql mysql 1073747657 Sep 22 04:26 mysql-bin.000053 >> -rw-rw---- 1 mysql mysql 1073744456 Sep 27 03:28 mysql-bin.000054 >> -rw-rw---- 1 mysql mysql 986782722 Oct 1 07:32 mysql-bin.000055 >> -rw-rw---- 1 mysql mysql 1073742442 Oct 6 04:18 mysql-bin.000056 >> -rw-rw---- 1 mysql mysql 536487381 Oct 8 07:45 mysql-bin.000057 >> -rw-r----- 1 mysql mysql 209 Oct 6 04:18 mysql-bin.index > What's the output from running this SQL: "SHOW BINARY LOGS ;" ? mysql> SHOW BINARY LOGS ; +------------------+------------+ | Log_name | File_size | +------------------+------------+ | mysql-bin.000055 | 986782722 | | mysql-bin.000056 | 1073742442 | | mysql-bin.000057 | 754496837 | +------------------+------------+ 3 rows in set (0.01 sec) $ cat /usr/local/mysql/mysql-bin.index ./mysql-bin.000055 ./mysql-bin.000056 ./mysql-bin.000057 So all seems fine. Actually, I have taken this question to mysql list and found out that other users are reporting similar problems. http://lists.mysql.com/mysql/206576 http://bugs.mysql.com/bug.php?id=28238 http://lists.mysql.com/mysql/202793 So my final solution (if anyone's interested) was adding this to crontab 11 11 * * * /usr/local/bin/mysql -u root -psecret -e "PURGE MASTER LOGS BEFORE DATE_SUB(CURRENT_DATE, INTERVAL 7 DAY)" It works so no problem but I do not really like the idea of providing passwords in crontab. I wish the option in my.cnf file worked as advertised. Anyway, thank you very much for your help. -- Zbigniew Szalbot From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 05:14:15 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AC8C1065689 for ; Thu, 9 Oct 2008 05:14:15 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA03.westchester.pa.mail.comcast.net (qmta03.westchester.pa.mail.comcast.net [76.96.62.32]) by mx1.freebsd.org (Postfix) with ESMTP id 044CE8FC14 for ; Thu, 9 Oct 2008 05:14:14 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA12.westchester.pa.mail.comcast.net ([76.96.62.44]) by QMTA03.westchester.pa.mail.comcast.net with comcast id QV8R1a0020xGWP853VEEGq; Thu, 09 Oct 2008 05:14:14 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA12.westchester.pa.mail.comcast.net with comcast id QVEC1a0072P6wsM3YVEDP9; Thu, 09 Oct 2008 05:14:14 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=bkFWSCt2OigFfYWj3NgA:9 a=EmMmlL9NvhBrx5HZORe9Xg987AcA:4 a=EoioJ0NPDVgA:10 a=9z6DURnkIoAA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id C7B9EC9419; Wed, 8 Oct 2008 22:14:12 -0700 (PDT) Date: Wed, 8 Oct 2008 22:14:12 -0700 From: Jeremy Chadwick To: alan yang Message-ID: <20081009051412.GA95086@icarus.home.lan> References: <290865fd0810061544ubbe92fdsf75501bb729da3f0@mail.gmail.com> <48EA9E95.80105@FreeBSD.org> <290865fd0810061712sfdf5a0p4d3954773ee27a3d@mail.gmail.com> <290865fd0810071053k6da13d96j391ade1a30599fa1@mail.gmail.com> <48EBA6F2.2090606@elischer.org> <290865fd0810082143l46796079mfe2c6adeed4656b0@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <290865fd0810082143l46796079mfe2c6adeed4656b0@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Julian Elischer , freebsd-questions@freebsd.org Subject: Re: kgdb debugging X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 05:14:15 -0000 On Wed, Oct 08, 2008 at 09:43:38PM -0700, alan yang wrote: > thank you all, device.hints solved it! > > On Tue, Oct 7, 2008 at 11:14 AM, Julian Elischer wrote: > > alan yang wrote: > >> > >> Could people shed some light how to get remote debugging going, must > >> be something that i overlooked, really appreciate. > >> > >> Two FreeBSD7 systems, target and development, connected with null > >> modem cable on each's COM1. > >> > >> step 1) > >> - rebuild kernel with following options: > >> options DDB > >> options KDB > >> options GDB > >> > >> makeoptions DEBUG=-g > > > > add hints.dev.uart.0.flags=0xc0 > > (or whatever it is) (see man uart or man sio) > > to /boot/device.hints This is a bad recommendation. *DO NOT* modify device.hints!!! You can override device.hints entries, or add your own, by using loader.conf. Example, taken from our loader.conf on production systems: # There is no COM2 on this system. hint.sio.1.disabled="1" Thus, in your case, this should suffice (note "hint", not "hints" like the above paragraph says): hint.dev.uart.0.flags="0xc0" -- | 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 Thu Oct 9 05:43:41 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76B151065686 for ; Thu, 9 Oct 2008 05:43:41 +0000 (UTC) (envelope-from stupendoussteve@hotmail.com) Received: from bay0-omc1-s23.bay0.hotmail.com (bay0-omc1-s23.bay0.hotmail.com [65.54.246.95]) by mx1.freebsd.org (Postfix) with ESMTP id 63B508FC14 for ; Thu, 9 Oct 2008 05:43:41 +0000 (UTC) (envelope-from stupendoussteve@hotmail.com) Received: from hotmail.com ([207.46.10.243]) by bay0-omc1-s23.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 8 Oct 2008 22:31:40 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 8 Oct 2008 22:31:40 -0700 Message-ID: Received: from 207.46.10.254 by by122fd.bay122.hotmail.msn.com with HTTP; Thu, 09 Oct 2008 05:31:36 GMT X-Originating-IP: [68.225.143.90] X-Originating-Email: [stupendoussteve@hotmail.com] X-Sender: stupendoussteve@hotmail.com From: "Steven Susbauer" To: freebsd-questions@freebsd.org Date: Thu, 09 Oct 2008 00:31:36 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 09 Oct 2008 05:31:40.0274 (UTC) FILETIME=[4E711520:01C929D0] Subject: Xircom 10/100 cardbus w/ 7-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: Thu, 09 Oct 2008 05:43:41 -0000 I have read a few places of people having issues with the Xircom cardbus networking adapter with -CURRENT and, I guess, with release 7. My card is an IBM EtherFast 10/100. This card works fine in 6.3. In 7 I get "dc0: No station address in CIS!" - same driver This problem appears to be mentioned in http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2006-10/msg00226.html Any ideas on how to fix this issue? I do not have networking on the release cds nor through freebsd-upgrade with the 7-GENERIC kernel. I have to roll back the upgrade to get back online. Thanks From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 06:25:18 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 467D7106568F for ; Thu, 9 Oct 2008 06:25:18 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from angel.comcen.com.au (angel.comcen.com.au [203.23.236.69]) by mx1.freebsd.org (Postfix) with ESMTP id 0CDEF8FC14 for ; Thu, 9 Oct 2008 06:25:17 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [202.172.126.254]) by angel.comcen.com.au (Postfix) with ESMTP id 707235C2E490 for ; Thu, 9 Oct 2008 17:20:25 +1100 (EST) From: Da Rock To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Thu, 09 Oct 2008 16:21:20 +1000 Message-Id: <1223533280.12779.23.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit X-comcen-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 707235C2E490.E2B58 X-comcen-MailScanner: Found to be clean X-comcen-MailScanner-SpamCheck: not spam, SpamAssassin (score=0.1, required 3, RDNS_NONE 0.10) X-comcen-MailScanner-From: rock_on_the_web@comcen.com.au X-Spam-Status: No Subject: !@%%## maildrop and postfix - temporary authentication failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 06:25:18 -0000 I'm really about to throw this damn server through a closed window (or better yet a brick wall). I've searched high and low on google for a straight answer, and any references in mailing lists give an answer of read the INSTALL file (as if thats supposed to solve everything). I have virtual users for email in postfix, and I want to use maildrop to deliver to the virtual mailboxes. Problem is, when it does use maildrop it shows an error in the logs as the subject line says. I've tried everything, checked everything. That supposed magic solution in the INSTALL file says only ONE thing needs to be set to get it to work. Maildrop is owned by root and group is mail. The socket is rwx globally (all this is set by the port install). The executing user for pipe in postfix is vmail. I've installed the port with authlib and gdbm (even manually adjusted the makefile to ensure --enable-userdb). Nada. The generally consensus is that it should work out of the box- so what the hell am I doing wrong? Where should I be looking? Specifically: what is not authenticating? I can manually test maildrop ok. So wtf? You'll have to excuse my language here- I'm not sure how much hair I have left after working on this for several days... From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 06:51:46 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7DA3106568E for ; Thu, 9 Oct 2008 06:51:46 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 5EC778FC16 for ; Thu, 9 Oct 2008 06:51:45 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KnpN7-0001y6-AS for freebsd-questions@freebsd.org; Thu, 09 Oct 2008 06:51:41 +0000 Received: from 89-172-32-252.adsl.net.t-com.hr ([89.172.32.252]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Oct 2008 06:51:41 +0000 Received: from ivoras by 89-172-32-252.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Oct 2008 06:51:41 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Thu, 09 Oct 2008 08:51:31 +0200 Lines: 35 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4975B7CA796A8C705992FAB7" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 89-172-32-252.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) In-Reply-To: X-Enigmail-Version: 0.95.7 Sender: news Subject: Re: Weird FS behavior tru FTP on CD9660 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 06:51:46 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4975B7CA796A8C705992FAB7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sd=C3=A4vtaker wrote: > Hey, > I found a weird situation today, > I mounted a DVD with the mount_cd9660 and accessed it through > "filezilla". I got 2 times every file in the list, go back to the > original Pc and checked with "ls" and they appear only once. :-/ > Im using last version Filezilla in MSW, and ftpd in FBSD7.0r. > I think it can be reading both TOCs in the DVD, but it is weird since > it doesnt happen when doing ls. > Can someone try reproduce it in another setup? You need to test one thing first: use FreeBSD's command-line FTP client (called "ftp") and try to access the same files. --------------enig4975B7CA796A8C705992FAB7 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.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkjtqfMACgkQldnAQVacBciQZACeONAYAKutjzEyMS8kCdo5D3qe LaIAni3UXaTmjOdkjZyGfxpppfZ4kk0L =lfeF -----END PGP SIGNATURE----- --------------enig4975B7CA796A8C705992FAB7-- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 06:55:17 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9288E106568F for ; Thu, 9 Oct 2008 06:55:17 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from angel.comcen.com.au (angel.comcen.com.au [203.23.236.69]) by mx1.freebsd.org (Postfix) with ESMTP id 54FA18FC27 for ; Thu, 9 Oct 2008 06:55:17 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [202.172.126.254]) by angel.comcen.com.au (Postfix) with ESMTP id 574465C2ED7D for ; Thu, 9 Oct 2008 17:51:29 +1100 (EST) From: Da Rock To: freebsd-questions@freebsd.org In-Reply-To: <1223533280.12779.23.camel@laptop1.herveybayaustralia.com.au> References: <1223533280.12779.23.camel@laptop1.herveybayaustralia.com.au> Content-Type: text/plain Date: Thu, 09 Oct 2008 16:52:29 +1000 Message-Id: <1223535149.12779.32.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit X-comcen-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 574465C2ED7D.4D703 X-comcen-MailScanner: Found to be clean X-comcen-MailScanner-SpamCheck: not spam, SpamAssassin (score=0.1, required 3, RDNS_NONE 0.10) X-comcen-MailScanner-From: rock_on_the_web@comcen.com.au X-Spam-Status: No Subject: [SOLVED] Re: !@%%## maildrop and postfix - temporary authentication failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 06:55:17 -0000 On Thu, 2008-10-09 at 16:21 +1000, Da Rock wrote: > I'm really about to throw this damn server through a closed window (or > better yet a brick wall). I've searched high and low on google for a > straight answer, and any references in mailing lists give an answer of > read the INSTALL file (as if thats supposed to solve everything). > > I have virtual users for email in postfix, and I want to use maildrop to > deliver to the virtual mailboxes. Problem is, when it does use maildrop > it shows an error in the logs as the subject line says. > > I've tried everything, checked everything. That supposed magic solution > in the INSTALL file says only ONE thing needs to be set to get it to > work. Maildrop is owned by root and group is mail. The socket is rwx > globally (all this is set by the port install). The executing user for > pipe in postfix is vmail. > > I've installed the port with authlib and gdbm (even manually adjusted > the makefile to ensure --enable-userdb). Nada. > > The generally consensus is that it should work out of the box- so what > the hell am I doing wrong? Where should I be looking? Specifically: what > is not authenticating? I can manually test maildrop ok. So wtf? > > You'll have to excuse my language here- I'm not sure how much hair I > have left after working on this for several days... Ok, I know I'm answering my own question here- but this should definitely be fixed. In the INSTALL file, someone should change the statement where it says "When using the standalone maildrop build with courier-authlib, one of the following configurations must be used:"\ to: "When using the standalone maildrop build with courier-authlib, ALL of the following configurations must be used:" Just after I sent the email I thought I'd check the only thing I hadn't changed, the setuid bit. There are several reasons why I hadn't had the guts to do this before- but in my mood I was feeling reckless. 1. The statement in the INSTALL file said only one configuration needed to be changed. 2. I installed from ports- I would have thought (like most would, and history has served to provide empirical data) that the install process would have set this. 3. None of the information I read when searching emphasised this when all other options are already set- and certainly none based on freebsd. Anyone else with this issue popping up THIS is the answer- set ALL the configuration options in the INSTALL file. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 06:59:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F1F310656A9 for ; Thu, 9 Oct 2008 06:59:08 +0000 (UTC) (envelope-from herbs@langhans.com.pl) Received: from langhans.com.pl (host-194126238033.net-serwis.pl [194.126.238.33]) by mx1.freebsd.org (Postfix) with ESMTP id 7D9BF8FC4B for ; Thu, 9 Oct 2008 06:59:06 +0000 (UTC) (envelope-from herbs@langhans.com.pl) Received: by langhans.com.pl (Postfix, from userid 1000) id 9B7CB192923; Thu, 9 Oct 2008 08:49:21 +0200 (CEST) Date: Thu, 9 Oct 2008 08:49:21 +0200 From: herbs To: freebsd-questions@freebsd.org Message-ID: <20081009064921.GA28551@greencat.langhans.com.pl> References: <1223533280.12779.23.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1223533280.12779.23.camel@laptop1.herveybayaustralia.com.au> User-Agent: Mutt/1.4.2.1i Subject: Re: !@%%## maildrop and postfix - temporary authentication failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 06:59:08 -0000 Is there anything in the instructions about the gid or uid? Maybe there is something wrong. Just an idea.. herbs On Thu, Oct 09, 2008 at 04:21:20PM +1000, Da Rock wrote: > I'm really about to throw this damn server through a closed window (or > better yet a brick wall). I've searched high and low on google for a > straight answer, and any references in mailing lists give an answer of > read the INSTALL file (as if thats supposed to solve everything). > > I have virtual users for email in postfix, and I want to use maildrop to > deliver to the virtual mailboxes. Problem is, when it does use maildrop > it shows an error in the logs as the subject line says. > > I've tried everything, checked everything. That supposed magic solution > in the INSTALL file says only ONE thing needs to be set to get it to > work. Maildrop is owned by root and group is mail. The socket is rwx > globally (all this is set by the port install). The executing user for > pipe in postfix is vmail. > > I've installed the port with authlib and gdbm (even manually adjusted > the makefile to ensure --enable-userdb). Nada. > > The generally consensus is that it should work out of the box- so what > the hell am I doing wrong? Where should I be looking? Specifically: what > is not authenticating? I can manually test maildrop ok. So wtf? > > You'll have to excuse my language here- I'm not sure how much hair I > have left after working on this for several days... > > _______________________________________________ > 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" > -- ******* Herbert Langhans, Warschau ******* Sprachtraining Langhans ******* http://www.langhans.com.pl ******* herbert at langhans.com.pl ******* NIP 526-229-61-51 ******* Regon 014911759 ******* Tel. 603 341 441 From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 07:01:55 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D692410656A0 for ; Thu, 9 Oct 2008 07:01:55 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from viefep18-int.chello.at (viefep18-int.chello.at [213.46.255.22]) by mx1.freebsd.org (Postfix) with ESMTP id 1C1908FC3A for ; Thu, 9 Oct 2008 07:01:54 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from edge04.upc.biz ([192.168.13.239]) by viefep18-int.chello.at (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20081009070153.QVPQ20698.viefep18-int.chello.at@edge04.upc.biz>; Thu, 9 Oct 2008 09:01:53 +0200 Received: from [192.168.2.175] ([89.134.231.52]) by edge04.upc.biz with edge id QX1r1a00Q18VCLh04X1sMZ; Thu, 09 Oct 2008 09:01:53 +0200 X-SourceIP: 89.134.231.52 Message-ID: <48EDAC5F.1000102@shopzeus.com> Date: Thu, 09 Oct 2008 09:01:51 +0200 From: Laszlo Nagy User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 To: Manolis Kiagias References: <48EC63A2.7000706@shopzeus.com> <48EC9D80.50704@gmail.com> In-Reply-To: <48EC9D80.50704@gmail.com> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: GEOM_JOURNAL: Timeout. Journal gjournal XXXX cannot be completed. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 07:01:55 -0000 >> >> GEOM_JOURNAL: Timeout. Journal gjournal 2578807269 cannot be completed. >> > Screenshots will not come through on the list, could you upload them > somewhere and send a link? > Is the partition you are trying to journal mounted? Now I figured out that the size of the journal partition was too small. I changed it to 40GB and now it is fine. Thanks, Laszlo From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 07:12:20 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 595C0106569E for ; Thu, 9 Oct 2008 07:12:20 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from smtp-1.orange.nl (smtp-1.orange.nl [193.252.22.241]) by mx1.freebsd.org (Postfix) with ESMTP id 1ADA08FC26 for ; Thu, 9 Oct 2008 07:12:19 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf6001.online.nl (SMTP Server) with ESMTP id 0AE731C00085 for ; Thu, 9 Oct 2008 09:12:15 +0200 (CEST) Received: from [192.168.2.173] (s5590cf7b.adsl.wanadoo.nl [85.144.207.123]) by mwinf6001.online.nl (SMTP Server) with ESMTP id C282D1C00082 for ; Thu, 9 Oct 2008 09:12:14 +0200 (CEST) X-ME-UUID: 20081009071214796.C282D1C00082@mwinf6001.online.nl From: Aniruddha To: freebsd-questions@freebsd.org In-Reply-To: <20081008223141.GA97321@melon.esperance-linux.co.uk> References: <1223412136.3966.10.camel@debian> <4463o4qe3c.fsf@be-well.ilk.org> <1223490072.3978.3.camel@debian> <20081008210853.GA97002@melon.esperance-linux.co.uk> <1223502091.4635.3.camel@debian> <20081008223141.GA97321@melon.esperance-linux.co.uk> Content-Type: text/plain Date: Thu, 09 Oct 2008 09:12:28 +0200 Message-Id: <1223536348.4635.15.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Subject: Re: Can't get soundcard to work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 07:12:20 -0000 On Wed, 2008-10-08 at 23:31 +0100, Frank Shute wrote: > > ls /dev/d > > da0 da2 dcons devstat dsp0.0 dsp1.0 > > da1 da3 devctl dgdb dsp0.1 dumpdev > > On my machine: > > $ ls /dev | grep dsp > dsp0.0 > dsp0.1 > > i.e no dsp1.0 > > Could be that the 2 cards are confusing it, as you suggested previously > (they both use the same driver). Can you disable one in the BIOS? I am afraid not :( my ATI radeon 3850 comes with HDMI support which I can't disable. > What does: > > $ cat /dev/sndstat > > give you? sndstat: > FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) > Installed devices: > pcm0: at memory 0xff9ec000 irq 17 kld snd_hda [20080420_0052] [MPSAFE] (mixer only) > pcm1: at memory 0xffafc000 irq 19 kld snd_hda [20080420_0052] [MPSAFE] (1p:1v/1r:1v channels duplex) > I'm not surprised it freaks out - it's probably struggling to figure > out which card to use. > > I feel pretty sure you'll have better luck disabling one. I have had 2 > cards in the same machine before but they used different drivers. Can this problem be solved with buying an new soundcard? Or wil I run into the same mess? -- Regards, Aniruddha From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 07:13:50 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF8531065689 for ; Thu, 9 Oct 2008 07:13:50 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from smtp-2.orange.nl (smtp-2.orange.nl [193.252.22.242]) by mx1.freebsd.org (Postfix) with ESMTP id 932B08FC21 for ; Thu, 9 Oct 2008 07:13:50 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf6102.online.nl (SMTP Server) with ESMTP id 6D8361C00082 for ; Thu, 9 Oct 2008 09:13:49 +0200 (CEST) Received: from [192.168.2.173] (s5590cf7b.adsl.wanadoo.nl [85.144.207.123]) by mwinf6102.online.nl (SMTP Server) with ESMTP id 39B4B1C00081 for ; Thu, 9 Oct 2008 09:13:49 +0200 (CEST) X-ME-UUID: 20081009071349236.39B4B1C00081@mwinf6102.online.nl From: Aniruddha To: freebsd-questions@freebsd.org In-Reply-To: <48ED3F44.6070400@bah.homeip.net> References: <1223412136.3966.10.camel@debian> <48ED3F44.6070400@bah.homeip.net> Content-Type: text/plain Date: Thu, 09 Oct 2008 09:14:02 +0200 Message-Id: <1223536442.4635.17.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Subject: Re: Can't get soundcard to work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 07:13:50 -0000 On Thu, 2008-10-09 at 01:16 +0200, Bernt Hansson wrote: > Aniruddha skrev: > > I've read the "Setting Up the Sound Card" part in the FreeBSD handbook > > unfortunately I can't get my Intel HDA card to work. Any ideas would be > > appreciated! Here's some relevant output: > > > > If you load the driver manually, can you play a tune then? > For me snd_hda_load="YES" does not load the driver. I have to do it with > kldload snd_hda. > I'll try this and post the results. Afaik I got a message "driver already loaded" -- Regards, Aniruddha From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 07:19:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0C401065687 for ; Thu, 9 Oct 2008 07:19:08 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from smtp-4.orange.nl (smtp-4.orange.nl [193.252.22.249]) by mx1.freebsd.org (Postfix) with ESMTP id A4A868FC13 for ; Thu, 9 Oct 2008 07:19:08 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf6301.online.nl (SMTP Server) with ESMTP id 2EB387000087 for ; Thu, 9 Oct 2008 09:19:07 +0200 (CEST) Received: from [192.168.2.173] (s5590cf7b.adsl.wanadoo.nl [85.144.207.123]) by mwinf6301.online.nl (SMTP Server) with ESMTP id EE0357000086 for ; Thu, 9 Oct 2008 09:19:06 +0200 (CEST) X-ME-UUID: 20081009071906974.EE0357000086@mwinf6301.online.nl From: Aniruddha To: freebsd-questions@freebsd.org In-Reply-To: <20081008234628.039773d3@baby-jane-lamaiziere-net.local> References: <1223498563.3978.19.camel@debian> <20081008234628.039773d3@baby-jane-lamaiziere-net.local> Content-Type: text/plain; charset=UTF-8 Date: Thu, 09 Oct 2008 09:19:20 +0200 Message-Id: <1223536760.4635.24.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 8bit Subject: Re: What is a recommended soundcard for 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, 09 Oct 2008 07:19:09 -0000 On Wed, 2008-10-08 at 23:46 +0200, Patrick Lamaizière wrote: > Le Wed, 08 Oct 2008 22:42:43 +0200, > Aniruddha a écrit : > > > Because of the problems with my onboard Intel HDA audio chip I plan to > > buy a soundcard that is supported by FreeBSD. > > There is a new hda driver in current, may be you can try it on > RELENG_7? > > See > http://www.nabble.com/Re%3A-New-snd_hda-driver-came-in.-p19499206.html > > Good luck! > > Regards. > Thanks I'll check it out.v In the meantime I'm real curious about FreeBSD user experience with X-fi :) -- Regards, Aniruddha From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 07:27:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F5331065689 for ; Thu, 9 Oct 2008 07:27:59 +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 3AB868FC1F for ; Thu, 9 Oct 2008 07:27:59 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Knpw9-0003Kq-HB for freebsd-questions@freebsd.org; Thu, 09 Oct 2008 07:27:53 +0000 Received: from pool-138-88-129-188.esr.east.verizon.net ([138.88.129.188]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Oct 2008 07:27:53 +0000 Received: from nightrecon by pool-138-88-129-188.esr.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Oct 2008 07:27:53 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Date: Thu, 09 Oct 2008 03:31:38 -0400 Lines: 18 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-138-88-129-188.esr.east.verizon.net Sender: news Subject: Re: Weird FS behavior tru FTP on CD9660 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nightrecon@verizon.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 07:27:59 -0000 Sdävtaker wrote: > Hey, > I found a weird situation today, > I mounted a DVD with the mount_cd9660 and accessed it through > "filezilla". I got 2 times every file in the list, go back to the > original Pc and checked with "ls" and they appear only once. :-/ > Im using last version Filezilla in MSW, and ftpd in FBSD7.0r. > I think it can be reading both TOCs in the DVD, but it is weird since > it doesnt happen when doing ls. > Can someone try reproduce it in another setup? > Sdav I believe this is fixed in RELENG_7. -Mike From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 07:28:10 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4313210656AB for ; Thu, 9 Oct 2008 07:28:10 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA09.westchester.pa.mail.comcast.net (qmta09.westchester.pa.mail.comcast.net [76.96.62.96]) by mx1.freebsd.org (Postfix) with ESMTP id DC4B48FC14 for ; Thu, 9 Oct 2008 07:28:09 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA02.westchester.pa.mail.comcast.net ([76.96.62.19]) by QMTA09.westchester.pa.mail.comcast.net with comcast id QXEX1a0020QuhwU59XU8Zt; Thu, 09 Oct 2008 07:28:08 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA02.westchester.pa.mail.comcast.net with comcast id QXU71a0082P6wsM3NXU8Sz; Thu, 09 Oct 2008 07:28:08 +0000 X-Authority-Analysis: v=1.0 c=1 a=H_INWwDCAYYA:10 a=fl9ZgZ941HIA:10 a=QycZ5dHgAAAA:8 a=JZ1Y4_ZXWiTfDMjn3aoA:9 a=sBvUGY6sHDGVZ2b8te0A:7 a=0xX6rwa9NPjbTUr9NjS7WGhyJx0A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 30481C9419; Thu, 9 Oct 2008 00:28:07 -0700 (PDT) Date: Thu, 9 Oct 2008 00:28:07 -0700 From: Jeremy Chadwick To: Da Rock Message-ID: <20081009072807.GA97354@icarus.home.lan> References: <1223533280.12779.23.camel@laptop1.herveybayaustralia.com.au> <1223535149.12779.32.camel@laptop1.herveybayaustralia.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1223535149.12779.32.camel@laptop1.herveybayaustralia.com.au> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: [SOLVED] Re: !@%%## maildrop and postfix - temporary authentication failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 07:28:10 -0000 On Thu, Oct 09, 2008 at 04:52:29PM +1000, Da Rock wrote: > > On Thu, 2008-10-09 at 16:21 +1000, Da Rock wrote: > > I'm really about to throw this damn server through a closed window (or > > better yet a brick wall). I've searched high and low on google for a > > straight answer, and any references in mailing lists give an answer of > > read the INSTALL file (as if thats supposed to solve everything). > > > > I have virtual users for email in postfix, and I want to use maildrop to > > deliver to the virtual mailboxes. Problem is, when it does use maildrop > > it shows an error in the logs as the subject line says. > > > > I've tried everything, checked everything. That supposed magic solution > > in the INSTALL file says only ONE thing needs to be set to get it to > > work. Maildrop is owned by root and group is mail. The socket is rwx > > globally (all this is set by the port install). The executing user for > > pipe in postfix is vmail. > > > > I've installed the port with authlib and gdbm (even manually adjusted > > the makefile to ensure --enable-userdb). Nada. > > > > The generally consensus is that it should work out of the box- so what > > the hell am I doing wrong? Where should I be looking? Specifically: what > > is not authenticating? I can manually test maildrop ok. So wtf? > > > > You'll have to excuse my language here- I'm not sure how much hair I > > have left after working on this for several days... > > Ok, I know I'm answering my own question here- but this should > definitely be fixed. > > In the INSTALL file, someone should change the statement where it says > "When using the standalone maildrop build with courier-authlib, one > of the following configurations must be used:"\ > > to: "When using the standalone maildrop build with courier-authlib, ALL > of the following configurations must be used:" > > Just after I sent the email I thought I'd check the only thing I hadn't > changed, the setuid bit. There are several reasons why I hadn't had the > guts to do this before- but in my mood I was feeling reckless. > > 1. The statement in the INSTALL file said only one configuration needed > to be changed. > 2. I installed from ports- I would have thought (like most would, and > history has served to provide empirical data) that the install process > would have set this. > 3. None of the information I read when searching emphasised this when > all other options are already set- and certainly none based on freebsd. > > Anyone else with this issue popping up THIS is the answer- set ALL the > configuration options in the INSTALL file. This should go to freebsd-ports, not freebsd-questions. I would also recommend filing a PR about this, since otherwise it's unlikely to get addressed/fixed. -- | 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 Thu Oct 9 07:30:30 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B921810656A5 for ; Thu, 9 Oct 2008 07:30:30 +0000 (UTC) (envelope-from que_deseja@hotmail.com) Received: from blu0-omc3-s4.blu0.hotmail.com (blu0-omc3-s4.blu0.hotmail.com [65.55.116.79]) by mx1.freebsd.org (Postfix) with ESMTP id 7F9448FC1B for ; Thu, 9 Oct 2008 07:30:29 +0000 (UTC) (envelope-from que_deseja@hotmail.com) Received: from BLU126-W39 ([65.55.116.72]) by blu0-omc3-s4.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 9 Oct 2008 00:30:29 -0700 Message-ID: X-Originating-IP: [98.192.204.41] From: Desmond Chapman To: , Date: Thu, 9 Oct 2008 07:30:28 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 09 Oct 2008 07:30:29.0309 (UTC) FILETIME=[E7AD7ED0:01C929E0] Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: linux emulation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 07:30:30 -0000 I don't know if anyone else is trying=3B but=2C I am attempting a Linux ins= tallation of virtualbox on FreeBSD amd64.=20 Here is the output first: "sh Desktop/VirtualBox-1.6.0-Linux_amd64.run Verifying archive integrity... All good. Uncompressing VirtualBox for Linux installation........ VirtualBox Version 1.6.0 (Wed Apr 30 22:37:39 CEST 2008) installation Please install GNU make. Please install the build and header files for your current Linux kernel. The current kernel version is 7.0-RELEASE Problems were found which would prevent VirtualBox from installing. Please correct these problems and try again." Okay. Do I need to brandelf this binary? Where are the headers for fc4 or kernel 2.4.x? kBuild is still broken. I've asked the maintainer to re-implement it along = with a warning. It's needed to build virtualbox. _________________________________________________________________ See how Windows Mobile brings your life together=97at home=2C work=2C or on= the go. http://clk.atdmt.com/MRT/go/msnnkwxp1020093182mrt/direct/01/= From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 07:46:19 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62357106569C for ; Thu, 9 Oct 2008 07:46:19 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id C9A518FC24 for ; Thu, 9 Oct 2008 07:46:18 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from lack-of-gravitas.thebunker.net (gateway.ash.thebunker.net [213.129.64.4]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id m997k6xq076690 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 9 Oct 2008 08:46:12 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk m997k6xq076690 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1223538372; bh=Wrq3vnrvrtgLxc w52CDyAPDCistyNhQyTPwBf4r5Yn0=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type: Content-Transfer-Encoding:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<48EDB6BD.1 070209@infracaninophile.co.uk>|Date:=20Thu,=2009=20Oct=202008=2008: 46:05=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User-Agent:=20Thunderbird= 202.0.0.17=20(X11/20081002)|MIME-Version:=201.0|To:=20Zbigniew=20Sz albot=20|CC:=20freebsd-questions=20|Subject:=20Re:=20mysql=20binlogs=20and=20their= 20expiry=20times|References:=20<94136a2c0810072248t7143c6am7b5740a7 d770317d@mail.gmail.com>=09<48ED0986.6060100@infracaninophile.co.uk >=20<94136a2c0810082206u3e1de52el320672c67665ef5a@mail.gmail.com>|I n-Reply-To:=20<94136a2c0810082206u3e1de52el320672c67665ef5a@mail.gm ail.com>|X-Enigmail-Version:=200.95.6|Content-Type:=20text/plain=3B =20charset=3DUTF-8=3B=20format=3Dflowed|Content-Transfer-Encoding:= 207bit; b=ZyPMt/uipiUzGpi++3aD/2y+vnlvT010mm9ZUnqmcnFqVQVkpxbpkYSSM PcBfRqbEJa4swXnSDW6o+8BHHFV9ryik3Qq+H8lig6o0tPebu3ZzRMof+YHjbGnQilA WsUD2kPBKXgZ0ILhdCddt8uAgedZ/fip9cVr9ID5IrZCO0k= Message-ID: <48EDB6BD.1070209@infracaninophile.co.uk> Date: Thu, 09 Oct 2008 08:46:05 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.17 (X11/20081002) MIME-Version: 1.0 To: Zbigniew Szalbot References: <94136a2c0810072248t7143c6am7b5740a7d770317d@mail.gmail.com> <48ED0986.6060100@infracaninophile.co.uk> <94136a2c0810082206u3e1de52el320672c67665ef5a@mail.gmail.com> In-Reply-To: <94136a2c0810082206u3e1de52el320672c67665ef5a@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (smtp.infracaninophile.co.uk [81.187.76.162]); Thu, 09 Oct 2008 08:46:12 +0100 (BST) X-Virus-Scanned: ClamAV 0.94/8398/Thu Oct 9 04:58:03 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,SPF_FAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions Subject: Re: mysql binlogs and their expiry times X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 07:46:19 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Zbigniew Szalbot wrote: | It works so no problem but I do not really like the idea of providing | passwords in crontab. I wish the option in my.cnf file worked as | advertised. Hmmm.... It's always worked for me to create a file /root/.my.cnf containing: [client] user = root password = imnottellingyou Make sure that's mode 400. You should then be able to type 'mysql' as the unix root user and be auto-logged into a root level mysql session without having to type in the password explicitly. Other client applications (mysqldump, mysqladmin, mysqlcheck etc.) will work similarly. Note that you want to run 'mysql_secure_installation' or otherwise get rid of remote root level access to MySQL to ensure security. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. Flat 3 ~ 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate ~ Kent, CT11 9PW, UK -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREDAAYFAkjttr0ACgkQ3jDkPpsZ+VYYdQCfX/ZZqS9gb0HARekVm/rn/nYd za8An02zwJl2QBO3q9kFVgcTwUdYASjn =RjRK -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 07:51:16 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6F611065688 for ; Thu, 9 Oct 2008 07:51:16 +0000 (UTC) (envelope-from shinjii@exemail.com.au) Received: from acorn.exetel.com.au (acorn.exetel.com.au [220.233.0.21]) by mx1.freebsd.org (Postfix) with ESMTP id 9CF9F8FC08 for ; Thu, 9 Oct 2008 07:51:16 +0000 (UTC) (envelope-from shinjii@exemail.com.au) Received: from localhost ([127.0.0.1] helo=webmail.exetel.com.au) by acorn.exetel.com.au with esmtp (Exim 4.68) (envelope-from ) id 1KnqIl-0005fu-1O for freebsd-questions@freebsd.org; Thu, 09 Oct 2008 18:51:15 +1100 Received: from 58.96.43.196 (SquirrelMail authenticated user shinjii@exemail.com.au) by webmail.exetel.com.au with HTTP; Thu, 9 Oct 2008 18:51:15 +1100 (EST) Message-ID: <50076.58.96.43.196.1223538675.squirrel@webmail.exetel.com.au> Date: Thu, 9 Oct 2008 18:51:15 +1100 (EST) From: shinjii@exemail.com.au 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: HELP with Compiling qt4-designer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 07:51:16 -0000 Im running AMD64 FreeBSD7.1-PreRelease on KDE4.1.2, so far everything in upgrading was successful apart from the below issue .. any ideas/thoughts ? +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ../../../shared/qtgradienteditor/qtgradientstopsmodel.cpp:482: error: expected constructor, destructor, or type conversion at end of input *** Error code 1 2 errors *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 pkg_create: pkg_perform: unable to open contents file '/usr/ports/devel/qt4-designer/work/.PLIST.mktmp' for input *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 3 errors From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 08:01:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B00D11065699 for ; Thu, 9 Oct 2008 08:01:49 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.224]) by mx1.freebsd.org (Postfix) with ESMTP id 660018FC1A for ; Thu, 9 Oct 2008 08:01:49 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so834127wra.27 for ; Thu, 09 Oct 2008 01:01:48 -0700 (PDT) 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=XgNlYBPttttvujxa7iBXWb+9WagtMz2uJ1gpnHcTbv4=; b=JhOg6s9eNxRgMRGCiVqP8UQ6h6gPT5yqxtQ5ns7jG9d/w4GPmrj8SHyiLcvtBHcjPp ciSz+H/lWUPAMsjxM1Fnoq5ryW4RX+G92G99NP0aE51zK1wkfanjCIcUxvuED8a9iN11 F5DM0fsLbdfvVAPfT4nBtIGDvr2LACJsPrYVs= 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=oSmJKxbDn9tHAlmYI+AlNKO8/9ZsUhr9++1vxQiQi4GCHOWIcmbWQsXF6aWpvXYpCi YBtb59D5CGIvR9XZzbyw7OtvidLPrlsHa8c05vEyW5Zw/sbFqpTBV+dzR6wVOC/XWBgh 31FCuUKFyEe2TWdITuSWwmthSRqyhCgFJVLuI= Received: by 10.64.28.20 with SMTP id b20mr15959825qbb.59.1223539307851; Thu, 09 Oct 2008 01:01:47 -0700 (PDT) Received: by 10.64.112.18 with HTTP; Thu, 9 Oct 2008 01:01:47 -0700 (PDT) Message-ID: <94136a2c0810090101m6fca2baercb028e658641db3d@mail.gmail.com> Date: Thu, 9 Oct 2008 10:01:47 +0200 From: "Zbigniew Szalbot" To: "Matthew Seaman" In-Reply-To: <48EDB6BD.1070209@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <94136a2c0810072248t7143c6am7b5740a7d770317d@mail.gmail.com> <48ED0986.6060100@infracaninophile.co.uk> <94136a2c0810082206u3e1de52el320672c67665ef5a@mail.gmail.com> <48EDB6BD.1070209@infracaninophile.co.uk> Cc: freebsd-questions Subject: Re: mysql binlogs and their expiry times X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 08:01:49 -0000 Hello, > Zbigniew Szalbot wrote: > > | It works so no problem but I do not really like the idea of providing > | passwords in crontab. I wish the option in my.cnf file worked as > | advertised. > > Hmmm.... It's always worked for me to create a file /root/.my.cnf > containing: > > [client] > user = root > password = imnottellingyou Thank you Matthew. You made me learn something new and very useful! I appreciate it very much! -- Zbigniew Szalbot From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 08:11:38 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58EB1106568A for ; Thu, 9 Oct 2008 08:11:38 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from viefep20-int.chello.at (viefep20-int.chello.at [62.179.121.40]) by mx1.freebsd.org (Postfix) with ESMTP id 9C8338FC12 for ; Thu, 9 Oct 2008 08:11:37 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from edge05.upc.biz ([192.168.13.212]) by viefep20-int.chello.at (InterMail vM.7.08.02.02 201-2186-121-104-20070414) with ESMTP id <20081009081135.ICKF7113.viefep20-int.chello.at@edge05.upc.biz>; Thu, 9 Oct 2008 10:11:35 +0200 Received: from [192.168.2.175] ([89.134.231.52]) by edge05.upc.biz with edge id QYBY1a03m18VCLh05YBZlW; Thu, 09 Oct 2008 10:11:35 +0200 X-SourceIP: 89.134.231.52 Message-ID: <48EDBCB1.7020803@shopzeus.com> Date: Thu, 09 Oct 2008 10:11:29 +0200 From: Laszlo Nagy User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Fred Condo References: <48ECACB4.8080103@shopzeus.com> <20081008131248.GA77388@icarus.home.lan> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: nightrecon@verizon.net, freebsd-questions@freebsd.org Subject: Re: php5 segfault X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 08:11:38 -0000 >>> Also, you cannot use a threaded Apache (e.g. threaded MPMs) with PHP >>> since not all extensions support threading. Your Apache needs to be >>> built without threads and use a non-thread model (e.g. prefork). I've >>> also had success with Apache-ITK-mpm. >> >> This is very true for mod_php, but less so if PHP is run as FastCGI. >> I am >> currently running a box at work with the event mpm and mod_fcgid for >> testing and it seems to be doing well. YMMV All right. The problem is that we are getting segfaults with the CLI version too. We are running some background PHP programs and they also throw segfault. Here is the interesting part. I wrote a test script that tries to connect to the postgresql server. - if the hostname is wrong for the connection, there is no segfault - if the hostname is right but the password is wrong (e.g. it cannot connect to the server) then there IS segfault. There are no options to configure in php5-pgsql. I tried to change the order or module in extensions.ini, no success so far. Best, Laszlo From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 08:17:43 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC4C1106568D for ; Thu, 9 Oct 2008 08:17:43 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) 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 746798FC17 for ; Thu, 9 Oct 2008 08:17:42 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA01.westchester.pa.mail.comcast.net ([76.96.62.11]) by QMTA08.westchester.pa.mail.comcast.net with comcast id QYAE1a0010EZKEL58YHiPy; Thu, 09 Oct 2008 08:17:42 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA01.westchester.pa.mail.comcast.net with comcast id QYHh1a0062P6wsM3MYHhud; Thu, 09 Oct 2008 08:17:42 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=v2o64td4ftXi3liqVoIA:9 a=7KqxQgGKC9H-oeNx_AUA:7 a=aEb8nhVJIFLIYs40KEWGaiqIiM8A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 0EB33C9419; Thu, 9 Oct 2008 01:17:41 -0700 (PDT) Date: Thu, 9 Oct 2008 01:17:41 -0700 From: Jeremy Chadwick To: Laszlo Nagy Message-ID: <20081009081741.GA98538@icarus.home.lan> References: <48ECACB4.8080103@shopzeus.com> <20081008131248.GA77388@icarus.home.lan> <48EDBCB1.7020803@shopzeus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48EDBCB1.7020803@shopzeus.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: nightrecon@verizon.net, freebsd-questions@freebsd.org, Fred Condo Subject: Re: php5 segfault X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 08:17:43 -0000 On Thu, Oct 09, 2008 at 10:11:29AM +0200, Laszlo Nagy wrote: > >>>> Also, you cannot use a threaded Apache (e.g. threaded MPMs) with PHP >>>> since not all extensions support threading. Your Apache needs to be >>>> built without threads and use a non-thread model (e.g. prefork). I've >>>> also had success with Apache-ITK-mpm. >>> >>> This is very true for mod_php, but less so if PHP is run as FastCGI. >>> I am >>> currently running a box at work with the event mpm and mod_fcgid for >>> testing and it seems to be doing well. YMMV > All right. The problem is that we are getting segfaults with the CLI > version too. We are running some background PHP programs and they also > throw segfault. extensions.ini is used by the CLI version as well. I'm not sure why you think this wouldn't be the case. > Here is the interesting part. I wrote a test script that tries to > connect to the postgresql server. > > - if the hostname is wrong for the connection, there is no segfault > - if the hostname is right but the password is wrong (e.g. it cannot > connect to the server) then there IS segfault. > > There are no options to configure in php5-pgsql. > > I tried to change the order or module in extensions.ini, no success so far. Then my recommendation is to build PHP with DEBUG enabled (see "make config"), reproduce the situation, and provide a backtrace here. I would also consider filing a bug with the PHP folks. They may know something we don't. -- | 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 Thu Oct 9 08:20:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3AC7810656A6 for ; Thu, 9 Oct 2008 08:20:52 +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 BA0F78FC1F for ; Thu, 9 Oct 2008 08:20:51 +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.63) (envelope-from ) id 1KnqlL-000296-2T; Thu, 09 Oct 2008 09:20:47 +0100 Received: from melon.esperance-linux.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 ESMTP id m998Kjd0000489; Thu, 9 Oct 2008 09:20:46 +0100 Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id BBC0DFCA4AD; Thu, 9 Oct 2008 09:20:40 +0100 (BST) Date: Thu, 9 Oct 2008 09:20:40 +0100 From: Frank Shute To: Aniruddha Message-ID: <20081009082040.GA131@melon.esperance-linux.co.uk> Mail-Followup-To: Aniruddha , freebsd-questions@freebsd.org, freebsd-multimedia@freebsd.org References: <1223412136.3966.10.camel@debian> <4463o4qe3c.fsf@be-well.ilk.org> <1223490072.3978.3.camel@debian> <20081008210853.GA97002@melon.esperance-linux.co.uk> <1223502091.4635.3.camel@debian> <20081008223141.GA97321@melon.esperance-linux.co.uk> <1223536348.4635.15.camel@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1223536348.4635.15.camel@debian> 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-RELEASE-p2 i386 X-Organisation: 'http://www.shute.org.uk/' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (zetnet.co.uk [194.247.46.1]); Thu, 09 Oct 2008 09:20:46 +0100 (BST) Cc: freebsd-multimedia@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Can't get soundcard to work 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: Thu, 09 Oct 2008 08:20:52 -0000 On Thu, Oct 09, 2008 at 09:12:28AM +0200, Aniruddha wrote: > > On Wed, 2008-10-08 at 23:31 +0100, Frank Shute wrote: > > > ls /dev/d > > > da0 da2 dcons devstat dsp0.0 dsp1.0 > > > da1 da3 devctl dgdb dsp0.1 dumpdev > > > > On my machine: > > > > $ ls /dev | grep dsp > > dsp0.0 > > dsp0.1 > > > > i.e no dsp1.0 > > > > Could be that the 2 cards are confusing it, as you suggested previously > > (they both use the same driver). Can you disable one in the BIOS? > > I am afraid not :( my ATI radeon 3850 comes with HDMI support which I > can't disable. :( What about the onboard Intel chip? Can you disable that? > > > What does: > > > > $ cat /dev/sndstat > > > > give you? > > sndstat: > > FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) > > Installed devices: > > pcm0: at memory > 0xff9ec000 irq 17 kld snd_hda [20080420_0052] [MPSAFE] (mixer only) > > pcm1: at memory > 0xffafc000 irq 19 kld snd_hda [20080420_0052] [MPSAFE] (1p:1v/1r:1v > channels duplex) The driver is binding to both. > > > I'm not surprised it freaks out - it's probably struggling to figure > > out which card to use. > > > > I feel pretty sure you'll have better luck disabling one. I have had 2 > > cards in the same machine before but they used different drivers. > > Can this problem be solved with buying an new soundcard? Or wil I run > into the same mess? I'm no expert on the sound subsystem, so I can't tell you. You can probably get what you've got to work but I don't know the appropriate magic. I think you're probably best off posting to: freebsd-multimedia@freebsd.org Explain that you've got 2 sound chips with the snd_hda driver binding to both & ask whether it's possible to get sound out of that configuration without disabling one. > > -- > Regards, > > Aniruddha > Sorry, I couldn't be more help. BTW, hope you don't mind but I've cc'd this to multimedia@ For those on that list, the thread starts here: http://lists.freebsd.org/pipermail/freebsd-questions/2008-October/183904.html Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 09:53:16 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0743C1065686 for ; Thu, 9 Oct 2008 09:53:16 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from viefep17-int.chello.at (viefep18-int.chello.at [213.46.255.22]) by mx1.freebsd.org (Postfix) with ESMTP id 1E41C8FC13 for ; Thu, 9 Oct 2008 09:53:14 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from edge04.upc.biz ([192.168.13.239]) by viefep17-int.chello.at (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20081009095313.WLZH622.viefep17-int.chello.at@edge04.upc.biz>; Thu, 9 Oct 2008 11:53:13 +0200 Received: from [192.168.2.175] ([89.134.231.52]) by edge04.upc.biz with edge id QZtB1a01U18VCLh04ZtCrQ; Thu, 09 Oct 2008 11:53:13 +0200 X-SourceIP: 89.134.231.52 Message-ID: <48EDD487.7090401@shopzeus.com> Date: Thu, 09 Oct 2008 11:53:11 +0200 From: Laszlo Nagy User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 To: Jeremy Chadwick References: <48ECACB4.8080103@shopzeus.com> <20081008131248.GA77388@icarus.home.lan> <48EDBCB1.7020803@shopzeus.com> <20081009081741.GA98538@icarus.home.lan> In-Reply-To: <20081009081741.GA98538@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: nightrecon@verizon.net, freebsd-questions@freebsd.org, Fred Condo Subject: Re: php5 segfault X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 09:53:16 -0000 >> There are no options to configure in php5-pgsql. >> >> I tried to change the order or module in extensions.ini, no success so far. >> > > Then my recommendation is to build PHP with DEBUG enabled (see "make > config"), reproduce the situation, and provide a backtrace here. > Problem solved. I put pgsql.so on top of all other modules and now there is no segfault. Thank you! Although I do not understand why it has not been fixed. The same problem existed two years ago, right? Laszlo From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 10:00:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A32F11065687 for ; Thu, 9 Oct 2008 10:00:49 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA06.emeryville.ca.mail.comcast.net (qmta06.emeryville.ca.mail.comcast.net [76.96.30.56]) by mx1.freebsd.org (Postfix) with ESMTP id 840938FC27 for ; Thu, 9 Oct 2008 10:00:49 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA03.emeryville.ca.mail.comcast.net ([76.96.30.27]) by QMTA06.emeryville.ca.mail.comcast.net with comcast id QZkh1a0010b6N64A6a0pDs; Thu, 09 Oct 2008 10:00:49 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA03.emeryville.ca.mail.comcast.net with comcast id Qa0o1a0032P6wsM8Pa0otN; Thu, 09 Oct 2008 10:00:48 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=uWCwK4Fg7PgCJmIRgzoA:9 a=_2tqACY-d6d6ImWierEA:7 a=SmPCP3OAceiAAXmYaevc3MpsXpcA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id C5D20C9419; Thu, 9 Oct 2008 03:00:47 -0700 (PDT) Date: Thu, 9 Oct 2008 03:00:47 -0700 From: Jeremy Chadwick To: Laszlo Nagy Message-ID: <20081009100047.GA523@icarus.home.lan> References: <48ECACB4.8080103@shopzeus.com> <20081008131248.GA77388@icarus.home.lan> <48EDBCB1.7020803@shopzeus.com> <20081009081741.GA98538@icarus.home.lan> <48EDD487.7090401@shopzeus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48EDD487.7090401@shopzeus.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: nightrecon@verizon.net, freebsd-questions@freebsd.org, Fred Condo Subject: Re: php5 segfault X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 10:00:49 -0000 On Thu, Oct 09, 2008 at 11:53:11AM +0200, Laszlo Nagy wrote: > >>> There are no options to configure in php5-pgsql. >>> >>> I tried to change the order or module in extensions.ini, no success so far. >>> >> >> Then my recommendation is to build PHP with DEBUG enabled (see "make >> config"), reproduce the situation, and provide a backtrace here. >> > Problem solved. I put pgsql.so on top of all other modules and now there > is no segfault. Thank you! I thought you said you changed the order and it didn't work? *confused* > Although I do not understand why it has not been fixed. The same > problem existed two years ago, right? What "problem" are you referring to? The extension ordering issue? If so: it should be obvious why it hasn't been fixed. It doesn't appear to affect everyone -- for example, we have never seen this problem in the 4-5 years we've been using PHP on FreeBSD -- and the solution doesn't really make much sense anyway. It smells of a missing symbol problem (e.g. libxx.so wants a symbol named "hello_bob", but the symbol is available in libyy.so, which has to be loaded first; however, ld.so and dlopen(3) have explicit handling for this scenario (see RTLD_NOW vs. RTLD_LAZY), so I'm at a loss). That said, if you feel this is a humongous issue, I highly recommend you mail the PHP port maintainer and express your concerns, or open a PR. -- | 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 Thu Oct 9 10:18:26 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4A9C1065686 for ; Thu, 9 Oct 2008 10:18:26 +0000 (UTC) (envelope-from fulvio_esposito1981@libero.it) Received: from cp-out4.libero.it (cp-out4.libero.it [212.52.84.104]) by mx1.freebsd.org (Postfix) with ESMTP id 787348FC14 for ; Thu, 9 Oct 2008 10:18:26 +0000 (UTC) (envelope-from fulvio_esposito1981@libero.it) Received: from wmail5.libero.it (172.31.0.148) by cp-out4.libero.it (8.5.014) id 486AF9C207A0BDD2 for freebsd-questions@freebsd.org; Thu, 9 Oct 2008 12:06:47 +0200 Message-ID: <11642644.240911223546807054.JavaMail.defaultUser@defaultHost> Date: Thu, 9 Oct 2008 12:06:47 +0200 (CEST) From: "fulvio_esposito1981@libero.it" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain;charset="UTF-8" Content-Transfer-Encoding: 7bit X-SenderIP: 143.225.229.129 Subject: performance problem in regex X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "fulvio_esposito1981@libero.it" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 10:18:27 -0000 Hi all, I've got some performance hit using regex in libc on freebsd 6.3. I've done some test whit the patterns that l7-filter [http://l7-filter.sf.net] use to recognize level 7 internet protocol. For example, with the skypeout pattern, regexec() takes more tha 0.1 sec to do its work. Is this a know problem? Thanks in advance, Fulvio Esposito From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 10:30:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDDC51065688 for ; Thu, 9 Oct 2008 10:30:08 +0000 (UTC) (envelope-from k0802647@telus.net) Received: from defout.telus.net (defout.telus.net [204.209.205.13]) by mx1.freebsd.org (Postfix) with ESMTP id 8C5158FC17 for ; Thu, 9 Oct 2008 10:30:08 +0000 (UTC) (envelope-from k0802647@telus.net) Received: from priv-edmwaa07.telusplanet.net ([204.209.205.55]) by priv-edmwes50.telusplanet.net (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20081009103009.DMYG23349.priv-edmwes50.telusplanet.net@priv-edmwaa07.telusplanet.net> for ; Thu, 9 Oct 2008 04:30:09 -0600 Received: from oliver.bc.lan (d75-157-28-2.bchsia.telus.net [75.157.28.2]) by priv-edmwaa07.telusplanet.net (BorderWare Security Platform) with ESMTP id 57363624302C6470 for ; Thu, 9 Oct 2008 04:30:06 -0600 (MDT) Received: from [10.111.111.112] (unknown [10.111.111.112]) by oliver.bc.lan (Postfix) with ESMTP id 56EF561E0; Thu, 9 Oct 2008 03:30:06 -0700 (PDT) Message-ID: <48EDDD2D.1000505@telus.net> Date: Thu, 09 Oct 2008 03:30:05 -0700 From: Carl User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: cannot install from existing UFS thumb drive with sysinstall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 10:30:09 -0000 I've crafted a USB flash thumb drive containing a bootable UFS partition containing the contents of 7.0-RELEASE-i386-disc1.iso. It boots properly and sysinstall runs as expected, so I'm all set to install FreeBSD to a system that has no optical drive. Just as "fbsd2" in the following thread, I ran into the problem of being unable to specify the USB thumb drive as the installation media: http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2007-08/msg00369.html [ http://tinyurl.com/4o7pkl ] I was not deterred though because I knew from Reid Linnemann's response that I just needed to select "Install from an existing filesystem". I also understood that I'd need to go to the Fixit menu first and launch the Emergency Holographic Shell (EHS) first in order to mount the thumb drive's UFS partition. Unfortunately, the final response in the above thread appears to indicate that "fbsd2" might not have understood what he was seeing and it seems no one followed up with an explanation or solution. The problem is that the EHS, exactly as advertised, has a very small set of commands. While it does include 'mount_nfs', it does not appear to include anything for mounting a local UFS filesystem, which strikes me as being a strange thing to leave out. So, can anyone tell me how I can mount my thumb drive's UFS partition from within sysinstall? Linnemann countering the "fbsd2" assertion that this is a show stopper now looks to me to have been a little hasty, but I need to believe I'm missing something here. If there really isn't a way to mount the thumb drive's filesystem, is there a way to custom the ISO content such that either 1) the EHS can have 'mount' added to it, or 2) the thumb drive's filesystem can be automatically mounted upon sysinstall startup? Yes, I realize anything's possible if I were willing to build a whole new custom ISO from the ground up, but that's more dramatic than I'm ready for. I know virtually nothing about NFS, so excuse what is probably a stupid question... is it possible to use sysinstall's NFS capabilities to mount a local UFS filesystem somehow? Carl / K0802647 From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 10:54:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F2B8106568B for ; Thu, 9 Oct 2008 10:54:05 +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 075098FC28 for ; Thu, 9 Oct 2008 10:54:04 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Knt9f-000334-Ra for freebsd-questions@freebsd.org; Thu, 09 Oct 2008 10:54:03 +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 ; Thu, 09 Oct 2008 10:54:03 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Oct 2008 10:54:03 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Thu, 09 Oct 2008 12:54:30 +0200 Lines: 66 Message-ID: References: <11642644.240911223546807054.JavaMail.defaultUser@defaultHost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig871A72B4205B9525B4F27B27" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.17 (X11/20080925) In-Reply-To: <11642644.240911223546807054.JavaMail.defaultUser@defaultHost> X-Enigmail-Version: 0.95.0 Sender: news Subject: Re: performance problem in regex X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 10:54:05 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig871A72B4205B9525B4F27B27 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable fulvio_esposito1981@libero.it wrote: > Hi all, > I've got some performance hit using regex in libc on freebsd 6.3. I've = > done some test whit the patterns that l7-filter [http://l7-filter.sf.ne= t] use=20 > to recognize level 7 internet protocol. For example, with the skypeout = pattern,=20 > regexec() takes more tha 0.1 sec to do its work. Is this a know problem= ? It's known that regex(3) is slow for some cases. See http://www.freebsd.org/cgi/man.cgi?regex , especially the paragraphs """ The regexec() function performance is poor. This will improve with later releases. The nmatch argument exceeding 0 is expensive; nmatch exceeding 1 is worse. The regexec() function is largely insensitive to RE complex- ity except that back references are massively expensive. RE length does matter; in particular, there is a strong speed bonus for keeping RE length under about 30 characters, with most special characters count= ing roughly double. The regcomp() function implements bounded repetitions by macro expansion, which is costly in time and space if counts are large or bounded repeti- tions are nested. An RE like, say, `((((a{1,100}){1,100}){1,100}){1,100}){1,100}' will (eventually) run= almost any existing machine out of swap space. """ Someone with more experience in the regex(3) implementation should see if the pattern: http://l7-filter.sourceforge.net/layer7-protocols/protocols/skypeout.pat Falls into these conditions. --------------enig871A72B4205B9525B4F27B27 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.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI7eLmldnAQVacBcgRAnb7AKDtdfCVek1yordqg71AT2OPbqcmvwCgohMO UetHodOvDk6zOLMlmjTtFnY= =F+eH -----END PGP SIGNATURE----- --------------enig871A72B4205B9525B4F27B27-- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 11:15:53 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3199106569A for ; Thu, 9 Oct 2008 11:15:53 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 6E3718FC5E for ; Thu, 9 Oct 2008 11:15:53 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KntUi-0003t3-GM for freebsd-questions@freebsd.org; Thu, 09 Oct 2008 11:15:48 +0000 Received: from borg.bfh.ch ([147.87.102.145]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Oct 2008 11:15:48 +0000 Received: from ktk by borg.bfh.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Oct 2008 11:15:48 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Adrian Gschwend Date: Thu, 09 Oct 2008 13:15:40 +0200 Organization: netlabs.org Lines: 22 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: borg.bfh.ch User-Agent: Thunderbird 2.0.0.17 (X11/20080925) In-Reply-To: X-Enigmail-Version: 0.95.0 Sender: news Cc: vbox-dev@virtualbox.org Subject: Re: linux emulation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 11:15:53 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Desmond Chapman wrote: > I don't know if anyone else is trying; but, I am attempting a Linux > installation of virtualbox on FreeBSD amd64. http://article.gmane.org/gmane.comp.emulators.virtualbox.devel/853 http://article.gmane.org/gmane.comp.emulators.virtualbox.devel/874 cu Adrian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI7efcqpMUYrZbQBERAgHEAJ9oGXokbWIy1po0cdbsk2mxTAgFvQCgsHsP BGOlDo4cG2d8PzRXU/8G6RQ= =HJGW -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 11:16:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5C891065698; Thu, 9 Oct 2008 11:16:03 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from viefep14-int.chello.at (viefep18-int.chello.at [213.46.255.22]) by mx1.freebsd.org (Postfix) with ESMTP id CF1558FC2E; Thu, 9 Oct 2008 11:16:02 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from edge02.upc.biz ([192.168.13.237]) by viefep14-int.chello.at (InterMail vM.7.08.02.02 201-2186-121-104-20070414) with ESMTP id <20081009111600.BFHT17938.viefep14-int.chello.at@edge02.upc.biz>; Thu, 9 Oct 2008 13:16:00 +0200 Received: from [192.168.2.175] ([89.134.231.52]) by edge02.upc.biz with edge id QbFz1a04C18VCLh02bG0by; Thu, 09 Oct 2008 13:16:00 +0200 X-SourceIP: 89.134.231.52 Message-ID: <48EDE7EF.1090601@shopzeus.com> Date: Thu, 09 Oct 2008 13:15:59 +0200 From: Laszlo Nagy User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 To: Jeremy Chadwick , freebsd-questions@freebsd.org References: <48ECACB4.8080103@shopzeus.com> <20081008131248.GA77388@icarus.home.lan> <48EDBCB1.7020803@shopzeus.com> <20081009081741.GA98538@icarus.home.lan> <48EDD487.7090401@shopzeus.com> <20081009100047.GA523@icarus.home.lan> In-Reply-To: <20081009100047.GA523@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: php5 segfault X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 11:16:03 -0000 > I thought you said you changed the order and it didn't work? *confused* > I said no success so far. There are more than 20 modules and there is no description about what the good order should be. I had to keep trying... > If so: it should be obvious why it hasn't been fixed. It doesn't appear > to affect everyone -- for example, we have never seen this problem in > the 4-5 years we've been using PHP on FreeBSD -- and the solution > doesn't really make much sense anyway. It smells of a missing symbol > problem (e.g. libxx.so wants a symbol named "hello_bob", but the symbol > is available in libyy.so, which has to be loaded first; however, ld.so > and dlopen(3) have explicit handling for this scenario (see RTLD_NOW vs. > RTLD_LAZY), so I'm at a loss). > Maybe you are right. But I would think that a missing symbol problem should throw an error message telling "missing symbol" instead of making a segfault. > That said, if you feel this is a humongous issue, I highly recommend you > mail the PHP port maintainer and express your concerns, or open a PR > We had the same problem on our previous server. I'm going to install another box today and test it. If the problem comes out again, I'm going to write a PR. Thank you! Laszlo From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 11:26:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B233D106569D for ; Thu, 9 Oct 2008 11:26:06 +0000 (UTC) (envelope-from kheuer2@gwdg.de) Received: from tmailer.gwdg.de (tmailer.gwdg.de [134.76.10.23]) by mx1.freebsd.org (Postfix) with ESMTP id 7606D8FC32 for ; Thu, 9 Oct 2008 11:26:06 +0000 (UTC) (envelope-from kheuer2@gwdg.de) Received: from gwdu60.gwdg.de ([134.76.8.60]) by mailer.gwdg.de with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Kntef-0002VX-IX for freebsd-questions@freebsd.org; Thu, 09 Oct 2008 13:26:05 +0200 Date: Thu, 9 Oct 2008 13:26:05 +0200 (CEST) From: Konrad Heuer To: freebsd-questions@freebsd.org Message-ID: <20081009131623.M34013@gwdu60.gwdg.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Subject: Multiple NICs routing 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: Thu, 09 Oct 2008 11:26:06 -0000 Hello, I've a server box with four NICs addressing different subnets: NIC1: one class c subnet of same class b network NIC2: another class c subnet of same class b network NIC3: local unrouted network NIC4: local unrouted network In the current configuration I use a default gateway (and no routing daemon) in the subnet addressed by NIC1. Now of course, if a client in an arbitrary different class c subnet contacts the server using the ip address of NIC2, it gets a reply from NIC1. How can I cange this? I'd like the server to answer via the interface the client uses when connecting. Maybe that's a silly question, but thanks for any reply! Best regards Konrad Heuer GWDG, Am Fassberg, 37077 Goettingen, Germany, kheuer2@gwdg.de From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 12:05:43 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 045CD106569F for ; Thu, 9 Oct 2008 12:05:43 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA04.westchester.pa.mail.comcast.net (qmta04.westchester.pa.mail.comcast.net [76.96.62.40]) by mx1.freebsd.org (Postfix) with ESMTP id 9F4FA8FC17 for ; Thu, 9 Oct 2008 12:05:41 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA01.westchester.pa.mail.comcast.net ([76.96.62.11]) by QMTA04.westchester.pa.mail.comcast.net with comcast id QbDj1a00K0EZKEL54c5hQs; Thu, 09 Oct 2008 12:05:41 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA01.westchester.pa.mail.comcast.net with comcast id Qc5g1a00J2P6wsM3Mc5g3Y; Thu, 09 Oct 2008 12:05:41 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=_S5hhyfX8sQxoIRXVrYA:9 a=KCMYF8ZKRYwqRNH1UpUA:7 a=jee5irF9zz98Yn_KbiAjs2oUepYA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 15B52C9419; Thu, 9 Oct 2008 05:05:40 -0700 (PDT) Date: Thu, 9 Oct 2008 05:05:40 -0700 From: Jeremy Chadwick To: Laszlo Nagy Message-ID: <20081009120540.GA3677@icarus.home.lan> References: <48ECACB4.8080103@shopzeus.com> <20081008131248.GA77388@icarus.home.lan> <48EDBCB1.7020803@shopzeus.com> <20081009081741.GA98538@icarus.home.lan> <48EDD487.7090401@shopzeus.com> <20081009100047.GA523@icarus.home.lan> <48EDE7EF.1090601@shopzeus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48EDE7EF.1090601@shopzeus.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: php5 segfault X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 12:05:43 -0000 On Thu, Oct 09, 2008 at 01:15:59PM +0200, Laszlo Nagy wrote: > >> I thought you said you changed the order and it didn't work? *confused* >> > I said no success so far. There are more than 20 modules and there is no > description about what the good order should be. I had to keep trying... >> If so: it should be obvious why it hasn't been fixed. It doesn't appear >> to affect everyone -- for example, we have never seen this problem in >> the 4-5 years we've been using PHP on FreeBSD -- and the solution >> doesn't really make much sense anyway. It smells of a missing symbol >> problem (e.g. libxx.so wants a symbol named "hello_bob", but the symbol >> is available in libyy.so, which has to be loaded first; however, ld.so >> and dlopen(3) have explicit handling for this scenario (see RTLD_NOW vs. >> RTLD_LAZY), so I'm at a loss). >> > Maybe you are right. But I would think that a missing symbol problem > should throw an error message telling "missing symbol" instead of making > a segfault. That all depends on the C code. If you'd like to dig around in it and investigate/debug it to find out what the true nature of the problem is, that would be beneficial, since AFAIK no one has done that yet. It's all speculative. >> That said, if you feel this is a humongous issue, I highly recommend you >> mail the PHP port maintainer and express your concerns, or open a PR >> > We had the same problem on our previous server. I'm going to install > another box today and test it. If the problem comes out again, I'm going > to write a PR. And I would also recommend filing a bug report with the PHP folks. This may be something that's a PHP problem and not a FreeBSD problem. It may "not be a Linux problem" because for all we know the Linux RPMs and Portage stuff in CentOS/Gentoo could have workarounds in place. -- | 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 Thu Oct 9 12:18:02 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD13A1065687 for ; Thu, 9 Oct 2008 12:18:02 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.3]) by mx1.freebsd.org (Postfix) with ESMTP id B237D8FC18 for ; Thu, 9 Oct 2008 12:18:02 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 29951 invoked from network); 9 Oct 2008 12:18:02 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 9 Oct 2008 12:18:02 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id 8B73C28449; Thu, 9 Oct 2008 08:17:58 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id C47601CD86; Thu, 9 Oct 2008 08:17:57 -0400 (EDT) To: Eitan Adler References: <20081008162153.GA80866@icarus.home.lan> <20081008164540.GA78500@ozzmosis.com> <48ECF908.5080100@gmail.com> From: Lowell Gilbert Date: Thu, 09 Oct 2008 08:17:57 -0400 In-Reply-To: <48ECF908.5080100@gmail.com> (Eitan Adler's message of "Wed\, 08 Oct 2008 14\:16\:40 -0400") Message-ID: <44y70y7yiy.fsf@lowell-desk.lan> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: andrew clarke , freebsd-questions@FreeBSD.org Subject: Re: uptime 2 years! 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, 09 Oct 2008 12:18:03 -0000 Eitan Adler writes: > andrew clarke wrote: >> >> Is FreeBSD 7.1 2038-proof? ;-) >> > > As far as I know the amd64 version is (anyone care to verify/correct?) All 64-bit platforms have 64-bit time_t, so that covers most of the possible problems. Even on 32-bit platforms, the major filesystems use 64-bit times, so the data is good to go on 64-bit systems. And in theory it should be possible to change time_t to unsigned, and get another two-thirds of a century out of it... -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 12:20:19 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3AA31065687 for ; Thu, 9 Oct 2008 12:20:18 +0000 (UTC) (envelope-from CQG00620@nifty.ne.jp) Received: from mail.asahi-net.or.jp (mail1.asahi-net.or.jp [202.224.39.197]) by mx1.freebsd.org (Postfix) with ESMTP id C060E8FC18 for ; Thu, 9 Oct 2008 12:20:18 +0000 (UTC) (envelope-from CQG00620@nifty.ne.jp) Received: from asahi-net.jp (l205089.dynamic.ppp.asahi-net.or.jp [218.219.205.89]) by mail.asahi-net.or.jp (Postfix) with ESMTP id 125234131B; Thu, 9 Oct 2008 21:20:17 +0900 (JST) Date: Thu, 09 Oct 2008 21:20:16 +0900 From: WATANABE Kazuhiro To: freebsd-questions In-Reply-To: <200810081538.32584.jmc-freebsd2@milibyte.co.uk> References: <200810011546.29798.jmc-freebsd2@milibyte.co.uk> <20081005083034.1F6E65FC50@mail.asahi-net.or.jp> <200810081538.32584.jmc-freebsd2@milibyte.co.uk> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.7 Emacs/21.3 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Message-Id: <20081009122017.125234131B@mail.asahi-net.or.jp> Cc: Mike Clarke Subject: Re: Canon Pixma iP4500 - problem with colours X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 12:20:19 -0000 At Wed, 8 Oct 2008 15:38:32 +0100, Mike Clarke wrote: > On Sunday 05 October 2008, WATANABE Kazuhiro wrote: > > > So you will be able to use Canon iP4500 (and MP610/MP520/iP3500) with > > the procedure below. > > Thanks for the detailed installation instructions for the Pixma iP4500 > linux drivers from Canon. > > I followed the instructions and everything went very smoothly apart from > one minor problem. Using rpm2cpio and cpio to extract the files from > cnijfilter-ip4500series-2.80-1.i386.rpm resulted in all the directories > being created with mode 700. This resulted in "permission denied" > errors when piping an ascii test file through a2ps and gs to cifip4500. Ouch... I tested the instructions on 8-current which had been introduced bsdcpio. FreeBSD 7.x and the former bundles GNU cpio. 2.7 and the former versions of GNU cpio has a bug. If the original cpio archive has no information about directories (such as the output of rpm2cpio), the old GNU cpio sets those permission to 700 unconditionally. The latest version of GNU cpio, and bsdcpio reflects the value of umask in such a case. http://www.gnu.org/software/cpio/#releases > After setting the directory permissions to 755 everything was fine and > I now have a functional printer. So currently the users other than 8-current should do the following procedure: $ mkdir ip4500 # working directory $ cd ip4500 $ rpm2cpio /PATH/TO/cnijfilter-ip4500series-2.80-1.i386.rpm | cpio -ivd $ find ./usr -type d | xargs chmod 755 # fix directory permission $ su Password: # cp -Ri ./usr /compat/linux/ # /compat/linux/sbin/ldconfig -r /compat/linux > The output quality is much better than I could get with the gutenprint > driver but the output is limited to 600 dpi so it's nothing like as > good as the windows driver in high quality mode. But it is certainly > good enough for normal day to day use and I don't mind switching to > Windows for the occasional high quality photo print. > > -- > Mike Clarke --- WATANABE Kazuhiro (CQG00620@nifty.ne.jp) From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 12:36:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58854106569B for ; Thu, 9 Oct 2008 12:36: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 00AD48FC19 for ; Thu, 9 Oct 2008 12:36:57 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.14.2/8.14.2) with ESMTP id m99Catjr038339; Thu, 9 Oct 2008 07:36:56 -0500 (CDT) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20081009073538.02524488@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Thu, 09 Oct 2008 07:36:49 -0500 To: Konrad Heuer , freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: <20081009131623.M34013@gwdu60.gwdg.de> References: <20081009131623.M34013@gwdu60.gwdg.de> Mime-Version: 1.0 X-Antivirus: avast! (VPS 081008-1, 10/08/2008), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: ClamAV 0.94-exp/8398/Wed Oct 8 22:58:03 2008 on betty.computinginnovations.com X-Virus-Status: Clean X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: m99Catjr038339 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: Multiple NICs routing 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: Thu, 09 Oct 2008 12:36:58 -0000 At 06:26 AM 10/9/2008, Konrad Heuer wrote: >Hello, > >I've a server box with four NICs addressing different subnets: > >NIC1: one class c subnet of same class b network >NIC2: another class c subnet of same class b network >NIC3: local unrouted network >NIC4: local unrouted network > >In the current configuration I use a default gateway (and no routing >daemon) in the subnet addressed by NIC1. Now of course, if a client in an >arbitrary different class c subnet contacts the server using the ip >address of NIC2, it gets a reply from NIC1. > >How can I cange this? I'd like the server to answer via the interface the >client uses when connecting. > >Maybe that's a silly question, but thanks for any reply! > >Best regards > >Konrad Heuer >GWDG, Am Fassberg, 37077 Goettingen, Germany, kheuer2@gwdg.de You can have only one default gateway, that should be to where all other traffic should go. Add static routes to your specific subnets, public or private for the routing of that traffic. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 12:50:10 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 038B0106569A for ; Thu, 9 Oct 2008 12:50:10 +0000 (UTC) (envelope-from fbsd06+2R=64e0b786@mlists.homeunix.com) Received: from fallback-in1.mxes.net (fallback-out1.mxes.net [216.86.168.190]) by mx1.freebsd.org (Postfix) with ESMTP id CBAF18FC17 for ; Thu, 9 Oct 2008 12:50:09 +0000 (UTC) (envelope-from fbsd06+2R=64e0b786@mlists.homeunix.com) Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by fallback-in1.mxes.net (Postfix) with ESMTP id 3EB27164698 for ; Thu, 9 Oct 2008 08:34:22 -0400 (EDT) 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 6AB7AD05A4 for ; Thu, 9 Oct 2008 08:34:20 -0400 (EDT) Date: Thu, 9 Oct 2008 13:34:17 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20081009133417.2abcb98d@gumby.homeunix.com.> In-Reply-To: References: X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Update System from 6.1 to last 6 Release with NOT generic Kernel... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 12:50:10 -0000 On Wed, 8 Oct 2008 19:08:42 -0300 Agus wrote: > Hi guys... > > Just wanted to check a few things before crapping my system..hehehe > > I am planning on updating the system from 6.1 to the last 6.3-RELEASE > p5 i think it is....according to the freebsd-update.sh... > > I am plannin on doing it with this tool...but my main concern is the > modified kernel and the ports... You can't use freebsd-update on a modified kernel. Ports can be left unchanged unless you change the major version and go to 7. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 13:33:17 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91A901065686 for ; Thu, 9 Oct 2008 13:33:17 +0000 (UTC) (envelope-from jeremyhooks@googlemail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.freebsd.org (Postfix) with ESMTP id 16AB58FC1D for ; Thu, 9 Oct 2008 13:33:16 +0000 (UTC) (envelope-from jeremyhooks@googlemail.com) Received: by ug-out-1314.google.com with SMTP id m2so828992uge.39 for ; Thu, 09 Oct 2008 06:33:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=3KKXk7yMXopuy5czJkfHCc7fsHnO+GYoHb1oo4IjzN8=; b=LAXTmfkko1nV2O/WcHAuj2wW2m19w+KToCN9WupTnNLJxnk3F9hD8DpUhrQpNbXKCM fEKAsc1CwtY8jd9CfzSCFGOo6eEBshObZKhr35By3p3pz15oxtc0pFd4WkAxR46TEB0O NzAS10eYG3heox8DOz269pHvOA0XIYZuJjQCY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=M7W0EC538iJk1HPI8hcjITBDA152rI+t2U64B8MJ65iS9/Z/F0K/h29U+GR0vi+qqf cZKphz8HX2Go9YZUuZEI90yNgScIR2E7Lbv5FpCO8sXRy4B3yGVZvrenh15dmj3IHrJb lsDG/lYeGmMCUJ52W92uXXeLY7C3PMRl92Ktg= Received: by 10.210.105.19 with SMTP id d19mr92833ebc.135.1223559192821; Thu, 09 Oct 2008 06:33:12 -0700 (PDT) Received: by 10.210.82.9 with HTTP; Thu, 9 Oct 2008 06:33:12 -0700 (PDT) Message-ID: Date: Thu, 9 Oct 2008 14:33:12 +0100 From: "Jeremy Hooks" To: "Martin McCormick" In-Reply-To: <200810082054.m98KsJhR018475@dc.cis.okstate.edu> MIME-Version: 1.0 References: <200810082054.m98KsJhR018475@dc.cis.okstate.edu> 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: freebsd-questions@freebsd.org Subject: Re: Can an Account be Locked out for ssh but allow su? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 13:33:17 -0000 Personally I prefer AllowUsers, as that denies all users except those specifically allowed. Deny/AllowGroups are useful too. 2008/10/8 Martin McCormick > Henrik Hudson writes: > > Check the sshd_config man page for AllowUsers and DenyUsers directives. > > Many thanks. DenyUsers did the trick. > _______________________________________________ > 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 Oct 9 13:43:16 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 544AD1065686 for ; Thu, 9 Oct 2008 13:43:16 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail2.sea5.speakeasy.net (mail2.sea5.speakeasy.net [69.17.117.4]) by mx1.freebsd.org (Postfix) with ESMTP id 2D60A8FC21 for ; Thu, 9 Oct 2008 13:43:15 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 15135 invoked from network); 9 Oct 2008 13:43:15 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail2.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 9 Oct 2008 13:43:15 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 4DF6628465; Thu, 9 Oct 2008 09:43:14 -0400 (EDT) To: "Tom Stuart" References: <5cdef660810072258o67330470n9b1f92a160716cfa@mail.gmail.com> From: Lowell Gilbert Date: Thu, 09 Oct 2008 09:43:14 -0400 In-Reply-To: <5cdef660810072258o67330470n9b1f92a160716cfa@mail.gmail.com> (Tom Stuart's message of "Tue\, 7 Oct 2008 23\:58\:14 -0600") Message-ID: <44tzblhojx.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: KDE 4 Cannot run as regular 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, 09 Oct 2008 13:43:16 -0000 "Tom Stuart" writes: > I just installed KDE4 via ports and am getting errors upon attempting > to start as a "regular" user. When I run startkde as root it works > fine but I don't want to use root on this machine. > > Error Generated when started as a regular user > $ startx > /libexec/ld-elf.so.1: Shared object "libXau.so.6" not found, required by "xauth" > /libexec/ld-elf.so.1: Shared object "libXau.so.6" not found, required by "xauth" > /libexec/ld-elf.so.1: Shared object "libXau.so.6" not found, required by "xauth" > /libexec/ld-elf.so.1: Shared object "libXau.so.6" not found, required by "xauth" > /libexec/ld-elf.so.1: Shared object "libXau.so.6" not found, required by "xauth" > /libexec/ld-elf.so.1: Shared object "libX11.so.6" not found, required by "xinit" > /libexec/ld-elf.so.1: Shared object "libXau.so.6" not found, required by "xauth" > > The files are there > $ ls -l /usr/local/lib/libXau.so /usr/local/lib/libX11.so > lrwxr-xr-x 1 root wheel 11 Oct 6 03:09 /usr/local/lib/libX11.so -> > libX11.so.6 > lrwxr-xr-x 1 root wheel 11 Oct 6 03:06 /usr/local/lib/libXau.so -> > libXau.so.6 > $ ls -l /usr/local/lib/libXau.so.6 /usr/local/lib/libX11.so.6 > -rwxr-xr-x 1 root wheel 1080722 Oct 6 03:09 /usr/local/lib/libX11.so.6 > -rwxr-xr-x 1 root wheel 10604 Oct 6 03:06 /usr/local/lib/libXau.so.6 > > $ cat .xinitrc > exec /usr/local/kde4/bin/startkde > > $ uname -a > FreeBSD xxx.xxx.net 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #2: Mon Oct > 6 02:45:38 MDT 2008 root@xxx.xxx.net:/usr/obj/usr/src/sys/xxx > i386 > > I'm sure this is a very little issue but I appreciate your patience > and help in resolving this issue. I'll guess the problem isn't related to KDE, but to X in general. Can you start twm as your local user? With a minimal .xinitrc file? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 14:07:32 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CC2C1065696 for ; Thu, 9 Oct 2008 14:07:32 +0000 (UTC) (envelope-from cmarshall@ahm-inc.com) Received: from mail.clearvoipcalling.com (ip-66-235-250-52.sterlingnetwork.net [66.235.250.52]) by mx1.freebsd.org (Postfix) with ESMTP id 3CA3D8FC1B for ; Thu, 9 Oct 2008 14:07:31 +0000 (UTC) (envelope-from cmarshall@ahm-inc.com) Received: from ip-66-235-250-53.sterlingnetwork.net (ip-66-235-250-53.sterlingnetwork.net [66.235.250.53]) by mail.clearvoipcalling.com (Postfix) with ESMTP id 3BE38119C1D; Thu, 9 Oct 2008 07:07:17 -0700 (MST) Message-Id: <74E268D6-92EB-415F-8A28-86909F2F8B56@ahm-inc.com> From: Chad Marshall To: matt donovan In-Reply-To: <28283d910810081851h7ab99b5y94b68f04b2a956e7@mail.gmail.com> Content-Type: multipart/mixed; boundary=Apple-Mail-12-440915524 Mime-Version: 1.0 (Apple Message framework v929.2) Date: Thu, 9 Oct 2008 07:07:31 -0700 References: <20081008223925.GB97321@melon.esperance-linux.co.uk> <2F5A85A9-3C1C-4328-9D4C-8722B3FDB2A1@ahm-inc.com> <28283d910810081851h7ab99b5y94b68f04b2a956e7@mail.gmail.com> X-Mailer: Apple Mail (2.929.2) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Frank Shute , freebsd-questions@freebsd.org Subject: Re: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 14:07:32 -0000 --Apple-Mail-12-440915524 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Sorry to bother you...You know, you could just leave well enough alone if you don't care. There goes any future donations from me and my organization as this is more than the first untactful email I recieved from this, I'll donate and use other platforms. Please don't send any other emails --Apple-Mail-12-440915524 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Oct 8, 2008, at 6:51 PM, matt donovan wrote: > why is this news or even important? heck most servers are up longer > then this. --Apple-Mail-12-440915524-- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 14:31:37 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 683E0106568B for ; Thu, 9 Oct 2008 14:31:37 +0000 (UTC) (envelope-from talon@lpthe.jussieu.fr) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by mx1.freebsd.org (Postfix) with ESMTP id C71328FC08 for ; Thu, 9 Oct 2008 14:31:36 +0000 (UTC) (envelope-from talon@lpthe.jussieu.fr) Received: from parthe.lpthe.jussieu.fr (parthe.lpthe.jussieu.fr [134.157.10.1]) by shiva.jussieu.fr (8.14.3/jtpda-5.4) with ESMTP id m99EVBQI060791 for ; Thu, 9 Oct 2008 16:31:22 +0200 (CEST) X-Ids: 166 Received: from niobe.lpthe.jussieu.fr (niobe.lpthe.jussieu.fr [134.157.10.41]) by parthe.lpthe.jussieu.fr (Postfix) with ESMTP id 0FA2F8A054 for ; Thu, 9 Oct 2008 16:31:10 +0200 (CEST) Received: by niobe.lpthe.jussieu.fr (Postfix, from userid 2005) id F180110A; Thu, 9 Oct 2008 16:31:09 +0200 (CEST) Date: Thu, 9 Oct 2008 16:31:09 +0200 From: Michel Talon To: freebsd-questions@freebsd.org Message-ID: <20081009143109.GA64471@lpthe.jussieu.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (shiva.jussieu.fr [134.157.0.166]); Thu, 09 Oct 2008 16:31:22 +0200 (CEST) X-Virus-Scanned: ClamAV 0.93.3/8399/Thu Oct 9 14:27:14 2008 on shiva.jussieu.fr X-Virus-Status: Clean X-Miltered: at jchkmail.jussieu.fr with ID 48EE15AF.01D by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 48EE15AF.01D/134.157.10.1/parthe.lpthe.jussieu.fr/parthe.lpthe.jussieu.fr/ X-j-chkmail-Score: MSGID : 48EE15AF.01D on jchkmail.jussieu.fr : j-chkmail score : . : R=. U=. O=. B=0.027 -> S=0.027 X-j-chkmail-Status: Ham Subject: Re: performance problem in regex X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 14:31:37 -0000 fulvio_esposito wrote: > I've got some performance hit using regex in libc on freebsd 6.3 Knowing that this regex implementation uses an NFA algorithm, while a DFA algorithm should be preferred, this is no big surprise. You can read the following references on the subject: http://swtch.com/~rsc/regexp/regexp1.html http://www.dmst.aueb.gr/dds/pubs/jrnl/2007-SPANDE-FIRE/html/KS07.html In particular the second is written by a FreeBSD developer and states: "The Spencer engine proved to have poor performance and was excluded from the graphs.", where the Spencer engine is precisely the one in FreeBSD. -- Michel TALON From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 14:34:44 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34ADE1065689 for ; Thu, 9 Oct 2008 14:34:44 +0000 (UTC) (envelope-from rvm@CBORD.com) Received: from smssmtp.cbord.com (mx1.cbord.com [24.39.174.11]) by mx1.freebsd.org (Postfix) with ESMTP id E90948FC17 for ; Thu, 9 Oct 2008 14:34:43 +0000 (UTC) (envelope-from rvm@CBORD.com) X-AuditID: ac1f0165-00000edc00000410-77-48ee1647377c Received: from Email.cbord.com ([10.1.1.100]) by smssmtp.cbord.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 9 Oct 2008 10:33:43 -0400 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: Thu, 9 Oct 2008 10:33:18 -0400 Message-ID: In-Reply-To: <28283d910810081851h7ab99b5y94b68f04b2a956e7@mail.gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: uptime 2 years! Thread-Index: AckpsYvSA52jzxAlQB2+2DziI4ntXwAZ+kEg References: <20081008223925.GB97321@melon.esperance-linux.co.uk><2F5A85A9-3C1C-4328-9D4C-8722B3FDB2A1@ahm-inc.com> <28283d910810081851h7ab99b5y94b68f04b2a956e7@mail.gmail.com> From: "Bob McConnell" To: "matt donovan" X-Brightmail-Tracker: AAAAAA== Cc: freebsd-questions@freebsd.org Subject: RE: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 14:34:44 -0000 On Behalf Of matt donovan > why is this news or even important? heck most servers > are up longer then this. It's neither. But the discussion proved useful as it served to remind me that there are security updates that need to be reviewed periodically, even for machines that are not directly connected to the outside world. I also recorded a couple of URLs that I should review, and caught the reminder that 2038 is coming quicker than I had hoped. That was very timely, by the way. Later that same day it helped debug a problem. Yeah, we already have one web developer that has run up against that limit. He decided that forever is 30 years and wondered why QA got an error when they tried to set a schedule end date with it. No, we don't use any 64 bit OS, yet. Bob McConnell From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 14:35:20 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D82A9106568F for ; Thu, 9 Oct 2008 14:35:20 +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 6E39E8FC25 for ; Thu, 9 Oct 2008 14:35:20 +0000 (UTC) (envelope-from dkelly@Grumpy.DynDNS.org) Received: (qmail 21594 invoked by uid 0); 9 Oct 2008 14:35:18 -0000 Received: from unknown (HELO Grumpy.DynDNS.org) (216.186.148.249) by smtp7.knology.net with SMTP; 9 Oct 2008 14:35:18 -0000 Received: by Grumpy.DynDNS.org (Postfix, from userid 928) id 82F2F28422; Thu, 9 Oct 2008 09:35:15 -0500 (CDT) Date: Thu, 9 Oct 2008 09:35:15 -0500 From: David Kelly To: Chad Marshall Message-ID: <20081009143515.GA41174@Grumpy.DynDNS.org> References: <20081008223925.GB97321@melon.esperance-linux.co.uk> <2F5A85A9-3C1C-4328-9D4C-8722B3FDB2A1@ahm-inc.com> <28283d910810081851h7ab99b5y94b68f04b2a956e7@mail.gmail.com> <74E268D6-92EB-415F-8A28-86909F2F8B56@ahm-inc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <74E268D6-92EB-415F-8A28-86909F2F8B56@ahm-inc.com> User-Agent: Mutt/1.4.2.3i Cc: matt donovan , freebsd-questions@freebsd.org, Frank Shute Subject: Re: uptime 2 years! 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, 09 Oct 2008 14:35:20 -0000 On Thu, Oct 09, 2008 at 07:07:31AM -0700, Chad Marshall wrote: > > Sorry to bother you...You know, you could just leave well enough > alone if you don't care. There goes any future donations from me and > my organization as this is more than the first untactful email I > recieved from this, I'll donate and use other platforms. Please don't > send any other emails If your skin is that thin, then good riddance. But just what sort of control over this email list do you expect of the "organization"? I seriously doubt you contribute enough to pay for a full time list moderator. FreeBSD-Questions is not the right place to say, "2 years!", FreeBSD-Chat is the right place, and that's exactly what I did several days before this one appeared on Questions. Meanwhile, you should know where the "off" switch is to unsubscribe as somehow you managed to subscribe. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 14:36:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AB261065693 for ; Thu, 9 Oct 2008 14:36:07 +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 4BEDC8FC19 for ; Thu, 9 Oct 2008 14:36:07 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id m99EY3uo084541; Thu, 9 Oct 2008 10:34:03 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id m99EY2AP084540; Thu, 9 Oct 2008 10:34:02 -0400 (EDT) (envelope-from jerrymc) Date: Thu, 9 Oct 2008 10:34:02 -0400 From: Jerry McAllister To: Chad Marshall Message-ID: <20081009143402.GB84420@gizmo.acns.msu.edu> References: <20081008223925.GB97321@melon.esperance-linux.co.uk> <2F5A85A9-3C1C-4328-9D4C-8722B3FDB2A1@ahm-inc.com> <28283d910810081851h7ab99b5y94b68f04b2a956e7@mail.gmail.com> <74E268D6-92EB-415F-8A28-86909F2F8B56@ahm-inc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <74E268D6-92EB-415F-8A28-86909F2F8B56@ahm-inc.com> User-Agent: Mutt/1.4.2.2i Cc: matt donovan , freebsd-questions@freebsd.org, Frank Shute Subject: Re: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 14:36:07 -0000 On Thu, Oct 09, 2008 at 07:07:31AM -0700, Chad Marshall wrote: > > Sorry to bother you...You know, you could just leave well enough > alone if you don't care. There goes any future donations from me and > my organization as this is more than the first untactful email I > recieved from this, I'll donate and use other platforms. Please don't > send any other emails > Kind of touchy, wouldn't you think? People are giving you some perspective. Well, anyway, you have the choice of using a superior system or let scratchy responses lead you to something less suitable. ////jerry > > On Oct 8, 2008, at 6:51 PM, matt donovan wrote: > > >why is this news or even important? heck most servers are up longer > >then this. > _______________________________________________ > 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 Oct 9 14:47:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1C1B1065687 for ; Thu, 9 Oct 2008 14:47:13 +0000 (UTC) (envelope-from prvs=pauls=161ca38b6@utdallas.edu) Received: from ip-relay-001.utdallas.edu (ip-relay-001.utdallas.edu [129.110.20.111]) by mx1.freebsd.org (Postfix) with ESMTP id A6DA48FC1A for ; Thu, 9 Oct 2008 14:47:13 +0000 (UTC) (envelope-from prvs=pauls=161ca38b6@utdallas.edu) X-Group: RELAYLIST X-IronPort-AV: E=Sophos;i="4.33,383,1220245200"; d="scan'208";a="10548780" Received: from smtp3.utdallas.edu ([129.110.20.110]) by ip-relay-001.utdallas.edu with ESMTP; 09 Oct 2008 09:18:26 -0500 Received: from utd65257.utdallas.edu (utd65257.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 ESMTPSA id 4E4BA8BEB; Thu, 9 Oct 2008 09:18:26 -0500 (CDT) Date: Thu, 09 Oct 2008 09:18:26 -0500 From: Paul Schmehl To: Da Rock , freebsd-questions@freebsd.org Message-ID: In-Reply-To: <1223533280.12779.23.camel@laptop1.herveybayaustralia.com.au> References: <1223533280.12779.23.camel@laptop1.herveybayaustralia.com.au> X-Mailer: Mulberry/4.0.6 (Linux/x86) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=sha1; protocol="application/pkcs7-signature"; boundary="==========ED46CCD6189D616CA32B==========" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: !@%%## maildrop and postfix - temporary authentication failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 14:47:14 -0000 --==========ED46CCD6189D616CA32B========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline --On Thursday, October 09, 2008 01:21:20 -0500 Da Rock=20 wrote: > > I'm really about to throw this damn server through a closed window (or > better yet a brick wall). I've searched high and low on google for a > straight answer, and any references in mailing lists give an answer of > read the INSTALL file (as if thats supposed to solve everything). > > I have virtual users for email in postfix, and I want to use maildrop to > deliver to the virtual mailboxes. Problem is, when it does use maildrop > it shows an error in the logs as the subject line says. > > I've tried everything, checked everything. That supposed magic solution > in the INSTALL file says only ONE thing needs to be set to get it to > work. Maildrop is owned by root and group is mail. The socket is rwx > globally (all this is set by the port install). The executing user for > pipe in postfix is vmail. > > I've installed the port with authlib and gdbm (even manually adjusted > the makefile to ensure --enable-userdb). Nada. > > The generally consensus is that it should work out of the box- so what > the hell am I doing wrong? Where should I be looking? Specifically: what > is not authenticating? I can manually test maildrop ok. So wtf? > > You'll have to excuse my language here- I'm not sure how much hair I > have left after working on this for several days... > What you should be doing is posting this to the postfix users list where people = like Wietse Venema, the developer of Postfix, can answer your questions and=20 help you solve your problem. Seriously. Sebatian and others there have a=20 tremendous amount of experience with Postfix and will be much more help to you=20 than most people here. --=20 Paul Schmehl (pauls@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ --==========ED46CCD6189D616CA32B==========-- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 14:50:22 2008 Return-Path: Delivered-To: FreeBSD-Questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C7E71065695 for ; Thu, 9 Oct 2008 14:50:22 +0000 (UTC) (envelope-from cmarshall@ahm-inc.com) Received: from mail.clearvoipcalling.com (ip-66-235-250-52.sterlingnetwork.net [66.235.250.52]) by mx1.freebsd.org (Postfix) with ESMTP id 618018FC13 for ; Thu, 9 Oct 2008 14:50:22 +0000 (UTC) (envelope-from cmarshall@ahm-inc.com) Received: from ip-66-235-250-53.sterlingnetwork.net (ip-66-235-250-53.sterlingnetwork.net [66.235.250.53]) by mail.clearvoipcalling.com (Postfix) with ESMTP id 2C071119C1E; Thu, 9 Oct 2008 07:50:07 -0700 (MST) Message-Id: From: Chad Marshall To: FreeBSD-Questions@FreeBSD.org In-Reply-To: <20081009143515.GA41174@Grumpy.DynDNS.org> Mime-Version: 1.0 (Apple Message framework v929.2) Date: Thu, 9 Oct 2008 07:50:21 -0700 References: <20081008223925.GB97321@melon.esperance-linux.co.uk> <2F5A85A9-3C1C-4328-9D4C-8722B3FDB2A1@ahm-inc.com> <28283d910810081851h7ab99b5y94b68f04b2a956e7@mail.gmail.com> <74E268D6-92EB-415F-8A28-86909F2F8B56@ahm-inc.com> <20081009143515.GA41174@Grumpy.DynDNS.org> X-Mailer: Apple Mail (2.929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: David Kelly Subject: Re: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 14:50:22 -0000 Here's what I said to the last guy who says my skin is thin, just leave well enough alone and drop it please. Seems your skin is thin as well if you can't handle a little back talk :) Well, I can always except critism. The problem is that I don't need rude responses for something I thought would be something to share for your organization, a success story of FreeBSD. Only for people to call me lazy and say "Big Deal". If it's not a big deal, than say nothing. Maybe you should put someone in charge of answering emails who aren't cocky and smug, some responses were nice and at least supportive. I still believe in FreeBSD and it's a great OS. It's the nix I started and learned with but I think your community is full of conceited, pompous asses, the reason I don't like to associate with IT people. I'd rather not give money to someone who has to insult me. If you go to a restaurant and you get a rude waiter, what do you do? I don't go back or give them a crap tip. I get better tack out of forums where I'm asking for help on coding challenges than just simply offering a testimonial. On Oct 9, 2008, at 7:35 AM, David Kelly wrote: > On Thu, Oct 09, 2008 at 07:07:31AM -0700, Chad Marshall wrote: >> >> Sorry to bother you...You know, you could just leave well enough >> alone if you don't care. There goes any future donations from me and >> my organization as this is more than the first untactful email I >> recieved from this, I'll donate and use other platforms. Please don't >> send any other emails > > If your skin is that thin, then good riddance. But just what sort of > control over this email list do you expect of the "organization"? I > seriously doubt you contribute enough to pay for a full time list > moderator. > > FreeBSD-Questions is not the right place to say, "2 years!", > FreeBSD-Chat is the right place, and that's exactly what I did several > days before this one appeared on Questions. > > Meanwhile, you should know where the "off" switch is to unsubscribe as > somehow you managed to subscribe. > > -- > David Kelly N4HHE, dkelly@HiWAAY.net > = > = > ====================================================================== > Whom computers would destroy, they must first drive mad. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 14:53:36 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 173C7106568F for ; Thu, 9 Oct 2008 14:53:36 +0000 (UTC) (envelope-from mikel.king@olivent.com) Received: from mail.olivent.com (mail.olivent.com [69.31.85.206]) by mx1.freebsd.org (Postfix) with ESMTP id A77938FC22 for ; Thu, 9 Oct 2008 14:53:35 +0000 (UTC) (envelope-from mikel.king@olivent.com) Received: from pos4.ocsny.com ([204.107.76.235]) (authenticated user mikel@olivent.com) by mail.olivent.com (Kerio MailServer 6.5.0) (using TLSv1/SSLv3 with cipher AES128-SHA (128 bits)); Thu, 9 Oct 2008 10:53:08 -0400 References: <20081008223925.GB97321@melon.esperance-linux.co.uk> <2F5A85A9-3C1C-4328-9D4C-8722B3FDB2A1@ahm-inc.com> Message-Id: From: Mikel King To: Chad Marshall In-Reply-To: <2F5A85A9-3C1C-4328-9D4C-8722B3FDB2A1@ahm-inc.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Thu, 9 Oct 2008 10:52:21 -0400 X-Mailer: Apple Mail (2.929.2) Cc: Frank Shute , freebsd-questions@freebsd.org Subject: Re: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 14:53:36 -0000 On Oct 8, 2008, at 9:00 PM, Chad Marshall wrote: > No Problem, I figured that there are other systems out there with a > longer uptime. I have this server as a postfix/courier-imap/ > squirrelmail (60+ accounts and 30-40 forwards) mailserver with > apache/php/mysql. Also use it as a slave authoritative nameserver > for over 100 zones (one zone with a 60sec TTL on a high volume > production website) as well. Plus use it as a primary nameserver for > our entire office (300+ workstations). I was lazy with it (Upgrading > or Replacing) and when it hit a year, I decided to hold off doing > anything with it as I wanted to see how long I could let it go. > It's a celeron 2.4ghz server with 512m Ram and has been a champ > server in it's performance and stability. I use CentOS for most of > my other systems and find that as easy as it is for administration > and upgrading, it lacks FreeBSD's performance. With the memory leaks > that CentOS has, I usually have to end up restarting the > machine(s). With FreeBSD I can just restart the services, and got > my memory back and reduce the amount of swap being used. > > Regardless of the first email I got back (Which was a little rude), > I will continue to run this server as long as I can and monitor the > security risks using DenyHosts and other security measures. > > Thanks, > > > > On Oct 8, 2008, at 3:39 PM, Frank Shute wrote: > >> On Wed, Oct 08, 2008 at 08:54:47AM -0700, Chad Marshall wrote: >>> >>> >>> Hello, >>> >>> Would like to share a success story which I'm sure you've had in the >>> past but one of my servers running FreeBSD will have an uptime of 2 >>> years tomorrow. I plan on putting on my blog but as it doesn't have >>> much reach but wanted to share with you since your community has >>> made >>> this possible. Please indicate where I could post this to have a bit >>> more reach or if you'd like to put a link to my blog, I'd be more >>> than >>> happy to provide that. >>> >>> >>> Best Regards, >>> >> >> Sorry to rain on your parade: >> >> http://lists.freebsd.org/pipermail/freebsd-chat/2008-October/005719.html >> >> >> Regards, >> >> -- >> >> Frank >> >> I think this is good news, and thanks for posting it. While it may not be a record holder, from an advocacy point of view it's nice to see. It means there one more rock solid server out there. Cheers, Mikel King CEO, Olivent Technologies Senior Editor, Daemon News Columnist, BSD Magazine 6 Alpine Court Medford, NY 11763 http://www.olivent.com http://www.daemonnews.org http://www.bsdmag.org skype: mikel.king t: 631.627.3055 +------------------------------------------+ Do You know where your towel is? +------------------------------------------+ From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 15:03:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55AB410656A6 for ; Thu, 9 Oct 2008 15:03:08 +0000 (UTC) (envelope-from prvs=pauls=161ca38b6@utdallas.edu) Received: from ip-relay-001.utdallas.edu (ip-relay-001.utdallas.edu [129.110.20.111]) by mx1.freebsd.org (Postfix) with ESMTP id 0969A8FC0A for ; Thu, 9 Oct 2008 15:03:07 +0000 (UTC) (envelope-from prvs=pauls=161ca38b6@utdallas.edu) X-Group: RELAYLIST X-IronPort-AV: E=Sophos;i="4.33,383,1220245200"; d="scan'208";a="10551818" Received: from smtp3.utdallas.edu ([129.110.20.110]) by ip-relay-001.utdallas.edu with ESMTP; 09 Oct 2008 10:03:07 -0500 Received: from utd65257.utdallas.edu (utd65257.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 ESMTPSA id F3D298C20; Thu, 9 Oct 2008 10:03:06 -0500 (CDT) Date: Thu, 09 Oct 2008 10:03:06 -0500 From: Paul Schmehl To: Jerry McAllister , Chad Marshall Message-ID: <002001BC4062507DD46E5AD7@utd65257.utdallas.edu> In-Reply-To: <20081009143402.GB84420@gizmo.acns.msu.edu> References: <20081008223925.GB97321@melon.esperance-linux.co.uk> <2F5A85A9-3C1C-4328-9D4C-8722B3FDB2A1@ahm-inc.com> <28283d910810081851h7ab99b5y94b68f04b2a956e7@mail.gmail.com> <74E268D6-92EB-415F-8A28-86909F2F8B56@ahm-inc.com> <20081009143402.GB84420@gizmo.acns.msu.edu> X-Mailer: Mulberry/4.0.6 (Linux/x86) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=sha1; protocol="application/pkcs7-signature"; boundary="==========B8B1ED249443D57F3047==========" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: matt donovan , freebsd-questions@freebsd.org, Frank Shute Subject: Re: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 15:03:08 -0000 --==========B8B1ED249443D57F3047========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline --On Thursday, October 09, 2008 09:34:02 -0500 Jerry McAllister=20 wrote: > > On Thu, Oct 09, 2008 at 07:07:31AM -0700, Chad Marshall wrote: > >> >> Sorry to bother you...You know, you could just leave well enough >> alone if you don't care. There goes any future donations from me and >> my organization as this is more than the first untactful email I >> recieved from this, I'll donate and use other platforms. Please don't >> send any other emails >> > > Kind of touchy, wouldn't you think? > People are giving you some perspective. > Well, anyway, you have the choice of using a superior system > or let scratchy responses lead you to something less suitable. > When I was a young boy, I went on vacation with my family to a lake in upper=20 Minnesota. (My mother's ancestral home.) The weather was beautiful, the water = was warm and inviting, the swimming was thoroughly enjoyable and the cabin we=20 stayed in was luxurious (by the standards of a little boy.) However, my mother said something to me that mad me angry. To "punish" her, I=20 stomped off in a huff and spent the remainder of the vacation scowling in the=20 cabin. I refused to swim until she corrected the perceived injustice.=20 Needless to say, my "punishment" caused me a great deal more consternation than = it did her, or my siblings who were all happily enjoying the water and the=20 boating and the entire lovely vacation while I fumed in the cabin. Self-inflicted wounds are often the most painful of all. --=20 Paul Schmehl (pauls@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ --==========B8B1ED249443D57F3047==========-- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 15:04:04 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA6DD1065695 for ; Thu, 9 Oct 2008 15:04:04 +0000 (UTC) (envelope-from agus.262@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.169]) by mx1.freebsd.org (Postfix) with ESMTP id 735118FC12 for ; Thu, 9 Oct 2008 15:04:04 +0000 (UTC) (envelope-from agus.262@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so106952wfg.7 for ; Thu, 09 Oct 2008 08:04:03 -0700 (PDT) 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=DkvgBmvOkAFgfu8E7Hz3rntbCAgM8QD305qYjsAbh5E=; b=K2HOMwhery4+u6gTNUyFvoNcWve57towkSI4XQDDAysOgeDATHW3ztW29prMCcPQCN PO1sWvQSK5nxptlP3tI09dn8zWp4CbaeV+4/MVC0EHylSc9RbV0yq91M2/+vriw50W7b +HBuC6zwweWt/8j7KqXWCNKQeVGSEvQqMT7XY= 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=Oe/dwgpzQQ5+YlICQW0lC/cmRz59Wsxo7227GfZ71MBU8sUy4l2fDKs5/EUWnJQ0ki xES42YBw+TYoKHIUP6JzwpJjcyFTkR6QhPdJLsB45+6CIsKlJYXiXT6VoOhwJBybxZSx /LKwMX3yhRpQ92ZYI2U9suiPOU6pe0NdWKFNU= Received: by 10.141.171.1 with SMTP id y1mr193999rvo.63.1223564643880; Thu, 09 Oct 2008 08:04:03 -0700 (PDT) Received: by 10.141.82.17 with HTTP; Thu, 9 Oct 2008 08:04:03 -0700 (PDT) Message-ID: Date: Thu, 9 Oct 2008 12:04:03 -0300 From: Agus To: RW In-Reply-To: <20081009133417.2abcb98d@gumby.homeunix.com.> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081009133417.2abcb98d@gumby.homeunix.com.> Cc: FreeBSD Questions Subject: Re: Update System from 6.1 to last 6 Release with NOT generic Kernel... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 15:04:04 -0000 2008/10/9 RW : > On Wed, 8 Oct 2008 19:08:42 -0300 > Agus wrote: > >> Hi guys... >> >> Just wanted to check a few things before crapping my system..hehehe >> >> I am planning on updating the system from 6.1 to the last 6.3-RELEASE >> p5 i think it is....according to the freebsd-update.sh... >> >> I am plannin on doing it with this tool...but my main concern is the >> modified kernel and the ports... > > You can't use freebsd-update on a modified kernel. > > Ports can be left unchanged unless you change the major version and go > to 7. > _______________________________________________ > 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" > Ohh....thanks... But in the middle of freebsd-update it says to update the kernel and rebuild it.....how should i update the kernel....or when it reboots and the /usr/src files have changed; i can see the new GENERIC file....i have to rebuild it from that new modified GENERIC, so that i custom it, and build the kernel from there? Thanks mate! Cheers, Agustin From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 15:06:45 2008 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 6272B106569F for ; Thu, 9 Oct 2008 15:06:45 +0000 (UTC) (envelope-from corey@internationalservices.com) Received: from whasmtp-tariff.pas.sa.earthlink.net (whasmtp-tariff.pas.sa.earthlink.net [207.217.120.87]) by mx1.freebsd.org (Postfix) with ESMTP id 479838FC22 for ; Thu, 9 Oct 2008 15:06:45 +0000 (UTC) (envelope-from corey@internationalservices.com) Received: from [74.160.71.119] (helo=[192.168.10.100]) by whasmtp-tariff.pas.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1KnwsI-0005xG-NX; Thu, 09 Oct 2008 07:52:22 -0700 Message-ID: <48EE1A9E.7020406@internationalservices.com> Date: Thu, 09 Oct 2008 10:52:14 -0400 From: Corey Dulecki User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: questions@freebsd.org, "Grammas, August" X-ELNK-Trace: 668de43e3ffcab26ea4cdd44811d7ce750327050245a32664b0a5869f9765cf8eb87e515456361fbe09687dd9d4799b1350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 74.160.71.119 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: daily/weekly/monthly periodic 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: Thu, 09 Oct 2008 15:06:45 -0000 I have FreeBSD 6.2 running on IBM hardware, single CPU. This server does not have sendmail enabled at all, i.e., in /etc/rc.conf, all four of the "sendmail_xxx" enablers are set to "NO". Today, the /var filesystem ran out of inodes. I tracked the issue down to files that keep appearing in /var/spool/clientmqueue. I've researched enough to understand that these files represent emails that cannot be sent, presumably because I do not have a mail server running on the system. I do not want to enable sendmail or any other client; what I want to do is have the processes which generate these emails send their information to a log, which I will check manually. I believe these emails are being generated by the daily/weekly/monthly periodic processes, something that I didn't even know existed until I ran out of inodes. My question is this: How can I make it so that these periodic processes simply log their messages instead of sending emails that get stuck in clientmqueue? Alternatively, if I can't do that, how do I simply turn off these emails entirely so that they are not sent? -- / /*/Corey Dulecki Vice President of Product Development /**@**In**ternationalServices **office*: 770.414.6000 /ext/ 707 *web*:www.InternationalServices.com ___________________________________________________________ This mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this mail in error) please notify the sender immediately and destroy this email. Any unauthorized copying, disclosure or distribution of the material in this email is strictly forbidden. ___________________________________________________________ From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 15:11:15 2008 Return-Path: Delivered-To: FreeBSD-Questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 389131065694 for ; Thu, 9 Oct 2008 15:11:15 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: from mail-gx0-f21.google.com (mail-gx0-f21.google.com [209.85.217.21]) by mx1.freebsd.org (Postfix) with ESMTP id CA10C8FC14 for ; Thu, 9 Oct 2008 15:11:14 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: by gxk14 with SMTP id 14so34041gxk.19 for ; Thu, 09 Oct 2008 08:11:13 -0700 (PDT) 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=VlxwEMeY3VeyislZd3JHboQMsMWm5A6kW1RyuOxOMN8=; b=o6hURM3TWFLLFN5p2yn3maLp3w/P9zex3efqXUaA1/gL/AkTTc/k8cpLda6zLXtDkU 0R2SiKNxbg+lU9KVceVigu/TAso6PEnGM85zKEwxQUUvk89oMNeLj4RTs3IvNlKmj6W0 SMDDJdxEAFX4qiWNlOURzmml23vFA/lmxHGZw= 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=UI300u+j2Naf06B2Nb/Y/JAnDwjhOFcfzgZG9/2M43MAxrgO0cYrOo6urt7TCt4hFZ 4c4Uh4/+4ltxtIt0Mg5PKYQfQkBW9x/zqwNx/Q6kAl3hYVwqNmX58AtIkm8TPaZLnPYW 1uBrGv9SdoR3SeWHA2MUVUCXO6SmTJ7CiSmcg= Received: by 10.151.13.7 with SMTP id q7mr290215ybi.52.1223565073697; Thu, 09 Oct 2008 08:11:13 -0700 (PDT) Received: by 10.64.112.18 with HTTP; Thu, 9 Oct 2008 08:11:13 -0700 (PDT) Message-ID: <94136a2c0810090811t7d32b0cekde2a55fbaabaa2fd@mail.gmail.com> Date: Thu, 9 Oct 2008 17:11:13 +0200 From: "Zbigniew Szalbot" To: "Chad Marshall" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081008223925.GB97321@melon.esperance-linux.co.uk> <2F5A85A9-3C1C-4328-9D4C-8722B3FDB2A1@ahm-inc.com> <28283d910810081851h7ab99b5y94b68f04b2a956e7@mail.gmail.com> <74E268D6-92EB-415F-8A28-86909F2F8B56@ahm-inc.com> <20081009143515.GA41174@Grumpy.DynDNS.org> Cc: David Kelly , FreeBSD-Questions@freebsd.org Subject: Re: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 15:11:15 -0000 Hi, 2008/10/9 Chad Marshall : > Well, I can always except critism. The problem is that I don't need rude > responses for something I thought would be something to share for your > organization, a success story of FreeBSD. Only for people to call me lazy > and say "Big Deal". If it's not a big deal, than say nothing. Maybe you > should put someone in charge of answering emails who aren't cocky and smug, > some responses were nice and at least supportive. Chad - I think that you need to understand one thing. This is a public list and majority of people who post/respond here aren't FreeBSD Foundation workers but users of this great OS. At least I see the need to separate the two. So if people are playing kind of rude, just ignore them. I was glad to hear that FreeBSD proved useful to you, as it is proving useful to me and an NGO I work for. I could give you hips of examples when thanks to this list I have learnt something useful or was given useful advice. And two years ago I knew nothing about Unix or Linux. Thanks to this list I can manage FreeBSD (almost) on my own. :) But the discussion that followed made me realize that uptime is not everything. I also love to see huge uptimes on my servers but if anything this discussion brought it home to me that more than anything I need to take care of security updates which I do. All the best, -- Zbigniew Szalbot From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 15:12:05 2008 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 93B651065692 for ; Thu, 9 Oct 2008 15:12:05 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA02.emeryville.ca.mail.comcast.net (qmta02.emeryville.ca.mail.comcast.net [76.96.30.24]) by mx1.freebsd.org (Postfix) with ESMTP id 94FC68FC1B for ; Thu, 9 Oct 2008 15:12:02 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA12.emeryville.ca.mail.comcast.net ([76.96.30.44]) by QMTA02.emeryville.ca.mail.comcast.net with comcast id QdjK1a01r0x6nqcA2fC1fc; Thu, 09 Oct 2008 15:12:01 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA12.emeryville.ca.mail.comcast.net with comcast id QfC01a00B2P6wsM8YfC0ju; Thu, 09 Oct 2008 15:12:01 +0000 X-Authority-Analysis: v=1.0 c=1 a=6QFDZWrPJSUA:10 a=QycZ5dHgAAAA:8 a=RWhMxSAMq9FB2pT2WpkA:9 a=56M8qYBiLaMf3PgCHP0A:7 a=ULTUZ58INpU-kOo6H5KfGi9WrQQA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 51E13C9419; Thu, 9 Oct 2008 08:12:00 -0700 (PDT) Date: Thu, 9 Oct 2008 08:12:00 -0700 From: Jeremy Chadwick To: Corey Dulecki Message-ID: <20081009151200.GA6739@icarus.home.lan> References: <48EE1A9E.7020406@internationalservices.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48EE1A9E.7020406@internationalservices.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: questions@freebsd.org, "Grammas, August" Subject: Re: daily/weekly/monthly periodic 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: Thu, 09 Oct 2008 15:12:05 -0000 On Thu, Oct 09, 2008 at 10:52:14AM -0400, Corey Dulecki wrote: > I have FreeBSD 6.2 running on IBM hardware, single CPU. This server > does not have sendmail enabled at all, i.e., in /etc/rc.conf, all four > of the "sendmail_xxx" enablers are set to "NO". Today, the /var > filesystem ran out of inodes. > > I tracked the issue down to files that keep appearing in > /var/spool/clientmqueue. Which makes no sense, since you're using postfix -- postfix does not use that directory. It sounds to me like possibly your /etc/mail/mailer.conf (used by mailwrapper) is still pointing to the Sendmail (non-postfix) binaries. > I've researched enough to understand that > these files represent emails that cannot be sent, presumably because I > do not have a mail server running on the system. I do not want to > enable sendmail or any other client; what I want to do is have the > processes which generate these emails send their information to a log, > which I will check manually. I believe these emails are being generated > by the daily/weekly/monthly periodic processes, something that I didn't > even know existed until I ran out of inodes. > > My question is this: How can I make it so that these periodic processes > simply log their messages instead of sending emails that get stuck in > clientmqueue? Alternatively, if I can't do that, how do I simply turn > off these emails entirely so that they are not sent? You should be using these values in rc.conf: # We use postfix postfix_enable="yes" sendmail_enable="NO" sendmail_submit_enable="NO" sendmail_outbound_enable="NO" sendmail_msp_queue_enable="NO" And these values in periodic.conf: # We use postfix daily_clean_hoststat_enable="NO" daily_status_mail_rejects_enable="NO" daily_status_include_submit_mailq="NO" daily_submit_queuerun="NO" And these values in /etc/mail/mailer.conf: sendmail /usr/local/sbin/sendmail send-mail /usr/local/sbin/sendmail mailq /usr/local/sbin/sendmail newaliases /usr/local/sbin/sendmail If you *really* want to turn off daily/weekly/monthly mails -- which I strongly DO NOT recommend you do, for MANY reasons -- you should look at /etc/defaults/periodic.conf for all of the values you can tune. DO NOT edit that file -- use /etc/periodic.conf instead. -- | 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 Thu Oct 9 15:21:38 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C36241065689 for ; Thu, 9 Oct 2008 15:21:38 +0000 (UTC) (envelope-from fbsd06+2R=64e0b786@mlists.homeunix.com) Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by mx1.freebsd.org (Postfix) with ESMTP id 9C4308FC1B for ; Thu, 9 Oct 2008 15:21:38 +0000 (UTC) (envelope-from fbsd06+2R=64e0b786@mlists.homeunix.com) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 1FB6CD051E for ; Thu, 9 Oct 2008 11:21:36 -0400 (EDT) Date: Thu, 9 Oct 2008 16:21:27 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20081009162127.0381ffcf@gumby.homeunix.com.> In-Reply-To: <48EE1A9E.7020406@internationalservices.com> References: <48EE1A9E.7020406@internationalservices.com> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: daily/weekly/monthly periodic 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: Thu, 09 Oct 2008 15:21:38 -0000 On Thu, 09 Oct 2008 10:52:14 -0400 Corey Dulecki wrote: > My question is this: How can I make it so that these periodic > processes simply log their messages instead of sending emails that > get stuck in clientmqueue? Take a look at the *_output variables in /etc/defaults/periodic.conf From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 15:21:43 2008 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 8A9041065695 for ; Thu, 9 Oct 2008 15:21:43 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id 66FB78FC1B for ; Thu, 9 Oct 2008 15:21:43 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from 68-189-244-97.dhcp.oxfr.ma.charter.com ([68.189.244.97] helo=Gregory-Larkins-Computer.local) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KnxKe-000Jrp-Vb; Thu, 09 Oct 2008 11:21:42 -0400 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by Gregory-Larkins-Computer.local (Postfix) with ESMTP id BF82525D8FB6; Thu, 9 Oct 2008 11:21:39 -0400 (EDT) Message-ID: <48EE2184.1030008@FreeBSD.org> Date: Thu, 09 Oct 2008 11:21:40 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Corey Dulecki References: <48EE1A9E.7020406@internationalservices.com> In-Reply-To: <48EE1A9E.7020406@internationalservices.com> X-Enigmail-Version: 0.95.7 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.3 (-) Cc: questions@freebsd.org, "Grammas, August" Subject: Re: daily/weekly/monthly periodic output X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 15:21:43 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Corey Dulecki wrote: > I have FreeBSD 6.2 running on IBM hardware, single CPU. This server > does not have sendmail enabled at all, i.e., in /etc/rc.conf, all four > of the "sendmail_xxx" enablers are set to "NO". Today, the /var > filesystem ran out of inodes. > > I tracked the issue down to files that keep appearing in > /var/spool/clientmqueue. I've researched enough to understand that > these files represent emails that cannot be sent, presumably because I > do not have a mail server running on the system. I do not want to > enable sendmail or any other client; what I want to do is have the > processes which generate these emails send their information to a log, > which I will check manually. I believe these emails are being generated > by the daily/weekly/monthly periodic processes, something that I didn't > even know existed until I ran out of inodes. > > My question is this: How can I make it so that these periodic processes > simply log their messages instead of sending emails that get stuck in > clientmqueue? Alternatively, if I can't do that, how do I simply turn > off these emails entirely so that they are not sent? Hi Corey, If you don't already have an /etc/periodic.conf file, create one with the following entries: daily_output="/var/log/daily.log" # user or /file daily_status_security_output="/var/log/daily.log" # user or /file weekly_output="/var/log/weekly.log" # user or /file monthly_output="/var/log/monthly.log" # user or /file All of the output from the periodic scripts will be redirected to those files. You'll likely want to rotate those files regularly. I have the following in my /etc/newsyslog.conf file: /var/log/daily.log 640 7 * @T00 JN /var/log/monthly.log 640 12 * $M1D0 JN /var/log/weekly.log 640 5 1 $W6D0 JN Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI7iGE0sRouByUApARAlgaAKCnyDbq5X4of+7s6MNgt0HI2GWqZQCgxBW/ aL8nyZHG/qc7CAt+QCs6bH4= =FvE1 -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 15:25:24 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 878AF1065689 for ; Thu, 9 Oct 2008 15:25:23 +0000 (UTC) (envelope-from scottmaccal@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id 17D0C8FC12 for ; Thu, 9 Oct 2008 15:25:22 +0000 (UTC) (envelope-from scottmaccal@gmail.com) Received: by ey-out-2122.google.com with SMTP id 6so28150eyi.7 for ; Thu, 09 Oct 2008 08:25:21 -0700 (PDT) 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=2FPwK9MRxVqno9fpccLIJTEIiX8aQ5U+9Yo0WnvGKpQ=; b=tQUjrQ+Fo1GcbQ26s9I/ZT/c8IEdyhW/nYDIvXPJn5vjfSpDzj0urIFx0vAiWX9OQI cLTzCUOh+IdobtOEPbVwL2hod9r38yIUxYl3JV+jWyBnHFcR3LHlWmxG/Iu4wlOycIDd Xn5s/3eWLisw3oGMW3FdwkgkONCN2DM+FFndc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=rccs1mvwvyjkPzGaL36qb08hf/NwLCrmGoJNi7XbFdaiWvFuK87OZeRY4MfSudupTd pIPk0gNMxbEx6Np+QxoNMe1vNj8RHcmS0UMQNJBAdBlsrYmnnqKa6xPoIGdVqn+2kIsN JIIwcBfweYDapn69R4qGqt91e1mxTLFpWkDXU= Received: by 10.210.66.13 with SMTP id o13mr221901eba.66.1223564012846; Thu, 09 Oct 2008 07:53:32 -0700 (PDT) Received: by 10.210.69.14 with HTTP; Thu, 9 Oct 2008 07:53:32 -0700 (PDT) Message-ID: <28f0982f0810090753xd7ecc32wd1aee956b5bb0304@mail.gmail.com> Date: Thu, 9 Oct 2008 10:53:32 -0400 From: "Scott MacCallum" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: smbpasswd mortal 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, 09 Oct 2008 15:25:24 -0000 Greetings, I would like my users to be able to change their Samba password using the smbpasswd command. As of right now only root is allowed to do this. I set the smbpasswd command with the same permissions as the passwd command and I still cannot run it as a mortal user. I read the FreeBSD handbook and understand that smbpasswd is no longer the preferred tool to do what I want with version of Samba I am running, however it too cannot be run as a mortal user. In any case, I would like to continue using the smbpasswd command. Does someone have a solution they can share? FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Samba version 3.0.28 (from ports) -- Sincerely, Scott From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 15:33:23 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20E85106568B for ; Thu, 9 Oct 2008 15:33:23 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA09.westchester.pa.mail.comcast.net (qmta09.westchester.pa.mail.comcast.net [76.96.62.96]) by mx1.freebsd.org (Postfix) with ESMTP id C0C8F8FC18 for ; Thu, 9 Oct 2008 15:33:22 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA13.westchester.pa.mail.comcast.net ([76.96.62.52]) by QMTA09.westchester.pa.mail.comcast.net with comcast id QfPu1a00A17dt5G59fZMlR; Thu, 09 Oct 2008 15:33:21 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA13.westchester.pa.mail.comcast.net with comcast id QfZL1a0082P6wsM3ZfZL1A; Thu, 09 Oct 2008 15:33:21 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=ap2ALCM1BhQw9Q0-DHEA:9 a=l7pN0iMxyL5nz4aErBEA:7 a=JblPi88ktLtUj13YEev9CF3VeQcA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 18874C9419; Thu, 9 Oct 2008 08:33:20 -0700 (PDT) Date: Thu, 9 Oct 2008 08:33:20 -0700 From: Jeremy Chadwick To: Scott MacCallum Message-ID: <20081009153320.GA7611@icarus.home.lan> References: <28f0982f0810090753xd7ecc32wd1aee956b5bb0304@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <28f0982f0810090753xd7ecc32wd1aee956b5bb0304@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: smbpasswd mortal 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, 09 Oct 2008 15:33:23 -0000 On Thu, Oct 09, 2008 at 10:53:32AM -0400, Scott MacCallum wrote: > I would like my users to be able to change their Samba password using the > smbpasswd command. As of right now only root is allowed to do this. I set > the smbpasswd command with the same permissions as the passwd command and I > still cannot run it as a mortal user. I read the FreeBSD handbook and > understand that smbpasswd is no longer the preferred tool to do what I want > with version of Samba I am running, however it too cannot be run as a mortal > user. In any case, I would like to continue using the smbpasswd command. > > Does someone have a solution they can share? Users editing their own passwords -- I have no idea how to solve that. I don't think it's possible because the commands also allow you (or a user) to edit many different fields in their account, including disabling password expiry, changing their unique ID, all that jazz. It sounds like you might have to write a program/utility to do this, acting as a wrapper around pdbedit(8). smbpasswd(8) isn't recommend any more, true. If you're like me and do not care for things like LDAP and prefer flat-files, use the "tdbsam" password database method, and the pdbedit(8) command to edit passwords and do things to accounts. All I use in smb.conf is: private dir = /conf/ME/samba passdb backend = tdbsam Thus passdb.tdb and secrets.tdb will end up going into /conf/ME/samba. You can also say "passdb backend = tdbsam:/some/place" which will store passdb.tdb in /some/place; secrets.tdb will still end up in "private dir" > FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 > root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Consider upgrading (world/kernel) soon, as you're susceptible to some security issues. Just a comment in passing; not the focus of this mail. -- | 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 Thu Oct 9 15:42:10 2008 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 D1EF21065692 for ; Thu, 9 Oct 2008 15:42:10 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.5]) by mx1.freebsd.org (Postfix) with ESMTP id AC80E8FC08 for ; Thu, 9 Oct 2008 15:42:10 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 15159 invoked from network); 9 Oct 2008 15:15:30 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 9 Oct 2008 15:15:29 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id CD45428465; Thu, 9 Oct 2008 11:15:28 -0400 (EDT) To: Corey Dulecki References: <48EE1A9E.7020406@internationalservices.com> From: Lowell Gilbert Date: Thu, 09 Oct 2008 11:15:28 -0400 In-Reply-To: <48EE1A9E.7020406@internationalservices.com> (Corey Dulecki's message of "Thu\, 09 Oct 2008 10\:52\:14 -0400") Message-ID: <44prm9hka7.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: questions@freebsd.org, "Grammas, August" Subject: Re: daily/weekly/monthly periodic 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: Thu, 09 Oct 2008 15:42:10 -0000 Corey Dulecki writes: > I have FreeBSD 6.2 running on IBM hardware, single CPU. This server > does not have sendmail enabled at all, i.e., in /etc/rc.conf, all four > of the "sendmail_xxx" enablers are set to "NO". Today, the /var > filesystem ran out of inodes. > > I tracked the issue down to files that keep appearing in > /var/spool/clientmqueue. I've researched enough to understand that > these files represent emails that cannot be sent, presumably because I > do not have a mail server running on the system. I do not want to > enable sendmail or any other client; what I want to do is have the > processes which generate these emails send their information to a log, > which I will check manually. I believe these emails are being > generated by the daily/weekly/monthly periodic processes, something > that I didn't even know existed until I ran out of inodes. > > My question is this: How can I make it so that these periodic > processes simply log their messages instead of sending emails that get > stuck in clientmqueue? Alternatively, if I can't do that, how do I > simply turn off these emails entirely so that they are not sent? Look at "man periodic.conf". The *_output variables are exactly what you want, and there are example values listed. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 15:46:33 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1FB91065691 for ; Thu, 9 Oct 2008 15:46:33 +0000 (UTC) (envelope-from alancyang@gmail.com) Received: from mail-gx0-f21.google.com (mail-gx0-f21.google.com [209.85.217.21]) by mx1.freebsd.org (Postfix) with ESMTP id 8B2F78FC20 for ; Thu, 9 Oct 2008 15:46:33 +0000 (UTC) (envelope-from alancyang@gmail.com) Received: by gxk14 with SMTP id 14so102151gxk.19 for ; Thu, 09 Oct 2008 08:46:32 -0700 (PDT) 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=QPF8Uts58HrVzzS4ZevqCzHWxo0b3Nxbu7I9AG9w7Vk=; b=f2dp+XT8HP/6admQMRVFv0R+nO4Iz8jBP/hVSDypwROeJ2KM4yG+uusTlUAe040hdR bjDKCL+krlJA3sHv9grMvNLwZEMr50yyYktgUQ8PmLtTmJpdRefEiCeb2WOUFjXER1jV C6HE6Y+o4wLTTdpwkyoFQaWuty7+2hkHMIlZ4= 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=PG96hPPn1dwUbhLdpxIQsz9I/8HiphXVN4oZ98ApF+DTOvDRpy4omCOjo4/gma0oks t/N8uAdGx0EF8AD9lfM88b9DbYI388VmuSZnHCgU7w+PW8QYp9AzyRKtfvs+c1bfsLKm RT7FmBG6MooQDtMiZblXS+zr1bBDZwQzK7P40= Received: by 10.90.94.3 with SMTP id r3mr104302agb.62.1223567192143; Thu, 09 Oct 2008 08:46:32 -0700 (PDT) Received: by 10.90.94.14 with HTTP; Thu, 9 Oct 2008 08:46:32 -0700 (PDT) Message-ID: <290865fd0810090846y57bbdc1fs3db5c5334fe80c09@mail.gmail.com> Date: Thu, 9 Oct 2008 08:46:32 -0700 From: "alan yang" To: freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: setkey panic freebsd7 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 15:46:33 -0000 i wonder people ran into similar issue on setkey with freebsd7 that panic at ~/crypto/sha1.c:263 within sha1_result() digest[0] = ctxt->h.b8[3]; digest[1] = ctxt->h.b8[2]; on the following sadb add with setkey: add 192.168.0.101 192.168.0.110 esp-old 0x10001 -m any -E des-cbc "12345678" -A keyed-sha1 "12345678123456781234" thanks in advance on any hints. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 15:56:16 2008 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 D4F941065696 for ; Thu, 9 Oct 2008 15:56:16 +0000 (UTC) (envelope-from corey@internationalservices.com) Received: from whasmtp-shoe.pas.sa.earthlink.net (whasmtp-shoe.pas.sa.earthlink.net [207.217.120.47]) by mx1.freebsd.org (Postfix) with ESMTP id B80248FC17 for ; Thu, 9 Oct 2008 15:56:16 +0000 (UTC) (envelope-from corey@internationalservices.com) Received: from [74.160.71.119] (helo=[192.168.10.100]) by whasmtp-shoe.pas.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1Knxs8-0000MZ-00; Thu, 09 Oct 2008 08:56:16 -0700 Message-ID: <48EE299B.6060306@internationalservices.com> Date: Thu, 09 Oct 2008 11:56:11 -0400 From: Corey Dulecki User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: glarkin@FreeBSD.org References: <48EE1A9E.7020406@internationalservices.com> <48EE2184.1030008@FreeBSD.org> In-Reply-To: <48EE2184.1030008@FreeBSD.org> X-ELNK-Trace: 668de43e3ffcab26ea4cdd44811d7ce750327050245a32664b0a5869f9765cf87aa221a2e07d8d2ecbdb57751ccc57f1350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 74.160.71.119 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org, "Grammas, August" Subject: Re: daily/weekly/monthly periodic 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: Thu, 09 Oct 2008 15:56:17 -0000 Thank you all for your very fast assistance! Greg Larkin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Corey Dulecki wrote: > >> I have FreeBSD 6.2 running on IBM hardware, single CPU. This server >> does not have sendmail enabled at all, i.e., in /etc/rc.conf, all four >> of the "sendmail_xxx" enablers are set to "NO". Today, the /var >> filesystem ran out of inodes. >> >> I tracked the issue down to files that keep appearing in >> /var/spool/clientmqueue. I've researched enough to understand that >> these files represent emails that cannot be sent, presumably because I >> do not have a mail server running on the system. I do not want to >> enable sendmail or any other client; what I want to do is have the >> processes which generate these emails send their information to a log, >> which I will check manually. I believe these emails are being generated >> by the daily/weekly/monthly periodic processes, something that I didn't >> even know existed until I ran out of inodes. >> >> My question is this: How can I make it so that these periodic processes >> simply log their messages instead of sending emails that get stuck in >> clientmqueue? Alternatively, if I can't do that, how do I simply turn >> off these emails entirely so that they are not sent? >> > > Hi Corey, > > If you don't already have an /etc/periodic.conf file, create one with > the following entries: > > daily_output="/var/log/daily.log" # user or /file > daily_status_security_output="/var/log/daily.log" # user or /file > weekly_output="/var/log/weekly.log" # user or /file > monthly_output="/var/log/monthly.log" # user or /file > > All of the output from the periodic scripts will be redirected to those > files. You'll likely want to rotate those files regularly. I have the > following in my /etc/newsyslog.conf file: > > /var/log/daily.log 640 7 * @T00 JN > /var/log/monthly.log 640 12 * $M1D0 JN > /var/log/weekly.log 640 5 1 $W6D0 JN > > Regards, > Greg > - -- > Greg Larkin > > http://www.FreeBSD.org/ - The Power To Serve > http://www.sourcehosting.net/ - Ready. Set. Code. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFI7iGE0sRouByUApARAlgaAKCnyDbq5X4of+7s6MNgt0HI2GWqZQCgxBW/ > aL8nyZHG/qc7CAt+QCs6bH4= > =FvE1 > -----END PGP SIGNATURE----- > > > -- / /*/Corey Dulecki Vice President of Product Development /**@**In**ternationalServices **office*: 770.414.6000 /ext/ 707 *web*:www.InternationalServices.com ___________________________________________________________ This mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this mail in error) please notify the sender immediately and destroy this email. Any unauthorized copying, disclosure or distribution of the material in this email is strictly forbidden. ___________________________________________________________ From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 16:35:42 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4BA51065694 for ; Thu, 9 Oct 2008 16:35:42 +0000 (UTC) (envelope-from weaseal@gmail.com) Received: from mail-gx0-f21.google.com (mail-gx0-f21.google.com [209.85.217.21]) by mx1.freebsd.org (Postfix) with ESMTP id 9E38B8FC1C for ; Thu, 9 Oct 2008 16:35:42 +0000 (UTC) (envelope-from weaseal@gmail.com) Received: by gxk14 with SMTP id 14so195570gxk.19 for ; Thu, 09 Oct 2008 09:35:38 -0700 (PDT) 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=W3FyX7KYM5lsg3GH/uZPofpYJjlNPC0pw6hSCq516HE=; b=lPi/XRmGLcKJIlPGKPD1NfWVXRUQDzw2oyZp2XGauZtSuz5MIF+q6VelFBQPv1D/sv et1Lgx+KmqPUe53G5z04ddYGisDkHhdF5c9Ka7h1Fa2slb4Im8FqvSUHMLjDq0QVt879 jH84Hcl3uxYRob7/Lw0sizgzvuoPSGrG/uF90= 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=hTwjGgvXhTgBfTXpCEQncHcp/ZSIzb3wCEdi/I5jA33Cck6yKG1BzmHwzUL0W969CI RzvfzaKj6sNAk/xSKS12/Nn+u3TOo9Tef34yIYM1ewFJ9ClgK7iqIVHCXVoHKVS7GSm2 vjq0WVGkOaHeQVB1621Ux/S4jaY3Q/cpuZi5g= Received: by 10.65.123.10 with SMTP id a10mr538409qbn.12.1223570138532; Thu, 09 Oct 2008 09:35:38 -0700 (PDT) Received: by 10.64.213.12 with HTTP; Thu, 9 Oct 2008 09:35:38 -0700 (PDT) Message-ID: <8dfae1c10810090935s6eeda585ta258d80bcfab0856@mail.gmail.com> Date: Thu, 9 Oct 2008 19:35:38 +0300 From: "Walter Venable" Sender: weaseal@gmail.com To: "Manolis Kiagias" In-Reply-To: <48E37FF9.3000108@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8dfae1c10810010534h2feb81eetd3f690f30e893611@mail.gmail.com> <48E37FF9.3000108@gmail.com> X-Google-Sender-Auth: 7b9e391ad433f0ce Cc: freebsd-questions@freebsd.org Subject: Re: Kernel panic! 7.0-RELEASE-p4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 16:35:43 -0000 Thanks, that took care of it. On Wed, Oct 1, 2008 at 4:49 PM, Manolis Kiagias wrote: > Walter Venable wrote: >> >> Our box, without readily obvious provocation, started doing this today: >> Panic: softdep_setup_inomapdep: dependency for new inode already exists. >> cpuid: 0 >> physical memory: 1971 MB >> dumping 78MB: 63 47 31 15 >> >> The system then immediately reboots, and hits the panic, reboots, etc. >> What can I do?? >> > > Maybe boot into single user mode and run fsck? > _______________________________________________ > 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 Oct 9 16:38:11 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 094F7106569E for ; Thu, 9 Oct 2008 16:38:11 +0000 (UTC) (envelope-from weaseal@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.31]) by mx1.freebsd.org (Postfix) with ESMTP id B261A8FC26 for ; Thu, 9 Oct 2008 16:38:10 +0000 (UTC) (envelope-from weaseal@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so29336ywe.13 for ; Thu, 09 Oct 2008 09:38:09 -0700 (PDT) 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:mime-version:content-type:content-transfer-encoding :content-disposition:x-google-sender-auth; bh=cBbfyDuOAT7vhQdRi5ptleBNviq5qbOk6dE1tfZ7cDM=; b=SBcc2AIKhezNV45o+JKwOTgUDHWE/jQKQB2ETCv9dfGNwhlmatQCpJQyZsELj/1Gm2 tAHCX5BM4nlqtwjuYBR8XvaonL9rCnu4ZZVJh5/Wc8gjaamSkePwyjD9xSdCoj5w5hGQ mn89nmpkyAUNisyeGiiZGWea4D+WveaZw92uM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition:x-google-sender-auth; b=A+AH6WJqwUGePDiTC+PgB9rIWjFbQ2w04f4Xij3H6/zdPK+FTUgdEVlxp5R+DfXsN2 Ku7JW1FR2mRGoMoMCu0q3lMz7dHluPm2GUZbEnhYzIiEed2Qsi/OlfKGRtkTjMmHgelb +YEOKOiixH77X6NC9DbeyZDc+ijNpt8xCO9sg= Received: by 10.151.158.2 with SMTP id k2mr419112ybo.54.1223570289616; Thu, 09 Oct 2008 09:38:09 -0700 (PDT) Received: by 10.64.213.12 with HTTP; Thu, 9 Oct 2008 09:38:09 -0700 (PDT) Message-ID: <8dfae1c10810090938k471f82f0j46caed0514e5b5ac@mail.gmail.com> Date: Thu, 9 Oct 2008 19:38:09 +0300 From: "Walter Venable" Sender: weaseal@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: 63e7c287fa8b970c Subject: Portsnap causes system to reboot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 16:38:11 -0000 Whenever I run portsnap fetch update (edit: it also happens for a simple portsnap fetch), my system reboots unexpectedly. Here's the output: # portsnap fetch update Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found. Fetching snapshot tag from portsnap2.FreeBSD.org... done. Fetching snapshot metadata... done. Updating from Wed Sep 24 00:04:04 EEST 2008 to Thu Oct 9 10:28:42 EEST 2008. Fetching 3 metadata patches.. done. Applying metadata patches... done. Fetching 3 metadata files... done. Fetching 602 patches.....10....20....30....40....50....60....70....80....90....100....110....120....130....140....150....160....170....180....190....200....210....220....230....240....250....260....270....280....290....300....310....320....330....340....350....360....370....380....390....400....410....420....430....440....450....460....470....480....490....500....510....520....530....540....550....560....570....580....590....600. done. Applying patches... Read from remote host X: Connection reset by peer Connection to X closed. And then I can log-in again a few minutes later, and the uptime has gone down to a few seconds, so I know it rebooted. Any ideas why this is happening? Some background info: $ uname -mrs FreeBSD 7.0-RELEASE-p5 i386 And: $ cat /etc/make.conf # added by use.perl 2008-07-16 15:32:01 PERL_VER=5.8.8 PERL_VERSION=5.8.8 CFLAGS=-O2 -pipe COPTFLAGS=-O2 -pipe CPUTYPE=athlon-xp NO_PROFILE=true Since this started happening, I have still successfully updated ports by csup'ing the ports tree. I can also still rebuild the world and kernel without issue. This is a remote box, and I don't use X with it. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 16:44:30 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A21FF1065686 for ; Thu, 9 Oct 2008 16:44:30 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA01.westchester.pa.mail.comcast.net (qmta01.westchester.pa.mail.comcast.net [76.96.62.16]) by mx1.freebsd.org (Postfix) with ESMTP id F33568FC13 for ; Thu, 9 Oct 2008 16:44:29 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA01.westchester.pa.mail.comcast.net ([76.96.62.11]) by QMTA01.westchester.pa.mail.comcast.net with comcast id QbPl1a0080EZKEL51gkTPJ; Thu, 09 Oct 2008 16:44:27 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA01.westchester.pa.mail.comcast.net with comcast id QgkR1a0042P6wsM3MgkRXX; Thu, 09 Oct 2008 16:44:25 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=q9S-C6RlTw2ZsuTXOPkA:9 a=ByqADOmPDcYodOSHpkKK4MHmhtcA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id D1F9EC9419; Thu, 9 Oct 2008 09:44:24 -0700 (PDT) Date: Thu, 9 Oct 2008 09:44:24 -0700 From: Jeremy Chadwick To: Walter Venable Message-ID: <20081009164424.GA9081@icarus.home.lan> References: <8dfae1c10810090938k471f82f0j46caed0514e5b5ac@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8dfae1c10810090938k471f82f0j46caed0514e5b5ac@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Portsnap causes system to reboot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 16:44:30 -0000 On Thu, Oct 09, 2008 at 07:38:09PM +0300, Walter Venable wrote: > Whenever I run portsnap fetch update (edit: it also happens for a > simple portsnap fetch), my system reboots unexpectedly. Here's the > output: > # portsnap fetch update > Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found. > Fetching snapshot tag from portsnap2.FreeBSD.org... done. > Fetching snapshot metadata... done. > Updating from Wed Sep 24 00:04:04 EEST 2008 to Thu Oct 9 10:28:42 EEST 2008. > Fetching 3 metadata patches.. done. > Applying metadata patches... done. > Fetching 3 metadata files... done. > Fetching 602 patches.....10....20....30....40....50....60....70....80....90....100....110....120....130....140....150....160....170....180....190....200....210....220....230....240....250....260....270....280....290....300....310....320....330....340....350....360....370....380....390....400....410....420....430....440....450....460....470....480....490....500....510....520....530....540....550....560....570....580....590....600. > done. > Applying patches... Read from remote host X: Connection reset by peer > Connection to X closed. > > And then I can log-in again a few minutes later, and the uptime has > gone down to a few seconds, so I know it rebooted. Any ideas why this > is happening? Nope, not without kernel panic information. Does this machine have serial console? Are kernel panic dumps being put into /var/crash? Is the machine even configured for it (see dumpdev, dumpdir, and savecore in rc.conf). > Some background info: > $ uname -mrs > FreeBSD 7.0-RELEASE-p5 i386 It would be useful if you could provide uname -a please, if you're concerned about the hostname, just XXX it out. Seeing the kernel build date is useful. > CFLAGS=-O2 -pipe > COPTFLAGS=-O2 -pipe > CPUTYPE=athlon-xp Please don't do this. Use ?= for this, not =. If you think I'm trolling, please read /usr/share/examples/etc/make.conf. > Since this started happening, I have still successfully updated ports > by csup'ing the ports tree. I can also still rebuild the world and > kernel without issue. This is a remote box, and I don't use X with > it. It almost sounds like a filesystem problem. You might consider booting into single-user and running fsck -y. -- | 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 Thu Oct 9 16:45:15 2008 Return-Path: Delivered-To: FreeBSD-Questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78AE41065689 for ; Thu, 9 Oct 2008 16:45:15 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: from web56801.mail.re3.yahoo.com (web56801.mail.re3.yahoo.com [66.196.97.75]) by mx1.freebsd.org (Postfix) with SMTP id 27D0A8FC0C for ; Thu, 9 Oct 2008 16:45:14 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: (qmail 276 invoked by uid 60001); 9 Oct 2008 16:45:14 -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:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=heY4BB7TDckkZLE9TM0dW5ri11sECdkaac84TY/yfpuztGndwxJh+PauDALdwWjRdhiLwkj3rLnnNZLklD8BiDGGq/HLm98gFaFA3qBI6N+qRITb1BYGuoq9dkJHIL6DQPCgq6fPRbNygDCHVfgbkfYd8oN1ivylSz1gb14tGtI=; X-YMail-OSG: m1F2qNMVM1kbLb7JOMV36aGUItk6ebQ0fRw9BvoLrpuGh3boxmbMvIJkGQmVk.pW5ih.KgHI4HGun2hlaiM633r2N0vdmoCv7GGyRv5JaV64tfr7_Rqz6pnMYfq_G7EUnlqDdK7G5jRc0om9OYVPw4aYTAGmR3f9ZpjBz6SzUrCmemdKcul2kywqKFEqyg-- Received: from [71.61.220.126] by web56801.mail.re3.yahoo.com via HTTP; Thu, 09 Oct 2008 09:45:14 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Thu, 9 Oct 2008 09:45:14 -0700 (PDT) From: mdh To: FreeBSD-Questions@FreeBSD.org, Chad Marshall In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <144689.99682.qm@web56801.mail.re3.yahoo.com> Cc: Subject: Re: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mdh_lists@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 16:45:15 -0000 --- On Thu, 10/9/08, Chad Marshall wrote: > Maybe you should put someone in charge of answering emails > who aren't > cocky and smug This is a public mailing list. No one is in charge of answering mails to it. When sending to -questions, you are emailing the community of people, most of whom are willing to help when they have time and knowledge. > I still believe in FreeBSD and it's a great OS. > It's the nix I started > and learned with but I think your community is full of > conceited, > pompous asses, the reason I don't like to associate > with IT people. > I'd rather not give money to someone who has to insult > me. No one on this list gets paid for helping others via it. If you want paid support with no risk of potentially being offended by someone, you can actually pay for support through any one of many companies, or just hire a consultant. > If you go > to a restaurant and you get a rude waiter, what do you do? > I don't go > back or give them a crap tip. You're under some whacky and wholly mistaken impression that anyone here is getting tips. We're here to help other users because that's how the community interoperates. Others help me, I in turn help others. If someone were rude to me or generally behaved poorly on the list, I may then be less inclined to answer a question they ask which I may know the answer to, or vice-versa. Take care, mdh From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 16:46:14 2008 Return-Path: Delivered-To: FreeBSD-Questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31118106568B for ; Thu, 9 Oct 2008 16:46:14 +0000 (UTC) (envelope-from jon@radel.com) Received: from wave.radel.com (wave.radel.com [216.143.151.4]) by mx1.freebsd.org (Postfix) with ESMTP id DCF0B8FC1F for ; Thu, 9 Oct 2008 16:46:13 +0000 (UTC) (envelope-from jon@radel.com) Received: by wave.radel.com (CommuniGate Pro PIPE 4.1.6) with PIPE id 8018817; Thu, 09 Oct 2008 12:46:13 -0400 Received: from [216.143.146.251] (account laura@radel.com HELO Macintosh.local) by wave.radel.com (CommuniGate Pro SMTP 4.1.6) with ESMTP id 8018813; Thu, 09 Oct 2008 12:45:54 -0400 Message-ID: <48EE3540.5010407@radel.com> Date: Thu, 09 Oct 2008 12:45:52 -0400 From: Jon Radel User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Chad Marshall References: <20081008223925.GB97321@melon.esperance-linux.co.uk> <2F5A85A9-3C1C-4328-9D4C-8722B3FDB2A1@ahm-inc.com> <28283d910810081851h7ab99b5y94b68f04b2a956e7@mail.gmail.com> <74E268D6-92EB-415F-8A28-86909F2F8B56@ahm-inc.com> <20081009143515.GA41174@Grumpy.DynDNS.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Radel.com-MailScanner-Information: Please contact Jon for more information X-Radel.com-MailScanner: Found to be clean X-Mailer: CommuniGate Pro CLI mailer Cc: FreeBSD-Questions@FreeBSD.org Subject: Re: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 16:46:14 -0000 Chad Marshall wrote: > > Here's what I said to the last guy who says my skin is thin, just leave > well enough alone and drop it please. Seems your skin is thin as well if > you can't handle a little back talk :) > > Well, I can always except critism. The problem is that I don't need rude > responses for something I thought would be something to share for your > organization, a success story of FreeBSD. Only for people to call me > lazy and say "Big Deal". If it's not a big deal, than say nothing. > Maybe you should put someone in charge of answering emails who aren't > cocky and smug, some responses were nice and at least supportive. > > I still believe in FreeBSD and it's a great OS. It's the nix I started > and learned with but I think your community is full of conceited, > pompous asses, the reason I don't like to associate with IT people. I'd > rather not give money to someone who has to insult me. If you go to a > restaurant and you get a rude waiter, what do you do? I don't go back or > give them a crap tip. > > I get better tack out of forums where I'm asking for help on coding > challenges than just simply offering a testimonial. > Dear Mr. Marshall: I'm terribly sorry that our representatives in charge of answering emails have been rude to you. I've just fired the lot of them, particularly as we can't afford to keep then on anymore seeing as how your generous donations are now in jeopardy. Moving forward I certainly hope that you evaluate your operating systems based on their technical merits and overall ROI, where I believe you will find that FreeBSD stands out, as it has for years, as a hard working operating system to support your Internet requirements at low cost. I will ask, however, that in the future you constrain your e-mail to freebsd-questions to either questions or answers to them, so as to not inflame our more excitable representatives once we hire a new, much reduced, batch of them. Thanks. --Jon Radel Who will now resign in shame From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 16:51:16 2008 Return-Path: Delivered-To: FreeBSD-Questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6983B106575F for ; Thu, 9 Oct 2008 16:51:16 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.186]) by mx1.freebsd.org (Postfix) with ESMTP id 149AD8FC1F for ; Thu, 9 Oct 2008 16:51:15 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: by rn-out-0910.google.com with SMTP id j71so59088rne.12 for ; Thu, 09 Oct 2008 09:51:15 -0700 (PDT) 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=cypdJg1m/BL/yOhcJMVeUWKUnCf50N+Qw0aOjJJWeCk=; b=vjEu3yK4fC6gfTw8dNrguhA1ljWZCdb0MIRXTFbphVUUCdJSImeIPxdvWU5gXD9d/u 6w7HHIgf+G7nRJT75JJpHpHIyZ2fia9kIBCOIWkKS0DNAp9/Kl9Drcl9wscKOyT38y3H 4ehiaV7EdHsiRU2VyNbK1uURvxwSm4pdys3Js= 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=jxjbalb2MkfAqL83iylHDSrJDvJWySMjIW+Qei9EuQVvTSL2rzC6ju2KDGxvbynVKD sY9LOhZnOUXFB8yChpoOG3LnQkT4murpIkfkj8VoesEyjYF5wyWCNXdpt1F6g8+DuM0e QjXMqQ4Pj5bFD0w7R8N4Me1cayHJgXOzOPGNg= Received: by 10.151.26.12 with SMTP id d12mr408169ybj.222.1223571074984; Thu, 09 Oct 2008 09:51:14 -0700 (PDT) Received: by 10.64.112.18 with HTTP; Thu, 9 Oct 2008 09:51:14 -0700 (PDT) Message-ID: <94136a2c0810090951j4638ac08y5a051f0c7468458b@mail.gmail.com> Date: Thu, 9 Oct 2008 18:51:14 +0200 From: "Zbigniew Szalbot" To: "Jon Radel" In-Reply-To: <48EE3540.5010407@radel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081008223925.GB97321@melon.esperance-linux.co.uk> <2F5A85A9-3C1C-4328-9D4C-8722B3FDB2A1@ahm-inc.com> <28283d910810081851h7ab99b5y94b68f04b2a956e7@mail.gmail.com> <74E268D6-92EB-415F-8A28-86909F2F8B56@ahm-inc.com> <20081009143515.GA41174@Grumpy.DynDNS.org> <48EE3540.5010407@radel.com> Cc: FreeBSD-Questions@freebsd.org, Chad Marshall Subject: Re: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 16:51:16 -0000 2008/10/9 Jon Radel: > > Dear Mr. Marshall: > > I'm terribly sorry that our representatives in charge of answering emails > have been rude to you. I've just fired the lot of them, particularly as we > can't afford to keep then on anymore seeing as how your generous donations > are now in jeopardy. How is that supposed to be helpful? > I will ask, however, that in the future you constrain your e-mail to > freebsd-questions to either questions or answers to them, so as to not > inflame our more excitable representatives once we hire a new, much reduced, > batch of them. Can you follow your own advice? -- Zbigniew Szalbot From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 16:56:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DEA5A1065687 for ; Thu, 9 Oct 2008 16:56:06 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.170]) by mx1.freebsd.org (Postfix) with ESMTP id A119D8FC1A for ; Thu, 9 Oct 2008 16:56:06 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so185322wfg.7 for ; Thu, 09 Oct 2008 09:56:06 -0700 (PDT) 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=/SYlOGePWCoHvcwdZVcJVLYGz7KzkxdnQP0ZUDFUa+s=; b=xj1EAl5aSeDHxHJkriSBsgIa/bgB0ZfJGkZVpnGA6f1JWHCrQ0HjvtDSI2HEq3AYi5 boV/jdy0BUCxHSDt3mzuO/UCrnqV3HeBOwdw6TrQ+GZveJU004LwkIrYWiKJ220O06xp OdU1C6i/IR4igA49JZDaYz9kmDONKzLvBxP5g= 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=P77kZ88zzSRJxGX3OFgyubr2JV1JyyD8WKU4IwStIDeG+EWtwtH/aUgk/yGy/4JzTc xAy8n1Uv3UCDctpp9s4N8nrxLmIf/K+3BIrlHbX3ENtXFNzhNl8xGl+eurw2tke7OeYO NADueFUcRSU7KqdNjEjjmQDs6nHNBUlNNH2Cc= Received: by 10.114.174.2 with SMTP id w2mr451987wae.201.1223571365945; Thu, 09 Oct 2008 09:56:05 -0700 (PDT) Received: by 10.114.120.9 with HTTP; Thu, 9 Oct 2008 09:56:05 -0700 (PDT) Message-ID: <991123400810090956o1b79626l41d0cb851c41f59c@mail.gmail.com> Date: Thu, 9 Oct 2008 19:56:05 +0300 From: "Odhiambo Washington" To: "User Questions" In-Reply-To: <94136a2c0810090951j4638ac08y5a051f0c7468458b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081008223925.GB97321@melon.esperance-linux.co.uk> <2F5A85A9-3C1C-4328-9D4C-8722B3FDB2A1@ahm-inc.com> <28283d910810081851h7ab99b5y94b68f04b2a956e7@mail.gmail.com> <74E268D6-92EB-415F-8A28-86909F2F8B56@ahm-inc.com> <20081009143515.GA41174@Grumpy.DynDNS.org> <48EE3540.5010407@radel.com> <94136a2c0810090951j4638ac08y5a051f0c7468458b@mail.gmail.com> Cc: Chad Marshall , Jon Radel Subject: Re: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 16:56:07 -0000 On Thu, Oct 9, 2008 at 7:51 PM, Zbigniew Szalbot wrote: > 2008/10/9 Jon Radel: >> >> Dear Mr. Marshall: >> >> I'm terribly sorry that our representatives in charge of answering emails >> have been rude to you. I've just fired the lot of them, particularly as we >> can't afford to keep then on anymore seeing as how your generous donations >> are now in jeopardy. > > How is that supposed to be helpful? > >> I will ask, however, that in the future you constrain your e-mail to >> freebsd-questions to either questions or answers to them, so as to not >> inflame our more excitable representatives once we hire a new, much reduced, >> batch of them. > > Can you follow your own advice? > > -- > Zbigniew Szalbot I love the direction this thread has taken. First, humorous, then it will turn into flames. I bet all my US$:-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Oh My God! They killed init! You Bastards!" --from a /. post From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 17:03:40 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB03E1065696 for ; Thu, 9 Oct 2008 17:03:40 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: from mail-gx0-f21.google.com (mail-gx0-f21.google.com [209.85.217.21]) by mx1.freebsd.org (Postfix) with ESMTP id 730558FC16 for ; Thu, 9 Oct 2008 17:03:39 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: by gxk14 with SMTP id 14so247708gxk.19 for ; Thu, 09 Oct 2008 10:03:38 -0700 (PDT) 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=pvnZJrt/KhyR0Oa/kh729fhPk3fkVA26IURAWKzG6pY=; b=kYs3VIvhtg4u0kGuiC0s99Jn8WlU2meFePdQx2zWXJa4yOHecUtE9tW35hB8gdHnHr gla+BtZ/DgGVF706ZZEb6AlFt8fI4oWgMi6KhHGtasS8U+86B/rZ2vnc4wf9+dNz8tXC 3iBxwNZNQOvWBH3IMr59Wgc2Z+Od1Mn0A2ZDY= 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=XvZtCQ3/QBjRdoO2z5xfJl+WAJRHa/BsNNyfQoPjcGyUoOIZakqM8dcbJ6kzNDiII6 UItuA+8howEEh01jXEzn13wQsPrlp9JJVgvhwyXVxHTaDg3I64P7TF+MMY1j74oT8Hlk 396TYANjat70SdoqVDmyv7T6OwpxlRrjB7hjA= Received: by 10.150.97.20 with SMTP id u20mr432047ybb.195.1223571818475; Thu, 09 Oct 2008 10:03:38 -0700 (PDT) Received: by 10.64.112.18 with HTTP; Thu, 9 Oct 2008 10:03:38 -0700 (PDT) Message-ID: <94136a2c0810091003q6cef7cbaj173e5ba117faac0c@mail.gmail.com> Date: Thu, 9 Oct 2008 19:03:38 +0200 From: "Zbigniew Szalbot" To: "Odhiambo Washington" In-Reply-To: <991123400810090956o1b79626l41d0cb851c41f59c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081008223925.GB97321@melon.esperance-linux.co.uk> <2F5A85A9-3C1C-4328-9D4C-8722B3FDB2A1@ahm-inc.com> <28283d910810081851h7ab99b5y94b68f04b2a956e7@mail.gmail.com> <74E268D6-92EB-415F-8A28-86909F2F8B56@ahm-inc.com> <20081009143515.GA41174@Grumpy.DynDNS.org> <48EE3540.5010407@radel.com> <94136a2c0810090951j4638ac08y5a051f0c7468458b@mail.gmail.com> <991123400810090956o1b79626l41d0cb851c41f59c@mail.gmail.com> Cc: User Questions , Chad Marshall , Jon Radel Subject: Re: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 17:03:40 -0000 Hi, 2008/10/9 Odhiambo Washington : > I love the direction this thread has taken. First, humorous, then it > will turn into flames. I bet all my US$:-) Well, I do not have much to lose in terms of USD ;) but I cannot really understand why some people are still sort of getting on this particular user. How does this help to promote FreeBSD? What will new people joining this community think? What if someone just wanted to send a donation for FreeBSD foundation? You never really know. I find it difficult to comprehend why would someone want to undermine FBSD Foundation work (which we all benefit from) through careless words and actions. Yours, -- Zbigniew Szalbot From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 17:14:43 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B2001065697 for ; Thu, 9 Oct 2008 17:14:43 +0000 (UTC) (envelope-from kitchetech@gmail.com) Received: from gv-out-0910.google.com (gv-out-0910.google.com [216.239.58.188]) by mx1.freebsd.org (Postfix) with ESMTP id D20D88FC16 for ; Thu, 9 Oct 2008 17:14:42 +0000 (UTC) (envelope-from kitchetech@gmail.com) Received: by gv-out-0910.google.com with SMTP id n8so64182gve.39 for ; Thu, 09 Oct 2008 10:14:41 -0700 (PDT) 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:references; bh=tnHMBqU+kjsb5zuSSdvo600HjFivXGyKc2kN5FWQPv8=; b=Q3/i1Jvt+QzfyqfAPiXQWAAsSND182C3CuQlgI/k0ZoCBgWWmE7Lp9Hdq4G+bcishl mpN13pe22JBz61CMw48gyw0rOGtWJ+z4I8Oo8cs6OLLkYUiQUFFgbo9lprNuahaC5MYK fLO/W8jSDedZaoYmttSwYWDzwT2hoHWvVAlP4= 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:references; b=PUW9+6s0GexZIUFqeExKCpuDD7i2oAtq6bTH4gKLBaBKGPGkqqoV9pMZvi/cgvKxJ/ RgZFY/Ub9oygT7bavRcXSheKZgTdTWtpiPvR9XYXYdE+KXif1XRZjuHEuKQGSe4t/FxF YuneIM/LTcNIdAzHFAvaNRTSW21rHpPtlARlo= Received: by 10.86.36.11 with SMTP id j11mr511123fgj.7.1223572481414; Thu, 09 Oct 2008 10:14:41 -0700 (PDT) Received: by 10.86.78.7 with HTTP; Thu, 9 Oct 2008 10:14:41 -0700 (PDT) Message-ID: <28283d910810091014y52aedf09h7cdf54d7af93db92@mail.gmail.com> Date: Thu, 9 Oct 2008 13:14:41 -0400 From: "matt donovan" To: "Zbigniew Szalbot" In-Reply-To: <94136a2c0810091003q6cef7cbaj173e5ba117faac0c@mail.gmail.com> MIME-Version: 1.0 References: <2F5A85A9-3C1C-4328-9D4C-8722B3FDB2A1@ahm-inc.com> <28283d910810081851h7ab99b5y94b68f04b2a956e7@mail.gmail.com> <74E268D6-92EB-415F-8A28-86909F2F8B56@ahm-inc.com> <20081009143515.GA41174@Grumpy.DynDNS.org> <48EE3540.5010407@radel.com> <94136a2c0810090951j4638ac08y5a051f0c7468458b@mail.gmail.com> <991123400810090956o1b79626l41d0cb851c41f59c@mail.gmail.com> <94136a2c0810091003q6cef7cbaj173e5ba117faac0c@mail.gmail.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: Odhiambo Washington , User Questions , Chad Marshall , Jon Radel Subject: Re: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 17:14:43 -0000 On Thu, Oct 9, 2008 at 1:03 PM, Zbigniew Szalbot wrote: > Hi, > > 2008/10/9 Odhiambo Washington : > > I love the direction this thread has taken. First, humorous, then it > > will turn into flames. I bet all my US$:-) > > Well, I do not have much to lose in terms of USD ;) but I cannot > really understand why some people are still sort of getting on this > particular user. How does this help to promote FreeBSD? What will new > people joining this community think? What if someone just wanted to > send a donation for FreeBSD foundation? You never really know. I find > it difficult to comprehend why would someone want to undermine FBSD > Foundation work (which we all benefit from) through careless words and > actions. > > Yours, > > -- > 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" > this 2 years thing is actually more of a -advocacy email more then anything. since that deals with promoting and donations. Since this email list is more for questions. I just find the whole 2 year thing not important aka not a question hence why I said why is this important for this mailing list From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 18:25:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A9F9106568A for ; Thu, 9 Oct 2008 18:25:03 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 040A48FC24 for ; Thu, 9 Oct 2008 18:25:02 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from [212.86.226.226] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.1.14) with ESMTPSA id 224292154; Thu, 09 Oct 2008 20:24:59 +0300 Message-ID: <48EE3E69.5070708@FreeBSD.org> Date: Thu, 09 Oct 2008 20:24:57 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.16 (X11/20080726) MIME-Version: 1.0 To: Aniruddha , freebsd-questions@freebsd.org, freebsd-multimedia@freebsd.org References: <1223425382.00022950.1223412603@10.7.7.3> <1223428982.00022977.1223416203@10.7.7.3> <1223500987.00023360.1223490602@10.7.7.3> <1223511787.00023435.1223500204@10.7.7.3> <1223515383.00023447.1223502601@10.7.7.3> <1223518981.00023460.1223505602@10.7.7.3> <1223547783.00023534.1223536802@10.7.7.3> <1223554982.00023555.1223542202@10.7.7.3> In-Reply-To: <1223554982.00023555.1223542202@10.7.7.3> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Can't get soundcard to work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 18:25:03 -0000 Frank Shute wrote: > On Thu, Oct 09, 2008 at 09:12:28AM +0200, Aniruddha wrote: >> On Wed, 2008-10-08 at 23:31 +0100, Frank Shute wrote: >>>> ls /dev/d >>>> da0 da2 dcons devstat dsp0.0 dsp1.0 >>>> da1 da3 devctl dgdb dsp0.1 dumpdev >>> On my machine: >>> >>> $ ls /dev | grep dsp >>> dsp0.0 >>> dsp0.1 >>> >>> i.e no dsp1.0 It will be created on demand when sound application will try to open it directly. Also it may be set as default with hw.snd.default_unit sysctl described in man sound. >>> What does: >>> >>> $ cat /dev/sndstat >>> >>> give you? >> sndstat: >>> FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) >>> Installed devices: >>> pcm0: at memory >> 0xff9ec000 irq 17 kld snd_hda [20080420_0052] [MPSAFE] (mixer only) >>> pcm1: at memory >> 0xffafc000 irq 19 kld snd_hda [20080420_0052] [MPSAFE] (1p:1v/1r:1v >> channels duplex) > > The driver is binding to both. Indeed. First one is HDMI on video and second on motherboard. The old snd_hda driver you have surely unable to manage first one. Second looks better, but also should be tested. Updated driver in 8-CURRENT should work better. It could be ported to 7-STABLE without any modifications. -- Alexander Motin From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 19:00:31 2008 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 83DD21065693 for ; Thu, 9 Oct 2008 19:00:31 +0000 (UTC) (envelope-from borish@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id C9ACD8FC19 for ; Thu, 9 Oct 2008 19:00:30 +0000 (UTC) (envelope-from borish@gmx.de) Received: (qmail invoked by alias); 09 Oct 2008 18:33:49 -0000 Received: from p54A22F66.dip0.t-ipconnect.de (EHLO thinkpad) [84.162.47.102] by mail.gmx.net (mp032) with SMTP; 09 Oct 2008 20:33:49 +0200 X-Authenticated: #23051326 X-Provags-ID: V01U2FsdGVkX18KVEB3kD0KFFf+ks9Yc7+XrMqISG6mkQvLV99nKk jwFBkPUnT0xaSg Date: Thu, 09 Oct 2008 20:32:50 +0200 To: questions@freebsd.org From: borish@gmx.de Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Message-ID: User-Agent: Opera Mail/9.52 (FreeBSD) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.72 Cc: Subject: Sysinstall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 19:00:31 -0000 Hi, I have the following prblem with sysinstall: when I run sysinstall inside an xterm I find it very difficult to read the yellow font on the gray background, which appears very light on my laptop LCD and also on an Eizo LCD. Strangely, the gray is much darker if I run sysinstall from the console outside X. Is there a way to make the gray darker when sysinstall is run inside an xterm? I'm running fbsd 7. Best regards, Boris From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 19:09:46 2008 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 3F74E1065693 for ; Thu, 9 Oct 2008 19:09:46 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA05.westchester.pa.mail.comcast.net (qmta05.westchester.pa.mail.comcast.net [76.96.62.48]) by mx1.freebsd.org (Postfix) with ESMTP id 33B768FC17 for ; Thu, 9 Oct 2008 19:09:43 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA01.westchester.pa.mail.comcast.net ([76.96.62.11]) by QMTA05.westchester.pa.mail.comcast.net with comcast id Qb8n1a0020EZKEL55j9jr7; Thu, 09 Oct 2008 19:09:43 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA01.westchester.pa.mail.comcast.net with comcast id Qj9h1a00U2P6wsM3Mj9ijb; Thu, 09 Oct 2008 19:09:42 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=_t9njWmhggERGTMl5KkA:9 a=bGmlvVL8xOxqulpjiVsbE1AMfVgA:4 a=EoioJ0NPDVgA:10 a=_RhRFcbxBZMA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 7A31AC9419; Thu, 9 Oct 2008 12:09:41 -0700 (PDT) Date: Thu, 9 Oct 2008 12:09:41 -0700 From: Jeremy Chadwick To: borish@gmx.de Message-ID: <20081009190941.GA12014@icarus.home.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: questions@freebsd.org Subject: Re: Sysinstall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 19:09:46 -0000 On Thu, Oct 09, 2008 at 08:32:50PM +0200, borish@gmx.de wrote: > Hi, > > I have the following prblem with sysinstall: when I run sysinstall inside > an xterm I find it very difficult to read the yellow font on the gray > background, which appears very light on my laptop LCD and also on an Eizo > LCD. Strangely, the gray is much darker if I run sysinstall from the > console outside X. Is there a way to make the gray darker when sysinstall > is run inside an xterm? This should be solved at the core: adjust the RGB colours associated with the ANSI/colour sequences in xterm. Does xterm support this? Surely it stores the RGB values somewhere, I just don't know if they're hard-coded. (I'm not an X guru). It's quite possible in programs like rxvt, PuTTY, and SecureCRT (Windows). -- | 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 Thu Oct 9 20:00:26 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C268010656AC; Thu, 9 Oct 2008 20:00:26 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id E6BB68FC1B; Thu, 9 Oct 2008 20:00:24 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2) with ESMTP id m99K0JcA025046; Thu, 9 Oct 2008 22:00:19 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2/Submit) with ESMTP id m99K0HKi025043; Thu, 9 Oct 2008 22:00:18 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 9 Oct 2008 22:00:16 +0200 (CEST) From: Wojciech Puchar To: Jeremy Chadwick In-Reply-To: <20081007093107.GA44339@icarus.home.lan> Message-ID: <20081009215952.E24356@wojtek.tensor.gdynia.pl> References: <20081006221523.P3921@wojtek.tensor.gdynia.pl> <20081006215749.GA68933@slackbox.xs4all.nl> <20081007111712.X5855@wojtek.tensor.gdynia.pl> <20081007093107.GA44339@icarus.home.lan> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Roland Smith , freebsd-questions@FreeBSD.org Subject: Re: TRUE realtime priority X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 20:00:26 -0000 >> well last night i tested it with SCHED_4BSD instead of sched_ule, reduced >> quantum to 20000 from 100000 and for now - no voice chopping under high >> load. but i will test it more. > > What version of FreeBSD are you using for this? Yes, it matters. got RELENG_7 yesterday by cvs, now SCHED_ULE works fine. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 20:01:31 2008 Return-Path: Delivered-To: FreeBSD-Questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC7FB1065693 for ; Thu, 9 Oct 2008 20:01:31 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from smtpauth.surewest.net (smtpauth.surewest.net [66.60.130.153]) by mx1.freebsd.org (Postfix) with ESMTP id BFE538FC31 for ; Thu, 9 Oct 2008 20:01:31 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from blacklamb.mykitchentable.net (unknown [69.62.230.77]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtpauth.surewest.net (Postfix) with ESMTP id CDA649BF5C; Thu, 9 Oct 2008 12:59:57 -0700 (PDT) Received: from [192.168.1.3] (bigdaddy.mykitchentable.net [192.168.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by blacklamb.mykitchentable.net (Postfix) with ESMTPSA id 791491649A6; Thu, 9 Oct 2008 13:01:30 -0700 (PDT) Message-ID: <48EE631A.5080507@mykitchentable.net> Date: Thu, 09 Oct 2008 13:01:30 -0700 From: Drew Tomlinson User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Chad Marshall References: <20081008223925.GB97321@melon.esperance-linux.co.uk> <2F5A85A9-3C1C-4328-9D4C-8722B3FDB2A1@ahm-inc.com> <28283d910810081851h7ab99b5y94b68f04b2a956e7@mail.gmail.com> <74E268D6-92EB-415F-8A28-86909F2F8B56@ahm-inc.com> <20081009143515.GA41174@Grumpy.DynDNS.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD-Questions@FreeBSD.org Subject: Re: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 20:01:32 -0000 Chad Marshall wrote: > Here's what I said to the last guy who says my skin is thin, just > leave well enough alone and drop it please. Seems your skin is thin as > well if you can't handle a little back talk :) > > Well, I can always except critism. The problem is that I don't need > rude responses for something I thought would be something to share for > your organization, a success story of FreeBSD. Only for people to call > me lazy and say "Big Deal". If it's not a big deal, than say nothing. > Maybe you should put someone in charge of answering emails who aren't > cocky and smug, some responses were nice and at least supportive. > > I still believe in FreeBSD and it's a great OS. It's the nix I started > and learned with but I think your community is full of conceited, > pompous asses, the reason I don't like to associate with IT people. > I'd rather not give money to someone who has to insult me. If you go > to a restaurant and you get a rude waiter, what do you do? I don't go > back or give them a crap tip. Godwin's Law will be invoked soon... :) http://en.wikipedia.org/wiki/Godwin's_law From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 20:02:16 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF9DD106569C for ; Thu, 9 Oct 2008 20:02:16 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA08.emeryville.ca.mail.comcast.net (qmta08.emeryville.ca.mail.comcast.net [76.96.30.80]) by mx1.freebsd.org (Postfix) with ESMTP id C23A88FC16 for ; Thu, 9 Oct 2008 20:02:16 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA10.emeryville.ca.mail.comcast.net ([76.96.30.28]) by QMTA08.emeryville.ca.mail.comcast.net with comcast id Qe741a00E0cQ2SLA8k2FYm; Thu, 09 Oct 2008 20:02:15 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA10.emeryville.ca.mail.comcast.net with comcast id Qk2E1a00V2P6wsM8Wk2Eay; Thu, 09 Oct 2008 20:02:15 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=O_wS9yj9KEKkWmMiBVUA:9 a=NDbVeKQd5PjOGNdRtNXMM4HMZeUA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 93132C941A; Thu, 9 Oct 2008 13:02:14 -0700 (PDT) Date: Thu, 9 Oct 2008 13:02:14 -0700 From: Jeremy Chadwick To: Wojciech Puchar Message-ID: <20081009200214.GA13283@icarus.home.lan> References: <20081006221523.P3921@wojtek.tensor.gdynia.pl> <20081006215749.GA68933@slackbox.xs4all.nl> <20081007111712.X5855@wojtek.tensor.gdynia.pl> <20081007093107.GA44339@icarus.home.lan> <20081009215952.E24356@wojtek.tensor.gdynia.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081009215952.E24356@wojtek.tensor.gdynia.pl> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Roland Smith , freebsd-questions@FreeBSD.org Subject: Re: TRUE realtime priority X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 20:02:17 -0000 On Thu, Oct 09, 2008 at 10:00:16PM +0200, Wojciech Puchar wrote: >>> well last night i tested it with SCHED_4BSD instead of sched_ule, reduced >>> quantum to 20000 from 100000 and for now - no voice chopping under high >>> load. but i will test it more. >> >> What version of FreeBSD are you using for this? Yes, it matters. > > got RELENG_7 yesterday by cvs, now SCHED_ULE works fine. Great! Glad to hear it. :-) Thanks for following up! -- | 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 Thu Oct 9 20:14:48 2008 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 D34881065694 for ; Thu, 9 Oct 2008 20:14:48 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from blade2-ext.obspm.fr (blade2-ext.obspm.fr [145.238.186.8]) by mx1.freebsd.org (Postfix) with ESMTP id 59F2D8FC1C for ; Thu, 9 Oct 2008 20:14:48 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from obspm.fr (pcjas.obspm.fr [145.238.184.233]) by blade2-ext.obspm.fr (8.13.8/8.13.8/SIO Observatoire de Paris - 15/11/07) with ESMTP id m99K4OEh012352 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 9 Oct 2008 22:04:25 +0200 Date: Thu, 9 Oct 2008 22:04:24 +0200 From: Albert Shih To: questions@freebsd.org Message-ID: <20081009200424.GF56673@obspm.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (blade2-ext.obspm.fr [145.238.186.20]); Thu, 09 Oct 2008 22:04:25 +0200 (CEST) X-Virus-Scanned: ClamAV 0.94/8399/Thu Oct 9 14:27:14 2008 on blade2-ext.obspm.fr X-Virus-Status: Clean Cc: Subject: Dell Laptop X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Albert.Shih@obspm.fr List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 20:14:48 -0000 Hi all Classic question about compatibility with new laptop... Anyone have succefuly (or not) install FreeBSD 7.x on the new Dell Precision M6400 or the Precision M6300 ? I don't find any information on google. neither on http://laptop.bsdgroup.de/freebsd/ Lots of thanks. Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Jeu 9 oct 2008 21:56:48 CEST From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 20:18:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9BB61065692 for ; Thu, 9 Oct 2008 20:18:52 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from smtpauth.surewest.net (smtpauth.surewest.net [66.60.130.153]) by mx1.freebsd.org (Postfix) with ESMTP id A35A58FC0C for ; Thu, 9 Oct 2008 20:18:52 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from blacklamb.mykitchentable.net (unknown [69.62.230.77]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtpauth.surewest.net (Postfix) with ESMTP id D8E329AFA6 for ; Thu, 9 Oct 2008 12:47:54 -0700 (PDT) Received: from [192.168.1.3] (bigdaddy.mykitchentable.net [192.168.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by blacklamb.mykitchentable.net (Postfix) with ESMTPSA id A142C1649BF for ; Thu, 9 Oct 2008 12:49:26 -0700 (PDT) Message-ID: <48EE6046.8020906@mykitchentable.net> Date: Thu, 09 Oct 2008 12:49:26 -0700 From: Drew Tomlinson User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: How To Get libm.so.4? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 20:18:52 -0000 I am attempting to install a web analysis tool named "Urchin" from Google. Installation instructions are here: https://secure.urchin.com/helpwiki/en/Urchin_Installation_Guide_(FreeBSD_and_Linux) Urchin claims to run on FBSD 6.2+ which I took to mean version 6.2 or greater. Since this is a brand new install, I installed FBSD 7.1-PRERELEASE, assuming the actual release would not be too far off. I'm following the install procedures which has me run a ./install.sh script. This script fails, complaining about a missing libm.so.4. I've Googled and found some reference that this has to do with installing compatibility libraries for FBSD 4. Thus I've added "COMPAT4X= yes" and rebuilt and installed my world. However I still do not have this file. What do I need to do? Thanks, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 20:20:46 2008 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 1850D106568A for ; Thu, 9 Oct 2008 20:20:46 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from blade2-ext.obspm.fr (blade2-ext.obspm.fr [145.238.186.8]) by mx1.freebsd.org (Postfix) with ESMTP id 8CF6D8FC13 for ; Thu, 9 Oct 2008 20:20:45 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from obspm.fr (pcjas.obspm.fr [145.238.184.233]) by blade2-ext.obspm.fr (8.13.8/8.13.8/SIO Observatoire de Paris - 15/11/07) with ESMTP id m99KKhAg018510 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 9 Oct 2008 22:20:44 +0200 Date: Thu, 9 Oct 2008 22:20:43 +0200 From: Albert Shih To: questions@freebsd.org Message-ID: <20081009202043.GI56673@obspm.fr> References: <20081009200424.GF56673@obspm.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20081009200424.GF56673@obspm.fr> User-Agent: Mutt/1.5.18 (2008-05-17) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (blade2-ext.obspm.fr [145.238.186.20]); Thu, 09 Oct 2008 22:20:44 +0200 (CEST) X-Virus-Scanned: ClamAV 0.94/8399/Thu Oct 9 14:27:14 2008 on blade2-ext.obspm.fr X-Virus-Status: Clean Cc: Subject: Re: Dell Laptop M6400 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Albert.Shih@obspm.fr List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 20:20:46 -0000 Le 09/10/2008 à 22:04:24+0200, Albert Shih a écrit > Hi all > > Classic question about compatibility with new laptop... > > Anyone have succefuly (or not) install FreeBSD 7.x on the new Dell > Precision M6400 or the Precision M6300 ? > > I don't find any information on google. neither on http://laptop.bsdgroup.de/freebsd/ > > Lots of thanks. > I forget to say I don't really care if the webcam, the mic, the sound etc.. working or not. All I'm worry about is if I can install FreeBSD, and use it. I think the video card is not a problem (because I can use Nvidia drivers I hope), but what about the raid chipset ? the network card ? Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Jeu 9 oct 2008 22:18:39 CEST From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 20:44:44 2008 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 7D4331065692; Thu, 9 Oct 2008 20:44:44 +0000 (UTC) (envelope-from jgrosch@mooseriver.com) Received: from gdead.mooseriver.com (gdead.mooseriver.com [205.166.121.45]) by mx1.freebsd.org (Postfix) with ESMTP id 6145F8FC08; Thu, 9 Oct 2008 20:44:44 +0000 (UTC) (envelope-from jgrosch@mooseriver.com) Received: by gdead.mooseriver.com (Postfix, from userid 2010) id 71D9563333; Thu, 9 Oct 2008 13:25:23 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gdead.mooseriver.com X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from mooseriver.com (berkeley.mooseriver.com [75.61.201.134]) by gdead.mooseriver.com (Postfix) with ESMTP id 026CE63330; Thu, 9 Oct 2008 13:25:22 -0700 (PDT) Received: by mooseriver.com (Postfix, from userid 0) id CB2C22F7108; Thu, 9 Oct 2008 13:25:21 -0700 (PDT) Date: Thu, 9 Oct 2008 13:25:21 -0700 From: Josef Grosch To: questions@freebsd.org Message-ID: <20081009202521.GA57222@mooseriver.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="h31gzZEtNLTqOjlF" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Organization: Moose River, LLC Cc: hackers@freebsd.org, hardware@freebsd.org Subject: FreeBSD support for HP DL180/G5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jgrosch@MooseRiver.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 20:44:44 -0000 --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Does anyone have experience running FreeBSD 6.x and 7.x on an HP DL180/G5? The company I work for is looking to get a number of these to be put in production. Your general impressions would be a good start. Josef --=20 Josef Grosch | Another day closer to a | FreeBSD 6.3 jgrosch@MooseRiver.com | Micro$oft free world | Berkeley, Ca. --h31gzZEtNLTqOjlF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQFI7miry8prLS1GYSERAgbPAKChLT0QDIVGiWzZWpkU8+pZDGK3UACeOhBd kNsXOyeO+6oD5pQ9HX0bBWs= =lon3 -----END PGP SIGNATURE----- --h31gzZEtNLTqOjlF-- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 20:45:47 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CE0E1065691 for ; Thu, 9 Oct 2008 20:45:47 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 50A018FC1C for ; Thu, 9 Oct 2008 20:45:45 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2) with ESMTP id m99Kjgod056603; Thu, 9 Oct 2008 22:45:42 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2/Submit) with ESMTP id m99Kjear056580; Thu, 9 Oct 2008 22:45:42 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 9 Oct 2008 22:45:40 +0200 (CEST) From: Wojciech Puchar To: Drew Tomlinson In-Reply-To: <48EE6046.8020906@mykitchentable.net> Message-ID: <20081009224528.B56195@wojtek.tensor.gdynia.pl> References: <48EE6046.8020906@mykitchentable.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: How To Get libm.so.4? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 20:45:47 -0000 /usr/ports/misc/compat6x On Thu, 9 Oct 2008, Drew Tomlinson wrote: > I am attempting to install a web analysis tool named "Urchin" from Google. > Installation instructions are here: > > https://secure.urchin.com/helpwiki/en/Urchin_Installation_Guide_(FreeBSD_and_Linux) > > Urchin claims to run on FBSD 6.2+ which I took to mean version 6.2 or > greater. Since this is a brand new install, I installed FBSD 7.1-PRERELEASE, > assuming the actual release would not be too far off. > > I'm following the install procedures which has me run a ./install.sh script. > This script fails, complaining about a missing libm.so.4. I've Googled and > found some reference that this has to do with installing compatibility > libraries for FBSD 4. Thus I've added "COMPAT4X= yes" and rebuilt and > installed my world. However I still do not have this file. > > What do I need to do? > > Thanks, > > Drew > > -- > Be a Great Magician! > Visit The Alchemist's Warehouse > > http://www.alchemistswarehouse.com > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 20:49:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A21D10656AB for ; Thu, 9 Oct 2008 20:49:08 +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 020418FC14 for ; Thu, 9 Oct 2008 20:49:07 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.3) with ESMTP id m99Kn3S7053982 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 9 Oct 2008 15:49:03 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id m99Kn1Js053967; Thu, 9 Oct 2008 15:49:01 -0500 (CDT) (envelope-from dan) Date: Thu, 9 Oct 2008 15:49:00 -0500 From: Dan Nelson To: Drew Tomlinson Message-ID: <20081009204900.GA62683@dan.emsphone.com> References: <48EE6046.8020906@mykitchentable.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48EE6046.8020906@mykitchentable.net> X-OS: FreeBSD 7.1-PRERELEASE User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: How To Get libm.so.4? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 20:49:08 -0000 In the last episode (Oct 09), Drew Tomlinson said: > I am attempting to install a web analysis tool named "Urchin" from > Google. Installation instructions are here: > > https://secure.urchin.com/helpwiki/en/Urchin_Installation_Guide_(FreeBSD_and_Linux) > > Urchin claims to run on FBSD 6.2+ which I took to mean version 6.2 or > greater. Since this is a brand new install, I installed FBSD > 7.1-PRERELEASE, assuming the actual release would not be too far off. > > I'm following the install procedures which has me run a ./install.sh > script. This script fails, complaining about a missing libm.so.4. > I've Googled and found some reference that this has to do with > installing compatibility libraries for FBSD 4. Thus I've added > "COMPAT4X= yes" and rebuilt and installed my world. However I still > do not have this file. Major FreeBSD version bumps have historically resulted in most of the base system's shared library versions getting bumped as well. libc.so.4 would have been for FreeBSD 4, but libm doesn't get bumped as often. libm.so.4 corresponds to FreeBSD 6, and you can get it by installing the misc/compat6x port. FreeBSD 7 and later use symbol versioning (which allows different versions of the the same function to exist in a single library), so library version bumps theoretically are a thing of the past. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 20:51:46 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86F641065693 for ; Thu, 9 Oct 2008 20:51:46 +0000 (UTC) (envelope-from Gabor@Zahemszky.HU) Received: from mx01.hdsnet.hu (mx01.hdsnet.hu [193.110.57.2]) by mx1.freebsd.org (Postfix) with ESMTP id 48B3C8FC12 for ; Thu, 9 Oct 2008 20:51:45 +0000 (UTC) (envelope-from Gabor@Zahemszky.HU) Received: from [92.249.232.43] (helo=Picasso.Zahemszky.HU) by mx01.hdsnet.hu with esmtpa (HDSNet mail 1.1} #1) id 1Ko2Ti-0006z9-Cu for freebsd-questions@freebsd.org; Thu, 09 Oct 2008 22:51:22 +0200 Date: Thu, 9 Oct 2008 22:51:36 +0200 From: Zahemszky =?ISO-8859-2?Q?G=E1bor?= To: freebsd-questions@freebsd.org Message-ID: <20081009225136.6ca47d3b@Picasso.Zahemszky.HU> Organization: Zahemszky Bt. X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Subject: irq256 ???? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 20:51:46 -0000 Hi! I've just found in my machine's vmstat -i output: =3D=3D=3D $ vmstat -i interrupt total rate irq1: atkbd0 15524 0 irq6: fdc0 14 0 irq12: psm0 279947 16 irq15: ata1 41835 2 irq16: uhci0 drm0 1407076 81 irq17: atapci0 257828 14 irq19: fwohci0++ 16 0 irq21: uhci1 ahc0+ 41712 2 irq22: pcm0 52848 3 irq23: uhci2 ehci1 1 0 cpu0: timer 33503897 1929 irq256: em0 42054 2 =3D=3D=3D^ cpu1: timer 33495040 1928 Total 69137792 3981 $ dmesg|fgrep em0 em0: port 0x30c0-0x30df mem 0x90300000-0x9031ffff,0x90324000-0x90324fff irq 20 at device 25.0 on pc= i0=20 em0: Using MSI interrupt em0: [FILTER] em0: Ethernet address: 00:19:d1:25:78:0a $ uname -a FreeBSD XXX 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Thu Oct 2 21:35:45 C= EST 2008 root@XXX:/usr/obj/usr/src/sys/GENERIC i386 $=20 =3D=3D=3D=3D What's that? (world and kernel are in sync) Thanks, G=E1bor --=20 #!/bin/ksh Z=3D'21N16I25C25E30, 40M30E33E25T15U!';IFS=3D' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set -- $Z;for i;{ [[ $i =3D ? ]]&&print $i&&break;[[ $i =3D ??? ]]&&j=3D$i&&i=3D${i%?};typeset -i40 i=3D8#$i;print -n ${i#???};[[ "= $j" =3D ??? ]]&&print -n "${j#??} "&&j=3D;typeset +i i;};IFS=3D' 0123456789 ';s= et -- $Z;for i;{ [[ $i =3D , ]]&&i=3D2;[[ $i =3D ?? ]]||typeset -l i;j=3D"$j $i";typeset +l i;};print "$j" From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 21:08:25 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58C9F106568A for ; Thu, 9 Oct 2008 21:08:25 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from smtpauth.surewest.net (smtpauth.surewest.net [66.60.130.153]) by mx1.freebsd.org (Postfix) with ESMTP id 3215A8FC33 for ; Thu, 9 Oct 2008 21:08:24 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from blacklamb.mykitchentable.net (unknown [69.62.230.77]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtpauth.surewest.net (Postfix) with ESMTP id 315619C027; Thu, 9 Oct 2008 14:06:50 -0700 (PDT) Received: from [192.168.1.3] (bigdaddy.mykitchentable.net [192.168.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by blacklamb.mykitchentable.net (Postfix) with ESMTPSA id 81ADA1649EE; Thu, 9 Oct 2008 14:08:21 -0700 (PDT) Message-ID: <48EE72C5.6020308@mykitchentable.net> Date: Thu, 09 Oct 2008 14:08:21 -0700 From: Drew Tomlinson User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Wojciech Puchar References: <48EE6046.8020906@mykitchentable.net> <20081009224528.B56195@wojtek.tensor.gdynia.pl> In-Reply-To: <20081009224528.B56195@wojtek.tensor.gdynia.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: How To Get libm.so.4? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 21:08:25 -0000 Wojciech Puchar wrote: > /usr/ports/misc/compat6x Thanks. This worked. Cheers, Drew > On Thu, 9 Oct 2008, Drew Tomlinson wrote: > >> I am attempting to install a web analysis tool named "Urchin" from >> Google. Installation instructions are here: >> >> https://secure.urchin.com/helpwiki/en/Urchin_Installation_Guide_(FreeBSD_and_Linux) >> >> >> Urchin claims to run on FBSD 6.2+ which I took to mean version 6.2 or >> greater. Since this is a brand new install, I installed FBSD >> 7.1-PRERELEASE, assuming the actual release would not be too far off. >> >> I'm following the install procedures which has me run a ./install.sh >> script. This script fails, complaining about a missing libm.so.4. >> I've Googled and found some reference that this has to do with >> installing compatibility libraries for FBSD 4. Thus I've added >> "COMPAT4X= yes" and rebuilt and installed my world. However I still >> do not have this file. >> >> What do I need to do? >> >> Thanks, >> >> Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 21:16:20 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78FE91065695; Thu, 9 Oct 2008 21:16:20 +0000 (UTC) (envelope-from vanhu@zeninc.net) Received: from smtp.zeninc.net (smtp.zeninc.net [80.67.176.25]) by mx1.freebsd.org (Postfix) with ESMTP id 34DA38FC29; Thu, 9 Oct 2008 21:16:20 +0000 (UTC) (envelope-from vanhu@zeninc.net) Received: from albator.zen.inc (albator.zen.inc [192.168.1.5]) by smtp.zeninc.net (smtpd) with ESMTP id 232B1279899; Thu, 9 Oct 2008 22:56:37 +0200 (CEST) Received: by albator.zen.inc (Postfix, from userid 1000) id 82770731D6; Thu, 9 Oct 2008 22:56:36 +0200 (CEST) Date: Thu, 9 Oct 2008 22:56:36 +0200 From: VANHULLEBUS Yvan To: alan yang Message-ID: <20081009205636.GA3002@zeninc.net> References: <290865fd0810090846y57bbdc1fs3db5c5334fe80c09@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <290865fd0810090846y57bbdc1fs3db5c5334fe80c09@mail.gmail.com> User-Agent: All mail clients suck. This one just sucks less. Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Subject: Re: setkey panic freebsd7 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 21:16:20 -0000 Hi. On Thu, Oct 09, 2008 at 08:46:32AM -0700, alan yang wrote: > i wonder people ran into similar issue on setkey with freebsd7 that > panic at ~/crypto/sha1.c:263 within sha1_result() > digest[0] = ctxt->h.b8[3]; digest[1] = ctxt->h.b8[2]; > > on the following sadb add with setkey: > add 192.168.0.101 192.168.0.110 esp-old 0x10001 -m any -E des-cbc > "12345678" -A keyed-sha1 "12345678123456781234" > > thanks in advance on any hints. I guess most people just don't use static SAs anymore :-) Can you reproduce the bug ? Are you using /sbin/setkey (provided by FreeBSD), /usr/local/sbin/setkey (provided by ipsec-tools), or does it crash with both ? If you can reproduce it, please fill in a PR, Bjoern or I will take it. Anyways, I'll have a look asap at that part of the code, to see if I can find "something". Any extra information on how to reproduce the bug is welcome ! :-) Yvan. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 21:19:56 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA76D106568A for ; Thu, 9 Oct 2008 21:19:56 +0000 (UTC) (envelope-from canito@dalan.us) Received: from netbits.us (ptr-89.fastconcepts.net [209.18.107.89]) by mx1.freebsd.org (Postfix) with SMTP id 469B18FC1C for ; Thu, 9 Oct 2008 21:19:55 +0000 (UTC) (envelope-from canito@dalan.us) Received: (qmail 30952 invoked by uid 65534); 9 Oct 2008 20:53:14 -0000 Received: from 206.55.176.26 ([206.55.176.26]) by mail.dalan.us (Horde MIME library) with HTTP; Thu, 09 Oct 2008 15:53:14 -0500 Message-ID: <20081009155314.fm5hl520w00o0o80@mail.dalan.us> Date: Thu, 09 Oct 2008 15:53:14 -0500 From: David Alanis To: freebsd-questions@freebsd.org References: <20081009202521.GA57222@mooseriver.com> In-Reply-To: <20081009202521.GA57222@mooseriver.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) Subject: Re: FreeBSD support for HP DL180/G5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 21:19:56 -0000 Quoting Josef Grosch : > > Does anyone have experience running FreeBSD 6.x and 7.x on an HP DL180/G5? > The company I work for is looking to get a number of these to be put in > production. Your general impressions would be a good start. > > > > Josef > > -- > Josef Grosch | Another day closer to a | FreeBSD 6.3 > jgrosch@MooseRiver.com | Micro$oft free world | Berkeley, Ca. > Josef, I run freebsd 7.0 on a DL 380 G3 - A Pentium 4, 6G RAM, x86 with out issue. Old machines but they run fine. David ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 21:21:20 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1308106568F for ; Thu, 9 Oct 2008 21:21:20 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from smtp-4.orange.nl (smtp-4.orange.nl [193.252.22.249]) by mx1.freebsd.org (Postfix) with ESMTP id 661EC8FC08 for ; Thu, 9 Oct 2008 21:21:20 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf6304.online.nl (SMTP Server) with ESMTP id 92BC17000084; Thu, 9 Oct 2008 23:21:18 +0200 (CEST) Received: from [192.168.2.173] (s5590cf7b.adsl.wanadoo.nl [85.144.207.123]) by mwinf6304.online.nl (SMTP Server) with ESMTP id 4F7E17000081; Thu, 9 Oct 2008 23:21:18 +0200 (CEST) X-ME-UUID: 20081009212118325.4F7E17000081@mwinf6304.online.nl From: Aniruddha To: Bernt Hansson In-Reply-To: <48ED3F44.6070400@bah.homeip.net> References: <1223412136.3966.10.camel@debian> <48ED3F44.6070400@bah.homeip.net> Content-Type: text/plain Date: Thu, 09 Oct 2008 23:21:34 +0200 Message-Id: <1223587294.4033.5.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Can't get soundcard to work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 21:21:20 -0000 On Thu, 2008-10-09 at 01:16 +0200, Bernt Hansson wrote: > Aniruddha skrev: > > I've read the "Setting Up the Sound Card" part in the FreeBSD handbook > > unfortunately I can't get my Intel HDA card to work. Any ideas would be > > appreciated! Here's some relevant output: > > > > If you load the driver manually, can you play a tune then? > For me snd_hda_load="YES" does not load the driver. I have to do it with > kldload snd_hda. > Thanks a lot, this did the trick! :) Here's what I did: 1) I ran 'kldunload snd_hda'. It gave an error: 'device busy' 2) I stopped the Gnome mixer applet 3) I ran 'kldunload snd_hda' 4) Finally I entered 'kldload snd_hda', et voila sound was working. Is there a way to automate this, or do I have to do this after each boot? -- Regards, Aniruddha From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 21:22:54 2008 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 898AB1065691 for ; Thu, 9 Oct 2008 21:22:54 +0000 (UTC) (envelope-from subhro.kar@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.170]) by mx1.freebsd.org (Postfix) with ESMTP id 5B8EB8FC24 for ; Thu, 9 Oct 2008 21:22:54 +0000 (UTC) (envelope-from subhro.kar@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so333985wfg.7 for ; Thu, 09 Oct 2008 14:22:54 -0700 (PDT) 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:references; bh=vdhiMfaVat00+0HeVl6MJX3fOyxMORM1095aS3tg5Zg=; b=GqY8T0PXZqAfC3m0hgkASennqoI5UMAIoBpiadpSojcbs8Cks6k6W9PaaeargysBaC oV0XIVQCVKFZ5nUJtwUtGECEIcj91Ly6EbqdpLHPbYYOLZGSGMcqMYDQQPPY17z0E5Ts MmhY77MgDAITB5I43aiLoo1hzM1UMqIb232OQ= 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:references; b=JdsKQyzbTlCLnrWwzHICk7FDpod36QqCgF/dVGGjF8xB/yJ0pZyjsqxGW30CKetIYX 1KJ9IQ1Y/MYliNWKPMPPDA0wX0EbJ7/TUhS27pU54PfZSb4xlEGTqJDU/Ik7Ns0BDuaM lWJGUxckkU1Ux0Ga0k9aVrvDVJ6n0nEJb7BYU= Received: by 10.114.26.18 with SMTP id 18mr905374waz.162.1223587373989; Thu, 09 Oct 2008 14:22:53 -0700 (PDT) Received: by 10.114.15.4 with HTTP; Thu, 9 Oct 2008 14:22:53 -0700 (PDT) Message-ID: Date: Fri, 10 Oct 2008 02:52:53 +0530 From: Subhro To: jgrosch@mooseriver.com In-Reply-To: <20081009202521.GA57222@mooseriver.com> MIME-Version: 1.0 References: <20081009202521.GA57222@mooseriver.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: hackers@freebsd.org, questions@freebsd.org, hardware@freebsd.org Subject: Re: FreeBSD support for HP DL180/G5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 21:22:54 -0000 HP produces pretty good boxes and historically I have been able to get them working without any troubles. However I would say DL180 is a pretty non customizable box. The hardware works perfectly with FreeBSD 7.0. I didnt try it with 6.3, so cant comment on that. However I would say DL380 is a better off. The main advantage of DL3xx boxes are there is a lot of room to play with add-on cards. Also not all the latest and greatest processors are available with DL1xx family of servers. Also make sure that you go for an external RAID controller like 3ware or Areca. I prefer Areca more :-D. The HP RAID controller cant take the beating I give to it. Thanks Subhro On Fri, Oct 10, 2008 at 1:55 AM, Josef Grosch wrote: > > Does anyone have experience running FreeBSD 6.x and 7.x on an HP DL180/G5? > The company I work for is looking to get a number of these to be put in > production. Your general impressions would be a good start. > > > > Josef > > -- > Josef Grosch | Another day closer to a | FreeBSD 6.3 > jgrosch@MooseRiver.com | Micro$oft free world | Berkeley, Ca. > From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 21:50:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55DD010656BE for ; Thu, 9 Oct 2008 21:50:05 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28]) by mx1.freebsd.org (Postfix) with ESMTP id 07D508FC24 for ; Thu, 9 Oct 2008 21:50:04 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so72702yxb.13 for ; Thu, 09 Oct 2008 14:50:03 -0700 (PDT) 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 :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=8JHuKEkA+XGoaZ/JIZ8eC8tNiZ80UnaGcrkOmylZAac=; b=EqJaXG+HmkoUdPjDow2Sr+swElDXiW5NKsN9JfvlE8yQwPg6jOQD9+ZW9mme00cfqX Ey0v6eZbELRJ3b3csfEmpXDCpMzrhl7evnHuojovziLvPSpEhU6P80ji7YAQGmnY6ldE n5v4VhSj5bW4nHfh0/4RdU7HlZlw2sxxJpsmY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references; b=RS1r/QUR6qm2h9vlNGP52lbIsYkQ/niaMNUK9IIpi8SlEo0V1AEpTxUBCrnuqsUVoT v8+XoVmlOi3RWOmQ7wMBKbzCrSAHIVnPXsT6iEsdyNKS9TbG5aa2lAPAcO5eWkJq7K0/ zHZqNi20rlr4960TIHnnsq7x4ThOxLFscjv54= Received: by 10.150.201.17 with SMTP id y17mr645432ybf.129.1223586996559; Thu, 09 Oct 2008 14:16:36 -0700 (PDT) Received: by 10.151.11.21 with HTTP; Thu, 9 Oct 2008 14:16:36 -0700 (PDT) Message-ID: <8cb6106e0810091416r7e0de2c1w18663f10b4897cf8@mail.gmail.com> Date: Thu, 9 Oct 2008 17:16:36 -0400 From: "Josh Carroll" To: "=?ISO-8859-1?Q?Zahemszky_G=E1bor?=" In-Reply-To: <20081009225136.6ca47d3b@Picasso.Zahemszky.HU> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081009225136.6ca47d3b@Picasso.Zahemszky.HU> Cc: freebsd-questions@freebsd.org Subject: Re: irq256 ???? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: josh.carroll@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 21:50:05 -0000 > I've just found in my machine's vmstat -i output: > > irq256: em0 42054 2 *snip* > $ dmesg|fgrep em0 > em0: port 0x30c0-0x30df > mem 0x90300000-0x9031ffff,0x90324000-0x90324fff irq 20 at device 25.0 on pci0 > em0: Using MSI interrupt em0: [FILTER] > em0: Ethernet address: 00:19:d1:25:78:0a > $ uname -a > FreeBSD XXX 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Thu Oct 2 21:35:45 CEST 2008 > root@XXX:/usr/obj/usr/src/sys/GENERIC i386 $ > ==== > > What's that? (world and kernel are in sync) For what it's worth, I see the same thing on 7.1-PRERELEASE on a box with an em0 (PCI card) and on-board PCI-E msk0: % grep -E '(em0|msk0|mskc0)' /var/run/dmesg.boot mskc0: port 0xc800-0xc8ff mem 0xfe9fc000-0xfe9fffff irq 17 at device 0.0 on pci2 msk0: on mskc0 msk0: Ethernet address: 00:1d:60:bc:cc:39 miibus0: on msk0 mskc0: [FILTER] em0: port 0xec00-0xec3f mem 0xfebe0000-0xfebfffff,0xfebc0000-0xfebdffff irq 17 at device 1.0 on pci5 em0: [FILTER] em0: Ethernet address: 00:0e:0c:6c:b9:16 em0: link state changed to UP % vmstat -i interrupt total rate irq1: atkbd0 2 0 irq6: fdc0 11 0 irq17: em0 atapci1 53621626 108 irq18: uhci2 ehci+ 1 0 irq19: fwohci0+ 10 0 irq22: atapci2 29345269 59 irq23: uhci3 ehci1 1 0 cpu0: timer 991289650 2000 irq256: mskc0 37714212 76 cpu1: timer 991279642 2000 cpu2: timer 991279641 2000 cpu3: timer 991279641 2000 Total 4085809706 8243 And despite the "weird" interrupt, msk0 is operating just fine. Regards, Josh From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 21:50:10 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5082310656B0 for ; Thu, 9 Oct 2008 21:50:10 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id D07DC8FC12 for ; Thu, 9 Oct 2008 21:50:09 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-255-48-78.bredband.comhem.se ([83.255.48.78]:55080 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1Ko3OU-0007sa-6C for freebsd-questions@freebsd.org; Thu, 09 Oct 2008 23:50:07 +0200 Received: (qmail 78855 invoked from network); 9 Oct 2008 23:49:54 +0200 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 9 Oct 2008 23:49:54 +0200 Received: (qmail 31738 invoked by uid 1001); 9 Oct 2008 23:49:54 +0200 Date: Thu, 9 Oct 2008 23:49:54 +0200 From: Erik Trulsson To: Zahemszky =?iso-8859-1?Q?G=E1bor?= Message-ID: <20081009214954.GA31617@owl.midgard.homeip.net> References: <20081009225136.6ca47d3b@Picasso.Zahemszky.HU> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20081009225136.6ca47d3b@Picasso.Zahemszky.HU> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-IP: 83.255.48.78 X-Scan-Result: No virus found in message 1Ko3OU-0007sa-6C. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1Ko3OU-0007sa-6C 44bc118142cda57a27ff60ff98a101a4 Cc: freebsd-questions@freebsd.org Subject: Re: irq256 ???? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 21:50:10 -0000 On Thu, Oct 09, 2008 at 10:51:36PM +0200, Zahemszky G=E1bor wrote: > Hi! >=20 > I've just found in my machine's vmstat -i output: >=20 > =3D=3D=3D > $ vmstat -i > interrupt total rate > irq1: atkbd0 15524 0 > irq6: fdc0 14 0 > irq12: psm0 279947 16 > irq15: ata1 41835 2 > irq16: uhci0 drm0 1407076 81 > irq17: atapci0 257828 14 > irq19: fwohci0++ 16 0 > irq21: uhci1 ahc0+ 41712 2 > irq22: pcm0 52848 3 > irq23: uhci2 ehci1 1 0 > cpu0: timer 33503897 1929 >=20 >=20 > irq256: em0 42054 2 >=20 > =3D=3D=3D^ >=20 > cpu1: timer 33495040 1928 > Total 69137792 3981 > $ dmesg|fgrep em0 > em0: port 0x30c0-0x30df > mem 0x90300000-0x9031ffff,0x90324000-0x90324fff irq 20 at device 25.0 on = pci0=20 > em0: Using MSI interrupt em0: [FILTER] > em0: Ethernet address: 00:19:d1:25:78:0a > $ uname -a > FreeBSD XXX 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Thu Oct 2 21:35:45= CEST 2008 > root@XXX:/usr/obj/usr/src/sys/GENERIC i386 $=20 > =3D=3D=3D=3D >=20 > What's that? (world and kernel are in sync) It is an MSI-style interrupt [MSI=3DMessage Signaled Interrupt] (available = on PCI-E devices and a few PCI/PCI-X devices.) They get allocated fake irq-numbers starting at 256. I.e. it is a feature, and a bug or indication of any problem. --=20 Erik Trulsson ertr1013@student.uu.se From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 21:54:47 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EBDF4106568E for ; Thu, 9 Oct 2008 21:54:47 +0000 (UTC) (envelope-from walt@relnor.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id 832508FC15 for ; Thu, 9 Oct 2008 21:54:47 +0000 (UTC) (envelope-from walt@relnor.com) Received: by fg-out-1718.google.com with SMTP id l26so130828fgb.35 for ; Thu, 09 Oct 2008 14:54:41 -0700 (PDT) Received: by 10.181.137.17 with SMTP id p17mr669057bkn.40.1223589280854; Thu, 09 Oct 2008 14:54:40 -0700 (PDT) Received: from ?192.168.1.2? (host-static-89-41-81-33.moldtelecom.md [89.41.81.33]) by mx.google.com with ESMTPS id g28sm816972fkg.8.2008.10.09.14.54.38 (version=SSLv3 cipher=RC4-MD5); Thu, 09 Oct 2008 14:54:39 -0700 (PDT) Message-ID: <48EE7D9E.9060806@relnor.com> Date: Fri, 10 Oct 2008 00:54:38 +0300 From: Walter Venable User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Jeremy Chadwick References: <8dfae1c10810090938k471f82f0j46caed0514e5b5ac@mail.gmail.com> <20081009164424.GA9081@icarus.home.lan> <48EE77ED.1080306@relnor.com> In-Reply-To: <48EE77ED.1080306@relnor.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: Portsnap causes system to reboot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 21:54:48 -0000 > I found this: $ cat /var/crash/ > ..minfreboundsçinfo.0ç > vmcore.0zinfo.vmcore.1zinfo.vmcore.2zinfo.vmcore.3zinfo.vmcore.4zinfo.vmcore.5zinfo.vmcore.6zinfo.7vmcore.7zÀ > > Any idea what that means? Yes, I'm tired, and I did cat on a directory. I found this in vmcore.7: <118>Checking for core dump on /dev/ad4s1b... <118>savecore: reboot after panic: ffs_clusteralloc: map mismatch <118>Oct 9 11:16:26 freebsd savecore: reboot after panic: ffs_clusteralloc: map mismatch <118>savecore: writing core to vmcore.6 From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 21:59:54 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C90761065689 for ; Thu, 9 Oct 2008 21:59:54 +0000 (UTC) (envelope-from walt@relnor.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id 61D8A8FC1C for ; Thu, 9 Oct 2008 21:59:54 +0000 (UTC) (envelope-from walt@relnor.com) Received: by fg-out-1718.google.com with SMTP id l26so131861fgb.35 for ; Thu, 09 Oct 2008 14:59:53 -0700 (PDT) Received: by 10.181.144.10 with SMTP id w10mr633219bkn.30.1223587823714; Thu, 09 Oct 2008 14:30:23 -0700 (PDT) Received: from ?192.168.1.2? (host-static-89-41-81-33.moldtelecom.md [89.41.81.33]) by mx.google.com with ESMTPS id 22sm789935fkr.4.2008.10.09.14.30.22 (version=SSLv3 cipher=RC4-MD5); Thu, 09 Oct 2008 14:30:22 -0700 (PDT) Message-ID: <48EE77ED.1080306@relnor.com> Date: Fri, 10 Oct 2008 00:30:21 +0300 From: Walter Venable User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Jeremy Chadwick References: <8dfae1c10810090938k471f82f0j46caed0514e5b5ac@mail.gmail.com> <20081009164424.GA9081@icarus.home.lan> In-Reply-To: <20081009164424.GA9081@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: Portsnap causes system to reboot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 21:59:54 -0000 Jeremy Chadwick wrote: > On Thu, Oct 09, 2008 at 07:38:09PM +0300, Walter Venable wrote: > >> Whenever I run portsnap fetch update (edit: it also happens for a >> simple portsnap fetch), my system reboots unexpectedly. Here's the >> output: >> # portsnap fetch update >> Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found. >> Fetching snapshot tag from portsnap2.FreeBSD.org... done. >> Fetching snapshot metadata... done. >> Updating from Wed Sep 24 00:04:04 EEST 2008 to Thu Oct 9 10:28:42 EEST 2008. >> Fetching 3 metadata patches.. done. >> Applying metadata patches... done. >> Fetching 3 metadata files... done. >> Fetching 602 patches.....10....20....30....40....50....60....70....80....90....100....110....120....130....140....150....160....170....180....190....200....210....220....230....240....250....260....270....280....290....300....310....320....330....340....350....360....370....380....390....400....410....420....430....440....450....460....470....480....490....500....510....520....530....540....550....560....570....580....590....600. >> done. >> Applying patches... Read from remote host X: Connection reset by peer >> Connection to X closed. >> >> And then I can log-in again a few minutes later, and the uptime has >> gone down to a few seconds, so I know it rebooted. Any ideas why this >> is happening? >> > > Nope, not without kernel panic information. > > Does this machine have serial console? Are kernel panic dumps being put > into /var/crash? Is the machine even configured for it (see dumpdev, > dumpdir, and savecore in rc.conf). > I found this: $ cat /var/crash/ ..minfreboundsçinfo.0ç vmcore.0zinfo.vmcore.1zinfo.vmcore.2zinfo.vmcore.3zinfo.vmcore.4zinfo.vmcore.5zinfo.vmcore.6zinfo.7vmcore.7zÀ Any idea what that means? > >> Some background info: >> $ uname -mrs >> FreeBSD 7.0-RELEASE-p5 i386 >> > > It would be useful if you could provide uname -a please, if you're > concerned about the hostname, just XXX it out. Seeing the kernel build > date is useful. > $ uname -a FreeBSD freebsd 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #0: Thu Oct 9 02:30:36 EEST 2008 root@freebsd:/usr/obj/usr/src/sys/ECORAZENI i386 > >> CFLAGS=-O2 -pipe >> COPTFLAGS=-O2 -pipe >> CPUTYPE=athlon-xp >> > > Please don't do this. Use ?= for this, not =. If you think I'm > trolling, please read /usr/share/examples/etc/make.conf. > It's recompiling with an empty make.conf now. > >> Since this started happening, I have still successfully updated ports >> by csup'ing the ports tree. I can also still rebuild the world and >> kernel without issue. This is a remote box, and I don't use X with >> it. >> > > It almost sounds like a filesystem problem. You might consider booting > into single-user and running fsck -y. > > From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 22:00:12 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EFCF10656B2 for ; Thu, 9 Oct 2008 22:00:12 +0000 (UTC) (envelope-from gpeel@thenetnow.com) Received: from thenetnow.com (thenetnow.com [69.90.69.141]) by mx1.freebsd.org (Postfix) with ESMTP id 0FCA48FC14 for ; Thu, 9 Oct 2008 22:00:07 +0000 (UTC) (envelope-from gpeel@thenetnow.com) Received: from hpeel.ody.ca ([216.240.12.2] helo=GRANT) by constellation.thenetnow.com with esmtpa (Exim 4.63 (FreeBSD)) (envelope-from ) id 1Ko3YA-0001aA-Rb for freebsd-questions@freebsd.org; Thu, 09 Oct 2008 18:00:02 -0400 Message-ID: <7B4A419D26AE44F986698BB7A482DE29@GRANT> From: "Grant Peel" To: Date: Thu, 9 Oct 2008 17:59:52 -0400 Organization: The Net Now 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.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Subject: Mailman + Apache + Cookies + FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Grant Peel List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 22:00:12 -0000 Hi all, I am not a fan of cross posting, but, I have to make a exception in this case as I can't seem to nail down whether its the software or OS causing me the problem. Software: Apache 2.2, Python 2.5, Mailmain 2.1.11 OS: FreeBSD 6.2 Release #0 Apache and Python were built from ports, Mailman was built from source. Problem: I can't stay logged into the Mailman web interface. Each time I submit a form, I am logged out. When I do log in, If I look on my local machine, I cant find a session cookie anywhere. It like is never set. And the Mailman documentation clearly states that none of the changes will be saved in that scenario. Question: are there any people out there who can point me in the right direction? I assume that Python should be setting a cookie, but thats just a guess ... could it be OS related? TIA, -Grant From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 22:09:56 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 434A01065693 for ; Thu, 9 Oct 2008 22:09:56 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout018.mac.com (asmtpout018.mac.com [17.148.16.93]) by mx1.freebsd.org (Postfix) with ESMTP id 2F60D8FC13 for ; Thu, 9 Oct 2008 22:09:56 +0000 (UTC) (envelope-from cswiger@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp018.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0K8H00IEQS87UE10@asmtp018.mac.com> for freebsd-questions@freebsd.org; Thu, 09 Oct 2008 15:09:43 -0700 (PDT) From: Chuck Swiger To: Grant Peel In-reply-to: <7B4A419D26AE44F986698BB7A482DE29@GRANT> X-Priority: 3 References: <7B4A419D26AE44F986698BB7A482DE29@GRANT> Message-id: Date: Thu, 09 Oct 2008 15:09:43 -0700 X-Mailer: Apple Mail (2.929.2) Cc: freebsd-questions@freebsd.org Subject: Re: Mailman + Apache + Cookies + 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, 09 Oct 2008 22:09:56 -0000 On Oct 9, 2008, at 2:59 PM, Grant Peel wrote: > Problem: I can't stay logged into the Mailman web interface. Each > time I submit a form, I am logged out. When I do log in, If I look > on my local machine, I cant find a session cookie anywhere. It like > is never set. And the Mailman documentation clearly states that none > of the changes will be saved in that scenario. > > Question: are there any people out there who can point me in the > right direction? I assume that Python should be setting a cookie, > but thats just a guess ... could it be OS related? Try restarting your browser, and double-checking that your preferences allow the webserver to set cookies. Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 22:12:54 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E12E01065700 for ; Thu, 9 Oct 2008 22:12:53 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 3DC998FC27 for ; Thu, 9 Oct 2008 22:12:52 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id m99MD3OO085272; Thu, 9 Oct 2008 15:13:03 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Thu, 9 Oct 2008 15:12:48 -0700 (PDT) Date: Thu, 9 Oct 2008 15:12:48 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20081009221245.GA37443@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 22 years of service to the Unix community. X-Spam-Status: No, score=-4.3 required=3.6 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: KDE speeech fails with kde4! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 22:12:54 -0000 Well guys, the temp bottom-line is that all-in-all, kde4 seems better than kde3. The xterm version, Konsole, it more nicely laid out. Konq, dunno; I'm *still* trying to get all my kd3 "xml" bookmarks moved over. The biggest fault is that the festival [speech] tool, kttd, fails to init. I *do* have kde4/bin before /usr/local/bin, but I'm missing something that I don't fully undertand. Do I need to build/rebuild some of these binaries? My portupgrade -avPpk should have done that. When I mouse some text then hit Tools->Speak, an err pop-up reads: "The D-Bus call say() failed." Another error dialog pops up titled: "kttsd - The KDE Crash Handler" It says simply that a fatal error occured and that the app kttsd crashed with a segv. Is there a workaround? tia, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 22:16:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 627CE1065693 for ; Thu, 9 Oct 2008 22:16:06 +0000 (UTC) (envelope-from gpeel@thenetnow.com) Received: from thenetnow.com (thenetnow.com [69.90.69.141]) by mx1.freebsd.org (Postfix) with ESMTP id 3AE138FC23 for ; Thu, 9 Oct 2008 22:16:06 +0000 (UTC) (envelope-from gpeel@thenetnow.com) Received: from hpeel.ody.ca ([216.240.12.2] helo=GRANT) by constellation.thenetnow.com with esmtpa (Exim 4.63 (FreeBSD)) (envelope-from ) id 1Ko3nh-0001yq-JG; Thu, 09 Oct 2008 18:16:05 -0400 Message-ID: From: "Grant Peel" To: "Chuck Swiger" References: <7B4A419D26AE44F986698BB7A482DE29@GRANT> Date: Thu, 9 Oct 2008 18:15:56 -0400 Organization: The Net Now MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Cc: freebsd-questions@freebsd.org Subject: Re: Mailman + Apache + Cookies + FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Grant Peel List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 22:16:06 -0000 Thanks Chuck, Tried all that several times. My browser accepts cookies from many different (tested today and yesterday) sites. -Grant ----- Original Message ----- From: "Chuck Swiger" To: "Grant Peel" Cc: Sent: Thursday, October 09, 2008 6:09 PM Subject: Re: Mailman + Apache + Cookies + FreeBSD > On Oct 9, 2008, at 2:59 PM, Grant Peel wrote: >> Problem: I can't stay logged into the Mailman web interface. Each time I >> submit a form, I am logged out. When I do log in, If I look on my local >> machine, I cant find a session cookie anywhere. It like is never set. >> And the Mailman documentation clearly states that none of the changes >> will be saved in that scenario. >> >> Question: are there any people out there who can point me in the right >> direction? I assume that Python should be setting a cookie, but thats >> just a guess ... could it be OS related? > > Try restarting your browser, and double-checking that your preferences > allow the webserver to set cookies. > > Regards, > -- > -Chuck > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 22:22:40 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5EC7B106568C for ; Thu, 9 Oct 2008 22:22:40 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp105.prem.mail.ac4.yahoo.com (smtp105.prem.mail.ac4.yahoo.com [76.13.13.44]) by mx1.freebsd.org (Postfix) with SMTP id 0AACD8FC14 for ; Thu, 9 Oct 2008 22:22:39 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: (qmail 71913 invoked from network); 9 Oct 2008 22:22:39 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:X-Face:Mime-Version:Content-Type; b=3zSROCw+oX++fkBZ1dWFMaMpekqYLjpr8Wkkq2UpMH2MYk7Ey+z963XgcmIF73jkn/43PtRRNgFuS3XICPTsXNoziiNR8ThTyjKC6aIQMExDDhGW4nYFz6N1EmoXpHgzOa7FarxSJog/Nm5H32tuaAGZg4NzPCVlTVPncRLiDZE= ; Received: from unknown (HELO scorpio) (gesbbb@67.189.233.182 with login) by smtp105.prem.mail.ac4.yahoo.com with SMTP; 9 Oct 2008 22:22:39 -0000 X-YMail-OSG: dhVlY7EVM1nA0PHRoFmKUm86LaoVAUB96pAVw4Nrf2WT1vo6AoO9TWiIdCjF5nRq9toeOyIaHm07Jvn7CyboAFP5JkO4zuvw3HGaIToTmJJfnG3V4KQJDS3a9j4YDP3mQdekNdLldteno2jWjYdh2evk8KZLKfY2NE3WiddU8vX.bBVLLExDi_.1Lw-- X-Yahoo-Newman-Property: ymail-3 Date: Thu, 9 Oct 2008 18:22:23 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20081009182223.7c532a5d@scorpio> In-Reply-To: <7B4A419D26AE44F986698BB7A482DE29@GRANT> References: <7B4A419D26AE44F986698BB7A482DE29@GRANT> Organization: seibercom.net X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd6.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/EU/BigtwwjEAf0Iu4llI4rJ"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Re: Mailman + Apache + Cookies + FreeBSD 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, 09 Oct 2008 22:22:40 -0000 --Sig_/EU/BigtwwjEAf0Iu4llI4rJ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 9 Oct 2008 17:59:52 -0400 "Grant Peel" wrote: >Hi all, > >I am not a fan of cross posting, but, I have to make a exception in >this case as I can't seem to nail down whether its the software or OS >causing me the problem. > >Software: Apache 2.2, Python 2.5, Mailmain 2.1.11 >OS: FreeBSD 6.2 Release #0 > >Apache and Python were built from ports, Mailman was built from source. > >Problem: I can't stay logged into the Mailman web interface. Each time >I submit a form, I am logged out. When I do log in, If I look on my >local machine, I cant find a session cookie anywhere. It like is never >set. And the Mailman documentation clearly states that none of the >changes will be saved in that scenario. > >Question: are there any people out there who can point me in the right=20 >direction? I assume that Python should be setting a cookie, but thats >just a guess ... could it be OS related? Just out of morbid curiosity, why did you build it from source? Mailman is available in the ports. --=20 Jerry gesbbb@yahoo.com The very remembrance of my former misfortune proves a new one to me. Miguel de Cervantes --Sig_/EU/BigtwwjEAf0Iu4llI4rJ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjuhC0ACgkQBvaKIJWWCO2xJACcCL1EJyKKTVtvKbgEtFZ48hDU GF8An0au+Xi4gFx1W525/FGfBcnuYSC7 =FOy5 -----END PGP SIGNATURE----- --Sig_/EU/BigtwwjEAf0Iu4llI4rJ-- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 23:28:08 2008 Return-Path: Delivered-To: FreeBSD-Questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE69D1065688 for ; Thu, 9 Oct 2008 23:28:08 +0000 (UTC) (envelope-from dkelly@HiWAAY.net) Received: from bee.hiwaay.net (bee.hiwaay.net [216.180.54.11]) by mx1.freebsd.org (Postfix) with ESMTP id 708C48FC13 for ; Thu, 9 Oct 2008 23:28:08 +0000 (UTC) (envelope-from dkelly@HiWAAY.net) Received: from [10.0.0.183] ([216.186.148.249]) (authenticated bits=0) by bee.hiwaay.net (8.13.8/8.13.8) with ESMTP id m99NS46A1149947 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Thu, 9 Oct 2008 18:28:05 -0500 (CDT) From: David Kelly To: Zbigniew Szalbot In-Reply-To: <94136a2c0810090811t7d32b0cekde2a55fbaabaa2fd@mail.gmail.com> References: <20081008223925.GB97321@melon.esperance-linux.co.uk> <2F5A85A9-3C1C-4328-9D4C-8722B3FDB2A1@ahm-inc.com> <28283d910810081851h7ab99b5y94b68f04b2a956e7@mail.gmail.com> <74E268D6-92EB-415F-8A28-86909F2F8B56@ahm-inc.com> <20081009143515.GA41174@Grumpy.DynDNS.org> <94136a2c0810090811t7d32b0cekde2a55fbaabaa2fd@mail.gmail.com> Message-Id: <54C46368-FF5F-483F-B76E-650F0C4ED804@HiWAAY.net> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Thu, 9 Oct 2008 18:28:04 -0500 X-Mailer: Apple Mail (2.929.2) Cc: FreeBSD-Questions@freebsd.org, Chad Marshall Subject: Re: uptime 2 years! 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, 09 Oct 2008 23:28:08 -0000 On Thu, Oct 09, 2008 at 05:11:13PM +0200, Zbigniew Szalbot wrote: > > But the discussion that followed made me realize that uptime is not > everything. I also love to see huge uptimes on my servers but if > anything this discussion brought it home to me that more than anything > I need to take care of security updates which I do. Yes, uptime isn't everything. But when security notices are published its important to read the notice and question whether it immediately applies to your situation. In my case a kernel flaw which allows an otherwise valid user to elevate authority is not terribly important on my 2 year machine. Something which allows an unauthorized user into the machine is important. OTOH while my kernel has been running 2 years I have wiped ports completely several times and reinstalled. IIRC it takes 3 or 4 days to build X11 and KDE last time I tired. No longer has X11 or KDE. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 23:42:43 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76A791065687 for ; Thu, 9 Oct 2008 23:42:43 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 430EF8FC20 for ; Thu, 9 Oct 2008 23:42:43 +0000 (UTC) (envelope-from mike@sentex.net) Received: from Mobile2.sentex.ca (cage.simianscience.com [64.7.134.1]) by smarthost1.sentex.ca (8.14.3/8.14.3) with SMTP id m99NFao8060172 for ; Thu, 9 Oct 2008 19:15:36 -0400 (EDT) (envelope-from mike@sentex.net) From: mike@sentex.net To: freebsd-questions@freebsd.org Date: Thu, 09 Oct 2008 19:15:22 -0400 Message-ID: <5r3te4946bdoqso2ull1g1c4p7dsdhdua4@4ax.com> References: <20081009225136.6ca47d3b@Picasso.Zahemszky.HU> <20081009214954.GA31617@owl.midgard.homeip.net> In-Reply-To: <20081009214954.GA31617@owl.midgard.homeip.net> X-Mailer: Forte Agent 4.2/32.1118 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Subject: Re: irq256 ???? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Oct 2008 23:42:43 -0000 On Thu, 9 Oct 2008 23:49:54 +0200, in sentex.lists.freebsd.questions you wrote: >>=20 >> What's that? (world and kernel are in sync) > >It is an MSI-style interrupt [MSI=3DMessage Signaled Interrupt] = (available on >PCI-E devices and a few PCI/PCI-X devices.) They get allocated fake >irq-numbers starting at 256. > >I.e. it is a feature, and a bug or indication of any problem. And you can see what devices are MSI capable with pciconf -lvc e.g em0@pci0:5:0:0: class=3D0x020000 card=3D0x348d8086 chip=3D0x108c8086 rev=3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82573E Intel Corporation 82573E Gigabit Ethernet Controller (Copper)' class =3D network subclass =3D ethernet cap 01[c8] =3D powerspec 2 supports D0 D3 current D0 cap 05[d0] =3D MSI supports 1 message, 64 bit enabled with 1 message cap 10[e0] =3D PCI-Express 1 endpoint=20 ---Mike From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 00:41:30 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F4C41065695 for ; Fri, 10 Oct 2008 00:41:30 +0000 (UTC) (envelope-from eitanadlerlist@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.239]) by mx1.freebsd.org (Postfix) with ESMTP id 0D5568FC12 for ; Fri, 10 Oct 2008 00:41:29 +0000 (UTC) (envelope-from eitanadlerlist@gmail.com) Received: by rv-out-0506.google.com with SMTP id g9so120521rvb.7 for ; Thu, 09 Oct 2008 17:41:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding:from; bh=mz7EyIYEm5IXjL22jz182EVsxJM83Z147BwuOUpDTVo=; b=ISmP4ce+9SB7+/8TvpepfTKWQEqktpnjy9Ij2Ok09i+IT9e3Tt9ZLT2Elxu9oW32+n 3BotDzuo6helLEAjHXxrTra1DHU8RaIcRiIsI9Ka/2NtrapjrlpltYRZaKYpHGynWGnp hPWlh/MA9GtGEdPWVpFJyvPg3LigFjnvN/XhE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding:from; b=vbBU6a2wTc4E+L3WfxNmdXK/V03aiVHVri6BkMMdahUv6uBlqws2mhCErUqV8yBPXE HGcrKgzMUC4wfDmIUWPFjMj7w8zajckD16KaaViiSX1TDC3Furg/7faqgGMfTLIrGjiA +yFmIZoy6NFuOu2Ca1ab45u5Mb5cs6SIYI2tY= Received: by 10.141.115.6 with SMTP id s6mr617799rvm.239.1223599289730; Thu, 09 Oct 2008 17:41:29 -0700 (PDT) Received: from ?192.168.1.101? (ool-182d26f3.dyn.optonline.net [24.45.38.243]) by mx.google.com with ESMTPS id k2sm2322113rvb.1.2008.10.09.17.41.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 09 Oct 2008 17:41:28 -0700 (PDT) Message-ID: <48EEA4B3.3050707@gmail.com> Date: Thu, 09 Oct 2008 20:41:23 -0400 User-Agent: Mozilla (X11; U; FreeBSD i386; en-US; ) Gecko Thunderbird Mnenhy/0.7.5.666 MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org References: <20081008162153.GA80866@icarus.home.lan> <20081008164540.GA78500@ozzmosis.com> <48ECF908.5080100@gmail.com> <44y70y7yiy.fsf@lowell-desk.lan> In-Reply-To: <44y70y7yiy.fsf@lowell-desk.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit From: Eitan Adler Cc: Subject: Re: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 00:41:30 -0000 Lowell Gilbert wrote: [snip] > And in theory it should be possible to change time_t to unsigned, and > get another two-thirds of a century out of it... > However this would break binary compatibility with anything compiled before the change. -- GNU Key fingerptrint: 2E13 BC16 5F54 0FBD 62ED 42B6 B65F 24AB E9C2 CCD1 From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 00:58:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E8AF1065699 for ; Fri, 10 Oct 2008 00:58:59 +0000 (UTC) (envelope-from gpeel@thenetnow.com) Received: from thenetnow.com (thenetnow.com [69.90.69.141]) by mx1.freebsd.org (Postfix) with ESMTP id 77B5A8FC34 for ; Fri, 10 Oct 2008 00:58:59 +0000 (UTC) (envelope-from gpeel@thenetnow.com) Received: from hpeel.ody.ca ([216.240.12.2] helo=GRANT) by constellation.thenetnow.com with esmtpa (Exim 4.63 (FreeBSD)) (envelope-from ) id 1Ko6LK-0004gN-IK for freebsd-questions@freebsd.org; Thu, 09 Oct 2008 20:58:58 -0400 Message-ID: <1E8ACEED76434CED9179EBA57CDBDBEF@GRANT> From: "Grant Peel" To: References: <7B4A419D26AE44F986698BB7A482DE29@GRANT> <20081009182223.7c532a5d@scorpio> Date: Thu, 9 Oct 2008 20:58:49 -0400 Organization: The Net Now MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Subject: Re: Mailman + Apache + Cookies + FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Grant Peel List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 00:58:59 -0000 Jerry, I tried a few times to build it from source but since I am using Apache+Suexec, I was stuck on how to 'make' it and pass the parms needed to set the user and home directory, i.e. I needed the install directory to be set to /home/mailmain when the ports version insisted on setting it to /usr/local/mailman. -Grant ----- Original Message ----- From: "Jerry" To: Sent: Thursday, October 09, 2008 6:22 PM Subject: Re: Mailman + Apache + Cookies + FreeBSD From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 02:02:31 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85CF51065698 for ; Fri, 10 Oct 2008 02:02:31 +0000 (UTC) (envelope-from gpeel@thenetnow.com) Received: from thenetnow.com (thenetnow.com [69.90.69.141]) by mx1.freebsd.org (Postfix) with ESMTP id 613278FC0C for ; Fri, 10 Oct 2008 02:02:31 +0000 (UTC) (envelope-from gpeel@thenetnow.com) Received: from hpeel.ody.ca ([216.240.12.2] helo=GRANT) by constellation.thenetnow.com with esmtpa (Exim 4.63 (FreeBSD)) (envelope-from ) id 1Ko7Ko-0005XK-43 for freebsd-questions@freebsd.org; Thu, 09 Oct 2008 22:02:30 -0400 Message-ID: <294284AD325E4C7280F8705AFAFA5180@GRANT> From: "Grant Peel" To: Date: Thu, 9 Oct 2008 22:02:20 -0400 Organization: The Net Now 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.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Subject: Re Apache + Mailman X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Grant Peel List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 02:02:31 -0000 Cool Paul, How about the rest of these: '--prefix=/home/mailman' '--with-username=mailman' '--with-mail-gid=mailman' '--with-cgi-gid=mailman' And do you think it would make a difference to the cookies issue I am having? -Grant From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 02:07:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6022710656A2 for ; Fri, 10 Oct 2008 02:07:52 +0000 (UTC) (envelope-from prvs=pauls=162ef0310@utdallas.edu) Received: from ip-relay-002.utdallas.edu (ip-relay-002.utdallas.edu [129.110.20.112]) by mx1.freebsd.org (Postfix) with ESMTP id 1434B8FC21 for ; Fri, 10 Oct 2008 02:07:51 +0000 (UTC) (envelope-from prvs=pauls=162ef0310@utdallas.edu) X-Group: RELAYLIST X-IronPort-AV: E=Sophos;i="4.33,385,1220245200"; d="scan'208";a="21569" Received: from smtp3.utdallas.edu ([129.110.20.110]) by ip-relay-002.utdallas.edu with ESMTP; 09 Oct 2008 20:57:21 -0500 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 ESMTPSA id 4AC3C8F1E; Thu, 9 Oct 2008 20:57:21 -0500 (CDT) Date: Thu, 09 Oct 2008 20:57:15 -0500 From: Paul Schmehl To: Grant Peel , freebsd-questions@freebsd.org Message-ID: <5FC13BDB02D0851D3473BEAC@Macintosh-2.local> In-Reply-To: <1E8ACEED76434CED9179EBA57CDBDBEF@GRANT> References: <7B4A419D26AE44F986698BB7A482DE29@GRANT> <20081009182223.7c532a5d@scorpio> <1E8ACEED76434CED9179EBA57CDBDBEF@GRANT> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=sha1; protocol="application/pkcs7-signature"; boundary="==========DFAFE2900B371A546A7A==========" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Mailman + Apache + Cookies + FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 02:07:52 -0000 --==========DFAFE2900B371A546A7A========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline --On October 9, 2008 7:58:49 PM -0500 Grant Peel =20 wrote: > > Jerry, > > I tried a few times to build it from source but since I am using > Apache+Suexec, I was stuck on how to 'make' it and pass the parms needed > to > set the user and home directory, i.e. I needed the install directory to > be > set to /home/mailmain when the ports version insisted on setting it to > /usr/local/mailman. cd /usr/ports/mail/mailman make install PREFIX=3D/home clean Paul Schmehl (pauls@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ --==========DFAFE2900B371A546A7A==========-- From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 02:12:16 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0E0A1065686 for ; Fri, 10 Oct 2008 02:12:16 +0000 (UTC) (envelope-from cmarshall@ahm-inc.com) Received: from mail.clearvoipcalling.com (ip-66-235-250-52.sterlingnetwork.net [66.235.250.52]) by mx1.freebsd.org (Postfix) with ESMTP id BDB2A8FC14 for ; Fri, 10 Oct 2008 02:12:16 +0000 (UTC) (envelope-from cmarshall@ahm-inc.com) Received: from [192.168.50.2] (host-216-9-190-113.orbitelcom.com [216.9.190.113]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.clearvoipcalling.com (Postfix) with ESMTP id F2927119C1C; Thu, 9 Oct 2008 19:11:58 -0700 (MST) Message-ID: <48EEBA06.2020407@ahm-inc.com> Date: Thu, 09 Oct 2008 19:12:22 -0700 From: Chad Marshall User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Modulok References: <20081008162153.GA80866@icarus.home.lan> <20081008164540.GA78500@ozzmosis.com> <48ECF908.5080100@gmail.com> <44y70y7yiy.fsf@lowell-desk.lan> <48EEA4B3.3050707@gmail.com> <64c038660810091859q2423041fq86f2c0cc5f9b5d31@mail.gmail.com> In-Reply-To: <64c038660810091859q2423041fq86f2c0cc5f9b5d31@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 02:12:17 -0000 Thank you. Although I have always felt there are better systems for Administrative purposes, FreeBSD is a rock solid performer. I'm a Mac user/Fan as well and since a lot of it's core was built on FreeBSD, goes to show how great it is. Thanks to all of you who were at least constructive and supportive and found some value in my story. Best Regards, Modulok wrote: >>> uptime 2 years! >>> > > Congratulations. Long uptimes should be shared, so as to encourage people to > consider FreeBSD for long-term stability. Thank you for posting. > > Through this discussion the lazy administrator topic came up... In > regards to that, we > must keep in mind, 'stability,' pertains not only to run-time > stability but also to > temporal stability and general quality of the design and implementation of the > original code base. If an administrator has to make offline kernel > patches every > week to fix a glaring security hole, something was wrong with the > sofware's original > design or implementation. Regardless, mistakes do occur, so keep your system up > for as long as you can, but don't forget to watch the security > reports for things that > would directly affect that specific server. All things in moderation. > > >>> Sorry to bother you...You know, you could just leave well enough alone if you don't >>> care. There goes any future donations from me and my organization as this is >>> more than the first untactful email I recieved from this, I'll donate and use other >>> platforms. Please don't send any other emails >>> > > Don't let a few sour grapes get you down. I think it's cool. > -Modulok- > From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 02:18:48 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 692221065694 for ; Fri, 10 Oct 2008 02:18:48 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id C8E998FC15 for ; Fri, 10 Oct 2008 02:18:47 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.13.1) with ESMTP id m9A2IXbt078399 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 10 Oct 2008 09:18:33 +0700 (ICT) (envelope-from on@banyan.cs.ait.ac.th) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.2/8.12.11) id m9A2Ia29057708; Fri, 10 Oct 2008 09:18:36 +0700 (ICT) Date: Fri, 10 Oct 2008 09:18:36 +0700 (ICT) Message-Id: <200810100218.m9A2Ia29057708@banyan.cs.ait.ac.th> From: Olivier Nicole To: derek@computinginnovations.com In-reply-to: <6.0.0.22.2.20081009073538.02524488@mail.computinginnovations.com> (message from Derek Ragona on Thu, 09 Oct 2008 07:36:49 -0500) References: <20081009131623.M34013@gwdu60.gwdg.de> <6.0.0.22.2.20081009073538.02524488@mail.computinginnovations.com> X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Cc: freebsd-questions@freebsd.org Subject: Re: Multiple NICs routing question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 02:18:48 -0000 >I've a server box with four NICs addressing different subnets: > >NIC1: one class c subnet of same class b network >NIC2: another class c subnet of same class b network >NIC3: local unrouted network >NIC4: local unrouted network > >In the current configuration I use a default gateway (and no routing >daemon) in the subnet addressed by NIC1. Now of course, if a client in an >arbitrary different class c subnet contacts the server using the ip >address of NIC2, it gets a reply from NIC1. You should give more details about your configuration. If any client on the class B on NIC2 can contact your server, you must configure the NIC for the class B. The routing stack will take charge of excluding the class C on NIC1 from the class B on NIC2. It's very bad that the client that connects via the NIC2 has a subnet of class B and that the NIC2 is configured for class C only. If you configure: NIC1 192.168.1.1 255.255.255.0 NIC2 192.168.2.1 255.255.0.0 Client 192.168.127.23 255.255.0.0 it should work. Olivier From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 02:28:34 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CA1C106568B for ; Fri, 10 Oct 2008 02:28:34 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.232]) by mx1.freebsd.org (Postfix) with ESMTP id 3F0CD8FC19 for ; Fri, 10 Oct 2008 02:28:34 +0000 (UTC) (envelope-from modulok@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so281164rvf.43 for ; Thu, 09 Oct 2008 19:28:33 -0700 (PDT) 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=hbo4P9g0LLZ+i2eTmhmH7Ly5Hq8k/69V7qaTy7bD5SM=; b=fEJBpmYhkEotUFkJAvBem0evsiZDoFubbFsXWGFvTtHr5f4tcN9GjHS4T/ecAsCGdL 1iLjPzWajn5jpOIN98l0pqex5mpibT+1mMxIZ+YyUzvclJCaFI5nYSOHbTeFQIqOye0D GrAWhH4okHwYBvrgnO2efOcybP9jOrmidWelA= 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=dYUaVhaOezYJj4uSxsAy9XuU7y/H5kmAn2PNIJg9C5JAR5XbNWaTTLR1ScY23F8zHl pW5ABY3uVv3Ob5MOtlc6jRMfCXRxe5Bsw9fjwLm7CPZA3EXkIghC8Y65RmR7zikUtL6G qvjsldbKZX28cP2MnQ2BJ9zDjX17cfGhm+TBc= Received: by 10.142.230.11 with SMTP id c11mr433671wfh.302.1223603963528; Thu, 09 Oct 2008 18:59:23 -0700 (PDT) Received: by 10.142.177.16 with HTTP; Thu, 9 Oct 2008 18:59:22 -0700 (PDT) Message-ID: <64c038660810091859q2423041fq86f2c0cc5f9b5d31@mail.gmail.com> Date: Thu, 9 Oct 2008 19:59:22 -0600 From: Modulok To: cmarshall@ahm-inc.com In-Reply-To: <48EEA4B3.3050707@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081008162153.GA80866@icarus.home.lan> <20081008164540.GA78500@ozzmosis.com> <48ECF908.5080100@gmail.com> <44y70y7yiy.fsf@lowell-desk.lan> <48EEA4B3.3050707@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 02:28:34 -0000 >> uptime 2 years! Congratulations. Long uptimes should be shared, so as to encourage people to consider FreeBSD for long-term stability. Thank you for posting. Through this discussion the lazy administrator topic came up... In regards to that, we must keep in mind, 'stability,' pertains not only to run-time stability but also to temporal stability and general quality of the design and implementation of the original code base. If an administrator has to make offline kernel patches every week to fix a glaring security hole, something was wrong with the sofware's original design or implementation. Regardless, mistakes do occur, so keep your system up for as long as you can, but don't forget to watch the security reports for things that would directly affect that specific server. All things in moderation. >>Sorry to bother you...You know, you could just leave well enough alone if you don't >>care. There goes any future donations from me and my organization as this is >>more than the first untactful email I recieved from this, I'll donate and use other >>platforms. Please don't send any other emails Don't let a few sour grapes get you down. I think it's cool. -Modulok- From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 02:39:57 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B8831065694 for ; Fri, 10 Oct 2008 02:39:57 +0000 (UTC) (envelope-from prvs=pauls=162ef0310@utdallas.edu) Received: from ip-relay-002.utdallas.edu (ip-relay-002.utdallas.edu [129.110.20.112]) by mx1.freebsd.org (Postfix) with ESMTP id E15518FC0C for ; Fri, 10 Oct 2008 02:39:56 +0000 (UTC) (envelope-from prvs=pauls=162ef0310@utdallas.edu) X-Group: RELAYLIST X-IronPort-AV: E=Sophos;i="4.33,385,1220245200"; d="scan'208";a="23303" Received: from smtp3.utdallas.edu ([129.110.20.110]) by ip-relay-002.utdallas.edu with ESMTP; 09 Oct 2008 21:39:55 -0500 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 ESMTPSA id C3D3E8F2F; Thu, 9 Oct 2008 21:39:55 -0500 (CDT) Date: Thu, 09 Oct 2008 21:39:51 -0500 From: Paul Schmehl To: Grant Peel , freebsd-questions@freebsd.org Message-ID: <83A34A9DE0A22155D13812F1@Macintosh-2.local> In-Reply-To: <294284AD325E4C7280F8705AFAFA5180@GRANT> References: <294284AD325E4C7280F8705AFAFA5180@GRANT> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=sha1; protocol="application/pkcs7-signature"; boundary="==========56D8E92332DE0197897C==========" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Re Apache + Mailman X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 02:39:57 -0000 --==========56D8E92332DE0197897C========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline --On October 9, 2008 9:02:20 PM -0500 Grant Peel =20 wrote: > > Cool Paul, > > How about the rest of these: > > '--prefix=3D/home/mailman' > '--with-username=3Dmailman' > '--with-mail-gid=3Dmailman' > '--with-cgi-gid=3Dmailman' > You can do it that way, but the port has an OPTION for Postfix that will=20 set mail-gid to mailman and username is set to mailman by default. So the = only one you really need to set is cgi-gid, which is www by default. I used to use /usr/local/etc/pkgtools.conf to define those values to keep=20 from having to remember them on the commandline every time I portupgraded=20 mailman, but that hasn't been necessary in a while. > And do you think it would make a difference to the cookies issue I am > having? > I'm not sure, but as a port maintainer, I can tell you that a great deal=20 of effort goes into ensuring that the ports work as expected. They are=20 thoroughly tested, and the committers are very conscientious about getting = errors fixed before the ports are committed. I would deinstall what you have, install the port and then see if the=20 issue still remains. If it does, we can work on figuring out what the=20 problem is at that point. Paul Schmehl (pauls@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ --==========56D8E92332DE0197897C==========-- From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 03:04:19 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C8971065690 for ; Fri, 10 Oct 2008 03:04:19 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: from web56802.mail.re3.yahoo.com (web56802.mail.re3.yahoo.com [66.196.97.76]) by mx1.freebsd.org (Postfix) with SMTP id 090198FC23 for ; Fri, 10 Oct 2008 03:04:18 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: (qmail 83546 invoked by uid 60001); 10 Oct 2008 03:04:18 -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:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=eDJjewhh1ICnc+0SUbb7Ijg7iBtH6dngInbsAlMaffncjgJESC+18G08ipxQEoOqETM9PnccDRtwbK9gnGbgAQbI2oalmBSgLy9u+s9Ff64LINRg3y0kl2yzJSnyeMNNQA4++Ohp3Nj+0/TOnPtC8vjRzw8rE/Oi5XCNHf4UqW0=; X-YMail-OSG: CsNAL1kVM1lrLW2lW_kBmj.KKVA5JCLB.mdpiedFHQAaPB3IjuQQRg0_2MjHq4RqAxvgQ.v93V.qZmLwXhpjSM4T0o.p.FoOf6U_15pkmuDH7nSyx84eX758BzzbCLhvp9sIByIFCVkXlsaxWeErsc_8qA-- Received: from [71.61.220.126] by web56802.mail.re3.yahoo.com via HTTP; Thu, 09 Oct 2008 20:04:18 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Thu, 9 Oct 2008 20:04:18 -0700 (PDT) From: mdh To: freebsd-questions@freebsd.org In-Reply-To: <48EEA4B3.3050707@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <341589.83396.qm@web56802.mail.re3.yahoo.com> Subject: Re: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mdh_lists@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 03:04:19 -0000 --- On Thu, 10/9/08, Eitan Adler wrote: > From: Eitan Adler > Subject: Re: uptime 2 years! > To: freebsd-questions@FreeBSD.org > Date: Thursday, October 9, 2008, 8:41 PM > Lowell Gilbert wrote: > [snip] > > And in theory it should be possible to change time_t > to unsigned, and > > get another two-thirds of a century out of it... > > > However this would break binary compatibility with anything > compiled > before the change. > > -- > GNU Key fingerptrint: 2E13 BC16 5F54 0FBD 62ED 42B6 B65F > 24AB E9C2 CCD1 > _______________________________________________ > 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 Oct 10 03:06:02 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4F9B1065686 for ; Fri, 10 Oct 2008 03:06:02 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: from web56806.mail.re3.yahoo.com (web56806.mail.re3.yahoo.com [66.196.97.80]) by mx1.freebsd.org (Postfix) with SMTP id 6BA378FC28 for ; Fri, 10 Oct 2008 03:06:02 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: (qmail 65306 invoked by uid 60001); 10 Oct 2008 03:06:01 -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:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=UvYdc3Ig5RtjsCk1Vgk0xC8zDPOJplrAS0IO/KZlwGZeTJZ06mhvuhZiSI2T/mGX/dPXGCqfJAj/L8BKGRqsBi7Ruxy8Zaptx22ygcMbSzu/GBSFzIsBPx5DOIBclzUomwaHL+wQDwIb3qbGa6Z892DGbeF4MVJouCImNIcfX4M=; X-YMail-OSG: 9H8L6EAVM1naHGuurQT_BWEYkMjOKfg5uhfSrmzN77FvIDO8FOp3_Qq80z1FZjjhkV067fVChUmEBsHHaC6ksVhKN77AWUKmBS6v793a7G4._f5mJBBV8l5KbNKixC_LQeENa7peaw4_CyC2JVeYRVdmu5RJJg0sVjOoolfiVhDSpVyRsdz_HyE0ipuS8w-- Received: from [71.61.220.126] by web56806.mail.re3.yahoo.com via HTTP; Thu, 09 Oct 2008 20:06:01 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Thu, 9 Oct 2008 20:06:01 -0700 (PDT) From: mdh To: freebsd-questions@FreeBSD.org In-Reply-To: <48EEA4B3.3050707@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <958963.64003.qm@web56806.mail.re3.yahoo.com> Cc: Subject: Re: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mdh_lists@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 03:06:02 -0000 --- On Thu, 10/9/08, Eitan Adler wrote: > From: Eitan Adler > Subject: Re: uptime 2 years! > To: freebsd-questions@FreeBSD.org > Date: Thursday, October 9, 2008, 8:41 PM > Lowell Gilbert wrote: > [snip] > > And in theory it should be possible to change time_t > to unsigned, and > > get another two-thirds of a century out of it... > > > However this would break binary compatibility with anything > compiled > before the change. One thing to consider is that changing any signed value to an unsigned value then prevents functions which return that type from returning -1 (or otherwise <0) to indicate an error condition. Even if it doesn't affect anything at all in the base system, it could impact untold sums of software developed not in the base system. - mdh From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 03:09:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E79A61065686 for ; Fri, 10 Oct 2008 03:09:21 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: from web56805.mail.re3.yahoo.com (web56805.mail.re3.yahoo.com [66.196.97.79]) by mx1.freebsd.org (Postfix) with SMTP id 9DDC48FC13 for ; Fri, 10 Oct 2008 03:09:21 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: (qmail 72267 invoked by uid 60001); 10 Oct 2008 03:09:20 -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:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=sJlOMjbH5t8j2x5SIkV6yeQLROlj5gbzac3P4Xbw8vQXrvm0G8z0yswzNLKxdXzRU8RojzyE5AsXO8ZJYGvSEmRX6+532EPnJ0/8woyYGk1aoYrFxmmk2s6CokMANF71j4WXH3FziqvgWhChyOZHj/XQ80dXDd6KKcSVnm9xeDI=; X-YMail-OSG: akCDVAMVM1ldPB9Nf2.D.aDcPmyUP7v6o8qn4q14p26d8Ttg9wvBNhUp5UeWLsqeug-- Received: from [71.61.220.126] by web56805.mail.re3.yahoo.com via HTTP; Thu, 09 Oct 2008 20:09:20 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Thu, 9 Oct 2008 20:09:20 -0700 (PDT) From: mdh To: freebsd-questions@freebsd.org, Grant Peel In-Reply-To: <7B4A419D26AE44F986698BB7A482DE29@GRANT> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <745970.72228.qm@web56805.mail.re3.yahoo.com> Cc: Subject: Re: Mailman + Apache + Cookies + FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mdh_lists@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 03:09:22 -0000 --- On Thu, 10/9/08, Grant Peel wrote: > From: Grant Peel > Subject: Mailman + Apache + Cookies + FreeBSD > To: freebsd-questions@freebsd.org > Date: Thursday, October 9, 2008, 5:59 PM > Hi all, > > I am not a fan of cross posting, but, I have to make a > exception in this > case as I can't seem to nail down whether its the > software or OS causing me > the problem. > > Software: Apache 2.2, Python 2.5, Mailmain 2.1.11 > OS: FreeBSD 6.2 Release #0 > > Apache and Python were built from ports, Mailman was built > from source. > > Problem: I can't stay logged into the Mailman web > interface. Each time I > submit a form, I am logged out. When I do log in, If I look > on my local > machine, I cant find a session cookie anywhere. It like is > never set. And > the Mailman documentation clearly states that none of the > changes will be > saved in that scenario. > > Question: are there any people out there who can point me > in the right > direction? I assume that Python should be setting a cookie, > but thats just a > guess ... could it be OS related? In short, no, there's really no way that the OS could be at fault unless you had some weird TCP stack bug that caused it to drop the same packet every time, which someone else would've noticed by now. ;) The long answer is that Cookies are set by headers in the HTTP protocol response, and sent back to the server in the request headers of the clients subsequent requests. Python doesn't set cookies, Apache does, but python can command Apache to do so, and Mailman can, as a python script, command python to do so. Chances are mailman is what's misconfigured. - mdh From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 03:19:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E225106568C for ; Fri, 10 Oct 2008 03:19:01 +0000 (UTC) (envelope-from alancyang@gmail.com) Received: from hs-out-0708.google.com (hs-out-0708.google.com [64.233.178.244]) by mx1.freebsd.org (Postfix) with ESMTP id 0583A8FC16 for ; Fri, 10 Oct 2008 03:19:00 +0000 (UTC) (envelope-from alancyang@gmail.com) Received: by hs-out-0708.google.com with SMTP id 54so122741hsz.11 for ; Thu, 09 Oct 2008 20:18:59 -0700 (PDT) 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=VAnPbAu/MO7XtlaPa8I22Z81stCr+b7iN7pvsSXgAuw=; b=GLL+gG5koiPLGSwe0vOOkUar1VtuDfwmLXdv5bR8SoqrdkA4oSSoZIpdJT44xc0EnJ rfOesRsOxs+ehSa+PU9R2MLWHY3FoTMrgfUDu1ci4WU3m7Xtcjm+YMk7aGAq6H/7ia+D Y4sJ2oxPlsv4IZQVgemsGi/+zr1xaKyj2D2Y8= 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=UB9HavH3lsHKp+Z8KpsfozEnDeCzS+f7Zr8yGlcCe0PVs/RoTlipt7sQiOj8n6/Yx+ R7YTxYkI+3BlMUnIS73HXF0FLm+Pj0LTq0nzwf7yr7o+lFgyT1Nxoqe8eenPTu9WRNOH 7YOMqNxG4BfAR2zgPJKBM97mN2VqLrD957weA= Received: by 10.90.98.13 with SMTP id v13mr965800agb.105.1223608739826; Thu, 09 Oct 2008 20:18:59 -0700 (PDT) Received: by 10.90.94.14 with HTTP; Thu, 9 Oct 2008 20:18:59 -0700 (PDT) Message-ID: <290865fd0810092018v59aeecc1rfc38790c0fde2f5e@mail.gmail.com> Date: Thu, 9 Oct 2008 20:18:59 -0700 From: "alan yang" To: "VANHULLEBUS Yvan" In-Reply-To: <20081009205636.GA3002@zeninc.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <290865fd0810090846y57bbdc1fs3db5c5334fe80c09@mail.gmail.com> <20081009205636.GA3002@zeninc.net> Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Subject: Re: setkey panic freebsd7 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 03:19:01 -0000 that single line of adding SA in a setkey.conf file with /sbin/setkey -f setkey.conf would fail 100% from all my try. /usr/local/sbin/setkey just tried, failed also. 'fill in PR' haven't done that before, could you please advise. thanks for looking into! On Thu, Oct 9, 2008 at 1:56 PM, VANHULLEBUS Yvan wrote: > Hi. > > > On Thu, Oct 09, 2008 at 08:46:32AM -0700, alan yang wrote: >> i wonder people ran into similar issue on setkey with freebsd7 that >> panic at ~/crypto/sha1.c:263 within sha1_result() >> digest[0] = ctxt->h.b8[3]; digest[1] = ctxt->h.b8[2]; >> >> on the following sadb add with setkey: >> add 192.168.0.101 192.168.0.110 esp-old 0x10001 -m any -E des-cbc >> "12345678" -A keyed-sha1 "12345678123456781234" >> >> thanks in advance on any hints. > > I guess most people just don't use static SAs anymore :-) > > Can you reproduce the bug ? > Are you using /sbin/setkey (provided by FreeBSD), > /usr/local/sbin/setkey (provided by ipsec-tools), or does it crash > with both ? > > > If you can reproduce it, please fill in a PR, Bjoern or I will take > it. > > Anyways, I'll have a look asap at that part of the code, to see if I > can find "something". > > Any extra information on how to reproduce the bug is welcome ! :-) > > > Yvan. > From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 03:45:04 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EE0A106569A for ; Fri, 10 Oct 2008 03:45:04 +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 93C0F8FC1B for ; Fri, 10 Oct 2008 03:45:03 +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.63) (envelope-from ) id 1Ko8vy-0001D8-1a; Fri, 10 Oct 2008 04:44:58 +0100 Received: from melon.esperance-linux.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 ESMTP id m9A3isg6016893; Fri, 10 Oct 2008 04:44:54 +0100 Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id 1F234FCA4AD; Fri, 10 Oct 2008 04:44:49 +0100 (BST) Date: Fri, 10 Oct 2008 04:44:49 +0100 From: Frank Shute To: Chad Marshall Message-ID: <20081010034449.GA4299@melon.esperance-linux.co.uk> Mail-Followup-To: Chad Marshall , freebsd-questions@freebsd.org References: <20081008223925.GB97321@melon.esperance-linux.co.uk> <2F5A85A9-3C1C-4328-9D4C-8722B3FDB2A1@ahm-inc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2F5A85A9-3C1C-4328-9D4C-8722B3FDB2A1@ahm-inc.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-RELEASE-p2 i386 X-Organisation: 'http://www.shute.org.uk/' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (zetnet.co.uk [194.247.46.1]); Fri, 10 Oct 2008 04:44:55 +0100 (BST) Cc: freebsd-questions@freebsd.org Subject: Re: uptime 2 years! 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: Fri, 10 Oct 2008 03:45:04 -0000 On Wed, Oct 08, 2008 at 06:00:38PM -0700, Chad Marshall wrote: > > No Problem, I figured that there are other systems out there with a > longer uptime. I have this server as a postfix/courier-imap/ > squirrelmail (60+ accounts and 30-40 forwards) mailserver with apache/ > php/mysql. Also use it as a slave authoritative nameserver for over > 100 zones (one zone with a 60sec TTL on a high volume production > website) as well. Plus use it as a primary nameserver for our entire > office (300+ workstations). I was lazy with it (Upgrading or > Replacing) and when it hit a year, I decided to hold off doing > anything with it as I wanted to see how long I could let it go. It's > a celeron 2.4ghz server with 512m Ram and has been a champ server in > it's performance and stability. I use CentOS for most of my other > systems and find that as easy as it is for administration and > upgrading, it lacks FreeBSD's performance. With the memory leaks that > CentOS has, I usually have to end up restarting the machine(s). With > FreeBSD I can just restart the services, and got my memory back and > reduce the amount of swap being used. I'm glad to hear that your machine is "busy" and doing useful work, the uptime I pointed to was non-Internet facing IIRC. I'm also interested to hear that CentOS "...lacks FreeBSD performance." Statistics never tell the whole story - real world usage does. Your observations will help to encourage our developers to further greater efforts! ;) When I went from RH to FreeBSD-4.3, the difference in performance as a desktop user was noticeable but that was a few years ago. > > Regardless of the first email I got back (Which was a little rude), I > will continue to run this server as long as I can and monitor the > security risks using DenyHosts and other security measures. > > Thanks, > Don't necessarily take posts on this list as rude or offensive. From my experience of reading this list, there is quite a lot of misunderstanding due to cultural/language problems or people thinking something was a slight even if none was intended by the original poster. Or somebody might be just having a bad day (it happens to all of us). This list is open to everyone & only represents the FreeBSD project in that the majority who post here use FreeBSD (from newbies to kernel hackers). Do keep on using FreeBSD & promoting it's use - no point in cutting off your nose to spite your face! Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 04:16:32 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BC191065690 for ; Fri, 10 Oct 2008 04:16:32 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 321928FC08 for ; Fri, 10 Oct 2008 04:16:32 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from laptop ([202.69.174.184]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 9 Oct 2008 21:16:16 -0700 From: "FBSD1" To: "freebsd-questions@FreeBSD. ORG" Date: Fri, 10 Oct 2008 12:16:52 +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.2900.5579 Importance: Normal X-OriginalArrivalTime: 10 Oct 2008 04:16:16.0568 (UTC) FILETIME=[F0841380:01C92A8E] X-Sender: fbsd1@a1poweruser.com Cc: Subject: Xorg/kde startup errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fbsd1@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 04:16:32 -0000 I am new user to xorg/kde. Installed xorg and kde using port system. Followed instructions in handbook for Freebsd 7.0 The following is the startx log from when I enter startx command. Have no idea what is wrong since I expected the xorg and kde port to be completely functional. Kde seems to run ok except for all the repeating warnings about missing mimetypes and the invalid Window parameter error for every screen I navigate through using KDE. Any help is welcomed Script started on Tue Oct 7 19:13:25 2008 # /root >startx xauth: creating new authority file /root/.serverauth.1236 X.Org X Server 1.4.0 Release Date: 5 September 2007 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 7.0-RELEASE i386 Current Operating System: FreeBSD 7.0-RELEASE-p4 FreeBSD 7.0-RELEASE-p4 #0: Tue Sep 2 19:32:35 UTC 2008 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 Build Date: 13 February 2008 05:50:12PM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Tue Oct 7 19:13:31 2008 (==) Using config file: "/etc/X11/xorg.conf" (II) Module "i2c" already built-in (II) Module "ddc" already built-in (II) Module "ramdac" already built-in Warning: kbuildsycoca is unable to register with DCOP. kbuildsycoca running... kbuildsycoca running... Reusing existing ksycoca kbuildsycoca: WARNING: '/usr/local/share/applications/kde/ark.desktop' specifies undefined mimetype/servicetype 'application/x-tbz2' kbuildsycoca: WARNING: '/usr/local/share/applications/kde/ark.desktop' specifies undefined mimetype/servicetype 'application/zip' kbuildsycoca: WARNING: '/usr/local/share/applications/kde/ark.desktop' specifies undefined mimetype/servicetype 'application/x-7z' kbuildsycoca: WARNING: 'ark_part.desktop' specifies undefined mimetype/servicetype 'application/x-tbz2' kbuildsycoca: WARNING: 'ark_part.desktop' specifies undefined mimetype/servicetype 'application/x-7z' kbuildsycoca: WARNING: 'karm_part.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'karm_part.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'karm_part.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: '/usr/local/share/applications/kde/kpovmodeler.desktop' specifies undefined mimetype/servicetype 'KPovModeler/Document' kbuildsycoca: WARNING: 'kfile_ooo.desktop' specifies undefined mimetype/servicetype 'application/vnd.sun.xml.writer.global' kbuildsycoca: WARNING: 'kfile_ooo.desktop' specifies undefined mimetype/servicetype 'application/vnd.sun.xml.writer.math' kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: 'kchartpart.desktop' specifies undefined mimetype/servicetype 'application/vnd.oasis.opendocument.chart-template' kbuildsycoca: WARNING: '/usr/local/share/applications/firefox.desktop' specifies undefined mimetype/servicetype 'text/mml' kbuildsycoca: WARNING: '/usr/local/share/applications/kde/kvoctrain.desktop' specifies undefined mimetype/servicetype 'application/x-kvoctrain' kbuildsycoca: WARNING: '/usr/local/share/applications/kde/kvoctrain.desktop' specifies undefined mimetype/servicetype 'text/x-kvtml' kbuildsycoca: WARNING: '.hidden/krita_magick.desktop' specifies undefined mimetype/servicetype 'image/x-xcf' kbuildsycoca: WARNING: 'kcertpart.desktop' specifies undefined mimetype/servicetype 'application/binary-certificate' kbuildsycoca: WARNING: '/usr/local/share/applications/kde/kmid.desktop' specifies undefined mimetype/servicetype 'audio/midi' kbuildsycoca: WARNING: 'kformulapart.desktop' specifies undefined mimetype/servicetype 'application/vnd.oasis.opendocument.formula-template' kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: 'knotify.desktop' specifies undefined mimetype/servicetype 'KNotify' kbuildsycoca: WARNING: 'ksvgplugin.desktop' specifies undefined mimetype/servicetype 'image/svg' kbuildsycoca: WARNING: '/usr/local/share/applications/kde/kexi.desktop' specifies undefined mimetype/servicetype 'application/x-kexiproject-sqlite' startkde: Starting up... kdeinit: Shutting down running client. kbuildsycoca running... X Error: BadValue (integer parameter out of range for operation) 2 Major opcode: 116 Minor opcode: 0 Resource id: 0x5 >> running as realtime process now (priority 15) kbuildsycoca running... Reusing existing ksycoca ICE default IO error handler doing an exit(), pid = 1291, errno = 0 /x-kexiproject-sqlite' X Error: BadWindow (invalid Window parameter) 3 Major opcode: 19 Minor opcode: 0 Resource id: 0x800005 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 7 Minor opcode: 0 Resource id: 0x1c00005 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 6 Minor opcode: 0 Resource id: 0x1c00005 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 7 Minor opcode: 0 Resource id: 0x600007 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 6 Minor opcode: 0 Resource id: 0x600007 startkde: Shutting down... klauncher: Exiting on signal 1 startkde: Running shutdown scripts... startkde: Done. waiting for X server to shut down FreeFontPath: FPE "/usr/local/lib/X11/fonts/misc/" refcount is 3, should be 2; fixing. # /root >exit exit Script done on Tue Oct 7 19:14:29 2008 From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 04:18:24 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A4FA1065696 for ; Fri, 10 Oct 2008 04:18:24 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA04.westchester.pa.mail.comcast.net (qmta04.westchester.pa.mail.comcast.net [76.96.62.40]) by mx1.freebsd.org (Postfix) with ESMTP id A361B8FC1D for ; Fri, 10 Oct 2008 04:18:23 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA01.westchester.pa.mail.comcast.net ([76.96.62.11]) by QMTA04.westchester.pa.mail.comcast.net with comcast id Qokh1a0340EZKEL54sJNzq; Fri, 10 Oct 2008 04:18:22 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA01.westchester.pa.mail.comcast.net with comcast id QsJM1a00B2P6wsM3MsJNxu; Fri, 10 Oct 2008 04:18:22 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=WYZ32dehf-ZLzgOltb8A:9 a=0iocTeN0djnAX_QmVh0YEcTqtV0A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 69BC6C9419; Thu, 9 Oct 2008 21:18:21 -0700 (PDT) Date: Thu, 9 Oct 2008 21:18:21 -0700 From: Jeremy Chadwick To: Walter Venable Message-ID: <20081010041821.GA22243@icarus.home.lan> References: <8dfae1c10810090938k471f82f0j46caed0514e5b5ac@mail.gmail.com> <20081009164424.GA9081@icarus.home.lan> <48EE77ED.1080306@relnor.com> <48EE7D9E.9060806@relnor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <48EE7D9E.9060806@relnor.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Portsnap causes system to reboot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 04:18:24 -0000 On Fri, Oct 10, 2008 at 12:54:38AM +0300, Walter Venable wrote: > >> I found this: $ cat /var/crash/ >> ..minfreboundsçinfo.0ç >> >> vmcore.0zinfo.vmcore.1zinfo.vmcore.2zinfo.vmcore.3zinfo.vmcore.4zinfo.vmcore.5zinfo.vmcore.6zinfo.7vmcore.7zÀ >> >> >> Any idea what that means? > Yes, I'm tired, and I did cat on a directory. I found this in vmcore.7: > > <118>Checking for core dump on /dev/ad4s1b... > <118>savecore: reboot after panic: ffs_clusteralloc: map mismatch > <118>Oct 9 11:16:26 freebsd savecore: reboot after panic: > ffs_clusteralloc: map mismatch > <118>savecore: writing core to vmcore.6 Please reboot your machine into single-user mode, and run "fsck -y". I'm betting there's some filesystem corruption. -- | 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 Fri Oct 10 06:45:38 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0204106568E for ; Fri, 10 Oct 2008 06:45:38 +0000 (UTC) (envelope-from odhiambo@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 606A98FC2D for ; Fri, 10 Oct 2008 06:45:38 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by wa-out-1112.google.com with SMTP id n4so206308wag.27 for ; Thu, 09 Oct 2008 23:45:38 -0700 (PDT) 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=qAUy82Xj3MUOdqgazpPrLxo1gpYDswNKOIzNJIuQoEc=; b=m69gk1oQo84QVrEEAsVosv0A3XlLQKrZEyVZpsSXA44bAhzMCkd++Osxr4acw44qsn Z6zCahQrPOkeEka7yr4EeSCgWIuw1bu4ne4W2oJyQopJbOvr09mVd5M3TKpOGF0+w4qL jk5cmpp5ZSSBfDGZK4+ixFLxK2R/VB+/gzz1s= 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=T4VczameyV8wi5mQvwjx0oQVnkDwepVMt6/WhMRQZayTOKcYKnl7DaeREcgp0tx6wY 6AAYQi6SC/llBsC8rpbZUWjaj4WxCN21pU2M/49vtRKHVK823u/7hMybOfkywAxyTM+9 id9AjtYvW7YPA0R60iUl+z7nDqmY2FHdWijBw= Received: by 10.114.24.5 with SMTP id 5mr1305293wax.160.1223621138038; Thu, 09 Oct 2008 23:45:38 -0700 (PDT) Received: by 10.114.120.9 with HTTP; Thu, 9 Oct 2008 23:45:38 -0700 (PDT) Message-ID: <991123400810092345w7b9300ecofb20cbd5bab04e95@mail.gmail.com> Date: Fri, 10 Oct 2008 09:45:38 +0300 From: "Odhiambo Washington" To: "Grant Peel" In-Reply-To: <7B4A419D26AE44F986698BB7A482DE29@GRANT> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7B4A419D26AE44F986698BB7A482DE29@GRANT> Cc: freebsd-questions@freebsd.org Subject: Re: Mailman + Apache + Cookies + FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 06:45:38 -0000 On Fri, Oct 10, 2008 at 12:59 AM, Grant Peel wrote: > Hi all, > > I am not a fan of cross posting, but, I have to make a exception in this > case as I can't seem to nail down whether its the software or OS causing me > the problem. > > Software: Apache 2.2, Python 2.5, Mailmain 2.1.11 > OS: FreeBSD 6.2 Release #0 > > Apache and Python were built from ports, Mailman was built from source. > > Problem: I can't stay logged into the Mailman web interface. Each time I > submit a form, I am logged out. When I do log in, If I look on my local > machine, I cant find a session cookie anywhere. It like is never set. And > the Mailman documentation clearly states that none of the changes will be > saved in that scenario. > > Question: are there any people out there who can point me in the right > direction? I assume that Python should be setting a cookie, but thats just a > guess ... could it be OS related? Could you downgrade Mailman and see if the problem still persists? I run the combination you have (except Mailman is 2.1.9 and FreeBSD is 6.3) and I haven't had an issue. Might be a bug introduced in Mailman 2.1.11 -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Oh My God! They killed init! You Bastards!" --from a /. post From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 07:11:00 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B8581065688 for ; Fri, 10 Oct 2008 07:11:00 +0000 (UTC) (envelope-from smohideen@mx2.labs.rootshell.ws) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.186]) by mx1.freebsd.org (Postfix) with ESMTP id D62E48FC1F for ; Fri, 10 Oct 2008 07:10:59 +0000 (UTC) (envelope-from smohideen@mx2.labs.rootshell.ws) Received: by ti-out-0910.google.com with SMTP id d27so186619tid.3 for ; Fri, 10 Oct 2008 00:10:58 -0700 (PDT) Received: by 10.110.33.15 with SMTP id g15mr1000140tig.38.1223621408417; Thu, 09 Oct 2008 23:50:08 -0700 (PDT) Received: from localhost ([59.180.159.63]) by mx.google.com with ESMTPS id y3sm2095973tia.6.2008.10.09.23.50.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 09 Oct 2008 23:50:06 -0700 (PDT) Date: Fri, 10 Oct 2008 17:56:13 +0530 From: Shakul M Hameed To: Drew Tomlinson Message-ID: <20081010122613.GA1864@freebsdbox> References: <48EE6046.8020906@mykitchentable.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48EE6046.8020906@mykitchentable.net> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: How To Get libm.so.4? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 07:11:00 -0000 check for libm.so.5 in /lib. do a softlink of libm.so.4 pointing to libm.so.5 I guess this should fix your issue. - moin On Thu, Oct 09, 2008 at 12:49:26PM -0700, Drew Tomlinson wrote: > I am attempting to install a web analysis tool named "Urchin" from > Google. Installation instructions are here: > > https://secure.urchin.com/helpwiki/en/Urchin_Installation_Guide_(FreeBSD_and_Linux) > > Urchin claims to run on FBSD 6.2+ which I took to mean version 6.2 or > greater. Since this is a brand new install, I installed FBSD > 7.1-PRERELEASE, assuming the actual release would not be too far off. > > I'm following the install procedures which has me run a ./install.sh > script. This script fails, complaining about a missing libm.so.4. I've > Googled and found some reference that this has to do with installing > compatibility libraries for FBSD 4. Thus I've added "COMPAT4X= yes" and > rebuilt and installed my world. However I still do not have this file. > > What do I need to do? > > Thanks, > > Drew > > -- > Be a Great Magician! > Visit The Alchemist's Warehouse > > http://www.alchemistswarehouse.com > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 07:12:57 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEE9F106569A for ; Fri, 10 Oct 2008 07:12:57 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) 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 9C6DE8FC25 for ; Fri, 10 Oct 2008 07:12:57 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA08.westchester.pa.mail.comcast.net ([76.96.62.12]) by QMTA08.westchester.pa.mail.comcast.net with comcast id Quxv1a0040Fqzac58vCwYo; Fri, 10 Oct 2008 07:12:56 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA08.westchester.pa.mail.comcast.net with comcast id QvCv1a0082P6wsM3UvCwDv; Fri, 10 Oct 2008 07:12:56 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=VLWOdj65Xk2x7CWqUe8A:9 a=lM4TOfp_YCVKC3lX-sELuZOxT7kA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 6D005C9419; Fri, 10 Oct 2008 00:12:55 -0700 (PDT) Date: Fri, 10 Oct 2008 00:12:55 -0700 From: Jeremy Chadwick To: Shakul M Hameed Message-ID: <20081010071255.GA25451@icarus.home.lan> References: <48EE6046.8020906@mykitchentable.net> <20081010122613.GA1864@freebsdbox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081010122613.GA1864@freebsdbox> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Drew Tomlinson , freebsd-questions@freebsd.org Subject: Re: How To Get libm.so.4? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 07:12:58 -0000 On Fri, Oct 10, 2008 at 05:56:13PM +0530, Shakul M Hameed wrote: > check for libm.so.5 in /lib. > do a softlink of libm.so.4 pointing to libm.so.5 > I guess this should fix your issue. **DO NOT** do this. -- | 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 Fri Oct 10 07:26:08 2008 Return-Path: Delivered-To: FreeBSD-Questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8064E106568B for ; Fri, 10 Oct 2008 07:26:08 +0000 (UTC) (envelope-from bernt@bah.homeip.net) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) by mx1.freebsd.org (Postfix) with ESMTP id CA9D48FC14 for ; Fri, 10 Oct 2008 07:26:06 +0000 (UTC) (envelope-from bernt@bah.homeip.net) Received: from [80.217.107.37] (c80-217-107-37.bredband.comhem.se [80.217.107.37]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id m9A7Pnf5012029; Fri, 10 Oct 2008 09:25:53 +0200 (CEST) (envelope-from bernt@bah.homeip.net) Message-ID: <48EF0377.1060904@bah.homeip.net> Date: Fri, 10 Oct 2008 09:25:43 +0200 From: Bernt Hansson User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Zbigniew Szalbot References: <20081008223925.GB97321@melon.esperance-linux.co.uk> <2F5A85A9-3C1C-4328-9D4C-8722B3FDB2A1@ahm-inc.com> <28283d910810081851h7ab99b5y94b68f04b2a956e7@mail.gmail.com> <74E268D6-92EB-415F-8A28-86909F2F8B56@ahm-inc.com> <20081009143515.GA41174@Grumpy.DynDNS.org> <48EE3540.5010407@radel.com> <94136a2c0810090951j4638ac08y5a051f0c7468458b@mail.gmail.com> In-Reply-To: <94136a2c0810090951j4638ac08y5a051f0c7468458b@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD-Questions@freebsd.org, Chad Marshall , Jon Radel Subject: Re: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 07:26:08 -0000 Zbigniew Szalbot: > 2008/10/9 Jon Radel: >> Dear Mr. Marshall: >> >> I'm terribly sorry that our representatives in charge of answering emails >> have been rude to you. I've just fired the lot of them, particularly as we >> can't afford to keep then on anymore seeing as how your generous donations >> are now in jeopardy. > > How is that supposed to be helpful? Ironi is helpful. And funny. From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 07:34:18 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1166106569C for ; Fri, 10 Oct 2008 07:34:18 +0000 (UTC) (envelope-from smohideen@mx2.labs.rootshell.ws) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.187]) by mx1.freebsd.org (Postfix) with ESMTP id 357658FC17 for ; Fri, 10 Oct 2008 07:34:17 +0000 (UTC) (envelope-from smohideen@mx2.labs.rootshell.ws) Received: by ti-out-0910.google.com with SMTP id d27so193327tid.3 for ; Fri, 10 Oct 2008 00:34:16 -0700 (PDT) Received: by 10.110.11.7 with SMTP id 7mr1070048tik.23.1223624056312; Fri, 10 Oct 2008 00:34:16 -0700 (PDT) Received: from localhost ([59.180.159.63]) by mx.google.com with ESMTPS id i6sm2149835tid.5.2008.10.10.00.34.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 10 Oct 2008 00:34:15 -0700 (PDT) Date: Fri, 10 Oct 2008 18:40:22 +0530 From: Shakul M Hameed To: Jeremy Chadwick Message-ID: <20081010131021.GB1917@freebsdbox> References: <48EE6046.8020906@mykitchentable.net> <20081010122613.GA1864@freebsdbox> <20081010071255.GA25451@icarus.home.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081010071255.GA25451@icarus.home.lan> User-Agent: Mutt/1.4.2.3i Cc: Drew Tomlinson , freebsd-questions@freebsd.org Subject: Re: How To Get libm.so.4? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 07:34:18 -0000 I think its not a very bad idea, unless your app is dependent on a routine which is deprecated and not avaiable in the latest version of library. For testing purpose this should be ok. - moin On Fri, Oct 10, 2008 at 12:12:55AM -0700, Jeremy Chadwick wrote: > On Fri, Oct 10, 2008 at 05:56:13PM +0530, Shakul M Hameed wrote: > > check for libm.so.5 in /lib. > > do a softlink of libm.so.4 pointing to libm.so.5 > > I guess this should fix your issue. > > **DO NOT** do this. > > -- > | 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 Fri Oct 10 07:40:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CDA831065688 for ; Fri, 10 Oct 2008 07:40:49 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA04.emeryville.ca.mail.comcast.net (qmta04.emeryville.ca.mail.comcast.net [76.96.30.40]) by mx1.freebsd.org (Postfix) with ESMTP id 9E23E8FC14 for ; Fri, 10 Oct 2008 07:40:49 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA06.emeryville.ca.mail.comcast.net ([76.96.30.51]) by QMTA04.emeryville.ca.mail.comcast.net with comcast id Qvfa1a00116AWCUA4vgoqi; Fri, 10 Oct 2008 07:40:48 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA06.emeryville.ca.mail.comcast.net with comcast id Qvgm1a0042P6wsM8SvgnvH; Fri, 10 Oct 2008 07:40:47 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=hIHTa34WadXYOprG2Y4A:9 a=OorPXaMJjxEBtsc4ICgA:7 a=IKgo_Wv3G1MX7qSPixZc3KW1wHsA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id D3096C9419; Fri, 10 Oct 2008 00:40:46 -0700 (PDT) Date: Fri, 10 Oct 2008 00:40:46 -0700 From: Jeremy Chadwick To: Shakul M Hameed Message-ID: <20081010074046.GA25922@icarus.home.lan> References: <48EE6046.8020906@mykitchentable.net> <20081010122613.GA1864@freebsdbox> <20081010071255.GA25451@icarus.home.lan> <20081010131021.GB1917@freebsdbox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081010131021.GB1917@freebsdbox> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Drew Tomlinson , freebsd-questions@freebsd.org Subject: Re: How To Get libm.so.4? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 07:40:49 -0000 On Fri, Oct 10, 2008 at 06:40:22PM +0530, Shakul M Hameed wrote: > I think its not a very bad idea, unless your app is dependent on a routine which is deprecated and > not avaiable in the latest version of library. For testing purpose this should be ok. I disagree. It _is_ a bad idea. There is absolutely *no* guarantee that symbols will be identical between two revisions of a shared library, especially across a major revision. I'm not talking about missing symbols detected during run-time either; I'm talking about internal changes that could affect the operation of a program which relies on certain behaviour of functions in that library, which has changed in a newer version (yet kept the same function/calling semantics). And let's not forget about shared libraries that are linked to other shared libraries, resulting in a dependency tree of madness, where you'll suddenly find yourself making symlinks all over the place. (You should use libmap.conf for this purpose anyway). So like I said -- it IS a bad idea. Please do not do it. -- | 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 Fri Oct 10 07:49:54 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FDB4106568B for ; Fri, 10 Oct 2008 07:49:54 +0000 (UTC) (envelope-from smohideen@mx2.labs.rootshell.ws) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.187]) by mx1.freebsd.org (Postfix) with ESMTP id A6D808FC13 for ; Fri, 10 Oct 2008 07:49:53 +0000 (UTC) (envelope-from smohideen@mx2.labs.rootshell.ws) Received: by ti-out-0910.google.com with SMTP id d27so197699tid.3 for ; Fri, 10 Oct 2008 00:49:52 -0700 (PDT) Received: by 10.110.49.2 with SMTP id w2mr1062984tiw.48.1223624992023; Fri, 10 Oct 2008 00:49:52 -0700 (PDT) Received: from localhost ([59.180.159.63]) by mx.google.com with ESMTPS id 2sm2191166tif.0.2008.10.10.00.49.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 10 Oct 2008 00:49:50 -0700 (PDT) Date: Fri, 10 Oct 2008 18:55:57 +0530 From: Shakul M Hameed To: Jeremy Chadwick Message-ID: <20081010132556.GC1917@freebsdbox> References: <48EE6046.8020906@mykitchentable.net> <20081010122613.GA1864@freebsdbox> <20081010071255.GA25451@icarus.home.lan> <20081010131021.GB1917@freebsdbox> <20081010074046.GA25922@icarus.home.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081010074046.GA25922@icarus.home.lan> User-Agent: Mutt/1.4.2.3i Cc: Drew Tomlinson , freebsd-questions@freebsd.org Subject: Re: How To Get libm.so.4? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 07:49:54 -0000 Thanks, Jeremy. For letting me know the dis-advantages softlinking in long run. On Fri, Oct 10, 2008 at 12:40:46AM -0700, Jeremy Chadwick wrote: > On Fri, Oct 10, 2008 at 06:40:22PM +0530, Shakul M Hameed wrote: > > I think its not a very bad idea, unless your app is dependent on a routine which is deprecated and > > not avaiable in the latest version of library. For testing purpose this should be ok. > > I disagree. It _is_ a bad idea. > > There is absolutely *no* guarantee that symbols will be identical > between two revisions of a shared library, especially across a > major revision. I'm not talking about missing symbols detected during > run-time either; I'm talking about internal changes that could affect > the operation of a program which relies on certain behaviour of > functions in that library, which has changed in a newer version (yet > kept the same function/calling semantics). > > And let's not forget about shared libraries that are linked to other > shared libraries, resulting in a dependency tree of madness, where > you'll suddenly find yourself making symlinks all over the place. (You > should use libmap.conf for this purpose anyway). > > So like I said -- it IS a bad idea. Please do not do it. > > -- > | 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 Fri Oct 10 08:25:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFB891065689 for ; Fri, 10 Oct 2008 08:25:08 +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 994FD8FC12 for ; Fri, 10 Oct 2008 08:25:08 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from TEDSDSK (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 m9A8P3aW053951; Fri, 10 Oct 2008 01:25:04 -0700 (PDT) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "Odhiambo Washington" , "User Questions" Date: Fri, 10 Oct 2008 01:26:44 -0700 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.1933 In-Reply-To: <991123400810090956o1b79626l41d0cb851c41f59c@mail.gmail.com> Importance: Normal X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (mail.freebsd-corp-net-guide.com [65.75.192.90]); Fri, 10 Oct 2008 01:25:05 -0700 (PDT) Cc: Chad Marshall Subject: RE: uptime 2 years! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 08:25:09 -0000 Odhiambo, you hit the nail on the head. Glad to see you caught on. Chad, please google up the definition of "passive-agressive" behavior and look at yourself in a mirror. If you don't get it, reread the definition and look in the mirror again. And in the future, please don't engage in it. You don't want to become known for this. As for the rest of you, this is a classic Bikeshed discussion. I'm amazed that so many people fell for it. I guess the collapse of the US financial system has put a crimp on your spending on new computers and your all bored of your old hardware. Chad's post was worth a read. It wasn't worth a response, espically escalated to the rediculousness that some have been. Did anyone bother to think that any admin with 2 years uptime on a system probably has some decent coin into the environment (think, UPS power here) and more like as not knows what they are doing? Chances that your going to get 2 years of uptime on a system plugged into a consumer-grade UPS in a private residence are lower than the chances that Jamie Lynn Spears is going to be offered the job of spokesperson for the National Abstinence Education Association. It has nothing to do with how the server is configured and everything to do with the environment the server is in. Ted > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Odhiambo > Washington > Sent: Thursday, October 09, 2008 9:56 AM > To: User Questions > Cc: Chad Marshall; Jon Radel > Subject: Re: uptime 2 years! > > > On Thu, Oct 9, 2008 at 7:51 PM, Zbigniew Szalbot > wrote: > > 2008/10/9 Jon Radel: > >> > >> Dear Mr. Marshall: > >> > >> I'm terribly sorry that our representatives in charge of > answering emails > >> have been rude to you. I've just fired the lot of them, > particularly as we > >> can't afford to keep then on anymore seeing as how your > generous donations > >> are now in jeopardy. > > > > How is that supposed to be helpful? > > > >> I will ask, however, that in the future you constrain your e-mail to > >> freebsd-questions to either questions or answers to them, so as to not > >> inflame our more excitable representatives once we hire a new, > much reduced, > >> batch of them. > > > > Can you follow your own advice? > > > > -- > > Zbigniew Szalbot > > I love the direction this thread has taken. First, humorous, then it > will turn into flames. I bet all my US$:-) > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254733744121/+254722743223 > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > "Oh My God! They killed init! You Bastards!" > --from a /. post > _______________________________________________ > 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 Oct 10 08:40:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3040106569B for ; Fri, 10 Oct 2008 08:40:09 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from viefep16-int.chello.at (viefep18-int.chello.at [213.46.255.22]) by mx1.freebsd.org (Postfix) with ESMTP id 254778FC34 for ; Fri, 10 Oct 2008 08:40:08 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from edge02.upc.biz ([192.168.13.237]) by viefep16-int.chello.at (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20081010084007.XHHI1829.viefep16-int.chello.at@edge02.upc.biz>; Fri, 10 Oct 2008 10:40:07 +0200 Received: from [192.168.2.175] ([89.134.231.52]) by edge02.upc.biz with edge id Qwg31a02918VCLh02wg48p; Fri, 10 Oct 2008 10:40:07 +0200 X-SourceIP: 89.134.231.52 Message-ID: <48EF14E1.9080808@shopzeus.com> Date: Fri, 10 Oct 2008 10:40:01 +0200 From: Laszlo Nagy User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Subject: 7.1 hangs, shutdown terminated X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 08:40:10 -0000 Hi, A computer hangs every day in the morning at a specific time, between 8 AM and 9 AM. We can ping it. Apparently the console works, also gdm works on it, but we are not able to login at all. ssh accepts connections, but the authentication does not continue (e.g. ssh client waits for the server forever...) I even cannot login on the console as "root" because it accepts the user name, but does not ask for the password! Pressing Ctrl+Alt+Del on the console waits for about one or two minutes, then I see this on the screen: http://www.imghype.com/viewer.php?imgdata=9d95ee9d1fstrange_shutdown.jpg Here is /var/log/messages just before the crash: Oct 10 01:52:47 shopzeus postgres[81114]: [5-1] WARNING: nonstandard use of escape in a string literal at character 193 Oct 10 01:52:47 shopzeus postgres[81114]: [5-2] HINT: Use the escape string syntax for escapes, e.g., E'\r\n'. Oct 10 01:57:11 shopzeus postgres[84132]: [5-1] WARNING: nonstandard use of escape in a string literal at character 188 Oct 10 01:57:11 shopzeus postgres[84132]: [5-2] HINT: Use the escape string syntax for escapes, e.g., E'\r\n'. Oct 10 02:00:01 shopzeus postfix/postfix-script[86167]: fatal: the Postfix mail system is already running Oct 10 02:30:00 shopzeus postfix/postfix-script[7240]: fatal: the Postfix mail system is already running Oct 10 03:00:00 shopzeus postfix/postfix-script[27437]: fatal: the Postfix mail system is already running Oct 10 04:07:54 shopzeus rc.shutdown: 30 second watchdog timeout expired. Shutdown terminated. Oct 10 04:09:16 shopzeus postgres[30455]: [5-1] FATAL: terminating connection due to administrator command Oct 10 04:09:17 shopzeus syslogd: exiting on signal 15 Oct 10 04:11:31 shopzeus syslogd: kernel boot file is /boot/kernel/kernel Oct 10 04:11:31 shopzeus kernel: Copyright (c) 1992-2008 The FreeBSD Project. Oct 10 04:11:31 shopzeus kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 After rebooting the machine, nothing happens until the next day. Here are some possible problems I can think of: #1. We are using gjournal. It might be that the journal size is too small. Although I do not think this is the case, because we have 40GB journal space for each journaled partition below (except for /home, it has 10GB only, but /home is rarely used) Filesystem 1G-blocks Used Avail Capacity Mounted on /dev/da0s1a 9 1 7 14% / devfs 0 0 0 100% /dev /dev/da0s1f.journal 140 12 117 9% /home /dev/da0s2d.journal 106 8 89 8% /pgdata0 /dev/da0s1d 29 0 26 0% /tmp /dev/da0s2e.journal 585 74 464 14% /usr /dev/da0s1e.journal 145 17 116 13% /var /dev/da1s1d.journal 416 0 383 0% /data Is it possible that gjournal is hanging up the machine? #2. Yesterday when I logged in in the morning, I saw a process running under root, it was something like " find / -sx ..." and then something. I don't remember but it was scanning the whole filesystem. It was using 100% cpu and 100% disk I/O. I wonder if that might be freezing the computer. I do not know how to disable this maintenance process but I should. After killing this process, the system worked fine. (We have zillions of files on the disks, running "find / ..." is a bad idea.) #3. In the screenshot above, you can see that the IMAP server "dovecot" was terminated on signal 11. Can it be the problem? I can't believe that dovecot could freeze the whole system. #4. Hardware error. I don't think this is the case since the computer freezes at the same time, every day, so it is more likely a software problem. Any thoughts what is causing this? uname -a: FreeBSD shopzeus.com 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #3: Mon Oct 6 07:50:31 EDT 2008 gandalf@shopzeus.com:/usr/obj/usr/src/sys/SHOPZEUS amd64 Thank you, Laszlo From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 08:50:46 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F70A106568A for ; Fri, 10 Oct 2008 08:50:46 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA09.westchester.pa.mail.comcast.net (qmta09.westchester.pa.mail.comcast.net [76.96.62.96]) by mx1.freebsd.org (Postfix) with ESMTP id 03CC08FC17 for ; Fri, 10 Oct 2008 08:50:45 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA01.westchester.pa.mail.comcast.net ([76.96.62.11]) by QMTA09.westchester.pa.mail.comcast.net with comcast id QwlL1a0060EZKEL59wqkcC; Fri, 10 Oct 2008 08:50:44 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA01.westchester.pa.mail.comcast.net with comcast id Qwqi1a0082P6wsM3Mwqjp2; Fri, 10 Oct 2008 08:50:44 +0000 X-Authority-Analysis: v=1.0 c=1 a=73ACLGEZAAAA:8 a=QycZ5dHgAAAA:8 a=saOvzx4EE0GsfY6jJh0A:9 a=j3ZJht_5v7aUNIz-7OYA:7 a=Q2nobyVd9sZ6-8iu1HYZ--LNkcQA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id B1ECAC9419; Fri, 10 Oct 2008 01:50:42 -0700 (PDT) Date: Fri, 10 Oct 2008 01:50:42 -0700 From: Jeremy Chadwick To: Laszlo Nagy Message-ID: <20081010085042.GA27290@icarus.home.lan> References: <48EF14E1.9080808@shopzeus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48EF14E1.9080808@shopzeus.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: 7.1 hangs, shutdown terminated X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 08:50:46 -0000 On Fri, Oct 10, 2008 at 10:40:01AM +0200, Laszlo Nagy wrote: > Hi, > > A computer hangs every day in the morning at a specific time, between 8 > AM and 9 AM. We can ping it. Apparently the console works, also gdm > works on it, but we are not able to login at all. ssh accepts > connections, but the authentication does not continue (e.g. ssh client > waits for the server forever...) > > I even cannot login on the console as "root" because it accepts the user > name, but does not ask for the password! > > Pressing Ctrl+Alt+Del on the console waits for about one or two minutes, > then I see this on the screen: > > http://www.imghype.com/viewer.php?imgdata=9d95ee9d1fstrange_shutdown.jpg > > Here is /var/log/messages just before the crash: > > Oct 10 01:52:47 shopzeus postgres[81114]: [5-1] WARNING: nonstandard > use of escape in a string literal at character 193 > Oct 10 01:52:47 shopzeus postgres[81114]: [5-2] HINT: Use the escape > string syntax for escapes, e.g., E'\r\n'. > Oct 10 01:57:11 shopzeus postgres[84132]: [5-1] WARNING: nonstandard > use of escape in a string literal at character 188 > Oct 10 01:57:11 shopzeus postgres[84132]: [5-2] HINT: Use the escape > string syntax for escapes, e.g., E'\r\n'. > Oct 10 02:00:01 shopzeus postfix/postfix-script[86167]: fatal: the > Postfix mail system is already running > Oct 10 02:30:00 shopzeus postfix/postfix-script[7240]: fatal: the > Postfix mail system is already running > Oct 10 03:00:00 shopzeus postfix/postfix-script[27437]: fatal: the > Postfix mail system is already running > Oct 10 04:07:54 shopzeus rc.shutdown: 30 second watchdog timeout > expired. Shutdown terminated. > Oct 10 04:09:16 shopzeus postgres[30455]: [5-1] FATAL: terminating > connection due to administrator command > Oct 10 04:09:17 shopzeus syslogd: exiting on signal 15 > Oct 10 04:11:31 shopzeus syslogd: kernel boot file is /boot/kernel/kernel > Oct 10 04:11:31 shopzeus kernel: Copyright (c) 1992-2008 The FreeBSD > Project. > Oct 10 04:11:31 shopzeus kernel: Copyright (c) 1979, 1980, 1983, 1986, > 1988, 1989, 1991, 1992, 1993, 1994 > > After rebooting the machine, nothing happens until the next day. Here > are some possible problems I can think of: > > #1. We are using gjournal. It might be that the journal size is too > small. Although I do not think this is the case, because we have 40GB > journal space for each journaled partition below (except for /home, it > has 10GB only, but /home is rarely used) > > Filesystem 1G-blocks Used Avail Capacity Mounted on > /dev/da0s1a 9 1 7 14% / > devfs 0 0 0 100% /dev > /dev/da0s1f.journal 140 12 117 9% /home > /dev/da0s2d.journal 106 8 89 8% /pgdata0 > /dev/da0s1d 29 0 26 0% /tmp > /dev/da0s2e.journal 585 74 464 14% /usr > /dev/da0s1e.journal 145 17 116 13% /var > /dev/da1s1d.journal 416 0 383 0% /data > > Is it possible that gjournal is hanging up the machine? > > #2. Yesterday when I logged in in the morning, I saw a process running > under root, it was something like " find / -sx ..." and then something. > I don't remember but it was scanning the whole filesystem. It was using > 100% cpu and 100% disk I/O. I wonder if that might be freezing the > computer. I do not know how to disable this maintenance process but I > should. After killing this process, the system worked fine. (We have > zillions of files on the disks, running "find / ..." is a bad idea.) This could be a periodic job (since you said this happens daily) which runs early in the morning (2-3am?) and for some reason isn't finishing in a timely manner. You haven't provided any actual ps -auxwwwwwww data, so we can't easily discern if it's a periodic job or something amiss on your system (for all we know the system could be compromised). I'm also curious what controller your SCSI disks are attached to. Can you provide that information? dmesg would be useful. I remember hearing some reports about 3Ware controllers locking up due to firmware problems which were later fixed via a f/w upgrade. > #3. In the screenshot above, you can see that the IMAP server "dovecot" > was terminated on signal 11. Can it be the problem? I can't believe that > dovecot could freeze the whole system. > > #4. Hardware error. I don't think this is the case since the computer > freezes at the same time, every day, so it is more likely a software > problem. My vote is on a hardware problem. The watchdog timeout you see indicates a portion of the system is locking up hard. The sig 11 would indicate a sudden segfault, which if unexpected, often indicates bad memory or motherboard. I would recommend you start down the hardware path. Replace the RAM and the mainboard, and see what happens. -- | 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 Fri Oct 10 08:51:37 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06EB710656A4 for ; Fri, 10 Oct 2008 08:51:37 +0000 (UTC) (envelope-from Johan@double-l.nl) Received: from smtp-vbr5.xs4all.nl (smtp-vbr5.xs4all.nl [194.109.24.25]) by mx1.freebsd.org (Postfix) with ESMTP id 7EFD58FC2C for ; Fri, 10 Oct 2008 08:51:36 +0000 (UTC) (envelope-from Johan@double-l.nl) Received: from w2003s01.double-l.local (double-l.xs4all.nl [80.126.205.144]) by smtp-vbr5.xs4all.nl (8.13.8/8.13.8) with ESMTP id m9A8pXSl049575; Fri, 10 Oct 2008 10:51:34 +0200 (CEST) (envelope-from Johan@double-l.nl) MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: quoted-printable Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Fri, 10 Oct 2008 10:51:33 +0200 Message-ID: <57200BF94E69E54880C9BB1AF714BBCB5DE18C@w2003s01.double-l.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 7.1 hangs, shutdown terminated Thread-Index: AckqtEgqOh2+e2E6SFyJbKnDiZ5rWQAAGYfg References: <48EF14E1.9080808@shopzeus.com> From: "Johan Hendriks" To: "Laszlo Nagy" X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: RE: 7.1 hangs, shutdown terminated X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 08:51:37 -0000 If find / -sx is running and is consuming all CPU, what is the value of = vfs.ufs.dirhash_mem:=20 # sysctl -a | grep dirhash Make sure vfs.ufs.dirhash_mem: is not close to vfs.ufs.dirhash_maxmem: Regards, Johan Hendriks Double -L Automatisering No virus found in this outgoing message. Checked by AVG - http://www.avg.com=20 Version: 8.0.173 / Virus Database: 270.8.0/1717 - Release Date: = 9-10-2008 16:56 From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 08:51:37 2008 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 EDE481065695 for ; Fri, 10 Oct 2008 08:51:37 +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 A9DA08FC29 for ; Fri, 10 Oct 2008 08:51:37 +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.63) (envelope-from ) id 1KoDN9-0002Gb-JM; Fri, 10 Oct 2008 09:29:19 +0100 Received: from melon.esperance-linux.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 ESMTP id m9A8TIgi017761; Fri, 10 Oct 2008 09:29:18 +0100 Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id 48244FCA4B0; Fri, 10 Oct 2008 09:29:13 +0100 (BST) Date: Fri, 10 Oct 2008 09:29:13 +0100 From: Frank Shute To: borish@gmx.de Message-ID: <20081010082913.GA5040@melon.esperance-linux.co.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i 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-RELEASE-p2 i386 X-Organisation: 'http://www.shute.org.uk/' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (zetnet.co.uk [194.247.46.1]); Fri, 10 Oct 2008 09:29:19 +0100 (BST) Cc: questions@freebsd.org Subject: Re: Sysinstall 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: Fri, 10 Oct 2008 08:51:38 -0000 On Thu, Oct 09, 2008 at 08:32:50PM +0200, borish@gmx.de wrote: > > Hi, > > I have the following prblem with sysinstall: when I run sysinstall inside > an xterm I find it very difficult to read the yellow font on the gray > background, which appears very light on my laptop LCD and also on an Eizo > LCD. Strangely, the gray is much darker if I run sysinstall from the > console outside X. Is there a way to make the gray darker when sysinstall > is run inside an xterm? > > I'm running fbsd 7. > > Best regards, > Boris Put this mapping in ~/.Xdefaults: XTerm*VT100*translations: #override \ F6 : set-reverse-video(toggle) Then: $ xrdb -load $HOME/.Xdefaults Then press F6 to get a clearer sysinstall. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 08:58:12 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 895B71065699 for ; Fri, 10 Oct 2008 08:58:12 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from smtp-1.orange.nl (smtp-1.orange.nl [193.252.22.241]) by mx1.freebsd.org (Postfix) with ESMTP id 4D0328FC14 for ; Fri, 10 Oct 2008 08:58:12 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf6012.online.nl (SMTP Server) with ESMTP id 108F01C00085 for ; Fri, 10 Oct 2008 10:58:11 +0200 (CEST) Received: from [192.168.2.173] (s5590cf7b.adsl.wanadoo.nl [85.144.207.123]) by mwinf6012.online.nl (SMTP Server) with ESMTP id D15D71C00083 for ; Fri, 10 Oct 2008 10:58:10 +0200 (CEST) X-ME-UUID: 20081010085810857.D15D71C00083@mwinf6012.online.nl From: Aniruddha To: freebsd-questions@freebsd.org In-Reply-To: <30941389-CEE6-474A-ACC6-4C9341201E5E@mailheist.com> References: <30941389-CEE6-474A-ACC6-4C9341201E5E@mailheist.com> Content-Type: text/plain Date: Fri, 10 Oct 2008 10:58:28 +0200 Message-Id: <1223629108.4095.12.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Subject: Re: Wireless Card - EDIMAX EW-7728In X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 08:58:12 -0000 On Wed, 2008-10-08 at 22:00 -0400, Justin Mazzi wrote: > Hi, > > Does anyone know if FreeBSD has support for this card? I did some > searching around and looks like this card is based on the RALink > RT2860 chip. OpenBSD has drivers listed for it on this page: > > http://www.openbsd.org.ua/i386.html > Section: "Ralink Technology IEEE 802.11a/b/g PCI adapters (ral), > including: (B) (C)" > > If anyone has been able to get this card working, or knows how I could > get it working, please let me know. Your help is greatly appreciated. > Thanks! > I can't find it here: http://www.freebsd.org/releases/7.0R/hardware.html#WLAN Therefor I don't think it will work. -- Regards, Aniruddha From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 09:09:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3342F106569B; Fri, 10 Oct 2008 09:09:28 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from viefep11-int.chello.at (viefep11-int.chello.at [62.179.121.31]) by mx1.freebsd.org (Postfix) with ESMTP id 706B58FC19; Fri, 10 Oct 2008 09:09:27 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from edge03.upc.biz ([192.168.13.238]) by viefep11-int.chello.at (InterMail vM.7.08.02.02 201-2186-121-104-20070414) with ESMTP id <20081010090925.TCZA14657.viefep11-int.chello.at@edge03.upc.biz>; Fri, 10 Oct 2008 11:09:25 +0200 Received: from [192.168.2.175] ([89.134.231.52]) by edge03.upc.biz with edge id Qx9N1a03118VCLh03x9PkT; Fri, 10 Oct 2008 11:09:25 +0200 X-SourceIP: 89.134.231.52 Message-ID: <48EF1BC0.2@shopzeus.com> Date: Fri, 10 Oct 2008 11:09:20 +0200 From: Laszlo Nagy User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Jeremy Chadwick , freebsd-questions@freebsd.org References: <48EF14E1.9080808@shopzeus.com> <20081010085042.GA27290@icarus.home.lan> In-Reply-To: <20081010085042.GA27290@icarus.home.lan> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: =?windows-1252?Q?Berta_S=E1ndor?= Subject: Re: 7.1 hangs, shutdown terminated X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 09:09:28 -0000 > This could be a periodic job (since you said this happens daily) which > runs early in the morning (2-3am?) and for some reason isn't finishing > in a timely manner. You haven't provided any actual ps -auxwwwwwww > data, so we can't easily discern if it's a periodic job or something > amiss on your system (for all we know the system could be compromised). > I wanted to, but since I could not log in... > I'm also curious what controller your SCSI disks are attached to. Can > you provide that information? ARECA 1680 ix 12 > dmesg would be useful. Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.1-PRERELEASE #3: Mon Oct 6 07:50:31 EDT 2008 gandalf@shopzeus.chello.hu:/usr/obj/usr/src/sys/SHOPZEUS module_register: module g_journal already exists! Module g_journal failed to register: 17 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(R) CPU E5420 @ 2.50GHz (2508.72-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x10676 Stepping = 6 Features=0xbfebfbff Features2=0xce3bd> AMD Features=0x20100800 AMD Features2=0x1 Cores per package: 4 usable memory = 8571047936 (8173 MB) avail memory = 8260050944 (7877 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 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard lapic0: Forcing LINT1 to edge trigger kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0xca2,0xca3,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 18 at device 2.0 on pci2 pci4: on pcib4 em0: port 0x2020-0x203f mem 0xb8820000-0xb883ffff,0xb8400000-0xb87fffff irq 18 at device 0.0 on pci4 em0: Using MSI interrupt em0: [FILTER] em0: Ethernet address: 00:15:17:81:99:d0 em1: port 0x2000-0x201f mem 0xb8800000-0xb881ffff,0xb8000000-0xb83fffff irq 19 at device 0.1 on pci4 em1: Using MSI interrupt em1: [FILTER] em1: Ethernet address: 00:15:17:81:99:d1 pcib5: at device 0.3 on pci1 pci5: on pcib5 pcib6: at device 3.0 on pci0 pci6: on pcib6 pcib7: at device 4.0 on pci0 pci7: on pcib7 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 pci0: at device 8.0 (no driver attached) pcib11: irq 16 at device 28.0 on pci0 pci11: on pcib11 arcmsr0: mem 0xb8b00000-0xb8b01fff irq 16 at device 0.0 on pci11 ARECA RAID ADAPTER0: Driver Version 1.20.00.15 2007-10-07 ARECA RAID ADAPTER0: FIRMWARE VERSION V1.45 2008-04-29 arcmsr0: [ITHREAD] uhci0: port 0x3080-0x309f irq 23 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x3060-0x307f irq 22 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x3040-0x305f irq 23 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered uhci3: port 0x3020-0x303f irq 22 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb3: on uhci3 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xb8c00400-0xb8c007ff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: on usb4 uhub4: 8 ports with 8 removable, self powered pcib12: at device 30.0 on pci0 pci12: on pcib12 vgapci0: port 0x1000-0x10ff mem 0xb0000000-0xb7ffffff,0xb8a00000-0xb8a0ffff irq 17 at device 12.0 on pci12 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x30b0-0x30bf irq 20 at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] atapci1: port 0x30c8-0x30cf,0x30e4-0x30e7,0x30c0-0x30c7,0x30e0-0x30e3,0x30a0-0x30af mem 0xb8c00000-0xb8c003ff irq 20 at device 31.2 on pci0 atapci1: [ITHREAD] ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] pci0: at device 31.3 (no driver attached) atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse Explorer, device ID 4 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A sio1: [FILTER] cpu0: on acpi0 est0: on cpu0 p4tcc0: on cpu0 cpu1: on acpi0 est1: on cpu1 p4tcc1: on cpu1 cpu2: on acpi0 est2: on cpu2 p4tcc2: on cpu2 cpu3: on acpi0 est3: on cpu3 p4tcc3: on cpu3 cpu4: on acpi0 est4: on cpu4 p4tcc4: on cpu4 cpu5: on acpi0 est5: on cpu5 p4tcc5: on cpu5 cpu6: on acpi0 est6: on cpu6 p4tcc6: on cpu6 cpu7: on acpi0 est7: on cpu7 p4tcc7: on cpu7 orm0: at iomem 0xc0000-0xc8fff,0xca800-0xcb7ff,0xcb800-0xcc7ff on isa0 ppc0: cannot reserve I/O port range sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec ipfw2 initialized, divert loadable, nat loadable, rule-based forwarding disabled, default to deny, logging limited to 100 packets/entry by default The GEOM class JOURNAL is already loaded. acd0: DVDR at ata0-master UDMA66 Waiting 5 seconds for SCSI devices to settle (probe16:arcmsr0:0:16:0): inquiry data fails comparison at DV1 step da0 at arcmsr0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-5 device da0: 166.666MB/s transfers (83.333MHz DT, offset 32, 16bit) da0: 1220702MB (2499997696 512 byte sectors: 255H 63S/T 155617C) da1 at arcmsr0 bus 0 target 0 lun 1 da1: Fixed Direct Access SCSI-5 device da1: 166.666MB/s transfers (83.333MHz DT, offset 32, 16bit) da1: 476836MB (976561664 512 byte sectors: 255H 63S/T 60788C) lapic1: Forcing LINT1 to edge trigger SMP: AP CPU #1 Launched! lapic3: Forcing LINT1 to edge trigger SMP: AP CPU #3 Launched! lapic2: Forcing LINT1 to edge trigger SMP: AP CPU #2 Launched! lapic4: Forcing LINT1 to edge trigger SMP: AP CPU #4 Launched! lapic7: Forcing LINT1 to edge trigger SMP: AP CPU #7 Launched! lapic5: Forcing LINT1 to edge trigger SMP: AP CPU #5 Launched! lapic6: Forcing LINT1 to edge trigger SMP: AP CPU #6 Launched! GEOM_JOURNAL: Journal 2122510179: da0s1e contains data. GEOM_JOURNAL: Journal 2828859188: da0s1f contains data. GEOM_JOURNAL: Journal 2122510179: da0s1g contains journal. GEOM_JOURNAL: Journal da0s1e clean. GEOM_JOURNAL: Journal 2828859188: da0s1h contains journal. GEOM_JOURNAL: Journal da0s1f clean. GEOM_JOURNAL: Journal 239656790: da0s2b contains journal. GEOM_JOURNAL: Journal 239656790: da0s2d contains data. GEOM_JOURNAL: Journal da0s2d clean. GEOM_JOURNAL: Journal 623269810: da0s2e contains data. GEOM_JOURNAL: Journal 623269810: da0s2f contains journal. GEOM_JOURNAL: Journal da0s2e clean. WARNING: Expected rawoffset 0, found 830994255 GEOM_JOURNAL: Journal 3587436884: da1s1b contains journal. GEOM_JOURNAL: Journal 3587436884: da1s1d contains data. GEOM_JOURNAL: Journal da1s1d clean. WARNING: Expected rawoffset 0, found 63 Trying to mount root from ufs:/dev/da0s1a em1: link state changed to UP em0: link state changed to UP >> My vote is on a hardware problem. The watchdog timeout you see >> indicates a portion of the system is locking up hard. The sig 11 would >> indicate a sudden segfault, which if unexpected, often indicates bad >> memory or motherboard. >> >> I would recommend you start down the hardware path. Replace the RAM and >> the mainboard, and see what happens. >> :-( Thanks. Laszlo From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 09:13:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1394106569B for ; Fri, 10 Oct 2008 09:13:08 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from viefep15-int.chello.at (viefep18-int.chello.at [213.46.255.22]) by mx1.freebsd.org (Postfix) with ESMTP id 312638FC23 for ; Fri, 10 Oct 2008 09:13:07 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from edge02.upc.biz ([192.168.13.237]) by viefep15-int.chello.at (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20081010091306.EYZT9167.viefep15-int.chello.at@edge02.upc.biz>; Fri, 10 Oct 2008 11:13:06 +0200 Received: from [192.168.2.175] ([89.134.231.52]) by edge02.upc.biz with edge id QxD21a03a18VCLh02xD3dR; Fri, 10 Oct 2008 11:13:06 +0200 X-SourceIP: 89.134.231.52 Message-ID: <48EF1C9C.3020201@shopzeus.com> Date: Fri, 10 Oct 2008 11:13:00 +0200 From: Laszlo Nagy User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Johan Hendriks , freebsd-questions@freebsd.org References: <48EF14E1.9080808@shopzeus.com> <57200BF94E69E54880C9BB1AF714BBCB5DE18C@w2003s01.double-l.local> In-Reply-To: <57200BF94E69E54880C9BB1AF714BBCB5DE18C@w2003s01.double-l.local> Content-Type: text/plain; charset=windows-1250; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: Re: 7.1 hangs, shutdown terminated X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 09:13:09 -0000 Johan Hendriks írta: > If find / -sx is running and is consuming all CPU, what is the value of vfs.ufs.dirhash_mem: > > # sysctl -a | grep dirhash > shopzeus# sysctl -a | grep dirhash vfs.ufs.dirhash_docheck: 0 vfs.ufs.dirhash_mem: 2095818 vfs.ufs.dirhash_maxmem: 2097152 vfs.ufs.dirhash_minsize: 2560 > Make sure vfs.ufs.dirhash_mem: is not close to vfs.ufs.dirhash_maxmem: > All right. It is close to it. Which one should I increase? I put this into /etc/sysctl.conf: vfs.ufs.dirhash_maxmem=8228608 Would it be scufficient? Thanks, Laszlo From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 09:17:41 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B23E11065686 for ; Fri, 10 Oct 2008 09:17:41 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA01.westchester.pa.mail.comcast.net (qmta01.westchester.pa.mail.comcast.net [76.96.62.16]) by mx1.freebsd.org (Postfix) with ESMTP id 50C968FC0C for ; Fri, 10 Oct 2008 09:17:40 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA05.westchester.pa.mail.comcast.net ([76.96.62.43]) by QMTA01.westchester.pa.mail.comcast.net with comcast id QxD61a00V0vyq2s51xHgix; Fri, 10 Oct 2008 09:17:40 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA05.westchester.pa.mail.comcast.net with comcast id QxHf1a0012P6wsM3RxHfDE; Fri, 10 Oct 2008 09:17:40 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=RL7s55I3Apcezk4QjWcA:9 a=JOoKmUZmSfyHeWwTbhqVY2EplEIA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id CEDBCC9419; Fri, 10 Oct 2008 02:17:38 -0700 (PDT) Date: Fri, 10 Oct 2008 02:17:38 -0700 From: Jeremy Chadwick To: Laszlo Nagy Message-ID: <20081010091738.GA27925@icarus.home.lan> References: <48EF14E1.9080808@shopzeus.com> <57200BF94E69E54880C9BB1AF714BBCB5DE18C@w2003s01.double-l.local> <48EF1C9C.3020201@shopzeus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <48EF1C9C.3020201@shopzeus.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Johan Hendriks , freebsd-questions@freebsd.org Subject: Re: 7.1 hangs, shutdown terminated X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 09:17:41 -0000 On Fri, Oct 10, 2008 at 11:13:00AM +0200, Laszlo Nagy wrote: > Johan Hendriks írta: >> If find / -sx is running and is consuming all CPU, what is the value of >> vfs.ufs.dirhash_mem: >> >> # sysctl -a | grep dirhash >> > shopzeus# sysctl -a | grep dirhash > vfs.ufs.dirhash_docheck: 0 > vfs.ufs.dirhash_mem: 2095818 > vfs.ufs.dirhash_maxmem: 2097152 > vfs.ufs.dirhash_minsize: 2560 > >> Make sure vfs.ufs.dirhash_mem: is not close to vfs.ufs.dirhash_maxmem: >> > All right. It is close to it. Which one should I increase? I put this > into /etc/sysctl.conf: > > > vfs.ufs.dirhash_maxmem=8228608 > > Would it be scufficient? We don't know, and can't tell you. You'll have to monitor vfs.ufs.dirhash_mem occasionally to see if you start to reach vfs.ufs.dirhash_maxmem. I have a tendency to use vfs.ufs.dirhash_maxmem=16777216, which is 16384*1024 (16MBytes). I'm not fully confident this is what's causing your problem, but it's definitely a recommendation by Johan. -- | 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 Fri Oct 10 09:19:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6430910656A5 for ; Fri, 10 Oct 2008 09:19:07 +0000 (UTC) (envelope-from Johan@double-l.nl) Received: from smtp-vbr5.xs4all.nl (smtp-vbr5.xs4all.nl [194.109.24.25]) by mx1.freebsd.org (Postfix) with ESMTP id EF5018FC20 for ; Fri, 10 Oct 2008 09:19:06 +0000 (UTC) (envelope-from Johan@double-l.nl) Received: from w2003s01.double-l.local (double-l.xs4all.nl [80.126.205.144]) by smtp-vbr5.xs4all.nl (8.13.8/8.13.8) with ESMTP id m9A9J6Xe076667; Fri, 10 Oct 2008 11:19:06 +0200 (CEST) (envelope-from Johan@double-l.nl) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Fri, 10 Oct 2008 11:19:05 +0200 Message-ID: <57200BF94E69E54880C9BB1AF714BBCB5DE18D@w2003s01.double-l.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 7.1 hangs, shutdown terminated Thread-Index: AckquMy1W93CkZC8TEKlsQqD5dFbugAAEQog References: <48EF14E1.9080808@shopzeus.com> <57200BF94E69E54880C9BB1AF714BBCB5DE18C@w2003s01.double-l.local> <48EF1C9C.3020201@shopzeus.com> From: "Johan Hendriks" To: "Laszlo Nagy" X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: RE: 7.1 hangs, shutdown terminated X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 09:19:07 -0000 >Johan Hendriks =EDrta: >> If find / -sx is running and is consuming all CPU, what is the value = of >vfs.ufs.dirhash_mem:=20 >> >> # sysctl -a | grep dirhash >> =20 >shopzeus# sysctl -a | grep dirhash >vfs.ufs.dirhash_docheck: 0 >vfs.ufs.dirhash_mem: 2095818 >vfs.ufs.dirhash_maxmem: 2097152 >vfs.ufs.dirhash_minsize: 2560 >> Make sure vfs.ufs.dirhash_mem: is not close to = vfs.ufs.dirhash_maxmem: >> =20 >All right. It is close to it. Which one should I increase? I put this=20 >into /etc/sysctl.conf: >vfs.ufs.dirhash_maxmem=3D8228608 >Would it be scufficient? >Thanks, > Laszlo vfs.ufs.dirhash_maxmem=3D is the value to adjust. Mine is at 12582912. this happens on Mailservers 'which has a lot of = directorys for the mail. The value depends on how many directory's there are on your system. Keep track on the value and when it hits the limit again increase the = limit until it stays under the limit. It can take a while to reach the limit again. Regards, Johan Hendriks Double L Automatisering No virus found in this outgoing message. Checked by AVG - http://www.avg.com=20 Version: 8.0.173 / Virus Database: 270.8.0/1717 - Release Date: = 9-10-2008 16:56 From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 09:43:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5B2E10656A0; Fri, 10 Oct 2008 09:43:52 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from viefep13-int.chello.at (viefep18-int.chello.at [213.46.255.22]) by mx1.freebsd.org (Postfix) with ESMTP id BD1688FC20; Fri, 10 Oct 2008 09:43:51 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from edge03.upc.biz ([192.168.13.238]) by viefep13-int.chello.at (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20081010094349.SBIL24679.viefep13-int.chello.at@edge03.upc.biz>; Fri, 10 Oct 2008 11:43:49 +0200 Received: from [192.168.2.175] ([89.134.231.52]) by edge03.upc.biz with edge id Qxjl1a03d18VCLh03xjnno; Fri, 10 Oct 2008 11:43:49 +0200 X-SourceIP: 89.134.231.52 Message-ID: <48EF23CB.8020104@shopzeus.com> Date: Fri, 10 Oct 2008 11:43:39 +0200 From: Laszlo Nagy User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Jeremy Chadwick References: <48EF14E1.9080808@shopzeus.com> <57200BF94E69E54880C9BB1AF714BBCB5DE18C@w2003s01.double-l.local> <48EF1C9C.3020201@shopzeus.com> <20081010091738.GA27925@icarus.home.lan> In-Reply-To: <20081010091738.GA27925@icarus.home.lan> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: =?windows-1252?Q?Berta_S=E1ndor?= , Johan Hendriks , freebsd-questions@freebsd.org Subject: [SOLVED] Re: 7.1 hangs, shutdown terminated X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 09:43:52 -0000 >>> If find / -sx is running and is consuming all CPU, what is the value of >>> vfs.ufs.dirhash_mem: >>> >>> # sysctl -a | grep dirhash >>> >>> >> shopzeus# sysctl -a | grep dirhash >> vfs.ufs.dirhash_docheck: 0 >> vfs.ufs.dirhash_mem: 2095818 >> vfs.ufs.dirhash_maxmem: 2097152 >> vfs.ufs.dirhash_minsize: 2560 >> >> >>> Make sure vfs.ufs.dirhash_mem: is not close to vfs.ufs.dirhash_maxmem: >>> >>> >> All right. It is close to it. Which one should I increase? I put this >> into /etc/sysctl.conf: >> >> >> vfs.ufs.dirhash_maxmem=8228608 >> >> Would it be scufficient? >> > > We don't know, and can't tell you. You'll have to monitor > vfs.ufs.dirhash_mem occasionally to see if you start to reach > vfs.ufs.dirhash_maxmem. > > I have a tendency to use vfs.ufs.dirhash_maxmem=16777216, which is > 16384*1024 (16MBytes). > > I'm not fully confident this is what's causing your problem, but it's > definitely a recommendation by Johan. > Thank you very much! Probably you are right. Our users use shared IMAP folders and sometimes they keep ten thousands of messages in one folder. I have increased dirhash_maxmem to 64MB and see what happens. Unfortunately, I cannot play with the hardware because it is in a server park, and it must be up 99.99% on workdays. I hope dirhash will solve the problem. I'm setting this to [SOLVED] and come back if it happens again. (Maybe on monday?) By the way, there is nothing in /etc/periodic that would execute "find / -sx". Can somebody explain what is this for, and why it was started by root? Is it being used instead for enumerating files in a directory, when dir hash is full? Thanks, Laszo From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 09:43:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5101D1065678 for ; Fri, 10 Oct 2008 09:43:59 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 992E08FC13 for ; Fri, 10 Oct 2008 09:43:58 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.13.1) with ESMTP id m9A9hoxr001530 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 10 Oct 2008 16:43:50 +0700 (ICT) (envelope-from on@banyan.cs.ait.ac.th) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.2/8.12.11) id m9A9huxu063783; Fri, 10 Oct 2008 16:43:56 +0700 (ICT) Date: Fri, 10 Oct 2008 16:43:56 +0700 (ICT) Message-Id: <200810100943.m9A9huxu063783@banyan.cs.ait.ac.th> From: Olivier Nicole To: freebsd-questions@freebsd.org X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Subject: Converting RSA to PKSC#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: Fri, 10 Oct 2008 09:43:59 -0000 Hi, I would like to install my own certificates for several APC UPS. I already generated the key file and the csr, got the csr signed and get a crt. But APC wants a file in format PKSC#15 that is bundled containing the key and the crt (and the ca ?). Anyway, they (APC) provide the tool to build the bundled file, provided that the key comes in pksc#15 format. I could start the generation of key and csr again, but then I would have to get these new csr signed by the ca, which I would prefer to avoid. So is there a way, having the rsa key file to convert it into a pksc#15 file? Best regards Olivier From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 10:19:18 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A066D1065678; Fri, 10 Oct 2008 10:19:18 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from viefep20-int.chello.at (viefep20-int.chello.at [62.179.121.40]) by mx1.freebsd.org (Postfix) with ESMTP id AAFE88FC15; Fri, 10 Oct 2008 10:19:17 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from edge03.upc.biz ([192.168.13.238]) by viefep20-int.chello.at (InterMail vM.7.08.02.02 201-2186-121-104-20070414) with ESMTP id <20081010101914.JGGI7113.viefep20-int.chello.at@edge03.upc.biz>; Fri, 10 Oct 2008 12:19:14 +0200 Received: from [192.168.2.175] ([89.134.231.52]) by edge03.upc.biz with edge id QyKD1a01d18VCLh03yKEtg; Fri, 10 Oct 2008 12:19:14 +0200 X-SourceIP: 89.134.231.52 Message-ID: <48EF2C1F.6000004@shopzeus.com> Date: Fri, 10 Oct 2008 12:19:11 +0200 From: Laszlo Nagy User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Jeremy Chadwick , freebsd-questions@freebsd.org References: <48EF14E1.9080808@shopzeus.com> <57200BF94E69E54880C9BB1AF714BBCB5DE18C@w2003s01.double-l.local> <48EF1C9C.3020201@shopzeus.com> <20081010091738.GA27925@icarus.home.lan> <48EF23CB.8020104@shopzeus.com> In-Reply-To: <48EF23CB.8020104@shopzeus.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: [SOLVED] Re: 7.1 hangs, shutdown terminated X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 10:19:18 -0000 >> > Thank you very much! Probably you are right. Our users use shared IMAP > folders and sometimes they keep ten thousands of messages in one > folder. I have increased dirhash_maxmem to 64MB and see what happens. > > Unfortunately, I cannot play with the hardware because it is in a > server park, and it must be up 99.99% on workdays. > > I hope dirhash will solve the problem. I'm setting this to [SOLVED] > and come back if it happens again. (Maybe on monday?) > > By the way, there is nothing in /etc/periodic that would execute "find > / -sx". Can somebody explain what is this for, and why it was started > by root? Is it being used instead for enumerating files in a > directory, when dir hash is full? I'm starting to believe that this was the problem. Within an hour, I see this: shopzeus# sysctl vfs.ufs vfs.ufs.dirhash_docheck: 0 vfs.ufs.dirhash_mem: 33708867 vfs.ufs.dirhash_maxmem: 134217728 vfs.ufs.dirhash_minsize: 2560 Went up to 32MB! L From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 10:37:57 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7180910656A4 for ; Fri, 10 Oct 2008 10:37:57 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA05.westchester.pa.mail.comcast.net (qmta05.westchester.pa.mail.comcast.net [76.96.62.48]) by mx1.freebsd.org (Postfix) with ESMTP id 08A5E8FC19 for ; Fri, 10 Oct 2008 10:37:56 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA01.westchester.pa.mail.comcast.net ([76.96.62.11]) by QMTA05.westchester.pa.mail.comcast.net with comcast id QyZF1a00N0EZKEL55ydvL7; Fri, 10 Oct 2008 10:37:55 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA01.westchester.pa.mail.comcast.net with comcast id Qydu1a0012P6wsM3MyduK9; Fri, 10 Oct 2008 10:37:55 +0000 X-Authority-Analysis: v=1.0 c=1 a=ruLxGkQunecA:10 a=pauEDJqJWUQA:10 a=QycZ5dHgAAAA:8 a=sjL84REO6ocb_XtCm6oA:9 a=3x7T1Fso7O3TLsqDckIA:7 a=wx80ffymwAwD09_BzfSacvWSXJ8A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id CD762C9419; Fri, 10 Oct 2008 03:37:53 -0700 (PDT) Date: Fri, 10 Oct 2008 03:37:53 -0700 From: Jeremy Chadwick To: Laszlo Nagy Message-ID: <20081010103753.GA30120@icarus.home.lan> References: <48EF14E1.9080808@shopzeus.com> <57200BF94E69E54880C9BB1AF714BBCB5DE18C@w2003s01.double-l.local> <48EF1C9C.3020201@shopzeus.com> <20081010091738.GA27925@icarus.home.lan> <48EF23CB.8020104@shopzeus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48EF23CB.8020104@shopzeus.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Berta =?iso-8859-1?Q?S=E1ndor?= , freebsd-questions@freebsd.org, Johan Hendriks Subject: Re: [SOLVED] Re: 7.1 hangs, shutdown terminated X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 10:37:57 -0000 On Fri, Oct 10, 2008 at 11:43:39AM +0200, Laszlo Nagy wrote: > >>>> If find / -sx is running and is consuming all CPU, what is the >>>> value of vfs.ufs.dirhash_mem: >>>> >>>> # sysctl -a | grep dirhash >>>> >>> shopzeus# sysctl -a | grep dirhash >>> vfs.ufs.dirhash_docheck: 0 >>> vfs.ufs.dirhash_mem: 2095818 >>> vfs.ufs.dirhash_maxmem: 2097152 >>> vfs.ufs.dirhash_minsize: 2560 >>> >>> >>>> Make sure vfs.ufs.dirhash_mem: is not close to vfs.ufs.dirhash_maxmem: >>>> >>> All right. It is close to it. Which one should I increase? I put this >>> into /etc/sysctl.conf: >>> >>> >>> vfs.ufs.dirhash_maxmem=8228608 >>> >>> Would it be scufficient? >>> >> >> We don't know, and can't tell you. You'll have to monitor >> vfs.ufs.dirhash_mem occasionally to see if you start to reach >> vfs.ufs.dirhash_maxmem. >> >> I have a tendency to use vfs.ufs.dirhash_maxmem=16777216, which is >> 16384*1024 (16MBytes). >> >> I'm not fully confident this is what's causing your problem, but it's >> definitely a recommendation by Johan. >> > Thank you very much! Probably you are right. Our users use shared IMAP > folders and sometimes they keep ten thousands of messages in one folder. > I have increased dirhash_maxmem to 64MB and see what happens. > > Unfortunately, I cannot play with the hardware because it is in a server > park, and it must be up 99.99% on workdays. > > I hope dirhash will solve the problem. I'm setting this to [SOLVED] and > come back if it happens again. (Maybe on monday?) > > By the way, there is nothing in /etc/periodic that would execute "find / > -sx". Can somebody explain what is this for, and why it was started by > root? Is it being used instead for enumerating files in a directory, > when dir hash is full? Firstly, I see a periodic(8) job that DOES use find -sx, which means your attempt to track it down was faulty, and your syntax should have been "find -sx /" not "find / -sx". See here: /etc/periodic/security/100.chksetuid: find -sx $MP /dev/null -type f \ $MP == mountpoint, e.g. /, /var, or any other mounted filesystem. So, what you saw was the periodic check looking for setuid-root binaries. Secondly, the kernel does not spawn userland processes like find(1). Thirdly, dirmem and dirmem_max are *pure* kernel things. What they do is control the amount of memory used for directory structure caching; rather than continually hit the disk every time and spend all that time handling directory contents, the kernel can cache previously-fetched contents in memory. -- | 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 Fri Oct 10 11:07:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1191F106569A; Fri, 10 Oct 2008 11:07:49 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from viefep20-int.chello.at (viefep20-int.chello.at [62.179.121.40]) by mx1.freebsd.org (Postfix) with ESMTP id 295558FC0C; Fri, 10 Oct 2008 11:07:47 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from edge05.upc.biz ([192.168.13.212]) by viefep20-int.chello.at (InterMail vM.7.08.02.02 201-2186-121-104-20070414) with ESMTP id <20081010110746.LIPF7113.viefep20-int.chello.at@edge05.upc.biz>; Fri, 10 Oct 2008 13:07:46 +0200 Received: from [192.168.2.175] ([89.134.231.52]) by edge05.upc.biz with edge id Qz7k1a07W18VCLh05z7max; Fri, 10 Oct 2008 13:07:46 +0200 X-SourceIP: 89.134.231.52 Message-ID: <48EF377F.1030606@shopzeus.com> Date: Fri, 10 Oct 2008 13:07:43 +0200 From: Laszlo Nagy User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Jeremy Chadwick References: <48EF14E1.9080808@shopzeus.com> <57200BF94E69E54880C9BB1AF714BBCB5DE18C@w2003s01.double-l.local> <48EF1C9C.3020201@shopzeus.com> <20081010091738.GA27925@icarus.home.lan> <48EF23CB.8020104@shopzeus.com> <20081010103753.GA30120@icarus.home.lan> In-Reply-To: <20081010103753.GA30120@icarus.home.lan> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: Johan Hendriks , freebsd-questions@freebsd.org Subject: Re: [SOLVED] Re: 7.1 hangs, shutdown terminated X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 11:07:49 -0000 > Firstly, I see a periodic(8) job that DOES use find -sx, which means > your attempt to track it down was faulty, and your syntax should have > been "find -sx /" not "find / -sx". See here: > > /etc/periodic/security/100.chksetuid: find -sx $MP /dev/null -type f \ > Thanks for clearing that out. :-) I did not remember what it was and failed to find it. > $MP == mountpoint, e.g. /, /var, or any other mounted filesystem. > > So, what you saw was the periodic check looking for setuid-root > binaries. > > Secondly, the kernel does not spawn userland processes like find(1). > > Thirdly, dirmem and dirmem_max are *pure* kernel things. What they do > is control the amount of memory used for directory structure caching; > rather than continually hit the disk every time and spend all that time > handling directory contents, the kernel can cache previously-fetched > contents in memory Now it stays this value constantly: vfs.ufs.dirhash_mem: 44306131 I think it is now caching everything. Thank you again, and sorry for the dumb questions. Laszlo From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 11:30:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54743106569E for ; Fri, 10 Oct 2008 11:30:07 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA03.emeryville.ca.mail.comcast.net (qmta03.emeryville.ca.mail.comcast.net [76.96.30.32]) by mx1.freebsd.org (Postfix) with ESMTP id 316378FC14 for ; Fri, 10 Oct 2008 11:30:06 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA01.emeryville.ca.mail.comcast.net ([76.96.30.11]) by QMTA03.emeryville.ca.mail.comcast.net with comcast id QzJ31a00D0EPchoA3zW6RF; Fri, 10 Oct 2008 11:30:06 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA01.emeryville.ca.mail.comcast.net with comcast id QzW51a0092P6wsM8MzW5Hz; Fri, 10 Oct 2008 11:30:06 +0000 X-Authority-Analysis: v=1.0 c=1 a=ruLxGkQunecA:10 a=pauEDJqJWUQA:10 a=QycZ5dHgAAAA:8 a=pO8Kt_PFoeWl8VsQI_QA:9 a=HamHYtN2z6K2ZXhWBkkA:7 a=wf4bEZoqA6vKFOXpLdtRPCrD1I4A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 373B8C9419; Fri, 10 Oct 2008 04:30:05 -0700 (PDT) Date: Fri, 10 Oct 2008 04:30:05 -0700 From: Jeremy Chadwick To: Laszlo Nagy Message-ID: <20081010113005.GA31007@icarus.home.lan> References: <48EF14E1.9080808@shopzeus.com> <57200BF94E69E54880C9BB1AF714BBCB5DE18C@w2003s01.double-l.local> <48EF1C9C.3020201@shopzeus.com> <20081010091738.GA27925@icarus.home.lan> <48EF23CB.8020104@shopzeus.com> <20081010103753.GA30120@icarus.home.lan> <48EF377F.1030606@shopzeus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48EF377F.1030606@shopzeus.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Johan Hendriks , freebsd-questions@freebsd.org Subject: Re: [SOLVED] Re: 7.1 hangs, shutdown terminated X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 11:30:07 -0000 On Fri, Oct 10, 2008 at 01:07:43PM +0200, Laszlo Nagy wrote: > >> Firstly, I see a periodic(8) job that DOES use find -sx, which means >> your attempt to track it down was faulty, and your syntax should have >> been "find -sx /" not "find / -sx". See here: >> >> /etc/periodic/security/100.chksetuid: find -sx $MP /dev/null -type f \ >> > Thanks for clearing that out. :-) I did not remember what it was and > failed to find it. I believe the reason you saw this process still running at 8-9 in the morning was because of the slowdown induced by lack of dirhash memory. The periodic job runs every day, usually between 0130 and 0200, so the process had been sitting there processing its heart out for 6-7 hours. Since you've tuned the dirhash stuff, I'm betting this periodic job will run much more quickly. >> $MP == mountpoint, e.g. /, /var, or any other mounted filesystem. >> >> So, what you saw was the periodic check looking for setuid-root >> binaries. >> >> Secondly, the kernel does not spawn userland processes like find(1). >> >> Thirdly, dirmem and dirmem_max are *pure* kernel things. What they do >> is control the amount of memory used for directory structure caching; >> rather than continually hit the disk every time and spend all that time >> handling directory contents, the kernel can cache previously-fetched >> contents in memory > Now it stays this value constantly: > > vfs.ufs.dirhash_mem: 44306131 > > I think it is now caching everything. > > Thank you again, and sorry for the dumb questions. You asked absolutely *no* dumb questions, especially given the circumstances! Do not be ashamed, you did the right thing. :-) -- | 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 Fri Oct 10 11:31:48 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7090106568E for ; Fri, 10 Oct 2008 11:31:48 +0000 (UTC) (envelope-from ricardo.meb.jesus@gmail.com) Received: from gate.criticalsoftware.com (gate.criticalsoftware.com [212.13.37.242]) by mx1.freebsd.org (Postfix) with ESMTP id 32C218FC19 for ; Fri, 10 Oct 2008 11:31:48 +0000 (UTC) (envelope-from ricardo.meb.jesus@gmail.com) Received: from [192.168.1.140] (unknown [192.168.1.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gate.criticalsoftware.com (Postfix) with ESMTP id 04A30E8E65; Fri, 10 Oct 2008 12:31:46 +0100 (WEST) Message-ID: <48EF3D25.4080802@gmail.com> Date: Fri, 10 Oct 2008 12:31:49 +0100 From: Ricardo Jesus User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <1223498563.3978.19.camel@debian> <20081008234628.039773d3@baby-jane-lamaiziere-net.local> <1223536760.4635.24.camel@debian> In-Reply-To: <1223536760.4635.24.camel@debian> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Aniruddha Subject: Re: What is a recommended soundcard for FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ricardo.m.jesus@criticalsoftware.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 11:31:48 -0000 Aniruddha wrote: > On Wed, 2008-10-08 at 23:46 +0200, Patrick Lamaizi=C3=A8re wrote: > =20 >> Le Wed, 08 Oct 2008 22:42:43 +0200, >> Aniruddha a =C3=A9crit : >> >> =20 >>> Because of the problems with my onboard Intel HDA audio chip I plan t= o >>> buy a soundcard that is supported by FreeBSD. >>> =20 >> There is a new hda driver in current, may be you can try it on >> RELENG_7? >> >> See=20 >> http://www.nabble.com/Re%3A-New-snd_hda-driver-came-in.-p19499206.html >> >> Good luck! >> >> Regards. >> >> =20 > > Thanks I'll check it out.v In the meantime I'm real curious about > FreeBSD user experience with X-fi :) > > > =20 Hi, I don't think the X-fi cards are supported in FreeBSD but I do know that=20 in Linux they aren't. Personally, I have a Creative Audigy 4 and it works great. The=20 snd_emu10kx driver provides support for Creative SoundBlaster Live! and=20 Audigy sound cards. Best regards. From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 12:10:20 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 175161065686 for ; Fri, 10 Oct 2008 12:10:20 +0000 (UTC) (envelope-from cvoth@telus.net) Received: from outbound05.telus.net (outbound05.telus.net [199.185.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id B55738FC12 for ; Fri, 10 Oct 2008 12:10:19 +0000 (UTC) (envelope-from cvoth@telus.net) Received: from priv-edtnaa05.telusplanet.net ([75.157.28.2]) by priv-edtnes25.telusplanet.net (InterMail vM.7.08.02.02 201-2186-121-104-20070414) with ESMTP id <20081010105059.TXXA4217.priv-edtnes25.telusplanet.net@priv-edtnaa05.telusplanet.net> for ; Fri, 10 Oct 2008 04:50:59 -0600 Received: from oliver.bc.lan (d75-157-28-2.bchsia.telus.net [75.157.28.2]) by priv-edtnaa05.telusplanet.net (BorderWare Security Platform) with ESMTP id 7E0809113C250B28 for ; Fri, 10 Oct 2008 04:52:18 -0600 (MDT) Received: from [10.111.111.112] (unknown [10.111.111.112]) by oliver.bc.lan (Postfix) with ESMTP id C33C461E0; Fri, 10 Oct 2008 03:52:17 -0700 (PDT) Message-ID: <48EF33E1.2030503@telus.net> Date: Fri, 10 Oct 2008 03:52:17 -0700 From: Carl Voth User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <48EDDD2D.1000505@telus.net> In-Reply-To: <48EDDD2D.1000505@telus.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: cannot install from existing UFS thumb drive with sysinstall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 12:10:20 -0000 Is there no one out there that can help? I've dug into NFS a little more and that does not appear to support mounting a local filesystem under sysinstall. In the following thread, Richard Tobin makes an assertion that suggests that I might be able to mount my thumb drive's existing UFS partition in the disk labelling step. http://unix.derkeiler.com/Newsgroups/comp.unix.bsd.freebsd.misc/2004-10/0920.html [ http://tinyurl.com/3mknq7 ] The first problem I ran into was that there is no way to add a second drive (ie. target drive is SATA hard disk, thumb drive is install drive) to the disk labelling step. The only way that that can be achieved is by first adding it to the fdisk partitioning step. I'm willing to believe that *maybe* there's no risk to my thumb drive in rewriting it's disk label if I'm very careful not to newfs it. But nothing about the fdisk partition editor gives me a sense that it will hold off of rewriting my thumb drive's slice table even though I'm not trying to change anything. It just seems perverse to have to reslice and relabel just to mount an existing filesystem. If the only way one can mount a local filesystem in sysinstall is using the disk label editor, can someone explain to me the actual consequences and risks of this procedure? I did not proceed to Write or Commit in this little experiment yet because of the unknown risks. I have to say that I cannot believe how horribly unfriendly sysinstall is for anyone wanting to use a USB thumb drive as an install medium. In fact, it's looking totally unusable. Clearly sysinstall is utilizing 'mount' functionality for it's own purposes. Surely there's some way for me to access it too?!? Carl / K0802647 From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 12:51:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0807910656A3 for ; Fri, 10 Oct 2008 12:51:58 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id E23388FC19 for ; Fri, 10 Oct 2008 12:51:57 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from laptop ([202.69.172.227]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 10 Oct 2008 05:51:41 -0700 From: "FBSD1" To: "Carl Voth" , Date: Fri, 10 Oct 2008 20:52:18 +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) In-Reply-To: <48EF33E1.2030503@telus.net> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Importance: Normal X-OriginalArrivalTime: 10 Oct 2008 12:51:41.0641 (UTC) FILETIME=[F14BBB90:01C92AD6] X-Sender: fbsd1@a1poweruser.com Cc: Subject: RE: cannot install from existing UFS thumb drive with sysinstall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fbsd1@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 12:51:58 -0000 There is a outstanding PR on sysinstall from usb flash drive which is now over a year old. The sysinstall install program needs to be updated to use usb drives as the source of the install media. You could always edit the sysinstall program source code and make a patch to allow usb sysinstall media. Other than that you are S.O.L. I use this script to build my bootable 1GB USB flash drive #!/bin/sh #Purpose = Use to transfer the FreeBSD install cd1 to # a bootable 1GB USB flash drive so it can be used to install from. # First fetch the FreeBSD 6.2-RELEASE-i386-disc1.iso to your # hard drive /usr. Then execute this script from the command line # fbsd2usb /usr/6.2-RELEASE-i386-disc1.iso /usr/6.2-RELEASE-i386-disc1.img # Change system bios to boot from USB-dd and away you go. # NOTE: This script has to be run from root and your 1GB USB flash drive # has to be plugged in before running this script. # On the command line enter fbsd2usb iso-path img-path # You can set some variables here. Edit them to fit your needs. # Set serial variable to 0 if you don't want serial console at all, # 1 if you want comconsole and 2 if you want comconsole and vidconsole serial=0 set -u if [ $# -lt 2 ]; then echo "Usage: $0 source-iso-path output-img-path" exit 1 fi isoimage=$1; shift imgoutfile=$1; shift # Temp directory to be used later #export tmpdir=$(mktemp -d -t fbsdmount) export tmpdir=$(mktemp -d /usr/fbsdmount) export isodev=$(mdconfig -a -t vnode -f ${isoimage}) ISOSIZE=$(du -k ${isoimage} | awk '{print $1}') SECTS=$((($ISOSIZE + ($ISOSIZE/5))*4)) #SECTS=$((($ISOSIZE + ($ISOSIZE/5))*2)) echo " " echo "### Initializing image File started ###" echo "### This will take about 4 minutes ###" date dd if=/dev/zero of=${imgoutfile} count=${SECTS} echo "### Initializing image File completed ###" date echo " " ls -l ${imgoutfile} export imgdev=$(mdconfig -a -t vnode -f ${imgoutfile}) bsdlabel -w -B ${imgdev} newfs -O1 /dev/${imgdev}a mkdir -p ${tmpdir}/iso ${tmpdir}/img mount -t cd9660 /dev/${isodev} ${tmpdir}/iso mount /dev/${imgdev}a ${tmpdir}/img echo " " echo "### Started Copying files to the image now ###" echo "### This will take about 15 minutes ###" date ( cd ${tmpdir}/iso && find . -print -depth | cpio -dump ${tmpdir}/img ) echo "### Completed Copying files to the image ###" date if [ ${serial} -eq 2 ]; then echo "-D" > ${tmpdir}/img/boot.config echo 'console="comconsole, vidconsole"' >> ${tmpdir}/img/boot/loader.conf elif [ ${serial} -eq 1 ]; then echo "-h" > ${tmpdir}/img/boot.config echo 'console="comconsole"' >> ${tmpdir}/img/boot/loader.conf fi echo " " echo "### Started writing image to flash drive now ###" echo "### This will take about 30 minutes ###" date dd if=${imgoutfile} of=/dev/da0 bs=1m echo "### Completed writing image to flash drive at ###" date cleanup() { umount ${tmpdir}/iso mdconfig -d -u ${isodev} umount ${tmpdir}/img mdconfig -d -u ${imgdev} rm -rf ${tmpdir} } cleanup ls -lh ${imgoutfile} echo "### Script finished ###" -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Carl Voth Sent: Friday, October 10, 2008 6:52 PM To: freebsd-questions@freebsd.org Subject: Re: cannot install from existing UFS thumb drive with sysinstall Is there no one out there that can help? I've dug into NFS a little more and that does not appear to support mounting a local filesystem under sysinstall. In the following thread, Richard Tobin makes an assertion that suggests that I might be able to mount my thumb drive's existing UFS partition in the disk labelling step. http://unix.derkeiler.com/Newsgroups/comp.unix.bsd.freebsd.misc/2004-10/0920 .html [ http://tinyurl.com/3mknq7 ] The first problem I ran into was that there is no way to add a second drive (ie. target drive is SATA hard disk, thumb drive is install drive) to the disk labelling step. The only way that that can be achieved is by first adding it to the fdisk partitioning step. I'm willing to believe that *maybe* there's no risk to my thumb drive in rewriting it's disk label if I'm very careful not to newfs it. But nothing about the fdisk partition editor gives me a sense that it will hold off of rewriting my thumb drive's slice table even though I'm not trying to change anything. It just seems perverse to have to reslice and relabel just to mount an existing filesystem. If the only way one can mount a local filesystem in sysinstall is using the disk label editor, can someone explain to me the actual consequences and risks of this procedure? I did not proceed to Write or Commit in this little experiment yet because of the unknown risks. I have to say that I cannot believe how horribly unfriendly sysinstall is for anyone wanting to use a USB thumb drive as an install medium. In fact, it's looking totally unusable. Clearly sysinstall is utilizing 'mount' functionality for it's own purposes. Surely there's some way for me to access it too?!? Carl / K0802647 _______________________________________________ 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 Oct 10 14:06:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 237DD1065693 for ; Fri, 10 Oct 2008 14:06:07 +0000 (UTC) (envelope-from que_deseja@hotmail.com) Received: from blu0-omc4-s25.blu0.hotmail.com (blu0-omc4-s25.blu0.hotmail.com [65.55.111.164]) by mx1.freebsd.org (Postfix) with ESMTP id D612B8FC19 for ; Fri, 10 Oct 2008 14:06:06 +0000 (UTC) (envelope-from que_deseja@hotmail.com) Received: from BLU126-W24 ([65.55.111.136]) by blu0-omc4-s25.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 10 Oct 2008 07:06:06 -0700 Message-ID: X-Originating-IP: [98.192.204.41] From: Desmond Chapman To: Date: Fri, 10 Oct 2008 14:06:06 +0000 Importance: Normal Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 10 Oct 2008 14:06:06.0438 (UTC) FILETIME=[5685B060:01C92AE1] Subject: RE: Subject: Xorg/kde startup errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 14:06:07 -0000 "Message: 13 Date: Fri=2C 10 Oct 2008 12:16:52 +0800 From: "FBSD1"=20 Subject: Xorg/kde startup errors To: "freebsd-questions@FreeBSD. ORG"=20 Message-ID:=20 Content-Type: text/plain=3B charset=3D"iso-8859-1" =20 I am new user to xorg/kde. Installed xorg and kde using port system. Followed instructions in handbook for Freebsd 7.0 The following is the startx log from when I enter startx command. Have no idea what is wrong since I expected the xorg and kde port to be completely functional. Kde seems to run ok except for all the repeating warnings about missing mimetypes and the invalid Window parameter error for every screen I navigate through using KDE. =20 Any help is welcomed =20 =20 =20 Script started on Tue Oct 7 19:13:25 2008 # /root>startx xauth: creating new authority file /root/.serverauth.1236 =20 =20 X.Org X Server 1.4.0 Release Date: 5 September 2007 X Protocol Version 11=2C Revision 0 Build Operating System: FreeBSD 7.0-RELEASE i386 Current Operating System: FreeBSD 7.0-RELEASE-p4 FreeBSD 7.0-RELEASE-p4 #0: Tue Sep 2 19:32:35 UTC 2008 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 Build Date: 13 February 2008 05:50:12PM =20 Before reporting problems=2C check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed=2C (**) from config file=2C (=3D=3D) default setting= =2C (++) from command line=2C (!!) notice=2C (II) informational=2C (WW) warning=2C (EE) error=2C (NI) not implemented=2C (??) unknown. (=3D=3D) Log file: "/var/log/Xorg.0.log"=2C Time: Tue Oct 7 19:13:31 2008 (=3D=3D) Using config file: "/etc/X11/xorg.conf" (II) Module "i2c" already built-in (II) Module "ddc" already built-in (II) Module "ramdac" already built-in Warning: kbuildsycoca is unable to register with DCOP. kbuildsycoca running... kbuildsycoca running... Reusing existing ksycoca kbuildsycoca: WARNING: '/usr/local/share/applications/kde/ark.desktop' specifies undefined mimetype/servicetype 'application/x-tbz2' kbuildsycoca: WARNING: '/usr/local/share/applications/kde/ark.desktop' specifies undefined mimetype/servicetype 'application/zip' kbuildsycoca: WARNING: '/usr/local/share/applications/kde/ark.desktop' specifies undefined mimetype/servicetype 'application/x-7z' kbuildsycoca: WARNING: 'ark_part.desktop' specifies undefined mimetype/servicetype 'application/x-tbz2' kbuildsycoca: WARNING: 'ark_part.desktop' specifies undefined mimetype/servicetype 'application/x-7z' kbuildsycoca: WARNING: 'karm_part.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'karm_part.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'karm_part.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: '/usr/local/share/applications/kde/kpovmodeler.desktop' specifies undefined mimetype/servicetype 'KPovModeler/Document' kbuildsycoca: WARNING: 'kfile_ooo.desktop' specifies undefined mimetype/servicetype 'application/vnd.sun.xml.writer.global' kbuildsycoca: WARNING: 'kfile_ooo.desktop' specifies undefined mimetype/servicetype 'application/vnd.sun.xml.writer.math' kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: 'kchartpart.desktop' specifies undefined mimetype/servicetype 'application/vnd.oasis.opendocument.chart-template' kbuildsycoca: WARNING: '/usr/local/share/applications/firefox.desktop' specifies undefined mimetype/servicetype 'text/mml' kbuildsycoca: WARNING: '/usr/local/share/applications/kde/kvoctrain.desktop= ' specifies undefined mimetype/servicetype 'application/x-kvoctrain' kbuildsycoca: WARNING: '/usr/local/share/applications/kde/kvoctrain.desktop= ' specifies undefined mimetype/servicetype 'text/x-kvtml' kbuildsycoca: WARNING: '.hidden/krita_magick.desktop' specifies undefined mimetype/servicetype 'image/x-xcf' kbuildsycoca: WARNING: 'kcertpart.desktop' specifies undefined mimetype/servicetype 'application/binary-certificate' kbuildsycoca: WARNING: '/usr/local/share/applications/kde/kmid.desktop' specifies undefined mimetype/servicetype 'audio/midi' kbuildsycoca: WARNING: 'kformulapart.desktop' specifies undefined mimetype/servicetype 'application/vnd.oasis.opendocument.formula-template' kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: 'knotify.desktop' specifies undefined mimetype/servicetype 'KNotify' kbuildsycoca: WARNING: 'ksvgplugin.desktop' specifies undefined mimetype/servicetype 'image/svg' kbuildsycoca: WARNING: '/usr/local/share/applications/kde/kexi.desktop' specifies undefined mimetype/servicetype 'application/x-kexiproject-sqlite' startkde: Starting up... kdeinit: Shutting down running client. kbuildsycoca running... X Error: BadValue (integer parameter out of range for operation) 2 Major opcode: 116 Minor opcode: 0 Resource id: 0x5 >> running as realtime process now (priority 15) kbuildsycoca running... Reusing existing ksycoca ICE default IO error handler doing an exit()=2C pid =3D 1291=2C errno =3D 0 /x-kexiproject-sqlite' X Error: BadWindow (invalid Window parameter) 3 Major opcode: 19 Minor opcode: 0 Resource id: 0x800005 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 7 Minor opcode: 0 Resource id: 0x1c00005 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 6 Minor opcode: 0 Resource id: 0x1c00005 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 7 Minor opcode: 0 Resource id: 0x600007 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 6 Minor opcode: 0 Resource id: 0x600007 startkde: Shutting down... klauncher: Exiting on signal 1 startkde: Running shutdown scripts... startkde: Done. =20 waiting for X server to shut down FreeFontPath: FPE "/usr/local/lib/X11/fonts/misc/" refcount is 3=2C should be 2=3B fixing. =20 =20 # /root>exit exit =20 Script done on Tue Oct 7 19:14:29 2008" What is your xorg.new.conf file? It's in the root directory. Here is my screen resolution from the above file "Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Depth 1 Modes "640x480" "800x600" "1024x768" "1280x1024" EndSubSection SubSection "Display" Viewport 0 0 Depth 4 Modes "640x480" "800x600" "1024x768" "1280x1024" EndSubSection SubSection "Display" Viewport 0 0 Depth 8 Modes "640x480" "800x600" "1024x768" "1280x1024" EndSubSection SubSection "Display" Viewport 0 0 Depth 15 Modes "640x480" "800x600" "1024x768" "1280x1024" EndSubSection SubSection "Display" Viewport 0 0 Depth 16 Modes "640x480" "800x600" "1024x768" "1280x1024" EndSubSection SubSection "Display" Viewport 0 0 Depth 24 Modes "640x480" "800x600" "1024x768" "1280x1024" EndSubSection EndSection" You'll need to use vi to edit the file.=20 type>>vi /root/xorg.conf.new in the terminal as root. Use the down arrow to= move to the depth subsection of the screen section. Hit the escape key the= n the letter i. Hit the right arrow until. I'm going touse>> <> Modes <> "6= 00x800" "1024x768" <> :w! <> :q! < _________________________________________________________________ See how Windows Mobile brings your life together=97at home=2C work=2C or on= the go. http://clk.atdmt.com/MRT/go/msnnkwxp1020093182mrt/direct/01/= From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 14:20:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA2C81065691 for ; Fri, 10 Oct 2008 14:20:59 +0000 (UTC) (envelope-from craig001@lerwick.hopto.org) Received: from lerwick.hopto.org (81-178-20-70.dsl.pipex.com [81.178.20.70]) by mx1.freebsd.org (Postfix) with SMTP id DCA5F8FC14 for ; Fri, 10 Oct 2008 14:20:58 +0000 (UTC) (envelope-from craig001@lerwick.hopto.org) Received: (qmail 63361 invoked by uid 98); 10 Oct 2008 15:18:31 +0100 Received: from 192.168.0.2 by polaris.lerwick.hopto.org (envelope-from , uid 82) with qmail-scanner-2.01 (clamdscan: 0.88.4/1789. hbedv: 7.1.1.11/6.35.1.178. f-prot: 4.6.6/3.16.14. spamassassin: 3.1.4. Clear:RC:1(192.168.0.2):. Processed in 0.04783 secs); 10 Oct 2008 14:18:31 -0000 Received: from main.lerwick.hopto.org (HELO ?192.168.0.2?) (192.168.0.2) by lerwick.hopto.org with SMTP; 10 Oct 2008 15:18:30 +0100 From: Craig Butler To: Chad Perrin In-Reply-To: <20081008174214.GA4704@kokopelli.hydra> References: <20081007120025.E1003106572D@hub.freebsd.org> <48EB60A3.7090501@kleppnett.no> <20081008174214.GA4704@kokopelli.hydra> Content-Type: text/plain Date: Fri, 10 Oct 2008 15:20:53 +0100 Message-Id: <1223648454.3274.9.camel@main.lerwick.hopto.org> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: kenneth hatteland , Andrew Gould , freebsd-questions@freebsd.org Subject: Re: has anyone actually received a bsdmag ? -- SOLVED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 14:20:59 -0000 On Wed, 2008-10-08 at 11:42 -0600, Chad Perrin wrote: > On Tue, Oct 07, 2008 at 08:43:29AM -0500, Andrew Gould wrote: > > > > The BSDMag website mentioned that it would be available at Barnes & Noble. > > I couldn't find it there; but I found it at Borders bookstores. > > I've seen a copy at Barnes & Noble, but I'm more concerned about the fact > that Craig B subscribed and hasn't received an issue yet. > Hi Guys, I now have a copys of both issues of the BSD Mag... The communications where good and problems where rectified very quickly and professionally. Second set of magazines where delivered within a week with the correct address. Am now a happy bunny :D If anybody finds them self in the same situation I would recommend emailing Karolina directly... she has her finger on the pulse over there. P.S. Brilliant mag ! Cheers Craig B From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 15:24:36 2008 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 1E6271065697 for ; Fri, 10 Oct 2008 15:24:36 +0000 (UTC) (envelope-from paul.halliday@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.174]) by mx1.freebsd.org (Postfix) with ESMTP id CBF318FC17 for ; Fri, 10 Oct 2008 15:24:35 +0000 (UTC) (envelope-from paul.halliday@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so628992wfg.7 for ; Fri, 10 Oct 2008 08:24:35 -0700 (PDT) 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=F5jCkkHuWUobhKlwcMVu5kAltCwKD0Dwc+kCwstAzio=; b=Kz6zkbScj3Z2snz0OfJCz9qLUTBf2B4t/2V7swaORvtsIrSOh9ZyWHJIEOywljFB7t 6Qw2eeLm80W/K3yfBQ7CizEqj+xynURr3BjNLr8/2Byn55RkcDUNXcKcP3yVKsIoUKrY 83R/kgv6W/cf5un/eBAWkXt9fWIOEymXhDeTo= 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=Y4VQI60M2iSGBXqFJfazeED4qDzMyT2QbPMPGgp5vriOTu0EUl03Tj+iZNPbAXO9Ie yBMSjBajiB7FymWV7uhpMu21r/XCT0xxWDzyTZFR8qow75TnUSOu2fBBpHTXmglH8Y8R yvdkAVGcorQPYdHljFjstOD6g8s0JKtjq0Ato= Received: by 10.115.50.5 with SMTP id c5mr1841504wak.192.1223651961868; Fri, 10 Oct 2008 08:19:21 -0700 (PDT) Received: by 10.114.80.2 with HTTP; Fri, 10 Oct 2008 08:19:21 -0700 (PDT) Message-ID: <2dab70a30810100819v175fe867j87ad533b7f2651c9@mail.gmail.com> Date: Fri, 10 Oct 2008 12:19:21 -0300 From: "Paul Halliday" To: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: rc: not working as expected? (round 2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 15:24:36 -0000 (I mistakenly sent the last msg before finishing..) Or maybe an interpretation issue. I have a few startup scripts in rc.d and I am experiencing timing issues. i.e. I need xyz to start before abc. Within xyz I tried: # REQUIRE: abc This didn't work so I tried: 100.xyz 900.abc which doesn't appear to work either. What am I missing? Thanks. From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 15:35:42 2008 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 D14791065688 for ; Fri, 10 Oct 2008 15:35:42 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA07.emeryville.ca.mail.comcast.net (qmta07.emeryville.ca.mail.comcast.net [76.96.30.64]) by mx1.freebsd.org (Postfix) with ESMTP id B52D68FC13 for ; Fri, 10 Oct 2008 15:35:42 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA13.emeryville.ca.mail.comcast.net ([76.96.30.52]) by QMTA07.emeryville.ca.mail.comcast.net with comcast id R22T1a00917UAYkA73biBS; Fri, 10 Oct 2008 15:35:42 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA13.emeryville.ca.mail.comcast.net with comcast id R3bg1a00E2P6wsM8Z3bgn4; Fri, 10 Oct 2008 15:35:41 +0000 X-Authority-Analysis: v=1.0 c=1 a=5hEdkC7PT9sA:10 a=WnzRKLxnhysA:10 a=QycZ5dHgAAAA:8 a=g_dDDK1G4s5Hpgg4PKEA:9 a=DXfkHRH4Oa1Sm7UEuyPEbd0kdu0A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 95B9EC9419; Fri, 10 Oct 2008 08:35:40 -0700 (PDT) Date: Fri, 10 Oct 2008 08:35:40 -0700 From: Jeremy Chadwick To: Paul Halliday Message-ID: <20081010153540.GA35710@icarus.home.lan> References: <2dab70a30810100819v175fe867j87ad533b7f2651c9@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2dab70a30810100819v175fe867j87ad533b7f2651c9@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: questions@freebsd.org Subject: Re: rc: not working as expected? (round 2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 15:35:42 -0000 On Fri, Oct 10, 2008 at 12:19:21PM -0300, Paul Halliday wrote: > (I mistakenly sent the last msg before finishing..) > > Or maybe an interpretation issue. > > I have a few startup scripts in rc.d and I am experiencing timing > issues. i.e. I need xyz to start before abc. > > Within xyz I tried: > > # REQUIRE: abc > > This didn't work so I tried: > > 100.xyz > 900.abc > which doesn't appear to work either. > > What am I missing? The answer is probably in the rcorder(8) or rc(8) man pages. I'm betting you need to use the "BEFORE" clause, and the string you need to match on is whatever one (or more) of the "PROVIDE" clauses are in the script which you want to start first. -- | 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 Fri Oct 10 15:36:54 2008 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 51E8E10656A8 for ; Fri, 10 Oct 2008 15:36:54 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id 2D2518FC39 for ; Fri, 10 Oct 2008 15:36:54 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from 68-189-244-97.dhcp.oxfr.ma.charter.com ([68.189.244.97] helo=Gregory-Larkins-Computer.local) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KoK2s-000GYM-WB; Fri, 10 Oct 2008 11:36:52 -0400 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by Gregory-Larkins-Computer.local (Postfix) with ESMTP id C250C25E4058; Fri, 10 Oct 2008 11:36:50 -0400 (EDT) Message-ID: <48EF7695.5070407@FreeBSD.org> Date: Fri, 10 Oct 2008 11:36:53 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Paul Halliday References: <2dab70a30810100819v175fe867j87ad533b7f2651c9@mail.gmail.com> In-Reply-To: <2dab70a30810100819v175fe867j87ad533b7f2651c9@mail.gmail.com> X-Enigmail-Version: 0.95.7 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.3 (-) Cc: questions@freebsd.org Subject: Re: rc: not working as expected? (round 2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 15:36:54 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Paul Halliday wrote: > (I mistakenly sent the last msg before finishing..) > > Or maybe an interpretation issue. > > I have a few startup scripts in rc.d and I am experiencing timing > issues. i.e. I need xyz to start before abc. > > Within xyz I tried: > > # REQUIRE: abc > > This didn't work so I tried: > > 100.xyz > 900.abc > > which doesn't appear to work either. > > What am I missing? > > Thanks. Hi Paul, You may be using "REQUIRE: abc" in one script, but have you placed a corresponding "PROVIDE: abc" in another script? I also use rcorder to print the order in which my rc.d scripts will be loaded: http://www.freebsd.org/cgi/man.cgi?query=rcorder&sourceid=opensearch. Check /etc/rc to see how rcorder is invoked at various times during bootup. Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI73aV0sRouByUApARApUrAJ0VYBe6StWNPIFw6GUGphDQ+yjoywCbB0hF +BUsLASWGkL7PDVnP56vpTY= =idyk -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 15:37:43 2008 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 C744C106568A for ; Fri, 10 Oct 2008 15:37:43 +0000 (UTC) (envelope-from paul.halliday@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.172]) by mx1.freebsd.org (Postfix) with ESMTP id 7F3328FC0C for ; Fri, 10 Oct 2008 15:37:43 +0000 (UTC) (envelope-from paul.halliday@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so637690wfg.7 for ; Fri, 10 Oct 2008 08:37:42 -0700 (PDT) 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=s4CxVhC+aGzxRexocVeWwEzKnThRM/NgI+IJg2mX97g=; b=GnRHHLSIwCFy1W2YNBXu6G8B+xtdnxbsXqWo+HhvRwavYgTthyB1qdYeV/49wFSLQ6 vRe6nZAJrqGqWcazEgNZinKbatxv37FANMqj/dQ0em8GuGPWwtThANAsIqadmZmqP1C9 tpimpfLcw+R9+rTU9hiyy70H8lCmcXfBNc6ZE= 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=HHDt9PPUnyWaHmsXc0Cs8lyLKJ/o+kp/Dv/p2utQBeNFYKB7iySFG9GwEuBg9uRm39 tOtizj4HPC3EQowpsM6gMSSc+Vms4Ld4++BTGsuWMQwgGumRw1ub2o/QtDMhncyLHsHm 1IFZlHCCKbugWB5DyYuQMs6lojRCGsAaboziQ= Received: by 10.114.181.1 with SMTP id d1mr1885998waf.3.1223651622555; Fri, 10 Oct 2008 08:13:42 -0700 (PDT) Received: by 10.114.80.2 with HTTP; Fri, 10 Oct 2008 08:13:42 -0700 (PDT) Message-ID: <2dab70a30810100813j5a117ca2ncb85ca5b388efb6a@mail.gmail.com> Date: Fri, 10 Oct 2008 12:13:42 -0300 From: "Paul Halliday" To: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: rc: not working as expected? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 15:37:43 -0000 Or maybe an interpretation issue. I have a few startup scripts in rc.d and I am experiencing timing issues. i.e. I need xyz to start before abc. Within xyz I tried: From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 15:39:32 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7FDA1065686 for ; Fri, 10 Oct 2008 15:39:32 +0000 (UTC) (envelope-from agus.262@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.239]) by mx1.freebsd.org (Postfix) with ESMTP id 9BE828FC0A for ; Fri, 10 Oct 2008 15:39:32 +0000 (UTC) (envelope-from agus.262@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so524052rvf.43 for ; Fri, 10 Oct 2008 08:39:32 -0700 (PDT) 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 :content-transfer-encoding:content-disposition:references; bh=ARY7KKcbx5mvdYjEnlDcw/YEl6oOqsN+r9FL9Jrv1gc=; b=dTxFkw6LQlskM61Gl4g/c4uOgy7yDdgZ1HXqgPqOlw7oYXNQQax+lsqPgz4ClG/yUK Xfpid25dTA90uaQBLWm+3RCsiH3OSs/uGkkui/+qhZqP8MO/gB1LACIBQJfmucLZPp/W jQipTVuiZlQvIZZvHIx1M4+FKVeVMyU3PfcWI= 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:content-transfer-encoding:content-disposition :references; b=ITh8oc2fyAK4ZoLO7cnKb1smzIzANJ8tD6A94UhBPzmCSGVrDEipb46gfLpTibCwpz dojjt4jS5/3zeMt6lDCXWxtiNH50RQb7r239Ho0p8lZOKMzo9Wx1EyxNFWt/ezwrOUlC iXF4hWD7BaG0WmKeLqZUp91YKHpBDkRWrhUdw= Received: by 10.141.86.14 with SMTP id o14mr1199969rvl.227.1223653171990; Fri, 10 Oct 2008 08:39:31 -0700 (PDT) Received: by 10.141.82.17 with HTTP; Fri, 10 Oct 2008 08:39:31 -0700 (PDT) Message-ID: Date: Fri, 10 Oct 2008 12:39:31 -0300 From: Agus To: "FreeBSD Questions" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081009133417.2abcb98d@gumby.homeunix.com.> Subject: Re: Update System from 6.1 to last 6 Release with NOT generic Kernel... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 15:39:33 -0000 2008/10/10 Agus : > 2008/10/9 Agus : >> 2008/10/9 RW : >>> On Wed, 8 Oct 2008 19:08:42 -0300 >>> Agus wrote: >>> >>>> Hi guys... >>>> >>>> Just wanted to check a few things before crapping my system..hehehe >>>> >>>> I am planning on updating the system from 6.1 to the last 6.3-RELEASE >>>> p5 i think it is....according to the freebsd-update.sh... >>>> >>>> I am plannin on doing it with this tool...but my main concern is the >>>> modified kernel and the ports... >>> >>> You can't use freebsd-update on a modified kernel. >>> >>> Ports can be left unchanged unless you change the major version and go >>> to 7. >>> _______________________________________________ >>> 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" >>> >> >> Ohh....thanks... >> >> But in the middle of freebsd-update it says to update the kernel and >> rebuild it.....how should i update the kernel....or when it reboots >> and the /usr/src files have changed; i can see the new GENERIC >> file....i have to rebuild it from that new modified GENERIC, so that i >> custom it, and build the kernel from there? >> >> Thanks mate! >> Cheers, >> Agustin >> OK... I think i managed to do it....at least the uname is showing the 6.3-RELEASE p5, running my custom kernel.... I think i am missing to update the installed ports, but they are working ok, so i will do it later.... The thing was that after the freebsd-update install it wasnt taking the new rel.... it was cause i rebuild the kernel earlier than when the /usr/src files have been updated by the update.... when i rebooted they were updated so i rebuild my kernel according to the new GENERIC and reboot and all was OK :) Cheers and any doubrs just ask.... Agustin From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 16:12:18 2008 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 E364B1065692 for ; Fri, 10 Oct 2008 16:12:18 +0000 (UTC) (envelope-from bseklecki@collaborativefusion.com) Received: from collaborativefusion.com (mx01.pub.collaborativefusion.com [206.210.89.201]) by mx1.freebsd.org (Postfix) with ESMTP id 7793F8FC08 for ; Fri, 10 Oct 2008 16:12:18 +0000 (UTC) (envelope-from bseklecki@collaborativefusion.com) Received: from Internal Mail-Server by mx01 (envelope-from bseklecki@collaborativefusion.com) with SMTP; 10 Oct 2008 11:45:35 -0400 From: "Brian A. Seklecki" To: Paul Halliday In-Reply-To: <2dab70a30810100819v175fe867j87ad533b7f2651c9@mail.gmail.com> References: <2dab70a30810100819v175fe867j87ad533b7f2651c9@mail.gmail.com> Content-Type: text/plain Organization: Collaborative Fusion, Inc. Date: Fri, 10 Oct 2008 11:45:35 -0400 Message-Id: <1223653535.22435.282.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 (2.22.3.1-1.fc9) Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: rc: not working as expected? (round 2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bseklecki@collaborativefusion.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 16:12:19 -0000 You can do a dry run as a non root user: $ rcorder /etc/rc.d/* /usr/local/etc/rc.d* 2>&1 | more ~BAS On Fri, 2008-10-10 at 12:19 -0300, Paul Halliday wrote: > (I mistakenly sent the last msg before finishing..) > > Or maybe an interpretation issue. > > I have a few startup scripts in rc.d and I am experiencing timing > issues. i.e. I need xyz to start before abc. > > Within xyz I tried: > > # REQUIRE: abc > > This didn't work so I tried: > > 100.xyz > 900.abc > > which doesn't appear to work either. > > What am I missing? > > 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" -- Brian A. Seklecki Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 16:45:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D79621065688 for ; Fri, 10 Oct 2008 16:45:07 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from mx1.identry.com (on.identry.com [66.111.0.194]) by mx1.freebsd.org (Postfix) with ESMTP id 7B4EE8FC1D for ; Fri, 10 Oct 2008 16:45:07 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: (qmail 8072 invoked by uid 89); 10 Oct 2008 16:45:05 -0000 Received: from unknown (HELO ?192.168.1.110?) (jalmberg@75.127.142.66) by mx1.identry.com with ESMTPA; 10 Oct 2008 16:45:05 -0000 Mime-Version: 1.0 (Apple Message framework v753.1) Content-Transfer-Encoding: 7bit Message-Id: <110C2D5E-5772-4304-9F90-FDAC5EACAE2E@identry.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-questions@freebsd.org From: John Almberg Date: Fri, 10 Oct 2008 12:45:04 -0400 X-Mailer: Apple Mail (2.753.1) Subject: Firewall and FreeBSD ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 16:45:07 -0000 I just set up a new server with a very restricted PF configuration. One problem: I can no longer install software with ports (i.e, the / usr/ports collection.) I have to disable PF to do so. Obviously not a great solution. Am I correct in guessing that ports uses FTP to grab source files from mirrors? I'm trying to figure out the smallest number of ports (the TCP/IP kind) that I need to open in my firewall. I don't want to enable incoming FTP requests, but do want to allow outgoing ftp requests, I believe. Am I on the right track, here? Thanks: John From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 16:51:20 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29CA31065689 for ; Fri, 10 Oct 2008 16:51:20 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA08.emeryville.ca.mail.comcast.net (qmta08.emeryville.ca.mail.comcast.net [76.96.30.80]) by mx1.freebsd.org (Postfix) with ESMTP id 095748FC13 for ; Fri, 10 Oct 2008 16:51:19 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA05.emeryville.ca.mail.comcast.net ([76.96.30.43]) by QMTA08.emeryville.ca.mail.comcast.net with comcast id R3jW1a0080vp7WLA84rJds; Fri, 10 Oct 2008 16:51:18 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA05.emeryville.ca.mail.comcast.net with comcast id R4rH1a0052P6wsM8R4rHXR; Fri, 10 Oct 2008 16:51:18 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=rLwe9UDAkitx4A6hbK0A:9 a=ZzNSAbIko-dML5CnJ4cA:7 a=zHBKMT7uiZr0uK1fLHPf37lWQmQA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id F2A21C9419; Fri, 10 Oct 2008 09:51:16 -0700 (PDT) Date: Fri, 10 Oct 2008 09:51:16 -0700 From: Jeremy Chadwick To: John Almberg Message-ID: <20081010165116.GA37287@icarus.home.lan> References: <110C2D5E-5772-4304-9F90-FDAC5EACAE2E@identry.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <110C2D5E-5772-4304-9F90-FDAC5EACAE2E@identry.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Firewall and FreeBSD ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 16:51:20 -0000 On Fri, Oct 10, 2008 at 12:45:04PM -0400, John Almberg wrote: > I just set up a new server with a very restricted PF configuration. One > problem: I can no longer install software with ports (i.e, the / > usr/ports collection.) I have to disable PF to do so. Obviously not a > great solution. > > Am I correct in guessing that ports uses FTP to grab source files from > mirrors? I'm trying to figure out the smallest number of ports (the > TCP/IP kind) that I need to open in my firewall. I don't want to enable > incoming FTP requests, but do want to allow outgoing ftp requests, I > believe. > > Am I on the right track, here? See the fetch(1) man page. Try this first: sh/bash: export FTP_PASSIVE_MODE=true csh: setenv FTP_PASSIVE_MODE true Chances are this will address the problem for you. -- | 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 Fri Oct 10 17:19:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87FD31065692 for ; Fri, 10 Oct 2008 17:19:03 +0000 (UTC) (envelope-from lavalamp@spiritual-machines.org) Received: from mail.digitalfreaks.org (arbitor.digitalfreaks.org [216.151.95.158]) by mx1.freebsd.org (Postfix) with ESMTP id 5DCF58FC12 for ; Fri, 10 Oct 2008 17:19:03 +0000 (UTC) (envelope-from lavalamp@spiritual-machines.org) Received: by mail.digitalfreaks.org (Postfix, from userid 1022) id BAC0417980; Fri, 10 Oct 2008 13:19:02 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.digitalfreaks.org (Postfix) with ESMTP id B39331797B; Fri, 10 Oct 2008 13:19:02 -0400 (EDT) Date: Fri, 10 Oct 2008 13:19:02 -0400 (EDT) From: "Brian A. Seklecki" X-X-Sender: lavalamp@arbitor.digitalfreaks.org To: Paul Macdonald In-Reply-To: <48C52C7D.6070000@ifdnrg.com> Message-ID: <20081010131715.J29402@arbitor.digitalfreaks.org> References: <48C52C7D.6070000@ifdnrg.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: cvsup.uk.freebsd.org down X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 17:19:03 -0000 Did it ever come back? Someone with good BGP views should probably put all of the CVS/FTP/Rsync mirrors in Nagios (with something reasonable like a 6 hour check interval) and send reports to freebsd-www@ or so. ~BAS On Mon, 8 Sep 2008, Paul Macdonald wrote: > > I just noticed this cvs server is down > > I've switched to cvsup2 which seems fine for now, I presume any updates to 2 > are not dependent on cvsup.uk.freebsd being up? > > thanks > Paul. > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > l8* -lava (Brian A. Seklecki - Pittsburgh, PA, USA) http://www.spiritual-machines.org/ "Guilty? Yeah. But he knows it. I mean, you're guilty. You just don't know it. So who's really in jail?" ~Maynard James Keenan From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 17:24:13 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DA751065688 for ; Fri, 10 Oct 2008 17:24:13 +0000 (UTC) (envelope-from lavalamp@spiritual-machines.org) Received: from mail.digitalfreaks.org (arbitor.digitalfreaks.org [216.151.95.158]) by mx1.freebsd.org (Postfix) with ESMTP id E7CF58FC16 for ; Fri, 10 Oct 2008 17:24:12 +0000 (UTC) (envelope-from lavalamp@spiritual-machines.org) Received: by mail.digitalfreaks.org (Postfix, from userid 1022) id 820791795F; Fri, 10 Oct 2008 13:06:12 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.digitalfreaks.org (Postfix) with ESMTP id 80E4F1794F; Fri, 10 Oct 2008 13:06:12 -0400 (EDT) Date: Fri, 10 Oct 2008 13:06:11 -0400 (EDT) From: "Brian A. Seklecki" X-X-Sender: lavalamp@arbitor.digitalfreaks.org To: "Michael P. Soulier" In-Reply-To: Message-ID: <20081010125724.N29402@arbitor.digitalfreaks.org> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: support@cogeco.net, freebsd-questions Subject: Re: cvsup mirrors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 17:24:13 -0000 Or...contact the maintainer: http://www.dslreports.com/profile/191119 $ host cvsup1.ca.FreeBSD.org cvsup1.ca.FreeBSD.org is an alias for less.cogeco.net. less.cogeco.net has address 24.226.6.67 http://less.cogeco.net/ Many broken URLS. ~BAS On Fri, 12 Sep 2008, Michael P. Soulier wrote: > I found this http://www.freebsd.org/doc/en/books/handbook/cvsup.html#CVSUP-MIRRORS > > and it lists one for me in Canada. > > cvsup1.ca.freebsd.org > > Unfortunately, it doesn't have RELENG_6 on it. cvsup says it's not there. > > Does the mirrors list need an update? > > Thanks, > Mike > -- > 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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > l8* -lava (Brian A. Seklecki - Pittsburgh, PA, USA) http://www.spiritual-machines.org/ "Guilty? Yeah. But he knows it. I mean, you're guilty. You just don't know it. So who's really in jail?" ~Maynard James Keenan From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 17:24:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8217E1065688 for ; Fri, 10 Oct 2008 17:24:52 +0000 (UTC) (envelope-from lavalamp@spiritual-machines.org) Received: from mail.digitalfreaks.org (arbitor.digitalfreaks.org [216.151.95.158]) by mx1.freebsd.org (Postfix) with ESMTP id 587B98FC1F for ; Fri, 10 Oct 2008 17:24:52 +0000 (UTC) (envelope-from lavalamp@spiritual-machines.org) Received: by mail.digitalfreaks.org (Postfix, from userid 1022) id B9E3E1799C; Fri, 10 Oct 2008 13:24:51 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.digitalfreaks.org (Postfix) with ESMTP id B7C3117980; Fri, 10 Oct 2008 13:24:51 -0400 (EDT) Date: Fri, 10 Oct 2008 13:24:51 -0400 (EDT) From: "Brian A. Seklecki" X-X-Sender: lavalamp@arbitor.digitalfreaks.org To: Warren Liddell In-Reply-To: <200806242202.11684.shinjii@maydias.com> Message-ID: <20081010132419.A29402@arbitor.digitalfreaks.org> References: <200806230045.m5N0jC7W010268@mail5.tpg.com.au> <443an3m4pe.fsf@be-well.ilk.org> <200806242202.11684.shinjii@maydias.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Lowell Gilbert , freebsd-questions@freebsd.org Subject: Re: core Dumb during CVSUP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 17:24:52 -0000 > use csup, but at this stage, i'll wait untill portupgrade has finished to see > if anything changes in that reguards. Well, you could ktrace(8) the binary and/or rebuild it with debugging symbols and bt the coredump ~BAS ~BAS From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 17:42:17 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DB7E1065689 for ; Fri, 10 Oct 2008 17:42:17 +0000 (UTC) (envelope-from lavalamp@spiritual-machines.org) Received: from mail.digitalfreaks.org (arbitor.digitalfreaks.org [216.151.95.158]) by mx1.freebsd.org (Postfix) with ESMTP id 73E758FC0C for ; Fri, 10 Oct 2008 17:42:17 +0000 (UTC) (envelope-from lavalamp@spiritual-machines.org) Received: by mail.digitalfreaks.org (Postfix, from userid 1022) id A50A2179A2; Fri, 10 Oct 2008 13:42:16 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.digitalfreaks.org (Postfix) with ESMTP id A32191799D; Fri, 10 Oct 2008 13:42:16 -0400 (EDT) Date: Fri, 10 Oct 2008 13:42:16 -0400 (EDT) From: "Brian A. Seklecki" X-X-Sender: lavalamp@arbitor.digitalfreaks.org To: nagios-users@lists.sourceforge.net, freebsd-questions@freebsd.org Message-ID: <20081010133141.D29402@arbitor.digitalfreaks.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: Check_CVSUp / PServer - Nagios Plugins? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 17:42:17 -0000 Hey all: One of the big pitfalls of running a public CVS/CVSup/FTP mirror seems to be poor reporting on failed updates. I'd like add some Nagios monitoring to our project. For FTP and CVSUP rsyncs, I can have my cron(8)'d update scripts touch(1) a file if [ $? = 0 ]; then check them with libexec/nagios/check_file_age for mtime/utime. However, I'd also like to monitor the CVSup and PServer services as well at the protocol level. There do not seem to be any plugins in the public domain. Ideas: CVSUp: - php/perl/python bindings/libraries to talk cvsup protocol and maybe query a list of collections, plus the protocol version negotiated? - Is there maybe a way to exec() the cvsup(1)/csup(1) client in "list" mode? Does the protocol have a list operation? CVS Pserver: - Maybe just do a "cvs log src/Makefile" -- verifies that the protocol is active. SSH: - Duh FTP/RSYNC: - Yea Thougths? Discussion? l8* -lava (Brian A. Seklecki - Pittsburgh, PA, USA) http://www.spiritual-machines.org/ "Guilty? Yeah. But he knows it. I mean, you're guilty. You just don't know it. So who's really in jail?" ~Maynard James Keenan From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 17:47:30 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 587551065686 for ; Fri, 10 Oct 2008 17:47:30 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id CFBFC8FC1A for ; Fri, 10 Oct 2008 17:47:24 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2) with ESMTP id m9AHlBwB086701; Fri, 10 Oct 2008 19:47:11 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2/Submit) with ESMTP id m9AHl73q086698; Fri, 10 Oct 2008 19:47:10 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Fri, 10 Oct 2008 19:47:07 +0200 (CEST) From: Wojciech Puchar To: Zahemszky =?ISO-8859-2?Q?G=E1bor?= In-Reply-To: <20081009225136.6ca47d3b@Picasso.Zahemszky.HU> Message-ID: <20081010194656.J86695@wojtek.tensor.gdynia.pl> References: <20081009225136.6ca47d3b@Picasso.Zahemszky.HU> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: irq256 ???? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 17:47:30 -0000 > irq22: pcm0 52848 3 > irq23: uhci2 ehci1 1 0 > cpu0: timer 33503897 1929 > > > irq256: em0 42054 2 > it's MSI interrupt From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 18:11:11 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 017A71065696 for ; Fri, 10 Oct 2008 18:11:11 +0000 (UTC) (envelope-from fbsd06+2S=d302466b@mlists.homeunix.com) Received: from fallback-in1.mxes.net (fallback-out1.mxes.net [216.86.168.190]) by mx1.freebsd.org (Postfix) with ESMTP id CECCC8FC0C for ; Fri, 10 Oct 2008 18:11:10 +0000 (UTC) (envelope-from fbsd06+2S=d302466b@mlists.homeunix.com) Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by fallback-in1.mxes.net (Postfix) with ESMTP id D08CD1646FE for ; Fri, 10 Oct 2008 13:54:37 -0400 (EDT) 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 9F341D05AD for ; Fri, 10 Oct 2008 13:54:35 -0400 (EDT) Date: Fri, 10 Oct 2008 18:54:32 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20081010185432.6eed9643@gumby.homeunix.com.> In-Reply-To: <20081010165116.GA37287@icarus.home.lan> References: <110C2D5E-5772-4304-9F90-FDAC5EACAE2E@identry.com> <20081010165116.GA37287@icarus.home.lan> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Firewall and FreeBSD ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 18:11:11 -0000 On Fri, 10 Oct 2008 09:51:16 -0700 Jeremy Chadwick wrote: > On Fri, Oct 10, 2008 at 12:45:04PM -0400, John Almberg wrote: > > I just set up a new server with a very restricted PF configuration. > > One problem: I can no longer install software with ports (i.e, > > the / usr/ports collection.) I have to disable PF to do so. > > Obviously not a great solution. > > > > Am I correct in guessing that ports uses FTP to grab source files > > from mirrors? I'm trying to figure out the smallest number of ports > > (the TCP/IP kind) that I need to open in my firewall. I don't want > > to enable incoming FTP requests, but do want to allow outgoing ftp > > requests, I believe. > > > > Am I on the right track, here? > > See the fetch(1) man page. Try this first: > > sh/bash: export FTP_PASSIVE_MODE=true > csh: setenv FTP_PASSIVE_MODE true > passive ftp has been the default for long time, fetch is called with the -p option. If you have access to an http-proxy that supports ftp requests over http, fetch can use that. Alternately you can probably avoid ftp altogether by setting: MASTER_SORT_REGEX?= ^http: in make.conf From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 18:41:42 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8310B1065690 for ; Fri, 10 Oct 2008 18:41:42 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA10.emeryville.ca.mail.comcast.net (qmta10.emeryville.ca.mail.comcast.net [76.96.30.17]) by mx1.freebsd.org (Postfix) with ESMTP id 5BABB8FC16 for ; Fri, 10 Oct 2008 18:41:41 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA12.emeryville.ca.mail.comcast.net ([76.96.30.44]) by QMTA10.emeryville.ca.mail.comcast.net with comcast id R6MG1a0010x6nqcAA6hh5W; Fri, 10 Oct 2008 18:41:41 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA12.emeryville.ca.mail.comcast.net with comcast id R6hg1a0062P6wsM8Y6hgnm; Fri, 10 Oct 2008 18:41:41 +0000 X-Authority-Analysis: v=1.0 c=1 a=w2TobzjaAAAA:8 a=QycZ5dHgAAAA:8 a=_EfmQXLwte3v7qNmdl0A:9 a=vZgRVcbg8-kArwWYA6AA:7 a=gJ73NqBXccKuSWDlqjrBN-ojXRsA:4 a=EoioJ0NPDVgA:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 11FCEC9419; Fri, 10 Oct 2008 11:41:40 -0700 (PDT) Date: Fri, 10 Oct 2008 11:41:40 -0700 From: Jeremy Chadwick To: RW Message-ID: <20081010184140.GA40049@icarus.home.lan> References: <110C2D5E-5772-4304-9F90-FDAC5EACAE2E@identry.com> <20081010165116.GA37287@icarus.home.lan> <20081010185432.6eed9643@gumby.homeunix.com.> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081010185432.6eed9643@gumby.homeunix.com.> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Firewall and FreeBSD ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 18:41:42 -0000 On Fri, Oct 10, 2008 at 06:54:32PM +0100, RW wrote: > On Fri, 10 Oct 2008 09:51:16 -0700 > Jeremy Chadwick wrote: > > > On Fri, Oct 10, 2008 at 12:45:04PM -0400, John Almberg wrote: > > > I just set up a new server with a very restricted PF configuration. > > > One problem: I can no longer install software with ports (i.e, > > > the / usr/ports collection.) I have to disable PF to do so. > > > Obviously not a great solution. > > > > > > Am I correct in guessing that ports uses FTP to grab source files > > > from mirrors? I'm trying to figure out the smallest number of ports > > > (the TCP/IP kind) that I need to open in my firewall. I don't want > > > to enable incoming FTP requests, but do want to allow outgoing ftp > > > requests, I believe. > > > > > > Am I on the right track, here? > > > > See the fetch(1) man page. Try this first: > > > > sh/bash: export FTP_PASSIVE_MODE=true > > csh: setenv FTP_PASSIVE_MODE true > > passive ftp has been the default for long time, fetch is called > with the -p option. Let's give the users some actual detail, not terse one-liners which will induce more questions/confusion. First off, libfetch (which is what fetch(1)) uses) itself DOES NOT default to using FTP passive mode. You have to either pass the -p option to the fetch(1) binary, or you have to set the FTP_PASSIVE_MODE environment variable (which affects anything using libfetch). Secondly, the ports framework (not pkg_* tools!), specifically ports/Mk/bsd.port.mk, defines FETCH_ARGS with the -p argument to force passive mode. This will be used for things like "make fetch". It *will not* be used for things like "pkg_add -r" or "pkg_add ftp://..." The addition of the -p argument to FETCH_ARGS in ports/Mk/bsd.port.mk was applied to HEAD on 2006/09/20. HEAD at that time is what became FreeBSD 6.2. Of course, anyone updating their ports tree after that date would also get the change; I'm just pointing it out so people know what the actual date was when -p was added to the default argument list. Now let's expand a bit on FTP_PASSIVE_MODE, because I'm absolutely sure someone will try to argue "that's also been turned on by default for a long time"; I know how people are... :-) FTP_PASSIVE_MODE being set by default on login shells was induced by an addition to login.conf(5) back in late 2001 (around the time of RELENG_6). See revision 1.45 (not 1.44!) of src/etc/login.conf in cvsweb. But I'll remind people that login.conf only applies to login shells; logging in on the console, or logging in to an account via "ssh user@host". Most people I know of *do not* SSH into their servers as root; they SSH in as themselves and use sudo. Some use su2, and some use su. Let's examine the behaviours: $ env | grep FTP FTP_PASSIVE_MODE=YES As you can see here, the machine I've SSH'd into as myself does apply login.conf's defaults. But... $ sudo -s # env | grep FTP # exit $ sudo -i # env | grep FTP # The above scenario (as root) fails, since the FTP_PASSIVE_MODE environment variable isn't being handed down from the login shell (my user account) to the root shell spawned by sudo[1]. su, on the other hand, does it a little differently: $ su Password: # env | grep FTP FTP_PASSIVE_MODE=YES And likewise, "su -l" behaves the same way. The OP did not disclose how he was installing ports. A lot of users think that packages == ports, so for all we know, he could be pkg_add'ing things while using sudo and running into this. If "make fetch" in an actual port is timing out, then he's either doing it on a machine with a ports tree prior to 2006/09/20 (see above), or his outbound pf rules are so strict that the machine is absurdly limited. I've advocated in another thread my displeasure for filtering outbound traffic *solely* because of this exact scenario. Network admins seem to think that "oh, HTTP is always going to use port 80", and likewise, "oh, FTP is always going to use ports 20-21". Bzzzt. Nothing stops a MASTER_SITE from being http://lelele.com:9382/. [1]: The problem with sudo can be addressed; FTP_PASSIVE_MODE needs to be added to the env_keep list in the default sudoers file. I know the port maintainer, so I'll take this up with him so that users (including myself) don't keep getting bit by forgetting to set FTP_PASSIVE_MODE after doing a sudo. -- | 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 Fri Oct 10 18:49:45 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D21341065689 for ; Fri, 10 Oct 2008 18:49:45 +0000 (UTC) (envelope-from joe_tseng@hotmail.com) Received: from bay0-omc1-s24.bay0.hotmail.com (bay0-omc1-s24.bay0.hotmail.com [65.54.246.96]) by mx1.freebsd.org (Postfix) with ESMTP id 406768FC0C for ; Fri, 10 Oct 2008 18:49:45 +0000 (UTC) (envelope-from joe_tseng@hotmail.com) Received: from BAY117-W12 ([207.46.8.47]) by bay0-omc1-s24.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 10 Oct 2008 11:49:44 -0700 Message-ID: X-Originating-IP: [66.134.128.178] From: Joe Tseng To: Date: Fri, 10 Oct 2008 14:49:44 -0400 Importance: Normal Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 10 Oct 2008 18:49:44.0998 (UTC) FILETIME=[F65FDC60:01C92B08] Subject: gzipping multiple files w/o tarring X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 18:49:45 -0000 I'm sure this is easy but googling hasn't gotten me anywhere yet... I want= to compress all the files in my directory that don't already have a .gz ex= tension. I want them to be individual compressed files=2C not part of a si= ngle .tar.gz file. Can anyone point me to where I can find how to do this? tia=2C - Joe _________________________________________________________________ Want to do more with Windows Live? Learn =9310 hidden secrets=94 from Jamie= . http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!5= 50F681DAD532637!5295.entry?ocid=3DTXT_TAGLM_WL_domore_092008= From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 18:54:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2FF8106568F for ; Fri, 10 Oct 2008 18:54:39 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA02.emeryville.ca.mail.comcast.net (qmta02.emeryville.ca.mail.comcast.net [76.96.30.24]) by mx1.freebsd.org (Postfix) with ESMTP id 9F0178FC1A for ; Fri, 10 Oct 2008 18:54:39 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA12.emeryville.ca.mail.comcast.net ([76.96.30.44]) by QMTA02.emeryville.ca.mail.comcast.net with comcast id QzmK1a0020x6nqcA26ufYa; Fri, 10 Oct 2008 18:54:39 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA12.emeryville.ca.mail.comcast.net with comcast id R6ue1a0052P6wsM8Y6ueDf; Fri, 10 Oct 2008 18:54:39 +0000 X-Authority-Analysis: v=1.0 c=1 a=TS5l45rMeooA:10 a=QycZ5dHgAAAA:8 a=WZezJ6-_PulzxzDIkSUA:9 a=iTJcF5UF6sEVrCkqAJvFfQ6RFY8A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 40793C9419; Fri, 10 Oct 2008 11:54:38 -0700 (PDT) Date: Fri, 10 Oct 2008 11:54:38 -0700 From: Jeremy Chadwick To: Joe Tseng Message-ID: <20081010185438.GA40860@icarus.home.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: gzipping multiple files w/o tarring X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 18:54:39 -0000 On Fri, Oct 10, 2008 at 02:49:44PM -0400, Joe Tseng wrote: > > I'm sure this is easy but googling hasn't gotten me anywhere yet... I want to compress all the files in my directory that don't already have a .gz extension. I want them to be individual compressed files, not part of a single .tar.gz file. Can anyone point me to where I can find how to do this? "gzip *" will do what you want. When it encounters something that's already gzip'd, it will skip it, but will emit a warning that it's doing so. Otherwise, you could use something like: find -X . \! -name "*.tar.gz" -type f -maxdepth 1 | xargs gzip Which would do the same as "gzip *", but would ignore any files with a .tar.gz extension. -- | 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 Fri Oct 10 18:58:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50C3F1065687 for ; Fri, 10 Oct 2008 18:58:21 +0000 (UTC) (envelope-from mike.jeays@rogers.com) Received: from smtp131.rog.mail.re2.yahoo.com (smtp131.rog.mail.re2.yahoo.com [206.190.53.36]) by mx1.freebsd.org (Postfix) with SMTP id DE8A78FC1A for ; Fri, 10 Oct 2008 18:58:20 +0000 (UTC) (envelope-from mike.jeays@rogers.com) Received: (qmail 47098 invoked from network); 10 Oct 2008 18:58:20 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:From:To:Subject:Date:User-Agent:References:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Disposition:Message-Id; b=2+8JS+LBm5EPbzPOG8JjF7E8/oIDctkRpIH7901xvO78cf74URidycjJ509xDWqaYE0HfiuLM2RCuw4s6v93FUFKQqWjN1hD4wi2haBFmjpxPPykKqlfr5rRWUEPCvr9xjeV7WBqNFFS/SQDPLk/sJ12ENx0n34Ejdtkg9a7iSQ= ; Received: from unknown (HELO napoleon.local) (mike.jeays@99.224.75.182 with login) by smtp131.rog.mail.re2.yahoo.com with SMTP; 10 Oct 2008 18:58:19 -0000 X-YMail-OSG: Vyj47XQVM1k8iZ3.oW2SMLOmBotf4e7ghROhktUhluy4lYYkB0U3rL0caxVAP9xRGw-- X-Yahoo-Newman-Property: ymail-3 From: Mike Jeays To: freebsd-questions@freebsd.org Date: Fri, 10 Oct 2008 14:58:18 -0400 User-Agent: KMail/1.9.9 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200810101458.18581.mike.jeays@rogers.com> Subject: Re: gzipping multiple files w/o tarring X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 18:58:21 -0000 On October 10, 2008 02:49:44 pm Joe Tseng wrote: > I'm sure this is easy but googling hasn't gotten me anywhere yet... I wa= nt > to compress all the files in my directory that don't already have a .gz > extension. I want them to be individual compressed files, not part of a > single .tar.gz file. Can anyone point me to where I can find how to do > this? > > tia, > > - Joe > _________________________________________________________________ > Want to do more with Windows Live? Learn =9310 hidden secrets=94 from Jam= ie. > http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns= !5 >50F681DAD532637!5295.entry?ocid=3DTXT_TAGLM_WL_domore_092008______________= ____ >_____________________________ 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" "gzip *" will do it. It leaves out files that already have the .gz extensi= on. "gunzip *" will put them back the way they were. =2D-=20 Mike Jeays http://www.jeays.ca From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 19:15:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0BC4B1065694 for ; Fri, 10 Oct 2008 19:15:59 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from smtpauth.surewest.net (smtpauth.surewest.net [66.60.130.153]) by mx1.freebsd.org (Postfix) with ESMTP id EF8A58FC2B for ; Fri, 10 Oct 2008 19:15:58 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from blacklamb.mykitchentable.net (unknown [69.62.230.77]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtpauth.surewest.net (Postfix) with ESMTP id 85F2F9ABB4 for ; Fri, 10 Oct 2008 12:14:21 -0700 (PDT) Received: from [192.168.1.3] (bigdaddy.mykitchentable.net [192.168.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by blacklamb.mykitchentable.net (Postfix) with ESMTPSA id 50C88164A81 for ; Fri, 10 Oct 2008 12:15:56 -0700 (PDT) Message-ID: <48EFAA0B.1030908@mykitchentable.net> Date: Fri, 10 Oct 2008 12:16:27 -0700 From: Drew Tomlinson User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: libncurses.so.6 Not Found - How to Get 32 bit Version? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 19:15:59 -0000 First, I must say I love the ports system!!! It keeps me from suffering as I am now. :) Anyway, I'm attempting to install a web log analysis software from Google named "Urchin". The installation docs say it's supported on FBSD 6.2+. As I am dedicating a machine to this software, I've performed a brand new install of 7.1-PRERELEASE. I'm using the amd64 version on a Intel Core 2 Duo processor. With help from the list, I overcame the first library issue by installing the compat6x libraries from ports. Now the install script is complaining that "/libexec/ld-elf.so.1: Shared object "libncurses.so.6" not found". I used ldd on the executable the script is attempting to run and get this output: libncurses.so.6 => not found (0x0) libcrypt.so.3 => /usr/local/lib32/compat/libcrypt.so.3 (0x280be000) libz.so.3 => /usr/local/lib32/compat/libz.so.3 (0x280d7000) libstdc++.so.5 => /usr/local/lib32/compat/libstdc++.so.5 (0x280e8000) libm.so.4 => /usr/local/lib32/compat/libm.so.4 (0x281be000) libc.so.6 => /usr/local/lib32/compat/libc.so.6 (0x281d4000) I did search my system and found /usr/local/lib/compat/libncurses.so.6. I tried adding a symlink to /usr/local/lib32/compat but then received an "...unsupported layout..." error when attempting to run the executable: I assume that is because the libncurses.so.6 library is a 64 bit version? I've removed the symlink. Assuming my assumptions are correct, how can I get a 32 bit libncurses.so.6 version on my system? Or if I'm wrong, what do I need? Thanks, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 19:42:47 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 569871065697; Fri, 10 Oct 2008 19:42:47 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 7B4048FC0A; Fri, 10 Oct 2008 19:42:46 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2) with ESMTP id m9AJgf7x079949; Fri, 10 Oct 2008 21:42:41 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2/Submit) with ESMTP id m9AJgfre079942; Fri, 10 Oct 2008 21:42:41 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Fri, 10 Oct 2008 21:42:41 +0200 (CEST) From: Wojciech Puchar To: Jeremy Chadwick In-Reply-To: <20081010185438.GA40860@icarus.home.lan> Message-ID: <20081010214211.J79246@wojtek.tensor.gdynia.pl> References: <20081010185438.GA40860@icarus.home.lan> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Joe Tseng , freebsd-questions@FreeBSD.org Subject: Re: gzipping multiple files w/o tarring X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 19:42:47 -0000 > > "gzip *" will do what you want. > > When it encounters something that's already gzip'd, it will skip it, > but will emit a warning that it's doing so. > > Otherwise, you could use something like: > > find -X . \! -name "*.tar.gz" -type f -maxdepth 1 | xargs gzip > i don't understand the difference. .tar.gz files are already gzip'd :), so no need for second case. it will be skipped anyway From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 19:43:43 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AF1F1065689 for ; Fri, 10 Oct 2008 19:43:43 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 8965F8FC16 for ; Fri, 10 Oct 2008 19:43:42 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2) with ESMTP id m9AJhbcj080516; Fri, 10 Oct 2008 21:43:37 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2/Submit) with ESMTP id m9AJhbOm080510; Fri, 10 Oct 2008 21:43:37 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Fri, 10 Oct 2008 21:43:37 +0200 (CEST) From: Wojciech Puchar To: John Almberg In-Reply-To: <110C2D5E-5772-4304-9F90-FDAC5EACAE2E@identry.com> Message-ID: <20081010214301.V79246@wojtek.tensor.gdynia.pl> References: <110C2D5E-5772-4304-9F90-FDAC5EACAE2E@identry.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Firewall and FreeBSD ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 19:43:43 -0000 > problem: I can no longer install software with ports (i.e, the /usr/ports > collection.) I have to disable PF to do so. Obviously not a great solution. > > Am I correct in guessing that ports uses FTP to grab source files from FTP or HTTP. if you have http proxy like squid in your network do export http_proxy=http://yourproxy:port export ftp_proxy=http://yourproxy:port From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 19:59:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97487106568C for ; Fri, 10 Oct 2008 19:59:52 +0000 (UTC) (envelope-from k0802647@telus.net) Received: from defout.telus.net (defout.telus.net [199.185.220.240]) by mx1.freebsd.org (Postfix) with ESMTP id 4CBC98FC14 for ; Fri, 10 Oct 2008 19:59:52 +0000 (UTC) (envelope-from k0802647@telus.net) Received: from priv-edtnaa06.telusplanet.net ([75.157.28.2]) by priv-edtnes27.telusplanet.net (InterMail vM.7.08.02.02 201-2186-121-104-20070414) with ESMTP id <20081010200029.HQFK18352.priv-edtnes27.telusplanet.net@priv-edtnaa06.telusplanet.net>; Fri, 10 Oct 2008 14:00:29 -0600 Received: from oliver.bc.lan (d75-157-28-2.bchsia.telus.net [75.157.28.2]) by priv-edtnaa06.telusplanet.net (BorderWare Security Platform) with ESMTP id 24ED1B333C3A00B5; Fri, 10 Oct 2008 13:59:51 -0600 (MDT) Received: from [10.111.111.112] (unknown [10.111.111.112]) by oliver.bc.lan (Postfix) with ESMTP id F073661E0; Fri, 10 Oct 2008 12:59:50 -0700 (PDT) Message-ID: <48EFB436.4040103@telus.net> Date: Fri, 10 Oct 2008 12:59:50 -0700 From: Carl User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: fbsd1@a1poweruser.com, freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: cannot install from existing UFS thumb drive with sysinstall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 19:59:52 -0000 FBSD1 wrote: > There is a outstanding PR on sysinstall from usb flash drive which is now > over a year old. The sysinstall install program needs to be updated to use > usb drives as the source of the install media. You could always edit the > sysinstall program source code and make a patch to allow usb sysinstall > media. Other than that you are S.O.L. > > I use this script to build my bootable 1GB USB flash drive [ ... ] Should I assume you've tried the fdisk/disk label method of mounting your flash drive in sysinstall and that it does not actually work either? I've been using FreeBSD for well over a decade and it seems that sysinstall development was all but abandoned a very long time ago. FWIW, the reason I didn't use your script was that in my case I'm actually creating multiple partitions on an 8GB thumb drive and using syslinux such that I can boot any one of several live disk images. FreeBSD seems to be the one distribution that hasn't clued in that USB flash devices are ubiquitous. For my hardware, it also looks like FreeBSD may be having problems with SATA DVD drives too. Since the motherboard has no IDE controller, USB flash drives may be my only hope unless I want to move to another OS. Carl / K0802647 From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 20:16:31 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2A6F1065686 for ; Fri, 10 Oct 2008 20:16:31 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from mx1.identry.com (on.identry.com [66.111.0.194]) by mx1.freebsd.org (Postfix) with ESMTP id 8F6898FC12 for ; Fri, 10 Oct 2008 20:16:31 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: (qmail 37194 invoked by uid 89); 10 Oct 2008 20:16:31 -0000 Received: from unknown (HELO ?192.168.1.110?) (jalmberg@75.127.142.66) by mx1.identry.com with ESMTPA; 10 Oct 2008 20:16:31 -0000 Mime-Version: 1.0 (Apple Message framework v753.1) References: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: John Almberg Date: Fri, 10 Oct 2008 16:16:29 -0400 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.753.1) Subject: Fwd: Firewall and FreeBSD ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 20:16:31 -0000 On Oct 10, 2008, at 2:41 PM, Jeremy Chadwick wrote: > On Fri, Oct 10, 2008 at 06:54:32PM +0100, RW wrote: >> On Fri, 10 Oct 2008 09:51:16 -0700 >> Jeremy Chadwick wrote: >> >>> On Fri, Oct 10, 2008 at 12:45:04PM -0400, John Almberg wrote: >>>> I just set up a new server with a very restricted PF configuration. >>>> One problem: I can no longer install software with ports (i.e, >>>> the / usr/ports collection.) I have to disable PF to do so. >>>> Obviously not a great solution. >>>> >>>> Am I correct in guessing that ports uses FTP to grab source files >>>> from mirrors? I'm trying to figure out the smallest number of ports >>>> (the TCP/IP kind) that I need to open in my firewall. I don't want >>>> to enable incoming FTP requests, but do want to allow outgoing ftp >>>> requests, I believe. >>>> >>>> Am I on the right track, here? >>> >>> See the fetch(1) man page. Try this first: >>> >>> sh/bash: export FTP_PASSIVE_MODE=true >>> csh: setenv FTP_PASSIVE_MODE true First off, this did solve the problem. Thank you, Jeremy. Now, as to the why... >> >> passive ftp has been the default for long time, fetch is called >> with the -p option. > > Let's give the users some actual detail, not terse one-liners which > will > induce more questions/confusion. > > First off, libfetch (which is what fetch(1)) uses) itself DOES NOT > default to using FTP passive mode. You have to either pass the -p > option to the fetch(1) binary, or you have to set the FTP_PASSIVE_MODE > environment variable (which affects anything using libfetch). > > Secondly, the ports framework (not pkg_* tools!), specifically > ports/Mk/bsd.port.mk, defines FETCH_ARGS with the -p argument to force > passive mode. This will be used for things like "make fetch". It > *will > not* be used for things like "pkg_add -r" or "pkg_add ftp://..." > > The addition of the -p argument to FETCH_ARGS in ports/Mk/bsd.port.mk > was applied to HEAD on 2006/09/20. HEAD at that time is what became > FreeBSD 6.2. Of course, anyone updating their ports tree after that > date would also get the change; I'm just pointing it out so people > know > what the actual date was when -p was added to the default argument > list. > > Now let's expand a bit on FTP_PASSIVE_MODE, because I'm absolutely > sure > someone will try to argue "that's also been turned on by default for a > long time"; I know how people are... :-) > > FTP_PASSIVE_MODE being set by default on login shells was induced > by an > addition to login.conf(5) back in late 2001 (around the time of > RELENG_6). See revision 1.45 (not 1.44!) of src/etc/login.conf in > cvsweb. > > But I'll remind people that login.conf only applies to login shells; > logging in on the console, or logging in to an account via "ssh > user@host". Most people I know of *do not* SSH into their servers as > root; they SSH in as themselves and use sudo. Some use su2, and some > use su Root ssh access is disabled on this machine. I login as a normal user, and then use sudo. The only time I use su is when sudo does not work (another question for another day!) > Let's examine the behaviours: > > $ env | grep FTP > FTP_PASSIVE_MODE=YES > > As you can see here, the machine I've SSH'd into as myself does apply > login.conf's defaults. But... > > $ sudo -s > # env | grep FTP > # exit > $ sudo -i > # env | grep FTP > # H'mmm... yes. This is true on my machine, too. > > The above scenario (as root) fails, since the FTP_PASSIVE_MODE > environment variable isn't being handed down from the login shell (my > user account) to the root shell spawned by sudo[1]. > > su, on the other hand, does it a little differently: > > $ su > Password: > # env | grep FTP > FTP_PASSIVE_MODE=YES > > And likewise, "su -l" behaves the same way. Yes... although I must say I'm confused by this behavior... In fact, it's the exact opposite of what I'd expect... from the su man pages -l Simulate a full login. The environment is discarded except for HOME, SHELL, PATH, TERM, and USER. HOME and SHELL are modified as above. USER is set to the target login. PATH is set to ``/bin:/usr/bin''. So why isn't the FTP environment variable discarded? > > The OP did not disclose how he was installing ports. A lot of users > think that packages == ports, so for all we know, he could be > pkg_add'ing things while using sudo and running into this. I believe I am using ports. In this case, I had just installed and configured PF (the first thing I do, now, when building a new machine.) I then wanted to install NTP: cd /usr/ports/net/ntp make config; make install clean This failed because the mirrors were not accessible. > > If "make fetch" in an actual port is timing out, then he's either > doing > it on a machine with a ports tree prior to 2006/09/20 (see above), or > his outbound pf rules are so strict that the machine is absurdly > limited. The machine has Production Release 7.0 My outbound PF rules are fairly loose. Inbound are very tight. This is going to be a database server with 1 user. It's going to be running one Ruby application that will accept new data and periodically process the data. The only access is going to be through a ssh tunnel. The database has valuable information, so I want it to be as locked down as possible. > > I've advocated in another thread my displeasure for filtering outbound > traffic *solely* because of this exact scenario. Network admins seem > to think that "oh, HTTP is always going to use port 80", and likewise, > "oh, FTP is always going to use ports 20-21". Bzzzt. Nothing stops > a MASTER_SITE from being http://lelele.com:9382/. No, I think I understand this. > [1]: The problem with sudo can be addressed; FTP_PASSIVE_MODE needs to > be added to the env_keep list in the default sudoers file. I know the > port maintainer, so I'll take this up with him so that users > (including > myself) don't keep getting bit by forgetting to set FTP_PASSIVE_MODE > after doing a sudo. Whew... I can't say I understand all this. However, you've given me my weekend reading assignment. Hopefully this will all be a bit clearer by Monday morning. Thanks, Jeremy. -- John From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 20:16:55 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D8FA1065690 for ; Fri, 10 Oct 2008 20:16:55 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from mx1.identry.com (on.identry.com [66.111.0.194]) by mx1.freebsd.org (Postfix) with ESMTP id 3C4098FC18 for ; Fri, 10 Oct 2008 20:16:55 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: (qmail 37219 invoked by uid 89); 10 Oct 2008 20:16:54 -0000 Received: from unknown (HELO ?192.168.1.110?) (jalmberg@75.127.142.66) by mx1.identry.com with ESMTPA; 10 Oct 2008 20:16:54 -0000 Mime-Version: 1.0 (Apple Message framework v753.1) To: freebsd-questions@freebsd.org Message-Id: <4BD73CA9-B673-4CFC-9F26-3E6362F77CCE@identry.com> References: <183F602B-ECC8-4426-BA29-E88F67B8B265@identry.com> From: John Almberg Date: Fri, 10 Oct 2008 16:16:53 -0400 X-Mailer: Apple Mail (2.753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Fwd: Firewall and FreeBSD ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 20:16:55 -0000 > sh/bash: export FTP_PASSIVE_MODE=true Ah... because in passive mode, the client (my server) sets the data port, and my PF rules allow return data on the port used for the request. Okay... that makes sense, I think... (little by little, it sinks in...) -- John From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 20:23:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA6231065688 for ; Fri, 10 Oct 2008 20:23:08 +0000 (UTC) (envelope-from fbsd06+2S=d302466b@mlists.homeunix.com) Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by mx1.freebsd.org (Postfix) with ESMTP id 9740E8FC13 for ; Fri, 10 Oct 2008 20:23:08 +0000 (UTC) (envelope-from fbsd06+2S=d302466b@mlists.homeunix.com) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 345A7D04FF for ; Fri, 10 Oct 2008 16:23:06 -0400 (EDT) Date: Fri, 10 Oct 2008 21:23:04 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20081010212304.1bbc9996@gumby.homeunix.com.> In-Reply-To: <20081010184140.GA40049@icarus.home.lan> References: <110C2D5E-5772-4304-9F90-FDAC5EACAE2E@identry.com> <20081010165116.GA37287@icarus.home.lan> <20081010185432.6eed9643@gumby.homeunix.com.> <20081010184140.GA40049@icarus.home.lan> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Firewall and FreeBSD ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 20:23:08 -0000 On Fri, 10 Oct 2008 11:41:40 -0700 Jeremy Chadwick wrote: > On Fri, Oct 10, 2008 at 06:54:32PM +0100, RW wrote: > > On Fri, 10 Oct 2008 09:51:16 -0700 > > Jeremy Chadwick wrote: > > passive ftp has been the default for long time, fetch is called > > with the -p option. > > Let's give the users some actual detail, not terse one-liners which > will induce more questions/confusion. < Snip some facts used as a blunt instrument > > The OP did not disclose how he was installing ports. A lot of users > think that packages == ports, I don't normally do this as Watson is usually less impressed when Holmes reveals his working, but the clues were there. He wrote: "install software with ports (i.e, the /usr/ports collection.)" and "FTP to grab source files from mirrors" If you combine that with crediting the poster with enough common sense to mention he was using a version before 6.2, then it seemed unlikely to be a problem with active FTP. BTW neither of us actually answered the question. I know I forgot as I was in a hurry. I'm pretty sure you didn't either, but I don't have the time to read all of your reply in detail. The answer is: enable outgoing tcp connections to port 21 and to all ports above 1023. From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 20:25:04 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 118BB1065691 for ; Fri, 10 Oct 2008 20:25:04 +0000 (UTC) (envelope-from alancyang@gmail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.179]) by mx1.freebsd.org (Postfix) with ESMTP id C49C48FC1E for ; Fri, 10 Oct 2008 20:25:03 +0000 (UTC) (envelope-from alancyang@gmail.com) Received: by el-out-1112.google.com with SMTP id v27so317877ele.13 for ; Fri, 10 Oct 2008 13:25:02 -0700 (PDT) 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 :content-transfer-encoding:content-disposition:references; bh=dw+quje5Pi9zkGKZLomYkCBtj6qUr+NE48q+8PKTHbQ=; b=gByjc99epUIyyCrOIFB14AhRnTySqgQLPpf7LHR1WvWz7XS/uzHSMyjJmXAKH46+P2 2+npcsTPT0e7FLUBuAfKIkSigWVbR490TOz8M/ulxaase6AFAFwXmrQZtm4ra1BMR8O3 F3UJ2LjjtMpQx3ZV0rrL/KcnBBVCR6Fpkc61o= 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:content-transfer-encoding:content-disposition :references; b=Xbc+KD6xbCXJdaA9RM0jrDfQYc0AyaRH3yn0fnO252ti3Aa6o9dQYexUavMeTAhOCJ +QQx2ETsyin36BHtc34zik4yfLsw+lIqipvdhn2CZeBq+mrAGo0b37q66DTgWby83pMs M6BWX/FU9A9dAD9ywGgdwOLXskDTvXa9O9Ymw= Received: by 10.90.53.1 with SMTP id b1mr640996aga.51.1223670302624; Fri, 10 Oct 2008 13:25:02 -0700 (PDT) Received: by 10.90.94.14 with HTTP; Fri, 10 Oct 2008 13:25:02 -0700 (PDT) Message-ID: <290865fd0810101325kbd4caber6b132253784523a5@mail.gmail.com> Date: Fri, 10 Oct 2008 13:25:02 -0700 From: "alan yang" To: freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org In-Reply-To: <290865fd0810090846y57bbdc1fs3db5c5334fe80c09@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <290865fd0810090846y57bbdc1fs3db5c5334fe80c09@mail.gmail.com> Cc: Subject: Re: setkey panic freebsd7 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 20:25:04 -0000 sorry, /usr/local/sbin/setkey failed on parsing that specific add, not panic. no specific info, just say parse failed. maybe something is not supported ...? On Thu, Oct 9, 2008 at 8:46 AM, alan yang wrote: > i wonder people ran into similar issue on setkey with freebsd7 that > panic at ~/crypto/sha1.c:263 within sha1_result() > digest[0] = ctxt->h.b8[3]; digest[1] = ctxt->h.b8[2]; > > on the following sadb add with setkey: > add 192.168.0.101 192.168.0.110 esp-old 0x10001 -m any -E des-cbc > "12345678" -A keyed-sha1 "12345678123456781234" > > thanks in advance on any hints. > From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 20:57:04 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D6401065698 for ; Fri, 10 Oct 2008 20:57:04 +0000 (UTC) (envelope-from fbsdlists@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.236]) by mx1.freebsd.org (Postfix) with ESMTP id F03428FC1C for ; Fri, 10 Oct 2008 20:57:03 +0000 (UTC) (envelope-from fbsdlists@gmail.com) Received: by wx-out-0506.google.com with SMTP id s17so336229wxc.7 for ; Fri, 10 Oct 2008 13:57:03 -0700 (PDT) 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=+1uqP4EFIyPp3ZRjPFfLG5F1iKz6jW7lY6Ta8SntAP4=; b=BVi2V5qPIMaicNqp0PG7V0pNVdZt7yPPRs4wO0FEO+Yvg924tjzFVy3dWrt6fMk2De /3sKcgtPi/U0V/eN3Qm/iCFQyVKWdLXDEI8igOOjbmE/Vh6Q1YX119fISFVG9/9rym/V lxU+BDBqUYK8N2sbvUqktLtBS46xrIN2habeA= 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=RXdgbQ+TGQb0O5IK4liJ6uWaaBfR49L0hp+RMsYO2EdH7cHPc4X2H9bty+6vm/vtSg HQbM6zsoUeZGRvaGbcKmwDjOXypIyd/vAk/W1Zj+HmdTKx+77QmVsNt5cIfUy/6F/WfW j7TjlC/kKljfeMkkpQD2PSG3iigmACMxzv0a8= Received: by 10.150.158.8 with SMTP id g8mr2882276ybe.240.1223672223042; Fri, 10 Oct 2008 13:57:03 -0700 (PDT) Received: by 10.150.97.11 with HTTP; Fri, 10 Oct 2008 13:57:03 -0700 (PDT) Message-ID: <54db43990810101357o6f6396cfsb4ec48585a1c99b@mail.gmail.com> Date: Fri, 10 Oct 2008 16:57:03 -0400 From: "Bob Johnson" 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: kernel: Approaching the limit on PV entries... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 20:57:04 -0000 A web server with several jailed copies of Apache is having problems that seem to be caused by incorrect IPFW rules, but in the process of working on that, I find in the log the following repeated many times: Oct 8 23:29:50 spider kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max sysctl. Oct 8 23:30:52 spider kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max sysctl. sysctl gives me: # sysctl vm.pmap vm.pmap.pmap_collect_active: 0 vm.pmap.pmap_collect_inactive: 0 vm.pmap.pv_entry_spare: 45818 vm.pmap.pv_entry_allocs: 595716945 vm.pmap.pv_entry_frees: 595133939 vm.pmap.pc_chunk_tryfail: 0 vm.pmap.pc_chunk_frees: 3543052 vm.pmap.pc_chunk_allocs: 3546795 vm.pmap.pc_chunk_count: 3743 vm.pmap.pv_entry_count: 583006 vm.pmap.shpgperproc: 200 vm.pmap.pv_entry_max: 2243305 The system: FreeBSD .... 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #0: Wed Oct 1 07:51:58 UTC 2008 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 Can someone briefly explain what this is telling me and how to decide which sysctl to increase? I have found some old postings that predate the sysctls that suggested increasing shpgperproc in the kernel configuration, about 50 at a time until the problem goes away, but I still have no clue what that is accomplishing. Also, the system has been rebooted since I collected those messages, and they aren't happening any more, but I expect they will reappear eventually. Until then I probably can't actually test anything. Thanks for your time, -- Bob Johnson fbsdlists@gmail.com From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 21:02:25 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FB2C1065686 for ; Fri, 10 Oct 2008 21:02:25 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from k7.mavetju.org (ppp121-44-105-133.lns10.syd6.internode.on.net [121.44.105.133]) by mx1.freebsd.org (Postfix) with ESMTP id 68ADC8FC0A for ; Fri, 10 Oct 2008 21:02:25 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: by k7.mavetju.org (Postfix, from userid 1001) id 447EA45039; Sat, 11 Oct 2008 08:01:43 +1100 (EST) Date: Sat, 11 Oct 2008 08:01:43 +1100 From: Edwin Groothuis To: freebsd-questions@FreeBSD.org Message-ID: <20081010210143.GA67702@mavetju.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: "Brian A. Seklecki" Subject: Re: cvsup.uk.freebsd.org down X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 21:02:25 -0000 > Someone with good BGP views should probably put all of the CVS/FTP/Rsync > mirrors in Nagios (with something reasonable like a 6 hour check interval) > and send reports to freebsd-www@ or so. The closest thing we have on it is: http://www.mavetju.org/unix/freebsd-mirrors/ Edwin -- Edwin Groothuis Website: http://www.mavetju.org/ edwin@mavetju.org Weblog: http://www.mavetju.org/weblog/ From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 21:31:24 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC25D1065691 for ; Fri, 10 Oct 2008 21:31:24 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id B0D3F8FC18 for ; Fri, 10 Oct 2008 21:31:24 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id m9ALVYXd094817 for ; Fri, 10 Oct 2008 14:31:34 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Fri, 10 Oct 2008 14:31:20 -0700 (PDT) Date: Fri, 10 Oct 2008 14:31:19 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20081010213116.GA50746@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 22 years of service to the Unix community. X-Spam-Status: No, score=-4.3 required=3.6 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: kwik question re virt websites... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 21:31:25 -0000 Guys, When I restarted apache22, there was a warning that something was missing. It had nothing [ hopefully ] to do with the new virtual site I want to set up. Can anybody tell me what the following error is? I do have an index.html file in /usr/local/www/cryonics. Also have the entries in the apache22/Includes/httpd* and in my namedb/* files. I have more that five virtual websites; what am I forgetting here?? gary lynx: Can't access startfile http://cryonics.thought.org/ -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 22:08:48 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E87651065687 for ; Fri, 10 Oct 2008 22:08:48 +0000 (UTC) (envelope-from fcondo@quinn.com) Received: from sushi.quinn.com (sushi.quinn.com [216.27.181.95]) by mx1.freebsd.org (Postfix) with ESMTP id D0F4D8FC13 for ; Fri, 10 Oct 2008 22:08:48 +0000 (UTC) (envelope-from fcondo@quinn.com) Received: from earth-pea.quinn.com (sashimi.quinn.com [216.27.181.11]) (authenticated bits=0) by sushi.quinn.com (8.14.2/8.14.2) with ESMTP id m9AM8m4p079755 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 10 Oct 2008 15:08:48 -0700 (PDT) (envelope-from fcondo@quinn.com) Message-Id: From: Fred Condo To: Gary Kline In-Reply-To: <20081010213116.GA50746@thought.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Fri, 10 Oct 2008 15:08:48 -0700 References: <20081010213116.GA50746@thought.org> X-Mailer: Apple Mail (2.929.2) Cc: FreeBSD Mailing List Subject: Re: kwik question re virt websites... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 22:08:49 -0000 On Oct 10, 2008, at 2:31 PM, Gary Kline wrote: > > Guys, > > When I restarted apache22, there was a warning that > something was missing. It had nothing [ hopefully ] to > do with the new virtual site I want to set up. > > Can anybody tell me what the following error is? I do > have an index.html file in /usr/local/www/cryonics. > Also have the entries in the apache22/Includes/httpd* > and in my namedb/* files. I have more that five virtual > websites; what am I forgetting here?? > > gary > > > > > lynx: Can't access startfile http://cryonics.thought.org/ > > > -- > Gary Kline kline@thought.org http://www.thought.org Public > Service Unix > http://jottings.thought.org http://transfinite.thought.org It's your DNS: $ host cryonics.thought.org Host cryonics.thought.org not found: 3(NXDOMAIN) From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 22:31:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC527106569C for ; Fri, 10 Oct 2008 22:31:06 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA01.westchester.pa.mail.comcast.net (qmta01.westchester.pa.mail.comcast.net [76.96.62.16]) by mx1.freebsd.org (Postfix) with ESMTP id 794A78FC23 for ; Fri, 10 Oct 2008 22:31:06 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA14.westchester.pa.mail.comcast.net ([76.96.62.60]) by QMTA01.westchester.pa.mail.comcast.net with comcast id R1i31a00B1HzFnQ51AX6o2; Fri, 10 Oct 2008 22:31:06 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA14.westchester.pa.mail.comcast.net with comcast id RAX41a0042P6wsM3aAX4l4; Fri, 10 Oct 2008 22:31:05 +0000 X-Authority-Analysis: v=1.0 c=1 a=TS5l45rMeooA:10 a=QycZ5dHgAAAA:8 a=e2h4xFxg5Fdq_kNF9uoA:9 a=Rq_LDeKtyADWPqjDjKT-1peZxusA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id DFB7BC9419; Fri, 10 Oct 2008 15:31:03 -0700 (PDT) Date: Fri, 10 Oct 2008 15:31:03 -0700 From: Jeremy Chadwick To: Wojciech Puchar Message-ID: <20081010223103.GA44921@icarus.home.lan> References: <20081010185438.GA40860@icarus.home.lan> <20081010214211.J79246@wojtek.tensor.gdynia.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081010214211.J79246@wojtek.tensor.gdynia.pl> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Joe Tseng , freebsd-questions@FreeBSD.org Subject: Re: gzipping multiple files w/o tarring X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 22:31:06 -0000 On Fri, Oct 10, 2008 at 09:42:41PM +0200, Wojciech Puchar wrote: >> >> "gzip *" will do what you want. >> >> When it encounters something that's already gzip'd, it will skip it, >> but will emit a warning that it's doing so. >> >> Otherwise, you could use something like: >> >> find -X . \! -name "*.tar.gz" -type f -maxdepth 1 | xargs gzip >> > i don't understand the difference. The 2nd will avoid the warnings emit by "gzip *" when encountering already-gzipped files. It all depends on what the user wants. > .tar.gz files are already gzip'd :), so no need for second case. it will > be skipped anyway -- | 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 Fri Oct 10 22:48:02 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07871106568C for ; Fri, 10 Oct 2008 22:48:02 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id B79758FC13 for ; Fri, 10 Oct 2008 22:48:01 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id m9AMmEpY001391; Fri, 10 Oct 2008 15:48:15 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Fri, 10 Oct 2008 15:47:57 -0700 (PDT) Date: Fri, 10 Oct 2008 15:47:56 -0700 From: Gary Kline To: Fred Condo Message-ID: <20081010224756.GA52974@thought.org> References: <20081010213116.GA50746@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 22 years of service to the Unix community. X-Spam-Status: No, score=-4.3 required=3.6 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: FreeBSD Mailing List Subject: Re: kwik question re virt websites... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 22:48:02 -0000 On Fri, Oct 10, 2008 at 03:08:48PM -0700, Fred Condo wrote: > > On Oct 10, 2008, at 2:31 PM, Gary Kline wrote: > > > > > Guys, > > > > When I restarted apache22, there was a warning that > > something was missing. It had nothing [ hopefully ] to > > do with the new virtual site I want to set up. > > > > Can anybody tell me what the following error is? I do > > have an index.html file in /usr/local/www/cryonics. > > Also have the entries in the apache22/Includes/httpd* > > and in my namedb/* files. I have more that five virtual > > websites; what am I forgetting here?? > > > > gary > > > > > > > > > >lynx: Can't access startfile http://cryonics.thought.org/ > > > > > >-- > >Gary Kline kline@thought.org http://www.thought.org Public > >Service Unix > > http://jottings.thought.org http://transfinite.thought.org > > It's your DNS: > > $ host cryonics.thought.org > Host cryonics.thought.org not found: 3(NXDOMAIN) > Yes, you're absoultely right [ as i had an idea about around 45 minutes after my post. It was January since I last touched those files, and sad to admin, my LAN volunteer did that favor when he re-organized stuff for me. Thus, i thank you muchly and hang my head in shame. And, uhhh, i've got an even dumber question coming up very shortly. just to prepare the list for more yuks. gary > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 23:21:38 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D19DA1065687 for ; Fri, 10 Oct 2008 23:21:38 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 8E1598FC0A for ; Fri, 10 Oct 2008 23:21:38 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id m9ANLqKY001625 for ; Fri, 10 Oct 2008 16:21:52 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Fri, 10 Oct 2008 16:21:34 -0700 (PDT) Date: Fri, 10 Oct 2008 16:21:34 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20081010232131.GA53191@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 22 years of service to the Unix community. X-Spam-Status: No, score=-4.3 required=3.6 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: an even dumber q: how do i get sage's ports-ypgrade 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: Fri, 10 Oct 2008 23:21:38 -0000 Late last December my small network began falling apart. Still not sure how, but a fellow from Dallas came to my rescue and from his home, slowly rebuilt and re-configured everything. E.g.: for one thing, where I hack sendmail working via various kludges, he set up imap. I had thought that was mostly for students.... He also filled me in on jails. Previously, I had my 1998 Kayak doing DNS and mail and web solo. Jon created a jail and set things up there. He used NFS to bring over things from a faster computer. That's well and good; it makes sense to compile a suite that takes days on sage [Kayak @ 400MHz] on my Dell8200 [2.4GHZ]. A few days ago I realized that I was missing some simple programs on sage. I went into ports: empty. Years ago there was a standalone script that let you fix or tune things. I thought it was on the hard drive as well as the CD set. Anybody? thanks for any clues! gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 23:29:25 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 193EC106568E for ; Fri, 10 Oct 2008 23:29:25 +0000 (UTC) (envelope-from freebsdemail@gmail.com) Received: from hs-out-0708.google.com (hs-out-0708.google.com [64.233.178.249]) by mx1.freebsd.org (Postfix) with ESMTP id C0A4E8FC0C for ; Fri, 10 Oct 2008 23:29:24 +0000 (UTC) (envelope-from freebsdemail@gmail.com) Received: by hs-out-0708.google.com with SMTP id 54so290623hsz.11 for ; Fri, 10 Oct 2008 16:29:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:x-rim-org-msg-ref-id :return-receipt-to:message-id:content-transfer-encoding:reply-to :x-priority:references:in-reply-to:sensitivity:importance:to:subject :from:date:content-type:mime-version; bh=wETYdJcFF14IN/cTn1MknC5pcEGO2ULKny4MEIBnYpk=; b=i7m6Ow8WpjvNm8hxTpdvTdLagel3iCIkrPNkHrMY5+3FGFhhq1q/I0NOg2UjRNb6p/ 7FZdill52AUGsZOmSoE2joRZ/fz1lDjJI/+ami/cl8nT+iLyiYbBExI/sN5CYKwqYdrr ehTcF8eMaKRcaATeZ6EIjecMgPfUYEFIBB26o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=x-rim-org-msg-ref-id:return-receipt-to:message-id :content-transfer-encoding:reply-to:x-priority:references :in-reply-to:sensitivity:importance:to:subject:from:date :content-type:mime-version; b=wPM+Tt/jWlVwEWB6nmIUg3XoP4DR8aEGAlcePy6ZeGSRVSAfpvpEfK+hkEql99+74+ U/2XzcjoA3eoeLlp1xhsij3xieGggmVe3IhiKWH0RqA/WNCy4KngH6HKgfRR5kvhHZ0s rWlf7+gb7cMKM+z7CcUGG2T0/jGm9Dx5A/1Rw= Received: by 10.65.231.17 with SMTP id i17mr3958471qbr.16.1223681363093; Fri, 10 Oct 2008 16:29:23 -0700 (PDT) Received: from bda055.bisx.prod.on.blackberry (bda055b.bis.na.blackberry.com [206.53.151.55]) by mx.google.com with ESMTPS id 12sm3863288qbw.2.2008.10.10.16.29.21 (version=SSLv3 cipher=RC4-MD5); Fri, 10 Oct 2008 16:29:22 -0700 (PDT) X-rim-org-msg-ref-id: 530802182 Message-ID: <530802182-1223681359-cardhu_decombobulator_blackberry.rim.net-1536424677-@bxe112.bisx.prod.on.blackberry> Content-Transfer-Encoding: base64 X-Priority: Normal References: <20081010232131.GA53191@thought.org> In-Reply-To: <20081010232131.GA53191@thought.org> Sensitivity: Normal Importance: Normal To: "Gary Kline" , "FreeBSD Mailing List" From: freebsdemail@gmail.com Date: Fri, 10 Oct 2008 23:29:30 +0000 Content-Type: text/plain MIME-Version: 1.0 Cc: Subject: Re: an even dumber q: how do i get sage's ports-ypgrade working? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsdemail@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 23:29:25 -0000 QXJlIHlvdSByZWZlcnJpbmcgdG8gc3lzaW5zdGFsbD8NCg0KL3Vzci9zYmluL3N5c2luc3RhbGwN Cg0KSW4gdGhlIG9sZGVyIGRheXMgaXQgd2FzIHVuZGVyIC9zdGFuZCBpZiBJJ20gY29ycmVjdA0K DQpJZiB5b3UgYXJlIG1pc3NpbmcgdGhlIHBvcnRzIHlvdSBjb3VsZCBhbHNvIHNpbXBseSB1c2Ug ZnRwIHRvIHRyYW5zZmVyIHRoZSB0YXIuZ3ogYXJjaGl2ZSBmcm9tIGZ0cC5mcmVlYnNkLm9yZyBv ciBhbiBhbHRlcm5hdGl2ZSBtaXJyb3IuLi4NCg0KUmVnYXJkcywNCg0KVG9tDQpTZW50IGZyb20g bXkgQmxhY2tCZXJyeSBkZXZpY2Ugb24gdGhlIFJvZ2VycyBXaXJlbGVzcyBOZXR3b3JrDQoNCi0t LS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBHYXJ5IEtsaW5lIDxrbGluZUB0aG91Z2h0 Lm9yZz4NCg0KRGF0ZTogRnJpLCAxMCBPY3QgMjAwOCAxNjoyMTozNCANClRvOiBGcmVlQlNEIE1h aWxpbmcgTGlzdDxmcmVlYnNkLXF1ZXN0aW9uc0BGcmVlQlNELk9SRz4NClN1YmplY3Q6IGFuIGV2 ZW4gZHVtYmVyIHE6IGhvdyBkbyBpIGdldCBzYWdlJ3MgcG9ydHMteXBncmFkZSB3b3JraW5nPw0K DQoNCg0KCUxhdGUgbGFzdCBEZWNlbWJlciBteSBzbWFsbCBuZXR3b3JrIGJlZ2FuIGZhbGxpbmcg YXBhcnQuICBTdGlsbA0KCW5vdCBzdXJlIGhvdywgYnV0IGEgZmVsbG93IGZyb20gRGFsbGFzIGNh bWUgdG8gbXkgcmVzY3VlIGFuZCBmcm9tDQoJaGlzIGhvbWUsIHNsb3dseSByZWJ1aWx0IGFuZCBy ZS1jb25maWd1cmVkIGV2ZXJ5dGhpbmcuICBFLmcuOiBmb3INCglvbmUgdGhpbmcsIHdoZXJlIEkg aGFjayBzZW5kbWFpbCB3b3JraW5nIHZpYSB2YXJpb3VzIGtsdWRnZXMsIGhlDQoJc2V0IHVwIGlt YXAuICBJIGhhZCB0aG91Z2h0IHRoYXQgd2FzIG1vc3RseSBmb3Igc3R1ZGVudHMuLi4uDQoNCglI ZSBhbHNvIGZpbGxlZCBtZSBpbiBvbiBqYWlscy4gIFByZXZpb3VzbHksIEkgaGFkIG15IDE5OTgg S2F5YWsNCglkb2luZyBETlMgYW5kIG1haWwgYW5kIHdlYiBzb2xvLiAgSm9uIGNyZWF0ZWQgYSBq YWlsIGFuZCBzZXQNCgl0aGluZ3MgdXAgdGhlcmUuICBIZSB1c2VkIE5GUyB0byBicmluZyBvdmVy IHRoaW5ncyBmcm9tIGEgZmFzdGVyDQoJY29tcHV0ZXIuICBUaGF0J3Mgd2VsbCBhbmQgZ29vZDsg aXQgbWFrZXMgc2Vuc2UgdG8gY29tcGlsZSBhDQoJc3VpdGUgdGhhdCB0YWtlcyBkYXlzIG9uIHNh Z2UgW0theWFrIEAgNDAwTUh6XSBvbiBteSBEZWxsODIwMA0KCVsyLjRHSFpdLiAgQSBmZXcgZGF5 cyBhZ28gSSByZWFsaXplZCB0aGF0IEkgd2FzIG1pc3Npbmcgc29tZQ0KCXNpbXBsZSBwcm9ncmFt cyBvbiBzYWdlLiAgSSB3ZW50IGludG8gcG9ydHM6IGVtcHR5LiAgWWVhcnMgYWdvDQoJdGhlcmUg d2FzIGEgc3RhbmRhbG9uZSBzY3JpcHQgdGhhdCBsZXQgeW91IGZpeCBvciB0dW5lIHRoaW5ncy4g DQoJSSB0aG91Z2h0IGl0IHdhcyBvbiB0aGUgaGFyZCBkcml2ZSBhcyB3ZWxsIGFzIHRoZSBDRCBz ZXQuDQoNCglBbnlib2R5Pw0KDQoJdGhhbmtzIGZvciBhbnkgY2x1ZXMhDQoNCglnYXJ5DQoNCg0K DQotLSANCiBHYXJ5IEtsaW5lICBrbGluZUB0aG91Z2h0Lm9yZyAgaHR0cDovL3d3dy50aG91Z2h0 Lm9yZyAgUHVibGljIFNlcnZpY2UgVW5peA0KICAgICAgICBodHRwOi8vam90dGluZ3MudGhvdWdo dC5vcmcgICBodHRwOi8vdHJhbnNmaW5pdGUudGhvdWdodC5vcmcNCg0KDQpfX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXw0KZnJlZWJzZC1xdWVzdGlvbnNAZnJl ZWJzZC5vcmcgbWFpbGluZyBsaXN0DQpodHRwOi8vbGlzdHMuZnJlZWJzZC5vcmcvbWFpbG1hbi9s aXN0aW5mby9mcmVlYnNkLXF1ZXN0aW9ucw0KVG8gdW5zdWJzY3JpYmUsIHNlbmQgYW55IG1haWwg dG8gImZyZWVic2QtcXVlc3Rpb25zLXVuc3Vic2NyaWJlQGZyZWVic2Qub3JnIg0K From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 23:45:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 700A6106568C for ; Fri, 10 Oct 2008 23:45:59 +0000 (UTC) (envelope-from pprocacci@datapipe.com) Received: from fmailhost04.isp.att.net (fmailhost04.isp.att.net [207.115.11.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5AD768FC19 for ; Fri, 10 Oct 2008 23:45:59 +0000 (UTC) (envelope-from pprocacci@datapipe.com) Received: from [10.5.21.122] (adsl-157-36-19.bna.bellsouth.net[70.157.36.19]) by isp.att.net (frfwmhc04) with ESMTP id <20081010234558H040098vr2e>; Fri, 10 Oct 2008 23:45:58 +0000 X-Originating-IP: [70.157.36.19] Message-ID: <48EFE927.6000404@datapipe.com> Date: Fri, 10 Oct 2008 18:45:43 -0500 From: "Paul A. Procacci" User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Bob Johnson References: <54db43990810101357o6f6396cfsb4ec48585a1c99b@mail.gmail.com> In-Reply-To: <54db43990810101357o6f6396cfsb4ec48585a1c99b@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: kernel: Approaching the limit on PV entries... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Oct 2008 23:45:59 -0000 Bob Johnson wrote: > A web server with several jailed copies of Apache is having problems > that seem to be caused by incorrect IPFW rules, but in the process of > working on that, I find in the log the following repeated many times: > > Oct 8 23:29:50 spider kernel: Approaching the limit on PV entries, > consider increasing either the vm.pmap.shpgperproc or the > vm.pmap.pv_entry_max sysctl. > Oct 8 23:30:52 spider kernel: Approaching the limit on PV entries, > consider increasing either the vm.pmap.shpgperproc or the > vm.pmap.pv_entry_max sysctl. > > sysctl gives me: > > # sysctl vm.pmap > vm.pmap.pmap_collect_active: 0 > vm.pmap.pmap_collect_inactive: 0 > vm.pmap.pv_entry_spare: 45818 > vm.pmap.pv_entry_allocs: 595716945 > vm.pmap.pv_entry_frees: 595133939 > vm.pmap.pc_chunk_tryfail: 0 > vm.pmap.pc_chunk_frees: 3543052 > vm.pmap.pc_chunk_allocs: 3546795 > vm.pmap.pc_chunk_count: 3743 > vm.pmap.pv_entry_count: 583006 > vm.pmap.shpgperproc: 200 > vm.pmap.pv_entry_max: 2243305 > > The system: > FreeBSD .... 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #0: Wed Oct 1 > 07:51:58 UTC 2008 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > > Can someone briefly explain what this is telling me and how to decide > which sysctl to increase? I have found some old postings that predate > the sysctls that suggested increasing shpgperproc in the kernel > configuration, about 50 at a time until the problem goes away, but I > still have no clue what that is accomplishing. > > Also, the system has been rebooted since I collected those messages, > and they aren't happening any more, but I expect they will reappear > eventually. Until then I probably can't actually test anything. > > Thanks for your time, > > -- Bob Johnson > fbsdlists@gmail.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > For what it's worth, I just came across a machine with the same exact problem, except when I do finally run out of entries, I get a kernel panic. FBSD 7-RELEASE-p4 ~Paul From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 00:53:11 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C54F1065686 for ; Sat, 11 Oct 2008 00:53:11 +0000 (UTC) (envelope-from fbsd06+2T=4f2b73f4@mlists.homeunix.com) Received: from fallback-in1.mxes.net (fallback-out1.mxes.net [216.86.168.190]) by mx1.freebsd.org (Postfix) with ESMTP id F1AB78FC15 for ; Sat, 11 Oct 2008 00:53:10 +0000 (UTC) (envelope-from fbsd06+2T=4f2b73f4@mlists.homeunix.com) Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by fallback-in1.mxes.net (Postfix) with ESMTP id 3D11B16457E for ; Fri, 10 Oct 2008 20:36:54 -0400 (EDT) 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 21A23D04FF for ; Fri, 10 Oct 2008 20:36:51 -0400 (EDT) Date: Sat, 11 Oct 2008 01:36:47 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20081011013647.424ee485@gumby.homeunix.com.> In-Reply-To: References: X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Fwd: Firewall and FreeBSD 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, 11 Oct 2008 00:53:11 -0000 On Fri, 10 Oct 2008 16:16:29 -0400 John Almberg wrote: > On Oct 10, 2008, at 2:41 PM, Jeremy Chadwick wrote: > > >>> See the fetch(1) man page. Try this first: > >>> > >>> sh/bash: export FTP_PASSIVE_MODE=true > >>> csh: setenv FTP_PASSIVE_MODE true > > First off, this did solve the problem. Thank you, Jeremy. > > Now, as to the why... That's odd, because if you are running 7.x with a default settings, FTP_PASSIVE_MODE should be irrelevant to fetching distfiles - even if it's set to "no". Do you have any FETCH_* variables defined? What happens if you cd to a port directory and type: make -V FETCH_CMD ? > I believe I am using ports. In this case, I had just installed and > configured PF (the first thing I do, now, when building a new > machine.) > > I then wanted to install NTP: > > cd /usr/ports/net/ntp > make config; make install clean > > This failed because the mirrors were not accessible. I just tried this port myself and it failed on all four servers configured in the Makefile, only succeeding on the fallback Freebsd server, (Freebsd's own cache for package building). Unless you turn-up something odd for FETCH_CMD, I think there's a good chance that you never had an FTP firewall problem in the first place, and that the file has simply been added to ftp.freebsd.org since you got the original failure. From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 01:50:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C819106568F for ; Sat, 11 Oct 2008 01:50:39 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from mx1.identry.com (on.identry.com [66.111.0.194]) by mx1.freebsd.org (Postfix) with ESMTP id 33BE48FC0A for ; Sat, 11 Oct 2008 01:50:38 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: (qmail 76129 invoked by uid 89); 11 Oct 2008 01:50:38 -0000 Received: from unknown (HELO ?192.168.1.110?) (jalmberg@75.127.142.66) by mx1.identry.com with ESMTPA; 11 Oct 2008 01:50:38 -0000 Mime-Version: 1.0 (Apple Message framework v753.1) In-Reply-To: <20081011013647.424ee485@gumby.homeunix.com.> References: <20081011013647.424ee485@gumby.homeunix.com.> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: John Almberg Date: Fri, 10 Oct 2008 21:50:36 -0400 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.753.1) Subject: Re: Firewall and FreeBSD 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, 11 Oct 2008 01:50:39 -0000 >>>>> >>>>> sh/bash: export FTP_PASSIVE_MODE=true >>>>> csh: setenv FTP_PASSIVE_MODE true >> >> First off, this did solve the problem. Thank you, Jeremy. >> >> Now, as to the why... > > That's odd, because if you are running 7.x with a default settings, > FTP_PASSIVE_MODE should be irrelevant to fetching distfiles - even if > it's set to "no". > > Do you have any FETCH_* variables defined? No > What happens if you cd to a > port directory and type: make -V FETCH_CMD ? [admin@dbs:~]> cd /usr/ports/shells/zsh '[admin@dbs:zsh]> make -V FETCH_CMD /usr/bin/fetch -ApRr [admin@dbs:zsh]> >> I then wanted to install NTP: >> >> cd /usr/ports/net/ntp >> make config; make install clean >> >> This failed because the mirrors were not accessible. > > I just tried this port myself and it failed on all four servers > configured in the Makefile, only succeeding on the fallback Freebsd > server, (Freebsd's own cache for package building). > > Unless you turn-up something odd for FETCH_CMD, I think there's > a good chance that you never had an FTP firewall problem in the first > place, and that the file has simply been added to ftp.freebsd.org > since > you got the original failure. I just removed the FTP_PASSIVE_MODE variable from .bash_profile, logged out, and logged back in. I then tried to install another port and it installed without problem. -- John From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 02:47:00 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFE761065690 for ; Sat, 11 Oct 2008 02:47:00 +0000 (UTC) (envelope-from tinguely@casselton.net) Received: from casselton.net (casselton.net [63.165.140.2]) by mx1.freebsd.org (Postfix) with ESMTP id 5DE6B8FC19 for ; Sat, 11 Oct 2008 02:47:00 +0000 (UTC) (envelope-from tinguely@casselton.net) Received: from casselton.net (localhost [127.0.0.1]) by casselton.net (8.14.2/8.14.2) with ESMTP id m9B2LNXD047865; Fri, 10 Oct 2008 21:21:23 -0500 (CDT) (envelope-from tinguely@casselton.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=casselton.net; s=ccnMail; t=1223691683; bh=+rOgp3ChPli+M6vCo5Y7kWW3CHMVaG7oreEIhmv 8udY=; h=Date:From:Message-Id:To:Subject:Cc:In-Reply-To; b=cmFgduqE n+gSPpSXjlpfoI9bZChbh/xphAAhsZyJVQfrwKfF+WnXrB5gfA+tlVkEU+coS36Aclz tptR/nKvE4pXUHNjpxqAqg09C4/ZqJXFgvOsGlUg6ahgj2p/QSC+hhqLjEg/xIcI7wG 1p02SCRiZkXrh0xuzxmLXDIvbn77w= Received: (from tinguely@localhost) by casselton.net (8.14.2/8.14.2/Submit) id m9B2LNsK047864; Fri, 10 Oct 2008 21:21:23 -0500 (CDT) (envelope-from tinguely) Date: Fri, 10 Oct 2008 21:21:23 -0500 (CDT) From: Mark Tinguely Message-Id: <200810110221.m9B2LNsK047864@casselton.net> To: fbsdlists@gmail.com, pprocacci@datapipe.com In-Reply-To: <48EFE927.6000404@datapipe.com> Cc: freebsd-questions@freebsd.org Subject: Re: kernel: Approaching the limit on PV entries... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 02:47:00 -0000 > > vm.pmap.pv_entry_count: 583006 > > vm.pmap.shpgperproc: 200 > > vm.pmap.pv_entry_max: 2243305 > > > > The system: > > FreeBSD .... 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #0: Wed Oct 1 > > 07:51:58 UTC 2008 > > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > > > > Can someone briefly explain what this is telling me and how to decide > > which sysctl to increase? I have found some old postings that predate > > the sysctls that suggested increasing shpgperproc in the kernel > > configuration, about 50 at a time until the problem goes away, but I > > still have no clue what that is accomplishing. what (simplified): the pv_entry helps the virtual memory system track physical pages, so a physical page can be shared with another process or another virtual address. In the i386/amd64 the pv_entry entries are allocated in page size "chunks" on a per process memory map basis. This helps reduce redundant pointers and overall saves memory. "shpgperproc" can be read as "the number of shared pages per proceess". pv_entry_max is calculated from shpgperproc (and on the amd64, shpgperproc can be derived from setting the vm.pmap.pv_entry_max). On the amd64, the values can be adjusted by sysctl, but on the i386 the values must be compiled into the kernel. There are some automatic adjustments in the calculation of the number of pv_entry, but the warnings are given early enough to help aid in the tweaking of the value. The advice of slowly increasing vm.pmap.shpgperproc is probably the best solution. I would adjust up slower than 50 (25% increase seems to be pretty high). --Mark Tinguely. From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 03:35:12 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC4DC106568E for ; Sat, 11 Oct 2008 03:35:12 +0000 (UTC) (envelope-from ansarm@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28]) by mx1.freebsd.org (Postfix) with ESMTP id A38098FC1A for ; Sat, 11 Oct 2008 03:35:12 +0000 (UTC) (envelope-from ansarm@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so282700yxb.13 for ; Fri, 10 Oct 2008 20:35:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :message-id:mime-version:content-type:content-transfer-encoding :x-mailer:thread-index:content-language; bh=CEzguhjhwCSbqhzNBe4H5C3KXqIi45RjW8aNLlW2ylw=; b=M9tDOLH5O2t7Zj0RBX3Oh65RfMZ4/kPuj9zWldUr/Nz+8+R7ANccVuwKArIEzsHXYP uzI32YnQAi/6VrpQsGIBtEGkD87ipOiFOhU4lPDnG9W1FATj8KQpxOEef7pD5fQ5H4gp AElU+I4W0mdjBfj5O21ILGkhShyjWe3u62fWQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:mime-version:content-type :content-transfer-encoding:x-mailer:thread-index:content-language; b=NI3JuBFQhloLbd6DhSYxbO/ufPiqV82sMEkRuSiwmjEWVaTDT2f9hYC3FhJBdSv0Aa 8kLI85x10IppYnOltFLA/Sko6HkAuXlcoskbZHQuuu8lcQYjaZoUFyJtu6Uk/IHiFV8j kMDOiuFAaxTUInhRI6vpSQjXOvzlyRbp/6tfo= Received: by 10.151.155.9 with SMTP id h9mr3449141ybo.8.1223694373887; Fri, 10 Oct 2008 20:06:13 -0700 (PDT) Received: from ansarmm2 (206-248-188-123.dsl.teksavvy.com [206.248.188.123]) by mx.google.com with ESMTPS id 12sm4245009qbw.2.2008.10.10.20.06.12 (version=SSLv3 cipher=RC4-MD5); Fri, 10 Oct 2008 20:06:12 -0700 (PDT) From: "Ansar Mohammed" To: Date: Fri, 10 Oct 2008 23:06:11 -0400 Message-ID: <047701c92b4e$512236d0$f366a470$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AckrTlA+osjBFZVCSSq5Wj5Y4kzuwg== Content-Language: en-ca Subject: proflibs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 03:35:13 -0000 Can anyone explain what are the proflibs on the install media, and what they are for? From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 03:17:26 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 797AE1065686 for ; Sat, 11 Oct 2008 03:17:26 +0000 (UTC) (envelope-from geseeker@yahoo.com) Received: from n79.bullet.mail.sp1.yahoo.com (n79.bullet.mail.sp1.yahoo.com [98.136.44.39]) by mx1.freebsd.org (Postfix) with SMTP id 42E898FC08 for ; Sat, 11 Oct 2008 03:17:26 +0000 (UTC) (envelope-from geseeker@yahoo.com) Received: from [216.252.122.218] by n79.bullet.mail.sp1.yahoo.com with NNFMP; 11 Oct 2008 03:03:44 -0000 Received: from [69.147.65.170] by t3.bullet.sp1.yahoo.com with NNFMP; 11 Oct 2008 03:03:44 -0000 Received: from [127.0.0.1] by omp505.mail.sp1.yahoo.com with NNFMP; 11 Oct 2008 03:03:44 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 281577.21036.bm@omp505.mail.sp1.yahoo.com Received: (qmail 12546 invoked by uid 60001); 11 Oct 2008 03:03:44 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=UXLYxVeUt4OiJPeTGa7QOuJMwaXreVCwJ/W/0hdbBojGwSH2QWksHsbX579xv7eZIDRoDlHE7CsciHGdtt9nK4sUC3h35hjCI9xQbsuBaA2V98YG3HDSLcc0v0Cvyb72NZW08jyWwa7mgSvqpxwhepgjj6UDWh5hPYe7ka8GkKg=; X-YMail-OSG: qrM0r9kVM1nFlr5Pr4nlQ2I0tCtbMy4TCAOPnZwNHb0842MxcbwMd5TZf4VAR6DEGAgCpFv.D0YeXDHNj8W5J4HXADv1u2aqktMC8UwEKOj4lkZ4dEZEKTnhHq5N6mqkIIWctg-- Received: from [59.57.205.132] by web45011.mail.sp1.yahoo.com via HTTP; Fri, 10 Oct 2008 20:03:43 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Fri, 10 Oct 2008 20:03:43 -0700 (PDT) From: Richard Smith To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <111038.12337.qm@web45011.mail.sp1.yahoo.com> X-Mailman-Approved-At: Sat, 11 Oct 2008 04:28:11 +0000 Subject: dmesg: Invalid time in clock: check and reset the date X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 03:17:26 -0000 Hi, I've just installed FreeBSD 7.0 Release along with Windows XP on my PC. I found that when I set the clock to the correct time&date, next time I boot into FreeBSD it changes and reports the wrong time&date. Both BIOS and Windows reports the time correctly. dmesg shows the following message: Invalid time in clock: check and reset the date! Can't figure out what's wrong... any help will be appreciated. regards From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 04:31:26 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DE901065686 for ; Sat, 11 Oct 2008 04:31:26 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmmtai105.cox.net (eastrmmtai105.cox.net [68.230.240.12]) by mx1.freebsd.org (Postfix) with ESMTP id 9C2F18FC13 for ; Sat, 11 Oct 2008 04:31:25 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao104.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20081011040706.DUQR2096.eastrmmtao104.cox.net@eastrmimpo01.cox.net> for ; Sat, 11 Oct 2008 00:07:06 -0400 Received: from [72.204.148.162] ([72.204.148.162]) by eastrmimpo01.cox.net with bizsmtp id RG741a0033WU3WG02G75TE; Sat, 11 Oct 2008 00:07:05 -0400 X-Authority-Analysis: v=1.0 c=1 a=Wajolswj7cQA:10 a=1DJ_zs5DpWqIS7fowFoA:9 a=zxRG7HOALF9KY4g-EFqnvqt24XcA:4 a=ziFrdkHw70AA:10 X-CM-Score: 0.00 From: "Conrad J. Sabatier" To: freebsd-questions@freebsd.org Date: Fri, 10 Oct 2008 23:06:51 -0500 MIME-Version: 1.0 Message-ID: <48EFE00B.32391.87A6C@conrads.cox.net> Priority: normal X-mailer: Pegasus Mail for Windows (4.41) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: Need help installing on SATA X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: conrads@cox.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2008 04:31:26 -0000 Does anyone know the magic incantation that will permit me to install FreeBSD on this new machine of mine (nVidia chipset, SATA1 disk controller)? I've been trying for a week or so now, with no luck. Just out of curiosity, I downloaded and ran Ubuntu 8.x, and it recognized all of my hardware automatically. The FreeBSD installer (both in 7.x and 8.x), though, can't find my hard drive or CD-ROM. I *really* don't want to have to resort to Linux, not after using FreeBSD for 12 years now, but if I can't find a solution to this problem, I'll have no choice. :-( Thanks for any advice. From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 05:08:19 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4D01106568C for ; Sat, 11 Oct 2008 05:08:19 +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 A12018FC1C for ; Sat, 11 Oct 2008 05:08:19 +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.2) with ESMTP id m9B58Gch044855 for ; Fri, 10 Oct 2008 22:08:19 -0700 (PDT) (envelope-from bri@brianwhalen.net) Message-ID: <48F034BE.1020001@brianwhalen.net> Date: Fri, 10 Oct 2008 22:08:14 -0700 From: Brian User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <48EFE00B.32391.87A6C@conrads.cox.net> In-Reply-To: <48EFE00B.32391.87A6C@conrads.cox.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Need help installing on SATA X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 05:08:20 -0000 Conrad J. Sabatier wrote: > Does anyone know the magic incantation that will permit me to install > FreeBSD on this new machine of mine (nVidia chipset, SATA1 disk > controller)? > > I've been trying for a week or so now, with no luck. Just out of > curiosity, I downloaded and ran Ubuntu 8.x, and it recognized all of > my hardware automatically. The FreeBSD installer (both in 7.x and > 8.x), though, can't find my hard drive or CD-ROM. > > I *really* don't want to have to resort to Linux, not after using > FreeBSD for 12 years now, but if I can't find a solution to this > problem, I'll have no choice. :-( > > Thanks for any advice. Can u not get thru the install, or do you have issues afterwards? I make it thru the install ok, but when I upgrade to stable, I have problems due to numbering changes. I'd suggest using google or the freebsd website to search for your motherboard model and some other search terms. You'll probably be told to check the supported hw list to start with. Brian From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 06:36:46 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E32461065691 for ; Sat, 11 Oct 2008 06:36:46 +0000 (UTC) (envelope-from kulka@man.poznan.pl) Received: from rose.man.poznan.pl (rose.man.poznan.pl [150.254.173.3]) by mx1.freebsd.org (Postfix) with ESMTP id 621D88FC24 for ; Sat, 11 Oct 2008 06:36:46 +0000 (UTC) (envelope-from kulka@man.poznan.pl) X-Virus-Scanned: by PSNC antivirus scanner at man.poznan.pl Received: from calycanthus-baby.localhost (sunflower.kulczewski.com [213.156.96.215]) (authenticated bits=0) by rose.man.poznan.pl (8.13.8/8.13.8/auth/ldap/milter/tls) with ESMTP id m9B6IDHE005227 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 11 Oct 2008 08:18:23 +0200 (CEST) Message-ID: <48F04522.4080203@man.poznan.pl> Date: Sat, 11 Oct 2008 08:18:10 +0200 From: Michal Kulczewski Organization: PSNC User-Agent: Thunderbird 2.0.0.7pre (X11/20080302) MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.95.1 OpenPGP: id=BFA9832E Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: freebsd7 & kde4 & performance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 06:36:47 -0000 Hi, I'm a little bit disappointed with the performance of kde4 on freebsd7. I have Pentium M 2GHz, 1GB RAM, radeon x300, tried both, radeon and ati drivers, but kde4 is still so slow that I cannot work with it. Is it because of poor graphic card or driver itself? I'm looking forward to any suggestions. Cheers, Michal From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 06:45:04 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69F35106568B for ; Sat, 11 Oct 2008 06:45:04 +0000 (UTC) (envelope-from freebsdemail@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.236]) by mx1.freebsd.org (Postfix) with ESMTP id 239528FC13 for ; Sat, 11 Oct 2008 06:45:04 +0000 (UTC) (envelope-from freebsdemail@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so214461wra.27 for ; Fri, 10 Oct 2008 23:45:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:x-rim-org-msg-ref-id :return-receipt-to:message-id:content-transfer-encoding:reply-to :x-priority:sensitivity:importance:to:subject:from:date:content-type :mime-version; bh=5RhpLKxL6CE8hMCffj6i0BvpQjgJ0XGvIc2GRk6DQUE=; b=C0cXmoxVyTGRb2uU3CIRfaARxiXMHu0tXaLleIlkvIog13UFSRVRekG5KtCREu4lgt dHT7iF43MvtUjna8oUlHQoKNql7X907srU4w46g45GWPBm1ZTxmr1AQCWlq8cTUI/6VP PKNEhFa947vQgc/4nz51w3cxm6Yla6dEJYMpI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=x-rim-org-msg-ref-id:return-receipt-to:message-id :content-transfer-encoding:reply-to:x-priority:sensitivity :importance:to:subject:from:date:content-type:mime-version; b=YJ3/4vRBMbOM5Sdn5oFKjfjvs3+jua3+uqzN88ja6dP21/I2GHasYEwVBWoDO+oqLW PN3+120iGFaOZO5ilX+qrx0704JleqQTESRedpab1ROSt+zUgHu6Yv+D4rRfAbcW46FN ldWkM5WGmzgxIrrbnGgSrgblOE59z/e6f5c+8= Received: by 10.64.241.3 with SMTP id o3mr4753315qbh.14.1223707502698; Fri, 10 Oct 2008 23:45:02 -0700 (PDT) Received: from bda055.bisx.prod.on.blackberry (bda055.bis.na.blackberry.com [216.9.249.55]) by mx.google.com with ESMTPS id k7sm4431541qba.3.2008.10.10.23.45.01 (version=SSLv3 cipher=RC4-MD5); Fri, 10 Oct 2008 23:45:01 -0700 (PDT) X-rim-org-msg-ref-id: 1056754698 Message-ID: <1056754698-1223707499-cardhu_decombobulator_blackberry.rim.net-726354175-@bxe112.bisx.prod.on.blackberry> Content-Transfer-Encoding: base64 X-Priority: Normal Sensitivity: Normal Importance: Normal To: "Michal Kulczewski" , owner-freebsd-questions@freebsd.org, freebsd-questions@freebsd.org From: freebsdemail@gmail.com Date: Sat, 11 Oct 2008 06:45:09 +0000 Content-Type: text/plain MIME-Version: 1.0 Cc: Subject: Re: freebsd7 & kde4 & performance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsdemail@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2008 06:45:04 -0000 SGkgTWljaGFlbCwNCg0KVW5mb3J0dW5ldGx5IEkndmUgYmVlbiBoYXZpbmcgdGhlIHNhbWUgZGlm ZmljdWx0eSB3aXRoIEtERTQuIEkndmUgdHJpZWQgdXNpbmcgYm90aCB0aGUgbnYgZHJpdmVyIGFz IHdlbGwgYXMgbnZpZGlhLg0KDQpNeSBoYXJkd2FyZSBpcyBpbnRlbCBjb3JlMiBkdW8gMS44Z2h6 LCBudmlkaWEgODYwMCBncyB3aXRoIDUxMiBkZWRpY2F0ZWQgbWVtb3J5IGFuZCAyZ2lncyBvZiBz eXN0ZW0gbWVtb3J5LiBJJ3ZlIHRyaWVkIHVzaW5nIDcuMCwgNy4xIGFuZCA4LjAoQ3VycmVudCkg d2l0aCBhbGwgbWFsbG9jIGRlYnVnZ2luZyBmZWF0dXJlcyBkaXNhYmxlZCBhcyB3ZWxsIGFzIGtl cm5lbCBkZWJ1Z2dpbmcgb3B0aW9ucyB0dXJuZWQgb2ZmLiBJJ3ZlIGFsc28gdHJpZWQgc3dpdGNo aW5nIGJhY2sgdG8gVUZTIGZpbGVzeXN0ZW1zIGZyb20gWkZTKHJvb3QgaW5zdGFsbCkgdG8gbm8g YXZhaWwuDQoNCkluIHRoZSBlbmQgSSBlbmRlZCB1cCB1c2luZyBrZGUzIGR1ZSB0byBlbmRsZXNz IGhlYWRhY2hlcy4gSSBmZWx0IEknZCBzaGFyZSB0aGlzIGluIGhvcGVzIHNvbWVvbmUgaGFzIG1h bmFnZWQgdG8gZ2V0IGl0IHRvIHJ1biByZWFzb25hYmx5IHdlbGwuDQoNClJlZ2FyZHMsDQoNClRv bQ0KLS0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tLQ0KRnJvbTogTWljaGFsIEt1bGN6ZXdza2kN ClNlbmRlcjogb3duZXItZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmcNClRvOiBmcmVlYnNk LXF1ZXN0aW9uc0BmcmVlYnNkLm9yZw0KU3ViamVjdDogZnJlZWJzZDcgJiBrZGU0ICYgcGVyZm9y bWFuY2UNClNlbnQ6IE9jdCAxMSwgMjAwOCAxMjoxOCBBTQ0KDQpIaSwNCg0KSSdtIGEgbGl0dGxl IGJpdCBkaXNhcHBvaW50ZWQgd2l0aCB0aGUgcGVyZm9ybWFuY2Ugb2Yga2RlNCBvbiBmcmVlYnNk Ny4NCkkgaGF2ZSBQZW50aXVtIE0gMkdIeiwgMUdCIFJBTSwgcmFkZW9uIHgzMDAsIHRyaWVkIGJv dGgsIHJhZGVvbiBhbmQgYXRpDQpkcml2ZXJzLCBidXQga2RlNCBpcyBzdGlsbCBzbyBzbG93IHRo YXQgSSBjYW5ub3Qgd29yayB3aXRoIGl0LiBJcyBpdA0KYmVjYXVzZSBvZiBwb29yIGdyYXBoaWMg Y2FyZCBvciBkcml2ZXIgaXRzZWxmPyBJJ20gbG9va2luZyBmb3J3YXJkIHRvDQphbnkgc3VnZ2Vz dGlvbnMuDQoNCkNoZWVycywNCiBNaWNoYWwNCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fDQpmcmVlYnNkLXF1ZXN0aW9uc0BmcmVlYnNkLm9yZyBtYWlsaW5n IGxpc3QNCmh0dHA6Ly9saXN0cy5mcmVlYnNkLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2ZyZWVic2Qt cXVlc3Rpb25zDQpUbyB1bnN1YnNjcmliZSwgc2VuZCBhbnkgbWFpbCB0byAiZnJlZWJzZC1xdWVz dGlvbnMtdW5zdWJzY3JpYmVAZnJlZWJzZC5vcmciDQoNCg0KU2VudCBmcm9tIG15IEJsYWNrQmVy cnkgZGV2aWNlIG9uIHRoZSBSb2dlcnMgV2lyZWxlc3MgTmV0d29yaw== From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 06:51:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CBFA106568C for ; Sat, 11 Oct 2008 06:51:59 +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 787308FC12 for ; Sat, 11 Oct 2008 06:51:59 +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.2) with ESMTP id m9B6puDf045284 for ; Fri, 10 Oct 2008 23:51:59 -0700 (PDT) (envelope-from bri@brianwhalen.net) Message-ID: <48F04D0A.1020105@brianwhalen.net> Date: Fri, 10 Oct 2008 23:51:54 -0700 From: Brian User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <1056754698-1223707499-cardhu_decombobulator_blackberry.rim.net-726354175-@bxe112.bisx.prod.on.blackberry> In-Reply-To: <1056754698-1223707499-cardhu_decombobulator_blackberry.rim.net-726354175-@bxe112.bisx.prod.on.blackberry> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: freebsd7 & kde4 & performance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 06:51:59 -0000 freebsdemail@gmail.com wrote: > Hi Michael, > > Unfortunetly I've been having the same difficulty with KDE4. I've tried using both the nv driver as well as nvidia. > > My hardware is intel core2 duo 1.8ghz, nvidia 8600 gs with 512 dedicated memory and 2gigs of system memory. I've tried using 7.0, 7.1 and 8.0(Current) with all malloc debugging features disabled as well as kernel debugging options turned off. I've also tried switching back to UFS filesystems from ZFS(root install) to no avail. > > In the end I ended up using kde3 due to endless headaches. I felt I'd share this in hopes someone has managed to get it to run reasonably well. > > Regards, > > Tom > ------Original Message------ > From: Michal Kulczewski > Sender: owner-freebsd-questions@freebsd.org > To: freebsd-questions@freebsd.org > Subject: freebsd7 & kde4 & performance > Sent: Oct 11, 2008 12:18 AM > > Hi, > > I'm a little bit disappointed with the performance of kde4 on freebsd7. > I have Pentium M 2GHz, 1GB RAM, radeon x300, tried both, radeon and ati > drivers, but kde4 is still so slow that I cannot work with it. Is it > because of poor graphic card or driver itself? I'm looking forward to > any suggestions. > > Cheers, > Michal Here is some additional info, I too am doing v3. http://freebsd.kde.org/instructions.php Brian From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 06:59:37 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B1041065691 for ; Sat, 11 Oct 2008 06:59:37 +0000 (UTC) (envelope-from kulka@man.poznan.pl) Received: from rose.man.poznan.pl (rose.man.poznan.pl [150.254.173.3]) by mx1.freebsd.org (Postfix) with ESMTP id C73398FC15 for ; Sat, 11 Oct 2008 06:59:36 +0000 (UTC) (envelope-from kulka@man.poznan.pl) X-Virus-Scanned: by PSNC antivirus scanner at man.poznan.pl Received: from calycanthus-baby.localhost (sunflower.kulczewski.com [213.156.96.215]) (authenticated bits=0) by rose.man.poznan.pl (8.13.8/8.13.8/auth/ldap/milter/tls) with ESMTP id m9B6xAxE011844 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 11 Oct 2008 08:59:24 +0200 (CEST) Message-ID: <48F04EBA.7010703@man.poznan.pl> Date: Sat, 11 Oct 2008 08:59:06 +0200 From: Michal Kulczewski Organization: PSNC User-Agent: Thunderbird 2.0.0.7pre (X11/20080302) MIME-Version: 1.0 To: Brian References: <1056754698-1223707499-cardhu_decombobulator_blackberry.rim.net-726354175-@bxe112.bisx.prod.on.blackberry> <48F04D0A.1020105@brianwhalen.net> In-Reply-To: <48F04D0A.1020105@brianwhalen.net> X-Enigmail-Version: 0.95.1 OpenPGP: id=BFA9832E Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: freebsd7 & kde4 & performance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 06:59:37 -0000 Brian wrote: > freebsdemail@gmail.com wrote: >> Hi Michael, >> >> Unfortunetly I've been having the same difficulty with KDE4. I've >> tried using both the nv driver as well as nvidia. >> >> My hardware is intel core2 duo 1.8ghz, nvidia 8600 gs with 512 >> dedicated memory and 2gigs of system memory. I've tried using 7.0, 7.1 >> and 8.0(Current) with all malloc debugging features disabled as well >> as kernel debugging options turned off. I've also tried switching back >> to UFS filesystems from ZFS(root install) to no avail. >> >> In the end I ended up using kde3 due to endless headaches. I felt I'd >> share this in hopes someone has managed to get it to run reasonably well. >> >> Regards, >> >> Tom >> ------Original Message------ >> From: Michal Kulczewski >> Sender: owner-freebsd-questions@freebsd.org >> To: freebsd-questions@freebsd.org >> Subject: freebsd7 & kde4 & performance >> Sent: Oct 11, 2008 12:18 AM >> >> Hi, >> >> I'm a little bit disappointed with the performance of kde4 on freebsd7. >> I have Pentium M 2GHz, 1GB RAM, radeon x300, tried both, radeon and ati >> drivers, but kde4 is still so slow that I cannot work with it. Is it >> because of poor graphic card or driver itself? I'm looking forward to >> any suggestions. >> >> Cheers, >> Michal > > > Here is some additional info, I too am doing v3. > > http://freebsd.kde.org/instructions.php well, there is no much information available though. IMHO it's a pity that once fancy gui is available, freebsd users can not make use of it. I have to switch to gnome (somehow I don't like kde3). Cheers, Michal From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 07:50:22 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 115BA1065692 for ; Sat, 11 Oct 2008 07:50:22 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 89B8A8FC15 for ; Sat, 11 Oct 2008 07:50:21 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id m9B7nNhY060909; Sat, 11 Oct 2008 08:50:15 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk m9B7nNhY060909 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1223711415; bh=BT3OVfQXQ1ty94 rSxkB3KuNj1y3enDIEH24/NaXvDLA=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type:Cc:Content-Type: Date:From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Mes sage-ID:=20<48F05A7C.7030404@infracaninophile.co.uk>|Date:=20Sat,=2 011=20Oct=202008=2008:49:16=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.17=20(X11/20080929)|MIME-Version:=201 .0|To:=20Richard=20Smith=20|CC:=20freebsd-quest ions@freebsd.org|Subject:=20Re:=20dmesg:=20Invalid=20time=20in=20cl ock:=20check=20and=20reset=20the=20date|References:=20<111038.12337 .qm@web45011.mail.sp1.yahoo.com>|In-Reply-To:=20<111038.12337.qm@we b45011.mail.sp1.yahoo.com>|X-Enigmail-Version:=200.95.6|Content-Typ e:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol= 3D"application/pgp-signature"=3B=0D=0A=20boundary=3D"------------en ig6CB20C5D69B775E8E7E6D1F7"; b=fUFf2ZBNRsdYbJZmRooZpd+/MPS3HvcZcRIc +vpt+tFt+6IuUN9DRI0Fr4IOHlUyUzaVJ33q3U/PJR76TBGFvSANmItNfWaGGpAu6Qc eDvJiTfpfL/jP15KbGOkq2/grrFirYccQl+mkgQMIR3AQ+toh4rRyTMO7OHOXt9Wp76 U= Message-ID: <48F05A7C.7030404@infracaninophile.co.uk> Date: Sat, 11 Oct 2008 08:49:16 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.17 (X11/20080929) MIME-Version: 1.0 To: Richard Smith References: <111038.12337.qm@web45011.mail.sp1.yahoo.com> In-Reply-To: <111038.12337.qm@web45011.mail.sp1.yahoo.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig6CB20C5D69B775E8E7E6D1F7" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (smtp.infracaninophile.co.uk [IPv6:::1]); Sat, 11 Oct 2008 08:50:15 +0100 (BST) X-Virus-Scanned: ClamAV 0.94/8411/Sat Oct 11 03:40:28 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: dmesg: Invalid time in clock: check and reset the date X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 07:50:22 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6CB20C5D69B775E8E7E6D1F7 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Richard Smith wrote: > Hi, I've just installed FreeBSD 7.0 Release along with Windows XP on my= PC. I found that when I set the clock to the correct time&date, next tim= e I boot into FreeBSD it changes and reports the wrong time&date. Both BI= OS and Windows reports the time correctly. >=20 > dmesg shows the following message: > Invalid time in clock: check and reset the date! >=20 > Can't figure out what's wrong... any help will be appreciated. Is the time out by an exact number of hours?[*] Does the offset correspond to your localities' timezone offset from UTC? If so, then what is happening is this: Windows will only deal with one timezone at a time, and it expects the system clock (and consequently the CMOS clock on the motherboard) to be set to the local wall-clock time. Unix in comparison allows each process to be run in an arbitrary timezone, simply by setting the TZ environment variable. It expects the system clock and the CMOS clock to be set to UTC, and it calculates the local offset as required. When you reboot the machine, the internal system clock is set from the cmos clock, so one or the other OS will end up thinking local wall-clock time is UTC or vice-versa. Unless you have the happy=20 fortune to be living in this Sceptered Isle (but only during the winterti= me), or in certain parts of West Africa that's going to cause problems. If you need to dual-boot, FreeBSD provides a mechanism for allowing the CMOS clock to be set to wallclock time. You can toggle the setting using /usr/sbin/tzsetup -- if there is a zero length file /etc/wa= ll_cmos_clock then your system is running in compatability mode. Note: this file should not appear on a box that is dedicated to running FreeBSD[+] -- the tzsetup default is the /wrong/ choice in this case. Cheers, Matthew [*] Assuming you don't live in Newfoundland or one of the other odd places with timezones that have a 30 minute offset. [+] or that only dual boots to *BSD or Linux or MacOS X or Solaris etc. --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig6CB20C5D69B775E8E7E6D1F7 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.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkjwWoMACgkQ8Mjk52CukIyIVACeJxpNhutab5xgHvtTCIy63/Y3 iXsAn1sQseMxLryflMXTg0DqnC1h7ap3 =cTR1 -----END PGP SIGNATURE----- --------------enig6CB20C5D69B775E8E7E6D1F7-- From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 07:56:56 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A3AC1065687 for ; Sat, 11 Oct 2008 07:56:56 +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 40F508FC1B for ; Sat, 11 Oct 2008 07:56:56 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from TEDSDSK (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 m9B7usJc061517; Sat, 11 Oct 2008 00:56:55 -0700 (PDT) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "Matthew Seaman" , "Richard Smith" Date: Sat, 11 Oct 2008 00:57:45 -0700 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.1933 In-Reply-To: <48F05A7C.7030404@infracaninophile.co.uk> Importance: Normal X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (mail.freebsd-corp-net-guide.com [65.75.192.90]); Sat, 11 Oct 2008 00:56:55 -0700 (PDT) Cc: freebsd-questions@freebsd.org Subject: RE: dmesg: Invalid time in clock: check and reset the date X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 07:56:56 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Matthew Seaman > Sent: Saturday, October 11, 2008 12:49 AM > To: Richard Smith > Cc: freebsd-questions@freebsd.org > Subject: Re: dmesg: Invalid time in clock: check and reset the date > > > Richard Smith wrote: > > Hi, I've just installed FreeBSD 7.0 Release along with Windows > XP on my PC. I found that when I set the clock to the correct > time&date, next time I boot into FreeBSD it changes and reports > the wrong time&date. Both BIOS and Windows reports the time correctly. > > > > dmesg shows the following message: > > Invalid time in clock: check and reset the date! > > > > Can't figure out what's wrong... any help will be appreciated. > > Is the time out by an exact number of hours?[*] Does the offset > correspond to your localities' timezone offset from UTC? > > If so, then what is happening is this: Windows will only deal with > one timezone at a time, and it expects the system clock (and > consequently the CMOS clock on the motherboard) to be set to the > local wall-clock time. > > Unix in comparison allows each process to be run in an arbitrary > timezone, simply by setting the TZ environment variable. It > expects the system clock and the CMOS clock to be set to UTC, and > it calculates the local offset as required. > > When you reboot the machine, the internal system clock is set from > the cmos clock, so one or the other OS will end up thinking local > wall-clock time is UTC or vice-versa. Unless you have the happy > fortune to be living in this Sceptered Isle (but only during the > wintertime), or in certain parts of West Africa that's going to > cause problems. > > If you need to dual-boot, FreeBSD provides a mechanism for allowing > the CMOS clock to be set to wallclock time. You can toggle the > setting using /usr/sbin/tzsetup -- if there is a zero length file > /etc/wall_cmos_clock then your system is running in compatability > mode. Note: this file should not appear on a box that is dedicated > to running FreeBSD[+] -- the tzsetup default is the /wrong/ choice > in this case. > No, it's not. There is nothing wrong with running the CMOS clock on wall-clock time even on a dedicated system. You can do it any way you please. Any real server should be synced by NTP in any case since the internal RTC clock chip in a PC is not reliable or accurate. Note that if you do run the CMOS clock on UTC that if your BIOS/CMOS has a fancy auto-adjusting daylight savings time thingie in it, you should disable that. Ted From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 08:10:50 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C5641065693 for ; Sat, 11 Oct 2008 08:10:50 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 92B6D8FC16 for ; Sat, 11 Oct 2008 08:10:49 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2) with ESMTP id m9B8Afxn043234; Sat, 11 Oct 2008 10:10:41 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2/Submit) with ESMTP id m9B8Aflx043231; Sat, 11 Oct 2008 10:10:41 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 11 Oct 2008 10:10:41 +0200 (CEST) From: Wojciech Puchar To: Michal Kulczewski In-Reply-To: <48F04522.4080203@man.poznan.pl> Message-ID: <20081011101033.K43229@wojtek.tensor.gdynia.pl> References: <48F04522.4080203@man.poznan.pl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: freebsd7 & kde4 & performance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 08:10:50 -0000 well it's KDE. what do you expect ;) On Sat, 11 Oct 2008, Michal Kulczewski wrote: > Hi, > > I'm a little bit disappointed with the performance of kde4 on freebsd7. > I have Pentium M 2GHz, 1GB RAM, radeon x300, tried both, radeon and ati > drivers, but kde4 is still so slow that I cannot work with it. Is it > because of poor graphic card or driver itself? I'm looking forward to > any suggestions. > > Cheers, > Michal > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 09:58:53 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97C3D1065691 for ; Sat, 11 Oct 2008 09:58:53 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA07.westchester.pa.mail.comcast.net (qmta07.westchester.pa.mail.comcast.net [76.96.62.64]) by mx1.freebsd.org (Postfix) with ESMTP id 455E88FC1A for ; Sat, 11 Oct 2008 09:58:53 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA14.westchester.pa.mail.comcast.net ([76.96.62.60]) by QMTA07.westchester.pa.mail.comcast.net with comcast id RMxg1a00A1HzFnQ57Mysms; Sat, 11 Oct 2008 09:58:52 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA14.westchester.pa.mail.comcast.net with comcast id RMyr1a0022P6wsM3aMysWH; Sat, 11 Oct 2008 09:58:52 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=8IlyM5k05hLFR04eh9wA:9 a=egs2PlauTtPgrq5RObEXY25_LBAA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 3C25FC9419; Sat, 11 Oct 2008 02:58:51 -0700 (PDT) Date: Sat, 11 Oct 2008 02:58:51 -0700 From: Jeremy Chadwick To: Ansar Mohammed Message-ID: <20081011095851.GA57170@icarus.home.lan> References: <047701c92b4e$512236d0$f366a470$@com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <047701c92b4e$512236d0$f366a470$@com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: proflibs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 09:58:53 -0000 On Fri, Oct 10, 2008 at 11:06:11PM -0400, Ansar Mohammed wrote: > Can anyone explain what are the proflibs on the install media, and what they > are for? They're special versions of all the libraries that come with FreeBSD which contain profiling code (code for determining the amount of time spent within or between two functions). They're for developers. -- | 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 Sat Oct 11 10:09:51 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53F4B1065686 for ; Sat, 11 Oct 2008 10:09:51 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA06.emeryville.ca.mail.comcast.net (qmta06.emeryville.ca.mail.comcast.net [76.96.30.56]) by mx1.freebsd.org (Postfix) with ESMTP id 3A1CF8FC0C for ; Sat, 11 Oct 2008 10:09:51 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA14.emeryville.ca.mail.comcast.net ([76.96.30.60]) by QMTA06.emeryville.ca.mail.comcast.net with comcast id RN9E1a0041HpZEsA6N9qXg; Sat, 11 Oct 2008 10:09:50 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA14.emeryville.ca.mail.comcast.net with comcast id RN9p1a00K2P6wsM8aN9qA4; Sat, 11 Oct 2008 10:09:50 +0000 X-Authority-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=HehKXJD7uoPwdYJcbzAA:9 a=qRHPTrql_ijVNZEj4LwA:7 a=-OJPkaGF6z2lWmzR8EiMEIlMq54A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id CE330C9419; Sat, 11 Oct 2008 03:09:49 -0700 (PDT) Date: Sat, 11 Oct 2008 03:09:49 -0700 From: Jeremy Chadwick To: "Conrad J. Sabatier" Message-ID: <20081011100949.GB57170@icarus.home.lan> References: <48EFE00B.32391.87A6C@conrads.cox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48EFE00B.32391.87A6C@conrads.cox.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Need help installing on SATA X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 10:09:51 -0000 On Fri, Oct 10, 2008 at 11:06:51PM -0500, Conrad J. Sabatier wrote: > Does anyone know the magic incantation that will permit me to install > FreeBSD on this new machine of mine (nVidia chipset, SATA1 disk > controller)? This information is too vague. We need to know *exactly*: 1) What motherboard model, 2) What SATA controller you're using ("nVidia chipset" is too vague), 3) If you're using BIOS-level RAID or not, 4) What version of "7.x" you're trying to install. Please note that FreeBSD often does not support brand-spanking-new hardware. For example, there are Asus motherboards out right now which use a Marvell ATA/PATA controller which FreeBSD does not have support for. Linux adopts brand-spanking-new hardware much quicker than we do. Finally, these problems are difficult to solve; it's a chicken-and-egg problem. Even if you can get into the Fixit CD's "Fixit#" prompt and type "dmesg", you probably don't have serial console or anything hooked up, so getting us the dmesg output would be very difficult. > I've been trying for a week or so now, with no luck. Just out of > curiosity, I downloaded and ran Ubuntu 8.x, and it recognized all of > my hardware automatically. The FreeBSD installer (both in 7.x and > 8.x), though, can't find my hard drive or CD-ROM. There have been *tons* of changes to the ATA/SATA layer between different 7.x versions. I would urge you to try 7.1-BETA (do not let the term "BETA" scare you away) and see if it works for you: ftp://ftp4.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/7.1/ ftp://ftp4.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/7.1/ There are some of us which have this problem on CURRENT (8.0). For example, in my case, my Promise TX4310 card is not even seen on the PCI bus during boot-up, while it works just fine in RELENG_7. > I *really* don't want to have to resort to Linux, not after using > FreeBSD for 12 years now, but if I can't find a solution to this > problem, I'll have no choice. :-( I'm not sure why people resort to saying things like this, like somehow they're committing a sin by using another operating system. Open source is about freedom of choice -- if FreeBSD doesn't work for you or get the job done, and Linux does, then use Linux! If Windows works for you, use Windows! There's absolutely no shame in that. Blind, one-sided advocacy only harms open source projects. -- | 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 Sat Oct 11 10:44:16 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 458CF10656A2; Sat, 11 Oct 2008 10:44:16 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 506BD8FC23; Sat, 11 Oct 2008 10:44:14 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2) with ESMTP id m9BAi3th044210; Sat, 11 Oct 2008 12:44:03 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2/Submit) with ESMTP id m9BAi3jp044207; Sat, 11 Oct 2008 12:44:03 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 11 Oct 2008 12:44:03 +0200 (CEST) From: Wojciech Puchar To: Jeremy Chadwick In-Reply-To: <20081011100949.GB57170@icarus.home.lan> Message-ID: <20081011124314.I44168@wojtek.tensor.gdynia.pl> References: <48EFE00B.32391.87A6C@conrads.cox.net> <20081011100949.GB57170@icarus.home.lan> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: "Conrad J. Sabatier" , freebsd-questions@freebsd.org Subject: Re: Need help installing on SATA X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 10:44:16 -0000 > they're committing a sin by using another operating system. Open source > is about freedom of choice -- if FreeBSD doesn't work for you or get the > job done, and Linux does, then use Linux! If Windows works for you, use > Windows! There's absolutely no shame in that. Blind, one-sided except when it's not advocacy but superiority, for example i would rather seek other hardware than run linux. From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 11:17:26 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D546E1065688 for ; Sat, 11 Oct 2008 11:17:26 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA06.westchester.pa.mail.comcast.net (qmta06.westchester.pa.mail.comcast.net [76.96.62.56]) by mx1.freebsd.org (Postfix) with ESMTP id 7F78B8FC0C for ; Sat, 11 Oct 2008 11:17:26 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA05.westchester.pa.mail.comcast.net ([76.96.62.43]) by QMTA06.westchester.pa.mail.comcast.net with comcast id RNv21a00A0vyq2s56PHKfK; Sat, 11 Oct 2008 11:17:19 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA05.westchester.pa.mail.comcast.net with comcast id RPHQ1a0032P6wsM3RPHQb2; Sat, 11 Oct 2008 11:17:25 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=hM_6Ibkl6hzLfcKDwJ8A:9 a=YL9srWlqZKyfB5oL144A:7 a=whqdCaO2SFb9N15ThvdwcdAfhoMA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 375ECC941C; Sat, 11 Oct 2008 04:17:24 -0700 (PDT) Date: Sat, 11 Oct 2008 04:17:24 -0700 From: Jeremy Chadwick To: Wojciech Puchar Message-ID: <20081011111724.GA58920@icarus.home.lan> References: <48EFE00B.32391.87A6C@conrads.cox.net> <20081011100949.GB57170@icarus.home.lan> <20081011124314.I44168@wojtek.tensor.gdynia.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081011124314.I44168@wojtek.tensor.gdynia.pl> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: "Conrad J. Sabatier" , freebsd-questions@freebsd.org Subject: Re: Need help installing on SATA X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 11:17:26 -0000 On Sat, Oct 11, 2008 at 12:44:03PM +0200, Wojciech Puchar wrote: >> they're committing a sin by using another operating system. Open source >> is about freedom of choice -- if FreeBSD doesn't work for you or get the >> job done, and Linux does, then use Linux! If Windows works for you, use >> Windows! There's absolutely no shame in that. Blind, one-sided > > except when it's not advocacy but superiority, for example i would rather > seek other hardware than run linux. What the OP described is definitely advocacy; "I've been using FreeBSD for 12 years and ". The sooner users and system administrators stop toting this " rocks! It's better than yours! It's better than !" attitude the more mature and serious said operating system will appear to the world, and to commercial vendors. Speaking solely with regards to Linux: it has the upper hand in many regards. As someone who used Linux from 1992 until 1997, and switched to BSD, I have experience in both worlds. Linux today has: - More kernel developers that know the innards well. FreeBSD has no where near the quantity of said kernel folks, which means our guys are over-worked and stressed most of the time, and if a key person goes on hiatus, there's no guarantee issues will get dealt with while they are gone (see below), - Multiple (read: more than one) kernel developers who are dedicated to parts of the kernel. FreeBSD has many very key/important pieces which are maintained by *one individual ONLY*. If that individual is busy with their job, real life, out sick, or even death (yes, this has happened!), it means that a key part of the kernel ends up being neglected for an indefinite amount of time (usually years), - Full support from hardware manufacturers/vendors. Linux developers are able to get development/test-bed cards (and usually documentation) for developing a new driver, sometimes for hardware/chips that aren't even on the market yet. FreeBSD *very* rarely, if ever, gets this. We resort to looking at NetBSD or OpenBSD code (and they are in the same boat we are), hoping they have support for said hardware. If not, we resort to looking at Linux code (which is immensely different from ours). Vendors often ignore us. I can expand on why I believe this is, but I have no example cases to back my opinions up, - Turn-around time on fixes or bugs is significantly faster than ours, especially in kernel-land. This is a direct result of having more regularly-operating eyes, - Larger user base. This means more bug reports, which I consider a good thing -- it means more things are getting fixed, - More "user-friendly" interface pieces. There are many aspects of FreeBSD which require knowledge of C, or require that someone write a C wrapper to get certain pieces of data from the kernel. Linux has numerous methods which allow someone using Python or Ruby or Perl to access said data. FreeBSD can accomplish this, there's nothing stopping us except time/effort, so it's not really a "negative" against FreeBSD; but people *are* picking Linux because of this, - A significantly different attitude when it comes to support. Back when I used Linux, the attitude was *horrible* (which is why I moved to BSD), but it has improved greatly in the past 10 years. I can expand on this if need be, but you'll just have to trust me for now. One of the attitudes we have which is very unrealistic is "you have the source, you can fix it yourself" -- I'd say 80% of our community does not have the ability (or time) to do this. It is rude and unprofessional of us to expect this of our users. This is reality, I'm sorry to say; no form of advocacy, T-shirt-wearing, or blogging "FreeBSD rocks!" will change it. In my opinion, it's better to embrace the above facts (because nothing is perfect, Linux included!), and try to improve on them. People will use whatever gets the job done for them. If it doesn't, users *will* switch to another operating system, and there is absolutely nothing wrong with that. Why? Because reality states: solving problems is more important than advocacy or "superiority". -- | 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 Sat Oct 11 12:11:20 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B45DA106569E for ; Sat, 11 Oct 2008 12:11:20 +0000 (UTC) (envelope-from fbsd06+2T=4f2b73f4@mlists.homeunix.com) Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by mx1.freebsd.org (Postfix) with ESMTP id 8E2998FC1C for ; Sat, 11 Oct 2008 12:11:20 +0000 (UTC) (envelope-from fbsd06+2T=4f2b73f4@mlists.homeunix.com) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 43608D05A4 for ; Sat, 11 Oct 2008 08:11:18 -0400 (EDT) Date: Sat, 11 Oct 2008 13:11:15 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20081011131115.0c46d0b4@gumby.homeunix.com.> In-Reply-To: <48F04522.4080203@man.poznan.pl> References: <48F04522.4080203@man.poznan.pl> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: freebsd7 & kde4 & performance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 12:11:20 -0000 On Sat, 11 Oct 2008 08:18:10 +0200 Michal Kulczewski wrote: > Hi, > > I'm a little bit disappointed with the performance of kde4 on > freebsd7. I have Pentium M 2GHz, 1GB RAM, radeon x300, tried both, > radeon and ati drivers, > but kde4 is still so slow that I cannot work > with it. Is it because of poor graphic card or driver itself? I'm > looking forward to any suggestions. Have you tried turning-off all the effects. Personally I prefer KDE3, I don't think KDE4 is ready for serious use. From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 12:27:02 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2E7D1065678 for ; Sat, 11 Oct 2008 12:27:02 +0000 (UTC) (envelope-from smohideen@mx2.labs.rootshell.ws) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.187]) by mx1.freebsd.org (Postfix) with ESMTP id 38AE28FC19 for ; Sat, 11 Oct 2008 12:27:01 +0000 (UTC) (envelope-from smohideen@mx2.labs.rootshell.ws) Received: by ti-out-0910.google.com with SMTP id d27so473780tid.3 for ; Sat, 11 Oct 2008 05:27:00 -0700 (PDT) Received: by 10.110.105.10 with SMTP id d10mr2862929tic.57.1223728020384; Sat, 11 Oct 2008 05:27:00 -0700 (PDT) Received: from localhost ([123.236.53.245]) by mx.google.com with ESMTPS id y3sm6338586tia.6.2008.10.11.05.26.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 11 Oct 2008 05:26:59 -0700 (PDT) Date: Sat, 11 Oct 2008 23:33:08 +0530 From: Shakul M Hameed To: freebsd-stable@freebsd.org Message-ID: <20081011180308.GA7094@freebsdbox> References: <20081011173613.GA7326@freebsdbox> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081011173613.GA7326@freebsdbox> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: cvsup 7.0 STABLE checkout failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 12:27:02 -0000 Forwarding original msg to freebsd-questions mailing list. On Sat, Oct 11, 2008 at 11:06:13PM +0530, Shakul M Hameed wrote: > I am trying to download 7.0 stable release through cvsup, but it fails. I tried changing the server, but still get those errors. > > ----- ERROR ------- > > Checkout src/share/doc/psd/15.yacc/ss.. > Updater failed: Error in > "/usr/home/moin/smbmount/code/SUPDB/sup/src-all/checkouts.cvs:RELENG_7": Cannot rename > "/usr/home/moin/smbmount/code/SUPDB/sup/src-all/#cvs.cvsup-7219.0" to > "/usr/home/moin/smbmount/code/SUPDB/sup/src-all/checkouts.cvs:RELENG_7": No such filer or directory > > ---- SUPFILE ----- > default stable-cvsup from /usr/share/examples/cvsup > -- > > pls, indicate what i am doing wrong here? > > - Moin -- - Moin From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 12:38:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8F2B106568F for ; Sat, 11 Oct 2008 12:38:28 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA09.westchester.pa.mail.comcast.net (qmta09.westchester.pa.mail.comcast.net [76.96.62.96]) by mx1.freebsd.org (Postfix) with ESMTP id 9585F8FC1F for ; Sat, 11 Oct 2008 12:38:28 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA10.westchester.pa.mail.comcast.net ([76.96.62.28]) by QMTA09.westchester.pa.mail.comcast.net with comcast id RQ6j1a0030cZkys59QeTFe; Sat, 11 Oct 2008 12:38:27 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA10.westchester.pa.mail.comcast.net with comcast id RQeS1a0082P6wsM3WQeTZW; Sat, 11 Oct 2008 12:38:27 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=f5pdXQXzO2EOmHFndDkA:9 a=nWUuVCWWvEma-M_Ii4MA:7 a=4vfitc7QdKvWqPeX8mml_TBVVEcA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 91692C941C; Sat, 11 Oct 2008 05:38:26 -0700 (PDT) Date: Sat, 11 Oct 2008 05:38:26 -0700 From: Jeremy Chadwick To: Shakul M Hameed Message-ID: <20081011123826.GA62390@icarus.home.lan> References: <20081011173613.GA7326@freebsdbox> <20081011180308.GA7094@freebsdbox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081011180308.GA7094@freebsdbox> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: cvsup 7.0 STABLE checkout failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 12:38:29 -0000 On Sat, Oct 11, 2008 at 11:33:08PM +0530, Shakul M Hameed wrote: > Forwarding original msg to freebsd-questions mailing list. > > On Sat, Oct 11, 2008 at 11:06:13PM +0530, Shakul M Hameed wrote: > > I am trying to download 7.0 stable release through cvsup, but it fails. I tried changing the server, but still get those errors. > > > > ----- ERROR ------- > > > > Checkout src/share/doc/psd/15.yacc/ss.. > > Updater failed: Error in > > "/usr/home/moin/smbmount/code/SUPDB/sup/src-all/checkouts.cvs:RELENG_7": Cannot rename > > "/usr/home/moin/smbmount/code/SUPDB/sup/src-all/#cvs.cvsup-7219.0" to > > "/usr/home/moin/smbmount/code/SUPDB/sup/src-all/checkouts.cvs:RELENG_7": No such filer or directory > > > > ---- SUPFILE ----- > > default stable-cvsup from /usr/share/examples/cvsup > > -- > > > > pls, indicate what i am doing wrong here? 1) Your setup looks very custom. I see SMB/CIFS in use, and you're using a non-standard directory for the cvsup CVS data (the default is /usr/sup). You're either starting cvsup with some custom arguments or your supfile *is* in fact modified. 2) Check permissions and ownership of all directories leading up to /usr/home/moin/smbmount/code/SUPDB/sup/src-all. Yes, check every single one. 3) Ensure your umask is 022 before starting cvsup. This could be a side result of item #2. 4) I'm not sure why you're using cvsup on a 7.x box when csup comes with the base system. I would also try doing this as a last resort: rm -fr /usr/home/moin/smbmount/code/SUPDB/sup/src-all rm -fr /usr/src/* csup -h -L 2 /usr/share/examples/cvsup/stable-supfile However, with regards to use of /usr/share/examples/cvsup/stable-supfile see my above comment; yours may be modified. -- | 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 Sat Oct 11 12:49:31 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E72B81065691 for ; Sat, 11 Oct 2008 12:49:31 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp103.prem.mail.ac4.yahoo.com (smtp103.prem.mail.ac4.yahoo.com [76.13.13.42]) by mx1.freebsd.org (Postfix) with SMTP id 8FC598FC15 for ; Sat, 11 Oct 2008 12:49:31 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: (qmail 99289 invoked from network); 11 Oct 2008 12:49:30 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:X-Face:Mime-Version:Content-Type; b=MD8O1ehD9GR5WbgDe5inJm68uSh2qhCKKImmZKiWUrcBZM7p3awNHuQSTExDs1gjjLUj6vpFtLg0Zkt1T3QAInkhwlUoF0HNM4QGjxB3nITKBppW4Xgaw5JrcBRyzGj9pN4GTtwOIaN58eK/qK9thzx7JTF8tqMcFCN/5BWz7pI= ; Received: from unknown (HELO scorpio) (gesbbb@67.189.233.182 with login) by smtp103.prem.mail.ac4.yahoo.com with SMTP; 11 Oct 2008 12:49:30 -0000 X-YMail-OSG: aRFz4YIVM1kuHOoSihV8tckNVmdS27FnDCFUo9_Ur16KNcnMu.Dhz8NVDq5Ay8uG.CIsMADQVfIDJqjyH9VTzrokJpn34vQgOX4YF9XQH9o3FmuwNchSVY.0L2GDQyaa8qiw23CVimO2UbDfVIJa.MYcCksJ_oPdDib0Aa3bT0DMyFtHwJ54kjFPDQ-- X-Yahoo-Newman-Property: ymail-3 Date: Sat, 11 Oct 2008 08:49:17 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20081011084917.6560a3c5@scorpio> In-Reply-To: <20081011111724.GA58920@icarus.home.lan> References: <48EFE00B.32391.87A6C@conrads.cox.net> <20081011100949.GB57170@icarus.home.lan> <20081011124314.I44168@wojtek.tensor.gdynia.pl> <20081011111724.GA58920@icarus.home.lan> Organization: seibercom.net X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd6.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/i=8t4jYiejIEo7bENPkq24Q"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Re: Need help installing on SATA 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, 11 Oct 2008 12:49:32 -0000 --Sig_/i=8t4jYiejIEo7bENPkq24Q Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, 11 Oct 2008 04:17:24 -0700 Jeremy Chadwick wrote: >People will use whatever gets the job done for them. If it doesn't, >users *will* switch to another operating system, and there is >absolutely nothing wrong with that. Why? Because reality states: >solving problems is more important than advocacy or "superiority". I could not have said it better myself. While the hobbyist can afford to spend whatever time they have available on their hobby; in a business environment, results are what matter first and foremost. Neither software nor hardware, irregardless of cost, is of any use if it does not work, and work well. A pseudo elitist attitude is just not acceptable in a corporate atmosphere. --=20 Jerry gesbbb@yahoo.com Bubble Memory, n.: A derogatory term, usually referring to a person's intelligence. See also "vacuum tube". --Sig_/i=8t4jYiejIEo7bENPkq24Q Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjwoNcACgkQBvaKIJWWCO3VTACfasY32jqTrYxSo6TjeDDAkuqE oKMAoKNu13SZFZ7+McbWKiRlhqmEn61p =dJZu -----END PGP SIGNATURE----- --Sig_/i=8t4jYiejIEo7bENPkq24Q-- From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 13:01:53 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1E5E1065697 for ; Sat, 11 Oct 2008 13:01:53 +0000 (UTC) (envelope-from ansarm@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.227]) by mx1.freebsd.org (Postfix) with ESMTP id 5B38E8FC19 for ; Sat, 11 Oct 2008 13:01:53 +0000 (UTC) (envelope-from ansarm@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so234798wra.27 for ; Sat, 11 Oct 2008 06:01:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:references :in-reply-to:subject:date:message-id:mime-version:content-type :content-transfer-encoding:x-mailer:thread-index:content-language; bh=LFB6Fk9rGyguGjlOaOemuPUquFWpr9GTZFD1m5UzevI=; b=IKL/2LQcKuxQE+/F30GzbnSPZ34aev+7y3a6/yVuFUaCezAvCUtJkzNRs5GJNXFyB4 e9g30+ZzYgSlUURYZg0Awyq6wU45VjV070fns45sV36x7U3gBZsIG3NhHc3LTZNpM1cP AHHajwV1PhtirJzFHC1c3Davtaprq4HMZpBzw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-type:content-transfer-encoding:x-mailer :thread-index:content-language; b=sGCVgSsVq5VbBxSmlJlnCqp9e9R6bZqlAuBfD+ICCeiBTzxjfjB+ZnidXl460lL0es KhdmPRXh+A9XCf0zKI+yJ/jzM4C+wE4ONQi2eYuxVfY6NR4UWFCFEucoyzWM/l/0Ea1u NEA1xOkDuFmn4sO9YX+EsWiPrpIt99CBjFFic= Received: by 10.65.188.2 with SMTP id q2mr5414538qbp.35.1223730112301; Sat, 11 Oct 2008 06:01:52 -0700 (PDT) Received: from ansarmm2 (206-248-188-123.dsl.teksavvy.com [206.248.188.123]) by mx.google.com with ESMTPS id 12sm5252824qbw.2.2008.10.11.06.01.50 (version=SSLv3 cipher=RC4-MD5); Sat, 11 Oct 2008 06:01:51 -0700 (PDT) From: "Ansar Mohammed" To: "'Jeremy Chadwick'" References: <047701c92b4e$512236d0$f366a470$@com> <20081011095851.GA57170@icarus.home.lan> In-Reply-To: <20081011095851.GA57170@icarus.home.lan> Date: Sat, 11 Oct 2008 09:01:50 -0400 Message-ID: <04b301c92ba1$8704fd70$950ef850$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ackrh/eEo6+6BxVkR02W+/5dKGLGYgAGXdiQ Content-Language: en-ca Cc: freebsd-questions@freebsd.org Subject: RE: proflibs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 13:01:53 -0000 Are they needed for compiling anything from ports? > -----Original Message----- > From: Jeremy Chadwick [mailto:koitsu@FreeBSD.org] > Sent: October 11, 2008 5:59 AM > To: Ansar Mohammed > Cc: freebsd-questions@freebsd.org > Subject: Re: proflibs > > On Fri, Oct 10, 2008 at 11:06:11PM -0400, Ansar Mohammed wrote: > > Can anyone explain what are the proflibs on the install media, and > what they > > are for? > > They're special versions of all the libraries that come with FreeBSD > which contain profiling code (code for determining the amount of time > spent within or between two functions). > > They're for developers. > > -- > | 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 Sat Oct 11 13:17:18 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50C461065687 for ; Sat, 11 Oct 2008 13:17:18 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) 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 D26E08FC1D for ; Sat, 11 Oct 2008 13:17:17 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA11.westchester.pa.mail.comcast.net ([76.96.62.36]) by QMTA02.westchester.pa.mail.comcast.net with comcast id RQix1a00K0mv7h052RGic6; Sat, 11 Oct 2008 13:16:42 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA11.westchester.pa.mail.comcast.net with comcast id RRGl1a0022P6wsM3XRGlas; Sat, 11 Oct 2008 13:16:46 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=9wG6yOWsR_IbVfSQpa8A:9 a=LsOx0-rKkWlcuquH-qk7YInd5XMA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id A8C7FC9419; Sat, 11 Oct 2008 06:17:15 -0700 (PDT) Date: Sat, 11 Oct 2008 06:17:15 -0700 From: Jeremy Chadwick To: Ansar Mohammed Message-ID: <20081011131715.GA63241@icarus.home.lan> References: <047701c92b4e$512236d0$f366a470$@com> <20081011095851.GA57170@icarus.home.lan> <04b301c92ba1$8704fd70$950ef850$@com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <04b301c92ba1$8704fd70$950ef850$@com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: proflibs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 13:17:18 -0000 On Sat, Oct 11, 2008 at 09:01:50AM -0400, Ansar Mohammed wrote: > Are they needed for compiling anything from ports? I have yet to find a port that *requires* profiled libraries. They are only needed for developers wishing to "benchmark" code (determine how long the system/processor stays within a specific function), and use of profiled libraries has to be explicitly requested (using gcc -p). -- | 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 Sat Oct 11 12:57:04 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9342106568F for ; Sat, 11 Oct 2008 12:57:04 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: from web51103.mail.re2.yahoo.com (web51103.mail.re2.yahoo.com [206.190.38.145]) by mx1.freebsd.org (Postfix) with SMTP id AAA0B8FC1C for ; Sat, 11 Oct 2008 12:57:04 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: (qmail 54439 invoked by uid 60001); 11 Oct 2008 12:57:04 -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:Cc:MIME-Version:Content-Type:Message-ID; b=My5Llj/HKIV8Rd8kO43CVSPYI9b0DwL0J2uvlm8TkkDix+9QJ/DvPzeiKvY5vMrtwVLlD9Xk/PQeOyqeNed4N3y9uSDMyiZNfGxLDaSFfKth5zR/qc3rargH5fUK1XyY0n3V+2doJOAyA2UYDgt8r+Y0F0wsjxG/FirFFlIElKI=; X-YMail-OSG: R_rgL7cVM1m5iQ5DcXFGtStDjr8bZ_mK5akmHYamxK_zGY_DoHVqUjuhRZZxZefPCK2HWU8L8vdhlAQnLZPAbVvMjpSkXUSQm1gcSaWjIZsAVFCgzxU6dG2hYIvXpUDbBKz5q6_2sb8En0iMV0I5GGrK1.LH4VXc1LcD77dOgtke3Nlkgg6Iw1XIX7M- Received: from [82.136.213.253] by web51103.mail.re2.yahoo.com via HTTP; Sat, 11 Oct 2008 05:57:03 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Sat, 11 Oct 2008 05:57:03 -0700 (PDT) From: Dino Vliet To: freebsd-maintainer@opera.com MIME-Version: 1.0 Message-ID: <970638.47421.qm@web51103.mail.re2.yahoo.com> X-Mailman-Approved-At: Sat, 11 Oct 2008 13:21:32 +0000 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: warning message when starting opera-9.60.20081004 on amd64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dino_vliet@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2008 12:57:05 -0000 Hi All, when I start opera on my amd64 machine running freebsd 6.3 I get the follow= ing warning message on my console: [: missing ] grep: ]: No such file or directory exec: /usr/local/share/opera/bin//operapluginwrapper.linux: not found opera: Search operapluginwrapper: No response from wrapper after five secon= ds. Probe stopped. opera: Shared object "libjvm.so" not found, required by "opera" It i strange it asks me for a .linux file, while I'm on freebsd. uname -a FreeBSD amd_desktop.telfort.nl 6.3-RELEASE-p4 FreeBSD 6.3-RELEASE-p4 #21: W= ed Oct=A0 1 08:07:27 CEST 2008=A0=A0=A0=A0 rgilaard@amd_desktop:/usr/obj/us= r/src/sys/MYKERNEL=A0 amd64 And opera itself gives me the following warning message about my plugins: Opera encountered a problem during plug-in setup. Plug-ins will not work properly. Check your installation. =A0 Could not start plug-in executable 'operapluginwrapper' =A0 =A0 Searched directory: =A0 /usr/local/share/opera/bin/ The version of opera I'm using is: pkg_info | grep opera opera-9.60.20081004 Blazingly fast, full-featured, standards-compliant brow= ser, Does anyone know what's wrong on my system and what I could do? As a consequence, the java plugin is not working on opera while it does wor= k on firefox. Brgds Dino =0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 14:15:26 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 583481065686 for ; Sat, 11 Oct 2008 14:15:26 +0000 (UTC) (envelope-from smohideen@mx2.labs.rootshell.ws) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.189]) by mx1.freebsd.org (Postfix) with ESMTP id C82198FC14 for ; Sat, 11 Oct 2008 14:15:25 +0000 (UTC) (envelope-from smohideen@mx2.labs.rootshell.ws) Received: by ti-out-0910.google.com with SMTP id d27so492136tid.3 for ; Sat, 11 Oct 2008 07:15:24 -0700 (PDT) Received: by 10.110.7.5 with SMTP id 5mr3027199tig.7.1223734523770; Sat, 11 Oct 2008 07:15:23 -0700 (PDT) Received: from localhost ([123.236.53.245]) by mx.google.com with ESMTPS id 14sm3410179tim.17.2008.10.11.07.15.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 11 Oct 2008 07:15:22 -0700 (PDT) Date: Sun, 12 Oct 2008 01:21:31 +0530 From: Shakul M Hameed To: Jeremy Chadwick Message-ID: <20081011195131.GA931@freebsdbox> References: <20081011173613.GA7326@freebsdbox> <20081011180308.GA7094@freebsdbox> <20081011123826.GA62390@icarus.home.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081011123826.GA62390@icarus.home.lan> User-Agent: Mutt/1.4.2.3i Cc: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: cvsup 7.0 STABLE checkout failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 14:15:26 -0000 On Sat, Oct 11, 2008 at 05:38:26AM -0700, Jeremy Chadwick wrote: > On Sat, Oct 11, 2008 at 11:33:08PM +0530, Shakul M Hameed wrote: > > Forwarding original msg to freebsd-questions mailing list. > > > > On Sat, Oct 11, 2008 at 11:06:13PM +0530, Shakul M Hameed wrote: > > > I am trying to download 7.0 stable release through cvsup, but it fails. I tried changing the server, but still get those errors. > > > > > > ----- ERROR ------- > > > > > > Checkout src/share/doc/psd/15.yacc/ss.. > > > Updater failed: Error in > > > "/usr/home/moin/smbmount/code/SUPDB/sup/src-all/checkouts.cvs:RELENG_7": Cannot rename > > > "/usr/home/moin/smbmount/code/SUPDB/sup/src-all/#cvs.cvsup-7219.0" to > > > "/usr/home/moin/smbmount/code/SUPDB/sup/src-all/checkouts.cvs:RELENG_7": No such filer or directory > > > > > > ---- SUPFILE ----- > > > default stable-cvsup from /usr/share/examples/cvsup > > > -- > > > > > > pls, indicate what i am doing wrong here? > > 1) Your setup looks very custom. I see SMB/CIFS in use, and you're > using a non-standard directory for the cvsup CVS data (the default is Yes, I am using mount_smbfs to mount a network harddrive to store all my devel code. I don't want to overcrowd the the root disk > /usr/sup). You're either starting cvsup with some custom arguments or > your supfile *is* in fact modified. I am using X11 cvsup stable-supfile. This is the snapshot of my modified cvsup file ------------------------------------------------ # Defaults that apply to all the collections # # IMPORTANT: Change the next line to use one of the CVSup mirror sites # listed at http://www.freebsd.org/doc/handbook/mirrors.html. *default host=cvsup3.de.FreeBSD.org *default base=/usr/home/moin/smbmount/code/SUPDB/ *default prefix=/usr/home/moin/smbmount/code/src/ # The following line is for 7-stable. If you want 6-stable, 5-stable, # 4-stable, 3-stable, or 2.2-stable, change to "RELENG_6", "RELENG_5", # "RELENG_4", "RELENG_3", or "RELENG_2_2" respectively. *default release=cvs tag=RELENG_7 *default delete use-rel-suffix # If you seem to be limited by CPU rather than network or disk bandwidth, try # commenting out the following line. (Normally, today's CPUs are fast enough # that you want to run compression.) *default compress ## Main Source Tree. # # The easiest way to get the main source tree is to use the "src-all" # mega-collection. It includes all of the individual "src-*" collections. # Please note: If you want to track -STABLE, leave this uncommented. src-all ------------------------------------------------ > > 2) Check permissions and ownership of all directories leading up to > /usr/home/moin/smbmount/code/SUPDB/sup/src-all. Yes, check every single > one. > > 3) Ensure your umask is 022 before starting cvsup. This could be a side > result of item #2. umask is 0022 > > 4) I'm not sure why you're using cvsup on a 7.x box when csup comes with > the base system. I don't know why ? :-) . But I did as it was listed in the FreeBSD handbook. > > I would also try doing this as a last resort: > > rm -fr /usr/home/moin/smbmount/code/SUPDB/sup/src-all > rm -fr /usr/src/* > csup -h -L 2 /usr/share/examples/cvsup/stable-supfile As a lost resort, I did a "cvsup -g -L2 stable-supfile", with just changing the HOST part without changing other entries in stable-supfile, and I was successful to download the code. Currently, I am trying out to figure why the customised way is failing. - Moin > > However, with regards to use of /usr/share/examples/cvsup/stable-supfile > see my above comment; yours may be modified. > > -- > | 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 Sat Oct 11 14:40:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35F551065689 for ; Sat, 11 Oct 2008 14:40:03 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: from web56807.mail.re3.yahoo.com (web56807.mail.re3.yahoo.com [66.196.97.81]) by mx1.freebsd.org (Postfix) with SMTP id D80A78FC08 for ; Sat, 11 Oct 2008 14:40:02 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: (qmail 23232 invoked by uid 60001); 11 Oct 2008 14:40:02 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=PBOQ9qHXQcfGjQ495jh61IZ7W9diYp9EUuDAuv1PF0aADXEtL3GDOVBWGq8BMbhZOHN0IX++Aom8E3FqAk2Z/9k5FHAazqNPF9xb2+8C8DMqtgscbIuv55qSUseKIWX3uCP7f3tOqukZPtnf6GpuUNPzlWiS9Xvm5tTaubqH9e4=; X-YMail-OSG: 9.23PH4VM1mKXCzh1TD0PGep_2TTZutYTxaOih9aUQPzV3f2PZrEetAhAv3emxEZeK9SB4hRIIWvrE_mf4_QszEsIIouCBk9WXxl0EHh_s072nSW46hU2ORpylWF66w8fSFyMXunStfJk3AuUqX5tfr0d0mXd0LDvOrkxXauq0PPrwelbZP6ML.weRJphA-- Received: from [71.61.220.126] by web56807.mail.re3.yahoo.com via HTTP; Sat, 11 Oct 2008 07:40:01 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Sat, 11 Oct 2008 07:40:01 -0700 (PDT) From: mdh To: Brian , Michal Kulczewski In-Reply-To: <48F04EBA.7010703@man.poznan.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <166708.22574.qm@web56807.mail.re3.yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: freebsd7 & kde4 & performance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mdh_lists@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2008 14:40:03 -0000 --- On Sat, 10/11/08, Michal Kulczewski wrote: > > freebsdemail@gmail.com wrote: > >> Hi Michael, > >> > >> Unfortunetly I've been having the same > difficulty with KDE4. I've > >> tried using both the nv driver as well as nvidia. > >> > >> My hardware is intel core2 duo 1.8ghz, nvidia 8600 > gs with 512 > >> dedicated memory and 2gigs of system memory. > I've tried using 7.0, 7.1 > >> and 8.0(Current) with all malloc debugging > features disabled as well > >> as kernel debugging options turned off. I've > also tried switching back > >> to UFS filesystems from ZFS(root install) to no > avail. > >> > >> In the end I ended up using kde3 due to endless > headaches. I felt I'd > >> share this in hopes someone has managed to get it > to run reasonably well. > >> > >> Regards, > >> > >> Tom > well, there is no much information available though. IMHO > it's a pity > that once fancy gui is available, freebsd users can not > make use of it. > I have to switch to gnome (somehow I don't like kde3). > > Cheers, > Michal Michal, can you describe in more detail just what is performing poorly? Things like what effects, what actions you're taking, what your settings are that effect those actions, etc? I'm running KDE4.1.1 from ports on 7-STABLE and have no performance problems at all with an AthlonX2, 2gigs of memory, and a GeForce6200 card using nvidia binary drivers. One thing I have come up against was the nvidia "black windows bug" with OpenGL effects turned on, but turning them off doesn't signifigantly hinder my enjoyment of KDE4, or make it too much less sexy to be honest. The performance was also fine even with them turned on; it simply caused that bug to occur which made it less usable. Generally speaking, I've found GNOME to run with more performance issues despite less bells and whistles than KDE every time on any system where I've tried it. If you provide some more information, maybe I can direct you to some setting tweaks, etc, but as I said it's working just lovely for me (and this is with a ton of apps open, by the way - several seamonkey windows, a bunch of kpdf, eclipse, many many konsole tabs, xmms, ktorrent, and more. One thing I am curious of is if you're running i386 FreeBSD, or another architecture (amd64, ia64, etc?) Take care. - mdh From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 14:47:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F4F8106568B for ; Sat, 11 Oct 2008 14:47:14 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA05.westchester.pa.mail.comcast.net (qmta05.westchester.pa.mail.comcast.net [76.96.62.48]) by mx1.freebsd.org (Postfix) with ESMTP id 1CB738FC23 for ; Sat, 11 Oct 2008 14:47:13 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA14.westchester.pa.mail.comcast.net ([76.96.62.60]) by QMTA05.westchester.pa.mail.comcast.net with comcast id RQKH1a00A1HzFnQ55SnDpB; Sat, 11 Oct 2008 14:47:13 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA14.westchester.pa.mail.comcast.net with comcast id RSnC1a0072P6wsM3aSnCem; Sat, 11 Oct 2008 14:47:13 +0000 X-Authority-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=N4lCy7rNyhPJkvQOZlAA:9 a=izV516ejFB9B2cifsUcA:7 a=1kTfatLxzRQDSlVihX0ookfKvrUA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id B5456C941C; Sat, 11 Oct 2008 07:47:11 -0700 (PDT) Date: Sat, 11 Oct 2008 07:47:11 -0700 From: Jeremy Chadwick To: Shakul M Hameed Message-ID: <20081011144711.GA64861@icarus.home.lan> References: <20081011173613.GA7326@freebsdbox> <20081011180308.GA7094@freebsdbox> <20081011123826.GA62390@icarus.home.lan> <20081011195131.GA931@freebsdbox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081011195131.GA931@freebsdbox> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: cvsup 7.0 STABLE checkout failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 14:47:14 -0000 On Sun, Oct 12, 2008 at 01:21:31AM +0530, Shakul M Hameed wrote: > > 1) Your setup looks very custom. I see SMB/CIFS in use, and you're > > using a non-standard directory for the cvsup CVS data (the default is > Yes, I am using mount_smbfs to mount a network harddrive to store all my devel code. > I don't want to overcrowd the the root disk I'm left wondering if there are some permissions or ownership issues as a result of this. > I am using X11 cvsup stable-supfile. This is the snapshot of my modified cvsup file > ------------------------------------------------ > # Defaults that apply to all the collections > # > # IMPORTANT: Change the next line to use one of the CVSup mirror sites > # listed at http://www.freebsd.org/doc/handbook/mirrors.html. > *default host=cvsup3.de.FreeBSD.org > *default base=/usr/home/moin/smbmount/code/SUPDB/ > *default prefix=/usr/home/moin/smbmount/code/src/ > # The following line is for 7-stable. If you want 6-stable, 5-stable, > # 4-stable, 3-stable, or 2.2-stable, change to "RELENG_6", "RELENG_5", > # "RELENG_4", "RELENG_3", or "RELENG_2_2" respectively. > *default release=cvs tag=RELENG_7 > *default delete use-rel-suffix > > # If you seem to be limited by CPU rather than network or disk bandwidth, try > # commenting out the following line. (Normally, today's CPUs are fast enough > # that you want to run compression.) > *default compress > > ## Main Source Tree. > # > # The easiest way to get the main source tree is to use the "src-all" > # mega-collection. It includes all of the individual "src-*" collections. > # Please note: If you want to track -STABLE, leave this uncommented. > src-all > ------------------------------------------------ I have no idea what an "X11 cvsup stable-supfile" is, so I assume you mean you've used /usr/share/examples/cvsup/stable-supfile as a template supfile, but have your own somewhere else. The reason I was confused: you first stated you're using the ones in /usr/share/examples/cvsup, and I assumed that mean you were using it directly. You shouldn't modify any files in /usr/share/examples, as they will be replaced/overwritten during installworld. Your pasted supfile looks fine, however. > > 2) Check permissions and ownership of all directories leading up to > > /usr/home/moin/smbmount/code/SUPDB/sup/src-all. Yes, check every single > > one. Please do this. > > 3) Ensure your umask is 022 before starting cvsup. This could be a side > > result of item #2. > umask is 0022 > > > > 4) I'm not sure why you're using cvsup on a 7.x box when csup comes with > > the base system. > > I don't know why ? :-) . But I did as it was listed in the FreeBSD handbook. Are you sure? http://www.freebsd.org/doc/en/books/handbook/cvsup.html -- see the first "Note:" paragraph. > > I would also try doing this as a last resort: > > > > rm -fr /usr/home/moin/smbmount/code/SUPDB/sup/src-all > > rm -fr /usr/src/* > > csup -h -L 2 /usr/share/examples/cvsup/stable-supfile > > As a lost resort, I did a "cvsup -g -L2 stable-supfile", with just > changing the HOST part without changing other entries in > stable-supfile, and I was successful to download the code. I don't see how that would fix or change anything. In fact, I'm fairly certain it doesn't. The error you are receiving from cvsup is telling you "I tried to rename a file, but couldn't". This often implies a permissions or ownership thing. Since the directory you're storing stuff in is on an SMB/CIFS share, I cannot help but wonder if that's the cause of the problem (somehow). > Currently, I am trying out to figure why the customised way is failing. I see nothing wrong with your supfile. -- | 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 Sat Oct 11 14:50:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB41810656B7 for ; Sat, 11 Oct 2008 14:50:09 +0000 (UTC) (envelope-from marshc187@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mx1.freebsd.org (Postfix) with ESMTP id 8D9788FC12 for ; Sat, 11 Oct 2008 14:50:09 +0000 (UTC) (envelope-from marshc187@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so310577qwb.7 for ; Sat, 11 Oct 2008 07:50:08 -0700 (PDT) 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=onJ3MAZka8lI9kbt9jSYHrVB7DhPqcXCWlPtcihCCAY=; b=ERXjcDMUXhqNLB2FCdDU/Bh3CHCobIBAjt0tuaBiBlLk6wOV9n/cs1Gas2+s0JlBw+ 1NVg8CG9951shbFJDuVPmJvOf9vnBf293d+TrGwaJC203803DwAoqq+K5h2WFeamSFq4 00QLt42u19U8TNVpY5gZpYX5rKA5jznim7/Vg= 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=Z6mQWgTiNsyd3LUIprhWmHFtwGyWmR97YRXcAaA33Vs5JAtCAV1jwdIxIZw4LPwRDp K0RHNcWvDp0qBGQMI8l3enbXv5YXFbEWjIMOHjcI+n6etdokeNwF2Me911snCFaifjVC FI6PxjW7PaeCiHRAsvNIiYC7R1wGlAQQajhp4= Received: by 10.214.10.18 with SMTP id 18mr3220871qaj.4.1223736608726; Sat, 11 Oct 2008 07:50:08 -0700 (PDT) Received: by 10.215.101.18 with HTTP; Sat, 11 Oct 2008 07:50:08 -0700 (PDT) Message-ID: <332f78510810110750v7a69061dr6c372704acc163a9@mail.gmail.com> Date: Sat, 11 Oct 2008 16:50:08 +0200 From: t-u-t To: freebsd-questions@freebsd.org In-Reply-To: <1222079631.4625.77.camel@laptop1.herveybayaustralia.com.au> MIME-Version: 1.0 References: <467.10023.qm@web110506.mail.gq1.yahoo.com> <48D63C45.3080102@gmail.com> <1222058661.4625.24.camel@laptop1.herveybayaustralia.com.au> <48D76A4D.2050208@gmail.com> <1222079631.4625.77.camel@laptop1.herveybayaustralia.com.au> 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: Audio Production X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 14:50:10 -0000 On Mon, Sep 22, 2008 at 12:33 PM, Da Rock wrote: > > On Mon, 2008-09-22 at 11:50 +0200, marshc wrote: > > > > > > My only advice on this point is to subscribe to the multimedia list and > ask your questions there (I'll be watching this list too, have been for > some time now due to my htpc issues- I desperately want to use FreeBSD > for a/v, and I suffer the same issues you do in terms of multitasking in > the cpu level, but the main problem with BSD for me is the driver > problems). > > > >From my experience (and I use FreeBSD for many different needs), FreeBSD > can run a/v and multimedia programs, write to multiple components > simultaneously, serve a small amount services, run X, and still respond > happily to your hammering at the CPU while it serves you coffee! It is > mainly dependent on your hardware capabilities (dma, bus bandwidth, > buffers, etc), and obviously the quality of the programs you run. If you > run a shitty program that is poorly written then it won't go as well, > but still perform admirably. But most of the programs ported wouldn't > have been added if they were like that, so you're mostly safe. > > So for a/v I find it performs far better than linux. Linux I still have > trouble with, but it performs better than window$. Linux is a happy > medium in between, and I'll explain why; > > Driver support for the more advanced hardware is not always forthcoming > with FreeBSD, but it is for linux. Most manufacturers aren't very > supportive of open source, and if they do they usually gravitate toward > a linux base because of user popularity. On the upside, there is a > brilliant coder who is extending the linux compat base for hardware side > as well, but you do need to be nearly expert. It is controversial, but > you should be able to use the hardware until native drivers are written. > > Just to clarify, in the development side of FreeBSD there is some > mention of Hats (correct me of I'm wrong here guys), and so any side > projects are kept under a particular hat, the mailing list that relates > to your interest in FreeBSD will be monitored by those working under > these hats will be better able to guide you. This list is just a general > discussion and help list for newbies, but when you get in to more depth > like this you'll want to get to the experts on the subject who monitor a > particular list more closely. > > Have fun and good luck. > thanks, i subscribed to multimedia and move queries there in future and not bother folks here. i have been trying to reply to this but have been busy, and just like to recap briefly. in a nutshell, i am very new to bsd, not even a teenager in dog years, and have tried ever flavour these past months - (fbsd/pcbsd - i386/amd64 -- 6/7) and finally settled on 7.1 amd64. i still have some settings to go through/figure out, and have the occasional system freeze, but i don't have the sluggish/bad installs i had trouble with earlier. before you sent this post i had given up and moved to ubuntu studio, decided to give it another go, and got the best performance ever by installing pcbsd 1.5.1 amd64 (based on 6.3) and enabling ULE. so i got an idea of what fbsd was capable of on my machine with the right setup. (graphics driver aside, it even felt *smoother* than studio64). anyway. will be working on this from now on and my project over the next year, so we'll see what happens on multimedia mailing list. i was just putting together a list of packages and might port there sometime soon and close this from this list. thanks for this post From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 15:14:46 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7FE71065693 for ; Sat, 11 Oct 2008 15:14:46 +0000 (UTC) (envelope-from smohideen@mx2.labs.rootshell.ws) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.184]) by mx1.freebsd.org (Postfix) with ESMTP id 5972F8FC20 for ; Sat, 11 Oct 2008 15:14:46 +0000 (UTC) (envelope-from smohideen@mx2.labs.rootshell.ws) Received: by ti-out-0910.google.com with SMTP id d27so502546tid.3 for ; Sat, 11 Oct 2008 08:14:45 -0700 (PDT) Received: by 10.110.49.6 with SMTP id w6mr3081335tiw.9.1223738084651; Sat, 11 Oct 2008 08:14:44 -0700 (PDT) Received: from localhost ([123.236.53.245]) by mx.google.com with ESMTPS id 14sm6544373tim.17.2008.10.11.08.14.40 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 11 Oct 2008 08:14:43 -0700 (PDT) Date: Sun, 12 Oct 2008 02:20:52 +0530 From: Shakul M Hameed To: Jeremy Chadwick Message-ID: <20081011205052.GA6318@freebsdbox> References: <20081011173613.GA7326@freebsdbox> <20081011180308.GA7094@freebsdbox> <20081011123826.GA62390@icarus.home.lan> <20081011195131.GA931@freebsdbox> <20081011144711.GA64861@icarus.home.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081011144711.GA64861@icarus.home.lan> User-Agent: Mutt/1.4.2.3i Cc: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: cvsup 7.0 STABLE checkout failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 15:14:46 -0000 On Sat, Oct 11, 2008 at 07:47:11AM -0700, Jeremy Chadwick wrote: > On Sun, Oct 12, 2008 at 01:21:31AM +0530, Shakul M Hameed wrote: > > > 1) Your setup looks very custom. I see SMB/CIFS in use, and you're > > > using a non-standard directory for the cvsup CVS data (the default is > > Yes, I am using mount_smbfs to mount a network harddrive to store all my devel code. > > I don't want to overcrowd the the root disk > > I'm left wondering if there are some permissions or ownership issues as > a result of this. > > > I am using X11 cvsup stable-supfile. This is the snapshot of my modified cvsup file > > ------------------------------------------------ > > # Defaults that apply to all the collections > > # > > # IMPORTANT: Change the next line to use one of the CVSup mirror sites > > # listed at http://www.freebsd.org/doc/handbook/mirrors.html. > > *default host=cvsup3.de.FreeBSD.org > > *default base=/usr/home/moin/smbmount/code/SUPDB/ > > *default prefix=/usr/home/moin/smbmount/code/src/ > > # The following line is for 7-stable. If you want 6-stable, 5-stable, > > # 4-stable, 3-stable, or 2.2-stable, change to "RELENG_6", "RELENG_5", > > # "RELENG_4", "RELENG_3", or "RELENG_2_2" respectively. > > *default release=cvs tag=RELENG_7 > > *default delete use-rel-suffix > > > > # If you seem to be limited by CPU rather than network or disk bandwidth, try > > # commenting out the following line. (Normally, today's CPUs are fast enough > > # that you want to run compression.) > > *default compress > > > > ## Main Source Tree. > > # > > # The easiest way to get the main source tree is to use the "src-all" > > # mega-collection. It includes all of the individual "src-*" collections. > > # Please note: If you want to track -STABLE, leave this uncommented. > > src-all > > ------------------------------------------------ > > I have no idea what an "X11 cvsup stable-supfile" is, so I assume you > mean you've used /usr/share/examples/cvsup/stable-supfile as a template > supfile, but have your own somewhere else. > > The reason I was confused: you first stated you're using the ones in > /usr/share/examples/cvsup, and I assumed that mean you were using it > directly. You shouldn't modify any files in /usr/share/examples, as > they will be replaced/overwritten during installworld. > > Your pasted supfile looks fine, however. > > > > 2) Check permissions and ownership of all directories leading up to > > > /usr/home/moin/smbmount/code/SUPDB/sup/src-all. Yes, check every single > > > one. > > Please do this. > > > > 3) Ensure your umask is 022 before starting cvsup. This could be a side > > > result of item #2. > > umask is 0022 > > > > > > 4) I'm not sure why you're using cvsup on a 7.x box when csup comes with > > > the base system. > > > > I don't know why ? :-) . But I did as it was listed in the FreeBSD handbook. > > Are you sure? http://www.freebsd.org/doc/en/books/handbook/cvsup.html -- see > the first "Note:" paragraph. As a newbie to FreeBSD, I would rather like to have a single Code Versioning system. Several methods put newbies in dilemma to decide upon the best suitable procedure. I feel there should be one unique source code management system. > > > > I would also try doing this as a last resort: > > > > > > rm -fr /usr/home/moin/smbmount/code/SUPDB/sup/src-all > > > rm -fr /usr/src/* > > > csup -h -L 2 /usr/share/examples/cvsup/stable-supfile > > > > > As a lost resort, I did a "cvsup -g -L2 stable-supfile", with just > > changing the HOST part without changing other entries in > > stable-supfile, and I was successful to download the code. > > I don't see how that would fix or change anything. In fact, I'm fairly > certain it doesn't. > > The error you are receiving from cvsup is telling you "I tried to rename > a file, but couldn't". This often implies a permissions or ownership > thing. Since the directory you're storing stuff in is on an SMB/CIFS > share, I cannot help but wonder if that's the cause of the problem > (somehow). Jeremy, as pointed by "N.J. Mann" recently in a reply in this thread, there is a semicolon in the filename where the rename faliure happened. Because the file "checkouts.cvs:RELENG_7" had ":" in it, which was not created subsequently due to SMB limitation for ":"-based filenames. Because this the cvsup checked-out halted at this point. Morever, as indicated by "Sean " the case-insensitiveness would lead to missing files. I think, I should format my Network drive to NFS to make it really UNIX friendly. "N.J. Mann" quoted .... >>>>> Does the file system that you are using support colons (:) in file names? If it is FAT, HPFS or NTFS, or a derivative of one of those, it probably doesn't and I suspect that is your problem. Of course I could be very wrong. ;-) >>>>> - Moin > > > Currently, I am trying out to figure why the customised way is failing. > > I see nothing wrong with your supfile. > > -- > | 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 | -- - Moin From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 15:23:12 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 556BD1065691 for ; Sat, 11 Oct 2008 15:23:12 +0000 (UTC) (envelope-from ml@t-b-o-h.net) Received: from vjofn.tucs-beachin-obx-house.com (vjofn-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::5e5]) by mx1.freebsd.org (Postfix) with ESMTP id 26A448FC0A for ; Sat, 11 Oct 2008 15:23:11 +0000 (UTC) (envelope-from ml@t-b-o-h.net) Received: from setup.house.tucs-beachin-obx-house.com (cpe-24-161-50-5.hvc.res.rr.com [24.161.50.5]) (authenticated bits=0) by vjofn.tucs-beachin-obx-house.com (8.14.2/8.14.2) with ESMTP id m9BFN0Is021582 for ; Sat, 11 Oct 2008 11:23:11 -0400 (EDT) Received: from setup.house.tucs-beachin-obx-house.com (localhost [127.0.0.1]) by setup.house.tucs-beachin-obx-house.com (8.14.3/8.14.3) with ESMTP id m9BFMMrL097963 for ; Sat, 11 Oct 2008 11:22:22 -0400 (EDT) (envelope-from tbohml@setup.house.tucs-beachin-obx-house.com) Received: (from tbohml@localhost) by setup.house.tucs-beachin-obx-house.com (8.14.3/8.14.2/Submit) id m9BFMM03097961 for freebsd-questions@freebsd.org; Sat, 11 Oct 2008 11:22:22 -0400 (EDT) (envelope-from tbohml) From: Tuc Message-Id: <200810111522.m9BFMM03097961@setup.house.tucs-beachin-obx-house.com> To: freebsd-questions@freebsd.org Date: Sat, 11 Oct 2008 11:22:21 -0400 (EDT) X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 192.168.3.118 Subject: Worth persuing a KDB: stack backtrace: ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 15:23:12 -0000 Hi, I have a 5.5-STABLE laptop thats been having issues lately, mostly related to memory. I bought new chips, and I think I narrowed it down to one of the Dimm slots being bad. I did a memtest for 25 hours and it seemed stable. I started up and started downloading a backup of over 5K emails. (All have to go through mimedefang, procmail and sendmail... So the system was a bit sluggish. I started to get things like : Oct 10 22:06:29 himinbjorg kernel: KDB: stack backtrace: Oct 10 22:06:29 himinbjorg kernel: kdb_backtrace(c3053200,1,dbb54c04,dbb54bf0,c0 73ba78) at kdb_backtrace+0x29 Oct 10 22:06:29 himinbjorg kernel: getdirtybuf(dbb54be0,0,1,cc1c81e8,1) at getdi rtybuf+0x27 Oct 10 22:06:29 himinbjorg kernel: flush_deplist(c305354c,1,dbb54c04) at flush_d eplist+0x34 Oct 10 22:06:29 himinbjorg kernel: flush_inodedep_deps(c216d000,715e,c089bcf8,c0 808b16,ef) at flush_inodedep_deps+0x7d Oct 10 22:06:29 himinbjorg kernel: softdep_sync_metadata(dbb54ca0) at softdep_sy nc_metadata+0x8c Oct 10 22:06:29 himinbjorg kernel: ffs_fsync(dbb54ca0) at ffs_fsync+0x33e Oct 10 22:06:29 himinbjorg kernel: fsync(c3549600,dbb54d04,1,1,286) at fsync+0x1 03 Oct 10 22:06:29 himinbjorg kernel: syscall(2f,2f,bfbf002f,80fef20,0) at syscall+ 0x227 Oct 10 22:06:29 himinbjorg kernel: Xint0x80_syscall() at Xint0x80_syscall+0x1f Oct 10 22:06:29 himinbjorg kernel: --- syscall (95, FreeBSD ELF32, fsync), eip = 0x28181ca7, esp = 0xbfbf6d1c, ebp = 0xbfbf86e8 --- and Oct 10 22:08:21 himinbjorg kernel: KDB: stack backtrace: Oct 10 22:08:21 himinbjorg kernel: kdb_backtrace(c345fe80,1,daf32c04,daf32bf0,c0 73ba78) at kdb_backtrace+0x29 Oct 10 22:08:21 himinbjorg kernel: getdirtybuf(daf32be0,0,1,cc22e334,1) at getdi rtybuf+0x27 Oct 10 22:08:21 himinbjorg kernel: flush_deplist(c295a34c,1,daf32c04) at flush_d eplist+0x34 Oct 10 22:08:21 himinbjorg kernel: flush_inodedep_deps(c216d000,72b7,c089bcf8,c0 808b16,ef) at flush_inodedep_deps+0x7d Oct 10 22:08:21 himinbjorg kernel: softdep_sync_metadata(daf32ca0) at softdep_sy nc_metadata+0x8c Oct 10 22:08:21 himinbjorg kernel: ffs_fsync(daf32ca0) at ffs_fsync+0x33e Oct 10 22:08:21 himinbjorg kernel: fsync(c2bc0600,daf32d04,1,1,286) at fsync+0x1 03 Oct 10 22:08:21 himinbjorg kernel: syscall(bfbf002f,bfbf002f,bfbf002f,80fef20,0) at syscall+0x227 Oct 10 22:08:21 himinbjorg kernel: Xint0x80_syscall() at Xint0x80_syscall+0x1f Oct 10 22:08:21 himinbjorg kernel: --- syscall (95, FreeBSD ELF32, fsync), eip = 0x28181ca7, esp = 0xbfbf6d1c, ebp = 0xbfbf86e8 --- infact..................... himinbjorg% grep "KDB: stack" spool Oct 10 22:06:29 himinbjorg kernel: KDB: stack backtrace: Oct 10 22:06:29 himinbjorg kernel: KDB: stack backtrace: Oct 10 22:06:29 himinbjorg kernel: KDB: stack backtrace: Oct 10 22:08:21 himinbjorg kernel: KDB: stack backtrace: Oct 10 22:09:23 himinbjorg kernel: KDB: stack backtrace: Oct 10 22:09:57 himinbjorg kernel: KDB: stack backtrace: Oct 10 22:10:08 himinbjorg kernel: KDB: stack backtrace: Oct 10 22:10:43 himinbjorg kernel: KDB: stack backtrace: Since its 5.5, and the system seems to potentially not be "with it" hardware wise, think its worth persuing what happened here? Thanks, Tuc From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 15:24:56 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FFE4106568E for ; Sat, 11 Oct 2008 15:24:56 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA05.westchester.pa.mail.comcast.net (qmta05.westchester.pa.mail.comcast.net [76.96.62.48]) by mx1.freebsd.org (Postfix) with ESMTP id DFB748FC23 for ; Sat, 11 Oct 2008 15:24:54 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA01.westchester.pa.mail.comcast.net ([76.96.62.11]) by QMTA05.westchester.pa.mail.comcast.net with comcast id RRRG1a0040EZKEL55TQtM0; Sat, 11 Oct 2008 15:24:54 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA01.westchester.pa.mail.comcast.net with comcast id RTQr1a00L2P6wsM3MTQso6; Sat, 11 Oct 2008 15:24:53 +0000 X-Authority-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=o6RKv6ZAHcoIm0rAGA8A:9 a=M22jpWZ0u3Euu1AC6YEzXn0tSk8A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 6CD69C941C; Sat, 11 Oct 2008 08:24:51 -0700 (PDT) Date: Sat, 11 Oct 2008 08:24:51 -0700 From: Jeremy Chadwick To: Shakul M Hameed Message-ID: <20081011152451.GA65652@icarus.home.lan> References: <20081011173613.GA7326@freebsdbox> <20081011180308.GA7094@freebsdbox> <20081011123826.GA62390@icarus.home.lan> <20081011195131.GA931@freebsdbox> <20081011144711.GA64861@icarus.home.lan> <20081011205052.GA6318@freebsdbox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081011205052.GA6318@freebsdbox> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: cvsup 7.0 STABLE checkout failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 15:24:56 -0000 On Sun, Oct 12, 2008 at 02:20:52AM +0530, Shakul M Hameed wrote: > On Sat, Oct 11, 2008 at 07:47:11AM -0700, Jeremy Chadwick wrote: > > Are you sure? http://www.freebsd.org/doc/en/books/handbook/cvsup.html -- see > > the first "Note:" paragraph. > > As a newbie to FreeBSD, I would rather like to have a single Code Versioning system. > Several methods put newbies in dilemma to decide upon the best suitable procedure. > I feel there should be one unique source code management system. csup and cvsup function the same, and they both rely on the same source versioning system. However, cvsup requires Modula3/ezm3 (an external dependency), while csup was written entirely in C and comes with the FreeBSD base system. Does this explain the difference? Thus: pkg_delete cvsup and ezm3 (if installed) from your system, and start using csup. :-) > > I don't see how that would fix or change anything. In fact, I'm fairly > > certain it doesn't. > > > > The error you are receiving from cvsup is telling you "I tried to rename > > a file, but couldn't". This often implies a permissions or ownership > > thing. Since the directory you're storing stuff in is on an SMB/CIFS > > share, I cannot help but wonder if that's the cause of the problem > > (somehow). > > Jeremy, as pointed by "N.J. Mann" recently in a reply in this thread, there is a semicolon in the filename You mean colon, but I understand what you meant. > where the rename faliure happened. Because the file > "checkouts.cvs:RELENG_7" had ":" in it, which was not created > subsequently due to SMB limitation for ":"-based filenames. > > Because this the cvsup checked-out halted at this point. Morever, as > indicated by "Sean " the case-insensitiveness > would lead to missing files. > > I think, I should format my Network drive to NFS to make it really > UNIX friendly. NFS is a transport protocol, not a filesystem type. You don't "format a disk to be NFS-friendly". You can use NFS with any type of filesystem; UFS/FFS, ZFS, ext2fs, ext3fs, NTFS, MS-DOS, etc... The problem is that you're using an NTFS across smbmount(8). NTFS does not support some characters in filenames, and also is case-insensitive. You are being limited by NTFS, and also possibly by smbmount(8). What you need is to install another disk in your FreeBSD box, or allocate space somewhere on the existing filesystem(s) for your development stuff. If you really want Windows and FreeBSD to "play well" together, your best option is to run Samba on the FreeBSD box and use UFS2 filesystems, then make the Windows machine mount shares from the FreeBSD machine. The other way around (FreeBSD-->Windows) creates problems like the ones you've experienced. Hope this helps. Cheers! -- | 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 Sat Oct 11 15:29:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE5A410656A9 for ; Sat, 11 Oct 2008 15:29:08 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA01.westchester.pa.mail.comcast.net (qmta01.westchester.pa.mail.comcast.net [76.96.62.16]) by mx1.freebsd.org (Postfix) with ESMTP id 9DAC88FC19 for ; Sat, 11 Oct 2008 15:29:08 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA01.westchester.pa.mail.comcast.net ([76.96.62.11]) by QMTA01.westchester.pa.mail.comcast.net with comcast id RPsU1a00B0EZKEL51TV7r8; Sat, 11 Oct 2008 15:29:07 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA01.westchester.pa.mail.comcast.net with comcast id RTV61a0072P6wsM3MTV7lA; Sat, 11 Oct 2008 15:29:07 +0000 X-Authority-Analysis: v=1.0 c=1 a=bKFI1V7vIZwA:10 a=019SSKKqBqYA:10 a=QycZ5dHgAAAA:8 a=7_7C8j1590Q-qYNVd-gA:9 a=Rxcnnx_F8P5dx0B15gsA:7 a=tng5PAh2mxT6OX3TiJPsdSUUN0UA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 70BF8C9419; Sat, 11 Oct 2008 08:29:06 -0700 (PDT) Date: Sat, 11 Oct 2008 08:29:06 -0700 From: Jeremy Chadwick To: Tuc Message-ID: <20081011152906.GB65652@icarus.home.lan> References: <200810111522.m9BFMM03097961@setup.house.tucs-beachin-obx-house.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200810111522.m9BFMM03097961@setup.house.tucs-beachin-obx-house.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Worth persuing a KDB: stack backtrace: ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 15:29:09 -0000 On Sat, Oct 11, 2008 at 11:22:21AM -0400, Tuc wrote: > I have a 5.5-STABLE laptop thats been having issues lately, mostly > related to memory. I bought new chips, and I think I narrowed it down to one > of the Dimm slots being bad. I did a memtest for 25 hours and it seemed stable. memtest86+ would definitely detect a DIMM slot being bad, so running it for 25 hours successfully means the DIMM and the DIMM slot is likely fine. > I started up and started downloading a backup of over 5K emails. (All have > to go through mimedefang, procmail and sendmail... So the system was a bit > sluggish. I started to get things like : > > Oct 10 22:06:29 himinbjorg kernel: KDB: stack backtrace: > Oct 10 22:06:29 himinbjorg kernel: kdb_backtrace(c3053200,1,dbb54c04,dbb54bf0,c0 > 73ba78) at kdb_backtrace+0x29 > Oct 10 22:06:29 himinbjorg kernel: getdirtybuf(dbb54be0,0,1,cc1c81e8,1) at getdi > rtybuf+0x27 > Oct 10 22:06:29 himinbjorg kernel: flush_deplist(c305354c,1,dbb54c04) at flush_d > eplist+0x34 > Oct 10 22:06:29 himinbjorg kernel: flush_inodedep_deps(c216d000,715e,c089bcf8,c0 > 808b16,ef) at flush_inodedep_deps+0x7d > Oct 10 22:06:29 himinbjorg kernel: softdep_sync_metadata(dbb54ca0) at softdep_sy > nc_metadata+0x8c > Oct 10 22:06:29 himinbjorg kernel: ffs_fsync(dbb54ca0) at ffs_fsync+0x33e > Oct 10 22:06:29 himinbjorg kernel: fsync(c3549600,dbb54d04,1,1,286) at fsync+0x1 > 03 > Oct 10 22:06:29 himinbjorg kernel: syscall(2f,2f,bfbf002f,80fef20,0) at syscall+ > 0x227 > Oct 10 22:06:29 himinbjorg kernel: Xint0x80_syscall() at Xint0x80_syscall+0x1f > Oct 10 22:06:29 himinbjorg kernel: --- syscall (95, FreeBSD ELF32, fsync), eip = > 0x28181ca7, esp = 0xbfbf6d1c, ebp = 0xbfbf86e8 --- This looks more like a filesystem problem, not a memory problem. All of the functions listed in the backtrace show UFS/FFS problems and filesystem metadata issues of some kind. Booting the machine in single-user mode and run "fsck -y". I'm betting you'll find errors. If not, then it's probably a kernel bug -- see below, however. I doubt you're going to get much support on this, since you're running FreeBSD 5.5, which is no longer supported. Believe me: you will get continual push-back from the rest of the FreeBSD developers asking for support on 5.5. The RELENG_6 series is on its way out as well, so you should consider installing RELENG_7 (specifically 7.1-BETA at this point). -- | 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 Sat Oct 11 15:35:30 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC9361065688 for ; Sat, 11 Oct 2008 15:35:29 +0000 (UTC) (envelope-from smohideen@mx2.labs.rootshell.ws) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.186]) by mx1.freebsd.org (Postfix) with ESMTP id 4FAFD8FC30 for ; Sat, 11 Oct 2008 15:35:29 +0000 (UTC) (envelope-from smohideen@mx2.labs.rootshell.ws) Received: by ti-out-0910.google.com with SMTP id d27so505976tid.3 for ; Sat, 11 Oct 2008 08:35:27 -0700 (PDT) Received: by 10.110.26.20 with SMTP id 20mr3087084tiz.29.1223739327401; Sat, 11 Oct 2008 08:35:27 -0700 (PDT) Received: from localhost ([123.236.53.245]) by mx.google.com with ESMTPS id i9sm4246010tid.9.2008.10.11.08.35.23 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 11 Oct 2008 08:35:25 -0700 (PDT) Date: Sun, 12 Oct 2008 02:41:34 +0530 From: Shakul M Hameed To: Jeremy Chadwick Message-ID: <20081011211134.GB6318@freebsdbox> References: <20081011173613.GA7326@freebsdbox> <20081011180308.GA7094@freebsdbox> <20081011123826.GA62390@icarus.home.lan> <20081011195131.GA931@freebsdbox> <20081011144711.GA64861@icarus.home.lan> <20081011205052.GA6318@freebsdbox> <20081011152451.GA65652@icarus.home.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081011152451.GA65652@icarus.home.lan> User-Agent: Mutt/1.4.2.3i Cc: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: cvsup 7.0 STABLE checkout failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 15:35:30 -0000 On Sat, Oct 11, 2008 at 08:24:51AM -0700, Jeremy Chadwick wrote: > On Sun, Oct 12, 2008 at 02:20:52AM +0530, Shakul M Hameed wrote: > > On Sat, Oct 11, 2008 at 07:47:11AM -0700, Jeremy Chadwick wrote: > > > Are you sure? http://www.freebsd.org/doc/en/books/handbook/cvsup.html -- see > > > the first "Note:" paragraph. > > > > As a newbie to FreeBSD, I would rather like to have a single Code Versioning system. > > Several methods put newbies in dilemma to decide upon the best suitable procedure. > > I feel there should be one unique source code management system. > > csup and cvsup function the same, and they both rely on the same source > versioning system. However, cvsup requires Modula3/ezm3 (an external > dependency), while csup was written entirely in C and comes with the > FreeBSD base system. > > Does this explain the difference? > > Thus: pkg_delete cvsup and ezm3 (if installed) from your system, and > start using csup. :-) > > > > I don't see how that would fix or change anything. In fact, I'm fairly > > > certain it doesn't. > > > > > > The error you are receiving from cvsup is telling you "I tried to rename > > > a file, but couldn't". This often implies a permissions or ownership > > > thing. Since the directory you're storing stuff in is on an SMB/CIFS > > > share, I cannot help but wonder if that's the cause of the problem > > > (somehow). > > > > Jeremy, as pointed by "N.J. Mann" recently in a reply in this thread, there is a semicolon in the filename > > You mean colon, but I understand what you meant. > > > where the rename faliure happened. Because the file > > "checkouts.cvs:RELENG_7" had ":" in it, which was not created > > subsequently due to SMB limitation for ":"-based filenames. > > > > Because this the cvsup checked-out halted at this point. Morever, as > > indicated by "Sean " the case-insensitiveness > > would lead to missing files. > > > > I think, I should format my Network drive to NFS to make it really > > UNIX friendly. > > NFS is a transport protocol, not a filesystem type. You don't "format a > disk to be NFS-friendly". You can use NFS with any type of filesystem; > UFS/FFS, ZFS, ext2fs, ext3fs, NTFS, MS-DOS, etc... > > The problem is that you're using an NTFS across smbmount(8). NTFS does > not support some characters in filenames, and also is case-insensitive. > You are being limited by NTFS, and also possibly by smbmount(8). > > What you need is to install another disk in your FreeBSD box, or > allocate space somewhere on the existing filesystem(s) for your > development stuff. > > If you really want Windows and FreeBSD to "play well" together, your > best option is to run Samba on the FreeBSD box and use UFS2 filesystems, > then make the Windows machine mount shares from the FreeBSD machine. > The other way around (FreeBSD-->Windows) creates problems like the ones > you've experienced. I am never going to do a Windows->FreeBSD mount as it is not required for me. I rather go for extra space on my FreeBSD box. Is there any method to increase the size of my FreeBSD partition?? Thanks, Moin > > Hope this helps. Cheers! > > -- > | 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 | -- - Moin From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 15:44:47 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DC86106568F for ; Sat, 11 Oct 2008 15:44:47 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA02.emeryville.ca.mail.comcast.net (qmta02.emeryville.ca.mail.comcast.net [76.96.30.24]) by mx1.freebsd.org (Postfix) with ESMTP id 44F748FC23 for ; Sat, 11 Oct 2008 15:44:47 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA14.emeryville.ca.mail.comcast.net ([76.96.30.60]) by QMTA02.emeryville.ca.mail.comcast.net with comcast id RT2A1a01H1HpZEsA2Tkm3C; Sat, 11 Oct 2008 15:44:46 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA14.emeryville.ca.mail.comcast.net with comcast id RTkl1a0052P6wsM8aTkmHE; Sat, 11 Oct 2008 15:44:46 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=xYEVLM0M-dTMP6dckfcA:9 a=YoIOzINxXTRy2gnku3J3rnaX4wYA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id CE0A9C9419; Sat, 11 Oct 2008 08:44:45 -0700 (PDT) Date: Sat, 11 Oct 2008 08:44:45 -0700 From: Jeremy Chadwick To: Shakul M Hameed Message-ID: <20081011154445.GA66091@icarus.home.lan> References: <20081011173613.GA7326@freebsdbox> <20081011180308.GA7094@freebsdbox> <20081011123826.GA62390@icarus.home.lan> <20081011195131.GA931@freebsdbox> <20081011144711.GA64861@icarus.home.lan> <20081011205052.GA6318@freebsdbox> <20081011152451.GA65652@icarus.home.lan> <20081011211134.GB6318@freebsdbox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081011211134.GB6318@freebsdbox> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: cvsup 7.0 STABLE checkout failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 15:44:47 -0000 On Sun, Oct 12, 2008 at 02:41:34AM +0530, Shakul M Hameed wrote: > I am never going to do a Windows->FreeBSD mount as it is not required for me. > I rather go for extra space on my FreeBSD box. Is there any method to increase > the size of my FreeBSD partition?? Do you mean partition as in "I have separate partitions for Windows and FreeBSD", or do you mean partition as in "I want to grow /usr to be larger"? If the lesser: there are commercial utilities out there (such as Partition Magic) which let you "resize" partitions. However, I cannot stress this enough: *back up all of your data* before doing this. I have been bit by bugs in PQMAGIC *twice* in my lifetime (the program panic'ing at 99% and causing me to lose all of my data). If the latter: some people will tell you about growfs(8), but I'm not sure how reliable it is. You'll need to become familiar with bsdlabel(8) and fdisk(8) before you can use that. -- | 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 Sat Oct 11 15:48:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAB9A1065696 for ; Sat, 11 Oct 2008 15:48:04 +0000 (UTC) (envelope-from smohideen@mx2.labs.rootshell.ws) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.188]) by mx1.freebsd.org (Postfix) with ESMTP id 6D7028FC20 for ; Sat, 11 Oct 2008 15:48:04 +0000 (UTC) (envelope-from smohideen@mx2.labs.rootshell.ws) Received: by ti-out-0910.google.com with SMTP id d27so507766tid.3 for ; Sat, 11 Oct 2008 08:48:03 -0700 (PDT) Received: by 10.110.109.12 with SMTP id h12mr3077702tic.52.1223740082844; Sat, 11 Oct 2008 08:48:02 -0700 (PDT) Received: from localhost ([123.236.53.245]) by mx.google.com with ESMTPS id d7sm4099085tib.7.2008.10.11.08.47.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 11 Oct 2008 08:48:01 -0700 (PDT) Date: Sun, 12 Oct 2008 02:54:10 +0530 From: Shakul M Hameed To: Jeremy Chadwick Message-ID: <20081011212410.GC6318@freebsdbox> References: <20081011173613.GA7326@freebsdbox> <20081011180308.GA7094@freebsdbox> <20081011123826.GA62390@icarus.home.lan> <20081011195131.GA931@freebsdbox> <20081011144711.GA64861@icarus.home.lan> <20081011205052.GA6318@freebsdbox> <20081011152451.GA65652@icarus.home.lan> <20081011211134.GB6318@freebsdbox> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081011211134.GB6318@freebsdbox> User-Agent: Mutt/1.4.2.3i Cc: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: cvsup 7.0 STABLE checkout failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 15:48:05 -0000 On Sun, Oct 12, 2008 at 02:41:34AM +0530, Shakul M Hameed wrote: > On Sat, Oct 11, 2008 at 08:24:51AM -0700, Jeremy Chadwick wrote: > > On Sun, Oct 12, 2008 at 02:20:52AM +0530, Shakul M Hameed wrote: > > > On Sat, Oct 11, 2008 at 07:47:11AM -0700, Jeremy Chadwick wrote: > > > > Are you sure? http://www.freebsd.org/doc/en/books/handbook/cvsup.html -- see > > > > the first "Note:" paragraph. > > > > > > As a newbie to FreeBSD, I would rather like to have a single Code Versioning system. > > > Several methods put newbies in dilemma to decide upon the best suitable procedure. > > > I feel there should be one unique source code management system. > > > > csup and cvsup function the same, and they both rely on the same source > > versioning system. However, cvsup requires Modula3/ezm3 (an external > > dependency), while csup was written entirely in C and comes with the > > FreeBSD base system. > > > > Does this explain the difference? > > > > Thus: pkg_delete cvsup and ezm3 (if installed) from your system, and > > start using csup. :-) > > > > > > I don't see how that would fix or change anything. In fact, I'm fairly > > > > certain it doesn't. > > > > > > > > The error you are receiving from cvsup is telling you "I tried to rename > > > > a file, but couldn't". This often implies a permissions or ownership > > > > thing. Since the directory you're storing stuff in is on an SMB/CIFS > > > > share, I cannot help but wonder if that's the cause of the problem > > > > (somehow). > > > > > > Jeremy, as pointed by "N.J. Mann" recently in a reply in this thread, there is a semicolon in the filename > > > > You mean colon, but I understand what you meant. > > > > > where the rename faliure happened. Because the file > > > "checkouts.cvs:RELENG_7" had ":" in it, which was not created > > > subsequently due to SMB limitation for ":"-based filenames. > > > > > > Because this the cvsup checked-out halted at this point. Morever, as > > > indicated by "Sean " the case-insensitiveness > > > would lead to missing files. > > > > > > I think, I should format my Network drive to NFS to make it really > > > UNIX friendly. > > > > NFS is a transport protocol, not a filesystem type. You don't "format a > > disk to be NFS-friendly". You can use NFS with any type of filesystem; > > UFS/FFS, ZFS, ext2fs, ext3fs, NTFS, MS-DOS, etc... > > > > The problem is that you're using an NTFS across smbmount(8). NTFS does > > not support some characters in filenames, and also is case-insensitive. > > You are being limited by NTFS, and also possibly by smbmount(8). > > > > What you need is to install another disk in your FreeBSD box, or > > allocate space somewhere on the existing filesystem(s) for your > > development stuff. > > > > If you really want Windows and FreeBSD to "play well" together, your > > best option is to run Samba on the FreeBSD box and use UFS2 filesystems, > > then make the Windows machine mount shares from the FreeBSD machine. > > The other way around (FreeBSD-->Windows) creates problems like the ones > > you've experienced. > > I am never going to do a Windows->FreeBSD mount as it is not required for me. > I rather go for extra space on my FreeBSD box. Is there any method to increase > the size of my FreeBSD partition?? > > Thanks, > Moin Never mind. I have dropped the plan for new disk in my freeBSD box. Instead, My Western Digital Network Harddrive exports both SMB and NFS shares. So now I can mount it as NFS. Internally, this harddrive is ext2 formatted and the NFS and SMB exports are exported. > > > > Hope this helps. Cheers! > > > > -- > > | 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 | > > -- > - Moin -- - Moin From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 16:19:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55E78106564A for ; Sat, 11 Oct 2008 16:19:52 +0000 (UTC) (envelope-from datahead4@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id E138B8FC0C for ; Sat, 11 Oct 2008 16:19:51 +0000 (UTC) (envelope-from datahead4@gmail.com) Received: by ey-out-2122.google.com with SMTP id 6so360254eyi.7 for ; Sat, 11 Oct 2008 09:19:50 -0700 (PDT) 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=TDQJOOD4apLL9hxX447RDrOt8t7D4cWxocxrfm0ZylM=; b=iR97QF+VPuGuKlb/jI0+wpHO8QsK4I3pF+DyYOb+NepSfW1t9fLBJziBnDQ80jRW+M Yo4zTceQjlIRRyiMF3j38mV20U22ti5LsEoMTIVPUFG2B1bBkVbbZsCIRXrMwIkFm4an ujilqxVhpS53kLT37rO/zAUtu0l+1qz6+yOyg= 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=uFzIAkubKFDdWABC06c/6PfK1aDCCV3YJV8K8PlIXHHLb91M1y5z/IAG2tgOYJf4dM NhLsaQg7r4vgjHG9odnjpcdhjyq2Yjfe30pkAU6fsx86yDBlL+A0zKT7yBYg1cbhqyJT ZDXjDmhs7bXiJcUFNXoAYFzNhxOsDmjZJZtKY= Received: by 10.210.87.14 with SMTP id k14mr2271237ebb.159.1223741990411; Sat, 11 Oct 2008 09:19:50 -0700 (PDT) Received: by 10.210.49.15 with HTTP; Sat, 11 Oct 2008 09:19:50 -0700 (PDT) Message-ID: Date: Sat, 11 Oct 2008 11:19:50 -0500 From: Matt To: "Michal Kulczewski" In-Reply-To: <48F04522.4080203@man.poznan.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48F04522.4080203@man.poznan.pl> Cc: freebsd-questions@freebsd.org Subject: Re: freebsd7 & kde4 & performance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 16:19:52 -0000 On Sat, Oct 11, 2008 at 1:18 AM, Michal Kulczewski wrote: > Hi, > > I'm a little bit disappointed with the performance of kde4 on freebsd7. > I have Pentium M 2GHz, 1GB RAM, radeon x300, tried both, radeon and ati > drivers, but kde4 is still so slow that I cannot work with it. Is it > because of poor graphic card or driver itself? I'm looking forward to > any suggestions. > I've had good experience with the latest KDE4 ports using 7-STABLE and the ULE scheduler on i386 even with desktop effects enabled. Hardware is a dual-core Opteron 2.5GHz with 2GB mem and a NVidia 6800GS video card (with NVidia binary drivers). Using only a couple of performance hints found on the mailing lists: QT/glib issue - http://mail.kde.org/pipermail/kde-freebsd/2008-August/003612.html Konqueror tweak - http://mail.kde.org/pipermail/kde-freebsd/2008-September/003893.html NVidia driver settings (not applicable if you're using ATI hardware, obviously) - http://www.nvnews.net/vbulletin/showthread.php?t=118088 Of the three things listed above, the glib and NVidia settings resulted in very noticeable performance improvements for me. Also, remember that hal and dbus need to be enabled and running. Hope that helps, Matt > Cheers, > Michal > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 16:33:43 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E4E1106569D for ; Sat, 11 Oct 2008 16:33:43 +0000 (UTC) (envelope-from kelly.terry.jones@gmail.com) Received: from hs-out-0708.google.com (hs-out-0708.google.com [64.233.178.240]) by mx1.freebsd.org (Postfix) with ESMTP id 5F8AC8FC22 for ; Sat, 11 Oct 2008 16:33:43 +0000 (UTC) (envelope-from kelly.terry.jones@gmail.com) Received: by hs-out-0708.google.com with SMTP id 54so445906hsz.11 for ; Sat, 11 Oct 2008 09:33:42 -0700 (PDT) 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=BL/LK6GM83Y80yzg8R/gMVQxlMZbZjzTWfekQIbYhJg=; b=KAHHZQmoyYOpXxaPLCU22SDVfOn1JqdKvjHhu8h/hkV8g5CE05q750Cifw/TCPWgUw sur6/YKsNTyJ0PN+ldbF62k+KptuMLxnLlZ8kPLvQqv+0Wh/GRsmHWgrU4ovG/1sQ76F eMmDmy/aV6PGCtpbfS/fi4L2mIDM+e9T9v6Rs= 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=HRMWYKNWog8YjwYQvm0X2Gdg5OvH89IdSyISBACg/eRWRcxdZVaGJWBkzspfuBbJcw wdsBkJuaYP7YHeA6hcuaNsfl8pO6rHmKMCbhbZpi/135qMvM1nkg/dgo24GAyEjfOpwB wWFh6kJ8ndSwzkTa+oImrBTH8PNV3hKSQreoM= Received: by 10.64.204.13 with SMTP id b13mr5798717qbg.46.1223742822307; Sat, 11 Oct 2008 09:33:42 -0700 (PDT) Received: by 10.65.103.7 with HTTP; Sat, 11 Oct 2008 09:33:42 -0700 (PDT) Message-ID: <26face530810110933o1403705o625586ac53b309fb@mail.gmail.com> Date: Sat, 11 Oct 2008 09:33:42 -0700 From: "Kelly Jones" To: freebsd-questions@freebsd.org, techtalk@linuxchix.org, nmlug@nmlug.org, nmosug-l@mailman.swcp.com MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: newsyslog naming scheme could be improved? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 16:33:43 -0000 newsyslog rotates logfiles so that messages.0.gz is yesterday's file, messages.1.gz is the day before's, etc. This is ugly. If I tell my fellow sysadmins that I ran this command: zfgrep 'bad thing' /var/log/messages.4.gz and found stuff, they may run it the next day and get different results because the file is now messages.5.gz Improving my cow-orkers intelligence would be the ideal solution, but has anyone considered tweaking newsyslog to name files messages.2008-10-05-12-00-00.gz or something. IE, give them a constant name that doesn't change and then delete them after how many ever days? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 16:46:36 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFAEB106569A for ; Sat, 11 Oct 2008 16:46:36 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA09.westchester.pa.mail.comcast.net (qmta09.westchester.pa.mail.comcast.net [76.96.62.96]) by mx1.freebsd.org (Postfix) with ESMTP id 5E1A38FC1C for ; Sat, 11 Oct 2008 16:46:35 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA02.westchester.pa.mail.comcast.net ([76.96.62.19]) by QMTA09.westchester.pa.mail.comcast.net with comcast id RPST1a00D0QuhwU59UmbDk; Sat, 11 Oct 2008 16:46:35 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA02.westchester.pa.mail.comcast.net with comcast id RUma1a0012P6wsM3NUmaCh; Sat, 11 Oct 2008 16:46:35 +0000 X-Authority-Analysis: v=1.0 c=1 a=0S9BgbUwaBQA:10 a=5Ang4VBPdZ8A:10 a=QycZ5dHgAAAA:8 a=0eE5fOn9c5oJVCDZMUsA:9 a=vsU6beKdr66TruKs_yQA:7 a=VcQjKuvoyLo0aN4z6bLPPlYc1EMA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id C57F6C9419; Sat, 11 Oct 2008 09:46:33 -0700 (PDT) Date: Sat, 11 Oct 2008 09:46:33 -0700 From: Jeremy Chadwick To: Kelly Jones Message-ID: <20081011164633.GA67326@icarus.home.lan> References: <26face530810110933o1403705o625586ac53b309fb@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <26face530810110933o1403705o625586ac53b309fb@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: techtalk@linuxchix.org, freebsd-questions@freebsd.org, nmosug-l@mailman.swcp.com, nmlug@nmlug.org Subject: Re: newsyslog naming scheme could be improved? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 16:46:36 -0000 On Sat, Oct 11, 2008 at 09:33:42AM -0700, Kelly Jones wrote: > newsyslog rotates logfiles so that messages.0.gz is yesterday's file, > messages.1.gz is the day before's, etc. > > This is ugly. If I tell my fellow sysadmins that I ran this command: > > zfgrep 'bad thing' /var/log/messages.4.gz > > and found stuff, they may run it the next day and get different > results because the file is now messages.5.gz Is it possible to educate your co-workers into looking at timestamps on files before randomly assuming that EVERYTHING ends up in .4.gz? :-) Surely your co-workers aren't that dense. Or you can have them use zgrep 'bad thing' /var/log/messages.*.gz and tell them "pay close attention to the timestamps shown!!" That might work as a better work-around. > Improving my cow-orkers intelligence would be the ideal solution, but > has anyone considered tweaking newsyslog to name files > messages.2008-10-05-12-00-00.gz or something. IE, give them a constant > name that doesn't change and then delete them after how many ever > days? I'd vote for the following strftime(3) format: "%Y%m%dT%H%M". Otherwise known as: YYYYMMDDThhmm YYYY = Year (4-digit) MM = Month (01 to 12) DD = Day (01 to 31) T = Literal ASCII string "T" hh = Hour (24-hour time, e.g. 00 to 23) mm = Minute (00 to 59) The "T" aspect is optional, but it's what we use at my workplace, and makes recognising the hour-minute portion easier. I don't think we need second-level granularity on this stuff; even minute granularity is questionable (because not all logs will get rotated at exactly 00 minutes; they might take 20 minutes to compress based on system load, etc...), since you'd have inconsistencies in the filenames, e.g.: messages.20081005T0000.gz messages.20081006T0001.gz messages.20081007T0001.gz messages.20081008T0000.gz messages.20081009T0002.gz And so on. Food for thought. -- | 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 Sat Oct 11 17:26:45 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C473106568E for ; Sat, 11 Oct 2008 17:26:45 +0000 (UTC) (envelope-from que_deseja@hotmail.com) Received: from blu0-omc4-s18.blu0.hotmail.com (blu0-omc4-s18.blu0.hotmail.com [65.55.111.157]) by mx1.freebsd.org (Postfix) with ESMTP id 0A3FD8FC14 for ; Sat, 11 Oct 2008 17:26:44 +0000 (UTC) (envelope-from que_deseja@hotmail.com) Received: from BLU126-W9 ([65.55.111.137]) by blu0-omc4-s18.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 11 Oct 2008 10:26:44 -0700 Message-ID: X-Originating-IP: [98.192.204.41] From: Desmond Chapman To: Date: Sat, 11 Oct 2008 17:26:44 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 11 Oct 2008 17:26:44.0612 (UTC) FILETIME=[883F0440:01C92BC6] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ULE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 17:26:45 -0000 Anyone with experience using and setting this up=2C please contact me. I ne= ed to learn how to work with and on it.=20 _________________________________________________________________ Get more out of the Web. Learn 10 hidden secrets of Windows Live. http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!5= 50F681DAD532637!5295.entry?ocid=3DTXT_TAGLM_WL_domore_092008= From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 17:42:40 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0736D106568B for ; Sat, 11 Oct 2008 17:42:40 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoom.lafn.org (zoom.lafn.org [206.117.18.8]) by mx1.freebsd.org (Postfix) with ESMTP id C551A8FC12 for ; Sat, 11 Oct 2008 17:42:39 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from [10.0.1.196] (pool-71-109-162-173.lsanca.dsl-w.verizon.net [71.109.162.173]) (authenticated bits=0) by zoom.lafn.org (8.14.2/8.14.2) with ESMTP id m9BHQfj8089450 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Sat, 11 Oct 2008 10:26:41 -0700 (PDT) (envelope-from bc979@lafn.org) Message-Id: <94CAAEB3-698B-4D2D-8124-96CBDEBD3A63@lafn.org> From: Doug Hardie To: freebsd-questions@freebsd.org In-Reply-To: <20081011164633.GA67326@icarus.home.lan> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Sat, 11 Oct 2008 10:26:40 -0700 References: <26face530810110933o1403705o625586ac53b309fb@mail.gmail.com> <20081011164633.GA67326@icarus.home.lan> X-Mailer: Apple Mail (2.929.2) X-Virus-Scanned: ClamAV version 0.92.1, clamav-milter version 0.92.1 on zoom.lafn.org X-Virus-Status: Clean Subject: Re: newsyslog naming scheme could be improved? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 17:42:40 -0000 On Oct 11, 2008, at 09:46, Jeremy Chadwick wrote: > On Sat, Oct 11, 2008 at 09:33:42AM -0700, Kelly Jones wrote: >> newsyslog rotates logfiles so that messages.0.gz is yesterday's file, >> messages.1.gz is the day before's, etc. >> >> This is ugly. If I tell my fellow sysadmins that I ran this command: >> >> zfgrep 'bad thing' /var/log/messages.4.gz >> >> and found stuff, they may run it the next day and get different >> results because the file is now messages.5.gz > > Is it possible to educate your co-workers into looking at timestamps > on > files before randomly assuming that EVERYTHING ends up in .4.gz? :-) > Surely your co-workers aren't that dense. > > Or you can have them use zgrep 'bad thing' /var/log/messages.*.gz > and tell them "pay close attention to the timestamps shown!!" That > might work as a better work-around. > >> Improving my cow-orkers intelligence would be the ideal solution, but >> has anyone considered tweaking newsyslog to name files >> messages.2008-10-05-12-00-00.gz or something. IE, give them a >> constant >> name that doesn't change and then delete them after how many ever >> days? > > I'd vote for the following strftime(3) format: "%Y%m%dT%H%M". > Otherwise > known as: YYYYMMDDThhmm Either approach would sure increase the typing when searching for log entries for a specific day. I keep 30 days of maillogs and reasonably frequently have to search them for a specific day a week or 2 ago. Given that I usually run about 5 searches to find all the relevant entries, that would sure add to the typing. Also, I have no immediate idea how newsyslog would be able to still retain 30 backups. The dates on the files are not necessarily accurate. They can get changed easily. Searching with maillog.* is a horrible waste of computer and people time. Puts a real load on the mail server and I wait for quite awhile. From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 17:42:59 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EBFC1065686; Sat, 11 Oct 2008 17:42:59 +0000 (UTC) (envelope-from ml@t-b-o-h.net) Received: from vjofn.tucs-beachin-obx-house.com (vjofn-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::5e5]) by mx1.freebsd.org (Postfix) with ESMTP id 3671D8FC1F; Sat, 11 Oct 2008 17:42:59 +0000 (UTC) (envelope-from ml@t-b-o-h.net) Received: from setup.house.tucs-beachin-obx-house.com (cpe-24-161-50-5.hvc.res.rr.com [24.161.50.5]) (authenticated bits=0) by vjofn.tucs-beachin-obx-house.com (8.14.2/8.14.2) with ESMTP id m9BHglkV023562; Sat, 11 Oct 2008 13:42:58 -0400 (EDT) Received: from setup.house.tucs-beachin-obx-house.com (localhost [127.0.0.1]) by setup.house.tucs-beachin-obx-house.com (8.14.3/8.14.3) with ESMTP id m9BHg9NW099089; Sat, 11 Oct 2008 13:42:09 -0400 (EDT) (envelope-from tbohml@setup.house.tucs-beachin-obx-house.com) Received: (from tbohml@localhost) by setup.house.tucs-beachin-obx-house.com (8.14.3/8.14.2/Submit) id m9BHg9pK099087; Sat, 11 Oct 2008 13:42:09 -0400 (EDT) (envelope-from tbohml) From: Tuc Message-Id: <200810111742.m9BHg9pK099087@setup.house.tucs-beachin-obx-house.com> To: koitsu@FreeBSD.org (Jeremy Chadwick) Date: Sat, 11 Oct 2008 13:42:09 -0400 (EDT) In-Reply-To: <20081011152906.GB65652@icarus.home.lan> X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 192.168.3.118 Cc: Tuc , freebsd-questions@FreeBSD.org Subject: Re: Worth persuing a KDB: stack backtrace: ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 17:42:59 -0000 > > On Sat, Oct 11, 2008 at 11:22:21AM -0400, Tuc wrote: > > I have a 5.5-STABLE laptop thats been having issues lately, mostly > > related to memory. I bought new chips, and I think I narrowed it down to one > > of the Dimm slots being bad. I did a memtest for 25 hours and it seemed stable. > > memtest86+ would definitely detect a DIMM slot being bad, so running it > for 25 hours successfully means the DIMM and the DIMM slot is likely fine. > Sorry, 2 corrections. :) 1) I ran memtest86+ 3.4 2) If I tried to run the memory test on the slot I thought was bad, it looked like whatever is underneath the memtest86+ (Linux?) would crap out within 6 seconds of startup. I've only tested the "B" slot after running into so many issues with the "A" slot (And I checked, you can run one slot only on this laptop... Dell Inspiron 8200) > > > I started up and started downloading a backup of over 5K emails. (All have > > to go through mimedefang, procmail and sendmail... So the system was a bit > > sluggish. I started to get things like : > > > > Oct 10 22:06:29 himinbjorg kernel: KDB: stack backtrace: > > Oct 10 22:06:29 himinbjorg kernel: kdb_backtrace(c3053200,1,dbb54c04,dbb54bf0,c0 > > 73ba78) at kdb_backtrace+0x29 > > Oct 10 22:06:29 himinbjorg kernel: getdirtybuf(dbb54be0,0,1,cc1c81e8,1) at getdi > > rtybuf+0x27 > > Oct 10 22:06:29 himinbjorg kernel: flush_deplist(c305354c,1,dbb54c04) at flush_d > > eplist+0x34 > > Oct 10 22:06:29 himinbjorg kernel: flush_inodedep_deps(c216d000,715e,c089bcf8,c0 > > 808b16,ef) at flush_inodedep_deps+0x7d > > Oct 10 22:06:29 himinbjorg kernel: softdep_sync_metadata(dbb54ca0) at softdep_sy > > nc_metadata+0x8c > > Oct 10 22:06:29 himinbjorg kernel: ffs_fsync(dbb54ca0) at ffs_fsync+0x33e > > Oct 10 22:06:29 himinbjorg kernel: fsync(c3549600,dbb54d04,1,1,286) at fsync+0x1 > > 03 > > Oct 10 22:06:29 himinbjorg kernel: syscall(2f,2f,bfbf002f,80fef20,0) at syscall+ > > 0x227 > > Oct 10 22:06:29 himinbjorg kernel: Xint0x80_syscall() at Xint0x80_syscall+0x1f > > Oct 10 22:06:29 himinbjorg kernel: --- syscall (95, FreeBSD ELF32, fsync), eip = > > 0x28181ca7, esp = 0xbfbf6d1c, ebp = 0xbfbf86e8 --- > > This looks more like a filesystem problem, not a memory problem. All > of the functions listed in the backtrace show UFS/FFS problems and > filesystem metadata issues of some kind. > Yup, sorry. I should have said that I realized it was a disk issue, but that I was thinking that maybe it wasn't really the OS's fault that there are "deeper" problems with the laptop that could be manifesting themselves here. When I sent all sorts of copious debug to Dell they just told me to replace the motherboard completely. I didn't want to spend the $$. At first all the problems manifested as memory, memtest86+ would lock up, "crash", etc with the memory I had. I bought new memory ($50 for a gig) BEFORE Dell just told me to replace the whole motherboard. With the new memory in, only using the "B" slot, it appeared more stable. I found these issues only accidentally. I tend to type "dmesg" when my fingers are idle and my brain is spinning thinking of something and thats when I saw this cruft. > > Booting the machine in single-user mode and run "fsck -y". I'm betting > you'll find errors. If not, then it's probably a kernel bug -- see > below, however. > Probably could use it, yea. It had locked up a few times so I'm sure the filesystems weren't in great shape. I thought I had offline fsck'd them, but now not so sure. > > I doubt you're going to get much support on this, since you're running > FreeBSD 5.5, which is no longer supported. Believe me: you will get > continual push-back from the rest of the FreeBSD developers asking for > support on 5.5. The RELENG_6 series is on its way out as well, so > you should consider installing RELENG_7 (specifically 7.1-BETA at > this point). > Well, that was 1/2 of the reason why I asked if it was even worth it to trace it out. 1/2 was the fact its 5.5, the other 1/2 was that I've already been told to replace the motherboard. :) I tried going to 6.X on this machine for a few weeks once before, constantly locked up in the booting of the kernel. I haven't had a spare second otherwise to consider going to 7. I didn't think anyone would really want to help on 5.5, but figured I'd toss it out there and see if anyone thought it worth while. Thanks Jeremy. Tuc From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 18:43:44 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BA231065689 for ; Sat, 11 Oct 2008 18:43:44 +0000 (UTC) (envelope-from ml@t-b-o-h.net) Received: from vjofn.tucs-beachin-obx-house.com (vjofn-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::5e5]) by mx1.freebsd.org (Postfix) with ESMTP id 33C268FC15 for ; Sat, 11 Oct 2008 18:43:44 +0000 (UTC) (envelope-from ml@t-b-o-h.net) Received: from setup.house.tucs-beachin-obx-house.com (cpe-24-161-50-5.hvc.res.rr.com [24.161.50.5]) (authenticated bits=0) by vjofn.tucs-beachin-obx-house.com (8.14.2/8.14.2) with ESMTP id m9BIhXaU024378 for ; Sat, 11 Oct 2008 14:43:43 -0400 (EDT) Received: from setup.house.tucs-beachin-obx-house.com (localhost [127.0.0.1]) by setup.house.tucs-beachin-obx-house.com (8.14.3/8.14.3) with ESMTP id m9BIgs4d099536 for ; Sat, 11 Oct 2008 14:42:55 -0400 (EDT) (envelope-from tbohml@setup.house.tucs-beachin-obx-house.com) Received: (from tbohml@localhost) by setup.house.tucs-beachin-obx-house.com (8.14.3/8.14.2/Submit) id m9BIgsIw099535 for freebsd-questions@freebsd.org; Sat, 11 Oct 2008 14:42:54 -0400 (EDT) (envelope-from tbohml) From: Tuc Message-Id: <200810111842.m9BIgsIw099535@setup.house.tucs-beachin-obx-house.com> To: freebsd-questions@freebsd.org Date: Sat, 11 Oct 2008 14:42:54 -0400 (EDT) X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 192.168.3.118 Subject: Re: Worth persuing a KDB: stack backtrace: ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 18:43:44 -0000 > > > > Booting the machine in single-user mode and run "fsck -y". I'm betting > > you'll find errors. If not, then it's probably a kernel bug -- see > > below, however. > Ya lost the bet.... All filesystems were supposedly fine. Tuc From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 19:04:54 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6218F1065688 for ; Sat, 11 Oct 2008 19:04:54 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C3EF08FC12; Sat, 11 Oct 2008 19:04:53 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <48F0F8F4.6070007@FreeBSD.org> Date: Sat, 11 Oct 2008 20:05:24 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Drew Tomlinson References: <48EFAA0B.1030908@mykitchentable.net> In-Reply-To: <48EFAA0B.1030908@mykitchentable.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: libncurses.so.6 Not Found - How to Get 32 bit Version? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 19:04:54 -0000 Drew Tomlinson wrote: > First, I must say I love the ports system!!! It keeps me from suffering > as I am now. :) > > Anyway, I'm attempting to install a web log analysis software from > Google named "Urchin". The installation docs say it's supported on FBSD > 6.2+. As I am dedicating a machine to this software, I've performed a > brand new install of 7.1-PRERELEASE. I'm using the amd64 version on a > Intel Core 2 Duo processor. > > With help from the list, I overcame the first library issue by > installing the compat6x libraries from ports. Now the install script is > complaining that "/libexec/ld-elf.so.1: Shared object "libncurses.so.6" > not found". I used ldd on the executable the script is attempting to > run and get this output: > > libncurses.so.6 => not found (0x0) > libcrypt.so.3 => /usr/local/lib32/compat/libcrypt.so.3 (0x280be000) > libz.so.3 => /usr/local/lib32/compat/libz.so.3 (0x280d7000) > libstdc++.so.5 => /usr/local/lib32/compat/libstdc++.so.5 > (0x280e8000) > libm.so.4 => /usr/local/lib32/compat/libm.so.4 (0x281be000) > libc.so.6 => /usr/local/lib32/compat/libc.so.6 (0x281d4000) > > I did search my system and found /usr/local/lib/compat/libncurses.so.6. > I tried adding a symlink to /usr/local/lib32/compat but then received an > "...unsupported layout..." error when attempting to run the executable: > I assume that is because the libncurses.so.6 library is a 64 bit > version? I've removed the symlink. > > Assuming my assumptions are correct, how can I get a 32 bit > libncurses.so.6 version on my system? Or if I'm wrong, what do I need? The lib/compat/libncurses.so.6 file comes from the compat6x package. However, as you found, that package on amd64 installs the amd64 compat libraries. You can grab the i386 version of the package from the FTP site and manually extract the libraries into the lib32/compat directory (it's just a .tbz file). Kris From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 19:06:11 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 640751065686 for ; Sat, 11 Oct 2008 19:06:11 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA04.westchester.pa.mail.comcast.net (qmta04.westchester.pa.mail.comcast.net [76.96.62.40]) by mx1.freebsd.org (Postfix) with ESMTP id 0F2898FC15 for ; Sat, 11 Oct 2008 19:06:10 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA07.westchester.pa.mail.comcast.net ([76.96.62.59]) by QMTA04.westchester.pa.mail.comcast.net with comcast id RS1w1a0011GhbT854X6Aob; Sat, 11 Oct 2008 19:06:10 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA07.westchester.pa.mail.comcast.net with comcast id RX691a00B2P6wsM3TX69JU; Sat, 11 Oct 2008 19:06:10 +0000 X-Authority-Analysis: v=1.0 c=1 a=bKFI1V7vIZwA:10 a=019SSKKqBqYA:10 a=QycZ5dHgAAAA:8 a=iAvlkwdqibaEqBapin8A:9 a=ssuWgW9Sqv7hSlAckJkA:7 a=a7j87y0cpwCEpGHeF9QmYT5Meh4A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id D2552C9419; Sat, 11 Oct 2008 12:06:08 -0700 (PDT) Date: Sat, 11 Oct 2008 12:06:08 -0700 From: Jeremy Chadwick To: Tuc Message-ID: <20081011190608.GA70292@icarus.home.lan> References: <20081011152906.GB65652@icarus.home.lan> <200810111742.m9BHg9pK099087@setup.house.tucs-beachin-obx-house.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200810111742.m9BHg9pK099087@setup.house.tucs-beachin-obx-house.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@FreeBSD.org Subject: Re: Worth persuing a KDB: stack backtrace: ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 19:06:11 -0000 On Sat, Oct 11, 2008 at 01:42:09PM -0400, Tuc wrote: > > > > On Sat, Oct 11, 2008 at 11:22:21AM -0400, Tuc wrote: > > > I have a 5.5-STABLE laptop thats been having issues lately, mostly > > > related to memory. I bought new chips, and I think I narrowed it down to one > > > of the Dimm slots being bad. I did a memtest for 25 hours and it seemed stable. > > > > memtest86+ would definitely detect a DIMM slot being bad, so running it > > for 25 hours successfully means the DIMM and the DIMM slot is likely fine. > > > Sorry, 2 corrections. :) > > 1) I ran memtest86+ 3.4 > 2) If I tried to run the memory test on the slot I thought was bad, > it looked like whatever is underneath the memtest86+ (Linux?) would crap out > within 6 seconds of startup. I've only tested the "B" slot after running into > so many issues with the "A" slot (And I checked, you can run one slot only > on this laptop... Dell Inspiron 8200) Yes, memtest86 and memtest86+ are both Linux-based. > > > I started up and started downloading a backup of over 5K emails. (All have > > > to go through mimedefang, procmail and sendmail... So the system was a bit > > > sluggish. I started to get things like : > > > > > > Oct 10 22:06:29 himinbjorg kernel: KDB: stack backtrace: > > > Oct 10 22:06:29 himinbjorg kernel: kdb_backtrace(c3053200,1,dbb54c04,dbb54bf0,c0 > > > 73ba78) at kdb_backtrace+0x29 > > > Oct 10 22:06:29 himinbjorg kernel: getdirtybuf(dbb54be0,0,1,cc1c81e8,1) at getdi > > > rtybuf+0x27 > > > Oct 10 22:06:29 himinbjorg kernel: flush_deplist(c305354c,1,dbb54c04) at flush_d > > > eplist+0x34 > > > Oct 10 22:06:29 himinbjorg kernel: flush_inodedep_deps(c216d000,715e,c089bcf8,c0 > > > 808b16,ef) at flush_inodedep_deps+0x7d > > > Oct 10 22:06:29 himinbjorg kernel: softdep_sync_metadata(dbb54ca0) at softdep_sy > > > nc_metadata+0x8c > > > Oct 10 22:06:29 himinbjorg kernel: ffs_fsync(dbb54ca0) at ffs_fsync+0x33e > > > Oct 10 22:06:29 himinbjorg kernel: fsync(c3549600,dbb54d04,1,1,286) at fsync+0x1 > > > 03 > > > Oct 10 22:06:29 himinbjorg kernel: syscall(2f,2f,bfbf002f,80fef20,0) at syscall+ > > > 0x227 > > > Oct 10 22:06:29 himinbjorg kernel: Xint0x80_syscall() at Xint0x80_syscall+0x1f > > > Oct 10 22:06:29 himinbjorg kernel: --- syscall (95, FreeBSD ELF32, fsync), eip = > > > 0x28181ca7, esp = 0xbfbf6d1c, ebp = 0xbfbf86e8 --- > > > > This looks more like a filesystem problem, not a memory problem. All > > of the functions listed in the backtrace show UFS/FFS problems and > > filesystem metadata issues of some kind. > > > Yup, sorry. I should have said that I realized it was a disk issue, but > that I was thinking that maybe it wasn't really the OS's fault that there are > "deeper" problems with the laptop that could be manifesting themselves here. > When I sent all sorts of copious debug to Dell they just told me to replace > the motherboard completely. I didn't want to spend the $$. At first all the > problems manifested as memory, memtest86+ would lock up, "crash", etc with the > memory I had. I bought new memory ($50 for a gig) BEFORE Dell just told me to > replace the whole motherboard. With the new memory in, only using the "B" slot, > it appeared more stable. I found these issues only accidentally. I tend to > type "dmesg" when my fingers are idle and my brain is spinning thinking of > something and thats when I saw this cruft. Okay, so now we're talking about disk issues. So all we've confirmed at this point is 1) you have bad memory or a bad RAM slot, and 2) you have a disk that has problems, a corrupted filesystem, or both. I suppose it's possible for filesystem corruption to occur due to bad memory, but it's much more likely that you'd experience a kernel panic before that even had a chance of happening. At this point I'm really not sure what to tell you, or if FreeBSD can even help. You've confirmed you have bad hardware, so the solution at this point should be obvious. :-) > > Booting the machine in single-user mode and run "fsck -y". I'm betting > > you'll find errors. If not, then it's probably a kernel bug -- see > > below, however. > > > Probably could use it, yea. It had locked up a few times so I'm > sure the filesystems weren't in great shape. I thought I had offline > fsck'd them, but now not so sure. I'd recommend setting background_fsck="no" in /etc/rc.conf in the future. Backgrounded fsck does not catch all filesystem errors; this has been discussed very thoroughly on the -stable list. > > I doubt you're going to get much support on this, since you're running > > FreeBSD 5.5, which is no longer supported. Believe me: you will get > > continual push-back from the rest of the FreeBSD developers asking for > > support on 5.5. The RELENG_6 series is on its way out as well, so > > you should consider installing RELENG_7 (specifically 7.1-BETA at > > this point). > > > Well, that was 1/2 of the reason why I asked if it was even > worth it to trace it out. 1/2 was the fact its 5.5, the other 1/2 was > that I've already been told to replace the motherboard. :) > > I tried going to 6.X on this machine for a few weeks once before, > constantly locked up in the booting of the kernel. I haven't had a spare > second otherwise to consider going to 7. I didn't think anyone would > really want to help on 5.5, but figured I'd toss it out there and see if > anyone thought it worth while. I don't think anyone will be very willing to help with this now that you've confirmed the system has bad memory, possibly a bad DIMM slot, and very likely filesystem corruption. As I said above, I think the solution at this point is obvious. :-) -- | 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 Sat Oct 11 19:36:15 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D3331065687; Sat, 11 Oct 2008 19:36:15 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [194.62.233.102]) by mx1.freebsd.org (Postfix) with ESMTP id D95FA8FC0C; Sat, 11 Oct 2008 19:36:14 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from sp34.ipt.ru ([194.62.233.107] helo=bs1.sp34.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1KokG4-0008qk-MD; Sat, 11 Oct 2008 23:36:12 +0400 Received: from bsam by bs1.sp34.ru with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KokHl-0000L3-IH; Sat, 11 Oct 2008 23:37:57 +0400 To: Drew Tomlinson References: <48EFAA0B.1030908@mykitchentable.net> From: Boris Samorodov Date: Sat, 11 Oct 2008 23:37:57 +0400 In-Reply-To: <48EFAA0B.1030908@mykitchentable.net> (Drew Tomlinson's message of "Fri\, 10 Oct 2008 12\:16\:27 -0700") Message-ID: <06069130@bs1.sp34.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: mnag@FreeBSD.org, freebsd-questions@freebsd.org Subject: Re: libncurses.so.6 Not Found - How to Get 32 bit Version? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 19:36:15 -0000 Drew Tomlinson writes: > First, I must say I love the ports system!!! It keeps me from > suffering as I am now. :) > > Anyway, I'm attempting to install a web log analysis software from > Google named "Urchin". The installation docs say it's supported on > FBSD 6.2+. As I am dedicating a machine to this software, I've > performed a brand new install of 7.1-PRERELEASE. I'm using the amd64 > version on a Intel Core 2 Duo processor. > > With help from the list, I overcame the first library issue by > installing the compat6x libraries from ports. Now the install script > is complaining that "/libexec/ld-elf.so.1: Shared object > "libncurses.so.6" not found". I used ldd on the executable the script > is attempting to run and get this output: > > libncurses.so.6 => not found (0x0) > libcrypt.so.3 => /usr/local/lib32/compat/libcrypt.so.3 (0x280be000) > libz.so.3 => /usr/local/lib32/compat/libz.so.3 (0x280d7000) > libstdc++.so.5 => /usr/local/lib32/compat/libstdc++.so.5 > (0x280e8000) > libm.so.4 => /usr/local/lib32/compat/libm.so.4 (0x281be000) > libc.so.6 => /usr/local/lib32/compat/libc.so.6 (0x281d4000) > > I did search my system and found > /usr/local/lib/compat/libncurses.so.6. I tried adding a symlink to > /usr/local/lib32/compat but then received an "...unsupported > layout..." error when attempting to run the executable: I assume that > is because the libncurses.so.6 library is a 64 bit version? I've > removed the symlink. You can explore it by the command % file /usr/local/lib/compat/libncurses.so.6 > Assuming my assumptions are correct, how can I get a 32 bit > libncurses.so.6 version on my system? Or if I'm wrong, what do I > need? You can copy this file from 6-i386 as Kris has already said. And it may be a good idea to file a PR about it since this is definitely the port's bug (CCing to the port's maintainer). WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 19:42:43 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 565851065688; Sat, 11 Oct 2008 19:42:43 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5D0958FC0A; Sat, 11 Oct 2008 19:42:42 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <48F101D1.6050506@FreeBSD.org> Date: Sat, 11 Oct 2008 20:43:13 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Boris Samorodov References: <48EFAA0B.1030908@mykitchentable.net> <06069130@bs1.sp34.ru> In-Reply-To: <06069130@bs1.sp34.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Drew Tomlinson , mnag@FreeBSD.org, freebsd-questions@freebsd.org Subject: Re: libncurses.so.6 Not Found - How to Get 32 bit Version? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 19:42:43 -0000 Boris Samorodov wrote: > You can copy this file from 6-i386 as Kris has already said. > And it may be a good idea to file a PR about it since this is > definitely the port's bug (CCing to the port's maintainer). I don't think it's a port bug, but it would be useful to have an official way to install the i386 compat libraries on amd64. This should probably be a separate slave port. Kris From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 19:51:19 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CAB91065694; Sat, 11 Oct 2008 19:51:19 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [194.62.233.102]) by mx1.freebsd.org (Postfix) with ESMTP id 321CE8FC0C; Sat, 11 Oct 2008 19:51:18 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from sp34.ipt.ru ([194.62.233.107] helo=bs1.sp34.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1KokUe-0008uV-VC; Sat, 11 Oct 2008 23:51:17 +0400 Received: from bsam by bs1.sp34.ru with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KokWL-0007Kb-Si; Sat, 11 Oct 2008 23:53:01 +0400 To: Kris Kennaway References: <48EFAA0B.1030908@mykitchentable.net> <06069130@bs1.sp34.ru> <48F101D1.6050506@FreeBSD.org> From: Boris Samorodov Date: Sat, 11 Oct 2008 23:53:01 +0400 In-Reply-To: <48F101D1.6050506@FreeBSD.org> (Kris Kennaway's message of "Sat\, 11 Oct 2008 20\:43\:13 +0100") Message-ID: <39988226@bs1.sp34.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Drew Tomlinson , mnag@FreeBSD.org, freebsd-questions@freebsd.org Subject: Re: libncurses.so.6 Not Found - How to Get 32 bit Version? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 19:51:19 -0000 Kris Kennaway writes: > Boris Samorodov wrote: > >> You can copy this file from 6-i386 as Kris has already said. >> And it may be a good idea to file a PR about it since this is >> definitely the port's bug (CCing to the port's maintainer). > > I don't think it's a port bug, but it would be useful to have an > official way to install the i386 compat libraries on amd64. This > should probably be a separate slave port. The port installs both amd64 and i386 libraries (look at the port pkg-plist.amd64). Isn't it an official way? Imho yes. One library is missing. Isn't it a port bug? Well, imho, yes. ;-) WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 19:58:19 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 895C6106568E; Sat, 11 Oct 2008 19:58:19 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 930F68FC0C; Sat, 11 Oct 2008 19:58:18 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <48F10579.8000103@FreeBSD.org> Date: Sat, 11 Oct 2008 20:58:49 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Boris Samorodov References: <48EFAA0B.1030908@mykitchentable.net> <06069130@bs1.sp34.ru> <48F101D1.6050506@FreeBSD.org> <39988226@bs1.sp34.ru> In-Reply-To: <39988226@bs1.sp34.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Drew Tomlinson , mnag@FreeBSD.org, freebsd-questions@freebsd.org Subject: Re: libncurses.so.6 Not Found - How to Get 32 bit Version? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 19:58:19 -0000 Boris Samorodov wrote: > Kris Kennaway writes: >> Boris Samorodov wrote: >> >>> You can copy this file from 6-i386 as Kris has already said. >>> And it may be a good idea to file a PR about it since this is >>> definitely the port's bug (CCing to the port's maintainer). >> I don't think it's a port bug, but it would be useful to have an >> official way to install the i386 compat libraries on amd64. This >> should probably be a separate slave port. > > The port installs both amd64 and i386 libraries (look at the port > pkg-plist.amd64). Isn't it an official way? Imho yes. > > One library is missing. Isn't it a port bug? Well, imho, yes. ;-) OK then :) Kris From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 19:59:13 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F30811065698 for ; Sat, 11 Oct 2008 19:59:13 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 619A38FC08; Sat, 11 Oct 2008 19:59:13 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <48F105B0.3010408@FreeBSD.org> Date: Sat, 11 Oct 2008 20:59:44 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Desmond Chapman References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: ULE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 19:59:14 -0000 Desmond Chapman wrote: > Anyone with experience using and setting this up, please contact me. I need to learn how to work with and on it. Replace "options SCHED_4BSD" with "options SCHED_ULE" in your kernel config file, compile/install kernel in the usual way, reboot. End of story. Kris From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 20:02:37 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC641106569C for ; Sat, 11 Oct 2008 20:02:37 +0000 (UTC) (envelope-from gad@FreeBSD.org) Received: from smtp8.server.rpi.edu (smtp8.server.rpi.edu [128.113.2.228]) by mx1.freebsd.org (Postfix) with ESMTP id 7B6DB8FC12 for ; Sat, 11 Oct 2008 20:02:37 +0000 (UTC) (envelope-from gad@FreeBSD.org) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp8.server.rpi.edu (8.13.1/8.13.1) with ESMTP id m9BIweeC015794; Sat, 11 Oct 2008 14:58:42 -0400 Mime-Version: 1.0 Message-Id: In-Reply-To: <26face530810110933o1403705o625586ac53b309fb@mail.gmail.com> References: <26face530810110933o1403705o625586ac53b309fb@mail.gmail.com> Date: Sat, 11 Oct 2008 14:58:39 -0400 To: "Kelly Jones" , freebsd-questions@FreeBSD.org, techtalk@linuxchix.org, nmlug@nmlug.org, nmosug-l@mailman.swcp.com From: Garance A Drosehn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Bayes-Prob: 0.0001 (Score 0) X-RPI-SA-Score: 0.10 () [Hold at 20.00] COMBINED_FROM X-CanItPRO-Stream: outgoing X-Canit-Stats-ID: Bayes signature not available X-Scanned-By: CanIt (www . roaringpenguin . com) on 128.113.2.228 Cc: Subject: Re: newsyslog naming scheme could be improved? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 20:02:37 -0000 At 9:33 AM -0700 10/11/08, Kelly Jones wrote: > >...but has anyone considered tweaking newsyslog to name files >messages.2008-10-05-12-00-00.gz or something. IE, give them a >constant name that doesn't change and then delete them after >how many ever days? It would be bad to change the default behavior, but there have been several people who wished for some option for newsyslog which would make it use some alternate naming scheme. There's at least one PR about it, for instance. It is on my list of things to do, but I've had a long stretch of time where I have too many things on that list. I wouldn't go for a naming scheme that's as long as the above suggestion, though. -- Garance Alistair Drosehn = drosehn@rpi.edu Senior Systems Programmer or gad@FreeBSD.org Rensselaer Polytechnic Institute; Troy, NY; USA From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 20:06:15 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51EC11065687 for ; Sat, 11 Oct 2008 20:06:15 +0000 (UTC) (envelope-from jeremy@stormy.smart-serv.net) Received: from mx01.edm.ab.smart-serv.net (mail.smart-serv.net [208.68.18.197]) by mx1.freebsd.org (Postfix) with ESMTP id 34E2F8FC0C for ; Sat, 11 Oct 2008 20:06:15 +0000 (UTC) (envelope-from jeremy@stormy.smart-serv.net) Received: from sleet.dwncrk.bc.ssnet.ca (S0106000d87073d15.nb.shawcable.net [70.74.68.215]) by mx01.edm.ab.smart-serv.net (Postfix) with ESMTPA id 9A72211F81E for ; Sat, 11 Oct 2008 13:48:53 -0600 (MDT) Message-ID: <48F10321.4060908@stormy.smart-serv.net> Date: Sat, 11 Oct 2008 12:48:49 -0700 From: "J. Johnston" User-Agent: Thunderbird 2.0.0.17 (X11/20081010) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: LDAP+login classes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 20:06:15 -0000 Hello, I was wonder if anyone has an idea if its possible to use login classes when using nss_ldap From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 20:23:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34B68106568A for ; Sat, 11 Oct 2008 20:23:14 +0000 (UTC) (envelope-from kulka@man.poznan.pl) Received: from rose.man.poznan.pl (rose.man.poznan.pl [150.254.173.3]) by mx1.freebsd.org (Postfix) with ESMTP id BDC818FC12 for ; Sat, 11 Oct 2008 20:23:13 +0000 (UTC) (envelope-from kulka@man.poznan.pl) X-Virus-Scanned: by PSNC antivirus scanner at man.poznan.pl Received: from calycanthus-baby.localhost (sunflower.kulczewski.com [213.156.96.215]) (authenticated bits=0) by rose.man.poznan.pl (8.13.8/8.13.8/auth/ldap/milter/tls) with ESMTP id m9BKMhpA028088 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 11 Oct 2008 22:22:56 +0200 (CEST) Message-ID: <48F10B0D.7000400@man.poznan.pl> Date: Sat, 11 Oct 2008 22:22:37 +0200 From: Michal Kulczewski Organization: PSNC User-Agent: Thunderbird 2.0.0.7pre (X11/20080302) MIME-Version: 1.0 To: mdh_lists@yahoo.com References: <166708.22574.qm@web56807.mail.re3.yahoo.com> In-Reply-To: <166708.22574.qm@web56807.mail.re3.yahoo.com> X-Enigmail-Version: 0.95.1 OpenPGP: id=BFA9832E Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Brian , freebsd-questions@freebsd.org Subject: Re: freebsd7 & kde4 & performance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 20:23:14 -0000 mdh wrote: > Michal, can you describe in more detail just what is performing poorly? Things like what effects, what actions you're taking, what your settings are that effect those actions, etc? I'm running KDE4.1.1 from ports on 7-STABLE and have no performance problems at all with an AthlonX2, 2gigs of memory, and a GeForce6200 card using nvidia binary drivers. One thing I have come up against was the nvidia "black windows bug" with OpenGL effects turned on, but turning them off doesn't signifigantly hinder my enjoyment of KDE4, or make it too much less sexy to be honest. The performance was also fine even with them turned on; it simply caused that bug to occur which made it less usable. > Generally speaking, I've found GNOME to run with more performance issues despite less bells and whistles than KDE every time on any system where I've tried it. > If you provide some more information, maybe I can direct you to some setting tweaks, etc, but as I said it's working just lovely for me (and this is with a ton of apps open, by the way - several seamonkey windows, a bunch of kpdf, eclipse, many many konsole tabs, xmms, ktorrent, and more. > One thing I am curious of is if you're running i386 FreeBSD, or another architecture (amd64, ia64, etc?) I'm running 7.0 stable with ULE scheduler on i386 architecture (since it's Pentium M). I've tried to use kde4 out of the box (after compilation). Whole kde is running poorly. I have to wait seconds for any action to complete (right mouse button, moving windows, moving widgets, etc), so, as you can imagine, I'm not that patient to tweak any settings while using kde4. Now I see that many of you are using nvidia binary drivers, maybe this is the answer why my kde4 is running so slow. However, beryl is working quite fast for me. kde4 is using only 4% of processor, hal and dbus are enabled and running. -- Michal From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 21:06:55 2008 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 930C71065696 for ; Sat, 11 Oct 2008 21:06:55 +0000 (UTC) (envelope-from mksmith@adhost.com) Received: from mail-in05.adhost.com (mail-in05.adhost.com [216.211.128.135]) by mx1.freebsd.org (Postfix) with ESMTP id 788978FC13 for ; Sat, 11 Oct 2008 21:06:55 +0000 (UTC) (envelope-from mksmith@adhost.com) Received: from ad-exh01.adhost.lan (exchange.adhost.com [216.211.143.69]) by mail-in05.adhost.com (Postfix) with ESMTP id 62A04164822; Sat, 11 Oct 2008 14:06:54 -0700 (PDT) (envelope-from mksmith@adhost.com) Received: from 10.142.3.89 ([10.142.3.89]) by ad-exh01.adhost.lan ([10.142.0.20]) with Microsoft Exchange Server HTTP-DAV ; Sat, 11 Oct 2008 21:06:53 +0000 User-Agent: Microsoft-Entourage/12.12.0.080729 Date: Sat, 11 Oct 2008 14:06:49 -0700 From: "Michael K. Smith" To: Jeremy Chadwick Message-ID: Thread-Topic: FreeBSD as PF/Router/Firewall dying on the vine Thread-Index: Ackr5UasHfZNb+sFPk+TNaQjSgIVPQ== In-Reply-To: <20081007043009.GA38719@icarus.home.lan> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Cc: questions@freebsd.org Subject: Re: FreeBSD as PF/Router/Firewall dying on the vine X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 21:06:55 -0000 Hello Jeremy: On 10/6/08 9:30 PM, "Jeremy Chadwick" wrote: > On Mon, Oct 06, 2008 at 06:08:50PM -0700, Michael K. Smith - Adhost wrote: >> Hello All: >> >> We have a load balanced pair of PF boxes sitting in front of a whole bunch of >> server doing all manner of things! It's been working great up until today >> when it, well, didn't. Here's what I see in top -S. >> >> PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU >> COMMAND >> 14 root 1 -44 -163 0K 8K CPU1 0 44:21 88.18% swi1: >> net >> 11 root 1 171 52 0K 8K RUN 0 24:58 53.32% idle: >> cpu0 >> 10 root 1 171 52 0K 8K RUN 1 17:44 35.50% idle: >> cpu1 >> 24 root 1 -68 -187 0K 8K *Giant 0 5:30 11.62% irq16: >> em2 uhci3 >> 23 root 1 -68 -187 0K 8K WAIT 0 1:27 3.08% irq25: >> em1 >> 25 root 1 -68 -187 0K 8K WAIT 1 1:16 2.64% irq17: >> em3 >> >> This is 6.3 with Intel 1000 Fiber and Copper interfaces, all using the 'em' >> driver. Also, there are 15 VLAN's configured on one of the NIC's for subnet >> separation. >> >> If anyone has any ideas I'm all ears. My google-fu is coming up empty with >> the swi1: net > > Can you explain what the problem is? Sorry it took so long to reply. We actually got the issue resolved, but I wanted to make sure our fix actually worked. Here is what the problem/solution is. The problem was significant packet loss and connectivity issue to and through the PF server. Even pinging the loopback address on the server itself was returning 4 ms times. The problem was a very busy NFS server with clients on the same VLAN, but on a different subnet. So, we had a VLAN interface on em1 that had two address ranges attached, 10.255.0.0/16 and 10.212.6.0/16. The NFS server was on the 10.255 and the clients were on the 10.212. Even though they were on the same VLAN, they weren't directly ARP'able, so all traffic (400 - 600 Mb/sec) between them had to be processed by the server. When we moved the clients on to the same subnet as the server, everything stabilized. I think this was an issue of bad design on my part. Regards, Mike From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 21:25:10 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 109F41065692 for ; Sat, 11 Oct 2008 21:25:10 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 9B6968FC0C for ; Sat, 11 Oct 2008 21:25:08 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2) with ESMTP id m9BLOvtW047992; Sat, 11 Oct 2008 23:24:57 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2/Submit) with ESMTP id m9BLOudn047989; Sat, 11 Oct 2008 23:24:57 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 11 Oct 2008 23:24:56 +0200 (CEST) From: Wojciech Puchar To: Desmond Chapman In-Reply-To: Message-ID: <20081011232341.D47985@wojtek.tensor.gdynia.pl> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: ULE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 21:25:10 -0000 in few days old RELENG_7 it's great, much better than anything before. there are something to fix with realtime priority threads scheduling, i contacted the author and i think it will be fixed soon. in case of usual work - just use it. it's very good. On Sat, 11 Oct 2008, Desmond Chapman wrote: > > Anyone with experience using and setting this up, please contact me. I need to learn how to work with and on it. > > _________________________________________________________________ > Get more out of the Web. Learn 10 hidden secrets of Windows Live. > http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008_______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 23:10:10 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2A321065691 for ; Sat, 11 Oct 2008 23:10:10 +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 9B4FD8FC0A for ; Sat, 11 Oct 2008 23:10:10 +0000 (UTC) (envelope-from dan@nyi.unixathome.org) Received: from localhost (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id 130F050A22 for ; Sun, 12 Oct 2008 00:10:06 +0100 (BST) 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 vTey6smyIW7y for ; Sun, 12 Oct 2008 00:10:04 +0100 (BST) Received: by nyi.unixathome.org (Postfix, from userid 1001) id E7BF650A1D; Sun, 12 Oct 2008 00:10:03 +0100 (BST) From: Dan Langille To: freebsd-questions@freebsd.org Message-Id: <20081011231003.E7BF650A1D@nyi.unixathome.org> Date: Sun, 12 Oct 2008 00:10:03 +0100 (BST) Subject: The FreeBSD Diary: 2008-09-21 - 2008-10-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, 11 Oct 2008 23:10:10 -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: 5-Oct : Removing dead mailing lists from Mailman Mailing lists can outlive their usefulness http://freebsddiary.org/mailman-removing-dead-lists.php?2 -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 23:26:04 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7BDF106568B; Sat, 11 Oct 2008 23:26:04 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from smtpauth.surewest.net (smtpauth.surewest.net [66.60.130.153]) by mx1.freebsd.org (Postfix) with ESMTP id 943E58FC12; Sat, 11 Oct 2008 23:26:04 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from blacklamb.mykitchentable.net (unknown [69.62.230.77]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtpauth.surewest.net (Postfix) with ESMTP id B3A839B54C; Sat, 11 Oct 2008 16:24:22 -0700 (PDT) Received: from [192.168.1.3] (bigdaddy.mykitchentable.net [192.168.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by blacklamb.mykitchentable.net (Postfix) with ESMTPSA id 69B1C16491F; Sat, 11 Oct 2008 16:26:01 -0700 (PDT) Message-ID: <48F13626.1000106@mykitchentable.net> Date: Sat, 11 Oct 2008 16:26:30 -0700 From: Drew Tomlinson User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Kris Kennaway References: <48EFAA0B.1030908@mykitchentable.net> <06069130@bs1.sp34.ru> <48F101D1.6050506@FreeBSD.org> <39988226@bs1.sp34.ru> <48F10579.8000103@FreeBSD.org> In-Reply-To: <48F10579.8000103@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Boris Samorodov , mnag@FreeBSD.org, freebsd-questions@freebsd.org Subject: Re: libncurses.so.6 Not Found - How to Get 32 bit Version? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Oct 2008 23:26:04 -0000 Kris Kennaway wrote: > Boris Samorodov wrote: >> Kris Kennaway writes: >>> Boris Samorodov wrote: >>> >>>> You can copy this file from 6-i386 as Kris has already said. >>>> And it may be a good idea to file a PR about it since this is >>>> definitely the port's bug (CCing to the port's maintainer). >>> I don't think it's a port bug, but it would be useful to have an >>> official way to install the i386 compat libraries on amd64. This >>> should probably be a separate slave port. >> >> The port installs both amd64 and i386 libraries (look at the port >> pkg-plist.amd64). Isn't it an official way? Imho yes. >> >> One library is missing. Isn't it a port bug? Well, imho, yes. ;-) > > OK then :) > > Kris Thank you both! I'll figure out how to file a proper PR. Thanks, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 23:46:21 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 448E11065692 for ; Sat, 11 Oct 2008 23:46:21 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id F192B8FC13 for ; Sat, 11 Oct 2008 23:46:20 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id m9BNkYAx010523 for ; Sat, 11 Oct 2008 16:46:34 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sat, 11 Oct 2008 16:46:16 -0700 (PDT) Date: Sat, 11 Oct 2008 16:46:16 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20081011234612.GA5515@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 22 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: rsync or even scp questions.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2008 23:46:21 -0000 I have two "desktop" computers; three, if you count my new ThinkPad. The TPad needs a new CAT5 cable, so for now I'm only considereing the two tower computers. On the Ubuntu computer I am /home/kline; on my main computer, my home is /usr/home/kline. The following sh script worked perfected when my home on "tao" [FBSD] was /home/kline: P #!/bin/sh PWD=`pwd`; echo "This directory is [${PWD}]"; scp -qrp ${PWD}/* ethos:/${PWD} ###/usr/bin/scp -rqp -i /home/kline/.ssh/zeropasswd-id ${PWD}/* \ klin e@ethos:/${PWD} Question #1: is there any /bin/sh method of getting rid of the "/usr"? I switch off between my two computers especially when get mucked up, as with my upgrade to kde4. (Otherwise, I do backups of ~kline as well as other critical directories.) Is there a way of automatically using rsync rather that my kwik-and-dirty /bin/shell script? thanks, people, gary PS: Complete disclosure: it works one way [tao to ethos] because I have created a /usr/home/kline/* tree on ethos. .... PPS: if this seems like a numbskull query, i only caught a few hours sleep last night! -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org