From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 01:00:49 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 90DCA106564A for ; Sun, 22 Jul 2012 01:00:49 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 45F7B8FC08 for ; Sun, 22 Jul 2012 01:00:49 +0000 (UTC) Received: by vcbgb22 with SMTP id gb22so2113236vcb.13 for ; Sat, 21 Jul 2012 18:00:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=lS2vHdgT1OKtfbWZvTxQ5yjodJVNyY05hmhF6+/w9jI=; b=IzivdkWhHyUWHnhGQgNvG28hgVgI4c7lMy+zjalsTySehZSkqiLRhz1auF1rlrYPB3 9CkTIOcX/7aU9X3FRShJlAXYht5knZsi3jkwII8jqX0m1li+i4zuRTk7sayQ3TO/nvZb tVYsKL36aDMScKWNkqftaK+4ELPlTzM/lXVBRCCfaVq8AQjlYZNjCfxawBridW/3pqBq i6myXAVxD4dxXFvCywDYliilzDYcL/+Z5iLwQsdzTOYNT0LD37G3XbpRTa7zGPkwqWlt JlOG3IGTAeFPmOtTMJl2SPjd9OGFJh80hZf1k40IrN0xo+sZ8uohI6919NAZFfgSp7mU 9Nww== MIME-Version: 1.0 Received: by 10.52.179.129 with SMTP id dg1mr7399791vdc.71.1342918848338; Sat, 21 Jul 2012 18:00:48 -0700 (PDT) Received: by 10.52.184.201 with HTTP; Sat, 21 Jul 2012 18:00:48 -0700 (PDT) In-Reply-To: <5007AF61.4090207@locolomo.org> References: <5007AF61.4090207@locolomo.org> Date: Sat, 21 Jul 2012 19:00:48 -0600 Message-ID: From: Modulok To: =?ISO-8859-1?Q?Erik_N=F8rgaard?= Content-Type: text/plain; charset=ISO-8859-1 Cc: questions@freebsd.org Subject: Re: Help solving the sysadm's nightmare X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 22 Jul 2012 01:00:49 -0000 > I have inherited a problem that is no cause for envy, the previous > administrators had no idea what they were doing, so problems with a > permission denied would be solved by chown -R 777 /whatever! Needless to > say, it's a mess, and ofcourse everything is "critical" there is no room > for interruption of service. > > Now, I have no idea which processes actually require access to those > files, what privileges these processes run with and which files are > actually executable or just plain files. > > What I know is that lots of files are on samba shares and lots of files > are used by uniface9 application, but I don't know much about uniface or > if this is actually executed on the client or on the server. > > At this moment my project is to migrate servers with these permissions > to new servers, but those who prepared the OS have maintained the > permissions from the older version because it's easier than actually > investigating or understanding what's going on and find a solution. *sigh* > > So, how can I > > - determine if files are actually unix executables or just plain files > (or windows executables)? > - determine which users actually need read or write access to these files? > > the second is what I think is the most difficult, I need some lsof > daemon to log access... > Sounds like a disaster. You're going to have to weigh out the risks of not doing anything and being compromised vs. trying to fix it and breaking something. Depending on how involved you want to get, much coffee may be required. Here's some thorny ideas: First, take a snap shot of the file system if you can. That way if things get screwed up you can always revert back to a previous state. That is, if the data is read-only. (*Evil laugh*) If you can, experiment with this snapshot on a test box. If not, keep reading... You could call lsof from a script repeatedly (or use lsof's own reapeat functionality) for several days/weeks/whatever. Then parse the output to produce a list of unique files, how they're being accessed and by who. Get familiar with the lsof manual page, especially the section about 'OUTPUT FOR OTHER PROGRAMS'. You might insert your results into a file-backed sqlite database that you can later interrogate from a script via SQL queries. Also, crawl the file system and generate *another* sql table, or even flat file of permissions as they currently exist. This way you can, in theory, always go back to how things were, if needed. Of course, you'll need to write a script to do this permission-restore business too. >From there, crawl the first SQL table that you made of file access and set permissions on those files appropriately. e.g: a file being accessed read/write probably needs to be set read/write. This will be a job for another script. You can also build a table of file permissions for known files e.g: /etc/master.passwd should be root read/write and so on. You can build up your initial database of known permissions by parsing a clean install with the same scripts you just wrote. Also see the 'file' command to help identify executables. Obviously, you're going to have to be very careful. (Again, have the backup and preferably the script that restores file permissions to what they were, first.) Sounds like a job for python ;) Finally, remember to *thoroughly* test your scripts on an dummy system first! Perhaps a virtual box install where you don't have to worry about screwing things up. The last thing you want, is to get fired for trying to fix someone else's mistake. Tread carefully. Talk to the boss/owner/client about the pros, cons and risks before taking on such a project. Good luck with your nightmare. -Modulok- From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 06:38:24 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 097B2106564A for ; Sun, 22 Jul 2012 06:38:24 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 8CA4D8FC14 for ; Sun, 22 Jul 2012 06:38:23 +0000 (UTC) Received: from [188.174.214.14] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Sspo5-0000nm-8p; Sun, 22 Jul 2012 08:38:21 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id q6M6cJD2002524; Sun, 22 Jul 2012 08:38:19 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id q6M6cIn4002523; Sun, 22 Jul 2012 08:38:18 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sun, 22 Jul 2012 08:38:18 +0200 From: Matthias Apitz To: Chuck Swiger Message-ID: <20120722063818.GA2445@tinyCurrent> References: <20120721155922.GA4774@tinyCurrent> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 188.174.214.14 Cc: freebsd-questions@freebsd.org Subject: Re: setting up an openssl client/server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 06:38:24 -0000 El día Saturday, July 21, 2012 a las 11:46:52AM -0700, Chuck Swiger escribió: > On Jul 21, 2012, at 8:59 AM, Matthias Apitz wrote: > > Then I copy over the files client.pem and server.pem to the example > > software: > > > > $ cp server.pem client.pem openssl-examples-20020110 > > You also need to copy server.key and client.key. Thanks for your hints. After the procedure described in my first mail, I have the following files in that dir: $ ls -ltr *.* -rw-r--r-- 1 guru wheel 963 21 jul 17:31 privkey.pem -rw-r--r-- 1 guru wheel 993 21 jul 17:31 ca.pem -rw-r--r-- 1 guru wheel 887 21 jul 17:32 server.key -rw-r--r-- 1 guru wheel 603 21 jul 17:33 server.req -rw-r--r-- 1 guru wheel 887 21 jul 17:35 client.key -rw-r--r-- 1 guru wheel 603 21 jul 17:36 client.req -rw-r--r-- 1 guru wheel 745 21 jul 17:36 client.pem -rw-r--r-- 1 guru wheel 745 21 jul 18:08 server.pem -rw-r--r-- 1 guru wheel 3 21 jul 18:08 file.srl I followed your hint and copied as well server.key and client.key: $ cp server.key client.key openssl-examples-20020110 and put the server.key into the PEM file: $ cat server.key server.pem > openssl-examples-20020110/server.pem the example server expects the file in the current dir, I go to it: $ cd openssl-examples-20020110 but now it is missing the CA file: $ ./wserver Can't read CA list 2478:error:02001002:system library:fopen:No such file or directory:/usr/home/guru/myThings/FreeBSD/9-CURRENT/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bio/bss_file.c:126:fopen('root.pem','r') 2478:error:2006D080:BIO routines:BIO_new_file:no such file:/usr/home/guru/myThings/FreeBSD/9-CURRENT/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bio/bss_file.c:129: 2478:error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib:/usr/home/guru/myThings/FreeBSD/9-CURRENT/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/x509/by_file.c:274: as a guess I copied the CA file as: $ cp ../ca.pem root.pem with the result: $ ./wserver Couldn't open DH file 2483:error:02001002:system library:fopen:No such file or directory:/usr/home/guru/myThings/FreeBSD/9-CURRENT/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bio/bss_file.c:126:fopen('dh1024.pem','r') 2483:error:2006D080:BIO routines:BIO_new_file:no such file:/usr/home/guru/myThings/FreeBSD/9-CURRENT/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bio/bss_file.c:129: but I have no file dh1024.pem :-( What it is missing, as well in the pages of www.openssl.org and www.freebsd.org, is a complete step by step guide to make certificates and keys to SSL a simple client/server communition, or at least I can't see them. Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 07:24:40 2012 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 1F996106566C for ; Sun, 22 Jul 2012 07:24:40 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 79C7B8FC14 for ; Sun, 22 Jul 2012 07:24:39 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6M7Obn4003963; Sun, 22 Jul 2012 09:24:37 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6M7Ob3e003960; Sun, 22 Jul 2012 09:24:37 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 22 Jul 2012 09:24:37 +0200 (CEST) From: Wojciech Puchar To: Modulok In-Reply-To: Message-ID: References: <5007AF61.4090207@locolomo.org> 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 passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Sun, 22 Jul 2012 09:24:38 +0200 (CEST) Cc: questions@freebsd.org Subject: Re: Help solving the sysadm's nightmare X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 22 Jul 2012 07:24:40 -0000 > Good luck with your nightmare. if i would be in his case i would first not touch it and then slowly analyze EVERYTHING that is used on that system, and ask users how exactly they use it (i mean shared folders etc). Then i will step by step fix things to proper state, waiting for complaints after each step. if former "admin" did such things with permissions certainly he did many more stupid things. Certainly few things MUST be just done completely differently, not just different permissions. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 07:27:39 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D78F8106566C for ; Sun, 22 Jul 2012 07:27:39 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 8C4698FC0A for ; Sun, 22 Jul 2012 07:27:39 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SsqZh-00057N-VT for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 09:27:34 +0200 Received: from np-19-75.prenet.pl ([np-19-75.prenet.pl]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Jul 2012 09:27:33 +0200 Received: from jb.1234abcd by np-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Jul 2012 09:27:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Date: Sun, 22 Jul 2012 07:27:23 +0000 (UTC) Lines: 76 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 79.139.19.75 (Mozilla/5.0 (X11; FreeBSD i386; rv:13.0) Gecko/20100101 Firefox/13.0.1) Subject: Re: Security - linker env variables X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 22 Jul 2012 07:27:39 -0000 jb gmail.com> writes: > ... > Search results (do it yourself): > $ grep -r LD_RUN_PATH /usr/ports/ This is an output of search done on a fresh copy of /usr/ports/ : /usr/ports/devel/kdevelop/files/patch-appwizard-libtool: runpath_var=LD_RUN_PATH ... /usr/ports/games/xflame/files/patch-aa:! LD_RUN_PATH += /usr/ports/games/xflame/files/patch-aa:! export LD_RUN_PATH /usr/ports/games/xflame/files/patch-aa:! #LD_RUN_PATH += /usr/ports/games/xflame/files/patch-aa:! # export LD_RUN_PATH /usr/ports/japanese/FreeWnn-lib/files/patch-aclocal.m4: runpath_var=LD_RUN_PATH ... /usr/ports/japanese/FreeWnn-lib/files/patch-configure:+ runpath_var=LD_RUN_PATH ... /usr/ports/japanese/FreeWnn-server/files/patch-aclocal.m4: runpath_var=LD_RUN_PATH ... /usr/ports/japanese/FreeWnn-server/files/patch-configure: runpath_var=LD_RUN_PATH ... /usr/ports/japanese/xjtext/files/patch-aa:+ LD_RUN_PATH=${LOCALBASE}/lib/ ${CC} ${OBJS} ${LIBDIRS} ${LIBS} ${IMLIBS}\ ... /usr/ports/lang/moscow_ml/Makefile: LD_RUN_PATH="${PREFIX}/lib /mosml" /usr/ports/lang/moscow_ml/files/pkg-message.in:Note that this port is build with LD_RUN_PATH=%%PREFIX%%/lib/mosml, ... /usr/ports/math/wingz3/files/Wingz3:# and the ${WINGZ3}/bin/wzenv (yes, it does set the LD_RUN_PATH, /usr/ports/math/wingz3/files/Wingz3:LD_RUN_PATH=$WINGZ3 /lib/$WZPLATFORM:$LD_RUN_PATH ... /usr/ports/print/ghostscript7/files/patch-src:unix-gcc.mak: # XLIBDIRS is for ld and should include -L; XLIBDIR is for LD_RUN_PATH /usr/ports/print/ghostscript8/files/patch-base-unix-gcc.mak: # XLIBDIRS is for ld and should include -L; XLIBDIR is for LD_RUN_PATH /usr/ports/print/ghostscript9/files/patch-base-unix-gcc.mak: # XLIBDIRS is for ld and should include -L; XLIBDIR is for LD_RUN_PATH ... /usr/ports/x11-toolkits/blt/files/patch-src-shared-Makefile.in:+SHLIB_LD_FLAGS = @SHLIB_LD_FLAGS@ @LD_RUN_PATH@ @LIB_SPECS@ $ NOTE that individual port sources (downloaded distfiles) will include LD_RUN_PATH as well, for example: # grep -r LD_RUN_PATH /usr/ports/irc/xchat/work/xchat-2.8.8/ /usr/ports/irc/xchat/work/xchat-2.8.8/configure: runpath_var=LD_RUN_PATH ... /usr/ports/irc/xchat/work/xchat-2.8.8/aclocal.m4: dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH /usr/ports/irc/xchat/work/xchat-2.8.8/aclocal.m4: runpath_var=LD_RUN_PATH ... /usr/ports/irc/xchat/work/xchat-2.8.8/configure.orig: runpath_var= LD_RUN_PATH ... /usr/ports/irc/xchat/work/xchat-2.8.8/configure.bak: runpath_var=LD_RUN_PATH ... /usr/ports/irc/xchat/work/xchat- 2.8.8/config.status:variables_saved_for_relink='PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH' /usr/ports/irc/xchat/work/xchat-2.8.8/config.status:runpath_var='LD_RUN_PATH' /usr/ports/irc/xchat/work/xchat-2.8.8/libtool:variables_saved_for_relink="PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" /usr/ports/irc/xchat/work/xchat-2.8.8/libtool:runpath_var=LD_RUN_PATH # jb From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 07:37:09 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4ED9106566B for ; Sun, 22 Jul 2012 07:37:09 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id F1D0F8FC0C for ; Sun, 22 Jul 2012 07:37:08 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q6M7ax1Y093584 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sun, 22 Jul 2012 08:36:59 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q6M7ax1Y093584 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1342942619; bh=7wSfGOnQygZ3BIExRJDri2tNOdbIINnRt9eRuLiBo4U=; h=Date:From:To:Subject:References:In-Reply-To:Cc:Content-Type: Message-ID:Mime-Version; b=hFNg4pnEJXFrdxT15vs/wmGNnvUAzPU0OuUdUlsPViaOrCY6h7h7j8HpfdMAPmu8X lbo1hniZBPXFc16dJsjsxbm0Km6Ht6jscs3EL2MV1DBI1HEDfSXQ7a2NQw0xY0GSj2 aVOfh10ImrMiV4Bk1ZIbHp1ngbcx02YDhWxv79xk= Message-ID: <500BAD93.5080007@infracaninophile.co.uk> Date: Sun, 22 Jul 2012 08:36:51 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20120721155922.GA4774@tinyCurrent> <20120722063818.GA2445@tinyCurrent> In-Reply-To: <20120722063818.GA2445@tinyCurrent> X-Enigmail-Version: 1.4.3 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig089DD87A9A523B875322554B" X-Virus-Scanned: clamav-milter 0.97.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_ADSP_ALL,DKIM_SIGNED,T_DKIM_INVALID autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: setting up an openssl client/server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 07:37:09 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig089DD87A9A523B875322554B Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 22/07/2012 07:38, Matthias Apitz wrote: > What it is missing, as well in the pages of www.openssl.org and > www.freebsd.org, is a complete step by step guide to make certificates > and keys to SSL a simple client/server communition, or at least I can't= > see them. I've found TinyCA (ports: security/tinyca) to be simple and easy to use for setting up a personal certification authority. Just remember not to fill in the e-mail field when creating a HTTPS server cert if you want the filename of the cert to be based on the site URL. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig089DD87A9A523B875322554B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlALrZsACgkQ8Mjk52CukIyRaACeNkFq+/66PoNZHNW9jMD16QL9 fZ8AnRvpt+YL9LB8Ye3EvSTBKssgEj0A =291Q -----END PGP SIGNATURE----- --------------enig089DD87A9A523B875322554B-- From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 08:59:15 2012 Return-Path: Delivered-To: FreeBSD-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86C08106566C for ; Sun, 22 Jul 2012 08:59:15 +0000 (UTC) (envelope-from comnetboy@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0A6FE8FC0A for ; Sun, 22 Jul 2012 08:59:11 +0000 (UTC) Received: by lbon10 with SMTP id n10so8426958lbo.13 for ; Sun, 22 Jul 2012 01:59:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=DV7KrxAvuZ9v5dh/Vs/aeUz62RMvpdCgidzO+rdZG0Y=; b=JdeL3dd62exn2iKQBF2SgNqegoqa950SHfMKXWOqrIowzj97hqs/a1HnZJ9kX80XMe AhQ0gLAr0jhf6Xr7IEThOLqCocRvfCa93N9sY3z4X7P1p8Vg9b1MIgXj5EcHnlRlw96b 0OrGdFV6WqGH0+5SrdmiQ14jO1bLkazY3Hv/xZzqnBsA+azCLNrexn6kUbcrFgzl7mJU b8isSj2hqOTmaXo/SPWOVcpeWW5FSbP3zLdozzn7mR1QD6E4sWwQD6deY8kcNSNNoW1m ygGjyKmxOHzMFCMkT+BdvBrikBDyb11yXMBcCg5oNhMxsPcgAWrh3bmsXhzwXDlmJQFJ r8LQ== MIME-Version: 1.0 Received: by 10.112.23.7 with SMTP id i7mr2343784lbf.85.1342947550711; Sun, 22 Jul 2012 01:59:10 -0700 (PDT) Received: by 10.112.61.3 with HTTP; Sun, 22 Jul 2012 01:59:10 -0700 (PDT) Date: Sun, 22 Jul 2012 13:29:10 +0430 Message-ID: From: Computer Network Man To: FreeBSD-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Radius Attribute "acct-interim-interval" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 22 Jul 2012 08:59:15 -0000 Dear All; I found FreeBSD powerful and started using it. But I'm new in it and have some questions? where is the best place for asking? For example I have installed poptop on freebsd 8.2 and it's a pptp (vpn) server(My NAS Server). But it uses an external Radius server for auth and acct. I have set the radius attribute "acct-interim-interval=60sec" in radius but the NAS doesn't send interim updates. Can anyone help me? Thanks in advance comnetboy From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 09:53:35 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6CA75106564A for ; Sun, 22 Jul 2012 09:53:35 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 1021C8FC08 for ; Sun, 22 Jul 2012 09:53:34 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q6M9stCG021928; Sun, 22 Jul 2012 04:54:55 -0500 (CDT) Date: Sun, 22 Jul 2012 04:54:55 -0500 (CDT) From: Robert Bonomi Message-Id: <201207220954.q6M9stCG021928@mail.r-bonomi.com> To: freebsd-questions@freebsd.org, leslie@eskk.nu In-Reply-To: <500ABECA.5010404@eskk.nu> Cc: Subject: Re: Power failure during portsnap fetch update X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 22 Jul 2012 09:53:35 -0000 > From owner-freebsd-questions@freebsd.org Sat Jul 21 09:40:20 2012 > Date: Sat, 21 Jul 2012 16:38:02 +0200 > From: Leslie Jensen > To: freebsd-questions@freebsd.org > Subject: Power failure during portsnap fetch update > > > My file system /usr/ports/net go damaged > > I've done fsck -F in single user mode but there are warnings about not > being able to fix this. "Insufficient Data" for a meaningful response. *sigh* _Exactly_ WHAT the command line used was, and *WHAT* the exact text of the error message says is needed before anyone can help. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 09:54:55 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35EA21065678 for ; Sun, 22 Jul 2012 09:54:55 +0000 (UTC) (envelope-from mueller23@insightbb.com) Received: from mail.insightbb.com (smtp2.insight.synacor.com [208.47.185.24]) by mx1.freebsd.org (Postfix) with ESMTP id EFE708FC17 for ; Sun, 22 Jul 2012 09:54:54 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=1.1 cv=kentp5yz33NvHhcmLbQZg57pLLFred7bJyyPxhtTO5M= c=1 sm=0 a=OpyC5CJKO_AA:10 a=jLN7EqiLvroA:10 a=tc69YSrnAAAA:8 a=Fr8x0r-PAAAA:8 a=ycat7GrE1JtA4IVdiXwA:9 a=p91V9-deMQsA:10 a=rh--uSKwOSjeBykV:21 a=GjzXvVOAi7OkCcve:21 a=Q/oqmR4JO1zR3vNQamCQeQ==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp02.insight.synacor.com smtp.mail=mueller23@insightbb.com; spf=softfail; sender-id=softfail Authentication-Results: smtp02.insight.synacor.com header.from=mueller23@insightbb.com; sender-id=softfail Received-SPF: softfail (smtp02.insight.synacor.com: transitional domain insightbb.com does not designate 74.134.26.53 as permitted sender) Received: from [74.134.26.53] ([74.134.26.53:34559] helo=localhost) by mail.insightbb.com (envelope-from ) (ecelerity 2.2.2.40 r(29895/29896)) with ESMTP id BF/8B-02728-15DCB005; Sun, 22 Jul 2012 05:52:18 -0400 Date: Sun, 22 Jul 2012 05:52:17 -0400 Message-ID: From: "Thomas Mueller" To: freebsd-questions@freebsd.org Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 09:54:55 -0000 Regarding the security of various methods of deleting data, I just saw in Office Depot's online ad for the coming week, which is the reason I couldn't post this any earlier: Need to discard an old PC but worried about protecting your identity? Let us securely erase your personal files and pictures for only $49.99. We use the only permanent data deletion software certified by NIAP, used by the Department of Defense and Fortune 500 Companies. (quoting verbatim but formatting not preserved) URL was http://officedepot.shoplocal.com/OfficeDepot/BrowseByPage?storeid=2501355&promotionviewmode=1&promotioncode=OfficeDepot-120722&listingid=0&sneakpeek=N# Personally, I'd save the money, time and gasoline too, and use dd if=/dev/zero of=/dev/(disk-to-be-deleted) bs=1M from FreeBSD or other (quasi)-Unix OS. Or if that's not good enough, DBAN which is on the System Rescue CD (sysresccd.org). I suppose the average MS-Windows user is not aware of these money-saving methods. Tom From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 10:36:38 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 351AE1065670 for ; Sun, 22 Jul 2012 10:36:38 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id E52018FC15 for ; Sun, 22 Jul 2012 10:36:37 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q6MAc8kW022215 for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 05:38:08 -0500 (CDT) Date: Sun, 22 Jul 2012 05:38:08 -0500 (CDT) From: Robert Bonomi Message-Id: <201207221038.q6MAc8kW022215@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 10:36:38 -0000 > Date: Sun, 22 Jul 2012 05:52:17 -0400 > From: "Thomas Mueller" > Subject: Re: fsck on FAT32 filesystem? > > Regarding the security of various methods of deleting data, I just saw in > Office Depot's online ad for the coming week, which is the reason I > couldn't post this any earlier: > > Need to discard an old PC but worried about protecting your identity? > > Let us securely erase your personal files and pictures for only $49.99. > > We use the only permanent data deletion software certified by NIAP, used > by the Department of Defense and Fortune 500 Companies. > > (quoting verbatim but formatting not preserved) > > URL was > > http://officedepot.shoplocal.com/OfficeDepot/BrowseByPage?storeid=2501355& > promotionviewmode=1&promotioncode=OfficeDepot-120722&listingid=0&sneakpeek > =N# > > Personally, I'd save the money, time and gasoline too, and use dd > if=/dev/zero of=/dev/(disk-to-be-deleted) bs=1M > > from FreeBSD or other (quasi)-Unix OS. Needless to say, that approach doesn't work under Windows. For *most* users, that approach _is_ probably adewuate. *if* the have the know-how to use it. However, for a _lot_ of end users, the situation is not quite that simple. Trying to wipe the disk that the O/S is running from is fraught with unexpected failure modes. Lots of 'end user' machines have only _one_ drive in them, and the users do not have any other 'bootable' media available, that they know how to use. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 11:45:06 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A49DD106564A for ; Sun, 22 Jul 2012 11:45:05 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 8F6438FC12 for ; Sun, 22 Jul 2012 11:45:05 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ssuat-0001xU-DE for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 13:45:03 +0200 Received: from bsd1.hq.steg0.eu ([82.139.199.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Jul 2012 13:45:03 +0200 Received: from rs by bsd1.hq.steg0.eu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Jul 2012 13:45:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Raimund Steger Date: Sun, 22 Jul 2012 13:40:22 +0200 Lines: 40 Message-ID: <500BE6A6.401@mytum.de> References: <20120721155117.GA48493@skytracker.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: bsd1.hq.steg0.eu User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:14.0) Gecko/20120706 Firefox/14.0 SeaMonkey/2.11 In-Reply-To: <20120721155117.GA48493@skytracker.ca> Subject: Re: error compiling mplayer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 22 Jul 2012 11:45:06 -0000 Hi, David Banning wrote: > getting this error on compile of mplayer; > > /usr/local/lib/libgdk-x11-2.0.so: undefined reference to `XRRGetScreenResourcesCurrent' > /usr/local/lib/libgdk-x11-2.0.so: undefined reference to `XRRGetOutputPrimary' > collect2: ld returned 1 exit status > gmake: *** [mplayer] Error 1 > *** Error code 1 > > Stop in /usr/ports/multimedia/mplayer. > *** Error code 1 > > I wonder if anyone could direct me as to how I could collect more information > to resolve this. > > FreeBSD version is 8.2 That doesn't look like a problem with mplayer per se, rather with your GTK or XRANDR install. What do the following commands return: nm -D /usr/local/lib/libgdk-x11-2.0.so|grep XRRGetOutputPrimary nm -D /usr/local/lib/libXrandr.so|grep XRRGetOutputPrimary Additionally, a somewhat larger snippet of your compilation output would be helpful, where at least the linker invocation that triggered that error occurs. I'm running 8.2 here as well and can compile mplayer (from SVN, rev. 35044) with GTK GUI just fine. (Is this by any chance related to http://thread.gmane.org/gmane.os.freebsd.questions/288260 ?) Raimund From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 11:56:30 2012 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DB3DF106566B for ; Sun, 22 Jul 2012 11:56:30 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward3h.mail.yandex.net (forward3h.mail.yandex.net [84.201.187.148]) by mx1.freebsd.org (Postfix) with ESMTP id 80CA58FC08 for ; Sun, 22 Jul 2012 11:56:30 +0000 (UTC) Received: from smtp2h.mail.yandex.net (smtp2h.mail.yandex.net [84.201.187.145]) by forward3h.mail.yandex.net (Yandex) with ESMTP id 6E1F51364633 for ; Sun, 22 Jul 2012 15:55:53 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1342958153; bh=mqLsQjg4B6BryDr/FB+czyuQoXfIqjLkjdrdqCLEqR8=; h=Date:From:Reply-To:Message-ID:To:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; b=fV6IBzhdEe4DGpm/qzocX9aO42RdHHuXL4OSdiDsCc6xkiDmLGa6rRC6C5HyRgjD6 b7bY/RlXS8Df1Rmc+u6nmkGKdu3mdTg8PWDKsvFid5jkicbOjMnKVHpCN6B2PyPC8W 02fCF4lA145kSj729T2KIMmDZOCDIyjxKKEHtpsU= Received: from smtp2h.mail.yandex.net (localhost [127.0.0.1]) by smtp2h.mail.yandex.net (Yandex) with ESMTP id 518DB170006C for ; Sun, 22 Jul 2012 15:55:53 +0400 (MSK) Received: from unknown (unknown [77.93.52.20]) by smtp2h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id tqXi0X23-tqXibreu; Sun, 22 Jul 2012 15:55:52 +0400 X-Yandex-Rcpt-Suid: freebsd-questions@FreeBSD.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1342958153; bh=mqLsQjg4B6BryDr/FB+czyuQoXfIqjLkjdrdqCLEqR8=; h=Date:From:X-Mailer:Reply-To:Organization:X-Priority:Message-ID:To: Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Zo4JssSj3ABjDRNj5r8pJ5vDDgme8K4N5FHNmtotlqQxSHX04oe0N7Px5XZ0s31fN qhegQXmIHSbvo5wiX6pzE+1V0VnFjd+PpSRTBS0E6TJlZwv39j2syOqHGSwSLRQ1Wh 0+iNRvJrZiTRc2gXb4+SgbvQeAcHkka2TYwUA/Ek= Date: Sun, 22 Jul 2012 14:55:46 +0300 From: Eugen Konkov X-Mailer: The Bat! (v4.0.24) Professional Organization: ISP FreeLine X-Priority: 3 (Normal) Message-ID: <1805671698.20120722145546@yandex.ru> To: freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Cc: Subject: ipfw counters for tables X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eugen Konkov List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 11:56:31 -0000 Hi I use ipfw tables to allow host to access to internet. is there counter for matched packets/bytes for table entry like for ipfw rule? #ipfw show 901 rule packets bytes 00901 302271108 27717115967 allow ip from 10.10.1.3 to any #ipfw table 7 list ---table(7)--- 10.7.60.41/32 100 No counters here ((( -- Eugen mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 12:20:26 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 31CFD106566B for ; Sun, 22 Jul 2012 12:20:26 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id F391D8FC08 for ; Sun, 22 Jul 2012 12:20:16 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6MCJmjJ001634; Sun, 22 Jul 2012 14:19:51 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6MCJhwk001631; Sun, 22 Jul 2012 14:19:46 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 22 Jul 2012 14:19:43 +0200 (CEST) From: Wojciech Puchar To: Thomas Mueller In-Reply-To: Message-ID: References: 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 passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Sun, 22 Jul 2012 14:19:53 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 12:20:26 -0000 > > Let us securely erase your personal files and pictures for only $49.99. and securely copy everything interesting before. That's truly funny. Someone DO CARE about his/her data being deleted, and... lets someone else in random shop to do this. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 13:29:26 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A9C8F106566B for ; Sun, 22 Jul 2012 13:29:26 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 35D308FC15 for ; Sun, 22 Jul 2012 13:29:26 +0000 (UTC) Received: from [188.174.214.14] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1SswDs-0002P1-R6 for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 15:29:25 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id q6MDTN1j007556 for ; Sun, 22 Jul 2012 15:29:23 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id q6MDTMkk007555 for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 15:29:22 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sun, 22 Jul 2012 15:29:22 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Message-ID: <20120722132922.GA7524@tinyCurrent> References: <20120721155922.GA4774@tinyCurrent> <20120722063818.GA2445@tinyCurrent> <500BAD93.5080007@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <500BAD93.5080007@infracaninophile.co.uk> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 188.174.214.14 Subject: Re: setting up an openssl client/server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 13:29:26 -0000 El día Sunday, July 22, 2012 a las 08:36:51AM +0100, Matthew Seaman escribió: > On 22/07/2012 07:38, Matthias Apitz wrote: > > What it is missing, as well in the pages of www.openssl.org and > > www.freebsd.org, is a complete step by step guide to make certificates > > and keys to SSL a simple client/server communition, or at least I can't > > see them. > > I've found TinyCA (ports: security/tinyca) to be simple and easy to use > for setting up a personal certification authority. Just remember not to > fill in the e-mail field when creating a HTTPS server cert if you want > the filename of the cert to be based on the site URL. > Thanks for the hint, but this did not help, it (perl) dumps core; and as well it does no help to dig into the details. With Google I found out how to build new certificates for the example code (works now) and I'm still trying to understand all the details. Here is for the records how one can get it working; matthias configure and compile the source using openssl from the ports: $ tar xzf openssl-examples-20020110.tar.gz $ cd openssl-examples-20020110 $ ./configure --with-openssl=/usr/local/openssl\ --with-openssl-inc=/usr/local/include\ --with-openssl-lib=/usr/local/lib $ make generate new certs and keys as described here: http://www.gentoo-wiki.info/OpenSSL (the text below is from the above web site with some changes for FreeBSD) First step Inside the example code directory openssl-examples-20020110 do ( for FreeBSD use 'openssl' from /usr/local/bin ) $ PATH=/usr/local/bin:$PATH $ mkdir newca $ cd newca ( orig: $ cp /etc/ssl/misc/CA.sh . ) for FreeBSD port of openssl use: $ cp /usr/local/openssl/misc/CA.sh . $ ./CA.sh -newca will create a new CA. Remember the passphrase as you will need it to sign certificates. $ cp demoCA/cacert.pem ../root.pem Second step $ ./CA.sh -newreq will create a certificate and a certification request. Set the passphrase to 'password' as this is hard-coded in the examples' source code. It is important to set the [Common Name] to 'localhost'. Third step $ ./CA.sh -sign will sign your newly created certificate. Enter the password for your CA which you have defined in step 1. Fourth step $ cat newreq.pem newkey.pem newcert.pem > ../localhost.pem $ cd .. $ ln -s localhost.pem server.pem $ ln -s localhost.pem client.pem Maybe you also want to issue $ openssl dhparam 1024 -2 -out dh1024.pem -outform PEM in order to update the DH parameters. The above setup will only work for local testing. If you want to use OpenSSL to connect between different hosts, you either have to disable the common name and host name comparison in client.c in order to be able to use the same certificate on all hosts which may pose a security problem, or repeat steps two and three above with the correct host names (FQDN - fully qualified domain name, ie. host name plus domain name) instead of 'localhost'. Final note: if the SSL_get_verify_result() method in client.c returns the error code 10 (outdated certificate), also check the CA's certificate (root.pem) expiration date! In my case, I tried to set the expiration time 100 years in the future -- which resulted in a point of time in the past possibly due to a number overflow. -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 14:16:04 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 42044106564A for ; Sun, 22 Jul 2012 14:16:04 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id C2E028FC15 for ; Sun, 22 Jul 2012 14:16:03 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id E3936E6270; Sun, 22 Jul 2012 15:17:45 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=mail; bh=hpyRRhPjDM3B k/E4ZOrWMUsK1Es=; b=B6vN6GKfR4vv/kH5mZkzXRqv2pJ/lsnrgf1ozvMW/ADI K+I3O1mGL03iod9409spzsDjhML+4sUq74i2MyOJzDySqRXDVA0ZMBMdhGfteIjJ WPbRzbSneeETrd7772EhXV84O30usiHit2Nf/EfDwUXQvigNDHxRyIuqTiM4bx8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=mail; b=vlGfLO T/4NZ7q+G/CwmWn+/R2Hk5fzYGBER9KxA+SgmjSefua5sEBNg3FLkdPf0MrPd3Gt qmK+QMEAcFOJcbjkWDAgFZ+UsEoDq5jneHtRpb7axGGxNpz/1j15tPFKNUjbHpWe jN3W5CTbml3QTzMV/3tBQ05rH0CJkRu56Jfzs= Received: from [192.168.2.11] (unknown [93.89.81.205]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id C668DE626F; Sun, 22 Jul 2012 15:17:45 +0100 (BST) Message-ID: <500C0B21.3020001@cran.org.uk> Date: Sun, 22 Jul 2012 15:16:01 +0100 From: Bruce Cran User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Robert Bonomi References: <201207221038.q6MAc8kW022215@mail.r-bonomi.com> In-Reply-To: <201207221038.q6MAc8kW022215@mail.r-bonomi.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 14:16:04 -0000 On 22/07/2012 11:38, Robert Bonomi wrote: > Needless to say, that approach doesn't work under Windows. 'dd if=/dev/zero of=/dev/sda bs=1M' works under Cygwin - or you can just write a load of zeros to \\.\PhysicalDrive0 . -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 14:41:58 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E40E0106564A for ; Sun, 22 Jul 2012 14:41:58 +0000 (UTC) (envelope-from yanglei.fage@gmail.com) Received: from mail-qa0-f54.google.com (mail-qa0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9CE438FC17 for ; Sun, 22 Jul 2012 14:41:58 +0000 (UTC) Received: by qaat11 with SMTP id t11so827947qaa.13 for ; Sun, 22 Jul 2012 07:41:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=B3Mxad6jqrJyy5V1yC9JKhGPwhmMx40W7bNpumR6igA=; b=xCwT9dQmGQE6frxVOK9ofaTGyTCOM3iZQD/zaIxBnZkzfPGzj6+xsSZxInREnwEmrl 7/spFoWT4fWhJfuIViAskMnuw8lyc0PbqFEH2COTE8sQbwfHeXvsCi3d1KVTeggWoSrW ZLADwuuJbeVZHuJO9ZNhkC0c43MlUBkg+WPLclFXJ2BBdEPoEyX0j6kDZ0zq8YgVywTS 8klNbeCuPmtYNBsvZpmhaBCve/mgjRqllhV4SsHXy5SWmR4V+H+SC9zUJDhnawiVj3rp CZBXdvGAQtg949TPvt9h2Y/5GH6KiTJCKfzXBQV3wnOGVHqdeKb+0J1ANkNMw+HfLfVj 5HYA== MIME-Version: 1.0 Received: by 10.224.187.136 with SMTP id cw8mr20084744qab.70.1342968117925; Sun, 22 Jul 2012 07:41:57 -0700 (PDT) Received: by 10.229.169.132 with HTTP; Sun, 22 Jul 2012 07:41:57 -0700 (PDT) Date: Sun, 22 Jul 2012 22:41:57 +0800 Message-ID: From: lei yang To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: help about free bsp version netcat to work it on ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 14:41:59 -0000 Hi, I want to build a "netcat" on my local pc (ubuntu) with gcc, is it possible? I'm new to free bsd I have to quesion: 1)where to download it's source it for "netcat" 2)how to build it on ubuntu with gcc? only make? Thanks Lei From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 15:02:11 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 45468106564A for ; Sun, 22 Jul 2012 15:02:11 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id A03F68FC0C for ; Sun, 22 Jul 2012 15:02:10 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6MF20OZ002625; Sun, 22 Jul 2012 17:02:00 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6MF204R002622; Sun, 22 Jul 2012 17:02:00 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 22 Jul 2012 17:01:59 +0200 (CEST) From: Wojciech Puchar To: Bruce Cran In-Reply-To: <500C0B21.3020001@cran.org.uk> Message-ID: References: <201207221038.q6MAc8kW022215@mail.r-bonomi.com> <500C0B21.3020001@cran.org.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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Sun, 22 Jul 2012 17:02:00 +0200 (CEST) Cc: freebsd-questions@freebsd.org, Robert Bonomi Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 15:02:11 -0000 > 'dd if=/dev/zero of=/dev/sda bs=1M' works under Cygwin - or you can just > write a load of zeros to \\.\PhysicalDrive0 . who prevents you to bood live CD or pendrive with FreeBSD (or openbsd,netbsd,linux,solaris,whatever usable)? > > -- > Bruce Cran > _______________________________________________ > freebsd-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 Jul 22 15:09:01 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 959041065670 for ; Sun, 22 Jul 2012 15:09:01 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [93.89.92.64]) by mx1.freebsd.org (Postfix) with ESMTP id 419F18FC14 for ; Sun, 22 Jul 2012 15:09:01 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 610E3E6270; Sun, 22 Jul 2012 16:10:40 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=mail; bh=mY0giLYBo5Nb bXIvj9Cub+w6nJY=; b=V0du+8k28kwZzDptRKFxzM5OHxyaDgeL/EKFcZ7Imqdb WY4g1wbGrjomYOJPqcvs8jdt1ME0+NkAiT90y7s0apIdvR1uGOmccUzUBEGBF6iN 7HFrT24PtVnfrVtufk9bzNldxiBKklw+3YSx6A1k36h+M43JcaouMrraadaO1jE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=mail; b=v2nFrA K7WoJpP31IEW7UkuA77bpSOwiTT+xkkWHNrjCZU6DDf70oGPRXI4tLeV9Jc48ZxK NzV2TBtfyV9R1pxsk2zTYTuL0MoaCjO1mFMpxcKUKfb4jlHGFWCj4Ttur2WNDpH/ bZYHR61ohVU3ZIrtfHJ+3fg94hR75SMIhsf5Q= Received: from [192.168.2.11] (unknown [93.89.81.205]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 3C6B9E626F; Sun, 22 Jul 2012 16:10:40 +0100 (BST) Message-ID: <500C1788.8000505@cran.org.uk> Date: Sun, 22 Jul 2012 16:08:56 +0100 From: Bruce Cran User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Wojciech Puchar References: <201207221038.q6MAc8kW022215@mail.r-bonomi.com> <500C0B21.3020001@cran.org.uk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, Robert Bonomi Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 15:09:01 -0000 On 22/07/2012 16:01, Wojciech Puchar wrote: >> 'dd if=/dev/zero of=/dev/sda bs=1M' works under Cygwin - or you can >> just write a load of zeros to \\.\PhysicalDrive0 . > > who prevents you to bood live CD or pendrive with FreeBSD (or > openbsd,netbsd,linux,solaris,whatever usable)? Nobody - I didn't say users couldn't boot from a FreeBSD/etc live CD, but zeroing the disk in Cygwin is an alternative. -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 15:20:56 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2EDCA106566B for ; Sun, 22 Jul 2012 15:20:56 +0000 (UTC) (envelope-from david+dated+1343402453.5b6463@skytracker.ca) Received: from 3s1.com (3s1.com [209.161.205.12]) by mx1.freebsd.org (Postfix) with ESMTP id 8BB6D8FC12 for ; Sun, 22 Jul 2012 15:20:55 +0000 (UTC) Received: from 3s1.com (localhost [127.0.0.1]) by 3s1.com (8.14.4/8.14.4) with ESMTP id q6MFKrwS067580 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 22 Jul 2012 11:20:53 -0400 (EDT) (envelope-from david+dated+1343402453.5b6463@skytracker.ca) Received: (from david@localhost) by 3s1.com (8.14.4/8.14.4/Submit) id q6MFKrBm067579 for questions@freebsd.org; Sun, 22 Jul 2012 11:20:53 -0400 (EDT) (envelope-from david+dated+1343402453.5b6463@skytracker.ca) X-Authentication-Warning: 3s1.com: david set sender to david+dated+1343402453.5b6463@skytracker.ca using -f Received: by 3s1.com (tmda-sendmail, from uid 1000); Sun, 22 Jul 2012 11:20:52 -0400 Date: Sun, 22 Jul 2012 11:20:51 -0400 To: Raimund Steger Message-ID: <20120722152051.GA65867@skytracker.ca> References: <20120721155117.GA48493@skytracker.ca> <500BE6A6.401@mytum.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <500BE6A6.401@mytum.de> User-Agent: Mutt/1.4.2.3i X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: David Banning Cc: questions@freebsd.org Subject: Re: error compiling mplayer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 22 Jul 2012 15:20:56 -0000 > That doesn't look like a problem with mplayer per se, rather with your=20 > GTK or XRANDR install. I wonder if these two versions of gtk could represent a problem; [root@3s1 ~]# cd /var/db/pkg [root@3s1 /var/db/pkg]# ls -tld *gtk* drwxr-xr-x 2 root wheel 512 Jul 12 17:40 gtk-2.22.1_1 drwxr-xr-x 2 root wheel 512 Jul 3 10:05 linux-scim-gtk-fc4-1.4.4 drwxr-xr-x 2 root wheel 512 May 8 23:31 gtk-1.2.10_22 [root@3s1 /var/db/pkg]# >=20 > What do the following commands return: >=20 > nm -D /usr/local/lib/libgdk-x11-2.0.so|grep XRRGetOutputPrimary > nm -D /usr/local/lib/libXrandr.so|grep XRRGetOutputPrimary Here it is; [root@3s1 ~]# nm -D /usr/local/lib/libgdk-x11-2.0.so|grep XRRGetOutputPrima= ry=20 U XRRGetOutputPrimary [root@3s1 ~]# nm -D /usr/local/lib/libXrandr.so|grep XRRGetOutputPrimary [root@3s1 ~]# > Additionally, a somewhat larger snippet of your compilation output would= =20 > be helpful, where at least the linker invocation that triggered that=20 > error occurs. Kind of messy; =20 =3D=3D=3D> Building for mplayer-1.0.r20120322_2 gmake -C ffmpeg libpostproc/libpostproc.a gmake[1]: Entering directory `/usr/ports/multimedia/mplayer/work/mplayer-ex= port-2012-03-22/ffmpeg' gmake[1]: `libpostproc/libpostproc.a' is up to date. gmake[1]: Leaving directory `/usr/ports/multimedia/mplayer/work/mplayer-exp= ort-2012-03-22/ffmpeg' gmake -C ffmpeg libavfilter/libavfilter.a gmake[1]: Entering directory `/usr/ports/multimedia/mplayer/work/mplayer-ex= port-2012-03-22/ffmpeg' gmake[1]: `libavfilter/libavfilter.a' is up to date. gmake[1]: Leaving directory `/usr/ports/multimedia/mplayer/work/mplayer-exp= ort-2012-03-22/ffmpeg' gmake -C ffmpeg libavformat/libavformat.a gmake[1]: Entering directory `/usr/ports/multimedia/mplayer/work/mplayer-ex= port-2012-03-22/ffmpeg' gmake[1]: `libavformat/libavformat.a' is up to date. gmake[1]: Leaving directory `/usr/ports/multimedia/mplayer/work/mplayer-exp= ort-2012-03-22/ffmpeg' gcc46 -o mplayer command.o m_property.o mixer.o mp_fifo.o mplayer.o parser-= mpcmd.o pnm_loader.o input/input.o libao2/ao_mpegpes.o libao2/ao_null.o lib= ao2/ao_pcm.o libao2/audio_out.o libvo/aspect.o libvo/geometry.o libvo/video= _out.o libvo/vo_mpegpes.o libvo/vo_null.o sub/spuenc.o libvo/vo_dga.o libvo= /vo_png.o gui/util/bitmap.o gui/util/list.o gui/util/string.o gui/app.o gui= /cfg.o gui/interface.o gui/skin/font.o gui/skin/skin.o gui/ui/actions.o gui= /ui/gtk/about.o gui/ui/gtk/equalizer.o gui/ui/gtk/fileselect.o gui/ui/gtk/m= enu.o gui/ui/gtk/msgbox.o gui/ui/gtk/playlist.o gui/ui/gtk/preferences.o gu= i/ui/gtk/skinbrowser.o gui/ui/gtk/tools.o gui/ui/gtk/url.o gui/ui/main.o gu= i/ui/menu.o gui/ui/playbar.o gui/ui/render.o gui/ui/video.o gui/ui/widgets.= o gui/util/cut.o gui/wm/ws.o gui/wm/wsxdnd.o libvo/vo_jpeg.o libvo/vo_md5su= m.o udp_sync.o libao2/ao_oss.o libvo/vo_pnm.o libvo/vo_tga.o libvo/vo_cvidi= x.o libvo/vosub_vidix.o vidix/vidix.o vidix/drivers.o vidix/dha.o vidix/mtr= r.o vidix/pci.o vidix/pci_names.o vidix/pci_dev_ids.o vidix/cyberblade_vid.= o vidix/mach64_vid.o vidix/mga_vid.o vidix/mga_crtc2_vid.o vidix/nvidia_vid= .o vidix/pm2_vid.o vidix/pm3_vid.o vidix/radeon_vid.o vidix/rage128_vid.o v= idix/s3_vid.o vidix/sis_vid.o vidix/sis_bridge.o vidix/unichrome_vid.o libv= o/vo_x11.o libvo/vo_xover.o libvo/x11_common.o libvo/vo_xv.o libvo/vo_xvidi= x.o libvo/vo_yuv4mpeg.o asxparser.o bstr.o codec-cfg.o cpudetect.o edl.o fm= t-conversion.o m_config.o m_option.o m_struct.o mp_msg.o mp_strings.o mpcom= mon.o parser-cfg.o path.o playtree.o playtreeparser.o subopt-helper.o libaf= /af.o libaf/af_center.o libaf/af_channels.o libaf/af_comp.o libaf/af_delay.= o libaf/af_dummy.o libaf/af_equalizer.o libaf/af_extrastereo.o libaf/af_for= mat.o libaf/af_gate.o libaf/af_hrtf.o libaf/af_karaoke.o libaf/af_pan.o lib= af/af_resample.o libaf/af_scaletempo.o libaf/af_sinesuppress.o libaf/af_sta= ts.o libaf/af_sub.o libaf/af_surround.o libaf/af_sweep.o libaf/af_tools.o l= ibaf/af_volnorm.o libaf/af_volume.o libaf/filter.o libaf/format.o libaf/reo= rder_ch.o libaf/window.o libmpcodecs/ad.o libmpcodecs/ad_alaw.o libmpcodecs= /ad_dk3adpcm.o libmpcodecs/ad_dvdpcm.o libmpcodecs/ad_hwac3.o libmpcodecs/a= d_hwmpa.o libmpcodecs/ad_imaadpcm.o libmpcodecs/ad_msadpcm.o libmpcodecs/ad= _pcm.o libmpcodecs/dec_audio.o libmpcodecs/dec_teletext.o libmpcodecs/dec_v= ideo.o libmpcodecs/img_format.o libmpcodecs/mp_image.o libmpcodecs/pullup.o= libmpcodecs/vd.o libmpcodecs/vd_hmblck.o libmpcodecs/vd_lzo.o libmpcodecs/= vd_mpegpes.o libmpcodecs/vd_mtga.o libmpcodecs/vd_null.o libmpcodecs/vd_raw= .o libmpcodecs/vd_sgi.o libmpcodecs/vf.o libmpcodecs/vf_1bpp.o libmpcodecs/= vf_2xsai.o libmpcodecs/vf_blackframe.o libmpcodecs/vf_boxblur.o libmpcodecs= /vf_crop.o libmpcodecs/vf_cropdetect.o libmpcodecs/vf_decimate.o libmpcodec= s/vf_delogo.o libmpcodecs/vf_denoise3d.o libmpcodecs/vf_detc.o libmpcodecs/= vf_dint.o libmpcodecs/vf_divtc.o libmpcodecs/vf_down3dright.o libmpcodecs/v= f_dsize.o libmpcodecs/vf_dvbscale.o libmpcodecs/vf_eq.o libmpcodecs/vf_eq2.= o libmpcodecs/vf_expand.o libmpcodecs/vf_field.o libmpcodecs/vf_fil.o libmp= codecs/vf_filmdint.o libmpcodecs/vf_fixpts.o libmpcodecs/vf_flip.o libmpcod= ecs/vf_format.o libmpcodecs/vf_framestep.o libmpcodecs/vf_gradfun.o libmpco= decs/vf_halfpack.o libmpcodecs/vf_harddup.o libmpcodecs/vf_hqdn3d.o libmpco= decs/vf_hue.o libmpcodecs/vf_il.o libmpcodecs/vf_ilpack.o libmpcodecs/vf_iv= tc.o libmpcodecs/vf_kerndeint.o libmpcodecs/vf_mirror.o libmpcodecs/vf_nofo= rmat.o libmpcodecs/vf_noise.o libmpcodecs/vf_ow.o libmpcodecs/vf_palette.o = libmpcodecs/vf_perspective.o libmpcodecs/vf_phase.o libmpcodecs/vf_pp7.o li= bmpcodecs/vf_pullup.o libmpcodecs/vf_rectangle.o libmpcodecs/vf_remove_logo= .o libmpcodecs/vf_rgbtest.o libmpcodecs/vf_rotate.o libmpcodecs/vf_sab.o li= bmpcodecs/vf_scale.o libmpcodecs/vf_smartblur.o libmpcodecs/vf_softpulldown= .o libmpcodecs/vf_stereo3d.o libmpcodecs/vf_softskip.o libmpcodecs/vf_swapu= v.o libmpcodecs/vf_telecine.o libmpcodecs/vf_test.o libmpcodecs/vf_tfields.= o libmpcodecs/vf_tile.o libmpcodecs/vf_tinterlace.o libmpcodecs/vf_unsharp.= o libmpcodecs/vf_vo.o libmpcodecs/vf_yadif.o libmpcodecs/vf_yuvcsp.o libmpc= odecs/vf_yvu9.o libmpdemux/aac_hdr.o libmpdemux/asfheader.o libmpdemux/avih= eader.o libmpdemux/aviprint.o libmpdemux/demuxer.o libmpdemux/demux_aac.o l= ibmpdemux/demux_asf.o libmpdemux/demux_audio.o libmpdemux/demux_avi.o libmp= demux/demux_demuxers.o libmpdemux/demux_film.o libmpdemux/demux_fli.o libmp= demux/demux_lmlm4.o libmpdemux/demux_mf.o libmpdemux/demux_mkv.o libmpdemux= /demux_mov.o libmpdemux/demux_mpg.o libmpdemux/demux_nsv.o libmpdemux/demux= _pva.o libmpdemux/demux_rawaudio.o libmpdemux/demux_rawvideo.o libmpdemux/d= emux_realaud.o libmpdemux/demux_real.o libmpdemux/demux_roq.o libmpdemux/de= mux_smjpeg.o libmpdemux/demux_ts.o libmpdemux/demux_ty.o libmpdemux/demux_t= y_osd.o libmpdemux/demux_viv.o libmpdemux/demux_vqf.o libmpdemux/demux_y4m.= o libmpdemux/ebml.o libmpdemux/extension.o libmpdemux/mf.o libmpdemux/mp3_h= dr.o libmpdemux/mp_taglists.o libmpdemux/mpeg_hdr.o libmpdemux/mpeg_packeti= zer.o libmpdemux/parse_es.o libmpdemux/parse_mp4.o libmpdemux/video.o libmp= demux/yuv4mpeg.o libmpdemux/yuv4mpeg_ratio.o osdep/getch2.o osdep/timer-lin= ux.o stream/open.o stream/stream.o stream/stream_bd.o stream/stream_cue.o s= tream/stream_file.o stream/stream_mf.o stream/stream_null.o stream/url.o su= b/eosd.o sub/find_sub.o sub/osd.o sub/spudec.o sub/sub.o sub/sub_cc.o sub/s= ubreader.o sub/vobsub.o stream/stream_dvdnav.o libdvdnav/dvdnav.o libdvdnav= /highlight.o libdvdnav/navigation.o libdvdnav/read_cache.o libdvdnav/remap.= o libdvdnav/searching.o libdvdnav/settings.o libdvdnav/vm/decoder.o libdvdn= av/vm/vm.o libdvdnav/vm/vmcmd.o stream/stream_dvd.o stream/stream_dvd_commo= n.o libdvdread4/bitreader.o libdvdread4/dvd_input.o libdvdread4/dvd_reader.= o libdvdread4/dvd_udf.o libdvdread4/ifo_print.o libdvdread4/ifo_read.o libd= vdread4/md5.o libdvdread4/nav_print.o libdvdread4/nav_read.o libvo/aclib.o = av_helpers.o av_opts.o libaf/af_lavcac3enc.o libaf/af_lavcresample.o libmpc= odecs/ad_ffmpeg.o libmpcodecs/ad_spdif.o libmpcodecs/vd_ffmpeg.o libmpcodec= s/vf_geq.o libmpcodecs/vf_lavc.o libmpcodecs/vf_lavcdeint.o libmpcodecs/vf_= screenshot.o libmpdemux/demux_lavf.o stream/stream_ffmpeg.o sub/av_sub.o li= bmpcodecs/vf_fspp.o libmpcodecs/vf_mcdeint.o libmpcodecs/vf_qp.o libmpcodec= s/vf_spp.o libmpcodecs/vf_uspp.o sub/font_load_ft.o stream/stream_ftp.o lib= mpcodecs/vf_bmovl.o libaf/af_export.o osdep/mmap_anon.o libmpcodecs/vd_ijpg= .o libmpcodecs/vf_ass.o sub/ass_mp.o sub/subassconvert.o libass/ass.o libas= s/ass_bitmap.o libass/ass_cache.o libass/ass_drawing.o libass/ass_font.o li= bass/ass_fontconfig.o libass/ass_library.o libass/ass_parse.o libass/ass_re= nder.o libass/ass_render_api.o libass/ass_shaper.o libass/ass_strtod.o liba= ss/ass_utils.o libdvdcss/css.o libdvdcss/device.o libdvdcss/error.o libdvdc= ss/ioctl.o libdvdcss/libdvdcss.o libmpcodecs/vd_libmpeg2.o libmpeg2/alloc.o= libmpeg2/cpu_accel.o libmpeg2/cpu_state.o libmpeg2/decode.o libmpeg2/heade= r.o libmpeg2/idct.o libmpeg2/motion_comp.o libmpeg2/slice.o libmpeg2/idct_m= mx.o libmpeg2/motion_comp_mmx.o libmpcodecs/ad_mp3lib.o mp3lib/sr1.o mp3lib= /decode_i586.o mp3lib/dct36_3dnow.o mp3lib/dct64_3dnow.o mp3lib/dct36_k7.o = mp3lib/dct64_k7.o mp3lib/dct64_mmx.o mp3lib/decode_mmx.o mp3lib/dct64_sse.o= stream/stream_rtsp.o stream/freesdp/common.o stream/freesdp/errorlist.o st= ream/freesdp/parser.o stream/librtsp/rtsp.o stream/librtsp/rtsp_rtp.o strea= m/librtsp/rtsp_session.o stream/stream_netstream.o stream/asf_mmst_streamin= g.o stream/asf_streaming.o stream/cookies.o stream/http.o stream/network.o = stream/pnm.o stream/rtp.o stream/udp.o stream/tcp.o stream/stream_rtp.o str= eam/stream_udp.o stream/realrtsp/asmrp.o stream/realrtsp/real.o stream/real= rtsp/rmff.o stream/realrtsp/sdpplin.o stream/realrtsp/xbuffer.o libmpcodecs= /vd_mpng.o libmpcodecs/vf_pp.o libmpcodecs/ad_qtaudio.o libmpcodecs/vd_qtvi= deo.o libmpcodecs/ad_speex.o stream/cache2.o tremor/bitwise.o tremor/block.= o tremor/codebook.o tremor/floor0.o tremor/floor1.o tremor/framing.o tremor= /info.o tremor/mapping0.o tremor/mdct.o tremor/registry.o tremor/res012.o t= remor/sharedbook.o tremor/synthesis.o tremor/window.o stream/stream_tv.o st= ream/tv.o stream/frequencies.o stream/tvi_dummy.o stream/tvi_bsdbt848.o sub= /unrar_exec.o stream/stream_vcd.o libmpcodecs/ad_libvorbis.o libmpdemux/dem= ux_ogg.o loader/wrapper.o loader/elfdll.o loader/ext.o loader/ldt_keeper.o = loader/module.o loader/pe_image.o loader/pe_resource.o loader/registry.o lo= ader/resource.o loader/win32.o libmpcodecs/ad_acm.o libmpcodecs/ad_dmo.o li= bmpcodecs/ad_dshow.o libmpcodecs/ad_twin.o libmpcodecs/vd_dmo.o libmpcodecs= /vd_dshow.o libmpcodecs/vd_vfw.o libmpcodecs/vd_vfwex.o libmpdemux/demux_av= s.o loader/afl.o loader/drv.o loader/vfl.o loader/dshow/DS_AudioDecoder.o l= oader/dshow/DS_Filter.o loader/dshow/DS_VideoDecoder.o loader/dshow/allocat= or.o loader/dshow/cmediasample.o loader/dshow/graph.o loader/dshow/guids.o = loader/dshow/inputpin.o loader/dshow/mediatype.o loader/dshow/outputpin.o l= oader/dmo/DMO_AudioDecoder.o loader/dmo/DMO_VideoDecoder.o loader/dmo/buffe= r.o loader/dmo/dmo.o loader/dmo/dmo_guids.o libmpcodecs/vd_xanim.o osdep/sh= mem.o ffmpeg/libpostproc/libpostproc.a ffmpeg/libavfilter/libavfilter.a ffm= peg/libavformat/libavformat.a ffmpeg/libavcodec/libavcodec.a ffmpeg/libswsc= ale/libswscale.a ffmpeg/libswresample/libswresample.a ffmpeg/libavutil/liba= vutil.a -lm -rpath=3D/usr/lib:/usr/local/lib -Wl,-rpath=3D/usr/local/lib/= gcc46 -liconv /usr/lib/libncurses.so -lpng -lz -ljpeg -L/usr/local/lib -lf= reetype -lz -lfontconfig -lz /usr/lib/libbz2.so -lspeex -pthread -rdynami= c -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -lXext -lX11 -pthread= -lXss -lXv -lXinerama -lXxf86vm -lXxf86dga -pthread -lgtk-x11-2.0 -lgdk-x1= 1-2.0 -latk-1.0 -lpangocairo-1.0 -lXext -lXrender -lXinerama -lXi -lXrandr = -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 = -lXfixes -lcairo -lX11 -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.= 0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lglib-2.0 /usr/local/lib/libgdk-x11-2.0.so: undefined reference to `XRRGetScreenResou= rcesCurrent' /usr/local/lib/libgdk-x11-2.0.so: undefined reference to `XRRGetOutputPrima= ry' collect2: ld returned 1 exit status gmake: *** [mplayer] Error 1 *** Error code 1 Stop in /usr/ports/multimedia/mplayer. *** Error code 1 Stop in /usr/ports/multimedia/mplayer. [root@3s1 /usr/ports/multimedia/mplayer]# From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 16:14:11 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 22AE71065670 for ; Sun, 22 Jul 2012 16:14:11 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id CF05B8FC08 for ; Sun, 22 Jul 2012 16:14:10 +0000 (UTC) Received: from r56.edvax.de (port-92-195-22-218.dynamic.qsc.de [92.195.22.218]) by mx01.qsc.de (Postfix) with ESMTP id 8D04D3CDCB; Sun, 22 Jul 2012 18:14:03 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q6MGE2bc002741; Sun, 22 Jul 2012 18:14:02 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 22 Jul 2012 18:14:02 +0200 From: Polytropon To: Bruce Cran Message-Id: <20120722181402.9fec82f0.freebsd@edvax.de> In-Reply-To: <500C1788.8000505@cran.org.uk> References: <201207221038.q6MAc8kW022215@mail.r-bonomi.com> <500C0B21.3020001@cran.org.uk> <500C1788.8000505@cran.org.uk> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Wojciech Puchar , freebsd-questions@freebsd.org, Robert Bonomi Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 16:14:11 -0000 On Sun, 22 Jul 2012 16:08:56 +0100, Bruce Cran wrote: > On 22/07/2012 16:01, Wojciech Puchar wrote: > >> 'dd if=/dev/zero of=/dev/sda bs=1M' works under Cygwin - or you can > >> just write a load of zeros to \\.\PhysicalDrive0 . > > > > who prevents you to bood live CD or pendrive with FreeBSD (or > > openbsd,netbsd,linux,solaris,whatever usable)? > > Nobody - I didn't say users couldn't boot from a FreeBSD/etc live CD, > but zeroing the disk in Cygwin is an alternative. Installing Cygwin on a "Windows" PC is nothing an average user could achieve easily. The _idea_ of booting something else is also no typical approach. That's why professional companies offer a paid service so the user does not have to invest his valuable time in educating himself about alternatives what he cannot do _natively_ with his "Windows". It's a simple market decision which seems to work (or they wouldn't care to offer it). Furthermore, in your example using Cygnwin's dd _on_ the disk Cygnwin is currently running from, and the "Windows" it runs on too, doesn't seem like a very good idea. I assume it will result in a bluescreen soon and a _partially_ erased disk. By the way, I remember I had a DD.EXE program on my old DOS system. I'm not sure if such a tool could operate on devices (instead of filesystem-based representations as "drive letters"), but it actually _was_ a DOS-based "copy & convert" utility for the PC. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 16:25:48 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26E43106566B for ; Sun, 22 Jul 2012 16:25:48 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 370218FC12 for ; Sun, 22 Jul 2012 16:25:47 +0000 (UTC) Received: from r56.edvax.de (port-92-195-22-218.dynamic.qsc.de [92.195.22.218]) by mx01.qsc.de (Postfix) with ESMTP id 6C8703CFAD; Sun, 22 Jul 2012 18:25:46 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q6MGPj2r002775; Sun, 22 Jul 2012 18:25:46 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 22 Jul 2012 18:25:45 +0200 From: Polytropon To: lei yang Message-Id: <20120722182545.39d6b96c.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: help about free bsp version netcat to work it on ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 16:25:48 -0000 On Sun, 22 Jul 2012 22:41:57 +0800, lei yang wrote: > Hi, > > I want to build a "netcat" on my local pc (ubuntu) with gcc, is it > possible? I'm new to free bsd I hope I don't misunderstand your intention: You are trying to build a Linux executable of netcat from FreeBSD's sources? You _do_ know that FreeBSD and Linux (here: Ubuntu) are two totally different operating systems. I'm not sure code is compatible at this level (but it maybe _could_ be, you'd have to try it). The netcat program (nc) is part of the FreeBSD operating system for some time now. There's also a port of netcat in /usr/ports/net/netcat (which can also be used). That port's Makefile lists some sources: ftp://coast.cs.purdue.edu/pub/tools/unix/netutils/netcat/ ftp://ftp.cuhk.edu.hk/pub/packages/security/purdue/netutils/netcat/ http://www.planetmirror.com/pub/lprng/TOOLS/ You could try to use that source distribution as well. > I have to quesion: > 1)where to download it's source it for "netcat" They can be found in /usr/src/contrib/netcat/ once you have extracted the source distribution of FreeBSD. Depending on which version of the OS (branch, revision, platform) you need, you have to select the corresponding archive from one of the download mirrors. Visit http://www.freebsd.org/ to find out where and how to obtain FreeBSD (or components of it). I would suggest using one of the FTP servers that are accessible for you at a good speed. > 2)how to build it on ubuntu with gcc? only make? I'm not even sure Linux will be able to compile FreeBSD sources. A "typical Linux build" would consist of the three commands # ./configure # make # make install but FreeBSD's OS sources don't need the 1st step. The Makefiles distributed also do use "BSD make", not "GNU make" (often refered to as gmake on non-Linux systems). If this isn't the answer to your question, feel free to be more specific. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 17:06:18 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3481E1065672 for ; Sun, 22 Jul 2012 17:06:18 +0000 (UTC) (envelope-from gmx@ross.cx) Received: from www81.your-server.de (www81.your-server.de [213.133.104.81]) by mx1.freebsd.org (Postfix) with ESMTP id E157A8FC08 for ; Sun, 22 Jul 2012 17:06:17 +0000 (UTC) Received: from [92.76.69.32] (helo=michael-think) by www81.your-server.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.74) (envelope-from ) id 1Sszbe-0008Bx-7L; Sun, 22 Jul 2012 19:06:10 +0200 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: "Wojciech Puchar" , "Bruce Cran" References: <201207221038.q6MAc8kW022215@mail.r-bonomi.com> <500C0B21.3020001@cran.org.uk> <500C1788.8000505@cran.org.uk> Date: Sun, 22 Jul 2012 19:06:04 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Michael Ross" Message-ID: In-Reply-To: <500C1788.8000505@cran.org.uk> User-Agent: Opera Mail/12.00 (Win32) X-Authenticated-Sender: gmx@ross.cx X-Virus-Scanned: Clear (ClamAV 0.97.3/15166/Sat Jul 21 23:06:12 2012) Cc: freebsd-questions@freebsd.org, Robert Bonomi Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 17:06:18 -0000 On Sun, 22 Jul 2012 17:08:56 +0200, Bruce Cran wrote: > On 22/07/2012 16:01, Wojciech Puchar wrote: >>> 'dd if=/dev/zero of=/dev/sda bs=1M' works under Cygwin - or you can >>> just write a load of zeros to \\.\PhysicalDrive0 . >> >> who prevents you to bood live CD or pendrive with FreeBSD (or >> openbsd,netbsd,linux,solaris,whatever usable)? > > Nobody - I didn't say users couldn't boot from a FreeBSD/etc live CD, > but zeroing the disk in Cygwin is an alternative. > Microsoft's format.exe can zero a volume, at least in the newer (>2008) versions: /p: : Zeros every sector on the volume for the number of passes specified. http://technet.microsoft.com/en-us/library/cc730730(v=ws.10) Regards, Michael -- Using Opera's revolutionary email client: http://www.opera.com/mail/ From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 17:33:17 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E4F40106564A for ; Sun, 22 Jul 2012 17:33:17 +0000 (UTC) (envelope-from duihi77@gmail.com) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 997C88FC0A for ; Sun, 22 Jul 2012 17:33:17 +0000 (UTC) Received: by ggnm2 with SMTP id m2so5754910ggn.13 for ; Sun, 22 Jul 2012 10:33:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:x-priority:message-id:to:subject:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=xsGeZQ/Tp4xJ46ynyMzjJB3t7BdJTwm4hPHwS08ei9k=; b=JpaPEnDmYdF+Vu2dK3zCndSBG0hnBAVo9CgLv7OzNRgRJxIqirCf2Tm/CEXwWwgmto l3M9tRCzAqMX8m4UmJiarlVwNlAKf52gghw3QY/GdknkmfB+9ILF2R6kJ4UzBEFL5Nle olAkrV/yLfwch8DJhvkbBw48A+eLJa7BumLxHIwev9cZp/x6phHeDiCDuY7g6jnzzn+A b+Y+OgGZSw0ewY+1y4dfm8GwYIqENvZKi67y4jtnZBMxujaRWe+u+gI/oMXOtDHW5BJX WcbJMXg+kYLe5OfFWyvSntjtEC53X9TxFH4tB8j1NBz+rNv2aSTGfV/b9yKjNpsamBds WURw== Received: by 10.50.237.39 with SMTP id uz7mr8892121igc.4.1342978396832; Sun, 22 Jul 2012 10:33:16 -0700 (PDT) Received: from [192.168.2.124] (63-230-62-245.desm.qwest.net. [63.230.62.245]) by mx.google.com with ESMTPS id if4sm4026902igc.10.2012.07.22.10.33.15 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 Jul 2012 10:33:16 -0700 (PDT) Date: Sun, 22 Jul 2012 17:33:10 +0000 From: Duane Hill X-Priority: 3 (Normal) Message-ID: <152375425.20120722173310@gmail.com> To: freebsd-questions@freebsd.org In-Reply-To: References: <201207221038.q6MAc8kW022215@mail.r-bonomi.com> <500C0B21.3020001@cran.org.uk> <500C1788.8000505@cran.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 17:33:18 -0000 Personally, I've always used a product from http://www.jetico.com/. On Sunday, July 22, 2012 at 17:06:04 UTC, gmx@ross.cx confabulated: > On Sun, 22 Jul 2012 17:08:56 +0200, Bruce Cran wrote: >> On 22/07/2012 16:01, Wojciech Puchar wrote: >>>> 'dd if=/dev/zero of=/dev/sda bs=1M' works under Cygwin - or you can >>>> just write a load of zeros to \\.\PhysicalDrive0 . >>> >>> who prevents you to bood live CD or pendrive with FreeBSD (or >>> openbsd,netbsd,linux,solaris,whatever usable)? >> >> Nobody - I didn't say users couldn't boot from a FreeBSD/etc live CD, >> but zeroing the disk in Cygwin is an alternative. >> > Microsoft's format.exe can zero a volume, at least in the newer (>2008) > versions: > /p: : Zeros every sector on the volume for the number of passes > specified. > http://technet.microsoft.com/en-us/library/cc730730(v=ws.10) -- If at first you don't succeed... ...so much for skydiving. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 18:12:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0A90106564A for ; Sun, 22 Jul 2012 18:12:44 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 3C3EE8FC14 for ; Sun, 22 Jul 2012 18:12:44 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 94846E6270; Sun, 22 Jul 2012 19:14:26 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=mail; bh=glNrMWJNS/Tb seAS01hrOxO9wVw=; b=bwZjaktbOgNp5Fp8ppbwabRzM98fmUcwsLsNzCc3T/p/ p0AMHnqQoC9nRQ0qbqzdrp3oI6ZVfaCPBlQsyCj51EeqInvHKZeiNGY6WTo9K643 /OhCkdQqLoIydVVzfKWNMU5S61sZCfIIi04CgoUgnU41c2gPA+v8ydH6n5pASY4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=mail; b=tYkCAH utEBNEZzlv73aAW2OtMjP0sXEgNE9OJU1TTMRAC0udm3sKTF73mv3NC7WiwOrFNh TszXiS2ocoFnfrlXQ54StPg3b0utl6tcJA7/41B41spAtrW6u1UPAbFNqLdHysDv FkCGRjNbb7swa2UPkLHsgsMM/rJh22r1wx33c= Received: from [192.168.2.11] (unknown [93.89.81.205]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 65A6AE626F; Sun, 22 Jul 2012 19:14:26 +0100 (BST) Message-ID: <500C429A.2010702@cran.org.uk> Date: Sun, 22 Jul 2012 19:12:42 +0100 From: Bruce Cran User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Polytropon References: <201207221038.q6MAc8kW022215@mail.r-bonomi.com> <500C0B21.3020001@cran.org.uk> <500C1788.8000505@cran.org.uk> <20120722181402.9fec82f0.freebsd@edvax.de> In-Reply-To: <20120722181402.9fec82f0.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Wojciech Puchar , freebsd-questions@freebsd.org, Robert Bonomi Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 18:12:44 -0000 On 22/07/2012 17:14, Polytropon wrote: > Furthermore, in your example using Cygnwin's dd _on_ the disk > Cygnwin is currently running from, and the "Windows" it runs > on too, doesn't seem like a very good idea. I assume it will > result in a bluescreen soon and a _partially_ erased disk. Sorry, I forgot the say that in this example Windows is booted from \\.\PhysicalDrive1 :) -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 19:27:23 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CC573106564A for ; Sun, 22 Jul 2012 19:27:23 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 6FC048FC0A for ; Sun, 22 Jul 2012 19:27:23 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q6MJSsFs025367 for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 14:28:54 -0500 (CDT) Date: Sun, 22 Jul 2012 14:28:54 -0500 (CDT) From: Robert Bonomi Message-Id: <201207221928.q6MJSsFs025367@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 19:27:23 -0000 > From wojtek@wojtek.tensor.gdynia.pl Sun Jul 22 10:03:46 2012 > Date: Sun, 22 Jul 2012 17:01:59 +0200 (CEST) > From: Wojciech Puchar > To: Bruce Cran > cc: Robert Bonomi , freebsd-questions@freebsd.org > Subject: Re: fsck on FAT32 filesystem? > > > 'dd if=/dev/zero of=/dev/sda bs=1M' works under Cygwin - or you can > > just write a load of zeros to \\.\PhysicalDrive0 . > > who prevents you to bood live CD or pendrive with FreeBSD (or > openbsd,netbsd,linux,solaris,whatever usable)? Merely the real-world FACT that *most* Windows users don't _have_ any such media, _or_ know anthing about how to use it, *if* they had it. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 20:09:36 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 57E3B106566B for ; Sun, 22 Jul 2012 20:09:36 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 090EF8FC19 for ; Sun, 22 Jul 2012 20:09:36 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1St2T2-0005Wr-3G for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 22:09:28 +0200 Received: from bsd1.hq.steg0.eu ([82.139.199.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Jul 2012 22:09:28 +0200 Received: from rs by bsd1.hq.steg0.eu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Jul 2012 22:09:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Raimund Steger Date: Sun, 22 Jul 2012 22:09:15 +0200 Lines: 22 Message-ID: <500C5DEB.5040306@mytum.de> References: <20120721155117.GA48493@skytracker.ca> <500BE6A6.401@mytum.de> <20120722152051.GA65867@skytracker.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: bsd1.hq.steg0.eu User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:14.0) Gecko/20120706 Firefox/14.0 SeaMonkey/2.11 In-Reply-To: <20120722152051.GA65867@skytracker.ca> Subject: Re: error compiling mplayer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 22 Jul 2012 20:09:36 -0000 David Banning wrote: >> That doesn't look like a problem with mplayer per se, rather with your >> GTK or XRANDR install. > > I wonder if these two versions of gtk could represent a problem; This should be fine, 1.x and 2.x can coexist. Scim is unrelated, it's the Linux input engine. The linker command seems OK as well from what I can tell. > [root@3s1 ~]# nm -D /usr/local/lib/libXrandr.so|grep XRRGetOutputPrimary Hm, this should produce output like: bsd1:mplayer)nm -D /usr/local/lib/libXrandr.so|grep XRRGetOutputPrimary 00004230 T XRRGetOutputPrimary The API seems to be a more recent addition, maybe you need to upgrade your libXrandr port? I have libXrandr-1.3.0. Raimund From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 20:11:28 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55921106566B for ; Sun, 22 Jul 2012 20:11:28 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 1170C8FC15 for ; Sun, 22 Jul 2012 20:11:27 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q6MKCxPe025704 for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 15:12:59 -0500 (CDT) Date: Sun, 22 Jul 2012 15:12:59 -0500 (CDT) From: Robert Bonomi Message-Id: <201207222012.q6MKCxPe025704@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: <20120722181402.9fec82f0.freebsd@edvax.de> Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 20:11:28 -0000 > From: Polytropon > Date: Sun, 22 Jul 2012 18:14:02 +0200 > Subject: Re: fsck on FAT32 filesystem? > > By the way, I remember I had a DD.EXE program on my old DOS > system. I'm not sure if such a tool could operate on devices > (instead of filesystem-based representations as "drive letters"), > but it actually _was_ a DOS-based "copy & convert" utility > for the PC. :-) MSDOS/PCDOS had -no- O/S functions to directly access actual disk devices. The ONLY fuctionality provided to the user, by the "O/S" was filesystem based access. To get 'raw' device access, one had to bypass the O/S entirely, and use direct BIOS calls (INT 13h). And, _if_ you went the INT 13H route, you had to include your own custom code in your app for MS 'partition' handling, and possible multiple logical drives inside a single 'extended partition'. There was a fairly widely available "INT 13H" program called 'rawrite" that would copy a file (inside the filesystem on a letter-named drive) to a raw disk device. Commonly used for making bootable UNIXesque floppies under DOS/Windows, from an 'image' file. There was a companion 'rawread', that was much less widely distributed -- few people needed to make a complete disk image file of a physical drive (or logical 'drive letter') under windows. Rawread/rawwrite would work for 'cloning' a *SMALL* physical drive, but *ONLY* if the 'bad sectors' were in the same place(s). They _weren't_ smart enough to write the data intended for what turned out to be a 'bad sector' on the target drive to "somewhere else", and update the FAT accordingly. They only worked on small drives because they only spoke 'CHS' sector addressing, not LBA. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 20:30:20 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2ECBA1065670 for ; Sun, 22 Jul 2012 20:30:20 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id DD5F48FC15 for ; Sun, 22 Jul 2012 20:30:19 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q6MKVpOw025827 for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 15:31:51 -0500 (CDT) Date: Sun, 22 Jul 2012 15:31:51 -0500 (CDT) From: Robert Bonomi Message-Id: <201207222031.q6MKVpOw025827@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: Subject: Re: fsck on FAT32 filesystem?freebsd-questions@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: Sun, 22 Jul 2012 20:30:20 -0000 > From owner-freebsd-questions@freebsd.org Sun Jul 22 07:22:29 2012 > Date: Sun, 22 Jul 2012 14:19:43 +0200 (CEST) > From: Wojciech Puchar > To: Thomas Mueller > Cc: freebsd-questions@freebsd.org > Subject: Re: fsck on FAT32 filesystem? > > > > > Let us securely erase your personal files and pictures for only $49.99. > and securely copy everything interesting before. > > That's truly funny. Someone DO CARE about his/her data being deleted, > and... lets someone else in random shop to do this. And exactly what alternatives _do_ you see for someone who DOES NOT HAVE THE SKILLS, TOOLS, OR RESOURCES, to 'do it themselves'? That's a serious question, not an attack. If someone wants it done, but doesn't have the knowledge/tools/etc. to do it themselves, it appears to me that they have precisely two realistic alternatives: 1) Trust "somebody" to do it, and do it right, or 2) simpl DON'T do it. Putting together what is required to "do it yourself" _is_ out of the question for _most_ Windows users. They don't know _what_ they need to know/learn/have to do the task. Heck they don't know how to find out *what* they need to find out, to learn what is needed to do the task. Yes, in theory, they _could_ learn everything they need to know to do it themselves, but the list of things that a 'know nothing' Windows user has to dig out, understand, and _use_, is incredibly long and daunting. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 20:34:51 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9F68D106566C for ; Sun, 22 Jul 2012 20:34:51 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 4298B8FC0A for ; Sun, 22 Jul 2012 20:34:51 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q6MKaNPT025871 for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 15:36:23 -0500 (CDT) Date: Sun, 22 Jul 2012 15:36:23 -0500 (CDT) From: Robert Bonomi Message-Id: <201207222036.q6MKaNPT025871@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: <500C0B21.3020001@cran.org.uk> Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 20:34:51 -0000 > From owner-freebsd-questions@freebsd.org Sun Jul 22 09:19:24 2012 > Date: Sun, 22 Jul 2012 15:16:01 +0100 > From: Bruce Cran > To: Robert Bonomi > Cc: freebsd-questions@freebsd.org > Subject: Re: fsck on FAT32 filesystem? > > On 22/07/2012 11:38, Robert Bonomi wrote: > > Needless to say, that approach doesn't work under Windows. > > 'dd if=/dev/zero of=/dev/sda bs=1M' works under Cygwin - or you can just > write a load of zeros to \\.\PhysicalDrive0 . I've never seen a Windows installation that _came_with_ cgwin, or an 'average' Windows user that was capable of (a) findingit, (b) comprehending -what- it was, (c) downloading it, (d) installing it, or (e) figuring out how to -use- it.. Aside from those 'minor' difficulties, it's a viable solution. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 20:38:12 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DD9A106566C for ; Sun, 22 Jul 2012 20:38:12 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id B4FCA8FC0C for ; Sun, 22 Jul 2012 20:38:11 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q6MKdhMK025897; Sun, 22 Jul 2012 15:39:43 -0500 (CDT) Date: Sun, 22 Jul 2012 15:39:43 -0500 (CDT) From: Robert Bonomi Message-Id: <201207222039.q6MKdhMK025897@mail.r-bonomi.com> To: freebsd-questions@freebsd.org, yanglei.fage@gmail.com In-Reply-To: Cc: Subject: Re: help about free bsp version netcat to work it on ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 20:38:12 -0000 > From owner-freebsd-questions@freebsd.org Sun Jul 22 09:44:21 2012 > Date: Sun, 22 Jul 2012 22:41:57 +0800 > From: lei yang > To: freebsd-questions@freebsd.org > Subject: help about free bsp version netcat to work it on ubuntu > > Hi, > > I want to build a "netcat" on my local pc (ubuntu) with gcc, is it > possible? I'm new to free bsd > > I have to quesion: > 1)where to download it's source it for "netcat" > 2)how to build it on ubuntu with gcc? only make? Ubuntu is a _LINUX_ distribution. Unrelated to FreeBSD. 'That which works' on FreeBSD is -not- likely to work on a LINUX distro, and vice-versa. If you want to use netcat on FreeBSD, people here can help. If you want to use it on some LINUX distro, your better off asking on a forum for _that_ O/S an istro. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 20:46:22 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5AADB106566C for ; Sun, 22 Jul 2012 20:46:22 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 10B778FC0C for ; Sun, 22 Jul 2012 20:46:21 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q6MKlrjt025975 for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 15:47:53 -0500 (CDT) Date: Sun, 22 Jul 2012 15:47:53 -0500 (CDT) From: Robert Bonomi Message-Id: <201207222047.q6MKlrjt025975@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: <500C429A.2010702@cran.org.uk> Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 20:46:22 -0000 > From owner-freebsd-questions@freebsd.org Sun Jul 22 13:15:00 2012 > Date: Sun, 22 Jul 2012 19:12:42 +0100 > From: Bruce Cran > To: Polytropon > Cc: Wojciech Puchar , > freebsd-questions@freebsd.org, > Robert Bonomi > Subject: Re: fsck on FAT32 filesystem? > > On 22/07/2012 17:14, Polytropon wrote: > > Furthermore, in your example using Cygnwin's dd _on_ the disk > > Cygnwin is currently running from, and the "Windows" it runs > > on too, doesn't seem like a very good idea. I assume it will > > result in a bluescreen soon and a _partially_ erased disk. > > Sorry, I forgot the say that in this example Windows is booted from > \\.\PhysicalDrive1 :) Which assumes you _have_ \\.\PhysicalDrive1, and have a bootable O/S on it, *and* know how to make the machine boot from the 'other disk' *AND* know the 'magic incantation' to invoke the executable to erase the disk in -that- environmnt. Care to guess what percentnage of Windows users fits that criteria? I'm petty sure, albeit without any 'ahrd facts', that it starts with a decimal point, and several zeroes. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 21:00:27 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17BD510656FF for ; Sun, 22 Jul 2012 21:00:09 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 5D6278FC16 for ; Sun, 22 Jul 2012 21:00:09 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q6ML1fqO026079 for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 16:01:41 -0500 (CDT) Date: Sun, 22 Jul 2012 16:01:41 -0500 (CDT) From: Robert Bonomi Message-Id: <201207222101.q6ML1fqO026079@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 21:00:27 -0000 > From: "Michael Ross" > Date: Sun, 22 Jul 2012 19:06:04 +0200 > > On Sun, 22 Jul 2012 17:08:56 +0200, Bruce Cran wrote: > > Microsoft's format.exe can zero a volume, at least in the newer (>2008) > versions: > > /p: : Zeros every sector on the volume for the number of passes > specified. Early versions of format (until the addition of the '/Q' switch) always over- wrote the entire disk. this was how it found the initial 'bad sectors' to be so marked in the FAT. As disk capacities increased, the bad block check took increasingly longer amounts of time. Hence, along with bad-block handling (mapping and substitution) moving into the drive electronics, the introduction of the '/Q' option -- whereby format just overwrote the fat and root diretory, putting all the data blocks on the free list. I haven't had occasion to dissect a copy of format in years, I don't know if it still defaults to one write attemptto every sector on the disk. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 21:11:30 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F9BE106566B for ; Sun, 22 Jul 2012 21:11:30 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-gh0-f182.google.com (mail-gh0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0B0238FC15 for ; Sun, 22 Jul 2012 21:11:29 +0000 (UTC) Received: by ghbz22 with SMTP id z22so5795837ghb.13 for ; Sun, 22 Jul 2012 14:11:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :content-transfer-encoding; bh=XeEX8hIiEWqGwXrEl/EygjmoJ0s5hAbnH6nbiN+B570=; b=nCSIpygIsxF1YM+RpQlQJIPs97OpcS5vOOEhAT4p7w/G1f/29mxplvAT/GJofeSlqo TAeFxzOg9Mec45A6FGULosG4jwjGKh+lp11VvQIhKwAzGUZb/Mng0QLAZSeaZTmFKisR MTj2cou9XvAcGavdv5BFToorK57vTMHKd4FcE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=XeEX8hIiEWqGwXrEl/EygjmoJ0s5hAbnH6nbiN+B570=; b=ldXXW0UCsrT/iljky0oPjnAI5uQIeQGn2ZpCX2JnjzwESOMx0rRep2jdAZBqwyEgHU bhJjPif9vtr28yLA0BiQFijnWi6fR6BfyP1wnp2vRAdiBYJsW8CZsDmM7r0lYRcJzcNj fgrOthiobtgjW7wky6beiBn3sYnI/5p3gzx+hTpegLeGeosq1vGW1WN5fLyXSGiWN4vu mKB/ina0bEbWpkUoFt8yx2d+LvCFIfLN3HUPsAayoGowe9fDV5/OmTKwAd77YhSJXo5b x8AfPoedaWsm+iJmT5Ox9bKWNdPTgS4KhFXdn2dXQivcBKjncztbeWePhp+C/XNGMH1Q gEWw== Received: by 10.236.154.165 with SMTP id h25mr12300902yhk.38.1342991489189; Sun, 22 Jul 2012 14:11:29 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPS id s1sm10742545anl.8.2012.07.22.14.11.27 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 Jul 2012 14:11:28 -0700 (PDT) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3WgJRL0yhkz2CG4F for ; Sun, 22 Jul 2012 17:11:26 -0400 (EDT) Date: Sun, 22 Jul 2012 17:11:25 -0400 From: Jerry To: FreeBSD Message-ID: <20120722171125.1fafca5e@scorpio> In-Reply-To: <201207222101.q6ML1fqO026079@mail.r-bonomi.com> References: <201207222101.q6ML1fqO026079@mail.r-bonomi.com> Organization: seibercom.net X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQn21YFnf0k+XqT2ZOgh2C3uggC7jUV4TmZBvvotENolK0nIgzv9iRtvIyON+Nf7JBmHATX8 Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 21:11:30 -0000 On Sun, 22 Jul 2012 16:01:41 -0500 (CDT) Robert Bonomi articulated: > I haven't had occasion to dissect a copy of format in years, I don't > know if it still defaults to one write attemptto every sector on the > disk. I read on the MS TechNet several years ago that it attempted three writes per sector. That info may be out of date with the never versions of the format program however. -- Jerry â™” Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 21:14:41 2012 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6961106566B for ; Sun, 22 Jul 2012 21:14:41 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward11.mail.yandex.net (forward11.mail.yandex.net [IPv6:2a02:6b8:0:801::1]) by mx1.freebsd.org (Postfix) with ESMTP id 4A2998FC0C for ; Sun, 22 Jul 2012 21:14:41 +0000 (UTC) Received: from smtp13.mail.yandex.net (smtp13.mail.yandex.net [95.108.130.68]) by forward11.mail.yandex.net (Yandex) with ESMTP id ED072E81089 for ; Mon, 23 Jul 2012 01:14:39 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1342991679; bh=i3UMYfqOqhpRWW+MnF2bo2qw1Vzt7pBefD/h3GijI0U=; h=Date:From:Reply-To:Message-ID:To:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; b=gVFt3dnDNNrsP1b9B1vzjRYHxk+zjx6AgMMiZJI+V8DA1K2MjmJVZWsrz1526hZSn 1Y3L2eFoR/xM/Ce5kODxqjkbegB/pFkRG17qKnNYo45cJ08ROTG1PNTmxv6hLVDTtt I0jiRheZM0RO9ZToRvdTq99Zd1aw/rxAAoUIW0Es= Received: from smtp13.mail.yandex.net (localhost [127.0.0.1]) by smtp13.mail.yandex.net (Yandex) with ESMTP id DAF7BE40484 for ; Mon, 23 Jul 2012 01:14:39 +0400 (MSK) Received: from unknown (unknown [77.93.52.18]) by smtp13.mail.yandex.net (nwsmtp/Yandex) with ESMTP id EdGa11BN-EdGOwdD9; Mon, 23 Jul 2012 01:14:39 +0400 X-Yandex-Rcpt-Suid: freebsd-questions@FreeBSD.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1342991679; bh=i3UMYfqOqhpRWW+MnF2bo2qw1Vzt7pBefD/h3GijI0U=; h=Date:From:X-Mailer:Reply-To:Organization:X-Priority:Message-ID:To: Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; b=lIDjU7hAc9j7k9XUUdCKaQiCgUwBYoJYENgf9/wiyjVMvBsA9rBi/tYE30mXG109h ZyX7rrfQCeF7HPBrqS0XSoMuAXPCuQEuzH86q4oBMyYt5OgH5wGQC0VIKoSVY9J2ps nWZwBBL7DlGurQjT2NN7Q1EPHV+WXrtL0nx1rUec= Date: Mon, 23 Jul 2012 00:14:32 +0300 From: Eugen Konkov X-Mailer: The Bat! (v4.0.24) Professional Organization: ISP FreeLine X-Priority: 3 (Normal) Message-ID: <1406172675.20120723001432@yandex.ru> To: freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Cc: Subject: mpd5+igb+9.1prerelease = lag with "youtube HD 1080" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eugen Konkov List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 21:14:41 -0000 Hi http://www.youtube.com/watch?v=H2Lk_6U2864 when I work without vpn connection this video work fine and have a good portion cached, but when I use VPN connection I have a video lag. Have anybody same problem? From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 21:17:54 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E928A1065670 for ; Sun, 22 Jul 2012 21:17:54 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 49F4B8FC19 for ; Sun, 22 Jul 2012 21:17:53 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6MLHlNc004502; Sun, 22 Jul 2012 23:17:47 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6MLHlpN004499; Sun, 22 Jul 2012 23:17:47 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 22 Jul 2012 23:17:46 +0200 (CEST) From: Wojciech Puchar To: Robert Bonomi In-Reply-To: <201207222012.q6MKCxPe025704@mail.r-bonomi.com> Message-ID: References: <201207222012.q6MKCxPe025704@mail.r-bonomi.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 passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Sun, 22 Jul 2012 23:17:47 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 21:17:55 -0000 >> system. I'm not sure if such a tool could operate on devices >> (instead of filesystem-based representations as "drive letters"), >> but it actually _was_ a DOS-based "copy & convert" utility >> for the PC. :-) > > MSDOS/PCDOS had -no- O/S functions to directly access actual disk > devices. The ONLY fuctionality provided to the user, by the "O/S" can we finally stop this off topic thread? it was about fsck on FAT32 filesystem UNDER FREEBSD (because it is in freebsd-questions). From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 21:20:50 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7A9A4106566C for ; Sun, 22 Jul 2012 21:20:50 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 540748FC0C for ; Sun, 22 Jul 2012 21:20:49 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1St3Zz-0000E5-Bk for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 14:20:43 -0700 Date: Sun, 22 Jul 2012 14:20:43 -0700 (PDT) From: Jakub Lach To: freebsd-questions@freebsd.org Message-ID: <1342992043358-5729028.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 22 Jul 2012 21:20:50 -0000 Hi, I was fortunate enough to buy USB 3.0 pendrive, which actually works with FreeBSD just ripped from package! (normal _empty_ FAT filesystem, no garbageware added, no need to format). It actually bounces from 40MB/s limit when reading from it. Writing is about 18MB/s. Device is supposed to be "467x" which should be about 70MB/s. And USB 2.0 hard limit is 60MB/s. Wouldn't be nice to squeeze few additional MB/s? -- View this message in context: http://freebsd.1045724.n5.nabble.com/da0-40-000MB-s-transfers-What-was-rationale-behind-pegging-USB-2-0-at-40MB-s-tp5729028.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 21:23:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFB1E106566B for ; Sun, 22 Jul 2012 21:23:44 +0000 (UTC) (envelope-from gmx@ross.cx) Received: from www81.your-server.de (www81.your-server.de [213.133.104.81]) by mx1.freebsd.org (Postfix) with ESMTP id 9B75B8FC18 for ; Sun, 22 Jul 2012 21:23:44 +0000 (UTC) Received: from [92.76.69.32] (helo=michael-think) by www81.your-server.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.74) (envelope-from ) id 1St3cs-0000Mo-C9; Sun, 22 Jul 2012 23:23:42 +0200 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: freebsd-questions@freebsd.org, "Robert Bonomi" References: <201207222101.q6ML1fqO026079@mail.r-bonomi.com> Date: Sun, 22 Jul 2012 23:23:36 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Michael Ross" Message-ID: In-Reply-To: <201207222101.q6ML1fqO026079@mail.r-bonomi.com> User-Agent: Opera Mail/12.00 (Win32) X-Authenticated-Sender: gmx@ross.cx X-Virus-Scanned: Clear (ClamAV 0.97.3/15166/Sat Jul 21 23:06:12 2012) Cc: Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 21:23:45 -0000 On Sun, 22 Jul 2012 23:01:41 +0200, Robert Bonomi wrote: > I haven't had occasion to dissect a copy of format in years, I don't know > if it still defaults to one write attemptto every sector on the disk. "By default in Windows Vista, the format command writes zeros to the whole disk when a full format is performed." http://support.microsoft.com/kb/941961/en-us With the addition of the "passes"-switch, this seems to imply "one write attempt per sector", but I didn't find any explicit statement to that accord. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 21:29:01 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 55B13106564A for ; Sun, 22 Jul 2012 21:29:01 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 2D4948FC15 for ; Sun, 22 Jul 2012 21:29:01 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1St3i0-00013w-R3 for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 14:29:00 -0700 Date: Sun, 22 Jul 2012 14:29:00 -0700 (PDT) From: Jakub Lach To: freebsd-questions@freebsd.org Message-ID: <1342992540828-5729030.post@n5.nabble.com> In-Reply-To: <1342992043358-5729028.post@n5.nabble.com> References: <1342992043358-5729028.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 22 Jul 2012 21:29:01 -0000 This could be deducted, but I will add for clarity, that I bought USB 3.0 pendrive to use in 2.0 port, to take advantage of 2.0 to the fullest (as 2.0 pendrives have slow flashes inside). -- View this message in context: http://freebsd.1045724.n5.nabble.com/da0-40-000MB-s-transfers-What-was-rationale-behind-pegging-USB-2-0-at-40MB-s-tp5729028p5729030.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 21:32:37 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9169E106564A for ; Sun, 22 Jul 2012 21:32:37 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id EC8E58FC0C for ; Sun, 22 Jul 2012 21:32:36 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6MLWWer004618; Sun, 22 Jul 2012 23:32:32 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6MLWWCh004615; Sun, 22 Jul 2012 23:32:32 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 22 Jul 2012 23:32:32 +0200 (CEST) From: Wojciech Puchar To: Jakub Lach In-Reply-To: <1342992043358-5729028.post@n5.nabble.com> Message-ID: References: <1342992043358-5729028.post@n5.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 passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Sun, 22 Jul 2012 23:32:32 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 22 Jul 2012 21:32:37 -0000 > which actually works with FreeBSD just ripped from > package! (normal _empty_ FAT filesystem, no > garbageware added, no need to format). zero difference. newfs_msdos take a moment. > It actually bounces from 40MB/s limit when reading > from it. > > Writing is about 18MB/s. > > Device is supposed to be "467x" which should > be about 70MB/s. don't treat all advertised data seriously > > And USB 2.0 hard limit is 60MB/s. > > Wouldn't be nice to squeeze few additional > MB/s? how did you measured it. dd if=/dev/da0 of=/dev/null bs=64k ? dd if=/dev/zero of=/dev/da0 bs=64k via msdosfs via mtools ? From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 21:40:16 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7A5F106566B for ; Sun, 22 Jul 2012 21:40:16 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 51B0D8FC08 for ; Sun, 22 Jul 2012 21:40:16 +0000 (UTC) Received: by ggnm2 with SMTP id m2so5803142ggn.13 for ; Sun, 22 Jul 2012 14:40:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :content-transfer-encoding; bh=nHYRkG0jGazPRvsBmslfcxlYbnBleAYjgodmpuADyJM=; b=aoHLRVs/jir5sBlx3d9Wqw8KLtcn5xJqA8GLUFiWP6QDfykzH8zLpNTqmbprqd7ftD n1z+L+FG+GBSVNnaUiRDgzk/MfKsjkJwb0KzEY8N1YLeFqkF7OvIMkItMOsAslQkOi8h /aiL5mBC8/SThv0+5eDAPuxAnPmR101nXIOvk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=nHYRkG0jGazPRvsBmslfcxlYbnBleAYjgodmpuADyJM=; b=n2uCMchGBn1ZshPhO1xm/D1P+tn/Ugz8oamB1IMJ3DCt1bMVah5ei3HpVHNi6C2L4F ASKYo1QQzsvLRq2svqdOtvXzkCItOaEH2H+WhY1n805xnrYY1dQvXH1hTgZJdWrzr36H FxINucPC9vVOR3kHKiY97d1kdLYM+kbbiMeacNyy+eJgVIj8fmx8vN2JWJ6WGuZH8lym Wz6Py1wtOqJIss/XiV4Epm2qfPyhekCQwTNqlh6vlKOq//rkMVIjdqrSjh3dhVu638+q 1EfVDjSWIF8L0Igwt+km/Ojm7hwgWZRi7v5AA/pBUaC+8i0zbtmLYovYpyiMBHc6x4po BJOQ== Received: by 10.236.181.9 with SMTP id k9mr12273836yhm.58.1342993215321; Sun, 22 Jul 2012 14:40:15 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPS id q8sm7144905anl.16.2012.07.22.14.40.13 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 Jul 2012 14:40:14 -0700 (PDT) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3WgK4X1fmMz2CG4F for ; Sun, 22 Jul 2012 17:40:12 -0400 (EDT) Date: Sun, 22 Jul 2012 17:40:11 -0400 From: Jerry To: FreeBSD Message-ID: <20120722174011.6fc5da04@scorpio> In-Reply-To: <201207222031.q6MKVpOw025827@mail.r-bonomi.com> References: <201207222031.q6MKVpOw025827@mail.r-bonomi.com> Organization: seibercom.net X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQmJZHj1XTWrcYCHQu4kyCnYeV80y/El+rVorWybCZ8G7DJUGt+gqa4WyWM52tjv1akBzNVn Subject: Re: fsck on FAT32 filesystem?freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 21:40:16 -0000 On Sun, 22 Jul 2012 15:31:51 -0500 (CDT) Robert Bonomi articulated: > Yes, in theory, they _could_ learn everything they need to know to do > it themselves, but the list of things that a 'know nothing' Windows > user has to dig out, understand, and _use_, is incredibly long and > daunting. I know plenty of "dumber than dirt" *.nix users too. Stupidity is not limited to race, color, sex or operating system. Actually, they are smart enough to get themselves an OS that actually works with virtually all modern hardware and without having to spend countless [hours | days | weeks] attempting to getting such hardware up and running before eventually giving up in some cases. You might have heard about "N" protocol wireless devices that until fairly recently FreeBSD didn't even know existed. Even now the support is limited; however, that is another story. In any case, that is not the subject of this this reply. I have found "HDDerase.exe" to be a useful and in the most important criteria to the FOSS crowd, free. Seriously though, isn't it about time to close this thread? -- Jerry â™” Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 21:56:57 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 17712106566B for ; Sun, 22 Jul 2012 21:56:57 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id E241B8FC08 for ; Sun, 22 Jul 2012 21:56:56 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1St492-0004Dg-Hx for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 14:56:56 -0700 Date: Sun, 22 Jul 2012 14:56:56 -0700 (PDT) From: Jakub Lach To: freebsd-questions@freebsd.org Message-ID: <1342994216549-5729035.post@n5.nabble.com> In-Reply-To: References: <1342992043358-5729028.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 22 Jul 2012 21:56:57 -0000 18MB/s write is figure from few dd if=/dev/zero of=/dev/da0 bs=1 to 15M runs, 13-14MB/s from actual files copied in mc to flash and 36-39MB/s file copied from flash to hdd in mc. dd if=/dev/da0 of=/dev/zero bs=15m gives 33MB/s read. Speaking of advertisements, yes I know but USB 3.0 drives with nice flashes are capable of speeds well above 2.0 limits, and that's the point anyway. Speaking of formatting, I can't agree, as I bought such awfully formatted drive, that it had to be FAT formatted in Windows to be even recognized in FreeBSD as device. And I don't usually have Windows around. -- View this message in context: http://freebsd.1045724.n5.nabble.com/da0-40-000MB-s-transfers-What-was-rationale-behind-pegging-USB-2-0-at-40MB-s-tp5729028p5729035.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 22:45:04 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C195D106566B for ; Sun, 22 Jul 2012 22:45:04 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8FFE18FC0A for ; Sun, 22 Jul 2012 22:45:00 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so10411144pbb.13 for ; Sun, 22 Jul 2012 15:45:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Zmq99gp9/YSNY5PeEGQexyIO1t5uwlNUOxfG5a0wcR8=; b=z6Sr9wIe8kxfK1bjE5p+AcB5gjYlqO5Xys+tVLLy5ssnhjwdRH1k8qAvnGrpvT1ucv J1dLRhrB7QjvXeTx1+1wIJtNEazjFikNSncH6mDaSuIhF9W4f4bjriaBqeZT6O9yWchS JFjAmlMCAkPzxRdcDAV3JPFMmu4uCXNqOI3Nx1Z8Ua4o3QMrgk6lm43xg8Qke1OTszOd 1r/K34woKS8OS4ehqls32U7J7xrvPRJGo2cvrsUTL890FDZQcB52GGA9kKtf+SaraFmo UxPxMCNmJ+MYbV0WhkOfY3TDSktyjleXrg5oxellgMSyIueLij1LZ3CL1XRYWFzVZY/M bkFA== MIME-Version: 1.0 Received: by 10.68.132.166 with SMTP id ov6mr31095212pbb.24.1342997100148; Sun, 22 Jul 2012 15:45:00 -0700 (PDT) Received: by 10.68.227.132 with HTTP; Sun, 22 Jul 2012 15:45:00 -0700 (PDT) In-Reply-To: <1342992043358-5729028.post@n5.nabble.com> References: <1342992043358-5729028.post@n5.nabble.com> Date: Sun, 22 Jul 2012 17:45:00 -0500 Message-ID: From: Adam Vande More To: Jakub Lach Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 22 Jul 2012 22:45:04 -0000 On Sun, Jul 22, 2012 at 4:20 PM, Jakub Lach wrote: > Hi, > > I was fortunate enough to buy USB 3.0 pendrive, > which actually works with FreeBSD just ripped from > package! (normal _empty_ FAT filesystem, no > garbageware added, no need to format). > > It actually bounces from 40MB/s limit when reading > from it. > > Writing is about 18MB/s. > > Device is supposed to be "467x" which should > be about 70MB/s. > > And USB 2.0 hard limit is 60MB/s. > > Wouldn't be nice to squeeze few additional > MB/s? > You are suffering a misunderstanding of how USB 2 works. There is a lot of overhead to it. If you want USB 3 speeds, buy a USB 3 controller. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 23:05:50 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EBF49106564A for ; Sun, 22 Jul 2012 23:05:50 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id C2A998FC08 for ; Sun, 22 Jul 2012 23:05:50 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1St5Di-00040p-36 for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 16:05:50 -0700 Date: Sun, 22 Jul 2012 16:05:50 -0700 (PDT) From: Jakub Lach To: freebsd-questions@freebsd.org Message-ID: <1342998350089-5729042.post@n5.nabble.com> In-Reply-To: References: <1342992043358-5729028.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 22 Jul 2012 23:05:51 -0000 Speaking of misunderstanding, that's certainly possible. How much overhead is "normal" and alternatively, why in FreeBSD USB 2.0 reports as "40MB/s" and not other arbitrary number. I hope I didn't sound like "PLEASE HELP I WANT USB 3.0 SPEEDS ON USB 2.0"... -- View this message in context: http://freebsd.1045724.n5.nabble.com/da0-40-000MB-s-transfers-What-was-rationale-behind-pegging-USB-2-0-at-40MB-s-tp5729028p5729042.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 01:20:06 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B4212106566B for ; Mon, 23 Jul 2012 01:20:06 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7DA248FC12 for ; Mon, 23 Jul 2012 01:20:06 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so10584185pbb.13 for ; Sun, 22 Jul 2012 18:20:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=lRbohQHny510rgGEagqU91mAdydWb6T7aHR3JGcwk+g=; b=QC5+ntqOVEgwtMA2ji1e6xyWga6mjpkV1KvHhujLxhng3j91tbP3itIxPlZqYIMD7g 8w+elqatC9Ug/lesniooFVbBnwowYKEHhMGNMSU9Wrs2SZkhBJhrr5csVHd269BkcFUs XdVWwA4r2YJIUOcMaYOfYBzAOUM7CZlmRZlE4fIPRYp74AsaPWqHLSxurgvt1G0ByPUC saCibdUY+fjK6wgbndqPiGNYhiUc68sT4qvnCJwLITs+GEg4jW66lBKyGhLYwKvJQPEJ NI4VBVrDjgp90Ea5cwRsEcIn6yQ6vaNP4KQCCvFfGcnIblC7O/Y6PKN2n1jh33JfWNsK ypXA== MIME-Version: 1.0 Received: by 10.68.132.166 with SMTP id ov6mr31722787pbb.24.1343006406293; Sun, 22 Jul 2012 18:20:06 -0700 (PDT) Received: by 10.68.227.132 with HTTP; Sun, 22 Jul 2012 18:20:06 -0700 (PDT) In-Reply-To: <1342998350089-5729042.post@n5.nabble.com> References: <1342992043358-5729028.post@n5.nabble.com> <1342998350089-5729042.post@n5.nabble.com> Date: Sun, 22 Jul 2012 20:20:06 -0500 Message-ID: From: Adam Vande More To: Jakub Lach Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 01:20:06 -0000 On Sun, Jul 22, 2012 at 6:05 PM, Jakub Lach wrote: > Speaking of misunderstanding, that's certainly > possible. > > How much overhead is "normal" and alternatively, > why in FreeBSD USB 2.0 reports as "40MB/s" and > not other arbitrary number. > The overhead includes many different things including hardware latency. However the big one is USB communication itself. That is static, you can't change it and it doesn't vary(assuming same communication type). Your reported speeds are typical, and in all likelihood would be very similar under another OS. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 03:13:52 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40DDC106566B for ; Mon, 23 Jul 2012 03:13:52 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (unknown [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 1D6A68FC16 for ; Mon, 23 Jul 2012 03:13:52 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id q6N3DoaT077779 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 22 Jul 2012 20:13:50 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.14.2/Submit) with UUCP id q6N3Dokc077778; Sun, 22 Jul 2012 20:13:50 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: from fbsd81 ([192.168.200.81]) by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA12997; Sun, 22 Jul 12 20:11:06 PDT Date: Mon, 23 Jul 2012 03:10:40 -0700 From: perryh@pluto.rain.com To: bonomi@mail.r-bonomi.com Message-Id: <500d2320.f8bzaFvCSay0b7rK%perryh@pluto.rain.com> References: <201207222012.q6MKCxPe025704@mail.r-bonomi.com> In-Reply-To: <201207222012.q6MKCxPe025704@mail.r-bonomi.com> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 03:13:52 -0000 Robert Bonomi wrote: > MSDOS/PCDOS had -no- O/S functions to directly access actual disk > devices. The ONLY fuctionality provided to the user, by the "O/S" > was filesystem based access. To get 'raw' device access, one had > to bypass the O/S entirely, and use direct BIOS calls (INT 13h). FALSE TO FACT. MSDOS/PCDOS had no _documented_ functions to directly access the disks, bypassing the file system, but the functions _did_ exist. The debugger's "read sector" and "write sector" commands used them, and I suspect chkdsk, scandisk, and format probably also used them although I never had occasion to verify one way or the other. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 04:02:13 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A06611065673 for ; Mon, 23 Jul 2012 04:02:13 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 5C6468FC12 for ; Mon, 23 Jul 2012 04:02:13 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q6N43iBQ029276 for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 23:03:44 -0500 (CDT) Date: Sun, 22 Jul 2012 23:03:44 -0500 (CDT) From: Robert Bonomi Message-Id: <201207230403.q6N43iBQ029276@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: <500d2320.f8bzaFvCSay0b7rK%perryh@pluto.rain.com> Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 04:02:13 -0000 > From perryh@pluto.rain.com Sun Jul 22 22:15:48 2012 > Date: Mon, 23 Jul 2012 03:10:40 -0700 > From: perryh@pluto.rain.com > To: bonomi@mail.r-bonomi.com > Cc: freebsd-questions@freebsd.org > Subject: Re: fsck on FAT32 filesystem? > > Robert Bonomi wrote: > > > MSDOS/PCDOS had -no- O/S functions to directly access actual disk > > devices. The ONLY fuctionality provided to the user, by the "O/S" > > was filesystem based access. To get 'raw' device access, one had > > to bypass the O/S entirely, and use direct BIOS calls (INT 13h). > > FALSE TO FACT. > > MSDOS/PCDOS had no _documented_ functions to directly access the > disks, bypassing the file system, but the functions _did_ exist. I'm sure you can provide the DOS 'function number' for those calls, and cites to published data confirming. > The debugger's "read sector" and "write sector" commands used them, > and I suspect chkdsk, scandisk, and format probably also used them > although I never had occasion to verify one way or the other. My experince in porting MSDOS 3.1 to a non pc-clone architecture was that fdisk, format, chkdsk, debug, and sys all invoked INT 13H directly. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 04:55:25 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D26C106564A for ; Mon, 23 Jul 2012 04:55:25 +0000 (UTC) (envelope-from h.skuhra@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0B11D8FC12 for ; Mon, 23 Jul 2012 04:55:24 +0000 (UTC) Received: by yhfs35 with SMTP id s35so5937441yhf.13 for ; Sun, 22 Jul 2012 21:55:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:message-id:from:to:subject:in-reply-to:references:user-agent :mime-version:content-type; bh=V8ZuxB/IHgpIWm8TRwiNt3/Z1d4xK0oCMADlZir2OTM=; b=G6XyzINJtG8QREH7qdQrc1WI826ez0vmozrT7fJdOGRvCwruTqi3CQ2MEBbdVUiwKK xbeWmdXt3JTasdui4HDgzo6Zy3HxTMmjpRLGnecC7FOzu28kFSZqCJfpiKNykOn+j5Jr BjzDqKMoTfhVN3amBvwZ4wxPi8jQh+BGLm9XvnYSIHmPWPE16UsioQMTHDmwQiKWShn6 sa4X0+BwVbYI8ZSAOiigj43jblIZnQgUFIixzE6vlx0rGm1o8D5gIopQFMoXUQ8PKxJk 0bWPKwn0ht6IjEAdTDuZX8G6CYflHZegXegJqhdg7HltvpEOMmLLzS9//LATtxnsWjlu ZQpw== Received: by 10.236.108.202 with SMTP id q50mr13546141yhg.6.1343019324629; Sun, 22 Jul 2012 21:55:24 -0700 (PDT) Received: from oslo.ath.cx ([2001:470:1f0b:b9a:213:77ff:fead:38d5]) by mx.google.com with ESMTPS id c64sm23317768yhj.17.2012.07.22.21.55.22 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 Jul 2012 21:55:23 -0700 (PDT) Date: Mon, 23 Jul 2012 06:55:19 +0200 Message-ID: <87y5mbdqko.wl%h.skuhra@gmail.com> From: "Herbert J. Skuhra" To: freebsd-questions@freebsd.org In-Reply-To: References: <87fw8yariq.wl%h.skuhra@gmail.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/24.1.50 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Subject: Re: Jails on FreeBSD 9.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: Mon, 23 Jul 2012 04:55:25 -0000 On Sat, 21 Jul 2012 16:10:56 +0200 "Herbert J. Skuhra" wrote: > On Sat, Jul 21, 2012 at 11:24 AM, Herbert J. Skuhra wrote: > > Hi, > > > > ok, this is obviously a pf problem and the reason why the network in > > the jail doesn't work. > > > > ifconfig lo1 create > > ifconfig lo1 10.0.0.10 netmask 0xffffff00 > > nc -s 10.0.0.10 xx.xx.xx.xx 25 > > > > With pf: connections fails; server receives SYN-ACK, but nc continues > > sending SYNs until nc gives up > > > > With ipfw: connection OK > > > > On my Soekris box at home (9.1-PRERELEASE i386) both ipfw and pf works. > > Could this be a bug in the fxp driver? > I have a 2nd machine with a fxp nic. Same problem. Thanks to yongari@ the issue could be resolved on both machines by disabling receive checksum offloading (ifconfig fxp0 -rxsum). -- Herbert From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 04:56:09 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9C901065672 for ; Mon, 23 Jul 2012 04:56:09 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id AE99F8FC19 for ; Mon, 23 Jul 2012 04:56:09 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1StAgi-0006BP-5M for freebsd-questions@freebsd.org; Sun, 22 Jul 2012 21:56:08 -0700 Date: Sun, 22 Jul 2012 21:56:08 -0700 (PDT) From: Jakub Lach To: freebsd-questions@freebsd.org Message-ID: <1343019368157-5729100.post@n5.nabble.com> In-Reply-To: References: <1342992043358-5729028.post@n5.nabble.com> <1342998350089-5729042.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 04:56:09 -0000 Apparently my speeds are pretty decent, as this this advertised speed relates to read speed, and write one is pretty weak. People are reporting 62-70MB/s read and 17-31MB/s write. Are you saying that disk clearly bumping from 40MB/s read barrier (as I saw in midnight commander is my imagination or it's cause is totally unrelated to OS? I thought it's worth investigating, as FreeBSD coincidentally reports USB 2.0 ports as such. -- View this message in context: http://freebsd.1045724.n5.nabble.com/da0-40-000MB-s-transfers-What-was-rationale-behind-pegging-USB-2-0-at-40MB-s-tp5729028p5729100.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 04:59:56 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2CD601065670 for ; Mon, 23 Jul 2012 04:59:56 +0000 (UTC) (envelope-from yanglei.fage@gmail.com) Received: from mail-qa0-f47.google.com (mail-qa0-f47.google.com [209.85.216.47]) by mx1.freebsd.org (Postfix) with ESMTP id D88338FC0A for ; Mon, 23 Jul 2012 04:59:55 +0000 (UTC) Received: by qabg1 with SMTP id g1so972136qab.13 for ; Sun, 22 Jul 2012 21:59:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=OgrA4mDmRmRu7QXc1v5gfcqnvqwnUNzDlZAzR38YoA4=; b=QtY/cRp03rDJnB/XhQjcVglYa2OkxqbrwFob/AbobfC7BVOzKdFZM9wVQN1VAFx+Ra i3xDN04KDTFlp6/Ur2o2wQG2z8kRf4afxbdT+JRG4Fn+u0K/+NtzWP9bDPvsWRu2G8+b 9FlS7G2hoEuBqd+uEVXSx7Fs2WlUqxYZsnDwKa7sKG8ae8IVd2CXgO4xjl6j/QPVn9gW BNgPSEhphKXsy2P4gpFpuB1G9FCgzPOH+uDaU54m4pLRD6ldE4zYhwnrO8HGZ/z2TYlK Y/Vj72Tjhr7H5fhCvvi1SGdYuBlrs3ZcP5eQRf86Im0BikkGrS5XAlJzCeJ005/8i1e4 aW+A== MIME-Version: 1.0 Received: by 10.229.135.195 with SMTP id o3mr6655441qct.87.1343019595168; Sun, 22 Jul 2012 21:59:55 -0700 (PDT) Received: by 10.229.169.132 with HTTP; Sun, 22 Jul 2012 21:59:55 -0700 (PDT) In-Reply-To: <20120722182545.39d6b96c.freebsd@edvax.de> References: <20120722182545.39d6b96c.freebsd@edvax.de> Date: Mon, 23 Jul 2012 12:59:55 +0800 Message-ID: From: lei yang To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: help about free bsp version netcat to work it on ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 04:59:56 -0000 On Mon, Jul 23, 2012 at 12:25 AM, Polytropon wrote: > On Sun, 22 Jul 2012 22:41:57 +0800, lei yang wrote: >> Hi, >> >> I want to build a "netcat" on my local pc (ubuntu) with gcc, is it >> possible? I'm new to free bsd > > I hope I don't misunderstand your intention: You are trying to > build a Linux executable of netcat from FreeBSD's sources? > > You _do_ know that FreeBSD and Linux (here: Ubuntu) are two > totally different operating systems. I'm not sure code is > compatible at this level (but it maybe _could_ be, you'd > have to try it). > > The netcat program (nc) is part of the FreeBSD operating > system for some time now. There's also a port of netcat > in /usr/ports/net/netcat (which can also be used). That > port's Makefile lists some sources: > > ftp://coast.cs.purdue.edu/pub/tools/unix/netutils/netcat/ > > ftp://ftp.cuhk.edu.hk/pub/packages/security/purdue/netutils/netcat/ > > http://www.planetmirror.com/pub/lprng/TOOLS/ > > You could try to use that source distribution as well. > > Thanks for the great help, I have built it successfully on my ubuntu. I find it's not the version I want I want use the version on Rehat,which has a "-U" flag( yes, I want to use this flag) but the above version has no this flag on redhat: usage: nc [-46DdhklnrStUuvzC] [-i interval] [-p source_port] [-s source_ip_address] [-T ToS] [-w timeout] [-X proxy_version] [-x proxy_address[:port]] [hostname] [port[s]] Command Summary: -4 Use IPv4 -6 Use IPv6 -D Enable the debug socket option -d Detach from stdin -h This help text -i secs Delay interval for lines sent, ports scanned -k Keep inbound sockets open for multiple connects -l Listen mode, for inbound connects -n Suppress name/port resolutions -p port Specify local port for remote connects -r Randomize remote ports -s addr Local source address -T ToS Set IP Type of Service -C Send CRLF as line-ending -t Answer TELNET negotiation -U Use UNIX domain socket -u UDP mode -v Verbose -w secs Timeout for connects and final net reads -X proto Proxy protocol: "4", "5" (SOCKS) or "connect" -x addr[:port] Specify proxy address and port -z Zero-I/O mode [used for scanning] Port numbers can be individual or ranges: lo-hi [inclusive] ------------------------------------------------------------------------------------------------------------------ with the above you list: lyang0@lyang0-OptiPlex-755:~/tmp/nc110$ ./nc -help [v1.10] connect to somewhere: nc [-options] hostname port[s] [ports] ... listen for inbound: nc -l -p port [-options] [hostname] [port] options: -g gateway source-routing hop point[s], up to 8 -G num source-routing pointer: 4, 8, 12, ... -h this cruft -i secs delay interval for lines sent, ports scanned -l listen mode, for inbound connects -n numeric-only IP addresses, no DNS -o file hex dump of traffic -p port local port number -r randomize local and remote ports -s addr local source address -u UDP mode -v verbose [use twice to be more verbose] -w secs timeout for connects and final net reads -z zero-I/O mode [used for scanning] port numbers can be individual or ranges: lo-hi [inclusive] it has no "-U" flag, can you point me where I get this version Lei > >> I have to quesion: >> 1)where to download it's source it for "netcat" > > They can be found in /usr/src/contrib/netcat/ once you have > extracted the source distribution of FreeBSD. Depending on > which version of the OS (branch, revision, platform) you > need, you have to select the corresponding archive from > one of the download mirrors. > > Visit http://www.freebsd.org/ to find out where and how > to obtain FreeBSD (or components of it). I would suggest > using one of the FTP servers that are accessible for you > at a good speed. > > > >> 2)how to build it on ubuntu with gcc? only make? > > I'm not even sure Linux will be able to compile FreeBSD > sources. A "typical Linux build" would consist of the > three commands > > # ./configure > # make > # make install > > but FreeBSD's OS sources don't need the 1st step. The > Makefiles distributed also do use "BSD make", not "GNU make" > (often refered to as gmake on non-Linux systems). > > > > If this isn't the answer to your question, feel free to be > more specific. > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 05:36:34 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9F7981065688 for ; Mon, 23 Jul 2012 05:36:34 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 233F88FC08 for ; Mon, 23 Jul 2012 05:36:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id q6N5RogZ069191; Mon, 23 Jul 2012 15:27:50 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 23 Jul 2012 15:27:50 +1000 (EST) From: Ian Smith To: Eugen Konkov In-Reply-To: <20120722120042.DC8371065678@hub.freebsd.org> Message-ID: <20120723144551.K37097@sola.nimnet.asn.au> References: <20120722120042.DC8371065678@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: ipfw counters for tables X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 05:36:34 -0000 In freebsd-questions Digest, Vol 424, Issue 10, Message: 10 On Sun, 22 Jul 2012 14:55:46 +0300 Eugen Konkov wrote: Hi Eugen, > I use ipfw tables to allow host to access to internet. > is there counter for matched packets/bytes for table entry like for > ipfw rule? > > #ipfw show 901 > rule packets bytes > 00901 302271108 27717115967 allow ip from 10.10.1.3 to any > > #ipfw table 7 list > ---table(7)--- > 10.7.60.41/32 100 > > No counters here ((( No, there are no individual counters for matched entries in tables. Apart from extra space cost, the accounting time cost would be huge; lookups are fast but updating radix trees per match would be very slow. Also, a table may be referenced in multiple rules, or even twice in the same rule, so what could such a count really indicate? Of course, counts for matching the table are in the rule/s concerned: 16100 58300 3060562 deny log logamount 20 ip from table(1) to any in recv ng0 16200 4449 226060 deny log logamount 20 tcp from table(25) to any dst-port 25,110 in recv ng0 setup 23000 45 2700 allow log logamount 100 tcp from table(22) to w.x.y.z dst-port 22 in recv ng0 setup Myself, I'd be more interested in a last-match timestamp than a count for table entries, but that won't happen either for the above reasons :) cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 06:32:00 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CA171065672 for ; Mon, 23 Jul 2012 06:32:00 +0000 (UTC) (envelope-from murthykvvsn@drreddys.com) Received: from mail2.drreddys.com (mail2.drreddys.com [202.3.66.84]) by mx1.freebsd.org (Postfix) with ESMTP id B40DB8FC08 for ; Mon, 23 Jul 2012 06:31:59 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlsHAGbuDFDAqAHI/2dsb2JhbABFhSujHAGOTYMmgmEDI0GBIccEi02DN4McA4hMknqMdw X-IronPort-AV: E=Sophos;i="4.77,637,1336329000"; d="scan'208";a="13743764" Received: from unknown (HELO drreddys.co.in) ([192.168.1.200]) by mail2.drreddys.com with ESMTP; 23 Jul 2012 12:00:49 +0530 From: murthykvvsn@drreddys.com To: freebsd-questions@freebsd.org Message-ID: Date: Mon, 23 Jul 2012 12:14:21 +0530 X-MIMETrack: Serialize by Router on WEBSERV/DRG/IN(Release 8.5.2|August 10, 2010) at 07/23/2012 12:00:54 PM MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: AUTO: KVVSN Murthy is out of the office. (returning 07/25/2012) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 06:32:00 -0000 I am out of the office until 07/25/2012. In my obsence, please coordinate with Mr.KN Rao for PET related activities. Note: This is an automated response to your message "freebsd-questions Digest, Vol 424, Issue 10" sent on 7/22/2012 5:30:41 PM. This is the only notification you will receive while this person is away. Disclaimer This message contains legally privileged and/or confidential information. If you are not the intended recipient(s), or employee or agent responsible for delivery of this message to the intended recipient(s), you are hereby notified that any dissemination, distribution or copying of this e-mail message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this e-mail message from your computer. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 06:32:27 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0ACFE1065675 for ; Mon, 23 Jul 2012 06:32:27 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id A72498FC15 for ; Mon, 23 Jul 2012 06:32:26 +0000 (UTC) Received: by vcbgb22 with SMTP id gb22so2742798vcb.13 for ; Sun, 22 Jul 2012 23:32:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=P35sbou4wq58gkwSIRJQx7iBznnYlaaOOMke0O4llhk=; b=rNj1g6nzORkMpypOwrATM5RnQGvtGuPUS1XYC/Y6mqH/+xxLe7IZ0PeOwsblmHQ9pi KKgwn80k9Uzl4aF6PriMX2vmV0nFMSSXPyp7Lj+vMNJtFwcWaIeOljNN8p0Q+r9Ct6EK FrsClmMuPpCL46F/ERR8g452hjVPIsqiGbOU8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=P35sbou4wq58gkwSIRJQx7iBznnYlaaOOMke0O4llhk=; b=kuYqnHc8PQqeUSojGqqHcLuEuR5zfzWBGE8k9UhbzVnE+AHB4YeIJIDKZK6yoBAKSi s5iKLtwW5WJ6hKswWtBbRNHAzb8KgVKVxl3c44MsFDPDHYYU8Q6nuDTdWtc0SR8WpcTb N4OVH6KZ086eN/77mQ0vKX/31DNm3e/NdLkC6Ebjr2RqxXVcKEB7DoI+jxyZ00yDd+gY 14odcliUNk8QsCUxayD6OCrqFt9EYtFEdYkfKRc5XtwO0sMIRl5JxDfZOv6u74lz11Lb CQbSd1E6qukXnmqpkociqahvREGzDZBY/Mw0SR31BpDAFyzOK/w/iwgGgQt6xqLg/NVh LMFA== Received: by 10.220.204.212 with SMTP id fn20mr11364066vcb.43.1343025145268; Sun, 22 Jul 2012 23:32:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.193.10 with HTTP; Sun, 22 Jul 2012 23:31:54 -0700 (PDT) In-Reply-To: <87y5mbdqko.wl%h.skuhra@gmail.com> References: <87fw8yariq.wl%h.skuhra@gmail.com> <87y5mbdqko.wl%h.skuhra@gmail.com> From: Eitan Adler Date: Sun, 22 Jul 2012 23:31:54 -0700 Message-ID: To: "Herbert J. Skuhra" Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQn15Xa2yyMzdmSmPBnwICgJyvGfVxx0Ao+ZZo0mxVFC8UNM6nzi7YM8uoJbL++R9OYU9wdi Cc: freebsd-questions@freebsd.org Subject: Re: Jails on FreeBSD 9.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: Mon, 23 Jul 2012 06:32:27 -0000 On 22 July 2012 21:55, Herbert J. Skuhra wrote: > On Sat, 21 Jul 2012 16:10:56 +0200 > "Herbert J. Skuhra" wrote: > >> On Sat, Jul 21, 2012 at 11:24 AM, Herbert J. Skuhra wrote: >> > Hi, >> > >> > ok, this is obviously a pf problem and the reason why the network in >> > the jail doesn't work. >> > >> > ifconfig lo1 create >> > ifconfig lo1 10.0.0.10 netmask 0xffffff00 >> > nc -s 10.0.0.10 xx.xx.xx.xx 25 >> > >> > With pf: connections fails; server receives SYN-ACK, but nc continues >> > sending SYNs until nc gives up >> > >> > With ipfw: connection OK >> > >> > On my Soekris box at home (9.1-PRERELEASE i386) both ipfw and pf works. >> >> Could this be a bug in the fxp driver? >> I have a 2nd machine with a fxp nic. Same problem. > > Thanks to yongari@ the issue could be resolved on both machines by > disabling receive checksum offloading (ifconfig fxp0 -rxsum). If this is a fxp bug, can you please file a PR explaining the issue and how to reproduce it? -- Eitan Adler From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 07:40:23 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5B6E1065674 for ; Mon, 23 Jul 2012 07:40:23 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 1E5E48FC08 for ; Mon, 23 Jul 2012 07:40:22 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6N7eKbk007635; Mon, 23 Jul 2012 09:40:21 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6N7eKjr007632; Mon, 23 Jul 2012 09:40:20 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 23 Jul 2012 09:40:20 +0200 (CEST) From: Wojciech Puchar To: Jakub Lach In-Reply-To: <1342994216549-5729035.post@n5.nabble.com> Message-ID: References: <1342992043358-5729028.post@n5.nabble.com> <1342994216549-5729035.post@n5.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 passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Mon, 23 Jul 2012 09:40:21 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 07:40:23 -0000 > dd if=/dev/zero of=/dev/da0 bs=1 to 15M > > runs, 13-14MB/s from actual files copied > in mc to flash and 36-39MB/s file copied > from flash to hdd in mc. > > dd if=/dev/da0 of=/dev/zero bs=15m > > gives 33MB/s read. and this is incredibly high as of any pendrive. Consider few things: - pendrive flash mappers are incredibly dumb, they work in usable speed when you do linear write only. - today lies are standard. never believe in stated performance unless you measure it. > even recognized in FreeBSD as device. what i do with any pendrive: dd if=/dev/zero of=/dev/da0 bs=64k count=1 newfs_msdosfs /dev/da0 (if i want FAT filesystem) partition table is not needed in any OS, including Windows starting from XP. msdosfs in FreeBSD isn't high performance too. try writing small amount of huge files. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 07:41:20 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AED41106564A for ; Mon, 23 Jul 2012 07:41:20 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 07E958FC23 for ; Mon, 23 Jul 2012 07:41:19 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6N7fIAp007641; Mon, 23 Jul 2012 09:41:18 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6N7fIPG007638; Mon, 23 Jul 2012 09:41:18 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 23 Jul 2012 09:41:18 +0200 (CEST) From: Wojciech Puchar To: Jakub Lach In-Reply-To: <1342992043358-5729028.post@n5.nabble.com> Message-ID: References: <1342992043358-5729028.post@n5.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 passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Mon, 23 Jul 2012 09:41:19 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 07:41:20 -0000 > And USB 2.0 hard limit is 60MB/s. i have never seen USB 2.0 exceeding 35MB/s write and 40MB/s read. even when connecting SATA disk over USB-SATA bridge. 60MB/s is wire speed. USB have enormous protocol overhead. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 07:53:04 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8A001065675 for ; Mon, 23 Jul 2012 07:53:04 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (unknown [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 8AE628FC19 for ; Mon, 23 Jul 2012 07:53:04 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id q6N7r2ps092921 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 23 Jul 2012 00:53:02 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.14.2/Submit) with UUCP id q6N7r2sN092920; Mon, 23 Jul 2012 00:53:02 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: from fbsd81 ([192.168.200.81]) by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA14000; Mon, 23 Jul 12 00:41:55 PDT Date: Mon, 23 Jul 2012 07:41:28 -0700 From: perryh@pluto.rain.com To: bonomi@mail.r-bonomi.com Message-Id: <500d6298.mW4a90i/Zh2U1/xR%perryh@pluto.rain.com> References: <201207230403.q6N43iBQ029276@mail.r-bonomi.com> In-Reply-To: <201207230403.q6N43iBQ029276@mail.r-bonomi.com> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 07:53:04 -0000 Robert Bonomi wrote: > > MSDOS/PCDOS had no _documented_ functions to directly access the > > disks, bypassing the file system, but the functions _did_ exist. > > I'm sure you can provide the DOS 'function number' for those calls, > and cites to published data confirming. They may have involved a dedicated INT or two, e.g. INT 25H and/or INT 26H, rather than INT 21H with a function number in AX. I could have provided specifics 25 years ago :) when I was involved with this stuff on a daily basis. I have no idea whether it was ever published, but it was well known to those of us who were using it in system-level utilities. > > The debugger's "read sector" and "write sector" commands used them, > > and I suspect chkdsk, scandisk, and format probably also used them > > although I never had occasion to verify one way or the other. > > My experince in porting MSDOS 3.1 to a non pc-clone architecture was > that fdisk, format, chkdsk, debug, and sys all invoked INT 13H directly. I've got you beat in seniority :) I was mostly working on 2.x, and got out of the business somewhere around 3.1 or 3.2. I think I'd remember if our stuff had quit working when 3.x came along, but it's possible that those interfaces were only retained for compatibility -- to avoid breaking old 3rd-party code -- and that the MS userland had been revised to call the BIOS directly (since by then the market consisted almost entirely of PCs and clones -- decidedly not the case in the 2.0-2.1 timeframe). BTW fdisk _would_ always have had to use BIOS calls, or some other platform-specific mechanism, since the direct disk access in DOS was restricted to the DOS partition(s). The parameters were something like buffer address, logical drive number (0 => A:, 2 => C:, etc.), starting sector within the logical drive, and number of sectors. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 09:08:28 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B8191065672 for ; Mon, 23 Jul 2012 09:08:28 +0000 (UTC) (envelope-from h.skuhra@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 47E708FC18 for ; Mon, 23 Jul 2012 09:08:28 +0000 (UTC) Received: by yenl8 with SMTP id l8so6110977yen.13 for ; Mon, 23 Jul 2012 02:08:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=nuQq9EN/kdeBfBq1/WjtZ5131Y/BJdAOD7MVbka0LHY=; b=hqExoYtuMAOwBr9Bn9YRiUV2PH/9syL0dhL+ZIVdRjAgv3rGqdanV+tdG/F1Z1mQsG DxzJKGyEM9C+cyTVNWALrq+Kf72tCCdCFfdO7t8+A34UBWRUbrDGw6BAz/2eQA56Qlkx m/y74RsWJPCb7m/+gbyCsL9+t0GfjU2qHQTgwOQnl0SX/qHRx6L2XouJpl1qd/u7u6sX LXh/VgZsxRhMsCHk2+azGYWJJgFr7NsUcXwaii8ZVy65r4Ql7oQTgQv9s6+cGDbECXTN +zRJ9qrRx5fCBD7EN1eofQGBPrKO67i2K0IWj51+DrfIWB2DVzOuTJmHB45f15+2llzN TopA== MIME-Version: 1.0 Received: by 10.66.78.196 with SMTP id d4mr616668pax.76.1343034501405; Mon, 23 Jul 2012 02:08:21 -0700 (PDT) Received: by 10.68.239.67 with HTTP; Mon, 23 Jul 2012 02:08:21 -0700 (PDT) In-Reply-To: References: <87fw8yariq.wl%h.skuhra@gmail.com> <87y5mbdqko.wl%h.skuhra@gmail.com> Date: Mon, 23 Jul 2012 11:08:21 +0200 Message-ID: From: "Herbert J. Skuhra" To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: Re: Jails on FreeBSD 9.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: Mon, 23 Jul 2012 09:08:28 -0000 On Mon, Jul 23, 2012 at 8:31 AM, Eitan Adler wrote: > If this is a fxp bug, can you please file a PR explaining the issue > and how to reproduce it? kern/170081 -- Herbert From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 09:44:54 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75EC8106564A; Mon, 23 Jul 2012 09:44:54 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from blu0-omc1-s9.blu0.hotmail.com (blu0-omc1-s9.blu0.hotmail.com [65.55.116.20]) by mx1.freebsd.org (Postfix) with ESMTP id 32B0A8FC0C; Mon, 23 Jul 2012 09:44:54 +0000 (UTC) Received: from BLU0-SMTP157 ([65.55.116.7]) by blu0-omc1-s9.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 23 Jul 2012 02:43:47 -0700 X-Originating-IP: [180.215.31.69] X-Originating-Email: [bourne.identity@hotmail.com] Message-ID: Received: from [127.0.0.1] ([180.215.31.69]) by BLU0-SMTP157.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Mon, 23 Jul 2012 02:43:44 -0700 Date: Mon, 23 Jul 2012 15:16:04 +0530 From: Manish Jain User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Matthias Apitz References: <201207210840.18122.erichfreebsdlist@ovitrap.com> <20120721133611.GA3755@tinyCurrent> In-Reply-To: <20120721133611.GA3755@tinyCurrent> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 23 Jul 2012 09:43:45.0919 (UTC) FILETIME=[A75398F0:01CD68B7] Cc: Erich Dollansky , freebsd-questions@freebsd.org, brix@freebsd.org Subject: Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.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: Mon, 23 Jul 2012 09:44:54 -0000 On 21-Jul-12 19:06, Matthias Apitz wrote: > El día Saturday, July 21, 2012 a las 06:01:11PM +0530, Manish Jain escribió: > >> Hello Erich/Matthias, >> >> Thanks for your responses. >> >> I do not have the usbdump command on my system. usbconfig gives the >> following output : >> ... >> ugen0.2:> Conversion> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON >> ugen1.2: at usbus1, cfg=0 md=HOST >> spd=FULL (12Mbps) pwr=ON >> ugen2.2: at usbus2, cfg=0 md=HOST spd=HIGH >> (480Mbps) pwr=SAVE >> >> >> PFA ppp.log. As you will find, it repeatedly complains of /dev/cuaU0.0 >> being an invalid file. But the output of 'ls -l' shows the contrary : >> >> ... >> crw-rw---- 1 uucp dialer 0, 143 Jul 21 17:38 cuaU0.0 >> crw-rw---- 1 uucp dialer 0, 144 Jul 21 17:38 cuaU0.0.init >> crw-rw---- 1 uucp dialer 0, 145 Jul 21 17:38 cuaU0.0.lock >> crw-rw---- 1 uucp dialer 0, 149 Jul 21 17:38 cuaU0.1 >> crw-rw---- 1 uucp dialer 0, 150 Jul 21 17:38 cuaU0.1.init >> crw-rw---- 1 uucp dialer 0, 151 Jul 21 17:38 cuaU0.1.lock >> crw-rw---- 1 uucp dialer 0, 155 Jul 21 17:38 cuaU0.2 >> crw-rw---- 1 uucp dialer 0, 156 Jul 21 17:38 cuaU0.2.init >> crw-rw---- 1 uucp dialer 0, 157 Jul 21 17:38 cuaU0.2.lock >> crw-rw---- 1 uucp dialer 0, 44 Jul 21 17:38 cuau0 >> crw-rw---- 1 uucp dialer 0, 45 Jul 21 17:38 cuau0.init >> crw-rw---- 1 uucp dialer 0, 46 Jul 21 17:38 cuau0.lock >> ... >> >> >> Thanks for any tips/help. Which port do I need to install to get usbdump ? > First of all, do not top-post. > > 'usbdump' is part of the system, but only from beginning at some > version; > > Are you sure that /dev/cuaU0.0 belongs to the modem? Please, detach it, > look with 'ls -l /dev/cuaU*' if it went away, attach it again. > Please show the messages from /var/log/messages on attach. > > If the /dev/cuaU0.0 device really belongs to the modem, install 'kermit' > from the ports, create a file ~/.kermrc with > > set line /dev/cuaU0.0 > set speed 9600 > set escape 21 > set carrier-watch off > set rec pack 1000 > set send pack 1000 > set window 5 > set prompt FreeBSD Kermit> > > and check it you can talk to the modem with kermit; the command ATI2 > should say something about the modem device. > > One should be first able to talk to the modem with a terminal (like > kermit), then bring chat(1) to work and after this watch ppp log, in > that order. > > HIH > > matthias Hi, I am still stuck because I can't know the syntax to run usbdump. usbdump says use the id's provided by lsusb but I forgot to install sysutils/usbutils while I still had the EC1261 Huawei stick. Can someone please send me the sources for this port (sysutils/usbutils) ? I will need the complete sources for PORTVERSION 0.86 as a gzipped tar (please remove freebsd-questions@freebsd.org from addresses if sending), as I cannot currently connect my FreeBSD box to the internet. BTW, cuaU0[.*] are always there on my system, whether my EC1561 stick is plugged in or not. So I am surely using the wrong device as the modem. The following lines are there in my devfs.conf : link ugen0.2 usv own usv root:operator perm usv 666 link cuaU0.0 modem own modem root:operator perm modem 666 Thank you & Regards, Manish Jain +91-99620-10329 From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 10:02:57 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC0D7106566C for ; Mon, 23 Jul 2012 10:02:57 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 91A648FC12 for ; Mon, 23 Jul 2012 10:02:57 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1StFTc-0003EV-FP for freebsd-questions@freebsd.org; Mon, 23 Jul 2012 03:02:56 -0700 Date: Mon, 23 Jul 2012 03:02:56 -0700 (PDT) From: Jakub Lach To: freebsd-questions@freebsd.org Message-ID: <1343037776471-5729143.post@n5.nabble.com> In-Reply-To: References: <1342992043358-5729028.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 10:02:57 -0000 > i have never seen USB 2.0 exceeding 35MB/s write and 40MB/s read. That means I essentially got what I wanted- as high read output as possible on USB 2.0. Thanks. Indeed 35MB/s-40MB/s is common reported maximum throughput. > dd if=/dev/zero of=/dev/da0 bs=64k count=1 > newfs_msdosfs /dev/da0 Apart from bs= that's exactly what I did (Well, there was one /dev/random/ run prior.) What I previously meant is that I had such pendrive, that without former formatting in Windows, didn't even show up as device in FreeBSD- was completely useless. That does not mean I didn't newfs_msdosfsed it after that in FreeBSD (worked perfectly fine since) :) -- View this message in context: http://freebsd.1045724.n5.nabble.com/da0-40-000MB-s-transfers-What-was-rationale-behind-pegging-USB-2-0-at-40MB-s-tp5729028p5729143.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 10:13:56 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D03131065688 for ; Mon, 23 Jul 2012 10:13:56 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward3.mail.yandex.net (forward3.mail.yandex.net [IPv6:2a02:6b8:0:602::3]) by mx1.freebsd.org (Postfix) with ESMTP id DAC7C8FC1A for ; Mon, 23 Jul 2012 10:13:55 +0000 (UTC) Received: from smtp4.mail.yandex.net (smtp4.mail.yandex.net [77.88.46.104]) by forward3.mail.yandex.net (Yandex) with ESMTP id 77E16B425E6; Mon, 23 Jul 2012 14:13:54 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1343038434; bh=tMhYphFWqtywyh+75nvdUxgKZ3j1cN+lmd5wKCu7NMc=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=s0Rr4cu7DO42gKr14Mf8LQS4vQZ/2NjFnTUwie72+SDpU52YGU7GaHSqa4xN3fy6j oKyEXRsrxgvrLK1e25zEFo/QyrDeM8D6/hS+x1cm0T6O9vUE4tR3NH/ovUjZksCTXQ tL63uCXVUwQNnr1r1fG6/TecFfyQR2fyhnZ/kPM0= Received: from smtp4.mail.yandex.net (localhost [127.0.0.1]) by smtp4.mail.yandex.net (Yandex) with ESMTP id 542BF5C02B7; Mon, 23 Jul 2012 14:13:54 +0400 (MSK) Received: from unknown (unknown [77.93.52.20]) by smtp4.mail.yandex.net (nwsmtp/Yandex) with ESMTP id DrKiXlGG-DrKKfVlH; Mon, 23 Jul 2012 14:13:53 +0400 X-Yandex-Rcpt-Suid: smithi@nimnet.asn.au X-Yandex-Rcpt-Suid: freebsd-questions@freebsd.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1343038434; bh=tMhYphFWqtywyh+75nvdUxgKZ3j1cN+lmd5wKCu7NMc=; h=Date:From:X-Mailer:Reply-To:Organization:X-Priority:Message-ID:To: CC:Subject:In-Reply-To:References:MIME-Version:Content-Type: Content-Transfer-Encoding; b=o1tJX7OMtjRXDh/E/JrfFCK98F26M6Ky29lT3ec/XpWi9J3dvhfLlPKaYYADyn7Y3 XEGQt764X4r3EPWXt54Jy006RWCBde7AzYkFZ66ncIVHbxa7WkUNjRpjcu39ibfDkZ 57hjDugVN+kabkpzrU8gAaripNXfcTnvBqDPYkfo= Date: Mon, 23 Jul 2012 13:13:47 +0300 From: Eugen Konkov X-Mailer: The Bat! (v4.0.24) Professional Organization: ISP FreeLine X-Priority: 3 (Normal) Message-ID: <1443021317.20120723131347@yandex.ru> To: Ian Smith In-Reply-To: <20120723144551.K37097@sola.nimnet.asn.au> References: <20120722120042.DC8371065678@hub.freebsd.org> <20120723144551.K37097@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re[2]: ipfw counters for tables X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eugen Konkov List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 10:13:56 -0000 Çäðàâñòâóéòå, Ian. Âû ïèñàëè 23 èþëÿ 2012 ã., 8:27:50: IS> In freebsd-questions Digest, Vol 424, Issue 10, Message: 10 IS> On Sun, 22 Jul 2012 14:55:46 +0300 Eugen Konkov wrote: IS> Hi Eugen, >> I use ipfw tables to allow host to access to internet. >> is there counter for matched packets/bytes for table entry like for >> ipfw rule? >> >> #ipfw show 901 >> rule packets bytes >> 00901 302271108 27717115967 allow ip from 10.10.1.3 to any >> >> #ipfw table 7 list >> ---table(7)--- >> 10.7.60.41/32 100 >> >> No counters here ((( IS> No, there are no individual counters for matched entries in tables. IS> Apart from extra space cost, the accounting time cost would be huge; IS> lookups are fast but updating radix trees per match would be very slow. IS> Also, a table may be referenced in multiple rules, or even twice in the IS> same rule, so what could such a count really indicate? IS> Of course, counts for matching the table are in the rule/s concerned: IS> 16100 58300 3060562 deny log logamount 20 ip from table(1) to any in recv ng0 IS> 16200 4449 226060 deny log logamount 20 tcp from IS> table(25) to any dst-port 25,110 in recv ng0 setup IS> 23000 45 2700 allow log logamount 100 tcp from IS> table(22) to w.x.y.z dst-port 22 in recv ng0 setup but if lookup function will return matched entry, then calling rule may update appropriate counter. matchedentry= lookup_table( PACKETDATA ); updatecounter(matchedentry); #ipfw show 16100 16100 58300 3060562 deny *counttable* log logamount 20 ip from table(1) to any in recv ng0 50000 3000000 10.5.0.1/32 300 562 10.5.0.7/32 8000 60000 10.5.0.2/32 will this be slow? IS> Myself, I'd be more interested in a last-match timestamp than a count IS> for table entries, but that won't happen either for the above reasons :) IS> cheers, Ian -- Ñ óâàæåíèåì, Eugen mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 10:35:27 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ACA8C106566B; Mon, 23 Jul 2012 10:35:27 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.224.110]) by mx1.freebsd.org (Postfix) with ESMTP id 46A9F8FC0C; Mon, 23 Jul 2012 10:35:27 +0000 (UTC) Received: from amd620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q6NAZITI025284; Mon, 23 Jul 2012 04:35:20 -0600 From: Erich Dollansky To: Manish Jain Date: Mon, 23 Jul 2012 17:37:42 +0700 User-Agent: KMail/1.13.7 (FreeBSD/10.0-CURRENT; KDE/4.7.4; amd64; ; ) References: <20120721133611.GA3755@tinyCurrent> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201207231737.43075.erichfreebsdlist@ovitrap.com> Cc: Matthias Apitz , freebsd-questions@freebsd.org, brix@freebsd.org Subject: Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.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: Mon, 23 Jul 2012 10:35:27 -0000 Hi, On Monday 23 July 2012 16:46:04 Manish Jain wrote: > On 21-Jul-12 19:06, Matthias Apitz wrote: > > El d=EDa Saturday, July 21, 2012 a las 06:01:11PM +0530, Manish Jain es= cribi=F3: > > > I am still stuck because I can't know the syntax to run usbdump. usbdump= =20 man usbdump usbconfig gives you the device numbers. > Can someone please send me the sources for this port (sysutils/usbutils)= =20 All you need at this stage is in the base. > (please remove freebsd-questions@freebsd.org from addresses if sending),= =20 > as I cannot currently connect my FreeBSD box to the internet. If we do no other people will be able to help you. >=20 > BTW, cuaU0[.*] are always there on my system, whether my EC1561 stick is= =20 It might be your UPS. Erich From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 10:37:31 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95EF41065675 for ; Mon, 23 Jul 2012 10:37:31 +0000 (UTC) (envelope-from pnz.list@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 574A38FC0A for ; Mon, 23 Jul 2012 10:37:31 +0000 (UTC) Received: by obbun3 with SMTP id un3so12074434obb.13 for ; Mon, 23 Jul 2012 03:37:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=q068g/suk2hnY/F/ue64APkySkMDid668wCXsS8NUc4=; b=OrtAIYj6dxvyQZIBa0XnR4Dg3nz5PvXM5lH5EPHeQZYZlLb96LbG539CgdyvsF2C5O qpjIq/xfy/77oNb3ELhkGES0hR86rBun9c3oyaZYUTxb7HskUB7vfD5ul/3DczXf75/u JEyTNgUroe+gzE9g0cq5IhvE9LD01TDqb5N0awuDrnPhar0IexlBQo4AxSabS3pau0Ns VDlJTgWJEaA/0hekoEXgvsqnt0vrxsXWkp2+AXCgUykY/aWRfCyHDTZ3Q0ja8Ctgj4OB K+IC6vTyYMRwFzVMjWCBmDfuL4NRSPizXDUcXkUWYnIUWGQ/N96WIzOZ9RKm0ElCtrwc rDZQ== Received: by 10.182.226.41 with SMTP id rp9mr20070834obc.22.1343039850813; Mon, 23 Jul 2012 03:37:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.49.1 with HTTP; Mon, 23 Jul 2012 03:37:00 -0700 (PDT) In-Reply-To: <500A2773.1060100@holgerdanske.com> References: <500A2773.1060100@holgerdanske.com> From: Vladislav Date: Mon, 23 Jul 2012 14:37:00 +0400 Message-ID: To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: PCBSD9.0-x64-DVD and Intel HD Graphics 2000 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 10:37:31 -0000 On Sat, Jul 21, 2012 at 7:52 AM, David Christensen < dpchrist@holgerdanske.com> wrote: > freebsd-questions: > > I've installed PCBSD9.0-x64-DVD on the following hardware: > > Intel DQ67SW motherboard > Intel i7-2600S processor > Corsair CMV8GX3M2A1333C9 memory (DDR3, 1333 MHz, 2@4 GB dual) > Intel SSDSC2CW060A310 solid-state drive (520 series, 60 GB) > Nokia 445XiPlus monitor (21" CRT, high bandwidth) > > > For video, I would like to use the Intel HD Graphics 2000 provided by the > processor and motherboard. When I run the PC-BSD Display Settings applet: > > 1. The "intel" and/or "intel-3d-enable" Video Driver settings do not seem > to have any effect. > > 2. The Monitor Settings do not seem to have any effect. > > 3. The Screen Resolution setting seems to work, but I am unable to affect > the refresh rate. (I prefer 1600x1200 @ 85 Hz.) > > > I have updated the system using Update Manager, and the problems persist. > > > Any suggestions? > > > TIA, > > David > ______________________________**_________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions > To unsubscribe, send any mail to "freebsd-questions-** > unsubscribe@freebsd.org " > http://wiki.freebsd.org/Intel_GPU From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 10:48:55 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16563106564A for ; Mon, 23 Jul 2012 10:48:55 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id A37938FC0A for ; Mon, 23 Jul 2012 10:48:54 +0000 (UTC) Received: by ggnm2 with SMTP id m2so6179965ggn.13 for ; Mon, 23 Jul 2012 03:48:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :content-transfer-encoding; bh=KqT3AyY0HkcoO30x+A+1/Cl+jzWCzjHFJyIhwXV5/fg=; b=qRJwuSNTGW3yUL6ZlEj7BbwUgyk3Dka6MqZuWOMCTwgxxQGHzO2WqOMFAKl4nYvn1R C0zlO2g5jueu9tvvQhZXXwxLnvdzHZqr3ERO7/UqniLQCWEIcJJrhxV4Blfrx+SJgq7q XabaWpRhd/aqPHHKRuFMaxMxcDNZOX7FCuo2M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=KqT3AyY0HkcoO30x+A+1/Cl+jzWCzjHFJyIhwXV5/fg=; b=Am1JMm1pYEhp2q90HQGy8OQz/Xq/HUFOTyIdTlUyTAzurEa3zOU8ZTcJhAooCkPDUO i91lbtvVaQc6tyMCf0L7PGmEGVcrClWa9y+kQAPIEYwN0ucfFLr1x3pAMaxBDLzEH3NF /dgmPHUa4KIoGdcnDUYz8KzBlbiMYUSFaT59+dgrZB9HRYM5+aUhv6c2xfgcKAUxmwXA CpoTg2sbC5tDsn6916lfHHFyOgVLUbID4cdclb/1PDwha2FxWdCZvoAtfV83IkDCSU5W MWtgigVXuZkHyWJuEPJkI0iTB9pHwYiI+MR690f9lToSiZe4jJA3KEAlgOtiQz4+KTdS r94A== Received: by 10.236.177.1 with SMTP id c1mr5650432yhm.71.1343040533849; Mon, 23 Jul 2012 03:48:53 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPS id i65sm24474021yhb.3.2012.07.23.03.48.52 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 23 Jul 2012 03:48:52 -0700 (PDT) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3WgfZV6T49z2CG4F for ; Mon, 23 Jul 2012 06:48:50 -0400 (EDT) Date: Mon, 23 Jul 2012 06:48:50 -0400 From: Jerry To: FreeBSD Message-ID: <20120723064850.59451f74@scorpio> In-Reply-To: <1343037776471-5729143.post@n5.nabble.com> References: <1342992043358-5729028.post@n5.nabble.com> <1343037776471-5729143.post@n5.nabble.com> Organization: seibercom.net X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQmBM152K2NvH7u1Ef0UQKcXlOkFHWjDoTPHRcmARtHmwlmFpxHkXDZGVrPN6DgQGWl2GQeq Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 10:48:55 -0000 On Mon, 23 Jul 2012 03:02:56 -0700 (PDT) Jakub Lach articulated: > What I previously meant is that I had such pendrive, that > without former formatting in Windows, didn't even show > up as device in FreeBSD- was completely useless. > > That does not mean I didn't newfs_msdosfsed it after > that in FreeBSD (worked perfectly fine since) :) I experienced that phenomena of a drive not being recognized once also. However, after formatting it in Windows why duplicate it again in FreeBSD? It serves no purpose that I am aware of. By the way, it is too bad that FreeBSD is not able to take advantage of the "exFat" format like other distributions do. -- Jerry â™” Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ Paul Revere was a tattle-tale. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 10:55:57 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E51D0106564A for ; Mon, 23 Jul 2012 10:55:57 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id BB3098FC14 for ; Mon, 23 Jul 2012 10:55:57 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1StGIv-0000tP-EK for freebsd-questions@freebsd.org; Mon, 23 Jul 2012 03:55:57 -0700 Date: Mon, 23 Jul 2012 03:55:57 -0700 (PDT) From: Jakub Lach To: freebsd-questions@freebsd.org Message-ID: <1343040957437-5729157.post@n5.nabble.com> In-Reply-To: <20120723064850.59451f74@scorpio> References: <1342992043358-5729028.post@n5.nabble.com> <1343037776471-5729143.post@n5.nabble.com> <20120723064850.59451f74@scorpio> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 10:55:58 -0000 > However, after formatting it in Windows why duplicate it again in > FreeBSD? Just to check if it works as should, also trim sectors and whatever. Format without partition table? But in this case, no 1 reason was probably most important. -- View this message in context: http://freebsd.1045724.n5.nabble.com/da0-40-000MB-s-transfers-What-was-rationale-behind-pegging-USB-2-0-at-40MB-s-tp5729028p5729157.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 11:11:19 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7460810656B8 for ; Mon, 23 Jul 2012 11:11:19 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id D425D8FC15 for ; Mon, 23 Jul 2012 11:11:18 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6NBBEDM008705 for ; Mon, 23 Jul 2012 13:11:14 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6NBBEvj008702 for ; Mon, 23 Jul 2012 13:11:14 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 23 Jul 2012 13:11:14 +0200 (CEST) From: Wojciech Puchar To: FreeBSD In-Reply-To: <20120723064850.59451f74@scorpio> Message-ID: References: <1342992043358-5729028.post@n5.nabble.com> <1343037776471-5729143.post@n5.nabble.com> <20120723064850.59451f74@scorpio> 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 passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Mon, 23 Jul 2012 13:11:14 +0200 (CEST) Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 11:11:19 -0000 > However, after formatting it in Windows why duplicate it again in > FreeBSD? It serves no purpose that I am aware of. By the way, it is too > bad that FreeBSD is not able to take advantage of the "exFat" format fusefs-exfat in ports still i don't really care, i would reformat in as FAT32 anyway. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 11:11:58 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 783331065693 for ; Mon, 23 Jul 2012 11:11:58 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id D5FCE8FC1B for ; Mon, 23 Jul 2012 11:11:57 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6NBBv4Q008711; Mon, 23 Jul 2012 13:11:57 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6NBBuHi008708; Mon, 23 Jul 2012 13:11:57 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 23 Jul 2012 13:11:56 +0200 (CEST) From: Wojciech Puchar To: Jakub Lach In-Reply-To: <1343040957437-5729157.post@n5.nabble.com> Message-ID: References: <1342992043358-5729028.post@n5.nabble.com> <1343037776471-5729143.post@n5.nabble.com> <20120723064850.59451f74@scorpio> <1343040957437-5729157.post@n5.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 passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Mon, 23 Jul 2012 13:11:57 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 11:11:58 -0000 > Format without partition table? yes. Windows recognizes it properly except Win98/95 (which doesn't work with large USB drives anyway). From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 11:13:30 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5CD12106567F for ; Mon, 23 Jul 2012 11:13:30 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id BF9828FC19 for ; Mon, 23 Jul 2012 11:13:29 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6NBDSjc008717; Mon, 23 Jul 2012 13:13:29 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6NBDSZL008714; Mon, 23 Jul 2012 13:13:28 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 23 Jul 2012 13:13:28 +0200 (CEST) From: Wojciech Puchar To: Jakub Lach In-Reply-To: <1343037776471-5729143.post@n5.nabble.com> Message-ID: References: <1342992043358-5729028.post@n5.nabble.com> <1343037776471-5729143.post@n5.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 passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Mon, 23 Jul 2012 13:13:29 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 11:13:30 -0000 > What I previously meant is that I had such pendrive, that > without former formatting in Windows, didn't even show > up as device in FreeBSD- was completely useless. the result of XXI century "way" of programming - flash translator firmware in that case. They don't even read specs about USB storage, just it is fine if it works (seems to work) in windoze. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 11:14:15 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6395D1065675 for ; Mon, 23 Jul 2012 11:14:15 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id B03658FC1C for ; Mon, 23 Jul 2012 11:14:14 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6NBEDi6008723; Mon, 23 Jul 2012 13:14:13 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6NBEC6W008720; Mon, 23 Jul 2012 13:14:13 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 23 Jul 2012 13:14:12 +0200 (CEST) From: Wojciech Puchar To: perryh@pluto.rain.com In-Reply-To: <500d6298.mW4a90i/Zh2U1/xR%perryh@pluto.rain.com> Message-ID: References: <201207230403.q6N43iBQ029276@mail.r-bonomi.com> <500d6298.mW4a90i/Zh2U1/xR%perryh@pluto.rain.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 passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Mon, 23 Jul 2012 13:14:13 +0200 (CEST) Cc: freebsd-questions@freebsd.org, bonomi@mail.r-bonomi.com Subject: Re: fsck on FAT32 filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 11:14:15 -0000 > > I could have provided specifics 25 years ago :) when I was involved > with this stuff on a daily basis. I have no idea whether it was same as me. still it is off topic. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 10:45:43 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EFA81065670 for ; Mon, 23 Jul 2012 10:45:43 +0000 (UTC) (envelope-from mru258@yahoo.com) Received: from nm1.bullet.mail.bf1.yahoo.com (nm1.bullet.mail.bf1.yahoo.com [98.139.212.160]) by mx1.freebsd.org (Postfix) with SMTP id D74608FC0A for ; Mon, 23 Jul 2012 10:45:42 +0000 (UTC) Received: from [98.139.214.32] by nm1.bullet.mail.bf1.yahoo.com with NNFMP; 23 Jul 2012 10:45:36 -0000 Received: from [98.139.215.251] by tm15.bullet.mail.bf1.yahoo.com with NNFMP; 23 Jul 2012 10:45:36 -0000 Received: from [127.0.0.1] by omp1064.mail.bf1.yahoo.com with NNFMP; 23 Jul 2012 10:45:36 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 190921.77346.bm@omp1064.mail.bf1.yahoo.com Received: (qmail 64046 invoked by uid 60001); 23 Jul 2012 10:45:36 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1343040335; bh=83UAPn61gbsj5K7jp1GRqyLlrDFEE8OMrMHH0oyOf0k=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=NtK8SF0Q4OOyCsJZDn4tl6EdiWirOBy0euwG+RDfEuYl+ijijwKS4UVD2k9KX6I4JhB6s9DgBLAQIHqkyueCs+NeiODRiuN8b8R2iukNP18q04Z/mfiKZJsZlH6z3ALR9CgXC4wkpK+/QKypn4fQLSPfmj0XoPbMfDNEtLruMEk= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=nf2PCkVcnT6dBuGEPhHy2oPx2UpfY7/d18nJ3T6/EHVM+Aj7aOiwRSdAW9Dswb5YoXFNzohMfykhPO80EpvDdEmbr7k2lEES+QCS/w3/KqgEf9EbjV36UXtvXOsUUwKaOtiKM/J5PvFDU+6QsSKoC9TsbQMpB9TVKNKnZkB8nrI=; X-YMail-OSG: TKRua1kVM1l7pp056pS1vUmbacxsrPlfamZqjdAiMF1kkgn xiclgHT84SzTmDk4bDxVemoNoPI4t89STi0rtb3DWyaTka0Pb0Ef0pFXxid. 0Fo5WYzNETXa6zQ8eIku93pTjPNFyRuD8LvECI71NAnFRyeW56IvjSlf.kT5 WPHDdAyB6bCFyjZpjC30aQxG6GDrPvmFEjWEDEskRFkbvnECSHPptU4f4e.n iK1_TenIk38VhnjNorIatsgG99Qnp0mSY0QKCDNet164T9ky7XIg9HAzXq27 0eAeo7Xi_J.7XVOQqR1jfqQuDJyND292UOeVqYopvogGBc.QtxVe2eY87Dk8 tW5kKYks5Lh1qgYqpy_0Pf05ob7x4AbMIx4FyMcOknm.38aJNRU1fULElYDI 84ky6bqNpknfqZkfpauXoyYlLBYWizAVcZqhJjXA05RxNDoKyz_5KMCutx6P EgI6EZ_yWnYk5_ulTpSs.sQ-- Received: from [188.245.200.97] by web140703.mail.bf1.yahoo.com via HTTP; Mon, 23 Jul 2012 03:45:35 PDT X-Mailer: YahooMailWebService/0.8.120.356233 Message-ID: <1343040335.49078.YahooMailNeo@web140703.mail.bf1.yahoo.com> Date: Mon, 23 Jul 2012 03:45:35 -0700 (PDT) From: Mr U To: "freebsd-questions@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Mon, 23 Jul 2012 11:32:58 +0000 Subject: Question about install from ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mr U List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 10:45:43 -0000 hi all=0A=0AI want to install openbox from ports collection.=0Afreebsd=A0at= tempting to download libxml2 from fr.rpmfind.net but=A0=0AI don't know why = connection speed slow down after a while and finally=0Afailed.=0A=0Ais it p= ossible to change download location (mirror) or is it possible to download = file manually=A0=0Aand add file in openbox dir?=0A=0Athank you all=0Amru From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 11:00:39 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B5D7106564A for ; Mon, 23 Jul 2012 11:00:39 +0000 (UTC) (envelope-from mru258@yahoo.com) Received: from nm15-vm0.bullet.mail.bf1.yahoo.com (nm15-vm0.bullet.mail.bf1.yahoo.com [98.139.212.254]) by mx1.freebsd.org (Postfix) with SMTP id A751A8FC08 for ; Mon, 23 Jul 2012 11:00:38 +0000 (UTC) Received: from [98.139.212.152] by nm15.bullet.mail.bf1.yahoo.com with NNFMP; 23 Jul 2012 11:00:38 -0000 Received: from [98.139.215.249] by tm9.bullet.mail.bf1.yahoo.com with NNFMP; 23 Jul 2012 11:00:38 -0000 Received: from [127.0.0.1] by omp1062.mail.bf1.yahoo.com with NNFMP; 23 Jul 2012 11:00:38 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 183601.35437.bm@omp1062.mail.bf1.yahoo.com Received: (qmail 17205 invoked by uid 60001); 23 Jul 2012 11:00:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1343041238; bh=ZrMmWN9NCZbJq38FR0dCd/O/Np9kuFBmaZzgUXL3YmI=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ZCfTEHzrYtjSNvWTkVNoJSaINyhRj0rep2mMcX+92dSgQu0XLH1gh80rEiynjBO/sloBZa4PjdqaSl1WwoVssYi/mTL3haMDzEN3+VOUK2PJ4MJOyskAUFSa8v1rW7E9k/XFbDNY4Vj9aTegdDypcwftQVGcQ1I5A/o8aCB6Qsg= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=MgFix1HEXZVTP9Gw9eVh3HfbhhmWmj8Mq86tx/URKqQyw+ZjTj5AYulXR/1607Oh4MCyPZE0OJ1HAXFODWtJr+QZmPbrnDXiUw2AQeGMAlXBDqC5NsJTFXNAoao0PjGuiewh/1D8XU+zTTPuY9T6MCvb5KyZoAappwS70SOTjvM=; X-YMail-OSG: zUQJCpwVM1nsnvmqaYoLpK9A6CyY4ASrfXsnd2qOiwP9v7H FeRuTZuX9UeQy8mpKSMYMOWcytFfrDwkznedcHdMBUYA_Kdp70DJwiJngVbF O1bs.oDT7iXg3WmAwjUssYmQh.VSjcKICAwaynXmz_lcQh0HYx09JZdxIhRt mhKLFWfK_vvOyQoEUe39tHQamHIc8qzuZcBxcdfWsskD0wrIsvHFt9_JEdlT Q5.TmcuDH2R8QfmXZEr8k6lcElxXeXWca34b7vUcrIOTB5Ik99nn3CU6qFO1 Ojgi0f_.WLYK2ZE.Db2X1qSgHoiYqyozAhAxEbGZ9Ymt3fo8MaVCAJb2E9nk N6KdgG4mG8zqqXTLpoON62OjP4P3lwT2qsrGhJyFQGEyb1VdFLkDGZA8Tas1 Pmc6lqUZ0bbYhrP.xFqQOFwkdz1Xvrqxo_rdVBCnuqvQMEmClHygOq7gBTxD xuCyuMeHeZixAL4vSyrc.n1KD4_n9EgNi5VnWnJ6k2Pg- Received: from [188.245.200.97] by web140704.mail.bf1.yahoo.com via HTTP; Mon, 23 Jul 2012 04:00:37 PDT X-Mailer: YahooMailWebService/0.8.120.356233 References: <1343040335.49078.YahooMailNeo@web140703.mail.bf1.yahoo.com> Message-ID: <1343041237.15788.YahooMailNeo@web140704.mail.bf1.yahoo.com> Date: Mon, 23 Jul 2012 04:00:37 -0700 (PDT) From: Mr U To: "freebsd-questions@freebsd.org" In-Reply-To: <1343040335.49078.YahooMailNeo@web140703.mail.bf1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Mon, 23 Jul 2012 11:34:41 +0000 Subject: Question about install from ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mr U List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 11:00:39 -0000 hi all=0A=0A=0AI want to install openbox from ports collection.=0Afreebsd= =A0attempting to download libxml2 from fr.rpmfind.net but=A0=0AI don't know= why connection speed slow down after a while and finally=0Afailed.=0A=0Ais= it possible to change download location (mirror) or is it possible to down= load file manually=A0=0Aand add file in openbox dir?=0A=0Athank you all=0Am= ru=0A From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 13:28:27 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 921111065672 for ; Mon, 23 Jul 2012 13:28:27 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.224.110]) by mx1.freebsd.org (Postfix) with ESMTP id 45D7D8FC18 for ; Mon, 23 Jul 2012 13:28:27 +0000 (UTC) Received: from amd620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q6NDSNRT005171; Mon, 23 Jul 2012 07:28:25 -0600 From: Erich Dollansky To: freebsd-questions@freebsd.org Date: Mon, 23 Jul 2012 20:30:43 +0700 User-Agent: KMail/1.13.7 (FreeBSD/10.0-CURRENT; KDE/4.7.4; amd64; ; ) References: <500A2773.1060100@holgerdanske.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201207232030.44075.erichfreebsdlist@ovitrap.com> Cc: Vladislav Subject: Re: PCBSD9.0-x64-DVD and Intel HD Graphics 2000 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 13:28:27 -0000 Hi, On Monday 23 July 2012 17:37:00 Vladislav wrote: > On Sat, Jul 21, 2012 at 7:52 AM, David Christensen < > dpchrist@holgerdanske.com> wrote: > > > freebsd-questions: > > > > I've installed PCBSD9.0-x64-DVD on the following hardware: this where the problem starts. If nothing changed since I used this, it only supports VESA on i7 CPUs. > > > > I have updated the system using Update Manager, and the problems persist. > > What does this affect? Also the FreeBSD part? I am now running FreeBSD 10 on an i7 without any problems. It should also be possible to get the same result with a current 9.0. > > > > Any suggestions? Do the same what I have done. Use PC-BSD just to get a machine running and then update to FreeBSD. and of couse: > > > > http://wiki.freebsd.org/Intel_GPU Erich From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 13:30:26 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1581B106566B for ; Mon, 23 Jul 2012 13:30:26 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.224.110]) by mx1.freebsd.org (Postfix) with ESMTP id BB51D8FC19 for ; Mon, 23 Jul 2012 13:30:25 +0000 (UTC) Received: from amd620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q6NDUL5E005770; Mon, 23 Jul 2012 07:30:23 -0600 From: Erich Dollansky To: freebsd-questions@freebsd.org Date: Mon, 23 Jul 2012 20:32:46 +0700 User-Agent: KMail/1.13.7 (FreeBSD/10.0-CURRENT; KDE/4.7.4; amd64; ; ) References: <1342992043358-5729028.post@n5.nabble.com> <1343037776471-5729143.post@n5.nabble.com> <20120723064850.59451f74@scorpio> In-Reply-To: <20120723064850.59451f74@scorpio> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201207232032.46496.erichfreebsdlist@ovitrap.com> Cc: Jerry Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 13:30:26 -0000 Hi, On Monday 23 July 2012 17:48:50 Jerry wrote: > On Mon, 23 Jul 2012 03:02:56 -0700 (PDT) > Jakub Lach articulated: > > > What I previously meant is that I had such pendrive, that > > without former formatting in Windows, didn't even show > > up as device in FreeBSD- was completely useless. > > > > That does not mean I didn't newfs_msdosfsed it after > > that in FreeBSD (worked perfectly fine since) :) > > I experienced that phenomena of a drive not being recognized once also. > However, after formatting it in Windows why duplicate it again in > FreeBSD? It serves no purpose that I am aware of. By the way, it is too > bad that FreeBSD is not able to take advantage of the "exFat" format > like other distributions do. isn't there support for it via fuse? Erich From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 13:54:32 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2EEF31065688 for ; Mon, 23 Jul 2012 13:54:32 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id AADD28FC0C for ; Mon, 23 Jul 2012 13:54:31 +0000 (UTC) Received: by bkcje9 with SMTP id je9so5329320bkc.13 for ; Mon, 23 Jul 2012 06:54:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=IpqKia/+MVnxswuZUsujzNluKHLC8c+j/0TFpkpwPRs=; b=1F9d5tzzS8BtkrxoQKvDLTLiIsw3fHRRVsxe66x3ezM9rdo9r67bJehzdkk+e0uXlc NbRyjRABCbVgJDPFEH/adRo1JRl2GbYXzOENRrDgZ7nRdUW78AA/1lAFsMqM2I94sTvK 2p6SrPStsNvC1jXA+g1REt7UfOaIxY3p8OXi0b3Fs4TZbKa6iyimAZvfm1VG8dTr/Vre XV40NWLZnH71Az7P1mPLPI33fWnMtcduwioSEKwYtx1Inh+iYOmGP1bAq2RE5mV19F6X EfE6CbA4jH/aE5t8WOJgi2IT78aWms6dqeoxl8RqnXv/4xsZt17IbWhQyZ9vT2tlZXsY 9KwA== Received: by 10.204.148.82 with SMTP id o18mr7790057bkv.41.1343051670497; Mon, 23 Jul 2012 06:54:30 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id y20sm7630282bkv.11.2012.07.23.06.54.28 (version=SSLv3 cipher=OTHER); Mon, 23 Jul 2012 06:54:29 -0700 (PDT) Date: Mon, 23 Jul 2012 14:54:26 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20120723145426.6df0701d@gumby.homeunix.com> In-Reply-To: <1343040335.49078.YahooMailNeo@web140703.mail.bf1.yahoo.com> References: <1343040335.49078.YahooMailNeo@web140703.mail.bf1.yahoo.com> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Question about install from ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 13:54:32 -0000 On Mon, 23 Jul 2012 03:45:35 -0700 (PDT) Mr U wrote: > hi all >=20 > I want to install openbox from ports collection. > freebsd=A0attempting to download libxml2 from fr.rpmfind.net but=A0 > I don't know why connection speed slow down after a while and finally > failed. >=20 > is it possible to change download location (mirror) or is it possible > to download file manually and add file in openbox dir? >=20 Temporarily set RANDOMIZE_MASTER_SITES=20 From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 14:26:07 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B1C871065670 for ; Mon, 23 Jul 2012 14:26:07 +0000 (UTC) (envelope-from dan@slightlystrange.org) Received: from lhscloud01.localhostservices.net (lhscloud01.localhostservices.net [83.222.226.222]) by mx1.freebsd.org (Postfix) with ESMTP id 61A8A8FC17 for ; Mon, 23 Jul 2012 14:26:07 +0000 (UTC) Received: from client-86-23-57-98.brhm.adsl.virginmedia.com ([86.23.57.98] helo=catflap.slightlystrange.org) by lhscloud01.localhostservices.net with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1StJAR-0007Ox-8r for freebsd-questions@freebsd.org; Mon, 23 Jul 2012 14:59:23 +0100 Received: from dan by catflap.slightlystrange.org with local (Exim 4.80 (FreeBSD)) (envelope-from ) id 1StJAP-000P6c-9p for freebsd-questions@freebsd.org; Mon, 23 Jul 2012 14:59:21 +0100 Date: Mon, 23 Jul 2012 14:59:21 +0100 From: Daniel Bye To: "freebsd-questions@freebsd.org" Message-ID: <20120723135921.GB4332@catflap.slightlystrange.org> Mail-Followup-To: "freebsd-questions@freebsd.org" References: <1343040335.49078.YahooMailNeo@web140703.mail.bf1.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="QKdGvSO+nmPlgiQ/" Content-Disposition: inline In-Reply-To: <1343040335.49078.YahooMailNeo@web140703.mail.bf1.yahoo.com> User-Agent: Mutt/1.4.2.3i X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 Sender: Daniel Bye Subject: Re: Question about install from ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 14:26:07 -0000 --QKdGvSO+nmPlgiQ/ Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 23, 2012 at 03:45:35AM -0700, Mr U wrote: > hi all >=20 > I want to install openbox from ports collection. > freebsd=A0attempting to download libxml2 from fr.rpmfind.net but=A0 > I don't know why connection speed slow down after a while and finally > failed. >=20 > is it possible to change download location (mirror) or is it possible to = download file manually=A0 > and add file in openbox dir? If you can find the file on a faster site, you can download it and put it in /usr/ports/distfiles/rpm/i386/fedora/10/ and restart the OpenBox build, or you can put these two settings in /etc/make.conf: MASTER_SITE_BACKUP?=3D \ ftp://ftp.uk.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ MASTER_SITE_OVERRIDE?=3D ${MASTER_SITE_BACKUP} Change the "uk" to point to a site near to your geographical location. With these lines, your ports system will first look for distfiles on the FreeBSD mirror site, and will only go to the MASTER_SITE in a port's Makefile if the FreeBSD site doesn't have the required file. This is sometimes faster than going to the MASTER_SITE first. Or, as RW suggested, try setting RANDOMIZE_MASTER_SITES. Dan --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --QKdGvSO+nmPlgiQ/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAlANWLkACgkQixf5fBYiFmqSfwCeKtsBerAdg9UcA2W4UvApUkfx K8gAnj0Us+WuiFQZ9huHFeiTZ4YkigzY =kXD6 -----END PGP SIGNATURE----- --QKdGvSO+nmPlgiQ/-- From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 14:36:13 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 66337106566B for ; Mon, 23 Jul 2012 14:36:13 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id EB8EC8FC0A for ; Mon, 23 Jul 2012 14:36:12 +0000 (UTC) Received: from r56.edvax.de (port-92-195-22-218.dynamic.qsc.de [92.195.22.218]) by mx02.qsc.de (Postfix) with ESMTP id 8993524CED; Mon, 23 Jul 2012 16:36:05 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q6NEa4ts001969; Mon, 23 Jul 2012 16:36:05 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 23 Jul 2012 16:36:04 +0200 From: Polytropon To: lei yang Message-Id: <20120723163604.6e795aa4.freebsd@edvax.de> In-Reply-To: References: <20120722182545.39d6b96c.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: help about free bsp version netcat to work it on ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 14:36:13 -0000 On Mon, 23 Jul 2012 12:59:55 +0800, lei yang wrote: > On Mon, Jul 23, 2012 at 12:25 AM, Polytropon wrote: > > On Sun, 22 Jul 2012 22:41:57 +0800, lei yang wrote: > >> Hi, > >> > >> I want to build a "netcat" on my local pc (ubuntu) with gcc, is it > >> possible? I'm new to free bsd > > > > I hope I don't misunderstand your intention: You are trying to > > build a Linux executable of netcat from FreeBSD's sources? > > > > You _do_ know that FreeBSD and Linux (here: Ubuntu) are two > > totally different operating systems. I'm not sure code is > > compatible at this level (but it maybe _could_ be, you'd > > have to try it). > > > > The netcat program (nc) is part of the FreeBSD operating > > system for some time now. There's also a port of netcat > > in /usr/ports/net/netcat (which can also be used). That > > port's Makefile lists some sources: > > > > ftp://coast.cs.purdue.edu/pub/tools/unix/netutils/netcat/ > > > > ftp://ftp.cuhk.edu.hk/pub/packages/security/purdue/netutils/netcat/ > > > > http://www.planetmirror.com/pub/lprng/TOOLS/ > > > > You could try to use that source distribution as well. > > > > > > > Thanks for the great help, I have built it successfully on my ubuntu. > I find it's not the version I want > I want use the version on Rehat,which has a "-U" flag( yes, I want to > use this flag) but the above version has no this flag > > on redhat: > > usage: nc [-46DdhklnrStUuvzC] [-i interval] [-p source_port] > [-s source_ip_address] [-T ToS] [-w timeout] [-X proxy_version] > [-x proxy_address[:port]] [hostname] [port[s]] > Command Summary: > -4 Use IPv4 > -6 Use IPv6 > -D Enable the debug socket option > -d Detach from stdin > -h This help text > -i secs Delay interval for lines sent, ports scanned > -k Keep inbound sockets open for multiple connects > -l Listen mode, for inbound connects > -n Suppress name/port resolutions > -p port Specify local port for remote connects > -r Randomize remote ports > -s addr Local source address > -T ToS Set IP Type of Service > -C Send CRLF as line-ending > -t Answer TELNET negotiation > -U Use UNIX domain socket > -u UDP mode > -v Verbose > -w secs Timeout for connects and final net reads > -X proto Proxy protocol: "4", "5" (SOCKS) or "connect" > -x addr[:port] Specify proxy address and port > -z Zero-I/O mode [used for scanning] > Port numbers can be individual or ranges: lo-hi [inclusive] > > ------------------------------------------------------------------------------------------------------------------ > with the above you list: > > lyang0@lyang0-OptiPlex-755:~/tmp/nc110$ ./nc -help > [v1.10] > connect to somewhere: nc [-options] hostname port[s] [ports] ... > listen for inbound: nc -l -p port [-options] [hostname] [port] > options: > -g gateway source-routing hop point[s], up to 8 > -G num source-routing pointer: 4, 8, 12, ... > -h this cruft > -i secs delay interval for lines sent, ports scanned > -l listen mode, for inbound connects > -n numeric-only IP addresses, no DNS > -o file hex dump of traffic > -p port local port number > -r randomize local and remote ports > -s addr local source address > -u UDP mode > -v verbose [use twice to be more verbose] > -w secs timeout for connects and final net reads > -z zero-I/O mode [used for scanning] > port numbers can be individual or ranges: lo-hi [inclusive] > > > it has no "-U" flag, can you point me where I get this version This indicates you did use the netcat version that also is in the FreeBSD Ports Collection. The netcat version that belongs to the FreeBSD system (the operating system itself) does seem to have the switch you need. >From my home FreeBSD box (8.2-STABLE of August 2011, i386), THIS is the netcat help message: % nc -help usage: nc [-46DdEhklnrStUuvz] [-e policy] [-I length] [-i interval] [-O length] [-P proxy_username] [-p source_port] [-s source] [-T ToS] [-V rtable] [-w timeout] [-X proxy_protocol] [-x proxy_address[:port]] [destination] [port] Command Summary: -4 Use IPv4 -6 Use IPv6 -D Enable the debug socket option -d Detach from stdin -E Use IPsec ESP -e policy Use specified IPsec policy -h This help text -I length TCP receive buffer length -i secs Delay interval for lines sent, ports scanned -k Keep inbound sockets open for multiple connects -l Listen mode, for inbound connects -n Suppress name/port resolutions --no-tcpopt Disable TCP options -O length TCP send buffer length -P proxyuser Username for proxy authentication -p port Specify local port for remote connects -r Randomize remote ports -S Enable the TCP MD5 signature option -s addr Local source address -T ToS Set IP Type of Service -t Answer TELNET negotiation -U Use UNIX domain socket -u UDP mode -V rtable Specify alternate routing table -v Verbose -w secs Timeout for connects and final net reads -X proto Proxy protocol: "4", "5" (SOCKS) or "connect" -x addr[:port] Specify proxy address and port -z Zero-I/O mode [used for scanning] Port numbers can be individual or ranges: lo-hi [inclusive] See ipsec_set_policy(3) for -e argument format It seems you sould then try to use the FreeBSD's netcat sources. In my previous message, I pointed out where to find it (i. e. in the system's sources). By the way, wouldn't it be easier to use Red Hat's netcat source to compile on Ubuntu, because both are Linusi (and therefore should be "more equal" to each other than Ubuntu to FreeBSD)? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 14:44:36 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 759FB106566B for ; Mon, 23 Jul 2012 14:44:36 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 33D0B8FC12 for ; Mon, 23 Jul 2012 14:44:36 +0000 (UTC) Received: from r56.edvax.de (port-92-195-22-218.dynamic.qsc.de [92.195.22.218]) by mx02.qsc.de (Postfix) with ESMTP id 533DB27730; Mon, 23 Jul 2012 16:44:35 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q6NEiYiK001991; Mon, 23 Jul 2012 16:44:34 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 23 Jul 2012 16:44:34 +0200 From: Polytropon To: Mr U Message-Id: <20120723164434.9831a97a.freebsd@edvax.de> In-Reply-To: <1343041237.15788.YahooMailNeo@web140704.mail.bf1.yahoo.com> References: <1343040335.49078.YahooMailNeo@web140703.mail.bf1.yahoo.com> <1343041237.15788.YahooMailNeo@web140704.mail.bf1.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-questions@freebsd.org" Subject: Re: Question about install from ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 14:44:36 -0000 On Mon, 23 Jul 2012 04:00:37 -0700 (PDT), Mr U wrote: > is it possible to change download location (mirror) or is it possible to = download file manually=A0 > and add file in openbox dir? It is possible. First check the port's Makefile for where to obtain the required files from. There are typically more than one source listed. If one fails, try the next one. Then place the file in /usr/ports/distfiles and restart the build. --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 15:29:39 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB850106564A for ; Mon, 23 Jul 2012 15:29:39 +0000 (UTC) (envelope-from yanglei.fage@gmail.com) Received: from mail-qc0-f182.google.com (mail-qc0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 811128FC12 for ; Mon, 23 Jul 2012 15:29:39 +0000 (UTC) Received: by qcsg15 with SMTP id g15so3983561qcs.13 for ; Mon, 23 Jul 2012 08:29:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=5imkt7VFypTcSanckNwpgQrstdzXzWHPAmp/fXIZnoI=; b=lBNeRdl6PK/YpSjlyZrENQ33+jAVOPj7bSDvo3UUULwvpHZPW6COEfDrU0ycbCrmfk a1ZkGOHfLG7Tz+J1AcFj/Px+eqIrKzT2z+0CpUtyZ9dIzMIBsAAxR/P7EsdgAZeTmAIe Gv2CrjQjuTg/UOvxCHNWP7LumFzYNP02o7FaBujOS1LO/33XX1Esw9pupkyz48uaPkrR aLmZZUwKchkwn7EMQpjqOk+nKVr/SAdJHjbHyWhNsFQun5ws0tw7r0kyYtvyAy9rjd+N rQimfo6E70IvhbNaohfolMijc/8svZxt1a3T3qnRDvMe/LKB1cmgijkn2AVyl8hH7WOh UnCA== MIME-Version: 1.0 Received: by 10.224.202.136 with SMTP id fe8mr25160103qab.17.1343057378990; Mon, 23 Jul 2012 08:29:38 -0700 (PDT) Received: by 10.229.169.132 with HTTP; Mon, 23 Jul 2012 08:29:38 -0700 (PDT) In-Reply-To: <20120723163604.6e795aa4.freebsd@edvax.de> References: <20120722182545.39d6b96c.freebsd@edvax.de> <20120723163604.6e795aa4.freebsd@edvax.de> Date: Mon, 23 Jul 2012 23:29:38 +0800 Message-ID: From: lei yang To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: help about free bsp version netcat to work it on ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 15:29:39 -0000 On Mon, Jul 23, 2012 at 10:36 PM, Polytropon wrote: > On Mon, 23 Jul 2012 12:59:55 +0800, lei yang wrote: >> On Mon, Jul 23, 2012 at 12:25 AM, Polytropon wrote: >> > On Sun, 22 Jul 2012 22:41:57 +0800, lei yang wrote: >> >> Hi, >> >> >> >> I want to build a "netcat" on my local pc (ubuntu) with gcc, is it >> >> possible? I'm new to free bsd >> > >> > I hope I don't misunderstand your intention: You are trying to >> > build a Linux executable of netcat from FreeBSD's sources? >> > >> > You _do_ know that FreeBSD and Linux (here: Ubuntu) are two >> > totally different operating systems. I'm not sure code is >> > compatible at this level (but it maybe _could_ be, you'd >> > have to try it). >> > >> > The netcat program (nc) is part of the FreeBSD operating >> > system for some time now. There's also a port of netcat >> > in /usr/ports/net/netcat (which can also be used). That >> > port's Makefile lists some sources: >> > >> > ftp://coast.cs.purdue.edu/pub/tools/unix/netutils/netcat/ >> > >> > ftp://ftp.cuhk.edu.hk/pub/packages/security/purdue/netutils/netcat/ >> > >> > http://www.planetmirror.com/pub/lprng/TOOLS/ >> > >> > You could try to use that source distribution as well. >> > >> > >> >> >> Thanks for the great help, I have built it successfully on my ubuntu. >> I find it's not the version I want >> I want use the version on Rehat,which has a "-U" flag( yes, I want to >> use this flag) but the above version has no this flag >> >> on redhat: >> >> usage: nc [-46DdhklnrStUuvzC] [-i interval] [-p source_port] >> [-s source_ip_address] [-T ToS] [-w timeout] [-X proxy_version] >> [-x proxy_address[:port]] [hostname] [port[s]] >> Command Summary: >> -4 Use IPv4 >> -6 Use IPv6 >> -D Enable the debug socket option >> -d Detach from stdin >> -h This help text >> -i secs Delay interval for lines sent, ports scanned >> -k Keep inbound sockets open for multiple connects >> -l Listen mode, for inbound connects >> -n Suppress name/port resolutions >> -p port Specify local port for remote connects >> -r Randomize remote ports >> -s addr Local source address >> -T ToS Set IP Type of Service >> -C Send CRLF as line-ending >> -t Answer TELNET negotiation >> -U Use UNIX domain socket >> -u UDP mode >> -v Verbose >> -w secs Timeout for connects and final net reads >> -X proto Proxy protocol: "4", "5" (SOCKS) or "connect" >> -x addr[:port] Specify proxy address and port >> -z Zero-I/O mode [used for scanning] >> Port numbers can be individual or ranges: lo-hi [inclusive] >> >> ------------------------------------------------------------------------------------------------------------------ >> with the above you list: >> >> lyang0@lyang0-OptiPlex-755:~/tmp/nc110$ ./nc -help >> [v1.10] >> connect to somewhere: nc [-options] hostname port[s] [ports] ... >> listen for inbound: nc -l -p port [-options] [hostname] [port] >> options: >> -g gateway source-routing hop point[s], up to 8 >> -G num source-routing pointer: 4, 8, 12, ... >> -h this cruft >> -i secs delay interval for lines sent, ports scanned >> -l listen mode, for inbound connects >> -n numeric-only IP addresses, no DNS >> -o file hex dump of traffic >> -p port local port number >> -r randomize local and remote ports >> -s addr local source address >> -u UDP mode >> -v verbose [use twice to be more verbose] >> -w secs timeout for connects and final net reads >> -z zero-I/O mode [used for scanning] >> port numbers can be individual or ranges: lo-hi [inclusive] >> >> >> it has no "-U" flag, can you point me where I get this version > > This indicates you did use the netcat version that also is > in the FreeBSD Ports Collection. The netcat version that > belongs to the FreeBSD system (the operating system itself) > does seem to have the switch you need. > > From my home FreeBSD box (8.2-STABLE of August 2011, i386), > THIS is the netcat help message: > > % nc -help > usage: nc [-46DdEhklnrStUuvz] [-e policy] [-I length] [-i interval] [-O length] > [-P proxy_username] [-p source_port] [-s source] [-T ToS] > [-V rtable] [-w timeout] [-X proxy_protocol] > [-x proxy_address[:port]] [destination] [port] > Command Summary: > -4 Use IPv4 > -6 Use IPv6 > -D Enable the debug socket option > -d Detach from stdin > -E Use IPsec ESP > -e policy Use specified IPsec policy > -h This help text > -I length TCP receive buffer length > -i secs Delay interval for lines sent, ports scanned > -k Keep inbound sockets open for multiple connects > -l Listen mode, for inbound connects > -n Suppress name/port resolutions > --no-tcpopt Disable TCP options > -O length TCP send buffer length > -P proxyuser Username for proxy authentication > -p port Specify local port for remote connects > -r Randomize remote ports > -S Enable the TCP MD5 signature option > -s addr Local source address > -T ToS Set IP Type of Service > -t Answer TELNET negotiation > -U Use UNIX domain socket > -u UDP mode > -V rtable Specify alternate routing table > -v Verbose > -w secs Timeout for connects and final net reads > -X proto Proxy protocol: "4", "5" (SOCKS) or "connect" > -x addr[:port] Specify proxy address and port > -z Zero-I/O mode [used for scanning] > Port numbers can be individual or ranges: lo-hi [inclusive] > See ipsec_set_policy(3) for -e argument format > > > > It seems you sould then try to use the FreeBSD's netcat sources. > In my previous message, I pointed out where to find it (i. e. in > the system's sources). > Yes, the second version I post is using the source from you supplied, then I compiled it, but it has no "-U" flag like what I post, it seems a version different casued this. > By the way, wouldn't it be easier to use Red Hat's netcat source > to compile on Ubuntu, because both are Linusi (and therefore should > be "more equal" to each other than Ubuntu to FreeBSD)? > > I don't know where to find the source code in Red Hat. > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 15:52:46 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 50B80106566C for ; Mon, 23 Jul 2012 15:52:46 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 040F48FC08 for ; Mon, 23 Jul 2012 15:52:45 +0000 (UTC) Received: by ggnm2 with SMTP id m2so6570876ggn.13 for ; Mon, 23 Jul 2012 08:52:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=0oHdcQ5UzbMbY6+XhWZZoVnvbvf8uWOiawT2V8OY1Wo=; b=kCB/Fw3Ko+vCyaF0gBJRsvFqIYrb1FwEiu+1hTzYjAC2z9CUTdf/1INkFIXgnu55fu nj+ymlxW8uOi37d6CLvMACkh33EII6Q3dziYJdAbPGvvWwlsPZ+C4cMkquwJJdHgNH/l sMGddZzVya7R1paNBMpCF/7HeUVllF/9gERxJKMKzcN8jd2IrQjB3kxxVtHz0yqi+2E1 wM2CpVW0d/RKs2Qn2aS8UWODxwu1HIRoV2tHjeB4KS9FLfRvlFaAuGfDPNpei0/QTRhE KJra+aUwMFBB2Qn6oB7EAKlb78Bp8GJCEnspP9bPz+tRcm8TuqgbFaGZjhQPEFU2Yl2T PDzQ== MIME-Version: 1.0 Received: by 10.50.168.1 with SMTP id zs1mr11060427igb.45.1343058764159; Mon, 23 Jul 2012 08:52:44 -0700 (PDT) Sender: aimass@yabarana.com Received: by 10.43.52.6 with HTTP; Mon, 23 Jul 2012 08:52:44 -0700 (PDT) In-Reply-To: References: <20120722182545.39d6b96c.freebsd@edvax.de> <20120723163604.6e795aa4.freebsd@edvax.de> Date: Mon, 23 Jul 2012 11:52:44 -0400 X-Google-Sender-Auth: OC458gs2R0s0srtQco-tsGAGvVw Message-ID: From: Alejandro Imass To: lei yang Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQnlAeqGOLSBcrbjnuHXpqY+gDLkm18hMaIecYnC3QIO/rFD2cnyw2wdD3Q8dsc+MmI2b4JQ Cc: Polytropon , freebsd-questions@freebsd.org Subject: Re: help about free bsp version netcat to work it on ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 15:52:46 -0000 On Mon, Jul 23, 2012 at 11:29 AM, lei yang wrote: > On Mon, Jul 23, 2012 at 10:36 PM, Polytropon wrote: >> On Mon, 23 Jul 2012 12:59:55 +0800, lei yang wrote: >>> On Mon, Jul 23, 2012 at 12:25 AM, Polytropon wrote: >>> > On Sun, 22 Jul 2012 22:41:57 +0800, lei yang wrote: >>> >> Hi, [...] > > I don't know where to find the source code in Red Hat. > Why don't you just toss RedHat and use FreeBSD ? Most everything you run on Linux will run on FreeBSD and there are also Desktop-friendly distros of FreeBSD such as PC-BSD which, in Linux terms, is to FreeBSD somewhat akin to what Ubuntu is to Debian. Anyway, give PC-BSD a try and you won't regret it: http://www.pcbsd.org/ Cheers, -- Alejandro Imass From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 16:07:09 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BA063106564A for ; Mon, 23 Jul 2012 16:07:09 +0000 (UTC) (envelope-from carlj@peak.org) Received: from redcondor2.peak.org (redcondor2.peak.org [69.59.192.56]) by mx1.freebsd.org (Postfix) with ESMTP id 8337F8FC0A for ; Mon, 23 Jul 2012 16:07:09 +0000 (UTC) Received: from zmail-mta01.peak.org ([207.55.16.111]) by redcondor2.peak.org ({6c724cae-de34-4c5f-b615-3072b86419fa}) via TCP (outbound) with ESMTP id 20120723160345082 for ; Mon, 23 Jul 2012 16:03:45 +0000 X-RC-FROM: X-RC-RCPT: Received: from birch.localnet (unknown [207.55.106.48]) by zmail-mta01.peak.org (Postfix) with ESMTPSA id B856249383F for ; Mon, 23 Jul 2012 09:03:44 -0700 (PDT) Received: from oak.localnet (oak.localnet [192.168.193.34]) by birch.localnet (Postfix) with ESMTP id 424E355E22 for ; Mon, 23 Jul 2012 09:03:43 -0700 (PDT) Received: from oak.localnet (localhost.localnet [127.0.0.1]) by oak.localnet (Postfix) with ESMTP id DD3B5BFCB for ; Mon, 23 Jul 2012 09:03:42 -0700 (PDT) Received: (from carlj@localhost) by oak.localnet (8.14.4/8.14.4/Submit) id q6NG3gYU099588; Mon, 23 Jul 2012 09:03:42 -0700 (PDT) (envelope-from carlj@peak.org) X-Authentication-Warning: oak.localnet: carlj set sender to carlj@peak.org using -f From: Carl Johnson To: freebsd-questions@freebsd.org References: <20120722182545.39d6b96c.freebsd@edvax.de> Mail-Followup-To: freebsd-questions@freebsd.org Date: Mon, 23 Jul 2012 09:03:42 -0700 In-Reply-To: (lei yang's message of "Mon, 23 Jul 2012 12:59:55 +0800") Message-ID: <87a9yq79cx.fsf@oak.localnet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: help about free bsp version netcat to work it on ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 16:07:09 -0000 lei yang writes: > On Mon, Jul 23, 2012 at 12:25 AM, Polytropon wrote: >> On Sun, 22 Jul 2012 22:41:57 +0800, lei yang wrote: >>> Hi, >>> >>> I want to build a "netcat" on my local pc (ubuntu) with gcc, is it >>> possible? I'm new to free bsd >> > > > it has no "-U" flag, can you point me where I get this version > Have you checked the other version of netcat already available? A quick check shows these four versions for Ubuntu: netcat: TCP/IP swiss army knife -- transitional package netcat-openbsd: TCP/IP swiss army knife netcat-traditional: TCP/IP swiss army knife netcat6: TCP/IP swiss army knife with IPv6 support -- Carl Johnson carlj@peak.org From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 16:27:11 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7DF0106566B for ; Mon, 23 Jul 2012 16:27:11 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id A0B188FC0A for ; Mon, 23 Jul 2012 16:27:11 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1StLTM-0006JM-Sk for freebsd-questions@freebsd.org; Mon, 23 Jul 2012 17:27:05 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1StLTM-0000c3-Mv for freebsd-questions@freebsd.org; Mon, 23 Jul 2012 17:27:04 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q6NGR496098655 for ; Mon, 23 Jul 2012 17:27:04 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q6NGR4Eb098654 for freebsd-questions@freebsd.org; Mon, 23 Jul 2012 17:27:04 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Mon, 23 Jul 2012 17:27:04 +0100 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20120723162704.GA98615@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: fetchmail ssl error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 16:27:12 -0000 I probably misunderstand how SSL certificates work. $ cat .fetchmailrc poll staff-imap-srv.bris.ac.uk protocol imap user "mexas" password "xxxxxxx" sslcertck sslcertfile /home/mexas/cert/uob-net-ca.crt fetchall $ $ fetchmail fetchmail: Server certificate verification error: self signed certificate in certificate chain fetchmail: This means that the root signing certificate (issued for /C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root) is not in the trusted CA certificate locations, or that c_rehash needs to be run on the certificate directory. For details, please see the documentation of --sslcertpath and --sslcertfile in the manual page. 98631:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s3_clnt.c:984: fetchmail: staff-imap-srv.bris.ac.uk: upgrade to TLS failed. fetchmail: Unknown login or authentication error on mexas@epo.bris.ac.uk fetchmail: socket error while fetching from mexas@staff-imap-srv.bris.ac.uk fetchmail: Query status=2 (SOCKET) $ The /home/mexas/cert/uob-net-ca.crt file is supposed to be the univerisity certificate: -----BEGIN CERTIFICATE----- *several lines* -----END CERTIFICATE----- $ openssl verify uob-net-ca.crt uob-net-ca.crt: /O=University of Bristol/OU=IT Services (Networks)/emailAddress=service-desk@bristol.ac.uk/L=Bristol/ST=Avon/C=GB/CN=University of Bristol Net CA error 18 at 0 depth lookup:self signed certificate OK $ I read in the fetchmail manual something about c_rehash script, but I can only find one in /usr/ports/mail/cone/scripts/c_rehash The fetchmail also mentions that: *quote* Additionally, you might need to convert the certificates to different formats (the PEM format is expected and usually is available, DER is another one; you can convert between both using the openssl(1) utility's x509 sub-mode). *end quote* So, I'm not sure if I need to convert my certificate to PEM format or not? Please advise Many thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 16:47:04 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2854A1065672 for ; Mon, 23 Jul 2012 16:47:04 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id D6E498FC17 for ; Mon, 23 Jul 2012 16:47:03 +0000 (UTC) Received: from r56.edvax.de (port-92-195-22-218.dynamic.qsc.de [92.195.22.218]) by mx02.qsc.de (Postfix) with ESMTP id BEA6524528; Mon, 23 Jul 2012 18:47:02 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q6NGl14Y002507; Mon, 23 Jul 2012 18:47:01 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 23 Jul 2012 18:47:01 +0200 From: Polytropon To: lei yang Message-Id: <20120723184701.f21a4744.freebsd@edvax.de> In-Reply-To: References: <20120722182545.39d6b96c.freebsd@edvax.de> <20120723163604.6e795aa4.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: help about free bsp version netcat to work it on ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 16:47:04 -0000 On Mon, 23 Jul 2012 23:29:38 +0800, lei yang wrote: > Yes, the second version I post is using the source from you supplied, > then I compiled it, but it has no > "-U" flag like what I post, it seems a version different casued this. Yes. The version distributed by the ports collection is different from that one supplied with the base system of FreeBSD. To try _that_ version, you can download the source tarball and extract it; in the directory # wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/9.0-RELEASE/src.txz # tar xvf src.txz # cd cusr/src/ontrib/netcat/ # ls FREEBSD-Xlist FREEBSD-vendor atomicio.h netcat.c FREEBSD-upgrade atomicio.c nc.1 socks.c # You can check the FTP server for other versions of the OS (e. g. different branch and architecture, starting at ftp://ftp.freebsd.org/pub/FreeBSD/releases/, then selecting architecture and finally the OS version). There are also different ways of obtaining the sources, but the solution shown here should be sufficient. (You can use "tar xvf src.txz usr/src/contrib/netcat" to only extract the files for netcat instead of everything, but it _might_ be possible that the build process needs some files from other locations.) If you don't have wget installed, stock "ftp " command should also work for downloading. > I don't know where to find the source code in Red Hat. Me neither, but check "man hier" on a RH system to get the documentation about the file system hierarchy which should have detailed information on what is stored where. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 17:00:11 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DC90106566B for ; Mon, 23 Jul 2012 17:00:11 +0000 (UTC) (envelope-from dan@slightlystrange.org) Received: from lhscloud01.localhostservices.net (lhscloud01.localhostservices.net [83.222.226.222]) by mx1.freebsd.org (Postfix) with ESMTP id 18F888FC15 for ; Mon, 23 Jul 2012 17:00:11 +0000 (UTC) Received: from client-86-23-57-98.brhm.adsl.virginmedia.com ([86.23.57.98] helo=catflap.slightlystrange.org) by lhscloud01.localhostservices.net with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1StLzN-0007q6-2n for freebsd-questions@freebsd.org; Mon, 23 Jul 2012 18:00:09 +0100 Received: from dan by catflap.slightlystrange.org with local (Exim 4.80 (FreeBSD)) (envelope-from ) id 1StLzL-000MvR-02; Mon, 23 Jul 2012 18:00:07 +0100 Date: Mon, 23 Jul 2012 18:00:06 +0100 From: Daniel Bye To: Mr U Message-ID: <20120723170006.GA83930@catflap.slightlystrange.org> References: <1343040335.49078.YahooMailNeo@web140703.mail.bf1.yahoo.com> <20120723135921.GB4332@catflap.slightlystrange.org> <1343056127.13571.YahooMailNeo@web140702.mail.bf1.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline In-Reply-To: <1343056127.13571.YahooMailNeo@web140702.mail.bf1.yahoo.com> X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org Subject: Re: Question about install from ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 17:00:11 -0000 --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 23, 2012 at 08:08:47AM -0700, Mr U wrote: > thank you dan >=20 > but how i can use=A0RANDOMIZE_MASTER_SITES temporary? > i tried google but i didn't find any info about this!!! It's just a shell variable, so you can temporarily set it by defining it on the command line for which you want it to apply. In this case, you'd want to go back to the OpenBox directory, and type RANDOMIZE_MASTER_SITES=3D1 make all install clean (That's the number one after the `=3D'. It doesn't really matter what value= it is set to - the important thing is that it's set) For this one command, RANDOMIZE_MASTER_SITES is in effect. Looking at this again, it seems I got myself confused as to where you should download the distribution file. I think your system is trying to download a plain tbz file, and not an RPM. If that's the case, the downloaded file will actually go in /usr/ports/distfiles. The fact you mentioned fr.rpmfind.net was enough to send me off down the wrong path... Sorry for making things more complicated than they needed to be! Dan >=20 >=20 >=20 >=20 > ----- Original Message ----- > From: Daniel Bye > To: "freebsd-questions@freebsd.org" > Cc:=20 > Sent: Monday, July 23, 2012 6:29 PM > Subject: Re: Question about install from ports >=20 > On Mon, Jul 23, 2012 at 03:45:35AM -0700, Mr U wrote: > > hi all > >=20 > > I want to install openbox from ports collection. > > freebsd=A0attempting to download libxml2 from fr.rpmfind.net but=A0 > > I don't know why connection speed slow down after a while and finally > > failed. > >=20 > > is it possible to change download location (mirror) or is it possible t= o download file manually=A0 > > and add file in openbox dir? >=20 > If you can find the file on a faster site, you can download it and put it= in > /usr/ports/distfiles/rpm/i386/fedora/10/ and restart the OpenBox build, or > you can put these two settings in /etc/make.conf: >=20 > MASTER_SITE_BACKUP?=3D=A0 =A0 \ > =A0 =A0 =A0 =A0 ftp://ftp.uk.freebsd.org/pub/FreeBSD/ports/distfiles/${DI= ST_SUBDIR}/ >=20 > MASTER_SITE_OVERRIDE?=3D=A0 ${MASTER_SITE_BACKUP} >=20 >=20 > Change the "uk" to point to a site near to your geographical location. Wi= th > these lines, your ports system will first look for distfiles on the FreeB= SD > mirror site, and will only go to the MASTER_SITE in a port's Makefile if = the > FreeBSD site doesn't have the required file.=A0 This is sometimes faster = than > going to the MASTER_SITE first. >=20 > Or, as RW suggested, try setting RANDOMIZE_MASTER_SITES. >=20 > Dan >=20 > --=20 > Daniel Bye > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _ > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 ASCII ribbon campaign ( ) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 - against HTML, vCards and=A0 X > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 - proprie= tary attachments in e-mail / \ >=20 >=20 --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAlANgxYACgkQixf5fBYiFmrPjgCeOfDu3GLNm6uwLW/VF0Vt4gSd 9EsAoLeubmNFcfiBbWLH3yEEtK7JItUx =f2XA -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp-- From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 19:06:14 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BD86106566B for ; Mon, 23 Jul 2012 19:06:14 +0000 (UTC) (envelope-from brentgclarklist@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 00E978FC15 for ; Mon, 23 Jul 2012 19:06:13 +0000 (UTC) Received: by vbmv11 with SMTP id v11so6234948vbm.13 for ; Mon, 23 Jul 2012 12:06:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=ErOgwMiEZvUe5D0A8aCT8SuIc49gMkDu5sS71Y6l4v4=; b=F2GJQHKYX0Jtyndn7589jXLNiwoBsxuAS6LXmYotnvEMeulCsN51PVif2Pngtkb3Ov wbKI/vLrirGeXwfsPfhcmynCa4RDESQiH2mT7IlM6MN64zZo8l9w8fMzh5DwLLBoCC6D XMadatkLQkmiF9Mf3kGdkvSu6hV9MqhlFrB8cVa5ywPa/lYRpPSi1t/NmbwPzzECe8R3 U8UrEQ4u1w2E2rcnx2JD+R2/qZHYytwkJTqDit7cLHn5n0JukczlgslFhntXuEPejqsi Dpn+c/LRJPo+mnctRmbVIg6Y8k/DAnXP1yDDAhnOjycStuI9AGxrBa0MDJFaesT61G2q d5Fg== MIME-Version: 1.0 Received: by 10.52.69.237 with SMTP id h13mr11917994vdu.82.1343070373450; Mon, 23 Jul 2012 12:06:13 -0700 (PDT) Received: by 10.220.32.79 with HTTP; Mon, 23 Jul 2012 12:06:13 -0700 (PDT) Date: Mon, 23 Jul 2012 21:06:13 +0200 Message-ID: From: Brent Clark To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: Carp kernel module missing from FreeNAS? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 19:06:14 -0000 Guys Im looking to have a failover for my FreeNAS systsem. Im folllowing this, example ( http://qq929962616.72pines.com/2012/03/configure-highly-available-storage-on-freenas/ ), but is doesnt look like the Carp module is available. If that is true, anyone know how I can go about adding / enabling carp on FreeNAS. Someone made a suggestion of: FreeNAS uses a standard FreeBSD Kernel, so you can simply download the module from the FreeBSD FTP site and it will work. You have to have the right version however. How can or woulld I go about that? Your help would be most appreciated. Regards Brent Clark From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 19:21:12 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 97CE31065672 for ; Mon, 23 Jul 2012 19:21:12 +0000 (UTC) (envelope-from reckingball62@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 248F28FC0A for ; Mon, 23 Jul 2012 19:21:11 +0000 (UTC) Received: by weyx56 with SMTP id x56so5416110wey.13 for ; Mon, 23 Jul 2012 12:21:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=ffJ6Lyudmov9GCghw9hraCugH8lNgVP1RTI+1TtSUM8=; b=PCVp0Zl/NSaqC0iM/auz7I6N0k0E9VtOEbnRHl50VQWV10GQwH3FqCxa9qyA9wsP1L madX0Kzq5zzoK2KOI0xUokB/IU84DpBh+b3hDiNQk5vA9kt/71wRROqlsAVi9kqJPNso q6lOkVkcKNL+DeKXLaQcLGzDGD4PBeFcfC5tKd4x5YiNWCfD6HgzeKENqjQPUdrLvWiL cks2MGWDbk3/gb/V06SOrPP45lihQo3RpzKnVZVI/Fdmxza3ODpTmSe83WVUv3/V+HtZ 6NjPFrEgpPkM7IiG2DYm7Ag8ECmKb6juJAt2zsGX7SWTg0egyNvHIM5Ng3pPcpBgO4AP u+Vw== MIME-Version: 1.0 Received: by 10.180.20.239 with SMTP id q15mr236322wie.13.1343071271217; Mon, 23 Jul 2012 12:21:11 -0700 (PDT) Received: by 10.216.236.18 with HTTP; Mon, 23 Jul 2012 12:21:11 -0700 (PDT) Date: Mon, 23 Jul 2012 14:21:11 -0500 Message-ID: From: Andy Recker To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 19:21:12 -0000 do u answer questions about y computer aftwer trying to install your program From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 19:31:34 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 401AB106564A for ; Mon, 23 Jul 2012 19:31:34 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 9A01C8FC0A for ; Mon, 23 Jul 2012 19:31:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id q6NJVVTb098991; Tue, 24 Jul 2012 05:31:32 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 24 Jul 2012 05:31:31 +1000 (EST) From: Ian Smith To: Eugen Konkov In-Reply-To: <1443021317.20120723131347@yandex.ru> Message-ID: <20120724044804.X37097@sola.nimnet.asn.au> References: <20120722120042.DC8371065678@hub.freebsd.org> <20120723144551.K37097@sola.nimnet.asn.au> <1443021317.20120723131347@yandex.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re[2]: ipfw counters for tables X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 19:31:34 -0000 On Mon, 23 Jul 2012 13:13:47 +0300, Eugen Konkov wrote: > ????????????, Ian. > ?? ?????? 23 ???? 2012 ?., 8:27:50: > IS> In freebsd-questions Digest, Vol 424, Issue 10, Message: 10 > IS> On Sun, 22 Jul 2012 14:55:46 +0300 Eugen Konkov wrote: > IS> Hi Eugen, > > >> I use ipfw tables to allow host to access to internet. > >> is there counter for matched packets/bytes for table entry like for > >> ipfw rule? > >> > >> #ipfw show 901 > >> rule packets bytes > >> 00901 302271108 27717115967 allow ip from 10.10.1.3 to any > >> > >> #ipfw table 7 list > >> ---table(7)--- > >> 10.7.60.41/32 100 > >> > >> No counters here ((( > > IS> No, there are no individual counters for matched entries in tables. > IS> Apart from extra space cost, the accounting time cost would be huge; > IS> lookups are fast but updating radix trees per match would be very slow. Sorry, I was likely wrong about time cost. Once you find an entry it's there for the updating, but you will have to use write locking on table entries, perhaps they're just read locked for lookups now? I haven't read ipfw for years. Adding new table entries is what's really slow. > IS> Also, a table may be referenced in multiple rules, or even twice in the > IS> same rule, so what could such a count really indicate? I guess you'll know how you want to use them, so objection overruled :) > IS> Of course, counts for matching the table are in the rule/s concerned: > > IS> 16100 58300 3060562 deny log logamount 20 ip from table(1) to any in recv ng0 > IS> 16200 4449 226060 deny log logamount 20 tcp from > IS> table(25) to any dst-port 25,110 in recv ng0 setup > IS> 23000 45 2700 allow log logamount 100 tcp from > IS> table(22) to w.x.y.z dst-port 22 in recv ng0 setup > but if lookup function will return matched entry, then calling rule > may update appropriate counter. Sounds like a good experiment in your local codebase, with some tests for speed and space costs? 64 bit counters? Might as well store the 32 bit timestamp too, just like the rule updating code does, I guess? > matchedentry= lookup_table( PACKETDATA ); > updatecounter(matchedentry); Code it up :) Post to freebsd-ipfw@ and see what Luigi and crew say. > #ipfw show 16100 > 16100 58300 3060562 deny *counttable* log logamount 20 ip from table(1) to any in recv ng0 > 50000 3000000 10.5.0.1/32 > 300 562 10.5.0.7/32 > 8000 60000 10.5.0.2/32 > > will this be slow? Well, display is from userland ipfw, where slow isn't very relevant. It'll be what it adds to kernel code and memory requirements that may matter. I'm not sure how you could make this feature optional, short of a kernel config option .. but what do I know? > IS> Myself, I'd be more interested in a last-match timestamp than a count > IS> for table entries, but that won't happen either for the above reasons :) I often use ipfw -t show (or -ted show) so I guess with -t or -T it may show last access timestamps along with packet/byte counts too, as usual? I'll be happy to test it when you've got working patches. cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 19:33:21 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5052B106566C for ; Mon, 23 Jul 2012 19:33:21 +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 104638FC1C for ; Mon, 23 Jul 2012 19:33:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at BSDLabs AB Message-ID: <500DA6FD.1090002@intersonic.se> Date: Mon, 23 Jul 2012 21:33:17 +0200 From: Per olof Ljungmark Organization: Intersonic AB User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120525 Thunderbird/12.0.1 MIME-Version: 1.0 To: Andy Recker References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 19:33:21 -0000 On 07/23/12 21:21, Andy Recker wrote: > do u answer questions about y computer aftwer trying to install your program -- http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/ From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 19:44:59 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F0A98106566C for ; Mon, 23 Jul 2012 19:44:58 +0000 (UTC) (envelope-from reckingball62@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id B58898FC15 for ; Mon, 23 Jul 2012 19:44:58 +0000 (UTC) Received: by obbun3 with SMTP id un3so12889430obb.13 for ; Mon, 23 Jul 2012 12:44:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:subject:message-id:from:to:mime-version:content-type :content-transfer-encoding; bh=cP8ChmHtWK3evB0a6TCyD7KS6mbXqkt7Ccwowf+VRBI=; b=wLovomKKu7zij0lfeWrXxiqS6UDoYrImHcUVvdwY/F87Wb+dXlAc59RVZ0lLs2PhNn j9bsjaBp7lNGpl/CmLPEfkoVJAPg0ywyK4AjrkMaOiRLmP5OSfPQbfT+tmCJQbu6gV6s gdWsX88x/Y2I74rk/z3GR8sGe5ajcaIMWMjpvO8kDnKC524qrwkbLqCJ+pQsZK8pG0oO AJAwFpe8NWAS63ErbYUMv6zNo/1aN92Z6Cykp+gcZbBtwKA/BaHdvXoLk1wTYif5tu0b c+nyp9pgipRfEfd7NUewvT1ZMGKc3Mh6m0NSBGFcI2q71WWm2fqdxdT9NId6VHM+w1Xk tcgw== Received: by 10.182.192.41 with SMTP id hd9mr22831202obc.17.1343072696563; Mon, 23 Jul 2012 12:44:56 -0700 (PDT) Received: from 192.168.1.65 (99-13-112-123.lightspeed.stlsmo.sbcglobal.net. [99.13.112.123]) by mx.google.com with ESMTPS id j10sm8043546oej.10.2012.07.23.12.44.55 (version=SSLv3 cipher=OTHER); Mon, 23 Jul 2012 12:44:55 -0700 (PDT) Date: Mon, 23 Jul 2012 14:45:50 -0600 Message-ID: From: Andy To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 Subject: Support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 19:44:59 -0000 SSB3YXMgdHJ5aW5nIHRvIGluc3RhbGwgdGhlIGZyZWUgYnNkIHRvIG15IG1hYyBjb21wdXRlciAg aXRzIGFuIGlib29rIGczIHdpdGggYSAyMGdiIGhhcmQgZGl2ZSBpIHdhcyB1c2luZyB0aGUgcG93 ZXJwYyB2ZXJzaW9uIGFuZCBpdCB3YXMgd29ya2luZyBmaW5lIHRoZW4gaSBnb3QgdG8gdGhlIHBh cnQgd2VyZSB5b3UgaGF2ZSB0byBzZXQgdXAgdGhlIGhhcmQgZHJpdmUgaSBnb3Qgc29tZSBraW5k IG9mIGVyciBzbyBpIHR1cm5lZCBvZmYgbXkgY29tcHV0ZXIgd2hlbiBpIHR1cm5lZCBpdCBiYWNr IG9uIGl0IG9ubHkgYm9vdHMgdG8gYSB3aGl0ZSBzY3JlZW4gaWRrIHdoYXQgdG8gZG8gcGxlYXNl IGhlbHA= From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 19:45:58 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6D2C4106566B for ; Mon, 23 Jul 2012 19:45:58 +0000 (UTC) (envelope-from noc@hdk5.net) Received: from moku60.aloha50.net (moku60.aloha50.net [66.180.132.237]) by mx1.freebsd.org (Postfix) with ESMTP id 4073E8FC1B for ; Mon, 23 Jul 2012 19:45:58 +0000 (UTC) Received: from mohawk7.intra.net (unknown [66.180.149.18]) by moku60.aloha50.net (Postfix) with ESMTP id 46E2F1703E for ; Mon, 23 Jul 2012 09:36:28 -1000 (HST) Message-ID: <500DA7BB.7040208@hdk5.net> Date: Mon, 23 Jul 2012 09:36:27 -1000 From: Al Plant User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128 FreeBSD/i386 SeaMonkey/1.1.7 MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: usb identity issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noc@hdk5.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 19:45:58 -0000 Aloha... I am having problem getting usb plug in /flash drive to come up on FreeBSD * several boxes with different versions of FreeBSB os I have 3 boxes for testing here at my shop. Can anyone point me to any articles on this issue. Is there a command like usbconfig (saw this mentioned in an email question but it doesnt work) to bring this up on screen? Dmesg of the booted units shows da1 mostly but this identity cant be accessed on any of them. Thanks.... ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 20:47:46 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 776BD106566B for ; Mon, 23 Jul 2012 20:47:46 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id BB62E8FC15 for ; Mon, 23 Jul 2012 20:47:45 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6NKlcVh014336; Mon, 23 Jul 2012 22:47:38 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6NKlcmM014333; Mon, 23 Jul 2012 22:47:38 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 23 Jul 2012 22:47:38 +0200 (CEST) From: Wojciech Puchar To: Al Plant In-Reply-To: <500DA7BB.7040208@hdk5.net> Message-ID: References: <500DA7BB.7040208@hdk5.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Mon, 23 Jul 2012 22:47:38 +0200 (CEST) Cc: "freebsd-questions@freebsd.org" Subject: Re: usb identity issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 20:47:46 -0000 > I am having problem getting usb plug in /flash drive to come up on FreeBSD * > several boxes with different versions of FreeBSB os I have 3 boxes for > testing here at my shop. maybe it's late but i cannot really understand what you mean. what problems? Attach kernel output messages please. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 21:13:08 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C155D106564A for ; Mon, 23 Jul 2012 21:13:08 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) by mx1.freebsd.org (Postfix) with SMTP id 9E47C8FC0A for ; Mon, 23 Jul 2012 21:13:08 +0000 (UTC) Received: from ::ffff:69.12.202.165 ([69.12.202.165]) by holgerdanske.com for ; Mon, 23 Jul 2012 14:13:06 -0700 Message-ID: <500DBE58.6050000@holgerdanske.com> Date: Mon, 23 Jul 2012 14:12:56 -0700 From: David Christensen User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20120613 Icedove/3.0.11 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <500A2773.1060100@holgerdanske.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: PCBSD9.0-x64-DVD and Intel HD Graphics 2000 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 21:13:08 -0000 On 07/23/2012 03:37 AM, Vladislav wrote: > http://wiki.freebsd.org/Intel_GPU Okay. I wrote: > I've installed PCBSD9.0-x64-DVD on the following hardware: On 07/23/2012 06:30 AM, Erich Dollansky wrote: > this where the problem starts. If nothing changed since I used this, it only supports VESA on i7 CPUs. Okay. I wrote: > I have updated the system using Update Manager, and the problems persist. On 07/23/2012 06:30 AM, Erich Dollansky wrote: > What does this affect? Also the FreeBSD part? I don't know. > I am now running FreeBSD 10 on an i7 without any problems. It should also be possible to get the same result with a current 9.0. > Do the same what I have done. Use PC-BSD just to get a machine running and then update to FreeBSD. I was hoping to find an OS distribution that works OOTB. The key features I'm looking for are: 1. Full support of my hardware; notably Enhanced Speed Step, AES-NI, Intel HD Graphics 2000 dual head, and SSD TRIM. 2. ZFS on encrypted partitions, including root. I guess I'll have to wait for PC-BSD 10 or FreeBSD 10. Thanks! David From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 21:47:17 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13BEE106566C for ; Mon, 23 Jul 2012 21:47:16 +0000 (UTC) (envelope-from noc@hdk5.net) Received: from moku60.aloha50.net (moku60.aloha50.net [66.180.132.237]) by mx1.freebsd.org (Postfix) with ESMTP id 40B518FC08 for ; Mon, 23 Jul 2012 21:47:16 +0000 (UTC) Received: from mohawk7.intra.net (unknown [66.180.149.18]) by moku60.aloha50.net (Postfix) with ESMTP id E834F1703E; Mon, 23 Jul 2012 11:47:14 -1000 (HST) Message-ID: <500DC661.4030000@hdk5.net> Date: Mon, 23 Jul 2012 11:47:13 -1000 From: Al Plant User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128 FreeBSD/i386 SeaMonkey/1.1.7 MIME-Version: 1.0 To: Wojciech Puchar References: <500DA7BB.7040208@hdk5.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: usb identity issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noc@hdk5.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 21:47:17 -0000 Wojciech Puchar wrote: >> I am having problem getting usb plug in /flash drive to come up on >> FreeBSD * several boxes with different versions of FreeBSB os I have 3 >> boxes for testing here at my shop. > maybe it's late but i cannot really understand what you mean. > > what problems? Attach kernel output messages please. > Woj... The thumb/flash drive is showing in the dmesg as ad1 but it is not available to use. It appears the IRQ is blocked by something else. Either a IOMEGA /zip drive or the fd0. I tried 3 different computers to test and only one works if nothing else (/dev like fd0 or /zip drive is hooked up on the mobo. One of the techs I work with thinks a lot of mobo's have the same problem when you have more than one outside /dev is attached. /Zip and /fd0 work but not /Zip if /flash is attached or plugged in. For example on the last computer I have tried one of 5 on an atm circuit: The dmesg shows only fd0 normal. The USB0 USB1 and USB2 shows 1> USB3 all connected to a hub on the mobo but only a double USB is physically useable and hooked to the board. (no way to read any ad* or da* USB). ad0 is the hd on the box. orm0 shows the IOMEGA as isa0 connected with vpI0 (parallel) da0s4. The other 2 computers I tested on are for hardware bench tests and not on any network. Thanks for your help. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 21:58:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2059A106566C for ; Mon, 23 Jul 2012 21:58:40 +0000 (UTC) (envelope-from noc@hdk5.net) Received: from moku60.aloha50.net (moku60.aloha50.net [66.180.132.237]) by mx1.freebsd.org (Postfix) with ESMTP id E05278FC17 for ; Mon, 23 Jul 2012 21:58:39 +0000 (UTC) Received: from mohawk7.intra.net (unknown [66.180.149.18]) by moku60.aloha50.net (Postfix) with ESMTP id EA9EB1703E; Mon, 23 Jul 2012 11:58:38 -1000 (HST) Message-ID: <500DC90D.7030301@hdk5.net> Date: Mon, 23 Jul 2012 11:58:37 -1000 From: Al Plant User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128 FreeBSD/i386 SeaMonkey/1.1.7 MIME-Version: 1.0 To: noc@hdk5.net References: <500DA7BB.7040208@hdk5.net> <500DC661.4030000@hdk5.net> In-Reply-To: <500DC661.4030000@hdk5.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Wojciech Puchar , "freebsd-questions@freebsd.org" Subject: Re: usb identity issue (adds more info) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noc@hdk5.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 21:58:40 -0000 Adds missing section: Al Plant wrote: > Wojciech Puchar wrote: >>> I am having problem getting usb plug in /flash drive to come up on >>> FreeBSD * several boxes with different versions of FreeBSB os I have >>> 3 boxes for testing here at my shop. >> maybe it's late but i cannot really understand what you mean. >> >> what problems? Attach kernel output messages please. >> > Woj... > > The thumb/flash drive is showing in the dmesg as ad1 but it is not > available to use. It appears the IRQ is blocked by something else. > Either a IOMEGA /zip drive or the fd0. I tried 3 different computers to > test and only one works if nothing else (/dev like fd0 or /zip drive is > hooked up on the mobo. > > One of the techs I work with thinks a lot of mobo's have the same > problem when you have more than one outside /dev is attached. > /Zip and /fd0 work but not /Zip if /flash is attached or plugged in. > > For example on the last computer I have tried one of 5 on an atm circuit: > The dmesg shows only fd0 normal. The USB0 USB1 and USB2 shows 1> USB3 > all connected to a hub on the mobo but only a double USB is physically > useable and hooked to the board. (no way to read any ad* or da* USB). > ad0 is the hd on the box. > > orm0 shows the IOMEGA as isa0 connected with vpI0 (parallel) da0s4. Added: > da1 for /flash is posted on dmesg by the computer but you cant read the files on the /flash from the screen as you can from /floppy or from /zip . ***** > The other 2 computers I tested on are for hardware bench tests and not > on any network. > > Thanks for your help. > > > ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 > + http://hawaiidakine.com + http://freebsdinfo.org + > + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + > < email: noc@hdk5.net > > "All that's really worth doing is what we do for others."- Lewis Carrol > > From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 23:22:34 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29BF2106566B for ; Mon, 23 Jul 2012 23:22:34 +0000 (UTC) (envelope-from fbsd8@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 0DF078FC14 for ; Mon, 23 Jul 2012 23:22:33 +0000 (UTC) Received: from [10.0.10.3] ([173.88.199.104]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 23 Jul 2012 16:22:28 -0700 Message-ID: <500DDCAF.5040006@a1poweruser.com> Date: Mon, 23 Jul 2012 19:22:23 -0400 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: noc@hdk5.net References: <500DA7BB.7040208@hdk5.net> <500DC661.4030000@hdk5.net> <500DC90D.7030301@hdk5.net> In-Reply-To: <500DC90D.7030301@hdk5.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 23 Jul 2012 23:22:28.0332 (UTC) FILETIME=[0690FAC0:01CD692A] X-Sender: fbsd8@a1poweruser.com X-Authenticated-Sender: fbsd8@a1poweruser.com X-EchoSenderHash: [fbsd8]-[a1poweruser*com] Cc: "freebsd-questions@freebsd.org" Subject: Re: usb identity issue (adds more info) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 23:22:34 -0000 Al Plant wrote: > Adds missing section: > > Al Plant wrote: >> Wojciech Puchar wrote: >>>> I am having problem getting usb plug in /flash drive to come up on >>>> FreeBSD * several boxes with different versions of FreeBSB os I have >>>> 3 boxes for testing here at my shop. >>> maybe it's late but i cannot really understand what you mean. >>> >>> what problems? Attach kernel output messages please. >>> >> Woj... >> >> The thumb/flash drive is showing in the dmesg as ad1 but it is not >> available to use. It appears the IRQ is blocked by something else. >> Either a IOMEGA /zip drive or the fd0. I tried 3 different computers >> to test and only one works if nothing else (/dev like fd0 or /zip >> drive is hooked up on the mobo. >> >> One of the techs I work with thinks a lot of mobo's have the same >> problem when you have more than one outside /dev is attached. >> /Zip and /fd0 work but not /Zip if /flash is attached or plugged in. >> >> For example on the last computer I have tried one of 5 on an atm circuit: >> The dmesg shows only fd0 normal. The USB0 USB1 and USB2 shows 1> USB3 >> all connected to a hub on the mobo but only a double USB is physically >> useable and hooked to the board. (no way to read any ad* or da* USB). >> ad0 is the hd on the box. >> >> orm0 shows the IOMEGA as isa0 connected with vpI0 (parallel) da0s4. > > Added: >> da1 for /flash is posted on dmesg by the computer but you cant read >> the files on the > /flash from the screen as you can from /floppy or from /zip . > > ***** >> The other 2 computers I tested on are for hardware bench tests and not > >> on any network. >> >> Thanks for your help. >> You did not say what release of Freebsd you are running. Pick one pc to test on and report results from that one only. Are you saying you have all those devices plugged into individual USB ports at boot time? Are all your USB devices coded in /etc/fstab What version of USB (1, 2, 3) is your flash drive designed for? Have you tried different manufactures of flash drives? Post your /etc/fstab dmesg for usb, output of usbconfig command, draw diagram of your usb device configuration. From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 00:02:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DC25B1065686 for ; Tue, 24 Jul 2012 00:02:40 +0000 (UTC) (envelope-from noc@hdk5.net) Received: from moku60.aloha50.net (moku60.aloha50.net [66.180.132.237]) by mx1.freebsd.org (Postfix) with ESMTP id 469898FC12 for ; Tue, 24 Jul 2012 00:02:40 +0000 (UTC) Received: from mohawk7.intra.net (unknown [66.180.149.18]) by moku60.aloha50.net (Postfix) with ESMTP id 0ADD11703E; Mon, 23 Jul 2012 14:02:38 -1000 (HST) Message-ID: <500DE61D.4080902@hdk5.net> Date: Mon, 23 Jul 2012 14:02:37 -1000 From: Al Plant User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128 FreeBSD/i386 SeaMonkey/1.1.7 MIME-Version: 1.0 To: Fbsd8 References: <500DA7BB.7040208@hdk5.net> <500DC661.4030000@hdk5.net> <500DC90D.7030301@hdk5.net> <500DDCAF.5040006@a1poweruser.com> In-Reply-To: <500DDCAF.5040006@a1poweruser.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: usb identity issue (adds more info) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noc@hdk5.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 00:02:41 -0000 Fbsd8 wrote: > Al Plant wrote: >> Adds missing section: >> >> Al Plant wrote: >>> Wojciech Puchar wrote: >>>>> I am having problem getting usb plug in /flash drive to come up on >>>>> FreeBSD * several boxes with different versions of FreeBSB os I >>>>> have 3 boxes for testing here at my shop. >>>> maybe it's late but i cannot really understand what you mean. >>>> >>>> what problems? Attach kernel output messages please. >>>> >>> Woj... >>> >>> The thumb/flash drive is showing in the dmesg as ad1 but it is not >>> available to use. It appears the IRQ is blocked by something else. >>> Either a IOMEGA /zip drive or the fd0. I tried 3 different computers >>> to test and only one works if nothing else (/dev like fd0 or /zip >>> drive is hooked up on the mobo. >>> >>> One of the techs I work with thinks a lot of mobo's have the same >>> problem when you have more than one outside /dev is attached. >>> /Zip and /fd0 work but not /Zip if /flash is attached or plugged in. >>> >>> For example on the last computer I have tried one of 5 on an atm >>> circuit: >>> The dmesg shows only fd0 normal. The USB0 USB1 and USB2 shows 1> USB3 >>> all connected to a hub on the mobo but only a double USB is >>> physically useable and hooked to the board. (no way to read any ad* >>> or da* USB). ad0 is the hd on the box. >>> >>> orm0 shows the IOMEGA as isa0 connected with vpI0 (parallel) da0s4. >> >> Added: >>> da1 for /flash is posted on dmesg by the computer but you cant read >>> the files on the >> /flash from the screen as you can from /floppy or from /zip . >> >> ***** >>> The other 2 computers I tested on are for hardware bench tests and not >> >>> on any network. >>> >>> Thanks for your help. > > You did not say what release of Freebsd you are running. On one test box is 10 on the other is 9 and on this one is 8 . This is 8. > Pick one pc to test on and report results from that one only. > Are you saying you have all those devices plugged into individual > USB ports at boot time? No. Only HD at boot on any of the test boxes. Then i manually try each. /dev/fd0 /floppy (Irq6) /dev/da0s4 /zip Iomega (vpo Zip drive.) /dev/ad0 WDC (HD) /dev/acd0 /cdrom > Are all your USB devices coded in /etc/fstab Yes. > What version of USB (1, 2, 3) is your flash drive designed for? doesnt say on this dmesg. Only shows up when you plug in the /flash (SanDisk) > Have you tried different manufactures of flash drives? Have tried 2 sandisk /flash different series. > Post your /etc/fstab dmesg for usb, output of usbconfig command, The dmesg shows only fd0 normal. The USB0 USB1 and USB2 shows 1> USB3 >>> all connected to a hub on the mobo but only a double USB is >>> physically useable and hooked to the board. draw > diagram of your usb device configuration. ??? > ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 00:16:41 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CEE7F106566B for ; Tue, 24 Jul 2012 00:16:41 +0000 (UTC) (envelope-from list_freebsd@bluerosetech.com) Received: from rush.bluerosetech.com (rush.bluerosetech.com [IPv6:2607:fc50:1000:9b00::25]) by mx1.freebsd.org (Postfix) with ESMTP id 9DE818FC0A for ; Tue, 24 Jul 2012 00:16:41 +0000 (UTC) Received: from vivi.cat.pdx.edu (vivi.cat.pdx.edu [131.252.214.6]) by rush.bluerosetech.com (Postfix) with ESMTPSA id 2243911437 for ; Mon, 23 Jul 2012 17:16:34 -0700 (PDT) Received: from [IPv6:2001:470:8643:970:2d46:80a1:33b1:d35d] (unknown [IPv6:2001:470:8643:970:2d46:80a1:33b1:d35d]) by vivi.cat.pdx.edu (Postfix) with ESMTPSA id D56EF24DF4 for ; Mon, 23 Jul 2012 17:16:32 -0700 (PDT) Message-ID: <500DE961.2050908@bluerosetech.com> Date: Mon, 23 Jul 2012 17:16:33 -0700 From: Darren Pilgrim User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:10.0.4) Gecko/20120421 Thunderbird/10.0.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Removing sendmail from an installed 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, 24 Jul 2012 00:16:41 -0000 I'm removing sendmail entirely from an installed system. I had WITHOUT_SENDMAIL in /etc/src.conf when I updated to RELENG_8_3, but that left an old version of sendmail rotting away on disk. This is the list I have so far: /etc/mail/* (excluding mailer.conf) /etc/rc.d/sendmail /usr/bin/vacation /usr/libexec/mail.local /usr/libexec/sendmail /usr/libexec/smrsh /usr/sbin/editmap /usr/sbin/mailstats /usr/sbin/makemap /usr/sbin/praliases /usr/share/sendmail /var/spool/clientmqueue /var/spool/mqueue Is this list complete? I'm intentionally leaving the stuff for mailwrapper. I'm ok with leaving /etc/rc.d/sendmail behind as well, but it looks like it's not needed by anything (i.e., nothing requires "mail"). Even though I have WITHOUT_SENDMAIL specified and the world was built with that, mergemaster still installs /etc/mail/aliases and /etc/rc.d/sendmail. Is there a way to prevent this other than adding them to IGNORE_FILES in mergemasterrc? From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 00:40:05 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4C271106564A for ; Tue, 24 Jul 2012 00:40:05 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from mail.monochrome.org (b4.ebbed1.client.atlantech.net [209.190.235.180]) by mx1.freebsd.org (Postfix) with ESMTP id 02FBB8FC08 for ; Tue, 24 Jul 2012 00:40:04 +0000 (UTC) Received: from [192.168.1.11] ([192.168.1.11]) by mail.monochrome.org (8.14.3/8.14.3) with ESMTP id q6O0dw9N012797; Mon, 23 Jul 2012 20:39:58 -0400 (EDT) (envelope-from chris@monochrome.org) Date: Mon, 23 Jul 2012 20:39:58 -0400 (EDT) From: Chris Hill To: Al Plant In-Reply-To: <500DA7BB.7040208@hdk5.net> Message-ID: References: <500DA7BB.7040208@hdk5.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: "freebsd-questions@freebsd.org" Subject: Re: usb identity issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 00:40:05 -0000 On Mon, 23 Jul 2012, Al Plant wrote: > I am having problem getting usb plug in /flash drive to come up on > FreeBSD * several boxes with different versions of FreeBSB os I have 3 > boxes for testing here at my shop. > > Can anyone point me to any articles on this issue. > > Is there a command like usbconfig (saw this mentioned in an email > question but it doesnt work) to bring this up on screen? I don't know of any articles, but here is what I do: $ uname -r 8.0-STABLE $ ls /dev | grep ^da $ (note that there is nothing found) ...and then plug in the thumb drive and do it again: $ ls /dev | grep ^da da0 da0s1 $ ...and now I can mount it. Since this drive is a FAT32 filesystem, I use mount_msdosfs. Having an entry in /etc/fstab is a convenience but not strictly necessary. > Dmesg of the booted units shows da1 mostly but this identity cant be > accessed on any of them. After pluggin in my thumb drive, my dmesg shows da0: Removable Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: 7629MB (15625216 512 byte sectors: 255H 63S/T 972C) Note that while dmesg only shows da0, my `ls /dev` also shows da0s1. You may need to use /dev/da1s1 or similar (depending on what you see from `ls /dev`) in your mount command. Try a few permutations. HTH, and maika'i pomaika'i. -- Chris Hill chris@monochrome.org ** [ Busy Expunging ] From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 00:44:42 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ED1E61065672 for ; Tue, 24 Jul 2012 00:44:42 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id A94838FC0A for ; Tue, 24 Jul 2012 00:44:42 +0000 (UTC) Received: from r56.edvax.de (port-92-195-22-218.dynamic.qsc.de [92.195.22.218]) by mx01.qsc.de (Postfix) with ESMTP id 486053CD8F; Tue, 24 Jul 2012 02:44:36 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q6O0iZAN001953; Tue, 24 Jul 2012 02:44:35 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 24 Jul 2012 02:44:35 +0200 From: Polytropon To: noc@hdk5.net Message-Id: <20120724024435.06beabb4.freebsd@edvax.de> In-Reply-To: <500DE61D.4080902@hdk5.net> References: <500DA7BB.7040208@hdk5.net> <500DC661.4030000@hdk5.net> <500DC90D.7030301@hdk5.net> <500DDCAF.5040006@a1poweruser.com> <500DE61D.4080902@hdk5.net> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: usb identity issue (adds more info) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 00:44:43 -0000 On Mon, 23 Jul 2012 14:02:37 -1000, Al Plant wrote: > doesnt say on this dmesg. Only shows up when you plug in the /flash > (SanDisk) Ah, SanDisk... I remember I returned one of their USB sticks in exchange for a Sony, because that DID WORK. :-) > > Have you tried different manufactures of flash drives? > Have tried 2 sandisk /flash different series. For diagnostics, "by the book", simple and step by step: You could first check dmesg ouput atter plugging in the USB device. It should show the steps of recognition properly: USB device ---> mass storage ---> direct access. Typically that's the last few lines in dmesg output. ugen4.3: at usbus4 umass1: on usbus4 da3 at umass-sim1 bus 1 scbus4 target 0 lun 0 da3: Removable Direct Access SCSI-2 device da3: 40.000MB/s transfers da3: 3826MB (7835648 512 byte sectors: 255H 63S/T 487C) You can easily see those steps represented here. If all this is met, you should have /dev/da3 (in this case) in /dev. Depending on partitioning, there may be other files like /dev/da3s1. One of them is to be mounted. Try per command line first, then check if your /etc/fstab does reflect those settings, e. g. # mount -t msdosfs -o ro /dev/da3 /mnt # df -h /mnt Filesystem Size Used Avail Capacity Mounted on /dev/da3 3.7G 3.4G 352M 91% /mnt # umount /mnt Please report back and provide the output of the commands you entered (just to make sure it's not blocked by permission issues or typos). :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 00:53:32 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE420106566B for ; Tue, 24 Jul 2012 00:53:32 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 9DD9E8FC12 for ; Tue, 24 Jul 2012 00:53:32 +0000 (UTC) Received: from r56.edvax.de (port-92-195-22-218.dynamic.qsc.de [92.195.22.218]) by mx01.qsc.de (Postfix) with ESMTP id A28BD3CDD3; Tue, 24 Jul 2012 02:53:31 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q6O0rURf001980; Tue, 24 Jul 2012 02:53:31 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 24 Jul 2012 02:53:30 +0200 From: Polytropon To: Darren Pilgrim Message-Id: <20120724025330.838401ef.freebsd@edvax.de> In-Reply-To: <500DE961.2050908@bluerosetech.com> References: <500DE961.2050908@bluerosetech.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Removing sendmail from an installed system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 00:53:33 -0000 On Mon, 23 Jul 2012 17:16:33 -0700, Darren Pilgrim wrote: > Even though I have WITHOUT_SENDMAIL specified and the world was built > with that, mergemaster still installs /etc/mail/aliases and > /etc/rc.d/sendmail. Is there a way to prevent this other than adding > them to IGNORE_FILES in mergemasterrc? I've never tried to actually _remove_ sendmail (because simply ignoring it seems so much easier when needed), but did you try the "make delete-old" and "make delete-old-libs" as explained in /usr/src/Makefile's comment header for the updating process? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 04:52:57 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B757C106564A for ; Tue, 24 Jul 2012 04:52:57 +0000 (UTC) (envelope-from cross+freebsd@distal.com) Received: from mail.distal.com (mail.distal.com [IPv6:2001:470:e24c:200::ae25]) by mx1.freebsd.org (Postfix) with ESMTP id 8977E8FC08 for ; Tue, 24 Jul 2012 04:52:57 +0000 (UTC) Received: from magrathea.distal.com (magrathea.distal.com [206.138.151.12]) (authenticated bits=0) by mail.distal.com (8.14.3/8.14.3) with ESMTP id q6O4qt3E021370 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Tue, 24 Jul 2012 00:52:56 -0400 (EDT) From: Chris Ross Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 24 Jul 2012 00:52:55 -0400 Message-Id: <24DFC78A-422A-4831-9B74-E762C9245DCD@distal.com> To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v1278) X-Mailer: Apple Mail (2.1278) Subject: Locally modifying ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 04:52:57 -0000 So, I've been a NetBSD user for many years, and am looking more at FreeBSD now. Trying to build myself a system, I find that I have a long-held delta to a package on my NetBSD system, and I keep it in a patch-local-* file in NetBSD pkgsrc. I can't figure out if FreeBSD ports has a way to keep and automatically apply "local" patches to ports. I want to modify the way the internals of a package/port operate, and not in a way that makes sense to move up- stream. It's just my preference. Is there a way in FreeBSD ports to keep a "make this change to the source code after extracting and before compiling" type of thing in the tree? Thanks.... - Chris From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 06:24:52 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E3A17106566C for ; Tue, 24 Jul 2012 06:24:52 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 399C98FC16 for ; Tue, 24 Jul 2012 06:24:51 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6O6OhNv018165; Tue, 24 Jul 2012 08:24:43 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6O6Ogbp018162; Tue, 24 Jul 2012 08:24:43 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Tue, 24 Jul 2012 08:24:42 +0200 (CEST) From: Wojciech Puchar To: Al Plant In-Reply-To: <500DC661.4030000@hdk5.net> Message-ID: References: <500DA7BB.7040208@hdk5.net> <500DC661.4030000@hdk5.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 passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Tue, 24 Jul 2012 08:24:43 +0200 (CEST) Cc: "freebsd-questions@freebsd.org" Subject: Re: usb identity issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 06:24:53 -0000 >> what problems? Attach kernel output messages please. >> > Woj... > > The thumb/flash drive is showing in the dmesg as ad1 but it is not available > to use. da1 or ad1? what exactly "not available to use" means? From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 06:27:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F7A81065672 for ; Tue, 24 Jul 2012 06:27:40 +0000 (UTC) (envelope-from mbsd@isgroup.com.ua) Received: from mail.standard.com.ua (mail.isgroup.com.ua [46.229.54.104]) by mx1.freebsd.org (Postfix) with ESMTP id 0A8178FC0A for ; Tue, 24 Jul 2012 06:27:39 +0000 (UTC) Received: from [192.168.0.2] (unused-213.111.71.69.bilink.ua [213.111.71.69] (may be forged)) (authenticated bits=0) by mail.standard.com.ua (8.14.3/8.14.3) with ESMTP id q6O6KOL3027175 for ; Tue, 24 Jul 2012 09:20:24 +0300 (EEST) (envelope-from mbsd@isgroup.com.ua) From: clutton To: freebsd-questions Content-Type: text/plain; charset="UTF-8" Date: Tue, 24 Jul 2012 09:26:58 +0300 Message-ID: <1343111218.25671.10.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-102.9 required=9.0 tests=ALL_TRUSTED,BAYES_00, USER_IN_WHITELIST autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.isgroup.com.ua Subject: at behaviour and man at inconsistency X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 06:27:40 -0000 >From man: The at utility allows some moderately complex time specifications. It accepts times of the form HHMM or HH:MM to run a job at a specific time of day. (If that time is already past, the next day is assumed.) Current behavior: Ξ ~ → date Tue 24 Jul 2012 09:17:36 EEST Ξ ~ → at 09:18 echo tototo Job 1 will be executed using /bin/sh Ξ ~ → at 09:15 at: trying to travel back in time zsh: exit 1 at 09:15 Five, ok, may by more years ago, I don't remember exactly. at had worked like the man explain. From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 06:46:42 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E859106564A for ; Tue, 24 Jul 2012 06:46:42 +0000 (UTC) (envelope-from ufs@poniki.net) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id C9BA78FC0A for ; Tue, 24 Jul 2012 06:46:41 +0000 (UTC) Received: by lbon10 with SMTP id n10so10889046lbo.13 for ; Mon, 23 Jul 2012 23:46:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:organization:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding:x-gm-message-state; bh=yQTsq7YKiJxor4HwJSk4bUDs52UDxbGPSJc5y7TnZdk=; b=bH2U74aU+2WzRdUiPdVGercXs4iVzta3zbUqDRqP56T9WdyRuLDzAoy6pbEKZC2Ds9 CBf2otra8liNEd49S+SzWuM8fLjOvxK6m7iB0rG2vSXvQIBFGrpqNGH1BHhbjZbMHaed ys1j58cL0hqKKKvlmVxBJC3RLEZDpjtwox7aPFt217s6VeBZfOhibLLzOANmSA/zKFqg B4LqBUHflzHxkvSlHiCELSD4/GD38dOWDNgFN/yqvq2rMvMiAVjSQ0Ic4gP0VfriWqWF 2aOsoYRNef26TcY7OkefqyXRmrWZfP04mMJa2thhbWHqKaxwo1lHaDkJ5OADZ3tEhVL+ 0Hwg== Received: by 10.112.49.227 with SMTP id x3mr9207509lbn.73.1343112400538; Mon, 23 Jul 2012 23:46:40 -0700 (PDT) Received: from jew.lancronix.ru (sofia.torservers.net. [109.163.233.201]) by mx.google.com with ESMTPS id pp2sm15614079lab.3.2012.07.23.23.46.37 (version=SSLv3 cipher=OTHER); Mon, 23 Jul 2012 23:46:39 -0700 (PDT) Message-ID: <500E44A4.6060604@poniki.net> Date: Tue, 24 Jul 2012 10:45:56 +0400 From: ufs Organization: Hydroponic ltd. User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120702 Thunderbird/13.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <500A2773.1060100@holgerdanske.com> <500DBE58.6050000@holgerdanske.com> In-Reply-To: <500DBE58.6050000@holgerdanske.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQnaYFkXY6SBkdJynnqrHASJjPt3lJhrL+vocdLzcvc3+KUsYeFlpmPJLNuCnzm+x3N8fhvK Subject: Re: PCBSD9.0-x64-DVD and Intel HD Graphics 2000 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 06:46:42 -0000 On 24.07.2012 01:12, David Christensen wrote: > On 07/23/2012 03:37 AM, Vladislav wrote: >> http://wiki.freebsd.org/Intel_GPU > > Okay. > > > I wrote: > > I've installed PCBSD9.0-x64-DVD on the following hardware: > > On 07/23/2012 06:30 AM, Erich Dollansky wrote: > > this where the problem starts. If nothing changed since I used this, > it only supports VESA on i7 CPUs. > > Okay. > > > I wrote: > > I have updated the system using Update Manager, and the problems > persist. > > On 07/23/2012 06:30 AM, Erich Dollansky wrote: > > What does this affect? Also the FreeBSD part? > > I don't know. > > > > I am now running FreeBSD 10 on an i7 without any problems. It should > also be possible to get the same result with a current 9.0. > > Do the same what I have done. Use PC-BSD just to get a machine > running and then update to FreeBSD. > > I was hoping to find an OS distribution that works OOTB. The key > features I'm looking for are: > > 1. Full support of my hardware; notably Enhanced Speed Step, AES-NI, > Intel HD Graphics 2000 dual head, and SSD TRIM. > > 2. ZFS on encrypted partitions, including root. > > > I guess I'll have to wait for PC-BSD 10 or FreeBSD 10. > > > Thanks! > > David > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Hi, What about the new Xorg(make.conf WITH_NEW_XORG=true) and drivers Intel? I have heard that this solution works, OpenGL too... From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 06:50:56 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7FF9E106566C for ; Tue, 24 Jul 2012 06:50:56 +0000 (UTC) (envelope-from olspookishmagus@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4627D8FC0A for ; Tue, 24 Jul 2012 06:50:56 +0000 (UTC) Received: by obbun3 with SMTP id un3so13798567obb.13 for ; Mon, 23 Jul 2012 23:50:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=ZOtbLl582HgwjAIHgvDBU6ZkPeFYOAiQmZjZ7zjilUI=; b=Z2UJv48fw9Eeq5IDmnIYxZuCcFTfXDcbeymYpfXE4UUTmnqv8oOoTyfQ5BByj0zdHj Bf021y9qqbH3xkNDUm+FgNrQvtyT1B4t8cS7fGPCuGH/lotXmOum7UPwO1E1nVXc6Yaj Zk5E865Xz67dE90+adRq9gBMab07WCT5/kpSXCzA8aDuECTswWsAXIfgNWitDdqg7cpb TxrgC83Ou4Dp6eEE+bY+a/41PRmVli5rswjpgY/nxu0ir0mkDk28/5SN+RuIqxY2IO7f MpU/Mp7THtPU2P/0pla4adlP8lFaw1P/dAuroPWGbcvwwx/XuKE8l5eMRntosB5Qrt5i eDYQ== Received: by 10.182.156.97 with SMTP id wd1mr24929012obb.25.1343112655691; Mon, 23 Jul 2012 23:50:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.141.134 with HTTP; Mon, 23 Jul 2012 23:50:35 -0700 (PDT) In-Reply-To: <500A2773.1060100@holgerdanske.com> References: <500A2773.1060100@holgerdanske.com> From: Sophoklis Goumas Date: Tue, 24 Jul 2012 09:50:35 +0300 Message-ID: To: David Christensen Content-Type: text/plain; charset=UTF-8 Cc: freebsd-questions@freebsd.org Subject: Re: PCBSD9.0-x64-DVD and Intel HD Graphics 2000 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 06:50:56 -0000 On Sat, Jul 21, 2012 at 6:52 AM, David Christensen wrote: > freebsd-questions: > > I've installed PCBSD9.0-x64-DVD on the following hardware: > > ... Also: http://lists.pcbsd.org/mailman/listinfo Sophoklis From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 08:21:01 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D560C106566B for ; Tue, 24 Jul 2012 08:21:01 +0000 (UTC) (envelope-from ufs@poniki.net) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 535758FC12 for ; Tue, 24 Jul 2012 08:21:00 +0000 (UTC) Received: by laai10 with SMTP id i10so793050laa.13 for ; Tue, 24 Jul 2012 01:21:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:organization:user-agent:mime-version:to :subject:content-type:content-transfer-encoding:x-gm-message-state; bh=5Le8QrO1scGdI3FHKEipebtUfF95ELdoTwJUK7sL7/4=; b=Fvk+R0IgO7yhPKx/ODNPBeqlKlCjtP7eTMuoG2THfHsHAJ7AgSGTx+kh8oqwSByJIP vSrHbuIlu41M/lXlP/1rfiLB1XPMe6IRI4FaoezFGKnKx2ADGLh8YeZ7tbg5YVkc3Dbo rRraknylKyqgTNzUxX4n9pi3OMneZprc0Seigos4rL2rj9xOWSw4Xm67SpzD7BGyfaib g8IX+81TT1QPrDtTqzgXHGuoaaSNPI+q/RgDH/AVfl5RrPOZgiFwBfe6F3qK3SKrLp/N mt6tSY4MfBNHV6b1ziJM7gOAFPIevbrjG0a6YzW/hVuU8agYHodnkdMxMPk1H/WzeFva Hvww== Received: by 10.152.148.195 with SMTP id tu3mr20521244lab.16.1343118060029; Tue, 24 Jul 2012 01:21:00 -0700 (PDT) Received: from jew.lancronix.ru (saito.countshockula.com. [65.183.151.13]) by mx.google.com with ESMTPS id o5sm3589965lbg.5.2012.07.24.01.20.56 (version=SSLv3 cipher=OTHER); Tue, 24 Jul 2012 01:20:58 -0700 (PDT) Message-ID: <500E5ABE.2000907@poniki.net> Date: Tue, 24 Jul 2012 12:20:14 +0400 From: ufs Organization: Hydroponic ltd. User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120702 Thunderbird/13.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQlacaxmhKzpGTx1uY73PCdHw97/AFHG5Ti+CW0OPAt0ukDVt1XV3fR+wH/dZaKe/GtLIVac Subject: GTK30 failed 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: Tue, 24 Jul 2012 08:21:02 -0000 Hello! configure: error: *** Can't find cairo-pdf.h. You must build Cairo with the pdf *** backend enabled. ===> Script "configure" failed unexpectedly. Please run the gnomelogalyzer, available from "http://www.freebsd.org/gnome/gnomelogalyzer.sh", which will diagnose the problem and suggest a solution. If - and only if - the gnomelogalyzer cannot solve the problem, report the build failure to the FreeBSD GNOME team at gnome@FreeBSD.org, and attach (a) "/usr/obj/usr/ports/x11-toolkits/gtk30/work/gtk+-3.0.12/config.log", (b) the output of the failed make command, and (c) the gnomelogalyzer output. Also, it might be a good idea to provide an overview of all packages installed on your system (i.e. an `ls /var/db/pkg`). Put your attachment up on any website, copy-and-paste into http://freebsd-gnome.pastebin.com, or use send-pr(1) with the attachment. Try to avoid sending any attachments to the mailing list (gnome@FreeBSD.org), because attachments sent to FreeBSD mailing lists are usually discarded by the mailing list software. *** Error code 1 Stop in /usr/ports/x11-toolkits/gtk30. *** Error code 1 Stop in /usr/ports/x11-toolkits/gtk30. # ls -l /usr/local/include/cairo total 147 9 -r--r--r-- 1 root wheel 8698 23 июл 15:57 cairo-deprecated.h 2 -r--r--r-- 1 root wheel 884 23 июл 15:57 cairo-features.h 3 -r--r--r-- 1 root wheel 2556 23 июл 15:57 cairo-ft.h 4 -r--r--r-- 1 root wheel 3527 23 июл 15:57 cairo-gl.h 7 -r--r--r-- 1 root wheel 6212 23 июл 15:57 cairo-gobject.h 4 -r--r--r-- 1 root wheel 3108 23 июл 15:57 cairo-pdf.h 5 -r--r--r-- 1 root wheel 3590 23 июл 15:57 cairo-ps.h 5 -r--r--r-- 1 root wheel 3852 23 июл 15:57 cairo-script-interpreter.h 4 -r--r--r-- 1 root wheel 2781 23 июл 15:57 cairo-svg.h 3 -r--r--r-- 1 root wheel 2164 23 июл 15:57 cairo-tee.h 1 -r--r--r-- 1 root wheel 148 23 июл 15:57 cairo-version.h 4 -r--r--r-- 1 root wheel 3197 23 июл 15:57 cairo-xcb.h 3 -r--r--r-- 1 root wheel 2436 23 июл 15:57 cairo-xlib-xrender.h 4 -r--r--r-- 1 root wheel 3057 23 июл 15:57 cairo-xlib.h 92 -r--r--r-- 1 root wheel 93134 23 июл 15:57 cairo.h # uname -psr FreeBSD 9.0-STABLE amd64 # pkg_info |grep cairo cairo-1.10.2_4,2 Vector graphics library with cross-device output support # make config Options for cairo 1.10.2_4,2 [*] GL Enable OpenGL Support [*] XCB Enable XCB (X C-language Binding) Support [*] GLIB Enable GObject Functions Feature Does anyone have any ideas to solve this problem? From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 08:28:15 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 77DA5106566C for ; Tue, 24 Jul 2012 08:28:15 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id AF4BE8FC0A for ; Tue, 24 Jul 2012 08:28:14 +0000 (UTC) Received: by laai10 with SMTP id i10so798785laa.13 for ; Tue, 24 Jul 2012 01:28:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=vQLA8X0xFMUGrdMVcIqCRo7HgVR0wLRqfYhebctYWq0=; b=tz6oj81I7xCwP1cCnz6W3soVXKqjWy3x4sR3hXy7VHqSeir9rfWm+eoF3BE8uRZHox DyY+lZy5Myu9PhZKe36NenjroOcKP+73MLYb7X/xGeb6rua90njkckuLsa236QVsJxov uJ4PPtn8B7sRSdNTdUDEqcCLzR5JzIbzBvx8ca/Lq9tkSdFfAI7s0m7e/Vk/YAR6hbQS 57um8dvE2ZTHhWz5Yb8jzZZTE8csWktUTDh1waA24StvJztz1XJiM/8IbhXk0kTD283c bXgjHKuO3Z0+iqkzD6ksEl8UZypQPl0ZmCd9UQ3Vh0lMqlxl1RXyLzhcu6gDbkIuQBXP PuNA== Received: by 10.152.104.171 with SMTP id gf11mr20636117lab.5.1343118493465; Tue, 24 Jul 2012 01:28:13 -0700 (PDT) Received: from green.tandem.local (utwig.xim.bz. [91.216.237.46]) by mx.google.com with ESMTPS id n7sm3597194lbk.10.2012.07.24.01.28.10 (version=SSLv3 cipher=OTHER); Tue, 24 Jul 2012 01:28:12 -0700 (PDT) Message-ID: <500E5C98.1000406@gmail.com> Date: Tue, 24 Jul 2012 11:28:08 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120605 Firefox/12.0 SeaMonkey/2.9.1 MIME-Version: 1.0 To: Chris Ross References: <24DFC78A-422A-4831-9B74-E762C9245DCD@distal.com> In-Reply-To: <24DFC78A-422A-4831-9B74-E762C9245DCD@distal.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Locally modifying ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 08:28:15 -0000 Chris Ross wrote: > So, I've been a NetBSD user for many years, and am looking more > at FreeBSD now. Trying to build myself a system, I find that I have a > long-held delta to a package on my NetBSD system, and I keep it > in a patch-local-* file in NetBSD pkgsrc. > > I can't figure out if FreeBSD ports has a way to keep and automatically > apply "local" patches to ports. I want to modify the way the internals of > a package/port operate, and not in a way that makes sense to move up- > stream. It's just my preference. > > Is there a way in FreeBSD ports to keep a "make this change to the > source code after extracting and before compiling" type of thing in the > tree? Ports just has been transferred to subversion. With subversion you can apply your patches to the tree and subversion will maintain them notifying you on possible conflicts. I'm already using this one for the patches to Mk that hasn't been committed for a long time. -- Sphinx of black quartz judge my vow. From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 08:57:27 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4CCB106564A for ; Tue, 24 Jul 2012 08:57:27 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from blu0-omc1-s29.blu0.hotmail.com (blu0-omc1-s29.blu0.hotmail.com [65.55.116.40]) by mx1.freebsd.org (Postfix) with ESMTP id 5B2C18FC0C for ; Tue, 24 Jul 2012 08:57:27 +0000 (UTC) Received: from BLU0-SMTP171 ([65.55.116.9]) by blu0-omc1-s29.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 24 Jul 2012 01:57:21 -0700 X-Originating-IP: [116.203.137.152] X-Originating-Email: [bourne.identity@hotmail.com] Message-ID: Received: from [116.203.137.152] ([116.203.137.152]) by BLU0-SMTP171.phx.gbl over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Tue, 24 Jul 2012 01:57:16 -0700 Date: Tue, 24 Jul 2012 14:29:07 +0530 From: Manish Jain User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Erich Dollansky References: <20120721133611.GA3755@tinyCurrent> <201207231737.43075.erichfreebsdlist@ovitrap.com> In-Reply-To: <201207231737.43075.erichfreebsdlist@ovitrap.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 24 Jul 2012 08:57:17.0488 (UTC) FILETIME=[53B48B00:01CD697A] Cc: Matthias Apitz , freebsd-questions@freebsd.org Subject: Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.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, 24 Jul 2012 08:57:27 -0000 On 23-Jul-12 16:07, Erich Dollansky wrote: > Hi, > > On Monday 23 July 2012 16:46:04 Manish Jain wrote: >> On 21-Jul-12 19:06, Matthias Apitz wrote: >>> El día Saturday, July 21, 2012 a las 06:01:11PM +0530, Manish Jain escribió: >>> > >> I am still stuck because I can't know the syntax to run usbdump. usbdump > > man usbdump > > usbconfig gives you the device numbers. > >> Can someone please send me the sources for this port (sysutils/usbutils) > > All you need at this stage is in the base. > >> (please remove freebsd-questions@freebsd.org from addresses if sending), >> as I cannot currently connect my FreeBSD box to the internet. > > If we do no other people will be able to help you. >> >> BTW, cuaU0[.*] are always there on my system, whether my EC1561 stick is > > It might be your UPS. > > Erich > > Hi, You are right. cuaU0.0 is my UPS. I checked the vendor id and the product id : they are 12d1 (huawei) and 140b (the USB stick I have). This is confirmed with usbconfig and what Windows Device Manager shows. However, running 'usbdump -d 12d1:140b' produces no output. In fact there is no entry 12d1:140b under /etc/usb_modeswitch.d/. Do I need to reinstall usb_modeswitch ? usbconfig dumps the following information for a1:u2 : ugen1.2: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0110 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x12d1 idProduct = 0x140b bcdDevice = 0x0000 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0004 <> bNumConfigurations = 0x0001 I tried setting the device in ppp.conf to cuaU0, cuaU0.1, cuaU0.2 and ugen1.2, but had no success in getting the modem to speak to the internet. Am pasting a few lines from ppp.log : Jul 23 22:25:15 bourne ppp[1207]: Phase: Using interface: tun0 Jul 23 22:25:15 bourne ppp[1207]: Phase: deflink: Created in closed state Jul 23 22:25:15 bourne ppp[1207]: tun0: Command: default: set device /dev/cuaU0 Jul 23 22:25:15 bourne ppp[1207]: tun0: Command: default: set speed 115200 Jul 23 22:25:15 bourne ppp[1207]: tun0: Command: default: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 "" AT OK-AT-OK AT&FE0V1X1&D2&C1S0=0 OK \dATDT\T TIMEOUT 40 CONNECT Jul 23 22:25:15 bourne ppp[1207]: tun0: Command: default: set timeout 180 Jul 23 22:25:15 bourne ppp[1207]: tun0: Command: default: enable dns Jul 23 22:25:15 bourne ppp[1207]: tun0: Command: huawei: set phone #777 Jul 23 22:25:15 bourne ppp[1207]: tun0: Command: huawei: set device /dev/cuaU0 Jul 23 22:25:15 bourne ppp[1207]: tun0: Command: huawei: set login Jul 23 22:25:15 bourne ppp[1207]: tun0: Command: huawei: set authname internet@internet.mtsindia.in Jul 23 22:25:15 bourne ppp[1207]: tun0: Command: huawei: set authkey ******** Jul 23 22:25:15 bourne ppp[1207]: tun0: Command: huawei: set timeout 0 Jul 23 22:25:15 bourne ppp[1207]: tun0: Command: huawei: disable ipv6cp Jul 23 22:25:15 bourne ppp[1207]: tun0: Command: huawei: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 Jul 23 22:25:15 bourne ppp[1207]: tun0: Command: huawei: add default HISADDR Jul 23 22:25:15 bourne ppp[1207]: tun0: Command: huawei: set dial AT+CRM=1 Jul 23 22:25:15 bourne ppp[1207]: tun0: Command: huawei: accept CHAP Jul 23 22:25:15 bourne ppp[1224]: tun0: Phase: PPP Started (auto mode). Jul 23 22:25:15 bourne ppp[1224]: tun0: Phase: bundle: Establish Jul 23 22:25:15 bourne ppp[1224]: tun0: Phase: deflink: closed -> opening Jul 23 22:25:15 bourne ppp[1224]: tun0: Warning: deflink: /dev/cuaU0: Bad file descriptor Jul 23 22:25:15 bourne ppp[1224]: tun0: Chat: Failed to open device (attempt 1 of 1) Jul 23 22:25:15 bourne ppp[1224]: tun0: Phase: deflink: opening -> closed Jul 23 22:25:15 bourne ppp[1224]: tun0: Phase: bundle: Dead Jul 23 22:36:19 bourne ppp[1207]: Phase: Using interface: tun0 Jul 23 22:36:19 bourne ppp[1207]: Phase: deflink: Created in closed state Jul 23 22:36:19 bourne ppp[1207]: tun0: Command: default: set device /dev/modem Jul 23 22:36:19 bourne ppp[1207]: tun0: Command: default: set speed 115200 Jul 23 22:36:19 bourne ppp[1207]: tun0: Command: default: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 "" AT OK-AT-OK AT&FE0V1X1&D2&C1S0=0 OK \dATDT\T TIMEOUT 40 CONNECT Jul 23 22:36:19 bourne ppp[1207]: tun0: Command: default: set timeout 180 Jul 23 22:36:19 bourne ppp[1207]: tun0: Command: default: enable dns Jul 23 22:36:19 bourne ppp[1207]: tun0: Command: huawei: set phone #777 Jul 23 22:36:19 bourne ppp[1207]: tun0: Command: huawei: set device /dev/modem Jul 23 22:36:19 bourne ppp[1207]: tun0: Command: huawei: set login Jul 23 22:36:19 bourne ppp[1207]: tun0: Command: huawei: set authname internet@internet.mtsindia.in Jul 23 22:36:19 bourne ppp[1207]: tun0: Command: huawei: set authkey ******** Jul 23 22:36:19 bourne ppp[1207]: tun0: Command: huawei: set timeout 0 Jul 23 22:36:19 bourne ppp[1207]: tun0: Command: huawei: disable ipv6cp Jul 23 22:36:19 bourne ppp[1207]: tun0: Command: huawei: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 Jul 23 22:36:19 bourne ppp[1207]: tun0: Command: huawei: add default HISADDR Jul 23 22:36:19 bourne ppp[1207]: tun0: Command: huawei: set dial AT+CRM=1 Jul 23 22:36:19 bourne ppp[1207]: tun0: Command: huawei: accept CHAP Jul 23 22:36:19 bourne ppp[1217]: tun0: Phase: PPP Started (auto mode). Jul 23 22:36:19 bourne ppp[1217]: tun0: Phase: bundle: Establish Jul 23 22:36:19 bourne ppp[1217]: tun0: Phase: deflink: closed -> opening Jul 23 22:36:19 bourne ppp[1217]: tun0: Phase: deflink: Connected! Jul 23 22:36:19 bourne ppp[1217]: tun0: Phase: deflink: opening -> dial Jul 23 22:36:19 bourne ppp[1217]: tun0: Chat: Phone: #777 Jul 23 22:36:19 bourne ppp[1217]: tun0: Chat: deflink: Dial attempt 1 of 1 Jul 23 22:36:19 bourne ppp[1217]: tun0: Chat: Expect(30): AT+CRM=1 Jul 23 22:36:49 bourne ppp[1217]: tun0: Chat: Expect timeout Jul 23 22:36:49 bourne ppp[1217]: tun0: Warning: Chat script failed Jul 23 22:36:49 bourne ppp[1217]: tun0: Phase: deflink: dial -> hangup Jul 23 22:36:49 bourne ppp[1217]: tun0: Phase: deflink: Disconnected! Jul 23 22:36:49 bourne ppp[1217]: tun0: Phase: deflink: Connect time: 30 secs: 0 octets in, 0 octets out Jul 23 22:36:49 bourne ppp[1217]: tun0: Phase: deflink: 0 packets in, 0 packets out Jul 23 22:36:49 bourne ppp[1217]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Mon Jul 23 22:36:19 2012 Jul 23 22:36:49 bourne ppp[1217]: tun0: Phase: deflink: hangup -> closed Jul 23 22:36:49 bourne ppp[1217]: tun0: Phase: bundle: Dead Jul 23 22:36:50 bourne ppp[1217]: tun0: Phase: bundle: Establish Jul 23 22:36:50 bourne ppp[1217]: tun0: Phase: deflink: closed -> opening Jul 23 22:36:50 bourne ppp[1217]: tun0: Phase: deflink: Connected! Jul 23 22:36:50 bourne ppp[1217]: tun0: Phase: deflink: opening -> dial Jul 23 22:36:50 bourne ppp[1217]: tun0: Chat: Phone: #777 Jul 23 22:36:50 bourne ppp[1217]: tun0: Chat: deflink: Dial attempt 1 of 1 Jul 23 22:36:50 bourne ppp[1217]: tun0: Chat: Expect(30): AT+CRM=1 Jul 23 22:37:20 bourne ppp[1217]: tun0: Chat: Expect timeout Jul 23 22:37:20 bourne ppp[1217]: tun0: Warning: Chat script failed Jul 23 22:37:20 bourne ppp[1217]: tun0: Phase: deflink: dial -> hangup Jul 23 22:37:20 bourne ppp[1217]: tun0: Phase: deflink: Disconnected! Jul 23 22:37:20 bourne ppp[1217]: tun0: Phase: deflink: Connect time: 30 secs: 0 octets in, 0 octets out Jul 23 22:37:20 bourne ppp[1217]: tun0: Phase: deflink: 0 packets in, 0 packets out Jul 23 22:37:20 bourne ppp[1217]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Mon Jul 23 22:36:50 2012 Jul 23 22:37:20 bourne ppp[1217]: tun0: Phase: deflink: hangup -> closed Jul 23 22:37:20 bourne ppp[1217]: tun0: Phase: bundle: Dead And a few lines from Windows' ppp log (Windows connects smoothly) : 07-23-2012 23:56:23.203 - Modem type: HUAWEI Mobile Connect - Modem 07-23-2012 23:56:23.203 - Modem inf path: oem10.inf 07-23-2012 23:56:23.203 - Modem inf section: Modem1 07-23-2012 23:56:23.203 - Matching hardware ID: usb\vid_12d1&pid_140b&mi_00 07-23-2012 23:56:23.234 - 460800,8,N,1, ctsfl=0, rtsctl=1 07-23-2012 23:56:23.234 - Initializing modem. 07-23-2012 23:56:23.250 - Send: AT 07-23-2012 23:56:23.250 - Recv: OK 07-23-2012 23:56:23.250 - Interpreted response: OK 07-23-2012 23:56:23.265 - Send: AT&FE0V1X1&D2&C1S0=0 07-23-2012 23:56:23.296 - Recv: OK 07-23-2012 23:56:23.296 - Interpreted response: OK 07-23-2012 23:56:23.296 - Send: AT 07-23-2012 23:56:23.296 - Recv: OK 07-23-2012 23:56:23.296 - Interpreted response: OK 07-23-2012 23:56:23.296 - Waiting for a call. 07-23-2012 23:56:23.312 - Send: ATS0=0 07-23-2012 23:56:23.312 - Recv: OK 07-23-2012 23:56:23.312 - Interpreted response: OK 07-23-2012 23:56:23.312 - 921600,8,N,1, ctsfl=1, rtsctl=2 07-23-2012 23:56:23.328 - Initializing modem. 07-23-2012 23:56:23.343 - Send: AT 07-23-2012 23:56:23.343 - Recv: OK 07-23-2012 23:56:23.343 - Interpreted response: OK 07-23-2012 23:56:23.343 - Send: AT&FE0V1X1&D2&C1S0=0 07-23-2012 23:56:23.375 - Recv: OK 07-23-2012 23:56:23.375 - Interpreted response: OK 07-23-2012 23:56:23.390 - Send: AT 07-23-2012 23:56:23.390 - Recv: OK 07-23-2012 23:56:23.390 - Interpreted response: OK 07-23-2012 23:56:23.390 - Passthrough On 07-23-2012 23:56:31.281 - Passthrough Off 07-23-2012 23:56:31.281 - 460800,8,N,1, ctsfl=0, rtsctl=1 07-23-2012 23:56:31.296 - Initializing modem. 07-23-2012 23:56:31.296 - Send: AT 07-23-2012 23:56:31.312 - Recv: AT 07-23-2012 23:56:31.312 - Command Echo 07-23-2012 23:56:31.312 - Recv: OK 07-23-2012 23:56:31.312 - Interpreted response: OK 07-23-2012 23:56:31.312 - Send: AT&FE0V1X1&D2&C1S0=0 07-23-2012 23:56:31.312 - Recv: AT&FE0V1X1&D2&C1S0=0 07-23-2012 23:56:31.312 - Command Echo 07-23-2012 23:56:31.359 - Recv: OK 07-23-2012 23:56:31.359 - Interpreted response: OK 07-23-2012 23:56:31.375 - Send: AT 07-23-2012 23:56:31.375 - Recv: OK 07-23-2012 23:56:31.375 - Interpreted response: OK 07-23-2012 23:56:31.375 - Dialing. 07-23-2012 23:56:31.375 - Send: ATDT#### 07-23-2012 23:56:33.000 - Recv: CONNECT 153600 07-23-2012 23:56:33.000 - Interpreted response: Connect 07-23-2012 23:56:33.000 - Receive Connect but CD was low, Waiting for signal to go high 07-23-2012 23:56:33.015 - After waiting 20ms CD is still low. 07-23-2012 23:56:33.046 - CD has been raised 07-23-2012 23:56:33.046 - Connection established at 153600bps. 07-23-2012 23:56:33.046 - Error-control off or unknown. 07-23-2012 23:56:33.046 - Data compression off or unknown. 07-23-2012 23:57:03.046 - Read: Total: 7732, Per/Sec: 255, Written: Total: 4478, Per/Sec: 148 And finally some lines from /var/log/messages : Jul 23 22:36:15 bourne syslogd: kernel boot file is /boot/kernel/kernel Jul 23 22:36:15 bourne kernel: Copyright (c) 1992-2011 The FreeBSD Project. Jul 23 22:36:15 bourne kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Jul 23 22:36:15 bourne kernel: The Regents of the University of California. All rights reserved. Jul 23 22:36:15 bourne kernel: FreeBSD is a registered trademark of The FreeBSD Foundation. Jul 23 22:36:15 bourne kernel: FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 Jul 23 22:36:15 bourne kernel: root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 Jul 23 22:36:15 bourne kernel: Timecounter "i8254" frequency 1193182 Hz quality 0 Jul 23 22:36:15 bourne kernel: CPU: AMD Phenom(tm) 9650 Quad-Core Processor (2304.92-MHz K8-class CPU) Jul 23 22:36:15 bourne kernel: Origin = "AuthenticAMD" Id = 0x100f23 Family = 10 Model = 2 Stepping = 3 Jul 23 22:36:15 bourne kernel: Features=0x178bfbff Jul 23 22:36:15 bourne kernel: Features2=0x802009 Jul 23 22:36:15 bourne kernel: AMD Features=0xee500800 Jul 23 22:36:15 bourne kernel: AMD Features2=0x7ff Jul 23 22:36:15 bourne kernel: TSC: P-state invariant Jul 23 22:36:15 bourne kernel: real memory = 4294967296 (4096 MB) Jul 23 22:36:15 bourne kernel: avail memory = 3833356288 (3655 MB) Jul 23 22:36:15 bourne kernel: ACPI APIC Table: Jul 23 22:36:15 bourne kernel: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs Jul 23 22:36:15 bourne kernel: FreeBSD/SMP: 1 package(s) x 4 core(s) Jul 23 22:36:15 bourne kernel: cpu0 (BSP): APIC ID: 0 Jul 23 22:36:15 bourne kernel: cpu1 (AP): APIC ID: 1 Jul 23 22:36:15 bourne kernel: cpu2 (AP): APIC ID: 2 Jul 23 22:36:15 bourne kernel: cpu3 (AP): APIC ID: 3 Jul 23 22:36:15 bourne kernel: ioapic0: Changing APIC ID to 2 Jul 23 22:36:15 bourne kernel: ioapic0 irqs 0-23 on motherboard Jul 23 22:36:15 bourne kernel: kbd1 at kbdmux0 Jul 23 22:36:15 bourne kernel: acpi0: on motherboard Jul 23 22:36:15 bourne kernel: acpi0: [ITHREAD] Jul 23 22:36:15 bourne kernel: acpi0: Power Button (fixed) Jul 23 22:36:15 bourne kernel: acpi0: reservation of 0, a0000 (3) failed Jul 23 22:36:15 bourne kernel: acpi0: reservation of 100000, bfde0000 (3) failed Jul 23 22:36:15 bourne kernel: Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 Jul 23 22:36:15 bourne kernel: acpi_timer0: <32-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 Jul 23 22:36:15 bourne kernel: cpu0: on acpi0 Jul 23 22:36:15 bourne kernel: cpu1: on acpi0 Jul 23 22:36:15 bourne kernel: cpu2: on acpi0 Jul 23 22:36:15 bourne kernel: cpu3: on acpi0 Jul 23 22:36:15 bourne kernel: acpi_button0: on acpi0 Jul 23 22:36:15 bourne kernel: pcib0: port 0xcf8-0xcff on acpi0 Jul 23 22:36:15 bourne kernel: pci0: on pcib0 Jul 23 22:36:15 bourne kernel: pcib1: at device 1.0 on pci0 Jul 23 22:36:15 bourne kernel: pci1: on pcib1 Jul 23 22:36:15 bourne kernel: vgapci0: port 0xee00-0xeeff mem 0xd0000000-0xdfffffff,0xfdfe0000-0xfdfeffff,0xfde00000-0xfdefffff irq 18 at device 5.0 on pci1 Jul 23 22:36:15 bourne kernel: hdac0: mem 0xfdffc000-0xfdffffff irq 19 at device 5.1 on pci1 Jul 23 22:36:15 bourne kernel: hdac0: HDA Driver Revision: 20100226_0142 Jul 23 22:36:15 bourne kernel: hdac0: [ITHREAD] Jul 23 22:36:15 bourne kernel: pcib2: irq 18 at device 10.0 on pci0 Jul 23 22:36:15 bourne kernel: pci2: on pcib2 Jul 23 22:36:15 bourne kernel: re0: port 0xde00-0xdeff mem 0xfdaff000-0xfdafffff,0xfdae0000-0xfdaeffff irq 18 at device 0.0 on pci2 Jul 23 22:36:15 bourne kernel: re0: Using 1 MSI messages Jul 23 22:36:15 bourne kernel: re0: Chip rev. 0x3c000000 Jul 23 22:36:15 bourne kernel: re0: MAC rev. 0x00400000 Jul 23 22:36:15 bourne kernel: miibus0: on re0 Jul 23 22:36:15 bourne kernel: rgephy0: PHY 1 on miibus0 Jul 23 22:36:15 bourne kernel: rgephy0: 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow Jul 23 22:36:15 bourne kernel: re0: Ethernet address: 00:24:1d:22:5c:27 Jul 23 22:36:15 bourne kernel: re0: [FILTER] Jul 23 22:36:15 bourne kernel: atapci0: port 0xff00-0xff07,0xfe00-0xfe03,0xfd00-0xfd07,0xfc00-0xfc03,0xfb00-0xfb0f mem 0xfe02f000-0xfe02f3ff irq 22 at device 17.0 on pci0 Jul 23 22:36:15 bourne kernel: atapci0: [ITHREAD] Jul 23 22:36:15 bourne kernel: atapci0: AHCI v1.10 controller with 4 3Gbps ports, PM supported Jul 23 22:36:15 bourne kernel: ata2: on atapci0 Jul 23 22:36:15 bourne kernel: ata2: port is not ready (timeout 0ms) tfd = 00000180 Jul 23 22:36:15 bourne kernel: ata2: software reset clear timeout Jul 23 22:36:15 bourne kernel: ata2: [ITHREAD] Jul 23 22:36:15 bourne kernel: ata3: on atapci0 Jul 23 22:36:15 bourne kernel: ata3: [ITHREAD] Jul 23 22:36:15 bourne kernel: ata4: on atapci0 Jul 23 22:36:15 bourne kernel: ata4: port is not ready (timeout 0ms) tfd = 000001d0 Jul 23 22:36:15 bourne kernel: ata4: software reset clear timeout Jul 23 22:36:15 bourne kernel: ata4: [ITHREAD] Jul 23 22:36:15 bourne kernel: ata5: on atapci0 Jul 23 22:36:15 bourne kernel: ata5: [ITHREAD] Jul 23 22:36:15 bourne kernel: ohci0: mem 0xfe02e000-0xfe02efff irq 16 at device 18.0 on pci0 Jul 23 22:36:15 bourne kernel: ohci0: [ITHREAD] Jul 23 22:36:15 bourne kernel: usbus0: on ohci0 Jul 23 22:36:15 bourne kernel: ohci1: mem 0xfe02d000-0xfe02dfff irq 16 at device 18.1 on pci0 Jul 23 22:36:15 bourne kernel: ohci1: [ITHREAD] Jul 23 22:36:15 bourne kernel: usbus1: on ohci1 Jul 23 22:36:15 bourne kernel: ehci0: mem 0xfe02c000-0xfe02c0ff irq 17 at device 18.2 on pci0 Jul 23 22:36:15 bourne kernel: ehci0: [ITHREAD] Jul 23 22:36:15 bourne kernel: ehci0: AMD SB600/700 quirk applied Jul 23 22:36:15 bourne kernel: usbus2: EHCI version 1.0 Jul 23 22:36:15 bourne kernel: usbus2: on ehci0 Jul 23 22:36:15 bourne kernel: ohci2: mem 0xfe02b000-0xfe02bfff irq 18 at device 19.0 on pci0 Jul 23 22:36:15 bourne kernel: ohci2: [ITHREAD] Jul 23 22:36:15 bourne kernel: usbus3: on ohci2 Jul 23 22:36:15 bourne kernel: ohci3: mem 0xfe02a000-0xfe02afff irq 18 at device 19.1 on pci0 Jul 23 22:36:15 bourne kernel: ohci3: [ITHREAD] Jul 23 22:36:15 bourne kernel: usbus4: on ohci3 Jul 23 22:36:15 bourne kernel: ehci1: mem 0xfe029000-0xfe0290ff irq 19 at device 19.2 on pci0 Jul 23 22:36:15 bourne kernel: ehci1: [ITHREAD] Jul 23 22:36:15 bourne kernel: ehci1: AMD SB600/700 quirk applied Jul 23 22:36:15 bourne kernel: usbus5: EHCI version 1.0 Jul 23 22:36:15 bourne kernel: usbus5: on ehci1 Jul 23 22:36:15 bourne kernel: pci0: at device 20.0 (no driver attached) Jul 23 22:36:15 bourne kernel: atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfa00-0xfa0f at device 20.1 on pci0 Jul 23 22:36:15 bourne kernel: ata0: on atapci1 Jul 23 22:36:15 bourne kernel: ata0: [ITHREAD] Jul 23 22:36:15 bourne kernel: ata1: on atapci1 Jul 23 22:36:15 bourne kernel: ata1: [ITHREAD] Jul 23 22:36:15 bourne kernel: hdac1: mem 0xfe024000-0xfe027fff irq 16 at device 20.2 on pci0 Jul 23 22:36:15 bourne kernel: hdac1: HDA Driver Revision: 20100226_0142 Jul 23 22:36:15 bourne kernel: hdac1: [ITHREAD] Jul 23 22:36:15 bourne kernel: isab0: at device 20.3 on pci0 Jul 23 22:36:15 bourne kernel: isa0: on isab0 Jul 23 22:36:15 bourne kernel: pcib3: at device 20.4 on pci0 Jul 23 22:36:15 bourne kernel: pci3: on pcib3 Jul 23 22:36:15 bourne kernel: fwohci0: mem 0xfdcff000-0xfdcff7ff,0xfdcf8000-0xfdcfbfff irq 22 at device 14.0 on pci3 Jul 23 22:36:15 bourne kernel: fwohci0: [ITHREAD] Jul 23 22:36:15 bourne kernel: fwohci0: OHCI version 1.10 (ROM=0) Jul 23 22:36:15 bourne kernel: fwohci0: No. of Isochronous channels is 4. Jul 23 22:36:15 bourne kernel: fwohci0: EUI64 00:ed:04:7d:00:00:1f:d0 Jul 23 22:36:15 bourne kernel: fwohci0: Phy 1394a available S400, 3 ports. Jul 23 22:36:15 bourne kernel: fwohci0: Link S400, max_rec 2048 bytes. Jul 23 22:36:15 bourne kernel: firewire0: on fwohci0 Jul 23 22:36:15 bourne kernel: fwe0: on firewire0 Jul 23 22:36:15 bourne kernel: if_fwe0: Fake Ethernet address: 02:ed:04:00:1f:d0 Jul 23 22:36:15 bourne kernel: fwe0: Ethernet address: 02:ed:04:00:1f:d0 Jul 23 22:36:15 bourne kernel: fwip0: on firewire0 Jul 23 22:36:15 bourne kernel: fwip0: Firewire address: 00:ed:04:7d:00:00:1f:d0 @ 0xfffe00000000, S400, maxrec 2048 Jul 23 22:36:15 bourne kernel: dcons_crom0: on firewire0 Jul 23 22:36:15 bourne kernel: dcons_crom0: bus_addr 0x1b3c000 Jul 23 22:36:15 bourne kernel: fwohci0: Initiate bus reset Jul 23 22:36:15 bourne kernel: fwohci0: fwohci_intr_core: BUS reset Jul 23 22:36:15 bourne kernel: fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, CYCLEMASTER mode Jul 23 22:36:15 bourne kernel: ohci4: mem 0xfe028000-0xfe028fff irq 18 at device 20.5 on pci0 Jul 23 22:36:15 bourne kernel: ohci4: [ITHREAD] Jul 23 22:36:15 bourne kernel: usbus6: on ohci4 Jul 23 22:36:15 bourne kernel: uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 Jul 23 22:36:15 bourne kernel: uart0: [FILTER] Jul 23 22:36:15 bourne kernel: ppc0: port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on acpi0 Jul 23 22:36:15 bourne kernel: ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode Jul 23 22:36:15 bourne kernel: ppc0: FIFO with 16/16/16 bytes threshold Jul 23 22:36:15 bourne kernel: ppc0: [ITHREAD] Jul 23 22:36:15 bourne kernel: ppbus0: on ppc0 Jul 23 22:36:15 bourne kernel: plip0: on ppbus0 Jul 23 22:36:15 bourne kernel: plip0: [ITHREAD] Jul 23 22:36:15 bourne kernel: lpt0: on ppbus0 Jul 23 22:36:15 bourne kernel: lpt0: [ITHREAD] Jul 23 22:36:15 bourne kernel: lpt0: Interrupt-driven port Jul 23 22:36:15 bourne kernel: ppi0: on ppbus0 Jul 23 22:36:15 bourne kernel: atkbdc0: port 0x60,0x64 irq 1 on acpi0 Jul 23 22:36:15 bourne kernel: atkbd0: irq 1 on atkbdc0 Jul 23 22:36:15 bourne kernel: kbd0 at atkbd0 Jul 23 22:36:15 bourne kernel: atkbd0: [GIANT-LOCKED] Jul 23 22:36:15 bourne kernel: atkbd0: [ITHREAD] Jul 23 22:36:15 bourne kernel: psm0: irq 12 on atkbdc0 Jul 23 22:36:15 bourne kernel: psm0: [GIANT-LOCKED] Jul 23 22:36:15 bourne kernel: psm0: [ITHREAD] Jul 23 22:36:15 bourne kernel: psm0: model IntelliMouse Explorer, device ID 4 Jul 23 22:36:15 bourne kernel: atrtc0: port 0x70-0x73 irq 8 on acpi0 Jul 23 22:36:15 bourne kernel: sc0: at flags 0x100 on isa0 Jul 23 22:36:15 bourne kernel: sc0: VGA <16 virtual consoles, flags=0x300> Jul 23 22:36:15 bourne kernel: vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Jul 23 22:36:15 bourne kernel: hwpstate0: on cpu0 Jul 23 22:36:15 bourne kernel: Timecounters tick every 1.000 msec Jul 23 22:36:15 bourne kernel: firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me) Jul 23 22:36:15 bourne kernel: firewire0: bus manager 0 Jul 23 22:36:15 bourne kernel: usbus0: 12Mbps Full Speed USB v1.0 Jul 23 22:36:15 bourne kernel: usbus1: 12Mbps Full Speed USB v1.0 Jul 23 22:36:15 bourne kernel: usbus2: 480Mbps High Speed USB v2.0 Jul 23 22:36:15 bourne kernel: usbus3: 12Mbps Full Speed USB v1.0 Jul 23 22:36:15 bourne kernel: usbus4: 12Mbps Full Speed USB v1.0 Jul 23 22:36:15 bourne kernel: usbus5: 480Mbps High Speed USB v2.0 Jul 23 22:36:15 bourne kernel: usbus6: 12Mbps Full Speed USB v1.0 Jul 23 22:36:15 bourne kernel: ugen0.1: at usbus0 Jul 23 22:36:15 bourne kernel: uhub0: on usbus0 Jul 23 22:36:15 bourne kernel: ugen1.1: at usbus1 Jul 23 22:36:15 bourne kernel: uhub1: on usbus1 Jul 23 22:36:15 bourne kernel: ugen2.1: at usbus2 Jul 23 22:36:15 bourne kernel: uhub2: on usbus2 Jul 23 22:36:15 bourne kernel: ugen3.1: at usbus3 Jul 23 22:36:15 bourne kernel: uhub3: on usbus3 Jul 23 22:36:15 bourne kernel: ugen4.1: at usbus4 Jul 23 22:36:15 bourne kernel: uhub4: on usbus4 Jul 23 22:36:15 bourne kernel: ugen5.1: at usbus5 Jul 23 22:36:15 bourne kernel: uhub5: on usbus5 Jul 23 22:36:15 bourne kernel: ugen6.1: at usbus6 Jul 23 22:36:15 bourne kernel: uhub6: on usbus6 Jul 23 22:36:15 bourne kernel: acd0: DVDROM at ata0-master UDMA33 Jul 23 22:36:15 bourne kernel: acd1: DVDR at ata2-master UDMA100 SATA 1.5Gb/s Jul 23 22:36:15 bourne kernel: ad8: 305244MB at ata4-master UDMA100 SATA 3Gb/s Jul 23 22:36:15 bourne kernel: hdac0: HDA Codec #0: ATI RS690/780 HDMI Jul 23 22:36:15 bourne kernel: pcm0: at cad 0 nid 1 on hdac0 Jul 23 22:36:15 bourne kernel: hdac1: HDA Codec #0: Realtek ALC885 Jul 23 22:36:15 bourne kernel: pcm1: at cad 0 nid 1 on hdac1 Jul 23 22:36:15 bourne kernel: pcm2: at cad 0 nid 1 on hdac1 Jul 23 22:36:15 bourne kernel: pcm3: at cad 0 nid 1 on hdac1 Jul 23 22:36:15 bourne kernel: SMP: AP CPU #1 Launched! Jul 23 22:36:15 bourne kernel: SMP: AP CPU #3 Launched! Jul 23 22:36:15 bourne kernel: SMP: AP CPU #2 Launched! Jul 23 22:36:15 bourne kernel: uhub6: 2 ports with 2 removable, self powered Jul 23 22:36:15 bourne kernel: uhub0: 3 ports with 3 removable, self powered Jul 23 22:36:15 bourne kernel: uhub1: 3 ports with 3 removable, self powered Jul 23 22:36:15 bourne kernel: uhub3: 3 ports with 3 removable, self powered Jul 23 22:36:15 bourne kernel: uhub4: 3 ports with 3 removable, self powered Jul 23 22:36:15 bourne kernel: Root mount waiting for: usbus5 usbus2 Jul 23 22:36:15 bourne kernel: Root mount waiting for: usbus5 usbus2 Jul 23 22:36:15 bourne kernel: uhub2: 6 ports with 6 removable, self powered Jul 23 22:36:15 bourne kernel: uhub5: 6 ports with 6 removable, self powered Jul 23 22:36:15 bourne kernel: Root mount waiting for: usbus2 Jul 23 22:36:15 bourne kernel: ugen0.2: at usbus0 Jul 23 22:36:15 bourne kernel: ugen1.2: at usbus1 Jul 23 22:36:15 bourne kernel: umass0: on usbus1 Jul 23 22:36:15 bourne kernel: umass0: SCSI over Bulk-Only; quirks = 0x0000 Jul 23 22:36:15 bourne kernel: ugen2.2: at usbus2 Jul 23 22:36:15 bourne kernel: uhub7: on usbus2 Jul 23 22:36:15 bourne kernel: Root mount waiting for: usbus2 Jul 23 22:36:15 bourne kernel: uhub7: 4 ports with 4 removable, self powered Jul 23 22:36:15 bourne kernel: Trying to mount root from ufs:/dev/ad8s2a Jul 23 22:36:15 bourne kernel: umass0:0:0:-1: Attached to scbus0 Jul 23 22:36:15 bourne kernel: cd0 at umass-sim0 bus 0 scbus0 target 0 lun 0 Jul 23 22:36:15 bourne kernel: cd0: Removable CD-ROM SCSI-0 device Jul 23 22:36:15 bourne kernel: cd0: 1.000MB/s transfers Jul 23 22:36:15 bourne kernel: cd0: cd present [52352 x 2048 byte records] Jul 23 22:36:15 bourne kernel: (probe0:umass-sim0:0:0:1): TEST UNIT READY. CDB: 0 20 0 0 0 0 Jul 23 22:36:15 bourne kernel: (probe0:umass-sim0:0:0:1): CAM status: SCSI Status Error Jul 23 22:36:15 bourne kernel: (probe0:umass-sim0:0:0:1): SCSI status: Check Condition Jul 23 22:36:15 bourne kernel: (probe0:umass-sim0:0:0:1): SCSI sense: NOT READY asc:3a,0 (Medium not present) Jul 23 22:36:15 bourne kernel: da0 at umass-sim0 bus 0 scbus0 target 0 lun 1 Jul 23 22:36:15 bourne kernel: da0: Removable Direct Access SCSI-2 device Jul 23 22:36:15 bourne kernel: da0: 1.000MB/s transfers Jul 23 22:36:15 bourne kernel: da0: Attempt to query device size failed: NOT READY, Medium not present Jul 23 22:36:16 bourne kernel: u3g0: on usbus1 Jul 23 22:36:16 bourne kernel: u3g0: Found 3 ports. Jul 23 22:36:16 bourne root: Unknown USB device: vendor 0x051d product 0x0002 bus uhub0 Jul 23 22:36:17 bourne root: Unknown USB device: vendor 0x051d product 0x0002 bus uhub0 Jul 23 22:36:19 bourne apcupsd[1165]: apcupsd 3.14.8 (16 January 2010) freebsd startup succeeded Jul 23 22:36:19 bourne kernel: tun0: link state changed to UP Jul 23 22:36:19 bourne lpd[1227]: lpd startup: logging=0 Jul 23 22:36:19 bourne kernel: fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8 Jul 23 22:36:20 bourne apcupsd[1165]: Power failure. Jul 23 22:36:21 bourne avahi-daemon[1471]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns! Jul 23 22:36:25 bourne apcupsd[1165]: Running on UPS batteries. Jul 23 22:36:27 bourne apcupsd[1165]: Mains returned. No longer on UPS batteries. Jul 23 22:36:27 bourne apcupsd[1165]: Power is back. UPS running on mains. Jul 23 22:36:37 bourne login: ROOT LOGIN (root) ON ttyv0 Jul 23 22:36:49 bourne ppp[1217]: tun0: Warning: Chat script failed Jul 23 22:37:20 bourne ppp[1217]: tun0: Warning: Chat script failed Any help in pointing out what error I am making will be greatly appreciated. Remember, I cannot install any new port since my FreeBSD box does not yet connect to the internet. Thanks & -- Regards, Manish Jain +91-99620-10329 From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 10:14:50 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 460881065774 for ; Tue, 24 Jul 2012 10:14:50 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de [80.67.18.14]) by mx1.freebsd.org (Postfix) with ESMTP id 017308FC12 for ; Tue, 24 Jul 2012 10:14:50 +0000 (UTC) Received: from [78.35.157.173] (helo=fabiankeil.de) by smtprelay02.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1Stc7w-0003b8-CO; Tue, 24 Jul 2012 12:14:04 +0200 Date: Tue, 24 Jul 2012 12:14:00 +0200 From: Fabian Keil To: Chris Ross Message-ID: <20120724121400.55b96aee@fabiankeil.de> In-Reply-To: <24DFC78A-422A-4831-9B74-E762C9245DCD@distal.com> References: <24DFC78A-422A-4831-9B74-E762C9245DCD@distal.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/6WiUa+sOXwf5I/vg0Zquc6q"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 Cc: freebsd-questions@freebsd.org Subject: Re: Locally modifying ports 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, 24 Jul 2012 10:14:50 -0000 --Sig_/6WiUa+sOXwf5I/vg0Zquc6q Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Chris Ross wrote: > So, I've been a NetBSD user for many years, and am looking more > at FreeBSD now. Trying to build myself a system, I find that I have a > long-held delta to a package on my NetBSD system, and I keep it > in a patch-local-* file in NetBSD pkgsrc. >=20 > I can't figure out if FreeBSD ports has a way to keep and automatically > apply "local" patches to ports. I want to modify the way the internals of > a package/port operate, and not in a way that makes sense to move up- > stream. It's just my preference. >=20 > Is there a way in FreeBSD ports to keep a "make this change to the > source code after extracting and before compiling" type of thing in the > tree? I'm not aware of something similar to pkgsrc's $LOCALPATCHES, but you can still drop local patches in the "files" directory of the port: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/slow-patc= h.html Fabian --Sig_/6WiUa+sOXwf5I/vg0Zquc6q Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlAOdWwACgkQBYqIVf93VJ0xkACfUnN4bEgviioIqJd+e9nJNBS+ cc4An3rK96JKjar6d/B8Tl9tPQ10er8W =9uEr -----END PGP SIGNATURE----- --Sig_/6WiUa+sOXwf5I/vg0Zquc6q-- From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 10:21:03 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 553ED106566B for ; Tue, 24 Jul 2012 10:21:03 +0000 (UTC) (envelope-from kron24@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id C14C78FC0C for ; Tue, 24 Jul 2012 10:21:02 +0000 (UTC) Received: by laai10 with SMTP id i10so903882laa.13 for ; Tue, 24 Jul 2012 03:21:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=HoDW0N1er5DS4P7OTsAUu3kQDdBwjrWc9xFvYL28Q+c=; b=XjppFhInnr3vLdqPkQt7+aE8zmcWkEpBmrjm0I5H3XjRnJuQuPsr/l5trw7wMUcA0U CjoaJk332WYvEd3F/vQwVj0FWiQ5vCBvWV8jJNw2nyBOgb6KHamdilZsJGq7iTJdLbYs bZGesMDzFcFL5rDXnSFDPqotlav81knUE7UzTHHgoAopJeP2K9OXTr7yPkOz+lB+LqVL CmlXD9zgRnUhmIShUL8fqcgTrB8XqpnKKpTqqnnG//L/un17cjR4fwEyUm6w5uH8rMTd AbaAycbyS5aG+qmpUHn9+ZSM6TpLpMHbMCUpHzHNaAbhWYjmomOCZAVJ0zujIcOtwsVC N+CQ== Received: by 10.152.131.9 with SMTP id oi9mr20700554lab.39.1343125261495; Tue, 24 Jul 2012 03:21:01 -0700 (PDT) Received: from nbvk.local (uidzr185150.sattnet.cz. [212.96.185.150]) by mx.google.com with ESMTPS id sm7sm16176479lab.5.2012.07.24.03.20.57 (version=SSLv3 cipher=OTHER); Tue, 24 Jul 2012 03:21:00 -0700 (PDT) Message-ID: <500E7707.8020801@gmail.com> Date: Tue, 24 Jul 2012 12:20:55 +0200 From: kron User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120620 Thunderbird/13.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <24DFC78A-422A-4831-9B74-E762C9245DCD@distal.com> <20120724121400.55b96aee@fabiankeil.de> In-Reply-To: <20120724121400.55b96aee@fabiankeil.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Locally modifying ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 10:21:03 -0000 On 2012/07/24 12:14, Fabian Keil wrote: > Chris Ross wrote: > >> So, I've been a NetBSD user for many years, and am looking more >> at FreeBSD now. Trying to build myself a system, I find that I have a >> long-held delta to a package on my NetBSD system, and I keep it >> in a patch-local-* file in NetBSD pkgsrc. >> >> I can't figure out if FreeBSD ports has a way to keep and automatically >> apply "local" patches to ports. I want to modify the way the internals of >> a package/port operate, and not in a way that makes sense to move up- >> stream. It's just my preference. >> >> Is there a way in FreeBSD ports to keep a "make this change to the >> source code after extracting and before compiling" type of thing in the >> tree? > > I'm not aware of something similar to pkgsrc's $LOCALPATCHES, but you > can still drop local patches in the "files" directory of the port: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/slow-patch.html > > Fabian > I use in /etc/make.conf: ... .if ${.CURDIR:M*/ports/x11-wm/openbox} EXTRA_PATCHES+=/home/ok/patches/openbox/patch-VK-NULL_SELF_TITLE.diff EXTRA_PATCHES+=/home/ok/patches/openbox/patch-VK-SPEED_FOCUS.diff .endif ... HTH O.K. From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 11:13:01 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 28D9C106566B for ; Tue, 24 Jul 2012 11:13:01 +0000 (UTC) (envelope-from yanglei.fage@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id ED8EA8FC16 for ; Tue, 24 Jul 2012 11:13:00 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so13331294pbb.13 for ; Tue, 24 Jul 2012 04:13:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=mNuXQzs8vCkIhI8BSqxywDeFPNlehqd5RboFTt/N8tQ=; b=bhmap5BPY0pm/A749LKrrfuEc2WO8/wPUPT08ynY3JcxA6rbs1pP7Q4biMEEJX7DiQ vN3CrU+wXoR0kpCvAOkt9m9YVeRY+ggdjWnrRWwBsvwhg9fp/IilkDelHVXNDQDHaVil RAfbSDxonyqUGQA5TB+aJdi2a6Tnp0xoD4bSCDodEdbL6XfTbY4YScXL1rfAuD8vWH7D LdPM2nF4qaJjkfzD6OhC7h7piYwNUJ4zIQ6wxpo2S4MOX754WKZFO+4Q0g/qHPmItKbO YdJ8Lka4vqtYc+r909qkXeZJnURYhCTJXzdJNRpVj1exmammauV1KgmWwoja3DfzHrmJ Zj8Q== MIME-Version: 1.0 Received: by 10.68.136.233 with SMTP id qd9mr36594890pbb.166.1343128380564; Tue, 24 Jul 2012 04:13:00 -0700 (PDT) Received: by 10.142.214.20 with HTTP; Tue, 24 Jul 2012 04:13:00 -0700 (PDT) In-Reply-To: <20120723184701.f21a4744.freebsd@edvax.de> References: <20120722182545.39d6b96c.freebsd@edvax.de> <20120723163604.6e795aa4.freebsd@edvax.de> <20120723184701.f21a4744.freebsd@edvax.de> Date: Tue, 24 Jul 2012 19:13:00 +0800 Message-ID: From: lei yang To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: help about free bsp version netcat to work it on ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 11:13:01 -0000 On Tue, Jul 24, 2012 at 12:47 AM, Polytropon wrote: > On Mon, 23 Jul 2012 23:29:38 +0800, lei yang wrote: >> Yes, the second version I post is using the source from you supplied, >> then I compiled it, but it has no >> "-U" flag like what I post, it seems a version different casued this. > > Yes. The version distributed by the ports collection is different > from that one supplied with the base system of FreeBSD. > > To try _that_ version, you can download the source tarball and > extract it; in the directory > > # wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/9.0-RELEASE/src.txz > # tar xvf src.txz Thanks for the help, tar xvf src.txz tar: This does not look like a tar archive tar: Skipping to next header tar: Archive contains obsolescent base-64 headers tar: Read 4896 bytes from src.txz tar: Error exit delayed from previous errors [lyang0@ala-lpggp2 lyang0]$ tar xvf src.txz tar: This does not look like a tar archive tar: Skipping to next header tar: Archive contains obsolescent base-64 headers tar: Read 4896 bytes from src.txz tar: Error exit delayed from previous errors > # cd cusr/src/ontrib/netcat/ > # ls > FREEBSD-Xlist FREEBSD-vendor atomicio.h netcat.c > FREEBSD-upgrade atomicio.c nc.1 socks.c > # > > Suppose gcc -o netcat netcat.c atomicio.c socks.c should work Lei > You can check the FTP server for other versions of the OS > (e. g. different branch and architecture, starting at > ftp://ftp.freebsd.org/pub/FreeBSD/releases/, then selecting > architecture and finally the OS version). There are also > different ways of obtaining the sources, but the solution > shown here should be sufficient. > > (You can use "tar xvf src.txz usr/src/contrib/netcat" to > only extract the files for netcat instead of everything, > but it _might_ be possible that the build process needs > some files from other locations.) > > If you don't have wget installed, stock "ftp " > command should also work for downloading. > > > > >> I don't know where to find the source code in Red Hat. > > Me neither, but check "man hier" on a RH system to get > the documentation about the file system hierarchy which > should have detailed information on what is stored where. > > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 11:18:13 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5F401065674 for ; Tue, 24 Jul 2012 11:18:13 +0000 (UTC) (envelope-from yanglei.fage@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 85BB38FC1A for ; Tue, 24 Jul 2012 11:18:13 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so13338181pbb.13 for ; Tue, 24 Jul 2012 04:18:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=CgplQVG3R2C+czQ8ev9VUAFkyeCyMoZdoeJlxXWNgW4=; b=oQ5uR6IHCMC615ylaFsY2lGCdGkwkcWYWireIgXSTfDYzJdXpcNDuA9HinHmOkpuVV h4NEou2vtq1oziZ68RKi8JLefJM77PYfxUvd8X11RWNLdNU78YQXUtvOxRcpgeZ+EZRF fCo9zldiNZf/RBLXP2lkSYGv47T6PX35J3KlSGx1Z6x/UQWSndoXiMeH+O41y33juW/l O/Fcww6wIDAXNFfvNgvFGlrNNSzWuHufv/bRAW/rJRYC08shIpIW5zqLGR+pEHFrP9QJ n7FOvwNVXY8b56EEuyIbFEQ0FSLkkhl+Pjj48ylHtCeU+CCOtS22t8/cdU08hzq/326a DPmA== MIME-Version: 1.0 Received: by 10.68.136.233 with SMTP id qd9mr36630651pbb.166.1343128693337; Tue, 24 Jul 2012 04:18:13 -0700 (PDT) Received: by 10.142.214.20 with HTTP; Tue, 24 Jul 2012 04:18:13 -0700 (PDT) In-Reply-To: References: <20120722182545.39d6b96c.freebsd@edvax.de> <20120723163604.6e795aa4.freebsd@edvax.de> Date: Tue, 24 Jul 2012 19:18:13 +0800 Message-ID: From: lei yang To: Alejandro Imass Content-Type: text/plain; charset=ISO-8859-1 Cc: Polytropon , freebsd-questions@freebsd.org Subject: Re: help about free bsp version netcat to work it on ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 11:18:13 -0000 On Mon, Jul 23, 2012 at 11:52 PM, Alejandro Imass wrote: > On Mon, Jul 23, 2012 at 11:29 AM, lei yang wrote: >> On Mon, Jul 23, 2012 at 10:36 PM, Polytropon wrote: >>> On Mon, 23 Jul 2012 12:59:55 +0800, lei yang wrote: >>>> On Mon, Jul 23, 2012 at 12:25 AM, Polytropon wrote: >>>> > On Sun, 22 Jul 2012 22:41:57 +0800, lei yang wrote: >>>> >> Hi, > > [...] > >> >> I don't know where to find the source code in Red Hat. >> > > Why don't you just toss RedHat and use FreeBSD ? Most everything you > run on Linux will run on FreeBSD and there are also Desktop-friendly > distros of FreeBSD such as PC-BSD which, in Linux terms, is to FreeBSD > somewhat akin to what Ubuntu is to Debian. > Aha,I just want to learn want to know how to build the netcat for freebsd version on a no-freebsd platform Lei > Anyway, give PC-BSD a try and you won't regret it: > > http://www.pcbsd.org/ > > > Cheers, > > -- > Alejandro Imass From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 11:19:45 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B7A01065670 for ; Tue, 24 Jul 2012 11:19:45 +0000 (UTC) (envelope-from yanglei.fage@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 549B08FC26 for ; Tue, 24 Jul 2012 11:19:45 +0000 (UTC) Received: by yenl8 with SMTP id l8so7633110yen.13 for ; Tue, 24 Jul 2012 04:19:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=uZlbmjJHNGpojKd2rokyXZGmoGoT46dlAU560oJ+3fw=; b=QflOdtwY0sQH7ZbpV/FL31sK5WFZroheuF7uBU2OZj+PbyFgRmDr6EQV4E+eyjMZfy h7Ubb8r9ShQPfgywIo0/lXF6o/95qtG3uMCo5ikWF93EZR4JBWnyXjhMlQ+uXzoXEjUC GjYnXSiy89MzdIY9oPzab3Lkidz8Jb84K3iZiolUGc0xpdFCVXt6hNr0TGLZSeoP27+1 ncoGF9vKnY9FmrtgZ/i7IhpHJHWgK+hHT6QBiAxcyCmS2uaBUzFb9ued1iZBlyDlRcgB UHLw2cjCXeDTNyxIfrNrAosrdIvvMXehNAD5P+nib2yx7jC72mfd0/1D1htR+VJ+rWoU 2eOQ== MIME-Version: 1.0 Received: by 10.68.217.3 with SMTP id ou3mr44097070pbc.117.1343128784493; Tue, 24 Jul 2012 04:19:44 -0700 (PDT) Received: by 10.142.214.20 with HTTP; Tue, 24 Jul 2012 04:19:44 -0700 (PDT) In-Reply-To: <87a9yq79cx.fsf@oak.localnet> References: <20120722182545.39d6b96c.freebsd@edvax.de> <87a9yq79cx.fsf@oak.localnet> Date: Tue, 24 Jul 2012 19:19:44 +0800 Message-ID: From: lei yang To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: help about free bsp version netcat to work it on ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 11:19:45 -0000 On Tue, Jul 24, 2012 at 12:03 AM, Carl Johnson wrote: > lei yang writes: > >> On Mon, Jul 23, 2012 at 12:25 AM, Polytropon wrote: >>> On Sun, 22 Jul 2012 22:41:57 +0800, lei yang wrote: >>>> Hi, >>>> >>>> I want to build a "netcat" on my local pc (ubuntu) with gcc, is it >>>> possible? I'm new to free bsd >>> >> >> >> it has no "-U" flag, can you point me where I get this version >> > Have you checked the other version of netcat already available? A quick > check shows these four versions for Ubuntu: > > netcat: TCP/IP swiss army knife -- transitional package > netcat-openbsd: TCP/IP swiss army knife > netcat-traditional: TCP/IP swiss army knife > netcat6: TCP/IP swiss army knife with IPv6 support > how did you get the list? To be clear, haha, I just want to know how to build a fress bsd netcat on a no-fressbsd platform Lei > -- > Carl Johnson carlj@peak.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 Jul 24 11:36:38 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2F8C1065672 for ; Tue, 24 Jul 2012 11:36:38 +0000 (UTC) (envelope-from mru258@yahoo.com) Received: from nm36-vm7.bullet.mail.bf1.yahoo.com (nm36-vm7.bullet.mail.bf1.yahoo.com [72.30.238.143]) by mx1.freebsd.org (Postfix) with SMTP id 8CA958FC16 for ; Tue, 24 Jul 2012 11:36:38 +0000 (UTC) Received: from [98.139.212.148] by nm36.bullet.mail.bf1.yahoo.com with NNFMP; 24 Jul 2012 11:34:14 -0000 Received: from [98.139.212.194] by tm5.bullet.mail.bf1.yahoo.com with NNFMP; 24 Jul 2012 11:34:14 -0000 Received: from [127.0.0.1] by omp1003.mail.bf1.yahoo.com with NNFMP; 24 Jul 2012 11:34:14 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 650759.13785.bm@omp1003.mail.bf1.yahoo.com Received: (qmail 14594 invoked by uid 60001); 24 Jul 2012 11:34:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1343129654; bh=ZQR8Eu+3qcV86Y6VDNWeJ3oODIBOtPceiLM8R2QKgXo=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=4Aow2sk/H+TqXtbW5/GajPNyXdi0fZOscCuENvsnnexO5nv8NzahI0zZ54ADRXiieU9bmeiNPvT5vSisGPNSy31qDNXv7bLm0Uf466yOykJcpZYBbvBFRMZz8EBquiitKwbLQESxpqnqaSt85Zh0vS6BSwakKIzcCpoENxHeoTk= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=WbREFGpF4SyNrHwvjio06FC9H/B5ldUaF5F2mdWA+D1iHM03Vg5T28HXSGkQ62YLFsx0NXuF1bTzGOc0qpOGikAjDd6DelW5Cv16Vdz4hiUXbIu7EZ6LHb5Ib8NN2H3FQCvCvCkAVYp0T+JqBCXm9mXqEgr/4aWNao5NfdzThuM=; X-YMail-OSG: gOit5yIVM1m5QXpMr50gXXtBHThanKoPcDFrwlEmnqj7i_n 6XR7ApitAxEFxU3YiF_pDMb9DTl6oMLXVGOEYe3va8N6NqtxcsQyG3HvW6SC TFVLV401ADK7ryW34ONJ048.Mu4DJ56QDvu8UgMApbNHzU35Goo1uT4o8b0p 2FBTsU1w4RENRbs6YjOPERymS752f1vMe6NLchuoIoOZmTOmUQvMXqK3la07 Upmlh5iPWVmZblvFDW0WduJL9vnXS9yPJNO8K4IhWeg.vM_yzdniLk0gpb68 3ohCzc6LzCAhv_e13PU.yE.MuE2ykXlfTuNW3RuF3Axl2BrntVTtFy.N3fqK LlrSmExWvSJ0z8AJXXjxoNoLfuplWyyEhQkbcWNzfh3NiujcJobIQs58z1ic 2bQgM8dcuAl14c2D6FaoxLvFfMwSvKwakF39K5rF. Received: from [77.247.181.165] by web140701.mail.bf1.yahoo.com via HTTP; Tue, 24 Jul 2012 04:34:14 PDT X-Mailer: YahooMailWebService/0.8.120.356233 Message-ID: <1343129654.559.YahooMailNeo@web140701.mail.bf1.yahoo.com> Date: Tue, 24 Jul 2012 04:34:14 -0700 (PDT) From: Mr U To: "freebsd-questions@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailman-Approved-At: Tue, 24 Jul 2012 11:44:03 +0000 Subject: is it possible to install freebsd on tablet? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mr U List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 11:36:39 -0000 hi I have a question, is it possible to install freebsd (or netbsd) on an android tablet? best regards, -- mru258 From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 12:21:34 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E941C1065670 for ; Tue, 24 Jul 2012 12:21:34 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 918D38FC08 for ; Tue, 24 Jul 2012 12:21:34 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q6OCN3SR063819; Tue, 24 Jul 2012 07:23:03 -0500 (CDT) Date: Tue, 24 Jul 2012 07:23:03 -0500 (CDT) From: Robert Bonomi Message-Id: <201207241223.q6OCN3SR063819@mail.r-bonomi.com> To: mru258@yahoo.com In-Reply-To: <1343129654.559.YahooMailNeo@web140701.mail.bf1.yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: is it possible to install freebsd on tablet? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 12:21:35 -0000 > From: Mr U > Date: Tue, 24 Jul 2012 04:34:14 -0700 (PDT) > Subject: is it possible to install freebsd on tablet? > > hi > > I have a question, is it possible to install freebsd (or netbsd) on an > android tablet? Authoritative answer: "Theoetically poszible? yes. Realistically doable? Maybe". And it's a _big_ "maybe". It depends on the -exact- hardware details of the tablet device in question. If the particular make/model of tablet is not explicitly listed in the 'supported hardware' list ffor the vesion of FreeBSD that you are consideing, then it will take a -lot- of research to deteming whether FreeBSD will run without modification on that device. If there are 'unsupported peripherrals' inside the tablet, then a major progamming effort would be requied. The hard truth is that "if you have to ask", you probably don't have the skills to deal with anything that is not expessly listed in the hadware copatibilityy list in the O/S release notes for the O/S vesion you are consideing installing. Getting 'architectual internals' details about non pc-clone hardware is generally _not_ easy. From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 13:34:22 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 24D63106566B for ; Tue, 24 Jul 2012 13:34:22 +0000 (UTC) (envelope-from andreev.peter@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id E950C8FC12 for ; Tue, 24 Jul 2012 13:34:21 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so13527683pbb.13 for ; Tue, 24 Jul 2012 06:34:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=0z9RCSfEZN9FHtNy+QOELygce7XV/VmClKpeRNWoyyk=; b=FpovG1c6jFKbC5ThqQ6KFg+D4r2Avyc7kUMQWLqZPG5KU0p8S+mb0c7RHlrniMw1v/ DZzYH7PkR0BYJpQuCTQo2nXR+hOCRUsffKHIULTIm2ze2hMc2Qp5NYQUSo78KYfTH691 TtLd0HdC8J0+D2J97ug18hHVk/JV9NG7eahacN2PMAdd8cDx4yJtfMMSHKDUbP97cYrE 4NFFsHTgep7r0B46DST737V/BJusBOpUd7sFqhEA6HpoRU9snUQKwqBcC3Y2e/f80ADf AFKgvQdaieIigClI1sF8i4FrHeH2291Sx6tRUaCyVwBgrqsyLJUO4bUTPI0h5Umasz/8 CmUg== MIME-Version: 1.0 Received: by 10.68.218.101 with SMTP id pf5mr44616125pbc.60.1343136861451; Tue, 24 Jul 2012 06:34:21 -0700 (PDT) Received: by 10.68.229.202 with HTTP; Tue, 24 Jul 2012 06:34:21 -0700 (PDT) In-Reply-To: <500E44A4.6060604@poniki.net> References: <500A2773.1060100@holgerdanske.com> <500DBE58.6050000@holgerdanske.com> <500E44A4.6060604@poniki.net> Date: Tue, 24 Jul 2012 17:34:21 +0400 Message-ID: From: Peter Andreev To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: PCBSD9.0-x64-DVD and Intel HD Graphics 2000 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 13:34:22 -0000 2012/7/24 ufs > On 24.07.2012 01:12, David Christensen wrote: > >> On 07/23/2012 03:37 AM, Vladislav wrote: >> >>> http://wiki.freebsd.org/Intel_**GPU >>> >> >> Okay. >> >> >> I wrote: >> > I've installed PCBSD9.0-x64-DVD on the following hardware: >> >> On 07/23/2012 06:30 AM, Erich Dollansky wrote: >> > this where the problem starts. If nothing changed since I used this, it >> only supports VESA on i7 CPUs. >> >> Okay. >> >> >> I wrote: >> > I have updated the system using Update Manager, and the problems >> persist. >> >> On 07/23/2012 06:30 AM, Erich Dollansky wrote: >> > What does this affect? Also the FreeBSD part? >> >> I don't know. >> >> >> > I am now running FreeBSD 10 on an i7 without any problems. It should >> also be possible to get the same result with a current 9.0. >> > Do the same what I have done. Use PC-BSD just to get a machine running >> and then update to FreeBSD. >> >> I was hoping to find an OS distribution that works OOTB. The key >> features I'm looking for are: >> >> 1. Full support of my hardware; notably Enhanced Speed Step, AES-NI, >> Intel HD Graphics 2000 dual head, and SSD TRIM. >> >> 2. ZFS on encrypted partitions, including root. >> >> >> I guess I'll have to wait for PC-BSD 10 or FreeBSD 10. >> >> >> Thanks! >> >> David >> ______________________________**_________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions >> To unsubscribe, send any mail to "freebsd-questions-** >> unsubscribe@freebsd.org " >> > Hi, > What about the new Xorg(make.conf WITH_NEW_XORG=true) and drivers Intel? > I have heard that this solution works, OpenGL too... > > I tried "WITH_NEW_XORG=true" and "WITH_KMS=true" with Core i5-3450 and 9.1-prerelease last weekend. It was so slow, that I decided to buy the cheapest Nvidia card. ______________________________**_________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions > To unsubscribe, send any mail to "freebsd-questions-** > unsubscribe@freebsd.org " > -- AP From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 14:16:28 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5B076106566C for ; Tue, 24 Jul 2012 14:16:28 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from asbnvacz-mailrelay01.megapath.net (asbnvacz-mailrelay01.megapath.net [207.145.128.243]) by mx1.freebsd.org (Postfix) with ESMTP id 2A9608FC0A for ; Tue, 24 Jul 2012 14:16:28 +0000 (UTC) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.52]) by asbnvacz-mailrelay01.megapath.net (Postfix) with ESMTP id 568D8A73AF8 for ; Tue, 24 Jul 2012 10:16:22 -0400 (EDT) Received: (qmail 21608 invoked from network); 24 Jul 2012 14:16:21 -0000 Received: by simscan 1.4.0 ppid: 16888, pid: 4391, t: 0.1663s scanners: clamav: 0.88.2/m:52/d:13513 Received: from unknown (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 24 Jul 2012 14:16:21 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id C58A633C25; Tue, 24 Jul 2012 10:16:20 -0400 (EDT) From: Lowell Gilbert To: Darren Pilgrim References: <500DE961.2050908@bluerosetech.com> Date: Tue, 24 Jul 2012 10:16:20 -0400 In-Reply-To: <500DE961.2050908@bluerosetech.com> (Darren Pilgrim's message of "Mon, 23 Jul 2012 17:16:33 -0700") Message-ID: <44629dtfbf.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Removing sendmail from an installed system 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, 24 Jul 2012 14:16:28 -0000 Darren Pilgrim writes: > I'm removing sendmail entirely from an installed system. I had > WITHOUT_SENDMAIL in /etc/src.conf when I updated to RELENG_8_3, but > that left an old version of sendmail rotting away on disk. This is > the list I have so far: > > /etc/mail/* (excluding mailer.conf) > /etc/rc.d/sendmail > /usr/bin/vacation > /usr/libexec/mail.local > /usr/libexec/sendmail > /usr/libexec/smrsh > /usr/sbin/editmap > /usr/sbin/mailstats > /usr/sbin/makemap > /usr/sbin/praliases > /usr/share/sendmail > /var/spool/clientmqueue > /var/spool/mqueue > > Is this list complete? I'm intentionally leaving the stuff for > mailwrapper. I'm ok with leaving /etc/rc.d/sendmail behind as well, > but it looks like it's not needed by anything (i.e., nothing requires > "mail"). "make delete-old"; see the section "Deleting obsolete files, directories and libraries" in the handbook. > Even though I have WITHOUT_SENDMAIL specified and the world was built > with that, mergemaster still installs /etc/mail/aliases and > /etc/rc.d/sendmail. Is there a way to prevent this other than adding > them to IGNORE_FILES in mergemasterrc? There are other ways, but that's the first one I would think of. Note that neither of these files can be harmful, and might (especially aliases) be used by other MTA. From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 16:02:18 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C5C1F1065670 for ; Tue, 24 Jul 2012 16:02:18 +0000 (UTC) (envelope-from carlj@peak.org) Received: from redcondor1.peak.org (redcondor1.peak.org [69.59.192.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8FD728FC0A for ; Tue, 24 Jul 2012 16:02:18 +0000 (UTC) Received: from zmail-mta01.peak.org ([207.55.16.111]) by redcondor1.peak.org ({e03e86cd-14ae-47ce-9578-3c080ce9c462}) via TCP (outbound) with ESMTP id 20120724155835604 for ; Tue, 24 Jul 2012 15:58:35 +0000 X-RC-FROM: X-RC-RCPT: Received: from birch.localnet (unknown [207.55.106.48]) by zmail-mta01.peak.org (Postfix) with ESMTPSA id 457E94915D4 for ; Tue, 24 Jul 2012 08:58:35 -0700 (PDT) Received: from oak.localnet (oak.localnet [192.168.193.34]) by birch.localnet (Postfix) with ESMTP id E16BC55E22 for ; Tue, 24 Jul 2012 08:58:33 -0700 (PDT) Received: from oak.localnet (localhost.localnet [127.0.0.1]) by oak.localnet (Postfix) with ESMTP id 862FFC841 for ; Tue, 24 Jul 2012 08:58:33 -0700 (PDT) Received: (from carlj@localhost) by oak.localnet (8.14.4/8.14.4/Submit) id q6OFwXUj093709; Tue, 24 Jul 2012 08:58:33 -0700 (PDT) (envelope-from carlj@peak.org) X-Authentication-Warning: oak.localnet: carlj set sender to carlj@peak.org using -f From: Carl Johnson To: freebsd-questions@freebsd.org References: <20120722182545.39d6b96c.freebsd@edvax.de> <87a9yq79cx.fsf@oak.localnet> Mail-Followup-To: freebsd-questions@freebsd.org Date: Tue, 24 Jul 2012 08:58:33 -0700 In-Reply-To: (lei yang's message of "Tue, 24 Jul 2012 19:19:44 +0800") Message-ID: <87629d6thy.fsf@oak.localnet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: help about free bsp version netcat to work it on ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 16:02:18 -0000 lei yang writes: > On Tue, Jul 24, 2012 at 12:03 AM, Carl Johnson wrote: >> lei yang writes: >> >>> On Mon, Jul 23, 2012 at 12:25 AM, Polytropon wrote: >>>> On Sun, 22 Jul 2012 22:41:57 +0800, lei yang wrote: >>>>> Hi, >>>>> >>>>> I want to build a "netcat" on my local pc (ubuntu) with gcc, is it >>>>> possible? I'm new to free bsd >>>> >>> >>> >>> it has no "-U" flag, can you point me where I get this version >>> >> Have you checked the other version of netcat already available? A quick >> check shows these four versions for Ubuntu: >> >> netcat: TCP/IP swiss army knife -- transitional package >> netcat-openbsd: TCP/IP swiss army knife >> netcat-traditional: TCP/IP swiss army knife >> netcat6: TCP/IP swiss army knife with IPv6 support >> > > how did you get the list? I used the surfraw package which is available on freebsd, debian, and ubuntu. In this case I just used 'debpackages -u netcat' to do access the ubuntu packages search page. There is also 'freebsd -psearch' to search freebsd ports, and debpackages without -u shows debian packages. > To be clear, haha, I just want to know how to build a fress bsd netcat > on a no-fressbsd platform Others have probably already mentioned this, but you are probably better off trying ports source instead. Most of those are written to be portable and are easily configured for other OSs. Freebsd port search shows the following for netcat: net/cryptcat Standard netcat enhanced with twofish encryption net/gnetcat GPL'ed re-write of the well known networking tool netcat net/nc6 Netcat clone with IPv6 support net/netcat Simple utility which reads and writes data across network connections net/sbd A netcat clone with more features and crypto net/scnc SSL Capable Netcat security/sst A simple SSL tunneling tool (uses netcat) -- Carl Johnson carlj@peak.org From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 16:40:22 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 117B1106564A for ; Tue, 24 Jul 2012 16:40:22 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id CACE18FC16 for ; Tue, 24 Jul 2012 16:40:21 +0000 (UTC) Received: from www.dweimer.net (webmail.dweimer.net [192.168.5.1]) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id q6OGeEAu013237 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 24 Jul 2012 11:40:14 -0500 (CDT) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 24 Jul 2012 11:40:14 -0500 From: dweimer To: FreeBSD Questions Organization: dweimer.net Mail-Reply-To: Message-ID: X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/0.8-rc Subject: Disk Errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 16:40:22 -0000 Just curious, I am sure the likely issue is a bad disk, but I thought there might be a chance this could be caused by possibly by something else. I have three 1TB disks I use for backup, two of them are Western Digital drives I bought specifically for this purpose. One is a Seagate drive that came out of a barebones PC that I replaced with a couple smaller drives in a stripe to gain performance. I use the drives in an external SATA dock, using geom eli encryption, the western digital drives give me no problems, but the seagate drive gives me a lot of the following errors under load. ad4: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=817755328 ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=837397120 ad4: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=879786112 ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=882931200 ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=890542016 ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=902767296 ad4: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=904071296 dmesg info about the drive at connection time: ad4: 953869MB at ata2-master UDMA100 SATA 3Gb/s dmesg info about one of the western digital drives: ad4: 953869MB at ata2-master UDMA100 SATA 3Gb/s Before I scrap the drive I just wanted to see if anyone could either say for sure its hardware, or if something else could possibly cause this. I don't suspect the controller, cable or dock as the problems would likely occur with the western Digital drives as well if one of them were involved. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 16:52:28 2012 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 E5F37106566B for ; Tue, 24 Jul 2012 16:52:28 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 9DB408FC14 for ; Tue, 24 Jul 2012 16:52:28 +0000 (UTC) Received: from mr17.lnh.mail.rcn.net ([207.172.157.37]) by smtp02.lnh.mail.rcn.net with ESMTP; 24 Jul 2012 12:52:22 -0400 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr17.lnh.mail.rcn.net (MOS 4.3.4-GA) with ESMTP id BPG53497; Tue, 24 Jul 2012 12:52:22 -0400 Received-SPF: None identity=pra; client-ip=209.6.86.84; receiver=smtp01.lnh.mail.rcn.net; envelope-from="roberthuff@rcn.com"; x-sender="roberthuff@rcn.com"; x-conformance=sidf_compatible Received-SPF: Neutral identity=mailfrom; client-ip=209.6.86.84; receiver=smtp01.lnh.mail.rcn.net; envelope-from="roberthuff@rcn.com"; x-sender="roberthuff@rcn.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None identity=helo; client-ip=209.6.86.84; receiver=smtp01.lnh.mail.rcn.net; envelope-from="roberthuff@rcn.com"; x-sender="postmaster@jerusalem.litteratus.org.litteratus.org"; x-conformance=sidf_compatible Received: from 209-6-86-84.c3-0.smr-ubr2.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.86.84]) by smtp01.lnh.mail.rcn.net with ESMTP; 24 Jul 2012 12:52:22 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20494.53957.844316.578354@jerusalem.litteratus.org> Date: Tue, 24 Jul 2012 12:52:21 -0400 To: questions@freebsd.org X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr17.lnh.mail.rcn.net) Cc: Subject: version of clang in HEAD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 16:52:29 -0000 This is nominally more suited for current@, but: As of midnight US Pacific Time, what is the version of clang in HEAD? Robert Huff From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 17:13:28 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 850401065670 for ; Tue, 24 Jul 2012 17:13:28 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from anakin.london.02.net (anakin.london.02.net [87.194.255.134]) by mx1.freebsd.org (Postfix) with ESMTP id 2177F8FC08 for ; Tue, 24 Jul 2012 17:13:27 +0000 (UTC) Received: from [192.168.2.51] (87.194.237.233) by anakin.london.02.net (8.5.140) id 4FED9D15006D6B12 for questions@freebsd.org; Tue, 24 Jul 2012 18:12:15 +0100 Message-ID: <500ED76E.2060207@onetel.com> Date: Tue, 24 Jul 2012 18:12:14 +0100 From: Chris Whitehouse User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20111228 Thunderbird/9.0 MIME-Version: 1.0 To: FreeBSD Questions References: <20120722182545.39d6b96c.freebsd@edvax.de> <20120723163604.6e795aa4.freebsd@edvax.de> <20120723184701.f21a4744.freebsd@edvax.de> <20120724133656.GA85240@neutralgood.org> In-Reply-To: <20120724133656.GA85240@neutralgood.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: help about free bsp version netcat to work it on ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 17:13:28 -0000 On 24/07/2012 14:36, kpneal@pobox.com wrote: > On Tue, Jul 24, 2012 at 07:13:00PM +0800, lei yang wrote: >> On Tue, Jul 24, 2012 at 12:47 AM, Polytropon wrote: >>> On Mon, 23 Jul 2012 23:29:38 +0800, lei yang wrote: >>>> Yes, the second version I post is using the source from you supplied, >>>> then I compiled it, but it has no >>>> "-U" flag like what I post, it seems a version different casued this. >>> >>> Yes. The version distributed by the ports collection is different >>> from that one supplied with the base system of FreeBSD. >>> >>> To try _that_ version, you can download the source tarball and >>> extract it; in the directory >>> >>> # wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/9.0-RELEASE/src.txz >>> # tar xvf src.txz >> >> Thanks for the help, >> >> tar xvf src.txz >> tar: This does not look like a tar archive >> tar: Skipping to next header >> tar: Archive contains obsolescent base-64 headers >> tar: Read 4896 bytes from src.txz >> tar: Error exit delayed from previous errors >> [lyang0@ala-lpggp2 lyang0]$ tar xvf src.txz >> tar: This does not look like a tar archive >> tar: Skipping to next header >> tar: Archive contains obsolescent base-64 headers >> tar: Read 4896 bytes from src.txz >> tar: Error exit delayed from previous errors Maybe a bad/incomplete download? %fetch ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/9.0-RELEASE/src.txz src.txz 100% of 89 MB 216 kBps 00m00s %md5 src.txz MD5 (src.txz) = 7cce6b045f771cef2136df277d16331f %tar xvf src.txz x usr/src/ x usr/src/usr.bin/ x usr/src/release/ x usr/src/crypto/ x usr/src/include/ x usr/src/secure/ x usr/src/rescue/ x usr/src/gnu/ x usr/src/sbin/ x usr/src/games/ x usr/src/tools/ x usr/src/contrib/ x usr/src/kerberos5/ x usr/src/share/ ... ... From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 17:51:38 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CE5310656FB for ; Tue, 24 Jul 2012 17:51:38 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 3D8D38FC12 for ; Tue, 24 Jul 2012 17:51:36 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6OHoBZp002444; Tue, 24 Jul 2012 19:50:11 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6OHoBZn002441; Tue, 24 Jul 2012 19:50:11 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Tue, 24 Jul 2012 19:50:11 +0200 (CEST) From: Wojciech Puchar To: dweimer In-Reply-To: Message-ID: References: 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 passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Tue, 24 Jul 2012 19:50:12 +0200 (CEST) Cc: FreeBSD Questions Subject: Re: Disk Errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 17:51:38 -0000 > Just curious, I am sure the likely issue is a bad disk, but I thought there actually not that likely. i had such problems, occuring randomly on many drives, and all problems disappeared after changing computer, with the same disk. BTW i would recommend you to turn on AHCI driver > ad4: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=817755328 > ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=837397120 > ad4: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=879786112 > ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=882931200 > ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=890542016 > ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=902767296 > ad4: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=904071296 > > dmesg info about the drive at connection time: > ad4: 953869MB at ata2-master UDMA100 SATA 3Gb/s > > dmesg info about one of the western digital drives: > ad4: 953869MB at ata2-master UDMA100 SATA > 3Gb/s > > Before I scrap the drive I just wanted to see if anyone could either say for > sure its hardware, or if something else could possibly cause this. I don't > suspect the controller, cable or dock as the problems would likely occur with > the western Digital drives as well if one of them were involved. > > > -- > Thanks, > Dean E. Weimer > http://www.dweimer.net/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 18:10:13 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D68151065674 for ; Tue, 24 Jul 2012 18:10:13 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 74D318FC0C for ; Tue, 24 Jul 2012 18:10:13 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [172.17.17.101]) by email2.allantgroup.com (8.14.4/8.14.4) with ESMTP id q6OI4LJe084912 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 24 Jul 2012 13:04:21 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.5/8.14.5) with ESMTP id q6OI4L9K098315 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 24 Jul 2012 13:04:21 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.5/8.14.5/Submit) id q6OI4LN9098314; Tue, 24 Jul 2012 13:04:21 -0500 (CDT) (envelope-from dan) Date: Tue, 24 Jul 2012 13:04:21 -0500 From: Dan Nelson To: dweimer@dweimer.net Message-ID: <20120724180421.GF38393@dan.emsphone.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 8.3-PRERELEASE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.2 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (email2.allantgroup.com [172.17.19.78]); Tue, 24 Jul 2012 13:04:22 -0500 (CDT) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on email2.allantgroup.com X-Scanned-By: MIMEDefang 2.68 on 172.17.19.78 Cc: FreeBSD Questions Subject: Re: Disk Errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 18:10:13 -0000 In the last episode (Jul 24), dweimer said: > I have three 1TB disks I use for backup, two of them are Western Digital > drives I bought specifically for this purpose. One is a Seagate drive > that came out of a barebones PC that I replaced with a couple smaller > drives in a stripe to gain performance. I use the drives in an external > SATA dock, using geom eli encryption, the western digital drives give me > no problems, but the seagate drive gives me a lot of the following errors > under load. > > ad4: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=817755328 > ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=837397120 > ad4: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=879786112 > ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=882931200 > ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=890542016 > ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=902767296 > ad4: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=904071296 If you install the sysutils/smartmontools port, you can run "smartctl -x /dev/ad4" to dump the drive's SMART attribute table and error logs. Those should give you an indication of whether the drive is going bad. If the drive is logging those write errors in its internal log, then you know it's not a cabling issue. If it's not logging errors, I suppose you might have a loose SATA plug on the drive itself, which would explain why the problem follows the drive around. > dmesg info about the drive at connection time: > ad4: 953869MB at ata2-master UDMA100 SATA > 3Gb/s > > dmesg info about one of the western digital drives: > ad4: 953869MB at ata2-master UDMA100 > SATA 3Gb/s > > Before I scrap the drive I just wanted to see if anyone could either > say for sure its hardware, or if something else could possibly cause > this. I don't suspect the controller, cable or dock as the problems > would likely occur with the western Digital drives as well if one of > them were involved. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 18:15:54 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69803106566B for ; Tue, 24 Jul 2012 18:15:54 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from ifdnrg30.ifdnrg.com (ifdnrg30.ifdnrg.com [193.200.98.50]) by mx1.freebsd.org (Postfix) with ESMTP id 025C98FC16 for ; Tue, 24 Jul 2012 18:15:53 +0000 (UTC) Received: from [192.168.1.103] (cpc12-sgyl31-2-0-cust160.18-2.cable.virginmedia.com [80.192.11.161]) (authenticated bits=0) by ifdnrg30.ifdnrg.com (8.14.5/8.14.5) with ESMTP id q6OIFh0n087866 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 24 Jul 2012 19:15:45 +0100 (BST) (envelope-from paul@ifdnrg.com) Message-ID: <500EE64F.4000802@ifdnrg.com> Date: Tue, 24 Jul 2012 19:15:43 +0100 From: Paul Macdonald User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Ihsan Junaidi Ibrahim References: <500AEB17.6030907@ifdnrg.com> <19763FC3-D71E-480D-82DE-FDF38140B4E5@grep.my> In-Reply-To: <19763FC3-D71E-480D-82DE-FDF38140B4E5@grep.my> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: amd64, 57600 serial install help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 18:15:54 -0000 On 21/07/2012 22:06, Ihsan Junaidi Ibrahim wrote: > I assume you have compiled the bootblocks as per the instruction in the handbook. > > Second, do you have more than one serial port on the box because FreeBSD can only work its serial console magic on only one port at a time. > > If you redirect your IPMI serial console or just a normal serial console, take note it's interrupt number in the BIOS. > > You'll need to append the 0x10 flags to your UART device in device.hints file if the you plug in the cable at a non-default port. i have submitted a PR re this as a serial install on 8.3 works fine. Paul. -- ------------------------- Paul Macdonald IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07970339546 e: paul@ifdnrg.com w: http://www.ifdnrg.com ------------------------- IFDNRG 40 Maritime Street Edinburgh EH6 6SA ------------------------- From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 18:37:19 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2526D106564A for ; Tue, 24 Jul 2012 18:37:19 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id D2C588FC0C for ; Tue, 24 Jul 2012 18:37:18 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Stjyv-0005L7-EZ for freebsd-questions@freebsd.org; Tue, 24 Jul 2012 20:37:17 +0200 Received: from np-19-75.prenet.pl ([np-19-75.prenet.pl]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Jul 2012 20:37:17 +0200 Received: from jb.1234abcd by np-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Jul 2012 20:37:17 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Date: Tue, 24 Jul 2012 18:37:05 +0000 (UTC) Lines: 45 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 79.139.19.75 (Mozilla/5.0 (X11; FreeBSD i386; rv:13.0) Gecko/20100101 Firefox/13.0.1) Subject: Re: Disk Errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 18:37:19 -0000 dweimer dweimer.net> writes: > ... > ad4: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=817755328 > ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) > LBA=837397120 > ... There is a story about it: http://linux-bsd-sharing.blogspot.com/2009/03/howto-fix-sata-dma-timeout-issues-on.html But do not rush, read the comments as well: ... "Tony Schwartz said... Thing is though, I have a secondary issue. This second issue is probably what caused the first issue (DMA TIMEOUTS) to begin with. My disks keep spinning down then up, every 20 seconds or so. I have no idea why this is happening, but it's not just one disk. I think that it was timing out because he disk goes to spin up and that takes too long. Any ideas here? I've used atacontrol and it's not configured to spindown. Thanks." ... " Benjamin said... LoL, found the solution and feeling a little embarrassed by it. Good thing I got a GURU in the forums to look at it. It was just the power supply and my disk was spinning down cos the power wasn't sufficient to run 6 HDs and 9 fans for cooling ha ha ha." ... " CyberRax said... Just for information: while this hasn't been fixed as elegantly as in the patch FreeBSD does incorporate since 8-STABLE r199158 a solution for the problem: ATA_REQUEST_TIMEOUT kernel option that be be set higher than the default 5. What is needed is adding "options ATA_REQUEST_TIMEOUT=X" (where X is timeout in seconds) into the kernel configuration file. Changing the timeout will need rebuilding and installing the kernel, but it's still better than nothing." jb From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 19:27:25 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8BB9106564A for ; Tue, 24 Jul 2012 19:27:25 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id 6E42C8FC0C for ; Tue, 24 Jul 2012 19:27:25 +0000 (UTC) Received: from www.dweimer.net (webmail.dweimer.net [192.168.5.1]) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id q6OJROLn025598 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 24 Jul 2012 14:27:24 -0500 (CDT) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 24 Jul 2012 14:27:24 -0500 From: dweimer To: Organization: dweimer.net Mail-Reply-To: In-Reply-To: References: Message-ID: X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/0.8-rc Subject: Re: Disk Errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 19:27:25 -0000 On 2012-07-24 12:50, Wojciech Puchar wrote: >> Just curious, I am sure the likely issue is a bad disk, but I >> thought there > > actually not that likely. > > i had such problems, occurring randomly on many drives, and all > problems disappeared after changing computer, with the same disk. > > BTW i would recommend you to turn on AHCI driver > Now that made me just notice something interesting, my software mirror running on the internal SATA disks that contain the Operating System on this server is using the ahci driver but the external SATA drive isn't guess I am going to have to reboot tonight and check and see if something is set on the controllers BIOS that keeps it from running AHCI. Just an FYI, the server is running entirely on commodity PC hardware, as this is my home web server. Though its running all well known major brands for hardware. It is running FreeBSD 9.0-RELEASE-P3, upgraded a few times via source from an original install of 8.2 on this hardware. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 19:30:05 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F04621065672 for ; Tue, 24 Jul 2012 19:30:04 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id 8249B8FC0C for ; Tue, 24 Jul 2012 19:30:04 +0000 (UTC) Received: from www.dweimer.net (webmail.dweimer.net [192.168.5.1]) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id q6OJU3QW025743 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 24 Jul 2012 14:30:04 -0500 (CDT) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 24 Jul 2012 14:30:03 -0500 From: dweimer To: Organization: dweimer.net Mail-Reply-To: In-Reply-To: <20120724180421.GF38393@dan.emsphone.com> References: <20120724180421.GF38393@dan.emsphone.com> Message-ID: X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/0.8-rc Subject: Re: Disk Errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 19:30:05 -0000 On 2012-07-24 13:04, Dan Nelson wrote: > In the last episode (Jul 24), dweimer said: >> I have three 1TB disks I use for backup, two of them are Western >> Digital >> drives I bought specifically for this purpose. One is a Seagate >> drive >> that came out of a barebones PC that I replaced with a couple >> smaller >> drives in a stripe to gain performance. I use the drives in an >> external >> SATA dock, using geom eli encryption, the western digital drives >> give me >> no problems, but the seagate drive gives me a lot of the following >> errors >> under load. >> >> ad4: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=817755328 >> ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) >> LBA=837397120 >> ad4: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=879786112 >> ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) >> LBA=882931200 >> ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) >> LBA=890542016 >> ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) >> LBA=902767296 >> ad4: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=904071296 > > If you install the sysutils/smartmontools port, you can run "smartctl > -x > /dev/ad4" to dump the drive's SMART attribute table and error logs. > Those > should give you an indication of whether the drive is going bad. If > the > drive is logging those write errors in its internal log, then you > know it's > not a cabling issue. If it's not logging errors, I suppose you might > have a > loose SATA plug on the drive itself, which would explain why the > problem > follows the drive around. > Running a long test on the drive now, doesn't seem to show anything that sticks out at me as failing right now. smartctl 5.43 2012-06-30 r3573 [FreeBSD 9.0-RELEASE-p3 amd64] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Model Family: Seagate Barracuda 7200.12 Device Model: ST31000528AS Serial Number: 5VP7ST1C LU WWN Device Id: 5 000c50 02f7a3bb4 Firmware Version: CC46 User Capacity: 1,000,204,886,016 bytes [1.00 TB] Sector Size: 512 bytes logical/physical Device is: In smartctl database [for details use: -P show] ATA Version is: 8 ATA Standard is: ATA-8-ACS revision 4 Local Time is: Tue Jul 24 14:29:08 2012 CDT SMART support is: Available - device has SMART capability. SMART support is: Enabled AAM level is: 208 (intermediate), recommended: 208 APM feature is: Unavailable Rd look-ahead is: Enabled Write cache is: Enabled ATA Security is: Disabled, NOT FROZEN [SEC1] === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x82) Offline data collection activity was completed without error. Auto Offline Data Collection: Enabled. Self-test execution status: ( 248) Self-test routine in progress... 80% of test remaining. Total time to complete Offline data collection: ( 600) seconds. Offline data collection capabilities: (0x7b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. Conveyance Self-test supported. Selective Self-test supported. SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time: ( 1) minutes. Extended self-test routine recommended polling time: ( 173) minutes. Conveyance self-test routine recommended polling time: ( 2) minutes. SCT capabilities: (0x103f) SCT Status supported. SCT Error Recovery Control supported. SCT Feature Control supported. SCT Data Table supported. SMART Attributes Data Structure revision number: 10 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAGS VALUE WORST THRESH FAIL RAW_VALUE 1 Raw_Read_Error_Rate POSR-- 117 099 006 - 145191418 3 Spin_Up_Time PO---- 095 095 000 - 0 4 Start_Stop_Count -O--CK 100 100 020 - 114 5 Reallocated_Sector_Ct PO--CK 100 100 036 - 0 7 Seek_Error_Rate POSR-- 078 060 030 - 77590473 9 Power_On_Hours -O--CK 090 090 000 - 9156 10 Spin_Retry_Count PO--C- 100 100 097 - 0 12 Power_Cycle_Count -O--CK 100 100 020 - 46 183 Runtime_Bad_Block -O--CK 100 100 000 - 0 184 End-to-End_Error -O--CK 100 100 099 - 0 187 Reported_Uncorrect -O--CK 100 100 000 - 0 188 Command_Timeout -O--CK 100 098 000 - 21475164202 189 High_Fly_Writes -O-RCK 100 100 000 - 0 190 Airflow_Temperature_Cel -O---K 062 052 045 - 38 (Min/Max 35/38) 194 Temperature_Celsius -O---K 038 048 000 - 38 (0 23 0 0 0) 195 Hardware_ECC_Recovered -O-RC- 025 023 000 - 145191418 197 Current_Pending_Sector -O--C- 100 100 000 - 0 198 Offline_Uncorrectable ----C- 100 100 000 - 0 199 UDMA_CRC_Error_Count -OSRCK 200 200 000 - 833 240 Head_Flying_Hours ------ 100 253 000 - 96417720837162 241 Total_LBAs_Written ------ 100 253 000 - 1480696469 242 Total_LBAs_Read ------ 100 253 000 - 922627427 ||||||_ K auto-keep |||||__ C event count ||||___ R error rate |||____ S speed/performance ||_____ O updated online |______ P prefailure warning ATA_READ_LOG_EXT (addr=0x00:0x00, page=0, n=1) failed: 48-bit ATA commands not supported Read GP Log Directory failed. SMART Log Directory Version 1 [multi-sector log support] SMART Log at address 0x00 has 1 sectors [Log Directory] SMART Log at address 0x01 has 1 sectors [Summary SMART error log] SMART Log at address 0x02 has 5 sectors [Comprehensive SMART error log] SMART Log at address 0x06 has 1 sectors [SMART self-test log] SMART Log at address 0x09 has 1 sectors [Selective self-test log] SMART Log at address 0x80 has 16 sectors [Host vendor specific log] SMART Log at address 0x81 has 16 sectors [Host vendor specific log] SMART Log at address 0x82 has 16 sectors [Host vendor specific log] SMART Log at address 0x83 has 16 sectors [Host vendor specific log] SMART Log at address 0x84 has 16 sectors [Host vendor specific log] SMART Log at address 0x85 has 16 sectors [Host vendor specific log] SMART Log at address 0x86 has 16 sectors [Host vendor specific log] SMART Log at address 0x87 has 16 sectors [Host vendor specific log] SMART Log at address 0x88 has 16 sectors [Host vendor specific log] SMART Log at address 0x89 has 16 sectors [Host vendor specific log] SMART Log at address 0x8a has 16 sectors [Host vendor specific log] SMART Log at address 0x8b has 16 sectors [Host vendor specific log] SMART Log at address 0x8c has 16 sectors [Host vendor specific log] SMART Log at address 0x8d has 16 sectors [Host vendor specific log] SMART Log at address 0x8e has 16 sectors [Host vendor specific log] SMART Log at address 0x8f has 16 sectors [Host vendor specific log] SMART Log at address 0x90 has 16 sectors [Host vendor specific log] SMART Log at address 0x91 has 16 sectors [Host vendor specific log] SMART Log at address 0x92 has 16 sectors [Host vendor specific log] SMART Log at address 0x93 has 16 sectors [Host vendor specific log] SMART Log at address 0x94 has 16 sectors [Host vendor specific log] SMART Log at address 0x95 has 16 sectors [Host vendor specific log] SMART Log at address 0x96 has 16 sectors [Host vendor specific log] SMART Log at address 0x97 has 16 sectors [Host vendor specific log] SMART Log at address 0x98 has 16 sectors [Host vendor specific log] SMART Log at address 0x99 has 16 sectors [Host vendor specific log] SMART Log at address 0x9a has 16 sectors [Host vendor specific log] SMART Log at address 0x9b has 16 sectors [Host vendor specific log] SMART Log at address 0x9c has 16 sectors [Host vendor specific log] SMART Log at address 0x9d has 16 sectors [Host vendor specific log] SMART Log at address 0x9e has 16 sectors [Host vendor specific log] SMART Log at address 0x9f has 16 sectors [Host vendor specific log] SMART Log at address 0xa1 has 20 sectors [Device vendor specific log] SMART Log at address 0xa8 has 129 sectors [Device vendor specific log] SMART Log at address 0xa9 has 1 sectors [Device vendor specific log] SMART Log at address 0xc0 has 1 sectors [Device vendor specific log] SMART Log at address 0xe0 has 1 sectors [SCT Command/Status] SMART Log at address 0xe1 has 1 sectors [SCT Data Transfer] SMART Extended Comprehensive Error Log (GP Log 0x03) not supported SMART Error Log Version: 1 No Errors Logged SMART Extended Self-test Log (GP Log 0x07) not supported SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offline Self-test routine in progress 80% 9156 - # 2 Short offline Completed without error 00% 9156 - SMART Selective self-test log data structure revision number 1 SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS 1 0 0 Not_testing 2 0 0 Not_testing 3 0 0 Not_testing 4 0 0 Not_testing 5 0 0 Not_testing Selective self-test flags (0x0): After scanning selected spans, do NOT read-scan remainder of disk. If Selective self-test is pending on power-up, resume after 0 minute delay. SCT Status Version: 3 SCT Version (vendor specific): 522 (0x020a) SCT Support Level: 1 Device State: Active (0) Current Temperature: 38 Celsius Power Cycle Min/Max Temperature: 35/38 Celsius Lifetime Min/Max Temperature: 23/48 Celsius Under/Over Temperature Limit Count: 0/0 SCT Temperature History Version: 2 Temperature Sampling Period: 1 minute Temperature Logging Interval: 59 minutes Min/Max recommended Temperature: 14/55 Celsius Min/Max Temperature Limit: 10/60 Celsius Temperature History Size (Index): 128 (53) Index Estimated Time Temperature Celsius 54 2012-07-19 09:24 35 **************** ... ..( 3 skipped). .. **************** 58 2012-07-19 13:20 35 **************** 59 2012-07-19 14:19 34 *************** ... ..( 3 skipped). .. *************** 63 2012-07-19 18:15 34 *************** 64 2012-07-19 19:14 35 **************** 65 2012-07-19 20:13 35 **************** 66 2012-07-19 21:12 35 **************** 67 2012-07-19 22:11 36 ***************** 68 2012-07-19 23:10 36 ***************** 69 2012-07-20 00:09 35 **************** ... ..( 11 skipped). .. **************** 81 2012-07-20 11:57 35 **************** 82 2012-07-20 12:56 34 *************** ... ..( 5 skipped). .. *************** 88 2012-07-20 18:50 34 *************** 89 2012-07-20 19:49 35 **************** 90 2012-07-20 20:48 35 **************** 91 2012-07-20 21:47 36 ***************** 92 2012-07-20 22:46 37 ****************** 93 2012-07-20 23:45 36 ***************** 94 2012-07-21 00:44 36 ***************** 95 2012-07-21 01:43 35 **************** 96 2012-07-21 02:42 35 **************** 97 2012-07-21 03:41 35 **************** 98 2012-07-21 04:40 36 ***************** 99 2012-07-21 05:39 36 ***************** 100 2012-07-21 06:38 36 ***************** 101 2012-07-21 07:37 35 **************** ... ..( 6 skipped). .. **************** 108 2012-07-21 14:30 35 **************** 109 2012-07-21 15:29 34 *************** 110 2012-07-21 16:28 35 **************** ... ..( 6 skipped). .. **************** 117 2012-07-21 23:21 35 **************** 118 2012-07-22 00:20 34 *************** 119 2012-07-22 01:19 34 *************** 120 2012-07-22 02:18 34 *************** 121 2012-07-22 03:17 35 **************** ... ..( 14 skipped). .. **************** 8 2012-07-22 18:02 35 **************** 9 2012-07-22 19:01 ? - 10 2012-07-22 20:00 35 **************** 11 2012-07-22 20:59 35 **************** 12 2012-07-22 21:58 38 ******************* 13 2012-07-22 22:57 38 ******************* 14 2012-07-22 23:56 38 ******************* 15 2012-07-23 00:55 39 ******************** 16 2012-07-23 01:54 38 ******************* 17 2012-07-23 02:53 38 ******************* 18 2012-07-23 03:52 39 ******************** 19 2012-07-23 04:51 39 ******************** 20 2012-07-23 05:50 38 ******************* ... ..( 11 skipped). .. ******************* 32 2012-07-23 17:38 38 ******************* 33 2012-07-23 18:37 37 ****************** ... ..( 3 skipped). .. ****************** 37 2012-07-23 22:33 37 ****************** 38 2012-07-23 23:32 38 ******************* 39 2012-07-24 00:31 ? - 40 2012-07-24 01:30 25 ****** 41 2012-07-24 02:29 25 ****** 42 2012-07-24 03:28 36 ***************** 43 2012-07-24 04:27 36 ***************** 44 2012-07-24 05:26 ? - 45 2012-07-24 06:25 36 ***************** 46 2012-07-24 07:24 36 ***************** 47 2012-07-24 08:23 35 **************** 48 2012-07-24 09:22 36 ***************** 49 2012-07-24 10:21 35 **************** 50 2012-07-24 11:20 36 ***************** 51 2012-07-24 12:19 36 ***************** 52 2012-07-24 13:18 35 **************** 53 2012-07-24 14:17 38 ******************* SCT Error Recovery Control: Read: Disabled Write: Disabled SATA Phy Event Counters (GP Log 0x11) not supported -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 19:45:29 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F9971065673 for ; Tue, 24 Jul 2012 19:45:29 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id B0FA38FC19 for ; Tue, 24 Jul 2012 19:45:28 +0000 (UTC) Received: from www.dweimer.net (webmail.dweimer.net [192.168.5.1]) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id q6OJjSq3026398 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 24 Jul 2012 14:45:28 -0500 (CDT) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 24 Jul 2012 14:45:27 -0500 From: dweimer To: Organization: dweimer.net Mail-Reply-To: In-Reply-To: References: Message-ID: X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/0.8-rc Subject: Re: Disk Errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 19:45:29 -0000 On 2012-07-24 13:37, jb wrote: > dweimer dweimer.net> writes: > >> ... >> ad4: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=817755328 >> ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) >> LBA=837397120 >> ... > > There is a story about it: > > http://linux-bsd-sharing.blogspot.com/2009/03/howto-fix-sata-dma-timeout-issues-on.html > > But do not rush, read the comments as well: > ... > "Tony Schwartz said... > > Thing is though, I have a secondary issue. This second issue is > probably > what caused the first issue (DMA TIMEOUTS) to begin with. My disks > keep > spinning down then up, every 20 seconds or so. I have no idea why > this is > happening, but it's not just one disk. I think that it was timing out > because > he disk goes to spin up and that takes too long. Any ideas here? I've > used > atacontrol and it's not configured to spindown. Thanks." > ... > " > Benjamin said... > > LoL, found the solution and feeling a little embarrassed by it. > Good thing > I got a GURU in the forums to look at it. > > It was just the power supply and my disk was spinning down cos > the power > wasn't sufficient to run 6 HDs and 9 fans for cooling ha ha ha." > ... > " I wouldn't expect power as the external dock has its own power supply, I would expect this to occur on the other drives as well. Though its possible the Seagate drive requires more power than the Western Digital drives, I think I will look up the specs tonight on that, as well as do some searching on the eSATA doc to verify that there haven't been any problems with it and Seagate drives > CyberRax said... > > Just for information: while this hasn't been fixed as elegantly > as in the > patch FreeBSD does incorporate since 8-STABLE r199158 a solution for > the > problem: ATA_REQUEST_TIMEOUT kernel option that be be set higher than > the > default 5. > What is needed is adding "options ATA_REQUEST_TIMEOUT=X" (where X > is > timeout in seconds) into the kernel configuration file. > Changing the timeout will need rebuilding and installing the > kernel, but > it's still better than nothing." > > jb > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 20:21:03 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7995106564A for ; Tue, 24 Jul 2012 20:21:03 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 7FDCC8FC15 for ; Tue, 24 Jul 2012 20:21:03 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1StlbF-0008R6-F0 for freebsd-questions@freebsd.org; Tue, 24 Jul 2012 22:20:57 +0200 Received: from np-19-75.prenet.pl ([np-19-75.prenet.pl]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Jul 2012 22:20:57 +0200 Received: from jb.1234abcd by np-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Jul 2012 22:20:57 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Date: Tue, 24 Jul 2012 20:20:46 +0000 (UTC) Lines: 24 Message-ID: References: <20120724180421.GF38393@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 79.139.19.75 (Mozilla/5.0 (X11; FreeBSD i386; rv:13.0) Gecko/20100101 Firefox/13.0.1) Subject: Re: Disk Errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 20:21:03 -0000 dweimer dweimer.net> writes: > ... > 188 Command_Timeout -O--CK 100 098 000 - > 21475164202 > ... I can not find it for Seagate; http://sourceforge.net/apps/trac/smartmontools/wiki/AttributesSeagate but for Western-Digital: http://sourceforge.net/apps/trac/smartmontools/wiki/AttributesWestern-Digital ... 188 Command Time Out A number of aborted operations due to HDD timeout. Normally this attribute value should be equal to zero and if you have values far above zero, then most likely you have some serious problems with your power supply or you have an oxidized data cable. ... jb From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 20:21:20 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 71310106568D for ; Tue, 24 Jul 2012 20:21:20 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 48D3A8FC18 for ; Tue, 24 Jul 2012 20:21:19 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Stlba-0003O8-DP for freebsd-questions@freebsd.org; Tue, 24 Jul 2012 13:21:18 -0700 Date: Tue, 24 Jul 2012 13:21:18 -0700 (PDT) From: Jakub Lach To: freebsd-questions@freebsd.org Message-ID: <1343161278408-5729576.post@n5.nabble.com> In-Reply-To: <20494.53957.844316.578354@jerusalem.litteratus.org> References: <20494.53957.844316.578354@jerusalem.litteratus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: version of clang in HEAD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 20:21:20 -0000 The same as in 9-STABLE? $ cc -v FreeBSD clang version 3.1 (branches/release_31 156863) 20120523 Target: x86_64-unknown-freebsd9.0 Thread model: posix -- View this message in context: http://freebsd.1045724.n5.nabble.com/version-of-clang-in-HEAD-tp5729532p5729576.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 20:31:11 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BEA41106564A for ; Tue, 24 Jul 2012 20:31:11 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 76F0B8FC08 for ; Tue, 24 Jul 2012 20:31:11 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Stll8-00068m-SW for freebsd-questions@freebsd.org; Tue, 24 Jul 2012 22:31:10 +0200 Received: from pool-173-79-96-198.washdc.fios.verizon.net ([173.79.96.198]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Jul 2012 22:31:10 +0200 Received: from nightrecon by pool-173-79-96-198.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Jul 2012 22:31:10 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Date: Tue, 24 Jul 2012 16:30:58 -0400 Lines: 49 Message-ID: References: <20120724180421.GF38393@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-96-198.washdc.fios.verizon.net Subject: Re: Disk Errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nightrecon@hotmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 20:31:11 -0000 dweimer wrote: [snip] > > SMART Attributes Data Structure revision number: 10 > Vendor Specific SMART Attributes with Thresholds: > ID# ATTRIBUTE_NAME FLAGS VALUE WORST THRESH FAIL RAW_VALUE > 1 Raw_Read_Error_Rate POSR-- 117 099 006 - 145191418 [...] > 7 Seek_Error_Rate POSR-- 078 060 030 - 77590473 [...] > 195 Hardware_ECC_Recovered -O-RC- 025 023 000 - 145191418 [...] > 241 Total_LBAs_Written ------ 100 253 000 - 1480696469 > 242 Total_LBAs_Read ------ 100 253 000 - 922627427 [snip] Really, most of the numbers don't look really bad, but I'd cast a leery eye towards the way these three correlate. Read errors from bad spots in the magnetic media are one thing, but notice how the drive is recovering data with built-in ECC routines. Then notice that the seek error rate is moving along at a similar pace. There is a possibility that this is a purely mechanical weakness in the head positioning function, just barely "not bad" enough for to allow the drive to attempt to hide it through ECC. When I suspect media failure I generally use the manufacturers diagnostic utility to scan for defective media. I haven't used many Seagates in a long time so mostly this means WD's wddiags, which can be downloaded as a bootable CD .iso image. Seagate will have something similar. The quick scan is meant to be non-destructive while the long scan usually is. (I just had an old Raptor drive grow 5 bad spots recently, and the long scan fixed it without destroying any data - a first for me that) As long as the remap space area on the drive is not full usually these diagnostics have a good chance to fix bad spots. If it's an infrequent affair then one may just continue to use it. If I see new bad sectors a week later it is an indication that the drive has outlived it's usefulness and I replace it. If it's another year before I get a small handful of bad spots I may just let the diags fix it and continue to use. That is - as long as the remap space is not full. Once that happens any new bad spots are permanent and cannot be done anything about. Time to replace drive. The difference here is bad spots developing in the media on the platter(s) as opposed to the problem actually stemming from head seek position-location problems. None of the diags can do anything about head seek troubles, only identify if the problem is media on the platter(s) related. -Mike From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 21:12:00 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5F4A11065673 for ; Tue, 24 Jul 2012 21:12:00 +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 1B0578FC1C for ; Tue, 24 Jul 2012 21:12:00 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q6OLAZEr062545; Tue, 24 Jul 2012 15:10:35 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q6OLAZJG062542; Tue, 24 Jul 2012 15:10:35 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 24 Jul 2012 15:10:35 -0600 (MDT) From: Warren Block To: dweimer In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Tue, 24 Jul 2012 15:10:35 -0600 (MDT) Cc: FreeBSD Questions Subject: Re: Disk Errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 21:12:00 -0000 On Tue, 24 Jul 2012, dweimer wrote: > Just curious, I am sure the likely issue is a bad disk, but I thought there > might be a chance this could be caused by possibly by something else. > > I have three 1TB disks I use for backup, two of them are Western Digital > drives I bought specifically for this purpose. One is a Seagate drive that > came out of a barebones PC that I replaced with a couple smaller drives in a > stripe to gain performance. I use the drives in an external SATA dock, using > geom eli encryption, the western digital drives give me no problems, but the > seagate drive gives me a lot of the following errors under load. > > ad4: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=817755328 > ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=837397120 > ad4: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=879786112 > ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=882931200 > ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=890542016 > ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=902767296 > ad4: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=904071296 > > dmesg info about the drive at connection time: > ad4: 953869MB at ata2-master UDMA100 SATA 3Gb/s There are more than a few problem reports on the net concerning that drive, even on Seagate's own forums. Both hardware problems and firmware problems. Your later post says you have firmware version CC46, and Seagate has an update to CC49. That's worth a try. http://knowledge.seagate.com/articles/en_US/FAQ/213891en?language=en_US From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 22:46:30 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD32A1065672 for ; Tue, 24 Jul 2012 22:46:30 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id 6AA0A8FC0C for ; Tue, 24 Jul 2012 22:46:30 +0000 (UTC) Received: from www.dweimer.net (webmail.dweimer.net [192.168.5.1]) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id q6OMkTqg001762 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 24 Jul 2012 17:46:30 -0500 (CDT) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 24 Jul 2012 17:46:29 -0500 From: dweimer To: Warren Block Organization: dweimer.net Mail-Reply-To: In-Reply-To: References: Message-ID: X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/0.8-rc Cc: FreeBSD Questions Subject: Re: Disk Errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 22:46:30 -0000 On 2012-07-24 16:10, Warren Block wrote: > On Tue, 24 Jul 2012, dweimer wrote: > >> Just curious, I am sure the likely issue is a bad disk, but I >> thought there might be a chance this could be caused by possibly by >> something else. >> >> I have three 1TB disks I use for backup, two of them are Western >> Digital drives I bought specifically for this purpose. One is a >> Seagate drive that came out of a barebones PC that I replaced with a >> couple smaller drives in a stripe to gain performance. I use the >> drives in an external SATA dock, using geom eli encryption, the >> western digital drives give me no problems, but the seagate drive >> gives me a lot of the following errors under load. >> >> ad4: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=817755328 >> ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) >> LBA=837397120 >> ad4: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=879786112 >> ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) >> LBA=882931200 >> ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) >> LBA=890542016 >> ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) >> LBA=902767296 >> ad4: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=904071296 >> >> dmesg info about the drive at connection time: >> ad4: 953869MB at ata2-master UDMA100 >> SATA 3Gb/s > > There are more than a few problem reports on the net concerning that > drive, even on Seagate's own forums. Both hardware problems and > firmware problems. Your later post says you have firmware version > CC46, and Seagate has an update to CC49. That's worth a try. > > http://knowledge.seagate.com/articles/en_US/FAQ/213891en?language=en_US Definately going to try this firmware update, if only it would see the disk through the eSATA controller, but unfortunately it marks it as a JBOD raid instead of straight access to the disk. So this will have to wait until I put my puppy to bed for the night as she keeps trying to eat the pillow from my bed while I am working on this. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 23:11:23 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D1E70106566C for ; Tue, 24 Jul 2012 23:11:23 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 7CD308FC15 for ; Tue, 24 Jul 2012 23:11:23 +0000 (UTC) Received: from r56.edvax.de (port-92-195-22-218.dynamic.qsc.de [92.195.22.218]) by mx01.qsc.de (Postfix) with ESMTP id 102063CD47; Wed, 25 Jul 2012 01:11:21 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q6ONBLE5001989; Wed, 25 Jul 2012 01:11:21 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 25 Jul 2012 01:11:21 +0200 From: Polytropon To: lei yang Message-Id: <20120725011121.c4671dfa.freebsd@edvax.de> In-Reply-To: References: <20120722182545.39d6b96c.freebsd@edvax.de> <20120723163604.6e795aa4.freebsd@edvax.de> <20120723184701.f21a4744.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: help about free bsp version netcat to work it on ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 23:11:23 -0000 On Tue, 24 Jul 2012 19:13:00 +0800, lei yang wrote: > On Tue, Jul 24, 2012 at 12:47 AM, Polytropon wrote: > > On Mon, 23 Jul 2012 23:29:38 +0800, lei yang wrote: > >> Yes, the second version I post is using the source from you supplied, > >> then I compiled it, but it has no > >> "-U" flag like what I post, it seems a version different casued this. > > > > Yes. The version distributed by the ports collection is different > > from that one supplied with the base system of FreeBSD. > > > > To try _that_ version, you can download the source tarball and > > extract it; in the directory > > > > # wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/9.0-RELEASE/src.txz > > # tar xvf src.txz > > Thanks for the help, > > tar xvf src.txz > tar: This does not look like a tar archive > tar: Skipping to next header > tar: Archive contains obsolescent base-64 headers > tar: Read 4896 bytes from src.txz > tar: Error exit delayed from previous errors > [lyang0@ala-lpggp2 lyang0]$ tar xvf src.txz > tar: This does not look like a tar archive > tar: Skipping to next header > tar: Archive contains obsolescent base-64 headers > tar: Read 4896 bytes from src.txz > tar: Error exit delayed from previous errors Oh sorry I forgot: You're _not_ on a FreeBSD system! That's why you cannot use tar (means: bsdtar) with the xz compression support. On your system, you first need to install xz. Use the unxz to uncompress the archive. Then you will have a valid tar archive which you can extract with "stock" tar. > > # cd cusr/src/ontrib/netcat/ > > # ls > > FREEBSD-Xlist FREEBSD-vendor atomicio.h netcat.c > > FREEBSD-upgrade atomicio.c nc.1 socks.c > > # > > > > > > Suppose gcc -o netcat netcat.c atomicio.c socks.c should work It seems that I pointed you to a wrong location inside the src/ tree. Maybe try this instead: # unxz src.txz # tar xvf src.tar usr/src/usr.bin/nc/ # tar xvf src.tar usr/src/contrib/netcat/ # cd usr/src/usr.bin/nc/ # ls Makefile # cd ../../contrib/netcat/ # ls FREEBSD-Xlist FREEBSD-vendor atomicio.h netcat.c FREEBSD-upgrade atomicio.c nc.1 socks.c "Problem": The Makefile which describes the build process refers to bsd.prog.mk which is specific to FreeBSD (and located in src/share/Mk which you'd also have to extract). The content of the Makefile is rather simple: .PATH: ${.CURDIR}/../../contrib/netcat PROG= nc SRCS= netcat.c atomicio.c socks.c CFLAGS+=-DIPSEC LDADD= -lipsec DPADD= ${LIBIPSEC} .include Still it seems that your "simplified" approach could work: Compile all the .c files. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 00:10:28 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AA925106564A for ; Wed, 25 Jul 2012 00:10:28 +0000 (UTC) (envelope-from jamesp@musicreports.com) Received: from mri-mail.musicreports.com (smtp-relay.musicreports.com [38.98.50.162]) by mx1.freebsd.org (Postfix) with ESMTP id 864C58FC08 for ; Wed, 25 Jul 2012 00:10:28 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mri-mail.musicreports.com (Postfix) with ESMTP id 359835688046 for ; Tue, 24 Jul 2012 17:10:28 -0700 (PDT) X-Virus-Scanned: amavisd-new at mri-mail.musicreports.com Received: from mri-mail.musicreports.com ([127.0.0.1]) by localhost (mri-mail.musicreports.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VxeEluuu1Gd9 for ; Tue, 24 Jul 2012 17:10:26 -0700 (PDT) Received: from mri-mail.musicreports.com (mri-mail.musicreports.com [192.168.20.65]) by mri-mail.musicreports.com (Postfix) with ESMTP id B68265688043 for ; Tue, 24 Jul 2012 17:10:26 -0700 (PDT) Date: Tue, 24 Jul 2012 17:10:26 -0700 (PDT) From: "James D. Parra" To: freebsd-questions@freebsd.org Message-ID: <283823824.63741.1343175026485.JavaMail.root@mri-mail> In-Reply-To: <1595370872.63679.1343173679259.JavaMail.root@mri-mail> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.20.220] X-Mailer: Zimbra 6.0.15_GA_2995 (ZimbraWebClient - SAF3 (Win)/6.0.15_GA_2995) Subject: building Samba on 8.2 fails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 00:10:28 -0000 Hello, I had installed Samba35 and had it working with PAM and SSH, however after a reboot PAM broke. Kept getting the error; in openpam_load_module(): no /usr/local/lib/pam_winbind.so found The file was actually in that path. Never the less, I tried re-installing; portsnap extract && portsnap fetch update cd /usr/ports/devel/libtool && make deinstall && make install clean cd /usr/ports/security/krb5 && make deinstall make KRB5_HOME=/usr/local install clean and finally; cd /usr/ports/net/samba35 && make KRB5_HOME=/usr/local install clean With my fingers crossed I hoped for the best and yet I received the following error during compiling; Compiling libsmb/libsmb_setget.c libsmb/libsmb_setget.c: In function 'smbc_getOptionUseCCache': libsmb/libsmb_setget.c:427: error: 'SMB_CTX_FLAG_USE_CCACHE' undeclared (first use in this function) libsmb/libsmb_setget.c:427: error: (Each undeclared identifier is reported only once libsmb/libsmb_setget.c:427: error: for each function it appears in.) libsmb/libsmb_setget.c: In function 'smbc_setOptionUseCCache': libsmb/libsmb_setget.c:435: error: 'SMB_CTX_FLAG_USE_CCACHE' undeclared (first use in this function) The following command failed: cc -I/usr/local/include -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing -I. -I/usr/ports/net/samba35/work/samba-3.5.15/source3 -I/usr/ports/net/samba35/work/samba-3.5.15/source3/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -DHAVE_CONFIG_H -I/usr/local/include -I/usr/local/include -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -I./../lib/popt -I/usr/local/include -DLDAP_DEPRECATED -I/usr/ports/net/samba35/work/samba-3.5.15/source3/lib -I.. -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -DPIC -c libsmb/libsmb_setget.c -o libsmb/libsmb_setget.o gmake: *** [libsmb/libsmb_setget.o] Error 1 *** Error code 1 Stop in /usr/ports/net/samba35. *** Error code 1 Stop in /usr/ports/net/samba35. Does anyone have any solutions on how I can get Samba installed and resolve the above error? Many thanks in advance. James From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 02:29:35 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DE761106566B for ; Wed, 25 Jul 2012 02:29:35 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id B11F18FC08 for ; Wed, 25 Jul 2012 02:29:35 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so631846pbb.13 for ; Tue, 24 Jul 2012 19:29:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=3XSENIqw/Bc9Pz8oyaYFK3GQ2XVxMbC7sLUHOqLW9/s=; b=QohxcAl+xeKNqMjFkKDd0NPWVUP4AvsbWQp+C+zvxEHhK6Md3Ey7ZiOAT7ESrHKlsE PMaNXs2jaBbASvxz/56J7Ua70YzFE3xaCeQMYXrctP+p2PMjKEoHf15Pmv9YQTrACuzr vhaWzcunexXJc+At5jAVuLJpidzfC0ECi1Srqsb8QsuDZZNVyVAt094Zl1hQ0O7U56h+ DKpZ70r5La2jwYkqNoGq0aBP6aZfOl+dAPTmnqcpZzHkgkIXsyiTePptr6zoqrdrQ+jz zJSWz2Y+sVxHCTpCwp3b/MxoyEiCO346JYy/gTL3oiduSCv50Hb0yBZ2bUg4MuE+9kVg irBQ== MIME-Version: 1.0 Received: by 10.68.203.67 with SMTP id ko3mr8210925pbc.126.1343183375430; Tue, 24 Jul 2012 19:29:35 -0700 (PDT) Received: by 10.68.227.132 with HTTP; Tue, 24 Jul 2012 19:29:35 -0700 (PDT) In-Reply-To: References: Date: Tue, 24 Jul 2012 21:29:35 -0500 Message-ID: From: Adam Vande More To: dweimer@dweimer.net Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: Disk Errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 02:29:36 -0000 On Tue, Jul 24, 2012 at 11:40 AM, dweimer wrote: > Just curious, I am sure the likely issue is a bad disk, but I thought > there might be a chance this could be caused by possibly by something else. > > I have three 1TB disks I use for backup, two of them are Western Digital > drives I bought specifically for this purpose. One is a Seagate drive that > came out of a barebones PC that I replaced with a couple smaller drives in > a stripe to gain performance. I use the drives in an external SATA dock, > using geom eli encryption, the western digital drives give me no problems, > but the seagate drive gives me a lot of the following errors under load. > > ad4: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=817755328 > ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=837397120 > ad4: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=879786112 > ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=882931200 > ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=890542016 > ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=902767296 > ad4: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=904071296 > This type of problem has been a consistent problem on FreeBSD until mid 8.x range. Try upgrading your system to something a little more modern. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 02:38:15 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DF4B106564A for ; Wed, 25 Jul 2012 02:38:15 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id 1619B8FC0A for ; Wed, 25 Jul 2012 02:38:14 +0000 (UTC) Received: from www.dweimer.net (webmail.dweimer.net [192.168.5.1]) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id q6P2cD0X010682 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 24 Jul 2012 21:38:14 -0500 (CDT) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Date: Tue, 24 Jul 2012 21:38:13 -0500 From: dweimer To: Adam Vande More Organization: dweimer.net Mail-Reply-To: In-Reply-To: References: Message-ID: X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/0.8-rc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: Disk Errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 02:38:15 -0000 On 2012-07-24 21:29, Adam Vande More wrote: > On Tue, Jul 24, 2012 at 11:40 AM, dweimer wrote: > >> Just curious, I am sure the likely issue is a bad disk, but I thought there might be a chance this could be caused by possibly by something else. >> >> I have three 1TB disks I use for backup, two of them are Western Digital drives I bought specifically for this purpose. One is a Seagate drive that came out of a barebones PC that I replaced with a couple smaller drives in a stripe to gain performance. I use the drives in an external SATA dock, using geom eli encryption, the western digital drives give me no problems, but the seagate drive gives me a lot of the following errors under load. >> >> ad4: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=817755328 >> ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=837397120 >> ad4: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=879786112 >> ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=882931200 >> ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=890542016 >> ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=902767296 >> ad4: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=904071296 > > This type of problem has been a consistent problem on FreeBSD until mid 8.x range. Try upgrading your system to something a little more modern. > > -- > Adam Vande More Its running 9.0-RELEASE-P3 updated from source from an original install of 8.2 on this hardware. I have done the firmware update on the drive, so hopefully I will see an improvement in about 2 hours when tonights backups kick off. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 02:45:38 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5C909106566B for ; Wed, 25 Jul 2012 02:45:38 +0000 (UTC) (envelope-from leeoliveshackelford@surewest.net) Received: from rc1.surewest.net (rc1.surewest.net [66.60.130.50]) by mx1.freebsd.org (Postfix) with ESMTP id 3E8E88FC0A for ; Wed, 25 Jul 2012 02:45:38 +0000 (UTC) Received: from smtp1.surewest.net ([66.60.130.145]) by rc1.surewest.net ({dfaaa318-551d-4a0a-8038-7c31cf31c4f6}) via TCP (outbound) with ESMTP id 20120725024537966 for ; Wed, 25 Jul 2012 02:45:37 +0000 X-RC-FROM: X-RC-RCPT: Received: from ms5.mc.surewest.net (hansolo.surewest.net [64.30.98.104]) by smtp1.surewest.net (Postfix) with ESMTP id A96DE893A2 for ; Tue, 24 Jul 2012 19:45:37 -0700 (PDT) Received: (from ms5.mc.surewest.net [192.168.60.103]) by ms5.mc.surewest.net (MOS 4.1.8-GA) with HTTP/1.1 id CNL84710 (AUTH leeoliveshackelford@surewest.net); Tue, 24 Jul 2012 19:45:37 -0700 (PDT) From: To: freebsd-questions@freebsd.org X-Mailer: Mirapoint Webmail Direct 4.1.8-GA MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20120724194537.CNL84710@ms5.mc.surewest.net> Date: Tue, 24 Jul 2012 19:45:37 -0700 (PDT) Subject: CYCAS architectural C.A.D. software X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 02:45:38 -0000 Good day FreeBSD enthusiasts. Has anyone installed and used CYCAS architectural CAD software on a FreeBSD system? Is this possible? If you have used CYCAS on a FreeBSD system, would you like to share with me your comments about your experience? Many thanks. Lee Shackelford From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 07:07:08 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BC5531065672 for ; Wed, 25 Jul 2012 07:07:08 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (relay2.tomsk.ru [212.73.124.8]) by mx1.freebsd.org (Postfix) with ESMTP id 069898FC12 for ; Wed, 25 Jul 2012 07:07:07 +0000 (UTC) X-Virus-Scanned: by clamd daemon 0.93.1 for FreeBSD at relay2.tomsk.ru Received: from admin.sibptus.tomsk.ru (account sudakov@sibptus.tomsk.ru [212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPSA id 27821945 for freebsd-questions@freebsd.org; Wed, 25 Jul 2012 13:06:56 +0700 Received: from admin.sibptus.tomsk.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.tomsk.ru (8.14.5/8.14.5) with ESMTP id q6P66ubx046111 for ; Wed, 25 Jul 2012 13:06:56 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.tomsk.ru (8.14.5/8.14.5/Submit) id q6P66tkc046110 for freebsd-questions@freebsd.org; Wed, 25 Jul 2012 13:06:55 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.tomsk.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Wed, 25 Jul 2012 13:06:55 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Message-ID: <20120725060655.GA42987@admin.sibptus.tomsk.ru> References: <24DFC78A-422A-4831-9B74-E762C9245DCD@distal.com> <20120724121400.55b96aee@fabiankeil.de> <500E7707.8020801@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <500E7707.8020801@gmail.com> Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.livejournal.com/pubkey.bml?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: Locally modifying ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 07:07:08 -0000 kron wrote: > > I use in /etc/make.conf: > > ... > .if ${.CURDIR:M*/ports/x11-wm/openbox} > EXTRA_PATCHES+=/home/ok/patches/openbox/patch-VK-NULL_SELF_TITLE.diff > EXTRA_PATCHES+=/home/ok/patches/openbox/patch-VK-SPEED_FOCUS.diff > .endif > ... What do you do if the extra patches need some pathnames to be removed (need a PATCH_STRIP different from those in files/patch-*)? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 11:14:18 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 226D51065670 for ; Wed, 25 Jul 2012 11:14:18 +0000 (UTC) (envelope-from dead_line@hotmail.com) Received: from bay0-omc4-s18.bay0.hotmail.com (bay0-omc4-s18.bay0.hotmail.com [65.54.190.220]) by mx1.freebsd.org (Postfix) with ESMTP id 0AFA38FC16 for ; Wed, 25 Jul 2012 11:14:18 +0000 (UTC) Received: from BAY170-W16 ([65.54.190.201]) by bay0-omc4-s18.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 25 Jul 2012 04:13:11 -0700 Message-ID: X-Originating-IP: [78.154.246.31] From: Marwan Sultan To: FreeBSD Questions Date: Wed, 25 Jul 2012 11:13:11 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 25 Jul 2012 11:13:11.0991 (UTC) FILETIME=[7A94B470:01CD6A56] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: FreeBSD Stable production version. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 11:14:18 -0000 Hello all and Good Morning=2C Afternoon or evening :) =20 I finally decided to take off my FreeBSD 7.2 server which is onlin esince = 2009. =20 I will go for a new FreeBSD version and will move out all data. =20 My Server is mainly is a MAIL server=2C sendmail. and ofcourse few websites=2C data.etc.. =20 Which version do you recommend?=20 Shall I go for 9 ? or 8.3 is still more fit for a production and bsns server ? =20 Thank you. -marwan Sultan = From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 11:20:03 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C00D106564A for ; Wed, 25 Jul 2012 11:20:03 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id B19F48FC0A for ; Wed, 25 Jul 2012 11:20:02 +0000 (UTC) Received: by eeke52 with SMTP id e52so60063eek.13 for ; Wed, 25 Jul 2012 04:19:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=wgx6HVRpqC94rVbkfFtD21p6o1KQTZIIVeE/Y/wa+pI=; b=Jmq8oXy093v2/E+psBfeX9X1QJwSpWh1bd0WpJc0aen3AfbNJ7stKEaXwvFtFi0nQ2 /sbjMHOBWB5LESTVrnda1UkVj4OYD6VoF3F5UdSLaWfk/mQJLqpE361lSXCTQoYEYCGK e7TOC18yfGWzOlBmF1OjEoRlSRpuayfImemaB7fak6dtn2kD9MihtXjz5MdNxRQr++0s fi/7xy9fv6ADZdJMGVgj+v4yE3l5xlmN1z2Ap3wKrcn95+elu5lXYBpNEuHXFCa2xAfv FyV1qQSf3ozRbR70IAKI37ZSs0LRDNJCjF8xcDpCwFMuvphRXnfvOL9CwvMJBw3k9iM0 unWg== Received: by 10.14.214.196 with SMTP id c44mr296427eep.7.1343215196103; Wed, 25 Jul 2012 04:19:56 -0700 (PDT) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id 7sm1488268eeb.3.2012.07.25.04.19.54 (version=SSLv3 cipher=OTHER); Wed, 25 Jul 2012 04:19:55 -0700 (PDT) Message-ID: <500FD659.4090106@my.gd> Date: Wed, 25 Jul 2012 13:19:53 +0200 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQkd5HyYCBN/2stx/5hrBJHq6y12/0sYu/FZHy+b1CPNc6uR8/qSd7iDoIcCtGQetvfOwtOq Subject: Re: FreeBSD Stable production version. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 11:20:03 -0000 On 7/25/12 1:13 PM, Marwan Sultan wrote: > > Hello all and Good Morning, Afternoon or evening :) > > I finally decided to take off my FreeBSD 7.2 server which is onlin esince 2009. > > I will go for a new FreeBSD version and will move out all data. > > My Server is mainly is a MAIL server, sendmail. > and ofcourse few websites, data.etc.. > > Which version do you recommend? > Shall I go for 9 ? > or 8.3 is still more fit for a production and bsns server ? > I'd say it's a matter of personal preference. We're mostly running 8.3 in production here. I've recently installed 9-STABLE servers to try them out and fill PRs if I get problems. I would encourage you to use 9-STABLE so that you may do the same and ensure the stability of future releases. From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 11:29:12 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9D3651065672 for ; Wed, 25 Jul 2012 11:29:12 +0000 (UTC) (envelope-from fbsd8@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 692438FC12 for ; Wed, 25 Jul 2012 11:29:12 +0000 (UTC) Received: from [10.0.10.3] ([173.88.199.104]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 25 Jul 2012 04:29:07 -0700 Message-ID: <500FD87C.30305@a1poweruser.com> Date: Wed, 25 Jul 2012 07:29:00 -0400 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: FreeBSD Questions References: <500DE961.2050908@bluerosetech.com> <44629dtfbf.fsf@be-well.ilk.org> In-Reply-To: <44629dtfbf.fsf@be-well.ilk.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 25 Jul 2012 11:29:08.0063 (UTC) FILETIME=[B471B6F0:01CD6A58] X-Sender: fbsd8@a1poweruser.com X-Authenticated-Sender: fbsd8@a1poweruser.com X-EchoSenderHash: [fbsd8]-[a1poweruser*com] Subject: Re: Removing sendmail from an installed 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, 25 Jul 2012 11:29:12 -0000 Lowell Gilbert wrote: > Darren Pilgrim writes: > >> I'm removing sendmail entirely from an installed system. I had >> WITHOUT_SENDMAIL in /etc/src.conf when I updated to RELENG_8_3, but >> that left an old version of sendmail rotting away on disk. This is >> the list I have so far: >> >> /etc/mail/* (excluding mailer.conf) >> /etc/rc.d/sendmail >> /usr/bin/vacation >> /usr/libexec/mail.local >> /usr/libexec/sendmail >> /usr/libexec/smrsh >> /usr/sbin/editmap >> /usr/sbin/mailstats >> /usr/sbin/makemap >> /usr/sbin/praliases >> /usr/share/sendmail >> /var/spool/clientmqueue >> /var/spool/mqueue >> >> Is this list complete? I'm intentionally leaving the stuff for >> mailwrapper. I'm ok with leaving /etc/rc.d/sendmail behind as well, >> but it looks like it's not needed by anything (i.e., nothing requires >> "mail"). > > "make delete-old"; see the section "Deleting obsolete files, directories > and libraries" in the handbook. > >> Even though I have WITHOUT_SENDMAIL specified and the world was built >> with that, mergemaster still installs /etc/mail/aliases and >> /etc/rc.d/sendmail. Is there a way to prevent this other than adding >> them to IGNORE_FILES in mergemasterrc? > > There are other ways, but that's the first one I would think of. Note > that neither of these files can be harmful, and might (especially > aliases) be used by other MTA. > I have same question but from different view point. In my situation I find it easier to install from scratch to empty disk using .iso file when moving to an newer version of freebsd. Sendmail is included as part of the base system. What is best method to totally remove sendmail including the /var/log/sendmail.st file from rotating? From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 11:47:51 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A480106564A for ; Wed, 25 Jul 2012 11:47:51 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 192428FC0C for ; Wed, 25 Jul 2012 11:47:50 +0000 (UTC) Received: by eeke52 with SMTP id e52so69661eek.13 for ; Wed, 25 Jul 2012 04:47:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding:x-gm-message-state; bh=vkQIvBiyeZY0FvkYV0M4AX0mD27uoAFqGgmOXj/VoeQ=; b=OmnZF0uMjdAckj1Upl11v8/W4Ga7nCmU9BKUAarbdvHaQvgABUz6a9mfgO25p7joon xskILc+96JRKb3+7DvTPBJYiqlpiy3sOiITNDWcnM9k0pi2ADfD1P51umSsKGPmKQnE7 xN8FFwBI/BQCypbyaJVJlXz04HvtLjj4pQnYTkcFTZA9cKLGc668C5hQ9xTn+xtrhUEO kxVqfyvcFhNzq3QpMhPHAb1ypLCE5VcYXeffsh6uddGRTagQ+j1iM2WbKSgCYQuyT9N3 rjHy+KqJsHUHlSfps8y0nqcg186guomA3sKLJN5upiAim0d9vfv2EP53pqRCY59v9npC buCA== Received: by 10.14.210.194 with SMTP id u42mr340850eeo.11.1343216870144; Wed, 25 Jul 2012 04:47:50 -0700 (PDT) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id g46sm1548190eep.15.2012.07.25.04.47.48 (version=SSLv3 cipher=OTHER); Wed, 25 Jul 2012 04:47:49 -0700 (PDT) Message-ID: <500FDCE4.8060607@my.gd> Date: Wed, 25 Jul 2012 13:47:48 +0200 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: "freebsd-questions@FreeBSD.org" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQn4XZZIBRD1ITI5IMeUED0+gSUe346f4gcpntBuIp2dRdi2gykkyRtEmUyEinl+dxi73ROi Cc: Subject: Securituy - logging of user commands X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 11:47:51 -0000 Hello list, We're currently working towards the PCI DSS certification (Payment Card Industry) for a project at work. One of the prerequisites is that all user commands be logged. We're currently using a very bad hack that takes the last command from a user's history and sends it to a log server. This of course is unreliable as a user may entirely disable their history, or just use another shell to bypass the csh function or whatever. My colleagues installed Snoopy on debian and it seems to work wonders as a module which is LD preloaded. I notice it also exists on FreeBSD as /usr/ports/security/snoopy . However I face several problems with it, mainly it doesn't seem to log anything. As per the README, I have added "/usr/local/lib/snoopy.so" to /etc/ld.so.preload I'm not even sure this file is used on BSD ? As per the man page for ld.so there's no such file: http://www.freebsd.org/cgi/man.cgi?query=ld.so Neither libmap.conf nor ldconfig(8) seem to be the answer either. I've googled for ld.so.conf and found the following 2 posts which seem to indicate it isn't used either: http://lists.freebsd.org/pipermail/freebsd-hackers/2003-June/001746.html http://lists.freebsd.org/pipermail/freebsd-hackers/2003-June/001747.html The posts mention -current but date back from 2003. Lastly, I have also noticed that the port installs /usr/local/bin/detect which I executed and would always reply "something's fishy". By looking at the (very short) source I noticed the program merely loads /lib/libc.so.6 , and it wouldn't find it on my system (8.3-STABLE with /lib/libc.so.7). Adjusting and recompiling lets the program correctly print "secure" but it does nothing else. I have checked that the output /usr/local/lib/snoopy.so module is linked against libc.so.7 , and it is. Has anyone ever got Snoopy to work on BSD ? Might I need to install linux emulation ? Is there any other port that might do the job and which I could use ? From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 12:05:17 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFE7D1065677 for ; Wed, 25 Jul 2012 12:05:16 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6828E8FC15 for ; Wed, 25 Jul 2012 12:05:16 +0000 (UTC) Received: by eeke52 with SMTP id e52so75781eek.13 for ; Wed, 25 Jul 2012 05:05:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=vjLNNeAKym+Wgxd5kz5Z4ooA9JzDTJmq81vEfIux0yQ=; b=ZdBHdyx4pHrLY+MZs6YX5olRAqV9VZXvbj7a1qLwA3+nAjZLeT9YfdbDSgHU6A8/A+ vZbWxb+P6RPUKpqA4kXTc3JitCrJHKWKmx2OjMEbRrB8h4aTbG8tT01cj+3vUi1Qt007 YqeqjqsjBEvpMI+FKoHJDE3SMYv8p+RFPj2GkNpIm/ah/H0T5835/3QiFSfQHQsAQQEX Kg+FCZcYYmClX32WZom1FS8kHEXRwcd0mSFZVb/o7D+q3XAKarA4NBT7mPs1bsUXd+bF CM6F1QciS+525MwPy0Lf0KA8V+ylWvRZEoS7TDlZJZdGlkZCyzIEtFPELrvChOyI+OP9 l3yg== Received: by 10.14.201.2 with SMTP id a2mr369527eeo.10.1343217915466; Wed, 25 Jul 2012 05:05:15 -0700 (PDT) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id c1sm1597088eeo.5.2012.07.25.05.05.14 (version=SSLv3 cipher=OTHER); Wed, 25 Jul 2012 05:05:14 -0700 (PDT) Message-ID: <500FE0F9.9020008@my.gd> Date: Wed, 25 Jul 2012 14:05:13 +0200 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Peter Boosten References: <500FDCE4.8060607@my.gd> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQmRLs/X+IczvpbVPIENo/5/FWNLwlfjRl4xwZSaBGNznhpSOIRclpfCfHzYb+h2fBZvGcOV Cc: "freebsd-questions@FreeBSD.org" Subject: Re: Securituy - logging of user commands X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 12:05:17 -0000 No I haven't. That's a good suggestion, I'll look into it and see if it fits the purpose :) On 7/25/12 2:04 PM, Peter Boosten wrote: > Have you ever considered the audit function of FreeBSD? > > > Peter Boosten > > On 25 jul. 2012, at 13:47, Damien Fleuriot wrote: > >> Hello list, >> >> >> >> We're currently working towards the PCI DSS certification (Payment Card >> Industry) for a project at work. >> >> >> One of the prerequisites is that all user commands be logged. >> >> We're currently using a very bad hack that takes the last command from a >> user's history and sends it to a log server. >> >> This of course is unreliable as a user may entirely disable their >> history, or just use another shell to bypass the csh function or whatever. >> >> >> >> My colleagues installed Snoopy on debian and it seems to work wonders as >> a module which is LD preloaded. >> >> >> I notice it also exists on FreeBSD as /usr/ports/security/snoopy . >> >> >> However I face several problems with it, mainly it doesn't seem to log >> anything. >> >> >> >> As per the README, I have added "/usr/local/lib/snoopy.so" to >> /etc/ld.so.preload >> >> I'm not even sure this file is used on BSD ? >> >> As per the man page for ld.so there's no such file: >> http://www.freebsd.org/cgi/man.cgi?query=ld.so >> >> Neither libmap.conf nor ldconfig(8) seem to be the answer either. >> >> >> >> I've googled for ld.so.conf and found the following 2 posts which seem >> to indicate it isn't used either: >> http://lists.freebsd.org/pipermail/freebsd-hackers/2003-June/001746.html >> http://lists.freebsd.org/pipermail/freebsd-hackers/2003-June/001747.html >> >> The posts mention -current but date back from 2003. >> >> >> >> Lastly, I have also noticed that the port installs /usr/local/bin/detect >> which I executed and would always reply "something's fishy". >> >> By looking at the (very short) source I noticed the program merely loads >> /lib/libc.so.6 , and it wouldn't find it on my system (8.3-STABLE with >> /lib/libc.so.7). >> Adjusting and recompiling lets the program correctly print "secure" but >> it does nothing else. >> >> I have checked that the output /usr/local/lib/snoopy.so module is linked >> against libc.so.7 , and it is. >> >> >> >> Has anyone ever got Snoopy to work on BSD ? >> Might I need to install linux emulation ? >> >> Is there any other port that might do the job and which I could use ? >> _______________________________________________ >> freebsd-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 Jul 25 12:13:47 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23C1A1065672 for ; Wed, 25 Jul 2012 12:13:47 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id AE62E8FC18 for ; Wed, 25 Jul 2012 12:13:46 +0000 (UTC) Received: by ggnm2 with SMTP id m2so721023ggn.13 for ; Wed, 25 Jul 2012 05:13:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type; bh=oNjsiDJOGz9Q9kp4YVPz8/TMeUaGZBT6ag1fdwKpL/U=; b=AeXXD0P34uT9EIWXyVoVqk7XR60APoEnvubhjSceiYuk33qkE0w0JRjd4R0ALLCHKq Yc9XOVU+AzIMk2OM4A390DDNaF2dY35E4lNqo6EOVodEwgRskGS+z9SMzld83LIJWuUB VFTJow6NARS71jn7iiDz2kZGAFj/rWEsH6uA4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :x-gm-message-state; bh=oNjsiDJOGz9Q9kp4YVPz8/TMeUaGZBT6ag1fdwKpL/U=; b=oQh9mWkHdHoRKrE/E3YCaX9bNpl02ZS0EIwcJBz7dbkCvOrmZay9nhJKi7bo3UH0T9 Gg1EQ6TMgQL062gT4UowwbqEWcfM+r43apZYlw4wChhwzcWmI+kHbZzQX+KidXTbqzDT xLo8RZip4sEidTPpbi2hLaeBiYmHxOCtzKCHhvYXwSF90S7+a1GV10ME4MKm62jj0dJ3 tNpVive76p5O6MuUnDwU6PsioCtb8ooFR3AYUI6OSDsiUnMIg6aT25sMyuNQb/+8266s hG7gyOcpT1mQ0oVUr0V0IvIuQzJlTtMGSqvDO8HhW+s5te6Kd26OC5lM/R/CvK3S9xDZ 1EhQ== Received: by 10.236.186.73 with SMTP id v49mr22795947yhm.48.1343218426128; Wed, 25 Jul 2012 05:13:46 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPS id g22sm36008882yhh.20.2012.07.25.05.13.44 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 25 Jul 2012 05:13:44 -0700 (PDT) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3WhwMV5SRSz2CG4F for ; Wed, 25 Jul 2012 08:13:42 -0400 (EDT) Date: Wed, 25 Jul 2012 08:13:28 -0400 From: Jerry To: FreeBSD Message-ID: <20120725081328.2a4c66e7@scorpio> In-Reply-To: <500FD659.4090106@my.gd> References: <500FD659.4090106@my.gd> Organization: seibercom.net X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/7rAzsBKApgEHC4oyfuyxddp"; protocol="application/pgp-signature" X-Gm-Message-State: ALoCoQkWa7uS9r+yu9PwTn27f8YNOR2ic60XcA21catYUji31bLZJ9k1mI4oAtMTh1a/1BIdyMH1 Subject: Re: FreeBSD Stable production version. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 12:13:47 -0000 --Sig_/7rAzsBKApgEHC4oyfuyxddp Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 25 Jul 2012 13:19:53 +0200 Damien Fleuriot articulated: > I'd say it's a matter of personal preference. >=20 > We're mostly running 8.3 in production here. >=20 > I've recently installed 9-STABLE servers to try them out and fill PRs > if I get problems. >=20 > I would encourage you to use 9-STABLE so that you may do the same and > ensure the stability of future releases. I would agree with that philosophy up to a point. It is definitely a matter of personal preference; however, for myself, I NEVER install version X.0 of any software if said software is to be used in a mission critical situation. I always wait until X.1 is released. If possible in your case, would it be feasible to wait until 9.1 is released? You can gather some info on it here: . As usual, any correlation between the expected release date and the actual date is purely coincidental. Just my 2=C2=A2 on the matter. --=20 Jerry =E2=99=94 Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ If you steal from one author it's plagiarism; if you steal from many it's research. =0D Wilson Mizner --Sig_/7rAzsBKApgEHC4oyfuyxddp Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJQD+L2AAoJEF2rWD2do7dNdMAH/141eZ+6KtS5dbsqTjng9kcu 0I8PxeyASm7IRRgs46qw3FwU1IhuunUux0dp4QEcAHQb5Ur/3lJfIS376cDVHo6l mFJYmdYKLhUbXqc5/RaSUewwb5b9PqGwAF53RLzVZWmtHZLJsFURzFVR6Rxuadjf pMXmKBXufls50rdrBHClsAZqW9zWHJ8M7ZwJm6EtyOiHYrXNgs1dF+gjlLEvBLiF fvNPTtCDy6LKpDvFMrrsidRwH6N1GDIP3wAxSpv208mGMiz6ej7DK3fD4QNFoHH9 YAAi41QtULvd8nlZHqimT7ZinSUEGZteVl1IGz6mWJPYeosKCI22C4dbNfBQkkc= =g6IN -----END PGP SIGNATURE----- --Sig_/7rAzsBKApgEHC4oyfuyxddp-- From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 12:14:48 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BEEA310656A5 for ; Wed, 25 Jul 2012 12:14:48 +0000 (UTC) (envelope-from universite@ukr.net) Received: from ffe15.ukr.net (ffe15.ukr.net [195.214.192.50]) by mx1.freebsd.org (Postfix) with ESMTP id 747F38FC1C for ; Wed, 25 Jul 2012 12:14:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=ffe; h=Date:Message-Id:From:To:Subject:Content-Type:Content-Transfer-Encoding:MIME-Version; bh=MUHANqCUhx9OU6NZ83pNDh/jHxRK6g3vk06cHwOD7tU=; b=NaVu30MaZ+CiOo8pxcVQnM6uDW7W9ZuEErhIc+hdNNbtvXO/+2Y/Pjwy9M6bDv4wpvBbU1nwhdgAG+dO04fC5+Lg89giWRONJz/oR8Uo4RC3QMbznocXZxwj7LOBX63Ac+NEYgY4H9QftE+0R/1W87/5n5FnTD1eWqZUKO2rs3Q=; Received: from mail by ffe15.ukr.net with local ID 1Su0BA-000HXQ-2k for freebsd-questions@freebsd.org; Wed, 25 Jul 2012 14:55:00 +0300 MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: binary Content-Type: text/plain; charset="windows-1251" X-New-Users: 1 To: freebsd-questions@freebsd.org From: =?WINDOWS-1251?B?wuvg5Ojx6+DiIM/w7uTg7Q==?= X-Mailer: freemail.ukr.net 4.0 X-Originating-Ip: [89.209.115.33] Message-Id: <63031.1343217300.9705048765098688512@ffe15.ukr.net> X-Browser: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0 Date: Wed, 25 Jul 2012 14:55:00 +0300 Subject: how to determine the temperature of your CPU? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 12:14:48 -0000 CPU: AMD FX(tm)-8120 Eight-Core Processor (3110.49-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x600f12 Family = 15 Model = 1 Stepping = 2 # kldstat -v | grep temp 319 cpu/coretemp 311 hostb/amdtemp -- Vladislav V. Prodan System & Network Administrator http://support.od.ua +380 67 4584408, +380 99 4060508 VVP88-RIPE From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 12:25:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A657106564A for ; Wed, 25 Jul 2012 12:25:40 +0000 (UTC) (envelope-from dead_line@hotmail.com) Received: from bay0-omc4-s16.bay0.hotmail.com (bay0-omc4-s16.bay0.hotmail.com [65.54.190.218]) by mx1.freebsd.org (Postfix) with ESMTP id 2130C8FC0C for ; Wed, 25 Jul 2012 12:25:40 +0000 (UTC) Received: from BAY170-W139 ([65.54.190.200]) by bay0-omc4-s16.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 25 Jul 2012 05:24:34 -0700 Message-ID: X-Originating-IP: [78.154.246.31] From: Marwan Sultan To: FreeBSD Questions Date: Wed, 25 Jul 2012 12:24:33 +0000 Importance: Normal In-Reply-To: <20120725081328.2a4c66e7@scorpio> References: , <500FD659.4090106@my.gd>, <20120725081328.2a4c66e7@scorpio> MIME-Version: 1.0 X-OriginalArrivalTime: 25 Jul 2012 12:24:34.0030 (UTC) FILETIME=[72E000E0:01CD6A60] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: RE: FreeBSD Stable production version. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 12:25:40 -0000 DQpXZWxsLCBJIGFsc28gbGlrZSB5b3VyIHBoaWxvc29waHkgb2Ygd2FpdGluZyB4LjEgIQ0KaXRz IGEgdmVyeSBnb29kIHBvaW50Lg0KIA0KTWF5YmUgOC4zLVIgd291bGQgYmUgdGhlIGJlc3QuDQog DQpJIHdpbGwgd2FpdCB0byBoZWFyIG1vcmUgY29tbWVudHMuDQogDQoNCj4gRGF0ZTogV2VkLCAy NSBKdWwgMjAxMiAwODoxMzoyOCAtMDQwMA0KPiBGcm9tOiBqZXJyeUBzZWliZXJjb20ubmV0DQo+ IFRvOiBmcmVlYnNkLXF1ZXN0aW9uc0BmcmVlYnNkLm9yZw0KPiBTdWJqZWN0OiBSZTogRnJlZUJT RCBTdGFibGUgcHJvZHVjdGlvbiB2ZXJzaW9uLg0KPiANCj4gT24gV2VkLCAyNSBKdWwgMjAxMiAx MzoxOTo1MyArMDIwMA0KPiBEYW1pZW4gRmxldXJpb3QgYXJ0aWN1bGF0ZWQ6DQo+IA0KPiA+IEkn ZCBzYXkgaXQncyBhIG1hdHRlciBvZiBwZXJzb25hbCBwcmVmZXJlbmNlLg0KPiA+IA0KPiA+IFdl J3JlIG1vc3RseSBydW5uaW5nIDguMyBpbiBwcm9kdWN0aW9uIGhlcmUuDQo+ID4gDQo+ID4gSSd2 ZSByZWNlbnRseSBpbnN0YWxsZWQgOS1TVEFCTEUgc2VydmVycyB0byB0cnkgdGhlbSBvdXQgYW5k IGZpbGwgUFJzDQo+ID4gaWYgSSBnZXQgcHJvYmxlbXMuDQo+ID4gDQo+ID4gSSB3b3VsZCBlbmNv dXJhZ2UgeW91IHRvIHVzZSA5LVNUQUJMRSBzbyB0aGF0IHlvdSBtYXkgZG8gdGhlIHNhbWUgYW5k DQo+ID4gZW5zdXJlIHRoZSBzdGFiaWxpdHkgb2YgZnV0dXJlIHJlbGVhc2VzLg0KPiANCj4gSSB3 b3VsZCBhZ3JlZSB3aXRoIHRoYXQgcGhpbG9zb3BoeSB1cCB0byBhIHBvaW50LiBJdCBpcyBkZWZp bml0ZWx5IGENCj4gbWF0dGVyIG9mIHBlcnNvbmFsIHByZWZlcmVuY2U7IGhvd2V2ZXIsIGZvciBt eXNlbGYsIEkgTkVWRVIgaW5zdGFsbA0KPiB2ZXJzaW9uIFguMCBvZiBhbnkgc29mdHdhcmUgaWYg c2FpZCBzb2Z0d2FyZSBpcyB0byBiZSB1c2VkIGluIGEgbWlzc2lvbg0KPiBjcml0aWNhbCBzaXR1 YXRpb24uIEkgYWx3YXlzIHdhaXQgdW50aWwgWC4xIGlzIHJlbGVhc2VkLiBJZiBwb3NzaWJsZSBp bg0KPiB5b3VyIGNhc2UsIHdvdWxkIGl0IGJlIGZlYXNpYmxlIHRvIHdhaXQgdW50aWwgOS4xIGlz IHJlbGVhc2VkPyBZb3UNCj4gY2FuIGdhdGhlciBzb21lIGluZm8gb24gaXQgaGVyZToNCj4gPGh0 dHA6Ly93d3cuZnJlZWJzZC5vcmcvcmVsZWFzZXMvOS4xUi9zY2hlZHVsZS5odG1sPi4gQXMgdXN1 YWwsIGFueQ0KPiBjb3JyZWxhdGlvbiBiZXR3ZWVuIHRoZSBleHBlY3RlZCByZWxlYXNlIGRhdGUg YW5kIHRoZSBhY3R1YWwgZGF0ZSBpcw0KPiBwdXJlbHkgY29pbmNpZGVudGFsLiBKdXN0IG15IDLC oiBvbiB0aGUgbWF0dGVyLg0KPiANCj4gLS0gDQo+IEplcnJ5IOKZlA0KPiANCj4gRGlzY2xhaW1l cjogb2ZmLWxpc3QgZm9sbG93dXBzIGdldCBvbi1saXN0IHJlcGxpZXMgb3IgZ2V0IGlnbm9yZWQu DQo+IFBsZWFzZSBkbyBub3QgaWdub3JlIHRoZSBSZXBseS1UbyBoZWFkZXIuDQo+IF9fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f Xw0KPiBJZiB5b3Ugc3RlYWwgZnJvbSBvbmUgYXV0aG9yIGl0J3MgcGxhZ2lhcmlzbTsgaWYgeW91 IHN0ZWFsIGZyb20NCj4gbWFueSBpdCdzIHJlc2VhcmNoLg0KPiANCj4gV2lsc29uIE1pem5lcg0K IAkJIAkgICAJCSAg From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 12:27:28 2012 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F41BB106564A for ; Wed, 25 Jul 2012 12:27:27 +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 A8E3E8FC0A for ; Wed, 25 Jul 2012 12:27:27 +0000 (UTC) Received: from [212.54.34.134] (helo=smtp3.gn.mail.iss.as9143.net) by smtpq1.gn.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1Su0K1-00070O-4L; Wed, 25 Jul 2012 14:04:09 +0200 Received: from 5419839c.cm-5-2c.dynamic.ziggo.nl ([84.25.131.156] helo=ra.egypt.nl) by smtp3.gn.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1Su0K0-0000VX-O7; Wed, 25 Jul 2012 14:04:09 +0200 Received: from [10.19.47.141] (host068-021.kpn-gprs.nl [62.133.68.21]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by ra.egypt.nl (Postfix) with ESMTPSA id 540FF39847; Wed, 25 Jul 2012 14:04:08 +0200 (CEST) References: <500FDCE4.8060607@my.gd> In-Reply-To: <500FDCE4.8060607@my.gd> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: X-Mailer: iPhone Mail (9B206) From: Peter Boosten Date: Wed, 25 Jul 2012 14:04:04 +0200 To: Damien Fleuriot X-Ziggo-spambar: ---- X-Ziggo-spamscore: -4.9 X-Ziggo-spamreport: ALL_TRUSTED=-1, BAYES_00=-1.9, MIME_QP_LONG_LINE=0.001, PROLO_TRUST_RDNS=-3, RDNS_DYNAMIC=0.982, SPF_PASS=-0.001 X-Ziggo-Spam-Status: No X-Spam-Status: No X-Spam-Flag: No Cc: "freebsd-questions@FreeBSD.org" Subject: Re: Securituy - logging of user commands X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 12:27:28 -0000 Have you ever considered the audit function of FreeBSD? Peter Boosten On 25 jul. 2012, at 13:47, Damien Fleuriot wrote: > Hello list, >=20 >=20 >=20 > We're currently working towards the PCI DSS certification (Payment Card > Industry) for a project at work. >=20 >=20 > One of the prerequisites is that all user commands be logged. >=20 > We're currently using a very bad hack that takes the last command from a > user's history and sends it to a log server. >=20 > This of course is unreliable as a user may entirely disable their > history, or just use another shell to bypass the csh function or whatever.= >=20 >=20 >=20 > My colleagues installed Snoopy on debian and it seems to work wonders as > a module which is LD preloaded. >=20 >=20 > I notice it also exists on FreeBSD as /usr/ports/security/snoopy . >=20 >=20 > However I face several problems with it, mainly it doesn't seem to log > anything. >=20 >=20 >=20 > As per the README, I have added "/usr/local/lib/snoopy.so" to > /etc/ld.so.preload >=20 > I'm not even sure this file is used on BSD ? >=20 > As per the man page for ld.so there's no such file: > http://www.freebsd.org/cgi/man.cgi?query=3Dld.so >=20 > Neither libmap.conf nor ldconfig(8) seem to be the answer either. >=20 >=20 >=20 > I've googled for ld.so.conf and found the following 2 posts which seem > to indicate it isn't used either: > http://lists.freebsd.org/pipermail/freebsd-hackers/2003-June/001746.html > http://lists.freebsd.org/pipermail/freebsd-hackers/2003-June/001747.html >=20 > The posts mention -current but date back from 2003. >=20 >=20 >=20 > Lastly, I have also noticed that the port installs /usr/local/bin/detect > which I executed and would always reply "something's fishy". >=20 > By looking at the (very short) source I noticed the program merely loads > /lib/libc.so.6 , and it wouldn't find it on my system (8.3-STABLE with > /lib/libc.so.7). > Adjusting and recompiling lets the program correctly print "secure" but > it does nothing else. >=20 > I have checked that the output /usr/local/lib/snoopy.so module is linked > against libc.so.7 , and it is. >=20 >=20 >=20 > Has anyone ever got Snoopy to work on BSD ? > Might I need to install linux emulation ? >=20 > Is there any other port that might do the job and which I could use ? > _______________________________________________ > 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 Wed Jul 25 12:28:59 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CCB0D1065672 for ; Wed, 25 Jul 2012 12:28:59 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5A5EF8FC1A for ; Wed, 25 Jul 2012 12:28:59 +0000 (UTC) Received: by eeke52 with SMTP id e52so84221eek.13 for ; Wed, 25 Jul 2012 05:28:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=/eAUpO8ms945Zf2A11X/MPHqHTvqCDJ8qApxCXX/pqM=; b=mYiqtCcS/3JlxyOSHD8e6Pe+JO/Pobcjyr3rfmeNJcVWJezk+inIBbHEaISfl+Gi22 65XQQcNDKAOUvjBalL4Jz0+g447D/HDwMSKHg1lJYQJY/N0M4RdkoD6yS1nBUQg2aPG4 aysTOPxB8c+10mPGexskwXTTciTAgsm2G0QGa7iXfaE6msyrPMxFLXWEBcP/zjtgwVPK XiQvVbz8outujYFx0YNO4sJ+p/VDqxa+BXDiw8Wy7ixr6sAnmt2Pqxy/6MC5UsXvuZn9 P/4DQi9YApvVjv23NMu2vo7FRSK3xepPpksDAUOPwiXBDMzmlJP5O3klNyAapuPgOhH4 33XA== Received: by 10.14.178.131 with SMTP id f3mr416438eem.38.1343219338218; Wed, 25 Jul 2012 05:28:58 -0700 (PDT) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id 8sm1652613eeg.16.2012.07.25.05.28.56 (version=SSLv3 cipher=OTHER); Wed, 25 Jul 2012 05:28:57 -0700 (PDT) Message-ID: <500FE687.8060100@my.gd> Date: Wed, 25 Jul 2012 14:28:55 +0200 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: , <500FD659.4090106@my.gd>, <20120725081328.2a4c66e7@scorpio> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQn/e/jJ6xVRhQ9gS+VFj0j6qL230xC9lMRssB9AdkwZG+ZS07PqNM6v+FQfQOiUvm+eKO7q Subject: Re: FreeBSD Stable production version. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 12:28:59 -0000 While I participate in this philosophy, a very good point was made on this list that if everyone waits for x.1 , then x.1 will just be riddled with all the bugs that nobody (or only a select few) found in x.0 That is the point that decided me to get 9-STABLE for 2 of our new firewall boxes. On 7/25/12 2:24 PM, Marwan Sultan wrote: > > Well, I also like your philosophy of waiting x.1 ! > its a very good point. > > Maybe 8.3-R would be the best. > > I will wait to hear more comments. > > >> Date: Wed, 25 Jul 2012 08:13:28 -0400 >> From: jerry@seibercom.net >> To: freebsd-questions@freebsd.org >> Subject: Re: FreeBSD Stable production version. >> >> On Wed, 25 Jul 2012 13:19:53 +0200 >> Damien Fleuriot articulated: >> >>> I'd say it's a matter of personal preference. >>> >>> We're mostly running 8.3 in production here. >>> >>> I've recently installed 9-STABLE servers to try them out and fill PRs >>> if I get problems. >>> >>> I would encourage you to use 9-STABLE so that you may do the same and >>> ensure the stability of future releases. >> >> I would agree with that philosophy up to a point. It is definitely a >> matter of personal preference; however, for myself, I NEVER install >> version X.0 of any software if said software is to be used in a mission >> critical situation. I always wait until X.1 is released. If possible in >> your case, would it be feasible to wait until 9.1 is released? You >> can gather some info on it here: >> . As usual, any >> correlation between the expected release date and the actual date is >> purely coincidental. Just my 2¢ on the matter. >> >> -- >> Jerry â™” >> >> Disclaimer: off-list followups get on-list replies or get ignored. >> Please do not ignore the Reply-To header. >> __________________________________________________________________ >> If you steal from one author it's plagiarism; if you steal from >> many it's research. >> >> Wilson Mizner > > > > > _______________________________________________ > freebsd-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 Jul 25 12:39:01 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00F971065677 for ; Wed, 25 Jul 2012 12:39:01 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 750C48FC14 for ; Wed, 25 Jul 2012 12:39:00 +0000 (UTC) Received: by lbon10 with SMTP id n10so724046lbo.13 for ; Wed, 25 Jul 2012 05:38:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Q5CJYOnX3FKbevOCf91SDcTB8nZ0OtpJysxdbqtggHU=; b=ZOs02C6uMdmWs3W8KKDUgFqnTgcA9fHhtJ/l3mAenekU394RYC3XJSYlTq3HxhTvD9 3QOGDGfvbuqpi+E3iT6633atqcr2+jdgQ8ojhpoQpES2ssndj8ct7FseFg4M1cIs/yhE ZpqUjSxEhvh5tEN/0nH6IDnqnIvDAN273Teke33hGHZKWSSgO7d1umx0MkeCH/MKpOYe k7dm6suMhdFMf61rXfqEmRaqar4hNrA+ip036J9bnELABv3oOa0GhwxzLHRwuZmlCLLz 7Ow6aW5MX1NUAJVNOW6hwL4OUeGLPkRjoa0d5Zy3FbUcysvQC5FfsOtpI1fYXM+dye0w MoAw== Received: by 10.152.106.233 with SMTP id gx9mr25710521lab.48.1343219939056; Wed, 25 Jul 2012 05:38:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.82.5 with HTTP; Wed, 25 Jul 2012 05:38:18 -0700 (PDT) In-Reply-To: References: <500FD659.4090106@my.gd> <20120725081328.2a4c66e7@scorpio> From: Odhiambo Washington Date: Wed, 25 Jul 2012 15:38:18 +0300 Message-ID: To: Marwan Sultan Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: FreeBSD Stable production version. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 12:39:01 -0000 On Wed, Jul 25, 2012 at 3:24 PM, Marwan Sultan wrote: > > Well, I also like your philosophy of waiting x.1 ! > its a very good point. > > Maybe 8.3-R would be the best. > > I will wait to hear more comments. > > For cowards, yes! Whoever said that -RELEASE is bad is a joker, too. Now, what the hell do you think can go so wrong on a Mail server running Sendmail and Apache? Network stack?? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 12:42:33 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0BDAE106564A for ; Wed, 25 Jul 2012 12:42:33 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id B947F8FC12 for ; Wed, 25 Jul 2012 12:42:32 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Su0v3-0007xM-5f for freebsd-questions@freebsd.org; Wed, 25 Jul 2012 14:42:25 +0200 Received: from np-19-75.prenet.pl ([np-19-75.prenet.pl]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Jul 2012 14:42:25 +0200 Received: from jb.1234abcd by np-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Jul 2012 14:42:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Date: Wed, 25 Jul 2012 12:42:12 +0000 (UTC) Lines: 25 Message-ID: References: <500FDCE4.8060607@my.gd> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 79.139.19.75 (Mozilla/5.0 (X11; FreeBSD i386; rv:13.0) Gecko/20100101 Firefox/13.0.1) Subject: Re: Securituy - logging of user commands X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 12:42:33 -0000 Damien Fleuriot my.gd> writes: > ... > I notice it also exists on FreeBSD as /usr/ports/security/snoopy . > > However I face several problems with it, mainly it doesn't seem to log > anything. > > As per the README, I have added "/usr/local/lib/snoopy.so" to > /etc/ld.so.preload > > I'm not even sure this file is used on BSD ? > ... /usr/ports/security/snoopy]# make clean; make ... # ls work/snoopy-1.8.0/ ... enable.sh ... jb From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 12:45:03 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 708D2106566C for ; Wed, 25 Jul 2012 12:45:03 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.224.110]) by mx1.freebsd.org (Postfix) with ESMTP id 2430D8FC16 for ; Wed, 25 Jul 2012 12:45:03 +0000 (UTC) Received: from AMD620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q6PCileo025431; Wed, 25 Jul 2012 06:44:52 -0600 Date: Wed, 25 Jul 2012 19:47:17 +0700 From: Erich Dollansky To: Damien Fleuriot Message-ID: <20120725194717.550d0603@AMD620.ovitrap.com> In-Reply-To: <500FD659.4090106@my.gd> References: <500FD659.4090106@my.gd> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD Stable production version. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 12:45:03 -0000 Hi, On Wed, 25 Jul 2012 13:19:53 +0200 Damien Fleuriot wrote: > On 7/25/12 1:13 PM, Marwan Sultan wrote: > > > > Hello all and Good Morning, Afternoon or evening :) > > > > I finally decided to take off my FreeBSD 7.2 server which is onlin > > esince 2009. > > I will go for a new FreeBSD version and will move out all data. > > > > My Server is mainly is a MAIL server, sendmail. > > and ofcourse few websites, data.etc.. > > > > Which version do you recommend? > > Shall I go for 9 ? > > or 8.3 is still more fit for a production and bsns server ? > > > > > I'd say it's a matter of personal preference. > > We're mostly running 8.3 in production here. > I do not wonder. This is the best choice. But I must say that I moved my machines now all to 10 and I am surprised how robust it already is. If robustness is the main concern, I would still recommend 8.x. Erich From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 12:49:07 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5705106566B for ; Wed, 25 Jul 2012 12:49:07 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from oproxy6-pub.bluehost.com (oproxy6-pub.bluehost.com [67.222.54.6]) by mx1.freebsd.org (Postfix) with SMTP id 728358FC0A for ; Wed, 25 Jul 2012 12:49:07 +0000 (UTC) Received: (qmail 30881 invoked by uid 0); 25 Jul 2012 12:48:45 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy3.bluehost.com with SMTP; 25 Jul 2012 12:48:45 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=apotheon.com; s=default; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date; bh=H+/8+E3tzLixXa+G0iq6WBL46AP2bkmumfb1tfgP87w=; b=mKP7lHF4tgXJN67YeGYiJxsmWR6BFdWKxI3YjB7r1R0ryPHryXNAeQIYasHbTOz2k4Cywk6XGkZMcHQoNBn/eiU4uJ7xbvt6hAPt9p5GvN+gesdzTxsqE62xlDuKTpFw; Received: from [24.8.180.234] (port=63186 helo=localhost) by box543.bluehost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1Su11A-00071k-T0 for freebsd-questions@freebsd.org; Wed, 25 Jul 2012 06:48:44 -0600 Date: Wed, 25 Jul 2012 06:48:44 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20120725124844.GA20070@hemlock.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <20120722182545.39d6b96c.freebsd@edvax.de> <20120723163604.6e795aa4.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.com} {sentby:smtp auth 24.8.180.234 authed with perrin@apotheon.com} Subject: Re: help about free bsp version netcat to work it on ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 12:49:07 -0000 On Tue, Jul 24, 2012 at 07:18:13PM +0800, lei yang wrote: > > Aha,I just want to learn want to know how to build the netcat for > freebsd version on a no-freebsd platform I'm really curious, now: Why? -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 13:07:30 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A0DBC106566B for ; Wed, 25 Jul 2012 13:07:30 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 786128FC1A for ; Wed, 25 Jul 2012 13:07:30 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Su1JE-0004oc-HZ for freebsd-questions@freebsd.org; Wed, 25 Jul 2012 06:07:24 -0700 Date: Wed, 25 Jul 2012 06:07:24 -0700 (PDT) From: Jakub Lach To: freebsd-questions@freebsd.org Message-ID: <1343221644538-5729739.post@n5.nabble.com> In-Reply-To: <20120725194717.550d0603@AMD620.ovitrap.com> References: <500FD659.4090106@my.gd> <20120725194717.550d0603@AMD620.ovitrap.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD Stable production version. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 13:07:30 -0000 8.3 or 9.1. Using 9.0 when 9.1 is behind the corner is going backwards IMHO. or 9-STABLE if you want your system evolving up to release, which is nice because you can catch and solve all possible problems one at the time, and not be overwhelmed upgrading only to RELEASE. -- View this message in context: http://freebsd.1045724.n5.nabble.com/FreeBSD-Stable-production-version-tp5729696p5729739.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 13:10:18 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93E4B1065673 for ; Wed, 25 Jul 2012 13:10:18 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1E09B8FC1D for ; Wed, 25 Jul 2012 13:10:17 +0000 (UTC) Received: by eeke52 with SMTP id e52so99191eek.13 for ; Wed, 25 Jul 2012 06:10:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=z744yhvZRlT/3HySLKk+m1y4dZSzXYAnj9twmFTxG/o=; b=XIay3QOkvfZXwZi8eA3iBPf7xo/2yYyjCnZcXLXm/J0Wl1ChFfcvNEPl5f6++0mn0s dCxh+gF0BNj6XYxxrtDlwEGPbKGqyF42tZ3qEKVKqfADe+M1Tqn7TzreUCYBq9DcdXOu RhSS9+C9EYuilHTYBR2uQ9hm/5sZuWC2yu3qPqmeqlNiaDGGs28M2Bvm5nw9lL/Gubd/ Ugc8/0os5gvsiIBXZnbKcdTd1MwUN4bA874HLwwpPeWLBtcdrkaWLlkj1U2pAKE00fZ0 kShZImWaNRCOXO29vmFtUfZgic8aFGByFuXfFP9Kv+kutTzxCZiaKE3NxDwODWE7Q+L0 xINw== Received: by 10.14.211.6 with SMTP id v6mr505706eeo.29.1343221817144; Wed, 25 Jul 2012 06:10:17 -0700 (PDT) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id t6sm1748642eeo.17.2012.07.25.06.10.15 (version=SSLv3 cipher=OTHER); Wed, 25 Jul 2012 06:10:16 -0700 (PDT) Message-ID: <500FF037.4020302@my.gd> Date: Wed, 25 Jul 2012 15:10:15 +0200 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <500FDCE4.8060607@my.gd> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQl/DjE4uFEouKtnfb1wAk5ZrqtsdPvJ+YDAPtjlnstm2AyOkgYXLQubwYdpigfTjpYBACCU Subject: Re: Securituy - logging of user commands X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 13:10:18 -0000 On 7/25/12 2:42 PM, jb wrote: > Damien Fleuriot my.gd> writes: > >> ... >> I notice it also exists on FreeBSD as /usr/ports/security/snoopy . >> >> However I face several problems with it, mainly it doesn't seem to log >> anything. >> >> As per the README, I have added "/usr/local/lib/snoopy.so" to >> /etc/ld.so.preload >> >> I'm not even sure this file is used on BSD ? >> ... > > /usr/ports/security/snoopy]# make clean; make > ... > # ls work/snoopy-1.8.0/ > ... > enable.sh > ... > > jb > Well that's my problem exactly, really. 1/ the enable script won't work and will always return an error, requiring a manual activation 2/ even once enabled, snoopy doesn't get loaded because /etc/ld.so.preload is not used on FBSD apparently 3/ even when enabled with "setenv LD_PRELOAD /usr/local/lib/snoopy.so", snoopy won't return any log >From config.h: /* Syslog facility to use */ #define SNOOPY_SYSLOG_FACILITY LOG_AUTHPRIV /* Syslog level to use */ #define SNOOPY_SYSLOG_LEVEL LOG_INFO >From my syslog.conf: auth.info;authpriv.info /var/log/auth.log Yet I'm seeing not a trail in /var/log/auth.log , or messages, or even in secure I have however validated that snoopy.so is called, as per the following: # truss ls /dev/null [snip] open("/usr/local/lib/snoopy.so",O_RDONLY,031) = 2 (0x2) fstat(2,{ mode=-r-xr-xr-x ,inode=548761,size=6952,blksize=16384 }) = 0 (0x0) fstatfs(0x2,0x7fffffffe220,0x19,0x0,0xffff80080053a068,0x0) = 0 (0x0) pread(0x2,0x80063e2a0,0x1000,0x0,0xffff80080053a068,0x0) = 4096 (0x1000) mmap(0x0,1056768,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34366341120 (0x80064c000) mmap(0x80064c000,8192,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE,2,0x0) = 34366341120 (0x80064c000) mmap(0x80074d000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,2,0x1000) = 34367393792 (0x80074d000) close(2) = 0 (0x0) And still no logs... From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 13:21:35 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EEC381065670 for ; Wed, 25 Jul 2012 13:21:35 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.224.110]) by mx1.freebsd.org (Postfix) with ESMTP id BEA068FC12 for ; Wed, 25 Jul 2012 13:21:35 +0000 (UTC) Received: from AMD620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q6PDLQRC002451; Wed, 25 Jul 2012 07:21:31 -0600 Date: Wed, 25 Jul 2012 20:23:57 +0700 From: Erich Dollansky To: Manish Jain Message-ID: <20120725202357.584a931f@AMD620.ovitrap.com> In-Reply-To: References: <20120721133611.GA3755@tinyCurrent> <201207231737.43075.erichfreebsdlist@ovitrap.com> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Matthias Apitz , freebsd-questions@freebsd.org Subject: Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 13:21:36 -0000 Hi, On Tue, 24 Jul 2012 14:29:07 +0530 Manish Jain wrote: > On 23-Jul-12 16:07, Erich Dollansky wrote: > > Hi, > > > > On Monday 23 July 2012 16:46:04 Manish Jain wrote: > >> On 21-Jul-12 19:06, Matthias Apitz wrote: > >>> El d=EDa Saturday, July 21, 2012 a las 06:01:11PM +0530, Manish > >>> Jain escribi=F3: > >>> > > > >> I am still stuck because I can't know the syntax to run usbdump. > >> usbdump > > > > man usbdump > > > > usbconfig gives you the device numbers. I got something wrong. It is all done by usbconfig usbconfig without any parameters gives you a list of devices. One entry should look like this: ugen0.4: at usbus0, cfg=3D0 md=3DHOST spd=3DFULL (12Mbps) pwr=3DON You enter then usbconfig -u 0 -a 4 dump_device_desc and you should get something like this: ugen0.4: at usbus0, cfg=3D0 md=3DHOST spd=3DFULL (12Mbps) pwr=3DON bLength =3D 0x0012=20 bDescriptorType =3D 0x0001=20 bcdUSB =3D 0x0200=20 bDeviceClass =3D 0x0000=20 bDeviceSubClass =3D 0x0000=20 bDeviceProtocol =3D 0x0000=20 bMaxPacketSize0 =3D 0x0040=20 idVendor =3D 0x12d1=20 idProduct =3D 0x1803=20 bcdDevice =3D 0x0000=20 iManufacturer =3D 0x0003 iProduct =3D 0x0002 iSerialNumber =3D 0x0000 bNumConfigurations =3D 0x0001=20 You try to find a solution from the other side of the rope. I think we better start here first. Erich From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 13:41:03 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DCE961065670 for ; Wed, 25 Jul 2012 13:41:03 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (relay2.tomsk.ru [212.73.124.8]) by mx1.freebsd.org (Postfix) with ESMTP id 2A7A88FC08 for ; Wed, 25 Jul 2012 13:41:02 +0000 (UTC) X-Virus-Scanned: by clamd daemon 0.93.1 for FreeBSD at relay2.tomsk.ru Received: from admin.sibptus.tomsk.ru (account sudakov@sibptus.tomsk.ru [212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPSA id 27835940 for freebsd-questions@freebsd.org; Wed, 25 Jul 2012 20:41:01 +0700 Received: from admin.sibptus.tomsk.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.tomsk.ru (8.14.5/8.14.5) with ESMTP id q6PDf0Tm050274 for ; Wed, 25 Jul 2012 20:41:01 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.tomsk.ru (8.14.5/8.14.5/Submit) id q6PDf0oR050273 for freebsd-questions@freebsd.org; Wed, 25 Jul 2012 20:41:00 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.tomsk.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Wed, 25 Jul 2012 20:41:00 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Message-ID: <20120725134100.GA50199@admin.sibptus.tomsk.ru> References: <500FDCE4.8060607@my.gd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.livejournal.com/pubkey.bml?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: Securituy - logging of user commands X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 13:41:03 -0000 Peter Boosten wrote: > Have you ever considered the audit function of FreeBSD? Does it really log user commands? At best, it logs executed processes. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 13:45:31 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6173B106564A for ; Wed, 25 Jul 2012 13:45:31 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id E18298FC0A for ; Wed, 25 Jul 2012 13:45:30 +0000 (UTC) Received: by eeke52 with SMTP id e52so112053eek.13 for ; Wed, 25 Jul 2012 06:45:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=bhYFSPiNqRQ6uudZ9wQzXoQ4iu6J/os9sY/aUlaWCVE=; b=jx7nAS6m2n57MiZim+w3TxFthVplGpdRTLRDuehpr0mz+742OFmufHWyjAdZW/SyqW zOxpPAPwOMVIwZvsn4y6eULsGWI2W7sb894qgmCVt9a54w18FruC4a5N6g2V1fHLZNth pxH/EotCSrcyw/cEt2UtwlX7e8ZvH+NKtvwMy2B4awAw1FIia79d1YpQgpcrPJNhmUYU IgKKz4oZcZkGPNzygHhaE7eBN8xzLXgQst44+N7KUkOVTNoQCeW+MP6b5Xvzalkc2JPD ww0Aq1WBIbP/+T1kNxf8PTrRfGRiUdwvQ1CnA5GczyNjnnBasbmUFsaivXDWuf9fjdmS CE/A== Received: by 10.14.177.3 with SMTP id c3mr595916eem.30.1343223929775; Wed, 25 Jul 2012 06:45:29 -0700 (PDT) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id k48sm1831011eep.13.2012.07.25.06.45.28 (version=SSLv3 cipher=OTHER); Wed, 25 Jul 2012 06:45:28 -0700 (PDT) Message-ID: <500FF877.5070201@my.gd> Date: Wed, 25 Jul 2012 15:45:27 +0200 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <500FDCE4.8060607@my.gd> <20120725134100.GA50199@admin.sibptus.tomsk.ru> In-Reply-To: <20120725134100.GA50199@admin.sibptus.tomsk.ru> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQlMjWCRMW69Izb6GT203PTme/TcDSjr0YEfLsYiiFdq/iP2EbHzdCBIc246bdjivF3uN3/c Subject: Re: Securituy - logging of user commands X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 13:45:31 -0000 On 7/25/12 3:41 PM, Victor Sudakov wrote: > Peter Boosten wrote: >> Have you ever considered the audit function of FreeBSD? > > Does it really log user commands? At best, it logs executed processes. > >From the handbook, it seems to be able to log executed commands and even arguments. That would suit the need. I've tried a bit, alas I'm afraid that for some reason, it won't log my commands as a user... I have to try a bit harder. Either way and back on topic, I'm concerned that the security/snoopy/ port might be broken. I have not yet seen a reply mentioning success, and have had none on my side on 8.1-RELEASE (admittedly, I could try on a more up-to-date system). From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 14:41:13 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D3BB106564A for ; Wed, 25 Jul 2012 14:41:13 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from asbnvacz-mailrelay01.megapath.net (asbnvacz-mailrelay01.megapath.net [207.145.128.243]) by mx1.freebsd.org (Postfix) with ESMTP id 5CE018FC0C for ; Wed, 25 Jul 2012 14:41:13 +0000 (UTC) Received: from mail4.sea5.speakeasy.net (mail4.sea5.speakeasy.net [69.17.117.48]) by asbnvacz-mailrelay01.megapath.net (Postfix) with ESMTP id F1764A71A8B for ; Wed, 25 Jul 2012 10:41:06 -0400 (EDT) Received: (qmail 6968 invoked from network); 25 Jul 2012 14:41:06 -0000 Received: by simscan 1.4.0 ppid: 11583, pid: 27977, t: 0.1376s scanners: clamav: 0.88.2/m:52/d:10739 Received: from unknown (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 25 Jul 2012 14:41:06 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 616FE33C24; Wed, 25 Jul 2012 10:41:05 -0400 (EDT) From: Lowell Gilbert To: Andy References: Date: Wed, 25 Jul 2012 10:41:05 -0400 In-Reply-To: (Andy's message of "Mon, 23 Jul 2012 14:45:50 -0600") Message-ID: <44obn33num.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 14:41:13 -0000 Andy writes: > I was trying to install the free bsd to my mac computer its an ibook > g3 with a 20gb hard dive i was using the powerpc version and it was > working fine then i got to the part were you have to set up the hard > drive i got some kind of err so i turned off my computer when i turned > it back on it only boots to a white screen idk what to do please help Are you booting from a CD for the install? Does anything at all show up on the screen? From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 14:43:04 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26550106564A for ; Wed, 25 Jul 2012 14:43:04 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id AB0308FC12 for ; Wed, 25 Jul 2012 14:43:03 +0000 (UTC) Received: from [89.204.137.161] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Su2nd-0007ql-Uf; Wed, 25 Jul 2012 16:42:54 +0200 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id q6PEglLN001862; Wed, 25 Jul 2012 16:42:48 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id q6PEgk8B001861; Wed, 25 Jul 2012 16:42:46 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Wed, 25 Jul 2012 16:42:45 +0200 From: Matthias Apitz To: Erich Dollansky Message-ID: <20120725144245.GB1824@tiny.Sisis.de> References: <20120721133611.GA3755@tinyCurrent> <201207231737.43075.erichfreebsdlist@ovitrap.com> <20120725202357.584a931f@AMD620.ovitrap.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20120725202357.584a931f@AMD620.ovitrap.com> X-Operating-System: FreeBSD 10.0-CURRENT r226986 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.137.161 Cc: freebsd-questions@freebsd.org, Manish Jain Subject: Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 14:43:04 -0000 El día Wednesday, July 25, 2012 a las 08:23:57PM +0700, Erich Dollansky escribió: > You enter then > > usbconfig -u 0 -a 4 dump_device_desc > > and you should get something like this: > > ugen0.4: at usbus0, > cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x0000 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0000 > bMaxPacketSize0 = 0x0040 > idVendor = 0x12d1 > idProduct = 0x1803 > bcdDevice = 0x0000 > iManufacturer = 0x0003 > iProduct = 0x0002 > iSerialNumber = 0x0000 > bNumConfigurations = 0x0001 > > You try to find a solution from the other side of the rope. I think we > better start here first. Yep, I said this already: before there is no modem /dev/.... device which belongs to the Huawei device and produced by u3g, and before one can not talk with AT cmds (for example with kermit), it makes no real sense to think in ppp and fire up ppp; matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 14:50:36 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D292106564A for ; Wed, 25 Jul 2012 14:50:36 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from blu0-omc1-s19.blu0.hotmail.com (blu0-omc1-s19.blu0.hotmail.com [65.55.116.30]) by mx1.freebsd.org (Postfix) with ESMTP id 038AB8FC0C for ; Wed, 25 Jul 2012 14:50:35 +0000 (UTC) Received: from BLU0-SMTP410 ([65.55.116.9]) by blu0-omc1-s19.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 25 Jul 2012 07:49:29 -0700 X-Originating-IP: [180.215.85.158] X-Originating-Email: [bourne.identity@hotmail.com] Message-ID: Received: from [127.0.0.1] ([180.215.85.158]) by BLU0-SMTP410.phx.gbl over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Wed, 25 Jul 2012 07:49:25 -0700 Date: Wed, 25 Jul 2012 20:21:04 +0530 From: Manish Jain User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Erich Dollansky References: <20120721133611.GA3755@tinyCurrent> <201207231737.43075.erichfreebsdlist@ovitrap.com> <20120725202357.584a931f@AMD620.ovitrap.com> In-Reply-To: <20120725202357.584a931f@AMD620.ovitrap.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 25 Jul 2012 14:49:27.0443 (UTC) FILETIME=[B08D8E30:01CD6A74] Cc: Matthias Apitz , freebsd-questions@freebsd.org Subject: Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 14:50:36 -0000 On 25-Jul-12 18:53, Erich Dollansky wrote: > Hi, > > On Tue, 24 Jul 2012 14:29:07 +0530 > Manish Jain wrote: > >> On 23-Jul-12 16:07, Erich Dollansky wrote: >>> Hi, >>> >>> On Monday 23 July 2012 16:46:04 Manish Jain wrote: >>>> On 21-Jul-12 19:06, Matthias Apitz wrote: >>>>> El día Saturday, July 21, 2012 a las 06:01:11PM +0530, Manish >>>>> Jain escribió: >>>>> >>> >>>> I am still stuck because I can't know the syntax to run usbdump. >>>> usbdump >>> >>> man usbdump >>> >>> usbconfig gives you the device numbers. > > I got something wrong. > > It is all done by usbconfig > > usbconfig without any parameters gives you a list of devices. One entry > should look like this: > > ugen0.4: at usbus0, > cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON > > You enter then > > usbconfig -u 0 -a 4 dump_device_desc > > and you should get something like this: > > ugen0.4: at usbus0, > cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x0000 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0000 > bMaxPacketSize0 = 0x0040 > idVendor = 0x12d1 > idProduct = 0x1803 > bcdDevice = 0x0000 > iManufacturer = 0x0003 > iProduct = 0x0002 > iSerialNumber = 0x0000 > bNumConfigurations = 0x0001 > > You try to find a solution from the other side of the rope. I think we > better start here first. > > Erich > > Hi, Thanks for your reply. I tried switching the USB ports and have some information which could help you to help me : usbconfig -u 0 -a 2 dump_device_desc : ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0110 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x12d1 idProduct = 0x140b bcdDevice = 0x0000 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0004 <> bNumConfigurations = 0x0001 usbconfig -u 0 -a 3 dump_device_desc : ugen0.3: at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0110 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0008 idVendor = 0x051d idProduct = 0x0002 bcdDevice = 0x0006 iManufacturer = 0x0003 iProduct = 0x0001 iSerialNumber = 0x0002 bNumConfigurations = 0x0001 Now what should my devfs.conf contain ? Currently it contains the following : link cuaU0.0 modem own modem root:operator perm modem 666 link ugen0.3 usv own usv root:operator perm usv 666 link cuaU0.1 apcups own apcups root:operator perm apcups 666 Obviously, these entries are incorrect since neither my modem speaks to the internet nor is any signal from the APC UPS recognized. I believe once I have the correct devfs entries, the whole system should work smoothly. But please correct me if I am wrong. Surprisingly, /etc/usb_modeswitch.d contains no entries for 12d1:140b or 051d:*. Do I need to reinstall usb_modeswitch.d ? Or can usbconfig configure the devices correctly ? I am no expert here, so if yes, I would need the complete commands. Thanks for any help. I am greatly indebted to FreeBSD and its philosophy making things 'as simple as possible, but not any simpler' - which has helped me learn a great deal about computers in general and managing my own computer in particular. But the USB related stuff still beats the hell out of me, so I need help here. BTW, my system now has the usbdump command (installed from sources downloaded from http://biot.com/usbdump/) but no manpage. Thanks again & -- Regards, Manish Jain +91-99620-10329 From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 15:16:21 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9F14106566B for ; Wed, 25 Jul 2012 15:16:21 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id A13028FC16 for ; Wed, 25 Jul 2012 15:16:21 +0000 (UTC) Received: by yhfs35 with SMTP id s35so967799yhf.13 for ; Wed, 25 Jul 2012 08:16:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=Rnkkxq4pTXLEMrbj7zBwFS4KBNBgadiIUyw4BQG80uQ=; b=eDP745smndgEbiS13XnX/cTbptnC2fqx9w8B8t2PdvAeXW2P38Cp4GVtFiNcCxDHxg tOcPH+mVLWLLmP9yAwIa0SH6xv1xlBSsTjd0khHA5adidHWLfSxnOW9orIA/hMDqWe+5 ckKiwK+zTNT5Tved3IoIfVmXlqS80kSO9n2KWfZYFr5xO4wAQ3kzxBoWqUo62DIhITBZ hhIEalHjr68v2ii+u7eoF2IWEsQvklOA9cteZ/NS9qZN6J6y0PCwXIxy6I5R1XQ1WyBd 26d5VpPnRm455Wirzn5X8GLDPibaVHrdftye88222SeGQAgVo2jAx6uq/+LbL1ZExtMN NySA== MIME-Version: 1.0 Received: by 10.100.230.16 with SMTP id c16mr1210127anh.22.1343229380955; Wed, 25 Jul 2012 08:16:20 -0700 (PDT) Received: by 10.101.195.15 with HTTP; Wed, 25 Jul 2012 08:16:20 -0700 (PDT) In-Reply-To: <63031.1343217300.9705048765098688512@ffe15.ukr.net> References: <63031.1343217300.9705048765098688512@ffe15.ukr.net> Date: Wed, 25 Jul 2012 11:16:20 -0400 Message-ID: From: "illoai@gmail.com" To: =?UTF-8?B?0JLQu9Cw0LTQuNGB0LvQsNCyINCf0YDQvtC00LDQvQ==?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: how to determine the temperature of your CPU? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 15:16:22 -0000 On 25 July 2012 07:55, =D0=92=D0=BB=D0=B0=D0=B4=D0=B8=D1=81=D0=BB=D0=B0=D0= =B2 =D0=9F=D1=80=D0=BE=D0=B4=D0=B0=D0=BD wrote: > > > CPU: AMD FX(tm)-8120 Eight-Core Processor (3110.49-MHz K8-clas= s CPU) > Origin =3D "AuthenticAMD" Id =3D 0x600f12 Family =3D 15 Model =3D 1 = Stepping =3D 2 > > # kldstat -v | grep temp > 319 cpu/coretemp > 311 hostb/amdtemp > > % sysctl dev.amdtemp & % sysctl hw.acpi.thermal & the other stuff is probably best extracted via: % sysctl dev.cpu | grep temperature (as you can't use wildcards in sysctl oids, bleh) For my dual core machine, I use: % sysctl hw.acpi.thermal.tz0.temperature dev.amdtemp.0.sensor0 \ dev.amdtemp.0.sensor1 dev.cpu.0.temperature dev.cpu.1.temperature in a script to quickly see all of my temperature sensors. You likely have many more. --=20 -- From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 15:34:59 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2AB0C1065670 for ; Wed, 25 Jul 2012 15:34:59 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.224.110]) by mx1.freebsd.org (Postfix) with ESMTP id F04078FC08 for ; Wed, 25 Jul 2012 15:34:58 +0000 (UTC) Received: from AMD620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q6PFY8C0003767; Wed, 25 Jul 2012 09:34:34 -0600 Date: Wed, 25 Jul 2012 22:36:28 +0700 From: Erich Dollansky To: Manish Jain Message-ID: <20120725223628.026cbf52@AMD620.ovitrap.com> In-Reply-To: References: <20120721133611.GA3755@tinyCurrent> <201207231737.43075.erichfreebsdlist@ovitrap.com> <20120725202357.584a931f@AMD620.ovitrap.com> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Matthias Apitz , freebsd-questions@freebsd.org Subject: Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 15:34:59 -0000 Hi On Wed, 25 Jul 2012 20:21:04 +0530 Manish Jain wrote: > On 25-Jul-12 18:53, Erich Dollansky wrote: > > On Tue, 24 Jul 2012 14:29:07 +0530 > > Manish Jain wrote: > >> On 23-Jul-12 16:07, Erich Dollansky wrote: > >>> On Monday 23 July 2012 16:46:04 Manish Jain wrote: > >>>> On 21-Jul-12 19:06, Matthias Apitz wrote: > >>>>> El d=EDa Saturday, July 21, 2012 a las 06:01:11PM +0530, Manish > >>>>> Jain escribi=F3: >=20 > I tried switching the USB ports and have some information which could=20 > help you to help me : >=20 > usbconfig -u 0 -a 2 dump_device_desc : > ugen0.2: at usbus0, cfg=3D0 md=3DHOST= =20 > spd=3DFULL (12Mbps) pwr=3DON >=20 > bLength =3D 0x0012 > bDescriptorType =3D 0x0001 > bcdUSB =3D 0x0110 > bDeviceClass =3D 0x0000 > bDeviceSubClass =3D 0x0000 > bDeviceProtocol =3D 0x0000 > bMaxPacketSize0 =3D 0x0040 > idVendor =3D 0x12d1 > idProduct =3D 0x140b This is strange. src/sys/dev/usb/usbdevs says this: product HUAWEI E140B 0x140b 3G modem This means that your product is supported Is this line in your usbdevs? > Now what should my devfs.conf contain ? Currently it contains the=20 > following : Mine is empty. Comment all entries out. This might be the problem. >=20 > link cuaU0.0 modem > own modem root:operator > perm modem 666 >=20 > link ugen0.3 usv > own usv root:operator > perm usv 666 >=20 > link cuaU0.1 apcups > own apcups root:operator > perm apcups 666 >=20 > Obviously, these entries are incorrect since neither my modem speaks > to the internet nor is any signal from the APC UPS recognized. I > believe once I have the correct devfs entries, the whole system > should work smoothly. But please correct me if I am wrong. >=20 > Surprisingly, /etc/usb_modeswitch.d contains no entries for 12d1:140b > or 051d:*. Do I need to reinstall usb_modeswitch.d ? Or can usbconfig=20 > configure the devices correctly ? I am no expert here, so if yes, I=20 > would need the complete commands. >=20 What version of FreeBSD are you using? > Thanks for any help. I am greatly indebted to FreeBSD and its > philosophy making things 'as simple as possible, but not any simpler' > - which has helped me learn a great deal about computers in general > and managing my own computer in particular. But the USB related stuff > still beats the hell out of me, so I need help here. There is something very, very simple wrong. I just do not see now what it is. I have the feeling that your modem is not recognised while it should be as it is known to FreeBSD. >=20 > BTW, my system now has the usbdump command (installed from sources=20 > downloaded from http://biot.com/usbdump/) but no manpage. >=20 You got then a Linux version which might causes more problems that you need. Erich From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 15:02:38 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD32A1065673 for ; Wed, 25 Jul 2012 15:02:38 +0000 (UTC) (envelope-from mru258@yahoo.com) Received: from nm11.bullet.mail.bf1.yahoo.com (nm11.bullet.mail.bf1.yahoo.com [98.139.212.170]) by mx1.freebsd.org (Postfix) with SMTP id 466418FC0C for ; Wed, 25 Jul 2012 15:02:38 +0000 (UTC) Received: from [98.139.212.146] by nm11.bullet.mail.bf1.yahoo.com with NNFMP; 25 Jul 2012 15:02:37 -0000 Received: from [98.139.215.251] by tm3.bullet.mail.bf1.yahoo.com with NNFMP; 25 Jul 2012 15:02:37 -0000 Received: from [127.0.0.1] by omp1064.mail.bf1.yahoo.com with NNFMP; 25 Jul 2012 15:02:37 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 601649.68182.bm@omp1064.mail.bf1.yahoo.com Received: (qmail 15239 invoked by uid 60001); 25 Jul 2012 15:02:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1343228557; bh=r8R5hTs4ZNKfW8z7gTuX4lolo8xCz6U+eGlg4TVlplg=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=N4ypSwLgDKH8dssKKsje3kfP8mKB6ob1g7Y+CNt+GtFRZveQLq2d3aEwSpuexewQa5gjRViiACXBB5kxBaDEHJtFZnhwax/efvZn8y5segCxhz/BrlISdKUl7A5ckc7xHQBCB1ebxz/ZXmjMgxeyPTBVg4dxEeeY1wxEgWKDvfs= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=CWpQOn5eHgHq17sBcs/Nui1ecxLqmxI9IGf9dus1vQwmI8bBpoTsqVCCWaFjsqZpjxBMps4HsoMY3/Vm6V0WjMjqCLuqzzwNXcrl/ZvH+Qjl8F9Mxr1RQuJtaxdCMTBYxQQuDnwaARqmrPMcUBhDqpqav8PmnI+wkZ32439D0+o=; X-YMail-OSG: 0YfGuZ4VM1mcUno3h4BV8L49GoMmzuckFR4x0UHvJD.JOBS DBM5vKMUpkHmiSlltUlo9vaXwLpqdZICjZCxkctGf_30zEMt5sEz.YSdW0V7 R3fZVUtFPt5AvbzaNtB2XbrZMGcN7bX0Lq.JakQEi7g7sGQXfWpNZYnDiuJh osGhffBsW1mrcKGueie45gT9gyB46jhn2kcW7ViVo9GG2pYRc6EeHGKulG3C BqcudjDhDyBDLK0QVIZHPI3xCNo6GoUDHgkSLz3I4dBRfcRmBNZj42GdZuRb _6kfreOxJ8zNmN5E37BwmmybC2BV9NsCeNkDt2D8laj8QpIO8lbNZTypmVrF oAL03KfdBTevtn5efjVPai8WRi0NigzzIbfda42oY.QMkR.bx8MH6u5EeuDv rYdw0L_mAQJhavdErGIBQcB5KI.k5wyMNGh.W Received: from [188.72.200.200] by web140705.mail.bf1.yahoo.com via HTTP; Wed, 25 Jul 2012 08:02:37 PDT X-Mailer: YahooMailWebService/0.8.120.356233 Message-ID: <1343228557.99992.androidMobile@web140705.mail.bf1.yahoo.com> Date: Wed, 25 Jul 2012 08:02:37 -0700 (PDT) From: Mr U To: "freebsd-questions@freebsd org" MIME-Version: 1.0 X-Mailman-Approved-At: Wed, 25 Jul 2012 15:38:00 +0000 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: how to speed up port make?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 15:02:38 -0000 hi is it possible to speed up port make ?? i want to install openbox and xorg on a Pentium 4 and 2gb ram, compiling xorg takes about 2 hours thank you all mru Sent from Yahoo! Mail on Android From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 15:44:18 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27E82106566B for ; Wed, 25 Jul 2012 15:44:18 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id D901B8FC1A for ; Wed, 25 Jul 2012 15:44:17 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1Su3ko-0005md-WA for freebsd-questions@freebsd.org; Wed, 25 Jul 2012 16:44:17 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Su3ko-0002eB-Hx for freebsd-questions@freebsd.org; Wed, 25 Jul 2012 16:44:02 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q6PFi25c012354 for ; Wed, 25 Jul 2012 16:44:02 +0100 (BST) (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q6PFi23j012353 for freebsd-questions@freebsd.org; Wed, 25 Jul 2012 16:44:02 +0100 (BST) (envelope-from mexas) Date: Wed, 25 Jul 2012 16:44:02 +0100 (BST) From: Anton Shterenlikht Message-Id: <201207251544.q6PFi23j012353@mech-cluster241.men.bris.ac.uk> To: freebsd-questions@freebsd.org Subject: mail(1) save command does not work as in the man page X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 15:44:18 -0000 According to the man mail(1): save (s) Takes a message list and a filename and appends each message in turn to the end of the file. The filename in quotes, followed by the line count and character count is echoed on the user's terminal. However, it seems the mail is copied, but not deleted on exit: $ mail -f mbox Mail version 8.1 6/6/93. Type ? for help. "mbox": 1 message > 1 mexas@bristol.ac.uk Wed Jul 25 16:36 46/2045 "kuku" & s 1 somefile "somefile" [New file] & h >* 1 mexas@bristol.ac.uk Wed Jul 25 16:36 46/2045 "kuku" & q $ mail -f somefile Mail version 8.1 6/6/93. Type ? for help. "somefile": 1 message > 1 mexas@bristol.ac.uk Wed Jul 25 16:36 46/2045 "kuku" & q So the mail was copied to file, as expected. However, it's still in mbox file too: $ mail -f mbox Mail version 8.1 6/6/93. Type ? for help. "mbox": 1 message > 1 mexas@bristol.ac.uk Wed Jul 25 16:36 46/2045 "kuku" & q $ This shouldn't happen. According to the man page the expected behaviour is that message 1 should be deleted from mbox on quit. Any comments? From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 16:00:05 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3D818106567B for ; Wed, 25 Jul 2012 16:00:05 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id E1FC58FC08 for ; Wed, 25 Jul 2012 16:00:04 +0000 (UTC) Received: from mr16.lnh.mail.rcn.net ([207.172.157.36]) by smtp02.lnh.mail.rcn.net with ESMTP; 25 Jul 2012 12:00:04 -0400 Received: from smtp04.lnh.mail.rcn.net (smtp04.lnh.mail.rcn.net [207.172.157.104]) by mr16.lnh.mail.rcn.net (MOS 4.3.4-GA) with ESMTP id BWL80766; Wed, 25 Jul 2012 12:00:04 -0400 Received: from 209-6-86-84.c3-0.smr-ubr2.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.86.84]) by smtp04.lnh.mail.rcn.net with ESMTP; 25 Jul 2012 12:00:04 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20496.6147.630300.995420@jerusalem.litteratus.org> Date: Wed, 25 Jul 2012 12:00:03 -0400 To: "freebsd-questions@freebsd org" In-Reply-To: <1343228557.99992.androidMobile@web140705.mail.bf1.yahoo.com> References: <1343228557.99992.androidMobile@web140705.mail.bf1.yahoo.com> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr16.lnh.mail.rcn.net) Subject: how to speed up port make?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 16:00:05 -0000 Mr U writes: > is it possible to speed up port make ?? > i want to install openbox and xorg on a Pentium 4 and 2gb ram, > compiling xorg takes about 2 hours Humorous answer: Yes - get a more powerful computer. Robert Huff From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 16:09:46 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 602B01065670 for ; Wed, 25 Jul 2012 16:09:46 +0000 (UTC) (envelope-from brian@brianwhalen.net) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id CD3518FC0C for ; Wed, 25 Jul 2012 16:09:45 +0000 (UTC) Received: by laai10 with SMTP id i10so822772laa.13 for ; Wed, 25 Jul 2012 09:09:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=HUVhHmGd5q9PLApgA8DLC7Z4Ee6ZfpQiJcItl4I8sm0=; b=SKK2C0gujQMMokNj9xs6/BbACa6HjJROkNZxBpboUPD9C1gnAnpGkt/o1rTpfXZu9O p+4da4rF+Z1tlBuDW/ZeKmFOfFQi8bwyT31cxaV3iWLrRoUGuN8tO6601JDl6E+/rp9k JJgAWjUP72qbWTkPUW7aGY2YleUA3ukuDM0bcdnDC/ZJhzBpsvMaZwm8AqN64SNh+1yb BK9hvx+cF1xnwZzeAtf5HNBmp2aZlEsIQFbuG1LSPbeQ0toDlUfT7JtukA3A5DRi37Jj wkYCjb1xeot1f8F5mJ3U07zsYPTX2O4J/6532DWATdc4OtcKeZ41vNQ5qPm5G8IwNhFI k6lg== MIME-Version: 1.0 Received: by 10.152.131.9 with SMTP id oi9mr26237666lab.39.1343232584365; Wed, 25 Jul 2012 09:09:44 -0700 (PDT) Received: by 10.114.13.3 with HTTP; Wed, 25 Jul 2012 09:09:44 -0700 (PDT) X-Originating-IP: [174.235.75.31] Received: by 10.114.13.3 with HTTP; Wed, 25 Jul 2012 09:09:44 -0700 (PDT) In-Reply-To: <1343228557.99992.androidMobile@web140705.mail.bf1.yahoo.com> References: <1343228557.99992.androidMobile@web140705.mail.bf1.yahoo.com> Date: Wed, 25 Jul 2012 09:09:44 -0700 Message-ID: From: "Brian W." To: Mr U X-Gm-Message-State: ALoCoQlccNT/A3WtC7qxtTuPUwje8FutQAD3vmpjOzPTe3hk13s3GgCVNSAIAMCrbyRGoT6fna7l Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-questions@freebsd org" Subject: Re: how to speed up port make?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 16:09:46 -0000 You could use pkg_add -r xorg to get it and all of its dependencies installed. I usually use that, in combination with ccache to speed up compiles called by portupgrade. Brian On Jul 25, 2012 8:38 AM, "Mr U" wrote: > > hi > > is it possible to speed up port make ?? > i want to install openbox and xorg on a Pentium 4 and 2gb ram, > compiling xorg takes about 2 hours > > thank you all > mru > > Sent from Yahoo! Mail on Android > > _______________________________________________ > freebsd-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 Jul 25 16:15:35 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BF6151065670 for ; Wed, 25 Jul 2012 16:15:35 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 7915F8FC16 for ; Wed, 25 Jul 2012 16:15:35 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Su4FK-0005xo-IN for freebsd-questions@freebsd.org; Wed, 25 Jul 2012 18:15:34 +0200 Received: from np-19-75.prenet.pl ([np-19-75.prenet.pl]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Jul 2012 18:15:34 +0200 Received: from jb.1234abcd by np-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Jul 2012 18:15:34 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Date: Wed, 25 Jul 2012 16:15:16 +0000 (UTC) Lines: 32 Message-ID: References: <500FDCE4.8060607@my.gd> <500FF037.4020302@my.gd> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 79.139.19.75 (Mozilla/5.0 (X11; FreeBSD i386; rv:13.0) Gecko/20100101 Firefox/13.0.1) Subject: Re: Securituy - logging of user commands X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 16:15:35 -0000 Damien Fleuriot my.gd> writes: > ... > >From my syslog.conf: > auth.info;authpriv.info /var/log/auth.log > > Yet I'm seeing not a trail in /var/log/auth.log , or messages, or even > in secure > ... # less /var/log/auth.log Feb 22 21:13:56 localhost newsyslog[1503]: logfile first created Feb 22 21:14:07 localhost login: login on ttyv0 as jb Feb 22 21:14:15 localhost su: jb to root on /dev/ttyv0 ... Jul 25 15:23:48 localhost su: jb to root on /dev/pts/3 Jul 25 17:25:05 localhost snoopy[50059]: [uid:0 sid:45449 tty:/dev/pts/2 cwd:/usr/ports/security/snoopy filename:/usr/bin/touch]: touch /etc/ld.so.preload Jul 25 17:25:05 localhost snoopy[50060]: [uid:0 sid:45449 tty:/dev/pts/2 cwd:/usr/ports/security/snoopy filename:/usr/bin/grep]: grep -c ^/usr/local/lib//snoopy.so /etc/ld.so.preload Jul 25 17:52:29 localhost snoopy[50145]: [uid:0 sid:46687 tty:/dev/pts/3 cwd:/usr/home/jb filename:/usr/bin/less]: less /var/log/auth.log Jul 25 17:54:03 localhost snoopy[50148]: [uid:0 sid:46687 tty:/dev/pts/3 cwd:/usr/home/jb filename:/usr/bin/touch]: touch test1 Jul 25 17:54:08 localhost snoopy[50149]: [uid:0 sid:46687 tty:/dev/pts/3 cwd:/usr/home/jb filename:/usr/bin/less]: less /var/log/auth.log [root@localhost /home/jb]# jb From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 17:21:04 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 247E6106566B for ; Wed, 25 Jul 2012 17:21:04 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 86EA48FC14 for ; Wed, 25 Jul 2012 17:21:03 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6PHKsDC009269; Wed, 25 Jul 2012 19:20:54 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6PHKrmb009266; Wed, 25 Jul 2012 19:20:54 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 25 Jul 2012 19:20:53 +0200 (CEST) From: Wojciech Puchar To: Robert Huff In-Reply-To: <20496.6147.630300.995420@jerusalem.litteratus.org> Message-ID: References: <1343228557.99992.androidMobile@web140705.mail.bf1.yahoo.com> <20496.6147.630300.995420@jerusalem.litteratus.org> 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 passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Wed, 25 Jul 2012 19:20:54 +0200 (CEST) Cc: "freebsd-questions@freebsd org" Subject: Re: how to speed up port make?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 17:21:04 -0000 >> is it possible to speed up port make ?? >> i want to install openbox and xorg on a Pentium 4 and 2gb ram, >> compiling xorg takes about 2 hours > > Humorous answer: > Yes - get a more powerful computer. > > > Robert Huff real answer - get binary packages. From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 17:23:29 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D19D1065687 for ; Wed, 25 Jul 2012 17:23:29 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id C17A58FC18 for ; Wed, 25 Jul 2012 17:23:28 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6PHNRZE009296; Wed, 25 Jul 2012 19:23:27 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6PHNR3O009293; Wed, 25 Jul 2012 19:23:27 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 25 Jul 2012 19:23:27 +0200 (CEST) From: Wojciech Puchar To: Marwan Sultan In-Reply-To: Message-ID: References: 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 passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Wed, 25 Jul 2012 19:23:27 +0200 (CEST) Cc: FreeBSD Questions Subject: Re: FreeBSD Stable production version. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 17:23:29 -0000 > > I finally decided to take off my FreeBSD 7.2 server which is onlin esince 2009. > > I will go for a new FreeBSD version and will move out all data. > you mean just new freebsd or new server? if first there is no need to move data at all > Which version do you recommend? > Shall I go for 9 ? > or 8.3 is still more fit for a production and bsns server ? i use 8.3 From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 18:57:33 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3A8261065677 for ; Wed, 25 Jul 2012 18:57:33 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 896A08FC21 for ; Wed, 25 Jul 2012 18:57:32 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6PIvVfm009820 for ; Wed, 25 Jul 2012 20:57:31 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6PIvU0W009817 for ; Wed, 25 Jul 2012 20:57:31 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 25 Jul 2012 20:57:30 +0200 (CEST) From: Wojciech Puchar To: freebsd-questions@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Wed, 25 Jul 2012 20:57:31 +0200 (CEST) Subject: geli - selecting cipher X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 18:57:33 -0000 i need high speed disk encryption (many disks running in parallel, lots of data movement). i have processor with AES-NI. geli give 150MB/s performance (tested from/to md ramdisk) using default and recommended AES-XTS and ca 400MB/s read and 700MB/s write using AES-CBC. I'm not cryptography expert, is CBC somehow "less secure", and if so is it really a problem? From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 19:11:58 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B07BE106566C for ; Wed, 25 Jul 2012 19:11:58 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 6E5608FC0C for ; Wed, 25 Jul 2012 19:11:58 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1Su6zv-0007NV-Hq; Wed, 25 Jul 2012 20:11:51 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Su6zu-0006xz-M4; Wed, 25 Jul 2012 20:11:50 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q6PJBoGM090265; Wed, 25 Jul 2012 20:11:50 +0100 (BST) (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q6PJBomF090264; Wed, 25 Jul 2012 20:11:50 +0100 (BST) (envelope-from mexas) Date: Wed, 25 Jul 2012 20:11:50 +0100 (BST) From: Anton Shterenlikht Message-Id: <201207251911.q6PJBomF090264@mech-cluster241.men.bris.ac.uk> To: roberthuff@rcn.com, wojtek@wojtek.tensor.gdynia.pl In-Reply-To: Cc: freebsd-questions@freebsd.org Subject: Re: how to speed up port make?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 19:11:58 -0000 >> is it possible to speed up port make ?? >> i want to install openbox and xorg on a Pentium 4 and 2gb ram, >> compiling xorg takes about 2 hours 2 hours only?? Try lang/gcc46 or 47 or science/paraview This will keep your electronic helper busy for a day. From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 19:18:49 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3E2510656EA for ; Wed, 25 Jul 2012 19:18:48 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 84B748FC17 for ; Wed, 25 Jul 2012 19:18:48 +0000 (UTC) Received: by wgbds11 with SMTP id ds11so1046391wgb.31 for ; Wed, 25 Jul 2012 12:18:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=YSaUWFVjRPdaUF7iT/Sq/HtGQTDXYCZYLgpyJgg/62w=; b=MAcc2YvIvzVmLPe0fn4kVx/nGqjf1YYOEWg9+gPnBVW03oVOMWKNjy07ifyTz/6AtX oyhPnAkiWaJVUOCFIKWSSvJ2+InFR6bsjrkNtrlH84zJVn8uqV9sCPjlr6N781QVmU6t D1y2qPacWfumgahyrkmbbsizqyTvKExEq1mHoFrU8IKCClWk7B06MX+zQa4ncs0mRABO Jig4mmJW3JHlpFschS/Zs9J9/ClXFYrKCQM/I80Otu/sh8eGF+XXdm3u0+eVqY2fRUZK k2FFoDAcqPJ7q7q7yumsHmCzcQjix15pG1yvyE5mDD6bVSv8n2yG2hkPPG5oXmfRwl9D 5gWw== MIME-Version: 1.0 Received: by 10.216.241.198 with SMTP id g48mr4609813wer.192.1343243927286; Wed, 25 Jul 2012 12:18:47 -0700 (PDT) Received: by 10.223.172.129 with HTTP; Wed, 25 Jul 2012 12:18:47 -0700 (PDT) In-Reply-To: References: Date: Wed, 25 Jul 2012 12:18:47 -0700 Message-ID: From: Michael Sierchio To: Wojciech Puchar Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQnQFGxNg1W2lms/utxFfT9CJTP6wj1Kz6z7OalS1d/0U+7R7cadZ3q/vfvQKeW3qnvyS49c Cc: freebsd-questions@freebsd.org Subject: Re: geli - selecting cipher X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 19:18:49 -0000 On Wed, Jul 25, 2012 at 11:57 AM, Wojciech Puchar wrote: > i need high speed disk encryption (many disks running in parallel, lots of > I'm not cryptography expert, is CBC somehow "less secure", and if so is it > really a problem? XTS-AES is a standard devised specifically for disk encryption - it supports operations on sectors that aren't divisible by the cipher block size. See http://en.wikipedia.org/wiki/Disk_encryption_theory#XEX-based_tweaked-codebook_mode_with_ciphertext_stealing_.28XTS.29 I personally would be fine with AES-CTR mode, since I don't see the need to defend against the mythical "strong" adversary who can write arbitrary bits to unused sectors and then ask to have them decrypted. AES-CTR doesn't (by itself) have any integrity check. AES-CBC is fine, but the ciphertext is larger than the plaintext. - M From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 19:23:24 2012 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 E857D1065670 for ; Wed, 25 Jul 2012 19:23:24 +0000 (UTC) (envelope-from kevin@rootbsd.daleco.biz) Received: from rootbsd.daleco.biz (daleco.biz [199.48.129.182]) by mx1.freebsd.org (Postfix) with ESMTP id 892E08FC18 for ; Wed, 25 Jul 2012 19:23:24 +0000 (UTC) Received: from rootbsd.daleco.biz (localhost [127.0.0.1]) by rootbsd.daleco.biz (8.14.4/8.14.4) with ESMTP id q6PJImBL087079; Wed, 25 Jul 2012 14:18:48 -0500 (CDT) (envelope-from kevin@rootbsd.daleco.biz) Received: (from kevin@localhost) by rootbsd.daleco.biz (8.14.5/8.14.5/Submit) id q6PJIllL087078; Wed, 25 Jul 2012 14:18:47 -0500 (CDT) (envelope-from kevin) Date: Wed, 25 Jul 2012 14:18:47 -0500 From: Kevin Kinsey To: Anton Shterenlikht Message-ID: <20120725191847.GA87054@rootbsd.daleco.biz> References: <201207251911.q6PJBomF090264@mech-cluster241.men.bris.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201207251911.q6PJBomF090264@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.4.2.3i Cc: questions@freebsd.org Subject: Re: how to speed up port make?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 19:23:25 -0000 On Wed, Jul 25, 2012 at 08:11:50PM +0100, Anton Shterenlikht wrote: > > >> is it possible to speed up port make ?? > >> i want to install openbox and xorg on a Pentium 4 and 2gb ram, > >> compiling xorg takes about 2 hours > > 2 hours only?? > > Try lang/gcc46 or 47 > or science/paraview > > This will keep your electronic helper busy > for a day. It's also rather obvious that he never did this on a P1 at 90Mhz. KDK From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 20:30:05 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A8C78106564A for ; Wed, 25 Jul 2012 20:30:05 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 23CE38FC19 for ; Wed, 25 Jul 2012 20:30:04 +0000 (UTC) Received: by weyx56 with SMTP id x56so1011375wey.13 for ; Wed, 25 Jul 2012 13:30:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to :x-gm-message-state; bh=F85rHXcXIebsyzQT1DO0HQAZhCtOYGaHFx/e2/J0zrc=; b=XwnFhQEHfhWWQ+Y5/Sli7MxinclbCtqueP3uAbWb5V0yzvfeWkvt7GGwq+vEv1UEu9 /wL+X6pyhNJFuOiFyqu6J/8eXuH01rDF6EAWhsXWB5RRYcqiRPscKcn1rOykvYI3K/Yt hRwdN/13CfB92y7NujFwtU/JG5PhH9ZDlIeyWzYCjq/APweDZarJIw3sECr0GJzkJB7p YbvKkhOd95COtstbsf6sZhtJFXbipaJZv+3jUPp+6wMc2XWjAaLeJkV9X8ewRo3U5Y4H 9cfNs+GeVzuAN/OXVQ82xjbpc/e86+VpjeLl8XEqiMiVH72AUKSBHs1LRpSecWdxEqCZ 9+YQ== Received: by 10.180.107.103 with SMTP id hb7mr7584405wib.3.1343248204042; Wed, 25 Jul 2012 13:30:04 -0700 (PDT) Received: from [192.168.0.10] (did75-17-88-165-130-96.fbx.proxad.net. [88.165.130.96]) by mx.google.com with ESMTPS id ex20sm6644241wid.7.2012.07.25.13.30.02 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 25 Jul 2012 13:30:02 -0700 (PDT) References: <500FDCE4.8060607@my.gd> <500FF037.4020302@my.gd> In-Reply-To: Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Message-Id: <9AF63C5D-D3C1-4E70-A1FB-3EC54FCFE90E@my.gd> X-Mailer: iPhone Mail (9A405) From: Damien Fleuriot Date: Wed, 25 Jul 2012 22:29:59 +0200 To: jb X-Gm-Message-State: ALoCoQmCgVtajsMicdVeYLOuH6imjSoYmHBUl5/MHBiPzHm5XOnZG/zRTWP7jOBs6MSLzA+1RSXV Cc: "freebsd-questions@freebsd.org" Subject: Re: Securituy - logging of user commands X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 20:30:05 -0000 On 25 Jul 2012, at 18:15, jb wrote: > Damien Fleuriot my.gd> writes: > >> ... >>> From my syslog.conf: >> auth.info;authpriv.info /var/log/auth.log >> >> Yet I'm seeing not a trail in /var/log/auth.log , or messages, or even >> in secure >> ... > > # less /var/log/auth.log > Feb 22 21:13:56 localhost newsyslog[1503]: logfile first created > Feb 22 21:14:07 localhost login: login on ttyv0 as jb > Feb 22 21:14:15 localhost su: jb to root on /dev/ttyv0 > ... > Jul 25 15:23:48 localhost su: jb to root on /dev/pts/3 > Jul 25 17:25:05 localhost snoopy[50059]: [uid:0 sid:45449 tty:/dev/pts/2 > cwd:/usr/ports/security/snoopy filename:/usr/bin/touch]: touch > /etc/ld.so.preload > Jul 25 17:25:05 localhost snoopy[50060]: [uid:0 sid:45449 tty:/dev/pts/2 > cwd:/usr/ports/security/snoopy filename:/usr/bin/grep]: grep -c > ^/usr/local/lib//snoopy.so /etc/ld.so.preload > Jul 25 17:52:29 localhost snoopy[50145]: [uid:0 sid:46687 tty:/dev/pts/3 > cwd:/usr/home/jb filename:/usr/bin/less]: less /var/log/auth.log > Jul 25 17:54:03 localhost snoopy[50148]: [uid:0 sid:46687 tty:/dev/pts/3 > cwd:/usr/home/jb filename:/usr/bin/touch]: touch test1 > Jul 25 17:54:08 localhost snoopy[50149]: [uid:0 sid:46687 tty:/dev/pts/3 > cwd:/usr/home/jb filename:/usr/bin/less]: less /var/log/auth.log > [root@localhost /home/jb]# > > jb > Thanks for taking the time to show me it works, at least for you. What fbsd and snoopy version might these be ? From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 20:37:50 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 95A02106566C for ; Wed, 25 Jul 2012 20:37:50 +0000 (UTC) (envelope-from universite@ukr.net) Received: from otrada.od.ua (universite-1-pt.tunnel.tserv24.sto1.ipv6.he.net [IPv6:2001:470:27:140::2]) by mx1.freebsd.org (Postfix) with ESMTP id D91088FC08 for ; Wed, 25 Jul 2012 20:37:49 +0000 (UTC) Received: from [10.0.0.10] ([10.0.0.10]) (authenticated bits=0) by otrada.od.ua (8.14.4/8.14.5) with ESMTP id q6PKbiOU035883; Wed, 25 Jul 2012 23:37:45 +0300 (EEST) (envelope-from universite@ukr.net) Message-ID: <50105901.1090507@ukr.net> Date: Wed, 25 Jul 2012 23:37:21 +0300 From: "Vladislav V. Prodan" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: "illoai@gmail.com" References: <63031.1343217300.9705048765098688512@ffe15.ukr.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (otrada.od.ua [89.209.81.54]); Wed, 25 Jul 2012 23:37:45 +0300 (EEST) X-Spam-Status: No, score=-101.0 required=5.0 tests=ALL_TRUSTED, FREEMAIL_FROM, USER_IN_WHITELIST autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mary-teresa.otrada.od.ua Cc: freebsd-questions@freebsd.org Subject: Re: how to determine the temperature of your CPU? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 20:37:50 -0000 25.07.2012 18:16, illoai@gmail.com wrote: > On 25 July 2012 07:55, ВладиÑлав Продан wrote: >> >> >> CPU: AMD FX(tm)-8120 Eight-Core Processor (3110.49-MHz K8-class CPU) >> Origin = "AuthenticAMD" Id = 0x600f12 Family = 15 Model = 1 Stepping = 2 >> >> # kldstat -v | grep temp >> 319 cpu/coretemp >> 311 hostb/amdtemp >> >> > > % sysctl dev.amdtemp > & > % sysctl hw.acpi.thermal > & the other stuff is probably best extracted via: > % sysctl dev.cpu | grep temperature > (as you can't use wildcards in sysctl oids, bleh) > > For my dual core machine, I use: > % sysctl hw.acpi.thermal.tz0.temperature dev.amdtemp.0.sensor0 \ > dev.amdtemp.0.sensor1 dev.cpu.0.temperature dev.cpu.1.temperature > > in a script to quickly see all of my temperature sensors. You likely have > many more. > Thanks for the tips! But I have already tried these commands. With 2,4,6-core temperature is displayed, but with 8 cores is not :( Probably will have to arrange PR ... -- Vladislav V. Prodan System & Network Administrator http://support.od.ua +380 67 4584408, +380 99 4060508 VVP88-RIPE From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 21:31:16 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DAEFD106566B for ; Wed, 25 Jul 2012 21:31:16 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 9C2A68FC0A for ; Wed, 25 Jul 2012 21:31:16 +0000 (UTC) Received: from mr17.lnh.mail.rcn.net ([207.172.157.37]) by smtp02.lnh.mail.rcn.net with ESMTP; 25 Jul 2012 17:31:16 -0400 Received: from smtp04.lnh.mail.rcn.net (smtp04.lnh.mail.rcn.net [207.172.157.104]) by mr17.lnh.mail.rcn.net (MOS 4.3.4-GA) with ESMTP id BPI15374; Wed, 25 Jul 2012 17:31:15 -0400 Received: from 209-6-86-84.c3-0.smr-ubr2.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.86.84]) by smtp04.lnh.mail.rcn.net with ESMTP; 25 Jul 2012 17:31:16 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20496.26018.991325.60664@jerusalem.litteratus.org> Date: Wed, 25 Jul 2012 17:31:14 -0400 To: freebsd-questions@freebsd.org In-Reply-To: <201207251911.q6PJBomF090264@mech-cluster241.men.bris.ac.uk> References: <201207251911.q6PJBomF090264@mech-cluster241.men.bris.ac.uk> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr17.lnh.mail.rcn.net) Subject: Re: how to speed up port make?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 21:31:17 -0000 Anton Shterenlikht writes: > >> i want to install openbox and xorg on a Pentium 4 and 2gb ram, > >> compiling xorg takes about 2 hours > > 2 hours only?? > > Try lang/gcc46 or 47 > or science/paraview I beiieve the winner is OpenOffice and its kindred; still compiling after 2.75 hours on 4x3ghz and 8gbytes memory. The various Javas also take a while .... Robert Huff From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 22:15:32 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 850FB106566B for ; Wed, 25 Jul 2012 22:15:32 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from asbnvacz-mailrelay01.megapath.net (asbnvacz-mailrelay01.megapath.net [207.145.128.243]) by mx1.freebsd.org (Postfix) with ESMTP id 547D58FC1B for ; Wed, 25 Jul 2012 22:15:32 +0000 (UTC) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.52]) by asbnvacz-mailrelay01.megapath.net (Postfix) with ESMTP id 8589EA70505 for ; Wed, 25 Jul 2012 18:15:31 -0400 (EDT) Received: (qmail 30858 invoked from network); 25 Jul 2012 22:15:30 -0000 Received: by simscan 1.4.0 ppid: 29283, pid: 25196, t: 0.1525s scanners: clamav: 0.88.2/m:52/d:13513 Received: from unknown (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 25 Jul 2012 22:15:30 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 267C333C24; Wed, 25 Jul 2012 18:15:30 -0400 (EDT) From: Lowell Gilbert To: "freebsd-questions\@freebsd org" References: <1343228557.99992.androidMobile@web140705.mail.bf1.yahoo.com> <20496.6147.630300.995420@jerusalem.litteratus.org> Date: Wed, 25 Jul 2012 18:15:29 -0400 In-Reply-To: <20496.6147.630300.995420@jerusalem.litteratus.org> (Robert Huff's message of "Wed, 25 Jul 2012 12:00:03 -0400") Message-ID: <44ehnz32ta.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: how to speed up port make?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 22:15:32 -0000 Robert Huff writes: > Mr U writes: > >> is it possible to speed up port make ?? >> i want to install openbox and xorg on a Pentium 4 and 2gb ram, >> compiling xorg takes about 2 hours > > Humorous answer: > Yes - get a more powerful computer. or even just build on a more powerful computer... From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 22:43:23 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 537B7106566B for ; Wed, 25 Jul 2012 22:43:23 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from ifdnrg30.ifdnrg.com (ifdnrg30.ifdnrg.com [193.200.98.50]) by mx1.freebsd.org (Postfix) with ESMTP id E1F9B8FC1B for ; Wed, 25 Jul 2012 22:43:22 +0000 (UTC) Received: from [192.168.1.114] (188-221-77-161.zone12.bethere.co.uk [188.221.77.161]) (authenticated bits=0) by ifdnrg30.ifdnrg.com (8.14.5/8.14.5) with ESMTP id q6PMhD1I089705 for ; Wed, 25 Jul 2012 23:43:14 +0100 (BST) (envelope-from paul@ifdnrg.com) Message-ID: <50107683.4050403@ifdnrg.com> Date: Wed, 25 Jul 2012 23:43:15 +0100 From: Paul Macdonald User-Agent: Mozilla/5.0 (Windows NT 5.2; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: FreeBSD References: <500FD659.4090106@my.gd> <20120725081328.2a4c66e7@scorpio> In-Reply-To: <20120725081328.2a4c66e7@scorpio> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: FreeBSD Stable production version. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 22:43:23 -0000 On 25/07/2012 13:13, Jerry wrote: > On Wed, 25 Jul 2012 13:19:53 +0200 > Damien Fleuriot articulated: > >> I'd say it's a matter of personal preference. >> >> We're mostly running 8.3 in production here. >> >> I've recently installed 9-STABLE servers to try them out and fill PRs >> if I get problems. >> >> I would encourage you to use 9-STABLE so that you may do the same and >> ensure the stability of future releases. > I would agree with that philosophy up to a point. It is definitely a > matter of personal preference; however, for myself, I NEVER install > version X.0 of any software if said software is to be used in a mission > critical situation. I always wait until X.1 is released. If possible in > your case, would it be feasible to wait until 9.1 is released? You > can gather some info on it here: > . As usual, any > correlation between the expected release date and the actual date is > purely coincidental. Just my 2¢ on the matter. > not disagreeing per se..but just a reminder that with the excellent freebsd-update you get updates to 9.0 quickly ( i hadn't realised there was 61 already) from a new install earlier tonight Inspecting system... done. Preparing to download files... done. Fetching 61 patches.....10....20....30....40....50....60 done. Paul. From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 22:53:52 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4CDE51065670 for ; Wed, 25 Jul 2012 22:53:52 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 0B5E38FC08 for ; Wed, 25 Jul 2012 22:53:52 +0000 (UTC) Received: from r56.edvax.de (port-92-195-22-218.dynamic.qsc.de [92.195.22.218]) by mx01.qsc.de (Postfix) with ESMTP id CA4DB3CC7D; Thu, 26 Jul 2012 00:53:43 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q6PMrhK7002003; Thu, 26 Jul 2012 00:53:43 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 26 Jul 2012 00:53:43 +0200 From: Polytropon To: Mr U Message-Id: <20120726005343.5f4f604c.freebsd@edvax.de> In-Reply-To: <1343228557.99992.androidMobile@web140705.mail.bf1.yahoo.com> References: <1343228557.99992.androidMobile@web140705.mail.bf1.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd org" Subject: Re: how to speed up port make?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 22:53:52 -0000 On Wed, 25 Jul 2012 08:02:37 -0700 (PDT), Mr U wrote: > > hi > > is it possible to speed up port make ?? > i want to install openbox and xorg on a Pentium 4 and 2gb ram, > compiling xorg takes about 2 hours That's a fully normal make time on such a system. I've been experiencing it on FreeBSD 5 and 7 (with ATA disks and 768 MB SDR-SDRAM). There is no real way to speed it up, except to replace the hard disk with a SSD. But that's only for I/O, not for compiling itself. You also won't benefit from using the -j parameter (maximum number of jobs), because the P4 does not seem to support it. There's not much you can do to improve the system performance. You _can_ few things to streamline the system, but that won't be a _significant_ change. Plan your builds to take place when you don't use the system interactively, or use the "nice" command to give building a lower priority. It will last longer, but can be run in the background without noticing it. Don't complain about build times until you compile world and kernel on a 150 MHz Pentium 1 with 64 MB RAM. :-) To give you some impressions of real-work build times, see those examples: FreeBSD 5, 500 MHz P2 system: # make buildkernel KERNCONF 1:11 # make buildworld 3:54 FreeBSD 5, 2 GHz P4 system: # make buildworld buildkernel 2:13 # make buildworld 1:58 # make buildkernel KERNCONF=* 0:25 # make installkernel KERNCONF=* 30s On the same system: A portupgrade of XFree86 server: 2:12 And mplayer including nearly all options: 1:19 FreeBSD 7, 2 GHz P4 system: # make buildkernel KERNCONF=* 1:05 # make buildworld 3:54 Even worse: # time make buildkernel KERNCONF=* -D USBDEBUG 18232.967u 2427.404s 7:19:49.24 78.2% 391+379k 47250+5754io 3049pf+0w # time make buildworld buildkernel KERNCONF=* 18992.839u 2569.146s 9:12:00.28 65.1% 927+762k 25593+6358io 2506pf+0w (No idea how I got _that_ time!) # time make buildworld buildkernel KERNCONF=* 17272.243u 2294.595s 6:01:33.44 90.1% 24+204k 34888+6367io 2911pf+0w 18541.285u 2596.192s 6:19:33.55 92.8% 498+327k 31247+7302io 3034pf+0w 19725.009u 2882.355s 7:39:11.57 82.0% -875+548k 44987+6963io 2950pf+0w -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 22:55:18 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A6F9B106564A for ; Wed, 25 Jul 2012 22:55:18 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 6663F8FC08 for ; Wed, 25 Jul 2012 22:55:18 +0000 (UTC) Received: from r56.edvax.de (port-92-195-22-218.dynamic.qsc.de [92.195.22.218]) by mx01.qsc.de (Postfix) with ESMTP id B54D33CC4B; Thu, 26 Jul 2012 00:55:17 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q6PMtHjm002021; Thu, 26 Jul 2012 00:55:17 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 26 Jul 2012 00:55:17 +0200 From: Polytropon To: =?UTF-8?B?0JLQu9Cw0LTQuNGB0LvQsNCyINCf0YDQvtC00LDQvQ==?= Message-Id: <20120726005517.e6635217.freebsd@edvax.de> In-Reply-To: <63031.1343217300.9705048765098688512@ffe15.ukr.net> References: <63031.1343217300.9705048765098688512@ffe15.ukr.net> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: how to determine the temperature of your CPU? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 22:55:18 -0000 On Wed, 25 Jul 2012 14:55:00 +0300, ВладиÑлав Продан wrote: > > > CPU: AMD FX(tm)-8120 Eight-Core Processor (3110.49-MHz K8-class CPU) > Origin = "AuthenticAMD" Id = 0x600f12 Family = 15 Model = 1 Stepping = 2 > > # kldstat -v | grep temp > 319 cpu/coretemp > 311 hostb/amdtemp There are programs in ports like mbmon and xmbmon to easily output the CPU temperature values. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 23:00:23 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 741F9106566B for ; Wed, 25 Jul 2012 23:00:23 +0000 (UTC) (envelope-from millenia2000@hotmail.com) Received: from bay0-omc4-s10.bay0.hotmail.com (bay0-omc4-s10.bay0.hotmail.com [65.54.190.212]) by mx1.freebsd.org (Postfix) with ESMTP id 46DB38FC14 for ; Wed, 25 Jul 2012 23:00:23 +0000 (UTC) Received: from BAY165-DS19 ([65.54.190.200]) by bay0-omc4-s10.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 25 Jul 2012 16:00:17 -0700 X-Originating-IP: [67.166.186.134] X-Originating-Email: [millenia2000@hotmail.com] Message-ID: From: Sean Cavanaugh To: "'Polytropon'" , "'Mr U'" References: <1343228557.99992.androidMobile@web140705.mail.bf1.yahoo.com> <20120726005343.5f4f604c.freebsd@edvax.de> In-Reply-To: <20120726005343.5f4f604c.freebsd@edvax.de> Date: Wed, 25 Jul 2012 18:59:56 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Content-Language: en-us Thread-Index: AQHPBDBGBh3+EXgs39Ju/R/mm7zzAgD5ZiHvly+ebbA= X-OriginalArrivalTime: 25 Jul 2012 23:00:17.0395 (UTC) FILETIME=[42179C30:01CD6AB9] Cc: "'freebsd-questions@freebsd org'" Subject: RE: how to speed up port make?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 23:00:23 -0000 Got you beat. Compiled world on a 100MHz Pentium with 40 MB of RAM. I gave up after 4 days and just went with prebuilt after that. -Sean -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Polytropon Sent: Wednesday, July 25, 2012 6:54 PM To: Mr U Cc: freebsd-questions@freebsd org Subject: Re: how to speed up port make?? On Wed, 25 Jul 2012 08:02:37 -0700 (PDT), Mr U wrote: > > hi > > is it possible to speed up port make ?? > i want to install openbox and xorg on a Pentium 4 and 2gb ram, > compiling xorg takes about 2 hours That's a fully normal make time on such a system. I've been experiencing it on FreeBSD 5 and 7 (with ATA disks and 768 MB SDR-SDRAM). There is no real way to speed it up, except to replace the hard disk with a SSD. But that's only for I/O, not for compiling itself. You also won't benefit from using the -j parameter (maximum number of jobs), because the P4 does not seem to support it. There's not much you can do to improve the system performance. You _can_ few things to streamline the system, but that won't be a _significant_ change. Plan your builds to take place when you don't use the system interactively, or use the "nice" command to give building a lower priority. It will last longer, but can be run in the background without noticing it. Don't complain about build times until you compile world and kernel on a 150 MHz Pentium 1 with 64 MB RAM. :-) To give you some impressions of real-work build times, see those examples: FreeBSD 5, 500 MHz P2 system: # make buildkernel KERNCONF 1:11 # make buildworld 3:54 FreeBSD 5, 2 GHz P4 system: # make buildworld buildkernel 2:13 # make buildworld 1:58 # make buildkernel KERNCONF=* 0:25 # make installkernel KERNCONF=* 30s On the same system: A portupgrade of XFree86 server: 2:12 And mplayer including nearly all options: 1:19 FreeBSD 7, 2 GHz P4 system: # make buildkernel KERNCONF=* 1:05 # make buildworld 3:54 Even worse: # time make buildkernel KERNCONF=* -D USBDEBUG 18232.967u 2427.404s 7:19:49.24 78.2% 391+379k 47250+5754io 3049pf+0w # time make buildworld buildkernel KERNCONF=* 18992.839u 2569.146s 9:12:00.28 65.1% 927+762k 25593+6358io 2506pf+0w (No idea how I got _that_ time!) # time make buildworld buildkernel KERNCONF=* 17272.243u 2294.595s 6:01:33.44 90.1% 24+204k 34888+6367io 2911pf+0w 18541.285u 2596.192s 6:19:33.55 92.8% 498+327k 31247+7302io 3034pf+0w 19725.009u 2882.355s 7:39:11.57 82.0% -875+548k 44987+6963io 2950pf+0w -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 23:06:35 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA85C106566B for ; Wed, 25 Jul 2012 23:06:34 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id A7DF68FC12 for ; Wed, 25 Jul 2012 23:06:34 +0000 (UTC) Received: from r56.edvax.de (port-92-195-22-218.dynamic.qsc.de [92.195.22.218]) by mx01.qsc.de (Postfix) with ESMTP id 03C703CD3B; Thu, 26 Jul 2012 01:06:33 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q6PN6XCY002083; Thu, 26 Jul 2012 01:06:33 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 26 Jul 2012 01:06:33 +0200 From: Polytropon To: Sean Cavanaugh Message-Id: <20120726010633.5b206610.freebsd@edvax.de> In-Reply-To: References: <1343228557.99992.androidMobile@web140705.mail.bf1.yahoo.com> <20120726005343.5f4f604c.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "'freebsd-questions@freebsd org'" , 'Mr U' Subject: Re: how to speed up port make?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 23:06:35 -0000 On Wed, 25 Jul 2012 18:59:56 -0400, Sean Cavanaugh wrote: > Got you beat. Compiled world on a 100MHz Pentium with 40 MB of RAM. I think I can: FreeBSD 4 on a Pentium 1 with 64 MB EDO RAM. The make buildworld took 24 hours. The kernel itself, if I remember correctly, required 3-5 hours, of course without much tweaking. :-) > I gave > up after 4 days and just went with prebuilt after that. Precompiled packages are very helpful on such systems. Only "top level ports" that _need_ compiling should be touched (e. g. mplayer due to the options). With today's FreeBSD OS, you can do many things by control files (loader.conf et al.) which previously required at least rebuilding the kernel (e. g. firewall, divert). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 23:17:05 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A61C6106566C for ; Wed, 25 Jul 2012 23:17:05 +0000 (UTC) (envelope-from universite@ukr.net) Received: from otrada.od.ua (universite-1-pt.tunnel.tserv24.sto1.ipv6.he.net [IPv6:2001:470:27:140::2]) by mx1.freebsd.org (Postfix) with ESMTP id 1094B8FC0A for ; Wed, 25 Jul 2012 23:17:04 +0000 (UTC) Received: from [10.0.0.10] ([10.0.0.10]) (authenticated bits=0) by otrada.od.ua (8.14.4/8.14.5) with ESMTP id q6PNGxaD061921; Thu, 26 Jul 2012 02:16:59 +0300 (EEST) (envelope-from universite@ukr.net) Message-ID: <50107E68.2000600@ukr.net> Date: Thu, 26 Jul 2012 02:16:56 +0300 From: "Vladislav V. Prodan" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Polytropon References: <63031.1343217300.9705048765098688512@ffe15.ukr.net> <20120726005517.e6635217.freebsd@edvax.de> In-Reply-To: <20120726005517.e6635217.freebsd@edvax.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (otrada.od.ua [89.209.81.54]); Thu, 26 Jul 2012 02:16:59 +0300 (EEST) X-Spam-Status: No, score=-101.0 required=5.0 tests=ALL_TRUSTED, FREEMAIL_FROM, USER_IN_WHITELIST autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mary-teresa.otrada.od.ua Cc: freebsd-questions@freebsd.org Subject: Re: how to determine the temperature of your CPU? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 23:17:05 -0000 26.07.2012 1:55, Polytropon wrote: > On Wed, 25 Jul 2012 14:55:00 +0300, ВладиÑлав Продан wrote: >> >> >> CPU: AMD FX(tm)-8120 Eight-Core Processor (3110.49-MHz K8-class CPU) >> Origin = "AuthenticAMD" Id = 0x600f12 Family = 15 Model = 1 Stepping = 2 >> >> # kldstat -v | grep temp >> 319 cpu/coretemp >> 311 hostb/amdtemp > > There are programs in ports like mbmon and xmbmon to easily > output the CPU temperature values. > Thank you! mbmon shows the temperature of the CPU. -- Vladislav V. Prodan System & Network Administrator http://support.od.ua +380 67 4584408, +380 99 4060508 VVP88-RIPE From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 00:36:51 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B2D3C106566C for ; Thu, 26 Jul 2012 00:36:51 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 635A98FC0C for ; Thu, 26 Jul 2012 00:36:51 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q6Q0bl9b086604; Wed, 25 Jul 2012 19:37:47 -0500 (CDT) Date: Wed, 25 Jul 2012 19:37:47 -0500 (CDT) From: Robert Bonomi Message-Id: <201207260037.q6Q0bl9b086604@mail.r-bonomi.com> To: freebsd-questions@freebsd.org, mexas@bristol.ac.uk In-Reply-To: <201207251544.q6PFi23j012353@mech-cluster241.men.bris.ac.uk> Cc: Subject: Re: mail(1) save command does not work as in the man page X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 00:36:51 -0000 > From owner-freebsd-questions@freebsd.org Wed Jul 25 10:47:21 2012 > Date: Wed, 25 Jul 2012 16:44:02 +0100 (BST) > From: Anton Shterenlikht > To: freebsd-questions@freebsd.org > Subject: mail(1) save command does not work as in the man page > > According to the man mail(1): > > save (s) Takes a message list and a filename and appends each > message > in turn to the end of the file. The filename in quotes, > followed by the line count and character count is echoed on > the user's terminal. > > However, it seems the mail is copied, but not deleted on exit: *SOMETIMES* that is true. > > $ mail -f mbox > Mail version 8.1 6/6/93. Type ? for help. > "mbox": 1 message > > 1 mexas@bristol.ac.uk Wed Jul 25 16:36 46/2045 "kuku" > & s 1 somefile > "somefile" [New file] > & h > >* 1 mexas@bristol.ac.uk Wed Jul 25 16:36 46/2045 "kuku" > & q > > $ mail -f somefile > Mail version 8.1 6/6/93. Type ? for help. > "somefile": 1 message > > 1 mexas@bristol.ac.uk Wed Jul 25 16:36 46/2045 "kuku" > & q > > So the mail was copied to file, as expected. However, it's > still in mbox file too: > > $ mail -f mbox > Mail version 8.1 6/6/93. Type ? for help. > "mbox": 1 message > > 1 mexas@bristol.ac.uk Wed Jul 25 16:36 46/2045 "kuku" > & q > $ > > This shouldn't happen. According to the man page the expected behaviour > is that message 1 should be deleted from mbox on quit. > > Any comments? This is the 'standard'/*EXPECTED* behavior of 'mail', and has been, since the early 1980s. (I still use 'mail' as my standard mail client'.) If invoked _without_ specifying a maibox, 1) mail that is written to another mailbox is deleted from the inbox on exit. 2) mail that was read, but _not_ written/deleted is saved to 'mbox'. If invoked *WITH* '-f', messages are not deleted/moved on exit. you must _explicitly_ perform any desired actions. You've found a bug in the _documentation_, not the progam. :) From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 00:51:00 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BADDA1065670 for ; Thu, 26 Jul 2012 00:51:00 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 6B7458FC12 for ; Thu, 26 Jul 2012 00:51:00 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q6Q0qdss086796 for freebsd-questions@freebsd.org; Wed, 25 Jul 2012 19:52:39 -0500 (CDT) Date: Wed, 25 Jul 2012 19:52:39 -0500 (CDT) From: Robert Bonomi Message-Id: <201207260052.q6Q0qdss086796@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: Subject: Re: geli - selecting cipher X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 00:51:00 -0000 > From owner-freebsd-questions@freebsd.org Wed Jul 25 14:00:27 2012 > Date: Wed, 25 Jul 2012 20:57:30 +0200 (CEST) > From: Wojciech Puchar > To: freebsd-questions@freebsd.org > Subject: geli - selecting cipher > > i need high speed disk encryption (many disks running in parallel, lots of > data movement). i have processor with AES-NI. > > geli give 150MB/s performance (tested from/to md ramdisk) using default > and recommended AES-XTS > > and ca 400MB/s read and 700MB/s write using AES-CBC. > > I'm not cryptography expert, is CBC somehow "less secure", and if so is it > really a problem? If you "don't know" what strength encryption you need, and/or the difference between the methods, you need to hire a data-security professional to examine your situation and make recommendations appropriate for _your_ needs. 'CBC' -- [C]ypher [B]lock [C]hainig -- is well-suited for strictly -sequential- data access. Try reading the blocks of a large (say 10gB) file in *reverse* order and see what kind of performance you get. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 00:58:39 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8DDF21065670 for ; Thu, 26 Jul 2012 00:58:39 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 276D78FC15 for ; Thu, 26 Jul 2012 00:58:39 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q6Q10IAq086914; Wed, 25 Jul 2012 20:00:18 -0500 (CDT) Date: Wed, 25 Jul 2012 20:00:18 -0500 (CDT) From: Robert Bonomi Message-Id: <201207260100.q6Q10IAq086914@mail.r-bonomi.com> To: freebsd-questions@freebsd.org, roberthuff@rcn.com In-Reply-To: <20496.26018.991325.60664@jerusalem.litteratus.org> Cc: Subject: Re: how to speed up port make?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 00:58:39 -0000 > From owner-freebsd-questions@freebsd.org Wed Jul 25 16:34:22 2012 > From: Robert Huff > Date: Wed, 25 Jul 2012 17:31:14 -0400 > To: freebsd-questions@freebsd.org > Subject: Re: how to speed up port make?? > > > Anton Shterenlikht writes: > > > >> i want to install openbox and xorg on a Pentium 4 and 2gb ram, > > >> compiling xorg takes about 2 hours > > > > 2 hours only?? > > > > Try lang/gcc46 or 47 > > or science/paraview > > I beiieve the winner is OpenOffice and its kindred; > still compiling after 2.75 hours on 4x3ghz and 8gbytes memory. The > various Javas also take a while .... > A standard-techniques -build of just a custom kernel (FBSD 6) took me over TWENTY hours.... On a 80486/dx2 with 64 megs of Ram. I didn't even -think- about 'buildworld'. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 02:15:04 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 541A4106564A for ; Thu, 26 Jul 2012 02:15:04 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by mx1.freebsd.org (Postfix) with ESMTP id D0CE48FC08 for ; Thu, 26 Jul 2012 02:15:03 +0000 (UTC) Received: by wibhq12 with SMTP id hq12so5024008wib.1 for ; Wed, 25 Jul 2012 19:14:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=nmAuhPPXJim0vJ5Xyz372OSw60RZ6nlUuJzKEudoraA=; b=Q1IPPqHVxtiWMXPOJczLsnMZJS2XK3JgdmO65m1trkYiXKPMcBxM/2eiHepIuEUFDf HXuyGAfPs3dbwbDKnyvp1IiuaCzM+xaSJpI5LoKrzT1r1be8Zcq6jso8ic8O6/WTeMLs RvskfOSqV4QkdpVpyj1BRAJPRuB0jAu5qqObNSNA7GSkHKFZs+VbDNP8VwOYYOhyhWyd SkS7VxW1kIlh19wiEcbCXMjfogXDT0XYg87RCmaJM5x0w8J1d7LycVa6uDjkBqxNpeVe PHKwA+wGijBNdfNOfsv9duBVIU0aq5PsTaO/5oja+ztAey2jQB93cb2ZLhUaziNooSCu D74g== Received: by 10.180.79.229 with SMTP id m5mr9335994wix.13.1343268896686; Wed, 25 Jul 2012 19:14:56 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id t7sm8713599wix.6.2012.07.25.19.14.53 (version=SSLv3 cipher=OTHER); Wed, 25 Jul 2012 19:14:55 -0700 (PDT) Date: Thu, 26 Jul 2012 03:14:50 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20120726031450.5c06dd61@gumby.homeunix.com> In-Reply-To: <201207260052.q6Q0qdss086796@mail.r-bonomi.com> References: <201207260052.q6Q0qdss086796@mail.r-bonomi.com> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: geli - selecting cipher X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 02:15:04 -0000 On Wed, 25 Jul 2012 19:52:39 -0500 (CDT) Robert Bonomi wrote: > > From owner-freebsd-questions@freebsd.org Wed Jul 25 14:00:27 2012 > > Date: Wed, 25 Jul 2012 20:57:30 +0200 (CEST) > > From: Wojciech Puchar > > To: freebsd-questions@freebsd.org > > Subject: geli - selecting cipher > > > > i need high speed disk encryption (many disks running in parallel, > > lots of data movement). i have processor with AES-NI. > > > > geli give 150MB/s performance (tested from/to md ramdisk) using > > default and recommended AES-XTS > > > > and ca 400MB/s read and 700MB/s write using AES-CBC. > > > > I'm not cryptography expert, is CBC somehow "less secure", and if > > so is it really a problem? > > If you "don't know" what strength encryption you need, and/or the > difference between the methods, you need to hire a data-security > professional to examine your situation and make recommendations > appropriate for _your_ needs. > > 'CBC' -- [C]ypher [B]lock [C]hainig -- is well-suited for strictly > -sequential- data access. Try reading the blocks of a large (say > 10gB) file in *reverse* order and see what kind of performance you > get. Exactly the same, in geli the encryption is done per sector. I asked a similar questions to the OPs in the geom list and didn't get an answer. Geli doesn't need or isn't using any advantages of XTS. And CBC in geli is actually equivalent to ESSIV (see the previously linked wikipedia page). In the end I went with 128 bit aes-cbc since it's the fastest setting and Bruce Schneier recommends 128 over 256 AES as being more secure. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 02:33:59 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF3A61065672 for ; Thu, 26 Jul 2012 02:33:59 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from oproxy8-pub.bluehost.com (oproxy8-pub.bluehost.com [69.89.22.20]) by mx1.freebsd.org (Postfix) with SMTP id 78F018FC0C for ; Thu, 26 Jul 2012 02:33:59 +0000 (UTC) Received: (qmail 3027 invoked by uid 0); 26 Jul 2012 02:33:37 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by oproxy8.bluehost.com with SMTP; 26 Jul 2012 02:33:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=apotheon.com; s=default; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date; bh=LcZCkchmaZz8+qzHl1tfRMmDNysyDr/G4xeZc7tO+T8=; b=S4Zh1ZSqcgWiB9lgL0ZA69KUCpzxsBAemxsaSeXqez136v0uQWrovJ7tXqqd733/YXo8uGsLM+jy3ATG4tkv6tb+8q+fA10LpUhz2EHHNd2S1nYeeMkr0h0LQAKa76ok; Received: from [24.8.180.234] (port=63305 helo=localhost) by box543.bluehost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1SuDtQ-00082y-Ow for freebsd-questions@freebsd.org; Wed, 25 Jul 2012 20:33:36 -0600 Date: Wed, 25 Jul 2012 20:33:36 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20120726023336.GA25888@hemlock.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <1343228557.99992.androidMobile@web140705.mail.bf1.yahoo.com> <20120726005343.5f4f604c.freebsd@edvax.de> <20120726010633.5b206610.freebsd@edvax.de> <20120726004115.GB53190@neutralgood.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120726004115.GB53190@neutralgood.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.com} {sentby:smtp auth 24.8.180.234 authed with perrin@apotheon.com} Subject: Re: how to speed up port make?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 02:33:59 -0000 On Wed, Jul 25, 2012 at 08:41:15PM -0400, kpneal@pobox.com wrote: > On Thu, Jul 26, 2012 at 01:06:33AM +0200, Polytropon wrote: > > On Wed, 25 Jul 2012 18:59:56 -0400, Sean Cavanaugh wrote: > > > Got you beat. Compiled world on a 100MHz Pentium with 40 MB of RAM. > > > > I think I can: FreeBSD 4 on a Pentium 1 with 64 MB EDO RAM. > > The make buildworld took 24 hours. The kernel itself, if I > > remember correctly, required 3-5 hours, of course without > > much tweaking. :-) > > Luxury! > > I once compiled a custom kernel of NetBSD/i386 on a 486 with 8MB of RAM. > I was stuck with the GENERIC kernel which took up over 6MB just to boot. > > It took over 40 days to finish. > > To be fair it didn't help that I had to move out of my apartment in the > middle. So it took some time for make to refigure out where had been in > the build. > > Heck, we used to compile gcc and watch movies. It took three movies to > get through a full recursive compile of gcc. Yep, 6 hours. > > And then there was that occasion one night watching a guy logged into an > Ultrix box: Raise your hand if you've ever seen 'ps' report that it had > itself been swapped out. Yep, again. > > Ah, good times. > > I think I still have some memory _chips_ (zip scrams, not dips) around > here somewhere.... You kids have got it easy. I used to have to compile by hand with a pair of tweezers, bar copper wire, a magnifying glass, and a potato with two pieces of metal stuck in it as a power source. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 03:07:20 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D59D8106566B for ; Thu, 26 Jul 2012 03:07:20 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from oproxy2-pub.bluehost.com (oproxy2-pub.bluehost.com [67.222.39.55]) by mx1.freebsd.org (Postfix) with SMTP id 62B5C8FC0A for ; Thu, 26 Jul 2012 03:07:20 +0000 (UTC) Received: (qmail 6840 invoked by uid 0); 26 Jul 2012 02:38:24 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by oproxy2.bluehost.com with SMTP; 26 Jul 2012 02:38:24 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=apotheon.com; s=default; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date; bh=W5kkJJTpeAGKVa4CMCABHn2wExtYBJx4W+YCuQw+N5M=; b=FLf77ogjnIwnmvMhyqcw2SF0+SmlhrqsLQkiuecVmd0kUjNUup5L3Bbk1FzpVDlj+vFIeRkKJS/g6aRjDrRm6Bm+22OkoASPm1B3PJ3tVpG0fG5Cd38xQC4HSgUw/44j; Received: from [24.8.180.234] (port=63650 helo=localhost) by box543.bluehost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1SuDy4-0004s3-AQ for freebsd-questions@freebsd.org; Wed, 25 Jul 2012 20:38:24 -0600 Date: Wed, 25 Jul 2012 20:38:24 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20120726023823.GA27023@hemlock.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <1343228557.99992.androidMobile@web140705.mail.bf1.yahoo.com> <20120726005343.5f4f604c.freebsd@edvax.de> <20120726010633.5b206610.freebsd@edvax.de> <20120726004115.GB53190@neutralgood.org> <20120726023336.GA25888@hemlock.hydra> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120726023336.GA25888@hemlock.hydra> User-Agent: Mutt/1.5.21 (2010-09-15) X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.com} {sentby:smtp auth 24.8.180.234 authed with perrin@apotheon.com} Subject: Re: how to speed up port make?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 03:07:20 -0000 On Wed, Jul 25, 2012 at 08:33:36PM -0600, Chad Perrin wrote: > > You kids have got it easy. I used to have to compile by hand with a pair > of tweezers, bar copper wire, a magnifying glass, and a potato with two > pieces of metal stuck in it as a power source. s/bar/bare/ Now let me tell you how we used to have to do our regexing. . . . -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 06:04:29 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6EEF2106566C for ; Thu, 26 Jul 2012 06:04:29 +0000 (UTC) (envelope-from rnoll.bsd@gmail.com) Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id E8C808FC0C for ; Thu, 26 Jul 2012 06:04:28 +0000 (UTC) Received: by wgbfm10 with SMTP id fm10so5122182wgb.1 for ; Wed, 25 Jul 2012 23:04:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=aW9p4+tzqDDuaSCZnJLnCEvtJCY0ixxwVCtO0MPL0+k=; b=v8eVKrcwIj+lPdnENIzTzzVHNwJJw3VL335x5Avthx5gRHlvsotVbrJH2chRHe/eKl VosfwiKMMmBs19TTmvKznknPuM8FdEesp1p+vqtAQi3HQnAa1x9jhEItRjSdB99L+552 zPC9WDxSso+qXmNiPA//2D8g1k8Wi9iwhp/QII4Mqjt8iQOtMBWI3PJoE52aRoTbgpns jkMwIpTD1+LJPfqiU4I3JsSGkC1BA/r9qzRWjcSlLrh3xSS1Ls9oQmeCUtQVbI3pNgNR bR0T8Eo61zVxvJFxnVTHsYCSFUcZyg3PMTyF1CIgYqrAd+E0jS7cfwio4ulcGQij664k MJgA== MIME-Version: 1.0 Received: by 10.216.134.101 with SMTP id r79mr9910525wei.60.1343282667746; Wed, 25 Jul 2012 23:04:27 -0700 (PDT) Received: by 10.223.78.206 with HTTP; Wed, 25 Jul 2012 23:04:27 -0700 (PDT) Received: by 10.223.78.206 with HTTP; Wed, 25 Jul 2012 23:04:27 -0700 (PDT) In-Reply-To: <20120726023336.GA25888@hemlock.hydra> References: <1343228557.99992.androidMobile@web140705.mail.bf1.yahoo.com> <20120726005343.5f4f604c.freebsd@edvax.de> <20120726010633.5b206610.freebsd@edvax.de> <20120726004115.GB53190@neutralgood.org> <20120726023336.GA25888@hemlock.hydra> Date: Wed, 25 Jul 2012 23:04:27 -0700 Message-ID: From: Ryan Noll To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: how to speed up port make?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 06:04:29 -0000 Hello, On Jul 25, 2012 7:34 PM, "Chad Perrin" wrote: > You kids have got it easy. I used to have to compile by hand with a pair > of tweezers, bar copper wire, a magnifying glass, and a potato with two > pieces of metal stuck in it as a power source. Ha-ha... Ah those were the days..., but does anyone remember the "old" way of building the kernel in the 2.2.8 days? I was just getting started doing the basic system setup/admin things in those days. Back then (1998 or so) I did not have access to broadband, so I did not even update the sources back then, but I knew that it was a good idea to remove devices from the GENERIC kernel that I did not have--thanks to the book by Greg Lehey. (Even though the version of "The Complete FreeBSD" I bought is so out of date I cannot bring myself to throw it away--it was my guide back in those days.) Does anyone else remember "The Complete FreeBSD"? From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 06:42:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8CD6D1065672 for ; Thu, 26 Jul 2012 06:42:40 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 497828FC12 for ; Thu, 26 Jul 2012 06:42:40 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1SuHmR-00070s-Ca; Thu, 26 Jul 2012 07:42:39 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1SuHmR-0003fL-2C; Thu, 26 Jul 2012 07:42:39 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q6Q6gceP035120; Thu, 26 Jul 2012 07:42:38 +0100 (BST) (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q6Q6gb3G035119; Thu, 26 Jul 2012 07:42:37 +0100 (BST) (envelope-from mexas) Date: Thu, 26 Jul 2012 07:42:37 +0100 (BST) From: Anton Shterenlikht Message-Id: <201207260642.q6Q6gb3G035119@mech-cluster241.men.bris.ac.uk> To: bonomi@mail.r-bonomi.com, freebsd-questions@freebsd.org, mexas@bristol.ac.uk In-Reply-To: <201207260037.q6Q0bl9b086604@mail.r-bonomi.com> Cc: Subject: Re: mail(1) save command does not work as in the man page X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 06:42:40 -0000 From bonomi@mail.r-bonomi.com Thu Jul 26 02:58:29 2012 Date: Wed, 25 Jul 2012 19:37:47 -0500 (CDT) From: Robert Bonomi To: freebsd-questions@freebsd.org, mexas@bristol.ac.uk Subject: Re: mail(1) save command does not work as in the man page > > Any comments? This is the 'standard'/*EXPECTED* behavior of 'mail', and has been, since the early 1980s. (I still use 'mail' as my standard mail client'.) If invoked _without_ specifying a maibox, 1) mail that is written to another mailbox is deleted from the inbox on exit. 2) mail that was read, but _not_ written/deleted is saved to 'mbox'. If invoked *WITH* '-f', messages are not deleted/moved on exit. you must _explicitly_ perform any desired actions. You've found a bug in the _documentation_, not the progam. :) ok, I might make a patch for mail.1 when I have the time. Thanks From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 07:38:24 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 72324106566B for ; Thu, 26 Jul 2012 07:38:24 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoom.lafn.org (zoom.lafn.org [108.92.93.123]) by mx1.freebsd.org (Postfix) with ESMTP id 42A618FC14 for ; Thu, 26 Jul 2012 07:38:24 +0000 (UTC) Received: from [10.0.1.2] (pool-98-112-217-228.lsanca.fios.verizon.net [98.112.217.228]) (authenticated bits=0) by zoom.lafn.org (8.14.3/8.14.2) with ESMTP id q6Q7cHFk061124; Thu, 26 Jul 2012 00:38:17 -0700 (PDT) (envelope-from bc979@lafn.org) Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=iso-8859-1 From: Doug Hardie In-Reply-To: Date: Thu, 26 Jul 2012 00:38:17 -0700 Content-Transfer-Encoding: 7bit Message-Id: <2E162641-C9BE-4FD8-8055-8A57C5949DF8@lafn.org> References: <1343228557.99992.androidMobile@web140705.mail.bf1.yahoo.com> <20120726005343.5f4f604c.freebsd@edvax.de> <20120726010633.5b206610.freebsd@edvax.de> <20120726004115.GB53190@neutralgood.org> <20120726023336.GA25888@hemlock.hydra> To: Ryan Noll X-Mailer: Apple Mail (2.1278) X-Virus-Scanned: clamav-milter 0.97 at zoom.lafn.org X-Virus-Status: Clean Cc: freebsd-questions@freebsd.org Subject: Re: how to speed up port make?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 07:38:24 -0000 On 25 July 2012, at 23:04, Ryan Noll wrote: > Hello, > > On Jul 25, 2012 7:34 PM, "Chad Perrin" wrote: >> You kids have got it easy. I used to have to compile by hand with a pair >> of tweezers, bar copper wire, a magnifying glass, and a potato with two >> pieces of metal stuck in it as a power source. > > Ha-ha... Ah those were the days..., but does anyone remember the "old" way > of building the kernel in the 2.2.8 days? I was just getting started doing > the basic system setup/admin things in those days. Back then (1998 or so) I > did not have access to broadband, so I did not even update the sources back > then, but I knew that it was a good idea to remove devices from the GENERIC > kernel that I did not have--thanks to the book by Greg Lehey. (Even though > the version of "The Complete FreeBSD" I bought is so out of date I cannot > bring myself to throw it away--it was my guide back in those days.) > > Does anyone else remember "The Complete FreeBSD"? Its sitting in my bookshelf. Its pretty worn out though. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 08:13:27 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7F7B0106566B for ; Thu, 26 Jul 2012 08:13:27 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 004798FC12 for ; Thu, 26 Jul 2012 08:13:26 +0000 (UTC) Received: by bkcje9 with SMTP id je9so1010055bkc.13 for ; Thu, 26 Jul 2012 01:13:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=6t3AWXavlg5A4gZYy/5QDenIjDw6qdKHfv28CUehDgQ=; b=gU5deWKKI4sAPiktJnE+1dF4COWVWLiANCwUaBzXQ2rSNVsW5ArpfTjl+M/lTlL7y8 2w7oGdub1l+7vi21MYWJMWM/F4piU7K4y9n4qNdXb7aGXz0HFhnbGdGq5lyoRlemkR9W 9d1d6L6SOg1/iGCh4f22m9dLyvbg0JQfcMQRcnAyH2FpfJznm7Hbi0l8lsPsEXZcny0P r+fc3AqfYiP/L3D06Wv9xXktoxhB6Ud6MLEzCczBbSir/l/lkRWsh+I5/ZdaLh5Ulm0Y Zm4HfwidiyL0KNqZ3dtvivOHd0kRknSjdrLIwu+j/T8czOc51EdxsAtYQEsFG6Ec346l KyTA== Received: by 10.204.128.214 with SMTP id l22mr13060546bks.86.1343290405761; Thu, 26 Jul 2012 01:13:25 -0700 (PDT) Received: from green.tandem.local (24-119-132-95.pool.ukrtel.net. [95.132.119.24]) by mx.google.com with ESMTPS id g6sm13943290bkg.2.2012.07.26.01.13.23 (version=SSLv3 cipher=OTHER); Thu, 26 Jul 2012 01:13:24 -0700 (PDT) Message-ID: <5010FC21.3020207@gmail.com> Date: Thu, 26 Jul 2012 11:13:21 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120605 Firefox/12.0 SeaMonkey/2.9.1 MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org References: <1343228557.99992.androidMobile@web140705.mail.bf1.yahoo.com> In-Reply-To: <1343228557.99992.androidMobile@web140705.mail.bf1.yahoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: how to speed up port make?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 08:13:27 -0000 Mr U wrote: > is it possible to speed up port make ?? > i want to install openbox and xorg on a Pentium 4 and 2gb ram, > compiling xorg takes about 2 hours 1. You can use devel/ccache to cache compiled data. This way when you are compiling anything for a second time you'll get a big speed boost. Consider compiling kernel+world in 1 hour instead of 8 hours. 1a. If using clang setenv CCACHE_CPP2. 2. Try switching to clang, it has lower memory requirements and compilation speed. Be ready to disable it for some ports that have nonstandard code. 2a. Don't try to build world with clang if you need wine/openoffice/libreoffice. They are known not to work on a world built with clang. 3. Use tmpfs for port building. I always use a big swap and point WRKSRCDIR to /tmp/ports. 4. Finetune your compilation flags. The safest way to select one is to run `(gcc|gcc46|clang) -E -v -march=native - < /dev/null` and select the lowest -march value then write it down to /etc/make.conf as CPUTYPE. 5. Use port management tools like portmaster. When building big ports it will split building down to individual ports cleaning disk between builds. This keeps cache from holding temporary files. -- Sphinx of black quartz judge my vow. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 08:39:36 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CFB0106564A for ; Thu, 26 Jul 2012 08:39:36 +0000 (UTC) (envelope-from cn2i-solaire@e-mailink.fr) Received: from smtp.e-mailink.fr (smtp.e-mailink.fr [82.97.20.66]) by mx1.freebsd.org (Postfix) with ESMTP id 8DA638FC0C for ; Thu, 26 Jul 2012 08:39:35 +0000 (UTC) Received: from smtp.e-mailink.fr (localhost [127.0.0.1]) by smtp.e-mailink.fr (Postfix) with ESMTP id 35E773D8283 for ; Thu, 26 Jul 2012 10:01:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=e-mailink.fr; h= mime-version:content-type:content-transfer-encoding:date:to:from :reply-to:subject:message-id; s=smtp1; bh=6TpByxdmMlYSjQF3iNdz8k I2ry8=; b=S9Y1YvLXC4OjPbXbG2IwzvsV26OCinRgti07zPhi6WEBcPXvBNW8Rw mE4UqzNGHXdG8uvcxM/NGHaHJsCtVuU3mI9pGHUnfYi9IUqBO01BSXjSDpiuloMt BouWqo3io0jbl+R7CVLnCBdHKHlJbNeI2v3FNWZ3nfyxQnjCftm/0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=e-mailink.fr; h=mime-version :content-type:content-transfer-encoding:date:to:from:reply-to :subject:message-id; q=dns; s=smtp1; b=PSqr07GDvLOd1XGGKChP56OQT XP2qU5iXlxgp26saitpfyma1W/JItrg1Yn0BK0v8+dtGwnsUtDHN8KqlJdrZ6R0G YnRAsu6c0b+FU/w8CIIvE+ZMFmL4XooaSAIwtqP2xjfzpmLjMenHSYWHy/ym6rtG uaA8FCn5Vo8Atn513c= Received: from [192.168.1.16] (AToulouse-754-1-12-219.w90-55.abo.wanadoo.fr [90.55.51.219]) by smtp.e-mailink.fr (Postfix) with ESMTPA id B10AA3D8084 for ; Thu, 26 Jul 2012 10:01:37 +0200 (CEST) Content-Transfer-Encoding: quoted-printable Date: Thu, 26 Jul 2012 10:39:31 +0200 To: freebsd-questions@freebsd.org From: CN2i SOLAIRE 9% Rendement Sud FRANCE X-Emailink: Ref=Elk-5088121-23080 X-Mailer: eMailink 4 Message-Id: <20120726080137.B10AA3D8084@smtp.e-mailink.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: INVESTISSEMENT SOLAIRE 39% de Rentabilite sur 6 ans MP395 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: cn2i@live.fr List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 08:39:36 -0000 Pour afficher correctem= ent la page [1]Cliquez-ici Pour = Devenir Partenaire [2]Cliq= uez-ici [3]3D"PV4_NEWSLETTER_SOLAIRE_PV4_CAVAILLON_CN2i_DEVELOPPEMENT_MARS_20= Pour Dev= enir Partenaire [4]Cliq= uez-ici Michael FRAYSSE =AB&n= bsp;Direction =BB CN2i DEVELOPPEMENT Site Web : [5]www.cn2i.fr &n= bsp; &nb= sp; Skype :=A0michael.frayss= e Accueil : 05 . 61 . 214 . 942 = ; Mobile de Permanence : 06 . 60 . 168 . 528 Fax =AB Back Office =BB : = ; 08 . 21 . 896 . 859 _____________________________________________________________________ = ______ =A9CN2i D=E9veloppement =AB Promoteur National en Investissement Photovolta=EFque =BB =AB Plate-forme de Commercialisation Centrales Solaires Photovolta=EFq= ues =BB Rcs : 502 083 652 .NAF : 66 19 B Capital Social : 50.000 =80 = &nb= sp; = &nb= sp; Si=E8ge Social : 10 Ter Avenue des PYRENEES 31120 LACROIX FALGARDE ______________________________________________________________________ _____= Michael Tv Piano YouTube : [6]http://www.youtube.com/user/MichaelMusicPiano/videos Michael Tv Piano Dailymotion : [7]http://www.dailymotion.com/Michael_Fraysse?fbc=3D503 [8]DESINSCRIPTION : CLIQUEZ-ICI = References 1. 3D"http://www.cn2i.fr/NEWSLETTER/PV4_NEWSLETTER_SOLAIRE_PV4_CAVAILL= 2. 3D"http://www.cn2i.fr/devenir_partenaire.php" 3. 3D"http://www.cn2i.fr/Projet-d-Investissement-Centrale-Photovoltaiq= 4. 3D"http://www.cn2i.fr/devenir_partenaire.php" 5. 3D"http://www.cn2i.fr"/ 6. 3D"http://www.youtube.com/user/MichaelMusicPiano/videos" 7. 3D"http://www.dailymotion.com/Michael_Fraysse?fbc=3D503" 8. 3D"mailto:desabo-solaire@e-mailink.fr?Subject=3DRef_Desabo=3DElk-50= From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 08:40:31 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0EC831065676 for ; Thu, 26 Jul 2012 08:40:31 +0000 (UTC) (envelope-from cn2i-solaire@e-mailink.fr) Received: from smtp.e-mailink.fr (smtp.e-mailink.fr [82.97.20.66]) by mx1.freebsd.org (Postfix) with ESMTP id ACEC28FC19 for ; Thu, 26 Jul 2012 08:40:30 +0000 (UTC) Received: from smtp.e-mailink.fr (localhost [127.0.0.1]) by smtp.e-mailink.fr (Postfix) with ESMTP id 5D94B3D8287 for ; Thu, 26 Jul 2012 10:02:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=e-mailink.fr; h= mime-version:content-type:content-transfer-encoding:date:to:from :reply-to:subject:message-id; s=smtp1; bh=Bf4C6PBnc0NrUTz7wFRqHx 6aD+k=; b=D04B3y7d39OvmhcK/CwW7zIMR0s5nlBgSs0o6ZB9Q3oO/GqWYKpxEE vKMbglzq5YGK2HpAxFWd8/fcoaxtst+GtkQZXYpQAP8sBQo0fwM72N42FUfsnqyh G8bmhitTb0p5OMdRMvC+Koql+japbTdiA1Xg9gS6gxczHFeGKkju8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=e-mailink.fr; h=mime-version :content-type:content-transfer-encoding:date:to:from:reply-to :subject:message-id; q=dns; s=smtp1; b=j2nKRZDfpmpeOODV2iy7G0RCe 1F3rKTA+Toxe/Ekc006WN6GzshtEoE2Lbd/ths92DbSn3rDwHw0SE/1sikBs2tnA /kn6YQo/vWNI2A2u341Awe4AqVRq7MyRaIlz2/ISN042vji90ndPbSyXiCjyJAMD AT5/ku+D3ohjpSqDPg= Received: from [192.168.1.16] (AToulouse-754-1-12-219.w90-55.abo.wanadoo.fr [90.55.51.219]) by smtp.e-mailink.fr (Postfix) with ESMTPA id CDFDF3D818D for ; Thu, 26 Jul 2012 10:02:32 +0200 (CEST) Content-Transfer-Encoding: quoted-printable Date: Thu, 26 Jul 2012 10:40:26 +0200 To: questions@freebsd.org From: CN2i SOLAIRE 9% Rendement Sud FRANCE X-Emailink: Ref=Elk-5088147-16110 X-Mailer: eMailink 4 Message-Id: <20120726080232.CDFDF3D818D@smtp.e-mailink.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: INVESTISSEMENT SOLAIRE 39% de Rentabilite sur 6 ans MP395 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: cn2i@live.fr List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 08:40:31 -0000 Pour afficher correctem= ent la page [1]Cliquez-ici Pour = Devenir Partenaire [2]Cliq= uez-ici [3]3D"PV4_NEWSLETTER_SOLAIRE_PV4_CAVAILLON_CN2i_DEVELOPPEMENT_MARS_20= Pour Dev= enir Partenaire [4]Cliq= uez-ici Michael FRAYSSE =AB&n= bsp;Direction =BB CN2i DEVELOPPEMENT Site Web : [5]www.cn2i.fr &n= bsp; &nb= sp; Skype :=A0michael.frayss= e Accueil : 05 . 61 . 214 . 942 = ; Mobile de Permanence : 06 . 60 . 168 . 528 Fax =AB Back Office =BB : = ; 08 . 21 . 896 . 859 _____________________________________________________________________ = ______ =A9CN2i D=E9veloppement =AB Promoteur National en Investissement Photovolta=EFque =BB =AB Plate-forme de Commercialisation Centrales Solaires Photovolta=EFq= ues =BB Rcs : 502 083 652 .NAF : 66 19 B Capital Social : 50.000 =80 = &nb= sp; = &nb= sp; Si=E8ge Social : 10 Ter Avenue des PYRENEES 31120 LACROIX FALGARDE ______________________________________________________________________ _____= Michael Tv Piano YouTube : [6]http://www.youtube.com/user/MichaelMusicPiano/videos Michael Tv Piano Dailymotion : [7]http://www.dailymotion.com/Michael_Fraysse?fbc=3D503 [8]DESINSCRIPTION : CLIQUEZ-ICI = References 1. 3D"http://www.cn2i.fr/NEWSLETTER/PV4_NEWSLETTER_SOLAIRE_PV4_CAVAILL= 2. 3D"http://www.cn2i.fr/devenir_partenaire.php" 3. 3D"http://www.cn2i.fr/Projet-d-Investissement-Centrale-Photovoltaiq= 4. 3D"http://www.cn2i.fr/devenir_partenaire.php" 5. 3D"http://www.cn2i.fr"/ 6. 3D"http://www.youtube.com/user/MichaelMusicPiano/videos" 7. 3D"http://www.dailymotion.com/Michael_Fraysse?fbc=3D503" 8. 3D"mailto:desabo-solaire@e-mailink.fr?Subject=3DRef_Desabo=3DElk-50= From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 08:54:35 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54C97106564A for ; Thu, 26 Jul 2012 08:54:34 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 35CA08FC1C for ; Thu, 26 Jul 2012 08:54:30 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6Q8s9l7014269; Thu, 26 Jul 2012 10:54:12 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6Q8s58w014266; Thu, 26 Jul 2012 10:54:08 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 26 Jul 2012 10:54:05 +0200 (CEST) From: Wojciech Puchar To: Volodymyr Kostyrko In-Reply-To: <5010FC21.3020207@gmail.com> Message-ID: References: <1343228557.99992.androidMobile@web140705.mail.bf1.yahoo.com> <5010FC21.3020207@gmail.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 passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Thu, 26 Jul 2012 10:54:14 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: how to speed up port make?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 08:54:35 -0000 > > 2. Try switching to clang, it has lower memory requirements and compilation ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is simply not true. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 08:56:37 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 56DE6106564A for ; Thu, 26 Jul 2012 08:56:37 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 3EB668FC15 for ; Thu, 26 Jul 2012 08:56:27 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6Q8tHwK014292; Thu, 26 Jul 2012 10:55:17 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6Q8tFSK014289; Thu, 26 Jul 2012 10:55:17 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 26 Jul 2012 10:55:15 +0200 (CEST) From: Wojciech Puchar To: RW In-Reply-To: <20120726031450.5c06dd61@gumby.homeunix.com> Message-ID: References: <201207260052.q6Q0qdss086796@mail.r-bonomi.com> <20120726031450.5c06dd61@gumby.homeunix.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Thu, 26 Jul 2012 10:55:17 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: geli - selecting cipher X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 08:56:37 -0000 >> >> 'CBC' -- [C]ypher [B]lock [C]hainig -- is well-suited for strictly >> -sequential- data access. Try reading the blocks of a large (say >> 10gB) file in *reverse* order and see what kind of performance you >> get. how about randomio test on geli encrypted ramdisk? AES-CBC still 3 times faster From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 09:13:06 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87ACC106564A for ; Thu, 26 Jul 2012 09:13:06 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0D9788FC16 for ; Thu, 26 Jul 2012 09:13:05 +0000 (UTC) Received: by bkcje9 with SMTP id je9so1044359bkc.13 for ; Thu, 26 Jul 2012 02:13:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=1YPZGyfM2d3UUoUgw7AJNsCYf7Ki0v21rSA/xUUvE90=; b=U4WrKr+E7K0YUt1Iix6cSg3hFP+PG6ftseOm07Xyf/LydUMN+GdteV9+gYB26J3hAI 48NPjX38nslrTbGIvKgn/2GToPRGqxQWXps3eyIjZriOBr733GHGLOPHuva2TfPVd8dD FXEMciYWZvoYBQE08FneiacAuh4syzvGRPeAJx2o9dPtW9ULyoBjOo52ChjscCFtNq1a EwrTZ8kTGr9z4N+8LHyBBrbV/jLCii0RbcieK6sej4Uzzn3+Ql/iS1nAX+VcRs+0p+2B b18TA8aUSchHtkU8J0QUDuboJtSf6OjXmaGih/COjoZ5Qjb9jUsA2ertlcJznLhzNGnI fLBg== Received: by 10.204.132.80 with SMTP id a16mr13803435bkt.82.1343293985043; Thu, 26 Jul 2012 02:13:05 -0700 (PDT) Received: from green.tandem.local (24-119-132-95.pool.ukrtel.net. [95.132.119.24]) by mx.google.com with ESMTPS id c18sm14063390bkv.8.2012.07.26.02.13.03 (version=SSLv3 cipher=OTHER); Thu, 26 Jul 2012 02:13:04 -0700 (PDT) Message-ID: <50110A1D.3080900@gmail.com> Date: Thu, 26 Jul 2012 12:13:01 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120605 Firefox/12.0 SeaMonkey/2.9.1 MIME-Version: 1.0 To: Wojciech Puchar References: <1343228557.99992.androidMobile@web140705.mail.bf1.yahoo.com> <5010FC21.3020207@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: how to speed up port make?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 09:13:06 -0000 Wojciech Puchar wrote: >> >> 2. Try switching to clang, it has lower memory requirements and >> compilation > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > this is simply not true. This is simply not the point. Let's not start it again. The question was clearly about compilation speed where clang outperforms gcc by far. As for execution speed for now there's no clear winner: http://www.phoronix.com/scan.php?page=news_item&px=MTA5Nzc -- Sphinx of black quartz judge my vow. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 09:13:41 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 848521065670 for ; Thu, 26 Jul 2012 09:13:41 +0000 (UTC) (envelope-from reko.turja@liukuma.net) Received: from www.liukuma.net (www.liukuma.net [77.86.213.15]) by mx1.freebsd.org (Postfix) with ESMTP id 2D2668FC1A for ; Thu, 26 Jul 2012 09:13:41 +0000 (UTC) Received: from www.liukuma.net (localhost [127.0.0.1]) by www.liukuma.net (Postfix) with ESMTP id 6417A1CCAA for ; Thu, 26 Jul 2012 12:13:34 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=liukuma.net; s=liukudkim; t=1343294014; bh=W8mbPJeht/X1CHAiiMvdzcMsPjfc8XAOJy+aQRsUpsc=; h=From:To:References:In-Reply-To:Subject:Date; b=VRg8K2l8GrNdWA10qJm9CJTH+/wUGLRG64PCKh1i5sJqyTNgYrGVWMlTJ2qw1Lu5y nr/LhVOr94mrQAFrwvfMXgvuU0VBpQchhpRUlt6pJimx+vWLPalcjqR6j6sT8tKlzn TCZFsLrkEMMiNNSdL4MGihWKyLaFkwPh90ZikKic= X-Virus-Scanned: amavisd-new at liukuma.net Received: from www.liukuma.net ([127.0.0.1]) by www.liukuma.net (www.liukuma.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id v6RjHf57m9WU for ; Thu, 26 Jul 2012 12:13:30 +0300 (EEST) Received: from Rivendell (dsl-kmibrasgw1-fe47de00-175.dhcp.inet.fi [80.222.71.175]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client did not present a certificate) (Authenticated sender: ignatz@www.liukuma.net) by www.liukuma.net (Postfix) with ESMTPSA id 0CDFC1CCA8 for ; Thu, 26 Jul 2012 12:13:30 +0300 (EEST) Message-ID: From: "Reko Turja" To: References: <1343228557.99992.androidMobile@web140705.mail.bf1.yahoo.com><5010FC21.3020207@gmail.com> In-Reply-To: Date: Thu, 26 Jul 2012 12:13:28 +0300 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 Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3555.308 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3555.308 Subject: Re: how to speed up port make?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 09:13:41 -0000 -----Original Message----- From: Reko Turja Sent: Thursday, July 26, 2012 12:12 PM To: Wojciech Puchar Subject: Re: how to speed up port make?? -----Original Message----- From: Wojciech Puchar > > 2. Try switching to clang, it has lower memory requirements and > > compilation > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > this is simply not true. Clang is far faster when compiling code than GCC, which you would know if you tried it, instead of living in your opinionated la-la land. -Reko From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 09:28:36 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 865131065670 for ; Thu, 26 Jul 2012 09:28:36 +0000 (UTC) (envelope-from milu@dat.pl) Received: from jab.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id DE7348FC0A for ; Thu, 26 Jul 2012 09:28:35 +0000 (UTC) Received: from jab.dat.pl (jsrv.dat.pl [127.0.0.1]) by jab.dat.pl (Postfix) with ESMTP id 8F092EC; Thu, 26 Jul 2012 11:21:50 +0200 (CEST) X-Virus-Scanned: amavisd-new at dat.pl Received: from jab.dat.pl ([127.0.0.1]) by jab.dat.pl (jab.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id iDvbxMZr2acy; Thu, 26 Jul 2012 11:21:41 +0200 (CEST) Received: from [10.0.6.81] (unknown [212.69.68.42]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by jab.dat.pl (Postfix) with ESMTPSA id 76CA155; Thu, 26 Jul 2012 11:21:41 +0200 (CEST) Message-ID: <50110C2A.20204@dat.pl> Date: Thu, 26 Jul 2012 11:21:46 +0200 From: Maciej Milewski User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20120721133611.GA3755@tinyCurrent> <201207231737.43075.erichfreebsdlist@ovitrap.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Manish Jain Subject: Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 09:28:36 -0000 On 24.07.2012 10:59, Manish Jain wrote: > Jul 23 22:36:15 bourne kernel: ugen0.2: at > usbus0 > Jul 23 22:36:15 bourne kernel: ugen1.2: at usbus1 > Jul 23 22:36:15 bourne kernel: umass0: Mobile, class 0/0, rev 1.10/0.00, addr 2> on usbus1 > Jul 23 22:36:15 bourne kernel: umass0: SCSI over Bulk-Only; quirks = > 0x0000 > Jul 23 22:36:15 bourne kernel: ugen2.2: at usbus2 > Jul 23 22:36:15 bourne kernel: uhub7: 9/0, rev 2.00/77.60, addr 2> on usbus2 > Jul 23 22:36:15 bourne kernel: Root mount waiting for: usbus2 > Jul 23 22:36:15 bourne kernel: uhub7: 4 ports with 4 removable, self > powered > Jul 23 22:36:15 bourne kernel: Trying to mount root from ufs:/dev/ad8s2a > Jul 23 22:36:15 bourne kernel: umass0:0:0:-1: Attached to scbus0 > Jul 23 22:36:15 bourne kernel: cd0 at umass-sim0 bus 0 scbus0 target 0 > lun 0 > Jul 23 22:36:15 bourne kernel: cd0: > Removable CD-ROM SCSI-0 device > Jul 23 22:36:15 bourne kernel: cd0: 1.000MB/s transfers > Jul 23 22:36:15 bourne kernel: cd0: cd present [52352 x 2048 byte > records] > Jul 23 22:36:15 bourne kernel: (probe0:umass-sim0:0:0:1): TEST UNIT > READY. CDB: 0 20 0 0 0 0 > Jul 23 22:36:15 bourne kernel: (probe0:umass-sim0:0:0:1): CAM status: > SCSI Status Error > Jul 23 22:36:15 bourne kernel: (probe0:umass-sim0:0:0:1): SCSI status: > Check Condition > Jul 23 22:36:15 bourne kernel: (probe0:umass-sim0:0:0:1): SCSI sense: > NOT READY asc:3a,0 (Medium not present) > Jul 23 22:36:15 bourne kernel: da0 at umass-sim0 bus 0 scbus0 target 0 > lun 1 > Jul 23 22:36:15 bourne kernel: da0: Removable > Direct Access SCSI-2 device > Jul 23 22:36:15 bourne kernel: da0: 1.000MB/s transfers > Jul 23 22:36:15 bourne kernel: da0: Attempt to query device size > failed: NOT READY, Medium not present cd0 is containing windows drivers on pseudo-CD interface. On my Merlin device simple ejecting cd0 is enabling 3 data interfaces from which one can be used to connect to the mobile network. However some devices have builtin quirk in u3g to make that automagicaly. You can try issuing cdcontrol -f /dev/cd0 eject and observe what new is showing in /var/log/messages or dmesg. da0 is probably microSD card reader. > Jul 23 22:36:16 bourne kernel: u3g0: on usbus1 > Jul 23 22:36:16 bourne kernel: u3g0: Found 3 ports. > Jul 23 22:36:16 bourne root: Unknown USB device: vendor 0x051d product > 0x0002 bus uhub0 > Jul 23 22:36:17 bourne root: Unknown USB device: vendor 0x051d product > 0x0002 bus uhub0 > Jul 23 22:36:19 bourne apcupsd[1165]: apcupsd 3.14.8 (16 January 2010) > freebsd startup succeeded > Jul 23 22:36:19 bourne kernel: tun0: link state changed to UP > Jul 23 22:36:19 bourne lpd[1227]: lpd startup: logging=0 > Jul 23 22:36:19 bourne kernel: fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8 > Jul 23 22:36:20 bourne apcupsd[1165]: Power failure. > Jul 23 22:36:21 bourne avahi-daemon[1471]: WARNING: No NSS support for > mDNS detected, consider installing nss-mdns! > Jul 23 22:36:25 bourne apcupsd[1165]: Running on UPS batteries. > Jul 23 22:36:27 bourne apcupsd[1165]: Mains returned. No longer on UPS > batteries. > Jul 23 22:36:27 bourne apcupsd[1165]: Power is back. UPS running on > mains. > Jul 23 22:36:37 bourne login: ROOT LOGIN (root) ON ttyv0 > Jul 23 22:36:49 bourne ppp[1217]: tun0: Warning: Chat script failed > Jul 23 22:37:20 bourne ppp[1217]: tun0: Warning: Chat script failed > > Any help in pointing out what error I am making will be greatly > appreciated. Remember, I cannot install any new port since my FreeBSD > box does not yet connect to the internet. > > > Thanks & > -- Pozdrawiam, Maciej Milewski From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 09:36:28 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D56DB106566C for ; Thu, 26 Jul 2012 09:36:28 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8124A8FC1B for ; Thu, 26 Jul 2012 09:36:28 +0000 (UTC) Received: by vcbgb22 with SMTP id gb22so1759516vcb.13 for ; Thu, 26 Jul 2012 02:36:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=tIm+eQkpJ3MCun0Q8opVxck5IAgpw561hHnoYbanfss=; b=RRCL422QHa5jfgEvxYL+A27Nn1b15dXvvwWQSAjz2GrVIgm+CYfq7jCtEyoPPr3b9O YcX8pvpOoj+ixV/KUsJgMDAnMJ1WlEEcymvOtcZtHxmZrMv2qL+c9scx8HGEWfI8zlJ+ 73o4xmlNV+l2iD9RLQ8J7epHUupNxleaCrzEjsaDo8nw11smUVdLFkmxyQp7vKXeXg3b 0lG23O5Wd4JX3OqNwchb+Uu+rAT9gF0vDgXBx+OwgzxfFkfswwqDg1VEgowK7BBEdP5v blipPbvdmnWKJxnWIk0TNQm3csH60GHuO8Hgj/QXOB1NxY+ihQ++whsJjDZVH6p0+0aN EAHQ== Received: by 10.52.71.79 with SMTP id s15mr18376643vdu.86.1343295387999; Thu, 26 Jul 2012 02:36:27 -0700 (PDT) Received: from dragon.dg (41-132-210-104.dsl.mweb.co.za. [41.132.210.104]) by mx.google.com with ESMTPS id l9sm14137566vdw.14.2012.07.26.02.36.25 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 26 Jul 2012 02:36:27 -0700 (PDT) From: David Naylor To: Mr U Date: Thu, 26 Jul 2012 11:36:18 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.0-STABLE; KDE/4.8.4; amd64; ; ) References: <1343228557.99992.androidMobile@web140705.mail.bf1.yahoo.com> In-Reply-To: <1343228557.99992.androidMobile@web140705.mail.bf1.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1744077.V0LP72ZCP8"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201207261136.21389.naylor.b.david@gmail.com> Cc: "freebsd-questions@freebsd org" Subject: Re: how to speed up port make?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 09:36:28 -0000 --nextPart1744077.V0LP72ZCP8 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Wednesday, 25 July 2012 17:02:37 Mr U wrote: > hi >=20 > is it possible to speed up port make ?? > i want to install openbox and xorg on a Pentium 4 and 2gb ram, > compiling xorg takes about 2 hours A few things you could try adding to make.conf: =46ORCE_MAKE_JOBS=3Dyes MAKE_JOBS_NUMBER=3D4 Also, you could try ports-mgmt/portbuilder as it handles concurrent buildin= g=20 of ports. =20 Regards --nextPart1744077.V0LP72ZCP8 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEABECAAYFAlARD5UACgkQUaaFgP9pFrKPGACfbBNKZI02C7x+kOKUkHT7NqAt SbAAmQFID5rrJQvVFr7X4pAlvUkTxnqs =VhXf -----END PGP SIGNATURE----- --nextPart1744077.V0LP72ZCP8-- From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 10:06:06 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D2322106564A for ; Thu, 26 Jul 2012 10:06:06 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from blu0-omc1-s21.blu0.hotmail.com (blu0-omc1-s21.blu0.hotmail.com [65.55.116.32]) by mx1.freebsd.org (Postfix) with ESMTP id 9008C8FC0C for ; Thu, 26 Jul 2012 10:06:06 +0000 (UTC) Received: from BLU0-SMTP210 ([65.55.116.8]) by blu0-omc1-s21.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 26 Jul 2012 03:04:59 -0700 X-Originating-IP: [180.215.4.239] X-Originating-Email: [bourne.identity@hotmail.com] Message-ID: Received: from [180.215.4.239] ([180.215.4.239]) by BLU0-SMTP210.phx.gbl over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Thu, 26 Jul 2012 03:04:58 -0700 Date: Thu, 26 Jul 2012 15:37:23 +0530 From: Manish Jain User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Erich Dollansky References: <20120721133611.GA3755@tinyCurrent> <201207231737.43075.erichfreebsdlist@ovitrap.com> <20120725202357.584a931f@AMD620.ovitrap.com> <20120725223628.026cbf52@AMD620.ovitrap.com> In-Reply-To: <20120725223628.026cbf52@AMD620.ovitrap.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 26 Jul 2012 10:04:59.0373 (UTC) FILETIME=[1D9A81D0:01CD6B16] Cc: Matthias Apitz , freebsd-questions@freebsd.org Subject: Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 10:06:06 -0000 On 25-Jul-12 21:06, Erich Dollansky wrote: > Hi > > On Wed, 25 Jul 2012 20:21:04 +0530 > Manish Jain wrote: >> On 25-Jul-12 18:53, Erich Dollansky wrote: >>> On Tue, 24 Jul 2012 14:29:07 +0530 >>> Manish Jain wrote: >>>> On 23-Jul-12 16:07, Erich Dollansky wrote: >>>>> On Monday 23 July 2012 16:46:04 Manish Jain wrote: >>>>>> On 21-Jul-12 19:06, Matthias Apitz wrote: >>>>>>> El día Saturday, July 21, 2012 a las 06:01:11PM +0530, Manish >>>>>>> Jain escribió: >> >> I tried switching the USB ports and have some information which could >> help you to help me : >> >> usbconfig -u 0 -a 2 dump_device_desc : >> ugen0.2: at usbus0, cfg=0 md=HOST >> spd=FULL (12Mbps) pwr=ON >> >> bLength = 0x0012 >> bDescriptorType = 0x0001 >> bcdUSB = 0x0110 >> bDeviceClass = 0x0000 >> bDeviceSubClass = 0x0000 >> bDeviceProtocol = 0x0000 >> bMaxPacketSize0 = 0x0040 >> idVendor = 0x12d1 >> idProduct = 0x140b > > This is strange. src/sys/dev/usb/usbdevs says this: > > product HUAWEI E140B 0x140b 3G modem > > This means that your product is supported > > Is this line in your usbdevs? > >> Now what should my devfs.conf contain ? Currently it contains the >> following : > > Mine is empty. Comment all entries out. This might be the problem. >> >> link cuaU0.0 modem >> own modem root:operator >> perm modem 666 >> >> link ugen0.3 usv >> own usv root:operator >> perm usv 666 >> >> link cuaU0.1 apcups >> own apcups root:operator >> perm apcups 666 >> >> Obviously, these entries are incorrect since neither my modem speaks >> to the internet nor is any signal from the APC UPS recognized. I >> believe once I have the correct devfs entries, the whole system >> should work smoothly. But please correct me if I am wrong. >> >> Surprisingly, /etc/usb_modeswitch.d contains no entries for 12d1:140b >> or 051d:*. Do I need to reinstall usb_modeswitch.d ? Or can usbconfig >> configure the devices correctly ? I am no expert here, so if yes, I >> would need the complete commands. >> > What version of FreeBSD are you using? > >> Thanks for any help. I am greatly indebted to FreeBSD and its >> philosophy making things 'as simple as possible, but not any simpler' >> - which has helped me learn a great deal about computers in general >> and managing my own computer in particular. But the USB related stuff >> still beats the hell out of me, so I need help here. > > There is something very, very simple wrong. I just do not see now what > it is. > > I have the feeling that your modem is not recognised while it should be > as it is known to FreeBSD. >> >> BTW, my system now has the usbdump command (installed from sources >> downloaded from http://biot.com/usbdump/) but no manpage. >> > You got then a Linux version which might causes more problems that you > need. > > Erich > > Hi Erich/Matthias, I did some tinkering to make _some_ progress. My APC UPS is working fine now under FreeBSD (8.2-RELEASE, amd64). I think I also now have the correct device setting in ppp.conf (/dev/cuaU0.0, also symlink'ed as /dev/modem via devfs.conf). But the modem still does not speak to internet. Here is the latest log : Jul 26 15:16:15 bourne ppp[1199]: Phase: Using interface: tun0 Jul 26 15:16:15 bourne ppp[1199]: Phase: deflink: Created in closed state Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: default: set device /dev/modem Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: default: set speed 115200 Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: default: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 "" AT OK-AT-OK AT&FE0V1X1&D2&C1S0=0 OK \dATDT\T TIMEOUT 40 CONNECT Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: default: set timeout 180 Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: default: enable dns Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: huawei: set phone #777 Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: huawei: set device /dev/cuaU0.0 Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: huawei: set login Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: huawei: set authname internet@internet.mtsindia.in Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: huawei: set authkey ******** Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: huawei: set timeout 0 Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: huawei: disable ipv6cp Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: huawei: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: huawei: add default HISADDR Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: huawei: set dial AT+CRM=1 Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: huawei: accept PAP CHAP Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: huawei: enable dns Jul 26 15:16:15 bourne ppp[1217]: tun0: Phase: PPP Started (auto mode). Jul 26 15:16:15 bourne ppp[1217]: tun0: Phase: bundle: Establish Jul 26 15:16:15 bourne ppp[1217]: tun0: Phase: deflink: closed -> opening Jul 26 15:16:15 bourne ppp[1217]: tun0: Phase: deflink: Connected! Jul 26 15:16:15 bourne ppp[1217]: tun0: Phase: deflink: opening -> dial Jul 26 15:16:15 bourne ppp[1217]: tun0: Chat: Phone: #777 Jul 26 15:16:15 bourne ppp[1217]: tun0: Chat: deflink: Dial attempt 1 of 1 Jul 26 15:16:15 bourne ppp[1217]: tun0: Chat: Expect(30): AT+CRM=1 Jul 26 15:16:45 bourne ppp[1217]: tun0: Chat: Expect timeout Jul 26 15:16:45 bourne ppp[1217]: tun0: Warning: Chat script failed Jul 26 15:16:45 bourne ppp[1217]: tun0: Phase: deflink: dial -> hangup Jul 26 15:16:45 bourne ppp[1217]: tun0: Phase: deflink: Disconnected! Jul 26 15:16:45 bourne ppp[1217]: tun0: Phase: deflink: Connect time: 30 secs: 0 octets in, 0 octets out Jul 26 15:16:45 bourne ppp[1217]: tun0: Phase: deflink: 0 packets in, 0 packets out Jul 26 15:16:45 bourne ppp[1217]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Thu Jul 26 15:16:15 2012 Jul 26 15:16:45 bourne ppp[1217]: tun0: Phase: deflink: hangup -> closed Jul 26 15:16:45 bourne ppp[1217]: tun0: Phase: bundle: Dead I uninstalled usb-modeswitch since I presume u3g.ko would suffice. This line is present in /usr/src/sys/dev/usb/serial/u3g.c (as part of the struct usb_device_id u3g_devs[]) : U3G_DEV(HUAWEI, E140B, U3GINIT_HUAWEI), //line 232 Could it be that I am using the wrong AT commands ? Win XP commands are underneath : 07-23-2012 23:56:23.203 - Modem type: HUAWEI Mobile Connect - Modem 07-23-2012 23:56:23.203 - Modem inf path: oem10.inf 07-23-2012 23:56:23.203 - Modem inf section: Modem1 07-23-2012 23:56:23.203 - Matching hardware ID: usb\vid_12d1&pid_140b&mi_00 07-23-2012 23:56:23.234 - 460800,8,N,1, ctsfl=0, rtsctl=1 07-23-2012 23:56:23.234 - Initializing modem. 07-23-2012 23:56:23.250 - Send: AT 07-23-2012 23:56:23.250 - Recv: OK 07-23-2012 23:56:23.250 - Interpreted response: OK 07-23-2012 23:56:23.265 - Send: AT&FE0V1X1&D2&C1S0=0 07-23-2012 23:56:23.296 - Recv: OK 07-23-2012 23:56:23.296 - Interpreted response: OK 07-23-2012 23:56:23.296 - Send: AT 07-23-2012 23:56:23.296 - Recv: OK 07-23-2012 23:56:23.296 - Interpreted response: OK 07-23-2012 23:56:23.296 - Waiting for a call. 07-23-2012 23:56:23.312 - Send: ATS0=0 07-23-2012 23:56:23.312 - Recv: OK 07-23-2012 23:56:23.312 - Interpreted response: OK 07-23-2012 23:56:23.312 - 921600,8,N,1, ctsfl=1, rtsctl=2 07-23-2012 23:56:23.328 - Initializing modem. 07-23-2012 23:56:23.343 - Send: AT 07-23-2012 23:56:23.343 - Recv: OK 07-23-2012 23:56:23.343 - Interpreted response: OK 07-23-2012 23:56:23.343 - Send: AT&FE0V1X1&D2&C1S0=0 07-23-2012 23:56:23.375 - Recv: OK 07-23-2012 23:56:23.375 - Interpreted response: OK 07-23-2012 23:56:23.390 - Send: AT 07-23-2012 23:56:23.390 - Recv: OK 07-23-2012 23:56:23.390 - Interpreted response: OK 07-23-2012 23:56:23.390 - Passthrough On 07-23-2012 23:56:31.281 - Passthrough Off 07-23-2012 23:56:31.281 - 460800,8,N,1, ctsfl=0, rtsctl=1 07-23-2012 23:56:31.296 - Initializing modem. 07-23-2012 23:56:31.296 - Send: AT 07-23-2012 23:56:31.312 - Recv: AT 07-23-2012 23:56:31.312 - Command Echo 07-23-2012 23:56:31.312 - Recv: OK 07-23-2012 23:56:31.312 - Interpreted response: OK 07-23-2012 23:56:31.312 - Send: AT&FE0V1X1&D2&C1S0=0 07-23-2012 23:56:31.312 - Recv: AT&FE0V1X1&D2&C1S0=0 07-23-2012 23:56:31.312 - Command Echo 07-23-2012 23:56:31.359 - Recv: OK 07-23-2012 23:56:31.359 - Interpreted response: OK 07-23-2012 23:56:31.375 - Send: AT 07-23-2012 23:56:31.375 - Recv: OK 07-23-2012 23:56:31.375 - Interpreted response: OK 07-23-2012 23:56:31.375 - Dialing. 07-23-2012 23:56:31.375 - Send: ATDT#### 07-23-2012 23:56:33.000 - Recv: CONNECT 153600 07-23-2012 23:56:33.000 - Interpreted response: Connect 07-23-2012 23:56:33.000 - Receive Connect but CD was low, Waiting for signal to go high 07-23-2012 23:56:33.015 - After waiting 20ms CD is still low. 07-23-2012 23:56:33.046 - CD has been raised 07-23-2012 23:56:33.046 - Connection established at 153600bps. 07-23-2012 23:56:33.046 - Error-control off or unknown. 07-23-2012 23:56:33.046 - Data compression off or unknown. 07-23-2012 23:57:03.046 - Read: Total: 7732, Per/Sec: 255, Written: Total: 4478, Per/Sec: 148 Thanks for any help. -- Regards, Manish Jain +91-99620-10329 From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 10:23:50 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C936C106566C for ; Thu, 26 Jul 2012 10:23:50 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 51D308FC18 for ; Thu, 26 Jul 2012 10:23:48 +0000 (UTC) Received: by eeke52 with SMTP id e52so325298eek.13 for ; Thu, 26 Jul 2012 03:23:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=TF4HdARwiZUuPM9fFJy5Gigku73+Bw9adOLHe75dV+0=; b=EuIUqzic1RhBtCAR8iuxGG8UMaYrJEGG/HprIBEg7M15XgyQtFoxQKEMjFkTkJX8xV x6bUcEtv94CA9i4ehV69Fl1mGy4UVizan6vAKfxLdvPdpCbwF+/rb6cmqZyYOCy65UGC B/iXxxvUy6znVbkTM1SvlnAvonXIAxkjtzs+hD6hxsz8IjXMu9BcZVT/2nxm5SEYcJhP OkKWzNQaUVKr2NRaxBjpnf0k0Aimv2Tv2+qJKtzTBmNspPSwfLO+jMevXHYOuid8562G DfZmatYLZgHaTuJHN/IALkWRjA6WsgVtr9QukpW+ScWcirygCXkoEZ8Zhvf2l/TD6njH S+qw== Received: by 10.14.178.129 with SMTP id f1mr3414994eem.5.1343298227830; Thu, 26 Jul 2012 03:23:47 -0700 (PDT) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id u48sm7445491eep.7.2012.07.26.03.23.45 (version=SSLv3 cipher=OTHER); Thu, 26 Jul 2012 03:23:46 -0700 (PDT) Message-ID: <50111AB1.7060205@my.gd> Date: Thu, 26 Jul 2012 12:23:45 +0200 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <500FDCE4.8060607@my.gd> <500FF037.4020302@my.gd> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQm+uH+pUsGZVYPKGIESQ1fVYQipy74Gg6L5EHS5HuiDQDaV8vXZ4MQ1NtuntMQ3VNZ9k0Pz Subject: Re: Security - logging of user commands X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 10:23:50 -0000 On 7/25/12 6:15 PM, jb wrote: > Damien Fleuriot my.gd> writes: > >> ... >> >From my syslog.conf: >> auth.info;authpriv.info /var/log/auth.log >> >> Yet I'm seeing not a trail in /var/log/auth.log , or messages, or even >> in secure >> ... > > # less /var/log/auth.log > Feb 22 21:13:56 localhost newsyslog[1503]: logfile first created > Feb 22 21:14:07 localhost login: login on ttyv0 as jb > Feb 22 21:14:15 localhost su: jb to root on /dev/ttyv0 > ... > Jul 25 15:23:48 localhost su: jb to root on /dev/pts/3 > Jul 25 17:25:05 localhost snoopy[50059]: [uid:0 sid:45449 tty:/dev/pts/2 > cwd:/usr/ports/security/snoopy filename:/usr/bin/touch]: touch > /etc/ld.so.preload > Jul 25 17:25:05 localhost snoopy[50060]: [uid:0 sid:45449 tty:/dev/pts/2 > cwd:/usr/ports/security/snoopy filename:/usr/bin/grep]: grep -c > ^/usr/local/lib//snoopy.so /etc/ld.so.preload > Jul 25 17:52:29 localhost snoopy[50145]: [uid:0 sid:46687 tty:/dev/pts/3 > cwd:/usr/home/jb filename:/usr/bin/less]: less /var/log/auth.log > Jul 25 17:54:03 localhost snoopy[50148]: [uid:0 sid:46687 tty:/dev/pts/3 > cwd:/usr/home/jb filename:/usr/bin/touch]: touch test1 > Jul 25 17:54:08 localhost snoopy[50149]: [uid:0 sid:46687 tty:/dev/pts/3 > cwd:/usr/home/jb filename:/usr/bin/less]: less /var/log/auth.log > [root@localhost /home/jb]# > > jb > > Well, after some digging I am sorry to report that security/snoopy/ is, imho, quite bugged on 8-STABLE and 9-STABLE alike. Let's take the example of logging the current working directory: Below is the statement from ./configure --help : Optional Features: [snip] --disable-cwd-logging disable logging of Current Working Directory [default=enabled] >From config.h:66 /* Enable logging of Current Working Directory */ /* #undef SNOOPY_CWD_LOGGING */ >From configure:4298 #define SNOOPY_CWD_LOGGING 1 >From snoopy.c:127 /* Create logMessage */ #if defined(SNOOPY_CWD_LOGGING) Small edits to snoopy.c to check if current working directory logging is really enabled: --- snoopy.c.orig 2012-07-26 10:16:06.000000000 +0000 +++ snoopy.c 2012-07-26 10:18:05.000000000 +0000 @@ -123,12 +123,18 @@ logString[logStringSize-1] = '\0'; +/* Check wether SNOOPY_CWD_LOGGING is _really_ defined or not */ +int cwdlog=0; +#if defined(SNOOPY_CWD_LOGGING) +cwdlog=1; +#endif + /* Create logMessage */ #if defined(SNOOPY_CWD_LOGGING) getCwdRet = getcwd(cwd, PATH_MAX+1); - sprintf(logMessage, "[uid:%d sid:%d tty:%s cwd:%s filename:%s]: %s", getuid(), getsid(0), ttyPath, cwd, filename, logString); + sprintf(logMessage, "[uid:%d sid:%d tty:%s cwd:%s filename:%s]: %s", getuid(), getsid(0), ttyPath, cwd, filename, logString); #else - sprintf(logMessage, "[uid:%d sid:%d tty:%s filename:%s]: %s", getuid(), getsid(0), ttyPath, filename, logString); + sprintf(logMessage, "cwdlog: %d - [uid:%d sid:%d tty:%s filename:%s]: %s", cwdlog, getuid(), getsid(0), ttyPath, filename, logString); #endif And the result: gmake snoopy.so setenv LD_PRELOAD /usr/ports/security/snoopy/work/snoopy-1.8.0/snoopy.so /etc/rc.d/named status Yields, amongst others: Jul 26 10:19:00 pf1 snoopy[96561]: cwdlog: 0 - [uid:0 sid:92850 tty:/dev/pts/0 filename:/bin/ps]: /bin/ps -ww -o pid= -o jid= -o command= -p 1073 Notice how "cwdlog" is set to 0 which means we don't want to log the CWD, although configure reports "SNOOPY_CWD_LOGGING 1" I think that might not be the only bug, seeing only root actions seem to be logged although the default should be to log every user. I'd like to point out that apart from these edits for my tests this is a *vanilla* install of snoopy. Might anyone confirm the issue ? The above is true for 8.1-RELEASE, 8-STABLE , 9-STABLE with snoopy being at version 1.8.0 on all of them. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 10:48:58 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0217B106564A for ; Thu, 26 Jul 2012 10:48:58 +0000 (UTC) (envelope-from venkatduvvuru.ml@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id B20A88FC08 for ; Thu, 26 Jul 2012 10:48:57 +0000 (UTC) Received: by yhfs35 with SMTP id s35so2103041yhf.13 for ; Thu, 26 Jul 2012 03:48:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=jOf4aVNjqURxuGLcg34WlS0mlmnApvGRDL7c4QER+lg=; b=H1nJGcRo78Y+e2JUN7wIpsPPFw3ksUl/uIjF76XuzzxhRkDeMbKNWTH+zxtXeY4Zb1 D+ne0seJhxKK+Iw+/fSNaYGo3DExDmC52U+FQX1SdBqE2D2op9ygy8xG0qbI7pC0V1MI vpvEuGKE/aG5HEgUQNPDtev4WaQZSlHYiwlMBWbXuOCuBxAmU0aLEBl+cst/BELUOfLh JLn3zwOGEcP4RKvgVgYYNCxfTFlcHVXnUGuSnAoVNnpAiLJCFLnOoUALc7muAXW3rCNE ZIlpnnHnjrcOsUA+tVCh7xu48QtEcsAXGBD+ZLn1YU5tNvyhmB+0UG2/NVHQ08HvakVX AIEA== MIME-Version: 1.0 Received: by 10.50.189.135 with SMTP id gi7mr1186255igc.8.1343299736677; Thu, 26 Jul 2012 03:48:56 -0700 (PDT) Received: by 10.64.65.166 with HTTP; Thu, 26 Jul 2012 03:48:56 -0700 (PDT) Date: Thu, 26 Jul 2012 16:18:56 +0530 Message-ID: From: Venkat Duvvuru To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Freebsd build 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, 26 Jul 2012 10:48:58 -0000 Hi, I'm unable to compile the kernel code (for that matter any kernel module also). The following is the error. My guess is that it is trying to compile the code for x86 instead of amd64 as you can a symbolic link create for x86 includes. Please suggest the change to be done inorder to compile it for amd64. "Uname -a" of the system "FreeBsd 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64" ==================================================================================================================================================================================== -------------------------------------------------------------- >>> stage 3.1: making dependencies -------------------------------------------------------------- cd /usr/obj/usr/src/sys/MYKERNEL; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=amd64 MACHINE=amd64 CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac _SHLIBDIRPREFIX=/usr/obj/usr/src/tmp VERSION="FreeBSD 9.0-RELEASE-p3 amd64 900044" INSTALL="sh /usr/src/tools/install.sh" PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin NO_CTF=1 make KERNEL=kernel depend -DNO_MODULES_OBJ machine -> /usr/src/sys/amd64/include x86 -> /usr/src/sys/x86/include cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath -I/usr/src/sys/dev/ath/ath_hal -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/gnu/fs/xfs/FreeBSD -I/usr/src/sys/gnu/fs/xfs/FreeBSD/support -I/usr/src/sys/gnu/fs/xfs -I/usr/src/sys/dev/cxgb -I/usr/src/sys/dev/cxgbe -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mno-sse -mcmodel=kernel -mno-red-zone -mno-mmx -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector /usr/src/sys/amd64/amd64/genassym.c In file included from ./x86/_align.h:6, from ./x86/_align.h:6, from ./x86/_align.h:6, from ./x86/_align.h:6, from ./x86/_align.h:6, from ./machine/_align.h:6, from ./machine/param.h:46, from /usr/src/sys/sys/param.h:115, from /usr/src/sys/amd64/amd64/genassym.c:42: ./x86/_align.h:6:24: error: #include nested too deeply In file included from ./x86/_align.h:6, from ./x86/_align.h:6, from ./x86/_align.h:6, from ./machine/_align.h:6, from /usr/src/sys/sys/socket.h:39, from /usr/src/sys/amd64/amd64/genassym.c:54: ./x86/_align.h:6:24: error: #include nested too deeply /usr/src/sys/amd64/amd64/genassym.c:69:25: error: x86/apicreg.h: No such file or directory /usr/src/sys/amd64/amd64/genassym.c:230: error: invalid use of undefined type 'struct LAPIC' *** 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 Thu Jul 26 11:27:41 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1DF7F106564A for ; Thu, 26 Jul 2012 11:27:41 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 978DA8FC08 for ; Thu, 26 Jul 2012 11:27:40 +0000 (UTC) Received: by eaa11 with SMTP id 11so205059eaa.13 for ; Thu, 26 Jul 2012 04:27:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=8RjpMr2mBRh1qudw6TZPyM5cNs3reeqCa4dzuIC8rmI=; b=b80dyLTFTrA0Ndb9erJb972UPLjN0xR0AwkaeW9qxPb4JBzAMA8SAkxnpkApPC6LAx xlRJ2bx8XDGPkl0BjbToHCtddDxBbuolnKQTTQPacC608iJOqbAZLeAub4x/H8WL5NF7 22LJ6Kc5JVf+qtazCIL8TQqGedKG4KOX15nXv6RkIk7bA5tE2PqFagi+ImfI8S4oRrmu t80F7yxaaoaUMyNlz1IEH/O9X1frvvJmkPxCCNQ7cDetfoDwNGTNNk2cybdWR0Js8VTJ bPk66z1bw9Gt0kDH8PBK28CgAV+ne5EinpNz+ASQ/XBi1GaO9n466XCo3yl8p8NUSrZy u3lw== Received: by 10.14.5.67 with SMTP id 43mr819626eek.15.1343302059110; Thu, 26 Jul 2012 04:27:39 -0700 (PDT) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id i46sm7898391eem.0.2012.07.26.04.27.37 (version=SSLv3 cipher=OTHER); Thu, 26 Jul 2012 04:27:38 -0700 (PDT) Message-ID: <501129A9.4050005@my.gd> Date: Thu, 26 Jul 2012 13:27:37 +0200 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQnJMaD5U4IA7mVoYle46FE+nH39+yRhhragLSqXs8a1h6huqC5cjMwGQX3NT8M/sQNPJFqM Subject: Re: Freebsd build 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, 26 Jul 2012 11:27:41 -0000 On 7/26/12 12:48 PM, Venkat Duvvuru wrote: > Hi, > I'm unable to compile the kernel code (for that matter any kernel module > also). The following is the error. > My guess is that it is trying to compile the code for x86 instead of amd64 > as you can a symbolic link create for x86 includes. > Please suggest the change to be done inorder to compile it for amd64. > "Uname -a" of the system "FreeBsd 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: > Tue Jun 12 02:52:29 UTC 2012 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64" > > ==================================================================================================================================================================================== > -------------------------------------------------------------- >>>> stage 3.1: making dependencies > -------------------------------------------------------------- > cd /usr/obj/usr/src/sys/MYKERNEL; MAKEOBJDIRPREFIX=/usr/obj > MACHINE_ARCH=amd64 MACHINE=amd64 CPUTYPE= > GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin > GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font > GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac > _SHLIBDIRPREFIX=/usr/obj/usr/src/tmp VERSION="FreeBSD 9.0-RELEASE-p3 amd64 > 900044" INSTALL="sh /usr/src/tools/install.sh" > PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin > NO_CTF=1 make KERNEL=kernel depend -DNO_MODULES_OBJ > machine -> /usr/src/sys/amd64/include > x86 -> /usr/src/sys/x86/include > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g -Wall > -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign > -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option > -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq > -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf > -I/usr/src/sys/dev/ath -I/usr/src/sys/dev/ath/ath_hal > -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa > -I/usr/src/sys/gnu/fs/xfs/FreeBSD -I/usr/src/sys/gnu/fs/xfs/FreeBSD/support > -I/usr/src/sys/gnu/fs/xfs -I/usr/src/sys/dev/cxgb -I/usr/src/sys/dev/cxgbe > -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -fno-omit-frame-pointer -mno-sse -mcmodel=kernel > -mno-red-zone -mno-mmx -msoft-float -fno-asynchronous-unwind-tables > -ffreestanding -fstack-protector /usr/src/sys/amd64/amd64/genassym.c > In file included from ./x86/_align.h:6, > from ./x86/_align.h:6, > from ./x86/_align.h:6, > from ./x86/_align.h:6, > from ./x86/_align.h:6, > from ./machine/_align.h:6, > from ./machine/param.h:46, > from /usr/src/sys/sys/param.h:115, > from /usr/src/sys/amd64/amd64/genassym.c:42: > ./x86/_align.h:6:24: error: #include nested too deeply > In file included from ./x86/_align.h:6, > from ./x86/_align.h:6, > from ./x86/_align.h:6, > from ./machine/_align.h:6, > from /usr/src/sys/sys/socket.h:39, > from /usr/src/sys/amd64/amd64/genassym.c:54: > ./x86/_align.h:6:24: error: #include nested too deeply > /usr/src/sys/amd64/amd64/genassym.c:69:25: error: x86/apicreg.h: No such > file or directory > /usr/src/sys/amd64/amd64/genassym.c:230: error: invalid use of undefined > type 'struct LAPIC' > *** 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. > ==================================================================================================================================================================================== > The first question that comes to mind is, do you manage to compile a GENERIC kernel ? cd /usr/src make clean make buildkernel KERNCONF=GENERIC The second question that comes to mind is, have you rebuilt the world prior to trying your kernel compilation ? I notice you're on 9.0-RELEASE from june, when did you last update your sources ? From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 12:08:20 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B52AB1065675 for ; Thu, 26 Jul 2012 12:08:20 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 663878FC12 for ; Thu, 26 Jul 2012 12:08:20 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q6QCA0gE095040 for freebsd-questions@freebsd.org; Thu, 26 Jul 2012 07:10:00 -0500 (CDT) Date: Thu, 26 Jul 2012 07:10:00 -0500 (CDT) From: Robert Bonomi Message-Id: <201207261210.q6QCA0gE095040@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: Subject: Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 12:08:20 -0000 > From: Manish Jain > Date: Thu, 26 Jul 2012 15:37:23 +0530 > Subject: Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2? > > On 25-Jul-12 21:06, Erich Dollansky wrote: > > I did some tinkering to make _some_ progress. My APC UPS is working fine > now under FreeBSD (8.2-RELEASE, amd64). I think I also now have the > correct device setting in ppp.conf (/dev/cuaU0.0, also symlink'ed as > /dev/modem via devfs.conf). But the modem still does not speak to > internet. [[ sneck logfile entries ]] > Could it be that I am using the wrong AT commands ? C "Best guess" possibilities -- 1) wrong serial port 2) wrong speed. Recommend using a simple teminal program, like 'cu' or 'kermit', try connecting to each serial port, in succession, and see what happens when you type the following two lines: ATE1V1 ATI0 { that is 'AT', then a capital i, followed by a zero } The idea is to _first_ get 'basic communications' with the modem working, _then_ try the chat scipt, then get ppp woking. Trying to debug -everything- at the same time is a guaanteed recipie for frustation -- as you're finding out. One of your prior boot logs showed that _at_that_point_ the O/S was *NOT* recognizing the modem. Log lines showed "unknown device 0x140b". I presume you have -that- resolved. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 12:08:57 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 80C6F106567D for ; Thu, 26 Jul 2012 12:08:57 +0000 (UTC) (envelope-from venkatduvvuru.ml@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 413A28FC1F for ; Thu, 26 Jul 2012 12:08:57 +0000 (UTC) Received: by obbun3 with SMTP id un3so3362660obb.13 for ; Thu, 26 Jul 2012 05:08:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=OFIhcZND/X44dUo7MOGDtCQrXlvsngBzpxeAd8enC4Y=; b=SFXWqm8ajCq+Fo1AdYpOwuL7iTfNEZCz+zXxij5LuH2ukuO9arNU83yH9i5eNkUeOS FD/16dRBKxxCBWYGExtpJ+NlN7x9QMQHEbCyzCtqeN/sl/m+vUxuKwG8l5mBDLvzTPcD KawTEh2b1sLm18QufWbN0y4CuY12sAXg5HjD+Tri7miTiuLu1o3Ue7BIjsOHY/xjbs2A h/vZiw8Fg0or9L67M5M/elI4qrJcCCqoaxVZ84G57cC+Gq5L1/w1Ei44zNOqXAGHGBw9 UlL4Y8iXsJ5F9RTzw8Yo1r+p/Mz9LfSNeFuvc1lervdQQpnrszPVSdlFl6LwRD8aY8k+ uYUg== MIME-Version: 1.0 Received: by 10.182.85.8 with SMTP id d8mr41301342obz.70.1343304531264; Thu, 26 Jul 2012 05:08:51 -0700 (PDT) Received: by 10.76.8.99 with HTTP; Thu, 26 Jul 2012 05:08:51 -0700 (PDT) In-Reply-To: <501129A9.4050005@my.gd> References: <501129A9.4050005@my.gd> Date: Thu, 26 Jul 2012 17:38:51 +0530 Message-ID: From: Venkat Duvvuru To: Damien Fleuriot Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Freebsd build 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, 26 Jul 2012 12:08:57 -0000 Hi, Please find my repsonses in line. On Thu, Jul 26, 2012 at 4:57 PM, Damien Fleuriot wrote: > > On 7/26/12 12:48 PM, Venkat Duvvuru wrote: > > Hi, > > I'm unable to compile the kernel code (for that matter any kernel module > > also). The following is the error. > > My guess is that it is trying to compile the code for x86 instead of > amd64 > > as you can a symbolic link create for x86 includes. > > Please suggest the change to be done inorder to compile it for amd64. > > "Uname -a" of the system "FreeBsd 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 > #0: > > Tue Jun 12 02:52:29 UTC 2012 > > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64" > > > > > ==================================================================================================================================================================================== > > -------------------------------------------------------------- > >>>> stage 3.1: making dependencies > > -------------------------------------------------------------- > > cd /usr/obj/usr/src/sys/MYKERNEL; MAKEOBJDIRPREFIX=/usr/obj > > MACHINE_ARCH=amd64 MACHINE=amd64 CPUTYPE= > > GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin > > GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font > > GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac > > _SHLIBDIRPREFIX=/usr/obj/usr/src/tmp VERSION="FreeBSD 9.0-RELEASE-p3 > amd64 > > 900044" INSTALL="sh /usr/src/tools/install.sh" > > > PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin > > NO_CTF=1 make KERNEL=kernel depend -DNO_MODULES_OBJ > > machine -> /usr/src/sys/amd64/include > > x86 -> /usr/src/sys/x86/include > > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g -Wall > > -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes > > -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign > > -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option > > -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq > > -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf > > -I/usr/src/sys/dev/ath -I/usr/src/sys/dev/ath/ath_hal > > -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa > > -I/usr/src/sys/gnu/fs/xfs/FreeBSD > -I/usr/src/sys/gnu/fs/xfs/FreeBSD/support > > -I/usr/src/sys/gnu/fs/xfs -I/usr/src/sys/dev/cxgb > -I/usr/src/sys/dev/cxgbe > > -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h > > -finline-limit=8000 --param inline-unit-growth=100 --param > > large-function-growth=1000 -fno-omit-frame-pointer -mno-sse > -mcmodel=kernel > > -mno-red-zone -mno-mmx -msoft-float -fno-asynchronous-unwind-tables > > -ffreestanding -fstack-protector /usr/src/sys/amd64/amd64/genassym.c > > In file included from ./x86/_align.h:6, > > from ./x86/_align.h:6, > > from ./x86/_align.h:6, > > from ./x86/_align.h:6, > > from ./x86/_align.h:6, > > from ./machine/_align.h:6, > > from ./machine/param.h:46, > > from /usr/src/sys/sys/param.h:115, > > from /usr/src/sys/amd64/amd64/genassym.c:42: > > ./x86/_align.h:6:24: error: #include nested too deeply > > In file included from ./x86/_align.h:6, > > from ./x86/_align.h:6, > > from ./x86/_align.h:6, > > from ./machine/_align.h:6, > > from /usr/src/sys/sys/socket.h:39, > > from /usr/src/sys/amd64/amd64/genassym.c:54: > > ./x86/_align.h:6:24: error: #include nested too deeply > > /usr/src/sys/amd64/amd64/genassym.c:69:25: error: x86/apicreg.h: No such > > file or directory > > /usr/src/sys/amd64/amd64/genassym.c:230: error: invalid use of undefined > > type 'struct LAPIC' > > *** 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. > > > ==================================================================================================================================================================================== > > > > > > The first question that comes to mind is, do you manage to compile a > GENERIC kernel ? > > cd /usr/src > make clean > make buildkernel KERNCONF=GENERIC > ==> Yes, all was well with compiling generic, proprietary kernels before > it stopped working a couple of days back. I had been compiling, installing > kernel on this machine many times. > > The second question that comes to mind is, have you rebuilt the world > prior to trying your kernel compilation ? > > ==> This is failing with an error mentioned below > install: target directory `/usr/obj/usr/src/tmp/legacy/usr/share/tmac' does not exist usage: install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 file2 install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 ... fileN directory install -d [-v] [-g group] [-m mode] [-o owner] directory ... *** Error code 64 Stop in /usr/src/gnu/usr.bin/groff/tmac. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. > I notice you're on 9.0-RELEASE from june, when did you last update your > sources ? > ==> I'm using 9.0 from quite some time probably from 3 months. > I suspect some environment getting screwed as it is trying to build for x86. I have another machine where the kernel builds properly in that case it is not trying to create a symbolic link for x86 while building. > _______________________________________________ > freebsd-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 Jul 26 12:19:21 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2D8C106566B for ; Thu, 26 Jul 2012 12:19:20 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7F0C98FC0A for ; Thu, 26 Jul 2012 12:19:20 +0000 (UTC) Received: by eaa11 with SMTP id 11so223318eaa.13 for ; Thu, 26 Jul 2012 05:19:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=CbuEQW/UMQzzBUboDKA+k1mT7ptYheGYM61xB3MgFG4=; b=cwHX0eWMZgbfiqwelY0bdwsds6ZFYqDdXrfnbaeWRk2fyLVF1Mn6V/l3DDfFPT9Yrn Mt9tTX4kdwiJqK8dC1S7uAQusPSOBD6UbuCPRJkq2sbuCQdAZj1Pf13Z8guMK66Xgq+F xCegrgL34jBNyz+DYtgjGiIld0ddjU2lCQbexKQtCHMGeHSgOynMcZDNM3v1QKRSxM+2 njUuhFuCjj6e7+w6oMOQsmRQ5/AIA1Nt9Q//Pg1fn312T3twzVyhi/Dw4/eeDvq2Cow5 huNw8qqc0r4oZQyeL2C6nx/wkBgRCC5EVwKb9rMzsxVmkX/rE7xBHKcntrW/+CYRiSpX Sg0g== Received: by 10.14.219.198 with SMTP id m46mr3227479eep.18.1343305159659; Thu, 26 Jul 2012 05:19:19 -0700 (PDT) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id e43sm8265122eep.4.2012.07.26.05.19.18 (version=SSLv3 cipher=OTHER); Thu, 26 Jul 2012 05:19:18 -0700 (PDT) Message-ID: <501135C5.3020707@my.gd> Date: Thu, 26 Jul 2012 14:19:17 +0200 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Venkat Duvvuru References: <501129A9.4050005@my.gd> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQlr3O3YWZ4oplcvVCZnxa8IEeg6k8T99zFmvUVEtKzaLgh5XhK4gqLVKB5v7YJD4b6dKyp3 Cc: freebsd-questions@freebsd.org Subject: Re: Freebsd build 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, 26 Jul 2012 12:19:21 -0000 On 7/26/12 2:08 PM, Venkat Duvvuru wrote: > Hi, > Please find my repsonses in line. > > On Thu, Jul 26, 2012 at 4:57 PM, Damien Fleuriot > wrote: > > > On 7/26/12 12:48 PM, Venkat Duvvuru wrote: > > Hi, > > I'm unable to compile the kernel code (for that matter any kernel > module > > also). The following is the error. > > My guess is that it is trying to compile the code for x86 instead > of amd64 > > as you can a symbolic link create for x86 includes. > > Please suggest the change to be done inorder to compile it for amd64. > > "Uname -a" of the system "FreeBsd 9.0-RELEASE-p3 FreeBSD > 9.0-RELEASE-p3 #0: > > Tue Jun 12 02:52:29 UTC 2012 > > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC > amd64" > > > > > ==================================================================================================================================================================================== > > -------------------------------------------------------------- > >>>> stage 3.1: making dependencies > > -------------------------------------------------------------- > > cd /usr/obj/usr/src/sys/MYKERNEL; MAKEOBJDIRPREFIX=/usr/obj > > MACHINE_ARCH=amd64 MACHINE=amd64 CPUTYPE= > > GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin > > GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font > > GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac > > _SHLIBDIRPREFIX=/usr/obj/usr/src/tmp VERSION="FreeBSD > 9.0-RELEASE-p3 amd64 > > 900044" INSTALL="sh /usr/src/tools/install.sh" > > > PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin > > NO_CTF=1 make KERNEL=kernel depend -DNO_MODULES_OBJ > > machine -> /usr/src/sys/amd64/include > > x86 -> /usr/src/sys/x86/include > > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 > -g -Wall > > -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes > > -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign > > -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option > > -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq > > -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf > > -I/usr/src/sys/dev/ath -I/usr/src/sys/dev/ath/ath_hal > > -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa > > -I/usr/src/sys/gnu/fs/xfs/FreeBSD > -I/usr/src/sys/gnu/fs/xfs/FreeBSD/support > > -I/usr/src/sys/gnu/fs/xfs -I/usr/src/sys/dev/cxgb > -I/usr/src/sys/dev/cxgbe > > -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h > > -finline-limit=8000 --param inline-unit-growth=100 --param > > large-function-growth=1000 -fno-omit-frame-pointer -mno-sse > -mcmodel=kernel > > -mno-red-zone -mno-mmx -msoft-float -fno-asynchronous-unwind-tables > > -ffreestanding -fstack-protector /usr/src/sys/amd64/amd64/genassym.c > > In file included from ./x86/_align.h:6, > > from ./x86/_align.h:6, > > from ./x86/_align.h:6, > > from ./x86/_align.h:6, > > from ./x86/_align.h:6, > > from ./machine/_align.h:6, > > from ./machine/param.h:46, > > from /usr/src/sys/sys/param.h:115, > > from /usr/src/sys/amd64/amd64/genassym.c:42: > > ./x86/_align.h:6:24: error: #include nested too deeply > > In file included from ./x86/_align.h:6, > > from ./x86/_align.h:6, > > from ./x86/_align.h:6, > > from ./machine/_align.h:6, > > from /usr/src/sys/sys/socket.h:39, > > from /usr/src/sys/amd64/amd64/genassym.c:54: > > ./x86/_align.h:6:24: error: #include nested too deeply > > /usr/src/sys/amd64/amd64/genassym.c:69:25: error: x86/apicreg.h: > No such > > file or directory > > /usr/src/sys/amd64/amd64/genassym.c:230: error: invalid use of > undefined > > type 'struct LAPIC' > > *** 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. > > > ==================================================================================================================================================================================== > > > > > > The first question that comes to mind is, do you manage to compile a > GENERIC kernel ? > > cd /usr/src > make clean > make buildkernel KERNCONF=GENERIC > ==> Yes, all was well with compiling generic, proprietary kernels > before it stopped working a couple of days back. I had been > compiling, installing kernel on this machine many times. > > The second question that comes to mind is, have you rebuilt the world > prior to trying your kernel compilation ? > > ==> This is failing with an error mentioned below > > install: target directory `/usr/obj/usr/src/tmp/legacy/usr/share/tmac' > does not exist > usage: install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode] > [-o owner] file1 file2 > install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode] > [-o owner] file1 ... fileN directory > install -d [-v] [-g group] [-m mode] [-o owner] directory ... > *** Error code 64 > Stop in /usr/src/gnu/usr.bin/groff/tmac. > *** Error code 1 > Stop in /usr/src. > *** Error code 1 > Stop in /usr/src. > *** Error code 1 > Stop in /usr/src. > > I notice you're on 9.0-RELEASE from june, when did you last update your > sources ? > ==> I'm using 9.0 from quite some time probably from 3 months. > > I suspect some environment getting screwed as it is trying to build for > x86. I have another machine where the kernel builds properly in that > case it is not trying to create a symbolic link for x86 while building. > I would suggest that you fully delete your sources and csup them again. rm -Rf /usr/src/* /usr/obj/* /var/db/sup/* Then rebuild a world, rebuild GENERIC , and if that works rebuild MYKERNEL. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 12:52:45 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DD23E106566B for ; Thu, 26 Jul 2012 12:52:45 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 95ACD8FC0C for ; Thu, 26 Jul 2012 12:52:45 +0000 (UTC) Received: from [89.204.130.136] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1SuNYa-0000Ef-9V for freebsd-questions@freebsd.org; Thu, 26 Jul 2012 14:52:44 +0200 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id q6QCqgvw002234 for ; Thu, 26 Jul 2012 14:52:42 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id q6QCqfi2002233 for freebsd-questions@freebsd.org; Thu, 26 Jul 2012 14:52:41 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Thu, 26 Jul 2012 14:52:41 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Message-ID: <20120726125240.GA2225@tiny.Sisis.de> References: <201207261210.q6QCA0gE095040@mail.r-bonomi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201207261210.q6QCA0gE095040@mail.r-bonomi.com> X-Operating-System: FreeBSD 10.0-CURRENT r226986 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.130.136 Subject: Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 12:52:46 -0000 El día Thursday, July 26, 2012 a las 07:10:00AM -0500, Robert Bonomi escribió: > [[ sneck logfile entries ]] > > > Could it be that I am using the wrong AT commands ? C > > "Best guess" possibilities -- > 1) wrong serial port > 2) wrong speed. > > Recommend using a simple teminal program, like 'cu' or 'kermit', try > connecting to each serial port, in succession, and see what happens > when you type the following two lines: > ATE1V1 > ATI0 { that is 'AT', then a capital i, followed by a zero } > > > The idea is to _first_ get 'basic communications' with the modem working, > _then_ try the chat scipt, then get ppp woking. 100% ACK; that's what I have told a numerous of times in this thread, but it seems that the OP is hint-resistant :-) HIH matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 13:49:10 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3188A106564A for ; Thu, 26 Jul 2012 13:49:10 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de [80.67.29.24]) by mx1.freebsd.org (Postfix) with ESMTP id B5F738FC1C for ; Thu, 26 Jul 2012 13:49:09 +0000 (UTC) Received: from [78.35.180.197] (helo=fabiankeil.de) by smtprelay02.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1SuOR4-0001UJ-Uf for freebsd-questions@freebsd.org; Thu, 26 Jul 2012 15:49:03 +0200 Date: Thu, 26 Jul 2012 15:49:00 +0200 From: Fabian Keil To: freebsd-questions@freebsd.org Message-ID: <20120726154900.2f777b04@fabiankeil.de> In-Reply-To: <20120726031450.5c06dd61@gumby.homeunix.com> References: <201207260052.q6Q0qdss086796@mail.r-bonomi.com> <20120726031450.5c06dd61@gumby.homeunix.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/_8A6vFbmClRIoz+Bx92uwDw"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 Subject: Re: geli - selecting cipher X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 13:49:10 -0000 --Sig_/_8A6vFbmClRIoz+Bx92uwDw Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable RW wrote: > On Wed, 25 Jul 2012 19:52:39 -0500 (CDT) > Robert Bonomi wrote: >=20 > > > From owner-freebsd-questions@freebsd.org Wed Jul 25 14:00:27 2012 > > > Date: Wed, 25 Jul 2012 20:57:30 +0200 (CEST) > > > From: Wojciech Puchar > > > To: freebsd-questions@freebsd.org > > > Subject: geli - selecting cipher > > > > > > i need high speed disk encryption (many disks running in parallel, > > > lots of data movement). i have processor with AES-NI. > > > > > > geli give 150MB/s performance (tested from/to md ramdisk) using > > > default and recommended AES-XTS > > > > > > and ca 400MB/s read and 700MB/s write using AES-CBC. > > > > > > I'm not cryptography expert, is CBC somehow "less secure", and if > > > so is it really a problem? > >=20 > > If you "don't know" what strength encryption you need, and/or the > > difference between the methods, you need to hire a data-security > > professional to examine your situation and make recommendations > > appropriate for _your_ needs. > >=20 > > 'CBC' -- [C]ypher [B]lock [C]hainig -- is well-suited for strictly > > -sequential- data access. Try reading the blocks of a large (say > > 10gB) file in *reverse* order and see what kind of performance you > > get. =20 >=20 > Exactly the same, in geli the encryption is done per sector.=20 >=20 >=20 > I asked a similar questions to the OPs in the geom list and didn't get > an answer. Geli doesn't need or isn't using any advantages of XTS. And > CBC in geli is actually equivalent to ESSIV (see the previously linked > wikipedia page).=20 >=20 > In the end I went with 128 bit aes-cbc since it's the fastest setting > and Bruce Schneier recommends 128 over 256 AES as being more secure. =20 Can you provide the source for the "as being more secure" part? I'm aware of the following recommendation: | And for new applications I suggest that people don't use AES-256. | AES-128 provides more than enough security margin for the forseeable | future. But if you're already using AES-256, there's no reason to change. http://www.schneier.com/blog/archives/2009/07/another_new_aes.html But (the way I interpret it) there's no claim that AES-128 is more secure either in general or in the context of disk encryption. Fabian --Sig_/_8A6vFbmClRIoz+Bx92uwDw Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlARSs8ACgkQBYqIVf93VJ0BKQCdGQPILQO2lG5A5+gpbUATZGte 3HoAnjZ2R1M4HDcUrOjSpQf+0ItSyy0A =J/Tp -----END PGP SIGNATURE----- --Sig_/_8A6vFbmClRIoz+Bx92uwDw-- From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 14:10:54 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 94747106566B for ; Thu, 26 Jul 2012 14:10:54 +0000 (UTC) (envelope-from reckingball62@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1F48F8FC0A for ; Thu, 26 Jul 2012 14:10:53 +0000 (UTC) Received: by weyx56 with SMTP id x56so1637134wey.13 for ; Thu, 26 Jul 2012 07:10:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=oBVtabETYjD9bbORYhWDrzfoaobUTEOpTf5cwOlu+UY=; b=RPQ8t9vKRFNtSyMwqvAl8ZyG6+3rZru0kWkO3PdS0oIpctH50LxpVVMdjLqLpN1zV2 cTJT95f3hHioaddiQ8n7dr0XhRGZFgNFLmNsm0NHtzvWvuCIpdANV98lKEx8EXCFE+7z 64962wDC6jgAm4lezN9gVZM4X592ipBB203pNqhmXSACOwIbNrGAItv1YpHfi9xPcCiO O2qICoW8RHwTBoAHWwUTcbJG8lqo2ObEDiTVH12TNXibWByokvHVBq2CophXXj3FEjTc gCf2/orAfNHuzpZg23CpI1C0UUefDoHSn2mjgB59ihqg8MyNMUKA5lnoP/BresAc1Q4k 9qeg== MIME-Version: 1.0 Received: by 10.180.76.36 with SMTP id h4mr13852978wiw.13.1343311853167; Thu, 26 Jul 2012 07:10:53 -0700 (PDT) Received: by 10.216.236.18 with HTTP; Thu, 26 Jul 2012 07:10:53 -0700 (PDT) In-Reply-To: <44obn33num.fsf@be-well.ilk.org> References: <44obn33num.fsf@be-well.ilk.org> Date: Thu, 26 Jul 2012 09:10:53 -0500 Message-ID: From: Andy Recker To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 14:10:54 -0000 yes i booted from a cd the fist time and i almost had it installed but then i turned my computer off because i was having some problems and i turned it back on and it is un responsivr and showed only a white screen and thanks for the help. On Wed, Jul 25, 2012 at 9:41 AM, Lowell Gilbert < freebsd-questions-local@be-well.ilk.org> wrote: > Andy writes: > > > I was trying to install the free bsd to my mac computer its an ibook > > g3 with a 20gb hard dive i was using the powerpc version and it was > > working fine then i got to the part were you have to set up the hard > > drive i got some kind of err so i turned off my computer when i turned > > it back on it only boots to a white screen idk what to do please help > > Are you booting from a CD for the install? > Does anything at all show up on the screen? > From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 14:13:51 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0FB6C106564A for ; Thu, 26 Jul 2012 14:13:51 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9008A8FC08 for ; Thu, 26 Jul 2012 14:13:50 +0000 (UTC) Received: by eaa11 with SMTP id 11so266603eaa.13 for ; Thu, 26 Jul 2012 07:13:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=9Q3VKq/gFx6AwBHVkt6yM3NELHSqf+We3eJRf4FNs6M=; b=dK8DZj4YDiIwI+b6AHHUheQE8WLvmFVSY26DAgMen8EnbaIoI6pK5mB7YXweeyeMvp jfwbOgZP66IoCQ4Qx1PrWckOhJnjF8xreVSX9sisBMQdhtqN8MEGQVLdfLsL/BALkMIV QxIE6U3qmJg9slfF5tla8ArrCibMg06rvUKH7cP/W6gZV/EiQ9KOFi2xdWFgMQi769v+ G0rzxrUnQRmPGaCgovXgfK3XENuvzwRPjxssO1ZpEiHCaVb45fjB7/YjUF5F5KT1lh97 /9AIPmCfK/cUH8oT2vG+2NBPMyle0QnUnps2Ii5WWVogRKvr70E4TUEaNFgmuprKqeOQ tv9Q== Received: by 10.14.203.132 with SMTP id f4mr4259714eeo.24.1343312029534; Thu, 26 Jul 2012 07:13:49 -0700 (PDT) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id e43sm9078928eep.4.2012.07.26.07.13.41 (version=SSLv3 cipher=OTHER); Thu, 26 Jul 2012 07:13:41 -0700 (PDT) Message-ID: <50115094.8080807@my.gd> Date: Thu, 26 Jul 2012 16:13:40 +0200 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <44obn33num.fsf@be-well.ilk.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQmJlMt0hbiL6p9aB6DoXYg9JOiT1IAdRhHRdJUPzoumIxNRvRpQwgZiNf/UyS5PxmQysYcl Subject: Re: Support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 14:13:51 -0000 Wow wait a sec here ... You've installed a boot loader but no the OS itself and then shut down the computer ? Have you tried booting from the CD again ? On 7/26/12 4:10 PM, Andy Recker wrote: > yes i booted from a cd the fist time and i almost had it installed but then > i turned my computer off because i was having some problems and i turned it > back on and it is un responsivr and showed only a white screen and thanks > for the help. > > On Wed, Jul 25, 2012 at 9:41 AM, Lowell Gilbert < > freebsd-questions-local@be-well.ilk.org> wrote: > >> Andy writes: >> >>> I was trying to install the free bsd to my mac computer its an ibook >>> g3 with a 20gb hard dive i was using the powerpc version and it was >>> working fine then i got to the part were you have to set up the hard >>> drive i got some kind of err so i turned off my computer when i turned >>> it back on it only boots to a white screen idk what to do please help >> >> Are you booting from a CD for the install? >> Does anything at all show up on the screen? >> > _______________________________________________ > freebsd-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 Jul 26 15:24:21 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 837D1106564A for ; Thu, 26 Jul 2012 15:24:21 +0000 (UTC) (envelope-from jeff.t@mail.com) Received: from mailout-us.mail.com (mailout-us.mail.com [74.208.122.35]) by mx1.freebsd.org (Postfix) with SMTP id 272728FC0C for ; Thu, 26 Jul 2012 15:24:21 +0000 (UTC) Received: (qmail invoked by alias); 26 Jul 2012 15:17:39 -0000 Received: from unknown (EHLO blazon-pc.runningwild.local) [78.84.105.231] by mail.gmx.com (mp-us009) with SMTP; 26 Jul 2012 11:17:39 -0400 X-Authenticated: #76218138 X-Provags-ID: V01U2FsdGVkX19DAG4Tzq5DMPZq0lW1LJd5YWOb9uy7SIC6TaT0u4 2sXPDQt9OrGPTu Message-ID: <50115F91.9060201@mail.com> Date: Thu, 26 Jul 2012 18:17:37 +0300 From: Jeff Tipton User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:9.0) Gecko/20111229 Thunderbird/9.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: mc-light with tcsh receives segfault X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 15:24:21 -0000 Hi, My mc-light doesn't work with tcsh. When I try to launch it: >mc Segmentation fault (core dumped) > >uname -a FreeBSD jeff-netf 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 01:47:53 UTC 2012 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 > System and ports are all up to date. > mc -V The Midnight Commander 4.1.40-pre9 with mouse support on xterm. Edition: text mode. Virtual File System: tarfs, extfs, ftpfs, mcfs. With builtin Editor Using S-lang library with termcap database With subshell support: as default With DUSUM command With support for background operations > It works with sh and csh but doesn't with tcsh. Actually, it even works within tcsh, if the SHELL variable is arbitrarily set to /bin/csh. Doesn't matter whether root or a regular user. Any ideas of what might be wrong? Jeff From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 15:47:27 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BE3E106566B for ; Thu, 26 Jul 2012 15:47:27 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4E9CA8FC1C for ; Thu, 26 Jul 2012 15:47:26 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SuQHb-00032g-4h for freebsd-questions@freebsd.org; Thu, 26 Jul 2012 17:47:23 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Jul 2012 17:47:23 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Jul 2012 17:47:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Thu, 26 Jul 2012 17:47:10 +0200 Lines: 36 Message-ID: References: <201207260052.q6Q0qdss086796@mail.r-bonomi.com> <20120726031450.5c06dd61@gumby.homeunix.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5C7050C45B53EE4D9B414468" X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0) Gecko/20120213 Thunderbird/10.0 In-Reply-To: <20120726031450.5c06dd61@gumby.homeunix.com> X-Enigmail-Version: 1.3.5 Subject: Re: geli - selecting cipher X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 15:47:27 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5C7050C45B53EE4D9B414468 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 26/07/2012 04:14, RW wrote: > I asked a similar questions to the OPs in the geom list and didn't get > an answer. Geli doesn't need or isn't using any advantages of XTS. And > CBC in geli is actually equivalent to ESSIV (see the previously linked > wikipedia page).=20 Hi, You didn't get an answer because in security, the answer depends on exact circumstances of use. The short answer is that if you don't have a specific adversary you need to protect your data from, I'd say that GELI's CBC is good enough for you. --------------enig5C7050C45B53EE4D9B414468 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.19 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlARZn4ACgkQ/QjVBj3/HSzzhACfY1Rgqm8ym13/6MLe1/cUS5WN BVQAnjTeBhnQmKkna5DwMnquUEZDq1LF =7mw9 -----END PGP SIGNATURE----- --------------enig5C7050C45B53EE4D9B414468-- From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 15:54:21 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D5D7B106564A for ; Thu, 26 Jul 2012 15:54:21 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by mx1.freebsd.org (Postfix) with ESMTP id 227878FC0A for ; Thu, 26 Jul 2012 15:54:20 +0000 (UTC) Received: by wibhq12 with SMTP id hq12so5561798wib.1 for ; Thu, 26 Jul 2012 08:54:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=AxXrhk+n/mvtLkqzdnjzWV0xlRSzCf+82SKAPu5pD8U=; b=PA6HWG0qMxzEfYekN++dc+i9YPvn/IDL342OS04c9LDcHoss/X6YFHXjA4nh6ma5uh Nu43hDdTGN9N35vhUcwHTt0d9JruPjg3gDRMWIi/T82EG1K48FdMrDEavhAXrpgjwGSc 8+cdw9ESaGVliA52elY6+qPYfPPz9pRRkYetbhcUs3PPYLigENtNQLJLy6zyrm5DRBA9 oOWrOf8NGWVhbhmq7zrEdEQTJcrCdygNCk/6mr5L+gj/eP4cbg8hdv3kxndKQ92WsYUC 1nL2YDC07pa7QGrwAzhhELo5bC0Nf/k8jQQkEtIz93rE/zWybiuhlFmkmvm53D4qdiYV TA2w== MIME-Version: 1.0 Received: by 10.180.78.5 with SMTP id x5mr14571678wiw.13.1343318060165; Thu, 26 Jul 2012 08:54:20 -0700 (PDT) Received: by 10.223.172.129 with HTTP; Thu, 26 Jul 2012 08:54:20 -0700 (PDT) In-Reply-To: References: <201207260052.q6Q0qdss086796@mail.r-bonomi.com> <20120726031450.5c06dd61@gumby.homeunix.com> Date: Thu, 26 Jul 2012 08:54:20 -0700 Message-ID: From: Michael Sierchio To: Ivan Voras Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlt/HX1qIy98nLJXmYwezgfojsBXK9mPXNsiRAJsKT51ZHp5QlXtZonjetaxlrqgUe9frfV Cc: freebsd-questions@freebsd.org Subject: Re: geli - selecting cipher X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 15:54:21 -0000 On Thu, Jul 26, 2012 at 8:47 AM, Ivan Voras wrote: > You didn't get an answer because in security, the answer depends on > exact circumstances of use. The short answer is that if you don't have a > specific adversary you need to protect your data from, I'd say that > GELI's CBC is good enough for you. The specific adversary that XEX / XTS etc. is designed to protect against is probably unrealistically strong - someone who can write arbitrary data to raw disk sectors and ask to have them decrypted (chosen ciphertext attack), etc. If you don't need to detect modifications/insertions/deletions that don't go through the GELI layer, I would be perfectly comfortable with AES-CTR mode - it is many times faster than any of the above methods. - M From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 17:41:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39D5C106566C; Thu, 26 Jul 2012 17:41:44 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 98DFA8FC08; Thu, 26 Jul 2012 17:41:43 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6QHfYbp016467; Thu, 26 Jul 2012 19:41:34 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6QHfXWa016464; Thu, 26 Jul 2012 19:41:34 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 26 Jul 2012 19:41:33 +0200 (CEST) From: Wojciech Puchar To: Michael Sierchio In-Reply-To: Message-ID: References: <201207260052.q6Q0qdss086796@mail.r-bonomi.com> <20120726031450.5c06dd61@gumby.homeunix.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Thu, 26 Jul 2012 19:41:34 +0200 (CEST) Cc: Ivan Voras , freebsd-questions@freebsd.org Subject: Re: geli - selecting cipher X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 17:41:44 -0000 > If you don't need to detect modifications/insertions/deletions that yes i don't. i just want data to be unreadable for thieves in case of robbery. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 20:28:32 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 830571065670 for ; Thu, 26 Jul 2012 20:28:32 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 3AD4A8FC17 for ; Thu, 26 Jul 2012 20:28:32 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SuUef-0002Z1-Q2 for freebsd-questions@freebsd.org; Thu, 26 Jul 2012 22:28:29 +0200 Received: from 79.139.19.75 ([79.139.19.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Jul 2012 22:27:29 +0200 Received: from jb.1234abcd by 79.139.19.75 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Jul 2012 22:27:29 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Date: Thu, 26 Jul 2012 20:27:20 +0000 (UTC) Lines: 115 Message-ID: References: <500FDCE4.8060607@my.gd> <500FF037.4020302@my.gd> <50111AB1.7060205@my.gd> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 79.139.19.75 (Mozilla/5.0 (X11; FreeBSD i386; rv:13.0) Gecko/20100101 Firefox/13.0.1) Subject: Re: Security - logging of user commands X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 20:28:32 -0000 Damien Fleuriot my.gd> writes: > ... > Might anyone confirm the issue ? > > The above is true for 8.1-RELEASE, 8-STABLE , 9-STABLE with snoopy being > at version 1.8.0 on all of them. $ uname -r 9.0-RELEASE-p3 $ man ldconfig ... Filenames must conform to the lib*.so.[0-9] pattern in order to be added to the hints file. ... FILES /var/run/ld.so.hints Standard hints file for the a.out dynamic linker. /var/run/ld-elf.so.hints Standard hints file for the ELF dynamic linker. /etc/ld.so.conf Conventional configuration file containing directory names for invocations with -aout. /etc/ld-elf.so.conf Conventional configuration file containing directory names for invocations with -elf. /var/run/ld-elf32.so.hints /var/run/ld32.so.hints Conventional configuration files containing directory names for invocations with -32. /etc/objformat Determines whether -aout or -elf is the default. If present, it must consist of a single line containing either `OBJFORMAT=aout' or `OBJFORMAT=elf'. ... $ # ls -al /usr/local/lib/libsnoopy.so* lrwxr-xr-x 1 root wheel 14 Jul 26 20:43 /usr/local/lib/libsnoopy.so -> libsnoopy.so.1 -r-xr-xr-x 1 root wheel 4824 Jul 26 20:07 /usr/local/lib/libsnoopy.so.1 $ grep ldconfig /etc/defaults/rc.conf ... ldconfig_paths=... /usr/local/lib ... ... # /etc/rc.d/ldconfig start ... ldconfig_start() ... for i in ${ldconfig_paths} /etc/ld-elf.so.conf; do if [ -r "${i}" ]; then _LDC="${_LDC} ${i}" fi done check_startmsgs && echo 'ELF ldconfig path:' ${_LDC} ${ldconfig} -elf ${_ins} ${_LDC} ... $ ldconfig -r /var/run/ld-elf.so.hints: search directories: /lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/event2:/usr/local /lib/gcc46:/usr/local/lib/graphviz:/usr/local/lib/libxul:/usr/local/lib/nss: /usr/local/lib/pth:/usr/local/lib/qt4 0:-lc.7 => /lib/libc.so.7 ... 465:-lsnoopy.1 => /usr/local/lib/libsnoopy.so.1 ... $ # man ldconfig ... # tail /var/log/auth.log ... Jul 26 22:12:38 localhost snoopy[5884]: [uid:0 sid:2957 tty:/dev/pts/2 cwd:/usr/local/lib filename:/sbin/sysctl]: /sbin/sysctl -n hw.machine_arch Jul 26 22:12:38 localhost snoopy[5885]: [uid:0 sid:2957 tty:/dev/pts/2 cwd:/usr/local/lib filename:/sbin/sysctl]: /sbin/sysctl -n hw.machine Jul 26 22:12:38 localhost snoopy[5886]: [uid:0 sid:2957 tty:/dev/pts/2 cwd:/usr/local/lib filename:/usr/bin/locale]: /usr/bin/locale Jul 26 22:12:38 localhost snoopy[5889]: [uid:0 sid:2957 tty: cwd:/usr/local/lib filename:/usr/bin/head]: head -1 Jul 26 22:12:38 localhost snoopy[5888]: [uid:0 sid:2957 tty:/dev/pts/2 cwd:/usr/local/lib filename:/usr/bin/zcat]: /usr/bin/zcat /usr/share/man/man8/ldconfig.8.gz Jul 26 22:12:38 localhost snoopy[5892]: [uid:0 sid:2957 tty: cwd:/usr/local/lib filename:/usr/bin/groff]: groff -S -P-h -Wall -mtty-char -man -Tascii -P-c Jul 26 22:12:38 localhost snoopy[5891]: [uid:0 sid:2957 tty: cwd:/usr/local/lib filename:/usr/bin/tbl]: tbl Jul 26 22:12:38 localhost snoopy[5890]: [uid:0 sid:2957 tty:/dev/pts/2 cwd:/usr/local/lib filename:/usr/bin/zcat]: /usr/bin/zcat /usr/share/man/man8/ldconfig.8.gz Jul 26 22:12:38 localhost snoopy[5893]: [uid:0 sid:2957 tty: cwd:/usr/local/lib filename:/usr/bin/more]: more # /etc/rc.d/named status Cannot 'status' named. Set named_enable to YES in /etc/rc.conf or use 'onestatus' instead of 'status'. # tail /var/log/auth.log ... Jul 26 22:16:40 localhost snoopy[5917]: [uid:0 sid:2957 tty:/dev/pts/2 cwd:/usr/local/lib filename:/bin/ps]: /bin/ps -ww -p 5916 -o jid= Jul 26 22:16:40 localhost snoopy[5919]: [uid:0 sid:2957 tty:/dev/pts/2 cwd:/usr/local/lib filename:/bin/ps]: /bin/ps -ww -o pid= -o jid= -o command= -ax # jb From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 20:30:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6EF8E106566B for ; Thu, 26 Jul 2012 20:30:44 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from oproxy7-pub.bluehost.com (oproxy7-pub.bluehost.com [67.222.55.9]) by mx1.freebsd.org (Postfix) with SMTP id 3810A8FC0C for ; Thu, 26 Jul 2012 20:30:44 +0000 (UTC) Received: (qmail 24645 invoked by uid 0); 26 Jul 2012 20:30:15 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by oproxy7.bluehost.com with SMTP; 26 Jul 2012 20:30:15 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=apotheon.com; s=default; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date; bh=jXHW5C9gQxyozpR6WK5m3JP/rXz/rEVl67MLIw6dLSk=; b=BokbDUIIML77vB6DX2YfJr4KHCVWu7/juIemPJAy0zDooGajw4JSMfzNS3mZL0g7WDCFLO2IT3SjTRbgASOHnG5l2PDAJMgNXQg+hCmrvcZLqDjLdYc1sgkewKZIBtpm; Received: from [24.8.180.234] (port=62837 helo=localhost) by box543.bluehost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1SuUhL-0001C7-8j for freebsd-questions@freebsd.org; Thu, 26 Jul 2012 14:30:15 -0600 Date: Thu, 26 Jul 2012 14:30:15 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20120726203015.GA29389@hemlock.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <1343228557.99992.androidMobile@web140705.mail.bf1.yahoo.com> <20120726005343.5f4f604c.freebsd@edvax.de> <20120726010633.5b206610.freebsd@edvax.de> <20120726004115.GB53190@neutralgood.org> <20120726023336.GA25888@hemlock.hydra> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.com} {sentby:smtp auth 24.8.180.234 authed with perrin@apotheon.com} Subject: Re: how to speed up port make?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 20:30:44 -0000 On Wed, Jul 25, 2012 at 11:04:27PM -0700, Ryan Noll wrote: > Hello, > > On Jul 25, 2012 7:34 PM, "Chad Perrin" wrote: > > You kids have got it easy. I used to have to compile by hand with a pair > > of tweezers, bar copper wire, a magnifying glass, and a potato with two > > pieces of metal stuck in it as a power source. > > Ha-ha... Ah those were the days..., but does anyone remember the "old" way > of building the kernel in the 2.2.8 days? I was just getting started doing > the basic system setup/admin things in those days. Back then (1998 or so) I > did not have access to broadband, so I did not even update the sources back > then, but I knew that it was a good idea to remove devices from the GENERIC > kernel that I did not have--thanks to the book by Greg Lehey. (Even though > the version of "The Complete FreeBSD" I bought is so out of date I cannot > bring myself to throw it away--it was my guide back in those days.) > > Does anyone else remember "The Complete FreeBSD"? I have the fourth edition. I imagine that's not as old as yours. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 20:58:36 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 187E1106564A for ; Thu, 26 Jul 2012 20:58:36 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by mx1.freebsd.org (Postfix) with ESMTP id 98DB18FC08 for ; Thu, 26 Jul 2012 20:58:35 +0000 (UTC) Received: by wibhq12 with SMTP id hq12so106276wib.1 for ; Thu, 26 Jul 2012 13:58:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=c/KSrDL73Q0foc0s9eGPJXdSNCK2+sAXzNXKMcWDOrs=; b=sjY6SWEP9dv5Lxvd6bocUeuIoy5N0O7xjMnXyQeT4ajLdo4PHaJuA9BCaiTo1agsv0 aoc/1FIgj9cD5B+CZPSnkCRt0Ep2kbqs6ItXLRg6cNhXYANuX0aGZAOcuWHZKnxmV+/0 jGd3PvJe/NOE7ilSwC/AaRGhsxW/qhXe6NqF3Ghbm4eezF+PkkTEjaoLvR2r8xZn8hfC QbjgBwn1Ta2t0lERwDV6E5Nux35v2tZzzCq+15JcQnH9V3bXKJSJlpZnPKSQkwjUAgQD 5GdLFIRYbKeEzEFDer3lbq9QF1mHAiorMmXbncSv1FHqnF3cdxROkbrPpGDgbz6KV3OE 6YCQ== Received: by 10.180.90.195 with SMTP id by3mr478395wib.7.1343336314601; Thu, 26 Jul 2012 13:58:34 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id w7sm10154553wiz.0.2012.07.26.13.58.32 (version=SSLv3 cipher=OTHER); Thu, 26 Jul 2012 13:58:33 -0700 (PDT) Date: Thu, 26 Jul 2012 21:58:30 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20120726215830.3ab6e178@gumby.homeunix.com> In-Reply-To: <20120726154900.2f777b04@fabiankeil.de> References: <201207260052.q6Q0qdss086796@mail.r-bonomi.com> <20120726031450.5c06dd61@gumby.homeunix.com> <20120726154900.2f777b04@fabiankeil.de> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: geli - selecting cipher X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 20:58:36 -0000 On Thu, 26 Jul 2012 15:49:00 +0200 Fabian Keil wrote: > RW wrote: > > In the end I went with 128 bit aes-cbc since it's the fastest > > setting and Bruce Schneier recommends 128 over 256 AES as being > > more secure. > > Can you provide the source for the "as being more secure" part? More likely to remain secure, if you prefer. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 22:53:42 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2C5B0106566B for ; Thu, 26 Jul 2012 22:53:42 +0000 (UTC) (envelope-from leeoliveshackelford@surewest.net) Received: from rc3.surewest.net (rc3.surewest.net [66.60.130.52]) by mx1.freebsd.org (Postfix) with ESMTP id 03CCA8FC0C for ; Thu, 26 Jul 2012 22:53:42 +0000 (UTC) Received: from smtp1.surewest.net ([66.60.130.145]) by rc3.surewest.net ({89e988b2-2a53-469e-91f0-3e9924092bec}) via TCP (outbound) with ESMTP id 20120726225341041 for ; Thu, 26 Jul 2012 22:53:41 +0000 X-RC-FROM: X-RC-RCPT: Received: from ms5.mc.surewest.net (hansolo.surewest.net [64.30.98.104]) by smtp1.surewest.net (Postfix) with ESMTP id 252E8896BD for ; Thu, 26 Jul 2012 15:53:40 -0700 (PDT) Received: (from ms5.mc.surewest.net [192.168.60.103]) by ms5.mc.surewest.net (MOS 4.1.8-GA) with HTTP/1.1 id CNP13426 (AUTH leeoliveshackelford@surewest.net); Thu, 26 Jul 2012 15:53:39 -0700 (PDT) From: To: freebsd-questions@freebsd.org X-Mailer: Mirapoint Webmail Direct 4.1.8-GA MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="-----70a755e4c8544c61fe23d4e358cfe90a" Message-Id: <20120726155339.CNP13426@ms5.mc.surewest.net> Date: Thu, 26 Jul 2012 15:53:39 -0700 (PDT) Subject: Architectural CAD software X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 22:53:42 -0000 -------70a755e4c8544c61fe23d4e358cfe90a Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Good afternoon, FreeBSD enthusiasts. I did not receive a response to the following message, so I would like to rephrase the question. Does anyone use an architectural CAD application with FreeBSD? If so, would you be willing to share any comments, opinions, or advice with me concerning your experience with this software? Many thanks in advance. Yours truly, Lee Shackelford -------70a755e4c8544c61fe23d4e358cfe90a Content-Type: message/rfc822; name="Message 305.eml" Content-Disposition: inline; filename="Message 305.eml" Content-Transfer-Encoding: 8bit Received: (from ms5.mc.surewest.net [192.168.60.103]) by ms5.mc.surewest.net (MOS 4.1.8-GA) with HTTP/1.1 id CNL84710 (AUTH leeoliveshackelford@surewest.net); Tue, 24 Jul 2012 19:45:37 -0700 (PDT) Date: Tue, 24 Jul 2012 19:45:37 -0700 (PDT) From: Subject: CYCAS architectural C.A.D. software To: freebsd-questions@freebsd.org X-Mailer: Mirapoint Webmail Direct 4.1.8-GA MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Good day FreeBSD enthusiasts. Has anyone installed and used CYCAS architectural CAD software on a FreeBSD system? Is this possible? If you have used CYCAS on a FreeBSD system, would you like to share with me your comments about your experience? Many thanks. Lee Shackelford -------70a755e4c8544c61fe23d4e358cfe90a-- From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 23:35:45 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3256B106566B for ; Thu, 26 Jul 2012 23:35:45 +0000 (UTC) (envelope-from martinrame@yahoo.com) Received: from nm12-vm0.bullet.mail.sp2.yahoo.com (nm12-vm0.bullet.mail.sp2.yahoo.com [98.139.91.242]) by mx1.freebsd.org (Postfix) with SMTP id 041FE8FC15 for ; Thu, 26 Jul 2012 23:35:45 +0000 (UTC) Received: from [98.139.91.68] by nm12.bullet.mail.sp2.yahoo.com with NNFMP; 26 Jul 2012 23:33:39 -0000 Received: from [98.139.91.26] by tm8.bullet.mail.sp2.yahoo.com with NNFMP; 26 Jul 2012 23:31:39 -0000 Received: from [127.0.0.1] by omp1026.mail.sp2.yahoo.com with NNFMP; 26 Jul 2012 23:31:39 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 44154.54142.bm@omp1026.mail.sp2.yahoo.com Received: (qmail 70027 invoked by uid 60001); 26 Jul 2012 23:31:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1343345498; bh=j6c8By31t1tk3sX+oIjKC0ftDc5jUNzyetyB0QtN/2A=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=KelyELzhjeh5pgOf+H82wo7ql8noOWzRk3B4S0tAqFxDEGXhz3u5/OymzMhhenVuyZbBA8GGwWKq2FkrConPKR8GojGB9RLcJVCyyRoi7dJXGMqZjOPY2rmv6BNnONTZGUxPV0+NtG887LkeWVSVlhFkWxaMJ2TXdEqHFkl9CGY= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=1i8ifK/XE9Mwiwi6Iaa5r/mhMU1aLUayRwY2nTzDgOHC0il8nSP8PbN70swuQ3UVJ/I5pxsjIoe86E7cn/hwA6JQM8h/8DopAouqrfaf8WrNxrnbhmkaKsbWh3XyO4EQMU+I+JyCOm3Savej0JjBte+S7i/8uOPJoiyhUJkCPdU=; X-YMail-OSG: 7tvUmf0VM1nyTte02y4DhVTqWwj27Ph2yA6kRYuOhMl4Tck ojBOpQZhvBHIVeV9GsKYCLFaxilbJqYFJ7VKEJXDPcQfVU2GM3qlTUhskXAM lBbp6HPWfIPGU8JvmBS4sIUUngidoDrrRR0LlY.M1YdGr6OphK.QePrsCEkn Ngf3Js.LkYUQ6nPHMfH7jCId4TQIBJJIRNRPiMRKqHr8B_oAOAYB33BeAeeF ObPLff8YzyEOoTjM5Qbj6iEbpBIdqDlEUiphUTbJdGDb8SLTLd0yTSn16uup 8eH.MScJBi3S5MLt7IvA6m2mSOKJ4XudWOph3cU849eRRrGbAA12otZ.v5j0 FCBPQUPCDq8U.N0o_V39jGUgQ.tlkvt.qNIqi9kY836MDREeIGA14okXZBcu r77rdDrZ9cGutRTE4DruJfKUS6c6tTflFjkAh_xZASMEFxd.uDf3nyXnWK1_ fBq9zCtaMA8Yu.ErRZzbHB.PkC2XE3TRRk_i6Zjst4TSPNeC1izB0l3pB4vm 8fZk05VsWtTiDmrwt0fH_O74yNFFurMDVl1IdDk9GRv_jBCTGVVoNwsFy Received: from [190.17.123.85] by web113519.mail.gq1.yahoo.com via HTTP; Thu, 26 Jul 2012 16:31:38 PDT X-Mailer: YahooMailWebService/0.8.120.356233 References: <20120726155339.CNP13426@ms5.mc.surewest.net> Message-ID: <1343345498.70018.YahooMailNeo@web113519.mail.gq1.yahoo.com> Date: Thu, 26 Jul 2012 16:31:38 -0700 (PDT) From: =?iso-8859-1?Q?Leonardo_M=2E_Ram=E9?= To: "freebsd-questions@freebsd.org" In-Reply-To: <20120726155339.CNP13426@ms5.mc.surewest.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Architectural CAD software X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?iso-8859-1?Q?Leonardo_M=2E_Ram=E9?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 23:35:45 -0000 >________________________________=0A> From: "leeoliveshackelford@surewest.n= et" =0A>To: freebsd-questions@freebsd.org= =0A>Sent: Thursday, July 26, 2012 7:53 PM=0A>Subject: Architectural CAD so= ftware=0A> =0A>Good afternoon, FreeBSD enthusiasts.=A0 I did not receive a = response to the following message, so I would like to rephrase the question= .=A0 Does anyone use an architectural CAD application with FreeBSD?=A0 If s= o, would you be willing to share any comments, opinions, or advice with me = concerning your experience with this software?=A0 Many thanks in advance.= =A0 Yours truly, Lee Shackelford=0A=0A=0AHi Lee, you could ask this same qu= estion on a Linux (or better, Ubuntu) forum/mailing list, surely you'll rec= eive more answers, then you can see if the CAD apps used by them will run o= n FreeBSD (I'm quite sure them will work).=0A=0AWhy I say a Linux forum is = better for this? because I don't know any non-computer-geek who uses FreeBS= D, but there are a lot of Architects/Graphic Artists using Linux, and speci= ally Ubuntu right now.=A0=0A=0A=0ALeonardo M. Ram=E9=0Ahttp://leonardorame.= blogspot.com=0A From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 03:02:56 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 091571065672 for ; Fri, 27 Jul 2012 03:02:56 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id BA5578FC12 for ; Fri, 27 Jul 2012 03:02:55 +0000 (UTC) Received: from r56.edvax.de (port-92-195-22-218.dynamic.qsc.de [92.195.22.218]) by mx02.qsc.de (Postfix) with ESMTP id BD93A27E95; Fri, 27 Jul 2012 05:02:48 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q6R32mK1001968; Fri, 27 Jul 2012 05:02:48 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 27 Jul 2012 05:02:48 +0200 From: Polytropon To: David Naylor Message-Id: <20120727050248.7d6d9de8.freebsd@edvax.de> In-Reply-To: <201207261136.21389.naylor.b.david@gmail.com> References: <1343228557.99992.androidMobile@web140705.mail.bf1.yahoo.com> <201207261136.21389.naylor.b.david@gmail.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd org" , Mr U Subject: Re: how to speed up port make?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2012 03:02:56 -0000 On Thu, 26 Jul 2012 11:36:18 +0200, David Naylor wrote: > On Wednesday, 25 July 2012 17:02:37 Mr U wrote: > > hi > > > > is it possible to speed up port make ?? > > i want to install openbox and xorg on a Pentium 4 and 2gb ram, > > compiling xorg takes about 2 hours > > A few things you could try adding to make.conf: > FORCE_MAKE_JOBS=yes > MAKE_JOBS_NUMBER=4 I'm not sure this is supported on a _single_ core Pentium 4 CPU (or will gain speed if it was "emulated"). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 03:55:13 2012 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A840A106564A for ; Fri, 27 Jul 2012 03:55:13 +0000 (UTC) (envelope-from kuni_kachi@ybb.ne.jp) Received: from web200217.mail.kks.yahoo.co.jp (web200217.mail.kks.yahoo.co.jp [183.79.100.241]) by mx1.freebsd.org (Postfix) with SMTP id 469908FC12 for ; Fri, 27 Jul 2012 03:55:13 +0000 (UTC) Received: (qmail 55811 invoked by uid 60001); 27 Jul 2012 03:48:30 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ybb.ne.jp; s=ybb20110701; t=1343360910; bh=s8MMXq5zzgYeTA7Ap802zZV5rTRcJZazQ9kJTOf0Y6k=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=dL5YPZcXs/yz1qbpa5D1P2q1+zmkwq21zUBLdDaGfC8jwUFen9cYyQt2k3VVNihGgsWlrQJ0I3Mhu8CxBPfAqCDsbLthr9GNF+xPZFXZJ+zu3UuPU0wB7CQVTmsi8Jrov4ubLJw2FFNY3tW1pxXHcBwOZN9Lp/z9cc3gUUtBbls= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=ybb20110701; d=ybb.ne.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=LkEsXW2TYgEqkwbb5QK+qIPLj7JjFqD1ezAviznnFe0uuRqojOGtRTOFE1UuhDGhkGzb6MsDwYL5LFzESA2s7CYksJ/bi8PpyD3ZMS4S2nWlMVLsOCRVA6xG0xEH55XG4d7NFbBOCbtXcLfsiWVpw3nV4YXPVHLiMiO+fCBSfoY=; Message-ID: <71969.52693.qm@web200217.mail.kks.yahoo.co.jp> X-YMail-OSG: Tze6rPgVM1mw7mQkCneMRtR4nzQAkav3VC_DGwPF7zjeu0e4GdL1ehY5iDfNYC.8RWZmn8RcYcORHQOdstFpABwZCXKuuv_aZEgVIPk3WFz5of0jIw0qmisZC3OQaT1DaU40QguEe.I.I_pfQkM50OgHqx5kGIPJHW2dipi_gqmVMplDJHQYhq_Kdx0_ux1m8tUEUZksdZj8_50zKbU- Received: from [61.194.7.65] by web200217.mail.kks.yahoo.co.jp via HTTP; Fri, 27 Jul 2012 12:48:30 JST X-Mailer: YahooMailWebService/0.8.111_26 Date: Fri, 27 Jul 2012 12:48:30 +0900 (JST) From: kuni_kachi@ybb.ne.jp To: "freebsd-questions@FreeBSD.org" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: [FreeBSD9.0]Question about IP Forwarding feature X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kuni_kachi@ybb.ne.jp List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2012 03:55:13 -0000 Hello, =0A=0AI have question about how i can enable ip forwarding=0AI set g= ateway_enable =3D "YES" in /etc/rc.conf =0AWhen I restart/start FreeBSD,OS = started completely but ip forwarding feature is not enabled.=0A------------= ------------=0A#sysctl net.inet.ip.forwarding=0Anet.inet.ip.forwarding: 0= =0A------------------------=0AI check start scripts =0A#/etc/rc.d/routing s= tart =0Aand found the folowing result:=0Aeval: check_kern_features: not fou= nd=0Aeval: check_kern_features: not found=0ABut when using=A0 /etc/rc.d/rou= ting start inet=0Athis is OK=0A#/etc/rc.d/routing start inet=0AAdditional i= net routing options: gateway=3DYES.=0A#sysctl net.inet.ip.forwarding=0Anet.= inet.ip.forwarding: 1=0AHow i can configure to enable ip forwarding [net.in= et.ip.forwarding: 1 ] =0A=A0=0A*FreeBSD Version=0A9.0-RELEASE-p3 FreeBSD 9.= 0-RELEASE-p3 #0: Sat Jul 21 14:09:44 JST 2012=A0=A0=A0=A0 thang@server:/usr= /obj/usr/src/sys/GENERIC=A0 i386=0A=0A*/etc/rc.conf=0A---------------------= -----------------=0Anamed_enable=3D"YES"=0Anamed_flags=3D"-c /etc/namedb/na= med.conf"=0Afirewall_enable=3D"YES"=0Afirewall_type=3D"open"=0Agateway_enab= le=3D"YES"=0Appp_nat=3D"NO"=0Anatd_enable=3D"YES"=0Anatd_program=3D"/sbin/n= atd"=0Anatd_interface=3D"tun0"=0Anatd_flags=3D"-f /etc/natd.conf"=0Arouted_= enable=3D"YES"=0A------------------------------------=0AThank you! From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 04:24:13 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 091C0106564A for ; Fri, 27 Jul 2012 04:24:13 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from mail.monochrome.org (b4.ebbed1.client.atlantech.net [209.190.235.180]) by mx1.freebsd.org (Postfix) with ESMTP id 906C38FC0C for ; Fri, 27 Jul 2012 04:24:12 +0000 (UTC) Received: from [192.168.1.11] ([192.168.1.11]) by mail.monochrome.org (8.14.3/8.14.3) with ESMTP id q6R4O5HU026018; Fri, 27 Jul 2012 00:24:05 -0400 (EDT) (envelope-from chris@monochrome.org) Date: Fri, 27 Jul 2012 00:24:05 -0400 (EDT) From: Chris Hill To: Ryan Noll In-Reply-To: Message-ID: References: <1343228557.99992.androidMobile@web140705.mail.bf1.yahoo.com> <20120726005343.5f4f604c.freebsd@edvax.de> <20120726010633.5b206610.freebsd@edvax.de> <20120726004115.GB53190@neutralgood.org> <20120726023336.GA25888@hemlock.hydra> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: how to speed up port make?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2012 04:24:13 -0000 On Wed, 25 Jul 2012, Ryan Noll wrote: > Does anyone else remember "The Complete FreeBSD"? I'm looking right at it on the shelf here. "Second Edition - over 1750 pages!". It is *bristling* with post-it notes used as bookmarks. -- Chris Hill chris@monochrome.org ** [ Busy Expunging ] From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 05:33:58 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A2779106566C for ; Fri, 27 Jul 2012 05:33:58 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 62F628FC16 for ; Fri, 27 Jul 2012 05:33:58 +0000 (UTC) Received: by obbun3 with SMTP id un3so4837913obb.13 for ; Thu, 26 Jul 2012 22:33:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=1SQEEN9MwrsnQlRHiS0nTsrbYABwtBi9PhJWnKo7t94=; b=C1emq9A5bFBBXhl5Zn4NCwG6uTalhMP4UMxDdcBeFB9wd4SAYZ3ihb1dqvTCDwSr7X N+lIXDdfhFau5KQIXW3/M+r7dv8ePX6You6tAFkkNxJKxjqbEbkTL/44OXOOzIWU6ihY MJIRihjSJ7vgp9DWVqxs1x4+OHibJh7CT90dceso/szStH6eOg6uak1bsTJ6VS3WEM5h XpTD39oWDMjTy8PsEb6SplAqJKkJpIAWVrKxRzYfbLFs45aLow1wvT/YYGv+8eb49O2c bqrumW0al5GToSPcS0waev7fEhwXe6WBV+BXllT4cjhkaQFrgg5O/nWQwpd9J+7NOrou G73Q== MIME-Version: 1.0 Received: by 10.60.24.4 with SMTP id q4mr1771738oef.50.1343367237463; Thu, 26 Jul 2012 22:33:57 -0700 (PDT) Received: by 10.182.74.72 with HTTP; Thu, 26 Jul 2012 22:33:57 -0700 (PDT) In-Reply-To: <20120726155339.CNP13426@ms5.mc.surewest.net> References: <20120726155339.CNP13426@ms5.mc.surewest.net> Date: Thu, 26 Jul 2012 22:33:57 -0700 Message-ID: From: Mehmet Erol Sanliturk To: leeoliveshackelford@surewest.net Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Architectural CAD software X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2012 05:33:58 -0000 On Thu, Jul 26, 2012 at 3:53 PM, wrote: > Good afternoon, FreeBSD enthusiasts. I did not receive a response to the > following message, so I would like to rephrase the question. Does anyone > use an architectural CAD application with FreeBSD? If so, would you be > willing to share any comments, opinions, or advice with me concerning your > experience with this software? Many thanks in advance. Yours truly, Lee > Shackelford > > Good day FreeBSD enthusiasts. Has anyone installed and used CYCAS > architectural CAD software on a FreeBSD system? Is this possible? If you > have used CYCAS on a FreeBSD system, would you like to share with me your > comments about your experience? Many thanks. Lee Shackelford > > You may study the following list to select a suitable port/package : http://www.freebsd.org/ports/cad.html ( FreeBSD Ports: Cad ) ( Computer Aided Design utilities. ) If you need , the following chapter may be useful : http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html ( Chapter 5 Installing Applications: Packages and Ports ) Some sample ports/packages : .................................................. http://www.freebsd.org/cgi/url.cgi?ports/cad/brlcad/pkg-descr http://www.freebsd.org/cgi/cvsweb.cgi/ports/cad/brlcad/ ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/brlcad.tbz http://brlcad.org/ .................................................. http://www.freebsd.org/cgi/url.cgi?ports/cad/librecad/pkg-descr http://www.freebsd.org/cgi/cvsweb.cgi/ports/cad/librecad/ http://www.freshports.org/cad/librecad/ ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.3-release/Latest/librecad.tbz It seems that librecad does NOT exist in : ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/ http://librecad.org/cms/home.html .................................................. http://www.freebsd.org/cgi/url.cgi?ports/cad/opencascade/pkg-descr http://www.freebsd.org/cgi/cvsweb.cgi/ports/cad/opencascade/ ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/opencascade.tbz http://www.opencascade.org/ .................................................. http://www.freebsd.org/cgi/url.cgi?ports/cad/opencascade-tutorial/pkg-descr http://www.freebsd.org/cgi/cvsweb.cgi/ports/cad/openscad/ ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/openscad.tbz http://www.openscad.org/ .................................................. http://www.freebsd.org/cgi/url.cgi?ports/cad/qcad/pkg-descr http://www.freebsd.org/cgi/cvsweb.cgi/ports/cad/qcad/ ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/qcad-partslib.tbz ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/qcad.tbz http://www.ribbonsoft.com/en/qcad .................................................. http://www.freebsd.org/cgi/url.cgi?ports/cad/varkon/pkg-descr http://www.freebsd.org/cgi/cvsweb.cgi/ports/cad/varkon/ ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/varkon.tbz http://varkon.sourceforge.net/ .................................................. Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 07:22:58 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 166FA106566C for ; Fri, 27 Jul 2012 07:22:58 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 7A43B8FC0C for ; Fri, 27 Jul 2012 07:22:57 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6R7MqEP019404; Fri, 27 Jul 2012 09:22:52 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6R7Mqqb019401; Fri, 27 Jul 2012 09:22:52 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Fri, 27 Jul 2012 09:22:52 +0200 (CEST) From: Wojciech Puchar To: Polytropon In-Reply-To: <20120727050248.7d6d9de8.freebsd@edvax.de> Message-ID: References: <1343228557.99992.androidMobile@web140705.mail.bf1.yahoo.com> <201207261136.21389.naylor.b.david@gmail.com> <20120727050248.7d6d9de8.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Fri, 27 Jul 2012 09:22:52 +0200 (CEST) Cc: David Naylor , "freebsd-questions@freebsd org" , Mr U Subject: Re: how to speed up port make?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2012 07:22:58 -0000 >> A few things you could try adding to make.conf: >> FORCE_MAKE_JOBS=yes >> MAKE_JOBS_NUMBER=4 > > I'm not sure this is supported on a _single_ core Pentium 4 CPU > (or will gain speed if it was "emulated"). MAKE_JOBS_NUMBER=2 make sense - one process I/O may overlap with other compute From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 09:51:21 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3AD8E106566C for ; Fri, 27 Jul 2012 09:51:21 +0000 (UTC) (envelope-from chad@shire.net) Received: from mail.shire.net (mail.shire.net [199.102.78.250]) by mx1.freebsd.org (Postfix) with ESMTP id 170228FC12 for ; Fri, 27 Jul 2012 09:51:21 +0000 (UTC) Received: from c-76-27-96-201.hsd1.ut.comcast.net ([76.27.96.201] helo=[192.168.99.216]) by mail.shire.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77) (envelope-from ) id 1Sudr5-000IaM-Ff; Fri, 27 Jul 2012 00:16:55 -0600 From: Chad Leigh Shire.Net LLC Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Fri, 27 Jul 2012 00:16:54 -0600 Message-Id: To: FreeBSD Mailing List Mime-Version: 1.0 (Apple Message framework v1278) X-Mailer: Apple Mail (2.1278) X-SA-Exim-Connect-IP: 76.27.96.201 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on mail.shire.net); SAEximRunCond expanded to false Cc: Chad Leigh Subject: Apache FCGI in a a jail under FBSD 9 won't start due to shared memory creation 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, 27 Jul 2012 09:51:21 -0000 Hi I run systems using FreeBSD 9.0 FreeBSD utah.XXXXXXXcom 9.0-STABLE FreeBSD 9.0-STABLE #1: Wed Mar 21 = 15:22:14 MDT 2012 chad@underhill:/usr/obj/usr/src/sys/UNDERHILL-XEN = amd64 and on those systems run a bunch of jails. I have Apache 2.2 built and = running in the jail in question, and recently had need to add mod_fcgid = to it. NOTE that the Apache and mod_fcgid were not installed through = ports or packages. I download the source and build myself (for various = reasons). =20 Apache inside the Jail, with mod_fcgid enabled will not start: [Mon Jul 23 10:59:35 2012] [emerg] (78)Function not implemented: = mod_fcgid: Can't create shared memory for size 1192488 bytes I did a search on this and found that I would probably need a system = kernel parameter changed from 0 -> 1 security.jail.sysvipc_allowed So I did that. (And restarted the jail). However, I still get the same = error when trying to start apache. I noticed a similar parameter security.jail.param.allow.sysvipc but = cannot change this at run time and did not find anything useful about = what this parameter is for using a search engine. (As an aside, how would I change security.jail.sysvipc_allowed and = also security.jail.param.allow.sysvipc at boot time? I added them both = to /boot/loader.conf but they did not get changed at boot and I had to = do the security.jail.sysvipc_allowed one again on the command line -- I = have some vfs type kernel state variables set there and they stick) I would appreciate some help with getting things set up so that I can = run apache with mod_fcgid under my Jails on FBSD 9. Thanks! Chad From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 10:43:18 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FD4F1065672 for ; Fri, 27 Jul 2012 10:43:18 +0000 (UTC) (envelope-from dan@slightlystrange.org) Received: from lhscloud01.localhostservices.net (lhscloud01.localhostservices.net [83.222.226.222]) by mx1.freebsd.org (Postfix) with ESMTP id C79C68FC0C for ; Fri, 27 Jul 2012 10:43:17 +0000 (UTC) Received: from client-82-26-202-194.pete.adsl.virginmedia.com ([82.26.202.194] helo=catflap.slightlystrange.org) by lhscloud01.localhostservices.net with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80 (FreeBSD)) (envelope-from ) id 1Sui0k-000JDD-84 for freebsd-questions@freebsd.org; Fri, 27 Jul 2012 11:43:10 +0100 Received: from dan by catflap.slightlystrange.org with local (Exim 4.80 (FreeBSD)) (envelope-from ) id 1Sui0i-0000im-Fe for freebsd-questions@freebsd.org; Fri, 27 Jul 2012 11:43:08 +0100 Date: Fri, 27 Jul 2012 11:43:08 +0100 From: Daniel Bye To: FreeBSD Questions Message-ID: <20120727104308.GA4834@catflap.slightlystrange.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pf9I7BMVVzbSWLtt" Content-Disposition: inline X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Sender: Daniel Bye Subject: On-access AV scanning 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: Fri, 27 Jul 2012 10:43:18 -0000 --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Are there any current options available to support on-access antivirus scanning on FreeBSD? security/dazuko doesn't build on FreeBSD more recent than 8[0], so that's a non-starter, and it looks as if the FreeBSD zfs implementation lacks support for the vscan property[1], so using vscan with c-icap[2] is apparently not an option, either. I am in no way clever enough to even consider attempting to add vscan support. I met the new CIO of my company yesterday, and out of that conversation, I am putting together a case for getting a FreeBSD or Solaris workstation to replace the aged Windows XP machine I've been on for the last three years.= =20 My first choice would be FreeBSD, but I need to convince him that AV provisions are adequate to meet corporate IT policy guidelines. With the hardware specifications we are looking at, it would be possible to configure a full, on-demand scan every few hours, but on-access capability would be nice. And yes, I know that neither FreeBSD nor Solaris are renowned for their sickly vulnerability to viruses, but we operate in a mixed environment, with a lot of Windows machines and ZFS file systems exported by SMB/CIFS, so we need the AV to ensure any viruses are stopped before they infect a susceptible machine. It seems a small price to pay to finally get a decent workstation! Thanks for any hints, Dan [0]: security/dazuko/Makefile:22 [1]: cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c:1456-1461 (FreeBSD 9.1-PRERELEASE from two days ago) [2]: https://www.sunwfrk.com/2009/04/19/zfs-with-on-access-virus-scan/ --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --pf9I7BMVVzbSWLtt Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAlAScLwACgkQixf5fBYiFmqOpgCaA/ExplCRhzVn6bjI+wpYiTSz yf4AnAuovSlIU/rZ6DTd1m0U74agGD6U =XV9k -----END PGP SIGNATURE----- --pf9I7BMVVzbSWLtt-- From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 10:51:09 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 14A3D106566B for ; Fri, 27 Jul 2012 10:51:09 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 748F38FC0A for ; Fri, 27 Jul 2012 10:51:08 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6RAp5R5020434; Fri, 27 Jul 2012 12:51:05 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6RAp4Tn020431; Fri, 27 Jul 2012 12:51:05 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Fri, 27 Jul 2012 12:51:04 +0200 (CEST) From: Wojciech Puchar To: Daniel Bye In-Reply-To: <20120727104308.GA4834@catflap.slightlystrange.org> Message-ID: References: <20120727104308.GA4834@catflap.slightlystrange.org> 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 passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Fri, 27 Jul 2012 12:51:05 +0200 (CEST) Cc: FreeBSD Questions Subject: Re: On-access AV scanning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2012 10:51:09 -0000 > Are there any current options available to support on-access antivirus > scanning on FreeBSD? > FreeBSD doesn't need this as there are no viruses on that system. > And yes, I know that neither FreeBSD nor Solaris are renowned for their > sickly vulnerability to viruses, but we operate in a mixed environment, with > a lot of Windows machines and ZFS file systems exported by SMB/CIFS, so we > need the AV to ensure any viruses are stopped before they infect a > susceptible machine. It seems a small price to pay to finally get a decent > workstation! No idea - YOU will not spread wiruses, and viruses from other winstations will not affect you. so just install antivirus software on winstations. Or finally educate users as it is really simple to avoid viruses even with windows From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 11:00:22 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1E626106566B for ; Fri, 27 Jul 2012 11:00:22 +0000 (UTC) (envelope-from dan@slightlystrange.org) Received: from lhscloud01.localhostservices.net (lhscloud01.localhostservices.net [83.222.226.222]) by mx1.freebsd.org (Postfix) with ESMTP id C5EC98FC15 for ; Fri, 27 Jul 2012 11:00:21 +0000 (UTC) Received: from client-82-26-202-194.pete.adsl.virginmedia.com ([82.26.202.194] helo=catflap.slightlystrange.org) by lhscloud01.localhostservices.net with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80 (FreeBSD)) (envelope-from ) id 1SuiHM-000JGW-T0 for freebsd-questions@freebsd.org; Fri, 27 Jul 2012 12:00:21 +0100 Received: from dan by catflap.slightlystrange.org with local (Exim 4.80 (FreeBSD)) (envelope-from ) id 1SuiHL-0000mY-7e for freebsd-questions@freebsd.org; Fri, 27 Jul 2012 12:00:19 +0100 Date: Fri, 27 Jul 2012 12:00:19 +0100 From: Daniel Bye To: freebsd-questions@freebsd.org Message-ID: <20120727110019.GB4834@catflap.slightlystrange.org> References: <20120727104308.GA4834@catflap.slightlystrange.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+g7M9IMkV8truYOl" Content-Disposition: inline In-Reply-To: X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Sender: Daniel Bye Subject: Re: On-access AV scanning 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: Fri, 27 Jul 2012 11:00:22 -0000 --+g7M9IMkV8truYOl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 27, 2012 at 12:51:04PM +0200, Wojciech Puchar wrote: > >Are there any current options available to support on-access antivirus > >scanning on FreeBSD? > > > FreeBSD doesn't need this as there are no viruses on that system. Well, thanks. >=20 > >And yes, I know that neither FreeBSD nor Solaris are renowned for their > >sickly vulnerability to viruses, but we operate in a mixed environment, = with > >a lot of Windows machines and ZFS file systems exported by SMB/CIFS, so = we > >need the AV to ensure any viruses are stopped before they infect a > >susceptible machine. It seems a small price to pay to finally get a dec= ent > >workstation! > No idea - YOU will not spread wiruses, and viruses from other > winstations will not affect you. >=20 > so just install antivirus software on winstations. >=20 > Or finally educate users as it is really simple to avoid viruses > even with windows I refer you to the part where I specifically talk about our corporate IT policy. All desktops/workstations (that is, all of them, every single one), must have AV software running on them. There will be no exceptions, on pain of dismissal. I don't want to lose my job, because you said I didn't need AV software. --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --+g7M9IMkV8truYOl Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAlASdMMACgkQixf5fBYiFmosFwCgpTrS0pWww3XXe+DD3rcFrg+e RaQAnRSJNwioDmbmv8XFcVTibERTBY8e =IDNm -----END PGP SIGNATURE----- --+g7M9IMkV8truYOl-- From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 11:23:45 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99AEB1065676 for ; Fri, 27 Jul 2012 11:23:45 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 578FB8FC0C for ; Fri, 27 Jul 2012 11:23:45 +0000 (UTC) Received: from r56.edvax.de (port-92-195-22-218.dynamic.qsc.de [92.195.22.218]) by mx01.qsc.de (Postfix) with ESMTP id 894893CEE7; Fri, 27 Jul 2012 13:23:37 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q6RBNac6003450; Fri, 27 Jul 2012 13:23:37 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 27 Jul 2012 13:23:36 +0200 From: Polytropon To: Daniel Bye Message-Id: <20120727132336.9d2289e8.freebsd@edvax.de> In-Reply-To: <20120727110019.GB4834@catflap.slightlystrange.org> References: <20120727104308.GA4834@catflap.slightlystrange.org> <20120727110019.GB4834@catflap.slightlystrange.org> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: On-access AV scanning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2012 11:23:45 -0000 On Fri, 27 Jul 2012 12:00:19 +0100, Daniel Bye wrote: > All desktops/workstations (that is, all of them, every single one), > must have AV software running on them. There will be no exceptions, on pain > of dismissal. Why is the AV software running on FreeBSD not sufficient in the opinion of your superior (or by the guidelines of the corporate directives)? And those who bring a smartphone to work (private or company use), how do they run AV software on those _IT devices_? :-) Oh, and how is AV software brought to the company network printers, the LAN gear and WLAN APs and everything else that can be infected, exploited, ruined or damaged? Or do they simply not count as "desktop/workstation" as you mentioned? In that case: Happy attack vectors. :-) Excuse my sarcasm, but there's a little truth in it, when seen from an IT security point of view. Really, I _do_ understand your problem (or better the problems others created for you). Try to get more specific statements to what kind of AV software with which "action attributes" is required and try to construct a solution that will be sufficient in the _view_ of the responsible superiors. The less they do actually understand, the easier it should be. FreeBSD does _have_ AV software, but not _for_ FreeBSD per se (as it cannot be infected by viruses, trojans and malware that are designed explicitely for "Windows" platforms), but it can very well detect them. This all still does not help against human stupidity. Feel free to show this article and make use of its arguments: Robert McMillan: Is Antivirus Software a Waste of Money? http://www.wired.com/wiredenterprise/2012/03/antivirus/ A _responsible_ and well-educated IT representative should form his own intelligent opinions, instead of trying to blindly corporate guidelines which are possibly _impossible_ to instantiate. My idea for a solution: You can use a file access monitor (FAM) to detect when a new file enters the system, and then immediately have it scanned by a virus scanner you have already installed from ports. Next issue: "You need a virus scanner that inspects network packets!" :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 11:47:33 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9886C1065672 for ; Fri, 27 Jul 2012 11:47:33 +0000 (UTC) (envelope-from dan@slightlystrange.org) Received: from lhscloud01.localhostservices.net (lhscloud01.localhostservices.net [83.222.226.222]) by mx1.freebsd.org (Postfix) with ESMTP id 3D1E68FC14 for ; Fri, 27 Jul 2012 11:47:33 +0000 (UTC) Received: from client-82-26-202-194.pete.adsl.virginmedia.com ([82.26.202.194] helo=catflap.slightlystrange.org) by lhscloud01.localhostservices.net with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80 (FreeBSD)) (envelope-from ) id 1Suj11-000JNQ-DT for freebsd-questions@freebsd.org; Fri, 27 Jul 2012 12:47:31 +0100 Received: from dan by catflap.slightlystrange.org with local (Exim 4.80 (FreeBSD)) (envelope-from ) id 1Suj0z-0000v2-Ow for freebsd-questions@freebsd.org; Fri, 27 Jul 2012 12:47:29 +0100 Date: Fri, 27 Jul 2012 12:47:29 +0100 From: Daniel Bye To: freebsd-questions@freebsd.org Message-ID: <20120727114729.GC4834@catflap.slightlystrange.org> References: <20120727104308.GA4834@catflap.slightlystrange.org> <20120727110019.GB4834@catflap.slightlystrange.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2/5bycvrmDh4d1IB" Content-Disposition: inline In-Reply-To: X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Sender: Daniel Bye Subject: Re: On-access AV scanning 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: Fri, 27 Jul 2012 11:47:33 -0000 --2/5bycvrmDh4d1IB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 27, 2012 at 07:19:45AM -0400, Daniel Feenberg wrote: >=20 >=20 > On Fri, 27 Jul 2012, Daniel Bye wrote: >=20 > >On Fri, Jul 27, 2012 at 12:51:04PM +0200, Wojciech Puchar wrote: > >>>Are there any current options available to support on-access antivirus > >>>scanning on FreeBSD? > >>> > >>FreeBSD doesn't need this as there are no viruses on that system. > > > >Well, thanks. > > > >> > >>>And yes, I know that neither FreeBSD nor Solaris are renowned for their > >>>sickly vulnerability to viruses, but we operate in a mixed environment= , with > >>>a lot of Windows machines and ZFS file systems exported by SMB/CIFS, s= o we > >>>need the AV to ensure any viruses are stopped before they infect a > >>>susceptible machine. It seems a small price to pay to finally get a d= ecent > >>>workstation! > >>No idea - YOU will not spread wiruses, and viruses from other > >>winstations will not affect you. > >> > >>so just install antivirus software on winstations. > >> > >>Or finally educate users as it is really simple to avoid viruses > >>even with windows > > > >I refer you to the part where I specifically talk about our corporate IT > >policy. All desktops/workstations (that is, all of them, every single on= e), > >must have AV software running on them. There will be no exceptions, on p= ain >=20 > Well, there is AV software for FreeBSD - we use Kaspersky on our > FreeBSD based mailserver, but the viruses it looks for are Windows > viruses. I don't know if that will satisfy your IT policy. Maybe you > should be looking at Cygwin? Or, can FreeBSD run under HyperV? Thanks, Daniel. I have looked at Kaspersky, and various others, but the main sticking point, as I see it, is that there is no on-access scanning capability in any of the AV packages available for FreeBSD. It's not essential to build my case, but it would certainly strengthen it. I use ClamAV on my home mail server, and it works well. I have also tested it out on a desktop machine to run on-demand scans, and it works just fine, and doesn't impose so much of a load as to be a nuisance. We have had a couple of virus outbreaks recently, so this is quite a high profile concern around here at the moment. The CIO is from a technical background, so I might well be able to convince him of FreeBSD's strengths as a very secure system, but I will still need to accede to the IT policy, sadly - no way around it. Dan --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --2/5bycvrmDh4d1IB Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAlASf9EACgkQixf5fBYiFmoWAACfSKFXaGR9uZuylcUNRv4fwZKK u9oAnjbEr5syxNn5TaXP2ikAPZuUYH/R =lsnv -----END PGP SIGNATURE----- --2/5bycvrmDh4d1IB-- From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 11:48:14 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EE73A106566C for ; Fri, 27 Jul 2012 11:48:13 +0000 (UTC) (envelope-from feenberg@nber.org) Received: from mail2.nber.org (mail2.nber.org [66.251.72.79]) by mx1.freebsd.org (Postfix) with ESMTP id 8D8AE8FC20 for ; Fri, 27 Jul 2012 11:48:13 +0000 (UTC) Received: from nber9.nber.org (nber9.nber.org [66.251.72.178]) by mail2.nber.org (8.14.4/8.14.4) with ESMTP id q6RBJj9k076672 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 27 Jul 2012 07:19:45 -0400 (EDT) (envelope-from feenberg@nber.org) Date: Fri, 27 Jul 2012 07:19:45 -0400 (EDT) From: Daniel Feenberg To: Daniel Bye In-Reply-To: <20120727110019.GB4834@catflap.slightlystrange.org> Message-ID: References: <20120727104308.GA4834@catflap.slightlystrange.org> <20120727110019.GB4834@catflap.slightlystrange.org> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Anti-Virus: Kaspersky Anti-Virus for Linux Mail Server 5.6.39/RELEASE, bases: 20120727 #8344304, check: 20120727 clean Cc: freebsd-questions@freebsd.org Subject: Re: On-access AV scanning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2012 11:48:14 -0000 On Fri, 27 Jul 2012, Daniel Bye wrote: > On Fri, Jul 27, 2012 at 12:51:04PM +0200, Wojciech Puchar wrote: >>> Are there any current options available to support on-access antivirus >>> scanning on FreeBSD? >>> >> FreeBSD doesn't need this as there are no viruses on that system. > > Well, thanks. > >> >>> And yes, I know that neither FreeBSD nor Solaris are renowned for their >>> sickly vulnerability to viruses, but we operate in a mixed environment, with >>> a lot of Windows machines and ZFS file systems exported by SMB/CIFS, so we >>> need the AV to ensure any viruses are stopped before they infect a >>> susceptible machine. It seems a small price to pay to finally get a decent >>> workstation! >> No idea - YOU will not spread wiruses, and viruses from other >> winstations will not affect you. >> >> so just install antivirus software on winstations. >> >> Or finally educate users as it is really simple to avoid viruses >> even with windows > > I refer you to the part where I specifically talk about our corporate IT > policy. All desktops/workstations (that is, all of them, every single one), > must have AV software running on them. There will be no exceptions, on pain Well, there is AV software for FreeBSD - we use Kaspersky on our FreeBSD based mailserver, but the viruses it looks for are Windows viruses. I don't know if that will satisfy your IT policy. Maybe you should be looking at Cygwin? Or, can FreeBSD run under HyperV? daniel feenberg NBER > of dismissal. I don't want to lose my job, because you said I didn't need AV > software. > > -- > Daniel Bye > _ > ASCII ribbon campaign ( ) > - against HTML, vCards and X > - proprietary attachments in e-mail / \ > From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 11:57:58 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 319521065673 for ; Fri, 27 Jul 2012 11:57:58 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id B10778FC1F for ; Fri, 27 Jul 2012 11:57:57 +0000 (UTC) Received: by eeke52 with SMTP id e52so693801eek.13 for ; Fri, 27 Jul 2012 04:57:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=qcj2Tge6WFUJvruXKvhHve+kapJqO8nGEV1Cy7vgh/s=; b=BaLods+++XAu2PmJeWB64BrqB+mtDXvAZbesDtdeqIBsNIpX8Q5aidhTnO5TAnA4nv n+nGYdBASBJhe04++nyOxXsX9GQRY+YkqFhWTaHQLHuTKfard2c4pISNDdNnjB8adtrH jR60Ryx2+sl164YejliRdlbUbcVvE7jG3659aVcnlJ5j8jnnK6xHJKhN6Jq+42r5d24b 7G7LbIsEQNjAHy/uB0BEAZJwAXmfxq8PkPEAEXPrSrk/chBT5XzvF7LMTnCPTSuXztrE 1AatYPYfs/r1A/Uk1zs3rXIL8fSHAm/Nwv4B1+Th7dHpmJbrvkfLsTMJ+b1RmQbGohgL +rZA== Received: by 10.14.3.132 with SMTP id 4mr2384012eeh.9.1343389938296; Fri, 27 Jul 2012 04:52:18 -0700 (PDT) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id 7sm5606098eeb.3.2012.07.27.04.52.17 (version=SSLv3 cipher=OTHER); Fri, 27 Jul 2012 04:52:17 -0700 (PDT) Message-ID: <501280F0.8000508@my.gd> Date: Fri, 27 Jul 2012 13:52:16 +0200 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20120727104308.GA4834@catflap.slightlystrange.org> <20120727110019.GB4834@catflap.slightlystrange.org> <20120727114729.GC4834@catflap.slightlystrange.org> In-Reply-To: <20120727114729.GC4834@catflap.slightlystrange.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQkbDhSNnpcu3t0IbxJzTXOFHTGEZMs2ArdIZPNiw4zycW6BnV1WHdzDlNBJUi1N8sBTz+0L Subject: Re: On-access AV scanning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2012 11:57:58 -0000 On 7/27/12 1:47 PM, Daniel Bye wrote: > On Fri, Jul 27, 2012 at 07:19:45AM -0400, Daniel Feenberg wrote: >> >> >> On Fri, 27 Jul 2012, Daniel Bye wrote: >> >>> On Fri, Jul 27, 2012 at 12:51:04PM +0200, Wojciech Puchar wrote: >>>>> Are there any current options available to support on-access antivirus >>>>> scanning on FreeBSD? >>>>> >>>> FreeBSD doesn't need this as there are no viruses on that system. >>> >>> Well, thanks. >>> >>>> >>>>> And yes, I know that neither FreeBSD nor Solaris are renowned for their >>>>> sickly vulnerability to viruses, but we operate in a mixed environment, with >>>>> a lot of Windows machines and ZFS file systems exported by SMB/CIFS, so we >>>>> need the AV to ensure any viruses are stopped before they infect a >>>>> susceptible machine. It seems a small price to pay to finally get a decent >>>>> workstation! >>>> No idea - YOU will not spread wiruses, and viruses from other >>>> winstations will not affect you. >>>> >>>> so just install antivirus software on winstations. >>>> >>>> Or finally educate users as it is really simple to avoid viruses >>>> even with windows >>> >>> I refer you to the part where I specifically talk about our corporate IT >>> policy. All desktops/workstations (that is, all of them, every single one), >>> must have AV software running on them. There will be no exceptions, on pain >> >> Well, there is AV software for FreeBSD - we use Kaspersky on our >> FreeBSD based mailserver, but the viruses it looks for are Windows >> viruses. I don't know if that will satisfy your IT policy. Maybe you >> should be looking at Cygwin? Or, can FreeBSD run under HyperV? > > Thanks, Daniel. I have looked at Kaspersky, and various others, but the main > sticking point, as I see it, is that there is no on-access scanning > capability in any of the AV packages available for FreeBSD. It's not > essential to build my case, but it would certainly strengthen it. I use > ClamAV on my home mail server, and it works well. I have also tested it out > on a desktop machine to run on-demand scans, and it works just fine, and > doesn't impose so much of a load as to be a nuisance. > > We have had a couple of virus outbreaks recently, so this is quite a high > profile concern around here at the moment. The CIO is from a technical > background, so I might well be able to convince him of FreeBSD's strengths > as a very secure system, but I will still need to accede to the IT policy, > sadly - no way around it. > > Dan > FUSE ClamFS But then, FUSE... ew... From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 12:12:26 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F032C106564A for ; Fri, 27 Jul 2012 12:12:25 +0000 (UTC) (envelope-from dan@slightlystrange.org) Received: from lhscloud01.localhostservices.net (lhscloud01.localhostservices.net [83.222.226.222]) by mx1.freebsd.org (Postfix) with ESMTP id 94E8B8FC0A for ; Fri, 27 Jul 2012 12:12:25 +0000 (UTC) Received: from client-82-26-202-194.pete.adsl.virginmedia.com ([82.26.202.194] helo=catflap.slightlystrange.org) by lhscloud01.localhostservices.net with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80 (FreeBSD)) (envelope-from ) id 1SujP6-000JRH-Lk for freebsd-questions@freebsd.org; Fri, 27 Jul 2012 13:12:24 +0100 Received: from dan by catflap.slightlystrange.org with local (Exim 4.80 (FreeBSD)) (envelope-from ) id 1SujP6-0000zW-0f for freebsd-questions@freebsd.org; Fri, 27 Jul 2012 13:12:24 +0100 Date: Fri, 27 Jul 2012 13:12:24 +0100 From: Daniel Bye To: freebsd-questions@freebsd.org Message-ID: <20120727121223.GD4834@catflap.slightlystrange.org> References: <20120727104308.GA4834@catflap.slightlystrange.org> <20120727110019.GB4834@catflap.slightlystrange.org> <20120727132336.9d2289e8.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WChQLJJJfbwij+9x" Content-Disposition: inline In-Reply-To: <20120727132336.9d2289e8.freebsd@edvax.de> X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Sender: Daniel Bye Subject: Re: On-access AV scanning 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: Fri, 27 Jul 2012 12:12:26 -0000 --WChQLJJJfbwij+9x Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 27, 2012 at 01:23:36PM +0200, Polytropon wrote: > On Fri, 27 Jul 2012 12:00:19 +0100, Daniel Bye wrote: > > All desktops/workstations (that is, all of them, every single one), > > must have AV software running on them. There will be no exceptions, on = pain > > of dismissal. >=20 > Why is the AV software running on FreeBSD not sufficient in > the opinion of your superior (or by the guidelines of the > corporate directives)? >=20 > And those who bring a smartphone to work (private or company > use), how do they run AV software on those _IT devices_? :-) >=20 > Oh, and how is AV software brought to the company network > printers, the LAN gear and WLAN APs and everything else > that can be infected, exploited, ruined or damaged? >=20 > Or do they simply not count as "desktop/workstation" as you > mentioned? In that case: Happy attack vectors. :-) Well, no, they don't count, according to our policy, because they're not desktops. I know, I know - but I didn't write the damn policy - I just have to live by it! :-/ >=20 >=20 >=20 > Excuse my sarcasm, but there's a little truth in it, when > seen from an IT security point of view. I know, you make valid points - but I am merely a minor functionary on the content development department, and not a global IT policy maker. If it were up to me, everyone in the company would be on UNIX of some kind or other, but it just isn't up to me. Hopefully, I can convince those that need convincing that what is available is sufficient. I've only been using FreeBSD for the last 13 years, after all, and in that time can count on the fingers of no hands the number of security flaws that have allowed any of the machines under my care to be compromised... I know that's no reason for complacency, and that I have been lucky, but it's still a comforting statistic. Thanks for your thoughts, guys. Of course, I'm going to extol FreeBSD's virtues (it'd be great to get it in the datacentre, wouldn't it?), and we'll see how we go! >=20 >=20 >=20 > Really, I _do_ understand your problem (or better the problems > others created for you). Try to get more specific statements > to what kind of AV software with which "action attributes" is > required and try to construct a solution that will be sufficient > in the _view_ of the responsible superiors. The less they do > actually understand, the easier it should be. FreeBSD does > _have_ AV software, but not _for_ FreeBSD per se (as it cannot > be infected by viruses, trojans and malware that are designed > explicitely for "Windows" platforms), but it can very well > detect them. This all still does not help against human > stupidity. Aye, quite so. Preaching to the choir, brother. >=20 > Feel free to show this article and make use of its arguments: >=20 > Robert McMillan: Is Antivirus Software a Waste of Money? >=20 > http://www.wired.com/wiredenterprise/2012/03/antivirus/ Thanks for the link - I'll certainly have a read of it, and might well drop the link in my email to him. >=20 > A _responsible_ and well-educated IT representative should > form his own intelligent opinions, instead of trying to > blindly corporate guidelines which are possibly _impossible_ > to instantiate. Oh, this guy isn't frightened of change, so I'm just trying to build the best case I can for his accepting FreeBSD. He seems very reasonable, and I'm sure will be able to make an informed decision based on what I tell him, and his own knowledge and experience. To be honest, when I asked him for a UNIX workstation, I was expecting him to just laugh at me, so to be given the opportunity to make a case for FreeBSD came as a very welcome surprise. >=20 >=20 >=20 > My idea for a solution: You can use a file access monitor > (FAM) to detect when a new file enters the system, and then > immediately have it scanned by a virus scanner you have > already installed from ports. Yep - exactly the solution that occurred to me a few minutes ago. A project for the weekend! Because looking after a 6-month-old baby doesn't take up all our time... >=20 >=20 >=20 > Next issue: "You need a virus scanner that inspects network > packets!" :-) lol. Don't! Like I said, I'm just a code jockey in the content development department - all that stuff happens way up there, out sight of us mere bottom-dwellers! Cheers, Dan --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --WChQLJJJfbwij+9x Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAlAShacACgkQixf5fBYiFmr5XACgmRFIeL6FxQmmbJVcDbL3no8f 6JwAoLudz1PlF0daro4KfuCDAIHBeGTm =z7ZQ -----END PGP SIGNATURE----- --WChQLJJJfbwij+9x-- From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 12:13:19 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3D8EF1065676 for ; Fri, 27 Jul 2012 12:13:19 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.224.110]) by mx1.freebsd.org (Postfix) with ESMTP id 1062E8FC1E for ; Fri, 27 Jul 2012 12:13:09 +0000 (UTC) Received: from AMD620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q6RCCwZ0023237; Fri, 27 Jul 2012 06:13:04 -0600 Date: Fri, 27 Jul 2012 19:15:29 +0700 From: Erich Dollansky To: Daniel Bye Message-ID: <20120727191529.01222988@AMD620.ovitrap.com> In-Reply-To: <20120727114729.GC4834@catflap.slightlystrange.org> References: <20120727104308.GA4834@catflap.slightlystrange.org> <20120727110019.GB4834@catflap.slightlystrange.org> <20120727114729.GC4834@catflap.slightlystrange.org> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: On-access AV scanning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2012 12:13:19 -0000 Hi, On Fri, 27 Jul 2012 12:47:29 +0100 Daniel Bye wrote: > On Fri, Jul 27, 2012 at 07:19:45AM -0400, Daniel Feenberg wrote: > > > > > > On Fri, 27 Jul 2012, Daniel Bye wrote: > > > > >On Fri, Jul 27, 2012 at 12:51:04PM +0200, Wojciech Puchar wrote: > > >>>Are there any current options available to support on-access > > >>>antivirus scanning on FreeBSD? why should it be available when it is not needed? > > >>> > > >>FreeBSD doesn't need this as there are no viruses on that system. Ok, this is a bad reasoning. > > > > Thanks, Daniel. I have looked at Kaspersky, and various others, but > the main sticking point, as I see it, is that there is no on-access > scanning capability in any of the AV packages available for FreeBSD. You will not find them. The scanners running on FreeBSD are looking for Windows pests. > It's not essential to build my case, but it would certainly > strengthen it. I use ClamAV on my home mail server, and it works > well. I have also tested it out on a desktop machine to run > on-demand scans, and it works just fine, and doesn't impose so much > of a load as to be a nuisance. > Does it scan for FreeBSD viruses? I would wonder. > We have had a couple of virus outbreaks recently, so this is quite a > high profile concern around here at the moment. The CIO is from a > technical background, so I might well be able to convince him of > FreeBSD's strengths as a very secure system, but I will still need to > accede to the IT policy, sadly - no way around it. You will have to give it a miss then. The security concepts of FreeBSD are 100% different. They will never match this kind of policy. Erich From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 12:14:22 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2E37C1065672 for ; Fri, 27 Jul 2012 12:14:22 +0000 (UTC) (envelope-from dan@slightlystrange.org) Received: from lhscloud01.localhostservices.net (lhscloud01.localhostservices.net [83.222.226.222]) by mx1.freebsd.org (Postfix) with ESMTP id D1F238FC19 for ; Fri, 27 Jul 2012 12:14:21 +0000 (UTC) Received: from client-82-26-202-194.pete.adsl.virginmedia.com ([82.26.202.194] helo=catflap.slightlystrange.org) by lhscloud01.localhostservices.net with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80 (FreeBSD)) (envelope-from ) id 1SujQz-000JRa-2W for freebsd-questions@freebsd.org; Fri, 27 Jul 2012 13:14:21 +0100 Received: from dan by catflap.slightlystrange.org with local (Exim 4.80 (FreeBSD)) (envelope-from ) id 1SujQy-0000zy-H3 for freebsd-questions@freebsd.org; Fri, 27 Jul 2012 13:14:20 +0100 Date: Fri, 27 Jul 2012 13:14:20 +0100 From: Daniel Bye To: freebsd-questions@freebsd.org Message-ID: <20120727121420.GE4834@catflap.slightlystrange.org> References: <20120727104308.GA4834@catflap.slightlystrange.org> <20120727110019.GB4834@catflap.slightlystrange.org> <20120727114729.GC4834@catflap.slightlystrange.org> <501280F0.8000508@my.gd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FN+gV9K+162wdwwF" Content-Disposition: inline In-Reply-To: <501280F0.8000508@my.gd> X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Sender: Daniel Bye Subject: Re: On-access AV scanning 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: Fri, 27 Jul 2012 12:14:22 -0000 --FN+gV9K+162wdwwF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 27, 2012 at 01:52:16PM +0200, Damien Fleuriot wrote: >=20 > FUSE ClamFS Ah, thanks for that. I'll check it out. >=20 >=20 > But then, FUSE... ew... I know. But, if it gets me my workstation... ;-) Dan --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --FN+gV9K+162wdwwF Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAlAShhwACgkQixf5fBYiFmreWQCgjATCejKSEK4ZPCjODiN3I+/C aSQAn0FclJgubRC+d1TnqyxmUWmKvvCG =VAxM -----END PGP SIGNATURE----- --FN+gV9K+162wdwwF-- From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 12:34:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F209106564A for ; Fri, 27 Jul 2012 12:34:44 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id BF22B8FC0C for ; Fri, 27 Jul 2012 12:34:43 +0000 (UTC) Received: from [82.113.121.242] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1SujkX-0007fg-8P for freebsd-questions@freebsd.org; Fri, 27 Jul 2012 14:34:34 +0200 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id q6RCYVsh002117 for ; Fri, 27 Jul 2012 14:34:31 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id q6RCYUAp002116 for freebsd-questions@freebsd.org; Fri, 27 Jul 2012 14:34:30 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Fri, 27 Jul 2012 14:34:30 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Message-ID: <20120727123429.GA2094@tiny.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 10.0-CURRENT r226986 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 82.113.121.242 Subject: calculating difference of times 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: Fri, 27 Jul 2012 12:34:44 -0000 Hello, Do we have something (in the ports) to calculate easy the difference of two times given as hh:mm - hh:mm? Some hack in bc(1) or something like this? Well, I could translate the times into UNIX seconds of epoche, build the diff and reconvert, but something more easy (and not in Perl or C, just shell); thanks matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 12:38:25 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1E7E106567B for ; Fri, 27 Jul 2012 12:38:25 +0000 (UTC) (envelope-from dan@slightlystrange.org) Received: from lhscloud01.localhostservices.net (lhscloud01.localhostservices.net [83.222.226.222]) by mx1.freebsd.org (Postfix) with ESMTP id 4294F8FC21 for ; Fri, 27 Jul 2012 12:38:25 +0000 (UTC) Received: from client-82-26-202-194.pete.adsl.virginmedia.com ([82.26.202.194] helo=catflap.slightlystrange.org) by lhscloud01.localhostservices.net with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80 (FreeBSD)) (envelope-from ) id 1Sujo4-000JV7-C9 for freebsd-questions@freebsd.org; Fri, 27 Jul 2012 13:38:24 +0100 Received: from dan by catflap.slightlystrange.org with local (Exim 4.80 (FreeBSD)) (envelope-from ) id 1Sujo3-0001Ec-Rc for freebsd-questions@freebsd.org; Fri, 27 Jul 2012 13:38:11 +0100 Date: Fri, 27 Jul 2012 13:38:11 +0100 From: Daniel Bye To: freebsd-questions@freebsd.org Message-ID: <20120727123811.GF4834@catflap.slightlystrange.org> References: <20120727104308.GA4834@catflap.slightlystrange.org> <20120727110019.GB4834@catflap.slightlystrange.org> <20120727114729.GC4834@catflap.slightlystrange.org> <20120727191529.01222988@AMD620.ovitrap.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Il7n/DHsA0sMLmDu" Content-Disposition: inline In-Reply-To: <20120727191529.01222988@AMD620.ovitrap.com> X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Sender: Daniel Bye Subject: Re: On-access AV scanning 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: Fri, 27 Jul 2012 12:38:25 -0000 --Il7n/DHsA0sMLmDu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 27, 2012 at 07:15:29PM +0700, Erich Dollansky wrote: > Hi, >=20 > On Fri, 27 Jul 2012 12:47:29 +0100 > Daniel Bye wrote: >=20 > > On Fri, Jul 27, 2012 at 07:19:45AM -0400, Daniel Feenberg wrote: > > >=20 > > >=20 > > > On Fri, 27 Jul 2012, Daniel Bye wrote: > > >=20 > > > >On Fri, Jul 27, 2012 at 12:51:04PM +0200, Wojciech Puchar wrote: > > > >>>Are there any current options available to support on-access > > > >>>antivirus scanning on FreeBSD? >=20 > why should it be available when it is not needed? Because the IT policy (currently) requires it. I don't agree with that policy, but there you are - I don't have the authority to simply ignore it. > > > >>> > > > >>FreeBSD doesn't need this as there are no viruses on that system. >=20 > Ok, this is a bad reasoning. > > > > > > Thanks, Daniel. I have looked at Kaspersky, and various others, but > > the main sticking point, as I see it, is that there is no on-access > > scanning capability in any of the AV packages available for FreeBSD. >=20 > You will not find them. The scanners running on FreeBSD are looking for > Windows pests. Yes, I know. But we have petabytes of file systems shared over SMB/CIFS, so if a Windows machine inroduces something to the network, it strikes me as reasonable that if my (still putative) FreeBSD system finds it before another Windows system, I have potentially prevented a much wider problem. >=20 > > It's not essential to build my case, but it would certainly > > strengthen it. I use ClamAV on my home mail server, and it works > > well. I have also tested it out on a desktop machine to run > > on-demand scans, and it works just fine, and doesn't impose so much > > of a load as to be a nuisance. > >=20 > Does it scan for FreeBSD viruses? I would wonder. I wouldn't waste your time wondering, if I were you. Of course they *all* look for malware that infests Windows machines. But, that nontwithstanding, I have to adhere to the policy, whether I like it or not. >=20 > > We have had a couple of virus outbreaks recently, so this is quite a > > high profile concern around here at the moment. The CIO is from a > > technical background, so I might well be able to convince him of > > FreeBSD's strengths as a very secure system, but I will still need to > > accede to the IT policy, sadly - no way around it. >=20 > You will have to give it a miss then. >=20 > The security concepts of FreeBSD are 100% different. They will never > match this kind of policy. Yes, and I am hoping that that fact is enough to persuade him that the current policy (which he inherited, by the way, he didn't have a hand it its establishment) is no longer applicable in an increasingly mixed environment (Polytropon brought up the obvious matter of smartphones and tablets and other devices). Thanks for your thoughts. Dan --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --Il7n/DHsA0sMLmDu Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAlASi7MACgkQixf5fBYiFmrShwCdG305ci1lool7cCZi7ssbbmCI MgcAoJQZ1c5clNMCs65ab6QrV2DC9A5Z =yLit -----END PGP SIGNATURE----- --Il7n/DHsA0sMLmDu-- From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 12:55:20 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9B0C9106566C for ; Fri, 27 Jul 2012 12:55:20 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 537B68FC0A for ; Fri, 27 Jul 2012 12:55:20 +0000 (UTC) Received: from mr16.lnh.mail.rcn.net ([207.172.157.36]) by smtp02.lnh.mail.rcn.net with ESMTP; 27 Jul 2012 08:55:19 -0400 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr16.lnh.mail.rcn.net (MOS 4.3.4-GA) with ESMTP id BWO18361; Fri, 27 Jul 2012 08:55:19 -0400 Received-SPF: None identity=pra; client-ip=209.6.86.84; receiver=smtp01.lnh.mail.rcn.net; envelope-from="roberthuff@rcn.com"; x-sender="roberthuff@rcn.com"; x-conformance=sidf_compatible Received-SPF: Neutral identity=mailfrom; client-ip=209.6.86.84; receiver=smtp01.lnh.mail.rcn.net; envelope-from="roberthuff@rcn.com"; x-sender="roberthuff@rcn.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None identity=helo; client-ip=209.6.86.84; receiver=smtp01.lnh.mail.rcn.net; envelope-from="roberthuff@rcn.com"; x-sender="postmaster@jerusalem.litteratus.org.litteratus.org"; x-conformance=sidf_compatible Received: from 209-6-86-84.c3-0.smr-ubr2.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.86.84]) by smtp01.lnh.mail.rcn.net with ESMTP; 27 Jul 2012 08:55:19 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20498.36790.654638.359301@jerusalem.litteratus.org> Date: Fri, 27 Jul 2012 08:55:18 -0400 To: Matthias Apitz In-Reply-To: <20120727123429.GA2094@tiny.Sisis.de> References: <20120727123429.GA2094@tiny.Sisis.de> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr16.lnh.mail.rcn.net) Cc: freebsd-questions@freebsd.org Subject: calculating difference of times X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2012 12:55:20 -0000 Matthias Apitz writes: > Do we have something (in the ports) to calculate easy the > difference of two times given as hh:mm - hh:mm? Some hack in > bc(1) or something like this? Well, I could translate the times > into UNIX seconds of epoche, build the diff and reconvert, but > something more easy (and not in Perl or C, just shell); thanks I don't know if there's something already available. (Sorry - never had this problem.) If the format is fixed, then parsing it with awk is trivial. After that, the math should be doable with "expr". Robert Huff From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 12:59:10 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 49A201065674 for ; Fri, 27 Jul 2012 12:59:10 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.224.110]) by mx1.freebsd.org (Postfix) with ESMTP id 176838FC17 for ; Fri, 27 Jul 2012 12:59:10 +0000 (UTC) Received: from AMD620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q6RCwxIQ001202; Fri, 27 Jul 2012 06:59:04 -0600 Date: Fri, 27 Jul 2012 20:01:31 +0700 From: Erich Dollansky To: Daniel Bye Message-ID: <20120727200131.268f2d4e@AMD620.ovitrap.com> In-Reply-To: <20120727123811.GF4834@catflap.slightlystrange.org> References: <20120727104308.GA4834@catflap.slightlystrange.org> <20120727110019.GB4834@catflap.slightlystrange.org> <20120727114729.GC4834@catflap.slightlystrange.org> <20120727191529.01222988@AMD620.ovitrap.com> <20120727123811.GF4834@catflap.slightlystrange.org> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: On-access AV scanning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2012 12:59:10 -0000 Hi, On Fri, 27 Jul 2012 13:38:11 +0100 Daniel Bye wrote: > On Fri, Jul 27, 2012 at 07:15:29PM +0700, Erich Dollansky wrote: > > On Fri, 27 Jul 2012 12:47:29 +0100 > > Daniel Bye wrote: > > > On Fri, Jul 27, 2012 at 07:19:45AM -0400, Daniel Feenberg wrote: > > > > On Fri, 27 Jul 2012, Daniel Bye wrote: > > > > >On Fri, Jul 27, 2012 at 12:51:04PM +0200, Wojciech Puchar > > > > >wrote: > > > > >>>Are there any current options available to support on-access > > > > >>>antivirus scanning on FreeBSD? > > > > why should it be available when it is not needed? > > Because the IT policy (currently) requires it. I don't agree with that > policy, but there you are - I don't have the authority to simply > ignore it. > no, no, I meant why should FreeBSD need them. I am aware of your problem. > > Yes, I know. But we have petabytes of file systems shared over > SMB/CIFS, so if a Windows machine inroduces something to the network, > it strikes me as reasonable that if my (still putative) FreeBSD > system finds it before another Windows system, I have potentially > prevented a much wider problem. > Why don't you get a FreeBSD machine which scans the network traffic and have some fun with the results? > > > The security concepts of FreeBSD are 100% different. They will never > > match this kind of policy. > > Yes, and I am hoping that that fact is enough to persuade him that the > current policy (which he inherited, by the way, he didn't have a hand > it its establishment) is no longer applicable in an increasingly > mixed environment (Polytropon brought up the obvious matter of > smartphones and tablets and other devices). > Why don't you have another try? We use very often a FreeBSD machine with more CPU power as a server and older machines just as thin clients. These machines can be Windows machines running whatever virus scanners you want and an X server (cygwin will do). Your applications run actually on the FreeBSD machine and the Windows machine is only a terminal. I think that this could match your policy and also shows how pointless the policy is. Erich From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 13:02:38 2012 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CD038106566B for ; Fri, 27 Jul 2012 13:02:38 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 34BEA8FC0C for ; Fri, 27 Jul 2012 13:02:38 +0000 (UTC) Received: from seedling.local (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q6RD2YCr054687 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 27 Jul 2012 14:02:34 +0100 (BST) (envelope-from matthew@FreeBSD.org) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q6RD2YCr054687 Authentication-Results: smtp.infracaninophile.co.uk/q6RD2YCr054687; dkim=none (no signature); dkim-adsp=none X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host seedling.black-earth.co.uk [81.187.76.163] claimed to be seedling.local Message-ID: <5012915F.6020906@FreeBSD.org> Date: Fri, 27 Jul 2012 14:02:23 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org References: <20120727123429.GA2094@tiny.Sisis.de> In-Reply-To: <20120727123429.GA2094@tiny.Sisis.de> X-Enigmail-Version: 1.4.3 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD07B248322A172A542AD641D" X-Virus-Scanned: clamav-milter 0.97.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: Subject: Re: calculating difference of times X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2012 13:02:38 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD07B248322A172A542AD641D Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 27/07/2012 13:34, Matthias Apitz wrote: > Do we have something (in the ports) to calculate easy the difference of= > two times given as hh:mm - hh:mm? Some hack in bc(1) or something like > this? Well, I could translate the times into UNIX seconds of epoche, > build the diff and reconvert, but something more easy (and not in Perl > or C, just shell); thanks Not as such. Generic toolkits for doing time differences are fairly common, but they tend to be a) quite large and b) written in higher level languages than shell. However they usually account for all the annoying corner cases like switching to daylight savings time. If your times are always going to be strictly hh:mm (24h clock) and you aren't worried about time differences over more than one day, then something like this in shell: t1=3D08:12 t2=3D12:08 h1=3D${t1%:*} h2=3D${t2%:*} m1=3D${t1#*:} m2=3D${t2#*:} mdelta=3D$(echo "$h2 * 60 + $m2 - $h1 * 60 - $m1" | bc) hdelta=3D$(( $mdelta / 60 )) mdelta=3D$(( $mdelta % 60 )) tdelta=3Dprintf "%02d:%02d" $hdelta $mdelta" This will calculate the duration from 23:59 to 00:01 as -23:58; ie. it assumes both times are on the same calendar day. Coming up with the answer 00:02 is left as an exercise for the student. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enigD07B248322A172A542AD641D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlASkWoACgkQ8Mjk52CukIzF3gCffs/Nw9DmlFoiK5CcoOYTaZ2L XLQAnjC6Vwqg9b8y9ISzOQtCA34p56/g =vRCC -----END PGP SIGNATURE----- --------------enigD07B248322A172A542AD641D-- From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 13:20:59 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 72C371065672 for ; Fri, 27 Jul 2012 13:20:59 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id D84198FC1A for ; Fri, 27 Jul 2012 13:20:58 +0000 (UTC) Received: from seedling.local (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q6RDKsSH054944 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 27 Jul 2012 14:20:54 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q6RDKsSH054944 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1343395254; bh=2XLQ12adrERRIqbSSkOeOty6mfzIh+J8mmZ8YNO9Z08=; h=Date:From:To:Subject:References:In-Reply-To:Cc:Content-Type: Message-ID:Mime-Version; b=fqrNiX4aR+bbTzmoZJYGUD4Kaof/yJS9UC3WKQDAvy1mMhfZB4vme8Am3vWxXZz0M IIdwqggi+QKhmN07CzZakjQ/uw43U/UqX58zIxJYOUi6z76Q9yjPnIIaahu+HpUVmx yb74k3se/c3pAkB/5n63KdiTEeYlDxFx1mjqeIs8= X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host seedling.black-earth.co.uk [81.187.76.163] claimed to be seedling.local Message-ID: <501295B6.1080807@infracaninophile.co.uk> Date: Fri, 27 Jul 2012 14:20:54 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20120727104308.GA4834@catflap.slightlystrange.org> <20120727110019.GB4834@catflap.slightlystrange.org> <20120727114729.GC4834@catflap.slightlystrange.org> <20120727191529.01222988@AMD620.ovitrap.com> In-Reply-To: <20120727191529.01222988@AMD620.ovitrap.com> X-Enigmail-Version: 1.4.3 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigFEF158F1430544BE80FB982A" X-Virus-Scanned: clamav-milter 0.97.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_ADSP_ALL,DKIM_SIGNED,T_DKIM_INVALID autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: On-access AV scanning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2012 13:20:59 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigFEF158F1430544BE80FB982A Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 27/07/2012 13:15, Erich Dollansky wrote: > You will not find them. The scanners running on FreeBSD are looking for= > Windows pests. > Does it scan for FreeBSD viruses? I would wonder. AV Scanners are looking for the signature of any known malware. The important word there is 'known' -- it's malware that has come to the attention of the AV software manufacturers and that they have published a "fingerprint" of. They don't generally work heuristically; ie. so that they could detect and stop a 0-day malware automatically. Now, as the vast majority of known malware affects Windows -- there are 3 or 4 known worms that used to affect Linux and I think one that would also have affected FreeBSD (but those all relied on old and vulnerable versions of Apache to spread and they are from many years ago in any case) plus a recent virus or two that attacks MacOS X -- then any AV scanner is, pretty much by definition, going to be looking for Windows malware. In the light of that, the OP's workplace AV policy is clearly nonsensical when applied to a FreeBSD desktop. Scanning shared filesystems at regular intervals and scanning incoming mail or web content is generally sufficient to keep a FreeBSD box clean and also protect a whole network-full of Windows clients that access it as a server from most avenues of infection. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigFEF158F1430544BE80FB982A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlASlbYACgkQ8Mjk52CukIz6RgCeN13tKQyA3ljdQYRrsDVHN+0l iZcAniNPMTC+FuB4aNzj2uaxCI7owFRA =uSF7 -----END PGP SIGNATURE----- --------------enigFEF158F1430544BE80FB982A-- From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 13:56:41 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 85D31106564A for ; Fri, 27 Jul 2012 13:56:41 +0000 (UTC) (envelope-from venkatduvvuru.ml@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 46BAF8FC08 for ; Fri, 27 Jul 2012 13:56:41 +0000 (UTC) Received: by obbun3 with SMTP id un3so5591543obb.13 for ; Fri, 27 Jul 2012 06:56:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=38YCiDfPsHeESCUCrebcjOfdTS/CUnkFLl/lhtddMrQ=; b=DsFbNonvBFit0TzCaO7S9Yo3AExBQZZuStRx7bK/I0HoBdrLNSEaOMDwTWOUauaK8q xJII9t7wtGoDp84AmgDVjowfQd243ZIs83tPYN9+pAszN3pCz8bpE0gArvnyf69TLcbP QqLjlEQbP4G+g/CV53VSh8EVN6VEjaEBRqkmF9O7CIBu3cjcmYfwKBT0pEStm0KMHsn0 hEzUBKJy7X6t5hRtiR6OY9tkDCA4SP8LPJ+8LBQjNAv66QR5tkw+XdXGcyHO1jrAf4Wk Ly22jHofPyZJ+jar9paYtFHc6NiuKQLdFdipj1AO5KqFWfhgjcZyq+GKSWJcqezpWE9l 1HNQ== MIME-Version: 1.0 Received: by 10.182.85.8 with SMTP id d8mr3576118obz.70.1343397394951; Fri, 27 Jul 2012 06:56:34 -0700 (PDT) Received: by 10.76.8.99 with HTTP; Fri, 27 Jul 2012 06:56:34 -0700 (PDT) In-Reply-To: <501135C5.3020707@my.gd> References: <501129A9.4050005@my.gd> <501135C5.3020707@my.gd> Date: Fri, 27 Jul 2012 19:26:34 +0530 Message-ID: From: Venkat Duvvuru To: Damien Fleuriot Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Freebsd build problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2012 13:56:41 -0000 reinstalling the sources fixed the problem. Thanks. /Venkat On Thu, Jul 26, 2012 at 5:49 PM, Damien Fleuriot wrote: > > > On 7/26/12 2:08 PM, Venkat Duvvuru wrote: > > Hi, > > Please find my repsonses in line. > > > > On Thu, Jul 26, 2012 at 4:57 PM, Damien Fleuriot > > wrote: > > > > > > On 7/26/12 12:48 PM, Venkat Duvvuru wrote: > > > Hi, > > > I'm unable to compile the kernel code (for that matter any kernel > > module > > > also). The following is the error. > > > My guess is that it is trying to compile the code for x86 instead > > of amd64 > > > as you can a symbolic link create for x86 includes. > > > Please suggest the change to be done inorder to compile it for > amd64. > > > "Uname -a" of the system "FreeBsd 9.0-RELEASE-p3 FreeBSD > > 9.0-RELEASE-p3 #0: > > > Tue Jun 12 02:52:29 UTC 2012 > > > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC > > amd64" > > > > > > > > > ==================================================================================================================================================================================== > > > -------------------------------------------------------------- > > >>>> stage 3.1: making dependencies > > > -------------------------------------------------------------- > > > cd /usr/obj/usr/src/sys/MYKERNEL; MAKEOBJDIRPREFIX=/usr/obj > > > MACHINE_ARCH=amd64 MACHINE=amd64 CPUTYPE= > > > GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin > > > GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font > > > GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac > > > _SHLIBDIRPREFIX=/usr/obj/usr/src/tmp VERSION="FreeBSD > > 9.0-RELEASE-p3 amd64 > > > 900044" INSTALL="sh /usr/src/tools/install.sh" > > > > > > PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin > > > NO_CTF=1 make KERNEL=kernel depend -DNO_MODULES_OBJ > > > machine -> /usr/src/sys/amd64/include > > > x86 -> /usr/src/sys/x86/include > > > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 > > -g -Wall > > > -Wredundant-decls -Wnested-externs -Wstrict-prototypes > > -Wmissing-prototypes > > > -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign > > > -fformat-extensions -Wmissing-include-dirs > -fdiagnostics-show-option > > > -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq > > > -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf > > > -I/usr/src/sys/dev/ath -I/usr/src/sys/dev/ath/ath_hal > > > -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa > > > -I/usr/src/sys/gnu/fs/xfs/FreeBSD > > -I/usr/src/sys/gnu/fs/xfs/FreeBSD/support > > > -I/usr/src/sys/gnu/fs/xfs -I/usr/src/sys/dev/cxgb > > -I/usr/src/sys/dev/cxgbe > > > -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h > > > -finline-limit=8000 --param inline-unit-growth=100 --param > > > large-function-growth=1000 -fno-omit-frame-pointer -mno-sse > > -mcmodel=kernel > > > -mno-red-zone -mno-mmx -msoft-float -fno-asynchronous-unwind-tables > > > -ffreestanding -fstack-protector > /usr/src/sys/amd64/amd64/genassym.c > > > In file included from ./x86/_align.h:6, > > > from ./x86/_align.h:6, > > > from ./x86/_align.h:6, > > > from ./x86/_align.h:6, > > > from ./x86/_align.h:6, > > > from ./machine/_align.h:6, > > > from ./machine/param.h:46, > > > from /usr/src/sys/sys/param.h:115, > > > from /usr/src/sys/amd64/amd64/genassym.c:42: > > > ./x86/_align.h:6:24: error: #include nested too deeply > > > In file included from ./x86/_align.h:6, > > > from ./x86/_align.h:6, > > > from ./x86/_align.h:6, > > > from ./machine/_align.h:6, > > > from /usr/src/sys/sys/socket.h:39, > > > from /usr/src/sys/amd64/amd64/genassym.c:54: > > > ./x86/_align.h:6:24: error: #include nested too deeply > > > /usr/src/sys/amd64/amd64/genassym.c:69:25: error: x86/apicreg.h: > > No such > > > file or directory > > > /usr/src/sys/amd64/amd64/genassym.c:230: error: invalid use of > > undefined > > > type 'struct LAPIC' > > > *** 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. > > > > > > ==================================================================================================================================================================================== > > > > > > > > > > > The first question that comes to mind is, do you manage to compile a > > GENERIC kernel ? > > > > cd /usr/src > > make clean > > make buildkernel KERNCONF=GENERIC > > ==> Yes, all was well with compiling generic, proprietary kernels > > before it stopped working a couple of days back. I had been > > compiling, installing kernel on this machine many times. > > > > The second question that comes to mind is, have you rebuilt the world > > prior to trying your kernel compilation ? > > > > ==> This is failing with an error mentioned below > > > > install: target directory `/usr/obj/usr/src/tmp/legacy/usr/share/tmac' > > does not exist > > usage: install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode] > > [-o owner] file1 file2 > > install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode] > > [-o owner] file1 ... fileN directory > > install -d [-v] [-g group] [-m mode] [-o owner] directory ... > > *** Error code 64 > > Stop in /usr/src/gnu/usr.bin/groff/tmac. > > *** Error code 1 > > Stop in /usr/src. > > *** Error code 1 > > Stop in /usr/src. > > *** Error code 1 > > Stop in /usr/src. > > > > I notice you're on 9.0-RELEASE from june, when did you last update > your > > sources ? > > ==> I'm using 9.0 from quite some time probably from 3 months. > > > > I suspect some environment getting screwed as it is trying to build for > > x86. I have another machine where the kernel builds properly in that > > case it is not trying to create a symbolic link for x86 while building. > > > > > > I would suggest that you fully delete your sources and csup them again. > > rm -Rf /usr/src/* /usr/obj/* /var/db/sup/* > > > Then rebuild a world, rebuild GENERIC , and if that works rebuild MYKERNEL. > From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 14:08:49 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07FF2106564A for ; Fri, 27 Jul 2012 14:08:49 +0000 (UTC) (envelope-from jeff.t@mail.com) Received: from mailout-us.mail.com (mailout-us.mail.com [74.208.122.35]) by mx1.freebsd.org (Postfix) with SMTP id 9FD758FC0A for ; Fri, 27 Jul 2012 14:08:48 +0000 (UTC) Received: (qmail invoked by alias); 27 Jul 2012 14:08:47 -0000 Received: from unknown (EHLO blazon-pc.runningwild.local) [78.84.105.231] by mail.gmx.com (mp-us010) with SMTP; 27 Jul 2012 10:08:47 -0400 X-Authenticated: #76218138 X-Provags-ID: V01U2FsdGVkX18SNxZN2nQSB1IhQUJVTvuqB0sJazjd9gtTjyz1ej FZx76x4SyqX+pT Message-ID: <5012A0ED.6010407@mail.com> Date: Fri, 27 Jul 2012 17:08:45 +0300 From: Jeff Tipton User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:9.0) Gecko/20111229 Thunderbird/9.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <50115F91.9060201@mail.com> In-Reply-To: <50115F91.9060201@mail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: Re: mc-light with tcsh receives 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: Fri, 27 Jul 2012 14:08:49 -0000 On 07/26/2012 18:17, Jeff Tipton wrote: > Hi, > > My mc-light doesn't work with tcsh. When I try to launch it: > >mc > Segmentation fault (core dumped) > > > > >uname -a > FreeBSD jeff-netf 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 > 01:47:53 UTC 2012 > root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 > > > > System and ports are all up to date. > > mc -V > The Midnight Commander 4.1.40-pre9 > with mouse support on xterm. > Edition: text mode. > Virtual File System: tarfs, extfs, ftpfs, mcfs. > With builtin Editor > Using S-lang library with termcap database > With subshell support: as default > With DUSUM command > With support for background operations > > > > It works with sh and csh but doesn't with tcsh. Actually, it even > works within tcsh, if the SHELL variable is arbitrarily set to > /bin/csh. Doesn't matter whether root or a regular user. Any ideas of > what might be wrong? > > Jeff > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" So, no ideas of how to fix mc-light in tcsh? From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 14:29:20 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B1EF106566C for ; Fri, 27 Jul 2012 14:29:20 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id 7F99C8FC17 for ; Fri, 27 Jul 2012 14:29:19 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.5/8.14.5) with ESMTP id q6REN0CV073208; Fri, 27 Jul 2012 15:23:01 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Message-ID: <5012A444.6000201@qeng-ho.org> Date: Fri, 27 Jul 2012 15:23:00 +0100 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120626 Thunderbird/13.0.1 MIME-Version: 1.0 To: Daniel Bye References: <20120727104308.GA4834@catflap.slightlystrange.org> <20120727110019.GB4834@catflap.slightlystrange.org> <20120727114729.GC4834@catflap.slightlystrange.org> <501280F0.8000508@my.gd> <20120727121420.GE4834@catflap.slightlystrange.org> In-Reply-To: <20120727121420.GE4834@catflap.slightlystrange.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: On-access AV scanning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2012 14:29:20 -0000 On 07/27/12 13:14, Daniel Bye wrote: > On Fri, Jul 27, 2012 at 01:52:16PM +0200, Damien Fleuriot wrote: >> >> FUSE ClamFS > > Ah, thanks for that. I'll check it out. > >> >> But then, FUSE... ew... > > I know. But, if it gets me my workstation... ;-) The wiki suggests that FUSE might be part of release 10: http://wiki.freebsd.org/FreeBSD10 (under Filesystem header), but I gather it's a subject that causes a degree of debate :-} Anyone who knows more about this care to comment? From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 14:36:23 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 01723106566B for ; Fri, 27 Jul 2012 14:36:23 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 845898FC16 for ; Fri, 27 Jul 2012 14:36:22 +0000 (UTC) Received: by eaa11 with SMTP id 11so603840eaa.13 for ; Fri, 27 Jul 2012 07:36:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=EstoxaTcmkmxn94KPhn/VyxO9sRPFfdgmbJI4cD8IPA=; b=VNGUHHQV3oP5NwdwEnkerRxYvNeD+4T1j0kYR0obCQkcDbUi/wolaMRuXovR8icglh 1bJNXTpdIPscj3ByHXtGYMfoUKxkz29EQbpd9hWdpvyXnZUVsOqGjPQgxAswyY2jn6ko z6gYQCkRXkXLsVX60YKyS5OxXoSgg4hSQrK8Iyavx3pVHZMD+NcsewFaMZQkjjcQjGw8 /E7LO2MuKmFuvnfAkTC5mkMa00GRhdGE5tQ5+WVGgMIKdjqfVJtBPtC+Bapc1v+bA0GG gl8fvnZMRalVrH3GkF+zdCM4aCOSmAaKI2j98dju1EUWBWbfguiHmFY0PTF1Bgql+rxf mb6A== Received: by 10.14.203.193 with SMTP id f41mr2959346eeo.14.1343399776015; Fri, 27 Jul 2012 07:36:16 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id f45sm6724919eep.12.2012.07.27.07.36.14 (version=SSLv3 cipher=OTHER); Fri, 27 Jul 2012 07:36:14 -0700 (PDT) Date: Fri, 27 Jul 2012 15:36:12 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20120727153612.1e69d8ec@gumby.homeunix.com> In-Reply-To: References: <201207260052.q6Q0qdss086796@mail.r-bonomi.com> <20120726031450.5c06dd61@gumby.homeunix.com> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: geli - selecting cipher X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2012 14:36:23 -0000 On Thu, 26 Jul 2012 17:47:10 +0200 Ivan Voras wrote: > On 26/07/2012 04:14, RW wrote: > > > I asked a similar questions to the OPs in the geom list and didn't > > get an answer. Geli doesn't need or isn't using any advantages of > > XTS. And CBC in geli is actually equivalent to ESSIV (see the > > previously linked wikipedia page). > > Hi, > > You didn't get an answer because in security, the answer depends on > exact circumstances of use. The short answer is that if you don't > have a specific adversary you need to protect your data from, I'd say > that GELI's CBC is good enough for you. Actually the reason I asked is that I wanted to check whether I was ovelooking some key advantage of XTS that justified its being the default. AES-XTS was chosen to provide the best protection against modified ciphertext without using authentication which would expand the size of the data. It seem to me than anyone that worries about attackers tampering with a drive should use authentication in geli, and anyone that doesn't should leave it off and use CBC. If you run geli init without -a or -e options, you get AES-XTS without authentication, a default that doesn't seem right for anyone. From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 15:00:15 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 444ED106564A for ; Fri, 27 Jul 2012 15:00:15 +0000 (UTC) (envelope-from vs@celicom.ru) Received: from backup.newdesign.ru (backup.newdesign.ru [89.111.189.186]) by mx1.freebsd.org (Postfix) with ESMTP id D755A8FC0C for ; Fri, 27 Jul 2012 15:00:14 +0000 (UTC) Received: from [89.175.99.178] (helo=[192.168.100.40]) by backup.newdesign.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.75 (FreeBSD)) (envelope-from ) id 1SuljC-00005K-NE; Fri, 27 Jul 2012 18:41:18 +0400 Message-ID: <5012A93C.4070002@celicom.ru> Date: Fri, 27 Jul 2012 18:44:12 +0400 From: Solmin Vladimir User-Agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: Jeff Tipton References: <50115F91.9060201@mail.com> <5012A0ED.6010407@mail.com> In-Reply-To: <5012A0ED.6010407@mail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: mc-light with tcsh receives 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: Fri, 27 Jul 2012 15:00:15 -0000 Hello, my system doesn't work with tcsh too ( $ uname -a FreeBSD xxxxxxx.xx 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Thu Jul 5 16:54:22 MSK 2012 root@xxxxx:/usr/obj/usr/src/sys/PORT amd64 $ env | grep SHELL SHELL=/bin/tcsh $ mc Segmentation fault $ mc -V The Midnight Commander 4.1.40-pre9 with mouse support on xterm. Edition: text mode. Virtual File System: tarfs, extfs, ftpfs, mcfs. With builtin Editor Using S-lang library with termcap database With subshell support: as default With DUSUM command With support for background operations after setenv SHELL /bin/csh mc-light is running normally 27.07.2012 18:08, Jeff Tipton пишет: > On 07/26/2012 18:17, Jeff Tipton wrote: >> Hi, >> >> My mc-light doesn't work with tcsh. When I try to launch it: >> >mc >> Segmentation fault (core dumped) >> > >> >> >uname -a >> FreeBSD jeff-netf 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun >> 12 01:47:53 UTC 2012 >> root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >> > >> >> System and ports are all up to date. >> > mc -V >> The Midnight Commander 4.1.40-pre9 >> with mouse support on xterm. >> Edition: text mode. >> Virtual File System: tarfs, extfs, ftpfs, mcfs. >> With builtin Editor >> Using S-lang library with termcap database >> With subshell support: as default >> With DUSUM command >> With support for background operations >> > >> >> It works with sh and csh but doesn't with tcsh. Actually, it even >> works within tcsh, if the SHELL variable is arbitrarily set to >> /bin/csh. Doesn't matter whether root or a regular user. Any ideas of >> what might be wrong? >> >> Jeff >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > So, no ideas of how to fix mc-light in tcsh? > _______________________________________________ > freebsd-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 Jul 27 15:04:22 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E0BBE1065676 for ; Fri, 27 Jul 2012 15:04:22 +0000 (UTC) (envelope-from prvs=548d9a461=pschmehl_lists@tx.rr.com) Received: from ip-002.utdallas.edu (ip-002.utdallas.edu [129.110.20.108]) by mx1.freebsd.org (Postfix) with ESMTP id AF3BB8FC08 for ; Fri, 27 Jul 2012 15:04:22 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkIPADetElCBbgogOWdsb2JhbABFqgmPSwEBAQEXgnQBAQQBOAJECwsOOEMUBgESiAcGumqLUBqFemADiE2gBYFB X-IronPort-AV: E=Sophos;i="4.77,667,1336366800"; d="scan'208";a="97292197" Received: from zxtm01.utdallas.edu (HELO [129.110.200.11]) ([129.110.10.32]) by ip-002.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 27 Jul 2012 10:02:30 -0500 Date: Fri, 27 Jul 2012 10:02:26 -0500 From: Paul Schmehl To: Daniel Bye , FreeBSD Questions Message-ID: <749F391EFB9AA6234EF1AFF4@localhost> In-Reply-To: <20120727104308.GA4834@catflap.slightlystrange.org> References: <20120727104308.GA4834@catflap.slightlystrange.org> X-Mailer: Mulberry/4.1.0a1 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline; size=944 Cc: Subject: Re: On-access AV scanning 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: Fri, 27 Jul 2012 15:04:23 -0000 --On July 27, 2012 11:43:08 AM +0100 Daniel Bye wrote: > Are there any current options available to support on-access antivirus > scanning on FreeBSD? > Clamav. I did some testing several years ago with ClamAV, Sophos and McAfee (scanning incoming mail), and ClamAV was comparable to McAfee in detection rates - over 98%. If you run the daemon you have on access scanning. Seems like that would satisfy the policy. It's in ports, so it should be easy to install and keep up to date. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 15:50:38 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 61006106564A for ; Fri, 27 Jul 2012 15:50:38 +0000 (UTC) (envelope-from dan@slightlystrange.org) Received: from lhscloud01.localhostservices.net (lhscloud01.localhostservices.net [83.222.226.222]) by mx1.freebsd.org (Postfix) with ESMTP id 1280B8FC08 for ; Fri, 27 Jul 2012 15:50:38 +0000 (UTC) Received: from client-82-26-202-194.pete.adsl.virginmedia.com ([82.26.202.194] helo=catflap.slightlystrange.org) by lhscloud01.localhostservices.net with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80 (FreeBSD)) (envelope-from ) id 1SumoG-000JxO-2Z for freebsd-questions@freebsd.org; Fri, 27 Jul 2012 16:50:36 +0100 Received: from dan by catflap.slightlystrange.org with local (Exim 4.80 (FreeBSD)) (envelope-from ) id 1SumoF-000236-Cl for freebsd-questions@freebsd.org; Fri, 27 Jul 2012 16:50:35 +0100 Date: Fri, 27 Jul 2012 16:50:35 +0100 From: Daniel Bye To: freebsd-questions@freebsd.org Message-ID: <20120727155035.GG4834@catflap.slightlystrange.org> References: <20120727104308.GA4834@catflap.slightlystrange.org> <749F391EFB9AA6234EF1AFF4@localhost> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IuhbYIxU28t+Kd57" Content-Disposition: inline In-Reply-To: <749F391EFB9AA6234EF1AFF4@localhost> X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Sender: Daniel Bye Subject: Re: On-access AV scanning 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: Fri, 27 Jul 2012 15:50:38 -0000 --IuhbYIxU28t+Kd57 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 27, 2012 at 10:02:26AM -0500, Paul Schmehl wrote: > --On July 27, 2012 11:43:08 AM +0100 Daniel Bye > wrote: >=20 > >Are there any current options available to support on-access antivirus > >scanning on FreeBSD? > > >=20 > Clamav. I use it on my home mail server (I have a Windows machine on my network, so want to trap anything nasty that comes in to protect that). It integrates well with exim's malware ACL checks. >=20 > I did some testing several years ago with ClamAV, Sophos and McAfee > (scanning incoming mail), and ClamAV was comparable to McAfee in > detection rates - over 98%. Yes, it's a good product, no doubt. >=20 > If you run the daemon you have on access scanning. Seems like that > would satisfy the policy. No - the daemon only provides on-demand scanning on FreeBSD. That is, it only scans files that are explicitly passed to it by some other process - usually an MTA or the clamscan command line tool. On-access scanning requires an additional layer on top of the file system, which intercepts certain file system operations, sending files transparently to the scanner.= =20 Opening a file in your editor, for example, might cause the file to first be scanned before your editor can get it. Likewise, trying to download something from the web in your browser would cause the file to be scanned before it's saved to disk. That's what the dazuko port was for (although it doesn't work on FreeBSD9, and the latest version is a Linux-only rewrite.) As Polytropon pointed out, it should be possible to create a passing approximation by using FAM/Gamin. Thanks, everyone, for all your input. I think I have enough to be able to put a strong case forward. Dan --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --IuhbYIxU28t+Kd57 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAlASuMsACgkQixf5fBYiFmqBawCeJUbwL417+eqilmAQvyf9PWo2 3uQAoKIiYDllicb09G89MLr04S6urmTU =Wz6z -----END PGP SIGNATURE----- --IuhbYIxU28t+Kd57-- From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 16:15:06 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AEC05106564A for ; Fri, 27 Jul 2012 16:15:06 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 358008FC17 for ; Fri, 27 Jul 2012 16:15:06 +0000 (UTC) Received: by wgbds11 with SMTP id ds11so2847355wgb.31 for ; Fri, 27 Jul 2012 09:15:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=wG8qtWHEnBpcBlhmibD9/dOZC90o1t4frXzipsuAjqc=; b=iCFq0TraarM/uxwyY8GRoP3BvtR6MWYgj+Zgnty+07+diZqeuIUm/rOCHVqAEi15tv kUsq+0LPUAcYy1qspoFe2gMLrT5JF8azYeKnyWVOI3jvCrHPZp0wckVxR8+T5SQnmPey /qWepVJbOecmSmD0W/TpIF/SdxLq+cwSH/1D8IXnodaeDHbEBKrya/4hgjqPdY78EE9+ hPsG9ysWRByj2uplewYyHITuL0qdMtuY1Unnmzj444o7/lKHlq47DJJ3ygl7YEqFefD5 KRjjYcKVf9knoGRKCddRvkRdQoXAbdUk/hi+mNnc3qOqRArLGtXSTWdnSIRLYggCwmjL RTrQ== Received: by 10.180.104.197 with SMTP id gg5mr7440066wib.9.1343405705036; Fri, 27 Jul 2012 09:15:05 -0700 (PDT) Received: from dragon.dg (41-132-210-104.dsl.mweb.co.za. [41.132.210.104]) by mx.google.com with ESMTPS id ex20sm7515784wid.7.2012.07.27.09.15.02 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 27 Jul 2012 09:15:04 -0700 (PDT) From: David Naylor To: Wojciech Puchar Date: Fri, 27 Jul 2012 18:14:55 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.0-STABLE; KDE/4.8.4; amd64; ; ) References: <1343228557.99992.androidMobile@web140705.mail.bf1.yahoo.com> <20120727050248.7d6d9de8.freebsd@edvax.de> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5072143.xYEG2vihXA"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201207271814.58550.naylor.b.david@gmail.com> Cc: Polytropon , "freebsd-questions@freebsd org" , Mr U Subject: Re: how to speed up port make?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2012 16:15:06 -0000 --nextPart5072143.xYEG2vihXA Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Friday, 27 July 2012 09:22:52 Wojciech Puchar wrote: > >> A few things you could try adding to make.conf: > >> FORCE_MAKE_JOBS=3Dyes > >> MAKE_JOBS_NUMBER=3D4 > >=20 > > I'm not sure this is supported on a _single_ core Pentium 4 CPU > > (or will gain speed if it was "emulated"). >=20 > MAKE_JOBS_NUMBER=3D2 make sense - one process I/O may overlap with other > compute Also, with portbuilder it splits the build process so will fetch (network=20 limited) on port's files while it builds another (CPU limited) and installs= =20 another (I/O limited). =20 --nextPart5072143.xYEG2vihXA Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEABECAAYFAlASvoIACgkQUaaFgP9pFrJonQCfQkxE1WsNth+mXJwKLgiMvPvZ m/0AnjZtS/G9mLynS1hNHnPF4GpusPhE =KfRB -----END PGP SIGNATURE----- --nextPart5072143.xYEG2vihXA-- From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 16:27:18 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54F1D106564A for ; Fri, 27 Jul 2012 16:27:18 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de [80.67.29.24]) by mx1.freebsd.org (Postfix) with ESMTP id D57AF8FC08 for ; Fri, 27 Jul 2012 16:27:17 +0000 (UTC) Received: from [87.79.196.93] (helo=fabiankeil.de) by smtprelay02.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1SunNe-0003Vx-Uj for freebsd-questions@freebsd.org; Fri, 27 Jul 2012 18:27:11 +0200 Date: Fri, 27 Jul 2012 18:26:54 +0200 From: Fabian Keil To: freebsd-questions@freebsd.org Message-ID: <20120727182654.339ca39a@fabiankeil.de> In-Reply-To: <20120727153612.1e69d8ec@gumby.homeunix.com> References: <201207260052.q6Q0qdss086796@mail.r-bonomi.com> <20120726031450.5c06dd61@gumby.homeunix.com> <20120727153612.1e69d8ec@gumby.homeunix.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/ysPhllLBrmVejOfhtNMeLyM"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 Subject: Re: geli - selecting cipher X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2012 16:27:18 -0000 --Sig_/ysPhllLBrmVejOfhtNMeLyM Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable RW wrote: > On Thu, 26 Jul 2012 17:47:10 +0200 > Ivan Voras wrote: >=20 > > On 26/07/2012 04:14, RW wrote: > >=20 > > > I asked a similar questions to the OPs in the geom list and didn't > > > get an answer. Geli doesn't need or isn't using any advantages of > > > XTS. And CBC in geli is actually equivalent to ESSIV (see the > > > previously linked wikipedia page).=20 > > You didn't get an answer because in security, the answer depends on > > exact circumstances of use. The short answer is that if you don't > > have a specific adversary you need to protect your data from, I'd say > > that GELI's CBC is good enough for you. Most answers depend on the circumstances. At least to me this doesn't seem like a good reason to completely ignore questions, even if they are related to security. Saying that geli's CBC implementation "is good enough" for someone seems to imply that it's somehow worse than XTS in general. Could you please clarify in which scenario you think XTS offers better protection? > Actually the reason I asked is that I wanted to check whether I was > ovelooking some key advantage of XTS that justified its being the > default. The rationale of the change isn't clear to me either. Until recently I wasn't aware of the performance impact, though. > AES-XTS was chosen to provide the best protection against modified > ciphertext without using authentication which would expand the size > of the data. >=20 > It seem to me than anyone that worries about attackers tampering with > a drive should use authentication in geli, and anyone that doesn't > should leave it off and use CBC. If ZFS is used and checksums aren't disabled, I don't see any advantage of additionally enabling geli's authentication whose protection seems a lot weaker. For tampering resistance I would thus recommend ZFS on geli without authentication in geli. Fabian --Sig_/ysPhllLBrmVejOfhtNMeLyM Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlASwV4ACgkQBYqIVf93VJ0OvQCcDTdBIsdTBiV8kITd+OJThXt9 nqoAoK1HZm3GyDWpOLYDb10kIwZ1e8Nf =2PVq -----END PGP SIGNATURE----- --Sig_/ysPhllLBrmVejOfhtNMeLyM-- From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 18:10:20 2012 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93B6C106567E for ; Fri, 27 Jul 2012 18:10:20 +0000 (UTC) (envelope-from feld@feld.me) Received: from feld.me (unknown [IPv6:2607:f4e0:100:300::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5C9E68FC15 for ; Fri, 27 Jul 2012 18:10:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=feld.me; s=blargle; h=In-Reply-To:Message-Id:From:Mime-Version:Date:References:Subject:To:Content-Type; bh=o3h7QE2pM+Mg6xveKAbG9XBSatXs7mMnONyCTVFoJ70=; b=DiiGqxNF0YRSFxjdroVRBDULxbcfx0T2xhCEvQYeNBjq9eEqelkIL6R89KXco5faQyMkuzeTun7BDy6VhRZaresChOzeKHokYH9JGEkjPecKy0BJJ++D372zYj/1LnRC; Received: from localhost ([127.0.0.1] helo=mwi1.coffeenet.org) by feld.me with esmtp (Exim 4.80 (FreeBSD)) (envelope-from ) id 1SuozS-000IXK-Ge for freebsd-questions@FreeBSD.org; Fri, 27 Jul 2012 13:10:19 -0500 Received: from feld@feld.me by mwi1.coffeenet.org (Archiveopteryx 3.1.4) with esmtpa id 1343412612-41577-41576/5/8; Fri, 27 Jul 2012 18:10:12 +0000 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: freebsd-questions@FreeBSD.org References: <20120727104308.GA4834@catflap.slightlystrange.org> Date: Fri, 27 Jul 2012 13:10:12 -0500 Mime-Version: 1.0 From: Mark Felder Message-Id: In-Reply-To: <20120727104308.GA4834@catflap.slightlystrange.org> User-Agent: Opera Mail/12.00 (FreeBSD) X-SA-Score: -1.5 Cc: Subject: Re: On-access AV scanning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2012 18:10:20 -0000 Virus scanning should not be your problem. If the Windows users in the organization have an antivirus solution there is no need for you to have one. It doesn't matter if you share files over SAMBA -- when they access the files their virus scanner will check them. From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 18:47:34 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97F1E1065757 for ; Fri, 27 Jul 2012 18:47:34 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 56EFE8FC0A for ; Fri, 27 Jul 2012 18:47:34 +0000 (UTC) Received: from r56.edvax.de (port-92-195-22-218.dynamic.qsc.de [92.195.22.218]) by mx01.qsc.de (Postfix) with ESMTP id A46553D2F7; Fri, 27 Jul 2012 20:47:32 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q6RIlWr4005178; Fri, 27 Jul 2012 20:47:32 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 27 Jul 2012 20:47:32 +0200 From: Polytropon To: Mark Felder Message-Id: <20120727204732.c143bc3d.freebsd@edvax.de> In-Reply-To: References: <20120727104308.GA4834@catflap.slightlystrange.org> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: On-access AV scanning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2012 18:47:34 -0000 On Fri, 27 Jul 2012 13:10:12 -0500, Mark Felder wrote: > Virus scanning should not be your problem. If the Windows users in the > organization have an antivirus solution there is no need for you to have > one. It doesn't matter if you share files over SAMBA -- when they access > the files their virus scanner will check them. His "problem" is that there's a corporate reglementation of what he has to do, which he needs to obey in order to keep his job. Even though this ruleset contains something stupid (or even impossible), it's a requirement. Of course a stupid one, but it does exist. Surely it would be better for the company that has _admitted_ to have had more than one significant infection to do the simplest, most stupid and absolutely basic tasks: 1. educate users, repeat educating users, continue educating users 2. connect "Windows" PCs through a non-"Windows" scanning facility to the Internet; think about who needs Internet and who doesn't 3. limit access to local storage (CD, DVD, USB sticks) and force those to be "inserted" to the network (e. g. as a CIFS share) again through a non-"Windows" scanning facility; again think about who should be allowed to enter "foreign data" to the company network and _how_ it is _required_ to be done 4. consider the whole network, also think about (W)LAN or BT connected smartphones, printers, networking gear 5. learn about viruses, trojans, malware: how they work, how they are used and therefore how to "actively act against them" 6. understand security as a process, not a stupid list that tells you to "have a virus scanner on the system that works on access"; now go to item 1 again Of course, _none_ of those points seems to be on the agenda at the moment. There's still the rule "You must have a virus scanner on your computer that acts as on-access scanner and scans for any viruses." It misses both that FreeBSD is not infectable by "Windows" viruses, and it does not prevent any "non-virus" attacks (such as per smartphone, per printer, per human stupidity and carelessness). So I think Daniel is actually on the best road at the moment. Sure, it won't make _his_ system safer, and it won't make other systems safer, but it will conform to the rules. If he's able to use FAM/Ganim as the "on-access" part, and a virus scanner he finds suitable for the "virus scan" part, that should be sufficient. if(system_has_scanner && scan_on_access) allow_system(); else if(insist_on_system) fire(Daniel); else deny_system(); Obeying can be fun, if it _is_ that easy. :-) Maybe later on, he can convince his superior to switch on his brain for thinking about the corporate guidelines. It's worth it, and it saves money. I'm confident that it is a chance to finally dump the stupid idea of insisting to have a virus scanner on FreeBSD where there are no viruses it could scan for. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 20:41:28 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 884ED106566C for ; Fri, 27 Jul 2012 20:41:28 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id E8E1D8FC08 for ; Fri, 27 Jul 2012 20:41:27 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6RKfHlf001916; Fri, 27 Jul 2012 22:41:18 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6RKJLS2001797; Fri, 27 Jul 2012 22:19:21 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Fri, 27 Jul 2012 22:19:20 +0200 (CEST) From: Wojciech Puchar To: Paul Schmehl In-Reply-To: <749F391EFB9AA6234EF1AFF4@localhost> Message-ID: References: <20120727104308.GA4834@catflap.slightlystrange.org> <749F391EFB9AA6234EF1AFF4@localhost> 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 passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Fri, 27 Jul 2012 22:41:18 +0200 (CEST) Cc: Daniel Bye , FreeBSD Questions Subject: Re: On-access AV scanning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2012 20:41:28 -0000 > I did some testing several years ago with ClamAV, Sophos and McAfee (scanning > incoming mail), and ClamAV was comparable to McAfee in detection rates - over > 98%. > i use clamav for mail virus checking and IMHO it is the only place where realtime virus checking make sense. some windows users have NOD32 antivirus and i never got a case that NOD32 detected email virus after clamav filter. Of course this is all windows only problem, unix doesn't have viruses. From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 20:41:28 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 911391065673 for ; Fri, 27 Jul 2012 20:41:28 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id EBC368FC0A for ; Fri, 27 Jul 2012 20:41:27 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6RKfHld001916; Fri, 27 Jul 2012 22:41:17 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6RKOeMM001830; Fri, 27 Jul 2012 22:24:40 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Fri, 27 Jul 2012 22:24:40 +0200 (CEST) From: Wojciech Puchar To: Fabian Keil In-Reply-To: <20120727182654.339ca39a@fabiankeil.de> Message-ID: References: <201207260052.q6Q0qdss086796@mail.r-bonomi.com> <20120726031450.5c06dd61@gumby.homeunix.com> <20120727153612.1e69d8ec@gumby.homeunix.com> <20120727182654.339ca39a@fabiankeil.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Fri, 27 Jul 2012 22:41:17 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: geli - selecting cipher X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2012 20:41:28 -0000 > Saying that geli's CBC implementation "is good enough" for someone > seems to imply that it's somehow worse than XTS in general. Could you true. i still don't really understand the difference. I don't need actually anything other that inability to read data from my disk for a potential thief. > The rationale of the change isn't clear to me either. > Until recently I wasn't aware of the performance impact, though. It is huge 5-8 times depending if you have hardware acceleration or not. AES-CBC is fast enough so encrypting SSD drives make sense. From owner-freebsd-questions@FreeBSD.ORG Sat Jul 28 06:32:10 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A5B7E106566C for ; Sat, 28 Jul 2012 06:32:10 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 34E908FC12 for ; Sat, 28 Jul 2012 06:32:10 +0000 (UTC) Received: from [88.217.80.161] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Sv0ZK-0000LJ-SI; Sat, 28 Jul 2012 08:32:07 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id q6S6W5OT002255; Sat, 28 Jul 2012 08:32:05 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id q6S6W3WC002254; Sat, 28 Jul 2012 08:32:03 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sat, 28 Jul 2012 08:32:03 +0200 From: Matthias Apitz To: Robert Bonomi Message-ID: <20120728063203.GA2200@tinyCurrent> References: <1343129654.559.YahooMailNeo@web140701.mail.bf1.yahoo.com> <201207241223.q6OCN3SR063819@mail.r-bonomi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201207241223.q6OCN3SR063819@mail.r-bonomi.com> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 88.217.80.161 Cc: freebsd-questions@freebsd.org, mru258@yahoo.com Subject: Re: is it possible to install freebsd on tablet? 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: Sat, 28 Jul 2012 06:32:10 -0000 El día Tuesday, July 24, 2012 a las 07:23:03AM -0500, Robert Bonomi escribió: > > > From: Mr U > > Date: Tue, 24 Jul 2012 04:34:14 -0700 (PDT) > > Subject: is it possible to install freebsd on tablet? > > > > hi > > > > I have a question, is it possible to install freebsd (or netbsd) on an > > android tablet? > > Authoritative answer: > "Theoetically poszible? yes. > Realistically doable? Maybe". > > And it's a _big_ "maybe". > > It depends on the -exact- hardware details of the tablet device in question. > > If the particular make/model of tablet is not explicitly listed in the > 'supported hardware' list ffor the vesion of FreeBSD that you are consideing, > then it will take a -lot- of research to deteming whether FreeBSD will > run without modification on that device. > ... I would be better to spent such efforts in porting FreeBSD to an open device, and not to such propriety beast; there have been steps in the past to port to Openmoko Freerunner: http://wiki.openmoko.org/wiki/Main_Page http://wiki.openmoko.org/wiki/FreeBSD I'm using such a mobile as my one and only daily cell phone, but it still runs a Linux distribution, SHR http://www.shr-project.org/trac/wiki matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 From owner-freebsd-questions@FreeBSD.ORG Sat Jul 28 09:44:35 2012 Return-Path: Delivered-To: questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BB1D9106566C for ; Sat, 28 Jul 2012 09:44:35 +0000 (UTC) (envelope-from vladimir.videscu@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7D9928FC0A for ; Sat, 28 Jul 2012 09:44:35 +0000 (UTC) Received: by obbun3 with SMTP id un3so7256682obb.13 for ; Sat, 28 Jul 2012 02:44:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=KE91kFbjfWzQtu7+mIKIJJiqWWEIi9y6emJ4OZf/UvU=; b=o577B4KhDyfmPEKE0QAE1p3meVlt/40vQXXKjnuaVWlGxMoM++woshmaXpGSBEM82A SC4q9TovLJV9mJyzipLfxbm6Ye9LE5pdOc73WgGM0RmHJ8iCB7A5h25HQPI3VOUnHUO2 zvrX0neuxe0EFNUY0QQh1NF5ERnfOB8dbBUXYoAG0CIAHNAI5SmeXzx0sLpSXWwVG0Jx xaEOR2dAxaZEwV36OKc6sl9jaO2GHpqK5Ca+gOj5wQz1qrj3AZJfutLgesydELY0yroc 6fDkGwzR4YES3u33Bi5gsHrVOosvaPQoBtdUex5hbe+N7/VuJ0nAhu9w1SgZq7Q2zJXD mizw== MIME-Version: 1.0 Received: by 10.60.169.138 with SMTP id ae10mr3060049oec.7.1343468675057; Sat, 28 Jul 2012 02:44:35 -0700 (PDT) Received: by 10.76.27.33 with HTTP; Sat, 28 Jul 2012 02:44:35 -0700 (PDT) Date: Sat, 28 Jul 2012 12:44:35 +0300 Message-ID: From: Vladimir Videscu To: questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: FreeBSD on SSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Jul 2012 09:44:35 -0000 Good day. I have recently bought a Seagate Momentus XT for my laptop. The specs for the drive are : RPM : 7200 Buffer : 32 MB HDD Memory : 750 GB SSD Memory : 8 GB I wish to install FreeBSD on it, but I wanted to ask this beforehand : Would it would be possible to install it on the 8 GB SSD sector ? Would it work, and how would FreeBSD generally handle the SSD share of the memory ? Thank you, V. From owner-freebsd-questions@FreeBSD.ORG Sat Jul 28 09:56:25 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8038C106564A for ; Sat, 28 Jul 2012 09:56:25 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.224.110]) by mx1.freebsd.org (Postfix) with ESMTP id 34F108FC16 for ; Sat, 28 Jul 2012 09:56:25 +0000 (UTC) Received: from AMD620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q6S9uBLd026877; Sat, 28 Jul 2012 03:56:15 -0600 Date: Sat, 28 Jul 2012 16:58:43 +0700 From: Erich Dollansky To: Vladimir Videscu Message-ID: <20120728165843.7df79322@AMD620.ovitrap.com> In-Reply-To: References: X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: FreeBSD on SSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Jul 2012 09:56:25 -0000 Hi, On Sat, 28 Jul 2012 12:44:35 +0300 Vladimir Videscu wrote: > Good day. I have recently bought a Seagate Momentus XT for my laptop. > > The specs for the drive are : > > RPM : 7200 > Buffer : 32 MB > HDD Memory : 750 GB > SSD Memory : 8 GB > > > I wish to install FreeBSD on it, but I wanted to ask this beforehand : > > Would it would be possible to install it on the 8 GB SSD sector ? > Would it work, and how would FreeBSD generally handle the SSD share > of the memory ? > isn't the SSD part 100% hidden? Doesn't the SSD work as a plain read cache for the disk? Erich From owner-freebsd-questions@FreeBSD.ORG Sat Jul 28 10:14:54 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97E3D106566B for ; Sat, 28 Jul 2012 10:14:54 +0000 (UTC) (envelope-from matthias@d2ux.net) Received: from h1907788.stratoserver.net (h1907788.stratoserver.net [85.214.252.129]) by mx1.freebsd.org (Postfix) with ESMTP id 5209A8FC0C for ; Sat, 28 Jul 2012 10:14:54 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by h1907788.stratoserver.net (Postfix) with ESMTP id 53528401C002 for ; Sat, 28 Jul 2012 11:46:03 +0200 (CEST) Received: from h1907788.stratoserver.net ([127.0.0.1]) by localhost (h1907788.stratoserver.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id APSLYkNm7B1s for ; Sat, 28 Jul 2012 11:46:02 +0200 (CEST) Received: from compaq (p5DDA9501.dip.t-dialin.net [93.218.149.1]) by h1907788.stratoserver.net (Postfix) with ESMTP id 2A3AB401C001 for ; Sat, 28 Jul 2012 11:46:02 +0200 (CEST) Date: Sat, 28 Jul 2012 11:46:43 +0200 From: Matthias Petermann To: freebsd-questions@freebsd.org Message-Id: <20120728114643.ff0b536f.matthias@d2ux.net> X-Mailer: Sylpheed 3.1.2 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: bsdinstall to jail aborted (9.0-RELEASE-p3, amd64) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2012 10:14:54 -0000 Hello, currently I experienced an unexpected behavior of the FreeBSD bsdinstall installer. Some weeks ago I could use it sucessfully to create a jail environment with # bsdinstall jail /jails/myjail Today I tried to repeat this on another system(2) and it fails after the selection of the to-be-used mirror. Also re-trying it on the original system(1) leads to an error but a different one. Since then I upgraded from 9.0-RELEASE to 9.0-RELEASE-p3 using freebsd-update. Here are the symptoms: (2) FreeBSD 9.0-RELEASE-p3 amd64: After typing "bsdinstall..." it brings me directly to the mirror selection list, but after selecting a mirror it aborts with an error message "An installation step has beeen aborted. Would you like to restart the installer or exit the installer?" (1) FreeBSD 9.0-RELEASE-p3 i386: After typing "bsdinstall..." it brings me to the distribution select dialog. After selection of the distribution set, it shows the mirror selection dialog. After selecting a mirror it aborts with a fetch error "Error while fetching /base.txz: Invalid URL scheme" I tried different mirrors, too. And they all seem to be basically online - pointing an FTP client to them showed no errors. So what am I doing wrong? Does bsdinstall maintain some hidden configuration file which may influence its behavior? The environment variables mentioned in bsdinstall(8) are not set on both systems. Or is there a known issue with 9.0-RELEASE-p3 which appears different on amd64 and i386 systems? It would be great if anyone could validate this. Kind regards, Matthias -- Matthias Petermann From owner-freebsd-questions@FreeBSD.ORG Sat Jul 28 10:16:28 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 745411065674 for ; Sat, 28 Jul 2012 10:16:28 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id ECB878FC1B for ; Sat, 28 Jul 2012 10:16:27 +0000 (UTC) Received: by wibhr14 with SMTP id hr14so288288wib.13 for ; Sat, 28 Jul 2012 03:16:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to :x-gm-message-state; bh=wjUjKnjDcH9KESGSEi3QWyqi3YnINy94BpYNDGG0XNo=; b=d1DcpZfmG10TVIx3tw+BHtyJGZi1VXQUcQKzAf+z4kXAwScQTJ392hRMHtw6F99iS3 6H2LXzK3NfTVcg71C4LPM14tejCk1SNkwjinEe4wQlY6CPbWnJC0G3w+WObIyDALgpoa ASSpkkTL6pleDJ0n+3EL9JqOOytDSq+ysD5G/uk/f2sjLDFDYLTPKv/b98BOBQguKwzN C6x1j996nHqsnsJmq0emcc8Sedls9pa34ox9aZFfrgBj1TeMQJqYTaDggN2ihxQX7dRA dqbyeEm17zlwDcn9ytlL3yRi/VNsfC3jwCKbXG8N5uSE0342q3rvGs2VIUsZBlX4e1jB NWKQ== Received: by 10.216.132.25 with SMTP id n25mr2562654wei.25.1343470586693; Sat, 28 Jul 2012 03:16:26 -0700 (PDT) Received: from [192.168.0.5] (angel.c-mal.com. [82.241.189.111]) by mx.google.com with ESMTPS id o2sm5079958wiz.11.2012.07.28.03.16.25 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 28 Jul 2012 03:16:25 -0700 (PDT) References: <20120728165843.7df79322@AMD620.ovitrap.com> In-Reply-To: <20120728165843.7df79322@AMD620.ovitrap.com> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: X-Mailer: iPhone Mail (9A405) From: Damien Fleuriot Date: Sat, 28 Jul 2012 12:16:23 +0200 To: Erich Dollansky X-Gm-Message-State: ALoCoQkdVpLFvxjeuL8dR1M2g9tZ8IxSAmKSxyK4411LJOZnTp65fgDLqYAVepdnk+J6tPGqG7kk Cc: "questions@freebsd.org" , Vladimir Videscu Subject: Re: FreeBSD on SSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Jul 2012 10:16:28 -0000 On 28 Jul 2012, at 11:58, Erich Dollansky wro= te: > Hi, >=20 > On Sat, 28 Jul 2012 12:44:35 +0300 > Vladimir Videscu wrote: >=20 >> Good day. I have recently bought a Seagate Momentus XT for my laptop. >>=20 >> The specs for the drive are : >>=20 >> RPM : 7200 >> Buffer : 32 MB >> HDD Memory : 750 GB >> SSD Memory : 8 GB >>=20 >>=20 >> I wish to install FreeBSD on it, but I wanted to ask this beforehand : >>=20 >> Would it would be possible to install it on the 8 GB SSD sector ? >> Would it work, and how would FreeBSD generally handle the SSD share >> of the memory ? >>=20 > isn't the SSD part 100% hidden? Doesn't the SSD work as a plain read > cache for the disk? >=20 > Erich > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.or= g" Vladimir, Erich has the right of it. You have not bought a real SSD but rather a hdd with built-in SSD-backed cac= he. I don't think there is a way for you to install the OS specifically to the S= SD part of the drive.= From owner-freebsd-questions@FreeBSD.ORG Sat Jul 28 10:42:36 2012 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 35D85106566C for ; Sat, 28 Jul 2012 10:42:36 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id E8DC18FC16 for ; Sat, 28 Jul 2012 10:42:35 +0000 (UTC) Received: from r56.edvax.de (port-92-195-22-218.dynamic.qsc.de [92.195.22.218]) by mx01.qsc.de (Postfix) with ESMTP id 879643CC74; Sat, 28 Jul 2012 12:42:34 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q6SAgYXl002327; Sat, 28 Jul 2012 12:42:34 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 28 Jul 2012 12:42:34 +0200 From: Polytropon To: Vladimir Videscu Message-Id: <20120728124234.865838cf.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: FreeBSD on SSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2012 10:42:36 -0000 On Sat, 28 Jul 2012 12:44:35 +0300, Vladimir Videscu wrote: > Good day. I have recently bought a Seagate Momentus XT for my laptop. > > The specs for the drive are : > > RPM : 7200 > Buffer : 32 MB > HDD Memory : 750 GB > SSD Memory : 8 GB > > > I wish to install FreeBSD on it, but I wanted to ask this beforehand : > > Would it would be possible to install it on the 8 GB SSD sector ? > Would it work, and how would FreeBSD generally handle the SSD share of the > memory ? I think you're misunderstanding what this drive basically is. According to what I read from Seagate's web page, it is _not_ a combination of a HDD and a SSD where each part can be addressed _independently_. The SSD component seems to function as a kind of read cache, but it is controlled by the disk unit's firmware itself. (I'm not even sure it works without software drivers, judging by the funny little pictures...) http://www.seagate.com/internal-hard-drives/laptop-hard-drives/momentus-xt-hybrid/ http://www.seagate.com/internal-hard-drives/laptop-hard-drives/momentus-xt-hybrid/specs/ (manual see 3.2.2) You could easily test it by attaching the drive to a FreeBSD system and see if _one_ or _two_ disk devices (ad or ada) appear. If I'm wrong and it should really be "two units in one", your idea would work. Install FreeBSD to the SSD part and apply the known optimizations. Make use of the HDD part for OS components that need much writes to prevent wearing the SSD. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Jul 28 13:13:55 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EB76C106566C for ; Sat, 28 Jul 2012 13:13:54 +0000 (UTC) (envelope-from kickbsd@yandex.com) Received: from forward19.mail.yandex.net (forward19.mail.yandex.net [IPv6:2a02:6b8:0:1402::4]) by mx1.freebsd.org (Postfix) with ESMTP id 603F28FC19 for ; Sat, 28 Jul 2012 13:13:54 +0000 (UTC) Received: from web3g.yandex.ru (web3g.yandex.ru [95.108.252.103]) by forward19.mail.yandex.net (Yandex) with ESMTP id B774611206FD; Sat, 28 Jul 2012 17:13:51 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1343481231; bh=0WhNqHOosgvsnKYV2jrp1sZeRLTb6Cnj32B9DUvGYrw=; h=From:To:Cc:In-Reply-To:References:Subject:MIME-Version:Message-Id: Date:Content-Transfer-Encoding:Content-Type; b=QePCREx3xGTEKdZs0k0dU1nC3OhZ4vn5bk50UWcRoeheECSkC9FyB/hlrOo7QOVBs /UStjzBBjaJ/saVeTmQH3dVRHDvppGP/9vot6Wibp1PXwJw/x9s2sjwJkPe5JOZ9oQ mxYC8mBzhEAoerRTT27nxM7GWKYVI50BQ1twUjEI= Received: from 127.0.0.1 (localhost.localdomain [127.0.0.1]) by web3g.yandex.ru (Yandex) with ESMTP id 5E60D1A98001; Sat, 28 Jul 2012 17:13:51 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1343481231; bh=0WhNqHOosgvsnKYV2jrp1sZeRLTb6Cnj32B9DUvGYrw=; h=From:To:Cc:In-Reply-To:References:Subject:MIME-Version:Message-Id: Date:Content-Transfer-Encoding:Content-Type; b=QePCREx3xGTEKdZs0k0dU1nC3OhZ4vn5bk50UWcRoeheECSkC9FyB/hlrOo7QOVBs /UStjzBBjaJ/saVeTmQH3dVRHDvppGP/9vot6Wibp1PXwJw/x9s2sjwJkPe5JOZ9oQ mxYC8mBzhEAoerRTT27nxM7GWKYVI50BQ1twUjEI= Received: from dsl-67-212-16-252.acanac.net (dsl-67-212-16-252.acanac.net [67.212.16.252]) by web3g.yandex.ru with HTTP; Sat, 28 Jul 2012 17:13:51 +0400 From: Darren Baginski To: Matthias Petermann In-Reply-To: <20120728114643.ff0b536f.matthias@d2ux.net> References: <20120728114643.ff0b536f.matthias@d2ux.net> MIME-Version: 1.0 Message-Id: <173631343481231@web3g.yandex.ru> Date: Sat, 28 Jul 2012 17:13:51 +0400 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain Cc: "freebsd-questions@freebsd.org" Subject: Re: bsdinstall to jail aborted (9.0-RELEASE-p3, amd64) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2012 13:13:55 -0000 28.07.2012, 13:46, "Matthias Petermann" : > Hello, > > currently I experienced an unexpected behavior of the FreeBSD bsdinstall installer. Some weeks ago I could use it sucessfully to create a jail environment with > > # bsdinstall jail /jails/myjail > > Today I tried to repeat this on another system(2) and it fails after the selection of the to-be-used mirror. Also re-trying it on the original system(1) leads to an error but a different one. Since then I upgraded from 9.0-RELEASE to 9.0-RELEASE-p3 using freebsd-update. > > Here are the symptoms: > > (2) FreeBSD 9.0-RELEASE-p3 amd64: After typing "bsdinstall..." it brings me directly to the mirror selection list, but after selecting a mirror it aborts with an error message "An installation step has beeen aborted. Would you like to restart the installer or exit the installer?" > > (1) FreeBSD 9.0-RELEASE-p3 i386: After typing "bsdinstall..." it brings me to the distribution select dialog. After selection of the distribution set, it shows the mirror selection dialog. After selecting a mirror it aborts with a fetch error "Error while fetching /base.txz: Invalid URL scheme" > > I tried different mirrors, too. And they all seem to be basically online - pointing an FTP client to them showed no errors. > > So what am I doing wrong? Does bsdinstall maintain some hidden configuration file which may influence its behavior? The environment variables mentioned in bsdinstall(8) are not set on both systems. Or is there a known issue with 9.0-RELEASE-p3 which appears different on amd64 and i386 systems? > > It would be great if anyone could validate this. I did a quick test on 9.1-PRERELEASE, ant bsdinstall trying to fetch 9.1-PRERELEASE files, which it surely can't find. There must be an option like 'TARGET' to specify exact version to fetch like it's the case for Debian debootsrap. > > Kind regards, > Matthias > From owner-freebsd-questions@FreeBSD.ORG Sat Jul 28 13:17:29 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8DF51106564A for ; Sat, 28 Jul 2012 13:17:29 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 9E7388FC19 for ; Sat, 28 Jul 2012 13:17:28 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6SBfH3l007091; Sat, 28 Jul 2012 13:41:17 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6SAU0cQ006804; Sat, 28 Jul 2012 12:30:00 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 28 Jul 2012 12:30:00 +0200 (CEST) From: Wojciech Puchar To: Vladimir Videscu In-Reply-To: Message-ID: References: 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 passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Sat, 28 Jul 2012 13:41:17 +0200 (CEST) Cc: questions@freebsd.org Subject: Re: FreeBSD on SSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Jul 2012 13:17:29 -0000 > HDD Memory : 750 GB > SSD Memory : 8 GB > > > I wish to install FreeBSD on it, but I wanted to ask this beforehand : > > Would it would be possible to install it on the 8 GB SSD sector ? no idea how seagate momentus XT work. AFAIK it tries to "automatically" move often used things to flash. so install normally. > Would it work, and how would FreeBSD generally handle the SSD share of the > memory ? > > Thank you, V. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Sat Jul 28 13:18:38 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2040510656A3 for ; Sat, 28 Jul 2012 13:18:38 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 21E328FC12 for ; Sat, 28 Jul 2012 13:18:35 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6SBfH3p007091; Sat, 28 Jul 2012 13:41:18 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6SAWIKI006810; Sat, 28 Jul 2012 12:32:18 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 28 Jul 2012 12:32:18 +0200 (CEST) From: Wojciech Puchar To: Polytropon In-Reply-To: <20120727204732.c143bc3d.freebsd@edvax.de> Message-ID: References: <20120727104308.GA4834@catflap.slightlystrange.org> <20120727204732.c143bc3d.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Sat, 28 Jul 2012 13:41:18 +0200 (CEST) Cc: Mark Felder , freebsd-questions@freebsd.org Subject: Re: On-access AV scanning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Jul 2012 13:18:38 -0000 > > His "problem" is that there's a corporate reglementation > of what he has to do, which he needs to obey in order to the only cure for such case is changing a job. From owner-freebsd-questions@FreeBSD.ORG Sat Jul 28 13:24:51 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8873C106566C for ; Sat, 28 Jul 2012 13:24:51 +0000 (UTC) (envelope-from kickbsd@yandex.com) Received: from forward19.mail.yandex.net (forward19.mail.yandex.net [IPv6:2a02:6b8:0:1402::4]) by mx1.freebsd.org (Postfix) with ESMTP id 92A158FC0A for ; Sat, 28 Jul 2012 13:24:50 +0000 (UTC) Received: from web19g.yandex.ru (web19g.yandex.ru [95.108.252.119]) by forward19.mail.yandex.net (Yandex) with ESMTP id A35641120E0B; Sat, 28 Jul 2012 17:24:49 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1343481889; bh=0WrJUAD3rrqFuv1oDp2rrJIxIqTosQIwQXOQWPueUXc=; h=From:To:Cc:In-Reply-To:References:Subject:MIME-Version:Message-Id: Date:Content-Transfer-Encoding:Content-Type; b=w/oJrcAlTktS+giejBbRSccDeBiPOq7ZYNMMR/1NjW8Mmfb+c4+EQUKaCke3td6t8 RP2qNnEOt1oS7uFgyZxh7Edjogu7RE3FtncmVsIanDcwMLhO4S+msNwmf8gyW7sGwA 7evFkktO6e+MDoj84qQKzRsDv+tlrQr8+2PbgeIw= Received: from 127.0.0.1 (localhost.localdomain [127.0.0.1]) by web19g.yandex.ru (Yandex) with ESMTP id 4B23F2888001; Sat, 28 Jul 2012 17:24:49 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1343481889; bh=0WrJUAD3rrqFuv1oDp2rrJIxIqTosQIwQXOQWPueUXc=; h=From:To:Cc:In-Reply-To:References:Subject:MIME-Version:Message-Id: Date:Content-Transfer-Encoding:Content-Type; b=w/oJrcAlTktS+giejBbRSccDeBiPOq7ZYNMMR/1NjW8Mmfb+c4+EQUKaCke3td6t8 RP2qNnEOt1oS7uFgyZxh7Edjogu7RE3FtncmVsIanDcwMLhO4S+msNwmf8gyW7sGwA 7evFkktO6e+MDoj84qQKzRsDv+tlrQr8+2PbgeIw= Received: from dsl-67-212-16-252.acanac.net (dsl-67-212-16-252.acanac.net [67.212.16.252]) by web19g.yandex.ru with HTTP; Sat, 28 Jul 2012 17:24:48 +0400 From: Darren Baginski To: Matthias Petermann In-Reply-To: <173631343481231@web3g.yandex.ru> References: <20120728114643.ff0b536f.matthias@d2ux.net> <173631343481231@web3g.yandex.ru> MIME-Version: 1.0 Message-Id: <170531343481888@web19g.yandex.ru> Date: Sat, 28 Jul 2012 17:24:48 +0400 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=koi8-r Cc: "freebsd-questions@freebsd.org" Subject: Re: bsdinstall to jail aborted (9.0-RELEASE-p3, amd64) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2012 13:24:51 -0000 28.07.2012, 17:13, "Darren Baginski" : > 28.07.2012, 13:46, "Matthias Petermann" : > >> šHello, >> >> šcurrently I experienced an unexpected behavior of the FreeBSD bsdinstall installer. Some weeks ago I could use it sucessfully to create a jail environment with >> >> š# bsdinstall jail /jails/myjail >> >> šToday I tried to repeat this on another system(2) and it fails after the selection of the to-be-used mirror. Also re-trying it on the original system(1) leads to an error but a different one. Since then I upgraded from 9.0-RELEASE to 9.0-RELEASE-p3 using freebsd-update. >> >> šHere are the symptoms: >> >> š(2) FreeBSD 9.0-RELEASE-p3 amd64: After typing "bsdinstall..." it brings me directly to the mirror selection list, but after selecting a mirror it aborts with an error message "An installation step has beeen aborted. Would you like to restart the installer or exit the installer?" >> >> š(1) FreeBSD 9.0-RELEASE-p3 i386: After typing "bsdinstall..." it brings me to the distribution select dialog. After selection of the distribution set, it shows the mirror selection dialog. After selecting a mirror it aborts with a fetch error "Error while fetching /base.txz: Invalid URL scheme" >> >> šI tried different mirrors, too. And they all seem to be basically online - pointing an FTP client to them showed no errors. >> >> šSo what am I doing wrong? Does bsdinstall maintain some hidden configuration file which may influence its behavior? The environment variables mentioned in bsdinstall(8) are not set on both systems. Or is there a known issue with 9.0-RELEASE-p3 which appears different on amd64 and i386 systems? >> >> šIt would be great if anyone could validate this. > > I did a quick test on 9.1-PRERELEASE, šant bsdinstall trying to fetch 9.1-PRERELEASE files, which it surely can't find. > There must be an option like 'TARGET' to specify exact version to fetch like it's the case for Debian debootsrap. > What I did next is: #diff -u mirrorselect.orig mirrorselect --- mirrorselect.orig 2012-07-28 12:55:33.000000000 +0000 +++ mirrorselect 2012-07-28 12:58:49.000000000 +0000 @@ -192,7 +192,7 @@ MIRROR_BUTTON=$? exec 3>&- -BSDINSTALL_DISTSITE="$MIRROR/pub/FreeBSD/releases/`uname -m`/`uname -p`/`uname -r`" +BSDINSTALL_DISTSITE="$MIRROR/pub/FreeBSD/releases/`uname -m`/`uname -p`/$TARGET" case $MIRROR_BUTTON in $DIALOG_CANCEL) and then: #export TARGET=9.0-RELEASE and again #bsdinstall jail /tmp/tstenv Got a working environment after that. I thing release/arch selection has to be a part of the installer, either directly or via environment variables. From owner-freebsd-questions@FreeBSD.ORG Sat Jul 28 14:25:53 2012 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2968B106566C for ; Sat, 28 Jul 2012 14:25:53 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 86B088FC12 for ; Sat, 28 Jul 2012 14:25:52 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q6SEPm5N041152 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sat, 28 Jul 2012 15:25:49 +0100 (BST) (envelope-from matthew@FreeBSD.org) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q6SEPm5N041152 Authentication-Results: smtp.infracaninophile.co.uk/q6SEPm5N041152; dkim=none (no signature); dkim-adsp=none Message-ID: <5013F66C.5010806@FreeBSD.org> Date: Sat, 28 Jul 2012 15:25:48 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org References: <20120727104308.GA4834@catflap.slightlystrange.org> <20120727204732.c143bc3d.freebsd@edvax.de> In-Reply-To: X-Enigmail-Version: 1.4.3 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig6571CB6F9915956B172B6642" X-Virus-Scanned: clamav-milter 0.97.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: Subject: Re: On-access AV scanning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Jul 2012 14:25:53 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6571CB6F9915956B172B6642 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 28/07/2012 11:32, Wojciech Puchar wrote: >> His "problem" is that there's a corporate reglementation >> of what he has to do, which he needs to obey in order to > the only cure for such case is changing a job. A little drastic perhaps? Company policies can be changed[*]. Cheers, Matthew [*] It's important that the workers believe this. It helps keep them in line. --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enig6571CB6F9915956B172B6642 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAT9mwACgkQ8Mjk52CukIx09gCfVfor73q9YxNZQy+ED3xLfNHZ GKUAn0VtCFUm2emFFyCEq7jsHaD+G3l2 =YI+L -----END PGP SIGNATURE----- --------------enig6571CB6F9915956B172B6642-- From owner-freebsd-questions@FreeBSD.ORG Sat Jul 28 14:41:36 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D7EF5106566B for ; Sat, 28 Jul 2012 14:41:36 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 1BBF18FC0A for ; Sat, 28 Jul 2012 14:41:35 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6SESE5m007664; Sat, 28 Jul 2012 16:28:14 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6SESES2007661; Sat, 28 Jul 2012 16:28:14 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 28 Jul 2012 16:28:14 +0200 (CEST) From: Wojciech Puchar To: Polytropon In-Reply-To: <20120728124234.865838cf.freebsd@edvax.de> Message-ID: References: <20120728124234.865838cf.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Sat, 28 Jul 2012 16:28:14 +0200 (CEST) Cc: questions@freebsd.org, Vladimir Videscu Subject: Re: FreeBSD on SSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Jul 2012 14:41:37 -0000 > by the disk unit's firmware itself. (I'm not even sure > it works without software drivers, judging by the funny > little pictures...) yes it works without any drivers other than standard SATA driver. From owner-freebsd-questions@FreeBSD.ORG Sat Jul 28 14:43:10 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C3E09106566C for ; Sat, 28 Jul 2012 14:43:10 +0000 (UTC) (envelope-from corebug@corebug.net) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 705BB8FC12 for ; Sat, 28 Jul 2012 14:43:10 +0000 (UTC) Received: by vbmv11 with SMTP id v11so4290053vbm.13 for ; Sat, 28 Jul 2012 07:43:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:x-gm-message-state; bh=zt6KAU7U2zH0/84thoh/Wtwexe4QtaHhHf0wOAitEdM=; b=bdZCZXgQHvhvLMFZ+uGwgLhyxEFbn2vli0sdpDHzLHIB8G5ztQNKwNM/X0G2i+Xy40 8cIP1QXlR/xe1Gc0Hqa7wmgxsFZaj5xy4dSASDDtaYlHFMeNhXvKRL+23x/hqVZFZ7ng v4zNoceQeqBPq0g5G5kU7lM9q4J1C/fKJ8PrkPuRYqJYQw80V2/kQT+onwf+r5oAKB+j tFEi8W1hlUHc3ws/wLvpFzOko78EEw9jLfJdGfammx1nHdTtbR4t3VysCMLq83apTJlu oHrMCm7NiBp2gMv4e6GXBQuAiqHSUUP9QLkuEJm7oBOeQCODHDUUMchXlmY/Ez5eMI+n opSg== Received: by 10.220.150.138 with SMTP id y10mr5639077vcv.73.1343486583764; Sat, 28 Jul 2012 07:43:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.209.38 with HTTP; Sat, 28 Jul 2012 07:42:43 -0700 (PDT) X-Originating-IP: [176.113.160.253] In-Reply-To: References: From: =?UTF-8?B?0JLQuNGC0LDQu9C40Lkg0KLRg9GA0L7QstC10YY=?= Date: Sat, 28 Jul 2012 17:42:43 +0300 Message-ID: To: Wojciech Puchar Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlTo0LW9FdpjSr/EnultYhubySb2G6do4rUU6gq6v2FbXTAFQi1o6uaraTH/jk+fduBUwLX Cc: questions@freebsd.org, Vladimir Videscu Subject: Re: FreeBSD on SSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Jul 2012 14:43:10 -0000 2012/7/28 Wojciech Puchar : >> HDD Memory : 750 GB >> SSD Memory : 8 GB >> >> >> I wish to install FreeBSD on it, but I wanted to ask this beforehand : >> >> Would it would be possible to install it on the 8 GB SSD sector ? > > > no idea how seagate momentus XT work. > AFAIK it tries to "automatically" move often used things to flash. so > install normally. > > > > >> Would it work, and how would FreeBSD generally handle the SSD share of the >> memory ? >> >> Thank you, V. >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-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 have exactly the same drive in my laptop, Seagate Momentus XT 750GB, with dualboot FreeBSD/Window$ installed on it using MBR and BSD slices. The installation of FreeBSD was exactly the same as anywhere else :) As it was said here, Momentus' Adaptive Memory technology uses SSD as read cache, that's all. The OS doesn't even guess that these 8GBs of SSD are present somewhere :) -- ~~~ WBR, Vitaliy Turovets Systems Administrator Corebug.Net +38(093)265-70-55 VITU-RIPE X-NCC-RegID: ua.tv From owner-freebsd-questions@FreeBSD.ORG Sat Jul 28 15:35:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98BA4106564A; Sat, 28 Jul 2012 15:35:40 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id D9D8A8FC15; Sat, 28 Jul 2012 15:35:39 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6SFZcCP008568; Sat, 28 Jul 2012 17:35:38 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6SFZcxn008565; Sat, 28 Jul 2012 17:35:38 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 28 Jul 2012 17:35:38 +0200 (CEST) From: Wojciech Puchar To: Matthew Seaman In-Reply-To: <5013F66C.5010806@FreeBSD.org> Message-ID: References: <20120727104308.GA4834@catflap.slightlystrange.org> <20120727204732.c143bc3d.freebsd@edvax.de> <5013F66C.5010806@FreeBSD.org> 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 passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Sat, 28 Jul 2012 17:35:38 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: On-access AV scanning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Jul 2012 15:35:40 -0000 > >> the only cure for such case is changing a job. > > A little drastic perhaps? Company policies can be changed[*]. depends on the company. But i assumed attempt to point out nonsense of such policy were already done. > [*] It's important that the workers believe this. It helps keep them in > line. true and proven. but my point was that if policy is just nonsense (requirement of virus protection in spite of using virus-incapable OS) and still enforced in spite of this then.... No matter if it is 5 users of 80 users (largest i have to control in one place) then the policy should be "think what you are doing", and "do your work at work, not your toys". Believe me that having 2-3 virus problems per year, with no spreading, WITH WINDOWS USERS, and windows workstations running few years without touching is possible. It's simple, but off topic to explain in details. PS make in every shared (used by many people) samba share a directory "Autorun.inf", owned by root with access rights of 700. From owner-freebsd-questions@FreeBSD.ORG Sat Jul 28 17:19:26 2012 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 2C1F1106566C for ; Sat, 28 Jul 2012 17:19:26 +0000 (UTC) (envelope-from vladimir.videscu@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id E20188FC15 for ; Sat, 28 Jul 2012 17:19:25 +0000 (UTC) Received: by obbun3 with SMTP id un3so7909461obb.13 for ; Sat, 28 Jul 2012 10:19:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=kdxv4hMCm84rGLcZleCCfbhI1A5gJhbjEDIwMMUHC5E=; b=Nc1WYR8GFvy4XzFjSe9J04NGgrbG4jP4Tlga/Fnv8+tMxEaT943m3dFaJIHCBa1bbB 9yIYtVQmAxf7EM+cPVdSoyPALSxSpKS76QZG26XPMZtkeBMMBjWbZCr/8VotDILmf1Er knqOUDH0HkgNL1dyaW1eh9HWzHahNcGxj8uM+IyVCfe3t41RQOg1qI+i8FDtm87P9Wz6 Ps1PRiInOGOBCgvZrYhE4Y4r64ASbowV7kPOBpBs4BsM8HftjHHj4JEnujzDh6i1bezg 6Tk+r1MIm5PCMCEA6vE4ZwoiYwAXYhVDK9458aZgtDivrGToqCWauhCeJVt67BFIOvbf pqxA== MIME-Version: 1.0 Received: by 10.60.7.104 with SMTP id i8mr9262714oea.31.1343495965500; Sat, 28 Jul 2012 10:19:25 -0700 (PDT) Received: by 10.76.27.33 with HTTP; Sat, 28 Jul 2012 10:19:25 -0700 (PDT) In-Reply-To: References: Date: Sat, 28 Jul 2012 20:19:25 +0300 Message-ID: From: Vladimir Videscu To: =?UTF-8?B?0JLQuNGC0LDQu9C40Lkg0KLRg9GA0L7QstC10YY=?= Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Wojciech Puchar , questions@freebsd.org Subject: Re: FreeBSD on SSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Jul 2012 17:19:26 -0000 Hello again everyone. First of all, I want to address a thank you for your responses. They have been unexpectedly numerous and have clarified some aspects of my inquiries. The read-cache idea is very sound, mainly because by using it this way Seagate would not have to create a special set of instructions for installing and using the HDD. My final question would be : Seeing as the HDD only has a SATA connector, this would mean that the SSD part already has a memory control device that regulates access to that sector, whether it is a plain read-cache or not. This would imply that FreeBSD could communicate with the HDD normally, through the SATA connector, just like any regular HDD. Based on that sequence of thought, and the fact that on the System Requirements page of FreeBSD it says : * * "*4.4.1.* What kind of hard drives does FreeBSD support? FreeBSD supports EIDE, SATA [...]", am I right to assume that there should be no incompatibility or conflict between the OS and the drive ? Thank you in advance, V. From owner-freebsd-questions@FreeBSD.ORG Sat Jul 28 17:26:36 2012 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 2548D106564A for ; Sat, 28 Jul 2012 17:26:36 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id D48C78FC08 for ; Sat, 28 Jul 2012 17:26:35 +0000 (UTC) Received: from r56.edvax.de (port-92-195-22-218.dynamic.qsc.de [92.195.22.218]) by mx02.qsc.de (Postfix) with ESMTP id F126E27C9F; Sat, 28 Jul 2012 19:26:28 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q6SHQSCp002283; Sat, 28 Jul 2012 19:26:28 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 28 Jul 2012 19:26:28 +0200 From: Polytropon To: Vladimir Videscu Message-Id: <20120728192628.83bb8e62.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: FreeBSD on SSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2012 17:26:36 -0000 On Sat, 28 Jul 2012 20:19:25 +0300, Vladimir Videscu wrote: > Seeing as the HDD only has a SATA connector, this would mean that the SSD > part already has a memory control device that regulates access to that > sector, whether it is a plain read-cache or not. This would imply that > FreeBSD could communicate with the HDD normally, through the SATA > connector, just like any regular HDD. > > Based on that sequence of thought, and the fact that on the System > Requirements page of FreeBSD it says : > * > * "*4.4.1.* What kind of hard drives does FreeBSD support? > FreeBSD supports EIDE, SATA [...]", > > am I right to assume that there should be no incompatibility or conflict > between the OS and the drive ? I don't think you'll experience any problems. According to the documentation on the Seagate web page (which I mentioned in my previous message), the drive "talks to" the system like any other SATA drive. The fact that it uses an internally controlled SSD for caching (including management of that disk by the disk's firmware!) does not make any difference to the operating system. Even the 512/4k sectoring would be no problem. You're going to install FreeBSD as on any other hard disk. You will then (hopefully) see a speed gain when in use. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Jul 28 18:40:21 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BBED8106566B for ; Sat, 28 Jul 2012 18:40:21 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 21F388FC0C for ; Sat, 28 Jul 2012 18:40:20 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6SIeHVV009978; Sat, 28 Jul 2012 20:40:18 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6SIG2r8009902; Sat, 28 Jul 2012 20:16:02 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 28 Jul 2012 20:16:02 +0200 (CEST) From: Wojciech Puchar To: Polytropon In-Reply-To: <20120728192628.83bb8e62.freebsd@edvax.de> Message-ID: References: <20120728192628.83bb8e62.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Sat, 28 Jul 2012 20:40:18 +0200 (CEST) Cc: questions@freebsd.org, Vladimir Videscu Subject: Re: FreeBSD on SSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Jul 2012 18:40:21 -0000 > > You're going to install FreeBSD as on any other hard disk. You > will then (hopefully) see a speed gain when in use. :-) make sure noatime option is used in /etc/fstab i use it everywhere, but with SSD cached disks it may be even more important. No idea what is that drive caching strategy, but if "cache on read" then it will continuously evict cached inodes. From owner-freebsd-questions@FreeBSD.ORG Sat Jul 28 18:40:21 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CFDFD1065670 for ; Sat, 28 Jul 2012 18:40:21 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 21ED58FC08 for ; Sat, 28 Jul 2012 18:40:19 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6SIeHVR009978; Sat, 28 Jul 2012 20:40:18 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6SIMBf4009918; Sat, 28 Jul 2012 20:22:11 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 28 Jul 2012 20:22:11 +0200 (CEST) From: Wojciech Puchar To: Vladimir Videscu In-Reply-To: Message-ID: References: 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 passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Sat, 28 Jul 2012 20:40:18 +0200 (CEST) Cc: questions@freebsd.org Subject: Re: FreeBSD on SSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Jul 2012 18:40:22 -0000 > The read-cache idea is very sound, mainly because by using it this way Seagate would not have to create a special set of > instructions for installing and using the HDD. I don't think that this drive cache is smart enough to really cache needed things and not flush that cache with useless data too often. i personally would prefer that drive to show up as 8GB disk and 750 GB disk. It would be easy to fit most of /usr in 8GB with even large set of software installed. when out of space then use softlinks and move not very used things (eg. documentation, non-yours locales, examples, some linarly accessed big files etc.) to disk. > My final question would be : > > Seeing as the HDD only has a SATA connector, this would mean that the SSD part already has a memory control device that regulates > access to that sector, whether it is a plain read-cache or not. This would imply that FreeBSD could communicate with the HDD > normally, through the SATA connector, just like any regular HDD. indeed. Such a drive is a good idea, but complete lack of documentation (how it operate) is not. You have to guess how this SSD-cache works because it is not documented. the other thing is erasing data. You want to sell that drive and clear your data by dd if=/dev/zero of=/dev/disk bs=1m but does it clear SSD cache? i don't think so. Someone sophisticated enough would perform raw read of cache chips and get cached data, which can actually be the most important part (things you work on often). From owner-freebsd-questions@FreeBSD.ORG Sat Jul 28 19:43:35 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C45CE106566C for ; Sat, 28 Jul 2012 19:43:35 +0000 (UTC) (envelope-from zimnyx@gmail.com) Received: from mail-qc0-f182.google.com (mail-qc0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7E85B8FC18 for ; Sat, 28 Jul 2012 19:43:35 +0000 (UTC) Received: by qcsg15 with SMTP id g15so2783439qcs.13 for ; Sat, 28 Jul 2012 12:43:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=7omzV0RFUARyNLqJ9VuRUOwQwqDVC9r4yPzJSYcz5NM=; b=IpNF9mb+qYJfXWykcbyapYnpCNmJHdy/11Ny4DXm4oaEdbotqYanp4B2EpWQCxgT/V 2PNh4lZWXh7feFl882SKnPPbXa7PE1DJo30GrZsviLWuz4vYhjzj7MEV2AW+ygULDwjR sN9abwge+Ysve6EUTwz26dFXWM8MpQ9oMD5IhvNvgwLDPD579ss19jvM0TRqwvCrNMMn jxWbiXgP8Hc+1yQqtMB7e1jShpChCalCeInVJ33uMwEUEzsIkp1S7Ix1qlqtjMdXLlUS n3J7xl72lrEa0wpkizj6J8njwvQASZVJg2s5ekf3lgQcerS/nJu9nu2SPtXvqzvmWaNU NmqA== MIME-Version: 1.0 Received: by 10.224.184.208 with SMTP id cl16mr15452932qab.39.1343504268478; Sat, 28 Jul 2012 12:37:48 -0700 (PDT) Received: by 10.229.238.202 with HTTP; Sat, 28 Jul 2012 12:37:48 -0700 (PDT) Date: Sat, 28 Jul 2012 21:37:48 +0200 Message-ID: From: Piotr Czachur To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Waking system up from suspend-to-ram at specified time. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2012 19:43:35 -0000 Dear users, Does FreeBSD support waking system up from S3 (suspend to RAM) state at specified time? On Linux, it can be achieved using rtcwake command that uses RTC support in kernel. If it's not supported, maybe I can somehow enable waking from S3 using BIOS autoresume option? It powers my box on from complete off, but fails to wake it up from S3. What works for now is waking from S3 using Wake-on-LAN. Cheers, Piotrek From owner-freebsd-questions@FreeBSD.ORG Sat Jul 28 20:17:52 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C10B0106566C for ; Sat, 28 Jul 2012 20:17:52 +0000 (UTC) (envelope-from schweikh@schweikhardt.net) Received: from rs2.shuttle.de (rs2.shuttle.de [IPv6:2001:638:206:3::8]) by mx1.freebsd.org (Postfix) with ESMTP id 55BE28FC08 for ; Sat, 28 Jul 2012 20:17:52 +0000 (UTC) Received: by rs2.shuttle.de (Postfix, from userid 10) id E32AF5807D; Sat, 28 Jul 2012 22:17:50 +0200 (CEST) Received: from hal9000.schweikhardt.net (localhost [127.0.0.1]) by hal9000.schweikhardt.net (8.14.5/8.14.5) with ESMTP id q6SKHbjK033272 for ; Sat, 28 Jul 2012 22:17:37 +0200 (CEST) (envelope-from schweikh@hal9000.schweikhardt.net) Received: (from schweikh@localhost) by hal9000.schweikhardt.net (8.14.5/8.14.5/Submit) id q6SKHbtQ033271 for freebsd-questions@freebsd.org; Sat, 28 Jul 2012 22:17:37 +0200 (CEST) (envelope-from schweikh) Date: Sat, 28 Jul 2012 22:17:37 +0200 From: Jens Schweikhardt To: FreeBSD questions Message-ID: <20120728201737.GA1965@schweikhardt.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Subject: acroread9 makes CPU spin (busy loop?) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Jul 2012 20:17:52 -0000 hello, world\n I'm wondering if it's just here or if other people also observe that acroread9 makes the CPU spin at 100% (one load point), as if in a busy loop. This happens for me on 9-STABLE and 10-CURRENT alike (amd64), with up-to-date ports tree. It has done this as long as I can remember. Maybe there's something wrong with the way I compile my system and custom kernel, and if so, I'd like to get to the bottom of it. The only diagnostics I get are (process:33229): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. and dmesg says linux: pid 33229 (acroread): syscall inotify_init not implemented Anybody know what's causing acroread to spin? Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) From owner-freebsd-questions@FreeBSD.ORG Sat Jul 28 20:28:45 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 56CFE106566C for ; Sat, 28 Jul 2012 20:28:45 +0000 (UTC) (envelope-from matthias@d2ux.net) Received: from h1907788.stratoserver.net (h1907788.stratoserver.net [85.214.252.129]) by mx1.freebsd.org (Postfix) with ESMTP id 0E5C08FC08 for ; Sat, 28 Jul 2012 20:28:45 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by h1907788.stratoserver.net (Postfix) with ESMTP id A36A6401C002; Sat, 28 Jul 2012 22:28:43 +0200 (CEST) Received: from h1907788.stratoserver.net ([127.0.0.1]) by localhost (h1907788.stratoserver.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wMAEugDZc8Zx; Sat, 28 Jul 2012 22:28:43 +0200 (CEST) Received: from compaq (p579D3D16.dip.t-dialin.net [87.157.61.22]) by h1907788.stratoserver.net (Postfix) with ESMTP id CD065401C001; Sat, 28 Jul 2012 22:28:42 +0200 (CEST) Date: Sat, 28 Jul 2012 22:29:24 +0200 From: Matthias Petermann To: Darren Baginski Message-Id: <20120728222924.fd879867.matthias@d2ux.net> In-Reply-To: <170531343481888@web19g.yandex.ru> References: <20120728114643.ff0b536f.matthias@d2ux.net> <173631343481231@web3g.yandex.ru> <170531343481888@web19g.yandex.ru> X-Mailer: Sylpheed 3.1.2 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: bsdinstall to jail aborted (9.0-RELEASE-p3, amd64) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2012 20:28:45 -0000 Hi Darren, thanks for diving into the issue. I looked through the mentioned places in the bsdinstall code and understand it now. On Sat, 28 Jul 2012 17:24:48 +0400 Darren Baginski wrote: > I thing release/arch selection has to be a part of the installer, either directly or via environment variables. Yes, I think so too. I guess there usually no FTP directories created for patch level releases like 9.0-RELEASE-p3? Your proposal to introduce a new environment variable like TARGET makes sense. This could work like an override - when it is not set it can fall back to the default (using uname -r which makes sense for the installation media). Should I file a PR or did you already? Thanks, Matthias -- Matthias Petermann From owner-freebsd-questions@FreeBSD.ORG Sat Jul 28 20:36:58 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AF8101065670 for ; Sat, 28 Jul 2012 20:36:58 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 6FCEF8FC0A for ; Sat, 28 Jul 2012 20:36:58 +0000 (UTC) Received: from r56.edvax.de (port-92-195-22-218.dynamic.qsc.de [92.195.22.218]) by mx02.qsc.de (Postfix) with ESMTP id DA41F27CF3; Sat, 28 Jul 2012 22:36:56 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q6SKauI9003175; Sat, 28 Jul 2012 22:36:56 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 28 Jul 2012 22:36:56 +0200 From: Polytropon To: Jens Schweikhardt Message-Id: <20120728223656.c0b16935.freebsd@edvax.de> In-Reply-To: <20120728201737.GA1965@schweikhardt.net> References: <20120728201737.GA1965@schweikhardt.net> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD questions Subject: Re: acroread9 makes CPU spin (busy loop?) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2012 20:36:58 -0000 On Sat, 28 Jul 2012 22:17:37 +0200, Jens Schweikhardt wrote: > hello, world\n > > I'm wondering if it's just here or if other people also observe that > acroread9 makes the CPU spin at 100% (one load point), as if in a busy > loop. This happens for me on 9-STABLE and 10-CURRENT alike (amd64), with > up-to-date ports tree. It has done this as long as I can remember. Maybe > there's something wrong with the way I compile my system and custom > kernel, and if so, I'd like to get to the bottom of it. The only > diagnostics I get are > > (process:33229): Gtk-WARNING **: Locale not supported by C library. > Using the fallback 'C' locale. That seems to be a result of sloppy programming. That message is also printed by many "modern" Gtk applications. > and dmesg says > > linux: pid 33229 (acroread): syscall inotify_init not implemented Same here, also seems to refer to acroread accessing a Linux kernel call which FreeBSD's ABI does not implement. > Anybody know what's causing acroread to spin? No idea, but I can conform this on my home system too. It's OS version 8.2-STABLE (from August 2011) i386, and I have acroread9-9.4.2 and acroreadwrapper-0.0.20110529 installed. The program is still responsive (as far as you can say this for bloated programs). In "top", the WCPU value increases until it reaches 100.00%, and CPU utilization monitor shows a "bar". When the program is closed, everything goes back to normal. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Jul 28 21:36:48 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B816C106566B for ; Sat, 28 Jul 2012 21:36:48 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 2F7208FC08 for ; Sat, 28 Jul 2012 21:36:47 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6SLacmV002929; Sat, 28 Jul 2012 23:36:38 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6SLacJK002926; Sat, 28 Jul 2012 23:36:38 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 28 Jul 2012 23:36:38 +0200 (CEST) From: Wojciech Puchar To: Jens Schweikhardt In-Reply-To: <20120728201737.GA1965@schweikhardt.net> Message-ID: References: <20120728201737.GA1965@schweikhardt.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 passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Sat, 28 Jul 2012 23:36:39 +0200 (CEST) Cc: FreeBSD questions Subject: Re: acroread9 makes CPU spin (busy loop?) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Jul 2012 21:36:48 -0000 > > I'm wondering if it's just here or if other people also observe that > acroread9 makes the CPU spin at 100% (one load point), as if in a busy > loop. This happens for me on 9-STABLE and 10-CURRENT alike (amd64), with not me - i use xpdf. Free, open source, much faster. From owner-freebsd-questions@FreeBSD.ORG Sat Jul 28 23:46:28 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BA58110656E9 for ; Sat, 28 Jul 2012 23:46:28 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.224.110]) by mx1.freebsd.org (Postfix) with ESMTP id 691188FC0A for ; Sat, 28 Jul 2012 23:46:28 +0000 (UTC) Received: from AMD620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q6SNkFcQ009410; Sat, 28 Jul 2012 17:46:22 -0600 Date: Sun, 29 Jul 2012 06:48:46 +0700 From: Erich Dollansky To: Wojciech Puchar Message-ID: <20120729064846.3bc37892@AMD620.ovitrap.com> In-Reply-To: References: X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org, Vladimir Videscu Subject: Re: FreeBSD on SSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Jul 2012 23:46:28 -0000 Hi, On Sat, 28 Jul 2012 20:22:11 +0200 (CEST) Wojciech Puchar wrote: > the other thing is erasing data. You want to sell that drive and > clear your data by > > dd if=/dev/zero of=/dev/disk bs=1m > > but does it clear SSD cache? i don't think so. Someone sophisticated > enough would perform raw read of cache chips and get cached data, > which can actually be the most important part (things you work on > often). _______________________________________________ You will have to read afterwards the same 8GB over and over again to make the drive believe that you want to have these 8GB faster. How to make sure that the data is really cached? There is no way. Erich