From owner-freebsd-questions@FreeBSD.ORG Sun Oct 12 03: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 EA0CE106569E for ; Sun, 12 Oct 2008 03:10:50 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.freebsd.org (Postfix) with ESMTP id BF8058FC15 for ; Sun, 12 Oct 2008 03:10:50 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id CDB39179CF0; Sat, 11 Oct 2008 23:10:49 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Sat, 11 Oct 2008 23:10:49 -0400 X-Sasl-enc: 8YDv3MSloRPqtXl7Tqj7obSHeoSkCU+PIcxZH7iojj9n 1223781049 Received: from hagrid.ewd.goldmark.org (n114.ewd.goldmark.org [72.64.118.114]) by mail.messagingengine.com (Postfix) with ESMTPSA id 5466ADD5D; Sat, 11 Oct 2008 23:10:49 -0400 (EDT) Message-Id: From: Jeffrey Goldberg To: Odhiambo Washington In-Reply-To: <991123400810092345w7b9300ecofb20cbd5bab04e95@mail.gmail.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: Sat, 11 Oct 2008 22:10:47 -0500 References: <7B4A419D26AE44F986698BB7A482DE29@GRANT> <991123400810092345w7b9300ecofb20cbd5bab04e95@mail.gmail.com> X-Mailer: Apple Mail (2.929.2) Cc: Grant Peel , 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: Sun, 12 Oct 2008 03:10:51 -0000 On Oct 10, 2008, at 1:45 AM, Odhiambo Washington wrote: > 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 I'm running mailman 2.1.11 (installed from ports) without the described problem. So in at least one case, Apache, FreeBSD and Mailman 2.1.11 work without exhibiting the described problem. -j From owner-freebsd-questions@FreeBSD.ORG Sun Oct 12 04:00: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 DB5171065686 for ; Sun, 12 Oct 2008 04:00:58 +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 8A4188FC17 for ; Sun, 12 Oct 2008 04:00:58 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: (qmail 70386 invoked by uid 60001); 12 Oct 2008 04:00:58 -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=WBKclsIyxbu8jOPc7MfS4AjM+afCse0thMX/eZA0uaR5vD/j76quGcWija0FSH2dtyJGSHNOb+DzgyCYcSt+qMsIy7i9rP/uRWN8BEF/YF7xvB2xRd04+L40R7Q238vq03R6317VIUeGeC9HTMmfD/SU+rIpU0YCa66PJwo5TVs=; X-YMail-OSG: EZAH7TEVM1lWSdXiUaj3AhuzPDi2SBDb3O2sYnNzcta3.dsHiqYiiAr7zf1fy4XfGcbdvSo_zJ.2SV4TO91u62.GfNHBGmhKkaZaHZPhLo26vWKEGS3fcdIpT1z9KCcP9V6MUpA_P58Afj0QhqtSk9j41Finqd7h4of48QFEfV_BsQSDiaqeL69e90RIZQ-- Received: from [71.61.220.126] by web56801.mail.re3.yahoo.com via HTTP; Sat, 11 Oct 2008 21:00:57 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Sat, 11 Oct 2008 21:00:57 -0700 (PDT) From: mdh To: FreeBSD Mailing List , Gary Kline In-Reply-To: <20081011234612.GA5515@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <7708.70177.qm@web56801.mail.re3.yahoo.com> Cc: Subject: Re: rsync or even scp questions.... 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: Sun, 12 Oct 2008 04:00:58 -0000 --- On Sat, 10/11/08, Gary Kline wrote: > 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 If what you wish to do is simply get rid of /usr in a string, you can use sed like so: varWithoutUsr=`echo ${varWithUsr} |sed -e 's/\/usr//'` After running this, where $varWithUsr is the variable containing a string like "/usr/home/blah", the variable $varWithoutUsr will be equal to "/home/blah". I create simple scripts like this all the time to rename batches of files, for example. The easier way is probably just to not specify a dir to scp's remote path though, since it defaults to the user's home directory. - mdh From owner-freebsd-questions@FreeBSD.ORG Sun Oct 12 05:38: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 CF8C1106568C for ; Sun, 12 Oct 2008 05:38:30 +0000 (UTC) (envelope-from kayvey@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by mx1.freebsd.org (Postfix) with ESMTP id D1AAB8FC08 for ; Sun, 12 Oct 2008 05:38:29 +0000 (UTC) (envelope-from kayvey@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so585249nfh.33 for ; Sat, 11 Oct 2008 22:38: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:mime-version:content-type; bh=AUk+PjWfzutobHZZDmB3DJXqsDyhx9ah0YOku4IIvlA=; b=d3OQvu7Alj9rMuMW7AGjNGS+Chh6jUEyN9cg0e4me7Pju7Mw8MCZXkBxlXyVT1Pgao Js+yt4d1li9KVB12fzswLsaTQtEezpFQ93bCm+xVYLV49iu+a2yJ5t1GKOUeF9d8AxeK 7+E/A37TeruUNS7CnS8/1BHbh1wAhQN8cqOvk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=rbEAte63RspX1wF5u/cRJ4T67GWf7TaMeIWSEkQAtbezyOZWQLXCjUNnLeY0OJPma5 85iJSm941S8wVv8k6LwCyNhywH3MAjJK6EZxEmKYFHkpq+DTLE/p0gr0OESxE87Nsy8K Nl+eodZv5/fdLq63IfOsPi6xKqdhHYD/8vH0A= Received: by 10.210.18.8 with SMTP id 8mr3173193ebr.125.1223788478132; Sat, 11 Oct 2008 22:14:38 -0700 (PDT) Received: by 10.210.86.3 with HTTP; Sat, 11 Oct 2008 22:14:38 -0700 (PDT) Message-ID: <28b9b4180810112214s49c9224btcd8840301411cca0@mail.gmail.com> Date: Sat, 11 Oct 2008 22:14:38 -0700 From: "Kayven Riese" 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: the impossible! get java 1.5 running on FB6.2? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2008 05:38:31 -0000 I am a dum-dum. I don't know what happened, but suddently my FreeBSD7.0-STABLE running on my 160GB HD froze. I fsck-ed mounted, later from the older hard drive I am running now: % uname -a FreeBSD 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 % I know 6.2 is not supposed to be supported anymore, but I have never been able to get buildworld to go, and I know people tell me I am supposed to wipe hard drives, and maybe after I get just one more hard drive I might start get up to mirroring speed or something. What I really need to do is get Java 1.5 going ^ ../../nachos/threads/PriorityScheduler.java:508: cannot resolve symbol symbol : variable waitQueue location: class nachos.threads.PriorityScheduler.ThreadStateAndTime.PriorityQueue Lib.assertTrue(waitingOn.waitQueue.remove(threadStateAndTime)); ^ 100 errors gmake: *** [nachos/userprog/UserKernel.class] Error 1 % java -version Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location java version "1.4.2_12" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03) Java HotSpot(TM) Client VM (build 1.4.2_12-b03, mixed mode) % java -version java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0-b01) Java HotSpot(TM) Client VM (build diablo-1.5.0_07-b01, mixed mode) Trying again, but this build I am pretty sure will end in failure: /x11-toolkits/qt33/work/qt-x11-free-3.3.6/src/sql # pwd /usr/ports # cd java # cd jdk15 # make install clean ===> jdk-1.5.0p3_5 depends on executable in : gm4 - found ===> jdk-1.5.0p3_5 depends on executable in : zip - found ===> jdk-1.5.0p3_5 depends on file: /usr/X11R6/lib/libXm.so - found ===> jdk-1.5.0p3_5 depends on file: /usr/local/diablo-jdk1.5.0/bin/javac - found ===> jdk-1.5.0p3_5 depends on it's still compiling.. I think I will reply to this when it is done. From owner-freebsd-questions@FreeBSD.ORG Sun Oct 12 07:08: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 1A8ED1065693 for ; Sun, 12 Oct 2008 07:08:21 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from fallbackmx08.syd.optusnet.com.au (fallbackmx08.syd.optusnet.com.au [211.29.132.10]) by mx1.freebsd.org (Postfix) with ESMTP id 22F6A8FC08 for ; Sun, 12 Oct 2008 07:08:19 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail34.syd.optusnet.com.au (mail34.syd.optusnet.com.au [211.29.133.218]) by fallbackmx08.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m9BKJmpK018773 for ; Sun, 12 Oct 2008 07:19:48 +1100 Received: from server.vk2pj.dyndns.org (c122-106-215-175.belrs3.nsw.optusnet.com.au [122.106.215.175]) by mail34.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m9BKJiIt019677 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 12 Oct 2008 07:19:45 +1100 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.2) with ESMTP id m9BKJivr086264; Sun, 12 Oct 2008 07:19:44 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m9BKJh5H086263; Sun, 12 Oct 2008 07:19:43 +1100 (EST) (envelope-from peter) Date: Sun, 12 Oct 2008 07:19:43 +1100 From: Peter Jeremy To: Jeremy Chadwick Message-ID: <20081011201943.GN18237@server.vk2pj.dyndns.org> 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: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="r/w8vo2lxBmCPGjQ" Content-Disposition: inline In-Reply-To: <20081011152451.GA65652@icarus.home.lan> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Shakul M Hameed , 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: Sun, 12 Oct 2008 07:08:21 -0000 --r/w8vo2lxBmCPGjQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2008-Oct-11 08:24:51 -0700, Jeremy Chadwick wrote: >csup and cvsup function the same, and they both rely on the same source >versioning system. Note that csup only supports a subset of cvsup functionality. The most obvious missing feature is CVS mode. >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. I agree in general but this can also lead to similar gotchas on the Windows side if the Unix side has files differing only in case. --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --r/w8vo2lxBmCPGjQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjxCl8ACgkQ/opHv/APuIfY9ACfSOEaIS6LjVZX+euXsBilZOBL 430AoIjclIqW+myjNnjbJ+bIonCEpFNI =lumX -----END PGP SIGNATURE----- --r/w8vo2lxBmCPGjQ-- From owner-freebsd-questions@FreeBSD.ORG Sun Oct 12 08: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 0BA551065689 for ; Sun, 12 Oct 2008 08:42:58 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 834E48FC17 for ; Sun, 12 Oct 2008 08:42:57 +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 m9C8gnxg043198; Sun, 12 Oct 2008 09:42:50 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk m9C8gnxg043198 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1223800971; bh=JCKeMWGmpb7Qbf PR/2EDKUnmKsZDYuRIleCcWASqaNQ=; 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<48F1B87E.6010803@infracaninophile.co.uk>|Date:=20Sun,=2 012=20Oct=202008=2009:42:38=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.17=20(X11/20080929)|MIME-Version:=201 .0|To:=20mdh_lists@yahoo.com|CC:=20FreeBSD=20Mailing=20List=20,=20=0D=0A=20Gary=20Kline=20|Subject:=20Re:=20rsync=20or=20even=20scp=20questions....|Ref erences:=20<7708.70177.qm@web56801.mail.re3.yahoo.com>|In-Reply-To: =20<7708.70177.qm@web56801.mail.re3.yahoo.com>|X-Enigmail-Version:= 200.95.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha256= 3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A=20bounda ry=3D"------------enigF7F2052B3717C3B67B75BF41"; b=zPLsWxNEIx7HgdQf 5ING1Ybd0cqTIPD2DW8QTwdu5iiOuQ8QuPBrvgozgMyAz9eTikMx5fujUo0ee6JNNdW 8B9BTSLHicYomzi8nub8dbA1Dbzdy2lvsJA4tH5TCz4SZ+5vsujr9C/fAtlDHleqdcb tmwVU89l6hahNMRu9UoRc= Message-ID: <48F1B87E.6010803@infracaninophile.co.uk> Date: Sun, 12 Oct 2008 09:42:38 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.17 (X11/20080929) MIME-Version: 1.0 To: mdh_lists@yahoo.com References: <7708.70177.qm@web56801.mail.re3.yahoo.com> In-Reply-To: <7708.70177.qm@web56801.mail.re3.yahoo.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigF7F2052B3717C3B67B75BF41" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (smtp.infracaninophile.co.uk [IPv6:::1]); Sun, 12 Oct 2008 09:42:51 +0100 (BST) X-Virus-Scanned: ClamAV 0.94/8414/Sun Oct 12 04:30:50 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: Gary Kline , FreeBSD Mailing List Subject: Re: 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: Sun, 12 Oct 2008 08:42:58 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF7F2052B3717C3B67B75BF41 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable mdh wrote: > --- On Sat, 10/11/08, Gary Kline wrote: >> 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=3D`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 >=20 > If what you wish to do is simply get rid of /usr in a string, you can u= se sed like so: > varWithoutUsr=3D`echo ${varWithUsr} |sed -e 's/\/usr//'` > After running this, where $varWithUsr is the variable containing a stri= ng like "/usr/home/blah", the variable $varWithoutUsr will be equal to "/= home/blah". I create simple scripts like this all the time to rename bat= ches of files, for example. =20 >=20 > The easier way is probably just to not specify a dir to scp's remote pa= th though, since it defaults to the user's home directory. =20 Or, in anything resembling Bourne shell: varWithoutUsr=3D${varWithUsr#/usr} 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 --------------enigF7F2052B3717C3B67B75BF41 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 iEYEAREIAAYFAkjxuIkACgkQ8Mjk52CukIxuVQCgkJ27dRDE1MRfa9WYgRuqbHjq tfwAni/rEu/wvVPC0Y12l77Y6FuD2Dmz =Vuiw -----END PGP SIGNATURE----- --------------enigF7F2052B3717C3B67B75BF41-- From owner-freebsd-questions@FreeBSD.ORG Sun Oct 12 08:49: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 BED301065678 for ; Sun, 12 Oct 2008 08:49:32 +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 A28248FC13 for ; Sun, 12 Oct 2008 08:49:32 +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 Rkp21a0040EPchoA5kpYHy; Sun, 12 Oct 2008 08:49:32 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA01.emeryville.ca.mail.comcast.net with comcast id RkpX1a0032P6wsM8MkpXpz; Sun, 12 Oct 2008 08:49:32 +0000 X-Authority-Analysis: v=1.0 c=1 a=Eh7KCOXnlxcA:10 a=QycZ5dHgAAAA:8 a=gyjK1YFX08b2I4Lf2wIA:9 a=9vIJ9Fmty3mG1xeC6TUA:7 a=s0lhVQix7R7mP4uTPIlk44RNnKEA:4 a=EoioJ0NPDVgA:10 a=jgoaQNzrKcYA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 50384C9419; Sun, 12 Oct 2008 01:49:31 -0700 (PDT) Date: Sun, 12 Oct 2008 01:49:31 -0700 From: Jeremy Chadwick To: Matthew Seaman Message-ID: <20081012084931.GA84974@icarus.home.lan> References: <7708.70177.qm@web56801.mail.re3.yahoo.com> <48F1B87E.6010803@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48F1B87E.6010803@infracaninophile.co.uk> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: mdh_lists@yahoo.com, Gary Kline , FreeBSD Mailing List Subject: Re: 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: Sun, 12 Oct 2008 08:49:32 -0000 On Sun, Oct 12, 2008 at 09:42:38AM +0100, Matthew Seaman wrote: > mdh wrote: >> --- On Sat, 10/11/08, Gary Kline wrote: >>> 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 >> >> If what you wish to do is simply get rid of /usr in a string, you can use sed like so: >> varWithoutUsr=`echo ${varWithUsr} |sed -e 's/\/usr//'` >> After running this, where $varWithUsr is the variable containing a >> string like "/usr/home/blah", the variable $varWithoutUsr will be equal >> to "/home/blah". I create simple scripts like this all the time to >> rename batches of files, for example. >> >> The easier way is probably just to not specify a dir to scp's remote >> path though, since it defaults to the user's home directory. > > Or, in anything resembling Bourne shell: > > varWithoutUsr=${varWithUsr#/usr} And I'll take a moment to recommend Matthew's method, since it does not involve fork()ing an additional process. When writing shell scripts in general, it's best if you can avoid spawning external processes for things which can be done easily (keyword: easily!) within Bourne natively. There's no harm in doing it for more complex things, but fork() is somewhat expensive, and try to imagine what will happen to those scripts if the system lacks process table space, etc... :-) Best to try and make everything "self-contained" if possible. -- | 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 12 09:11: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 8A4F7106568E for ; Sun, 12 Oct 2008 09:11:04 +0000 (UTC) (envelope-from thom.bsdhamilton@gmail.com) Received: from qb-out-0506.google.com (qb-out-0506.google.com [72.14.204.231]) by mx1.freebsd.org (Postfix) with ESMTP id 44CB08FC18 for ; Sun, 12 Oct 2008 09:11:04 +0000 (UTC) (envelope-from thom.bsdhamilton@gmail.com) Received: by qb-out-0506.google.com with SMTP id f30so1025261qba.35 for ; Sun, 12 Oct 2008 02:11: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:mime-version:content-type:content-transfer-encoding :content-disposition; bh=L7oiXbHWvsd9cp4ajF5RyZnB1PRj0ZbD/j8qK3O0yB4=; b=YiYGq+4BFK/9EL0wpFQFGLliuiooQKr4IPh3bpo7p1cYvrXpOqCMo/Ww+DEd67uTV5 5RKmY42XWM3yqCuY4xs3nlC28wfAbO278Rfcqxy0RIvp2m1d95/iflzgltvMhpbeFjWU YZsDegcJUzT1f5+Ww4WqkVSpfaXXCYa3YXCOY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:mime-version:content-type :content-transfer-encoding:content-disposition; b=pMftj592q/3mLVjXLeAHugG8QNC2ySWF4zFwx4t57TIMcCe5twjK0MUrRDAeILECzN UpMh75/cfx6syow0JA/El7PuX3KoBNghGueudlgcjfIO0fHwQ1k/BQgJpjfZAa0YTce2 ZJGnmtjhpBFBlEn4YNuCgdkTrI/pfVWvBV46I= Received: by 10.181.61.18 with SMTP id o18mr3549336bkk.24.1223801590257; Sun, 12 Oct 2008 01:53:10 -0700 (PDT) Received: by 10.181.15.9 with HTTP; Sun, 12 Oct 2008 01:53:10 -0700 (PDT) Message-ID: <80e860040810120153q513ab30bj353e99ebeda98fe6@mail.gmail.com> Date: Sun, 12 Oct 2008 02:53:10 -0600 From: "Thomas Hamilton" To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-questions@freebsd.org Subject: Cannot compile kde4 or gnome2 due to gstreamer-plugin error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2008 09:11:04 -0000 Hi Guys I'm running current(8.0) from last nights cvsup. I cannot however compile kde4 or gnome2-lite due to an error in compiling gstreamer-plugins. It looks like the error is originating from: cc: No input files specified. I look forward to any help you guys might be able to provide me with in resolving the errors so I can install a gui :) Thanks in advance. This is where it errors out: gmake[3]: Entering directory `/usr/ports/multimedia/gstreamer-plugins/work/gst-plugins-base-0.10.21/tests/icles' /bin/sh /usr/ports/multimedia/gstreamer-plugins/work/gnome-libtool --tag=CC --mode=link cc -O2 -pipe -O2 -fno-strict-aliasing -I/usr/local/include -L/usr/local/lib -pthread -o test-colorkey cc -O2 -pipe -O2 -fno-strict-aliasing -I/usr/local/include -pthread -o test-colorkey -L/usr/local/lib -pthread cc: No input files specified gmake[3]: *** [test-colorkey] Error 1 gmake[3]: Leaving directory `/usr/ports/multimedia/gstreamer-plugins/work/gst-plugins-base-0.10.21/tests/icles' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/multimedia/gstreamer-plugins/work/gst-plugins-base-0.10.21/tests' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/multimedia/gstreamer-plugins/work/gst-plugins-base-0.10.21' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/multimedia/gstreamer-plugins. *** Error code 1 Stop in /usr/ports/multimedia/gstreamer-plugins-good. *** Error code 1 Stop in /usr/ports/sysutils/gnome-settings-daemon. *** Error code 1 Stop in /usr/ports/x11/gnome-applets. *** Error code 1 Stop in /usr/ports/x11/gnome2-lite. *** Error code 1 Stop in /usr/ports/x11/gnome2-lite. Configuration details can be found below. laptop# uname -a FreeBSDlaptop.local 8.0-CURRENT FreeBSD 8.0-CURRENT #2: Sat Oct 11 03:21:27 MDT 2008 root@laptop.local:/usr/obj/usr/src/sys/LAPTOP i386 laptop# cat /etc/make.conf PERL_VER=5.8.8 PERL_VERSION=5.8.8 Installed Ports laptop# pkg_info |awk '{print $1}'|sort appres-1.0.1 bdftopcf-1.0.1 beforelight-1.0.2 bigreqsproto-1.0.2 bison-2.3_4,1 bitmap-1.0.3 bitstream-vera-1.10_4 compositeproto-0.4 consolekit-0.2.10_2 damageproto-1.1.0_2 dbus-1.2.1 dbus-glib-0.76 dmidecode-2.9 dmxproto-2.2.2 docbook-4.1_3 docbook-xml-4.2_1 docbook-xsl-1.74.0 dri-7.0.3_1,2 editres-1.0.3 encodings-1.0.2,1 evieext-1.0.2 expat-2.0.1 fixesproto-4.0 flex-2.5.35 font-adobe-100dpi-1.0.0_1 font-adobe-75dpi-1.0.0 font-adobe-utopia-100dpi-1.0.1 font-adobe-utopia-75dpi-1.0.1 font-adobe-utopia-type1-1.0.1 font-alias-1.0.1 font-arabic-misc-1.0.0 font-bh-100dpi-1.0.0 font-bh-75dpi-1.0.0 font-bh-lucidatypewriter-100dpi-1.0.0 font-bh-lucidatypewriter-75dpi-1.0.0 font-bh-ttf-1.0.0 font-bh-type1-1.0.0 font-bitstream-100dpi-1.0.0 font-bitstream-75dpi-1.0.0 font-bitstream-type1-1.0.0 font-cronyx-cyrillic-1.0.0 font-cursor-misc-1.0.0 font-daewoo-misc-1.0.0 font-dec-misc-1.0.0 font-ibm-type1-1.0.0 font-isas-misc-1.0.0 font-jis-misc-1.0.0 font-micro-misc-1.0.0 font-misc-cyrillic-1.0.0 font-misc-ethiopic-1.0.0 font-misc-meltho-1.0.0_1 font-misc-misc-1.0.0 font-mutt-misc-1.0.0 font-schumacher-misc-1.0.0 font-screen-cyrillic-1.0.1 font-sony-misc-1.0.0 font-sun-misc-1.0.0 font-util-1.0.1 font-winitzki-cyrillic-1.0.0 font-xfree86-type1-1.0.0 fontcacheproto-0.1.2 fontconfig-2.5.0,1 fontsproto-2.0.2 fonttosfnt-1.0.3 freetype2-2.3.7 fslsfonts-1.0.1 fstobdf-1.0.2 gamin-0.1.9_2 gettext-0.17_1 gio-fam-backend-2.16.5 glib-2.16.5 glproto-1.4.8 gmake-3.81_3 gnome_subr-1.0 gstreamer-0.10.21 hal-0.5.11_1 help2man-1.36.4_2 iceauth-1.0.2 ico-1.0.2 inputproto-1.4.2.1 intltool-0.37.1 iso8879-1986_2 kbproto-1.0.3 libFS-1.0.0_1 libGL-7.0.3 libICE-1.0.4_1,1 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 libdrm-2.3.1 libfontenc-1.0.4 libiconv-1.11_1 liboil-0.3.15 liboldX-1.0.1 libtool-1.5.26 libvolume_id-0.81.0 libxkbfile-1.0.4 libxkbui-1.0.2_1 libxml2-2.6.32 libxslt-1.1.24_1 listres-1.0.1 luit-1.0.2_2 m4-1.4.11,1 makedepend-1.0.1,1 mkcomposecache-1.2_1 mkfontdir-1.0.3_1 mkfontscale-1.0.3 oclock-1.0.1 p5-Compress-Raw-Zlib-2.015 p5-Compress-Zlib-2.015 p5-HTML-Parser-3.56_1 p5-HTML-Tagset-3.20 p5-HTML-Tree-3.23 p5-IO-Compress-Base-2.015 p5-IO-Compress-Zlib-2.015 p5-Net-DBus-0.33.6 p5-Text-Iconv-1.7 p5-Tie-IxHash-1.21 p5-Time-HiRes-1.9715,1 p5-URI-1.37 p5-XML-Filter-BufferText-1.01 p5-XML-Grove-0.46.a p5-XML-Handler-YAWriter-0.23 p5-XML-NamespaceSupport-1.09_1 p5-XML-Parser-2.36 p5-XML-SAX-0.96 p5-XML-SAX-Expat-0.40 p5-XML-SAX-Writer-0.50 p5-XML-Simple-2.18 p5-XML-Twig-3.32 p5-XML-XPath-1.13 p5-gettext-1.05_2 p5-libwww-5.817 p5-libxml-0.08 pciids-20080901 pcre-7.8 perl-5.8.8_1 pixman-0.10.0_2 pkg-config-0.23_1 png-1.2.32 policykit-0.9_1 popt-1.7_5 printproto-1.0.3 python25-2.5.2_3 randrproto-1.2.1 recordproto-1.13.2 renderproto-0.9.3 resourceproto-1.0.2 rgb-1.0.1 rstart-1.0.2 scripts-1.0.1 scrnsaverproto-1.1.0 sdocbook-xml-1.1,1 sessreg-1.0.3 setxkbmap-1.0.4 showfont-1.0.1_1 smproxy-1.0.2 sudo-1.6.9.17 system-tools-backends-2.6.0_1 trapproto-3.4.3 twm-1.0.3_3 unzip-5.52_5 v4l_compat-1.0.20060801 videoproto-2.2.2 viewres-1.0.1 x11perf-1.4.1 xauth-1.0.2 xbacklight-1.1 xbiff-1.0.1 xbitmaps-1.0.1 xcalc-1.0.2 xclipboard-1.0.1 xclock-1.0.3 xcmiscproto-1.1.2 xcmsdb-1.0.1 xconsole-1.0.3 xcursor-themes-1.0.1_1 xcursorgen-1.0.2 xdbedizzy-1.0.2 xditview-1.0.1 xdm-1.1.6_3 xdpyinfo-1.0.2_1 xdriinfo-1.0.2 xedit-1.0.2 xev-1.0.2 xextproto-7.0.2 xeyes-1.0.1 xf86-input-keyboard-1.2.2_2 xf86-input-mouse-1.2.3_2 xf86-video-nv-2.1.12 xf86bigfontproto-1.1.2 xf86dga-1.0.2 xf86dgaproto-2.0.3 xf86driproto-2.0.3 xf86miscproto-0.9.2 xf86rushproto-1.1.2 xf86vidmodeproto-2.2.2 xfd-1.0.1 xfindproxy-1.0.1 xfontsel-1.0.2 xfs-1.0.5_1,1 xfsinfo-1.0.1 xfwp-1.0.1 xgamma-1.0.2 xgc-1.0.1 xhost-1.0.2 xineramaproto-1.1.2 xinit-1.0.7 xkbcomp-1.0.3 xkbevd-1.0.2 xkbprint-1.0.1 xkbutils-1.0.1_1 xkeyboard-config-1.3 xkill-1.0.1 xload-1.0.2 xlogo-1.0.1 xlsatoms-1.0.1 xlsclients-1.0.1 xlsfonts-1.0.2 xmag-1.0.2 xman-1.0.3 xmessage-1.0.2 xmlcatmgr-2.2 xmodmap-1.0.3 xmore-1.0.1 xorg-7.3_2 xorg-apps-7.3 xorg-docs-1.4,1 xorg-drivers-7.3_3 xorg-fonts-100dpi-7.3 xorg-fonts-7.3_1 xorg-fonts-75dpi-7.3 xorg-fonts-cyrillic-7.3 xorg-fonts-miscbitmaps-7.3 xorg-fonts-truetype-7.3 xorg-fonts-type1-7.3 xorg-libraries-7.3_2 xorg-protos-7.3_2 xorg-server-1.4.2,1 xphelloworld-1.0.1_1 xplsprinters-1.0.1 xpr-1.0.2 xprehashprinterlist-1.0.1 xprop-1.0.3 xproto-7.0.10_1 xproxymanagementprotocol-1.0.2 xrandr-1.2.2 xrdb-1.0.4 xrefresh-1.0.2 xrx-1.0.1_1 xset-1.0.3 xsetmode-1.0.0 xsetpointer-1.0.1 xsetroot-1.0.2 xsm-1.0.1 xstdcmap-1.0.1 xterm-237 xtrans-1.0.4 xtrap-1.0.2 xvidtune-1.0.1 xvinfo-1.0.2 xwd-1.0.1 xwininfo-1.0.3 xwud-1.0.1 From owner-freebsd-questions@FreeBSD.ORG Sun Oct 12 09: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 1387A106568E for ; Sun, 12 Oct 2008 09:25:31 +0000 (UTC) (envelope-from citium@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.235]) by mx1.freebsd.org (Postfix) with ESMTP id DD9638FC0A for ; Sun, 12 Oct 2008 09:25:30 +0000 (UTC) (envelope-from citium@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1084481rvf.43 for ; Sun, 12 Oct 2008 02:25: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:mime-version:content-type; bh=f9aNosXCiM0D5w5NDNcivfn7s4ciTb0oL8da1UL14fg=; b=sSWUL+IIcDemxOBD+OB0aP71jOoeMDInIXJTYngJulInt2xffSKYPeiawQma7SpTRP h8bDMTm4T4omkq6kHtzuXrOJ97jxP7Wil4Cjq/5NKbHTQyNyx2DgRDDcfcNT/CkEuM74 9HGCbLhxI7TtxTMunIIDrCv37W2zr0srESqTc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=QHyP2FacewiM8g9xyXTI0LFK8eHSWvkrH1OVq7qR4NYb7CqUts/6fFFZRYEzem3Zrr 1Q9bPtacUwBNkBki0szzravkbjEJjJeAZqm7a0xdh/f3mczJ07pAEtrLZ2Ih4xS8Z4rH IYFJPMrDhZGmBDiWJcobBv1lR9HuzmdDBv9uw= Received: by 10.140.166.16 with SMTP id o16mr2693237rve.3.1223801730516; Sun, 12 Oct 2008 01:55:30 -0700 (PDT) Received: by 10.140.143.2 with HTTP; Sun, 12 Oct 2008 01:55:30 -0700 (PDT) Message-ID: Date: Sun, 12 Oct 2008 15:55:30 +0700 From: "Cong Do" 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: Gvinum Auto recovery. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Oct 2008 09:25:31 -0000 I'm making a script to manage my raid.This is what my script is doing to recover my raid. umount /dev/gvinum/r5 #remove the raid gvinum rm -r d0 gvinum rm -r d1 gvinum rm -r d2 gvinum rm -r d3 gvinum rm r5.p0.s$1 bsdlabel -w /dev/da$1 gvinum create myraid.conf gvinum setstate -f stale r5.p0.s$1 gvinum start r5 fsck -t ufs /dev/gvinum/r5 #myraid.conf drive d0 device /dev/da0 drive d1 device /dev/da1 drive d2 device /dev/da2 drive d3 device /dev/da3 volume r5 plex org raid5 512k sd drive d0 sd drive d1 sd drive d2 sd drive d3 Is this the way that I should be recovering my raid? With hot swap do I have to do the same for SCSI and SATA, or gvinum will auto detected? I notice that when I change my hard disk around gvinum stop working. I'm planning to reserved the last sector of the harddisk to record the the ordering of the harddisk. In case it move around the myraid.conf can be reconfigure. Using bsdlabel, and dd to record the information. # /dev/da0: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 208879 16 unused 0 0 b: 1 208895 unused 0 0 c: 208896 0 unused 0 0 # "raw" part, don't edit Thanks, Cong From owner-freebsd-questions@FreeBSD.ORG Sun Oct 12 11: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 318A61065692 for ; Sun, 12 Oct 2008 11:09:51 +0000 (UTC) (envelope-from freebsdemail@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 D71F18FC1B for ; Sun, 12 Oct 2008 11:09:50 +0000 (UTC) (envelope-from freebsdemail@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so312432wra.27 for ; Sun, 12 Oct 2008 04:09:50 -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:cc :subject:from:date:content-type:mime-version; bh=XMrJ/J5OuF0mZzOrryVqRYXJH9Dox+faAF5eFAppLVc=; b=S+yFYkEEVP8WaVKQTrzgRM5W/CFb/ObSm1Mxdbq9aply8YQ7M9sRz6jxih7LNUrjNK mgd1P3ZjKB8JRDllLjrHxEXiEWwHbUyCChgAI+vJTLxcs8Lt9TnprFIMjbqLp4xKgm77 BFbiXnq5n/XM35D4NJmKuDi/UPTTGKG1h4+zA= 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:cc:subject:from:date :content-type:mime-version; b=uAs1SQf3dApQFrWhc8MHkb+g8SB2hLM1ibV535spUNkud99FalV+ZZc/VA80dhYRv7 InQ3b7ZArrYzKsVJIaPQrs3ElrPxKczxocSQZNsqjHihcqIj8GRsoXTLqAiRnmNmTBNW yEChLmhzsrzNPJfbJ1ktIA0ih5TsWLauuXjVE= Received: by 10.65.212.18 with SMTP id o18mr7761071qbq.53.1223809788877; Sun, 12 Oct 2008 04:09:48 -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 s27sm7061114qbs.12.2008.10.12.04.09.45 (version=SSLv3 cipher=RC4-MD5); Sun, 12 Oct 2008 04:09:47 -0700 (PDT) X-rim-org-msg-ref-id: 371934548 Message-ID: <371934548-1223809783-cardhu_decombobulator_blackberry.rim.net-1296472422-@bxe112.bisx.prod.on.blackberry> Content-Transfer-Encoding: base64 X-Priority: Normal References: <80e860040810120153q513ab30bj353e99ebeda98fe6@mail.gmail.com> In-Reply-To: <80e860040810120153q513ab30bj353e99ebeda98fe6@mail.gmail.com> Sensitivity: Normal Importance: Normal To: "Thomas Hamilton" , freebsd-current@freebsd.org From: freebsdemail@gmail.com Date: Sun, 12 Oct 2008 11:09:54 +0000 Content-Type: text/plain MIME-Version: 1.0 Cc: freebsd-questions@freebsd.org Subject: Re: Cannot compile kde4 or gnome2 due to gstreamer-plugin error 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: Sun, 12 Oct 2008 11:09:51 -0000 VGhvbWFzIEkgZmV0Y2hlZCB0aGUgbGF0ZXN0IHBvcnRzbmFwIGFuZCBpdCBzZWVtcyBJIGNhbid0 IGNvbXBpbGUgZ3N0cmVhbS1wbHVnaW5zIGVpdGhlciBJIGdldCB0aGUgaWRlbnRpY2FsIGVycm9y IHRoZXJlIG11c3QgYmUgc29tZXRoaW5nIHdyb25nIHdpdGggdGhpcyBwb3J0Li4uLnlvdSBhcmUg bm90IGFsb25lLiBJJ20gb24gZnJlZWJzZCA3LjAgcmVsZWFzZS4gSSBob3BlIHRoZXkgZ2V0IGl0 IGZpeGVkIHNvb24gYXMgSSB0aGluayBpdHMgYSBkZXBlbmRhbmN5IGZvciBib3RoIGtkZSBhbmQg Z25vbWUuDQoNClRvbQ0KU2VudCBmcm9tIG15IEJsYWNrQmVycnkgZGV2aWNlIG9uIHRoZSBSb2dl cnMgV2lyZWxlc3MgTmV0d29yaw0KDQotLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTog IlRob21hcyBIYW1pbHRvbiIgPHRob20uYnNkaGFtaWx0b25AZ21haWwuY29tPg0KDQpEYXRlOiBT dW4sIDEyIE9jdCAyMDA4IDAyOjUzOjEwIA0KVG86IDxmcmVlYnNkLWN1cnJlbnRAZnJlZWJzZC5v cmc+DQpDYzogPGZyZWVic2QtcXVlc3Rpb25zQGZyZWVic2Qub3JnPg0KU3ViamVjdDogQ2Fubm90 IGNvbXBpbGUga2RlNCBvciBnbm9tZTIgZHVlIHRvIGdzdHJlYW1lci1wbHVnaW4gZXJyb3INCg0K DQpIaSBHdXlzIEknbSBydW5uaW5nIGN1cnJlbnQoOC4wKSBmcm9tIGxhc3QgbmlnaHRzIGN2c3Vw LiBJIGNhbm5vdA0KaG93ZXZlciBjb21waWxlIGtkZTQgb3IgZ25vbWUyLWxpdGUgZHVlIHRvIGFu IGVycm9yIGluIGNvbXBpbGluZw0KZ3N0cmVhbWVyLXBsdWdpbnMuIEl0IGxvb2tzIGxpa2UgdGhl IGVycm9yIGlzIG9yaWdpbmF0aW5nIGZyb206IGNjOiBObw0KaW5wdXQgZmlsZXMgc3BlY2lmaWVk LiBJIGxvb2sgZm9yd2FyZCB0byBhbnkgaGVscCB5b3UgZ3V5cyBtaWdodCBiZQ0KYWJsZSB0byBw cm92aWRlIG1lIHdpdGggaW4gcmVzb2x2aW5nIHRoZSBlcnJvcnMgc28gSSBjYW4gaW5zdGFsbCBh IGd1aQ0KOikgVGhhbmtzIGluIGFkdmFuY2UuDQoNClRoaXMgaXMgd2hlcmUgaXQgZXJyb3JzIG91 dDoNCmdtYWtlWzNdOiBFbnRlcmluZyBkaXJlY3RvcnkNCmAvdXNyL3BvcnRzL211bHRpbWVkaWEv Z3N0cmVhbWVyLXBsdWdpbnMvd29yay9nc3QtcGx1Z2lucy1iYXNlLTAuMTAuMjEvdGVzdHMvaWNs ZXMnDQovYmluL3NoIC91c3IvcG9ydHMvbXVsdGltZWRpYS9nc3RyZWFtZXItcGx1Z2lucy93b3Jr L2dub21lLWxpYnRvb2wNCi0tdGFnPUNDICAgLS1tb2RlPWxpbmsgY2MgIC1PMiAtcGlwZSAtTzIg LWZuby1zdHJpY3QtYWxpYXNpbmcNCi1JL3Vzci9sb2NhbC9pbmNsdWRlICAtTC91c3IvbG9jYWwv bGliICAtcHRocmVhZCAtbyB0ZXN0LWNvbG9ya2V5DQpjYyAtTzIgLXBpcGUgLU8yIC1mbm8tc3Ry aWN0LWFsaWFzaW5nIC1JL3Vzci9sb2NhbC9pbmNsdWRlIC1wdGhyZWFkIC1vDQp0ZXN0LWNvbG9y a2V5ICAtTC91c3IvbG9jYWwvbGliIC1wdGhyZWFkDQpjYzogTm8gaW5wdXQgZmlsZXMgc3BlY2lm aWVkDQpnbWFrZVszXTogKioqIFt0ZXN0LWNvbG9ya2V5XSBFcnJvciAxDQpnbWFrZVszXTogTGVh dmluZyBkaXJlY3RvcnkNCmAvdXNyL3BvcnRzL211bHRpbWVkaWEvZ3N0cmVhbWVyLXBsdWdpbnMv d29yay9nc3QtcGx1Z2lucy1iYXNlLTAuMTAuMjEvdGVzdHMvaWNsZXMnDQpnbWFrZVsyXTogKioq IFthbGwtcmVjdXJzaXZlXSBFcnJvciAxDQpnbWFrZVsyXTogTGVhdmluZyBkaXJlY3RvcnkNCmAv dXNyL3BvcnRzL211bHRpbWVkaWEvZ3N0cmVhbWVyLXBsdWdpbnMvd29yay9nc3QtcGx1Z2lucy1i YXNlLTAuMTAuMjEvdGVzdHMnDQpnbWFrZVsxXTogKioqIFthbGwtcmVjdXJzaXZlXSBFcnJvciAx DQpnbWFrZVsxXTogTGVhdmluZyBkaXJlY3RvcnkNCmAvdXNyL3BvcnRzL211bHRpbWVkaWEvZ3N0 cmVhbWVyLXBsdWdpbnMvd29yay9nc3QtcGx1Z2lucy1iYXNlLTAuMTAuMjEnDQpnbWFrZTogKioq IFthbGxdIEVycm9yIDINCioqKiBFcnJvciBjb2RlIDINCg0KU3RvcCBpbiAvdXNyL3BvcnRzL211 bHRpbWVkaWEvZ3N0cmVhbWVyLXBsdWdpbnMuDQoqKiogRXJyb3IgY29kZSAxDQoNClN0b3AgaW4g L3Vzci9wb3J0cy9tdWx0aW1lZGlhL2dzdHJlYW1lci1wbHVnaW5zLWdvb2QuDQoqKiogRXJyb3Ig Y29kZSAxDQoNClN0b3AgaW4gL3Vzci9wb3J0cy9zeXN1dGlscy9nbm9tZS1zZXR0aW5ncy1kYWVt b24uDQoqKiogRXJyb3IgY29kZSAxDQoNClN0b3AgaW4gL3Vzci9wb3J0cy94MTEvZ25vbWUtYXBw bGV0cy4NCioqKiBFcnJvciBjb2RlIDENCg0KU3RvcCBpbiAvdXNyL3BvcnRzL3gxMS9nbm9tZTIt bGl0ZS4NCioqKiBFcnJvciBjb2RlIDENCg0KU3RvcCBpbiAvdXNyL3BvcnRzL3gxMS9nbm9tZTIt bGl0ZS4NCg0KDQpDb25maWd1cmF0aW9uIGRldGFpbHMgY2FuIGJlIGZvdW5kIGJlbG93Lg0KDQps YXB0b3AjIHVuYW1lIC1hDQpGcmVlQlNEbGFwdG9wLmxvY2FsIDguMC1DVVJSRU5UIEZyZWVCU0Qg OC4wLUNVUlJFTlQgIzI6IFNhdCBPY3QgMTENCjAzOjIxOjI3IE1EVCAyMDA4ICAgICByb290QGxh cHRvcC5sb2NhbDovdXNyL29iai91c3Ivc3JjL3N5cy9MQVBUT1ANCmkzODYNCg0KbGFwdG9wIyBj YXQgL2V0Yy9tYWtlLmNvbmYNClBFUkxfVkVSPTUuOC44DQpQRVJMX1ZFUlNJT049NS44LjgNCg0K DQpJbnN0YWxsZWQgUG9ydHMNCmxhcHRvcCMgcGtnX2luZm8gfGF3ayAne3ByaW50ICQxfSd8c29y dA0KYXBwcmVzLTEuMC4xDQpiZGZ0b3BjZi0xLjAuMQ0KYmVmb3JlbGlnaHQtMS4wLjINCmJpZ3Jl cXNwcm90by0xLjAuMg0KYmlzb24tMi4zXzQsMQ0KYml0bWFwLTEuMC4zDQpiaXRzdHJlYW0tdmVy YS0xLjEwXzQNCmNvbXBvc2l0ZXByb3RvLTAuNA0KY29uc29sZWtpdC0wLjIuMTBfMg0KZGFtYWdl cHJvdG8tMS4xLjBfMg0KZGJ1cy0xLjIuMQ0KZGJ1cy1nbGliLTAuNzYNCmRtaWRlY29kZS0yLjkN CmRteHByb3RvLTIuMi4yDQpkb2Nib29rLTQuMV8zDQpkb2Nib29rLXhtbC00LjJfMQ0KZG9jYm9v ay14c2wtMS43NC4wDQpkcmktNy4wLjNfMSwyDQplZGl0cmVzLTEuMC4zDQplbmNvZGluZ3MtMS4w LjIsMQ0KZXZpZWV4dC0xLjAuMg0KZXhwYXQtMi4wLjENCmZpeGVzcHJvdG8tNC4wDQpmbGV4LTIu NS4zNQ0KZm9udC1hZG9iZS0xMDBkcGktMS4wLjBfMQ0KZm9udC1hZG9iZS03NWRwaS0xLjAuMA0K Zm9udC1hZG9iZS11dG9waWEtMTAwZHBpLTEuMC4xDQpmb250LWFkb2JlLXV0b3BpYS03NWRwaS0x LjAuMQ0KZm9udC1hZG9iZS11dG9waWEtdHlwZTEtMS4wLjENCmZvbnQtYWxpYXMtMS4wLjENCmZv bnQtYXJhYmljLW1pc2MtMS4wLjANCmZvbnQtYmgtMTAwZHBpLTEuMC4wDQpmb250LWJoLTc1ZHBp LTEuMC4wDQpmb250LWJoLWx1Y2lkYXR5cGV3cml0ZXItMTAwZHBpLTEuMC4wDQpmb250LWJoLWx1 Y2lkYXR5cGV3cml0ZXItNzVkcGktMS4wLjANCmZvbnQtYmgtdHRmLTEuMC4wDQpmb250LWJoLXR5 cGUxLTEuMC4wDQpmb250LWJpdHN0cmVhbS0xMDBkcGktMS4wLjANCmZvbnQtYml0c3RyZWFtLTc1 ZHBpLTEuMC4wDQpmb250LWJpdHN0cmVhbS10eXBlMS0xLjAuMA0KZm9udC1jcm9ueXgtY3lyaWxs aWMtMS4wLjANCmZvbnQtY3Vyc29yLW1pc2MtMS4wLjANCmZvbnQtZGFld29vLW1pc2MtMS4wLjAN CmZvbnQtZGVjLW1pc2MtMS4wLjANCmZvbnQtaWJtLXR5cGUxLTEuMC4wDQpmb250LWlzYXMtbWlz Yy0xLjAuMA0KZm9udC1qaXMtbWlzYy0xLjAuMA0KZm9udC1taWNyby1taXNjLTEuMC4wDQpmb250 LW1pc2MtY3lyaWxsaWMtMS4wLjANCmZvbnQtbWlzYy1ldGhpb3BpYy0xLjAuMA0KZm9udC1taXNj LW1lbHRoby0xLjAuMF8xDQpmb250LW1pc2MtbWlzYy0xLjAuMA0KZm9udC1tdXR0LW1pc2MtMS4w LjANCmZvbnQtc2NodW1hY2hlci1taXNjLTEuMC4wDQpmb250LXNjcmVlbi1jeXJpbGxpYy0xLjAu MQ0KZm9udC1zb255LW1pc2MtMS4wLjANCmZvbnQtc3VuLW1pc2MtMS4wLjANCmZvbnQtdXRpbC0x LjAuMQ0KZm9udC13aW5pdHpraS1jeXJpbGxpYy0xLjAuMA0KZm9udC14ZnJlZTg2LXR5cGUxLTEu MC4wDQpmb250Y2FjaGVwcm90by0wLjEuMg0KZm9udGNvbmZpZy0yLjUuMCwxDQpmb250c3Byb3Rv LTIuMC4yDQpmb250dG9zZm50LTEuMC4zDQpmcmVldHlwZTItMi4zLjcNCmZzbHNmb250cy0xLjAu MQ0KZnN0b2JkZi0xLjAuMg0KZ2FtaW4tMC4xLjlfMg0KZ2V0dGV4dC0wLjE3XzENCmdpby1mYW0t YmFja2VuZC0yLjE2LjUNCmdsaWItMi4xNi41DQpnbHByb3RvLTEuNC44DQpnbWFrZS0zLjgxXzMN Cmdub21lX3N1YnItMS4wDQpnc3RyZWFtZXItMC4xMC4yMQ0KaGFsLTAuNS4xMV8xDQpoZWxwMm1h bi0xLjM2LjRfMg0KaWNlYXV0aC0xLjAuMg0KaWNvLTEuMC4yDQppbnB1dHByb3RvLTEuNC4yLjEN CmludGx0b29sLTAuMzcuMQ0KaXNvODg3OS0xOTg2XzINCmticHJvdG8tMS4wLjMNCmxpYkZTLTEu MC4wXzENCmxpYkdMLTcuMC4zDQpsaWJJQ0UtMS4wLjRfMSwxDQpsaWJTTS0xLjAuM18xLDENCmxp YlgxMS0xLjEuM18xLDENCmxpYlhTY3JuU2F2ZXItMS4xLjINCmxpYlhUcmFwLTEuMC4wDQpsaWJY YXUtMS4wLjNfMg0KbGliWGF3LTEuMC40XzEsMQ0KbGliWGNvbXBvc2l0ZS0wLjQuMCwxDQpsaWJY Y3Vyc29yLTEuMS45XzENCmxpYlhkYW1hZ2UtMS4xLjENCmxpYlhkbWNwLTEuMC4yXzENCmxpYlhl dmllLTEuMC4yDQpsaWJYZXh0LTEuMC4zLDENCmxpYlhmaXhlcy00LjAuM18xDQpsaWJYZm9udC0x LjMuMV8zLDENCmxpYlhmb250Y2FjaGUtMS4wLjQNCmxpYlhmdC0yLjEuMTMNCmxpYlhpLTEuMS4z LDENCmxpYlhpbmVyYW1hLTEuMC4yLDENCmxpYlhtdS0xLjAuMywxDQpsaWJYcC0xLjAuMCwxDQps aWJYcG0tMy41LjcNCmxpYlhwcmludEFwcFV0aWwtMS4wLjENCmxpYlhwcmludFV0aWwtMS4wLjEN CmxpYlhyYW5kci0xLjIuMl8xDQpsaWJYcmVuZGVyLTAuOS40XzENCmxpYlhyZXMtMS4wLjNfMw0K bGliWHQtMS4wLjVfMQ0KbGliWHRzdC0xLjAuM18xDQpsaWJYdi0xLjAuM18xLDENCmxpYlh2TUMt MS4wLjRfMQ0KbGliWHhmODZkZ2EtMS4wLjINCmxpYlh4Zjg2bWlzYy0xLjAuMQ0KbGliWHhmODZ2 bS0xLjAuMQ0KbGliZG14LTEuMC4yXzENCmxpYmRybS0yLjMuMQ0KbGliZm9udGVuYy0xLjAuNA0K bGliaWNvbnYtMS4xMV8xDQpsaWJvaWwtMC4zLjE1DQpsaWJvbGRYLTEuMC4xDQpsaWJ0b29sLTEu NS4yNg0KbGlidm9sdW1lX2lkLTAuODEuMA0KbGlieGtiZmlsZS0xLjAuNA0KbGlieGtidWktMS4w LjJfMQ0KbGlieG1sMi0yLjYuMzINCmxpYnhzbHQtMS4xLjI0XzENCmxpc3RyZXMtMS4wLjENCmx1 aXQtMS4wLjJfMg0KbTQtMS40LjExLDENCm1ha2VkZXBlbmQtMS4wLjEsMQ0KbWtjb21wb3NlY2Fj aGUtMS4yXzENCm1rZm9udGRpci0xLjAuM18xDQpta2ZvbnRzY2FsZS0xLjAuMw0Kb2Nsb2NrLTEu MC4xDQpwNS1Db21wcmVzcy1SYXctWmxpYi0yLjAxNQ0KcDUtQ29tcHJlc3MtWmxpYi0yLjAxNQ0K cDUtSFRNTC1QYXJzZXItMy41Nl8xDQpwNS1IVE1MLVRhZ3NldC0zLjIwDQpwNS1IVE1MLVRyZWUt My4yMw0KcDUtSU8tQ29tcHJlc3MtQmFzZS0yLjAxNQ0KcDUtSU8tQ29tcHJlc3MtWmxpYi0yLjAx NQ0KcDUtTmV0LURCdXMtMC4zMy42DQpwNS1UZXh0LUljb252LTEuNw0KcDUtVGllLUl4SGFzaC0x LjIxDQpwNS1UaW1lLUhpUmVzLTEuOTcxNSwxDQpwNS1VUkktMS4zNw0KcDUtWE1MLUZpbHRlci1C dWZmZXJUZXh0LTEuMDENCnA1LVhNTC1Hcm92ZS0wLjQ2LmENCnA1LVhNTC1IYW5kbGVyLVlBV3Jp dGVyLTAuMjMNCnA1LVhNTC1OYW1lc3BhY2VTdXBwb3J0LTEuMDlfMQ0KcDUtWE1MLVBhcnNlci0y LjM2DQpwNS1YTUwtU0FYLTAuOTYNCnA1LVhNTC1TQVgtRXhwYXQtMC40MA0KcDUtWE1MLVNBWC1X cml0ZXItMC41MA0KcDUtWE1MLVNpbXBsZS0yLjE4DQpwNS1YTUwtVHdpZy0zLjMyDQpwNS1YTUwt WFBhdGgtMS4xMw0KcDUtZ2V0dGV4dC0xLjA1XzINCnA1LWxpYnd3dy01LjgxNw0KcDUtbGlieG1s LTAuMDgNCnBjaWlkcy0yMDA4MDkwMQ0KcGNyZS03LjgNCnBlcmwtNS44LjhfMQ0KcGl4bWFuLTAu MTAuMF8yDQpwa2ctY29uZmlnLTAuMjNfMQ0KcG5nLTEuMi4zMg0KcG9saWN5a2l0LTAuOV8xDQpw b3B0LTEuN181DQpwcmludHByb3RvLTEuMC4zDQpweXRob24yNS0yLjUuMl8zDQpyYW5kcnByb3Rv LTEuMi4xDQpyZWNvcmRwcm90by0xLjEzLjINCnJlbmRlcnByb3RvLTAuOS4zDQpyZXNvdXJjZXBy b3RvLTEuMC4yDQpyZ2ItMS4wLjENCnJzdGFydC0xLjAuMg0Kc2NyaXB0cy0xLjAuMQ0Kc2NybnNh dmVycHJvdG8tMS4xLjANCnNkb2Nib29rLXhtbC0xLjEsMQ0Kc2Vzc3JlZy0xLjAuMw0Kc2V0eGti bWFwLTEuMC40DQpzaG93Zm9udC0xLjAuMV8xDQpzbXByb3h5LTEuMC4yDQpzdWRvLTEuNi45LjE3 DQpzeXN0ZW0tdG9vbHMtYmFja2VuZHMtMi42LjBfMQ0KdHJhcHByb3RvLTMuNC4zDQp0d20tMS4w LjNfMw0KdW56aXAtNS41Ml81DQp2NGxfY29tcGF0LTEuMC4yMDA2MDgwMQ0KdmlkZW9wcm90by0y LjIuMg0Kdmlld3Jlcy0xLjAuMQ0KeDExcGVyZi0xLjQuMQ0KeGF1dGgtMS4wLjINCnhiYWNrbGln aHQtMS4xDQp4YmlmZi0xLjAuMQ0KeGJpdG1hcHMtMS4wLjENCnhjYWxjLTEuMC4yDQp4Y2xpcGJv YXJkLTEuMC4xDQp4Y2xvY2stMS4wLjMNCnhjbWlzY3Byb3RvLTEuMS4yDQp4Y21zZGItMS4wLjEN Cnhjb25zb2xlLTEuMC4zDQp4Y3Vyc29yLXRoZW1lcy0xLjAuMV8xDQp4Y3Vyc29yZ2VuLTEuMC4y DQp4ZGJlZGl6enktMS4wLjINCnhkaXR2aWV3LTEuMC4xDQp4ZG0tMS4xLjZfMw0KeGRweWluZm8t MS4wLjJfMQ0KeGRyaWluZm8tMS4wLjINCnhlZGl0LTEuMC4yDQp4ZXYtMS4wLjINCnhleHRwcm90 by03LjAuMg0KeGV5ZXMtMS4wLjENCnhmODYtaW5wdXQta2V5Ym9hcmQtMS4yLjJfMg0KeGY4Ni1p bnB1dC1tb3VzZS0xLjIuM18yDQp4Zjg2LXZpZGVvLW52LTIuMS4xMg0KeGY4NmJpZ2ZvbnRwcm90 by0xLjEuMg0KeGY4NmRnYS0xLjAuMg0KeGY4NmRnYXByb3RvLTIuMC4zDQp4Zjg2ZHJpcHJvdG8t Mi4wLjMNCnhmODZtaXNjcHJvdG8tMC45LjINCnhmODZydXNocHJvdG8tMS4xLjINCnhmODZ2aWRt b2RlcHJvdG8tMi4yLjINCnhmZC0xLjAuMQ0KeGZpbmRwcm94eS0xLjAuMQ0KeGZvbnRzZWwtMS4w LjINCnhmcy0xLjAuNV8xLDENCnhmc2luZm8tMS4wLjENCnhmd3AtMS4wLjENCnhnYW1tYS0xLjAu Mg0KeGdjLTEuMC4xDQp4aG9zdC0xLjAuMg0KeGluZXJhbWFwcm90by0xLjEuMg0KeGluaXQtMS4w LjcNCnhrYmNvbXAtMS4wLjMNCnhrYmV2ZC0xLjAuMg0KeGticHJpbnQtMS4wLjENCnhrYnV0aWxz LTEuMC4xXzENCnhrZXlib2FyZC1jb25maWctMS4zDQp4a2lsbC0xLjAuMQ0KeGxvYWQtMS4wLjIN Cnhsb2dvLTEuMC4xDQp4bHNhdG9tcy0xLjAuMQ0KeGxzY2xpZW50cy0xLjAuMQ0KeGxzZm9udHMt MS4wLjINCnhtYWctMS4wLjINCnhtYW4tMS4wLjMNCnhtZXNzYWdlLTEuMC4yDQp4bWxjYXRtZ3It Mi4yDQp4bW9kbWFwLTEuMC4zDQp4bW9yZS0xLjAuMQ0KeG9yZy03LjNfMg0KeG9yZy1hcHBzLTcu Mw0KeG9yZy1kb2NzLTEuNCwxDQp4b3JnLWRyaXZlcnMtNy4zXzMNCnhvcmctZm9udHMtMTAwZHBp LTcuMw0KeG9yZy1mb250cy03LjNfMQ0KeG9yZy1mb250cy03NWRwaS03LjMNCnhvcmctZm9udHMt Y3lyaWxsaWMtNy4zDQp4b3JnLWZvbnRzLW1pc2NiaXRtYXBzLTcuMw0KeG9yZy1mb250cy10cnVl dHlwZS03LjMNCnhvcmctZm9udHMtdHlwZTEtNy4zDQp4b3JnLWxpYnJhcmllcy03LjNfMg0KeG9y Zy1wcm90b3MtNy4zXzINCnhvcmctc2VydmVyLTEuNC4yLDENCnhwaGVsbG93b3JsZC0xLjAuMV8x DQp4cGxzcHJpbnRlcnMtMS4wLjENCnhwci0xLjAuMg0KeHByZWhhc2hwcmludGVybGlzdC0xLjAu MQ0KeHByb3AtMS4wLjMNCnhwcm90by03LjAuMTBfMQ0KeHByb3h5bWFuYWdlbWVudHByb3RvY29s LTEuMC4yDQp4cmFuZHItMS4yLjINCnhyZGItMS4wLjQNCnhyZWZyZXNoLTEuMC4yDQp4cngtMS4w LjFfMQ0KeHNldC0xLjAuMw0KeHNldG1vZGUtMS4wLjANCnhzZXRwb2ludGVyLTEuMC4xDQp4c2V0 cm9vdC0xLjAuMg0KeHNtLTEuMC4xDQp4c3RkY21hcC0xLjAuMQ0KeHRlcm0tMjM3DQp4dHJhbnMt MS4wLjQNCnh0cmFwLTEuMC4yDQp4dmlkdHVuZS0xLjAuMQ0KeHZpbmZvLTEuMC4yDQp4d2QtMS4w LjENCnh3aW5pbmZvLTEuMC4zDQp4d3VkLTEuMC4xDQpfX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fXw0KZnJlZWJzZC1jdXJyZW50QGZyZWVic2Qub3JnIG1haWxp bmcgbGlzdA0KaHR0cDovL2xpc3RzLmZyZWVic2Qub3JnL21haWxtYW4vbGlzdGluZm8vZnJlZWJz ZC1jdXJyZW50DQpUbyB1bnN1YnNjcmliZSwgc2VuZCBhbnkgbWFpbCB0byAiZnJlZWJzZC1jdXJy ZW50LXVuc3Vic2NyaWJlQGZyZWVic2Qub3JnIg0K From owner-freebsd-questions@FreeBSD.ORG Sun Oct 12 12:12: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 C58D01065688 for ; Sun, 12 Oct 2008 12:12:51 +0000 (UTC) (envelope-from gulenler@boun.edu.tr) Received: from pelikan3.cc.boun.edu.tr (pelikan3.cc.boun.edu.tr [193.140.192.28]) by mx1.freebsd.org (Postfix) with ESMTP id 796F98FC16 for ; Sun, 12 Oct 2008 12:12:51 +0000 (UTC) (envelope-from gulenler@boun.edu.tr) Received: from pelikan3.cc.boun.edu.tr (unknown [127.0.0.1]) by pelikan3.cc.boun.edu.tr (Symantec Mail Security) with ESMTP id 9F826AE8388 for ; Sun, 12 Oct 2008 15:00:34 +0300 (EEST) X-AuditID: c18cc01c-ab25cba000000e26-82-48f1e6e27a06 Received: (qmail 46750 invoked from network); 12 Oct 2008 12:11:45 -0000 Received: from unknown (HELO [10.0.0.8]) (gulenler@[88.243.97.140]) (envelope-sender ) by atmaca2.cc.boun.edu.tr (qmail-ldap-1.03) with SMTP for ; 12 Oct 2008 12:11:45 -0000 Message-ID: <48F1E9C1.6000205@boun.edu.tr> Date: Sun, 12 Oct 2008 15:12:49 +0300 From: Berk Gulenler Organization: Bogazici University Computer Center User-Agent: Thunderbird 2.0.0.16 (X11/20080720) MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-9 Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: AAAAAA== Subject: pam_ldap pam_password crypt option doesn't work...? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gulenler@boun.edu.tr List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2008 12:12:51 -0000 Hi, I'm trying to authenticate users from OpenLDAP. In LDAP userPassword fields are crypted. So I'm trying to use "pam_password crypt" option in ldap.conf. But in LDAP log the the password data from pam_ldap module always is in clear text. What could be wrong? Thanks in advance. ldap.conf host *host* base ou=people,dc=boun.edu.tr,o=BU ldap_version 3 binddn cn=root,o=BU bindpw *password* port 389 timelimit 30 bind_timelimit 30 pam_login_attribute uid pam_password crypt Service conf file auth required /usr/local/lib/pam_ldap.so try_first_pass I also tryed use_mapped_pass option, but it didn't worked. LDAP log ldap_read: want=60, got=60 0000: 01 03 04 2c 75 69 64 3d 74 65 73 74 2e 74 65 73 ...,uid=test.tes 0010: 74 31 2c 6f 75 3d 70 65 6f 70 6c 65 2c 64 63 3d t1,ou=people,dc= 0020: 62 6f 75 6e 2e 65 64 75 2e 74 72 2c 6f 3d 42 55 boun.edu.tr,o=BU 0030: 80 0a 79 61 67 6c 69 65 6b 6d 65 6b ..yagliekmek [clear text password] ber_get_next: tag 0x30 len 66 contents: pam_ldap version is 1.8.4 From owner-freebsd-questions@FreeBSD.ORG Sun Oct 12 13:22: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 7FA701065686 for ; Sun, 12 Oct 2008 13:22:46 +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 55AD58FC29 for ; Sun, 12 Oct 2008 13:22:46 +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 1Kp0uC-0008lr-1r; Sun, 12 Oct 2008 09:22:44 -0400 Message-ID: <4B14AA26212D403AA3C7C8C26DA87E16@GRANT> From: "Grant Peel" To: "Jeffrey Goldberg" , "Odhiambo Washington" References: <7B4A419D26AE44F986698BB7A482DE29@GRANT><991123400810092345w7b9300ecofb20cbd5bab04e95@mail.gmail.com> Date: Sun, 12 Oct 2008 09:22:37 -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: Sun, 12 Oct 2008 13:22:46 -0000 Jeff, are you running apache with Suexec? If so I would realy like to expand in this with you. -Grant ----- Original Message ----- From: "Jeffrey Goldberg" To: "Odhiambo Washington" Cc: "Grant Peel" ; Sent: Saturday, October 11, 2008 11:10 PM Subject: Re: Mailman + Apache + Cookies + FreeBSD > On Oct 10, 2008, at 1:45 AM, Odhiambo Washington wrote: > >> 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 > > I'm running mailman 2.1.11 (installed from ports) without the described > problem. > > So in at least one case, Apache, FreeBSD and Mailman 2.1.11 work without > exhibiting the described problem. > > -j > > _______________________________________________ > freebsd-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 12 14:24: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 2B44A106569B for ; Sun, 12 Oct 2008 14:24:05 +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 34DFE8FC1D for ; Sun, 12 Oct 2008 14:24: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.3/8.14.2) with ESMTP id m9CENtVV041199 for ; Sun, 12 Oct 2008 16:23:56 +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 m9CENtEt041172 for ; Sun, 12 Oct 2008 16:23:55 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 12 Oct 2008 16:23:54 +0200 (CEST) From: Wojciech Puchar To: freebsd-questions@freebsd.org Message-ID: <20081012162321.V39974@wojtek.tensor.gdynia.pl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: IAX2 (or SIP) softphone 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: Sun, 12 Oct 2008 14:24:05 -0000 anyone know something good. good=simply, works well, preferably no or minimal GUI. From owner-freebsd-questions@FreeBSD.ORG Sun Oct 12 14:31: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 66A531065686 for ; Sun, 12 Oct 2008 14:31:29 +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 4E4278FC17 for ; Sun, 12 Oct 2008 14:31:29 +0000 (UTC) (envelope-from joeb@a1poweruser.com) Received: from laptop ([202.69.173.240]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 12 Oct 2008 07:31:08 -0700 From: "joeb" To: "Desmond Chapman" , Date: Sun, 12 Oct 2008 22:31:50 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" 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: 12 Oct 2008 14:31:08.0876 (UTC) FILETIME=[2ADF08C0:01C92C77] X-Sender: joeb@a1poweruser.com Cc: Subject: RE: Xorg/kde startup errors 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: Sun, 12 Oct 2008 14:31:29 -0000 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. 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 then the letter i. Hit the right arrow until. I'm going touse>> <> Modes <> "600x800" "1024x768" <> :w! <> :q! < *********************************************** My xorg.new.conf file did not have any mode statements. I added them but it made no difference. Still get the same errors as posted in original msg. From owner-freebsd-questions@FreeBSD.ORG Sun Oct 12 14:53: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 AD450106568F for ; Sun, 12 Oct 2008 14:53:45 +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 614188FC15 for ; Sun, 12 Oct 2008 14:53:45 +0000 (UTC) (envelope-from marshc187@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so377789qwb.7 for ; Sun, 12 Oct 2008 07:53:44 -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=cJyFyLbQahblh7BOnL9EhIa3QPd/v0defAHe2T8LsiA=; b=b1z/K34pzqaxTvRBfztmNsz0n5sOc6eHJQP3jBbi6VW7wOH5nM0jdxg86Jfgm7KQE2 7yAy3AXvdMIsT9UjbGgbS467yAkPqpFLV6xQPCvkXKL1CBSkNmrDiRj5sOCr+y35XzaO MM45mp2E0pUPOns4XakRz4bFyoCaE4YomZ+7o= 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=tkgfghhMZHtQwx/6r06HaaO+ASD6pGCy0eJ87kZS88zZTRFL1MqnVwD5iOkr3Tvzpn kgcDRKZM87Z/q6GqwgIeybrUuUBP166/jlRY3vpEVJxCCD65RbwJpbFyqriERuaC1Bik vE4Ya+y9V8Nscfqdj2FGmp8rStimgjxY9Z6R8= Received: by 10.215.67.3 with SMTP id u3mr3677839qak.92.1223823224489; Sun, 12 Oct 2008 07:53:44 -0700 (PDT) Received: by 10.215.101.18 with HTTP; Sun, 12 Oct 2008 07:53:44 -0700 (PDT) Message-ID: <332f78510810120753u1cf14797mf84899213092e5f5@mail.gmail.com> Date: Sun, 12 Oct 2008 16:53:44 +0200 From: t-u-t To: "Michal Kulczewski" In-Reply-To: <48F10B0D.7000400@man.poznan.pl> MIME-Version: 1.0 References: <166708.22574.qm@web56807.mail.re3.yahoo.com> <48F10B0D.7000400@man.poznan.pl> 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: mdh_lists@yahoo.com, 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: Sun, 12 Oct 2008 14:53:45 -0000 > > > > 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. > if you have the free space you could try pcbsd7 to see what some extra work can do for it. someone recommended it earlier, rather than the straight upstream stock port (whatever that means) the nvidia driver did make much difference for me From owner-freebsd-questions@FreeBSD.ORG Sun Oct 12 14:53: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 AA07C1065697 for ; Sun, 12 Oct 2008 14:53:47 +0000 (UTC) (envelope-from kiffin.gish@planet.nl) Received: from cpsmtpo-eml03.kpnxchange.com (cpsmtpo-eml03.kpnxchange.com [213.75.38.152]) by mx1.freebsd.org (Postfix) with ESMTP id 3C7918FC18 for ; Sun, 12 Oct 2008 14:53:46 +0000 (UTC) (envelope-from kiffin.gish@planet.nl) Received: from cpsmtp-eml109.kpnxchange.com ([213.75.84.109]) by cpsmtpo-eml03.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 12 Oct 2008 16:53:45 +0200 Received: from [192.168.1.78] ([84.83.61.253]) by cpsmtp-eml109.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 12 Oct 2008 16:53:45 +0200 From: Kiffin To: joeb@a1poweruser.com In-Reply-To: References: Content-Type: text/plain Date: Sun, 12 Oct 2008 16:51:54 +0200 Message-Id: <1223823114.8480.0.camel@kiffin-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 12 Oct 2008 14:53:45.0442 (UTC) FILETIME=[53729420:01C92C7A] Cc: freebsd-questions@freebsd.org 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2008 14:53:47 -0000 I checked it and everything looks just fine, e.g. just Freebsd install files and nothing else. On Tue, 2008-10-07 at 18:42 +0800, joeb wrote: > 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" > -- Kiffin From owner-freebsd-questions@FreeBSD.ORG Sun Oct 12 15:01: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 E10561065677 for ; Sun, 12 Oct 2008 15:01:42 +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 C25418FC15 for ; Sun, 12 Oct 2008 15:01:42 +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 Rnh31a0050EPchoA5r1i0V; Sun, 12 Oct 2008 15:01:42 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA01.emeryville.ca.mail.comcast.net with comcast id Rr1h1a0062P6wsM8Mr1hDC; Sun, 12 Oct 2008 15:01:42 +0000 X-Authority-Analysis: v=1.0 c=1 a=nDyfJ9EgUwYA:10 a=VuVmoQMNfQoA:10 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=l3oMitSsRGCgzQ2iwrAA:9 a=JnmkN7sSa6UiLeCTn1oA:7 a=MZ_ldW8mRomPkblk4AxTg196C7YA:4 a=EoioJ0NPDVgA:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id D9A8BC9419; Sun, 12 Oct 2008 08:01:40 -0700 (PDT) Date: Sun, 12 Oct 2008 08:01:40 -0700 From: Jeremy Chadwick To: Kiffin Message-ID: <20081012150140.GA94292@icarus.home.lan> References: <1223823114.8480.0.camel@kiffin-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1223823114.8480.0.camel@kiffin-laptop> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: joeb@a1poweruser.com, freebsd-questions@freebsd.org 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2008 15:01:43 -0000 On Sun, Oct 12, 2008 at 04:51:54PM +0200, Kiffin wrote: > I checked it and everything looks just fine, e.g. just Freebsd install > files and nothing else. It's very possible that the disc burning software you used did something incorrectly, or did something custom. What program burnt the CD? If a UNIX program, what flags did you give it? > On Tue, 2008-10-07 at 18:42 +0800, joeb wrote: > > 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" > > > -- > Kiffin > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- | 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 12 16:30: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 6BC331065696 for ; Sun, 12 Oct 2008 16:30:27 +0000 (UTC) (envelope-from kelly.terry.jones@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.233]) by mx1.freebsd.org (Postfix) with ESMTP id 25F738FC08 for ; Sun, 12 Oct 2008 16:30:27 +0000 (UTC) (envelope-from kelly.terry.jones@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so329952wra.27 for ; Sun, 12 Oct 2008 09:30:26 -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=xVBFmbb6B3XaXPsB6mNj9m3orxX91hiDPRBQ6/eyNHM=; b=SL64faWE1EW2mMR7/hZkVfEn53hPAC97T496kUMwIxge6BbMe1+TOSmmjjRJ/tfl7H 46+ae/0qCT3/I2OOQ/IKYkzTYwh+dkzYENCXsbMhOAk/cXn1ogtGyeNezxZkVBUwcrIp agvnIe4q8BxTFj95w4fWwkvKLi780JFob+ec4= 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=X7VTTAH1tsyOuuJCQFMtEhTBjmptXAe2iyyNZDwmW5bbN63H9SzmPzCeLYghp2wuqX Q7tjqB0vz+5IY2SSjHsP/v03ABLEzq16741z80Ay7lut4ogxBSjJhFuE6QAr1PNYNmq0 ynNzPwF5SywggrmW5NV/68f24oqZTfbXLEBgU= Received: by 10.65.44.11 with SMTP id w11mr6488493qbj.99.1223829025830; Sun, 12 Oct 2008 09:30:25 -0700 (PDT) Received: by 10.65.103.7 with HTTP; Sun, 12 Oct 2008 09:30:25 -0700 (PDT) Message-ID: <26face530810120930u121e8658hb93b93bc32e52a3b@mail.gmail.com> Date: Sun, 12 Oct 2008 09:30: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: Can tcsh report 'command had no 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: Sun, 12 Oct 2008 16:30:27 -0000 Can I force tcsh to say "previous command returned empty stdout" or something? I often cut and paste shell output for my cow-orkers, and it's crucial to note when a command returns nothing. Currently, I insert the information manually: > ls | fgrep 'phrase' [no results] but it'd be nice if tcsh had a setting to do this automatically? -- 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 Sun Oct 12 16:30: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 E8A881065693; Sun, 12 Oct 2008 16:30:32 +0000 (UTC) (envelope-from kwm@rainbow-runner.nl) Received: from smtp-vbr12.xs4all.nl (smtp-vbr12.xs4all.nl [194.109.24.32]) by mx1.freebsd.org (Postfix) with ESMTP id 805B98FC17; Sun, 12 Oct 2008 16:30:32 +0000 (UTC) (envelope-from kwm@rainbow-runner.nl) Received: from [192.168.1.50] (kazerne.demon.nl [212.238.222.22]) by smtp-vbr12.xs4all.nl (8.13.8/8.13.8) with ESMTP id m9CGFV2V065866; Sun, 12 Oct 2008 18:15:31 +0200 (CEST) (envelope-from kwm@rainbow-runner.nl) Message-ID: <48F22243.2030902@rainbow-runner.nl> Date: Sun, 12 Oct 2008 18:13:55 +0200 From: Koop Mast User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsdemail@gmail.com References: <80e860040810120153q513ab30bj353e99ebeda98fe6@mail.gmail.com> <371934548-1223809783-cardhu_decombobulator_blackberry.rim.net-1296472422-@bxe112.bisx.prod.on.blackberry> In-Reply-To: <371934548-1223809783-cardhu_decombobulator_blackberry.rim.net-1296472422-@bxe112.bisx.prod.on.blackberry> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Thomas Hamilton , freebsd-current@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Cannot compile kde4 or gnome2 due to gstreamer-plugin error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2008 16:30:33 -0000 freebsdemail@gmail.com wrote: > Thomas I fetched the latest portsnap and it seems I can't compile gstream-plugins either I get the identical error there must be something wrong with this port....you are not alone. I'm on freebsd 7.0 release. I hope they get it fixed soon as I think its a dependancy for both kde and gnome. > > Tom > Sent from my BlackBerry device on the Rogers Wireless Network > > -----Original Message----- > From: "Thomas Hamilton" > > Date: Sun, 12 Oct 2008 02:53:10 > To: > Cc: > Subject: Cannot compile kde4 or gnome2 due to gstreamer-plugin error > > > Hi Guys I'm running current(8.0) from last nights cvsup. I cannot > however compile kde4 or gnome2-lite due to an error in compiling > gstreamer-plugins. It looks like the error is originating from: cc: No > input files specified. I look forward to any help you guys might be > able to provide me with in resolving the errors so I can install a gui > :) Thanks in advance. > This should be fixed now. Thanks for reporting. -Koop From owner-freebsd-questions@FreeBSD.ORG Sun Oct 12 16:51: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 B885F1065688; Sun, 12 Oct 2008 16:51:38 +0000 (UTC) (envelope-from lenzi@k1.com.br) Received: from netuno.levier.com.br (netuno.levier.com.br [201.47.3.162]) by mx1.freebsd.org (Postfix) with ESMTP id 15C898FC15; Sun, 12 Oct 2008 16:51:37 +0000 (UTC) (envelope-from lenzi@k1.com.br) Received: from levier.com.br (localhost [127.0.0.1]) by netuno.levier.com.br (8.14.3/8.14.1) with ESMTP id m9C911Xr021982; Sun, 12 Oct 2008 14:33:47 -0200 (BRST) (envelope-from lenzi@k1.com.br) X-MessageWall-Score: 0 (levier.com.br) Received: from [189.32.5.42] (authenticated as k1) by levier.com.br (MessageWall 1.0.8) with SMTP; 12 Oct 2008 16:33:47 -0000 From: User Lenzi To: Kris Kennaway , freebsd-questions@freebsd.org In-Reply-To: <48F10579.8000103@FreeBSD.org> References: <48EFAA0B.1030908@mykitchentable.net> <06069130@bs1.sp34.ru> <48F101D1.6050506@FreeBSD.org> <39988226@bs1.sp34.ru> <48F10579.8000103@FreeBSD.org> Date: Sun, 12 Oct 2008 14:33:46 -0200 Message-Id: <1223829226.3366.7.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: libncurses.so.6 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Oct 2008 16:51:38 -0000 Hello... I have some time ago an issue with libncurses and openssl... I resolved things using the libncures (/usr/lib/libncurses.so) and ssl (/usr/lib/libssl.so) from the system, and I have never had problems since then. solution: I remove the package ncurses and openssl. and use the libraries from the system and have never had problems since. for those packages that insist in ncurses.so.6 and ssl I fixed it in /etc/libmap.conf libncurses.so.6 libncurses.so Hope this helps.... From owner-freebsd-questions@FreeBSD.ORG Sun Oct 12 17:36: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 DB4F11065695 for ; Sun, 12 Oct 2008 17:36:38 +0000 (UTC) (envelope-from kiffin.gish@planet.nl) Received: from cpsmtpo-eml03.kpnxchange.com (cpsmtpo-eml03.kpnxchange.com [213.75.38.152]) by mx1.freebsd.org (Postfix) with ESMTP id 7411C8FC0A for ; Sun, 12 Oct 2008 17:36:38 +0000 (UTC) (envelope-from kiffin.gish@planet.nl) Received: from cpsmtp-eml109.kpnxchange.com ([213.75.84.109]) by cpsmtpo-eml03.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 12 Oct 2008 19:36:37 +0200 Received: from [192.168.1.78] ([84.83.61.253]) by cpsmtp-eml109.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 12 Oct 2008 19:36:37 +0200 From: Kiffin To: Jeremy Chadwick In-Reply-To: <20081012150140.GA94292@icarus.home.lan> References: <1223823114.8480.0.camel@kiffin-laptop> <20081012150140.GA94292@icarus.home.lan> Content-Type: text/plain Date: Sun, 12 Oct 2008 19:36:37 +0200 Message-Id: <1223832997.15340.0.camel@kiffin-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 12 Oct 2008 17:36:37.0282 (UTC) FILETIME=[13EB0820:01C92C91] Cc: joeb@a1poweruser.com, freebsd-questions@freebsd.org 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2008 17:36:39 -0000 I rechecked the discs with a verify tool using the original iso files and nothing is wrong with the discs. On Sun, 2008-10-12 at 08:01 -0700, Jeremy Chadwick wrote: > On Sun, Oct 12, 2008 at 04:51:54PM +0200, Kiffin wrote: > > I checked it and everything looks just fine, e.g. just Freebsd install > > files and nothing else. > > It's very possible that the disc burning software you used did something > incorrectly, or did something custom. What program burnt the CD? If a > UNIX program, what flags did you give it? > > > On Tue, 2008-10-07 at 18:42 +0800, joeb wrote: > > > 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" > > > > > -- > > Kiffin > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Kiffin From owner-freebsd-questions@FreeBSD.ORG Sun Oct 12 17:40: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 9A1191065689 for ; Sun, 12 Oct 2008 17:40:27 +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 E16318FC13 for ; Sun, 12 Oct 2008 17:40:26 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: (qmail 30234 invoked from network); 12 Oct 2008 17:40:24 -0000 Received: from unknown (HELO blizzard.dnsalias.org) (218.215.172.87) by smtp.mel.people.net.au with SMTP; 12 Oct 2008 17:40:24 -0000 Received: by blizzard.dnsalias.org (Postfix, from userid 1001) id 75C3617055; Mon, 13 Oct 2008 04:40:23 +1100 (EST) Date: Mon, 13 Oct 2008 04:40:23 +1100 From: andrew clarke To: Garance A Drosehn Message-ID: <20081012174023.GA93126@ozzmosis.com> References: <26face530810110933o1403705o625586ac53b309fb@mail.gmail.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: freebsd-questions@FreeBSD.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: Sun, 12 Oct 2008 17:40:27 -0000 On Sat 2008-10-11 14:58:39 UTC-0400, Garance A Drosehn (gad@FreeBSD.org) wrote: > 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. Perhaps newsyslog could support filenames in strftime(3) format, eg. /var/log/messages.%Y-%m-%d I think the format of newsyslog.conf might need to change to allow that though, breaking compatibility... From owner-freebsd-questions@FreeBSD.ORG Sun Oct 12 17:54: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 0DE57106568B for ; Sun, 12 Oct 2008 17:54:29 +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 DA0498FC0C for ; Sun, 12 Oct 2008 17:54:28 +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 1Kp598-0004SV-MK for freebsd-questions@freebsd.org; Sun, 12 Oct 2008 10:54:27 -0700 Message-ID: <19944068.post@talk.nabble.com> Date: Sun, 12 Oct 2008 10:54:26 -0700 (PDT) From: ton80 To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: meller1@nc.rr.com Subject: Installation Hangs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2008 17:54:29 -0000 Hello, I am trying to install FreeBSD. During the install (actually at the beginning of the process) the system hangs indefinitely. When it gets to the select country screen...it is frozen. During the boot process, as it is reading all the hardware, it finds the USB controller OK then later it states there was an IO error and that the USB controller is halted. I have a USB Keyboard and mouse...so I would say the problem is here. Is there any workaround I can use to get things going? Thanks, ton80 -- View this message in context: http://www.nabble.com/Installation-Hangs-tp19944068p19944068.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Sun Oct 12 17:58: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 CAFA61065686 for ; Sun, 12 Oct 2008 17:58:28 +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 A991A8FC0A for ; Sun, 12 Oct 2008 17:58:28 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA13.emeryville.ca.mail.comcast.net ([76.96.30.52]) by QMTA08.emeryville.ca.mail.comcast.net with comcast id Rng71a00717UAYkA8tyUJj; Sun, 12 Oct 2008 17:58:28 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA13.emeryville.ca.mail.comcast.net with comcast id RtyP1a00B2P6wsM8ZtyPED; Sun, 12 Oct 2008 17:58:24 +0000 X-Authority-Analysis: v=1.0 c=1 a=nDyfJ9EgUwYA:10 a=VuVmoQMNfQoA:10 a=6N_rebIbAAAA:8 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=M6oeE5fXypLHyyGPiBoA:9 a=79ov-WqQlLPOj5b5yz4A:7 a=H52So5KlPFp-7hAya4eZxzH4HZAA:4 a=EoioJ0NPDVgA:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 79F5EC9419; Sun, 12 Oct 2008 10:58:23 -0700 (PDT) Date: Sun, 12 Oct 2008 10:58:23 -0700 From: Jeremy Chadwick To: Kiffin Message-ID: <20081012175823.GB97109@icarus.home.lan> References: <1223823114.8480.0.camel@kiffin-laptop> <20081012150140.GA94292@icarus.home.lan> <1223832997.15340.0.camel@kiffin-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1223832997.15340.0.camel@kiffin-laptop> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: joeb@a1poweruser.com, freebsd-questions@freebsd.org 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2008 17:58:28 -0000 On Sun, Oct 12, 2008 at 07:36:37PM +0200, Kiffin wrote: > I rechecked the discs with a verify tool using the original iso files > and nothing is wrong with the discs. A couple comments: 1) This isn't telling me anything. For all I know the "verify tool" only compares ISO file contents to what's on a disc -- that probably will return success. You need to realise there's a *lot* of information in the ISO header which defines the type of disc it is, and types of extensions it supports (Joliet, Red Ridge, etc.). And the burning software has to properly know how to use those bits, otherwise it can do the wrong thing. 2) Some older CD drives apparently report FreeBSD discs as Audio CDs (even inside of Windows). I've seen this happen once in my life, but I was not trying to install FreeBSD (I was just inserting the disc into a Windows PC to see what was on it). The below thread is of a fellow running into the same problem: and his issue turned out to be a very old/unreliable CD drive, which he likely (eventually) replaced. He resorted to installing off of another machine over the network, but you get the point: http://forums.devshed.com/bsd-help-31/freebsd-installation-fails-when-looking-for-media-45366.html > On Sun, 2008-10-12 at 08:01 -0700, Jeremy Chadwick wrote: > > On Sun, Oct 12, 2008 at 04:51:54PM +0200, Kiffin wrote: > > > I checked it and everything looks just fine, e.g. just Freebsd install > > > files and nothing else. > > > > It's very possible that the disc burning software you used did something > > incorrectly, or did something custom. What program burnt the CD? If a > > UNIX program, what flags did you give it? > > > > > On Tue, 2008-10-07 at 18:42 +0800, joeb wrote: > > > > 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" > > > > > > > -- > > > Kiffin > > > > > > _______________________________________________ > > > freebsd-questions@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > -- > Kiffin -- | 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 12 18:02: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 9AAB21065678 for ; Sun, 12 Oct 2008 18:02:03 +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 804FF8FC17 for ; Sun, 12 Oct 2008 18:02:02 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA05.emeryville.ca.mail.comcast.net ([76.96.30.43]) by QMTA07.emeryville.ca.mail.comcast.net with comcast id RopN1a0070vp7WLA7u22qT; Sun, 12 Oct 2008 18:02:02 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA05.emeryville.ca.mail.comcast.net with comcast id Ru211a0072P6wsM8Ru226W; Sun, 12 Oct 2008 18:02:02 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=aOQDWw6vdbZyfdyulsgA:9 a=ag8PEnAp6ojlTd61Z_HNm3AkUeAA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 8F5B5C9419; Sun, 12 Oct 2008 11:02:01 -0700 (PDT) Date: Sun, 12 Oct 2008 11:02:01 -0700 From: Jeremy Chadwick To: ton80 Message-ID: <20081012180201.GA97548@icarus.home.lan> References: <19944068.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <19944068.post@talk.nabble.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Installation Hangs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2008 18:02:03 -0000 On Sun, Oct 12, 2008 at 10:54:26AM -0700, ton80 wrote: > Hello, > I am trying to install FreeBSD. > During the install (actually at the beginning of the process) the system > hangs indefinitely. > When it gets to the select country screen...it is frozen. > During the boot process, as it is reading all the hardware, it finds the USB > controller OK then later it states there was an IO error and that the USB > controller is halted. I have a USB Keyboard and mouse...so I would say the > problem is here. > Is there any workaround I can use to get things going? I'm inclined to believe the installation isn't "hung", but rather that FreeBSD isn't properly working with your USB keyboard (this is very likely, given the state of USB on FreeBSD -- work is underway on CURRENT to fix these problems), so you think the installation is "hung", but in reality it's just waiting for a keypress. The only workaround I can think of would be to get a PS/2 keyboard and use that. Chances are even if you get the OS installed, you probably won't be able to type at the console (with the USB keyboard). :-) And please remember that on many systems you should reboot the system after plugging in or removing a PS/2 keyboard; hot-swapping only works on some motherboards. -- | 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 12 18:08: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 18733106568B for ; Sun, 12 Oct 2008 18:08:51 +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 C8DC38FC16 for ; Sun, 12 Oct 2008 18:08:50 +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 1Kp5N4-00059U-0j for freebsd-questions@freebsd.org; Sun, 12 Oct 2008 11:08:50 -0700 Message-ID: <19944188.post@talk.nabble.com> Date: Sun, 12 Oct 2008 11:08:50 -0700 (PDT) From: ton80 To: freebsd-questions@freebsd.org In-Reply-To: <20081012180201.GA97548@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: meller1@nc.rr.com References: <19944068.post@talk.nabble.com> <20081012180201.GA97548@icarus.home.lan> Subject: Re: Installation Hangs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2008 18:08:51 -0000 Jeremy Chadwick-3 wrote: > > On Sun, Oct 12, 2008 at 10:54:26AM -0700, ton80 wrote: >> Hello, >> I am trying to install FreeBSD. >> During the install (actually at the beginning of the process) the system >> hangs indefinitely. >> When it gets to the select country screen...it is frozen. >> During the boot process, as it is reading all the hardware, it finds the >> USB >> controller OK then later it states there was an IO error and that the USB >> controller is halted. I have a USB Keyboard and mouse...so I would say >> the >> problem is here. >> Is there any workaround I can use to get things going? > > I'm inclined to believe the installation isn't "hung", but rather that > FreeBSD isn't properly working with your USB keyboard (this is very > likely, given the state of USB on FreeBSD -- work is underway on CURRENT > to fix these problems), so you think the installation is "hung", but > in reality it's just waiting for a keypress. > > The only workaround I can think of would be to get a PS/2 keyboard and > use that. Chances are even if you get the OS installed, you probably > won't be able to type at the console (with the USB keyboard). :-) > > And please remember that on many systems you should reboot the system > after plugging in or removing a PS/2 keyboard; hot-swapping only works > on some motherboards. > > -- > | 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" > > Ah...if only it were that easy! My system does not have PS2 connectors...only USB. So if I cannot get the USB working....I cannot use FreeBSD. Would OpenBSD give me the same problems I wonder? Thanks, ton80 -- View this message in context: http://www.nabble.com/Installation-Hangs-tp19944068p19944188.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Sun Oct 12 18:15: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 180441065694 for ; Sun, 12 Oct 2008 18:15:40 +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 B5BE78FC0C for ; Sun, 12 Oct 2008 18:15:39 +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 Rojx1a0061HzFnQ58uFcaM; Sun, 12 Oct 2008 18:15:36 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA14.westchester.pa.mail.comcast.net with comcast id RuFd1a00D2P6wsM3auFeKd; Sun, 12 Oct 2008 18:15:38 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=6I5d2MoRAAAA:8 a=bD_IJdEkm-occIoOmDAA:9 a=tUiPyuCApaSdqjxfww8A:7 a=zwnqVFm5ty-wFja_ejE1Wd5YgKQA:4 a=EoioJ0NPDVgA:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 737DDC9419; Sun, 12 Oct 2008 11:15:37 -0700 (PDT) Date: Sun, 12 Oct 2008 11:15:37 -0700 From: Jeremy Chadwick To: ton80 Message-ID: <20081012181537.GA97846@icarus.home.lan> References: <19944068.post@talk.nabble.com> <20081012180201.GA97548@icarus.home.lan> <19944188.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <19944188.post@talk.nabble.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Installation Hangs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2008 18:15:40 -0000 On Sun, Oct 12, 2008 at 11:08:50AM -0700, ton80 wrote: > Jeremy Chadwick-3 wrote: > > On Sun, Oct 12, 2008 at 10:54:26AM -0700, ton80 wrote: > >> Hello, > >> I am trying to install FreeBSD. > >> During the install (actually at the beginning of the process) the system > >> hangs indefinitely. > >> When it gets to the select country screen...it is frozen. > >> During the boot process, as it is reading all the hardware, it finds the > >> USB > >> controller OK then later it states there was an IO error and that the USB > >> controller is halted. I have a USB Keyboard and mouse...so I would say > >> the > >> problem is here. > >> Is there any workaround I can use to get things going? > > > > I'm inclined to believe the installation isn't "hung", but rather that > > FreeBSD isn't properly working with your USB keyboard (this is very > > likely, given the state of USB on FreeBSD -- work is underway on CURRENT > > to fix these problems), so you think the installation is "hung", but > > in reality it's just waiting for a keypress. > > > > The only workaround I can think of would be to get a PS/2 keyboard and > > use that. Chances are even if you get the OS installed, you probably > > won't be able to type at the console (with the USB keyboard). :-) > > > > And please remember that on many systems you should reboot the system > > after plugging in or removing a PS/2 keyboard; hot-swapping only works > > on some motherboards. > > > > -- > > | 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" > > Ah...if only it were that easy! > My system does not have PS2 connectors...only USB. > So if I cannot get the USB working....I cannot use FreeBSD. In this case, correct. > Would OpenBSD give me the same problems I wonder? I don't know what the state of OpenBSD's USB stack is, and the last time I encountered NetBSD's USB stack was 7 years ago (not so pleasant results). -- | 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 12 18: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 6CC6A106568C; Sun, 12 Oct 2008 18:23:55 +0000 (UTC) (envelope-from kiffin.gish@planet.nl) Received: from hpsmtp-eml18.kpnxchange.com (hpsmtp-eml18.KPNXCHANGE.COM [213.75.38.118]) by mx1.freebsd.org (Postfix) with ESMTP id 03A388FC22; Sun, 12 Oct 2008 18:23:54 +0000 (UTC) (envelope-from kiffin.gish@planet.nl) Received: from cpsmtp-eml111.kpnxchange.com ([213.75.84.111]) by hpsmtp-eml18.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 12 Oct 2008 20:23:53 +0200 Received: from [192.168.1.78] ([84.83.61.253]) by cpsmtp-eml111.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 12 Oct 2008 20:23:52 +0200 From: Kiffin To: Jeremy Chadwick In-Reply-To: <20081012175823.GB97109@icarus.home.lan> References: <1223823114.8480.0.camel@kiffin-laptop> <20081012150140.GA94292@icarus.home.lan> <1223832997.15340.0.camel@kiffin-laptop> <20081012175823.GB97109@icarus.home.lan> Content-Type: text/plain Date: Sun, 12 Oct 2008 20:23:51 +0200 Message-Id: <1223835831.15699.2.camel@kiffin-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 12 Oct 2008 18:23:52.0996 (UTC) FILETIME=[AE22A640:01C92C97] Cc: joeb@a1poweruser.com, freebsd-questions@freebsd.org 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2008 18:23:55 -0000 Thanks for the prompt response. However, I have a brand-new ASUS X59XL notebook so the CD drive isn't old. Could it be that the CD drive is too new and not recognized properly bt FreeBSD rather than too old? On Sun, 2008-10-12 at 10:58 -0700, Jeremy Chadwick wrote: > On Sun, Oct 12, 2008 at 07:36:37PM +0200, Kiffin wrote: > > I rechecked the discs with a verify tool using the original iso files > > and nothing is wrong with the discs. > > A couple comments: > > 1) This isn't telling me anything. For all I know the "verify tool" > only compares ISO file contents to what's on a disc -- that probably > will return success. > > You need to realise there's a *lot* of information in the ISO header > which defines the type of disc it is, and types of extensions it > supports (Joliet, Red Ridge, etc.). And the burning software has to > properly know how to use those bits, otherwise it can do the wrong > thing. > > 2) Some older CD drives apparently report FreeBSD discs as Audio CDs > (even inside of Windows). I've seen this happen once in my life, but I > was not trying to install FreeBSD (I was just inserting the disc into a > Windows PC to see what was on it). > > The below thread is of a fellow running into the same problem: and his > issue turned out to be a very old/unreliable CD drive, which he likely > (eventually) replaced. He resorted to installing off of another machine > over the network, but you get the point: > > http://forums.devshed.com/bsd-help-31/freebsd-installation-fails-when-looking-for-media-45366.html > > > On Sun, 2008-10-12 at 08:01 -0700, Jeremy Chadwick wrote: > > > On Sun, Oct 12, 2008 at 04:51:54PM +0200, Kiffin wrote: > > > > I checked it and everything looks just fine, e.g. just Freebsd install > > > > files and nothing else. > > > > > > It's very possible that the disc burning software you used did something > > > incorrectly, or did something custom. What program burnt the CD? If a > > > UNIX program, what flags did you give it? > > > > > > > On Tue, 2008-10-07 at 18:42 +0800, joeb wrote: > > > > > 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" > > > > > > > > > -- > > > > Kiffin > > > > > > > > _______________________________________________ > > > > freebsd-questions@freebsd.org mailing list > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > > -- > > Kiffin > -- Kiffin From owner-freebsd-questions@FreeBSD.ORG Sun Oct 12 18:32: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 737041065688 for ; Sun, 12 Oct 2008 18:32:36 +0000 (UTC) (envelope-from zhangweiwu@realss.com) Received: from bossdog.realss.com (bossdog.realss.com [211.157.114.130]) by mx1.freebsd.org (Postfix) with ESMTP id DA0748FC1B for ; Sun, 12 Oct 2008 18:32:35 +0000 (UTC) (envelope-from zhangweiwu@realss.com) Received: from localhost (unknown [127.0.0.1]) by bossdog.realss.com (Postfix) with ESMTP id 030F41C00E6 for ; Mon, 13 Oct 2008 02:32:36 +0800 (CST) Received: from bossdog.realss.com ([127.0.0.1]) by localhost (bossdog.realss.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 10693-10 for ; Mon, 13 Oct 2008 02:32:35 +0800 (CST) Received: from [192.168.1.104] (unknown [61.48.220.172]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by bossdog.realss.com (Postfix) with ESMTP id 9CC981C00D1 for ; Mon, 13 Oct 2008 02:32:34 +0800 (CST) Message-ID: <48F24060.9030900@realss.com> Date: Mon, 13 Oct 2008 02:22:24 +0800 From: Zhang Weiwu Organization: Real Softservice User-Agent: Thunderbird 2.0.0.14 (X11/20080621) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org X-Enigmail-Version: 0.95.6 X-Enigmail-Version: 0.95.6 Content-Type: multipart/mixed; boundary="------------080805070905060907030200" X-Virus-Scanned: amavisd-new at bossdog.realss.com Cc: Subject: fail with wireless network configuration with "SIOCS80211: Invalid argument" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2008 18:32:36 -0000 This is a multi-part message in MIME format. --------------080805070905060907030200 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hello. I am trying to get an AboveCable (model: ACPC 2000-01) wireless card connected to my home network with 40-bit Hex WEP Encryption on FreeBSD 6.1. # ifconfig wi0 inet 192.168.1.90 ssid ZWW wepmode on wepkey 0xea82552825 ifconfig: SIOCS80211: Invalid argument Did I made anything wrong or miss something in the kernel? I have the related lines in kernel: driver wi driver wlan AboveCable wireless card uses PRIMSA II which is supported by driver wi. The same card is tested working fine on the same network on Ubuntu Linux (without needing of firmware or NDIS Wrapper) dmesg is attached. # ifconfig -a plip0: flags=108810 mtu 1500 lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 wi0: flags=8843 mtu 1500 inet6 fe80::260:b3ff:fe73:3f4f%wi0 prefixlen 64 scopeid 0x3 ether 00:60:b3:73:3f:4f media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps) status: no carrier ssid ZWW channel 1 stationname "FreeBSD WaveLAN/IEEE node" authmode OPEN privacy ON deftxkey 1 txpowmax 100 bintval 100 --------------080805070905060907030200 Content-Type: text/plain; name="dmesg" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="dmesg" Q29weXJpZ2h0IChjKSAxOTkyLTIwMDYgVGhlIEZyZWVCU0QgUHJvamVjdC4KQ29weXJpZ2h0 IChjKSAxOTc5LCAxOTgwLCAxOTgzLCAxOTg2LCAxOTg4LCAxOTg5LCAxOTkxLCAxOTkyLCAx OTkzLCAxOTk0CglUaGUgUmVnZW50cyBvZiB0aGUgVW5pdmVyc2l0eSBvZiBDYWxpZm9ybmlh LiBBbGwgcmlnaHRzIHJlc2VydmVkLgpGcmVlQlNEIDYuMS1SRUxFQVNFICMwOiBUaHUgSnVs ICA1IDEyOjI2OjQzIENTVCAyMDA3CiAgICByb290QHF1YXNpbW9kby5yZWFsc3MuY29tOi91 c3Ivb2JqL3Vzci9zcmMvc3lzL1FVQVNJTU9ETwpUaW1lY291bnRlciAiaTgyNTQiIGZyZXF1 ZW5jeSAxMTkzMTgyIEh6IHF1YWxpdHkgMApDUFU6IFBlbnRpdW0vUDU1QyAocXVhcnRlci1t aWNyb24pICgyMzIuMTEtTUh6IDU4Ni1jbGFzcyBDUFUpCiAgT3JpZ2luID0gIkdlbnVpbmVJ bnRlbCIgIElkID0gMHg1ODEgIFN0ZXBwaW5nID0gMQogIEZlYXR1cmVzPTB4ODAwMWJmPEZQ VSxWTUUsREUsUFNFLFRTQyxNU1IsTUNFLENYOCxNTVg+CnJlYWwgbWVtb3J5ICA9IDEwMDQ2 NjY4OCAoOTUgTUIpCmF2YWlsIG1lbW9yeSA9IDg4NzIzNDU2ICg4NCBNQikKSW50ZWwgUGVu dGl1bSBkZXRlY3RlZCwgaW5zdGFsbGluZyB3b3JrYXJvdW5kIGZvciBGMDBGIGJ1ZwprYmQx IGF0IGtiZG11eDAKY3B1MCBvbiBtb3RoZXJib2FyZApwY2liMDogPEhvc3QgdG8gUENJIGJy aWRnZT4gcGNpYnVzIDAgb24gbW90aGVyYm9hcmQKcGlyMDogPFBDSSBJbnRlcnJ1cHQgUm91 dGluZyBUYWJsZTogNCBFbnRyaWVzPiBvbiBtb3RoZXJib2FyZApwY2kwOiA8UENJIGJ1cz4g b24gcGNpYjAKY2JiMDogPFRJMTI1MCBQQ0ktQ2FyZEJ1cyBCcmlkZ2U+IG1lbSAweDIwODIy MDAwLTB4MjA4MjJmZmYgYXQgZGV2aWNlIDIuMCBvbiBwY2kwCnBjY2FyZDA6IDwxNi1iaXQg UENDYXJkIGJ1cz4gb24gY2JiMApjYmIxOiA8VEkxMjUwIFBDSS1DYXJkQnVzIEJyaWRnZT4g bWVtIDB4MjA4MjEwMDAtMHgyMDgyMWZmZiBhdCBkZXZpY2UgMi4xIG9uIHBjaTAKcGNjYXJk MTogPDE2LWJpdCBQQ0NhcmQgYnVzPiBvbiBjYmIxCnBjaTA6IDxkaXNwbGF5LCBWR0E+IGF0 IGRldmljZSAzLjAgKG5vIGRyaXZlciBhdHRhY2hlZCkKaXNhYjA6IDxQQ0ktSVNBIGJyaWRn ZT4gYXQgZGV2aWNlIDYuMCBvbiBwY2kwCmlzYTA6IDxJU0EgYnVzPiBvbiBpc2FiMAphdGFw Y2kwOiA8SW50ZWwgUElJWDQgVURNQTMzIGNvbnRyb2xsZXI+IHBvcnQgMHgxZjAtMHgxZjcs MHgzZjYsMHgxNzAtMHgxNzcsMHgzNzYsMHhmY2YwLTB4ZmNmZiBhdCBkZXZpY2UgNi4xIG9u IHBjaTAKYXRhMDogPEFUQSBjaGFubmVsIDA+IG9uIGF0YXBjaTAKYXRhMTogPEFUQSBjaGFu bmVsIDE+IG9uIGF0YXBjaTAKdWhjaTA6IDxJbnRlbCA4MjM3MUFCL0VCIChQSUlYNCkgVVNC IGNvbnRyb2xsZXI+IHBvcnQgMHg5MDAwLTB4OTAxZiBpcnEgMTEgYXQgZGV2aWNlIDYuMiBv biBwY2kwCnVoY2kwOiBbR0lBTlQtTE9DS0VEXQp1c2IwOiA8SW50ZWwgODIzNzFBQi9FQiAo UElJWDQpIFVTQiBjb250cm9sbGVyPiBvbiB1aGNpMAp1c2IwOiBVU0IgcmV2aXNpb24gMS4w CnVodWIwOiBJbnRlbCBVSENJIHJvb3QgaHViLCBjbGFzcyA5LzAsIHJldiAxLjAwLzEuMDAs IGFkZHIgMQp1aHViMDogMiBwb3J0cyB3aXRoIDIgcmVtb3ZhYmxlLCBzZWxmIHBvd2VyZWQK cGNpMDogPGJyaWRnZT4gYXQgZGV2aWNlIDYuMyAobm8gZHJpdmVyIGF0dGFjaGVkKQpwbXRp bWVyMCBvbiBpc2EwCm9ybTA6IDxJU0EgT3B0aW9uIFJPTT4gYXQgaW9tZW0gMHhjMDAwMC0w eGM5ZmZmIG9uIGlzYTAKYXRrYmRjMDogPEtleWJvYXJkIGNvbnRyb2xsZXIgKGk4MDQyKT4g YXQgcG9ydCAweDYwLDB4NjQgb24gaXNhMAphdGtiZDA6IDxBVCBLZXlib2FyZD4gaXJxIDEg b24gYXRrYmRjMAprYmQwIGF0IGF0a2JkMAphdGtiZDA6IFtHSUFOVC1MT0NLRURdCnBzbTA6 IDxQUy8yIE1vdXNlPiBpcnEgMTIgb24gYXRrYmRjMApwc20wOiBbR0lBTlQtTE9DS0VEXQpw c20wOiBtb2RlbCBHZW5lcmljIFBTLzIgbW91c2UsIGRldmljZSBJRCAwCmZkYzA6IDxFbmhh bmNlZCBmbG9wcHkgY29udHJvbGxlcj4gYXQgcG9ydCAweDNmMC0weDNmNSwweDNmNyBpcnEg NiBkcnEgMiBvbiBpc2EwCmZkYzA6IFtGQVNUXQpmZDA6IDwxNDQwLUtCIDMuNSIgZHJpdmU+ IG9uIGZkYzAgZHJpdmUgMApwcGMwOiA8UGFyYWxsZWwgcG9ydD4gYXQgcG9ydCAweDNiYy0w eDNjMyBpcnEgNyBvbiBpc2EwCnBwYzA6IEdlbmVyaWMgY2hpcHNldCAoTklCQkxFLW9ubHkp IGluIENPTVBBVElCTEUgbW9kZQpwcGJ1czA6IDxQYXJhbGxlbCBwb3J0IGJ1cz4gb24gcHBj MApwbGlwMDogPFBMSVAgbmV0d29yayBpbnRlcmZhY2U+IG9uIHBwYnVzMApscHQwOiA8UHJp bnRlcj4gb24gcHBidXMwCmxwdDA6IEludGVycnVwdC1kcml2ZW4gcG9ydApwcGkwOiA8UGFy YWxsZWwgSS9PPiBvbiBwcGJ1czAKc2MwOiA8U3lzdGVtIGNvbnNvbGU+IGF0IGZsYWdzIDB4 MTAwIG9uIGlzYTAKc2MwOiBWR0EgPDE2IHZpcnR1YWwgY29uc29sZXMsIGZsYWdzPTB4MzAw PgpzaW8wIGF0IHBvcnQgMHgzZjgtMHgzZmYgaXJxIDQgZmxhZ3MgMHgxMCBvbiBpc2EwCnNp bzA6IHR5cGUgMTY1NTBBCnNpbzE6IGNvbmZpZ3VyZWQgaXJxIDMgbm90IGluIGJpdG1hcCBv ZiBwcm9iZWQgaXJxcyAwCnNpbzE6IHBvcnQgbWF5IG5vdCBiZSBlbmFibGVkCnNpbzI6IGNv bmZpZ3VyZWQgaXJxIDUgbm90IGluIGJpdG1hcCBvZiBwcm9iZWQgaXJxcyAwCnNpbzI6IHBv cnQgbWF5IG5vdCBiZSBlbmFibGVkCnNpbzM6IGNvbmZpZ3VyZWQgaXJxIDkgbm90IGluIGJp dG1hcCBvZiBwcm9iZWQgaXJxcyAwCnNpbzM6IHBvcnQgbWF5IG5vdCBiZSBlbmFibGVkCnZn YTA6IDxHZW5lcmljIElTQSBWR0E+IGF0IHBvcnQgMHgzYzAtMHgzZGYgaW9tZW0gMHhhMDAw MC0weGJmZmZmIG9uIGlzYTAKdW5rbm93bjogPFBOUDAzMDM+IGNhbid0IGFzc2lnbiByZXNv dXJjZXMgKHBvcnQpCnVua25vd246IDxQTlAwZjEzPiBjYW4ndCBhc3NpZ24gcmVzb3VyY2Vz IChpcnEpCnVua25vd246IDxQTlAwNzAwPiBjYW4ndCBhc3NpZ24gcmVzb3VyY2VzIChwb3J0 KQp1bmtub3duOiA8UE5QMGMwMj4gY2FuJ3QgYXNzaWduIHJlc291cmNlcyAobWVtb3J5KQp1 bmtub3duOiA8UE5QMDQwMD4gY2FuJ3QgYXNzaWduIHJlc291cmNlcyAocG9ydCkKcGNtMDog PENTNDIzeD4gYXQgcG9ydCAweDUzMC0weDUzNywweDM4OC0weDM4YiwweDIyMC0weDIzMyBp cnEgNSBkcnEgMSwwIG9uIGlzYTAKcGNtMDogW0dJQU5ULUxPQ0tFRF0KdW5rbm93bjogPElC TTAwNzE+IGNhbid0IGFzc2lnbiByZXNvdXJjZXMgKHBvcnQpCnVua25vd246IDxQTlAwZTAz PiBjYW4ndCBhc3NpZ24gcmVzb3VyY2VzIChwb3J0KQpUaW1lY291bnRlciAiVFNDIiBmcmVx dWVuY3kgMjMyMTA2NTE1IEh6IHF1YWxpdHkgODAwClRpbWVjb3VudGVycyB0aWNrIGV2ZXJ5 IDEuMDAwIG1zZWMKd2kwOiA8QWJvdmVDYWJsZSBBQ1BDMjAwMC0xMT4gYXQgcG9ydCAweDEw MC0weDEzZiBpcnEgMTAgZnVuY3Rpb24gMCBjb25maWcgMSBvbiBwY2NhcmQxCndpMDogdXNp bmcgUkY6UFJJU00yIE1BQzpIRkEzODQxIENBUkQ6SFdCMzE2MyByZXYuQQp3aTA6IEludGVy c2lsIEZpcm13YXJlOiBQcmltYXJ5ICgwLjMuMCksIFN0YXRpb24gKDAuOC4zKQp3aTA6IEV0 aGVybmV0IGFkZHJlc3M6IDAwOjYwOmIzOjczOjNmOjRmCmFkMDogMzEwMk1CIDxJQk0gRFRD QS0yMzI0MCBUQzVPQUIxQT4gYXQgYXRhMC1tYXN0ZXIgVURNQTMzCmFjZDA6IENEUk9NIDxT QU5ZTyBDUkQtUzM3MkIvMS4yNEY+IGF0IGF0YTAtc2xhdmUgUElPMwpUcnlpbmcgdG8gbW91 bnQgcm9vdCBmcm9tIHVmczovZGV2L2FkMHMxYQpXQVJOSU5HOiAvIHdhcyBub3QgcHJvcGVy bHkgZGlzbW91bnRlZAp1bWFzczA6IEdlbmVyaWMgTWFzcyBTdG9yYWdlLCByZXYgMi4wMC8x LjAxLCBhZGRyIDIKdW1hc3MwOiBHZXQgTWF4IEx1biBub3Qgc3VwcG9ydGVkIChTVEFMTEVE KQpkYTAgYXQgdW1hc3Mtc2ltMCBidXMgMCB0YXJnZXQgMCBsdW4gMApkYTA6IDxHZW5lcmlj IEZsYXNoIERpc2sgOC4wNz4gUmVtb3ZhYmxlIERpcmVjdCBBY2Nlc3MgU0NTSS0yIGRldmlj ZSAKZGEwOiAxLjAwME1CL3MgdHJhbnNmZXJzCmRhMDogNDAyMk1CICg4MjM4MDgwIDUxMiBi eXRlIHNlY3RvcnM6IDI1NUggNjNTL1QgNTEyQykKV0FSTklORzogL3VzciB3YXMgbm90IHBy b3Blcmx5IGRpc21vdW50ZWQKV0FSTklORzogL3ZhciB3YXMgbm90IHByb3Blcmx5IGRpc21v dW50ZWQKZXh0MmZzOiBkYTA6IHdyb25nIG1hZ2ljIG51bWJlciAwIChleHBlY3RlZCAweGVm NTMpCkludGVycnVwdCBzdG9ybSBkZXRlY3RlZCBvbiAiaXJxMTE6IjsgdGhyb3R0bGluZyBp bnRlcnJ1cHQgc291cmNlCmllZWU4MDIxMV9sb2FkX21vZHVsZTogbG9hZCB0aGUgd2xhbl93 ZXAgbW9kdWxlIGJ5IGhhbmQgZm9yIG5vdy4KaWVlZTgwMjExX2xvYWRfbW9kdWxlOiBsb2Fk IHRoZSB3bGFuX3dlcCBtb2R1bGUgYnkgaGFuZCBmb3Igbm93LgppZWVlODAyMTFfbG9hZF9t b2R1bGU6IGxvYWQgdGhlIHdsYW5fd2VwIG1vZHVsZSBieSBoYW5kIGZvciBub3cuCmllZWU4 MDIxMV9sb2FkX21vZHVsZTogbG9hZCB0aGUgd2xhbl93ZXAgbW9kdWxlIGJ5IGhhbmQgZm9y IG5vdy4KaWVlZTgwMjExX2xvYWRfbW9kdWxlOiBsb2FkIHRoZSB3bGFuX3dlcCBtb2R1bGUg YnkgaGFuZCBmb3Igbm93LgppZWVlODAyMTFfbG9hZF9tb2R1bGU6IGxvYWQgdGhlIHdsYW5f d2VwIG1vZHVsZSBieSBoYW5kIGZvciBub3cuCmllZWU4MDIxMV9sb2FkX21vZHVsZTogbG9h ZCB0aGUgd2xhbl93ZXAgbW9kdWxlIGJ5IGhhbmQgZm9yIG5vdy4KaWVlZTgwMjExX2xvYWRf bW9kdWxlOiBsb2FkIHRoZSB3bGFuX3dlcCBtb2R1bGUgYnkgaGFuZCBmb3Igbm93LgppZWVl ODAyMTFfbG9hZF9tb2R1bGU6IGxvYWQgdGhlIHdsYW5fd2VwIG1vZHVsZSBieSBoYW5kIGZv ciBub3cuCnVtYXNzMDogYXQgdWh1YjAgcG9ydCAxIChhZGRyIDIpIGRpc2Nvbm5lY3RlZAoo ZGEwOnVtYXNzLXNpbTA6MDowOjApOiBsb3N0IGRldmljZQooZGEwOnVtYXNzLXNpbTA6MDow OjApOiByZW1vdmluZyBkZXZpY2UgZW50cnkKdW1hc3MwOiBkZXRhY2hlZAp1bWFzczA6IEdl bmVyaWMgRmxhc2ggRGlzaywgcmV2IDEuMTAvMS4wMCwgYWRkciAyCmRhMCBhdCB1bWFzcy1z aW0wIGJ1cyAwIHRhcmdldCAwIGx1biAwCmRhMDogPEdlbmVyaWMgVVNCIEZsYXNoIERyaXZl ICV6IVk+IFJlbW92YWJsZSBEaXJlY3QgQWNjZXNzIFNDU0ktMiBkZXZpY2UgCmRhMDogMS4w MDBNQi9zIHRyYW5zZmVycwpkYTA6IDEyNE1CICgyNTQ3MjAgNTEyIGJ5dGUgc2VjdG9yczog NjRIIDMyUy9UIDEyNEMpCg== --------------080805070905060907030200-- From owner-freebsd-questions@FreeBSD.ORG Sun Oct 12 18:41: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 DE4E81065690 for ; Sun, 12 Oct 2008 18:41:18 +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 836FB8FC0C for ; Sun, 12 Oct 2008 18:41:18 +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 Rs4e1a0210EZKEL54uhHQW; Sun, 12 Oct 2008 18:41:17 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA01.westchester.pa.mail.comcast.net with comcast id RuhG1a0052P6wsM3MuhGWk; Sun, 12 Oct 2008 18:41:17 +0000 X-Authority-Analysis: v=1.0 c=1 a=nDyfJ9EgUwYA:10 a=VuVmoQMNfQoA:10 a=6N_rebIbAAAA:8 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=PvlOpsHHrRWEHd5Y4moA:9 a=-xGDpppnWK-TgcvLN0UA:7 a=eN-h0PJy1b9oJss-Hpm7oAO1EHcA:4 a=EoioJ0NPDVgA:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 4D09BC9419; Sun, 12 Oct 2008 11:41:16 -0700 (PDT) Date: Sun, 12 Oct 2008 11:41:16 -0700 From: Jeremy Chadwick To: Kiffin Message-ID: <20081012184116.GA98201@icarus.home.lan> References: <1223823114.8480.0.camel@kiffin-laptop> <20081012150140.GA94292@icarus.home.lan> <1223832997.15340.0.camel@kiffin-laptop> <20081012175823.GB97109@icarus.home.lan> <1223835831.15699.2.camel@kiffin-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1223835831.15699.2.camel@kiffin-laptop> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: joeb@a1poweruser.com, freebsd-questions@freebsd.org 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2008 18:41:19 -0000 On Sun, Oct 12, 2008 at 08:23:51PM +0200, Kiffin wrote: > Thanks for the prompt response. However, I have a brand-new ASUS X59XL > notebook so the CD drive isn't old. Could it be that the CD drive is too > new and not recognized properly bt FreeBSD rather than too old? 1) There's nothing "special" about the FreeBSD CDs. They are Mode 1 discs, and do not use anything like Joliet filesystem extensions (so that MS-DOS can see all the filenames in 8.3 format). 2) The age of the CD drive has nothing to do with what sort of extensions and capabilities it has. I should have been more precise when I gave you facts talking about old CD drives -- it's likely that fellow's Teac CD drive has a buggy firmware, and it's highly possible that your Asus laptop has the same problem. 3) ATAPI is ATAPI; FreeBSD does not have "CD drive-specific drivers". It would be much more likely that FreeBSD wouldn't find the CD at all (or any hard disks, etc.) due to the ATA controller not being supported. Yours appears supported, otherwise FreeBSD wouldn't even know the *type* of disc. I would recommend you contact Asus Support and ask them to burn an ISO of FreeBSD and try to install it on that laptop, to reproduce your problem. If they can reproduce it, they should be able to figure out what's causing the issue; if they can't, then it may be a problem with your laptop specifically. P.S. -- This "audio CD" problem goes all the way back to FreeBSD 2.2.6 or earlier. It's not a new problem, but it's very rare. Because of this fact, I strongly doubt the problem is with FreeBSD, and rather with buggy firmwares in CD drives. > On Sun, 2008-10-12 at 10:58 -0700, Jeremy Chadwick wrote: > > On Sun, Oct 12, 2008 at 07:36:37PM +0200, Kiffin wrote: > > > I rechecked the discs with a verify tool using the original iso files > > > and nothing is wrong with the discs. > > > > A couple comments: > > > > 1) This isn't telling me anything. For all I know the "verify tool" > > only compares ISO file contents to what's on a disc -- that probably > > will return success. > > > > You need to realise there's a *lot* of information in the ISO header > > which defines the type of disc it is, and types of extensions it > > supports (Joliet, Red Ridge, etc.). And the burning software has to > > properly know how to use those bits, otherwise it can do the wrong > > thing. > > > > 2) Some older CD drives apparently report FreeBSD discs as Audio CDs > > (even inside of Windows). I've seen this happen once in my life, but I > > was not trying to install FreeBSD (I was just inserting the disc into a > > Windows PC to see what was on it). > > > > The below thread is of a fellow running into the same problem: and his > > issue turned out to be a very old/unreliable CD drive, which he likely > > (eventually) replaced. He resorted to installing off of another machine > > over the network, but you get the point: > > > > http://forums.devshed.com/bsd-help-31/freebsd-installation-fails-when-looking-for-media-45366.html > > > > > On Sun, 2008-10-12 at 08:01 -0700, Jeremy Chadwick wrote: > > > > On Sun, Oct 12, 2008 at 04:51:54PM +0200, Kiffin wrote: > > > > > I checked it and everything looks just fine, e.g. just Freebsd install > > > > > files and nothing else. > > > > > > > > It's very possible that the disc burning software you used did something > > > > incorrectly, or did something custom. What program burnt the CD? If a > > > > UNIX program, what flags did you give it? > > > > > > > > > On Tue, 2008-10-07 at 18:42 +0800, joeb wrote: > > > > > > 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" > > > > > > > > > > > -- > > > > > Kiffin > > > > > > > > > > _______________________________________________ > > > > > freebsd-questions@freebsd.org mailing list > > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > > > > -- > > > Kiffin > > > -- > Kiffin -- | 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 12 19:40: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 CD1C71065687 for ; Sun, 12 Oct 2008 19:40:33 +0000 (UTC) (envelope-from gabrimate@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.182]) by mx1.freebsd.org (Postfix) with ESMTP id A37A78FC21 for ; Sun, 12 Oct 2008 19:40:33 +0000 (UTC) (envelope-from gabrimate@gmail.com) Received: by wa-out-1112.google.com with SMTP id n4so764568wag.27 for ; Sun, 12 Oct 2008 12:40: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:mime-version:content-type; bh=aXhmoBdI05Bvxb3AGw1EGoOyvSu9Cxm2ekNimkOzU88=; b=DfmneW5Qvl1zqoho2BfSgb6owJTusDjtDCZdyivd1ecNaHhU3Zolth6WRBDllz49fx i/aulA6AsY1S1flRISDbN72SBXwL+bhBS/VE/GUUEFO0+7lIf89s0d9hq8hmM9T7LQSf tmVCcIDIiFXbMrBvLY2gNH+iwAnptlIWg3v74= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=vbeY9PIzLe2FkzSZzzTS6X/0keHhKR/yyoV7h+wcAefIg22uOrxX6I5mR9Dvt+O0mM nSMH02Ka+x5soo1lphwg9nGHJHVKXS5aQe9QfWi3mFy3wdXl4YEvvzMmwaYj1hRyjxWG tN+Xpk4Hmu8inKpGgM4IpKxc4n+SlzlWombU4= Received: by 10.114.182.1 with SMTP id e1mr4410198waf.143.1223840433017; Sun, 12 Oct 2008 12:40:33 -0700 (PDT) Received: by 10.115.59.20 with HTTP; Sun, 12 Oct 2008 12:40:32 -0700 (PDT) Message-ID: Date: Sun, 12 Oct 2008 21:40:32 +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 not 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: Sun, 12 Oct 2008 19:40:33 -0000 Dear List, i have a FreeBSD 7-release cluster firewall using carp for the public IP addresses. Last evening i've upgraded the firewalls to 7-release-p5 and after that carp stopped working. Do you have any suggestions? From owner-freebsd-questions@FreeBSD.ORG Sun Oct 12 20:09: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 D6B691065699 for ; Sun, 12 Oct 2008 20:09:31 +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 7D6388FC16 for ; Sun, 12 Oct 2008 20:09:31 +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 m9CK9M3B082755; Sun, 12 Oct 2008 13:09:23 -0700 (PDT) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "Kiffin" , "Jeremy Chadwick" Date: Sun, 12 Oct 2008 13:10:31 -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: <1223835831.15699.2.camel@kiffin-laptop> Importance: Normal X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (mail.freebsd-corp-net-guide.com [65.75.192.90]); Sun, 12 Oct 2008 13:09:24 -0700 (PDT) Cc: joeb@a1poweruser.com, freebsd-questions@freebsd.org Subject: RE: The disc in your drive looks more like an Audio CD than aFreeBSDrelease X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Oct 2008 20:09:31 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Kiffin > Sent: Sunday, October 12, 2008 11:24 AM > To: Jeremy Chadwick > Cc: joeb@a1poweruser.com; freebsd-questions@freebsd.org > Subject: Re: The disc in your drive looks more like an Audio CD than > aFreeBSDrelease > > > Thanks for the prompt response. However, I have a brand-new ASUS X59XL > notebook so the CD drive isn't old. Could it be that the CD drive is too > new and not recognized properly bt FreeBSD rather than too old? > Kiffin, I assume that your booting off the CDC on the laptop? If so I doubt that the CD is burned incorrectly. If you want to check if the burn is correct on the CD then go to another machine and boot and install FBSD on it with your CD. In any case, we really cannot support CD burning software that isn't running on FreeBSD here and it is IMHO a distraction to even discuss it. I suspect a bug in the FreeBSD atapi driver, or a bug in the notebook CD drive firmware. What you need to do is boot from your CD, then select a FTP server as the install server during the installation and install FreeBSD. Then try to mount a standard data CD under FreeBSD in the laptop and see if it understands it. If that works then install the cd burning tools from the FreeBSD ports and try to burn a CD. If that works then we can assume that the Windows/DOS whatever burning tools you used are crap - which doesen't matter since your just using that crap to bootstrap into FreeBSD anyway. Right? Ted PS I strongly suspect once you get FreeBSD loaded you will not be able to mount off-the-shelf data CD's in your laptop's CD drive. If this is so we really need for you to file a PR on this. From owner-freebsd-questions@FreeBSD.ORG Sun Oct 12 20:19: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 22A641065678 for ; Sun, 12 Oct 2008 20:19:28 +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 DC2CB8FC18 for ; Sun, 12 Oct 2008 20:19:27 +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 m9CKJQBV082813; Sun, 12 Oct 2008 13:19:27 -0700 (PDT) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "ton80" , Date: Sun, 12 Oct 2008 13:20:35 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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: <19944068.post@talk.nabble.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]); Sun, 12 Oct 2008 13:19:27 -0700 (PDT) Cc: Subject: RE: Installation Hangs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2008 20:19:28 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of ton80 > Sent: Sunday, October 12, 2008 10:54 AM > To: freebsd-questions@freebsd.org > Subject: Installation Hangs > > > > Hello, > I am trying to install FreeBSD. > During the install (actually at the beginning of the process) the system > hangs indefinitely. > When it gets to the select country screen...it is frozen. > During the boot process, as it is reading all the hardware, it > finds the USB > controller OK then later it states there was an IO error and that the USB > controller is halted. I have a USB Keyboard and mouse...so I would say the > problem is here. > Is there any workaround I can use to get things going? > Yes, you can remove the hard disk, put it in a different machine, install FreeBSD on it, then move the disk back. You could always try installing with JUST the USB keyboard or with a -different- USB keyboard. I would suspect that if you stick in a Linux Ubuntu install CD and it also fails to detect keyboard and mouse, that you will get more traction with your machine hardware manufacturer when reporting a problem. Hopefully your system is a new one within the 30 day return window and you can return it and get a different one. One last thing - it might be possible that your machine motherboard has a port for a standard keyboard, with a header on the motherboard, and it just isn't brought out the back of the machine. Please also post the make and model of the motherboard in use so we know what to avoid here. Ted From owner-freebsd-questions@FreeBSD.ORG Sun Oct 12 20: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 D33FE10656A1 for ; Sun, 12 Oct 2008 20:30:21 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: from web56804.mail.re3.yahoo.com (web56804.mail.re3.yahoo.com [66.196.97.78]) by mx1.freebsd.org (Postfix) with SMTP id 624888FC24 for ; Sun, 12 Oct 2008 20:30:21 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: (qmail 99006 invoked by uid 60001); 12 Oct 2008 20:30: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=kW2yGgo49jtLYi46t5yPE7/7xLkspFzPYEizdI/YoBzAKFjukZssTZwFYz01ldllkRUNSDZNSDLYJP7fFuj0lLPwjHtw8A2tOKOEIXWHHfKos5iZWug/FpdR62SmihZpPKsKsj/pfGG7rtIi3l9txiKY/zIjhqbPTpE4BkA8B9k=; X-YMail-OSG: RuVl7SkVM1n3bl5MAm4GyouI6YYGCueUTZxxt4HagpYyvgz6OUT7S0CQI0CTcfP_5S3Ey6sP4pMxwfFu_FEqgv1JoR0wEhrm_jQ983RJPofpe9HlDqjwHJ7e7hfnvzgQesWgZX3BmSMDl1UVretXQeAYUg-- Received: from [71.61.220.126] by web56804.mail.re3.yahoo.com via HTTP; Sun, 12 Oct 2008 13:30:20 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Sun, 12 Oct 2008 13:30:20 -0700 (PDT) From: mdh To: ton80 , freebsd-questions@freebsd.org, Ted Mittelstaedt In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <772800.98980.qm@web56804.mail.re3.yahoo.com> Cc: Subject: RE: Installation Hangs 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: Sun, 12 Oct 2008 20:30:21 -0000 > Yes, you can remove the hard disk, put it in a different > machine, > install FreeBSD on it, then move the disk back. At that point, if you don't need a graphical console, then a serial console might be a good work-around option. http://www.freebsd.org/doc/en/books/handbook/serialconsole-setup.html for more info. - mdh From owner-freebsd-questions@FreeBSD.ORG Sun Oct 12 22:58: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 E6231106568A for ; Sun, 12 Oct 2008 22:58:10 +0000 (UTC) (envelope-from v.velox@vvelox.net) Received: from vulpes.vvelox.net (vulpes.vvelox.NET [74.200.198.26]) by mx1.freebsd.org (Postfix) with ESMTP id C336A8FC0A for ; Sun, 12 Oct 2008 22:58:10 +0000 (UTC) (envelope-from v.velox@vvelox.net) Received: from vixen42 (c-67-173-22-216.hsd1.il.comcast.net [67.173.22.216]) (Authenticated sender: v.velox) by vulpes.vvelox.net (Postfix) with ESMTP id DB8B5B840; Sun, 12 Oct 2008 18:03:08 -0500 (CDT) Date: Sun, 12 Oct 2008 17:59:41 -0500 From: "Zane C.B." To: freebsd-questions@freebsd.org, Wojciech Puchar Message-ID: <20081012175941.4d675ad0@vixen42> In-Reply-To: <20081012162321.V39974@wojtek.tensor.gdynia.pl> References: <20081012162321.V39974@wojtek.tensor.gdynia.pl> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd6.3) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/PAw+FLELKVV=71V3p1V/_SE"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: Subject: Re: IAX2 (or SIP) softphone 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: Sun, 12 Oct 2008 22:58:11 -0000 --Sig_/PAw+FLELKVV=71V3p1V/_SE Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 12 Oct 2008 16:23:54 +0200 (CEST) Wojciech Puchar wrote: > anyone know something good. >=20 > good=3Dsimply, works well, preferably no or minimal GUI. The most reliable is 'net/ekiga'. I've run into problems with 'net/kiax' and crossing NAT. That was nearly two years ago so it may have been fixed. 'net/twinkle' works for some people, but for me it has always core dumped. If you feel like rolling your own, their is 'net/p5-Net-SIP'. --Sig_/PAw+FLELKVV=71V3p1V/_SE Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjygWEACgkQqrJJy0yxYQDckACghwzg1p4+TD3QBz5aR0ZIcFE1 K7MAnjKJhcLo/uAn8CpLc6jwVuSYI8Wv =eRLN -----END PGP SIGNATURE----- --Sig_/PAw+FLELKVV=71V3p1V/_SE-- From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 00: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 87EE5106568C for ; Mon, 13 Oct 2008 00:34:11 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmmtao101.cox.net (eastrmmtao101.cox.net [68.230.240.7]) by mx1.freebsd.org (Postfix) with ESMTP id 1AB998FC16 for ; Mon, 13 Oct 2008 00:34:10 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao101.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20081013003410.TFHB11636.eastrmmtao101.cox.net@eastrmimpo01.cox.net> for ; Sun, 12 Oct 2008 20:34:10 -0400 Received: from [72.204.148.162] ([72.204.148.162]) by eastrmimpo01.cox.net with bizsmtp id S0a91a0083WU3WG020aApc; Sun, 12 Oct 2008 20:34:10 -0400 X-Authority-Analysis: v=1.0 c=1 a=Wajolswj7cQA:10 a=zGrFt5wvSVanlZO6UNwA:9 a=GdnZjEmQq1gYxaJZj_MswbYIiXsA:4 a=c5zHXd76wwQA:10 X-CM-Score: 0.00 From: "Conrad J. Sabatier" To: freebsd-questions@freebsd.org Date: Sun, 12 Oct 2008 19:33:54 -0500 MIME-Version: 1.0 Message-ID: <48F25122.29498.9923DDC@conrads.cox.net> Priority: normal In-reply-to: <48F034BE.1020001@brianwhalen.net> References: <48EFE00B.32391.87A6C@conrads.cox.net>, <48F034BE.1020001@brianwhalen.net> 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: Re: 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: Mon, 13 Oct 2008 00:34:11 -0000 On 10 Oct 2008 at 22:08, Brian wrote: > 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. [snip] > 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. No, the install process breaks down when I go to the disk partitioning screen, as no useable disks are being found at all. I'll try to gather more detailed info on my hardware and try asking again. Also will try 7.1-BETA, although I'm rather pessimistic since I've already tried the latest CURRENT snapshot with the same results. :-( Conrad From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 01:15: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 590681065690 for ; Mon, 13 Oct 2008 01:15: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 16C828FC08 for ; Mon, 13 Oct 2008 01:15:04 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1KpC1X-00050b-1b for freebsd-questions@freebsd.org; Mon, 13 Oct 2008 01:15:03 +0000 Received: from hexadecagram.org ([166.70.126.65]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Oct 2008 01:15:03 +0000 Received: from acc by hexadecagram.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Oct 2008 01:15:03 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Anthony Chavez Date: Sun, 12 Oct 2008 19:10:31 -0600 Lines: 28 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: hexadecagram.org User-Agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724) Sender: news Subject: RAID migration X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 01:15:05 -0000 Dear freebsd-questions, I have a HighPoint 1820 RAID controller that is using 1 channel for an OS drive and 3 channels for a RAID-5 array. I'm interested in migrating to a new (possibly non-HighPoint) card, and am wondering if I will be able to plug the OS drive into one channel on the new card and have it "just work." Is it a safe bet that it will? I'm curious to know if the array could be migrated just as easily, or if I should listen to my instinct and count on bumping into incompatibilities due to proprietary implementations. Here are the relevant dmesg lines of my system as it stands: hptrr: HPT RocketRAID controller driver v1.1 (Jun 7 2008 14:01:57) hptmv0: mem 0xf2000000-0xf207ffff irq 24 at device 1.0 on pci2 hptmv0: [GIANT-LOCKED] hptmv0: [ITHREAD] hptrr: no controller detected. da0 at hptmv0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-0 device da1 at hptmv0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-0 device -- Anthony Chavez http://hexadecagram.org/ mailto:acc@hexadecagram.org xmpp:acc@hexadecagram.org From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 04:09: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 C72F41065694 for ; Mon, 13 Oct 2008 04:09:40 +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 740808FC14 for ; Mon, 13 Oct 2008 04:09:40 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA01.westchester.pa.mail.comcast.net ([76.96.62.11]) by QMTA07.westchester.pa.mail.comcast.net with comcast id RsMG1a0030EZKEL5749fjp; Mon, 13 Oct 2008 04:09:39 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA01.westchester.pa.mail.comcast.net with comcast id S49e1a0022P6wsM3M49ed4; Mon, 13 Oct 2008 04:09:39 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=jE9KjmuEKUjxM7mixGcA:9 a=RpeGhdXBvp-7mUlk4dgEclSYxnkA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id C492AC9419; Sun, 12 Oct 2008 21:09:37 -0700 (PDT) Date: Sun, 12 Oct 2008 21:09:37 -0700 From: Jeremy Chadwick To: Anthony Chavez Message-ID: <20081013040937.GA8578@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: RAID migration X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 04:09:40 -0000 On Sun, Oct 12, 2008 at 07:10:31PM -0600, Anthony Chavez wrote: > Dear freebsd-questions, > > I have a HighPoint 1820 RAID controller that is using 1 channel for an > OS drive and 3 channels for a RAID-5 array. I'm interested in migrating > to a new (possibly non-HighPoint) card, and am wondering if I will be > able to plug the OS drive into one channel on the new card and have it > "just work." Is it a safe bet that it will? It "probably" will work, assuming that the OS disk is not configured as a RAID or array member in the RAID cards' BIOS. Meaning, if you're using the disk on the controller purely in a "JBOD" fashion, yes, it should work. > I'm curious to know if the array could be migrated just as easily, or if > I should listen to my instinct and count on bumping into > incompatibilities due to proprietary implementations. I can absolutely guarantee you that you will lose access to all of your data once you plug those 3 disks into another controller. You need to back up all of your data from the RAID-5 array using something like rsync, cpdup, or dump, move the disks over to the non-RAID controller, format them (in whatever fashion you want), and then restore the backup. -- | 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 13 04:28: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 68D00106568E for ; Mon, 13 Oct 2008 04:28:06 +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 EF03F8FC1B for ; Mon, 13 Oct 2008 04:28:05 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KpF2K-0002VG-6d for freebsd-questions@freebsd.org; Mon, 13 Oct 2008 04:28:04 +0000 Received: from hexadecagram.org ([166.70.126.65]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Oct 2008 04:28:04 +0000 Received: from acc by hexadecagram.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Oct 2008 04:28:04 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Anthony Chavez Date: Sun, 12 Oct 2008 22:27:47 -0600 Lines: 43 Message-ID: References: <20081013040937.GA8578@icarus.home.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: hexadecagram.org User-Agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724) In-Reply-To: <20081013040937.GA8578@icarus.home.lan> Sender: news Subject: Re: RAID migration X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 04:28:06 -0000 Jeremy Chadwick wrote: > On Sun, Oct 12, 2008 at 07:10:31PM -0600, Anthony Chavez wrote: >> Dear freebsd-questions, >> >> I have a HighPoint 1820 RAID controller that is using 1 channel for an >> OS drive and 3 channels for a RAID-5 array. I'm interested in migrating >> to a new (possibly non-HighPoint) card, and am wondering if I will be >> able to plug the OS drive into one channel on the new card and have it >> "just work." Is it a safe bet that it will? > > It "probably" will work, assuming that the OS disk is not configured > as a RAID or array member in the RAID cards' BIOS. Meaning, if you're > using the disk on the controller purely in a "JBOD" fashion, yes, it > should work. In the WebGUI's "logical device information" section, that particular drive is listed as a "hard disk" whereas the other 3 are clearly spelled out as a "RAID 5" array. When I shut the machine down, I will check the BIOS itself to see if it specifically states "JBOD." Thanks for the pointer. Regardless, I will be backing it up before I attempt to plug it into a new RAID controller. >> I'm curious to know if the array could be migrated just as easily, or if >> I should listen to my instinct and count on bumping into >> incompatibilities due to proprietary implementations. > > I can absolutely guarantee you that you will lose access to all of your > data once you plug those 3 disks into another controller. > > You need to back up all of your data from the RAID-5 array using > something like rsync, cpdup, or dump, move the disks over to the > non-RAID controller, format them (in whatever fashion you want), > and then restore the backup. Exactly what I planned to do, but figured I'd ask anyhow. ;-) Thank you for responding. -- Anthony Chavez http://hexadecagram.org/ mailto:acc@hexadecagram.org xmpp:acc@hexadecagram.org From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 04:44: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 A4B241065692 for ; Mon, 13 Oct 2008 04:44:40 +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 5022D8FC12 for ; Mon, 13 Oct 2008 04:44:39 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA10.westchester.pa.mail.comcast.net ([76.96.62.28]) by QMTA02.westchester.pa.mail.comcast.net with comcast id Roo31a0070cZkys524k3Jd; Mon, 13 Oct 2008 04:44:03 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA10.westchester.pa.mail.comcast.net with comcast id S4ke1a00F2P6wsM3W4kejU; Mon, 13 Oct 2008 04:44:39 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=DPQNWlXycKlM26iH354A:9 a=G8kyXiUXQ5uBCsNHKpAA:7 a=0K0cqY9mZRBqkPYTM1IUzMK7jCsA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 5A72DC9419; Sun, 12 Oct 2008 21:44:38 -0700 (PDT) Date: Sun, 12 Oct 2008 21:44:38 -0700 From: Jeremy Chadwick To: Anthony Chavez Message-ID: <20081013044438.GA9159@icarus.home.lan> References: <20081013040937.GA8578@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: RAID migration X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 04:44:40 -0000 On Sun, Oct 12, 2008 at 10:27:47PM -0600, Anthony Chavez wrote: > Jeremy Chadwick wrote: > > On Sun, Oct 12, 2008 at 07:10:31PM -0600, Anthony Chavez wrote: > >> Dear freebsd-questions, > >> > >> I have a HighPoint 1820 RAID controller that is using 1 channel for an > >> OS drive and 3 channels for a RAID-5 array. I'm interested in migrating > >> to a new (possibly non-HighPoint) card, and am wondering if I will be > >> able to plug the OS drive into one channel on the new card and have it > >> "just work." Is it a safe bet that it will? > > > > It "probably" will work, assuming that the OS disk is not configured > > as a RAID or array member in the RAID cards' BIOS. Meaning, if you're > > using the disk on the controller purely in a "JBOD" fashion, yes, it > > should work. > > In the WebGUI's "logical device information" section, that particular > drive is listed as a "hard disk" whereas the other 3 are clearly spelled > out as a "RAID 5" array. When I shut the machine down, I will check the > BIOS itself to see if it specifically states "JBOD." Thanks for the > pointer. It probably won't. JBOD is just a term used to describe a hard disk hooked to a RAID controller but not part of a RAID array. I'd start by pulling the OS disk out and hooking it to a non-Highpoint controller and ensure it boots. Chances are it will. Some advice, assuming you haven't done this before: 1) Make note of what your filesystem layout is before migrating. "df" output should be sufficient. 2) When you boot it, FreeBSD will probably complain "unable to determine root filesystem". I'm guessing these are ATA/SATA disks. The kernel messages shown should list off what ATA disks are attached, and you'll have to make some educated guesses as to what it is, e.g. ufs:ad4s1a rather than the old ufs:da0s1a. You'll have to mount all the filesystems by hand (mount /dev/ad4s1d /var, etc. -- this is what #1 was for :-) ) so you can get access to vi, so you can vi /etc/fstab and fix the problem. You can also use ed(1) to do the fstab editing without having to mount everything, if you're familiar with it. Hope this helps. -- | 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 13 05:01: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 93FA11065687 for ; Mon, 13 Oct 2008 05:01:39 +0000 (UTC) (envelope-from ws@au.dyndns.ws) Received: from ipmail05.adl2.internode.on.net (ipmail05.adl2.internode.on.net [203.16.214.145]) by mx1.freebsd.org (Postfix) with ESMTP id 1BA758FC0A for ; Mon, 13 Oct 2008 05:01:38 +0000 (UTC) (envelope-from ws@au.dyndns.ws) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aj8BAFZw8kiWZWdv/2dsb2JhbAAIuFSBbA X-IronPort-AV: E=Sophos;i="4.33,400,1220193000"; d="scan'208";a="228421509" Received: from ppp103-111.static.internode.on.net (HELO [192.168.1.150]) ([150.101.103.111]) by ipmail05.adl2.internode.on.net with ESMTP; 13 Oct 2008 15:31:35 +1030 From: Wayne Sierke To: ton80 In-Reply-To: <19944068.post@talk.nabble.com> References: <19944068.post@talk.nabble.com> Content-Type: text/plain Date: Mon, 13 Oct 2008 15:31:32 +1030 Message-Id: <1223874092.96482.42.camel@predator-ii.buffyverse> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Installation Hangs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 05:01:39 -0000 On Sun, 2008-10-12 at 10:54 -0700, ton80 wrote: > Hello, > I am trying to install FreeBSD. > During the install (actually at the beginning of the process) the system > hangs indefinitely. > When it gets to the select country screen...it is frozen. > During the boot process, as it is reading all the hardware, it finds the USB > controller OK then later it states there was an IO error and that the USB > controller is halted. I have a USB Keyboard and mouse...so I would say the > problem is here. > Is there any workaround I can use to get things going? > > Thanks, > ton80 I currently have to attach my USB k/b and mouse via a USB hub, rather than directly to the USB ports on this PC. I'm using a cheap no-name hub here at the moment and it has done the job so far. See if attaching via a hub improves things if you can. Wayne From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 05:44: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 431A2106569B for ; Mon, 13 Oct 2008 05:44:23 +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 D37548FC1B for ; Mon, 13 Oct 2008 05:44:22 +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 m9D5iX44028513; Sun, 12 Oct 2008 22:44:34 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 12 Oct 2008 22:44:16 -0700 (PDT) Date: Sun, 12 Oct 2008 22:44:15 -0700 From: Gary Kline To: Matthew Seaman Message-ID: <20081013054415.GB6708@thought.org> References: <7708.70177.qm@web56801.mail.re3.yahoo.com> <48F1B87E.6010803@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48F1B87E.6010803@infracaninophile.co.uk> 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: mdh_lists@yahoo.com, FreeBSD Mailing List Subject: Re: 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: Mon, 13 Oct 2008 05:44:23 -0000 On Sun, Oct 12, 2008 at 09:42:38AM +0100, Matthew Seaman wrote: > mdh wrote: > >--- On Sat, 10/11/08, Gary Kline wrote: > >> 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 > > > >If what you wish to do is simply get rid of /usr in a string, you can use > >sed like so: > >varWithoutUsr=`echo ${varWithUsr} |sed -e 's/\/usr//'` > >After running this, where $varWithUsr is the variable containing a string > >like "/usr/home/blah", the variable $varWithoutUsr will be equal to > >"/home/blah". I create simple scripts like this all the time to rename > >batches of files, for example. > >The easier way is probably just to not specify a dir to scp's remote path > >though, since it defaults to the user's home directory. > > Or, in anything resembling Bourne shell: > > varWithoutUsr=${varWithUsr#/usr} I'll be damrned! It works--I've used the zsh for almost 20 years; it's a ksh clone++. How, may I ask, does this work? (I've seen ksh chopping from the RHS; I wrote a short C util to axe any part of a string, but have never seen *this* voodoo. LOL++) In any event, merci infiniement! gary PS: this will save my rsync scripts too. > > 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 > -- 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 13 05:52: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 A59871065694 for ; Mon, 13 Oct 2008 05:52:58 +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 550B28FC15 for ; Mon, 13 Oct 2008 05:52:58 +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 m9D5rCeu028543; Sun, 12 Oct 2008 22:53:12 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 12 Oct 2008 22:52:53 -0700 (PDT) Date: Sun, 12 Oct 2008 22:52:53 -0700 From: Gary Kline To: Jeremy Chadwick Message-ID: <20081013055253.GC6708@thought.org> References: <7708.70177.qm@web56801.mail.re3.yahoo.com> <48F1B87E.6010803@infracaninophile.co.uk> <20081012084931.GA84974@icarus.home.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081012084931.GA84974@icarus.home.lan> 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: mdh_lists@yahoo.com, FreeBSD Mailing List Subject: Re: 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: Mon, 13 Oct 2008 05:52:58 -0000 On Sun, Oct 12, 2008 at 01:49:31AM -0700, Jeremy Chadwick wrote: > On Sun, Oct 12, 2008 at 09:42:38AM +0100, Matthew Seaman wrote: > > mdh wrote: > >> --- On Sat, 10/11/08, Gary Kline wrote: > >>> 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 > >> > >> If what you wish to do is simply get rid of /usr in a string, you can use sed like so: > >> varWithoutUsr=`echo ${varWithUsr} |sed -e 's/\/usr//'` > >> After running this, where $varWithUsr is the variable containing a > >> string like "/usr/home/blah", the variable $varWithoutUsr will be equal > >> to "/home/blah". I create simple scripts like this all the time to > >> rename batches of files, for example. > >> > >> The easier way is probably just to not specify a dir to scp's remote > >> path though, since it defaults to the user's home directory. > > > > Or, in anything resembling Bourne shell: > > > > varWithoutUsr=${varWithUsr#/usr} > > And I'll take a moment to recommend Matthew's method, since it does not > involve fork()ing an additional process. > > When writing shell scripts in general, it's best if you can avoid > spawning external processes for things which can be done easily > (keyword: easily!) within Bourne natively. There's no harm in doing it > for more complex things, but fork() is somewhat expensive, and try to > imagine what will happen to those scripts if the system lacks process > table space, etc... :-) Best to try and make everything > "self-contained" if possible. right; esp'ly since i'll be running at least two scripts daily-- at a min. besides, the simpler /bin/sh script is something i use to save code or prose just in case the sky falls! ah, no wonder this is the best list in the {known} universe > > -- > | 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 | > -- 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 13 06:13: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 606ED106568B for ; Mon, 13 Oct 2008 06:13:09 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [199.26.172.34]) by mx1.freebsd.org (Postfix) with ESMTP id 11DB38FC0C for ; Mon, 13 Oct 2008 06:13:08 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id m9D6D6gF059452 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 12 Oct 2008 23:13:07 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id m9D6D6IY059451 for freebsd-questions@freebsd.org; Sun, 12 Oct 2008 23:13:06 -0700 (PDT) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA03278; Sun, 12 Oct 08 22:13:14 PDT Date: Sun, 12 Oct 2008 22:13:57 -0700 From: perryh@pluto.rain.com To: freebsd-questions@freebsd.org Message-Id: <48f2d915.Dr/ouAifXwh7B9zN%perryh@pluto.rain.com> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: cc-mail file format X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 06:13:09 -0000 Is anyone aware of a program that can read cc-mail mailboxes, similar to readpst from mail/libpst for Outlook? From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 07:42: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 E9700106568B for ; Mon, 13 Oct 2008 07:42:42 +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 AB57E8FC12 for ; Mon, 13 Oct 2008 07:42:42 +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 1KpI4e-0003Qo-Ko; Mon, 13 Oct 2008 09:42:40 +0200 Date: Mon, 13 Oct 2008 09:42:40 +0200 (CEST) From: Konrad Heuer To: Kelly Jones In-Reply-To: <26face530810120930u121e8658hb93b93bc32e52a3b@mail.gmail.com> Message-ID: <20081013092722.S9114@gwdu60.gwdg.de> References: <26face530810120930u121e8658hb93b93bc32e52a3b@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: freebsd-questions@freebsd.org Subject: Re: Can tcsh report 'command had no 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: Mon, 13 Oct 2008 07:42:43 -0000 On Sun, 12 Oct 2008, Kelly Jones wrote: > Can I force tcsh to say "previous command returned empty stdout" or > something? I often cut and paste shell output for my cow-orkers, and > it's crucial to note when a command returns nothing. > > Currently, I insert the information manually: > >> ls | fgrep 'phrase' > [no results] > > but it'd be nice if tcsh had a setting to do this automatically? Afaik there is no such setting. You could try something like set output = `command` if ( "$output" == "" ) then echo "previous command returned empty stdout" else echo "$output" endif in your scripts (if you're scripting). Not perfect since newlines are removed by command substitution, but maybe a starting point ... Best regards Konrad Heuer GWDG, Am Fassberg, 37077 Goettingen, Germany, kheuer2@gwdg.de From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 10: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 D806C1065678 for ; Mon, 13 Oct 2008 10:19:07 +0000 (UTC) (envelope-from sweetnavelorange@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.188]) by mx1.freebsd.org (Postfix) with ESMTP id 5360F8FC18 for ; Mon, 13 Oct 2008 10:19:07 +0000 (UTC) (envelope-from sweetnavelorange@gmail.com) Received: by ti-out-0910.google.com with SMTP id d27so853733tid.3 for ; Mon, 13 Oct 2008 03:19: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:mime-version:content-type:content-transfer-encoding :content-disposition; bh=woNIfHLfZCr3WuWIVXzGsTaf/uYyc9jOCnaq4tSv1xU=; b=eh8afXRNTGaK2+myodaiphC5GBEW9fbFttpdlIX3jB0gaZ9tkjIPp6Um3sUldPQzAd 3vYqJNNKCHi7jpuMg6nqz8buoENCoT7Hry+AdNB6b6bgaHAVTp2me198aNhf59b4kzfB C5XPFb5BMhsEMm/m1s57sp2gzLQQRhBoxnCPY= 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=jqEuPImKBzp8NyHz7QzFwgBkObc2TKCt/XXFkhUxftlRUFJKTqxbShW/OytjC7sS1o 16a6GSQRwc+ubuGBL//Kzf4CkKGvA7Zw2UiYSsxWcfNV2MoLmgF1jM/8dN7/YMQinyNZ 6V393dm4UHPRqu+oc8uWKCpJXauKTMmxJcQsg= Received: by 10.110.109.12 with SMTP id h12mr5110467tic.52.1223891587539; Mon, 13 Oct 2008 02:53:07 -0700 (PDT) Received: by 10.110.105.2 with HTTP; Mon, 13 Oct 2008 02:53:07 -0700 (PDT) Message-ID: Date: Mon, 13 Oct 2008 22:53:07 +1300 From: "James Butler" To: freebsd-gnome@freebsd.org, freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Minor problems with Xfce X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 10:19:07 -0000 Greetings all, I'm using 7-stable on my Thinkpad X31, with Xfce recently (2 weeks or so) installed from packages. I have two minor problems with Xfce, at least one of which could be HAL/DBUS related - I'd appreciate some advice to rule out misconfiguration on my part. Firstly, when I bring up the Xfce Exit dialog, the Restart and Shutdown buttons are greyed out. I have read the Xfce FAQ on the subject, which mentions that the session manager tries HAL shutdown methods first, then falls back to sudo. I don't have sudo installed, but I have both hald and dbus (system and session) running. Checking the xsession error log after an attempted Exit reveals: ** Message: xfsm-shutdown-helper.c:215: HAL not available or does not permit to shutdown/reboot the computer, trying sudo fallback instead. and (as expected): ** (xfce4-session:1066): WARNING **: sudo was not found. You will not be able to shutdown your system from within Xfce Looking at xfsm-shutdown-helper.c I see that the session manager probes HAL for shutdown support by trying a dummy method call: /* this is a simple trick to check whether we are allowed to * use the org.freedesktop.Hal.Device.SystemPowerManagement * interface without shutting down/rebooting now. */ message = dbus_message_new_method_call ("org.freedesktop.Hal", "/org/freedesktop/Hal/devices/computer", "org.freedesktop.Hal.Device.SystemPowerManagement", "ThisMethodMustNotExistInHal"); [snip] /* if we receive org.freedesktop.DBus.Error.UnknownMethod, then * we are allowed to shutdown/reboot the computer via HAL. */ if (strcmp (error.name, "org.freedesktop.DBus.Error.UnknownMethod") == 0) So out of curiosity I tried this manually and got the 'correct' error: $ dbus-send --system --print-reply --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.ThisMethodMustNotExistInHal Error org.freedesktop.DBus.Error.UnknownMethod: Method "ThisMethodMustNotExistInHal" with signature "" on interface "org.freedesktop.Hal.Device.SystemPowerManagement" doesn't exist Now I don't claim to understand much of this, so any help would be greatly appreciated. I have provided the output of various commands from the freebsd-gnome Bugging guide at http://homepages.ihug.co.nz/~sweetnavelorange/. My other problem is possibly unrelated, but any actions I perform which would remove or update icons on the desktop (deleting a file, emptying Trash) don't take effect until xfdesktop is restarted or I log out and then in. Any ideas? Notably, automatic detection and mounting of USB drives, which seems to be a fragile area for many HAL users, works perfectly for me. Thanks in advance, -James Butler From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 10:28: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 DA9B9106568C for ; Mon, 13 Oct 2008 10:28:32 +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 02CBB8FC26 for ; Mon, 13 Oct 2008 10:28:27 +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 m9DASILt056470; Mon, 13 Oct 2008 12:28:18 +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 m9DASGLL056467; Mon, 13 Oct 2008 12:28:18 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 13 Oct 2008 12:28:15 +0200 (CEST) From: Wojciech Puchar To: "Zane C.B." In-Reply-To: <20081012175941.4d675ad0@vixen42> Message-ID: <20081013122726.X56368@wojtek.tensor.gdynia.pl> References: <20081012162321.V39974@wojtek.tensor.gdynia.pl> <20081012175941.4d675ad0@vixen42> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: IAX2 (or SIP) softphone 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, 13 Oct 2008 10:28:32 -0000 >> anyone know something good. >> >> good=simply, works well, preferably no or minimal GUI. > > The most reliable is 'net/ekiga'. I've run into problems with > 'net/kiax' and crossing NAT. That was nearly two years ago so it may for now kiax works for me (but no NAT), just they automatic gain control and noise reduction should be disabled, as it works funny at least :) thanks From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 10:40: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 F1FE71065697 for ; Mon, 13 Oct 2008 10:40:51 +0000 (UTC) (envelope-from jeremyhooks@googlemail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7D4678FC16 for ; Mon, 13 Oct 2008 10:40:51 +0000 (UTC) (envelope-from jeremyhooks@googlemail.com) Received: by ik-out-1112.google.com with SMTP id c29so1168118ika.3 for ; Mon, 13 Oct 2008 03:40:47 -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=yrWY9Y85UFSxIl7X1x2pJav0qa9hciQrni5iiON/Vdk=; b=BeMrbxnDJvwpv6mGYeyYZ2egxtXaka/Xomt/2tBIYJCtG9DmFgspsnhltpzYrt7gIV epQYVr6L79faZtx7Ag2BTqF3KfX16Gqm/mvA4JJ19MYb6wMRfNCHtXhXamyoclskqluY KlFzKfPdspzkbIFc5SxlmMCMIA3opbTLq1kBQ= 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=IuYdBalxnByZRNvNU/pyw/FCJGVyV7NPKT08ROlIdoJq1FeEz5c2EoAszZUVx1O6sd 3nPZsMoc0Ba5vhQZO/t00Kl5/ZxCd3xjh+92h3Cue70F3fys5Yn5loFiWO3IPH+uxFis P7GzDUGQA+zz0dzkSK2/rj3g41L+juZDmGFBw= Received: by 10.210.41.1 with SMTP id o1mr5291150ebo.75.1223894447796; Mon, 13 Oct 2008 03:40:47 -0700 (PDT) Received: by 10.210.82.9 with HTTP; Mon, 13 Oct 2008 03:40:47 -0700 (PDT) Message-ID: Date: Mon, 13 Oct 2008 11:40:47 +0100 From: "Jeremy Hooks" To: "Gary Kline" In-Reply-To: <20081013054415.GB6708@thought.org> MIME-Version: 1.0 References: <7708.70177.qm@web56801.mail.re3.yahoo.com> <48F1B87E.6010803@infracaninophile.co.uk> <20081013054415.GB6708@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 Cc: FreeBSD Mailing List Subject: Re: 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: Mon, 13 Oct 2008 10:40:52 -0000 > How, may I ask, does this work? If you search the bash man file you can find this and lots of other useful constructs, search for 'Parameter Expansion' - I'm not sure how much of this relates to other Bourne Shell derivatives, but I don't imagine it would be difficult to test it out. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 11:00: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 88AF01065696 for ; Mon, 13 Oct 2008 11:00:48 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.177]) by mx1.freebsd.org (Postfix) with ESMTP id 0BA848FC12 for ; Mon, 13 Oct 2008 11:00:47 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by ik-out-1112.google.com with SMTP id c29so1173460ika.3 for ; Mon, 13 Oct 2008 04:00: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 :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=NK75J99b9ppoA6ccBa8HavX6oiYYdcZzxHnOWfMKVYQ=; b=utTpGbz1/nh/wIBeKr6vRj4bIDOPJztBtwnXICmv1sIDgq7bwIJvc4qo+AI39J5mpx lx5lSPCJLFpNm21xKlWclbqZ7F5RwtvPz2CcbJRijDbrD7OOr6XRLmIgIuTfyd8zZFcd BF7w9n3y/QQ+zjhQI1oDtxFHVP6ubyAvXkKEM= 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=GF4TeQ2zNHwxIUSXb0bC3oNTGva4OSxMG9yOVX7f8PVjLX4Vi7JtHze9QZB2Kq+Pnk ps2mbIeJmbGEXpfjJIppJq7vXDOKEhZotJJPH3+zAA2kTRbxXpqQlDHFRbJwBZ8L4Iby QQuio5C+v7z8M/euYcEsvzmIra6lB1eRwpc6U= Received: by 10.103.181.2 with SMTP id i2mr343299mup.119.1223895646741; Mon, 13 Oct 2008 04:00:46 -0700 (PDT) Received: from atlantis.dyndns.org (athedsl-324342.home.otenet.gr [85.72.122.148]) by mx.google.com with ESMTPS id j9sm22740174mue.3.2008.10.13.04.00.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 13 Oct 2008 04:00:45 -0700 (PDT) Message-ID: <48F32A5B.2010408@gmail.com> Date: Mon, 13 Oct 2008 14:00:43 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.17 (X11/20081011) MIME-Version: 1.0 To: James Butler References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Minor problems with Xfce X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 11:00:48 -0000 James Butler wrote: > Greetings all, > > I'm using 7-stable on my Thinkpad X31, with Xfce recently (2 weeks or > so) installed from packages. I have two minor problems with Xfce, at > least one of which could be HAL/DBUS related - I'd appreciate some > advice to rule out misconfiguration on my part. > > Firstly, when I bring up the Xfce Exit dialog, the Restart and > Shutdown buttons are greyed out. I have read the Xfce FAQ on the > subject, which mentions that the session manager tries HAL shutdown > methods first, then falls back to sudo. I don't have sudo installed, > but I have both hald and dbus (system and session) running. > > Checking the xsession error log after an attempted Exit reveals: > > ** Message: xfsm-shutdown-helper.c:215: HAL not available or does not > permit to shutdown/reboot the computer, trying sudo fallback instead. > > and (as expected): > > ** (xfce4-session:1066): WARNING **: sudo was not found. You will not > be able to shutdown your system from within Xfce > > Looking at xfsm-shutdown-helper.c I see that the session manager > probes HAL for shutdown support by trying a dummy method call: > > /* this is a simple trick to check whether we are allowed to > * use the org.freedesktop.Hal.Device.SystemPowerManagement > * interface without shutting down/rebooting now. > */ > message = dbus_message_new_method_call ("org.freedesktop.Hal", > > "/org/freedesktop/Hal/devices/computer", > > "org.freedesktop.Hal.Device.SystemPowerManagement", > "ThisMethodMustNotExistInHal"); > > [snip] > > /* if we receive org.freedesktop.DBus.Error.UnknownMethod, then > * we are allowed to shutdown/reboot the computer via HAL. > */ > if (strcmp (error.name, "org.freedesktop.DBus.Error.UnknownMethod") == 0) > > So out of curiosity I tried this manually and got the 'correct' error: > > $ dbus-send --system --print-reply --dest=org.freedesktop.Hal > /org/freedesktop/Hal/devices/computer > org.freedesktop.Hal.Device.SystemPowerManagement.ThisMethodMustNotExistInHal > Error org.freedesktop.DBus.Error.UnknownMethod: Method > "ThisMethodMustNotExistInHal" with signature "" on interface > "org.freedesktop.Hal.Device.SystemPowerManagement" doesn't exist > > Now I don't claim to understand much of this, so any help would be > greatly appreciated. I have provided the output of various commands > from the freebsd-gnome Bugging guide at > http://homepages.ihug.co.nz/~sweetnavelorange/. > > My other problem is possibly unrelated, but any actions I perform > which would remove or update icons on the desktop (deleting a file, > emptying Trash) don't take effect until xfdesktop is restarted or I > log out and then in. Any ideas? Notably, automatic detection and > mounting of USB drives, which seems to be a fragile area for many HAL > users, works perfectly for me. > > Thanks in advance, > -James Butler > Insert something like the following in your /usr/local/etc/PolicyKit/PolicyKit.conf (between the tags): Have a look at /usr/local/share/PolicyKit/policy. Examine the contents of the files there to see possible actions. It may also help to have a look at this page, if you haven't already: http://www.freebsd.org/gnome/docs/halfaq.html I have some annoyances with XFCE myself, but I haven't bothered seriously to fix them. I have the same no-icon-update problem on my desktop. I keep pressing F5 as a workaround. Like in your case, USB flash drive mounting works perfectly. Another thing that does not work for me, is clicking an http link in an app: it will not open firefox. Weird, as firefox is selected as the default / preferred browser. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 11:10: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 564A71065687 for ; Mon, 13 Oct 2008 11:10:36 +0000 (UTC) (envelope-from lmn1000@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.freebsd.org (Postfix) with ESMTP id 7868D8FC16 for ; Mon, 13 Oct 2008 11:10:35 +0000 (UTC) (envelope-from lmn1000@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so757799nfh.33 for ; Mon, 13 Oct 2008 04:10: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:sender :to:subject:mime-version:content-type:content-transfer-encoding :content-disposition:x-google-sender-auth; bh=ISrIEsOL62/9pNta1zdV9v9P2nd25Gn0E5OIBquoCIs=; b=YcN2PIcdCUFxA0ByxCgo8cULjqPEaG8bNzVkQB0/JlGQYEgCsXq49P6GI8HpEpb8Be u719VyPOpxb3E5l3LW3L4Vr2icfuYcReXWF8RWPLy4AU6ta+Ig65rFqaahmKDIFRHmGP r+/Rkqmyqs696LZ1ANz5OnSFQD7Ps3bf7HSqM= 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=Ltywc3znAu7tNoGIzc0nhfQxCzurPfks8H10QEs8MMp9yFsy9GFpzBTu2KOV5a3XhQ PXI8nobwJCU9KRi15uW31LuVmI84KFJ7OzVjog/JM12U/z2dXqc7gS2dNrvn4+FALTMw NtMTN7klfy8uDIoXBVfht8D1R6e+whl5hSIVU= Received: by 10.210.134.5 with SMTP id h5mr5297437ebd.85.1223894729321; Mon, 13 Oct 2008 03:45:29 -0700 (PDT) Received: by 10.210.123.6 with HTTP; Mon, 13 Oct 2008 03:45:29 -0700 (PDT) Message-ID: Date: Mon, 13 Oct 2008 14:45:29 +0400 From: "Michael Lednev" Sender: lmn1000@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: c157922cf7e1093b Subject: distributed.net proxyper X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 11:10:36 -0000 Hello. I'm having issue running this thing on 7.0-RELEASE # /usr/local/distributed.net/proxy/proxyper Bad system call (core dumped) Somebody seen this error or I'm just lucky? -- wbr, Michael From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 11:57: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 D71911065698 for ; Mon, 13 Oct 2008 11:57:13 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.189]) by mx1.freebsd.org (Postfix) with ESMTP id 605CF8FC2F for ; Mon, 13 Oct 2008 11:57:12 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by mu-out-0910.google.com with SMTP id i2so1668758mue.3 for ; Mon, 13 Oct 2008 04:57: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=0dHLrhyYMfk615Nyr0JEb9WQhmfxCY2xlgNZ8sXzEqs=; b=lzWSXM6pjs0+argpQyw8/SHQf+qxzLDoq7LkMMnNnRze/cgLFWO7Zl8t6mQ6Y/4EQe Vk0cgbK4nUdt/4ss0+wqlpZkqVM/ChxuJlFEBf2EC0pkuVVpDu5P8xz8ctLa9wIkCWI3 DemcpVQ7mRvV2nI4seLcL3lm3K8Lr+iAdP8pI= 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=T3+0RgeWXgvkwzBRpyXWFxEvD1K8jUWsS7rQ0ihnkygXFSFLIz5eu+UdUeL/VoB0H7 GXlmPKTt90PcZ+rKBamcaUt+eaZNBYjEOMr0Q/TjeWu0FCELCGHy8nTYessDoFpBjSAc XZIfDswPOU9EfU1916YIumuFTyV4sAb1I6sEo= Received: by 10.181.60.13 with SMTP id n13mr4371755bkk.92.1223899031642; Mon, 13 Oct 2008 04:57:11 -0700 (PDT) Received: from atlantis.dyndns.org (athedsl-324342.home.otenet.gr [85.72.122.148]) by mx.google.com with ESMTPS id 13sm6327422fks.6.2008.10.13.04.57.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 13 Oct 2008 04:57:10 -0700 (PDT) Message-ID: <48F33795.20008@gmail.com> Date: Mon, 13 Oct 2008 14:57:09 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.17 (X11/20081011) MIME-Version: 1.0 To: James Butler References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Minor problems with Xfce X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 11:57:13 -0000 James Butler wrote: > > My other problem is possibly unrelated, but any actions I perform > which would remove or update icons on the desktop (deleting a file, > emptying Trash) don't take effect until xfdesktop is restarted or I > log out and then in. Any ideas? Notably, automatic detection and > mounting of USB drives, which seems to be a fragile area for many HAL > users, works perfectly for me. > > Thanks in advance, > -James Butler > Just solved this one, quite silly it was ;) It seems Thunar is not built with FAM (File Alteration Monitor) support, hence it does not know when it needs to update folder views (or the desktop for that matter). So, simply rebuild with FAM: # cd /usr/ports/x11-fm/thunar # make config (Select FAM from the options dialog) # make deinstall reinstall Restart your X session. It will work then. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 12:03: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 EB7DA106568C for ; Mon, 13 Oct 2008 12:03:13 +0000 (UTC) (envelope-from v.velox@vvelox.net) Received: from vulpes.vvelox.net (vulpes.vvelox.NET [74.200.198.26]) by mx1.freebsd.org (Postfix) with ESMTP id C5B358FC1D for ; Mon, 13 Oct 2008 12:03:13 +0000 (UTC) (envelope-from v.velox@vvelox.net) Received: from vixen42 (c-67-173-22-216.hsd1.il.comcast.net [67.173.22.216]) (Authenticated sender: v.velox) by vulpes.vvelox.net (Postfix) with ESMTP id 40867B840; Mon, 13 Oct 2008 07:08:12 -0500 (CDT) Date: Mon, 13 Oct 2008 07:04:44 -0500 From: "Zane C.B." To: Wojciech Puchar Message-ID: <20081013070444.56c4dad6@vixen42> In-Reply-To: <20081013122726.X56368@wojtek.tensor.gdynia.pl> References: <20081012162321.V39974@wojtek.tensor.gdynia.pl> <20081012175941.4d675ad0@vixen42> <20081013122726.X56368@wojtek.tensor.gdynia.pl> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd6.3) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/f6kGRmPq=orQxGWJkkmaO57"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: freebsd-questions@freebsd.org Subject: Re: IAX2 (or SIP) softphone 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, 13 Oct 2008 12:03:14 -0000 --Sig_/f6kGRmPq=orQxGWJkkmaO57 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 13 Oct 2008 12:28:15 +0200 (CEST) Wojciech Puchar wrote: > >> anyone know something good. > >> > >> good=3Dsimply, works well, preferably no or minimal GUI. > > > > The most reliable is 'net/ekiga'. I've run into problems with > > 'net/kiax' and crossing NAT. That was nearly two years ago so it > > may >=20 > for now kiax works for me (but no NAT), just they automatic gain > control and noise reduction should be disabled, as it works funny > at least :) >=20 > thanks Sweet! I am currently in the process of drinking a large amount of Jagermiester so this may not make to sense. The problem I originally ran into is that behind goat fraging NAT I would run into issues receiving calls. The problem I ran into is that even though it is suppose to tranvese NAT with out issue,I would never receive incoming calls. In more recent tests I ran into issues with it and seg faulting like it just fraged a goat. The situation I was running into problems with was with asteresik behind NAT as well as the IAX using client. It is a known issue, or was then. Search the Asterisk archives for this email address if you interested in it some more. That goatse.cx issue was why I originally switched to that fraged solution that uses that POS of using the goatseing Gnome stuff. One I get a bit of spare time I am going to wring something that uses ZConf. Any ways, have a great night! May your nights be as bathed in the mercury vapor glow as mine are. --Sig_/f6kGRmPq=orQxGWJkkmaO57 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjzOWQACgkQqrJJy0yxYQAu5QCeJqrTnBSk9pQeJGdK1Al7r+fd 4+wAoINynrKAVt6kf2vPg9hmW1xbrwQw =FtQG -----END PGP SIGNATURE----- --Sig_/f6kGRmPq=orQxGWJkkmaO57-- From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 12:17: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 6C89E1065691 for ; Mon, 13 Oct 2008 12:17:20 +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 2BB678FC0C for ; Mon, 13 Oct 2008 12:17:19 +0000 (UTC) (envelope-from rvm@CBORD.com) X-AuditID: ac1f0165-00000ed400000410-5e-48f33c255b4b Received: from Email.cbord.com ([10.1.1.100]) by smssmtp.cbord.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 13 Oct 2008 08:16:37 -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: Mon, 13 Oct 2008 08:16:04 -0400 Message-ID: In-Reply-To: <20081010212304.1bbc9996@gumby.homeunix.com.> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Firewall and FreeBSD ports Thread-Index: AckrFd6yMvTmUHlQTT6cBeiNiUX59wCFxtwg References: <110C2D5E-5772-4304-9F90-FDAC5EACAE2E@identry.com><20081010165116.GA37287@icarus.home.lan><20081010185432.6eed9643@gumby.homeunix.com.><20081010184140.GA40049@icarus.home.lan> <20081010212304.1bbc9996@gumby.homeunix.com.> From: "Bob McConnell" To: X-Brightmail-Tracker: AAAAAA== 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: Mon, 13 Oct 2008 12:17:20 -0000 On Behalf Of RW > I don't normally do this as Watson is usually less impressed when > Holmes reveals his working, but the clues were there. He wrote:=20 >=20 > "install software with ports (i.e, the=20 > /usr/ports collection.)" >=20 > and=20 >=20 > "FTP to grab source files from mirrors" >=20 > 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.=20 >=20 > 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. >=20 > The answer is: enable outgoing tcp connections to port 21 and to all > ports above 1023. Is there a way to set up any firewall so that while there is an active outgoing connection on port 21, allow any incoming connections from the same IP address? Bob McConnell From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 13:21: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 630E71065689 for ; Mon, 13 Oct 2008 13:21:08 +0000 (UTC) (envelope-from fbsdlists@gmail.com) Received: from mail-gx0-f16.google.com (mail-gx0-f16.google.com [209.85.217.16]) by mx1.freebsd.org (Postfix) with ESMTP id 044938FC1A for ; Mon, 13 Oct 2008 13:21:07 +0000 (UTC) (envelope-from fbsdlists@gmail.com) Received: by gxk9 with SMTP id 9so2731378gxk.19 for ; Mon, 13 Oct 2008 06:21:07 -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=QE6Kie4RzuXxIySslOnpCcmeDMtjJ1XXDiWjt08F56I=; b=qzJIia/dQW6pevr+C257JL56pM29G0kqplMs/wv5bFVl1GqCiWfA/iAqnIXOPU7Hst gdDFR5UW3I59jYGCzbdakY//i6mvI5mQLq6Kjs5u66dld1pT0JFOjAC4OIQBmOhlfbj0 7r5GTj2TAMcRxAKb6QIJZO/W0mW72CZWPJiNg= 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=wqdNPV8tKNAje9niPq3dZ243Tiu1h69e/fs3o3TkL7tiDXbsqtGBA2nRT2jSY8zGKH EXh38hllrMCW6KfQhP43Yi2SlyCZafXmZlLOjaIHGQZCYuo+l3eqVPd1QT1MI/1uLauB tBxozHHL0PSyGESm3/jmIle/HjhtNNm3I+cds= Received: by 10.151.157.1 with SMTP id j1mr8127612ybo.103.1223904067282; Mon, 13 Oct 2008 06:21:07 -0700 (PDT) Received: by 10.150.97.11 with HTTP; Mon, 13 Oct 2008 06:21:06 -0700 (PDT) Message-ID: <54db43990810130621s63ea1ec9nc085d79b0c230ad6@mail.gmail.com> Date: Mon, 13 Oct 2008 09:21:06 -0400 From: "Bob Johnson" To: "Mark Tinguely" In-Reply-To: <200810110221.m9B2LNsK047864@casselton.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48EFE927.6000404@datapipe.com> <200810110221.m9B2LNsK047864@casselton.net> 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: Mon, 13 Oct 2008 13:21:08 -0000 On 10/10/08, Mark Tinguely wrote: >> > 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. > Thanks. I'll see what happens. In amd64/7.0 is there any chance running out of pv_entrys would show up as failures in interprocess communication rather than a panic? The original symptom was that certain web pages (or jailed servers, I'm not sure) were unreachable, as if the firewall were misconfigured, until the system was rebooted. I didn't get to look at the system before it was rebooted, and I find very little in the logs to explain what was going on. Thanks again, - Bob fbsdlists@gmail.com From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 13:38: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 762921065686 for ; Mon, 13 Oct 2008 13:38:58 +0000 (UTC) (envelope-from eforezz@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 0693D8FC12 for ; Mon, 13 Oct 2008 13:38:57 +0000 (UTC) (envelope-from eforezz@gmail.com) Received: by ey-out-2122.google.com with SMTP id 6so542413eyi.7 for ; Mon, 13 Oct 2008 06:38:56 -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=vbJibUCe/xwL5xP7VYoJm0JQvJSUCqWYHtah3QL47Ow=; b=KXZnLwqZEUjICsQfbq767kSI/ppOs36Kxqfeoor6HSnKfWwvcUkY+lsORVeAY5SKBt 7rcSLp/dwzoyKFF3uU5nEHj3dvOYOiSQW7LGqeXeXCiw1+fasB4HOtNfdLDKxP6MZ4c8 6ZRlIjFmoVXAiBagIv7Upb/gfrrhdvzrxqQFc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=w5FzNS0X9xmi07fFjKzrgcTTTFtL3lLlFrtAWigNpnWzhN+4178/9EdqYauCgcRUE+ dSAWd+PMUDj0FPk6aPf0KzJNjkogZIUDoYf76LdKZrk0Zj707KXEXtMll7M2LoqiNeH3 81pGF/haHdxY3K0RITY4HUGaMajHRNYV8U0Qo= Received: by 10.210.137.14 with SMTP id k14mr5516969ebd.173.1223905136767; Mon, 13 Oct 2008 06:38:56 -0700 (PDT) Received: by 10.210.34.1 with HTTP; Mon, 13 Oct 2008 06:38:56 -0700 (PDT) Message-ID: Date: Mon, 13 Oct 2008 16:38:56 +0300 From: EforeZZ 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: Linux X11 applications getting disconnected X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 13:38:58 -0000 Hello, I have a little problem with my X11 linux applications (Skype, VMware). I run remote X11 server on Windows (Cygwin/XWin) and I'm getting problems with Skype/VMware. They sporadically get disconnected from the X server while all other native FreeBSD programs (KDE, terminals) keep running. Is there anything special about networking in Linux programs running under FreeBSD? Best regards, EforeZZ From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 14:11: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 5BCFE1065692 for ; Mon, 13 Oct 2008 14:11:47 +0000 (UTC) (envelope-from liettneff@bk.ru) Received: from big.innet.yaroslavl.su (big.innet.yaroslavl.su [217.15.134.73]) by mx1.freebsd.org (Postfix) with ESMTP id C186D8FC13 for ; Mon, 13 Oct 2008 14:11:45 +0000 (UTC) (envelope-from liettneff@bk.ru) Received: from relay.innet.yaroslavl.su (relay.innet.yaroslavl.su [217.15.134.70]) by big.innet.yaroslavl.su (8.13.7/8.13.7) with ESMTP id m9DCr90E051901; Mon, 13 Oct 2008 16:53:09 +0400 (MSD) Received: from reaper.yaroslavl.ru (reaper.yaroslavl.ru [85.113.195.205]) by relay.innet.yaroslavl.su (8.13.8/8.13.8) with ESMTP id m9DCr9wC008039; Mon, 13 Oct 2008 16:53:09 +0400 (MSD) (envelope-from liettneff@bk.ru) Received: from [127.0.0.1] (unknown [192.168.10.68]) by reaper.yaroslavl.ru (Postfix) with ESMTP id F236317039; Mon, 13 Oct 2008 16:53:08 +0400 (MSD) Message-ID: <48F344B5.1010007@bk.ru> Date: Mon, 13 Oct 2008 16:53:09 +0400 From: Michael Lednev User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Eitan Adler References: <48F34341.7070302@gmail.com> In-Reply-To: <48F34341.7070302@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: Michael Lednev , FreeBSD Questions Subject: Re: distributed.net proxyper X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 14:11:47 -0000 Eitan Adler пишет: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Michael Lednev wrote: > >> Hello. >> >> I'm having issue running this thing on 7.0-RELEASE >> >> # /usr/local/distributed.net/proxy/proxyper >> Bad system call (core dumped) >> >> Somebody seen this error or I'm just lucky? >> >> > Was this compiled on a different version than its running on? Did you > recently upgrade world or kernel? # grep NO_BUILD /usr/ports/misc/proxyper/Makefile NO_BUILD= yes # ldd /usr/local/distributed.net/proxy/proxyper ldd: /usr/local/distributed.net/proxy/proxyper: not a dynamic executable Hope this answers your questions. proxyper works fine on 6.3-RELEASE From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 15:02: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 D4530106568A for ; Mon, 13 Oct 2008 15:02:01 +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 92A478FC17 for ; Mon, 13 Oct 2008 15:02:01 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from localhost (localhost [127.0.0.1]) by kanga.honeypot.net (Postfix) with ESMTP id B4B7D944FDD for ; Mon, 13 Oct 2008 10:02:00 -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 TWOEQq+dUwBx for ; Mon, 13 Oct 2008 10:01:55 -0500 (CDT) Received: from athena.daycos.com (athena.daycos.com [IPv6:2001:470:c054:1:221:9bff:fe00:de3f]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by kanga.honeypot.net (Postfix) with ESMTPSA id 960E9944567 for ; Mon, 13 Oct 2008 10:01:55 -0500 (CDT) From: Kirk Strauser To: freebsd-questions@freebsd.org Date: Mon, 13 Oct 2008 10:01:52 -0500 User-Agent: KMail/1.10.1 (FreeBSD/7.1-PRERELEASE; KDE/4.1.1; amd64; ; ) References: <166708.22574.qm@web56807.mail.re3.yahoo.com> <48F10B0D.7000400@man.poznan.pl> In-Reply-To: <48F10B0D.7000400@man.poznan.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810131001.52682.kirk@strauser.com> 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: Mon, 13 Oct 2008 15:02:01 -0000 On Saturday 11 October 2008 15:22:37 Michal Kulczewski wrote: > 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. Go into System Settings -> Desktop and try toggling "Enable desktop effects" to see if it makes a difference. Also, go into Advanced Options (same screen) and try changing the "Compositing type" between OpenGL and XRender. I'm also using the "radeon" driver and it's nicely fast on my machine. -- Kirk Strauser From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 15:03: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 3DFB01065690 for ; Mon, 13 Oct 2008 15:03:44 +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 021C18FC12 for ; Mon, 13 Oct 2008 15:03:44 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from localhost (localhost [127.0.0.1]) by kanga.honeypot.net (Postfix) with ESMTP id 92875944FBA for ; Mon, 13 Oct 2008 10:03:43 -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 y5vTFwpzK3eX for ; Mon, 13 Oct 2008 10:03:41 -0500 (CDT) Received: from athena.daycos.com (athena.daycos.com [IPv6:2001:470:c054:1:221:9bff:fe00:de3f]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by kanga.honeypot.net (Postfix) with ESMTPSA id 87EAC93CA8F for ; Mon, 13 Oct 2008 10:03:41 -0500 (CDT) From: Kirk Strauser To: freebsd-questions@freebsd.org Date: Mon, 13 Oct 2008 10:03:39 -0500 User-Agent: KMail/1.10.1 (FreeBSD/7.1-PRERELEASE; KDE/4.1.1; amd64; ; ) References: <48F04522.4080203@man.poznan.pl> <20081011101033.K43229@wojtek.tensor.gdynia.pl> In-Reply-To: <20081011101033.K43229@wojtek.tensor.gdynia.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810131003.39049.kirk@strauser.com> 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: Mon, 13 Oct 2008 15:03:44 -0000 On Saturday 11 October 2008 03:10:41 Wojciech Puchar wrote: > well it's KDE. what do you expect ;) QT4 is quite a lot faster than QT3, and both have been very quick for several years now. Your argument is quite turn-of-the-millenium. -- Kirk Strauser From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 15:11: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 A95AB1065687 for ; Mon, 13 Oct 2008 15:11:51 +0000 (UTC) (envelope-from sdavtaker@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id CD4168FC29 for ; Mon, 13 Oct 2008 15:11:50 +0000 (UTC) (envelope-from sdavtaker@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so481378uge.39 for ; Mon, 13 Oct 2008 08:11: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=F/d3T54LS8DxhEY0QC96k5F7JxqRIHnd7066pLleGe0=; b=sxqv0WRCRHtGcVkCSdkAcwa9+5qspNk5DA4HaMB2aHlkYs92W6ffhlZPO0G58StbWE GZ+b8jZnsPgIDC+kHpV+412d+fmlTUMAR5ARoT0QqRVG3uH5yN4kD1be+UoeJbXdeTmd 4w1Ya+CYilC+//ppy8BU7FcGsX/UMMD6HYqiA= 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=bmnbocja4nCWbHwzHK7MbcD8+FOAnHvBN8i0QE8uksAO1LhDdzEDiUB+8k9alEMPiW RM2cuO096NZbpxkJwdgGQkbTI2Gld93LRaVqVdZhTT1gfvaZlUzjzS3lEoStBedMi3iL Pd0DEA48DQ0ap+I57fOuZoWnq0ea4r7VhiIWA= Received: by 10.86.82.6 with SMTP id f6mr5330564fgb.28.1223910709578; Mon, 13 Oct 2008 08:11:49 -0700 (PDT) Received: by 10.86.91.3 with HTTP; Mon, 13 Oct 2008 08:11:49 -0700 (PDT) Message-ID: Date: Mon, 13 Oct 2008 12:11:49 -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: Kopete and KDE4.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, 13 Oct 2008 15:11:51 -0000 Did someone make kopete work in kde4.1 with msn and jabber networks? I tried a couple of recipes i found gogling, but nothing worked. Any ideas? Im running FBSD7.0 x64 Any info is appreciated, thanks! Sdav From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 15:24: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 84EB51065677 for ; Mon, 13 Oct 2008 15:24:31 +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 453798FC21 for ; Mon, 13 Oct 2008 15:24:31 +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 m9DFOUu5069179; Mon, 13 Oct 2008 10:24:30 -0500 (CDT) (envelope-from tinguely@casselton.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=casselton.net; s=ccnMail; t=1223911470; bh=4iXECPGmf+bi5QlGZsXp3bh9As1Vzq16t/9xQ9D p4rQ=; h=Date:From:Message-Id:To:Subject:Cc:In-Reply-To; b=XwNLDnox fVuWz6MsgQS4PqmTksWqRv0vI3PkC9K6Zlr83rnEm583OFZ/GTpBIbj1J2q8tipkM9t +4Po51lVH1B3+tdukOO0AiijJYb34vfTZ4RkAu/jZxGtKJtxeg/T9+hZV6OSBbBP5AK ok1LzYHuf0MLAGu71CtEuOwoFIfg4= Received: (from tinguely@localhost) by casselton.net (8.14.2/8.14.2/Submit) id m9DFOU5i069178; Mon, 13 Oct 2008 10:24:30 -0500 (CDT) (envelope-from tinguely) Date: Mon, 13 Oct 2008 10:24:30 -0500 (CDT) From: Mark Tinguely Message-Id: <200810131524.m9DFOU5i069178@casselton.net> To: fbsdlists@gmail.com, tinguely@casselton.net In-Reply-To: <54db43990810130621s63ea1ec9nc085d79b0c230ad6@mail.gmail.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: Mon, 13 Oct 2008 15:24:31 -0000 > Thanks. I'll see what happens. > > In amd64/7.0 is there any chance running out of pv_entrys would show > up as failures in interprocess communication rather than a panic? The > original symptom was that certain web pages (or jailed servers, I'm > not sure) were unreachable, as if the firewall were misconfigured, > until the system was rebooted. I didn't get to look at the system > before it was rebooted, and I find very little in the logs to explain > what was going on. Sometimes pv_entry allocation can fail even below the pv_entry_high_water if there is no more free pages available to allocate for a pv_entry chunk. Operations (such temp mappings, copies) will not occur if the pv_entry_high_water (90% if pv_entry_max) has been reached OR a page is not immediately available for allocation. The first situation is quiet, you could put a sysctl counter. Maybe PV_STAT(pc_chunk_tryfail++) should be moved from get_pv_entry() to the "else" case of the routine pmap_try_insert_pv_entry(). On the other hand, some allocations (permanent mapping) are unconditional and can occur even when pv_entry_max has been exceeded (amd64). The code will also wait for page allocations. --Mark Tinguely. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 15:30: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 B0AF3106568A for ; Mon, 13 Oct 2008 15:30:44 +0000 (UTC) (envelope-from que_deseja@hotmail.com) Received: from blu0-omc4-s23.blu0.hotmail.com (blu0-omc4-s23.blu0.hotmail.com [65.55.111.162]) by mx1.freebsd.org (Postfix) with ESMTP id 788BE8FC38 for ; Mon, 13 Oct 2008 15:30:44 +0000 (UTC) (envelope-from que_deseja@hotmail.com) Received: from BLU126-W45 ([65.55.111.136]) by blu0-omc4-s23.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 13 Oct 2008 08:30:44 -0700 Message-ID: X-Originating-IP: [98.192.204.41] From: Desmond Chapman To: "freebsd-questions@freebsd.org" Date: Mon, 13 Oct 2008 15:30:43 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 13 Oct 2008 15:30:44.0143 (UTC) FILETIME=[A84F3BF0:01C92D48] Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: port maintaining & pointyhat X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 15:30:44 -0000 I need to contact whoever is in charge of the ports collection. It concerns= the status of a port. I'm new at this- maintaining ports=2C that is. _________________________________________________________________ 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 Mon Oct 13 15:45: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 D90571065697 for ; Mon, 13 Oct 2008 15:45:29 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 91BD28FC18 for ; Mon, 13 Oct 2008 15:45:29 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1KpPbr-000GtI-RN; Mon, 13 Oct 2008 19:45:27 +0400 To: EforeZZ References: From: Boris Samorodov Date: Mon, 13 Oct 2008 19:45:16 +0400 In-Reply-To: (eforezz@gmail.com's message of "Mon\, 13 Oct 2008 16\:38\:56 +0300") Message-ID: <27485827@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Linux X11 applications getting disconnected X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 15:45:29 -0000 EforeZZ writes: > I have a little problem with my X11 linux applications (Skype, VMware). I > run remote X11 server on Windows (Cygwin/XWin) and I'm getting problems with > Skype/VMware. They sporadically get disconnected from the X server while all > other native FreeBSD programs (KDE, terminals) keep running. Is there > anything special about networking in Linux programs running under FreeBSD? If nobody answer here then you may ask at freebsd-emulation@ ML. And may be give some diagnostics. 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 Mon Oct 13 15:57: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 E33EC1065696 for ; Mon, 13 Oct 2008 15:57:23 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id A4F1D8FC17 for ; Mon, 13 Oct 2008 15:57:23 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.2/8.14.2) with ESMTP id m9DFvMTW088636; Mon, 13 Oct 2008 09:57:22 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.2/8.14.2/Submit) with ESMTP id m9DFvM1M088633; Mon, 13 Oct 2008 09:57:22 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 13 Oct 2008 09:57:22 -0600 (MDT) From: Warren Block To: ton80 In-Reply-To: <19944068.post@talk.nabble.com> Message-ID: References: <19944068.post@talk.nabble.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (wonkity.com [127.0.0.1]); Mon, 13 Oct 2008 09:57:22 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: Installation Hangs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 15:57:24 -0000 On Sun, 12 Oct 2008, ton80 wrote: > I am trying to install FreeBSD. > During the install (actually at the beginning of the process) the system > hangs indefinitely. > When it gets to the select country screen...it is frozen. > During the boot process, as it is reading all the hardware, it finds the USB > controller OK then later it states there was an IO error and that the USB > controller is halted. I have a USB Keyboard and mouse...so I would say the > problem is here. > Is there any workaround I can use to get things going? Set "USB Legacy Support" to disabled in the BIOS. If that isn't available, it might work to boot with the keyboard detached. Connect it after the BIOS boot, at the FreeBSD bootloader prompt or maybe at the country select screen. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 16:24: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 A5D4D1065687 for ; Mon, 13 Oct 2008 16:24:22 +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 2581A8FC16 for ; Mon, 13 Oct 2008 16:24:21 +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 SEg81a0020vyq2s55GQMsz; Mon, 13 Oct 2008 16:24:21 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA05.westchester.pa.mail.comcast.net with comcast id SGQL1a0052P6wsM3RGQLHF; Mon, 13 Oct 2008 16:24:21 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=E3-hYiKG1CbBjhxXIrAA:9 a=pRl4VO25wPQPNJnGQtxC75Z4SyoA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id B25A9C9419; Mon, 13 Oct 2008 09:24:19 -0700 (PDT) Date: Mon, 13 Oct 2008 09:24:19 -0700 From: Jeremy Chadwick To: Warren Block Message-ID: <20081013162419.GA23363@icarus.home.lan> References: <19944068.post@talk.nabble.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: ton80 , freebsd-questions@freebsd.org Subject: Re: Installation Hangs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 16:24:22 -0000 On Mon, Oct 13, 2008 at 09:57:22AM -0600, Warren Block wrote: > On Sun, 12 Oct 2008, ton80 wrote: > >> I am trying to install FreeBSD. >> During the install (actually at the beginning of the process) the system >> hangs indefinitely. >> When it gets to the select country screen...it is frozen. >> During the boot process, as it is reading all the hardware, it finds the USB >> controller OK then later it states there was an IO error and that the USB >> controller is halted. I have a USB Keyboard and mouse...so I would say the >> problem is here. >> Is there any workaround I can use to get things going? > > Set "USB Legacy Support" to disabled in the BIOS. If that isn't > available, it might work to boot with the keyboard detached. Connect it > after the BIOS boot, at the FreeBSD bootloader prompt or maybe at the > country select screen. I don't see how this would solve or even affect his problem. As I understand it, "USB Legacy Support" is intended for operating systems which do not have a USB stack available to them, thus making USB keyboards/mice appear as PS/2 keyboards/mice within MS-DOS and so on. I believe the way it works is that the BIOS acts as a software translation layer between the USB device and PS/2 interaction. This translation is lost the instant interrupts are re-mapped or the southbridge/USB controller is initialised. The OP is making it past boot2/loader, the kernel and all its drivers are fully loaded (including the USB stack). -- | 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 13 16:35: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 45C3F106568B; Mon, 13 Oct 2008 16:35:52 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id EC45B8FC0C; Mon, 13 Oct 2008 16:35:51 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1KpQOb-000HZv-1X; Mon, 13 Oct 2008 20:35:49 +0400 To: Jeremy Chadwick References: <19944068.post@talk.nabble.com> <20081013162419.GA23363@icarus.home.lan> From: Boris Samorodov Date: Mon, 13 Oct 2008 20:35:37 +0400 In-Reply-To: <20081013162419.GA23363@icarus.home.lan> (Jeremy Chadwick's message of "Mon\, 13 Oct 2008 09\:24\:19 -0700") Message-ID: <61402806@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: ton80 , freebsd-questions@freebsd.org Subject: Re: Installation Hangs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 16:35:52 -0000 Jeremy Chadwick writes: > On Mon, Oct 13, 2008 at 09:57:22AM -0600, Warren Block wrote: >> On Sun, 12 Oct 2008, ton80 wrote: >> >>> I am trying to install FreeBSD. >>> During the install (actually at the beginning of the process) the system >>> hangs indefinitely. >>> When it gets to the select country screen...it is frozen. >>> During the boot process, as it is reading all the hardware, it finds the USB >>> controller OK then later it states there was an IO error and that the USB >>> controller is halted. I have a USB Keyboard and mouse...so I would say the >>> problem is here. >>> Is there any workaround I can use to get things going? >> >> Set "USB Legacy Support" to disabled in the BIOS. If that isn't >> available, it might work to boot with the keyboard detached. Connect it >> after the BIOS boot, at the FreeBSD bootloader prompt or maybe at the >> country select screen. > > I don't see how this would solve or even affect his problem. > > As I understand it, "USB Legacy Support" is intended for operating > systems which do not have a USB stack available to them, thus making USB > keyboards/mice appear as PS/2 keyboards/mice within MS-DOS and so on. I > believe the way it works is that the BIOS acts as a software translation > layer between the USB device and PS/2 interaction. This translation is > lost the instant interrupts are re-mapped or the southbridge/USB > controller is initialised. > > The OP is making it past boot2/loader, the kernel and all its drivers > are fully loaded (including the USB stack). Well, that may be totally correct but practice... Ex., I have an ASUS P5K motherboard and I can't use a USB mouse with "USB Legacy Support". The mouse is detected and works IFF this support is OFF. 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 Mon Oct 13 16: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 98C0A1065689 for ; Mon, 13 Oct 2008 16:39:28 +0000 (UTC) (envelope-from joji@eskimo.com) Received: from ultra5.eskimo.com (ultra5.eskimo.com [204.122.16.68]) by mx1.freebsd.org (Postfix) with ESMTP id 785B48FC1E for ; Mon, 13 Oct 2008 16:39:28 +0000 (UTC) (envelope-from joji@eskimo.com) Received: from eskimo.com (eskimo.com [204.122.16.13]) by ultra5.eskimo.com (8.14.3/8.14.0) with ESMTP id m9DGdPVn009131; Mon, 13 Oct 2008 09:39:25 -0700 Received: (from joji@localhost) by eskimo.com (8.9.1a/8.9.1) id JAA15519; Mon, 13 Oct 2008 09:39:26 -0700 (PDT) Date: Mon, 13 Oct 2008 09:39:26 -0700 From: Joseph Olatt To: "Conrad J. Sabatier" Message-ID: <20081013093926.A14053@eskimo.com> References: <48EFE00B.32391.87A6C@conrads.cox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <48EFE00B.32391.87A6C@conrads.cox.net>; from conrads@cox.net on Fri, Oct 10, 2008 at 11:06:51PM -0500 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: Mon, 13 Oct 2008 16:39:28 -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)? > > 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. Hello Conrad, Recently I had a similar problem. My motherboard is: NVIDIA MCP73 Fortunately, the above motherboard also has an ATA controller. So I installed an ATA drive and installed FreeBSD 7.x. Later I tried to patch the ata drivers but didn't get it right. See the following thread: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=101821+0+archive/2008/freebsd-stable/20080921.freebsd-stable Later on, Andrey V. Elsukov provided a patch. See the following thread: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=206853+0+archive/2008/freebsd-stable/20080928.freebsd-stable I can now see the SATA drive (thanks to Andrey V. Elsukov) that is installed in the system with Ubuntu. But I'm still have some issues with the DVD Writer that is also connected to the SATA controller. I'm getting read errors when I try to view a DVD. I haven't had the time to research it yet. Maybe the above will help. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 16:42: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 8E6C51065688 for ; Mon, 13 Oct 2008 16:42:07 +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 3F65D8FC1E for ; Mon, 13 Oct 2008 16:42:06 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA03.emeryville.ca.mail.comcast.net ([76.96.30.27]) by QMTA02.emeryville.ca.mail.comcast.net with comcast id SDln1a00A0b6N64A2Gi68p; Mon, 13 Oct 2008 16:42:06 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA03.emeryville.ca.mail.comcast.net with comcast id SGi51a00C2P6wsM8PGi5M5; Mon, 13 Oct 2008 16:42:06 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=xiTS1FqzQG7HfTu0f4UA:9 a=xahdaP8ujsxnkqAa34QO3rRN3WMA:4 a=EoioJ0NPDVgA:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 458B4C9419; Mon, 13 Oct 2008 09:42:05 -0700 (PDT) Date: Mon, 13 Oct 2008 09:42:05 -0700 From: Jeremy Chadwick To: Boris Samorodov Message-ID: <20081013164205.GA23735@icarus.home.lan> References: <19944068.post@talk.nabble.com> <20081013162419.GA23363@icarus.home.lan> <61402806@bb.ipt.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <61402806@bb.ipt.ru> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: ton80 , freebsd-questions@freebsd.org Subject: Re: Installation Hangs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 16:42:07 -0000 On Mon, Oct 13, 2008 at 08:35:37PM +0400, Boris Samorodov wrote: > Jeremy Chadwick writes: > > On Mon, Oct 13, 2008 at 09:57:22AM -0600, Warren Block wrote: > >> On Sun, 12 Oct 2008, ton80 wrote: > >> > >>> I am trying to install FreeBSD. > >>> During the install (actually at the beginning of the process) the system > >>> hangs indefinitely. > >>> When it gets to the select country screen...it is frozen. > >>> During the boot process, as it is reading all the hardware, it finds the USB > >>> controller OK then later it states there was an IO error and that the USB > >>> controller is halted. I have a USB Keyboard and mouse...so I would say the > >>> problem is here. > >>> Is there any workaround I can use to get things going? > >> > >> Set "USB Legacy Support" to disabled in the BIOS. If that isn't > >> available, it might work to boot with the keyboard detached. Connect it > >> after the BIOS boot, at the FreeBSD bootloader prompt or maybe at the > >> country select screen. > > > > I don't see how this would solve or even affect his problem. > > > > As I understand it, "USB Legacy Support" is intended for operating > > systems which do not have a USB stack available to them, thus making USB > > keyboards/mice appear as PS/2 keyboards/mice within MS-DOS and so on. I > > believe the way it works is that the BIOS acts as a software translation > > layer between the USB device and PS/2 interaction. This translation is > > lost the instant interrupts are re-mapped or the southbridge/USB > > controller is initialised. > > > > The OP is making it past boot2/loader, the kernel and all its drivers > > are fully loaded (including the USB stack). > > Well, that may be totally correct but practice... Ex., I have an ASUS > P5K motherboard and I can't use a USB mouse with "USB Legacy Support". > The mouse is detected and works IFF this support is OFF. Something tells me that if you were to enable USB Legacy Support and run Linux or Windows, you'd have a functioning mouse. This could simply be a BIOS bug (would not surprise me), or (more likely) a bug in FreeBSD's initialisation of the USB chip. FreeBSD's USB stack is under a great amount of (justified) scrutiny as of late, and there are efforts under CURRENT to replace the stack with a complete brand-new written-from-the ground-up stack (patches are available). It would be beneficial if someone with this sort of configuration oddity could run CURRENT with the new USB stack patches applied and see if things behave as expected. -- | 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 13 16:56: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 8AC721065686 for ; Mon, 13 Oct 2008 16:56:41 +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 6165A8FC1F for ; Mon, 13 Oct 2008 16:56:41 +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 1KpQil-0005rx-MK for freebsd-questions@freebsd.org; Mon, 13 Oct 2008 09:56:39 -0700 Message-ID: <19958656.post@talk.nabble.com> Date: Mon, 13 Oct 2008 09:56:39 -0700 (PDT) From: ton80 To: freebsd-questions@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: meller1@nc.rr.com References: <19944068.post@talk.nabble.com> Subject: Re: Installation Hangs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 16:56:41 -0000 Warren Block wrote: > > On Sun, 12 Oct 2008, ton80 wrote: > >> I am trying to install FreeBSD. >> During the install (actually at the beginning of the process) the system >> hangs indefinitely. >> When it gets to the select country screen...it is frozen. >> During the boot process, as it is reading all the hardware, it finds the >> USB >> controller OK then later it states there was an IO error and that the USB >> controller is halted. I have a USB Keyboard and mouse...so I would say >> the >> problem is here. >> Is there any workaround I can use to get things going? > > Set "USB Legacy Support" to disabled in the BIOS. If that isn't > available, it might work to boot with the keyboard detached. Connect it > after the BIOS boot, at the FreeBSD bootloader prompt or maybe at the > country select screen. > > -Warren Block * Rapid City, South Dakota USA > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > I checked the bios....no where does it address USB Legacy Support....only options are to turn on or off support for the USB controller. My system is a Dell E310 (a few years old). Motherboard is an Intel....not sure of the model. I am currently running Linux (CentOS) with no problems. I have ran many other Linux distros with no problems. I am going to attempt to try to boot up and plug in keyboard after initialization...without mouse. see ya on the other side. ton80 -- View this message in context: http://www.nabble.com/Installation-Hangs-tp19944068p19958656.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 17:17: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 2CEE4106569C for ; Mon, 13 Oct 2008 17:17:12 +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 030A68FC0A for ; Mon, 13 Oct 2008 17:17:11 +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 1KpR2d-0006y4-0O for freebsd-questions@freebsd.org; Mon, 13 Oct 2008 10:17:11 -0700 Message-ID: <19959001.post@talk.nabble.com> Date: Mon, 13 Oct 2008 10:17:11 -0700 (PDT) From: ton80 To: freebsd-questions@freebsd.org In-Reply-To: <19958656.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: meller1@nc.rr.com References: <19944068.post@talk.nabble.com> <19958656.post@talk.nabble.com> Subject: Re: Installation Hangs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 17:17:12 -0000 ton80 wrote: > > > > Warren Block wrote: >> >> On Sun, 12 Oct 2008, ton80 wrote: >> >>> I am trying to install FreeBSD. >>> During the install (actually at the beginning of the process) the system >>> hangs indefinitely. >>> When it gets to the select country screen...it is frozen. >>> During the boot process, as it is reading all the hardware, it finds the >>> USB >>> controller OK then later it states there was an IO error and that the >>> USB >>> controller is halted. I have a USB Keyboard and mouse...so I would say >>> the >>> problem is here. >>> Is there any workaround I can use to get things going? >> >> Set "USB Legacy Support" to disabled in the BIOS. If that isn't >> available, it might work to boot with the keyboard detached. Connect it >> after the BIOS boot, at the FreeBSD bootloader prompt or maybe at the >> country select screen. >> >> -Warren Block * Rapid City, South Dakota USA >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> >> > > I checked the bios....no where does it address USB Legacy Support....only > options are to turn on or off support for the USB controller. > > My system is a Dell E310 (a few years old). Motherboard is an > Intel....not sure of the model. > > I am currently running Linux (CentOS) with no problems. I have ran many > other Linux distros with no problems. > > I am going to attempt to try to boot up and plug in keyboard after > initialization...without mouse. > > see ya on the other side. > > ton80 > OK, I tried several different methods and two other keyboards...no luck. During bootup, it sees the USB ports...then it halts them. What is SIOS? ton80 -- View this message in context: http://www.nabble.com/Installation-Hangs-tp19944068p19959001.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 17:19: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 D0E65106568A for ; Mon, 13 Oct 2008 17:19:41 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 71FE08FC16 for ; Mon, 13 Oct 2008 17:19:41 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.2/8.14.2) with ESMTP id m9DHJeon088894; Mon, 13 Oct 2008 11:19:40 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.2/8.14.2/Submit) with ESMTP id m9DHJej5088891; Mon, 13 Oct 2008 11:19:40 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 13 Oct 2008 11:19:40 -0600 (MDT) From: Warren Block To: Jeremy Chadwick In-Reply-To: <20081013162419.GA23363@icarus.home.lan> Message-ID: References: <19944068.post@talk.nabble.com> <20081013162419.GA23363@icarus.home.lan> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (wonkity.com [127.0.0.1]); Mon, 13 Oct 2008 11:19:40 -0600 (MDT) Cc: ton80 , freebsd-questions@FreeBSD.org Subject: Re: Installation Hangs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 17:19:41 -0000 On Mon, 13 Oct 2008, Jeremy Chadwick wrote: > On Mon, Oct 13, 2008 at 09:57:22AM -0600, Warren Block wrote: >> On Sun, 12 Oct 2008, ton80 wrote: >> >>> I am trying to install FreeBSD. >>> During the install (actually at the beginning of the process) the system >>> hangs indefinitely. >>> When it gets to the select country screen...it is frozen. >>> During the boot process, as it is reading all the hardware, it finds the USB >>> controller OK then later it states there was an IO error and that the USB >>> controller is halted. I have a USB Keyboard and mouse...so I would say the >>> problem is here. >>> Is there any workaround I can use to get things going? >> >> Set "USB Legacy Support" to disabled in the BIOS. If that isn't >> available, it might work to boot with the keyboard detached. Connect it >> after the BIOS boot, at the FreeBSD bootloader prompt or maybe at the >> country select screen. > > I don't see how this would solve or even affect his problem. > > As I understand it, "USB Legacy Support" is intended for operating > systems which do not have a USB stack available to them, thus making USB > keyboards/mice appear as PS/2 keyboards/mice within MS-DOS and so on. I > believe the way it works is that the BIOS acts as a software translation > layer between the USB device and PS/2 interaction. This translation is > lost the instant interrupts are re-mapped or the southbridge/USB > controller is initialised. > > The OP is making it past boot2/loader, the kernel and all its drivers > are fully loaded (including the USB stack). An MSI motherboard did the same thing, only with a USB mouse. The BIOS defaulted to legacy emulation. The mouse would be briefly enabled during boot, then disabled as FreeBSD started. I found a message explaining it, disabled BIOS emulation, had no further problems, and... didn't investigate further. Now I can't find the exact post, but did find a thread that is similar: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1607862+0+archive/2008/freebsd-questions/20080224.freebsd-questions -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 17:20: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 C8A4E1065698 for ; Mon, 13 Oct 2008 17:20:43 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 86CCB8FC1C for ; Mon, 13 Oct 2008 17:20:43 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.2/8.14.2) with ESMTP id m9DHKgIj088907; Mon, 13 Oct 2008 11:20:42 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.2/8.14.2/Submit) with ESMTP id m9DHKgKY088904; Mon, 13 Oct 2008 11:20:42 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 13 Oct 2008 11:20:42 -0600 (MDT) From: Warren Block To: Boris Samorodov In-Reply-To: <61402806@bb.ipt.ru> Message-ID: References: <19944068.post@talk.nabble.com> <20081013162419.GA23363@icarus.home.lan> <61402806@bb.ipt.ru> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (wonkity.com [127.0.0.1]); Mon, 13 Oct 2008 11:20:42 -0600 (MDT) Cc: ton80 , Jeremy Chadwick , freebsd-questions@FreeBSD.org Subject: Re: Installation Hangs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 17:20:43 -0000 On Mon, 13 Oct 2008, Boris Samorodov wrote: > > Well, that may be totally correct but practice... Ex., I have an ASUS > P5K motherboard and I can't use a USB mouse with "USB Legacy Support". > The mouse is detected and works IFF this support is OFF. Just to add to that--same situation, but the mouse would work if it was disconnected and reconnected. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 17:27: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 2D726106569E for ; Mon, 13 Oct 2008 17:27:26 +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 64C4F8FC0C for ; Mon, 13 Oct 2008 17:27:25 +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 SEMD1a0090vp7WLA8HTGTM; Mon, 13 Oct 2008 17:27:17 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA05.emeryville.ca.mail.comcast.net with comcast id SHTC1a00F2P6wsM8RHTClw; Mon, 13 Oct 2008 17:27:13 +0000 X-Authority-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=xx76Fw9ThBRO-DABR0wA:9 a=xaIjk30od3YOXo4n_jEA:7 a=CEjpH7FR_V8TuW2Gxr2vsCzXmEwA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 57EEBC9419; Mon, 13 Oct 2008 10:27:12 -0700 (PDT) Date: Mon, 13 Oct 2008 10:27:12 -0700 From: Jeremy Chadwick To: Warren Block Message-ID: <20081013172712.GA24488@icarus.home.lan> References: <19944068.post@talk.nabble.com> <20081013162419.GA23363@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: ton80 , freebsd-questions@FreeBSD.org Subject: Re: Installation Hangs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 17:27:26 -0000 On Mon, Oct 13, 2008 at 11:19:40AM -0600, Warren Block wrote: > On Mon, 13 Oct 2008, Jeremy Chadwick wrote: >> On Mon, Oct 13, 2008 at 09:57:22AM -0600, Warren Block wrote: >>> On Sun, 12 Oct 2008, ton80 wrote: >>> >>>> I am trying to install FreeBSD. >>>> During the install (actually at the beginning of the process) the system >>>> hangs indefinitely. >>>> When it gets to the select country screen...it is frozen. >>>> During the boot process, as it is reading all the hardware, it finds the USB >>>> controller OK then later it states there was an IO error and that the USB >>>> controller is halted. I have a USB Keyboard and mouse...so I would say the >>>> problem is here. >>>> Is there any workaround I can use to get things going? >>> >>> Set "USB Legacy Support" to disabled in the BIOS. If that isn't >>> available, it might work to boot with the keyboard detached. Connect it >>> after the BIOS boot, at the FreeBSD bootloader prompt or maybe at the >>> country select screen. >> >> I don't see how this would solve or even affect his problem. >> >> As I understand it, "USB Legacy Support" is intended for operating >> systems which do not have a USB stack available to them, thus making USB >> keyboards/mice appear as PS/2 keyboards/mice within MS-DOS and so on. I >> believe the way it works is that the BIOS acts as a software translation >> layer between the USB device and PS/2 interaction. This translation is >> lost the instant interrupts are re-mapped or the southbridge/USB >> controller is initialised. >> >> The OP is making it past boot2/loader, the kernel and all its drivers >> are fully loaded (including the USB stack). > > An MSI motherboard did the same thing, only with a USB mouse. The BIOS > defaulted to legacy emulation. The mouse would be briefly enabled > during boot, then disabled as FreeBSD started. I found a message > explaining it, disabled BIOS emulation, had no further problems, and... > didn't investigate further. Now I can't find the exact post, but did > find a thread that is similar: > > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1607862+0+archive/2008/freebsd-questions/20080224.freebsd-questions Ahh, right. But now we're talking about keyboards, when before we were talking strictly about mice. Then I remembered that the PS/2 interface actually handles both keyboards *and* mice during initialisation, which means the translation/emulation layer does the same thing. The problem in that thread is partially documented in the ukbd(4) man page; see the paragraph starting with "If you want to use a USB keyboard as your default". The "hint" commands shown should do the right thing. However, *do not* add them to device.hints -- add them to /boot/loader.conf. device.hints can be overwritten when changes occur in it (I forget if installkernel or mergemaster does this), and you will lose your changes. You can also type the "hint" commands into the loader section prior to booting. The OP might want to try doing this: at the FreeBSD Beastie/loader menu, hit 6 to go to the Loader prompt. At the prompt, type in: set hint.atkbd.0.disable="1" set hint.atkbdc.0.disable="1" boot And then tell us if your keyboard works during sysinstall. -- | 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 13 17: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 43D1F106568F for ; Mon, 13 Oct 2008 17:31:26 +0000 (UTC) (envelope-from ilikefbsd@web.de) Received: from fmmailgate04.web.de (fmmailgate04.web.de [217.72.192.242]) by mx1.freebsd.org (Postfix) with ESMTP id 06A068FC26 for ; Mon, 13 Oct 2008 17:31:25 +0000 (UTC) (envelope-from ilikefbsd@web.de) Received: from web.de by fmmailgate04.web.de (Postfix) with SMTP id 8D3C75F009FA for ; Mon, 13 Oct 2008 19:12:20 +0200 (CEST) Received: from [80.244.246.126] by freemailng0402.web.de with HTTP; Mon, 13 Oct 2008 19:12:20 +0200 Date: Mon, 13 Oct 2008 19:12:20 +0200 Message-Id: <1675072737@web.de> MIME-Version: 1.0 From: ilikefbsd@web.de To: freebsd-questions@freebsd.org Precedence: fm-user Organization: http://freemail.web.de/ X-Provags-Id: V01U2FsdGVkX1/rp2St1RhTW5OAGCCrvb9oxd+1+OKfsr+dUpLxjg3V1/nDv YNC6qblSNHk33cHuKKq8RLKZaU44J45zZNw2Ef47C9QryqX8rE9Wogjlx8nu A== Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable Subject: new hdd numeration after mainboard change X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 17:31:26 -0000 Hello list, i run "FreeBSD 7.1-PRERELEASE" i had a change of the mainboard of my leno= vo notebook t60. after reboot the harddisk which was before recognized as = "ad0" is now "ad4". i cannot find any other devices, no ad0/ad1/ad2 in /de= v. even in the dmesg only ad4. does fbsd create a uniqe identifier for har= ddisks in combination with the motherboard or something like that=3F where c= an i dig further into that issue=3F thank you, marco =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F "50 erste Dates" mit Adam Sandler u. Drew Barrymore kostenlos anschauen! Exklusiv f=FCr alle WEB.DE Nutzer. http://www.blockbuster.web.de From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 17:33: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 3B90E1065688 for ; Mon, 13 Oct 2008 17:33:40 +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 74B998FC26 for ; Mon, 13 Oct 2008 17:33:39 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: (qmail 19468 invoked from network); 13 Oct 2008 17:33:36 -0000 Received: from unknown (HELO blizzard.dnsalias.org) (218.215.145.60) by smtp.mel.people.net.au with SMTP; 13 Oct 2008 17:33:36 -0000 Received: by blizzard.dnsalias.org (Postfix, from userid 1001) id 5BF61187EB; Tue, 14 Oct 2008 04:33:35 +1100 (EST) Date: Tue, 14 Oct 2008 04:33:35 +1100 From: andrew clarke To: Desmond Chapman Message-ID: <20081013173335.GA17254@ozzmosis.com> 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: port maintaining & pointyhat X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 17:33:40 -0000 On Mon 2008-10-13 15:30:43 UTC+0000, Desmond Chapman (que_deseja@hotmail.com) wrote: > I need to contact whoever is in charge of the ports collection. It > concerns the status of a port. I'm new at this- maintaining ports, > that is. What is your concern? You should probably address your question to the freebsd-ports mailing list. http://lists.freebsd.org/mailman/listinfo/freebsd-ports "In FreeBSD, anyone may submit a new port, or volunteer to maintain an existing port if it is unmaintained--you do not need any special commit privileges to do so." - http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/why-port.html From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 17:46: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 3B2731065691 for ; Mon, 13 Oct 2008 17:46:23 +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 219E38FC08 for ; Mon, 13 Oct 2008 17:46:22 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA13.emeryville.ca.mail.comcast.net ([76.96.30.52]) by QMTA10.emeryville.ca.mail.comcast.net with comcast id SGLt1a07X17UAYkAAHmNDX; Mon, 13 Oct 2008 17:46:22 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA13.emeryville.ca.mail.comcast.net with comcast id SHmL1a00A2P6wsM8ZHmL9X; Mon, 13 Oct 2008 17:46:21 +0000 X-Authority-Analysis: v=1.0 c=1 a=XRhXtXuklhgA:10 a=RSYkTDdPlzMA:10 a=QycZ5dHgAAAA:8 a=WxtDD4zd4qDW242DpBQA:9 a=li6vGhFnQP_eXQ6QQEeDEKUiXZUA:4 a=EoioJ0NPDVgA:10 a=5KVauyKsRKMA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 899ACC9419; Mon, 13 Oct 2008 10:46:20 -0700 (PDT) Date: Mon, 13 Oct 2008 10:46:20 -0700 From: Jeremy Chadwick To: ilikefbsd@web.de Message-ID: <20081013174620.GA24725@icarus.home.lan> References: <1675072737@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1675072737@web.de> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: new hdd numeration after mainboard change X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 17:46:23 -0000 On Mon, Oct 13, 2008 at 07:12:20PM +0200, ilikefbsd@web.de wrote: > i run "FreeBSD 7.1-PRERELEASE" i had a change of the mainboard of my > lenovo notebook t60. after reboot the harddisk which was before > recognized as "ad0" is now "ad4". i cannot find any other devices, no > ad0/ad1/ad2 in /dev. even in the dmesg only ad4 The T60 is a laptop. It only has one hard disk -- so I'm not sure why you were seeing ad0, ad1, ad2 in the past. You shouldn't have been, unless you had 3 hard disks hooked up somehow. The bottom line here is this: absolutely *nothing* requires the device numbering to start at zero. And this is definitely the case. > does fbsd create a uniqe identifier for harddisks in combination with > the motherboard or something like that? where can i dig further into > that issue? It's not really an "issue". Very likely your computer has toggled some BIOS settings. The T60 series has the ability to run the SATA ports in two modes: AHCI, or Enhanced/Compatible. Chances are before the motherboard swap, yours was running in the opposite mode that it is now. I would highly recommend using the AHCI mode. It works quite well with FreeBSD under Intel controllers. Turn AHCI on (if it's not already), and do not mess with 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 Mon Oct 13 18:04: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 DEE75106568E for ; Mon, 13 Oct 2008 18:04:03 +0000 (UTC) (envelope-from msoulier@gmail.com) Received: from mail-gx0-f16.google.com (mail-gx0-f16.google.com [209.85.217.16]) by mx1.freebsd.org (Postfix) with ESMTP id 967028FC1C for ; Mon, 13 Oct 2008 18:04:03 +0000 (UTC) (envelope-from msoulier@gmail.com) Received: by gxk9 with SMTP id 9so3171823gxk.19 for ; Mon, 13 Oct 2008 11:04: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:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=/Ap1qnItT7BDg3axWbDhFiUP7sC6/r1ZKE+upNu4Wmo=; b=q7BQ1kAfQTT/BDkwoxsK4Z9IVSABbHiRDVv2LoQWXBFJ7vzxBuIaOj9iXC90gjQ05X oM18nLksJ2y3LbeFObpZpo8Y1rgOR6sYFoXxct6/M6CXOIZDwh1TVLR8zn4X4kHMH+pb THkeL8S64sbuAe13sFNhfFB/s6HyFoMFYIPUc= 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=PlQfHUesXl/XDVIAzN98gbQO/B95Gr29L4wfVkg9EQZ6QJgp96hrWLM+Exe0tD5p9n oCZWzJCxLVLXHqeLFYAG2xwercqP1+p3RVqMWs6g3vdlxXGuUm4WylLYeAOdy8aRBwE8 DXIYLZhPgE5BeQP+PystviQml2rYgBg+jvuL4= Received: by 10.151.156.12 with SMTP id i12mr1420904ybo.91.1223921042581; Mon, 13 Oct 2008 11:04:02 -0700 (PDT) Received: by 10.150.135.4 with HTTP; Mon, 13 Oct 2008 11:04:02 -0700 (PDT) Message-ID: Date: Mon, 13 Oct 2008 14:04:02 -0400 From: "Michael P. Soulier" Sender: msoulier@gmail.com To: "=?ISO-8859-1?Q?Patrick_Lamaizi=E8re?=" In-Reply-To: <20081004110255.4e05dbf1@baby-jane-lamaiziere-net.local> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20081003172624.GC6090@piglet.digitaltorque.ca> <20081004110255.4e05dbf1@baby-jane-lamaiziere-net.local> X-Google-Sender-Auth: 19b1b3cdbe1cd224 Cc: freebsd-questions@freebsd.org Subject: Re: portupgrade 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: Mon, 13 Oct 2008 18:04:04 -0000 On Sat, Oct 4, 2008 at 5:02 AM, Patrick Lamaizi=E8re wrote: > Portupgrade is often confused with his database on upgrade. > Delete /var/db/pkg/pkgdb.db and retry. > > May be you have to delete /usr/ports/INDEX-6.db too. Hmm. This does not inspire confidence in the tool. Mike --=20 Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 18:06: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 778F01065698 for ; Mon, 13 Oct 2008 18:06:27 +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 61CB28FC0C for ; Mon, 13 Oct 2008 18:06:18 +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 SEgs1a00j0bG4ec58J5o8p; Mon, 13 Oct 2008 18:05:48 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA03.westchester.pa.mail.comcast.net with comcast id SJ5q1a0052P6wsM3PJ5qWS; Mon, 13 Oct 2008 18:05:51 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=t1LIx2JzPftkCKvqdzMA:9 a=--BEknNssgcVr_aZxpv-PU6RJ9AA:4 a=EoioJ0NPDVgA:10 a=0qA3qW1cF2AA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 01FB5C9419; Mon, 13 Oct 2008 11:05:50 -0700 (PDT) Date: Mon, 13 Oct 2008 11:05:49 -0700 From: Jeremy Chadwick To: "Michael P. Soulier" Message-ID: <20081013180549.GA25442@icarus.home.lan> References: <20081003172624.GC6090@piglet.digitaltorque.ca> <20081004110255.4e05dbf1@baby-jane-lamaiziere-net.local> 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.5.18 (2008-05-17) Cc: Patrick =?iso-8859-1?Q?Lamaizi=E8re?= , freebsd-questions@freebsd.org Subject: Re: portupgrade 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: Mon, 13 Oct 2008 18:06:27 -0000 On Mon, Oct 13, 2008 at 02:04:02PM -0400, Michael P. Soulier wrote: > On Sat, Oct 4, 2008 at 5:02 AM, Patrick Lamaizière > wrote: > > Portupgrade is often confused with his database on upgrade. > > Delete /var/db/pkg/pkgdb.db and retry. > > > > May be you have to delete /usr/ports/INDEX-6.db too. > > Hmm. This does not inspire confidence in the tool. So don't use it? :-) There are alternatives like portmaster. -- | 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 13 18:08: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 BF7EB106569F for ; Mon, 13 Oct 2008 18:08:55 +0000 (UTC) (envelope-from msoulier@gmail.com) Received: from mail-gx0-f16.google.com (mail-gx0-f16.google.com [209.85.217.16]) by mx1.freebsd.org (Postfix) with ESMTP id 728E38FC17 for ; Mon, 13 Oct 2008 18:08:55 +0000 (UTC) (envelope-from msoulier@gmail.com) Received: by gxk9 with SMTP id 9so3179436gxk.19 for ; Mon, 13 Oct 2008 11:08: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:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=y3wqRHnSXmMM+/X2zkSKgNlyqhx7c7MgypqZbW6PQSI=; b=CZhmoj/gYsv3UhmCxxLoFWGiS+qqRTs3+Dysk/jhx7sz1XSUzGf9P5mTDP1rJ09v1I kbtsTIY93dItBINZJSnAo/GFRZADOtAfoFiU6bSibVJ2WQi5ANihqOEYR4bF4jPbrjJv 5d8qqfJIAVmYVX5QX/gTSZcXvdHaVwulCpZz4= 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=uQhAfQHRdFy+oTrv/Cs7Cx65UcnZhEiPPXy5uJPN8Y9jt3t2D5X0hVGisRK1GzdOTp V3OFD8WmY4Z8Og3ffqxOJGTP/JM/0NHawvZxlNNK64O2UvCHa4nhh5FI3UZKMP80Cf6q Qsx8HHrZk1lkaixTQ5CDvgVr1WFdcnO+/lVWs= Received: by 10.150.58.5 with SMTP id g5mr8555163yba.134.1223921334867; Mon, 13 Oct 2008 11:08:54 -0700 (PDT) Received: by 10.150.135.4 with HTTP; Mon, 13 Oct 2008 11:08:54 -0700 (PDT) Message-ID: Date: Mon, 13 Oct 2008 14:08:54 -0400 From: "Michael P. Soulier" Sender: msoulier@gmail.com To: "Jeremy Chadwick" In-Reply-To: <20081013180549.GA25442@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081003172624.GC6090@piglet.digitaltorque.ca> <20081004110255.4e05dbf1@baby-jane-lamaiziere-net.local> <20081013180549.GA25442@icarus.home.lan> X-Google-Sender-Auth: 2c122e73485425dd Cc: =?ISO-8859-1?Q?Patrick_Lamaizi=E8re?= , freebsd-questions@freebsd.org Subject: Re: portupgrade 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: Mon, 13 Oct 2008 18:08:55 -0000 On Mon, Oct 13, 2008 at 2:05 PM, Jeremy Chadwick wrote: > So don't use it? :-) There are alternatives like portmaster. I suppose I prefer a single, reliable, supported tool for the system. portupgrade seems to be pushed the most in all of the documentation that I can find, so I went with it. Maybe I should dig into its guts and find out how it works. 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 From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 18:17: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 B5FE7106568E for ; Mon, 13 Oct 2008 18:17:19 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA09.emeryville.ca.mail.comcast.net (qmta09.emeryville.ca.mail.comcast.net [76.96.30.96]) by mx1.freebsd.org (Postfix) with ESMTP id 96C5F8FC23 for ; Mon, 13 Oct 2008 18:17:19 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA14.emeryville.ca.mail.comcast.net ([76.96.30.60]) by QMTA09.emeryville.ca.mail.comcast.net with comcast id SJ6u1a01i1HpZEsA9JHKvA; Mon, 13 Oct 2008 18:17:19 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA14.emeryville.ca.mail.comcast.net with comcast id SJHH1a00H2P6wsM8aJHHaW; Mon, 13 Oct 2008 18:17:18 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=j3OgGbutaMeyg45Y_t4A:9 a=oHy-U14yyJGc-XAv28IA:7 a=3Ocj_Q8WbUjm2VnFEcpVs_4c2uUA:4 a=EoioJ0NPDVgA:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 70477C9419; Mon, 13 Oct 2008 11:17:17 -0700 (PDT) Date: Mon, 13 Oct 2008 11:17:17 -0700 From: Jeremy Chadwick To: "Michael P. Soulier" Message-ID: <20081013181717.GA25545@icarus.home.lan> References: <20081003172624.GC6090@piglet.digitaltorque.ca> <20081004110255.4e05dbf1@baby-jane-lamaiziere-net.local> <20081013180549.GA25442@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: Patrick =?iso-8859-1?Q?Lamaizi=E8re?= , freebsd-questions@freebsd.org Subject: Re: portupgrade 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: Mon, 13 Oct 2008 18:17:19 -0000 On Mon, Oct 13, 2008 at 02:08:54PM -0400, Michael P. Soulier wrote: > On Mon, Oct 13, 2008 at 2:05 PM, Jeremy Chadwick wrote: > > So don't use it? :-) There are alternatives like portmaster. > > I suppose I prefer a single, reliable, supported tool for the system. > portupgrade seems to be pushed the most in all of the documentation Yes, and I've always considered that a big disappointment, since portupgrade is written in Ruby (thus requiring knowledge of a separate language rather than C), and has its own dependency database (due to supposed limits of the standard /var/db/pkg database). When portupgrade breaks -- and believe it, it happens quite often, as a brief review of the freebsd-ports mailing list will show you -- it's a nightmare. I have to ask you: is this really worth it to you? You could use portmaster, which is a /bin/sh script that does not behave this way, and is maintained by a member of the FreeBSD developer community (Doug Barton). This would be a "single reliable tool" that does not rely on external dependencies. I strongly urge you to consider it. Do I use it? No, because I'm one of those "I do everything by hand" administrators who does things like rm -fr /usr/local ; pkg_delete -af and so on. But if I wanted a tool that managed things for me, I would very likely go with portmaster. Please note that I often get flamed for flaming portupgrade, and I would not be surprised if that occurred as a result of this mail either. I strongly advocate using whatever tool gets the job done (and if that's portupgrade, great!), but I see way too many portupgrade-related support posts on the freebsd-ports mailing list for me to ever consider 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 Mon Oct 13 18:21: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 717CF106568E; Mon, 13 Oct 2008 18:21:30 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 13BBD8FC17; Mon, 13 Oct 2008 18:21:30 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1KpS2p-000JK6-7g; Mon, 13 Oct 2008 22:21:27 +0400 To: Warren Block References: <19944068.post@talk.nabble.com> <20081013162419.GA23363@icarus.home.lan> <61402806@bb.ipt.ru> From: Boris Samorodov Date: Mon, 13 Oct 2008 22:21:16 +0400 In-Reply-To: (Warren Block's message of "Mon\, 13 Oct 2008 11\:20\:42 -0600 \(MDT\)") Message-ID: <95326467@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: ton80 , Jeremy Chadwick , freebsd-questions@FreeBSD.org Subject: Re: Installation Hangs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 18:21:30 -0000 Warren Block writes: > On Mon, 13 Oct 2008, Boris Samorodov wrote: >> >> Well, that may be totally correct but practice... Ex., I have an ASUS >> P5K motherboard and I can't use a USB mouse with "USB Legacy Support". >> The mouse is detected and works IFF this support is OFF. > > Just to add to that--same situation, but the mouse would work if it > was disconnected and reconnected. Yes, it is. But I used to my radio mouse and don't like to walk to the computer each time it freezes. The computer is used for FreeBSD-current testing and may freeze many times a day. Esp. if I test radeon drivers. :-( 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 Mon Oct 13 19: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 037161065687 for ; Mon, 13 Oct 2008 19:30:21 +0000 (UTC) (envelope-from sweetnavelorange@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.173]) by mx1.freebsd.org (Postfix) with ESMTP id C62FF8FC12 for ; Mon, 13 Oct 2008 19:30:20 +0000 (UTC) (envelope-from sweetnavelorange@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so1746974wfg.7 for ; Mon, 13 Oct 2008 12:30:20 -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:cc:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=yPRX3izwKL+hsl0F5s1k/cTQ8LKDftDYy/AWq6j+7pA=; b=Tj+tbXqizMLLSFx4Z6LoxWhinUJnbUXU3tP/LKF3hfUzHGkSb06i3wXKMrRpUkDb2J cGyiiHUeXAlTE13raXi2wEMdoN/0hVbqsw+O9r3RS09OYsoOm5qYqeFB5L5xRHtVcpgJ l0+XTgIizKYvX1vtPCHpN57Ig3D1zeTf6R6VY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=k5bzwCCWVcepbf0r1YzSWo39t4PZb0kL/4k4fxkNaAVKxbOm6P7iS73KkpdA0LpFiy kYs2F70RGqim4Aw7ykyRzCqLkFTRyGwuhTjpGPvHPqaYEynW7W4BsLFsyY8jueBhL4Lb o9tQRaUqkdmM8gpUnbWojxlkXTyccrXIcdkDU= Received: by 10.115.58.18 with SMTP id l18mr5839556wak.177.1223926219747; Mon, 13 Oct 2008 12:30:19 -0700 (PDT) Received: from jamesb.kiwiplan.co.nz (db.kiwiplan.co.nz [202.27.222.237]) by mx.google.com with ESMTPS id f20sm20818641waf.53.2008.10.13.12.30.17 (version=SSLv3 cipher=RC4-MD5); Mon, 13 Oct 2008 12:30:19 -0700 (PDT) Date: Tue, 14 Oct 2008 08:30:09 +1300 From: James Butler To: Manolis Kiagias Message-ID: <20081014083009.45d72f76@jamesb.kiwiplan.co.nz> In-Reply-To: <48F32A5B.2010408@gmail.com> References: <48F32A5B.2010408@gmail.com> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.9; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Minor problems with Xfce X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 19:30:21 -0000 Manolis Kiagias wrote: > James Butler wrote: > > Greetings all, > > > > I'm using 7-stable on my Thinkpad X31, with Xfce recently (2 weeks > > or so) installed from packages. I have two minor problems with > > Xfce, at least one of which could be HAL/DBUS related - I'd > > appreciate some advice to rule out misconfiguration on my part. > > > > Firstly, when I bring up the Xfce Exit dialog, the Restart and > > Shutdown buttons are greyed out. I have read the Xfce FAQ on the > > subject, which mentions that the session manager tries HAL shutdown > > methods first, then falls back to sudo. I don't have sudo installed, > > but I have both hald and dbus (system and session) running. > > > > Checking the xsession error log after an attempted Exit reveals: > > > > ** Message: xfsm-shutdown-helper.c:215: HAL not available or does > > not permit to shutdown/reboot the computer, trying sudo fallback > > instead. > > > > and (as expected): > > > > ** (xfce4-session:1066): WARNING **: sudo was not found. You will > > not be able to shutdown your system from within Xfce > > > > Looking at xfsm-shutdown-helper.c I see that the session manager > > probes HAL for shutdown support by trying a dummy method call: > > > > /* this is a simple trick to check whether we are allowed to > > * use the org.freedesktop.Hal.Device.SystemPowerManagement > > * interface without shutting down/rebooting now. > > */ > > message = dbus_message_new_method_call ("org.freedesktop.Hal", > > > > "/org/freedesktop/Hal/devices/computer", > > > > "org.freedesktop.Hal.Device.SystemPowerManagement", > > "ThisMethodMustNotExistInHal"); > > > > [snip] > > > > /* if we receive org.freedesktop.DBus.Error.UnknownMethod, then > > * we are allowed to shutdown/reboot the computer via HAL. > > */ > > if (strcmp (error.name, > > "org.freedesktop.DBus.Error.UnknownMethod") == 0) > > > > So out of curiosity I tried this manually and got the 'correct' > > error: > > > > $ dbus-send --system --print-reply --dest=org.freedesktop.Hal > > /org/freedesktop/Hal/devices/computer > > org.freedesktop.Hal.Device.SystemPowerManagement.ThisMethodMustNotExistInHal > > Error org.freedesktop.DBus.Error.UnknownMethod: Method > > "ThisMethodMustNotExistInHal" with signature "" on interface > > "org.freedesktop.Hal.Device.SystemPowerManagement" doesn't exist > > > > Now I don't claim to understand much of this, so any help would be > > greatly appreciated. I have provided the output of various commands > > from the freebsd-gnome Bugging guide at > > http://homepages.ihug.co.nz/~sweetnavelorange/. > > > > My other problem is possibly unrelated, but any actions I perform > > which would remove or update icons on the desktop (deleting a file, > > emptying Trash) don't take effect until xfdesktop is restarted or I > > log out and then in. Any ideas? Notably, automatic detection and > > mounting of USB drives, which seems to be a fragile area for many > > HAL users, works perfectly for me. > > > > Thanks in advance, > > -James Butler > > > > Insert something like the following in your > /usr/local/etc/PolicyKit/PolicyKit.conf (between the tags): > > > > > > > > > > > I don't have the machine on me just now, but I should mention I played with this file and currently have (for testing purposes) something permissive like: This allows me to shutdown the machine by "dbus-send"-ing the appropriate message - doesn't help Xfce though. I may play with it some more. > > Have a look at /usr/local/share/PolicyKit/policy. Examine the > contents of the files there to see possible actions. > It may also help to have a look at this page, if you haven't already: > > http://www.freebsd.org/gnome/docs/halfaq.html Yes, I have read and re-read it :-) > > I have some annoyances with XFCE myself, but I haven't bothered > seriously to fix them. I have the same no-icon-update problem on my > desktop. I keep pressing F5 as a workaround. Like in your case, USB > flash drive mounting works perfectly. Another thing that does not > work for me, is clicking an http link in an app: it will not open > firefox. Weird, as firefox is selected as the default / preferred > browser. I haven't tried this. Anyway, thanks for the hints. -James Butler From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 19:43:08 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 99EE61065697 for ; Mon, 13 Oct 2008 19:43:08 +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 D99EE8FC17 for ; Mon, 13 Oct 2008 19:43:07 +0000 (UTC) (envelope-from borish@gmx.de) Received: (qmail invoked by alias); 13 Oct 2008 19:43:04 -0000 Received: from p54A23B14.dip0.t-ipconnect.de (EHLO thinkpad) [84.162.59.20] by mail.gmx.net (mp021) with SMTP; 13 Oct 2008 21:43:04 +0200 X-Authenticated: #23051326 X-Provags-ID: V01U2FsdGVkX1/y6S1qR4nynU2ZApu57cfZR2A+ojq+KpCjlcSwXY OVAuEDfjXrM3VR Date: Mon, 13 Oct 2008 21:42:04 +0200 To: "Jeremy Chadwick" , "questions@freebsd.org" From: borish@gmx.de Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 References: <20081009190941.GA12014@icarus.home.lan> <20081010190028.GA40991@icarus.home.lan> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <20081010190028.GA40991@icarus.home.lan> User-Agent: Opera Mail/9.52 (FreeBSD) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.78 Cc: Subject: Re: Sysinstall colors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 19:43:08 -0000 After some trial and error, I put XTerm*color7: #bebebe in my .Xdefaults. Now the yellow sysinstall font is much more legible inside an xterm. This works for both xterm and rxvt. The rxvt man page proved very useful. Now I have solved my problem but other users may experience the same problem. Is it possible to modify sysinstall so that it uses a darker background gray when run inside xterm? If not, we should add a note in the handbook. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 19:46: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 A5BEC106568E; Mon, 13 Oct 2008 19:46:30 +0000 (UTC) (envelope-from jpaetzel@FreeBSD.org) Received: from conn-smtp.mc.mpls.visi.com (conn.mc.mpls.visi.com [208.42.156.2]) by mx1.freebsd.org (Postfix) with ESMTP id 724CF8FC14; Mon, 13 Oct 2008 19:46:30 +0000 (UTC) (envelope-from jpaetzel@FreeBSD.org) Received: from mail.tcbug.org (mail.tcbug.org [208.42.70.163]) by conn-smtp.mc.mpls.visi.com (Postfix) with ESMTP id 7DDAA78A3; Mon, 13 Oct 2008 14:46:29 -0500 (CDT) Received: from [192.168.1.143] (c-76-17-219-196.hsd1.mn.comcast.net [76.17.219.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.tcbug.org (Postfix) with ESMTPSA id 0028F4A6B37; Mon, 13 Oct 2008 14:46:28 -0500 (CDT) Message-ID: <48F3A593.3000005@FreeBSD.org> Date: Mon, 13 Oct 2008 14:46:27 -0500 From: Josh Paetzel User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Jeremy Chadwick References: <1675072737@web.de> <20081013174620.GA24725@icarus.home.lan> In-Reply-To: <20081013174620.GA24725@icarus.home.lan> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, ilikefbsd@web.de Subject: Re: new hdd numeration after mainboard change X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 19:46:30 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jeremy Chadwick wrote: > On Mon, Oct 13, 2008 at 07:12:20PM +0200, ilikefbsd@web.de wrote: >> i run "FreeBSD 7.1-PRERELEASE" i had a change of the mainboard of my >> lenovo notebook t60. after reboot the harddisk which was before >> recognized as "ad0" is now "ad4". i cannot find any other devices, no >> ad0/ad1/ad2 in /dev. even in the dmesg only ad4 > > The T60 is a laptop. It only has one hard disk -- so I'm not sure why > you were seeing ad0, ad1, ad2 in the past. You shouldn't have been, > unless you had 3 hard disks hooked up somehow. > > The bottom line here is this: absolutely *nothing* requires the device > numbering to start at zero. And this is definitely the case. > >> does fbsd create a uniqe identifier for harddisks in combination with >> the motherboard or something like that? where can i dig further into >> that issue? > > It's not really an "issue". Very likely your computer has toggled some > BIOS settings. > > The T60 series has the ability to run the SATA ports in two modes: AHCI, > or Enhanced/Compatible. Chances are before the motherboard swap, yours > was running in the opposite mode that it is now. > > I would highly recommend using the AHCI mode. It works quite well with > FreeBSD under Intel controllers. Turn AHCI on (if it's not already), > and do not mess with it. > I can verify as a T60 owner, if you toggle the BIOS between AHCI and "Compatability" the hard drive will show up as either ad4 or ad0. It works fine in either mode with FreeBSD. Unless you are running another OS that doesn't have SATA support there's really no reason to use compatibility mode - -- Thanks, Josh Paetzel PGP: 8A48 EF36 5E9F 4EDA 5ABC 11B4 26F9 01F1 27AF AECB -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) iD8DBQFI86WTJvkB8SevrssRAssTAJ97EJz5QdzKCm9vdsbI7zLJrMvBXgCfd4NB TSrrfE8CN+2BcQB21dcRDjY= =k2q2 -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 19:56: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 6F174106564A for ; Mon, 13 Oct 2008 19:56:47 +0000 (UTC) (envelope-from mikesw@adhost.com) Received: from mail-in02.adhost.com (mail-in02.adhost.com [216.211.128.132]) by mx1.freebsd.org (Postfix) with ESMTP id 562958FC14 for ; Mon, 13 Oct 2008 19:56:47 +0000 (UTC) (envelope-from mikesw@adhost.com) Received: from ad-exh01.adhost.lan (exchange.adhost.com [216.211.143.69]) by mail-in02.adhost.com (Postfix) with ESMTP id 8DF521EE840 for ; Mon, 13 Oct 2008 12:56:46 -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: Mon, 13 Oct 2008 12:56:45 -0700 Message-ID: <17838240D9A5544AAA5FF95F8D52031604D8C217@ad-exh01.adhost.lan> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Oddities with VLAN/CARP Interfaces on Primary/Failover Setup Thread-Index: AcktbdHSHYaVVxHaSuCod2GpS/DAXA== From: "Mike Sweetser - Adhost" To: Subject: Oddities with VLAN/CARP Interfaces on Primary/Failover Setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 19:56:47 -0000 Hello: We currently have a primary/failover setup for two FreeBSD 6.3 servers running PF, and we're running into odd issues when setting up multiple subnets on a single VLAN and CARP interface. We have issues with them coming up properly, and even worse, having both servers believe they are master.=20 Here's a snippet of one of the VLANs and CARP interfaces in question: ifconfig_vlan10=3D"inet 10.142.255.252 netmask 255.255.0.0 vlan 10 = vlandev em2" =20 ifconfig_vlan10_alias0=3D"inet 10.210.0.2 netmask 255.255.0.0" ifconfig_carp10=3D"inet 10.142.255.254 netmask 255.255.0.0 vhid 10 = advskew 0 pass testpass" =20 ifconfig_carp10_alias0=3D"inet 10.210.0.1 netmask 255.255.0.0" The main difference between this and our other VLAN/CARP interfaces is that because it's separate subnets, the aliases here are set up with /16 netmasks, while the regular aliases on the others are set up with /32s. Is this correct, or should these also be set as /32s? Thanks, Mike Sweetser -------------------------- Mike Sweetser | Systems Administrator Adhost Internet 140 Fourth Avenue North, Suite 360, Seattle, Washington 98109 USA E mikesw@adhost.com 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 Mon Oct 13 19:57: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 D3A811065692 for ; Mon, 13 Oct 2008 19:57:46 +0000 (UTC) (envelope-from sonic2000gr@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 5B9A88FC2D for ; Mon, 13 Oct 2008 19:57:45 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1313122fgb.35 for ; Mon, 13 Oct 2008 12:57:45 -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=j9OzgWWOVd0R0z0JQs0aELpaNCrBkApVx8sp480pXXU=; b=x7ZPWCThmVPN8km+vxjrYGoOHQKptRS4HqRxOrJZBqZUZT1vorenvGTC4xuTshcmBm JmyCUZ9QYCXxKOLGLcb0uvV7jYJo9uO/xHAQpgvvnUtemYSu5QOjqSgL1eMFqHOjl1uB ApHdezRhqJXTZkU9CZ5qEM9BwfX+4YeUUruRA= 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=R/9WRTpW47i7gVKNnchC0lZIXHwMFZ0VmLbNsSVPZZGEzFOsR8SRZyf4mll86zrrLO 9149xt5pzJhPieouwzdHKXBGBiR5UCVoVou0VJwU/ld1gXMj4HAcCJ7Sre6G44IGBc8V aJSLheXDBAH4rL8ushpwXFjP7mffrk+QB1SS0= Received: by 10.181.48.5 with SMTP id a5mr5054119bkk.96.1223927865061; Mon, 13 Oct 2008 12:57:45 -0700 (PDT) Received: from atlantis.dyndns.org (athedsl-324342.home.otenet.gr [85.72.122.148]) by mx.google.com with ESMTPS id 13sm6985599fks.6.2008.10.13.12.57.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 13 Oct 2008 12:57:44 -0700 (PDT) Message-ID: <48F3A831.8060401@gmail.com> Date: Mon, 13 Oct 2008 22:57:37 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.17 (X11/20081011) MIME-Version: 1.0 To: James Butler References: <48F33795.20008@gmail.com> <20081014083534.1e776dd9@jamesb.kiwiplan.co.nz> In-Reply-To: <20081014083534.1e776dd9@jamesb.kiwiplan.co.nz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: Minor problems with Xfce X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 19:57:46 -0000 James Butler wrote: > Manolis Kiagias wrote: > >> James Butler wrote: >> >>> My other problem is possibly unrelated, but any actions I perform >>> which would remove or update icons on the desktop (deleting a file, >>> emptying Trash) don't take effect until xfdesktop is restarted or I >>> log out and then in. Any ideas? Notably, automatic detection and >>> mounting of USB drives, which seems to be a fragile area for many >>> HAL users, works perfectly for me. >>> >>> Thanks in advance, >>> -James Butler >>> >>> >> Just solved this one, quite silly it was ;) >> It seems Thunar is not built with FAM (File Alteration Monitor) >> support, hence it does not know when it needs to update folder views >> (or the desktop for that matter). So, simply rebuild with FAM: >> >> # cd /usr/ports/x11-fm/thunar >> >> # make config >> >> (Select FAM from the options dialog) >> >> # make deinstall reinstall >> >> Restart your X session. It will work then. >> > > Aha! I will try this when I get home - thanks. Anyone know why Thunar > does not default to using FAM/gamin? gamin doesn't look too heavy. > > Cheers, > James Butler > > It seems the default options for Thunar do not include gamin for some reason. Although I already had it installed anyway. If you installed from packages, these are built with the default options, so not having FAM support is expected. P.S. Putting the questions list back on this From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 20:13: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 E81F21065690 for ; Mon, 13 Oct 2008 20:13:12 +0000 (UTC) (envelope-from sweetnavelorange@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 B3E8C8FC0C for ; Mon, 13 Oct 2008 20:13:12 +0000 (UTC) (envelope-from sweetnavelorange@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so1764478wfg.7 for ; Mon, 13 Oct 2008 13:13:12 -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:cc:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=Eky6nxUTZUsQs/badB97MVztgrz82DkOrPLuhjJ8FZ8=; b=Rv5O6HBmieiuxy7VXN+fED2EPC9XUJ5cRpwxBnC7pwZxCpyAW36ER7QfRoMX3jfrRy gcTBy55TZOG0mUT4D9p1KV2kCK/iBJyR1/GvGOlg7OzMZfwfGwt4f9i2KXqBZD6YusBy zzz9cKRQhkS3f2vPf9/tt2gZLjZOgwKUtx1fc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=EKxxtCsSx41FT0vaIrbfpy3838sGYCEnx/j8gteXbUnmBrrCmEXzHJrsYI+d3TTOcB vI2NcIHz+3EJPhIqg2li7cLvUs7XgT3tAxhbiG4WQ9KDFV3PbApyu+fYT+VJylaErVK+ YKQMajXKXM17MvzNhaL7ngfLZB1UTmfTBXBPc= Received: by 10.115.22.1 with SMTP id z1mr5934655wai.98.1223928791858; Mon, 13 Oct 2008 13:13:11 -0700 (PDT) Received: from jamesb.kiwiplan.co.nz (db.kiwiplan.co.nz [202.27.222.237]) by mx.google.com with ESMTPS id g25sm21015951wag.4.2008.10.13.13.13.09 (version=SSLv3 cipher=RC4-MD5); Mon, 13 Oct 2008 13:13:11 -0700 (PDT) Date: Tue, 14 Oct 2008 09:13:03 +1300 From: James Butler To: Manolis Kiagias Message-ID: <20081014091303.666a957c@jamesb.kiwiplan.co.nz> In-Reply-To: <48F3A831.8060401@gmail.com> References: <48F33795.20008@gmail.com> <20081014083534.1e776dd9@jamesb.kiwiplan.co.nz> <48F3A831.8060401@gmail.com> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.9; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: Minor problems with Xfce X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 20:13:13 -0000 Manolis Kiagias wrote: > James Butler wrote: > > Manolis Kiagias wrote: > > > >> James Butler wrote: > >> > >>> My other problem is possibly unrelated, but any actions I perform > >>> which would remove or update icons on the desktop (deleting a > >>> file, emptying Trash) don't take effect until xfdesktop is > >>> restarted or I log out and then in. Any ideas? Notably, automatic > >>> detection and mounting of USB drives, which seems to be a fragile > >>> area for many HAL users, works perfectly for me. > >>> > >>> Thanks in advance, > >>> -James Butler > >>> > >>> > >> Just solved this one, quite silly it was ;) > >> It seems Thunar is not built with FAM (File Alteration Monitor) > >> support, hence it does not know when it needs to update folder > >> views (or the desktop for that matter). So, simply rebuild with > >> FAM: > >> > >> # cd /usr/ports/x11-fm/thunar > >> > >> # make config > >> > >> (Select FAM from the options dialog) > >> > >> # make deinstall reinstall > >> > >> Restart your X session. It will work then. > >> > > > > Aha! I will try this when I get home - thanks. Anyone know why > > Thunar does not default to using FAM/gamin? gamin doesn't look too > > heavy. > > > > Cheers, > > James Butler > > > > > > It seems the default options for Thunar do not include gamin for some > reason. Although I already had it installed anyway. If you installed > from packages, these are built with the default options, so not > having FAM support is expected. Sorry, yes that was my point - what is the reason for: FAM "Enable FAM support" off \ in the Makefile? I know KDE4 has had problems with FAM on FreeBSD, but I think that's the SGI FAM not gamin? It seems that Xfdesktop is slightly lost without it. > P.S. Putting the questions list back on this Oops, thanks. James Butler From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 20:56: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 65BE51065691 for ; Mon, 13 Oct 2008 20:56:42 +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 495598FC12 for ; Mon, 13 Oct 2008 20:56:42 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from [10.0.1.194] (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 m9DKufuK095161 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Mon, 13 Oct 2008 13:56:41 -0700 (PDT) (envelope-from bc979@lafn.org) Message-Id: From: Doug Hardie To: freebsd-questions@freebsd.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: Mon, 13 Oct 2008 13:56:40 -0700 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: New PATA Drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 20:56:42 -0000 I am encountering an issue with a new 160 GB PATA drive. Its being installed on an old system (Pentium II). The boot process never really starts. It gets in the BIOS to where it checks for drives and hangs with the message searching for the primary drive on the channel. Normally I have that disabled because the boot drive is SCSI but in that situation it just hangs and there are no messages. This drive is the only device on the channel and it is jumpered for Master. I am suspecting that the issue is the drive ATA/100 is not falling back to ATA/66/33 such that the motherboard can properly detect it. Seagate does provide a utility to reset the drive back down from ATA/ 100 but it requires that the boot get through to run the utility. The drive works fine in a Mac but the utility won't run there. I can continue to search for hardware that can boot with the drive attached to run the utility or am I chasing my tail here? Drive: Seagate ST3160815A Motherboard: ASUS P2L97 - Manual says ATA/33 only. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 21:03: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 A37BC1065690 for ; Mon, 13 Oct 2008 21:03:50 +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 576EE8FC24 for ; Mon, 13 Oct 2008 21:03:50 +0000 (UTC) (envelope-from dkelly@Grumpy.DynDNS.org) Received: (qmail 31533 invoked by uid 0); 13 Oct 2008 21:03:48 -0000 Received: from unknown (HELO Grumpy.DynDNS.org) (216.186.148.249) by smtp8.knology.net with SMTP; 13 Oct 2008 21:03:48 -0000 Received: by Grumpy.DynDNS.org (Postfix, from userid 928) id 7B0FD28422; Mon, 13 Oct 2008 16:03:48 -0500 (CDT) Date: Mon, 13 Oct 2008 16:03:48 -0500 From: David Kelly To: Doug Hardie Message-ID: <20081013210348.GA76138@Grumpy.DynDNS.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: New PATA Drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD-Questions@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 21:03:50 -0000 On Mon, Oct 13, 2008 at 01:56:40PM -0700, Doug Hardie wrote: > I am encountering an issue with a new 160 GB PATA drive. Its being > installed on an old system (Pentium II). The boot process never > really starts. It gets in the BIOS to where it checks for drives and > hangs with the message searching for the primary drive on the > channel. Normally I have that disabled because the boot drive is SCSI > but in that situation it just hangs and there are no messages. This > drive is the only device on the channel and it is jumpered for Master. > > I am suspecting that the issue is the drive ATA/100 is not falling > back to ATA/66/33 such that the motherboard can properly detect it. > Seagate does provide a utility to reset the drive back down from ATA/ > 100 but it requires that the boot get through to run the utility. The > drive works fine in a Mac but the utility won't run there. I can > continue to search for hardware that can boot with the drive attached > to run the utility or am I chasing my tail here? > > Drive: Seagate ST3160815A > > Motherboard: ASUS P2L97 - Manual says ATA/33 only. I have had exactly that sort of problem with a 160G Seagate drive on old hardware. And even if it did work it would have only recognized 128G due to hardware or BIOS limitations. In the end I swapped an old HD out of another machine that was happy with the new drive. A CPU and motherboard that does recognize your ATA100 drive costs less than the HD. Perhaps its time to upgrade the MB? -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 21:09: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 26A6A10656A3 for ; Mon, 13 Oct 2008 21:09:32 +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 C08278FC17 for ; Mon, 13 Oct 2008 21:09:31 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA06.westchester.pa.mail.comcast.net ([76.96.62.51]) by QMTA08.westchester.pa.mail.comcast.net with comcast id SL2e1a00B16LCl058M9Tms; Mon, 13 Oct 2008 21:09:27 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA06.westchester.pa.mail.comcast.net with comcast id SM9V1a00L2P6wsM3SM9WL2; Mon, 13 Oct 2008 21:09:30 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=W1pzl8lHR0QcZ0j7-eAA:9 a=gf4q5nyBC5YpPAF9nemLcYb3FnoA:4 a=EoioJ0NPDVgA:10 a=_RhRFcbxBZMA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 8C2ACC9419; Mon, 13 Oct 2008 14:09:29 -0700 (PDT) Date: Mon, 13 Oct 2008 14:09:29 -0700 From: Jeremy Chadwick To: borish@gmx.de Message-ID: <20081013210929.GA28598@icarus.home.lan> References: <20081009190941.GA12014@icarus.home.lan> <20081010190028.GA40991@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: questions@freebsd.org Subject: Re: Sysinstall colors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 21:09:32 -0000 On Mon, Oct 13, 2008 at 09:42:04PM +0200, borish@gmx.de wrote: > After some trial and error, I put > > XTerm*color7: #bebebe > > in my .Xdefaults. Now the yellow sysinstall font is much more legible > inside an xterm. This works for both xterm and rxvt. The rxvt man page > proved very useful. > > Now I have solved my problem but other users may experience the same > problem. Is it possible to modify sysinstall so that it uses a darker > background gray when run inside xterm? I'm not sure this is desirable or recommendable. There are some terminal emulation programs -- specifically, PuTTY -- which emulate TERM=xterm. The RGB colours in PuTTY look just fine: quite legible. The key problem here is this: there are no more darker grey backgrounds available with the limited colour set available. You get one grey bg -- sequence \e[47m; -- and that's it. If you want other colours, you have to have a 256-colour xterm compiled, which supports an extended palette, and there's no way to detect if someone has such a capable terminal (basing it on $TERM is not correct). This is one of the limitations of (pardon my use of this term) ANSI colour palettes. Background colours are more limited than foreground. > If not, we should add a note in the handbook. An entry in the Handbook could be: "If the default colours chosen are hard to read or make text illegible while using xterm or rxvt, please see for how to adjust the RGB values for grey and other colours". Ideally, we should see about getting rid of the whole grey background thing -- otherwise, stick with using black text with bright red letters for the quick-jump menu keys. -- | 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 13 21:31: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 8F3331065678 for ; Mon, 13 Oct 2008 21:31:16 +0000 (UTC) (envelope-from walt@wump.org) Received: from mta31.charter.net (mta31.charter.net [216.33.127.82]) by mx1.freebsd.org (Postfix) with ESMTP id 27CC38FC1C for ; Mon, 13 Oct 2008 21:31:16 +0000 (UTC) (envelope-from walt@wump.org) Received: from aarprv06.charter.net ([10.20.200.76]) by mta31.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20081013213110.XLXR4798.mta31.charter.net@aarprv06.charter.net>; Mon, 13 Oct 2008 17:31:10 -0400 Received: from [10.0.0.10] (really [68.116.98.9]) by aarprv06.charter.net with ESMTP id <20081013213109.FLHO128.aarprv06.charter.net@[10.0.0.10]>; Mon, 13 Oct 2008 17:31:09 -0400 Mime-Version: 1.0 Message-Id: In-Reply-To: <26face530810110933o1403705o625586ac53b309fb@mail.gmail.com> References: <26face530810110933o1403705o625586ac53b309fb@mail.gmail.com> Date: Mon, 13 Oct 2008 14:30:49 -0700 To: "Kelly Jones" , freebsd-questions@freebsd.org From: Walt Pawley Content-Type: text/plain; charset="us-ascii" X-Chzlrs: 0 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: Mon, 13 Oct 2008 21:31:16 -0000 At 9:33 AM -0700 10/11/08, 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. IMHO, this is worse than merely ugly. I gave up "rotating" log files a long time ago when I kept running into problems that needed extensive time periods worth of log data with which to resolve issues. I use some modifications to the periodic scripts to do the log data archiving with time related names. Of course, if you're generating megabytes of compressed log data every day, this is likely impractical but it works well for systems I normally use. -- Walter M. Pawley Wump Research & Company 676 River Bend Road, Roseburg, OR 97471 541-672-8975 From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 21:58: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 D5CC6106569A for ; Mon, 13 Oct 2008 21:58: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 C5BB38FC20 for ; Mon, 13 Oct 2008 21:58:54 +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 m9DLwjUA083625; Mon, 13 Oct 2008 23:58:45 +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 m9DLwiBr083622; Mon, 13 Oct 2008 23:58:45 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 13 Oct 2008 23:58:44 +0200 (CEST) From: Wojciech Puchar To: "Zane C.B." In-Reply-To: <20081013070444.56c4dad6@vixen42> Message-ID: <20081013235425.B83595@wojtek.tensor.gdynia.pl> References: <20081012162321.V39974@wojtek.tensor.gdynia.pl> <20081012175941.4d675ad0@vixen42> <20081013122726.X56368@wojtek.tensor.gdynia.pl> <20081013070444.56c4dad6@vixen42> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: IAX2 (or SIP) softphone 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, 13 Oct 2008 21:58:55 -0000 > Jagermiester so this may not make to sense. > > The problem I originally ran into is that behind goat fraging NAT I > would run into issues receiving calls. The problem I ran into is that this is not kiax problem. this may be your NAT problem. what is doing NAT? IAX has configurable "ping" time, kiax tries 300 seconds by default, while asterisk PBX (or whatever IP PBX) could force it lower. every that time IAX client "pings" (but throught IAX not ICMP) the PBX. if NAT removes entries from translation table faster than this, you.. yes.. won't be able to accept calls, because you'll not be reachable. minregexpire and maxregexpire options in iax.conf control this. unfortunately no options in kiax for this. there is already another problem. kiax just ignore lots of "out-of-band" IAX commands. when you make a call to other softphone, there is no "buu buu" before answering, just plain silence. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 22:03: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 CF6AD1065697 for ; Mon, 13 Oct 2008 22:03:59 +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 958DB8FC27 for ; Mon, 13 Oct 2008 22:03:59 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf6004.online.nl (SMTP Server) with ESMTP id 6F9961C00084 for ; Tue, 14 Oct 2008 00:03:58 +0200 (CEST) Received: from [192.168.2.173] (s5590cf7b.adsl.wanadoo.nl [85.144.207.123]) by mwinf6004.online.nl (SMTP Server) with ESMTP id 3D5C71C00083 for ; Tue, 14 Oct 2008 00:03:58 +0200 (CEST) X-ME-UUID: 20081013220358251.3D5C71C00083@mwinf6004.online.nl From: Aniruddha To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Tue, 14 Oct 2008 00:03:57 +0200 Message-Id: <1223935437.4511.5.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Subject: FreeBSD do dbus & hal work? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 22:03:59 -0000 I'm trying to mount (USB) devices in KDE/Gnome automagically through dbus and hal. I added the following lines to /etc/rc.conf: dbus_enable="YES" hald_enable="YES" Unfortunately when I insert an USB (NTFS formatted) nothing happens. When I insert a (fat) sdcard in my cardreader still nothing happens. I do think I'm missing something obvious, who know what it is? -- Regards, Aniruddha From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 22:45: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 441A01065688 for ; Mon, 13 Oct 2008 22:45:46 +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 09D3E8FC1A for ; Mon, 13 Oct 2008 22:45:45 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from [10.0.1.194] (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 m9DMjiVl099778 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Mon, 13 Oct 2008 15:45:45 -0700 (PDT) (envelope-from bc979@lafn.org) Message-Id: <147753C4-C47B-4FCE-8BF4-1337CDB9C543@lafn.org> From: Doug Hardie To: FreeBSD-Questions@freebsd.org In-Reply-To: <20081013210348.GA76138@Grumpy.DynDNS.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: Mon, 13 Oct 2008 15:45:44 -0700 References: <20081013210348.GA76138@Grumpy.DynDNS.org> 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 Cc: Subject: Re: New PATA Drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 22:45:46 -0000 On Oct 13, 2008, at 14:03, David Kelly wrote: > On Mon, Oct 13, 2008 at 01:56:40PM -0700, Doug Hardie wrote: >> I am encountering an issue with a new 160 GB PATA drive. Its being >> installed on an old system (Pentium II). The boot process never >> really starts. It gets in the BIOS to where it checks for drives and >> hangs with the message searching for the primary drive on the >> channel. Normally I have that disabled because the boot drive is >> SCSI >> but in that situation it just hangs and there are no messages. This >> drive is the only device on the channel and it is jumpered for >> Master. >> >> I am suspecting that the issue is the drive ATA/100 is not falling >> back to ATA/66/33 such that the motherboard can properly detect it. >> Seagate does provide a utility to reset the drive back down from ATA/ >> 100 but it requires that the boot get through to run the utility. >> The >> drive works fine in a Mac but the utility won't run there. I can >> continue to search for hardware that can boot with the drive attached >> to run the utility or am I chasing my tail here? >> >> Drive: Seagate ST3160815A >> >> Motherboard: ASUS P2L97 - Manual says ATA/33 only. > > I have had exactly that sort of problem with a 160G Seagate drive on > old > hardware. And even if it did work it would have only recognized 128G > due > to hardware or BIOS limitations. I could live with that. The drive its replacing is only 60 GB and its less than 10% used. > > > In the end I swapped an old HD out of another machine that was happy > with the new drive. > > A CPU and motherboard that does recognize your ATA100 drive costs less > than the HD. Perhaps its time to upgrade the MB? Unfortunately the disk was free. MBs are not. I would love to replace the entire system for a number of reasons, but the money just isn't there for that. I'll keep chasing my tail. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 23:06: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 95AB81065695; Mon, 13 Oct 2008 23:06:48 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (saltmine.radix.net [207.192.128.40]) by mx1.freebsd.org (Postfix) with ESMTP id 3666F8FC1B; Mon, 13 Oct 2008 23:06:48 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (localhost [127.0.0.1]) by saltmine.radix.net (8.12.2/8.12.2) with ESMTP id m9DMqoh6004170; Mon, 13 Oct 2008 18:52:51 -0400 (EDT) Received: (from dickey@localhost) by saltmine.radix.net (8.12.2/8.12.2/Submit) id m9DMqnru004157; Mon, 13 Oct 2008 18:52:49 -0400 (EDT) Date: Mon, 13 Oct 2008 18:52:49 -0400 From: Thomas Dickey To: Jeremy Chadwick Message-ID: <20081013225249.GA1151@saltmine.radix.net> References: <20081009190941.GA12014@icarus.home.lan> <20081010190028.GA40991@icarus.home.lan> <20081013210929.GA28598@icarus.home.lan> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MGYHOYXEY6WxJCY8" Content-Disposition: inline In-Reply-To: <20081013210929.GA28598@icarus.home.lan> User-Agent: Mutt/1.3.27i Cc: questions@freebsd.org, borish@gmx.de Subject: Re: Sysinstall colors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 23:06:48 -0000 --MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 13, 2008 at 02:09:29PM -0700, Jeremy Chadwick wrote: > On Mon, Oct 13, 2008 at 09:42:04PM +0200, borish@gmx.de wrote: > > After some trial and error, I put > > > > XTerm*color7: #bebebe > > > > in my .Xdefaults. Now the yellow sysinstall font is much more legible = =20 > > inside an xterm. This works for both xterm and rxvt. The rxvt man page = =20 > > proved very useful. > > > > Now I have solved my problem but other users may experience the same = =20 > > problem. Is it possible to modify sysinstall so that it uses a darker = =20 > > background gray when run inside xterm? >=20 > I'm not sure this is desirable or recommendable. There are some > terminal emulation programs -- specifically, PuTTY -- which emulate > TERM=3Dxterm. The RGB colours in PuTTY look just fine: quite legible. more/less (putty's wrapping behavior differs) > The key problem here is this: there are no more darker grey backgrounds > available with the limited colour set available. You get one grey bg -- > sequence \e[47m; -- and that's it. If you want other colours, you have > to have a 256-colour xterm compiled, which supports an extended palette, > and there's no way to detect if someone has such a capable terminal > (basing it on $TERM is not correct). actually, basing it on $TERM is the way most people would do it, e.g., xterm-256color|xterm with 256 colors, am, bce, ccc, km, mc5i, mir, msgr, npc, xenl, colors#256, cols#80, it#8, lines#24, acsc=3D``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, =2E.. initc=3D\E]4;%p1%d;rgb:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X= /%p4%{255}%*%{1000}%/%2.2X\E\\, =2E.. --=20 Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net --MGYHOYXEY6WxJCY8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: For info see http://www.gnupg.org iD8DBQFI89EytIqByHxlDocRArHfAJ92/OXgiOD4TCp3nVqF/21LN3YMYwCfSIlF ++awIzTOt0MyhpCibKTmJJ0= =jmaY -----END PGP SIGNATURE----- --MGYHOYXEY6WxJCY8-- From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 23:19: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 1BB091065686 for ; Mon, 13 Oct 2008 23:19:11 +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 ECCFC8FC23 for ; Mon, 13 Oct 2008 23:19:10 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from localhost (localhost [127.0.0.1]) by aegis.hamla.org (Postfix) with ESMTP id E39F15C77 for ; Mon, 13 Oct 2008 19:19:50 -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=1223939989; bh=ScUw7O5N06O6+6lsO7Yxo5VcftMf 4pS53/5SFShcdFo=; b=cqna/PCZDbQJjIx6V0L4UDaIAn+wMRERvjqb+IEGs7iU U0Y/ob8ZW2gUJT+ks9M3dRq05iqediL1Yuo97Obm47IqcmJ5K3vJuzjL/jWbvFPX z6D+VBnsoUnGuxOYaiuS6g6f84dT/9cSoTr3vCO4MOlczYPCrS6KY3Qq5QPE85w= 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 NAm1bu-ZJcN2 for ; Mon, 13 Oct 2008 19:19:49 -0400 (EDT) Date: Mon, 13 Oct 2008 19:19:08 -0400 From: Sahil Tandon To: freebsd-questions@freebsd.org Message-ID: <20081013231908.GB44050@shepherd> References: <20081003172624.GC6090@piglet.digitaltorque.ca> <20081004110255.4e05dbf1@baby-jane-lamaiziere-net.local> <20081013180549.GA25442@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Virus-Scanned: ClamAV version 0.94, clamav-milter version 0.94 on aegis.hamla.org X-Virus-Status: Clean Subject: Re: portupgrade failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "freebsd-questions@freebsd.org" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 23:19:11 -0000 Michael P. Soulier wrote: > On Mon, Oct 13, 2008 at 2:05 PM, Jeremy Chadwick wrote: > > So don't use it? :-) There are alternatives like portmaster. > > I suppose I prefer a single, reliable, supported tool for the system. > portupgrade seems to be pushed the most in all of the documentation > that I can find, so I went with it. Maybe I should dig into its guts > and find out how it works. Try portmanager; it has worked well for me. -- Sahil Tandon From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 23:23: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 EE3E81065698 for ; Mon, 13 Oct 2008 23:23:26 +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 CA90A8FC0A for ; Mon, 13 Oct 2008 23:23:26 +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 m9DNNQGT085072 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 13 Oct 2008 16:23:26 -0700 (PDT) (envelope-from fcondo@quinn.com) Message-Id: <9D75F558-DD70-4E41-95C2-53808B021EC2@quinn.com> From: Fred Condo To: Gary Kline In-Reply-To: <20081010232131.GA53191@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: Mon, 13 Oct 2008 16:23:26 -0700 References: <20081010232131.GA53191@thought.org> X-Mailer: Apple Mail (2.929.2) Cc: FreeBSD Mailing List 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 23:23:27 -0000 On Oct 10, 2008, at 4:21 PM, Gary Kline wrote: > > 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 You don't mention which version of FreeBSD you're using, but if it's at all recent, portsnap is your friend: # mkdir -p /usr/ports && portsnap fetch extract # Do this once to fetch and set up the ports collection initially Then add this to root's crontab: 1 3 * * * /usr/sbin/portsnap cron update If portsnap is not on your system, you should probably upgrade, but you could try the packagge: # pkg_add -r portsnap Also, if you're administering a bunch of jails, ezjail is also your friend. See http://erdgeist.org/arts/software/ezjail/ (website is a bit out of date; 3.0 is released and in the ports collection). From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 23:30: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 CA7FE1065696 for ; Mon, 13 Oct 2008 23:30:32 +0000 (UTC) (envelope-from michael.ross@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 16FFD8FC19 for ; Mon, 13 Oct 2008 23:30:31 +0000 (UTC) (envelope-from michael.ross@gmx.net) Received: (qmail invoked by alias); 13 Oct 2008 23:03:50 -0000 Received: from e176132051.adsl.alicedsl.de (EHLO n200) [85.176.132.51] by mail.gmx.net (mp067) with SMTP; 14 Oct 2008 01:03:50 +0200 X-Authenticated: #11429267 X-Provags-ID: V01U2FsdGVkX1944gp+LRZ4uhhZkojdcsBkQpwxAfaerLR81qNau8 qK9k4vNE75ZFbb Date: Tue, 14 Oct 2008 01:03:48 +0200 From: Michael Ross To: Doug Hardie Message-Id: <20081014010348.8ba4b58d.michael.ross@gmx.net> In-Reply-To: <147753C4-C47B-4FCE-8BF4-1337CDB9C543@lafn.org> References: <20081013210348.GA76138@Grumpy.DynDNS.org> <147753C4-C47B-4FCE-8BF4-1337CDB9C543@lafn.org> X-Mailer: Sylpheed 2.6.0beta1 (GTK+ 2.10.14; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.61 Cc: FreeBSD-Questions@freebsd.org Subject: Re: New PATA Drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 23:30:32 -0000 On Mon, 13 Oct 2008 15:45:44 -0700 Doug Hardie wrote: > > On Oct 13, 2008, at 14:03, David Kelly wrote: > > > On Mon, Oct 13, 2008 at 01:56:40PM -0700, Doug Hardie wrote: > >> I am encountering an issue with a new 160 GB PATA drive. Its being > >> installed on an old system (Pentium II). The boot process never > >> really starts. It gets in the BIOS to where it checks for drives and > >> hangs with the message searching for the primary drive on the > >> channel. Normally I have that disabled because the boot drive is > >> SCSI > >> but in that situation it just hangs and there are no messages. This > >> drive is the only device on the channel and it is jumpered for > >> Master. > >> Drive: Seagate ST3160815A Did you try setting the Capacity Limitation Jumper on the drive? Worked for me once when installing a contemporary HD into an old machine yielded a stop while the BIOS tried to detect it. Michael From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 00:51: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 DA93A106568B for ; Tue, 14 Oct 2008 00:51:34 +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 B7BE28FC13 for ; Tue, 14 Oct 2008 00:51:34 +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 m9E0pX4S006116 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Mon, 13 Oct 2008 17:51:33 -0700 (PDT) (envelope-from bc979@lafn.org) Message-Id: From: Doug Hardie To: "freebsd-questions@freebsd.org" In-Reply-To: <20081014010348.8ba4b58d.michael.ross@gmx.net> 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, 13 Oct 2008 17:51:33 -0700 References: <20081013210348.GA76138@Grumpy.DynDNS.org> <147753C4-C47B-4FCE-8BF4-1337CDB9C543@lafn.org> <20081014010348.8ba4b58d.michael.ross@gmx.net> 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 Cc: Subject: Re: New PATA Drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 00:51:34 -0000 On Oct 13, 2008, at 16:03, Michael Ross wrote: > On Mon, 13 Oct 2008 15:45:44 -0700 > Doug Hardie wrote: > >> >> On Oct 13, 2008, at 14:03, David Kelly wrote: >> >>> On Mon, Oct 13, 2008 at 01:56:40PM -0700, Doug Hardie wrote: >>>> I am encountering an issue with a new 160 GB PATA drive. Its being >>>> installed on an old system (Pentium II). The boot process never >>>> really starts. It gets in the BIOS to where it checks for drives >>>> and >>>> hangs with the message searching for the primary drive on the >>>> channel. Normally I have that disabled because the boot drive is >>>> SCSI >>>> but in that situation it just hangs and there are no messages. >>>> This >>>> drive is the only device on the channel and it is jumpered for >>>> Master. > >>>> Drive: Seagate ST3160815A > > Did you try setting the Capacity Limitation Jumper on the drive? > > Worked for me once when installing a contemporary HD into an old > machine yielded a stop while the BIOS tried to detect it. Wow. I never saw that jumper option before. That did it. The drive does properly drop down to ATA/33 and now is visible in FreeBSD. Its only 32 GB though. However, thats more than enough for now. Thanks. From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 02:12: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 49F111065695 for ; Tue, 14 Oct 2008 02:12:14 +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 D81898FC25 for ; Tue, 14 Oct 2008 02:12:12 +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 m9E2CFom054911; Mon, 13 Oct 2008 19:12:16 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 13 Oct 2008 19:11:57 -0700 (PDT) Date: Mon, 13 Oct 2008 19:11:56 -0700 From: Gary Kline To: Fred Condo Message-ID: <20081014021156.GB38296@thought.org> References: <20081010232131.GA53191@thought.org> <9D75F558-DD70-4E41-95C2-53808B021EC2@quinn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9D75F558-DD70-4E41-95C2-53808B021EC2@quinn.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,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: 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: Tue, 14 Oct 2008 02:12:14 -0000 On Mon, Oct 13, 2008 at 04:23:26PM -0700, Fred Condo wrote: > > On Oct 10, 2008, at 4:21 PM, Gary Kline wrote: > > > > > 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 > > You don't mention which version of FreeBSD you're using, but if it's > at all recent, portsnap is your friend: > > # mkdir -p /usr/ports && portsnap fetch extract # Do this once to > fetch and set up the ports collection initially > > Then add this to root's crontab: > 1 3 * * * /usr/sbin/portsnap cron update > > If portsnap is not on your system, you should probably upgrade, but > you could try the packagge: > # pkg_add -r portsnap > > Also, if you're administering a bunch of jails, ezjail is also your > friend. See http://erdgeist.org/arts/software/ezjail/ (website is a > bit out of date; 3.0 is released and in the ports collection). > YES! Thanks for this fix. Now I'm back in control of my main (and *old*) server. --I believe it was/is 7.0 or nearly. 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 14 03:54: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 65A851065686 for ; Tue, 14 Oct 2008 03:54:14 +0000 (UTC) (envelope-from scuba@centroin.com.br) Received: from raptor.centroin.com (asmtp.centroin.com [64.251.27.169]) by mx1.freebsd.org (Postfix) with ESMTP id 2F9EB8FC15 for ; Tue, 14 Oct 2008 03:54:13 +0000 (UTC) (envelope-from scuba@centroin.com.br) Received: from trex.centroin.com.br (trex.centroin.com.br [200.225.63.134]) (authenticated bits=0) by raptor.centroin.com (8.14.3/8.13.8/CIP SMTP HOST) with ESMTP id m9E3wqYo026431; Tue, 14 Oct 2008 00:58:59 -0300 (BRT) (envelope-from scuba@centroin.com.br) Date: Tue, 14 Oct 2008 00:54:26 -0300 (BRT) From: scuba@centroin.com.br Sender: mpsouza@trex.centroin.com.br To: Todor Genov In-Reply-To: <48C6FBCC.20603@za.verizonbusiness.com> Message-ID: <20081014003842.K46975@trex.centroin.com.br> References: <20080909154356.D66065@trex.centroin.com.br> <48C6FBCC.20603@za.verizonbusiness.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 7 and ESXi X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 03:54:14 -0000 Hi all, I'm facing some problems trying to install a FreeBSD 7.0-RELEASE-amd64, on a Dell PE 2950III, dual Xeon Quad core, 8GB RAM. After (FBSD) boot menu count down, it shows a dump of the CPU registers and a message: BTX Halted. No matter what is changed in VM setup. It does not happen with i386 version. Which is the best release to install in this box? Should I go ahead with i386? Thank you, - Marcelo On Wed, 10 Sep 2008, Todor Genov wrote: |I have ran FreeBSD 6.3 and 7.0 in ESXi and haven't bumped into any |problems so far. | | When they say "supported" they are referring to service level |agreements and technical support should something go wrong, so if you |plan to use this in a production environment you need to do some prior |testing on your own. | |Regards, | |Todor Genov |Systems Operations | |Verizon Business South Africa (Pty) Ltd | |todor.genov@za.verizonbusiness.com |Tel: +27 11 235 6500 |Fax: 086 692 0543 | | | |scuba@centroin.com.br wrote: |> HI all, |> |> I'm planning to virtualize a FreeBSD server on a Dell PowerEdge with |> embedded hipervisor VMware ESXi 3.5. |> Fbsd isn't listed as supported as guest OS for ESX(i), since version |> 4.x. |> Is there any report about problems or impossibility doing that? |> |> |> - Marcelo |> |> _______________________________________________ |> freebsd-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" | - Marcelo From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 04:16: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 99E5F1065689 for ; Tue, 14 Oct 2008 04:16:26 +0000 (UTC) (envelope-from bri@brianwhalen.net) Received: from numail.brianwhalen.net (numail.brianwhalen.net [66.93.34.172]) by mx1.freebsd.org (Postfix) with ESMTP id 7230B8FC17 for ; Tue, 14 Oct 2008 04:16:26 +0000 (UTC) (envelope-from bri@brianwhalen.net) Received: by numail.brianwhalen.net (Postfix, from userid 65534) id D866B284AF; Mon, 13 Oct 2008 20:57:56 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on numail.brianwhalen.net X-Spam-Level: X-Spam-Status: No, score=0.1 required=3.0 tests=RDNS_DYNAMIC autolearn=no version=3.2.5 Received: from [127.0.0.1] (dsl093-034-235.snd1.dsl.speakeasy.net [66.93.34.235]) by numail.brianwhalen.net (Postfix) with ESMTP id 0DFCE284A3 for ; Mon, 13 Oct 2008 20:57:55 -0700 (PDT) Message-ID: <48F418C8.60807@brianwhalen.net> Date: Mon, 13 Oct 2008 20:58:00 -0700 From: Brian User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20080909154356.D66065@trex.centroin.com.br> <48C6FBCC.20603@za.verizonbusiness.com> <20081014003842.K46975@trex.centroin.com.br> In-Reply-To: <20081014003842.K46975@trex.centroin.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD 7 and ESXi X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 04:16:26 -0000 scuba@centroin.com.br wrote: > Hi all, > > I'm facing some problems trying to install a FreeBSD > 7.0-RELEASE-amd64, on a Dell PE 2950III, dual Xeon Quad core, 8GB RAM. > After (FBSD) boot menu count down, it shows a dump of the CPU > registers and a message: BTX Halted. No matter what is changed in VM > setup. > It does not happen with i386 version. > Which is the best release to install in this box? Should I go > ahead with i386? > > Thank you, With 8 gigs of ram that really isn't an option, 4 gigs or more requires a 64 bit OS. Brian From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 04:29: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 B544A1065688 for ; Tue, 14 Oct 2008 04:29:47 +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 989348FC12 for ; Tue, 14 Oct 2008 04:29:47 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA02.emeryville.ca.mail.comcast.net ([76.96.30.19]) by QMTA06.emeryville.ca.mail.comcast.net with comcast id ST6Z1a0080QkzPwA6UVnjJ; Tue, 14 Oct 2008 04:29:47 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA02.emeryville.ca.mail.comcast.net with comcast id SUVm1a0022P6wsM8NUVmot; Tue, 14 Oct 2008 04:29:47 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=n4zk9-YIr9TEIBfGGDQA:9 a=WPIXPOQ9N3eaYDQaa_Qo3rPWA4IA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 61E0EC9419; Mon, 13 Oct 2008 21:29:46 -0700 (PDT) Date: Mon, 13 Oct 2008 21:29:46 -0700 From: Jeremy Chadwick To: Brian Message-ID: <20081014042946.GA40021@icarus.home.lan> References: <20080909154356.D66065@trex.centroin.com.br> <48C6FBCC.20603@za.verizonbusiness.com> <20081014003842.K46975@trex.centroin.com.br> <48F418C8.60807@brianwhalen.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48F418C8.60807@brianwhalen.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 7 and ESXi X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 04:29:48 -0000 On Mon, Oct 13, 2008 at 08:58:00PM -0700, Brian wrote: > scuba@centroin.com.br wrote: >> Hi all, >> >> I'm facing some problems trying to install a FreeBSD >> 7.0-RELEASE-amd64, on a Dell PE 2950III, dual Xeon Quad core, 8GB RAM. >> After (FBSD) boot menu count down, it shows a dump of the CPU >> registers and a message: BTX Halted. No matter what is changed in VM >> setup. >> It does not happen with i386 version. >> Which is the best release to install in this box? Should I go ahead >> with i386? >> >> Thank you, > > > With 8 gigs of ram that really isn't an option, 4 gigs or more requires > a 64 bit OS. Well he already tried amd64 and received a panic in the bootloader. :-) I think I know what might be causing that. Also, he does have the option of using i386 PAE to address more memory while in x86 mode, but ideally he should be running amd64. -- | 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 14 04:35: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 4AA1B1065696 for ; Tue, 14 Oct 2008 04:35:06 +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 E3F678FC1A for ; Tue, 14 Oct 2008 04:35:05 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA10.westchester.pa.mail.comcast.net ([76.96.62.28]) by QMTA06.westchester.pa.mail.comcast.net with comcast id SNiA1a0050cZkys56UawPT; Tue, 14 Oct 2008 04:34:56 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA10.westchester.pa.mail.comcast.net with comcast id SUb31a00U2P6wsM3WUb4Zb; Tue, 14 Oct 2008 04:35:05 +0000 X-Authority-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=OFoTRIyLsrXYVQHN5qsA:9 a=9_sSGjM2ogvcnFjN3q-a45gm_boA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id B476EC9419; Mon, 13 Oct 2008 21:35:03 -0700 (PDT) Date: Mon, 13 Oct 2008 21:35:03 -0700 From: Jeremy Chadwick To: scuba@centroin.com.br Message-ID: <20081014043503.GB40021@icarus.home.lan> References: <20080909154356.D66065@trex.centroin.com.br> <48C6FBCC.20603@za.verizonbusiness.com> <20081014003842.K46975@trex.centroin.com.br> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081014003842.K46975@trex.centroin.com.br> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org, Todor Genov Subject: Re: FreeBSD 7 and ESXi X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 04:35:06 -0000 On Tue, Oct 14, 2008 at 12:54:26AM -0300, scuba@centroin.com.br wrote: > I'm facing some problems trying to install a FreeBSD > 7.0-RELEASE-amd64, on a Dell PE 2950III, dual Xeon Quad core, 8GB RAM. > After (FBSD) boot menu count down, it shows a dump of the CPU > registers and a message: BTX Halted. No matter what is changed in VM > setup. Can you please download the 7.1-BETA2 ISO and try it instead? There have been changes to the FreeBSD boot loader between 7.0-RELEASE and 7.1-BETA2 which may improve things for you. The 7.1-BETA2 ISOs are available here: ftp://ftp4.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/7.1/ You can see the changes at the below Wiki (see very bottom of page): http://wiki.freebsd.org/JeremyChadwick/Commonly_reported_issues > It does not happen with i386 version. > Which is the best release to install in this box? Should I go > ahead with i386? If this is going to be a desktop box and uses an nVidia video card, you should stay with i386 (if I remember correctly there are no working amd64 nVidia drivers). This won't allow you to use the full 8GB of RAM you have installed, though, without building a custom kernel with PAE support (and there are known compatibility problems between PAE and certain kernel drivers). It's strongly recommended you stick with amd64 if at all possible. -- | 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 14 05:03: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 4AF651065688 for ; Tue, 14 Oct 2008 05:03:55 +0000 (UTC) (envelope-from scuba@centroin.com.br) Received: from raptor.centroin.com (asmtp.centroin.com [64.251.27.169]) by mx1.freebsd.org (Postfix) with ESMTP id 107F48FC12 for ; Tue, 14 Oct 2008 05:03:54 +0000 (UTC) (envelope-from scuba@centroin.com.br) Received: from trex.centroin.com.br (trex.centroin.com.br [200.225.63.134]) (authenticated bits=0) by raptor.centroin.com (8.14.3/8.13.8/CIP SMTP HOST) with ESMTP id m9E58XSl057554; Tue, 14 Oct 2008 02:08:41 -0300 (BRT) (envelope-from scuba@centroin.com.br) Date: Tue, 14 Oct 2008 02:04:07 -0300 (BRT) From: scuba@centroin.com.br Sender: mpsouza@trex.centroin.com.br To: Jeremy Chadwick In-Reply-To: <20081014043503.GB40021@icarus.home.lan> Message-ID: <20081014015746.X78747@trex.centroin.com.br> References: <20080909154356.D66065@trex.centroin.com.br> <48C6FBCC.20603@za.verizonbusiness.com> <20081014003842.K46975@trex.centroin.com.br> <20081014043503.GB40021@icarus.home.lan> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@FreeBSD.org, Todor Genov Subject: Re: FreeBSD 7 and ESXi X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 05:03:55 -0000 Jeremy, On Mon, 13 Oct 2008, Jeremy Chadwick wrote: |On Tue, Oct 14, 2008 at 12:54:26AM -0300, scuba@centroin.com.br wrote: |> I'm facing some problems trying to install a FreeBSD |> 7.0-RELEASE-amd64, on a Dell PE 2950III, dual Xeon Quad core, 8GB RAM. |> After (FBSD) boot menu count down, it shows a dump of the CPU |> registers and a message: BTX Halted. No matter what is changed in VM |> setup. | |Can you please download the 7.1-BETA2 ISO and try it instead? There |have been changes to the FreeBSD boot loader between 7.0-RELEASE and |7.1-BETA2 which may improve things for you. The 7.1-BETA2 ISOs are |available here: The same behavior with 7.1-BETA2. |> It does not happen with i386 version. |> Which is the best release to install in this box? Should I go |> ahead with i386? | |If this is going to be a desktop box and uses an nVidia video card, |you should stay with i386 (if I remember correctly there are no |working amd64 nVidia drivers). It'll be a production server, not a desktop. |This won't allow you to use the full 8GB of RAM you have installed, |though, without building a custom kernel with PAE support (and there are |known compatibility problems between PAE and certain kernel drivers). |It's strongly recommended you stick with amd64 if at all possible. In fact I'll not give the entire memory to this virtual machine. But I would like to use the full resources of 64bits CPU capacity. - Marcelo From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 05:09: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 BC34B1065690 for ; Tue, 14 Oct 2008 05:09:27 +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 668BB8FC15 for ; Tue, 14 Oct 2008 05:09:27 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.14.2/8.14.2) with ESMTP id m9E59J0e068621; Tue, 14 Oct 2008 00:09:20 -0500 (CDT) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20081014000559.02591d80@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Tue, 14 Oct 2008 00:09:06 -0500 To: scuba@centroin.com.br, Todor Genov From: Derek Ragona In-Reply-To: <20081014003842.K46975@trex.centroin.com.br> References: <20080909154356.D66065@trex.centroin.com.br> <48C6FBCC.20603@za.verizonbusiness.com> <20081014003842.K46975@trex.centroin.com.br> Mime-Version: 1.0 X-Antivirus: avast! (VPS 081013-0, 10/13/2008), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: ClamAV 0.94-exp/8419/Mon Oct 13 21:08:23 2008 on betty.computinginnovations.com X-Virus-Status: Clean X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: m9E59J0e068621 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: freebsd-questions@freebsd.org Subject: Re: FreeBSD 7 and ESXi X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 05:09:27 -0000 At 10:54 PM 10/13/2008, scuba@centroin.com.br wrote: >Hi all, > > I'm facing some problems trying to install a FreeBSD >7.0-RELEASE-amd64, on a Dell PE 2950III, dual Xeon Quad core, 8GB RAM. > After (FBSD) boot menu count down, it shows a dump of the CPU >registers and a message: BTX Halted. No matter what is changed in VM >setup. > It does not happen with i386 version. > Which is the best release to install in this box? Should I go >ahead with i386? > >Thank you, > >- Marcelo I have multiple VM's running the i386 version under ESXi. I think you need to examine what purpose you are running the FreeBSD VM, and then choose what version to run. The amd64 64-bit version can address more resources, but if you are not going to dedicate those resources in excess of 32-bit to the VM, you don't need to run the 64-bit version. Also there are a lot less ports in the 64-bit version. -Derek >On Wed, 10 Sep 2008, Todor Genov wrote: > >|I have ran FreeBSD 6.3 and 7.0 in ESXi and haven't bumped into any >|problems so far. >| >| When they say "supported" they are referring to service level >|agreements and technical support should something go wrong, so if you >|plan to use this in a production environment you need to do some prior >|testing on your own. >| >|Regards, >| >|Todor Genov >|Systems Operations >| >|Verizon Business South Africa (Pty) Ltd >| >|todor.genov@za.verizonbusiness.com >|Tel: +27 11 235 6500 >|Fax: 086 692 0543 >| >| >| >|scuba@centroin.com.br wrote: >|> HI all, >|> >|> I'm planning to virtualize a FreeBSD server on a Dell PowerEdge with >|> embedded hipervisor VMware ESXi 3.5. >|> Fbsd isn't listed as supported as guest OS for ESX(i), since version >|> 4.x. >|> Is there any report about problems or impossibility doing that? >|> >|> >|> - Marcelo >|> >|> _______________________________________________ >|> freebsd-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" >| > > >- Marcelo > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 05:14: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 0051C106568C for ; Tue, 14 Oct 2008 05:14:33 +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 D73088FC1E for ; Tue, 14 Oct 2008 05:14:33 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA14.emeryville.ca.mail.comcast.net ([76.96.30.60]) by QMTA01.emeryville.ca.mail.comcast.net with comcast id SQLo1a01B1HpZEsA1VDtyW; Tue, 14 Oct 2008 05:13:53 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA14.emeryville.ca.mail.comcast.net with comcast id SVEY1a0012P6wsM8aVEYXh; Tue, 14 Oct 2008 05:14:33 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=5E1Gw5wH4SP5OtJwhCMA:9 a=l1UIWO8npcTecwMp6m6FhpmJiEEA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id EB072C941C; Mon, 13 Oct 2008 22:14:31 -0700 (PDT) Date: Mon, 13 Oct 2008 22:14:31 -0700 From: Jeremy Chadwick To: scuba@centroin.com.br Message-ID: <20081014051431.GA40846@icarus.home.lan> References: <20080909154356.D66065@trex.centroin.com.br> <48C6FBCC.20603@za.verizonbusiness.com> <20081014003842.K46975@trex.centroin.com.br> <20081014043503.GB40021@icarus.home.lan> <20081014015746.X78747@trex.centroin.com.br> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081014015746.X78747@trex.centroin.com.br> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@FreeBSD.org, Todor Genov , jhb@freebsd.org Subject: Re: FreeBSD 7 and ESXi X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 05:14:34 -0000 On Tue, Oct 14, 2008 at 02:04:07AM -0300, scuba@centroin.com.br wrote: > Jeremy, > > On Mon, 13 Oct 2008, Jeremy Chadwick wrote: > > |On Tue, Oct 14, 2008 at 12:54:26AM -0300, scuba@centroin.com.br wrote: > |> I'm facing some problems trying to install a FreeBSD > |> 7.0-RELEASE-amd64, on a Dell PE 2950III, dual Xeon Quad core, 8GB RAM. > |> After (FBSD) boot menu count down, it shows a dump of the CPU > |> registers and a message: BTX Halted. No matter what is changed in VM > |> setup. > | > |Can you please download the 7.1-BETA2 ISO and try it instead? There > |have been changes to the FreeBSD boot loader between 7.0-RELEASE and > |7.1-BETA2 which may improve things for you. The 7.1-BETA2 ISOs are > |available here: > > The same behavior with 7.1-BETA2. I'm not sure what to do at this point, or what to tell you, since the kernel can't even load. Are you installing this off of CD, and is the CD drive hooked up to the PC via ATA/SATA (rather than USB or something else)? John Baldwin might have some ideas, but debugging this is going to be difficult because you're wanting to use amd64 but the only way to get a usable box is under i386. > |> It does not happen with i386 version. > |> Which is the best release to install in this box? Should I go > |> ahead with i386? > | > |If this is going to be a desktop box and uses an nVidia video card, > |you should stay with i386 (if I remember correctly there are no > |working amd64 nVidia drivers). > > It'll be a production server, not a desktop. > > |This won't allow you to use the full 8GB of RAM you have installed, > |though, without building a custom kernel with PAE support (and there are > |known compatibility problems between PAE and certain kernel drivers). > |It's strongly recommended you stick with amd64 if at all possible. > > In fact I'll not give the entire memory to this virtual machine. > But I would like to use the full resources of 64bits CPU capacity. -- | 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 14 05:43: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 5ED9F1065699; Tue, 14 Oct 2008 05:43:56 +0000 (UTC) (envelope-from scuba@centroin.com.br) Received: from raptor.centroin.com (asmtp.centroin.com [64.251.27.169]) by mx1.freebsd.org (Postfix) with ESMTP id 238D38FC0C; Tue, 14 Oct 2008 05:43:55 +0000 (UTC) (envelope-from scuba@centroin.com.br) Received: from trex.centroin.com.br (trex.centroin.com.br [200.225.63.134]) (authenticated bits=0) by raptor.centroin.com (8.14.3/8.13.8/CIP SMTP HOST) with ESMTP id m9E5meOY072801; Tue, 14 Oct 2008 02:48:42 -0300 (BRT) (envelope-from scuba@centroin.com.br) Date: Tue, 14 Oct 2008 02:44:13 -0300 (BRT) From: scuba@centroin.com.br Sender: mpsouza@trex.centroin.com.br To: Jeremy Chadwick In-Reply-To: <20081014051431.GA40846@icarus.home.lan> Message-ID: <20081014023446.K78747@trex.centroin.com.br> References: <20080909154356.D66065@trex.centroin.com.br> <48C6FBCC.20603@za.verizonbusiness.com> <20081014003842.K46975@trex.centroin.com.br> <20081014043503.GB40021@icarus.home.lan> <20081014015746.X78747@trex.centroin.com.br> <20081014051431.GA40846@icarus.home.lan> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@FreeBSD.org, Todor Genov , jhb@FreeBSD.org Subject: Re: FreeBSD 7 and ESXi X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 05:43:56 -0000 On Mon, 13 Oct 2008, Jeremy Chadwick wrote: |On Tue, Oct 14, 2008 at 02:04:07AM -0300, scuba@centroin.com.br wrote: |> Jeremy, |> |> On Mon, 13 Oct 2008, Jeremy Chadwick wrote: |> |> |On Tue, Oct 14, 2008 at 12:54:26AM -0300, scuba@centroin.com.br wrote: |> |> I'm facing some problems trying to install a FreeBSD |> |> 7.0-RELEASE-amd64, on a Dell PE 2950III, dual Xeon Quad core, 8GB RAM. |> |> After (FBSD) boot menu count down, it shows a dump of the CPU |> |> registers and a message: BTX Halted. No matter what is changed in VM |> |> setup. |> | |> |Can you please download the 7.1-BETA2 ISO and try it instead? There |> |have been changes to the FreeBSD boot loader between 7.0-RELEASE and |> |7.1-BETA2 which may improve things for you. The 7.1-BETA2 ISOs are |> |available here: |> |> The same behavior with 7.1-BETA2. | |I'm not sure what to do at this point, or what to tell you, since the |kernel can't even load. | |Are you installing this off of CD, and is the CD drive hooked up to |the PC via ATA/SATA (rather than USB or something else)? It's a bit more complicated, since, for some reason the Vmware client is unable to boot the VM from CD on the host server. It's booting an ISO image on the client machine. I already read something saying that it's a known issue of the ESXi. Without the virtulization layer, the amd64 CD boots without problems in this machine. - Marcelo |John Baldwin might have some ideas, but debugging this is going to be |difficult because you're wanting to use amd64 but the only way to get a |usable box is under i386. |> |> It does not happen with i386 version. |> |> Which is the best release to install in this box? Should I go |> |> ahead with i386? |> | |> |If this is going to be a desktop box and uses an nVidia video card, |> |you should stay with i386 (if I remember correctly there are no |> |working amd64 nVidia drivers). |> |> It'll be a production server, not a desktop. |> |> |This won't allow you to use the full 8GB of RAM you have installed, |> |though, without building a custom kernel with PAE support (and there are |> |known compatibility problems between PAE and certain kernel drivers). |> |It's strongly recommended you stick with amd64 if at all possible. |> |> In fact I'll not give the entire memory to this virtual machine. |> But I would like to use the full resources of 64bits CPU capacity. | |-- || 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 | | - Marcelo From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 06:12: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 8EA50106568A for ; Tue, 14 Oct 2008 06:12: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 6FCEB8FC12 for ; Tue, 14 Oct 2008 06:12:00 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA10.emeryville.ca.mail.comcast.net ([76.96.30.28]) by QMTA06.emeryville.ca.mail.comcast.net with comcast id SVPK1a0040cQ2SLA6WC0Kp; Tue, 14 Oct 2008 06:12:00 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA10.emeryville.ca.mail.comcast.net with comcast id SWBz1a0022P6wsM8WWBzlF; Tue, 14 Oct 2008 06:11:59 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=TKWlr2A5uWrxJ9WKavYA:9 a=ri43eTkzO2CLCFi3aUjg8UIKmkkA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 09D16C9419; Mon, 13 Oct 2008 23:11:59 -0700 (PDT) Date: Mon, 13 Oct 2008 23:11:59 -0700 From: Jeremy Chadwick To: scuba@centroin.com.br Message-ID: <20081014061159.GA41939@icarus.home.lan> References: <20080909154356.D66065@trex.centroin.com.br> <48C6FBCC.20603@za.verizonbusiness.com> <20081014003842.K46975@trex.centroin.com.br> <20081014043503.GB40021@icarus.home.lan> <20081014015746.X78747@trex.centroin.com.br> <20081014051431.GA40846@icarus.home.lan> <20081014023446.K78747@trex.centroin.com.br> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081014023446.K78747@trex.centroin.com.br> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@FreeBSD.org, Todor Genov , jhb@FreeBSD.org Subject: Re: FreeBSD 7 and ESXi X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 06:12:00 -0000 On Tue, Oct 14, 2008 at 02:44:13AM -0300, scuba@centroin.com.br wrote: > On Mon, 13 Oct 2008, Jeremy Chadwick wrote: > > |On Tue, Oct 14, 2008 at 02:04:07AM -0300, scuba@centroin.com.br wrote: > |> Jeremy, > |> > |> On Mon, 13 Oct 2008, Jeremy Chadwick wrote: > |> > |> |On Tue, Oct 14, 2008 at 12:54:26AM -0300, scuba@centroin.com.br wrote: > |> |> I'm facing some problems trying to install a FreeBSD > |> |> 7.0-RELEASE-amd64, on a Dell PE 2950III, dual Xeon Quad core, 8GB RAM. > |> |> After (FBSD) boot menu count down, it shows a dump of the CPU > |> |> registers and a message: BTX Halted. No matter what is changed in VM > |> |> setup. > |> | > |> |Can you please download the 7.1-BETA2 ISO and try it instead? There > |> |have been changes to the FreeBSD boot loader between 7.0-RELEASE and > |> |7.1-BETA2 which may improve things for you. The 7.1-BETA2 ISOs are > |> |available here: > |> > |> The same behavior with 7.1-BETA2. > | > |I'm not sure what to do at this point, or what to tell you, since the > |kernel can't even load. > | > |Are you installing this off of CD, and is the CD drive hooked up to > |the PC via ATA/SATA (rather than USB or something else)? > > It's a bit more complicated, since, for some reason the Vmware > client is unable to boot the VM from CD on the host server. It's > booting an ISO image on the client machine. > I already read something saying that it's a known issue of the > ESXi. > Without the virtulization layer, the amd64 CD boots without > problems in this machine. Ah, so the truth comes out... :-) Have you brought this fact up with the VMware folks? They're quite a nice bunch, I wouldn't be surprised if they provided a hotfix for you for this 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 Tue Oct 14 06:39:19 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 9D07F106568E for ; Tue, 14 Oct 2008 06:39:19 +0000 (UTC) (envelope-from unxfbsdi@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 2269A8FC0C for ; Tue, 14 Oct 2008 06:39:18 +0000 (UTC) (envelope-from unxfbsdi@gmail.com) Received: by ti-out-0910.google.com with SMTP id d27so1090704tid.3 for ; Mon, 13 Oct 2008 23:39:17 -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:subject:content-type :content-transfer-encoding; bh=rjcr+suPw52OrjU+S8BZJ9/qj6vq0SmYWlSmk9SpXaE=; b=fbMKtZnubcGozmjPczVkU6admK61TWnDGtpof7b2+wtlZ9oCS8wcgb9HH5arz2uafr AwHXuwRfYNjlODx3TVDBVCleeRhtxv9W/hCvdSr5Vb5VMRLyhUfnTGbyLvfMXlU8A9+T Mwt7I+7NiRw6B80EO0xbAJzPdLPHv1zq+kO4k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=mvBqdEVbXQoZyFveIxmzQ9+VzDOUuqIlLLp0xfNi/fwH09gNexyT5ntJ4GuTlHdxpO 6noBI1LrFOA8xTKhmD/1SawwC57dHL0aihS9Tx+iEJVHUkIroahfw0KVpWHrjhXl6Jn5 UyqYcbKqqxkuoh4ucS5//sFC+lxSMn2aDYtPg= Received: by 10.110.109.19 with SMTP id h19mr6337179tic.14.1223966357599; Mon, 13 Oct 2008 23:39:17 -0700 (PDT) Received: from ?210.214.1.205? (static-210-214-1-205.maa.sify.net [210.214.1.205]) by mx.google.com with ESMTPS id 2sm13872316tif.0.2008.10.13.23.39.13 (version=SSLv3 cipher=RC4-MD5); Mon, 13 Oct 2008 23:39:16 -0700 (PDT) Message-ID: <48F43EB1.40304@gmail.com> Date: Tue, 14 Oct 2008 12:09:45 +0530 From: Manish Jain 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: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 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, 14 Oct 2008 06:39:19 -0000 Hi, I am poor at networking and need a little bit of help. My dad has a Windows 2000 machine with a network card but does not have a connection to the internet. My freebsd 6.2 box is connected to the internet and has 2 network cards, rl0 and rl1. rl0 connects to the ISP and rl1 is directly connected via a long Ethernet cable to the NIC on my dad's machine. While I can access the internet easily, I want my dad to be able to connect to the internet with my freebsd box serving as the gateway. Can anyone please explain to me in easy steps how to accomplish this ? Thanks in advance for any help. Manish Jain unxfbsdi@gmail.com From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 07:49: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 7E201106568F for ; Tue, 14 Oct 2008 07:49:06 +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 DE8C58FC1F for ; Tue, 14 Oct 2008 07:49:05 +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 m9E7mnVC084385 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Oct 2008 08:48:55 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk m9E7mnVC084385 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1223970536; bh=n2hbitzydfaoDz SSYytveC8rghziOdUdsCzOYpJISY8=; 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<48F44EE1.1 0206@infracaninophile.co.uk>|Date:=20Tue,=2014=20Oct=202008=2008:48 :49=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User-Agent:=20Thunderbird=20 2.0.0.17=20(X11/20081002)|MIME-Version:=201.0|To:=20Walt=20Pawley=2 0|CC:=20Kelly=20Jones=20,=20=0D=0A=20freebsd-questions@freebsd.org|Subject:=20Re:=20newsys log=20naming=20scheme=20could=20be=20improved?|References:=20<26fac e530810110933o1403705o625586ac53b309fb@mail.gmail.com>=20|In-Reply-To:=20|X-Enigmail-Version:=200.95.6|Content-Type:=20text/plain=3 B=20charset=3DUTF-8=3B=20format=3Dflowed|Content-Transfer-Encoding: =207bit; b=z//5h02vrBncsGiva5HERHuwjyaiGc5Wgn+8GUiyyJDuxPeCPicTaePT 4qG65ga7/tFzpVN2MtiqzJODjvCiyTYVe00N5t9QG0nWXtiqOES+phVHuWNLyX1zjHA u1nFtwPvMvKcmC62jLkdNJrpUz8WzHfbjgtCD/EITw4Zy5rk= Message-ID: <48F44EE1.10206@infracaninophile.co.uk> Date: Tue, 14 Oct 2008 08:48:49 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.17 (X11/20081002) MIME-Version: 1.0 To: Walt Pawley References: <26face530810110933o1403705o625586ac53b309fb@mail.gmail.com> In-Reply-To: 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.1 (smtp.infracaninophile.co.uk [81.187.76.162]); Tue, 14 Oct 2008 08:48:56 +0100 (BST) X-Virus-Scanned: ClamAV 0.94/8419/Tue Oct 14 03:08:23 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: Kelly Jones , freebsd-questions@freebsd.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: Tue, 14 Oct 2008 07:49:06 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Walt Pawley wrote: | At 9:33 AM -0700 10/11/08, 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. | | IMHO, this is worse than merely ugly. I gave up "rotating" log | files a long time ago when I kept running into problems that | needed extensive time periods worth of log data with which to | resolve issues. I use some modifications to the periodic | scripts to do the log data archiving with time related names. | | Of course, if you're generating megabytes of compressed log | data every day, this is likely impractical but it works well | for systems I normally use. I note that syslog.conf allows you to pipe log messages into some other application. Simply using cronolog (or rotatelogs from one of the Apache ports) would allow you to create date-stamped logfile names pretty easily. Eg. *.* |/usr/local/sbin/cronolog /var/log/all-%Y-%m-%d.log This doesn't provide control of file permissions or compression of old log files, but either of those are relatively simple to fix. 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 iEYEAREDAAYFAkj0TuEACgkQ3jDkPpsZ+VYhMQCfTMJFKWSGWLAOrbQgbZ3HFEWo DWgAoJDLjWy7kSwPxAzmUcXcZW1B1v0m =k4af -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 07:53:01 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 788D1106574B for ; Tue, 14 Oct 2008 07:53:01 +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 E8F308FC1A for ; Tue, 14 Oct 2008 07:52:59 +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 m9E7qtGm092034; Tue, 14 Oct 2008 09:52:55 +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 m9E7qst0092031; Tue, 14 Oct 2008 09:52:54 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Tue, 14 Oct 2008 09:52:54 +0200 (CEST) From: Wojciech Puchar To: Manish Jain In-Reply-To: <48F43EB1.40304@gmail.com> Message-ID: <20081014095228.P92028@wojtek.tensor.gdynia.pl> References: <48F43EB1.40304@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: questions@freebsd.org Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 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, 14 Oct 2008 07:53:01 -0000 > internet. My freebsd 6.2 box is connected to the internet and has 2 network > cards, rl0 and rl1. rl0 connects to the ISP and rl1 is directly connected via > a long Ethernet cable to the NIC on my dad's machine. While I can access the > internet easily, I want my dad to be able to connect to the internet with my > freebsd box serving as the gateway. Can anyone please explain to me in easy > steps how to accomplish this ? > reading admin's handbook or using google will give you an answer From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 07:54: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 5A22C1065692 for ; Tue, 14 Oct 2008 07:54:48 +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 8DA628FC08 for ; Tue, 14 Oct 2008 07:54:47 +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 m9E7scTk092057; Tue, 14 Oct 2008 09:54:38 +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 m9E7saXS092053; Tue, 14 Oct 2008 09:54:38 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Tue, 14 Oct 2008 09:54:36 +0200 (CEST) From: Wojciech Puchar To: scuba@centroin.com.br In-Reply-To: <20081014003842.K46975@trex.centroin.com.br> Message-ID: <20081014095356.B92028@wojtek.tensor.gdynia.pl> References: <20080909154356.D66065@trex.centroin.com.br> <48C6FBCC.20603@za.verizonbusiness.com> <20081014003842.K46975@trex.centroin.com.br> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org, Todor Genov Subject: Re: FreeBSD 7 and ESXi X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 07:54:48 -0000 > 7.0-RELEASE-amd64, on a Dell PE 2950III, dual Xeon Quad core, 8GB RAM. > After (FBSD) boot menu count down, it shows a dump of the CPU > registers and a message: BTX Halted. No matter what is changed in VM > setup. > It does not happen with i386 version. really no idea, but same is on some machines (amd64) when trying to boot from USB drives. this is bootloader bug From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 07:56:00 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 DF3D41065690 for ; Tue, 14 Oct 2008 07:56:00 +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 282958FC18 for ; Tue, 14 Oct 2008 07:55:59 +0000 (UTC) (envelope-from "cyb."@gmx.net) Received: (qmail invoked by alias); 14 Oct 2008 07:29:18 -0000 Received: from pD952E2C1.dip0.t-ipconnect.de (EHLO core2duo.local) [217.82.226.193] by mail.gmx.net (mp004) with SMTP; 14 Oct 2008 09:29:18 +0200 X-Authenticated: #4870692 X-Provags-ID: V01U2FsdGVkX19jdrhPBflj6n1sv955cTnMbgaDvFSIav7Il6oepy F2t6Ws4U/+hpXP Date: Tue, 14 Oct 2008 09:29:14 +0200 From: Andreas Rudisch To: Manish Jain Message-Id: <20081014092914.12081097.cyb.@gmx.net> In-Reply-To: <48F43EB1.40304@gmail.com> References: <48F43EB1.40304@gmail.com> 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=_Tue__14_Oct_2008_09_29_14_+0200_gQXNwIKrQ_O1GTZc" X-Y-GMX-Trusted: 0 X-FuHaFi: 0.7 Cc: questions@freebsd.org Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 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, 14 Oct 2008 07:56:01 -0000 --Signature=_Tue__14_Oct_2008_09_29_14_+0200_gQXNwIKrQ_O1GTZc Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, 14 Oct 2008 12:09:45 +0530 Manish Jain wrote: > I want my dad to be able to connect to the internet with my freebsd box > serving as the gateway. You might want to read: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routing.h= tml http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html Andreas -- GnuPG key : 0x2A573565 | http://www.gnupg.org/howtos/de/ Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 --Signature=_Tue__14_Oct_2008_09_29_14_+0200_gQXNwIKrQ_O1GTZc Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkj0Sk0ACgkQ8P3NNypXNWXIqACeIAoh4Izygrfb1KhS1OVqi8iO HiQAn2n7YP0Ra+dBZhgWShUoIiLCH/Gq =Vswp -----END PGP SIGNATURE----- --Signature=_Tue__14_Oct_2008_09_29_14_+0200_gQXNwIKrQ_O1GTZc-- From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 07:56: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 C9D9A106568E; Tue, 14 Oct 2008 07:56:27 +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 046AD8FC16; Tue, 14 Oct 2008 07:56:26 +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 m9E7uJol092081; Tue, 14 Oct 2008 09:56: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 m9E7uJxG092078; Tue, 14 Oct 2008 09:56:19 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Tue, 14 Oct 2008 09:56:19 +0200 (CEST) From: Wojciech Puchar To: Jeremy Chadwick In-Reply-To: <20081014043503.GB40021@icarus.home.lan> Message-ID: <20081014095507.U92028@wojtek.tensor.gdynia.pl> References: <20080909154356.D66065@trex.centroin.com.br> <48C6FBCC.20603@za.verizonbusiness.com> <20081014003842.K46975@trex.centroin.com.br> <20081014043503.GB40021@icarus.home.lan> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: scuba@centroin.com.br, freebsd-questions@freebsd.org, Todor Genov Subject: Re: FreeBSD 7 and ESXi X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 07:56:27 -0000 > you should stay with i386 (if I remember correctly there are no > working amd64 nVidia drivers). > > This won't allow you to use the full 8GB of RAM you have installed, > though, without building a custom kernel with PAE support (and there are > known compatibility problems between PAE and certain kernel drivers). > It's strongly recommended you stick with amd64 if at all possible. and use cheap (or even free) used diskless computer like 486-pentium as X terminal. it will even save electricity by not using these super-ultra-3D cards ;) From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 07:57: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 4E4191065695 for ; Tue, 14 Oct 2008 07:57:36 +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 0F72B8FC1A for ; Tue, 14 Oct 2008 07:57:35 +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 41B8F32AF84 for ; Tue, 14 Oct 2008 09:57:33 +0200 (CEST) Message-ID: <48F450E9.1090308@holon.urwis.cc> Date: Tue, 14 Oct 2008 09:57:29 +0200 From: Adam Zaleski 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: Python + cx_Oracle X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 07:57:36 -0000 Hello, Lately i have installed linux Oracle instant_client with sqlplus and sdk packages. I have configured it properly and it works fine right now. Now I'am having trouble to compile cx_Oracle python module.. My Python use FreeBSD system libraries but cx_Oracle need to use libraries from linux Instant Client. I think that I need to install another version of Python that will be compiled with Linux libraries and will be running from Linux emulation. But how to compile that will be running from Linux ABI? Maybe someone have an issue with Python + cx_Oracle module running under FreeBSD greetings From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 08: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 ACBA71065686 for ; Tue, 14 Oct 2008 08:35:30 +0000 (UTC) (envelope-from glyn@millingtons.org) Received: from smtpout.karoo.kcom.com (smtpout.karoo.kcom.com [212.50.160.34]) by mx1.freebsd.org (Postfix) with ESMTP id 4D4EA8FC21 for ; Tue, 14 Oct 2008 08:35:30 +0000 (UTC) (envelope-from glyn@millingtons.org) Received: from unknown (HELO glynthebearded.millingtons.org) ([82.152.120.109]) by smtpout.karoo.kcom.com with ESMTP; 14 Oct 2008 09:35:28 +0100 Received: by glynthebearded.millingtons.org (Postfix, from userid 1001) id 4E5605C1E; Tue, 14 Oct 2008 09:31:55 +0100 (BST) To: freebsd-questions@freebsd.org Organization: Central Church, Torquay, U.K. X-Now-Playing: There's a deathly hush in the close tonight! X-Liturgical-Date: Optional Memorial: Saint Callistus I, pope and martyr, A.D. 2008 From: Glyn Millington Date: Tue, 14 Oct 2008 09:31:55 +0100 Message-ID: <86bpxnh91g.fsf@nowhere.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 Subject: cups-base port broken??? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glyn@millingtons.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 08:35:30 -0000 Happy St. Callistus' Day! FreeBSD 7 release. I'm having trouble upgrading cups-base. With an up-to-date ports tree this is what I get. ,---- | glynthebearded# portupgrade cups-base | ---> Upgrading 'cups-base-1.3.5_2' to 'cups-base-1.3.8_1' (print/cups-base) | ---> Building '/usr/ports/print/cups-base' | ===> Cleaning for cups-base-1.3.8_1 | ===> cups-base-1.3.8_1 has known vulnerabilities: | | ** Command failed [exit code 1]: /usr/bin/script -qa | /tmp/portupgrade.5624.0 env UPGRADE_TOOL=portupgrade | UPGRADE_PORT=cups-base-1.3.5_2 UPGRADE_PORT_VER=1.3.5_2 make | | ** Fix the problem and try again. | ** Listing the failed packages (-:ignored / *:skipped / !:failed) | ! print/cups-base (cups-base-1.3.5_2) (unknown build error) `---- The story behind this is that I deinstalled the cups-base package, then found that I couldn't reinstall; so did pkg_add -r and got cups-base-1.3.5_2; which is fine except that it won't work with the installed version of gnutls, it wants an older version. Is there a work-around which will get me a functional cups-base atb Glyn From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 08:51: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 C9A45106568E for ; Tue, 14 Oct 2008 08:51:27 +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 58CC98FC14 for ; Tue, 14 Oct 2008 08:51:26 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Kpfcg-0008NS-NQ for freebsd-questions@freebsd.org; Tue, 14 Oct 2008 08:51:23 +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 ; Tue, 14 Oct 2008 08:51:22 +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 ; Tue, 14 Oct 2008 08:51:22 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Date: Tue, 14 Oct 2008 04:55:11 -0400 Lines: 84 Message-ID: References: <48F43EB1.40304@gmail.com> 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: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 system 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: Tue, 14 Oct 2008 08:51:28 -0000 Manish Jain wrote: > > Hi, > > I am poor at networking and need a little bit of help. My dad has a > Windows 2000 machine with a network card but does not have a connection > to the internet. My freebsd 6.2 box is connected to the internet and has > 2 network cards, rl0 and rl1. rl0 connects to the ISP and rl1 is > directly connected via a long Ethernet cable to the NIC on my dad's > machine. While I can access the internet easily, I want my dad to be > able to connect to the internet with my freebsd box serving as the > gateway. Can anyone please explain to me in easy steps how to accomplish > this ? > Although to many old-timers this is easily achieved, to someone new to networking it is difficult to explain it in "easy steps". It involves a set of pieces that have to fit together correctly in order to work. You will need to do some proper reading on the underlying concepts first. First, establish that there exists basic network connectivity between your machine and your dads. You may need to use a crossover cable. You will want to assign a static IP address in the "Private" IP space range to your rl1 interface. This is also known as RFC 1918. You will also want to manually configure a static IP on your dad's machine that is in the same network, instead of allowing it to come up on the link.local of 169.254.x.x. An example would be your rl1 == 192.168.10.1 netmask 255.255.255.0 and your dad's machine == 192.168.10.2 netmask 255.255.255.0. For DNS at this stage you can use hosts files on each host for name resolution. Ensure that each machine can be ping'd by the other. Next, you will want to configure your FreeBSD machine as a NAT gateway. In your /etc/rc.conf you will want something like gateway_enable="YES" and some form of firewall initialization[1]. The gateway_enable is what allows the forwarding of packets between your rl0 and your rl1, but the activation of NAT functionality is usually a function contained within a firewall. So conceptually, the firewall will be "in between" rl0 and rl1. There are three different firewalls you can choose from. Configuring the firewall is usually where the inexperienced get stuck. This subject material is beyond the scope of this missive, and you would do well to start reading in the Handbook. But essentially, when you configure NAT in the firewall your rl0 (connected to the ISP) will be assigned a "Public" IP address and the NAT function will translate between "Public" and "Private". The next sticky point that will happen, should you get this far, is name resolution. You will want to place the IP addresses of the name servers of your ISP in your /etc/resolv.conf. You will also want to enter these into the TCP configuration of your dad's machine. In addition, on your dad's machine you will enter the IP address you used on your rl1 as the "default route". The subject is much too broad for exhaustive coverage here. If your DSL/Cable modem has router ports on it, it might just be easier to plug your dad's machine up there and forget about all of this. Much reading will be required of you, and once you know most of it then you will know what specific questions to ask when you encounter sticking points. This is intended only as a very generic form of overview. -Mike [1] For example, a couple of lines from my /etc/rc.conf: pf_enable="YES" pf_rules="/etc/pf.conf" pf_flags="-e" pflog_enable="YES" pflog_logfile="/var/log/pflog" pflog_flags="" and the NAT line from my /etc/pf.conf: nat on $ExtIF inet from $INTERNAL to any -> ($ExtIF) Please note that these are for illustrative purposes only, and by themselves will do nothing for your specific situation. There is much more that you will have to dig out of the documentation, understand, and configure appropriately. From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 09:25: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 41F9F1065691 for ; Tue, 14 Oct 2008 09:25:42 +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 BDBE78FC1B for ; Tue, 14 Oct 2008 09:25:41 +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 m9E9PTAY088279 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Oct 2008 10:25:30 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk m9E9PTAY088279 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1223976330; bh=Sz/LkCK2UgJA86 CyGY30zkEWhUD9g7s1nGqcbkeYmws=; 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<48F46589.8 040501@infracaninophile.co.uk>|Date:=20Tue,=2014=20Oct=202008=2010: 25:29=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User-Agent:=20Thunderbird= 202.0.0.17=20(X11/20081002)|MIME-Version:=201.0|To:=20glyn@millingt ons.org|CC:=20freebsd-questions@freebsd.org|Subject:=20Re:=20cups-b ase=20port=20broken???|References:=20<86bpxnh91g.fsf@nowhere.org>|I n-Reply-To:=20<86bpxnh91g.fsf@nowhere.org>|X-Enigmail-Version:=200. 95.6|Content-Type:=20text/plain=3B=20charset=3DUTF-8=3B=20format=3D flowed|Content-Transfer-Encoding:=207bit; b=DcH7c+Qc+7d3pdDl84wb14o xDfphmEIuX7tV06bQtIISVmVCsRjPoh1sjQAffj9jFhfV+llKRKXXkP8j1obk7tzWt8 /Tu/EArI0s4U3j7WHLV4rnf4eTWyiqtoMCZJ4bbz8aPe+NNW/b2KeRij9B/NVdxhT2w ZZP8O31sOkDz30= Message-ID: <48F46589.8040501@infracaninophile.co.uk> Date: Tue, 14 Oct 2008 10:25:29 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.17 (X11/20081002) MIME-Version: 1.0 To: glyn@millingtons.org References: <86bpxnh91g.fsf@nowhere.org> In-Reply-To: <86bpxnh91g.fsf@nowhere.org> 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.1 (smtp.infracaninophile.co.uk [81.187.76.162]); Tue, 14 Oct 2008 10:25:30 +0100 (BST) X-Virus-Scanned: ClamAV 0.94/8421/Tue Oct 14 08:23:51 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@freebsd.org Subject: Re: cups-base port broken??? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 09:25:42 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Glyn Millington wrote: | | Happy St. Callistus' Day! | | | FreeBSD 7 release. | | I'm having trouble upgrading cups-base. With an up-to-date ports tree | this is what I get. | | ,---- | | glynthebearded# portupgrade cups-base | | ---> Upgrading 'cups-base-1.3.5_2' to 'cups-base-1.3.8_1' (print/cups-base) | | ---> Building '/usr/ports/print/cups-base' | | ===> Cleaning for cups-base-1.3.8_1 | | ===> cups-base-1.3.8_1 has known vulnerabilities: | | | | ** Command failed [exit code 1]: /usr/bin/script -qa | | /tmp/portupgrade.5624.0 env UPGRADE_TOOL=portupgrade | | UPGRADE_PORT=cups-base-1.3.5_2 UPGRADE_PORT_VER=1.3.5_2 make | | | | ** Fix the problem and try again. | | ** Listing the failed packages (-:ignored / *:skipped / !:failed) | | ! print/cups-base (cups-base-1.3.5_2) (unknown build error) | `---- | | The story behind this is that I deinstalled the cups-base package, then | found that I couldn't reinstall; so did pkg_add -r and got | cups-base-1.3.5_2; which is fine except that it won't work with the | installed version of gnutls, it wants an older version. | | Is there a work-around which will get me a functional cups-base First read http://www.vuxml.org/freebsd/ce29ce1d-971a-11dd-ab7e-001c2514716c.html and the references cited therein and decide if installing this package is still a good idea despite the security problems. Then, if you do decide to go ahead: ~ # portupgrade -m "DISABLE_VULNERABILITIES=yes" cups-base Otherwise, wait until a fix comes out for the package. For something like this, a fix will usually be available within a week or so. 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 iEYEAREDAAYFAkj0ZYkACgkQ3jDkPpsZ+VbabgCbBoca63kTVHeEzq+z359gPs0J C5gAn2C/ZU6EHD9J1a0Pi9cWBP4QpdlL =gl5F -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 09:42: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 E7A00106564A for ; Tue, 14 Oct 2008 09:42:24 +0000 (UTC) (envelope-from glyn@millingtons.org) Received: from smtpout.karoo.kcom.com (smtpout.karoo.kcom.com [212.50.160.34]) by mx1.freebsd.org (Postfix) with ESMTP id 861008FC08 for ; Tue, 14 Oct 2008 09:42:24 +0000 (UTC) (envelope-from glyn@millingtons.org) Received: from unknown (HELO glynthebearded.millingtons.org) ([82.152.120.109]) by smtpout.karoo.kcom.com with ESMTP; 14 Oct 2008 10:42:23 +0100 Received: by glynthebearded.millingtons.org (Postfix, from userid 1001) id 9E2AD5C1F; Tue, 14 Oct 2008 10:38:49 +0100 (BST) To: Matthew Seaman References: <86bpxnh91g.fsf@nowhere.org> <48F46589.8040501@infracaninophile.co.uk> Organization: Central Church, Torquay, U.K. X-Now-Playing: There's a deathly hush in the close tonight! X-Liturgical-Date: Optional Memorial: Saint Callistus I, pope and martyr, A.D. 2008 From: Glyn Millington Date: Tue, 14 Oct 2008 10:38:49 +0100 In-Reply-To: <48F46589.8040501@infracaninophile.co.uk> (Matthew Seaman's message of "Tue\, 14 Oct 2008 10\:25\:29 +0100") Message-ID: <86r66j1pp2.fsf@nowhere.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: cups-base port broken??? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glyn@millingtons.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 09:42:25 -0000 Matthew Seaman writes: > Glyn Millington wrote: > | Is there a work-around which will get me a functional cups-base > > First read http://www.vuxml.org/freebsd/ce29ce1d-971a-11dd-ab7e-001c2514716c.html > and the references cited therein and decide if installing this package is still > a good idea despite the security problems. > > Then, if you do decide to go ahead: > > ~ # portupgrade -m "DISABLE_VULNERABILITIES=yes" cups-base > > Otherwise, wait until a fix comes out for the package. For something > like this, a fix will usually be available within a week or so. Bless you and many thanks! had done the homework, but I didn't know the incantation which would allow me to live dangerously ....... atb Glyn From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 10:04: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 E4D351065694 for ; Tue, 14 Oct 2008 10:04:05 +0000 (UTC) (envelope-from peter@bsdly.net) Received: from skapet.bsdly.net (cl-426.sto-01.se.sixxs.net [IPv6:2001:16d8:ff00:1a9::2]) by mx1.freebsd.org (Postfix) with ESMTP id 992E58FC17 for ; Tue, 14 Oct 2008 10:04:05 +0000 (UTC) (envelope-from peter@bsdly.net) Received: from thingy.bsdly.net ([10.168.103.11] helo=thingy.bsdly.net.bsdly.net ident=peter) by skapet.bsdly.net with esmtp (Exim 4.69) (envelope-from ) id 1Kpgl1-0002oU-Li for freebsd-questions@freebsd.org; Tue, 14 Oct 2008 12:04:03 +0200 To: freebsd-questions@freebsd.org References: <48F43EB1.40304@gmail.com> From: peter@bsdly.net (Peter N. M. Hansteen) Date: Tue, 14 Oct 2008 12:03:52 +0200 In-Reply-To: <48F43EB1.40304@gmail.com> (Manish Jain's message of "Tue, 14 Oct 2008 12:09:45 +0530") Message-ID: <87iqrvijcn.fsf@thingy.bsdly.net> User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.19 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 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, 14 Oct 2008 10:04:06 -0000 Manish Jain writes: > I am poor at networking and need a little bit of help. My dad has a > Windows 2000 machine with a network card but does not have a connection > to the internet. When I started writing this, I thought that system had been abandoned already, but it appears Microsoft will offer a measure of support through next year sometime. Do see that the system gets properly updated before you put it on the net. > My freebsd 6.2 box is connected to the internet and has > 2 network cards, rl0 and rl1. rl0 connects to the ISP and rl1 is > directly connected via a long Ethernet cable to the NIC on my dad's > machine. While I can access the internet easily, I want my dad to be > able to connect to the internet with my freebsd box serving as the > gateway. Can anyone please explain to me in easy steps how to accomplish > this ? The keyword is that you need to set up your machine as a gateway. There are numerous guides available on how to do that (including the FreeBSD Handbook (free, online and likely already on your system) my PF tutorial (http://home.nuug.no/~peter/pf/) contains more than a few hints, as do several books available at better bookstores), but I would recommend that you pick literature that enables you to learn the basics of TCP/IP as well as the actual commands needed. Looking into packet filtering for basic protection won't hurt either. With those keywords in hand, you should be able to dig up something useful. - Peter -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/ "Remember to set the evil bit on all malicious network traffic" delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds. From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 10:10: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 3F8BA106568B for ; Tue, 14 Oct 2008 10:10:47 +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 069DC8FC0C for ; Tue, 14 Oct 2008 10:10:46 +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 1KpgrV-0000Lc-AM for freebsd-questions@freebsd.org; Tue, 14 Oct 2008 21:10:45 +1100 Received: from 58.96.43.196 (SquirrelMail authenticated user shinjii@exemail.com.au) by webmail.exetel.com.au with HTTP; Tue, 14 Oct 2008 21:10:45 +1100 (EST) Message-ID: <53516.58.96.43.196.1223979045.squirrel@webmail.exetel.com.au> Date: Tue, 14 Oct 2008 21:10:45 +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: Kmail errors when checking mail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 10:10:47 -0000 im running KDE 4.1.2 on AMD64 and each time i try and check my email i get an error window saying .. The Process for the pop3://pop3.server.name protocol died unexpectdley. Whats is causing this and how do i go about resolving this ? From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 10: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 C71B21065686 for ; Tue, 14 Oct 2008 10:14:13 +0000 (UTC) (envelope-from dominique.goncalves@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 7D7268FC15 for ; Tue, 14 Oct 2008 10:14:13 +0000 (UTC) (envelope-from dominique.goncalves@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so602246qwb.7 for ; Tue, 14 Oct 2008 03:14: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:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=l7GC6pfpgokCCqM5GRD9HPvFh48jQ8FqmVh4slPjP6w=; b=f6LwSfCy2vG3747fb22BHpBrqF8yTO1VIjpKtx84SsdqvRBq2JepTaBlQJZloDpCPw X2XQ8ftXSw33Jh1jj0UsJCzk/AbcHjPkfhIVTi0EOMpYQ6ZoNlZrbxCQlN+xgjRfa7JG +a1LrWr9e4bCfNr9oSSEYHoL2Z3U+uffx8Ghw= 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=vSZ1R+etjkJ2pXVuUxRmeBlkkkKhay99MP41p1cnBmFeqjin+lpZCyqanIjouZtJYh APWjIqtsrr1dq8/q0Q08w6Wl5UEgjFp/KeLn6NeFm3d4C3l7K197wwKfactr/ZpCb7pJ n3CCBKBX0iOSa3YbSBCG2d+zzOiO1oX+mmaBg= Received: by 10.214.10.4 with SMTP id 4mr6123663qaj.48.1223979252292; Tue, 14 Oct 2008 03:14:12 -0700 (PDT) Received: by 10.215.39.4 with HTTP; Tue, 14 Oct 2008 03:14:12 -0700 (PDT) Message-ID: <7daacbbe0810140314t18df6da5r44e6cde2c834317a@mail.gmail.com> Date: Tue, 14 Oct 2008 12:14:12 +0200 From: "Dominique Goncalves" To: Aniruddha In-Reply-To: <1223935437.4511.5.camel@debian> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1223935437.4511.5.camel@debian> Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD do dbus & hal 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, 14 Oct 2008 10:14:13 -0000 Hi, On Tue, Oct 14, 2008 at 12:03 AM, Aniruddha wrote: > I'm trying to mount (USB) devices in KDE/Gnome automagically through > dbus and hal. I added the following lines to /etc/rc.conf: > > dbus_enable="YES" > hald_enable="YES" > > Unfortunately when I insert an USB (NTFS formatted) nothing happens. > When I insert a (fat) sdcard in my cardreader still nothing happens. > I do think I'm missing something obvious, who know what it is? Do a 'tail -f /var/log/messages' then insert your sd card and see what's going on. The HAL faq may be useful http://www.freebsd.org/gnome/docs/halfaq.html. > -- > Regards, > > Aniruddha > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Regards. -- There's this old saying: "Give a man a fish, feed him for a day. Teach a man to fish, feed him for life." From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 10:17: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 5550A1065691 for ; Tue, 14 Oct 2008 10:17:36 +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 F33A28FC1C for ; Tue, 14 Oct 2008 10:17:34 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA07.westchester.pa.mail.comcast.net ([76.96.62.59]) by QMTA07.westchester.pa.mail.comcast.net with comcast id Sa5l1a00W1GhbT857aHZEY; Tue, 14 Oct 2008 10:17:33 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA07.westchester.pa.mail.comcast.net with comcast id SaHZ1a00H2P6wsM3TaHaEk; Tue, 14 Oct 2008 10:17:34 +0000 X-Authority-Analysis: v=1.0 c=1 a=Hhtsdv2kQ0QA:10 a=7q5sDk5WlpcA:10 a=QycZ5dHgAAAA:8 a=HzIgleMfoRTeSbfDf6wA:9 a=RNBA1LG9NfrTHy-GxOYA:7 a=rqq-S7o6l-2yIl87W5dLQdSmRU8A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 18735C9419; Tue, 14 Oct 2008 03:17:33 -0700 (PDT) Date: Tue, 14 Oct 2008 03:17:33 -0700 From: Jeremy Chadwick To: Michael Powell Message-ID: <20081014101733.GA47158@icarus.home.lan> References: <48F43EB1.40304@gmail.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: freebsd-questions@freebsd.org Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 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, 14 Oct 2008 10:17:36 -0000 On Tue, Oct 14, 2008 at 04:55:11AM -0400, Michael Powell wrote: > Manish Jain wrote: > > > > > Hi, > > > > I am poor at networking and need a little bit of help. My dad has a > > Windows 2000 machine with a network card but does not have a connection > > to the internet. My freebsd 6.2 box is connected to the internet and has > > 2 network cards, rl0 and rl1. rl0 connects to the ISP and rl1 is > > directly connected via a long Ethernet cable to the NIC on my dad's > > machine. While I can access the internet easily, I want my dad to be > > able to connect to the internet with my freebsd box serving as the > > gateway. Can anyone please explain to me in easy steps how to accomplish > > this ? > > > > Although to many old-timers this is easily achieved, to someone new to > networking it is difficult to explain it in "easy steps". It involves a set > of pieces that have to fit together correctly in order to work. You will > need to do some proper reading on the underlying concepts first. > > First, establish that there exists basic network connectivity between your > machine and your dads. You may need to use a crossover cable. You will want > to assign a static IP address in the "Private" IP space range to your rl1 > interface. This is also known as RFC 1918. You will also want to manually > configure a static IP on your dad's machine that is in the same network, > instead of allowing it to come up on the link.local of 169.254.x.x. An > example would be your rl1 == 192.168.10.1 netmask 255.255.255.0 and your > dad's machine == 192.168.10.2 netmask 255.255.255.0. For DNS at this stage > you can use hosts files on each host for name resolution. Ensure that each > machine can be ping'd by the other. > > Next, you will want to configure your FreeBSD machine as a NAT gateway. In > your /etc/rc.conf you will want something like gateway_enable="YES" and > some form of firewall initialization[1]. The gateway_enable is what allows > the forwarding of packets between your rl0 and your rl1, but the activation > of NAT functionality is usually a function contained within a firewall. So > conceptually, the firewall will be "in between" rl0 and rl1. > > There are three different firewalls you can choose from. Configuring the > firewall is usually where the inexperienced get stuck. This subject > material is beyond the scope of this missive, and you would do well to > start reading in the Handbook. But essentially, when you configure NAT in > the firewall your rl0 (connected to the ISP) will be assigned a "Public" IP > address and the NAT function will translate between "Public" and "Private". > > The next sticky point that will happen, should you get this far, is name > resolution. You will want to place the IP addresses of the name servers of > your ISP in your /etc/resolv.conf. You will also want to enter these into > the TCP configuration of your dad's machine. In addition, on your dad's > machine you will enter the IP address you used on your rl1 as the "default > route". > > The subject is much too broad for exhaustive coverage here. If your > DSL/Cable modem has router ports on it, it might just be easier to plug > your dad's machine up there and forget about all of this. Much reading will > be required of you, and once you know most of it then you will know what > specific questions to ask when you encounter sticking points. This is > intended only as a very generic form of overview. > > -Mike > > [1] For example, a couple of lines from my /etc/rc.conf: > > pf_enable="YES" > pf_rules="/etc/pf.conf" > pf_flags="-e" > pflog_enable="YES" > pflog_logfile="/var/log/pflog" > pflog_flags="" > > and the NAT line from my /etc/pf.conf: > > nat on $ExtIF inet from $INTERNAL to any -> ($ExtIF) > > Please note that these are for illustrative purposes only, and by themselves > will do nothing for your specific situation. There is much more that you > will have to dig out of the documentation, understand, and configure > appropriately. Doesn't he need to also set sysctl net.inet.ip.forwarding=1 for his box to act as a gateway? Or is this handled by the NAT portion? -- | 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 14 10:42: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 724601065690 for ; Tue, 14 Oct 2008 10:42:26 +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 2CB398FC21 for ; Tue, 14 Oct 2008 10:42:25 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KphM6-0004nL-8F for freebsd-questions@freebsd.org; Tue, 14 Oct 2008 10:42:22 +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 ; Tue, 14 Oct 2008 10:42:22 +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 ; Tue, 14 Oct 2008 10:42:22 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Date: Tue, 14 Oct 2008 06:46:10 -0400 Lines: 33 Message-ID: References: <48F43EB1.40304@gmail.com> <20081014101733.GA47158@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: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 system 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: Tue, 14 Oct 2008 10:42:26 -0000 Jeremy Chadwick wrote: > On Tue, Oct 14, 2008 at 04:55:11AM -0400, Michael Powell wrote: [snip] >> Next, you will want to configure your FreeBSD machine as a NAT gateway. >> In your /etc/rc.conf you will want something like gateway_enable="YES" >> and some form of firewall initialization[1]. The gateway_enable is what >> allows the forwarding of packets between your rl0 and your rl1, but the >> activation of NAT functionality is usually a function contained within a >> firewall. So conceptually, the firewall will be "in between" rl0 and rl1. >> >> There are three different firewalls you can choose from. Configuring the >> firewall is usually where the inexperienced get stuck. This subject >> material is beyond the scope of this missive, and you would do well to >> start reading in the Handbook. But essentially, when you configure NAT in >> the firewall your rl0 (connected to the ISP) will be assigned a "Public" >> IP address and the NAT function will translate between "Public" and >> "Private". With respect to "NAT", the caveat here is the assumption that your DSL/Cable modem is *not* already performing NAT. The situation you do not want to get into is having *two* NATs. The content herein is assuming that the external (rl0) interface is getting assigned a "Public" IP from the ISP. [snip] > > Doesn't he need to also set sysctl net.inet.ip.forwarding=1 for his > box to act as a gateway? Or is this handled by the NAT portion? > The gateway_enable="YES" in /etc/rc.conf sets this. -Mike From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 10:46: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 602A0106568E for ; Tue, 14 Oct 2008 10:46:28 +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 443BB8FC13 for ; Tue, 14 Oct 2008 10:46:28 +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 SaUi1a0010FhH24A4amTcp; Tue, 14 Oct 2008 10:46:27 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA08.emeryville.ca.mail.comcast.net with comcast id SamS1a00A2P6wsM8UamTf2; Tue, 14 Oct 2008 10:46:27 +0000 X-Authority-Analysis: v=1.0 c=1 a=Hhtsdv2kQ0QA:10 a=7q5sDk5WlpcA:10 a=QycZ5dHgAAAA:8 a=xDIseQjkeyA5HJBJ-vwA:9 a=I0kbIPxMmSBpdVvmDd0A:7 a=tsT2ypEekSmhHGT4ZaztLRT3JyEA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id D3DC2C9419; Tue, 14 Oct 2008 03:46:26 -0700 (PDT) Date: Tue, 14 Oct 2008 03:46:26 -0700 From: Jeremy Chadwick To: Michael Powell Message-ID: <20081014104626.GA47785@icarus.home.lan> References: <48F43EB1.40304@gmail.com> <20081014101733.GA47158@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: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 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, 14 Oct 2008 10:46:28 -0000 On Tue, Oct 14, 2008 at 06:46:10AM -0400, Michael Powell wrote: > Jeremy Chadwick wrote: > > > On Tue, Oct 14, 2008 at 04:55:11AM -0400, Michael Powell wrote: > [snip] > >> Next, you will want to configure your FreeBSD machine as a NAT gateway. > >> In your /etc/rc.conf you will want something like gateway_enable="YES" > >> and some form of firewall initialization[1]. The gateway_enable is what > >> allows the forwarding of packets between your rl0 and your rl1, but the > >> activation of NAT functionality is usually a function contained within a > >> firewall. So conceptually, the firewall will be "in between" rl0 and rl1. > >> > >> There are three different firewalls you can choose from. Configuring the > >> firewall is usually where the inexperienced get stuck. This subject > >> material is beyond the scope of this missive, and you would do well to > >> start reading in the Handbook. But essentially, when you configure NAT in > >> the firewall your rl0 (connected to the ISP) will be assigned a "Public" > >> IP address and the NAT function will translate between "Public" and > >> "Private". > > With respect to "NAT", the caveat here is the assumption that your DSL/Cable > modem is *not* already performing NAT. The situation you do not want to get > into is having *two* NATs. The content herein is assuming that the external > (rl0) interface is getting assigned a "Public" IP from the ISP. > > [snip] > > > > Doesn't he need to also set sysctl net.inet.ip.forwarding=1 for his > > box to act as a gateway? Or is this handled by the NAT portion? > > > The gateway_enable="YES" in /etc/rc.conf sets this. Right, but it wasn't in your /etc/rc.conf example (see your mail), so I figured the OP would come back saying "Okay I did what you said but it still doesn't work!" -- | 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 14 11:40: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 D2F7A106568B for ; Tue, 14 Oct 2008 11:40:08 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.189]) by mx1.freebsd.org (Postfix) with ESMTP id 4B2668FC2D for ; Tue, 14 Oct 2008 11:40:06 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by mu-out-0910.google.com with SMTP id i2so2116147mue.3 for ; Tue, 14 Oct 2008 04:40:04 -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:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=+ThzUJeuXTu6sHxYMHii481nLWaptPOVPEiMT5cSP90=; b=LW8NxpRZJBBQaB3nrjKeUbuq0lZmYQx/P4APfn96pEdrZ9B/WjaidVm8w+RUrtZSEc Af6HJ9IPEsH6KndaG2FbLvpmtMIC3nyLkDRxX9kEkkLJ0i5inb+DTJQQgItUNZCKv9cd B3aI1cuzlh2FfbOUAOioAI3ngKcEjq2cY9oGU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=ehgSDFeYp56h9HwcLUYzmbRR5j7up84iDWClHt3WY8pMmo2PxfWoiFHQUTUNlAetNo M/fqlZ+NXZXCERFw3B7NZYwwStlviRm2jp6IgG8cbz5xT05Pzq6igakMM7AXxfSedBNR FiCaOjIvfrqUvYhV0jO4UVgfEXymDZNYBt2rg= Received: by 10.181.5.1 with SMTP id h1mr5707225bki.56.1223984404469; Tue, 14 Oct 2008 04:40:04 -0700 (PDT) Received: from atlantis.dyndns.org (athedsl-324342.home.otenet.gr [85.72.122.148]) by mx.google.com with ESMTPS id 28sm7988897fkx.1.2008.10.14.04.40.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 14 Oct 2008 04:40:03 -0700 (PDT) Message-ID: <48F48511.2020708@gmail.com> Date: Tue, 14 Oct 2008 14:40:01 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.17 (X11/20081011) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <48F43EB1.40304@gmail.com> <87iqrvijcn.fsf@thingy.bsdly.net> In-Reply-To: <87iqrvijcn.fsf@thingy.bsdly.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 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, 14 Oct 2008 11:40:09 -0000 Peter N. M. Hansteen wrote: > Manish Jain writes: > > >> I am poor at networking and need a little bit of help. My dad has a >> Windows 2000 machine with a network card but does not have a connection >> to the internet. >> > > When I started writing this, I thought that system had been abandoned > already, but it appears Microsoft will offer a measure of support > through next year sometime. Do see that the system gets properly > updated before you put it on the net. > > >> My freebsd 6.2 box is connected to the internet and has >> 2 network cards, rl0 and rl1. rl0 connects to the ISP and rl1 is >> directly connected via a long Ethernet cable to the NIC on my dad's >> machine. While I can access the internet easily, I want my dad to be >> able to connect to the internet with my freebsd box serving as the >> gateway. Can anyone please explain to me in easy steps how to accomplish >> this ? >> > > The keyword is that you need to set up your machine as a gateway. > There are numerous guides available on how to do that (including the > FreeBSD Handbook (free, online and likely already on your system) my > PF tutorial (http://home.nuug.no/~peter/pf/) contains more than a few > hints, as do several books available at better bookstores), but I > would recommend that you pick literature that enables you to learn the > basics of TCP/IP as well as the actual commands needed. Looking into > packet filtering for basic protection won't hurt either. With those > keywords in hand, you should be able to dig up something useful. > > - Peter > Inspired by this discussion (and just replying to a random post) I tried for the first time to get a test machine as a gateway. I tried the handbook's instructions, here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-natd.html These work flawlessly, you will need to recompile your kernel though. The rest of the setup is relatively simple. I am more accustomed to using pf rather than IPFW though, and as I wanted to test this on my main system, I came up with this setup: /etc/rc.conf pf_enable="YES" pf_rules="/etc/pf.conf" pf_flags="" gateway_enable="YES" (Run sysctl net.inet.ip.forwarding=1 *and* /etc/rc.d/routing restart if you do not wish to reboot after modifying rc.conf) I added this rule before the filtering rules section in my /etc/pf.conf: nat pass on rl1 from rl0:network to any -> rl1 (This is an excellent read: http://www.openbsd.org/faq/pf/ ) where rl1 is the Internet-facing card, and rl0 is the local network one. Also added a few simple rules to allow traffic from rl0 as I am normally using pf for firewalling. This also worked nicely, and has the added advantage of not having to recompile the kernel. So the OP has quite a few options, and it may prove not to be very difficult after all. From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 11:43: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 32478106568A for ; Tue, 14 Oct 2008 11:43: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 E006B8FC1F for ; Tue, 14 Oct 2008 11:43:45 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KpiJS-0007Eb-CZ for freebsd-questions@freebsd.org; Tue, 14 Oct 2008 11:43:42 +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 ; Tue, 14 Oct 2008 11:43:42 +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 ; Tue, 14 Oct 2008 11:43:42 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Date: Tue, 14 Oct 2008 07:47:31 -0400 Lines: 23 Message-ID: References: <48F43EB1.40304@gmail.com> <20081014101733.GA47158@icarus.home.lan> <20081014104626.GA47785@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: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 system 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: Tue, 14 Oct 2008 11:43:46 -0000 Jeremy Chadwick wrote: [snip] >> > >> > Doesn't he need to also set sysctl net.inet.ip.forwarding=1 for his >> > box to act as a gateway? Or is this handled by the NAT portion? >> > >> The gateway_enable="YES" in /etc/rc.conf sets this. > > Right, but it wasn't in your /etc/rc.conf example (see your mail), so I > figured the OP would come back saying "Okay I did what you said but it > still doesn't work!" Well that is going to happen anyway. ;-) I wasn't trying to write a tutorial, but rather an overview of what's involved. It's up to him to do the necessary RTFM to fill in the blanks. Yes - I agree it should have included it in the example snippet. By the time I got to that portion my thinking was fixated on the firewall aspect. It would have been clearer, perhaps, had it been so. -Mike From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 11:56: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 18DE11065686 for ; Tue, 14 Oct 2008 11:56:41 +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 674D58FC22 for ; Tue, 14 Oct 2008 11:56:40 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from kobe.laptop (adsl136-153.kln.forthnet.gr [77.49.255.153]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id m9EBuRdf000503 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 14 Oct 2008 14:56:33 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id m9EBuRbT035500; Tue, 14 Oct 2008 14:56:27 +0300 (EEST) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id m9EBuQYc035499; Tue, 14 Oct 2008 14:56:26 +0300 (EEST) (envelope-from keramida@freebsd.org) From: Giorgos Keramidas To: Manolis Kiagias References: <48F43EB1.40304@gmail.com> <87iqrvijcn.fsf@thingy.bsdly.net> <48F48511.2020708@gmail.com> Date: Tue, 14 Oct 2008 14:56:20 +0300 In-Reply-To: <48F48511.2020708@gmail.com> (Manolis Kiagias's message of "Tue, 14 Oct 2008 14:40:01 +0300") Message-ID: <8763nvpezf.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-MailScanner-ID: m9EBuRdf000503 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.304, 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: freebsd-questions@freebsd.org Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 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, 14 Oct 2008 11:56:41 -0000 --=-=-= On Tue, 14 Oct 2008 14:40:01 +0300, Manolis Kiagias wrote: > Inspired by this discussion (and just replying to a random post) I > tried for the first time to get a test machine as a gateway. I tried > the handbook's instructions, here: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-natd.html > > These work flawlessly, you will need to recompile your kernel > though. The rest of the setup is relatively simple. Hi Manolis & everyone else, `ipdivert.ko' works fine as a module too. You don't really *have* to recompile the kernel, but we probably have to update the relevant Handbook bits to mention that `ipdivert.ko' can be kldload'ed now. Adding a few options in `loader.conf' should preload IPFW and DIVERT in the running kernel: ipfw_load="YES" ipdivert_load="YES" Then the rest of the `rc.conf' options described in the current text work as expected. I can't boot my 6.2-RELEASE installation today to verify that this works in that version too, but if you have one around and it seems to work, let me know and I'll handle the doc bits :-) --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkj0iOoACgkQ1g+UGjGGA7ZUGQCfaXlXmuGxCwqRPUNIJzpBCn0v HVAAnjD0TdAKNLqnQocueXYCfYDE4M6i =Dm6Y -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 12:00: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 725571065702 for ; Tue, 14 Oct 2008 12:00:27 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from web57002.mail.re3.yahoo.com (web57002.mail.re3.yahoo.com [66.196.97.106]) by mx1.freebsd.org (Postfix) with SMTP id 0A6158FC17 for ; Tue, 14 Oct 2008 12:00:26 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: (qmail 30550 invoked by uid 60001); 14 Oct 2008 12:00:26 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=vAJWohdoJImYMmf3Oy3lHCAjdipesuL6jELE03on9VYsisaZ4MONxcvrLXmS0mCV/neWqcLAMp6z4YUhjaYi9XkCu3gtSt29B1I2annGGGWCZ2HJl2q0rrWOJHTPgSmbVOcyeXkCceQsq3B7JY57y0N2YyGER8IAsgIznhbM8fA=; X-YMail-OSG: QgjGYyoVM1n6VxhbeuE9tWIX7CVzdVXFJE3vmE8pwbbwkHibrJBJ0ZoiExnCSFfHzP2VruNjT6VpeyTh0OcgK3dY3V7aeY_qIujXFzpUFhOG13Rx_tAFi5EEq7ZiYLrKP43v2w-- Received: from [220.255.7.195] by web57002.mail.re3.yahoo.com via HTTP; Tue, 14 Oct 2008 05:00:26 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Tue, 14 Oct 2008 05:00:26 -0700 (PDT) From: Unga To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <465783.30538.qm@web57002.mail.re3.yahoo.com> Subject: An endian 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: Tue, 14 Oct 2008 12:00:27 -0000 Hi all I'm trying to compile RELENG_7 kernel on i386. The "make buildkernel" develops an endian related error: ===> xl (depend) @ -> /usr/src/sys machine -> /usr/src/sys/i386/include awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h awk -f @/tools/makeobjops.awk @/dev/mii/miibus_if.m -h rm -f .depend mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq /usr/src/sys/modules/xl/../../pci/if_xl.c ===> zfs (depend) @ -> /usr/src/sys machine -> /usr/src/sys/i386/include awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h rm -f .depend mkdep -f .depend -a -nostdinc -DFREEBSD_NAMECACHE -D_SOLARIS_C_SOURCE -D_KERNEL -DKLD_MODULE -I/usr/src/sys/modules/zfs/../../cddl/compat/opensolaris : : /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/rpc/xdr.c:63:2: error: #error "Only one of _BIG_ENDIAN or _LITTLE_ENDIAN may be defined" mkdep: compile failed *** Error code 1 Stop in /usr/src/sys/modules/zfs. *** Error code 1 Where could possibly be wrong? Any ideas? Many thanks in advance. Best regards Unga From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 12:03:02 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 899B01065687 for ; Tue, 14 Oct 2008 12:03:02 +0000 (UTC) (envelope-from eagletree@hughes.net) Received: from smtprelay.b.hostedemail.com (smtprelay0033.b.hostedemail.com [64.98.42.33]) by mx1.freebsd.org (Postfix) with ESMTP id 3EC188FC19 for ; Tue, 14 Oct 2008 12:03:02 +0000 (UTC) (envelope-from eagletree@hughes.net) Received: from smtprelay.b.hostedemail.com (b-bigip1 [10.5.19.254]) by smtpgrave05.b.hostedemail.com (Postfix) with ESMTP id EB368E0EDAA for ; Tue, 14 Oct 2008 11:42:21 +0000 (UTC) Received: from filter.hostedemail.com (b-bigip1 [10.5.19.254]) by smtprelay02.b.hostedemail.com (Postfix) with SMTP id 1A2BDAB62C6 for ; Tue, 14 Oct 2008 11:42:20 +0000 (UTC) X-SpamScore: 1 X-Spam-Summary: 2, 0, 0, ae6967167580e767, 9510f55e4507d164, eagletree@hughes.net, questions@freebsd.org, RULES_HIT:355:379:404:541:564:599:601:800:945:946:960:965:966:967:972:973:980:988:989:1260:1261:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1544:1593:1594:1605:1711:1730:1747:1766:1792:2196:2199:2377:2378:2393:2525:2553:2559:2564:2682:2685:2741:2857:2859:2894:2897:2901:2902:2933:2937:2939:2942:2945:2947:2951:2954:3022:3027:3636:3740:3865:3866:3867:3868:3869:3870:3871:3872:3873:3874:3876:3877:3934:3936:3938:3941:3944:3947:3950:3953:3956:4184:4250:4384:4385:4390:4395:4860:5007:6114:6117:6119:7514:7652:7679:7808:7901:7903:9010:9025:9072, 0, RBL:none, CacheIP:none, Bayesian:0.5, 0.5, 0.5, Netcheck:none, DomainCache:0, MSF:not bulk, SPF:, MSBL:none, DNSBL:none Received: from [192.168.0.3] (dpc6744118153.direcpc.com [67.44.118.153]) (Authenticated sender: eagletree@hughes.net) by omf03.b.hostedemail.com (Postfix) with ESMTP for ; Tue, 14 Oct 2008 11:42:15 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v753) In-Reply-To: <48F43EB1.40304@gmail.com> References: <48F43EB1.40304@gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <463BCCC4-C6F3-4A80-B6CB-6711EF46EF96@hughes.net> Content-Transfer-Encoding: 7bit From: Chris Pratt Date: Tue, 14 Oct 2008 04:42:06 -0700 To: questions@freebsd.org X-Mailer: Apple Mail (2.753) X-session-marker: 6561676C6574726565406875676865732E6E6574 Cc: Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 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, 14 Oct 2008 12:03:02 -0000 On Oct 13, 2008, at 11:39 PM, Manish Jain wrote: > > Hi, > > I am poor at networking and need a little bit of help. My dad has a > Windows 2000 machine with a network card but does not have a > connection to the internet. My freebsd 6.2 box is connected to the > internet and has 2 network cards, rl0 and rl1. rl0 connects to the > ISP and rl1 is directly connected via a long Ethernet cable to the > NIC on my dad's machine. While I can access the internet easily, I > want my dad to be able to connect to the internet with my freebsd > box serving as the gateway. Can anyone please explain to me in easy > steps how to accomplish this ? > > Thanks in advance for any help. Here is an alternative if there is no actual requirement for routing. It works on 6.2. If your network already has a router/firewall/NAT dhcp server (e.g., a Linksys, netgear router, a satellite modem, etc), investigate the use of if_bridge rather than attempt to use NAT and routing. This eliminates a number of issues that you will find difficult as someone new to networking and possibly FreeBSD. This allows you to make your FreeBSD machine transparent to the network as if the W2K box were another peer (in many ways). The benefits would be not having to proxy the private addresses/serve dhcp while maintaining your existing hardware set up. I add in "options if_bridge" to the kernel and rebuild though it can be loaded dynamically at boot. Your rc.conf entries would look something like this given a router to this ISP using a 192.168.1.0 private network space. # the FreeBSD <-> ISP NIC card ifconfig_rl0="inet 192.168.1.2 netmask 255.255.255.0" # the ISP Router connection to the LAN defaultrouter="192.168.1.1" gateway_enable="YES" #rl0 is the WAN Facing nic. #rl1 is the second nic to other computers. This connects to switch or crossover # note that no address is set for rl1, it serves no purpose # the media statements are just shown to reflect rl1s existence # and other settings it may need ifconfig_rl1="up media 100baseTX mediaopt full-duplex" cloned_interfaces="bridge0" ifconfig_bridge0="addm rl0 addm rl1 up" Look at man if_bridge for sysctl.conf entries that may be needed. They determine what is passed on the bridge and can easily block necessary traffic if not set correctly. For my purposes, I found the following necessary: net.link.bridge.ipfw=1 net.link.bridge.ipfw_arp=1 These allow me to control the traffic within ipfw which makes me more comfortable than passing everything. Once a simple bridge is functional, investigate the entries necessary to further inhibit traffic using ipfw. This can be quite helpful in protecting a W2K box which is likely weak in it's security. The combination of these two products is thought of as a transparent firewall and is quite effective. It serves as a foundation for more complex configurations up to a complete Intrusion Detection System using snort_inline which can actually filter and drop virus signatures headed for the weaker windows platforms. Documentation is quite weak out there on this configuration but I can provide basic examples of ipfw commands to monitor, allow and deny traffic using ipfw and if_bridge. I'm unable to accurately provide this on the fly though. What some people do, is build a set of rules early in the ipfw ruleset to handle all traffic associated with the local FreeBSD computer's use of the net and separate traffic for the bridge into in and out sections (e.g. use of skipto). Then you can allow or deny what goes to and comes from the W2K box/other workstations, just like you do to the local machine. There is some minimal info here: http://www.freebsd.org/doc/en/books/handbook/network-bridging.html > > Manish Jain > unxfbsdi@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" > From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 12:08: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 76F961065694 for ; Tue, 14 Oct 2008 12:08:12 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from smtp-vbr4.xs4all.nl (smtp-vbr4.xs4all.nl [194.109.24.24]) by mx1.freebsd.org (Postfix) with ESMTP id F04B38FC33 for ; Tue, 14 Oct 2008 12:08:11 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan (213-84-73-82.adsl.xs4all.nl [80.101.78.208]) by smtp-vbr4.xs4all.nl (8.13.8/8.13.8) with ESMTP id m9EC87Dw050721 for ; Tue, 14 Oct 2008 14:08:08 +0200 (CEST) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan (yokozuna.lan [127.0.0.1]) by yokozuna.lan (8.14.2/8.14.2) with ESMTP id m9EC879Q097776 for ; Tue, 14 Oct 2008 14:08:07 +0200 (CEST) (envelope-from mbeis@xs4all.nl) Date: Tue, 14 Oct 2008 14:08:07 +0200 From: Marco Beishuizen To: FreeBSD-Questions Message-ID: <20081014140807.18783ca9@yokozuna.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 X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Subject: Problems with portupgrade or db X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 12:08:12 -0000 Hi, In an attempt to upgrade db42 to db47 I seem to have broken some things. If I try to portupgrade anything I get: ... #portupgrade -a ** Makefile possibly broken: www/gnome-user-share: /libexec/ld-elf.so.1: Shared object "libdb-4.2.so.2" not found, required by "libaprutil-1.so.3" [: -le: argument expected gnome-user-share-0.31_2 : Your apache does not support DSO modules /usr/local/sbin/portupgrade:1468:in `get_pkgname': Makefile broken (MakefileBrokenError) from /usr/local/sbin/portupgrade:622: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' 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:229:in `new' from /usr/local/sbin/portupgrade:229:in `main' from /usr/local/sbin/portupgrade:2208 ... If I try to reinstall db42 (or anything else) I get the same error message. What can I do to make things work again? Thanks in advance, Marco -- Remember, if it's being done correctly, here or abroad, it's *not* the U.S. Army doing it! -- Good Morning, Vietnam From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 12:11: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 D2B77106569E for ; Tue, 14 Oct 2008 12:11:01 +0000 (UTC) (envelope-from bthielsen@safarivideonetworks.com) Received: from smtp.ltn.lvc.com (static-66-14-195-72.bdsl.verizon.net [66.14.195.72]) by mx1.freebsd.org (Postfix) with ESMTP id 7511A8FC18 for ; Tue, 14 Oct 2008 12:11:01 +0000 (UTC) (envelope-from bthielsen@safarivideonetworks.com) Received: from localhost (localhost [127.0.0.1]) by macgyver.ltn.lvc.com (Postfix) with ESMTP id A198D6A0BF7 for ; Tue, 14 Oct 2008 08:11:00 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at macgyver.ltn.lvc.com Received: from macgyver.ltn.lvc.com ([127.0.0.1]) by localhost (macgyver.ltn.lvc.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id dHpGp2bAFluC for ; Tue, 14 Oct 2008 08:11:00 -0400 (EDT) Received: from heliax.ltn.lvc.com (heliax.ltn.lvc.com [10.10.101.200]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by macgyver.ltn.lvc.com (Postfix) with ESMTPSA id 9C6806A0BF9 for ; Tue, 14 Oct 2008 08:10:42 -0400 (EDT) Message-Id: From: benjamin thielsen To: freebsd-questions@freebsd.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: Tue, 14 Oct 2008 08:10:41 -0400 References: <48F43EB1.40304@gmail.com> X-Mailer: Apple Mail (2.929.2) Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 system 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: Tue, 14 Oct 2008 12:11:01 -0000 Manish Jain wrote: > > Hi, > > I am poor at networking and need a little bit of help. My dad has a > Windows 2000 machine with a network card but does not have a > connection > to the internet. My freebsd 6.2 box is connected to the internet and > has > 2 network cards, rl0 and rl1. rl0 connects to the ISP and rl1 is > directly connected via a long Ethernet cable to the NIC on my dad's > machine. While I can access the internet easily, I want my dad to be > able to connect to the internet with my freebsd box serving as the > gateway. Can anyone please explain to me in easy steps how to > accomplish > this ? > Although to many old-timers this is easily achieved, to someone new to networking it is difficult to explain it in "easy steps". It involves a set of pieces that have to fit together correctly in order to work. You will need to do some proper reading on the underlying concepts first. First, establish that there exists basic network connectivity between your machine and your dads. You may need to use a crossover cable. You will want to assign a static IP address in the "Private" IP space range to your rl1 interface. This is also known as RFC 1918. You will also want to manually configure a static IP on your dad's machine that is in the same network, instead of allowing it to come up on the link.local of 169.254.x.x. An example would be your rl1 == 192.168.10.1 netmask 255.255.255.0 and your dad's machine == 192.168.10.2 netmask 255.255.255.0. For DNS at this stage you can use hosts files on each host for name resolution. Ensure that each machine can be ping'd by the other. Next, you will want to configure your FreeBSD machine as a NAT gateway. In your /etc/rc.conf you will want something like gateway_enable="YES" and some form of firewall initialization[1]. The gateway_enable is what allows the forwarding of packets between your rl0 and your rl1, but the activation of NAT functionality is usually a function contained within a firewall. So conceptually, the firewall will be "in between" rl0 and rl1. There are three different firewalls you can choose from. Configuring the firewall is usually where the inexperienced get stuck. This subject material is beyond the scope of this missive, and you would do well to start reading in the Handbook. But essentially, when you configure NAT in the firewall your rl0 (connected to the ISP) will be assigned a "Public" IP address and the NAT function will translate between "Public" and "Private". The next sticky point that will happen, should you get this far, is name resolution. You will want to place the IP addresses of the name servers of your ISP in your /etc/resolv.conf. You will also want to enter these into the TCP configuration of your dad's machine. In addition, on your dad's machine you will enter the IP address you used on your rl1 as the "default route". The subject is much too broad for exhaustive coverage here. If your DSL/Cable modem has router ports on it, it might just be easier to plug your dad's machine up there and forget about all of this. Much reading will be required of you, and once you know most of it then you will know what specific questions to ask when you encounter sticking points. This is intended only as a very generic form of overview. -Mike [1] For example, a couple of lines from my /etc/rc.conf: pf_enable="YES" pf_rules="/etc/pf.conf" pf_flags="-e" pflog_enable="YES" pflog_logfile="/var/log/pflog" pflog_flags="" and the NAT line from my /etc/pf.conf: nat on $ExtIF inet from $INTERNAL to any -> ($ExtIF) Please note that these are for illustrative purposes only, and by themselves will do nothing for your specific situation. There is much more that you will have to dig out of the documentation, understand, and configure appropriately. _______________________________________________ freebsd-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 14 12:11: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 D97C0106569F for ; Tue, 14 Oct 2008 12:11:01 +0000 (UTC) (envelope-from bthielsen@safarivideonetworks.com) Received: from smtp.ltn.lvc.com (static-66-14-195-72.bdsl.verizon.net [66.14.195.72]) by mx1.freebsd.org (Postfix) with ESMTP id 751EA8FC19 for ; Tue, 14 Oct 2008 12:11:01 +0000 (UTC) (envelope-from bthielsen@safarivideonetworks.com) Received: from localhost (localhost [127.0.0.1]) by macgyver.ltn.lvc.com (Postfix) with ESMTP id B8BBA6A0BF9 for ; Tue, 14 Oct 2008 08:11:00 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at macgyver.ltn.lvc.com Received: from macgyver.ltn.lvc.com ([127.0.0.1]) by localhost (macgyver.ltn.lvc.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id OTZb1uhmyg0A for ; Tue, 14 Oct 2008 08:11:00 -0400 (EDT) Received: from heliax.ltn.lvc.com (heliax.ltn.lvc.com [10.10.101.200]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by macgyver.ltn.lvc.com (Postfix) with ESMTPSA id C9FAA6A0BFC for ; Tue, 14 Oct 2008 08:10:42 -0400 (EDT) Message-Id: <00F22CA4-ABCE-4ED4-9D95-D29C38CD80E7@safarivideonetworks.com> From: benjamin thielsen To: freebsd-questions@freebsd.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: Tue, 14 Oct 2008 08:10:42 -0400 References: <48F43EB1.40304@gmail.com> X-Mailer: Apple Mail (2.929.2) Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 system 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: Tue, 14 Oct 2008 12:11:02 -0000 Manish Jain wrote: > > Hi, > > I am poor at networking and need a little bit of help. My dad has a > Windows 2000 machine with a network card but does not have a > connection > to the internet. My freebsd 6.2 box is connected to the internet and > has > 2 network cards, rl0 and rl1. rl0 connects to the ISP and rl1 is > directly connected via a long Ethernet cable to the NIC on my dad's > machine. While I can access the internet easily, I want my dad to be > able to connect to the internet with my freebsd box serving as the > gateway. Can anyone please explain to me in easy steps how to > accomplish > this ? > Although to many old-timers this is easily achieved, to someone new to networking it is difficult to explain it in "easy steps". It involves a set of pieces that have to fit together correctly in order to work. You will need to do some proper reading on the underlying concepts first. First, establish that there exists basic network connectivity between your machine and your dads. You may need to use a crossover cable. You will want to assign a static IP address in the "Private" IP space range to your rl1 interface. This is also known as RFC 1918. You will also want to manually configure a static IP on your dad's machine that is in the same network, instead of allowing it to come up on the link.local of 169.254.x.x. An example would be your rl1 == 192.168.10.1 netmask 255.255.255.0 and your dad's machine == 192.168.10.2 netmask 255.255.255.0. For DNS at this stage you can use hosts files on each host for name resolution. Ensure that each machine can be ping'd by the other. Next, you will want to configure your FreeBSD machine as a NAT gateway. In your /etc/rc.conf you will want something like gateway_enable="YES" and some form of firewall initialization[1]. The gateway_enable is what allows the forwarding of packets between your rl0 and your rl1, but the activation of NAT functionality is usually a function contained within a firewall. So conceptually, the firewall will be "in between" rl0 and rl1. There are three different firewalls you can choose from. Configuring the firewall is usually where the inexperienced get stuck. This subject material is beyond the scope of this missive, and you would do well to start reading in the Handbook. But essentially, when you configure NAT in the firewall your rl0 (connected to the ISP) will be assigned a "Public" IP address and the NAT function will translate between "Public" and "Private". The next sticky point that will happen, should you get this far, is name resolution. You will want to place the IP addresses of the name servers of your ISP in your /etc/resolv.conf. You will also want to enter these into the TCP configuration of your dad's machine. In addition, on your dad's machine you will enter the IP address you used on your rl1 as the "default route". The subject is much too broad for exhaustive coverage here. If your DSL/Cable modem has router ports on it, it might just be easier to plug your dad's machine up there and forget about all of this. Much reading will be required of you, and once you know most of it then you will know what specific questions to ask when you encounter sticking points. This is intended only as a very generic form of overview. -Mike [1] For example, a couple of lines from my /etc/rc.conf: pf_enable="YES" pf_rules="/etc/pf.conf" pf_flags="-e" pflog_enable="YES" pflog_logfile="/var/log/pflog" pflog_flags="" and the NAT line from my /etc/pf.conf: nat on $ExtIF inet from $INTERNAL to any -> ($ExtIF) Please note that these are for illustrative purposes only, and by themselves will do nothing for your specific situation. There is much more that you will have to dig out of the documentation, understand, and configure appropriately. _______________________________________________ freebsd-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 14 12: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 E08DF10656A0 for ; Tue, 14 Oct 2008 12:11:01 +0000 (UTC) (envelope-from bthielsen@safarivideonetworks.com) Received: from smtp.ltn.lvc.com (static-66-14-195-72.bdsl.verizon.net [66.14.195.72]) by mx1.freebsd.org (Postfix) with ESMTP id 752C98FC1A for ; Tue, 14 Oct 2008 12:11:00 +0000 (UTC) (envelope-from bthielsen@safarivideonetworks.com) Received: from localhost (localhost [127.0.0.1]) by macgyver.ltn.lvc.com (Postfix) with ESMTP id 2E6E16A0C05 for ; Tue, 14 Oct 2008 08:11:00 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at macgyver.ltn.lvc.com Received: from macgyver.ltn.lvc.com ([127.0.0.1]) by localhost (macgyver.ltn.lvc.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id WiyQjB8OqNTZ for ; Tue, 14 Oct 2008 08:10:41 -0400 (EDT) Received: from heliax.ltn.lvc.com (heliax.ltn.lvc.com [10.10.101.200]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by macgyver.ltn.lvc.com (Postfix) with ESMTPSA id 1DB346A0B3F for ; Tue, 14 Oct 2008 08:10:40 -0400 (EDT) Message-Id: From: benjamin thielsen To: freebsd-questions@freebsd.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: Tue, 14 Oct 2008 08:10:40 -0400 References: <48F43EB1.40304@gmail.com> X-Mailer: Apple Mail (2.929.2) Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 system 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: Tue, 14 Oct 2008 12:11:02 -0000 Manish Jain wrote: > > Hi, > > I am poor at networking and need a little bit of help. My dad has a > Windows 2000 machine with a network card but does not have a > connection > to the internet. My freebsd 6.2 box is connected to the internet and > has > 2 network cards, rl0 and rl1. rl0 connects to the ISP and rl1 is > directly connected via a long Ethernet cable to the NIC on my dad's > machine. While I can access the internet easily, I want my dad to be > able to connect to the internet with my freebsd box serving as the > gateway. Can anyone please explain to me in easy steps how to > accomplish > this ? > Although to many old-timers this is easily achieved, to someone new to networking it is difficult to explain it in "easy steps". It involves a set of pieces that have to fit together correctly in order to work. You will need to do some proper reading on the underlying concepts first. First, establish that there exists basic network connectivity between your machine and your dads. You may need to use a crossover cable. You will want to assign a static IP address in the "Private" IP space range to your rl1 interface. This is also known as RFC 1918. You will also want to manually configure a static IP on your dad's machine that is in the same network, instead of allowing it to come up on the link.local of 169.254.x.x. An example would be your rl1 == 192.168.10.1 netmask 255.255.255.0 and your dad's machine == 192.168.10.2 netmask 255.255.255.0. For DNS at this stage you can use hosts files on each host for name resolution. Ensure that each machine can be ping'd by the other. Next, you will want to configure your FreeBSD machine as a NAT gateway. In your /etc/rc.conf you will want something like gateway_enable="YES" and some form of firewall initialization[1]. The gateway_enable is what allows the forwarding of packets between your rl0 and your rl1, but the activation of NAT functionality is usually a function contained within a firewall. So conceptually, the firewall will be "in between" rl0 and rl1. There are three different firewalls you can choose from. Configuring the firewall is usually where the inexperienced get stuck. This subject material is beyond the scope of this missive, and you would do well to start reading in the Handbook. But essentially, when you configure NAT in the firewall your rl0 (connected to the ISP) will be assigned a "Public" IP address and the NAT function will translate between "Public" and "Private". The next sticky point that will happen, should you get this far, is name resolution. You will want to place the IP addresses of the name servers of your ISP in your /etc/resolv.conf. You will also want to enter these into the TCP configuration of your dad's machine. In addition, on your dad's machine you will enter the IP address you used on your rl1 as the "default route". The subject is much too broad for exhaustive coverage here. If your DSL/Cable modem has router ports on it, it might just be easier to plug your dad's machine up there and forget about all of this. Much reading will be required of you, and once you know most of it then you will know what specific questions to ask when you encounter sticking points. This is intended only as a very generic form of overview. -Mike [1] For example, a couple of lines from my /etc/rc.conf: pf_enable="YES" pf_rules="/etc/pf.conf" pf_flags="-e" pflog_enable="YES" pflog_logfile="/var/log/pflog" pflog_flags="" and the NAT line from my /etc/pf.conf: nat on $ExtIF inet from $INTERNAL to any -> ($ExtIF) Please note that these are for illustrative purposes only, and by themselves will do nothing for your specific situation. There is much more that you will have to dig out of the documentation, understand, and configure appropriately. _______________________________________________ freebsd-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 14 12: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 E781F10656A1 for ; Tue, 14 Oct 2008 12:11:01 +0000 (UTC) (envelope-from bthielsen@safarivideonetworks.com) Received: from smtp.ltn.lvc.com (static-66-14-195-72.bdsl.verizon.net [66.14.195.72]) by mx1.freebsd.org (Postfix) with ESMTP id 79D338FC1B for ; Tue, 14 Oct 2008 12:11:00 +0000 (UTC) (envelope-from bthielsen@safarivideonetworks.com) Received: from localhost (localhost [127.0.0.1]) by macgyver.ltn.lvc.com (Postfix) with ESMTP id 8659E6A0B3F for ; Tue, 14 Oct 2008 08:11:00 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at macgyver.ltn.lvc.com Received: from macgyver.ltn.lvc.com ([127.0.0.1]) by localhost (macgyver.ltn.lvc.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 3PHOO4NVX5Zz for ; Tue, 14 Oct 2008 08:11:00 -0400 (EDT) Received: from heliax.ltn.lvc.com (heliax.ltn.lvc.com [10.10.101.200]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by macgyver.ltn.lvc.com (Postfix) with ESMTPSA id 6F02E6A0BF7 for ; Tue, 14 Oct 2008 08:10:42 -0400 (EDT) Message-Id: <21E28420-F79A-4BDB-BCF2-F38F44B71B7A@safarivideonetworks.com> From: benjamin thielsen To: freebsd-questions@freebsd.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: Tue, 14 Oct 2008 08:10:41 -0400 References: <48F43EB1.40304@gmail.com> X-Mailer: Apple Mail (2.929.2) Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 system 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: Tue, 14 Oct 2008 12:11:02 -0000 Manish Jain wrote: > > Hi, > > I am poor at networking and need a little bit of help. My dad has a > Windows 2000 machine with a network card but does not have a > connection > to the internet. My freebsd 6.2 box is connected to the internet and > has > 2 network cards, rl0 and rl1. rl0 connects to the ISP and rl1 is > directly connected via a long Ethernet cable to the NIC on my dad's > machine. While I can access the internet easily, I want my dad to be > able to connect to the internet with my freebsd box serving as the > gateway. Can anyone please explain to me in easy steps how to > accomplish > this ? > Although to many old-timers this is easily achieved, to someone new to networking it is difficult to explain it in "easy steps". It involves a set of pieces that have to fit together correctly in order to work. You will need to do some proper reading on the underlying concepts first. First, establish that there exists basic network connectivity between your machine and your dads. You may need to use a crossover cable. You will want to assign a static IP address in the "Private" IP space range to your rl1 interface. This is also known as RFC 1918. You will also want to manually configure a static IP on your dad's machine that is in the same network, instead of allowing it to come up on the link.local of 169.254.x.x. An example would be your rl1 == 192.168.10.1 netmask 255.255.255.0 and your dad's machine == 192.168.10.2 netmask 255.255.255.0. For DNS at this stage you can use hosts files on each host for name resolution. Ensure that each machine can be ping'd by the other. Next, you will want to configure your FreeBSD machine as a NAT gateway. In your /etc/rc.conf you will want something like gateway_enable="YES" and some form of firewall initialization[1]. The gateway_enable is what allows the forwarding of packets between your rl0 and your rl1, but the activation of NAT functionality is usually a function contained within a firewall. So conceptually, the firewall will be "in between" rl0 and rl1. There are three different firewalls you can choose from. Configuring the firewall is usually where the inexperienced get stuck. This subject material is beyond the scope of this missive, and you would do well to start reading in the Handbook. But essentially, when you configure NAT in the firewall your rl0 (connected to the ISP) will be assigned a "Public" IP address and the NAT function will translate between "Public" and "Private". The next sticky point that will happen, should you get this far, is name resolution. You will want to place the IP addresses of the name servers of your ISP in your /etc/resolv.conf. You will also want to enter these into the TCP configuration of your dad's machine. In addition, on your dad's machine you will enter the IP address you used on your rl1 as the "default route". The subject is much too broad for exhaustive coverage here. If your DSL/Cable modem has router ports on it, it might just be easier to plug your dad's machine up there and forget about all of this. Much reading will be required of you, and once you know most of it then you will know what specific questions to ask when you encounter sticking points. This is intended only as a very generic form of overview. -Mike [1] For example, a couple of lines from my /etc/rc.conf: pf_enable="YES" pf_rules="/etc/pf.conf" pf_flags="-e" pflog_enable="YES" pflog_logfile="/var/log/pflog" pflog_flags="" and the NAT line from my /etc/pf.conf: nat on $ExtIF inet from $INTERNAL to any -> ($ExtIF) Please note that these are for illustrative purposes only, and by themselves will do nothing for your specific situation. There is much more that you will have to dig out of the documentation, understand, and configure appropriately. _______________________________________________ freebsd-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 14 12: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 0DEF01065686 for ; Tue, 14 Oct 2008 12:11:02 +0000 (UTC) (envelope-from bthielsen@safarivideonetworks.com) Received: from smtp.ltn.lvc.com (static-66-14-195-72.bdsl.verizon.net [66.14.195.72]) by mx1.freebsd.org (Postfix) with ESMTP id 79EDA8FC1C for ; Tue, 14 Oct 2008 12:11:01 +0000 (UTC) (envelope-from bthielsen@safarivideonetworks.com) Received: from localhost (localhost [127.0.0.1]) by macgyver.ltn.lvc.com (Postfix) with ESMTP id D02666A0BFC for ; Tue, 14 Oct 2008 08:11:00 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at macgyver.ltn.lvc.com Received: from macgyver.ltn.lvc.com ([127.0.0.1]) by localhost (macgyver.ltn.lvc.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id k18ZTAnKCBEE for ; Tue, 14 Oct 2008 08:11:00 -0400 (EDT) Received: from heliax.ltn.lvc.com (heliax.ltn.lvc.com [10.10.101.200]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by macgyver.ltn.lvc.com (Postfix) with ESMTPSA id 056B76A0BFE for ; Tue, 14 Oct 2008 08:10:43 -0400 (EDT) Message-Id: <3304F61B-C904-4D6B-AD90-3529C0CDDC81@safarivideonetworks.com> From: benjamin thielsen To: freebsd-questions@freebsd.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: Tue, 14 Oct 2008 08:10:42 -0400 References: <48F43EB1.40304@gmail.com> X-Mailer: Apple Mail (2.929.2) Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 system 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: Tue, 14 Oct 2008 12:11:02 -0000 Manish Jain wrote: > > Hi, > > I am poor at networking and need a little bit of help. My dad has a > Windows 2000 machine with a network card but does not have a > connection > to the internet. My freebsd 6.2 box is connected to the internet and > has > 2 network cards, rl0 and rl1. rl0 connects to the ISP and rl1 is > directly connected via a long Ethernet cable to the NIC on my dad's > machine. While I can access the internet easily, I want my dad to be > able to connect to the internet with my freebsd box serving as the > gateway. Can anyone please explain to me in easy steps how to > accomplish > this ? > Although to many old-timers this is easily achieved, to someone new to networking it is difficult to explain it in "easy steps". It involves a set of pieces that have to fit together correctly in order to work. You will need to do some proper reading on the underlying concepts first. First, establish that there exists basic network connectivity between your machine and your dads. You may need to use a crossover cable. You will want to assign a static IP address in the "Private" IP space range to your rl1 interface. This is also known as RFC 1918. You will also want to manually configure a static IP on your dad's machine that is in the same network, instead of allowing it to come up on the link.local of 169.254.x.x. An example would be your rl1 == 192.168.10.1 netmask 255.255.255.0 and your dad's machine == 192.168.10.2 netmask 255.255.255.0. For DNS at this stage you can use hosts files on each host for name resolution. Ensure that each machine can be ping'd by the other. Next, you will want to configure your FreeBSD machine as a NAT gateway. In your /etc/rc.conf you will want something like gateway_enable="YES" and some form of firewall initialization[1]. The gateway_enable is what allows the forwarding of packets between your rl0 and your rl1, but the activation of NAT functionality is usually a function contained within a firewall. So conceptually, the firewall will be "in between" rl0 and rl1. There are three different firewalls you can choose from. Configuring the firewall is usually where the inexperienced get stuck. This subject material is beyond the scope of this missive, and you would do well to start reading in the Handbook. But essentially, when you configure NAT in the firewall your rl0 (connected to the ISP) will be assigned a "Public" IP address and the NAT function will translate between "Public" and "Private". The next sticky point that will happen, should you get this far, is name resolution. You will want to place the IP addresses of the name servers of your ISP in your /etc/resolv.conf. You will also want to enter these into the TCP configuration of your dad's machine. In addition, on your dad's machine you will enter the IP address you used on your rl1 as the "default route". The subject is much too broad for exhaustive coverage here. If your DSL/Cable modem has router ports on it, it might just be easier to plug your dad's machine up there and forget about all of this. Much reading will be required of you, and once you know most of it then you will know what specific questions to ask when you encounter sticking points. This is intended only as a very generic form of overview. -Mike [1] For example, a couple of lines from my /etc/rc.conf: pf_enable="YES" pf_rules="/etc/pf.conf" pf_flags="-e" pflog_enable="YES" pflog_logfile="/var/log/pflog" pflog_flags="" and the NAT line from my /etc/pf.conf: nat on $ExtIF inet from $INTERNAL to any -> ($ExtIF) Please note that these are for illustrative purposes only, and by themselves will do nothing for your specific situation. There is much more that you will have to dig out of the documentation, understand, and configure appropriately. _______________________________________________ freebsd-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 14 12: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 AD2B01065687 for ; Tue, 14 Oct 2008 12:11:02 +0000 (UTC) (envelope-from bthielsen@safarivideonetworks.com) Received: from smtp.ltn.lvc.com (static-66-14-195-72.bdsl.verizon.net [66.14.195.72]) by mx1.freebsd.org (Postfix) with ESMTP id 55FDC8FC14 for ; Tue, 14 Oct 2008 12:11:02 +0000 (UTC) (envelope-from bthielsen@safarivideonetworks.com) Received: from localhost (localhost [127.0.0.1]) by macgyver.ltn.lvc.com (Postfix) with ESMTP id EFFC06A0BFE for ; Tue, 14 Oct 2008 08:11:00 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at macgyver.ltn.lvc.com Received: from macgyver.ltn.lvc.com ([127.0.0.1]) by localhost (macgyver.ltn.lvc.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id jgGd2o1Z-uHe for ; Tue, 14 Oct 2008 08:11:00 -0400 (EDT) Received: from heliax.ltn.lvc.com (heliax.ltn.lvc.com [10.10.101.200]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by macgyver.ltn.lvc.com (Postfix) with ESMTPSA id 790DF6A0C04 for ; Tue, 14 Oct 2008 08:10:44 -0400 (EDT) Message-Id: <89831744-5AB2-4976-945A-B320DD587E17@safarivideonetworks.com> From: benjamin thielsen To: freebsd-questions@freebsd.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: Tue, 14 Oct 2008 08:10:44 -0400 References: <48F43EB1.40304@gmail.com> X-Mailer: Apple Mail (2.929.2) Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 system 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: Tue, 14 Oct 2008 12:11:02 -0000 Manish Jain wrote: > > Hi, > > I am poor at networking and need a little bit of help. My dad has a > Windows 2000 machine with a network card but does not have a > connection > to the internet. My freebsd 6.2 box is connected to the internet and > has > 2 network cards, rl0 and rl1. rl0 connects to the ISP and rl1 is > directly connected via a long Ethernet cable to the NIC on my dad's > machine. While I can access the internet easily, I want my dad to be > able to connect to the internet with my freebsd box serving as the > gateway. Can anyone please explain to me in easy steps how to > accomplish > this ? > Although to many old-timers this is easily achieved, to someone new to networking it is difficult to explain it in "easy steps". It involves a set of pieces that have to fit together correctly in order to work. You will need to do some proper reading on the underlying concepts first. First, establish that there exists basic network connectivity between your machine and your dads. You may need to use a crossover cable. You will want to assign a static IP address in the "Private" IP space range to your rl1 interface. This is also known as RFC 1918. You will also want to manually configure a static IP on your dad's machine that is in the same network, instead of allowing it to come up on the link.local of 169.254.x.x. An example would be your rl1 == 192.168.10.1 netmask 255.255.255.0 and your dad's machine == 192.168.10.2 netmask 255.255.255.0. For DNS at this stage you can use hosts files on each host for name resolution. Ensure that each machine can be ping'd by the other. Next, you will want to configure your FreeBSD machine as a NAT gateway. In your /etc/rc.conf you will want something like gateway_enable="YES" and some form of firewall initialization[1]. The gateway_enable is what allows the forwarding of packets between your rl0 and your rl1, but the activation of NAT functionality is usually a function contained within a firewall. So conceptually, the firewall will be "in between" rl0 and rl1. There are three different firewalls you can choose from. Configuring the firewall is usually where the inexperienced get stuck. This subject material is beyond the scope of this missive, and you would do well to start reading in the Handbook. But essentially, when you configure NAT in the firewall your rl0 (connected to the ISP) will be assigned a "Public" IP address and the NAT function will translate between "Public" and "Private". The next sticky point that will happen, should you get this far, is name resolution. You will want to place the IP addresses of the name servers of your ISP in your /etc/resolv.conf. You will also want to enter these into the TCP configuration of your dad's machine. In addition, on your dad's machine you will enter the IP address you used on your rl1 as the "default route". The subject is much too broad for exhaustive coverage here. If your DSL/Cable modem has router ports on it, it might just be easier to plug your dad's machine up there and forget about all of this. Much reading will be required of you, and once you know most of it then you will know what specific questions to ask when you encounter sticking points. This is intended only as a very generic form of overview. -Mike [1] For example, a couple of lines from my /etc/rc.conf: pf_enable="YES" pf_rules="/etc/pf.conf" pf_flags="-e" pflog_enable="YES" pflog_logfile="/var/log/pflog" pflog_flags="" and the NAT line from my /etc/pf.conf: nat on $ExtIF inet from $INTERNAL to any -> ($ExtIF) Please note that these are for illustrative purposes only, and by themselves will do nothing for your specific situation. There is much more that you will have to dig out of the documentation, understand, and configure appropriately. _______________________________________________ freebsd-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 14 12:11: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 9B94C1065695 for ; Tue, 14 Oct 2008 12:11:03 +0000 (UTC) (envelope-from bthielsen@safarivideonetworks.com) Received: from smtp.ltn.lvc.com (static-66-14-195-72.bdsl.verizon.net [66.14.195.72]) by mx1.freebsd.org (Postfix) with ESMTP id 447F98FC21 for ; Tue, 14 Oct 2008 12:11:03 +0000 (UTC) (envelope-from bthielsen@safarivideonetworks.com) Received: from localhost (localhost [127.0.0.1]) by macgyver.ltn.lvc.com (Postfix) with ESMTP id C764F6A0B3F for ; Tue, 14 Oct 2008 08:11:02 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at macgyver.ltn.lvc.com Received: from macgyver.ltn.lvc.com ([127.0.0.1]) by localhost (macgyver.ltn.lvc.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id unAbjtVhfoOz for ; Tue, 14 Oct 2008 08:11:02 -0400 (EDT) Received: from heliax.ltn.lvc.com (heliax.ltn.lvc.com [10.10.101.200]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by macgyver.ltn.lvc.com (Postfix) with ESMTPSA id 371046A0C00 for ; Tue, 14 Oct 2008 08:10:43 -0400 (EDT) Message-Id: From: benjamin thielsen To: freebsd-questions@freebsd.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: Tue, 14 Oct 2008 08:10:43 -0400 References: <48F43EB1.40304@gmail.com> X-Mailer: Apple Mail (2.929.2) Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 system 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: Tue, 14 Oct 2008 12:11:03 -0000 Manish Jain wrote: > > Hi, > > I am poor at networking and need a little bit of help. My dad has a > Windows 2000 machine with a network card but does not have a > connection > to the internet. My freebsd 6.2 box is connected to the internet and > has > 2 network cards, rl0 and rl1. rl0 connects to the ISP and rl1 is > directly connected via a long Ethernet cable to the NIC on my dad's > machine. While I can access the internet easily, I want my dad to be > able to connect to the internet with my freebsd box serving as the > gateway. Can anyone please explain to me in easy steps how to > accomplish > this ? > Although to many old-timers this is easily achieved, to someone new to networking it is difficult to explain it in "easy steps". It involves a set of pieces that have to fit together correctly in order to work. You will need to do some proper reading on the underlying concepts first. First, establish that there exists basic network connectivity between your machine and your dads. You may need to use a crossover cable. You will want to assign a static IP address in the "Private" IP space range to your rl1 interface. This is also known as RFC 1918. You will also want to manually configure a static IP on your dad's machine that is in the same network, instead of allowing it to come up on the link.local of 169.254.x.x. An example would be your rl1 == 192.168.10.1 netmask 255.255.255.0 and your dad's machine == 192.168.10.2 netmask 255.255.255.0. For DNS at this stage you can use hosts files on each host for name resolution. Ensure that each machine can be ping'd by the other. Next, you will want to configure your FreeBSD machine as a NAT gateway. In your /etc/rc.conf you will want something like gateway_enable="YES" and some form of firewall initialization[1]. The gateway_enable is what allows the forwarding of packets between your rl0 and your rl1, but the activation of NAT functionality is usually a function contained within a firewall. So conceptually, the firewall will be "in between" rl0 and rl1. There are three different firewalls you can choose from. Configuring the firewall is usually where the inexperienced get stuck. This subject material is beyond the scope of this missive, and you would do well to start reading in the Handbook. But essentially, when you configure NAT in the firewall your rl0 (connected to the ISP) will be assigned a "Public" IP address and the NAT function will translate between "Public" and "Private". The next sticky point that will happen, should you get this far, is name resolution. You will want to place the IP addresses of the name servers of your ISP in your /etc/resolv.conf. You will also want to enter these into the TCP configuration of your dad's machine. In addition, on your dad's machine you will enter the IP address you used on your rl1 as the "default route". The subject is much too broad for exhaustive coverage here. If your DSL/Cable modem has router ports on it, it might just be easier to plug your dad's machine up there and forget about all of this. Much reading will be required of you, and once you know most of it then you will know what specific questions to ask when you encounter sticking points. This is intended only as a very generic form of overview. -Mike [1] For example, a couple of lines from my /etc/rc.conf: pf_enable="YES" pf_rules="/etc/pf.conf" pf_flags="-e" pflog_enable="YES" pflog_logfile="/var/log/pflog" pflog_flags="" and the NAT line from my /etc/pf.conf: nat on $ExtIF inet from $INTERNAL to any -> ($ExtIF) Please note that these are for illustrative purposes only, and by themselves will do nothing for your specific situation. There is much more that you will have to dig out of the documentation, understand, and configure appropriately. _______________________________________________ freebsd-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 14 12: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 B6C361065689 for ; Tue, 14 Oct 2008 12:11:05 +0000 (UTC) (envelope-from bthielsen@safarivideonetworks.com) Received: from smtp.ltn.lvc.com (static-66-14-195-72.bdsl.verizon.net [66.14.195.72]) by mx1.freebsd.org (Postfix) with ESMTP id 5F8E98FC26 for ; Tue, 14 Oct 2008 12:11:05 +0000 (UTC) (envelope-from bthielsen@safarivideonetworks.com) Received: from localhost (localhost [127.0.0.1]) by macgyver.ltn.lvc.com (Postfix) with ESMTP id E1F706A0B3F for ; Tue, 14 Oct 2008 08:11:04 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at macgyver.ltn.lvc.com Received: from macgyver.ltn.lvc.com ([127.0.0.1]) by localhost (macgyver.ltn.lvc.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 3vF+BGlfipe6 for ; Tue, 14 Oct 2008 08:11:04 -0400 (EDT) Received: from heliax.ltn.lvc.com (heliax.ltn.lvc.com [10.10.101.200]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by macgyver.ltn.lvc.com (Postfix) with ESMTPSA id 99F4A6A0C02 for ; Tue, 14 Oct 2008 08:10:43 -0400 (EDT) Message-Id: <7A6EFDF5-088E-4C34-977D-C417E8B083B3@safarivideonetworks.com> From: benjamin thielsen To: freebsd-questions@freebsd.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: Tue, 14 Oct 2008 08:10:43 -0400 References: <48F43EB1.40304@gmail.com> X-Mailer: Apple Mail (2.929.2) Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 system 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: Tue, 14 Oct 2008 12:11:05 -0000 Manish Jain wrote: > > Hi, > > I am poor at networking and need a little bit of help. My dad has a > Windows 2000 machine with a network card but does not have a > connection > to the internet. My freebsd 6.2 box is connected to the internet and > has > 2 network cards, rl0 and rl1. rl0 connects to the ISP and rl1 is > directly connected via a long Ethernet cable to the NIC on my dad's > machine. While I can access the internet easily, I want my dad to be > able to connect to the internet with my freebsd box serving as the > gateway. Can anyone please explain to me in easy steps how to > accomplish > this ? > Although to many old-timers this is easily achieved, to someone new to networking it is difficult to explain it in "easy steps". It involves a set of pieces that have to fit together correctly in order to work. You will need to do some proper reading on the underlying concepts first. First, establish that there exists basic network connectivity between your machine and your dads. You may need to use a crossover cable. You will want to assign a static IP address in the "Private" IP space range to your rl1 interface. This is also known as RFC 1918. You will also want to manually configure a static IP on your dad's machine that is in the same network, instead of allowing it to come up on the link.local of 169.254.x.x. An example would be your rl1 == 192.168.10.1 netmask 255.255.255.0 and your dad's machine == 192.168.10.2 netmask 255.255.255.0. For DNS at this stage you can use hosts files on each host for name resolution. Ensure that each machine can be ping'd by the other. Next, you will want to configure your FreeBSD machine as a NAT gateway. In your /etc/rc.conf you will want something like gateway_enable="YES" and some form of firewall initialization[1]. The gateway_enable is what allows the forwarding of packets between your rl0 and your rl1, but the activation of NAT functionality is usually a function contained within a firewall. So conceptually, the firewall will be "in between" rl0 and rl1. There are three different firewalls you can choose from. Configuring the firewall is usually where the inexperienced get stuck. This subject material is beyond the scope of this missive, and you would do well to start reading in the Handbook. But essentially, when you configure NAT in the firewall your rl0 (connected to the ISP) will be assigned a "Public" IP address and the NAT function will translate between "Public" and "Private". The next sticky point that will happen, should you get this far, is name resolution. You will want to place the IP addresses of the name servers of your ISP in your /etc/resolv.conf. You will also want to enter these into the TCP configuration of your dad's machine. In addition, on your dad's machine you will enter the IP address you used on your rl1 as the "default route". The subject is much too broad for exhaustive coverage here. If your DSL/Cable modem has router ports on it, it might just be easier to plug your dad's machine up there and forget about all of this. Much reading will be required of you, and once you know most of it then you will know what specific questions to ask when you encounter sticking points. This is intended only as a very generic form of overview. -Mike [1] For example, a couple of lines from my /etc/rc.conf: pf_enable="YES" pf_rules="/etc/pf.conf" pf_flags="-e" pflog_enable="YES" pflog_logfile="/var/log/pflog" pflog_flags="" and the NAT line from my /etc/pf.conf: nat on $ExtIF inet from $INTERNAL to any -> ($ExtIF) Please note that these are for illustrative purposes only, and by themselves will do nothing for your specific situation. There is much more that you will have to dig out of the documentation, understand, and configure appropriately. _______________________________________________ freebsd-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 14 12:11: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 AA352106568B for ; Tue, 14 Oct 2008 12:11:06 +0000 (UTC) (envelope-from bthielsen@safarivideonetworks.com) Received: from smtp.ltn.lvc.com (static-66-14-195-72.bdsl.verizon.net [66.14.195.72]) by mx1.freebsd.org (Postfix) with ESMTP id 52FC18FC08 for ; Tue, 14 Oct 2008 12:11:06 +0000 (UTC) (envelope-from bthielsen@safarivideonetworks.com) Received: from localhost (localhost [127.0.0.1]) by macgyver.ltn.lvc.com (Postfix) with ESMTP id D65016A0B3F for ; Tue, 14 Oct 2008 08:11:05 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at macgyver.ltn.lvc.com Received: from macgyver.ltn.lvc.com ([127.0.0.1]) by localhost (macgyver.ltn.lvc.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id GFpRcjTv5R7O for ; Tue, 14 Oct 2008 08:10:42 -0400 (EDT) Received: from heliax.ltn.lvc.com (heliax.ltn.lvc.com [10.10.101.200]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by macgyver.ltn.lvc.com (Postfix) with ESMTPSA id 408996A0BEE for ; Tue, 14 Oct 2008 08:10:42 -0400 (EDT) Message-Id: <69737A9C-B8E2-42FE-AF92-161CAF9D8008@safarivideonetworks.com> From: benjamin thielsen To: freebsd-questions@freebsd.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: Tue, 14 Oct 2008 08:10:40 -0400 References: <48F43EB1.40304@gmail.com> X-Mailer: Apple Mail (2.929.2) Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 system 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: Tue, 14 Oct 2008 12:11:06 -0000 Manish Jain wrote: > > Hi, > > I am poor at networking and need a little bit of help. My dad has a > Windows 2000 machine with a network card but does not have a > connection > to the internet. My freebsd 6.2 box is connected to the internet and > has > 2 network cards, rl0 and rl1. rl0 connects to the ISP and rl1 is > directly connected via a long Ethernet cable to the NIC on my dad's > machine. While I can access the internet easily, I want my dad to be > able to connect to the internet with my freebsd box serving as the > gateway. Can anyone please explain to me in easy steps how to > accomplish > this ? > Although to many old-timers this is easily achieved, to someone new to networking it is difficult to explain it in "easy steps". It involves a set of pieces that have to fit together correctly in order to work. You will need to do some proper reading on the underlying concepts first. First, establish that there exists basic network connectivity between your machine and your dads. You may need to use a crossover cable. You will want to assign a static IP address in the "Private" IP space range to your rl1 interface. This is also known as RFC 1918. You will also want to manually configure a static IP on your dad's machine that is in the same network, instead of allowing it to come up on the link.local of 169.254.x.x. An example would be your rl1 == 192.168.10.1 netmask 255.255.255.0 and your dad's machine == 192.168.10.2 netmask 255.255.255.0. For DNS at this stage you can use hosts files on each host for name resolution. Ensure that each machine can be ping'd by the other. Next, you will want to configure your FreeBSD machine as a NAT gateway. In your /etc/rc.conf you will want something like gateway_enable="YES" and some form of firewall initialization[1]. The gateway_enable is what allows the forwarding of packets between your rl0 and your rl1, but the activation of NAT functionality is usually a function contained within a firewall. So conceptually, the firewall will be "in between" rl0 and rl1. There are three different firewalls you can choose from. Configuring the firewall is usually where the inexperienced get stuck. This subject material is beyond the scope of this missive, and you would do well to start reading in the Handbook. But essentially, when you configure NAT in the firewall your rl0 (connected to the ISP) will be assigned a "Public" IP address and the NAT function will translate between "Public" and "Private". The next sticky point that will happen, should you get this far, is name resolution. You will want to place the IP addresses of the name servers of your ISP in your /etc/resolv.conf. You will also want to enter these into the TCP configuration of your dad's machine. In addition, on your dad's machine you will enter the IP address you used on your rl1 as the "default route". The subject is much too broad for exhaustive coverage here. If your DSL/Cable modem has router ports on it, it might just be easier to plug your dad's machine up there and forget about all of this. Much reading will be required of you, and once you know most of it then you will know what specific questions to ask when you encounter sticking points. This is intended only as a very generic form of overview. -Mike [1] For example, a couple of lines from my /etc/rc.conf: pf_enable="YES" pf_rules="/etc/pf.conf" pf_flags="-e" pflog_enable="YES" pflog_logfile="/var/log/pflog" pflog_flags="" and the NAT line from my /etc/pf.conf: nat on $ExtIF inet from $INTERNAL to any -> ($ExtIF) Please note that these are for illustrative purposes only, and by themselves will do nothing for your specific situation. There is much more that you will have to dig out of the documentation, understand, and configure appropriately. _______________________________________________ freebsd-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 14 12:11: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 B1596106568C for ; Tue, 14 Oct 2008 12:11:06 +0000 (UTC) (envelope-from bthielsen@safarivideonetworks.com) Received: from smtp.ltn.lvc.com (static-66-14-195-72.bdsl.verizon.net [66.14.195.72]) by mx1.freebsd.org (Postfix) with ESMTP id 5536F8FC14 for ; Tue, 14 Oct 2008 12:11:06 +0000 (UTC) (envelope-from bthielsen@safarivideonetworks.com) Received: from localhost (localhost [127.0.0.1]) by macgyver.ltn.lvc.com (Postfix) with ESMTP id EC7506A0BEE for ; Tue, 14 Oct 2008 08:11:05 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at macgyver.ltn.lvc.com Received: from macgyver.ltn.lvc.com ([127.0.0.1]) by localhost (macgyver.ltn.lvc.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id izUbsN7CeUtv for ; Tue, 14 Oct 2008 08:11:05 -0400 (EDT) Received: from heliax.ltn.lvc.com (heliax.ltn.lvc.com [10.10.101.200]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by macgyver.ltn.lvc.com (Postfix) with ESMTPSA id 47D866A0C03 for ; Tue, 14 Oct 2008 08:10:44 -0400 (EDT) Message-Id: <46D5F699-0EB9-469F-9633-CD7FF7D3F9B8@safarivideonetworks.com> From: benjamin thielsen To: freebsd-questions@freebsd.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: Tue, 14 Oct 2008 08:10:43 -0400 References: <48F43EB1.40304@gmail.com> X-Mailer: Apple Mail (2.929.2) Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 system 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: Tue, 14 Oct 2008 12:11:06 -0000 Manish Jain wrote: > > Hi, > > I am poor at networking and need a little bit of help. My dad has a > Windows 2000 machine with a network card but does not have a > connection > to the internet. My freebsd 6.2 box is connected to the internet and > has > 2 network cards, rl0 and rl1. rl0 connects to the ISP and rl1 is > directly connected via a long Ethernet cable to the NIC on my dad's > machine. While I can access the internet easily, I want my dad to be > able to connect to the internet with my freebsd box serving as the > gateway. Can anyone please explain to me in easy steps how to > accomplish > this ? > Although to many old-timers this is easily achieved, to someone new to networking it is difficult to explain it in "easy steps". It involves a set of pieces that have to fit together correctly in order to work. You will need to do some proper reading on the underlying concepts first. First, establish that there exists basic network connectivity between your machine and your dads. You may need to use a crossover cable. You will want to assign a static IP address in the "Private" IP space range to your rl1 interface. This is also known as RFC 1918. You will also want to manually configure a static IP on your dad's machine that is in the same network, instead of allowing it to come up on the link.local of 169.254.x.x. An example would be your rl1 == 192.168.10.1 netmask 255.255.255.0 and your dad's machine == 192.168.10.2 netmask 255.255.255.0. For DNS at this stage you can use hosts files on each host for name resolution. Ensure that each machine can be ping'd by the other. Next, you will want to configure your FreeBSD machine as a NAT gateway. In your /etc/rc.conf you will want something like gateway_enable="YES" and some form of firewall initialization[1]. The gateway_enable is what allows the forwarding of packets between your rl0 and your rl1, but the activation of NAT functionality is usually a function contained within a firewall. So conceptually, the firewall will be "in between" rl0 and rl1. There are three different firewalls you can choose from. Configuring the firewall is usually where the inexperienced get stuck. This subject material is beyond the scope of this missive, and you would do well to start reading in the Handbook. But essentially, when you configure NAT in the firewall your rl0 (connected to the ISP) will be assigned a "Public" IP address and the NAT function will translate between "Public" and "Private". The next sticky point that will happen, should you get this far, is name resolution. You will want to place the IP addresses of the name servers of your ISP in your /etc/resolv.conf. You will also want to enter these into the TCP configuration of your dad's machine. In addition, on your dad's machine you will enter the IP address you used on your rl1 as the "default route". The subject is much too broad for exhaustive coverage here. If your DSL/Cable modem has router ports on it, it might just be easier to plug your dad's machine up there and forget about all of this. Much reading will be required of you, and once you know most of it then you will know what specific questions to ask when you encounter sticking points. This is intended only as a very generic form of overview. -Mike [1] For example, a couple of lines from my /etc/rc.conf: pf_enable="YES" pf_rules="/etc/pf.conf" pf_flags="-e" pflog_enable="YES" pflog_logfile="/var/log/pflog" pflog_flags="" and the NAT line from my /etc/pf.conf: nat on $ExtIF inet from $INTERNAL to any -> ($ExtIF) Please note that these are for illustrative purposes only, and by themselves will do nothing for your specific situation. There is much more that you will have to dig out of the documentation, understand, and configure appropriately. _______________________________________________ freebsd-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 14 12:20: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 2D6C61065696 for ; Tue, 14 Oct 2008 12:20:24 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from mail.pica.nl (mail.pica.nl [192.87.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id B45638FC29 for ; Tue, 14 Oct 2008 12:20:23 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from rebelion.Sisis.de ([193.31.10.34]) by mail.pica.nl with Microsoft SMTPSVC(6.0.3790.3959); Tue, 14 Oct 2008 14:20:21 +0200 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id m9ECKLYn010841; Tue, 14 Oct 2008 14:20:21 +0200 (CEST) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Tue, 14 Oct 2008 14:20:21 +0200 From: Matthias Apitz To: benjamin thielsen Message-ID: <20081014122021.GA10739@rebelion.Sisis.de> References: <48F43EB1.40304@gmail.com> <00F22CA4-ABCE-4ED4-9D95-D29C38CD80E7@safarivideonetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <00F22CA4-ABCE-4ED4-9D95-D29C38CD80E7@safarivideonetworks.com> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-RELEASE (i386) X-OriginalArrivalTime: 14 Oct 2008 12:20:21.0683 (UTC) FILETIME=[3A67E830:01C92DF7] Cc: freebsd-questions@freebsd.org Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 12:20:24 -0000 El día Tuesday, October 14, 2008 a las 08:10:42AM -0400, benjamin thielsen escribió: > Manish Jain wrote: > > > > >Hi, > > > >I am poor at networking and need a little bit of help. My dad has a > >Windows 2000 machine with a network card but does not have a > >connection > >to the internet. My freebsd 6.2 box is connected to the internet and > >has > >2 network cards, rl0 and rl1. rl0 connects to the ISP and rl1 is > >directly connected via a long Ethernet cable to the NIC on my dad's > >machine. While I can access the internet easily, I want my dad to be > >able to connect to the internet with my freebsd box serving as the > >gateway. Can anyone please explain to me in easy steps how to > >accomplish > >this ? > > > > Although to many old-timers this is easily achieved, to someone new to > networking it is difficult to explain it in "easy steps". It involves > a set > of pieces that have to fit together correctly in order to work. You will > need to do some proper reading on the underlying concepts first. You wrote the same mail 6 times (at least) to the mailing-list; I've checked the Message-ID lines, all are diffrent: <00F22CA4-ABCE-4ED4-9D95-D29C38CD80E7@safarivideonetworks.com> <3304F61B-C904-4D6B-AD90-3529C0CDDC81@safarivideonetworks.com> <89831744-5AB2-4976-945A-B320DD587E17@safarivideonetworks.com> ... please stop that; thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ A computer is like an air conditioner, it stops working when you open Windows Una computadora es como aire acondicionado, deja de funcionar si abres Windows From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 12:24: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 D1C6C106568B; Tue, 14 Oct 2008 12:24:43 +0000 (UTC) (envelope-from scuba@centroin.com.br) Received: from raptor.centroin.com (asmtp.centroin.com [64.251.27.169]) by mx1.freebsd.org (Postfix) with ESMTP id 9355E8FC2C; Tue, 14 Oct 2008 12:24:43 +0000 (UTC) (envelope-from scuba@centroin.com.br) Received: from trex.centroin.com.br (trex.centroin.com.br [200.225.63.134]) (authenticated bits=0) by raptor.centroin.com (8.14.3/8.13.8/CIP SMTP HOST) with ESMTP id m9ECOra8033869; Tue, 14 Oct 2008 09:29:33 -0300 (BRT) (envelope-from scuba@centroin.com.br) Date: Tue, 14 Oct 2008 09:20:22 -0300 (BRT) From: scuba@centroin.com.br Sender: mpsouza@trex.centroin.com.br To: Jeremy Chadwick In-Reply-To: <20081014061159.GA41939@icarus.home.lan> Message-ID: <20081014091431.A49137@trex.centroin.com.br> References: <20080909154356.D66065@trex.centroin.com.br> <48C6FBCC.20603@za.verizonbusiness.com> <20081014003842.K46975@trex.centroin.com.br> <20081014043503.GB40021@icarus.home.lan> <20081014015746.X78747@trex.centroin.com.br> <20081014051431.GA40846@icarus.home.lan> <20081014023446.K78747@trex.centroin.com.br> <20081014061159.GA41939@icarus.home.lan> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@FreeBSD.org, Todor Genov , jhb@FreeBSD.org Subject: Re: FreeBSD 7 and ESXi X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 12:24:43 -0000 Jeremy, On Mon, 13 Oct 2008, Jeremy Chadwick wrote: |On Tue, Oct 14, 2008 at 02:44:13AM -0300, scuba@centroin.com.br wrote: |> On Mon, 13 Oct 2008, Jeremy Chadwick wrote: |> |> |On Tue, Oct 14, 2008 at 02:04:07AM -0300, scuba@centroin.com.br wrote: |> |> Jeremy, |> |> |> |> On Mon, 13 Oct 2008, Jeremy Chadwick wrote: |> |> |> |> |On Tue, Oct 14, 2008 at 12:54:26AM -0300, scuba@centroin.com.br wrote: |> |> |> I'm facing some problems trying to install a FreeBSD |> |> |> 7.0-RELEASE-amd64, on a Dell PE 2950III, dual Xeon Quad core, 8GB RAM. |> |> |> After (FBSD) boot menu count down, it shows a dump of the CPU |> |> |> registers and a message: BTX Halted. No matter what is changed in VM |> |> |> setup. |> |> | |> |> |Can you please download the 7.1-BETA2 ISO and try it instead? There |> |> |have been changes to the FreeBSD boot loader between 7.0-RELEASE and |> |> |7.1-BETA2 which may improve things for you. The 7.1-BETA2 ISOs are |> |> |available here: |> |> |> |> The same behavior with 7.1-BETA2. |> | |> |I'm not sure what to do at this point, or what to tell you, since the |> |kernel can't even load. |> | |> |Are you installing this off of CD, and is the CD drive hooked up to |> |the PC via ATA/SATA (rather than USB or something else)? |> |> It's a bit more complicated, since, for some reason the Vmware |> client is unable to boot the VM from CD on the host server. It's |> booting an ISO image on the client machine. |> I already read something saying that it's a known issue of the |> ESXi. |> Without the virtulization layer, the amd64 CD boots without |> problems in this machine. | |Ah, so the truth comes out... :-) | |Have you brought this fact up with the VMware folks? They're quite a |nice bunch, I wouldn't be surprised if they provided a hotfix for you |for this problem. This will be my next step. I sent here first, once it's a boot loader problem, specific to 64bits version of Fbsd. I thought someone could faced the same and came with a howto to workaround. Thank you anyway. :-) - Marcelo From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 12:27: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 0BF4A1065689 for ; Tue, 14 Oct 2008 12:27:33 +0000 (UTC) (envelope-from bthielsen@safarivideonetworks.com) Received: from smtp.ltn.lvc.com (static-66-14-195-72.bdsl.verizon.net [66.14.195.72]) by mx1.freebsd.org (Postfix) with ESMTP id A71908FC15 for ; Tue, 14 Oct 2008 12:27:32 +0000 (UTC) (envelope-from bthielsen@safarivideonetworks.com) Received: from localhost (localhost [127.0.0.1]) by macgyver.ltn.lvc.com (Postfix) with ESMTP id E3B206A0BEE for ; Tue, 14 Oct 2008 08:27:31 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at macgyver.ltn.lvc.com Received: from macgyver.ltn.lvc.com ([127.0.0.1]) by localhost (macgyver.ltn.lvc.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id UEmzBCjXNg6Q for ; Tue, 14 Oct 2008 08:27:17 -0400 (EDT) Received: from heliax.ltn.lvc.com (heliax.ltn.lvc.com [10.10.101.200]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by macgyver.ltn.lvc.com (Postfix) with ESMTPSA id 896C96A0B3F for ; Tue, 14 Oct 2008 08:27:17 -0400 (EDT) Message-Id: From: benjamin thielsen To: freebsd-questions@freebsd.org In-Reply-To: <46D5F699-0EB9-469F-9633-CD7FF7D3F9B8@safarivideonetworks.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: Tue, 14 Oct 2008 08:27:17 -0400 References: <48F43EB1.40304@gmail.com> <46D5F699-0EB9-469F-9633-CD7FF7D3F9B8@safarivideonetworks.com> X-Mailer: Apple Mail (2.929.2) Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 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, 14 Oct 2008 12:27:33 -0000 ack! sorry for the blank reply barrage - my apologies! i was inadvertently holding down a key combination that caused my mail client to send off a flurry of blank responses before i realized it was occurring. probably a sign to stay away from computers today :) -b On Oct 14, 2008, at 08.10, benjamin thielsen wrote: > Manish Jain wrote: > >> >> Hi, >> >> I am poor at networking and need a little bit of help. My dad has a >> Windows 2000 machine with a network card but does not have a >> connection >> to the internet. My freebsd 6.2 box is connected to the internet >> and has >> 2 network cards, rl0 and rl1. rl0 connects to the ISP and rl1 is >> directly connected via a long Ethernet cable to the NIC on my dad's >> machine. While I can access the internet easily, I want my dad to be >> able to connect to the internet with my freebsd box serving as the >> gateway. Can anyone please explain to me in easy steps how to >> accomplish >> this ? >> > > Although to many old-timers this is easily achieved, to someone new to > networking it is difficult to explain it in "easy steps". It > involves a set > of pieces that have to fit together correctly in order to work. You > will > need to do some proper reading on the underlying concepts first. > > First, establish that there exists basic network connectivity > between your > machine and your dads. You may need to use a crossover cable. You > will want > to assign a static IP address in the "Private" IP space range to > your rl1 > interface. This is also known as RFC 1918. You will also want to > manually > configure a static IP on your dad's machine that is in the same > network, > instead of allowing it to come up on the link.local of 169.254.x.x. An > example would be your rl1 == 192.168.10.1 netmask 255.255.255.0 and > your > dad's machine == 192.168.10.2 netmask 255.255.255.0. For DNS at this > stage > you can use hosts files on each host for name resolution. Ensure > that each > machine can be ping'd by the other. > > Next, you will want to configure your FreeBSD machine as a NAT > gateway. In > your /etc/rc.conf you will want something like gateway_enable="YES" > and > some form of firewall initialization[1]. The gateway_enable is what > allows > the forwarding of packets between your rl0 and your rl1, but the > activation > of NAT functionality is usually a function contained within a > firewall. So > conceptually, the firewall will be "in between" rl0 and rl1. > > There are three different firewalls you can choose from. Configuring > the > firewall is usually where the inexperienced get stuck. This subject > material is beyond the scope of this missive, and you would do well to > start reading in the Handbook. But essentially, when you configure > NAT in > the firewall your rl0 (connected to the ISP) will be assigned a > "Public" IP > address and the NAT function will translate between "Public" and > "Private". > > The next sticky point that will happen, should you get this far, is > name > resolution. You will want to place the IP addresses of the name > servers of > your ISP in your /etc/resolv.conf. You will also want to enter these > into > the TCP configuration of your dad's machine. In addition, on your > dad's > machine you will enter the IP address you used on your rl1 as the > "default > route". > > The subject is much too broad for exhaustive coverage here. If your > DSL/Cable modem has router ports on it, it might just be easier to > plug > your dad's machine up there and forget about all of this. Much > reading will > be required of you, and once you know most of it then you will know > what > specific questions to ask when you encounter sticking points. This is > intended only as a very generic form of overview. > > -Mike > > [1] For example, a couple of lines from my /etc/rc.conf: > > pf_enable="YES" > pf_rules="/etc/pf.conf" > pf_flags="-e" > pflog_enable="YES" > pflog_logfile="/var/log/pflog" > pflog_flags="" > > and the NAT line from my /etc/pf.conf: > > nat on $ExtIF inet from $INTERNAL to any -> ($ExtIF) > > Please note that these are for illustrative purposes only, and by > themselves > will do nothing for your specific situation. There is much more that > you > will have to dig out of the documentation, understand, and configure > appropriately. > > > > > > > _______________________________________________ > freebsd-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 Tue Oct 14 12:35: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 2FD801065688 for ; Tue, 14 Oct 2008 12:35:43 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id 19B608FC1C for ; Tue, 14 Oct 2008 12:35:35 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so749360uge.39 for ; Tue, 14 Oct 2008 05:35: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 :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=FF81O5cu06Qm+vwkfBN58ZYQtjX7jV2lTi1JoRtAvHo=; b=DRR5FxByXmFyKbvXPmjgAFJIlHBv3aNSD69lyiB6MbXqDIGFYRPpGG9SpomYrm1MSp mknuAhDcSdV0l8zxDf6D/yOzeIgKEW4PEq2mNEb03QQ3v/P4WVDrr9wz0aCheZFAWXiD ldUpVHnEDRSmdWdV3nqJrtcZRSgYOqflPdAt8= 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=HHNGfUjW4IIRh1PqylXcmfvEfCsX9QjxKw3lCN0hVY+vNcq1b4dMF7hJwa0BEaWwG+ s+09qIRX75m79hzUhs0LIbY3Z2pC3PfSVxuwViu3cNfsPlY7cHWSwkUzfKvxXJu0Ac0N V73L5CTanhLKl6K6M6fobIemfcDEpYFbhtJYs= Received: by 10.66.245.10 with SMTP id s10mr4332567ugh.30.1223987734497; Tue, 14 Oct 2008 05:35:34 -0700 (PDT) Received: from atlantis.dyndns.org (athedsl-324342.home.otenet.gr [85.72.122.148]) by mx.google.com with ESMTPS id o24sm1330785ugd.53.2008.10.14.05.35.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 14 Oct 2008 05:35:33 -0700 (PDT) Message-ID: <48F49213.1030906@gmail.com> Date: Tue, 14 Oct 2008 15:35:31 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.17 (X11/20081011) MIME-Version: 1.0 To: Giorgos Keramidas References: <48F43EB1.40304@gmail.com> <87iqrvijcn.fsf@thingy.bsdly.net> <48F48511.2020708@gmail.com> <8763nvpezf.fsf@kobe.laptop> In-Reply-To: <8763nvpezf.fsf@kobe.laptop> Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 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, 14 Oct 2008 12:35:43 -0000 Giorgos Keramidas wrote: > > Hi Manolis & everyone else, > > `ipdivert.ko' works fine as a module too. You don't really *have* to > recompile the kernel, but we probably have to update the relevant > Handbook bits to mention that `ipdivert.ko' can be kldload'ed now. > > Adding a few options in `loader.conf' should preload IPFW and DIVERT in > the running kernel: > > ipfw_load="YES" > ipdivert_load="YES" > > Then the rest of the `rc.conf' options described in the current text > work as expected. > > I can't boot my 6.2-RELEASE installation today to verify that this works > in that version too, but if you have one around and it seems to work, > let me know and I'll handle the doc bits :-) > > FWIW, both modules load fine in my VMWare based 6.2-RELEASE. From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 12:40: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 323441065689 for ; Tue, 14 Oct 2008 12:40:56 +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 3E88A8FC19 for ; Tue, 14 Oct 2008 12:40:54 +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 m9ECenso097966; Tue, 14 Oct 2008 14:40:49 +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 m9ECelPY097963; Tue, 14 Oct 2008 14:40:48 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Tue, 14 Oct 2008 14:40:47 +0200 (CEST) From: Wojciech Puchar To: Unga In-Reply-To: <465783.30538.qm@web57002.mail.re3.yahoo.com> Message-ID: <20081014144024.H97955@wojtek.tensor.gdynia.pl> References: <465783.30538.qm@web57002.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: An endian error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 12:40:56 -0000 are you sure there's nothing strange in your make.conf i just did it with week old RELENG_7 On Tue, 14 Oct 2008, Unga wrote: > Hi all > > I'm trying to compile RELENG_7 kernel on i386. > > The "make buildkernel" develops an endian related error: > > ===> xl (depend) > @ -> /usr/src/sys > machine -> /usr/src/sys/i386/include > awk -f @/tools/makeobjops.awk @/kern/device_if.m -h > awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h > awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h > awk -f @/tools/makeobjops.awk @/dev/mii/miibus_if.m -h > rm -f .depend > mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq /usr/src/sys/modules/xl/../../pci/if_xl.c > ===> zfs (depend) > @ -> /usr/src/sys > machine -> /usr/src/sys/i386/include > awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p > awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q > awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h > rm -f .depend > mkdep -f .depend -a -nostdinc -DFREEBSD_NAMECACHE -D_SOLARIS_C_SOURCE -D_KERNEL -DKLD_MODULE -I/usr/src/sys/modules/zfs/../../cddl/compat/opensolaris > : > : > /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c > > /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/rpc/xdr.c:63:2: error: #error "Only one of _BIG_ENDIAN or _LITTLE_ENDIAN may be defined" > mkdep: compile failed > *** Error code 1 > > Stop in /usr/src/sys/modules/zfs. > *** Error code 1 > > Where could possibly be wrong? Any ideas? > > Many thanks in advance. > > Best regards > Unga > > > > _______________________________________________ > freebsd-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 14 12:50: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 A782E1065694 for ; Tue, 14 Oct 2008 12:50:44 +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 53CFE8FC16 for ; Tue, 14 Oct 2008 12:50:43 +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 SbKp1a0090QuhwU51cqjYX; Tue, 14 Oct 2008 12:50:43 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA02.westchester.pa.mail.comcast.net with comcast id Scqi1a0062P6wsM3Ncqj4B; Tue, 14 Oct 2008 12:50:43 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=y-99nSiRI14qlZHH4p4A:9 a=wJut_uMTRuzluoMUzMxzMytITJoA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 2B7A6C9419; Tue, 14 Oct 2008 05:50:42 -0700 (PDT) Date: Tue, 14 Oct 2008 05:50:42 -0700 From: Jeremy Chadwick To: Unga Message-ID: <20081014125042.GA50163@icarus.home.lan> References: <465783.30538.qm@web57002.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <465783.30538.qm@web57002.mail.re3.yahoo.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: An endian error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 12:50:44 -0000 On Tue, Oct 14, 2008 at 05:00:26AM -0700, Unga wrote: > Hi all > > I'm trying to compile RELENG_7 kernel on i386. > > The "make buildkernel" develops an endian related error: I cannot reproduce this error on any of our i386 boxes or our amd64 boxes. Is this kernel being built with the new gcc you've been messing around with in other threads? I have to ask that question, for obvious reasons. -- | 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 14 14: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 865CE1065686 for ; Tue, 14 Oct 2008 14:22:40 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from web57008.mail.re3.yahoo.com (web57008.mail.re3.yahoo.com [66.196.97.112]) by mx1.freebsd.org (Postfix) with SMTP id 194848FC14 for ; Tue, 14 Oct 2008 14:22:39 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: (qmail 32018 invoked by uid 60001); 14 Oct 2008 14:22:39 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=Wb76KutdbjKEkmSZkezt2ovDOfx6RwFYJrKjcnIdjZQCVv+KFW96O/JHQSycH+4AW4/zCGcCdfw99JcLIz5nSefNe875TDup08faaida2zZH3JMrEb/fWfYzPFV0uJ3atOXq+JASpzNSDfUUseYakmi2W4gExICwyEAsS3Y2z/o=; X-YMail-OSG: Px4Bh8oVM1nPeZ4Z4U59U4picIYKlpJInXr8xoArOvOsLIFsVYCzSIc9irUApHeXicLrLNjEj6yRHXc.hN8baAIvRhlwdLErEIMb.16Np3lhKSykQYeTvqEJFahttZXmRUXjzJzjwCKCx3FyfaiBskO6n4rJCFIRvNHePACSJgnDHJLTVkyPOvPU18qw Received: from [220.255.7.233] by web57008.mail.re3.yahoo.com via HTTP; Tue, 14 Oct 2008 07:22:39 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Tue, 14 Oct 2008 07:22:39 -0700 (PDT) From: Unga To: Jeremy Chadwick In-Reply-To: <20081014125042.GA50163@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <356712.31393.qm@web57008.mail.re3.yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: An endian 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: Tue, 14 Oct 2008 14:22:40 -0000 --- On Tue, 10/14/08, Jeremy Chadwick wrote: > From: Jeremy Chadwick > Subject: Re: An endian error > To: "Unga" > Cc: freebsd-questions@freebsd.org > Date: Tuesday, October 14, 2008, 8:50 PM > On Tue, Oct 14, 2008 at 05:00:26AM -0700, Unga wrote: > > Hi all > > > > I'm trying to compile RELENG_7 kernel on i386. > > > > The "make buildkernel" develops an endian > related error: > > I cannot reproduce this error on any of our i386 boxes or > our amd64 > boxes. > > Is this kernel being built with the new gcc you've been > messing around > with in other threads? I have to ask that question, for > obvious > reasons. > Yes :) The new gcc compiler was built with bootstraps. Sample programs compile fine. As per Alexander's patch, it doesn't meddle with endians except for arm. Regards Unga From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 15:01: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 EEF9710656A6 for ; Tue, 14 Oct 2008 15:01:40 +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 81F528FC21 for ; Tue, 14 Oct 2008 15:01:40 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: (qmail 80176 invoked by uid 60001); 14 Oct 2008 15:01: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:Cc:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=UZ7tvpG/+WERAwEOX+h7ZLGYhvA9c8zlhnzZ1qhWCM0AP+zdhec6MIyOSmplcAtKPfPjEBORWOoDZQOK3GNW44UZ5dGPPwBYGV18oz1QXr9rbPZLyyQsiJebPiOK1m4p3ec83/NF5ISsprocXrl9YyNX5iVarY1NVkWTPNn2yq4=; X-YMail-OSG: T6XSmnAVM1mn5myQsgMlF7ZdtD3fTpj7616ZhrDBP5NoIAcJqlGFJ_MWxZIMBUGAYMYAVUgKt4V5smw_M7.FJplA0xUnl3kvtMTE_qhEA5JirOi92T9KtgRgh4KO_thBhoxfGGc7CpgLpKllc2MjX_pwxVcJ0qL7W4Lzn0Gg3B8uXvc- Received: from [71.61.220.126] by web56805.mail.re3.yahoo.com via HTTP; Tue, 14 Oct 2008 08:01:34 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Tue, 14 Oct 2008 08:01:34 -0700 (PDT) From: mdh To: Unga , Jeremy Chadwick In-Reply-To: <20081014125042.GA50163@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <709604.78360.qm@web56805.mail.re3.yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: An endian error 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: Tue, 14 Oct 2008 15:01:41 -0000 --- On Tue, 10/14/08, Jeremy Chadwick wrote: > From: Jeremy Chadwick > Subject: Re: An endian error > To: "Unga" > Cc: freebsd-questions@freebsd.org > Date: Tuesday, October 14, 2008, 8:50 AM > On Tue, Oct 14, 2008 at 05:00:26AM -0700, Unga wrote: > > Hi all > > > > I'm trying to compile RELENG_7 kernel on i386. > > > > The "make buildkernel" develops an endian > related error: > > I cannot reproduce this error on any of our i386 boxes or > our amd64 > boxes. > > Is this kernel being built with the new gcc you've been > messing around > with in other threads? I have to ask that question, for > obvious > reasons. I wonder if that code is right - normally an endian check on FreeBSD entails comparing BYTE_ORDER with _BIG_ENDIAN and/or _LITTLE_ENDIAN to determine which is the case, which would seemingly imply that it is OK to have both of those defined. - mdh From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 15:06: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 55D2B1065687 for ; Tue, 14 Oct 2008 15:06:48 +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 006DE8FC15 for ; Tue, 14 Oct 2008 15:06:47 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: (qmail 83342 invoked by uid 60001); 14 Oct 2008 15:06:47 -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=fbLTjmr04KOAwhI/q6o0f9JTLgRwDjbnIZF0/kvM8FbEr5xtt07XfUJZuivPv4nsqpXe232Fm5G+CAJXA0oy0VvK4jLhUgcxcvxVfSB6rsPRIYgxsXGN4f+O6GSYZDAoOOrwNmoO2x//5u1/HY5fPVNxsE1dxyEtC3LDFA0Mx84=; X-YMail-OSG: MqnhvCAVM1nv0l5Wftu55QNVYf4nGgWQTPsz_Qa7iaVlbAN8Oqw63Pxp0cjrEWXYZszYodjTXJicshtrSyyyopwr1uz1xMFAHtnAuUbirctglB9inye1VSYInhAz_vMvJzWvnFGjedjOlJdDGi.9iei5xA-- Received: from [71.61.220.126] by web56805.mail.re3.yahoo.com via HTTP; Tue, 14 Oct 2008 08:06:46 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Tue, 14 Oct 2008 08:06:46 -0700 (PDT) From: mdh To: FreeBSD-Questions , Marco Beishuizen In-Reply-To: <20081014140807.18783ca9@yokozuna.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <178866.83318.qm@web56805.mail.re3.yahoo.com> Cc: Subject: Re: Problems with portupgrade or db 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: Tue, 14 Oct 2008 15:06:48 -0000 --- On Tue, 10/14/08, Marco Beishuizen wrote: > From: Marco Beishuizen > Subject: Problems with portupgrade or db > To: "FreeBSD-Questions" > Date: Tuesday, October 14, 2008, 8:08 AM > Hi, > > In an attempt to upgrade db42 to db47 I seem to have broken > some > things. If I try to portupgrade anything I get: > > ... > #portupgrade -a > ** Makefile possibly broken: www/gnome-user-share: > /libexec/ld-elf.so.1: Shared object > "libdb-4.2.so.2" not found, > required by "libaprutil-1.so.3" [: -le: argument > expected > gnome-user-share-0.31_2 > : Your apache does not support DSO modules > > /usr/local/sbin/portupgrade:1468:in `get_pkgname': > Makefile broken > (MakefileBrokenError) from > /usr/local/sbin/portupgrade:622: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' 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:229:in `new' > from /usr/local/sbin/portupgrade:229:in `main' > from /usr/local/sbin/portupgrade:2208 > ... > > If I try to reinstall db42 (or anything else) I get the > same error > message. > What can I do to make things work again? > > Thanks in advance, > > Marco Have you tried installing db42 from ports manually? ie: (cd /usr/ports/databases/db42 && make deinstall && make clean && make install && make clean) If that doesn't work, perhaps try installing the db42 pkg from the FreeBSD ftp servers? Personally, I try to stay away from portupgrade or anything else that comes around claiming to make something easier that's already easy enough. ;) - mdh From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 15:18: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 13C641065698 for ; Tue, 14 Oct 2008 15:18:40 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from smtp-vbr12.xs4all.nl (smtp-vbr12.xs4all.nl [194.109.24.32]) by mx1.freebsd.org (Postfix) with ESMTP id 88B3D8FC1C for ; Tue, 14 Oct 2008 15:18:39 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan (213-84-73-82.adsl.xs4all.nl [80.101.78.208]) by smtp-vbr12.xs4all.nl (8.13.8/8.13.8) with ESMTP id m9EFIbrZ036353; Tue, 14 Oct 2008 17:18:37 +0200 (CEST) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan (yokozuna.lan [127.0.0.1]) by yokozuna.lan (8.14.2/8.14.2) with ESMTP id m9EFIall013648; Tue, 14 Oct 2008 17:18:36 +0200 (CEST) (envelope-from mbeis@xs4all.nl) Date: Tue, 14 Oct 2008 17:18:36 +0200 From: Marco Beishuizen To: freebsd-questions@freebsd.org Message-ID: <20081014171836.51bb751f@yokozuna.lan> In-Reply-To: <178866.83318.qm@web56805.mail.re3.yahoo.com> References: <20081014140807.18783ca9@yokozuna.lan> <178866.83318.qm@web56805.mail.re3.yahoo.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 X-Virus-Scanned: by XS4ALL Virus Scanner Cc: mdh_lists@yahoo.com Subject: Re: Problems with portupgrade or db X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 15:18:40 -0000 On Tue, 14 Oct 2008 08:06:46 -0700 (PDT) mdh wrote: > Have you tried installing db42 from ports manually? ie: > (cd /usr/ports/databases/db42 && make deinstall && make clean && make > install && make clean) > > If that doesn't work, perhaps try installing the db42 pkg from the > FreeBSD ftp servers? Personally, I try to stay away from portupgrade > or anything else that comes around claiming to make something easier > that's already easy enough. ;) > > - mdh Yes, I did try to install it manually but that results in: ... ===> Extracting for db42-4.2.52_5 => MD5 Checksum mismatch for bdb/db-4.2.52.tar.gz. => SHA256 Checksum mismatch for bdb/db-4.2.52.tar.gz. => MD5 Checksum OK for bdb/patch.4.2.52.1. => SHA256 Checksum OK for bdb/patch.4.2.52.1. => MD5 Checksum OK for bdb/patch.4.2.52.2. => SHA256 Checksum OK for bdb/patch.4.2.52.2. => MD5 Checksum OK for bdb/patch.4.2.52.3. => SHA256 Checksum OK for bdb/patch.4.2.52.3. => MD5 Checksum OK for bdb/patch.4.2.52.4. => SHA256 Checksum OK for bdb/patch.4.2.52.4. => MD5 Checksum OK for bdb/patch.4.2.52.5. => SHA256 Checksum OK for bdb/patch.4.2.52.5. ===> Refetch for 1 more times files: bdb/db-4.2.52.tar.gz bdb/db-4.2.52.tar.gz => db-4.2.52.tar.gz doesn't seem to exist in /usr/ports/distfiles/bdb. => Attempting to fetch from http://download-east.oracle.com/berkeley-db/. fetch: http://download-east.oracle.com/berkeley-db/db-4.2.52.tar.gz: Requested Range Not Satisfiable => Attempting to fetch from http://download-west.oracle.com/berkeley-db/. fetch: http://download-west.oracle.com/berkeley-db/db-4.2.52.tar.gz: Requested Range Not Satisfiable => Attempting to fetch from http://download-uk.oracle.com/berkeley-db/. fetch: http://download-uk.oracle.com/berkeley-db/db-4.2.52.tar.gz: Requested Range Not Satisfiable => Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/bdb/. fetch: db-4.2.52.tar.gz: local modification time does not match remote => Couldn't fetch it - please try to retrieve this => port manually into /usr/ports/distfiles/bdb and try again. *** Error code 1 Stop in /usr/ports/databases/db42. *** Error code 1 Stop in /usr/ports/databases/db42. ... The package is already present in /usr/ports/distfiles/bdb and when I download it manually I get the error above. Regards, Marco -- Beauty and harmony are as necessary to you as the very breath of life. From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 15:28: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 A53821065687 for ; Tue, 14 Oct 2008 15:28:33 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 628B08FC1D for ; Tue, 14 Oct 2008 15:28:33 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id m9EF1ACf008148; Tue, 14 Oct 2008 11:01:10 -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 m9EF19rA008147; Tue, 14 Oct 2008 11:01:09 -0400 (EDT) (envelope-from jerrymc) Date: Tue, 14 Oct 2008 11:01:09 -0400 From: Jerry McAllister To: Wojciech Puchar Message-ID: <20081014150109.GB8023@gizmo.acns.msu.edu> References: <48F43EB1.40304@gmail.com> <20081014095228.P92028@wojtek.tensor.gdynia.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081014095228.P92028@wojtek.tensor.gdynia.pl> User-Agent: Mutt/1.4.2.2i Cc: questions@freebsd.org, Manish Jain Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 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, 14 Oct 2008 15:28:33 -0000 On Tue, Oct 14, 2008 at 09:52:54AM +0200, Wojciech Puchar wrote: > >internet. My freebsd 6.2 box is connected to the internet and has 2 > >network cards, rl0 and rl1. rl0 connects to the ISP and rl1 is directly > >connected via a long Ethernet cable to the NIC on my dad's machine. While > >I can access the internet easily, I want my dad to be able to connect to > >the internet with my freebsd box serving as the gateway. Can anyone please > >explain to me in easy steps how to accomplish this ? > > > reading admin's handbook or using google will give you an answer True, but often it is helpful to give some hints about what to search for in the handbook or the net. Where to start looking and/or how to narrow the search is often the biggest problem. Unless the question is as broad as 'how do I learn about FreeBSD' it is worthwhile to help the person aim that shotgun or exchange it for a rifle. ////jerry > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 15:36:17 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 A354B1065696 for ; Tue, 14 Oct 2008 15:36:17 +0000 (UTC) (envelope-from prvs=pschmehl_lists=166d57149@tx.rr.com) Received: from ip-relay-001.utdallas.edu (ip-relay-001.utdallas.edu [129.110.20.111]) by mx1.freebsd.org (Postfix) with ESMTP id 729718FC1D for ; Tue, 14 Oct 2008 15:36:17 +0000 (UTC) (envelope-from prvs=pschmehl_lists=166d57149@tx.rr.com) X-Group: RELAYLIST X-IronPort-AV: E=Sophos;i="4.33,410,1220245200"; d="scan'208";a="252377" Received: from smtp3.utdallas.edu ([129.110.20.110]) by ip-relay-001.utdallas.edu with ESMTP; 14 Oct 2008 10:07:42 -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 7259D8E0E; Tue, 14 Oct 2008 10:07:42 -0500 (CDT) Date: Tue, 14 Oct 2008 10:07:42 -0500 From: Paul Schmehl To: Manish Jain , questions@freebsd.org Message-ID: <44804AFECA712F6185EFF381@utd65257.utdallas.edu> In-Reply-To: <48F43EB1.40304@gmail.com> References: <48F43EB1.40304@gmail.com> 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: Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 system 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: Tue, 14 Oct 2008 15:36:17 -0000 --On Tuesday, October 14, 2008 01:39:45 -0500 Manish Jain wrote: > > > Hi, > > I am poor at networking and need a little bit of help. My dad has a > Windows 2000 machine with a network card but does not have a connection > to the internet. My freebsd 6.2 box is connected to the internet How is your FreeBSD 6.2 box connected to the internet? Directly to the modem? What sort of connection do you have? Dial-up? DSL? Satellite? Cable? The answers to these questions determine how you go about networking the two machines together. -- 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 Tue Oct 14 16:03: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 5F01F1065687 for ; Tue, 14 Oct 2008 16:03:46 +0000 (UTC) (envelope-from andrewlylegould@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by mx1.freebsd.org (Postfix) with ESMTP id 13BD88FC22 for ; Tue, 14 Oct 2008 16:03:45 +0000 (UTC) (envelope-from andrewlylegould@gmail.com) Received: by an-out-0708.google.com with SMTP id b33so187348ana.13 for ; Tue, 14 Oct 2008 09:03:45 -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=r0gwjQXW5GY7PTJpOqm5Ytchcl88G00tru3Uwh2oZfU=; b=clXq7toou43aIaGkplMqexTgi1NU3yQ0rilgR9rJ0jKXOTOCC1gvuaC/jK7CfzKQS8 sBFQMTgjlLdZKLQgRytoeq6uWkbWFTM3UChWRHf+bgpsIAnUy1PCs0KSjiAGhq6w8SyV Z2KkfreikMcED9mToEdZ+1DIVsyLfJrRNfRio= 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=bxnWzwBjc/mC0rsC03pEbbjhXh0BJN5hMU60vL9uXUUbah+9SzJthbgO4Z7RBc14jU UIDDSIrIa+kL79hESCN4zssLdlbRvmWYRjYgmHURNU8N7g7Qr2Oqo84RKlu3YoKalFfn 2345WsitqfEkXklY+EIzWSNycH+xdIavqUWas= Received: by 10.103.211.3 with SMTP id n3mr4610014muq.43.1223998785893; Tue, 14 Oct 2008 08:39:45 -0700 (PDT) Received: by 10.103.240.10 with HTTP; Tue, 14 Oct 2008 08:39:45 -0700 (PDT) Message-ID: Date: Tue, 14 Oct 2008 10:39:45 -0500 From: "Andrew Gould" To: "Jerry McAllister" In-Reply-To: <20081014150109.GB8023@gizmo.acns.msu.edu> MIME-Version: 1.0 References: <48F43EB1.40304@gmail.com> <20081014095228.P92028@wojtek.tensor.gdynia.pl> <20081014150109.GB8023@gizmo.acns.msu.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: Wojciech Puchar , questions@freebsd.org, Manish Jain Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 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, 14 Oct 2008 16:03:46 -0000 On Tue, Oct 14, 2008 at 10:01 AM, Jerry McAllister wrote: > On Tue, Oct 14, 2008 at 09:52:54AM +0200, Wojciech Puchar wrote: > > > >internet. My freebsd 6.2 box is connected to the internet and has 2 > > >network cards, rl0 and rl1. rl0 connects to the ISP and rl1 is directly > > >connected via a long Ethernet cable to the NIC on my dad's machine. > While > > >I can access the internet easily, I want my dad to be able to connect to > > >the internet with my freebsd box serving as the gateway. Can anyone > please > > >explain to me in easy steps how to accomplish this ? > > > > If you use (or are willing to use) IPFirewall, this should help: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-natd.html Best of luck, Andrew From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 16:16: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 D387F106568F for ; Tue, 14 Oct 2008 16:16:04 +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 F37278FC20 for ; Tue, 14 Oct 2008 16:16:03 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from kobe.laptop (adsl136-153.kln.forthnet.gr [77.49.255.153]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id m9EGFhqi030070 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 14 Oct 2008 19:15:49 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id m9EGFhC1037841; Tue, 14 Oct 2008 19:15:43 +0300 (EEST) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id m9EGFgt9037840; Tue, 14 Oct 2008 19:15:42 +0300 (EEST) (envelope-from keramida@freebsd.org) From: Giorgos Keramidas To: Manolis Kiagias References: <48F43EB1.40304@gmail.com> <87iqrvijcn.fsf@thingy.bsdly.net> <48F48511.2020708@gmail.com> <8763nvpezf.fsf@kobe.laptop> <48F49213.1030906@gmail.com> Date: Tue, 14 Oct 2008 19:15:42 +0300 In-Reply-To: <48F49213.1030906@gmail.com> (Manolis Kiagias's message of "Tue, 14 Oct 2008 15:35:31 +0300") Message-ID: <87r66jnoep.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: m9EGFhqi030070 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.304, 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: freebsd-questions@freebsd.org Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 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, 14 Oct 2008 16:16:04 -0000 On Tue, 14 Oct 2008 15:35:31 +0300, Manolis Kiagias wrote: > Giorgos Keramidas wrote: >> Adding a few options in `loader.conf' should preload IPFW and DIVERT in >> the running kernel: >> >> ipfw_load="YES" >> ipdivert_load="YES" >> >> Then the rest of the `rc.conf' options described in the current text >> work as expected. >> >> I can't boot my 6.2-RELEASE installation today to verify that this works >> in that version too, but if you have one around and it seems to work, >> let me know and I'll handle the doc bits :-) > > FWIW, both modules load fine in my VMWare based 6.2-RELEASE. Thanks :) From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 16:35: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 0B5F51065689 for ; Tue, 14 Oct 2008 16:35:58 +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 E16958FC21 for ; Tue, 14 Oct 2008 16:35:57 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA07.emeryville.ca.mail.comcast.net ([76.96.30.59]) by QMTA05.emeryville.ca.mail.comcast.net with comcast id SejS1a02r1GXsucA5gbxXw; Tue, 14 Oct 2008 16:35:57 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA07.emeryville.ca.mail.comcast.net with comcast id Sgbv1a00c2P6wsM8TgbvGB; Tue, 14 Oct 2008 16:35:56 +0000 X-Authority-Analysis: v=1.0 c=1 a=BsMGfUbNxroA:10 a=yPCof4ZbAAAA:8 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=Wk5HN2WH_CFeUoeZ9HMA:9 a=DIBDvEPExCZ2djKg51Y3PGLgWO8A:4 a=EoioJ0NPDVgA:10 a=rC2wZJ5BpNYA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 3ADB1C9419; Tue, 14 Oct 2008 09:35:55 -0700 (PDT) Date: Tue, 14 Oct 2008 09:35:55 -0700 From: Jeremy Chadwick To: Marco Beishuizen Message-ID: <20081014163555.GA54082@icarus.home.lan> References: <20081014140807.18783ca9@yokozuna.lan> <178866.83318.qm@web56805.mail.re3.yahoo.com> <20081014171836.51bb751f@yokozuna.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081014171836.51bb751f@yokozuna.lan> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: mdh_lists@yahoo.com, freebsd-questions@freebsd.org Subject: Re: Problems with portupgrade or db X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 16:35:58 -0000 On Tue, Oct 14, 2008 at 05:18:36PM +0200, Marco Beishuizen wrote: > On Tue, 14 Oct 2008 08:06:46 -0700 (PDT) > mdh wrote: > > > Have you tried installing db42 from ports manually? ie: > > (cd /usr/ports/databases/db42 && make deinstall && make clean && make > > install && make clean) > > > > If that doesn't work, perhaps try installing the db42 pkg from the > > FreeBSD ftp servers? Personally, I try to stay away from portupgrade > > or anything else that comes around claiming to make something easier > > that's already easy enough. ;) > > > > - mdh > > Yes, I did try to install it manually but that results in: > ... > ===> Extracting for db42-4.2.52_5 > => MD5 Checksum mismatch for bdb/db-4.2.52.tar.gz. > => SHA256 Checksum mismatch for bdb/db-4.2.52.tar.gz. > => MD5 Checksum OK for bdb/patch.4.2.52.1. > => SHA256 Checksum OK for bdb/patch.4.2.52.1. > => MD5 Checksum OK for bdb/patch.4.2.52.2. > => SHA256 Checksum OK for bdb/patch.4.2.52.2. > => MD5 Checksum OK for bdb/patch.4.2.52.3. > => SHA256 Checksum OK for bdb/patch.4.2.52.3. > => MD5 Checksum OK for bdb/patch.4.2.52.4. > => SHA256 Checksum OK for bdb/patch.4.2.52.4. > => MD5 Checksum OK for bdb/patch.4.2.52.5. > => SHA256 Checksum OK for bdb/patch.4.2.52.5. > ===> Refetch for 1 more times files: bdb/db-4.2.52.tar.gz > bdb/db-4.2.52.tar.gz => db-4.2.52.tar.gz doesn't seem to exist > in /usr/ports/distfiles/bdb. => Attempting to fetch from > http://download-east.oracle.com/berkeley-db/. fetch: > http://download-east.oracle.com/berkeley-db/db-4.2.52.tar.gz: Requested > Range Not Satisfiable => Attempting to fetch from > http://download-west.oracle.com/berkeley-db/. fetch: > http://download-west.oracle.com/berkeley-db/db-4.2.52.tar.gz: Requested > Range Not Satisfiable => Attempting to fetch from > http://download-uk.oracle.com/berkeley-db/. fetch: > http://download-uk.oracle.com/berkeley-db/db-4.2.52.tar.gz: Requested > Range Not Satisfiable => Attempting to fetch from > ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/bdb/. fetch: > db-4.2.52.tar.gz: local modification time does not match remote => > Couldn't fetch it - please try to retrieve this => port manually > into /usr/ports/distfiles/bdb and try again. *** Error code 1 > > Stop in /usr/ports/databases/db42. > *** Error code 1 > > Stop in /usr/ports/databases/db42. > ... > > The package is already present in /usr/ports/distfiles/bdb and when I > download it manually I get the error above. The "Range Not Satisfiable" errors are because your db-4.2.52.tar.gz is of an incorrect size (probably larger than what's on the source site). The last error (talking about modification time) could indicate that you have a clock which is severely skewed or incorrect in some way. Otherwise, if you're *absolutely 100% positive* all is well, then the issue could be one of the following: 1) The db-4.2.52.tar.gz tarball on the distribution sites has changed, 2) There is a proxy server between you and the distribution site which is caching data and returning bad stuff, 3) You're experiencing underlying corruption going on (network or disk), 4) Your ports tree is outdated or broken (some pieces are out of date while others are correct). Here's some evidence that things are indeed working (on my systems) how you'd expect -- everything matches up perfectly: $ wget -q http://download-east.oracle.com/berkeley-db/db-4.2.52.tar.gz $ md5 db-4.2.52.tar.gz MD5 (db-4.2.52.tar.gz) = 8b5cff6eb83972afdd8e0b821703c33c $ grep db-4.2.52.tar.gz /usr/ports/databases/db42/distinfo MD5 (bdb/db-4.2.52.tar.gz) = 8b5cff6eb83972afdd8e0b821703c33c SHA256 (bdb/db-4.2.52.tar.gz) = f4bddd8d1b4cde0daf5e13e3493ed62a25b736b0bf258e1d929e47bc6a82a28c SIZE (bdb/db-4.2.52.tar.gz) = 3919271 -- | 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 14 16:54: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 DF484106568E for ; Tue, 14 Oct 2008 16:54:26 +0000 (UTC) (envelope-from salfasi@juniper.net) Received: from exprod7og116.obsmtp.com (exprod7ob116.obsmtp.com [64.18.2.218]) by mx1.freebsd.org (Postfix) with ESMTP id 9EA898FC15 for ; Tue, 14 Oct 2008 16:54:26 +0000 (UTC) (envelope-from salfasi@juniper.net) Received: from source ([66.129.228.6]) by exprod7ob116.postini.com ([64.18.6.12]) with SMTP; Tue, 14 Oct 2008 09:53:33 PDT Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emsmtp02.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 14 Oct 2008 09:30:04 -0700 Received: from emailfeemea2.jnpr.net ([172.26.192.142]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 14 Oct 2008 09:30:04 -0700 Received: from emailemea4.jnpr.net ([172.26.192.133]) by emailfeemea2.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 14 Oct 2008 17:30:03 +0100 x-mimeole: Produced By Microsoft Exchange V6.5.7235.2 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Tue, 14 Oct 2008 17:30:00 +0100 Message-ID: <5DD781A4BE13384A900438DF0608972C5579D8@emailemea4.jnpr.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: installing Eclipse CDT on freebsd 6.2 Thread-Index: AckuGhmv4B84E3HURseD5d59F/3qpg== From: "Shlomi Alfasi" To: X-OriginalArrivalTime: 14 Oct 2008 16:30:03.0431 (UTC) FILETIME=[1C393B70:01C92E1A] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: installing Eclipse CDT on freebsd 6.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 16:54:27 -0000 Hi all, =20 Can someone provide information about installing eclipse CDT on FreeBSD 6.2 platform? Does a regular eclipse installation for linux is good enough or do I need a specific installation for FreeBSD? =20 THX Shlomi From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 16:59: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 C05AC106568F for ; Tue, 14 Oct 2008 16:59:04 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from smtp-vbr7.xs4all.nl (smtp-vbr7.xs4all.nl [194.109.24.27]) by mx1.freebsd.org (Postfix) with ESMTP id 40E5C8FC24 for ; Tue, 14 Oct 2008 16:59:03 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan (213-84-73-82.adsl.xs4all.nl [80.101.78.208]) by smtp-vbr7.xs4all.nl (8.13.8/8.13.8) with ESMTP id m9EGx2Vi033764 for ; Tue, 14 Oct 2008 18:59:02 +0200 (CEST) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan (yokozuna.lan [127.0.0.1]) by yokozuna.lan (8.14.2/8.14.2) with ESMTP id m9EGx18t082905 for ; Tue, 14 Oct 2008 18:59:01 +0200 (CEST) (envelope-from mbeis@xs4all.nl) Date: Tue, 14 Oct 2008 18:59:01 +0200 From: Marco Beishuizen To: freebsd-questions@freebsd.org Message-ID: <20081014185901.2c861666@yokozuna.lan> In-Reply-To: <20081014163555.GA54082@icarus.home.lan> References: <20081014140807.18783ca9@yokozuna.lan> <178866.83318.qm@web56805.mail.re3.yahoo.com> <20081014171836.51bb751f@yokozuna.lan> <20081014163555.GA54082@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 X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Re: Problems with portupgrade or db X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 16:59:04 -0000 On Tue, 14 Oct 2008 09:35:55 -0700 Jeremy Chadwick wrote: > The "Range Not Satisfiable" errors are because your db-4.2.52.tar.gz > is of an incorrect size (probably larger than what's on the source > site). The last error (talking about modification time) could > indicate that you have a clock which is severely skewed or incorrect > in some way. > > Otherwise, if you're *absolutely 100% positive* all is well, then the > issue could be one of the following: > > 1) The db-4.2.52.tar.gz tarball on the distribution sites has changed, > 2) There is a proxy server between you and the distribution site which > is caching data and returning bad stuff, > 3) You're experiencing underlying corruption going on (network or > disk), 4) Your ports tree is outdated or broken (some pieces are out > of date while others are correct). > > Here's some evidence that things are indeed working (on my systems) > how you'd expect -- everything matches up perfectly: > > $ wget -q http://download-east.oracle.com/berkeley-db/db-4.2.52.tar.gz > > $ md5 db-4.2.52.tar.gz > MD5 (db-4.2.52.tar.gz) = 8b5cff6eb83972afdd8e0b821703c33c > > $ grep db-4.2.52.tar.gz /usr/ports/databases/db42/distinfo > MD5 (bdb/db-4.2.52.tar.gz) = 8b5cff6eb83972afdd8e0b821703c33c > SHA256 (bdb/db-4.2.52.tar.gz) = > f4bddd8d1b4cde0daf5e13e3493ed62a25b736b0bf258e1d929e47bc6a82a28c SIZE > (bdb/db-4.2.52.tar.gz) = 3919271 > I got the tarball you mentioned and this one installed fine so it was probably changed. I had one of a different size. My clock seems fine too, it gets updated by a ntp daemon. But all seems to be working again so thanks for the help. Regards, Marco -- I think the sky is blue because it's a shift from black through purple to blue, and it has to do with where the light is. You know, the farther we get into darkness, and there's a shifting of color of light into the blueness, and I think as you go farther and farther away from the reflected light we have from the sun or the light that's bouncing off this earth, uh, the darker it gets ... I think if you look at the color scale, you start at black, move it through purple, move it on out, it's the shifting of color. We mentioned before about the stars singing, and that's one of the effects of the shifting of colors. -- Pat Robertson, The 700 Club From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 17:10: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 EEB621065693 for ; Tue, 14 Oct 2008 17:10:48 +0000 (UTC) (envelope-from mkbucc@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.188]) by mx1.freebsd.org (Postfix) with ESMTP id ABEFB8FC13 for ; Tue, 14 Oct 2008 17:10:48 +0000 (UTC) (envelope-from mkbucc@gmail.com) Received: by rn-out-0910.google.com with SMTP id j71so1047904rne.12 for ; Tue, 14 Oct 2008 10:10: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:mime-version:content-type:content-transfer-encoding :content-disposition; bh=sq6X0Uo+Bb2TN2Q6Dm8p4Zgu0TIuEEuaO/XKdW1eLiY=; b=VDBSmc13xUSm1r2lG+tQ5oaz9F0/Vrn13SZTVSrKnUy7yy63yh6UpuuQJes0X8lX8q Z1zOyTMPYH40YYIO7nZcVvD4J0DAO6YLLI13VMKlXXK8KNhEadXw6bBV1YLv1cLwCsy3 YBeW/SV9OwqB37nvkK6EXv+7az3O1LawFwnyM= 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=TXd17vg1i4ARSkDC2bsuu9vYnVFYuNqzuIXi2r/+p2VPySvtrexhTb0hQtrivkJAXO X+4owygtGZn/z2KpNArk8915gne19J4KIhuhLsG+/0C/XXwm2mHWewhbsg85/wVwE5e8 Cu30KQ98g5wvkduNcD3pmEw1h4m4HXtrkKuzw= Received: by 10.142.72.21 with SMTP id u21mr3527004wfa.161.1224002634548; Tue, 14 Oct 2008 09:43:54 -0700 (PDT) Received: by 10.142.147.14 with HTTP; Tue, 14 Oct 2008 09:43:54 -0700 (PDT) Message-ID: <59f4cb420810140943r113f1494la477606c004833ca@mail.gmail.com> Date: Tue, 14 Oct 2008 12:43:54 -0400 From: "Mark B." 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: mktime() output not the same as the date utility X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 17:10:49 -0000 Hi, I can't figure out from the man pages why mktime() is giving a different result than date -f. Both strptime and mktime are supposed to use the local timezone, as does date. The output of date is correct; mktime() is an hour later. What am I missing here? Thanks, m $ uname -s; uname -r FreeBSD 6.0-RELEASE-p9 $ gcc test.c $ ./a.out date -j -f "%Y-%m-%d %H:%M:%S" "2008-10-14 08:06:21" +%s returns 1223985981 a.out: tm.tm_sec = 21 a.out: tm.tm_min = 6 a.out: tm.tm_hour = 8 a.out: tm.tm_mday = 14 a.out: tm.tm_mon = 9 a.out: tm.tm_year = 108 a.out: tm.tm_wday = 0 a.out: tm.tm_yday = 0 a.out: tm.tm_isdst = 0 a.out: tm.tm_zone = (null) a.out: tm.tm_gmtoff = 0 exp 1223985981, got 1223989581: delta = -3600 $ date -j -r 1223985981 Tue Oct 14 08:06:21 EDT 2008 $ date -j -r 1223989581 Tue Oct 14 09:06:21 EDT 2008 $ cat test.c #include #include #include #include #include #include #include #include #include #define EXITOK(rc) (WIFEXITED(rc) && WEXITSTATUS(rc) == 0) static char *time_s = "2008-10-14 08:06:21"; static char *fmt = "%Y-%m-%d %H:%M:%S"; /* Return seconds since epoch computed from date utility. */ time_t expected() { char cmd[500] = {0}; char outbuf[4096]; unsigned long exp, act; int rc; FILE *pfp; /* date -j -f "%Y-%m-%d %H:%M:%S" "2008-10-14 08:06:21" +%s */ (void) snprintf(cmd, sizeof(cmd), "date -j -f \"%s\" \"%s\" +%%s", fmt, time_s); if ((pfp = popen(cmd, "r")) == NULL) errx(1, "popen failed."); while (fgets(outbuf, sizeof(outbuf), pfp) != NULL) printf("%s returns %s", cmd, outbuf); if((rc = pclose(pfp)) == -1) errx(1, "pclose returns -1"); if (!EXITOK(rc)) errx(1, "%s didn't terminate normally", cmd); return (time_t) strtoul(outbuf, 0, 10); } /* Returns seconds since epoch using strptime() and mktime() */ time_t actual() { struct tm tm; time_t rval; rval = (time_t) 0; memset(&tm, 0, sizeof(tm)); if (strptime(time_s, fmt, &tm) == NULL) errx(1, "fmt '%s' didn't match '%s'", fmt, time_s); warnx("tm.tm_sec = %d", tm.tm_sec); warnx("tm.tm_min = %d", tm.tm_min); warnx("tm.tm_hour = %d", tm.tm_hour); warnx("tm.tm_mday = %d", tm.tm_mday); warnx("tm.tm_mon = %d", tm.tm_mon); warnx("tm.tm_year = %d", tm.tm_year); warnx("tm.tm_wday = %d", tm.tm_wday); warnx("tm.tm_yday = %d", tm.tm_yday); warnx("tm.tm_isdst = %d", tm.tm_isdst); warnx("tm.tm_zone = %s", tm.tm_zone); warnx("tm.tm_gmtoff = %lu", tm.tm_gmtoff); return mktime(&tm); } int main(void) { time_t act, exp; double delta; exp = expected(); act = actual(); delta = difftime(exp, act); if (fabs(delta) > DBL_EPSILON) { printf("exp %llu, got %llu: delta = %.0f\n", (long long int) exp, (long long int) act, delta); return 1; } else return 0; } From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 17:16: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 675021065686 for ; Tue, 14 Oct 2008 17:16:27 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp102.prem.mail.ac4.yahoo.com (smtp102.prem.mail.ac4.yahoo.com [76.13.13.41]) by mx1.freebsd.org (Postfix) with SMTP id 0072E8FC13 for ; Tue, 14 Oct 2008 17:16:26 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: (qmail 60178 invoked from network); 14 Oct 2008 17:16:26 -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=GXjxbqi1tQLvIi4OMjeniIndlk0VAiRY5Bnln6pZXuTUoQH7gvXneje0Oi7el72Q+v4s04ipk1JHtd/ZlZ44+IeOkywZkIk4zjhDoWKpXyivzcS9Ux4cb5fvz9x59mn+3y01S5qfSy71E+z/qvIA+vUuLQsg7i6x5KrGyN333jA= ; Received: from unknown (HELO scorpio) (gesbbb@67.189.233.182 with login) by smtp102.prem.mail.ac4.yahoo.com with SMTP; 14 Oct 2008 17:16:26 -0000 X-YMail-OSG: wqsJ2NYVM1m0zSuG1BGxGCKvBUxkD2kIYvE4_y9OL.88oBg_y58Pc.de88A7jQ90iGxp9xdmQW0UTkyPu.ile0c45EttP9awqou8G268L3fTCx_9jm4BPmw1POH3PQoFOaqOCHYSETdTfbPp_MZ.rqOknJqrL23a.z4aGqceiN2.vBPSZ0XogaSvEg-- X-Yahoo-Newman-Property: ymail-3 Date: Tue, 14 Oct 2008 13:16:14 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20081014131614.2682806d@scorpio> In-Reply-To: <20081014171836.51bb751f@yokozuna.lan> References: <20081014140807.18783ca9@yokozuna.lan> <178866.83318.qm@web56805.mail.re3.yahoo.com> <20081014171836.51bb751f@yokozuna.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_/x8wftyI6++RFwdm4wmXcAgx"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Re: Problems with portupgrade or db 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, 14 Oct 2008 17:16:27 -0000 --Sig_/x8wftyI6++RFwdm4wmXcAgx Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, 14 Oct 2008 17:18:36 +0200 Marco Beishuizen wrote: >The package is already present in /usr/ports/distfiles/bdb and when I >download it manually I get the error above. No guarantee that this will work; however, at this point you have nothing to lose. 1) Empty the '/usr/ports/distfiles' directory 2) Run 'make clean' in /usr/ports/databases/db42 3) Run 'portsclean -CLPP' 4) Update your ports tree. Use whatever method works for you. 5) Run 'make install' and see what transpires. --=20 Jerry gesbbb@yahoo.com I'd like to meet the guy who invented beer and see what he's working on now. --Sig_/x8wftyI6++RFwdm4wmXcAgx Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkj00+cACgkQBvaKIJWWCO0VqACfbN6a2CsBs77PgtvC8YpBrWIB 8M0AnitZD2HE/6B7UQCYz/gQ7dMd+Ea/ =8pR5 -----END PGP SIGNATURE----- --Sig_/x8wftyI6++RFwdm4wmXcAgx-- From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 17:29: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 317771065686 for ; Tue, 14 Oct 2008 17:29:20 +0000 (UTC) (envelope-from nejc@skoberne.net) Received: from mail.tnode.com (common.tnode.com [91.185.203.243]) by mx1.freebsd.org (Postfix) with ESMTP id E15708FC1D for ; Tue, 14 Oct 2008 17:29:19 +0000 (UTC) (envelope-from nejc@skoberne.net) Received: from localhost (mail.jail [10.1.1.10]) by mail.tnode.com (Postfix) with ESMTP id 25D1C21FDA02 for ; Tue, 14 Oct 2008 19:29:17 +0200 (CEST) Received: from mail.tnode.com ([10.1.1.10]) by localhost (mail.tnode.com [10.1.1.10]) (amavisd-maia, port 10024) with ESMTP id 47609-08 for ; Tue, 14 Oct 2008 19:29:16 +0200 (CEST) Received: from [192.168.15.2] (lk.84.20.249.154.dc.cable.static.lj-kabel.net [84.20.249.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: nejc@skoberne.net) by mail.tnode.com (Postfix) with ESMTPSA id 618AF21FC1FF for ; Tue, 14 Oct 2008 19:29:16 +0200 (CEST) Message-ID: <48F4D6EB.8090309@skoberne.net> Date: Tue, 14 Oct 2008 19:29:15 +0200 From: Nejc Skoberne User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: User Questions X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard Subject: FreeBSD reference installations? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 17:29:20 -0000 Hello, is there any list of FreeBSD reference installations? Like a list of big companies that use FreeBSD as their core servers? Thanks, Nejc From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 17:50: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 DE8251065694 for ; Tue, 14 Oct 2008 17:50:43 +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 883F48FC15 for ; Tue, 14 Oct 2008 17:50:43 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA07.westchester.pa.mail.comcast.net ([76.96.62.59]) by QMTA05.westchester.pa.mail.comcast.net with comcast id SeNo1a00G1GhbT855hqh2W; Tue, 14 Oct 2008 17:50:41 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA07.westchester.pa.mail.comcast.net with comcast id Shqg1a0102P6wsM3ThqhEE; Tue, 14 Oct 2008 17:50:41 +0000 X-Authority-Analysis: v=1.0 c=1 a=S5iuWK_3y7sA:10 a=5rt6Gh4ksEQA:10 a=QycZ5dHgAAAA:8 a=Hb1FYczW7H1HTDHhqSMA:9 a=DNWicZZujsNWur5eyWYgeWx-j0EA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id BEDF2C9419; Tue, 14 Oct 2008 10:50:40 -0700 (PDT) Date: Tue, 14 Oct 2008 10:50:40 -0700 From: Jeremy Chadwick To: "Mark B." Message-ID: <20081014175040.GA55591@icarus.home.lan> References: <59f4cb420810140943r113f1494la477606c004833ca@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <59f4cb420810140943r113f1494la477606c004833ca@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: mktime() output not the same as the date utility X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 17:50:43 -0000 On Tue, Oct 14, 2008 at 12:43:54PM -0400, Mark B. wrote: > I can't figure out from the man pages why > mktime() is giving a different result than date -f. > Both strptime and mktime are supposed to use the > local timezone, as does date. > > The output of date is correct; mktime() is an hour later. > > What am I missing here? I'm betting it's due to DST I believe you have to do the math yourself if tm_isdst is non-zero. Otherwise, consider using functions like ctime() and others (which are also POSIX compliant). -- | 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 14 18:05: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 49DF61065699 for ; Tue, 14 Oct 2008 18:05:25 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: from web51105.mail.re2.yahoo.com (web51105.mail.re2.yahoo.com [206.190.38.147]) by mx1.freebsd.org (Postfix) with SMTP id E313D8FC12 for ; Tue, 14 Oct 2008 18:05:24 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: (qmail 32670 invoked by uid 60001); 14 Oct 2008 18:05:24 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=vEniStecSjao2jKp3iqfyGU/NADgGHf5mJOo+ddJiD+XrSY88sPCy6J23WvtGgKB1Uepwj5ZcbNMDQYY/PxMpnIzVJSjOy64azWz0Rp53j1lypN8ZbASddPiSVAJpecB5CbuAnIeTGkyjUBf5V8X1wIfwfwyxCLGZRZZaXxPppM=; X-YMail-OSG: UzkQsMwVM1mHG8RUM.5BztRV5nZnvgEr88V9Ie2zL9Zv5JDXPdG8RKj7ua8ihfGRZP.WSFPEbY7SHXKbr6IXTablgUcaMgPW03p76Rj97BicVcqOO5Y8ZjT7v6fsaz.w2RCHbdwHjX7mwuPQTRo9QlF1VKgIXFA_GxhXc6LbbLxlKxvAE0LSXP7VmK4- Received: from [82.136.213.253] by web51105.mail.re2.yahoo.com via HTTP; Tue, 14 Oct 2008 11:05:24 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Tue, 14 Oct 2008 11:05:24 -0700 (PDT) From: Dino Vliet To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <175919.31899.qm@web51105.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 Subject: usb keeps disconnecting on Freebsd 6.3 amd box 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: Tue, 14 Oct 2008 18:05:25 -0000 Hi peeps, On my AMD64 box running freebsd 6.3 I have a lot of trouble with my usb por= ts lately. I have attached a samsung ml-1610 printer to one usb port, but I= do experience the same when I plug in a usb stick (kingston data traveller= ). Take a look at what dmesg says: module_register_init: MOD_LOAD (logo_saver, 0xffffffffb4ecf3d0, 0) error 19 ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline ulpt0: offline umass0: Kingston DataTraveler 2.0, rev 2.00/1.10, addr 4 umass0: at uhub0 port 2 (addr 4) disconnected umass0: detached umass0: Kingston DataTraveler 2.0, rev 2.00/1.10, addr 4 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device= =20 da0: 1.000MB/s transfers da0: 1968MB (4030464 512 byte sectors: 255H 63S/T 250C) umass0: at uhub0 port 2 (addr 4) disconnected (da0:umass-sim0:0:0:0): lost device (da0:umass-sim0:0:0:0): removing device entry umass0: detached Fact is, both periphals were never removed out of the usb connectors. This = means I sometimes can print and sometimes not. Then when I reboot, all of a= sudden al my "forgotten" print commands do get executed. I don't know what= happened with the usb support on freebsd but I know it got worse. A year a= go I could use the usb stick without any problem. 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 In MYKERNEL the us part shows: # USB support device=A0=A0=A0=A0=A0=A0=A0=A0=A0 uhci=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 # U= HCI PCI->USB interface device=A0=A0=A0=A0=A0=A0=A0=A0=A0 ohci=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 # O= HCI PCI->USB interface #device=A0=A0=A0=A0=A0=A0=A0=A0 ehci=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 # EHC= I PCI->USB interface (USB 2.0) device=A0=A0=A0=A0=A0=A0=A0=A0=A0 usb=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 #= USB Bus (required) device=A0=A0=A0=A0=A0=A0=A0=A0=A0 udbp=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 # U= SB Double Bulk Pipe devices device=A0=A0=A0=A0=A0=A0=A0=A0=A0 ugen=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 # G= eneric device=A0=A0=A0=A0=A0=A0=A0=A0=A0 uhid=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 # "= Human Interface Devices" device=A0=A0=A0=A0=A0=A0=A0=A0=A0 ukbd=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 # K= eyboard device=A0=A0=A0=A0=A0=A0=A0=A0=A0 ulpt=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 # P= rinter device=A0=A0=A0=A0=A0=A0=A0=A0=A0 umass=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 # Dis= ks/Mass storage - Requires scbus and da device=A0=A0=A0=A0=A0=A0=A0=A0=A0 ums=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 #= Mouse #device=A0=A0=A0=A0=A0=A0=A0=A0 ural=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 # Ral= ink Technology RT2500USB wireless NICs #device=A0=A0=A0=A0=A0=A0=A0=A0 urio=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 # Dia= mond Rio 500 MP3 player #device=A0=A0=A0=A0=A0=A0=A0=A0 uscanner=A0=A0=A0=A0=A0=A0=A0 # Scanners What seems to be the problem here? What can I do to solve it? Thanks in advanced, Dino =0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 18:16: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 35366106569D for ; Tue, 14 Oct 2008 18:16:36 +0000 (UTC) (envelope-from stupendoussteve@hotmail.com) Received: from bay0-omc1-s19.bay0.hotmail.com (bay0-omc1-s19.bay0.hotmail.com [65.54.246.91]) by mx1.freebsd.org (Postfix) with ESMTP id 1FBC38FC22 for ; Tue, 14 Oct 2008 18:16:36 +0000 (UTC) (envelope-from stupendoussteve@hotmail.com) Received: from hotmail.com ([207.46.10.248]) by bay0-omc1-s19.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 14 Oct 2008 11:16:35 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 14 Oct 2008 11:16:35 -0700 Message-ID: Received: from 207.46.10.254 by by122fd.bay122.hotmail.msn.com with HTTP; Tue, 14 Oct 2008 18:16:34 GMT X-Originating-IP: [68.225.143.90] X-Originating-Email: [stupendoussteve@hotmail.com] X-Sender: stupendoussteve@hotmail.com From: "Steven Susbauer" Cc: freebsd-questions@freebsd.org Date: Tue, 14 Oct 2008 13:16:34 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 14 Oct 2008 18:16:35.0350 (UTC) FILETIME=[FE1AAB60:01C92E28] Subject: Re: FreeBSD reference installations? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 18:16:36 -0000 Nejc Skoberne wrote: >Hello, > >is there any list of FreeBSD reference installations? Like a list of big >companies >that use FreeBSD as their core servers? > >Thanks, >Nejc >_______________________________________________ You may have some luck looking around and/or contacting the FreeBSD Advocacy Project - http://www.freebsd.org/advocacy/ They also have their own mailing list. Regards. From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 18:28: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 18DAC1065687 for ; Tue, 14 Oct 2008 18:28:13 +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 B84E48FC0A for ; Tue, 14 Oct 2008 18:28:12 +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 27AA7700008D for ; Tue, 14 Oct 2008 20:28:11 +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 E80507000089 for ; Tue, 14 Oct 2008 20:28:10 +0200 (CEST) X-ME-UUID: 20081014182810950.E80507000089@mwinf6002.online.nl From: Aniruddha To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Tue, 14 Oct 2008 20:28:13 +0200 Message-Id: <1224008893.4098.6.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Subject: Can't login as root after changing the shell to bash X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 18:28:13 -0000 I tried to change the root's shell to bash. I used this command: 'chsh -s /usr/local/bin/bash'. Prior to changing the shell for root I did it for my user account using the same command without problems. Unfortunately after a reboot I can't login as root anymore because my system can't find /usr/local/bin/bash. How can I fix this? I tried booting the freesbie cd but this wouldn't boot :(. Thanks in advance! -- Regards, Aniruddha From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 18:31: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 9E6821065686 for ; Tue, 14 Oct 2008 18:31:30 +0000 (UTC) (envelope-from xuchen66@gmail.com) Received: from mail-gx0-f16.google.com (mail-gx0-f16.google.com [209.85.217.16]) by mx1.freebsd.org (Postfix) with ESMTP id 3F5A68FC20 for ; Tue, 14 Oct 2008 18:31:30 +0000 (UTC) (envelope-from xuchen66@gmail.com) Received: by gxk9 with SMTP id 9so4740053gxk.19 for ; Tue, 14 Oct 2008 11:31: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:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=+OZGAAJMVBWcKk1JQYMXpK6YumFdCiOegJnz/OnkwGc=; b=Buvp25lTlNfC7S7hesOwtOZUZOLp/43Cj4SvhwrCKLQD8zMSLLrNTUDch5jd55fm+w 6vVfijsW6p9thUZmtptxMrasAqeDGuhcTsqjDzcYzIpycKlLTFTbTRY5TzqJSpWsy3UZ X54EtzpLPp5Ln9qmZCU2ivFxGYwNbpc9asiMU= 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=T0kesf1J1zv4hwDQGQWrvNMaU7EzTBkD44akTFs2c3qrTswAWUgnhn53k0Er3Z1/JA 3HR0Rat/8MriszaTVJt3qYfKpsuGB2m7oS4/wIx6bvYRduCWRbY/1PFQVRypLqAumWJ3 QkIOH2KYk3vwZcAZbEik2W7q9mL575q3szMtY= Received: by 10.142.166.1 with SMTP id o1mr3564941wfe.345.1224007544752; Tue, 14 Oct 2008 11:05:44 -0700 (PDT) Received: by 10.90.84.4 with HTTP; Tue, 14 Oct 2008 11:05:44 -0700 (PDT) Message-ID: <184b087c0810141105o657af770l5d0535c19fab059d@mail.gmail.com> Date: Tue, 14 Oct 2008 14:05:44 -0400 From: "Chen Xu" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: no access to web server behind ipfw X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 18:31:30 -0000 Dear All, I think I need help from the group. The situation is kind of simple, but I can not get it work for me. I wanted to access to a web server behind of firewall/gateway 191.168.1.1 (firewall/gateway/natd) 192.168.1.10 (internal web server) 191.168.1.1 has these info. ========= FreeBSD 5.3-RELEASE-p26 Kernel complied with following lines: ---- options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=5 options IPDIVERT rc.conf has those lines: ----- # Add stuff for firewall - ipfw firewall_enable="YES" firewall_type="OPEN" firewall_script="/etc/ipfw.rules" firewall_logging="YES" gateway_enable="YES" # Enable natd. natd_enable="YES" natd_interface="fxp0" #natd_flags="-dynamic -m" # preserve port numbers if possible natd_flags="-f /etc/natd.conf" # preserve port numbers if possible /etc/natd.conf ---- port 8668 interface fxp0 redirect_port tcp 192.168.1.10:80 80 /etc/ipfw.rules ---- #!/bin/sh ipfw -q -f flush cmd="ipfw -q add" skip="skipto 500" pif=fxp0 ks="keep-state" good_tcpo="22" ipfw -q -f flush $cmd 002 allow all from any to any via em0 # exclude LAN traffic $cmd 003 allow all from any to any via lo0 # exclude loopback traffic $cmd 100 divert natd ip from any to any in via $pif $cmd 101 check-state # Authorized outbound packets $cmd 120 $skip udp from any to x.x.x.11 53 out via $pif $ks $cmd 121 $skip udp from any to x.x.x.12 53 out via $pif $ks ## --> block only one PC running windows (192.168.1.2) $cmd 123 deny tcp from 192.168.1.2 to any 80 out via $pif $cmd 124 $skip tcp from any to any 80 out via $pif setup $ks # $cmd 129 $skip tcp from any to any $good_tcpo out via $pif setup $ks $cmd 130 $skip icmp from any to any out via $pif $ks $cmd 135 $skip udp from any to any 123 out via $pif $ks # root can do cvsup etc. like a GOD $cmd 140 allow tcp from me to any out via $pif $ks uid root # Deny all inbound traffic from non-routable reserved address spaces $cmd 300 deny all from 192.168.0.0/16 to any in via $pif #RFC 1918 private IP $cmd 301 deny all from 172.16.0.0/12 to any in via $pif #RFC 1918 private IP $cmd 302 deny all from 10.0.0.0/8 to any in via $pif #RFC 1918 private IP $cmd 303 deny all from 127.0.0.0/8 to any in via $pif #loopback $cmd 304 deny all from 0.0.0.0/8 to any in via $pif #loopback $cmd 305 deny all from 169.254.0.0/16 to any in via $pif #DHCP auto-config $cmd 306 deny all from 192.0.2.0/24 to any in via $pif #reserved for docs $cmd 307 deny all from 204.152.64.0/23 to any in via $pif #Sun cluster $cmd 308 deny all from 224.0.0.0/3 to any in via $pif #Class D & E multicast # Authorized inbound packets $cmd 421 allow tcp from any to 192.168.1.10 80 in via $pif setup limit src-addr 5 $cmd 450 deny log ip from any to any # This is skipto location for outbound stateful rules $cmd 500 divert natd ip from any to any out via $pif $cmd 510 allow ip from any to any ######################## end of rules ################## apparently rule 421 is not enough to access the webserver 192.168.1.10 at port 80. I need help here. Thanks, Chen From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 18:37: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 B25421065677 for ; Tue, 14 Oct 2008 18:37:33 +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 5CEEB8FC19 for ; Tue, 14 Oct 2008 18:37:32 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA10.westchester.pa.mail.comcast.net ([76.96.62.28]) by QMTA07.westchester.pa.mail.comcast.net with comcast id SdNj1a0010cZkys57idWpd; Tue, 14 Oct 2008 18:37:30 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA10.westchester.pa.mail.comcast.net with comcast id SidX1a0032P6wsM3WidXvy; Tue, 14 Oct 2008 18:37:32 +0000 X-Authority-Analysis: v=1.0 c=1 a=7lCzBEX54HsA:10 a=KXN5eeLtC6cA:10 a=QycZ5dHgAAAA:8 a=5f7rIAyMYJ2fhovbX10A:9 a=KOoaQDF4aZHbQW50nYIA:7 a=OXpxaoFd4BtKIUnZzlkYDrNOBTgA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id C75FBC9419; Tue, 14 Oct 2008 11:37:30 -0700 (PDT) Date: Tue, 14 Oct 2008 11:37:30 -0700 From: Jeremy Chadwick To: Aniruddha Message-ID: <20081014183730.GA56634@icarus.home.lan> References: <1224008893.4098.6.camel@debian> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1224008893.4098.6.camel@debian> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Can't login as root after changing the shell to bash X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 18:37:33 -0000 On Tue, Oct 14, 2008 at 08:28:13PM +0200, Aniruddha wrote: > I tried to change the root's shell to bash. I used this command: 'chsh > -s /usr/local/bin/bash'. Prior to changing the shell for root I did it > for my user account using the same command without problems. > Unfortunately after a reboot I can't login as root anymore because my > system can't find /usr/local/bin/bash. I can't explain why your systems says it can't find /usr/local/bin/bash. I would assume you also cannot log in as yourself. You should not change root's shell. I believe this has been discussed many times in the past on lists -- you should use tools like sudo or su2 to change UIDs. Both of those tools will allow you to take on root credentials while using the shell of your user account (bash). > How can I fix this? I tried booting the freesbie cd but this > wouldn't boot :(. Thanks in advance! You'll need to boot your machine and at the FreeBSD boot menu, choose option 4 for single-user mode. You'll eventually be dropped into a simple /bin/sh prompt. You'll need to do "mount -a", then use "vipw" to edit all of the fields in /etc/master.passwd -- specifically, change root's shell back to /bin/csh. Write the file, exit vipw, and reboot the system. You should be up and working after 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 Tue Oct 14 18:40: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 A32CC1065692; Tue, 14 Oct 2008 18:40:05 +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 1EE6B8FC1B; Tue, 14 Oct 2008 18:40:05 +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 m9EIdUh3025092; Tue, 14 Oct 2008 14:39:48 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: scuba@centroin.com.br Date: Tue, 14 Oct 2008 13:15:17 -0400 User-Agent: KMail/1.9.7 References: <20080909154356.D66065@trex.centroin.com.br> <20081014061159.GA41939@icarus.home.lan> <20081014091431.A49137@trex.centroin.com.br> In-Reply-To: <20081014091431.A49137@trex.centroin.com.br> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810141315.18229.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Tue, 14 Oct 2008 14:39:49 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/8424/Tue Oct 14 12:10:56 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: Jeremy Chadwick , freebsd-questions@freebsd.org, Todor Genov Subject: Re: FreeBSD 7 and ESXi X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 18:40:05 -0000 On Tuesday 14 October 2008 08:20:22 am scuba@centroin.com.br wrote: > Jeremy, > > On Mon, 13 Oct 2008, Jeremy Chadwick wrote: > > |On Tue, Oct 14, 2008 at 02:44:13AM -0300, scuba@centroin.com.br wrote: > |> On Mon, 13 Oct 2008, Jeremy Chadwick wrote: > |> > |> |On Tue, Oct 14, 2008 at 02:04:07AM -0300, scuba@centroin.com.br wrote: > |> |> Jeremy, > |> |> > |> |> On Mon, 13 Oct 2008, Jeremy Chadwick wrote: > |> |> > |> |> |On Tue, Oct 14, 2008 at 12:54:26AM -0300, scuba@centroin.com.br wrote: > |> |> |> I'm facing some problems trying to install a FreeBSD > |> |> |> 7.0-RELEASE-amd64, on a Dell PE 2950III, dual Xeon Quad core, 8GB RAM. > |> |> |> After (FBSD) boot menu count down, it shows a dump of the CPU > |> |> |> registers and a message: BTX Halted. No matter what is changed in VM > |> |> |> setup. > |> |> | > |> |> |Can you please download the 7.1-BETA2 ISO and try it instead? There > |> |> |have been changes to the FreeBSD boot loader between 7.0-RELEASE and > |> |> |7.1-BETA2 which may improve things for you. The 7.1-BETA2 ISOs are > |> |> |available here: > |> |> > |> |> The same behavior with 7.1-BETA2. > |> | > |> |I'm not sure what to do at this point, or what to tell you, since the > |> |kernel can't even load. > |> | > |> |Are you installing this off of CD, and is the CD drive hooked up to > |> |the PC via ATA/SATA (rather than USB or something else)? > |> > |> It's a bit more complicated, since, for some reason the Vmware > |> client is unable to boot the VM from CD on the host server. It's > |> booting an ISO image on the client machine. > |> I already read something saying that it's a known issue of the > |> ESXi. > |> Without the virtulization layer, the amd64 CD boots without > |> problems in this machine. > | > |Ah, so the truth comes out... :-) > | > |Have you brought this fact up with the VMware folks? They're quite a > |nice bunch, I wouldn't be surprised if they provided a hotfix for you > |for this problem. > > This will be my next step. > I sent here first, once it's a boot loader problem, specific to > 64bits version of Fbsd. I thought someone could faced the same and came > with a howto to workaround. > > Thank you anyway. :-) It sounds like vmware is not emulating 64-bit CPUs, but only 32-bit CPUs. -- John Baldwin From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 18:46: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 930AD106568B for ; Tue, 14 Oct 2008 18:46:24 +0000 (UTC) (envelope-from mkbucc@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by mx1.freebsd.org (Postfix) with ESMTP id 4C6638FC0A for ; Tue, 14 Oct 2008 18:46:24 +0000 (UTC) (envelope-from mkbucc@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so561041ywe.13 for ; Tue, 14 Oct 2008 11:46:23 -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=O8fejC71F55PsPHFpFg/fp+KzMz/+cUHVEoCIUoOT5M=; b=pmbS8gX3XIks+bGt+eIadWySpxL8LaoZrfOmfwoRJL9I7y9nKl3s+MtgOA10t14GDe fDMqPszw37Xa4GmuR2cUCPxKb2H7Z266lPO8XXL8dmtbRyassNzkYZYagspojd6nVlKx yzQpK3yUtGzJGw/K6SqJvyzB0P4uGmLhGtTU4= 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=cF0kyju4XoOQ6LHcws6Ul0BREB4n177HRtPGai1sO9+U05ZoZrV1pPkThncn5Pe71W A19yCBXkrqErUGQO381z4vr+Z7RmwXakz9S5KtFKa9+6mfiXUWdnEFmnDYwdmQ2Okeaj X5tfHKOiOGenBANnz/0b0B6VfTWqNXhwCxfYA= Received: by 10.142.226.2 with SMTP id y2mr20333wfg.80.1224009983114; Tue, 14 Oct 2008 11:46:23 -0700 (PDT) Received: by 10.142.147.14 with HTTP; Tue, 14 Oct 2008 11:46:23 -0700 (PDT) Message-ID: <59f4cb420810141146r53c7527i8becf67ece89ab95@mail.gmail.com> Date: Tue, 14 Oct 2008 14:46:23 -0400 From: "Mark B." To: "Jeremy Chadwick" In-Reply-To: <20081014175040.GA55591@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <59f4cb420810140943r113f1494la477606c004833ca@mail.gmail.com> <20081014175040.GA55591@icarus.home.lan> Cc: freebsd-questions@freebsd.org Subject: Re: mktime() output not the same as the date utility X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 18:46:24 -0000 On Tue, Oct 14, 2008 at 1:50 PM, Jeremy Chadwick wrote: > On Tue, Oct 14, 2008 at 12:43:54PM -0400, Mark B. wrote: >> I can't figure out from the man pages why >> mktime() is giving a different result than date -f. >> Both strptime and mktime are supposed to use the >> local timezone, as does date. >> >> The output of date is correct; mktime() is an hour later. >> >> What am I missing here? > > I'm betting it's due to DST > Yes, set tm_isdst to -1 before calling mktime() and then my test program works as expected. Thanks, m From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 19:17: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 90B42106569E for ; Tue, 14 Oct 2008 19:17:38 +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 4C6168FC15 for ; Tue, 14 Oct 2008 19:17:37 +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 E02847000087; Tue, 14 Oct 2008 21:17:35 +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 ABFF07000085; Tue, 14 Oct 2008 21:17:35 +0200 (CEST) X-ME-UUID: 20081014191735704.ABFF07000085@mwinf6304.online.nl From: Aniruddha To: freebsd-questions@freebsd.org In-Reply-To: <20081014183730.GA56634@icarus.home.lan> References: <1224008893.4098.6.camel@debian> <20081014183730.GA56634@icarus.home.lan> Content-Type: text/plain Date: Tue, 14 Oct 2008 21:17:38 +0200 Message-Id: <1224011858.4032.1.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Cc: Jeremy Chadwick Subject: Re: Can't login as root after changing the shell to bash X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 19:17:38 -0000 On Tue, 2008-10-14 at 11:37 -0700, Jeremy Chadwick wrote: > On Tue, Oct 14, 2008 at 08:28:13PM +0200, Aniruddha wrote: > > I tried to change the root's shell to bash. I used this command: 'chsh > > -s /usr/local/bin/bash'. Prior to changing the shell for root I did it > > for my user account using the same command without problems. > > Unfortunately after a reboot I can't login as root anymore because my > > system can't find /usr/local/bin/bash. > > I can't explain why your systems says it can't find /usr/local/bin/bash. > I would assume you also cannot log in as yourself. Thanks for your help! I changed the default shell back to /bin/csh but I still can't login as root?! I get the same message (can't find /bin/csh). -- Regards, Aniruddha From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 19:22: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 E782C1065698 for ; Tue, 14 Oct 2008 19:22:44 +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 623EB8FC08 for ; Tue, 14 Oct 2008 19:22:44 +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 m9EJKORL009064; Tue, 14 Oct 2008 15:20:24 -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 m9EJKOej009063; Tue, 14 Oct 2008 15:20:24 -0400 (EDT) (envelope-from jerrymc) Date: Tue, 14 Oct 2008 15:20:24 -0400 From: Jerry McAllister To: Aniruddha Message-ID: <20081014192024.GA8930@gizmo.acns.msu.edu> References: <1224008893.4098.6.camel@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1224008893.4098.6.camel@debian> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Can't login as root after changing the shell to bash X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 19:22:45 -0000 On Tue, Oct 14, 2008 at 08:28:13PM +0200, Aniruddha wrote: > I tried to change the root's shell to bash. I used this command: 'chsh > -s /usr/local/bin/bash'. Prior to changing the shell for root I did it > for my user account using the same command without problems. > Unfortunately after a reboot I can't login as root anymore because my > system can't find /usr/local/bin/bash. How can I fix this? I tried > booting the freesbie cd but this wouldn't boot :(. Thanks in advance! Sounds like /usr/local/bin is either not in the path for root or that the /usr or /usr/local file system is not mounted - which would be true in a single user boot. You should never change root's shell. It is doable if you move some files around, but it is too likely that you will come up with a situation like this where the alternate shell is not available. You can try coming up in 'single user' mode. Older systems required you to hit the space bar within the countdown. Newer ones require you to select the right option from a menu. I think it is '4' but don't want to reboot at the minute to check. It will ask you which shell you want. Just take the default (eg hit ENTER). Then remount / by doing: mount -u / Then edit /etc/passwd using the vipw(8) utility - just type: vipw It is just like using vi. Change your shell back to /bin/csh The shell is the last field in the line for the root account. Then, either reboot or just exit the single user mode and come up in full boot. If you absolutely must degenerate to using bash on a root account, create another root acount. Just go in to vipw and copy the root account line and replace the fields needed - namely the id, the name stuff, the login directory and the shell field. Of course, do not change the original root line. Suggestion, for example, if your usual account might be clyde, then make a root account called Rclyde. Make a home directory of /root/Rclyde. Don't forget to go and create that directory. It you can live without making that alternate root account, it is better to log in with your non-root account and then su(1) to get to root. Don't forget to add your non-root account to the 'wheel' group. Edit the /etc/group file. This is safer than logging in over the net directly to a root account because you can make sure your transmissions are encripted before going in to root. ////jerry > -- > Regards, > > Aniruddha > _______________________________________________ > freebsd-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 14 19:24: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 BF5B5106569E; Tue, 14 Oct 2008 19:24: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 738698FC1F; Tue, 14 Oct 2008 19:24:28 +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 m9EJM8KM009102; Tue, 14 Oct 2008 15:22: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 m9EJM8I6009101; Tue, 14 Oct 2008 15:22:08 -0400 (EDT) (envelope-from jerrymc) Date: Tue, 14 Oct 2008 15:22:08 -0400 From: Jerry McAllister To: Aniruddha Message-ID: <20081014192208.GB8930@gizmo.acns.msu.edu> References: <1224008893.4098.6.camel@debian> <20081014183730.GA56634@icarus.home.lan> <1224011858.4032.1.camel@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1224011858.4032.1.camel@debian> User-Agent: Mutt/1.4.2.2i Cc: Jeremy Chadwick , freebsd-questions@freebsd.org Subject: Re: Can't login as root after changing the shell to bash X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 19:24:28 -0000 On Tue, Oct 14, 2008 at 09:17:38PM +0200, Aniruddha wrote: > On Tue, 2008-10-14 at 11:37 -0700, Jeremy Chadwick wrote: > > On Tue, Oct 14, 2008 at 08:28:13PM +0200, Aniruddha wrote: > > > I tried to change the root's shell to bash. I used this command: 'chsh > > > -s /usr/local/bin/bash'. Prior to changing the shell for root I did it > > > for my user account using the same command without problems. > > > Unfortunately after a reboot I can't login as root anymore because my > > > system can't find /usr/local/bin/bash. > > > > I can't explain why your systems says it can't find /usr/local/bin/bash. > > I would assume you also cannot log in as yourself. > > Thanks for your help! I changed the default shell back to /bin/csh but I > still can't login as root?! I get the same message (can't > find /bin/csh). Your path is most likely screwed up. Probably it never got set correctly. Can you reboot? ////jerry > > -- > Regards, > > Aniruddha > > _______________________________________________ > freebsd-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 14 19:27: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 0740C1065686 for ; Tue, 14 Oct 2008 19:27:30 +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 E00B28FC18 for ; Tue, 14 Oct 2008 19:27:29 +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 SgNs1a00D0vp7WLA8jTVcU; Tue, 14 Oct 2008 19:27:29 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA05.emeryville.ca.mail.comcast.net with comcast id SjTU1a0052P6wsM8RjTUDv; Tue, 14 Oct 2008 19:27:29 +0000 X-Authority-Analysis: v=1.0 c=1 a=7lCzBEX54HsA:10 a=KXN5eeLtC6cA:10 a=QycZ5dHgAAAA:8 a=C_RrJhjpk0EbEtyXpoYA:9 a=pYSPWVH-_1KYKtiDip0A:7 a=GP96mpKECTEqXU1YiW9E9OANY2IA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id F2BD0C9419; Tue, 14 Oct 2008 12:27:27 -0700 (PDT) Date: Tue, 14 Oct 2008 12:27:27 -0700 From: Jeremy Chadwick To: Aniruddha Message-ID: <20081014192727.GA57756@icarus.home.lan> References: <1224008893.4098.6.camel@debian> <20081014183730.GA56634@icarus.home.lan> <1224011858.4032.1.camel@debian> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1224011858.4032.1.camel@debian> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Can't login as root after changing the shell to bash X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 19:27:30 -0000 On Tue, Oct 14, 2008 at 09:17:38PM +0200, Aniruddha wrote: > On Tue, 2008-10-14 at 11:37 -0700, Jeremy Chadwick wrote: > > On Tue, Oct 14, 2008 at 08:28:13PM +0200, Aniruddha wrote: > > > I tried to change the root's shell to bash. I used this command: 'chsh > > > -s /usr/local/bin/bash'. Prior to changing the shell for root I did it > > > for my user account using the same command without problems. > > > Unfortunately after a reboot I can't login as root anymore because my > > > system can't find /usr/local/bin/bash. > > > > I can't explain why your systems says it can't find /usr/local/bin/bash. > > I would assume you also cannot log in as yourself. > > Thanks for your help! I changed the default shell back to /bin/csh but I > still can't login as root?! I get the same message (can't > find /bin/csh). I can't explain this. Possibly there's a permissions or ownership problem on the / directory (ls -ld / will show you that)? I've no idea; sounds odd. -- | 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 14 18:46: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 0256F1065689 for ; Tue, 14 Oct 2008 18:46:44 +0000 (UTC) (envelope-from laszlo_danielisz@yahoo.com) Received: from web30804.mail.mud.yahoo.com (web30804.mail.mud.yahoo.com [68.142.200.147]) by mx1.freebsd.org (Postfix) with SMTP id A00DD8FC19 for ; Tue, 14 Oct 2008 18:46:43 +0000 (UTC) (envelope-from laszlo_danielisz@yahoo.com) Received: (qmail 21065 invoked by uid 60001); 14 Oct 2008 18:46:43 -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=KCHsThaTfl7MeR7b66+KV+DT6P7RR++eeHHd0ZymKTue88lJV7isN+Z5mkRPKLQ10oYA8W3Tsyykij85ynXNWa7dmDLARI0DFOEra89oUL+/YLQ4TL8DC1pKJAew4xV36B81UkdnIZpuGnL/KLECNM3WM1T5DpSAMltWXr89pUM=; X-YMail-OSG: 7uSTC.IVM1nbmtdC3XEpzVAC.TlxyoKap2iE_iG6kuLIP9TxU6Ec.5xrceOSFh_3.lX9pfeJeB7KurSN1jQfmGFlqeWpFEAAeac_ED8h5.7IJ41xLHGBQC9HihcIHegmhV.EvhI5jI1rqwQ9hc..h07GtQWqcPzYN7FlAYwS Received: from [86.101.155.31] by web30804.mail.mud.yahoo.com via HTTP; Tue, 14 Oct 2008 11:46:43 PDT X-Mailer: YahooMailRC/1096.40 YahooMailWebService/0.7.218.2 Date: Tue, 14 Oct 2008 11:46:43 -0700 (PDT) From: =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <83760.20361.qm@web30804.mail.mud.yahoo.com> X-Mailman-Approved-At: Tue, 14 Oct 2008 19:28:05 +0000 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: brasero X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 18:46:44 -0000 hello!=0A=0AI just installed Brasero and because a strange reason I can not= select any dvd writer drive, I included device atapicam to my ker= nel? =0A=0ADo you have any idea what can I try?=0A=0A=0ALaci=0A=0A=0A=0A = From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 19:29: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 CC025106569F for ; Tue, 14 Oct 2008 19:29:52 +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 AFEEF8FC15 for ; Tue, 14 Oct 2008 19:29:52 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA12.emeryville.ca.mail.comcast.net ([76.96.30.44]) by QMTA04.emeryville.ca.mail.comcast.net with comcast id SfjG1a01R0x6nqcA4jVs4o; Tue, 14 Oct 2008 19:29:52 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA12.emeryville.ca.mail.comcast.net with comcast id SjVn1a00T2P6wsM8YjVoXL; Tue, 14 Oct 2008 19:29:48 +0000 X-Authority-Analysis: v=1.0 c=1 a=7lCzBEX54HsA:10 a=KXN5eeLtC6cA:10 a=QycZ5dHgAAAA:8 a=xDTCEXG8got4WjPBg_wA:9 a=4taihVUYUL7uWX_1aGAA:7 a=IZhWZVJn0-Rgxxtazs2jtzPDcb0A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id BCDB9C9419; Tue, 14 Oct 2008 12:29:47 -0700 (PDT) Date: Tue, 14 Oct 2008 12:29:47 -0700 From: Jeremy Chadwick To: Jerry McAllister Message-ID: <20081014192947.GB57756@icarus.home.lan> References: <1224008893.4098.6.camel@debian> <20081014192024.GA8930@gizmo.acns.msu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081014192024.GA8930@gizmo.acns.msu.edu> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Aniruddha , freebsd-questions@freebsd.org Subject: Re: Can't login as root after changing the shell to bash X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 19:29:52 -0000 On Tue, Oct 14, 2008 at 03:20:24PM -0400, Jerry McAllister wrote: > On Tue, Oct 14, 2008 at 08:28:13PM +0200, Aniruddha wrote: > > > I tried to change the root's shell to bash. I used this command: 'chsh > > -s /usr/local/bin/bash'. Prior to changing the shell for root I did it > > for my user account using the same command without problems. > > Unfortunately after a reboot I can't login as root anymore because my > > system can't find /usr/local/bin/bash. How can I fix this? I tried > > booting the freesbie cd but this wouldn't boot :(. Thanks in advance! > > Sounds like /usr/local/bin is either not in the path for root or > that the /usr or /usr/local file system is not mounted - which would > be true in a single user boot. > > You should never change root's shell. It is doable if you move > some files around, but it is too likely that you will come up with > a situation like this where the alternate shell is not available. > > You can try coming up in 'single user' mode. > Older systems required you to hit the space bar within the countdown. > Newer ones require you to select the right option from a menu. I think > it is '4' but don't want to reboot at the minute to check. > > It will ask you which shell you want. Just take the default (eg hit ENTER). > Then remount / by doing: > mount -u / > Then edit /etc/passwd using the vipw(8) utility - just type: > vipw Note that he'll need to mount /var and /tmp for vi to work. Has to do with use of temporary files being placed in /tmp, and recovery files using /var/tmp/vi.recover. It's usually best to just do: # mount -a # mount -o rw -u / Which under ideal circumstances should take care of everything. -- | 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 14 19:38: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 5DF0A106568A for ; Tue, 14 Oct 2008 19:38:02 +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 1FC618FC0C for ; Tue, 14 Oct 2008 19:38:01 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf6203.online.nl (SMTP Server) with ESMTP id 234D31C0008D for ; Tue, 14 Oct 2008 21:38:00 +0200 (CEST) Received: from [192.168.2.173] (s5590cf7b.adsl.wanadoo.nl [85.144.207.123]) by mwinf6203.online.nl (SMTP Server) with ESMTP id D96181C00088 for ; Tue, 14 Oct 2008 21:37:59 +0200 (CEST) X-ME-UUID: 20081014193759890.D96181C00088@mwinf6203.online.nl From: Aniruddha To: freebsd-questions@freebsd.org In-Reply-To: <20081014192727.GA57756@icarus.home.lan> References: <1224008893.4098.6.camel@debian> <20081014183730.GA56634@icarus.home.lan> <1224011858.4032.1.camel@debian> <20081014192727.GA57756@icarus.home.lan> Content-Type: text/plain Date: Tue, 14 Oct 2008 21:38:02 +0200 Message-Id: <1224013082.3930.2.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Subject: Re: Can't login as root after changing the shell to bash X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 19:38:02 -0000 On Tue, 2008-10-14 at 12:27 -0700, Jeremy Chadwick wrote: > On Tue, Oct 14, 2008 at 09:17:38PM +0200, Aniruddha wrote: > > On Tue, 2008-10-14 at 11:37 -0700, Jeremy Chadwick wrote: > > > On Tue, Oct 14, 2008 at 08:28:13PM +0200, Aniruddha wrote: > > > > I tried to change the root's shell to bash. I used this command: 'chsh > > > > -s /usr/local/bin/bash'. Prior to changing the shell for root I did it > > > > for my user account using the same command without problems. > > > > Unfortunately after a reboot I can't login as root anymore because my > > > > system can't find /usr/local/bin/bash. > > > > > > I can't explain why your systems says it can't find /usr/local/bin/bash. > > > I would assume you also cannot log in as yourself. > > > > Thanks for your help! I changed the default shell back to /bin/csh but I > > still can't login as root?! I get the same message (can't > > find /bin/csh). > > I can't explain this. Possibly there's a permissions or ownership > problem on the / directory (ls -ld / will show you that)? I've no idea; > sounds odd. > Sorry for the confusion. I just checked with vipw and somehow there got a dot behind /dev/csh :# Thanks for the help! I learned a lot. -- Regards, Aniruddha From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 19:45: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 50C271065687 for ; Tue, 14 Oct 2008 19:45:12 +0000 (UTC) (envelope-from ben@b1c1l1.com) Received: from lancer.b1c1l1.com (lancer.b1c1l1.com [72.13.86.100]) by mx1.freebsd.org (Postfix) with ESMTP id 3A4078FC17 for ; Tue, 14 Oct 2008 19:45:11 +0000 (UTC) (envelope-from ben@b1c1l1.com) Received: from supra.b1c1l1.com (c-24-7-82-201.hsd1.ca.comcast.net [24.7.82.201]) by lancer.b1c1l1.com (Postfix) with ESMTPSA id 796865C21; Tue, 14 Oct 2008 12:27:42 -0700 (PDT) Message-ID: <48F4F2A4.5060308@b1c1l1.com> Date: Tue, 14 Oct 2008 12:27:32 -0700 From: Benjamin Lee User-Agent: Thunderbird 2.0.0.17 (X11/20081008) MIME-Version: 1.0 To: Grant Peel References: <7B4A419D26AE44F986698BB7A482DE29@GRANT> In-Reply-To: <7B4A419D26AE44F986698BB7A482DE29@GRANT> X-Enigmail-Version: 0.95.7 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig71E84E8016F101C2560A050B" 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: Tue, 14 Oct 2008 19:45:12 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig71E84E8016F101C2560A050B Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 10/09/08 14:59, Grant Peel wrote: > Hi all, >=20 > I am not a fan of cross posting, but, I have to make a exception in thi= s > case as I can't seem to nail down whether its the software or OS causin= g > me the problem. >=20 > Software: Apache 2.2, Python 2.5, Mailmain 2.1.11 > OS: FreeBSD 6.2 Release #0 >=20 > Apache and Python were built from ports, Mailman was built from source.= >=20 > 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. >=20 > 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? Is your Mailman web interface served over https? If so, you might want to check that DEFAULT_URL_PATTERN is set correctly in mm_cfg.py, for instance: DEFAULT_URL_PATTERN =3D 'https://%s/mailman/' --=20 Benjamin Lee --------------enig71E84E8016F101C2560A050B 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 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQIcBAEBAgAGBQJI9PKqAAoJEN/n9makEYThnNQP+wRGZDmNfzeTraDeka8zLDrX eXycUIU6txncxkEXAceKNYsmQsEMuZXsvX5JwzfWM5CgduZx2TKSdYB4vnovcFaw T3BVPZdZGynXhDTIHKySGWJ4JaipZmQKF0rbDK/9xAh8A+N0H0G/VMJgKwlKImrS 1pzlCZIZIPPlk50n3OTWpNda9DJsSh3FumJxJ/ePXITCKjDjCtXqNWYX5ZswEted Thou8VjajoYO0WnSgePNYzr1HqS8A5oDPjRx/RfQ0AQf22TSh8Ux7XRehUaM18Sn CGXY+VXUAqg0wyrOtBMkd/iBCw4QvddpKctecIRb/wmI7SGv1JoI1SM9si+2N/dQ /o+o5GFH9cCVmPCEO70f0IhN5bFbRNW5VPr4S7oUBuazC5qYY2FdYk2KtiheeNT9 YCs0Wz5OVTlaN0/4SmZKRsTeWrGqeECMGZC0t1IWNEMTXw3EM7T77+P8KidZlTlT SmT/ip8wpbcDcYbNhUmEpvFrauD/48Nhx1blVKd5y/3SkN03gIK9pKUFPmxpSd/H P2XJanJRvWp7gJSssI60DIHZ8yd26uLWrff0AXbrweUoaAzk0PEyKrDLpZI33xZG fQLfSXQ0ok+SrufCOHOetT6qsUZgXntZqhOyqhTycQ1jkRxzmbvASwbin+d4QV0g 0iMR8xTpX4euY5LspH4P =0jgq -----END PGP SIGNATURE----- --------------enig71E84E8016F101C2560A050B-- From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 20:08: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 7D625106569A for ; Tue, 14 Oct 2008 20:08:33 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.freebsd.org (Postfix) with ESMTP id 8519C8FC31 for ; Tue, 14 Oct 2008 20:08:32 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so903541uge.39 for ; Tue, 14 Oct 2008 13:08:31 -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=cpo9EUfP6hOVELcS7gFl970o8Jr/SX31SlWfpsOqybQ=; b=GqqgJWXT75eviHGqWEvVYUoR6IDViZe/kcusJPYqDowsQHFVUHk1b5HRcTc+0xEuXb O3s8DxUL4zUlatLVvGv0vufh6MEZHXGHiwzBDQvLtGhL+t7kyiTEUFPlH+gkfis+jecb Qx/uXUAWWW4dm83YlxgEaclosD4u+u0WJYQMs= 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=L8gaocgZumnmZypR9k8wEzlbdB6NC5YQRT40fO+cr6DjCwBERtbSbSkpWho2UMimgD 6FT07Vja8vMU1LSqV3SyRpANUFbLYN9Nxp0yZ+NMSy+bOEbXPBGNNB2i645ay7Xss8wJ U6iAe4JeHMb4j2KBxpXdkfjQpznzxWn5+j+dI= Received: by 10.67.92.10 with SMTP id u10mr4825163ugl.6.1224014910419; Tue, 14 Oct 2008 13:08:30 -0700 (PDT) Received: from atlantis.dyndns.org (athedsl-324342.home.otenet.gr [85.72.122.148]) by mx.google.com with ESMTPS id s7sm2469249uge.24.2008.10.14.13.08.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 14 Oct 2008 13:08:29 -0700 (PDT) Message-ID: <48F4FC3A.30601@gmail.com> Date: Tue, 14 Oct 2008 23:08:26 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.17 (X11/20081011) MIME-Version: 1.0 To: =?ISO-8859-1?Q?D=E1nielisz_L=E1szl=F3?= References: <83760.20361.qm@web30804.mail.mud.yahoo.com> In-Reply-To: <83760.20361.qm@web30804.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: brasero X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 20:08:33 -0000 Dánielisz László wrote: > hello! > > I just installed Brasero and because a strange reason I can not select any dvd writer drive, I included device atapicam to my kernel? > > Do you have any idea what can I try? > > > Laci > > > While I have not used brasero on FreeBSD, I know (from k3b) that you will need several other settings. It all boils down to giving a normal user permissions to use the CD/DVD recorder device. Both brasero and k3b depend on ports like sysutils/cdrdao, sysutils/cdrtools and sysutils/dvd+rw-tools. You can find these settings in the info for k3b: cd /usr/ports/sysutils/k3b make showinfo From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 20: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 C15D61065693 for ; Tue, 14 Oct 2008 20:20:52 +0000 (UTC) (envelope-from korvus@comcast.net) Received: from QMTA08.westchester.pa.mail.comcast.net (qmta08.westchester.pa.mail.comcast.net [76.96.62.80]) by mx1.freebsd.org (Postfix) with ESMTP id 5F38E8FC12 for ; Tue, 14 Oct 2008 20:20:52 +0000 (UTC) (envelope-from korvus@comcast.net) Received: from OMTA11.westchester.pa.mail.comcast.net ([76.96.62.36]) by QMTA08.westchester.pa.mail.comcast.net with comcast id SjPh1a00F0mv7h058kAiHQ; Tue, 14 Oct 2008 20:10:42 +0000 Received: from [192.168.2.164] ([206.210.89.202]) by OMTA11.westchester.pa.mail.comcast.net with comcast id Sk9v1a00A4Mx3R23Xk9x3V; Tue, 14 Oct 2008 20:10:10 +0000 X-Authority-Analysis: v=1.0 c=1 a=KW-qsGNqa1WgLLIA0D4A:9 a=o3S5JaVKDEyAPmXOpzSDzUCZLIEA:4 a=3DBYIOH7sHIA:10 Message-ID: <48F4FCB5.8030102@comcast.net> Date: Tue, 14 Oct 2008 16:10:29 -0400 From: Steve Polyack User-Agent: Thunderbird 2.0.0.17 (X11/20081006) MIME-Version: 1.0 To: scuba@centroin.com.br References: <20080909154356.D66065@trex.centroin.com.br> <48C6FBCC.20603@za.verizonbusiness.com> <20081014003842.K46975@trex.centroin.com.br> <20081014043503.GB40021@icarus.home.lan> <20081014015746.X78747@trex.centroin.com.br> <20081014051431.GA40846@icarus.home.lan> <20081014023446.K78747@trex.centroin.com.br> <20081014061159.GA41939@icarus.home.lan> <20081014091431.A49137@trex.centroin.com.br> In-Reply-To: <20081014091431.A49137@trex.centroin.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Jeremy Chadwick , freebsd-questions@FreeBSD.org, Todor Genov , jhb@FreeBSD.org Subject: Re: FreeBSD 7 and ESXi X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 20:20:52 -0000 scuba@centroin.com.br wrote: > Jeremy, > > On Mon, 13 Oct 2008, Jeremy Chadwick wrote: > > |On Tue, Oct 14, 2008 at 02:44:13AM -0300, scuba@centroin.com.br wrote: > |> On Mon, 13 Oct 2008, Jeremy Chadwick wrote: > |> > |> |On Tue, Oct 14, 2008 at 02:04:07AM -0300, scuba@centroin.com.br wrote: > |> |> Jeremy, > |> |> > |> |> On Mon, 13 Oct 2008, Jeremy Chadwick wrote: > |> |> > |> |> |On Tue, Oct 14, 2008 at 12:54:26AM -0300, scuba@centroin.com.br wrote: > |> |> |> I'm facing some problems trying to install a FreeBSD > |> |> |> 7.0-RELEASE-amd64, on a Dell PE 2950III, dual Xeon Quad core, 8GB RAM. > |> |> |> After (FBSD) boot menu count down, it shows a dump of the CPU > |> |> |> registers and a message: BTX Halted. No matter what is changed in VM > |> |> |> setup. > |> |> | > |> |> |Can you please download the 7.1-BETA2 ISO and try it instead? There > |> |> |have been changes to the FreeBSD boot loader between 7.0-RELEASE and > |> |> |7.1-BETA2 which may improve things for you. The 7.1-BETA2 ISOs are > |> |> |available here: > |> |> > |> |> The same behavior with 7.1-BETA2. > |> | > |> |I'm not sure what to do at this point, or what to tell you, since the > |> |kernel can't even load. > |> | > |> |Are you installing this off of CD, and is the CD drive hooked up to > |> |the PC via ATA/SATA (rather than USB or something else)? > |> > |> It's a bit more complicated, since, for some reason the Vmware > |> client is unable to boot the VM from CD on the host server. It's > |> booting an ISO image on the client machine. > |> I already read something saying that it's a known issue of the > |> ESXi. > |> Without the virtulization layer, the amd64 CD boots without > |> problems in this machine. > | > |Ah, so the truth comes out... :-) > | > |Have you brought this fact up with the VMware folks? They're quite a > |nice bunch, I wouldn't be surprised if they provided a hotfix for you > |for this problem. > > This will be my next step. > I sent here first, once it's a boot loader problem, specific to > 64bits version of Fbsd. I thought someone could faced the same and came > with a howto to workaround. > > Thank you anyway. :-) > > - Marcelo > > Are you sure that you have chosen Other (64-bit) selected for the Guest OS type? I have never had an issue with using FreeBSD on ESXi. Currently running VMs include 6.3, 7.0, and 7.1-PRE. From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 20:15: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 81E16106568C for ; Tue, 14 Oct 2008 20:15:05 +0000 (UTC) (envelope-from laszlo_danielisz@yahoo.com) Received: from web30805.mail.mud.yahoo.com (web30805.mail.mud.yahoo.com [68.142.200.148]) by mx1.freebsd.org (Postfix) with SMTP id 501B58FC16 for ; Tue, 14 Oct 2008 20:15:05 +0000 (UTC) (envelope-from laszlo_danielisz@yahoo.com) Received: (qmail 36643 invoked by uid 60001); 14 Oct 2008 20:15: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:Subject:To:MIME-Version:Content-Type:Message-ID; b=0jTejlSogYEIiSj+oT9XbIO4nbaXz3p/I2sKRhV27RtNxH+PDY8oq7GMAPbIn5ZSYI6aokUZ5FwREfVWPJ2kkMNmwvpTM8F2t7YwVWlezhGDNNM4vueYjqMNTB5OX6k5e6EiMbMSpyVgDhokUAiF0++sO1M3DGZkj546gEf5kYs=; X-YMail-OSG: kom1hi8VM1m62_6BKLNwJoD19lfSXzBhmig.p3US0ghyueQa9tw0Bv1gbLNPmmxfPLwTdAabZxiy7aARH93XhvXJ5YleDcYnmHFzXHtB2HIL077y5UggY.FOm5.MJy9TQSnaBAX3wohJuw3lGgawBk69rxttk1FZZ6RqfNrWfY9nAIo2oY5aZejj00318Q-- Received: from [86.101.155.31] by web30805.mail.mud.yahoo.com via HTTP; Tue, 14 Oct 2008 13:15:04 PDT X-Mailer: YahooMailRC/1096.40 YahooMailWebService/0.7.218.2 Date: Tue, 14 Oct 2008 13:15:04 -0700 (PDT) From: =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <620572.36191.qm@web30805.mail.mud.yahoo.com> X-Mailman-Approved-At: Tue, 14 Oct 2008 20:43:11 +0000 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: brasero X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 20:15:05 -0000 Thank you!=0A=0AI will try it right now.=0A=0A=0A=0A----- Original Message = ----=0AFrom: Manolis Kiagias =0ATo: D=E1nielisz L=E1= szl=F3 =0ACc: freebsd-questions@freebsd.org=0AS= ent: Tuesday, October 14, 2008 10:08:26 PM=0ASubject: Re: brasero=0A=0AD=E1= nielisz L=E1szl=F3 wrote:=0A> hello!=0A>=0A> I just installed Brasero and b= ecause a strange reason I can not select any dvd writer drive, I included d= evice atapicam to my kernel? =0A>=0A> Do you have any idea what ca= n I try?=0A>=0A>=0A> Laci=0A>=0A>=0A> =0A=0AWhile I have not used brasero = on FreeBSD, I know (from k3b) that you =0Awill need several other settings.= It all boils down to giving a normal =0Auser permissions to use the CD/DVD= recorder device. Both brasero and =0Ak3b depend on ports like sysutils/c= drdao, sysutils/cdrtools and =0Asysutils/dvd+rw-tools. You can find these = settings in the info for k3b:=0A=0Acd /usr/ports/sysutils/k3b=0A=0Amake sho= winfo=0A=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 20:44: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 74DA8106568B; Tue, 14 Oct 2008 20:44:13 +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 1AB9E8FC18; Tue, 14 Oct 2008 20:44:12 +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 130D2AFBC02; Tue, 14 Oct 2008 12:44:12 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Tue, 14 Oct 2008 22:43:51 +0200 User-Agent: KMail/1.9.7 References: <48ECACB4.8080103@shopzeus.com> <48EDD487.7090401@shopzeus.com> <20081009100047.GA523@icarus.home.lan> In-Reply-To: <20081009100047.GA523@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810142243.52345.fbsd.questions@rachie.is-a-geek.net> Cc: Jeremy Chadwick , Laszlo Nagy 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: Tue, 14 Oct 2008 20:44:13 -0000 On Thursday 09 October 2008 12:00:47 Jeremy Chadwick wrote: > 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. Just browse the archive of this list to see how many times it came up. Everyone is quite arbitrary. Just cause you never hit it, doesn't mean it's random. I've traced it to zend_module_shutdown, but then hit stuff I don't understand, namely, dlclose(3), specifically _fini() and how the zend engine uses it and why it's not working right. I hit ENOTIME, when trying to unwrap the code there. These two notes are in my extensions.ini: ; NOTE: spl makes php coredump if loaded after pspell ; NOTE 2: simplexml makes php coredump if loaded after pspell I don't have pspell anymore, since I stopped using it, but maybe you can then reproduce it. If not, I can provide you with a full extensions.ini that will coredump on shutdown 100% of the time (for me at least). What I remember from my tracing attempts is that extensions are expected to clean up their recourses (as in php resources, the library context handlers). At the same time, modules are unloaded in reverse order as they are loaded. In the case where Module A needs Module B, module B needs to be loaded first, but is unloaded last. My prime suspect was that Module A frees it's resources, but Module B still has a ref to it in it's own resource. However, I dind't find that criminal. For me it was a matter of "I can spend a few days tracking it down or just re-order my extensions". Where the culprit is is hard to tell, since people report this doesn't happen on other platforms, it can be a FreeBSD specific problem with how it handles dlclose() and/or garbage collection magic, or it's a problem within php that is as you suspect, being worked around on other platforms by package managers. > 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). Missing symbols happen also, but then no segfaults, simply php won't start (obviously). Easily traceable by module dependencies. -- 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 Tue Oct 14 20:47: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 78FE310656C0 for ; Tue, 14 Oct 2008 20:47:23 +0000 (UTC) (envelope-from korvus@comcast.net) 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 4E0298FC08 for ; Tue, 14 Oct 2008 20:47:22 +0000 (UTC) (envelope-from korvus@comcast.net) Received: from OMTA10.emeryville.ca.mail.comcast.net ([76.96.30.28]) by QMTA07.emeryville.ca.mail.comcast.net with comcast id Sk2j1a00F0cQ2SLA7kcvzQ; Tue, 14 Oct 2008 20:36:59 +0000 Received: from [192.168.2.164] ([206.210.89.202]) by OMTA10.emeryville.ca.mail.comcast.net with comcast id Skcc1a00V4Mx3R28WkcfJo; Tue, 14 Oct 2008 20:36:52 +0000 X-Authority-Analysis: v=1.0 c=1 a=KW-qsGNqa1WgLLIA0D4A:9 a=Wp4bqZod18IzM4bmPGYA:7 a=o3S5JaVKDEyAPmXOpzSDzUCZLIEA:4 a=3DBYIOH7sHIA:10 Message-ID: <48F502D4.8040109@comcast.net> Date: Tue, 14 Oct 2008 16:36:36 -0400 From: Steve Polyack User-Agent: Thunderbird 2.0.0.17 (X11/20081006) MIME-Version: 1.0 To: scuba@centroin.com.br References: <20080909154356.D66065@trex.centroin.com.br> <48C6FBCC.20603@za.verizonbusiness.com> <20081014003842.K46975@trex.centroin.com.br> <20081014043503.GB40021@icarus.home.lan> <20081014015746.X78747@trex.centroin.com.br> <20081014051431.GA40846@icarus.home.lan> <20081014023446.K78747@trex.centroin.com.br> <20081014061159.GA41939@icarus.home.lan> <20081014091431.A49137@trex.centroin.com.br> In-Reply-To: <20081014091431.A49137@trex.centroin.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Jeremy Chadwick , freebsd-questions@FreeBSD.org, Todor Genov , jhb@FreeBSD.org Subject: Re: FreeBSD 7 and ESXi X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 20:47:23 -0000 scuba@centroin.com.br wrote: > Jeremy, > > On Mon, 13 Oct 2008, Jeremy Chadwick wrote: > > |On Tue, Oct 14, 2008 at 02:44:13AM -0300, scuba@centroin.com.br wrote: > |> On Mon, 13 Oct 2008, Jeremy Chadwick wrote: > |> > |> |On Tue, Oct 14, 2008 at 02:04:07AM -0300, scuba@centroin.com.br wrote: > |> |> Jeremy, > |> |> > |> |> On Mon, 13 Oct 2008, Jeremy Chadwick wrote: > |> |> > |> |> |On Tue, Oct 14, 2008 at 12:54:26AM -0300, scuba@centroin.com.br wrote: > |> |> |> I'm facing some problems trying to install a FreeBSD > |> |> |> 7.0-RELEASE-amd64, on a Dell PE 2950III, dual Xeon Quad core, 8GB RAM. > |> |> |> After (FBSD) boot menu count down, it shows a dump of the CPU > |> |> |> registers and a message: BTX Halted. No matter what is changed in VM > |> |> |> setup. > |> |> | > |> |> |Can you please download the 7.1-BETA2 ISO and try it instead? There > |> |> |have been changes to the FreeBSD boot loader between 7.0-RELEASE and > |> |> |7.1-BETA2 which may improve things for you. The 7.1-BETA2 ISOs are > |> |> |available here: > |> |> > |> |> The same behavior with 7.1-BETA2. > |> | > |> |I'm not sure what to do at this point, or what to tell you, since the > |> |kernel can't even load. > |> | > |> |Are you installing this off of CD, and is the CD drive hooked up to > |> |the PC via ATA/SATA (rather than USB or something else)? > |> > |> It's a bit more complicated, since, for some reason the Vmware > |> client is unable to boot the VM from CD on the host server. It's > |> booting an ISO image on the client machine. > |> I already read something saying that it's a known issue of the > |> ESXi. > |> Without the virtulization layer, the amd64 CD boots without > |> problems in this machine. > | > |Ah, so the truth comes out... :-) > | > |Have you brought this fact up with the VMware folks? They're quite a > |nice bunch, I wouldn't be surprised if they provided a hotfix for you > |for this problem. > > This will be my next step. > I sent here first, once it's a boot loader problem, specific to > 64bits version of Fbsd. I thought someone could faced the same and came > with a howto to workaround. > > Thank you anyway. :-) > > - Marcelo > > _______________________________________________ > Also, to eliminate any chance of this being hardware-related, I am also running this on a Dell PE2950 with a similar configuration. From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 20:48: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 0F9F01065686 for ; Tue, 14 Oct 2008 20:48:17 +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 D20138FC37 for ; Tue, 14 Oct 2008 20:48:16 +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 1992FAFBC02; Tue, 14 Oct 2008 12:48:16 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Tue, 14 Oct 2008 22:48:14 +0200 User-Agent: KMail/1.9.7 References: <5cdef660810072258o67330470n9b1f92a160716cfa@mail.gmail.com> In-Reply-To: <5cdef660810072258o67330470n9b1f92a160716cfa@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810142248.14928.fbsd.questions@rachie.is-a-geek.net> Cc: Tom Stuart 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: Tue, 14 Oct 2008 20:48:17 -0000 On Wednesday 08 October 2008 07:58:14 Tom Stuart wrote: > 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 Where the files are on your system is of no concern. Whether ld(1) knows where they are is. ldconfig -r |grep Xau should show /usr/local/lib/libXau.so.6, if not, ldconfig -m /usr/local/lib run as root should fix your problem. -- 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 Tue Oct 14 21:24: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 C328B10656E3 for ; Tue, 14 Oct 2008 21:24: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 B3EFC8FC0C for ; Tue, 14 Oct 2008 21:24: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.3/8.14.2) with ESMTP id m9ELNvVE001954; Tue, 14 Oct 2008 23:23: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 m9ELNu5D001951; Tue, 14 Oct 2008 23:23:56 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Tue, 14 Oct 2008 23:23:56 +0200 (CEST) From: Wojciech Puchar To: =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= In-Reply-To: <83760.20361.qm@web30804.mail.mud.yahoo.com> Message-ID: <20081014232215.K1934@wojtek.tensor.gdynia.pl> References: <83760.20361.qm@web30804.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="1626729238-685053336-1224019436=:1934" Cc: freebsd-questions@freebsd.org Subject: Re: brasero X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 21:24:06 -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. --1626729238-685053336-1224019436=:1934 Content-Type: TEXT/PLAIN; charset=iso-8859-2; format=flowed Content-Transfer-Encoding: 8BIT you need cam and atapicam to record DVD BTW it's much easier to use command line tools to record discs. /usr/ports/sysutils/growisofs to record from image: growisofs -dvd-compat -Z /dev/cd0=imagefile to record ISO DVD growisofs -dvd-compat -Z /dev/cd0 -r . (or -rJ to be Joliet compatible) of course - read manuals for more. On Tue, 14 Oct 2008, Dánielisz László wrote: > hello! I just installed Brasero and because a strange reason I can not select any dvd writer drive, I included device atapicam to my kernel? Do you have any idea what can I try? Laci > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > --1626729238-685053336-1224019436=:1934-- From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 22: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 491F8106569A for ; Tue, 14 Oct 2008 22:07:39 +0000 (UTC) (envelope-from erik@cepheid.org) Received: from mail.cepheid.org (aleph.cepheid.org [72.232.60.94]) by mx1.freebsd.org (Postfix) with ESMTP id 30C6C8FC08 for ; Tue, 14 Oct 2008 22:07:39 +0000 (UTC) (envelope-from erik@cepheid.org) Received: by mail.cepheid.org (Postfix, from userid 1006) id 9E6739B4025; Tue, 14 Oct 2008 17:07:38 -0500 (CDT) Date: Tue, 14 Oct 2008 17:07:38 -0500 From: Erik Osterholm To: freebsd-questions@freebsd.org Message-ID: <20081014220738.GA76816@aleph.cepheid.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: nmap and Nessus in a jail -- scans fail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 22:07:39 -0000 Hi all, Running 7.0-RELEASE-p2, I set up a jail from which to perform NMAP and Nessus scans. I set the sysctl security.jail.allow_raw_sockets=1, which I expected to prevent any problems. Unfortunately, I'm getting this whenever I try to NMAP: $ sudo nmap -P0 localhost Starting Nmap 4.76 ( http://nmap.org ) at 2008-10-14 16:56 CDT WARNING: Unable to find appropriate interface for system route to xxx.xx.xx.xx WARNING: Unable to find appropriate interface for system route to 127.0.0.1 nexthost: failed to determine route to 127.0.0.1 QUITTING! Nessus scans fail shortly after being started if port scanning is enabled. If port scanning is disabled, the vulnerability scan succeeds. Identical configurations outside of a jail work just fine, which lead me to believe that the Nessus and NMAP issues are related to the processes being jailed. $ sysctl -a | grep jail security.jail.jailed: 1 security.jail.mount_allowed: 0 security.jail.chflags_allowed: 1 security.jail.allow_raw_sockets: 1 security.jail.enforce_statfs: 2 security.jail.sysvipc_allowed: 0 security.jail.socket_unixiproute_only: 1 security.jail.set_hostname_allowed: 1 Anyone have any hope for me? Erik From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 22:14: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 99E56106568F for ; Tue, 14 Oct 2008 22:14:35 +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 5312F8FC22 for ; Tue, 14 Oct 2008 22:14:33 +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 m9EMEi9F077237 for ; Tue, 14 Oct 2008 15:14:44 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Tue, 14 Oct 2008 15:14:25 -0700 (PDT) Date: Tue, 14 Oct 2008 15:14:25 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20081014221329.GA58515@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: YADQ. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 22:14:35 -0000 Yes, folks, another dippy question: is there an *easy* way of installing X11 on sage? [ sage is the engine of my one-jail server; it is very slow--400MHz--but I'd like to be able to run CTWM for root ] It's got a Matrox Millennium card with (32M of memory). tia, guys, 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 14 21:02: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 13F041065689; Tue, 14 Oct 2008 21:02:17 +0000 (UTC) (envelope-from spam@mdrjr.net) Received: from ciclope.extremehosting.com.br (ciclope.extremehosting.com.br [208.43.123.98]) by mx1.freebsd.org (Postfix) with ESMTP id C3C2A8FC1A; Tue, 14 Oct 2008 21:02:16 +0000 (UTC) (envelope-from spam@mdrjr.net) Received: from 201.47.18.9.adsl.gvt.net.br ([201.47.18.9] helo=sexy) by ciclope.extremehosting.com.br with esmtpa (Exim 4.69) (envelope-from ) id 1KpqUF-0007ZA-9I; Tue, 14 Oct 2008 18:27:23 -0200 From: "Mauro Ribeiro - Class Consultoria e Assessoria" To: "'Steve Polyack'" , Date: Tue, 14 Oct 2008 17:27:20 -0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 In-Reply-To: <48F4FCB5.8030102@comcast.net> Thread-Index: AckuOmVXIRW2TZKxSj2R8QXq2fYC6QAB7IWw X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ciclope.extremehosting.com.br X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - mdrjr.net Message-Id: <20081014210216.C3C2A8FC1A@mx1.freebsd.org> X-Mailman-Approved-At: Tue, 14 Oct 2008 22:22:15 +0000 Cc: 'Jeremy Chadwick' , freebsd-questions@FreeBSD.org, 'Todor Genov' , jhb@FreeBSD.org Subject: RES: FreeBSD 7 and ESXi X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 21:02:17 -0000 Same Here. ESXi U2 and FreeBSD 7 on AMD64 (Other 64-bits). Working Flawless. Vmware Box Setup: Gigabyte GA-945GCM-S2 . 2x 1GB DDR2 2x 500GB SATA2 Disks 1x 3COM 100mbit PCI Ethernet 1x HP PCI-Exp Giga Ethernet. No issue by now. -----Mensagem original----- De: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] Em nome de Steve Polyack Enviada em: ter=E7a-feira, 14 de outubro de 2008 18:10 Para: scuba@centroin.com.br Cc: Jeremy Chadwick; freebsd-questions@FreeBSD.org; Todor Genov; jhb@FreeBSD.org Assunto: Re: FreeBSD 7 and ESXi scuba@centroin.com.br wrote: > Jeremy, > > On Mon, 13 Oct 2008, Jeremy Chadwick wrote: > > |On Tue, Oct 14, 2008 at 02:44:13AM -0300, scuba@centroin.com.br = wrote: > |> On Mon, 13 Oct 2008, Jeremy Chadwick wrote: > |>=20 > |> |On Tue, Oct 14, 2008 at 02:04:07AM -0300, scuba@centroin.com.br = wrote: > |> |> Jeremy, > |> |>=20 > |> |> On Mon, 13 Oct 2008, Jeremy Chadwick wrote: > |> |>=20 > |> |> |On Tue, Oct 14, 2008 at 12:54:26AM -0300, scuba@centroin.com.br wrote: > |> |> |> I'm facing some problems trying to install a FreeBSD=20 > |> |> |> 7.0-RELEASE-amd64, on a Dell PE 2950III, dual Xeon Quad core, = 8GB RAM. > |> |> |> After (FBSD) boot menu count down, it shows a dump of the CPU=20 > |> |> |> registers and a message: BTX Halted. No matter what is = changed in VM=20 > |> |> |> setup. > |> |> | > |> |> |Can you please download the 7.1-BETA2 ISO and try it instead? There > |> |> |have been changes to the FreeBSD boot loader between = 7.0-RELEASE and > |> |> |7.1-BETA2 which may improve things for you. The 7.1-BETA2 ISOs = are > |> |> |available here: > |> |>=20 > |> |> The same behavior with 7.1-BETA2. > |> | > |> |I'm not sure what to do at this point, or what to tell you, since = the > |> |kernel can't even load. > |> | > |> |Are you installing this off of CD, and is the CD drive hooked up = to > |> |the PC via ATA/SATA (rather than USB or something else)? > |>=20 > |> It's a bit more complicated, since, for some reason the Vmware=20 > |> client is unable to boot the VM from CD on the host server. It's=20 > |> booting an ISO image on the client machine. > |> I already read something saying that it's a known issue of the=20 > |> ESXi. > |> Without the virtulization layer, the amd64 CD boots without=20 > |> problems in this machine.=20 > | > |Ah, so the truth comes out... :-) > | > |Have you brought this fact up with the VMware folks? They're quite a > |nice bunch, I wouldn't be surprised if they provided a hotfix for you > |for this problem. > > This will be my next step. > I sent here first, once it's a boot loader problem, specific to=20 > 64bits version of Fbsd. I thought someone could faced the same and = came=20 > with a howto to workaround. > > Thank you anyway. :-) > > - Marcelo > > =20 Are you sure that you have chosen Other (64-bit) selected for the Guest=20 OS type? I have never had an issue with using FreeBSD on ESXi. =20 Currently running VMs include 6.3, 7.0, and 7.1-PRE. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" __________ Information from ESET NOD32 Antivirus, version of virus = signature database 3520 (20081014) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com =20 __________ Information from ESET NOD32 Antivirus, version of virus = signature database 3520 (20081014) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com =20 From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 00:12: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 5DE221065690 for ; Wed, 15 Oct 2008 00:12:55 +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 244BD8FC16 for ; Wed, 15 Oct 2008 00:12:54 +0000 (UTC) (envelope-from que_deseja@hotmail.com) Received: from BLU126-W22 ([65.55.111.137]) by blu0-omc4-s6.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 14 Oct 2008 17:12:54 -0700 Message-ID: X-Originating-IP: [98.192.204.41] From: Desmond Chapman To: , , Date: Wed, 15 Oct 2008 00:12:54 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 15 Oct 2008 00:12:54.0413 (UTC) FILETIME=[C504CBD0:01C92E5A] Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: virtualbox kBuild security X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 00:12:55 -0000 http://www.virtualbox.org/ticket/1499 http://wiki.archlinux.org/index.php/VirtualBox#Getting_USB_to_work_in_the_g= uest_machine Even though these issues relate to Linux hosts=2C I have had the same resul= ts while trying to build on FreeBSD. That which applies the PUEL release al= so applies to the OSE release. This problem still exists for FreeBSD amd64 when building VBox current. kBuild is still a security risk due to it changing permissions without the = users consent.=20 The developers have not stated if the qemu code used in vbox is current wit= h that used in FreeBSD nor if the networking and image options- qemu relate= d- needed to work on FreeBSD amd64 current have been added.=20 Please do not reply to this message. _________________________________________________________________ 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 Wed Oct 15 00:47: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 DC9881065687 for ; Wed, 15 Oct 2008 00:47:47 +0000 (UTC) (envelope-from alancyang@gmail.com) Received: from mail-gx0-f16.google.com (mail-gx0-f16.google.com [209.85.217.16]) by mx1.freebsd.org (Postfix) with ESMTP id 92E248FC2E for ; Wed, 15 Oct 2008 00:47:47 +0000 (UTC) (envelope-from alancyang@gmail.com) Received: by gxk9 with SMTP id 9so5222203gxk.19 for ; Tue, 14 Oct 2008 17:47: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:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=pHtBwmHXHqr8Apj7DyG9L9Un/xE37P7mAdp3SMNRcOE=; b=SxMqsgPNX/HfXxHRrFr0RhfWB6j1+WHKk8WL3hjE3T3vrG4z3m/SaIMdJEYn/JRzbC VU1dfIH6tcv0H72ZJqHbUtZkPQLIbATlQdSLAKLc7twzxLUHLRD9DsSv1e39/3vpt28q Hp1Rjt9Nid6t39cSQZbSUegkHohVndIlMdt7o= 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=aHQrTZDVna9CK9GwqOYRIFDgzY4RtypnlqEPqNuIdKPVD+dhdbiH83ctnLbEaSfHoY H3pfyJhU79mJm5HPporHL1Xnp4KJF5VLrkh7yXDRLXQgVbJzNab+YUIZPl7GxHis5pJT CvgkSKCk0yPAJ3nMNDPRzFlluxIsSHWBUFfNg= Received: by 10.151.41.21 with SMTP id t21mr750673ybj.223.1224031666805; Tue, 14 Oct 2008 17:47:46 -0700 (PDT) Received: by 10.150.191.21 with HTTP; Tue, 14 Oct 2008 17:47:46 -0700 (PDT) Message-ID: <290865fd0810141747l39b80e2ao329c8212061a67c1@mail.gmail.com> Date: Tue, 14 Oct 2008 17:47:46 -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: tracing pf code X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 00:47:48 -0000 hello, for pf port on freebsd, i would like to trace the packet flow, looking at from ether_input -> etiher_demux -> ip_input -> tcp_input where / how pf handles / process the packet. can people shed some lights where to start. really appreciate. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 01:14: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 5ACEA1065698 for ; Wed, 15 Oct 2008 01:14:41 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by mx1.freebsd.org (Postfix) with ESMTP id DDBDA8FC22 for ; Wed, 15 Oct 2008 01:14:40 +0000 (UTC) (envelope-from max@love2party.net) Received: from vampire.homelinux.org (dslb-088-066-035-178.pools.arcor-ip.net [88.66.35.178]) by mrelayeu.kundenserver.de (node=mrelayeu3) with ESMTP (Nemesis) id 0MKxQS-1Kpum50N8r-0002Ep; Wed, 15 Oct 2008 03:02:05 +0200 Received: (qmail 6889 invoked from network); 15 Oct 2008 01:02:04 -0000 Received: from fbsd8.laiers.local (192.168.4.151) by laiers.local with SMTP; 15 Oct 2008 01:02:04 -0000 From: Max Laier Organization: FreeBSD To: freebsd-hackers@freebsd.org Date: Wed, 15 Oct 2008 03:02:03 +0200 User-Agent: KMail/1.10.1 (FreeBSD/8.0-CURRENT; KDE/4.1.1; i386; ; ) References: <290865fd0810141747l39b80e2ao329c8212061a67c1@mail.gmail.com> In-Reply-To: <290865fd0810141747l39b80e2ao329c8212061a67c1@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810150302.03949.max@love2party.net> X-Provags-ID: V01U2FsdGVkX19AIYS8bD8GmseG8+cVhh9n0Uq+IQC5R3Yk8zs w+wOO38iZkVcNJM0Lr43oz37C992DfjcgOuNnpx83Tir7htIpn JwM32o81aaSPz81tJC3Pw== Cc: alan yang , freebsd-questions@freebsd.org Subject: Re: tracing pf code X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 01:14:41 -0000 On Wednesday 15 October 2008 02:47:46 alan yang wrote: > hello, > > for pf port on freebsd, i would like to trace the packet flow, looking > at from ether_input -> etiher_demux -> ip_input -> tcp_input where / > how pf handles / process the packet. > > can people shed some lights where to start. really appreciate. ps hooks into the pfil(9) hook point in ip[6]_{in,out}put(). Look for calls to "pfil_run_hooks" in the code. From there the call proceeds to the hook functions defined in pf_ioctl.c pf_check_{in,out}[6]. The processing inside pf is best understood by looking at the following chart: http://homepage.mac.com/quension/pf/flow.png Is this the information you are looking for? -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 02: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 C18D81065691 for ; Wed, 15 Oct 2008 02:18:01 +0000 (UTC) (envelope-from nagosaki@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 1E8CF8FC0C for ; Wed, 15 Oct 2008 02:18:00 +0000 (UTC) (envelope-from nagosaki@gmail.com) Received: by ey-out-2122.google.com with SMTP id 6so851017eyi.7 for ; Tue, 14 Oct 2008 19:17: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:sender :to:subject:mime-version:content-type:content-transfer-encoding :content-disposition:x-google-sender-auth; bh=fat0a5F29oVoj36Zd0Taf9XetjTvcPldUbzvJbXEnXo=; b=mJ0ntSk+6l4VQkhvkMEI0zN5Y3LfpzJ0ldspjDsmA34F56iO8G5zm8hdYqvRO3RlyK ieIsBa5qM+DTkEyiYg8VP2eNU9YLEytJ9eb1L05jDq0OR2clEqz+o61b7v/78uT1pCsU XVz7MiN89YsLmDa0OkEU6TdcS0YYaAXlay3CU= 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=Ic2lDVQgFv5XJSd7drdejMznjk+iCy0z23LDC1E5pFvIKpQz6I119emg5bkPuN1yCF lriZEaXJcKyNUew89EEyA1/Uexvy35eh2QTw6L0ooe9wBTf3MA15qoJwGJrdABfbc+Kn A7IXqwzd6QiFXEG71FWssLb0Z0iv5s1FgVshM= Received: by 10.210.34.2 with SMTP id h2mr408140ebh.82.1224035529174; Tue, 14 Oct 2008 18:52:09 -0700 (PDT) Received: by 10.210.116.9 with HTTP; Tue, 14 Oct 2008 18:52:09 -0700 (PDT) Message-ID: <976ac5b80810141852n85e87das9f4e11544e0222a6@mail.gmail.com> Date: Tue, 14 Oct 2008 21:52:09 -0400 From: "John R. Huston" Sender: nagosaki@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: d6c48ca088a7fc07 Subject: SATA devices not added/probed from ICH7 sata300 controller, FreeBSD7.0, 7.1beta, 8.0 Daily X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 02:18:02 -0000 Hi, I am not very familiar with using mailing lists so if I have made a mistake in the format or scope of the message please correct me. I am pretty desperate for an answer by now so any help at all is really very appreciated. I have a Shuttle SD30G2 computer (Specs: http://preview.tinyurl.com/3knjrp ) which utilizes the intel ICH7 southbridge for sata devices. I am currently running FreeBSD 7.0-STABLE. The issue is that although the sata controller is apparently detected correctly (It shows up by name in dmesg) the devices attached to it do not show up when running 'atacontrol list'. There are no errors produced on a normal boot, but booting in verbose mode produces a few repetetive messages that may be telling, although I am unable to decipher them. Some other symptoms; When booting from an installer or bootonly iso, the installer is unable to find the sata drive to install to and will exit with error. This applies to 7.0-release, 7.1 beta (From Oct 11), and the daily 8.0 bootonly (From may.) I have successfully installed Ubuntu 7.04 to the machine however, and it correctly installs and utilizes both the sata hard drive (ata2 in bsd) and the sata cdrom (ata3.) so this eliminates any possibility of the drive(s) or controller being faulty. and although I am currently using a custom built kernel, the fact that several bootonlys/installers cannot find the drive either would suggest it is not my configuration modifications which have caused this behavior. The full output from a verbose boot can be found here: http://pastebin.ca/1227417 ; The relevant (I think) section starts at roughly line #386 ("Intel ICH7 UDMA100 controller") where the first controller for the IDE drives are found. ata0 is probed successfully, ata1 is skipped (there are no devices attached here), and then the sata controller is found, but ata2 and ata3 appear to be probed incorrectly, spitting out a message like this a bunch of times before quietly failing: "ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff". If this is the wrong mailing list, or I am in the wrong place entirely, please point me in the right direction, your help and time are appreciated. --John H From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 02:33: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 85BB71065688 for ; Wed, 15 Oct 2008 02:33:13 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 4688A8FC19 for ; Wed, 15 Oct 2008 02:33:13 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.3/8.14.3) with ESMTP id m9F2XDQZ005891 for ; Tue, 14 Oct 2008 19:33:13 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.3/8.14.3/Submit) id m9F2XCXL005890 for freebsd-questions@freebsd.org; Tue, 14 Oct 2008 19:33:12 -0700 (PDT) (envelope-from sgk) Date: Tue, 14 Oct 2008 19:33:12 -0700 From: Steve Kargl To: freebsd-questions@freebsd.org Message-ID: <20081015023312.GA5850@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: Recommended linux_base for 8.0? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 02:33:13 -0000 Which linux base port is recommended for FreeBSD-current on amd64? linux_base-f7/ linux_base-f8/ linux_base-fc4/ linux_base-fc6/ linux_base-gentoo-stage1/ linux_base-gentoo-stage2/ linux_base-gentoo-stage3/ I currently have fc4 installed, but have run into some pthread problems. -- Steve From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 02:41: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 D77F71065687 for ; Wed, 15 Oct 2008 02:41:39 +0000 (UTC) (envelope-from alancyang@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.237]) by mx1.freebsd.org (Postfix) with ESMTP id 8BE9F8FC16 for ; Wed, 15 Oct 2008 02:41:39 +0000 (UTC) (envelope-from alancyang@gmail.com) Received: by wx-out-0506.google.com with SMTP id s17so799619wxc.7 for ; Tue, 14 Oct 2008 19:41: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=5EqdjOsZVNqrHQuGGCs+2nupF8MLtxWnfXPaI2gOLUM=; b=kduOWOuu/il2wmvydLBQQ9fBJ56fj3GfrwqHtulL6nm1dsfKJ2nLsLi+HBzbMzemlj +fSa9NQ8AKDGayurp8+qGPmt5k8le/ZZxaH/G8HEb0So3r8qcBSbRIlaD7I3ihfcbjtU j5Xij+/51yeGwxl+MS0Sr9pLsbVGSSqb/0IKg= 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=r5+IJI1VFVMQ45RX4qPyeZ5CusPvfrEoaCCaBSwgNm6l+PGKRl4l3cVa/HSBB42UmP 3helkBTxm8B9dVQDTGqgWOkWQAOqKo3qhsSVb7xdA9bTfQAt7VX72dUA+42jIB75JwaR ooidcigp7UVA8fluWrbDb+JG2E8x3VQmfTek8= Received: by 10.150.134.21 with SMTP id h21mr927685ybd.181.1224038498711; Tue, 14 Oct 2008 19:41:38 -0700 (PDT) Received: by 10.150.191.21 with HTTP; Tue, 14 Oct 2008 19:41:38 -0700 (PDT) Message-ID: <290865fd0810141941l7c63a8e6l1c9c4839518c9ac8@mail.gmail.com> Date: Tue, 14 Oct 2008 19:41:38 -0700 From: "alan yang" To: "Max Laier" In-Reply-To: <200810150302.03949.max@love2party.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <290865fd0810141747l39b80e2ao329c8212061a67c1@mail.gmail.com> <200810150302.03949.max@love2party.net> Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Subject: Re: tracing pf code X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 02:41:39 -0000 yes, exact. thanks a lot! On Tue, Oct 14, 2008 at 6:02 PM, Max Laier wrote: > On Wednesday 15 October 2008 02:47:46 alan yang wrote: >> hello, >> >> for pf port on freebsd, i would like to trace the packet flow, looking >> at from ether_input -> etiher_demux -> ip_input -> tcp_input where / >> how pf handles / process the packet. >> >> can people shed some lights where to start. really appreciate. > > ps hooks into the pfil(9) hook point in ip[6]_{in,out}put(). Look for calls > to "pfil_run_hooks" in the code. From there the call proceeds to the hook > functions defined in pf_ioctl.c pf_check_{in,out}[6]. > > The processing inside pf is best understood by looking at the following chart: > http://homepage.mac.com/quension/pf/flow.png > > Is this the information you are looking for? > > -- > /"\ Best regards, | mlaier@freebsd.org > \ / Max Laier | ICQ #67774661 > X http://pf4freebsd.love2party.net/ | mlaier@EFnet > / \ ASCII Ribbon Campaign | Against HTML Mail and News > From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 05:33: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 74EA7106568B for ; Wed, 15 Oct 2008 05:33:52 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id C778B8FC5F for ; Wed, 15 Oct 2008 05:33:51 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1Kpz13-000P5l-Ej; Wed, 15 Oct 2008 09:33:49 +0400 To: Steve Kargl References: <20081015023312.GA5850@troutmask.apl.washington.edu> From: Boris Samorodov Date: Wed, 15 Oct 2008 09:33:39 +0400 In-Reply-To: <20081015023312.GA5850@troutmask.apl.washington.edu> (Steve Kargl's message of "Tue\, 14 Oct 2008 19\:33\:12 -0700") Message-ID: <47140620@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Recommended linux_base for 8.0? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 05:33:52 -0000 Steve Kargl writes: > Which linux base port is recommended for FreeBSD-current on amd64? Well, the answer is "just install any linux application you need from ports/packages and the ports infrastructure will DTRT". ;-) > linux_base-f7/ > linux_base-f8/ > linux_base-fc4/ > linux_base-fc6/ > linux_base-gentoo-stage1/ > linux_base-gentoo-stage2/ > linux_base-gentoo-stage3/ > > I currently have fc4 installed, but have run into some pthread > problems. This one is the default for now. 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 Wed Oct 15 05:58: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 E5D031065686 for ; Wed, 15 Oct 2008 05:58:52 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id AF5F68FC1A for ; Wed, 15 Oct 2008 05:58:52 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.3/8.14.3) with ESMTP id m9F5wqlR007647; Tue, 14 Oct 2008 22:58:52 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.3/8.14.3/Submit) id m9F5wqSK007646; Tue, 14 Oct 2008 22:58:52 -0700 (PDT) (envelope-from sgk) Date: Tue, 14 Oct 2008 22:58:52 -0700 From: Steve Kargl To: Boris Samorodov Message-ID: <20081015055852.GA7541@troutmask.apl.washington.edu> References: <20081015023312.GA5850@troutmask.apl.washington.edu> <47140620@bb.ipt.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47140620@bb.ipt.ru> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: Recommended linux_base for 8.0? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 05:58:53 -0000 On Wed, Oct 15, 2008 at 09:33:39AM +0400, Boris Samorodov wrote: > Steve Kargl writes: > > > Which linux base port is recommended for FreeBSD-current on amd64? > > Well, the answer is "just install any linux application you need from > ports/packages and the ports infrastructure will DTRT". ;-) matlab isn't in the ports collection. > > linux_base-f7/ > > linux_base-f8/ > > linux_base-fc4/ > > linux_base-fc6/ > > linux_base-gentoo-stage1/ > > linux_base-gentoo-stage2/ > > linux_base-gentoo-stage3/ > > > > I currently have fc4 installed, but have run into some pthread > > problems. > > This one is the default for now. % matlab >> plotTAIHR_bin_30D system error(34): __kmp_set_stack_info: pthread_getattr_np: Numerical result out of range OMP abort: fatal system error detected. hpc:kargl[206] pkg_info | grep linux_base linux_base-fc-4_10 Base set of packages needed in Linux mode (for i386/amd64) hpc:kargl[208] portversion -vl '<' | grep linux_base linux_base-fc-4_10 < needs updating (port has 4_13) Guess which port is broken? -- Steve From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 06:09: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 6849E1065693 for ; Wed, 15 Oct 2008 06:09:08 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from eternal.lunarbreeze.com (eternal.lunarbreeze.com [74.50.25.205]) by mx1.freebsd.org (Postfix) with ESMTP id 2AF068FC0A for ; Wed, 15 Oct 2008 06:09:07 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from 203-166-246-80.dyn.iinet.net.au ([203.166.246.80] helo=ayiin) by eternal.lunarbreeze.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1KpykQ-0000jV-32 for freebsd-questions@freebsd.org; Tue, 14 Oct 2008 22:16:38 -0700 Date: Wed, 15 Oct 2008 16:16:33 +1100 From: Norberto Meijome To: FreeBSD Questions ML Message-ID: <20081015161633.6287be1e@ayiin> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.1) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - eternal.lunarbreeze.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - meijome.net X-Source: X-Source-Args: X-Source-Dir: Subject: System lockup when out of space in /usr X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 06:09:08 -0000 Hi, FreeBSD ayiin.octantis.com.au 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #94: Wed Oct 15 09:46:16 EST 2008 root@ayiin.octantis.com.au:/usr/obj/usr/src/sys/AYIIN i386 I've noticed when /usr becomes full (due to a large port build or other reasons) that my computer becomes completely locked up - frozen. There is no panic or crash, the system starts becoming more and pegged down - load starts to climb, then system blocks intermittently for ever longing periods, load climbs over 30.... and it never comes back from locked-land. Other than "don't let the system run out of disk space", is there any other fix? FWIW,i have 3 GELI md-backed volumes located + mounted in /usr/home/betom/ . b _________________________ {Beto|Norberto|Numard} Meijome "Always do right. This will gratify some and astonish the rest." Mark Twain I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 06:23: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 4ABC31065686; Wed, 15 Oct 2008 06:23:27 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 016998FC0A; Wed, 15 Oct 2008 06:23:26 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1Kpzn3-000PpS-KU; Wed, 15 Oct 2008 10:23:25 +0400 To: Steve Kargl References: <20081015023312.GA5850@troutmask.apl.washington.edu> <47140620@bb.ipt.ru> <20081015055852.GA7541@troutmask.apl.washington.edu> From: Boris Samorodov Date: Wed, 15 Oct 2008 10:23:15 +0400 In-Reply-To: <20081015055852.GA7541@troutmask.apl.washington.edu> (Steve Kargl's message of "Tue\, 14 Oct 2008 22\:58\:52 -0700") Message-ID: <14987644@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@FreeBSD.org, freebsd-questions@freebsd.org Subject: Re: Recommended linux_base for 8.0? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 06:23:27 -0000 Steve Kargl writes: > On Wed, Oct 15, 2008 at 09:33:39AM +0400, Boris Samorodov wrote: >> Steve Kargl writes: >> >> > Which linux base port is recommended for FreeBSD-current on amd64? >> >> Well, the answer is "just install any linux application you need from >> ports/packages and the ports infrastructure will DTRT". ;-) > > matlab isn't in the ports collection. Yes. There is a PR about new port Matlab7 though. >> > linux_base-f7/ >> > linux_base-f8/ >> > linux_base-fc4/ >> > linux_base-fc6/ >> > linux_base-gentoo-stage1/ >> > linux_base-gentoo-stage2/ >> > linux_base-gentoo-stage3/ >> > >> > I currently have fc4 installed, but have run into some pthread >> > problems. >> >> This one is the default for now. > > % matlab >>> plotTAIHR_bin_30D > system error(34): __kmp_set_stack_info: pthread_getattr_np: Numerical result out of range > OMP abort: fatal system error detected. > > hpc:kargl[206] pkg_info | grep linux_base > linux_base-fc-4_10 Base set of packages needed in Linux mode (for i386/amd64) > hpc:kargl[208] portversion -vl '<' | grep linux_base > linux_base-fc-4_10 < needs updating (port has 4_13) Since you don't have other linux ports at this system it will be not hard to test linux_base-f8 which is intended to become a new linux base default in the future. > Guess which port is broken? I'm not sure whether it's a port or a system blame. CCing to emulation@ since there are more sharp linuxulator eyes there. 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 Wed Oct 15 06:36: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 8838A1065686 for ; Wed, 15 Oct 2008 06:36:37 +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 4DAC68FC28 for ; Wed, 15 Oct 2008 06:36:37 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf6203.online.nl (SMTP Server) with ESMTP id 008AA1C00088; Wed, 15 Oct 2008 08:36:36 +0200 (CEST) Received: from [192.168.2.173] (s5590cf7b.adsl.wanadoo.nl [85.144.207.123]) by mwinf6203.online.nl (SMTP Server) with ESMTP id 59E2C1C00081; Wed, 15 Oct 2008 08:36:35 +0200 (CEST) X-ME-UUID: 20081015063635368.59E2C1C00081@mwinf6203.online.nl From: Aniruddha To: Dominique Goncalves In-Reply-To: <7daacbbe0810140314t18df6da5r44e6cde2c834317a@mail.gmail.com> References: <1223935437.4511.5.camel@debian> <7daacbbe0810140314t18df6da5r44e6cde2c834317a@mail.gmail.com> Content-Type: text/plain Date: Wed, 15 Oct 2008 08:36:39 +0200 Message-Id: <1224052599.4011.4.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD do dbus & hal 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, 15 Oct 2008 06:36:37 -0000 On Tue, 2008-10-14 at 12:14 +0200, Dominique Goncalves wrote: > Hi, > > On Tue, Oct 14, 2008 at 12:03 AM, Aniruddha wrote: > > I'm trying to mount (USB) devices in KDE/Gnome automagically through > > dbus and hal. I added the following lines to /etc/rc.conf: > > > > dbus_enable="YES" > > hald_enable="YES" > > > > Unfortunately when I insert an USB (NTFS formatted) nothing happens. > > When I insert a (fat) sdcard in my cardreader still nothing happens. > > I do think I'm missing something obvious, who know what it is? > > Do a 'tail -f /var/log/messages' then insert your sd card and see > what's going on. > > The HAL faq may be useful http://www.freebsd.org/gnome/docs/halfaq.html. > Thanks, I followed the faq to the letter and it show a dialog when I insert a USB stick. Unfortunately when I insert an sdcard still nothing happens. -- Regards, Aniruddha From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 06:43: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 7759A1065677 for ; Wed, 15 Oct 2008 06:43:54 +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 21C518FC20 for ; Wed, 15 Oct 2008 06:43:53 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA08.westchester.pa.mail.comcast.net ([76.96.62.12]) by QMTA03.westchester.pa.mail.comcast.net with comcast id SucL1a00E0Fqzac53ujtsp; Wed, 15 Oct 2008 06:43:53 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA08.westchester.pa.mail.comcast.net with comcast id Sujs1a0012P6wsM3Uujsme; Wed, 15 Oct 2008 06:43:53 +0000 X-Authority-Analysis: v=1.0 c=1 a=nTowVmpFNmYA:10 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=8RuaFYOCffUDMHDVLG0A:9 a=4OfU1XZ9deth96Ndg-rCqxq-W_gA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id C60A5C9419; Tue, 14 Oct 2008 23:43:51 -0700 (PDT) Date: Tue, 14 Oct 2008 23:43:51 -0700 From: Jeremy Chadwick To: Aniruddha Message-ID: <20081015064351.GA69937@icarus.home.lan> References: <1223935437.4511.5.camel@debian> <7daacbbe0810140314t18df6da5r44e6cde2c834317a@mail.gmail.com> <1224052599.4011.4.camel@debian> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1224052599.4011.4.camel@debian> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org, Dominique Goncalves Subject: Re: FreeBSD do dbus & hal 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, 15 Oct 2008 06:43:54 -0000 On Wed, Oct 15, 2008 at 08:36:39AM +0200, Aniruddha wrote: > On Tue, 2008-10-14 at 12:14 +0200, Dominique Goncalves wrote: > > Hi, > > > > On Tue, Oct 14, 2008 at 12:03 AM, Aniruddha wrote: > > > I'm trying to mount (USB) devices in KDE/Gnome automagically through > > > dbus and hal. I added the following lines to /etc/rc.conf: > > > > > > dbus_enable="YES" > > > hald_enable="YES" > > > > > > Unfortunately when I insert an USB (NTFS formatted) nothing happens. > > > When I insert a (fat) sdcard in my cardreader still nothing happens. > > > I do think I'm missing something obvious, who know what it is? > > > > Do a 'tail -f /var/log/messages' then insert your sd card and see > > what's going on. > > > > The HAL faq may be useful http://www.freebsd.org/gnome/docs/halfaq.html. > > > > Thanks, I followed the faq to the letter and it show a dialog when I > insert a USB stick. Unfortunately when I insert an sdcard still nothing > happens. Can anyone confirm that dbus and/or hald have anything to do with this? (I thought those were specific to X...) When attaching a USB device to a USB port, the kernel will notice the device has been added and will do the proper enumeration. For example, when adding a USB hard disk or a USB pen drive, a umass device will be found, then a daX device should be created (which is what you use to access the disk; USB storage devices appear as SCSI disks). But in the case of a USB device that's already attached to the bus, e.g. one of those 7-in-1 card readers, I cannot see how adding a SD/MMC card would cause the hard disk to suddenly show up. You would need to run "camcontrol rescan 0", to cause the device to be re-scanned for any media which was inserted. -- | 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 15 07:02: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 707AC1065686; Wed, 15 Oct 2008 07:02:58 +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 33D778FC12; Wed, 15 Oct 2008 07:02:57 +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 8BB071C00082; Wed, 15 Oct 2008 09:02:56 +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 38EFA1C00081; Wed, 15 Oct 2008 09:02:56 +0200 (CEST) X-ME-UUID: 20081015070256233.38EFA1C00081@mwinf6112.online.nl From: Aniruddha To: Jeremy Chadwick In-Reply-To: <20081015064351.GA69937@icarus.home.lan> References: <1223935437.4511.5.camel@debian> <7daacbbe0810140314t18df6da5r44e6cde2c834317a@mail.gmail.com> <1224052599.4011.4.camel@debian> <20081015064351.GA69937@icarus.home.lan> Content-Type: text/plain Date: Wed, 15 Oct 2008 09:03:00 +0200 Message-Id: <1224054180.4011.10.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, Dominique Goncalves Subject: Re: FreeBSD do dbus & hal 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, 15 Oct 2008 07:02:58 -0000 On Tue, 2008-10-14 at 23:43 -0700, Jeremy Chadwick wrote: > > Thanks, I followed the faq to the letter and it show a dialog when I > > insert a USB stick. Unfortunately when I insert an sdcard still nothing > > happens. > > Can anyone confirm that dbus and/or hald have anything to do with this? > (I thought those were specific to X...) > > When attaching a USB device to a USB port, the kernel will notice the > device has been added and will do the proper enumeration. For example, > when adding a USB hard disk or a USB pen drive, a umass device will be > found, then a daX device should be created (which is what you use to > access the disk; USB storage devices appear as SCSI disks). > > But in the case of a USB device that's already attached to the bus, e.g. > one of those 7-in-1 card readers, I cannot see how adding a SD/MMC card > would cause the hard disk to suddenly show up. > > You would need to run "camcontrol rescan 0", to cause the device to be > re-scanned for any media which was inserted. Thanks for the quick and extensive answer. I'll check the exact behavior of the 7-in-1 card reader somewhat more. -- Regards, Aniruddha From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 07:12: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 E286A1065688 for ; Wed, 15 Oct 2008 07:12: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 A962A8FC1B for ; Wed, 15 Oct 2008 07:12:57 +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 AF1641C00082 for ; Wed, 15 Oct 2008 09:12:56 +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 782151C00081 for ; Wed, 15 Oct 2008 09:12:56 +0200 (CEST) X-ME-UUID: 20081015071256492.782151C00081@mwinf6112.online.nl From: Aniruddha To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Wed, 15 Oct 2008 09:13:00 +0200 Message-Id: <1224054780.4011.20.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Subject: Under heavy load internet gets killed, only a reboot can bring it back 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: Wed, 15 Oct 2008 07:13:00 -0000 Each time my internet connection is under heavy lead it gets killed after a minute of 10. I tried the following commands to get the internet back up, but nothing helped: /etc/rc.d/netif restart ifconfig mynic down ifconfig mynic up Even worse the last time I issued a '/etc/rc.d/netif restart' my whole system hardlocked (wasn't responding to capslock presses). So far the only solution has been te reboot the computer. Is there any way I can prevent my internet connection from getting killed? How do I get it back up after it has been killed? Thanks in advance! -- Regards, Aniruddha From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 07: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 B8B37106568B for ; Wed, 15 Oct 2008 07:25:09 +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 9C7AB8FC24 for ; Wed, 15 Oct 2008 07:25:08 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA09.emeryville.ca.mail.comcast.net ([76.96.30.20]) by QMTA02.emeryville.ca.mail.comcast.net with comcast id SvNL1a0080S2fkCA2vR8qS; Wed, 15 Oct 2008 07:25:08 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA09.emeryville.ca.mail.comcast.net with comcast id SvR61a0012P6wsM8VvR6Pc; Wed, 15 Oct 2008 07:25:07 +0000 X-Authority-Analysis: v=1.0 c=1 a=nTowVmpFNmYA:10 a=QycZ5dHgAAAA:8 a=7cwMDQVMhX-CW1EDUkoA:9 a=Y6kqSN7vI-gqMJ-ouXQA:7 a=LSg3KtGGVnXMMHFmctQzPTxRU44A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 1B2D7C9419; Wed, 15 Oct 2008 00:25:06 -0700 (PDT) Date: Wed, 15 Oct 2008 00:25:06 -0700 From: Jeremy Chadwick To: Aniruddha Message-ID: <20081015072506.GA70832@icarus.home.lan> References: <1223935437.4511.5.camel@debian> <7daacbbe0810140314t18df6da5r44e6cde2c834317a@mail.gmail.com> <1224052599.4011.4.camel@debian> <20081015064351.GA69937@icarus.home.lan> <1224054180.4011.10.camel@debian> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1224054180.4011.10.camel@debian> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org, Dominique Goncalves Subject: Re: FreeBSD do dbus & hal 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, 15 Oct 2008 07:25:09 -0000 On Wed, Oct 15, 2008 at 09:03:00AM +0200, Aniruddha wrote: > On Tue, 2008-10-14 at 23:43 -0700, Jeremy Chadwick wrote: > > > Thanks, I followed the faq to the letter and it show a dialog when I > > > insert a USB stick. Unfortunately when I insert an sdcard still nothing > > > happens. > > > > Can anyone confirm that dbus and/or hald have anything to do with this? > > (I thought those were specific to X...) > > > > When attaching a USB device to a USB port, the kernel will notice the > > device has been added and will do the proper enumeration. For example, > > when adding a USB hard disk or a USB pen drive, a umass device will be > > found, then a daX device should be created (which is what you use to > > access the disk; USB storage devices appear as SCSI disks). > > > > But in the case of a USB device that's already attached to the bus, e.g. > > one of those 7-in-1 card readers, I cannot see how adding a SD/MMC card > > would cause the hard disk to suddenly show up. > > > > You would need to run "camcontrol rescan 0", to cause the device to be > > re-scanned for any media which was inserted. > > Thanks for the quick and extensive answer. I'll check the exact behavior of > the 7-in-1 card reader somewhat more. The card reader is already attached to the USB bus once the kernel loads. To find actual inserted/removed media, you will need to do the camcontrol command I listed off. Also: ALWAYS be sure to use "umount" to unmount the filesystems *BEFORE* removing the media. Not doing so will result in a kernel panic. Consider yourself warned. Supposedly this has been fixed in CURRENT/HEAD. -- | 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 15 07:26: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 940A61065686 for ; Wed, 15 Oct 2008 07:26:31 +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 7A3A48FC1A for ; Wed, 15 Oct 2008 07:26:31 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA07.emeryville.ca.mail.comcast.net ([76.96.30.59]) by QMTA05.emeryville.ca.mail.comcast.net with comcast id SvRZ1a00E1GXsucA5vSX7E; Wed, 15 Oct 2008 07:26:31 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA07.emeryville.ca.mail.comcast.net with comcast id SvSW1a0022P6wsM8TvSWT7; Wed, 15 Oct 2008 07:26:30 +0000 X-Authority-Analysis: v=1.0 c=1 a=N8TDiX_OOuEA:10 a=TiS0_Z0ZvfoA:10 a=QycZ5dHgAAAA:8 a=Hwht-nPmU0NZlp4dmCgA:9 a=rVAt6gsuiGqH84db9p6dd_QGVUYA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 26FF8C9419; Wed, 15 Oct 2008 00:26:30 -0700 (PDT) Date: Wed, 15 Oct 2008 00:26:30 -0700 From: Jeremy Chadwick To: Aniruddha Message-ID: <20081015072630.GA70901@icarus.home.lan> References: <1224054780.4011.20.camel@debian> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1224054780.4011.20.camel@debian> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Under heavy load internet gets killed, only a reboot can bring it back 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: Wed, 15 Oct 2008 07:26:31 -0000 On Wed, Oct 15, 2008 at 09:13:00AM +0200, Aniruddha wrote: > Each time my internet connection is under heavy lead it gets killed > after a minute of 10. I tried the following commands to get the internet > back up, but nothing helped: > > /etc/rc.d/netif restart > ifconfig mynic down > ifconfig mynic up > > Even worse the last time I issued a '/etc/rc.d/netif restart' my whole > system hardlocked (wasn't responding to capslock presses). So far the > only solution has been te reboot the computer. Is there any way I can > prevent my internet connection from getting killed? How do I get it back > up after it has been killed? Thanks in advance! What network card are you using? Can you provide output from the following commands? dmesg vmstat -i netstat -in -- | 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 15 07:27: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 E20371065689 for ; Wed, 15 Oct 2008 07:27:20 +0000 (UTC) (envelope-from sweetnavelorange@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.187]) by mx1.freebsd.org (Postfix) with ESMTP id 514408FC14 for ; Wed, 15 Oct 2008 07:27:20 +0000 (UTC) (envelope-from sweetnavelorange@gmail.com) Received: by ti-out-0910.google.com with SMTP id d27so1432802tid.3 for ; Wed, 15 Oct 2008 00:27:18 -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=4tglFK36wB/EoIaLZAPqYCE+40w8wkfAHtUi2Zq6PA8=; b=xhN+kdq/rGPfmkyGOvxJWuEZl+l9SaDs/xVjTyQO3OffukLCGb3zcRXnqSHe+PBvnR 1oEUamvL3yauzJLlBgtmp1DLqTbL04clGL/bCwupnmIQNDwND2yU57pBpd53n3xB+aqk gQDsc9dlR+Ur8nwuobiowTuKxR1GZPq7s3zOM= 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=MBz0q6mL13i8kOn0lItSo3L2URt5XxaAe2kHXQ0H/peWe/00SbstuOvz704QO/u9Xo sjCSFOkEcG0vdoy3Q2VOr+qc8pA/54lIVNroDIy2KMVrDX1jQKpuRU4HMEIy3nUgS+G3 Bww2Zd7jeUSO0hSVPOj7zI3gQ0NvD5VBMq+/Y= Received: by 10.110.47.17 with SMTP id u17mr454084tiu.49.1224055638693; Wed, 15 Oct 2008 00:27:18 -0700 (PDT) Received: by 10.110.105.2 with HTTP; Wed, 15 Oct 2008 00:27:18 -0700 (PDT) Message-ID: Date: Wed, 15 Oct 2008 20:27:18 +1300 From: "James Butler" To: "Manolis Kiagias" In-Reply-To: <48F32A5B.2010408@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48F32A5B.2010408@gmail.com> Cc: freebsd-questions@freebsd.org Subject: [fixed?] Re: Minor problems with Xfce X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 07:27:21 -0000 Just a followup... 2008/10/14 Manolis Kiagias : > James Butler wrote: >> >> Greetings all, >> >> I'm using 7-stable on my Thinkpad X31, with Xfce recently (2 weeks or >> so) installed from packages. I have two minor problems with Xfce, at >> least one of which could be HAL/DBUS related - I'd appreciate some >> advice to rule out misconfiguration on my part. >> >> Firstly, when I bring up the Xfce Exit dialog, the Restart and >> Shutdown buttons are greyed out. I have read the Xfce FAQ on the >> subject, which mentions that the session manager tries HAL shutdown >> methods first, then falls back to sudo. I don't have sudo installed, >> but I have both hald and dbus (system and session) running. >> >> Checking the xsession error log after an attempted Exit reveals: >> >> ** Message: xfsm-shutdown-helper.c:215: HAL not available or does not >> permit to shutdown/reboot the computer, trying sudo fallback instead. >> >> and (as expected): >> >> ** (xfce4-session:1066): WARNING **: sudo was not found. You will not >> be able to shutdown your system from within Xfce >> >> Looking at xfsm-shutdown-helper.c I see that the session manager >> probes HAL for shutdown support by trying a dummy method call: >> >> /* this is a simple trick to check whether we are allowed to >> * use the org.freedesktop.Hal.Device.SystemPowerManagement >> * interface without shutting down/rebooting now. >> */ >> message = dbus_message_new_method_call ("org.freedesktop.Hal", >> >> "/org/freedesktop/Hal/devices/computer", >> >> "org.freedesktop.Hal.Device.SystemPowerManagement", >> "ThisMethodMustNotExistInHal"); >> >> [snip] I decided to build xfce4-session from ports, and add a debugging printf() between these lines to see exactly which error dbus was returning. So I installed it, and selected 'Quit' from the menu while tail-ing the error log... and the shutdown/reboot buttons came up enabled!! It all seems to work fine now. Does this mean there's something wrong with the package builds? I guess I could file a PR. >> >> /* if we receive org.freedesktop.DBus.Error.UnknownMethod, then >> * we are allowed to shutdown/reboot the computer via HAL. >> */ >> if (strcmp (error.name, "org.freedesktop.DBus.Error.UnknownMethod") == 0) >> >> So out of curiosity I tried this manually and got the 'correct' error: >> >> $ dbus-send --system --print-reply --dest=org.freedesktop.Hal >> /org/freedesktop/Hal/devices/computer >> >> org.freedesktop.Hal.Device.SystemPowerManagement.ThisMethodMustNotExistInHal >> Error org.freedesktop.DBus.Error.UnknownMethod: Method >> "ThisMethodMustNotExistInHal" with signature "" on interface >> "org.freedesktop.Hal.Device.SystemPowerManagement" doesn't exist >> >> Now I don't claim to understand much of this, so any help would be >> greatly appreciated. I have provided the output of various commands >> from the freebsd-gnome Bugging guide at >> http://homepages.ihug.co.nz/~sweetnavelorange/. >> >> My other problem is possibly unrelated, but any actions I perform >> which would remove or update icons on the desktop (deleting a file, >> emptying Trash) don't take effect until xfdesktop is restarted or I >> log out and then in. Any ideas? Notably, automatic detection and >> mounting of USB drives, which seems to be a fragile area for many HAL >> users, works perfectly for me. >> >> Thanks in advance, >> -James Butler >> > > Insert something like the following in your > /usr/local/etc/PolicyKit/PolicyKit.conf (between the tags): > > > > > > > > > > > > > Have a look at /usr/local/share/PolicyKit/policy. Examine the contents of > the files there to see possible actions. > It may also help to have a look at this page, if you haven't already: > > http://www.freebsd.org/gnome/docs/halfaq.html > > I have some annoyances with XFCE myself, but I haven't bothered seriously to > fix them. I have the same no-icon-update problem on my desktop. I keep > pressing F5 as a workaround. Like in your case, USB flash drive mounting > works perfectly. Another thing that does not work for me, is clicking an > http link in an app: it will not open firefox. Weird, as firefox is selected > as the default / preferred browser. > Regards, James Butler From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 08:16: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 668AF1065688 for ; Wed, 15 Oct 2008 08:16: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 2E7408FC0C for ; Wed, 15 Oct 2008 08:16:15 +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 1Kq1YD-0003vK-DO; Wed, 15 Oct 2008 19:16:13 +1100 Received: from 58.96.43.196 (SquirrelMail authenticated user shinjii@exemail.com.au) by webmail.exetel.com.au with HTTP; Wed, 15 Oct 2008 19:16:13 +1100 (EST) Message-ID: <55644.58.96.43.196.1224058573.squirrel@webmail.exetel.com.au> Date: Wed, 15 Oct 2008 19:16:13 +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 Cc: kde@kde.org Subject: error compiling kdenetwork4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 08:16:16 -0000 Running AMD64 on FreeBSD7.1-PRERelease KDE4.1.2 .. Below is the error when trying to compile it----- usr/ports/net/kdenetwork4/work/kdenetwork-4.1.2/kopete/kopete/contactlist/kopetegroupviewitem.h:53: warning: by 'QString KopeteGroupViewItem::toolTip() const' In file included from /usr/ports/net/kdenetwork4/work/kdenetwork-4.1.2/kopete/kopete/contactlist/kopetemetacontactlvi.cpp:65: /usr/ports/net/kdenetwork4/work/kdenetwork-4.1.2/kopete/kopete/systemtray.h: In member function 'bool KopeteSystemTray::isBlinking() const': /usr/ports/net/kdenetwork4/work/kdenetwork-4.1.2/kopete/kopete/systemtray.h:57: error: 'movie' was not declared in this scope *** Error code 1 Stop in /usr/ports/net/kdenetwork4/work/kdenetwork-4.1.2/build. *** Error code 1 Stop in /usr/ports/net/kdenetwork4/work/kdenetwork-4.1.2/build. *** Error code 1 Stop in /usr/ports/net/kdenetwork4/work/kdenetwork-4.1.2/build. *** Error code 1 Stop in /usr/ports/net/kdenetwork4. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 08:29: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 18DAC106564A for ; Wed, 15 Oct 2008 08:29:27 +0000 (UTC) (envelope-from artifexor@gmail.com) Received: from mail-gx0-f16.google.com (mail-gx0-f16.google.com [209.85.217.16]) by mx1.freebsd.org (Postfix) with ESMTP id CCAFC8FC12 for ; Wed, 15 Oct 2008 08:29:26 +0000 (UTC) (envelope-from artifexor@gmail.com) Received: by gxk9 with SMTP id 9so5533295gxk.19 for ; Wed, 15 Oct 2008 01:29:26 -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=5mclSYMtxgS2FXlj8y1s+avLxAmDMN4Ffj7OMYZaiDE=; b=rXjzx1ZAsp7oy37cC7l/BUWQ8pOC7bG8R8R08y99yCxNjSddNhnfZls46zwGe8H2l2 WKyXzKKaqSQQFx50XisXH9MKbjdq+UifTAXpcPc96CjTuobcmf+S6YeP/uL8biNqs33i vc3ibh6TIevce+IoKyTzGQl/W/dJZWjI7Dj5w= 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=eZ1ABiiUsJYoTWcnjh2yTvzjNSWBBi5EVv3+urYIgUHvsdxer5hIstgbs5gdRUKJfy Yvs8qa5RgA13N2/88K6jZXzzoA3thMSpxyre4I58ZOZyneNdeH0n2rB2Z4wisirer6Di q/scHmU0IPhC+y5c1wyjtWPtmSz9zK9aL6tjI= Received: by 10.100.93.17 with SMTP id q17mr509529anb.104.1224057764485; Wed, 15 Oct 2008 01:02:44 -0700 (PDT) Received: by 10.100.225.20 with HTTP; Wed, 15 Oct 2008 01:02:44 -0700 (PDT) Message-ID: <9cbf3f070810150102l6babaf9aq99e6346c41d281c2@mail.gmail.com> Date: Wed, 15 Oct 2008 10:02:44 +0200 From: "Artifex Maximus" 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: Compiling curl 7.19 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 08:29:27 -0000 Hello! I would like to upgrade my curl to the latest 7.19.0 version because it is fixes some problems that 7.18.0 has. I would like to upgrade via ports system for future "compatibility". I have written to the port maintainer a week ago but no change. Is anyone have a folder ftp/curl for 7.19.0 with patches? I have tried to "adjust" 7.18.0 ftp/curl patches but I got errors. Although Curl 7.19.0 is successfully compiled without patches, I am not sure that version is fully working because some patches change system function calls. Bye, a:m From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 08:32: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 507FC10656A2 for ; Wed, 15 Oct 2008 08:32:31 +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 36ADC8FC14 for ; Wed, 15 Oct 2008 08:32:30 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA01.emeryville.ca.mail.comcast.net ([76.96.30.11]) by QMTA01.emeryville.ca.mail.comcast.net with comcast id SwXr1a0040EPchoA1wYWV5; Wed, 15 Oct 2008 08:32:30 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA01.emeryville.ca.mail.comcast.net with comcast id SwYV1a0052P6wsM8MwYWZ8; Wed, 15 Oct 2008 08:32:30 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=5KrNrgS8N6kl0pOtAn8A:9 a=LvXmkEiji95a6_R7YExA-F5P4QQA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id BBB5BC9419; Wed, 15 Oct 2008 01:32:29 -0700 (PDT) Date: Wed, 15 Oct 2008 01:32:29 -0700 From: Jeremy Chadwick To: Artifex Maximus Message-ID: <20081015083229.GA72163@icarus.home.lan> References: <9cbf3f070810150102l6babaf9aq99e6346c41d281c2@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9cbf3f070810150102l6babaf9aq99e6346c41d281c2@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Compiling curl 7.19 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 08:32:31 -0000 On Wed, Oct 15, 2008 at 10:02:44AM +0200, Artifex Maximus wrote: > Hello! > > I would like to upgrade my curl to the latest 7.19.0 version because > it is fixes some problems that 7.18.0 has. I would like to upgrade via > ports system for future "compatibility". I have written to the port > maintainer a week ago but no change. The ports maintainer timeout is 2 weeks for PRs; I'm not sure if you opened a PR on this request or not. With a PR, the maintainer needs to reply within 2 weeks. > Is anyone have a folder ftp/curl for 7.19.0 with patches? I have tried > to "adjust" 7.18.0 ftp/curl patches but I got errors. Although Curl > 7.19.0 is successfully compiled without patches, I am not sure that > version is fully working because some patches change system function > calls. I'll see about getting this port updated assuming roam@ doesn't have the time. -- | 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 15 08:39: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 B46D21065699 for ; Wed, 15 Oct 2008 08:39:37 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from web57005.mail.re3.yahoo.com (web57005.mail.re3.yahoo.com [66.196.97.109]) by mx1.freebsd.org (Postfix) with SMTP id 63F378FC1D for ; Wed, 15 Oct 2008 08:39:37 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: (qmail 99931 invoked by uid 60001); 15 Oct 2008 08:39:36 -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=zsiVKaZJbW5uZwC87Rm6aU2+ktnnYqxXr1DOiqVhTMGAKtHW6s8T+5TwICIcBIAD7QDRDvGpTkdCwjwqD+/0+IuAwPNmrYDTwgIWScqyKuKI9lz0LILb9Cc81/2yaiUtuk6DtWYEJKRJFW2d0Sb2KliGstF5MzCoksYuzITjV7k=; X-YMail-OSG: gW7NGnkVM1mP72AnahSsMO7Z1SqtymLr6TQ6hJxnyO9nTWEJ9Sd_ugMSxec_357X42AmQDMuJ9X2o8vvSK6v8683h_huy9vo5K4BB0WghAgAxpOqmOQULnCljiB5NbGtMFNAuTsTHbELLTNDf4nTXVr59A_2CYS55ryExGWMQaqC910EE8Ea9YPjYd3C01PsMxwRG5JpUyPbegE- Received: from [220.255.7.234] by web57005.mail.re3.yahoo.com via HTTP; Wed, 15 Oct 2008 01:39:36 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Wed, 15 Oct 2008 01:39:36 -0700 (PDT) From: Unga To: freebsd-questions@freebsd.org In-Reply-To: <465783.30538.qm@web57002.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <823557.99906.qm@web57005.mail.re3.yahoo.com> Subject: Re: An endian error [SOLVED] 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: Wed, 15 Oct 2008 08:39:37 -0000 --- On Tue, 10/14/08, Unga wrote: > From: Unga > Subject: An endian error > To: freebsd-questions@freebsd.org > Date: Tuesday, October 14, 2008, 8:00 PM > Hi all > > I'm trying to compile RELENG_7 kernel on i386. > > The "make buildkernel" develops an endian related > error: > > ===> xl (depend) > @ -> /usr/src/sys > machine -> /usr/src/sys/i386/include > awk -f @/tools/makeobjops.awk @/kern/device_if.m -h > awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h > awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h > awk -f @/tools/makeobjops.awk @/dev/mii/miibus_if.m -h > rm -f .depend > mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE > -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq > /usr/src/sys/modules/xl/../../pci/if_xl.c > ===> zfs (depend) > @ -> /usr/src/sys > machine -> /usr/src/sys/i386/include > awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p > awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q > awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h > rm -f .depend > mkdep -f .depend -a -nostdinc -DFREEBSD_NAMECACHE > -D_SOLARIS_C_SOURCE -D_KERNEL -DKLD_MODULE > -I/usr/src/sys/modules/zfs/../../cddl/compat/opensolaris > : > : > /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c > > /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/rpc/xdr.c:63:2: > error: #error "Only one of _BIG_ENDIAN or > _LITTLE_ENDIAN may be defined" > mkdep: compile failed > *** Error code 1 > > Stop in /usr/src/sys/modules/zfs. > *** Error code 1 > This was due to a wrong CFLAGS given. Without any CFLAGS, the "make buildkernel" passes this point. Regards Unga From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 09:34: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 D0F771065688 for ; Wed, 15 Oct 2008 09:34:43 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from mail.unitedinsong.com.au (202-172-126-254.cpe.qld-1.comcen.com.au [202.172.126.254]) by mx1.freebsd.org (Postfix) with ESMTP id 90DDA8FC17 for ; Wed, 15 Oct 2008 09:34:43 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [192.168.0.185]) by mail.unitedinsong.com.au (Postfix) with ESMTP id 48DDA4071 for ; Wed, 15 Oct 2008 19:17:58 +1000 (EST) From: Da Rock To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Wed, 15 Oct 2008 19:20:13 +1000 Message-Id: <1224062413.3458.21.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit Subject: Excuse me- just testing... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 09:34:43 -0000 Been having trouble posting with a new mail server (only to your server mind)- just trying sort it out. Cheers From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 10:13: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 BCACB106569B for ; Wed, 15 Oct 2008 10:13:49 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from mail.unitedinsong.com.au (202-172-126-254.cpe.qld-1.comcen.com.au [202.172.126.254]) by mx1.freebsd.org (Postfix) with ESMTP id 6806A8FC13 for ; Wed, 15 Oct 2008 10:13:49 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [192.168.0.185]) by mail.unitedinsong.com.au (Postfix) with ESMTP id EED4C4069 for ; Wed, 15 Oct 2008 20:13:57 +1000 (EST) From: Da Rock To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Wed, 15 Oct 2008 20:16:13 +1000 Message-Id: <1224065773.3458.25.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit 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, 15 Oct 2008 10:13:49 -0000 On Thu, 2008-10-09 at 10:52 -0400, Mikel King wrote: > 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. Here, here... From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 10:15: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 1F0A81065687 for ; Wed, 15 Oct 2008 10:15:34 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from mail.unitedinsong.com.au (202-172-126-254.cpe.qld-1.comcen.com.au [202.172.126.254]) by mx1.freebsd.org (Postfix) with ESMTP id CA6C78FC19 for ; Wed, 15 Oct 2008 10:15:33 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [192.168.0.185]) by mail.unitedinsong.com.au (Postfix) with ESMTP id 802914069 for ; Wed, 15 Oct 2008 20:15:42 +1000 (EST) From: Da Rock To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Wed, 15 Oct 2008 20:17:58 +1000 Message-Id: <1224065878.3458.27.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit 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, 15 Oct 2008 10:15:34 -0000 On Thu, 2008-10-09 at 07:50 -0700, 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. Maybe you should try the fedora list then? You'll be wishing you hadn't left this one... :) From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 10:16: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 351811065692 for ; Wed, 15 Oct 2008 10:16:36 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from mail.unitedinsong.com.au (202-172-126-254.cpe.qld-1.comcen.com.au [202.172.126.254]) by mx1.freebsd.org (Postfix) with ESMTP id D95F78FC20 for ; Wed, 15 Oct 2008 10:16:35 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [192.168.0.185]) by mail.unitedinsong.com.au (Postfix) with ESMTP id 3B97E4069 for ; Wed, 15 Oct 2008 20:16:44 +1000 (EST) From: Da Rock To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Wed, 15 Oct 2008 20:18:59 +1000 Message-Id: <1224065939.3458.29.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit 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, 15 Oct 2008 10:16:36 -0000 On Thu, 2008-10-09 at 10:03 -0500, Paul Schmehl wrote: > --On Thursday, October 09, 2008 09:34:02 -0500 Jerry McAllister > 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 > 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 > 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 > stomped off in a huff and spent the remainder of the vacation scowling in the > cabin. I refused to swim until she corrected the perceived injustice. > 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 > boating and the entire lovely vacation while I fumed in the cabin. > > Self-inflicted wounds are often the most painful of all. > You do present a very good point here, but in some ways the OP has a point. This list is by far the most supportive and helpful lists I've come across, it would be nice to keep this attribute and not slip off into the "geeks only" attitude. That said, the post probably should have been sent to the chat list and not here. I'm not trying to start an argument, just offer an outside perspective. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 10:17: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 BDAB91065687 for ; Wed, 15 Oct 2008 10:17:19 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from mail.unitedinsong.com.au (202-172-126-254.cpe.qld-1.comcen.com.au [202.172.126.254]) by mx1.freebsd.org (Postfix) with ESMTP id 7C3A98FC18 for ; Wed, 15 Oct 2008 10:17:19 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [192.168.0.185]) by mail.unitedinsong.com.au (Postfix) with ESMTP id 42F53409E for ; Wed, 15 Oct 2008 20:17:28 +1000 (EST) From: Da Rock To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Wed, 15 Oct 2008 20:19:43 +1000 Message-Id: <1224065983.3458.31.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit 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, 15 Oct 2008 10:17:19 -0000 > I love the direction this thread has taken. First, humorous, then it > will turn into flames. I bet all my US$:-) > Unfortunately that doesn't really offer much value anymore with the recent market downturn- got anything else to offer? Sorry- couldn't resist... :P From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 10:38: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 C8C8C106568B for ; Wed, 15 Oct 2008 10:38:24 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from mail.unitedinsong.com.au (202-172-126-254.cpe.qld-1.comcen.com.au [202.172.126.254]) by mx1.freebsd.org (Postfix) with ESMTP id 79BDB8FC28 for ; Wed, 15 Oct 2008 10:38:24 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [192.168.0.185]) by mail.unitedinsong.com.au (Postfix) with ESMTP id 5491E4069 for ; Wed, 15 Oct 2008 20:38:33 +1000 (EST) From: Da Rock To: freebsd-questions@freebsd.org In-Reply-To: References: <48F43EB1.40304@gmail.com> <20081014101733.GA47158@icarus.home.lan> Content-Type: text/plain Date: Wed, 15 Oct 2008 20:40:48 +1000 Message-Id: <1224067248.3458.34.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 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: Wed, 15 Oct 2008 10:38:24 -0000 On Tue, 2008-10-14 at 06:46 -0400, Michael Powell wrote: > Jeremy Chadwick wrote: > > > On Tue, Oct 14, 2008 at 04:55:11AM -0400, Michael Powell wrote: > [snip] > >> Next, you will want to configure your FreeBSD machine as a NAT gateway. > >> In your /etc/rc.conf you will want something like gateway_enable="YES" > >> and some form of firewall initialization[1]. The gateway_enable is what > >> allows the forwarding of packets between your rl0 and your rl1, but the > >> activation of NAT functionality is usually a function contained within a > >> firewall. So conceptually, the firewall will be "in between" rl0 and rl1. > >> > >> There are three different firewalls you can choose from. Configuring the > >> firewall is usually where the inexperienced get stuck. This subject > >> material is beyond the scope of this missive, and you would do well to > >> start reading in the Handbook. But essentially, when you configure NAT in > >> the firewall your rl0 (connected to the ISP) will be assigned a "Public" > >> IP address and the NAT function will translate between "Public" and > >> "Private". > > With respect to "NAT", the caveat here is the assumption that your DSL/Cable > modem is *not* already performing NAT. The situation you do not want to get > into is having *two* NATs. The content herein is assuming that the external > (rl0) interface is getting assigned a "Public" IP from the ISP. > If this is the case wouldn't the OP set router_enable=YES instead of gateway? From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 10:39: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 B19611065698 for ; Wed, 15 Oct 2008 10:39:26 +0000 (UTC) (envelope-from artifexor@gmail.com) Received: from mail-gx0-f16.google.com (mail-gx0-f16.google.com [209.85.217.16]) by mx1.freebsd.org (Postfix) with ESMTP id 5CF368FC12 for ; Wed, 15 Oct 2008 10:39:26 +0000 (UTC) (envelope-from artifexor@gmail.com) Received: by gxk9 with SMTP id 9so5619207gxk.19 for ; Wed, 15 Oct 2008 03:39: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:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=wqP3lBB1M4tK8t/IFG2yN2E9tkp1bFxfyzKHShyMebI=; b=RbSDVroOpC4tTEE08cPCNHpqJsfkIyP6skz4uAYOGjyp2vJdUherNPR70W3CdLmS0c JpRxj0Y7omqf6icDdgjWzt/9J0JisQ1RRla1bsDT9oDz7nThO6dNpPt7YvdZemlPgarQ XVjygvMsm/VhuVEj8nime3leE2GaAmWgPvYoo= 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=MmK8utGLrbCxZvGmoV6sNyYy66X8vvoKsrnPs7Yl/rWEk1nQ8ulvSFB6zokdekza4+ 6NMh2NJBOLHLB4hDKxpjwKi+uD/aglUhgJE4Iwlsl57HnKtUhmUuoShjqOgIRb63sFuO QDjea3kgQeFSWFgBXW+VKmCFuO2/GEqc3CNPk= Received: by 10.100.242.20 with SMTP id p20mr614964anh.75.1224067165357; Wed, 15 Oct 2008 03:39:25 -0700 (PDT) Received: by 10.100.225.20 with HTTP; Wed, 15 Oct 2008 03:39:25 -0700 (PDT) Message-ID: <9cbf3f070810150339w3446206et97e39cfd8de583f@mail.gmail.com> Date: Wed, 15 Oct 2008 12:39:25 +0200 From: "Artifex Maximus" To: "Jeremy Chadwick" In-Reply-To: <20081015083229.GA72163@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9cbf3f070810150102l6babaf9aq99e6346c41d281c2@mail.gmail.com> <20081015083229.GA72163@icarus.home.lan> Cc: freebsd-questions@freebsd.org Subject: Re: Compiling curl 7.19 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 10:39:26 -0000 Hello! On Wed, Oct 15, 2008 at 10:32 AM, Jeremy Chadwick wrote: > On Wed, Oct 15, 2008 at 10:02:44AM +0200, Artifex Maximus wrote: >> I would like to upgrade my curl to the latest 7.19.0 version because >> it is fixes some problems that 7.18.0 has. I would like to upgrade via >> ports system for future "compatibility". I have written to the port >> maintainer a week ago but no change. > The ports maintainer timeout is 2 weeks for PRs; I'm not sure if you > opened a PR on this request or not. With a PR, the maintainer needs to > reply within 2 weeks. I see and I do not know that. I wrote to him directly not through PR. Bye, a:m From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 10:54: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 24F19106568C for ; Wed, 15 Oct 2008 10:54:07 +0000 (UTC) (envelope-from kalpin@muliahost.com) Received: from smtp.velo.net.id (mx3.velo.net.id [203.153.103.161]) by mx1.freebsd.org (Postfix) with ESMTP id C883D8FC19 for ; Wed, 15 Oct 2008 10:54:06 +0000 (UTC) (envelope-from kalpin@muliahost.com) Received: from localhost (trilian.net2cyber.net [127.0.0.1]) by smtp.velo.net.id (Postfix) with ESMTP id E9D0F68164 for ; Wed, 15 Oct 2008 17:40:10 +0700 (WIT) X-Virus-Scanned: amavisd-new at velo.net.id Received: from smtp.velo.net.id ([127.0.0.1]) by localhost (trilian.net2cyber.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Xk1YqZG+zZFm for ; Wed, 15 Oct 2008 17:40:08 +0700 (WIT) Received: from [203.153.106.5] (DALnet.tranquillity.se [203.153.106.5]) by smtp.velo.net.id (Postfix) with ESMTP id 76C7568148 for ; Wed, 15 Oct 2008 17:40:07 +0700 (WIT) Message-ID: <48F5CBCA.402@muliahost.com> Date: Wed, 15 Oct 2008 17:54:02 +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 Subject: Auto Backup Data and Delete for Account Expired X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 10:54:07 -0000 Dear all, is there any routines to check if some accounts expire then system would like to do backup all data to certain directory and then delete the account. Any help would be appreciate. Thank you Kalpin Erlangga Silaen From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 10:59: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 7D75D1065686 for ; Wed, 15 Oct 2008 10:59:51 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from mail.unitedinsong.com.au (202-172-126-254.cpe.qld-1.comcen.com.au [202.172.126.254]) by mx1.freebsd.org (Postfix) with ESMTP id 3BD108FC13 for ; Wed, 15 Oct 2008 10:59:51 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [192.168.0.185]) by sunshine1.herveybayaustralia.com.au (Postfix) with ESMTP id 039814065 for ; Wed, 15 Oct 2008 10:22:14 +1000 (EST) From: Da Rock To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Wed, 15 Oct 2008 10:24:27 +1000 Message-Id: <1224030267.3458.2.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit Subject: Testing - my emails don't seem to be getting through X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 10:59:51 -0000 I've been getting a lot of rejections: Helo command rejected: Host not found (in reply to RCPT TO command). So now I'm running a test to see if this one will get through. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 11:10: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 19B521065693 for ; Wed, 15 Oct 2008 11:10:29 +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 B496F8FC1B for ; Wed, 15 Oct 2008 11:10:28 +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 Sz1E1a00L1GhbT859zAUke; Wed, 15 Oct 2008 11:10:28 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA07.westchester.pa.mail.comcast.net with comcast id SzAT1a0012P6wsM3TzATeH; Wed, 15 Oct 2008 11:10:28 +0000 X-Authority-Analysis: v=1.0 c=1 a=Hhtsdv2kQ0QA:10 a=7q5sDk5WlpcA:10 a=QycZ5dHgAAAA:8 a=fluuXUJysiPSbN1z5aIA:9 a=6Q1YV9s5uqdnSW9QvG0A:7 a=xfME53_yFIq-tsajFme_NH-cJHcA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id B9EA5C9419; Wed, 15 Oct 2008 04:10:26 -0700 (PDT) Date: Wed, 15 Oct 2008 04:10:26 -0700 From: Jeremy Chadwick To: Da Rock Message-ID: <20081015111026.GA75598@icarus.home.lan> References: <48F43EB1.40304@gmail.com> <20081014101733.GA47158@icarus.home.lan> <1224067248.3458.34.camel@laptop1.herveybayaustralia.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1224067248.3458.34.camel@laptop1.herveybayaustralia.com.au> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 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: Wed, 15 Oct 2008 11:10:29 -0000 On Wed, Oct 15, 2008 at 08:40:48PM +1000, Da Rock wrote: > > On Tue, 2008-10-14 at 06:46 -0400, Michael Powell wrote: > > Jeremy Chadwick wrote: > > > > > On Tue, Oct 14, 2008 at 04:55:11AM -0400, Michael Powell wrote: > > [snip] > > >> Next, you will want to configure your FreeBSD machine as a NAT gateway. > > >> In your /etc/rc.conf you will want something like gateway_enable="YES" > > >> and some form of firewall initialization[1]. The gateway_enable is what > > >> allows the forwarding of packets between your rl0 and your rl1, but the > > >> activation of NAT functionality is usually a function contained within a > > >> firewall. So conceptually, the firewall will be "in between" rl0 and rl1. > > >> > > >> There are three different firewalls you can choose from. Configuring the > > >> firewall is usually where the inexperienced get stuck. This subject > > >> material is beyond the scope of this missive, and you would do well to > > >> start reading in the Handbook. But essentially, when you configure NAT in > > >> the firewall your rl0 (connected to the ISP) will be assigned a "Public" > > >> IP address and the NAT function will translate between "Public" and > > >> "Private". > > > > With respect to "NAT", the caveat here is the assumption that your DSL/Cable > > modem is *not* already performing NAT. The situation you do not want to get > > into is having *two* NATs. The content herein is assuming that the external > > (rl0) interface is getting assigned a "Public" IP from the ISP. > > > > If this is the case wouldn't the OP set router_enable=YES instead of > gateway? No. router_enable causes routed(8) to run, which allows for announcements and withdraws of network routes via RIPv1/v2. This is something completely different than forwarding packets. What the OP wants is to route packets from his private LAN (e.g. 192.168.0.0/16) on to the Internet using NAT. That means he has to have a NAT gateway of some kind that forwards and translates packets. That means he needs gateway_enable="yes", which allows IPv4 forwarding to happen "through" the FreeBSD box. In layman's terms, it allows the FreeBSD box to be used a "Gateway" for other computers which are connected to it directly. -- | 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 15 11:12: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 4A5681065690 for ; Wed, 15 Oct 2008 11:12:58 +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 E7CC28FC19 for ; Wed, 15 Oct 2008 11:12:57 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA09.westchester.pa.mail.comcast.net ([76.96.62.20]) by QMTA04.westchester.pa.mail.comcast.net with comcast id Sxof1a00A0SCNGk54zCx5R; Wed, 15 Oct 2008 11:12:57 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA09.westchester.pa.mail.comcast.net with comcast id SzCw1a0012P6wsM3VzCwZV; Wed, 15 Oct 2008 11:12:57 +0000 X-Authority-Analysis: v=1.0 c=1 a=PtD21kIN02YA:10 a=cIMdafgjkmcA:10 a=QycZ5dHgAAAA:8 a=7M2cRT35spZpF1nr8XYA:9 a=bxY-QUbyKbHB-vJlbHgA:7 a=WQAWzIeYwp814T-VMJ4s5-PqFYoA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id ECE1FC9419; Wed, 15 Oct 2008 04:12:55 -0700 (PDT) Date: Wed, 15 Oct 2008 04:12:55 -0700 From: Jeremy Chadwick To: Da Rock Message-ID: <20081015111255.GB75598@icarus.home.lan> References: <1224030267.3458.2.camel@laptop1.herveybayaustralia.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1224030267.3458.2.camel@laptop1.herveybayaustralia.com.au> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Testing - my emails don't seem to be getting through X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 11:12:58 -0000 On Wed, Oct 15, 2008 at 10:24:27AM +1000, Da Rock wrote: > I've been getting a lot of rejections: Helo command rejected: Host not > found (in reply to RCPT TO command). So now I'm running a test to see if > this one will get through. I do not know why on earth you are testing this crap using a public mailing list, rather than mailing an account at Gmail or Hotmail or some such. Sorry to sound sour about it, but it's rude. The error you're receiving would be because your mail server during the SMTP handshake is saying "HELO i.am.bob" and the remote SMTP server attempts to resolve i.am.bob but cannot. By "i.am.bob", I *literally* mean "i.am.bob". If you're forwarding mail around on a private network on your LAN, your computer probably thinks its hostname is "myfreebsdbox.my.lan", which isn't a publicly-resolvable hostname. There are ways in sendmail and postfix to solve this 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 Wed Oct 15 11:13: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 61F541065699 for ; Wed, 15 Oct 2008 11:13:47 +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 0B98F8FC20 for ; Wed, 15 Oct 2008 11:13:46 +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 SyJU1a00416LCl054zDmB4; Wed, 15 Oct 2008 11:13:46 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA06.westchester.pa.mail.comcast.net with comcast id SzDl1a0032P6wsM3SzDm0p; Wed, 15 Oct 2008 11:13:46 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=vj03s2O5wTHsgWpSbpEA:9 a=woIkid2EUdbWfBWAvJrpf-mb3ZMA:4 a=EoioJ0NPDVgA:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 585A1C941C; Wed, 15 Oct 2008 04:13:45 -0700 (PDT) Date: Wed, 15 Oct 2008 04:13:45 -0700 From: Jeremy Chadwick To: Artifex Maximus Message-ID: <20081015111345.GC75598@icarus.home.lan> References: <9cbf3f070810150102l6babaf9aq99e6346c41d281c2@mail.gmail.com> <20081015083229.GA72163@icarus.home.lan> <9cbf3f070810150339w3446206et97e39cfd8de583f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9cbf3f070810150339w3446206et97e39cfd8de583f@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Compiling curl 7.19 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 11:13:47 -0000 On Wed, Oct 15, 2008 at 12:39:25PM +0200, Artifex Maximus wrote: > On Wed, Oct 15, 2008 at 10:32 AM, Jeremy Chadwick wrote: > > On Wed, Oct 15, 2008 at 10:02:44AM +0200, Artifex Maximus wrote: > >> I would like to upgrade my curl to the latest 7.19.0 version because > >> it is fixes some problems that 7.18.0 has. I would like to upgrade via > >> ports system for future "compatibility". I have written to the port > >> maintainer a week ago but no change. > > The ports maintainer timeout is 2 weeks for PRs; I'm not sure if you > > opened a PR on this request or not. With a PR, the maintainer needs to > > reply within 2 weeks. > I see and I do not know that. I wrote to him directly not through PR. Then AFAIK, the "timeout" does not apply. If you'd like to open a PR on for this upgrade, that would be ideal. Let me know the PR number so that in the case roam@ is busy, I can 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 Wed Oct 15 11:15: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 D5180106568F for ; Wed, 15 Oct 2008 11:15:36 +0000 (UTC) (envelope-from wtf.jlaine@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.233]) by mx1.freebsd.org (Postfix) with ESMTP id A71578FC17 for ; Wed, 15 Oct 2008 11:15:36 +0000 (UTC) (envelope-from wtf.jlaine@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so2400023rvf.43 for ; Wed, 15 Oct 2008 04:15: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 :content-transfer-encoding:content-disposition:references; bh=LJ/+wVLNNEVpCF27+DnbkecQkAoEmsKtRHNzHiYmUrQ=; b=jVS8cd9g0S7+hKjN9oOaooL8QAbF0zBkJTQC2TtLXIdb6jix4LFcDUixCSSWRNsebf GAUqD5V1S1oRBPXM8sSw/tXi5i9O7OAM0+SQeEvD1rnUmWMEURuHBaRPytT7tymafn8z tCd3ldSzj/OEJehAg9eEQaMGnuMAlF5tbpZGY= 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=oFxr++WbWdjj4lDpB4kEIrLC+Wc7NVdzzEqAKW2L9F7pylZ8ns87KNGttFMQTjV+gs IWBdOL3dzbvFgPXgIHZhYSNPJ3SgFSkI5IgoJzrc2201hWNGwDV2FqCu91FrtBwpQ439 F/ujA7n732QiM/NI4qHObNLW0n65VD+UtbeiE= Received: by 10.115.111.1 with SMTP id o1mr629518wam.114.1224069335836; Wed, 15 Oct 2008 04:15:35 -0700 (PDT) Received: by 10.114.182.3 with HTTP; Wed, 15 Oct 2008 04:15:35 -0700 (PDT) Message-ID: <2b98f2f70810150415l26b76c3dkda20e0d413a5301@mail.gmail.com> Date: Wed, 15 Oct 2008 15:15:35 +0400 From: "Jeff Laine" To: "Kirk Strauser" In-Reply-To: <200810131003.39049.kirk@strauser.com> 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> <20081011101033.K43229@wojtek.tensor.gdynia.pl> <200810131003.39049.kirk@strauser.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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 11:15:36 -0000 Agreed with t-u-t. I tried new pc-bsd7 on my old laptop (Celeron 1,6GHz/1.5G RAM/15GB dedicated on HDD/Intel GME video) and it runs rather good (with almost all desctop effects disabled). Not so blazing fast of course, but still enough for doing everyday stuff. -- Best regards, Jeff From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 11:17: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 B22EE1065689; Wed, 15 Oct 2008 11:17:55 +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 10C928FC23; Wed, 15 Oct 2008 11:17:54 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf6109.online.nl (SMTP Server) with ESMTP id DFA3C7000088; Wed, 15 Oct 2008 13:17:53 +0200 (CEST) Received: from [192.168.2.173] (s5590cf7b.adsl.wanadoo.nl [85.144.207.123]) by mwinf6109.online.nl (SMTP Server) with ESMTP id 339C27000086; Wed, 15 Oct 2008 13:17:53 +0200 (CEST) X-ME-UUID: 20081015111753211.339C27000086@mwinf6109.online.nl From: Aniruddha To: Jeremy Chadwick In-Reply-To: <20081015072630.GA70901@icarus.home.lan> References: <1224054780.4011.20.camel@debian> <20081015072630.GA70901@icarus.home.lan> Content-Type: multipart/mixed; boundary="=-EZ8hGkAIqeh+kNbQ1LPQ" Date: Wed, 15 Oct 2008 13:17:58 +0200 Message-Id: <1224069478.4247.7.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Cc: freebsd-questions@freebsd.org Subject: Re: Under heavy load internet gets killed, only a reboot can bring it back 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: Wed, 15 Oct 2008 11:17:55 -0000 --=-EZ8hGkAIqeh+kNbQ1LPQ Content-Type: text/plain Content-Transfer-Encoding: 7bit On Wed, 2008-10-15 at 00:26 -0700, Jeremy Chadwick wrote: > On Wed, Oct 15, 2008 at 09:13:00AM +0200, Aniruddha wrote: > > Each time my internet connection is under heavy lead it gets killed > > after a minute of 10. I tried the following commands to get the internet > > back up, but nothing helped: > > > > /etc/rc.d/netif restart > > ifconfig mynic down > > ifconfig mynic up > > > > Even worse the last time I issued a '/etc/rc.d/netif restart' my whole > > system hardlocked (wasn't responding to capslock presses). So far the > > only solution has been te reboot the computer. Is there any way I can > > prevent my internet connection from getting killed? How do I get it back > > up after it has been killed? Thanks in advance! > > What network card are you using? Can you provide output from the > following commands? > > dmesg > vmstat -i > netstat -in > I have a Marvell Yukon onboard nic. Here's the output: netstat -in Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll msk0 1500 29 0 25 0 0 msk0 1500 : 0 - 5 - - msk0 1500 192.168.2.0/2 192.168.2.111 16 - 14 - - fwe0* 1500 0 0 0 0 0 fwip0 1500 0 0 0 0 0 lo0 16384 0 0 0 0 0 lo0 16384 ::1/128 ::1 0 - 0 - - lo0 16384 ::1/64 0 - 0 - - lo0 16384 127.0.0.0/8 127.0.0.1 0 - 0 - - vmstat -i interrupt total rate irq17: atapci0+ 13 0 irq18: atapci1+ 1045 5 irq20: uhci0 ehci0 13462 69 irq21: fwohci0 3 0 irq23: atapci3 102718 529 cpu0: timer 386229 1990 irq256: mskc0 46 0 cpu1: timer 376453 1940 Total 879969 4535 --=-EZ8hGkAIqeh+kNbQ1LPQ Content-Disposition: attachment; filename=dmesg Content-Type: text/plain; name=dmesg; charset=utf-8 Content-Transfer-Encoding: 7bit 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-BETA #0: Sun Sep 7 13:49:18 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz (3001.18-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x10676 Stepping = 6 Features=0xbfebfbff Features2=0x8e3fd> AMD Features=0x20000000 AMD Features2=0x1 Cores per package: 2 real memory = 3220701184 (3071 MB) avail memory = 3146145792 (3000 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 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, bff00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci5: on pcib1 vgapci0: port 0xc800-0xc8ff mem 0xd0000000-0xdfffffff,0xff9f0000-0xff9fffff irq 16 at device 0.0 on pci5 pci5: at device 0.1 (no driver attached) pci0: at device 27.0 (no driver attached) pcib2: irq 16 at device 28.0 on pci0 pci4: on pcib2 pcib3: irq 19 at device 28.3 on pci0 pci3: on pcib3 mskc0: port 0xb800-0xb8ff mem 0xff8fc000-0xff8fffff irq 19 at device 0.0 on pci3 msk0: on mskc0 msk0: Ethernet address: 00:1e:8c:5a:62:da miibus0: on msk0 e1000phy0: PHY 0 on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto mskc0: [FILTER] pcib4: irq 17 at device 28.5 on pci0 pci2: on pcib4 atapci0: mem 0xff7fe000-0xff7fffff irq 17 at device 0.0 on pci2 atapci0: [ITHREAD] atapci0: AHCI Version 01.00 controller with 2 ports detected ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] atapci1: port 0xac00-0xac07,0xa880-0xa883,0xa800-0xa807,0xa480-0xa483,0xa400-0xa40f at device 0.1 on pci2 atapci1: [ITHREAD] ata4: on atapci1 ata4: [ITHREAD] uhci0: port 0xe480-0xe49f irq 20 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 0xe800-0xe81f irq 17 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 0xe880-0xe89f 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 uhci3: port 0xec00-0xec1f irq 19 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 0xffafbc00-0xffafbfff irq 20 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 uhub5: on uhub4 uhub5: single transaction translator uhub5: 4 ports with 4 removable, self powered umass0: on uhub5 umass1: on uhub4 pcib5: at device 30.0 on pci0 pci1: on pcib5 fwohci0: mem 0xff6ff800-0xff6fffff,0xff6f8000-0xff6fbfff irq 21 at device 3.0 on pci1 fwohci0: [FILTER] fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:1e:8c:00:00:15:36:44 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:1e:8c:15:36:44 fwe0: Ethernet address: 02:1e:8c:15:36:44 fwip0: on firewire0 fwip0: Firewire address: 00:1e:8c:00:00:15:36:44 @ 0xfffe00000000, S400, maxrec 2048 sbp0: on firewire0 dcons_crom0: on firewire0 dcons_crom0: bus_addr 0x1468000 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode isab0: at device 31.0 on pci0 isa0: on isab0 atapci2: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0 ata0: on atapci2 ata0: [ITHREAD] ata1: on atapci2 ata1: [ITHREAD] atapci3: port 0xe400-0xe407,0xe080-0xe083,0xe000-0xe007,0xdc00-0xdc03,0xd880-0xd88f mem 0xffafb800-0xffafbbff irq 23 at device 31.2 on pci0 atapci3: [ITHREAD] atapci3: AHCI Version 01.10 controller with 4 ports detected ata5: on atapci3 ata5: [ITHREAD] ata6: on atapci3 ata6: [ITHREAD] ata7: on atapci3 ata7: [ITHREAD] ata8: on atapci3 ata8: [ITHREAD] pci0: at device 31.3 (no driver attached) acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 cpu0: on acpi0 est0: on cpu0 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 61a092006000920 device_attach: est0 attach returned 6 p4tcc0: on cpu0 cpu1: on acpi0 est1: on cpu1 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 61a092006000920 device_attach: est1 attach returned 6 p4tcc1: on cpu1 acpi_button0: on acpi0 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] pmtimer0 on isa0 orm0: at iomem 0xcf800-0xd27ff pnpid ORM0000 on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ums0: on uhub0 ums0: 7 buttons and Z dir. ukbd0: on uhub0 kbd2 at ukbd0 ukbd1: on uhub0 kbd3 at ukbd1 uhid0: on uhub0 uhid1: on uhub1 Timecounters tick every 1.000 msec firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) acd0: DVDR at ata4-master UDMA66 ad10: 953869MB at ata5-master SATA300 ad14: 953869MB at ata7-master SATA300 ad16: 152627MB at ata8-master SATA300 GEOM_LABEL: Label for provider ad10s1 is ext2fs/data2. GEOM_LABEL: Label for provider ad14s2 is ext2fs/root. GEOM_LABEL: Label for provider ad14s3 is ext2fs/home. GEOM_LABEL: Label for provider ad14s4 is ext2fs/data. da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: 7712MB (15794176 512 byte sectors: 255H 63S/T 983C) SMP: AP CPU #1 Launched! da1 at umass-sim1 bus 1 target 0 lun 0 da1: Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present da2 at umass-sim1 bus 1 target 0 lun 1 da2: Removable Direct Access SCSI-0 device da2: 40.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present da3 at umass-sim1 bus 1 target 0 lun 2 da3: Removable Direct Access SCSI-0 device da3: 40.000MB/s transfers da3: Attempt to query device size failed: NOT READY, Medium not present da4 at umass-sim1 bus 1 target 0 lun 3 da4: Removable Direct Access SCSI-0 device da4: 40.000MB/s transfers da4: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from ufs:/dev/ad16s3a WARNING: / was not properly dismounted GEOM_LABEL: Label ext2fs/home removed. GEOM_LABEL: Label ext2fs/data removed. mskc0: Uncorrectable PCI Express error mskc0: Uncorrectable PCI Express error --=-EZ8hGkAIqeh+kNbQ1LPQ-- From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 11: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 9B2531065686; Wed, 15 Oct 2008 11:23:08 +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 BBFA38FC0C; Wed, 15 Oct 2008 11:23:07 +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 m9FBMx6T009326; Wed, 15 Oct 2008 13:22:59 +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 m9FBMxFw009323; Wed, 15 Oct 2008 13:22:59 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 15 Oct 2008 13:22:59 +0200 (CEST) From: Wojciech Puchar To: Aniruddha In-Reply-To: <1224069478.4247.7.camel@debian> Message-ID: <20081015132143.R9249@wojtek.tensor.gdynia.pl> References: <1224054780.4011.20.camel@debian> <20081015072630.GA70901@icarus.home.lan> <1224069478.4247.7.camel@debian> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Jeremy Chadwick , freebsd-questions@freebsd.org Subject: Re: Under heavy load internet gets killed, only a reboot can bring it back 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: Wed, 15 Oct 2008 11:23:08 -0000 >> netstat -in >> > I have a Marvell Yukon onboard nic. that's normal ;) but some NORMAL working NIC. you may try to disable some features on that nic too From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 11:31: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 E86AA106568B for ; Wed, 15 Oct 2008 11:31:03 +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 7983D8FC1E for ; Wed, 15 Oct 2008 11:31:03 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA13.westchester.pa.mail.comcast.net ([76.96.62.52]) by QMTA06.westchester.pa.mail.comcast.net with comcast id SyLS1a00F17dt5G56zWsmz; Wed, 15 Oct 2008 11:30:52 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA13.westchester.pa.mail.comcast.net with comcast id SzX11a00A2P6wsM3ZzX1sa; Wed, 15 Oct 2008 11:31:02 +0000 X-Authority-Analysis: v=1.0 c=1 a=N8TDiX_OOuEA:10 a=TiS0_Z0ZvfoA:10 a=QycZ5dHgAAAA:8 a=Cxw_0xoKYuq37kbWuS4A:9 a=0dJ02GW8OB-I1F93CdMA:7 a=yFkVGcN5oa2xArmMQjx4B4vFoBEA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 45A5CC9419; Wed, 15 Oct 2008 04:31:01 -0700 (PDT) Date: Wed, 15 Oct 2008 04:31:01 -0700 From: Jeremy Chadwick To: Aniruddha Message-ID: <20081015113101.GA76278@icarus.home.lan> References: <1224054780.4011.20.camel@debian> <20081015072630.GA70901@icarus.home.lan> <1224069478.4247.7.camel@debian> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1224069478.4247.7.camel@debian> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: PYUN Yong-Hyeon , freebsd-questions@freebsd.org Subject: Re: Under heavy load internet gets killed, only a reboot can bring it back 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: Wed, 15 Oct 2008 11:31:04 -0000 On Wed, Oct 15, 2008 at 01:17:58PM +0200, Aniruddha wrote: > On Wed, 2008-10-15 at 00:26 -0700, Jeremy Chadwick wrote: > > On Wed, Oct 15, 2008 at 09:13:00AM +0200, Aniruddha wrote: > > > Each time my internet connection is under heavy lead it gets killed > > > after a minute of 10. I tried the following commands to get the internet > > > back up, but nothing helped: > > > > > > /etc/rc.d/netif restart > > > ifconfig mynic down > > > ifconfig mynic up > > > > > > Even worse the last time I issued a '/etc/rc.d/netif restart' my whole > > > system hardlocked (wasn't responding to capslock presses). So far the > > > only solution has been te reboot the computer. Is there any way I can > > > prevent my internet connection from getting killed? How do I get it back > > > up after it has been killed? Thanks in advance! > > > > What network card are you using? Can you provide output from the > > following commands? > > > > dmesg > > vmstat -i > > netstat -in > > > I have a Marvell Yukon onboard nic. > > > Here's the output: > > netstat -in > > Name Mtu Network Address Ipkts Ierrs Opkts > Oerrs Coll > msk0 1500 29 0 25 0 0 > msk0 1500 : 0 - 5 - - > msk0 1500 192.168.2.0/2 192.168.2.111 16 - 14 - > - > fwe0* 1500 0 0 0 0 0 > fwip0 1500 0 0 0 0 0 > lo0 16384 0 0 0 > 0 0 > lo0 16384 ::1/128 ::1 0 - 0 > - - > lo0 16384 ::1/64 0 - 0 - - > lo0 16384 127.0.0.0/8 127.0.0.1 0 - 0 > - - This looks okay. I see no interface errors, which is good. > vmstat -i > interrupt total rate > irq17: atapci0+ 13 0 > irq18: atapci1+ 1045 5 > irq20: uhci0 ehci0 13462 69 > irq21: fwohci0 3 0 > irq23: atapci3 102718 529 > cpu0: timer 386229 1990 > irq256: mskc0 46 0 > cpu1: timer 376453 1940 > Total 879969 4535 msk(4) appears to be using MSI/MSI-X here. One thing worth trying would be to disable MSI/MSI-X. You can disable these by adding the following to your /boot/loader.conf : hw.pci.enable_msix="0" hw.pci.enable_msi="0" > 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-BETA #0: Sun Sep 7 13:49:18 UTC 2008 > root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz (3001.18-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x10676 Stepping = 6 > Features=0xbfebfbff > Features2=0x8e3fd> > AMD Features=0x20000000 > AMD Features2=0x1 > Cores per package: 2 > real memory = 3220701184 (3071 MB) > avail memory = 3146145792 (3000 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > ioapic0 irqs 0-23 on motherboard > kbd1 at kbdmux0 > 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, bff00000 (3) failed > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pcib1: irq 16 at device 1.0 on pci0 > pci5: on pcib1 > vgapci0: port 0xc800-0xc8ff mem 0xd0000000-0xdfffffff,0xff9f0000-0xff9fffff irq 16 at device 0.0 on pci5 > pci5: at device 0.1 (no driver attached) > pci0: at device 27.0 (no driver attached) > pcib2: irq 16 at device 28.0 on pci0 > pci4: on pcib2 > pcib3: irq 19 at device 28.3 on pci0 > pci3: on pcib3 > mskc0: port 0xb800-0xb8ff mem 0xff8fc000-0xff8fffff irq 19 at device 0.0 on pci3 > msk0: on mskc0 > msk0: Ethernet address: 00:1e:8c:5a:62:da > miibus0: on msk0 > e1000phy0: PHY 0 on miibus0 > e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto > mskc0: [FILTER] > pcib4: irq 17 at device 28.5 on pci0 > pci2: on pcib4 > atapci0: mem 0xff7fe000-0xff7fffff irq 17 at device 0.0 on pci2 > atapci0: [ITHREAD] > atapci0: AHCI Version 01.00 controller with 2 ports detected > ata2: on atapci0 > ata2: [ITHREAD] > ata3: on atapci0 > ata3: [ITHREAD] > atapci1: port 0xac00-0xac07,0xa880-0xa883,0xa800-0xa807,0xa480-0xa483,0xa400-0xa40f at device 0.1 on pci2 > atapci1: [ITHREAD] > ata4: on atapci1 > ata4: [ITHREAD] > uhci0: port 0xe480-0xe49f irq 20 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 0xe800-0xe81f irq 17 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 0xe880-0xe89f 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 > uhci3: port 0xec00-0xec1f irq 19 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 0xffafbc00-0xffafbfff irq 20 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 > uhub5: on uhub4 > uhub5: single transaction translator > uhub5: 4 ports with 4 removable, self powered > umass0: on uhub5 > umass1: on uhub4 > pcib5: at device 30.0 on pci0 > pci1: on pcib5 > fwohci0: mem 0xff6ff800-0xff6fffff,0xff6f8000-0xff6fbfff irq 21 at device 3.0 on pci1 > fwohci0: [FILTER] > fwohci0: OHCI version 1.10 (ROM=1) > fwohci0: No. of Isochronous channels is 4. > fwohci0: EUI64 00:1e:8c:00:00:15:36:44 > fwohci0: Phy 1394a available S400, 2 ports. > fwohci0: Link S400, max_rec 2048 bytes. > firewire0: on fwohci0 > fwe0: on firewire0 > if_fwe0: Fake Ethernet address: 02:1e:8c:15:36:44 > fwe0: Ethernet address: 02:1e:8c:15:36:44 > fwip0: on firewire0 > fwip0: Firewire address: 00:1e:8c:00:00:15:36:44 @ 0xfffe00000000, S400, maxrec 2048 > sbp0: on firewire0 > dcons_crom0: on firewire0 > dcons_crom0: bus_addr 0x1468000 > fwohci0: Initiate bus reset > fwohci0: BUS reset > fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci2: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0 > ata0: on atapci2 > ata0: [ITHREAD] > ata1: on atapci2 > ata1: [ITHREAD] > atapci3: port 0xe400-0xe407,0xe080-0xe083,0xe000-0xe007,0xdc00-0xdc03,0xd880-0xd88f mem 0xffafb800-0xffafbbff irq 23 at device 31.2 on pci0 > atapci3: [ITHREAD] > atapci3: AHCI Version 01.10 controller with 4 ports detected > ata5: on atapci3 > ata5: [ITHREAD] > ata6: on atapci3 > ata6: [ITHREAD] > ata7: on atapci3 > ata7: [ITHREAD] > ata8: on atapci3 > ata8: [ITHREAD] > pci0: at device 31.3 (no driver attached) > acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 > Timecounter "HPET" frequency 14318180 Hz quality 900 > cpu0: on acpi0 > est0: on cpu0 > est: CPU supports Enhanced Speedstep, but is not recognized. > est: cpu_vendor GenuineIntel, msr 61a092006000920 > device_attach: est0 attach returned 6 > p4tcc0: on cpu0 > cpu1: on acpi0 > est1: on cpu1 > est: CPU supports Enhanced Speedstep, but is not recognized. > est: cpu_vendor GenuineIntel, msr 61a092006000920 > device_attach: est1 attach returned 6 > p4tcc1: on cpu1 > acpi_button0: on acpi0 > 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] > pmtimer0 on isa0 > orm0: at iomem 0xcf800-0xd27ff pnpid ORM0000 on isa0 > atkbdc0: at port 0x60,0x64 on isa0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > atkbd0: [ITHREAD] > ppc0: parallel port not found. > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > sio1: configured irq 3 not in bitmap of probed irqs 0 > sio1: port may not be enabled > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > ums0: on uhub0 > ums0: 7 buttons and Z dir. > ukbd0: on uhub0 > kbd2 at ukbd0 > ukbd1: on uhub0 > kbd3 at ukbd1 > uhid0: on uhub0 > uhid1: on uhub1 > Timecounters tick every 1.000 msec > firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) > firewire0: bus manager 0 (me) > acd0: DVDR at ata4-master UDMA66 > ad10: 953869MB at ata5-master SATA300 > ad14: 953869MB at ata7-master SATA300 > ad16: 152627MB at ata8-master SATA300 > GEOM_LABEL: Label for provider ad10s1 is ext2fs/data2. > GEOM_LABEL: Label for provider ad14s2 is ext2fs/root. > GEOM_LABEL: Label for provider ad14s3 is ext2fs/home. > GEOM_LABEL: Label for provider ad14s4 is ext2fs/data. > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Removable Direct Access SCSI-2 device > da0: 40.000MB/s transfers > da0: 7712MB (15794176 512 byte sectors: 255H 63S/T 983C) > SMP: AP CPU #1 Launched! > da1 at umass-sim1 bus 1 target 0 lun 0 > da1: Removable Direct Access SCSI-0 device > da1: 40.000MB/s transfers > da1: Attempt to query device size failed: NOT READY, Medium not present > da2 at umass-sim1 bus 1 target 0 lun 1 > da2: Removable Direct Access SCSI-0 device > da2: 40.000MB/s transfers > da2: Attempt to query device size failed: NOT READY, Medium not present > da3 at umass-sim1 bus 1 target 0 lun 2 > da3: Removable Direct Access SCSI-0 device > da3: 40.000MB/s transfers > da3: Attempt to query device size failed: NOT READY, Medium not present > da4 at umass-sim1 bus 1 target 0 lun 3 > da4: Removable Direct Access SCSI-0 device > da4: 40.000MB/s transfers > da4: Attempt to query device size failed: NOT READY, Medium not present > Trying to mount root from ufs:/dev/ad16s3a > WARNING: / was not properly dismounted > GEOM_LABEL: Label ext2fs/home removed. > GEOM_LABEL: Label ext2fs/data removed. > mskc0: Uncorrectable PCI Express error > mskc0: Uncorrectable PCI Express error Those errors at the end of your dmesg don't look good; could be the sign of a NIC or motherboard that's going bad, or possibly a very strange driver problem. Adding Yong-Hyeon PYUN to this thread, since he helps maintain the msk(4) driver. Yong-Hyeon, do you know of any conditions where heavy network I/O could cause msk(4) to lock up or stop transmitting traffic, or possibly hard-lock on ifconfig down/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 Wed Oct 15 11: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 42F76106569F; Wed, 15 Oct 2008 11:40:53 +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 5BACD8FC13; Wed, 15 Oct 2008 11:40:52 +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 m9FBelgK009624; Wed, 15 Oct 2008 13:40:47 +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 m9FBejOC009621; Wed, 15 Oct 2008 13:40:46 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 15 Oct 2008 13:40:45 +0200 (CEST) From: Wojciech Puchar To: Jeremy Chadwick In-Reply-To: <20081015113101.GA76278@icarus.home.lan> Message-ID: <20081015133954.Y9605@wojtek.tensor.gdynia.pl> References: <1224054780.4011.20.camel@debian> <20081015072630.GA70901@icarus.home.lan> <1224069478.4247.7.camel@debian> <20081015113101.GA76278@icarus.home.lan> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: PYUN Yong-Hyeon , Aniruddha , freebsd-questions@freebsd.org Subject: Re: Under heavy load internet gets killed, only a reboot can bring it back 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: Wed, 15 Oct 2008 11:40:53 -0000 > > One thing worth trying would be to disable MSI/MSI-X. You can disable > these by adding the following to your /boot/loader.conf : > > hw.pci.enable_msix="0" > hw.pci.enable_msi="0" what's wrong in MSI interrupts? >> mskc0: Uncorrectable PCI Express error >> mskc0: Uncorrectable PCI Express error > > Those errors at the end of your dmesg don't look good; could be the sign > of a NIC or motherboard that's going bad, or possibly a very strange > driver problem. or just connectors should be cleaner or card isn't fitted well - contact problems. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 11:49: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 9B2881065687 for ; Wed, 15 Oct 2008 11:49:51 +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 5BBC08FC19 for ; Wed, 15 Oct 2008 11:49:50 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA08.emeryville.ca.mail.comcast.net ([76.96.30.12]) by QMTA07.emeryville.ca.mail.comcast.net with comcast id SyA11a0060FhH24A7zpqNU; Wed, 15 Oct 2008 11:49:50 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA08.emeryville.ca.mail.comcast.net with comcast id Szpp1a00B2P6wsM8UzppX7; Wed, 15 Oct 2008 11:49:50 +0000 X-Authority-Analysis: v=1.0 c=1 a=N8TDiX_OOuEA:10 a=TiS0_Z0ZvfoA:10 a=QycZ5dHgAAAA:8 a=vOf0ggQMuSXUGlx4LksA:9 a=q5gB_7RqAMST_KdbYhYK6k2G__cA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 53345C9419; Wed, 15 Oct 2008 04:49:49 -0700 (PDT) Date: Wed, 15 Oct 2008 04:49:49 -0700 From: Jeremy Chadwick To: Wojciech Puchar Message-ID: <20081015114949.GA76694@icarus.home.lan> References: <1224054780.4011.20.camel@debian> <20081015072630.GA70901@icarus.home.lan> <1224069478.4247.7.camel@debian> <20081015113101.GA76278@icarus.home.lan> <20081015133954.Y9605@wojtek.tensor.gdynia.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081015133954.Y9605@wojtek.tensor.gdynia.pl> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: PYUN Yong-Hyeon , Aniruddha , freebsd-questions@freebsd.org Subject: Re: Under heavy load internet gets killed, only a reboot can bring it back 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: Wed, 15 Oct 2008 11:49:51 -0000 On Wed, Oct 15, 2008 at 01:40:45PM +0200, Wojciech Puchar wrote: >> >> One thing worth trying would be to disable MSI/MSI-X. You can disable >> these by adding the following to your /boot/loader.conf : >> >> hw.pci.enable_msix="0" >> hw.pci.enable_msi="0" > > what's wrong in MSI interrupts? Nothing -- but there are known compatibility problems with MSI/MSI-X on some boards. I remember reading about this with regards to em(4) not too long ago. It's worth ruling out, especially since his problem is reproducible (if disabling MSI doesn't fix the problem, he can simply remove those two loader.conf variables and we've ruled out one possibility). >>> mskc0: Uncorrectable PCI Express error >>> mskc0: Uncorrectable PCI Express error >> >> Those errors at the end of your dmesg don't look good; could be the sign >> of a NIC or motherboard that's going bad, or possibly a very strange >> driver problem. > > or just connectors should be cleaner or card isn't fitted well - contact > problems. I'm under the impression his NIC is on-board, not a physical PCI-E card. -- | 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 15 12: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 766DA1065758 for ; Wed, 15 Oct 2008 12:00:28 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from web57006.mail.re3.yahoo.com (web57006.mail.re3.yahoo.com [66.196.97.110]) by mx1.freebsd.org (Postfix) with SMTP id 057F68FC19 for ; Wed, 15 Oct 2008 12:00:27 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: (qmail 65238 invoked by uid 60001); 15 Oct 2008 12:00:27 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=MOlFjNDZPVfj3ctBb8w9KP3ogGfKFe6zxyZR6rz6E1f4rQpEzqJbZBYHhVTCBCoNd0cZjApKiISRTlsZ3aSlXACODHLWDaKcwbekRAa+BkS8Fn4VpShl+irTNgfrcxAjXKdUqS9epUfEZ/41JQh6ANtpwETTLOFkhBZ7zR7gEfQ=; X-YMail-OSG: YDn3KW4VM1lrVvCU_w51PmTtn6jK.5fCMxDHz8eRA3ynNnmQ1Cd1z_h2nrUng.iGog1QG1tfDZdY0Lm2LCd6gq4ttfYT0HntE3BU3q9JwRKypPDhcKe0TtobDpbVCr_pHCQqPOy6ooty9AyTkjDoLq39kw-- Received: from [220.255.7.245] by web57006.mail.re3.yahoo.com via HTTP; Wed, 15 Oct 2008 05:00:27 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Wed, 15 Oct 2008 05:00:27 -0700 (PDT) From: Unga To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <203696.64458.qm@web57006.mail.re3.yahoo.com> Subject: locore.s: suffix or operands invalid for mov 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: Wed, 15 Oct 2008 12:00:28 -0000 Hi all I get an error when compiling the RELENG_7 kernel on i386. cc -c -x assembler-with-cpp -DLOCORE -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/i386/i386/locore.s /usr/src/sys/i386/i386/locore.s: Assembler messages: /usr/src/sys/i386/i386/locore.s:341: Error: suffix or operands invalid for `mov' /usr/src/sys/i386/i386/locore.s:358: Error: suffix or operands invalid for `mov' *** Error code 1 Btw, I'm using a gcc 4.2.1 patched by myself. This error doesn't happen using the gcc ship with FreeBSD. What could be the cause of this error? Appreciate your reply in this regard. Kind regards Unga From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 12:37: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 73E771065688 for ; Wed, 15 Oct 2008 12:37:40 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by mx1.freebsd.org (Postfix) with ESMTP id 38CB88FC1A for ; Wed, 15 Oct 2008 12:37:40 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by wa-out-1112.google.com with SMTP id n4so1627525wag.27 for ; Wed, 15 Oct 2008 05:37:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:date:from :to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=3I4im5YMpDLr4Kq5rZ2Zcun/vjvzNZ2plcRDvrmg2mE=; b=hRhhuPUoz8Xnbr5NqPndvo3WQtByw2W+Yk5rJ4zEt/RrY2AEiBWVuuFPM+PY0qe9vV NUI81NqTYgy67m3BZVGrdF2B1kpYk7Ge3ruCXDYcsHn/kXHDToIu3EEJ3Ff/IDYaxV/U Ida1b/u9MXbGsdSIBtpc6Zp5rJxmvno9UP8W4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=CVxbolOn7Rwt6xn2PNV4P5gFWjUfB5ittHKmDxWGhJ4Rs825t+np+uBVxL22PJz15w B2GwWXB8pzI849zTlIqopAGJgUjTc6kIJNmkkGMERyoTOXd5Y9hqtarFAz2e9oJiJY1l GnGVAoelZW/ZuRzaOxc09VY6OFFiH0QrPwkVg= Received: by 10.114.201.1 with SMTP id y1mr630826waf.216.1224072678774; Wed, 15 Oct 2008 05:11:18 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ([211.53.35.84]) by mx.google.com with ESMTPS id j26sm5483329waf.32.2008.10.15.05.11.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 15 Oct 2008 05:11:15 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id m9FC9Dej020955 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 15 Oct 2008 21:09:13 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id m9FC9Cg0020954; Wed, 15 Oct 2008 21:09:12 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Wed, 15 Oct 2008 21:09:11 +0900 From: PYUN Yong-Hyeon To: Jeremy Chadwick Message-ID: <20081015120911.GI14769@cdnetworks.co.kr> References: <1224054780.4011.20.camel@debian> <20081015072630.GA70901@icarus.home.lan> <1224069478.4247.7.camel@debian> <20081015113101.GA76278@icarus.home.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081015113101.GA76278@icarus.home.lan> User-Agent: Mutt/1.4.2.1i Cc: Aniruddha , freebsd-questions@FreeBSD.org Subject: Re: Under heavy load internet gets killed, only a reboot can bring it back up X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 12:37:40 -0000 On Wed, Oct 15, 2008 at 04:31:01AM -0700, Jeremy Chadwick wrote: > On Wed, Oct 15, 2008 at 01:17:58PM +0200, Aniruddha wrote: > > On Wed, 2008-10-15 at 00:26 -0700, Jeremy Chadwick wrote: > > > On Wed, Oct 15, 2008 at 09:13:00AM +0200, Aniruddha wrote: > > > > Each time my internet connection is under heavy lead it gets killed > > > > after a minute of 10. I tried the following commands to get the internet > > > > back up, but nothing helped: > > > > > > > > /etc/rc.d/netif restart > > > > ifconfig mynic down > > > > ifconfig mynic up > > > > > > > > Even worse the last time I issued a '/etc/rc.d/netif restart' my whole > > > > system hardlocked (wasn't responding to capslock presses). So far the > > > > only solution has been te reboot the computer. Is there any way I can > > > > prevent my internet connection from getting killed? How do I get it back > > > > up after it has been killed? Thanks in advance! > > > > > > What network card are you using? Can you provide output from the > > > following commands? > > > > > > dmesg > > > vmstat -i > > > netstat -in > > > > > I have a Marvell Yukon onboard nic. > > > > > > Here's the output: > > > > netstat -in > > > > Name Mtu Network Address Ipkts Ierrs Opkts > > Oerrs Coll > > msk0 1500 29 0 25 0 0 > > msk0 1500 : 0 - 5 - - > > msk0 1500 192.168.2.0/2 192.168.2.111 16 - 14 - > > - > > fwe0* 1500 0 0 0 0 0 > > fwip0 1500 0 0 0 0 0 > > lo0 16384 0 0 0 > > 0 0 > > lo0 16384 ::1/128 ::1 0 - 0 > > - - > > lo0 16384 ::1/64 0 - 0 - - > > lo0 16384 127.0.0.0/8 127.0.0.1 0 - 0 > > - - > > This looks okay. I see no interface errors, which is good. > > > vmstat -i > > interrupt total rate > > irq17: atapci0+ 13 0 > > irq18: atapci1+ 1045 5 > > irq20: uhci0 ehci0 13462 69 > > irq21: fwohci0 3 0 > > irq23: atapci3 102718 529 > > cpu0: timer 386229 1990 > > irq256: mskc0 46 0 > > cpu1: timer 376453 1940 > > Total 879969 4535 > > msk(4) appears to be using MSI/MSI-X here. > > One thing worth trying would be to disable MSI/MSI-X. You can disable > these by adding the following to your /boot/loader.conf : > > hw.pci.enable_msix="0" > hw.pci.enable_msi="0" The command above will disable all MSI/MSIX capability of box. If the intention is to disable MSI feature of Marvell network controller add "hw.msk.msi_disable="1" to /boot/loader.conf. But I don't think you need to disable MSI capability unless you have buggy PCI bridges. Without MSI msk(4) would normally share interrupts with other devices(e.g. USB). > > > 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-BETA #0: Sun Sep 7 13:49:18 UTC 2008 > > root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC > > Timecounter "i8254" frequency 1193182 Hz quality 0 > > CPU: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz (3001.18-MHz 686-class CPU) [...] > > mskc0: port 0xb800-0xb8ff mem 0xff8fc000-0xff8fffff irq 19 at device 0.0 on pci3 > > msk0: on mskc0 > > msk0: Ethernet address: 00:1e:8c:5a:62:da > > miibus0: on msk0 > > e1000phy0: PHY 0 on miibus0 > > e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto > > mskc0: [FILTER] This controller is known to buggy one. See below. [...] > > Trying to mount root from ufs:/dev/ad16s3a > > WARNING: / was not properly dismounted > > GEOM_LABEL: Label ext2fs/home removed. > > GEOM_LABEL: Label ext2fs/data removed. > > mskc0: Uncorrectable PCI Express error > > mskc0: Uncorrectable PCI Express error > > Those errors at the end of your dmesg don't look good; could be the sign > of a NIC or motherboard that's going bad, or possibly a very strange > driver problem. I guess the message above could be safely ignored. > > Adding Yong-Hyeon PYUN to this thread, since he helps maintain the > msk(4) driver. Yong-Hyeon, do you know of any conditions where heavy > network I/O could cause msk(4) to lock up or stop transmitting traffic, > or possibly hard-lock on ifconfig down/up? > I think workaround for the controller bug was committed to HEAD(SVN r183346). To original poster, would you try latest if_msk.c from HEAD?(Just copy if_msk.c/if_mskreg.h from HEAD to your box.) -- Regards, Pyun YongHyeon From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 12: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 408E1106568E for ; Wed, 15 Oct 2008 12:42:41 +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 21AB98FC14 for ; Wed, 15 Oct 2008 12:42:40 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA14.emeryville.ca.mail.comcast.net ([76.96.30.60]) by QMTA05.emeryville.ca.mail.comcast.net with comcast id SyMR1a00C1HpZEsA50ig0u; Wed, 15 Oct 2008 12:42:40 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA14.emeryville.ca.mail.comcast.net with comcast id T0if1a00G2P6wsM8a0ifWm; Wed, 15 Oct 2008 12:42:40 +0000 X-Authority-Analysis: v=1.0 c=1 a=N8TDiX_OOuEA:10 a=TiS0_Z0ZvfoA:10 a=QycZ5dHgAAAA:8 a=eXRUlHj2L5puhrKg5BAA:9 a=AJTvIAZcSwC1nK-4jrEA:7 a=9cTyQm7uOhAAZcbWFmyStkykkCoA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 90A86C9419; Wed, 15 Oct 2008 05:42:39 -0700 (PDT) Date: Wed, 15 Oct 2008 05:42:39 -0700 From: Jeremy Chadwick To: PYUN Yong-Hyeon Message-ID: <20081015124239.GA77704@icarus.home.lan> References: <1224054780.4011.20.camel@debian> <20081015072630.GA70901@icarus.home.lan> <1224069478.4247.7.camel@debian> <20081015113101.GA76278@icarus.home.lan> <20081015120911.GI14769@cdnetworks.co.kr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081015120911.GI14769@cdnetworks.co.kr> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Aniruddha , freebsd-questions@FreeBSD.org Subject: Re: Under heavy load internet gets killed, only a reboot can bring it back 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: Wed, 15 Oct 2008 12:42:41 -0000 On Wed, Oct 15, 2008 at 09:09:11PM +0900, PYUN Yong-Hyeon wrote: > On Wed, Oct 15, 2008 at 04:31:01AM -0700, Jeremy Chadwick wrote: > > On Wed, Oct 15, 2008 at 01:17:58PM +0200, Aniruddha wrote: > > > On Wed, 2008-10-15 at 00:26 -0700, Jeremy Chadwick wrote: > > > > On Wed, Oct 15, 2008 at 09:13:00AM +0200, Aniruddha wrote: > > > > > Each time my internet connection is under heavy lead it gets killed > > > > > after a minute of 10. I tried the following commands to get the internet > > > > > back up, but nothing helped: > > > > > > > > > > /etc/rc.d/netif restart > > > > > ifconfig mynic down > > > > > ifconfig mynic up > > > > > > > > > > Even worse the last time I issued a '/etc/rc.d/netif restart' my whole > > > > > system hardlocked (wasn't responding to capslock presses). So far the > > > > > only solution has been te reboot the computer. Is there any way I can > > > > > prevent my internet connection from getting killed? How do I get it back > > > > > up after it has been killed? Thanks in advance! > > > > > > > > What network card are you using? Can you provide output from the > > > > following commands? > > > > > > > > dmesg > > > > vmstat -i > > > > netstat -in > > > > > > > I have a Marvell Yukon onboard nic. > > > > > > > > > Here's the output: > > > > > > netstat -in > > > > > > Name Mtu Network Address Ipkts Ierrs Opkts > > > Oerrs Coll > > > msk0 1500 29 0 25 0 0 > > > msk0 1500 : 0 - 5 - - > > > msk0 1500 192.168.2.0/2 192.168.2.111 16 - 14 - > > > - > > > fwe0* 1500 0 0 0 0 0 > > > fwip0 1500 0 0 0 0 0 > > > lo0 16384 0 0 0 > > > 0 0 > > > lo0 16384 ::1/128 ::1 0 - 0 > > > - - > > > lo0 16384 ::1/64 0 - 0 - - > > > lo0 16384 127.0.0.0/8 127.0.0.1 0 - 0 > > > - - > > > > This looks okay. I see no interface errors, which is good. > > > > > vmstat -i > > > interrupt total rate > > > irq17: atapci0+ 13 0 > > > irq18: atapci1+ 1045 5 > > > irq20: uhci0 ehci0 13462 69 > > > irq21: fwohci0 3 0 > > > irq23: atapci3 102718 529 > > > cpu0: timer 386229 1990 > > > irq256: mskc0 46 0 > > > cpu1: timer 376453 1940 > > > Total 879969 4535 > > > > msk(4) appears to be using MSI/MSI-X here. > > > > One thing worth trying would be to disable MSI/MSI-X. You can disable > > these by adding the following to your /boot/loader.conf : > > > > hw.pci.enable_msix="0" > > hw.pci.enable_msi="0" > > The command above will disable all MSI/MSIX capability of box. > If the intention is to disable MSI feature of Marvell network > controller add "hw.msk.msi_disable="1" to /boot/loader.conf. > But I don't think you need to disable MSI capability unless you > have buggy PCI bridges. Without MSI msk(4) would normally share > interrupts with other devices(e.g. USB). Based on your below conclusion (about this particular Marvell NIC and/or PHY being buggy), I don't think disabling MSI/MSI-X will do any good. > > > mskc0: port 0xb800-0xb8ff mem 0xff8fc000-0xff8fffff irq 19 at device 0.0 on pci3 > > > msk0: on mskc0 > > > msk0: Ethernet address: 00:1e:8c:5a:62:da > > > miibus0: on msk0 > > > e1000phy0: PHY 0 on miibus0 > > > e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto > > > mskc0: [FILTER] > > This controller is known to buggy one. See below. > > > Adding Yong-Hyeon PYUN to this thread, since he helps maintain the > > msk(4) driver. Yong-Hyeon, do you know of any conditions where heavy > > network I/O could cause msk(4) to lock up or stop transmitting traffic, > > or possibly hard-lock on ifconfig down/up? > > > > I think workaround for the controller bug was committed to HEAD(SVN > r183346). To original poster, would you try latest if_msk.c from > HEAD?(Just copy if_msk.c/if_mskreg.h from HEAD to your box.) As usual, thanks much for the explanation. :-) -- | 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 15 12:47:13 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 86C971065696 for ; Wed, 15 Oct 2008 12:47:13 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2001:41c8:1:548a::2]) by mx1.freebsd.org (Postfix) with ESMTP id 250CB8FC13 for ; Wed, 15 Oct 2008 12:47:13 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 8989130126 for ; Wed, 15 Oct 2008 13:47:09 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on muon.cran.org.uk X-Spam-Level: X-Spam-Status: No, score=-2.3 required=8.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.3 Received: from [IPv6:2a01:348:10f:0:80b0:f5c9:af35:868f] (unknown [IPv6:2a01:348:10f:0:80b0:f5c9:af35:868f]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTP for ; Wed, 15 Oct 2008 13:47:09 +0100 (BST) Message-ID: <48F5E643.4090502@cran.org.uk> Date: Wed, 15 Oct 2008 13:46:59 +0100 From: Bruce Cran 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: Binding SCTP sockets to the IPv6 lopback address X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 12:47:13 -0000 I've been writing some basic SCTP socket code and have found that SCTP doesn't bind to the loopback IPv6 address - it binds to all the other addresses, including the external IPv6, link-local and IPv4 loopback addresses. Is there something about the way SCTP works that means it doesn't work over IPv6 loopback? The code I'm running calls getaddrinfo with the hints to set AF_UNSPEC, SOCK_STREAM, AI_PASSIVE and then it calls bind with the protocol set to IPPROTO_SCTP. -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 13:03: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 218761065687 for ; Wed, 15 Oct 2008 13:03:01 +0000 (UTC) (envelope-from jontheil@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.189]) by mx1.freebsd.org (Postfix) with ESMTP id C300F8FC12 for ; Wed, 15 Oct 2008 13:03:00 +0000 (UTC) (envelope-from jontheil@gmail.com) Received: by rn-out-0910.google.com with SMTP id j71so1206394rne.12 for ; Wed, 15 Oct 2008 06:02: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:mime-version:content-type; bh=KEqI8ZvvLS0GIBHUDSdNaibzVxaRRBzI3VStz6AD6wI=; b=HZyrW2U4SghULwL6zM8HkhH4F8euyb0ceYhd1F2uXmOCmVtmcGQj7QHfuTt2J9R2Sg AdNsBAd8q+NaKIZfzB5iJamwc407xDBAqajGLKC6p//0xY3eFLcRkMCvtDHJFzGsv9Hl 1OUtKz3uuQkEIhPWm3OymrlUFsYVspFRZ0i3I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=F9sX1kt4cgoGeCOFft7e+vepfk/2pPDAWVGpczgRpOPOzx8Tzm5h1LEPzWoNwswjHi OW18mZJtA8/UVaZrpsy7PDfi0Tx8AtwSFGW2o/NmvMuwoJ+Kob/K2btktlp4MNN/C2ct YvH5QsM1/w8m8zwc14ZzSRH8sJi5sn+GmOLkg= Received: by 10.142.253.21 with SMTP id a21mr450578wfi.254.1224073945378; Wed, 15 Oct 2008 05:32:25 -0700 (PDT) Received: by 10.142.166.7 with HTTP; Wed, 15 Oct 2008 05:32:25 -0700 (PDT) Message-ID: <8f82c35c0810150532o52ae50b5kef7c685fd23a0af4@mail.gmail.com> Date: Wed, 15 Oct 2008 14:32:25 +0200 From: "Jon Theil Nielsen" To: freebsd-hardware@freebsd.org, freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: RAID 5 - serious problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 13:03:01 -0000 Dear list, Something happened that I don't think should be possible. I "lost" all thre= e disks in my RAID 5 array simultaneously after approx. two years without any problem. And I fear I will never see my data again. But I really hope some of you clever persons can give me some hints. My system is: FreeBSD 7.0-Release Intel D975XBX2 motherboard (Intel Matrix Storage Technology) 3 WD Raptor 74 GB in a RAID 5 array 1 WD Raptor 150 GB as a standalone disk / and /var mounted on the standalone,, /usr on the RAID 5 I believe what happened was that one of the disks didn't respond for such a long time, that is was marked "bad". And afterwards the same thing happened for the other disks. When I try to boot the system, all three disks are marked "Offline". The BIOS utility for the host controller has no option to force the disks back online. I have another machine with a S5000XVN board and Intel Embedded Server RAID Technology II. The BIOS configuration utility on this board has the option to force offline drives back online. I am very desperate not to lose my data, so I don't know if I dare moving the drives to the other machine and try to make them online again. Do you think I should try? In general, are there any procedures I can try to recover my RAID array? Or is the offline status definitive =96 and all data definitely lost? I guess some specialized companies have the expertise to recover lost data from a broken RAID array, but I don't know. And I don't know the price of such a service. I would really, really appreciate any kind of help. I have backups of most user data, but not of the system configuration (and maybe even not the databases). This is of course pretty stupid. In the future, I will not rely on RAID 5 as a foolproof solution=85 Regards, Jon --=20 *Jon Theil Nielsen* From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 13:15: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 41F46106568B for ; Wed, 15 Oct 2008 13:15:49 +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 DA6518FC28 for ; Wed, 15 Oct 2008 13:15:48 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA10.westchester.pa.mail.comcast.net ([76.96.62.28]) by QMTA04.westchester.pa.mail.comcast.net with comcast id SygZ1a0070cZkys541FoBS; Wed, 15 Oct 2008 13:15:48 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA10.westchester.pa.mail.comcast.net with comcast id T1Fn1a0022P6wsM3W1Fnwo; Wed, 15 Oct 2008 13:15:48 +0000 X-Authority-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=UV6sav73y7oDCZ_Wws4A:9 a=_Q7zBhiPLe1hFzpyASgA:7 a=5UM9TN26u2vDGyM83IlpunOeVcMA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 9C39CC9419; Wed, 15 Oct 2008 06:15:46 -0700 (PDT) Date: Wed, 15 Oct 2008 06:15:46 -0700 From: Jeremy Chadwick To: Jon Theil Nielsen Message-ID: <20081015131546.GA78192@icarus.home.lan> References: <8f82c35c0810150532o52ae50b5kef7c685fd23a0af4@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8f82c35c0810150532o52ae50b5kef7c685fd23a0af4@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: RAID 5 - serious problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 13:15:49 -0000 On Wed, Oct 15, 2008 at 02:32:25PM +0200, Jon Theil Nielsen wrote: > Dear list, > > Something happened that I don't think should be possible. I "lost" all three > disks in my RAID 5 array simultaneously after approx. two years without any > problem. And I fear I will never see my data again. But I really hope some > of you clever persons can give me some hints. My system is: > FreeBSD 7.0-Release > Intel D975XBX2 motherboard (Intel Matrix Storage Technology) Are you using the Matrix Storage Technology? If so, immediately stop. FreeBSD's support for this is very, very bad, and will nearly guarantee data loss. There are many of us who have tried it, and it's known to be buggy on FreeBSD. http://wiki.freebsd.org/JeremyChadwick/ATA_issues_and_troubleshooting I recommend you stop using this feature and start using ZFS or gvinum for what you need. > 3 WD Raptor 74 GB in a RAID 5 array > 1 WD Raptor 150 GB as a standalone disk > / and /var mounted on the standalone,, /usr on the RAID 5 > I believe what happened was that one of the disks didn't respond for such a > long time, that is was marked "bad". And afterwards the same thing happened > for the other disks. When I try to boot the system, all three disks are > marked "Offline". > The BIOS utility for the host controller has no option to force the disks > back online. > I have another machine with a S5000XVN board and Intel Embedded Server RAID > Technology II. The BIOS configuration utility on this board has the option > to force offline drives back online. Any "embedded" RAID is usually BIOS RAID managed by either a "software RAID IC" (e.g. an IC on the motherboard that handles LBA/CHS addressing for creating a pseudo-array, but the OS still does all of the management and does not off-load anything). > I am very desperate not to lose my data, so I don't know if I dare moving > the drives to the other machine and try to make them online again. Do you > think I should try? No, but you might not have any choice. It honestly sounds like the metadata on your disks is in a bad state. I would recommend you try booting Linux, since their support for MatrixRAID is significantly better/more advanced. Ideally, you should be able to bring the RAID members back online using their tools, then reboot into FreeBSD and cross your fingers that your data becomes accessible. Once accessible, offload it somewhere immediately, and follow my above recommendations. > In general, are there any procedures I can try to recover my RAID array? Or > is the offline status definitive ? and all data definitely lost? I guess > some specialized companies have the expertise to recover lost data from a > broken RAID array, but I don't know. And I don't know the price of such a > service. > I would really, really appreciate any kind of help. > I have backups of most user data, but not of the system configuration (and > maybe even not the databases). This is of course pretty stupid. In the > future, I will not rely on RAID 5 as a foolproof solution? RAID 5 is a fine solution, but you have learned a very valuable lesson, one which I will enclose in asterisks to make it crystal clear: ***RAID DOES NOT REPLACE BACKUPS***. Repeat this mantra over and over until you accept 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 Wed Oct 15 13:18: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 282131065688 for ; Wed, 15 Oct 2008 13:18:45 +0000 (UTC) (envelope-from the.lists@mgm51.com) Received: from oneyou.mcmli.com (oneyou.mcmli.com [216.194.67.64]) by mx1.freebsd.org (Postfix) with ESMTP id 040E98FC1A for ; Wed, 15 Oct 2008 13:18:44 +0000 (UTC) (envelope-from the.lists@mgm51.com) Received: from sentry.24cl.com (c-24-34-142-182.hsd1.ct.comcast.net [24.34.142.182]) by oneyou.mcmli.com (Postfix) with ESMTP id 5303A28447; Wed, 15 Oct 2008 08:59:23 -0400 (EDT) Received: from LTMMiller (unknown [64.206.110.254]) by sentry.24cl.com (Postfix) with ESMTP id 007FA3F7053; Wed, 15 Oct 2008 08:59:21 -0400 (EDT) Message-ID: <200810150859220476.004F128D@sentry.24cl.com> In-Reply-To: <87iqrvijcn.fsf@thingy.bsdly.net> References: <48F43EB1.40304@gmail.com> <87iqrvijcn.fsf@thingy.bsdly.net> X-Mailer: Courier 3.50.00.00.1081 (http://www.rosecitysoftware.com) (P) Date: Wed, 15 Oct 2008 08:59:22 -0400 From: "Mike M" To: unxfbsdi@gmail.com, freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 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: Wed, 15 Oct 2008 13:18:45 -0000 On 10/14/2008 at 12:03 PM peter@bsdly.net wrote: |Manish Jain writes: | |> I am poor at networking and need a little bit of help. My dad has a |> Windows 2000 machine with a network card but does not have a connection |> to the internet. | |When I started writing this, I thought that system had been abandoned |already, but it appears Microsoft will offer a measure of support |through next year sometime. Do see that the system gets properly |updated before you put it on the net. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Important advice. I also run Windows 2000 on my home PCs (the ones that are still in the= Windows world). Security updates are still being offered by Microsoft= (through next June, I believe). It is important to bring your Dad's install of Windows 2000 up to the= current patch level. A visit to Windows Update will do the trick for the= Windows software. Other things (e.g., Adobe's Flash, Acrobat reader,= etc.) may also need a version refresh to be safe for the 'Net. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 13:51: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 6B37E1065697 for ; Wed, 15 Oct 2008 13:51:21 +0000 (UTC) (envelope-from jontheil@gmail.com) Received: from mail-gx0-f16.google.com (mail-gx0-f16.google.com [209.85.217.16]) by mx1.freebsd.org (Postfix) with ESMTP id 06D1E8FC2D for ; Wed, 15 Oct 2008 13:51:20 +0000 (UTC) (envelope-from jontheil@gmail.com) Received: by gxk9 with SMTP id 9so5810216gxk.19 for ; Wed, 15 Oct 2008 06:51:20 -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=l2kHMvM97C5DYg7fokOs7MLvU4uoZsoo1Fx7TLAQppY=; b=Luk7SxmT28BOP7BXkNGkKRZg2bowVzK3+hKUiYc+gc1vRrR9bFf3pId5fvZ2I3QFAh 5PmlCg9O2HNTua4ehxyq0u5MN3vEO6b6jGAyKqRxDJT7RYdq11FuDGC7Oi567TjhOXT8 MhDSAwfeyUSS5Ko6DQ8pvBiHpiLaL0Cfcr4BY= 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=G+Xk1rrlQC36z7TcGuledZ35lt1WDRzBob6JxFhuE63QPkjq8ALEWzWuX+e7RRuoKL RIuUPgubTu2uuEnULj+/XwCJKvjXlKCyTp5vkjLGdpP5kcZJPqbhz2AmxoJWmpDXdtkv hbQe2EAcdb5Cx1UP6kLxA37c8LemHSUeCOLIk= Received: by 10.142.142.14 with SMTP id p14mr508002wfd.114.1224078679276; Wed, 15 Oct 2008 06:51:19 -0700 (PDT) Received: by 10.142.166.7 with HTTP; Wed, 15 Oct 2008 06:51:19 -0700 (PDT) Message-ID: <8f82c35c0810150651r78387c2fle2868f69e9eeb7d3@mail.gmail.com> Date: Wed, 15 Oct 2008 15:51:19 +0200 From: "Jon Theil Nielsen" To: "Jeremy Chadwick" In-Reply-To: <20081015131546.GA78192@icarus.home.lan> MIME-Version: 1.0 References: <8f82c35c0810150532o52ae50b5kef7c685fd23a0af4@mail.gmail.com> <20081015131546.GA78192@icarus.home.lan> 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, freebsd-hardware@freebsd.org Subject: Re: RAID 5 - serious problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 13:51:21 -0000 2008/10/15 Jeremy Chadwick > On Wed, Oct 15, 2008 at 02:32:25PM +0200, Jon Theil Nielsen wrote: > > Dear list, > > > > Something happened that I don't think should be possible. I "lost" all > three > > disks in my RAID 5 array simultaneously after approx. two years without > any > > problem. And I fear I will never see my data again. But I really hope > some > > of you clever persons can give me some hints. My system is: > > FreeBSD 7.0-Release > > Intel D975XBX2 motherboard (Intel Matrix Storage Technology) > > Are you using the Matrix Storage Technology? If so, immediately stop. > FreeBSD's support for this is very, very bad, and will nearly guarantee > data loss. There are many of us who have tried it, and it's known to > be buggy on FreeBSD. > > http://wiki.freebsd.org/JeremyChadwick/ATA_issues_and_troubleshooting > > I recommend you stop using this feature and start using ZFS or gvinum > for what you need. > > > 3 WD Raptor 74 GB in a RAID 5 array > > 1 WD Raptor 150 GB as a standalone disk > > / and /var mounted on the standalone,, /usr on the RAID 5 > > I believe what happened was that one of the disks didn't respond for such > a > > long time, that is was marked "bad". And afterwards the same thing > happened > > for the other disks. When I try to boot the system, all three disks are > > marked "Offline". > > The BIOS utility for the host controller has no option to force the disks > > back online. > > I have another machine with a S5000XVN board and Intel Embedded Server > RAID > > Technology II. The BIOS configuration utility on this board has the > option > > to force offline drives back online. > > Any "embedded" RAID is usually BIOS RAID managed by either a "software > RAID IC" (e.g. an IC on the motherboard that handles LBA/CHS addressing > for creating a pseudo-array, but the OS still does all of the management > and does not off-load anything). > > > I am very desperate not to lose my data, so I don't know if I dare moving > > the drives to the other machine and try to make them online again. Do you > > think I should try? > > No, but you might not have any choice. It honestly sounds like the > metadata on your disks is in a bad state. > > I would recommend you try booting Linux, since their support for > MatrixRAID is significantly better/more advanced. Ideally, you should > be able to bring the RAID members back online using their tools, then > reboot into FreeBSD and cross your fingers that your data becomes > accessible. Once accessible, offload it somewhere immediately, and > follow my above recommendations. > > > In general, are there any procedures I can try to recover my RAID array? > Or > > is the offline status definitive ? and all data definitely lost? I guess > > some specialized companies have the expertise to recover lost data from a > > broken RAID array, but I don't know. And I don't know the price of such a > > service. > > I would really, really appreciate any kind of help. > > I have backups of most user data, but not of the system configuration > (and > > maybe even not the databases). This is of course pretty stupid. In the > > future, I will not rely on RAID 5 as a foolproof solution? > > RAID 5 is a fine solution, but you have learned a very valuable lesson, > one which I will enclose in asterisks to make it crystal clear: ***RAID > DOES NOT REPLACE BACKUPS***. Repeat this mantra over and over until you > accept 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 | > > Hi Jeremy, Thanks for your advice. As I understand you, the best bet is to boot from Linux and try to repair. And that trying with my other controller might be the second best. Would it be an idea to try to run som sort of Linux live cd? I have no machines with Linux installed. Regards, Jon From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 14:01: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 DC35D1065689 for ; Wed, 15 Oct 2008 14:01:34 +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 46FF28FC19 for ; Wed, 15 Oct 2008 14:01:33 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA07.westchester.pa.mail.comcast.net ([76.96.62.59]) by QMTA07.westchester.pa.mail.comcast.net with comcast id T1j41a0081GhbT85721WAr; Wed, 15 Oct 2008 14:01:30 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA07.westchester.pa.mail.comcast.net with comcast id T21Y1a00A2P6wsM3T21YrV; Wed, 15 Oct 2008 14:01:33 +0000 X-Authority-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=13gg8GOAAAAA:8 a=c19Cxo7CAAAA:8 a=QyXUC8HyAAAA:8 a=FP58Ms26AAAA:8 a=rcdGqiBRAAAA:8 a=20KFwNOVAAAA:8 a=P7DMDhc3pOiLJlbKp-YA:9 a=l5qL7pwSq4JdnYJ_awIA:7 a=pkOxA1-X8vowPZ7D2HdgoPqOQRsA:4 a=EoioJ0NPDVgA:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 1DF2DC9419; Wed, 15 Oct 2008 07:01:32 -0700 (PDT) Date: Wed, 15 Oct 2008 07:01:32 -0700 From: Jeremy Chadwick To: Jon Theil Nielsen Message-ID: <20081015140132.GB78986@icarus.home.lan> References: <8f82c35c0810150532o52ae50b5kef7c685fd23a0af4@mail.gmail.com> <20081015131546.GA78192@icarus.home.lan> <8f82c35c0810150651r78387c2fle2868f69e9eeb7d3@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8f82c35c0810150651r78387c2fle2868f69e9eeb7d3@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: RAID 5 - serious problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 14:01:34 -0000 On Wed, Oct 15, 2008 at 03:51:19PM +0200, Jon Theil Nielsen wrote: > 2008/10/15 Jeremy Chadwick > > > On Wed, Oct 15, 2008 at 02:32:25PM +0200, Jon Theil Nielsen wrote: > > > Dear list, > > > > > > Something happened that I don't think should be possible. I "lost" all > > three > > > disks in my RAID 5 array simultaneously after approx. two years without > > any > > > problem. And I fear I will never see my data again. But I really hope > > some > > > of you clever persons can give me some hints. My system is: > > > FreeBSD 7.0-Release > > > Intel D975XBX2 motherboard (Intel Matrix Storage Technology) > > > > Are you using the Matrix Storage Technology? If so, immediately stop. > > FreeBSD's support for this is very, very bad, and will nearly guarantee > > data loss. There are many of us who have tried it, and it's known to > > be buggy on FreeBSD. > > > > http://wiki.freebsd.org/JeremyChadwick/ATA_issues_and_troubleshooting > > > > I recommend you stop using this feature and start using ZFS or gvinum > > for what you need. > > > > > 3 WD Raptor 74 GB in a RAID 5 array > > > 1 WD Raptor 150 GB as a standalone disk > > > / and /var mounted on the standalone,, /usr on the RAID 5 > > > I believe what happened was that one of the disks didn't respond for such > > a > > > long time, that is was marked "bad". And afterwards the same thing > > happened > > > for the other disks. When I try to boot the system, all three disks are > > > marked "Offline". > > > The BIOS utility for the host controller has no option to force the disks > > > back online. > > > I have another machine with a S5000XVN board and Intel Embedded Server > > RAID > > > Technology II. The BIOS configuration utility on this board has the > > option > > > to force offline drives back online. > > > > Any "embedded" RAID is usually BIOS RAID managed by either a "software > > RAID IC" (e.g. an IC on the motherboard that handles LBA/CHS addressing > > for creating a pseudo-array, but the OS still does all of the management > > and does not off-load anything). > > > > > I am very desperate not to lose my data, so I don't know if I dare moving > > > the drives to the other machine and try to make them online again. Do you > > > think I should try? > > > > No, but you might not have any choice. It honestly sounds like the > > metadata on your disks is in a bad state. > > > > I would recommend you try booting Linux, since their support for > > MatrixRAID is significantly better/more advanced. Ideally, you should > > be able to bring the RAID members back online using their tools, then > > reboot into FreeBSD and cross your fingers that your data becomes > > accessible. Once accessible, offload it somewhere immediately, and > > follow my above recommendations. > > > > > In general, are there any procedures I can try to recover my RAID array? > > Or > > > is the offline status definitive ? and all data definitely lost? I guess > > > some specialized companies have the expertise to recover lost data from a > > > broken RAID array, but I don't know. And I don't know the price of such a > > > service. > > > I would really, really appreciate any kind of help. > > > I have backups of most user data, but not of the system configuration > > (and > > > maybe even not the databases). This is of course pretty stupid. In the > > > future, I will not rely on RAID 5 as a foolproof solution? > > > > RAID 5 is a fine solution, but you have learned a very valuable lesson, > > one which I will enclose in asterisks to make it crystal clear: ***RAID > > DOES NOT REPLACE BACKUPS***. Repeat this mantra over and over until you > > accept 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 | > > > > Hi Jeremy, > > Thanks for your advice. As I understand you, the best bet is to boot from > Linux and try to repair. > And that trying with my other controller might be the second best. You risk corrupting or losing the metadata using another controller. The two controllers are *not* identical; just because they're Intel doesn't mean they speak the same metadata format. :-) > Would it be an idea to try to run som sort of Linux live cd? I have > no machines with Linux installed. Yes, absolutely. I assume any Linux distribution which uses libata should be able to speak to Intel MatrixRAID disks and BIOSes. Linux refers to this feature as "Intel SATA RAID" or "Intel Software RAID", Any present-day 2.6.x kernel uses libata; the newer the better. I do not know how to manipulate or interface with MatrixRAID on Linux. You will have to Google for how to get support in that regard. My quick searches turn up the following useful links: http://linux-ata.org/faq-sata-raid.html http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Bios_(Onboard)_RAID http://www.intel.com/support/chipsets/imsm/sb/cs-020663.htm http://iswraid.sourceforge.net/ (old/outdated from the look of it) It would appear the tool to manipulate the metadata is called dmraid(8). I believe the -a flag is what you might require, but I do not know for sure: http://www.linuxmanpages.com/man8/dmraid.8.php http://people.redhat.com/~heinzm/sw/dmraid/ Final note: I *will not* be held responsible for what happens if you use any of these tools. I have absolutely no experience doing any of what I've described; I'm simply articulating the route I'd choose in this scenario. -- | 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 15 14:24: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 985701065698; Wed, 15 Oct 2008 14:24:18 +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 5A66E8FC40; Wed, 15 Oct 2008 14:24:18 +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 102617000084; Wed, 15 Oct 2008 16:24:17 +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 AA2897000081; Wed, 15 Oct 2008 16:24:16 +0200 (CEST) X-ME-UUID: 20081015142416697.AA2897000081@mwinf6302.online.nl From: Aniruddha To: pyunyh@gmail.com In-Reply-To: <20081015120911.GI14769@cdnetworks.co.kr> References: <1224054780.4011.20.camel@debian> <20081015072630.GA70901@icarus.home.lan> <1224069478.4247.7.camel@debian> <20081015113101.GA76278@icarus.home.lan> <20081015120911.GI14769@cdnetworks.co.kr> Content-Type: text/plain Date: Wed, 15 Oct 2008 16:24:21 +0200 Message-Id: <1224080661.5407.2.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Cc: Jeremy Chadwick , freebsd-questions@FreeBSD.org Subject: Re: Under heavy load internet gets killed, only a reboot can bring it back 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: Wed, 15 Oct 2008 14:24:18 -0000 On Wed, 2008-10-15 at 21:09 +0900, PYUN Yong-Hyeon wrote: > This controller is known to buggy one. See below. > > [...] > > > > Trying to mount root from ufs:/dev/ad16s3a > > > WARNING: / was not properly dismounted > > > GEOM_LABEL: Label ext2fs/home removed. > > > GEOM_LABEL: Label ext2fs/data removed. > > > mskc0: Uncorrectable PCI Express error > > > mskc0: Uncorrectable PCI Express error > > > > Those errors at the end of your dmesg don't look good; could be the sign > > of a NIC or motherboard that's going bad, or possibly a very strange > > driver problem. > > I guess the message above could be safely ignored. > > > > > Adding Yong-Hyeon PYUN to this thread, since he helps maintain the > > msk(4) driver. Yong-Hyeon, do you know of any conditions where heavy > > network I/O could cause msk(4) to lock up or stop transmitting traffic, > > or possibly hard-lock on ifconfig down/up? > > > > I think workaround for the controller bug was committed to HEAD(SVN > r183346). To original poster, would you try latest if_msk.c from > HEAD?(Just copy if_msk.c/if_mskreg.h from HEAD to your box.) > You got to help me a little bit here. How do I achieve this? Btw I am running FreeBSD 7.1 BETA. Doesn't that mean the fix is already applied? -- Regards, Aniruddha From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 14: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 74B4E1065686 for ; Wed, 15 Oct 2008 14:43:07 +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 BEE858FC19 for ; Wed, 15 Oct 2008 14:43:05 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA08.westchester.pa.mail.comcast.net ([76.96.62.12]) by QMTA05.westchester.pa.mail.comcast.net with comcast id T01H1a00b0Fqzac552j4bf; Wed, 15 Oct 2008 14:43:04 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA08.westchester.pa.mail.comcast.net with comcast id T2j21a00V2P6wsM3U2j3rz; Wed, 15 Oct 2008 14:43:03 +0000 X-Authority-Analysis: v=1.0 c=1 a=N8TDiX_OOuEA:10 a=TiS0_Z0ZvfoA:10 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=51ejADNUC1aTnqtFNosA:9 a=uGd3njErsF3NOlW2Iz4A:7 a=XcskRUPnzRbfwrPM_L-oqj3tGEwA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 99AAFC9419; Wed, 15 Oct 2008 07:43:02 -0700 (PDT) Date: Wed, 15 Oct 2008 07:43:02 -0700 From: Jeremy Chadwick To: Aniruddha Message-ID: <20081015144302.GA80037@icarus.home.lan> References: <1224054780.4011.20.camel@debian> <20081015072630.GA70901@icarus.home.lan> <1224069478.4247.7.camel@debian> <20081015113101.GA76278@icarus.home.lan> <20081015120911.GI14769@cdnetworks.co.kr> <1224080661.5407.2.camel@debian> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1224080661.5407.2.camel@debian> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: pyunyh@gmail.com, freebsd-questions@FreeBSD.org Subject: Re: Under heavy load internet gets killed, only a reboot can bring it back 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: Wed, 15 Oct 2008 14:43:07 -0000 On Wed, Oct 15, 2008 at 04:24:21PM +0200, Aniruddha wrote: > On Wed, 2008-10-15 at 21:09 +0900, PYUN Yong-Hyeon wrote: > > This controller is known to buggy one. See below. > > > > [...] > > > > > > Trying to mount root from ufs:/dev/ad16s3a > > > > WARNING: / was not properly dismounted > > > > GEOM_LABEL: Label ext2fs/home removed. > > > > GEOM_LABEL: Label ext2fs/data removed. > > > > mskc0: Uncorrectable PCI Express error > > > > mskc0: Uncorrectable PCI Express error > > > > > > Those errors at the end of your dmesg don't look good; could be the sign > > > of a NIC or motherboard that's going bad, or possibly a very strange > > > driver problem. > > > > I guess the message above could be safely ignored. > > > > > > > > Adding Yong-Hyeon PYUN to this thread, since he helps maintain the > > > msk(4) driver. Yong-Hyeon, do you know of any conditions where heavy > > > network I/O could cause msk(4) to lock up or stop transmitting traffic, > > > or possibly hard-lock on ifconfig down/up? > > > > > > > I think workaround for the controller bug was committed to HEAD(SVN > > r183346). To original poster, would you try latest if_msk.c from > > HEAD?(Just copy if_msk.c/if_mskreg.h from HEAD to your box.) > > > > You got to help me a little bit here. How do I achieve this? Btw I am > running FreeBSD 7.1 BETA. Doesn't that mean the fix is already applied? FreeBSD 7.1-BETA == RELENG_7 in CVS tag terms. FreeBSD 8.0 == CURRENT == HEAD in CVS tag terms. You need to download the data at the below links and save the output in files shown on the left: if_msk.c -- http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/msk/if_msk.c?rev=1.34;content-type=text%2Fplain if_mskreg.h -- http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/msk/if_mskreg.h?rev=1.13;content-type=text%2Fplain These are the msk(4) Ethernet driver in CURRENT. *DO NOT* visit those web pages in a browser then copy/paste the output into a file. Use a tool like fetch(1) or wget(1) to do the work for you. It's not hard. Once you have those two files, you will need to replace your existing driver code with the new files. First make backups: $ cd /usr/src/sys/dev/msk $ cp -p if_msk.c if_msk.c.orig $ cp -p if_mskreg.h if_mskreg.h.orig Now replace the old code with the new: $ cd /wherever/you/downloaded/the/files $ mv if_msk.c /usr/src/sys/dev/msk $ mv if_mskreg.h /usr/src/sys/dev/msk Now you need to rebuild the kernel and install the kernel. In this scenario, when building the kernel DO NOT use any "-j" flags, as if the driver doesn't build, you'll be scrolling back through pages of data to try and find out why. If the build doesn't occur successfully, paste the errors you get here and one of us can try to figure out why. Otherwise, installkernel and reboot. You should not need to build world for 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 Wed Oct 15 17:06: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 BAF28106568C; Wed, 15 Oct 2008 17:06:47 +0000 (UTC) (envelope-from scuba@centroin.com.br) Received: from raptor.centroin.com (asmtp.centroin.com [64.251.27.169]) by mx1.freebsd.org (Postfix) with ESMTP id 776EC8FC1A; Wed, 15 Oct 2008 17:06:46 +0000 (UTC) (envelope-from scuba@centroin.com.br) Received: from trex.centroin.com.br (trex.centroin.com.br [200.225.63.134]) (authenticated bits=0) by raptor.centroin.com (8.14.3/8.13.8/CIP SMTP HOST) with ESMTP id m9FHBVmA099623; Wed, 15 Oct 2008 14:11:47 -0300 (BRT) (envelope-from scuba@centroin.com.br) Date: Wed, 15 Oct 2008 14:06:44 -0300 (BRT) From: scuba@centroin.com.br Sender: mpsouza@trex.centroin.com.br To: Steve Polyack In-Reply-To: <48F502D4.8040109@comcast.net> Message-ID: <20081015135223.P17609@trex.centroin.com.br> References: <20080909154356.D66065@trex.centroin.com.br> <48C6FBCC.20603@za.verizonbusiness.com> <20081014003842.K46975@trex.centroin.com.br> <20081014043503.GB40021@icarus.home.lan> <20081014015746.X78747@trex.centroin.com.br> <20081014051431.GA40846@icarus.home.lan> <20081014023446.K78747@trex.centroin.com.br> <20081014061159.GA41939@icarus.home.lan> <20081014091431.A49137@trex.centroin.com.br> <48F502D4.8040109@comcast.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Jeremy Chadwick , freebsd-questions@FreeBSD.org, Todor Genov , jhb@FreeBSD.org Subject: Re: FreeBSD 7 and ESXi (SOLVED) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 17:06:47 -0000 All, It's working with FBSD amd64 now. I had to enable the "Virtualization Technology" on the PowerEdge BIOS. Although I understand that this option could enhance some virtualization features, it's not clear that I HAVE to enable it to run 64bits OSs. Thank you all, - Marcelo On Tue, 14 Oct 2008, Steve Polyack wrote: |scuba@centroin.com.br wrote: |> Jeremy, |> |> On Mon, 13 Oct 2008, Jeremy Chadwick wrote: |> |> |On Tue, Oct 14, 2008 at 02:44:13AM -0300, scuba@centroin.com.br wrote: |> |> On Mon, 13 Oct 2008, Jeremy Chadwick wrote: |> |> |> |On Tue, Oct 14, 2008 at 02:04:07AM -0300, scuba@centroin.com.br wrote: |> |> |> Jeremy, |> |> |> |> |> On Mon, 13 Oct 2008, Jeremy Chadwick wrote: |> |> |> |> |> |On Tue, Oct 14, 2008 at 12:54:26AM -0300, scuba@centroin.com.br |> wrote: |> |> |> |> I'm facing some problems trying to install a FreeBSD |> |> |> |> 7.0-RELEASE-amd64, on a Dell PE 2950III, dual Xeon Quad core, 8GB RAM. |> |> |> |> After (FBSD) boot menu count down, it shows a dump of the CPU |> |> |> |> registers and a message: BTX Halted. No matter what is changed in VM |> |> |> |> setup. |> |> |> | |> |> |> |Can you please download the 7.1-BETA2 ISO and try it instead? There |> |> |> |have been changes to the FreeBSD boot loader between 7.0-RELEASE and |> |> |> |7.1-BETA2 which may improve things for you. The 7.1-BETA2 ISOs are |> |> |> |available here: |> |> |> |> |> The same behavior with 7.1-BETA2. |> |> | |> |> |I'm not sure what to do at this point, or what to tell you, since the |> |> |kernel can't even load. |> |> | |> |> |Are you installing this off of CD, and is the CD drive hooked up to |> |> |the PC via ATA/SATA (rather than USB or something else)? |> |> |> It's a bit more complicated, since, for some reason the Vmware |> |> client is unable to boot the VM from CD on the host server. It's |> |> booting an ISO image on the client machine. |> |> I already read something saying that it's a known issue of the |> ESXi. |> |> Without the virtulization layer, the amd64 CD boots without |> problems |> in this machine. | |> |Ah, so the truth comes out... :-) |> | |> |Have you brought this fact up with the VMware folks? They're quite a |> |nice bunch, I wouldn't be surprised if they provided a hotfix for you |> |for this problem. |> |> This will be my next step. |> I sent here first, once it's a boot loader problem, specific to 64bits |> version of Fbsd. I thought someone could faced the same and came with a howto |> to workaround. |> |> Thank you anyway. :-) |> |> - Marcelo |> |> _______________________________________________ |> |Also, to eliminate any chance of this being hardware-related, I am also running |this on a Dell PE2950 with a similar configuration. | - Marcelo From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 17:13: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 3D2161065691 for ; Wed, 15 Oct 2008 17:13:21 +0000 (UTC) (envelope-from nejc@skoberne.net) Received: from mail.tnode.com (common.tnode.com [91.185.203.243]) by mx1.freebsd.org (Postfix) with ESMTP id EC7398FC1E for ; Wed, 15 Oct 2008 17:13:20 +0000 (UTC) (envelope-from nejc@skoberne.net) Received: from localhost (mail.jail [10.1.1.10]) by mail.tnode.com (Postfix) with ESMTP id 6354C21FD9E7; Wed, 15 Oct 2008 19:13:18 +0200 (CEST) Received: from mail.tnode.com ([10.1.1.10]) by localhost (mail.tnode.com [10.1.1.10]) (amavisd-maia, port 10024) with ESMTP id 18081-09; Wed, 15 Oct 2008 19:13:17 +0200 (CEST) Received: from [192.168.15.2] (lk.84.20.249.154.dc.cable.static.lj-kabel.net [84.20.249.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: nejc@skoberne.net) by mail.tnode.com (Postfix) with ESMTPSA id 9613F21FD975; Wed, 15 Oct 2008 19:13:17 +0200 (CEST) Message-ID: <48F624AC.3070208@skoberne.net> Date: Wed, 15 Oct 2008 19:13:16 +0200 From: Nejc Skoberne User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Jon Theil Nielsen References: <8f82c35c0810150532o52ae50b5kef7c685fd23a0af4@mail.gmail.com> In-Reply-To: <8f82c35c0810150532o52ae50b5kef7c685fd23a0af4@mail.gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard Cc: User Questions Subject: Re: RAID 5 - serious problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 17:13:21 -0000 Hello, > the drives to the other machine and try to make them online again. Do you > think I should try? If I were you, I would first buy/get a XXX GB SATA drive, create a filesystem there and copy all three disks block-by-block as three separate files (which will be the size of the disks). This way you'll still have the backup of your screwed up drives somewhere in case something goes even more wrong. However, I don't think your data is *physically* lost. I am almost sure that it is still on that drives, only the metadata could be fscked up. Now how to get the data back is another thing. In worst case scenario you could analyze the specification of the metadata format for you controller and then write a C program which would somehow put the bits together again using syscalls. Bye, Nejc From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 17:26: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 E5953106568B; Wed, 15 Oct 2008 17:26:33 +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 5F4888FC28; Wed, 15 Oct 2008 17:26:33 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf6303.online.nl (SMTP Server) with ESMTP id B8A557000081; Wed, 15 Oct 2008 19:26:31 +0200 (CEST) Received: from [192.168.2.173] (s5590cf7b.adsl.wanadoo.nl [85.144.207.123]) by mwinf6303.online.nl (SMTP Server) with ESMTP id 38CE57000087; Wed, 15 Oct 2008 19:26:31 +0200 (CEST) X-ME-UUID: 20081015172631232.38CE57000087@mwinf6303.online.nl From: Aniruddha To: Jeremy Chadwick In-Reply-To: <20081015144302.GA80037@icarus.home.lan> References: <1224054780.4011.20.camel@debian> <20081015072630.GA70901@icarus.home.lan> <1224069478.4247.7.camel@debian> <20081015113101.GA76278@icarus.home.lan> <20081015120911.GI14769@cdnetworks.co.kr> <1224080661.5407.2.camel@debian> <20081015144302.GA80037@icarus.home.lan> Content-Type: text/plain Date: Wed, 15 Oct 2008 19:26:36 +0200 Message-Id: <1224091596.4048.2.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Cc: pyunyh@gmail.com, freebsd-questions@FreeBSD.org Subject: Re: Under heavy load internet gets killed, only a reboot can bring it back 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: Wed, 15 Oct 2008 17:26:34 -0000 On Wed, 2008-10-15 at 07:43 -0700, Jeremy Chadwick wrote: > Now you need to rebuild the kernel and install the kernel. In this > scenario, when building the kernel DO NOT use any "-j" flags, as if the > driver doesn't build, you'll be scrolling back through pages of data to > try and find out why. > > If the build doesn't occur successfully, paste the errors you get > here and one of us can try to figure out why. > > Otherwise, installkernel and reboot. You should not need to build world > for this. Thanks for the extensive description. Unfortunately I got the following error: > > param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long > -strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -m > no-sse3 -ffreestanding > /usr/src/sys/dev/msk/if_msk.c:241:10: error: #include expects "FILENAME" or ENAME> > /usr/src/sys/dev/msk/if_msk.c:244:10: error: #include expects "FILENAME" or ENAME> > /usr/src/sys/dev/msk/if_msk.c:245:10: error: #include expects "FILENAME" or ENAME> > /usr/src/sys/dev/msk/if_msk.c:246:10: error: #include expects "FILENAME" or ENAME> > /usr/src/sys/dev/msk/if_msk.c:247:10: error: #include expects "FILENAME" or ENAME> > /usr/src/sys/dev/msk/if_msk.c:248:10: error: #include expects "FILENAME" or ENAME> > /usr/src/sys/dev/msk/if_msk.c:249:10: error: #include expects "FILENAME" or ENAME> > /usr/src/sys/dev/msk/if_msk.c:250:10: error: #include expects "FILENAME" or ENAME> > /usr/src/sys/dev/msk/if_msk.c:251:10: error: #include expects "FILENAME" or ENAME> > /usr/src/sys/dev/msk/if_msk.c:252:10: error: #include expects "FILENAME" or ENAME> > /usr/src/sys/dev/msk/if_msk.c:253:10: error: #include expects "FILENAME" or ENAME> > /usr/src/sys/dev/msk/if_msk.c:254:10: error: #include expects "FILENAME" or ENAME> > /usr/src/sys/dev/msk/if_msk.c:255:10: error: #include expects "FILENAME" or ENAME> > /usr/src/sys/dev/msk/if_msk.c:256:10: error: #include expects "FILENAME" or ENAME> > /usr/src/sys/dev/msk/if_msk.c:258:10: error: #include expects "FILENAME" or ENAME> > /usr/src/sys/dev/msk/if_msk.c:259:10: error: #include expects "FILENAME" or ENAME> > /usr/src/sys/dev/msk/if_msk.c:260:10: error: #include expects "FILENAME" or ENAME> > /usr/src/sys/dev/msk/if_msk.c:261:10: error: #include expects "FILENAME" or ENAME> > /usr/src/sys/dev/msk/if_msk.c:262:10: error: #include expects "FILENAME" or ENAME> > /usr/src/sys/dev/msk/if_msk.c:263:10: error: #include expects "FILENAME" or ENAME> > /usr/src/sys/dev/msk/if_msk.c:264:10: error: #include expects "FILENAME" or ENAME> > /usr/src/sys/dev/msk/if_msk.c:265:10: error: #include expects "FILENAME" or ENAME> > /usr/src/sys/dev/msk/if_msk.c:267:10: error: #include expects "FILENAME" or ENAME> > /usr/src/sys/dev/msk/if_msk.c:268:10: error: #include expects "FILENAME" or ENAME> > /usr/src/sys/dev/msk/if_msk.c:269:10: error: #include expects "FILENAME" or ENAME> > /usr/src/sys/dev/msk/if_msk.c:270:10: error: #include expects "FILENAME" or ENAME> > /usr/src/sys/dev/msk/if_msk.c:271:10: error: #include expects "FILENAME" or ENAME> > /usr/src/sys/dev/msk/if_msk.c:273:10: error: #include expects "FILENAME" or ENAME> > /usr/src/sys/dev/msk/if_msk.c:274:10: error: #include expects "FILENAME" or ENAME> > /usr/src/sys/dev/msk/if_msk.c:275:10: error: #include expects "FILENAME" or ENAME> > /usr/src/sys/dev/msk/if_msk.c:276:10: error: #include expects "FILENAME" or ENAME> > /usr/src/sys/dev/msk/if_msk.c:278:10: error: #include expects "FILENAME" or ENAME> > /usr/src/sys/dev/msk/if_msk.c:279:10: error: #include expects "FILENAME" or > /usr/src/sys/dev/msk/if_msk.c:280:10: error: #include expects "FILENAME" or > /usr/src/sys/dev/msk/if_msk.c:282:10: error: #include expects "FILENAME" or > /usr/src/sys/dev/msk/if_msk.c:283:10: error: #include expects "FILENAME" or > /usr/src/sys/dev/msk/if_msk.c:285:10: error: #include expects "FILENAME" or > /usr/src/sys/dev/msk/if_msk.c:292:10: error: #include expects "FILENAME" or > mkdep: compile failed > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/MYKERNEL. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 17:39: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 4E401106568A for ; Wed, 15 Oct 2008 17:39:33 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from parsely.rain.com (parsely.rain.com [199.26.172.196]) by mx1.freebsd.org (Postfix) with ESMTP id 2AB638FC1D for ; Wed, 15 Oct 2008 17:39:21 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from sopwith.solgatos.com (uucp@localhost) by parsely.rain.com (8.11.4/8.11.4) with UUCP id m9FHHgf21371; Wed, 15 Oct 2008 10:17:42 -0700 (PDT) (envelope-from freebsd@sopwith.solgatos.com) Received: from localhost by sopwith.solgatos.com (8.8.8/6.24) id RAA23995; Wed, 15 Oct 2008 17:14:43 GMT Message-Id: <200810151714.RAA23995@sopwith.solgatos.com> To: freebsd-hardware@freebsd.org, freebsd-questions@freebsd.org In-reply-to: Your message of "Wed, 15 Oct 2008 14:32:25 +0200." <8f82c35c0810150532o52ae50b5kef7c685fd23a0af4@mail.gmail.com> Date: Wed, 15 Oct 2008 10:14:42 +0100 From: Dieter Cc: Subject: Re: RAID 5 - serious problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 17:39:33 -0000 > FreeBSD 7.0-Release > Intel D975XBX2 motherboard (Intel Matrix Storage Technology) > 3 WD Raptor 74 GB in a RAID 5 array > 1 WD Raptor 150 GB as a standalone disk > / and /var mounted on the standalone,, /usr on the RAID 5 > I believe what happened was that one of the disks didn't respond for such a > long time, that is was marked "bad". And afterwards the same thing happened > for the other disks. When I try to boot the system, all three disks are > marked "Offline". > I am very desperate not to lose my data, In that case, step one is to use dd(1) to make a bit-for-bit copy of the three drives to some trusted media. Since they are marked bad/offline, you might need to move them to a controller that doesn't know anything about RAID. (Note that there is risk here, and in almost anything you do at this point.) Once you have this bit-for-bit backup, you can run any experiment you like to attempt to recover your data. If the experiment goes bad, you can dd the exact original contents back using dd, then try a different experiment. While you're at it, make a normal backup using dump(8) or whatever you normally use, of / and /var. Once you have *everything* backed up, you can do risky experiments like booting linux. My personal approach to avoiding data loss is (a) avoid buggy things like inthell and linux. (b) FFS with softdeps and the disk write cache turned off, (c) full backups. I don't have enough ports to run RAID. :-( The downside is that FreeBSD doesn't have NCQ support yet (when? when? when?) so writes are slow. :-( From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 17:51: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 0B7921065698 for ; Wed, 15 Oct 2008 17:51:52 +0000 (UTC) (envelope-from wolf@k18.ch) Received: from mail.k18.ch (mail.k18.ch [62.2.143.37]) by mx1.freebsd.org (Postfix) with ESMTP id 6331D8FC17 for ; Wed, 15 Oct 2008 17:51:50 +0000 (UTC) (envelope-from wolf@k18.ch) Received: (qmail 13355 invoked from network); 15 Oct 2008 17:25:34 -0000 Received: (simscan 1.3.1 ppid 13349 pid 13352 t 0.0606s) (scanners: attach: 1.3.1 clamav: 0.94/m:46/d:6806); 15 Oct 0108 17:25:34 -0000 Received: from vpn-2.atel.k18.ch (HELO [172.16.10.202]) (Authenticated_MSA:wolf@[172.16.10.202]) (envelope-sender ) by mail.k18.ch (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 15 Oct 2008 17:25:34 -0000 Message-ID: <48F62774.2060609@k18.ch> Date: Wed, 15 Oct 2008 19:25:08 +0200 From: Alain Wolf User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080227 Lightning/0.8 Thunderbird/2.0.0.12 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.95.7 OpenPGP: id=6CB1BC68 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: [Fwd: Suhosin Segmentation Fault] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 17:51:52 -0000 Not much return on freebsd-isp. I try again here on freebsd-questions. -------- Original-Nachricht -------- Betreff: Suhosin Segmentation Fault Datum: Mon, 13 Oct 2008 09:49:09 +0200 Von: Alain Wolf An: freebsd-isp@freebsd.org Newsgruppen: gmane.os.freebsd.isp After upgrading FreeBSD from 6.3-p3 to 6.3-p5 on our server, all websites just display a blank page and every HTTP request created a line as follows in the logs: child pid 80326 exit signal Segmentation fault (11) This same problem happened on another server a few months ago after the upgrade from 6.3-p3 to 6.3-p4, but after a rebuild of all FreeBSD ports all went back to normal. However several rebuilds of all ports did not solve the problem on this one. To narrow down the problem: After disabling the PHP module in Apache the problem disappears. Re-enabling PHP, but disabling the Suhosin extension also works fine. The trick found in this forum, to load the Suhosin extension before all other PHP extensions in /usr/local/etc/php/extensions.ini does not help. In fact not loading any extension at all except Suhosin creates the segfault errors. Commenting out our Suhosin settings in php.ini to load it with default values did not help. FreeBSD 6.3-RELEASE-p5 Apache 2.2.9 (DAV/2 mod_python/3.3.1 Python/2.5.2 SVN/1.5.2) PHP Version 5.2.6 Suhosin Patch 0.9.6.2 Suhosin PHP extension 0.9.27 All installed from the ports. PHP (cli) seems to run fine at all times when called from the command-line. Any suggestions? Thanks Alain Wolf, Zurich, Switzerland From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 18:09: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 32D08106568C for ; Wed, 15 Oct 2008 18:09:27 +0000 (UTC) (envelope-from sdavenpo@mc.utmck.edu) Received: from mc.utmck.edu (chewy2.mc.utmck.edu [165.6.132.11]) by mx1.freebsd.org (Postfix) with ESMTP id BF1168FC17 for ; Wed, 15 Oct 2008 18:09:26 +0000 (UTC) (envelope-from sdavenpo@mc.utmck.edu) Received: from ([165.6.132.48]) by chewy2.mc.utmck.edu with ESMTP id 5202251.52183196; Wed, 15 Oct 2008 13:53:55 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Wed, 15 Oct 2008 13:53:55 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: new install sunfire v100 Thread-Index: Acku7v4UpQv+6jOFTUyXSu8sv/rJYA== From: "Davenport, Steve M" To: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: new install sunfire v100 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 18:09:27 -0000 I'm installing 7.0-RELEASE on a Sun Sunfire v100 server. I was able to boot the cd, and install through cd one. There is no framebuffer on the v100 (vt100 serial console interface only) so the install would not proceed past the first disk. I want to use this system as a nameserver and was able to download Bind 9.3.5-P2, compile, and run. My questions are: =20 1) Can I manually complete the install process for items on CDs 2&3? =20 2) In the /var/log/messages I see: =20 Oct 9 19:50:53 steve3 kernel: acd0: CDRW at ata3-slave PIO4 Oct 9 19:50:53 steve3 kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR asc=3D0x11 as cq=3D0x00 Oct 9 19:50:53 steve3 kernel: GEOM_LABEL: Label for provider acd0 is iso9660/Fr eeBSD_Install. Oct 9 19:50:53 steve3 kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR asc=3D0x11 as cq=3D0x00 =20 What is causing these cd errors? =20 Thanks for your assistance! From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 18:27: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 BBB2E1065696 for ; Wed, 15 Oct 2008 18:27:56 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-123.bluehost.com (outbound-mail-123.bluehost.com [67.222.38.23]) by mx1.freebsd.org (Postfix) with SMTP id 8777D8FC3A for ; Wed, 15 Oct 2008 18:27:56 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: (qmail 21178 invoked by uid 0); 15 Oct 2008 18:27:53 -0000 Received: from unknown (HELO box183.bluehost.com) (69.89.25.183) by outboundproxy4.bluehost.com with SMTP; 15 Oct 2008 18:27:53 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=I5HoyldHZ0noLQT9wkFM808MSTkH6i490FrV3yGwrdiBK98mkPqwFvcZneE8SstinTY3+TG7W7oiS0ybVWWXnV6qfq+QQvnsRZ/09PvYVU0cS8OduZnCYcQ5pw2sQ3eA; 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 1KqB69-0002BN-5t for freebsd-questions@freebsd.org; Wed, 15 Oct 2008 12:27:53 -0600 Received: by kokopelli.hydra (sSMTP sendmail emulation); Wed, 15 Oct 2008 12:19:27 -0600 Date: Wed, 15 Oct 2008 12:19:27 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20081015181927.GD29837@kokopelli.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <1224030267.3458.2.camel@laptop1.herveybayaustralia.com.au> <20081015111255.GB75598@icarus.home.lan> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6WlEvdN9Dv0WHSBl" Content-Disposition: inline In-Reply-To: <20081015111255.GB75598@icarus.home.lan> 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} Subject: Re: Testing - my emails don't seem to be getting through X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 18:27:56 -0000 --6WlEvdN9Dv0WHSBl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 15, 2008 at 04:12:55AM -0700, Jeremy Chadwick wrote: > On Wed, Oct 15, 2008 at 10:24:27AM +1000, Da Rock wrote: > > I've been getting a lot of rejections: Helo command rejected: Host not > > found (in reply to RCPT TO command). So now I'm running a test to see if > > this one will get through. >=20 > I do not know why on earth you are testing this crap using a public > mailing list, rather than mailing an account at Gmail or Hotmail > or some such. Sorry to sound sour about it, but it's rude. Maybe he's testing it on a public mailing list because his Gmail or Hotmail (or whatever) account doesn't reject his emails, but the public mailing list does. I think the correct response here would have been to direct him to the freebsd-test mailing list: http://lists.freebsd.org/mailman/listinfo/freebsd-test --=20 Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] A: It reverses the normal flow of conversation. Q: What's wrong with top-posting? --6WlEvdN9Dv0WHSBl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkj2NC8ACgkQ9mn/Pj01uKV4rwCfcN2orINz3/cpZ8hwNgIqVVgX JhcAoM+TXQVHqy5esWSAfKBRNaD8NzSV =VACm -----END PGP SIGNATURE----- --6WlEvdN9Dv0WHSBl-- From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 18:46: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 60D6D106568B for ; Wed, 15 Oct 2008 18:46:01 +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 4194D8FC1A for ; Wed, 15 Oct 2008 18:46:00 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA06.emeryville.ca.mail.comcast.net ([76.96.30.51]) by QMTA07.emeryville.ca.mail.comcast.net with comcast id T2Ns1a00F16AWCUA76lzcS; Wed, 15 Oct 2008 18:46:00 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA06.emeryville.ca.mail.comcast.net with comcast id T6ly1a00Z2P6wsM8S6lz2x; Wed, 15 Oct 2008 18:45:59 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=0Eq5QFMh5GS47GtUeU0A:9 a=HBYJNMoZ2NqTmMcfCFkA:7 a=YXkIxNPs_HFYXW4_gmQJCiINO8sA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id BE655C9419; Wed, 15 Oct 2008 11:45:58 -0700 (PDT) Date: Wed, 15 Oct 2008 11:45:58 -0700 From: Jeremy Chadwick To: Dieter Message-ID: <20081015184558.GA84665@icarus.home.lan> References: <8f82c35c0810150532o52ae50b5kef7c685fd23a0af4@mail.gmail.com> <200810151714.RAA23995@sopwith.solgatos.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200810151714.RAA23995@sopwith.solgatos.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: RAID 5 - serious problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 18:46:01 -0000 On Wed, Oct 15, 2008 at 10:14:42AM +0100, Dieter wrote: > > FreeBSD 7.0-Release > > Intel D975XBX2 motherboard (Intel Matrix Storage Technology) > > 3 WD Raptor 74 GB in a RAID 5 array > > 1 WD Raptor 150 GB as a standalone disk > > / and /var mounted on the standalone,, /usr on the RAID 5 > > I believe what happened was that one of the disks didn't respond for such a > > long time, that is was marked "bad". And afterwards the same thing happened > > for the other disks. When I try to boot the system, all three disks are > > marked "Offline". > > > I am very desperate not to lose my data, > > In that case, step one is to use dd(1) to make a bit-for-bit copy of the > three drives to some trusted media. Since they are marked bad/offline, > you might need to move them to a controller that doesn't know anything > about RAID. (Note that there is risk here, and in almost anything you do > at this point.) Once you have this bit-for-bit backup, you can run any > experiment you like to attempt to recover your data. If the experiment > goes bad, you can dd the exact original contents back using dd, then > try a different experiment. While you're at it, make a normal backup > using dump(8) or whatever you normally use, of / and /var. Once you have > *everything* backed up, you can do risky experiments like booting linux. > > My personal approach to avoiding data loss is (a) avoid buggy things like > inthell and linux. Interesting, being as we have another thread going as of late that seems to link transparent data loss with AMD AM2-based systems with certain models of Adaptec and possibly LSI Logic controller cards. I like Intel as much as I like AMD -- but it's important to remember that it's becoming more and more difficult to provide "flawless" stability on things as the complexities increase. And I have no idea what your beef is with Linux. If the OP is successfully able to bring his array on-line using Linux, I would think that says something about the state of things in FreeBSD, would you agree? Both OSes have their pros and cons. > (b) FFS with softdeps and the disk write cache turned off, This has been fully discussed by developers, particularly Matt Dillon. I can point you to a thread discussing why doing this is not only silly, but a bad idea. And if you'd like, I can show you just how bad the performance is on disks with WC disabled using UFS2 + softupdates. When I say bad, I'm serious -- we're talking horrid. And yes, I have tried it -- see PR 127717 for evidence that I *have* tried it. :-) There *may* be advantages to disabling a disk's write cache when using a hardware RAID controller that offers its own on-board cache (DIMMs, etc.), but that cache should be battery-backed for safety reasons. > (c) full backups. I'm curious what your logic is here too -- this one is debatable, so I'd like to hear your view. > I don't have enough ports to run RAID. :-( The downside is that > FreeBSD doesn't have NCQ support yet (when? when? when?) so writes are > slow. :-( NCQ will not necessarily improve write performance. There have been numerous studies done proving this fact, and I can point you to those as well. TCQ, on the other hand, does offer performance benefits when there are a large number of simultaneous transactions occurring (think: it's more like SCSI's command queueing). I believe Andrey Elsukov is working on getting NCQ support working when AHCI is in use (assuming I remember correctly). -- | 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 15 18:49: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 94348106568B for ; Wed, 15 Oct 2008 18:49:53 +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 6ED668FC18 for ; Wed, 15 Oct 2008 18:49:53 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA01.emeryville.ca.mail.comcast.net ([76.96.30.11]) by QMTA08.emeryville.ca.mail.comcast.net with comcast id T1jQ1a00X0EPchoA86ptWT; Wed, 15 Oct 2008 18:49:53 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA01.emeryville.ca.mail.comcast.net with comcast id T6pr1a0052P6wsM8M6prCb; Wed, 15 Oct 2008 18:49:51 +0000 X-Authority-Analysis: v=1.0 c=1 a=N8TDiX_OOuEA:10 a=TiS0_Z0ZvfoA:10 a=QycZ5dHgAAAA:8 a=e9RKYqLSzLjLF9-QQ80A:9 a=cgndn3o07NAGHKWKTRIA:7 a=layp_-CMS9awXZ-345oNnGdRu5gA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 11FB2C9419; Wed, 15 Oct 2008 11:49:51 -0700 (PDT) Date: Wed, 15 Oct 2008 11:49:51 -0700 From: Jeremy Chadwick To: Aniruddha Message-ID: <20081015184951.GA84864@icarus.home.lan> References: <1224054780.4011.20.camel@debian> <20081015072630.GA70901@icarus.home.lan> <1224069478.4247.7.camel@debian> <20081015113101.GA76278@icarus.home.lan> <20081015120911.GI14769@cdnetworks.co.kr> <1224080661.5407.2.camel@debian> <20081015144302.GA80037@icarus.home.lan> <1224091596.4048.2.camel@debian> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1224091596.4048.2.camel@debian> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: pyunyh@gmail.com, freebsd-questions@FreeBSD.org Subject: Re: Under heavy load internet gets killed, only a reboot can bring it back 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: Wed, 15 Oct 2008 18:49:53 -0000 On Wed, Oct 15, 2008 at 07:26:36PM +0200, Aniruddha wrote: > On Wed, 2008-10-15 at 07:43 -0700, Jeremy Chadwick wrote: > > Now you need to rebuild the kernel and install the kernel. In this > > scenario, when building the kernel DO NOT use any "-j" flags, as if the > > driver doesn't build, you'll be scrolling back through pages of data to > > try and find out why. > > > > If the build doesn't occur successfully, paste the errors you get > > here and one of us can try to figure out why. > > > > Otherwise, installkernel and reboot. You should not need to build world > > for this. > > Thanks for the extensive description. Unfortunately I got the following > error: > > > param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long > > -strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -m > > no-sse3 -ffreestanding > > /usr/src/sys/dev/msk/if_msk.c:241:10: error: #include expects "FILENAME" or How exactly did you download the URLs I gave you? Can you show me what's on line 241 of if_msk.c? A 'grep ^#include if_msk.c' for me returns lines which only include filenames surrounded with "" 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 Wed Oct 15 18:55: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 B6A041065687 for ; Wed, 15 Oct 2008 18:55: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 615F98FC0A for ; Wed, 15 Oct 2008 18:55:11 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA05.emeryville.ca.mail.comcast.net ([76.96.30.43]) by QMTA07.emeryville.ca.mail.comcast.net with comcast id T55W1a00A0vp7WLA76vAw5; Wed, 15 Oct 2008 18:55:10 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA05.emeryville.ca.mail.comcast.net with comcast id T6v91a00B2P6wsM8R6v9bL; Wed, 15 Oct 2008 18:55:10 +0000 X-Authority-Analysis: v=1.0 c=1 a=ar0thLs_cGMA:10 a=5p311MEep0gA:10 a=QycZ5dHgAAAA:8 a=Z_C9LX5JCutgCOzea2sA:9 a=ypQR5dbj0XxjOPS-5aQA:7 a=PY4lNMGESjlJG9e0G_fXhzSPfZgA:4 a=EoioJ0NPDVgA:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 793A0C9419; Wed, 15 Oct 2008 11:55:09 -0700 (PDT) Date: Wed, 15 Oct 2008 11:55:09 -0700 From: Jeremy Chadwick To: Alain Wolf Message-ID: <20081015185509.GB84864@icarus.home.lan> References: <48F62774.2060609@k18.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48F62774.2060609@k18.ch> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: [Fwd: Suhosin Segmentation Fault] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 18:55:11 -0000 On Wed, Oct 15, 2008 at 07:25:08PM +0200, Alain Wolf wrote: > Not much return on freebsd-isp. > I try again here on freebsd-questions. > > -------- Original-Nachricht -------- > Betreff: Suhosin Segmentation Fault > Datum: Mon, 13 Oct 2008 09:49:09 +0200 > Von: Alain Wolf > An: freebsd-isp@freebsd.org > Newsgruppen: gmane.os.freebsd.isp > > After upgrading FreeBSD from 6.3-p3 to 6.3-p5 on our server, all > websites just display a blank page and every HTTP request created a line > as follows in the logs: > > child pid 80326 exit signal Segmentation fault (11) > > This same problem happened on another server a few months ago after the > upgrade from 6.3-p3 to 6.3-p4, but after a rebuild of all FreeBSD ports > all went back to normal. However several rebuilds of all ports did not > solve the problem on this one. > > To narrow down the problem: After disabling the PHP module in Apache the > problem disappears. > > Re-enabling PHP, but disabling the Suhosin extension also works fine. > > The trick found in this forum, to load the Suhosin extension before all > other PHP extensions in /usr/local/etc/php/extensions.ini does not help. > In fact not loading any extension at all except Suhosin creates the > segfault errors. Suhosin is not an extension you load in extensions.ini; it's a patch applied to the core of PHP. The extension ordering problem, however, has been thoroughly discussed on -ports in the past. It happens to some and not others. There is no guaranteed way to determine what works and what doesn't. You have to literally enable line-by-line until you figure out which one is causing the problem. You can also try building lang/php5 with DEBUG enabled and then when PHP segfaults, run gdb on the coredump and see if you can get a coherent backtrace (sometimes difficult with Apache in the way) to see what sort of functions are causing the crash; often each extension has its own function names, so that might give you some clues. > PHP (cli) seems to run fine at all times when called from the command-line. Now that's very interesting, given as the CLI version also loads all the extensions listed in extensions.ini. Can you post your /usr/local/etc/php/extensions.ini? You didn't list off what extensions you have installed. -- | 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 15 19:26: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 5BC801065687; Wed, 15 Oct 2008 19:26:24 +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 C20968FC12; Wed, 15 Oct 2008 19:26:23 +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 m9FJQHKm026235; Wed, 15 Oct 2008 20:26:18 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk m9FJQHKm026235 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1224098778; bh=6FWRar4f8EHY5G mCjtfk9qEdJXUXJ6a/+c2nMFdAgcM=; 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<48F643D1.3020500@infracaninophile.co.uk>|Date:=20Wed,=2 015=20Oct=202008=2020:26: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:=20Alain=20Wol f=20,=20freebsd-questions@freebsd.org|Subject:=20Re:=2 0[Fwd:=20Suhosin=20Segmentation=20Fault]|References:=20<48F62774.20 60609@k18.ch>=20<20081015185509.GB84864@icarus.home.lan>|In-Reply-T o:=20<20081015185509.GB84864@icarus.home.lan>|X-Enigmail-Version:=2 00.95.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3 B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A=20boundar y=3D"------------enig769F2827E9B864D2D4754FAF"; b=UmaqfmF/7J1LviwbG 7APpHVCueKG4Q8LrUuWCbsNH/iy2EeSVQmc2Zr6JUwxs51ENskhQltLKZE6PYlBwBcJ IjffEnRVKfPpf6F2NYBJoJJIeAAfd9cuE2/3AtVPDLNQhn8OXbdPRmLLyvAS7ahlwde psd/pYlhQOGHJ8LeAXBs= Message-ID: <48F643D1.3020500@infracaninophile.co.uk> Date: Wed, 15 Oct 2008 20:26:09 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.17 (X11/20080929) MIME-Version: 1.0 To: Jeremy Chadwick References: <48F62774.2060609@k18.ch> <20081015185509.GB84864@icarus.home.lan> In-Reply-To: <20081015185509.GB84864@icarus.home.lan> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig769F2827E9B864D2D4754FAF" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (smtp.infracaninophile.co.uk [IPv6:::1]); Wed, 15 Oct 2008 20:26:18 +0100 (BST) X-Virus-Scanned: ClamAV 0.94/8431/Wed Oct 15 17:25:08 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: Alain Wolf , freebsd-questions@freebsd.org Subject: Re: [Fwd: Suhosin Segmentation Fault] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 19:26:24 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig769F2827E9B864D2D4754FAF Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Jeremy Chadwick wrote: > Suhosin is not an extension you load in extensions.ini; it's a patch > applied to the core of PHP. % grep suhosin /usr/local/etc/php/extensions.ini extension=3Dsuhosin.so It's both a set of patches to the PHP core, and a loadable module. 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 --------------enig769F2827E9B864D2D4754FAF 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 iEYEAREIAAYFAkj2Q9kACgkQ8Mjk52CukIxOXACdGCjN9vbqXHrgyE8TT5xhTXNr qd8An0zNi0psCfIrl9m6cmILXyNaCH7O =X+A9 -----END PGP SIGNATURE----- --------------enig769F2827E9B864D2D4754FAF-- From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 19:35: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 ABAB5106568C for ; Wed, 15 Oct 2008 19:35:44 +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 549D68FC28 for ; Wed, 15 Oct 2008 19:35:43 +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 T1PY1a0031HzFnQ587bdRV; Wed, 15 Oct 2008 19:35:37 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA14.westchester.pa.mail.comcast.net with comcast id T7bi1a0022P6wsM3a7biSY; Wed, 15 Oct 2008 19:35:43 +0000 X-Authority-Analysis: v=1.0 c=1 a=ar0thLs_cGMA:10 a=5p311MEep0gA:10 a=QycZ5dHgAAAA:8 a=s-ObfbHkE7I-GYRtqfAA:9 a=3QxFxuF13VG_Y1ZY2NwA:7 a=DXqVu2W4kkcpaseGhnGBDAOMkWcA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id E9E81C9419; Wed, 15 Oct 2008 12:35:41 -0700 (PDT) Date: Wed, 15 Oct 2008 12:35:41 -0700 From: Jeremy Chadwick To: Matthew Seaman Message-ID: <20081015193541.GA85764@icarus.home.lan> References: <48F62774.2060609@k18.ch> <20081015185509.GB84864@icarus.home.lan> <48F643D1.3020500@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48F643D1.3020500@infracaninophile.co.uk> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Alain Wolf , freebsd-questions@freebsd.org Subject: Re: [Fwd: Suhosin Segmentation Fault] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 19:35:44 -0000 On Wed, Oct 15, 2008 at 08:26:09PM +0100, Matthew Seaman wrote: > Jeremy Chadwick wrote: > >> Suhosin is not an extension you load in extensions.ini; it's a patch >> applied to the core of PHP. > > % grep suhosin /usr/local/etc/php/extensions.ini > extension=suhosin.so > > It's both a set of patches to the PHP core, and a loadable module. > > Cheers, > > Matthew Are you sure? # find /usr/local/lib/php -name "*suhosin*" -ls # # grep -i suhosin /var/db/ports/php5/options WITH_SUHOSIN=true # grep -i suhosin /usr/local/etc/php/extensions.ini # # pkg_version -v | grep php5 php5-5.2.6_2 = up-to-date with port php5-extensions-1.1 = up-to-date with port php5-mysql-5.2.6_2 = up-to-date with port php5-pcre-5.2.6_2 = up-to-date with port php5-simplexml-5.2.6_2 = up-to-date with port # grep -i php5 /usr/local/etc/apache22/httpd.conf LoadModule php5_module libexec/apache22/libphp5.so # php -i | grep -i suhosin This server is protected with the Suhosin Patch 0.9.6.2 suhosin.log.phpscript => 0 => 0 suhosin.log.phpscript.is_safe => Off => Off suhosin.log.phpscript.name => no value => no value suhosin.log.sapi => no value => no value suhosin.log.script => no value => no value suhosin.log.script.name => no value => no value suhosin.log.syslog => no value => no value suhosin.log.syslog.facility => no value => no value suhosin.log.syslog.priority => no value => no value suhosin.log.use-x-forwarded-for => Off => Off :-) -- | 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 15 19:47: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 471161065686 for ; Wed, 15 Oct 2008 19:47:02 +0000 (UTC) (envelope-from datahead4@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.freebsd.org (Postfix) with ESMTP id C3D268FC15 for ; Wed, 15 Oct 2008 19:47:01 +0000 (UTC) (envelope-from datahead4@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so1217103uge.39 for ; Wed, 15 Oct 2008 12:47:00 -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=D9Vk0kj7F1clA3Zyc85sKLynTBJ/UTd2/q/8H+c7Wps=; b=g4mPgyT/PHLm5NAVKNYASO+RS2sNBoUo03JihGVDJtEIcshQsLu0Z08gMJNVzE8Ep1 TfjhP0859KQjJeR0mHVUK2JSBugB4TpI1MD0ZfqFMIuifBqrNvHcKziTaV8GX4z1NbLu seC4Yz00h9HPDAMsNwyV6AxXwrU5oBEIO41lI= 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=X1sU48SOkqWD3Py36JljJbOkmEptwjxygk8rGGWfna7YuaQpMTfDkKvTydHPDT4nDK 8J2xo/bUc9On8vHHutvFCnnRyc6OEIeJzCMZFDQjIs8InDNRDhv0ZGY3dYidxRwm1RfB H4GnLWnvpgFXAdOrC7M9UMlER2GLlOSwEtJO0= Received: by 10.210.25.19 with SMTP id 19mr1695458eby.38.1224100020379; Wed, 15 Oct 2008 12:47:00 -0700 (PDT) Received: by 10.210.49.15 with HTTP; Wed, 15 Oct 2008 12:47:00 -0700 (PDT) Message-ID: Date: Wed, 15 Oct 2008 14:47:00 -0500 From: Matt To: "Jeremy Chadwick" In-Reply-To: <20081015193541.GA85764@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48F62774.2060609@k18.ch> <20081015185509.GB84864@icarus.home.lan> <48F643D1.3020500@infracaninophile.co.uk> <20081015193541.GA85764@icarus.home.lan> Cc: Alain Wolf , freebsd-questions@freebsd.org Subject: Re: [Fwd: Suhosin Segmentation Fault] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 19:47:02 -0000 On Wed, Oct 15, 2008 at 2:35 PM, Jeremy Chadwick wrote: > On Wed, Oct 15, 2008 at 08:26:09PM +0100, Matthew Seaman wrote: >> Jeremy Chadwick wrote: >> >>> Suhosin is not an extension you load in extensions.ini; it's a patch >>> applied to the core of PHP. >> >> % grep suhosin /usr/local/etc/php/extensions.ini >> extension=suhosin.so >> >> It's both a set of patches to the PHP core, and a loadable module. >> >> Cheers, >> >> Matthew > > Are you sure? Yes - the suhosin extension is located in the ports tree at: /usr/ports/security/php-suhosin Install instructions are at: http://www.hardened-php.net/suhosin/how_to_install_or_upgrade.html#installing_the_extension It's been a while since I've looked at the suhosin options and I can't remember what the differences are between the extension and the core-php patch. Matt > > # find /usr/local/lib/php -name "*suhosin*" -ls > # > > # grep -i suhosin /var/db/ports/php5/options > WITH_SUHOSIN=true > > # grep -i suhosin /usr/local/etc/php/extensions.ini > # > > # pkg_version -v | grep php5 > php5-5.2.6_2 = up-to-date with port > php5-extensions-1.1 = up-to-date with port > php5-mysql-5.2.6_2 = up-to-date with port > php5-pcre-5.2.6_2 = up-to-date with port > php5-simplexml-5.2.6_2 = up-to-date with port > > # grep -i php5 /usr/local/etc/apache22/httpd.conf > LoadModule php5_module libexec/apache22/libphp5.so > > # php -i | grep -i suhosin > This server is protected with the Suhosin Patch 0.9.6.2 > suhosin.log.phpscript => 0 => 0 > suhosin.log.phpscript.is_safe => Off => Off > suhosin.log.phpscript.name => no value => no value > suhosin.log.sapi => no value => no value > suhosin.log.script => no value => no value > suhosin.log.script.name => no value => no value > suhosin.log.syslog => no value => no value > suhosin.log.syslog.facility => no value => no value > suhosin.log.syslog.priority => no value => no value > suhosin.log.use-x-forwarded-for => Off => Off > > :-) > > -- > | 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 15 19:56: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 AF441106568A for ; Wed, 15 Oct 2008 19:56:48 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout021.mac.com (asmtpout021.mac.com [17.148.16.96]) by mx1.freebsd.org (Postfix) with ESMTP id 9821A8FC24 for ; Wed, 15 Oct 2008 19:56:48 +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 asmtp021.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0K8S00NKJQ2N3U40@asmtp021.mac.com>; Wed, 15 Oct 2008 12:56:47 -0700 (PDT) Message-id: From: Chuck Swiger To: Matt In-reply-to: Date: Wed, 15 Oct 2008 12:56:47 -0700 References: <48F62774.2060609@k18.ch> <20081015185509.GB84864@icarus.home.lan> <48F643D1.3020500@infracaninophile.co.uk> <20081015193541.GA85764@icarus.home.lan> X-Mailer: Apple Mail (2.929.2) Cc: Alain Wolf , Jeremy Chadwick , freebsd-questions@freebsd.org Subject: Re: [Fwd: Suhosin Segmentation Fault] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 19:56:48 -0000 Hi, all-- On Oct 15, 2008, at 12:47 PM, Matt wrote: > It's been a while since I've looked at the suhosin options and I can't > remember what the differences are between the extension and the > core-php patch. If you check the following, they discuss the difference in protection between using just the patch versus the extension: http://www.hardened-php.net/suhosin/why.html http://www.hardened-php.net/suhosin/a_feature_list.html Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 20:01: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 212951065686 for ; Wed, 15 Oct 2008 20:01:33 +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 A45978FC19 for ; Wed, 15 Oct 2008 20:01:32 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KqCYg-0000Gk-Ro for freebsd-questions@freebsd.org; Wed, 15 Oct 2008 20:01:26 +0000 Received: from 77-56-181-151.dclient.hispeed.ch ([77.56.181.151]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 15 Oct 2008 20:01:26 +0000 Received: from wolf by 77-56-181-151.dclient.hispeed.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 15 Oct 2008 20:01:26 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Alain Wolf Date: Wed, 15 Oct 2008 22:01:13 +0200 Lines: 122 Message-ID: References: <48F62774.2060609@k18.ch> <20081015185509.GB84864@icarus.home.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 77-56-181-151.dclient.hispeed.ch User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080227 Lightning/0.8 Thunderbird/2.0.0.12 Mnenhy/0.7.5.0 In-Reply-To: <20081015185509.GB84864@icarus.home.lan> X-Enigmail-Version: 0.95.7 OpenPGP: id=6CB1BC68 Sender: news Subject: Re: [Fwd: Suhosin Segmentation Fault] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 20:01:33 -0000 On 15.10.2008 20:55, Jeremy Chadwick wrote: > On Wed, Oct 15, 2008 at 07:25:08PM +0200, Alain Wolf wrote: >> Not much return on freebsd-isp. >> I try again here on freebsd-questions. >> >> -------- Original-Nachricht -------- >> Betreff: Suhosin Segmentation Fault >> Datum: Mon, 13 Oct 2008 09:49:09 +0200 >> Von: Alain Wolf >> An: freebsd-isp@freebsd.org >> Newsgruppen: gmane.os.freebsd.isp >> >> After upgrading FreeBSD from 6.3-p3 to 6.3-p5 on our server, all >> websites just display a blank page and every HTTP request created a line >> as follows in the logs: >> >> child pid 80326 exit signal Segmentation fault (11) >> >> This same problem happened on another server a few months ago after the >> upgrade from 6.3-p3 to 6.3-p4, but after a rebuild of all FreeBSD ports >> all went back to normal. However several rebuilds of all ports did not >> solve the problem on this one. >> >> To narrow down the problem: After disabling the PHP module in Apache the >> problem disappears. >> >> Re-enabling PHP, but disabling the Suhosin extension also works fine. >> >> The trick found in this forum, to load the Suhosin extension before all >> other PHP extensions in /usr/local/etc/php/extensions.ini does not help. >> In fact not loading any extension at all except Suhosin creates the >> segfault errors. > > Suhosin is not an extension you load in extensions.ini; it's a patch > applied to the core of PHP. Suhosin is *both*. A patch for php and a extension module for PHP. >From http://www.hardened-php.net/suhosin/index.html: Suhosin comes in two independent parts, that can be used separately or in combination. The first part is a small patch against the PHP core, that implements a few low-level protections against bufferoverflows or format string vulnerabilities and the second part is a powerful PHP extension that implements all the other protections. The suhosin patch works fine on our servers. But the extension does not. > > The extension ordering problem, however, has been thoroughly discussed > on -ports in the past. It happens to some and not others. There is no > guaranteed way to determine what works and what doesn't. You have to > literally enable line-by-line until you figure out which one is causing > the problem. I tried enabling and disabling extensions. All of them work, as long as suhosin.so is not loaded. Regardless of the order. If I disable all other extensions and load only suhosin.so in /usr/local/etc/php/extensions.ini the apache processes are still crashing. > > You can also try building lang/php5 with DEBUG enabled and then when PHP > segfaults, run gdb on the coredump and see if you can get a coherent > backtrace (sometimes difficult with Apache in the way) to see what sort > of functions are causing the crash; often each extension has its own > function names, so that might give you some clues. Hard for me, as this disrupts customer services. We are running without the extensions for now. > >> PHP (cli) seems to run fine at all times when called from the command-line. > > Now that's very interesting, given as the CLI version also loads all the > extensions listed in extensions.ini. > > Can you post your /usr/local/etc/php/extensions.ini? You didn't list > off what extensions you have installed. > cat /usr/local/etc/php/extensions.ini extension=gd.so extension=ctype.so extension=pcre.so extension=session.so extension=bz2.so extension=openssl.so extension=zlib.so extension=mbstring.so extension=mysql.so extension=pdf.so extension=mcrypt.so extension=simplexml.so extension=spl.so extension=mysqli.so extension=xml.so extension=iconv.so extension=hash.so extension=tokenizer.so extension=calendar.so extension=ftp.so extension=xmlrpc.so extension=xmlwriter.so extension=zip.so extension=filter.so ;extension=suhosin.so extension=wddx.so extension=mhash.so extension=json.so extension=dom.so extension=xmlreader.so extension=exif.so extension=ncurses.so extension=gettext.so extension=ldap.so extension=pdo.so extension=soap.so extension=tidy.so extension=pdo_sqlite.so extension=apc.so extension=readline.so extension=xsl.so extension=curl.so From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 20: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 EEA7D106568A; Wed, 15 Oct 2008 20:02:49 +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 5E27C8FC1C; Wed, 15 Oct 2008 20:02:47 +0000 (UTC) (envelope-from mailing_list@orange.nl) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf6006.online.nl (SMTP Server) with ESMTP id 5A3777000083; Wed, 15 Oct 2008 22:02:45 +0200 (CEST) Received: from [192.168.2.173] (s5590cf7b.adsl.wanadoo.nl [85.144.207.123]) by mwinf6006.online.nl (SMTP Server) with ESMTP id AA59B7000082; Wed, 15 Oct 2008 22:02:41 +0200 (CEST) X-ME-UUID: 20081015200241697.AA59B7000082@mwinf6006.online.nl From: Aniruddha To: Jeremy Chadwick In-Reply-To: <20081015184951.GA84864@icarus.home.lan> References: <1224054780.4011.20.camel@debian> <20081015072630.GA70901@icarus.home.lan> <1224069478.4247.7.camel@debian> <20081015113101.GA76278@icarus.home.lan> <20081015120911.GI14769@cdnetworks.co.kr> <1224080661.5407.2.camel@debian> <20081015144302.GA80037@icarus.home.lan> <1224091596.4048.2.camel@debian> <20081015184951.GA84864@icarus.home.lan> Content-Type: multipart/mixed; boundary="=-O2nhkhwd6nCYy5VILwTc" Date: Wed, 15 Oct 2008 22:02:46 +0200 Message-Id: <1224100966.4199.6.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: pyunyh@gmail.com, freebsd-questions@FreeBSD.org Subject: Re: Under heavy load internet gets killed, only a reboot can bring it back 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: Wed, 15 Oct 2008 20:02:50 -0000 --=-O2nhkhwd6nCYy5VILwTc Content-Type: text/plain Content-Transfer-Encoding: 7bit On Wed, 2008-10-15 at 11:49 -0700, Jeremy Chadwick wrote: > How exactly did you download the URLs I gave you? > > Can you show me what's on line 241 of if_msk.c? > > A 'grep ^#include if_msk.c' for me returns lines which only include > filenames surrounded with "" or <>. I downloaded the files this way: wget http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/msk/if_msk.c?rev=1.34;content-type=text%2Fplain Line 241 contains: #include <sys/cdefs.h> I've included the if_msk.c for reference. -- Regards, Aniruddha --=-O2nhkhwd6nCYy5VILwTc Content-Disposition: attachment; filename=if_msk.c Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Content-Type: text/plain; name="if_msk.c"; charset="utf-8" #[1]FreeBSD cvsweb [2]Skip site navigation (1)[3]Skip section navigation (2) Header And Logo [4]FreeBSD Peripheral Links * Text Size: [5]Normal / [6]Large * [7]Donate * [8]Contact Search ____________________ Search Site Navigation * [9]Home * [10]About * [11]Get FreeBSD * [12]Documentation * [13]Community * [14]Developers * [15]Support view [16][BACK] Return to [17]if_msk.c CVS log [TXT] [DIR] Up to [18][FreeBSD] / [19]src / [20]sys / [21]dev / [22]msk _________________________________________________________________ File: [23][FreeBSD] / [24]src / [25]sys / [26]dev / [27]msk / [28]if_msk.c Revision 1.34: [29]download - view: [30]text, [31]annotated - [32]select for diffs Tue Sep 30 04:52:30 2008 UTC (2 weeks, 1 day ago) by yongari Branches: [33]MAIN CVS tags: [34]HEAD SVN rev 183486 on 2008-09-30 04:52:30Z by yongari If mbuf is not writable get a writable copy before invoking [35]m_pullup(9). Tested by: Garrett Cooper < yanefbsd gmail dot com > _________________________________________________________________ /****************************************************************************** * * Name : sky2.c * Project: Gigabit Ethernet Driver for FreeBSD 5.x/6.x * Version: $Revision: 1.23 $ * Date : $Date: 2005/12/22 09:04:11 $ * Purpose: Main driver source file * *****************************************************************************/ /****************************************************************************** * * LICENSE: * Copyright (C) Marvell International Ltd. and/or its affiliates * * The computer program files contained in this folder ("Files") * are provided to you under the BSD-type license terms provided * below, and any use of such Files and any derivative works * thereof created by you shall be governed by the following terms * and conditions: * * - Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * - Redistributions in binary form must reproduce the above * copyright notice, this list of conditions and the following * disclaimer in the documentation and/or other materials provided * with the distribution. * - Neither the name of Marvell nor the names of its contributors * may be used to endorse or promote products derived from this * software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED * OF THE POSSIBILITY OF SUCH DAMAGE. * /LICENSE * *****************************************************************************/ /*- * Copyright (c) 1997, 1998, 1999, 2000 * Bill Paul . All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by Bill Paul. * 4. Neither the name of the author nor the names of any co-contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. */ /*- * Copyright (c) 2003 Nathan L. Binkert * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ /* * Device driver for the Marvell Yukon II Ethernet controller. * Due to lack of documentation, this driver is based on the code from * sk(4) and Marvell's myk(4) driver for FreeBSD 5.x. */ #include __FBSDID("$FreeBSD: src/sys/dev/msk/if_msk.c,v 1.34 2008/09/30 04:52:30 yongari Exp $"); #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include MODULE_DEPEND(msk, pci, 1, 1, 1); MODULE_DEPEND(msk, ether, 1, 1, 1); MODULE_DEPEND(msk, miibus, 1, 1, 1); /* "device miibus" required. See GENERIC if you get errors here. */ #include "miibus_if.h" /* Tunables. */ static int msi_disable = 0; TUNABLE_INT("hw.msk.msi_disable", &msi_disable); static int legacy_intr = 0; TUNABLE_INT("hw.msk.legacy_intr", &legacy_intr); #define MSK_CSUM_FEATURES (CSUM_TCP | CSUM_UDP) /* * Devices supported by this driver. */ static struct msk_product { uint16_t msk_vendorid; uint16_t msk_deviceid; const char *msk_name; } msk_products[] = { { VENDORID_SK, DEVICEID_SK_YUKON2, "SK-9Sxx Gigabit Ethernet" }, { VENDORID_SK, DEVICEID_SK_YUKON2_EXPR, "SK-9Exx Gigabit Ethernet"}, { VENDORID_MARVELL, DEVICEID_MRVL_8021CU, "Marvell Yukon 88E8021CU Gigabit Ethernet" }, { VENDORID_MARVELL, DEVICEID_MRVL_8021X, "Marvell Yukon 88E8021 SX/LX Gigabit Ethernet" }, { VENDORID_MARVELL, DEVICEID_MRVL_8022CU, "Marvell Yukon 88E8022CU Gigabit Ethernet" }, { VENDORID_MARVELL, DEVICEID_MRVL_8022X, "Marvell Yukon 88E8022 SX/LX Gigabit Ethernet" }, { VENDORID_MARVELL, DEVICEID_MRVL_8061CU, "Marvell Yukon 88E8061CU Gigabit Ethernet" }, { VENDORID_MARVELL, DEVICEID_MRVL_8061X, "Marvell Yukon 88E8061 SX/LX Gigabit Ethernet" }, { VENDORID_MARVELL, DEVICEID_MRVL_8062CU, "Marvell Yukon 88E8062CU Gigabit Ethernet" }, { VENDORID_MARVELL, DEVICEID_MRVL_8062X, "Marvell Yukon 88E8062 SX/LX Gigabit Ethernet" }, { VENDORID_MARVELL, DEVICEID_MRVL_8035, "Marvell Yukon 88E8035 Gigabit Ethernet" }, { VENDORID_MARVELL, DEVICEID_MRVL_8036, "Marvell Yukon 88E8036 Gigabit Ethernet" }, { VENDORID_MARVELL, DEVICEID_MRVL_8038, "Marvell Yukon 88E8038 Gigabit Ethernet" }, { VENDORID_MARVELL, DEVICEID_MRVL_8039, "Marvell Yukon 88E8039 Gigabit Ethernet" }, { VENDORID_MARVELL, DEVICEID_MRVL_4361, "Marvell Yukon 88E8050 Gigabit Ethernet" }, { VENDORID_MARVELL, DEVICEID_MRVL_4360, "Marvell Yukon 88E8052 Gigabit Ethernet" }, { VENDORID_MARVELL, DEVICEID_MRVL_4362, "Marvell Yukon 88E8053 Gigabit Ethernet" }, { VENDORID_MARVELL, DEVICEID_MRVL_4363, "Marvell Yukon 88E8055 Gigabit Ethernet" }, { VENDORID_MARVELL, DEVICEID_MRVL_4364, "Marvell Yukon 88E8056 Gigabit Ethernet" }, { VENDORID_MARVELL, DEVICEID_MRVL_436A, "Marvell Yukon 88E8058 Gigabit Ethernet" }, { VENDORID_DLINK, DEVICEID_DLINK_DGE550SX, "D-Link 550SX Gigabit Ethernet" }, { VENDORID_DLINK, DEVICEID_DLINK_DGE560T, "D-Link 560T Gigabit Ethernet" } }; static const char *model_name[] = { "Yukon XL", "Yukon EC Ultra", "Yukon Unknown", "Yukon EC", "Yukon FE" }; static int mskc_probe(device_t); static int mskc_attach(device_t); static int mskc_detach(device_t); static int mskc_shutdown(device_t); static int mskc_setup_rambuffer(struct msk_softc *); static int mskc_suspend(device_t); static int mskc_resume(device_t); static void mskc_reset(struct msk_softc *); static int msk_probe(device_t); static int msk_attach(device_t); static int msk_detach(device_t); static void msk_tick(void *); static void msk_legacy_intr(void *); static int msk_intr(void *); static void msk_int_task(void *, int); static void msk_intr_phy(struct msk_if_softc *); static void msk_intr_gmac(struct msk_if_softc *); static __inline void msk_rxput(struct msk_if_softc *); static int msk_handle_events(struct msk_softc *); static void msk_handle_hwerr(struct msk_if_softc *, uint32_t); static void msk_intr_hwerr(struct msk_softc *); #ifndef __NO_STRICT_ALIGNMENT static __inline void msk_fixup_rx(struct mbuf *); #endif static void msk_rxeof(struct msk_if_softc *, uint32_t, int); static void msk_jumbo_rxeof(struct msk_if_softc *, uint32_t, int); static void msk_txeof(struct msk_if_softc *, int); static int msk_encap(struct msk_if_softc *, struct mbuf **); static void msk_tx_task(void *, int); static void msk_start(struct ifnet *); static int msk_ioctl(struct ifnet *, u_long, caddr_t); static void msk_set_prefetch(struct msk_softc *, int, bus_addr_t, uint32_t); static void msk_set_rambuffer(struct msk_if_softc *); static void msk_init(void *); static void msk_init_locked(struct msk_if_softc *); static void msk_stop(struct msk_if_softc *); static void msk_watchdog(struct msk_if_softc *); static int msk_mediachange(struct ifnet *); static void msk_mediastatus(struct ifnet *, struct ifmediareq *); static void msk_phy_power(struct msk_softc *, int); static void msk_dmamap_cb(void *, bus_dma_segment_t *, int, int); static int msk_status_dma_alloc(struct msk_softc *); static void msk_status_dma_free(struct msk_softc *); static int msk_txrx_dma_alloc(struct msk_if_softc *); static void msk_txrx_dma_free(struct msk_if_softc *); static void *msk_jalloc(struct msk_if_softc *); static void msk_jfree(void *, void *); static int msk_init_rx_ring(struct msk_if_softc *); static int msk_init_jumbo_rx_ring(struct msk_if_softc *); static void msk_init_tx_ring(struct msk_if_softc *); static __inline void msk_discard_rxbuf(struct msk_if_softc *, int); static __inline void msk_discard_jumbo_rxbuf(struct msk_if_softc *, int); static int msk_newbuf(struct msk_if_softc *, int); static int msk_jumbo_newbuf(struct msk_if_softc *, int); static int msk_phy_readreg(struct msk_if_softc *, int, int); static int msk_phy_writereg(struct msk_if_softc *, int, int, int); static int msk_miibus_readreg(device_t, int, int); static int msk_miibus_writereg(device_t, int, int, int); static void msk_miibus_statchg(device_t); static void msk_link_task(void *, int); static void msk_setmulti(struct msk_if_softc *); static void msk_setvlan(struct msk_if_softc *, struct ifnet *); static void msk_setpromisc(struct msk_if_softc *); static int sysctl_int_range(SYSCTL_HANDLER_ARGS, int, int); static int sysctl_hw_msk_proc_limit(SYSCTL_HANDLER_ARGS); static device_method_t mskc_methods[] = { /* Device interface */ DEVMETHOD(device_probe, mskc_probe), DEVMETHOD(device_attach, mskc_attach), DEVMETHOD(device_detach, mskc_detach), DEVMETHOD(device_suspend, mskc_suspend), DEVMETHOD(device_resume, mskc_resume), DEVMETHOD(device_shutdown, mskc_shutdown), /* bus interface */ DEVMETHOD(bus_print_child, bus_generic_print_child), DEVMETHOD(bus_driver_added, bus_generic_driver_added), { NULL, NULL } }; static driver_t mskc_driver = { "mskc", mskc_methods, sizeof(struct msk_softc) }; static devclass_t mskc_devclass; static device_method_t msk_methods[] = { /* Device interface */ DEVMETHOD(device_probe, msk_probe), DEVMETHOD(device_attach, msk_attach), DEVMETHOD(device_detach, msk_detach), DEVMETHOD(device_shutdown, bus_generic_shutdown), /* bus interface */ DEVMETHOD(bus_print_child, bus_generic_print_child), DEVMETHOD(bus_driver_added, bus_generic_driver_added), /* MII interface */ DEVMETHOD(miibus_readreg, msk_miibus_readreg), DEVMETHOD(miibus_writereg, msk_miibus_writereg), DEVMETHOD(miibus_statchg, msk_miibus_statchg), { NULL, NULL } }; static driver_t msk_driver = { "msk", msk_methods, sizeof(struct msk_if_softc) }; static devclass_t msk_devclass; DRIVER_MODULE(mskc, pci, mskc_driver, mskc_devclass, 0, 0); DRIVER_MODULE(msk, mskc, msk_driver, msk_devclass, 0, 0); DRIVER_MODULE(miibus, msk, miibus_driver, miibus_devclass, 0, 0); static struct resource_spec msk_res_spec_io[] = { { SYS_RES_IOPORT, PCIR_BAR(1), RF_ACTIVE }, { -1, 0, 0 } }; static struct resource_spec msk_res_spec_mem[] = { { SYS_RES_MEMORY, PCIR_BAR(0), RF_ACTIVE }, { -1, 0, 0 } }; static struct resource_spec msk_irq_spec_legacy[] = { { SYS_RES_IRQ, 0, RF_ACTIVE | RF_SHAREABLE }, { -1, 0, 0 } }; static struct resource_spec msk_irq_spec_msi[] = { { SYS_RES_IRQ, 1, RF_ACTIVE }, { -1, 0, 0 } }; static struct resource_spec msk_irq_spec_msi2[] = { { SYS_RES_IRQ, 1, RF_ACTIVE }, { SYS_RES_IRQ, 2, RF_ACTIVE }, { -1, 0, 0 } }; static int msk_miibus_readreg(device_t dev, int phy, int reg) { struct msk_if_softc *sc_if; if (phy != PHY_ADDR_MARV) return (0); sc_if = device_get_softc(dev); return (msk_phy_readreg(sc_if, phy, reg)); } static int msk_phy_readreg(struct msk_if_softc *sc_if, int phy, int reg) { struct msk_softc *sc; int i, val; sc = sc_if->msk_softc; GMAC_WRITE_2(sc, sc_if->msk_port, GM_SMI_CTRL, GM_SMI_CT_PHY_AD(phy) | GM_SMI_CT_REG_AD(reg) | GM_SMI_CT_OP_RD); for (i = 0; i < MSK_TIMEOUT; i++) { DELAY(1); val = GMAC_READ_2(sc, sc_if->msk_port, GM_SMI_CTRL); if ((val & GM_SMI_CT_RD_VAL) != 0) { val = GMAC_READ_2(sc, sc_if->msk_port, GM_SMI_DATA); break; } } if (i == MSK_TIMEOUT) { if_printf(sc_if->msk_ifp, "phy failed to come ready\n"); val = 0; } return (val); } static int msk_miibus_writereg(device_t dev, int phy, int reg, int val) { struct msk_if_softc *sc_if; if (phy != PHY_ADDR_MARV) return (0); sc_if = device_get_softc(dev); return (msk_phy_writereg(sc_if, phy, reg, val)); } static int msk_phy_writereg(struct msk_if_softc *sc_if, int phy, int reg, int val) { struct msk_softc *sc; int i; sc = sc_if->msk_softc; GMAC_WRITE_2(sc, sc_if->msk_port, GM_SMI_DATA, val); GMAC_WRITE_2(sc, sc_if->msk_port, GM_SMI_CTRL, GM_SMI_CT_PHY_AD(phy) | GM_SMI_CT_REG_AD(reg)); for (i = 0; i < MSK_TIMEOUT; i++) { DELAY(1); if ((GMAC_READ_2(sc, sc_if->msk_port, GM_SMI_CTRL) & GM_SMI_CT_BUSY) == 0) break; } if (i == MSK_TIMEOUT) if_printf(sc_if->msk_ifp, "phy write timeout\n"); return (0); } static void msk_miibus_statchg(device_t dev) { struct msk_if_softc *sc_if; sc_if = device_get_softc(dev); taskqueue_enqueue(taskqueue_swi, &sc_if->msk_link_task); } static void msk_link_task(void *arg, int pending) { struct msk_softc *sc; struct msk_if_softc *sc_if; struct mii_data *mii; struct ifnet *ifp; uint32_t gmac; sc_if = (struct msk_if_softc *)arg; sc = sc_if->msk_softc; MSK_IF_LOCK(sc_if); mii = device_get_softc(sc_if->msk_miibus); ifp = sc_if->msk_ifp; if (mii == NULL || ifp == NULL) { MSK_IF_UNLOCK(sc_if); return; } if (mii->mii_media_status & IFM_ACTIVE) { if (IFM_SUBTYPE(mii->mii_media_active) != IFM_NONE) sc_if->msk_link = 1; } else sc_if->msk_link = 0; if (sc_if->msk_link != 0) { /* Enable Tx FIFO Underrun. */ CSR_WRITE_1(sc, MR_ADDR(sc_if->msk_port, GMAC_IRQ_MSK), GM_IS_TX_FF_UR | GM_IS_RX_FF_OR); /* * Because mii(4) notify msk(4) that it detected link status * change, there is no need to enable automatic * speed/flow-control/duplex updates. */ gmac = GM_GPCR_AU_ALL_DIS; switch (IFM_SUBTYPE(mii->mii_media_active)) { case IFM_1000_SX: case IFM_1000_T: gmac |= GM_GPCR_SPEED_1000; break; case IFM_100_TX: gmac |= GM_GPCR_SPEED_100; break; case IFM_10_T: break; } if (((mii->mii_media_active & IFM_GMASK) & IFM_FDX) != 0) gmac |= GM_GPCR_DUP_FULL; /* Disable Rx flow control. */ if (((mii->mii_media_active & IFM_GMASK) & IFM_FLAG0) == 0) gmac |= GM_GPCR_FC_RX_DIS; /* Disable Tx flow control. */ if (((mii->mii_media_active & IFM_GMASK) & IFM_FLAG1) == 0) gmac |= GM_GPCR_FC_TX_DIS; gmac |= GM_GPCR_RX_ENA | GM_GPCR_TX_ENA; GMAC_WRITE_2(sc, sc_if->msk_port, GM_GP_CTRL, gmac); /* Read again to ensure writing. */ GMAC_READ_2(sc, sc_if->msk_port, GM_GP_CTRL); gmac = GMC_PAUSE_ON; if (((mii->mii_media_active & IFM_GMASK) & (IFM_FLAG0 | IFM_FLAG1)) == 0) gmac = GMC_PAUSE_OFF; /* Diable pause for 10/100 Mbps in half-duplex mode. */ if ((((mii->mii_media_active & IFM_GMASK) & IFM_FDX) == 0) && (IFM_SUBTYPE(mii->mii_media_active) == IFM_100_TX || IFM_SUBTYPE(mii->mii_media_active) == IFM_10_T)) gmac = GMC_PAUSE_OFF; CSR_WRITE_4(sc, MR_ADDR(sc_if->msk_port, GMAC_CTRL), gmac); /* Enable PHY interrupt for FIFO underrun/overflow. */ msk_phy_writereg(sc_if, PHY_ADDR_MARV, PHY_MARV_INT_MASK, PHY_M_IS_FIFO_ERROR); } else { /* * Link state changed to down. * Disable PHY interrupts. */ msk_phy_writereg(sc_if, PHY_ADDR_MARV, PHY_MARV_INT_MASK, 0); /* Disable Rx/Tx MAC. */ gmac = GMAC_READ_2(sc, sc_if->msk_port, GM_GP_CTRL); gmac &= ~(GM_GPCR_RX_ENA | GM_GPCR_TX_ENA); GMAC_WRITE_2(sc, sc_if->msk_port, GM_GP_CTRL, gmac); /* Read again to ensure writing. */ GMAC_READ_2(sc, sc_if->msk_port, GM_GP_CTRL); } MSK_IF_UNLOCK(sc_if); } static void msk_setmulti(struct msk_if_softc *sc_if) { struct msk_softc *sc; struct ifnet *ifp; struct ifmultiaddr *ifma; uint32_t mchash[2]; uint32_t crc; uint16_t mode; sc = sc_if->msk_softc; MSK_IF_LOCK_ASSERT(sc_if); ifp = sc_if->msk_ifp; bzero(mchash, sizeof(mchash)); mode = GMAC_READ_2(sc, sc_if->msk_port, GM_RX_CTRL); mode |= GM_RXCR_UCF_ENA; if ((ifp->if_flags & (IFF_PROMISC | IFF_ALLMULTI)) != 0) { if ((ifp->if_flags & IFF_PROMISC) != 0) mode &= ~(GM_RXCR_UCF_ENA | GM_RXCR_MCF_ENA); else if ((ifp->if_flags & IFF_ALLMULTI) != 0) { mchash[0] = 0xffff; mchash[1] = 0xffff; } } else { IF_ADDR_LOCK(ifp); TAILQ_FOREACH(ifma, &ifp->if_multiaddrs, ifma_link) { if (ifma->ifma_addr->sa_family != AF_LINK) continue; crc = ether_crc32_be(LLADDR((struct sockaddr_dl *) ifma->ifma_addr), ETHER_ADDR_LEN); /* Just want the 6 least significant bits. */ crc &= 0x3f; /* Set the corresponding bit in the hash table. */ mchash[crc >> 5] |= 1 << (crc & 0x1f); } IF_ADDR_UNLOCK(ifp); mode |= GM_RXCR_MCF_ENA; } GMAC_WRITE_2(sc, sc_if->msk_port, GM_MC_ADDR_H1, mchash[0] & 0xffff); GMAC_WRITE_2(sc, sc_if->msk_port, GM_MC_ADDR_H2, (mchash[0] >> 16) & 0xffff); GMAC_WRITE_2(sc, sc_if->msk_port, GM_MC_ADDR_H3, mchash[1] & 0xffff); GMAC_WRITE_2(sc, sc_if->msk_port, GM_MC_ADDR_H4, (mchash[1] >> 16) & 0xffff); GMAC_WRITE_2(sc, sc_if->msk_port, GM_RX_CTRL, mode); } static void msk_setvlan(struct msk_if_softc *sc_if, struct ifnet *ifp) { struct msk_softc *sc; sc = sc_if->msk_softc; if ((ifp->if_capenable & IFCAP_VLAN_HWTAGGING) != 0) { CSR_WRITE_4(sc, MR_ADDR(sc_if->msk_port, RX_GMF_CTRL_T), RX_VLAN_STRIP_ON); CSR_WRITE_4(sc, MR_ADDR(sc_if->msk_port, TX_GMF_CTRL_T), TX_VLAN_TAG_ON); } else { CSR_WRITE_4(sc, MR_ADDR(sc_if->msk_port, RX_GMF_CTRL_T), RX_VLAN_STRIP_OFF); CSR_WRITE_4(sc, MR_ADDR(sc_if->msk_port, TX_GMF_CTRL_T), TX_VLAN_TAG_OFF); } } static void msk_setpromisc(struct msk_if_softc *sc_if) { struct msk_softc *sc; struct ifnet *ifp; uint16_t mode; MSK_IF_LOCK_ASSERT(sc_if); sc = sc_if->msk_softc; ifp = sc_if->msk_ifp; mode = GMAC_READ_2(sc, sc_if->msk_port, GM_RX_CTRL); if (ifp->if_flags & IFF_PROMISC) mode &= ~(GM_RXCR_UCF_ENA | GM_RXCR_MCF_ENA); else mode |= (GM_RXCR_UCF_ENA | GM_RXCR_MCF_ENA); GMAC_WRITE_2(sc, sc_if->msk_port, GM_RX_CTRL, mode); } static int msk_init_rx_ring(struct msk_if_softc *sc_if) { struct msk_ring_data *rd; struct msk_rxdesc *rxd; int i, prod; MSK_IF_LOCK_ASSERT(sc_if); sc_if->msk_cdata.msk_rx_cons = 0; sc_if->msk_cdata.msk_rx_prod = 0; sc_if->msk_cdata.msk_rx_putwm = MSK_PUT_WM; rd = &sc_if->msk_rdata; bzero(rd->msk_rx_ring, sizeof(struct msk_rx_desc) * MSK_RX_RING_CNT); prod = sc_if->msk_cdata.msk_rx_prod; for (i = 0; i < MSK_RX_RING_CNT; i++) { rxd = &sc_if->msk_cdata.msk_rxdesc[prod]; rxd->rx_m = NULL; rxd->rx_le = &rd->msk_rx_ring[prod]; if (msk_newbuf(sc_if, prod) != 0) return (ENOBUFS); MSK_INC(prod, MSK_RX_RING_CNT); } bus_dmamap_sync(sc_if->msk_cdata.msk_rx_ring_tag, sc_if->msk_cdata.msk_rx_ring_map, BUS_DMASYNC_PREREAD | BUS_DMASYNC_PREWRITE); /* Update prefetch unit. */ sc_if->msk_cdata.msk_rx_prod = MSK_RX_RING_CNT - 1; CSR_WRITE_2(sc_if->msk_softc, Y2_PREF_Q_ADDR(sc_if->msk_rxq, PREF_UNIT_PUT_IDX_REG), sc_if->msk_cdata.msk_rx_prod); return (0); } static int msk_init_jumbo_rx_ring(struct msk_if_softc *sc_if) { struct msk_ring_data *rd; struct msk_rxdesc *rxd; int i, prod; MSK_IF_LOCK_ASSERT(sc_if); sc_if->msk_cdata.msk_rx_cons = 0; sc_if->msk_cdata.msk_rx_prod = 0; sc_if->msk_cdata.msk_rx_putwm = MSK_PUT_WM; rd = &sc_if->msk_rdata; bzero(rd->msk_jumbo_rx_ring, sizeof(struct msk_rx_desc) * MSK_JUMBO_RX_RING_CNT); prod = sc_if->msk_cdata.msk_rx_prod; for (i = 0; i < MSK_JUMBO_RX_RING_CNT; i++) { rxd = &sc_if->msk_cdata.msk_jumbo_rxdesc[prod]; rxd->rx_m = NULL; rxd->rx_le = &rd->msk_jumbo_rx_ring[prod]; if (msk_jumbo_newbuf(sc_if, prod) != 0) return (ENOBUFS); MSK_INC(prod, MSK_JUMBO_RX_RING_CNT); } bus_dmamap_sync(sc_if->msk_cdata.msk_jumbo_rx_ring_tag, sc_if->msk_cdata.msk_jumbo_rx_ring_map, BUS_DMASYNC_PREREAD | BUS_DMASYNC_PREWRITE); sc_if->msk_cdata.msk_rx_prod = MSK_JUMBO_RX_RING_CNT - 1; CSR_WRITE_2(sc_if->msk_softc, Y2_PREF_Q_ADDR(sc_if->msk_rxq, PREF_UNIT_PUT_IDX_REG), sc_if->msk_cdata.msk_rx_prod); return (0); } static void msk_init_tx_ring(struct msk_if_softc *sc_if) { struct msk_ring_data *rd; struct msk_txdesc *txd; int i; sc_if->msk_cdata.msk_tso_mtu = 0; sc_if->msk_cdata.msk_tx_prod = 0; sc_if->msk_cdata.msk_tx_cons = 0; sc_if->msk_cdata.msk_tx_cnt = 0; rd = &sc_if->msk_rdata; bzero(rd->msk_tx_ring, sizeof(struct msk_tx_desc) * MSK_TX_RING_CNT); for (i = 0; i < MSK_TX_RING_CNT; i++) { txd = &sc_if->msk_cdata.msk_txdesc[i]; txd->tx_m = NULL; txd->tx_le = &rd->msk_tx_ring[i]; } bus_dmamap_sync(sc_if->msk_cdata.msk_tx_ring_tag, sc_if->msk_cdata.msk_tx_ring_map, BUS_DMASYNC_PREREAD | BUS_DMASYNC_PREWRITE); } static __inline void msk_discard_rxbuf(struct msk_if_softc *sc_if, int idx) { struct msk_rx_desc *rx_le; struct msk_rxdesc *rxd; struct mbuf *m; rxd = &sc_if->msk_cdata.msk_rxdesc[idx]; m = rxd->rx_m; rx_le = rxd->rx_le; rx_le->msk_control = htole32(m->m_len | OP_PACKET | HW_OWNER); } static __inline void msk_discard_jumbo_rxbuf(struct msk_if_softc *sc_if, int idx) { struct msk_rx_desc *rx_le; struct msk_rxdesc *rxd; struct mbuf *m; rxd = &sc_if->msk_cdata.msk_jumbo_rxdesc[idx]; m = rxd->rx_m; rx_le = rxd->rx_le; rx_le->msk_control = htole32(m->m_len | OP_PACKET | HW_OWNER); } static int msk_newbuf(struct msk_if_softc *sc_if, int idx) { struct msk_rx_desc *rx_le; struct msk_rxdesc *rxd; struct mbuf *m; bus_dma_segment_t segs[1]; bus_dmamap_t map; int nsegs; m = m_getcl(M_DONTWAIT, MT_DATA, M_PKTHDR); if (m == NULL) return (ENOBUFS); m->m_len = m->m_pkthdr.len = MCLBYTES; if ((sc_if->msk_flags & MSK_FLAG_RAMBUF) == 0) m_adj(m, ETHER_ALIGN); #ifndef __NO_STRICT_ALIGNMENT else m_adj(m, MSK_RX_BUF_ALIGN); #endif if (bus_dmamap_load_mbuf_sg(sc_if->msk_cdata.msk_rx_tag, sc_if->msk_cdata.msk_rx_sparemap, m, segs, &nsegs, BUS_DMA_NOWAIT) != 0) { m_freem(m); return (ENOBUFS); } KASSERT(nsegs == 1, ("%s: %d segments returned!", __func__, nsegs)); rxd = &sc_if->msk_cdata.msk_rxdesc[idx]; if (rxd->rx_m != NULL) { bus_dmamap_sync(sc_if->msk_cdata.msk_rx_tag, rxd->rx_dmamap, BUS_DMASYNC_POSTREAD); bus_dmamap_unload(sc_if->msk_cdata.msk_rx_tag, rxd->rx_dmamap); } map = rxd->rx_dmamap; rxd->rx_dmamap = sc_if->msk_cdata.msk_rx_sparemap; sc_if->msk_cdata.msk_rx_sparemap = map; bus_dmamap_sync(sc_if->msk_cdata.msk_rx_tag, rxd->rx_dmamap, BUS_DMASYNC_PREREAD); rxd->rx_m = m; rx_le = rxd->rx_le; rx_le->msk_addr = htole32(MSK_ADDR_LO(segs[0].ds_addr)); rx_le->msk_control = htole32(segs[0].ds_len | OP_PACKET | HW_OWNER); return (0); } static int msk_jumbo_newbuf(struct msk_if_softc *sc_if, int idx) { struct msk_rx_desc *rx_le; struct msk_rxdesc *rxd; struct mbuf *m; bus_dma_segment_t segs[1]; bus_dmamap_t map; int nsegs; void *buf; MGETHDR(m, M_DONTWAIT, MT_DATA); if (m == NULL) return (ENOBUFS); buf = msk_jalloc(sc_if); if (buf == NULL) { m_freem(m); return (ENOBUFS); } /* Attach the buffer to the mbuf. */ MEXTADD(m, buf, MSK_JLEN, msk_jfree, buf, (struct msk_if_softc *)sc_if, 0, EXT_NET_DRV); if ((m->m_flags & M_EXT) == 0) { m_freem(m); return (ENOBUFS); } m->m_pkthdr.len = m->m_len = MSK_JLEN; if ((sc_if->msk_flags & MSK_FLAG_RAMBUF) == 0) m_adj(m, ETHER_ALIGN); #ifndef __NO_STRICT_ALIGNMENT else m_adj(m, MSK_RX_BUF_ALIGN); #endif if (bus_dmamap_load_mbuf_sg(sc_if->msk_cdata.msk_jumbo_rx_tag, sc_if->msk_cdata.msk_jumbo_rx_sparemap, m, segs, &nsegs, BUS_DMA_NOWAIT) != 0) { m_freem(m); return (ENOBUFS); } KASSERT(nsegs == 1, ("%s: %d segments returned!", __func__, nsegs)); rxd = &sc_if->msk_cdata.msk_jumbo_rxdesc[idx]; if (rxd->rx_m != NULL) { bus_dmamap_sync(sc_if->msk_cdata.msk_jumbo_rx_tag, rxd->rx_dmamap, BUS_DMASYNC_POSTREAD); bus_dmamap_unload(sc_if->msk_cdata.msk_jumbo_rx_tag, rxd->rx_dmamap); } map = rxd->rx_dmamap; rxd->rx_dmamap = sc_if->msk_cdata.msk_jumbo_rx_sparemap; sc_if->msk_cdata.msk_jumbo_rx_sparemap = map; bus_dmamap_sync(sc_if->msk_cdata.msk_jumbo_rx_tag, rxd->rx_dmamap, BUS_DMASYNC_PREREAD); rxd->rx_m = m; rx_le = rxd->rx_le; rx_le->msk_addr = htole32(MSK_ADDR_LO(segs[0].ds_addr)); rx_le->msk_control = htole32(segs[0].ds_len | OP_PACKET | HW_OWNER); return (0); } /* * Set media options. */ static int msk_mediachange(struct ifnet *ifp) { struct msk_if_softc *sc_if; struct mii_data *mii; sc_if = ifp->if_softc; MSK_IF_LOCK(sc_if); mii = device_get_softc(sc_if->msk_miibus); mii_mediachg(mii); MSK_IF_UNLOCK(sc_if); return (0); } /* * Report current media status. */ static void msk_mediastatus(struct ifnet *ifp, struct ifmediareq *ifmr) { struct msk_if_softc *sc_if; struct mii_data *mii; sc_if = ifp->if_softc; MSK_IF_LOCK(sc_if); mii = device_get_softc(sc_if->msk_miibus); mii_pollstat(mii); MSK_IF_UNLOCK(sc_if); ifmr->ifm_active = mii->mii_media_active; ifmr->ifm_status = mii->mii_media_status; } static int msk_ioctl(struct ifnet *ifp, u_long command, caddr_t data) { struct msk_if_softc *sc_if; struct ifreq *ifr; struct mii_data *mii; int error, mask; sc_if = ifp->if_softc; ifr = (struct ifreq *)data; error = 0; switch(command) { case SIOCSIFMTU: if (ifr->ifr_mtu > MSK_JUMBO_MTU || ifr->ifr_mtu < ETHERMIN) { error = EINVAL; break; } if (sc_if->msk_softc->msk_hw_id == CHIP_ID_YUKON_FE && ifr->ifr_mtu > MSK_MAX_FRAMELEN) { error = EINVAL; break; } MSK_IF_LOCK(sc_if); ifp->if_mtu = ifr->ifr_mtu; if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) msk_init_locked(sc_if); MSK_IF_UNLOCK(sc_if); break; case SIOCSIFFLAGS: MSK_IF_LOCK(sc_if); if ((ifp->if_flags & IFF_UP) != 0) { if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) { if (((ifp->if_flags ^ sc_if->msk_if_flags) & IFF_PROMISC) != 0) { msk_setpromisc(sc_if); msk_setmulti(sc_if); } } else { if (sc_if->msk_detach == 0) msk_init_locked(sc_if); } } else { if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) msk_stop(sc_if); } sc_if->msk_if_flags = ifp->if_flags; MSK_IF_UNLOCK(sc_if); break; case SIOCADDMULTI: case SIOCDELMULTI: MSK_IF_LOCK(sc_if); if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) msk_setmulti(sc_if); MSK_IF_UNLOCK(sc_if); break; case SIOCGIFMEDIA: case SIOCSIFMEDIA: mii = device_get_softc(sc_if->msk_miibus); error = ifmedia_ioctl(ifp, ifr, &mii->mii_media, command); break; case SIOCSIFCAP: MSK_IF_LOCK(sc_if); mask = ifr->ifr_reqcap ^ ifp->if_capenable; if ((mask & IFCAP_TXCSUM) != 0) { ifp->if_capenable ^= IFCAP_TXCSUM; if ((IFCAP_TXCSUM & ifp->if_capenable) != 0 && (IFCAP_TXCSUM & ifp->if_capabilities) != 0) ifp->if_hwassist |= MSK_CSUM_FEATURES; else ifp->if_hwassist &= ~MSK_CSUM_FEATURES; } if ((mask & IFCAP_VLAN_HWTAGGING) != 0) { ifp->if_capenable ^= IFCAP_VLAN_HWTAGGING; msk_setvlan(sc_if, ifp); } if ((mask & IFCAP_TSO4) != 0) { ifp->if_capenable ^= IFCAP_TSO4; if ((IFCAP_TSO4 & ifp->if_capenable) != 0 && (IFCAP_TSO4 & ifp->if_capabilities) != 0) ifp->if_hwassist |= CSUM_TSO; else ifp->if_hwassist &= ~CSUM_TSO; } if (sc_if->msk_framesize > MSK_MAX_FRAMELEN && sc_if->msk_softc->msk_hw_id == CHIP_ID_YUKON_EC_U) { /* * In Yukon EC Ultra, TSO & checksum offload is not * supported for jumbo frame. */ ifp->if_hwassist &= ~(MSK_CSUM_FEATURES | CSUM_TSO); ifp->if_capenable &= ~(IFCAP_TSO4 | IFCAP_TXCSUM); } VLAN_CAPABILITIES(ifp); MSK_IF_UNLOCK(sc_if); break; default: error = ether_ioctl(ifp, command, data); break; } return (error); } static int mskc_probe(device_t dev) { struct msk_product *mp; uint16_t vendor, devid; int i; vendor = pci_get_vendor(dev); devid = pci_get_device(dev); mp = msk_products; for (i = 0; i < sizeof(msk_products)/sizeof(msk_products[0]); i++, mp++) { if (vendor == mp->msk_vendorid && devid == mp->msk_deviceid) { device_set_desc(dev, mp->msk_name); return (BUS_PROBE_DEFAULT); } } return (ENXIO); } static int mskc_setup_rambuffer(struct msk_softc *sc) { int next; int i; /* Get adapter SRAM size. */ sc->msk_ramsize = CSR_READ_1(sc, B2_E_0) * 4; if (bootverbose) device_printf(sc->msk_dev, "RAM buffer size : %dKB\n", sc->msk_ramsize); if (sc->msk_ramsize == 0) return (0); sc->msk_pflags |= MSK_FLAG_RAMBUF; /* * Give receiver 2/3 of memory and round down to the multiple * of 1024. Tx/Rx RAM buffer size of Yukon II shoud be multiple * of 1024. */ sc->msk_rxqsize = rounddown((sc->msk_ramsize * 1024 * 2) / 3, 1024); sc->msk_txqsize = (sc->msk_ramsize * 1024) - sc->msk_rxqsize; for (i = 0, next = 0; i < sc->msk_num_port; i++) { sc->msk_rxqstart[i] = next; sc->msk_rxqend[i] = next + sc->msk_rxqsize - 1; next = sc->msk_rxqend[i] + 1; sc->msk_txqstart[i] = next; sc->msk_txqend[i] = next + sc->msk_txqsize - 1; next = sc->msk_txqend[i] + 1; if (bootverbose) { device_printf(sc->msk_dev, "Port %d : Rx Queue %dKB(0x%08x:0x%08x)\n", i, sc->msk_rxqsize / 1024, sc->msk_rxqstart[i], sc->msk_rxqend[i]); device_printf(sc->msk_dev, "Port %d : Tx Queue %dKB(0x%08x:0x%08x)\n", i, sc->msk_txqsize / 1024, sc->msk_txqstart[i], sc->msk_txqend[i]); } } return (0); } static void msk_phy_power(struct msk_softc *sc, int mode) { uint32_t val; int i; switch (mode) { case MSK_PHY_POWERUP: /* Switch power to VCC (WA for VAUX problem). */ CSR_WRITE_1(sc, B0_POWER_CTRL, PC_VAUX_ENA | PC_VCC_ENA | PC_VAUX_OFF | PC_VCC_ON); /* Disable Core Clock Division, set Clock Select to 0. */ CSR_WRITE_4(sc, B2_Y2_CLK_CTRL, Y2_CLK_DIV_DIS); val = 0; if (sc->msk_hw_id == CHIP_ID_YUKON_XL && sc->msk_hw_rev > CHIP_REV_YU_XL_A1) { /* Enable bits are inverted. */ val = Y2_PCI_CLK_LNK1_DIS | Y2_COR_CLK_LNK1_DIS | Y2_CLK_GAT_LNK1_DIS | Y2_PCI_CLK_LNK2_DIS | Y2_COR_CLK_LNK2_DIS | Y2_CLK_GAT_LNK2_DIS; } /* * Enable PCI & Core Clock, enable clock gating for both Links. */ CSR_WRITE_1(sc, B2_Y2_CLK_GATE, val); val = pci_read_config(sc->msk_dev, PCI_OUR_REG_1, 4); val &= ~(PCI_Y2_PHY1_POWD | PCI_Y2_PHY2_POWD); if (sc->msk_hw_id == CHIP_ID_YUKON_XL && sc->msk_hw_rev > CHIP_REV_YU_XL_A1) { /* Deassert Low Power for 1st PHY. */ val |= PCI_Y2_PHY1_COMA; if (sc->msk_num_port > 1) val |= PCI_Y2_PHY2_COMA; } else if (sc->msk_hw_id == CHIP_ID_YUKON_EC_U) { uint32_t our; CSR_WRITE_2(sc, B0_CTST, Y2_HW_WOL_ON); /* Enable all clocks. */ pci_write_config(sc->msk_dev, PCI_OUR_REG_3, 0, 4); our = pci_read_config(sc->msk_dev, PCI_OUR_REG_4, 4); our &= (PCI_FORCE_ASPM_REQUEST|PCI_ASPM_GPHY_LINK_DOWN| PCI_ASPM_INT_FIFO_EMPTY|PCI_ASPM_CLKRUN_REQUEST); /* Set all bits to 0 except bits 15..12. */ pci_write_config(sc->msk_dev, PCI_OUR_REG_4, our, 4); /* Set to default value. */ pci_write_config(sc->msk_dev, PCI_OUR_REG_5, 0, 4); } /* Release PHY from PowerDown/COMA mode. */ pci_write_config(sc->msk_dev, PCI_OUR_REG_1, val, 4); for (i = 0; i < sc->msk_num_port; i++) { CSR_WRITE_2(sc, MR_ADDR(i, GMAC_LINK_CTRL), GMLC_RST_SET); CSR_WRITE_2(sc, MR_ADDR(i, GMAC_LINK_CTRL), GMLC_RST_CLR); } break; case MSK_PHY_POWERDOWN: val = pci_read_config(sc->msk_dev, PCI_OUR_REG_1, 4); val |= PCI_Y2_PHY1_POWD | PCI_Y2_PHY2_POWD; if (sc->msk_hw_id == CHIP_ID_YUKON_XL && sc->msk_hw_rev > CHIP_REV_YU_XL_A1) { val &= ~PCI_Y2_PHY1_COMA; if (sc->msk_num_port > 1) val &= ~PCI_Y2_PHY2_COMA; } pci_write_config(sc->msk_dev, PCI_OUR_REG_1, val, 4); val = Y2_PCI_CLK_LNK1_DIS | Y2_COR_CLK_LNK1_DIS | Y2_CLK_GAT_LNK1_DIS | Y2_PCI_CLK_LNK2_DIS | Y2_COR_CLK_LNK2_DIS | Y2_CLK_GAT_LNK2_DIS; if (sc->msk_hw_id == CHIP_ID_YUKON_XL && sc->msk_hw_rev > CHIP_REV_YU_XL_A1) { /* Enable bits are inverted. */ val = 0; } /* * Disable PCI & Core Clock, disable clock gating for * both Links. */ CSR_WRITE_1(sc, B2_Y2_CLK_GATE, val); CSR_WRITE_1(sc, B0_POWER_CTRL, PC_VAUX_ENA | PC_VCC_ENA | PC_VAUX_ON | PC_VCC_OFF); break; default: break; } } static void mskc_reset(struct msk_softc *sc) { bus_addr_t addr; uint16_t status; uint32_t val; int i; CSR_WRITE_2(sc, B0_CTST, CS_RST_CLR); /* Disable ASF. */ if (sc->msk_hw_id < CHIP_ID_YUKON_XL) { CSR_WRITE_4(sc, B28_Y2_ASF_STAT_CMD, Y2_ASF_RESET); CSR_WRITE_2(sc, B0_CTST, Y2_ASF_DISABLE); } /* * Since we disabled ASF, S/W reset is required for Power Management. */ CSR_WRITE_2(sc, B0_CTST, CS_RST_SET); CSR_WRITE_2(sc, B0_CTST, CS_RST_CLR); /* Clear all error bits in the PCI status register. */ status = pci_read_config(sc->msk_dev, PCIR_STATUS, 2); CSR_WRITE_1(sc, B2_TST_CTRL1, TST_CFG_WRITE_ON); pci_write_config(sc->msk_dev, PCIR_STATUS, status | PCIM_STATUS_PERR | PCIM_STATUS_SERR | PCIM_STATUS_RMABORT | PCIM_STATUS_RTABORT | PCIM_STATUS_PERRREPORT, 2); CSR_WRITE_2(sc, B0_CTST, CS_MRST_CLR); switch (sc->msk_bustype) { case MSK_PEX_BUS: /* Clear all PEX errors. */ CSR_PCI_WRITE_4(sc, PEX_UNC_ERR_STAT, 0xffffffff); val = CSR_PCI_READ_4(sc, PEX_UNC_ERR_STAT); if ((val & PEX_RX_OV) != 0) { sc->msk_intrmask &= ~Y2_IS_HW_ERR; sc->msk_intrhwemask &= ~Y2_IS_PCI_EXP; } break; case MSK_PCI_BUS: case MSK_PCIX_BUS: /* Set Cache Line Size to 2(8bytes) if configured to 0. */ val = pci_read_config(sc->msk_dev, PCIR_CACHELNSZ, 1); if (val == 0) pci_write_config(sc->msk_dev, PCIR_CACHELNSZ, 2, 1); if (sc->msk_bustype == MSK_PCIX_BUS) { /* Set Cache Line Size opt. */ val = pci_read_config(sc->msk_dev, PCI_OUR_REG_1, 4); val |= PCI_CLS_OPT; pci_write_config(sc->msk_dev, PCI_OUR_REG_1, val, 4); } break; } /* Set PHY power state. */ msk_phy_power(sc, MSK_PHY_POWERUP); /* Reset GPHY/GMAC Control */ for (i = 0; i < sc->msk_num_port; i++) { /* GPHY Control reset. */ CSR_WRITE_4(sc, MR_ADDR(i, GPHY_CTRL), GPC_RST_SET); CSR_WRITE_4(sc, MR_ADDR(i, GPHY_CTRL), GPC_RST_CLR); /* GMAC Control reset. */ CSR_WRITE_4(sc, MR_ADDR(i, GMAC_CTRL), GMC_RST_SET); CSR_WRITE_4(sc, MR_ADDR(i, GMAC_CTRL), GMC_RST_CLR); CSR_WRITE_4(sc, MR_ADDR(i, GMAC_CTRL), GMC_F_LOOPB_OFF); } CSR_WRITE_1(sc, B2_TST_CTRL1, TST_CFG_WRITE_OFF); /* LED On. */ CSR_WRITE_2(sc, B0_CTST, Y2_LED_STAT_ON); /* Clear TWSI IRQ. */ CSR_WRITE_4(sc, B2_I2C_IRQ, I2C_CLR_IRQ); /* Turn off hardware timer. */ CSR_WRITE_1(sc, B2_TI_CTRL, TIM_STOP); CSR_WRITE_1(sc, B2_TI_CTRL, TIM_CLR_IRQ); /* Turn off descriptor polling. */ CSR_WRITE_1(sc, B28_DPT_CTRL, DPT_STOP); /* Turn off time stamps. */ CSR_WRITE_1(sc, GMAC_TI_ST_CTRL, GMT_ST_STOP); CSR_WRITE_1(sc, GMAC_TI_ST_CTRL, GMT_ST_CLR_IRQ); /* Configure timeout values. */ for (i = 0; i < sc->msk_num_port; i++) { CSR_WRITE_2(sc, SELECT_RAM_BUFFER(i, B3_RI_CTRL), RI_RST_SET); CSR_WRITE_2(sc, SELECT_RAM_BUFFER(i, B3_RI_CTRL), RI_RST_CLR); CSR_WRITE_1(sc, SELECT_RAM_BUFFER(i, B3_RI_WTO_R1), MSK_RI_TO_53); CSR_WRITE_1(sc, SELECT_RAM_BUFFER(i, B3_RI_WTO_XA1), MSK_RI_TO_53); CSR_WRITE_1(sc, SELECT_RAM_BUFFER(i, B3_RI_WTO_XS1), MSK_RI_TO_53); CSR_WRITE_1(sc, SELECT_RAM_BUFFER(i, B3_RI_RTO_R1), MSK_RI_TO_53); CSR_WRITE_1(sc, SELECT_RAM_BUFFER(i, B3_RI_RTO_XA1), MSK_RI_TO_53); CSR_WRITE_1(sc, SELECT_RAM_BUFFER(i, B3_RI_RTO_XS1), MSK_RI_TO_53); CSR_WRITE_1(sc, SELECT_RAM_BUFFER(i, B3_RI_WTO_R2), MSK_RI_TO_53); CSR_WRITE_1(sc, SELECT_RAM_BUFFER(i, B3_RI_WTO_XA2), MSK_RI_TO_53); CSR_WRITE_1(sc, SELECT_RAM_BUFFER(i, B3_RI_WTO_XS2), MSK_RI_TO_53); CSR_WRITE_1(sc, SELECT_RAM_BUFFER(i, B3_RI_RTO_R2), MSK_RI_TO_53); CSR_WRITE_1(sc, SELECT_RAM_BUFFER(i, B3_RI_RTO_XA2), MSK_RI_TO_53); CSR_WRITE_1(sc, SELECT_RAM_BUFFER(i, B3_RI_RTO_XS2), MSK_RI_TO_53); } /* Disable all interrupts. */ CSR_WRITE_4(sc, B0_HWE_IMSK, 0); CSR_READ_4(sc, B0_HWE_IMSK); CSR_WRITE_4(sc, B0_IMSK, 0); CSR_READ_4(sc, B0_IMSK); /* * On dual port PCI-X card, there is an problem where status * can be received out of order due to split transactions. */ if (sc->msk_bustype == MSK_PCIX_BUS && sc->msk_num_port > 1) { int pcix; uint16_t pcix_cmd; if (pci_find_extcap(sc->msk_dev, PCIY_PCIX, &pcix) == 0) { pcix_cmd = pci_read_config(sc->msk_dev, pcix + 2, 2); /* Clear Max Outstanding Split Transactions. */ pcix_cmd &= ~0x70; CSR_WRITE_1(sc, B2_TST_CTRL1, TST_CFG_WRITE_ON); pci_write_config(sc->msk_dev, pcix + 2, pcix_cmd, 2); CSR_WRITE_1(sc, B2_TST_CTRL1, TST_CFG_WRITE_OFF); } } if (sc->msk_bustype == MSK_PEX_BUS) { uint16_t v, width; v = pci_read_config(sc->msk_dev, PEX_DEV_CTRL, 2); /* Change Max. Read Request Size to 4096 bytes. */ v &= ~PEX_DC_MAX_RRS_MSK; v |= PEX_DC_MAX_RD_RQ_SIZE(5); pci_write_config(sc->msk_dev, PEX_DEV_CTRL, v, 2); width = pci_read_config(sc->msk_dev, PEX_LNK_STAT, 2); width = (width & PEX_LS_LINK_WI_MSK) >> 4; v = pci_read_config(sc->msk_dev, PEX_LNK_CAP, 2); v = (v & PEX_LS_LINK_WI_MSK) >> 4; if (v != width) device_printf(sc->msk_dev, "negotiated width of link(x%d) != " "max. width of link(x%d)\n", width, v); } /* Clear status list. */ bzero(sc->msk_stat_ring, sizeof(struct msk_stat_desc) * MSK_STAT_RING_CNT); sc->msk_stat_cons = 0; bus_dmamap_sync(sc->msk_stat_tag, sc->msk_stat_map, BUS_DMASYNC_PREREAD | BUS_DMASYNC_PREWRITE); CSR_WRITE_4(sc, STAT_CTRL, SC_STAT_RST_SET); CSR_WRITE_4(sc, STAT_CTRL, SC_STAT_RST_CLR); /* Set the status list base address. */ addr = sc->msk_stat_ring_paddr; CSR_WRITE_4(sc, STAT_LIST_ADDR_LO, MSK_ADDR_LO(addr)); CSR_WRITE_4(sc, STAT_LIST_ADDR_HI, MSK_ADDR_HI(addr)); /* Set the status list last index. */ CSR_WRITE_2(sc, STAT_LAST_IDX, MSK_STAT_RING_CNT - 1); if (sc->msk_hw_id == CHIP_ID_YUKON_EC && sc->msk_hw_rev == CHIP_REV_YU_EC_A1) { /* WA for dev. #4.3 */ CSR_WRITE_2(sc, STAT_TX_IDX_TH, ST_TXTH_IDX_MASK); /* WA for dev. #4.18 */ CSR_WRITE_1(sc, STAT_FIFO_WM, 0x21); CSR_WRITE_1(sc, STAT_FIFO_ISR_WM, 0x07); } else { CSR_WRITE_2(sc, STAT_TX_IDX_TH, 0x0a); CSR_WRITE_1(sc, STAT_FIFO_WM, 0x10); if (sc->msk_hw_id == CHIP_ID_YUKON_XL && sc->msk_hw_rev == CHIP_REV_YU_XL_A0) CSR_WRITE_1(sc, STAT_FIFO_ISR_WM, 0x04); else CSR_WRITE_1(sc, STAT_FIFO_ISR_WM, 0x10); CSR_WRITE_4(sc, STAT_ISR_TIMER_INI, 0x0190); } /* * Use default value for STAT_ISR_TIMER_INI, STAT_LEV_TIMER_INI. */ CSR_WRITE_4(sc, STAT_TX_TIMER_INI, MSK_USECS(sc, 1000)); /* Enable status unit. */ CSR_WRITE_4(sc, STAT_CTRL, SC_STAT_OP_ON); CSR_WRITE_1(sc, STAT_TX_TIMER_CTRL, TIM_START); CSR_WRITE_1(sc, STAT_LEV_TIMER_CTRL, TIM_START); CSR_WRITE_1(sc, STAT_ISR_TIMER_CTRL, TIM_START); } static int msk_probe(device_t dev) { struct msk_softc *sc; char desc[100]; sc = device_get_softc(device_get_parent(dev)); /* * Not much to do here. We always know there will be * at least one GMAC present, and if there are two, * mskc_attach() will create a second device instance * for us. */ snprintf(desc, sizeof(desc), "Marvell Technology Group Ltd. %s Id 0x%02x Rev 0x%02x", model_name[sc->msk_hw_id - CHIP_ID_YUKON_XL], sc->msk_hw_id, sc->msk_hw_rev); device_set_desc_copy(dev, desc); return (BUS_PROBE_DEFAULT); } static int msk_attach(device_t dev) { struct msk_softc *sc; struct msk_if_softc *sc_if; struct ifnet *ifp; int i, port, error; uint8_t eaddr[6]; if (dev == NULL) return (EINVAL); error = 0; sc_if = device_get_softc(dev); sc = device_get_softc(device_get_parent(dev)); port = *(int *)device_get_ivars(dev); sc_if->msk_if_dev = dev; sc_if->msk_port = port; sc_if->msk_softc = sc; sc_if->msk_flags = sc->msk_pflags; sc->msk_if[port] = sc_if; /* Setup Tx/Rx queue register offsets. */ if (port == MSK_PORT_A) { sc_if->msk_txq = Q_XA1; sc_if->msk_txsq = Q_XS1; sc_if->msk_rxq = Q_R1; } else { sc_if->msk_txq = Q_XA2; sc_if->msk_txsq = Q_XS2; sc_if->msk_rxq = Q_R2; } callout_init_mtx(&sc_if->msk_tick_ch, &sc_if->msk_softc->msk_mtx, 0); TASK_INIT(&sc_if->msk_link_task, 0, msk_link_task, sc_if); if ((error = msk_txrx_dma_alloc(sc_if) != 0)) goto fail; ifp = sc_if->msk_ifp = if_alloc(IFT_ETHER); if (ifp == NULL) { device_printf(sc_if->msk_if_dev, "can not if_alloc()\n"); error = ENOSPC; goto fail; } ifp->if_softc = sc_if; if_initname(ifp, device_get_name(dev), device_get_unit(dev)); ifp->if_mtu = ETHERMTU; ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; /* * IFCAP_RXCSUM capability is intentionally disabled as the hardware * has serious bug in Rx checksum offload for all Yukon II family * hardware. It seems there is a workaround to make it work somtimes. * However, the workaround also have to check OP code sequences to * verify whether the OP code is correct. Sometimes it should compute * IP/TCP/UDP checksum in driver in order to verify correctness of * checksum computed by hardware. If you have to compute checksum * with software to verify the hardware's checksum why have hardware * compute the checksum? I think there is no reason to spend time to * make Rx checksum offload work on Yukon II hardware. */ ifp->if_capabilities = IFCAP_TXCSUM | IFCAP_TSO4; ifp->if_hwassist = MSK_CSUM_FEATURES | CSUM_TSO; ifp->if_capenable = ifp->if_capabilities; ifp->if_ioctl = msk_ioctl; ifp->if_start = msk_start; ifp->if_timer = 0; ifp->if_watchdog = NULL; ifp->if_init = msk_init; IFQ_SET_MAXLEN(&ifp->if_snd, MSK_TX_RING_CNT - 1); ifp->if_snd.ifq_drv_maxlen = MSK_TX_RING_CNT - 1; IFQ_SET_READY(&ifp->if_snd); TASK_INIT(&sc_if->msk_tx_task, 1, msk_tx_task, ifp); /* * Get station address for this interface. Note that * dual port cards actually come with three station * addresses: one for each port, plus an extra. The * extra one is used by the SysKonnect driver software * as a 'virtual' station address for when both ports * are operating in failover mode. Currently we don't * use this extra address. */ MSK_IF_LOCK(sc_if); for (i = 0; i < ETHER_ADDR_LEN; i++) eaddr[i] = CSR_READ_1(sc, B2_MAC_1 + (port * 8) + i); /* * Call MI attach routine. Can't hold locks when calling into ether_*. */ MSK_IF_UNLOCK(sc_if); ether_ifattach(ifp, eaddr); MSK_IF_LOCK(sc_if); /* * VLAN capability setup * Due to Tx checksum offload hardware bugs, msk(4) manually * computes checksum for short frames. For VLAN tagged frames * this workaround does not work so disable checksum offload * for VLAN interface. */ ifp->if_capabilities |= IFCAP_VLAN_MTU | IFCAP_VLAN_HWTAGGING; ifp->if_capenable = ifp->if_capabilities; /* * Tell the upper layer(s) we support long frames. * Must appear after the call to ether_ifattach() because * ether_ifattach() sets ifi_hdrlen to the default value. */ ifp->if_data.ifi_hdrlen = sizeof(struct ether_vlan_header); sc_if->msk_framesize = ifp->if_mtu + ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN; /* * Do miibus setup. */ MSK_IF_UNLOCK(sc_if); error = mii_phy_probe(dev, &sc_if->msk_miibus, msk_mediachange, msk_mediastatus); if (error != 0) { device_printf(sc_if->msk_if_dev, "no PHY found!\n"); ether_ifdetach(ifp); error = ENXIO; goto fail; } fail: if (error != 0) { /* Access should be ok even though lock has been dropped */ sc->msk_if[port] = NULL; msk_detach(dev); } return (error); } /* * Attach the interface. Allocate softc structures, do ifmedia * setup and ethernet/BPF attach. */ static int mskc_attach(device_t dev) { struct msk_softc *sc; int error, msic, msir, *port, reg; sc = device_get_softc(dev); sc->msk_dev = dev; mtx_init(&sc->msk_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK, MTX_DEF); /* * Map control/status registers. */ pci_enable_busmaster(dev); /* Allocate I/O resource */ #ifdef MSK_USEIOSPACE sc->msk_res_spec = msk_res_spec_io; #else sc->msk_res_spec = msk_res_spec_mem; #endif sc->msk_irq_spec = msk_irq_spec_legacy; error = bus_alloc_resources(dev, sc->msk_res_spec, sc->msk_res); if (error) { if (sc->msk_res_spec == msk_res_spec_mem) sc->msk_res_spec = msk_res_spec_io; else sc->msk_res_spec = msk_res_spec_mem; error = bus_alloc_resources(dev, sc->msk_res_spec, sc->msk_res) ; if (error) { device_printf(dev, "couldn't allocate %s resources\n", sc->msk_res_spec == msk_res_spec_mem ? "memory" : "I/O"); mtx_destroy(&sc->msk_mtx); return (ENXIO); } } CSR_WRITE_2(sc, B0_CTST, CS_RST_CLR); sc->msk_hw_id = CSR_READ_1(sc, B2_CHIP_ID); sc->msk_hw_rev = (CSR_READ_1(sc, B2_MAC_CFG) >> 4) & 0x0f; /* Bail out if chip is not recognized. */ if (sc->msk_hw_id < CHIP_ID_YUKON_XL || sc->msk_hw_id > CHIP_ID_YUKON_FE) { device_printf(dev, "unknown device: id=0x%02x, rev=0x%02x\n", sc->msk_hw_id, sc->msk_hw_rev); mtx_destroy(&sc->msk_mtx); return (ENXIO); } SYSCTL_ADD_PROC(device_get_sysctl_ctx(dev), SYSCTL_CHILDREN(device_get_sysctl_tree(dev)), OID_AUTO, "process_limit", CTLTYPE_INT | CTLFLAG_RW, &sc->msk_process_limit, 0, sysctl_hw_msk_proc_limit, "I", "max number of Rx events to process"); sc->msk_process_limit = MSK_PROC_DEFAULT; error = resource_int_value(device_get_name(dev), device_get_unit(dev), "process_limit", &sc->msk_process_limit); if (error == 0) { if (sc->msk_process_limit < MSK_PROC_MIN || sc->msk_process_limit > MSK_PROC_MAX) { device_printf(dev, "process_limit value out of range; " "using default: %d\n", MSK_PROC_DEFAULT); sc->msk_process_limit = MSK_PROC_DEFAULT; } } /* Soft reset. */ CSR_WRITE_2(sc, B0_CTST, CS_RST_SET); CSR_WRITE_2(sc, B0_CTST, CS_RST_CLR); sc->msk_pmd = CSR_READ_1(sc, B2_PMD_TYP); if (sc->msk_pmd == 'L' || sc->msk_pmd == 'S') sc->msk_coppertype = 0; else sc->msk_coppertype = 1; /* Check number of MACs. */ sc->msk_num_port = 1; if ((CSR_READ_1(sc, B2_Y2_HW_RES) & CFG_DUAL_MAC_MSK) == CFG_DUAL_MAC_MSK) { if (!(CSR_READ_1(sc, B2_Y2_CLK_GATE) & Y2_STATUS_LNK2_INAC)) sc->msk_num_port++; } /* Check bus type. */ if (pci_find_extcap(sc->msk_dev, PCIY_EXPRESS, ®) == 0) sc->msk_bustype = MSK_PEX_BUS; else if (pci_find_extcap(sc->msk_dev, PCIY_PCIX, ®) == 0) sc->msk_bustype = MSK_PCIX_BUS; else sc->msk_bustype = MSK_PCI_BUS; switch (sc->msk_hw_id) { case CHIP_ID_YUKON_EC: case CHIP_ID_YUKON_EC_U: sc->msk_clock = 125; /* 125 Mhz */ break; case CHIP_ID_YUKON_FE: sc->msk_clock = 100; /* 100 Mhz */ break; case CHIP_ID_YUKON_XL: sc->msk_clock = 156; /* 156 Mhz */ break; default: sc->msk_clock = 156; /* 156 Mhz */ break; } /* Allocate IRQ resources. */ msic = pci_msi_count(dev); if (bootverbose) device_printf(dev, "MSI count : %d\n", msic); /* * The Yukon II reports it can handle two messages, one for each * possible port. We go ahead and allocate two messages and only * setup a handler for both if we have a dual port card. * * XXX: I haven't untangled the interrupt handler to handle dual * port cards with separate MSI messages, so for now I disable MSI * on dual port cards. */ if (legacy_intr != 0) msi_disable = 1; if (msi_disable == 0) { switch (msic) { case 2: case 1: /* 88E8058 reports 1 MSI message */ msir = msic; if (sc->msk_num_port == 1 && pci_alloc_msi(dev, &msir) == 0) { if (msic == msir) { sc->msk_msi = 1; sc->msk_irq_spec = msic == 2 ? msk_irq_spec_msi2 : msk_irq_spec_msi; } else pci_release_msi(dev); } break; default: device_printf(dev, "Unexpected number of MSI messages : %d\n", msic); break; } } error = bus_alloc_resources(dev, sc->msk_irq_spec, sc->msk_irq); if (error) { device_printf(dev, "couldn't allocate IRQ resources\n"); goto fail; } if ((error = msk_status_dma_alloc(sc)) != 0) goto fail; /* Set base interrupt mask. */ sc->msk_intrmask = Y2_IS_HW_ERR | Y2_IS_STAT_BMU; sc->msk_intrhwemask = Y2_IS_TIST_OV | Y2_IS_MST_ERR | Y2_IS_IRQ_STAT | Y2_IS_PCI_EXP | Y2_IS_PCI_NEXP; /* Reset the adapter. */ mskc_reset(sc); if ((error = mskc_setup_rambuffer(sc)) != 0) goto fail; sc->msk_devs[MSK_PORT_A] = device_add_child(dev, "msk", -1); if (sc->msk_devs[MSK_PORT_A] == NULL) { device_printf(dev, "failed to add child for PORT_A\n"); error = ENXIO; goto fail; } port = malloc(sizeof(int), M_DEVBUF, M_WAITOK); if (port == NULL) { device_printf(dev, "failed to allocate memory for " "ivars of PORT_A\n"); error = ENXIO; goto fail; } *port = MSK_PORT_A; device_set_ivars(sc->msk_devs[MSK_PORT_A], port); if (sc->msk_num_port > 1) { sc->msk_devs[MSK_PORT_B] = device_add_child(dev, "msk", -1); if (sc->msk_devs[MSK_PORT_B] == NULL) { device_printf(dev, "failed to add child for PORT_B\n"); error = ENXIO; goto fail; } port = malloc(sizeof(int), M_DEVBUF, M_WAITOK); if (port == NULL) { device_printf(dev, "failed to allocate memory for " "ivars of PORT_B\n"); error = ENXIO; goto fail; } *port = MSK_PORT_B; device_set_ivars(sc->msk_devs[MSK_PORT_B], port); } error = bus_generic_attach(dev); if (error) { device_printf(dev, "failed to attach port(s)\n"); goto fail; } /* Hook interrupt last to avoid having to lock softc. */ if (legacy_intr) error = bus_setup_intr(dev, sc->msk_irq[0], INTR_TYPE_NET | INTR_MPSAFE, NULL, msk_legacy_intr, sc, &sc->msk_intrhand[0]); else { TASK_INIT(&sc->msk_int_task, 0, msk_int_task, sc); sc->msk_tq = taskqueue_create_fast("msk_taskq", M_WAITOK, taskqueue_thread_enqueue, &sc->msk_tq); taskqueue_start_threads(&sc->msk_tq, 1, PI_NET, "%s taskq", device_get_nameunit(sc->msk_dev)); error = bus_setup_intr(dev, sc->msk_irq[0], INTR_TYPE_NET | INTR_MPSAFE, msk_intr, NULL, sc, &sc->msk_intrhand[0]); } if (error != 0) { device_printf(dev, "couldn't set up interrupt handler\n"); if (legacy_intr == 0) taskqueue_free(sc->msk_tq); sc->msk_tq = NULL; goto fail; } fail: if (error != 0) mskc_detach(dev); return (error); } /* * Shutdown hardware and free up resources. This can be called any * time after the mutex has been initialized. It is called in both * the error case in attach and the normal detach case so it needs * to be careful about only freeing resources that have actually been * allocated. */ static int msk_detach(device_t dev) { struct msk_softc *sc; struct msk_if_softc *sc_if; struct ifnet *ifp; sc_if = device_get_softc(dev); KASSERT(mtx_initialized(&sc_if->msk_softc->msk_mtx), ("msk mutex not initialized in msk_detach")); MSK_IF_LOCK(sc_if); ifp = sc_if->msk_ifp; if (device_is_attached(dev)) { /* XXX */ sc_if->msk_detach = 1; msk_stop(sc_if); /* Can't hold locks while calling detach. */ MSK_IF_UNLOCK(sc_if); callout_drain(&sc_if->msk_tick_ch); taskqueue_drain(taskqueue_fast, &sc_if->msk_tx_task); taskqueue_drain(taskqueue_swi, &sc_if->msk_link_task); ether_ifdetach(ifp); MSK_IF_LOCK(sc_if); } /* * We're generally called from mskc_detach() which is using * device_delete_child() to get to here. It's already trashed * miibus for us, so don't do it here or we'll panic. * * if (sc_if->msk_miibus != NULL) { * device_delete_child(dev, sc_if->msk_miibus); * sc_if->msk_miibus = NULL; * } */ msk_txrx_dma_free(sc_if); bus_generic_detach(dev); if (ifp) if_free(ifp); sc = sc_if->msk_softc; sc->msk_if[sc_if->msk_port] = NULL; MSK_IF_UNLOCK(sc_if); return (0); } static int mskc_detach(device_t dev) { struct msk_softc *sc; sc = device_get_softc(dev); KASSERT(mtx_initialized(&sc->msk_mtx), ("msk mutex not initialized")); if (device_is_alive(dev)) { if (sc->msk_devs[MSK_PORT_A] != NULL) { free(device_get_ivars(sc->msk_devs[MSK_PORT_A]), M_DEVBUF); device_delete_child(dev, sc->msk_devs[MSK_PORT_A]); } if (sc->msk_devs[MSK_PORT_B] != NULL) { free(device_get_ivars(sc->msk_devs[MSK_PORT_B]), M_DEVBUF); device_delete_child(dev, sc->msk_devs[MSK_PORT_B]); } bus_generic_detach(dev); } /* Disable all interrupts. */ CSR_WRITE_4(sc, B0_IMSK, 0); CSR_READ_4(sc, B0_IMSK); CSR_WRITE_4(sc, B0_HWE_IMSK, 0); CSR_READ_4(sc, B0_HWE_IMSK); /* LED Off. */ CSR_WRITE_2(sc, B0_CTST, Y2_LED_STAT_OFF); /* Put hardware reset. */ CSR_WRITE_2(sc, B0_CTST, CS_RST_SET); msk_status_dma_free(sc); if (legacy_intr == 0 && sc->msk_tq != NULL) { taskqueue_drain(sc->msk_tq, &sc->msk_int_task); taskqueue_free(sc->msk_tq); sc->msk_tq = NULL; } if (sc->msk_intrhand[0]) { bus_teardown_intr(dev, sc->msk_irq[0], sc->msk_intrhand[0]); sc->msk_intrhand[0] = NULL; } if (sc->msk_intrhand[1]) { bus_teardown_intr(dev, sc->msk_irq[0], sc->msk_intrhand[0]); sc->msk_intrhand[1] = NULL; } bus_release_resources(dev, sc->msk_irq_spec, sc->msk_irq); if (sc->msk_msi) pci_release_msi(dev); bus_release_resources(dev, sc->msk_res_spec, sc->msk_res); mtx_destroy(&sc->msk_mtx); return (0); } struct msk_dmamap_arg { bus_addr_t msk_busaddr; }; static void msk_dmamap_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error) { struct msk_dmamap_arg *ctx; if (error != 0) return; ctx = arg; ctx->msk_busaddr = segs[0].ds_addr; } /* Create status DMA region. */ static int msk_status_dma_alloc(struct msk_softc *sc) { struct msk_dmamap_arg ctx; int error; error = bus_dma_tag_create( bus_get_dma_tag(sc->msk_dev), /* parent */ MSK_STAT_ALIGN, 0, /* alignment, boundary */ BUS_SPACE_MAXADDR, /* lowaddr */ BUS_SPACE_MAXADDR, /* highaddr */ NULL, NULL, /* filter, filterarg */ MSK_STAT_RING_SZ, /* maxsize */ 1, /* nsegments */ MSK_STAT_RING_SZ, /* maxsegsize */ 0, /* flags */ NULL, NULL, /* lockfunc, lockarg */ &sc->msk_stat_tag); if (error != 0) { device_printf(sc->msk_dev, "failed to create status DMA tag\n"); return (error); } /* Allocate DMA'able memory and load the DMA map for status ring. */ error = bus_dmamem_alloc(sc->msk_stat_tag, (void **)&sc->msk_stat_ring, BUS_DMA_WAITOK | BUS_DMA_COHERENT | BUS_DMA_ZERO, &sc->msk_stat_map); if (error != 0) { device_printf(sc->msk_dev, "failed to allocate DMA'able memory for status ring\n"); return (error); } ctx.msk_busaddr = 0; error = bus_dmamap_load(sc->msk_stat_tag, sc->msk_stat_map, sc->msk_stat_ring, MSK_STAT_RING_SZ, msk_dmamap_cb, &ctx, 0); if (error != 0) { device_printf(sc->msk_dev, "failed to load DMA'able memory for status ring\n"); return (error); } sc->msk_stat_ring_paddr = ctx.msk_busaddr; return (0); } static void msk_status_dma_free(struct msk_softc *sc) { /* Destroy status block. */ if (sc->msk_stat_tag) { if (sc->msk_stat_map) { bus_dmamap_unload(sc->msk_stat_tag, sc->msk_stat_map); if (sc->msk_stat_ring) { bus_dmamem_free(sc->msk_stat_tag, sc->msk_stat_ring, sc->msk_stat_map); sc->msk_stat_ring = NULL; } sc->msk_stat_map = NULL; } bus_dma_tag_destroy(sc->msk_stat_tag); sc->msk_stat_tag = NULL; } } static int msk_txrx_dma_alloc(struct msk_if_softc *sc_if) { struct msk_dmamap_arg ctx; struct msk_txdesc *txd; struct msk_rxdesc *rxd; struct msk_rxdesc *jrxd; struct msk_jpool_entry *entry; uint8_t *ptr; bus_size_t rxalign; int error, i; mtx_init(&sc_if->msk_jlist_mtx, "msk_jlist_mtx", NULL, MTX_DEF); SLIST_INIT(&sc_if->msk_jfree_listhead); SLIST_INIT(&sc_if->msk_jinuse_listhead); /* Create parent DMA tag. */ /* * XXX * It seems that Yukon II supports full 64bits DMA operations. But * it needs two descriptors(list elements) for 64bits DMA operations. * Since we don't know what DMA address mappings(32bits or 64bits) * would be used in advance for each mbufs, we limits its DMA space * to be in range of 32bits address space. Otherwise, we should check * what DMA address is used and chain another descriptor for the * 64bits DMA operation. This also means descriptor ring size is * variable. Limiting DMA address to be in 32bit address space greatly * simplyfies descriptor handling and possibly would increase * performance a bit due to efficient handling of descriptors. * Apart from harassing checksum offloading mechanisms, it seems * it's really bad idea to use a seperate descriptor for 64bit * DMA operation to save small descriptor memory. Anyway, I've * never seen these exotic scheme on ethernet interface hardware. */ error = bus_dma_tag_create( bus_get_dma_tag(sc_if->msk_if_dev), /* parent */ 1, 0, /* alignment, boundary */ BUS_SPACE_MAXADDR_32BIT, /* lowaddr */ BUS_SPACE_MAXADDR, /* highaddr */ NULL, NULL, /* filter, filterarg */ BUS_SPACE_MAXSIZE_32BIT, /* maxsize */ 0, /* nsegments */ BUS_SPACE_MAXSIZE_32BIT, /* maxsegsize */ 0, /* flags */ NULL, NULL, /* lockfunc, lockarg */ &sc_if->msk_cdata.msk_parent_tag); if (error != 0) { device_printf(sc_if->msk_if_dev, "failed to create parent DMA tag\n"); goto fail; } /* Create tag for Tx ring. */ error = bus_dma_tag_create(sc_if->msk_cdata.msk_parent_tag,/* parent */ MSK_RING_ALIGN, 0, /* alignment, boundary */ BUS_SPACE_MAXADDR, /* lowaddr */ BUS_SPACE_MAXADDR, /* highaddr */ NULL, NULL, /* filter, filterarg */ MSK_TX_RING_SZ, /* maxsize */ 1, /* nsegments */ MSK_TX_RING_SZ, /* maxsegsize */ 0, /* flags */ NULL, NULL, /* lockfunc, lockarg */ &sc_if->msk_cdata.msk_tx_ring_tag); if (error != 0) { device_printf(sc_if->msk_if_dev, "failed to create Tx ring DMA tag\n"); goto fail; } /* Create tag for Rx ring. */ error = bus_dma_tag_create(sc_if->msk_cdata.msk_parent_tag,/* parent */ MSK_RING_ALIGN, 0, /* alignment, boundary */ BUS_SPACE_MAXADDR, /* lowaddr */ BUS_SPACE_MAXADDR, /* highaddr */ NULL, NULL, /* filter, filterarg */ MSK_RX_RING_SZ, /* maxsize */ 1, /* nsegments */ MSK_RX_RING_SZ, /* maxsegsize */ 0, /* flags */ NULL, NULL, /* lockfunc, lockarg */ &sc_if->msk_cdata.msk_rx_ring_tag); if (error != 0) { device_printf(sc_if->msk_if_dev, "failed to create Rx ring DMA tag\n"); goto fail; } /* Create tag for jumbo Rx ring. */ error = bus_dma_tag_create(sc_if->msk_cdata.msk_parent_tag,/* parent */ MSK_RING_ALIGN, 0, /* alignment, boundary */ BUS_SPACE_MAXADDR, /* lowaddr */ BUS_SPACE_MAXADDR, /* highaddr */ NULL, NULL, /* filter, filterarg */ MSK_JUMBO_RX_RING_SZ, /* maxsize */ 1, /* nsegments */ MSK_JUMBO_RX_RING_SZ, /* maxsegsize */ 0, /* flags */ NULL, NULL, /* lockfunc, lockarg */ &sc_if->msk_cdata.msk_jumbo_rx_ring_tag); if (error != 0) { device_printf(sc_if->msk_if_dev, "failed to create jumbo Rx ring DMA tag\n"); goto fail; } /* Create tag for jumbo buffer blocks. */ error = bus_dma_tag_create(sc_if->msk_cdata.msk_parent_tag,/* parent */ PAGE_SIZE, 0, /* alignment, boundary */ BUS_SPACE_MAXADDR, /* lowaddr */ BUS_SPACE_MAXADDR, /* highaddr */ NULL, NULL, /* filter, filterarg */ MSK_JMEM, /* maxsize */ 1, /* nsegments */ MSK_JMEM, /* maxsegsize */ 0, /* flags */ NULL, NULL, /* lockfunc, lockarg */ &sc_if->msk_cdata.msk_jumbo_tag); if (error != 0) { device_printf(sc_if->msk_if_dev, "failed to create jumbo Rx buffer block DMA tag\n"); goto fail; } /* Create tag for Tx buffers. */ error = bus_dma_tag_create(sc_if->msk_cdata.msk_parent_tag,/* parent */ 1, 0, /* alignment, boundary */ BUS_SPACE_MAXADDR, /* lowaddr */ BUS_SPACE_MAXADDR, /* highaddr */ NULL, NULL, /* filter, filterarg */ MSK_TSO_MAXSIZE, /* maxsize */ MSK_MAXTXSEGS, /* nsegments */ MSK_TSO_MAXSGSIZE, /* maxsegsize */ 0, /* flags */ NULL, NULL, /* lockfunc, lockarg */ &sc_if->msk_cdata.msk_tx_tag); if (error != 0) { device_printf(sc_if->msk_if_dev, "failed to create Tx DMA tag\n"); goto fail; } rxalign = 1; /* * Workaround hardware hang which seems to happen when Rx buffer * is not aligned on multiple of FIFO word(8 bytes). */ if ((sc_if->msk_flags & MSK_FLAG_RAMBUF) != 0) rxalign = MSK_RX_BUF_ALIGN; /* Create tag for Rx buffers. */ error = bus_dma_tag_create(sc_if->msk_cdata.msk_parent_tag,/* parent */ rxalign, 0, /* alignment, boundary */ BUS_SPACE_MAXADDR, /* lowaddr */ BUS_SPACE_MAXADDR, /* highaddr */ NULL, NULL, /* filter, filterarg */ MCLBYTES, /* maxsize */ 1, /* nsegments */ MCLBYTES, /* maxsegsize */ 0, /* flags */ NULL, NULL, /* lockfunc, lockarg */ &sc_if->msk_cdata.msk_rx_tag); if (error != 0) { device_printf(sc_if->msk_if_dev, "failed to create Rx DMA tag\n"); goto fail; } /* Create tag for jumbo Rx buffers. */ error = bus_dma_tag_create(sc_if->msk_cdata.msk_parent_tag,/* parent */ PAGE_SIZE, 0, /* alignment, boundary */ BUS_SPACE_MAXADDR, /* lowaddr */ BUS_SPACE_MAXADDR, /* highaddr */ NULL, NULL, /* filter, filterarg */ MCLBYTES * MSK_MAXRXSEGS, /* maxsize */ MSK_MAXRXSEGS, /* nsegments */ MSK_JLEN, /* maxsegsize */ 0, /* flags */ NULL, NULL, /* lockfunc, lockarg */ &sc_if->msk_cdata.msk_jumbo_rx_tag); if (error != 0) { device_printf(sc_if->msk_if_dev, "failed to create jumbo Rx DMA tag\n"); goto fail; } /* Allocate DMA'able memory and load the DMA map for Tx ring. */ error = bus_dmamem_alloc(sc_if->msk_cdata.msk_tx_ring_tag, (void **)&sc_if->msk_rdata.msk_tx_ring, BUS_DMA_WAITOK | BUS_DMA_COHERENT | BUS_DMA_ZERO, &sc_if->msk_cdata.msk_tx_ring_map) ; if (error != 0) { device_printf(sc_if->msk_if_dev, "failed to allocate DMA'able memory for Tx ring\n"); goto fail; } ctx.msk_busaddr = 0; error = bus_dmamap_load(sc_if->msk_cdata.msk_tx_ring_tag, sc_if->msk_cdata.msk_tx_ring_map, sc_if->msk_rdata.msk_tx_ring, MSK_TX_RING_SZ, msk_dmamap_cb, &ctx, 0); if (error != 0) { device_printf(sc_if->msk_if_dev, "failed to load DMA'able memory for Tx ring\n"); goto fail; } sc_if->msk_rdata.msk_tx_ring_paddr = ctx.msk_busaddr; /* Allocate DMA'able memory and load the DMA map for Rx ring. */ error = bus_dmamem_alloc(sc_if->msk_cdata.msk_rx_ring_tag, (void **)&sc_if->msk_rdata.msk_rx_ring, BUS_DMA_WAITOK | BUS_DMA_COHERENT | BUS_DMA_ZERO, &sc_if->msk_cdata.msk_rx_ring_map) ; if (error != 0) { device_printf(sc_if->msk_if_dev, "failed to allocate DMA'able memory for Rx ring\n"); goto fail; } ctx.msk_busaddr = 0; error = bus_dmamap_load(sc_if->msk_cdata.msk_rx_ring_tag, sc_if->msk_cdata.msk_rx_ring_map, sc_if->msk_rdata.msk_rx_ring, MSK_RX_RING_SZ, msk_dmamap_cb, &ctx, 0); if (error != 0) { device_printf(sc_if->msk_if_dev, "failed to load DMA'able memory for Rx ring\n"); goto fail; } sc_if->msk_rdata.msk_rx_ring_paddr = ctx.msk_busaddr; /* Allocate DMA'able memory and load the DMA map for jumbo Rx ring. */ error = bus_dmamem_alloc(sc_if->msk_cdata.msk_jumbo_rx_ring_tag, (void **)&sc_if->msk_rdata.msk_jumbo_rx_ring, BUS_DMA_WAITOK | BUS_DMA_COHERENT | BUS_DMA_ZERO, &sc_if->msk_cdata.msk_jumbo_rx_ring_map); if (error != 0) { device_printf(sc_if->msk_if_dev, "failed to allocate DMA'able memory for jumbo Rx ring\n"); goto fail; } ctx.msk_busaddr = 0; error = bus_dmamap_load(sc_if->msk_cdata.msk_jumbo_rx_ring_tag, sc_if->msk_cdata.msk_jumbo_rx_ring_map, sc_if->msk_rdata.msk_jumbo_rx_ring, MSK_JUMBO_RX_RING_SZ, msk_dmamap_cb, &ctx, 0); if (error != 0) { device_printf(sc_if->msk_if_dev, "failed to load DMA'able memory for jumbo Rx ring\n"); goto fail; } sc_if->msk_rdata.msk_jumbo_rx_ring_paddr = ctx.msk_busaddr; /* Create DMA maps for Tx buffers. */ for (i = 0; i < MSK_TX_RING_CNT; i++) { txd = &sc_if->msk_cdata.msk_txdesc[i]; txd->tx_m = NULL; txd->tx_dmamap = NULL; error = bus_dmamap_create(sc_if->msk_cdata.msk_tx_tag, 0, &txd->tx_dmamap); if (error != 0) { device_printf(sc_if->msk_if_dev, "failed to create Tx dmamap\n"); goto fail; } } /* Create DMA maps for Rx buffers. */ if ((error = bus_dmamap_create(sc_if->msk_cdata.msk_rx_tag, 0, &sc_if->msk_cdata.msk_rx_sparemap)) != 0) { device_printf(sc_if->msk_if_dev, "failed to create spare Rx dmamap\n"); goto fail; } for (i = 0; i < MSK_RX_RING_CNT; i++) { rxd = &sc_if->msk_cdata.msk_rxdesc[i]; rxd->rx_m = NULL; rxd->rx_dmamap = NULL; error = bus_dmamap_create(sc_if->msk_cdata.msk_rx_tag, 0, &rxd->rx_dmamap); if (error != 0) { device_printf(sc_if->msk_if_dev, "failed to create Rx dmamap\n"); goto fail; } } /* Create DMA maps for jumbo Rx buffers. */ if ((error = bus_dmamap_create(sc_if->msk_cdata.msk_jumbo_rx_tag, 0, &sc_if->msk_cdata.msk_jumbo_rx_sparemap)) != 0) { device_printf(sc_if->msk_if_dev, "failed to create spare jumbo Rx dmamap\n"); goto fail; } for (i = 0; i < MSK_JUMBO_RX_RING_CNT; i++) { jrxd = &sc_if->msk_cdata.msk_jumbo_rxdesc[i]; jrxd->rx_m = NULL; jrxd->rx_dmamap = NULL; error = bus_dmamap_create(sc_if->msk_cdata.msk_jumbo_rx_tag, 0, &jrxd->rx_dmamap); if (error != 0) { device_printf(sc_if->msk_if_dev, "failed to create jumbo Rx dmamap\n"); goto fail; } } /* Allocate DMA'able memory and load the DMA map for jumbo buf. */ error = bus_dmamem_alloc(sc_if->msk_cdata.msk_jumbo_tag, (void **)&sc_if->msk_rdata.msk_jumbo_buf, BUS_DMA_WAITOK | BUS_DMA_COHERENT | BUS_DMA_ZERO, &sc_if->msk_cdata.msk_jumbo_map); if (error != 0) { device_printf(sc_if->msk_if_dev, "failed to allocate DMA'able memory for jumbo buf\n"); goto fail; } ctx.msk_busaddr = 0; error = bus_dmamap_load(sc_if->msk_cdata.msk_jumbo_tag, sc_if->msk_cdata.msk_jumbo_map, sc_if->msk_rdata.msk_jumbo_buf, MSK_JMEM, msk_dmamap_cb, &ctx, 0); if (error != 0) { device_printf(sc_if->msk_if_dev, "failed to load DMA'able memory for jumbobuf\n"); goto fail; } sc_if->msk_rdata.msk_jumbo_buf_paddr = ctx.msk_busaddr; /* * Now divide it up into 9K pieces and save the addresses * in an array. */ ptr = sc_if->msk_rdata.msk_jumbo_buf; for (i = 0; i < MSK_JSLOTS; i++) { sc_if->msk_cdata.msk_jslots[i] = ptr; ptr += MSK_JLEN; entry = malloc(sizeof(struct msk_jpool_entry), M_DEVBUF, M_WAITOK); if (entry == NULL) { device_printf(sc_if->msk_if_dev, "no memory for jumbo buffers!\n"); error = ENOMEM; goto fail; } entry->slot = i; SLIST_INSERT_HEAD(&sc_if->msk_jfree_listhead, entry, jpool_entries); } fail: return (error); } static void msk_txrx_dma_free(struct msk_if_softc *sc_if) { struct msk_txdesc *txd; struct msk_rxdesc *rxd; struct msk_rxdesc *jrxd; struct msk_jpool_entry *entry; int i; MSK_JLIST_LOCK(sc_if); while ((entry = SLIST_FIRST(&sc_if->msk_jinuse_listhead))) { device_printf(sc_if->msk_if_dev, "asked to free buffer that is in use!\n"); SLIST_REMOVE_HEAD(&sc_if->msk_jinuse_listhead, jpool_entries); SLIST_INSERT_HEAD(&sc_if->msk_jfree_listhead, entry, jpool_entries); } while (!SLIST_EMPTY(&sc_if->msk_jfree_listhead)) { entry = SLIST_FIRST(&sc_if->msk_jfree_listhead); SLIST_REMOVE_HEAD(&sc_if->msk_jfree_listhead, jpool_entries); free(entry, M_DEVBUF); } MSK_JLIST_UNLOCK(sc_if); /* Destroy jumbo buffer block. */ if (sc_if->msk_cdata.msk_jumbo_map) bus_dmamap_unload(sc_if->msk_cdata.msk_jumbo_tag, sc_if->msk_cdata.msk_jumbo_map); if (sc_if->msk_rdata.msk_jumbo_buf) { bus_dmamem_free(sc_if->msk_cdata.msk_jumbo_tag, sc_if->msk_rdata.msk_jumbo_buf, sc_if->msk_cdata.msk_jumbo_map); sc_if->msk_rdata.msk_jumbo_buf = NULL; sc_if->msk_cdata.msk_jumbo_map = NULL; } /* Tx ring. */ if (sc_if->msk_cdata.msk_tx_ring_tag) { if (sc_if->msk_cdata.msk_tx_ring_map) bus_dmamap_unload(sc_if->msk_cdata.msk_tx_ring_tag, sc_if->msk_cdata.msk_tx_ring_map); if (sc_if->msk_cdata.msk_tx_ring_map && sc_if->msk_rdata.msk_tx_ring) bus_dmamem_free(sc_if->msk_cdata.msk_tx_ring_tag, sc_if->msk_rdata.msk_tx_ring, sc_if->msk_cdata.msk_tx_ring_map); sc_if->msk_rdata.msk_tx_ring = NULL; sc_if->msk_cdata.msk_tx_ring_map = NULL; bus_dma_tag_destroy(sc_if->msk_cdata.msk_tx_ring_tag); sc_if->msk_cdata.msk_tx_ring_tag = NULL; } /* Rx ring. */ if (sc_if->msk_cdata.msk_rx_ring_tag) { if (sc_if->msk_cdata.msk_rx_ring_map) bus_dmamap_unload(sc_if->msk_cdata.msk_rx_ring_tag, sc_if->msk_cdata.msk_rx_ring_map); if (sc_if->msk_cdata.msk_rx_ring_map && sc_if->msk_rdata.msk_rx_ring) bus_dmamem_free(sc_if->msk_cdata.msk_rx_ring_tag, sc_if->msk_rdata.msk_rx_ring, sc_if->msk_cdata.msk_rx_ring_map); sc_if->msk_rdata.msk_rx_ring = NULL; sc_if->msk_cdata.msk_rx_ring_map = NULL; bus_dma_tag_destroy(sc_if->msk_cdata.msk_rx_ring_tag); sc_if->msk_cdata.msk_rx_ring_tag = NULL; } /* Jumbo Rx ring. */ if (sc_if->msk_cdata.msk_jumbo_rx_ring_tag) { if (sc_if->msk_cdata.msk_jumbo_rx_ring_map) bus_dmamap_unload(sc_if->msk_cdata.msk_jumbo_rx_ring_ta g, sc_if->msk_cdata.msk_jumbo_rx_ring_map); if (sc_if->msk_cdata.msk_jumbo_rx_ring_map && sc_if->msk_rdata.msk_jumbo_rx_ring) bus_dmamem_free(sc_if->msk_cdata.msk_jumbo_rx_ring_tag, sc_if->msk_rdata.msk_jumbo_rx_ring, sc_if->msk_cdata.msk_jumbo_rx_ring_map); sc_if->msk_rdata.msk_jumbo_rx_ring = NULL; sc_if->msk_cdata.msk_jumbo_rx_ring_map = NULL; bus_dma_tag_destroy(sc_if->msk_cdata.msk_jumbo_rx_ring_tag); sc_if->msk_cdata.msk_jumbo_rx_ring_tag = NULL; } /* Tx buffers. */ if (sc_if->msk_cdata.msk_tx_tag) { for (i = 0; i < MSK_TX_RING_CNT; i++) { txd = &sc_if->msk_cdata.msk_txdesc[i]; if (txd->tx_dmamap) { bus_dmamap_destroy(sc_if->msk_cdata.msk_tx_tag, txd->tx_dmamap); txd->tx_dmamap = NULL; } } bus_dma_tag_destroy(sc_if->msk_cdata.msk_tx_tag); sc_if->msk_cdata.msk_tx_tag = NULL; } /* Rx buffers. */ if (sc_if->msk_cdata.msk_rx_tag) { for (i = 0; i < MSK_RX_RING_CNT; i++) { rxd = &sc_if->msk_cdata.msk_rxdesc[i]; if (rxd->rx_dmamap) { bus_dmamap_destroy(sc_if->msk_cdata.msk_rx_tag, rxd->rx_dmamap); rxd->rx_dmamap = NULL; } } if (sc_if->msk_cdata.msk_rx_sparemap) { bus_dmamap_destroy(sc_if->msk_cdata.msk_rx_tag, sc_if->msk_cdata.msk_rx_sparemap); sc_if->msk_cdata.msk_rx_sparemap = 0; } bus_dma_tag_destroy(sc_if->msk_cdata.msk_rx_tag); sc_if->msk_cdata.msk_rx_tag = NULL; } /* Jumbo Rx buffers. */ if (sc_if->msk_cdata.msk_jumbo_rx_tag) { for (i = 0; i < MSK_JUMBO_RX_RING_CNT; i++) { jrxd = &sc_if->msk_cdata.msk_jumbo_rxdesc[i]; if (jrxd->rx_dmamap) { bus_dmamap_destroy( sc_if->msk_cdata.msk_jumbo_rx_tag, jrxd->rx_dmamap); jrxd->rx_dmamap = NULL; } } if (sc_if->msk_cdata.msk_jumbo_rx_sparemap) { bus_dmamap_destroy(sc_if->msk_cdata.msk_jumbo_rx_tag, sc_if->msk_cdata.msk_jumbo_rx_sparemap); sc_if->msk_cdata.msk_jumbo_rx_sparemap = 0; } bus_dma_tag_destroy(sc_if->msk_cdata.msk_jumbo_rx_tag); sc_if->msk_cdata.msk_jumbo_rx_tag = NULL; } if (sc_if->msk_cdata.msk_parent_tag) { bus_dma_tag_destroy(sc_if->msk_cdata.msk_parent_tag); sc_if->msk_cdata.msk_parent_tag = NULL; } mtx_destroy(&sc_if->msk_jlist_mtx); } /* * Allocate a jumbo buffer. */ static void * msk_jalloc(struct msk_if_softc *sc_if) { struct msk_jpool_entry *entry; MSK_JLIST_LOCK(sc_if); entry = SLIST_FIRST(&sc_if->msk_jfree_listhead); if (entry == NULL) { MSK_JLIST_UNLOCK(sc_if); return (NULL); } SLIST_REMOVE_HEAD(&sc_if->msk_jfree_listhead, jpool_entries); SLIST_INSERT_HEAD(&sc_if->msk_jinuse_listhead, entry, jpool_entries); MSK_JLIST_UNLOCK(sc_if); return (sc_if->msk_cdata.msk_jslots[entry->slot]); } /* * Release a jumbo buffer. */ static void msk_jfree(void *buf, void *args) { struct msk_if_softc *sc_if; struct msk_jpool_entry *entry; int i; /* Extract the softc struct pointer. */ sc_if = (struct msk_if_softc *)args; KASSERT(sc_if != NULL, ("%s: can't find softc pointer!", __func__)); MSK_JLIST_LOCK(sc_if); /* Calculate the slot this buffer belongs to. */ i = ((vm_offset_t)buf - (vm_offset_t)sc_if->msk_rdata.msk_jumbo_buf) / MSK_JLEN; KASSERT(i >= 0 && i < MSK_JSLOTS, ("%s: asked to free buffer that we don't manage!", __func__)); entry = SLIST_FIRST(&sc_if->msk_jinuse_listhead); KASSERT(entry != NULL, ("%s: buffer not in use!", __func__)); entry->slot = i; SLIST_REMOVE_HEAD(&sc_if->msk_jinuse_listhead, jpool_entries); SLIST_INSERT_HEAD(&sc_if->msk_jfree_listhead, entry, jpool_entries); if (SLIST_EMPTY(&sc_if->msk_jinuse_listhead)) wakeup(sc_if); MSK_JLIST_UNLOCK(sc_if); } static int msk_encap(struct msk_if_softc *sc_if, struct mbuf **m_head) { struct msk_txdesc *txd, *txd_last; struct msk_tx_desc *tx_le; struct mbuf *m; bus_dmamap_t map; bus_dma_segment_t txsegs[MSK_MAXTXSEGS]; uint32_t control, prod, si; uint16_t offset, tcp_offset, tso_mtu; int error, i, nseg, tso; MSK_IF_LOCK_ASSERT(sc_if); tcp_offset = offset = 0; m = *m_head; if ((m->m_pkthdr.csum_flags & (MSK_CSUM_FEATURES | CSUM_TSO)) != 0) { /* * Since mbuf has no protocol specific structure information * in it we have to inspect protocol information here to * setup TSO and checksum offload. I don't know why Marvell * made a such decision in chip design because other GigE * hardwares normally takes care of all these chores in * hardware. However, TSO performance of Yukon II is very * good such that it's worth to implement it. */ struct ether_header *eh; struct ip *ip; struct tcphdr *tcp; if (M_WRITABLE(m) == 0) { /* Get a writable copy. */ m = m_dup(*m_head, M_DONTWAIT); m_freem(*m_head); if (m == NULL) { *m_head = NULL; return (ENOBUFS); } *m_head = m; } offset = sizeof(struct ether_header); m = m_pullup(m, offset); if (m == NULL) { *m_head = NULL; return (ENOBUFS); } eh = mtod(m, struct ether_header *); /* Check if hardware VLAN insertion is off. */ if (eh->ether_type == htons(ETHERTYPE_VLAN)) { offset = sizeof(struct ether_vlan_header); m = m_pullup(m, offset); if (m == NULL) { *m_head = NULL; return (ENOBUFS); } } m = m_pullup(m, offset + sizeof(struct ip)); if (m == NULL) { *m_head = NULL; return (ENOBUFS); } ip = (struct ip *)(mtod(m, char *) + offset); offset += (ip->ip_hl << 2); tcp_offset = offset; /* * It seems that Yukon II has Tx checksum offload bug for * small TCP packets that's less than 60 bytes in size * (e.g. TCP window probe packet, pure ACK packet). * Common work around like padding with zeros to make the * frame minimum ethernet frame size didn't work at all. * Instead of disabling checksum offload completely we * resort to S/W checksum routine when we encounter short * TCP frames. * Short UDP packets appear to be handled correctly by * Yukon II. */ if (m->m_pkthdr.len < MSK_MIN_FRAMELEN && (m->m_pkthdr.csum_flags & CSUM_TCP) != 0) { uint16_t csum; m = m_pullup(m, offset + sizeof(struct tcphdr)); if (m == NULL) { *m_head = NULL; return (ENOBUFS); } csum = in_cksum_skip(m, ntohs(ip->ip_len) + offset - (ip->ip_hl << 2), offset); *(uint16_t *)(m->m_data + offset + m->m_pkthdr.csum_data) = csum; m->m_pkthdr.csum_flags &= ~CSUM_TCP; } if ((m->m_pkthdr.csum_flags & CSUM_TSO) != 0) { m = m_pullup(m, offset + sizeof(struct tcphdr)); if (m == NULL) { *m_head = NULL; return (ENOBUFS); } tcp = (struct tcphdr *)(mtod(m, char *) + offset); offset += (tcp->th_off << 2); } *m_head = m; } prod = sc_if->msk_cdata.msk_tx_prod; txd = &sc_if->msk_cdata.msk_txdesc[prod]; txd_last = txd; map = txd->tx_dmamap; error = bus_dmamap_load_mbuf_sg(sc_if->msk_cdata.msk_tx_tag, map, *m_head, txsegs, &nseg, BUS_DMA_NOWAIT); if (error == EFBIG) { m = m_collapse(*m_head, M_DONTWAIT, MSK_MAXTXSEGS); if (m == NULL) { m_freem(*m_head); *m_head = NULL; return (ENOBUFS); } *m_head = m; error = bus_dmamap_load_mbuf_sg(sc_if->msk_cdata.msk_tx_tag, map, *m_head, txsegs, &nseg, BUS_DMA_NOWAIT); if (error != 0) { m_freem(*m_head); *m_head = NULL; return (error); } } else if (error != 0) return (error); if (nseg == 0) { m_freem(*m_head); *m_head = NULL; return (EIO); } /* Check number of available descriptors. */ if (sc_if->msk_cdata.msk_tx_cnt + nseg >= (MSK_TX_RING_CNT - MSK_RESERVED_TX_DESC_CNT)) { bus_dmamap_unload(sc_if->msk_cdata.msk_tx_tag, map); return (ENOBUFS); } control = 0; tso = 0; tx_le = NULL; /* Check TSO support. */ if ((m->m_pkthdr.csum_flags & CSUM_TSO) != 0) { tso_mtu = offset + m->m_pkthdr.tso_segsz; if (tso_mtu != sc_if->msk_cdata.msk_tso_mtu) { tx_le = &sc_if->msk_rdata.msk_tx_ring[prod]; tx_le->msk_addr = htole32(tso_mtu); tx_le->msk_control = htole32(OP_LRGLEN | HW_OWNER); sc_if->msk_cdata.msk_tx_cnt++; MSK_INC(prod, MSK_TX_RING_CNT); sc_if->msk_cdata.msk_tso_mtu = tso_mtu; } tso++; } /* Check if we have a VLAN tag to insert. */ if ((m->m_flags & M_VLANTAG) != 0) { if (tso == 0) { tx_le = &sc_if->msk_rdata.msk_tx_ring[prod]; tx_le->msk_addr = htole32(0); tx_le->msk_control = htole32(OP_VLAN | HW_OWNER | htons(m->m_pkthdr.ether_vtag)); sc_if->msk_cdata.msk_tx_cnt++; MSK_INC(prod, MSK_TX_RING_CNT); } else { tx_le->msk_control |= htole32(OP_VLAN | htons(m->m_pkthdr.ether_vtag)); } control |= INS_VLAN; } /* Check if we have to handle checksum offload. */ if (tso == 0 && (m->m_pkthdr.csum_flags & MSK_CSUM_FEATURES) != 0) { tx_le = &sc_if->msk_rdata.msk_tx_ring[prod]; tx_le->msk_addr = htole32(((tcp_offset + m->m_pkthdr.csum_data) & 0xffff) | ((uint32_t)tcp_offset << 16)); tx_le->msk_control = htole32(1 << 16 | (OP_TCPLISW | HW_OWNER)) ; control = CALSUM | WR_SUM | INIT_SUM | LOCK_SUM; if ((m->m_pkthdr.csum_flags & CSUM_UDP) != 0) control |= UDPTCP; sc_if->msk_cdata.msk_tx_cnt++; MSK_INC(prod, MSK_TX_RING_CNT); } si = prod; tx_le = &sc_if->msk_rdata.msk_tx_ring[prod]; tx_le->msk_addr = htole32(MSK_ADDR_LO(txsegs[0].ds_addr)); if (tso == 0) tx_le->msk_control = htole32(txsegs[0].ds_len | control | OP_PACKET); else tx_le->msk_control = htole32(txsegs[0].ds_len | control | OP_LARGESEND); sc_if->msk_cdata.msk_tx_cnt++; MSK_INC(prod, MSK_TX_RING_CNT); for (i = 1; i < nseg; i++) { tx_le = &sc_if->msk_rdata.msk_tx_ring[prod]; tx_le->msk_addr = htole32(MSK_ADDR_LO(txsegs[i].ds_addr)); tx_le->msk_control = htole32(txsegs[i].ds_len | control | OP_BUFFER | HW_OWNER); sc_if->msk_cdata.msk_tx_cnt++; MSK_INC(prod, MSK_TX_RING_CNT); } /* Update producer index. */ sc_if->msk_cdata.msk_tx_prod = prod; /* Set EOP on the last desciptor. */ prod = (prod + MSK_TX_RING_CNT - 1) % MSK_TX_RING_CNT; tx_le = &sc_if->msk_rdata.msk_tx_ring[prod]; tx_le->msk_control |= htole32(EOP); /* Turn the first descriptor ownership to hardware. */ tx_le = &sc_if->msk_rdata.msk_tx_ring[si]; tx_le->msk_control |= htole32(HW_OWNER); txd = &sc_if->msk_cdata.msk_txdesc[prod]; map = txd_last->tx_dmamap; txd_last->tx_dmamap = txd->tx_dmamap; txd->tx_dmamap = map; txd->tx_m = m; /* Sync descriptors. */ bus_dmamap_sync(sc_if->msk_cdata.msk_tx_tag, map, BUS_DMASYNC_PREWRITE) ; bus_dmamap_sync(sc_if->msk_cdata.msk_tx_ring_tag, sc_if->msk_cdata.msk_tx_ring_map, BUS_DMASYNC_PREREAD | BUS_DMASYNC_PREWRITE); return (0); } static void msk_tx_task(void *arg, int pending) { struct ifnet *ifp; ifp = arg; msk_start(ifp); } static void msk_start(struct ifnet *ifp) { struct msk_if_softc *sc_if; struct mbuf *m_head; int enq; sc_if = ifp->if_softc; MSK_IF_LOCK(sc_if); if ((ifp->if_drv_flags & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != IFF_DRV_RUNNING || sc_if->msk_link == 0) { MSK_IF_UNLOCK(sc_if); return; } for (enq = 0; !IFQ_DRV_IS_EMPTY(&ifp->if_snd) && sc_if->msk_cdata.msk_tx_cnt < (MSK_TX_RING_CNT - MSK_RESERVED_TX_DESC_CNT); ) { IFQ_DRV_DEQUEUE(&ifp->if_snd, m_head); if (m_head == NULL) break; /* * Pack the data into the transmit ring. If we * don't have room, set the OACTIVE flag and wait * for the NIC to drain the ring. */ if (msk_encap(sc_if, &m_head) != 0) { if (m_head == NULL) break; IFQ_DRV_PREPEND(&ifp->if_snd, m_head); ifp->if_drv_flags |= IFF_DRV_OACTIVE; break; } enq++; /* * If there's a BPF listener, bounce a copy of this frame * to him. */ ETHER_BPF_MTAP(ifp, m_head); } if (enq > 0) { /* Transmit */ CSR_WRITE_2(sc_if->msk_softc, Y2_PREF_Q_ADDR(sc_if->msk_txq, PREF_UNIT_PUT_IDX_REG), sc_if->msk_cdata.msk_tx_prod); /* Set a timeout in case the chip goes out to lunch. */ sc_if->msk_watchdog_timer = MSK_TX_TIMEOUT; } MSK_IF_UNLOCK(sc_if); } static void msk_watchdog(struct msk_if_softc *sc_if) { struct ifnet *ifp; uint32_t ridx; int idx; MSK_IF_LOCK_ASSERT(sc_if); if (sc_if->msk_watchdog_timer == 0 || --sc_if->msk_watchdog_timer) return; ifp = sc_if->msk_ifp; if (sc_if->msk_link == 0) { if (bootverbose) if_printf(sc_if->msk_ifp, "watchdog timeout " "(missed link)\n"); ifp->if_oerrors++; msk_init_locked(sc_if); return; } /* * Reclaim first as there is a possibility of losing Tx completion * interrupts. */ ridx = sc_if->msk_port == MSK_PORT_A ? STAT_TXA1_RIDX : STAT_TXA2_RIDX; idx = CSR_READ_2(sc_if->msk_softc, ridx); if (sc_if->msk_cdata.msk_tx_cons != idx) { msk_txeof(sc_if, idx); if (sc_if->msk_cdata.msk_tx_cnt == 0) { if_printf(ifp, "watchdog timeout (missed Tx interrupts) " "-- recovering\n"); if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) taskqueue_enqueue(taskqueue_fast, &sc_if->msk_tx_task); return; } } if_printf(ifp, "watchdog timeout\n"); ifp->if_oerrors++; msk_init_locked(sc_if); if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) taskqueue_enqueue(taskqueue_fast, &sc_if->msk_tx_task); } static int mskc_shutdown(device_t dev) { struct msk_softc *sc; int i; sc = device_get_softc(dev); MSK_LOCK(sc); for (i = 0; i < sc->msk_num_port; i++) { if (sc->msk_if[i] != NULL) msk_stop(sc->msk_if[i]); } /* Disable all interrupts. */ CSR_WRITE_4(sc, B0_IMSK, 0); CSR_READ_4(sc, B0_IMSK); CSR_WRITE_4(sc, B0_HWE_IMSK, 0); CSR_READ_4(sc, B0_HWE_IMSK); /* Put hardware reset. */ CSR_WRITE_2(sc, B0_CTST, CS_RST_SET); MSK_UNLOCK(sc); return (0); } static int mskc_suspend(device_t dev) { struct msk_softc *sc; int i; sc = device_get_softc(dev); MSK_LOCK(sc); for (i = 0; i < sc->msk_num_port; i++) { if (sc->msk_if[i] != NULL && sc->msk_if[i]->msk_ifp != NULL && ((sc->msk_if[i]->msk_ifp->if_drv_flags & IFF_DRV_RUNNING) != 0)) msk_stop(sc->msk_if[i]); } /* Disable all interrupts. */ CSR_WRITE_4(sc, B0_IMSK, 0); CSR_READ_4(sc, B0_IMSK); CSR_WRITE_4(sc, B0_HWE_IMSK, 0); CSR_READ_4(sc, B0_HWE_IMSK); msk_phy_power(sc, MSK_PHY_POWERDOWN); /* Put hardware reset. */ CSR_WRITE_2(sc, B0_CTST, CS_RST_SET); sc->msk_suspended = 1; MSK_UNLOCK(sc); return (0); } static int mskc_resume(device_t dev) { struct msk_softc *sc; int i; sc = device_get_softc(dev); MSK_LOCK(sc); mskc_reset(sc); for (i = 0; i < sc->msk_num_port; i++) { if (sc->msk_if[i] != NULL && sc->msk_if[i]->msk_ifp != NULL && ((sc->msk_if[i]->msk_ifp->if_flags & IFF_UP) != 0)) msk_init_locked(sc->msk_if[i]); } sc->msk_suspended = 0; MSK_UNLOCK(sc); return (0); } #ifndef __NO_STRICT_ALIGNMENT static __inline void msk_fixup_rx(struct mbuf *m) { int i; uint16_t *src, *dst; src = mtod(m, uint16_t *); dst = src - 3; for (i = 0; i < (m->m_len / sizeof(uint16_t) + 1); i++) *dst++ = *src++; m->m_data -= (MSK_RX_BUF_ALIGN - ETHER_ALIGN); } #endif static void msk_rxeof(struct msk_if_softc *sc_if, uint32_t status, int len) { struct mbuf *m; struct ifnet *ifp; struct msk_rxdesc *rxd; int cons, rxlen; ifp = sc_if->msk_ifp; MSK_IF_LOCK_ASSERT(sc_if); cons = sc_if->msk_cdata.msk_rx_cons; do { rxlen = status >> 16; if ((status & GMR_FS_VLAN) != 0 && (ifp->if_capenable & IFCAP_VLAN_HWTAGGING) != 0) rxlen -= ETHER_VLAN_ENCAP_LEN; if (len > sc_if->msk_framesize || ((status & GMR_FS_ANY_ERR) != 0) || ((status & GMR_FS_RX_OK) == 0) || (rxlen != len)) { /* Don't count flow-control packet as errors. */ if ((status & GMR_FS_GOOD_FC) == 0) ifp->if_ierrors++; msk_discard_rxbuf(sc_if, cons); break; } rxd = &sc_if->msk_cdata.msk_rxdesc[cons]; m = rxd->rx_m; if (msk_newbuf(sc_if, cons) != 0) { ifp->if_iqdrops++; /* Reuse old buffer. */ msk_discard_rxbuf(sc_if, cons); break; } m->m_pkthdr.rcvif = ifp; m->m_pkthdr.len = m->m_len = len; #ifndef __NO_STRICT_ALIGNMENT if ((sc_if->msk_flags & MSK_FLAG_RAMBUF) != 0) msk_fixup_rx(m); #endif ifp->if_ipackets++; /* Check for VLAN tagged packets. */ if ((status & GMR_FS_VLAN) != 0 && (ifp->if_capenable & IFCAP_VLAN_HWTAGGING) != 0) { m->m_pkthdr.ether_vtag = sc_if->msk_vtag; m->m_flags |= M_VLANTAG; } MSK_IF_UNLOCK(sc_if); (*ifp->if_input)(ifp, m); MSK_IF_LOCK(sc_if); } while (0); MSK_INC(sc_if->msk_cdata.msk_rx_cons, MSK_RX_RING_CNT); MSK_INC(sc_if->msk_cdata.msk_rx_prod, MSK_RX_RING_CNT); } static void msk_jumbo_rxeof(struct msk_if_softc *sc_if, uint32_t status, int len) { struct mbuf *m; struct ifnet *ifp; struct msk_rxdesc *jrxd; int cons, rxlen; ifp = sc_if->msk_ifp; MSK_IF_LOCK_ASSERT(sc_if); cons = sc_if->msk_cdata.msk_rx_cons; do { rxlen = status >> 16; if ((status & GMR_FS_VLAN) != 0 && (ifp->if_capenable & IFCAP_VLAN_HWTAGGING) != 0) rxlen -= ETHER_VLAN_ENCAP_LEN; if (len > sc_if->msk_framesize || ((status & GMR_FS_ANY_ERR) != 0) || ((status & GMR_FS_RX_OK) == 0) || (rxlen != len)) { /* Don't count flow-control packet as errors. */ if ((status & GMR_FS_GOOD_FC) == 0) ifp->if_ierrors++; msk_discard_jumbo_rxbuf(sc_if, cons); break; } jrxd = &sc_if->msk_cdata.msk_jumbo_rxdesc[cons]; m = jrxd->rx_m; if (msk_jumbo_newbuf(sc_if, cons) != 0) { ifp->if_iqdrops++; /* Reuse old buffer. */ msk_discard_jumbo_rxbuf(sc_if, cons); break; } m->m_pkthdr.rcvif = ifp; m->m_pkthdr.len = m->m_len = len; #ifndef __NO_STRICT_ALIGNMENT if ((sc_if->msk_flags & MSK_FLAG_RAMBUF) != 0) msk_fixup_rx(m); #endif ifp->if_ipackets++; /* Check for VLAN tagged packets. */ if ((status & GMR_FS_VLAN) != 0 && (ifp->if_capenable & IFCAP_VLAN_HWTAGGING) != 0) { m->m_pkthdr.ether_vtag = sc_if->msk_vtag; m->m_flags |= M_VLANTAG; } MSK_IF_UNLOCK(sc_if); (*ifp->if_input)(ifp, m); MSK_IF_LOCK(sc_if); } while (0); MSK_INC(sc_if->msk_cdata.msk_rx_cons, MSK_JUMBO_RX_RING_CNT); MSK_INC(sc_if->msk_cdata.msk_rx_prod, MSK_JUMBO_RX_RING_CNT); } static void msk_txeof(struct msk_if_softc *sc_if, int idx) { struct msk_txdesc *txd; struct msk_tx_desc *cur_tx; struct ifnet *ifp; uint32_t control; int cons, prog; MSK_IF_LOCK_ASSERT(sc_if); ifp = sc_if->msk_ifp; bus_dmamap_sync(sc_if->msk_cdata.msk_tx_ring_tag, sc_if->msk_cdata.msk_tx_ring_map, BUS_DMASYNC_POSTREAD | BUS_DMASYNC_POSTWRITE); /* * Go through our tx ring and free mbufs for those * frames that have been sent. */ cons = sc_if->msk_cdata.msk_tx_cons; prog = 0; for (; cons != idx; MSK_INC(cons, MSK_TX_RING_CNT)) { if (sc_if->msk_cdata.msk_tx_cnt <= 0) break; prog++; cur_tx = &sc_if->msk_rdata.msk_tx_ring[cons]; control = le32toh(cur_tx->msk_control); sc_if->msk_cdata.msk_tx_cnt--; ifp->if_drv_flags &= ~IFF_DRV_OACTIVE; if ((control & EOP) == 0) continue; txd = &sc_if->msk_cdata.msk_txdesc[cons]; bus_dmamap_sync(sc_if->msk_cdata.msk_tx_tag, txd->tx_dmamap, BUS_DMASYNC_POSTWRITE); bus_dmamap_unload(sc_if->msk_cdata.msk_tx_tag, txd->tx_dmamap); ifp->if_opackets++; KASSERT(txd->tx_m != NULL, ("%s: freeing NULL mbuf!", __func__)); m_freem(txd->tx_m); txd->tx_m = NULL; } if (prog > 0) { sc_if->msk_cdata.msk_tx_cons = cons; if (sc_if->msk_cdata.msk_tx_cnt == 0) sc_if->msk_watchdog_timer = 0; /* No need to sync LEs as we didn't update LEs. */ } } static void msk_tick(void *xsc_if) { struct msk_if_softc *sc_if; struct mii_data *mii; sc_if = xsc_if; MSK_IF_LOCK_ASSERT(sc_if); mii = device_get_softc(sc_if->msk_miibus); mii_tick(mii); msk_watchdog(sc_if); callout_reset(&sc_if->msk_tick_ch, hz, msk_tick, sc_if); } static void msk_intr_phy(struct msk_if_softc *sc_if) { uint16_t status; msk_phy_readreg(sc_if, PHY_ADDR_MARV, PHY_MARV_INT_STAT); status = msk_phy_readreg(sc_if, PHY_ADDR_MARV, PHY_MARV_INT_STAT); /* Handle FIFO Underrun/Overflow? */ if ((status & PHY_M_IS_FIFO_ERROR)) device_printf(sc_if->msk_if_dev, "PHY FIFO underrun/overflow.\n"); } static void msk_intr_gmac(struct msk_if_softc *sc_if) { struct msk_softc *sc; uint8_t status; sc = sc_if->msk_softc; status = CSR_READ_1(sc, MR_ADDR(sc_if->msk_port, GMAC_IRQ_SRC)); /* GMAC Rx FIFO overrun. */ if ((status & GM_IS_RX_FF_OR) != 0) { CSR_WRITE_4(sc, MR_ADDR(sc_if->msk_port, RX_GMF_CTRL_T), GMF_CLI_RX_FO); device_printf(sc_if->msk_if_dev, "Rx FIFO overrun!\n"); } /* GMAC Tx FIFO underrun. */ if ((status & GM_IS_TX_FF_UR) != 0) { CSR_WRITE_4(sc, MR_ADDR(sc_if->msk_port, TX_GMF_CTRL_T), GMF_CLI_TX_FU); device_printf(sc_if->msk_if_dev, "Tx FIFO underrun!\n"); /* * XXX * In case of Tx underrun, we may need to flush/reset * Tx MAC but that would also require resynchronization * with status LEs. Reintializing status LEs would * affect other port in dual MAC configuration so it * should be avoided as possible as we can. * Due to lack of documentation it's all vague guess but * it needs more investigation. */ } } static void msk_handle_hwerr(struct msk_if_softc *sc_if, uint32_t status) { struct msk_softc *sc; sc = sc_if->msk_softc; if ((status & Y2_IS_PAR_RD1) != 0) { device_printf(sc_if->msk_if_dev, "RAM buffer read parity error\n"); /* Clear IRQ. */ CSR_WRITE_2(sc, SELECT_RAM_BUFFER(sc_if->msk_port, B3_RI_CTRL), RI_CLR_RD_PERR); } if ((status & Y2_IS_PAR_WR1) != 0) { device_printf(sc_if->msk_if_dev, "RAM buffer write parity error\n"); /* Clear IRQ. */ CSR_WRITE_2(sc, SELECT_RAM_BUFFER(sc_if->msk_port, B3_RI_CTRL), RI_CLR_WR_PERR); } if ((status & Y2_IS_PAR_MAC1) != 0) { device_printf(sc_if->msk_if_dev, "Tx MAC parity error\n"); /* Clear IRQ. */ CSR_WRITE_4(sc, MR_ADDR(sc_if->msk_port, TX_GMF_CTRL_T), GMF_CLI_TX_PE); } if ((status & Y2_IS_PAR_RX1) != 0) { device_printf(sc_if->msk_if_dev, "Rx parity error\n"); /* Clear IRQ. */ CSR_WRITE_4(sc, Q_ADDR(sc_if->msk_rxq, Q_CSR), BMU_CLR_IRQ_PAR) ; } if ((status & (Y2_IS_TCP_TXS1 | Y2_IS_TCP_TXA1)) != 0) { device_printf(sc_if->msk_if_dev, "TCP segmentation error\n"); /* Clear IRQ. */ CSR_WRITE_4(sc, Q_ADDR(sc_if->msk_txq, Q_CSR), BMU_CLR_IRQ_TCP) ; } } static void msk_intr_hwerr(struct msk_softc *sc) { uint32_t status; uint32_t tlphead[4]; status = CSR_READ_4(sc, B0_HWE_ISRC); /* Time Stamp timer overflow. */ if ((status & Y2_IS_TIST_OV) != 0) CSR_WRITE_1(sc, GMAC_TI_ST_CTRL, GMT_ST_CLR_IRQ); if ((status & Y2_IS_PCI_NEXP) != 0) { /* * PCI Express Error occured which is not described in PEX * spec. * This error is also mapped either to Master Abort( * Y2_IS_MST_ERR) or Target Abort (Y2_IS_IRQ_STAT) bit and * can only be cleared there. */ device_printf(sc->msk_dev, "PCI Express protocol violation error\n"); } if ((status & (Y2_IS_MST_ERR | Y2_IS_IRQ_STAT)) != 0) { uint16_t v16; if ((status & Y2_IS_MST_ERR) != 0) device_printf(sc->msk_dev, "unexpected IRQ Status error\n"); else device_printf(sc->msk_dev, "unexpected IRQ Master error\n"); /* Reset all bits in the PCI status register. */ v16 = pci_read_config(sc->msk_dev, PCIR_STATUS, 2); CSR_WRITE_1(sc, B2_TST_CTRL1, TST_CFG_WRITE_ON); pci_write_config(sc->msk_dev, PCIR_STATUS, v16 | PCIM_STATUS_PERR | PCIM_STATUS_SERR | PCIM_STATUS_RMABORT | PCIM_STATUS_RTABORT | PCIM_STATUS_PERRREPORT, 2); CSR_WRITE_1(sc, B2_TST_CTRL1, TST_CFG_WRITE_OFF); } /* Check for PCI Express Uncorrectable Error. */ if ((status & Y2_IS_PCI_EXP) != 0) { uint32_t v32; /* * On PCI Express bus bridges are called root complexes (RC). * PCI Express errors are recognized by the root complex too, * which requests the system to handle the problem. After * error occurence it may be that no access to the adapter * may be performed any longer. */ v32 = CSR_PCI_READ_4(sc, PEX_UNC_ERR_STAT); if ((v32 & PEX_UNSUP_REQ) != 0) { /* Ignore unsupported request error. */ device_printf(sc->msk_dev, "Uncorrectable PCI Express error\n"); } if ((v32 & (PEX_FATAL_ERRORS | PEX_POIS_TLP)) != 0) { int i; /* Get TLP header form Log Registers. */ for (i = 0; i < 4; i++) tlphead[i] = CSR_PCI_READ_4(sc, PEX_HEADER_LOG + i * 4); /* Check for vendor defined broadcast message. */ if (!(tlphead[0] == 0x73004001 && tlphead[1] == 0x7f)) { sc->msk_intrhwemask &= ~Y2_IS_PCI_EXP; CSR_WRITE_4(sc, B0_HWE_IMSK, sc->msk_intrhwemask); CSR_READ_4(sc, B0_HWE_IMSK); } } /* Clear the interrupt. */ CSR_WRITE_1(sc, B2_TST_CTRL1, TST_CFG_WRITE_ON); CSR_PCI_WRITE_4(sc, PEX_UNC_ERR_STAT, 0xffffffff); CSR_WRITE_1(sc, B2_TST_CTRL1, TST_CFG_WRITE_OFF); } if ((status & Y2_HWE_L1_MASK) != 0 && sc->msk_if[MSK_PORT_A] != NULL) msk_handle_hwerr(sc->msk_if[MSK_PORT_A], status); if ((status & Y2_HWE_L2_MASK) != 0 && sc->msk_if[MSK_PORT_B] != NULL) msk_handle_hwerr(sc->msk_if[MSK_PORT_B], status >> 8); } static __inline void msk_rxput(struct msk_if_softc *sc_if) { struct msk_softc *sc; sc = sc_if->msk_softc; if (sc_if->msk_framesize >(MCLBYTES - ETHER_HDR_LEN)) bus_dmamap_sync( sc_if->msk_cdata.msk_jumbo_rx_ring_tag, sc_if->msk_cdata.msk_jumbo_rx_ring_map, BUS_DMASYNC_PREREAD | BUS_DMASYNC_PREWRITE); else bus_dmamap_sync( sc_if->msk_cdata.msk_rx_ring_tag, sc_if->msk_cdata.msk_rx_ring_map, BUS_DMASYNC_PREREAD | BUS_DMASYNC_PREWRITE); CSR_WRITE_2(sc, Y2_PREF_Q_ADDR(sc_if->msk_rxq, PREF_UNIT_PUT_IDX_REG), sc_if->msk_cdata.msk_rx_prod); } static int msk_handle_events(struct msk_softc *sc) { struct msk_if_softc *sc_if; int rxput[2]; struct msk_stat_desc *sd; uint32_t control, status; int cons, idx, len, port, rxprog; idx = CSR_READ_2(sc, STAT_PUT_IDX); if (idx == sc->msk_stat_cons) return (0); /* Sync status LEs. */ bus_dmamap_sync(sc->msk_stat_tag, sc->msk_stat_map, BUS_DMASYNC_POSTREAD | BUS_DMASYNC_POSTWRITE); /* XXX Sync Rx LEs here. */ rxput[MSK_PORT_A] = rxput[MSK_PORT_B] = 0; rxprog = 0; for (cons = sc->msk_stat_cons; cons != idx;) { sd = &sc->msk_stat_ring[cons]; control = le32toh(sd->msk_control); if ((control & HW_OWNER) == 0) break; /* * Marvell's FreeBSD driver updates status LE after clearing * HW_OWNER. However we don't have a way to sync single LE * with bus_dma(9) API. bus_dma(9) provides a way to sync * an entire DMA map. So don't sync LE until we have a better * way to sync LEs. */ control &= ~HW_OWNER; sd->msk_control = htole32(control); status = le32toh(sd->msk_status); len = control & STLE_LEN_MASK; port = (control >> 16) & 0x01; sc_if = sc->msk_if[port]; if (sc_if == NULL) { device_printf(sc->msk_dev, "invalid port opcode " "0x%08x\n", control & STLE_OP_MASK); continue; } switch (control & STLE_OP_MASK) { case OP_RXVLAN: sc_if->msk_vtag = ntohs(len); break; case OP_RXCHKSVLAN: sc_if->msk_vtag = ntohs(len); break; case OP_RXSTAT: if (sc_if->msk_framesize > (MCLBYTES - ETHER_HDR_LEN)) msk_jumbo_rxeof(sc_if, status, len); else msk_rxeof(sc_if, status, len); rxprog++; /* * Because there is no way to sync single Rx LE * put the DMA sync operation off until the end of * event processing. */ rxput[port]++; /* Update prefetch unit if we've passed water mark. */ if (rxput[port] >= sc_if->msk_cdata.msk_rx_putwm) { msk_rxput(sc_if); rxput[port] = 0; } break; case OP_TXINDEXLE: if (sc->msk_if[MSK_PORT_A] != NULL) msk_txeof(sc->msk_if[MSK_PORT_A], status & STLE_TXA1_MSKL); if (sc->msk_if[MSK_PORT_B] != NULL) msk_txeof(sc->msk_if[MSK_PORT_B], ((status & STLE_TXA2_MSKL) >> STLE_TXA2_SHIFTL) | ((len & STLE_TXA2_MSKH) << STLE_TXA2_SHIFTH)); break; default: device_printf(sc->msk_dev, "unhandled opcode 0x%08x\n", control & STLE_OP_MASK); break; } MSK_INC(cons, MSK_STAT_RING_CNT); if (rxprog > sc->msk_process_limit) break; } sc->msk_stat_cons = cons; /* XXX We should sync status LEs here. See above notes. */ if (rxput[MSK_PORT_A] > 0) msk_rxput(sc->msk_if[MSK_PORT_A]); if (rxput[MSK_PORT_B] > 0) msk_rxput(sc->msk_if[MSK_PORT_B]); return (sc->msk_stat_cons != CSR_READ_2(sc, STAT_PUT_IDX)); } /* Legacy interrupt handler for shared interrupt. */ static void msk_legacy_intr(void *xsc) { struct msk_softc *sc; struct msk_if_softc *sc_if0, *sc_if1; struct ifnet *ifp0, *ifp1; uint32_t status; sc = xsc; MSK_LOCK(sc); /* Reading B0_Y2_SP_ISRC2 masks further interrupts. */ status = CSR_READ_4(sc, B0_Y2_SP_ISRC2); if (status == 0 || status == 0xffffffff || sc->msk_suspended != 0 || (status & sc->msk_intrmask) == 0) { CSR_WRITE_4(sc, B0_Y2_SP_ICR, 2); return; } sc_if0 = sc->msk_if[MSK_PORT_A]; sc_if1 = sc->msk_if[MSK_PORT_B]; ifp0 = ifp1 = NULL; if (sc_if0 != NULL) ifp0 = sc_if0->msk_ifp; if (sc_if1 != NULL) ifp1 = sc_if1->msk_ifp; if ((status & Y2_IS_IRQ_PHY1) != 0 && sc_if0 != NULL) msk_intr_phy(sc_if0); if ((status & Y2_IS_IRQ_PHY2) != 0 && sc_if1 != NULL) msk_intr_phy(sc_if1); if ((status & Y2_IS_IRQ_MAC1) != 0 && sc_if0 != NULL) msk_intr_gmac(sc_if0); if ((status & Y2_IS_IRQ_MAC2) != 0 && sc_if1 != NULL) msk_intr_gmac(sc_if1); if ((status & (Y2_IS_CHK_RX1 | Y2_IS_CHK_RX2)) != 0) { device_printf(sc->msk_dev, "Rx descriptor error\n"); sc->msk_intrmask &= ~(Y2_IS_CHK_RX1 | Y2_IS_CHK_RX2); CSR_WRITE_4(sc, B0_IMSK, sc->msk_intrmask); CSR_READ_4(sc, B0_IMSK); } if ((status & (Y2_IS_CHK_TXA1 | Y2_IS_CHK_TXA2)) != 0) { device_printf(sc->msk_dev, "Tx descriptor error\n"); sc->msk_intrmask &= ~(Y2_IS_CHK_TXA1 | Y2_IS_CHK_TXA2); CSR_WRITE_4(sc, B0_IMSK, sc->msk_intrmask); CSR_READ_4(sc, B0_IMSK); } if ((status & Y2_IS_HW_ERR) != 0) msk_intr_hwerr(sc); while (msk_handle_events(sc) != 0) ; if ((status & Y2_IS_STAT_BMU) != 0) CSR_WRITE_4(sc, STAT_CTRL, SC_STAT_CLR_IRQ); /* Reenable interrupts. */ CSR_WRITE_4(sc, B0_Y2_SP_ICR, 2); if (ifp0 != NULL && (ifp0->if_drv_flags & IFF_DRV_RUNNING) != 0 && !IFQ_DRV_IS_EMPTY(&ifp0->if_snd)) taskqueue_enqueue(taskqueue_fast, &sc_if0->msk_tx_task); if (ifp1 != NULL && (ifp1->if_drv_flags & IFF_DRV_RUNNING) != 0 && !IFQ_DRV_IS_EMPTY(&ifp1->if_snd)) taskqueue_enqueue(taskqueue_fast, &sc_if1->msk_tx_task); MSK_UNLOCK(sc); } static int msk_intr(void *xsc) { struct msk_softc *sc; uint32_t status; sc = xsc; status = CSR_READ_4(sc, B0_Y2_SP_ISRC2); /* Reading B0_Y2_SP_ISRC2 masks further interrupts. */ if (status == 0 || status == 0xffffffff) { CSR_WRITE_4(sc, B0_Y2_SP_ICR, 2); return (FILTER_STRAY); } taskqueue_enqueue(sc->msk_tq, &sc->msk_int_task); return (FILTER_HANDLED); } static void msk_int_task(void *arg, int pending) { struct msk_softc *sc; struct msk_if_softc *sc_if0, *sc_if1; struct ifnet *ifp0, *ifp1; uint32_t status; int domore; sc = arg; MSK_LOCK(sc); /* Get interrupt source. */ status = CSR_READ_4(sc, B0_ISRC); if (status == 0 || status == 0xffffffff || sc->msk_suspended != 0 || (status & sc->msk_intrmask) == 0) goto done; sc_if0 = sc->msk_if[MSK_PORT_A]; sc_if1 = sc->msk_if[MSK_PORT_B]; ifp0 = ifp1 = NULL; if (sc_if0 != NULL) ifp0 = sc_if0->msk_ifp; if (sc_if1 != NULL) ifp1 = sc_if1->msk_ifp; if ((status & Y2_IS_IRQ_PHY1) != 0 && sc_if0 != NULL) msk_intr_phy(sc_if0); if ((status & Y2_IS_IRQ_PHY2) != 0 && sc_if1 != NULL) msk_intr_phy(sc_if1); if ((status & Y2_IS_IRQ_MAC1) != 0 && sc_if0 != NULL) msk_intr_gmac(sc_if0); if ((status & Y2_IS_IRQ_MAC2) != 0 && sc_if1 != NULL) msk_intr_gmac(sc_if1); if ((status & (Y2_IS_CHK_RX1 | Y2_IS_CHK_RX2)) != 0) { device_printf(sc->msk_dev, "Rx descriptor error\n"); sc->msk_intrmask &= ~(Y2_IS_CHK_RX1 | Y2_IS_CHK_RX2); CSR_WRITE_4(sc, B0_IMSK, sc->msk_intrmask); CSR_READ_4(sc, B0_IMSK); } if ((status & (Y2_IS_CHK_TXA1 | Y2_IS_CHK_TXA2)) != 0) { device_printf(sc->msk_dev, "Tx descriptor error\n"); sc->msk_intrmask &= ~(Y2_IS_CHK_TXA1 | Y2_IS_CHK_TXA2); CSR_WRITE_4(sc, B0_IMSK, sc->msk_intrmask); CSR_READ_4(sc, B0_IMSK); } if ((status & Y2_IS_HW_ERR) != 0) msk_intr_hwerr(sc); domore = msk_handle_events(sc); if ((status & Y2_IS_STAT_BMU) != 0) CSR_WRITE_4(sc, STAT_CTRL, SC_STAT_CLR_IRQ); if (ifp0 != NULL && (ifp0->if_drv_flags & IFF_DRV_RUNNING) != 0 && !IFQ_DRV_IS_EMPTY(&ifp0->if_snd)) taskqueue_enqueue(taskqueue_fast, &sc_if0->msk_tx_task); if (ifp1 != NULL && (ifp1->if_drv_flags & IFF_DRV_RUNNING) != 0 && !IFQ_DRV_IS_EMPTY(&ifp1->if_snd)) taskqueue_enqueue(taskqueue_fast, &sc_if1->msk_tx_task); if (domore > 0) { taskqueue_enqueue(sc->msk_tq, &sc->msk_int_task); MSK_UNLOCK(sc); return; } done: MSK_UNLOCK(sc); /* Reenable interrupts. */ CSR_WRITE_4(sc, B0_Y2_SP_ICR, 2); } static void msk_init(void *xsc) { struct msk_if_softc *sc_if = xsc; MSK_IF_LOCK(sc_if); msk_init_locked(sc_if); MSK_IF_UNLOCK(sc_if); } static void msk_init_locked(struct msk_if_softc *sc_if) { struct msk_softc *sc; struct ifnet *ifp; struct mii_data *mii; uint16_t eaddr[ETHER_ADDR_LEN / 2]; uint16_t gmac; int error, i; MSK_IF_LOCK_ASSERT(sc_if); ifp = sc_if->msk_ifp; sc = sc_if->msk_softc; mii = device_get_softc(sc_if->msk_miibus); error = 0; /* Cancel pending I/O and free all Rx/Tx buffers. */ msk_stop(sc_if); sc_if->msk_framesize = ifp->if_mtu + ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN; if (sc_if->msk_framesize > MSK_MAX_FRAMELEN && sc_if->msk_softc->msk_hw_id == CHIP_ID_YUKON_EC_U) { /* * In Yukon EC Ultra, TSO & checksum offload is not * supported for jumbo frame. */ ifp->if_hwassist &= ~(MSK_CSUM_FEATURES | CSUM_TSO); ifp->if_capenable &= ~(IFCAP_TSO4 | IFCAP_TXCSUM); } /* * Initialize GMAC first. * Without this initialization, Rx MAC did not work as expected * and Rx MAC garbled status LEs and it resulted in out-of-order * or duplicated frame delivery which in turn showed very poor * Rx performance.(I had to write a packet analysis code that * could be embeded in driver to diagnose this issue.) * I've spent almost 2 months to fix this issue. If I have had * datasheet for Yukon II I wouldn't have encountered this. :-( */ gmac = GM_GPCR_SPEED_100 | GM_GPCR_SPEED_1000 | GM_GPCR_DUP_FULL; GMAC_WRITE_2(sc, sc_if->msk_port, GM_GP_CTRL, gmac); /* Dummy read the Interrupt Source Register. */ CSR_READ_1(sc, MR_ADDR(sc_if->msk_port, GMAC_IRQ_SRC)); /* Set MIB Clear Counter Mode. */ gmac = GMAC_READ_2(sc, sc_if->msk_port, GM_PHY_ADDR); GMAC_WRITE_2(sc, sc_if->msk_port, GM_PHY_ADDR, gmac | GM_PAR_MIB_CLR); /* Read all MIB Counters with Clear Mode set. */ for (i = 0; i < GM_MIB_CNT_SIZE; i++) GMAC_READ_2(sc, sc_if->msk_port, GM_MIB_CNT_BASE + 8 * i); /* Clear MIB Clear Counter Mode. */ gmac &= ~GM_PAR_MIB_CLR; GMAC_WRITE_2(sc, sc_if->msk_port, GM_PHY_ADDR, gmac); /* Disable FCS. */ GMAC_WRITE_2(sc, sc_if->msk_port, GM_RX_CTRL, GM_RXCR_CRC_DIS); /* Setup Transmit Control Register. */ GMAC_WRITE_2(sc, sc_if->msk_port, GM_TX_CTRL, TX_COL_THR(TX_COL_DEF)); /* Setup Transmit Flow Control Register. */ GMAC_WRITE_2(sc, sc_if->msk_port, GM_TX_FLOW_CTRL, 0xffff); /* Setup Transmit Parameter Register. */ GMAC_WRITE_2(sc, sc_if->msk_port, GM_TX_PARAM, TX_JAM_LEN_VAL(TX_JAM_LEN_DEF) | TX_JAM_IPG_VAL(TX_JAM_IPG_DEF) | TX_IPG_JAM_DATA(TX_IPG_JAM_DEF) | TX_BACK_OFF_LIM(TX_BOF_LIM_DEF)); gmac = DATA_BLIND_VAL(DATA_BLIND_DEF) | GM_SMOD_VLAN_ENA | IPG_DATA_VAL(IPG_DATA_DEF); if (sc_if->msk_framesize > MSK_MAX_FRAMELEN) gmac |= GM_SMOD_JUMBO_ENA; GMAC_WRITE_2(sc, sc_if->msk_port, GM_SERIAL_MODE, gmac); /* Set station address. */ bcopy(IF_LLADDR(ifp), eaddr, ETHER_ADDR_LEN); for (i = 0; i < ETHER_ADDR_LEN /2; i++) GMAC_WRITE_2(sc, sc_if->msk_port, GM_SRC_ADDR_1L + i * 4, eaddr[i]); for (i = 0; i < ETHER_ADDR_LEN /2; i++) GMAC_WRITE_2(sc, sc_if->msk_port, GM_SRC_ADDR_2L + i * 4, eaddr[i]); /* Disable interrupts for counter overflows. */ GMAC_WRITE_2(sc, sc_if->msk_port, GM_TX_IRQ_MSK, 0); GMAC_WRITE_2(sc, sc_if->msk_port, GM_RX_IRQ_MSK, 0); GMAC_WRITE_2(sc, sc_if->msk_port, GM_TR_IRQ_MSK, 0); /* Configure Rx MAC FIFO. */ CSR_WRITE_4(sc, MR_ADDR(sc_if->msk_port, RX_GMF_CTRL_T), GMF_RST_SET); CSR_WRITE_4(sc, MR_ADDR(sc_if->msk_port, RX_GMF_CTRL_T), GMF_RST_CLR); CSR_WRITE_4(sc, MR_ADDR(sc_if->msk_port, RX_GMF_CTRL_T), GMF_OPER_ON | GMF_RX_F_FL_ON); /* Set promiscuous mode. */ msk_setpromisc(sc_if); /* Set multicast filter. */ msk_setmulti(sc_if); /* Flush Rx MAC FIFO on any flow control or error. */ CSR_WRITE_4(sc, MR_ADDR(sc_if->msk_port, RX_GMF_FL_MSK), GMR_FS_ANY_ERR); /* * Set Rx FIFO flush threshold to 64 bytes + 1 FIFO word * due to hardware hang on receipt of pause frames. */ CSR_WRITE_4(sc, MR_ADDR(sc_if->msk_port, RX_GMF_FL_THR), RX_GMF_FL_THR_DEF + 1); /* Configure Tx MAC FIFO. */ CSR_WRITE_4(sc, MR_ADDR(sc_if->msk_port, TX_GMF_CTRL_T), GMF_RST_SET); CSR_WRITE_4(sc, MR_ADDR(sc_if->msk_port, TX_GMF_CTRL_T), GMF_RST_CLR); CSR_WRITE_4(sc, MR_ADDR(sc_if->msk_port, TX_GMF_CTRL_T), GMF_OPER_ON); /* Configure hardware VLAN tag insertion/stripping. */ msk_setvlan(sc_if, ifp); if ((sc_if->msk_flags & MSK_FLAG_RAMBUF) == 0) { /* Set Rx Pause threshould. */ CSR_WRITE_1(sc, MR_ADDR(sc_if->msk_port, RX_GMF_LP_THR), MSK_ECU_LLPP); CSR_WRITE_1(sc, MR_ADDR(sc_if->msk_port, RX_GMF_UP_THR), MSK_ECU_ULPP); if (sc_if->msk_framesize > MSK_MAX_FRAMELEN) { /* * Set Tx GMAC FIFO Almost Empty Threshold. */ CSR_WRITE_4(sc, MR_ADDR(sc_if->msk_port, TX_GMF_AE_THR) , MSK_ECU_JUMBO_WM << 16 | MSK_ECU_AE_THR); /* Disable Store & Forward mode for Tx. */ CSR_WRITE_4(sc, MR_ADDR(sc_if->msk_port, TX_GMF_CTRL_T) , TX_JUMBO_ENA | TX_STFW_DIS); } else { /* Enable Store & Forward mode for Tx. */ CSR_WRITE_4(sc, MR_ADDR(sc_if->msk_port, TX_GMF_CTRL_T) , TX_JUMBO_DIS | TX_STFW_ENA); } } /* * Disable Force Sync bit and Alloc bit in Tx RAM interface * arbiter as we don't use Sync Tx queue. */ CSR_WRITE_1(sc, MR_ADDR(sc_if->msk_port, TXA_CTRL), TXA_DIS_FSYNC | TXA_DIS_ALLOC | TXA_STOP_RC); /* Enable the RAM Interface Arbiter. */ CSR_WRITE_1(sc, MR_ADDR(sc_if->msk_port, TXA_CTRL), TXA_ENA_ARB); /* Setup RAM buffer. */ msk_set_rambuffer(sc_if); /* Disable Tx sync Queue. */ CSR_WRITE_1(sc, RB_ADDR(sc_if->msk_txsq, RB_CTRL), RB_RST_SET); /* Setup Tx Queue Bus Memory Interface. */ CSR_WRITE_4(sc, Q_ADDR(sc_if->msk_txq, Q_CSR), BMU_CLR_RESET); CSR_WRITE_4(sc, Q_ADDR(sc_if->msk_txq, Q_CSR), BMU_OPER_INIT); CSR_WRITE_4(sc, Q_ADDR(sc_if->msk_txq, Q_CSR), BMU_FIFO_OP_ON); CSR_WRITE_2(sc, Q_ADDR(sc_if->msk_txq, Q_WM), MSK_BMU_TX_WM); if (sc->msk_hw_id == CHIP_ID_YUKON_EC_U && sc->msk_hw_rev == CHIP_REV_YU_EC_U_A0) { /* Fix for Yukon-EC Ultra: set BMU FIFO level */ CSR_WRITE_2(sc, Q_ADDR(sc_if->msk_txq, Q_AL), MSK_ECU_TXFF_LEV) ; } /* Setup Rx Queue Bus Memory Interface. */ CSR_WRITE_4(sc, Q_ADDR(sc_if->msk_rxq, Q_CSR), BMU_CLR_RESET); CSR_WRITE_4(sc, Q_ADDR(sc_if->msk_rxq, Q_CSR), BMU_OPER_INIT); CSR_WRITE_4(sc, Q_ADDR(sc_if->msk_rxq, Q_CSR), BMU_FIFO_OP_ON); CSR_WRITE_2(sc, Q_ADDR(sc_if->msk_rxq, Q_WM), MSK_BMU_RX_WM); if (sc->msk_hw_id == CHIP_ID_YUKON_EC_U && sc->msk_hw_rev >= CHIP_REV_YU_EC_U_A1) { /* MAC Rx RAM Read is controlled by hardware. */ CSR_WRITE_4(sc, Q_ADDR(sc_if->msk_rxq, Q_F), F_M_RX_RAM_DIS); } msk_set_prefetch(sc, sc_if->msk_txq, sc_if->msk_rdata.msk_tx_ring_paddr, MSK_TX_RING_CNT - 1); msk_init_tx_ring(sc_if); /* Disable Rx checksum offload and RSS hash. */ CSR_WRITE_4(sc, Q_ADDR(sc_if->msk_rxq, Q_CSR), BMU_DIS_RX_CHKSUM | BMU_DIS_RX_RSS_HASH); if (sc_if->msk_framesize > (MCLBYTES - ETHER_HDR_LEN)) { msk_set_prefetch(sc, sc_if->msk_rxq, sc_if->msk_rdata.msk_jumbo_rx_ring_paddr, MSK_JUMBO_RX_RING_CNT - 1); error = msk_init_jumbo_rx_ring(sc_if); } else { msk_set_prefetch(sc, sc_if->msk_rxq, sc_if->msk_rdata.msk_rx_ring_paddr, MSK_RX_RING_CNT - 1); error = msk_init_rx_ring(sc_if); } if (error != 0) { device_printf(sc_if->msk_if_dev, "initialization failed: no memory for Rx buffers\n"); msk_stop(sc_if); return; } /* Configure interrupt handling. */ if (sc_if->msk_port == MSK_PORT_A) { sc->msk_intrmask |= Y2_IS_PORT_A; sc->msk_intrhwemask |= Y2_HWE_L1_MASK; } else { sc->msk_intrmask |= Y2_IS_PORT_B; sc->msk_intrhwemask |= Y2_HWE_L2_MASK; } CSR_WRITE_4(sc, B0_HWE_IMSK, sc->msk_intrhwemask); CSR_READ_4(sc, B0_HWE_IMSK); CSR_WRITE_4(sc, B0_IMSK, sc->msk_intrmask); CSR_READ_4(sc, B0_IMSK); sc_if->msk_link = 0; mii_mediachg(mii); ifp->if_drv_flags |= IFF_DRV_RUNNING; ifp->if_drv_flags &= ~IFF_DRV_OACTIVE; callout_reset(&sc_if->msk_tick_ch, hz, msk_tick, sc_if); } static void msk_set_rambuffer(struct msk_if_softc *sc_if) { struct msk_softc *sc; int ltpp, utpp; sc = sc_if->msk_softc; if ((sc_if->msk_flags & MSK_FLAG_RAMBUF) == 0) return; /* Setup Rx Queue. */ CSR_WRITE_1(sc, RB_ADDR(sc_if->msk_rxq, RB_CTRL), RB_RST_CLR); CSR_WRITE_4(sc, RB_ADDR(sc_if->msk_rxq, RB_START), sc->msk_rxqstart[sc_if->msk_port] / 8); CSR_WRITE_4(sc, RB_ADDR(sc_if->msk_rxq, RB_END), sc->msk_rxqend[sc_if->msk_port] / 8); CSR_WRITE_4(sc, RB_ADDR(sc_if->msk_rxq, RB_WP), sc->msk_rxqstart[sc_if->msk_port] / 8); CSR_WRITE_4(sc, RB_ADDR(sc_if->msk_rxq, RB_RP), sc->msk_rxqstart[sc_if->msk_port] / 8); utpp = (sc->msk_rxqend[sc_if->msk_port] + 1 - sc->msk_rxqstart[sc_if->msk_port] - MSK_RB_ULPP) / 8; ltpp = (sc->msk_rxqend[sc_if->msk_port] + 1 - sc->msk_rxqstart[sc_if->msk_port] - MSK_RB_LLPP_B) / 8; if (sc->msk_rxqsize < MSK_MIN_RXQ_SIZE) ltpp += (MSK_RB_LLPP_B - MSK_RB_LLPP_S) / 8; CSR_WRITE_4(sc, RB_ADDR(sc_if->msk_rxq, RB_RX_UTPP), utpp); CSR_WRITE_4(sc, RB_ADDR(sc_if->msk_rxq, RB_RX_LTPP), ltpp); /* Set Rx priority(RB_RX_UTHP/RB_RX_LTHP) thresholds? */ CSR_WRITE_1(sc, RB_ADDR(sc_if->msk_rxq, RB_CTRL), RB_ENA_OP_MD); CSR_READ_1(sc, RB_ADDR(sc_if->msk_rxq, RB_CTRL)); /* Setup Tx Queue. */ CSR_WRITE_1(sc, RB_ADDR(sc_if->msk_txq, RB_CTRL), RB_RST_CLR); CSR_WRITE_4(sc, RB_ADDR(sc_if->msk_txq, RB_START), sc->msk_txqstart[sc_if->msk_port] / 8); CSR_WRITE_4(sc, RB_ADDR(sc_if->msk_txq, RB_END), sc->msk_txqend[sc_if->msk_port] / 8); CSR_WRITE_4(sc, RB_ADDR(sc_if->msk_txq, RB_WP), sc->msk_txqstart[sc_if->msk_port] / 8); CSR_WRITE_4(sc, RB_ADDR(sc_if->msk_txq, RB_RP), sc->msk_txqstart[sc_if->msk_port] / 8); /* Enable Store & Forward for Tx side. */ CSR_WRITE_1(sc, RB_ADDR(sc_if->msk_txq, RB_CTRL), RB_ENA_STFWD); CSR_WRITE_1(sc, RB_ADDR(sc_if->msk_txq, RB_CTRL), RB_ENA_OP_MD); CSR_READ_1(sc, RB_ADDR(sc_if->msk_txq, RB_CTRL)); } static void msk_set_prefetch(struct msk_softc *sc, int qaddr, bus_addr_t addr, uint32_t count) { /* Reset the prefetch unit. */ CSR_WRITE_4(sc, Y2_PREF_Q_ADDR(qaddr, PREF_UNIT_CTRL_REG), PREF_UNIT_RST_SET); CSR_WRITE_4(sc, Y2_PREF_Q_ADDR(qaddr, PREF_UNIT_CTRL_REG), PREF_UNIT_RST_CLR); /* Set LE base address. */ CSR_WRITE_4(sc, Y2_PREF_Q_ADDR(qaddr, PREF_UNIT_ADDR_LOW_REG), MSK_ADDR_LO(addr)); CSR_WRITE_4(sc, Y2_PREF_Q_ADDR(qaddr, PREF_UNIT_ADDR_HI_REG), MSK_ADDR_HI(addr)); /* Set the list last index. */ CSR_WRITE_2(sc, Y2_PREF_Q_ADDR(qaddr, PREF_UNIT_LAST_IDX_REG), count); /* Turn on prefetch unit. */ CSR_WRITE_4(sc, Y2_PREF_Q_ADDR(qaddr, PREF_UNIT_CTRL_REG), PREF_UNIT_OP_ON); /* Dummy read to ensure write. */ CSR_READ_4(sc, Y2_PREF_Q_ADDR(qaddr, PREF_UNIT_CTRL_REG)); } static void msk_stop(struct msk_if_softc *sc_if) { struct msk_softc *sc; struct msk_txdesc *txd; struct msk_rxdesc *rxd; struct msk_rxdesc *jrxd; struct ifnet *ifp; uint32_t val; int i; MSK_IF_LOCK_ASSERT(sc_if); sc = sc_if->msk_softc; ifp = sc_if->msk_ifp; callout_stop(&sc_if->msk_tick_ch); sc_if->msk_watchdog_timer = 0; /* Disable interrupts. */ if (sc_if->msk_port == MSK_PORT_A) { sc->msk_intrmask &= ~Y2_IS_PORT_A; sc->msk_intrhwemask &= ~Y2_HWE_L1_MASK; } else { sc->msk_intrmask &= ~Y2_IS_PORT_B; sc->msk_intrhwemask &= ~Y2_HWE_L2_MASK; } CSR_WRITE_4(sc, B0_HWE_IMSK, sc->msk_intrhwemask); CSR_READ_4(sc, B0_HWE_IMSK); CSR_WRITE_4(sc, B0_IMSK, sc->msk_intrmask); CSR_READ_4(sc, B0_IMSK); /* Disable Tx/Rx MAC. */ val = GMAC_READ_2(sc, sc_if->msk_port, GM_GP_CTRL); val &= ~(GM_GPCR_RX_ENA | GM_GPCR_TX_ENA); GMAC_WRITE_2(sc, sc_if->msk_port, GM_GP_CTRL, val); /* Read again to ensure writing. */ GMAC_READ_2(sc, sc_if->msk_port, GM_GP_CTRL); /* Stop Tx BMU. */ CSR_WRITE_4(sc, Q_ADDR(sc_if->msk_txq, Q_CSR), BMU_STOP); val = CSR_READ_4(sc, Q_ADDR(sc_if->msk_txq, Q_CSR)); for (i = 0; i < MSK_TIMEOUT; i++) { if ((val & (BMU_STOP | BMU_IDLE)) == 0) { CSR_WRITE_4(sc, Q_ADDR(sc_if->msk_txq, Q_CSR), BMU_STOP); CSR_READ_4(sc, Q_ADDR(sc_if->msk_txq, Q_CSR)); } else break; DELAY(1); } if (i == MSK_TIMEOUT) device_printf(sc_if->msk_if_dev, "Tx BMU stop failed\n"); CSR_WRITE_1(sc, RB_ADDR(sc_if->msk_txq, RB_CTRL), RB_RST_SET | RB_DIS_OP_MD); /* Disable all GMAC interrupt. */ CSR_WRITE_1(sc, MR_ADDR(sc_if->msk_port, GMAC_IRQ_MSK), 0); /* Disable PHY interrupt. */ msk_phy_writereg(sc_if, PHY_ADDR_MARV, PHY_MARV_INT_MASK, 0); /* Disable the RAM Interface Arbiter. */ CSR_WRITE_1(sc, MR_ADDR(sc_if->msk_port, TXA_CTRL), TXA_DIS_ARB); /* Reset the PCI FIFO of the async Tx queue */ CSR_WRITE_4(sc, Q_ADDR(sc_if->msk_txq, Q_CSR), BMU_RST_SET | BMU_FIFO_RST); /* Reset the Tx prefetch units. */ CSR_WRITE_4(sc, Y2_PREF_Q_ADDR(sc_if->msk_txq, PREF_UNIT_CTRL_REG), PREF_UNIT_RST_SET); /* Reset the RAM Buffer async Tx queue. */ CSR_WRITE_1(sc, RB_ADDR(sc_if->msk_txq, RB_CTRL), RB_RST_SET); /* Reset Tx MAC FIFO. */ CSR_WRITE_4(sc, MR_ADDR(sc_if->msk_port, TX_GMF_CTRL_T), GMF_RST_SET); /* Set Pause Off. */ CSR_WRITE_4(sc, MR_ADDR(sc_if->msk_port, GMAC_CTRL), GMC_PAUSE_OFF); /* * The Rx Stop command will not work for Yukon-2 if the BMU does not * reach the end of packet and since we can't make sure that we have * incoming data, we must reset the BMU while it is not during a DMA * transfer. Since it is possible that the Rx path is still active, * the Rx RAM buffer will be stopped first, so any possible incoming * data will not trigger a DMA. After the RAM buffer is stopped, the * BMU is polled until any DMA in progress is ended and only then it * will be reset. */ /* Disable the RAM Buffer receive queue. */ CSR_WRITE_1(sc, RB_ADDR(sc_if->msk_rxq, RB_CTRL), RB_DIS_OP_MD); for (i = 0; i < MSK_TIMEOUT; i++) { if (CSR_READ_1(sc, RB_ADDR(sc_if->msk_rxq, Q_RSL)) == CSR_READ_1(sc, RB_ADDR(sc_if->msk_rxq, Q_RL))) break; DELAY(1); } if (i == MSK_TIMEOUT) device_printf(sc_if->msk_if_dev, "Rx BMU stop failed\n"); CSR_WRITE_4(sc, Q_ADDR(sc_if->msk_rxq, Q_CSR), BMU_RST_SET | BMU_FIFO_RST); /* Reset the Rx prefetch unit. */ CSR_WRITE_4(sc, Y2_PREF_Q_ADDR(sc_if->msk_rxq, PREF_UNIT_CTRL_REG), PREF_UNIT_RST_SET); /* Reset the RAM Buffer receive queue. */ CSR_WRITE_1(sc, RB_ADDR(sc_if->msk_rxq, RB_CTRL), RB_RST_SET); /* Reset Rx MAC FIFO. */ CSR_WRITE_4(sc, MR_ADDR(sc_if->msk_port, RX_GMF_CTRL_T), GMF_RST_SET); /* Free Rx and Tx mbufs still in the queues. */ for (i = 0; i < MSK_RX_RING_CNT; i++) { rxd = &sc_if->msk_cdata.msk_rxdesc[i]; if (rxd->rx_m != NULL) { bus_dmamap_sync(sc_if->msk_cdata.msk_rx_tag, rxd->rx_dmamap, BUS_DMASYNC_POSTREAD); bus_dmamap_unload(sc_if->msk_cdata.msk_rx_tag, rxd->rx_dmamap); m_freem(rxd->rx_m); rxd->rx_m = NULL; } } for (i = 0; i < MSK_JUMBO_RX_RING_CNT; i++) { jrxd = &sc_if->msk_cdata.msk_jumbo_rxdesc[i]; if (jrxd->rx_m != NULL) { bus_dmamap_sync(sc_if->msk_cdata.msk_jumbo_rx_tag, jrxd->rx_dmamap, BUS_DMASYNC_POSTREAD); bus_dmamap_unload(sc_if->msk_cdata.msk_jumbo_rx_tag, jrxd->rx_dmamap); m_freem(jrxd->rx_m); jrxd->rx_m = NULL; } } for (i = 0; i < MSK_TX_RING_CNT; i++) { txd = &sc_if->msk_cdata.msk_txdesc[i]; if (txd->tx_m != NULL) { bus_dmamap_sync(sc_if->msk_cdata.msk_tx_tag, txd->tx_dmamap, BUS_DMASYNC_POSTWRITE); bus_dmamap_unload(sc_if->msk_cdata.msk_tx_tag, txd->tx_dmamap); m_freem(txd->tx_m); txd->tx_m = NULL; } } /* * Mark the interface down. */ ifp->if_drv_flags &= ~(IFF_DRV_RUNNING | IFF_DRV_OACTIVE); sc_if->msk_link = 0; } static int sysctl_int_range(SYSCTL_HANDLER_ARGS, int low, int high) { int error, value; if (!arg1) return (EINVAL); value = *(int *)arg1; error = sysctl_handle_int(oidp, &value, 0, req); if (error || !req->newptr) return (error); if (value < low || value > high) return (EINVAL); *(int *)arg1 = value; return (0); } static int sysctl_hw_msk_proc_limit(SYSCTL_HANDLER_ARGS) { return (sysctl_int_range(oidp, arg1, arg2, req, MSK_PROC_MIN, MSK_PROC_MAX)); } [36]Legal Notices | © 1995-2008 The FreeBSD Project. All rights reserved. [37]www@FreeBSD.org 2008/09/23 16:31:45 References 1. http://www.freebsd.org/search/opensearch/cvsweb.xml 2. file://localhost/tmp/tmpnlfd-U.html#content 3. file://localhost/tmp/tmpnlfd-U.html#content 4. http://www.FreeBSD.org/ 5. file://localhost/tmp/tmpnlfd-U.html 6. file://localhost/tmp/tmpnlfd-U.html 7. http://www.FreeBSD.org/donations/ 8. http://www.FreeBSD.org/mailto.html 9. http://www.FreeBSD.org/ 10. http://www.FreeBSD.org/about.html 11. http://www.FreeBSD.org/where.html 12. http://www.FreeBSD.org/docs.html 13. http://www.FreeBSD.org/community.html 14. http://www.FreeBSD.org/projects/index.html 15. http://www.FreeBSD.org/support.html 16. file://localhost/tmp/if_msk.c#rev1.34 17. file://localhost/tmp/if_msk.c#rev1.34 18. file://localhost/cgi/cvsweb.cgi/#dirlist 19. file://localhost/cgi/cvsweb.cgi/src/#dirlist 20. file://localhost/cgi/cvsweb.cgi/src/sys/#dirlist 21. file://localhost/cgi/cvsweb.cgi/src/sys/dev/#dirlist 22. file://localhost/cgi/cvsweb.cgi/src/sys/dev/msk/#dirlist 23. file://localhost/cgi/cvsweb.cgi/#dirlist 24. file://localhost/cgi/cvsweb.cgi/src/#dirlist 25. file://localhost/cgi/cvsweb.cgi/src/sys/#dirlist 26. file://localhost/cgi/cvsweb.cgi/src/sys/dev/#dirlist 27. file://localhost/cgi/cvsweb.cgi/src/sys/dev/msk/#dirlist 28. file://localhost/cgi/cvsweb.cgi/src/sys/dev/msk/if_msk.c 29. file://localhost/cgi/cvsweb.cgi/~checkout~/src/sys/dev/msk/if_msk.c?rev=1.34;content-type=text%2Fplain 30. file://localhost/tmp/if_msk.c?rev=1.34;content-type=text%2Fplain 31. file://localhost/tmp/if_msk.c?annotate=1.34 32. file://localhost/tmp/if_msk.c?r1=1.34#rev1.34 33. file://localhost/tmp/if_msk.c?only_with_tag=MAIN 34. file://localhost/tmp/if_msk.c?only_with_tag=HEAD 35. http://www.FreeBSD.org/cgi/man.cgi?apropos=0&sektion=9&query=m_pullup&manpath=FreeBSD+7.0-current&format=html 36. http://www.FreeBSD.org/copyright/ 37. http://www.FreeBSD.org/mailto.html --=-O2nhkhwd6nCYy5VILwTc-- From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 20:06: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 838DB106564A for ; Wed, 15 Oct 2008 20:06:10 +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 23E738FC19 for ; Wed, 15 Oct 2008 20:05:56 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA04.westchester.pa.mail.comcast.net ([76.96.62.35]) by QMTA10.westchester.pa.mail.comcast.net with comcast id T0Qj1a00M0ldTLk5A85tAa; Wed, 15 Oct 2008 20:05:53 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA04.westchester.pa.mail.comcast.net with comcast id T85s1a0042P6wsM3Q85scx; Wed, 15 Oct 2008 20:05:53 +0000 X-Authority-Analysis: v=1.0 c=1 a=ar0thLs_cGMA:10 a=5p311MEep0gA:10 a=bb-Oy90fAAAA:8 a=QycZ5dHgAAAA:8 a=9T2fb8kRxBMCfPF6fCUA:9 a=5U63WuuQ8AuVnEvsqYYA:7 a=1iS_FWx5b9jgclArrekEOrWYGtoA:4 a=EoioJ0NPDVgA:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id EDD12C941C; Wed, 15 Oct 2008 13:05:51 -0700 (PDT) Date: Wed, 15 Oct 2008 13:05:51 -0700 From: Jeremy Chadwick To: Matt Message-ID: <20081015200551.GA87569@icarus.home.lan> References: <48F62774.2060609@k18.ch> <20081015185509.GB84864@icarus.home.lan> <48F643D1.3020500@infracaninophile.co.uk> <20081015193541.GA85764@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: Alain Wolf , freebsd-questions@freebsd.org Subject: Re: [Fwd: Suhosin Segmentation Fault] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 20:06:10 -0000 On Wed, Oct 15, 2008 at 02:47:00PM -0500, Matt wrote: > On Wed, Oct 15, 2008 at 2:35 PM, Jeremy Chadwick wrote: > > On Wed, Oct 15, 2008 at 08:26:09PM +0100, Matthew Seaman wrote: > >> Jeremy Chadwick wrote: > >> > >>> Suhosin is not an extension you load in extensions.ini; it's a patch > >>> applied to the core of PHP. > >> > >> % grep suhosin /usr/local/etc/php/extensions.ini > >> extension=suhosin.so > >> > >> It's both a set of patches to the PHP core, and a loadable module. > >> > >> Cheers, > >> > >> Matthew > > > > Are you sure? > > Yes - the suhosin extension is located in the ports tree at: > /usr/ports/security/php-suhosin > > Install instructions are at: > http://www.hardened-php.net/suhosin/how_to_install_or_upgrade.html#installing_the_extension > > It's been a while since I've looked at the suhosin options and I can't > remember what the differences are between the extension and the > core-php patch. Deep within their forums, I found an answer in a thread. The thread pointed me to this: http://www.hardened-php.net/suhosin/a_feature_list.html "Engine Protection" is not available in security/php-suhosin. Seems to me that the benefits of using the patch version easily outweigh that of the extension version, solely for protection against formatted string vulnerabilities. I also found this amusing tidbit, which is a sticky post on their forum: http://forum.hardened-php.net/viewtopic.php?id=122 That sticky also states that pspell.so will cause Suhosin to crash, advocating that pspell.so must come last in extension.so, but then also advocates simply not using pspell at all. I'm sure that does nothing but confuse users. Seems the OP has also posted there: http://forum.hardened-php.net/viewtopic.php?id=501 It would be interesting to know if the segfaults people experience are specific to the extension version of Suhosin. -- | 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 15 20:08: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 166741065687 for ; Wed, 15 Oct 2008 20:08:33 +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 914228FC22 for ; Wed, 15 Oct 2008 20:08:32 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA11.westchester.pa.mail.comcast.net ([76.96.62.36]) by QMTA10.westchester.pa.mail.comcast.net with comcast id T0wh1a00R0mv7h05A88XCp; Wed, 15 Oct 2008 20:08:31 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA11.westchester.pa.mail.comcast.net with comcast id T87u1a0032P6wsM3X87uGC; Wed, 15 Oct 2008 20:07:55 +0000 X-Authority-Analysis: v=1.0 c=1 a=N8TDiX_OOuEA:10 a=TiS0_Z0ZvfoA:10 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=L3JC-ZDSJinC7o2ES0IA:9 a=CrFjzeT3Xg7CrY3q-3gA:7 a=O6poWISJ7tx3EjRfvtFM6ppo2yQA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id E801CC9419; Wed, 15 Oct 2008 13:08:29 -0700 (PDT) Date: Wed, 15 Oct 2008 13:08:29 -0700 From: Jeremy Chadwick To: Aniruddha Message-ID: <20081015200829.GA87853@icarus.home.lan> References: <1224054780.4011.20.camel@debian> <20081015072630.GA70901@icarus.home.lan> <1224069478.4247.7.camel@debian> <20081015113101.GA76278@icarus.home.lan> <20081015120911.GI14769@cdnetworks.co.kr> <1224080661.5407.2.camel@debian> <20081015144302.GA80037@icarus.home.lan> <1224091596.4048.2.camel@debian> <20081015184951.GA84864@icarus.home.lan> <1224100966.4199.6.camel@debian> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1224100966.4199.6.camel@debian> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: pyunyh@gmail.com, freebsd-questions@FreeBSD.org Subject: Re: Under heavy load internet gets killed, only a reboot can bring it back 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: Wed, 15 Oct 2008 20:08:33 -0000 On Wed, Oct 15, 2008 at 10:02:46PM +0200, Aniruddha wrote: > On Wed, 2008-10-15 at 11:49 -0700, Jeremy Chadwick wrote: > > How exactly did you download the URLs I gave you? > > > > Can you show me what's on line 241 of if_msk.c? > > > > A 'grep ^#include if_msk.c' for me returns lines which only include > > filenames surrounded with "" or <>. > > I downloaded the files this way: > > wget http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/msk/if_msk.c?rev=1.34;content-type=text%2Fplain This is wrong. Your shell has interpreted variables in the URL, and you ended up downloading the wrong URL, which caused HTML and other things to appear in the file. Is this your first time using UNIX? This is a little surprising. You need to do (note the apostrophes, DO NOT use double-quotes): $ wget -O if_msk.c 'http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/msk/if_msk.c?rev=1.34;content-type=text%2Fplain' And be sure to do the same for the include file (change the -O argument, obviously). -- | 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 15 20:14: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 98A49106568A for ; Wed, 15 Oct 2008 20:14:56 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA09.emeryville.ca.mail.comcast.net (qmta09.emeryville.ca.mail.comcast.net [76.96.30.96]) by mx1.freebsd.org (Postfix) with ESMTP id 7ABA98FC1A for ; Wed, 15 Oct 2008 20:14:56 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA05.emeryville.ca.mail.comcast.net ([76.96.30.43]) by QMTA09.emeryville.ca.mail.comcast.net with comcast id T5i91a0070vp7WLA98Ewi9; Wed, 15 Oct 2008 20:14:56 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA05.emeryville.ca.mail.comcast.net with comcast id T8Eu1a00L2P6wsM8R8Eu0M; Wed, 15 Oct 2008 20:14:55 +0000 X-Authority-Analysis: v=1.0 c=1 a=ar0thLs_cGMA:10 a=5p311MEep0gA:10 a=bb-Oy90fAAAA:8 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=0c4hxQlbI8-G72ZqE2EA:9 a=kA8GEy-NCgmuSHiEVJAA:7 a=QiRJjcaLNZ1NRhZIE5D-X7kvDgkA:4 a=EoioJ0NPDVgA:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 9CD53C9419; Wed, 15 Oct 2008 13:14:54 -0700 (PDT) Date: Wed, 15 Oct 2008 13:14:54 -0700 From: Jeremy Chadwick To: Alain Wolf Message-ID: <20081015201454.GB87853@icarus.home.lan> References: <48F62774.2060609@k18.ch> <20081015185509.GB84864@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, ale@freebsd.org Subject: Re: [Fwd: Suhosin Segmentation Fault] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 20:14:56 -0000 On Wed, Oct 15, 2008 at 10:01:13PM +0200, Alain Wolf wrote: > On 15.10.2008 20:55, Jeremy Chadwick wrote: > > On Wed, Oct 15, 2008 at 07:25:08PM +0200, Alain Wolf wrote: > >> Not much return on freebsd-isp. > >> I try again here on freebsd-questions. > >> > >> -------- Original-Nachricht -------- > >> Betreff: Suhosin Segmentation Fault > >> Datum: Mon, 13 Oct 2008 09:49:09 +0200 > >> Von: Alain Wolf > >> An: freebsd-isp@freebsd.org > >> Newsgruppen: gmane.os.freebsd.isp > >> > >> After upgrading FreeBSD from 6.3-p3 to 6.3-p5 on our server, all > >> websites just display a blank page and every HTTP request created a line > >> as follows in the logs: > >> > >> child pid 80326 exit signal Segmentation fault (11) > >> > >> This same problem happened on another server a few months ago after the > >> upgrade from 6.3-p3 to 6.3-p4, but after a rebuild of all FreeBSD ports > >> all went back to normal. However several rebuilds of all ports did not > >> solve the problem on this one. > >> > >> To narrow down the problem: After disabling the PHP module in Apache the > >> problem disappears. > >> > >> Re-enabling PHP, but disabling the Suhosin extension also works fine. > >> > >> The trick found in this forum, to load the Suhosin extension before all > >> other PHP extensions in /usr/local/etc/php/extensions.ini does not help. > >> In fact not loading any extension at all except Suhosin creates the > >> segfault errors. > > > > Suhosin is not an extension you load in extensions.ini; it's a patch > > applied to the core of PHP. > > Suhosin is *both*. A patch for php and a extension module for PHP. > > >From http://www.hardened-php.net/suhosin/index.html: > Suhosin comes in two independent parts, that can be used separately or > in combination. The first part is a small patch against the PHP core, > that implements a few low-level protections against bufferoverflows or > format string vulnerabilities and the second part is a powerful PHP > extension that implements all the other protections. Except their own website contradicts themselves in many other places, including on their forums *and* in other documentation. I can refer you to some documentation of theirs that states "Suhosin extension sometimes causes other extensions to crash because they try to access internal variables wrongly". You are supposed to use one or the other: the patch, or the extension. You've probably read my other mail by now, so you know that I advocate use of the patch. > The suhosin patch works fine on our servers. But the extension does not. So disable it and use only the patch -- problem solved. I'm CC'ing ale@ on this thread, because he's probably not on -questions, and this has now become a -ports thing. He can comment on what to do about these crashes. I'm of the opinion that security/php-suhosin should be nuked, especially if the patch works fine for everyone but the extension causes problems. > > The extension ordering problem, however, has been thoroughly discussed > > on -ports in the past. It happens to some and not others. There is no > > guaranteed way to determine what works and what doesn't. You have to > > literally enable line-by-line until you figure out which one is causing > > the problem. > > I tried enabling and disabling extensions. All of them work, as long as > suhosin.so is not loaded. Regardless of the order. > > If I disable all other extensions and load only suhosin.so in > /usr/local/etc/php/extensions.ini the apache processes are still crashing. > > > > > You can also try building lang/php5 with DEBUG enabled and then when PHP > > segfaults, run gdb on the coredump and see if you can get a coherent > > backtrace (sometimes difficult with Apache in the way) to see what sort > > of functions are causing the crash; often each extension has its own > > function names, so that might give you some clues. > Hard for me, as this disrupts customer services. We are running without > the extensions for now. > > > > >> PHP (cli) seems to run fine at all times when called from the command-line. > > > > Now that's very interesting, given as the CLI version also loads all the > > extensions listed in extensions.ini. > > > > Can you post your /usr/local/etc/php/extensions.ini? You didn't list > > off what extensions you have installed. > > > > cat /usr/local/etc/php/extensions.ini > extension=gd.so > extension=ctype.so > extension=pcre.so > extension=session.so > extension=bz2.so > extension=openssl.so > extension=zlib.so > extension=mbstring.so > extension=mysql.so > extension=pdf.so > extension=mcrypt.so > extension=simplexml.so > extension=spl.so > extension=mysqli.so > extension=xml.so > extension=iconv.so > extension=hash.so > extension=tokenizer.so > extension=calendar.so > extension=ftp.so > extension=xmlrpc.so > extension=xmlwriter.so > extension=zip.so > extension=filter.so > ;extension=suhosin.so > extension=wddx.so > extension=mhash.so > extension=json.so > extension=dom.so > extension=xmlreader.so > extension=exif.so > extension=ncurses.so > extension=gettext.so > extension=ldap.so > extension=pdo.so > extension=soap.so > extension=tidy.so > extension=pdo_sqlite.so > extension=apc.so > extension=readline.so > extension=xsl.so > extension=curl.so > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- | 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 15 20:21: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 1187D1065689 for ; Wed, 15 Oct 2008 20:21:13 +0000 (UTC) (envelope-from clarkp@mtmary.edu) Received: from fear.mtmary.edu (rrcs-74-62-87-82.west.biz.rr.com [74.62.87.82]) by mx1.freebsd.org (Postfix) with ESMTP id E206F8FC16 for ; Wed, 15 Oct 2008 20:21:12 +0000 (UTC) (envelope-from clarkp@mtmary.edu) Received: from [127.0.0.1] (war.mtmary.edu [172.16.0.200]) by fear.mtmary.edu (Postfix) with ESMTP id 979F3539420 for ; Wed, 15 Oct 2008 12:00:51 -0500 (CDT) Message-ID: <48F621C2.8080405@mtmary.edu> Date: Wed, 15 Oct 2008 12:00:50 -0500 From: Peter Clark User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: PF syntax error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 20:21:13 -0000 Hello, I am not sure if I should be here or over at a pf specific list but here is my problem. I am trying my hand at pf on a 7.0-p5 RELEASE box and one rule is giving me problems. pass in quick on $ext_if proto tcp from any to any port 22 flags S/SA \ (max-src-conn 15, max-src-conn-rate 5/3, overload flush global) Actually the "pass in" line does not generate the error. The next line does. /etc/pf.conf:71: syntax error If I remove the line the error goes away (obviously). I have tried using the exact line from the FreeBSD pf.conf man page: (max-src-conn-rate 100/10, overload flush global) (I changed to )and that generates the same error. I tried just using: (max-src-conn-rate 100/10) but that too gives me a syntax error. Any help is appreciated. Peter Clark From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 20: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 674871065697; Wed, 15 Oct 2008 20:30:56 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from parsely.rain.com (parsely.rain.com [199.26.172.196]) by mx1.freebsd.org (Postfix) with ESMTP id 0DDE28FC17; Wed, 15 Oct 2008 20:30:55 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from sopwith.solgatos.com (uucp@localhost) by parsely.rain.com (8.11.4/8.11.4) with UUCP id m9FKUsg21650; Wed, 15 Oct 2008 13:30:54 -0700 (PDT) (envelope-from freebsd@sopwith.solgatos.com) Received: from localhost by sopwith.solgatos.com (8.8.8/6.24) id UAA24285; Wed, 15 Oct 2008 20:28:43 GMT Message-Id: <200810152028.UAA24285@sopwith.solgatos.com> To: freebsd-hardware@FreeBSD.org, freebsd-questions@FreeBSD.org In-reply-to: Your message of "Wed, 15 Oct 2008 11:45:58 PDT." <20081015184558.GA84665@icarus.home.lan> Date: Wed, 15 Oct 2008 13:28:43 +0100 From: Dieter Cc: Subject: Re: RAID 5 - serious problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 20:30:56 -0000 > > My personal approach to avoiding data loss is (a) avoid buggy things like > > inthell and linux. > > Interesting, being as we have another thread going as of late that seems > to link transparent data loss with AMD AM2-based systems with certain > models of Adaptec and possibly LSI Logic controller cards. This is the SCSI with >= 4 GiB thread? Sounds like an address map problem. > I like Intel as much as I like AMD That is your right. Inthell has a long history of buggy products, attempting to hide/ignore bugs, poor customer support, outright theft, etc. AMD isn't perfect, but the list of bad things is far far shorter. And there are other companies to consider besides just inthell and AMD. > -- but it's important to remember that it's > becoming more and more difficult to provide "flawless" stability on > things as the complexities increase. Computers are complex devices and always have been. Yes this makes it difficult to get everything right. Yet it is possible to achieve very high levels of reliability, better than "5 9s". > And I have no idea what your beef is with Linux. The quality is crap. Endless problems, including scrambled data. > If the OP is > successfully able to bring his array on-line using Linux, I would think > that says something about the state of things in FreeBSD, would you > agree? Both OSes have their pros and cons. It says linux got something right that FreeBSD got wrong. I never said that BSD gets *everything* right, or that linux gets *everything* wrong. > > (b) FFS with softdeps and the disk write cache turned off, > > This has been fully discussed by developers, particularly Matt Dillon. > I can point you to a thread discussing why doing this is not only silly, > but a bad idea. And if you'd like, I can show you just how bad the > performance is on disks with WC disabled using UFS2 + softupdates. When > I say bad, I'm serious -- we're talking horrid. And yes, I have tried > it -- see PR 127717 for evidence that I *have* tried it. :-) I am WELL aware of how bad write performance is on disks with the write cache turned off. I get only about 10% of what the hardware can do, and with large files that is very noticeable. :-( But data integrity is important. > > (c) full backups. > > I'm curious what your logic is here too -- this one is debatable, so I'd > like to hear your view. Things go wrong, and when they do backups are useful. The obvious problem is that a backup quickly becomes out of date as data changes. RAID stays current, but doesn't help with accidental file deletions, in cases where the entire machine dies (fire. flood, etc.), and so on. A proper RAID (that actually helps reliability rather than hurting it) plus off site backups gets you pretty close. A RAID with an off site mirror plus off site backups would be about as reliable as you can get. But if the rate of data changes is high the communication charges could be prohibitive. It all comes down to how important your data is and how much money is available. > NCQ will not necessarily improve write performance. I doubt it will help if you have the disk's write cache turned on. I'm pretty sure it will help with write cache turned off. > I believe Andrey Elsukov is working on getting NCQ support working when > AHCI is in use (assuming I remember correctly). I look forward to having NCQ available. Write performance without it is really pathetic. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 20:39: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 6124110656A0 for ; Wed, 15 Oct 2008 20:39:03 +0000 (UTC) (envelope-from erik@cepheid.org) Received: from mail.cepheid.org (aleph.cepheid.org [72.232.60.94]) by mx1.freebsd.org (Postfix) with ESMTP id 472EC8FC2A for ; Wed, 15 Oct 2008 20:39:03 +0000 (UTC) (envelope-from erik@cepheid.org) Received: by mail.cepheid.org (Postfix, from userid 1006) id AA2D09B403B; Wed, 15 Oct 2008 15:39:02 -0500 (CDT) Date: Wed, 15 Oct 2008 15:39:02 -0500 From: Erik Osterholm To: Peter Clark Message-ID: <20081015203902.GA15786@aleph.cepheid.org> References: <48F621C2.8080405@mtmary.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48F621C2.8080405@mtmary.edu> User-Agent: Mutt/1.4.2.3i Cc: FreeBSD Questions Subject: Re: PF syntax error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 20:39:03 -0000 On Wed, Oct 15, 2008 at 12:00:50PM -0500, Peter Clark wrote: > Hello, > > I am not sure if I should be here or over at a pf specific list but here > is my problem. > > I am trying my hand at pf on a 7.0-p5 RELEASE box and one rule is giving > me problems. > > pass in quick on $ext_if proto tcp from any to any port 22 flags S/SA \ > > (max-src-conn 15, max-src-conn-rate 5/3, overload flush > global) > > Actually the "pass in" line does not generate the error. The next line does. > > /etc/pf.conf:71: syntax error > If I remove the line the error goes away (obviously). I have tried using > the exact line from the FreeBSD pf.conf man page: > > (max-src-conn-rate 100/10, overload flush global) > > (I changed to )and that generates the same > error. I tried just using: > (max-src-conn-rate 100/10) > > but that too gives me a syntax error. > > Any help is appreciated. > > Peter Clark The problem seems to be that your rule doesn't have "keep state" in it. I think this is a bug, since state is kept by default in FreeBSD 7.0. Erik From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 20:41: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 5995B1065692 for ; Wed, 15 Oct 2008 20:41:01 +0000 (UTC) (envelope-from stupendoussteve@hotmail.com) Received: from bay0-omc1-s22.bay0.hotmail.com (bay0-omc1-s22.bay0.hotmail.com [65.54.246.94]) by mx1.freebsd.org (Postfix) with ESMTP id 42BCF8FC1F for ; Wed, 15 Oct 2008 20:41:01 +0000 (UTC) (envelope-from stupendoussteve@hotmail.com) Received: from hotmail.com ([207.46.10.244]) by bay0-omc1-s22.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 15 Oct 2008 13:41:00 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 15 Oct 2008 13:41:00 -0700 Message-ID: Received: from 207.46.10.254 by by122fd.bay122.hotmail.msn.com with HTTP; Wed, 15 Oct 2008 20:40:59 GMT X-Originating-IP: [68.225.143.90] X-Originating-Email: [stupendoussteve@hotmail.com] X-Sender: stupendoussteve@hotmail.com From: "Steven Susbauer" To: rock_on_the_web@comcen.com.au Date: Wed, 15 Oct 2008 15:40:59 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 15 Oct 2008 20:41:00.0233 (UTC) FILETIME=[5530A390:01C92F06] Cc: freebsd-questions@freebsd.org Subject: Re: Excuse me- just testing... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 20:41:01 -0000 Da Rock wrote: >Been having trouble posting with a new mail server (only to your server >mind)- just trying sort it out. > >Cheers > Please consider sending these to the freebsd-test mailing list, as it is made for test posts. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 20:54: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 6EC631065687 for ; Wed, 15 Oct 2008 20:54:04 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from lab.alexdupre.com (cl-506.trn-01.it.sixxs.net [IPv6:2001:1418:100:1f9::2]) by mx1.freebsd.org (Postfix) with ESMTP id A26708FC14 for ; Wed, 15 Oct 2008 20:54:03 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: (qmail 18755 invoked from network); 15 Oct 2008 20:54:01 -0000 Received: from unknown (HELO athlon.alexdupre.com) (192.168.178.2) by lab.alexdupre.com with SMTP; 15 Oct 2008 20:54:01 -0000 Message-ID: <48F65868.50709@FreeBSD.org> Date: Wed, 15 Oct 2008 22:54:00 +0200 From: Alex Dupre User-Agent: Thunderbird 2.0.0.17 (X11/20080928) MIME-Version: 1.0 To: Jeremy Chadwick References: <48F62774.2060609@k18.ch> <20081015185509.GB84864@icarus.home.lan> <20081015201454.GB87853@icarus.home.lan> In-Reply-To: <20081015201454.GB87853@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Alain Wolf , freebsd-questions@freebsd.org Subject: Re: [Fwd: Suhosin Segmentation Fault] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 20:54:04 -0000 Jeremy Chadwick wrote: > You are supposed to use one or the other: the patch, or the extension. Nope, they can be used alone or mixed together (I use both on my servers). For a detailed explanation see: http://www.hardened-php.net/suhosin/why.html > I'm CC'ing ale@ on this thread, because he's probably not on -questions, > and this has now become a -ports thing. He can comment on what to do > about these crashes. Compile PHP in debug and post a backtrace. The suhosin author is a FreeBSD committer, so he can surely help solving the problem. > I'm of the opinion that security/php-suhosin should be nuked, especially > if the patch works fine for everyone but the extension causes problems. See above. >> If I disable all other extensions and load only suhosin.so in >> /usr/local/etc/php/extensions.ini the apache processes are still crashing. Apache version? -- Alex Dupre From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 21: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 9382B106568F for ; Wed, 15 Oct 2008 21: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 EC4358FC18; Wed, 15 Oct 2008 21:04:53 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <48F65B18.9050108@FreeBSD.org> Date: Wed, 15 Oct 2008 22:05:28 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Norberto Meijome References: <20081015161633.6287be1e@ayiin> In-Reply-To: <20081015161633.6287be1e@ayiin> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions ML Subject: Re: System lockup when out of space in /usr X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 21:04:54 -0000 Norberto Meijome wrote: > Hi, > FreeBSD ayiin.octantis.com.au 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #94: Wed > Oct 15 09:46:16 EST 2008 > root@ayiin.octantis.com.au:/usr/obj/usr/src/sys/AYIIN i386 > > I've noticed when /usr becomes full (due to a large port build or other > reasons) that my computer becomes completely locked up - frozen. There is no > panic or crash, the system starts becoming more and pegged down - load starts > to climb, then system blocks intermittently for ever longing periods, load > climbs over 30.... and it never comes back from locked-land. > > Other than "don't let the system run out of disk space", is there any other fix? Depends on what the bug is. See the developers handbook for the next steps in getting the debugging information for a developer to analyze. Kris From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 21:05: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 EDF891065690 for ; Wed, 15 Oct 2008 21:05:13 +0000 (UTC) (envelope-from yury.michurin@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 A47D98FC20 for ; Wed, 15 Oct 2008 21:05:13 +0000 (UTC) (envelope-from yury.michurin@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so689276yxb.13 for ; Wed, 15 Oct 2008 14:05: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=o7itREG0HnoxeZbOO/PX2T2CBP/LNy8uJWk9UzoTyJc=; b=fbKyoo2692a12LArUpV92IwrgwDNdz/fD8B7yBc3kvMxUzr8JQDL0/fS7jSOCA5fF3 4iNv6wbOKNym5T/2V8zA+5rje9Ovjou5sNuignhlvMWtFqXvnRSrapadMj2GSnaPOXzk vRlWiPzWixcDGERISRNNew5wk4qwVh82tzk8w= 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=JytHyPGqCEK0mjbx/0N1p7F3rf3Pa0jMvIxxtIkdUoRsTo7bjucWVRZ1nJ/SlBNx5Q NtNYl6GJAY/MMtApAszAWXapqGl4TgOhsq9SojmUkJ7rlR/tZFg0QR/lbHJ8r8j8vAGV 0LNZyv09isGoaTmqDCZqGLuJVGZ2CX2hDAkQI= Received: by 10.100.232.18 with SMTP id e18mr1732062anh.85.1224104712810; Wed, 15 Oct 2008 14:05:12 -0700 (PDT) Received: by 10.100.122.10 with HTTP; Wed, 15 Oct 2008 14:05:12 -0700 (PDT) Message-ID: <692c9a9f0810151405t3e573cfs3fd4d2a801110c89@mail.gmail.com> Date: Wed, 15 Oct 2008 23:05:12 +0200 From: "Yury Michurin" To: "Peter Clark" In-Reply-To: <48F621C2.8080405@mtmary.edu> MIME-Version: 1.0 References: <48F621C2.8080405@mtmary.edu> 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 Subject: Re: PF syntax error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 21:05:14 -0000 Hello, I have in my pf.conf: pass in proto tcp from ! to any port www flags S/SA synproxy state (max-src-conn 20, max-src-conn-rate 30/60, overload flush global) and it seems to work just fine... Regards, Yury. On Wed, Oct 15, 2008 at 7:00 PM, Peter Clark wrote: > Hello, > > I am not sure if I should be here or over at a pf specific list but here is > my problem. > > I am trying my hand at pf on a 7.0-p5 RELEASE box and one rule is giving me > problems. > > pass in quick on $ext_if proto tcp from any to any port 22 flags S/SA \ > (max-src-conn 15, max-src-conn-rate 5/3, overload flush > global) > > Actually the "pass in" line does not generate the error. The next line > does. > > /etc/pf.conf:71: syntax error > If I remove the line the error goes away (obviously). I have tried using > the exact line from the FreeBSD pf.conf man page: > > (max-src-conn-rate 100/10, overload flush global) > > (I changed to )and that generates the same error. I > tried just using: > (max-src-conn-rate 100/10) > > but that too gives me a syntax error. > > Any help is appreciated. > > Peter Clark > > _______________________________________________ > freebsd-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 15 21:16: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 15FAE106569C for ; Wed, 15 Oct 2008 21:16:16 +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 ABB0D8FC16 for ; Wed, 15 Oct 2008 21:16:15 +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 T5Cz1a00N0vyq2s569G38R; Wed, 15 Oct 2008 21:16:03 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA05.westchester.pa.mail.comcast.net with comcast id T9GC1a00K2P6wsM3R9GCft; Wed, 15 Oct 2008 21:16:13 +0000 X-Authority-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=g9VwMlW2UmOAZMy9IbcA:9 a=D43YGB70p-odoum_GFkA:7 a=RUdyj2A5k1khLEVmJlJkA-PRWJ0A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 096CFC9419; Wed, 15 Oct 2008 14:16:11 -0700 (PDT) Date: Wed, 15 Oct 2008 14:16:11 -0700 From: Jeremy Chadwick To: Dieter Message-ID: <20081015211611.GA88511@icarus.home.lan> References: <20081015184558.GA84665@icarus.home.lan> <200810152028.UAA24285@sopwith.solgatos.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200810152028.UAA24285@sopwith.solgatos.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@FreeBSD.org, freebsd-hardware@FreeBSD.org Subject: Re: RAID 5 - serious problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 21:16:16 -0000 On Wed, Oct 15, 2008 at 01:28:43PM +0100, Dieter wrote: > > > My personal approach to avoiding data loss is (a) avoid buggy things like > > > inthell and linux. > > > > Interesting, being as we have another thread going as of late that seems > > to link transparent data loss with AMD AM2-based systems with certain > > models of Adaptec and possibly LSI Logic controller cards. > > This is the SCSI with >= 4 GiB thread? Sounds like an address map > problem. It's the "am2 MBs - 4g + SCSI wipes out root partition" thread. > > I like Intel as much as I like AMD > > That is your right. Inthell has a long history of buggy products, > attempting to hide/ignore bugs, poor customer support, outright > theft, etc. AMD isn't perfect, but the list of bad things is far > far shorter. And there are other companies to consider besides > just inthell and AMD. I'd rather not debate this, as it's off-topic. We can take it up privately if you desire, but keep in mind that my ideal system would be an AMD processor on an Intel chipset board -- but I'll probably be dead by the time that ever happens. Both companies could have much to learn from one another. > > And I have no idea what your beef is with Linux. > > The quality is crap. Endless problems, including scrambled data. I'm not even going to touch this one. > > If the OP is > > successfully able to bring his array on-line using Linux, I would think > > that says something about the state of things in FreeBSD, would you > > agree? Both OSes have their pros and cons. > > It says linux got something right that FreeBSD got wrong. I never said > that BSD gets *everything* right, or that linux gets *everything* > wrong. I don't really consider it an issue of right or wrong; a very different, and unique viewpoint you have! (And I do mean that sincerely) > > > (b) FFS with softdeps and the disk write cache turned off, > > > > This has been fully discussed by developers, particularly Matt Dillon. > > I can point you to a thread discussing why doing this is not only silly, > > but a bad idea. And if you'd like, I can show you just how bad the > > performance is on disks with WC disabled using UFS2 + softupdates. When > > I say bad, I'm serious -- we're talking horrid. And yes, I have tried > > it -- see PR 127717 for evidence that I *have* tried it. :-) > > I am WELL aware of how bad write performance is on disks with the write > cache turned off. I get only about 10% of what the hardware can do, > and with large files that is very noticeable. :-( But data integrity is > important. Your 10% claim is about right. Here's some actual tests I just did (filesystem layer is in the way, but you get the idea): atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f irq 18 at device 31.2 on pci0 ata0: on atapci0 ata0: [ITHREAD] ad0: 114473MB at ata0-master SATA150 testbox# ./atacontrol cap ad0 | grep write write cache yes yes testbox# dd if=/dev/zero of=/usr/testfile bs=1m count=1024 1024+0 records in 1024+0 records out 1073741824 bytes transferred in 20.199726 secs (53156257 bytes/sec) testbox# ./atacontrol wc ad0 off testbox# ./atacontrol cap ad0 | grep write write cache yes no testbox# dd if=/dev/zero of=/usr/testfile bs=1m count=1024 1024+0 records in 1024+0 records out 1073741824 bytes transferred in 155.745314 secs (6894216 bytes/sec) That's about 13% of the full capability. No administrator in their right mind is going to disable WC unless the disks are behind some form of controller that does caching. (For NCQ stuff, see below.) As for the reading material: http://lists.freebsd.org/pipermail/freebsd-stable/2008-September/045495.html http://lists.freebsd.org/pipermail/freebsd-stable/2008-September/045542.html > > > (c) full backups. > > > > I'm curious what your logic is here too -- this one is debatable, so I'd > > like to hear your view. > > Things go wrong, and when they do backups are useful. The obvious problem > is that a backup quickly becomes out of date as data changes. RAID stays > current, but doesn't help with accidental file deletions, in cases > where the entire machine dies (fire. flood, etc.), and so on. A proper > RAID (that actually helps reliability rather than hurting it) plus > off site backups gets you pretty close. A RAID with an off site mirror > plus off site backups would be about as reliable as you can get. But if > the rate of data changes is high the communication charges could be > prohibitive. It all comes down to how important your data is and how > much money is available. Ah sorry, I misinterpreted what you wrote! For some reason I thought you were advocating *not* performing full level-0 backups. :-) > > NCQ will not necessarily improve write performance. > > I doubt it will help if you have the disk's write cache turned on. > I'm pretty sure it will help with write cache turned off. One thing I haven't tested or experimented with is disabling write caching on a drive that has NCQ. Since FreeBSD lacks NCQ right now, we could test this on Linux to see what the I/O difference is (I'm talking purely from a dd or bonnie++ perspective). I can do said testing if need be (on Linux, with disks that do NCQ). > > I believe Andrey Elsukov is working on getting NCQ support working when > > AHCI is in use (assuming I remember correctly). > > I look forward to having NCQ available. Write performance without it > is really pathetic. Hearing you on FM! -- | 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 15 21:23: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 E5FD51065699 for ; Wed, 15 Oct 2008 21:23:01 +0000 (UTC) (envelope-from clarkp@mtmary.edu) Received: from fear.mtmary.edu (rrcs-74-62-87-82.west.biz.rr.com [74.62.87.82]) by mx1.freebsd.org (Postfix) with ESMTP id BFA008FC0C for ; Wed, 15 Oct 2008 21:23:01 +0000 (UTC) (envelope-from clarkp@mtmary.edu) Received: from [127.0.0.1] (war.mtmary.edu [172.16.0.200]) by fear.mtmary.edu (Postfix) with ESMTP id 80D9F4F6A3A; Wed, 15 Oct 2008 16:23:00 -0500 (CDT) Message-ID: <48F65F33.9060200@mtmary.edu> Date: Wed, 15 Oct 2008 16:22:59 -0500 From: Peter Clark User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Yury Michurin References: <48F621C2.8080405@mtmary.edu> <692c9a9f0810151405t3e573cfs3fd4d2a801110c89@mail.gmail.com> In-Reply-To: <692c9a9f0810151405t3e573cfs3fd4d2a801110c89@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: PF syntax error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 21:23:02 -0000 Yury Michurin wrote: > Hello, > I have in my pf.conf: > pass in proto tcp from ! to any port www flags S/SA synproxy > state (max-src-conn 20, max-src-conn-rate 30/60, overload > flush global) > > and it seems to work just fine... > > Regards, > Yury. > > On Wed, Oct 15, 2008 at 7:00 PM, Peter Clark > wrote: > > Hello, > > I am not sure if I should be here or over at a pf specific list but > here is my problem. > > I am trying my hand at pf on a 7.0-p5 RELEASE box and one rule is > giving me problems. > > pass in quick on $ext_if proto tcp from any to any port 22 flags S/SA \ > (max-src-conn 15, max-src-conn-rate 5/3, overload > flush global) > > Actually the "pass in" line does not generate the error. The next > line does. > > /etc/pf.conf:71: syntax error > If I remove the line the error goes away (obviously). I have tried > using the exact line from the FreeBSD pf.conf man page: > > (max-src-conn-rate 100/10, overload flush global) > > (I changed to )and that generates the same > error. I tried just using: > (max-src-conn-rate 100/10) > > but that too gives me a syntax error. > > Any help is appreciated. > > Peter Clark > > _______________________________________________ > freebsd-questions@freebsd.org > mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org > " > > It is because I do not have a "keep state" directive in mine. I took it out because the pf 4.1 default is "flags S/SA keep state". Yours works because you have the synproxy state directive. Thanks, Peter Clark From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 22: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 B403610656A0 for ; Wed, 15 Oct 2008 22:09:33 +0000 (UTC) (envelope-from lists@rhavenn.net) Received: from smtp114.sat.emailsrvr.com (smtp114.sat.emailsrvr.com [66.216.121.114]) by mx1.freebsd.org (Postfix) with ESMTP id 920758FC13 for ; Wed, 15 Oct 2008 22:09:33 +0000 (UTC) (envelope-from lists@rhavenn.net) Received: from relay1.relay.sat.mlsrvr.com (localhost [127.0.0.1]) by relay1.relay.sat.mlsrvr.com (SMTP Server) with ESMTP id 8F90D260EF1; Wed, 15 Oct 2008 18:09:32 -0400 (EDT) Received: by relay1.relay.sat.mlsrvr.com (Authenticated sender: rhavenn-AT-rhavenn.net) with ESMTP id 959C4261017; Wed, 15 Oct 2008 18:08:05 -0400 (EDT) From: Henrik Hudson To: freebsd-questions@freebsd.org Date: Wed, 15 Oct 2008 14:07:56 -0800 User-Agent: KMail/1.10.1 (FreeBSD/7.1-PRERELEASE; KDE/4.1.1; i386; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810151407.57113.lists@rhavenn.net> Cc: "Davenport, Steve M" Subject: Re: new install sunfire v100 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, 15 Oct 2008 22:09:33 -0000 On Wednesday 15 October 2008, "Davenport, Steve M" sent a missive stating: > I'm installing 7.0-RELEASE on a Sun Sunfire v100 server. I was able to > boot the cd, and install through cd one. There is no framebuffer on the > v100 (vt100 serial console interface only) so the install would not > proceed past the first disk. I want to use this system as a nameserver > and was able to download Bind 9.3.5-P2, compile, and run. My questions > are: > > 1) Can I manually complete the install process for items on CDs 2&3? You only need CD1 for a basic server. Bind is part of the base system, so you don't need to download it. You can remove it (see src.conf and build world) and use the ports system to install Bind from ports. 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 15 22:24:57 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 CF85C106568B for ; Wed, 15 Oct 2008 22:24:57 +0000 (UTC) (envelope-from dg@dglawrence.com) Received: from dglawrence.com (unknown [75.148.92.17]) by mx1.freebsd.org (Postfix) with ESMTP id A770B8FC3F for ; Wed, 15 Oct 2008 22:24:57 +0000 (UTC) (envelope-from dg@dglawrence.com) Received: from tnn.dglawrence.com (localhost [127.0.0.1]) by dglawrence.com (8.14.1/8.14.1) with ESMTP id m9FMOvYE020853; Wed, 15 Oct 2008 15:24:57 -0700 (PDT) (envelope-from dg@dglawrence.com) Received: (from dg@localhost) by tnn.dglawrence.com (8.14.1/8.14.1/Submit) id m9FMOuSj020852; Wed, 15 Oct 2008 15:24:56 -0700 (PDT) (envelope-from dg@dglawrence.com) X-Authentication-Warning: tnn.dglawrence.com: dg set sender to dg@dglawrence.com using -f Date: Wed, 15 Oct 2008 15:24:56 -0700 From: David G Lawrence To: "Guest, Michelle" Message-ID: <20081015222456.GO86263@tnn.dglawrence.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (dglawrence.com [127.0.0.1]); Wed, 15 Oct 2008 15:24:57 -0700 (PDT) Cc: questions@FreeBSD.org Subject: Re: Breach of Contract Reported for FREEBSD.ORG X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 22:24:57 -0000 > Dear Customer, > > > > It has been brought to our attention that some or all of the information > associated with your domain name FREEBSD.ORG is outdated or incorrect. > These types of complaints are brought to our attention in one of two > ways. > > > > The most common type of complaint is received from the Internet > Corporation for Assigned Names and Numbers (ICANN). ICANN is the > non-profit corporation responsible for accrediting domain name > registrars. ICANN requires domain name registration customers to keep > their account information current. ICANN mandates that outdated contact > information can be grounds for domain name cancellation. Michelle, The registration information for freebsd.org is correct. The only thing that is out of date is one of the email addresses (dg@root.com), which I have tried to change, but have been unable to due to a problem with the Network Solutions website. I don't know who reported that the information was incorrect, but they are mistaken. I will additionally follow up in the other ways mentioned in your message. -DG Dr. David G. Lawrence President Download Technologies, Inc. - http://www.downloadtech.com - (866) 399 8500 Pave the road of life with opportunities. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 23:06: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 A2AB61065689 for ; Wed, 15 Oct 2008 23:06:21 +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 538148FC1A for ; Wed, 15 Oct 2008 23:06:20 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: (qmail 84247 invoked by uid 60001); 15 Oct 2008 23:06: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=0GeXoEbaOkOPpMUm+4LwnhgW0SOikwm5lhUmwC5ZteWmEI85xsP7xfpk2TAXU0ZNxNiUN0xsS6z4CmUDOhZw4TS0kXKDFM6ywON3drFKPMc5ZATwH98ySi09rnlNHpdK4RViVHTNiJZhZ5PRgJjfKGcTSnm1XTabvrrGcoikpj0=; X-YMail-OSG: 2haYFrYVM1mGiWpvb2LE6goabqFac.R2PK8UxEtjAkSEuX_WHlpEw004vPOUwZrnAoaSaJObKmF8eBAejDaLZscQnJgz7_V39ybOLuj93t3y0kFK3M33QKG4uco1laavxM1CNt3lcuA2XrQYRCU7qoADoA-- Received: from [71.61.220.126] by web56806.mail.re3.yahoo.com via HTTP; Wed, 15 Oct 2008 16:06:20 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Wed, 15 Oct 2008 16:06:20 -0700 (PDT) From: mdh To: freebsd-questions@freebsd.org, "Davenport, Steve M" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <468945.84188.qm@web56806.mail.re3.yahoo.com> Cc: Subject: Re: new install sunfire v100 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: Wed, 15 Oct 2008 23:06:21 -0000 --- On Wed, 10/15/08, Davenport, Steve M wrote: > From: Davenport, Steve M > Subject: new install sunfire v100 > To: freebsd-questions@freebsd.org > Date: Wednesday, October 15, 2008, 1:53 PM > I'm installing 7.0-RELEASE on a Sun Sunfire v100 server. > I was able to > boot the cd, and install through cd one. There is no > framebuffer on the > v100 (vt100 serial console interface only) so the install > would not > proceed past the first disk. I want to use this system as a > nameserver > and was able to download Bind 9.3.5-P2, compile, and run. > My questions > are: > > 1) Can I manually complete the install process for items on > CDs 2&3? > > 2) In the /var/log/messages I see: > > Oct 9 19:50:53 steve3 kernel: acd0: CDRW > at ata3-slave > PIO4 > Oct 9 19:50:53 steve3 kernel: acd0: FAILURE - READ_BIG > MEDIUM ERROR > asc=0x11 as > cq=0x00 > Oct 9 19:50:53 steve3 kernel: GEOM_LABEL: Label for > provider acd0 is > iso9660/Fr > eeBSD_Install. > Oct 9 19:50:53 steve3 kernel: acd0: FAILURE - READ_BIG > MEDIUM ERROR > asc=0x11 as > cq=0x00 > > What is causing these cd errors? > > Thanks for your assistance! Hi Steve, With regards to the install, the second and third CDs only include packages. You can just as easily run `sysinstall` from the command line while logged in as root and install additional packages from an HTTP or FTP server over the net, or use the CDs if they work alright. Above and beyond that, you can also just (I prefer this, myself) build the software you want from ports and skip binary packages entirely for the most part. If your CD drive is functioning as you expect, those syslog errors can probably be safely ignored. If the issue is in fact causing problems with reading CDs, you can perform your install of the additional packages via the net, and perhaps we can deal with the CD issue - unfortunately, I've never used a non-SCSI SPARC64 box with FreeBSD, so I don't know if I'll personally be able to help you too much there, but surely some folks here or on the sparc64 list would. As an aside, you may want to consider signing up for the FreeBSD sparc64 mailing list. - mdh From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 23:58: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 CA1F81065692 for ; Wed, 15 Oct 2008 23:58:43 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.187]) by mx1.freebsd.org (Postfix) with ESMTP id 1620E8FC24 for ; Wed, 15 Oct 2008 23:58:42 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by ti-out-0910.google.com with SMTP id d27so1632068tid.3 for ; Wed, 15 Oct 2008 16:58:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:date:from :to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=EfFAk8mtg1ONcAo2TiIk630/lJhynVm1Bem6KGF8N+g=; b=K8ZG/85llKCsOFO8meG/Nbo3aMMCNFxH67tuoQL284OR+AIzibRvjeYe6IbGdwKDXZ oC+hO82JMubLgo0ef4HLEYMgNOmKL9OQAEWY09lN0jOnammjDUFfqjfGSs4j+sa25BBO /6oturAsgrELmBe3cOGvR2M4zFzFkUVLIJiUA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=gWrw0ylzHdkBeGUGANwa+5oVnby6/CbWKtDK/Sr5n10A79woEpYl4R0fsecbIxnQpB FyM85h05P31DryiM+EYyN3G7vFiPpjWnytOI1PM2jp3J8EpJziO2Dgdajvo4NoNQwA6B xzJvFrLoshqH5IScxQ9SszPyy1K8YBglY7xTs= Received: by 10.110.69.5 with SMTP id r5mr1336463tia.17.1224115121652; Wed, 15 Oct 2008 16:58:41 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ([211.53.35.84]) by mx.google.com with ESMTPS id u8sm690299tia.8.2008.10.15.16.58.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 15 Oct 2008 16:58:39 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id m9FNueEZ023096 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 16 Oct 2008 08:56:40 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id m9FNuctO023095; Thu, 16 Oct 2008 08:56:38 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Thu, 16 Oct 2008 08:56:38 +0900 From: Pyun YongHyeon To: Aniruddha Message-ID: <20081015235638.GA22992@cdnetworks.co.kr> References: <1224054780.4011.20.camel@debian> <20081015072630.GA70901@icarus.home.lan> <1224069478.4247.7.camel@debian> <20081015113101.GA76278@icarus.home.lan> <20081015120911.GI14769@cdnetworks.co.kr> <1224080661.5407.2.camel@debian> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="AqsLC8rIMeq19msA" Content-Disposition: inline In-Reply-To: <1224080661.5407.2.camel@debian> User-Agent: Mutt/1.4.2.1i Cc: Jeremy Chadwick , freebsd-questions@FreeBSD.org Subject: Re: Under heavy load internet gets killed, only a reboot can bring it back up X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 23:58:44 -0000 --AqsLC8rIMeq19msA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Oct 15, 2008 at 04:24:21PM +0200, Aniruddha wrote: > On Wed, 2008-10-15 at 21:09 +0900, PYUN Yong-Hyeon wrote: > > This controller is known to buggy one. See below. > > > > [...] > > > > > > Trying to mount root from ufs:/dev/ad16s3a > > > > WARNING: / was not properly dismounted > > > > GEOM_LABEL: Label ext2fs/home removed. > > > > GEOM_LABEL: Label ext2fs/data removed. > > > > mskc0: Uncorrectable PCI Express error > > > > mskc0: Uncorrectable PCI Express error > > > > > > Those errors at the end of your dmesg don't look good; could be the sign > > > of a NIC or motherboard that's going bad, or possibly a very strange > > > driver problem. > > > > I guess the message above could be safely ignored. > > > > > > > > Adding Yong-Hyeon PYUN to this thread, since he helps maintain the > > > msk(4) driver. Yong-Hyeon, do you know of any conditions where heavy > > > network I/O could cause msk(4) to lock up or stop transmitting traffic, > > > or possibly hard-lock on ifconfig down/up? > > > > > > > I think workaround for the controller bug was committed to HEAD(SVN > > r183346). To original poster, would you try latest if_msk.c from > > HEAD?(Just copy if_msk.c/if_mskreg.h from HEAD to your box.) > > > > You got to help me a little bit here. How do I achieve this? Btw I am > running FreeBSD 7.1 BETA. Doesn't that mean the fix is already applied? > It seems that msk(4) in HEAD does not build correctly on RELENG_7. Try attached patch. Save attached patch to /path/to/patch #cd /usr/src/sys/dev/msk #patch -p0 < /path/to/patch/msk.watchdog.diff And rebuild your kernel. -- Regards, Pyun YongHyeon --AqsLC8rIMeq19msA Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="msk.watchdog.diff" Index: if_msk.c =================================================================== --- if_msk.c (revision 183165) +++ if_msk.c (working copy) @@ -244,6 +244,9 @@ static int msk_handle_events(struct msk_softc *); static void msk_handle_hwerr(struct msk_if_softc *, uint32_t); static void msk_intr_hwerr(struct msk_softc *); +#ifndef __NO_STRICT_ALIGNMENT +static __inline void msk_fixup_rx(struct mbuf *); +#endif static void msk_rxeof(struct msk_if_softc *, uint32_t, int); static void msk_jumbo_rxeof(struct msk_if_softc *, uint32_t, int); static void msk_txeof(struct msk_if_softc *, int); @@ -783,7 +786,12 @@ return (ENOBUFS); m->m_len = m->m_pkthdr.len = MCLBYTES; - m_adj(m, ETHER_ALIGN); + if ((sc_if->msk_flags & MSK_FLAG_RAMBUF) == 0) + m_adj(m, ETHER_ALIGN); +#ifndef __NO_STRICT_ALIGNMENT + else + m_adj(m, MSK_RX_BUF_ALIGN); +#endif if (bus_dmamap_load_mbuf_sg(sc_if->msk_cdata.msk_rx_tag, sc_if->msk_cdata.msk_rx_sparemap, m, segs, &nsegs, @@ -840,7 +848,12 @@ return (ENOBUFS); } m->m_pkthdr.len = m->m_len = MSK_JLEN; - m_adj(m, ETHER_ALIGN); + if ((sc_if->msk_flags & MSK_FLAG_RAMBUF) == 0) + m_adj(m, ETHER_ALIGN); +#ifndef __NO_STRICT_ALIGNMENT + else + m_adj(m, MSK_RX_BUF_ALIGN); +#endif if (bus_dmamap_load_mbuf_sg(sc_if->msk_cdata.msk_jumbo_rx_tag, sc_if->msk_cdata.msk_jumbo_rx_sparemap, m, segs, &nsegs, @@ -1041,14 +1054,16 @@ { int next; int i; - uint8_t val; /* Get adapter SRAM size. */ - val = CSR_READ_1(sc, B2_E_0); - sc->msk_ramsize = (val == 0) ? 128 : val * 4; + sc->msk_ramsize = CSR_READ_1(sc, B2_E_0) * 4; if (bootverbose) device_printf(sc->msk_dev, "RAM buffer size : %dKB\n", sc->msk_ramsize); + if (sc->msk_ramsize == 0) + return (0); + + sc->msk_pflags |= MSK_FLAG_RAMBUF; /* * Give receiver 2/3 of memory and round down to the multiple * of 1024. Tx/Rx RAM buffer size of Yukon II shoud be multiple @@ -1412,6 +1427,7 @@ sc_if->msk_if_dev = dev; sc_if->msk_port = port; sc_if->msk_softc = sc; + sc_if->msk_flags = sc->msk_pflags; sc->msk_if[port] = sc_if; /* Setup Tx/Rx queue register offsets. */ if (port == MSK_PORT_A) { @@ -1976,6 +1992,7 @@ struct msk_rxdesc *jrxd; struct msk_jpool_entry *entry; uint8_t *ptr; + bus_size_t rxalign; int error, i; mtx_init(&sc_if->msk_jlist_mtx, "msk_jlist_mtx", NULL, MTX_DEF); @@ -2107,9 +2124,16 @@ goto fail; } + rxalign = 1; + /* + * Workaround hardware hang which seems to happen when Rx buffer + * is not aligned on multiple of FIFO word(8 bytes). + */ + if ((sc_if->msk_flags & MSK_FLAG_RAMBUF) != 0) + rxalign = MSK_RX_BUF_ALIGN; /* Create tag for Rx buffers. */ error = bus_dma_tag_create(sc_if->msk_cdata.msk_parent_tag,/* parent */ - 1, 0, /* alignment, boundary */ + rxalign, 0, /* alignment, boundary */ BUS_SPACE_MAXADDR, /* lowaddr */ BUS_SPACE_MAXADDR, /* highaddr */ NULL, NULL, /* filter, filterarg */ @@ -2918,6 +2942,23 @@ return (0); } +#ifndef __NO_STRICT_ALIGNMENT +static __inline void +msk_fixup_rx(struct mbuf *m) +{ + int i; + uint16_t *src, *dst; + + src = mtod(m, uint16_t *); + dst = src - 3; + + for (i = 0; i < (m->m_len / sizeof(uint16_t) + 1); i++) + *dst++ = *src++; + + m->m_data -= (MSK_RX_BUF_ALIGN - ETHER_ALIGN); +} +#endif + static void msk_rxeof(struct msk_if_softc *sc_if, uint32_t status, int len) { @@ -2955,6 +2996,10 @@ } m->m_pkthdr.rcvif = ifp; m->m_pkthdr.len = m->m_len = len; +#ifndef __NO_STRICT_ALIGNMENT + if ((sc_if->msk_flags & MSK_FLAG_RAMBUF) != 0) + msk_fixup_rx(m); +#endif ifp->if_ipackets++; /* Check for VLAN tagged packets. */ if ((status & GMR_FS_VLAN) != 0 && @@ -3008,6 +3053,10 @@ } m->m_pkthdr.rcvif = ifp; m->m_pkthdr.len = m->m_len = len; +#ifndef __NO_STRICT_ALIGNMENT + if ((sc_if->msk_flags & MSK_FLAG_RAMBUF) != 0) + msk_fixup_rx(m); +#endif ifp->if_ipackets++; /* Check for VLAN tagged packets. */ if ((status & GMR_FS_VLAN) != 0 && @@ -3677,7 +3726,7 @@ /* Configure hardware VLAN tag insertion/stripping. */ msk_setvlan(sc_if, ifp); - if (sc->msk_hw_id == CHIP_ID_YUKON_EC_U) { + if ((sc_if->msk_flags & MSK_FLAG_RAMBUF) == 0) { /* Set Rx Pause threshould. */ CSR_WRITE_1(sc, MR_ADDR(sc_if->msk_port, RX_GMF_LP_THR), MSK_ECU_LLPP); @@ -3790,6 +3839,8 @@ int ltpp, utpp; sc = sc_if->msk_softc; + if ((sc_if->msk_flags & MSK_FLAG_RAMBUF) == 0) + return; /* Setup Rx Queue. */ CSR_WRITE_1(sc, RB_ADDR(sc_if->msk_rxq, RB_CTRL), RB_RST_CLR); Index: if_mskreg.h =================================================================== --- if_mskreg.h (revision 183165) +++ if_mskreg.h (working copy) @@ -2158,6 +2158,7 @@ #define MSK_TX_RING_CNT 256 #define MSK_RX_RING_CNT 256 +#define MSK_RX_BUF_ALIGN 8 #define MSK_JUMBO_RX_RING_CNT MSK_RX_RING_CNT #define MSK_STAT_RING_CNT ((1 + 3) * (MSK_TX_RING_CNT + MSK_RX_RING_CNT)) #define MSK_MAXTXSEGS 32 @@ -2307,6 +2308,7 @@ uint32_t msk_coppertype; uint32_t msk_intrmask; uint32_t msk_intrhwemask; + uint32_t msk_pflags; int msk_suspended; int msk_clock; int msk_msi; @@ -2348,6 +2350,8 @@ int msk_phytype; int msk_phyaddr; int msk_link; + uint32_t msk_flags; +#define MSK_FLAG_RAMBUF 0x0010 struct callout msk_tick_ch; int msk_watchdog_timer; uint32_t msk_txq; /* Tx. Async Queue offset */ --AqsLC8rIMeq19msA-- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 00:00: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 E91D01065678; Thu, 16 Oct 2008 00:00:55 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from parsely.rain.com (parsely.rain.com [199.26.172.196]) by mx1.freebsd.org (Postfix) with ESMTP id 696288FC29; Thu, 16 Oct 2008 00:00:55 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from sopwith.solgatos.com (uucp@localhost) by parsely.rain.com (8.11.4/8.11.4) with UUCP id m9G00sJ21945; Wed, 15 Oct 2008 17:00:54 -0700 (PDT) (envelope-from freebsd@sopwith.solgatos.com) Received: from localhost by sopwith.solgatos.com (8.8.8/6.24) id XAA23954; Wed, 15 Oct 2008 23:53:18 GMT Message-Id: <200810152353.XAA23954@sopwith.solgatos.com> To: freebsd-hardware@FreeBSD.org, freebsd-questions@FreeBSD.org In-reply-to: Your message of "Wed, 15 Oct 2008 14:16:11 PDT." <20081015211611.GA88511@icarus.home.lan> Date: Wed, 15 Oct 2008 16:53:18 +0100 From: Dieter Cc: Subject: Re: RAID 5 - serious problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 00:00:56 -0000 > > > I like Intel as much as I like AMD > > > > That is your right. Inthell has a long history of buggy products, > > attempting to hide/ignore bugs, poor customer support, outright > > theft, etc. AMD isn't perfect, but the list of bad things is far > > far shorter. And there are other companies to consider besides > > just inthell and AMD. > > I'd rather not debate this, as it's off-topic. We can take it up > privately if you desire, but keep in mind that my ideal system would be > an AMD processor on an Intel chipset board -- but I'll probably be dead > by the time that ever happens. Both companies could have much to learn > from one another. Inthell apparently has some good fab people. If they were a designless fab house they might not be on my black list. > No administrator in their > right mind is going to disable WC unless the disks are behind some form > of controller that does caching. (For NCQ stuff, see below.) The only setup I have found that doesn't lose data is FFS+softdep+WC off. So you think I am insane for wanting to not lose data? > > > NCQ will not necessarily improve write performance. > > > > I doubt it will help if you have the disk's write cache turned on. > > I'm pretty sure it will help with write cache turned off. > > One thing I haven't tested or experimented with is disabling write > caching on a drive that has NCQ. Since FreeBSD lacks NCQ right now, we > could test this on Linux to see what the I/O difference is (I'm talking > purely from a dd or bonnie++ perspective). The filesystem may be significant, and last time I looked, linux didn't support FFS r/w. I read something indicating that recent disks do NCQ much better than earlier ones, so "NCQ support" isn't binary. This, and people testing NCQ with the write cache on, could explain the results where NCQ doesn't help. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 00:02: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 A61C91065688 for ; Thu, 16 Oct 2008 00:02:03 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from mail.unitedinsong.com.au (202-172-126-254.cpe.qld-1.comcen.com.au [202.172.126.254]) by mx1.freebsd.org (Postfix) with ESMTP id 614348FC1E for ; Thu, 16 Oct 2008 00:02:03 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [192.168.0.185]) by mail.unitedinsong.com.au (Postfix) with ESMTP id A2FA34056 for ; Thu, 16 Oct 2008 10:02:11 +1000 (EST) From: Da Rock To: freebsd-questions@freebsd.org In-Reply-To: <20081014150109.GB8023@gizmo.acns.msu.edu> References: <48F43EB1.40304@gmail.com> <20081014095228.P92028@wojtek.tensor.gdynia.pl> <20081014150109.GB8023@gizmo.acns.msu.edu> Content-Type: text/plain Date: Thu, 16 Oct 2008 10:04:29 +1000 Message-Id: <1224115469.3458.37.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 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: Thu, 16 Oct 2008 00:02:03 -0000 > Unless the question is as broad as 'how do I learn about FreeBSD' it > is worthwhile to help the person aim that shotgun or exchange it > for a rifle. Interesting analogy- I like it :) From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 00:13: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 3FCA81065688 for ; Thu, 16 Oct 2008 00:13:22 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from mail.unitedinsong.com.au (202-172-126-254.cpe.qld-1.comcen.com.au [202.172.126.254]) by mx1.freebsd.org (Postfix) with ESMTP id DD64A8FC0A for ; Thu, 16 Oct 2008 00:13:21 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [192.168.0.185]) by mail.unitedinsong.com.au (Postfix) with ESMTP id E1F344056 for ; Thu, 16 Oct 2008 10:13:30 +1000 (EST) From: Da Rock To: freebsd-questions@freebsd.org In-Reply-To: <20081015111026.GA75598@icarus.home.lan> References: <48F43EB1.40304@gmail.com> <20081014101733.GA47158@icarus.home.lan> <1224067248.3458.34.camel@laptop1.herveybayaustralia.com.au> <20081015111026.GA75598@icarus.home.lan> Content-Type: text/plain Date: Thu, 16 Oct 2008 10:15:49 +1000 Message-Id: <1224116149.3458.39.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 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: Thu, 16 Oct 2008 00:13:22 -0000 On Wed, 2008-10-15 at 04:10 -0700, Jeremy Chadwick wrote: > On Wed, Oct 15, 2008 at 08:40:48PM +1000, Da Rock wrote: > > > > On Tue, 2008-10-14 at 06:46 -0400, Michael Powell wrote: > > > Jeremy Chadwick wrote: > > > > > > > On Tue, Oct 14, 2008 at 04:55:11AM -0400, Michael Powell wrote: > > > [snip] > > > >> Next, you will want to configure your FreeBSD machine as a NAT gateway. > > > >> In your /etc/rc.conf you will want something like gateway_enable="YES" > > > >> and some form of firewall initialization[1]. The gateway_enable is what > > > >> allows the forwarding of packets between your rl0 and your rl1, but the > > > >> activation of NAT functionality is usually a function contained within a > > > >> firewall. So conceptually, the firewall will be "in between" rl0 and rl1. > > > >> > > > >> There are three different firewalls you can choose from. Configuring the > > > >> firewall is usually where the inexperienced get stuck. This subject > > > >> material is beyond the scope of this missive, and you would do well to > > > >> start reading in the Handbook. But essentially, when you configure NAT in > > > >> the firewall your rl0 (connected to the ISP) will be assigned a "Public" > > > >> IP address and the NAT function will translate between "Public" and > > > >> "Private". > > > > > > With respect to "NAT", the caveat here is the assumption that your DSL/Cable > > > modem is *not* already performing NAT. The situation you do not want to get > > > into is having *two* NATs. The content herein is assuming that the external > > > (rl0) interface is getting assigned a "Public" IP from the ISP. > > > > > > > If this is the case wouldn't the OP set router_enable=YES instead of > > gateway? > > No. router_enable causes routed(8) to run, which allows for > announcements and withdraws of network routes via RIPv1/v2. This is > something completely different than forwarding packets. > > What the OP wants is to route packets from his private LAN (e.g. > 192.168.0.0/16) on to the Internet using NAT. That means he has to have > a NAT gateway of some kind that forwards and translates packets. That > means he needs gateway_enable="yes", which allows IPv4 forwarding > to happen "through" the FreeBSD box. In layman's terms, it allows > the FreeBSD box to be used a "Gateway" for other computers which > are connected to it directly. > Ok, then. So it would be gateway_enable, but no nat_enable? (To avoid double nat'ing) From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 00:48: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 80489106569A for ; Thu, 16 Oct 2008 00:48:40 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from mail.unitedinsong.com.au (202-172-126-254.cpe.qld-1.comcen.com.au [202.172.126.254]) by mx1.freebsd.org (Postfix) with ESMTP id 3DF288FC0C for ; Thu, 16 Oct 2008 00:48:40 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [192.168.0.185]) by mail.unitedinsong.com.au (Postfix) with ESMTP id 04FC24056 for ; Thu, 16 Oct 2008 10:48:48 +1000 (EST) From: Da Rock To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Thu, 16 Oct 2008 10:51:07 +1000 Message-Id: <1224118267.3458.62.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit Subject: Virtual mail and 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: Thu, 16 Oct 2008 00:48:40 -0000 Before I go off rashly and join another mailing list or two, might I enquire here regarding the difference between virtual alias' and virtual mailboxes from mailman's point of view? I've been googling, but I'm as confused as ever... What I have is vmailboxes on postfix (with a courier frontend) and I want to setup a mailing list server for at least some of the domains postfix is hosting. According to mailman docs it will only use virtual alias' to run. Based on my current configuration (which I'd like to keep for simplicity), how do I reconcile this? From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 01:09: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 D9C361065696 for ; Thu, 16 Oct 2008 01:09:25 +0000 (UTC) (envelope-from nazir.haron@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id 931EA8FC17 for ; Thu, 16 Oct 2008 01:09:25 +0000 (UTC) (envelope-from nazir.haron@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so939102qwb.7 for ; Wed, 15 Oct 2008 18:09:24 -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=chkjRmKkYgT1SbE2ZbCK3ma3t6KyFbi/moCsPLjh8DU=; b=BrriTLiWjg8o6/QoBk3UNatD833/2THVcmmPOfLTmpl8T/aUNbxSzA2Vzn/YOLXvFC J+FDcbbXKMX1icpvzM8f5sp2bTsFHsCwkuTNBo3JN8gyR6nYllWMhD1tnFmH15RWEM3f gyt8whyTmLF6vrR4Z+/nIMNH4BQBiOsb4GRa4= 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=pFKA+qX4brLel7If+cmkBL3X0VDDYiugY2NKTbZyWDm9ro8/Iop0J8D6YmQcsq5iyy wuTwjGkO1BNY4ihKAB5z2AYBGEhvSn0wH7OqNQwKBCeS76Oo3ihZS5L0J5BDi+trX4jb vQMVQHNSJXqWi96hbWmkc1IjfspI4Yv1d2BYE= Received: by 10.215.41.10 with SMTP id t10mr2076195qaj.62.1224117865568; Wed, 15 Oct 2008 17:44:25 -0700 (PDT) Received: by 10.215.40.12 with HTTP; Wed, 15 Oct 2008 17:44:25 -0700 (PDT) Message-ID: <9af66ccb0810151744m6dc9176cxcadecae2939ee05f@mail.gmail.com> Date: Thu, 16 Oct 2008 08:44:25 +0800 From: nazir 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: Interrupt storm detected on "irq10:"; throttling interrupt source X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 01:09:25 -0000 Hi, I'm getting these on my HP-DL165 AMD Quad Qore interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source interrupt storm detected on "irq10:"; throttling interrupt source # uname -a FreeBSD intra.umt 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 # sysctl hw.model hw.model: Quad-Core AMD Opteron(tm) Processor 2352 please advise ...TQ From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 01:13: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 16A0B1065687 for ; Thu, 16 Oct 2008 01:13:14 +0000 (UTC) (envelope-from jontheil@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 DB80C8FC14 for ; Thu, 16 Oct 2008 01:13:13 +0000 (UTC) (envelope-from jontheil@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so2868921wfg.7 for ; Wed, 15 Oct 2008 18:13: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=zH6SKf+Fz3I/1Ac44cE5KXm59gIP7izFBOEkgMNNl7Y=; b=URyo5UU9lr4/pTR/5GlPd7dlE6FApnXRJ+muZUZyGhorLqiPzCe3qq7nJaX5xQLFgT BjmYm04q4OSmkcR6lxmUfYhKR3SfEuc9ClVG9Q6sawhMu5IJb/w6n1+nQ89vKCn0It6j 3u+0Q6qXGCJliW5vKLirKTMJT98FnYOA7vH/M= 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=UcPyp7b+3YXAeU+y9Pt2KD7bky3RfpAgQ5rsa72xWXVQJLiHtPRDXVTB3QTwqepqbu 3ri29xTVFaBUT5JFS20q4HxGorP7yAtHWA64Q0I3SVItXfilKzsPjHe+c/0qYwEYYnRb Hr6sh4CivceICrCQA5yWgPdQImjU2XEzqXrso= Received: by 10.142.52.9 with SMTP id z9mr659154wfz.201.1224119593196; Wed, 15 Oct 2008 18:13:13 -0700 (PDT) Received: by 10.142.166.7 with HTTP; Wed, 15 Oct 2008 18:13:13 -0700 (PDT) Message-ID: <8f82c35c0810151813p3f31f5bfx50a15da190e9f37a@mail.gmail.com> Date: Thu, 16 Oct 2008 03:13:13 +0200 From: "Jon Theil Nielsen" To: "Nejc Skoberne" In-Reply-To: <48F624AC.3070208@skoberne.net> MIME-Version: 1.0 References: <8f82c35c0810150532o52ae50b5kef7c685fd23a0af4@mail.gmail.com> <48F624AC.3070208@skoberne.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: User Questions Subject: Re: RAID 5 - serious problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 01:13:14 -0000 2008/10/15 Nejc Skoberne > Hello, > > > the drives to the other machine and try to make them online again. Do you > > think I should try? > > If I were you, I would first buy/get a XXX GB SATA drive, create a > filesystem there > and copy all three disks block-by-block as three separate files (which will > be > the size of the disks). This way you'll still have the backup of your > screwed up > drives somewhere in case something goes even more wrong. > > However, I don't think your data is *physically* lost. I am almost sure > that it > is still on that drives, only the metadata could be fscked up. Now how to > get the > data back is another thing. In worst case scenario you could analyze the > specification of the metadata format for you controller and then write a C > program > which would somehow put the bits together again using syscalls. > > Bye, > Nejc > Hi again, There are a lot of interesting statements and arguments in this thread. I am impressed. But you have to understand that I am not a very advanced user of FreeBSD and especially Linux. So I have to try to keep it simple. Thanks to the low dollar course and the technological development, I think it is reasonable for me to buy an extra disk just to try to fix my problems. Actually, a 300 GB Raptor will do. And then I can install some Linux flavour (which one should I prefer) to copy the contents of my "sick" disks bit-by-bit. And then I can somehow try to bring the disks back online again. Could you please spell it out for me, which tools I should use for that? My board has both the Intel controller and a Marvell one. Can I just keep the disks on the Intel one and disregard the offline status (if I understand you right, I might lose all metadata if I try to change anything)? AFAIK, the discussion of hardware vs. software RAID has been going on for a very long time. And it really seems to be complicated. I recognise the argument of having to stick with the same hardware. At the same time, it seems at little pessimistic that a lot of people will end up with lots of useless disks because the vendors decide to cut backward compatability. I don't know. Best regards, Jon From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 01:17: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 D7F391065689 for ; Thu, 16 Oct 2008 01:17:57 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: from web56804.mail.re3.yahoo.com (web56804.mail.re3.yahoo.com [66.196.97.78]) by mx1.freebsd.org (Postfix) with SMTP id 68A0F8FC28 for ; Thu, 16 Oct 2008 01:17:57 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: (qmail 75097 invoked by uid 60001); 16 Oct 2008 01:17:56 -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=BnTvn01mxUDuhZtMoaEsJaRZy4D5giLuFh6UuvAp4CdPb199VmR7tVSb/a/BLHHRE6wBhQCaqz5uk2TZnq/fAS7kyQP3FMp7H4XRRKuykshtEO/rc/66YzJ5kYk+4F3yc37urZTjZStAl+0a270ICLA/h6/+m+ifsBRl8GejeCc=; X-YMail-OSG: zO54OAIVM1n6qNth4EnpeoVMklReL6OE1eVMbC_oFSqCauZR35mleh38kf1GXGDFkzPqi4Bc2YbYTJTNNAmOhmYVHOPm3g.8U9b6uBZXtFmG4a9GumQmcrSH0R4UnpRi_YfNzhFn9p6qyg4HoSJWJ1SupbX_RfybR3Tw8cFi38Rnp3kjmBVp32MCsFi54g-- Received: from [71.61.220.126] by web56804.mail.re3.yahoo.com via HTTP; Wed, 15 Oct 2008 18:17:56 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Wed, 15 Oct 2008 18:17:56 -0700 (PDT) From: mdh To: freebsd-questions@freebsd.org, nazir In-Reply-To: <9af66ccb0810151744m6dc9176cxcadecae2939ee05f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <581062.74286.qm@web56804.mail.re3.yahoo.com> Cc: Subject: Re: Interrupt storm detected on "irq10:"; throttling interrupt source 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, 16 Oct 2008 01:17:57 -0000 --- On Wed, 10/15/08, nazir wrote: > From: nazir > Subject: Interrupt storm detected on "irq10:"; throttling interrupt source > To: freebsd-questions@freebsd.org > Date: Wednesday, October 15, 2008, 8:44 PM > Hi, > > I'm getting these on my HP-DL165 AMD Quad Qore > > interrupt storm detected on "irq10:"; throttling > interrupt source What is on IRQ 10? You can determine this via the command: `dmesg |grep irq` then look for the line for IRQ 10 which specifies what device is there. It could be a driver problem, or it could be that the hardware there is bunk. - mdh From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 04:19: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 D2295106568E for ; Thu, 16 Oct 2008 04:19:22 +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 B221A8FC18 for ; Thu, 16 Oct 2008 04:19:22 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA03.emeryville.ca.mail.comcast.net ([76.96.30.27]) by QMTA01.emeryville.ca.mail.comcast.net with comcast id T7oB1a00P0b6N64A1GKNST; Thu, 16 Oct 2008 04:19:22 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA03.emeryville.ca.mail.comcast.net with comcast id TGKM1a0032P6wsM8PGKMF5; Thu, 16 Oct 2008 04:19:22 +0000 X-Authority-Analysis: v=1.0 c=1 a=Hhtsdv2kQ0QA:10 a=7q5sDk5WlpcA:10 a=QycZ5dHgAAAA:8 a=uHt_XG2qWOF7c5bA2hUA:9 a=3xxnsENx8-Bkb3epgF8A:7 a=ULfUgGqJzHsGvZncnlM5JUiYY10A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 1814BC9419; Wed, 15 Oct 2008 21:19:21 -0700 (PDT) Date: Wed, 15 Oct 2008 21:19:21 -0700 From: Jeremy Chadwick To: Da Rock Message-ID: <20081016041921.GA99978@icarus.home.lan> References: <48F43EB1.40304@gmail.com> <20081014101733.GA47158@icarus.home.lan> <1224067248.3458.34.camel@laptop1.herveybayaustralia.com.au> <20081015111026.GA75598@icarus.home.lan> <1224116149.3458.39.camel@laptop1.herveybayaustralia.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1224116149.3458.39.camel@laptop1.herveybayaustralia.com.au> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 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: Thu, 16 Oct 2008 04:19:23 -0000 On Thu, Oct 16, 2008 at 10:15:49AM +1000, Da Rock wrote: > > On Wed, 2008-10-15 at 04:10 -0700, Jeremy Chadwick wrote: > > On Wed, Oct 15, 2008 at 08:40:48PM +1000, Da Rock wrote: > > > > > > On Tue, 2008-10-14 at 06:46 -0400, Michael Powell wrote: > > > > Jeremy Chadwick wrote: > > > > > > > > > On Tue, Oct 14, 2008 at 04:55:11AM -0400, Michael Powell wrote: > > > > [snip] > > > > >> Next, you will want to configure your FreeBSD machine as a NAT gateway. > > > > >> In your /etc/rc.conf you will want something like gateway_enable="YES" > > > > >> and some form of firewall initialization[1]. The gateway_enable is what > > > > >> allows the forwarding of packets between your rl0 and your rl1, but the > > > > >> activation of NAT functionality is usually a function contained within a > > > > >> firewall. So conceptually, the firewall will be "in between" rl0 and rl1. > > > > >> > > > > >> There are three different firewalls you can choose from. Configuring the > > > > >> firewall is usually where the inexperienced get stuck. This subject > > > > >> material is beyond the scope of this missive, and you would do well to > > > > >> start reading in the Handbook. But essentially, when you configure NAT in > > > > >> the firewall your rl0 (connected to the ISP) will be assigned a "Public" > > > > >> IP address and the NAT function will translate between "Public" and > > > > >> "Private". > > > > > > > > With respect to "NAT", the caveat here is the assumption that your DSL/Cable > > > > modem is *not* already performing NAT. The situation you do not want to get > > > > into is having *two* NATs. The content herein is assuming that the external > > > > (rl0) interface is getting assigned a "Public" IP from the ISP. > > > > > > > > > > If this is the case wouldn't the OP set router_enable=YES instead of > > > gateway? > > > > No. router_enable causes routed(8) to run, which allows for > > announcements and withdraws of network routes via RIPv1/v2. This is > > something completely different than forwarding packets. > > > > What the OP wants is to route packets from his private LAN (e.g. > > 192.168.0.0/16) on to the Internet using NAT. That means he has to have > > a NAT gateway of some kind that forwards and translates packets. That > > means he needs gateway_enable="yes", which allows IPv4 forwarding > > to happen "through" the FreeBSD box. In layman's terms, it allows > > the FreeBSD box to be used a "Gateway" for other computers which > > are connected to it directly. > > > > Ok, then. So it would be gateway_enable, but no nat_enable? (To avoid > double nat'ing) Do you mean firewall_nat_enable, natd_enable, or ipnat_enable? :-) See /etc/defaults/rc.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 Thu Oct 16 04:20: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 73F91106568E for ; Thu, 16 Oct 2008 04:20:36 +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 575028FC1A for ; Thu, 16 Oct 2008 04:20:36 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA10.emeryville.ca.mail.comcast.net ([76.96.30.28]) by QMTA06.emeryville.ca.mail.comcast.net with comcast id T2PG1a0020cQ2SLA6GLcUg; Thu, 16 Oct 2008 04:20:36 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA10.emeryville.ca.mail.comcast.net with comcast id TGLb1a0012P6wsM8WGLbB0; Thu, 16 Oct 2008 04:20:35 +0000 X-Authority-Analysis: v=1.0 c=1 a=jZemg1V_6RIA:10 a=PpqVLYGAXNgA:10 a=QycZ5dHgAAAA:8 a=Knrj-BhaSw8NqxjaHcAA:9 a=lLVlWKl54qYa4xopQ2wMCNYUKyIA:4 a=EoioJ0NPDVgA:10 a=MSl-tDqOz04A:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id E9179C9419; Wed, 15 Oct 2008 21:20:34 -0700 (PDT) Date: Wed, 15 Oct 2008 21:20:34 -0700 From: Jeremy Chadwick To: mdh Message-ID: <20081016042034.GB99978@icarus.home.lan> References: <9af66ccb0810151744m6dc9176cxcadecae2939ee05f@mail.gmail.com> <581062.74286.qm@web56804.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <581062.74286.qm@web56804.mail.re3.yahoo.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: nazir , freebsd-questions@freebsd.org Subject: Re: Interrupt storm detected on "irq10:"; throttling interrupt source X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 04:20:36 -0000 On Wed, Oct 15, 2008 at 06:17:56PM -0700, mdh wrote: > --- On Wed, 10/15/08, nazir wrote: > > From: nazir > > Subject: Interrupt storm detected on "irq10:"; throttling interrupt source > > To: freebsd-questions@freebsd.org > > Date: Wednesday, October 15, 2008, 8:44 PM > > Hi, > > > > I'm getting these on my HP-DL165 AMD Quad Qore > > > > interrupt storm detected on "irq10:"; throttling > > interrupt source > > What is on IRQ 10? You can determine this via the command: > `dmesg |grep irq` then look for the line for IRQ 10 which specifies what device is there. It could be a driver problem, or it could be that the hardware there is bunk. > - mdh vmstat -i output would also come in handy here. -- | 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 16 05:02: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 9AEF010656A2 for ; Thu, 16 Oct 2008 05:02:11 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from mail.unitedinsong.com.au (202-172-126-254.cpe.qld-1.comcen.com.au [202.172.126.254]) by mx1.freebsd.org (Postfix) with ESMTP id 087F48FC1C for ; Thu, 16 Oct 2008 05:02:10 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [192.168.0.185]) by mail.unitedinsong.com.au (Postfix) with ESMTP id 2D7E74056 for ; Thu, 16 Oct 2008 15:02:18 +1000 (EST) From: Da Rock To: freebsd-questions@freebsd.org In-Reply-To: <20081016041921.GA99978@icarus.home.lan> References: <48F43EB1.40304@gmail.com> <20081014101733.GA47158@icarus.home.lan> <1224067248.3458.34.camel@laptop1.herveybayaustralia.com.au> <20081015111026.GA75598@icarus.home.lan> <1224116149.3458.39.camel@laptop1.herveybayaustralia.com.au> <20081016041921.GA99978@icarus.home.lan> Content-Type: text/plain Date: Thu, 16 Oct 2008 15:04:37 +1000 Message-Id: <1224133478.3458.86.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 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: Thu, 16 Oct 2008 05:02:11 -0000 On Wed, 2008-10-15 at 21:19 -0700, Jeremy Chadwick wrote: > On Thu, Oct 16, 2008 at 10:15:49AM +1000, Da Rock wrote: > > > > On Wed, 2008-10-15 at 04:10 -0700, Jeremy Chadwick wrote: > > > On Wed, Oct 15, 2008 at 08:40:48PM +1000, Da Rock wrote: > > > > > > > > On Tue, 2008-10-14 at 06:46 -0400, Michael Powell wrote: > > > > > Jeremy Chadwick wrote: > > > > > > > > > > > On Tue, Oct 14, 2008 at 04:55:11AM -0400, Michael Powell wrote: > > > > > [snip] > > > > > >> Next, you will want to configure your FreeBSD machine as a NAT gateway. > > > > > >> In your /etc/rc.conf you will want something like gateway_enable="YES" > > > > > >> and some form of firewall initialization[1]. The gateway_enable is what > > > > > >> allows the forwarding of packets between your rl0 and your rl1, but the > > > > > >> activation of NAT functionality is usually a function contained within a > > > > > >> firewall. So conceptually, the firewall will be "in between" rl0 and rl1. > > > > > >> > > > > > >> There are three different firewalls you can choose from. Configuring the > > > > > >> firewall is usually where the inexperienced get stuck. This subject > > > > > >> material is beyond the scope of this missive, and you would do well to > > > > > >> start reading in the Handbook. But essentially, when you configure NAT in > > > > > >> the firewall your rl0 (connected to the ISP) will be assigned a "Public" > > > > > >> IP address and the NAT function will translate between "Public" and > > > > > >> "Private". > > > > > > > > > > With respect to "NAT", the caveat here is the assumption that your DSL/Cable > > > > > modem is *not* already performing NAT. The situation you do not want to get > > > > > into is having *two* NATs. The content herein is assuming that the external > > > > > (rl0) interface is getting assigned a "Public" IP from the ISP. > > > > > > > > > > > > > If this is the case wouldn't the OP set router_enable=YES instead of > > > > gateway? > > > > > > No. router_enable causes routed(8) to run, which allows for > > > announcements and withdraws of network routes via RIPv1/v2. This is > > > something completely different than forwarding packets. > > > > > > What the OP wants is to route packets from his private LAN (e.g. > > > 192.168.0.0/16) on to the Internet using NAT. That means he has to have > > > a NAT gateway of some kind that forwards and translates packets. That > > > means he needs gateway_enable="yes", which allows IPv4 forwarding > > > to happen "through" the FreeBSD box. In layman's terms, it allows > > > the FreeBSD box to be used a "Gateway" for other computers which > > > are connected to it directly. > > > > > > > Ok, then. So it would be gateway_enable, but no nat_enable? (To avoid > > double nat'ing) > > Do you mean firewall_nat_enable, natd_enable, or ipnat_enable? :-) > See /etc/defaults/rc.conf. > Actually I'm not sure... I'm just an innocent bystander :) Throughout the thread there was mention of enabling nat in the rc.conf, so whichever that was... My consideration was just in general. Someone mentioned enabling nat, another said don't double nat, so I thought routed would be better. But it seems routed is not the way to go, but to keep gateway_enable: question remains as to whether to use nat or not (I suppose in any form; but if you can enlighten me with regard if one form of nat is better than another especially in the case of double nat then I'd appreciate the information). The main reason I'm bring up this issue is to clarify (and possibly the OP will then get a better picture too) of precisely how to accomplish the result required. And maybe increase my knowledge of the subject too :) thats always a good thing. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 05:22: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 043EC1065694 for ; Thu, 16 Oct 2008 05:22:19 +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 A3AE58FC12 for ; Thu, 16 Oct 2008 05:22:18 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: (qmail 93292 invoked by uid 60001); 16 Oct 2008 05:22:17 -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=cooC40LA/8iG8lXK9pF/pUWgGxsW9uEm49u9BEVuwq31uK9ZxjJ9EG7pr5Yp0HiusOtqLGAb5QQvG6r6DbGXeMuiNdRatjwOQbMch94aC15+TqUmfDVOPbzaP4TyBtXXT/2ftyWxjscXbqqYSU0xuQ1qkr9xnRMxpCLaWGS01Pk=; X-YMail-OSG: MxkWCJQVM1lWFb3_XQlFd6CgXIsNAk1wSygGc94gA3PZYqFeFK8pVmg.FHpSr8zwawS1kOdEtnNRq_GYwapr98OtK22pDocNcoe1582_5yLCDGDZa6g6RZEV9KGXaMun2gWFjfEePQetbHKTFF2XU1bUOg-- Received: from [71.61.220.126] by web56806.mail.re3.yahoo.com via HTTP; Wed, 15 Oct 2008 22:22:17 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Wed, 15 Oct 2008 22:22:17 -0700 (PDT) From: mdh To: freebsd-questions@freebsd.org, Da Rock In-Reply-To: <1224133478.3458.86.camel@laptop1.herveybayaustralia.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <831334.93256.qm@web56806.mail.re3.yahoo.com> Cc: Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 system 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, 16 Oct 2008 05:22:19 -0000 --- On Thu, 10/16/08, Da Rock wrote: > From: Da Rock > Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 system > To: freebsd-questions@freebsd.org > Date: Thursday, October 16, 2008, 1:04 AM > > Actually I'm not sure... I'm just an > innocent bystander :) > > Throughout the thread there was mention of enabling nat in > the rc.conf, > so whichever that was... > > My consideration was just in general. Someone mentioned > enabling nat, > another said don't double nat, so I thought routed > would be better. But > it seems routed is not the way to go, but to keep > gateway_enable: > question remains as to whether to use nat or not (I suppose > in any form; > but if you can enlighten me with regard if one form of nat > is better > than another especially in the case of double nat then > I'd appreciate > the information). > > The main reason I'm bring up this issue is to clarify > (and possibly the > OP will then get a better picture too) of precisely how to > accomplish > the result required. And maybe increase my knowledge of the > subject > too :) thats always a good thing. Essentially, you need three things to accomplish nat'ing via the way I'm going to describe. There're several ways to do it, but I'll only cover one here, because to describe others, I'd need to go look up docs, which you're more than welcome to do for yourself if you don't like the way I'm going to touch on. First, you need gateway_enable set to yes in /etc/rc.conf. This is universally true regardless of which method you use for nat'ing. What this does is instruct the kernel that it has multiple interfaces, and that it must pass packets across them, acting as a router. This has nothing to do with various route discovery protocols, it only sets a sysctl which tells the kernel to route packets across multiple interfaces. The default behavior is for the kernel not to do so. Second, you'll need some way for your NAT to get packets. In some cases, the NAT method is built into the way that it gets packets. With the way I'm discussing here, it's not. In this case, we'll use `ipfw`. You'll need a kernel that supports ipfw for this to work, obviously. The rule you'll need should look something like this: divert 8668 ip4 from any to any via sis0 Where sis0 is your EXTERNAL network interface (ie, the one facing your cable modem, modem, or whatever else.) The command to add this should look something like: `ipfw add divert 8668 ip4 from any to any via ` where rule number is the rule number you'll use (it should be a low one!) and interface is your external-facing network interface device. Third, you'll need natd itself. natd can be enabled via - you guessed it - the rc.conf variable natd_enable. That's not all, though. You'll also need to (in rc.conf) set natd_interface to the interface you specified in the firewall rule, and you'll almost certainly want to set natd_flags to "-u". So all in all, you'll need the ipfw rule, ipfw enabled in your kernel, and the following lines in rc.conf: gateway_enable="YES" natd_program="/sbin/natd" natd_enable="YES" natd_interface="sis0" natd_flags="-u" You may also need to run dhclient or somesuch to get an address from your ISP, but that's a whole other story. Enjoy. - mdh From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 06:28: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 F41361065695 for ; Thu, 16 Oct 2008 06:28:18 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from mail.unitedinsong.com.au (202-172-126-254.cpe.qld-1.comcen.com.au [202.172.126.254]) by mx1.freebsd.org (Postfix) with ESMTP id 7AF9B8FC19 for ; Thu, 16 Oct 2008 06:28:17 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [192.168.0.185]) by mail.unitedinsong.com.au (Postfix) with ESMTP id 68AD34056 for ; Thu, 16 Oct 2008 16:28:26 +1000 (EST) From: Da Rock To: freebsd-questions@freebsd.org In-Reply-To: <831334.93256.qm@web56806.mail.re3.yahoo.com> References: <831334.93256.qm@web56806.mail.re3.yahoo.com> Content-Type: text/plain Date: Thu, 16 Oct 2008 16:30:44 +1000 Message-Id: <1224138644.3458.97.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 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: Thu, 16 Oct 2008 06:28:19 -0000 On Wed, 2008-10-15 at 22:22 -0700, mdh wrote: > --- On Thu, 10/16/08, Da Rock wrote: > > From: Da Rock > > Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 system > > To: freebsd-questions@freebsd.org > > Date: Thursday, October 16, 2008, 1:04 AM > > > > Actually I'm not sure... I'm just an > > innocent bystander :) > > > > Throughout the thread there was mention of enabling nat in > > the rc.conf, > > so whichever that was... > > > > My consideration was just in general. Someone mentioned > > enabling nat, > > another said don't double nat, so I thought routed > > would be better. But > > it seems routed is not the way to go, but to keep > > gateway_enable: > > question remains as to whether to use nat or not (I suppose > > in any form; > > but if you can enlighten me with regard if one form of nat > > is better > > than another especially in the case of double nat then > > I'd appreciate > > the information). > > > > The main reason I'm bring up this issue is to clarify > > (and possibly the > > OP will then get a better picture too) of precisely how to > > accomplish > > the result required. And maybe increase my knowledge of the > > subject > > too :) thats always a good thing. > > Essentially, you need three things to accomplish nat'ing via the way I'm going to describe. There're several ways to do it, but I'll only cover one here, because to describe others, I'd need to go look up docs, which you're more than welcome to do for yourself if you don't like the way I'm going to touch on. > > First, you need gateway_enable set to yes in /etc/rc.conf. This is universally true regardless of which method you use for nat'ing. What this does is instruct the kernel that it has multiple interfaces, and that it must pass packets across them, acting as a router. This has nothing to do with various route discovery protocols, it only sets a sysctl which tells the kernel to route packets across multiple interfaces. The default behavior is for the kernel not to do so. > > Second, you'll need some way for your NAT to get packets. In some cases, the NAT method is built into the way that it gets packets. With the way I'm discussing here, it's not. In this case, we'll use `ipfw`. You'll need a kernel that supports ipfw for this to work, obviously. The rule you'll need should look something like this: > divert 8668 ip4 from any to any via sis0 > Where sis0 is your EXTERNAL network interface (ie, the one facing your cable modem, modem, or whatever else.) The command to add this should look something like: `ipfw add divert 8668 ip4 from any to any via ` where rule number is the rule number you'll use (it should be a low one!) and interface is your external-facing network interface device. > > Third, you'll need natd itself. natd can be enabled via - you guessed it - the rc.conf variable natd_enable. That's not all, though. You'll also need to (in rc.conf) set natd_interface to the interface you specified in the firewall rule, and you'll almost certainly want to set natd_flags to "-u". > > So all in all, you'll need the ipfw rule, ipfw enabled in your kernel, and the following lines in rc.conf: > gateway_enable="YES" > natd_program="/sbin/natd" > natd_enable="YES" > natd_interface="sis0" > natd_flags="-u" > > You may also need to run dhclient or somesuch to get an address from your ISP, but that's a whole other story. > Enjoy. > > - mdh Been there, done that before (at the time I was merely fumbling, but I have greater experience now)... interesting point in that is the fact that natd_enable tells the kernel to pass packets between interfaces. I'm assuming the problem with double nat'ing is the confusion in packet traffic. So if the OP is using his ADSL modem to connect to the net, then it could be safe to assume the public IP would be to the modem itself, and not his box (barring the possible use of USB), so then the nat'ing would already be done. Therefore, the best and easiest way would be to simply bridge his interfaces- correct? Less overheads, etc, plus simplicity of setup. Oh I love a good hypothetical- it lets me experiment with systems without touching anything or breaking it :) The fact that someone else might build on their knowledge is just a cherry on top. I've not come across another list that so freely shares knowledge... its great! From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 07:23: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 CBF501065688 for ; Thu, 16 Oct 2008 07:23:34 +0000 (UTC) (envelope-from nazir.haron@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 7DA1F8FC30 for ; Thu, 16 Oct 2008 07:23:34 +0000 (UTC) (envelope-from nazir.haron@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so977539qwb.7 for ; Thu, 16 Oct 2008 00:23: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:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=+wsEaADhrXgYKfaYVh8W1godGEkZUDJ7MwYHyJ/ovT4=; b=T5SFw4wsNLyLaHYc9nBotx6ZSqwBpaiIkYOzYCATwrModuV+adgXJE1B1WJZQ2b84f PP8dhnhMHX/SvKkl2MT7hzQJgEAGaQUm5cmH2tmQcFg++j5JBt+jCEHRz4Mx+lRnVrlg PQL8YB1yRF7hM9qKgUUugsdLLoXojwZj28ZDA= 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=DRCO3S0YrLGvrpWcErFWCFbFJS8zdJG3rtLYR/xzqNDx66BpoPMEdl5kNxxdZcJSjC RKxAHZo+NkM6+7Ie0xjPgKBvS+D4fc94ru8J5IBI+2fF+N7/GDVX5py3M7QyRnR1kd0Z a652mAn6q1ruIA9Do3dA2dcBg/Rp3wwZdKtHU= Received: by 10.214.44.17 with SMTP id r17mr2560415qar.0.1224141813767; Thu, 16 Oct 2008 00:23:33 -0700 (PDT) Received: by 10.215.40.12 with HTTP; Thu, 16 Oct 2008 00:23:33 -0700 (PDT) Message-ID: <9af66ccb0810160023k6b804628ubcd907301083cd93@mail.gmail.com> Date: Thu, 16 Oct 2008 15:23:33 +0800 From: nazir To: freebsd-questions@freebsd.org In-Reply-To: <20081016042034.GB99978@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9af66ccb0810151744m6dc9176cxcadecae2939ee05f@mail.gmail.com> <581062.74286.qm@web56804.mail.re3.yahoo.com> <20081016042034.GB99978@icarus.home.lan> Subject: Re: Interrupt storm detected on "irq10:"; throttling interrupt source X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 07:23:34 -0000 On Thu, Oct 16, 2008 at 12:20 PM, Jeremy Chadwick wrote: > On Wed, Oct 15, 2008 at 06:17:56PM -0700, mdh wrote: >> --- On Wed, 10/15/08, nazir wrote: >> > From: nazir >> > Subject: Interrupt storm detected on "irq10:"; throttling interrupt source >> > To: freebsd-questions@freebsd.org >> > Date: Wednesday, October 15, 2008, 8:44 PM >> > Hi, >> > >> > I'm getting these on my HP-DL165 AMD Quad Qore >> > >> > interrupt storm detected on "irq10:"; throttling >> > interrupt source >> >> What is on IRQ 10? You can determine this via the command: >> `dmesg |grep irq` then look for the line for IRQ 10 which specifies what device is there. It could be a driver problem, or it could be that the hardware there is bunk. >> - mdh > > vmstat -i output would also come in handy here. # vmstat -i interrupt total rate irq1: atkbd0 30 0 irq10: ohci0 ohci+ 8265418 989 irq33: mpt0 49348 5 irq40: bge0 75482 9 cpu0: timer 16431874 1968 cpu2: timer 16424530 1967 cpu3: timer 16424557 1967 cpu1: timer 16424557 1967 cpu4: timer 16424556 1967 cpu6: timer 16424540 1967 cpu7: timer 16424521 1967 cpu5: timer 16424556 1967 Total 139793969 16743 > -- > | 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 16 07:29: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 03D4510656A8 for ; Thu, 16 Oct 2008 07:29:39 +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 9FDB68FC23 for ; Thu, 16 Oct 2008 07:29:38 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA08.westchester.pa.mail.comcast.net ([76.96.62.12]) by QMTA04.westchester.pa.mail.comcast.net with comcast id TKV41a0010Fqzac54KVeYt; Thu, 16 Oct 2008 07:29:38 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA08.westchester.pa.mail.comcast.net with comcast id TKVd1a0012P6wsM3UKVdyL; Thu, 16 Oct 2008 07:29:38 +0000 X-Authority-Analysis: v=1.0 c=1 a=jZemg1V_6RIA:10 a=PpqVLYGAXNgA:10 a=QycZ5dHgAAAA:8 a=3kg9sH3CsEoqbTw-mA4A:9 a=AWH0_U6nUyLCVBb-7PZgqROe9-wA:4 a=EoioJ0NPDVgA:10 a=SV7veod9ZcQA:10 a=MSl-tDqOz04A:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id D2BD7C9419; Thu, 16 Oct 2008 00:29:36 -0700 (PDT) Date: Thu, 16 Oct 2008 00:29:36 -0700 From: Jeremy Chadwick To: nazir Message-ID: <20081016072936.GA3574@icarus.home.lan> References: <9af66ccb0810151744m6dc9176cxcadecae2939ee05f@mail.gmail.com> <581062.74286.qm@web56804.mail.re3.yahoo.com> <20081016042034.GB99978@icarus.home.lan> <9af66ccb0810160023k6b804628ubcd907301083cd93@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9af66ccb0810160023k6b804628ubcd907301083cd93@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Interrupt storm detected on "irq10:"; throttling interrupt source X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 07:29:39 -0000 On Thu, Oct 16, 2008 at 03:23:33PM +0800, nazir wrote: > On Thu, Oct 16, 2008 at 12:20 PM, Jeremy Chadwick wrote: > > On Wed, Oct 15, 2008 at 06:17:56PM -0700, mdh wrote: > >> --- On Wed, 10/15/08, nazir wrote: > >> > From: nazir > >> > Subject: Interrupt storm detected on "irq10:"; throttling interrupt source > >> > To: freebsd-questions@freebsd.org > >> > Date: Wednesday, October 15, 2008, 8:44 PM > >> > Hi, > >> > > >> > I'm getting these on my HP-DL165 AMD Quad Qore > >> > > >> > interrupt storm detected on "irq10:"; throttling > >> > interrupt source > >> > >> What is on IRQ 10? You can determine this via the command: > >> `dmesg |grep irq` then look for the line for IRQ 10 which specifies what device is there. It could be a driver problem, or it could be that the hardware there is bunk. > >> - mdh > > > > vmstat -i output would also come in handy here. > > # vmstat -i > interrupt total rate > irq1: atkbd0 30 0 > irq10: ohci0 ohci+ 8265418 989 > irq33: mpt0 49348 5 > irq40: bge0 75482 9 > cpu0: timer 16431874 1968 > cpu2: timer 16424530 1967 > cpu3: timer 16424557 1967 > cpu1: timer 16424557 1967 > cpu4: timer 16424556 1967 > cpu6: timer 16424540 1967 > cpu7: timer 16424521 1967 > cpu5: timer 16424556 1967 > Total 139793969 16743 Can you provide full output of "dmesg"? It appears you have an OCHI USB controller that is going crazy with interrupts, but there may be more devices attached to IRQ 10 which could be responsible (I think that's what the "+" indicates). -- | 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 16 07:39: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 E72B31065693 for ; Thu, 16 Oct 2008 07:39:40 +0000 (UTC) (envelope-from numardbsd@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.182]) by mx1.freebsd.org (Postfix) with ESMTP id AB24E8FC2B for ; Thu, 16 Oct 2008 07:39:40 +0000 (UTC) (envelope-from numardbsd@gmail.com) Received: by wa-out-1112.google.com with SMTP id n4so1943941wag.27 for ; Thu, 16 Oct 2008 00:39:40 -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:in-reply-to:references:x-mailer:face:mime-version :content-type:content-transfer-encoding; bh=CbHhDURCVkwM80lPnbswsV2UTDTEcvhp9fcuw4ErrP4=; b=IDxgdljPH0GBXMgfXX2D3DP6y/6amTISscD3G4WHwb+c96HhIMgHbazSPCRBF7QiD5 tTumRVLnhKYlMPnG7fz3b214AB1TrGky4TnHf0F3IbiZmfcexX5MDgVwPSrI+ZVrdJ6A m4JGF1VwwWF0cmZrhEglLxcbya/any5pT71xg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :face:mime-version:content-type:content-transfer-encoding; b=n0NDSWQMlypjdMljvSETr1RYioDBceE6JITlNTHkPAt7n7x2bmw6KlWjAVFwhHhYmt aFo+8nOXAW9Eh+vib6gQRpBk1itx0dDc2+QPVlyBYdMVElrML578hXp36ypegLCashMG mLO8XSOpDCNJna+3AlXbiDuJz/n/Z9A9FgyCs= Received: by 10.114.168.1 with SMTP id q1mr1820294wae.72.1224141037872; Thu, 16 Oct 2008 00:10:37 -0700 (PDT) Received: from ayiin ([203.38.191.178]) by mx.google.com with ESMTPS id m17sm3198981waf.35.2008.10.16.00.10.35 (version=SSLv3 cipher=RC4-MD5); Thu, 16 Oct 2008 00:10:37 -0700 (PDT) Date: Thu, 16 Oct 2008 18:10:30 +1100 From: Norberto Meijome To: freebsdemail@gmail.com, FreeBSD Questions ML Message-ID: <20081016181030.44e343fa@ayiin> In-Reply-To: <978500223-1224051251-cardhu_decombobulator_blackberry.rim.net-4456903-@bxe112.bisx.prod.on.blackberry> References: <20081015161633.6287be1e@ayiin> <978500223-1224051251-cardhu_decombobulator_blackberry.rim.net-4456903-@bxe112.bisx.prod.on.blackberry> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.1) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: Re: System lockup when out of space in /usr X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 07:39:41 -0000 On Wed, 15 Oct 2008 06:14:24 +0000 freebsdemail@gmail.com wrote: > I personally have /usr/ports and /usr/src on their own "partitions". Easy to > do and prevents lockups. right ... still doesn't solve my problem . > Where is /usr currently mounted, on root(/)? standard disk layout - /usr is a separate mount on / /dev/ad0s1a on / (ufs, local, noatime) devfs on /dev (devfs, local) /dev/ad0s1e on /tmp (ufs, local, noatime, soft-updates) /dev/ad0s1f on /usr (ufs, local, noatime, soft-updates) /dev/ad0s1d on /var (ufs, local, noatime, soft-updates) procfs on /proc (procfs, local) linprocfs on /usr/compat/linux/proc (linprocfs, local) devfs on /var/named/dev (devfs, local) /dev/md12.eli on /usr/home/betom/_2 (ufs, local, noatime, soft-updates) /dev/md11.eli on /usr/home/betom/_3 (ufs, local, noatime, soft-updates) /dev/md13.eli on /usr/home/betom/_1 (ufs, local, noatime, soft-updates) IIRC, it may also have happened when one of the GELI disks got full... B _________________________ {Beto|Norberto|Numard} Meijome "Build a system that even a fool can use, and only a fool will want to use it." George Bernard Shaw I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 07:51: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 9619C1065686 for ; Thu, 16 Oct 2008 07:51:18 +0000 (UTC) (envelope-from peo@intersonic.se) Received: from neonpark.inter-sonic.com (neonpark.inter-sonic.com [212.247.8.98]) by mx1.freebsd.org (Postfix) with ESMTP id 5FAEC8FC12 for ; Thu, 16 Oct 2008 07:51:18 +0000 (UTC) (envelope-from peo@intersonic.se) X-Virus-Scanned: amavisd-new at BSDLabs AB Message-ID: <48F6EDF2.4070109@intersonic.se> Date: Thu, 16 Oct 2008 09:32:02 +0200 From: Per olof Ljungmark Organization: Intersonic AB User-Agent: Thunderbird 2.0.0.16 (X11/20080927) MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: FreeBSD and Nagios - permissions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 07:51:18 -0000 Hi, I'm implementing a shell script as a Nagios plugin to check the status of the ciss(4) driver. However, there is a permission problem that I am not sure about the best way to get around in FreeBSD (7-STABLE). The nrpe daemon that handles the script runs as the "nagios" user and the command needed is camcontrol: camcontrol inquiry da0 The nagios user does not have a shell by default in FreeBSD: nagios:*:181:181::0:0:Nagios pseudo-user:/var/spool/nagios:/usr/sbin/nologin so the script will obviously fail. I would assume there are several ways to get around this and would welcome "best practice" suggestions on how. Thanks, --per From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 08: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 6A00C106568A for ; Thu, 16 Oct 2008 08:04:54 +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 5094B8FC18 for ; Thu, 16 Oct 2008 08:04:53 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA03.emeryville.ca.mail.comcast.net ([76.96.30.27]) by QMTA08.emeryville.ca.mail.comcast.net with comcast id TKuu1a0040b6N64A8L4tqG; Thu, 16 Oct 2008 08:04:53 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA03.emeryville.ca.mail.comcast.net with comcast id TL4s1a0032P6wsM8PL4sBx; Thu, 16 Oct 2008 08:04:53 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=BwKj8mwN9yPs34-oIf8A:9 a=_jpCZ75cBi5rPQdoGR6e-zRuIA0A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 91D5DC9419; Thu, 16 Oct 2008 01:04:52 -0700 (PDT) Date: Thu, 16 Oct 2008 01:04:52 -0700 From: Jeremy Chadwick To: Per olof Ljungmark Message-ID: <20081016080452.GA4150@icarus.home.lan> References: <48F6EDF2.4070109@intersonic.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48F6EDF2.4070109@intersonic.se> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD and Nagios - permissions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 08:04:54 -0000 On Thu, Oct 16, 2008 at 09:32:02AM +0200, Per olof Ljungmark wrote: > Hi, > > I'm implementing a shell script as a Nagios plugin to check the status > of the ciss(4) driver. However, there is a permission problem that I am > not sure about the best way to get around in FreeBSD (7-STABLE). > > The nrpe daemon that handles the script runs as the "nagios" user and > the command needed is camcontrol: > > camcontrol inquiry da0 > > The nagios user does not have a shell by default in FreeBSD: > nagios:*:181:181::0:0:Nagios pseudo-user:/var/spool/nagios:/usr/sbin/nologin > so the script will obviously fail. I cease to see what the users' shell has to do with the problem. A shell being set to /usr/sbin/nologin *does not* mean they cannot run shell scripts, it just means one cannot log in as that user. I think the problem is probably more along the lines of: you can't run camcontrol as user "nagios", because root access is required to communicate with CAM (open /dev/xptX). > I would assume there are several ways to get around this and would > welcome "best practice" suggestions on how. Two recommendations: 1) Write wrapper program (this requires C) which calls "camcontrol inquiry da0". The wrapper binary should be owned by root:nagios, and perms should be 4710 (so that individuals in the "nagios" group can run the binary, but no one else). This C program is very, very simple. 2) Use "sudo" and set up a ***VERY*** restrictive command list for user "nagios", meaning, only allowed to run /sbin/camcontrol. I DO NOT recommend this method, as it's possible for someone to use nagios to run something like "camcontrol reset" or "camcontrol eject" as root, or even worse, "camcontrol cmd" (could induce a low-level format of one of your disks), -- | 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 16 08:17: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 664A7106568B for ; Thu, 16 Oct 2008 08:17:16 +0000 (UTC) (envelope-from kalpin@muliahost.com) Received: from smtp.velo.net.id (mx3.velo.net.id [203.153.103.161]) by mx1.freebsd.org (Postfix) with ESMTP id 147118FC1E for ; Thu, 16 Oct 2008 08:17:15 +0000 (UTC) (envelope-from kalpin@muliahost.com) Received: from localhost (trilian.net2cyber.net [127.0.0.1]) by smtp.velo.net.id (Postfix) with ESMTP id 13BED680E7 for ; Thu, 16 Oct 2008 15:03:18 +0700 (WIT) X-Virus-Scanned: amavisd-new at velo.net.id Received: from smtp.velo.net.id ([127.0.0.1]) by localhost (trilian.net2cyber.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8dBcTe-mmpv2 for ; Thu, 16 Oct 2008 15:03:15 +0700 (WIT) Received: from [203.153.106.5] (DALnet.tranquillity.se [203.153.106.5]) by smtp.velo.net.id (Postfix) with ESMTP id 9C8776833C for ; Thu, 16 Oct 2008 15:03:15 +0700 (WIT) Message-ID: <48F6F88A.5030107@muliahost.com> Date: Thu, 16 Oct 2008 15:17:14 +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 Subject: Auto Backup Data and Delete for Account Expired X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 08:17:16 -0000 Dear all, is there any routines to check if some accounts expire then system would like to do backup all data to certain directory and then delete the account. Any help would be appreciate. Thank you Kalpin Erlangga Silaen From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 08:52: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 41F9D1065697 for ; Thu, 16 Oct 2008 08:52:51 +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 E185B8FC0A for ; Thu, 16 Oct 2008 08:52:50 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA02.westchester.pa.mail.comcast.net ([76.96.62.19]) by QMTA08.westchester.pa.mail.comcast.net with comcast id TLpC1a00A0QuhwU58Lsjbj; Thu, 16 Oct 2008 08:52:43 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA02.westchester.pa.mail.comcast.net with comcast id TLso1a0062P6wsM3NLsptk; Thu, 16 Oct 2008 08:52:50 +0000 X-Authority-Analysis: v=1.0 c=1 a=lmQWzPn1eyEA:10 a=wBsXV2gjJ-UA:10 a=QycZ5dHgAAAA:8 a=HeDnJNwcpFW-KM9IJ1AA:9 a=quzCu2Mo4jGi7UXNgeP_iLUvNbcA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id AFFEAC9419; Thu, 16 Oct 2008 01:52:48 -0700 (PDT) Date: Thu, 16 Oct 2008 01:52:48 -0700 From: Jeremy Chadwick To: Kalpin Erlangga Silaen Message-ID: <20081016085248.GA5191@icarus.home.lan> References: <48F6F88A.5030107@muliahost.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48F6F88A.5030107@muliahost.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Auto Backup Data and Delete for Account Expired X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 08:52:51 -0000 On Thu, Oct 16, 2008 at 03:17:14PM +0700, Kalpin Erlangga Silaen wrote: > Dear all, > > is there any routines to check if some accounts expire then system would > like to do backup all data to certain directory and then delete the account. > > Any help would be appreciate. You sent this mail to the list yesterday. We saw 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 Thu Oct 16 09:43: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 3696A106568E for ; Thu, 16 Oct 2008 09:43:54 +0000 (UTC) (envelope-from i.tanusheff@procreditbank.bg) Received: from mail.procreditbank.bg (mail.procreditbank.bg [193.26.216.3]) by mx1.freebsd.org (Postfix) with SMTP id 659D28FC24 for ; Thu, 16 Oct 2008 09:43:53 +0000 (UTC) (envelope-from i.tanusheff@procreditbank.bg) Received: (qmail 40959 invoked from network); 16 Oct 2008 13:03:15 +0300 Received: from unknown (HELO domino.procreditbank.bg) (10.0.0.15) by 192.168.1.3 with SMTP; 16 Oct 2008 13:03:15 +0300 In-Reply-To: <48F6EDF2.4070109@intersonic.se> To: Per olof Ljungmark MIME-Version: 1.0 X-Mailer: Lotus Notes Release 7.0.3 September 26, 2007 From: Ivailo Tanusheff Message-ID: Date: Thu, 16 Oct 2008 12:43:50 +0300 X-MIMETrack: Serialize by Router on DOMINO/BULGARIA/PROCREDITBANK(Release 7.0.2FP2|May 14, 2007) at 16.10.2008 12:43:52, Serialize complete at 16.10.2008 12:43:52 Content-Type: text/plain; charset="US-ASCII" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org, owner-freebsd-questions@freebsd.org Subject: Re: FreeBSD and Nagios - permissions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 09:43:54 -0000 I think the problem is with the permisions of the specific user. The way to get over it is to use sudo and configure it to allow the nagios user execute camcontrol. This way the line should be : sudo camcontrol inquiry da0 Regards, Ivailo Tanusheff Deputy Head of IT Department ProCredit Bank (Bulgaria) AD Per olof Ljungmark Sent by: owner-freebsd-questions@freebsd.org 16.10.2008 10:52 To freebsd-questions@freebsd.org cc Subject FreeBSD and Nagios - permissions Hi, I'm implementing a shell script as a Nagios plugin to check the status of the ciss(4) driver. However, there is a permission problem that I am not sure about the best way to get around in FreeBSD (7-STABLE). The nrpe daemon that handles the script runs as the "nagios" user and the command needed is camcontrol: camcontrol inquiry da0 The nagios user does not have a shell by default in FreeBSD: nagios:*:181:181::0:0:Nagios pseudo-user:/var/spool/nagios:/usr/sbin/nologin so the script will obviously fail. I would assume there are several ways to get around this and would welcome "best practice" suggestions on how. Thanks, --per _______________________________________________ freebsd-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 16 10:38: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 D41691065691 for ; Thu, 16 Oct 2008 10:38:06 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from k7.mavetju.org (ppp121-44-50-115.lns10.syd7.internode.on.net [121.44.50.115]) by mx1.freebsd.org (Postfix) with ESMTP id 94AD08FC15 for ; Thu, 16 Oct 2008 10:38:06 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: by k7.mavetju.org (Postfix, from userid 1001) id 341AC45039; Thu, 16 Oct 2008 21:17:58 +1100 (EST) Date: Thu, 16 Oct 2008 21:17:58 +1100 From: Edwin Groothuis To: freebsd-questions@FreeBSD.org Message-ID: <20081016101758.GA85895@mavetju.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: FreeBSD and Nagios - permissions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 10:38:06 -0000 > The nrpe daemon that handles the script runs as the "nagios" user and > the command needed is camcontrol: First lines of the check_ciss.sh command: #!/bin/sh if [ $(whoami) != "root" ]; then sudo $* fi And allow in sudoerrs.conf the nagios user to run the check_ciss.sh command without passwords. Works fine here for years :-) Edwin -- Edwin Groothuis Website: http://www.mavetju.org/ edwin@mavetju.org Weblog: http://www.mavetju.org/weblog/ From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 10:50: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 1FC8310656B7 for ; Thu, 16 Oct 2008 10:50:41 +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 A4A6F8FC2B for ; Thu, 16 Oct 2008 10:50:40 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KqQRA-0005xU-Iw for freebsd-questions@freebsd.org; Thu, 16 Oct 2008 10:50:36 +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, 16 Oct 2008 10:50:36 +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, 16 Oct 2008 10:50:36 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Date: Thu, 16 Oct 2008 06:54:18 -0400 Lines: 37 Message-ID: References: <831334.93256.qm@web56806.mail.re3.yahoo.com> <1224138644.3458.97.camel@laptop1.herveybayaustralia.com.au> 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: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 system 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, 16 Oct 2008 10:50:41 -0000 Da Rock wrote: [snip] > I'm assuming the problem with double nat'ing is the confusion in packet > traffic. So if the OP is using his ADSL modem to connect to the net, > then it could be safe to assume the public IP would be to the modem > itself, and not his box (barring the possible use of USB), so then the > nat'ing would already be done. Therefore, the best and easiest way would > be to simply bridge his interfaces- correct? Less overheads, etc, plus > simplicity of setup. > There is another option, a variant of which I use. My el cheapo deluxe DSL modem has really crappy broken firewall and DNS implementations. Wireshark showed Windows Messenger service spam leaking past and as soon as I saw that I assumed it was probably the tip of the iceberg. You can also bridge the modem (disabling it's NAT as well). In a fully bridged configuration your FreeBSD gateway will have to perform PPPoE handshake and login as well. I use a second option called split-bridge, which they have named "IP Passthrough". This allows the DSL modem to be responsible for the PPPoE session. It works by passing the WAN public IP to the Internet facing NIC in my FreeBSD box via DHCP. So, while my interior LAN NIC is static, my outside NIC is ifconfig_xl0="DHCP". It gets assigned whatever IP Verizon sends. I just like this particular arrangement better. I run a caching/hybrid DNS server on the gateway as well. I've used this configuration for about 2 years now and it has served me well. I also use ALTQ to prioritize outgoing acks, as this seems to be helpful when using asymmetric DSL. [snip] -Mike From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 11: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 A93731065692 for ; Thu, 16 Oct 2008 11:05:35 +0000 (UTC) (envelope-from danielby@slightlystrange.org) Received: from mtaout01-winn.ispmail.ntl.com (mtaout01-winn.ispmail.ntl.com [81.103.221.47]) by mx1.freebsd.org (Postfix) with ESMTP id 18FBA8FC24 for ; Thu, 16 Oct 2008 11:05:34 +0000 (UTC) (envelope-from danielby@slightlystrange.org) Received: from aamtaout01-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com (InterMail vM.7.05.02.00 201-2174-114-20060621) with ESMTP id <20081016110533.UVVK2285.mtaout01-winn.ispmail.ntl.com@aamtaout01-winn.ispmail.ntl.com> for ; Thu, 16 Oct 2008 12:05:33 +0100 Received: from catflap.slightlystrange.org ([82.21.101.171]) by aamtaout01-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20081016110533.NBVI19264.aamtaout01-winn.ispmail.ntl.com@catflap.slightlystrange.org> for ; Thu, 16 Oct 2008 12:05:33 +0100 Received: by catflap.slightlystrange.org (Postfix, from userid 106) id 1F6336185; Thu, 16 Oct 2008 12:05:31 +0100 (BST) Received: from torus.slightlystrange.org (torus.slightlystrange.org [10.1.3.50]) by catflap.slightlystrange.org (Postfix) with SMTP id DCBC06170 for ; Thu, 16 Oct 2008 12:05:01 +0100 (BST) Received: by torus.slightlystrange.org (sSMTP sendmail emulation); Thu, 16 Oct 2008 12:05:01 +0100 From: "Daniel Bye" Date: Thu, 16 Oct 2008 12:05:01 +0100 To: freebsd-questions@freebsd.org Message-ID: <20081016110501.GB80147@torus.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <48F6EDF2.4070109@intersonic.se> <20081016080452.GA4150@icarus.home.lan> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eJnRUKwClWJh1Khz" Content-Disposition: inline In-Reply-To: <20081016080452.GA4150@icarus.home.lan> User-Agent: Mutt/1.4.2.3i X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 7.1-PRERELEASE i386 X-Cloudmark-Analysis: v=1.0 c=1 a=ehNlctqhnw0A:10 a=agU2Y7ln6h_rhG_z6PYA:9 a=x57UtODy0ZDLTIGM_0qSNF2oX50A:4 a=LY0hPdMaydYA:10 a=4vLe1wfIhJPPkUfV0jcA:9 a=_X7zxeBPcAOz5Nm32sK0Z9mRsL8A:4 a=rPt6xJ-oxjAA:10 Subject: Re: FreeBSD and Nagios - permissions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 11:05:35 -0000 --eJnRUKwClWJh1Khz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 16, 2008 at 01:04:52AM -0700, Jeremy Chadwick wrote: > On Thu, Oct 16, 2008 at 09:32:02AM +0200, Per olof Ljungmark wrote: > > The nrpe daemon that handles the script runs as the "nagios" user and > > the command needed is camcontrol: > >=20 > > camcontrol inquiry da0 > >=20 > > The nagios user does not have a shell by default in FreeBSD: > > nagios:*:181:181::0:0:Nagios pseudo-user:/var/spool/nagios:/usr/sbin/no= login > > so the script will obviously fail. >=20 > I think the problem is probably more along the lines of: you can't > run camcontrol as user "nagios", because root access is required to > communicate with CAM (open /dev/xptX). >=20 > Two recommendations: >=20 > 1) Write wrapper program (this requires C) which calls "camcontrol > inquiry da0". The wrapper binary should be owned by root:nagios, > and perms should be 4710 (so that individuals in the "nagios" group > can run the binary, but no one else). This C program is very, very > simple. >=20 > 2) Use "sudo" and set up a ***VERY*** restrictive command list for user > "nagios", meaning, only allowed to run /sbin/camcontrol. I DO NOT > recommend this method, as it's possible for someone to use nagios to > run something like "camcontrol reset" or "camcontrol eject" as root, > or even worse, "camcontrol cmd" (could induce a low-level format of > one of your disks), It is possible to configure sudo to run only exactly the required command (including arguments) precisely to guard against this type of abuse - I use it extensively in my own nagios setup. This Cmnd_Alias in sudoers will do the trick: Cmnd_Alias NAGIOS_CMNDS =3D /sbin/camcontrol inquiry da0 man sudoers for more information about what you can do with sudo. Dan --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --eJnRUKwClWJh1Khz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkj3H90ACgkQixf5fBYiFmot5ACeI7v19RjW1oronfU0fLwuavMH /YUAoK+IWalRtFP27yQjnTuNw22x9d9s =0/AE -----END PGP SIGNATURE----- --eJnRUKwClWJh1Khz-- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 11:06: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 B9A40106568A for ; Thu, 16 Oct 2008 11:06:06 +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 A0AB08FC19 for ; Thu, 16 Oct 2008 11:06:06 +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 TNvo1a0020S2fkCA7P665j; Thu, 16 Oct 2008 11:06:06 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA09.emeryville.ca.mail.comcast.net with comcast id TP651a0042P6wsM8VP650N; Thu, 16 Oct 2008 11:06:06 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=halJxmhDF6Tn-rybqnUA:9 a=8ZC2bK0NTfPsSY9d2fM2bZDDVAYA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 019B8C941C; Thu, 16 Oct 2008 04:06:05 -0700 (PDT) Date: Thu, 16 Oct 2008 04:06:04 -0700 From: Jeremy Chadwick To: Edwin Groothuis Message-ID: <20081016110604.GA8334@icarus.home.lan> References: <20081016101758.GA85895@mavetju.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081016101758.GA85895@mavetju.org> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@FreeBSD.org Subject: Re: FreeBSD and Nagios - permissions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 11:06:06 -0000 On Thu, Oct 16, 2008 at 09:17:58PM +1100, Edwin Groothuis wrote: > > The nrpe daemon that handles the script runs as the "nagios" user and > > the command needed is camcontrol: > > First lines of the check_ciss.sh command: > > #!/bin/sh > > if [ $(whoami) != "root" ]; then > sudo $* > fi > > And allow in sudoerrs.conf the nagios user to run the check_ciss.sh > command without passwords. > > Works fine here for years :-) Wow... all I can say. Wow. This is a *humongous* security hole. So what happens when someone finds a security hole in Nagios, allowing them to modify files or run checks with arguments of their choice? For a good time: check_ciss.sh camcontrol format da0 -y Yeah, uh, that script should be nuked. -- | 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 16 11:11: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 23997106568E for ; Thu, 16 Oct 2008 11:11:55 +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 970728FC2A for ; Thu, 16 Oct 2008 11:11:54 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KqQli-0006kg-K1 for freebsd-questions@freebsd.org; Thu, 16 Oct 2008 11:11:50 +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, 16 Oct 2008 11:11:50 +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, 16 Oct 2008 11:11:50 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Date: Thu, 16 Oct 2008 07:15:35 -0400 Lines: 39 Message-ID: References: <20081015222456.GO86263@tnn.dglawrence.com> 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: Breach of Contract Reported for FREEBSD.ORG 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, 16 Oct 2008 11:11:55 -0000 David G Lawrence wrote: >> Dear Customer, >> >> It has been brought to our attention that some or all of the information >> associated with your domain name FREEBSD.ORG is outdated or incorrect. >> These types of complaints are brought to our attention in one of two >> ways. >> >> The most common type of complaint is received from the Internet >> Corporation for Assigned Names and Numbers (ICANN). ICANN is the >> non-profit corporation responsible for accrediting domain name >> registrars. ICANN requires domain name registration customers to keep >> their account information current. ICANN mandates that outdated contact >> information can be grounds for domain name cancellation. > > Michelle, > > The registration information for freebsd.org is correct. The only thing > that is out of date is one of the email addresses (dg@root.com), which I > have tried to change, but have been unable to due to a problem with the > Network Solutions website. > I don't know who reported that the information was incorrect, but they > are mistaken. I will additionally follow up in the other ways mentioned > in your message. > [snip] ICANN requires registrars to verify the domain info once a year. I just went through this with GoDaddy. I think the registrars see this as an opportunity to market services. Different registrars bungle their marketing effort in different ways. GoDaddy sent me instructions on what to do in order to correct errors, but had absolutely nothing on how to proceed if the information was correct. So I viewed this as something they could take advantage of in order to get me to their site for a "hard sell" campaign. -Mike From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 11: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 B7A551065691 for ; Thu, 16 Oct 2008 11:17: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 60B5A8FC1D for ; Thu, 16 Oct 2008 11:17:43 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA03.westchester.pa.mail.comcast.net ([76.96.62.27]) by QMTA04.westchester.pa.mail.comcast.net with comcast id TNl31a0010bG4ec54PHiRx; Thu, 16 Oct 2008 11:17:42 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA03.westchester.pa.mail.comcast.net with comcast id TPHh1a0092P6wsM3PPHiW6; Thu, 16 Oct 2008 11:17:42 +0000 X-Authority-Analysis: v=1.0 c=1 a=gbE8mUoeygEA:10 a=EtOaCq7pQ-QA:10 a=tjL-BufnAAAA:8 a=QycZ5dHgAAAA:8 a=xiRhw3ZNIb-w4LJtdoQA:9 a=e9GO9XefVcRY1BbWW84A:7 a=gZD07QIiJRz2HETWxmkc5PKCv88A:4 a=4zdsmkiVlbYA:10 a=fgf5PR_cwQYA:10 a=EoioJ0NPDVgA:10 a=Ppjd8thYfXYA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 970F3C9419; Thu, 16 Oct 2008 04:17:41 -0700 (PDT) Date: Thu, 16 Oct 2008 04:17:41 -0700 From: Jeremy Chadwick To: Michael Powell Message-ID: <20081016111741.GA8548@icarus.home.lan> References: <20081015222456.GO86263@tnn.dglawrence.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: freebsd-questions@freebsd.org Subject: Re: Breach of Contract Reported for FREEBSD.ORG X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 11:17:43 -0000 On Thu, Oct 16, 2008 at 07:15:35AM -0400, Michael Powell wrote: > David G Lawrence wrote: > > >> Dear Customer, > >> > >> It has been brought to our attention that some or all of the information > >> associated with your domain name FREEBSD.ORG is outdated or incorrect. > >> These types of complaints are brought to our attention in one of two > >> ways. > >> > >> The most common type of complaint is received from the Internet > >> Corporation for Assigned Names and Numbers (ICANN). ICANN is the > >> non-profit corporation responsible for accrediting domain name > >> registrars. ICANN requires domain name registration customers to keep > >> their account information current. ICANN mandates that outdated contact > >> information can be grounds for domain name cancellation. > > > > Michelle, > > > > The registration information for freebsd.org is correct. The only thing > > that is out of date is one of the email addresses (dg@root.com), which I > > have tried to change, but have been unable to due to a problem with the > > Network Solutions website. > > I don't know who reported that the information was incorrect, but they > > are mistaken. I will additionally follow up in the other ways mentioned > > in your message. > > > [snip] > > ICANN requires registrars to verify the domain info once a year. I just went > through this with GoDaddy. I think the registrars see this as an > opportunity to market services. Different registrars bungle their marketing > effort in different ways. GoDaddy sent me instructions on what to do in > order to correct errors, but had absolutely nothing on how to proceed if > the information was correct. So I viewed this as something they could take > advantage of in order to get me to their site for a "hard sell" campaign. So how do you folks who comply with ICANN's requirement deal with this? http://blog.forret.com/2004/12/domain-registry-of-america-scam/ -- This organisation is now known as "Domain Renewal Group", by the way. I'm quite interested in knowing; it might be tolerable if you've only one domain, but if you're a hosting provider and have 100? Let me know. -- | 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 16 11:26: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 6344B106568B for ; Thu, 16 Oct 2008 11:26:36 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from mail.unitedinsong.com.au (202-172-126-254.cpe.qld-1.comcen.com.au [202.172.126.254]) by mx1.freebsd.org (Postfix) with ESMTP id 11D0E8FC18 for ; Thu, 16 Oct 2008 11:26:35 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [192.168.0.185]) by mail.unitedinsong.com.au (Postfix) with ESMTP id AC1BA4056 for ; Thu, 16 Oct 2008 21:26:44 +1000 (EST) From: Da Rock To: freebsd-questions@freebsd.org In-Reply-To: References: <831334.93256.qm@web56806.mail.re3.yahoo.com> <1224138644.3458.97.camel@laptop1.herveybayaustralia.com.au> Content-Type: text/plain Date: Thu, 16 Oct 2008 21:29:04 +1000 Message-Id: <1224156544.3458.104.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 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: Thu, 16 Oct 2008 11:26:36 -0000 On Thu, 2008-10-16 at 06:54 -0400, Michael Powell wrote: > Da Rock wrote: > > [snip] > > I'm assuming the problem with double nat'ing is the confusion in packet > > traffic. So if the OP is using his ADSL modem to connect to the net, > > then it could be safe to assume the public IP would be to the modem > > itself, and not his box (barring the possible use of USB), so then the > > nat'ing would already be done. Therefore, the best and easiest way would > > be to simply bridge his interfaces- correct? Less overheads, etc, plus > > simplicity of setup. > > > > There is another option, a variant of which I use. My el cheapo deluxe DSL > modem has really crappy broken firewall and DNS implementations. Wireshark > showed Windows Messenger service spam leaking past and as soon as I saw > that I assumed it was probably the tip of the iceberg. > > You can also bridge the modem (disabling it's NAT as well). In a fully > bridged configuration your FreeBSD gateway will have to perform PPPoE > handshake and login as well. > Setting up the modem itself this way can be tricky at times, depending on the model and the service. One gotcha with this method can be if your ISP is using heartbeat, and so you'll have to either script yourself or find one that suits. > I use a second option called split-bridge, which they have named "IP > Passthrough". This allows the DSL modem to be responsible for the PPPoE > session. It works by passing the WAN public IP to the Internet facing NIC > in my FreeBSD box via DHCP. So, while my interior LAN NIC is static, my > outside NIC is ifconfig_xl0="DHCP". It gets assigned whatever IP Verizon > sends. > Is this also called IP spoofing? > I just like this particular arrangement better. I run a caching/hybrid DNS > server on the gateway as well. I've used this configuration for about 2 > years now and it has served me well. I also use ALTQ to prioritize outgoing > acks, as this seems to be helpful when using asymmetric DSL. > Sounds very stable- I might have to look into the ALTQ (one day, when I finally get through my other projects... :) ). From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 11:43: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 A635E106568A for ; Thu, 16 Oct 2008 11:43:50 +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 4D3C68FC17 for ; Thu, 16 Oct 2008 11:43:50 +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 TNxk1a00B0cZkys59PjpaE; Thu, 16 Oct 2008 11:43:49 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA10.westchester.pa.mail.comcast.net with comcast id TPjo1a0042P6wsM3WPjoqC; Thu, 16 Oct 2008 11:43:49 +0000 X-Authority-Analysis: v=1.0 c=1 a=Hhtsdv2kQ0QA:10 a=7q5sDk5WlpcA:10 a=QycZ5dHgAAAA:8 a=XoYpL3HXnULmvr5GfqwA:9 a=8Qw9EQzgmuxlls6FeWcA:7 a=qwglw_i2wnt_6ekFiCXNwDC1OJcA:4 a=w_XpjkUtc2gA:10 a=nwNO7TR6bVQA:10 a=4IHpbv7WVF4A:10 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 2AD92C9419; Thu, 16 Oct 2008 04:43:48 -0700 (PDT) Date: Thu, 16 Oct 2008 04:43:48 -0700 From: Jeremy Chadwick To: Da Rock Message-ID: <20081016114348.GA8970@icarus.home.lan> References: <831334.93256.qm@web56806.mail.re3.yahoo.com> <1224138644.3458.97.camel@laptop1.herveybayaustralia.com.au> <1224156544.3458.104.camel@laptop1.herveybayaustralia.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1224156544.3458.104.camel@laptop1.herveybayaustralia.com.au> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 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: Thu, 16 Oct 2008 11:43:50 -0000 On Thu, Oct 16, 2008 at 09:29:04PM +1000, Da Rock wrote: > > On Thu, 2008-10-16 at 06:54 -0400, Michael Powell wrote: > > Da Rock wrote: > > > > [snip] > > > I'm assuming the problem with double nat'ing is the confusion in packet > > > traffic. So if the OP is using his ADSL modem to connect to the net, > > > then it could be safe to assume the public IP would be to the modem > > > itself, and not his box (barring the possible use of USB), so then the > > > nat'ing would already be done. Therefore, the best and easiest way would > > > be to simply bridge his interfaces- correct? Less overheads, etc, plus > > > simplicity of setup. > > > > > > > There is another option, a variant of which I use. My el cheapo deluxe DSL > > modem has really crappy broken firewall and DNS implementations. Wireshark > > showed Windows Messenger service spam leaking past and as soon as I saw > > that I assumed it was probably the tip of the iceberg. > > > > You can also bridge the modem (disabling it's NAT as well). In a fully > > bridged configuration your FreeBSD gateway will have to perform PPPoE > > handshake and login as well. > > > > Setting up the modem itself this way can be tricky at times, depending > on the model and the service. One gotcha with this method can be if your > ISP is using heartbeat, and so you'll have to either script yourself or > find one that suits. > > > I use a second option called split-bridge, which they have named "IP > > Passthrough". This allows the DSL modem to be responsible for the PPPoE > > session. It works by passing the WAN public IP to the Internet facing NIC > > in my FreeBSD box via DHCP. So, while my interior LAN NIC is static, my > > outside NIC is ifconfig_xl0="DHCP". It gets assigned whatever IP Verizon > > sends. > > > > Is this also called IP spoofing? No, this is **NOT** IP spoofing. What Michael's describing is a feature many DSL modems offer. There is no official term for what it is, since DSL modems are supposed to be bridges (layer 2 devices), but in fact this feature causes the modem to act like something that sits between layer 2 and layer 3 -- yet is not a router. Different modems call it something different. If you enable this feature, what happens is this: The modem requires you to access its administrative web page. You insert your PPPoE Username and Password (which it saves to NVRAM/EEPROM), and click Connect. The DSL modem then continues to do the PPPoE encapsulation, so that your FreeBSD box, Windows box, or whatever (that's connected to the DSL modem on the LAN port) does not have to. The modem is given an IP address as part of the PPPoE hand-off. That IP address is, of course, a public Internet IP. The modem also enables use of a DHCP server, so that a machine connect to its LAN port can do a DHCP request and get an IP address -- but here's the kicker. The IP address the modem returns to the machine on the LAN is the public IP address the ISP gave the modem via PPPoE. "So how does this work?" All network I/O between the LAN port and the modem itself is done at layer 2 past that point -- meaning, the modem acts "almost purely" as a bridge from that point forward: but it still does the PPPoE encapsulation for you. So, like I said, the modem acts like a device that sits between layer 2 and layer 3. Does this make more sense? The reason this feature is HIGHLY desired is because not all PPPoE implementations are compatible with an ISPs implementation. It is *always* best to use whatever equipment they give you or guarantee works with them; using your own, or some other PPPoE daemon/method, can result in lots of trouble. I've personally used this method, I might add. I can give you reference material on how to set it up and use it, over at dslreports.com. Lots of DSL modems these days offer said feature. -- | 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 16 12:03: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 A1A831065691 for ; Thu, 16 Oct 2008 12:03:47 +0000 (UTC) (envelope-from svein-listmail@d80.iso100.no) Received: from d80.iso100.no (d80.iso100.no [81.175.61.195]) by mx1.freebsd.org (Postfix) with ESMTP id 579288FC33 for ; Thu, 16 Oct 2008 12:03:47 +0000 (UTC) (envelope-from svein-listmail@d80.iso100.no) Received: from localhost (unknown [127.0.0.1]) by d80.iso100.no (Familien Skogens mail) with ESMTP id 7E6262285D for ; Thu, 16 Oct 2008 13:50:27 +0200 (CEST) X-Virus-Scanned: amavisd-new at d80.iso100.no Received: from d80.iso100.no ([127.0.0.1]) by localhost (d80.iso100.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jdTKT5rSEtFj for ; Thu, 16 Oct 2008 13:50:26 +0200 (CEST) Received: from [192.168.4.32] (unknown [192.168.4.32]) (Authenticated sender: svein) by d80.iso100.no (Familien Skogens mail) with ESMTPSA id 02E1422844 for ; Thu, 16 Oct 2008 13:50:26 +0200 (CEST) Message-ID: <48F72A5D.7000708@d80.iso100.no> Date: Thu, 16 Oct 2008 13:49:49 +0200 From: "Svein Skogen (List Mail Account)" User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: FreeBSD RELENG_7 scsi and usb, usb disks take precedence X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 12:03:47 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm writing this, in hope that someone has a quick-and-dirty trick to solve a minor problem I have. My home server, running RELENG_7 is booting off a 10Krpm scsi drive, connected to an adaptec controller. This device is /dev/da0. However, should I accidentally reboot the server with ANY usb block device, FreeBSD assumes that the USB controller is the first scsi chain in the computer, and assigns the lower da numbers to the usb block devices, placing the actual scsi disk as the last da device. Is there any way to tell FreeBSD permanently "I want my adaptec controller's scsi chain to be the first, no matter what USB devices you find"? If this is documented somewhere, feel free to point me to the correct man page. Regards, Svein Skogen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkj3Kl0ACgkQtVbTV+BEzaN0mACeJRcLvDU3W5mu7MUuQmL5Uqpt 5p8AnjcigRJQixlj2J5/WBqSmA2MdcDh =R+MG -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 12: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 5EA07106568F for ; Thu, 16 Oct 2008 12:06:32 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from mail.unitedinsong.com.au (202-172-126-254.cpe.qld-1.comcen.com.au [202.172.126.254]) by mx1.freebsd.org (Postfix) with ESMTP id CDA358FC1E for ; Thu, 16 Oct 2008 12:06:31 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [192.168.0.185]) by mail.unitedinsong.com.au (Postfix) with ESMTP id 0C1A64056 for ; Thu, 16 Oct 2008 22:06:40 +1000 (EST) From: Da Rock To: freebsd-questions@freebsd.org In-Reply-To: <20081016114348.GA8970@icarus.home.lan> References: <831334.93256.qm@web56806.mail.re3.yahoo.com> <1224138644.3458.97.camel@laptop1.herveybayaustralia.com.au> <1224156544.3458.104.camel@laptop1.herveybayaustralia.com.au> <20081016114348.GA8970@icarus.home.lan> Content-Type: text/plain Date: Thu, 16 Oct 2008 22:09:01 +1000 Message-Id: <1224158941.3458.110.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit Subject: Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 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: Thu, 16 Oct 2008 12:06:32 -0000 On Thu, 2008-10-16 at 04:43 -0700, Jeremy Chadwick wrote: > On Thu, Oct 16, 2008 at 09:29:04PM +1000, Da Rock wrote: > > > > On Thu, 2008-10-16 at 06:54 -0400, Michael Powell wrote: > > > Da Rock wrote: > > > > > > [snip] > > > > I'm assuming the problem with double nat'ing is the confusion in packet > > > > traffic. So if the OP is using his ADSL modem to connect to the net, > > > > then it could be safe to assume the public IP would be to the modem > > > > itself, and not his box (barring the possible use of USB), so then the > > > > nat'ing would already be done. Therefore, the best and easiest way would > > > > be to simply bridge his interfaces- correct? Less overheads, etc, plus > > > > simplicity of setup. > > > > > > > > > > There is another option, a variant of which I use. My el cheapo deluxe DSL > > > modem has really crappy broken firewall and DNS implementations. Wireshark > > > showed Windows Messenger service spam leaking past and as soon as I saw > > > that I assumed it was probably the tip of the iceberg. > > > > > > You can also bridge the modem (disabling it's NAT as well). In a fully > > > bridged configuration your FreeBSD gateway will have to perform PPPoE > > > handshake and login as well. > > > > > > > Setting up the modem itself this way can be tricky at times, depending > > on the model and the service. One gotcha with this method can be if your > > ISP is using heartbeat, and so you'll have to either script yourself or > > find one that suits. > > > > > I use a second option called split-bridge, which they have named "IP > > > Passthrough". This allows the DSL modem to be responsible for the PPPoE > > > session. It works by passing the WAN public IP to the Internet facing NIC > > > in my FreeBSD box via DHCP. So, while my interior LAN NIC is static, my > > > outside NIC is ifconfig_xl0="DHCP". It gets assigned whatever IP Verizon > > > sends. > > > > > > > Is this also called IP spoofing? > > No, this is **NOT** IP spoofing. > > What Michael's describing is a feature many DSL modems offer. There is > no official term for what it is, since DSL modems are supposed to be > bridges (layer 2 devices), but in fact this feature causes the modem to > act like something that sits between layer 2 and layer 3 -- yet is not a > router. Different modems call it something different. > > If you enable this feature, what happens is this: > > The modem requires you to access its administrative web page. You > insert your PPPoE Username and Password (which it saves to > NVRAM/EEPROM), and click Connect. The DSL modem then continues to do > the PPPoE encapsulation, so that your FreeBSD box, Windows box, or > whatever (that's connected to the DSL modem on the LAN port) does not > have to. > > The modem is given an IP address as part of the PPPoE hand-off. That IP > address is, of course, a public Internet IP. The modem also enables use > of a DHCP server, so that a machine connect to its LAN port can do a > DHCP request and get an IP address -- but here's the kicker. > > The IP address the modem returns to the machine on the LAN is the > public IP address the ISP gave the modem via PPPoE. > > "So how does this work?" All network I/O between the LAN port and > the modem itself is done at layer 2 past that point -- meaning, the > modem acts "almost purely" as a bridge from that point forward: but > it still does the PPPoE encapsulation for you. So, like I said, > the modem acts like a device that sits between layer 2 and layer 3. > > Does this make more sense? > > The reason this feature is HIGHLY desired is because not all PPPoE > implementations are compatible with an ISPs implementation. It is > *always* best to use whatever equipment they give you or guarantee > works with them; using your own, or some other PPPoE daemon/method, > can result in lots of trouble. > > I've personally used this method, I might add. I can give you > reference material on how to set it up and use it, over at > dslreports.com. Lots of DSL modems these days offer said feature. Ok, that explains it. The IP spoofing term comes from the Alcatel SpeedTouch systems used by Telstra in Oz. If there is no official term for it then thats why they've decided to call it that- right or wrong. They use firmware updates to enable this feature or others, and can be botched easily so for reference copy the original firmware as a backup if possible! It certainly would save trouble with their equipment because of the heartbeat feature. Sounds very cool... From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 12:08: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 E2032106569E for ; Thu, 16 Oct 2008 12:08:04 +0000 (UTC) (envelope-from ahinjii@maydias.com) Received: from smtp.po.exetel.com.au (pecan.exetel.com.au [220.233.0.17]) by mx1.freebsd.org (Postfix) with ESMTP id AC8AE8FC1D for ; Thu, 16 Oct 2008 12:08:04 +0000 (UTC) (envelope-from ahinjii@maydias.com) Received: from 196.43.96.58.exetel.com.au ([58.96.43.196] helo=[192.168.1.65]) by smtp.po.exetel.com.au with esmtp (Exim 4.68) (envelope-from ) id 1KqRe7-00074N-5m for freebsd-questions@freebsd.org; Thu, 16 Oct 2008 23:08:03 +1100 Message-ID: <48F72EBB.9010903@maydias.com> Date: Thu, 16 Oct 2008 22:08:27 +1000 From: Warren Liddell User-Agent: Thunderbird 2.0.0.17 (X11/20081016) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: error compiling linux-glib2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 12:08:05 -0000 Running FreeBSD 7.1-PreRelease, AMD64 KDE 4.1.2 ===> Checking if devel/linux-glib2 already installed cd /usr/ports/devel/linux-glib2/work && /usr/bin/find * -type d -exec /bin/mkdir -p "/compat/linux/{}" \; cd /usr/ports/devel/linux-glib2/work && /usr/bin/find * ! -type d | /usr/bin/cpio -pm -R root:wheel /compat/linux 3914 blocks ===> Running linux ldconfig /compat/linux/sbin/ldconfig -r /compat/linux ELF binary type "3" not known. /compat/linux/sbin/ldconfig: 1: Syntax error: "(" unexpected *** Error code 2 Stop in /usr/ports/devel/linux-glib2. *** Error code 1 Stop in /usr/ports/devel/linux-glib2. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 12:09: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 60CEB1065689 for ; Thu, 16 Oct 2008 12:09:41 +0000 (UTC) (envelope-from ahinjii@maydias.com) Received: from pecan2.exetel.com.au (pecan2.exetel.com.au [220.233.0.70]) by mx1.freebsd.org (Postfix) with ESMTP id 016588FC26 for ; Thu, 16 Oct 2008 12:09:40 +0000 (UTC) (envelope-from ahinjii@maydias.com) Received: from 196.43.96.58.exetel.com.au ([58.96.43.196] helo=[192.168.1.65]) by pecan2.exetel.com.au with esmtp (Exim 4.68) (envelope-from ) id 1KqRHt-0003pd-2d; Thu, 16 Oct 2008 22:45:05 +1100 Message-ID: <48F72959.9030901@maydias.com> Date: Thu, 16 Oct 2008 21:45:29 +1000 From: Warren Liddell User-Agent: Thunderbird 2.0.0.17 (X11/20081016) MIME-Version: 1.0 To: =?UTF-8?B?U2TDpHZ0YWtlcg==?= References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: Kopete and KDE4.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 12:09:41 -0000 Sdävtaker wrote: > Did someone make kopete work in kde4.1 with msn and jabber networks? > I tried a couple of recipes i found gogling, but nothing worked. > Any ideas? > Im running FBSD7.0 x64 > Any info is appreciated, thanks! > Sdav > Try doing the following .. although for me it dosent compile, but it used to work to get kopete to work with MSN. > >> Yes, thanks for your hint; here is what I did exactly this morning: > >> > >> # cd /usr/ports/net/kdenetwork4 > >> # make > >> > >> [Ctrl-C iterrupt the proc after all configuration is done] > >> > >> # cd /usr/ports/net/kdenetwork4/work > >> # svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdenetwork > >> ... > >> A > >> kdenetwork/kget/transfer- > > plugins/bittorrent/libbtcore/util/autorotatelogjob > >> .h A kdenetwork/kget/transfer- > > plugins/bittorrent/libbtcore/util/error.cpp > >> Checked out external at revision 850250. > >> Checked out revision 850250. > >> > >> # mv kdenetwork-4.1.2 kdenetwork-4.1.2.portversion > >> # mv kdenetwork kdenetwork-4.1.2 > >> # cp -rp kdenetwork-4.1.2.portversion/build kdenetwork-4.1.2 > >> > >> # make > >> # make deinstall > >> # make reinstall > >> > >> after this kopete's version is really 0.60.80 and it works with MSN; > >> > >> btw: the version string comes from: > >> > >> kopete/libkopete/kopeteversion.h:#define KOPETE_VERSION_STRING > > "0.60.80" > >> thx aganin; maybe it's worth to build a new file > >> KDE/kdenetwork-4.1.2.tar.bz2 and update this port; > >> > >> matthias > > > > I builded success use this way ,kopete can login msn,version 0.6.80 > > > > But step for my used have a little different ;-) > > > > # cd /usr/ports/net/kdenetwork4 > > # make extract > > # cd work > > # svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdenetwork > > # mv kdenetwork-4.1.2 kdenetwork-4.1.2.portversion > > # mv kdenetwork kdenetwork-4.1.2 > > # cd /usr/ports/net/kdenetwork4 > > # make FORCE_PKG_REGISTER=yes install clean > > > > whole compile and install is right,no error From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 12:22: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 BDCBB106568F for ; Thu, 16 Oct 2008 12:22:38 +0000 (UTC) (envelope-from emss@free.fr) Received: from smtp23.orange.fr (smtp23.orange.fr [193.252.22.126]) by mx1.freebsd.org (Postfix) with ESMTP id 723098FC17 for ; Thu, 16 Oct 2008 12:22:38 +0000 (UTC) (envelope-from emss@free.fr) Received: from smtp-msa-out01.orange.fr (mwinf2353 [10.232.4.161]) by mwinf2320.orange.fr (SMTP Server) with ESMTP id B25E51C01A96 for ; Thu, 16 Oct 2008 14:12:00 +0200 (CEST) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2353.orange.fr (SMTP Server) with ESMTP id E8749700008B; Thu, 16 Oct 2008 14:11:58 +0200 (CEST) Received: from srvbsdnanssv.interne.kisoft-services.com (AAnnecy-103-1-10-48.w217-128.abo.wanadoo.fr [217.128.200.48]) by mwinf2353.orange.fr (SMTP Server) with ESMTP id 94FD470000A7; Thu, 16 Oct 2008 14:11:58 +0200 (CEST) X-ME-UUID: 20081016121158610.94FD470000A7@mwinf2353.orange.fr X-ME-User-Auth: e-masson0330 Received: from localhost (localhost [127.0.0.1]) by srvbsdnanssv.interne.kisoft-services.com (Postfix) with ESMTP id 09B1F170CF; Thu, 16 Oct 2008 14:11:58 +0200 (CEST) X-Virus-Scanned: amavisd-new at interne.kisoft-services.com Received: from srvbsdnanssv.interne.kisoft-services.com ([127.0.0.1]) by localhost (srvbsdnanssv.interne.kisoft-services.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H+2RIuYJp2Dm; Thu, 16 Oct 2008 14:11:54 +0200 (CEST) Received: by srvbsdnanssv.interne.kisoft-services.com (Postfix, from userid 1001) id 6F0241712B; Thu, 16 Oct 2008 14:11:54 +0200 (CEST) To: "Svein Skogen (List Mail Account)" From: Eric Masson In-Reply-To: <48F72A5D.7000708@d80.iso100.no> (Svein Skogen's message of "Thu, 16 Oct 2008 13:49:49 +0200") References: <48F72A5D.7000708@d80.iso100.no> X-Operating-System: FreeBSD 6.3-RELEASE-p5 i386 Date: Thu, 16 Oct 2008 14:11:54 +0200 Message-ID: <863aiw91th.fsf@srvbsdnanssv.interne.kisoft-services.com> User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.5-b28 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD RELENG_7 scsi and usb, usb disks take precedence X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 12:22:38 -0000 "Svein Skogen (List Mail Account)" writes: Hi, > Is there any way to tell FreeBSD permanently "I want my adaptec > controller's scsi chain to be the first, no matter what USB devices you > find"? You can circumvent this behaviour by using GEOM labels : http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-glabel.html Regards -- CE>Je ne sais pas si vous etes la personne adequat mais il y a un CE>"dégénéré mental " qui veut enculer tous le monde sur frsf > ne vous inquiétez pas, ce n'est pas possible via Usenet :) -+-LW in Guide du Neuneu Usenet - Après les mouches, à qui le tour ? -+- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 12:47: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 3CF86106568B for ; Thu, 16 Oct 2008 12:47:05 +0000 (UTC) (envelope-from danielby@slightlystrange.org) Received: from mtaout02-winn.ispmail.ntl.com (mtaout02-winn.ispmail.ntl.com [81.103.221.48]) by mx1.freebsd.org (Postfix) with ESMTP id A072D8FC1A for ; Thu, 16 Oct 2008 12:47:04 +0000 (UTC) (envelope-from danielby@slightlystrange.org) Received: from aamtaout01-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com (InterMail vM.7.05.02.00 201-2174-114-20060621) with ESMTP id <20081016124703.NGQ21103.mtaout02-winn.ispmail.ntl.com@aamtaout01-winn.ispmail.ntl.com> for ; Thu, 16 Oct 2008 13:47:03 +0100 Received: from catflap.slightlystrange.org ([82.21.101.171]) by aamtaout01-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20081016124703.OTQR19264.aamtaout01-winn.ispmail.ntl.com@catflap.slightlystrange.org> for ; Thu, 16 Oct 2008 13:47:03 +0100 Received: by catflap.slightlystrange.org (Postfix, from userid 106) id 97192613A; Thu, 16 Oct 2008 13:47:00 +0100 (BST) Received: from torus.slightlystrange.org (torus.slightlystrange.org [10.1.3.50]) by catflap.slightlystrange.org (Postfix) with SMTP id 1DBEB6131 for ; Thu, 16 Oct 2008 13:47:00 +0100 (BST) Received: by torus.slightlystrange.org (sSMTP sendmail emulation); Thu, 16 Oct 2008 13:47:00 +0100 From: "Daniel Bye" Date: Thu, 16 Oct 2008 13:47:00 +0100 To: freebsd-questions@freebsd.org Message-ID: <20081016124700.GC80147@torus.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <48F6EDF2.4070109@intersonic.se> <20081016080452.GA4150@icarus.home.lan> <20081016110501.GB80147@torus.slightlystrange.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2JFBq9zoW8cOFH7v" Content-Disposition: inline In-Reply-To: <20081016110501.GB80147@torus.slightlystrange.org> User-Agent: Mutt/1.4.2.3i X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 7.1-PRERELEASE i386 X-Cloudmark-Analysis: v=1.0 c=1 a=ehNlctqhnw0A:10 a=kruHNeHDAAAA:8 a=s4s-REC0Bid4hitGQLwA:9 a=8RicYlTTCuNMg4MVnxYTEwl02qUA:4 a=LY0hPdMaydYA:10 a=SwCVmF8o9YEnAwOQY4UA:9 a=K6SeMc4si12j1gVmVU4hMbbUt4MA:4 a=rPt6xJ-oxjAA:10 Subject: Re: FreeBSD and Nagios - permissions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 12:47:05 -0000 --2JFBq9zoW8cOFH7v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 16, 2008 at 12:05:01PM +0100, Daniel Bye wrote: > It is possible to configure sudo to run only exactly the required command > (including arguments) precisely to guard against this type of abuse - > I use it extensively in my own nagios setup. >=20 > This Cmnd_Alias in sudoers will do the trick: >=20 > Cmnd_Alias NAGIOS_CMNDS =3D /sbin/camcontrol inquiry da0 >=20 > man sudoers for more information about what you can do with sudo. I just realised this example is woefully incomplete - apologies for that. There are a few ways you can set up /usr/local/etc/sudoers (make sure you use visudo to edit it, as it will catch any syntax errors for you, thus helping somewhat to prevent breaking your setup). The simplest case will just be to allow nagios to run the command, as root, without a password: nagios ALL=3D(root) NOPASSWD: /sbin/camcontrol inquiry da0 If, as is quite possible, nagios should be able to run more than just that one command, you can define a Cmnd_Alias, as above. To include more than one command in the alias, simply separate them with a comma. You can use `\' to escape newlines and make your file a little easier to read: Cmnd_Alias NAGIOS_CMNDS =3D /sbin/camcontrol inquiry da0 \ /sbin/camcontrol inquiry da1 and so on. Now, to use that alias, set the user's permissions to nagios ALL=3D(root) NOPASSWD: NAGIOS_CMNDS The sudoers man page has more information, and there is also a good tutorial by M Lucas on O'Reilly's Big Scary Daemons (it's from 2002, but still a good introduction): http://www.onlamp.com/pub/a/bsd/2002/08/29/Big_Scary_Daemons.html?page=3D1 Dan --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --2JFBq9zoW8cOFH7v Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkj3N8QACgkQixf5fBYiFmq19QCeLohFdQJqyBy+tnHBIgiPy9xC U8cAoM5MXYbuwhgpcGHiqZuiAxm8ha/6 =ZXSX -----END PGP SIGNATURE----- --2JFBq9zoW8cOFH7v-- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 13:29: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 96DA7106568E for ; Thu, 16 Oct 2008 13:29:04 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 6F46E8FC21 for ; Thu, 16 Oct 2008 13:29:04 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from [192.168.236.156] (helo=isper.nabble.com) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KqSuV-0005GR-Bs for freebsd-questions@freebsd.org; Thu, 16 Oct 2008 06:29:03 -0700 Message-ID: <20013780.post@talk.nabble.com> Date: Thu, 16 Oct 2008 06:28:15 -0700 (PDT) From: MattAD To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: mattvdwest@hotmail.com X-Mailman-Approved-At: Thu, 16 Oct 2008 13:43:07 +0000 Subject: Radius Authentication X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 13:29:04 -0000 I would just like to know if anyone on earth has been able to get the pam_radius module working on FreeBSD, using a windows domain username through ssh... ??? This has become a mystery to me. My /etc/pam.d/sshd config looks like so: # # $FreeBSD: src/etc/pam.d/sshd,v 1.16 2007/06/10 18:57:20 yar Exp $ # # PAM configuration for the "sshd" service # # auth auth required pam_nologin.so no_warn auth sufficient pam_opie.so no_warn no_fake_prompts auth requisite pam_opieaccess.so no_warn allow_local auth sufficient pam_radius.so no_warn try_first_pass #auth sufficient pam_krb5.so no_warn try_first_pass #auth sufficient pam_ssh.so no_warn try_first_pass auth sufficient pam_unix.so no_warn try_first_pass # account account required pam_nologin.so #account required pam_krb5.so account required pam_login_access.so account required pam_unix.so # session #session optional pam_ssh.so session required pam_permit.so # password #password sufficient pam_krb5.so no_warn try_first_pass password required pam_unix.so no_warn try_first_pass :confused: -- View this message in context: http://www.nabble.com/Radius-Authentication-tp20013780p20013780.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 14:01: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 4B759106568C for ; Thu, 16 Oct 2008 14:01:39 +0000 (UTC) (envelope-from eculp@casasponti.net) Received: from ns2.bafirst.com (72-12-2-19.static.networktel.net [72.12.2.19]) by mx1.freebsd.org (Postfix) with ESMTP id A7FEF8FC19 for ; Thu, 16 Oct 2008 14:01:38 +0000 (UTC) (envelope-from eculp@casasponti.net) Received: from casasponti.net ([201.155.7.3]) by ns2.bafirst.com with esmtp; Thu, 16 Oct 2008 09:01:34 -0500 id 000D52E3.48F7493F.000016F9 Received: from localhost (localhost [127.0.0.1]) (uid 80) by casasponti.net with local; Thu, 16 Oct 2008 09:01:02 -0500 id 00130CC4.48F7491E.00005AA8 Received: from dsl-189-190-8-164.prod-infinitum.com.mx (dsl-189-190-8-164.prod-infinitum.com.mx [189.190.8.164]) by intranet.casasponti.net (Horde Framework) with HTTP; Thu, 16 Oct 2008 09:01:02 -0500 Message-ID: <20081016090102.17qwm4xcs6f4so8ok@intranet.casasponti.net> Date: Thu, 16 Oct 2008 09:01:02 -0500 From: eculp@casasponti.net To: freebsd-questions@freebsd.org 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 (5.0-cvs) X-Remote-Browser: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.17) Gecko/20080925 Firefox/2.0.0.17 X-IMP-Server: 201.155.7.3 X-Originating-IP: 189.190.8.164 X-Originating-User: eculp@casasponti.net Subject: I've just found a new and interesting spam source - legitimate bounce messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 14:01:39 -0000 In the last hour, I've received over 200 legitimate bounce messages from email services as a result of someone having used or worse is using my email address in spam from multiple windows machines and ip addresses. The end result is that I am getting the bounce messages. I'm sure that others on this list have experienced the problem and maybe have a solution that I don't have. The messages are allowed through my obspamd/pf and pf smtp bruteforce blocking rules because they are completely legit. I guess the work around is to filter them on incoming together with our local bounce messaages util the spammers get tired of my address. Thanks for any suggestions, ed From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 14:17: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 CC4451065687 for ; Thu, 16 Oct 2008 14:17:15 +0000 (UTC) (envelope-from yury.michurin@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.237]) by mx1.freebsd.org (Postfix) with ESMTP id 7A2D48FC25 for ; Thu, 16 Oct 2008 14:17:15 +0000 (UTC) (envelope-from yury.michurin@gmail.com) Received: by wx-out-0506.google.com with SMTP id s17so7736wxc.7 for ; Thu, 16 Oct 2008 07:17: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:cc:in-reply-to:mime-version:content-type:references; bh=Mz6jV0+iZE6tM8IYrrXzHhzubIZDYS/PQ8lvSc4C57o=; b=EW6smwy6xm0kYNl/wbZh2H7Upa0siNDW8SIDboJlmfSSAlqvi+R+ufYuT5JID47ddU yzkROH5+W8x4Bc4m3Fd4G8zaCV27saGqbvTk0dcBtlbvdHOKhlpelir4Y/oNAQQ8GqCW fNCfkS25/8nGb3pLrKy3mjTMPbGPAHi8rGnBo= 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=e/ZTkjSKoaaDigXacZw2f1XZnwHglGe6nMqhvEXtcXYrKo6jBxAd2byV04SaeucLWH amhT3MEQQIMXCmKeChaGzGRt9Q+KXIQk2WpxB6PGtg2PpbHFjD5PVnmoqqN6g4+Za2gb 0vsY+YAds0oDT07YiAxjNJjscI3Q3XYeKVzuk= Received: by 10.100.34.16 with SMTP id h16mr3510902anh.86.1224166633976; Thu, 16 Oct 2008 07:17:13 -0700 (PDT) Received: by 10.100.122.10 with HTTP; Thu, 16 Oct 2008 07:17:13 -0700 (PDT) Message-ID: <692c9a9f0810160717m6e295a77qcf91f7b64a7b726c@mail.gmail.com> Date: Thu, 16 Oct 2008 16:17:13 +0200 From: "Yury Michurin" To: eculp@casasponti.net In-Reply-To: <20081016090102.17qwm4xcs6f4so8ok@intranet.casasponti.net> MIME-Version: 1.0 References: <20081016090102.17qwm4xcs6f4so8ok@intranet.casasponti.net> 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: I've just found a new and interesting spam source - legitimate bounce messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 14:17:16 -0000 Hello, start with putting spf record on the domain, http://www.netdummy.net/stop-bounce-mail.html and finish with filtering bogus message-id wich was not orignated on your server with whatever software you using. Regards, Yury On Thu, Oct 16, 2008 at 4:01 PM, wrote: > In the last hour, I've received over 200 legitimate bounce messages from > email services as a result of someone having used or worse is using my email > address in spam from multiple windows machines and ip addresses. The end > result is that I am getting the bounce messages. I'm sure that others on > this list have experienced the problem and maybe have a solution that I > don't have. > > The messages are allowed through my obspamd/pf and pf smtp bruteforce > blocking rules because they are completely legit. > > I guess the work around is to filter them on incoming together with our > local bounce messaages util the spammers get tired of my address. > > Thanks for any suggestions, > > ed > _______________________________________________ > freebsd-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 16 14:33: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 51DAB1065696 for ; Thu, 16 Oct 2008 14:33:06 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 0BABA8FC27 for ; Thu, 16 Oct 2008 14:33:05 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1KqTuR-0002wz-AE; Thu, 16 Oct 2008 18:33:03 +0400 To: Warren Liddell References: <48F72EBB.9010903@maydias.com> From: Boris Samorodov Date: Thu, 16 Oct 2008 18:32:51 +0400 In-Reply-To: <48F72EBB.9010903@maydias.com> (Warren Liddell's message of "Thu\, 16 Oct 2008 22\:08\:27 +1000") Message-ID: <36409548@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: error compiling linux-glib2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 14:33:06 -0000 Warren Liddell writes: > Running FreeBSD 7.1-PreRelease, AMD64 KDE 4.1.2 > > > > ===> Checking if devel/linux-glib2 already installed > cd /usr/ports/devel/linux-glib2/work && /usr/bin/find * -type d -exec > /bin/mkdir -p "/compat/linux/{}" \; > cd /usr/ports/devel/linux-glib2/work && /usr/bin/find * ! -type d | > /usr/bin/cpio -pm -R root:wheel /compat/linux > 3914 blocks > ===> Running linux ldconfig > /compat/linux/sbin/ldconfig -r /compat/linux > ELF binary type "3" not known. # kldload linux And/or: # echo 'linux_enable="YES"' >> /etc/loader.conf # reboot > /compat/linux/sbin/ldconfig: 1: Syntax error: "(" unexpected > *** Error code 2 > > Stop in /usr/ports/devel/linux-glib2. > *** Error code 1 > > Stop in /usr/ports/devel/linux-glib2. WBR -- bsam From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 14:41: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 504C01065687 for ; Thu, 16 Oct 2008 14:41:44 +0000 (UTC) (envelope-from prvs=pauls=168afa141@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 042098FC16 for ; Thu, 16 Oct 2008 14:41:43 +0000 (UTC) (envelope-from prvs=pauls=168afa141@utdallas.edu) X-Group: RELAYLIST X-IronPort-AV: E=Sophos;i="4.33,423,1220245200"; d="scan'208";a="417048" Received: from smtp3.utdallas.edu ([129.110.20.110]) by ip-relay-001.utdallas.edu with ESMTP; 16 Oct 2008 09:12:52 -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 8713C857F; Thu, 16 Oct 2008 09:12:52 -0500 (CDT) Date: Thu, 16 Oct 2008 09:12:52 -0500 From: Paul Schmehl To: eculp@casasponti.net, freebsd-questions@freebsd.org Message-ID: <9D30C77B8D64AF7622CA19B6@utd65257.utdallas.edu> In-Reply-To: <20081016090102.17qwm4xcs6f4so8ok@intranet.casasponti.net> References: <20081016090102.17qwm4xcs6f4so8ok@intranet.casasponti.net> X-Mailer: Mulberry/4.0.6 (Linux/x86) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=sha1; protocol="application/pkcs7-signature"; boundary="==========F11FC1771298105E0EF8==========" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: I've just found a new and interesting spam source - legitimate bounce messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 14:41:44 -0000 --==========F11FC1771298105E0EF8========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline --On Thursday, October 16, 2008 09:01:02 -0500 eculp@casasponti.net wrote: > > In the last hour, I've received over 200 legitimate bounce messages > from email services as a result of someone having used or worse is > using my email address in spam from multiple windows machines and ip > addresses. The end result is that I am getting the bounce messages. > I'm sure that others on this list have experienced the problem and > maybe have a solution that I don't have. > > The messages are allowed through my obspamd/pf and pf smtp bruteforce > blocking rules because they are completely legit. > > I guess the work around is to filter them on incoming together with > our local bounce messaages util the spammers get tired of my address. > We call those "bounceback spam". The only solution that I know of is to tag=20 all outgoing messages with a special header and then check for that header on=20 all returns and reject those that don't contain the header. All legitimate=20 bounces would contain the header because they originated with your MTA. E.g. X-Bounceback-Check: 0987923874 The value of the header can be anything you want it to be, and you can change=20 it periodically if you want to keep statistical data. --=20 Paul Schmehl (pauls@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ --==========F11FC1771298105E0EF8==========-- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 14:43: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 83D5F106569A for ; Thu, 16 Oct 2008 14:43:01 +0000 (UTC) (envelope-from emss@free.fr) Received: from smtp-msa-out01.orange.fr (smtp-msa-out01.orange.fr [193.252.23.120]) by mx1.freebsd.org (Postfix) with ESMTP id 10CA08FC22 for ; Thu, 16 Oct 2008 14:43:00 +0000 (UTC) (envelope-from emss@free.fr) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2352.orange.fr (SMTP Server) with ESMTP id D90727000098; Thu, 16 Oct 2008 16:42:59 +0200 (CEST) Received: from srvbsdnanssv.interne.kisoft-services.com (AAnnecy-103-1-10-48.w217-128.abo.wanadoo.fr [217.128.200.48]) by mwinf2352.orange.fr (SMTP Server) with ESMTP id 9ED5070000A0; Thu, 16 Oct 2008 16:42:59 +0200 (CEST) X-ME-UUID: 20081016144259650.9ED5070000A0@mwinf2352.orange.fr X-ME-User-Auth: e-masson0330 Received: from localhost (localhost [127.0.0.1]) by srvbsdnanssv.interne.kisoft-services.com (Postfix) with ESMTP id 2170E170BB; Thu, 16 Oct 2008 16:42:59 +0200 (CEST) X-Virus-Scanned: amavisd-new at interne.kisoft-services.com Received: from srvbsdnanssv.interne.kisoft-services.com ([127.0.0.1]) by localhost (srvbsdnanssv.interne.kisoft-services.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Dtg-7rzJmevp; Thu, 16 Oct 2008 16:42:50 +0200 (CEST) Received: by srvbsdnanssv.interne.kisoft-services.com (Postfix, from userid 1001) id E4E6B17100; Thu, 16 Oct 2008 16:42:49 +0200 (CEST) To: "Svein Skogen (List Mail Account)" From: Eric Masson In-Reply-To: <48F73B8C.8090402@d80.iso100.no> (Svein Skogen's message of "Thu, 16 Oct 2008 15:03:08 +0200") References: <48F72A5D.7000708@d80.iso100.no> <863aiw91th.fsf@srvbsdnanssv.interne.kisoft-services.com> <48F73B8C.8090402@d80.iso100.no> X-Operating-System: FreeBSD 6.3-RELEASE-p5 i386 Date: Thu, 16 Oct 2008 16:42:49 +0200 Message-ID: <86hc7cr47q.fsf@srvbsdnanssv.interne.kisoft-services.com> User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.5-b28 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit Cc: Mailing List FreeBSD Questions Subject: Re: FreeBSD RELENG_7 scsi and usb, usb disks take precedence X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 14:43:01 -0000 "Svein Skogen (List Mail Account)" writes: Hi, > With all due respect, if sysinstall isn't able to write those labels, > this is hardly the solution to the problem... ;) Sysinstall, even if it has proven to be useful, is outdated in many respects, it doesn't cope really well with GEOM or ZFS for example. Using GEOM labels ensure that fstab will always be consistent, so *this is* a solution. Now, you can try to patch the kernel to make it probe devices in a predefined & sorted order, but I guess it will be much more difficult ;) -- Car en normandie nous aimons beaucoup le jeu du saute-moutons. Et j'interdis ici les parisiens centralistes et snobinards de profiter de cet aveu pour briller d'un calembour à tendance zoophile et bocagophobe -+- LC in www.le-gnu.net - Sauter n'est pas jouir -+- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 14:49: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 5098610656A4 for ; Thu, 16 Oct 2008 14:49:18 +0000 (UTC) (envelope-from scuba@centroin.com.br) Received: from raptor.centroin.com (asmtp.centroin.com [64.251.27.169]) by mx1.freebsd.org (Postfix) with ESMTP id 17F9E8FC21 for ; Thu, 16 Oct 2008 14:49:17 +0000 (UTC) (envelope-from scuba@centroin.com.br) Received: from trex.centroin.com.br (trex.centroin.com.br [200.225.63.134]) (authenticated bits=0) by raptor.centroin.com (8.14.3/8.13.8/CIP SMTP HOST) with ESMTP id m9GEsZ1u070266; Thu, 16 Oct 2008 11:54:37 -0300 (BRT) (envelope-from scuba@centroin.com.br) Date: Thu, 16 Oct 2008 11:49:35 -0300 (BRT) From: scuba@centroin.com.br Sender: mpsouza@trex.centroin.com.br To: John Nielsen In-Reply-To: <200809031211.34425.lists@jnielsen.net> Message-ID: <20081016114753.R61136@trex.centroin.com.br> References: <6788E89C-5168-4077-8CC4-FAFE22C60E5F@poughkeepsieschools.org> <200809031211.34425.lists@jnielsen.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: "B. Cook" , freebsd-questions@freebsd.org Subject: open-vm-tools no more in ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 14:49:18 -0000 Hi all, This open-vm-tools isn't in 7.0 ports. Anyone know why? On Wed, 3 Sep 2008, John Nielsen wrote: |On Wednesday 03 September 2008, B. Cook wrote: |> I am setting up FreeBSD 7.0 and he is asking about the vmware-tools. |> |> Ports has some things, but I am not sure what I need, and neither is he. |> |> Can anyone tell me what it needs? | |I usually create VM's with the Intel gigabit vNIC's which can use |FreeBSD's "em" driver. Since Xorg includes the vmmouse and vmware video |drivers already, the main things you should be looking for are the |memory "balloon" driver and the guestd service. In the past I have gotten |these to work by using the supplied tools (on the CD image that |is "inserted" when you select "Install VMware tools" from the host). |However it is much easier nowadays to use the free version in |ports/emulators/open-vm-tools (or open-vm-tools-nox11). | |JN |_______________________________________________ |freebsd-questions@freebsd.org mailing list |http://lists.freebsd.org/mailman/listinfo/freebsd-questions |To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" | - Marcelo From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 14:52: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 D215E1065690 for ; Thu, 16 Oct 2008 14:52:57 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA09.emeryville.ca.mail.comcast.net (qmta09.emeryville.ca.mail.comcast.net [76.96.30.96]) by mx1.freebsd.org (Postfix) with ESMTP id B441A8FC19 for ; Thu, 16 Oct 2008 14:52:57 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA11.emeryville.ca.mail.comcast.net ([76.96.30.36]) by QMTA09.emeryville.ca.mail.comcast.net with comcast id TRYh1a0010mlR8UA9Ssx7D; Thu, 16 Oct 2008 14:52:57 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA11.emeryville.ca.mail.comcast.net with comcast id TSsv1a00H2P6wsM8XSsv2X; Thu, 16 Oct 2008 14:52:57 +0000 X-Authority-Analysis: v=1.0 c=1 a=xV6OIcyWy4YA:10 a=q5Nov78KhrQA:10 a=gmDo1nssAAAA:8 a=QycZ5dHgAAAA:8 a=vgrxzUf3AiQHwnRmQ1UA:9 a=B1Bm3sORNgYyKvj1YWwA:7 a=5s8rQYQrcm6pVYQ2Qq9DMp0ofMwA:4 a=_f2F64XixNwA:10 a=m8HZnNHtt64A:10 a=lLiVljKw9QgA:10 a=EoioJ0NPDVgA:10 a=cxGlk9zFKLcA:10 a=7pGOCF1mIgkA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 50D63C9419; Thu, 16 Oct 2008 07:52:55 -0700 (PDT) Date: Thu, 16 Oct 2008 07:52:55 -0700 From: Jeremy Chadwick To: eculp@casasponti.net Message-ID: <20081016145255.GA12638@icarus.home.lan> References: <20081016090102.17qwm4xcs6f4so8ok@intranet.casasponti.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081016090102.17qwm4xcs6f4so8ok@intranet.casasponti.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: I've just found a new and interesting spam source - legitimate bounce messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 14:52:57 -0000 On Thu, Oct 16, 2008 at 09:01:02AM -0500, eculp@casasponti.net wrote: > In the last hour, I've received over 200 legitimate bounce messages from > email services as a result of someone having used or worse is using my > email address in spam from multiple windows machines and ip addresses. > The end result is that I am getting the bounce messages. I'm sure that > others on this list have experienced the problem and maybe have a > solution that I don't have. > > The messages are allowed through my obspamd/pf and pf smtp bruteforce > blocking rules because they are completely legit. > > I guess the work around is to filter them on incoming together with our > local bounce messaages util the spammers get tired of my address. The term coined for this type of mail is "backscatter". There is no easy solution for this. The backscatter article on postfix.org, for example, caused our mail servers to start rejecting mail that was generated from PHP scripts and CGIs on our own systems, which makes no sense. The article: http://www.postfix.org/BACKSCATTER_README.html If the backscatter is all directed to a single Email address (rather than a series of addresses, e.g. sdfkjhsfjkksjdf@yourdomain.com, and you have *@yourdomain.com accepted), then a solution is to reject mail with an RCPT TO of an account or virtual address that does not exist on your machine. This, of course, has a wonderful side effect: spammers now have a way to detect what Email addresses on your box legitimately accept mail, thus once they find one which never gets a bounceback, will start pounding that address to kingdom come. Let me know if you do find a reliable, decent solution that does not involve SPF or postfix header_checks or body_checks. -- | 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 16 14:56: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 3B4F81065696 for ; Thu, 16 Oct 2008 14:56:08 +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 115588FC0C for ; Thu, 16 Oct 2008 14:56:07 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA12.emeryville.ca.mail.comcast.net ([76.96.30.44]) by QMTA05.emeryville.ca.mail.comcast.net with comcast id TSiK1a01X0x6nqcA5Sw7vg; Thu, 16 Oct 2008 14:56:07 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA12.emeryville.ca.mail.comcast.net with comcast id TSw61a00F2P6wsM8YSw6xv; Thu, 16 Oct 2008 14:56:07 +0000 X-Authority-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=jTWcN5MmAAAA:8 a=QycZ5dHgAAAA:8 a=M35TkhAmEcFAArts4KoA:9 a=tdwrYVdr3_tHNu3cAWIA:7 a=iHc7Xx7KBmbuZKp-NceXYRMepI4A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 75F89C9419; Thu, 16 Oct 2008 07:56:06 -0700 (PDT) Date: Thu, 16 Oct 2008 07:56:06 -0700 From: Jeremy Chadwick To: scuba@centroin.com.br Message-ID: <20081016145606.GB12638@icarus.home.lan> References: <6788E89C-5168-4077-8CC4-FAFE22C60E5F@poughkeepsieschools.org> <200809031211.34425.lists@jnielsen.net> <20081016114753.R61136@trex.centroin.com.br> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081016114753.R61136@trex.centroin.com.br> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: "B. Cook" , John Nielsen , freebsd-questions@freebsd.org Subject: Re: open-vm-tools no more in ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 14:56:08 -0000 On Thu, Oct 16, 2008 at 11:49:35AM -0300, scuba@centroin.com.br wrote: > Hi all, > > This open-vm-tools isn't in 7.0 ports. Anyone know why? The ports tree does not have "versions", so I don't know what "7.0 ports" means for certain -- but I think you're saying "When I installed FreeBSD 7.0 and I chose to install ports in the distributions I wanted, there was no open-vm-tools". Let's see if we can find out when it was added: http://www.freebsd.org/cgi/cvsweb.cgi/ports/emulators/open-vm-tools/Makefile ...says March 28th of this year: Revision 1.1 Fri Mar 28 13:30:31 2008 UTC (6 months, 2 weeks ago) by mbr Please update your ports tree using csup. And if you DID install a copy of the ports tree during your FreeBSD install, you need to be aware that you must "adopt" the tree. The "adoption" process is described on the CVSup site, but applies to the csup tool as well. http://www.cvsup.org/faq.html#caniadopt Also note this applies to "src", if you installed that too. -- | 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 16 15:03: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 B160A106568E for ; Thu, 16 Oct 2008 15:03:22 +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 8B2788FC49 for ; Thu, 16 Oct 2008 15:03:22 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 22362 invoked from network); 16 Oct 2008 15:03:22 -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 ; 16 Oct 2008 15:03:22 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 37FA65083C; Thu, 16 Oct 2008 11:03:21 -0400 (EDT) To: Kalpin Erlangga Silaen References: <48F5CBCA.402@muliahost.com> From: Lowell Gilbert Date: Thu, 16 Oct 2008 11:03:21 -0400 In-Reply-To: <48F5CBCA.402@muliahost.com> (Kalpin Erlangga Silaen's message of "Wed\, 15 Oct 2008 17\:54\:02 +0700") Message-ID: <44tzbca8g6.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: Auto Backup Data and Delete for Account Expired 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, 16 Oct 2008 15:03:22 -0000 Kalpin Erlangga Silaen writes: > is there any routines to check if some accounts expire then system would > like to do backup all data to certain directory and then delete the account. Have you look in the ports collection? A quick search suggested that usermatic or dtc might help, but I'm sure a more thorough search would bring up more possibilities. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 15:10: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 A6C4C1065686 for ; Thu, 16 Oct 2008 15:10:19 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 5FE2B8FC14 for ; Thu, 16 Oct 2008 15:10:19 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1KqUUU-0003Xt-6K; Thu, 16 Oct 2008 19:10:18 +0400 To: Warren Liddell References: <48F72EBB.9010903@maydias.com> <36409548@bb.ipt.ru> From: Boris Samorodov Date: Thu, 16 Oct 2008 19:10:06 +0400 In-Reply-To: <36409548@bb.ipt.ru> (Boris Samorodov's message of "Thu\, 16 Oct 2008 18\:32\:51 +0400") Message-ID: <70327313@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: error compiling linux-glib2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 15:10:19 -0000 Boris Samorodov writes: > # echo 'linux_enable="YES"' >> /etc/loader.conf Sorry, I've mixed two variants. They are: 'linux_load="YES"' >> /boot/loader.conf 'inux_enable="YES"' >> /etc/rc.conf[.local] > # reboot 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 Thu Oct 16 15:16: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 88AE3106568E; Thu, 16 Oct 2008 15:16:13 +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 D5D858FC1B; Thu, 16 Oct 2008 15:16:12 +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 m9GFFKYo088374 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 16 Oct 2008 16:15:21 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk m9GFFKYo088374 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1224170122; bh=UqVjFG8/mFK6GI lew3Ftl7/8wqRVlv+inz20h1bIrkg=; 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<48F75A88.1 000507@infracaninophile.co.uk>|Date:=20Thu,=2016=20Oct=202008=2016: 15:20=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User-Agent:=20Thunderbird= 202.0.0.17=20(X11/20081002)|MIME-Version:=201.0|To:=20Jeremy=20Chad wick=20|CC:=20eculp@casasponti.net,=20freebsd-q uestions@freebsd.org|Subject:=20Re:=20I've=20just=20found=20a=20new =20and=20interesting=20spam=20source=20-=20legitimate=0D=0A=20bounc e=20messages|References:=20<20081016090102.17qwm4xcs6f4so8ok@intran et.casasponti.net>=20<20081016145255.GA12638@icarus.home.lan>|In-Re ply-To:=20<20081016145255.GA12638@icarus.home.lan>|X-Enigmail-Versi on:=200.95.6|Content-Type:=20text/plain=3B=20charset=3DUTF-8=3B=20f ormat=3Dflowed|Content-Transfer-Encoding:=207bit; b=X2IAgqhbl4k1+UZ vLjwmpPmkBLWThiqq34LxnkHW9XWX+G/XHamkP2cF8BUnZMuLMSRzKTKF9Oq4ffqI+L 3LjDlpHjUCyQAv1tDGLdmZxuIcIKhW9dgpC48ooHu9jiExRwvHhPGC5t909d34aHQvM lnzARp2rQd69b6vS5AZEXA= Message-ID: <48F75A88.1000507@infracaninophile.co.uk> Date: Thu, 16 Oct 2008 16:15:20 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.17 (X11/20081002) MIME-Version: 1.0 To: Jeremy Chadwick References: <20081016090102.17qwm4xcs6f4so8ok@intranet.casasponti.net> <20081016145255.GA12638@icarus.home.lan> In-Reply-To: <20081016145255.GA12638@icarus.home.lan> 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.1 (smtp.infracaninophile.co.uk [81.187.76.162]); Thu, 16 Oct 2008 16:15:22 +0100 (BST) X-Virus-Scanned: ClamAV 0.94/8434/Thu Oct 16 11:16:49 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: eculp@casasponti.net, freebsd-questions@freebsd.org Subject: Re: I've just found a new and interesting spam source - legitimate bounce messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 15:16:13 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Jeremy Chadwick wrote: | On Thu, Oct 16, 2008 at 09:01:02AM -0500, eculp@casasponti.net wrote: |> In the last hour, I've received over 200 legitimate bounce messages from |> email services as a result of someone having used or worse is using my |> email address in spam from multiple windows machines and ip addresses. |> The end result is that I am getting the bounce messages. I'm sure that |> others on this list have experienced the problem and maybe have a |> solution that I don't have. |> |> The messages are allowed through my obspamd/pf and pf smtp bruteforce |> blocking rules because they are completely legit. |> |> I guess the work around is to filter them on incoming together with our |> local bounce messaages util the spammers get tired of my address. | | The term coined for this type of mail is "backscatter". | | There is no easy solution for this. The backscatter article on | postfix.org, for example, caused our mail servers to start rejecting | mail that was generated from PHP scripts and CGIs on our own systems, | which makes no sense. The article: | | http://www.postfix.org/BACKSCATTER_README.html | | If the backscatter is all directed to a single Email address (rather | than a series of addresses, e.g. sdfkjhsfjkksjdf@yourdomain.com, and | you have *@yourdomain.com accepted), then a solution is to reject | mail with an RCPT TO of an account or virtual address that does not | exist on your machine. | | This, of course, has a wonderful side effect: spammers now have a way to | detect what Email addresses on your box legitimately accept mail, thus | once they find one which never gets a bounceback, will start pounding | that address to kingdom come. | | Let me know if you do find a reliable, decent solution that does not | involve SPF or postfix header_checks or body_checks. | Although not a solution to the immediate problems experienced by the OP in the long term, the most effective way to counter back-scatter spam is for every operator of a mail server to adopt the following behaviour: ~ * Reject e-mails *only* during the initial SMTP dialogue -- ie. respond ~ with a 5xx error code. No exceptions. This includes internal mail ~ submission of messages between users on the same system. ~ * Once your mail server has accepted a message for delivery, never ~ bounce it back to the sender as a result of spam or virus filtering ~ or for unknown destination address. Just drop it in the bit-bucket ~ in these cases. This means that your edge SMTP servers and all your MXes have to have an accurate list of all of the valid e-mail accounts on your system so that they can respond with 'user unknown' where required. The point of rejecting messages only during the initial SMTP dialogue is that at that point they are still the responsibility of the sending system. Chances are if it's a compromised machine attempting to inject spam, it's not even going to attempt resending failed messages, or send bounce-o-grammes on it's own behalf. Unfortunately, building anything beyond a single-server mail system with these characteristics is quite a lot harder than the simple-minded approach of accepting anything address to your domain at the edge, and only bouncing at the point of delivery to the mailbox. Especially if your backup MXes are a long way away from your main servers. Until the wonderful day that the entire internet abides by these rules[*], use of technologies like SPF and DKIM can discourage but not entirely prevent the spammers from joe-jobbing you. Cheers, Matthew [*] Unlikely to ever happen as technically they contradict the current RFCs. - -- 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 iEYEAREDAAYFAkj3WogACgkQ3jDkPpsZ+VaqKwCeMPa4tGkwewH+l0EfgVwTvpmS IKoAoJ1ec2WTSwBQRsYq6rNYWqQc6P2Y =lFRk -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 15:34: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 905C0106568A for ; Thu, 16 Oct 2008 15:34:05 +0000 (UTC) (envelope-from peo@intersonic.se) Received: from neonpark.inter-sonic.com (neonpark.inter-sonic.com [212.247.8.98]) by mx1.freebsd.org (Postfix) with ESMTP id 555E28FC25 for ; Thu, 16 Oct 2008 15:34:05 +0000 (UTC) (envelope-from peo@intersonic.se) X-Virus-Scanned: amavisd-new at BSDLabs AB Message-ID: <48F75EE5.2090908@intersonic.se> Date: Thu, 16 Oct 2008 17:33:57 +0200 From: Per olof Ljungmark Organization: Intersonic AB User-Agent: Thunderbird 2.0.0.17 (X11/20081013) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <48F6EDF2.4070109@intersonic.se> <20081016080452.GA4150@icarus.home.lan> <20081016110501.GB80147@torus.slightlystrange.org> <20081016124700.GC80147@torus.slightlystrange.org> In-Reply-To: <20081016124700.GC80147@torus.slightlystrange.org> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD and Nagios - permissions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 15:34:05 -0000 Daniel Bye wrote: > On Thu, Oct 16, 2008 at 12:05:01PM +0100, Daniel Bye wrote: >> It is possible to configure sudo to run only exactly the required command >> (including arguments) precisely to guard against this type of abuse - >> I use it extensively in my own nagios setup. >> >> This Cmnd_Alias in sudoers will do the trick: >> >> Cmnd_Alias NAGIOS_CMNDS = /sbin/camcontrol inquiry da0 >> >> man sudoers for more information about what you can do with sudo. > > I just realised this example is woefully incomplete - apologies for that. > > There are a few ways you can set up /usr/local/etc/sudoers (make sure > you use visudo to edit it, as it will catch any syntax errors for you, > thus helping somewhat to prevent breaking your setup). > > The simplest case will just be to allow nagios to run the command, as root, > without a password: > > nagios ALL=(root) NOPASSWD: /sbin/camcontrol inquiry da0 > > If, as is quite possible, nagios should be able to run more than just > that one command, you can define a Cmnd_Alias, as above. To include more > than one command in the alias, simply separate them with a comma. You > can use `\' to escape newlines and make your file a little easier to read: > > Cmnd_Alias NAGIOS_CMNDS = /sbin/camcontrol inquiry da0 \ > /sbin/camcontrol inquiry da1 > > and so on. Now, to use that alias, set the user's permissions to > > nagios ALL=(root) NOPASSWD: NAGIOS_CMNDS > > The sudoers man page has more information, and there is also a good > tutorial by M Lucas on O'Reilly's Big Scary Daemons (it's from 2002, but > still a good introduction): Thank you very much for the detailed information. I will have a go at sudo while waiting for my collegue to return, he knows C and could probably write up the wrapper that Jeremy suggested. Thanks all for the tips! --per From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 16:10: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 AAB731065686 for ; Thu, 16 Oct 2008 16:10:01 +0000 (UTC) (envelope-from LukeD@pobox.com) Received: from sasl.smtp.pobox.com (a-sasl-fastnet.sasl.smtp.pobox.com [207.106.133.19]) by mx1.freebsd.org (Postfix) with ESMTP id 7A63E8FC27 for ; Thu, 16 Oct 2008 16:10:01 +0000 (UTC) (envelope-from LukeD@pobox.com) Received: from localhost.localdomain (localhost [127.0.0.1]) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTP id 0B7CF6F24E; Thu, 16 Oct 2008 11:55:04 -0400 (EDT) Received: from lukas.is-a-geek.org (pool-71-113-98-220.sttlwa.dsl-w.verizon.net [71.113.98.220]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTPSA id A868F6F24A; Thu, 16 Oct 2008 11:55:01 -0400 (EDT) Date: Thu, 16 Oct 2008 08:54:55 -0700 (PDT) From: Luke Dean X-X-Sender: lukas@border.lukas.is-a-geek.org To: Matthew Seaman In-Reply-To: <48F75A88.1000507@infracaninophile.co.uk> Message-ID: References: <20081016090102.17qwm4xcs6f4so8ok@intranet.casasponti.net> <20081016145255.GA12638@icarus.home.lan> <48F75A88.1000507@infracaninophile.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 X-Pobox-Relay-ID: CBF8814A-9B9A-11DD-A9EC-1E1F86D30F62-96347044!a-sasl-fastnet.pobox.com Cc: freebsd-questions@freebsd.org Subject: Re: I've just found a new and interesting spam source - legitimate bounce messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Luke Dean List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 16:10:01 -0000 On Thu, 16 Oct 2008, Matthew Seaman wrote: > Until the wonderful day that the entire internet abides by these rules[*], > use > of technologies like SPF and DKIM can discourage but not entirely prevent the > spammers from joe-jobbing you. I just started getting these bouncebacks en masse this week. My mail provider publishes SPF records. If the names and numbers in the bouceback messages are to be believed, however, the spammers have defeated SPF by hijacking DNS. The poor recipients never see my SPF records because they're looking at the wrong IP address. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 16:25: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 BBDC41065693 for ; Thu, 16 Oct 2008 16:25:36 +0000 (UTC) (envelope-from ilikefbsd@web.de) Received: from fmmailgate03.web.de (fmmailgate03.web.de [217.72.192.234]) by mx1.freebsd.org (Postfix) with ESMTP id 2E07E8FC19 for ; Thu, 16 Oct 2008 16:25:35 +0000 (UTC) (envelope-from ilikefbsd@web.de) Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate03.web.de (Postfix) with ESMTP id F1CE8F1AACC0; Thu, 16 Oct 2008 18:22:41 +0200 (CEST) Received: from [80.244.246.126] (helo=[10.8.0.2]) by smtp07.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.109 #226) id 1KqVcX-0000hN-00; Thu, 16 Oct 2008 18:22:41 +0200 Message-ID: <48F78669.4020808@web.de> Date: Thu, 16 Oct 2008 20:22:33 +0200 From: Marco User-Agent: Thunderbird 2.0.0.17 (X11/20080930) MIME-Version: 1.0 To: Josh Paetzel References: <1675072737@web.de> <20081013174620.GA24725@icarus.home.lan> <48F3A593.3000005@FreeBSD.org> In-Reply-To: <48F3A593.3000005@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: ilikefbsd@web.de X-Sender: ilikefbsd@web.de X-Provags-ID: V01U2FsdGVkX18JTfCjm8/cLvyYYq9ynkxksOL/orSjqtPVhH6L o8bNl4mHXYVhSdNTC/cCNhulwx95iicLdBk/KwRIq370ik7qZj M4t7HCa10= Cc: Jeremy Chadwick , freebsd-questions@freebsd.org Subject: Re: new hdd numeration after mainboard change X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 16:25:36 -0000 Thank you very much, of course it was the AHCI configuration in the BIOS, luckily i can now switch between AHCI and compatibility mode when using Windows(otherwise it will result in a bluescreen) ;-) Best regards, Marco Josh Paetzel wrote: > Jeremy Chadwick wrote: > > On Mon, Oct 13, 2008 at 07:12:20PM +0200, ilikefbsd@web.de wrote: > >> i run "FreeBSD 7.1-PRERELEASE" i had a change of the mainboard of my > >> lenovo notebook t60. after reboot the harddisk which was before > >> recognized as "ad0" is now "ad4". i cannot find any other devices, no > >> ad0/ad1/ad2 in /dev. even in the dmesg only ad4 > > The T60 is a laptop. It only has one hard disk -- so I'm not sure why > > you were seeing ad0, ad1, ad2 in the past. You shouldn't have been, > > unless you had 3 hard disks hooked up somehow. > > > The bottom line here is this: absolutely *nothing* requires the device > > numbering to start at zero. And this is definitely the case. > > >> does fbsd create a uniqe identifier for harddisks in combination with > >> the motherboard or something like that? where can i dig further into > >> that issue? > > It's not really an "issue". Very likely your computer has toggled some > > BIOS settings. > > > The T60 series has the ability to run the SATA ports in two modes: AHCI, > > or Enhanced/Compatible. Chances are before the motherboard swap, yours > > was running in the opposite mode that it is now. > > > I would highly recommend using the AHCI mode. It works quite well with > > FreeBSD under Intel controllers. Turn AHCI on (if it's not already), > > and do not mess with it. > > > I can verify as a T60 owner, if you toggle the BIOS between AHCI and > "Compatability" the hard drive will show up as either ad4 or ad0. > > It works fine in either mode with FreeBSD. Unless you are running > another OS that doesn't have SATA support there's really no reason to > use compatibility mode > _______________________________________________ freebsd-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 16 16:26: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 79EA21065695 for ; Thu, 16 Oct 2008 16:26:42 +0000 (UTC) (envelope-from bill@ayn.mi.celestial.com) Received: from ayn.mi.celestial.com (hayek.celestial.com [192.136.111.12]) by mx1.freebsd.org (Postfix) with ESMTP id 56E1B8FC1F for ; Thu, 16 Oct 2008 16:26:41 +0000 (UTC) (envelope-from bill@ayn.mi.celestial.com) Received: from localhost (localhost [127.0.0.1]) by ayn.mi.celestial.com (Postfix) with ESMTP id 952D2686147E1; Thu, 16 Oct 2008 09:26:41 -0700 (PDT) X-Virus-Scanned: amavisd-new at mi.celestial.com Received: from ayn.mi.celestial.com ([127.0.0.1]) by localhost (ayn.mi.celestial.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id VGk143YdeCb3; Thu, 16 Oct 2008 09:26:41 -0700 (PDT) Received: by ayn.mi.celestial.com (Postfix, from userid 203) id 7662E686147C3; Thu, 16 Oct 2008 09:26:41 -0700 (PDT) Date: Thu, 16 Oct 2008 09:26:41 -0700 From: Bill Campbell To: freebsd-questions@freebsd.org Message-ID: <20081016162641.GA16819@ayn.mi.celestial.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <20081016090102.17qwm4xcs6f4so8ok@intranet.casasponti.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081016090102.17qwm4xcs6f4so8ok@intranet.casasponti.net> User-Agent: Mutt/1.5.18 OpenPKG/% (2008-05-17) Subject: Re: I've just found a new and interesting spam source - legitimate bounce messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@celestial.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 16:26:42 -0000 On Thu, Oct 16, 2008, eculp@casasponti.net wrote: > In the last hour, I've received over 200 legitimate bounce messages from > email services as a result of someone having used or worse is using my > email address in spam from multiple windows machines and ip addresses. > The end result is that I am getting the bounce messages. I'm sure that > others on this list have experienced the problem and maybe have a > solution that I don't have. Did these come from Barracuda boxes? Blowback like this is hardly new or legitimate as the From and Sender header addresses are often (usually) forged in spam, and it does not do anything useful to reply to them. The forged addresses may just be something scraped from the address book of a machine running the Microsoft virus, Windows, or a deliberate ``Joe Job'' where a spammer is targeting somebody who may have caused them problems. Bill -- INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Common sense is genius dressed in its working clothes. -- Ralph Waldo Emerson From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 16:46: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 D7FF9106568E for ; Thu, 16 Oct 2008 16:46:44 +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 8FAE68FC1C for ; Thu, 16 Oct 2008 16:46:44 +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 m9GGkgDf004554 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 16 Oct 2008 11:46:42 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id m9GGkePH004553; Thu, 16 Oct 2008 11:46:40 -0500 (CDT) (envelope-from dan) Date: Thu, 16 Oct 2008 11:46:40 -0500 From: Dan Nelson To: Eric Masson Message-ID: <20081016164640.GG99270@dan.emsphone.com> References: <48F72A5D.7000708@d80.iso100.no> <863aiw91th.fsf@srvbsdnanssv.interne.kisoft-services.com> <48F73B8C.8090402@d80.iso100.no> <86hc7cr47q.fsf@srvbsdnanssv.interne.kisoft-services.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86hc7cr47q.fsf@srvbsdnanssv.interne.kisoft-services.com> X-OS: FreeBSD 7.1-PRERELEASE User-Agent: Mutt/1.5.18 (2008-05-17) Cc: "Svein Skogen \(List Mail Account\)" , Mailing List FreeBSD Questions Subject: Re: FreeBSD RELENG_7 scsi and usb, usb disks take precedence X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 16:46:44 -0000 In the last episode (Oct 16), Eric Masson said: > "Svein Skogen (List Mail Account)" writes: > > With all due respect, if sysinstall isn't able to write those labels, > > this is hardly the solution to the problem... ;) > > Sysinstall, even if it has proven to be useful, is outdated in many > respects, it doesn't cope really well with GEOM or ZFS for example. > > Using GEOM labels ensure that fstab will always be consistent, so > *this is* a solution. > > Now, you can try to patch the kernel to make it probe devices in a > predefined & sorted order, but I guess it will be much more difficult > ;) No patching needed. You can wire down the unit number of your scsi bus and drive with boot hints as described in the scsi(4) manpage. Wire the adaptec card down as scbus0, and wire the device at scbus0.0 down as da0. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 16:50: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 614571065692 for ; Thu, 16 Oct 2008 16:50:11 +0000 (UTC) (envelope-from fbsd06+2Y=2c6cacb6@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 331AD8FC12 for ; Thu, 16 Oct 2008 16:50:11 +0000 (UTC) (envelope-from fbsd06+2Y=2c6cacb6@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 817DC1640CF for ; Thu, 16 Oct 2008 12:38:21 -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 85C20D0B6D; Thu, 16 Oct 2008 12:38:17 -0400 (EDT) Date: Thu, 16 Oct 2008 17:38:07 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20081016173807.64d0f24e@gumby.homeunix.com.> In-Reply-To: References: <20081016090102.17qwm4xcs6f4so8ok@intranet.casasponti.net> <20081016145255.GA12638@icarus.home.lan> <48F75A88.1000507@infracaninophile.co.uk> 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: Luke Dean Subject: Re: I've just found a new and interesting spam source - legitimate bounce messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 16:50:11 -0000 On Thu, 16 Oct 2008 08:54:55 -0700 (PDT) Luke Dean wrote: > > > On Thu, 16 Oct 2008, Matthew Seaman wrote: > > > Until the wonderful day that the entire internet abides by these > > rules[*], use > > of technologies like SPF and DKIM can discourage but not entirely > > prevent the spammers from joe-jobbing you. > > I just started getting these bouncebacks en masse this week. > My mail provider publishes SPF records. SPF increases the probability of spam being rejected at the smtp level at MX servers, so my expectation would be that it would exacerbate backscatter not improve it. Many people recommend SPF for backscatter, but I've yet to hear a cogent argument for why it helps beyond the very optimistic hope that spammers will check that their spam is spf compliant. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 16:56: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 06959106568C for ; Thu, 16 Oct 2008 16:56:43 +0000 (UTC) (envelope-from eculp@casasponti.net) Received: from ns2.bafirst.com (72-12-2-19.static.networktel.net [72.12.2.19]) by mx1.freebsd.org (Postfix) with ESMTP id AAFD28FC1B for ; Thu, 16 Oct 2008 16:56:42 +0000 (UTC) (envelope-from eculp@casasponti.net) Received: from casasponti.net ([201.155.7.3]) by ns2.bafirst.com with esmtp; Thu, 16 Oct 2008 11:56:40 -0500 id 000D52F1.48F77248.00001FB8 Received: from localhost (localhost [127.0.0.1]) (uid 80) by casasponti.net with local; Thu, 16 Oct 2008 11:56:08 -0500 id 00130D04.48F77228.0000D158 Received: from dsl-189-190-8-164.prod-infinitum.com.mx (dsl-189-190-8-164.prod-infinitum.com.mx [189.190.8.164]) by intranet.casasponti.net (Horde Framework) with HTTP; Thu, 16 Oct 2008 11:56:08 -0500 Message-ID: <20081016115608.17qwm4xcs6jkg84oc@intranet.casasponti.net> Date: Thu, 16 Oct 2008 11:56:08 -0500 From: eculp@casasponti.net To: Yury Michurin References: <20081016090102.17qwm4xcs6f4so8ok@intranet.casasponti.net> <692c9a9f0810160717m6e295a77qcf91f7b64a7b726c@mail.gmail.com> In-Reply-To: <692c9a9f0810160717m6e295a77qcf91f7b64a7b726c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (5.0-cvs) X-Remote-Browser: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.17) Gecko/20080925 Firefox/2.0.0.17 X-IMP-Server: 201.155.7.3 X-Originating-IP: 189.190.8.164 X-Originating-User: eculp@casasponti.net Cc: freebsd-questions@freebsd.org Subject: Re: I've just found a new and interesting spam source - legitimate bounce messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 16:56:43 -0000 Yury Michurin escribi=C3=B3: > Hello, > start with putting spf record on the domain, > http://www.netdummy.net/stop-bounce-mail.html > and finish with filtering bogus message-id wich was not orignated on your > server with whatever software you using. I've had the spf record for a couple of years and I've started =20 filtering. I guess I was just looking for something different. Thanks for helping me adapt to the real world. ed > > Regards, > Yury > > On Thu, Oct 16, 2008 at 4:01 PM, wrote: > >> In the last hour, I've received over 200 legitimate bounce messages from >> email services as a result of someone having used or worse is using my em= ail >> address in spam from multiple windows machines and ip addresses. The end >> result is that I am getting the bounce messages. I'm sure that others on >> this list have experienced the problem and maybe have a solution that I >> don't have. >> >> The messages are allowed through my obspamd/pf and pf smtp bruteforce >> blocking rules because they are completely legit. >> >> I guess the work around is to filter them on incoming together with our >> local bounce messaages util the spammers get tired of my address. >> >> Thanks for any suggestions, >> >> ed >> _______________________________________________ >> freebsd-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 16 16:59: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 1BE821065694 for ; Thu, 16 Oct 2008 16:59:18 +0000 (UTC) (envelope-from eculp@casasponti.net) Received: from ns2.bafirst.com (72-12-2-19.static.networktel.net [72.12.2.19]) by mx1.freebsd.org (Postfix) with ESMTP id C17FF8FC25 for ; Thu, 16 Oct 2008 16:59:17 +0000 (UTC) (envelope-from eculp@casasponti.net) Received: from casasponti.net ([201.155.7.3]) by ns2.bafirst.com with esmtp; Thu, 16 Oct 2008 11:59:15 -0500 id 000D52E8.48F772E4.00001FDD Received: from localhost (localhost [127.0.0.1]) (uid 80) by casasponti.net with local; Thu, 16 Oct 2008 11:58:44 -0500 id 00130D04.48F772C4.0000D1AA Received: from dsl-189-190-8-164.prod-infinitum.com.mx (dsl-189-190-8-164.prod-infinitum.com.mx [189.190.8.164]) by intranet.casasponti.net (Horde Framework) with HTTP; Thu, 16 Oct 2008 11:58:44 -0500 Message-ID: <20081016115844.17qwm4xcs6jkg84oc@intranet.casasponti.net> Date: Thu, 16 Oct 2008 11:58:44 -0500 From: eculp@casasponti.net To: freebsd-questions@freebsd.org References: <20081016090102.17qwm4xcs6f4so8ok@intranet.casasponti.net> <20081016145255.GA12638@icarus.home.lan> <48F75A88.1000507@infracaninophile.co.uk> <20081016173807.64d0f24e@gumby.homeunix.com.> In-Reply-To: <20081016173807.64d0f24e@gumby.homeunix.com.> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (5.0-cvs) X-Remote-Browser: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.17) Gecko/20080925 Firefox/2.0.0.17 X-IMP-Server: 201.155.7.3 X-Originating-IP: 189.190.8.164 X-Originating-User: eculp@casasponti.net Subject: Re: I've just found a new and interesting spam source - legitimate bounce messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 16:59:18 -0000 RW escribi=F3: > On Thu, 16 Oct 2008 08:54:55 -0700 (PDT) > Luke Dean wrote: > >> >> >> On Thu, 16 Oct 2008, Matthew Seaman wrote: >> >> > Until the wonderful day that the entire internet abides by these >> > rules[*], use >> > of technologies like SPF and DKIM can discourage but not entirely >> > prevent the spammers from joe-jobbing you. >> >> I just started getting these bouncebacks en masse this week. >> My mail provider publishes SPF records. > > SPF increases the probability of spam being rejected at the smtp > level at MX servers, so my expectation would be that it would exacerbate > backscatter not improve it. > > Many people recommend SPF for backscatter, but I've yet to hear a cogent > argument for why it helps beyond the very optimistic hope that spammers > will check that their spam is spf compliant. I feel the same way and thanks for adding some humor to the situation. ed > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.or= g" > From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 17:07: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 2F83A1065691 for ; Thu, 16 Oct 2008 17:07:25 +0000 (UTC) (envelope-from eculp@casasponti.net) Received: from ns2.bafirst.com (72-12-2-19.static.networktel.net [72.12.2.19]) by mx1.freebsd.org (Postfix) with ESMTP id D3EE28FC20 for ; Thu, 16 Oct 2008 17:07:24 +0000 (UTC) (envelope-from eculp@casasponti.net) Received: from casasponti.net ([201.155.7.3]) by ns2.bafirst.com with esmtp; Thu, 16 Oct 2008 12:07:21 -0500 id 000D52E8.48F774CA.00002069 Received: from localhost (localhost [127.0.0.1]) (uid 80) by casasponti.net with local; Thu, 16 Oct 2008 12:06:48 -0500 id 00130CC6.48F774A8.000109D6 Received: from dsl-189-190-8-164.prod-infinitum.com.mx (dsl-189-190-8-164.prod-infinitum.com.mx [189.190.8.164]) by intranet.casasponti.net (Horde Framework) with HTTP; Thu, 16 Oct 2008 12:06:48 -0500 Message-ID: <20081016120648.17qwm4xcs6kgwg884@intranet.casasponti.net> Date: Thu, 16 Oct 2008 12:06:48 -0500 From: eculp@casasponti.net To: freebsd-questions@freebsd.org References: <20081016090102.17qwm4xcs6f4so8ok@intranet.casasponti.net> <20081016162641.GA16819@ayn.mi.celestial.com> In-Reply-To: <20081016162641.GA16819@ayn.mi.celestial.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (5.0-cvs) X-Remote-Browser: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.17) Gecko/20080925 Firefox/2.0.0.17 X-IMP-Server: 201.155.7.3 X-Originating-IP: 189.190.8.164 X-Originating-User: eculp@casasponti.net Subject: Re: I've just found a new and interesting spam source - legitimate bounce messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 17:07:25 -0000 Bill Campbell escribi=F3: > On Thu, Oct 16, 2008, eculp@casasponti.net wrote: >> In the last hour, I've received over 200 legitimate bounce messages from >> email services as a result of someone having used or worse is using my >> email address in spam from multiple windows machines and ip addresses. >> The end result is that I am getting the bounce messages. I'm sure that >> others on this list have experienced the problem and maybe have a >> solution that I don't have. > > Did these come from Barracuda boxes? > > Blowback like this is hardly new or legitimate as the From and Sender > header addresses are often (usually) forged in spam, and it does not do > anything useful to reply to them. The forged addresses may just be > something scraped from the address book of a machine running the Microsoft > virus, Windows, or a deliberate ``Joe Job'' where a spammer is targeting > somebody who may have caused them problems. It had just got up this morning and found my mailbox full of these and =20 lost my cool. I probably sent the email too quickly. Thanks for =20 helping me get it together. ed > > Bill > -- > INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC > URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way > Voice: (206) 236-1676 Mercer Island, WA 98040-0820 > Fax: (206) 232-9186 > > Common sense is genius dressed in its working clothes. > -- Ralph Waldo Emerson > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.or= g" > From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 17:11: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 0C61E1065688 for ; Thu, 16 Oct 2008 17:11:48 +0000 (UTC) (envelope-from eculp@casasponti.net) Received: from ns2.bafirst.com (72-12-2-19.static.networktel.net [72.12.2.19]) by mx1.freebsd.org (Postfix) with ESMTP id 991978FC20 for ; Thu, 16 Oct 2008 17:11:47 +0000 (UTC) (envelope-from eculp@casasponti.net) Received: from casasponti.net ([201.155.7.3]) by ns2.bafirst.com with esmtp; Thu, 16 Oct 2008 12:11:41 -0500 id 000D52E8.48F775CF.000020AE Received: from localhost (localhost [127.0.0.1]) (uid 80) by casasponti.net with local; Thu, 16 Oct 2008 12:11:07 -0500 id 00130CED.48F775AB.00010AAA Received: from dsl-189-190-8-164.prod-infinitum.com.mx (dsl-189-190-8-164.prod-infinitum.com.mx [189.190.8.164]) by intranet.casasponti.net (Horde Framework) with HTTP; Thu, 16 Oct 2008 12:11:07 -0500 Message-ID: <20081016121107.17qwm4xcs6kgwg884@intranet.casasponti.net> Date: Thu, 16 Oct 2008 12:11:07 -0500 From: eculp@casasponti.net To: freebsd-questions@freebsd.org References: <20081016090102.17qwm4xcs6f4so8ok@intranet.casasponti.net> <20081016145255.GA12638@icarus.home.lan> <48F75A88.1000507@infracaninophile.co.uk> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (5.0-cvs) X-Remote-Browser: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.17) Gecko/20080925 Firefox/2.0.0.17 X-IMP-Server: 201.155.7.3 X-Originating-IP: 189.190.8.164 X-Originating-User: eculp@casasponti.net Subject: Re: I've just found a new and interesting spam source - legitimate bounce messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 17:11:48 -0000 Luke Dean escribi=F3: > > > On Thu, 16 Oct 2008, Matthew Seaman wrote: > >> Until the wonderful day that the entire internet abides by these =20 >> rules[*], use >> of technologies like SPF and DKIM can discourage but not entirely =20 >> prevent the >> spammers from joe-jobbing you. > > I just started getting these bouncebacks en masse this week. > My mail provider publishes SPF records. > If the names and numbers in the bouceback messages are to be =20 > believed, however, the spammers have defeated SPF by hijacking DNS. =20 > The poor recipients never see my SPF records because they're looking =20 > at the wrong IP address. Thanks, Matthew. I guess that is the root problem of spf, the =20 spammers, that it is supposed to stop. It looks a bit like our =20 economy, a loosing battle. It really make me feel impotent this morning. Have a great day, ed From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 17:18: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 AF7531065690 for ; Thu, 16 Oct 2008 17:18:23 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id DA77C8FC1D for ; Thu, 16 Oct 2008 17:18:22 +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 m9GHHVXd027209; Thu, 16 Oct 2008 18:17:32 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk m9GHHVXd027209 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1224177453; bh=Ho/qE2AhLMr4ly wpP7/IK/oyBqZBxfAJ7sKvQ1/FlQE=; 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<48F77723.9090003@infracaninophile.co.uk>|Date:=20Thu,=2 016=20Oct=202008=2018:17:23=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.17=20(X11/20080929)|MIME-Version:=201 .0|To:=20eculp@casasponti.net|CC:=20freebsd-questions@freebsd.org|S ubject:=20Re:=20I've=20just=20found=20a=20new=20and=20interesting=2 0spam=20source=20-=20legitimate=0D=0A=20bounce=20messages|Reference s:=20<20081016090102.17qwm4xcs6f4so8ok@intranet.casasponti.net>=09< 20081016145255.GA12638@icarus.home.lan>=09<48F75A88.1000507@infraca ninophile.co.uk>=09=09<20081016173807.64d0f24e@gumby.homeunix.com.>=20<2 0081016115844.17qwm4xcs6jkg84oc@intranet.casasponti.net>|In-Reply-T o:=20<20081016115844.17qwm4xcs6jkg84oc@intranet.casasponti.net>|X-E nigmail-Version:=200.95.6|Content-Type:=20multipart/signed=3B=20mic alg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"application/pgp-signature"= 3B=0D=0A=20boundary=3D"------------enig836C53A80A47A3BC8F209E27"; b=gbLBlOs5AyKPJo9bAX6p9HHiWnfyrpcJClfpVYo9VgZu87Mqr9OQTHY9p3mlBYJNm aE1HHzBExNUKVKjah7CXy7HGm1XP0CX6CBN1IuWjgNQ7MLo+I+qXBT871E832OyP7/E 3Qvi/D4AH8WobVuJ8x4xzlHzuGRFr4KisHaufJA= Message-ID: <48F77723.9090003@infracaninophile.co.uk> Date: Thu, 16 Oct 2008 18:17:23 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.17 (X11/20080929) MIME-Version: 1.0 To: eculp@casasponti.net References: <20081016090102.17qwm4xcs6f4so8ok@intranet.casasponti.net> <20081016145255.GA12638@icarus.home.lan> <48F75A88.1000507@infracaninophile.co.uk> <20081016173807.64d0f24e@gumby.homeunix.com.> <20081016115844.17qwm4xcs6jkg84oc@intranet.casasponti.net> In-Reply-To: <20081016115844.17qwm4xcs6jkg84oc@intranet.casasponti.net> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig836C53A80A47A3BC8F209E27" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (smtp.infracaninophile.co.uk [IPv6:::1]); Thu, 16 Oct 2008 18:17:33 +0100 (BST) X-Virus-Scanned: ClamAV 0.94/8434/Thu Oct 16 11:16:49 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: I've just found a new and interesting spam source - legitimate bounce messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 17:18:23 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig836C53A80A47A3BC8F209E27 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable eculp@casasponti.net wrote: > RW escribi=F3: >=20 >> On Thu, 16 Oct 2008 08:54:55 -0700 (PDT) >> Luke Dean wrote: >> >>> >>> >>> On Thu, 16 Oct 2008, Matthew Seaman wrote: >>> >>> > Until the wonderful day that the entire internet abides by these >>> > rules[*], use >>> > of technologies like SPF and DKIM can discourage but not entirely >>> > prevent the spammers from joe-jobbing you. >>> >>> I just started getting these bouncebacks en masse this week. >>> My mail provider publishes SPF records. >> >> SPF increases the probability of spam being rejected at the smtp >> level at MX servers, so my expectation would be that it would exacerba= te >> backscatter not improve it. >> >> Many people recommend SPF for backscatter, but I've yet to hear a coge= nt >> argument for why it helps beyond the very optimistic hope that spammer= s >> will check that their spam is spf compliant. >=20 > I feel the same way and thanks for adding some humor to the situation. Most spammers aren't aiming to generate back-scatter as their primary means of disseminating their spam, so they'll do what they can to get the best chance of a successful delivery. That means sending SPF=20 compliant e-mails where possible. It's actually quite simple for them=20 to filter out SPF protected addresses from their target lists, so they=20 do tend to do that, and it's typically the same list of target addresses = they use for forged senders too. It's telling that both having a correct= SPF record and having no SPF record at all have a zero score in SpamAss= assin (ie. neutral) whereas non-compliance scores=20 lots of spam points. Also see my point earlier about rejecting messages during the SMTP=20 dialogue. SPF is easy to check early and lets you reject messages before acknowledging receiving them, which means a lot fewer bounce=20 messages to (probably forged) sender addresses. 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 --------------enig836C53A80A47A3BC8F209E27 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 iEYEAREIAAYFAkj3dysACgkQ8Mjk52CukIy6ZACfad4qwqqZvKL5zaPwHSLZ90jN 9g4AoI3SwLK79H5nZf8lHHvNsTwhzuxi =ifkS -----END PGP SIGNATURE----- --------------enig836C53A80A47A3BC8F209E27-- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 17:19: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 9ED4B1065692 for ; Thu, 16 Oct 2008 17:19:14 +0000 (UTC) (envelope-from eculp@casasponti.net) Received: from ns2.bafirst.com (72-12-2-19.static.networktel.net [72.12.2.19]) by mx1.freebsd.org (Postfix) with ESMTP id 530058FC1E for ; Thu, 16 Oct 2008 17:19:14 +0000 (UTC) (envelope-from eculp@casasponti.net) Received: from casasponti.net ([201.155.7.3]) by ns2.bafirst.com with esmtp; Thu, 16 Oct 2008 12:19:10 -0500 id 000D52D3.48F7778F.00002120 Received: from localhost (localhost [127.0.0.1]) (uid 80) by casasponti.net with local; Thu, 16 Oct 2008 12:18:36 -0500 id 00130D08.48F7776C.00010C08 Received: from dsl-189-190-8-164.prod-infinitum.com.mx (dsl-189-190-8-164.prod-infinitum.com.mx [189.190.8.164]) by intranet.casasponti.net (Horde Framework) with HTTP; Thu, 16 Oct 2008 12:18:36 -0500 Message-ID: <20081016121836.17qwm4xcs6kgwg88w@intranet.casasponti.net> Date: Thu, 16 Oct 2008 12:18:36 -0500 From: eculp@casasponti.net To: freebsd-questions@freebsd.org References: <20081016090102.17qwm4xcs6f4so8ok@intranet.casasponti.net> <20081016145255.GA12638@icarus.home.lan> In-Reply-To: <20081016145255.GA12638@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (5.0-cvs) X-Remote-Browser: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.17) Gecko/20080925 Firefox/2.0.0.17 X-IMP-Server: 201.155.7.3 X-Originating-IP: 189.190.8.164 X-Originating-User: eculp@casasponti.net Subject: Re: I've just found a new and interesting spam source - legitimate bounce messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 17:19:14 -0000 Jeremy Chadwick escribi=F3: > On Thu, Oct 16, 2008 at 09:01:02AM -0500, eculp@casasponti.net wrote: >> In the last hour, I've received over 200 legitimate bounce messages from >> email services as a result of someone having used or worse is using my >> email address in spam from multiple windows machines and ip addresses. >> The end result is that I am getting the bounce messages. I'm sure that >> others on this list have experienced the problem and maybe have a >> solution that I don't have. >> >> The messages are allowed through my obspamd/pf and pf smtp bruteforce >> blocking rules because they are completely legit. >> >> I guess the work around is to filter them on incoming together with our >> local bounce messaages util the spammers get tired of my address. > > The term coined for this type of mail is "backscatter". > > There is no easy solution for this. The backscatter article on > postfix.org, for example, caused our mail servers to start rejecting > mail that was generated from PHP scripts and CGIs on our own systems, > which makes no sense. The article: > > http://www.postfix.org/BACKSCATTER_README.html Thanks for the article, Jeremy. I hadn't seen it. > If the backscatter is all directed to a single Email address (rather > than a series of addresses, e.g. sdfkjhsfjkksjdf@yourdomain.com, and > you have *@yourdomain.com accepted), then a solution is to reject > mail with an RCPT TO of an account or virtual address that does not > exist on your machine. > > This, of course, has a wonderful side effect: spammers now have a way to > detect what Email addresses on your box legitimately accept mail, thus > once they find one which never gets a bounceback, will start pounding > that address to kingdom come. > > Let me know if you do find a reliable, decent solution that does not > involve SPF or postfix header_checks or body_checks. I wish ;) Thanks again, ed > > -- > | 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.or= g" > From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 17:19: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 E0C3810656C7 for ; Thu, 16 Oct 2008 17:19:28 +0000 (UTC) (envelope-from fbsd06+2Y=2c6cacb6@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 B49A38FC1D for ; Thu, 16 Oct 2008 17:19:28 +0000 (UTC) (envelope-from fbsd06+2Y=2c6cacb6@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 7671BD05AF for ; Thu, 16 Oct 2008 13:19:27 -0400 (EDT) Date: Thu, 16 Oct 2008 18:19:25 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20081016181925.0af7e1d7@gumby.homeunix.com.> In-Reply-To: <20081016115844.17qwm4xcs6jkg84oc@intranet.casasponti.net> References: <20081016090102.17qwm4xcs6f4so8ok@intranet.casasponti.net> <20081016145255.GA12638@icarus.home.lan> <48F75A88.1000507@infracaninophile.co.uk> <20081016173807.64d0f24e@gumby.homeunix.com.> <20081016115844.17qwm4xcs6jkg84oc@intranet.casasponti.net> 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: I've just found a new and interesting spam source - legitimate bounce messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 17:19:29 -0000 On Thu, 16 Oct 2008 11:58:44 -0500 eculp@casasponti.net wrote: > RW escribi__: > > > Many people recommend SPF for backscatter, but I've yet to hear a > > cogent argument for why it helps beyond the very optimistic hope > > that spammers will check that their spam is spf compliant. > > I feel the same way and thanks for adding some humor to the situation. Actually that wasn't a joke, some people do cite that as the reason why SPF helps with backscatter, that spammers will leave your domain out of the "mail from" line if you publish SPF records for it. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 17:22: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 1881610656AB for ; Thu, 16 Oct 2008 17:22:37 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout016.mac.com (asmtpout016.mac.com [17.148.16.91]) by mx1.freebsd.org (Postfix) with ESMTP id 014BF8FC13 for ; Thu, 16 Oct 2008 17:22:36 +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 asmtp016.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0K8U006R1DL8XY90@asmtp016.mac.com> for freebsd-questions@freebsd.org; Thu, 16 Oct 2008 10:22:20 -0700 (PDT) Message-id: <622D90E8-81AB-4A0A-9436-4662E33D117D@mac.com> From: Chuck Swiger To: RW In-reply-to: <20081016173807.64d0f24e@gumby.homeunix.com> Date: Thu, 16 Oct 2008 10:22:20 -0700 References: <20081016090102.17qwm4xcs6f4so8ok@intranet.casasponti.net> <20081016145255.GA12638@icarus.home.lan> <48F75A88.1000507@infracaninophile.co.uk> <20081016173807.64d0f24e@gumby.homeunix.com> X-Mailer: Apple Mail (2.929.2) Cc: FreeBSD Mailing List Subject: Re: I've just found a new and interesting spam source - legitimate bounce messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 17:22:37 -0000 On Oct 16, 2008, at 9:38 AM, RW wrote: > SPF increases the probability of spam being rejected at the smtp > level at MX servers, so my expectation would be that it would > exacerbate > backscatter not improve it. The main problem resulting in backscatter happens when forged spam from yourdomain.com get gets sent to a legit MX server which accepts the mail initially, and then generates a bounce due to later spam checking or failed delivery to an invalid user. The bounces which then get generated by the legit MX are likely to pass spam checking at yourdomain.com. > Many people recommend SPF for backscatter, but I've yet to hear a > cogent > argument for why it helps beyond the very optimistic hope that > spammers > will check that their spam is spf compliant. SPF doesn't provide a magic solution to backscatter, but it helps simplify the problem. If spam can be rejected during the SMTP phase rather than accepted, then most spam-spewing malware simply drops the attempted message rather than actually send a bounce to yourdomain.com. After all, the spammer is looking to deliver spam to lots of different mailboxes, not deliver tons of DSNs to a single mailbox or domain. Failing that, however, any bounces which are being generated are coming from or at least closer to the source of the spam, rather than coming from gmail, hotmail, etc. And if the spamming machine is forging your domain, then yourdomain.com MX boxes have a decent shot of rejecting the forgeries via hello_checks, RBLs, or other methods. Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 17:29: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 8892D10656A7 for ; Thu, 16 Oct 2008 17:29:42 +0000 (UTC) (envelope-from eculp@casasponti.net) Received: from ns2.bafirst.com (72-12-2-19.static.networktel.net [72.12.2.19]) by mx1.freebsd.org (Postfix) with ESMTP id F0DF08FC1F for ; Thu, 16 Oct 2008 17:29:41 +0000 (UTC) (envelope-from eculp@casasponti.net) Received: from casasponti.net ([201.155.7.3]) by ns2.bafirst.com with esmtp; Thu, 16 Oct 2008 12:29:38 -0500 id 000D52D3.48F77A03.000021B0 Received: from localhost (localhost [127.0.0.1]) (uid 80) by casasponti.net with local; Thu, 16 Oct 2008 12:29:05 -0500 id 00130C12.48F779E1.00010DDD Received: from dsl-189-190-8-164.prod-infinitum.com.mx (dsl-189-190-8-164.prod-infinitum.com.mx [189.190.8.164]) by intranet.casasponti.net (Horde Framework) with HTTP; Thu, 16 Oct 2008 12:29:05 -0500 Message-ID: <20081016122905.17qwm4xcs6kgwg88w@intranet.casasponti.net> Date: Thu, 16 Oct 2008 12:29:05 -0500 From: eculp@casasponti.net To: freebsd-questions@freebsd.org References: <20081016090102.17qwm4xcs6f4so8ok@intranet.casasponti.net> <20081016145255.GA12638@icarus.home.lan> <48F75A88.1000507@infracaninophile.co.uk> <20081016173807.64d0f24e@gumby.homeunix.com> <622D90E8-81AB-4A0A-9436-4662E33D117D@mac.com> In-Reply-To: <622D90E8-81AB-4A0A-9436-4662E33D117D@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (5.0-cvs) X-Remote-Browser: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.17) Gecko/20080925 Firefox/2.0.0.17 X-IMP-Server: 201.155.7.3 X-Originating-IP: 189.190.8.164 X-Originating-User: eculp@casasponti.net Subject: Re: I've just found a new and interesting spam source - legitimate bounce messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 17:29:42 -0000 Chuck Swiger escribi=F3: > On Oct 16, 2008, at 9:38 AM, RW wrote: >> SPF increases the probability of spam being rejected at the smtp >> level at MX servers, so my expectation would be that it would exacerbate >> backscatter not improve it. > > The main problem resulting in backscatter happens when forged spam =20 > from yourdomain.com get gets sent to a legit MX server which accepts =20 > the mail initially, and then generates a bounce due to later spam =20 > checking or failed delivery to an invalid user. The bounces which =20 > then get generated by the legit MX are likely to pass spam checking =20 > at yourdomain.com. Exactly what seems to be happening. >> Many people recommend SPF for backscatter, but I've yet to hear a cogent >> argument for why it helps beyond the very optimistic hope that spammers >> will check that their spam is spf compliant. > > > SPF doesn't provide a magic solution to backscatter, but it helps =20 > simplify the problem. It should. > If spam can be rejected during the SMTP phase rather than accepted, =20 > then most spam-spewing malware simply drops the attempted message =20 > rather than actually send a bounce to yourdomain.com. After all, =20 > the spammer is looking to deliver spam to lots of different =20 > mailboxes, not deliver tons of DSNs to a single mailbox or domain. =20 > Failing that, however, any bounces which are being generated are =20 > coming from or at least closer to the source of the spam, rather =20 > than coming from gmail, hotmail, etc. And if the spamming machine =20 > is forging your domain, then yourdomain.com MX boxes have a decent =20 > shot of rejecting the forgeries via hello_checks, RBLs, or other =20 > methods. Thanks Chuck, ed From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 17:35: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 7F45C1065677 for ; Thu, 16 Oct 2008 17:35:44 +0000 (UTC) (envelope-from eculp@casasponti.net) Received: from ns2.bafirst.com (72-12-2-19.static.networktel.net [72.12.2.19]) by mx1.freebsd.org (Postfix) with ESMTP id 2E1628FC1A for ; Thu, 16 Oct 2008 17:35:44 +0000 (UTC) (envelope-from eculp@casasponti.net) Received: from casasponti.net ([201.155.7.3]) by ns2.bafirst.com with esmtp; Thu, 16 Oct 2008 12:35:41 -0500 id 000D52D3.48F77B6E.000021FE Received: from localhost (localhost [127.0.0.1]) (uid 80) by casasponti.net with local; Thu, 16 Oct 2008 12:35:08 -0500 id 00130C12.48F77B4C.00010F0A Received: from dsl-189-190-8-164.prod-infinitum.com.mx (dsl-189-190-8-164.prod-infinitum.com.mx [189.190.8.164]) by intranet.casasponti.net (Horde Framework) with HTTP; Thu, 16 Oct 2008 12:35:08 -0500 Message-ID: <20081016123508.17qwm4xcs6kgwg8so@intranet.casasponti.net> Date: Thu, 16 Oct 2008 12:35:08 -0500 From: eculp@casasponti.net To: freebsd-questions@freebsd.org References: <20081016090102.17qwm4xcs6f4so8ok@intranet.casasponti.net> <20081016145255.GA12638@icarus.home.lan> <48F75A88.1000507@infracaninophile.co.uk> <20081016173807.64d0f24e@gumby.homeunix.com.> <20081016115844.17qwm4xcs6jkg84oc@intranet.casasponti.net> <20081016181925.0af7e1d7@gumby.homeunix.com.> In-Reply-To: <20081016181925.0af7e1d7@gumby.homeunix.com.> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (5.0-cvs) X-Remote-Browser: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.17) Gecko/20080925 Firefox/2.0.0.17 X-IMP-Server: 201.155.7.3 X-Originating-IP: 189.190.8.164 X-Originating-User: eculp@casasponti.net Subject: Re: I've just found a new and interesting spam source - legitimate bounce messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 17:35:44 -0000 RW escribi=F3: > On Thu, 16 Oct 2008 11:58:44 -0500 > eculp@casasponti.net wrote: > >> RW escribi__: >> >> > Many people recommend SPF for backscatter, but I've yet to hear a >> > cogent argument for why it helps beyond the very optimistic hope >> > that spammers will check that their spam is spf compliant. >> >> I feel the same way and thanks for adding some humor to the situation. > > Actually that wasn't a joke, some people do cite that as the reason > why SPF helps with backscatter, that spammers will leave your domain > out of the "mail from" line if you publish SPF records for it. I see that but it still touched my funny bone but the problem is how =20 many mail servers and admins completely ignore SPF and what happens to =20 those who do try to comply? I'm sure that the hundreds of bounces =20 that I have received are minimal in comparison to the delivered email. =20 In fact many are reporting that a user is "over quota" Thanks, ed From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 17:22: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 E92AC1065689 for ; Thu, 16 Oct 2008 17:22:54 +0000 (UTC) (envelope-from eculp@casasponti.net) Received: from ns2.bafirst.com (72-12-2-19.static.networktel.net [72.12.2.19]) by mx1.freebsd.org (Postfix) with ESMTP id 9C9C18FC2D for ; Thu, 16 Oct 2008 17:22:54 +0000 (UTC) (envelope-from eculp@casasponti.net) Received: from casasponti.net ([201.155.7.3]) by ns2.bafirst.com with esmtp; Thu, 16 Oct 2008 12:22:51 -0500 id 000D52D3.48F7786C.00002169 Received: from localhost (localhost [127.0.0.1]) (uid 80) by casasponti.net with local; Thu, 16 Oct 2008 12:22:18 -0500 id 00130C12.48F7784A.00010CC3 Received: from dsl-189-190-8-164.prod-infinitum.com.mx (dsl-189-190-8-164.prod-infinitum.com.mx [189.190.8.164]) by intranet.casasponti.net (Horde Framework) with HTTP; Thu, 16 Oct 2008 12:22:18 -0500 Message-ID: <20081016122218.17qwm4xcs6kgwg88w@intranet.casasponti.net> Date: Thu, 16 Oct 2008 12:22:18 -0500 From: eculp@casasponti.net To: freebsd-questions@freebsd.org References: <20081016090102.17qwm4xcs6f4so8ok@intranet.casasponti.net> <9D30C77B8D64AF7622CA19B6@utd65257.utdallas.edu> In-Reply-To: <9D30C77B8D64AF7622CA19B6@utd65257.utdallas.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (5.0-cvs) X-Remote-Browser: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.17) Gecko/20080925 Firefox/2.0.0.17 X-IMP-Server: 201.155.7.3 X-Originating-IP: 189.190.8.164 X-Originating-User: eculp@casasponti.net X-Mailman-Approved-At: Thu, 16 Oct 2008 17:39:12 +0000 Subject: Re: I've just found a new and interesting spam source - legitimate bounce messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 17:22:55 -0000 Paul Schmehl escribi=F3: > --On Thursday, October 16, 2008 09:01:02 -0500 eculp@casasponti.net wrote: > >> >> In the last hour, I've received over 200 legitimate bounce messages >> from email services as a result of someone having used or worse is >> using my email address in spam from multiple windows machines and ip >> addresses. The end result is that I am getting the bounce messages. >> I'm sure that others on this list have experienced the problem and >> maybe have a solution that I don't have. >> >> The messages are allowed through my obspamd/pf and pf smtp bruteforce >> blocking rules because they are completely legit. >> >> I guess the work around is to filter them on incoming together with >> our local bounce messaages util the spammers get tired of my address. >> > > We call those "bounceback spam". The only solution that I know of =20 > is to tag all outgoing messages with a special header and then check =20 > for that header on all returns and reject those that don't contain =20 > the header. All legitimate bounces would contain the header because =20 > they originated with your MTA. > > E.g. X-Bounceback-Check: 0987923874 I have added headers for years but unfortunately these didn't =20 originate on my servers. My email address was used as the return =20 address for spam sent from multiple windows machines to .ru addresses. Thanks for the suggestion, Paul. ed > > The value of the header can be anything you want it to be, and you =20 > can change it periodically if you want to keep statistical data. > > --=20 > Paul Schmehl (pauls@utdallas.edu) > Senior Information Security Analyst > The University of Texas at Dallas > http://www.utdallas.edu/ir/security/ > From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 17:39: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 CF2A7106568F for ; Thu, 16 Oct 2008 17:39:49 +0000 (UTC) (envelope-from eculp@casasponti.net) Received: from ns2.bafirst.com (72-12-2-19.static.networktel.net [72.12.2.19]) by mx1.freebsd.org (Postfix) with ESMTP id 91FC98FC1F for ; Thu, 16 Oct 2008 17:39:49 +0000 (UTC) (envelope-from eculp@casasponti.net) Received: from casasponti.net ([201.155.7.3]) by ns2.bafirst.com with esmtp; Thu, 16 Oct 2008 12:39:44 -0500 id 000D52D3.48F77C62.00002213 Received: from localhost (localhost [127.0.0.1]) (uid 80) by casasponti.net with local; Thu, 16 Oct 2008 12:39:11 -0500 id 00130D0F.48F77C3F.00010F65 Received: from dsl-189-190-8-164.prod-infinitum.com.mx (dsl-189-190-8-164.prod-infinitum.com.mx [189.190.8.164]) by intranet.casasponti.net (Horde Framework) with HTTP; Thu, 16 Oct 2008 12:39:11 -0500 Message-ID: <20081016123911.17qwm4xcs6kgwg8so@intranet.casasponti.net> Date: Thu, 16 Oct 2008 12:39:11 -0500 From: eculp@casasponti.net To: freebsd-questions@freebsd.org References: <20081016090102.17qwm4xcs6f4so8ok@intranet.casasponti.net> <20081016145255.GA12638@icarus.home.lan> <48F75A88.1000507@infracaninophile.co.uk> <20081016173807.64d0f24e@gumby.homeunix.com.> <20081016115844.17qwm4xcs6jkg84oc@intranet.casasponti.net> <48F77723.9090003@infracaninophile.co.uk> In-Reply-To: <48F77723.9090003@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (5.0-cvs) X-Remote-Browser: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.17) Gecko/20080925 Firefox/2.0.0.17 X-IMP-Server: 201.155.7.3 X-Originating-IP: 189.190.8.164 X-Originating-User: eculp@casasponti.net Subject: Re: I've just found a new and interesting spam source - legitimate bounce messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 17:39:50 -0000 Matthew Seaman escribi=F3: > eculp@casasponti.net wrote: >> RW escribi=F3: >> >>> On Thu, 16 Oct 2008 08:54:55 -0700 (PDT) >>> Luke Dean wrote: >>> >>>> >>>> >>>> On Thu, 16 Oct 2008, Matthew Seaman wrote: >>>> >>>>> Until the wonderful day that the entire internet abides by these >>>>> rules[*], use >>>>> of technologies like SPF and DKIM can discourage but not entirely >>>>> prevent the spammers from joe-jobbing you. >>>> >>>> I just started getting these bouncebacks en masse this week. >>>> My mail provider publishes SPF records. >>> >>> SPF increases the probability of spam being rejected at the smtp >>> level at MX servers, so my expectation would be that it would exacerbate >>> backscatter not improve it. >>> >>> Many people recommend SPF for backscatter, but I've yet to hear a cogent >>> argument for why it helps beyond the very optimistic hope that spammers >>> will check that their spam is spf compliant. >> >> I feel the same way and thanks for adding some humor to the situation. > > Most spammers aren't aiming to generate back-scatter as their primary > means of disseminating their spam, so they'll do what they can to get > the best chance of a successful delivery. That means sending SPF =20 > compliant e-mails where possible. It's actually quite simple for =20 > them to filter out SPF protected addresses from their target lists, =20 > so they do tend to do that, and it's typically the same list of =20 > target addresses they use for forged senders too. It's telling that =20 > both having a correct SPF record and having no SPF record at all =20 > have a zero score in SpamAssassin (ie. neutral) whereas =20 > non-compliance scores lots of spam points. > > Also see my point earlier about rejecting messages during the SMTP =20 > dialogue. SPF is easy to check early and lets you reject messages > before acknowledging receiving them, which means a lot fewer bounce =20 > messages to (probably forged) sender addresses. Thanks, Matthew. That I've not done due to the possibility of rejecting legit email. =20 I'm going to revisit that decision. ed > > =09Cheers, > > =09Matthew > > --=20 > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > Kent, CT11 9PW > > From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 17:59: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 5796B106568A for ; Thu, 16 Oct 2008 17:59:44 +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 F19A18FC1F for ; Thu, 16 Oct 2008 17:59:43 +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 TQn11a0061HzFnQ51VzjAm; Thu, 16 Oct 2008 17:59:43 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA14.westchester.pa.mail.comcast.net with comcast id TVzh1a00P2P6wsM3aVzhdZ; Thu, 16 Oct 2008 17:59:42 +0000 X-Authority-Analysis: v=1.0 c=1 a=xV6OIcyWy4YA:10 a=q5Nov78KhrQA:10 a=QycZ5dHgAAAA:8 a=Jwy_ZDAPcN797sOI8h0A:9 a=DzFoMhrqym26OFj1DYgA:7 a=6kRpYGhVBNwmS_eN136dZFxDVsYA:4 a=8sFLHOSOImcA:10 a=j33SjboCZK4A:10 a=EoioJ0NPDVgA:10 a=qIVjreYYsbEA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 5992FC941C; Thu, 16 Oct 2008 10:59:41 -0700 (PDT) Date: Thu, 16 Oct 2008 10:59:41 -0700 From: Jeremy Chadwick To: RW Message-ID: <20081016175941.GB16235@icarus.home.lan> References: <20081016090102.17qwm4xcs6f4so8ok@intranet.casasponti.net> <20081016145255.GA12638@icarus.home.lan> <48F75A88.1000507@infracaninophile.co.uk> <20081016173807.64d0f24e@gumby.homeunix.com.> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081016173807.64d0f24e@gumby.homeunix.com.> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org, Luke Dean Subject: Re: I've just found a new and interesting spam source - legitimate bounce messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 17:59:44 -0000 On Thu, Oct 16, 2008 at 05:38:07PM +0100, RW wrote: > On Thu, 16 Oct 2008 08:54:55 -0700 (PDT) > Luke Dean wrote: > > > > > > > On Thu, 16 Oct 2008, Matthew Seaman wrote: > > > > > Until the wonderful day that the entire internet abides by these > > > rules[*], use > > > of technologies like SPF and DKIM can discourage but not entirely > > > prevent the spammers from joe-jobbing you. > > > > I just started getting these bouncebacks en masse this week. > > My mail provider publishes SPF records. > > SPF increases the probability of spam being rejected at the smtp > level at MX servers, so my expectation would be that it would exacerbate > backscatter not improve it. Just a side comment for added clarity: this ultimately depends on how the mail server administrator implemented SPF. For example, our mail servers *do not* do SPF lookups at the SMTP level (e.g. in postfix) because 1) the added complexity is not worth it, and 2) spammers are now hijacking DNS. Instead, our servers use SPF in SpamAssassin, subtracting from the spam probability score if an SPF record is found and matches appropriately. -- | 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 16 18: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 BD1701065699 for ; Thu, 16 Oct 2008 18:19:01 +0000 (UTC) (envelope-from svein-listmail@d80.iso100.no) Received: from d80.iso100.no (d80.iso100.no [81.175.61.195]) by mx1.freebsd.org (Postfix) with ESMTP id 6D9DC8FC17 for ; Thu, 16 Oct 2008 18:19:01 +0000 (UTC) (envelope-from svein-listmail@d80.iso100.no) Received: from localhost (unknown [127.0.0.1]) by d80.iso100.no (Familien Skogens mail) with ESMTP id 2B9672285E; Thu, 16 Oct 2008 20:18:59 +0200 (CEST) X-Virus-Scanned: amavisd-new at d80.iso100.no Received: from d80.iso100.no ([127.0.0.1]) by localhost (d80.iso100.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7NWsZXuhphKL; Thu, 16 Oct 2008 20:18:57 +0200 (CEST) Received: from [192.168.4.32] (unknown [192.168.4.32]) (Authenticated sender: svein) by d80.iso100.no (Familien Skogens mail) with ESMTPSA id D3BF02285D; Thu, 16 Oct 2008 20:18:57 +0200 (CEST) Message-ID: <48F7856B.9010401@d80.iso100.no> Date: Thu, 16 Oct 2008 20:18:19 +0200 From: "Svein Skogen (List Mail Account)" User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Dan Nelson References: <48F72A5D.7000708@d80.iso100.no> <863aiw91th.fsf@srvbsdnanssv.interne.kisoft-services.com> <48F73B8C.8090402@d80.iso100.no> <86hc7cr47q.fsf@srvbsdnanssv.interne.kisoft-services.com> <20081016164640.GG99270@dan.emsphone.com> In-Reply-To: <20081016164640.GG99270@dan.emsphone.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Eric Masson , Mailing List FreeBSD Questions Subject: Re: FreeBSD RELENG_7 scsi and usb, usb disks take precedence X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 18:19:01 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dan Nelson wrote: > In the last episode (Oct 16), Eric Masson said: >> "Svein Skogen (List Mail Account)" writes: >>> With all due respect, if sysinstall isn't able to write those labels, >>> this is hardly the solution to the problem... ;) >> Sysinstall, even if it has proven to be useful, is outdated in many >> respects, it doesn't cope really well with GEOM or ZFS for example. >> >> Using GEOM labels ensure that fstab will always be consistent, so >> *this is* a solution. >> >> Now, you can try to patch the kernel to make it probe devices in a >> predefined & sorted order, but I guess it will be much more difficult >> ;) > > No patching needed. You can wire down the unit number of your scsi bus > and drive with boot hints as described in the scsi(4) manpage. Wire > the adaptec card down as scbus0, and wire the device at scbus0.0 down > as da0. Thank you. :) //Svein -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkj3hWsACgkQtVbTV+BEzaOsfgCfWYOjk23XVQhESghcBb6IGuNH xkIAnRSpdXWZ9yLxQMiFlV++8cAsmTgT =Qkdr -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 19:48: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 E19331065687 for ; Thu, 16 Oct 2008 19:48:11 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from hawk.thalamus.net (hawk.thalamus.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id 9FB008FC1C for ; Thu, 16 Oct 2008 19:48:10 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from localhost (localhost.thalamus.net [127.0.0.1]) by hawk.thalamus.net (Postfix) with ESMTP id DE6851EE81B for ; Thu, 16 Oct 2008 21:47:57 +0200 (CEST) X-Virus-Scanned: by amavisd-new at thalamus.net X-Spam-Flag: NO X-Spam-Score: 2.395 X-Spam-Level: ** X-Spam-Status: No, score=2.395 tagged_above=-999 required=4.2 tests=[AWL=-0.774, HELO_LH_HOME=3.169] Received: from hawk.thalamus.net ([127.0.0.1]) by localhost (hawk.thalamus.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GJGxiVcWySIn for ; Thu, 16 Oct 2008 21:47:48 +0200 (CEST) Received: from lesbsdpc.homenet.home (c-195-216-040-164.static.bjare.net [195.216.40.164]) by hawk.thalamus.net (Postfix) with ESMTP id C93AD1EE91C for ; Thu, 16 Oct 2008 21:47:35 +0200 (CEST) Message-ID: <48F79A63.2000702@eskk.nu> Date: Thu, 16 Oct 2008 21:47:47 +0200 From: Leslie Jensen 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: Lost the "require" meny alternative with Gimp 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: Thu, 16 Oct 2008 19:48:12 -0000 Hello I upgraded Gimp to version 2.6.1 and now I do not have the require (for scanning) meny choice anymore. Any ideas on how to get the function back. I can scan using xscanimage but it takes more steps to get the scanned image into Gimp. /Leslie From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 20:07: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 47DF5106568C for ; Thu, 16 Oct 2008 20:07:47 +0000 (UTC) (envelope-from peo@intersonic.se) Received: from neonpark.inter-sonic.com (neonpark.inter-sonic.com [212.247.8.98]) by mx1.freebsd.org (Postfix) with ESMTP id 0B0DD8FC26 for ; Thu, 16 Oct 2008 20:07:46 +0000 (UTC) (envelope-from peo@intersonic.se) X-Virus-Scanned: amavisd-new at BSDLabs AB Message-ID: <48F79F0F.5020402@intersonic.se> Date: Thu, 16 Oct 2008 22:07:43 +0200 From: Per olof Ljungmark Organization: Intersonic AB User-Agent: Thunderbird 2.0.0.17 (X11/20081013) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <48F6EDF2.4070109@intersonic.se> <20081016080452.GA4150@icarus.home.lan> <20081016110501.GB80147@torus.slightlystrange.org> <20081016124700.GC80147@torus.slightlystrange.org> <48F75EE5.2090908@intersonic.se> In-Reply-To: <48F75EE5.2090908@intersonic.se> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD and Nagios - permissions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 20:07:47 -0000 Per olof Ljungmark wrote: > Daniel Bye wrote: >> On Thu, Oct 16, 2008 at 12:05:01PM +0100, Daniel Bye wrote: >>> It is possible to configure sudo to run only exactly the required >>> command >>> (including arguments) precisely to guard against this type of abuse - >>> I use it extensively in my own nagios setup. >>> >>> This Cmnd_Alias in sudoers will do the trick: >>> >>> Cmnd_Alias NAGIOS_CMNDS = /sbin/camcontrol inquiry da0 >>> >>> man sudoers for more information about what you can do with sudo. >> >> I just realised this example is woefully incomplete - apologies for that. >> >> There are a few ways you can set up /usr/local/etc/sudoers (make sure >> you use visudo to edit it, as it will catch any syntax errors for you, >> thus helping somewhat to prevent breaking your setup). >> >> The simplest case will just be to allow nagios to run the command, as >> root, >> without a password: >> >> nagios ALL=(root) NOPASSWD: /sbin/camcontrol inquiry da0 >> >> If, as is quite possible, nagios should be able to run more than just >> that one command, you can define a Cmnd_Alias, as above. To include more >> than one command in the alias, simply separate them with a comma. You >> can use `\' to escape newlines and make your file a little easier to >> read: >> >> Cmnd_Alias NAGIOS_CMNDS = /sbin/camcontrol inquiry da0 \ >> /sbin/camcontrol inquiry da1 >> >> and so on. Now, to use that alias, set the user's permissions to >> >> nagios ALL=(root) NOPASSWD: NAGIOS_CMNDS For the records, even this won't work because nagois needs access to /dev/xpt0 as well and once there sudo can't help. sudo -u nagios /sbin/camcontrol inquiry da0 camcontrol: cam_lookup_pass: couldn't open /dev/xpt0 cam_lookup_pass: Permission denied --per From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 20:32: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 041071065687 for ; Thu, 16 Oct 2008 20:32: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 C18E88FC17 for ; Thu, 16 Oct 2008 20:32:27 +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 906B2AFBC02; Thu, 16 Oct 2008 12:32:26 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Thu, 16 Oct 2008 22:31:50 +0200 User-Agent: KMail/1.9.7 References: <48F6EDF2.4070109@intersonic.se> <48F75EE5.2090908@intersonic.se> <48F79F0F.5020402@intersonic.se> In-Reply-To: <48F79F0F.5020402@intersonic.se> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810162231.50549.fbsd.questions@rachie.is-a-geek.net> Cc: Subject: Re: FreeBSD and Nagios - permissions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 20:32:28 -0000 On Thursday 16 October 2008 22:07:43 Per olof Ljungmark wrote: > Per olof Ljungmark wrote: > > Daniel Bye wrote: > >> On Thu, Oct 16, 2008 at 12:05:01PM +0100, Daniel Bye wrote: > >>> It is possible to configure sudo to run only exactly the required > >>> command > >>> (including arguments) precisely to guard against this type of abuse - > >>> I use it extensively in my own nagios setup. > >>> > >>> This Cmnd_Alias in sudoers will do the trick: > >>> > >>> Cmnd_Alias NAGIOS_CMNDS = /sbin/camcontrol inquiry da0 > >>> > >>> man sudoers for more information about what you can do with sudo. > >> > >> I just realised this example is woefully incomplete - apologies for > >> that. > >> > >> There are a few ways you can set up /usr/local/etc/sudoers (make sure > >> you use visudo to edit it, as it will catch any syntax errors for you, > >> thus helping somewhat to prevent breaking your setup). > >> > >> The simplest case will just be to allow nagios to run the command, as > >> root, > >> without a password: > >> > >> nagios ALL=(root) NOPASSWD: /sbin/camcontrol inquiry da0 > >> > >> If, as is quite possible, nagios should be able to run more than just > >> that one command, you can define a Cmnd_Alias, as above. To include more > >> than one command in the alias, simply separate them with a comma. You > >> can use `\' to escape newlines and make your file a little easier to > >> read: > >> > >> Cmnd_Alias NAGIOS_CMNDS = /sbin/camcontrol inquiry da0 \ > >> /sbin/camcontrol inquiry da1 > >> > >> and so on. Now, to use that alias, set the user's permissions to > >> > >> nagios ALL=(root) NOPASSWD: NAGIOS_CMNDS ^^^^ > For the records, even this won't work because nagois needs access to > /dev/xpt0 as well and once there sudo can't help. > > sudo -u nagios /sbin/camcontrol inquiry da0 > camcontrol: cam_lookup_pass: couldn't open /dev/xpt0 > cam_lookup_pass: Permission denied The idea is to let this be run as root, tho personally, I'd put nagios in a group that can rw /dev/xpt0, /dev/pass0 and /dev/da0, setup devfs.rules properly and the let it execute a script that does the inquiry and the inquiry only. On a related note, it would be a 'nice to have', if the more dangerous commands of camcontrol had a sysctl knob that only allows them to be executed only as root. -- 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 Thu Oct 16 20:52: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 6957C106569C for ; Thu, 16 Oct 2008 20:52:44 +0000 (UTC) (envelope-from ajphanks@comcast.net) 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 4A4558FC1B for ; Thu, 16 Oct 2008 20:52:44 +0000 (UTC) (envelope-from ajphanks@comcast.net) Received: from OMTA10.emeryville.ca.mail.comcast.net ([76.96.30.28]) by QMTA01.emeryville.ca.mail.comcast.net with comcast id TRFg1a00L0cQ2SLA1Yck9D; Thu, 16 Oct 2008 20:36:44 +0000 Received: from amailcenter01.comcast.net ([204.127.225.101]) by OMTA10.emeryville.ca.mail.comcast.net with comcast id TYcj1a00Q2BtKCC8WYcjf0; Thu, 16 Oct 2008 20:36:43 +0000 X-Authority-Analysis: v=1.0 c=1 a=Qb4-T6paDmAA:10 a=p0ZTsmJTHAEA:10 a=qrscLhdFlwkvElHXVvAA:9 a=ljyCLhLbDoeIdrs6QEkA:7 a=Na8gI2Wp7yZ34CRrvlGF54bureUA:4 a=gi0PWCVxevcA:10 a=hGRWn35Td1msOnk8-iUA:9 a=11Ed0z9Td5fhXUaWGrEA:7 a=yBtseA6kekjQaUTvH_SnBjBaf4QA:4 a=37WNUvjkh6kA:10 Received: from [149.128.8.243] by amailcenter01.comcast.net; Thu, 16 Oct 2008 20:36:42 +0000 From: ajphanks@comcast.net To: freebsd-questions@freebsd.org Date: Thu, 16 Oct 2008 20:36:42 +0000 Message-Id: <101620082036.391.48F7A5DA0009DFCD0000018722120207849C05020E089F060E@comcast.net> X-Mailer: AT&T Message Center Version 1 (Oct 30 2007) X-Authenticated-Sender: YWpwaGFua3NAY29tY2FzdC5uZXQ= MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 16 Oct 2008 21:10:26 +0000 Content-Type: text/plain Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Printing to a Lanier LD160c does not 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, 16 Oct 2008 20:52:44 -0000 I am trying to setup a Lanier LD160c (admincolor) that has a network interface. I am new to FreeBSD and tried to follow the handbook. I am able to print to a HP 5SI (corp-admin) with no problems. There are no errors in the lpd-errs and the file is drained from the queue, but the printer does not print anything. And this is a working printer to Windows. lpr -P admincolor testfile.txt printcap: corp-admin|hp|laserjet|Hewlett Packard LaserJet 5Si:\ :lp=\ :sd=/var/spool/output/corp-admin:rm=corp-admin:\ :lf=/var/log/lpd-errs:\ :if=/usr/local/libexec/crlfilter:sh:tr=\f:mx#0: admincolor|hp|laserjet|LANIER LD160c RPCS:\ :lp=\ :sd=/var/spool/output/admincolor:rm=admincolor:\ :lf=/var/log/lpd-errs: I have tried to edit the printcap file and change the 1st line to see if it has any difference, restarted the lpd. chkprintcap does not generate any messages. Any clues where I can start troubleshooting? /var/spool/output drwxrwx--- 2 daemon daemon 512 Oct 10 14:46 admincolor drwxrwx--- 2 daemon daemon 512 Oct 10 14:05 corp-admin drwxr-xr-x 2 root daemon 512 Oct 10 13:37 lpd -rw-rw-r-- 1 root daemon 5 Oct 10 14:28 lpd.lock I would appreciate any help on this. Pat Hanks From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 20:57: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 5DFB4106568A for ; Thu, 16 Oct 2008 20:57:40 +0000 (UTC) (envelope-from jnatola@familycareintl.org) Received: from mail.familycareintl.org (static-64-61-120-78.isp.broadviewnet.net [64.61.120.78]) by mx1.freebsd.org (Postfix) with ESMTP id 219D98FC16 for ; Thu, 16 Oct 2008 20:57:39 +0000 (UTC) (envelope-from jnatola@familycareintl.org) 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, 16 Oct 2008 16:41:38 -0400 Message-ID: <3A85D7EF44E1C744BF6434691F5659E9015E3EFD@www.fcimail.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: g4u and ftp Thread-Index: Ackvz5aCflggm345TWG78gSTCo9sBg== From: "Jean-Paul Natola" To: "FreeBSD Questions" X-Mailman-Approved-At: Thu, 16 Oct 2008 21:18:05 +0000 Subject: g4u and ftp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 20:57:40 -0000 Hi all, I'm having an issue trying to write to my ftp server from linux- I just setup the ftp server with read and write access anonymous login >From windows explorer no-problem from the mac's no problem- but when I = try to upload an image using g4u (http://www.feyrer.de/g4u/) I get rejected = by the MS ftp server=20 Im not sure why it doesn't let me any thoughts? tia From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 21:20: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 2CC371065696 for ; Thu, 16 Oct 2008 21:20:02 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA09.emeryville.ca.mail.comcast.net (qmta09.emeryville.ca.mail.comcast.net [76.96.30.96]) by mx1.freebsd.org (Postfix) with ESMTP id 0B1A38FC2A for ; Thu, 16 Oct 2008 21:20:01 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA12.emeryville.ca.mail.comcast.net ([76.96.30.44]) by QMTA09.emeryville.ca.mail.comcast.net with comcast id TUUw1a0010x6nqcA9ZL1mC; Thu, 16 Oct 2008 21:20:01 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA12.emeryville.ca.mail.comcast.net with comcast id TZL01a00F2P6wsM8YZL05f; Thu, 16 Oct 2008 21:20:01 +0000 X-Authority-Analysis: v=1.0 c=1 a=10SHvqaCvoUA:10 a=svVtg53j9BwA:10 a=QycZ5dHgAAAA:8 a=qrscLhdFlwkvElHXVvAA:9 a=p4NyhY7vvUMBsuwcobYA:7 a=hQiVGMJwaZojnkEJZSu9CpQoPmoA:4 a=EoioJ0NPDVgA:10 a=si9q_4b84H0A:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 9D8D0C9432; Thu, 16 Oct 2008 14:20:00 -0700 (PDT) Date: Thu, 16 Oct 2008 14:20:00 -0700 From: Jeremy Chadwick To: ajphanks@comcast.net Message-ID: <20081016212000.GA3960@icarus.home.lan> References: <101620082036.391.48F7A5DA0009DFCD0000018722120207849C05020E089F060E@comcast.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <101620082036.391.48F7A5DA0009DFCD0000018722120207849C05020E089F060E@comcast.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Printing to a Lanier LD160c does not 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, 16 Oct 2008 21:20:02 -0000 On Thu, Oct 16, 2008 at 08:36:42PM +0000, ajphanks@comcast.net wrote: > I am trying to setup a Lanier LD160c (admincolor) that has a network interface. I am new to FreeBSD and tried to follow the handbook. I am able to print to a HP 5SI (corp-admin) with no problems. There are no errors in the lpd-errs and the file is drained from the queue, but the printer does not print anything. And this is a working printer to Windows. > lpr -P admincolor testfile.txt > > printcap: > corp-admin|hp|laserjet|Hewlett Packard LaserJet 5Si:\ > :lp=\ > :sd=/var/spool/output/corp-admin:rm=corp-admin:\ > :lf=/var/log/lpd-errs:\ > :if=/usr/local/libexec/crlfilter:sh:tr=\f:mx#0: > > admincolor|hp|laserjet|LANIER LD160c RPCS:\ > :lp=\ > :sd=/var/spool/output/admincolor:rm=admincolor:\ > :lf=/var/log/lpd-errs: If this printer is hooked up on the network (e.g. via Ethernet), I believe you need to set the lp variable to the hostname or IP address of the printer, e.g.: admincolor|hp|laserjet|LANIER LD160c RPCS:\ :lp=192.168.1.100\ :sd=/var/spool/output/admincolor:rm=admincolor:\ :lf=/var/log/lpd-errs: I think this also makes the assumption that the printer knows how to speak the LPR protocol. If it listens on a custom port, you can use portnumber@ipaddress instead. See the printcap(5) man page, I guess. P.S. -- I've never done this, it's just something I remember from old days. :-) -- | 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 16 21:36: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 48EC21065687 for ; Thu, 16 Oct 2008 21:36:56 +0000 (UTC) (envelope-from peo@intersonic.se) Received: from neonpark.inter-sonic.com (neonpark.inter-sonic.com [212.247.8.98]) by mx1.freebsd.org (Postfix) with ESMTP id 0C0238FC27 for ; Thu, 16 Oct 2008 21:36:55 +0000 (UTC) (envelope-from peo@intersonic.se) X-Virus-Scanned: amavisd-new at BSDLabs AB Message-ID: <48F7B3F3.70907@intersonic.se> Date: Thu, 16 Oct 2008 23:36:51 +0200 From: Per olof Ljungmark Organization: Intersonic AB User-Agent: Thunderbird 2.0.0.17 (X11/20081013) MIME-Version: 1.0 To: Mel References: <48F6EDF2.4070109@intersonic.se> <48F75EE5.2090908@intersonic.se> <48F79F0F.5020402@intersonic.se> <200810162231.50549.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: <200810162231.50549.fbsd.questions@rachie.is-a-geek.net> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD and Nagios - permissions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 21:36:56 -0000 Mel wrote: > On Thursday 16 October 2008 22:07:43 Per olof Ljungmark wrote: >> Per olof Ljungmark wrote: >>> Daniel Bye wrote: >>>> On Thu, Oct 16, 2008 at 12:05:01PM +0100, Daniel Bye wrote: >>>>> It is possible to configure sudo to run only exactly the required >>>>> command >>>>> (including arguments) precisely to guard against this type of abuse - >>>>> I use it extensively in my own nagios setup. >>>>> >>>>> This Cmnd_Alias in sudoers will do the trick: >>>>> >>>>> Cmnd_Alias NAGIOS_CMNDS = /sbin/camcontrol inquiry da0 >>>>> >>>>> man sudoers for more information about what you can do with sudo. >>>> I just realised this example is woefully incomplete - apologies for >>>> that. >>>> >>>> There are a few ways you can set up /usr/local/etc/sudoers (make sure >>>> you use visudo to edit it, as it will catch any syntax errors for you, >>>> thus helping somewhat to prevent breaking your setup). >>>> >>>> The simplest case will just be to allow nagios to run the command, as >>>> root, >>>> without a password: >>>> >>>> nagios ALL=(root) NOPASSWD: /sbin/camcontrol inquiry da0 >>>> >>>> If, as is quite possible, nagios should be able to run more than just >>>> that one command, you can define a Cmnd_Alias, as above. To include more >>>> than one command in the alias, simply separate them with a comma. You >>>> can use `\' to escape newlines and make your file a little easier to >>>> read: >>>> >>>> Cmnd_Alias NAGIOS_CMNDS = /sbin/camcontrol inquiry da0 \ >>>> /sbin/camcontrol inquiry da1 >>>> >>>> and so on. Now, to use that alias, set the user's permissions to >>>> >>>> nagios ALL=(root) NOPASSWD: NAGIOS_CMNDS > ^^^^ > >> For the records, even this won't work because nagois needs access to >> /dev/xpt0 as well and once there sudo can't help. >> >> sudo -u nagios /sbin/camcontrol inquiry da0 >> camcontrol: cam_lookup_pass: couldn't open /dev/xpt0 >> cam_lookup_pass: Permission denied > > The idea is to let this be run as root, tho personally, I'd put nagios in a > group that can rw /dev/xpt0, /dev/pass0 and /dev/da0, setup devfs.rules > properly and the let it execute a script that does the inquiry and the > inquiry only. > > On a related note, it would be a 'nice to have', if the more dangerous > commands of camcontrol had a sysctl knob that only allows them to be executed > only as root. But... the command "/sbin/camcontrol inquiry da0" IS run as root through the setup in sudoers above, but it is not enough or I'm overseeing something. Anyway, I've already decided to scrap the sudo idea, too kludgy for me. The idea of running nagios with rw access to the devices is not very appealing either as Jeremy pointed out. I will start from square one with a different approach that I need to dream up tomorrow. Thanks, -- per From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 21:58: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 DBFF31065686 for ; Thu, 16 Oct 2008 21:58: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 AA9D18FC16 for ; Thu, 16 Oct 2008 21:58: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 5EFF0AFBC02; Thu, 16 Oct 2008 13:58:45 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Thu, 16 Oct 2008 23:58:44 +0200 User-Agent: KMail/1.9.7 References: <48F6EDF2.4070109@intersonic.se> <200810162231.50549.fbsd.questions@rachie.is-a-geek.net> <48F7B3F3.70907@intersonic.se> In-Reply-To: <48F7B3F3.70907@intersonic.se> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810162358.44308.fbsd.questions@rachie.is-a-geek.net> Cc: Subject: Re: FreeBSD and Nagios - permissions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 21:58:46 -0000 On Thursday 16 October 2008 23:36:51 Per olof Ljungmark wrote: > Mel wrote: > > On Thursday 16 October 2008 22:07:43 Per olof Ljungmark wrote: > >> Per olof Ljungmark wrote: > >>> Daniel Bye wrote: > >>>> On Thu, Oct 16, 2008 at 12:05:01PM +0100, Daniel Bye wrote: > >>>> nagios ALL=(root) NOPASSWD: NAGIOS_CMNDS > > > > ^^^^ This means: ALLOW nagios user from anywhere to run commands NAGIOS_CMNDS as user root without a password. > >> For the records, even this won't work because nagois needs access to > >> /dev/xpt0 as well and once there sudo can't help. > >> > >> sudo -u nagios /sbin/camcontrol inquiry da0 > >> camcontrol: cam_lookup_pass: couldn't open /dev/xpt0 > >> cam_lookup_pass: Permission denied The above sudo command, runs as nagios user, not as root. > But... the command "/sbin/camcontrol inquiry da0" IS run as root through > the setup in sudoers above, See above. To test if it would work, you'd have to login as nagios then run sudo /sbin/camcontrol inquiry da0. -- 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 Thu Oct 16 22:07: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 B9FBD1065689 for ; Thu, 16 Oct 2008 22:07:46 +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 9C10D8FC1A for ; Thu, 16 Oct 2008 22:07:46 +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 TZ3X1a0010mlR8UA6a7lDd; Thu, 16 Oct 2008 22:07:45 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA11.emeryville.ca.mail.comcast.net with comcast id Ta7k1a00F2P6wsM8Xa7kWZ; Thu, 16 Oct 2008 22:07:45 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=-CrH-x8uxHmXl3cRBK4A:9 a=tDfxeIFhnDhl530aBPsA:7 a=VqO83g7PkcTeRmPMOJTyhFd_mq4A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 525BDC9432; Thu, 16 Oct 2008 15:07:44 -0700 (PDT) Date: Thu, 16 Oct 2008 15:07:44 -0700 From: Jeremy Chadwick To: Per olof Ljungmark Message-ID: <20081016220744.GA4823@icarus.home.lan> References: <48F6EDF2.4070109@intersonic.se> <48F75EE5.2090908@intersonic.se> <48F79F0F.5020402@intersonic.se> <200810162231.50549.fbsd.questions@rachie.is-a-geek.net> <48F7B3F3.70907@intersonic.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48F7B3F3.70907@intersonic.se> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Mel , freebsd-questions@freebsd.org Subject: Re: FreeBSD and Nagios - permissions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 22:07:47 -0000 On Thu, Oct 16, 2008 at 11:36:51PM +0200, Per olof Ljungmark wrote: > Mel wrote: >> On Thursday 16 October 2008 22:07:43 Per olof Ljungmark wrote: >>> Per olof Ljungmark wrote: >>>> Daniel Bye wrote: >>>>> On Thu, Oct 16, 2008 at 12:05:01PM +0100, Daniel Bye wrote: >>>>>> It is possible to configure sudo to run only exactly the required >>>>>> command >>>>>> (including arguments) precisely to guard against this type of abuse - >>>>>> I use it extensively in my own nagios setup. >>>>>> >>>>>> This Cmnd_Alias in sudoers will do the trick: >>>>>> >>>>>> Cmnd_Alias NAGIOS_CMNDS = /sbin/camcontrol inquiry da0 >>>>>> >>>>>> man sudoers for more information about what you can do with sudo. >>>>> I just realised this example is woefully incomplete - apologies for >>>>> that. >>>>> >>>>> There are a few ways you can set up /usr/local/etc/sudoers (make sure >>>>> you use visudo to edit it, as it will catch any syntax errors for you, >>>>> thus helping somewhat to prevent breaking your setup). >>>>> >>>>> The simplest case will just be to allow nagios to run the command, as >>>>> root, >>>>> without a password: >>>>> >>>>> nagios ALL=(root) NOPASSWD: /sbin/camcontrol inquiry da0 >>>>> >>>>> If, as is quite possible, nagios should be able to run more than just >>>>> that one command, you can define a Cmnd_Alias, as above. To include more >>>>> than one command in the alias, simply separate them with a comma. You >>>>> can use `\' to escape newlines and make your file a little easier to >>>>> read: >>>>> >>>>> Cmnd_Alias NAGIOS_CMNDS = /sbin/camcontrol inquiry da0 \ >>>>> /sbin/camcontrol inquiry da1 >>>>> >>>>> and so on. Now, to use that alias, set the user's permissions to >>>>> >>>>> nagios ALL=(root) NOPASSWD: NAGIOS_CMNDS >> ^^^^ >> >>> For the records, even this won't work because nagois needs access to >>> /dev/xpt0 as well and once there sudo can't help. >>> >>> sudo -u nagios /sbin/camcontrol inquiry da0 >>> camcontrol: cam_lookup_pass: couldn't open /dev/xpt0 >>> cam_lookup_pass: Permission denied >> >> The idea is to let this be run as root, tho personally, I'd put nagios >> in a group that can rw /dev/xpt0, /dev/pass0 and /dev/da0, setup >> devfs.rules properly and the let it execute a script that does the >> inquiry and the inquiry only. >> >> On a related note, it would be a 'nice to have', if the more dangerous >> commands of camcontrol had a sysctl knob that only allows them to be >> executed only as root. > > But... the command "/sbin/camcontrol inquiry da0" IS run as root through > the setup in sudoers above, but it is not enough or I'm overseeing > something. Anyway, I've already decided to scrap the sudo idea, too > kludgy for me. Scrapping it is fine, but you still aren't understanding how to use sudo. The -u flag tells sudo what UID to switch to. Meaning, your above command (sudo -u nagios /sbin/camcontrol...) tells the system "run /sbin/camcontrol as user nagios". This **does not** tell the system to run /sbin/camcontrol as user root. For example, let's say you're logged in as user nagios (or running commands as user nagios): nagios@box$ sudo -u nagios whoami nagios nagios@box$ This obviously isn't what you want -- this tells sudo to switch to UID nagios (you already ARE this user!) and run the "whoami" command. But this IS what you want: nagios@box$ sudo whoami root nagios@box$ You'll need to use visudo(8) to configure sudo to 1) permit user "nagios" to use sudo (and switch to UID root), and 2) to ONLY RUN /sbin/camcontrol when sudo is run, otherwise someone could do: nagios@box$ sudo rm -fr / You get the point now, I'm sure. > The idea of running nagios with rw access to the devices is not very > appealing either as Jeremy pointed out. > > I will start from square one with a different approach that I need to > dream up tomorrow. I must again point out that using a C-based wrapper is a much better idea, especially if this is the only command you need to run as root. The wrapper is a 15-20 line C program, if that, and will only run one command: /sbin/camcontrol inquiry da0. It can't be used to do anything else. If you really want someone to write this for you, I will 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 Thu Oct 16 22:14: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 C5CA51065699 for ; Thu, 16 Oct 2008 22:14:51 +0000 (UTC) (envelope-from peo@intersonic.se) Received: from neonpark.inter-sonic.com (neonpark.inter-sonic.com [212.247.8.98]) by mx1.freebsd.org (Postfix) with ESMTP id 893168FC1B for ; Thu, 16 Oct 2008 22:14:51 +0000 (UTC) (envelope-from peo@intersonic.se) X-Virus-Scanned: amavisd-new at BSDLabs AB Message-ID: <48F7BCD7.5010505@intersonic.se> Date: Fri, 17 Oct 2008 00:14:47 +0200 From: Per olof Ljungmark Organization: Intersonic AB User-Agent: Thunderbird 2.0.0.17 (X11/20081013) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <48F6EDF2.4070109@intersonic.se> <200810162231.50549.fbsd.questions@rachie.is-a-geek.net> <48F7B3F3.70907@intersonic.se> <200810162358.44308.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: <200810162358.44308.fbsd.questions@rachie.is-a-geek.net> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD and Nagios - permissions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 22:14:51 -0000 Mel wrote: > On Thursday 16 October 2008 23:36:51 Per olof Ljungmark wrote: >> Mel wrote: >>> On Thursday 16 October 2008 22:07:43 Per olof Ljungmark wrote: >>>> Per olof Ljungmark wrote: >>>>> Daniel Bye wrote: >>>>>> On Thu, Oct 16, 2008 at 12:05:01PM +0100, Daniel Bye wrote: > > > >>>>>> nagios ALL=(root) NOPASSWD: NAGIOS_CMNDS >>> ^^^^ > This means: > ALLOW nagios user from anywhere to run commands NAGIOS_CMNDS as user root > without a password. > >>>> For the records, even this won't work because nagois needs access to >>>> /dev/xpt0 as well and once there sudo can't help. >>>> >>>> sudo -u nagios /sbin/camcontrol inquiry da0 >>>> camcontrol: cam_lookup_pass: couldn't open /dev/xpt0 >>>> cam_lookup_pass: Permission denied > > The above sudo command, runs as nagios user, not as root. > >> But... the command "/sbin/camcontrol inquiry da0" IS run as root through >> the setup in sudoers above, > > See above. To test if it would work, you'd have to login as nagios then run > sudo /sbin/camcontrol inquiry da0. OK, I'm sure you're right, this was my first encounter with sudo. But, nagios, running in parallel, reported identical results as the ones I got from the command line. That is why I draw the conclusion that giving nagios root access to NAGIOS_CMNDS was not enough and the reported error (access to /dev/xpt0) was not part of any direct command. Maybe this is wrong and I made a mistake but because this is *nix I'm confident there are other less kludgy solutions to the problem. -- per From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 22:32: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 2A6F11065686 for ; Thu, 16 Oct 2008 22:32:02 +0000 (UTC) (envelope-from peo@intersonic.se) Received: from neonpark.inter-sonic.com (neonpark.inter-sonic.com [212.247.8.98]) by mx1.freebsd.org (Postfix) with ESMTP id ADADB8FC0C for ; Thu, 16 Oct 2008 22:32:01 +0000 (UTC) (envelope-from peo@intersonic.se) X-Virus-Scanned: amavisd-new at BSDLabs AB Message-ID: <48F7C0DB.2040802@intersonic.se> Date: Fri, 17 Oct 2008 00:31:55 +0200 From: Per olof Ljungmark Organization: Intersonic AB User-Agent: Thunderbird 2.0.0.17 (X11/20081013) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <48F6EDF2.4070109@intersonic.se> <48F75EE5.2090908@intersonic.se> <48F79F0F.5020402@intersonic.se> <200810162231.50549.fbsd.questions@rachie.is-a-geek.net> <48F7B3F3.70907@intersonic.se> <20081016220744.GA4823@icarus.home.lan> In-Reply-To: <20081016220744.GA4823@icarus.home.lan> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD and Nagios - permissions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 22:32:02 -0000 Jeremy Chadwick wrote: > On Thu, Oct 16, 2008 at 11:36:51PM +0200, Per olof Ljungmark wrote: >> Mel wrote: >>> On Thursday 16 October 2008 22:07:43 Per olof Ljungmark wrote: >>>> Per olof Ljungmark wrote: >>>>> Daniel Bye wrote: >>>>>> On Thu, Oct 16, 2008 at 12:05:01PM +0100, Daniel Bye wrote: >>>>>>> It is possible to configure sudo to run only exactly the required >>>>>>> command >>>>>>> (including arguments) precisely to guard against this type of abuse - >>>>>>> I use it extensively in my own nagios setup. >>>>>>> >>>>>>> This Cmnd_Alias in sudoers will do the trick: >>>>>>> >>>>>>> Cmnd_Alias NAGIOS_CMNDS = /sbin/camcontrol inquiry da0 >>>>>>> >>>>>>> man sudoers for more information about what you can do with sudo. >>>>>> I just realised this example is woefully incomplete - apologies for >>>>>> that. >>>>>> >>>>>> There are a few ways you can set up /usr/local/etc/sudoers (make sure >>>>>> you use visudo to edit it, as it will catch any syntax errors for you, >>>>>> thus helping somewhat to prevent breaking your setup). >>>>>> >>>>>> The simplest case will just be to allow nagios to run the command, as >>>>>> root, >>>>>> without a password: >>>>>> >>>>>> nagios ALL=(root) NOPASSWD: /sbin/camcontrol inquiry da0 >>>>>> >>>>>> If, as is quite possible, nagios should be able to run more than just >>>>>> that one command, you can define a Cmnd_Alias, as above. To include more >>>>>> than one command in the alias, simply separate them with a comma. You >>>>>> can use `\' to escape newlines and make your file a little easier to >>>>>> read: >>>>>> >>>>>> Cmnd_Alias NAGIOS_CMNDS = /sbin/camcontrol inquiry da0 \ >>>>>> /sbin/camcontrol inquiry da1 >>>>>> >>>>>> and so on. Now, to use that alias, set the user's permissions to >>>>>> >>>>>> nagios ALL=(root) NOPASSWD: NAGIOS_CMNDS >>> ^^^^ >>> >>>> For the records, even this won't work because nagois needs access to >>>> /dev/xpt0 as well and once there sudo can't help. >>>> >>>> sudo -u nagios /sbin/camcontrol inquiry da0 >>>> camcontrol: cam_lookup_pass: couldn't open /dev/xpt0 >>>> cam_lookup_pass: Permission denied >>> The idea is to let this be run as root, tho personally, I'd put nagios >>> in a group that can rw /dev/xpt0, /dev/pass0 and /dev/da0, setup >>> devfs.rules properly and the let it execute a script that does the >>> inquiry and the inquiry only. >>> >>> On a related note, it would be a 'nice to have', if the more dangerous >>> commands of camcontrol had a sysctl knob that only allows them to be >>> executed only as root. >> But... the command "/sbin/camcontrol inquiry da0" IS run as root through >> the setup in sudoers above, but it is not enough or I'm overseeing >> something. Anyway, I've already decided to scrap the sudo idea, too >> kludgy for me. > > Scrapping it is fine, but you still aren't understanding how to use > sudo. > > The -u flag tells sudo what UID to switch to. Meaning, your above > command (sudo -u nagios /sbin/camcontrol...) tells the system "run > /sbin/camcontrol as user nagios". This **does not** tell the system > to run /sbin/camcontrol as user root. > > For example, let's say you're logged in as user nagios (or running > commands as user nagios): > > nagios@box$ sudo -u nagios whoami > nagios > nagios@box$ > > This obviously isn't what you want -- this tells sudo to switch to > UID nagios (you already ARE this user!) and run the "whoami" command. > > But this IS what you want: > > nagios@box$ sudo whoami > root > nagios@box$ > > You'll need to use visudo(8) to configure sudo to 1) permit user > "nagios" to use sudo (and switch to UID root), and 2) to ONLY RUN > /sbin/camcontrol when sudo is run, otherwise someone could do: > > nagios@box$ sudo rm -fr / > > You get the point now, I'm sure. Yep, promise :-) I'm off to bed but will try to work out the sudo magic tomorrow although I'm still incloned to an alternative solution. -- per From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 23:00: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 4F6E11065677 for ; Thu, 16 Oct 2008 23:00:02 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from k7.mavetju.org (ppp121-44-17-36.lns10.syd7.internode.on.net [121.44.17.36]) by mx1.freebsd.org (Postfix) with ESMTP id B929D8FC12 for ; Thu, 16 Oct 2008 23:00:01 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: by k7.mavetju.org (Postfix, from userid 1001) id B3E604505B; Fri, 17 Oct 2008 09:59:17 +1100 (EST) Date: Fri, 17 Oct 2008 09:59:17 +1100 From: Edwin Groothuis To: freebsd-questions@FreeBSD.org Message-ID: <20081016225917.GA92530@mavetju.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081016090102.17qwm4xcs6f4so8ok@intranet.casasponti.net> User-Agent: Mutt/1.4.2.3i Cc: eculp@casasponti.net Subject: I've just found a new and interesting spam source - legitimate bounce messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 23:00:02 -0000 > In the last hour, I've received over 200 legitimate bounce messages > from email services as a result of someone having used or worse is > using my email address in spam from multiple windows machines and ip > addresses. When this happens I enable the "move all messages from mailer-daemon to /dev/null" rules in procmail for a day or two. And curse at the people who originated the original spam... Edwin -- Edwin Groothuis Website: http://www.mavetju.org/ edwin@mavetju.org Weblog: http://www.mavetju.org/weblog/ From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 23:09: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 694A3106568A for ; Thu, 16 Oct 2008 23:09:42 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 293258FC16 for ; Thu, 16 Oct 2008 23:09:42 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.2/8.14.2) with ESMTP id m9GN9dUE003742; Thu, 16 Oct 2008 17:09:39 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.2/8.14.2/Submit) with ESMTP id m9GN9dYD003739; Thu, 16 Oct 2008 17:09:39 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 16 Oct 2008 17:09:39 -0600 (MDT) From: Warren Block To: Leslie Jensen In-Reply-To: <48F79A63.2000702@eskk.nu> Message-ID: References: <48F79A63.2000702@eskk.nu> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (wonkity.com [127.0.0.1]); Thu, 16 Oct 2008 17:09:39 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: Lost the "require" meny alternative with Gimp 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: Thu, 16 Oct 2008 23:09:42 -0000 On Thu, 16 Oct 2008, Leslie Jensen wrote: > I upgraded Gimp to version 2.6.1 and now I do not have the require (for > scanning) meny choice anymore. "Acquire", maybe? > Any ideas on how to get the function back. > > I can scan using xscanimage but it takes more steps to get the scanned image > into Gimp. In gimp 2.6.1, the SANE scanner plugin is on the File/Create menu. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 23:27: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 C29E5106568F for ; Thu, 16 Oct 2008 23:27:00 +0000 (UTC) (envelope-from stupendoussteve@hotmail.com) Received: from bay0-omc1-s5.bay0.hotmail.com (bay0-omc1-s5.bay0.hotmail.com [65.54.246.77]) by mx1.freebsd.org (Postfix) with ESMTP id AC8638FC13 for ; Thu, 16 Oct 2008 23:27:00 +0000 (UTC) (envelope-from stupendoussteve@hotmail.com) Received: from hotmail.com ([207.46.10.246]) by bay0-omc1-s5.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 16 Oct 2008 16:27:00 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 16 Oct 2008 16:27:00 -0700 Message-ID: Received: from 207.46.10.254 by by122fd.bay122.hotmail.msn.com with HTTP; Thu, 16 Oct 2008 23:26:56 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, 16 Oct 2008 18:26:56 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 16 Oct 2008 23:27:00.0425 (UTC) FILETIME=[B0571390:01C92FE6] Subject: Re: [SOLVED] 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, 16 Oct 2008 23:27:00 -0000 Steven Susbauer wrote: >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 > > I've since solved this problem with some help, but I'm hoping this will get up on Google if someone finds my original message. The fix is in a kernel patch at http://lists.freebsd.org/pipermail/freebsd-bugs/2007-December/027280.html - The problem has not been fixed in the -STABLE/-CURRENT sources as of today. Since the misbehaving file has not been changed in any of them the patch still works. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 23:33: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 22CA41065698 for ; Thu, 16 Oct 2008 23:33:37 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id D5AB98FC1A for ; Thu, 16 Oct 2008 23:33:36 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.2/8.14.2) with ESMTP id m9GNXYUO003824; Thu, 16 Oct 2008 17:33:34 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.2/8.14.2/Submit) with ESMTP id m9GNXYmL003821; Thu, 16 Oct 2008 17:33:34 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 16 Oct 2008 17:33:34 -0600 (MDT) From: Warren Block To: ajphanks@comcast.net In-Reply-To: <101620082036.391.48F7A5DA0009DFCD0000018722120207849C05020E089F060E@comcast.net> Message-ID: References: <101620082036.391.48F7A5DA0009DFCD0000018722120207849C05020E089F060E@comcast.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (wonkity.com [127.0.0.1]); Thu, 16 Oct 2008 17:33:35 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: Printing to a Lanier LD160c does not 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, 16 Oct 2008 23:33:37 -0000 On Thu, 16 Oct 2008, ajphanks@comcast.net wrote: > I am trying to setup a Lanier LD160c (admincolor) that has a network > interface. I am new to FreeBSD and tried to follow the handbook. I > am able to print to a HP 5SI (corp-admin) with no problems. There are > no errors in the lpd-errs and the file is drained from the queue, but > the printer does not print anything. And this is a working printer to > Windows. lpr -P admincolor testfile.txt > > printcap: > corp-admin|hp|laserjet|Hewlett Packard LaserJet 5Si:\ > :lp=\ > :sd=/var/spool/output/corp-admin:rm=corp-admin:\ > :lf=/var/log/lpd-errs:\ > :if=/usr/local/libexec/crlfilter:sh:tr=\f:mx#0: > > admincolor|hp|laserjet|LANIER LD160c RPCS:\ > :lp=\ > :sd=/var/spool/output/admincolor:rm=admincolor:\ > :lf=/var/log/lpd-errs: Note here that in the second entry you don't have the :sh: and :mx#0: entries. No :if=: either, but maybe that's because you don't need an input filter for this printer. At first guess, this printer may be touchy about the print queue name. That's the :rp=: parameter, which is not here at all. There are a couple of KB entries on the Lanier site that say to use "lp". printcap entries are easier to read if you put one option per line: admincolor:\ :lp=:\ :sh:\ :mx#0:\ :rm=admincolor:\ :rp=lp:\ :sd=/var/spool/output/admincolor:\ :lf=/var/log/lpd-errs: -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 23:35: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 121881065689 for ; Thu, 16 Oct 2008 23:35:16 +0000 (UTC) (envelope-from fbsd06+2Y=2c6cacb6@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 D8F3B8FC0A for ; Thu, 16 Oct 2008 23:35:15 +0000 (UTC) (envelope-from fbsd06+2Y=2c6cacb6@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 4CD8FD0B9C for ; Thu, 16 Oct 2008 19:35:13 -0400 (EDT) Date: Fri, 17 Oct 2008 00:35:10 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20081017003510.3422e7ea@gumby.homeunix.com.> In-Reply-To: <20081016114348.GA8970@icarus.home.lan> References: <831334.93256.qm@web56806.mail.re3.yahoo.com> <1224138644.3458.97.camel@laptop1.herveybayaustralia.com.au> <1224156544.3458.104.camel@laptop1.herveybayaustralia.com.au> <20081016114348.GA8970@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: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 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: Thu, 16 Oct 2008 23:35:16 -0000 On Thu, 16 Oct 2008 04:43:48 -0700 Jeremy Chadwick wrote: > What Michael's describing is a feature many DSL modems offer. There > is no official term for what it is, They are commonly referred to as half-bridge modems. > The reason this feature is HIGHLY desired is because not all PPPoE > implementations are compatible with an ISPs implementation. Even more so if you have PPPoA with no, or poorly-supported, PPPoE. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 23:56: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 256851065692 for ; Thu, 16 Oct 2008 23:56:04 +0000 (UTC) (envelope-from eculp@casasponti.net) Received: from ns2.bafirst.com (72-12-2-19.static.networktel.net [72.12.2.19]) by mx1.freebsd.org (Postfix) with ESMTP id B049F8FC15 for ; Thu, 16 Oct 2008 23:56:03 +0000 (UTC) (envelope-from eculp@casasponti.net) Received: from casasponti.net ([201.155.7.3]) by ns2.bafirst.com with esmtp; Thu, 16 Oct 2008 18:56:00 -0500 id 000D5302.48F7D491.00003581 Received: from localhost (localhost [127.0.0.1]) (uid 80) by casasponti.net with local; Thu, 16 Oct 2008 18:55:27 -0500 id 00130D49.48F7D46F.00000B2B Received: from dsl-189-190-8-164.prod-infinitum.com.mx (dsl-189-190-8-164.prod-infinitum.com.mx [189.190.8.164]) by intranet.casasponti.net (Horde Framework) with HTTP; Thu, 16 Oct 2008 18:55:27 -0500 Message-ID: <20081016185527.17qwm4xcs6v4408ws@intranet.casasponti.net> Date: Thu, 16 Oct 2008 18:55:27 -0500 From: eculp@casasponti.net To: freebsd-questions@freebsd.org References: <20081016225917.GA92530@mavetju.org> In-Reply-To: <20081016225917.GA92530@mavetju.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (5.0-cvs) X-Remote-Browser: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.17) Gecko/20080925 Firefox/2.0.0.17 X-IMP-Server: 201.155.7.3 X-Originating-IP: 189.190.8.164 X-Originating-User: eculp@casasponti.net Subject: Re: I've just found a new and interesting spam source - legitimate bounce messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 23:56:04 -0000 Edwin Groothuis escribi=F3: >> In the last hour, I've received over 200 legitimate bounce messages >> from email services as a result of someone having used or worse is >> using my email address in spam from multiple windows machines and ip >> addresses. > > When this happens I enable the "move all messages from mailer-daemon > to /dev/null" rules in procmail for a day or two. And curse at the > people who originated the original spam... > > Edwin Edwin,great idea especially the last part. I have done a good job of =20 that today. ed > > -- > Edwin Groothuis=09=09Website: http://www.mavetju.org/ > edwin@mavetju.org=09Weblog: http://www.mavetju.org/weblog/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.or= g" > From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 00:01: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 809491065677 for ; Fri, 17 Oct 2008 00:01:15 +0000 (UTC) (envelope-from eculp@casasponti.net) Received: from ns2.bafirst.com (72-12-2-19.static.networktel.net [72.12.2.19]) by mx1.freebsd.org (Postfix) with ESMTP id 2F4678FC14 for ; Fri, 17 Oct 2008 00:01:15 +0000 (UTC) (envelope-from eculp@casasponti.net) Received: from casasponti.net ([201.155.7.3]) by ns2.bafirst.com with esmtp; Thu, 16 Oct 2008 19:01:11 -0500 id 000D5302.48F7D5C8.000035BF Received: from localhost (localhost [127.0.0.1]) (uid 80) by casasponti.net with local; Thu, 16 Oct 2008 19:00:36 -0500 id 00130D49.48F7D5A4.00000C06 Received: from dsl-189-190-8-164.prod-infinitum.com.mx (dsl-189-190-8-164.prod-infinitum.com.mx [189.190.8.164]) by intranet.casasponti.net (Horde Framework) with HTTP; Thu, 16 Oct 2008 19:00:36 -0500 Message-ID: <20081016190036.17qwm4xcs6v4408ws@intranet.casasponti.net> Date: Thu, 16 Oct 2008 19:00:36 -0500 From: eculp@casasponti.net To: freebsd-questions@freebsd.org References: <20081016090102.17qwm4xcs6f4so8ok@intranet.casasponti.net> <20081016145255.GA12638@icarus.home.lan> <48F75A88.1000507@infracaninophile.co.uk> <20081016173807.64d0f24e@gumby.homeunix.com.> <20081016175941.GB16235@icarus.home.lan> In-Reply-To: <20081016175941.GB16235@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (5.0-cvs) X-Remote-Browser: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.17) Gecko/20080925 Firefox/2.0.0.17 X-IMP-Server: 201.155.7.3 X-Originating-IP: 189.190.8.164 X-Originating-User: eculp@casasponti.net Subject: Re: I've just found a new and interesting spam source - legitimate bounce messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 00:01:15 -0000 Jeremy Chadwick escribi=F3: > On Thu, Oct 16, 2008 at 05:38:07PM +0100, RW wrote: >> On Thu, 16 Oct 2008 08:54:55 -0700 (PDT) >> Luke Dean wrote: >> >> > >> > >> > On Thu, 16 Oct 2008, Matthew Seaman wrote: >> > >> > > Until the wonderful day that the entire internet abides by these >> > > rules[*], use >> > > of technologies like SPF and DKIM can discourage but not entirely >> > > prevent the spammers from joe-jobbing you. >> > >> > I just started getting these bouncebacks en masse this week. >> > My mail provider publishes SPF records. >> >> SPF increases the probability of spam being rejected at the smtp >> level at MX servers, so my expectation would be that it would exacerbate >> backscatter not improve it. > > Just a side comment for added clarity: this ultimately depends on how > the mail server administrator implemented SPF. For example, our mail > servers *do not* do SPF lookups at the SMTP level (e.g. in postfix) > because 1) the added complexity is not worth it, and 2) spammers are > now hijacking DNS. > > Instead, our servers use SPF in SpamAssassin, subtracting from > the spam probability score if an SPF record is found and matches > appropriately. That sounds like it is definitely worth trying. Thanks, ed > > -- > | 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.or= g" > From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 01:06: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 B7DB61065699 for ; Fri, 17 Oct 2008 01:06:38 +0000 (UTC) (envelope-from todor.genov@za.verizonbusiness.com) Received: from smtpout3.uunet.co.za (smtpout3.uunet.co.za [196.7.142.139]) by mx1.freebsd.org (Postfix) with ESMTP id 538EE8FC17 for ; Fri, 17 Oct 2008 01:06:38 +0000 (UTC) (envelope-from todor.genov@za.verizonbusiness.com) Received: from [41.195.81.8] (helo=lap-todor.subnet.co.za) by smtp.uunet.co.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KqdnY-000EbR-AN; Fri, 17 Oct 2008 03:06:36 +0200 Message-ID: <48F7E51B.8030703@za.verizonbusiness.com> Date: Fri, 17 Oct 2008 03:06:35 +0200 From: Todor Genov User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: MattAD References: <20013780.post@talk.nabble.com> In-Reply-To: <20013780.post@talk.nabble.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: Radius Authentication X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 01:06:38 -0000 Hi Matt, The three important steps here are as follows: 1.) Confirm that authentication against the RADIUS server succeeds using any command line RADIUS util. 2.) configure /etc/radius.conf as per "man pam_radius" and man "radius.conf" 3.) Add a user on the FreeBSD machine whose name corresponds with the Windows domain account (if the name contains spaces then refer to the pre-Windows2000 compatible username in AD). This is mandatory as pam_radius is only used for authentication. UID, GID, home dir and all *nix relevant account parameters are still retrieved from the local user database. An alternative to step 3 would be to use the template_user option in radius.conf, but this means that all your Windows users will appear to the system with same UID/GID as the template_user. MattAD wrote: > I would just like to know if anyone on earth has been able to get the > pam_radius module working on FreeBSD, using a windows domain username > through ssh... ??? This has become a mystery to me. My /etc/pam.d/sshd > config looks like so: > > # > # $FreeBSD: src/etc/pam.d/sshd,v 1.16 2007/06/10 18:57:20 yar Exp $ > # > # PAM configuration for the "sshd" service > # > > # auth > auth required pam_nologin.so no_warn > auth sufficient pam_opie.so no_warn > no_fake_prompts > auth requisite pam_opieaccess.so no_warn allow_local > auth sufficient pam_radius.so no_warn > try_first_pass > #auth sufficient pam_krb5.so no_warn > try_first_pass > #auth sufficient pam_ssh.so no_warn > try_first_pass > auth sufficient pam_unix.so no_warn > try_first_pass > > # account > account required pam_nologin.so > #account required pam_krb5.so > account required pam_login_access.so > account required pam_unix.so > > # session > #session optional pam_ssh.so > session required pam_permit.so > > # password > #password sufficient pam_krb5.so no_warn > try_first_pass > password required pam_unix.so no_warn > try_first_pass > > > :confused: -- Regards, Todor Genov Systems Operations Verizon Business South Africa (Pty) Ltd todor.genov@za.verizonbusiness.com Tel: +27 11 235 6500 Fax: 086 692 0543 From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 01:44: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 219CE1065687 for ; Fri, 17 Oct 2008 01:44: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 C46748FC19 for ; Fri, 17 Oct 2008 01:44:56 +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 CCB16120012; Fri, 17 Oct 2008 08:44:02 +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 ZF7+KM1pkE-f; Fri, 17 Oct 2008 08:44:01 +0700 (WIT) Received: from [203.153.106.5] (DALnet.tranquillity.se [203.153.106.5]) by smtp.velo.net.id (Postfix) with ESMTP id 11F0D12000D; Fri, 17 Oct 2008 08:44:00 +0700 (WIT) Message-ID: <48F7EE13.7000401@muliahost.com> Date: Fri, 17 Oct 2008 08:44:51 +0700 From: Kalpin Erlangga Silaen User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Jeremy Chadwick References: <48F6F88A.5030107@muliahost.com> <20081016085248.GA5191@icarus.home.lan> In-Reply-To: <20081016085248.GA5191@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Auto Backup Data and Delete for Account Expired X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 01:44:57 -0000 Dear Jeremy, Jeremy Chadwick wrote: > On Thu, Oct 16, 2008 at 03:17:14PM +0700, Kalpin Erlangga Silaen wrote: > >> Dear all, >> >> is there any routines to check if some accounts expire then system would >> like to do backup all data to certain directory and then delete the account. >> >> Any help would be appreciate. >> > > You sent this mail to the list yesterday. We saw it. > > I am sorry, my email client was error and all sent email still exist in outbox. I have fix it. Thank you Kalpin Erlangga Silaen From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 01:48: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 04F1F1065694 for ; Fri, 17 Oct 2008 01:48:34 +0000 (UTC) (envelope-from kayvey@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id 4F13B8FC15 for ; Fri, 17 Oct 2008 01:48:33 +0000 (UTC) (envelope-from kayvey@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so1633599uge.39 for ; Thu, 16 Oct 2008 18:48:31 -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=ljx2ZECt6ltXfbfIOmnA9+Kjox56mW4V8gRquAe3JwE=; b=Yu4z/pE47Vcs/gWgiHOkHRAsQuT4OSZ9U5S9+fox+kkbL+uRJB6PyY91Q3aFD3afyU b/rLMlM/mrj2yNc2Iulur1KyeEMkFdobu9dtx+4AYwIMhGF2Y9EztqVQoXXuRiiQHE9d o6tOXzwslf3WyTx1C8HUGTZP6NE+TLH8w5D3g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=Ab8YUUZoz9TJbetAcomSNqyJXZ8PaowLGoiTukDZ8Ubs1Rzigv086rCn7VcKJ7p5KQ wNznOUlDrPNbJqcea4Rm6/CTXk73j9BKAV+T4bJjapPn3rYNfZoj5Zx23V4a/XVOUZyj wn8DGptWycybzPYWx/9Yh30htqIW0jNs31niw= Received: by 10.210.127.13 with SMTP id z13mr3768696ebc.39.1224208111148; Thu, 16 Oct 2008 18:48:31 -0700 (PDT) Received: by 10.210.86.3 with HTTP; Thu, 16 Oct 2008 18:48:31 -0700 (PDT) Message-ID: <28b9b4180810161848ua342669l9cbaeaa61b357407@mail.gmail.com> Date: Thu, 16 Oct 2008 18:48:31 -0700 From: "Kayven Riese" To: freebsd-questions@freebsd.org, california71_lv@hotmail.com, stan@cs.sfsu.edu 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: kgdb of kernel issues FB7.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: Fri, 17 Oct 2008 01:48:34 -0000 I was running my FreeBSD 7.0-RELEASE (160GB HD) on this laptop: http://www.monkeyview.net/id/965/fsck/dmesg/PB12001901.vhtml Right now I am swapped out http://www.monkeyview.net/id/965/fsck/torrent/p5120212.vhtml but I have the problem disk mounted using this: http://www.monkeyview.net/id/965/fsck/torrent/p5120226.vhtml This is a much older disk with 60GB and $ uname -a FreeBSD 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 $ It makes clunking sounds sometimes, but for the most part it seems to run fine. Some diagnostics on the 160GB HD FB 7.0 that have been done: # mount /dev/da0s4 /mnt/usr # fsck_ufs -y /mnt/usr ** /dev/da0s4 (NO WRITE) ** Last Mounted on /mnt/usr ** Phase 1 - Check Blocks and Sizes INCORRECT BLOCK COUNT I=2779162 (4 should be 0) CORRECT? no fsck_ufs: cannot alloc 871186332 bytes for inoinfo # I have been told that doing fsck while mounted is a very bad thing, but I did fsck before the above depicted instantiation of the fsck command and after this and it always did the same thing. I have done fsck using the argument /dev/da0s4, I have done fsck in single user mode (the 160GB hard boots a character based shell, but crashes and reboots during "startx") and always the fsck looks the same. My configuration of the 160GB is a little goofy, in my estimation, just to explain. I currently have three hard drives representing all the times I have installed FreeBSD, two of them are dual booted with MS Vista, and this latest one with 160GB has FreeBSD all to itself, but when I was creating it, I mistook partitions for slices so I configured 4 partitions, leaving some of the disk unallocated thinking that would be good for that 10% utilization thing. I mount three partitions on /, /var, and /usr; respectively and the last one as swap. I learned the vi editor in 1985 and tend to recount the flavor of unix as "evax" but at this point I wonder if this "evax" concept is mistaken. I have done a bunch of c programming in university courses, but also spent some time doing molecular biology but they had me on a SUN SPARCstation I guess. Didn't mess with that source code. Anyway. Sorry for not being concise. I thought maybe my background might be useful information. I was told to do another diagnostic, alleged to pin the disk down as having no bad sectors: # dd if=/dev/da0 bs=65536 of=/dev/null 2442045+1 records in 2442045+1 records out 160041885696 bytes transferred in 5718.122211 secs (27988539 bytes/sec) # echo $? 0 # I was told that the fact that it returns 0 was good. I also tried the port called recoverdisk, but that was taking extremely long. I accidently disconnected the USB port # /usr/src/tools/tools/recoverdisk zsh: permission denied: /usr/src/tools/tools/recoverdisk # set -o vi # ls /usr/src/tools/tools/recoverdisk Makefile recoverdisk.1 recoverdisk.c # cd /usr/src/tools/tools/recoverdisk # make Warning: Object directory not changed from original /usr/src/tools/tools/recoverdisk cc -O2 -fno-strict-aliasing -pipe -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c recoverdisk.c cc -O2 -fno-strict-aliasing -pipe -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -o recoverdisk recoverdisk.o gzip -cn recoverdisk.1 > recoverdisk.1.gz # ls Makefile recoverdisk.1 recoverdisk.c recoverdisk recoverdisk.1.gz recoverdisk.o # ./recoverdisk usage: recoverdisk [-r worklist] [-w worklist] source-drive [destination] # ./recoverdisk /dev/da0s4 start size len state done remaining % done 590348288 1048576 134551002112 0 590348288 134551002112 0.0043684 It had run for perhaps half an hour and still was only 0.3% done or so. finally, the guy downstairs told me to debug the kernel so I found this page: http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-gdb.html and after mounting the /usr partition I am here: -rw-r--r-- 1 root wheel 21360 Jun 22 10:30 yarrow.o # kgdb /mnt/nexstar/obj/usr/src/sys/KV_KERN/kernel.debug vmcore.12 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] 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 conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd". Unread portion of the kernel message buffer: dev = ad0s4d, block = 1, fs = /usr panic: ffs_blkfree: freeing free block cpuid = 0 Uptime: 8m2s Physical memory: 1010 MB Dumping 78 MB: 63 47 31 15 #0 0x00000000 in ?? () (kgdb) ::sigh:: I was figuring I would try again, but right now I am running the intermediary (120GB) HD.. let me reacquaint you with my disks: relative age capacity dual boot? partition 1 partition 2 notes oldest 60GB yes FreeBSD 6.2 Vista makes the gnome (operational) (broken) clunking noises intermediate 120GB yes Vista FreeBSD (6.3?) (running now) (broken) newest 160GB no FreeBSD 7.0 n/a subject of this KDE (won't start) question - Accept and Award Points From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 02:10: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 69CA7106569A for ; Fri, 17 Oct 2008 02:10:13 +0000 (UTC) (envelope-from kalpin@muliahost.com) Received: from smtp.velo.net.id (mx3.velo.net.id [203.153.103.161]) by mx1.freebsd.org (Postfix) with ESMTP id 185DC8FC1D for ; Fri, 17 Oct 2008 02:10:12 +0000 (UTC) (envelope-from kalpin@muliahost.com) Received: from localhost (trilian.net2cyber.net [127.0.0.1]) by smtp.velo.net.id (Postfix) with ESMTP id 62B446832C for ; Fri, 17 Oct 2008 08:56:12 +0700 (WIT) X-Virus-Scanned: amavisd-new at velo.net.id Received: from smtp.velo.net.id ([127.0.0.1]) by localhost (trilian.net2cyber.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T5rj-2NwjpQ1 for ; Fri, 17 Oct 2008 08:56:07 +0700 (WIT) Received: from [203.153.106.5] (DALnet.tranquillity.se [203.153.106.5]) by smtp.velo.net.id (Postfix) with ESMTP id 9A0DF6816E for ; Fri, 17 Oct 2008 08:56:07 +0700 (WIT) Message-ID: <48F7F3FD.5090209@muliahost.com> Date: Fri, 17 Oct 2008 09:10:05 +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 Subject: IPFW UID match questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 02:10:13 -0000 Dear all, I tried to implement IPFW rules like below on my shell server: /sbin/ipfw -q add 18600 allow tcp from any to personal_ip in /sbin/ipfw -q add 18650 allow tcp from personal_ip to any out uid kalpin /sbin/ipfw -q add 18660 allow tcp from personal_ip to any out uid root /sbin/ipfw -q add 18670 allow tcp from personal_ip to any out uid nobody /sbin/ipfw -q add 18700 deny tcp from personal_ip to any out I hope with this rule, only user kalpin could be use the vhost personal_ip. Below is brief description line 1 will allow all tcp incoming packets into personal_ip line 2 will allow tcp outgoing packets from personal_ip to anywhere if match uid kalpin line 3 same with line 2 if match uid root (to response identd request from IRC Network if identd run as root) line 4 same with line 3 if match uid nobody (to response identd request from IRC Network if identd run as fall into nobody) line 5 will deny all tcp outgoing packets But, IRC Network still could not get ident response from my server. If I removed line 5, then IRC Network get identd response. My identd process is: root 63932 0.0 0.1 3136 1028 ?? Ss 1:46AM 0:00.03 /usr/local/sbin/oidentd -C /usr/local/etc/oidentd.conf Is there anything else should be done to fix this problem? Thank you Kalpin Erlangga Silaen From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 03:35: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 55E50106568D for ; Fri, 17 Oct 2008 03:35:58 +0000 (UTC) (envelope-from letter2steve@yahoo.com) Received: from web51401.mail.re2.yahoo.com (web51401.mail.re2.yahoo.com [206.190.38.180]) by mx1.freebsd.org (Postfix) with SMTP id DD9658FC14 for ; Fri, 17 Oct 2008 03:35:57 +0000 (UTC) (envelope-from letter2steve@yahoo.com) Received: (qmail 44156 invoked by uid 60001); 17 Oct 2008 03:09:16 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=xG++VuDwj4ljx4i71dGP+C/YqUSqE6QFa7AVPUfdgNz5ELANEzWkSUuaJDU4O30ZOp3yhKftB0ohf0XgN8UmxjRudM4YoG5FZylnne24uJ5hPMUjDLuH0H5d4IEwX7D7I1XofZthemmDpMeFy1RmL6oZihM3KJ4+ys5jqPXMByE=; X-YMail-OSG: AXGhfP8VM1kntpml._Fl.S7md6Kmr03_VmztP3usnrQWfpadhf7P2FIs62dXPFiE2a3mnweQlaJ3vi3zfoIWebiPn.MluQlL_KQ9Lw8zioQeX3sy7mkQPCgtIIDCNaQs_fERRGwYkC8U.Tue9MyYaOuGGqfgnE65fSR26BYHvsJGiKZdIPRKEymrTM3V Received: from [99.229.212.12] by web51401.mail.re2.yahoo.com via HTTP; Thu, 16 Oct 2008 20:09:15 PDT X-Mailer: YahooMailWebService/0.7.247.3 Date: Thu, 16 Oct 2008 20:09:15 -0700 (PDT) From: Steve Quinn To: jnatola@familycareintl.org In-Reply-To: <3A85D7EF44E1C744BF6434691F5659E9015E3EFD@www.fcimail.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <126499.43775.qm@web51401.mail.re2.yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: g4u and ftp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: letter2steve@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 03:35:58 -0000 --- On Thu, 10/16/08, Jean-Paul Natola wrote: > From: Jean-Paul Natola > Subject: g4u and ftp > To: "FreeBSD Questions" > Date: Thursday, October 16, 2008, 1:41 PM > Hi all, > > I'm having an issue trying to write to my ftp server > from linux- > > I just setup the ftp server with read and write access > anonymous login > > >From windows explorer no-problem from the mac's no > problem- but when I try to > upload an image using g4u (http://www.feyrer.de/g4u/) I > get rejected by the > MS ftp server > > > Im not sure why it doesn't let me any thoughts? > > tia Hi Jean-Paul I use G4U very much myself so I've been there G4U's defaults are reading/writing to a FTP user-account by the name of "install" I hope that helps you out Take care Steve Quinn From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 03:38: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 110A91065686 for ; Fri, 17 Oct 2008 03:38:29 +0000 (UTC) (envelope-from peter@boosten.org) Received: from smtpq1.gn.mail.iss.as9143.net (smtpq1.gn.mail.iss.as9143.net [212.54.34.164]) by mx1.freebsd.org (Postfix) with ESMTP id BF8758FC15 for ; Fri, 17 Oct 2008 03:38:28 +0000 (UTC) (envelope-from peter@boosten.org) Received: from [212.54.34.140] (port=38719 helo=smtp9.gn.mail.iss.as9143.net) by smtpq1.gn.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1KqfZX-0006uk-Np for freebsd-questions@freebsd.org; Fri, 17 Oct 2008 05:00:15 +0200 Received: from cp268254-a.landg1.lb.home.nl ([84.25.65.88] helo=ra.egypt.nl) by smtp9.gn.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1KqfZS-0005w3-JZ for freebsd-questions@freebsd.org; Fri, 17 Oct 2008 05:00:10 +0200 Received: from [127.0.0.1] (xp.egypt.nl [192.168.13.35]) by ra.egypt.nl (Postfix) with ESMTP id 5F562398DE for ; Fri, 17 Oct 2008 05:00:09 +0200 (CEST) Message-ID: <48F7FFB8.20209@boosten.org> Date: Fri, 17 Oct 2008 05:00:08 +0200 From: Peter Boosten User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 CC: freebsd-questions@freebsd.org References: <20013780.post@talk.nabble.com> In-Reply-To: <20013780.post@talk.nabble.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1KqfZS-0005w3-JZ X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.808, required 5, BAYES_00 -2.60, CM_META_TB_NOARR 0.50, MISSING_HEADERS 1.29, SPF_PASS -0.00) X-ZiggoSMTP-MailScanner-From: peter@boosten.org X-Spam-Status: No Subject: Re: Radius Authentication X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 03:38:29 -0000 MattAD wrote: > I would just like to know if anyone on earth has been able to get the > pam_radius module working on FreeBSD, using a windows domain username > through ssh... ??? This has become a mystery to me. My /etc/pam.d/sshd > config looks like so: I don't have a direct answer to your question, but we use tac_plus with the RADIUS extension to authenticate from our IPS environment to a Windows 2003 domain, and there are two things I vaguely remember from that setup (maybe they apply to your setup as well): - when authenticating we have to use the complete login name, including domain info: username@domain.tlc - we had to switch 'Store passwords in reversable form' (or something like that - in Windows that is) to be able to authenticate. The first password is stored that way after a password change. - we discovered that some password do not work: passwords with a "+" sign in it, but I don't know if that due to TACACS or RADIUS. Hope it helps. Peter -- http://www.boosten.org From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 04:20: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 BFF10106568E for ; Fri, 17 Oct 2008 04:20:51 +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 6C95D8FC16 for ; Fri, 17 Oct 2008 04:20:50 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA04.westchester.pa.mail.comcast.net ([76.96.62.35]) by QMTA06.westchester.pa.mail.comcast.net with comcast id TWeh1a0020ldTLk56gLdw1; Fri, 17 Oct 2008 04:20:37 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA04.westchester.pa.mail.comcast.net with comcast id TgLo1a0032P6wsM3QgLpHo; Fri, 17 Oct 2008 04:20:50 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=_-Ovp-EjumBSDfBTtocA:9 a=3BfH9M_y6Ott6VrYan8A:7 a=uRw74K4Sj6M-de5pfLQUnOfRrHcA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 37AC2C9432; Thu, 16 Oct 2008 21:20:48 -0700 (PDT) Date: Thu, 16 Oct 2008 21:20:48 -0700 From: Jeremy Chadwick To: Kalpin Erlangga Silaen Message-ID: <20081017042048.GA11656@icarus.home.lan> References: <48F7F3FD.5090209@muliahost.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48F7F3FD.5090209@muliahost.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: IPFW UID match questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 04:20:51 -0000 On Fri, Oct 17, 2008 at 09:10:05AM +0700, Kalpin Erlangga Silaen wrote: > Dear all, > > I tried to implement IPFW rules like below on my shell server: > > /sbin/ipfw -q add 18600 allow tcp from any to personal_ip in > /sbin/ipfw -q add 18650 allow tcp from personal_ip to any out uid kalpin > /sbin/ipfw -q add 18660 allow tcp from personal_ip to any out uid root > /sbin/ipfw -q add 18670 allow tcp from personal_ip to any out uid nobody > /sbin/ipfw -q add 18700 deny tcp from personal_ip to any out > > I hope with this rule, only user kalpin could be use the vhost > personal_ip. Below is brief description > > line 1 will allow all tcp incoming packets into personal_ip > line 2 will allow tcp outgoing packets from personal_ip to anywhere if > match uid kalpin > line 3 same with line 2 if match uid root (to response identd request > from IRC Network if identd run as root) > line 4 same with line 3 if match uid nobody (to response identd request > from IRC Network if identd run as fall into nobody) > line 5 will deny all tcp outgoing packets > > But, IRC Network still could not get ident response from my server. If I > removed line 5, then IRC Network get identd response. My identd process is: > > root 63932 0.0 0.1 3136 1028 ?? Ss 1:46AM 0:00.03 > /usr/local/sbin/oidentd -C /usr/local/etc/oidentd.conf > > Is there anything else should be done to fix this problem? The problem is that you're not allowing incoming connections to personal_ip on TCP port 113 (ident/auth). Add this rule: /sbin/ipfw -q add 18680 allow tcp from personal_ip 113 to any out You can also replace "113" with "auth" or "ident" if you want (see /etc/services). -- | 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 17 04:34: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 9B5B8106564A; Fri, 17 Oct 2008 04:34:57 +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 4B2E18FC25; Fri, 17 Oct 2008 04:34: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 4CD54810097; Fri, 17 Oct 2008 11:34:55 +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 GqEbPpC+6nS3; Fri, 17 Oct 2008 11:34:50 +0700 (WIT) Received: from [203.153.106.5] (DALnet.tranquillity.se [203.153.106.5]) by smtp.velo.net.id (Postfix) with ESMTP id 6A188810141; Fri, 17 Oct 2008 11:34:49 +0700 (WIT) Message-ID: <48F815ED.9030107@muliahost.com> Date: Fri, 17 Oct 2008 11:34:53 +0700 From: Kalpin Erlangga Silaen User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Jeremy Chadwick References: <48F7F3FD.5090209@muliahost.com> <20081017042048.GA11656@icarus.home.lan> In-Reply-To: <20081017042048.GA11656@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: IPFW UID match questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 04:34:57 -0000 Jeremy Chadwick wrote: > The problem is that you're not allowing incoming connections to > personal_ip on TCP port 113 (ident/auth). Add this rule: > > /sbin/ipfw -q add 18680 allow tcp from personal_ip 113 to any out > > You can also replace "113" with "auth" or "ident" if you want (see > /etc/services). > thank you very much. It's solved. Regards, Kalpin Erlangga Silaen From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 05:53: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 5D3101065703 for ; Fri, 17 Oct 2008 05:53:17 +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 DFB518FC14 for ; Fri, 17 Oct 2008 05:53:16 +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 1KqiGr-0007Q1-Pq; Fri, 17 Oct 2008 06:53:09 +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 m9H5r6Pw025814; Fri, 17 Oct 2008 06:53:07 +0100 Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id 33B00FCA4AD; Fri, 17 Oct 2008 06:53:01 +0100 (BST) Date: Fri, 17 Oct 2008 06:53:01 +0100 From: Frank Shute To: Edwin Groothuis Message-ID: <20081017055301.GA58175@melon.esperance-linux.co.uk> Mail-Followup-To: Edwin Groothuis , freebsd-questions@freebsd.org, eculp@casasponti.net References: <20081016090102.17qwm4xcs6f4so8ok@intranet.casasponti.net> <20081016225917.GA92530@mavetju.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081016225917.GA92530@mavetju.org> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 6.3-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, 17 Oct 2008 06:53:09 +0100 (BST) Cc: eculp@casasponti.net, freebsd-questions@freebsd.org Subject: Re: I've just found a new and interesting spam source - legitimate bounce messages 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, 17 Oct 2008 05:53:17 -0000 On Fri, Oct 17, 2008 at 09:59:17AM +1100, Edwin Groothuis wrote: > > > In the last hour, I've received over 200 legitimate bounce messages > > from email services as a result of someone having used or worse is > > using my email address in spam from multiple windows machines and ip > > addresses. > > When this happens I enable the "move all messages from mailer-daemon > to /dev/null" rules in procmail for a day or two. And curse at the > people who originated the original spam... > I use a similar approach to Edward's. My old domain used to get hammered with backscatter which basically I had no choice but to accept. I was on a pop3 catch-all. If I had a regular amount of backscatter (<100), I'd accept it & then pass it to procmail. I found (I don't know if the OP did too) that the backscatter was generally addressed to a non-existent user, so it was easy to write rules to filter it out and send it to the bit-bucket. I also found that the backscatter was commonly addressed to people like frankn@ - close but no cigar. The following filtered out that crap: :0: * ^To:\ <[<>0-9A-Za-z]+frank@esperance.* spam/new :0: * ^To:\ Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 979BD106568A for ; Fri, 17 Oct 2008 06:29:00 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from hawk.thalamus.net (hawk.thalamus.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id 55E668FC31 for ; Fri, 17 Oct 2008 06:29:00 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from localhost (localhost.thalamus.net [127.0.0.1]) by hawk.thalamus.net (Postfix) with ESMTP id 090AD1EE891; Fri, 17 Oct 2008 08:28:56 +0200 (CEST) X-Virus-Scanned: by amavisd-new at thalamus.net X-Spam-Flag: NO X-Spam-Score: 2.394 X-Spam-Level: ** X-Spam-Status: No, score=2.394 tagged_above=-999 required=4.2 tests=[AWL=-0.775, HELO_LH_HOME=3.169] Received: from hawk.thalamus.net ([127.0.0.1]) by localhost (hawk.thalamus.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4wbPi6DrQNqM; Fri, 17 Oct 2008 08:28:52 +0200 (CEST) Received: from lesbsdpc.homenet.home (c-195-216-040-164.static.bjare.net [195.216.40.164]) by hawk.thalamus.net (Postfix) with ESMTP id B47E71EE89A; Fri, 17 Oct 2008 08:28:52 +0200 (CEST) Message-ID: <48F830A7.8090804@eskk.nu> Date: Fri, 17 Oct 2008 08:28:55 +0200 From: Leslie Jensen User-Agent: Thunderbird 2.0.0.17 (X11/20081001) MIME-Version: 1.0 To: Warren Block References: <48F79A63.2000702@eskk.nu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Lost the "require" meny alternative with Gimp 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: Fri, 17 Oct 2008 06:29:00 -0000 Warren Block skrev: > On Thu, 16 Oct 2008, Leslie Jensen wrote: > >> I upgraded Gimp to version 2.6.1 and now I do not have the require >> (for scanning) meny choice anymore. > > "Acquire", maybe? Yes, sorry about that. > >> Any ideas on how to get the function back. >> >> I can scan using xscanimage but it takes more steps to get the scanned >> image into Gimp. > > In gimp 2.6.1, the SANE scanner plugin is on the File/Create menu. Thank you :-) I've found it /Leslie > > -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 07:24: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 924C41065697 for ; Fri, 17 Oct 2008 07:24:37 +0000 (UTC) (envelope-from emss@free.fr) Received: from smtp-msa-out01.orange.fr (smtp-msa-out01.orange.fr [193.252.23.120]) by mx1.freebsd.org (Postfix) with ESMTP id 46B0A8FC19 for ; Fri, 17 Oct 2008 07:24:37 +0000 (UTC) (envelope-from emss@free.fr) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2352.orange.fr (SMTP Server) with ESMTP id 9E7E17000086; Fri, 17 Oct 2008 09:24:35 +0200 (CEST) Received: from srvbsdnanssv.interne.kisoft-services.com (AAnnecy-103-1-10-48.w217-128.abo.wanadoo.fr [217.128.200.48]) by mwinf2352.orange.fr (SMTP Server) with ESMTP id C7C16700008E; Fri, 17 Oct 2008 09:24:34 +0200 (CEST) X-ME-UUID: 20081017072434818.C7C16700008E@mwinf2352.orange.fr X-ME-User-Auth: e-masson0330 Received: from localhost (localhost [127.0.0.1]) by srvbsdnanssv.interne.kisoft-services.com (Postfix) with ESMTP id 4E130170BB; Fri, 17 Oct 2008 09:24:34 +0200 (CEST) X-Virus-Scanned: amavisd-new at interne.kisoft-services.com Received: from srvbsdnanssv.interne.kisoft-services.com ([127.0.0.1]) by localhost (srvbsdnanssv.interne.kisoft-services.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U9lPevFCPXwo; Fri, 17 Oct 2008 09:24:31 +0200 (CEST) Received: by srvbsdnanssv.interne.kisoft-services.com (Postfix, from userid 1001) id 68017170D6; Fri, 17 Oct 2008 09:24:31 +0200 (CEST) To: Dan Nelson From: Eric Masson In-Reply-To: <20081016164640.GG99270@dan.emsphone.com> (Dan Nelson's message of "Thu, 16 Oct 2008 11:46:40 -0500") References: <48F72A5D.7000708@d80.iso100.no> <863aiw91th.fsf@srvbsdnanssv.interne.kisoft-services.com> <48F73B8C.8090402@d80.iso100.no> <86hc7cr47q.fsf@srvbsdnanssv.interne.kisoft-services.com> <20081016164640.GG99270@dan.emsphone.com> X-Operating-System: FreeBSD 6.3-RELEASE-p5 i386 Date: Fri, 17 Oct 2008 09:24:30 +0200 Message-ID: <86y70nzntd.fsf@srvbsdnanssv.interne.kisoft-services.com> User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.5-b28 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit Cc: "Svein Skogen \(List Mail Account\)" , Mailing List FreeBSD Questions Subject: Re: FreeBSD RELENG_7 scsi and usb, usb disks take precedence X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 07:24:37 -0000 Dan Nelson writes: Hi, > No patching needed. You can wire down the unit number of your scsi bus > and drive with boot hints as described in the scsi(4) manpage. Wire > the adaptec card down as scbus0, and wire the device at scbus0.0 down > as da0. Nice. I've never used scsi related hints ATM. I've learned something today © ;) -- bof> "mot de passe invalide" ca veut dire quoi? Que tu peux s'assoir dans les places réservées des autobus. -+- LW in GNU : Pour l'invalide, c'est l'opéra ou la concorde. -+- From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 08: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 3B92F1065699 for ; Fri, 17 Oct 2008 08:01:10 +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 1507D8FC21 for ; Fri, 17 Oct 2008 08:01:10 +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 1KqkGj-0008Ow-4L for freebsd-questions@freebsd.org; Fri, 17 Oct 2008 01:01:09 -0700 Message-ID: <20028504.post@talk.nabble.com> Date: Fri, 17 Oct 2008 01:01:09 -0700 (PDT) From: Colin Brace To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: cb@lim.nl Subject: updating a port with problems (libxml2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 08:01:10 -0000 Hi all, I use portsnap to keep the port tree of my FreeBSD 7 box up to date. According to portaudit, which I run nightly, there is a problem with the current version of libxml2. So, as usual, I run "sudo portsnap fetch && sudo portsnap update", and then: $ cd /usr/ports/textproc/libxml2 $ sudo make deinstall $ sudo make reinstall clean But this last command results in an error: ===> libxml2-2.6.32 has known vulnerabilities: => libxml2 -- two vulnerabilities. Reference: => Please update your ports tree and try again. It would appear that the port has not yet been updated. Is this some temporary glitch? Otherwise, the approach I use is not very robust, since I have now managed to deinstall a library upon which a dozen or so programs depend. However, this is the first time this has happened. Comments, suggestions most welcome. Thanks. ----- Colin Brace Amsterdam http://lim.nl -- View this message in context: http://www.nabble.com/updating-a-port-with-problems-%28libxml2%29-tp20028504p20028504.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 08: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 8572E1065687 for ; Fri, 17 Oct 2008 08:11:07 +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 413828FC12 for ; Fri, 17 Oct 2008 08:11:07 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-255-48-78.bredband.comhem.se ([83.255.48.78]:58762 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KqkQG-0002Xl-4N for freebsd-questions@freebsd.org; Fri, 17 Oct 2008 10:11:04 +0200 Received: (qmail 50067 invoked from network); 17 Oct 2008 10:10:50 +0200 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 17 Oct 2008 10:10:50 +0200 Received: (qmail 99786 invoked by uid 1001); 17 Oct 2008 10:10:50 +0200 Date: Fri, 17 Oct 2008 10:10:50 +0200 From: Erik Trulsson To: Colin Brace Message-ID: <20081017081050.GA99756@owl.midgard.homeip.net> References: <20028504.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20028504.post@talk.nabble.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-IP: 83.255.48.78 X-Scan-Result: No virus found in message 1KqkQG-0002Xl-4N. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1KqkQG-0002Xl-4N e08877962d5666f8da85b650ebf56399 Cc: freebsd-questions@freebsd.org Subject: Re: updating a port with problems (libxml2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 08:11:07 -0000 On Fri, Oct 17, 2008 at 01:01:09AM -0700, Colin Brace wrote: > > Hi all, > > I use portsnap to keep the port tree of my FreeBSD 7 box up to date. > According to portaudit, which I run nightly, there is a problem with the > current version of libxml2. So, as usual, I run "sudo portsnap fetch && > sudo portsnap update", and then: > > $ cd /usr/ports/textproc/libxml2 > $ sudo make deinstall > $ sudo make reinstall clean > > But this last command results in an error: > > ===> libxml2-2.6.32 has known vulnerabilities: > => libxml2 -- two vulnerabilities. > Reference: > > => Please update your ports tree and try again. > > It would appear that the port has not yet been updated. Is this some > temporary glitch? Otherwise, the approach I use is not very robust, since I > have now managed to deinstall a library upon which a dozen or so programs > depend. However, this is the first time this has happened. > > Comments, suggestions most welcome. > Sometimes it takes a while after a problem has been found with a port until a fixed version is available in the ports tree. In the worst case the port might never get fixed. So, no, your approach is not very robust. -- Erik Trulsson ertr1013@student.uu.se From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 08:12: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 59E3C1065693 for ; Fri, 17 Oct 2008 08:12:41 +0000 (UTC) (envelope-from glyn@millingtons.org) Received: from smtpout.karoo.kcom.com (smtpout.karoo.kcom.com [212.50.160.34]) by mx1.freebsd.org (Postfix) with ESMTP id EAE048FC15 for ; Fri, 17 Oct 2008 08:12:40 +0000 (UTC) (envelope-from glyn@millingtons.org) Received: from unknown (HELO glynthebearded.millingtons.org) ([82.152.120.109]) by smtpout.karoo.kcom.com with ESMTP; 17 Oct 2008 09:12:39 +0100 Received: by glynthebearded.millingtons.org (Postfix, from userid 1001) id 5FABC5CDC; Fri, 17 Oct 2008 09:08:56 +0100 (BST) To: Colin Brace References: <20028504.post@talk.nabble.com> Organization: Central Church, Torquay, U.K. X-Now-Playing: There's a deathly hush in the close tonight! X-Liturgical-Date: Memorial: Saint Ignatius of Antioch, bishop and martyr, A.D. 2008 From: Glyn Millington Date: Fri, 17 Oct 2008 09:08:56 +0100 In-Reply-To: <20028504.post@talk.nabble.com> (Colin Brace's message of "Fri\, 17 Oct 2008 01\:01\:09 -0700 \(PDT\)") Message-ID: <86od1jprs7.fsf@nowhere.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: updating a port with problems (libxml2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glyn@millingtons.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 08:12:41 -0000 Colin Brace writes: > Hi all, > > I use portsnap to keep the port tree of my FreeBSD 7 box up to date. > According to portaudit, which I run nightly, there is a problem with the > current version of libxml2. So, as usual, I run "sudo portsnap fetch && > sudo portsnap update", and then: > > $ cd /usr/ports/textproc/libxml2 > $ sudo make deinstall > $ sudo make reinstall clean > > But this last command results in an error: > > ===> libxml2-2.6.32 has known vulnerabilities: > => libxml2 -- two vulnerabilities. > Reference: > > => Please update your ports tree and try again. > > It would appear that the port has not yet been updated. Is this some > temporary glitch? Otherwise, the approach I use is not very robust, since I > have now managed to deinstall a library upon which a dozen or so programs > depend. However, this is the first time this has happened. > > Comments, suggestions most welcome. Hi Colin, I hit a similar difficulty with cups-base a few days ago. Matthew Seaman suggested this as a way of getting the dodgy port to install, which I used because I *really* needed to print something:- portupgrade -m "DISABLE_VULNERABILITIES=yes" cups-base Lo and behold, within 6 hours of my re-installing the vulnerable port, the port was fixed and I upgraded to that hth Glyn From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 08:26: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 42F8D106568A for ; Fri, 17 Oct 2008 08:26:30 +0000 (UTC) (envelope-from ben@b1c1l1.com) Received: from lancer.b1c1l1.com (lancer.b1c1l1.com [72.13.86.100]) by mx1.freebsd.org (Postfix) with ESMTP id 2CEAF8FC16 for ; Fri, 17 Oct 2008 08:26:30 +0000 (UTC) (envelope-from ben@b1c1l1.com) Received: from supra.b1c1l1.com (rescomp-08-94823.Stanford.EDU [128.12.97.199]) by lancer.b1c1l1.com (Postfix) with ESMTPSA id B17E75C21; Fri, 17 Oct 2008 01:26:29 -0700 (PDT) Message-ID: <48F84C2A.9010904@b1c1l1.com> Date: Fri, 17 Oct 2008 01:26:18 -0700 From: Benjamin Lee User-Agent: Thunderbird 2.0.0.17 (X11/20081008) MIME-Version: 1.0 To: Colin Brace References: <20028504.post@talk.nabble.com> In-Reply-To: <20028504.post@talk.nabble.com> X-Enigmail-Version: 0.95.7 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig7FDE356EC34C1FE6460077EF" Cc: freebsd-questions@freebsd.org Subject: Re: updating a port with problems (libxml2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 08:26:30 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7FDE356EC34C1FE6460077EF Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 10/17/08 01:01, Colin Brace wrote: > Hi all, >=20 > I use portsnap to keep the port tree of my FreeBSD 7 box up to date. > According to portaudit, which I run nightly, there is a problem with th= e > current version of libxml2. So, as usual, I run "sudo portsnap fetch &= & > sudo portsnap update", and then:=20 Note that 'portsnap fetch update' will accomplish the same thing. > $ cd /usr/ports/textproc/libxml2 > $ sudo make deinstall > $ sudo make reinstall clean >=20 > But this last command results in an error: >=20 > =3D=3D=3D> libxml2-2.6.32 has known vulnerabilities: > =3D> libxml2 -- two vulnerabilities. > Reference: > > =3D> Please update your ports tree and try again. >=20 > It would appear that the port has not yet been updated. Is this some > temporary glitch? Otherwise, the approach I use is not very robust, sin= ce I > have now managed to deinstall a library upon which a dozen or so progra= ms > depend. However, this is the first time this has happened. >=20 > Comments, suggestions most welcome. To get libxml2 reinstalled before the port is bumped you'll want to try 'make -DDISABLE_VULNERABILITIES reinstall'. In general, it's easier to use portupgrade(1). See "Using the Ports Collection"[1] in the FreeBSD Handbook. [1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.htm= l --=20 Benjamin Lee --------------enig7FDE356EC34C1FE6460077EF 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 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQIcBAEBAgAGBQJI+EwxAAoJEN/n9makEYTholsQAJiWe9BJvrrcYnQlN7hsDom7 8Umksq+Ems/yLZ0OItDf6SdwVHesQYQxGY1hQLA68n8OS5S0UOmvf1JW8TUm5OP1 Bu2SXb6LTcwuwoBHC7viZlRAVCU7eKM1k4Qw8wnJxiPYf8QsLwDc7pmqc8e0u/Hx 3j3rKulE9Nqn1W2P+kDUSBYp6CUvmJaZd+1LWvs/DJM8Ns6nmyBXoERPrKz+AjgB VTcj8ObadurDAhWAnSqN5DUssT8VfQNFp7SLnsOjZR6O65sOCK2qvFVgFlSq12Vx YBBAuPxgGqDZtV8DSm8BJCvqbtxt71izxspVLSh3mJUgaaXkt4BgplYWvd3neCC/ FEUu7ksr/fQNtg+axx2jUdTOH11ehA2lhD363cU4kuHoPzg6OAoKv2EqfhdIFRWX zjNquq63Wep7Bez5Vj2lrbiwo8+DgGalShj5FwnuUd3wzRMoV0HAaMYIbBAHvXpK RhSxLas+bQyMF+bWIrC5DIlK1HBEMZVamWTpBklLqjB7FbNqzRs8NN2hUxD4an/a KLSC6vx1iG6UJFdY4JemKt5tSy0WTQhK9KhEdCOYFfzUNyXBLrCqmRE0h+891InY Mt2m8yG5vcU6N0fMXyzlLyKg5GxDFlNU5P2JGc77vEN4DFFWOq3unseiQymSjhfH yQ3DcZ6xjRX0Nlf1J6kr =dQ6S -----END PGP SIGNATURE----- --------------enig7FDE356EC34C1FE6460077EF-- From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 09: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 5068A1065688 for ; Fri, 17 Oct 2008 09:47:27 +0000 (UTC) (envelope-from peo@intersonic.se) Received: from neonpark.inter-sonic.com (neonpark.inter-sonic.com [212.247.8.98]) by mx1.freebsd.org (Postfix) with ESMTP id 0B00B8FC0A for ; Fri, 17 Oct 2008 09:47:26 +0000 (UTC) (envelope-from peo@intersonic.se) X-Virus-Scanned: amavisd-new at BSDLabs AB Message-ID: <48F85F2B.7050200@intersonic.se> Date: Fri, 17 Oct 2008 11:47:23 +0200 From: Per olof Ljungmark Organization: Intersonic AB User-Agent: Thunderbird 2.0.0.16 (X11/20080927) MIME-Version: 1.0 To: Jeremy Chadwick References: <48F6EDF2.4070109@intersonic.se> <48F75EE5.2090908@intersonic.se> <48F79F0F.5020402@intersonic.se> <200810162231.50549.fbsd.questions@rachie.is-a-geek.net> <48F7B3F3.70907@intersonic.se> <20081016220744.GA4823@icarus.home.lan> In-Reply-To: <20081016220744.GA4823@icarus.home.lan> 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: FreeBSD and Nagios - permissions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 09:47:27 -0000 Jeremy Chadwick wrote: > You get the point now, I'm sure. Hi, just to say a big thank you to the people on the list for keeping up with my dumb questions on sudo, this morning I re-read the manual and got it working within minutes. I'm still not convinced that sudo is the way to go in our particular case so next week we'll test the C wrapper approach as well. Have a good weekend, -- per From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 11:02: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 3F6CB1065687 for ; Fri, 17 Oct 2008 11:02: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 BCC618FC2D for ; Fri, 17 Oct 2008 11:02:58 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Kqn6e-0002rl-FV for freebsd-questions@freebsd.org; Fri, 17 Oct 2008 11:02:56 +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 ; Fri, 17 Oct 2008 11:02:56 +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 ; Fri, 17 Oct 2008 11:02:56 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Date: Fri, 17 Oct 2008 07:06:37 -0400 Lines: 65 Message-ID: References: <20081015222456.GO86263@tnn.dglawrence.com> <20081016111741.GA8548@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: Breach of Contract Reported for FREEBSD.ORG 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: Fri, 17 Oct 2008 11:02:59 -0000 Jeremy Chadwick wrote: >> [snip] >> >> ICANN requires registrars to verify the domain info once a year. I just >> went through this with GoDaddy. I think the registrars see this as an >> opportunity to market services. Different registrars bungle their >> marketing effort in different ways. GoDaddy sent me instructions on what >> to do in order to correct errors, but had absolutely nothing on how to >> proceed if the information was correct. So I viewed this as something >> they could take advantage of in order to get me to their site for a "hard >> sell" campaign. > > So how do you folks who comply with ICANN's requirement deal with this? > http://blog.forret.com/2004/12/domain-registry-of-america-scam/ -- This > organisation is now known as "Domain Renewal Group", by the way. What is described in the above URI looks very very similar to what I saw when I first went to check up on the ICANN whois confirmation email I received from GoDaddy. Initially they seemed to be touting their new "TDNAM" service, which I gather is some form of bulk auction. GoDaddy took over the domains from the RegisterFly debacle so they have a few million domains to monetize. A perfect example of "registrar gone bad". At first I was alarmed - "Why am I in some danger of losing my domains?" is what I thought. As I went deeper into it by examining my account, I confirmed that I indeed had "Auto Renew" on, so it would just bill my credit card even if I took no action. However, I tend to do it manually just so I'm satisfied it's done. So in the end this was just a "hard sell" for a new service they wanted to push, for which I have no use. There must have been complaints because when I just went looking for what I saw a few weeks ago it seems to have vanished. > I'm quite interested in knowing; it might be tolerable if you've only > one domain, but if you're a hosting provider and have 100? > I'm not qualified for this because these days I only carry two .com domains. At work we are a large .org entity and we have an entire group of people whose sole function is to deal with this. Relatively low down in the hierarchy my DNS servers are only slaves to those higher up. It is a function handled by others and is out of my hands. But a scam is a scam and the first thing which needs to occur is recognizing a scam when you see it. Most legitimate businesses recognize the need for large scale management and more than likely market some form of service of assistance. It's a matter of trade-off of the fees they charge versus whether it is worth it to you time/money wise to pay for the service. For something like this I would only consider a service of this type offerred by the registrar I'm already dealing with. And even then, I'd double check behind them as I had time. Back in the day I worked 2 blocks from Network Solutions and had a friend that worked there as a DBA. So I had the proverbial "someone you know" insider access. He no longer works for them and moved to California some years ago. But it goes to the point of the working relationship you maintain with your registrar. I'm fairly cynical so I tend to believe large companies only pay attention to large accounts and have a certain tendency to ignore and forget to service the little guy. In that vein it's a "YMMV", depends on who represents you on the other end of the circuit. -Mike From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 07:27: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 F277B1065688 for ; Fri, 17 Oct 2008 07:27:23 +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 B00F18FC15 for ; Fri, 17 Oct 2008 07:27:23 +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 1Kqjk2-0007Ty-L1 for freebsd-questions@freebsd.org; Fri, 17 Oct 2008 00:27:22 -0700 Message-ID: <20027802.post@talk.nabble.com> Date: Fri, 17 Oct 2008 00:27:22 -0700 (PDT) From: MattAD To: freebsd-questions@freebsd.org In-Reply-To: <48F7E51B.8030703@za.verizonbusiness.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: mattvdwest@hotmail.com References: <20013780.post@talk.nabble.com> <48F7E51B.8030703@za.verizonbusiness.com> X-Mailman-Approved-At: Fri, 17 Oct 2008 11:23:07 +0000 Subject: Re: Radius Authentication X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 07:27:24 -0000 Hi Todor, Thanks, Ive read before that there has to be a user on the local server with the same name as the windows domain and i have used the man pages for the configuration, i think the problem lies with the autentication against the Radius server, or the Radius server itself. I shall venture forth and try to combat this plague!!! :-P thanks for the speedy reply btw! =) Todor Genov-2 wrote: > > Hi Matt, > > > The three important steps here are as follows: > > 1.) Confirm that authentication against the RADIUS server succeeds using > any command line RADIUS util. > > 2.) configure /etc/radius.conf as per "man pam_radius" and man > "radius.conf" > > 3.) Add a user on the FreeBSD machine whose name corresponds with the > Windows domain account (if the name contains spaces then refer to the > pre-Windows2000 compatible username in AD). This is mandatory as > pam_radius is only used for authentication. UID, GID, home dir and all > *nix relevant account parameters are still retrieved from the local user > database. > > An alternative to step 3 would be to use the template_user option in > radius.conf, but this means that all your Windows users will appear to > the system with same UID/GID as the template_user. > > > MattAD wrote: >> I would just like to know if anyone on earth has been able to get the >> pam_radius module working on FreeBSD, using a windows domain username >> through ssh... ??? This has become a mystery to me. My /etc/pam.d/sshd >> config looks like so: >> >> # >> # $FreeBSD: src/etc/pam.d/sshd,v 1.16 2007/06/10 18:57:20 yar Exp $ >> # >> # PAM configuration for the "sshd" service >> # >> >> # auth >> auth required pam_nologin.so no_warn >> auth sufficient pam_opie.so no_warn >> no_fake_prompts >> auth requisite pam_opieaccess.so no_warn >> allow_local >> auth sufficient pam_radius.so no_warn >> try_first_pass >> #auth sufficient pam_krb5.so no_warn >> try_first_pass >> #auth sufficient pam_ssh.so no_warn >> try_first_pass >> auth sufficient pam_unix.so no_warn >> try_first_pass >> >> # account >> account required pam_nologin.so >> #account required pam_krb5.so >> account required pam_login_access.so >> account required pam_unix.so >> >> # session >> #session optional pam_ssh.so >> session required pam_permit.so >> >> # password >> #password sufficient pam_krb5.so no_warn >> try_first_pass >> password required pam_unix.so no_warn >> try_first_pass >> >> >> :confused: > > -- > Regards, > > Todor Genov > Systems Operations > > Verizon Business South Africa (Pty) Ltd > > todor.genov@za.verizonbusiness.com > Tel: +27 11 235 6500 > Fax: 086 692 0543 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > -- View this message in context: http://www.nabble.com/Radius-Authentication-tp20013780p20027802.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 12:13: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 594121065688 for ; Fri, 17 Oct 2008 12:13:46 +0000 (UTC) (envelope-from vmail@lists.ukgrid.net) Received: from alpha.ukgrid.net (lists.manap.net [85.159.60.196]) by mx1.freebsd.org (Postfix) with ESMTP id 20AED8FC14 for ; Fri, 17 Oct 2008 12:13:46 +0000 (UTC) (envelope-from vmail@lists.ukgrid.net) Received: from vmail by alpha.ukgrid.net with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KqoDB-000OIe-Cg for freebsd-questions@freebsd.org; Fri, 17 Oct 2008 13:13:45 +0100 From: "andys" To: freebsd-questions@freebsd.org Date: Fri, 17 Oct 2008 14:13:45 +0200 Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Message-Id: Sender: VMail virtual user Subject: bsdlabel partiton c error message on new install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 12:13:46 -0000 Hi, on a newly installed FreeBSD 7.0 system on a dell 1950 server I see the following error from bsdlabel. Is there any known issues with this or is the only reasonable explanation that I have managed to mess it up without even knowing? :P And should I manually change the partition c to fix the prob? Is this safe to do? bsdlabel -A /dev/da0s1 # /dev/da0s1: type: SCSI disk: da0s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 17750 sectors/unit: 285155328 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 20971520 0 4.2BSD 2048 16384 28552 b: 20971520 75497472 swap c: 285153687 0 unused 0 0 # "raw" part, don't edit d: 20971520 20971520 4.2BSD 2048 16384 28552 e: 20971520 41943040 4.2BSD 2048 16384 28552 f: 12582912 62914560 4.2BSD 2048 16384 28552 bsdlabel: partition c doesn't cover the whole unit! bsdlabel: An incorrect partition c may cause problems for standard system utilities thanks for any advice, Im not really confident with the FreeBSD disk management as I havent used it much, thanks Andy. From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 12:22: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 BCFCA106568E for ; Fri, 17 Oct 2008 12:22:09 +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 0C5098FC08 for ; Fri, 17 Oct 2008 12:22:08 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA13.westchester.pa.mail.comcast.net ([76.96.62.52]) by QMTA04.westchester.pa.mail.comcast.net with comcast id TluX1a00J17dt5G54oN8Fu; Fri, 17 Oct 2008 12:22:08 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA13.westchester.pa.mail.comcast.net with comcast id ToN71a00B2P6wsM3ZoN7rh; Fri, 17 Oct 2008 12:22:08 +0000 X-Authority-Analysis: v=1.0 c=1 a=526rwrygDQ8A:10 a=mQ5bP1b1WGUA:10 a=QycZ5dHgAAAA:8 a=_I4HfBsDXZMqN6aEHQ0A:9 a=an6f7ZMqxEkxVUfhrd0A:7 a=R9xT77DrsJZ5AumRGg5hXGoE6JYA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 33107C9432; Fri, 17 Oct 2008 05:22:07 -0700 (PDT) Date: Fri, 17 Oct 2008 05:22:07 -0700 From: Jeremy Chadwick To: andys Message-ID: <20081017122207.GA21157@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: bsdlabel partiton c error message on new install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 12:22:09 -0000 On Fri, Oct 17, 2008 at 02:13:45PM +0200, andys wrote: > Hi, > > on a newly installed FreeBSD 7.0 system on a dell 1950 server I see the > following error from bsdlabel. Is there any known issues with this or is > the only reasonable explanation that I have managed to mess it up without > even knowing? :P And should I manually change the partition c to fix the > prob? Is this safe to do? > > bsdlabel -A /dev/da0s1 > # /dev/da0s1: > type: SCSI > disk: da0s1 > label: > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 255 > sectors/cylinder: 16065 > cylinders: 17750 > sectors/unit: 285155328 > rpm: 3600 > interleave: 1 > trackskew: 0 > cylinderskew: 0 > headswitch: 0 # milliseconds > track-to-track seek: 0 # milliseconds > drivedata: 0 > > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 20971520 0 4.2BSD 2048 16384 28552 > b: 20971520 75497472 swap > c: 285153687 0 unused 0 0 # "raw" part, > don't edit > d: 20971520 20971520 4.2BSD 2048 16384 28552 > e: 20971520 41943040 4.2BSD 2048 16384 28552 > f: 12582912 62914560 4.2BSD 2048 16384 28552 > bsdlabel: partition c doesn't cover the whole unit! > bsdlabel: An incorrect partition c may cause problems for standard system > utilities It's complaining that 285153687 (see "c" partition) does not equal 285155328 (see "sectors/unit" up top). > thanks for any advice, Im not really confident with the FreeBSD disk > management as I havent used it much, I'm left wondering why you're messing around with bsdlabel on a FreeBSD install in the first 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 Fri Oct 17 12:41: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 A7532106568D for ; Fri, 17 Oct 2008 12:41:10 +0000 (UTC) (envelope-from fbsd06+2Z=5f9b349a@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 798018FC21 for ; Fri, 17 Oct 2008 12:41:10 +0000 (UTC) (envelope-from fbsd06+2Z=5f9b349a@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 CB3EC163DE9 for ; Fri, 17 Oct 2008 08:29: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 EA15FD0563 for ; Fri, 17 Oct 2008 08:29:35 -0400 (EDT) Date: Fri, 17 Oct 2008 13:29:33 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20081017132933.1fe0bc9f@gumby.homeunix.com.> In-Reply-To: <20028504.post@talk.nabble.com> References: <20028504.post@talk.nabble.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: updating a port with problems (libxml2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 12:41:10 -0000 On Fri, 17 Oct 2008 01:01:09 -0700 (PDT) Colin Brace wrote: > $ cd /usr/ports/textproc/libxml2 > $ sudo make deinstall > $ sudo make reinstall clean > ... > It would appear that the port has not yet been updated. Is this some > temporary glitch? Otherwise, the approach I use is not very robust, > since I have now managed to deinstall a library upon which a dozen or > so programs depend. portupgrade builds before deinstalling, and creates a backup package in case the port builds but fails to install. BTW you don't need reinstall in the above case, it's only needed if you want to install twice without using the deinstall or clean targets in between. e.g. make install pkg_delete make reinstall From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 13: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 B801E106569C; Fri, 17 Oct 2008 13:21:38 +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 755108FC1F; Fri, 17 Oct 2008 13:21:38 +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 0671B7000087; Fri, 17 Oct 2008 15:21:37 +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 A59BD7000086; Fri, 17 Oct 2008 15:21:36 +0200 (CEST) X-ME-UUID: 20081017132136678.A59BD7000086@mwinf6302.online.nl From: Aniruddha To: pyunyh@gmail.com In-Reply-To: <20081015235638.GA22992@cdnetworks.co.kr> References: <1224054780.4011.20.camel@debian> <20081015072630.GA70901@icarus.home.lan> <1224069478.4247.7.camel@debian> <20081015113101.GA76278@icarus.home.lan> <20081015120911.GI14769@cdnetworks.co.kr> <1224080661.5407.2.camel@debian> <20081015235638.GA22992@cdnetworks.co.kr> Content-Type: text/plain Date: Fri, 17 Oct 2008 15:21:48 +0200 Message-Id: <1224249708.4053.0.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Cc: Jeremy Chadwick , freebsd-questions@FreeBSD.org Subject: Re: Under heavy load internet gets killed, only a reboot can bring it back up X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 13:21:38 -0000 On Thu, 2008-10-16 at 08:56 +0900, Pyun YongHyeon wrote: > It seems that msk(4) in HEAD does not build correctly on RELENG_7. > Try attached patch. > > Save attached patch to /path/to/patch > #cd /usr/src/sys/dev/msk > #patch -p0 < /path/to/patch/msk.watchdog.diff > And rebuild your kernel. This patch failed with the following error: /if_msk.c /usr/src/sys/dev/msk/if_msk.c:845:50: error: macro "MEXTADD" passed 8 arguments, but takes just 7 /usr/src/sys/dev/msk/if_msk.c: In function 'msk_jumbo_newbuf': /usr/src/sys/dev/msk/if_msk.c:844: error: 'MEXTADD' undeclared (first use in this function) /usr/src/sys/dev/msk/if_msk.c:844: error: (Each undeclared identifier is reported only once /usr/src/sys/dev/msk/if_msk.c:844: error: for each function it appears in.) *** Error code 1 Stop in /usr/obj/usr/src/sys/MYKERNEL. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 13: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 7B6421065694 for ; Fri, 17 Oct 2008 13:25:06 +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 39D0C8FC18 for ; Fri, 17 Oct 2008 13:25:06 +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 665917000088 for ; Fri, 17 Oct 2008 15:25:05 +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 445937000085 for ; Fri, 17 Oct 2008 15:25:05 +0200 (CEST) X-ME-UUID: 20081017132505280.445937000085@mwinf6304.online.nl From: Aniruddha To: freebsd-questions@FreeBSD.org In-Reply-To: <1224249708.4053.0.camel@debian> References: <1224054780.4011.20.camel@debian> <20081015072630.GA70901@icarus.home.lan> <1224069478.4247.7.camel@debian> <20081015113101.GA76278@icarus.home.lan> <20081015120911.GI14769@cdnetworks.co.kr> <1224080661.5407.2.camel@debian> <20081015235638.GA22992@cdnetworks.co.kr> <1224249708.4053.0.camel@debian> Content-Type: text/plain Date: Fri, 17 Oct 2008 15:25:17 +0200 Message-Id: <1224249917.4053.6.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Cc: Subject: ("SOLVED") Under heavy load internet gets killed, only a reboot can bring it back up X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 13:25:06 -0000 I 'solved' this by buying a new nic. It's an Eminent with a RTL8139D chipset. -- Regards, Aniruddha From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 14:20: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 3F1D3106568A for ; Fri, 17 Oct 2008 14:20:56 +0000 (UTC) (envelope-from vmail@lists.ukgrid.net) Received: from alpha.ukgrid.net (lists.manap.net [85.159.60.196]) by mx1.freebsd.org (Postfix) with ESMTP id 01F828FC14 for ; Fri, 17 Oct 2008 14:20:55 +0000 (UTC) (envelope-from vmail@lists.ukgrid.net) Received: from vmail by alpha.ukgrid.net with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KqqCE-000PHK-Pu; Fri, 17 Oct 2008 15:20:54 +0100 References: <20081017122207.GA21157@icarus.home.lan> In-Reply-To: <20081017122207.GA21157@icarus.home.lan> From: "andys" To: Jeremy Chadwick Date: Fri, 17 Oct 2008 15:20:54 +0100 Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Message-Id: Sender: VMail virtual user Cc: freebsd-questions@freebsd.org Subject: Re: bsdlabel partiton c error message on new install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 14:20:56 -0000 HiJeremy, yep I understand what its complaining about I just dont understand how that could be wrong after doing a fresh install. The reason I was looking is because we left some space unallocated and I need to create a new slice or however you call it in BSD... cheers Andy. Jeremy Chadwick writes: From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 14:34: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 E14FF106569C for ; Fri, 17 Oct 2008 14:34:13 +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 886698FC37 for ; Fri, 17 Oct 2008 14:34:13 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA02.westchester.pa.mail.comcast.net ([76.96.62.19]) by QMTA05.westchester.pa.mail.comcast.net with comcast id Tlax1a0090QuhwU55qaCtW; Fri, 17 Oct 2008 14:34:12 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA02.westchester.pa.mail.comcast.net with comcast id TqaB1a00K2P6wsM3NqaCuv; Fri, 17 Oct 2008 14:34:12 +0000 X-Authority-Analysis: v=1.0 c=1 a=526rwrygDQ8A:10 a=mQ5bP1b1WGUA:10 a=QycZ5dHgAAAA:8 a=xnawy-_w9N5CXEjYLdYA:9 a=iOXw-cFyzriiRxCI2kevrCVc88oA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 680D5C9437; Fri, 17 Oct 2008 07:34:11 -0700 (PDT) Date: Fri, 17 Oct 2008 07:34:11 -0700 From: Jeremy Chadwick To: andys Message-ID: <20081017143411.GA23707@icarus.home.lan> References: <20081017122207.GA21157@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: bsdlabel partiton c error message on new install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 14:34:14 -0000 On Fri, Oct 17, 2008 at 03:20:54PM +0100, andys wrote: > HiJeremy, > > yep I understand what its complaining about I just dont understand how > that could be wrong after doing a fresh install. The reason I was looking > is because we left some space unallocated and I need to create a new > slice or however you call it in BSD... It sounds to me that someone "left some space" in the wrong part of the sysinstall process then -- they should have left some space for slices, when in fact it appears they left some space for actual partitions. -- | 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 17 14:38: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 1FA501065691; Fri, 17 Oct 2008 14:38:10 +0000 (UTC) (envelope-from vmail@lists.ukgrid.net) Received: from alpha.ukgrid.net (lists.manap.net [85.159.60.196]) by mx1.freebsd.org (Postfix) with ESMTP id D56958FC30; Fri, 17 Oct 2008 14:38:09 +0000 (UTC) (envelope-from vmail@lists.ukgrid.net) Received: from vmail by alpha.ukgrid.net with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KqqSu-000PSB-RN; Fri, 17 Oct 2008 15:38:08 +0100 References: <20081017122207.GA21157@icarus.home.lan> <20081017143411.GA23707@icarus.home.lan> In-Reply-To: <20081017143411.GA23707@icarus.home.lan> From: "andys" To: Jeremy Chadwick Date: Fri, 17 Oct 2008 15:38:08 +0100 Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Message-Id: Sender: VMail virtual user Cc: freebsd-questions@freebsd.org Subject: Re: bsdlabel partiton c error message on new install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 14:38:10 -0000 Well its a strange one, cos mostly the free space is where it should be, the difference between the current partition c and the whole disk is very small :S. So to remedy this can I just update the size of partion c? Or am I in more trouble than that? From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 14:53: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 4564E106568E for ; Fri, 17 Oct 2008 14:53:57 +0000 (UTC) (envelope-from f.bonnet@esiee.fr) Received: from mx1.esiee.fr (mx1.esiee.fr [147.215.1.35]) by mx1.freebsd.org (Postfix) with ESMTP id 012A48FC1C for ; Fri, 17 Oct 2008 14:53:56 +0000 (UTC) (envelope-from f.bonnet@esiee.fr) Received: from mail.esiee.fr (mail.esiee.fr [147.215.1.3]) by mx1.esiee.fr (Postfix) with ESMTP id 345E7130E18 for ; Fri, 17 Oct 2008 16:34:01 +0200 (CEST) Received: from mail.esiee.fr (localhost [127.0.0.1]) by VAMS.dummy (Postfix) with SMTP id 23FE823A11 for ; Fri, 17 Oct 2008 16:34:01 +0200 (CEST) Received: from privftp.esiee.fr (privftp.esiee.fr [147.215.1.190]) by mail.esiee.fr (Postfix) with ESMTP id 1C26D23A11 for ; Fri, 17 Oct 2008 16:34:00 +0200 (CEST) Received: from lisa.esiee.fr (lisa.esiee.fr [147.215.1.21]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: bonnetf) by privftp.esiee.fr (Postfix) with ESMTPSA id B249B3981A for ; Fri, 17 Oct 2008 16:34:00 +0200 (CEST) Message-ID: <48F8A258.2060407@esiee.fr> Date: Fri, 17 Oct 2008 16:34:00 +0200 From: Frank Bonnet User-Agent: Thunderbird 2.0.0.17 (X11/20081003) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Installing Samba : FreeBSD Vs Linux ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 14:53:57 -0000 Hello I am on the way to setup a brand new Samba server with OpenLDAP backend I am very interrested by feedback of "real world" samba admins running it with FreeBSD or Linux , my boss push hardly to use Linux but I would much prefer FreeBSD so good arguments are welcome ( my boss is a smart guy , if I give enough litterature that says FreeBSD is better, he will be OK ) More seriously I'm also searching for eventuals benchmarks that compare those two configurations. Thanks a lot. From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 15:04: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 418671065688 for ; Fri, 17 Oct 2008 15:04:13 +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 DBA498FC22 for ; Fri, 17 Oct 2008 15:04:12 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA12.westchester.pa.mail.comcast.net ([76.96.62.44]) by QMTA07.westchester.pa.mail.comcast.net with comcast id TqMt1a01P0xGWP857r457N; Fri, 17 Oct 2008 15:04:05 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA12.westchester.pa.mail.comcast.net with comcast id Tr481a0042P6wsM3Yr48yx; Fri, 17 Oct 2008 15:04:09 +0000 X-Authority-Analysis: v=1.0 c=1 a=526rwrygDQ8A:10 a=mQ5bP1b1WGUA:10 a=QycZ5dHgAAAA:8 a=1UyvsG6CUzUlcG2pRosA:9 a=8nVpViXf-ger74cekqItWwRQNr8A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id C1C30C9437; Fri, 17 Oct 2008 08:04:07 -0700 (PDT) Date: Fri, 17 Oct 2008 08:04:07 -0700 From: Jeremy Chadwick To: andys Message-ID: <20081017150407.GA24294@icarus.home.lan> References: <20081017122207.GA21157@icarus.home.lan> <20081017143411.GA23707@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: bsdlabel partiton c error message on new install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 15:04:13 -0000 On Fri, Oct 17, 2008 at 03:38:08PM +0100, andys wrote: > Well its a strange one, cos mostly the free space is where it should be, > the difference between the current partition c and the whole disk is very > small :S. So to remedy this can I just update the size of partion c? Or > am I in more trouble than that? I don't have an answer. Someone more familiar with the aspects of bsdlabel and labelling will have to answer your question. You should consider re-asking your original question on freebsd-fs. -- | 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 17 15: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 B22D8106569C for ; Fri, 17 Oct 2008 15:39:43 +0000 (UTC) (envelope-from kayvey@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id A31108FC1F for ; Fri, 17 Oct 2008 15:39:41 +0000 (UTC) (envelope-from kayvey@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so50474uge.39 for ; Fri, 17 Oct 2008 08:39: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:mime-version:content-type; bh=yEgtZFMFevFoGJniVYblcfgNmTmgCo1lZOSNwZ1US8g=; b=Tj8Exe7WSW7SNN3c1Mnce86Ffl3WGMdG7UhH0G0SkFxdhaK9r+VeWsyUPkK8MHLLQ9 2hqZFAxWwmHjeE35r03e09mVt+vAirTgBQLto69PciMPdA/QdQ1NWsaVA7/va6lkG0be fDjxQ7dcP2VkiQJfUOK3EEsf2pItX3XIXw0lU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=iFoSj48J3QsnLzpFQuw9jqpPY1pH+RmJWI9MTE9PM1d/It1Ea4usWuMi71s8F/AnYs yc7CxQ28fm9OkRxpQtPDdvLKnDRJgTTIqYG0u30spMtv3x+fasaw+zlFR7evAmVhuSQp ch9y8wkrv11cDvVquqxcG63M6pEhqdSx/niOY= Received: by 10.210.74.17 with SMTP id w17mr4598436eba.76.1224257980226; Fri, 17 Oct 2008 08:39:40 -0700 (PDT) Received: by 10.210.86.3 with HTTP; Fri, 17 Oct 2008 08:39:40 -0700 (PDT) Message-ID: <28b9b4180810170839q45697ca9pef7cb04c2f469008@mail.gmail.com> Date: Fri, 17 Oct 2008 08:39:40 -0700 From: "Kayven Riese" 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: Re: kgdb of kernel issues FB7.0 (mangled inode) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 15:39:43 -0000 > I wasn't sure if I should have edited this. > ------------------------------ > > Message: 29 > Date: Thu, 16 Oct 2008 18:48:31 -0700 > From: "Kayven Riese" > Subject: kgdb of kernel issues FB7. > To: freebsd-questions@freebsd.org, california71_lv@hotmail.com, > stan@cs.sfsu.edu > Message-ID: > <28b9b4180810161848ua342669l9cbaeaa61b357407@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > I was running my FreeBSD 7.0-RELEASE (160GB HD) on this laptop: > > http://www.monkeyview.net/id/965/fsck/dmesg/PB12001901.vhtml > > Right now I am swapped out > > http://www.monkeyview.net/id/965/fsck/torrent/p5120212.vhtml > > but I have the problem disk mounted using this: > > http://www.monkeyview.net/id/965/fsck/torrent/p5120226.vhtml > > This is a much older disk with 60GB and > $ uname -a > FreeBSD 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC > 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 > $ > > It makes clunking sounds sometimes, but for the most part it seems to run > fine. > > Some diagnostics on the 160GB HD FB 7.0 that have been done: > > # mount /dev/da0s4 /mnt/usr > # fsck_ufs -y /mnt/usr > ** /dev/da0s4 (NO WRITE) > ** Last Mounted on /mnt/usr > ** Phase 1 - Check Blocks and Sizes > INCORRECT BLOCK COUNT I=2779162 (4 should be 0) > CORRECT? no > > fsck_ufs: cannot alloc 871186332 bytes for inoinfo > # > > I have been told that doing fsck while mounted is a very bad thing, but I > did fsck before the > above depicted instantiation of the fsck command and after this and it > always did the same > thing. I have done fsck using the argument /dev/da0s4, > I have done fsck in single user mode (the 160GB hard boots a character > based shell, but crashes > and reboots during "startx") and always the fsck looks the same. My > configuration of the 160GB > is a little goofy, in my estimation, just to explain. I currently have > three hard drives representing > all the times I have installed FreeBSD, two of them are dual booted with MS > Vista, and this latest > one with 160GB has FreeBSD all to itself, but when I was creating it, I > mistook partitions for > slices so I configured 4 partitions, leaving some of the disk unallocated > thinking that would be > good for that 10% utilization thing. I mount three partitions on /, /var, > and /usr; respectively > and the last one as swap. I learned the vi editor in 1985 and tend to > recount the flavor of > unix as "evax" but at this point I wonder if this "evax" concept is > mistaken. I have done a bunch > of c programming in university courses, but also spent some time doing > molecular biology but > they had me on a SUN SPARCstation I guess. Didn't mess with that source > code. > > Anyway. Sorry for not being concise. I thought maybe my background might > be > useful information. > I was told to do another diagnostic, alleged to pin the disk down as having > no bad sectors: > > # dd if=/dev/da0 bs=65536 of=/dev/null > 2442045+1 records in > 2442045+1 records out > 160041885696 bytes transferred in 5718.122211 secs (27988539 bytes/sec) > # echo $? > 0 > # > > I was told that the fact that it returns 0 was good. > > > I also tried the port called recoverdisk, but that was taking extremely > long. I accidently disconnected the > USB port > > # /usr/src/tools/tools/recoverdisk > zsh: permission denied: /usr/src/tools/tools/recoverdisk > # set -o vi > # ls /usr/src/tools/tools/recoverdisk > Makefile recoverdisk.1 recoverdisk.c > # cd /usr/src/tools/tools/recoverdisk > # make > Warning: Object directory not changed from original > /usr/src/tools/tools/recoverdisk > cc -O2 -fno-strict-aliasing -pipe -Wsystem-headers -Werror -Wall > -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c > recoverdisk.c > cc -O2 -fno-strict-aliasing -pipe -Wsystem-headers -Werror -Wall > -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -o > recoverdisk recoverdisk.o > gzip -cn recoverdisk.1 > recoverdisk.1.gz > # ls > Makefile recoverdisk.1 recoverdisk.c > recoverdisk recoverdisk.1.gz recoverdisk.o > # ./recoverdisk > usage: recoverdisk [-r worklist] [-w worklist] source-drive [destination] > # ./recoverdisk /dev/da0s4 > start size len state done remaining % > done > 590348288 1048576 134551002112 0 590348288 134551002112 > 0.0043684 > > It had run for perhaps half an hour and still was only 0.3% done or so. > > > finally, the guy downstairs told me to debug the kernel so I found this > page: > > > http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-gdb.html > > and after mounting the /usr partition I am here: > > -rw-r--r-- 1 root wheel 21360 Jun 22 10:30 yarrow.o > # kgdb /mnt/nexstar/obj/usr/src/sys/KV_KERN/kernel.debug vmcore.12 > [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: > Undefined symbol "ps_pglobal_lookup"] > 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 > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i386-marcel-freebsd". > > Unread portion of the kernel message buffer: > dev = ad0s4d, block = 1, fs = /usr > panic: ffs_blkfree: freeing free block > cpuid = 0 > Uptime: 8m2s > Physical memory: 1010 MB > Dumping 78 MB: 63 47 31 15 > > #0 0x00000000 in ?? () > (kgdb) > > ::sigh:: # kgdb /mnt/nexstar/obj/usr/src/sys/KV_KERN/kernel.debug vmcore.0 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] 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 conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd". Unread portion of the kernel message buffer: panic: ufs_dirbad: /usr: bad dir ino 9750624 at offset 28160: mangled entry cpuid = 0 Uptime: 5m6s Physical memory: 1010 MB Dumping 149 MB: 134 118 102 86 70 54 38 22 6 #0 0x00000000 in ?? () (kgdb) > > > > > I was figuring I would try again, but right now I am running the > intermediary (120GB) HD.. > let me reacquaint you with my disks: > > relative age capacity dual boot? partition 1 > partition 2 notes > oldest 60GB yes FreeBSD 6.2 > Vista makes the > > gnome (operational) (broken) clunking noises > > intermediate 120GB yes Vista > FreeBSD (6.3?) > > (running now) (broken) > > newest 160GB no FreeBSD 7.0 > n/a subject of this > KDE > (won't start) question > > > > - Accept and Award > Points< > http://www.experts-exchange.com/Storage/Hard_Drives/splitPoints.jsp?qid=23798083&aid=22692235 > > > > *----------------------------------------------------------* > Kayven Riese, BSCS, MS (Physiology and Biophysics) > (415) 902 5513 cellular > http://kayve.net > Webmaster http://ChessYoga.org > *----------------------------------------------------------* > > > From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 15: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 CE30E106568F for ; Fri, 17 Oct 2008 15:42:17 +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 D04748FC08 for ; Fri, 17 Oct 2008 15:42:16 +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 m9HFg5pR010788; Fri, 17 Oct 2008 17:42:05 +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 m9HFg5Mu010785; Fri, 17 Oct 2008 17:42:05 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Fri, 17 Oct 2008 17:42:05 +0200 (CEST) From: Wojciech Puchar To: Frank Bonnet In-Reply-To: <48F8A258.2060407@esiee.fr> Message-ID: <20081017174145.L10784@wojtek.tensor.gdynia.pl> References: <48F8A258.2060407@esiee.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Installing Samba : FreeBSD Vs Linux ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 15:42:17 -0000 > > I am very interrested by feedback of "real world" samba admins running it > with FreeBSD > or Linux , my boss push hardly to use Linux but I would much prefer FreeBSD do what your boss wants. it's his company, and it's his right to make bad decision From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 16: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 5776C106568D for ; Fri, 17 Oct 2008 16:11:11 +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 0CDA38FC0A for ; Fri, 17 Oct 2008 16:11:10 +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 m9HG8fM5021384; Fri, 17 Oct 2008 12:08:41 -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 m9HG8fqX021383; Fri, 17 Oct 2008 12:08:41 -0400 (EDT) (envelope-from jerrymc) Date: Fri, 17 Oct 2008 12:08:41 -0400 From: Jerry McAllister To: andys Message-ID: <20081017160841.GG21026@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: bsdlabel partiton c error message on new install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 16:11:11 -0000 On Fri, Oct 17, 2008 at 02:13:45PM +0200, andys wrote: > Hi, > > on a newly installed FreeBSD 7.0 system on a dell 1950 server I see the > following error from bsdlabel. Is there any known issues with this or is > the only reasonable explanation that I have managed to mess it up without > even knowing? :P And should I manually change the partition c to fix the > prob? Is this safe to do? > > bsdlabel -A /dev/da0s1 > # /dev/da0s1: > type: SCSI > disk: da0s1 > label: > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 255 > sectors/cylinder: 16065 > cylinders: 17750 > sectors/unit: 285155328 > rpm: 3600 > interleave: 1 > trackskew: 0 > cylinderskew: 0 > headswitch: 0 # milliseconds > track-to-track seek: 0 # milliseconds > drivedata: 0 > > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 20971520 0 4.2BSD 2048 16384 28552 > b: 20971520 75497472 swap > c: 285153687 0 unused 0 0 # "raw" part, don't > edit > d: 20971520 20971520 4.2BSD 2048 16384 28552 > e: 20971520 41943040 4.2BSD 2048 16384 28552 > f: 12582912 62914560 4.2BSD 2048 16384 28552 > bsdlabel: partition c doesn't cover the whole unit! > bsdlabel: An incorrect partition c may cause problems for standard system > utilities > > thanks for any advice, Im not really confident with the FreeBSD disk > management as I havent used it much, If you were using sysinstall, I am not sure how this would come up. Do you have more than one slice on the disk - that which MS refers to as a 'primary partition'? Something you might do to create a 'dual boot' machine. Are you in the position where you can just wipe it and do a reinstall? I wouldn't just move or resize the c partition after the fact. The c partition should be equal to the size of the slice it is in. That should just be true after the fdisk part of the operation unless there is something wrong with the size or alignment of the slice itself. And, in that case, I would expect it to have complained way back in the sysinstall-fdisk part of the process. So, I would start over if I could. Just some pictorial perspective to make it easier (I hope) to visualize. Whole device ____________________________________________________________ | slice 1 : FreeBSD Slice 2 : slice 3 : Slice 4 | | : : : | | :<- partition c ->: : | |Some MS thing : ' ' ' ' : Some Linux : Extra | | :pa' pb ' pd ' pe ' pn: thing : slice | | : ' ' ' ' : : | | : ' ' ' ' : : | ------------------------------------------------------------- A device (whole disk) can have up to 4 slices labeled 1..4. Each slice can be of different types. MS calls slices 'primary partitions'. Each FreeBSD type slice can be divided in to "8" (really 7) partitions that are labeled a..h. But, c must be used to define the whole slice. Slices are created by fdisk. Fdisk also writes the device's MBR. Partitions are created by bsdlabel (disk label in early versions of FreeBSD) bsdlabel also writes the slice's boot block. It is possible to leave empty space in the whole disk that is not allocated to any slice or within any given slice that is not allocated to any partition. The total of a..h not counting c, plus any non- allocated space, must add up to c. It is possible to create what someone has dubbed a 'dangerously dedicated' disk and just not create slices, but just use bsdlabel to divide the whole disk in to FreeBSD partitions a-h. The c partition must still refer to the whole space available for FreeBSD partitioning. I think it is also possible to just newfs the disk without using either fdisk or bsdlabel and create one filesystem without slices or partitions. I haven't tried it. Both fdisk and bsdlabel are supposed to keep track of the sizes correctly, automatically. That is why I suggest starting over. If you use sysinstall, it calls fdisk and bsdlabel for you and you don't have to do it separately unless you want to look and see what it did. ////jerry > > thanks Andy. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 16:17: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 8A5EA106575B for ; Fri, 17 Oct 2008 16:17:32 +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 476DB8FC13 for ; Fri, 17 Oct 2008 16:17:32 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from localhost (localhost [127.0.0.1]) by kanga.honeypot.net (Postfix) with ESMTP id 7135F94503A for ; Fri, 17 Oct 2008 11:17:31 -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 H1ftYzwa3dZK for ; Fri, 17 Oct 2008 11:17:29 -0500 (CDT) Received: from athena.daycos.com (athena.daycos.com [IPv6:2001:470:c054:1:221:9bff:fe00:de3f]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by kanga.honeypot.net (Postfix) with ESMTPSA id 1E37E945039 for ; Fri, 17 Oct 2008 11:17:29 -0500 (CDT) From: Kirk Strauser To: freebsd-questions@freebsd.org Date: Fri, 17 Oct 2008 11:17:26 -0500 User-Agent: KMail/1.10.1 (FreeBSD/7.1-PRERELEASE; KDE/4.1.1; amd64; ; ) References: <48F8A258.2060407@esiee.fr> <20081017174145.L10784@wojtek.tensor.gdynia.pl> In-Reply-To: <20081017174145.L10784@wojtek.tensor.gdynia.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810171117.26302.kirk@strauser.com> Subject: Re: Installing Samba : FreeBSD Vs Linux ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 16:17:32 -0000 On Friday 17 October 2008 10:42:05 Wojciech Puchar wrote: > do what your boss wants. it's his company, and it's his right to make bad > decision This is off-topic, but I wholly disagree. As a professional employee, it's my job to advise my boss on technological matters, and to persuade him to change course if I think he's making a bad decision. I'm not paid to do data entry, but to know enough about my job to know what's best for my employer. The final decision is his, but until he's made it, I'll do what I can to steer him. -- Kirk Strauser From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 16:46: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 561031065687 for ; Fri, 17 Oct 2008 16:46:57 +0000 (UTC) (envelope-from charlie.mas@gmail.com) Received: from gv-out-0910.google.com (gv-out-0910.google.com [216.239.58.191]) by mx1.freebsd.org (Postfix) with ESMTP id D67348FC17 for ; Fri, 17 Oct 2008 16:46:56 +0000 (UTC) (envelope-from charlie.mas@gmail.com) Received: by gv-out-0910.google.com with SMTP id n8so194298gve.39 for ; Fri, 17 Oct 2008 09:46:55 -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:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=ZK2Q4NIChM28XA/SmeKjZyljppVojIlKmjTSmDQtZi0=; b=PU2qH0xlJoF/0Lk2KuEsOdM685QezVxbZqu46GxRWYnyJLs0O/D7A2y8Yv6V0AgNTm o268rL1rzhXVLBmpK1hs5PXwXhqjtNZODQsp4YP/ywRMC9gGeVQiCI+m1OVAU1EJzK2I 89yd9gARxQMGS+K0Zj2vkA0uRaR6uA/PSUWU4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=gYcaLlYX2j78LUxq5yskz8gHEFwZK4asN6gQmAke0CpMoohrZ/a/Cap8bZC/aU9jpL UNXl6dvAxG3u2/Ju1QUc3Ssuo+IiYqHagIA4rx5cpL3uRvPuGEr3dBkTZ5A2Imql2xg0 pvJ7cptTvCrLacela34Q2Riho10Uc3YsBKWZ4= Received: by 10.103.227.10 with SMTP id e10mr2307719mur.38.1224260026035; Fri, 17 Oct 2008 09:13:46 -0700 (PDT) Received: by 10.103.208.8 with HTTP; Fri, 17 Oct 2008 09:13:45 -0700 (PDT) Message-ID: <1960fb140810170913s237f7295jd5e192f1745c9dcb@mail.gmail.com> Date: Fri, 17 Oct 2008 17:13:45 +0100 From: "Charles Mason" To: freebsd-questions@freebsd.org In-Reply-To: <20081017174145.L10784@wojtek.tensor.gdynia.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48F8A258.2060407@esiee.fr> <20081017174145.L10784@wojtek.tensor.gdynia.pl> Subject: Re: Installing Samba : FreeBSD Vs Linux ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: charlie@cpsoftware.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 16:46:57 -0000 On Fri, Oct 17, 2008 at 4:42 PM, Wojciech Puchar wrote: >> >> I am very interrested by feedback of "real world" samba admins running it >> with FreeBSD >> or Linux , my boss push hardly to use Linux but I would much prefer >> FreeBSD > > do what your boss wants. it's his company, and it's his right to make bad > decision > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > If he's a good boss (as the poster seem to be implying) then he will be asking because he hasn't made his mind up his mind completely, but yeah don't get fired over it :) >From what I have seen, both are perfectly capable and since its samba that will be doing most of the actual work its probably doesn't matter that much. Of course the next question if he goes with Linux, is which distro. Perhaps the question should be FreeBSD v Red Hat v Ubuntu v SUSE v latest flavour of the month. Since keeping it patched is essential, these sorts of admin features do matter. I am not sure what File System you plan on using but FreeBSD does have one killer feature Linux doesn't, ZFS. Linux thanks to licensing issues doesn't really have a solid implementation yet (although there have been attempts). If you need its features and can put a decent amount of RAM in to the file server, to good be a good choice and perhaps just the angle you are looking for. To be honest I haven't used ZFS in serious production yet although I have been running it at home on my DIY 1.25tb NAS without any issues for nearly a year. Still if you have spent a lot an expensive RAID system disabling it and using ZFS's superior (unless you really spent a lot on that RAID hardware) redundancy may not go down to well. Hope that's of some help. Charlie M From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 16: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 8B29B1065686 for ; Fri, 17 Oct 2008 16:52:50 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-144.bluehost.com (outbound-mail-144.bluehost.com [67.222.38.34]) by mx1.freebsd.org (Postfix) with SMTP id 566DA8FC18 for ; Fri, 17 Oct 2008 16:52:50 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: (qmail 10358 invoked by uid 0); 17 Oct 2008 16:52:47 -0000 Received: from unknown (HELO box183.bluehost.com) (69.89.25.183) by outboundproxy5.bluehost.com with SMTP; 17 Oct 2008 16:52:47 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=lc21wxzD3jAq0C99kM7j1JUmNNR4QVqWoI66sNbuI1I/MevEVGUMjkjA34ym1FQp8AHuDtilav3Z/1j+Q1givQDclxeD+LheiyTNgjZwaFCk3zwJOVc9HtfcEGfI0qfP; 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 1KqsZC-0005zZ-Ub for freebsd-questions@FreeBSD.org; Fri, 17 Oct 2008 10:52:47 -0600 Received: by kokopelli.hydra (sSMTP sendmail emulation); Fri, 17 Oct 2008 10:44:27 -0600 Date: Fri, 17 Oct 2008 10:44:27 -0600 From: Chad Perrin To: freebsd-questions@FreeBSD.org Message-ID: <20081017164427.GE2071@kokopelli.hydra> Mail-Followup-To: freebsd-questions@FreeBSD.org References: <48F8A258.2060407@esiee.fr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Rgf3q3z9SdmXC6oT" Content-Disposition: inline In-Reply-To: <48F8A258.2060407@esiee.fr> 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: Subject: Re: Installing Samba : FreeBSD Vs Linux ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 16:52:50 -0000 --Rgf3q3z9SdmXC6oT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 17, 2008 at 04:34:00PM +0200, Frank Bonnet wrote: > Hello >=20 > I am on the way to setup a brand new Samba server with OpenLDAP backend >=20 > I am very interrested by feedback of "real world" samba admins running it= =20 > with FreeBSD > or Linux , my boss push hardly to use Linux but I would much prefer FreeB= SD > so good arguments are welcome ( my boss is a smart guy , if I give enough > litterature that says FreeBSD is better, he will be OK ) >=20 > More seriously I'm also searching for eventuals benchmarks that compare > those two configurations. Linux-based systems and FreeBSD systems should support Samba roughly identically well. I seem to recall seeing some benchmarks for FreeBSD network server operations under heavy load just crushing comparative Linux-based servers, but I don't recall where. Anyway, if you can find benchmarks to that effect, or at least benchmarks that don't show Linux substantially beating FreeBSD, you should be covered. Add in some stuff about how FreeBSD is better (for your purposes, at least) in general, regardless of the specific Samba stuff, and you should have a win. FreeBSD support for Samba is, in my limited experience (haven't used Samba much in the last four years), excellent. So is Samba support on, for instance, Debian. I believe you'll have to look outside of Samba support for reasons to pick one over the other. --=20 Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] print substr('Just another Perl hacker', 0, -2); --Rgf3q3z9SdmXC6oT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkj4wOsACgkQ9mn/Pj01uKXYDgCgwtCebM7gPXzAjiCEU5DXIxaP ulcAoNqmNelBtZAbiHTjYknisvo3zsKC =sIqj -----END PGP SIGNATURE----- --Rgf3q3z9SdmXC6oT-- From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 16:55: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 0A0E9106569F for ; Fri, 17 Oct 2008 16:55:21 +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 DEDB48FC08 for ; Fri, 17 Oct 2008 16:55:20 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA03.emeryville.ca.mail.comcast.net ([76.96.30.27]) by QMTA02.emeryville.ca.mail.comcast.net with comcast id Tm191a00B0b6N64A2svLPM; Fri, 17 Oct 2008 16:55:20 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA03.emeryville.ca.mail.comcast.net with comcast id TsvK1a00C2P6wsM8PsvKpz; Fri, 17 Oct 2008 16:55:20 +0000 X-Authority-Analysis: v=1.0 c=1 a=nhwMfIpzXh4A:10 a=_XhESaQaCjIA:10 a=IjGrbkjIAAAA:8 a=QycZ5dHgAAAA:8 a=EpED34Ww9do6SDeXIGMA:9 a=nTDqdDyPbPBbtKvNCobSmkaVffYA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 06597C9432; Fri, 17 Oct 2008 09:55:19 -0700 (PDT) Date: Fri, 17 Oct 2008 09:55:19 -0700 From: Jeremy Chadwick To: charlie@cpsoftware.com Message-ID: <20081017165519.GA26298@icarus.home.lan> References: <48F8A258.2060407@esiee.fr> <20081017174145.L10784@wojtek.tensor.gdynia.pl> <1960fb140810170913s237f7295jd5e192f1745c9dcb@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1960fb140810170913s237f7295jd5e192f1745c9dcb@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Installing Samba : FreeBSD Vs Linux ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 16:55:21 -0000 On Fri, Oct 17, 2008 at 05:13:45PM +0100, Charles Mason wrote: > From what I have seen, both are perfectly capable and since its samba > that will be doing most of the actual work its probably doesn't matter > that much. Of course the next question if he goes with Linux, is which > distro. Perhaps the question should be FreeBSD v Red Hat v Ubuntu v > SUSE v latest flavour of the month. Since keeping it patched is > essential, these sorts of admin features do matter. And did this bug ever get addressed? If so, when/what commit? http://www.vnode.ch/fixing_seekdir The workaround is very, very painful when it comes to directories which have many files. That workaround is to disable the name cache entirely in Samba: directory name cache size = 0 -- | 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 17 17:26: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 9F782106568E for ; Fri, 17 Oct 2008 17:26:14 +0000 (UTC) (envelope-from david.karapetyan@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.246]) by mx1.freebsd.org (Postfix) with ESMTP id 563788FC14 for ; Fri, 17 Oct 2008 17:26:14 +0000 (UTC) (envelope-from david.karapetyan@gmail.com) Received: by an-out-0708.google.com with SMTP id b33so49400ana.13 for ; Fri, 17 Oct 2008 10:26:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:to:cc:subject:message-id :mime-version:content-type:content-disposition:user-agent:from; bh=SRDGzLlG1jQ1RI+7I5fm9C76GPWtYA19lMLx/U8a9ek=; b=G0W3o/fMRct8/j637QVhAn95wGb4Lr13x1GVioWSpnUphtJaiRR3/L5wzP79zM/g5b 6lET9B20y/WVb4AnBkx5Zuo/4xUTfylgHluLbYs/8GvFPP4YdJhgoqOU9+ejYSKPfepI a0CWR2Zkaho1R/SbSouGMueF+KnNRf4G+pVj4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent:from; b=Wf3LpVLzE6VjZKezmLJnVq82ej6rGpen1Hn1hdGPExFRMOAmvZOFSkbAzC9YGGftda 2wZraKh3526g4OotON2nzhLousmwJqJGsCqWBoyGi9S7lohTYC54hgvWI7W4W9df9npM B/KBkPRUPZGSUeK8NMKZ59FScQDPSsKHTlw9g= Received: by 10.64.243.19 with SMTP id q19mr1142099qbh.59.1224262665599; Fri, 17 Oct 2008 09:57:45 -0700 (PDT) Received: from localhost (vagrant.math.nd.edu [129.74.203.241]) by mx.google.com with ESMTPS id 4sm3608850yxd.2.2008.10.17.09.57.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 17 Oct 2008 09:57:44 -0700 (PDT) Date: Fri, 17 Oct 2008 12:57:41 -0400 To: freebsd-questions@freebsd.org Message-ID: <20081017165741.GA2092@vagrant.math.nd.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) From: David Karapetyan Cc: freebsd-ports@freebsd.org Subject: Problem with www/mod_cband X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 17:26:14 -0000 FreeBSD office19.resnet.nd.edu 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #0: Wed Oct 1 10:10:12 UTC 2008 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 Hello everyone. Every time I try to use the mod_cband module in my apache22 webserver, apache segfaults upon restart. Things work fine when I disable the module from httpd.conf. Is this module broken, and if so, what comparable alternatives are there? -- -- Best, David Karapetyan http://davidkarapetyan.homeunix.com University of Notre Dame Department of Mathematics 255 Hurley Hall Notre Dame, IN 46556-4618 Phone: 574-631-5706 Cell: 202-460-5173 Fax: 574-631-6579 From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 17:54: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 84AE11065691 for ; Fri, 17 Oct 2008 17:54:01 +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 65A9B8FC19 for ; Fri, 17 Oct 2008 17:54:01 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA10.emeryville.ca.mail.comcast.net ([76.96.30.28]) by QMTA05.emeryville.ca.mail.comcast.net with comcast id Tm4r1a00G0cQ2SLA5tu0Tc; Fri, 17 Oct 2008 17:54:00 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA10.emeryville.ca.mail.comcast.net with comcast id Tttz1a00i2P6wsM8Wtu0kR; Fri, 17 Oct 2008 17:54:00 +0000 X-Authority-Analysis: v=1.0 c=1 a=xNf9USuDAAAA:8 a=QycZ5dHgAAAA:8 a=kqiaZfXzlRZ7D6nRvHkA:9 a=GggfBuPj_zVCoHB-i-sA:7 a=CU8rKpE09aTCrr5cHBOT23r6wlYA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id D0FCCC9432; Fri, 17 Oct 2008 10:53:59 -0700 (PDT) Date: Fri, 17 Oct 2008 10:53:59 -0700 From: Jeremy Chadwick To: David Karapetyan Message-ID: <20081017175359.GA27396@icarus.home.lan> References: <20081017165741.GA2092@vagrant.math.nd.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081017165741.GA2092@vagrant.math.nd.edu> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Subject: Re: Problem with www/mod_cband X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 17:54:01 -0000 On Fri, Oct 17, 2008 at 12:57:41PM -0400, David Karapetyan wrote: > FreeBSD office19.resnet.nd.edu 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #0: > Wed Oct 1 10:10:12 UTC 2008 > root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 > > Hello everyone. Every time I try to use the mod_cband module in my > apache22 webserver, apache segfaults upon restart. Things work fine when > I disable the module from httpd.conf. Is this module broken, and if so, > what comparable alternatives are there? Be aware that mod_cband has quite a horrible bug. This is a Debian bug report, but the same problem applies to FreeBSD. Be sure to read the entire bug, not just the original report. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=418645 Regarding alternatives: there aren't. Bandwidth limiting is a long-standing feature of Apache that's missing, which is a huge disappointment. The best solution I've found on FreeBSD is to use pf(4) with ALTQ, and give each VirtualHost its own IP address, then rate-limit the IP address using pf(4). Yes, I realise this is impractical for sites which have many vhosts and use name-based virtualhosts. Welcome to my 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 Fri Oct 17 18:25: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 6564E106564A; Fri, 17 Oct 2008 18:25:35 +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 2F1D08FC14; Fri, 17 Oct 2008 18:25:34 +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 CFAABAFBC02; Fri, 17 Oct 2008 10:25:33 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Fri, 17 Oct 2008 20:24:15 +0200 User-Agent: KMail/1.9.7 References: <48F8A258.2060407@esiee.fr> <1960fb140810170913s237f7295jd5e192f1745c9dcb@mail.gmail.com> <20081017165519.GA26298@icarus.home.lan> In-Reply-To: <20081017165519.GA26298@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810172024.16320.fbsd.questions@rachie.is-a-geek.net> Cc: Jeremy Chadwick , charlie@cpsoftware.com Subject: Re: Installing Samba : FreeBSD Vs Linux ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 18:25:35 -0000 On Friday 17 October 2008 18:55:19 Jeremy Chadwick wrote: > On Fri, Oct 17, 2008 at 05:13:45PM +0100, Charles Mason wrote: > > From what I have seen, both are perfectly capable and since its samba > > that will be doing most of the actual work its probably doesn't matter > > that much. Of course the next question if he goes with Linux, is which > > distro. Perhaps the question should be FreeBSD v Red Hat v Ubuntu v > > SUSE v latest flavour of the month. Since keeping it patched is > > essential, these sorts of admin features do matter. > > And did this bug ever get addressed? If so, when/what commit? > > http://www.vnode.ch/fixing_seekdir lib/libc/gen/readdir.c ---------------------------- revision 1.15 date: 2008/05/05 14:05:23; author: kib; state: Exp; lines: +7 -6 Do not read away the target directory entry when encountering deleted files after a seekdir(). The seekdir shall set the position for the next readdir operation. When the _readdir_unlocked() encounters deleted entry, dd_loc is already advanced. Continuing the loop leads to premature read of the target entry. Submitted by: Marc Balmer Obtained from: OpenBSD MFC after: 2 weeks ---------------------------- -- 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 Fri Oct 17 18:31: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 C1B971065687; Fri, 17 Oct 2008 18:31: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 8F4828FC15; Fri, 17 Oct 2008 18:31: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 885D5AFBC02; Fri, 17 Oct 2008 10:31:30 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Fri, 17 Oct 2008 20:31:29 +0200 User-Agent: KMail/1.9.7 References: <20081017165741.GA2092@vagrant.math.nd.edu> <20081017175359.GA27396@icarus.home.lan> In-Reply-To: <20081017175359.GA27396@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810172031.29466.fbsd.questions@rachie.is-a-geek.net> Cc: Jeremy Chadwick , David Karapetyan Subject: Re: Problem with www/mod_cband X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 18:31:31 -0000 On Friday 17 October 2008 19:53:59 Jeremy Chadwick wrote: > Regarding alternatives: there aren't. Bandwidth limiting is a > long-standing feature of Apache that's missing, which is a huge > disappointment. Never used it, but www/mod_bw is not a real world alternative? -- 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 Fri Oct 17 18:39: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 17BBB1065687 for ; Fri, 17 Oct 2008 18:39:05 +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 ED3438FC19 for ; Fri, 17 Oct 2008 18:39:04 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA11.emeryville.ca.mail.comcast.net ([76.96.30.36]) by QMTA07.emeryville.ca.mail.comcast.net with comcast id Tos61a0040mlR8UA7uf4VT; Fri, 17 Oct 2008 18:39:04 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA11.emeryville.ca.mail.comcast.net with comcast id Tuf31a0052P6wsM8Xuf3mw; Fri, 17 Oct 2008 18:39:04 +0000 X-Authority-Analysis: v=1.0 c=1 a=Nr__l4wmAAAA:8 a=QycZ5dHgAAAA:8 a=M5M56atPgzAa22r4poQA:9 a=qvYd0-SJX1qW_2CoDL40dWJQyE0A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 614C9C9432; Fri, 17 Oct 2008 11:39:03 -0700 (PDT) Date: Fri, 17 Oct 2008 11:39:03 -0700 From: Jeremy Chadwick To: Mel Message-ID: <20081017183903.GA28237@icarus.home.lan> References: <20081017165741.GA2092@vagrant.math.nd.edu> <20081017175359.GA27396@icarus.home.lan> <200810172031.29466.fbsd.questions@rachie.is-a-geek.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200810172031.29466.fbsd.questions@rachie.is-a-geek.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: David Karapetyan , freebsd-questions@freebsd.org Subject: Re: Problem with www/mod_cband X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 18:39:05 -0000 On Fri, Oct 17, 2008 at 08:31:29PM +0200, Mel wrote: > On Friday 17 October 2008 19:53:59 Jeremy Chadwick wrote: > > > Regarding alternatives: there aren't. Bandwidth limiting is a > > long-standing feature of Apache that's missing, which is a huge > > disappointment. > > Never used it, but www/mod_bw is not a real world alternative? http://www.ivn.cl/apache/files/txt/mod_bw-0.8.txt I believe the problem I ran into with this module was that it would only work with static content, and not with interpreted languages (such as PHP) or other things. I know there's a directive in the module to tell it what output types it supports, but I don't think it worked quite right. I'd have to go back and try 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 17 18:47: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 08B60106568D for ; Fri, 17 Oct 2008 18:47:40 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: from web56808.mail.re3.yahoo.com (web56808.mail.re3.yahoo.com [66.196.97.82]) by mx1.freebsd.org (Postfix) with SMTP id AA6478FC22 for ; Fri, 17 Oct 2008 18:47:39 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: (qmail 95728 invoked by uid 60001); 17 Oct 2008 18:47:38 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=6qQB31s7xZp307sdv/qdETHLD9+gOuJuRHoc9V0wZhHR7rWrnsjfV2FhPB3en4Dumov0nmi2TE4BieiobOSZ06tyRVfkbg1V8kqmlJEKeIWF4WDrT3V4+jZBcYo1Ws+X/jWUu8sf2CK+V/2IHSmBW7xIPe+G2PNX6LIxq/Z6vCw=; X-YMail-OSG: vCyCd1AVM1km8jf.6j4lo4NDYjlcXhrt0FeOq.ajcVhpGeHcLABv8NIBQHjjBgLEeg-- Received: from [71.61.220.126] by web56808.mail.re3.yahoo.com via HTTP; Fri, 17 Oct 2008 11:47:38 PDT X-Mailer: YahooMailWebService/0.7.247.3 Date: Fri, 17 Oct 2008 11:47:38 -0700 (PDT) From: mdh To: David Karapetyan , Jeremy Chadwick In-Reply-To: <20081017175359.GA27396@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <468319.95459.qm@web56808.mail.re3.yahoo.com> Cc: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Subject: Re: Problem with www/mod_cband 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, 17 Oct 2008 18:47:40 -0000 --- On Fri, 10/17/08, Jeremy Chadwick wrote: > From: Jeremy Chadwick > Subject: Re: Problem with www/mod_cband > To: "David Karapetyan" > Cc: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org > Date: Friday, October 17, 2008, 1:53 PM > On Fri, Oct 17, 2008 at 12:57:41PM -0400, David Karapetyan > wrote: > > FreeBSD office19.resnet.nd.edu 7.0-RELEASE-p5 FreeBSD > 7.0-RELEASE-p5 #0: > > Wed Oct 1 10:10:12 UTC 2008 > > > root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC > i386 > > > > Hello everyone. Every time I try to use the mod_cband > module in my > > apache22 webserver, apache segfaults upon restart. > Things work fine when > > I disable the module from httpd.conf. Is this module > broken, and if so, > > what comparable alternatives are there? > > Be aware that mod_cband has quite a horrible bug. This is > a Debian bug > report, but the same problem applies to FreeBSD. Be sure > to read the > entire bug, not just the original report. > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=418645 > > Regarding alternatives: there aren't. Bandwidth > limiting is a > long-standing feature of Apache that's missing, which > is a huge > disappointment. > > The best solution I've found on FreeBSD is to use pf(4) > with ALTQ, > and give each VirtualHost its own IP address, then > rate-limit the IP > address using pf(4). Yes, I realise this is impractical > for sites > which have many vhosts and use name-based virtualhosts. > > Welcome to my world... IMHO, that solution is considerably sexier than what mod_cband claims to do (having read only pkg-descr). It seems possible, however, that mod_cband's functionality could be replicated by a simple script that watches the access log files and makes an update to a .htaccess file for the virtualhost when the virtualhost in question exceeds a given bandwidth limit which would be configured in the script. Think `tail -f`. Functionality is handled outside of apache so no danger of crashes. Just create the .htaccess in such a way that the end-user can't delete/modify it, and have it do a Redirect. For robustness' sake, move any existing .htaccess file to .htaccess.X and move it back when the virtualhost is back in compliance or paid up or whatever. - mdh __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 18:54: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 8F04F10656A4 for ; Fri, 17 Oct 2008 18:54:13 +0000 (UTC) (envelope-from mail@chdevelopment.se) Received: from av11-1-sn2.hy.skanova.net (av11-1-sn2.hy.skanova.net [81.228.8.183]) by mx1.freebsd.org (Postfix) with ESMTP id 4C7968FC1C for ; Fri, 17 Oct 2008 18:54:13 +0000 (UTC) (envelope-from mail@chdevelopment.se) Received: by av11-1-sn2.hy.skanova.net (Postfix, from userid 502) id C10F0380BF; Fri, 17 Oct 2008 20:54:11 +0200 (CEST) Received: from smtp4-2-sn2.hy.skanova.net (smtp4-2-sn2.hy.skanova.net [81.228.8.93]) by av11-1-sn2.hy.skanova.net (Postfix) with ESMTP id AC07A37EC3; Fri, 17 Oct 2008 20:54:11 +0200 (CEST) Received: from melissa.chdevelopment.se (78-70-120-199-no170.tbcn.telia.com [78.70.120.199]) by smtp4-2-sn2.hy.skanova.net (Postfix) with ESMTP id 644B937E44; Fri, 17 Oct 2008 20:54:11 +0200 (CEST) Message-ID: <48F8DF53.9090506@chdevelopment.se> Date: Fri, 17 Oct 2008 20:54:11 +0200 From: Christer Hermansson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.17) Gecko/20080928 SeaMonkey/1.1.12 MIME-Version: 1.0 To: Chen Xu References: <184b087c0810141105o657af770l5d0535c19fab059d@mail.gmail.com> In-Reply-To: <184b087c0810141105o657af770l5d0535c19fab059d@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: no access to web server behind ipfw X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 18:54:13 -0000 Chen Xu wrote: > $cmd 100 divert natd ip from any to any in via $pif > $cmd 101 check-state > > > You use "in via $pif", I'm not 100% sure but I think you should only use "via $pif". > # Authorized inbound packets > $cmd 421 allow tcp from any to 192.168.1.10 80 in via $pif setup limit > src-addr 5 > > > I think it's bad to use statefull rules for inbound connections. -- Christer Hermansson http://www.chdevelopment.se From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 19:03: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 151371065698; Fri, 17 Oct 2008 19:03:43 +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 D7BEE8FC1A; Fri, 17 Oct 2008 19:03:42 +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 C34B9AFBC02; Fri, 17 Oct 2008 11:03:41 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org, mdh_lists@yahoo.com Date: Fri, 17 Oct 2008 21:03:40 +0200 User-Agent: KMail/1.9.7 References: <468319.95459.qm@web56808.mail.re3.yahoo.com> In-Reply-To: <468319.95459.qm@web56808.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810172103.40654.fbsd.questions@rachie.is-a-geek.net> Cc: Jeremy Chadwick , David Karapetyan Subject: Re: Problem with www/mod_cband X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 19:03:43 -0000 On Friday 17 October 2008 20:47:38 mdh wrote: > IMHO, that solution is considerably sexier than what mod_cband claims to do > (having read only pkg-descr). > > It seems possible, however, that mod_cband's functionality could be > replicated by a simple script that watches the access log files I don't think you fully understand the problem. Apache writes a served file to the log when a download is *completed*. Consider a 700MB iso download and you quickly see your solution will not work. -- 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 Fri Oct 17 19:24: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 057EB1065698 for ; Fri, 17 Oct 2008 19:24:00 +0000 (UTC) (envelope-from xuchen@brandeis.edu) Received: from clara.unet.brandeis.edu (clara.unet.brandeis.edu [129.64.99.165]) by mx1.freebsd.org (Postfix) with ESMTP id D02CC8FC1D for ; Fri, 17 Oct 2008 19:23:59 +0000 (UTC) (envelope-from xuchen@brandeis.edu) Received: from localhost (selene.rose2.brandeis.edu [129.64.33.166]) by clara.unet.brandeis.edu (Postfix) with ESMTP id AB1355250E; Fri, 17 Oct 2008 15:03:17 -0400 (EDT) Date: Fri, 17 Oct 2008 15:03:18 -0400 From: Chen Xu To: Christer Hermansson Message-ID: <20081017190318.GC22709@brandeis.edu> References: <184b087c0810141105o657af770l5d0535c19fab059d@mail.gmail.com> <48F8DF53.9090506@chdevelopment.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48F8DF53.9090506@chdevelopment.se> Organization: Rosenstiel Center, Brandeis University, 415 South Street, Waltham, MA 02454 Phone: 781-736-2469 FAX: 781-736-2419 User-Agent: Mutt/1.5.15 (2007-04-06) Cc: freebsd-questions@freebsd.org Subject: Re: no access to web server behind ipfw X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 19:24:00 -0000 Hi Christer, I followed the example from the handbook. Yes, it is OK to divert in and out separately. skipto is used to point to the divert out rule number when it is outbound. I run into problem only when with natd to redirect from gateway to local machine. tcpdump shows that packets of both directions are actually go through fine, but only head is there, body was ripped off. I am looking into OpenBSD's PF right now. It is such a simple goal to reach but seems not so easy. -Chen * Christer Hermansson [081017 14:54]: > Chen Xu wrote: > > $cmd 100 divert natd ip from any to any in via $pif > > $cmd 101 check-state > > > > > > > You use "in via $pif", I'm not 100% sure but I think you should only use > "via $pif". > > # Authorized inbound packets > > $cmd 421 allow tcp from any to 192.168.1.10 80 in via $pif setup limit > > src-addr 5 > > > > > > > I think it's bad to use statefull rules for inbound connections. > > -- > > Christer Hermansson > > http://www.chdevelopment.se > > From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 20:14: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 B805D106568C for ; Fri, 17 Oct 2008 20:14: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 BE4768FC18 for ; Fri, 17 Oct 2008 20:14:25 +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 m9HKEFf8012227; Fri, 17 Oct 2008 22:14:15 +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 m9HKEFPM012224; Fri, 17 Oct 2008 22:14:15 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Fri, 17 Oct 2008 22:14:15 +0200 (CEST) From: Wojciech Puchar To: Kirk Strauser In-Reply-To: <200810171117.26302.kirk@strauser.com> Message-ID: <20081017221403.I12192@wojtek.tensor.gdynia.pl> References: <48F8A258.2060407@esiee.fr> <20081017174145.L10784@wojtek.tensor.gdynia.pl> <200810171117.26302.kirk@strauser.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Installing Samba : FreeBSD Vs Linux ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 20:14:26 -0000 >> decision > > This is off-topic, but I wholly disagree. As a professional employee, it's my > job to advise my boss on technological matters, yes - advise no - persuade! From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 20:16: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 E364B1065687 for ; Fri, 17 Oct 2008 20:16:01 +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 E14A38FC0A for ; Fri, 17 Oct 2008 20:16:00 +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 m9HKFogM012252; Fri, 17 Oct 2008 22:15:50 +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 m9HKFoUd012249; Fri, 17 Oct 2008 22:15:50 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Fri, 17 Oct 2008 22:15:50 +0200 (CEST) From: Wojciech Puchar To: charlie@cpsoftware.com In-Reply-To: <1960fb140810170913s237f7295jd5e192f1745c9dcb@mail.gmail.com> Message-ID: <20081017221443.B12192@wojtek.tensor.gdynia.pl> References: <48F8A258.2060407@esiee.fr> <20081017174145.L10784@wojtek.tensor.gdynia.pl> <1960fb140810170913s237f7295jd5e192f1745c9dcb@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Installing Samba : FreeBSD Vs Linux ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 20:16:03 -0000 > If he's a good boss (as the poster seem to be implying) then he will > be asking because he hasn't made his mind up his mind completely, but > yeah don't get fired over it :) in most cases and with system doing ONLY samba, both linux and freebsd will work fine. so his boss is not smart for sure persuading his employer linux (or whatever), instead of just saying "make it work fine, whatever you do" From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 20: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 BA8351065677 for ; Fri, 17 Oct 2008 20:19:18 +0000 (UTC) (envelope-from jos@webrz.net) Received: from webrz.xs4all.nl (webrz.xs4all.nl [82.95.248.216]) by mx1.freebsd.org (Postfix) with ESMTP id 785E08FC08 for ; Fri, 17 Oct 2008 20:19:18 +0000 (UTC) (envelope-from jos@webrz.net) Received: from webrz.xs4all.nl (localhost.webrz.net [127.0.0.1]) by webrz.xs4all.nl (Postfix) with ESMTP id 79B26FD070; Fri, 17 Oct 2008 22:19:34 +0200 (CEST) Received: from [10.10.10.27] (tethys.webrz.net [10.10.10.27]) by webrz.xs4all.nl (Postfix) with ESMTP id 40601FD06C; Fri, 17 Oct 2008 22:19:32 +0200 (CEST) Message-ID: <48F8F343.30802@webrz.net> Date: Fri, 17 Oct 2008 22:19:15 +0200 From: Jos Chrispijn User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Wojciech Puchar References: <48F8A258.2060407@esiee.fr> <20081017174145.L10784@wojtek.tensor.gdynia.pl> In-Reply-To: <20081017174145.L10784@wojtek.tensor.gdynia.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AV-Checked: ClamAV using ClamSMTP @ prometheus.webrz.net Cc: Frank Bonnet , freebsd-questions@freebsd.org Subject: Re: Installing Samba : FreeBSD Vs Linux ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 20:19:18 -0000 Uit een eerder bericht (17-10-2008 17:42): > do what your boss wants. it's his company, and it's his right to make > bad decision A boss hires someone that knows what he/she is talking about and relies on his/her vision. To get informed this person might get his/her information before he/she decides what the best solution might be; I do hope he/she doesn't take any notice on your stupid reply. Jos Chrispijn From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 20:37: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 576BB106569A for ; Fri, 17 Oct 2008 20:37: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 6551B8FC13 for ; Fri, 17 Oct 2008 20:37: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 m9HKbdf6012375; Fri, 17 Oct 2008 22:37:39 +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 m9HKbbqm012372; Fri, 17 Oct 2008 22:37:38 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Fri, 17 Oct 2008 22:37:37 +0200 (CEST) From: Wojciech Puchar To: Jos Chrispijn In-Reply-To: <48F8F343.30802@webrz.net> Message-ID: <20081017223702.I12192@wojtek.tensor.gdynia.pl> References: <48F8A258.2060407@esiee.fr> <20081017174145.L10784@wojtek.tensor.gdynia.pl> <48F8F343.30802@webrz.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Frank Bonnet , freebsd-questions@freebsd.org Subject: Re: Installing Samba : FreeBSD Vs Linux ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 20:37:50 -0000 > A boss hires someone that knows what he/she is talking about and relies on > his/her vision. so - he/she should not persuade what OS will be, just WHAT should be done. > To get informed this person might get his/her information > before he/she decides what the best solution might be; I do hope he/she > doesn't take any notice on your stupid reply. what reply is stupid From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 21:09: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 3F624106568A for ; Fri, 17 Oct 2008 21:09:48 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id 5A9AB8FC16 for ; Fri, 17 Oct 2008 21:09:47 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so145597uge.39 for ; Fri, 17 Oct 2008 14:09:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-disposition:from :reply-to:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:message-id; bh=HxGemZtW0Nr2Ee5Wr8v8e697XjPK7Y2tE7JxT8Xryn8=; b=bNNVZP20C8xZaBeNupIWGeO9krC3WXxZcxXtXjnzAlcxZUQFCfXcAmBDjQ0T4IlFH+ RE6PFHuRL/Aiws5f4ls3mwIfg2w1EW3QR+JoHsuXC+IThlFsH8zGsZMUeJP6q+ZFrq95 oyOux28kJDvZcRn4zjX6cCd0NNshtorHF8A48= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-disposition:from:reply-to:to:subject:date:user-agent :mime-version:content-type:content-transfer-encoding:message-id; b=OR1J2nadejAjYNbVtkhRbkU4QnLR2t1shkFtotQkzjGFY6cwNW5rA8lp2KY+HNNJRe phIkI+zTgRP07WqRqouJHTkLegUo0DddfVyr6amyeOfFMH5VaaJIVQ0kG5Fx3sd2VMFr vlO2569OIPcKjGWmpWXhv0wZi6+q5osHbDoGc= Received: by 10.67.87.6 with SMTP id p6mr412486ugl.14.1224276344446; Fri, 17 Oct 2008 13:45:44 -0700 (PDT) Received: from ?192.168.0.2? ([77.241.32.21]) by mx.google.com with ESMTPS id e33sm1116099ugd.39.2008.10.17.13.45.43 (version=SSLv3 cipher=RC4-MD5); Fri, 17 Oct 2008 13:45:43 -0700 (PDT) Content-Disposition: inline From: Oleg To: freebsd-questions@freebsd.org Date: Sat, 18 Oct 2008 00:45:47 +0400 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Content-Type: Text/Plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Message-Id: <200810180045.47401.subbsd@gmail.com> Subject: how determine all possible drivers for my system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: subbsd@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 21:09:48 -0000 Hello maillist of my favorite Wortstation&Server OS May i asking: how i can determine all drivers of existing devices, but who is not present in GENERIC kernel. For definition of all devices useful to me I have written the following a little stupid script: ---------- #!/bin/sh MODLIST=`find /boot/kernel -type f -name *.ko -print` LOGFILE="/var/tmp/kldlog.txt" # ignore for kldload module IGNORE_MODLIST="/boot/kernel/kernel.ko /boot/kernel/tom.ko /boot/kernel/iw_cxgb.ko" # (comment: tom.ko and iw_cwbg.ko after loading make "kernel panic" on my system) REPORTS="/var/tmp/reports.txt" FINAL_FILTER="(already exist)|(File exist)|(Unsupported file type)|\ (already present)|(failed to register)|(Exec format error)|\ (symbol [aA-zZ]++ undefin)|(Weak symbols not supported)|\ (already registered)|(unable to register)" # not know another easy way for fopen("/dev/klog") /etc/rc.d/syslogd stop echo "kern.* ${LOGFILE}" > /var/tmp/syslogd.conf syslogd -f /var/tmp/syslogd.conf # truncate -s0 ${LOGFILE} for MOD in ${MODLIST}; do ignore=0 for IGNORE_MOD in $IGNORE_MODLIST; do if [ "${IGNORE_MOD}" = "${MOD}" ]; then ignore=1 fi done if [ $ignore -eq 1 ]; then echo "Skipping ${MOD}..." >> ${LOGFILE} else echo "Try Loading ${MOD}..." >> ${LOGFILE} sync; kldload ${MOD} >> ${LOGFILE} 2>&1 fi done /etc/rc.d/syslogd start egrep -Eiv "\"${FINAL_FILTER}\"" ${LOGFILE} |tee ${REPORTS} --------- Result working off that scripts is the file reports.txt: { Oct 17 23:51:11 kernel: acpi_aiboost0: on acpi0 Oct 17 23:51:11 kernel: ppc0: cannot reserve I/O port range Oct 17 23:51:12 kernel: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x48 0x00 0x01 Oct 17 23:51:12 kernel: cd0 at ata3 bus 0 target 0 lun 0 Oct 17 23:51:12 kernel: cd0: Removable CD-ROM SCSI-0 device Oct 17 23:51:12 kernel: cd0: 3.300MB/s transfers Oct 17 23:51:12 kernel: cd0: Attempt to query device size failed: NOT READY, Medium not present Oct 17 23:51:12 kernel: cryptosoft0: on motherboard Oct 17 23:51:13 kernel: This module (opensolaris) contains code covered by the Oct 17 23:51:13 kernel: Common Development and Distribution License (CDDL) Oct 17 23:51:13 kernel: see http://opensolaris.org/os/licensing/opensolaris_license/ Oct 17 23:51:13 kernel: This module (opensolaris) contains code covered by the Oct 17 23:51:13 kernel: Common Development and Distribution License (CDDL) Oct 17 23:51:13 kernel: see http://opensolaris.org/os/licensing/opensolaris_license/ Oct 17 23:51:13 kernel: KLD dtrace.ko: depends on cyclic - not available Oct 17 23:51:13 kernel: KLD dtmalloc.ko: depends on dtrace - not available Oct 17 23:51:13 kernel: This module (opensolaris) contains code covered by the Oct 17 23:51:13 kernel: Common Development and Distribution License (CDDL) Oct 17 23:51:13 kernel: see http://opensolaris.org/os/licensing/opensolaris_license/ Oct 17 23:51:13 kernel: KLD dtrace.ko: depends on cyclic - not available Oct 17 23:51:13 kernel: This module (opensolaris) contains code covered by the Oct 17 23:51:13 kernel: Common Development and Distribution License (CDDL) Oct 17 23:51:13 kernel: see http://opensolaris.org/os/licensing/opensolaris_license/ Oct 17 23:51:13 kernel: KLD profile.ko: depends on cyclic - not available Oct 17 23:51:13 kernel: KLD dtraceall.ko: depends on profile - not available Oct 17 23:51:13 kernel: This module (opensolaris) contains code covered by the Oct 17 23:51:13 kernel: Common Development and Distribution License (CDDL) Oct 17 23:51:13 kernel: see http://opensolaris.org/os/licensing/opensolaris_license/ Oct 17 23:51:13 kernel: KLD profile.ko: depends on cyclic - not available Oct 17 23:51:13 kernel: KLD dtraceall.ko: depends on profile - not available Oct 17 23:51:13 kernel: KLD dtrace_test.ko: depends on dtraceall - not available Oct 17 23:51:13 kernel: This module (opensolaris) contains code covered by the Oct 17 23:51:13 kernel: Common Development and Distribution License (CDDL) Oct 17 23:51:13 kernel: see http://opensolaris.org/os/licensing/opensolaris_license/ Oct 17 23:51:13 kernel: KLD profile.ko: depends on cyclic - not available Oct 17 23:51:13 kernel: This module (opensolaris) contains code covered by the Oct 17 23:51:13 kernel: Common Development and Distribution License (CDDL) Oct 17 23:51:13 kernel: see http://opensolaris.org/os/licensing/opensolaris_license/ Oct 17 23:51:13 kernel: KLD dtrace.ko: depends on cyclic - not available Oct 17 23:51:13 kernel: KLD prototype.ko: depends on dtrace - not available Oct 17 23:51:13 kernel: This module (opensolaris) contains code covered by the Oct 17 23:51:13 kernel: Common Development and Distribution License (CDDL) Oct 17 23:51:13 kernel: see http://opensolaris.org/os/licensing/opensolaris_license/ Oct 17 23:51:13 kernel: KLD dtrace.ko: depends on cyclic - not available Oct 17 23:51:13 kernel: KLD sdt.ko: depends on dtrace - not available Oct 17 23:51:13 kernel: This module (opensolaris) contains code covered by the Oct 17 23:51:13 kernel: Common Development and Distribution License (CDDL) Oct 17 23:51:13 kernel: see http://opensolaris.org/os/licensing/opensolaris_license/ Oct 17 23:51:13 kernel: KLD dtrace.ko: depends on cyclic - not available Oct 17 23:51:13 kernel: KLD systrace.ko: depends on dtrace - not available Oct 17 23:51:13 kernel: This module (opensolaris) contains code covered by the Oct 17 23:51:13 kernel: Common Development and Distribution License (CDDL) Oct 17 23:51:13 kernel: see http://opensolaris.org/os/licensing/opensolaris_license/ Oct 17 23:51:13 kernel: KLD dtrace.ko: depends on cyclic - not available Oct 17 23:51:13 kernel: KLD fbt.ko: depends on dtrace - not available Oct 17 23:51:13 kernel: KLD if_en.ko: depends on utopia - not available Oct 17 23:51:13 kernel: KLD if_fatm.ko: depends on utopia - not available Oct 17 23:51:15 kernel: KLD if_hatm.ko: depends on atm - not available Oct 17 23:51:15 kernel: module_register_init: MOD_LOAD (hwpmc, 0xffffffff804f2440, 0xffffffff80fffce0) error 78 Oct 17 23:51:15 kernel: ichsmb0: port 0x2900-0x293f,0x2d00-0x2d3f,0x2e00-0x2e3f irq 21 at device 10.1 on pci0 Oct 17 23:51:15 kernel: ichsmb0: [ITHREAD] Oct 17 23:51:15 kernel: smbus0: on ichsmb0 Oct 17 23:51:16 kernel: smb0: on smbus0 Oct 17 23:51:16 kernel: ichwd module loaded Oct 17 23:51:16 kernel: ppc0: cannot reserve I/O port range Oct 17 23:51:16 kernel: nfe1f0: Ethernet address: 00:22:15:20:66:1b Oct 17 23:51:16 kernel: nfe1f1: Ethernet address: 00:22:15:20:66:1b Oct 17 23:51:16 kernel: nfe1f2: Ethernet address: 00:22:15:20:66:1b Oct 17 23:51:16 kernel: nfe1f3: Ethernet address: 00:22:15:20:66:1b Oct 17 23:51:16 kernel: nfe0f0: Ethernet address: 00:22:15:20:63:bc Oct 17 23:51:16 kernel: nfe0f1: Ethernet address: 00:22:15:20:63:bc Oct 17 23:51:16 kernel: nfe0f2: Ethernet address: 00:22:15:20:63:bc Oct 17 23:51:16 kernel: nfe0f3: Ethernet address: 00:22:15:20:63:bc Oct 17 23:51:16 kernel: IP Filter: v4.1.28 initialized. Default = pass all, Logging = enabled Oct 17 23:51:16 kernel: ppc0: cannot reserve I/O port range Oct 17 23:51:17 kernel: module_register_init: MOD_LOAD (ipw_bss_fw, 0xffffffff810a7000, 0) error 1 Oct 17 23:51:17 kernel: module_register_init: MOD_LOAD (ipw_ibss_fw, 0xffffffff810db000, 0) error 1 Oct 17 23:51:17 kernel: module_register_init: MOD_LOAD (ipw_monitor_fw, 0xffffffff8110d000, 0) error 1 Oct 17 23:51:17 kernel: registered firmware set Oct 17 23:51:17 kernel: registered firmware set Oct 17 23:51:17 kernel: registered firmware set Oct 17 23:51:17 kernel: registered firmware set Oct 17 23:51:17 kernel: registered firmware set Oct 17 23:51:17 kernel: registered firmware set Oct 17 23:51:17 kernel: registered firmware set Oct 17 23:51:17 kernel: registered firmware set Oct 17 23:51:17 kernel: registered firmware set Oct 17 23:51:17 kernel: registered firmware set Oct 17 23:51:17 kernel: registered firmware set Oct 17 23:51:17 kernel: unable to register firmware 'isp_1040' Oct 17 23:51:17 kernel: unable to register firmware 'isp_1040_it' Oct 17 23:51:17 kernel: unable to register firmware 'isp_1080' Oct 17 23:51:17 kernel: unable to register firmware 'isp_1080_it' Oct 17 23:51:17 kernel: unable to register firmware 'isp_12160' Oct 17 23:51:17 kernel: unable to register firmware 'isp_12160_it' Oct 17 23:51:17 kernel: unable to register firmware 'isp_2100' Oct 17 23:51:17 kernel: unable to register firmware 'isp_2200' Oct 17 23:51:17 kernel: unable to register firmware 'isp_2300' Oct 17 23:51:17 kernel: unable to register firmware 'isp_2322' Oct 17 23:51:17 kernel: unable to register firmware 'isp_2400' Oct 17 23:51:17 kernel: module_register_init: MOD_LOAD (iwnfw_fw, 0xffffffff812d4000, 0) error 1 Oct 17 23:51:17 kernel: ppc0: cannot reserve I/O port range Oct 17 23:51:18 kernel: KLD mac_biba.ko: depends on kernel_mac_support - not available Oct 17 23:51:18 kernel: KLD mac_bsdextended.ko: depends on kernel_mac_support - not available Oct 17 23:51:18 kernel: KLD mac_ifoff.ko: depends on kernel_mac_support - not available Oct 17 23:51:18 kernel: KLD mac_lomac.ko: depends on kernel_mac_support - not available Oct 17 23:51:18 kernel: KLD mac_mls.ko: depends on kernel_mac_support - not available Oct 17 23:51:18 kernel: KLD mac_none.ko: depends on kernel_mac_support - not available Oct 17 23:51:18 kernel: KLD mac_partition.ko: depends on kernel_mac_support - not available Oct 17 23:51:18 kernel: KLD mac_portacl.ko: depends on kernel_mac_support - not available Oct 17 23:51:18 kernel: KLD mac_seeotheruids.ko: depends on kernel_mac_support - not available Oct 17 23:51:18 kernel: KLD mac_stub.ko: depends on kernel_mac_support - not available Oct 17 23:51:18 kernel: KLD mac_test.ko: depends on kernel_mac_support - not available Oct 17 23:51:18 kernel: KLD if_malo.ko: depends on malofw_fw - not available Oct 17 23:51:18 kernel: ppc0: cannot reserve I/O port range Oct 17 23:51:19 kernel: WARNING: attempt to net_add_domain(bluetooth) after domainfinalize() Oct 17 23:51:19 kernel: WARNING: attempt to net_add_domain(netgraph) after domainfinalize() Oct 17 23:51:20 kernel: This module (opensolaris) contains code covered by the Oct 17 23:51:20 kernel: Common Development and Distribution License (CDDL) Oct 17 23:51:20 kernel: see http://opensolaris.org/os/licensing/opensolaris_license/ Oct 17 23:51:20 kernel: KLD if_patm.ko: depends on atm - not available Oct 17 23:51:20 kernel: ppc0: cannot reserve I/O port range Oct 17 23:51:21 kernel: netsmb_dev: loaded Oct 17 23:51:21 kernel: ppc0: cannot reserve I/O port range Oct 17 23:51:22 last message repeated 2 times Oct 17 23:51:22 kernel: hdac0: mem 0xf9ef0000-0xf9ef3fff irq 21 at device 15.1 on pci0 Oct 17 23:51:22 kernel: hdac0: Oct 17 23:51:22 kernel: hdac0: [ITHREAD] Oct 17 23:51:22 kernel: hdac0: Oct 17 23:51:22 kernel: pcm0: on hdac0 Oct 17 23:51:22 kernel: pcm1: on hdac0 Oct 17 23:51:22 kernel: pcm2: on hdac0 Oct 17 23:51:24 kernel: ppc0: cannot reserve I/O port range Oct 17 23:51:24 last message repeated 2 times Oct 17 23:51:25 kernel: dragon_saver: the console does not support M_VGA_CG320 Oct 17 23:51:25 kernel: module_register_init: MOD_LOAD (dragon_saver, 0xffffffff81637140, 0) error 19 Oct 17 23:51:25 kernel: fire_saver: the console does not support M_VGA_CG320 Oct 17 23:51:25 kernel: module_register_init: MOD_LOAD (fire_saver, 0xffffffff81639000, 0) error 19 Oct 17 23:51:25 kernel: logo_saver: the console does not support M_VGA_CG320 Oct 17 23:51:25 kernel: module_register_init: MOD_LOAD (logo_saver, 0xffffffff8163b010, 0) error 19 Oct 17 23:51:25 kernel: rain_saver: the console does not support M_VGA_CG320 Oct 17 23:51:25 kernel: module_register_init: MOD_LOAD (rain_saver, 0xffffffff8163e010, 0) error 19 Oct 17 23:51:25 kernel: warp_saver: the console does not support M_VGA_CG320 Oct 17 23:51:25 kernel: module_register_init: MOD_LOAD (warp_saver, 0xffffffff81641270, 0) error 19 Oct 17 23:51:26 kernel: KLD if_upgt.ko: depends on upgtfw_fw - not available Oct 17 23:51:26 kernel: wlan: mac acl policy registered } from which I get following useful and working devices for generate my custom kernels: -- device ichwd device smb device smbus device ichsmb device cd device acpi_aiboost device crypto device cryptodev -- My question: what the "official" FreeBSD-way for the approach similar operations? From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 21:14: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 87DAA106568C for ; Fri, 17 Oct 2008 21:14:17 +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 2F49A8FC17 for ; Fri, 17 Oct 2008 21:14:16 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA14.westchester.pa.mail.comcast.net ([76.96.62.60]) by QMTA10.westchester.pa.mail.comcast.net with comcast id TwjD1a0061HzFnQ5AxEGbo; Fri, 17 Oct 2008 21:14:16 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA14.westchester.pa.mail.comcast.net with comcast id TxEE1a00R2P6wsM3axEF6M; Fri, 17 Oct 2008 21:14:15 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=qG0pDHm830py8FHImq8A:9 a=cbyOUttlHAuu2JgLhZ8A:7 a=Mx7BdjIZc75BSoM-RGhdTbAkKH0A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 528CEC9432; Fri, 17 Oct 2008 14:14:14 -0700 (PDT) Date: Fri, 17 Oct 2008 14:14:14 -0700 From: Jeremy Chadwick To: mdh Message-ID: <20081017211414.GA31108@icarus.home.lan> References: <20081017175359.GA27396@icarus.home.lan> <468319.95459.qm@web56808.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <468319.95459.qm@web56808.mail.re3.yahoo.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: David Karapetyan , freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Subject: Re: Problem with www/mod_cband X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 21:14:17 -0000 On Fri, Oct 17, 2008 at 11:47:38AM -0700, mdh wrote: > It seems possible, however, that mod_cband's functionality could be > replicated by a simple script that watches the access log files and > makes an update to a .htaccess file for the virtualhost when the > virtualhost in question exceeds a given bandwidth limit which would be > configured in the script. Well, that's assuming you want to use the "maximum aggregate bandwidth per site every month" concept. I, for one, do not, because all it takes is one prick wget -r'ing the site and pow, the site is down for everyone. You could block based on IP, but believe me, they'll find or get another. (I've personally seen this with Italian users, where they'd switch to another IP to get around pf(4) blocks I put in place.) I personally prefer to just bandwidth limit sites, only permitting XXX Kbyte/sec across *all visitors*. It's the only "safe" way to deal with 95th-percentile billing in co-locations. Also, don't forget that Apache only writes an entry to the log file *after* the transfer is finished, not when the request is submit. :-) -- | 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 17 21:22: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 A02591065692 for ; Fri, 17 Oct 2008 21:22:21 +0000 (UTC) (envelope-from richard.robert@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 703B98FC24 for ; Fri, 17 Oct 2008 21:22:21 +0000 (UTC) (envelope-from richard.robert@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so805292wfg.7 for ; Fri, 17 Oct 2008 14:22:20 -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=GvqC+xpINob8DNFvRPNr6qf7nIb0gj//ElsNshb5QYg=; b=S0ef3XLQBvLyznlb3JCThOq6SDk7LqEfq6BnYWUiccgszsZfofPj/VE3qRSr9scZuR eDbICraZOh/A9L8oM8WdX1lntr4AsC/kqDI8HS9ysJsM+RnHrAmrYSB9r6ThvIKaMLbI o8gFCHYcSRuiHAVfcSDOQFvfhSKvQ8bZ8eEG8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=NrFFGRdWJct7+9+1K5Wmvn3OiyPm1pAxdQChUmJtZSy/jEu7Hpp65ORgUH+kQPjHof ompT1zaJUkE02iUWpTujEQtqT/9+M5TR6ccOBFPxEpNOR1oXsp8NUAf32RUjZpoGEtYz X4urjt6mwubZ7YCejxRq9plP3amexoqyuysDg= Received: by 10.143.30.16 with SMTP id h16mr1617555wfj.294.1224276944062; Fri, 17 Oct 2008 13:55:44 -0700 (PDT) Received: by 10.142.225.3 with HTTP; Fri, 17 Oct 2008 13:55:44 -0700 (PDT) Message-ID: <43c4e0a0810171355k164f7485va3729553a3f3a262@mail.gmail.com> Date: Fri, 17 Oct 2008 16:55:44 -0400 From: "Robert Richards" 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: new compiler error? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 21:22:21 -0000 Hi: I have been trying to upgrade to the latest gnash on my W/S running: FreeBSD 6.3-RELEASE-p5 #3. First, I upgraded the kernel and base to the latest patch level, then I executed a portupgrade -R gnash, and after all the pre-requisite packages were upgraded successfully gnash itself began to compile. Then this: =========================== ../libcore/.libs/libgnashcore.so: undefined reference to `std::basic_ostream >& std::basic_ostream >::_M_insert(bool)' /usr/ports/graphics/gnash/work/gnash-0.8.4/libbase/.libs/libgnashbase.so: undefined reference to `std::basic_istream >& std::basic_istream >::_M_extract(unsigned int&)' collect2: ld returned 1 exit status gmake[2]: *** [gprocessor] Error 1 gmake[2]: Leaving directory `/usr/ports/graphics/gnash/work/gnash-0.8.4/utilities' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/graphics/gnash/work/gnash-0.8.4' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/graphics/gnash. *** Error code 1 Stop in /usr/ports/graphics/gnash. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.43253.1 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=gnash-0.8.2_2 UPGRADE_PORT_VER=0.8.2_2 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! graphics/gnash (gnash-0.8.2_2) (new compiler error) =========================== What do I need to do to get this accomplished? I am struggling with limited flash support, and have been doing fairly well with gnash/firefox. I would like to upgrade my gnash-0.8.2_2 to the latest version gnash-0.8.4. and possibly get a bit more functionality. Oh, one more possible clue. The first time I attempted this, I issued a portupgrade gnash without recursion. At about the same point of failure, the system powered down. I mean I saw an LD error, and then POOF, laptop went power-down! I didn't believe that was the cause, so after cleaning the file systems, I tried again, and again it powered down. So I pretty much upgraded everything and after the -R attempt, gnash simply failed. TIA Bob From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 21: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 E12F2106568D for ; Fri, 17 Oct 2008 21:39:28 +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 9E72E8FC16 for ; Fri, 17 Oct 2008 21:39: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 m9HLdgAj005120 for ; Fri, 17 Oct 2008 14:39:42 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Fri, 17 Oct 2008 14:39:23 -0700 (PDT) Date: Fri, 17 Oct 2008 14:39:23 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20081017213919.GA2901@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: back to kde3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 21:39:29 -0000 People, I spent the past several days trying to insure that everythinge kde4 was properly set to run upon reboot. But upon rebooting just now, I find myself back in kde3. i Yanked the startup from /etc/ttys, so *must* have hit the old kdm[3] from root. No problem with version3--at least things Work there. What I'm wondering is: if with some future release, say, 7.2 or 7.3, will our KDE default to version 4? 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 17 21:55: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 EA624106568A for ; Fri, 17 Oct 2008 21:55:28 +0000 (UTC) (envelope-from nlandys@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 69DAA8FC1C for ; Fri, 17 Oct 2008 21:55:27 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so508209fgb.35 for ; Fri, 17 Oct 2008 14:55:26 -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:mime-version:content-type; bh=pEYC+QlkcJUAcqlg0kUYyIYBmSZZ+4JqyXqvtj6Oxs0=; b=rOzjMoAQ0LUoo8KPYn2CRvGEpOCdbKxtBBIU7i/HhSsAFZ2ZIpVYRfky7JXeQpiavH yvQTFhD5uclDm+dEaXcniKLDQfL37ruAoq6/JvedDm/cMPdjxj3x4dXVRPyGMqZcLOwH l3PWHFxIKxb3QXajOzaIx0jXXc0HoJS8rZK9g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:mime-version:content-type; b=E9Ai2jq6PqnpACQXfDxxwGsA6Q6B1l2unRPx3wATLn/n7efUEVl17T/9QgFd2z7pb8 +h8QsP9fgCn2cXwLzA6TbBsUK7dpm9NFmwfq2sqwBZjaiKABtTa1ecXFhAi/hS5gVn8D 5wYT1VlXeuq8jwFkDeMTpH15aazjRO20Uq79o= Received: by 10.181.239.8 with SMTP id q8mr90212bkr.1.1224278640355; Fri, 17 Oct 2008 14:24:00 -0700 (PDT) Received: by 10.181.7.9 with HTTP; Fri, 17 Oct 2008 14:24:00 -0700 (PDT) Message-ID: <560f92640810171424v7fd48462qb750cf40229884ac@mail.gmail.com> Date: Fri, 17 Oct 2008 14:24:00 -0700 From: "Nerius Landys" To: "FreeBSD Mailing Lists" 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: Rambetter Subject: DHCP release/renew lease - elegant solution? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 21:55:29 -0000 I have an always-on FreeBSD box which is connected to the internet. My ISP is some cable company and the IP address is determined via DHCP; I used to always get the same IP address but recently the address seems to be changing very frequently whenever I reboot the machine. My problem is that recently, after being on for a day or so, the internet connection to the FreeBSD box breaks down, it stops working or becomes very intermittent/flaky. I then reboot the machine, and thereafter it usually uses a new IP address and the internet connection returns fo running fine. There is no need to reboot the cable modem. My goal is to do some dhclient magic which will automatically fix this problem without needing a reboot of the machine. If possible, I would like to have the same IP address as often as possible, but I'm not sure that this is possible. My FreeBSD version is 5.5, so it uses the ISC DHCP client, but the details between the current DHCP client and mine are probably insignificant. My /etc/dhclient.conf file is empty. I have been reading man pages, and it seems that the way to release, get a new IP address is this: dhclient -r dhclient fxp0 An except from my dhclient man page: The client normally doesn't release the current lease as it is not required by the DHCP protocol. Some cable ISPs require their clients to notify the server if they wish to release an assigned IP address. The -r flag explicitly releases the current lease, and once the lease has been released, the client exits. I could put this into a crontab and run it every 12 hours. However, this does not seem like a very elegant solution to my problem. I am wondering whether there is a more elegant solution. Thanks in advance. From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 21:00: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 BFF7E1065687 for ; Fri, 17 Oct 2008 21:00:34 +0000 (UTC) (envelope-from ajphanks@comcast.net) 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 63E6E8FC1C for ; Fri, 17 Oct 2008 21:00:34 +0000 (UTC) (envelope-from ajphanks@comcast.net) Received: from OMTA03.westchester.pa.mail.comcast.net ([76.96.62.27]) by QMTA05.westchester.pa.mail.comcast.net with comcast id Tmtm1a0050bG4ec55wqYH7; Fri, 17 Oct 2008 20:50:32 +0000 Received: from amailcenter22.comcast.net ([204.127.225.122]) by OMTA03.westchester.pa.mail.comcast.net with comcast id TwqW1a00M2f4SHo3PwqXrp; Fri, 17 Oct 2008 20:50:31 +0000 X-Authority-Analysis: v=1.0 c=1 a=10SHvqaCvoUA:10 a=svVtg53j9BwA:10 a=XudNOOl3m79mKpGvKxcA:9 a=eKUQMle8M47PxZR9n70A:7 a=QgoCbUflNwWOoteMYC4TyYjhoW0A:4 a=OyOq_G8mXAEA:10 a=si9q_4b84H0A:10 a=gi0PWCVxevcA:10 a=GJRVQQjnnYzsaflg_OkA:9 a=8QJjmXWThrov2Pa-dDIA:7 a=AlvFFmMff3g_nK2C2y5CUSd1IU4A:4 a=37WNUvjkh6kA:10 Received: from [149.128.8.243] by amailcenter22.comcast.net; Fri, 17 Oct 2008 20:50:29 +0000 From: ajphanks@comcast.net To: Warren Block Date: Fri, 17 Oct 2008 20:50:29 +0000 Message-Id: <101720082050.20434.48F8FA950007FF1800004FD222155786749C05020E089F060E@comcast.net> X-Mailer: AT&T Message Center Version 1 (Oct 30 2007) X-Authenticated-Sender: YWpwaGFua3NAY29tY2FzdC5uZXQ= MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 17 Oct 2008 22:08:19 +0000 Content-Type: text/plain Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Printing to a Lanier LD160c does not 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: Fri, 17 Oct 2008 21:00:34 -0000 I have tried the reccomendations that you guys have suggested with no luck. Is there a site that I could get some sample filters I could try? I have tried a few that were in the freebsd corporate guide. This printer will work from Windows printer spooler and this BSD box can print to a HP just fine. Here is my current printcap. corp-admin|hp|laserjet|Hewlett Packard LaserJet 5Si:\ :lp=\ :sd=/var/spool/output/corp-admin:\ :rm=corp-admin:\ :lf=/var/log/lpd-errs:\ :if=/usr/local/libexec/crlfilter:\ :sh:\ :tr=\f:\ :mx#0: admincolor|LANIER LD160c RPCS:\ :lp=\ :mx#0:\ :sd=/var/spool/output/admincolor:\ :rm=admincolor:\ :lf=/var/log/lpd-errs:\ :if=/usr/local/libexec/crfilter:\ :sh:\ :tr=\f: And here is the filter #!/bin/sh # /usr/local/libexec/crlfilter # # simple parlor trick to add CR to LF for printer # Every line of standard input is printed with CRLF # attached. # awk '{printf "%s\r\n", $0}' - -------------- Original message -------------- From: Warren Block > On Thu, 16 Oct 2008, ajphanks@comcast.net wrote: > > > I am trying to setup a Lanier LD160c (admincolor) that has a network > > interface. I am new to FreeBSD and tried to follow the handbook. I > > am able to print to a HP 5SI (corp-admin) with no problems. There are > > no errors in the lpd-errs and the file is drained from the queue, but > > the printer does not print anything. And this is a working printer to > > Windows. lpr -P admincolor testfile.txt > > > > printcap: > > corp-admin|hp|laserjet|Hewlett Packard LaserJet 5Si:\ > > :lp=\ > > :sd=/var/spool/output/corp-admin:rm=corp-admin:\ > > :lf=/var/log/lpd-errs:\ > > :if=/usr/local/libexec/crlfilter:sh:tr=\f:mx#0: > > > > admincolor|hp|laserjet|LANIER LD160c RPCS:\ > > :lp=\ > > :sd=/var/spool/output/admincolor:rm=admincolor:\ > > :lf=/var/log/lpd-errs: > > Note here that in the second entry you don't have the :sh: and :mx#0: > entries. No :if=: either, but maybe that's because you don't need an > input filter for this printer. > > At first guess, this printer may be touchy about the print queue name. > That's the :rp=: parameter, which is not here at all. There are a > couple of KB entries on the Lanier site that say to use "lp". > > printcap entries are easier to read if you put one option per line: > > admincolor:\ > :lp=:\ > :sh:\ > :mx#0:\ > :rm=admincolor:\ > :rp=lp:\ > :sd=/var/spool/output/admincolor:\ > :lf=/var/log/lpd-errs: > > -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 22:12: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 650161065686 for ; Fri, 17 Oct 2008 22:12:45 +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 EA1EC8FC13 for ; Fri, 17 Oct 2008 22:12:44 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: (qmail 39252 invoked by uid 60001); 17 Oct 2008 22:12: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:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=YQecyjR5IdrGg/Hm4KCvXQEY8MbjlRgiZYFnqoSbcil/E2yI30Ffbqfxpk8xioTrVcfyGfzvmGIQl3dM0R8sewhYzB4FzaaoJ0rrtdqNLRt6Wwiem3p2HW8SUhEWWI9mPVyzUbUvfOIWGvuBE48lZC3iTMU7Epb5l3qwjTWnHJY=; X-YMail-OSG: i4VthTYVM1nSTK18Rd0lH4GEWpCKolb9vQdcgRLbpGWn25G.6oRlEvTbyl.s6FRwylpSZQNoCGgoIh0J7uM_H3kCE48LujAWam4m_c4I1AglgXoNgu5L8tD2VD1CrcO6VJGigeXx.khFear5DPnH1P2L.w-- Received: from [71.61.220.126] by web56801.mail.re3.yahoo.com via HTTP; Fri, 17 Oct 2008 15:12:43 PDT X-Mailer: YahooMailWebService/0.7.247.3 Date: Fri, 17 Oct 2008 15:12:43 -0700 (PDT) From: mdh To: FreeBSD Mailing List , Gary Kline In-Reply-To: <20081017213919.GA2901@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <240955.37376.qm@web56801.mail.re3.yahoo.com> Cc: Subject: Re: back to kde3 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, 17 Oct 2008 22:12:45 -0000 --- On Fri, 10/17/08, Gary Kline wrote: > From: Gary Kline > Subject: back to kde3 > To: "FreeBSD Mailing List" > Date: Friday, October 17, 2008, 5:39 PM > People, > > I spent the past several days trying to insure that > everythinge kde4 was > properly set to run upon reboot. But upon rebooting just > now, I find > myself back in kde3. i Yanked the startup from /etc/ttys, > so *must* have > hit the old kdm[3] from root. If you installed from ports, change the line in /etc/ttys from /usr/local/bin/kdm to /usr/local/kde4/bin/kdm The KDE4 stuff is all installed under /usr/local/kde4 in order to not conflict with KDE3 installs. - mdh __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 22:49: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 12005106568E for ; Fri, 17 Oct 2008 22:49:15 +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 3A0348FC29 for ; Fri, 17 Oct 2008 22:49:13 +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 m9HMnBVo013148; Sat, 18 Oct 2008 00:49: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 m9HMnA7k013145; Sat, 18 Oct 2008 00:49:10 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 18 Oct 2008 00:49:10 +0200 (CEST) From: Wojciech Puchar To: Gary Kline In-Reply-To: <20081017213919.GA2901@thought.org> Message-ID: <20081018004829.C13134@wojtek.tensor.gdynia.pl> References: <20081017213919.GA2901@thought.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Mailing List Subject: Re: back to kde3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 22:49:15 -0000 > myself back in kde3. i Yanked the startup from /etc/ttys, so *must* have > hit the old kdm[3] from root. > > No problem with version3--at least things Work there. What I'm wondering > is: if with some future release, say, 7.2 or 7.3, will our KDE default to > version 4? > my default to xdm, and fvwm2 :) From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 22:52: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 6A4A61065698 for ; Fri, 17 Oct 2008 22:52:20 +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 963CB8FC15 for ; Fri, 17 Oct 2008 22:52:19 +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 m9HMqA9c013176; Sat, 18 Oct 2008 00:52:10 +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 m9HMq9l7013173; Sat, 18 Oct 2008 00:52:10 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 18 Oct 2008 00:52:09 +0200 (CEST) From: Wojciech Puchar To: ajphanks@comcast.net In-Reply-To: <101620082036.391.48F7A5DA0009DFCD0000018722120207849C05020E089F060E@comcast.net> Message-ID: <20081018005047.W13134@wojtek.tensor.gdynia.pl> References: <101620082036.391.48F7A5DA0009DFCD0000018722120207849C05020E089F060E@comcast.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Printing to a Lanier LD160c does not 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: Fri, 17 Oct 2008 22:52:20 -0000 > lpr -P admincolor testfile.txt > > printcap: > corp-admin|hp|laserjet|Hewlett Packard LaserJet 5Si:\ > :lp=\ > :sd=/var/spool/output/corp-admin:rm=corp-admin:\ > :lf=/var/log/lpd-errs:\ > :if=/usr/local/libexec/crlfilter:sh:tr=\f:mx#0: > > admincolor|hp|laserjet|LANIER LD160c RPCS:\ > :lp=\ > :sd=/var/spool/output/admincolor:rm=admincolor:\ > :lf=/var/log/lpd-errs: i have no idea what does :lp=\ do. my setup is like yours for network printers except of that. anything else is fine. is your printer "printer compatible" i mean can it get textfiles? or maybe it'spostscript only or whatever? From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 22:52: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 C869510656A7; Fri, 17 Oct 2008 22:52:59 +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 E56028FC15; Fri, 17 Oct 2008 22:52:58 +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 m9HMqn6h013184; Sat, 18 Oct 2008 00:52:49 +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 m9HMqnnt013181; Sat, 18 Oct 2008 00:52:49 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 18 Oct 2008 00:52:49 +0200 (CEST) From: Wojciech Puchar To: Jeremy Chadwick In-Reply-To: <20081016212000.GA3960@icarus.home.lan> Message-ID: <20081018005232.J13134@wojtek.tensor.gdynia.pl> References: <101620082036.391.48F7A5DA0009DFCD0000018722120207849C05020E089F060E@comcast.net> <20081016212000.GA3960@icarus.home.lan> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org, ajphanks@comcast.net Subject: Re: Printing to a Lanier LD160c does not 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: Fri, 17 Oct 2008 22:52:59 -0000 > If this printer is hooked up on the network (e.g. via Ethernet), I > believe you need to set the lp variable to the hostname or IP address of > the printer, e.g.: > > admincolor|hp|laserjet|LANIER LD160c RPCS:\ > :lp=192.168.1.100\ > :sd=/var/spool/output/admincolor:rm=admincolor:\ > :lf=/var/log/lpd-errs: > > I think this also makes the assumption that the printer knows how to > speak the LPR protocol. If it listens on a custom port, you can use > portnumber@ipaddress instead. See the printcap(5) man page, I guess. he said that lpd queue gets drained. so printer DO accept the data. From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 23:02: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 280431065687 for ; Fri, 17 Oct 2008 23:02:40 +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 0BBA28FC16 for ; Fri, 17 Oct 2008 23:02:38 +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 m9HN2Zlc013238; Sat, 18 Oct 2008 01:02:35 +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 m9HN2Y6T013235; Sat, 18 Oct 2008 01:02:35 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 18 Oct 2008 01:02:34 +0200 (CEST) From: Wojciech Puchar To: Aniruddha In-Reply-To: <1224249917.4053.6.camel@debian> Message-ID: <20081018005328.C13134@wojtek.tensor.gdynia.pl> References: <1224054780.4011.20.camel@debian> <20081015072630.GA70901@icarus.home.lan> <1224069478.4247.7.camel@debian> <20081015113101.GA76278@icarus.home.lan> <20081015120911.GI14769@cdnetworks.co.kr> <1224080661.5407.2.camel@debian> <20081015235638.GA22992@cdnetworks.co.kr> <1224249708.4053.0.camel@debian> <1224249917.4053.6.camel@debian> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: ("SOLVED") Under heavy load internet gets killed, only a reboot can bring it back up X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 23:02:40 -0000 > I 'solved' this by buying a new nic. It's an Eminent with a RTL8139D > chipset. you SOLVED it not 'solved'. onboard NICs are usually crap, except high end motherboard. they solder in what's cheapest in the moment. if chips are buggy, they add workaround in windoze drivers. and finally - for average windoze user there is nothing strange that he/she needs to reboot the system many times a day. they don't even know why network stopped working - is it hardware problem, driver problem, system crash. they just reboot. on 3 motherboards i've got with gigabit NIC, 1 are completely unusable (nvidia), one are barely usable after turning off txcsum and rxcsum: re0: port 0xd000-0xd0ff mem 0xf9000000-0xf9000fff irq 17 at device 0.0 on pci4 re0: turning off MSI enable bit. re0: Chip rev. 0x38000000 re0: MAC rev. 0x00000000 the fully working one is: bge0: mem 0xc0100000-0xc010ffff irq 16 at device 0.0 on pci3 miibus0: on bge0 bge0: Ethernet address: 00:14:5e:94:49:19 bge0: [ITHREAD] but the last one is on IBM server. i've just seen re0: turning off MSI enable bit. looks like fix recently added as i upgraded this machine to 7.1 from 6.3 already funny thing - feature that has to be disabled ;) From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 23: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 550B11065687 for ; Fri, 17 Oct 2008 23:25:06 +0000 (UTC) (envelope-from gautham@lisphacker.org) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.190]) by mx1.freebsd.org (Postfix) with ESMTP id C679E8FC08 for ; Fri, 17 Oct 2008 23:25:05 +0000 (UTC) (envelope-from gautham@lisphacker.org) Received: by mu-out-0910.google.com with SMTP id i2so730920mue.3 for ; Fri, 17 Oct 2008 16:25:04 -0700 (PDT) Received: by 10.103.247.14 with SMTP id z14mr2543686mur.39.1224284701248; Fri, 17 Oct 2008 16:05:01 -0700 (PDT) Received: by 10.103.233.11 with HTTP; Fri, 17 Oct 2008 16:05:01 -0700 (PDT) Message-ID: Date: Sat, 18 Oct 2008 04:35:01 +0530 From: "Gautham Ganapathy" To: "Frank Bonnet" In-Reply-To: <48F8A258.2060407@esiee.fr> MIME-Version: 1.0 References: <48F8A258.2060407@esiee.fr> 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: Installing Samba : FreeBSD Vs Linux ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 23:25:06 -0000 On Fri, Oct 17, 2008 at 8:04 PM, Frank Bonnet wrote: > Hello > > I am on the way to setup a brand new Samba server with OpenLDAP backend > > I am very interrested by feedback of "real world" samba admins running it > with FreeBSD > or Linux , my boss push hardly to use Linux but I would much prefer FreeBSD > so good arguments are welcome ( my boss is a smart guy , if I give enough > litterature that says FreeBSD is better, he will be OK ) > > More seriously I'm also searching for eventuals benchmarks that compare > those two configurations. > > Thanks a lot. > > Hi This is probably not a reliable or objective comparison, but I get much better performance at home b/w a fbsd7/windows vista client and a fbsd6.2 server (freenas) over a 11g wireless network than in the office b/w a windows xp client and an ubuntu 8.04 server over a 100 Mbps ethernet network (even if I am the only person using the server). my server at home runs on an assembled 1.8 GHz athlon xp system with 512 MB RAM. The one in the office is a Wipro NetPower server with a 3 GHz Pentium 4 and 2 GB RAM. both servers run the default samba versions they came with, and both clients are kept upto date it could possibly be a problem with the default ubuntu server configuration, but i have not checked it out yet -- Gautham Ganapathy http://lisphacker.org From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 23:26: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 B59B0106568B for ; Fri, 17 Oct 2008 23:26:58 +0000 (UTC) (envelope-from fbsd06+2Z=5f9b349a@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 8DBF58FC16 for ; Fri, 17 Oct 2008 23:26:58 +0000 (UTC) (envelope-from fbsd06+2Z=5f9b349a@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 5E7C5D05BA for ; Fri, 17 Oct 2008 19:26:57 -0400 (EDT) Date: Sat, 18 Oct 2008 00:26:54 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20081018002654.37155963@gumby.homeunix.com.> In-Reply-To: <20081017213919.GA2901@thought.org> References: <20081017213919.GA2901@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: back to kde3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 23:26:58 -0000 On Fri, 17 Oct 2008 14:39:23 -0700 Gary Kline wrote: > I spent the past several days trying to insure that everythinge kde4 > was properly set to run upon reboot. But upon rebooting just now, I > find myself back in kde3. i Yanked the startup from /etc/ttys, so > *must* have hit the old kdm[3] from root. > > No problem with version3--at least things Work there. What I'm > wondering is: if with some future release, say, 7.2 or 7.3, will our > KDE default to version 4? Do you mean it defaults to the old version of kdm? They're in different locations, you have to set one of following ttyv8 "/usr/local/kde4/bin/kdm -nodaemon" xterm on secure ttyv8 "/usr/local/bin/kdm -nodaemon" xterm on secure Whichever version you use, kdm defaults to the last desktop or window manager. From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 23:37: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 9597D106568A for ; Fri, 17 Oct 2008 23:37:20 +0000 (UTC) (envelope-from ccowart@rescomp.berkeley.edu) Received: from hal.rescomp.berkeley.edu (hal.Rescomp.Berkeley.EDU [169.229.70.150]) by mx1.freebsd.org (Postfix) with ESMTP id 793508FC0C for ; Fri, 17 Oct 2008 23:37:19 +0000 (UTC) (envelope-from ccowart@rescomp.berkeley.edu) Received: by hal.rescomp.berkeley.edu (Postfix, from userid 1225) id F05203C0593; Fri, 17 Oct 2008 16:37:18 -0700 (PDT) Date: Fri, 17 Oct 2008 16:37:18 -0700 From: Christopher Cowart To: Mike Sweetser - Adhost Message-ID: <20081017233718.GQ66228@hal.rescomp.berkeley.edu> Mail-Followup-To: Mike Sweetser - Adhost , freebsd-questions@freebsd.org References: <17838240D9A5544AAA5FF95F8D52031604D8C217@ad-exh01.adhost.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="jo46wx5DSA4a/gWG" Content-Disposition: inline In-Reply-To: <17838240D9A5544AAA5FF95F8D52031604D8C217@ad-exh01.adhost.lan> Organization: RSSP-IT, UC Berkeley User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-questions@freebsd.org Subject: Re: Oddities with VLAN/CARP Interfaces on Primary/Failover Setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 23:37:20 -0000 --jo46wx5DSA4a/gWG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Mike Sweetser - Adhost wrote: > We currently have a primary/failover setup for two FreeBSD 6.3 servers > running PF, and we're running into odd issues when setting up multiple > subnets on a single VLAN and CARP interface. We have issues with them > coming up properly, and even worse, having both servers believe they are > master.=20 If both instances think they're MASTER, make sure you're allowing the multicast traffic for syncing state (in ipfw): | allow carp from $partner to 224.0.0.18 in via $iface Carp is protocol 112 from /etc/protocols. > Here's a snippet of one of the VLANs and CARP interfaces in question: >=20 > ifconfig_vlan10=3D"inet 10.142.255.252 netmask 255.255.0.0 vlan 10 vlandev > em2" =20 > ifconfig_vlan10_alias0=3D"inet 10.210.0.2 netmask 255.255.0.0" > ifconfig_carp10=3D"inet 10.142.255.254 netmask 255.255.0.0 vhid 10 advskew > 0 pass testpass" =20 > ifconfig_carp10_alias0=3D"inet 10.210.0.1 netmask 255.255.0.0" >=20 > The main difference between this and our other VLAN/CARP interfaces is > that because it's separate subnets, the aliases here are set up with /16 > netmasks, while the regular aliases on the others are set up with /32s. > Is this correct, or should these also be set as /32s? It's correct. If you did a /32 on the alias, your system would have no way of knowing how large the second subnet is. The /32 netmask is for adding an alias on the same subnet. I'm not sure carp can work correctly with aliases. Have you tried creating a separate vhid instance per subnet? For example: | ifconfig_vlan10=3D"inet 10.142.255.252 netmask 255.255.0.0 vlan 10 vlande= v em2" | ifconfig_vlan10_alias0=3D"inet 10.210.0.2 netmask 255.255.0.0" | ifconfig_carp10=3D"inet 10.142.255.254 netmask 255.255.0.0 vhid 10 advskew | 0 pass testpass" | ifconfig_carp11=3D"inet 10.210.0.1 netmask 255.255.0.0 vhid 11 advskew | 0 pass testpass" --=20 Chris Cowart Network Technical Lead Network & Infrastructure Services, RSSP-IT UC Berkeley --jo46wx5DSA4a/gWG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iQIcBAEBAwAGBQJI+SGuAAoJEIGh6j3cHUNPh3wP/RBqk5TNWgwzKgak0DurABUg O0QcDrncynCkoDV399+Srd01azPxZGwohkTsdyzW5mei/MUl5CssYfHP28YCFusU inLAWBlaABN4DVLydURi6UZ1VQkuyvx2l5EXKk5tpk2gMiifdb4IYmAGOlQzADfc IPimwS8Igz8xLlxIzjRkJmUUIYI2EIMG08gXjMw1oTGV0YNlJJ+MeQkNo1brkgh5 TSn7Knsq7dd0ApY/kdFsGDoxiDLn6T6DIXcvffcqHmkGHNE/a1MFqt6Lk1caGu1T FWW+IN++r1QbMakCjmpMQRKWLnnvcDYtslfLLT6gVTaf0LBXCGW0Ainqml8pKEYi Hp5SjYe8gRqLqIUlP6rd9SzQ0RJtj8YX3CbwndauGb28vaoNBXBZtjGo2mrb1KKU eJRkvyiGL+VPt6FvNet37U6Hr6uGAMT5Ebysru4eM7lf0XGR8hhOWWwcKfhlaX5c 0mCZanmDuyCgOPoMEPSjPeSmLsEMqHXYBfvX1pJN1upRsDvSVJlwfXOXa1D2ofNN rB8P7wQCfNHP59DMx35YcaRA6pFSZ23vzuF35veS1LzKPePu2MDk1hOv/G+Vqq2O P828YgyHtuB8H9nMYqio8tLaUnebtIiCSqiqdQctngo8ZlNsLjCu1hNR4n11OJNi WDVedkDbCStpMFl0cfQY =b/dx -----END PGP SIGNATURE----- --jo46wx5DSA4a/gWG-- From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 23:38: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 CD9971065689 for ; Fri, 17 Oct 2008 23:38:57 +0000 (UTC) (envelope-from kayvey@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.freebsd.org (Postfix) with ESMTP id CBC4B8FC18 for ; Fri, 17 Oct 2008 23:38:56 +0000 (UTC) (envelope-from kayvey@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so171286uge.39 for ; Fri, 17 Oct 2008 16:38:55 -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=FtfkHGQHyVBO/GemYQkDrCSYCtCFm10PLuArryhdK2Q=; b=XFwPXBIwCwM06C2rmVcBK+QT0/HUzk/N+0diMJhLC5CFjq9t6Cw1rM2C9zFGMq2Gr/ AR/crRK0Turtg3W2VVbMNQJIDRVWghhy59oBk3qOIvMW3jaMovGtdpbYvUki3yISQGsE qodJdYvl59u+c6i+ZmSJFDO55NAj7qJNUo3tU= 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=CIgQkygPIy3UeheAjd710NuNhlF2pAZx/Ypmfk273hYWI7cgSko5nS+uWVURX3cBun dhnyZ6zFsKks2FFAShR23M64aTCxX2B8lA27yjFBCS1PIHwbjKmaLM2LOQ90tKHPyB0d jdu5b8FoiJyGb/gxdEr19AQH3wwQcMx4TWDE0= Received: by 10.210.52.9 with SMTP id z9mr5118362ebz.175.1224286735177; Fri, 17 Oct 2008 16:38:55 -0700 (PDT) Received: by 10.210.86.3 with HTTP; Fri, 17 Oct 2008 16:38:55 -0700 (PDT) Message-ID: <28b9b4180810171638n50919bfewe29aa5a77c167311@mail.gmail.com> Date: Fri, 17 Oct 2008 16:38:55 -0700 From: "Kayven Riese" To: freebsd-questions@freebsd.org In-Reply-To: <20081017211000.27B391065718@hub.freebsd.org> MIME-Version: 1.0 References: <20081017211000.27B391065718@hub.freebsd.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: freebsd-questions Digest, Vol 237, Issue 16 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 23:38:57 -0000 ----------------------- > > Message: 11 > Date: Fri, 17 Oct 2008 08:39:40 -0700 > From: "Kayven Riese" > Subject: Re: kgdb of kernel issues FB7.0 (mangled inode) > To: freebsd-questions@freebsd.org > Message-ID: > <28b9b4180810170839q45697ca9pef7cb04c2f469008@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > I need to keep posting to questions because I don't know how to ask questions. I can't run my drive that is currently mounted with its partitions like this: device name would be mounted if "master" is mounted now /dev/da0s1 / /mnt/tmp /dev/da0s3 /var /mnt/var /dev/da0s4 /usr /mnt/usr I can't run this hardrive. It is my newest. I can mount it and I can get a single user prompt. Before It crashed it would give me a character based shell, and then I would type "startx" and get KDE. Now it reboots on "startx." It had some sort of mangled inode (see below) but the fsck -y -f /usr that I have done in single user mode just now after swapon -a failed just like all the other times I have done fsck on it (see below) requesting 0.871 TBytes or something. I have just learned about var/crash and providing that waaaay waaay at the bottom of this transmission. > > > I wasn't sure if I should have edited this. > > ------------------------------ > > > > Message: 29 > > Date: Thu, 16 Oct 2008 18:48:31 -0700 > > From: "Kayven Riese" > > Subject: kgdb of kernel issues FB7. > > To: freebsd-questions@freebsd.org, california71_lv@hotmail.com, > > stan@cs.sfsu.edu > > Message-ID: > > <28b9b4180810161848ua342669l9cbaeaa61b357407@mail.gmail.com> > > Content-Type: text/plain; charset=ISO-8859-1 > > > > I was running my FreeBSD 7.0-RELEASE (160GB HD) on this laptop: > > > > http://www.monkeyview.net/id/965/fsck/dmesg/PB12001901.vhtml > > > > Right now I am swapped out > > > > http://www.monkeyview.net/id/965/fsck/torrent/p5120212.vhtml > > > > but I have the problem disk mounted using this: > > > > http://www.monkeyview.net/id/965/fsck/torrent/p5120226.vhtml > > > > This is a much older disk with 60GB and > > $ uname -a > > FreeBSD 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC > > 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 > > $ > > > > It makes clunking sounds sometimes, but for the most part it seems to run > > fine. > > > > Some diagnostics on the 160GB HD FB 7.0 that have been done: > > > > # mount /dev/da0s4 /mnt/usr > > # fsck_ufs -y /mnt/usr > > ** /dev/da0s4 (NO WRITE) > > ** Last Mounted on /mnt/usr > > ** Phase 1 - Check Blocks and Sizes > > INCORRECT BLOCK COUNT I=2779162 (4 should be 0) > > CORRECT? no > > > > fsck_ufs: cannot alloc 871186332 bytes for inoinfo > > # > > > > I have been told that doing fsck while mounted is a very bad thing, but I > > did fsck before the > > above depicted instantiation of the fsck command and after this and it > > always did the same > > thing. I have done fsck using the argument /dev/da0s4, > > I have done fsck in single user mode (the 160GB hard boots a character > > based shell, but crashes > > and reboots during "startx") and always the fsck looks the same. My > > configuration of the 160GB > > is a little goofy, in my estimation, just to explain. I currently have > > three hard drives representing > > all the times I have installed FreeBSD, two of them are dual booted with > MS > > Vista, and this latest > > one with 160GB has FreeBSD all to itself, but when I was creating it, I > > mistook partitions for > > slices so I configured 4 partitions, leaving some of the disk unallocated > > thinking that would be > > good for that 10% utilization thing. I mount three partitions on /, > /var, > > and /usr; respectively > > and the last one as swap. I learned the vi editor in 1985 and tend to > > recount the flavor of > > unix as "evax" but at this point I wonder if this "evax" concept is > > mistaken. I have done a bunch > > of c programming in university courses, but also spent some time doing > > molecular biology but > > they had me on a SUN SPARCstation I guess. Didn't mess with that source > > code. > > > > Anyway. Sorry for not being concise. I thought maybe my background might > > be > > useful information. > > I was told to do another diagnostic, alleged to pin the disk down as > having > > no bad sectors: > > > > # dd if=/dev/da0 bs=65536 of=/dev/null > > 2442045+1 records in > > 2442045+1 records out > > 160041885696 bytes transferred in 5718.122211 secs (27988539 bytes/sec) > > # echo $? > > 0 > > # > > > > I was told that the fact that it returns 0 was good. > > > > > > I also tried the port called recoverdisk, but that was taking extremely > > long. I accidently disconnected the > > USB port > > > > # /usr/src/tools/tools/recoverdisk > > zsh: permission denied: /usr/src/tools/tools/recoverdisk > > # set -o vi > > # ls /usr/src/tools/tools/recoverdisk > > Makefile recoverdisk.1 recoverdisk.c > > # cd /usr/src/tools/tools/recoverdisk > > # make > > Warning: Object directory not changed from original > > /usr/src/tools/tools/recoverdisk > > cc -O2 -fno-strict-aliasing -pipe -Wsystem-headers -Werror -Wall > > -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > > -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter > > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c > > recoverdisk.c > > cc -O2 -fno-strict-aliasing -pipe -Wsystem-headers -Werror -Wall > > -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > > -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter > > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -o > > recoverdisk recoverdisk.o > > gzip -cn recoverdisk.1 > recoverdisk.1.gz > > # ls > > Makefile recoverdisk.1 recoverdisk.c > > recoverdisk recoverdisk.1.gz recoverdisk.o > > # ./recoverdisk > > usage: recoverdisk [-r worklist] [-w worklist] source-drive [destination] > > # ./recoverdisk /dev/da0s4 > > start size len state done remaining % > > done > > 590348288 1048576 134551002112 0 590348288 134551002112 > > 0.0043684 > > > > It had run for perhaps half an hour and still was only 0.3% done or so. > > > > > > finally, the guy downstairs told me to debug the kernel so I found this > > page: > > > > > > > http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-gdb.html > > > > and after mounting the /usr partition I am here: > > > > -rw-r--r-- 1 root wheel 21360 Jun 22 10:30 yarrow.o > > # kgdb /mnt/nexstar/obj/usr/src/sys/KV_KERN/kernel.debug vmcore.12 > > [GDB will not be able to debug user-mode threads: > /usr/lib/libthread_db.so: > > Undefined symbol "ps_pglobal_lookup"] > > 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 > > conditions. > > Type "show copying" to see the conditions. > > There is absolutely no warranty for GDB. Type "show warranty" for > details. > > This GDB was configured as "i386-marcel-freebsd". > > > > Unread portion of the kernel message buffer: > > dev = ad0s4d, block = 1, fs = /usr > > panic: ffs_blkfree: freeing free block > > cpuid = 0 > > Uptime: 8m2s > > Physical memory: 1010 MB > > Dumping 78 MB: 63 47 31 15 > > > > #0 0x00000000 in ?? () > > (kgdb) > > > > ::sigh:: > > > # kgdb /mnt/nexstar/obj/usr/src/sys/KV_KERN/kernel.debug vmcore.0 > [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: > Undefined symbol "ps_pglobal_lookup"] > 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 > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i386-marcel-freebsd". > > Unread portion of the kernel message buffer: > panic: ufs_dirbad: /usr: bad dir ino 9750624 at offset 28160: mangled entry > cpuid = 0 > Uptime: 5m6s > Physical memory: 1010 MB > Dumping 149 MB: 134 118 102 86 70 54 38 22 6 > > #0 0x00000000 in ?? () > (kgdb) > > > > > > > > > > > > I was figuring I would try again, but right now I am running the > > intermediary (120GB) HD.. > > let me reacquaint you with my disks: > > > > relative age capacity dual boot? partition 1 > > partition 2 notes > > oldest 60GB yes FreeBSD > 6.2 > > Vista makes the > > > > gnome (operational) (broken) clunking noises > > > > intermediate 120GB yes Vista > > FreeBSD (6.3?) > > > > (running now) (broken) > > > > newest 160GB no FreeBSD 7.0 > > n/a subject of this > > > KDE > > (won't start) question > > > > > > > > - Accept and Award > > Points< > > > http://www.experts-exchange.com/Storage/Hard_Drives/splitPoints.jsp?qid=23798083&aid=22692235 > > > # cat /mnt/tmp/etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/ad0s2b none swap sw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s4d /usr ufs rw 2 2 /dev/ad0s3d /var ufs rw 2 2 /dev/cd0 /cdrom cd9660 ro,noauto 0 0 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 /dev/da0s1 /mnt/pix msdosfs ro,noauto 0 0 # mount /dev/da0s3 /mnt/var # mount /dev/da0s4 /mnt/usr # cd /mnt/usr/obj/src/sys/ cd: no such file or directory: /mnt/usr/obj/src/sys/ # cd /mnt/usr/obj/usr/src/sys/KV_KERN # ls /mnt/var/crash bounds info.2 info.8 vmcore.11 vmcore.6 info.0 info.3 info.9 vmcore.12 vmcore.7 info.1 info.4 minfree vmcore.2 vmcore.8 info.10 info.5 vmcore.0 vmcore.3 vmcore.9 info.11 info.6 vmcore.1 vmcore.4 info.12 info.7 vmcore.10 vmcore.5 # set -o vi # cat /mnt/var/crash/info.0 Dump header from device /dev/ad0s2b Architecture: i386 Architecture Version: 2 Dump Length: 156418048B (149 MB) Blocksize: 512 Dumptime: Tue Sep 16 20:43:27 2008 Hostname: kv_bsd.sfsu.edu Magic: FreeBSD Kernel Dump Version String: FreeBSD 7.0-RELEASE #0: Sun Jun 22 10:42:15 PDT 2008 root@kv_bsd.sfsu.edu:/usr/obj/usr/src/sys/KV_KERN Panic String: ufs_dirbad: /usr: bad dir ino 9750624 at offset 28160: mangled entry Dump Parity: 2465829192 Bounds: 0 Dump Status: good # # cat /mnt/var/crash/info.1 Dump header from device /dev/ad0s2b Architecture: i386 Architecture Version: 2 Dump Length: 112631808B (107 MB) Blocksize: 512 Dumptime: Tue Sep 16 21:17:42 2008 Hostname: kv_bsd.sfsu.edu Magic: FreeBSD Kernel Dump Version String: FreeBSD 7.0-RELEASE #0: Sun Jun 22 10:42:15 PDT 2008 root@kv_bsd.sfsu.edu:/usr/obj/usr/src/sys/KV_KERN Panic String: ufs_dirbad: /usr: bad dir ino 9750624 at offset 28160: mangled entry Dump Parity: 2875290951 Bounds: 1 Dump Status: good # # cat /mnt/var/crash/info.2 Dump header from device /dev/ad0s2b Architecture: i386 Architecture Version: 2 Dump Length: 72953856B (69 MB) Blocksize: 512 Dumptime: Sat Oct 4 11:04:21 2008 Hostname: kv_bsd.sfsu.edu Magic: FreeBSD Kernel Dump Version String: FreeBSD 7.0-RELEASE #0: Sun Jun 22 10:42:15 PDT 2008 root@kv_bsd.sfsu.edu:/usr/obj/usr/src/sys/KV_KERN Panic String: ffs_blkfree: freeing free block Dump Parity: 1973457018 Bounds: 2 Dump Status: good # It looks like the rest of the infos all say that. > > > > > *----------------------------------------------------------* > > Kayven Riese, BSCS, MS (Physiology and Biophysics) > > (415) 902 5513 cellular > > http://kayve.net > > Webmaster http://ChessYoga.org > > *----------------------------------------------------------* > > > > > > > > > ------------------------------ > > From owner-freebsd-questions@FreeBSD.ORG Sat Oct 18 00:26: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 D31381065686 for ; Sat, 18 Oct 2008 00:26:11 +0000 (UTC) (envelope-from fbsd06+22=ee1af0ae@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 A658A8FC0C for ; Sat, 18 Oct 2008 00:26:11 +0000 (UTC) (envelope-from fbsd06+22=ee1af0ae@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 904BA16467C for ; Fri, 17 Oct 2008 20:09: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 E2D00D05A5 for ; Fri, 17 Oct 2008 20:09:52 -0400 (EDT) Date: Sat, 18 Oct 2008 01:09:49 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20081018010949.4108e5e7@gumby.homeunix.com.> In-Reply-To: <560f92640810171424v7fd48462qb750cf40229884ac@mail.gmail.com> References: <560f92640810171424v7fd48462qb750cf40229884ac@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 Subject: Re: DHCP release/renew lease - elegant solution? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Oct 2008 00:26:11 -0000 On Fri, 17 Oct 2008 14:24:00 -0700 "Nerius Landys" wrote: > The -r flag explicitly releases the current lease, and once > the lease > has been released, the client exits. > > I could put this into a crontab and run it every 12 hours. However, > this does not seem like a very elegant solution to my problem. I am > wondering whether there is a more elegant solution. Before you look for a more elegant solution I suggest you try the inelegant solution and see if it actually works. At the moment all you really know is that rebooting fixes the problem. From owner-freebsd-questions@FreeBSD.ORG Sat Oct 18 02:57: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 102B0106568E for ; Sat, 18 Oct 2008 02:57:49 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id A280E8FC14 for ; Sat, 18 Oct 2008 02:57:48 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.2/8.14.2) with ESMTP id m9I2vZvq008978; Fri, 17 Oct 2008 20:57:35 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.2/8.14.2/Submit) with ESMTP id m9I2vYQq008975; Fri, 17 Oct 2008 20:57:34 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 17 Oct 2008 20:57:34 -0600 (MDT) From: Warren Block To: ajphanks@comcast.net In-Reply-To: <101720082050.20434.48F8FA950007FF1800004FD222155786749C05020E089F060E@comcast.net> Message-ID: References: <101720082050.20434.48F8FA950007FF1800004FD222155786749C05020E089F060E@comcast.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-245502102-1224297536=:8917" Content-ID: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (wonkity.com [127.0.0.1]); Fri, 17 Oct 2008 20:57:35 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: Printing to a Lanier LD160c does not work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Oct 2008 02:57:49 -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-245502102-1224297536=:8917 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8BIT Content-ID: On Fri, 17 Oct 2008, ajphanks@comcast.net wrote: > I have tried the reccomendations that you guys have suggested with no luck. > Here is my current printcap. > admincolor|LANIER LD160c RPCS:\ >         :lp=\ >         :mx#0:\ >         :sd=/var/spool/output/admincolor:\ >         :rm=admincolor:\ >         :lf=/var/log/lpd-errs:\ >         :if=/usr/local/libexec/crfilter:\ >         :sh:\ >         :tr=\f: Please trim your responses and don't top-post, as it makes responding to your messages difficult. The printcap still has no :rp=lp: line. HP printers aren't picky about that, but other brands sometimes are. You've also added a filter and kept the multiple printer names. Things like that make more complexity to debug. Wait until you have basic communication working. The exact suggested printcap entry: admincolor:\         :lp=:\         :sh:\         :mx#0:\         :rm=admincolor:\ :rp=lp:\         :sd=/var/spool/output/admincolor:\         :lf=/var/log/lpd-errs: Note: one printer name (who needs more than one, really?). rm= and rp= entries. No filter; I think that printer can handle PostScript and PCL. Put that printcap entry in /etc/printcap, then send a PostScript test to the printer (all one line): printf "%%\!PS\n/Courier findfont 20 scalefont setfont 72 72 moveto (Test!) show showpage\f" | lpr -P admincolor -Warren Block * Rapid City, South Dakota USA --0-245502102-1224297536=:8917-- From owner-freebsd-questions@FreeBSD.ORG Sat Oct 18 04: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 ACEB5106568D for ; Sat, 18 Oct 2008 04:47:00 +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 6A5378FC17 for ; Sat, 18 Oct 2008 04:47:00 +0000 (UTC) (envelope-from kline@thought.org) Received: from tao.thought.org (tao.thought.org [10.47.0.250]) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id m9I4lEtV002512 for ; Fri, 17 Oct 2008 21:47:14 -0700 (PDT) (envelope-from kline@thought.org) From: Gary Kline Organization: Thought Unlimited To: freebsd-questions@freebsd.org Date: Fri, 17 Oct 2008 21:46:53 -0700 User-Agent: KMail/1.10.1 (FreeBSD/7.0-STABLE; KDE/4.1.1; i386; ; ) References: <20081017213919.GA2901@thought.org> <20081018002654.37155963@gumby.homeunix.com.> In-Reply-To: <20081018002654.37155963@gumby.homeunix.com.> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810172146.53442.kline@thought.org> 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 Subject: Re: back to kde3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2008 04:47:00 -0000 On Friday 17 October 2008 16:26:54 RW wrote: > On Fri, 17 Oct 2008 14:39:23 -0700 > > Gary Kline wrote: > > I spent the past several days trying to insure that everythinge kde4 > > was properly set to run upon reboot. But upon rebooting just now, I > > find myself back in kde3. i Yanked the startup from /etc/ttys, so > > *must* have hit the old kdm[3] from root. > > > > No problem with version3--at least things Work there. What I'm > > wondering is: if with some future release, say, 7.2 or 7.3, will our > > KDE default to version 4? > > Do you mean it defaults to the old version of kdm? They're in different > locations, you have to set one of following > > ttyv8 "/usr/local/kde4/bin/kdm -nodaemon" xterm on secure > > ttyv8 "/usr/local/bin/kdm -nodaemon" xterm on secure > > Whichever version you use, kdm defaults to the last desktop or window > manager. Thanks. I was hoping that when KDE4 was more stable, polished, we would say goodbye to version 3 and have just-one new KDE. > _______________________________________________ > freebsd-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 18 05:45: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 A74A51065686 for ; Sat, 18 Oct 2008 05:45:37 +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 F09C58FC15 for ; Sat, 18 Oct 2008 05:45:36 +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 m9I5j6Ls073089 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 18 Oct 2008 12:45:06 +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 m9I5jY45021678; Sat, 18 Oct 2008 12:45:34 +0700 (ICT) Date: Sat, 18 Oct 2008 12:45:34 +0700 (ICT) Message-Id: <200810180545.m9I5jY45021678@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: Disable CTRL-ALT-DEL X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2008 05:45:37 -0000 Hi, On FreeBSD 6.3 how to disable the CTRL-ALT-DEL from halting/rebooting the system? Best regards, Olivier From owner-freebsd-questions@FreeBSD.ORG Sat Oct 18 06: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 423811065686 for ; Sat, 18 Oct 2008 06:09:03 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.freebsd.org (Postfix) with ESMTP id C21798FC13 for ; Sat, 18 Oct 2008 06:09:02 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so205762uge.39 for ; Fri, 17 Oct 2008 23:09: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 :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=O+IIy1re3KujwKx4WcipT00dcJ66h151TQXYJu2XxvE=; b=Z648+bpVANTla+RQYbAZY2axRZQy6ShPoJdLzZY67HYXEzGjjSToOCAF1IArqw+3wj tHDw4+z+QS3Z6X7QfO/UyBoU69nwGfD8WF+EDcF12DaY6cBMz2i4KnweB+T9YGnMf9FS ENRINQZSd1I7u4Pybmj3EpN6wxPeTvkwuWjtM= 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=Vq2DbYOe7fwsnjBjZth9npxGr1cu2tEIfYbnvRYJrkBn1IYTAOU9TprS1W3isZO7pt iXx0Kksc5R9TQM2bnAjmZeDIRYfuZWjed/cMA1e/WfxeAfFyxd5rnOLDGTggLvBluYuI 3tlLzmsK6xEuOCcS6Qd8kOp8Zq6UY3HaZgixk= Received: by 10.66.220.12 with SMTP id s12mr673724ugg.5.1224310141352; Fri, 17 Oct 2008 23:09:01 -0700 (PDT) Received: from atlantis.dyndns.org (athedsl-278835.home.otenet.gr [85.73.136.209]) by mx.google.com with ESMTPS id o24sm1542514ugd.53.2008.10.17.23.08.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 17 Oct 2008 23:09:00 -0700 (PDT) Message-ID: <48F97D7A.5010303@gmail.com> Date: Sat, 18 Oct 2008 09:08:58 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.17 (X11/20081011) MIME-Version: 1.0 To: Olivier Nicole References: <200810180545.m9I5jY45021678@banyan.cs.ait.ac.th> In-Reply-To: <200810180545.m9I5jY45021678@banyan.cs.ait.ac.th> Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Disable CTRL-ALT-DEL X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2008 06:09:03 -0000 Olivier Nicole wrote: > Hi, > > On FreeBSD 6.3 how to disable the CTRL-ALT-DEL from halting/rebooting > the system? > > Best regards, > > Olivier > There are two ways of doing this, both described in the FreeBSD FAQ here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#CAD-REBOOT From owner-freebsd-questions@FreeBSD.ORG Sat Oct 18 07:48: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 6AD661065693 for ; Sat, 18 Oct 2008 07:48:00 +0000 (UTC) (envelope-from peter@boosten.org) Received: from smtpq4.tb.mail.iss.as9143.net (smtpq4.tb.mail.iss.as9143.net [212.54.42.167]) by mx1.freebsd.org (Postfix) with ESMTP id 23F828FC0C for ; Sat, 18 Oct 2008 07:48:00 +0000 (UTC) (envelope-from peter@boosten.org) Received: from [212.54.42.138] (port=44039 helo=smtp7.tb.mail.iss.as9143.net) by smtpq4.tb.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1Kr6XW-0008Nx-3M; Sat, 18 Oct 2008 09:47:58 +0200 Received: from cp268254-a.landg1.lb.home.nl ([84.25.65.88] helo=ra.egypt.nl) by smtp7.tb.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1Kr6XV-0000sO-Ar; Sat, 18 Oct 2008 09:47:57 +0200 Received: from [127.0.0.1] (xp.egypt.nl [192.168.13.35]) by ra.egypt.nl (Postfix) with ESMTP id 6E06739841; Sat, 18 Oct 2008 09:47:52 +0200 (CEST) Message-ID: <48F994A7.8060901@boosten.org> Date: Sat, 18 Oct 2008 09:47:51 +0200 From: Peter Boosten User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Manolis Kiagias References: <200810180545.m9I5jY45021678@banyan.cs.ait.ac.th> <48F97D7A.5010303@gmail.com> In-Reply-To: <48F97D7A.5010303@gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-7 Content-Transfer-Encoding: 7bit X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1Kr6XV-0000sO-Ar X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.6, required 5, autolearn=not spam, BAYES_00 -2.60, SPF_PASS -0.00) X-ZiggoSMTP-MailScanner-From: peter@boosten.org X-Spam-Status: No Cc: Olivier Nicole , freebsd-questions@freebsd.org Subject: Re: Disable CTRL-ALT-DEL X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2008 07:48:00 -0000 Manolis Kiagias wrote: > Olivier Nicole wrote: >> Hi, >> >> On FreeBSD 6.3 how to disable the CTRL-ALT-DEL from halting/rebooting >> the system? >> >> Best regards, >> >> Olivier >> > > There are two ways of doing this, both described in the FreeBSD FAQ here: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#CAD-REBOOT Hmmm, didn't know about the second one, and doesn't seem to be working either (on both 7.0 and 6.3): sysctl hw.syscons.kbd_reboot=0 sysctl: unknown oid 'hw.syscons.kbd_reboot' Peter -- http://www.boosten.org From owner-freebsd-questions@FreeBSD.ORG Sat Oct 18 07:58: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 645491065699 for ; Sat, 18 Oct 2008 07:58:34 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.189]) by mx1.freebsd.org (Postfix) with ESMTP id E1B3F8FC14 for ; Sat, 18 Oct 2008 07:58:33 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so1073619fkk.11 for ; Sat, 18 Oct 2008 00:58: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 :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=GhfZ/SlXyvXEub2coLudNB3Ci8QOvBzkXQ+249K4GQ4=; b=hr1Mk+03Uct7JJPgoL6XnrAJjx3WmEVuX/o9d6HrAUnub9nuAbzNaemKlMBiXT/ovk QIwUaSdujvpxosR6AX6KDoDPX2z1IWOE6o3ebOvhIgMx3jkCO44niF1WkKQBbkaiIWzP h/QXnry1K23Epg8dBqsJfF5Ryy/D9sDsPBago= 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=mtVPEBamxlKkNi4f0lAGY30RupHkbuTBf3K8WSouyBvsALMBWvjMrp1pRtRhBibzGt /QMZGzcAxfotvVlFF4oeOIKUn0WcwUzoKRhJZdnug6v9L6RIXJpNOAA5J7S3Gmaeojss rraM47z2eVreAa/1Qk+fHKYNV/MnKka7bwiRc= Received: by 10.181.141.7 with SMTP id t7mr1867953bkn.10.1224316712478; Sat, 18 Oct 2008 00:58:32 -0700 (PDT) Received: from atlantis.dyndns.org (athedsl-278835.home.otenet.gr [85.73.136.209]) by mx.google.com with ESMTPS id 28sm8074500fkx.1.2008.10.18.00.58.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 18 Oct 2008 00:58:31 -0700 (PDT) Message-ID: <48F99725.2030409@gmail.com> Date: Sat, 18 Oct 2008 10:58:29 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.17 (X11/20081011) MIME-Version: 1.0 To: Peter Boosten References: <200810180545.m9I5jY45021678@banyan.cs.ait.ac.th> <48F97D7A.5010303@gmail.com> <48F994A7.8060901@boosten.org> In-Reply-To: <48F994A7.8060901@boosten.org> Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 7bit Cc: Olivier Nicole , freebsd-questions@freebsd.org Subject: Re: Disable CTRL-ALT-DEL X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2008 07:58:34 -0000 Peter Boosten wrote: > Manolis Kiagias wrote: > >> Olivier Nicole wrote: >> >>> Hi, >>> >>> On FreeBSD 6.3 how to disable the CTRL-ALT-DEL from halting/rebooting >>> the system? >>> >>> Best regards, >>> >>> Olivier >>> >>> >> There are two ways of doing this, both described in the FreeBSD FAQ here: >> >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#CAD-REBOOT >> > > Hmmm, didn't know about the second one, and doesn't seem to be working > either (on both 7.0 and 6.3): > > sysctl hw.syscons.kbd_reboot=0 > sysctl: unknown oid 'hw.syscons.kbd_reboot' > > > Peter > It seems you are right. Just checked on 6.3 and 7.0 and it does not exist. It does exist in 6.2, however. From owner-freebsd-questions@FreeBSD.ORG Sat Oct 18 08:10: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 42C5E1065688 for ; Sat, 18 Oct 2008 08:10:52 +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 DF0498FC21 for ; Sat, 18 Oct 2008 08:10:50 +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 U8Aq1a00C0EZKEL548AqZJ; Sat, 18 Oct 2008 08:10:50 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA01.westchester.pa.mail.comcast.net with comcast id U8Ao1a0032P6wsM3M8ApuD; Sat, 18 Oct 2008 08:10:50 +0000 X-Authority-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=DHG-u4E7lr9wYuG7BW8A:9 a=yKSHOIw4mD0DXQrvlMIA:7 a=YPB3BIojwPuoURwprjwJmk2imz8A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 8332AC9432; Sat, 18 Oct 2008 01:10:48 -0700 (PDT) Date: Sat, 18 Oct 2008 01:10:48 -0700 From: Jeremy Chadwick To: Manolis Kiagias Message-ID: <20081018081048.GA43067@icarus.home.lan> References: <200810180545.m9I5jY45021678@banyan.cs.ait.ac.th> <48F97D7A.5010303@gmail.com> <48F994A7.8060901@boosten.org> <48F99725.2030409@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48F99725.2030409@gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Olivier Nicole , freebsd-questions@freebsd.org, Peter Boosten Subject: Re: Disable CTRL-ALT-DEL X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2008 08:10:52 -0000 On Sat, Oct 18, 2008 at 10:58:29AM +0300, Manolis Kiagias wrote: > Peter Boosten wrote: >> Manolis Kiagias wrote: >> >>> Olivier Nicole wrote: >>> >>>> Hi, >>>> >>>> On FreeBSD 6.3 how to disable the CTRL-ALT-DEL from halting/rebooting >>>> the system? >>>> >>>> Best regards, >>>> >>>> Olivier >>>> >>> There are two ways of doing this, both described in the FreeBSD FAQ here: >>> >>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#CAD-REBOOT >>> >> >> Hmmm, didn't know about the second one, and doesn't seem to be working >> either (on both 7.0 and 6.3): >> >> sysctl hw.syscons.kbd_reboot=0 >> sysctl: unknown oid 'hw.syscons.kbd_reboot' >> >> >> Peter >> > It seems you are right. Just checked on 6.3 and 7.0 and it does not > exist. It does exist in 6.2, however. Hmm... # sysctl hw.syscons.kbd_reboot=0 hw.syscons.kbd_reboot: 1 -> 0 # sysctl hw.syscons.kbd_reboot=1 hw.syscons.kbd_reboot: 0 -> 1 # uname -a FreeBSD icarus.home.lan 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Thu Oct 2 03:04:20 PDT 2008 root@icarus.home.lan:/usr/obj/usr/src/sys/PDSMI_PLUS_RELENG_7_amd64 amd64 -- | 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 18 08:12: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 ACD2B10656A2 for ; Sat, 18 Oct 2008 08:12:51 +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 E355B8FC4D for ; Sat, 18 Oct 2008 08:12:50 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: (qmail 21770 invoked from network); 18 Oct 2008 08:12:48 -0000 Received: from unknown (HELO blizzard.dnsalias.org) (218.215.140.123) by smtp.mel.people.net.au with SMTP; 18 Oct 2008 08:12:48 -0000 Received: by blizzard.dnsalias.org (Postfix, from userid 1001) id 5141B17096; Sat, 18 Oct 2008 19:12:46 +1100 (EST) Date: Sat, 18 Oct 2008 19:12:46 +1100 From: andrew clarke To: Peter Boosten Message-ID: <20081018081246.GA81521@ozzmosis.com> References: <200810180545.m9I5jY45021678@banyan.cs.ait.ac.th> <48F97D7A.5010303@gmail.com> <48F994A7.8060901@boosten.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48F994A7.8060901@boosten.org> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Disable CTRL-ALT-DEL X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2008 08:12:51 -0000 On Sat 2008-10-18 09:47:51 UTC+0200, Peter Boosten (peter@boosten.org) wrote: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#CAD-REBOOT > > Hmmm, didn't know about the second one, and doesn't seem to be working > either (on both 7.0 and 6.3): > > sysctl hw.syscons.kbd_reboot=0 > sysctl: unknown oid 'hw.syscons.kbd_reboot' That's odd.. $ sysctl hw.syscons.kbd_reboot hw.syscons.kbd_reboot: 1 $ uname -a FreeBSD blizzard.phoenix 6.3-RELEASE-p5 FreeBSD 6.3-RELEASE-p5 #0: Wed Oct 1 05:34:19 UTC 2008 root@i386-builder. daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 From owner-freebsd-questions@FreeBSD.ORG Sat Oct 18 08:25: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 EF91D1065688 for ; Sat, 18 Oct 2008 08:25:41 +0000 (UTC) (envelope-from sonic2000gr@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 7A2C48FC23 for ; Sat, 18 Oct 2008 08:25:41 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so649566fgb.35 for ; Sat, 18 Oct 2008 01:25: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 :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=7dlQuqqPpO7AfQIfVF4TARsOmtKtwyP3iRtTFJimWJI=; b=CBucqSVlXOfJa2bH+fL4GkbGnmAftAwAbtvPS3hC5b5XPsioW79KkhKlBldZgmH03G 3OgMseGGO9xJRgI/X3NZam+4UhKAY0mN4MfFtOqVz36ZIhrtVU4SDNyZ8fDD8kQmmXru 1ezdVeJo3FCVUp+skKH9JG8anaNHufg6EDn5c= 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=ahzcTkXLIJ6XyG8N3SjngxaMhxxarq6JjsvaPMYd9lCU6T0fTsHNJ7p1TFee7DM6m6 kl+NpkSVG7n2X0SUWbP28YqF+RftJt3R9qw1EqAgWqibLLlBHOrqAKAOlYa6M7L/J4+v 4cXWDUQXOz5GQSthIhtqc/yVwTBsXJwhdb2rU= Received: by 10.181.197.2 with SMTP id z2mr1872111bkp.65.1224318340203; Sat, 18 Oct 2008 01:25:40 -0700 (PDT) Received: from atlantis.dyndns.org (athedsl-278835.home.otenet.gr [85.73.136.209]) by mx.google.com with ESMTPS id f31sm8097374fkf.0.2008.10.18.01.25.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 18 Oct 2008 01:25:39 -0700 (PDT) Message-ID: <48F99D81.5090903@gmail.com> Date: Sat, 18 Oct 2008 11:25:37 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.17 (X11/20081011) MIME-Version: 1.0 To: andrew clarke References: <200810180545.m9I5jY45021678@banyan.cs.ait.ac.th> <48F97D7A.5010303@gmail.com> <48F994A7.8060901@boosten.org> <20081018081246.GA81521@ozzmosis.com> In-Reply-To: <20081018081246.GA81521@ozzmosis.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, Peter Boosten Subject: Re: Disable CTRL-ALT-DEL X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2008 08:25:42 -0000 andrew clarke wrote: > On Sat 2008-10-18 09:47:51 UTC+0200, Peter Boosten (peter@boosten.org) wrote: > > >>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#CAD-REBOOT >>> >> Hmmm, didn't know about the second one, and doesn't seem to be working >> either (on both 7.0 and 6.3): >> >> sysctl hw.syscons.kbd_reboot=0 >> sysctl: unknown oid 'hw.syscons.kbd_reboot' >> > > That's odd.. > > $ sysctl hw.syscons.kbd_reboot > hw.syscons.kbd_reboot: 1 > > $ uname -a > FreeBSD blizzard.phoenix 6.3-RELEASE-p5 FreeBSD 6.3-RELEASE-p5 #0: Wed > Oct 1 05:34:19 UTC 2008 root@i386-builder. > daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > What about this: [sonic@atlantis:~]$ uname -a FreeBSD atlantis.dyndns.org 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #10: Fri Oct 17 18:31:22 EEST 2008 root@atlantis.dyndns.org:/usr/obj/usr/src/sys/ATLANTIS i386 [sonic@atlantis:~]$ sysctl -a |grep syscons hw.syscons.kbd_debug: 1 hw.syscons.bell: 1 hw.syscons.saver.keybonly: 1 hw.syscons.sc_no_suspend_vtswitch: 0 [sonic@atlantis:~]$ (Actual sources are not yesterdays, I just rebuilt the kernel yesterday) From owner-freebsd-questions@FreeBSD.ORG Sat Oct 18 08:47: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 463E910656A0 for ; Sat, 18 Oct 2008 08:47:51 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id C00AE8FC13 for ; Sat, 18 Oct 2008 08:47:50 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so217689uge.39 for ; Sat, 18 Oct 2008 01:47: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 :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=gdkkJvU9xJySObuf9nTSqRAvcamVoIgVLYjtn0syHoU=; b=ROjM6r6dz3Mysfyu6YZr5qWX8HEFBtk+YdFxAH/DCWTLmksY3xtkvaD96lFJZTTVsE t+u4dDfJ9bITINGRj667HOySehubiGW/TCCyYPcoB5l4qc7Lr8sgybVCAkrhIhrlbhCZ sGdgWrw0x/GEkntbDfzDit3zwZscAIE7/PIpQ= 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=NlxbzebRygWkm7WkD1a1vzWVynuAj/NCqJ/pf4t7iTSUfGNgofbylvBz46lRejkiMA ZCcku2G/0htUasSCYF8mVbFQL+WUZAcV2lCoyY5emcjcQK+c+KqL4YXpFN+vWVqRmkKP +9YM7BzxwGL36oP09uJqeSj9/63+6hRZcfFpw= Received: by 10.67.10.18 with SMTP id n18mr722393ugi.27.1224319666307; Sat, 18 Oct 2008 01:47:46 -0700 (PDT) Received: from atlantis.dyndns.org (athedsl-278835.home.otenet.gr [85.73.136.209]) by mx.google.com with ESMTPS id b39sm2207535ugf.46.2008.10.18.01.47.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 18 Oct 2008 01:47:45 -0700 (PDT) Message-ID: <48F9A2AF.8010300@gmail.com> Date: Sat, 18 Oct 2008 11:47:43 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.17 (X11/20081011) MIME-Version: 1.0 To: Jeremy Chadwick References: <200810180545.m9I5jY45021678@banyan.cs.ait.ac.th> <48F97D7A.5010303@gmail.com> <48F994A7.8060901@boosten.org> <48F99725.2030409@gmail.com> <20081018081048.GA43067@icarus.home.lan> In-Reply-To: <20081018081048.GA43067@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Olivier Nicole , freebsd-questions@freebsd.org, Peter Boosten Subject: Re: Disable CTRL-ALT-DEL X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2008 08:47:51 -0000 Jeremy Chadwick wrote: > On Sat, Oct 18, 2008 at 10:58:29AM +0300, Manolis Kiagias wrote: > >> Peter Boosten wrote: >> >>> Manolis Kiagias wrote: >>> >>> >>>> Olivier Nicole wrote: >>>> >>>> >>>>> Hi, >>>>> >>>>> On FreeBSD 6.3 how to disable the CTRL-ALT-DEL from halting/rebooting >>>>> the system? >>>>> >>>>> Best regards, >>>>> >>>>> Olivier >>>>> >>>>> >>>> There are two ways of doing this, both described in the FreeBSD FAQ here: >>>> >>>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#CAD-REBOOT >>>> >>>> >>> Hmmm, didn't know about the second one, and doesn't seem to be working >>> either (on both 7.0 and 6.3): >>> >>> sysctl hw.syscons.kbd_reboot=0 >>> sysctl: unknown oid 'hw.syscons.kbd_reboot' >>> >>> >>> Peter >>> >>> >> It seems you are right. Just checked on 6.3 and 7.0 and it does not >> exist. It does exist in 6.2, however. >> > > Hmm... > > # sysctl hw.syscons.kbd_reboot=0 > hw.syscons.kbd_reboot: 1 -> 0 > # sysctl hw.syscons.kbd_reboot=1 > hw.syscons.kbd_reboot: 0 -> 1 > # uname -a > FreeBSD icarus.home.lan 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Thu Oct 2 03:04:20 PDT 2008 root@icarus.home.lan:/usr/obj/usr/src/sys/PDSMI_PLUS_RELENG_7_amd64 amd64 > > Mystery solved. The sysctl only exists if you have not already compiled the kernel with options SC_DISABLE_REBOOT I just checked, and all the systems that do not show this were compiled with SC_DISABLE_REBOOT I installed a clean (vmware) 7.0 and hw.syscons.kbd_reboot exists. From owner-freebsd-questions@FreeBSD.ORG Sat Oct 18 09:32: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 A75EF1065688 for ; Sat, 18 Oct 2008 09:32:50 +0000 (UTC) (envelope-from johannes-maria@t-online.de) Received: from mailout01.t-online.de (mailout01.t-online.de [194.25.134.80]) by mx1.freebsd.org (Postfix) with ESMTP id 6BD3C8FC27 for ; Sat, 18 Oct 2008 09:32:50 +0000 (UTC) (envelope-from johannes-maria@t-online.de) Received: from fwd06.aul.t-online.de by mailout01.t-online.de with smtp id 1Kr7vY-0002lG-00; Sat, 18 Oct 2008 11:16:52 +0200 Received: from t-online.de (GWoxLyZSrhVgcIXVeXziEmjQ2lS332pO-HpPhPDySB2l6jcNEbmYoUUgMVEW2SvwvH@[87.181.117.69]) by fwd06.t-online.de with esmtp id 1Kr7vS-0I5NRY0; Sat, 18 Oct 2008 11:16:46 +0200 Sender: jmk@t-online.de Message-ID: <48F9AD35.396CEE3E@t-online.de> Date: Sat, 18 Oct 2008 11:32:37 +0200 From: Johannes-Maria Kaltenbach X-Mailer: Mozilla 4.78 [en] (X11; FreeBSD 6.0-RELEASE i386) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-ID: GWoxLyZSrhVgcIXVeXziEmjQ2lS332pO-HpPhPDySB2l6jcNEbmYoUUgMVEW2SvwvH X-TOI-MSGID: c3f9db7c-0936-455f-8a10-fc94ceb54ccf Subject: mounting an MP3 player? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: johannes-maria@t-online.de List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Oct 2008 09:32:50 -0000 Hello, can anyone tell me how to mount an MP3 player (usb)? I seem to be too stupid to figure it out by myself. I thought it would be as easy as mounting a usb memory stick which I can mount with a device file of the form /dev/da#s#, e. g. /dev/da0s1, which is present after connecting the memory stick, but not if connecting the player instead; in this case I've got only /dev/da1 to /dev/da4. I tried all these and also /dev/usb, /dev/usb1, ..., /dev/usb4, but that doesn't work (as I expected but tried nevertheless). If I connect the player to the usb bus I get the following in /var/log/messages: | kernel: umass1: TrekStor TrekStor, rev 2.00/1.00, addr 2 and from usblist: | at scbus1 target 0 lun 0 (da1,pass0) | at scbus1 target 0 lun 1 (da2,pass1) | at scbus1 target 0 lun 2 (da3,pass2) | at scbus1 target 0 lun 3 (da4,pass3) and from usbdevs: | Controller /dev/usb4: | addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x0000), rev 1.00 | port 1 powered | port 2 powered | port 3 powered | port 4 powered | port 5 powered | port 6 addr 2: high speed, power 400 mA, config 1, TrekStor(0x2791), TrekStor(0x071b), rev 1.00 | port 7 powered | port 8 powered Which device file should I use (or create?) to get access to this MP3 player? (I'm using FreeBSD 6.0) Thanks Johannes-Maria From owner-freebsd-questions@FreeBSD.ORG Sat Oct 18 09:35: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 2833F1065691 for ; Sat, 18 Oct 2008 09:35:15 +0000 (UTC) (envelope-from peter@boosten.org) Received: from smtpq1.tb.mail.iss.as9143.net (smtpq1.tb.mail.iss.as9143.net [212.54.42.164]) by mx1.freebsd.org (Postfix) with ESMTP id D68E38FC12 for ; Sat, 18 Oct 2008 09:35:14 +0000 (UTC) (envelope-from peter@boosten.org) Received: from [212.54.42.134] (port=41336 helo=smtp3.tb.mail.iss.as9143.net) by smtpq1.tb.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1Kr4kG-0006Jl-Us; Sat, 18 Oct 2008 07:53:00 +0200 Received: from cp268254-a.landg1.lb.home.nl ([84.25.65.88] helo=ra.egypt.nl) by smtp3.tb.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1Kr4kE-00048J-Nf; Sat, 18 Oct 2008 07:52:58 +0200 Received: from [127.0.0.1] (xp.egypt.nl [192.168.13.35]) by ra.egypt.nl (Postfix) with ESMTP id F3ABA39841; Sat, 18 Oct 2008 07:52:55 +0200 (CEST) Message-ID: <48F979B7.4070007@boosten.org> Date: Sat, 18 Oct 2008 07:52:55 +0200 From: Peter Boosten User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Olivier Nicole References: <200810180545.m9I5jY45021678@banyan.cs.ait.ac.th> In-Reply-To: <200810180545.m9I5jY45021678@banyan.cs.ait.ac.th> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1Kr4kE-00048J-Nf X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.741, required 5, autolearn=not spam, BAYES_20 -0.74, SPF_PASS -0.00) X-ZiggoSMTP-MailScanner-From: peter@boosten.org X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: Disable CTRL-ALT-DEL X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2008 09:35:15 -0000 Olivier Nicole wrote: > Hi, > > On FreeBSD 6.3 how to disable the CTRL-ALT-DEL from halting/rebooting > the system? > Compile your own kernel with this option: # Disable CTRL-ALT-DEL options SC_DISABLE_REBOOT Peter -- http://www.boosten.org From owner-freebsd-questions@FreeBSD.ORG Sat Oct 18 11:12: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 9C5EA1065686 for ; Sat, 18 Oct 2008 11:12:56 +0000 (UTC) (envelope-from uwe@laverenz.de) Received: from mo-p00-ob.rzone.de (mo-p00-ob.rzone.de [81.169.146.161]) by mx1.freebsd.org (Postfix) with ESMTP id 27CDC8FC18 for ; Sat, 18 Oct 2008 11:12:55 +0000 (UTC) (envelope-from uwe@laverenz.de) X-RZG-CLASS-ID: mo00 X-RZG-AUTH: :LWgJfE6Id/4Sm/WkdV0gEbKL+/p/UjmosA/b4BPf1Ida/rA7aGe02Q== Received: from athena.laverenz.de ([77.20.0.69]) by post.webmailer.de (klopstock mo32) (RZmta 17.14) with ESMTP id V04fc2k9IB775c for ; Sat, 18 Oct 2008 13:12:54 +0200 (MEST) (envelope-from: ) Received: from localhost (localhost.localdomain [127.0.0.1]) by athena.laverenz.de (Postfix) with ESMTP id 2FBA8127BD5 for ; Sat, 18 Oct 2008 13:12:18 +0200 (CEST) Received: from athena.laverenz.de ([127.0.0.1]) by localhost (athena [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 26877-05 for ; Sat, 18 Oct 2008 13:12:16 +0200 (CEST) Received: from t42.laverenz.de (vm7.laverenz.de [192.168.100.27]) by athena.laverenz.de (Postfix) with ESMTP id 3FA61127BC0 for ; Sat, 18 Oct 2008 13:12:16 +0200 (CEST) Message-ID: <48F9C4E1.2010405@laverenz.de> Date: Sat, 18 Oct 2008 13:13:37 +0200 From: Uwe Laverenz User-Agent: Thunderbird 2.0.0.17 (X11/20081001) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org References: <48F8A258.2060407@esiee.fr> In-Reply-To: <48F8A258.2060407@esiee.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at laverenz.de Cc: Subject: Re: Installing Samba : FreeBSD Vs Linux ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2008 11:12:56 -0000 Frank Bonnet schrieb: > I am on the way to setup a brand new Samba server with OpenLDAP backend > > I am very interrested by feedback of "real world" samba admins running > it with FreeBSD > or Linux , my boss push hardly to use Linux but I would much prefer FreeBSD > so good arguments are welcome ( my boss is a smart guy , if I give enough > litterature that says FreeBSD is better, he will be OK ) In the dark ages of FreeBSD 5.x ;) we've used Linux (Debian, RedHat) but nowadays I would certainly prefer FreeBSD again, because: - The software in the ports is close to what comes from "upstream", Linux-Distros often keep old versions or inhouse modifications which can lead to disasters like e.g. the Debian OpenSSL bug or unuseable LDAP-servers that are delivered with RedHat. - Linux-Distros are conservative in updating software versions or fixing bugs in their so called "stable" releases. In most cases (RedHat, Debian) the fixes are "backported" to older versions, in other cases (Ubuntu) fixes may break your system or bugs are simply ignored. If you need a newer version of a certain software, you will very soon find yourself using backports from foreign repositories or start rolling your own packages. But if you have to leave the package management system of your distro anyway, why not use the comfort of FreeBSD ports? - Once you are familiar with it, FreeBSD is easier to manage IMHO, it's clean and mostly well documented. - FreeBSD has jails. :) > More seriously I'm also searching for eventuals benchmarks that compare > those two configurations. I don't think that there are great performance differences nowadays. bye, Uwe From owner-freebsd-questions@FreeBSD.ORG Sat Oct 18 13:24: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 F1CBB1065686 for ; Sat, 18 Oct 2008 13:24:10 +0000 (UTC) (envelope-from raggen@passagen.se) Received: from spsmtp02oc.mail2world.com (spsmtp02oc.mail2world.com [74.202.142.106]) by mx1.freebsd.org (Postfix) with ESMTP id D3EB48FC1C for ; Sat, 18 Oct 2008 13:24:10 +0000 (UTC) (envelope-from raggen@passagen.se) Received: from mail pickup service by spsmtp02oc.mail2world.com with Microsoft SMTPSVC; Sat, 18 Oct 2008 06:06:30 -0700 auth-sender: raggen@passagen.se Received: from 10.1.106.24 unverified ([10.1.106.24]) by spsmtp02oc.mail2world.com with Mail2World SMTP Server; Sat, 18 Oct 2008 06:06:29 -0700 Received: from [90.230.141.139] by passagen.se with HTTP; 10/18/2008 6:06:08 AM PST thread-index: AckxIklRZ6HbnCqXSka6VqnXlYi9ew== Thread-Topic: gconcat question From: "Roger Olofsson" To: Date: Sat, 18 Oct 2008 06:06:08 -0700 Message-ID: MIME-Version: 1.0 X-Mailer: Microsoft CDO for Exchange 2000 Content-Class: urn:content-classes:message Importance: normal Priority: normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4133 X-OriginalArrivalTime: 18 Oct 2008 13:06:30.0749 (UTC) FILETIME=[568CD8D0:01C93122] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: gconcat question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Oct 2008 13:24:11 -0000 Dear mailing list, What are the steps to bring back gconcatenated disks if doing an upgrade from FreeBSD6 to FreeBSD7 like this? As-is situation: FreeBSD 6.2-STABLE ad0 has FreeBSD ad1, ad2 and ad3 are gconcatenated using 'gconcat label -v data /dev/ad1 /dev/ad2 /dev/ad3'. Planned upgrade: Reboot from cdrom, install FreeBSD7 from cd to ad0 /Roger From owner-freebsd-questions@FreeBSD.ORG Sat Oct 18 13:25: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 9A8901065691 for ; Sat, 18 Oct 2008 13:25:37 +0000 (UTC) (envelope-from eagletree@hughes.net) Received: from smtprelay.b.hostedemail.com (smtprelay0201.b.hostedemail.com [64.98.42.201]) by mx1.freebsd.org (Postfix) with ESMTP id 58B958FC24 for ; Sat, 18 Oct 2008 13:25:36 +0000 (UTC) (envelope-from eagletree@hughes.net) Received: from filter.hostedemail.com (b-bigip1 [10.5.19.254]) by smtprelay04.b.hostedemail.com (Postfix) with SMTP id 864061AA92A0 for ; Sat, 18 Oct 2008 13:25:35 +0000 (UTC) X-SpamScore: 1 X-Spam-Summary: 2, 0, 0, 7e75605e840908c1, 9510f55e4507d164, eagletree@hughes.net, freebsd-questions@freebsd.org, RULES_HIT:355:379:541:564:945:966:973:988:989:1260:1261:1277:1311:1313:1314:1345:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1766:1792:2194:2196:2198:2199:2200:2201:2379:2393:2559:2562:2693:2736:3354:3636:3865:3866:3867:3868:3869:3870:3871:3872:3874:3876:3877:4250:4385:5007:6114:6119:7652:7903:8603, 0, RBL:none, CacheIP:none, Bayesian:0.5, 0.5, 0.5, Netcheck:none, DomainCache:0, MSF:not bulk, SPF:, MSBL:none, DNSBL:none Received: from [192.168.0.3] (dpc6744118153.direcpc.com [67.44.118.153]) (Authenticated sender: eagletree@hughes.net) by omf12.b.hostedemail.com (Postfix) with ESMTP for ; Sat, 18 Oct 2008 13:25:31 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v753) Content-Transfer-Encoding: 7bit Message-Id: <7331B81C-7229-40A6-9B5D-2B5B45071CF3@hughes.net> Content-Type: text/plain; charset=US-ASCII; format=flowed To: FreeBSD-Questions Questions From: Chris Pratt Date: Sat, 18 Oct 2008 06:25:25 -0700 X-Mailer: Apple Mail (2.753) X-session-marker: 6561676C6574726565406875676865732E6E6574 Subject: Using mirroring to replace drive? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Oct 2008 13:25:37 -0000 Hi, For years I've been upgrading by building a temp server, transferring a production function to it and temporarily decommissioning the one server while I upgrade and rebuild it. I was thinking of trying a different approach since having tried out gvinum in the last couple of years. The current scenario is that I have a machine where the adaptec controller is suggesting I replace a failing SCSI drive which happens to be the system disk. I purchased a couple of new drives and thought I might just plug it in and mirror the failing drive on the new drive. Then pull the failing drive and plug in the other new drive as the second mirrored drive and be done with it. One obvious outcome would be a having a system drive mirror for future such issues. I have never built a mirror on the fly but it seems many have from what I've read and the cookbooks out there make it sound very easy. I was going to use GEOM Mirror on 6.2 (then upgrade to 7.0 after establishing the new good drives). 1. Is this an appropriate way to deal with this? 2. Are there any high risk aspects of doing this while running a server in production? I'm thinking of things like how probable it is of trashing the original disk, making the system unbootable in the process etc? 3. Are there better approaches that are safer (aside from my normal hardware swap MO). 4. Does using GEOM Mirror RAID-1 make the upgrade from 6.2 to 7.0 a dangerous proposition. I do upgrades via cvsup and buildworld. The environment is FreeBSD 6.2 Supermicro with Adaptec SCSI All ~73 GB Maxtor and Seagate drives Current da0 system is Maxtor, there will be minor size differences, the replacement Cheetah is a hair larger. Apache, PHP5 and Mysql No existing RAID Configuration From owner-freebsd-questions@FreeBSD.ORG Sat Oct 18 14:50: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 D6EC81065690 for ; Sat, 18 Oct 2008 14:50:16 +0000 (UTC) (envelope-from s.kachelmann@googlemail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by mx1.freebsd.org (Postfix) with ESMTP id 669108FC18 for ; Sat, 18 Oct 2008 14:50:16 +0000 (UTC) (envelope-from s.kachelmann@googlemail.com) Received: by nf-out-0910.google.com with SMTP id h3so512826nfh.33 for ; Sat, 18 Oct 2008 07:50:15 -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:mime-version:content-type:content-transfer-encoding :content-disposition; bh=rq7pej4p8SyMuqqimrw82Il4LXQfcHv37H2IW7S61Hc=; b=vvG4sF84IGdRZFaP7fVonRrfAVHy3CbB4Q3itZDLRyN0P5QNj+wxtOLu7fB/8iyQTg KKgV2WVUQlbgnFlHcBUMltaH2gaOTh1iinwmpBeVlBT69W/1PzFBcnCijlbxs5Qp0axb yO8VWks6BRY+5fOO1WNvshZRyLuAGcx8xkyCI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=j1U8pva+AbMXqYd2gyEsQG4TAJi+7lLbngqwiV3U9Y38ZkdXloih5imohISaLfEJ3B pPucL43rWmRm7OI1jhGaruMjJZCS1P0OXghOm4GstaZde+USO/1VYQfSnp6dXMu3jbAG dkxmbzZwO9ic4gXmr9pKCMXniidrtuQx9Z6G0= Received: by 10.210.58.13 with SMTP id g13mr5973657eba.60.1224339707931; Sat, 18 Oct 2008 07:21:47 -0700 (PDT) Received: by 10.210.53.12 with HTTP; Sat, 18 Oct 2008 07:21:47 -0700 (PDT) Message-ID: <91b92520810180721t6fea6117u5d50252f726eacc5@mail.gmail.com> Date: Sat, 18 Oct 2008 16:21:47 +0200 From: "Sandra Kachelmann" 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: disable ipv6 lookups X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2008 14:50:16 -0000 I'd like to disable ipv6 (AAAA) lookups entirely since I'm not using ipv6 at all. I tried taking INET6 out of my kernel but i still see AAAA lookups being made. I stumbled accross some references in old resolv.conf manpages (it's not in there anymore) about where you can enable inet6 but not on how you can disable them at all. Why are AAAA lookups default anyway? I mean hardly anybody is unsing ipv6 other than some geeks over tunnels. I'd love to use it when i can get it w/o tunnel but i'd say 99% of all users out there waste cpu cycles on making AAAA lookups even though they don't have ipv6 suport. Sorry if this sounds kinda whiny, I am seriously wondering about this. Sandra From owner-freebsd-questions@FreeBSD.ORG Sat Oct 18 15:50: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 12FD4106568B for ; Sat, 18 Oct 2008 15:50:01 +0000 (UTC) (envelope-from vsbenzi@weizmann.ac.il) Received: from rmt187.weizmann.ac.il (rmt187.weizmann.ac.il [132.77.20.187]) by mx1.freebsd.org (Postfix) with ESMTP id 1B69C8FC0A for ; Sat, 18 Oct 2008 15:49:59 +0000 (UTC) (envelope-from vsbenzi@weizmann.ac.il) Received: from rmt187.weizmann.ac.il (localhost [127.0.0.1]) by rmt187.weizmann.ac.il (8.14.3/8.14.3) with ESMTP id m9IFnvgO002552 for ; Sat, 18 Oct 2008 17:49:58 +0200 (IST) (envelope-from vsbenzi@weizmann.ac.il) Received: by rmt187.weizmann.ac.il (8.14.3/8.14.3/Submit) id m9IFnf47002551 for freebsd-questions@freebsd.org; Sat, 18 Oct 2008 17:49:41 +0200 (IST) (envelope-from vsbenzi@weizmann.ac.il) X-Authentication-Warning: rmt187.weizmann.ac.il: vsbenzi set sender to vsbenzi@weizmann.ac.il using -f From: Benzi Mizrahi Organization: Weizmann Institute of Science To: freebsd-questions@freebsd.org Date: Sat, 18 Oct 2008 17:49:26 +0200 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810181749.26406.vsbenzi@weizmann.ac.il> Subject: Disable kontact/kmail automatic activation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2008 15:50:01 -0000 Hello all, I am running FreeBSD 7.1-PRERELEASE #2 with KDE: 3.5.10. A few *PORTUPGRADEs* ago , I can't recall when, I noticed that when KDE is started, usually after system startup , kontact application is started automatcally, which I 'd like to disable. Kde is started from /etc/ttys, and I have no automatic activation for any apps from $HOME/.kde/Autostart. I 'd like to be able to call kmail at my own will. Can you please tell how can I disable kontact automatic activation? thanx, -- Benzi Mizrahi, computing center, Weizmann Institute of Science, Tel: 972-8-9342456 Rehovot, Israel. Fax: 972-8-9344102 Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming or what?" From owner-freebsd-questions@FreeBSD.ORG Sat Oct 18 16:53: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 0BE00106569D for ; Sat, 18 Oct 2008 16:53:40 +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 9133A8FC0A for ; Sat, 18 Oct 2008 16:53:39 +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 1KrF3W-0004H7-A9; Sat, 18 Oct 2008 17:53:34 +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 m9IGrXcF012056; Sat, 18 Oct 2008 17:53:33 +0100 Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id 65607FCA4AD; Sat, 18 Oct 2008 17:53:28 +0100 (BST) Date: Sat, 18 Oct 2008 17:53:28 +0100 From: Frank Shute To: Johannes-Maria Kaltenbach Message-ID: <20081018165328.GA67515@melon.esperance-linux.co.uk> Mail-Followup-To: Johannes-Maria Kaltenbach , freebsd-questions@freebsd.org References: <48F9AD35.396CEE3E@t-online.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48F9AD35.396CEE3E@t-online.de> 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]); Sat, 18 Oct 2008 17:53:34 +0100 (BST) Cc: freebsd-questions@freebsd.org Subject: Re: mounting an MP3 player? 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: Sat, 18 Oct 2008 16:53:40 -0000 On Sat, Oct 18, 2008 at 11:32:37AM +0200, Johannes-Maria Kaltenbach wrote: > > > Hello, > > can anyone tell me how to mount an MP3 player (usb)? > I seem to be too stupid to figure it out by myself. > I thought it would be as easy as mounting a usb memory stick > which I can mount with a device file of the form /dev/da#s#, > e. g. /dev/da0s1, which is present after connecting the > memory stick, but not if connecting the player instead; in this > case I've got only /dev/da1 to /dev/da4. > I tried all these and also /dev/usb, /dev/usb1, ..., /dev/usb4, > but that doesn't work (as I expected but tried nevertheless). > > If I connect the player to the usb bus I get the following in > /var/log/messages: > > | kernel: umass1: TrekStor TrekStor, rev 2.00/1.00, addr 2 It should say more after that. Can you post it? > > > and from usblist: > > | at scbus1 target 0 lun 0 (da1,pass0) > | at scbus1 target 0 lun 1 (da2,pass1) > | at scbus1 target 0 lun 2 (da3,pass2) > | at scbus1 target 0 lun 3 (da4,pass3) > > It looks like your player has a number of areas of storage e:g SD card, flash card, it's own internal memory etc. and they all have an associated device node: $ ls /dev | grep da You can manipulate these devices with camcontrol(8) E.g: # camcontrol stop 1:0:0 # camcontrol rescan 1:0:0 # camcontrol load 1:0:0 should initialise /dev/da0 (the SD card?) Then: # mount -t msdosfs /dev/da0 /mnt/dos will mount it & you can read/write files from it. When you're finished: # umount /mnt/dos # camcontrol eject 1:0:0 If you have problems, post back the signifigant parts of /var/log/messages and any other errors. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From owner-freebsd-questions@FreeBSD.ORG Sat Oct 18 16:54: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 6B6821065686 for ; Sat, 18 Oct 2008 16:54:50 +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 F37248FC12 for ; Sat, 18 Oct 2008 16:54:49 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: (qmail 52182 invoked by uid 60001); 18 Oct 2008 16:54:48 -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=XkMA7YSluoJCn3nYhk1X+aOC7TRiRNCj9WfTk1Z99/tGuIwLQXZutJxLkHgXxpJvNltevDxw7PHch7o+3Gq+Qbd6oagvq+trs7DO4bueoBv7x2em8mrLqEYE1ICbOe8KHOui7AK2SBk6pWZb+X9JqyuWYeAVO5GJoKNh/VQbYvk=; X-YMail-OSG: ojRZK58VM1ng7uT4ps4ioQyTXoYPNqzz_OtVYfkdA5X0Q9ZHSdtqWJRXbu_KOnEe7Zm6Dm7hrH6x2rUwokmns1IpCGVxM.zxpeAD1oCaiIBTTRw19go28prZuBVCkzPmPOZaqZHEzj3RwSasa7rERRzL3tvmRGHKecMK70WS.oiVLpuvCFVAKKZsNJ5T5Q-- Received: from [71.61.220.126] by web56805.mail.re3.yahoo.com via HTTP; Sat, 18 Oct 2008 09:54:48 PDT X-Mailer: YahooMailWebService/0.7.247.3 Date: Sat, 18 Oct 2008 09:54:48 -0700 (PDT) From: mdh To: freebsd-questions@freebsd.org In-Reply-To: <20081018081048.GA43067@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <800814.52177.qm@web56805.mail.re3.yahoo.com> Subject: Re: Disable CTRL-ALT-DEL 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, 18 Oct 2008 16:54:50 -0000 --- On Sat, 10/18/08, Jeremy Chadwick wrote: > From: Jeremy Chadwick > Subject: Re: Disable CTRL-ALT-DEL > To: "Manolis Kiagias" > Cc: "Olivier Nicole" , freebsd-questions@freebsd.org, "Peter Boosten" > Date: Saturday, October 18, 2008, 4:10 AM > > > > It seems you are right. Just checked on 6.3 and 7.0 > and it does not > > exist. It does exist in 6.2, however. > > Hmm... > > # sysctl hw.syscons.kbd_reboot=0 > hw.syscons.kbd_reboot: 1 -> 0 > # sysctl hw.syscons.kbd_reboot=1 > hw.syscons.kbd_reboot: 0 -> 1 > # uname -a > FreeBSD icarus.home.lan 7.1-PRERELEASE FreeBSD > 7.1-PRERELEASE #0: Thu Oct 2 03:04:20 PDT 2008 > root@icarus.home.lan:/usr/obj/usr/src/sys/PDSMI_PLUS_RELENG_7_amd64 > amd64 It's definitly there in RELENG_7 as of this moment (just cvsup'd): /usr/src/sys/dev/syscons/syscons.c:SYSCTL_INT(_hw_syscons, OID_AUTO, kbd_reboot, CTLFLAG_RW|CTLFLAG_SECURE, &enable_reboot, - mdh __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-questions@FreeBSD.ORG Sat Oct 18 16:19: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 EE7AE106568C for ; Sat, 18 Oct 2008 16:19:15 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: from web51105.mail.re2.yahoo.com (web51105.mail.re2.yahoo.com [206.190.38.147]) by mx1.freebsd.org (Postfix) with SMTP id ADA638FC15 for ; Sat, 18 Oct 2008 16:19:15 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: (qmail 50358 invoked by uid 60001); 18 Oct 2008 16:19: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:MIME-Version:Content-Type:Message-ID; b=F3Yc41SA44DPlfMT9uysYOJv1Maeg9TzsoHpXGf9UZD0ufoaS+PEsAqqjR4ghmgDGje66WHGJJyt1R5b9T5oZTn7adeuojW0YzXoUsBZKLBx0G3cZ4FuqDGsWFquTSUZwzoKF0utu9YXKGLmKgJ3fId+rd46EBjmR0Ed6TYnJRg=; X-YMail-OSG: bNSokegVM1m.bn4fvF2xUgBq4OrhutsLhShEjmvHmEykXW1tnqLC0HRk8bzBorDiN5EGoBHImt89yh3.pIRJFEwzwaBgYJa19b9fN2NEECRZyRu5A0e53cVFaLrOJ4UJRU3pm1w1JQ6VsmP7l3z4e35Cuw4I2h.51HZK2vzaQfoeF3B9rCJNa_fDanQ- Received: from [82.136.213.253] by web51105.mail.re2.yahoo.com via HTTP; Sat, 18 Oct 2008 09:19:14 PDT X-Mailer: YahooMailWebService/0.7.247.3 Date: Sat, 18 Oct 2008 09:19:14 -0700 (PDT) From: Dino Vliet To: freebsd-questions@freebsd.org, alecn2002@yandex.ru MIME-Version: 1.0 Message-ID: <858648.49756.qm@web51105.mail.re2.yahoo.com> X-Mailman-Approved-At: Sat, 18 Oct 2008 19:08:08 +0000 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: error installing kmymoney2 on amd64 system running freebsd 6.3 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, 18 Oct 2008 16:19:16 -0000 Hi freebsd peeps, Who can help me sort this error out when I try to installl kmymoney2 on my = amd64 system. The error I get is: test ! -f sk.gmo || touch sk.gmo rm -f es_AR.gmo; /usr/local/bin/msgfmt -o es_AR.gmo ./es_AR.po test ! -f es_AR.gmo || touch es_AR.gmo rm -f pt_BR.gmo; /usr/local/bin/msgfmt -o pt_BR.gmo ./pt_BR.po test ! -f pt_BR.gmo || touch pt_BR.gmo rm -f es.gmo; /usr/local/bin/msgfmt -o es.gmo ./es.po test ! -f es.gmo || touch es.gmo rm -f fr.gmo; /usr/local/bin/msgfmt -o fr.gmo ./fr.po test ! -f fr.gmo || touch fr.gmo rm -f nl.gmo; /usr/local/bin/msgfmt -o nl.gmo ./nl.po test ! -f nl.gmo || touch nl.gmo rm -f pt.gmo; /usr/local/bin/msgfmt -o pt.gmo ./pt.po test ! -f pt.gmo || touch pt.gmo rm -f en_GB.gmo; /usr/local/bin/msgfmt -o en_GB.gmo ./en_GB.po test ! -f en_GB.gmo || touch en_GB.gmo rm -f ca.gmo; /usr/local/bin/msgfmt -o ca.gmo ./ca.po test ! -f ca.gmo || touch ca.gmo rm -f gl.gmo; /usr/local/bin/msgfmt -o gl.gmo ./gl.po test ! -f gl.gmo || touch gl.gmo rm -f ru.gmo; /usr/local/bin/msgfmt -o ru.gmo ./ru.po test ! -f ru.gmo || touch ru.gmo rm -f zh_CN.gmo; /usr/local/bin/msgfmt -o zh_CN.gmo ./zh_CN.po test ! -f zh_CN.gmo || touch zh_CN.gmo gmake[2]: Leaving directory `/usr/ports/finance/kmymoney2/work/kmymoney2-0.= 8.9/po' Making all in doc gmake[2]: Entering directory `/usr/ports/finance/kmymoney2/work/kmymoney2-0= .8.9/doc' Making all in en gmake[3]: Entering directory `/usr/ports/finance/kmymoney2/work/kmymoney2-0= .8.9/doc/en' if test -n "/usr/local/bin/meinproc"; then echo /usr/local/bin/meinproc --c= heck --cache index.cache.bz2 --stylesheet /usr/local/share/apps/ksgmltools2= /customization/kde-chunk.xsl ./index.docbook; /usr/local/bin/meinproc --che= ck --cache index.cache.bz2 --stylesheet /usr/local/share/apps/ksgmltools2/c= ustomization/kde-chunk.xsl ./index.docbook; fi /usr/local/bin/meinproc --check --cache index.cache.bz2 --stylesheet /usr/l= ocal/share/apps/ksgmltools2/customization/kde-chunk.xsl ./index.docbook gzip -9 -c -N ../../doc/en/kmymoney2.1 > kmymoney2.1.gz make get-files make: don't know how to make w. Stop gmake[3]: *** [index.docbook.tex] Error 2 gmake[3]: Leaving directory `/usr/ports/finance/kmymoney2/work/kmymoney2-0.= 8.9/doc/en' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/finance/kmymoney2/work/kmymoney2-0.= 8.9/doc' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/finance/kmymoney2/work/kmymoney2-0.= 8.9' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/finance/kmymoney2. 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 What's wrong? Brgds Dino =0A=0A__________________________________________________=0ADo You Yahoo!?= =0ATired of spam? Yahoo! Mail has the best spam protection around =0Ahttp:= //mail.yahoo.com From owner-freebsd-questions@FreeBSD.ORG Sat Oct 18 21:39: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 1FBED10656A3 for ; Sat, 18 Oct 2008 21:39:37 +0000 (UTC) (envelope-from kayvey@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.freebsd.org (Postfix) with ESMTP id 9D9AC8FC24 for ; Sat, 18 Oct 2008 21:39:36 +0000 (UTC) (envelope-from kayvey@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so556000nfh.33 for ; Sat, 18 Oct 2008 14:39: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; bh=Ze9mO3A1t6ObyKotMJrlNMy10jpTYMcqMvdJrzR7mE8=; b=o3td9ZnQrzQbe0DYFWkgsqeQzeTdgKfY1dFBzX+5+/vfD4tRk+krRDuW87lJPoJCan UztcTDHjOqwBTlxF24y7gdEtpJ8opn9PZUu8k3SZBIS+uQrYuP+HgzpkhCrSMGJfScDM 4eottbkAWmZqkS/LAdsPNLtMeRNszdkbnQ94E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=Q4fmhSrmBmFkZDXqWFqj1gimbcJVr4x5XnAeG8uAwxLs4KNXm2FDq5ClDI0svF2/D+ AgCb1Syvc9joaoU4cIDUZfoBpAULtZslQU61Ml5FczVvl0jsbnthxgUF6T1pjwQ4sA+f wjZ9fYj5khNQ+RQtv3Abl5GHJusrObpLNRfxk= Received: by 10.210.30.10 with SMTP id d10mr6484393ebd.80.1224365976258; Sat, 18 Oct 2008 14:39:36 -0700 (PDT) Received: by 10.210.86.3 with HTTP; Sat, 18 Oct 2008 14:39:36 -0700 (PDT) Message-ID: <28b9b4180810181439h7b3e8764x6fd016b3264809f6@mail.gmail.com> Date: Sat, 18 Oct 2008 14:39:36 -0700 From: "Kayven Riese" 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: fsdb yields GEN=ffffffffb5f6de87 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2008 21:39:37 -0000 I was running a java make job and did a du last week and suddenly brought my frankenstein ASUS M6800N Notebook to a frozen mouse state. That was running from a FreeBSD 7.0 on a 160GB HD. I was looking at this question: http://lists.freebsd.org/pipermail/freebsd-current/2003-December/016043.html and I have been given the same advice that I am just not ready to acquiesce to (I know I am not much of a sysadmin until I do, though), i.e. retrieve data and reinstall the operating system. I have results of fsdb of my own: http://www.monkeyview.net/id/965/fsck/inodes/pa180020.vhtml but I don't have quite the same absurdity, i.e. a file that has more bits than atoms in the universe (well.. that's a BIT of an exaggeration) I am thinking, though that the fact that GEN=ffffffffb5f6de87 might be an absurd value. Is that the case? I found multiple inodes with this configuration. From owner-freebsd-questions@FreeBSD.ORG Sat Oct 18 21:45: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 AFDE5106569D for ; Sat, 18 Oct 2008 21:45:02 +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 6B2398FC14 for ; Sat, 18 Oct 2008 21:45:02 +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 m9ILjH17009291 for ; Sat, 18 Oct 2008 14:45:17 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sat, 18 Oct 2008 14:44:57 -0700 (PDT) Date: Sat, 18 Oct 2008 14:44:57 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20081018214455.GA30547@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: pfSense X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2008 21:45:02 -0000 Guys, I've been using the FBSD firewall pfSense since last January without fully understanding it. Now I'm getting some clues as to one *possibility* why my new laptop may not be working. --It is more probably a hardware fauly, but maybe somebody can clue me in How both my wife and my daughter and I (with my new ThinkPad G41) were given IP's _within_ the "Range" that was set up. My private IP's are listed as 10.47.0.0 -- 10.47.0.255 and my Range is listed as 10.47.0.101 to 10.47.0.120. The "Range" is described on one site: You will need to set the Range of the DHCP server which will regulate how many IP addresses you will give out. My wife's Dell XP has 10.47.0.119; daughter's Macbook is 10.47.0.115; and when I clicked around and made my daughter's computer IP "static", pfSense gave me an error. It said that it was incorrectly within the "Range". How can I change/edit it so that it is outside the range? I would like everything possible to be set in concrete. Will pfSense pick an IP outside the range? 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 Sat Oct 18 21: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 EF6961065686 for ; Sat, 18 Oct 2008 21:49:54 +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 D0B038FC0A for ; Sat, 18 Oct 2008 21:49:54 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from localhost (localhost [127.0.0.1]) by aegis.hamla.org (Postfix) with ESMTP id 486525C7D for ; Sat, 18 Oct 2008 17:50:39 -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=1224366637; bh=LekEMFRWvVtQbh0iZOwfdL/ate7A FLPulmaNLZC1V5I=; b=diFmgfKim3pdVmWOO/ZyDTGW7RwCdU3e3DW5tOtDxLNS e/7bXNyJ6TFo7GTDWzSzknfzXJH1yHb6hHCSjI3zx7paHT3Q93zVKx1zrClIMm+c SW/1vor4P7iw33UUeg/9yOwEreFYr+BGQ/SNIJCTXWjTlrn558Z5yAW4mXcunSw= 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 YaxMQtETWOXR for ; Sat, 18 Oct 2008 17:50:37 -0400 (EDT) Date: Sat, 18 Oct 2008 17:49:50 -0400 From: Sahil Tandon To: freebsd-questions@freebsd.org Message-ID: <20081018214950.GA52576@shepherd> References: <20081018214455.GA30547@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081018214455.GA30547@thought.org> X-Virus-Scanned: ClamAV version 0.94, clamav-milter version 0.94 on aegis.hamla.org X-Virus-Status: Clean Subject: Re: pfSense 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, 18 Oct 2008 21:49:55 -0000 Gary Kline wrote: [pfSense question removed] Please ask your question on the pfSense mailing list or forum. Thanks. http://www.pfsense.org/index.php?option=com_content&task=view&id=66&Itemid=71 http://forum.pfsense.org/ -- Sahil Tandon From owner-freebsd-questions@FreeBSD.ORG Sat Oct 18 21:55: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 DC59F106569B for ; Sat, 18 Oct 2008 21:55:34 +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 883B98FC16 for ; Sat, 18 Oct 2008 21:55:34 +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 UBCC1a0080EZKEL53MvZH3; Sat, 18 Oct 2008 21:55:33 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA01.westchester.pa.mail.comcast.net with comcast id UMvY1a00R2P6wsM3MMvZCT; Sat, 18 Oct 2008 21:55:33 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=3zKocy62bJ-aY1dyLMsA:9 a=cjPiu358mkTM1XDWjN-H9HiFhEUA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 8246BC9432; Sat, 18 Oct 2008 14:55:32 -0700 (PDT) Date: Sat, 18 Oct 2008 14:55:32 -0700 From: Jeremy Chadwick To: Gary Kline Message-ID: <20081018215532.GA60004@icarus.home.lan> References: <20081018214455.GA30547@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081018214455.GA30547@thought.org> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: FreeBSD Mailing List Subject: Re: pfSense X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2008 21:55:35 -0000 On Sat, Oct 18, 2008 at 02:44:57PM -0700, Gary Kline wrote: > I've been using the FBSD firewall pfSense since last January > without fully understanding it. Now I'm getting some clues as to > one *possibility* why my new laptop may not be working. --It is > more probably a hardware fauly, but maybe somebody can clue me in > How both my wife and my daughter and I (with my new ThinkPad G41) > were given IP's _within_ the "Range" that was set up. > > My private IP's are listed as > > 10.47.0.0 -- 10.47.0.255 > > and my Range is listed as > > 10.47.0.101 to 10.47.0.120. The "Range" is described on one > site: > > You will need to set the Range of the DHCP server which > will regulate how many IP addresses you will give out. > > My wife's Dell XP has 10.47.0.119; daughter's Macbook is > 10.47.0.115; and when I clicked around and made my daughter's > computer IP "static", pfSense gave me an error. It said that > it was incorrectly within the "Range". How can I change/edit it > so that it is outside the range? I would like everything > possible to be set in concrete. Will pfSense pick an IP outside > the range? You should ask this on the pfSense mailing list, but, I will answer your question regardless -- but I make the assumption the DHCP server used in pfSense is ISC dhcpd. You *cannot* include static IPs (in this case, "static IP" means an IP address that is always returned for a specific MAC address) within the "dynamic pool". ISC dhcpd will not let you do this, and for good reasons (you can read the docs if you want the answer). Instead, you should give your wire and daughter's machines IPs outside of the "dynamic pool" range, e.g. 10.47.0.121 and upwards. This will work fine. -- | 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 18 23:10: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 D4B4A106564A for ; Sat, 18 Oct 2008 23:10:09 +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 AE8D98FC1A for ; Sat, 18 Oct 2008 23:10:09 +0000 (UTC) (envelope-from dan@nyi.unixathome.org) Received: from localhost (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id 64DA7509D2 for ; Sun, 19 Oct 2008 00:10:07 +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 0OA5HIcSz1Eq for ; Sun, 19 Oct 2008 00:10:03 +0100 (BST) Received: by nyi.unixathome.org (Postfix, from userid 1001) id 2D72D508F4; Sun, 19 Oct 2008 00:10:02 +0100 (BST) From: Dan Langille To: freebsd-questions@freebsd.org Message-Id: <20081018231003.2D72D508F4@nyi.unixathome.org> Date: Sun, 19 Oct 2008 00:10:02 +0100 (BST) Subject: The FreeBSD Diary: 2008-09-28 - 2008-10-18 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2008 23:10:09 -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 18 23:25: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 0A66F1065687 for ; Sat, 18 Oct 2008 23:25:19 +0000 (UTC) (envelope-from fbsd06+22=ee1af0ae@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 D4D878FC15 for ; Sat, 18 Oct 2008 23:25:18 +0000 (UTC) (envelope-from fbsd06+22=ee1af0ae@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 354E7D051E for ; Sat, 18 Oct 2008 19:25:17 -0400 (EDT) Date: Sun, 19 Oct 2008 00:25:14 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20081019002514.3c7cfe82@gumby.homeunix.com.> In-Reply-To: <200810172146.53442.kline@thought.org> References: <20081017213919.GA2901@thought.org> <20081018002654.37155963@gumby.homeunix.com.> <200810172146.53442.kline@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: back to kde3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2008 23:25:19 -0000 On Fri, 17 Oct 2008 21:46:53 -0700 Gary Kline wrote: > On Friday 17 October 2008 16:26:54 RW wrote: > > Whichever version you use, kdm defaults to the last desktop or > > window manager. > > Thanks. I was hoping that when KDE4 was more stable, polished, we > would say goodbye to version 3 and have just-one new KDE. KDM defaults to the previous desktop whatever it is, whether it's kde3 kde4, gnome, fluxbox or whatever, it's completely agnostic. You can remove kde3 if you want to. Personally I hope KDE3 stays for as long as possible since it's by far my favourite desktop, and KDE4 one of my least favourite.